/* 1.6.1 information home. Scoped to the accepted workspace; login layout stays intact. */
.brand-mark img { display:block; width:100%; height:100%; border-radius:inherit; }
#home-brand::before { content:''; display:inline-block; width:30px; height:30px; margin-right:10px; vertical-align:-5px; background:url('/favicon.svg?v=1.7.4') center/contain no-repeat; }
#home-search-toggle { display:none; }
#workspace[data-page="overview"] #home-search-toggle { display:grid; place-items:center; width:44px; height:44px; padding:10px; border-radius:50%; background:#fff; border:1px solid #dce8f1; color:#58758e; }
#home-search-toggle svg { width:20px; height:20px; }
#workspace.modern-ui[data-page="overview"] { background:linear-gradient(110deg,#f2f7fb,#fff 62%); }
#workspace.modern-ui[data-page="overview"] > .sidebar { display:none; }
#workspace.modern-ui[data-page="overview"] .main-shell { margin-left:0; width:100%; }
#workspace.modern-ui[data-page="overview"] :is(.page-heading,main > footer,#navigation-toggle,.workspace-crumb) { display:none; }
#home-brand { display:none; }
#workspace.modern-ui[data-page="overview"] #home-brand { display:block; min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-size:24px; font-weight:600; color:#29425a; text-decoration:none; margin-right:auto; }
#workspace.modern-ui[data-page="overview"] .main-shell > .topbar { height:64px; flex-basis:64px; min-height:56px; padding-inline:clamp(12px,2.5vw,48px); background:#ffffff70; border-bottom:1px solid #dce8f16b; }
#workspace.modern-ui[data-page="overview"] .topbar .avatar { width:40px; height:40px; font-size:16px; }
#workspace.modern-ui[data-page="overview"] main { padding:0 clamp(10px,2.4vw,42px); }
#workspace.modern-ui[data-page="overview"] #content { overflow:hidden; padding:0; scrollbar-gutter:auto; }
#workspace.modern-ui #overview-board.home-board { position:relative; isolation:isolate; display:grid; grid-template-rows:minmax(110px,.7fr) minmax(0,2fr) 18px; gap:12px; height:100%; min-height:0; padding:10px 0 max(8px,env(safe-area-inset-bottom)); color:#29425a; }
#overview-board.home-board :is(button,a,input) { font-family:inherit; font-size:14px; touch-action:manipulation; }
#overview-board.home-board :is(button,a,input):focus-visible { outline:3px solid var(--ui-accent); outline-offset:2px; }
#overview-board [hidden] { display:none !important; }
.home-background { position:absolute; inset:0; z-index:-1; width:100%; height:100%; pointer-events:none; color:var(--ui-accent); }
.home-background path { fill:none; stroke:currentColor; stroke-width:.7; opacity:.16; }
.home-background path.home-packet { stroke-width:2; opacity:.45; stroke-dasharray:1 99; animation:home-transmit 16s linear infinite; }
.home-launchers { position:relative; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); min-height:0; gap:10px; z-index:3; }
#overview-board .home-launch { display:flex; flex-direction:column; justify-content:center; align-items:center; min-width:0; min-height:44px; border:0; padding:0 6px 8px; text-decoration:none; background:transparent; color:#29425a; border-radius:22px; position:relative; gap:3px; }
#overview-board .home-launch > span { font-size:18px; font-weight:600; flex-shrink:0; }
#overview-board .home-launch:hover, #overview-board .home-launch[aria-expanded="true"] { background:#e5f2ff69; }
.home-launch .home-illustration { --float-low:-4px; --float-high:-14px; --float-duration:5s; --float-delay:-.7s; position:relative; width:100%; height:100%; max-width:185px; max-height:150px; min-height:0; flex:1; overflow:visible; pointer-events:none; transition:transform .2s ease; }
.home-launch[data-launch="network"] .home-illustration { --float-duration:5.6s; --float-delay:-2.1s; }
.home-launch[data-launch="light"] .home-illustration { --float-duration:4.8s; --float-delay:-3.3s; }
.home-launch[data-launch="apps"] .home-illustration { --float-duration:5.3s; --float-delay:-1.5s; }
.home-launch[data-launch="settings"] .home-illustration { --float-duration:5.9s; --float-delay:-4.2s; }
.home-illustration .home-artwork { display:block; position:relative; width:100%; height:100%; overflow:visible; transform:translateY(var(--float-low)); transform-origin:50% 85%; animation:home-float var(--float-duration) ease-in-out var(--float-delay) infinite; }
.home-ground-shadow { display:block; position:absolute; width:48%; height:10px; bottom:7%; left:50%; border-radius:50%; background:radial-gradient(ellipse,#5c94be66,transparent 70%); opacity:.7; transform:translateX(-50%); transform-origin:center; animation:home-shadow var(--float-duration) ease-in-out var(--float-delay) infinite; }
.home-launch:focus-visible .home-illustration { transform:translateY(-3px) scale(1.035); }
@media(hover:hover) { .home-launch:hover .home-illustration { transform:translateY(-3px) scale(1.035); } }
.home-launch:active .home-illustration { transform:scale(.97); }
.home-connector { position:absolute; width:40%; height:65%; left:10%; top:9%; z-index:-1; pointer-events:none; }
.home-connector path { fill:none; stroke:#b2d7ef; stroke-width:1; }
.home-connector path.home-packet { stroke:#60b4e5; stroke-width:3; stroke-linecap:round; stroke-dasharray:1 30; animation:home-transmit 18s linear infinite; }
#home-lamp-state { font-size:11px; color:#6f8497; position:absolute; bottom:-7px; white-space:nowrap; }
[data-launch="light"] .home-light-art { filter:grayscale(1) brightness(.92); transition:filter .25s ease,opacity .25s ease; }
[data-launch="light"][data-state="on"] .home-light-art { filter:drop-shadow(0 0 6px #ffe49a80); }
[data-launch="light"][data-state="unknown"] .home-light-art { opacity:.55; }
[data-launch="light"][aria-busy="true"] { opacity:.65; }
.home-function-menu { position:absolute; top:100%; width:300px; max-width:100%; max-height:min(380px,65dvh); overflow:auto; overscroll-behavior:contain; border:1px solid #d3e4f0; border-radius:20px; padding:10px; background:#fff; box-shadow:0 12px 35px #23476825; z-index:6; }
.home-function-menu a,.home-search-results a { display:flex; align-items:center; gap:12px; min-height:44px; padding:10px 12px; border-radius:12px; color:#29425a; text-decoration:none; }
.home-function-menu a:hover,.home-search-results a:hover { background:#eaf4fc; }
.home-function-menu svg,.home-search-results svg { width:22px; height:22px; flex-shrink:0; color:var(--ui-accent); }
.home-function-menu a > span:last-child,.home-search-results a > span:last-child { margin-left:auto; }
.home-info-tabs { display:none; }
.home-information { display:grid; grid-template-columns:1.15fr 1fr 1.15fr; grid-template-rows:minmax(200px,1fr) minmax(130px,.63fr); gap:12px; min-height:0; }
#overview-board .home-information-panel { border:1px solid #dce8f1; border-radius:22px; background:#ffffffc9; padding:16px 20px; min-width:0; min-height:0; display:flex; flex-direction:column; gap:8px; }
.home-information-panel > header { display:flex; align-items:center; justify-content:space-between; gap:8px; flex-shrink:0; }
#overview-board .home-information-panel h3 { margin:0; font-size:18px; font-weight:600; }
.home-information-panel > header > span,.home-information-panel > header > a { font-size:12px; color:#6e8196; text-decoration:none; }
.home-information-panel > header > a { color:var(--ui-accent-text); }
.home-readings { display:flex; gap:24px; }
.home-reading { display:flex; flex-direction:column; gap:4px; min-width:0; }
.home-reading small { font-size:13px; color:#6e8196; }
.home-reading b { font-size:24px; line-height:1.2; font-weight:600; font-variant-numeric:tabular-nums; white-space:nowrap; }
.home-reading.cpu b { color:var(--ui-accent-text); }
.home-reading.memory b { color:#4e969f; }
.home-graph { flex:1; min-height:50px; display:flex; flex-direction:column; }
#overview-board .home-graph .chart { flex:1; width:100%; height:0; min-height:45px; }
#overview-board .home-graph .chart-axis { display:none; }
#overview-board .home-trend .home-line-0 { stroke:var(--ui-accent) !important; }
#overview-board .home-trend .home-line-1 { stroke:#4e969f !important; }
.home-disk-rates { display:flex; flex-wrap:wrap; justify-content:space-between; column-gap:10px; row-gap:3px; font-size:12px; border-top:1px solid #edf2f6; padding-top:7px; }
.home-disk-rates > span { color:#6e8196; }
.home-disk-rates b { font-weight:500; }
.home-capacity-track { height:7px; background:#dce6ee; border-radius:20px; overflow:hidden; margin-top:12px; }
.home-capacity-track i { display:block; height:100%; background:var(--ui-accent); border-radius:inherit; }
#overview-board .home-data-note { font-size:11px; line-height:1.4; color:#6e8196; margin:0; }
[data-home-values="storage"] > .home-data-note { margin-top:6px; }
.home-volume { display:flex; flex-direction:column; gap:4px; padding-top:8px; border-top:1px solid #edf2f6; font-size:14px; min-width:0; }
.home-volume > * { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.home-volume small { font-size:12px; color:#6e8196; }
#overview-board .home-page { display:flex; align-items:center; justify-content:flex-end; gap:8px; font-size:11px; margin-top:auto; }
#overview-board .home-page button { min-width:36px; min-height:32px; padding:0 8px; font-size:22px; border-radius:12px; border:1px solid #e2ebf4; color:var(--ui-accent-text); background:#fff; }
#overview-board button:disabled { opacity:.4; cursor:default; }
#overview-board .home-presence { grid-column:1/-1; gap:4px; }
.home-presence-groups { display:grid; grid-template-columns:1fr 1fr; gap:32px; flex:1; min-height:70px; }
.home-presence-groups > section { position:relative; min-width:0; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; column-gap:10px; }
#overview-board .home-presence-groups h4 { font-size:12px; color:#6e8196; font-weight:400; margin:0; grid-column:1/-1; }
#overview-board .presence-list { list-style:none; padding:0; margin:0; overflow:visible; max-height:none; min-width:0; }
#overview-board .presence-list li { display:flex; gap:8px; align-items:center; padding:0; border:0; }
#overview-board .presence-list li > div { min-width:0; }
#overview-board .presence-list b { display:block; font-size:14px; font-weight:500; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
#overview-board .presence-list small { display:block; font-size:11px; color:#6e8196; }
#overview-board .presence-avatar { display:grid; place-items:center; flex:0 0 30px; height:30px; background:var(--ui-soft); color:var(--ui-accent-text); border-radius:10px; }
.presence-empty { font-size:13px; color:#6e8196; }
.home-sample-note { font-size:11px; color:#7d92a4; margin:0; text-align:right; }
#overview-board.is-metrics-stale .home-information-panel:not(.home-presence) { opacity:.6; }
#workspace.modern-ui #home-detail-dialog { zoom:1; box-sizing:border-box; width:min(620px,calc((100vw - 24px) / var(--reading-scale,1))); height:min(560px,calc((100dvh - 24px) / var(--reading-scale,1))); max-width:calc((100vw - 24px) / var(--reading-scale,1)); max-height:calc((100dvh - 24px) / var(--reading-scale,1)); padding:18px; border:1px solid #d9e5ef; border-radius:22px; background:#f9fcff; color:#29425a; }
#home-detail-dialog[open] { display:flex; flex-direction:column; gap:12px; }
#home-detail-dialog::backdrop { background:#23314252; backdrop-filter:blur(4px); }
.home-dialog-head { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-shrink:0; }
#home-detail-dialog h2 { margin:0; font-size:22px; }
#home-detail-dialog [data-home-close] { width:44px; height:44px; border:0; border-radius:50%; background:#eaf2fa; font-size:26px; color:#29425a; }
.home-dialog-content { flex:1; min-height:0; overflow:auto; overscroll-behavior:contain; padding:3px; }
.home-search-results { display:grid; gap:5px; margin-top:12px; }
.home-search-results a { background:#fff; border:1px solid #e2ebf4; }
.home-search-hint { font-size:12px; color:#6e8196; }
#home-search-input { width:100%; min-height:44px; }
#workspace.modern-ui #overview-board[data-compact="true"] { grid-template-rows:minmax(80px,.45fr) 44px minmax(0,1.5fr) 18px; gap:10px; }
#overview-board[data-compact="true"] .home-info-tabs { display:grid; grid-template-columns:repeat(4,1fr); padding:3px; border-radius:22px; background:#fff; border:1px solid #dce8f1; }
#overview-board .home-info-tabs button { min-height:36px; padding:4px; border:0; border-radius:20px; color:#61758a; background:transparent; }
#overview-board .home-info-tabs [aria-selected="true"] { color:var(--ui-accent-text); background:var(--ui-soft); font-weight:600; }
#overview-board[data-compact="true"] .home-information { grid-template-columns:1fr; grid-template-rows:minmax(0,1fr); }
#overview-board[data-compact="true"] .home-launchers { gap:0; }
#overview-board[data-compact="true"] .home-launch > span { font-size:14px; }
#overview-board[data-compact="true"] .home-launch { padding-inline:0; border-radius:12px; }
#overview-board[data-compact="true"] .home-illustration { max-height:100px; --float-low:-3px; --float-high:-9px; }
#overview-board[data-compact="true"] .home-information-panel { padding:16px; }
#overview-board[data-compact="true"] .home-presence-groups { grid-template-columns:1fr; grid-template-rows:1fr 1fr; gap:12px; }
#overview-board[data-compact="true"] .home-presence-groups h4 { font-size:14px; }
#overview-board[data-compact="true"] .home-page button { min-height:44px; min-width:44px; }
#overview-board[data-compact="true"] .home-volume { margin-top:auto; }
#workspace.modern-ui #overview-board[data-short="true"] { grid-template-rows:76px 40px minmax(0,1fr) 16px; gap:6px; padding-block:6px; }
#overview-board[data-short="true"] .home-illustration { max-height:52px; }
#overview-board[data-short="true"] .home-information-panel { gap:6px; padding:12px 16px; }
#overview-board[data-short="true"] .home-presence { gap:3px; }
#overview-board[data-short="true"] .home-presence-groups { gap:4px; }
#workspace.modern-ui #overview-board[data-tiny="true"] { grid-template-rows:48px 40px minmax(0,1fr) 14px; gap:4px; padding-block:2px; }
#overview-board[data-tiny="true"] .home-launch { flex-direction:row; gap:3px; padding:0; }
#overview-board[data-tiny="true"] .home-illustration { max-width:40px; height:40px; flex:none; --float-low:-2px; --float-high:-6px; }
#overview-board[data-tiny="true"] #home-lamp-state { display:none; }
#overview-board[data-tiny="true"] .home-information-panel { padding:8px 12px; gap:3px; }
#overview-board[data-tiny="true"] .home-presence-groups { grid-template-columns:1fr 1fr; grid-template-rows:1fr; gap:14px; }
#overview-board[data-tiny="true"] .home-volume { flex-direction:row; flex-wrap:wrap; gap:8px; margin:0; }
#overview-board[data-tiny="true"] .home-volume small { width:100%; }
#overview-board[data-tiny="true"] .home-reading b { font-size:24px; }
#overview-board[data-tiny="true"] #home-panel-storage { display:grid; grid-template-columns:1fr 1fr; grid-template-rows:auto minmax(0,1fr) 44px; column-gap:20px; }
#overview-board[data-tiny="true"] #home-panel-storage > header,#overview-board[data-tiny="true"] #home-panel-storage > .home-page { grid-column:1/-1; }
@media(max-width:600px) {
 #workspace.modern-ui[data-page="overview"] .main-shell > .topbar { height:56px; flex-basis:56px; gap:8px; }
 #workspace.modern-ui[data-page="overview"] #home-brand { font-size:20px; }
 #home-brand::before { width:26px; height:26px; margin-right:6px; }
 #workspace.modern-ui[data-page="overview"] .topbar .top-actions { gap:6px; }
}
@keyframes home-float { 0%,100% { transform:translateY(var(--float-low)) rotate(-.6deg); } 50% { transform:translateY(var(--float-high)) rotate(.6deg); } }
@keyframes home-shadow { 0%,100% { transform:translateX(-50%) scaleX(1); opacity:.7; } 50% { transform:translateX(-50%) scaleX(.72); opacity:.35; } }
@keyframes home-transmit { to { stroke-dashoffset:-100; } }
#overview-board[data-hidden="true"] * { animation-play-state:paused !important; }
/* The requested gentle icon float is kept on this homepage only; other motion respects the preference. */
@media(prefers-reduced-motion:reduce) {
 #overview-board *:not(.home-artwork):not(.home-ground-shadow),#overview-board *::after { animation:none !important; transition:none !important; }
 #overview-board .home-illustration { transition:none !important; }
}
