/* Weather admin page (#weather, item 74, admin/weather.js): one card per map with the weights (and their % bars), the
   period, the intensity, the live sky now and the next six periods of the draft. Reuses the items-* page frame; works at
   390 px (everything stacks). */
.weather-admin .weather-admin-list{display:grid;gap:10px}
.weather-admin .weather-admin-help{margin:0 0 6px;color:#6b5a3a;font-size:13px}
.weather-admin .weather-admin-row{display:grid;gap:10px;padding:12px;border:1px solid #e3d5b5;border-radius:10px;background:#fffaf0}
.weather-admin .weather-admin-row.is-off{background:#fbf6ea}
.weather-admin .weather-admin-row.is-dirty{border-color:#d29b2b;box-shadow:0 0 0 1px #d29b2b55}
.weather-admin .weather-admin-who{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 14px}
.weather-admin .weather-admin-who>div{display:grid;min-width:0}
.weather-admin .weather-admin-who small{overflow:hidden;color:#7a6a4a;text-overflow:ellipsis;white-space:nowrap}
.weather-admin .weather-admin-live{color:#7a4a10;font-size:13px}
.weather-admin .weather-admin-check{display:inline-flex;align-items:center;gap:6px;min-height:38px;font-size:14px}
.weather-admin .weather-admin-set{margin:0;padding:8px 10px;border:1px solid #d8c7a0;border-radius:8px}
.weather-admin .weather-admin-weights{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:6px 14px}
.weather-admin .weather-admin-weight{display:grid;grid-template-columns:92px 64px 1fr 40px;align-items:center;gap:6px;font-size:13px}
.weather-admin .weather-admin-num{width:64px;min-height:34px}
.weather-admin .weather-admin-bar{position:relative;height:10px;border-radius:5px;background:#eadfc5;overflow:hidden}
.weather-admin .weather-admin-bar>span{position:absolute;inset:0 auto 0 0;width:0;border-radius:5px;background:#9bb36a;transition:width .15s}
.weather-admin .weather-admin-bar.is-rain>span{background:#6f8fb8}
.weather-admin .weather-admin-bar.is-fog>span{background:#a9aea6}
.weather-admin .weather-admin-bar.is-sandstorm>span{background:#d1a560}
.weather-admin .weather-admin-weight small{color:#6b5a3a;text-align:right}
.weather-admin .weather-admin-warn{margin:6px 0 0;color:#a3321e;font-size:12px}
.weather-admin .weather-admin-inline{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;font-size:13px}
.weather-admin .weather-admin-inline label{display:inline-flex;align-items:center;gap:6px}
.weather-admin .weather-admin-inline select{min-height:34px}
.weather-admin .weather-admin-seed{color:#8a7a5a;font-size:12px}
.weather-admin .weather-admin-next{display:grid;gap:4px;font-size:12px;color:#6b5a3a}
.weather-admin .weather-admin-timeline{display:flex;flex-wrap:wrap;gap:4px;margin:0;padding:0;list-style:none}
.weather-admin .weather-admin-timeline li{display:grid;min-width:84px;padding:4px 8px;border:1px solid #e0d2ae;border-radius:6px;background:#fff}
.weather-admin .weather-admin-timeline li.is-empty{color:#8a7a5a}
.weather-admin .weather-admin-timeline small{color:#8a7a5a}
.weather-admin .weather-admin-slot.is-rain{background:#eaf0f8}
.weather-admin .weather-admin-slot.is-fog{background:#f0f1ee}
.weather-admin .weather-admin-slot.is-sandstorm{background:#f8eedc}
.weather-admin .weather-admin-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px}
.weather-admin .weather-admin-actions button,.weather-admin .weather-admin-actions select{min-height:38px}
.weather-admin .weather-admin-look{display:inline-flex;gap:4px}
.weather-admin #weather-admin-refresh.is-attention{outline:2px solid #d29b2b;outline-offset:2px}
/* The admin frame styles every label/input (block labels with a top margin, full-width inputs): undo inside this page. */
.weather-admin .weather-admin-row label{margin:0;font-weight:normal}
.weather-admin .weather-admin-row input[type=checkbox]{width:auto;min-height:0;margin:0}
.weather-admin .weather-admin-row input[type=number]{width:64px}
.weather-admin .weather-admin-row select{width:auto}
.weather-admin .weather-admin-inline label span,.weather-admin .weather-admin-actions button{white-space:nowrap}
@media (max-width:600px){
 .weather-admin .weather-admin-weight{grid-template-columns:84px 60px 1fr 36px}
 .weather-admin .weather-admin-actions{justify-content:stretch}
 .weather-admin .weather-admin-actions>*{flex:1 1 auto}
}
