.guidance-dialog{width:min(680px,calc(100vw - 32px));max-height:min(820px,calc(100vh - 32px));padding:0;border:1px solid var(--line,#d7d0c4);border-radius:14px;background:var(--paper,#fffdf8);color:inherit;box-shadow:0 24px 80px rgba(28,24,18,.22)}
.guidance-dialog::backdrop{background:rgba(28,24,18,.42);backdrop-filter:blur(2px)}
.guidance-step{padding:28px;display:grid;gap:18px}.guidance-step h2{margin:0;font-size:clamp(1.6rem,4vw,2.2rem);line-height:1.08}.guidance-step p{margin:0;line-height:1.6}
.guidance-step label{display:grid;gap:7px;font-weight:650}.guidance-step select{min-height:44px;border:1px solid var(--line,#d7d0c4);border-radius:8px;background:var(--paper,#fffdf8);color:inherit;padding:0 12px;font:inherit}
.guidance-step fieldset{border:0;padding:0;margin:0;display:grid;gap:8px}.guidance-step legend{font-weight:650;margin-bottom:7px}.guidance-choice-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.guidance-choice{position:relative}.guidance-choice input{position:absolute;opacity:0;pointer-events:none}.guidance-choice span{display:grid;place-items:center;min-height:44px;border:1px solid var(--line,#d7d0c4);border-radius:8px;background:var(--paper,#fffdf8);cursor:pointer}.guidance-choice input:checked+span{border-color:currentColor;box-shadow:inset 0 0 0 1px currentColor;font-weight:750}.guidance-choice input:focus-visible+span{outline:3px solid currentColor;outline-offset:2px}
.guidance-note{display:grid;gap:4px;padding:14px 16px;border-left:3px solid currentColor;background:rgba(127,111,82,.08);border-radius:0 8px 8px 0}.guidance-note span{font-size:.94rem;line-height:1.5;opacity:.8}.guidance-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}
.guidance-progress{display:grid;gap:7px}.guidance-progress span{font-size:.82rem;font-weight:750;text-transform:uppercase;letter-spacing:.05em}.guidance-progress progress{width:100%;height:6px}
.guidance-options{display:grid;gap:9px}.guidance-option{min-height:48px;text-align:left;padding:11px 14px;border:1px solid var(--line,#d7d0c4);border-radius:8px;background:var(--paper,#fffdf8);color:inherit;font:inherit;cursor:pointer}.guidance-option:hover{border-color:currentColor}.guidance-option:focus-visible{outline:3px solid currentColor;outline-offset:2px}.guidance-footnote{font-size:.84rem;opacity:.68}
.guidance-stage-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.guidance-stage-grid>div{display:grid;gap:3px;padding:10px;border:1px solid var(--line,#d7d0c4);border-radius:8px}.guidance-stage-grid span{font-size:.75rem;font-weight:800}.guidance-stage-grid strong{font-size:1.15rem}.guidance-stage-grid small{line-height:1.25;opacity:.72}
#guided-plan{margin-top:28px}.guidance-budget{align-self:center;font-weight:800;font-size:.88rem;border:1px solid var(--line,#d7d0c4);border-radius:999px;padding:6px 10px;white-space:nowrap}.guided-plan-grid{display:grid;gap:10px}.guided-task{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px}.guided-task>div{display:grid;gap:4px}.guided-task small{font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;opacity:.65}.guided-task strong{font-size:1.02rem}.guided-task span{font-size:.88rem;line-height:1.45;opacity:.72}.guided-task-primary{border-width:2px}
.guidance-settings{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.guidance-settings h3{margin:.25rem 0 .45rem}.guidance-settings p{margin:.25rem 0;line-height:1.5}.guidance-settings .guidance-actions{justify-content:flex-start;flex:0 0 auto}
@media(max-width:620px){.guidance-dialog{width:calc(100vw - 16px);max-height:calc(100vh - 16px);border-radius:10px}.guidance-step{padding:20px 16px}.guidance-choice-row{grid-template-columns:1fr}.guidance-stage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.guided-task,.guidance-settings{align-items:stretch;flex-direction:column}.guided-task .btn{width:100%}.guidance-actions{justify-content:stretch}.guidance-actions .btn{flex:1 1 auto}}
