/* 밝은 화면에서 네 단계에서 네 가지씩 선택하는 단계별 작성 화면. */
:root{--guided-tint:#f8f5fd;--guided-ink:#4e357f;--guided-line:#ded2ed;--guided-success:#23634d;--guided-radius:14px}
.guided-heading-note{display:flex;gap:10px;align-items:center;font-size:.82rem;color:var(--accent-dark);background:#eee8f8;border:1px solid #e5dcf3;border-radius:999px;padding:12px 17px;flex-shrink:0}.guided-heading-note>span{font-size:1.2rem}.profile-grid.guided-profile-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) minmax(90px,.6fr)}.guided-profile-grid>.field:last-child{grid-column:auto}.editor-switch{display:flex;gap:6px;padding:4px;background:#eeebf5;border-radius:12px;max-width:440px}.editor-switch>button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;min-height:43px;padding:10px 17px;border:1px solid transparent;border-radius:9px;font-size:.82rem;font-weight:600;color:#645773;background:transparent;transition:background .15s,color .15s,border-color .15s;white-space:nowrap}.editor-switch>button.active{background:#fff;border-color:#ddd1ec;color:var(--accent-dark);box-shadow:0 2px 6px #38234a0a}.editor-switch>button:hover{color:var(--accent-dark)}.advanced-editor{display:grid;gap:20px;min-width:0}.advanced-editor-note{font-size:.8rem;line-height:1.8;color:var(--muted);padding:0 5px}.guided-panel{overflow:hidden}.guided-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:27px 28px 22px}.guided-panel-heading h2{font-size:1.32rem;letter-spacing:-.04em;line-height:1.45;margin:8px 0 6px}.guided-panel-heading p:not(.eyebrow){font-size:.84rem;line-height:1.75;color:var(--muted)}.guided-completion{display:inline-flex;padding:8px 11px;min-height:33px;flex-shrink:0;border-radius:999px;background:var(--accent-soft);color:var(--accent-dark);font-size:.75rem;font-weight:700;margin-top:3px}.guided-progress{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 28px 24px}.guided-progress-point{display:flex;gap:11px;align-items:center;text-align:left;padding:14px;border:1px solid var(--border);border-radius:12px;background:#fff;min-width:0;transition:border-color .15s,background .15s}.guided-progress-point>span:last-child{min-width:0}.guided-progress-point strong{display:block;font-size:.86rem;line-height:1.5;word-break:keep-all}.guided-progress-point small{display:block;font-size:.7rem;line-height:1.7;margin-top:3px;color:var(--muted)}.guided-progress-number{display:grid;place-items:center;flex-shrink:0;width:31px;height:31px;border-radius:50%;background:#f2f0f6;font-size:.8rem;font-weight:700;color:#766984}.guided-progress-point.active{background:var(--guided-tint);border-color:#ccb4e8}.guided-progress-point.active .guided-progress-number{background:var(--accent);color:#fff}.guided-progress-point.active strong{color:var(--accent-dark)}.guided-progress-point.complete .guided-progress-number{background:#e8f4ed;color:var(--guided-success)}.guided-progress-point:disabled{background:#fcfbfd}.guided-progress-point:disabled strong{color:#706977}.guided-stage,.guided-summary{padding:25px 28px 27px;border-top:1px solid var(--border);background:linear-gradient(180deg,#fdfbff 0,#fff 140px)}.guided-kind{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px;padding-bottom:20px;border-bottom:1px solid var(--border)}.guided-kind>span{font-size:.76rem;color:var(--muted);white-space:nowrap}.guided-kind>div{display:flex;gap:4px;padding:3px;background:#f0ecf5;border-radius:9px}.guided-kind button{border:0;border-radius:6px;background:transparent;color:#685e77;font-size:.74rem;line-height:1.6;min-height:38px;padding:8px 11px;font-weight:600}.guided-kind button.active{background:white;color:var(--accent-dark);box-shadow:0 1px 4px #4225570d}.guided-breadcrumb{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:17px;color:#82788f;font-size:.74rem;line-height:1.7}.guided-breadcrumb button{border:0;background:none;color:#684c8d;padding:4px 2px;font-size:inherit;min-height:30px;border-radius:4px}.guided-breadcrumb button:hover{color:var(--accent-dark);background:var(--accent-soft)}.guided-breadcrumb>span{overflow-wrap:anywhere}.guided-question{margin-bottom:23px}.guided-step-caption{display:block;font-size:.72rem;line-height:1.6;font-weight:700;color:var(--accent);margin-bottom:8px}.guided-question h3{font-size:1.17rem;letter-spacing:-.035em;line-height:1.5;outline:none}.guided-question p{font-size:.81rem;line-height:1.8;color:var(--muted);margin-top:7px;word-break:keep-all}.guided-choices{display:grid;gap:11px}.guided-choice{display:flex;align-items:center;gap:15px;width:100%;text-align:left;border:1px solid var(--border);border-radius:var(--guided-radius);padding:21px 19px;background:#fff;min-height:91px;box-shadow:0 3px 10px #38225203;transition:border-color .15s,background .15s,transform .15s}.guided-choice:hover{border-color:#c9b0e6;background:var(--guided-tint);transform:translateY(-1px)}.guided-choice-number{display:grid;place-items:center;width:35px;height:35px;flex-shrink:0;border-radius:10px;background:#f3eef9;color:#796196;font-size:.7rem;font-weight:700}.guided-choice-copy{display:grid;gap:6px;min-width:0;flex:1}.guided-choice-copy strong{font-size:.92rem;font-weight:700;line-height:1.65;word-break:keep-all;overflow-wrap:anywhere}.guided-choice-copy>span{color:var(--muted);font-size:.79rem;line-height:1.85;word-break:keep-all;overflow-wrap:anywhere}.guided-choice-arrow{color:#927bb0;font-size:1.12rem;flex-shrink:0}.guided-choice-long{align-items:flex-start;padding-top:19px;padding-bottom:19px}.guided-choice-long .guided-choice-arrow{margin-top:5px}.guided-choice-long .guided-choice-number{margin-top:2px}.guided-choice-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:18px}.guided-choice-footer>.button{font-size:.74rem;min-height:43px;padding:9px 4px}.guided-custom-button{color:#6c587d}.guided-selected-label{display:flex;align-items:center;gap:8px;padding:12px 13px;margin-bottom:20px;border-radius:10px;background:var(--accent-soft);color:var(--accent-dark);font-size:.8rem;line-height:1.65;word-break:keep-all}.guided-selected-label>span{font-weight:700}.guided-selected-label button{margin-left:auto;border:0;background:transparent;color:var(--accent-dark);font-size:.72rem;font-weight:600;white-space:nowrap;min-height:36px;padding:4px 2px;text-decoration:underline;text-underline-offset:3px}.guided-edit-fields{display:grid;gap:17px}.guided-edit-fields textarea{width:100%;font-size:.84rem;padding:13px 15px;line-height:1.9}.guided-plan-check{display:flex;align-items:center;gap:8px;font-size:.79rem;line-height:1.7;color:#61526f;cursor:pointer;margin-top:1px}.guided-plan-check input{width:17px;height:17px;flex-shrink:0;margin:0}.guided-plan-field textarea{background:#fcfbfe}.guided-edit-footer{display:flex;flex-direction:column;align-items:flex-end;gap:15px;margin-top:20px}.guided-edit-footer>span{font-size:.74rem;line-height:1.8;color:var(--muted);align-self:flex-start}.guided-edit-footer>.button{min-height:46px;gap:12px;font-size:.82rem;padding:13px 18px}.guided-review-points{display:grid;gap:15px}.guided-review-card{border:1px solid var(--border);border-radius:var(--guided-radius);padding:20px;background:#fff}.guided-review-heading{display:flex;align-items:center;gap:10px}.guided-review-number{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:var(--accent-soft);color:var(--accent-dark);font-weight:700;font-size:.74rem;flex-shrink:0}.guided-review-heading h4{font-size:.92rem;line-height:1.65;letter-spacing:-.02em;flex:1}.guided-review-heading .button{min-height:37px;padding:8px 5px;font-size:.74rem}.guided-review-path{font-size:.69rem;line-height:1.8;color:#7b6a8c;margin:10px 0 13px}.guided-review-text{font-size:.87rem;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;word-break:keep-all}.guided-review-plan{background:#f8f6fc;border-radius:9px;padding:13px 14px;margin-top:16px}.guided-review-plan>span{display:block;font-size:.68rem;font-weight:700;color:#796391;margin-bottom:5px}.guided-review-plan p{font-size:.79rem;line-height:1.9;color:#615271;white-space:pre-wrap;word-break:keep-all;overflow-wrap:anywhere}.guided-summary-footer{display:flex;gap:7px;align-items:center;flex-wrap:wrap;font-size:.75rem;color:var(--guided-success);line-height:1.8;margin-top:20px}.guided-summary-footer>a{margin-left:auto;font-weight:600;text-decoration:none;min-height:38px;padding:8px 0}.optional-extra{padding:0}.optional-extra>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;padding:21px 24px;font-size:.87rem;font-weight:600;line-height:1.7;min-height:64px}.optional-extra>summary::-webkit-details-marker{display:none}.optional-extra .optional{font-size:.71rem;font-weight:400;margin-left:7px}.optional-extra-arrow{color:var(--accent);font-size:1rem}.optional-extra[open] .optional-extra-arrow{transform:rotate(45deg)}.optional-extra-content{padding:0 24px 24px}.optional-extra-content textarea{width:100%;font-size:.84rem;padding:12px 14px}.optional-extra .note-footer{margin-top:10px;font-size:.72rem;line-height:1.8}.extra-curriculum{margin-top:23px!important;border-top:1px solid var(--border);padding-top:22px}.guided-save-panel{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 24px}.guided-save-panel h2{font-size:.91rem;line-height:1.7;letter-spacing:-.02em}.guided-save-panel p{font-size:.75rem;line-height:1.8;color:var(--muted);margin-top:5px;word-break:keep-all}.guided-save-panel>.button{flex-shrink:0;font-size:.8rem;min-height:45px}.guided-panel .free-field textarea{min-height:0}.guided-panel button:disabled{cursor:not-allowed}.guided-panel .button:focus-visible,.guided-panel button:focus-visible{outline:3px solid var(--ring);outline-offset:3px}.guided-stage-title:focus{outline:0}
@media(max-width:1180px){.guided-heading-note{font-size:.73rem;padding:10px 13px}.guided-panel-heading{padding:24px 22px 21px}.guided-progress{margin:0 22px 22px;gap:8px}.guided-stage,.guided-summary{padding:23px 22px 24px}.guided-progress-point{padding:12px;gap:9px}.guided-progress-point strong{font-size:.79rem}.guided-kind{align-items:flex-start;flex-direction:column;gap:8px}.guided-choice{padding:18px 16px;gap:12px}.guided-save-panel{flex-direction:column;align-items:stretch}.guided-save-panel>.button{align-self:flex-end}.guided-profile-grid .field{font-size:.77rem}.profile-grid.guided-profile-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(85px,.65fr)}}
@media(max-width:1000px){.guided-save-panel{flex-direction:row;align-items:center}.guided-save-panel>.button{align-self:center}.guided-kind{flex-direction:row;align-items:center}.guided-heading-note{font-size:.8rem}.guided-panel-heading{padding:26px 26px 22px}.guided-progress{margin:0 26px 24px}.guided-stage,.guided-summary{padding:25px 26px 26px}.guided-progress-point strong{font-size:.85rem}.guided-choice{padding:20px}.guided-choice-copy strong{font-size:.94rem}.guided-choice-copy>span{font-size:.82rem}}
@media(max-width:640px){.guided-heading-note{display:none}.page-heading h1{font-size:1.35rem}.editor-switch{width:100%;max-width:none;gap:3px}.editor-switch>button{font-size:.75rem;padding:10px 7px;gap:5px;min-height:44px}.profile-grid.guided-profile-grid{grid-template-columns:minmax(0,1fr) minmax(90px,.7fr);gap:16px 12px}.guided-profile-grid>.field:first-child{grid-column:1/-1}.guided-profile-grid>.field:last-child{grid-column:auto}.guided-profile-grid .field{font-size:.81rem}.guided-panel-heading{padding:22px 17px 19px;gap:8px}.guided-panel-heading .eyebrow{font-size:.6rem;letter-spacing:.11em}.guided-panel-heading h2{font-size:1.18rem;margin-top:7px}.guided-panel-heading p:not(.eyebrow){font-size:.76rem}.guided-completion{font-size:.67rem;padding:7px 9px;min-height:29px;margin-top:1px}.guided-progress{margin:0 17px 20px;gap:7px}.guided-progress-point{padding:11px 9px;gap:8px}.guided-progress-number{width:26px;height:26px;font-size:.72rem}.guided-progress-point strong{font-size:.74rem}.guided-progress-point small{font-size:.64rem;margin-top:2px}.guided-stage,.guided-summary{padding:20px 17px 21px}.guided-kind{flex-direction:column;align-items:flex-start;margin-bottom:16px;padding-bottom:16px}.guided-kind>div{width:100%}.guided-kind button{flex:1;font-size:.72rem;padding:9px 7px}.guided-breadcrumb{font-size:.69rem;gap:6px;margin-bottom:15px}.guided-question{margin-bottom:18px}.guided-question h3{font-size:1.03rem}.guided-question p{font-size:.76rem;line-height:1.85}.guided-step-caption{font-size:.68rem;margin-bottom:7px}.guided-choices{gap:9px}.guided-choice{padding:16px 13px;gap:10px;min-height:87px;border-radius:12px}.guided-choice-number{width:29px;height:29px;font-size:.64rem;border-radius:9px}.guided-choice-copy strong{font-size:.84rem;line-height:1.75}.guided-choice-copy>span{font-size:.75rem;line-height:1.85}.guided-choice-copy{gap:5px}.guided-choice-arrow{font-size:1rem}.guided-choice-long{gap:9px}.guided-choice-long .guided-choice-arrow{display:none}.guided-choice-footer{flex-wrap:wrap;justify-content:space-between;gap:4px;margin-top:13px}.guided-choice-footer>.button{font-size:.69rem;padding:9px 1px;min-height:42px}.guided-custom-button{margin-left:auto}.guided-edit-fields textarea{font-size:1rem;padding:12px;line-height:1.8}.guided-edit-fields .free-field{font-size:.8rem}.guided-selected-label{font-size:.75rem;padding:10px;flex-wrap:wrap;gap:6px}.guided-selected-label button{font-size:.67rem}.guided-plan-check{font-size:.74rem;gap:7px}.guided-edit-footer>.button{width:100%;font-size:.8rem}.guided-edit-footer>span{font-size:.7rem}.guided-review-card{padding:16px 13px}.guided-review-heading h4{font-size:.85rem}.guided-review-heading{gap:8px}.guided-review-path{font-size:.65rem}.guided-review-text{font-size:.82rem}.guided-review-plan{padding:12px}.guided-review-plan p{font-size:.75rem}.guided-summary-footer{font-size:.7rem;gap:5px}.guided-summary-footer>a{margin-left:0;flex-basis:100%;padding-top:3px}.optional-extra>summary{padding:18px 17px;font-size:.82rem}.optional-extra-content{padding:0 17px 20px}.optional-extra-content textarea{font-size:1rem;line-height:1.8}.optional-extra .note-footer{font-size:.68rem}.optional-extra .free-field{font-size:.8rem}.guided-save-panel{padding:19px 17px;flex-direction:column;align-items:stretch;gap:15px}.guided-save-panel>.button{width:100%;align-self:stretch}.guided-save-panel h2{font-size:.85rem}.guided-save-panel p{font-size:.72rem}.advanced-editor{gap:15px}.advanced-editor-note{font-size:.74rem;line-height:1.85}}
#guided-stage-title{scroll-margin-top:24px}
#guided-title{display:flex;align-items:center;gap:9px}

/* 필수 한마디와 구체적인 상황 선택. */
.guided-choices[data-step="area"],.guided-choices[data-step="topic"]{grid-template-columns:repeat(2,minmax(0,1fr))}.guided-choices[data-step="area"] .guided-choice,.guided-choices[data-step="topic"] .guided-choice{align-items:flex-start}.guided-selected-label{flex-wrap:wrap}.guided-detail-label{font-size:.74rem;font-weight:400;color:#685477;background:#fff;border:1px solid #dfd3ed;border-radius:6px;padding:3px 7px;line-height:1.7}.guided-summary-footer>.button{margin-left:auto;color:var(--accent-dark);border-color:#ded1ed;font-size:.76rem;min-height:42px}.teacher-note-panel{padding:24px;border-color:#dcccEE;scroll-margin-top:24px}.teacher-note-panel .section-heading{margin-bottom:12px}.teacher-note-panel .section-heading h2{font-size:1.02rem}.required-badge{display:inline-flex;align-items:center;font-size:.7rem;font-weight:700;color:#8b3d32;background:#fff1ec;border:1px solid #f0d8d0;border-radius:6px;padding:4px 8px;line-height:1.5}.teacher-note-description{font-size:.81rem;line-height:1.8;color:var(--muted);margin-bottom:16px;word-break:keep-all}.teacher-note-panel #teacher-note{font-size:.85rem;line-height:1.85;min-height:132px;scroll-margin-top:30px}.teacher-note-panel #teacher-note[aria-invalid="true"]{border-color:#b15648;box-shadow:0 0 0 2px #fff1ec}.teacher-note-panel .note-footer{font-size:.72rem;line-height:1.8}.previous-feedback{padding:20px 24px}.previous-feedback>summary{font-size:.83rem;font-weight:600;color:var(--accent-dark);cursor:pointer;line-height:1.8;min-height:30px}.previous-feedback>p{font-size:.76rem;line-height:1.8;color:var(--muted);margin-top:10px}.previous-feedback>pre{font:inherit;font-size:.81rem;line-height:1.85;background:#faf8fd;border:1px solid var(--border);border-radius:10px;padding:17px;white-space:pre-wrap;overflow-wrap:anywhere;overflow:auto;max-height:360px;margin:15px 0 0;color:var(--text)}
@media(max-width:1180px){.guided-choices[data-step="area"] .guided-choice,.guided-choices[data-step="topic"] .guided-choice{padding:17px 13px;gap:10px}.guided-choices[data-step="area"] .guided-choice-arrow,.guided-choices[data-step="topic"] .guided-choice-arrow{display:none}.teacher-note-panel{padding:22px}.previous-feedback{padding:19px 22px}}
@media(max-width:640px){.guided-choices[data-step="area"],.guided-choices[data-step="topic"]{grid-template-columns:minmax(0,1fr)}.guided-choices[data-step="area"] .guided-choice,.guided-choices[data-step="topic"] .guided-choice{align-items:center;padding:16px 13px}.guided-choices[data-step="area"] .guided-choice-arrow,.guided-choices[data-step="topic"] .guided-choice-arrow{display:block}.guided-detail-label{font-size:.68rem;padding:3px 6px}.guided-summary-footer>.button{margin-left:0;width:100%;font-size:.75rem;margin-top:7px}.teacher-note-panel{padding:20px 17px}.teacher-note-panel .section-heading h2{font-size:.94rem}.teacher-note-description{font-size:.76rem;margin-bottom:13px}.teacher-note-panel #teacher-note{font-size:1rem;line-height:1.8}.teacher-note-panel .note-footer{font-size:.68rem}.previous-feedback{padding:18px 17px}.previous-feedback>summary{font-size:.79rem}.previous-feedback>p{font-size:.73rem}.previous-feedback>pre{font-size:.77rem;padding:13px}}
