/* Palette recovered from pre-Bionic6751a50 research-calm.css. Current application/permissions retained. */
@font-face{font-family:Inter;src:url('/static/fonts/Inter.ttf') format('truetype');font-weight:100 900;font-display:swap}
:root{--calm-paper:#f7f9f8;--calm-ink:#172b32;--calm-muted:#4a6067;--calm-line:#d6e1e1;--calm-accent:#185d69;--bg:#f7f9f8;--panel:#fff;--panel2:#edf3f2;--border:#d6e1e1;--text:#172b32;--muted:#4a6067;--teal:#185d69;--amber:#7a4b00;--red:#a32f45;--bt-focus:#207386;--bt-ease:cubic-bezier(.2,0,0,1)}
body.v21-shell{background:var(--bg);background-image:none;color:var(--text);font-family:Inter,system-ui,sans-serif;padding-right:0}.v21-shell .nb-header{background:var(--bg);box-shadow:none;backdrop-filter:none}.v21-shell .nb-wordmark{font-size:18px}.v21-shell .nb-wordmark img{width:24px;height:24px}.v21-shell button.primary,.v21-shell .button.primary{background:var(--calm-accent);border-color:var(--calm-accent);color:#fff}.v21-shell input,.v21-shell textarea,.v21-shell select{background:#fff;color:var(--text);border-color:#6f858b}.v21-shell input::placeholder,.v21-shell textarea::placeholder{color:#596e75;opacity:1}
.v21-shell .nb-home-explore{background:transparent;color:var(--text);border:1px solid #6f858b;min-height:44px;padding:8px 14px;font:inherit;border-radius:8px}.v21-shell:not(.nb-minimal-home) .nb-home-explore{display:none}.v21-shell .nb-explore-groups section{display:flex;flex-direction:column;gap:8px}.v21-shell .nb-explore-groups section a{padding:10px 12px;border:1px solid var(--border);border-radius:8px;min-height:44px}
.v21-shell .nb-navigation-dialog,.v21-shell #syn-help,.v21-shell .syn-greeting{background:#fff;color:var(--text)}.v21-shell #syn-help a{color:var(--calm-accent);text-decoration:underline}.v21-shell #syn-help button,.v21-shell #syn-help input{color:var(--text);background:#fff;border-color:#6f858b}.v21-shell #syn-help header,.v21-shell .nb-navigation-dialog>header{position:sticky;top:0;background:#fff;z-index:2}.v21-shell .syn-launcher #ask-syn{color:var(--text);background:#fff}.v21-shell .syn-dismiss{min-width:44px;min-height:44px;color:var(--text)}
.v21-shell :focus-visible,.v21-shell .structured-workspace .study-select:focus-visible,.v21-shell #ask-syn:focus-visible,.v21-shell #syn-help :focus-visible{outline:3px solid var(--bt-focus);outline-offset:4px;box-shadow:0 0 0 2px #fff}.v21-shell main p a,.v21-shell main dd a,.v21-shell main td a{text-decoration:underline;text-underline-offset:4px}.v21-shell .proof-record{border:1px solid #6f858b;background:#fff;padding:20px;border-radius:10px;scroll-margin-top:24px}.v21-shell .study-select{color:var(--text)}.bt-table-scroll{max-width:100%;overflow:auto}.v21-shell footer{background:var(--bg);color:var(--muted);border-color:var(--border)}
.nb-minimal-home .nb-header{max-width:1120px;min-height:88px;padding:20px 28px;border:0;gap:16px}.nb-minimal-home .nb-account{margin-left:auto;gap:14px;display:flex;align-items:center}.nb-minimal-home .nb-search-trigger,.nb-minimal-home .nb-location,.nb-minimal-home>.nb-bottom-nav{display:none}.nb-minimal-home main{margin:0;padding:0}.nb-minimal-home .question-home{max-width:760px;margin:0 auto;padding:clamp(64px,12vh,130px) 24px 80px;min-height:calc(100svh - 190px);display:block;text-align:left}.nb-minimal-home .question-home h1{font-size:clamp(2.4rem,6vw,3.7rem);line-height:1.12;letter-spacing:-.045em;font-weight:550;margin:0 0 20px}.nb-minimal-home .home-description{font-size:18px;line-height:1.65;max-width:600px;margin:0 0 34px;color:var(--muted)}.nb-minimal-home .question-form{padding:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;border:0;box-shadow:none;background:transparent;max-width:none}.nb-minimal-home .question-form label{display:block;position:static;grid-column:1/-1;font-size:14px;font-weight:600;clip:auto;width:auto;height:auto;color:var(--text)}.nb-minimal-home .question-form input{padding:16px;min-height:56px;border:1px solid #6f858b;border-radius:10px;background:#fff}.nb-minimal-home .question-form button{padding:14px 20px;min-height:56px;border-radius:10px;font-size:16px;white-space:nowrap}.nb-minimal-home .home-example{font-size:14px;margin:18px 0 0}.nb-minimal-home .home-example a{color:var(--calm-accent);text-decoration:underline;text-underline-offset:4px}.nb-minimal-home .quiet-footer{padding:24px 28px;max-width:1120px;margin:auto;display:flex;gap:24px;border-top:1px solid var(--border);font-size:13px}.nb-minimal-home .draft-recovery-note,.nb-minimal-home .draft-clear{display:none}.nb-minimal-home .syn-launcher{right:20px;left:auto;bottom:22px;width:150px}.nb-minimal-home .syn-avatar{width:48px;height:48px}.nb-minimal-home .syn-greeting{max-width:180px}
@media(max-width:760px){.nb-minimal-home .nb-header{padding:18px;gap:10px}.nb-minimal-home .nb-wordmark{font-size:16px}.nb-minimal-home .nb-account{font-size:13px;gap:10px}.nb-minimal-home .nb-home-explore{font-size:13px;padding:8px 10px}.nb-minimal-home .question-home{padding:68px 22px 140px;min-height:calc(100svh - 160px)}.nb-minimal-home .home-description{font-size:16px}.nb-minimal-home .question-form{grid-template-columns:1fr}.nb-minimal-home .question-form button{width:100%}.nb-minimal-home .quiet-footer{padding:20px 22px 130px;flex-wrap:wrap;gap:14px}.nb-minimal-home .syn-launcher{width:116px;right:12px;bottom:14px}.nb-minimal-home .syn-avatar{width:40px;height:40px}.v21-shell .nb-navigation-dialog{max-height:calc(100dvh - 24px);overflow:auto}}
@media(prefers-reduced-motion:no-preference){.v21-shell button,.v21-shell a{transition:background-color 150ms var(--bt-ease),border-color 150ms var(--bt-ease)}}@media(prefers-reduced-motion:reduce){.v21-shell *,.v21-shell *::before,.v21-shell *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.nb-minimal-home{position:relative}.nb-minimal-home .syn-launcher{position:absolute;bottom:24px}.nb-minimal-home .syn-launcher.syn-compact .syn-avatar{display:block}.nb-minimal-home .syn-launcher.syn-compact #ask-syn{border-radius:24px}.nb-minimal-home .quiet-footer{padding-bottom:150px}.nb-minimal-home [data-ui-draft-status]{font-size:12px;line-height:1.5;color:var(--muted);max-width:540px;margin:0 0 20px}.v21-shell #home-guide{width:min(960px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;background:#fff;color:var(--text)}
.nb-minimal-home .nb-wordmark small{display:none}.nb-minimal-home .nb-header{width:100%;box-sizing:border-box}.nb-minimal-home .nb-wordmark{flex-shrink:0}.nb-minimal-home .nb-account{min-width:0}.nb-minimal-home .nb-signin{white-space:nowrap}
.nb-minimal-home .question-form #question{border:1px solid #6f858b!important;border-radius:10px}.nb-minimal-home .quiet-footer{padding-right:200px}@media(max-width:760px){.nb-minimal-home .quiet-footer{padding-right:22px}}
/* Calm motion: one-shot entry only; no navigation interception or closing delay. */
:root{--nb-motion-fast:120ms;--nb-motion-view:150ms;--nb-motion-panel:180ms;--nb-motion-ease:cubic-bezier(.2,0,0,1)}
@keyframes nb-view-enter{from{opacity:.88}to{opacity:1}}
@keyframes nb-card-enter{from{opacity:.8;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@keyframes nb-panel-enter{from{opacity:.8;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:no-preference){
 .v21-shell main{animation:nb-view-enter var(--nb-motion-view) var(--nb-motion-ease)}
 .v21-shell .study-row,.v21-shell .workspace-launches>a{animation:nb-card-enter var(--nb-motion-view) var(--nb-motion-ease)}
 .v21-shell .proof-record:not([hidden]),.v21-shell .nb-navigation-dialog[open],.v21-shell #syn-help[open],.v21-shell .nb-mega[open]>.nb-mega-panel{animation:nb-panel-enter var(--nb-motion-panel) var(--nb-motion-ease)}
 .v21-shell .nb-navigation-dialog[open]::backdrop,.v21-shell #syn-help[open]::backdrop{animation:nb-view-enter var(--nb-motion-fast) var(--nb-motion-ease)}
 .v21-shell .button,.v21-shell button,.v21-shell .study-select{transition:transform var(--nb-motion-fast) var(--nb-motion-ease),background-color var(--nb-motion-view) var(--nb-motion-ease),border-color var(--nb-motion-view) var(--nb-motion-ease)}
 .v21-shell button:not(:disabled):active,.v21-shell .button:active{transform:translateY(1px)}
}
@media(prefers-reduced-motion:no-preference) and (hover:hover) and (pointer:fine){
 .v21-shell button:not(:disabled):hover,.v21-shell .button:hover{transform:translateY(-1px)}
 .v21-shell button:not(:disabled):active,.v21-shell .button:active{transform:translateY(1px)}
}
/* Reduced motion, including changes while a page is open, cancels all effects. */
@media(prefers-reduced-motion:reduce){.v21-shell *,.v21-shell *::before,.v21-shell *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
