.tool-progress{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:0;margin:0 0 34px;color:var(--muted);font-size:14px}
.tool-progress li{border-bottom:2px solid var(--line);padding:12px 0;line-height:1.5}
.tool-progress span{display:inline-flex;align-items:center;justify-content:center;width:27px;height:27px;border:1px solid var(--line);border-radius:50%;margin-right:6px}
.tool-progress [aria-current=step]{color:var(--ink);font-weight:700;border-color:var(--petrol)}
.tool-progress [aria-current=step] span,.tool-progress .is-complete span{background:var(--petrol);color:var(--paper);border-color:var(--petrol)}
.reflection-tool{margin:40px 0 55px;border:1px solid var(--line);padding:35px;background:#fffdf8}
#tool-step{scroll-margin-top:25px;outline-offset:8px}
#tool-step:focus{outline:none}
#tool-step fieldset{min-width:0;border:0;padding:0;margin:0}
#tool-step legend{font:32px/1.25 var(--serif);letter-spacing:-.4px;padding:0;max-width:800px}
.tool-options{display:grid;gap:12px;margin:24px 0}
.tool-option{display:flex;align-items:flex-start;gap:15px;margin:0;padding:18px 20px;background:var(--paper);border:1px solid var(--line);cursor:pointer;font-weight:400;border-radius:3px}
.tool-option:hover{border-color:var(--petrol)}
.tool-option:has(input:checked){background:#e4ece5;border-color:var(--petrol);box-shadow:inset 3px 0 var(--petrol)}
.tool-option:has(input:focus-visible){outline:3px solid var(--petrol);outline-offset:3px}
.tool-option input{flex:0 0 auto;width:20px;height:20px;margin-top:5px;accent-color:var(--petrol)}
.tool-option strong{display:block;font-size:17px;font-weight:500;line-height:1.6}
.tool-option small{display:block;color:var(--muted);margin-top:3px;font-size:14px}
.scene-note{border-left:3px solid var(--petrol);background:var(--sage);padding:20px 24px;margin:25px 0}
.scene-note p{font-size:20px;font-family:var(--serif);margin:8px 0 0}
.tool-controls{display:flex;gap:15px;margin-top:24px}
.tool-error{color:#8c2f25;font-weight:600;margin:10px 0}
.tool-error:empty{display:none}
.result-context{border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:25px}
.result-context h3,.result-conditions h3,#reflection-result>.two-col h3,#reflection-result>h3{font-size:25px;margin-top:25px}
.result-key{padding:28px 30px;background:var(--petrol);color:#fffdf8;margin:30px 0}
.result-key .eyebrow{color:#e3e9df}.result-key h3{font-size:30px;margin:14px 0}.result-key p{margin-bottom:0}
.result-next{border-top:1px solid var(--line);padding-top:26px;margin-top:26px}
.result-next .actions{align-items:center}.result-next a{font-size:15px}
.print-source{display:none}
.story-scene{margin-top:38px;padding-top:28px}
.story-scene summary{font-size:17px}
.story-scene details p{max-width:850px}
@media(max-width:800px){.reflection-tool{padding:25px 20px;margin-top:28px}.tool-progress{gap:8px;font-size:12px}.tool-progress span{display:flex;margin:0 0 7px}#tool-step legend{font-size:28px}.tool-option{padding:15px 13px;gap:12px}.tool-option strong{font-size:16px}.result-key{padding:24px 21px}.result-key h3{font-size:26px}.tool-controls{flex-wrap:wrap}.tool-controls button{flex:1}.scene-note{padding:18px}.result-actions button{width:100%}}
@media print{body.has-reflection-result{background:white;color:#000;font-size:11pt}.has-reflection-result header,.has-reflection-result footer,.has-reflection-result .skip,.has-reflection-result main> :not(.reflection-tool),.has-reflection-result .tool-progress,.has-reflection-result .tool-controls,.has-reflection-result .result-actions,.has-reflection-result .result-next,.has-reflection-result #reflection-status,.has-reflection-result #copy-fallback,.has-reflection-result #tool-error{display:none!important}.has-reflection-result main{padding:0}.has-reflection-result .reflection-tool{padding:0;border:0;margin:0}.has-reflection-result .result-key{color:#000;background:white;border:1px solid #888;padding:15px}.has-reflection-result .result-key .eyebrow{color:#333}.has-reflection-result h2{font-size:25pt}.has-reflection-result h3{font-size:17pt!important}.has-reflection-result .two-col{display:block}.has-reflection-result .print-source{display:block}.has-reflection-result p,.has-reflection-result li{max-width:none}.has-reflection-result .result-key{break-inside:avoid}}