/* Domovská stránka. Veškeré přepisy sdíleného vzhledu jsou omezené na #nyxHome. */
#nyxHome { --home-panel: color-mix(in srgb, var(--sol-quart) 75%, var(--sol-base)); --home-muted: var(--tx-2); margin:0; min-height:100vh; display:flex; flex-direction:column; color:var(--tx-1); }
#nyxHome *, #nyxHome *::before, #nyxHome *::after { box-sizing:border-box; }
#nyxHome [hidden] { display:none !important; }
#nyxHome .nyx-app-launcher, #nyxHome > .nyx-ucet { display:none !important; }
#nyxHome a { -webkit-tap-highlight-color:transparent; }
#nyxHome button, #nyxHome input { font:inherit; }
#nyxHome button { cursor:pointer; }
#nyxHome :is(a,button,input):focus-visible { outline:2px solid var(--acc); outline-offset:4px; }
#nyxHome .home-skip { position:fixed; z-index:100; top:8px; left:12px; transform:translateY(-160%); background:var(--sol-quart); color:var(--tx-1); padding:12px 18px; border-radius:8px; }
#nyxHome .home-skip:focus { transform:none; }
#nyxHome .home-header { position:relative; min-height:80px; padding:0 max(32px, calc((100vw - 1240px)/2)) !important; border-bottom:1px solid var(--stroke); background:transparent; gap:20px; }
#nyxHome .home-brand { display:flex; align-items:center; gap:11px; color:var(--tx-1); text-decoration:none; flex-shrink:0; }
#nyxHome .home-brand img { width:32px; height:32px; object-fit:contain; }
#nyxHome .home-brand b { font-size:22px; font-weight:650; letter-spacing:-.8px !important; }
#nyxHome .home-brand b span { color:var(--acc); }
#nyxHome .home-nav { display:flex; align-items:center; gap:10px; }
#nyxHome .home-nav-link { font-size:13px; text-decoration:none; color:var(--tx-2); padding:12px; }
#nyxHome .home-nav-divider { height:20px; width:1px; background:var(--stroke-strong); margin:0 8px; }
#nyxHome :is(.home-icon-button,.home-language) { display:grid; place-items:center; width:40px; min-height:40px; padding:0; border:0; border-radius:9px; background:transparent; color:var(--tx-2); font-size:12px; font-weight:600; }
#nyxHome :is(.home-icon-button,.home-language):hover { background:var(--ctrl-hover); color:var(--tx-1); }
#nyxHome .home-icon-button svg, #nyxHome .home-search svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; }
#nyxHome .home-account { display:flex; gap:18px; align-items:center; justify-content:center; min-height:40px; max-width:240px; padding:9px 15px; margin-left:8px; border:1px solid var(--stroke-strong); border-radius:9px; background:var(--ctrl); color:var(--tx-1); text-decoration:none; font-size:13px; overflow-wrap:anywhere; }
#nyxHome .home-account:hover { border-color:var(--acc); }
/* Výběr barvy. Paleta i vzhled jsou stejné jako v liště aplikací, jen tady
   má každý motiv rovnou gradient — na domovské stránce se jím kreslí pruh
   Cloudu, takže je vidět, co se vybírá. */
#nyxHome .home-palette { position:relative; display:flex; }
#nyxHome #homePaletteBtn[aria-expanded="true"] { background:var(--ctrl-hover); color:var(--tx-1); }
#nyxHome .home-palette-pop { position:absolute; top:calc(100% + 6px); right:0; z-index:60; width:290px; max-height:calc(100dvh - 100px); overflow-y:auto; padding:10px; display:grid; gap:4px; border:1px solid var(--stroke-2); border-radius:var(--r-overlay); background:var(--sol-quart); box-shadow:var(--el-flyout); backdrop-filter:blur(28px) saturate(1.4); -webkit-backdrop-filter:blur(28px) saturate(1.4); animation:expFlyoutIn var(--d-base) var(--e-apple); transform-origin:top right; }
#nyxHome .home-swatch { display:flex; align-items:center; gap:9px; min-height:40px; padding:6px 8px; border:1px solid transparent; border-radius:8px; background:transparent; color:var(--tx-2); font-size:12px; text-align:left; }
#nyxHome .home-swatch:hover { background:var(--subtle-hover); color:var(--tx-1); }
#nyxHome .home-swatch[aria-pressed="true"] { background:var(--ctrl-hover); border-color:rgba(var(--acc-rgb),.4); color:var(--tx-1); }
#nyxHome .home-swatch i { width:26px; height:26px; flex-shrink:0; border-radius:7px; box-shadow:inset 0 0 0 1px rgba(255,255,255,.16); background:linear-gradient(140deg,color-mix(in srgb,var(--chip) 72%,#ffffff),var(--chip) 52%,color-mix(in srgb,var(--chip) 58%,#000000)); }
#nyxHome .home-palette-heading { padding:5px 8px; color:var(--tx-2); font-size:11px; font-weight:600; }
#nyxHome .home-palette-divider { border-top:1px solid var(--stroke-2); margin-top:6px; padding-top:12px; }
#nyxHome .home-palette-themes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px; }
#nyxHome .home-palette-accents { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:4px; padding:2px; }
#nyxHome .home-accent { display:grid; place-items:center; min-height:38px; padding:5px; border:1px solid transparent; border-radius:8px; background:transparent; }
#nyxHome .home-accent:hover { background:var(--subtle-hover); }
#nyxHome .home-accent[aria-pressed="true"] { border-color:var(--tx-1); background:var(--ctrl-hover); }
#nyxHome .home-accent i { display:block; width:24px; height:24px; border-radius:6px; box-shadow:inset 0 0 0 1px rgba(128,128,128,.3); }
#nyxHome .home-accent-default { background:repeating-conic-gradient(#999 0 25%,#eee 0 50%) 0 / 8px 8px; }
#nyxHome .home-palette-custom { display:flex; align-items:center; gap:9px; margin-top:4px; padding:6px 8px; border:1px solid transparent; border-radius:8px; color:var(--tx-2); font-size:12px; cursor:pointer; }
#nyxHome .home-palette-custom.is-custom { border-color:var(--stroke-strong); background:var(--ctrl-hover); color:var(--tx-1); }
#nyxHome #homePaletteCustom { width:28px; height:28px; padding:0; border:0; background:transparent; cursor:pointer; }
@media (max-width:480px) {
  #nyxHome .home-palette-pop { position:fixed; top:74px; left:12px; right:12px; width:auto; }
}
html body#nyxHome .home-main { flex:1; width:100%; max-width:1304px !important; margin:0 auto !important; padding:56px 32px 60px !important; background:transparent; animation:none; }
#nyxHome .home-intro { display:flex; justify-content:space-between; gap:32px; align-items:center; margin-bottom:36px; }
#nyxHome .home-eyebrow { margin:0 0 15px; display:flex; align-items:center; gap:8px; font-size:12px; font-weight:500; color:var(--tx-2); }
#nyxHome .home-dot { width:6px; height:6px; border-radius:50%; background:var(--acc); box-shadow:0 0 0 4px rgba(var(--acc-rgb),.08); }
#nyxHome h1 { margin:0; font-size:clamp(32px,3.5vw,46px); font-weight:600; letter-spacing:-1.7px !important; line-height:1.12; }
#nyxHome .home-subtitle { margin:14px 0 0; font-size:15px; line-height:1.5; color:var(--tx-2); }
#nyxHome .home-search-wrap { width:350px; flex-shrink:0; padding-top:22px; }
#nyxHome .home-search { display:flex; align-items:center; gap:12px; border:1px solid var(--stroke-strong); border-radius:12px; padding:0 14px; height:50px; background:var(--home-panel); color:var(--tx-3); transition:border-color .15s,box-shadow .15s; }
#nyxHome .home-search:focus-within { border-color:var(--acc); box-shadow:0 0 0 3px rgba(var(--acc-rgb),.08); }
#nyxHome .home-search input, #nyxHome .home-search input:hover, #nyxHome .home-search input:focus { width:100%; min-width:0; border:0 !important; border-radius:0 !important; background:transparent !important; padding:0; color:var(--tx-1); box-shadow:none; outline:none; height:100%; font-size:13px !important; }
#nyxHome .home-search input::placeholder { color:var(--tx-3); }
#nyxHome .home-search svg { flex-shrink:0; }
#nyxHome .home-search kbd { border:1px solid var(--stroke-strong); padding:0 6px; border-radius:4px; font-size:12px; }
#nyxHome .home-search-hint { margin:9px 2px 0; color:var(--tx-3); font-size:11px; }
#nyxHome .home-library { scroll-margin-top:24px; }
#nyxHome .home-section-heading { display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin-bottom:20px; }
#nyxHome .home-section-heading h2 { margin:0; font-size:20px; font-weight:600; letter-spacing:-.5px !important; }
#nyxHome .home-section-note { font-size:12px; color:var(--tx-3); }
#nyxHome .home-results { display:flex; justify-content:flex-end; margin-bottom:12px; }
#nyxHome .home-result-count { white-space:nowrap; color:var(--tx-3); font-size:11px; }
#nyxHome .home-app-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
#nyxHome .home-app { position:relative; display:flex; min-width:0; border:1px solid var(--stroke); border-radius:12px; background:var(--home-panel); transition:background .15s,border-color .15s,transform .15s; }
#nyxHome .home-app:hover, #nyxHome .home-app:focus-within { border-color:var(--stroke-strong); background:var(--sol-quart); transform:translateY(-2px); }
#nyxHome .home-app-link { display:flex; align-items:center; width:100%; min-height:100px; padding:18px 36px 18px 16px; gap:13px; color:var(--tx-1); text-decoration:none; border-radius:12px; }
#nyxHome .home-app-icon { display:grid; place-items:center; width:44px; height:44px; flex:0 0 44px; background:color-mix(in srgb,var(--app-color) 9%,transparent); border:1px solid color-mix(in srgb,var(--app-color) 12%,transparent); border-radius:12px; --cyan:var(--app-color); --magenta:var(--app-color); --green:var(--app-color); }
#nyxHome .home-app-icon svg { width:30px; height:30px; overflow:visible; }
#nyxHome .home-app-icon img { width:28px; height:28px; object-fit:contain; }
#nyxHome .home-app-icon * { animation:none !important; }
#nyxHome .home-app-icon .s1, #nyxHome .home-app-icon .s2 { fill:none; stroke:var(--app-color); stroke-width:3.5; stroke-linecap:round; stroke-linejoin:round; }
#nyxHome .home-app-icon .s2f { fill:var(--app-color); }
#nyxHome .home-app-text { min-width:0; }
#nyxHome .home-app-text b { font-size:13px; font-weight:600; display:block; }
#nyxHome .home-app-text small { display:block; color:var(--tx-3); font-size:11px; line-height:1.45; margin-top:5px; }
#nyxHome .home-favorite { position:absolute; top:5px; right:5px; width:30px; height:30px; min-height:30px; display:grid; place-items:center; padding:0; border:0; border-radius:7px; background:transparent; color:var(--tx-3); opacity:0; transition:opacity .15s,color .15s; }
#nyxHome .home-app:hover .home-favorite, #nyxHome .home-app:focus-within .home-favorite, #nyxHome .home-favorite[aria-pressed="true"] { opacity:1; }
#nyxHome .home-favorite:hover { background:var(--ctrl-hover); color:var(--tx-1); }
#nyxHome .home-favorite svg { width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:1.6; }
#nyxHome .home-favorite[aria-pressed="true"] { color:var(--acc); }
#nyxHome .home-favorite[aria-pressed="true"] svg { fill:currentColor; }
#nyxHome .home-empty { text-align:center; padding:44px 20px; background:var(--home-panel); border:1px dashed var(--stroke-strong); border-radius:12px; }
#nyxHome .home-empty-icon { font-size:32px; color:var(--tx-3); }
#nyxHome .home-empty h3 { font-size:18px; margin:6px 0; }
#nyxHome .home-empty p { font-size:13px; color:var(--tx-2); margin:8px 0 20px; }
#nyxHome .home-empty button { border:1px solid var(--stroke-strong); background:var(--ctrl); color:var(--tx-1); padding:10px 16px; min-height:44px; border-radius:8px; }
html body#nyxHome .home-footer { display:flex; align-items:center; justify-content:space-between; gap:20px; width:calc(100% - 64px); max-width:1240px; padding:24px 0 32px !important; margin:0 auto; font-size:11px; color:var(--tx-3); border-top:1px solid var(--stroke); }
#nyxHome .home-footer>span { display:flex; align-items:center; gap:16px; }
#nyxHome .home-footer b { color:var(--tx-2); font-size:13px; }
#nyxHome .home-footer a { color:var(--tx-2); text-decoration:none; padding:8px 0; }
#nyxHome .home-footer a:hover { color:var(--acc); }
#nyxHome .home-footer nav { display:flex; align-items:center; flex-wrap:wrap; gap:8px 24px; }
#nyxHome .home-fallback { display:flex; flex-wrap:wrap; gap:16px; }
html[data-mode="light"] #nyxHome { --home-panel:#fff; }
html[data-mode="light"] #nyxHome .home-app-icon { --app-color:var(--app-light); }
@media (max-width:1100px) {
  #nyxHome .home-app-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:800px) {
  #nyxHome .home-header { padding:0 24px !important; min-height:72px; }
  html body#nyxHome .home-main { padding:36px 24px 40px !important; }
  #nyxHome .home-intro { align-items:flex-start; flex-direction:column; gap:24px; margin-bottom:26px; }
  #nyxHome .home-search-wrap { width:100%; padding:0; }
  #nyxHome .home-search-hint { display:none; }
  #nyxHome .home-app-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #nyxHome .home-result-count { display:none; }
  #nyxHome .home-section-heading { align-items:flex-start; flex-direction:column; gap:7px; margin-bottom:16px; }
  html body#nyxHome .home-footer { width:calc(100% - 48px); }
}
@media (pointer:coarse), (max-width:800px) {
  #nyxHome .home-favorite { opacity:1; width:44px; height:44px; min-height:44px; top:0; right:0; }
  #nyxHome .home-app-link { padding-right:43px; }
  #nyxHome :is(.home-icon-button,.home-language,.home-account) { min-height:44px; }
  #nyxHome .home-search input, #nyxHome .home-search input:hover, #nyxHome .home-search input:focus { font-size:16px !important; }
}
@media (max-width:480px) {
  #nyxHome .home-header { padding:0 18px !important; gap:8px; min-height:68px; }
  #nyxHome .home-brand { gap:7px; }
  #nyxHome .home-brand img { width:25px; height:25px; }
  #nyxHome .home-brand b { font-size:19px; }
  #nyxHome .home-nav { gap:2px; }
  #nyxHome .home-nav-link, #nyxHome .home-nav-divider { display:none; }
  #nyxHome .home-language, #nyxHome .home-icon-button { width:44px; }
  #nyxHome .home-account { max-width:100px; font-size:11px; padding:8px 10px; margin-left:3px; gap:5px; }
  html body#nyxHome .home-main { padding:30px 18px 36px !important; }
  #nyxHome h1 { font-size:34px; letter-spacing:-1.2px !important; }
  #nyxHome .home-subtitle { font-size:13px; }
  #nyxHome .home-kicker { font-size:10px; }
  #nyxHome .home-app-grid { gap:8px; }
  #nyxHome .home-app-link { flex-direction:column; align-items:flex-start; gap:12px; min-height:145px; padding:16px 12px; }
  #nyxHome .home-app-text b { font-size:13px; }
  #nyxHome .home-app-text small { font-size:11px; }
  html body#nyxHome .home-footer { width:calc(100% - 36px); align-items:flex-start; flex-direction:column; gap:5px; padding:20px 0 26px !important; }
}
@media (prefers-reduced-motion:reduce) {
  #nyxHome *, #nyxHome *::before, #nyxHome *::after { animation:none !important; transition:none !important; scroll-behavior:auto; }
}

/* Cloud dashboard: skutečná data uživatele, nezávislé stavy načítání. */
html body#nyxHome .home-main { padding-top:38px !important; }
#nyxHome .home-intro { margin-bottom:27px; }
#nyxHome h1 { font-size:clamp(30px,3vw,39px); }
#nyxHome .dash-date { color:var(--tx-3); font-size:12px; align-self:flex-end; padding-bottom:4px; text-align:right; }
#nyxHome .dash-overview { --dash-ink:color-mix(in srgb,var(--acc) 18%,#ffffff); --dash-ink-2:color-mix(in srgb,var(--acc) 26%,#c3ccd2); --dash-glass:rgba(var(--acc-rgb),.10); display:flex; align-items:center; gap:28px; padding:27px 30px; margin-bottom:20px; border-radius:16px; background:radial-gradient(ellipse at 0% 0%,rgba(var(--acc-rgb),.20),transparent 70%),linear-gradient(100deg,color-mix(in srgb,var(--acc) 15%,#151b21),color-mix(in srgb,var(--acc) 5%,#1b2024)); border:1px solid rgba(var(--acc-rgb),.32); color:var(--dash-ink); }
#nyxHome .dash-cloud-heading { display:flex; align-items:center; gap:14px; min-width:220px; }
#nyxHome .dash-cloud-icon { display:grid; place-items:center; width:49px; height:49px; border:1px solid rgba(var(--acc-rgb),.22); background:rgba(var(--acc-rgb),.08); border-radius:14px; color:color-mix(in srgb,var(--acc) 62%,#ffffff); }
#nyxHome .dash-cloud-icon svg { width:28px; height:28px; fill:none; stroke:currentColor; stroke-width:1.4; }
#nyxHome .dash-eyebrow { font-size:10px; color:var(--dash-ink-2); }
#nyxHome .dash-cloud-heading h2 { color:inherit; font-size:22px; font-weight:600; margin:2px 0 0; letter-spacing:-.5px !important; }
#nyxHome .dash-totals { display:flex; align-items:center; gap:36px; margin-left:auto; }
#nyxHome .dash-totals>div { display:flex; flex-direction:column; gap:3px; min-width:55px; }
#nyxHome .dash-totals b { font-size:23px; font-weight:600; font-variant-numeric:tabular-nums; line-height:1.2; }
#nyxHome .dash-totals span { font-size:10px; color:var(--dash-ink-2); }
#nyxHome .dash-open { display:flex; justify-content:center; align-items:center; gap:20px; padding:12px 16px; min-height:44px; border-radius:8px; border:1px solid rgba(var(--acc-rgb),.30); background:var(--dash-glass); color:var(--dash-ink); text-decoration:none; font-size:12px; white-space:nowrap; }
#nyxHome .dash-open:hover { background:rgba(var(--acc-rgb),.19); border-color:rgba(var(--acc-rgb),.55); }
#nyxHome .dash-workspace { display:grid; grid-template-columns:minmax(0,2.15fr) minmax(275px,1fr); gap:20px; margin-bottom:30px; }
#nyxHome .dash-panel { border:1px solid var(--stroke-2); border-radius:14px; background:var(--home-panel); min-width:0; overflow:hidden; }
#nyxHome .dash-panel-head { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:23px 24px 16px; }
#nyxHome .dash-panel-head h2 { font-size:17px; font-weight:600; margin:0; letter-spacing:-.3px !important; }
#nyxHome .dash-panel-head p { font-size:11px; color:var(--tx-3); line-height:1.5; margin:6px 0 0; }
#nyxHome #dashRefresh { flex-shrink:0; }
#nyxHome #dashRefresh:disabled { opacity:.35; cursor:wait; }
#nyxHome .dash-file-tabs { display:flex; gap:18px; padding:0 24px; border-bottom:1px solid var(--stroke); }
#nyxHome .dash-file-tabs button { background:none; border:0; border-bottom:2px solid transparent; padding:10px 0 12px; min-height:42px; font-size:11px; color:var(--tx-3); }
#nyxHome .dash-file-tabs button[aria-pressed="true"] { border-bottom-color:var(--acc); color:var(--tx-1); }
#nyxHome .dash-file-tabs button:hover { color:var(--tx-1); }
#nyxHome .dash-files { padding:4px 12px; }
#nyxHome .dash-file { display:grid; grid-template-columns:36px minmax(0,1fr) 112px 65px 12px; gap:12px; align-items:center; padding:12px; min-height:65px; border-radius:8px; text-decoration:none; color:var(--tx-1); }
#nyxHome .dash-file:hover { background:var(--ctrl-hover); }
#nyxHome .dash-file+.dash-file { border-top:1px solid var(--stroke); border-top-left-radius:0; border-top-right-radius:0; }
#nyxHome .dash-file-icon { display:grid; place-items:center; width:36px; height:40px; border-radius:8px; background:color-mix(in srgb,var(--file-color) 10%,transparent); color:var(--file-color); }
#nyxHome .dash-file-icon svg { width:21px; height:23px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
#nyxHome .dash-file-name { min-width:0; }
#nyxHome .dash-file-name b { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; font-weight:500; }
#nyxHome .dash-file-name small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--tx-3); font-size:10px; margin-top:4px; }
#nyxHome .dash-file-time { color:var(--tx-2); font-size:10px; white-space:nowrap; }
#nyxHome .dash-file-time small { display:block; margin-top:4px; font-size:9px; color:var(--tx-3); }
#nyxHome .dash-file-size { text-align:right; font-size:10px; color:var(--tx-3); font-variant-numeric:tabular-nums; white-space:nowrap; }
#nyxHome .dash-file-arrow { font-size:14px; color:var(--tx-3); opacity:0; }
#nyxHome .dash-file:hover .dash-file-arrow, #nyxHome .dash-file:focus .dash-file-arrow { opacity:1; }
#nyxHome .dash-recent { display:flex; flex-direction:column; }
#nyxHome .dash-panel-foot { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-top:auto; padding:14px 24px; border-top:1px solid var(--stroke); font-size:10px; color:var(--tx-3); min-height:50px; }
#nyxHome .dash-panel-foot a { color:var(--acc); text-decoration:none; padding:6px 0; }
#nyxHome .dash-storage-mark { font-size:24px; color:var(--tx-3); }
#nyxHome .dash-donut { width:158px; height:158px; margin:7px auto 20px; border-radius:50%; display:grid; place-items:center; background:var(--storage-gradient,var(--stroke-strong)); transform:rotate(-90deg); }
#nyxHome .dash-donut>div { width:132px; height:132px; border-radius:50%; background:var(--home-panel); display:flex; flex-direction:column; align-items:center; justify-content:center; transform:rotate(90deg); }
#nyxHome .dash-donut b { font-size:25px; font-weight:600; letter-spacing:-.7px !important; }
#nyxHome .dash-donut span { font-size:10px; color:var(--tx-3); margin-top:3px; }
#nyxHome .dash-legend { padding:0 24px; display:grid; gap:11px; }
#nyxHome .dash-legend-row { display:flex; align-items:center; gap:9px; font-size:11px; color:var(--tx-2); }
#nyxHome .dash-legend-dot { width:7px; height:7px; border-radius:2px; flex-shrink:0; }
#nyxHome .dash-legend-row b { margin-left:auto; font-size:10px; color:var(--tx-3); font-weight:400; font-variant-numeric:tabular-nums; }
#nyxHome .dash-storage-note { font-size:10px; color:var(--tx-3); line-height:1.6; padding:0 24px; margin:19px 0 22px; }
#nyxHome .dash-message { display:flex; flex:1; min-height:310px; flex-direction:column; align-items:center; justify-content:center; padding:28px 32px; text-align:center; }
#nyxHome .dash-message-icon { display:grid; place-items:center; width:60px; height:60px; background:rgba(var(--acc-rgb),.06); border:1px solid rgba(var(--acc-rgb),.12); border-radius:18px; color:var(--acc); margin-bottom:14px; }
#nyxHome .dash-message-icon svg { width:28px; height:28px; fill:none; stroke:currentColor; stroke-width:1.1; }
#nyxHome .dash-message h3 { font-size:17px; margin:0; font-weight:500; }
#nyxHome .dash-message p { font-size:12px; line-height:1.6; color:var(--tx-3); max-width:330px; margin:9px 0 18px; }
#nyxHome .dash-message-action { min-height:42px; padding:11px 16px; background:rgba(var(--acc-rgb),.09); border:1px solid rgba(var(--acc-rgb),.2); border-radius:8px; color:var(--acc); text-decoration:none; font-size:12px; }
#nyxHome .dash-folders-section { margin:0 0 34px; }
#nyxHome .dash-folders-section .home-section-heading h2 { font-size:16px; }
#nyxHome .dash-folders-section .home-section-heading { margin-bottom:14px; }
#nyxHome .dash-folders { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
#nyxHome .dash-folder-link { display:flex; gap:11px; align-items:center; min-width:0; background:var(--home-panel); border:1px solid var(--stroke); border-radius:10px; padding:16px; color:var(--tx-1); text-decoration:none; }
#nyxHome .dash-folder-link:hover { border-color:var(--stroke-strong); background:var(--sol-quart); }
#nyxHome .dash-folder-link svg { width:27px; height:25px; color:#cbaa6b; fill:currentColor; flex-shrink:0; }
#nyxHome .dash-folder-link>span { min-width:0; }
#nyxHome .dash-folder-link b { display:block; font-size:12px; font-weight:500; white-space:nowrap; text-overflow:ellipsis; overflow:hidden; }
#nyxHome .dash-folder-link small { display:block; font-size:10px; color:var(--tx-3); margin-top:3px; }
#nyxHome .home-library { padding-top:29px; border-top:1px solid var(--stroke); }
#nyxHome .home-section-heading .home-search-wrap { padding:0; width:280px; }
#nyxHome .home-library .home-search { height:42px; border-radius:9px; }
#nyxHome .home-library .home-search-hint { display:none; }
#nyxHome .home-section-heading h2 { font-size:18px; }
#nyxHome .home-section-heading .home-section-note { display:block; margin-top:5px; font-size:11px; }
#nyxHome .home-app-link { min-height:87px; }
html[data-mode="light"] #nyxHome .dash-overview { --dash-ink:color-mix(in srgb,var(--acc) 88%,#000000); --dash-ink-2:color-mix(in srgb,var(--acc) 72%,#3e4a52); --dash-glass:rgba(255,255,255,.46); background:radial-gradient(ellipse at 0% 0%,rgba(var(--acc-rgb),.16),transparent 70%),linear-gradient(100deg,color-mix(in srgb,var(--acc) 11%,#ffffff),color-mix(in srgb,var(--acc) 4%,#ffffff)); border-color:rgba(var(--acc-rgb),.26); }
html[data-mode="light"] #nyxHome .dash-cloud-icon { color:var(--acc); background:rgba(255,255,255,.42); border-color:rgba(var(--acc-rgb),.24); }
html[data-mode="light"] #nyxHome .dash-open { background:var(--dash-glass); border-color:rgba(var(--acc-rgb),.30); }
html[data-mode="light"] #nyxHome .dash-open:hover { background:rgba(255,255,255,.74); border-color:rgba(var(--acc-rgb),.50); }
@media (max-width:1100px) {
  #nyxHome .dash-overview { padding:24px; gap:22px; }
  #nyxHome .dash-cloud-heading { min-width:180px; }
  #nyxHome .dash-totals { gap:22px; }
  #nyxHome .dash-file { grid-template-columns:36px minmax(0,1fr) 92px 54px; gap:10px; }
  #nyxHome .dash-file-arrow { display:none; }
}
@media (max-width:800px) {
  #nyxHome .home-intro { flex-direction:row; align-items:center; }
  #nyxHome .dash-date { display:none; }
  #nyxHome .dash-overview { flex-wrap:wrap; justify-content:space-between; gap:24px; }
  #nyxHome .dash-totals { order:3; width:100%; margin:0; justify-content:space-between; padding-top:20px; border-top:1px solid #9ac9df22; }
  #nyxHome .dash-workspace { grid-template-columns:minmax(0,1fr); gap:16px; }
  #nyxHome .dash-storage { display:grid; grid-template-columns:180px minmax(0,1fr); padding-bottom:18px; }
  #nyxHome .dash-storage .dash-panel-head { grid-column:1/-1; }
  #nyxHome .dash-donut { grid-column:1; grid-row:2/4; width:140px; height:140px; margin:5px auto 0; }
  #nyxHome .dash-donut>div { width:116px; height:116px; }
  #nyxHome .dash-donut b { font-size:21px; }
  #nyxHome .dash-legend { padding:4px 24px 0 0; gap:9px; }
  #nyxHome .dash-storage-note { grid-column:2; padding:0 24px 0 0; margin:14px 0 0; }
  #nyxHome .dash-folders { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #nyxHome .home-section-heading .home-search-wrap { width:100%; margin-top:12px; }
  #nyxHome .home-section-heading { gap:0; }
}
@media (max-width:480px) {
  html body#nyxHome .home-main { padding-top:27px !important; }
  #nyxHome h1 { font-size:31px; }
  #nyxHome .home-intro { margin-bottom:24px; }
  #nyxHome .dash-overview { padding:19px; gap:15px; }
  #nyxHome .dash-cloud-heading { min-width:0; gap:10px; }
  #nyxHome .dash-cloud-heading h2 { font-size:19px; }
  #nyxHome .dash-cloud-icon { width:40px; height:40px; border-radius:11px; }
  #nyxHome .dash-open { width:100%; order:4; margin-top:0; }
  #nyxHome .dash-totals { padding:17px 0 6px; gap:12px; }
  #nyxHome .dash-totals b { font-size:21px; }
  #nyxHome .dash-totals span { font-size:9px; }
  #nyxHome .dash-panel-head { padding:20px 17px 12px; }
  #nyxHome .dash-panel-head p { font-size:10px; }
  #nyxHome .dash-file-tabs { padding:0 17px; gap:16px; }
  #nyxHome .dash-file-tabs button { min-height:44px; font-size:10px; }
  #nyxHome .dash-files { padding:4px 7px; }
  #nyxHome .dash-file { padding:12px 9px; grid-template-columns:32px minmax(0,1fr) 65px; gap:9px; }
  #nyxHome .dash-file-icon { width:32px; height:36px; }
  #nyxHome .dash-file-time { font-size:9px; white-space:normal; text-align:right; }
  #nyxHome .dash-file-time small { font-size:8px; }
  #nyxHome .dash-file-size { display:none; }
  #nyxHome .dash-file-name b { font-size:11px; }
  #nyxHome .dash-file-name small { font-size:9px; }
  #nyxHome .dash-panel-foot { padding:10px 17px; font-size:9px; }
  #nyxHome .dash-message { min-height:270px; padding:24px; }
  #nyxHome .dash-message h3 { font-size:16px; }
  #nyxHome .dash-message p { font-size:11px; }
  #nyxHome .dash-storage { grid-template-columns:125px minmax(0,1fr); }
  #nyxHome .dash-donut { width:105px; height:105px; margin-top:12px; }
  #nyxHome .dash-donut>div { width:87px; height:87px; }
  #nyxHome .dash-donut b { font-size:18px; }
  #nyxHome .dash-donut span { font-size:8px; }
  #nyxHome .dash-legend { padding-right:17px; }
  #nyxHome .dash-legend-row { font-size:10px; gap:6px; }
  #nyxHome .dash-legend-row b { font-size:9px; }
  #nyxHome .dash-storage-note { grid-column:1/-1; padding:0 17px; margin-top:16px; font-size:9px; }
  #nyxHome .dash-folder-link { padding:13px 10px; gap:8px; }
  #nyxHome .dash-folder-link b { font-size:11px; }
  #nyxHome .dash-folder-link small { font-size:9px; }
  #nyxHome .home-app-link { min-height:135px; }
}

/* Kompaktní přehled: stejné velikosti textu i grafu, méně volného místa.
   Na úzkých displejích mají záložky vlastní řádek. */

html body#nyxHome .home-main { padding-top:26px !important; padding-bottom:40px !important; }
#nyxHome .home-intro { margin-bottom:18px; }

#nyxHome .dash-workspace { gap:12px; margin-bottom:18px; align-items:start; }
#nyxHome .dash-storage-note { display:none; }
#nyxHome .dash-donut { margin:0 auto 10px; }
#nyxHome .dash-legend { gap:8px; padding:0 16px 14px; }

/* „Složky po ruce" je celý další pás karet pod přehledem. */
#nyxHome .dash-folders-section { display:none !important; }

/* Podtitulky panelů jen opakují, co říká nadpis. */
#nyxHome .dash-panel-head p { display:none; }
#nyxHome .dash-panel-head { padding:8px 16px; min-height:50px; gap:12px; }
#nyxHome .dash-recent .dash-panel-head { border-bottom:1px solid var(--stroke); }
#nyxHome .dash-file-tabs { margin-left:auto; padding:0; gap:16px; border-bottom:0; }
#nyxHome .dash-file-tabs button { padding:10px 0; white-space:nowrap; }
#nyxHome #dashRefresh { flex-shrink:0; }

#nyxHome .dash-files { padding:0 8px; }
#nyxHome .dash-file { min-height:48px; padding:6px 8px; gap:10px; }
#nyxHome .dash-file-icon { height:34px; }
#nyxHome .dash-file-name small, #nyxHome .dash-file-time small { margin-top:2px; }
#nyxHome .dash-panel-foot { min-height:38px; padding:4px 16px; }

#nyxHome .dash-overview { padding:10px 16px; margin-bottom:10px; gap:20px; }
#nyxHome .dash-cloud-icon { width:42px; height:42px; border-radius:11px; flex-shrink:0; }
#nyxHome .dash-eyebrow { display:none; }
#nyxHome .dash-message { min-height:170px; }

@media (min-width:801px) and (max-width:1100px) {
  #nyxHome .dash-recent .dash-panel-head { flex-wrap:wrap; gap:0 12px; padding-bottom:0; }
  #nyxHome .dash-recent .dash-file-tabs { order:1; width:100%; }
  #nyxHome #dashRefresh { margin-left:auto; }
}
@media (max-width:800px) {
  #nyxHome .dash-storage { padding-bottom:10px; }
  #nyxHome .dash-legend { align-self:center; padding:0 16px 0 0; }
  #nyxHome .dash-donut { grid-row:2; margin:0 auto; }
  #nyxHome .dash-totals { padding-top:10px; }
}
@media (max-width:620px) {
  /* Na telefonu se Cloudový pruh rozpadal do sloupce a sám zabral 213 px.
     Statistiky se vejdou na jeden řádek vedle sebe. */
  #nyxHome .dash-overview { flex-wrap:wrap; gap:8px 12px; padding:10px 12px; }
  #nyxHome .dash-totals { width:100%; margin-left:0; gap:14px; padding-top:10px; }
  #nyxHome .dash-totals>div { flex:1 1 0; min-width:0; }
  /* Nadpis a tlačítko se vejdou vedle sebe, nemusí být každý na svém řádku. */
  #nyxHome .dash-cloud-heading { flex:1 1 auto; }
  /* Pravidlo výš dává tlačítku `order:4`, takže by šlo vždycky naposled. */
  #nyxHome .dash-open { width:auto; margin-left:auto; order:0; }
  /* Statistiky mají celou šířku, takže by tlačítko odstrčily na třetí řádek.
     Pořadím se pustí dopředu nadpis s tlačítkem a čísla spadnou pod ně. */
  #nyxHome .dash-totals { order:1; }
  /* Podnadpis pod nadpisem jen opakuje, co je vidět. */
  #nyxHome .home-subtitle { display:none; }
  #nyxHome .dash-recent .dash-panel-head { flex-wrap:wrap; gap:0 12px; padding-bottom:0; }
  #nyxHome .dash-recent .dash-file-tabs { order:1; width:100%; }
  #nyxHome #dashRefresh { margin-left:auto; }
}
