:root{
  --bg:#010b11;--bg2:#02141c;--card:#061820;--card2:#081d26;--panel:#0a202a;
  --line:rgba(71,182,194,.16);--line-soft:rgba(118,192,201,.08);--text:#e9f4f6;--muted:#8aa0aa;--muted2:#647b85;
  --cyan:#39e8e6;--mint:#31edbd;--green:#41e9ae;--yellow:#ffd34f;--orange:#ff994a;--pink:#ff718a;--violet:#9098ff;
}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:radial-gradient(circle at 50% -15%,#06212b 0,#020d13 36%,#01080d 100%);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}body{font-size:14px;overflow-x:hidden}.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}.svg-sprite symbol,.topbar-shell svg,.card svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.topbar-shell{height:56px;display:grid;grid-template-columns:225px minmax(0,1fr) auto;align-items:center;padding:0 18px;border-bottom:1px solid rgba(54,170,183,.16);background:rgba(1,11,17,.94);backdrop-filter:blur(18px);position:sticky;top:0;z-index:20}.brand-shell{display:flex;align-items:center;gap:8px;height:100%}.brand-shell img{width:78px;height:44px;object-fit:contain;filter:drop-shadow(0 0 10px rgba(44,236,195,.08))}.brand-text{display:flex;align-items:baseline;gap:4px;font-size:21px;letter-spacing:-.02em}.brand-text strong{font-weight:700;color:#f0f6f7}.brand-text b{color:var(--mint);font-weight:720}.nav-shell{display:flex;justify-content:center;align-items:center;gap:10px;min-width:0}.nav-shell a{height:36px;padding:0 10px;display:flex;align-items:center;gap:7px;border-radius:9px;color:#9eb1ba;text-decoration:none;font-size:11px;font-weight:650;white-space:nowrap}.nav-shell a svg{width:16px;height:16px}.nav-shell a.active{color:#dffff9;background:linear-gradient(180deg,rgba(24,100,105,.42),rgba(7,63,70,.55));border:1px solid rgba(46,223,207,.24);box-shadow:inset 0 1px 0 rgba(255,255,255,.03),0 0 18px rgba(35,208,189,.06)}.nav-shell a.active svg{color:#50f0d4;filter:drop-shadow(0 0 6px rgba(58,237,213,.45))}.top-actions{display:flex;align-items:center;gap:8px}.icon-button,.live-pill,.account-pill{border:1px solid rgba(80,173,184,.16);background:#07171e;color:#a8bbc2;height:36px;border-radius:9px}.icon-button{width:38px;display:grid;place-items:center;position:relative}.icon-button svg{width:17px;height:17px}.bell i{position:absolute;right:-3px;top:-7px;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:#35ebaa;color:#032218;font-style:normal;font-size:9px;font-weight:850;display:grid;place-items:center;box-shadow:0 0 12px rgba(53,235,170,.36)}.live-pill{display:flex;align-items:center;gap:7px;padding:0 12px;color:#bff9e8;font-size:11px}.live-pill span{width:8px;height:8px;border-radius:50%;background:#42f0b5;box-shadow:0 0 10px #42f0b5}.live-pill b{font-size:11px;color:#40e8c0}.account-pill{display:grid;grid-template-columns:28px auto 12px;align-items:center;gap:8px;padding:0 9px 0 7px}.avatar{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(81,232,211,.55);color:#cafff6;background:linear-gradient(150deg,#0a3540,#103243);font-weight:800}.account-pill>span:nth-child(2){display:grid;text-align:left}.account-pill strong{font-size:11px;color:#ecf6f7}.account-pill small{font-size:8px;color:#738b94}.account-pill>b{font-size:10px;color:#6f8790}
.shell-wrap{padding:10px 16px 16px;max-width:1720px;margin:0 auto}.card{background:linear-gradient(180deg,rgba(7,25,33,.98),rgba(4,18,25,.98));border:1px solid var(--line);border-radius:14px;box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 16px 30px rgba(0,0,0,.18);overflow:hidden;min-width:0}.top-grid{display:grid;grid-template-columns:1.08fr 1.02fr .88fr;gap:10px;height:200px}.row-grid{display:grid;gap:10px;margin-top:10px}.row-two{grid-template-columns:1.05fr 1.05fr .76fr 1.02fr;height:230px}.row-three{grid-template-columns:1.02fr 1.05fr .77fr 1.04fr;height:228px}.bottom-grid{display:grid;grid-template-columns:1.82fr .78fr .92fr;gap:10px;height:174px;margin-top:10px}.card-head{height:38px;padding:11px 15px 8px;display:flex;align-items:center;justify-content:space-between;gap:10px}.head-title{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:760;color:#edf6f8}.head-title svg{width:17px;height:17px}.accent-cyan svg,.accent-cyan{color:#42dfff}.accent-green svg,.accent-green{color:#46efbc}.accent-yellow svg,.accent-yellow{color:#ffd13f}.accent-pink svg,.accent-pink{color:#ff7187}.head-meta{display:flex;align-items:center;gap:10px;color:#90a5ad;font-size:9px}.head-meta b,.dots{font-size:11px;color:#8399a1;letter-spacing:.08em}.mini-panel{background:linear-gradient(180deg,rgba(11,33,42,.82),rgba(7,26,34,.88));border:1px solid rgba(92,164,176,.09);border-radius:9px}.status-led{display:inline-block;width:10px;height:10px;border-radius:50%;background:#20edb3;border:2px solid #06251e;box-shadow:0 0 0 1px #28ddb0,0 0 12px rgba(36,238,180,.62)}.status-led.small{width:7px;height:7px;border-width:1px;vertical-align:middle;margin-right:6px}
.hero-card{position:relative}.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(1.08) contrast(1.03) brightness(.78)}.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,7,12,.55) 0%,rgba(0,8,14,.18) 55%,rgba(0,8,14,.34) 100%),linear-gradient(0deg,rgba(0,8,14,.54) 0%,transparent 58%)}.hero-content{position:relative;height:100%;padding:18px 20px}.hero-greeting{display:flex;align-items:center;gap:9px}.hero-greeting h1{margin:0;font-size:22px;letter-spacing:-.02em}.hero-content>p{margin:4px 0 0 18px;font-size:11px;color:#c0d0d5}.hero-time{position:absolute;left:20px;bottom:42px;font-size:44px;font-weight:780;letter-spacing:-.05em;line-height:.9}.hero-date{position:absolute;left:20px;bottom:18px;font-size:12px;color:#d2dfe2}.hero-content blockquote{position:absolute;right:24px;bottom:24px;margin:0;color:#d6e3e4;font-size:11px;font-style:italic;line-height:1.35;text-align:right;max-width:230px}
.ai-card{padding:27px 22px 18px;background:radial-gradient(circle at 40% -20%,rgba(20,196,203,.08),transparent 46%),linear-gradient(180deg,#071b24,#05161e)}.ai-input-shell{height:64px;border:1px solid rgba(49,233,223,.55);border-radius:13px;background:#06131a;box-shadow:0 0 0 1px rgba(31,114,124,.10),0 0 28px rgba(38,213,204,.09),inset 0 0 18px rgba(28,110,119,.05);display:grid;grid-template-columns:46px 1px 1fr 46px;gap:12px;align-items:center;padding:6px 7px 6px 14px}.ai-orb{width:34px;height:34px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#caffff 0 8%,#5ce4e0 15%,#1aafbf 38%,#0f5067 62%,#07161f 100%);box-shadow:0 0 20px rgba(70,235,226,.35),inset 0 0 10px rgba(255,255,255,.22)}.ai-divider{height:34px;background:rgba(100,185,195,.18)}.ai-placeholder{color:#8ea5ae;font-size:15px}.ai-send{width:40px;height:40px;border-radius:50%;border:1px solid rgba(113,185,194,.18);background:rgba(16,44,54,.85);color:#c8dde1;font-size:20px}.ai-actions{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:14px}.ai-actions button{height:58px;border:1px solid rgba(100,165,177,.14);border-radius:9px;background:linear-gradient(180deg,#0c2029,#091922);color:#aec0c6;display:grid;place-items:center;align-content:center;gap:4px}.ai-actions small{font-size:9px}.qa-icon{height:22px;display:grid;place-items:center;font-size:17px}.qa-icon svg{width:18px;height:18px}.qa-icon.leaf{color:#46efbc}.qa-icon.calendar{color:#62d5ff}.qa-icon.idea{filter:saturate(.9)}.qa-icon.summary{font-size:22px;color:#9dd9e6}
.system-card{padding:0 12px 12px}.health-ok{font-size:10px;color:#57e7bd;display:flex;align-items:center;gap:6px}.ok-badge{width:20px;height:20px;border-radius:50%;background:rgba(55,228,182,.12);display:grid;place-items:center;color:#46edb8}.system-stats{display:grid;grid-template-columns:1fr 1fr .72fr;gap:8px}.net-stat{height:58px;border-radius:10px;background:#0a2029;border:1px solid rgba(92,163,176,.09);display:grid;grid-template-columns:34px 1fr;align-items:center;padding:0 10px}.stat-icon{width:28px;height:28px;border-radius:7px;display:grid;place-items:center;font-size:18px;font-weight:800}.stat-icon.down{background:#28ddea;color:#062228}.stat-icon.up{background:#45eab8;color:#042018}.stat-icon.ping{background:rgba(41,210,192,.12);color:#37e8d1}.stat-icon svg{width:18px;height:18px}.net-stat div{display:grid;grid-template-columns:auto auto;align-items:baseline;column-gap:4px}.net-stat strong{font-size:20px}.net-stat small{font-size:10px;color:#c9d7da}.net-stat em{grid-column:1/-1;font-size:8px;color:#6f8790;font-style:normal}.system-bottom{display:grid;grid-template-columns:.72fr .9fr 1fr;gap:8px;margin-top:8px;min-height:65px}.container-count{display:flex;align-items:center;gap:8px;border-right:1px solid rgba(255,255,255,.04)}.docker-dot{width:36px;height:36px;border-radius:50%;background:rgba(31,209,229,.12);display:grid;place-items:center;color:#24dff0;font-size:22px}.container-count div{display:grid}.container-count strong{font-size:20px}.container-count small{font-size:8px;color:#789099}.spark-lines{height:52px;display:flex;align-items:flex-end;gap:3px;padding:4px 0;border-right:1px solid rgba(255,255,255,.04)}.spark-lines i{width:4px;border-radius:3px;background:linear-gradient(180deg,#23dfdd,#22a4b3);box-shadow:0 0 5px rgba(37,218,215,.15)}.service-list{display:grid;align-content:center;gap:4px;font-size:9px;color:#b8c8cc}.service-list div{display:flex;align-items:center;gap:6px}.service-list span{width:7px;height:7px;border-radius:50%;background:#3ee6ad;box-shadow:0 0 8px rgba(62,230,173,.4)}
.weather-card{padding:0 10px 10px}.weather-main{display:grid;grid-template-columns:70px 1.15fr 1fr;gap:8px;align-items:center;padding:2px 10px 8px}.weather-main>img{width:58px;height:58px;object-fit:cover;border-radius:50%;box-shadow:0 0 26px rgba(60,195,224,.17)}.weather-temp{display:grid}.weather-temp strong{font-size:31px;line-height:.95}.weather-temp span{font-size:12px;font-weight:760;margin-top:3px}.weather-temp small{font-size:9px;color:#8da2aa;margin-top:3px}.weather-meta{display:grid;gap:4px}.weather-meta div{display:flex;justify-content:space-between;gap:10px;font-size:9px}.weather-meta span{color:#7f959d}.weather-meta strong{color:#d1dfe2;font-weight:650}.location{display:flex;align-items:center;gap:5px}.location svg{width:14px;height:14px}.card-separator{height:1px;background:linear-gradient(90deg,transparent,rgba(93,165,179,.18),transparent);margin:1px 8px 0}.forecast-row{display:grid;grid-template-columns:repeat(5,1fr);padding-top:8px}.forecast-row div{display:grid;place-items:center;gap:2px;border-right:1px solid rgba(90,155,166,.08)}.forecast-row div:last-child{border:0}.forecast-row b{font-size:8px;color:#c8d6d9}.forecast-row span{font-size:19px}.forecast-row small{font-size:8px;color:#7e929a}
.now-card{padding:0 10px 10px}.home-pill{height:28px;padding:0 11px;border-radius:8px;background:rgba(31,179,147,.10);color:#42e4b5;display:flex;align-items:center;gap:6px;font-size:9px}.home-pill svg{width:14px;height:14px}.now-item{min-height:51px;margin-top:7px;padding:8px 10px;display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:8px}.now-icon{width:30px;height:30px;border-radius:8px;display:grid;place-items:center}.now-icon svg{width:18px;height:18px}.now-icon.cyan{background:rgba(45,202,220,.10);color:#46dbea}.now-icon.yellow{background:rgba(255,203,58,.08);color:#ffce3e;box-shadow:0 0 16px rgba(255,200,48,.05)}.now-item>div:nth-child(2){display:grid}.now-item small{font-size:8px;color:#788f98}.now-item strong{font-size:10px}.now-right{text-align:right;display:grid}.now-right.yellow strong{color:#f7c943}
.music-card{padding:0 12px 12px}.music-main{display:grid;grid-template-columns:106px 1fr;gap:12px;padding:1px 4px 0}.music-main>img{width:106px;height:96px;object-fit:cover;border-radius:10px}.music-copy{min-width:0}.music-copy>strong{font-size:16px}.music-copy>span,.music-copy>small{display:block;color:#becbd0;font-size:10px;margin-top:3px}.music-copy>small{color:#91a5ad}.track{height:5px;border-radius:999px;background:#203541;margin-top:15px;overflow:hidden}.track i{display:block;width:52%;height:100%;background:linear-gradient(90deg,#38ebbf,#41e8c8);box-shadow:0 0 8px rgba(61,236,196,.2)}.times{display:flex;justify-content:space-between;font-size:8px;color:#8397a0;margin-top:4px}.music-controls{display:flex;align-items:center;gap:14px;margin-top:6px}.music-controls button{border:0;background:transparent;color:#cbdadd;font-size:13px}.music-controls .pause{width:42px;height:42px;border-radius:50%;border:1px solid #a5c3c8;color:#e8f4f4;font-size:18px}.tasks-card{padding:0 10px 10px}.list{padding:1px 9px}.compact-list>div{min-height:31px;display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:8px;align-items:center;border-bottom:1px solid rgba(101,159,171,.08)}.compact-list>div:last-child{border:0}.compact-list strong{font-size:10px;font-weight:650}.compact-list time{font-size:9px;color:#899da5}.check{width:16px;height:16px;border-radius:5px;border:1px solid #95aab1;color:#07221a;display:grid;place-items:center;font-size:11px;font-weight:900}.check.done{background:#43e8b4;border-color:#43e8b4;box-shadow:0 0 9px rgba(67,232,180,.18)}
.calendar-card,.notes-card,.shopping-card,.routines-card{padding:0 10px 10px}.agenda{padding:2px 8px 0}.agenda-row{min-height:32px;display:grid;grid-template-columns:42px 24px minmax(0,1fr) auto;align-items:center;gap:5px;position:relative}.agenda-row:before{content:"";position:absolute;left:0;top:4px;bottom:4px;width:3px;border-radius:3px;background:#3fa8ff}.agenda-row.cyan:before{background:#42dcea}.agenda-row.orange:before{background:#ff994a}.agenda-row.yellow:before{background:#ffcf3d}.agenda-row time{font-size:9px;color:#bfd0d4;padding-left:10px}.agenda-row span{font-size:13px}.agenda-row div{display:grid}.agenda-row strong{font-size:10px}.agenda-row small,.agenda-row em{font-size:8px;color:#728a93;font-style:normal}.agenda-divider{font-size:9px;color:#778e97;margin:4px 0 0 10px}.notes-list{padding:0 8px}.notes-list>div{min-height:50px;display:grid;grid-template-columns:36px 1fr auto;gap:8px;align-items:center}.note-badge{width:34px;height:34px;border-radius:9px;background:rgba(255,206,55,.06);display:grid;place-items:center;color:#ffd13f;box-shadow:inset 0 0 0 1px rgba(255,208,66,.08),0 0 14px rgba(255,205,58,.04)}.note-badge svg{width:18px;height:18px}.notes-list>div>div{display:grid}.notes-list strong{font-size:10px}.notes-list small{font-size:8px;color:#889ca4;line-height:1.3}.notes-list time{font-size:8px;color:#8ca0a8}.shop-list>div{min-height:24px}.routine-list>div{min-height:26px}
.fitness-card{padding:0 12px 10px}.round-mini{width:24px;height:24px;border-radius:50%;border:1px solid rgba(109,174,184,.13);background:#0a2029;color:#91a5ad}.fitness-main{display:grid;grid-template-columns:112px repeat(4,1fr);gap:8px;align-items:stretch;padding:0 2px}.fitness-ring{width:102px;height:102px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#4ef0c1 0 calc(var(--co-progress,0)*1%),#19303a calc(var(--co-progress,0)*1%) 100%);box-shadow:0 0 20px rgba(56,232,187,.11);position:relative;margin:auto}.fitness-ring:after{content:"";position:absolute;inset:9px;border-radius:50%;background:#081821}.fitness-ring>div{position:relative;z-index:1;text-align:center}.fitness-ring strong{display:block;font-size:22px}.fitness-ring small{font-size:8px;color:#8ba0a8}.fitness-metric{border:1px solid rgba(100,165,177,.10);border-radius:10px;background:linear-gradient(180deg,#0a2029,#071922);padding:8px 9px;display:grid;grid-template-rows:auto 1fr auto;min-width:0}.fm-top{display:grid;grid-template-columns:32px 1fr;gap:7px}.fm-top>span{width:32px;height:32px;display:grid;place-items:center}.fm-top svg{width:24px;height:24px}.fm-top>div{display:grid;align-content:start}.fm-top small{font-size:7px;color:#7d9199}.fm-top strong{font-size:12px}.fm-top em{font-size:7px;color:#71868e;font-style:normal}.fitness-metric.steps .fm-top>span{color:#4de7fa}.fitness-metric.calories .fm-top>span{color:#ff984e}.fitness-metric.active .fm-top>span,.fitness-metric.distance .fm-top>span{color:#49ebad}.fitness-metric.sleep .fm-top>span{color:#959cff}.bars{display:flex;align-items:flex-end;gap:4px;height:34px;margin-top:3px}.bars i{flex:1;min-width:3px;height:5%;opacity:.18;border-radius:3px 3px 0 0;background:linear-gradient(180deg,#5bdcff,#30d7f0);box-shadow:0 0 6px rgba(65,203,236,.12)}.calories .bars i{background:linear-gradient(180deg,#ffcf58,#ff7d38)}.active .bars i,.distance .bars i{background:linear-gradient(180deg,#68f2d2,#33dda8)}.sleep .bars i{background:linear-gradient(180deg,#a77cff,#5a7ef2)}.days{font-size:6.5px;color:#728991;word-spacing:8px;white-space:nowrap}.fitness-footer{display:grid;grid-template-columns:1.6fr repeat(3,.65fr);gap:7px;margin-top:8px}.fitness-footer>div{height:43px;border:1px solid rgba(102,164,176,.09);border-radius:9px;background:#081b24;padding:6px 9px;display:grid;align-content:center}.fitness-footer small{font-size:7px;color:#7e939b}.fitness-footer strong{font-size:10px}.training-next{grid-template-columns:32px 1fr auto!important;align-items:center!important;background:linear-gradient(90deg,rgba(72,93,214,.20),rgba(8,28,38,.80))!important}.training-next>span{width:28px;height:28px;display:grid;place-items:center;color:#9aa6ff}.training-next svg{width:20px;height:20px}.training-next>div{display:grid}.training-next>b{color:#9eb1b7}
.therapy-card{padding:0 12px 10px;position:relative}.therapy-info{height:38px;display:grid;grid-template-columns:28px 1fr;gap:7px;align-items:center}.therapy-info>span{width:28px;height:28px;border-radius:8px;background:rgba(48,205,190,.08);display:grid;place-items:center;color:#45e8c5}.therapy-info svg{width:15px;height:15px}.therapy-info div{display:grid}.therapy-info strong{font-size:9px}.therapy-info small{font-size:8px;color:#8398a0}.therapy-quote{height:62px;margin-top:2px;border-radius:9px;background:linear-gradient(180deg,rgba(11,34,42,.85),rgba(7,25,33,.9));border:1px solid rgba(83,163,175,.08);padding:9px 10px;color:#72a699;font-size:8px;font-style:italic;line-height:1.35;position:relative}.leaf-deco{position:absolute;right:10px;bottom:1px;font-size:36px;color:rgba(60,210,154,.35)}.news-card{padding:0 10px 8px}.news-list{padding:0 7px}.news-list>div{height:39px;display:grid;grid-template-columns:58px 1fr 22px;gap:7px;align-items:center}.news-list img{width:58px;height:31px;object-fit:cover;border-radius:7px}.news-list>div>div{display:grid}.news-list strong{font-size:9px}.news-list small{font-size:7.5px;color:#8499a1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.news-list time{font-size:8px;color:#879aa1;text-align:right}
@media(max-width:1500px){.topbar-shell{grid-template-columns:190px minmax(0,1fr) auto;padding:0 10px}.brand-shell img{width:65px}.brand-text{font-size:18px}.nav-shell{gap:2px}.nav-shell a{padding:0 6px;font-size:9px}.top-actions{gap:5px}.shell-wrap{padding-left:10px;padding-right:10px}.hero-greeting h1{font-size:18px}.hero-time{font-size:38px}.system-stats{gap:5px}.net-stat{padding:0 7px}.row-two,.row-three,.bottom-grid{gap:8px}.top-grid{gap:8px}}

/* 5.39.7 Live Foundation: live data must not alter the Golden Master geometry. */
.live-empty{padding:18px 0;color:#738b94;font-size:11px}
.account-pill .avatar img{width:100%;height:100%;display:block;object-fit:cover;border-radius:50%}
.service-list span.off{background:#5e6c72!important;box-shadow:none!important}


/* === 5.39.8 Navigation + Hero + Full Width === */
html,body,#app{width:100%;max-width:none}
.topbar-shell{grid-template-columns:210px minmax(0,1fr) auto;padding:0 10px;width:100%;max-width:none}
.shell-wrap{width:100%;max-width:none;margin:0;padding:10px 8px 16px}
.top-grid,.row-grid,.bottom-grid{width:100%}
.nav-shell{justify-content:flex-start;gap:3px;overflow-x:auto;overflow-y:visible;scrollbar-width:none;padding:0 2px;position:relative}
.nav-shell::-webkit-scrollbar{display:none}
.nav-shell>a,.nav-more-button{flex:0 0 auto;height:34px;padding:0 7px;display:flex;align-items:center;gap:5px;border-radius:9px;color:#95aab3;text-decoration:none;font-size:9px;font-weight:680;white-space:nowrap;border:1px solid transparent;background:transparent;font-family:inherit;cursor:pointer}
.nav-shell>a svg,.nav-more-button svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8}
.nav-shell>a:hover,.nav-more-button:hover{color:#d6f4ee;background:rgba(20,75,82,.24)}
.nav-shell>a.active{color:#dffff9;background:linear-gradient(180deg,rgba(24,100,105,.42),rgba(7,63,70,.55));border-color:rgba(46,223,207,.24)}
.nav-more{position:relative;flex:0 0 auto}
.nav-more-menu{position:fixed;top:50px;left:50%;transform:translateX(-6%);display:none;min-width:190px;padding:7px;background:rgba(3,17,23,.98);border:1px solid rgba(64,189,191,.18);border-radius:12px;box-shadow:0 20px 45px rgba(0,0,0,.42),0 0 22px rgba(38,202,190,.08);z-index:80}
.nav-more:hover .nav-more-menu,.nav-more:focus-within .nav-more-menu{display:grid;gap:3px}
.nav-more-menu a{height:34px;padding:0 9px;border-radius:8px;display:flex;align-items:center;gap:8px;color:#a6bbc1;text-decoration:none;font-size:10px;font-weight:650}
.nav-more-menu a:hover{background:rgba(39,145,139,.14);color:#e3fff9}
.nav-more-menu svg{width:14px;height:14px;stroke:currentColor;fill:none}
.hero-bg{transition:opacity .55s ease,filter .55s ease,transform .8s ease;object-position:center 52%}
.hero-card[data-daypart="morning"] .hero-bg{filter:saturate(1.02) contrast(1.04) brightness(.82)}
.hero-card[data-daypart="day"] .hero-bg{filter:saturate(.95) contrast(1.03) brightness(.72)}
.hero-card[data-daypart="evening"] .hero-bg{filter:saturate(1.12) contrast(1.05) brightness(.79)}
.hero-card[data-daypart="night"] .hero-bg{filter:saturate(.82) contrast(1.08) brightness(.56)}
.hero-overlay{background:linear-gradient(90deg,rgba(0,7,12,.62) 0%,rgba(0,8,14,.17) 56%,rgba(0,8,14,.31) 100%),linear-gradient(0deg,rgba(0,8,14,.58) 0%,transparent 60%)}
.brand-shell img{filter:drop-shadow(0 0 11px rgba(38,232,201,.12)) saturate(1.05)}
.brand-text b{color:#28efc8;text-shadow:0 0 10px rgba(40,239,200,.12)}
@media(max-width:1650px){.topbar-shell{grid-template-columns:190px minmax(0,1fr) auto}.nav-shell>a,.nav-more-button{font-size:8.2px;padding:0 5px}.nav-shell{gap:1px}.brand-text{font-size:18px}.brand-shell img{width:64px}.top-actions{gap:5px}.live-pill{padding:0 8px}}


/* === 5.39.9 Compact layout + personalization foundation === */
.shell-wrap{max-width:none!important;width:100%!important;padding-left:8px!important;padding-right:8px!important}
.top-grid{height:190px!important;grid-template-columns:1.08fr 1.02fr .88fr!important}
.row-two{height:205px!important;grid-template-columns:1.12fr 1.12fr 1.28fr .78fr!important}
.row-three{height:198px!important;grid-template-columns:.82fr .92fr 1.12fr 1.14fr!important}
.bottom-grid{height:180px!important;grid-template-columns:1.82fr .78fr .92fr!important}
.row-grid,.bottom-grid{margin-top:8px!important;gap:8px!important}.top-grid{gap:8px!important}
.card-head{height:35px!important;padding:9px 13px 6px!important}.head-title{font-size:12px!important}.head-title svg{width:15px!important;height:15px!important}.head-meta{font-size:8px!important;gap:8px!important}
.tasks-card,.calendar-card,.notes-card,.shopping-card,.routines-card{padding-bottom:8px!important}
.compact-list>div{min-height:27px!important}.compact-list strong{font-size:9.5px!important}.compact-list time{font-size:8px!important}
.shop-list>div{min-height:25px!important}.routine-list>div{min-height:27px!important}
.agenda{padding-top:0!important}.agenda-row{min-height:29px!important}.agenda-divider{margin-top:1px!important;font-size:8px!important}
.notes-list>div{min-height:58px!important}.notes-list strong{font-size:9.5px!important}.notes-list small{font-size:7.5px!important}.notes-list time{font-size:7.5px!important}
.fitness-card{min-width:0}.fitness-main{gap:7px!important}.fitness-metric{min-width:0}
/* Topbar defaults to the core Central Orbit destinations. Secondary modules remain available under Alle and can be pinned later via CentralOrbitDashboardLayout. */
.nav-shell>a[hidden]{display:none!important}
.nav-more-menu{left:auto!important;right:128px!important;transform:none!important;grid-template-columns:1fr!important}
/* Comfortable mode remains prepared for the future dashboard editor. */
html[data-dashboard-density="comfortable"] .row-two{height:222px!important}
html[data-dashboard-density="comfortable"] .row-three{height:218px!important}
html[data-dashboard-density="comfortable"] .compact-list>div{min-height:30px!important}
@media(max-width:1500px){
  .row-two{grid-template-columns:1fr 1fr 1fr .82fr!important}
  .row-three{grid-template-columns:.9fr .95fr 1.08fr 1.07fr!important}
}


/* === 5.40.0 Personalization + first-viewport fitness polish === */
.shell-wrap{padding-top:8px!important;padding-bottom:10px!important}
.top-grid{height:182px!important}
.row-two{height:188px!important}
.row-three{height:182px!important;grid-template-columns:.76fr .82fr 1.18fr 1.24fr!important}
.bottom-grid{height:176px!important;grid-template-columns:1.9fr .76fr .9fr!important}
.row-grid,.bottom-grid{margin-top:8px!important;gap:8px!important}
.card-head{height:32px!important;padding:8px 12px 5px!important}
.head-title{font-size:11.5px!important}.head-title svg{width:14px!important;height:14px!important}.head-meta{font-size:7.5px!important}

/* Keep summary cards deliberately dense: details belong to the full module. */
.agenda-row{min-height:25px!important}.agenda-row strong{font-size:8.5px!important}.agenda-row small,.agenda-row time,.agenda-row em{font-size:7px!important}.agenda-divider{font-size:7.5px!important;margin:0!important;padding:2px 0!important}
.notes-list>div{min-height:47px!important}.notes-list strong{font-size:8.8px!important}.notes-list small{font-size:7px!important;line-height:1.25!important}.notes-list time{font-size:7px!important}
.compact-list>div{min-height:23px!important}.compact-list strong{font-size:8.8px!important}.compact-list time{font-size:7.2px!important}.check{width:14px!important;height:14px!important;border-radius:4px!important;font-size:8px!important}

/* Fitness now fits completely into a normal desktop viewport. */
.fitness-card{padding:0 10px 7px!important}
.fitness-main{grid-template-columns:92px repeat(4,minmax(0,1fr))!important;gap:6px!important;padding:0!important}
.fitness-ring{width:84px!important;height:84px!important}.fitness-ring:after{inset:7px!important}.fitness-ring strong{font-size:19px!important}.fitness-ring small{font-size:6.8px!important}
.fitness-metric{padding:6px 7px!important;border-radius:9px!important}.fm-top{grid-template-columns:25px 1fr!important;gap:5px!important}.fm-top>span{width:25px!important;height:25px!important}.fm-top svg{width:19px!important;height:19px!important}.fm-top small{font-size:6.4px!important}.fm-top strong{font-size:10px!important}.fm-top em{font-size:6.2px!important}.bars{height:25px!important;gap:3px!important;margin-top:2px!important}.days{font-size:5.7px!important;word-spacing:6px!important}
.fitness-footer{grid-template-columns:1.55fr repeat(3,.62fr)!important;gap:5px!important;margin-top:5px!important}.fitness-footer>div{height:34px!important;padding:4px 7px!important;border-radius:8px!important}.fitness-footer small{font-size:6px!important}.fitness-footer strong{font-size:8.5px!important}.training-next{grid-template-columns:25px 1fr auto!important}.training-next>span{width:23px!important;height:23px!important}.training-next svg{width:16px!important;height:16px!important}
.therapy-info{height:31px!important}.therapy-quote{height:55px!important;padding:7px 9px!important;font-size:7px!important}.news-list>div{height:34px!important}.news-list img{width:52px!important;height:27px!important}.news-list strong{font-size:8px!important}.news-list small{font-size:6.8px!important}

/* Visible personalization editor. Kept behind 'Alle' so the topbar stays calm. */
.nav-more-menu .nav-more-action{height:34px;padding:0 9px;border:0;border-radius:8px;display:flex;align-items:center;gap:8px;color:#a6bbc1;background:transparent;text-align:left;font:inherit;font-size:10px;font-weight:650;cursor:pointer;width:100%}
.nav-more-menu .nav-more-action:hover{background:rgba(39,145,139,.14);color:#e3fff9}.nav-more-menu .nav-more-action svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8}
.dashboard-editor-backdrop[hidden]{display:none!important}.dashboard-editor-backdrop{position:fixed;inset:0;z-index:150;background:rgba(0,6,10,.72);backdrop-filter:blur(12px);display:grid;place-items:center;padding:22px}.dashboard-editor{width:min(920px,94vw);max-height:min(780px,90vh);overflow:hidden;border-radius:18px;background:linear-gradient(180deg,#071b23,#041219);border:1px solid rgba(63,214,207,.24);box-shadow:0 30px 80px rgba(0,0,0,.5),0 0 44px rgba(34,204,191,.08);display:grid;grid-template-rows:auto 1fr auto}.dashboard-editor-head{padding:20px 22px 16px;display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid rgba(106,185,195,.10)}.dashboard-editor-head small{color:#42e4c2;font-size:8px;font-weight:800;letter-spacing:.12em}.dashboard-editor-head h2{margin:3px 0 3px;font-size:22px}.dashboard-editor-head p{margin:0;color:#7f979f;font-size:10px}.dashboard-editor-close{width:36px;height:36px;border-radius:10px;border:1px solid rgba(104,177,188,.14);background:#0a2029;color:#9fb5bc;font-size:22px;cursor:pointer}.dashboard-editor-body{overflow:auto;padding:15px 22px 20px;display:grid;gap:14px}.dashboard-editor-section{border:1px solid rgba(102,179,190,.10);border-radius:14px;background:#071821;padding:14px}.dashboard-editor-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:11px}.dashboard-editor-section-head strong,.compact-setting strong{display:block;font-size:12px}.dashboard-editor-section-head small,.compact-setting small{display:block;margin-top:2px;color:#728b94;font-size:8.5px}.dashboard-editor-section-head>span{color:#56e4c2;font-size:9px;background:rgba(42,218,181,.08);border:1px solid rgba(58,220,190,.10);padding:5px 8px;border-radius:999px}.dashboard-choice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.dashboard-choice-grid.cards{grid-template-columns:repeat(5,minmax(0,1fr))}.dashboard-choice{height:42px;border-radius:9px;border:1px solid rgba(105,172,183,.12);background:#091c24;color:#8fa6ae;display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:7px;align-items:center;padding:0 9px;text-align:left;font:inherit;font-size:9px;font-weight:700;cursor:pointer}.dashboard-choice svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8}.dashboard-choice .choice-dot{width:8px;height:8px;border-radius:50%;border:1px solid #667c84}.dashboard-choice i{font-style:normal;font-size:7px;color:#627981}.dashboard-choice.is-active{color:#e4fff8;border-color:rgba(66,228,194,.34);background:linear-gradient(180deg,rgba(42,144,130,.18),rgba(11,51,54,.35));box-shadow:0 0 16px rgba(42,218,181,.06)}.dashboard-choice.is-active svg{color:#4ee8c1}.dashboard-choice.is-active .choice-dot{background:#43e9b7;border-color:#43e9b7;box-shadow:0 0 7px rgba(67,233,183,.35)}.dashboard-choice.is-active i{color:#59dfbd}.compact-setting{display:flex;align-items:center;justify-content:space-between;gap:20px}.density-switch{display:flex;padding:3px;border-radius:10px;background:#041219;border:1px solid rgba(103,176,187,.12)}.density-switch button{height:30px;padding:0 13px;border:0;border-radius:7px;background:transparent;color:#7e969e;font:inherit;font-size:9px;font-weight:700;cursor:pointer}.density-switch button.is-active{background:#0f3c3d;color:#dffff8;box-shadow:inset 0 0 0 1px rgba(60,224,196,.15)}.dashboard-editor-footer{padding:12px 22px 15px;border-top:1px solid rgba(106,185,195,.10);display:flex;justify-content:space-between;gap:12px}.dashboard-editor-footer button{height:36px;padding:0 15px;border-radius:9px;font:inherit;font-size:9px;font-weight:750;cursor:pointer}.editor-reset{border:1px solid rgba(119,161,170,.13);background:#081820;color:#8da2aa}.editor-done{border:1px solid rgba(60,226,194,.25);background:linear-gradient(180deg,#13564f,#0b3c39);color:#dffff7}.dashboard-editor-open{overflow:hidden}

html[data-dashboard-density="comfortable"] .top-grid{height:194px!important}html[data-dashboard-density="comfortable"] .row-two{height:207px!important}html[data-dashboard-density="comfortable"] .row-three{height:200px!important}html[data-dashboard-density="comfortable"] .bottom-grid{height:190px!important}
@media(max-width:1200px){.dashboard-choice-grid,.dashboard-choice-grid.cards{grid-template-columns:repeat(3,minmax(0,1fr))}}


/* === 5.40.1 Centered navigation + typography polish === */
/* Keep full-width dashboard; center the destination strip inside the available middle zone. */
.topbar-shell{
  grid-template-columns:210px minmax(0,1fr) auto!important;
}
.nav-shell{
  justify-content:center!important;
  gap:5px!important;
  padding:0 10px!important;
  overflow-x:auto!important;
  scroll-padding-inline:20px;
}
.nav-shell>a,.nav-more-button{
  height:35px!important;
  padding:0 8px!important;
  gap:6px!important;
  font-size:9.5px!important;
}
.nav-shell>a svg,.nav-more-button svg{width:14.5px!important;height:14.5px!important}
.nav-more{flex:0 0 auto}

/* A small, global readability lift without changing the card geometry. */
body{font-size:14.5px!important}
.brand-text{font-size:21.5px!important}
.head-title{font-size:12.5px!important;letter-spacing:-.01em}
.head-title svg{width:15.5px!important;height:15.5px!important}
.head-meta{font-size:8.3px!important}.head-meta b,.dots{font-size:11px!important}
.hero-greeting h1{font-size:22.5px!important}.hero-content>p{font-size:11.5px!important}.hero-date{font-size:12.5px!important}.hero-content blockquote{font-size:11.5px!important}
.ai-placeholder{font-size:15.5px!important}.ai-actions small{font-size:9.5px!important}
.weather-temp span{font-size:12.5px!important}.weather-temp small{font-size:9px!important}.weather-meta{font-size:9px!important}.forecast-row b{font-size:8.5px!important}.forecast-row small{font-size:8px!important}
.now-item small{font-size:8px!important}.now-item strong{font-size:10px!important}.now-right strong{font-size:10px!important}.now-right small{font-size:7.5px!important}
.music-copy>strong{font-size:15px!important}.music-copy>span{font-size:10px!important}.music-copy>small{font-size:9px!important}
.compact-list strong{font-size:9.6px!important}.compact-list time{font-size:8px!important}
.agenda-row strong{font-size:9.3px!important}.agenda-row small,.agenda-row time,.agenda-row em{font-size:7.8px!important}.agenda-divider{font-size:8.2px!important}
.notes-list strong{font-size:9.6px!important}.notes-list small{font-size:7.8px!important}.notes-list time{font-size:7.7px!important}
.shop-list strong,.routine-list strong{font-size:9.5px!important}.shop-list time,.routine-list time{font-size:7.8px!important}
.fm-top small{font-size:7px!important}.fm-top strong{font-size:11px!important}.fm-top em{font-size:6.8px!important}.days{font-size:6.2px!important}
.fitness-footer small{font-size:6.7px!important}.fitness-footer strong{font-size:9.2px!important}
.therapy-info strong{font-size:9.2px!important}.therapy-info small{font-size:7.4px!important}.therapy-quote{font-size:7.5px!important}
.news-list strong{font-size:8.8px!important}.news-list small{font-size:7.3px!important}.news-list time{font-size:7.2px!important}

/* Avoid the centered strip feeling left-heavy on slightly smaller desktops. */
@media(max-width:1650px){
  .topbar-shell{grid-template-columns:185px minmax(0,1fr) auto!important}
  .nav-shell{justify-content:center!important;gap:2px!important;padding:0 5px!important}
  .nav-shell>a,.nav-more-button{font-size:8.7px!important;padding:0 6px!important}
  .brand-text{font-size:19px!important}
}
@media(max-width:1350px){
  .nav-shell{justify-content:flex-start!important}
}


/* === 5.40.3 viewport-safe desktop 110% calibration === */
/* Keep Christoph's preferred 110%-feel without shrinking the body itself.
   The actual UI surfaces are zoomed and receive the inverse viewport width,
   so their visual width resolves back to exactly 100vw. */
@media (min-width:1201px){
  html,body{width:100%;max-width:100%;overflow-x:hidden;}
  body{zoom:1!important;}
  #app{width:100%;max-width:100%;overflow-x:clip;}
  .topbar-shell,.shell-wrap{
    zoom:1.10;
    width:90.9090909vw!important;
    max-width:90.9090909vw!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  .topbar-shell{min-width:0!important;}
}

/* The All menu belongs visually to the All button, not to the right edge of the app. */
@media (min-width:1351px){
  .nav-shell{overflow:visible!important;}
  .nav-more{position:relative!important;}
  .nav-more-menu{
    position:absolute!important;
    top:calc(100% + 8px)!important;
    left:50%!important;
    right:auto!important;
    transform:translateX(-50%)!important;
    min-width:205px!important;
    z-index:120!important;
  }
  .nav-more-menu::before{
    content:"";
    position:absolute;
    top:-5px;
    left:50%;
    width:9px;
    height:9px;
    transform:translateX(-50%) rotate(45deg);
    background:#06151c;
    border-left:1px solid rgba(64,189,191,.18);
    border-top:1px solid rgba(64,189,191,.18);
  }
}

/* On narrower desktops/tablets retain horizontal nav scrolling; keep the menu safely inside the viewport. */
@media (max-width:1350px){
  .nav-more-menu{
    position:fixed!important;
    top:54px!important;
    left:auto!important;
    right:10px!important;
    transform:none!important;
  }
}


/* === 5.40.4 flexible card layout controls === */
@media (min-width:1201px){
  .row-two,.row-three,.bottom-grid{
    grid-template-columns:repeat(12,minmax(0,1fr))!important;
    grid-auto-flow:row dense;
    height:auto!important;
    min-height:0!important;
    align-items:stretch;
  }
  .row-two>.card,.row-three>.card,.bottom-grid>.card{grid-column:span 3;min-height:0}
  .row-two>.card[data-card-size="narrow"],.row-three>.card[data-card-size="narrow"],.bottom-grid>.card[data-card-size="narrow"]{grid-column:span 2!important}
  .row-two>.card[data-card-size="standard"],.row-three>.card[data-card-size="standard"],.bottom-grid>.card[data-card-size="standard"]{grid-column:span 3!important}
  .row-two>.card[data-card-size="wide"],.row-three>.card[data-card-size="wide"],.bottom-grid>.card[data-card-size="wide"]{grid-column:span 4!important}
  .bottom-grid>.fitness-card[data-card-size="wide"]{grid-column:span 6!important}
  .bottom-grid>.fitness-card[data-card-size="standard"]{grid-column:span 5!important}
  .bottom-grid>.fitness-card[data-card-size="narrow"]{grid-column:span 4!important}
  .row-two>.card,.row-three>.card{height:196px!important}
  .bottom-grid>.card{height:176px!important}
  html[data-dashboard-density="comfortable"] .row-two>.card,
  html[data-dashboard-density="comfortable"] .row-three>.card{height:210px!important}
  html[data-dashboard-density="comfortable"] .bottom-grid>.card{height:190px!important}
}

.dashboard-layout-groups{display:grid;gap:12px}
.dashboard-layout-group{border:1px solid rgba(97,170,182,.09);border-radius:12px;background:#05151d;padding:10px}
.dashboard-layout-group h3{margin:0 0 8px;color:#82a0aa;font-size:9px;text-transform:uppercase;letter-spacing:.09em}
.dashboard-layout-row{display:grid;grid-template-columns:minmax(130px,1fr) auto minmax(250px,auto);align-items:center;gap:10px;min-height:44px;padding:5px 7px;border-top:1px solid rgba(102,177,188,.065)}
.dashboard-layout-row:first-child{border-top:0}
.dashboard-layout-name{display:flex;align-items:center;gap:8px;min-width:0}.dashboard-layout-name strong{font-size:9.5px;color:#d7e6e9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboard-layout-name .choice-dot{width:7px;height:7px;border-radius:50%;background:#46e9b7;box-shadow:0 0 8px rgba(70,233,183,.28)}
.dashboard-layout-move{display:flex;gap:4px}.dashboard-layout-move button{width:30px;height:28px;border:1px solid rgba(105,176,187,.12);border-radius:7px;background:#081a22;color:#9eb2b9;font:inherit;font-size:12px;cursor:pointer}.dashboard-layout-move button:hover:not(:disabled){color:#dffff7;border-color:rgba(66,228,194,.28);background:#0b272d}.dashboard-layout-move button:disabled{opacity:.24;cursor:default}
.dashboard-size-switch{display:flex;gap:3px;padding:3px;border:1px solid rgba(105,176,187,.10);border-radius:9px;background:#041219}.dashboard-size-switch button{height:26px;padding:0 9px;border:0;border-radius:6px;background:transparent;color:#718991;font:inherit;font-size:8px;font-weight:720;cursor:pointer}.dashboard-size-switch button.is-active{background:#0f3b3c;color:#dffff8;box-shadow:inset 0 0 0 1px rgba(60,224,196,.13)}
@media(max-width:760px){.dashboard-layout-row{grid-template-columns:1fr auto}.dashboard-size-switch{grid-column:1/-1;justify-self:stretch}.dashboard-size-switch button{flex:1}.dashboard-layout-section{display:none}}


/* === 5.40.5 navigation overflow + ordering polish === */
/* Transparent hover bridge: moving from Alle down into the menu no longer drops :hover. */
.nav-more::after{content:"";position:absolute;left:-8px;right:-8px;top:100%;height:12px;z-index:119;pointer-events:auto}
.nav-more-menu{z-index:120!important}
.nav-more-menu [hidden]{display:none!important}
.nav-more-empty{padding:9px 10px;color:#718a93;font-size:9px;line-height:1.35;border-radius:8px;background:rgba(255,255,255,.018)}
.nav-more-divider{height:1px;margin:5px 3px;background:rgba(100,179,190,.10)}

/* Navigation editor: pin/unpin and order live side-by-side. */
#dashboardNavChoices.dashboard-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.dashboard-nav-order-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:center;min-width:0}
.dashboard-nav-order-row .dashboard-choice{width:100%;min-width:0}
.dashboard-nav-order-move{display:flex;gap:3px}
.dashboard-nav-order-move button{width:29px;height:42px;border:1px solid rgba(105,176,187,.12);border-radius:8px;background:#081a22;color:#9eb2b9;font:inherit;font-size:12px;cursor:pointer}
.dashboard-nav-order-move button:hover:not(:disabled){color:#dffff7;border-color:rgba(66,228,194,.28);background:#0b272d}
.dashboard-nav-order-move button:disabled{opacity:.22;cursor:default}
@media(max-width:760px){#dashboardNavChoices.dashboard-choice-grid{grid-template-columns:1fr}}


/* v5.40.6 – drag & drop + home logo */
.brand-shell{text-decoration:none;color:inherit;cursor:pointer;border-radius:10px}
.brand-shell:focus-visible{outline:1px solid rgba(72,235,207,.65);outline-offset:3px}
.dashboard-nav-order-row{grid-template-columns:24px minmax(0,1fr) auto!important}
.dashboard-layout-row{grid-template-columns:24px minmax(130px,1fr) auto minmax(250px,auto)!important;position:relative}
.dashboard-drag-handle{width:22px;height:32px;display:grid;place-items:center;color:#66818a;font-size:14px;font-weight:900;letter-spacing:-3px;cursor:grab;user-select:none;border-radius:7px;border:1px solid transparent;transition:.15s ease}
.dashboard-drag-handle:hover{color:#6eeccc;background:rgba(43,218,183,.08);border-color:rgba(73,224,197,.12)}
.dashboard-drag-handle:active{cursor:grabbing}
.dashboard-nav-order-row.is-dragging,.dashboard-layout-row.is-dragging{opacity:.42}
.dashboard-nav-order-row.is-drop-before::before,.dashboard-layout-row.is-drop-before::before,.dashboard-nav-order-row.is-drop-after::after,.dashboard-layout-row.is-drop-after::after{content:"";position:absolute;left:2px;right:2px;height:2px;border-radius:999px;background:#49e7bd;box-shadow:0 0 12px rgba(73,231,189,.55);z-index:3}
.dashboard-nav-order-row,.dashboard-layout-row{position:relative}
.dashboard-nav-order-row.is-drop-before::before,.dashboard-layout-row.is-drop-before::before{top:-2px}
.dashboard-nav-order-row.is-drop-after::after,.dashboard-layout-row.is-drop-after::after{bottom:-2px}
.dashboard-layout-section .dashboard-editor-section-head small::after{content:" · Alternativ per Drag & Drop am Griff ⋮⋮ sortieren.";color:#6f8b93}
@media(max-width:760px){.dashboard-drag-handle{display:none}.dashboard-nav-order-row{grid-template-columns:minmax(0,1fr) auto!important}.dashboard-layout-row{grid-template-columns:1fr auto!important}}


/* === 5.40.7 direct dashboard edit mode + per-device layouts === */
.nav-more-secondary{color:#718b94!important;font-size:9px!important}
.dashboard-inline-editor[hidden]{display:none!important}
.dashboard-inline-editor{min-height:48px;margin:0 0 8px;padding:7px 9px 7px 12px;border:1px solid rgba(65,226,199,.25);border-radius:12px;background:linear-gradient(180deg,rgba(9,35,43,.96),rgba(5,22,29,.98));box-shadow:0 0 24px rgba(38,217,188,.08),inset 0 1px 0 rgba(255,255,255,.025);display:flex;align-items:center;justify-content:space-between;gap:14px;position:sticky;top:61px;z-index:18}
.dashboard-inline-info{display:flex;align-items:center;gap:9px;min-width:0}.dashboard-inline-info>div{display:grid;gap:1px}.dashboard-inline-info strong{font-size:10px;color:#e8f8f5}.dashboard-inline-info small{font-size:7.5px;color:#78929a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboard-edit-led{width:9px;height:9px;border-radius:50%;background:#45e9b6;box-shadow:0 0 11px rgba(69,233,182,.65)}
.dashboard-inline-actions{display:flex;align-items:center;gap:5px;flex:0 0 auto}.dashboard-inline-actions button{height:30px;padding:0 10px;border:1px solid rgba(95,170,180,.13);border-radius:8px;background:#081a22;color:#8ea5ad;font:inherit;font-size:8px;font-weight:750;cursor:pointer}.dashboard-inline-actions button:hover{color:#e3fff8;border-color:rgba(63,220,195,.28)}.dashboard-inline-actions button.is-primary{background:linear-gradient(180deg,#14584f,#0b3d39);border-color:rgba(63,226,194,.26);color:#e2fff8}

.dashboard-edit-mode .card{position:relative;overflow:visible!important;outline:1px dashed rgba(79,220,202,.18);outline-offset:-3px;transition:outline-color .15s ease,box-shadow .15s ease}.dashboard-edit-mode .card:hover{outline-color:rgba(76,235,207,.43);box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 0 22px rgba(44,219,191,.07)}
.dashboard-card-edit-tools{position:absolute;right:7px;top:6px;height:27px;padding:3px;display:flex;align-items:center;gap:4px;border:1px solid rgba(86,189,193,.20);border-radius:9px;background:rgba(2,16,22,.94);box-shadow:0 8px 20px rgba(0,0,0,.28);z-index:30;backdrop-filter:blur(8px)}
.dashboard-card-edit-tools~.card-head .head-meta,.dashboard-edit-mode .card>.card-head .head-meta{padding-right:108px}
.dashboard-direct-drag{width:23px;height:21px;border-radius:6px;display:grid;place-items:center;color:#6c8b93;font-size:13px;font-weight:900;letter-spacing:-3px;cursor:grab;user-select:none}.dashboard-direct-drag:hover{background:rgba(54,219,185,.09);color:#5feac6}.dashboard-direct-drag:active{cursor:grabbing}
.dashboard-direct-size{display:flex;gap:2px}.dashboard-direct-size button,.dashboard-direct-hide{height:21px;min-width:22px;padding:0 5px;border:0;border-radius:5px;background:#0b2028;color:#708a92;font:inherit;font-size:7px;font-weight:800;cursor:pointer}.dashboard-direct-size button:hover,.dashboard-direct-hide:hover{color:#e6fff9;background:#103038}.dashboard-direct-size button.is-active{background:#0e4542;color:#9cffe9;box-shadow:inset 0 0 0 1px rgba(60,224,196,.13)}.dashboard-direct-hide{font-size:13px;line-height:1;color:#98767a}.dashboard-direct-hide:hover{color:#ffb0ba;background:rgba(125,44,55,.18)}
.dashboard-signature-label{height:20px;padding:0 6px;display:flex;align-items:center;color:#5d7f88;font-size:6px;font-weight:850;letter-spacing:.09em}
.dashboard-edit-mode .card.is-dragging{opacity:.48}.dashboard-edit-mode .card.is-direct-drop-before::before,.dashboard-edit-mode .card.is-direct-drop-after::after{content:"";position:absolute;top:5px;bottom:5px;width:3px;border-radius:999px;background:#47e8bc;box-shadow:0 0 14px rgba(71,232,188,.7);z-index:40}.dashboard-edit-mode .card.is-direct-drop-before::before{left:-5px}.dashboard-edit-mode .card.is-direct-drop-after::after{right:-5px}

.dashboard-edit-mode .nav-shell>a[data-nav-key]{position:relative;cursor:grab!important;padding-right:19px!important;outline:1px dashed rgba(71,218,197,.15);outline-offset:-2px}.dashboard-edit-mode .nav-shell>a[data-nav-key]:active{cursor:grabbing!important}.dashboard-edit-mode .nav-shell>a.is-dragging{opacity:.45}.nav-edit-remove{position:absolute;right:3px;top:50%;transform:translateY(-50%);width:14px;height:14px;border-radius:50%;display:grid;place-items:center;background:rgba(122,48,55,.18);color:#a98288;font-size:10px;line-height:1;cursor:pointer}.nav-edit-remove:hover{background:rgba(177,61,73,.27);color:#ffc3ca}
.dashboard-edit-mode .nav-more-menu a[data-overflow-key]::after{content:"+";margin-left:auto;width:16px;height:16px;border-radius:50%;display:grid;place-items:center;background:rgba(47,221,183,.08);color:#54dfbd;font-size:10px}.dashboard-edit-mode .nav-more-menu a[data-overflow-key]{cursor:pointer}
.dashboard-edit-mode .nav-shell>a.is-direct-drop-before::before,.dashboard-edit-mode .nav-shell>a.is-direct-drop-after::after{content:"";position:absolute;top:4px;bottom:4px;width:2px;border-radius:999px;background:#47e8bc;box-shadow:0 0 10px rgba(71,232,188,.7)}.dashboard-edit-mode .nav-shell>a.is-direct-drop-before::before{left:-4px}.dashboard-edit-mode .nav-shell>a.is-direct-drop-after::after{right:-4px}

html[data-dashboard-profile="tablet"] .dashboard-editor-head small::after{content:" · eigenes Tablet-Layout";color:#698991}html[data-dashboard-profile="mobile"] .dashboard-editor-head small::after{content:" · eigenes Handy-Layout";color:#698991}html[data-dashboard-profile="desktop"] .dashboard-editor-head small::after{content:" · eigenes Desktop-Layout";color:#698991}

@media(max-width:1200px){.dashboard-inline-editor{top:61px}.dashboard-inline-info small{white-space:normal}.dashboard-card-edit-tools{transform:scale(.92);transform-origin:top right}}
@media(max-width:760px){.dashboard-inline-editor{position:relative;top:auto;align-items:flex-start;flex-direction:column}.dashboard-inline-actions{width:100%}.dashboard-inline-actions button{flex:1}.dashboard-card-edit-tools{right:5px;top:5px}.dashboard-direct-drag{display:none}.dashboard-direct-size{display:none}.dashboard-edit-mode .nav-shell>a[data-nav-key]{draggable:false}.dashboard-edit-mode .card>.card-head .head-meta{padding-right:38px}}


/* =========================================================
   5.45.2 – Product polish: truthful content + interactions
   ========================================================= */
.ai-input-shell{margin:0}
.ai-input-shell .ai-placeholder{
  width:100%;min-width:0;border:0;outline:0;background:transparent;
  color:#d9e6e9;font:inherit;font-size:15px;padding:0;
}
.ai-input-shell .ai-placeholder::placeholder{color:#8198a1;opacity:1}
.ai-send{cursor:pointer;transition:.16s ease}
.ai-send:hover{border-color:rgba(74,231,214,.42);background:rgba(21,67,75,.92);color:#efffff}
.hero-status-copy{
  position:absolute;right:24px;bottom:24px;max-width:245px;
  color:#c8d8dc;font-size:10.5px;line-height:1.4;text-align:right;
  border-right:2px solid rgba(61,229,207,.42);padding-right:9px;
}
.therapy-quote{font-style:normal;color:#8bb9b1;display:flex;align-items:center}
.news-list .dashboard-inbox-row{
  height:39px;display:grid;grid-template-columns:10px minmax(0,1fr) 42px;gap:8px;align-items:center;
  border-bottom:1px solid rgba(91,174,184,.06)
}
.dashboard-inbox-row:last-child{border-bottom:0}
.dashboard-inbox-row>div{display:grid;min-width:0}
.dashboard-inbox-row strong{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dashboard-inbox-row small{font-size:7.3px;color:#8499a1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dashboard-inbox-row time{font-size:7.2px;color:#879aa1;text-align:right}
.dashboard-inbox-dot{width:6px;height:6px;border-radius:50%;background:#38525b}
.dashboard-inbox-dot.is-unread{background:#43e9ba;box-shadow:0 0 10px rgba(67,233,186,.45)}
.dashboard-placeholder-row{height:72px!important;display:flex!important;align-items:center!important;grid-template-columns:none!important}
.dashboard-placeholder-row>div{display:grid;gap:4px}
.dashboard-placeholder-row strong{font-size:9px}.dashboard-placeholder-row small{font-size:7.5px;color:#8398a0}
.tasks-card,.calendar-card,.notes-card,.shopping-card,.routines-card,.now-card,.fitness-card,.therapy-card,.news-card,.system-card,.weather-card,.music-card{cursor:pointer}
.card button,.card input{cursor:pointer}
#orbitInboxButton i[hidden]{display:none!important}


/* =========================================================
   5.45.4 – Interaction polish / dashboard AI voice affordance
   ========================================================= */
.ai-input-shell{
  cursor:text;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.ai-input-shell:hover{
  border-color:rgba(66,232,220,.72);
  box-shadow:0 0 0 1px rgba(31,114,124,.12),0 0 34px rgba(38,213,204,.12),inset 0 0 18px rgba(28,110,119,.06);
}
.ai-input-shell:focus-within{
  border-color:rgba(74,239,223,.84);
  box-shadow:0 0 0 2px rgba(49,224,207,.09),0 0 34px rgba(38,213,204,.15),inset 0 0 18px rgba(28,110,119,.07);
}
.ai-input-shell .ai-placeholder{cursor:text!important;caret-color:#55ecd5}
.ai-orb.ai-voice-orb{
  position:relative;border:0;padding:0;display:grid;place-items:center;cursor:pointer;
  color:rgba(234,255,251,.0);transition:transform .16s ease,box-shadow .16s ease,filter .16s ease;
}
.ai-orb.ai-voice-orb svg{width:15px;height:15px;opacity:0;transform:scale(.85);transition:.16s ease;stroke:#eafffb;filter:drop-shadow(0 0 4px rgba(255,255,255,.25))}
.ai-orb.ai-voice-orb:hover,.ai-orb.ai-voice-orb:focus-visible{transform:scale(1.06);box-shadow:0 0 27px rgba(70,235,226,.52),inset 0 0 12px rgba(255,255,255,.27)}
.ai-orb.ai-voice-orb:hover svg,.ai-orb.ai-voice-orb:focus-visible svg{opacity:.95;transform:scale(1)}
.ai-orb.ai-voice-orb.is-listening{box-shadow:0 0 0 3px rgba(75,240,214,.13),0 0 38px rgba(70,235,226,.72),inset 0 0 12px rgba(255,255,255,.32);animation:coVoicePulse 1.15s ease-in-out infinite}
.ai-orb.ai-voice-orb.is-listening svg{opacity:1;transform:scale(1);stroke:#fff}
.ai-input-shell.is-listening{border-color:rgba(77,243,220,.92);box-shadow:0 0 0 2px rgba(49,224,207,.1),0 0 40px rgba(38,213,204,.18)}
@keyframes coVoicePulse{0%,100%{transform:scale(1)}50%{transform:scale(1.075)}}
.ai-voice-orb:disabled{cursor:not-allowed;filter:saturate(.35);opacity:.65}


/* v5.45.6 dashboard weather restore */
.row-two{grid-template-columns:1.16fr .92fr 1fr 1.12fr .82fr!important;height:214px!important}
.row-two > .weather-card-prominent{overflow:hidden}
.row-two > .vnext-weather{padding:16px 18px 14px!important;min-height:0!important}
.row-two > .vnext-weather .card-head{padding:0 0 8px!important;height:auto!important}
.row-two > .vnext-weather #weatherCard{min-height:84px!important}
.row-two > .vnext-weather #forecastCard{min-height:62px!important}
.row-two > .home-card{min-height:0!important}
@media(max-width:1500px){.row-two{grid-template-columns:1.08fr .88fr .98fr 1.1fr .8fr!important}}
@media(max-width:1360px){.row-two{grid-template-columns:1fr 1fr 1fr 1fr 1fr!important;height:206px!important}}

/* =========================================================
   Central Orbit vNext 5.45.7 — Dashboard grid safety
   Never allow wrapped grid rows to overlap following sections.
   ========================================================= */
@media (min-width: 1201px){
  .row-grid,
  .bottom-grid{
    height:auto!important;
    min-height:0!important;
    align-items:stretch!important;
  }

  .row-two{
    display:grid!important;
    grid-template-columns:minmax(0,1.28fr) minmax(0,.95fr) minmax(0,.95fr) minmax(0,1.05fr) minmax(0,.82fr)!important;
    grid-auto-flow:row!important;
    grid-auto-rows:minmax(205px,auto)!important;
    gap:8px!important;
  }

  /* Child modules previously carried their own dashboard span rules.
     Inside the static vNext row every card owns exactly one column. */
  .row-two > .card{
    grid-column:auto!important;
    grid-row:auto!important;
    width:auto!important;
    min-width:0!important;
    height:auto!important;
    min-height:205px!important;
    overflow:hidden;
  }

  .row-three{
    grid-template-columns:1.02fr 1.05fr .96fr 1.04fr!important;
    grid-auto-rows:minmax(205px,auto)!important;
  }
  .row-three > .card{
    grid-column:auto!important;
    grid-row:auto!important;
    height:auto!important;
    min-height:205px!important;
    min-width:0!important;
  }

  .bottom-grid{
    grid-template-columns:1.82fr .78fr .92fr!important;
    grid-auto-rows:minmax(174px,auto)!important;
  }
  .bottom-grid > .card{
    grid-column:auto!important;
    grid-row:auto!important;
    height:auto!important;
    min-height:174px!important;
    min-width:0!important;
  }
}

/* Slightly narrower desktops: allow a clean second dashboard line instead
   of squeezing cards until their content collides. */
@media (min-width:1201px) and (max-width:1550px){
  .row-two{
    grid-template-columns:repeat(12,minmax(0,1fr))!important;
    grid-auto-rows:minmax(195px,auto)!important;
  }
  .row-two > .weather-card-prominent{grid-column:span 4!important}
  .row-two > .home-card{grid-column:span 4!important}
  .row-two > .now-card{grid-column:span 4!important}
  .row-two > .music-card{grid-column:span 6!important}
  .row-two > .tasks-card{grid-column:span 6!important}
}

/* Weather remains compact when sharing the row with four other cards. */
@media (min-width:1551px){
  .row-two > .vnext-weather{
    padding:14px 15px 12px!important;
  }
  .row-two > .vnext-weather .vnext-weather-current{
    grid-template-columns:48px minmax(72px,.8fr) minmax(0,1.15fr)!important;
    gap:8px!important;
  }
  .row-two > .vnext-weather .vnext-weather-icon{
    width:42px!important;
    height:42px!important;
    font-size:25px!important;
  }
  .row-two > .vnext-weather .vnext-weather-temp strong{font-size:28px!important}
  .row-two > .vnext-weather .vnext-weather-meta-grid{gap:4px 7px!important}
  .row-two > .vnext-weather .vnext-weather-days{gap:2px!important;padding-top:7px!important}
  .row-two > .vnext-weather .vnext-weather-day span{font-size:15px!important}
  .row-two > .vnext-weather .vnext-weather-day strong,
  .row-two > .vnext-weather .vnext-weather-day small{font-size:7px!important}
}


/* =========================================================
   Central Orbit vNext 5.45.8 — real S/M/L card sizing
   Safety rule: rows may wrap and grow, but never overlap.
   ========================================================= */
@media (min-width:1201px){
  .row-two,.row-three,.bottom-grid{
    display:grid!important;
    grid-template-columns:repeat(12,minmax(0,1fr))!important;
    grid-auto-flow:row dense!important;
    grid-auto-rows:196px!important;
    height:auto!important;
    min-height:0!important;
    gap:8px!important;
    align-items:stretch!important;
  }

  .row-two>.card,.row-three>.card,.bottom-grid>.card{
    grid-row:auto!important;
    width:auto!important;
    min-width:0!important;
    min-height:0!important;
    height:196px!important;
    overflow:hidden;
  }

  /* S / M / L once again means a real width. */
  .row-two>.card[data-card-size="narrow"],
  .row-three>.card[data-card-size="narrow"],
  .bottom-grid>.card[data-card-size="narrow"]{grid-column:span 2!important}

  .row-two>.card[data-card-size="standard"],
  .row-three>.card[data-card-size="standard"],
  .bottom-grid>.card[data-card-size="standard"]{grid-column:span 3!important}

  .row-two>.card[data-card-size="wide"],
  .row-three>.card[data-card-size="wide"],
  .bottom-grid>.card[data-card-size="wide"]{grid-column:span 4!important}

  /* Fitness needs a little more horizontal room than list cards. */
  .bottom-grid>.fitness-card[data-card-size="narrow"]{grid-column:span 4!important}
  .bottom-grid>.fitness-card[data-card-size="standard"]{grid-column:span 5!important}
  .bottom-grid>.fitness-card[data-card-size="wide"]{grid-column:span 6!important}

  html[data-dashboard-density="comfortable"] .row-two,
  html[data-dashboard-density="comfortable"] .row-three,
  html[data-dashboard-density="comfortable"] .bottom-grid{grid-auto-rows:210px!important}

  html[data-dashboard-density="comfortable"] .row-two>.card,
  html[data-dashboard-density="comfortable"] .row-three>.card,
  html[data-dashboard-density="comfortable"] .bottom-grid>.card{height:210px!important}

  /* Narrow-card adaptations: compact the content, don't fake a wider card. */
  .row-two>.vnext-weather[data-card-size="narrow"] .vnext-weather-current{
    grid-template-columns:44px minmax(0,1fr)!important;
    gap:8px!important;
  }
  .row-two>.vnext-weather[data-card-size="narrow"] .vnext-weather-meta-grid{display:none!important}
  .row-two>.vnext-weather[data-card-size="narrow"] .vnext-weather-icon{
    width:40px!important;height:40px!important;font-size:23px!important
  }
  .row-two>.vnext-weather[data-card-size="narrow"] .vnext-weather-temp strong{font-size:27px!important}
  .row-two>.vnext-weather[data-card-size="narrow"] .vnext-weather-days{gap:1px!important}
  .row-two>.vnext-weather[data-card-size="narrow"] .vnext-weather-day{padding:3px 1px!important}
  .row-two>.vnext-weather[data-card-size="narrow"] .vnext-weather-day span{font-size:14px!important}
  .row-two>.vnext-weather[data-card-size="narrow"] .vnext-weather-day strong,
  .row-two>.vnext-weather[data-card-size="narrow"] .vnext-weather-day small{font-size:6.7px!important}

  .row-two>.home-card[data-card-size="narrow"] .home-favorite-grid{grid-template-columns:1fr!important;gap:6px!important}
  .row-two>.home-card[data-card-size="narrow"] .home-card-footer{display:none!important}

  .row-two>.now-card[data-card-size="narrow"] .now-item{grid-template-columns:30px minmax(0,1fr)!important;gap:7px!important}
  .row-two>.now-card[data-card-size="narrow"] .now-right{display:none!important}
  .row-two>.now-card[data-card-size="narrow"] .now-icon{width:30px!important;height:30px!important}

  .row-two>.music-card[data-card-size="narrow"] .music-main{grid-template-columns:58px minmax(0,1fr)!important;gap:9px!important}
  .row-two>.music-card[data-card-size="narrow"] .music-main>img{width:58px!important;height:58px!important;border-radius:9px!important}
  .row-two>.music-card[data-card-size="narrow"] .music-controls{gap:3px!important}
  .row-two>.music-card[data-card-size="narrow"] .music-controls button{width:25px!important;height:25px!important;font-size:9px!important}
  .row-two>.music-card[data-card-size="narrow"] .music-controls .pause{width:31px!important;height:31px!important}

  .row-two>.tasks-card[data-card-size="narrow"] .head-meta span{display:none}
}

/* At smaller desktop widths retain the same S/M/L math and simply wrap.
   The row height is content-derived, so the next dashboard row cannot overlap. */
@media (min-width:1201px) and (max-width:1550px){
  .row-two,.row-three,.bottom-grid{
    grid-template-columns:repeat(12,minmax(0,1fr))!important;
    grid-auto-rows:190px!important;
  }
  .row-two>.card,.row-three>.card,.bottom-grid>.card{height:190px!important}
  html[data-dashboard-density="comfortable"] .row-two,
  html[data-dashboard-density="comfortable"] .row-three,
  html[data-dashboard-density="comfortable"] .bottom-grid{grid-auto-rows:204px!important}
  html[data-dashboard-density="comfortable"] .row-two>.card,
  html[data-dashboard-density="comfortable"] .row-three>.card,
  html[data-dashboard-density="comfortable"] .bottom-grid>.card{height:204px!important}
}


/* =========================================================
   Central Orbit vNext 5.45.9 — free layout + viewport safety
   ========================================================= */
@media (min-width:1201px){
  html{scrollbar-gutter:stable;}
  body{overflow-x:hidden!important;}

  /* A little breathing room around the desktop canvas.
     This also keeps the right-most card clear of the browser scrollbar. */
  .shell-wrap{
    box-sizing:border-box!important;
    padding-left:14px!important;
    padding-right:18px!important;
  }

  /* Every movable row uses the same grid. Cards can therefore move vertically
     without changing their S/M/L semantics. */
  .row-two,.row-three,.bottom-grid{
    grid-template-columns:repeat(12,minmax(0,1fr))!important;
    grid-auto-flow:row dense!important;
    grid-auto-rows:196px!important;
    height:auto!important;
    min-height:0!important;
    align-items:stretch!important;
  }
  .row-two>.card,.row-three>.card,.bottom-grid>.card{
    height:196px!important;
    min-height:0!important;
    overflow:hidden!important;
  }

  .row-two>.card[data-card-size="narrow"],.row-three>.card[data-card-size="narrow"],.bottom-grid>.card[data-card-size="narrow"]{grid-column:span 2!important}
  .row-two>.card[data-card-size="standard"],.row-three>.card[data-card-size="standard"],.bottom-grid>.card[data-card-size="standard"]{grid-column:span 3!important}
  .row-two>.card[data-card-size="wide"],.row-three>.card[data-card-size="wide"],.bottom-grid>.card[data-card-size="wide"]{grid-column:span 4!important}

  .fitness-card[data-card-size="narrow"]{grid-column:span 4!important}
  .fitness-card[data-card-size="standard"]{grid-column:span 5!important}
  .fitness-card[data-card-size="wide"]{grid-column:span 6!important}

  html[data-dashboard-density="comfortable"] .row-two,
  html[data-dashboard-density="comfortable"] .row-three,
  html[data-dashboard-density="comfortable"] .bottom-grid{grid-auto-rows:210px!important}

  html[data-dashboard-density="comfortable"] .row-two>.card,
  html[data-dashboard-density="comfortable"] .row-three>.card,
  html[data-dashboard-density="comfortable"] .bottom-grid>.card{height:210px!important}

  /* Aktuell gerade: the content scrolls inside the card if space is tight. */
  .now-card{
    display:flex!important;
    flex-direction:column!important;
    min-height:0!important;
  }
  .now-card>.card-head{flex:0 0 auto!important}
  .now-scroll{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    padding:0 6px 8px 10px!important;
    margin-right:3px!important;
    display:grid!important;
    align-content:start!important;
    gap:7px!important;
    scrollbar-width:thin;
    scrollbar-color:rgba(74,203,184,.34) transparent;
  }
  .now-scroll::-webkit-scrollbar{width:5px}
  .now-scroll::-webkit-scrollbar-track{background:transparent}
  .now-scroll::-webkit-scrollbar-thumb{background:rgba(74,203,184,.28);border-radius:999px}
  .now-scroll:hover::-webkit-scrollbar-thumb{background:rgba(74,203,184,.48)}
  .now-scroll .now-item{margin:0!important;flex:0 0 auto!important}

  /* Narrow adaptations follow the card itself, even after moving to another row. */
  .vnext-weather[data-card-size="narrow"] .vnext-weather-current{grid-template-columns:44px minmax(0,1fr)!important;gap:8px!important}
  .vnext-weather[data-card-size="narrow"] .vnext-weather-meta-grid{display:none!important}
  .vnext-weather[data-card-size="narrow"] .vnext-weather-icon{width:40px!important;height:40px!important;font-size:23px!important}
  .vnext-weather[data-card-size="narrow"] .vnext-weather-temp strong{font-size:27px!important}

  .home-card[data-card-size="narrow"] .home-favorite-grid{grid-template-columns:1fr!important;gap:6px!important}
  .home-card[data-card-size="narrow"] .home-card-footer{display:none!important}

  .now-card[data-card-size="narrow"] .now-item{grid-template-columns:30px minmax(0,1fr)!important;gap:7px!important}
  .now-card[data-card-size="narrow"] .now-right{display:none!important}

  .music-card[data-card-size="narrow"] .music-main{grid-template-columns:58px minmax(0,1fr)!important;gap:9px!important}
  .music-card[data-card-size="narrow"] .music-main>img{width:58px!important;height:58px!important;border-radius:9px!important}
}

/* Four direction controls in the advanced layout editor. */
.dashboard-layout-move{flex-wrap:wrap;max-width:68px}
.dashboard-layout-move button{width:28px}

/* Subtle row boundaries while editing make vertical drop targets obvious. */
.dashboard-edit-mode .row-two,
.dashboard-edit-mode .row-three,
.dashboard-edit-mode .bottom-grid{position:relative}
.dashboard-edit-mode .row-two::before,
.dashboard-edit-mode .row-three::before,
.dashboard-edit-mode .bottom-grid::before{
  content:"";
  position:absolute;
  inset:-3px;
  border:1px dashed rgba(67,225,196,.08);
  border-radius:15px;
  pointer-events:none;
  z-index:0;
}
.dashboard-edit-mode .row-two>.card,
.dashboard-edit-mode .row-three>.card,
.dashboard-edit-mode .bottom-grid>.card{position:relative;z-index:1}

html,body{background:#021117!important}
html{color-scheme:dark}


/* v5.46.3 — symmetric viewport framing */
html{scrollbar-gutter:auto!important;background:#021117!important;color-scheme:dark}
body{margin:0!important;background:#021117!important;overflow-x:hidden!important}
.shell-wrap{padding-left:12px!important;padding-right:12px!important;box-sizing:border-box!important}
html::-webkit-scrollbar,body::-webkit-scrollbar{width:10px;background:#021117}
html::-webkit-scrollbar-thumb,body::-webkit-scrollbar-thumb{background:#17333a;border-radius:999px;border:2px solid #021117}

/* === 5.50.26 Dashboard real-data consistency === */
.weather-card-prominent{padding:0 10px 10px}
.weather-card-prominent .weather-combined{display:grid;grid-template-rows:auto auto;gap:7px;padding:0 8px 6px;min-height:0}
.weather-card-prominent .weather-current-box,.weather-card-prominent .forecast-list{min-width:0}
.weather-card-prominent .vnext-weather-current{display:grid;grid-template-columns:50px minmax(82px,.82fr) minmax(0,1.2fr);gap:8px;align-items:center;padding:0 2px 7px;border-bottom:1px solid rgba(93,165,179,.10)}
.weather-card-prominent .vnext-weather-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;font-size:24px;background:radial-gradient(circle at 35% 35%,rgba(103,241,224,.13),rgba(34,92,112,.11));box-shadow:0 0 18px rgba(41,202,200,.08)}
.weather-card-prominent .vnext-weather-temp{min-width:0}
.weather-card-prominent .vnext-weather-temp strong{display:block;font-size:27px;line-height:.95;color:#f4fafb}
.weather-card-prominent .vnext-weather-temp span{display:block;margin-top:3px;font-size:9px;font-weight:740;color:#d6e3e5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.weather-card-prominent .vnext-weather-temp small{display:block;margin-top:2px;font-size:7px;color:#71868e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.weather-card-prominent .vnext-weather-meta-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px 8px;min-width:0}
.weather-card-prominent .vnext-weather-meta-grid div{display:flex;justify-content:space-between;gap:5px;min-width:0;font-size:7px}
.weather-card-prominent .vnext-weather-meta-grid span{color:#718790}.weather-card-prominent .vnext-weather-meta-grid strong{color:#cbd9dc;font-size:7px;white-space:nowrap}
.weather-card-prominent .vnext-weather-days{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;padding-top:1px}
.weather-card-prominent .vnext-weather-day{border:0;background:transparent;color:#8ea0a7;display:grid;place-items:center;gap:1px;padding:2px;border-radius:6px;cursor:default}
.weather-card-prominent .vnext-weather-day strong{font-size:7px;color:#aebdc2}.weather-card-prominent .vnext-weather-day span{font-size:15px}.weather-card-prominent .vnext-weather-day small{font-size:7px;color:#71848b;white-space:nowrap}
.weather-card-prominent .weather-error{margin:4px 0 2px;color:#ef9f9f;font-size:10px}.weather-card-prominent .muted{color:#789099;font-size:9px}

/* === v5.50.27 · Therapy dashboard real-data upgrade === */
.therapy-card-v5527{padding:0 10px 7px!important}
.therapy-dashboard-main-v5527{display:grid;grid-template-columns:70px minmax(0,1fr);gap:6px;align-items:stretch;padding:0!important;min-width:0}
.therapy-dashboard-ring-v5527{width:66px;height:66px;border-radius:50%;display:grid;place-items:center;position:relative;margin:auto;background:conic-gradient(#42edb9 0 calc(var(--therapy-progress,0)*1%),#193039 calc(var(--therapy-progress,0)*1%) 100%);box-shadow:0 0 18px rgba(58,232,184,.10)}
.therapy-dashboard-ring-v5527:after{content:"";position:absolute;inset:6px;border-radius:50%;background:#071a22;border:1px solid rgba(78,214,190,.07)}
.therapy-dashboard-ring-v5527>div{position:relative;z-index:1;text-align:center;display:grid;gap:0}
.therapy-dashboard-ring-v5527 strong{font-size:15px;line-height:1.05;color:#effbf8;letter-spacing:-.025em}
.therapy-dashboard-ring-v5527 small{font-size:6.2px;color:#6f9293;margin-top:2px;text-transform:uppercase;letter-spacing:.08em}
.therapy-dashboard-kpis-v5527{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,1fr);gap:4px;min-width:0}
.therapy-dashboard-kpi-v5527{border:1px solid rgba(92,168,177,.09);border-radius:8px;background:linear-gradient(180deg,#091e27,#071820);padding:4px 6px;display:grid;align-content:center;min-width:0;position:relative;overflow:hidden}
.therapy-dashboard-kpi-v5527:before{content:"";position:absolute;left:0;top:5px;bottom:5px;width:2px;border-radius:2px;background:#4de7c3;opacity:.85}
.therapy-dashboard-kpi-v5527.next:before{background:#979dff}.therapy-dashboard-kpi-v5527.today:before{background:#44dff3}.therapy-dashboard-kpi-v5527.stock:before{background:#ffc44f}.therapy-dashboard-kpi-v5527.logs:before{background:#ff7e9e}
.therapy-dashboard-kpi-v5527 span{font-size:5.8px;color:#718a92;text-transform:uppercase;letter-spacing:.065em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.therapy-dashboard-kpi-v5527 strong{font-size:9.2px;line-height:1.12;color:#eef8fa;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px}
.therapy-dashboard-kpi-v5527 small{font-size:5.8px;line-height:1.1;color:#617b84;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px}
.therapy-dashboard-footer-v5527{height:38px;margin-top:5px;border:1px solid rgba(92,168,177,.09);border-radius:8px;background:linear-gradient(90deg,rgba(36,118,103,.13),rgba(7,25,33,.86));display:grid;grid-template-columns:27px minmax(0,1fr) minmax(58px,.46fr);gap:6px;align-items:center;padding:4px 7px;min-width:0}
.therapy-dashboard-next-icon-v5527{width:25px;height:25px;border-radius:8px;display:grid;place-items:center;color:#47e9bd;background:rgba(54,225,184,.09);border:1px solid rgba(59,222,188,.10)}
.therapy-dashboard-next-icon-v5527 svg{width:14px;height:14px}
.therapy-dashboard-next-copy-v5527{display:grid;min-width:0;align-content:center}
.therapy-dashboard-next-copy-v5527 small,.therapy-dashboard-next-extra-v5527 small{font-size:5.5px;color:#62858a;letter-spacing:.075em}
.therapy-dashboard-next-copy-v5527 strong{font-size:8.8px;line-height:1.15;color:#f0f8f8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px}
.therapy-dashboard-next-copy-v5527 span{font-size:6.2px;color:#7f9a9f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px}
.therapy-dashboard-next-extra-v5527{min-width:0;border-left:1px solid rgba(91,166,176,.10);padding-left:7px;display:grid;align-content:center}
.therapy-dashboard-next-extra-v5527 strong{font-size:7.8px;color:#a9d9ce;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
@media(max-width:1500px){.therapy-dashboard-main-v5527{grid-template-columns:62px minmax(0,1fr)}.therapy-dashboard-ring-v5527{width:58px;height:58px}.therapy-dashboard-ring-v5527 strong{font-size:13px}.therapy-dashboard-kpi-v5527{padding:3px 5px}.therapy-dashboard-kpi-v5527 strong{font-size:8.3px}.therapy-dashboard-footer-v5527{grid-template-columns:24px minmax(0,1fr) minmax(52px,.42fr);padding-left:5px;padding-right:5px}.therapy-dashboard-next-icon-v5527{width:22px;height:22px}.therapy-dashboard-next-copy-v5527 strong{font-size:8px}.therapy-dashboard-next-copy-v5527 span{font-size:5.8px}.therapy-dashboard-next-extra-v5527 strong{font-size:7px}}
