
:root{--ux-primary:hsl(217 91% 60%);--ux-accent:hsl(265 85% 65%);--ux-orange:hsl(22 95% 52%);--ux-bg:hsl(222 28% 7%);--ux-surface:hsl(222 24% 11%);--ux-line:hsl(220 14% 28%)}#gate .gate-measure{width:min(72ex,calc(100vw - 48px));padding:48px 0 64px;gap:24px}#gate .gate-wordmark{font-family:"Public Sans",system-ui,sans-serif;letter-spacing:0}#gate #gateStory.card,#gate #doorVdp{background:hsl(222 24% 11% / 0.92);border:1px solid var(--ux-line);box-shadow:0 8px 24px rgba(0,0,0,0.28)}#gate #gateReport.btn.primary{width:100%;min-height:52px;height:auto;background:hsl(217 91% 60%);border-color:hsl(217 91% 60%);color:#fff;font-size:18px;font-weight:600;box-shadow:0 8px 24px hsl(217 91% 50% / 0.28)}#gate #doorPeer.path-row>summary,#gate #doorStaff.path-row>summary{width:100%;box-sizing:border-box;min-height:52px;padding:12px 16px;border-radius:12px;border:1px solid #3A4254}#gate #doorPeer.path-row>summary{background:hsl(222 24% 14% / 0.92);color:#E8ECF4}#gate #doorStaff.path-row>summary{background:hsl(222 24% 11% / 0.72);color:#E8ECF4}#gate #doorPeer.path-row>summary .path-name,#gate #doorStaff.path-row>summary .path-name{color:#E8ECF4;font-size:15px;font-weight:600}#gate .gate-foot{margin-top:8px;text-align:center}#shell.workspace{height:100dvh;max-height:100dvh}#shell .topbar,#topbar{background:hsl(222 28% 8% / 0.94);border-bottom:1px solid var(--ux-line);backdrop-filter:blur(18px)}#topbar .wordmark{color:var(--ux-primary);font-family:"Public Sans",system-ui,sans-serif;font-weight:600}#shell #stage{min-height:0;max-height:100%}#shell #judgmentStrip{order:1;flex:0 0 auto}#shell #dayTemplatePicker{order:3;flex:0 0 auto}#shell #dayTemplateHint{order:4;flex:0 0 auto}#shell #contextSheetBtn{order:5;flex:0 0 auto}#shell #stage>#thread{overflow:auto;margin:0}#shell #center{order:6;flex:0 0 auto}#shell #caseDetailsHost{flex:0 1 auto;max-height:7.5rem;overflow:auto}#shell #stage>#composer{order:8;flex:0 0 auto}#shell #judgmentStrip,#shell #proposal{position:static;top:auto;z-index:2}#shell #judgmentStrip{padding-bottom:0}#shell #stage>#composer,#composer.composer{position:static;bottom:auto;z-index:2;margin:0;padding:8px;background:hsl(222 28% 8% / 0.96);border:1px solid var(--ux-line);border-radius:12px;backdrop-filter:blur(18px)}#shell .judgment-strip,#shell #judgmentStrip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;position:relative;z-index:3}#shell .judgment-beat{min-height:0}#shell .judgment-beat[data-beat="true"]{box-shadow:inset 3px 0 0 var(--ux-primary)}#shell .judgment-beat[data-beat="risk"]{box-shadow:inset 3px 0 0 hsl(38 92% 50%)}#shell .judgment-beat[data-beat="judgment"],#shell .judgment-beat[data-beat="need"]{box-shadow:inset 3px 0 0 var(--ux-accent)}#proposal{display:flex;flex-direction:column;gap:8px;margin:0;padding:16px;background:var(--ux-surface);border:1px solid hsl(265 40% 42% / 0.45);border-radius:12px;box-shadow:inset 0 0 0 1px hsl(265 85% 65% / 0.08),0 8px 24px rgba(0,0,0,0.22)}#proposal header{color:var(--ux-accent);font-size:13px;line-height:18px;font-weight:600}#proposalBody{max-height:4.75rem;overflow:hidden;color:#E8ECF4}#peerActions,#proposal .peer-actions,.proposal-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0;position:static}#peerActions>.btn.approve,.proposal-actions>.btn.approve{background:var(--ux-primary);border:1px solid var(--ux-primary);color:#fff}#peerActions>.btn.edit,.proposal-actions>.btn.edit{background:transparent;border:1px solid var(--ux-line);color:#E8ECF4}#peerActions>.btn.redirect,.proposal-actions>.btn.redirect,#shell .btn.redirect{background:hsl(22 95% 52% / 0.14);border:1px solid var(--ux-orange);color:hsl(28 100% 82%)}#shell .turn{padding:16px;border-radius:12px;background:hsl(222 22% 12%);border:1px solid var(--ux-line)}#shell .turn.bot{box-shadow:inset 3px 0 0 var(--ux-accent)}#shell .turn.human{box-shadow:inset 3px 0 0 var(--ux-primary)}#shell .row-item{border-radius:8px;padding:12px 16px}#shell .empty,#shell .desk-empty{padding:16px;border-radius:12px;color:#A8B0C0}#researcherReplyBox,#peerShareBox{border-radius:12px;padding:16px;border:1px solid var(--ux-line);background:var(--ux-surface)}.room{background:radial-gradient(ellipse 60% 36% at 12% 0%,hsl(217 91% 50% / 0.22),transparent 58%),var(--ux-bg);padding:32px 16px 48px}.room-measure{width:min(40rem,100%);display:flex;flex-direction:column;gap:16px}.room-title{margin:8px 0;font-size:20px;line-height:28px;font-weight:600;color:#E8ECF4}#researcherFacing.facing-now{margin:8px 0 0;font-size:20px;line-height:28px;font-weight:600;color:#E8ECF4}.room-note{margin:4px 0 0;color:#A8B0C0;font-size:13px;line-height:18px}.facing-ladder{display:grid;grid-template-columns:repeat(auto-fit,minmax(5.5rem,1fr));gap:8px;margin:16px 0 0;padding:0;list-style:none}.facing-ladder li{margin:0;padding:8px;border-radius:8px;border:1px solid var(--ux-line);background:hsl(222 22% 9%);color:#A8B0C0;font-size:12px;line-height:16px;font-weight:500}.facing-ladder li.is-done{border-color:hsl(217 40% 40%);color:#E8ECF4}.facing-ladder li.is-current{border-color:var(--ux-primary);background:hsl(217 91% 60% / 0.16);color:#E8ECF4;box-shadow:inset 0 0 0 1px hsl(217 91% 60% / 0.35)}.room-thread,.researcher-thread,.peer-thread{gap:8px;margin:0;padding:16px;border-radius:12px;border:1px solid var(--ux-line);background:hsl(222 24% 10% / 0.72)}.room .turn{padding:12px 16px;border-radius:12px;background:hsl(222 22% 14%);border:1px solid var(--ux-line)}.room .turn.bot{box-shadow:inset 3px 0 0 var(--ux-accent)}.room .turn.human{box-shadow:inset 3px 0 0 var(--ux-primary)}.room .empty{margin:0;padding:16px;text-align:center;color:#A8B0C0}.room-composer.card,.room .room-composer{display:flex;flex-direction:column;gap:8px;margin:0;padding:16px;border-radius:12px;border:1px solid var(--ux-line);background:var(--ux-surface)}.room .room-back{margin-top:16px;align-self:flex-start;height:auto}#researcherEvidence.card{padding:16px;border-radius:12px}@media (min-width:960px){#gate .gate-measure{width:min(72ex,46rem);max-width:calc(100vw - 96px)}}@media (max-width:899px){#shell #stage{overflow:hidden;padding:12px}#shell #stage>#thread{overflow:auto;flex:1 1 auto;min-height:0;max-height:none}#shell #caseDetailsHost{overflow:auto;flex:0 1 auto;max-height:6rem}#shell #proposal{position:static}#shell .judgment-strip,#shell #judgmentStrip{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:560px){#shell #stage{overflow:auto}#shell #stage>#thread,#shell #caseDetailsHost{overflow:visible;flex:0 0 auto;max-height:none}#shell .judgment-strip,#shell #judgmentStrip{grid-template-columns:1fr}}@media (min-width:1100px){#shell .shell-grid{grid-template-columns:minmax(240px,280px) minmax(0,1fr) minmax(300px,340px);align-items:stretch}#shell #nav,#shell #context{min-height:0;max-height:100%;overflow:auto;padding-right:8px;scrollbar-width:thin}#shell #stage{overflow:hidden;min-height:0;max-height:100%}#shell #nav .row-title{-webkit-line-clamp:2;-webkit-box-orient:vertical}#shell #nav .row-item{padding:12px 16px}#shell #context .ctx-panel{padding:16px;margin-bottom:12px;border-radius:12px}}@media (prefers-reduced-motion:reduce){#proposal,.room .turn{transition:none}}
