.plan-type-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.plan-type-grid button{min-height:220px}.plan-type-grid small{line-height:1.9}.plan-type-grid em{display:block;margin-top:22px;font-size:14px;font-style:normal;color:#226176}.planning-path{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0 36px}.planning-path span{padding:13px;border:1px solid #dce6eb;border-radius:10px;background:#fff;color:#527383;font-size:13px}.planning-path b{color:#1c536c;margin-right:6px}.plan-main{max-width:1500px}.section-tabs{flex-wrap:wrap}.section-tabs button{white-space:nowrap}.template-guidance{padding:12px 18px;line-height:1.7;background:#eef6f8;color:#52707f;border-radius:10px;font-size:14px}.template-summary{display:flex;align-items:center;gap:15px;padding:16px 22px;border:1px solid #c4dae3;border-radius:12px;background:#f1f8fa}.template-summary strong{color:#1c5b76;font-size:22px}.template-summary span{font-size:14px;color:#657f8c}.template-table-wrap{overflow:auto}.template-table{border-collapse:collapse;min-width:900px;width:100%;font-size:14px}.template-table th{padding:12px;background:#edf5f8;color:#365c6f;border:1px solid #d7e3e8;text-align:left;vertical-align:top}.template-table td{padding:8px;min-width:150px;border:1px solid #d7e3e8;vertical-align:top}.template-table td input,.template-table td select,.template-table td textarea{width:100%;min-height:43px;border:1px solid #c6d8e0;border-radius:6px;padding:9px;font:inherit;color:#24485b;background:#fff}.template-table textarea{resize:vertical;min-height:92px}.schedule-week>summary,.topic-reference>summary{padding:18px 22px;cursor:pointer;font-weight:700;color:#2f5b6f}.schedule-week>summary small,.topic-reference>summary small{font-weight:400;color:#6d8794;margin-left:8px}.schedule-week,.topic-reference{padding:0}.schedule-cards{padding:0 18px 18px}.topic-reference>.plan-card{margin:0;border:0;border-radius:0 0 13px 13px}.month-link select,.exercise-selector select{display:block;margin-top:8px;min-height:44px;border:1px solid #bed5df;border-radius:8px;padding:10px;background:#fff;font-size:15px;color:#2a5265;max-width:100%;width:420px}.plan-card>p{line-height:1.7;color:#627c8b;font-size:14px}.exercise-selector{display:flex;align-items:end;justify-content:space-between;gap:18px;flex-wrap:wrap}.time-total{padding:12px 18px;border-radius:9px;font-size:17px}.time-total.valid{background:#e7f4ed;color:#30785b}.time-total.needs-check{background:#fff2dc;color:#996422}.exercise-card{margin-top:23px;padding:22px;border:1px solid #d5e3e9;border-radius:12px;background:#fafcfd}.exercise-card h3{font-size:18px;margin:0 0 17px;color:#1e526b}.session-actions{display:flex;gap:9px;flex-wrap:wrap;margin:15px 0 8px}.session-actions .button{font-size:13px}.lesson-pill{font-size:12px;background:#fff1df;color:#956227;padding:5px 9px;border-radius:20px;white-space:nowrap}.lesson-pill.ready{background:#e4f3eb;color:#357455}.quality-checks{padding:0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.quality-checks li{padding:15px;border:1px solid #dbe5e8;border-radius:9px;line-height:1.6}.quality-checks strong,.quality-checks span{display:block}.quality-checks strong{font-size:14px;color:#9a6729}.quality-checks .complete strong{color:#357856}.quality-checks span{font-size:13px;color:#6b818d;margin-top:5px}.quality-warning{padding:10px 14px;background:#fff3df;color:#946b2c!important;border-radius:8px}.archive-notice{padding:15px;color:#758b97}.review-rubric{display:grid;gap:10px}.review-rubric>div{display:grid;grid-template-columns:1fr 85px 1fr;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #e0e8ec}.review-rubric strong,.review-rubric small{display:block}.review-rubric small{color:#748892;line-height:1.5;margin-top:4px}.review-rubric select,.review-rubric textarea,.review-decision select,.review-decision textarea{width:100%;border:1px solid #c6d8df;border-radius:7px;padding:9px;font:inherit;background:#fff;color:#294e62}.review-decision{margin:18px 0;display:grid;gap:14px}.review-total{font-size:19px;color:#245a72}.review-state{background:#eaf3f7;padding:14px;border-radius:10px;color:#436879}.review-history{margin-top:18px;padding-top:14px;border-top:1px solid #d9e5e9}.review-history summary{cursor:pointer;color:#567385}.review-history article{padding:12px 0;line-height:1.7}.review-error{color:#995725}.plan-preview-dialog{width:min(1300px,96vw);max-width:none;height:94vh;max-height:94vh;border:0;border-radius:15px;padding:0;background:#edf2f5}.plan-preview-dialog::backdrop{background:#122d40bb}.plan-preview-dialog>header{position:sticky;top:0;z-index:1;display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:15px 23px;background:#fff;border-bottom:1px solid #d2e0e7}.plan-preview-dialog h2{font-size:19px;margin:0 auto 0 0}.plan-preview-dialog>header label{display:flex;gap:8px;align-items:center;font-size:13px}.plan-preview-dialog select{padding:8px;border:1px solid #c7d8e0;border-radius:7px;background:#fff}.plan-preview-dialog #planPreviewBody{padding:25px}.template-print-page{background:#fff;padding:25px;margin:0 auto 24px;max-width:1120px;box-shadow:0 4px 20px #29485912;font-size:13px;line-height:1.6;color:#254558}.template-print-page>header{background:#17354f;color:#fff;padding:18px 23px;margin:-25px -25px 21px}.template-print-page h1{font-size:25px;margin:6px 0}.template-print-page h2{font-size:17px;color:#1a566e;margin:21px 0 10px}.template-print-page header small{letter-spacing:.08em;font-size:11px}.template-print-page header p{margin:3px 0;color:#d3e3ec}.template-print-info{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}.template-print-info>div{padding:10px;background:#eef5f8;white-space:pre-wrap;overflow-wrap:anywhere}.template-print-info b{display:block;color:#366277;margin-bottom:5px}.template-print-table{border-collapse:collapse;width:100%;table-layout:fixed;margin:12px 0}.template-print-table th{background:#1d566f;color:#fff;text-align:left;font-weight:600;padding:9px;border:1px solid #d6e1e7}.template-print-table td{padding:10px;border:1px solid #d6e1e7;vertical-align:top;overflow-wrap:anywhere;min-height:45px}.template-print-table td:first-child{background:#f0f6f8}.template-print-table tr{break-inside:avoid}.template-print-table thead{display:table-header-group}.template-print-page p{white-space:pre-wrap;overflow-wrap:anywhere}
.section-content{grid-template-columns:minmax(0,1fr)}.plan-card{min-width:0}.exercise-selector>label{min-width:0;max-width:100%}
@media(max-width:1000px){.planning-path{grid-template-columns:repeat(2,minmax(0,1fr))}.review-rubric>div{grid-template-columns:1fr 70px}.review-rubric textarea{grid-column:1/-1}}
@media(max-width:700px){.plan-type-grid{grid-template-columns:1fr}.plan-type-grid button{min-height:190px}.plan-main{padding:18px 14px}.planning-path{gap:8px;margin:17px 0 24px}.planning-path span{padding:11px;font-size:12px}.template-summary{align-items:flex-start;flex-direction:column;gap:5px}.quality-checks{grid-template-columns:1fr}.exercise-card{padding:15px}.route-item summary{flex-wrap:wrap}.route-item summary small{width:100%;white-space:normal}.plan-preview-dialog #planPreviewBody{padding:12px;overflow:auto}.plan-preview-dialog .template-print-page{min-width:850px}.plan-preview-dialog>header{padding:12px}.section-tabs{gap:5px}.section-tabs button{font-size:13px;padding:11px 12px}.template-table{min-width:820px}.exercise-selector{align-items:flex-start;flex-direction:column}.time-total{font-size:15px}}
@page{size:A4 landscape;margin:12mm}
@media print{.plan-preview-dialog,.ai-dialog,.ai-settings-dialog{display:none!important}.template-print-page{padding:0;margin:0;max-width:none;box-shadow:none;font-size:8.5pt;line-height:1.4;break-after:page}.template-print-page:last-child{break-after:auto}.template-print-page>header{margin:0 0 3mm;padding:3mm 5mm}.template-print-page h1{font-size:18pt;margin:1mm 0}.template-print-page h2{font-size:11pt;margin:3mm 0 2mm}.template-print-page header small{font-size:8pt}.template-print-table{margin:2.5mm 0}.template-print-table th{padding:1.5mm;font-size:8pt}.template-print-table td{padding:1.5mm;font-size:8.5pt}.template-print-info{gap:2mm;margin:2.5mm 0}.template-print-info>div{padding:1.5mm;font-size:8.5pt}.template-print-page header p{font-size:8.5pt}.template-print-table tr{break-inside:avoid;page-break-inside:avoid}.template-exercise-table td{font-size:8pt;line-height:1.35}}
