﻿:root{--shell-bg:#f7f8fa;--shell-nav:#e8eef5;--shell-card:#fff;--shell-text:#253648;--shell-line:#e1e6ed;--shell-accent:#2674da;--shell-selected:#e0edff}
html[data-fnd-theme=dark]{--shell-bg:#111b28;--shell-nav:#172333;--shell-card:#1d2a3b;--shell-text:#e5edf6;--shell-line:#344358;--shell-selected:#243f61}
body.shared-shell{margin:0;padding-left:176px;background:var(--shell-bg);color:var(--shell-text);font:15px/1.6 system-ui,sans-serif}.shared-shell *{box-sizing:border-box}.shared-shell>main{margin:0;max-width:none;padding:24px 28px}.shared-shell #sharedNavigation{position:fixed;inset:0 auto 0 0;width:176px;padding:12px;background:var(--shell-nav);border-right:1px solid var(--shell-line);display:flex;flex-direction:column;gap:5px;overflow-y:auto;z-index:100}.shared-shell #sharedNavigation>a,.shared-shell #sharedNavigation>button{display:flex;align-items:center;gap:5px;min-height:44px;padding:10px 12px;margin:0;width:100%;border:0;border-radius:8px;background:transparent;color:var(--shell-text);font:15px system-ui;text-decoration:none;text-align:left;cursor:pointer}.shared-shell #sharedNavigation .shared-logo{height:72px;font-weight:700;gap:8px;padding:4px}.shared-logo img{width:66px;height:auto}.shared-shell #sharedNavigation .active,.shared-shell #sharedNavigation>a:hover{background:var(--shell-selected);color:var(--shell-accent)}.shared-shell #sharedNavigation .primary{background:var(--shell-accent);color:white;margin-top:16px}.shared-shell #sharedNavigation [data-fnd-controls]{margin-top:12px}
.shared-shell h1{font-size:26px;line-height:1.3;letter-spacing:normal}.shared-shell h2{font-size:21px}.shared-shell main header{background:transparent;color:var(--shell-text);padding:0}.shared-shell main section:not(.cards),.shared-shell article,.shared-shell dialog{background:var(--shell-card);color:var(--shell-text);border-color:var(--shell-line)}.shared-shell a{color:var(--shell-accent)}.shared-shell button,.shared-shell input,.shared-shell select,.shared-shell textarea{font:inherit}.shared-shell button,.shared-shell input{background:var(--shell-card);color:var(--shell-text);border:1px solid var(--shell-line)}.shared-shell #guide nav a{background:var(--shell-accent);color:white}.shared-shell main p,.shared-shell pre{overflow-wrap:anywhere}.shared-shell #status{background:var(--shell-card)}.shared-shell #sharedMenu,.shared-shell #sharedMask{display:none}.shared-shell dialog{max-width:calc(100vw - 24px);max-height:90dvh;overflow:auto}.shared-shell #cwNoticeToast{top:12px;bottom:auto;max-width:min(340px,calc(100vw - 32px))}
@media(max-width:760px){body.shared-shell{padding-left:0}.shared-shell>main{padding:16px}.shared-shell #sharedMenu{display:block;margin:12px 16px;padding:10px;border-radius:8px}.shared-shell #sharedNavigation{width:210px;transform:translateX(-100%);visibility:hidden;z-index:121}.shared-shell #sharedNavigation.open{transform:none;visibility:visible}.shared-shell #sharedMask:not([hidden]){display:block;position:fixed;inset:0;width:100%;height:100%;border:0;background:#10203366;z-index:120}.shared-shell .cards{grid-template-columns:minmax(0,1fr)}.shared-shell .filters #q{min-width:0}.shared-shell main section{padding:16px}.shared-shell main>header{flex-wrap:wrap}.shared-shell h1{font-size:24px}}
@media print{.shared-shell #sharedNavigation,.shared-shell #sharedMenu{display:none!important}body.shared-shell{padding:0}}
