.main { margin:0 auto; align-self:start; }
.top { align-items:flex-start; }
.main-toolbar { justify-content:flex-end; align-items:center; }
.header-tools { display:flex; align-items:center; gap:12px; }
.language-switch { display:inline-flex; align-items:center; gap:4px; padding:4px; border:1px solid #b8d8f4; border-radius:24px; background:#fff8; white-space:nowrap; }
.language-switch button { display:flex; align-items:center; gap:7px; border:0; padding:8px 10px; border-radius:19px; color:#193e63; background:transparent; font-weight:650; font-size:13px; min-height:36px; }
.language-switch button[aria-pressed=true] { color:#105bad; background:#d2eaff; }
.language-switch span { color:#8aafd1; }
.language-switch img { width:23px; height:17px; border-radius:1px; object-fit:cover; }
.login-side .language-switch { display:flex; justify-content:center; width:max-content; margin:0 0 28px auto; }
.overview-hero { min-height:155px; background:linear-gradient(90deg,#dff1fc 40%,#dff1fc00 78%),url(/wind-farm.png) right center / auto 100% no-repeat,#dff1fc; }
.overview-hero strong { font-size:24px; max-width:600px; }
.overview-hero .muted { display:block; margin-top:8px; max-width:500px; }
.overview-hero > .btn { background:#ffffffeb; }
.stats .stat { position:relative; min-height:110px; padding:18px 14px 18px 64px; }
.stat-icon { position:absolute; display:grid; place-items:center; left:14px; top:23px; width:38px; height:38px; border-radius:12px; color:#1463b3!important; background:#e3f2fd; font-size:23px!important; }
.stats .stat > span:not(.stat-icon) { font-size:13px; }
.stats .stat b { margin-top:6px; }
.next-step { font-size:13px; margin:5px 0; color:#536d86; overflow-wrap:anywhere; }
.badge.blocked { background:#ede4f8; color:#69458e; }
#blocked-fields[hidden] { display:none; }
.bell-button { display:grid; position:relative; place-items:center; min-width:43px; min-height:43px; border:1px solid #c9e0f3; border-radius:50%; color:#145c9b; background:#fff; }
#notification-count { position:absolute; right:-5px; top:-6px; border-radius:20px; min-width:21px; padding:2px 5px; background:#c83240; color:white; font-size:11px; }
#notification-count[hidden] { display:none; }
.notification-control { position:relative; }
.notification-drawer { position:absolute; z-index:20; top:54px; right:0; width:410px; max-width:calc(100vw - 32px); background:white; border:1px solid #c9e0f3; border-radius:13px; box-shadow:0 14px 45px #15395626; padding:18px; max-height:min(75vh,650px); overflow-y:auto; }
.notification-drawer[hidden] { display:none; }
.notification-card { padding:13px; border:1px solid #d3e1ee; border-left:4px solid #e5a332; border-radius:8px; margin-top:12px; overflow-wrap:anywhere; }
.notification-card.overdue { border-left-color:#cf303a; }
.notification-card > strong { color:#916016; font-size:14px; }
.notification-card.overdue > strong { color:#b52d32; }
.notification-card.read { background:#f5f9fc; }
.notification-card h3 { margin:9px 0; font-size:15px; }
.notification-card p { margin:5px 0; font-size:13px; }
.notification-card .btn { padding:7px 4px; font-size:13px; }
.gantt-panel { margin-top:24px; }
.gantt-toolbar { flex-wrap:wrap; }
.gantt-toolbar .toolbar { align-items:center; }
.gantt-scroll { overflow:auto; max-height:65vh; border:1px solid #d3e1ee; border-radius:8px; }
.gantt-chart { --label-width:265px; width:calc(var(--label-width) + var(--timeline-width)); }
.gantt-row { display:grid; grid-template-columns:var(--label-width) var(--timeline-width); min-height:44px; }
.gantt-label { position:sticky; left:0; z-index:2; background:#fff; padding:11px 12px; border:0; border-bottom:1px solid #e1ebf4; border-right:1px solid #c9dced; text-align:left; color:#193e63; overflow-wrap:anywhere; font:inherit; font-size:13px; }
.gantt-title { padding-left:24px; }
.gantt-title:hover { background:#e7f3fc; }
.gantt-track { position:relative; min-height:44px; background:repeating-linear-gradient(90deg,transparent 0,transparent calc(var(--day-width) - 1px),#e3edf6 calc(var(--day-width) - 1px),#e3edf6 var(--day-width)); border-bottom:1px solid #e1ebf4; }
.gantt-heading { position:sticky; top:0; z-index:4; height:50px; }
.gantt-heading .gantt-label { background:#edf5fc; font-weight:700; }
.gantt-months { background:#edf5fc; }
.gantt-month { position:absolute; top:0; height:100%; padding:14px 8px; border-right:1px solid #c9dced; font-size:12px; font-weight:700; overflow:hidden; white-space:nowrap; }
.gantt-group .gantt-label, .gantt-group .gantt-track { background-color:#e6f2fc; font-weight:700; }
.gantt-bar { position:absolute; top:13px; height:18px; border:0; border-radius:4px; min-width:4px; cursor:pointer; }
.gantt-today-line { position:absolute; top:0; bottom:0; width:2px; background:#3264e9; z-index:1; pointer-events:none; }
.planned { background:#175fbd; }
.gantt-bar.progress, .gantt-legend .progress { background:#54c6e5; }
.done { background:#369c63; }
.gantt-bar.overdue, .gantt-legend .overdue { background:#ce303b; }
.gantt-bar.blocked, .gantt-legend .blocked { background:#8660ac; }
.gantt-legend { display:flex; flex-wrap:wrap; gap:18px; margin-top:15px; font-size:13px; }
.gantt-legend span { display:flex; align-items:center; gap:7px; }
.gantt-legend i { display:inline-block; width:12px; height:12px; border-radius:50%; }
@media(max-width:1250px) { .top { flex-wrap:wrap; } .notification-drawer { position:fixed; top:100px; right:16px; } }
@media(max-width:900px) {
 .top { gap:16px; } .main-toolbar { justify-content:flex-start; }
 .header-tools { flex-wrap:wrap; }
 .gantt-chart { --label-width:190px; }
 .gantt-label { font-size:12px; }
 .overview-hero { align-items:flex-start; flex-direction:column; min-height:180px; }
}
@media(max-width:520px) {
 .stats .stat { padding:14px 10px; padding-top:60px; }
 .stat-icon { top:12px; left:10px; }
 .language-switch button { font-size:12px; padding:7px 8px; }
 .language-switch img { width:20px; height:15px; }
 .header-tools { gap:8px; }
 .overview-hero strong { font-size:22px; }
 .gantt-zoom { width:100%; }
 .gantt-zoom .btn { flex:1; padding:8px; }
 .notification-drawer { top:72px; }
}
.stats { grid-template-columns:repeat(4,minmax(0,1fr)); }
.stat-filter { min-width:0; overflow-wrap:anywhere; }
@media(min-width:901px) and (max-width:1250px) {
 .stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .topicgrid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .item { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
 .item-actions { justify-content:flex-start; }
}
@media(max-width:900px) { .stats { grid-template-columns:repeat(2,minmax(0,1fr)); } }
.topic-card .badge { white-space:normal; }
.topic-card .topic-name { min-width:0; overflow-wrap:anywhere; }
.gantt-month { height:27px; padding:5px 8px; }
.gantt-day { position:absolute; bottom:4px; font-size:10px; padding-left:4px; color:#536d86; }
.gantt-today-label { position:absolute; top:27px; z-index:3; background:#3264e9; color:white; border-radius:3px; font-size:10px; padding:2px 4px; white-space:nowrap; }
body > .language-switch { margin:18px 0; }
.overview-hero {
 min-height:175px;
 background:linear-gradient(90deg,#dff1fc 43%,#dff1fc00 76%),url(/overview-banner.png) right center / auto 100% no-repeat,#dff1fc;
}
.overview-hero { flex-direction:column; align-items:flex-start; justify-content:center; gap:12px; }
.topic.topic-card { grid-template-columns:36px minmax(0,1fr) 12px; gap:8px 12px; }
.topic-card .topic-icon { grid-column:1; grid-row:1 / span 2; }
.topic-card .topic-name { grid-column:2; grid-row:1; overflow-wrap:break-word; }
.topic-card .badge { grid-column:2; grid-row:2; justify-self:start; }
.topic-card > span:last-child { grid-column:3; grid-row:1 / span 2; }
/* v9.0.2.8 */
.language-switch { border:0; background:transparent; border-radius:0; padding:0; }
.language-switch button { position:relative; border-radius:0; background:transparent!important; padding:8px 6px; border-bottom:2px solid transparent; }
.language-switch button[aria-pressed=true] { border-bottom-color:#1463b3; }
.settings-panel { margin-top:24px; }
.settings-tabs { display:flex; flex-wrap:wrap; gap:8px; padding-bottom:20px; margin-bottom:24px; border-bottom:1px solid #d5e5f2; }
.settings-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin-top:24px; }
.settings-form label { display:grid; gap:8px; }
.settings-wide { grid-column:1/-1; }
.settings-areas { display:grid; gap:10px; margin-top:20px; }
.settings-area { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:14px; background:#f3f8fd; border-radius:9px; }
.settings-area > span { overflow-wrap:anywhere; }
.settings-area .toolbar { flex-shrink:0; }
.backup-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin-top:24px; }
.backup-actions section { padding:20px; border:1px solid #d5e5f2; border-radius:10px; }
.backup-actions h3 { margin-top:0; }
.backup-picker { display:inline-flex; position:relative; cursor:pointer; }
.backup-picker input { position:absolute; inset:0; opacity:0; width:100%; cursor:pointer; }
#backup-review { margin-top:24px; padding:20px; border:1px solid #e4b15c; background:#fff9ec; border-radius:10px; }
.weather-panel { margin:24px 0; }
.weather-heading,.weather-tools { display:flex; align-items:center; justify-content:space-between; gap:18px; flex-wrap:wrap; }
.weather-heading { margin-bottom:20px; }
.weather-search { display:flex; gap:8px; width:min(100%,450px); }
.weather-search input { min-width:0; }
.weather-tools { border-bottom:1px solid #deebf5; padding-bottom:18px; }
.weather-tools .toolbar label { display:flex; align-items:center; gap:8px; font-size:14px; }
.weather-tools select { width:auto; }
.weather-readings { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; margin:24px 0; }
.weather-readings > div { border-right:1px solid #d9e7f1; display:grid; gap:8px; }
.weather-readings > div:last-child { border:0; }
.weather-readings strong { font-size:clamp(22px,2.7vw,38px); }
.weather-readings strong small { font-size:16px; }
.weather-readings > div > span,.weather-readings small { color:#526d88; font-size:14px; }
.wind-compass { display:inline-block; color:#19a6cc; }
.weather-chart svg { width:100%; height:auto; display:block; min-height:150px; }
.weather-chart text { font:13px system-ui; fill:#526d88; }
.weather-legend { display:flex; flex-wrap:wrap; justify-content:center; gap:25px; font-size:14px; color:#1463cf; }
.weather-legend span:last-child { color:#147d95; }
.weather-footer { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; border-top:1px solid #deebf5; padding-top:15px; }
.weather-footer a { font-size:13px; color:#526d88; }
#weather-results { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:12px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
@media(max-width:900px){.weather-readings{grid-template-columns:repeat(2,minmax(0,1fr));}.weather-readings>div:nth-child(2){border:0}.backup-actions{grid-template-columns:1fr}}
@media(max-width:520px){.settings-form{grid-template-columns:1fr}.settings-area{flex-wrap:wrap}.settings-tabs .btn{flex:1 1 40%;font-size:14px;padding:9px}.weather-tools .toolbar{flex-wrap:wrap}.weather-tools .toolbar label{flex-wrap:wrap}.weather-readings{gap:15px}.weather-readings strong{font-size:24px}.weather-heading h2{font-size:20px}.weather-chart svg{min-height:120px}.weather-panel{padding:16px}.weather-search .btn{padding:8px}.weather-readings strong small{font-size:13px}}
/* v9.0.2.8 — compact dashboard forecast */
.weather-panel { padding:16px 20px; }
.weather-heading { margin-bottom:8px; gap:12px; }
.weather-heading h2 { font-size:18px; }
.weather-search { width:min(100%,420px); }
.weather-panel .control { min-height:36px; padding:7px 10px; font-size:14px; }
.weather-search .btn { min-height:36px; padding:7px 12px; font-size:14px; }
.weather-tools { padding-bottom:0; border-bottom:0; gap:10px; }
.weather-tools .toolbar { gap:12px; }
.weather-tools .toolbar label { font-size:13px; gap:6px; }
.weather-tools select.control { padding-right:27px; }
.weather-readings { margin:12px 0; gap:16px; }
.weather-readings > div { gap:4px; }
.weather-readings strong { font-size:26px; line-height:1.2; }
.weather-readings strong small { font-size:14px; }
.weather-readings > div > span { font-size:13px; }
.weather-readings > div > small { font-size:12px; }
.weather-panel h3 { margin:8px 0 4px; font-size:15px; }
.weather-chart svg { height:120px; min-height:0; }
.weather-chart text { font-size:12px; }
.weather-legend { gap:18px; font-size:12px; margin-top:4px; }
.weather-panel .notice { font-size:12px; margin:8px 0; }
.weather-footer { padding-top:8px; gap:8px; }
.weather-footer small,.weather-footer a { font-size:12px; }
#weather-results:empty,#weather-status:empty { display:none; }
@media(max-width:600px){
 .weather-panel { padding:14px; }
 .weather-heading { align-items:flex-start; }
 .weather-search { width:100%; }
 .weather-tools { align-items:flex-start; }
 .weather-tools .toolbar { gap:8px; }
 .weather-readings { gap:12px; }
 .weather-readings strong { font-size:24px; }
 .weather-chart svg { height:130px; }
}
@media(max-width:600px){.weather-tools .toolbar label{flex-direction:column;align-items:flex-start;gap:3px}}
/* v9.0.3.2 — compact daily forecast */
.weather-days { display:grid; grid-template-columns:repeat(7,minmax(130px,1fr)); gap:8px; overflow-x:auto; padding:4px 0 8px; margin-top:6px; scrollbar-width:thin; }
.weather-day { border:1px solid #d7e7f3; border-radius:9px; padding:10px; background:#f8fbfe; min-width:0; }
.weather-day.is-today { border-color:#9ecaf0; background:#edf6ff; }
.weather-day header { display:flex; justify-content:space-between; align-items:center; gap:5px; font-size:14px; }
.weather-day header small { font-size:12px; color:#526d88; }
.weather-day-condition { display:flex; justify-content:center; margin:6px 0; color:#5485b0; }
.weather-day-icon { width:29px; height:31px; }
.weather-day-icon.sun,.weather-day-icon.partly { color:#c98b17; }
.weather-day-temp { display:flex; justify-content:center; gap:10px; align-items:baseline; margin-bottom:8px; }
.weather-day-temp strong { font-size:19px; color:#193e63; }
.weather-day-temp > span { font-size:14px; color:#526d88; }
.weather-day-line { display:flex; flex-wrap:wrap; justify-content:space-between; gap:2px 5px; font-size:12px; margin-top:4px; }
.weather-day-line > span { color:#526d88; }
.weather-day-line b { font-weight:650; white-space:nowrap; }
.weather-days:focus-visible { outline:2px solid #1463b3; outline-offset:3px; }
.main,.weather-panel,#weather-data { min-width:0; }
.weather-days { width:100%; max-width:100%; min-width:0; }
.weather-day { position:relative; }
