/* Shared screen shell on the Gemini themes: a fixed section rail, the work area to its right. */
/* Nordic Slate defaults for pages outside the cabinet scope; named themes in themes.css override them. */
:root{--ink:#0f172a;--muted:#64748b;--line:#e2e8f0;--surface:#fff;--wash:#f1f5f9;--blue:#3b38c8;--soft:#eef2ff;--accent-text:#fff;--hover:#2f2ca8;--field:#fff;--focus:#3b38c8}
body.kino-shell [hidden]{display:none!important}
body.kino-shell{margin:0;background:var(--wash);color:var(--ink);font-family:Onest,'Segoe UI',system-ui,sans-serif}
body.kino-shell ::selection{background:color-mix(in srgb,var(--blue) 28%,transparent)}
body.kino-shell :focus-visible{outline:3px solid var(--focus,var(--blue));outline-offset:2px}
body.kino-shell .kino-shell-nav{position:fixed;inset:0 auto 0 0;width:236px;overflow-y:auto;background:var(--surface);border-right:1px solid var(--line);padding:24px 14px;box-sizing:border-box;display:flex;flex-direction:column;gap:6px;z-index:20;scrollbar-width:thin;scrollbar-color:var(--line) transparent}
body.kino-shell .kino-shell-brand{display:block;font-family:Unbounded,Onest,sans-serif;font-size:22px;font-weight:600;letter-spacing:-.03em;color:var(--ink);text-decoration:none;padding:0 10px 18px}
body.kino-shell .kino-shell-brand span{display:block;font-family:Onest,sans-serif;font-size:11px;font-weight:400;letter-spacing:0;color:var(--muted);margin-top:4px}
body.kino-shell .kino-shell-nav a{display:block;padding:9px 10px;border-radius:8px;color:var(--ink);text-decoration:none;font-size:14px;line-height:1.3}
body.kino-shell .kino-shell-nav a:hover{background:var(--soft)}
body.kino-shell .kino-shell-nav a[aria-current=page]{background:var(--blue);color:var(--accent-text);font-weight:600}
body.kino-shell .kino-shell-group{margin-top:14px}
body.kino-shell .kino-shell-group h2{font-size:12px;font-weight:600;color:var(--muted);margin:0 10px 4px;letter-spacing:0}
body.kino-shell .kino-shell-group summary{font-size:13px;font-weight:600;color:var(--muted);padding:9px 10px;cursor:pointer;border-radius:6px;line-height:1.4}
body.kino-shell .kino-shell-group summary:hover{background:var(--soft);color:var(--ink)}
body.kino-shell .kino-shell-group[open] summary{color:var(--ink);margin-bottom:3px}
body.kino-shell .kino-shell-group a{margin-left:8px;font-size:13px}
body.kino-shell .kino-shell-who{margin-top:auto;padding:14px 10px 0;border-top:1px solid var(--line);font-size:12px;line-height:1.5;color:var(--muted)}
body.kino-shell .kino-shell-error{font-size:13px;color:var(--muted);padding:0 10px}
body.kino-shell .kino-shell-toggle{display:none}
body.kino-shell .kino-icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
body.kino-shell>:is(main,.shell){margin-left:236px;min-height:100vh;box-sizing:border-box}
@media(max-width:900px){
 body.kino-shell>:is(main,.shell){margin-left:0}
 body.kino-shell .kino-shell-nav{transform:translateX(-100%);transition:transform .2s cubic-bezier(.2,.8,.2,1);box-shadow:0 12px 32px rgba(15,23,42,.18)}
 body.kino-shell .kino-shell-nav.open{transform:none}
 body.kino-shell .kino-shell-toggle{display:inline-flex;align-items:center;gap:6px;position:fixed;top:10px;right:12px;z-index:30;min-height:40px;padding:0 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);font:inherit;font-size:13px}
}
@media(prefers-reduced-motion:reduce){body.kino-shell .kino-shell-nav{transition:none}}
/* Pages that had a rail of their own: the shell replaces it, the old left offset goes. */
html body.kino-shell:is(.desk-page,.network-overview-page) main.access-workspace{padding-left:32px;padding-right:32px}
@media(max-width:900px){html body.kino-shell:is(.desk-page,.network-overview-page) main.access-workspace{padding:56px 16px 24px}}
html body.kino-shell main .current-site{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:0 0 16px}
html body.kino-shell main .current-site #current-context{margin:0;padding:0;font-size:13px;font-weight:400;line-height:1.5;color:var(--muted)}
html body.kino-shell main .current-site #current-actions{display:flex;flex-wrap:wrap;gap:6px;margin:0}
html body.kino-shell main .current-site #current-actions a{color:var(--ink);font-size:12px;line-height:1.3;padding:7px 11px;border:1px solid var(--line);border-radius:6px;background:var(--surface);text-decoration:none}
html body.kino-shell main .current-site #current-actions a:hover{background:var(--soft);color:var(--ink)}
/* Interface language: two small buttons at the foot of the menu, the current one pressed. */
.lang-switch{display:inline-flex;gap:2px;padding:2px;border:1px solid var(--line);border-radius:8px;margin:8px 10px 0}
.lang-switch button{min-height:0;padding:4px 10px;font-size:13px;border:0;border-radius:6px;background:transparent;color:var(--muted);cursor:pointer}
.lang-switch button[aria-pressed="true"]{background:var(--soft);color:var(--ink);font-weight:650}
.lang-switch button:focus-visible{outline:2px solid var(--blue);outline-offset:1px}
