#phi-guide{width:min(650px,calc(100% - 32px));padding:30px 32px;max-height:calc(100dvh - 36px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;border:1px solid #cbd4c0;border-radius:10px;background:var(--paper);color:var(--ink);box-shadow:0 24px 100px #142b3138}
#phi-guide [hidden]{display:none!important}
#phi-guide .guide-identity{display:flex;align-items:center;gap:9px;font-size:10px;font-weight:600;line-height:1.6;letter-spacing:1px;text-transform:uppercase;color:#52634f;margin:0 0 17px}
.guide-identity>span{font-family:Georgia,serif;font-size:27px;font-weight:400;letter-spacing:0;line-height:1;text-transform:none}
#phi-guide .dialog-top{--dialog-sticky-offset:-30px}
#phi-guide h2{font-size:30px;line-height:1.2;letter-spacing:-.8px;text-wrap:balance;margin:0}
#phi-guide .guide-intro{font-size:14px;line-height:1.8;color:#59675f;margin:14px 0 21px;max-width:54ch}
.guide-progress{display:flex;gap:8px 21px;flex-wrap:wrap;list-style:none;padding:0;margin:0 0 23px;border-bottom:1px solid #d7ddcf}
.guide-progress li{font-size:11px;line-height:1.6;color:#657273;padding:0 0 11px;border-bottom:2px solid transparent;margin-bottom:-1px}
.guide-progress li[aria-current="step"]{color:#172f32;font-weight:650;border-bottom-color:#b29362}
.guide-step{border:0;padding:0;margin:0;min-width:0}
.guide-step legend{font-size:15px;font-weight:600;line-height:1.5;margin-bottom:14px;padding:0}
.guide-choices{display:grid;gap:9px}
.guide-topics{grid-template-columns:1fr 1fr}
.guide-choice{display:flex;align-items:flex-start;gap:10px;border:1px solid #bdc8b3;border-radius:6px;padding:13px 14px;min-height:49px;cursor:pointer;background:#fff;color:#172f32;line-height:1.55;font-size:13px}
.guide-choice input{accent-color:#526d29;flex:none;width:16px;height:16px;margin:2px 0 0}
.guide-choice span{min-width:0}
.guide-choice:hover{background:#f0f3e8;border-color:#869c6f}
.guide-choice:has(input:checked){background:#eaf0dd;border-color:#667f43;box-shadow:inset 0 0 0 1px #667f43}
.guide-choice:focus-within{outline:3px solid #526d29;outline-offset:3px}
.guide-choice input:focus-visible{outline:0}
.guide-choice-unsure{grid-column:1/-1;background:#f3f3e9}
.guide-context{display:grid;gap:8px;margin-top:21px}
.guide-context>label{font-size:13px;line-height:1.5;font-weight:600}
.guide-context textarea{width:100%;min-height:88px;resize:vertical;border:1px solid #84927b;border-radius:5px;background:#fff;color:#172f32;padding:10px 12px;font:inherit;font-size:14px;line-height:1.65}
.guide-context textarea::placeholder{color:#657273;opacity:1}
.guide-context textarea:focus-visible,.guide-text-button:focus-visible{outline:3px solid #526d29;outline-offset:4px}
#phi-guide .guide-context>p,#phi-guide .guide-review-hint{font-size:12px;line-height:1.75;color:#59675f;margin:0}
.guide-existing{border-left:2px solid #b29362;background:#f0f1e6;padding:12px 14px;margin-top:18px}
#phi-guide .guide-existing p{font-size:13px;line-height:1.75;color:#465640;margin:0 0 7px}
.guide-actions{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:23px 0 15px}
.guide-actions .button{margin-left:auto;font-size:13px;min-height:46px;max-width:100%;gap:15px;padding:13px 17px;text-align:left}
.guide-text-button{font:inherit;font-size:12px;line-height:1.6;color:#465e39;background:none;border:0;border-bottom:1px solid #a5b593;padding:6px 0;cursor:pointer;min-height:36px;text-align:left}
.guide-text-button:hover{color:#172f32;border-bottom-color:#526d29}
#phi-guide .guide-status{font-size:13px;line-height:1.75;color:#465640;margin:15px 0 0;overflow-wrap:anywhere}
.guide-status:empty{display:none}
@media(max-width:720px){#phi-guide{width:calc(100% - 24px);max-height:calc(100dvh - 24px);padding:24px 20px}#phi-guide .dialog-top{--dialog-sticky-offset:-24px}#phi-guide h2{font-size:27px}#phi-guide .guide-identity{font-size:9px;letter-spacing:.7px}.guide-topics{grid-template-columns:1fr}.guide-choice{padding:11px 12px;font-size:14px;min-height:46px}.guide-context textarea{font-size:16px}.guide-progress{gap:8px 16px;margin-bottom:20px}.guide-actions{gap:15px;align-items:stretch}.guide-actions .button{font-size:12px}.guide-text-button{font-size:12px}.guide-context{margin-top:18px}}
@media(max-width:360px){#phi-guide{padding:22px 17px}#phi-guide .dialog-top{--dialog-sticky-offset:-22px}#phi-guide h2{font-size:25px}.guide-progress li{font-size:10px}.guide-actions{flex-wrap:wrap}.guide-actions .button{flex:1;justify-content:space-between;min-width:0}.guide-identity{flex-wrap:wrap}}
@media(forced-colors:active){.guide-choice:has(input:checked){outline:2px solid Highlight}.guide-choice:focus-within{outline-color:Highlight}}
.guide-voice{margin:0 0 20px;padding:10px 13px;border-left:2px solid #b29362;background:#f0f2e8}
.guide-voice-controls{display:flex;align-items:center;flex-wrap:wrap;gap:7px 16px}
.guide-voice-toggle{min-height:44px;max-width:100%;padding:8px 12px;border:1px solid #879979;border-radius:5px;background:#faf9f4;color:#172f32;font:inherit;font-size:12px;font-weight:600;line-height:1.5;text-align:left}
.guide-voice-toggle[aria-pressed=true]{background:#172f32;color:#faf9f4;border-color:#172f32}
.guide-voice-toggle:disabled{cursor:default;opacity:.7}
.guide-voice-toggle:focus-visible{outline:3px solid #526d29;outline-offset:3px}
.guide-voice small{display:block;margin-top:5px;font-size:11px;line-height:1.65;color:#52634f}
#phi-guide .guide-voice p{font-size:11px;line-height:1.65;color:#52634f;margin:5px 0 0}
.guide-voice p:empty{display:none}
#phi-guide{scroll-padding-block:100px 20px}
#phi-guide .guide-choice{scroll-margin-block:100px 16px}
@media(max-width:720px){.guide-voice{padding:8px 11px;margin-bottom:18px}.guide-voice-toggle{font-size:12px}.guide-voice small,#phi-guide .guide-voice p{font-size:11px}}
