:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#19263b;background:#f6f8fc;font-synthesis:none;font-size:16px;line-height:1.6;--blue:#254f9e;--ink:#19263b;--muted:#53637a;--line:#d5ddea}*{box-sizing:border-box}body{margin:0}header{max-width:1040px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:26px 32px;border-bottom:1px solid var(--line);gap:16px}.wordmark{font-family:Georgia,serif;font-size:36px;letter-spacing:-1.8px;color:var(--ink);text-decoration:none;line-height:1}.wordmark span{color:var(--blue);font-size:27px;padding-left:2px}.badge{font-size:.75rem;font-weight:650;letter-spacing:.05em;color:#354f73;background:#e9effa;padding:6px 11px;border-radius:5px}main{max-width:760px;margin:46px auto 0;padding:0 30px;min-height:55vh}h1{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:2.8rem;line-height:1.16;letter-spacing:-1px;margin:15px 0 22px;max-width:630px}h2{font-size:1.2rem;line-height:1.35;font-weight:650;margin:0 0 12px}h3{font-size:1rem;margin:0 0 10px}p{margin:0 0 16px}.lead{font-size:1.12rem;max-width:560px;color:var(--muted)}.eyebrow{font-size:.78rem;text-transform:uppercase;font-weight:700;letter-spacing:.13em;color:var(--blue);margin:0 0 8px}.steps{display:flex;gap:6px;list-style:none;padding:0;margin:0 0 32px}.steps li{flex:1;border-top:3px solid #dce3ee;padding-top:8px;color:var(--muted);font-size:.8rem}.steps li.current{border-color:var(--blue);color:var(--blue);font-weight:700}.steps li.done{border-color:#8397b6}.card{background:#fff;padding:25px;border:1px solid var(--line);border-radius:12px;margin:22px 0}.note{border-left:3px solid #6887bf;padding:12px 18px;background:#edf2fb;margin:24px 0;color:#354967}.muted,.help{color:var(--muted)}.help{font-size:.9rem}.tiny{font-size:.8rem;color:var(--muted)}.check{display:flex;align-items:flex-start;gap:12px;margin:18px 0;cursor:pointer}.check input{margin-top:6px;flex:0 0 auto;width:19px;height:19px;accent-color:var(--blue)}button,input,select{font:inherit}button{cursor:pointer;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:7px;min-height:48px;padding:11px 20px;font-weight:600;line-height:1.4}button.primary{background:var(--blue);border-color:var(--blue);color:#fff}button.quiet{background:transparent;border-color:transparent;color:var(--blue);padding-left:4px;padding-right:4px;text-decoration:underline;text-underline-offset:4px}button.danger{color:#983d3d;border-color:#cfb0b0}button:disabled{opacity:.55;cursor:wait}button:hover:not(:disabled){filter:brightness(.95)}:focus-visible{outline:3px solid #b36a00;outline-offset:4px}.actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin:28px 0 10px}.actions.spread{justify-content:space-between}fieldset{border:0;padding:0;margin:25px 0}legend{font-weight:650;margin-bottom:10px;width:100%}.choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.choice{display:flex;gap:9px;align-items:center;border:1px solid var(--line);border-radius:8px;padding:13px 12px;cursor:pointer;background:#fff;line-height:1.4;min-height:52px}.choice:has(input:checked){border-color:var(--blue);background:#eaf0fb;box-shadow:inset 0 0 0 1px var(--blue)}.choice input{accent-color:var(--blue);width:17px;height:17px;flex:0 0 auto}.choice small{display:block;font-size:.85rem;color:var(--muted);margin-top:4px}.stack{grid-template-columns:1fr}.scenario{background:#edf2fb;border:0}.scenario p:last-child{margin:0}.product-name{font-family:Georgia,serif;font-size:1.5rem}.result{border-top:4px solid var(--blue)}.result h2{font-family:Georgia,serif;font-size:2.05rem;font-weight:400;line-height:1.2}.evidence-list{list-style:none;padding:0;margin:20px 0 0}.evidence-list li{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:10px 0;font-size:.95rem}.evidence-list strong{text-align:right;font-weight:600}.result-label{color:var(--blue);font-weight:700;font-size:.8rem;text-transform:uppercase;letter-spacing:.1em}details{padding:16px 0;border-top:1px solid var(--line)}summary{cursor:pointer;font-weight:600;color:var(--blue)}details p,details ul{margin-top:14px}.error{background:#fff1ee;color:#863226;border:1px solid #e2b6ac;padding:15px;border-radius:7px;margin:20px 0}.status{background:#eaf0fb;padding:12px;border-radius:6px;margin-bottom:18px}footer{max-width:1040px;margin:55px auto 0;padding:24px 32px 35px;border-top:1px solid var(--line);color:var(--muted);font-size:.85rem;display:flex;justify-content:space-between;gap:20px}footer p{margin:0}.code{font-family:ui-monospace,monospace;letter-spacing:.07em}input[type=text],input[type=password]{width:100%;padding:12px;border:1px solid #9eacc2;border-radius:6px;background:white;margin-top:8px;min-width:0}.moderator{max-width:1120px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.grid .card{margin:12px 0}.facts{display:grid;grid-template-columns:1fr 1fr;gap:12px}.facts div{border-bottom:1px solid var(--line);padding:10px 0}.facts dt{font-size:.8rem;color:var(--muted)}.facts dd{margin:3px 0;overflow-wrap:anywhere}.trace{max-height:450px;overflow:auto}.trace article{border-bottom:1px solid var(--line);padding:15px 0}.trace p{margin:0;overflow-wrap:anywhere}pre{font-size:.8rem;white-space:pre-wrap;overflow-wrap:anywhere;background:#f3f5f9;padding:12px}.skip{position:absolute;left:12px;top:-100px;background:white;padding:12px}.skip:focus{top:10px}dialog{max-width:480px;border:1px solid var(--line);border-radius:12px;padding:28px;color:var(--ink)}dialog::backdrop{background:#19263b66}.pill{display:inline-block;padding:3px 8px;background:#eaf0fb;border-radius:4px;font-size:.75rem;color:#35517c}ul.plain{padding-left:20px}.boundary{display:flex;gap:10px;flex-wrap:wrap}.boundary span{font-size:.85rem;border:1px solid var(--line);border-radius:5px;padding:4px 9px}.notice{margin:16px 0}.history-item{margin:14px 0;border-bottom:1px solid var(--line);padding-bottom:12px}.history-item p{margin:4px 0}.progress-note{font-size:.85rem;color:var(--muted)}@media(max-width:620px){header{padding:22px 20px}.badge{font-size:.68rem;padding:5px 7px}main{padding:0 20px;margin-top:30px}h1{font-size:2.2rem;letter-spacing:-.7px}.card{padding:20px}.choices{gap:6px}.choice{padding:12px 9px;font-size:.93rem}.stack .choice{font-size:1rem;padding:15px}.steps{gap:5px;margin-bottom:25px}.steps li{font-size:.72rem}footer{padding:22px 20px;flex-direction:column;gap:10px;margin-top:38px}.grid{grid-template-columns:1fr;gap:0}.actions{gap:12px}.actions button.primary{width:100%}.evidence-list li{gap:12px}.result h2{font-size:1.85rem}}@media(prefers-reduced-motion:no-preference){button,.choice{transition:background .15s,border-color .15s}}

main:focus{outline:none}
@media(min-width:621px) and (max-width:850px){.grid{grid-template-columns:1fr}}
.photo-empty{text-align:center;padding:35px 22px;border:1px dashed #bac8bc;border-radius:18px;background:#f0f3ed;color:#536453;margin:22px 0}.photo-empty p{font-family:Georgia,serif;font-size:1.35rem;margin:5px 0}.camera-symbol{display:block;font-size:48px;line-height:1.3;color:#5c7664}.photo-stage>img{display:block;width:100%;max-height:360px;object-fit:contain;border-radius:16px;background:#eef0ea;margin:24px 0}.photo-buttons{display:flex;gap:12px;margin:20px 0 10px}.file-button{position:relative;overflow:hidden;display:flex;flex:1;align-items:center;justify-content:center;min-height:52px;border-radius:8px;background:#365844;color:white;cursor:pointer;font-weight:600}.file-button.secondary{background:#e8ede5;color:#365844}.file-button input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.file-button:focus-within{outline:3px solid #b36a00;outline-offset:3px}.wide{width:100%;margin:20px 0}.field{display:block;margin:22px 0}select{display:block;width:100%;padding:12px;border:1px solid #9eacc2;border-radius:6px;background:white;margin-top:8px}.product-context{display:flex;gap:20px;align-items:flex-start}.product-context>div{min-width:0;flex:1}.product-thumb{width:100px;height:130px;object-fit:contain;border-radius:10px;background:#f1f2ed}.label-text{overflow-wrap:anywhere;font-size:.94rem}.product-context details{border:0;padding-bottom:0}:root{--blue:#365844;--ink:#243b30;--muted:#637267;--line:#d8dfd6;background:#fafaf6;color:var(--ink)}.choice:has(input:checked){background:#edf2e9}.note,.scenario,.status{background:#eef2e9;color:#3a5343}.result-label,.eyebrow{color:var(--blue)}.badge{color:#425c48;background:#eaf0e4}@media(max-width:620px){.product-context{gap:14px}.product-thumb{width:75px;height:110px}.photo-empty{padding:28px 16px}}
