/* styles.css */
:root{color-scheme:dark;--bg:#0b101b;--sidebar:#0d1320;--surface:#121b2b;--surface-hover:#172339;--text:#edf2fc;--muted:#96a5be;--line:#253148;--accent:#83aaff;--accent-soft:#192d50;--green:#7cd5b4;--shadow:0 18px 60px #0005;--radius:18px}
:root[data-theme="light"]{color-scheme:light;--bg:#f3f6fb;--sidebar:#fff;--surface:#fff;--surface-hover:#f4f7ff;--text:#14233b;--muted:#526680;--line:#dbe3f0;--accent:#315ecc;--accent-soft:#eaf0ff;--green:#13754f;--shadow:0 18px 60px #283c5710}
*{box-sizing:border-box}html{min-width:320px;scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.5}button,input,a,summary{-webkit-tap-highlight-color:transparent}button,input{font:inherit}a{color:inherit;text-decoration:none}button,summary,a,label{touch-action:manipulation}button{cursor:pointer}button,input,summary{color:inherit}button{border:0}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:4px}[hidden]{display:none!important}.skip-link{position:fixed;top:-100px;left:20px;z-index:100;background:var(--accent);color:var(--bg);padding:12px}.skip-link:focus{top:12px}
.sidebar{width:236px;position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line);background:var(--sidebar);padding:32px 20px 24px;display:flex;flex-direction:column;z-index:20;overflow:auto}.brand{display:flex;gap:13px;align-items:center;font-size:17px;font-weight:650;letter-spacing:-.5px}.brand small{display:block;font-size:12px;letter-spacing:2px;color:var(--muted);margin-top:3px}.brand-mark{display:grid;place-content:center;position:relative;width:44px;height:44px;background:linear-gradient(145deg,#a3c2ff,#5685ed);border-radius:13px;font-size:30px;line-height:1;color:#0b1730;font-weight:800;box-shadow:0 5px 22px #6094ff25}.brand-mark span{position:absolute;bottom:7px;right:9px;color:white}.nav-label,.eyebrow{font-size:12px;letter-spacing:1.7px;font-weight:650;color:var(--muted);margin:0}.nav-label{margin:48px 14px 15px}.category-filter{display:grid;gap:5px}.category-filter button{background:transparent;color:var(--muted);display:flex;gap:12px;text-align:left;align-items:center;padding:11px 14px;border-radius:10px;font-size:14px;min-height:44px;transition:background .18s,color .18s}.category-filter button::before{content:"";width:8px;height:8px;border:1px solid currentColor;border-radius:3px;opacity:.6}@media (hover:hover) and (pointer:fine){.category-filter button:hover{background:var(--surface);color:var(--text)}}.category-filter .is-selected{background:var(--accent-soft);color:var(--accent);font-weight:650}.category-filter .is-selected::before{background:currentColor;opacity:1}.sidebar-bottom{margin-top:auto;padding:30px 8px 0;display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px}.sidebar-bottom small{display:block;margin-top:4px;font-size:12px}.network-symbol{font-size:24px;color:var(--accent)}
.workspace{margin-left:236px}.topbar{min-height:90px;padding:20px 40px;display:flex;justify-content:space-between;align-items:center;gap:24px;border-bottom:1px solid var(--line)}.breadcrumb{font-size:14px;color:var(--muted);display:flex;gap:16px}.breadcrumb strong{font-weight:500;color:var(--text)}.breadcrumb span{opacity:.5}.topbar__actions{display:flex;align-items:center;gap:18px}.search{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:11px;padding:0 13px;height:44px;background:var(--surface);color:var(--muted);width:290px}.search input{min-width:0;width:100%;background:none;border:0;outline:none;font-size:14px}.search:focus-within{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}.search kbd{font-size:12px;border:1px solid var(--line);border-radius:4px;padding:0 5px}.settings-menu{position:relative}.user-avatar-button{list-style:none;display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--line);border-radius:50%;background:var(--accent-soft);color:var(--accent);font-size:13px;font-weight:700;cursor:pointer}.user-avatar-button::-webkit-details-marker{display:none}.settings-menu__panel{position:absolute;right:0;top:54px;width:260px;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:14px;box-shadow:var(--shadow);z-index:30}.user-menu{display:grid;gap:5px;padding:8px 8px 18px;border-bottom:1px solid var(--line);margin-bottom:8px}.user-menu__label{font-size:12px;letter-spacing:1.5px;color:var(--muted)}#user-display-email{font-size:13px;color:var(--muted);overflow-wrap:anywhere}.role-badge{font-size:12px;color:var(--accent)}.settings-menu__panel button{width:100%;padding:10px;text-align:left;border-radius:8px;background:transparent;font-size:14px}@media (hover:hover) and (pointer:fine){.settings-menu__panel button:hover{background:var(--accent-soft)}}
main{padding:36px 40px 24px;max-width:1600px;margin:auto}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}h1,h2,p{margin-top:0}h1{font-size:clamp(30px,3vw,42px);line-height:1.2;font-weight:650;letter-spacing:-1.5px;margin:7px 0 8px}#dashboard-subtitle{color:var(--muted);margin:0;font-size:15px}.header-meta{display:grid;gap:4px;text-align:right;color:var(--muted);font-size:12px}.header-meta strong{color:var(--text);font-weight:500;font-variant-numeric:tabular-nums}.server-chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:40px}.metric-chip{padding:22px 24px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);min-width:0;position:relative;overflow:hidden}.metric-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.metric-chip__label{font-size:14px;color:var(--muted)}.metric-tag{font-size:12px;letter-spacing:1px;color:var(--muted);border:1px solid var(--line);border-radius:5px;padding:2px 6px}.metric-chip>strong{display:block;font-size:36px;font-weight:550;letter-spacing:-1.5px;line-height:1.25;margin:16px 0 16px;font-variant-numeric:tabular-nums}.metric-chip__detail{font-size:12px;color:var(--muted);display:block;margin-top:11px}.metric-chip meter{height:5px;border:0;border-radius:10px;width:100%;display:block;background:var(--line)}meter::-webkit-meter-bar{background:var(--line);border:0;border-radius:10px}meter::-webkit-meter-optimum-value{background:var(--accent);border-radius:10px}meter::-moz-meter-bar{background:var(--accent);border-radius:10px}.metric-chip--temperature{background:linear-gradient(120deg,var(--surface),var(--accent-soft));border-color:color-mix(in srgb,var(--accent) 25%,var(--line))}.metric-chip--temperature svg{color:var(--accent)}.temperature-description{font-size:12px;color:var(--muted);line-height:5px}
.services-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:13px}.services-heading .eyebrow{font-size:12px}h2{font-size:23px;letter-spacing:-.6px;font-weight:600;line-height:1.3;margin:5px 0 0}#visible-count{display:inline-grid;place-items:center;font-size:12px;vertical-align:middle;margin-left:8px;min-width:28px;height:25px;padding:0 5px;border:1px solid var(--line);border-radius:7px;color:var(--muted);letter-spacing:0}.toolbar-actions{display:flex;gap:18px;align-items:center}.favorite-filter{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--muted);cursor:pointer}.favorite-filter input{width:16px;height:16px;accent-color:var(--accent)}.refresh-button{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);background:var(--surface);border-radius:9px;min-height:40px;padding:9px 13px;font-size:13px}@media (hover:hover) and (pointer:fine){.refresh-button:hover{background:var(--surface-hover);border-color:var(--accent)}}.refresh-button:disabled{cursor:wait;opacity:.6}.status-summary{display:flex;align-items:center;gap:8px 14px;flex-wrap:wrap;margin:0 0 20px;color:var(--muted);font-size:12px;min-height:20px}.status-summary strong{font-weight:550}.summary-online{color:var(--green)}.summary-online::before{content:"";display:inline-block;background:currentColor;width:5px;height:5px;border-radius:50%;margin:0 7px 2px 0}#status-message{margin-left:auto}#status-message[data-kind="error"]{color:#e1b069}
.service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.service-card{display:grid;grid-template-columns:48px minmax(0,1fr);align-content:start;gap:18px 14px;position:relative;min-width:0;padding:24px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);transition:transform .2s,border-color .2s,background .2s}@media (hover:hover) and (pointer:fine){.service-card:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--accent) 40%,var(--line));background:var(--surface-hover)}}.service-card__icon{grid-column:1;grid-row:1;display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:color-mix(in srgb,var(--accent) 12%,var(--bg));border:1px solid color-mix(in srgb,var(--accent) 22%,var(--line));color:var(--text);font-size:15px;font-weight:650}.service-card__icon img{width:31px;height:31px;object-fit:contain;border-radius:7px}.service-card__content{display:flex;flex-direction:column;grid-column:1/-1;grid-row:2;min-width:0}.service-card__content .service-card__meta{font-size:12px;letter-spacing:1.4px;text-transform:uppercase;color:var(--muted);font-weight:650;margin-bottom:5px}.service-card__content strong{font-size:18px;font-weight:600;letter-spacing:-.35px;line-height:1.4}.service-card__content span:last-child{font-size:14px;color:var(--muted);line-height:1.55;min-height:44px;margin-top:6px}.service-card__status{grid-column:2;grid-row:1;align-self:center;justify-self:end;font-size:12px;white-space:nowrap;color:var(--muted);background:var(--bg);border:1px solid var(--line);padding:3px 8px;border-radius:6px;margin-right:22px}.service-card__status[data-state="online"]{color:var(--green);border-color:color-mix(in srgb,var(--green) 25%,var(--line));background:color-mix(in srgb,var(--green) 6%,var(--bg))}.service-card__status[data-state="offline"]{color:#f29b9b}.service-card__status[data-state="degraded"],.service-card__status[data-state="protected"],.service-card__status[data-state="unknown"]{color:#e5b779}.service-card__favorite{position:absolute;top:23px;right:10px;background:transparent;color:var(--muted);padding:7px;font-size:20px;line-height:1;border-radius:7px;min-height:36px}.service-card__favorite[aria-pressed="true"]{color:#e7c371}.service-card__links{grid-column:1/-1;display:flex;gap:10px;align-items:center;padding-top:17px;border-top:1px solid var(--line);margin-top:1px;padding-right:22px}.service-card__links a{font-size:13px;font-weight:550;display:flex;align-items:center;gap:7px;min-height:28px;padding:3px 9px;border-radius:6px;color:var(--text)}.service-card__links a:first-child{background:var(--accent-soft);color:var(--accent)}.service-card__links a::after{content:"↗";font-size:15px}@media (hover:hover) and (pointer:fine){.service-card__links a:hover{background:var(--line)}}.service-card__info-button{position:absolute;right:15px;bottom:26px;width:28px;height:28px;background:transparent;color:var(--muted);border:1px solid var(--line);border-radius:50%;font-family:Georgia,serif;font-size:13px}.service-card:has(.service-card__info:not([hidden])) .service-card__info-button{top:71px;bottom:auto}.service-card__info{grid-column:1/-1;display:grid;gap:8px;border-top:1px solid var(--line);padding-top:15px}.service-card__info>span{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:var(--muted)}.service-card__info strong{font-weight:500;color:var(--text)}.empty-state,.access-state{padding:50px 20px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:var(--radius)}.access-state{display:grid;gap:15px}.access-state a{color:var(--accent)}footer{max-width:1600px;margin:0 auto;display:flex;justify-content:space-between;gap:20px;padding:22px 40px 30px;color:var(--muted);font-size:12px}footer>span:last-child{white-space:nowrap;letter-spacing:1.5px}
.login-page{min-height:100vh;display:grid;place-items:center;background:radial-gradient(ellipse at 15% 15%,#173054,transparent 50%),radial-gradient(ellipse at 100% 100%,#152239,transparent 50%),#0b101b}.login-shell{display:grid;grid-template-columns:1fr 1fr;width:min(1000px,calc(100% - 48px));padding:0;border:1px solid #26354c;border-radius:28px;overflow:hidden;background:#101929;box-shadow:0 30px 100px #0005}.login-intro{display:flex;flex-direction:column;padding:52px;background:linear-gradient(145deg,#172740,#101929);border-right:1px solid #26354c}.login-intro .brand{color:#edf2fc}.login-intro h2{margin:auto 0 20px;font-size:42px;line-height:1.12;letter-spacing:-1.8px;color:#edf2fc}.login-intro>p{color:#96a5be;max-width:280px;font-size:16px;line-height:1.7}.login-intro>small{color:#96a5be;margin-top:45px;font-size:12px}.login-panel{display:grid;gap:21px;padding:58px 48px;align-content:center}.login-panel h1{font-size:28px;margin-top:8px;letter-spacing:-.8px}.login-panel>p{font-size:14px;color:var(--muted);margin:0 0 4px}.login-panel label{display:grid;gap:8px;font-size:14px}.login-panel input{width:100%;height:48px;border-radius:9px;padding:10px 13px;background:#0b1321;border:1px solid #30415e;color:#edf2fc}.login-panel input:focus{border-color:#83aaff}.login-button{height:48px;border-radius:9px;background:#92b5ff;color:#102344;font-weight:650;margin-top:5px}@media (hover:hover) and (pointer:fine){.login-button:hover{background:#b1cbff}}.login-error{color:#ffb5b5!important;background:#63262633;padding:12px;border-radius:8px}
@media(min-width:1550px){.service-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1190px){.sidebar{width:210px;padding-inline:16px}.workspace{margin-left:210px}.topbar{padding-inline:28px}main{padding-inline:28px}footer{padding-inline:28px}.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-chip{padding:20px}.metric-chip>strong{font-size:32px}.header-meta{max-width:160px}}
@media(max-width:850px){.sidebar{position:relative;inset:auto;width:auto;padding:18px 22px 0;border-right:0;border-bottom:1px solid var(--line);overflow:visible}.brand{font-size:17px}.brand-mark{width:36px;height:36px;font-size:26px;border-radius:10px}.brand small{font-size:12px}.nav-label,.sidebar-bottom{display:none}.category-filter{display:flex;overflow-x:auto;gap:5px;padding:15px 0 12px;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.category-filter button{flex-shrink:0;padding:8px 13px}.category-filter button::before{display:none}.workspace{margin-left:0}.topbar{padding:16px 22px;min-height:76px}.breadcrumb{display:none}.topbar__actions{width:100%;gap:14px}.search{width:auto;flex:1}main{padding:26px 22px}.page-heading{align-items:flex-start}.server-chips{gap:12px;margin-bottom:30px}.metric-chip{padding:17px}.metric-chip>strong{font-size:30px}.metric-tag{display:none}.service-grid{gap:14px}.service-card{padding:21px}.service-card__favorite{top:20px;right:8px}footer{padding:10px 22px 26px}footer>span:last-child{display:none}.login-intro{padding:32px}.login-intro h2{font-size:36px}.login-panel{padding:40px 30px}}
@media(max-width:540px){.page-heading{display:block}.header-meta{display:flex;max-width:none;flex-wrap:wrap;text-align:left;gap:5px 16px;margin-top:16px}.server-chips{gap:9px}.metric-chip{padding:14px 12px;border-radius:13px}.metric-chip__label{font-size:12px}.metric-chip>strong{font-size:25px;margin:13px 0}.metric-chip__detail{font-size:12px;line-height:1.4}.metric-heading svg{width:15px;height:15px}.temperature-description{font-size:12px;line-height:1.3}.metric-chip--temperature .metric-chip__detail{margin-top:4px}.services-heading{align-items:flex-start;gap:12px}.services-heading .eyebrow{display:none}h2{font-size:21px;margin-top:5px}.toolbar-actions{gap:8px;align-items:center}.favorite-filter{font-size:12px;gap:4px}.refresh-button{padding:8px;min-height:38px}.refresh-button span{display:none}.refresh-button svg{width:18px}.status-summary{font-size:12px;gap:6px 12px}#status-message{margin-left:0;width:100%;font-size:12px}.service-grid{grid-template-columns:1fr}.service-card{padding:22px;gap:14px}.service-card__content span:last-child{min-height:0}.service-card__status{font-size:12px}.service-card__content strong{font-size:19px}.service-card__links a{min-height:34px;font-size:14px}.service-card__favorite{top:24px;right:14px}.service-card__info-button{bottom:27px;right:19px}.login-shell{display:block;width:calc(100% - 32px);margin:20px 0}.login-intro{padding:25px 28px;border-right:0;border-bottom:1px solid #26354c}.login-intro h2,.login-intro>p,.login-intro>small{display:none}.login-panel{padding:32px 28px}.login-panel h1{font-size:28px}.login-page{align-items:center}.brand-mark span{right:7px;bottom:5px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}@media (hover:hover) and (pointer:fine){.service-card:hover{transform:none}}}

@media(max-width:540px){.metric-heading svg{display:none}.metric-chip__label{font-size:12px}.metric-chip__detail,.temperature-description{font-size:12px}.metric-chip{padding:14px 10px}.server-chips{gap:8px}}

.service-card__links a:first-child{color:#a9c6ff;background:#213452}:root[data-theme="light"] .service-card__links a:first-child{color:#264fa9;background:#e9effc}.service-card__content span:last-child{font-size:15px}

/* portal.css */
/* Casa Iazzetti — glass portal visual system. */
:root{--bg:#082e34;--sidebar:#0c343b;--surface:#123b43;--surface-hover:#1b4a53;--text:#f1f7f6;--muted:#bfd2d7;--line:#c2e4e52e;--accent:#b1e6e0;--accent-soft:#c1e4e51a;--green:#74e5b5;--shadow:0 20px 60px #001b2370;--portal-opacity:.85}
:root[data-theme=light]{--bg:#e5f0ef;--sidebar:#edf5f3;--surface:#f4f9f7;--surface-hover:#e3efed;--text:#123b40;--muted:#45676d;--line:#22545b30;--accent:#216e71;--accent-soft:#377c8012;--green:#14724f;--shadow:0 18px 50px #143d421c;--portal-opacity:.3}
body{background:var(--bg);isolation:isolate}body::before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;background-image:url('/assets/portal-glass-soft.jpg');background-size:cover;background-position:center;opacity:var(--portal-opacity)}
.brand{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:23px;white-space:nowrap}.brand small{font-family:system-ui,sans-serif;font-size:9px;letter-spacing:3px}.brand-mark{background:none;box-shadow:none;border-radius:0;color:var(--text);font-family:Georgia,serif;font-size:48px;font-weight:400;width:40px;height:48px}.brand-mark span{color:var(--text);right:0;bottom:0}
.workspace,.sidebar-collapsed .workspace{margin-left:0}.topbar{padding:22px clamp(24px,4vw,64px);min-height:100px;gap:28px;border-bottom:0;background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:blur(16px);z-index:40;position:sticky;top:0}.topbar>.brand{flex-shrink:0}.topbar .primary-nav{display:flex;gap:6px;margin:0}.primary-nav button{white-space:nowrap;min-height:44px;padding:10px 17px;border:1px solid transparent;border-radius:30px}.primary-nav button[aria-current=page]{background:var(--accent-soft);color:var(--text);border-color:var(--line)}.topbar__actions{margin-left:auto;max-width:540px}.search{background:#c2e4e509;border-radius:30px;height:46px}.search-kind select{background:var(--surface);border-radius:24px}.user-avatar-button{background:var(--accent-soft);color:var(--text)}#sidebar-toggle{min-width:44px;width:44px;padding:8px;border-radius:50%;font-size:12px;background:transparent}.sidebar{position:fixed;top:100px;bottom:0;left:0;width:240px;background:var(--sidebar);padding:20px;transform:translateX(-100%);transition:transform .2s;box-shadow:var(--shadow);z-index:39;border-right:1px solid var(--line)}body:not(.sidebar-collapsed) .sidebar{transform:translateX(0)}.sidebar>.brand,.sidebar>.primary-nav{display:none}.sidebar .nav-label{display:block;margin:8px 10px 20px}.sidebar .category-filter{display:grid;overflow:auto}.sidebar-bottom{display:flex}.mobile-brand{display:none!important}
main{max-width:1560px;padding:32px clamp(24px,4vw,64px) 40px}.page-heading{align-items:center;margin-bottom:24px}.page-heading .eyebrow{display:none}.welcome-message{display:none}h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(29px,3.2vw,46px);letter-spacing:-1.3px;margin:8px 0;line-height:1.15}#dashboard-subtitle{font-size:15px}.header-meta{font-size:11px;max-width:200px}.server-overview{background:#b8dfe808;backdrop-filter:blur(14px);border-radius:14px;padding:18px 10px;margin-bottom:24px}.server-overview>div{padding:0 20px}.server-overview strong{font-weight:500;font-size:23px}.home-actions{padding:0 0 20px;margin:0 0 20px;gap:14px}.home-actions strong{font-size:14px;font-weight:500}.home-actions span{font-size:12px}.home-actions button{background:transparent;border-radius:26px;min-height:44px;padding:9px 16px}.services-heading h2{font-size:22px;font-weight:500}.status-summary{font-size:12px;margin-bottom:4px}.refresh-button{background:transparent;border-radius:50%}.service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 44px}.service-card{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:6px 18px;padding:24px 52px 24px 0;min-height:138px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;align-items:center;align-content:center}@media (hover:hover) and (pointer:fine){.service-card:hover{background:#c5e7e607;transform:none;border-color:var(--line)}}.service-card__icon{grid-column:1;grid-row:1/3;width:56px;height:56px;border-radius:14px;background:#a9d4d91a;border-color:var(--line)}.service-card__icon img{width:40px;height:40px;border-radius:9px}.service-card__content{grid-column:2;grid-row:1/3;padding:0}.service-card__content strong{font-size:18px;letter-spacing:-.3px;font-weight:550}.service-card__content span:last-child{font-size:14px;line-height:1.4;min-height:0;max-width:260px;margin-top:5px;-webkit-line-clamp:2}.service-card__status,.service-card__status[data-state=online]{grid-column:3;grid-row:1;justify-self:end;padding:0;margin:0;font-size:12px;border:0;background:transparent}.service-card__links{grid-column:3;grid-row:2;border:0;margin:0;padding:0;display:flex;justify-content:flex-end}.service-card__links a:first-child{min-height:40px;padding:8px 0 8px 12px;font-size:13px;background:none;color:var(--text)}.service-card__favorite{top:24px;right:0;min-width:36px;min-height:36px;font-size:19px;color:var(--muted)}.service-card__info-button{right:0;bottom:24px;width:36px;height:36px;font-size:12px;color:var(--muted);border-color:var(--line)}.service-card__info{grid-column:1/-1;grid-row:3;padding:18px 0 0}.service-card:has(.service-card__info:not([hidden])) .service-card__info-button{bottom:auto;top:66px}.service-card__info a{color:var(--text)}footer{max-width:1560px;margin:auto;padding:24px clamp(24px,4vw,64px) 100px;color:var(--muted);font-size:11px}.settings-menu__panel,.casa-panel{background:var(--surface)}.casa-launcher{background:var(--surface);color:var(--text);border-color:var(--line);box-shadow:var(--shadow);font-weight:550}.casa-message--assistant{background:var(--bg)}.casa-form button{background:var(--accent);color:var(--bg)}.document-results{background:var(--surface);border-radius:16px;padding:22px}.document-result{border-color:var(--line)}.diagnostic-grid article{background:var(--surface)}
/* Profile and login share the portal palette without changing their behavior. */
.account-page .account-shell{max-width:960px;padding-top:40px}.account-shell h1,.account-shell h2,.login-panel h1,.login-intro h2{font-family:Georgia,serif;font-weight:400}.account-shell h2{font-size:25px}.account-card{background:color-mix(in srgb,var(--surface) 94%,transparent);border-color:var(--line);border-radius:16px}.account-form input:not([type=checkbox]){border-color:var(--line);background:var(--bg)}.folder-option input{accent-color:var(--accent)}.account-save,.login-button{background:var(--accent);color:var(--bg)}.account-form input:focus-visible,.account-save:focus-visible{outline-color:var(--accent)}.account-back{font-size:14px}.login-page{min-height:100dvh}.login-shell{background:color-mix(in srgb,var(--surface) 92%,transparent);border:1px solid var(--line);box-shadow:var(--shadow);max-width:1000px;border-radius:24px}.login-intro{background:none;border-color:var(--line)}.login-intro h2{color:var(--text);font-size:54px}.login-intro>p,.login-intro>small{color:var(--muted)}.login-intro .brand{color:var(--text)}.login-panel input{background:var(--bg);border-color:var(--line);color:var(--text)}@media (hover:hover) and (pointer:fine){.login-button:hover{background:var(--accent);filter:brightness(1.1)}}
/* The real dashboard is revealed through a growing circular aperture. */
.portal-welcome{position:fixed;inset:0;z-index:200;background:var(--bg);display:grid;place-items:center;padding:24px;text-align:center;isolation:isolate}.portal-welcome::before{content:'';position:absolute;inset:0;background:url('/assets/portal-glass-soft.jpg') center/cover;opacity:var(--portal-opacity);z-index:-1}.portal-welcome h2{font:400 clamp(30px,5vw,64px)/1.1 Georgia,serif;letter-spacing:-1px;margin:0 0 16px}.portal-welcome p{color:var(--muted);font-size:18px}.portal-skip{position:absolute;right:24px;bottom:24px;border:1px solid var(--line);border-radius:28px;background:var(--surface);padding:10px 18px;min-height:44px}.portal-welcome.revealing{pointer-events:none}.portal-welcome.revealing>div{opacity:0;transition:opacity .25s}.portal-welcome.revealing .portal-skip{opacity:0}.portal-welcome.reduced{transition:opacity .2s}.portal-welcome.reduced.revealing{opacity:0}
@media(min-width:1600px){.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1200px){.topbar{gap:14px;padding-inline:24px}.topbar>.brand{font-size:19px}.topbar .primary-nav button{padding-inline:12px}.topbar__actions{max-width:390px}.search-kind{display:none}.service-grid{gap:0 24px}.service-card{grid-template-columns:48px minmax(0,1fr);gap:6px 12px;padding-right:44px}.service-card__icon{width:48px;height:48px;grid-row:1/3}.service-card__icon img{width:34px;height:34px}.service-card__content{grid-row:1;grid-column:2}.service-card__status{grid-row:2;grid-column:2;justify-self:start!important}.service-card__links{grid-row:3;grid-column:2;justify-content:flex-start}.service-card__links a:first-child{padding:2px 0;min-height:32px}.service-card__content strong{font-size:17px}.service-card__content span:last-child{font-size:13px}}
@media(max-width:850px){.topbar{display:flex;flex-wrap:wrap;position:sticky;padding:14px 20px;gap:12px;min-height:88px}.topbar>.brand{order:0;flex:1}.topbar .primary-nav{display:none}.topbar__actions{display:flex;order:2;flex-basis:100%;max-width:none;margin:0;width:100%;gap:10px}.topbar .settings-menu{position:absolute;right:20px;top:16px}.topbar #sidebar-toggle{margin-right:50px;order:1}.search{width:100%;height:44px}.search-kind{display:block}.search-kind select{height:44px}.sidebar{top:126px;bottom:72px}.sidebar>.primary-nav{display:grid;margin:0 0 24px}.sidebar .primary-nav button{text-align:left}.sidebar .category-filter{display:grid}.sidebar .nav-label{margin-top:8px}.sidebar-bottom{display:none}main{padding:24px 20px}.page-heading{display:block}.header-meta{display:none}h1{font-size:34px}.server-overview{padding:14px 4px;gap:16px 0}.server-overview>div{padding:0 16px}.service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}.home-actions{align-items:center}.home-actions>div:last-child{display:flex}.home-actions span{display:none}.mobile-nav{background:var(--surface);border-color:var(--line);backdrop-filter:blur(14px)}.mobile-nav button{color:var(--muted)}.mobile-nav button[aria-current=page]{color:var(--text);background:var(--accent-soft)}.casa-launcher{bottom:calc(86px + env(safe-area-inset-bottom))}.casa-panel{bottom:calc(150px + env(safe-area-inset-bottom));height:min(640px,calc(100dvh - 170px))}}
@media(max-width:580px){body::before{background-position:75% center;opacity:calc(var(--portal-opacity)*.5)}h1{font-size:30px}.service-grid{grid-template-columns:1fr;gap:0}.service-card{min-height:128px;grid-template-columns:50px minmax(0,1fr) auto;padding:20px 40px 20px 0;gap:4px 14px}.service-card__icon{grid-row:1/3}.service-card__content{grid-column:2;grid-row:1/3}.service-card__content strong{font-size:16px}.service-card__content span:last-child{font-size:13px;max-width:190px}.service-card__status{grid-row:3;grid-column:2;font-size:11px}.service-card__links{grid-row:3;grid-column:3}.service-card__favorite{top:20px;right:-4px}.service-card__info-button{bottom:22px;right:-4px}.service-card__info{grid-row:4}.service-card__links a:first-child{font-size:12px}.service-card__status{max-width:150px;white-space:normal}.home-actions{gap:10px}.home-actions strong{font-size:13px}.home-actions button{font-size:12px;padding:8px 12px}.services-heading h2{font-size:20px}.favorite-filter{font-size:12px}.toolbar-actions{gap:8px}.status-summary{font-size:11px}.login-shell{width:calc(100% - 28px);margin:20px 0}.login-intro{padding:24px}.login-panel{padding:28px 24px}.account-page .account-shell{padding-top:24px}.portal-welcome h2{font-size:36px}}
@media(prefers-reduced-motion:reduce){.sidebar{transition:none}.portal-welcome.revealing>div{transition:none}}
/* Keep decorative glass behind the content, never behind low-contrast text. */
:root{--portal-opacity:.34}:root[data-theme=light]{--portal-opacity:.14}
.service-card{min-height:116px;padding-top:20px;padding-bottom:20px}.service-card__favorite{top:18px}.service-card__info-button{bottom:18px}.service-card__content span:last-child{color:var(--muted)}
@media(min-width:851px){main{padding-top:22px}.page-heading{margin-bottom:18px}.home-actions{padding-bottom:14px;margin-bottom:16px}}
@media(max-width:580px){.service-card{min-height:126px;padding-top:20px;padding-bottom:20px}}
@media(max-width:850px){.topbar #sidebar-toggle{display:inline-flex;align-items:center;justify-content:center}.home-actions{display:flex;justify-content:space-between;text-align:left}.home-actions>div:first-child{display:grid}.home-actions>div:last-child{display:flex}}
@media(max-width:580px){.service-card__status[data-state=online]{grid-column:2;grid-row:3;justify-self:start}.service-card__links{min-height:32px}.service-card__content{padding-right:0}}
@media(max-width:850px){.home-actions{flex-direction:row}.home-actions>div:last-child{width:auto;flex-shrink:0}.home-actions button{width:auto}}

/* Soft frosted glass: transparent controls, quiet borders, readable overlays. */
:root{
  --bg:#082e34;
  --muted:#c9dddf;
  --line:#c2e4e529;
  --accent-soft:#c6e7e510;
  --glass-fill:#d3eeed08;
  --glass-hover:#d3eeed15;
  --glass-selected:#d3eeed1c;
  --glass-chrome:#082e3466;
  --glass-panel:#123b43f5;
  --shadow:0 16px 48px #001b2333;
  --portal-opacity:.62;
}
:root[data-theme=light]{
  --bg:#e5f0ef;
  --muted:#3f6268;
  --line:#22545b26;
  --accent-soft:#377c800d;
  --glass-fill:#ffffff20;
  --glass-hover:#ffffff55;
  --glass-selected:#ffffff70;
  --glass-chrome:#edf5f399;
  --glass-panel:#f4f9f7f7;
  --portal-opacity:.2;
}
body::before,.portal-welcome::before{
  background-image:linear-gradient(180deg,#082e3433 0%,#082e3466 55%,#082e349e 100%),url('/assets/portal-glass-soft.jpg');
}
:root[data-theme=light] body::before,:root[data-theme=light] .portal-welcome::before{
  background-image:url('/assets/portal-glass-soft.jpg');
}
.topbar{
  background:var(--glass-chrome);
  -webkit-backdrop-filter:blur(24px);
  backdrop-filter:blur(24px);
}
.primary-nav button{font-weight:450;transition:background .18s,border-color .18s}
.primary-nav button[aria-current=page]{background:var(--glass-selected);font-weight:550}@media (hover:hover) and (pointer:fine){
.primary-nav button:hover,.category-filter button:hover{background:var(--glass-hover)}}
.search,.search-kind select,.user-avatar-button,#sidebar-toggle,
.home-actions button,.home-actions .primary-action,
.refresh-button,.portal-skip{
  background:var(--glass-fill);
  color:var(--text);
  border:1px solid var(--line);
  box-shadow:none;
}
.search-kind select,.home-actions button,.portal-skip{border-radius:999px}
:root[data-theme=light] .home-actions .primary-action{color:var(--text)}
.search-kind select option{background:var(--surface);color:var(--text)}
.search input::placeholder{color:var(--muted);opacity:.9}@media (hover:hover) and (pointer:fine){
.home-actions button:hover,.refresh-button:hover,#sidebar-toggle:hover,
.user-avatar-button:hover,.portal-skip:hover{background:var(--glass-hover);border-color:color-mix(in srgb,var(--text) 26%,transparent)}}
.home-actions .primary-action{font-weight:550}
.server-overview{background:var(--glass-fill);border-color:var(--line);box-shadow:none}@media (hover:hover) and (pointer:fine){
.service-card:hover{background:var(--glass-fill)}}
.service-card__icon{background:var(--glass-fill);box-shadow:none;border-color:var(--line)}
.service-card__content strong{font-weight:550}
.service-card__links a:first-child,
:root[data-theme=light] .service-card__links a:first-child{background:transparent;color:var(--text)}@media (hover:hover) and (pointer:fine){
.service-card__links a:hover,.service-card__favorite:hover,.service-card__info-button:hover{background:var(--glass-hover)}}
#visible-count{border-radius:999px;background:var(--glass-fill);font-weight:400}
.settings-menu__panel,.casa-panel,.sidebar{
  background:var(--glass-panel);
  -webkit-backdrop-filter:blur(24px);
  backdrop-filter:blur(24px);
}
.casa-launcher{
  background:color-mix(in srgb,var(--surface) 72%,transparent);
  -webkit-backdrop-filter:blur(20px);
  backdrop-filter:blur(20px);
  box-shadow:0 8px 28px #001b2320;
  font-weight:550;
}@media (hover:hover) and (pointer:fine){
.casa-launcher:hover{background:color-mix(in srgb,var(--surface) 88%,transparent)}}
.casa-message--assistant{background:color-mix(in srgb,var(--bg) 75%,var(--surface))}
.casa-form button,.account-save,.login-button{
  border:1px solid color-mix(in srgb,var(--accent) 35%,var(--line));
  background:var(--glass-selected);
  color:var(--text);
  border-radius:999px;
}@media (hover:hover) and (pointer:fine){
.casa-form button:hover,.account-save:hover,.login-button:hover{background:var(--glass-hover);filter:none}}
.document-results,.diagnostic-grid article{background:var(--glass-panel)}
@media(max-width:1200px){
  .service-card__status,.service-card__status[data-state=online]{grid-column:2;grid-row:2}
}
@media(max-width:850px){
  .mobile-nav{background:color-mix(in srgb,var(--surface) 82%,transparent);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}
  .mobile-nav button{border:1px solid transparent;border-radius:999px;font-weight:500}
  .mobile-nav button[aria-current=page]{background:var(--glass-selected);border-color:var(--line)}
}
@media(max-width:580px){
  body::before{background-position:70% center;opacity:.38}
  :root[data-theme=light] body::before{opacity:.14}
  .service-card__status,.service-card__status[data-state=online]{grid-column:2;grid-row:3}
}
@media(max-width:580px){body::before{background-position:right center;opacity:.58}:root[data-theme=light] body::before{opacity:.18}}

/* impeccable.css */
/* Scoped refinement of the approved satin-glass identity. */
:root{--control-size:44px;--focus-ring:var(--accent)}
html{scroll-padding-top:calc(var(--topbar-height,100px) + 20px)}
::selection{background:var(--accent);color:var(--bg)}
input,textarea{caret-color:var(--accent)}
button,a,input,textarea,select,summary{scroll-margin-block:140px 96px}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--focus-ring);outline-offset:4px}
button:disabled{cursor:not-allowed;opacity:.55}
button:active:not(:disabled),.service-card__links a:active{transform:translateY(1px)}
.service-grid{min-width:0}.service-loading,.empty-state{color:var(--muted);padding:24px 0;max-width:65ch;line-height:1.6}
.service-grid[aria-busy=true]{min-height:80px}
.service-loading{margin:0;min-height:80px}.reset-filters,.retry-services{background:transparent;color:var(--text);font-size:13px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:24px}.retry-services{text-decoration:underline;text-underline-offset:4px;border:0;padding:0 4px}@media (hover:hover) and (pointer:fine){.reset-filters:hover,.retry-services:hover{background:var(--glass-hover)}}
.dashboard-page h1{font-size:2.5rem;letter-spacing:-.025em;overflow-wrap:anywhere;text-wrap:balance}
.page-heading{margin-bottom:20px}.home-actions{gap:16px}.home-actions strong{font-weight:500}.toolbar-actions{flex-wrap:wrap;justify-content:flex-end}.favorite-filter{min-height:44px}.favorite-filter input{accent-color:var(--accent)}
.service-card{padding-right:56px;gap:6px 16px}.service-card__favorite,.service-card__info-button{width:44px;height:44px;min-width:44px;min-height:44px;display:grid;place-items:center;background:transparent;border:0;border-radius:50%;right:0}.service-card__favorite{top:12px}.service-card__info-button{bottom:12px}.service-card__favorite svg,.service-card__info-button svg{width:19px;height:19px;stroke-width:1.5}.service-card__favorite[aria-pressed=true] svg{fill:var(--accent);stroke:var(--accent)}.service-card__links a:first-child{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:8px 2px 8px 10px}.service-card__links a::after{content:none!important}.service-card__links svg{width:16px;height:16px}.service-card__content strong{line-height:1.4}.service-card__content span:last-child{line-height:1.5;max-width:30ch}.service-card__status{font-variant-numeric:tabular-nums}.service-card__info{padding-bottom:6px}.service-card:has(.service-card__info:not([hidden])) .service-card__info-button{top:58px}
.dashboard-page .sidebar{display:flex;position:fixed;inset:var(--topbar-height,100px) auto 0 0;width:min(280px,calc(100vw - 24px));padding:24px 18px;overflow:auto;overscroll-behavior:contain;transform:none;z-index:39;max-height:calc(100dvh - var(--topbar-height,100px));border-right:1px solid var(--line)}
.dashboard-page.sidebar-collapsed .sidebar{display:none}.dashboard-page[data-view=services] .sidebar .category-filter{display:grid;overflow:visible;padding:0;gap:4px}.dashboard-page .category-filter button{min-height:44px;border-radius:10px;padding:10px 14px}.dashboard-page .sidebar .nav-label{display:none}.dashboard-page[data-view=services] .topbar .primary-nav{display:flex}.sidebar-bottom{display:none}
#sidebar-toggle{width:auto;min-width:64px;padding-inline:14px;white-space:nowrap}.search-kind{flex-shrink:0}.search input{font-size:14px}.settings-menu__panel{max-height:calc(100dvh - 110px);overflow:auto;overscroll-behavior:contain}.settings-menu__panel>a{border-radius:9px;min-height:44px}@media (hover:hover) and (pointer:fine){.settings-menu__panel>a:hover{background:var(--glass-hover)}}
.server-overview strong,.header-meta strong{font-variant-numeric:tabular-nums}.document-scope{max-width:70ch;line-height:1.6}.document-result>div{min-width:0}.document-result strong,.document-result small{overflow-wrap:anywhere}
.account-shell h1{font-size:2.25rem;letter-spacing:-.025em}.account-shell h2{font-size:1.5rem;letter-spacing:-.02em}.account-shell header p{max-width:65ch;color:var(--muted)}.account-card{padding:28px}.account-form small,.account-note{opacity:1;color:var(--muted);line-height:1.6}.account-form .folder-option{min-height:48px}.folder-option:has(input:disabled){color:var(--muted)}.folder-option:has(input:checked){background:var(--accent-soft)}.folder-list{scrollbar-color:var(--line) transparent}.folder-option input:disabled{opacity:.8}.account-form input:not([type=checkbox]){font-size:16px}.account-alert{line-height:1.6}.account-save{padding-inline:28px;min-height:48px;font-weight:600}
.login-page{background:var(--bg)}.login-panel h1{font-size:2.25rem;letter-spacing:-.025em}.login-intro h2{font-size:3rem;letter-spacing:-.025em}.login-panel input{font-size:16px}.login-panel{gap:20px}.login-button{min-height:48px;font-size:16px}.password-control{position:relative;display:block}.password-control input{padding-right:92px}.password-control button{position:absolute;right:4px;top:3px;bottom:3px;min-width:76px;min-height:42px;padding:4px 10px;border-radius:8px;background:transparent;color:var(--muted);font-size:12px}@media (hover:hover) and (pointer:fine){.password-control button:hover{background:var(--glass-hover);color:var(--text)}}.login-error{color:var(--text)!important;border:1px solid #b56060;background:color-mix(in srgb,#b56060 12%,var(--surface))}
@media(min-width:851px) and (max-width:1100px){.topbar{flex-wrap:wrap;gap:14px}.topbar__actions{flex:1;min-width:240px;max-width:none}.topbar .primary-nav button{padding-inline:12px}.search-kind{display:block}.search-kind select{max-width:100px}}
@media(max-width:850px){.dashboard-page .topbar{gap:10px;padding:12px 20px}.dashboard-page .topbar>.brand{font-size:20px}.dashboard-page .topbar #sidebar-toggle{margin-right:52px}.dashboard-page .topbar .primary-nav,.dashboard-page[data-view=services] .topbar .primary-nav{display:none}.dashboard-page main{padding-top:18px}.dashboard-page h1{font-size:2rem}.page-heading{margin-bottom:16px}.home-actions{padding:0 0 16px;margin:0 0 16px}.home-actions>div:first-child{max-width:28ch}.home-actions button{white-space:nowrap}.services-heading{gap:12px}.service-card__links a:first-child{padding-left:0}.mobile-nav{padding-bottom:calc(7px + env(safe-area-inset-bottom))}.casa-panel,.casa-panel.is-wide{position:fixed;top:var(--vv-top,0px);height:var(--vv-height,100dvh);bottom:auto;left:0;right:0;width:100%;max-width:none;border:0;border-radius:0;z-index:100}.casa-header{padding-top:calc(10px + env(safe-area-inset-top))}.casa-form{padding-bottom:calc(10px + env(safe-area-inset-bottom))}.casa-launcher{min-height:48px;bottom:calc(84px + env(safe-area-inset-bottom))}.casa-message{line-height:1.65}.settings-menu__panel{top:68px;max-height:calc(100dvh - 150px)}}
@media(max-width:580px){.dashboard-page h1{font-size:1.75rem}.dashboard-page .topbar{padding-inline:16px}.dashboard-page main{padding-inline:16px}.topbar .settings-menu{right:16px}.service-card{grid-template-columns:46px minmax(0,1fr) auto;gap:6px 12px;padding-right:44px;min-height:124px}.service-card__icon{width:44px;height:44px}.service-card__icon img{width:32px;height:32px}.service-card__content span:last-child{font-size:13px;max-width:25ch}.service-card__favorite{right:-6px;top:10px}.service-card__info-button{right:-6px;bottom:10px}.service-card__links a:first-child{font-size:12px}.services-heading{align-items:center;flex-wrap:wrap}.toolbar-actions{gap:8px}.reset-filters{padding:6px 9px;font-size:12px}.favorite-filter{font-size:12px}.home-actions strong{font-size:13px}.home-actions button{font-size:12px;min-height:44px;padding-inline:12px}.status-summary{column-gap:12px;row-gap:4px;margin-bottom:0}.account-card{padding:20px 16px}.account-shell h1{font-size:1.875rem}.account-shell h2{font-size:1.375rem}.login-panel h1{font-size:1.875rem}.login-panel{padding:28px 24px}.login-intro{padding:22px 24px}}
@media(max-width:380px){.home-actions{align-items:flex-start;flex-direction:column;gap:10px}.service-card{grid-template-columns:40px minmax(0,1fr);padding-right:44px}.service-card__icon{width:40px;height:40px}.service-card__content{grid-column:2}.service-card__status,.service-card__status[data-state=online]{grid-row:3;grid-column:2}.service-card__links{grid-row:4;grid-column:2;justify-content:flex-start}.service-card__info{grid-row:5}.service-card__content strong{font-size:15px}}
@media(prefers-reduced-motion:reduce){button:active:not(:disabled),.service-card__links a:active{transform:none}}
.dashboard-page:has(.service-grid[aria-busy=true]) .status-summary{visibility:hidden}
.server-overview{padding:14px 8px}.server-overview>div{grid-template-columns:minmax(0,1fr) auto;align-content:center;align-items:baseline;gap:3px 10px;padding-inline:16px}.server-overview>div>span{grid-column:1;grid-row:1;font-size:11px}.server-overview>div>strong{grid-column:2;grid-row:1;font-size:21px;line-height:1.3}.server-overview>div>small{grid-column:1/-1;grid-row:2;font-size:11px;line-height:1.4}.server-overview>div>small:empty{display:none}
@media(max-width:850px){.server-overview{gap:12px 0;padding:12px 4px}.server-overview>div{padding-inline:12px;gap:3px 6px}}

/* premium.css */
/* Casa Iazzetti: restrained product controls over the approved satin-glass surface. */
:root{--ui-border:color-mix(in srgb,var(--text) 13%,transparent);--ui-hover:color-mix(in srgb,var(--text) 6%,transparent);--ui-selected:color-mix(in srgb,var(--text) 9%,transparent);--ui-panel:color-mix(in srgb,var(--surface) 97%,transparent);--ui-radius:14px;--ui-ease:cubic-bezier(.2,.8,.2,1)}
.dashboard-page .topbar{padding-block:18px;gap:20px;border-bottom:1px solid var(--ui-border);background:color-mix(in srgb,var(--bg) 80%,transparent)}
.dashboard-page .topbar .brand{font-size:22px;gap:10px}.brand small{font-size:9px;letter-spacing:2.2px}.topbar .brand-mark{font-size:44px;width:34px;height:44px}
.primary-nav{border:1px solid var(--ui-border);border-radius:30px;padding:4px;gap:2px!important;background:color-mix(in srgb,var(--surface) 20%,transparent)}.primary-nav button{min-height:38px;padding:8px 16px;border:0!important;font-size:13px;letter-spacing:0}.primary-nav button[aria-current=page]{background:var(--ui-selected);color:var(--text)}
#sidebar-toggle{display:inline-flex;align-items:center;gap:8px;min-height:44px;min-width:0;border:0;background:transparent;padding:10px 8px;border-radius:10px;font-size:13px;color:var(--muted)}#sidebar-toggle svg{width:17px;height:17px;stroke-width:1.5}#sidebar-toggle[aria-expanded=true]{color:var(--text);background:var(--ui-hover)}@media (hover:hover) and (pointer:fine){#sidebar-toggle:hover{color:var(--text);background:var(--ui-hover)}}
.topbar__actions{gap:8px;min-width:0;max-width:640px}.search{background:color-mix(in srgb,var(--surface) 15%,transparent);border-color:var(--ui-border);height:44px;padding-inline:14px}.search input{font-size:13px}.search kbd{display:none}.search:focus-within{border-color:var(--accent);box-shadow:none}.search-kind select{font-size:12px;border-color:var(--ui-border);min-height:44px;height:44px;padding-inline:12px;background:transparent}.quick-launch{display:grid;place-items:center;min-width:44px;width:44px;height:44px;background:transparent;border:1px solid var(--ui-border);border-radius:50%;color:var(--muted)}.quick-launch svg{width:18px;height:18px;stroke-width:1.5}@media (hover:hover) and (pointer:fine){.quick-launch:hover{background:var(--ui-hover);color:var(--text)}}.user-avatar-button{border-color:var(--ui-border);background:var(--ui-selected);font-size:12px;font-weight:600}
.dashboard-page main{padding-top:28px}.page-heading{align-items:center;margin-bottom:24px}.dashboard-page h1{font-size:2.25rem;line-height:1.2;letter-spacing:-.025em;margin:0 0 8px}#dashboard-subtitle{font-size:14px;line-height:1.5}.header-meta{font-size:11px;opacity:.85}.server-overview{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:color-mix(in srgb,var(--surface) 18%,transparent);padding:14px 8px;margin-bottom:24px}.server-overview>div{border-color:var(--ui-border)}.server-overview>div>strong{font-size:20px;font-weight:550}.server-overview>div>small{font-size:10px}.home-actions{padding-bottom:20px;margin-bottom:24px;border-color:var(--ui-border)}.home-actions strong{font-size:14px;line-height:1.5}.home-actions>div:first-child{gap:4px}.home-actions span{font-size:12px}.home-actions button{display:inline-flex;align-items:center;justify-content:center;border-color:var(--ui-border);background:color-mix(in srgb,var(--text) 3%,transparent);border-radius:24px;min-height:44px;padding:10px 18px;font-size:13px;font-weight:500}@media (hover:hover) and (pointer:fine){.home-actions button:hover{background:var(--ui-hover);border-color:var(--accent)}}
.services-heading{margin-bottom:4px}.services-heading h2{font-size:20px;letter-spacing:-.025em;font-weight:550}.toolbar-actions{gap:12px}.favorite-filter{font-size:12px;color:var(--muted)}.favorite-filter input{width:15px;height:15px}.refresh-button{border-color:var(--ui-border);color:var(--muted);background:transparent;width:40px;min-height:44px}@media (hover:hover) and (pointer:fine){.refresh-button:hover{color:var(--text);background:var(--ui-hover)}}.refresh-button svg{width:18px;height:18px}.reset-filters{border:0;font-size:12px;color:var(--text);padding:8px}.status-summary{font-size:11px;gap:8px 14px;color:var(--muted);margin-bottom:8px}#status-message{opacity:.85}
.service-grid{gap:0 40px}.service-card{grid-template-columns:52px minmax(0,1fr) 44px;min-height:134px;padding:22px 48px 22px 0;gap:5px 16px;border-color:var(--ui-border);border-radius:0;background:transparent;transition:background .18s var(--ui-ease)}@media (hover:hover) and (pointer:fine){.service-card:hover{background:var(--ui-hover)}}.service-card__icon{grid-column:1;grid-row:1/4;width:50px;height:50px;border:1px solid var(--ui-border);border-radius:14px;background:color-mix(in srgb,var(--surface) 18%,transparent)}.service-card__icon img{width:34px;height:34px;object-fit:contain}.service-card__content{grid-column:2;grid-row:1/3;display:flex;text-decoration:none;align-self:end;min-width:0;padding:0}@media (hover:hover) and (pointer:fine){.service-card__content:hover strong{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}}.service-card__content:focus-visible{outline-offset:5px;border-radius:4px}.service-card__content strong{font-size:17px;font-weight:550;line-height:1.4;letter-spacing:-.015em}.service-card__content span:last-child{font-size:13px;line-height:1.5;max-width:36ch;margin-top:4px;-webkit-line-clamp:2}.service-card__status,.service-card__status[data-state=online]{grid-column:2;grid-row:3;justify-self:start;align-self:start;font-size:11px;display:flex;align-items:center;gap:6px;padding:0;margin:2px 0 0;background:transparent;border:0}.service-card__status::before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor;flex-shrink:0}.service-card__links{grid-column:3;grid-row:1/4;align-self:center;display:flex;justify-content:center;min-height:44px;margin:0;padding:0;border:0}.service-card__links a:first-child,:root[data-theme=light] .service-card__links a:first-child{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:1px solid var(--ui-border);border-radius:50%;background:transparent;color:var(--text)}.service-card__links svg{width:19px;height:19px;stroke-width:1.5}@media (hover:hover) and (pointer:fine){.service-card__links a:hover{background:var(--ui-selected);border-color:var(--accent)}}.service-card__favorite{top:15px;right:0;opacity:.6}.service-card__info-button{bottom:15px;right:0;opacity:.6}.service-card__favorite:focus-visible,.service-card__info-button:focus-visible,.service-card__favorite[aria-pressed=true]{opacity:1}@media (hover:hover) and (pointer:fine){.service-card__favorite:hover,.service-card__info-button:hover{opacity:1}}.service-card__favorite svg{width:17px;height:17px}.service-card__info-button svg{width:17px;height:17px}.service-card__info{grid-column:1/-1;grid-row:4;padding-top:18px;margin-top:10px;border-top:1px solid var(--ui-border);font-size:12px}.service-card:has(.service-card__info:not([hidden])) .service-card__info-button{top:70px;bottom:auto}
.dashboard-page .sidebar{inset:auto;top:var(--category-top,100px);left:var(--category-left,24px);bottom:auto;width:280px;max-height:min(480px,calc(100dvh - var(--category-top,100px) - 16px));padding:10px;background:var(--ui-panel);border:1px solid var(--ui-border);border-radius:18px;z-index:70;box-shadow:none;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}.category-menu-heading{padding:12px 12px 14px;border-bottom:1px solid var(--ui-border);margin-bottom:6px}.category-menu-heading h2{font-family:inherit;font-size:14px;font-weight:600;letter-spacing:0;margin:0 0 3px}.category-menu-heading p{font-size:12px;color:var(--muted);margin:0}.dashboard-page .category-filter button{border-radius:9px;min-height:42px;padding:10px 12px;font-size:13px;color:var(--muted);transition:background .15s var(--ui-ease)}@media (hover:hover) and (pointer:fine){.dashboard-page .category-filter button:hover{background:var(--ui-hover);color:var(--text)}}.dashboard-page .category-filter button.is-selected{background:var(--ui-selected);color:var(--text);font-weight:550}.dashboard-page .category-filter button.is-selected::after{content:'';width:6px;height:6px;background:var(--accent);border-radius:50%;margin-left:auto}
.settings-menu__panel{top:58px;width:312px;padding:10px;border-radius:18px;border:1px solid var(--ui-border);background:var(--ui-panel);box-shadow:none;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}.user-menu{padding:14px 12px 16px;margin:0 0 6px;gap:4px;border-color:var(--ui-border)}.user-menu>strong{font-size:16px;font-weight:600}.user-menu #user-display-email{font-size:12px}.role-badge{font-size:11px;color:var(--muted);font-weight:400}.settings-menu__panel .profile-menu-action{display:flex;align-items:center;gap:12px;width:100%;padding:12px;min-height:52px;border:0;background:transparent;border-radius:10px;text-align:left;color:var(--text)}.profile-menu-action>svg{width:19px;height:19px;color:var(--muted);stroke-width:1.5}.profile-menu-action>svg:last-child:not(:first-child){margin-left:auto;width:16px}.profile-menu-action span{display:grid;gap:3px;min-width:0}.profile-menu-action strong{font-size:13px;font-weight:500}.profile-menu-action small{font-size:11px;color:var(--muted);line-height:1.4}@media (hover:hover) and (pointer:fine){.settings-menu__panel .profile-menu-action:hover{background:var(--ui-hover)}}.theme-menu-note{font-size:11px;color:var(--muted);margin:6px 12px;padding:10px 0;border-top:1px solid var(--ui-border);line-height:1.5}.settings-menu__panel .logout-action{min-height:44px}.logout-action strong{font-size:12px}.settings-menu__panel form{margin:0}
.quick-switcher{width:min(580px,calc(100vw - 32px));max-height:min(640px,calc(100dvh - 48px));padding:0;margin:12vh auto auto;border:1px solid var(--ui-border);border-radius:20px;background:var(--surface);color:var(--text);box-shadow:none;overflow:auto;overscroll-behavior:contain}.quick-switcher::backdrop{background:#06242b80;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.quick-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:24px 24px 16px}.quick-header h2{font-family:inherit;font-size:20px;font-weight:600;letter-spacing:-.02em;line-height:1.3;margin:0 0 6px}.quick-header p{font-size:13px;color:var(--muted);margin:0}.quick-close{min-width:44px;height:36px;background:transparent;border:1px solid var(--ui-border);border-radius:9px;color:var(--muted);font-size:11px}@media (hover:hover) and (pointer:fine){.quick-close:hover{background:var(--ui-hover)}}.quick-search-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#quick-query{display:block;width:calc(100% - 48px);margin:0 24px 12px;padding:13px 14px;min-height:48px;border:1px solid var(--ui-border);border-radius:12px;background:var(--bg);color:var(--text);font-size:16px}#quick-query::placeholder{color:var(--muted)}#quick-results{padding:0 10px;max-height:380px;overflow:auto}.quick-option{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;min-height:60px;background:transparent;color:var(--text);border:1px solid transparent;border-radius:10px;text-align:left}.quick-option>span:first-child{display:grid;gap:4px;min-width:0}.quick-option strong{font-size:14px;font-weight:500;overflow-wrap:anywhere}.quick-option small{font-size:11px;color:var(--muted)}.quick-option.is-active{background:var(--accent-soft);border-color:var(--ui-border)}@media (hover:hover) and (pointer:fine){.quick-option:hover{background:var(--accent-soft);border-color:var(--ui-border)}}.quick-option-hint{font-size:11px;color:var(--muted);flex-shrink:0}.quick-result-count{font-size:11px;color:var(--muted);line-height:1.5;margin:12px 24px}.quick-footer{display:flex;justify-content:space-between;gap:12px;padding:12px 24px;border-top:1px solid var(--ui-border);font-size:11px;color:var(--muted)}
.account-shell{max-width:960px}.account-shell header{margin-bottom:24px}.account-shell header p{font-size:14px}.account-back{display:inline-flex;align-items:center;min-height:44px;margin-bottom:20px;font-size:13px;color:var(--muted)}@media (hover:hover) and (pointer:fine){.account-back:hover{color:var(--text)}}.account-section-nav{display:flex;gap:6px;padding:5px;border:1px solid var(--ui-border);border-radius:30px;width:fit-content;margin-bottom:28px;background:color-mix(in srgb,var(--surface) 35%,transparent)}.account-section-nav a{padding:8px 20px;min-height:40px;border-radius:24px;font-size:13px;display:flex;align-items:center}.account-section-nav a:focus-visible{background:var(--ui-selected)}@media (hover:hover) and (pointer:fine){.account-section-nav a:hover{background:var(--ui-selected)}}.account-card{border-color:var(--ui-border);background:color-mix(in srgb,var(--surface) 88%,transparent);margin-block:24px}.account-shell h2{font-family:inherit;font-size:18px;font-weight:600;letter-spacing:-.02em}.account-form label{font-size:13px;font-weight:500}.account-form input:not([type=checkbox]){border-radius:10px;min-height:48px;border-color:var(--ui-border)}.account-form small,.account-note{font-size:12px}.account-confirm{border-color:color-mix(in srgb,var(--accent) 35%,var(--ui-border))}.account-save{min-height:48px;border-radius:12px;font-size:14px;padding-inline:24px}.account-save:disabled{opacity:.7;cursor:wait}#account-save-state:empty{display:none}
.login-shell{max-width:960px;border-radius:22px;border-color:var(--ui-border);background:color-mix(in srgb,var(--surface) 92%,transparent);box-shadow:none}.login-intro{padding:48px;border-color:var(--ui-border)}.login-intro h2{font-size:3rem;line-height:1.1;letter-spacing:-.025em;margin-bottom:20px}.login-intro>p{font-size:14px;line-height:1.7;max-width:28ch}.login-intro>small{font-size:10px;letter-spacing:1px}.login-panel{padding:52px 44px;gap:20px}.login-panel h1{font-size:2rem;line-height:1.2;letter-spacing:-.025em}.login-panel>p{font-size:13px;line-height:1.6}.login-panel label{font-size:13px;gap:8px}.login-panel input{border-color:var(--ui-border);border-radius:10px;min-height:48px}.login-button{min-height:48px;border-radius:12px;font-size:14px;font-weight:550;border-color:color-mix(in srgb,var(--accent) 35%,var(--ui-border));background:var(--ui-selected)}@media (hover:hover) and (pointer:fine){.login-button:hover{background:var(--ui-hover)}}.password-control button{border-radius:8px}
.casa-launcher{gap:10px;border-color:var(--ui-border);background:var(--ui-panel);padding:12px 20px;min-height:50px;box-shadow:none;font-size:13px;font-weight:500}.casa-launcher svg{width:21px;height:21px}.casa-panel{border-color:var(--ui-border);border-radius:18px;background:var(--surface);box-shadow:none}.casa-header strong{font-size:17px;font-weight:600}.casa-header span{font-size:11px}.casa-quick button{border-color:var(--ui-border)}.casa-form textarea{border-radius:12px;border-color:var(--ui-border)}.casa-form button{border-radius:12px;font-size:13px;min-height:48px}.casa-context-label{line-height:1.5}.casa-message{border-color:var(--ui-border)}
@media(max-width:1200px){.dashboard-page .topbar{gap:12px;padding-inline:24px}.dashboard-page .topbar .brand{font-size:19px}.primary-nav button{padding-inline:13px}.service-card{grid-template-columns:48px minmax(0,1fr) 44px;gap:5px 12px}.service-card__icon{width:46px;height:46px}.service-card__status,.service-card__status[data-state=online]{grid-row:3;grid-column:2}.service-card__links{grid-row:1/4;grid-column:3}.service-card__content{grid-row:1/3;grid-column:2}}
@media(min-width:851px) and (max-width:1100px){.dashboard-page .topbar{flex-wrap:wrap;gap:12px}.dashboard-page .topbar>.brand{flex:1}.topbar .primary-nav{order:0}.topbar__actions{order:2;flex-basis:100%;max-width:none}.search-kind{display:block}.search-kind select{max-width:110px}.settings-menu__panel{top:54px}}
@media(max-width:850px){.dashboard-page .topbar{padding:12px 20px;gap:12px}.dashboard-page .topbar .brand{font-size:20px}.dashboard-page .topbar__actions{display:flex;flex-basis:100%;gap:8px;order:2;width:100%;max-width:none}.dashboard-page .topbar .settings-menu{position:absolute;right:20px;top:12px}.dashboard-page .topbar #sidebar-toggle{margin-right:52px}.search{height:44px;min-width:0}.search-kind{display:block}.search-kind select{width:80px;max-width:80px;height:44px;padding-inline:9px}.quick-launch{flex-shrink:0}.dashboard-page main{padding-top:22px}.dashboard-page h1{font-size:1.875rem}.header-meta{display:none}.dashboard-page .sidebar{top:var(--category-top,72px);left:var(--category-left,16px);width:280px;max-width:calc(100vw - 32px);max-height:min(440px,calc(100dvh - var(--category-top,72px) - 16px));padding:10px}.settings-menu__panel{top:64px;right:16px;width:min(320px,calc(100vw - 32px));max-height:calc(100dvh - 144px)}.home-actions{padding-bottom:18px;margin-bottom:20px}.home-actions strong{font-size:13px}.home-actions button{font-size:12px;padding:9px 14px;min-height:44px}.services-heading h2{font-size:19px}.service-grid{gap:0 24px}.mobile-nav{padding:8px 12px calc(8px + env(safe-area-inset-bottom));gap:6px;border-color:var(--ui-border);background:var(--ui-panel)}.mobile-nav button{font-size:12px;min-height:46px;border:0!important;border-radius:12px;color:var(--muted);font-weight:500}.mobile-nav button[aria-current=page]{color:var(--text);background:var(--ui-selected)}.casa-launcher{right:16px;bottom:calc(86px + env(safe-area-inset-bottom));padding:12px 18px}.casa-panel,.casa-panel.is-wide{border-radius:0}.quick-switcher{margin-top:8vh;max-height:calc(100dvh - 32px)}.account-shell{padding-top:24px}.account-section-nav a{padding-inline:18px}.login-shell{width:calc(100% - 32px);margin:24px 0}.login-intro{padding:28px 32px}.login-panel{padding:32px}.login-intro h2{font-size:2.5rem}}
@media(max-width:580px){.dashboard-page .topbar{padding-inline:16px}.dashboard-page .topbar>.brand{gap:8px;max-width:calc(100% - 160px)}.dashboard-page .topbar .brand{font-size:18px}.topbar .brand-mark{font-size:38px;width:28px;height:40px}.brand small{letter-spacing:1.8px;font-size:8px}.dashboard-page .topbar .settings-menu{right:16px}.dashboard-page .topbar #sidebar-toggle{gap:6px;font-size:12px;margin-right:48px;padding-inline:6px}.dashboard-page .topbar__actions{gap:6px}.search{padding-inline:12px}.search input{font-size:13px}.search>svg{width:17px}.search-kind select{width:72px;max-width:72px;font-size:11px}.quick-launch{width:42px;min-width:42px}.dashboard-page h1{font-size:1.75rem}#dashboard-subtitle{font-size:13px;max-width:32ch}.page-heading{margin-bottom:20px}.server-overview{padding:12px 4px;margin-bottom:20px}.server-overview>div>strong{font-size:19px}.home-actions{gap:12px}.home-actions>div:first-child{max-width:23ch}.home-actions strong{font-size:12px}.home-actions button{font-size:11px;padding-inline:12px}.services-heading{align-items:center}.services-heading h2{font-size:18px}.toolbar-actions{gap:6px}.favorite-filter{font-size:11px;gap:5px}.refresh-button{width:36px}.service-grid{grid-template-columns:1fr}.service-card{grid-template-columns:44px minmax(0,1fr) 40px;padding:20px 38px 20px 0;min-height:136px;gap:5px 12px}.service-card__icon{grid-row:1/4;width:44px;height:44px;border-radius:12px}.service-card__icon img{width:32px;height:32px}.service-card__content{grid-row:1/3;grid-column:2;align-self:end}.service-card__content strong{font-size:16px}.service-card__content span:last-child{font-size:12px;line-height:1.5;max-width:30ch}.service-card__status,.service-card__status[data-state=online]{grid-row:3;grid-column:2;font-size:10px}.service-card__links{grid-row:1/4;grid-column:3;min-height:44px}.service-card__links a:first-child{width:40px;height:44px;border-radius:12px}.service-card__favorite{top:12px;right:-7px}.service-card__info-button{bottom:12px;right:-7px}.service-card__info{grid-row:4}.status-summary{font-size:10px;gap:6px 12px;margin-bottom:4px}.quick-header{padding:20px 20px 16px}.quick-header h2{font-size:19px}#quick-query{width:calc(100% - 40px);margin-inline:20px;font-size:16px}.quick-option{padding:12px}.quick-result-count{margin-inline:22px}.quick-footer{padding-inline:22px}.account-shell header h1{font-size:1.875rem}.account-section-nav{width:100%;justify-content:space-between}.account-section-nav a{justify-content:center;flex:1;padding-inline:10px}.account-shell h2{font-size:17px}.account-card{padding:22px 18px}.account-save{width:100%;border-radius:12px}.login-panel{padding:28px 24px}.login-panel h1{font-size:1.875rem}.login-intro{padding:24px}.login-intro h2{display:none}.login-shell{border-radius:18px}.casa-launcher{padding:12px 16px;min-height:48px}}
@media(max-width:380px){.service-card{grid-template-columns:40px minmax(0,1fr) 40px;gap:5px 10px;padding-right:36px}.service-card__content{grid-row:1/3;grid-column:2}.service-card__links{grid-row:1/4;grid-column:3}.service-card__status,.service-card__status[data-state=online]{grid-row:3;grid-column:2}.service-card__info{grid-row:4}.service-card__icon{width:40px;height:40px}.service-card__content strong{font-size:15px}.home-actions{flex-direction:column;align-items:flex-start;gap:10px}.dashboard-page .topbar>.brand{max-width:calc(100% - 150px)}.dashboard-page .topbar .brand{font-size:16px}.brand small{font-size:7px;letter-spacing:1.4px}}
@media(prefers-reduced-motion:reduce){.primary-nav button,.service-card,.category-filter button{transition:none}}

.security-nav-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border-radius:24px;color:inherit;text-decoration:none;font-size:13px}@media (hover:hover) and (pointer:fine){.security-nav-link:hover{background:var(--ui-hover)}}.mobile-nav .security-nav-link{border-radius:12px;min-width:0;padding-inline:6px;font-size:11px}.mobile-nav:has(.security-nav-link){grid-template-columns:repeat(5,minmax(0,1fr))}

/* interaction.css */
/* Shared interaction layer: one navigation, one search and consistent controls. */
:root{--control-radius:12px;--focus-color:var(--accent,#287c80)}
.dashboard-page h1,.security-page h1,.account-page h1{font-family:var(--font-body,Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif);font-size:2rem;font-weight:600;letter-spacing:-.035em;line-height:1.2}
.dashboard-page button,.security-page button,.account-page button{font-family:inherit;cursor:pointer}
.dashboard-page :focus-visible,.security-page :focus-visible,.account-page :focus-visible{outline:2px solid var(--focus-color);outline-offset:4px}
.dashboard-page .topbar,.app-page-header{background:color-mix(in srgb,var(--bg) 94%,transparent);border-bottom:1px solid var(--line);backdrop-filter:blur(16px)}
.app-page-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px max(24px,calc((100vw - 1180px)/2));position:sticky;top:0;z-index:40}
.app-page-header .brand{font-size:20px;flex-shrink:0;text-decoration:none;color:var(--text)}
.app-page-header .brand small{font-size:8px}.app-page-header .brand-mark{font-size:40px;width:32px;height:44px}
.app-primary-nav{display:flex;align-items:center;gap:4px;margin:0;padding:4px;border-radius:14px;background:color-mix(in srgb,var(--text) 4%,transparent)}
.app-primary-nav a,.app-primary-nav button{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border:0;border-radius:10px;color:var(--text);text-decoration:none;font-size:13px;font-weight:500;background:transparent;white-space:nowrap}
.app-primary-nav [aria-current=page]{background:var(--accent-soft);color:var(--text)}@media (hover:hover) and (pointer:fine){.app-primary-nav a:hover,.app-primary-nav button:hover{background:var(--ui-hover)}}
.app-mobile-nav{display:none}.dashboard-page .search-kind{display:block}.dashboard-page .search-kind select{width:100px;max-width:100px;min-height:44px}.search kbd{font-size:10px}.dashboard-page .search{border-radius:12px;background:color-mix(in srgb,var(--bg) 60%,transparent)}
.dashboard-page .service-card{position:relative;border-radius:0}.service-card__content::after{content:'';position:absolute;inset:0;border-radius:12px}.service-card__favorite,.service-card__info-button,.service-card__info{position:relative;z-index:2}.service-card .service-card__favorite,.service-card .service-card__info-button{position:absolute}.service-card__info[hidden]{display:none}@media (hover:hover) and (pointer:fine){.service-card__content:hover strong{text-decoration:none;color:var(--accent)}}
.service-open-arrow{display:flex;align-items:center;justify-content:center;width:40px;height:44px;color:var(--muted);pointer-events:none}.service-open-arrow svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.6;fill:none}@media (hover:hover) and (pointer:fine){.service-card:hover .service-open-arrow{color:var(--text)}}.service-card:focus-within{outline:1px solid var(--focus-color);outline-offset:4px}
.account-shell{max-width:1000px;padding-top:32px}.account-section-nav{border-radius:12px}.account-section-nav a{border-radius:8px}.account-card{border-radius:14px}.account-logout{margin-top:24px}.account-logout button{min-height:44px;padding:10px 16px;border:1px solid var(--line);border-radius:12px;background:transparent;color:var(--text);font:inherit}@media (hover:hover) and (pointer:fine){.account-logout button:hover{background:var(--ui-hover)}}
.casa-header button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border-radius:10px}.casa-header button svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}.casa-panel .casa-form textarea{border-radius:14px;font-size:16px;line-height:1.6}.casa-panel .casa-form button{border-radius:12px;min-height:44px}.casa-panel .casa-message{line-height:1.75}.casa-panel .casa-memory summary{min-height:44px;padding-block:12px}.casa-copy{min-height:44px}.security-page .security-heading h1{font-size:2rem}
@media(min-width:851px){.app-page-header .app-primary-nav{display:flex}.dashboard-page .topbar .app-primary-nav{display:flex}.app-mobile-nav{display:none!important}}
@media(max-width:1100px) and (min-width:851px){.dashboard-page .topbar{flex-wrap:wrap}.dashboard-page .topbar__actions{flex:1;max-width:none}.dashboard-page .topbar>.brand{font-size:18px}.dashboard-page .app-primary-nav button,.dashboard-page .app-primary-nav a{padding-inline:10px}}
@media(max-width:850px){.app-page-header{padding:16px 20px}.app-page-header .app-primary-nav,.dashboard-page .topbar .app-primary-nav{display:none}.app-mobile-nav{position:fixed;inset:auto 0 0;z-index:50;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:0;padding:7px 12px calc(7px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:color-mix(in srgb,var(--bg) 95%,transparent);backdrop-filter:blur(16px)}.app-mobile-nav:has(a[href="/security.php"]){grid-template-columns:repeat(5,minmax(0,1fr))}.app-mobile-nav a,.app-mobile-nav button{display:flex;align-items:center;justify-content:center;min-height:48px;min-width:0;padding:8px 4px;text-decoration:none;font:500 11px/1.2 inherit;font-family:inherit;font-size:11px;color:var(--text);background:transparent;border:0;border-radius:12px}.app-mobile-nav [aria-current=page]{background:var(--accent-soft)}@media (hover:hover) and (pointer:fine){.app-mobile-nav a:hover,.app-mobile-nav button:hover{background:var(--ui-hover)}}.account-shell,.security-shell{padding-bottom:calc(100px + env(safe-area-inset-bottom))}.dashboard-page .topbar .settings-menu{display:none}.dashboard-page .topbar #sidebar-toggle{margin-right:0}.dashboard-page .topbar>.brand{max-width:calc(100% - 108px)}.dashboard-page .topbar__actions{gap:8px}.dashboard-page .search-kind select{width:90px;max-width:90px}.dashboard-page .search{flex:1;min-width:0}.dashboard-page .search input{width:100%;min-width:0}.dashboard-page h1,.security-page h1,.account-page h1{font-size:1.75rem}.casa-launcher{bottom:calc(82px + env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){.app-page-header,.service-card,.casa-panel{transition:none!important}}
.login-page .login-panel h1{font-family:inherit;font-size:1.875rem;font-weight:600;letter-spacing:-.035em}.login-page .login-panel input{border-radius:12px;min-height:48px}.login-page .login-button{border-radius:12px;min-height:48px}input[type=checkbox]{accent-color:var(--accent)}.account-page #folder-filter-state:empty{display:none}

/* site-style.css */
/* Reference-led visual language; Casa Iazzetti identity and palette. */
:root{--site-ease:cubic-bezier(.16,1,.3,1)}
body::before{display:none!important}body{background:var(--bg);font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}
.dashboard-page .brand,.app-page-header .brand,.login-page .brand{font-family:Arial,Helvetica,sans-serif;font-size:20px!important;font-weight:600;letter-spacing:-.04em;gap:0}.brand .brand-mark,.brand small{display:none!important}
.dashboard-page .topbar,.app-page-header{min-height:72px;padding:12px 32px;gap:26px;border:0;background:var(--bg);backdrop-filter:none;box-shadow:none;position:sticky;top:0;z-index:40;flex-wrap:nowrap}
.dashboard-page .topbar>.brand{font-size:20px;flex-shrink:0}.topbar .app-primary-nav,.app-page-header .app-primary-nav{background:none;border:0;padding:0;gap:8px;box-shadow:none;border-radius:0;margin:0}.app-primary-nav button,.app-primary-nav a{font-size:13px!important;font-weight:400!important;min-height:44px;padding:10px 12px!important;border:0!important;border-radius:0!important;background:none!important;color:var(--text);transition:opacity .18s ease}.app-primary-nav [aria-current=page]{opacity:1;font-weight:600!important}@media (hover:hover) and (pointer:fine){.app-primary-nav:hover>a:not(:hover),.app-primary-nav:hover>button:not(:hover){opacity:.6}}.dashboard-page .topbar__actions{flex:0 0 auto;max-width:none;min-width:0;margin-left:auto;width:auto}
.dashboard-page .topbar #sidebar-toggle{width:auto;margin:0;padding:10px 12px;gap:7px;border:0;background:none;border-radius:0;font-size:13px;font-weight:400}.topbar #sidebar-toggle>svg:first-child{display:none}.topbar #sidebar-toggle .explore-chevron{display:block;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5;transition:transform .2s var(--site-ease)}.topbar #sidebar-toggle[aria-expanded=true] .explore-chevron{transform:rotate(180deg)}
.dashboard-page .topbar .settings-menu{position:relative;top:auto;right:auto}.settings-menu .user-avatar-button{display:flex;align-items:center;gap:8px;width:auto;min-height:40px;height:40px;padding:0 18px;border:0;border-radius:999px;background:var(--surface);font-size:13px;font-weight:400;color:var(--text)}#user-avatar-initials{display:none}.user-avatar-button svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5}@media (hover:hover) and (pointer:fine){.user-avatar-button:hover{background:var(--surface-hover)}}.settings-menu__panel{top:52px;border-radius:16px;box-shadow:none;background:var(--surface);border:1px solid var(--line)}
.dashboard-page main{max-width:1280px;margin:0 auto;padding:0 32px 48px}.dashboard-page .site-search-hero{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;margin:0;padding:70px 0 56px;gap:0;min-height:320px}.site-search-hero>div:first-child{width:100%;max-width:800px}.dashboard-page .site-search-hero h1{font:500 30px/1.25 Arial,Helvetica,sans-serif;letter-spacing:-.025em;margin:0 0 12px}.site-search-hero #dashboard-subtitle{font-size:13px;color:var(--muted);margin:0 0 24px}.site-search-box{width:min(768px,100%)}.site-search-box .search{display:flex;width:100%;min-height:96px;height:96px;padding:24px;border:0;border-radius:24px;background:var(--surface);gap:12px;box-shadow:none}.site-search-box .search input{width:100%;font:400 16px/1.5 Arial,Helvetica,sans-serif;background:none;color:var(--text);min-width:0}.site-search-box .search input::placeholder{color:var(--muted);opacity:1}.site-search-box .search>svg{width:20px;flex-shrink:0}.site-search-box .search kbd{font-family:inherit;color:var(--muted);font-size:12px}.site-search-box .search-kind{display:none!important}.site-search-filters{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:20px}.site-search-filters button{padding:10px 18px;min-height:40px;border:1px solid var(--line);border-radius:999px;background:none;color:var(--text);font-size:13px;font-weight:400;transition:background .18s ease,transform .18s var(--site-ease)}@media (hover:hover) and (pointer:fine){.site-search-filters button:hover{background:var(--surface)}}.site-search-filters button:active{transform:scale(.97)}.site-search-filters button[aria-pressed=true]{background:var(--text);border-color:var(--text);color:var(--bg)}.site-search-hero .header-meta{display:none}
.dashboard-page .server-overview{background:none;border:0;border-block:1px solid var(--line);border-radius:0;padding:20px 0;margin-bottom:40px}.server-overview>div>strong{font-size:20px}.dashboard-page .services-heading h2{font-size:23px;font-weight:500}.dashboard-page .service-grid{gap:0 40px}.dashboard-page .service-card{border-radius:0;padding-top:28px;padding-bottom:28px;min-height:144px;background:none!important}.service-card__content strong{font-weight:500;font-size:19px;line-height:1.4}.service-card__content span:last-child{font-size:13px;line-height:1.6}.service-card__icon{border:0;border-radius:12px;background:var(--surface)}.service-card__favorite,.service-card__info-button{opacity:.7;transition:opacity .18s ease}@media (hover:hover) and (pointer:fine){.service-card__favorite:hover,.service-card__info-button:hover{opacity:1}}.service-card__info{background:var(--surface);border-radius:12px;padding:16px}.refresh-button,.reset-filters{border-radius:999px}.document-result{border-radius:0}.document-result a{min-height:40px;padding:10px 18px;border-radius:999px;background:var(--surface)}
.dashboard-page #category-drawer{position:fixed;left:0!important;right:0;top:var(--site-header-height,72px)!important;width:100%;max-width:none;max-height:70dvh;bottom:auto;padding:32px;box-shadow:none;border:0;border-radius:0;background:var(--bg);z-index:39;transform:none!important;visibility:visible;opacity:1;transition:opacity .2s var(--site-ease),visibility .2s;overflow:auto}.dashboard-page.sidebar-collapsed #category-drawer{visibility:hidden;opacity:0;pointer-events:none}.dashboard-page #category-drawer .sidebar-heading{padding:0 0 20px;border:0}.dashboard-page #category-drawer h2{font-size:13px;font-weight:400;color:var(--muted);margin:0 0 8px}.dashboard-page #category-drawer p{display:none}.dashboard-page #category-filter{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px 24px;max-width:1000px}.dashboard-page #category-filter button{min-height:52px;padding:8px 0!important;text-align:left;font-size:23px;font-weight:400;border:0!important;background:none!important;border-radius:0!important;color:var(--text)}@media (hover:hover) and (pointer:fine){.dashboard-page #category-filter button:hover{opacity:.65}}.dashboard-page #category-filter button::after{display:none}.dashboard-page:not(.sidebar-collapsed) main,.dashboard-page:not(.sidebar-collapsed) footer{filter:blur(6px);pointer-events:none}.dashboard-page main{transition:filter .2s ease}
.account-shell,.security-shell{max-width:1160px}.account-section-nav{background:none;border:0;padding:0;gap:8px}.account-section-nav a{border:1px solid var(--line);border-radius:999px;padding:10px 18px;font-size:13px}.account-card{background:none;border:0;border-top:1px solid var(--line);border-radius:0;padding:28px 0;box-shadow:none}.account-shell h1,.security-page .security-heading h1{font-weight:500;font-size:32px;letter-spacing:-.025em}.account-card h2{font-weight:500}.account-fields input,.account-confirm input,.folder-search input{border-radius:12px!important;background:var(--surface)!important}.account-save,.account-logout button,.security-page #security-refresh{border-radius:999px}.account-save{background:var(--text);color:var(--bg)}.security-health,.security-event{border-radius:16px}.security-page button,.security-page select{border-radius:999px}.login-shell{background:none;border:0;box-shadow:none;border-radius:0}.login-panel{background:var(--surface);border-radius:24px}.login-panel h1{font-weight:500}.login-button{border-radius:999px!important;background:var(--text);color:var(--bg)}.login-intro h2{font-family:Arial,Helvetica,sans-serif;font-weight:400;letter-spacing:-.03em}.casa-launcher{border-radius:999px;background:var(--text);color:var(--bg);box-shadow:none;border:0}.casa-panel{border-radius:24px;box-shadow:none;border:1px solid var(--line);background:var(--bg)}.casa-panel .casa-form textarea{border:0;background:var(--surface);border-radius:24px}.casa-message.user{background:var(--surface);border-radius:20px}.casa-header button{border-radius:999px}.casa-panel .casa-form button{border-radius:999px;background:var(--text);color:var(--bg)}
@media(max-width:850px){.dashboard-page .topbar,.app-page-header{min-height:64px;padding:10px 20px;gap:16px}.dashboard-page .topbar>.brand{max-width:none;flex:1}.dashboard-page .topbar #sidebar-toggle{padding:8px 0;margin:0;font-size:13px}.dashboard-page .topbar__actions{display:none}.dashboard-page main{padding-inline:20px}.dashboard-page .site-search-hero{padding:40px 0 36px;min-height:270px}.dashboard-page .site-search-hero h1{font-size:26px;max-width:24ch;margin-inline:auto}.site-search-hero #dashboard-subtitle{margin-bottom:20px}.site-search-box .search{min-height:88px;height:88px;border-radius:22px;padding:18px}.site-search-box .search input{font-size:15px}.site-search-box .search kbd{display:none}.site-search-filters{margin-top:16px;gap:8px}.site-search-filters button{padding:9px 16px;font-size:12px;min-height:40px}.dashboard-page .server-overview{padding:18px 0;margin-bottom:28px}.dashboard-page .services-heading h2{font-size:21px}.dashboard-page .service-card{min-height:136px;padding-top:24px;padding-bottom:24px}.service-card__content strong{font-size:17px}.dashboard-page #category-drawer{padding:24px 20px}.dashboard-page #category-filter{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}.dashboard-page #category-filter button{font-size:22px;min-height:50px}.app-mobile-nav{background:var(--bg);backdrop-filter:none}.app-mobile-nav a,.app-mobile-nav button{border-radius:999px}.casa-panel{border:0;border-radius:0}.security-shell,.account-shell{padding-top:28px}.account-shell h1,.security-page .security-heading h1{font-size:28px}}
@media(prefers-reduced-motion:reduce){.dashboard-page main,.dashboard-page #category-drawer,.site-search-filters button,.app-primary-nav>*{transition:none!important}}
.dashboard-page[data-view=server] .site-search-hero{align-items:flex-start;text-align:left;padding:32px 0;min-height:0}.dashboard-page[data-view=server] .site-search-box,.dashboard-page[data-view=server] .site-search-filters,.dashboard-page[data-view=server] #dashboard-subtitle{display:none}.dashboard-page[data-view=services] .site-search-hero{padding-block:40px;min-height:260px}
.site-search-hero #dashboard-subtitle{max-width:none;text-align:center;margin-left:auto;margin-right:auto}

:root{--ease-out:cubic-bezier(.23,1,.32,1);--press-duration:120ms}html{-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%}button,a,summary{touch-action:manipulation}button,summary,.app-mobile-nav a,.app-primary-nav a{-webkit-user-select:none;user-select:none}button:not(:disabled),summary,.app-mobile-nav a{transition:transform var(--press-duration) var(--ease-out),background-color 120ms ease}button:not(:disabled):active,summary:active,.app-mobile-nav a:active{transform:scale(.97)}.using-keyboard button:active,.using-keyboard a:active,.using-keyboard summary:active{transform:none!important;transition:none!important}.service-card .service-card__favorite,.service-card .service-card__info-button{width:44px;min-width:44px;height:44px;min-height:44px}.account-save-bar{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:45;width:min(720px,calc(100% - 40px));display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:0 8px 24px #001b231a}.account-save-bar span{font-size:13px}.account-save-bar .account-save{width:auto;margin:0;min-height:44px}.account-save-bar:has(button:disabled){display:none}.account-page .account-shell{padding-bottom:180px}.account-alert[role=status]{animation:saved-feedback 160ms var(--ease-out)}@keyframes saved-feedback{from{opacity:.6}to{opacity:1}}#casa-stop{align-self:end;margin:0 16px 8px;padding:10px 16px;min-height:44px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--text)}#casa-stop[hidden]{display:none}.casa-retry{min-height:44px;padding:8px 14px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--text)}.casa-message--user:has(.casa-retry){outline:1px solid var(--line)}@media(max-width:850px){.dashboard-page .site-search-box .search input,.account-page input,.security-page select{font-size:16px!important}.account-save-bar{bottom:calc(82px + env(safe-area-inset-bottom));padding:10px 12px;gap:12px}.account-save-bar span{font-size:12px}.account-save-bar .account-save{padding:10px 14px}.account-page .account-shell{padding-bottom:calc(200px + env(safe-area-inset-bottom))}.app-mobile-nav>a{font-size:12px}.casa-transcript{overscroll-behavior:contain}}@media(prefers-reduced-motion:reduce){button,a,summary,.account-alert[role=status]{animation:none;transition:none!important}button:active,summary:active,.app-mobile-nav a:active{transform:none}}

/* Occasional surfaces share a short, reversible path. Navigation stays immediate. */
:root{--motion-popover:180ms;--motion-exit:120ms;--ease-drawer:cubic-bezier(.32,.72,0,1)}
.app-header .settings-menu__panel{
  transform-origin:top right;
  opacity:1;transform:none;
  transition:opacity var(--motion-popover) var(--ease-out),transform var(--motion-popover) var(--ease-out);
}
@supports selector(details::details-content){
  .app-header .settings-menu::details-content{
    transition:content-visibility var(--motion-popover) allow-discrete;
  }
  .app-header .settings-menu:not([open]) .settings-menu__panel{
    opacity:0;transform:translateY(-4px) scale(.97);pointer-events:none;
    transition-duration:var(--motion-exit);
  }
}
.dashboard-page .category-control #category-drawer{
  display:block;opacity:1;transform:none;transform-origin:top right;
  transition:opacity var(--motion-popover) var(--ease-out),transform var(--motion-popover) var(--ease-out),display var(--motion-popover) allow-discrete;
  backdrop-filter:none;-webkit-backdrop-filter:none;
}
body.dashboard-page.sidebar-collapsed .category-control #category-drawer{
  display:none;opacity:0;transform:translateY(-4px) scale(.97);pointer-events:none;
  transition-duration:var(--motion-exit);
}
.category-filter-trigger svg{transition:transform var(--motion-popover) var(--ease-out)}
/* The chat controller owns entry/exit and reads the current presentation on reversal. */
.casa-panel{animation:none!important;transition:none!important;transform-origin:bottom right}
.account-save-bar{
  opacity:1;transform:translateX(-50%) translateY(0);
  transition:opacity 180ms var(--ease-out),transform 180ms var(--ease-out),display 180ms allow-discrete;
}
.account-save-bar:has(button:disabled){opacity:0;transform:translateX(-50%) translateY(12px);pointer-events:none}
@starting-style{
  .app-header .settings-menu[open] .settings-menu__panel{opacity:0;transform:translateY(-4px) scale(.97)}
  .dashboard-page:not(.sidebar-collapsed) .category-control #category-drawer{opacity:0;transform:translateY(-4px) scale(.97)}
  .account-save-bar{opacity:0;transform:translateX(-50%) translateY(12px)}
}
@media(max-width:850px){.dashboard-page .category-control #category-drawer{transform-origin:top left}.casa-panel{transform-origin:bottom center}}
/* No added translucency: the existing solid surfaces also suit reduced transparency. */
@media(prefers-reduced-transparency:reduce){.app-header .settings-menu__panel,.dashboard-page #category-drawer,.casa-panel,.account-save-bar{backdrop-filter:none;-webkit-backdrop-filter:none;background:var(--surface)}}
@media(prefers-contrast:more){.app-header .settings-menu__panel,.dashboard-page #category-drawer,.casa-panel,.account-save-bar{border-color:var(--text);box-shadow:none}}
/* Keyboard interactions never wait for motion; older browsers keep native visibility. */
.using-keyboard .settings-menu::details-content,.using-keyboard .settings-menu__panel,.using-keyboard .category-control #category-drawer,.using-keyboard .category-filter-trigger svg,.using-keyboard .account-save-bar{transition:none!important}
@media(prefers-reduced-motion:reduce){
  .app-header .settings-menu::details-content,.app-header .settings-menu__panel,.dashboard-page .category-control #category-drawer,.category-filter-trigger svg,.account-save-bar{transition:none!important}
  .app-header .settings-menu:not([open]) .settings-menu__panel{transform:none}
  body.dashboard-page.sidebar-collapsed .category-control #category-drawer{transform:none}
}
