:root{color-scheme:light;--theme-font:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif;--theme-page:#f5f6fa;--theme-surface:#ffffff;--theme-surface-muted:#f0f1f8;--theme-surface-soft:#ecedf8;--theme-text:#22243a;--theme-text-muted:#4a4d63;--theme-placeholder:#6b6e85;--theme-heading:#4f52a8;--theme-primary:#4f52a8;--theme-primary-hover:#3f4290;--theme-on-primary:#ffffff;--theme-focus:#4f52a8;--theme-bar:#264f52;--theme-on-bar:#ffffff;--theme-section:#e5bae5;--theme-border:#c9cae6;--theme-card-border:#8285c3;--theme-control-border:#4f52a8;--theme-error:#fc474d;--theme-error-text:#c62828;--theme-guardrail:#ffe500;--theme-evidence-strong:#264f52;--theme-evidence-indicative:#4f52a8;--theme-evidence-consensus:#6b6e85;--theme-skeleton:#e6e7f2;--theme-radius-card:14px;--theme-radius-bar:10px;--theme-radius-control:12px;--theme-radius-small:8px;--theme-radius-pill:999px;--theme-shadow-card:0 1px 2px rgba(34,36,58,0.06)}*,:after,:before{box-sizing:border-box}html{text-size-adjust:100%}body{margin:0;background:var(--theme-page);color:var(--theme-text);font:400 1rem/1.55 var(--theme-font);overflow-wrap:break-word}@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}a{color:var(--theme-primary);text-underline-offset:.15em}a:hover{color:var(--theme-primary-hover)}button,input,select,textarea{font:inherit;color:inherit}:focus-visible{outline:3px solid var(--theme-focus);outline-offset:2px}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.hint{margin:0;font-size:.875rem;color:var(--theme-text-muted)}.app{gap:24px;padding:16px max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}.app,.page{display:flex;flex-direction:column}.page{width:100%;max-width:46rem;margin:0 auto;gap:16px;min-width:0}.page-title{margin:4px 0 0;font-size:1.3125rem;line-height:1.3;font-weight:600;color:var(--theme-heading);text-wrap:balance}@media (min-width:600px){.app{padding-top:24px;padding-left:max(24px,env(safe-area-inset-left));padding-right:max(24px,env(safe-area-inset-right))}.page{gap:20px}.page-title{font-size:1.5rem}}.card{background:var(--theme-surface);border:1px solid var(--theme-card-border);border-radius:var(--theme-radius-card);box-shadow:var(--theme-shadow-card);min-width:0}.card-bar{display:flex;align-items:center;gap:8px;min-height:44px;margin:6px 6px 0;padding:8px 14px;background:var(--theme-bar);color:var(--theme-on-bar);border-radius:var(--theme-radius-bar);font-size:.9375rem;font-weight:600;line-height:1.3;letter-spacing:0}.card-body{display:flex;flex-direction:column;gap:12px;padding:14px 16px 16px;min-width:0}@media (min-width:600px){.card-body{padding:16px 20px 20px}}details.card>summary{list-style:none;cursor:pointer}details.card>summary::-webkit-details-marker{display:none}details.card>summary:after{content:"";flex:none;margin-left:auto;width:8px;height:8px;border-right:2px solid;border-bottom:2px solid;transform:translateY(-2px) rotate(45deg)}details.card[open]>summary:after{transform:translateY(2px) rotate(-135deg)}details.card:not([open])>summary{margin-bottom:6px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border:1.5px solid var(--theme-primary);border-radius:var(--theme-radius-control);font-weight:600;font-size:1rem;line-height:1.2;text-align:center;text-decoration:none;cursor:pointer}.btn-primary{min-height:52px;background:var(--theme-primary);color:var(--theme-on-primary)}.btn-primary:hover:not(:disabled){background:var(--theme-primary-hover);border-color:var(--theme-primary-hover);color:var(--theme-on-primary)}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.btn-secondary{background:var(--theme-surface);color:var(--theme-primary)}.btn-secondary:hover{background:var(--theme-surface-soft);color:var(--theme-primary-hover)}.btn-quiet{display:inline-flex;align-items:center;min-height:44px;padding:0 4px;border:0;background:none;color:var(--theme-primary);font-weight:600;text-align:left;cursor:pointer;text-decoration:underline;text-decoration-thickness:1px}.btn-quiet:hover{color:var(--theme-primary-hover)}.site-foot{width:100%;max-width:46rem;margin:8px auto 0;padding-top:12px;border-top:1px solid var(--theme-border);font-size:.8125rem;line-height:1.45;color:var(--theme-text-muted)}.site-foot-line{margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:0 14px}.site-foot-mark{display:inline-flex;align-items:center;gap:6px;min-height:44px}.site-foot-mark img{width:14px;height:16px}.site-foot a{display:inline-flex;align-items:center;min-height:44px;color:var(--theme-text-muted)}.site-foot a:hover{color:var(--theme-primary)}.situation-form{display:flex;flex-direction:column;gap:16px;min-width:0}.input-notice{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;background:var(--theme-surface-muted);border-left:3px solid var(--theme-section);border-radius:var(--theme-radius-small)}.input-notice-icon{flex:none;margin-top:2px;color:var(--theme-primary)}.input-notice-body{display:flex;flex-direction:column;gap:2px;min-width:0;font-size:.875rem;line-height:1.5}.input-notice-body>p{margin:0}.input-notice-title{font-weight:600}.input-notice-more>summary{display:inline-flex;align-items:center;min-height:44px;margin:-6px 0;font-weight:600;color:var(--theme-primary);cursor:pointer;list-style:none}.input-notice-more>summary::-webkit-details-marker{display:none}.input-notice-more>summary:after{content:"";width:7px;height:7px;margin-left:8px;border-right:1.6px solid;border-bottom:1.6px solid;transform:translateY(-2px) rotate(45deg)}.input-notice-more[open]>summary:after{transform:translateY(2px) rotate(-135deg)}.input-notice-more>ul{margin:6px 0 2px;padding:0 0 0 18px;display:flex;flex-direction:column;gap:4px}.situation-box{border:1px solid var(--theme-control-border);border-radius:var(--theme-radius-control);background:var(--theme-surface);padding:12px 14px}.situation-box:focus-within{outline:3px solid var(--theme-focus);outline-offset:1px}.situation-box[data-invalid]{border-color:var(--theme-error)}.situation-field{display:grid;min-width:0}.situation-field:after,.situation-field>textarea{grid-area:1/1;min-height:clamp(7.5rem,30dvh,15rem);margin:0;padding:0;border:0;font:inherit;font-size:1rem;line-height:1.55;white-space:pre-wrap;overflow-wrap:break-word}.situation-field:after{content:attr(data-value) " ";visibility:hidden}.situation-field>textarea{width:100%;height:100%;resize:none;overflow:hidden;outline:none;background:transparent;color:var(--theme-text);scroll-margin:96px 0}.situation-field>textarea::placeholder{color:var(--theme-placeholder);opacity:1}.refine-field:after,.refine-field>textarea{min-height:clamp(4.5rem,18dvh,8rem)}.field-error{margin:0;color:var(--theme-error-text);font-size:.9375rem;font-weight:600}.situation-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:12px;scroll-margin-bottom:16px}.situation-foot .btn-primary{flex:1 1 100%}@media (min-width:600px){.situation-foot .btn-primary{flex:0 0 auto;min-width:12rem}}.situation-hints{display:flex;flex-direction:column;gap:6px}.choice-group{margin:0;padding:0;border:0;min-width:0}.choice-group+.choice-group{margin-top:8px}.choice-group>legend{padding:0;margin-bottom:8px;font-weight:600;color:var(--theme-heading)}.choices{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(8.5rem,100%),1fr));grid-gap:8px;gap:8px}.choice{position:relative;display:flex}.choice>input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.choice>span{flex:1 1;display:flex;align-items:center;justify-content:center;min-height:52px;padding:8px 12px;border:1px solid var(--theme-control-border);border-radius:var(--theme-radius-control);background:var(--theme-surface);color:var(--theme-text);font-size:.9375rem;text-align:center;line-height:1.25}.choice>input:hover+span{background:var(--theme-surface-soft)}.choice>input:checked+span{background:var(--theme-primary);border-color:var(--theme-primary);color:var(--theme-on-primary);font-weight:600}.choice>input:focus-visible+span{outline:3px solid var(--theme-focus);outline-offset:2px}.details-chosen{font-weight:400;opacity:.9}.waiting .card-body{align-items:center;text-align:center;gap:16px;padding-top:22px}.waiting-title{margin:0;max-width:32ch;font-size:1.125rem;font-weight:600;line-height:1.35;color:var(--theme-heading);text-wrap:balance}.waiting-title:focus{outline:none}.waiting-steps{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px;text-align:left}.waiting-steps>li{display:flex;align-items:center;gap:10px;font-size:.9375rem;color:var(--theme-text-muted)}.waiting-steps>li[data-status=active]{color:var(--theme-text);font-weight:600}.waiting-mark{width:18px;height:18px;flex:none;border-radius:var(--theme-radius-pill);display:grid;place-content:center;box-shadow:inset 0 0 0 1.5px var(--theme-border);color:var(--theme-on-primary)}.waiting-steps>li[data-status=passed] .waiting-mark{box-shadow:inset 0 0 0 5px var(--theme-section)}.waiting-steps>li[data-status=done] .waiting-mark{background:var(--theme-primary);box-shadow:none}.waiting-steps>li[data-status=active] .waiting-mark{box-shadow:inset 0 0 0 5px var(--theme-primary)}.waiting-foot{align-self:stretch;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px}.waiting-elapsed{font-size:.875rem;color:var(--theme-text-muted)}@media (prefers-reduced-motion:no-preference){.waiting-steps>li[data-status=active] .waiting-mark{animation:waiting-pulse 1.6s ease-in-out infinite}}@keyframes waiting-pulse{50%{box-shadow:inset 0 0 0 3px var(--theme-primary)}}.answer-page>[data-testid=answer-page]{display:flex;flex-direction:column;gap:16px;min-width:0}.answer-head{display:flex;flex-direction:column;gap:8px}.answer-context{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:0 12px}.answer-context>span{font-size:.875rem;color:var(--theme-text-muted)}.answer-context>a{display:inline-flex;align-items:center;min-height:44px;font-weight:600}.answer-quote{margin:0;padding:12px 14px;background:var(--theme-surface);border:1px solid var(--theme-border);border-left:3px solid var(--theme-section);border-radius:var(--theme-radius-small);display:flex;flex-direction:column;gap:8px}.answer-quote p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.answer-addition{display:flex;flex-direction:column;gap:2px}.answer-addition>span{font-size:.875rem;color:var(--theme-text-muted)}.answer-flow{overflow-anchor:auto}.answer-flow,.answer-flow>article{display:flex;flex-direction:column;gap:16px;min-width:0}.answer-intro{display:flex;flex-direction:column;gap:4px}.flow-title{margin:0;font-size:1.25rem;font-weight:600;line-height:1.3;color:var(--theme-heading);text-wrap:balance}.flow-age{margin:0;font-size:.9375rem;color:var(--theme-text-muted)}.flow-section p{margin:0;overflow-wrap:anywhere}.flow-section p.flow-lead{color:var(--theme-text);font-weight:500}.flow-section p.flow-gap,.flow-section p.flow-principle{font-size:.875rem;color:var(--theme-text-muted)}.flow-item{display:flex;flex-direction:column;gap:4px}.flow-item+.flow-item{padding-top:12px;border-top:1px solid var(--theme-border)}.flow-option-label{margin:0;font-size:1rem;font-weight:600;color:var(--theme-heading)}.flow-say{margin-top:4px;padding:10px 12px;background:var(--theme-surface-muted);border-radius:var(--theme-radius-small);display:flex;flex-direction:column;gap:4px}.flow-say-label{font-size:.8125rem;font-weight:600;color:var(--theme-text-muted)}.flow-section .flow-say p{font-style:italic}.flow-children{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(16rem,100%),1fr));grid-gap:16px;gap:16px}.flow-child{display:flex;flex-direction:column;gap:6px;min-width:0}.flow-child h3{margin:0;font-size:.9375rem;color:var(--theme-heading)}.flow-later{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:14px}.flow-later>li{display:grid;grid-template-columns:minmax(0,1fr);grid-gap:4px;gap:4px}.flow-later>li>div{display:flex;flex-direction:column;gap:4px;min-width:0}@media (min-width:600px){.flow-later>li{grid-template-columns:5rem minmax(0,1fr);gap:12px}}.flow-when{font-size:.875rem;font-weight:600;color:var(--theme-heading);padding-top:1px}.flow-impulse{display:flex;flex-direction:column;gap:10px;min-width:0}.flow-frame{margin:0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:6px}.flow-frame>li{padding:4px 10px;border-radius:var(--theme-radius-pill);background:var(--theme-surface-soft);font-size:.875rem;overflow-wrap:anywhere}.flow-frame>li>span{font-weight:600;color:var(--theme-primary);margin-right:2px}.flow-steps{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:8px}.flow-steps>li::marker{font-weight:600;color:var(--theme-primary)}.flow-reflection{display:flex;flex-direction:column;gap:10px}.flow-choices{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(12rem,100%),1fr));grid-gap:8px;gap:8px}.flow-choice{min-height:52px;padding:8px 14px;border:1px solid var(--theme-control-border);border-radius:var(--theme-radius-control);background:var(--theme-surface);color:var(--theme-primary);font-weight:600;text-align:center;cursor:pointer}.flow-choice:hover:not(:disabled){background:var(--theme-surface-soft)}.flow-choice[aria-pressed=true]{background:var(--theme-primary);color:var(--theme-on-primary)}.flow-choice:disabled:not([aria-pressed=true]){opacity:.5;cursor:default}.flow-age-action{display:inline-flex;align-items:center;vertical-align:middle;min-height:44px;padding:0 2px;border:0;background:none;color:var(--theme-primary);font-weight:600;text-decoration:underline;cursor:pointer}.flow-notice{margin:0;padding:12px 14px;background:var(--theme-surface-muted);border-radius:var(--theme-radius-small);font-size:.9375rem}.flow-withheld-note{font-size:1.0625rem}.flow-withheld-hint{font-size:.9375rem;color:var(--theme-text-muted)}.footnote{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:22px;margin:0 2px;padding:0 6px;border:0;border-radius:var(--theme-radius-pill);background:var(--theme-surface-soft);color:var(--theme-primary);font-size:.75rem;font-weight:700;line-height:1;vertical-align:text-top;cursor:pointer}.footnote:after{content:"";position:absolute;left:-2px;right:-2px;top:50%;height:44px;transform:translateY(-50%)}.footnote:hover,.footnote[aria-expanded=true]{background:var(--theme-primary);color:var(--theme-on-primary)}.source-popover{display:flex;flex-direction:column;gap:6px;padding:12px 14px;background:var(--theme-surface-muted);border-radius:var(--theme-radius-small);font-size:.875rem}.source-popover:focus{outline:2px solid var(--theme-focus);outline-offset:1px}.flow-section .source-popover p{font-size:.875rem}.flow-section .source-popover-statement,.flow-sources-statement{font-weight:600}.flow-sources-boundary>span,.source-popover-boundary>span{font-weight:600;margin-right:4px}.flow-sources-meta,.source-popover-meta{display:flex;flex-wrap:wrap;gap:0 14px;align-items:center;font-size:.8125rem;color:var(--theme-text-muted)}.flow-sources-meta a,.source-popover-meta a{display:inline-flex;align-items:center;min-height:44px;font-weight:600}.source-popover-close{margin-left:auto;min-height:44px;padding:0 4px;border:0;background:none;color:var(--theme-text-muted);text-decoration:underline;cursor:pointer}.certainty-tag{display:inline-flex;align-items:center;gap:6px}.certainty-glyph{flex:none;width:10px;height:10px;border-radius:var(--theme-radius-pill)}.certainty-well_supported{background:var(--theme-evidence-strong)}.certainty-indicative{border:1.5px solid var(--theme-evidence-indicative);background:linear-gradient(90deg,var(--theme-evidence-indicative) 50%,transparent 50%)}.certainty-professional_consensus{border:1.5px solid var(--theme-evidence-consensus)}.skeleton{display:flex;flex-direction:column;gap:10px;padding:4px 0;min-height:4.5rem}.skeleton>span{display:block;height:12px;border-radius:var(--theme-radius-pill);background:var(--theme-skeleton)}.skeleton>span:nth-child(2){width:92%}.skeleton>span:nth-child(3){width:60%}@media (prefers-reduced-motion:no-preference){.skeleton>span{animation:skeleton-pulse 1.6s ease-in-out infinite}}@keyframes skeleton-pulse{50%{opacity:.5}}.sources-line{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:0 12px}.sources-line>span{font-size:.875rem;color:var(--theme-text-muted)}.flow-sources{margin:0;padding:0 0 0 22px;display:flex;flex-direction:column;gap:12px;font-size:.875rem}.flow-sources p{margin:0}.answer-feedback{display:flex;flex-direction:column;gap:8px}.answer-feedback>p{margin:0}.answer-feedback-q{font-weight:600;color:var(--theme-heading)}.answer-feedback-choices{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(11rem,100%),1fr));grid-gap:8px;gap:8px}.answer-feedback-choice{min-height:48px;padding:8px 14px;border:1px solid var(--theme-control-border);border-radius:var(--theme-radius-control);background:var(--theme-surface);color:var(--theme-primary);font-weight:600;cursor:pointer}.answer-feedback-choice:hover:not(:disabled),.answer-feedback-choice[aria-pressed=true]{background:var(--theme-surface-soft)}.answer-feedback-choice:disabled{cursor:default}.answer-feedback-done,.answer-feedback-error{font-size:.9375rem;color:var(--theme-text-muted)}.refine{display:flex;flex-direction:column;gap:16px}.special-card .card-body{gap:12px}.special-card h2{margin:0;font-size:1.0625rem;line-height:1.35;color:var(--theme-heading)}.special-card p{margin:0}.special-guardrail{border-left:6px solid var(--theme-guardrail)}.special-guardrail h2{font-size:1.1875rem;text-wrap:balance}.special-guardrail ol{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:8px}.special-error{border-left:6px solid var(--theme-error)}.special-code,.special-meta{color:var(--theme-text-muted)}.special-actions{display:flex;flex-wrap:wrap;gap:10px}@media (max-width:599px){.special-actions>*{flex:1 1 100%}}