.dash-top{height:56px;padding:0 18px;gap:18px}.dash-top .logo{flex:none}.dash-top .logo{font-size:19px}
.dash-nav{display:flex;gap:4px}.dash-nav a{padding:7px 12px;border-radius:9px;color:var(--muted);font-size:14px}.dash-nav a:hover,.dash-nav a:focus-visible{background:#1b1b1f;color:var(--text)}
.dash-page{padding:12px 14px 14px}
.dash-banner{background:#1d1a24;border:1px solid #4a3a6b;border-radius:12px;padding:10px 14px;margin-bottom:12px;font-size:14px;color:#d7d0e6}

/* Three columns over the whole width; on a big enough screen they fill the
   window height exactly, so no tile leaves a hole. A tile whose content does
   not fit scrolls on its own. */
.dash-board{display:grid;grid-template-columns:minmax(300px,1fr) minmax(0,2.15fr) minmax(300px,1fr);gap:12px}
.dash-col{display:flex;flex-direction:column;gap:12px;min-width:0;min-height:0}
.dash-tile{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:12px 14px 14px;min-width:0;min-height:0;display:flex;flex-direction:column;flex:0 1 auto}
.dash-tile.is-grow{flex:1 1 0}.t-cal.is-grow{flex:3 1 0}.t-docker.is-grow{flex:2 1 0}
.dash-body{flex:1;min-height:0;overflow:auto;scrollbar-width:thin}
@media (min-width:1200px) and (min-height:700px){
 .dash-board{height:calc(100vh - 56px - 26px)}
 .dash-banner+.dash-board{height:calc(100vh - 56px - 26px - 54px)}
}
.dash-tile>header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;min-height:26px;flex:none}
.dash-tile h2{margin:0;font-size:12.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#8f8f9b}
.dash-tile h3{margin:12px 0 6px;font-size:13px;color:#a5a5ae;font-weight:600}.dash-tile h3 small{color:#6f6f7a;font-weight:500;margin-left:6px}
.dash-tile header .text-button{min-height:26px;padding:3px 8px;font-size:13px;color:var(--pale)}

.dash-clock-time{font-size:58px;font-weight:650;letter-spacing:-2px;line-height:1.05;font-variant-numeric:tabular-nums}.dash-clock-time small{font-size:22px;color:#6f6f7a;margin-left:6px;letter-spacing:0}
.dash-clock-date{font-size:16px;margin:4px 0 2px;color:#d7d7de}
.dash-muted{color:#7d7d88;font-size:13px;margin:8px 0 0}.dash-empty{color:#8a8a96;font-size:14px;margin:2px 0}
.dash-warn{color:#f0c27a;font-size:13px;margin:8px 0 0}.dash-error{color:#f0aab9;font-size:14px;min-height:1em}
.dash-weather-now{display:flex;gap:12px;align-items:center}.dash-weather-icon{font-size:40px;line-height:1}
.dash-weather-now b{font-size:36px;font-weight:650;letter-spacing:-1px}.dash-weather-now p{margin:2px 0 0;color:#a5a5ae;font-size:13px}
.dash-forecast{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;margin-top:10px}
.dash-forecast div{display:flex;flex-direction:column;align-items:center;gap:1px;padding:6px 2px;border-radius:9px;background:var(--panel2);font-size:12.5px}
.dash-forecast span{color:#8f8f9b}.dash-forecast i{font-style:normal;font-size:20px}.dash-forecast small{color:#7d7d88;font-size:11.5px;text-align:center}
.dash-row{display:grid;grid-template-columns:92px minmax(0,1fr) auto;gap:10px;align-items:center;margin:6px 0;font-size:13.5px}
.dash-row>span{white-space:nowrap}.dash-row em{font-style:normal;font-size:11px;color:var(--pale);background:#a87af81f;border-radius:4px;padding:0 4px;margin-left:4px}.dash-row small{color:#8f8f9b;font-size:12.5px;white-space:nowrap}
.dash-bar{display:block;height:8px;border-radius:99px;background:#24242a;overflow:hidden}.dash-bar i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#8a63e0,var(--purple))}
.dash-bar.is-warn i{background:#e0a54a}.dash-bar.is-danger i{background:#e2566f}
.dash-item{padding:7px 0;border-top:1px solid #1f1f24}.dash-item:first-of-type{border-top:0;padding-top:0}
.dash-item-head{display:flex;justify-content:space-between;gap:10px}.dash-item-head b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.dash-item-head span{color:#a5a5ae;font-size:13px;white-space:nowrap}
.dash-item p{margin:2px 0 6px;color:#a5a5ae;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dash-item small{display:block;margin-top:5px;color:#7d7d88;font-size:12.5px}
.dash-state{margin:0 0 8px;font-size:14px}.dash-state small{color:#7d7d88}.dash-state.is-on{color:#9ad7a8}.dash-state.is-paused{color:#f0c27a}
.dash-big{display:block;font-size:36px;font-weight:650;letter-spacing:-1px;line-height:1.1}.dash-big small{font-size:15px;color:#a5a5ae;font-weight:500;letter-spacing:0}
.dash-link:hover small,.dash-link:focus-visible small{color:var(--pale)}
.dash-modes{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;gap:4px}
.dash-modes li{display:flex;justify-content:space-between;gap:10px;font-size:13.5px}.dash-modes span{color:#c9c9d1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dash-modes em,.dash-ct small{font-style:normal}
.dash-modes em{font-size:12.5px;color:#a5a5ae;white-space:nowrap}.dash-modes em.is-on{color:#9ad7a8}.dash-modes em.is-sleep{color:#8f8f9b}.dash-modes em.is-wake{color:#f0c27a}.dash-modes em.is-bad{color:#f0aab9}

/* Calendar: month grid fills the tile, the chosen day (and the next days) beside it. */
.t-cal .dash-body{display:flex;flex-direction:column;overflow:hidden}
.dash-cal-head{display:flex;align-items:center;gap:6px;margin-bottom:6px;flex:none}.dash-cal-head b{font-size:15px;min-width:140px;text-align:center}.dash-cal-head .text-button{min-height:28px;padding:2px 10px;font-size:16px}
.dash-legend{margin-left:auto;display:flex;gap:6px}.dash-legend i{font-style:normal;font-size:12px;padding:2px 8px;border-radius:6px}
.dash-cal-wrap{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:12px}
.dash-cal{display:flex;flex-direction:column;gap:4px;min-height:0}
.dash-weekdays,.dash-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.dash-weekdays span{font-size:12px;color:#7d7d88;text-align:center}
.dash-days{flex:1;min-height:0;grid-auto-rows:minmax(56px,1fr)}
.dash-day{all:unset;box-sizing:border-box;padding:5px;border-radius:8px;background:var(--panel2);border:1px solid transparent;display:flex;flex-direction:column;gap:2px;cursor:pointer;min-width:0;min-height:0;overflow:hidden}
.dash-day>span{font-size:12.5px;color:#c9c9d1;font-variant-numeric:tabular-nums}.dash-day.is-other{opacity:.45}.dash-day:hover{border-color:#34343c}
.dash-day.is-today>span{color:#161619;background:var(--purple);border-radius:6px;padding:0 6px;align-self:flex-start;font-weight:650}.dash-day.is-selected{border-color:var(--purple)}
.dash-day i{font-style:normal;font-size:11.5px;line-height:1.35;padding:0 6px;border-radius:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:none}
.is-movie{background:#3a2d12;color:#f3c66b}.is-episode{background:#12303d;color:#7fd0f0}.is-own{background:#2b2142;color:#cdb4fa}.is-more{background:none;color:#8f8f9b}
.dash-day i.is-done{opacity:.6}
.dash-cal-detail{min-height:0;overflow:auto;scrollbar-width:thin}
.dash-cal-detail h3{margin:0 0 6px;font-size:13.5px;color:#d7d7de}.dash-cal-detail h3+ul+h3{margin-top:12px}
.dash-cal-detail ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:5px}
.dash-cal-detail li{padding:6px 9px;border-radius:8px;font-size:13px;display:flex;flex-direction:column;gap:1px}.dash-cal-detail li span{opacity:.8;font-size:12px}.dash-cal-detail li em{font-style:normal;font-size:11.5px;opacity:.75}
.dash-cal-detail li small{font-size:11.5px;opacity:.75}
.dash-cal-detail li.dash-empty{background:none;padding-left:0}

/* Containers: one compact line each. */
.dash-group h3{margin:8px 0 5px}.dash-group:first-of-type h3{margin-top:2px}
.dash-cts{display:grid;grid-template-columns:repeat(auto-fill,minmax(215px,1fr));gap:5px}
.dash-ct{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:5px 9px 5px 22px;border-radius:8px;background:var(--panel2);position:relative;min-width:0}
.dash-ct::before{content:"";position:absolute;left:9px;top:50%;margin-top:-3.5px;width:7px;height:7px;border-radius:50%;background:#55555f}.dash-ct.is-on::before{background:#5fd07c;box-shadow:0 0 6px #5fd07c88}
.dash-ct b{font-size:13px;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.dash-ct small{color:#7d7d88;font-size:11.5px;white-space:nowrap;flex:none}.dash-ct.is-off b{color:#8f8f9b}

/* Apps live in the top bar: always in reach, no tile needed. */
.dash-apps{flex:1;min-width:0;display:flex;align-items:center;gap:10px;justify-content:center}
.dash-links{display:flex;gap:4px;min-width:0;overflow:hidden}
.dash-links a{display:flex;align-items:center;gap:7px;padding:5px 9px 5px 5px;border-radius:9px;font-size:13px;color:#c9c9d1;white-space:nowrap;flex:none}
.dash-links a:hover,.dash-links a:focus-visible{background:#1b1b1f;color:var(--text)}.dash-links span{width:22px;height:22px;flex:none;border-radius:7px;display:grid;place-items:center;color:#141416;font-weight:700;font-size:13px}
.dash-toggle{display:flex;background:var(--panel2);border-radius:9px;padding:3px}.dash-toggle button{min-height:24px;padding:2px 9px;border-radius:7px;font-size:12px;color:#8f8f9b}.dash-toggle button.is-active{background:#2a2633;color:var(--pale)}

.dash-login{max-width:380px;margin:80px auto;display:flex;flex-direction:column;gap:10px}.dash-login h1{font-size:40px;margin:0 0 10px;letter-spacing:-1.2px}.dash-login .primary{margin:6px 0 0}
.dash-dialog{width:min(560px,calc(100% - 32px));background:var(--panel2);color:var(--text);border:1px solid #35353e;border-radius:16px;padding:24px}.dash-dialog::backdrop{background:#000b}
.dash-dialog h2{margin:0 0 6px;font-size:20px}.dash-dialog p{color:#a5a5ae;font-size:14px;line-height:1.6}.dash-dialog label{display:block;margin:14px 0 8px}
.dash-dialog-actions{display:flex;gap:8px;align-items:center;margin-top:14px}.dash-dialog-actions span{flex:1}.dash-dialog-actions .primary{margin:0}

@media (max-width:1199px){.dash-board{grid-template-columns:1fr 1fr}.dash-col-main{grid-column:1/-1;order:-1}.dash-days{grid-auto-rows:minmax(72px,auto)}}
@media (max-width:1500px){.dash-links a{font-size:0;gap:0;padding:5px}}
@media (max-width:760px){.dash-board{grid-template-columns:1fr}.dash-cal-wrap{grid-template-columns:1fr}.dash-nav,.dash-apps{display:none}}
