:root{font-family:Inter,Noto Sans SC,Microsoft YaHei,system-ui,sans-serif;color:#1d2a2a;background:#f4f7f4;font-synthesis:none;--ink: #1d2a2a;--muted: #687675;--line: #dce5df;--panel: #fff;--green: #1d6b54;--lime: #dff17a;--shadow: 0 20px 60px rgba(29, 74, 61, .09)}*{box-sizing:border-box}*{scrollbar-width:thin;scrollbar-color:rgba(44,112,87,.42) transparent}*::-webkit-scrollbar{width:8px;height:8px}*::-webkit-scrollbar-track{background:transparent}*::-webkit-scrollbar-thumb{min-height:42px;border:2px solid transparent;border-radius:999px;background:#2c70575c;background-clip:padding-box}*::-webkit-scrollbar-thumb:hover{background-color:#1d6b5494}*::-webkit-scrollbar-corner{background:transparent}html,body,#root{width:100%;height:100%;overflow:hidden}body{margin:0;min-width:1100px;background:radial-gradient(circle at 12% 4%,#e3f2e8 0,transparent 30%),#f6f8f5}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}.desktop-required{display:none}.app-shell{height:100vh;padding:0 40px 24px;overflow:hidden}.debug-app-shell{position:relative}.debug-toolbar{position:absolute;z-index:20;top:116px;right:40px;left:40px;display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:12px;padding:9px 13px;border:1px solid #d69d47;border-radius:14px;background:#fff9eefa;box-shadow:0 10px 28px #623f0f26;color:#5c3b0e;font-size:12px}.debug-toolbar-heading{display:flex;align-items:center;gap:10px}.debug-toolbar-heading .step-kicker{color:#9a5d00}.debug-toolbar-heading .link-button{width:auto;margin:0;color:#8a5000;white-space:nowrap}.debug-jump-controls{display:flex;align-items:end;gap:7px}.debug-jump-controls label{display:grid;gap:3px;font-size:10px;font-weight:700}.debug-jump-controls select{max-width:155px;height:29px;border:1px solid #d9b778;border-radius:7px;background:#fffdf7;color:var(--ink);font-size:11px}.debug-jump-controls .secondary-button{width:auto;min-height:29px;padding:0 11px;border-color:#d9b778;background:#fff5db;color:#865100;font-size:11px}.debug-personas{min-width:0;display:flex;justify-content:flex-end;flex-wrap:wrap;gap:4px 11px;color:#765630}.debug-personas span:first-child{color:#5c3b0e}.debug-prompts{grid-column:1 / -1}.debug-prompts summary{cursor:pointer;color:#865100;font-weight:750}.debug-prompt-grid{max-height:min(58vh,640px);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px;overflow:auto}.debug-prompt-grid section{min-width:0;padding:10px;border:1px solid #ead4aa;border-radius:9px;background:#fffdfa}.debug-prompt-grid strong{display:block;margin-bottom:6px;color:#6c480e}.debug-prompt-grid pre{max-height:300px;margin:0;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;color:#38423f;font:11px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace}.progress-header{height:108px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.progress-header>div:first-child{display:flex;gap:20px;align-items:center}.progress-header strong{font-size:19px}.eyebrow,.step-kicker{font-size:11px;letter-spacing:.18em;font-weight:700;color:var(--green)}.progress-copy{width:360px;display:grid;gap:9px}.progress-copy>span{text-align:right;font-size:13px;color:var(--muted);font-weight:600}.progress-track{height:10px;border-radius:999px;background:#dfe5e0;overflow:hidden}.progress-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--green),#56a57e);transition:width .4s}.study-layout{height:calc(100% - 108px);display:grid;grid-template-columns:minmax(280px,29%) minmax(0,1fr);gap:26px;padding-top:24px;overflow:hidden}.robot-column,.stage-column{min-width:0;min-height:0}.stage-column{overflow:hidden}.robot-column{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:18px;padding:4px 4px 0}.robot-wrap{width:100%;min-width:0;text-align:center;--robot-shell: #d8e4dc;--robot-accent: #5ed297;--robot-accent-rgb: 94, 210, 151;--robot-blink-duration: 4.8s;--robot-idle-lift: -4px;--robot-idle-scale: 1.008;--robot-think-duration: 1.6s;--robot-think-lift: -4px;--robot-speak-duration: 1.15s;--robot-speak-lift: -3px;--robot-listen-duration: 2.4s;--robot-listen-shift: -3px;--robot-gaze-shift: 3px;--robot-listen-tilt: -1.8deg;--robot-success-lift: -9px;--robot-success-scale: 1.05}.robot-name{width:320px;max-width:100%;margin:0 auto 8px;font-size:24px;font-weight:700;text-align:left}.status-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:var(--robot-accent);margin-right:12px;box-shadow:0 0 0 5px rgba(var(--robot-accent-rgb),.14);transition:background .35s ease,box-shadow .35s ease}.robot-stage{position:relative;width:320px;max-width:100%;height:min(38vh,350px);min-height:270px;margin:0 auto;display:flex;justify-content:center;align-items:flex-start}.robot{width:min(31vh,300px);max-width:92%;filter:drop-shadow(0 22px 26px rgba(22,49,40,.13));overflow:visible}.robot-motion,.robot-body,.robot-gaze-layer,.robot-eye-layer,.robot-mouth-layer{transform-box:fill-box;transform-origin:center;transition:transform .35s ease,opacity .25s ease}.robot-shell{fill:var(--robot-shell);transition:fill .35s ease}.robot-face{fill:#19312c}.robot-eye-layer{fill:#e8f6ee;animation:robot-blink var(--robot-blink-duration) ease-in-out infinite}.mouth{fill:none;stroke:#e8f6ee;stroke-width:8;stroke-linecap:round;transform-box:fill-box;transform-origin:center;transition:opacity .2s ease,transform .2s ease}.mouth-cavity{fill:#19312c;stroke:#e8f6ee;stroke-width:6}.thinking-dot{fill:var(--lime);opacity:0}.robot-idle .robot-motion,.robot-reading .robot-motion{animation:robot-breathe 3.8s ease-in-out infinite}.robot-thinking .robot-motion{animation:robot-think var(--robot-think-duration) ease-in-out infinite}.robot-thinking .robot-mouth-layer{opacity:0}.robot-thinking .thinking-dot{animation:dot-pulse 1.2s ease-in-out infinite}.robot-thinking .dot-two{animation-delay:.16s}.robot-thinking .dot-three{animation-delay:.32s}.robot-speaking .robot-motion{animation:speaking-bob var(--robot-speak-duration) ease-in-out infinite}.robot-listening .robot-motion{animation:robot-listen var(--robot-listen-duration) ease-in-out infinite}.robot-listening .robot-gaze-layer{transform:translate(var(--robot-gaze-shift))}.robot-success .robot-motion{animation:robot-success .8s ease}.robot-error .robot-shell{fill:#f4c7bf}.robot-error .status-dot{background:#b85b4a;box-shadow:0 0 0 5px #b85b4a21}.robot-error .robot-status-pill{color:#8f4034;border-color:#b85b4a4d;background:#fff1eef0}.robot-state-label{position:absolute;z-index:2;left:50%;bottom:4px;width:154px;min-height:36px;transform:translate(-50%);display:grid;place-items:center;padding:7px 10px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:12px;background:#fffffff5;white-space:nowrap}.robot-compact{flex:0 0 auto}.robot-identity{min-width:0;display:grid;grid-template-columns:minmax(145px,62%) minmax(112px,1fr);align-items:center;gap:16px}.robot-compact .robot-stage{width:100%;height:min(22vh,210px);min-height:150px;margin:0;align-items:flex-start}.robot-compact .robot{width:min(21.7vh,210px);max-width:100%}.robot-meta{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:13px;text-align:left}.robot-name-line{min-width:0;display:flex;align-items:center;gap:11px;font-size:22px;line-height:1.3;white-space:nowrap}.robot-meta .status-dot{flex:0 0 auto;width:9px;height:9px;margin:0}.robot-status-pill{min-width:104px;min-height:34px;display:inline-flex;align-items:center;justify-content:center;padding:7px 14px;border:1px solid rgba(var(--robot-accent-rgb),.3);border-radius:999px;color:var(--muted);background:rgba(var(--robot-accent-rgb),.1);box-shadow:0 5px 16px #1d4a3d0d;font-size:12px;line-height:1.4;white-space:nowrap;transition:border-color .35s ease,background .35s ease,color .25s ease}.mini-context{width:100%;min-height:0;flex:1;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px 23px;box-shadow:var(--shadow)}.mini-context span{font-size:11px;color:var(--green);font-weight:700;letter-spacing:.12em}.mini-context h2{margin:9px 0 12px;font-size:18px;line-height:1.4}.mini-context p{font-size:15px;line-height:1.85;margin:0;color:#52605e}.content-panel,.chat-panel,.survey-panel,.history-panel,.rating-response-pane,.rating-form-pane{height:100%;border:1px solid var(--line);background:#fffffff0;border-radius:26px;box-shadow:var(--shadow)}.content-panel{padding:38px 44px;overflow:auto}.content-panel h1,.chat-panel h1,.survey-panel h2,.history-panel h2{font-size:clamp(25px,2.2vw,30px);line-height:1.25;margin:8px 0 16px}.panel-shell{display:flex;flex-direction:column;overflow:hidden}.panel-fixed-header{flex:0 0 auto}.panel-scroll{min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;overflow-anchor:none;scroll-behavior:auto}.panel-footer{flex:0 0 auto;display:flex;justify-content:flex-end;padding-top:14px;border-top:1px solid var(--line);background:inherit}.content-panel.panel-shell{padding:34px 40px 28px;overflow:hidden}.question-scroll{flex:1;padding:3px 8px 8px 1px}.scenario-text{font-size:clamp(17px,1.45vw,21px);line-height:1.95;max-width:780px;margin:28px 0}.reading-note{padding:14px 17px;background:#eef5f0;border-left:3px solid var(--green);border-radius:0 12px 12px 0;color:var(--muted);max-width:680px;margin-bottom:24px}.primary-button,.send-button{border:0;border-radius:12px;background:var(--ink);color:#fff;padding:13px 22px;font-weight:700;box-shadow:0 9px 20px #1d2a2a29;transition:transform .15s ease,background .15s ease}.primary-button:hover:not(:disabled),.send-button:hover:not(:disabled){transform:translateY(-1px);background:#274943}.question-card{min-width:0;border:1px solid var(--line);border-radius:17px;padding:17px 19px;margin:14px 0;background:#fbfcfb}.question-card legend{max-width:100%;padding:0 8px;font-weight:600;line-height:1.55}.option-list{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:11px}.choice{position:relative;min-width:0;border:1px solid #d5dfd8;border-radius:12px;padding:10px 12px;display:flex;align-items:center;gap:8px;background:#fff;transition:border-color .15s,background .15s;cursor:pointer}.choice:hover,.choice.selected{border-color:var(--green);background:#edf7f1}.choice input{accent-color:var(--green)}.likert-row{width:100%;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-top:8px}.likert-row .choice{width:100%;max-width:46px;aspect-ratio:1;justify-self:center;justify-content:center;border-radius:50%;padding:0}.likert-row .choice input{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.likert-row .choice span{pointer-events:none}.scale-labels{display:flex;justify-content:space-between;gap:18px;color:var(--muted);font-size:11px;margin:10px 2px 0}.scale-labels.has-center{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center}.scale-labels.has-center span:nth-child(2){text-align:center}.scale-labels.has-center span:last-child{text-align:right}.survey-question-scroll .likert-row,.survey-question-scroll .scale-labels{width:min(100%,640px);margin-inline:auto}.inline-error,.form-error{color:#a63f31;background:#fff0ed;padding:10px 13px;border-radius:10px;font-size:13px}.fact-review-notice{display:flex;flex-direction:column;gap:4px;margin-top:14px;padding:13px 16px;border:1px solid #efb4a7;border-radius:12px;color:#8f3429;background:#fff1ed}.fact-review-notice span{font-size:13px;color:#805e58}.support-copy{color:var(--muted);margin:8px 0 10px}.scenario-pre-workspace,.scenario-reflection-layout,.instructions-layout{height:calc(100% - 108px);padding-top:24px;overflow:hidden}.instructions-panel{width:min(1120px,100%);height:100%;margin:0 auto;padding:30px 38px 24px;border:1px solid var(--line);border-radius:26px;background:#fffffff5;box-shadow:var(--shadow);overflow:hidden}.instructions-heading{padding:0 5px 17px;border-bottom:1px solid var(--line)}.instructions-heading h1{margin:7px 0 8px;font-size:clamp(28px,2.4vw,36px)}.instructions-heading p{margin:0;color:var(--muted)}.instructions-scroll{flex:1;padding:18px 12px 20px 4px}.instruction-network-notice,.instruction-compensation-notice{display:flex;flex-direction:column;gap:5px;margin:0 0 14px;padding:14px 17px;border-radius:14px;line-height:1.65}.instruction-network-notice{border:1px solid #e5cb87;background:#fff8e5;color:#745319}.instruction-compensation-notice{margin:16px 0 3px;border:2px solid var(--green);background:#eaf5ee;color:#194b3a;font-size:15px}.instruction-network-notice strong,.instruction-compensation-notice strong{font-size:14px}.instruction-steps{display:grid;gap:13px;margin:0;padding:0;list-style:none}.instruction-steps>li{display:grid;grid-template-columns:38px minmax(0,1fr);gap:14px;padding:17px 19px;border:1px solid #e1e8e3;border-radius:17px;background:#fbfcfb}.instruction-number{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#e4f1e9;color:var(--green);font-weight:800}.instruction-steps h2,.instruction-reminders h2{margin:2px 0 8px;font-size:17px}.instruction-steps p{margin:6px 0 0;color:#52605e;font-size:14px;line-height:1.75}.definition-card{margin:12px 0 10px;padding:13px 15px;border:1px solid #d4dfd8;border-radius:13px;background:#eef5f0}.definition-card strong{color:var(--green);font-size:14px}.definition-card p{margin-top:5px;color:#354b46}.definition-list{display:grid;gap:0}.definition-item{padding:11px 2px;border-bottom:1px solid rgba(29,107,84,.14)}.definition-item:first-child{padding-top:2px}.definition-item:last-child{padding-bottom:2px;border-bottom:0}.instruction-reminders{margin-top:15px;padding:18px 20px;border-radius:17px;background:#f3f6f3}.instruction-reminders ul{display:grid;gap:7px;margin:0;padding-left:20px;color:#52605e;font-size:14px;line-height:1.65}.instructions-footer{align-items:center;justify-content:space-between;gap:20px;padding-top:16px}.instructions-confirm-area{display:grid;gap:9px;min-width:0}.reading-requirements{display:flex;flex-wrap:wrap;gap:8px;font-size:12px;color:var(--muted)}.reading-requirements span{padding:5px 9px;border:1px solid var(--line);border-radius:999px;background:#f6f8f6;transition:color .2s ease,border-color .2s ease,background .2s ease}.reading-requirements span.complete{color:var(--green);border-color:#2d7e683d;background:#2d7e6814}.instructions-confirm{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:14px;cursor:pointer}.instructions-confirm input{width:18px;height:18px;margin:0;accent-color:var(--green)}.scenario-reading-card{width:min(1060px,100%);height:100%;margin:0 auto;padding:30px 42px 24px;border:1px solid var(--line);border-radius:26px;background:#fffffff2;box-shadow:var(--shadow)}.scenario-reading-scroll{flex:1}.scenario-reading-copy{width:min(820px,100%);margin:0 auto;padding:12px 8px 26px}.scenario-reading-copy h1,.scenario-reflection-layout h1{margin:8px 0 18px;font-size:clamp(28px,2.4vw,36px)}.scenario-reading-copy .scenario-text{max-width:none}.scenario-reading-card>.panel-footer{padding-top:16px}.inline-fact-check{margin-top:22px;padding-top:26px;border-top:1px solid var(--line)}.inline-fact-check h2{margin:6px 0 10px;font-size:23px}.inline-fact-check .question-card{margin-bottom:0}.scenario-reflection-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:22px}.scenario-reflection-copy,.scenario-reflection-form{min-width:0;min-height:0;border:1px solid var(--line);border-radius:26px;background:#fffffff2;box-shadow:var(--shadow);overflow:hidden}.scenario-reflection-copy{padding:35px 38px}.scenario-reflection-copy p{margin:18px 0 0;font-size:17px;line-height:1.95}.scenario-reflection-form{padding:28px 30px 22px}.scenario-reflection-form h1{font-size:25px;margin-bottom:10px}.scenario-reflection-form .question-card{padding:14px 16px;margin:10px 0}.scenario-reflection-form .question-card legend{font-size:14px}.question-group-instruction{margin:20px 0 10px;padding:12px 15px;border-left:4px solid var(--green);border-radius:0 11px 11px 0;background:#edf5f0;color:#264b40;font-size:17px;font-weight:800;line-height:1.55;letter-spacing:.01em}.question-scroll>.question-group-instruction:first-child{margin-top:4px}.send-panel{display:flex;flex-direction:column}.message-preview{background:#f1f5f2;border-radius:20px;padding:24px;line-height:1.85;font-size:16px;margin:18px 0;flex:1;min-height:130px;overflow:auto}.repeat-notice{display:flex;flex-direction:column;gap:4px;padding:13px 16px;border-radius:12px;background:#eaf5ee;color:var(--green)}.repeat-notice span{color:var(--muted);font-size:13px}.send-button{align-self:flex-end;display:flex;gap:38px;align-items:center;font-size:16px}.send-button b{font-size:22px}.response-grid{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto minmax(0,.8fr) minmax(0,1.25fr);gap:14px;padding:24px 28px;overflow:hidden;container-type:inline-size}.response-heading{grid-column:1 / -1;display:flex;justify-content:space-between;align-items:center;gap:20px}.response-heading h1{margin-bottom:0}.response-heading p{margin:7px 0 0;color:var(--muted);font-size:13px}.response-heading .primary-button{min-width:255px}.response-card{min-height:0;display:flex;flex-direction:column;border:1px solid transparent;border-radius:18px;padding:18px 21px;overflow:hidden;transition:opacity .2s ease,transform .2s ease,box-shadow .2s ease,border-color .2s ease}.response-card.card-actionGuidance{grid-column:1 / -1}.response-card-title{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px}.response-card h2{font-size:18px;margin:0 0 8px}.response-card-body{flex:1;padding-right:5px}.card-relationalSupport{background:#edf7f1}.card-situationalInterpretation{background:#f4f2e7}.card-actionGuidance{background:#f7eee8}.response-card.active{border-color:var(--green);box-shadow:0 0 0 3px #1d6b5421;transform:translateY(-1px)}.response-card.dimmed{opacity:.3}.response-card.selectable{cursor:pointer}.response-card.selectable:hover,.response-card.selectable:focus-visible{border-color:#70a991;outline:none;transform:translateY(-2px)}.response-card.selected{border-color:var(--green);box-shadow:0 0 0 3px #dff1e7}.selection-check{flex:0 0 auto;width:27px;height:27px;display:grid;place-items:center;border:1px solid rgba(29,107,84,.35);border-radius:50%;color:var(--green);background:#ffffffb8;font-weight:800}.response-card.selected .selection-check{color:#fff;background:var(--green)}.response-enter{animation:stage-fade-up .32s ease both}.response-enter .response-card{animation:response-card-enter .3s ease both}.response-enter .response-card:nth-of-type(2){animation-delay:.06s}.response-enter .response-card:nth-of-type(3){animation-delay:.14s}.preference-workspace{height:calc(100% - 108px);padding-top:24px}.preference-panel{height:100%;min-height:0;display:flex;flex-direction:column;padding:27px 32px 20px}.preference-panel h1{margin:5px 0 7px;font-size:27px}.preference-panel .panel-heading p{margin:0;color:var(--muted);font-size:14px}.selection-count{flex:0 0 auto;padding:8px 12px;border-radius:999px;background:#edf7f1;color:var(--green);font-size:13px;font-weight:750}.preference-candidates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:14px;margin-top:18px;padding:3px 8px 8px 2px}.preference-candidate{min-width:0;border:1px solid var(--line);border-radius:18px;padding:17px 19px;background:#fff;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.preference-candidate:last-child:nth-child(odd){grid-column:1 / -1}.preference-candidate:hover,.preference-candidate:focus-visible{border-color:#70a991;outline:none;transform:translateY(-1px)}.preference-candidate.selected{border-color:var(--green);box-shadow:0 0 0 3px #dff1e7}.preference-candidate-heading{display:flex;align-items:center;gap:9px;margin-bottom:10px}.preference-candidate-heading span{color:var(--muted);font-size:12px}.preference-candidate-heading strong{color:var(--ink)}.preference-candidate-heading i{width:25px;height:25px;display:grid;place-items:center;margin-left:auto;border:1px solid rgba(29,107,84,.35);border-radius:50%;color:var(--green);font-style:normal;font-weight:800}.preference-candidate.selected .preference-candidate-heading i{color:#fff;background:var(--green)}.preference-candidate .markdown-text{font-size:14px;line-height:1.75}.rating-popover{position:absolute;z-index:5;width:min(410px,44%);max-height:calc(100% - 116px);padding:16px 17px 14px;border:1px solid #cddcd3;border-radius:20px;background:#fffffffa;box-shadow:0 22px 60px #16392e33}.rating-popover:before{content:"";position:absolute;width:16px;height:16px;transform:rotate(45deg);background:#fff;border-left:1px solid #cddcd3;border-bottom:1px solid #cddcd3}.popover-relationalSupport{top:112px;right:38px;bottom:24px}.popover-relationalSupport:before{left:-9px;top:72px}.popover-situationalInterpretation{top:112px;left:38px;bottom:24px}.popover-situationalInterpretation:before{right:-9px;top:72px;transform:rotate(225deg)}.popover-actionGuidance{right:38px;bottom:25px;max-height:48%}.popover-actionGuidance:before{left:70px;top:-9px;transform:rotate(135deg)}.rating-popover-heading{flex:0 0 auto;display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:0 3px 8px}.rating-popover-heading span{color:var(--muted);font-size:11px}.rating-popover-heading strong{color:var(--green)}.compact-rating-scroll{flex:1;padding-right:4px}.compact-rating-scroll .question-card{padding:10px 11px;margin:7px 0;border-radius:13px}.compact-rating-scroll .question-card legend{font-size:12px;line-height:1.4}.compact-rating-scroll .question-definition{margin:6px 0 7px;padding:6px 7px;border:1px solid rgba(29,107,84,.16);border-radius:9px;background:#f1f7f3}.compact-rating-scroll .question-definition strong{color:#215f4d;font-size:10px}.compact-rating-scroll .question-definition p{margin:2px 0 0;color:#506660;font-size:10px;line-height:1.5}.compact-rating-scroll .likert-row{gap:4px}.compact-rating-scroll .likert-row .choice{max-width:34px}.compact-rating-scroll .scale-labels{margin-top:6px;font-size:10px}.rating-popover .panel-footer{padding-top:9px}.rating-popover .primary-button{width:100%;padding:10px 14px}.active-actionGuidance .card-actionGuidance .response-card-body{padding-right:calc(min(410px,44%) + 56px)}.markdown-text{min-width:0;line-height:1.7;overflow-wrap:anywhere}.markdown-text>:first-child{margin-top:0}.markdown-text>:last-child{margin-bottom:0}.markdown-text p{margin:.45em 0}.markdown-text ul,.markdown-text ol{margin:.5em 0;padding-left:1.45em}.markdown-text li{margin:.3em 0}.markdown-text strong{font-weight:750;color:#18362f}.markdown-text code{padding:.1em .35em;border-radius:5px;background:#143c3114}.rating-stack{height:100%;min-height:0;display:grid;grid-template-rows:minmax(0,.88fr) minmax(0,1.25fr);gap:14px}.rating-response-pane{min-height:0;display:flex;flex-direction:column;padding:24px 30px 18px;overflow:hidden}.rating-response-heading{flex:0 0 auto}.rating-response-heading h1{font-size:27px;margin:5px 0 10px}.markdown-scroll{flex:1;padding-right:8px;font-size:16px}.rating-form-pane{min-height:0;padding:18px 24px 16px;overflow:hidden}.rating-form-pane h2{margin:0 0 5px;font-size:20px}.rating-scroll{flex:1;padding-right:7px}.rating-scroll .question-card{padding:13px 16px;margin:10px 0}.rating-scroll .question-card legend{font-size:14px}.rating-form-pane .panel-footer{padding-top:10px}.selection-list{flex:1;display:grid;align-content:start;gap:11px;padding:8px 7px 8px 1px}.section-choice{min-width:0;display:grid;grid-template-columns:22px minmax(0,1fr);align-items:start;border:1px solid var(--line);border-radius:17px;padding:17px 18px;gap:12px;background:#fff;cursor:pointer}.section-choice.selected{border-color:var(--green);box-shadow:0 0 0 3px #dff1e7}.section-choice input{width:17px;height:17px;margin:3px 0 0;accent-color:var(--green)}.section-choice>span{min-width:0;display:block}.section-choice>span>b{display:block;line-height:1.4}.section-choice .markdown-text{width:100%;margin-top:7px;color:var(--muted);font-size:13px;line-height:1.65;white-space:normal;overflow:visible;overflow-wrap:anywhere}.section-choice .markdown-text p{margin:0}.chat-panel{padding:28px 34px 22px}.chat-top,.panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.turn-pill{flex:0 0 auto;background:#e6f2eb;color:var(--green);border-radius:999px;padding:8px 13px;font-size:12px;font-weight:700}.selected-topic{flex:0 0 auto;background:#f1f4f1;border-radius:14px;padding:12px 16px;margin-bottom:12px}.selected-topic>span{font-size:11px;color:var(--green);font-weight:700}.selected-topic-list{height:104px;min-height:104px;display:flex;gap:12px;margin-top:7px;min-width:0;overflow:hidden}.selected-topic-item{min-width:min(210px,100%);flex:1 1 0;min-height:0;display:flex;flex-direction:column;padding-right:10px;border-right:1px solid var(--line);overflow:hidden}.selected-topic-item:last-child{border-right:0}.selected-topic-list strong{font-size:11px;color:var(--ink)}.selected-topic-content{flex:1 1 auto;min-height:0;width:100%;margin-top:2px;padding-right:5px;overflow-y:scroll;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;touch-action:pan-y}.selected-topic-content:focus-visible{outline:2px solid rgba(29,107,84,.55);outline-offset:2px;border-radius:5px}.selected-topic-content .markdown-text{max-height:none;overflow:visible;color:var(--muted);font-size:13px}.chat-enter{animation:stage-fade-up .18s ease both}.chat-stream{flex:1;display:flex;flex-direction:column;gap:11px;padding:5px 8px 8px 5px}.chat-bubble{max-width:78%;flex:0 0 auto;border-radius:18px;padding:13px 17px;background:#eff4f0;align-self:flex-start}.chat-bubble.user{background:#1f6b55;color:#fff;align-self:flex-end}.chat-bubble>span{font-size:10px;font-weight:700;opacity:.72}.chat-bubble .markdown-text{margin-top:4px}.chat-bubble.user .markdown-text strong{color:#fff}.chat-bubble.optimistic{opacity:.88}.chat-bubble.streaming{position:relative;min-width:120px}.stream-caret{display:inline-block;width:2px;height:1em;margin-left:3px;vertical-align:-.12em;background:var(--green);animation:caret-blink .8s steps(1) infinite}.stream-status{width:100%;text-align:right;color:var(--muted);font-size:13px}.chat-footer{padding-top:12px}.chat-composer{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}.chat-composer textarea{height:74px;resize:none;border:1px solid var(--line);border-radius:14px;padding:13px 14px;outline:none}.chat-composer textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #e1f1e8}.chat-composer button{border:0;background:var(--ink);color:#fff;border-radius:14px;padding:0 22px;font-weight:700}.post-layout{height:calc(100% - 108px);padding-top:24px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;overflow:hidden}.post-layout .survey-panel,.post-layout .history-panel{min-height:0;padding:25px 28px 18px}.history-panel .panel-heading,.survey-panel .panel-heading{flex:0 0 auto}.history-panel .panel-heading h2{margin-bottom:8px}.history-context-heading{display:flex;align-items:center;flex-wrap:wrap;gap:7px 12px;margin:0 0 13px;color:var(--muted);font-size:14px}.history-context-heading strong{color:var(--ink);font-size:16px}.history-context-heading span{padding-left:12px;border-left:1px solid var(--line)}.transcript{flex:1;display:flex;flex-direction:column;gap:11px;padding:4px 7px 4px 0}.transcript-scenario,.transcript-entry{flex:0 0 auto;background:#f3f6f3;padding:13px 15px;border-radius:13px}.transcript-scenario>span,.transcript-entry>strong{display:block;margin-bottom:7px;font-size:12px;line-height:1.4;font-weight:750;color:var(--green);text-transform:uppercase;letter-spacing:.04em}.transcript p,.transcript .markdown-text{font-size:13px;line-height:1.65}.transcript-scenario>p{margin-top:0}.transcript-entry .markdown-text strong{font-size:inherit;line-height:inherit}.app-shell>.survey-panel{height:calc(100% - 132px);margin:24px auto 0;padding:28px 34px 20px}.survey-question-scroll{flex:1;min-height:0;padding:3px 7px 5px 1px}.survey-question-scroll .question-card{margin:10px 0}.survey-progress{color:var(--muted);font-size:13px}.survey-footer{align-items:center;justify-content:space-between;gap:15px}.survey-confirm{display:flex;gap:9px;align-items:center;font-size:13px;color:var(--muted)}.survey-confirm input{accent-color:var(--green)}.complete-card{width:min(700px,80vw);margin:12vh auto;background:#fff;border:1px solid var(--line);border-radius:30px;box-shadow:var(--shadow);padding:65px;text-align:center}.complete-mark{width:74px;height:74px;border-radius:50%;display:grid;place-items:center;background:#dff3e7;color:var(--green);font-size:34px;margin:0 auto 24px}.complete-card h1{font-size:42px;margin:12px}.complete-card p{color:var(--muted);line-height:1.8}.completion-code{margin-top:28px;padding:14px;background:#f3f6f3;border-radius:12px}.entry-shell{height:100vh;display:grid;grid-template-columns:55% 45%;background:#fff;overflow:hidden}.entry-visual{position:relative;background:#193a31;color:#fff;padding:55px 7vw;overflow:hidden}.entry-visual:after{content:"";position:absolute;z-index:0;width:420px;height:420px;border-radius:50%;background:#275c4c;right:-150px;top:-120px;pointer-events:none}.entry-visual>*{position:relative;z-index:1}.eyebrow.light{color:#a7e4c4}.entry-visual h1{font-size:clamp(42px,4vw,58px);line-height:1.15;letter-spacing:-.04em;margin:20px 0}.entry-visual>p{max-width:520px;line-height:1.8;color:#c7d8d2}.entry-visual .robot-wrap{width:280px;margin:18px auto 0}.entry-visual .robot-stage{height:min(34vh,310px);min-height:240px}.entry-visual .robot-name{text-align:center;font-size:17px}.entry-visual .robot-state-label{background:#ffffff1a;border-color:#fff3;color:#dce9e4}.entry-visual .robot-shell{fill:#6f9a89}.entry-meta{position:absolute;z-index:2;bottom:32px;left:7vw;right:7vw;display:flex;gap:12px}.entry-meta span{border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:8px 13px;font-size:12px;color:#d8e5e0}.entry-form-wrap{display:grid;place-items:center;padding:50px;overflow:auto}.entry-form{width:min(420px,100%)}.entry-form h2{font-size:38px;margin:10px 0}.entry-form>p{color:var(--muted);margin-bottom:30px}.entry-form label{display:grid;gap:8px;margin:17px 0}.entry-form label>span{font-size:13px;font-weight:700}.entry-form input,.entry-form select{height:52px;border:1px solid var(--line);border-radius:12px;padding:0 15px;background:#fff;outline:none}.entry-form input:focus,.entry-form select:focus{border-color:var(--green);box-shadow:0 0 0 3px #e1f1e8}.entry-form small{color:var(--muted)}.wide{width:100%;margin-top:8px}.link-button{border:0;background:transparent;color:var(--green);width:100%;margin-top:16px;font-size:13px}.secondary-button{width:100%;border:1px solid #9ec5b2;background:#eff7f2;color:var(--green);border-radius:12px;min-height:46px;font-weight:700}.global-error{position:fixed;z-index:10;top:18px;left:50%;transform:translate(-50%);background:#8e3328;color:#fff;padding:12px 18px;border-radius:10px;box-shadow:var(--shadow)}.global-error button{border:0;background:transparent;color:#fff;margin-left:16px}.global-success{background:#1d6b54}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.recovery-dialog-backdrop{position:fixed;z-index:30;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:24px;background:#10261f80}.recovery-dialog{width:min(470px,100%);border-radius:22px;padding:31px;background:#fff;box-shadow:0 24px 70px #00000040}.recovery-dialog h2{margin:9px 0;font-size:28px}.recovery-dialog>p{color:var(--muted);line-height:1.7}.recovery-dialog label{display:block;margin:19px 0 12px}.recovery-dialog input{width:100%;height:54px;border:1px solid #a5c5b4;border-radius:12px;background:#f5faf7;color:var(--ink);font-weight:800;font-size:20px;letter-spacing:.12em;text-align:center}.copy-fallback{margin:11px 0 0;padding:10px 12px;border-radius:10px;background:#fff5e7;color:#805513;font-size:13px}.boot-screen{height:100vh;display:grid;place-items:center;color:var(--muted)}.boot-orbit{position:absolute;width:54px;height:54px;border:3px solid #dce7e0;border-top-color:var(--green);border-radius:50%;animation:spin 1s linear infinite;margin-bottom:80px}.empty-state{display:grid;place-items:center;height:100%}@keyframes robot-breathe{50%{transform:translateY(var(--robot-idle-lift)) scale(var(--robot-idle-scale))}}@keyframes robot-blink{0%,43%,46%,76%,79%,to{transform:scaleY(1)}44.5%,77.5%{transform:scaleY(.08)}}@keyframes robot-think{50%{transform:rotate(2deg) translateY(var(--robot-think-lift))}}@keyframes dot-pulse{0%,to{opacity:.18;transform:translateY(0)}50%{opacity:1;transform:translateY(-7px)}}@keyframes speaking-bob{0%,to{transform:translateY(0) rotate(0)}35%{transform:translateY(var(--robot-speak-lift)) rotate(-.5deg)}70%{transform:translateY(-1px) rotate(.6deg)}}@keyframes robot-listen{50%{transform:rotate(var(--robot-listen-tilt)) translate(var(--robot-listen-shift))}}@keyframes robot-success{50%{transform:scale(var(--robot-success-scale)) translateY(var(--robot-success-lift))}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes caret-blink{50%{opacity:0}}@keyframes stage-fade-up{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes response-card-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(max-height:800px){.content-panel{padding:28px 34px}.response-grid{padding:18px 22px;gap:11px}.response-card{padding:14px 18px}.response-card h2{font-size:16px}.response-card .markdown-text{font-size:13px}.robot-stage{height:290px;min-height:250px}.robot-compact .robot-stage{height:160px;min-height:145px}.robot-compact .robot{width:165px}.mini-context{padding:17px 18px}.mini-context p{font-size:14px;line-height:1.72}.scenario-reading-card{padding-top:22px}.scenario-reflection-copy{padding:25px 28px}.scenario-reflection-form{padding:20px 24px 16px}.scenario-reflection-form .question-card{padding:10px 13px;margin:7px 0}.rating-popover{top:96px;max-height:calc(100% - 108px)}.rating-stack{grid-template-rows:minmax(0,.78fr) minmax(0,1.35fr)}}@media(max-width:1099px){body{min-width:0}.desktop-required{display:flex;height:100vh;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:30px}.desktop-required .robot-wrap{width:220px}.app-shell,.entry-shell,.boot-screen{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition:none!important}}
