:root{font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:#1b3448;background:#f4f8fa;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit}[hidden]{display:none!important}button:disabled{opacity:.46;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #2685a8;outline-offset:2px}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.plan-topbar{height:76px;background:#193347;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 25px}
.plan-brand{display:flex;align-items:center;gap:12px;text-decoration:none;min-width:0}.plan-brand strong{display:block;font-size:16px;line-height:1.35}.plan-brand small{display:block;color:#bfd3dc;font-size:12px;margin-top:2px}.brand-logo{flex:none;display:grid;place-items:center;width:52px;height:52px;border-radius:9px;background:#fff;overflow:hidden}.brand-logo img{width:100%;height:100%;object-fit:contain}.plan-topbar nav{display:flex;gap:8px;flex:none}.plan-topbar nav a{border:1px solid #5e7b8a;border-radius:8px;padding:9px 12px;text-decoration:none;font-size:14px;white-space:nowrap}.plan-topbar nav a:hover{background:#ffffff18}
.plan-app{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:calc(100dvh - 76px)}
.plan-sidebar{position:sticky;top:0;height:calc(100dvh - 76px);overflow-y:auto;background:#fff;border-right:1px solid #dde8ec;padding:23px 15px;scrollbar-width:thin}.plan-side-head{display:flex;align-items:center;justify-content:space-between;gap:7px}.plan-side-head small{color:#678594;font-size:12px}.plan-side-head h2{margin:3px 0 0;font-size:20px}.button{border:1px solid #bbd2da;border-radius:8px;background:#fff;color:#24546a;padding:9px 12px;font-weight:700;font-size:14px;white-space:nowrap}.button:hover{background:#eff7f8}.button.primary{background:#f2ca50;border-color:#f2ca50;color:#193347}.button.primary:hover{background:#ffdb66}.button.danger{color:#a44540;border-color:#ebcac6}.button.danger:hover{background:#fff3f1}.plan-side-head .button{font-size:13px;padding:8px 9px}
.plan-filter{display:flex;flex-wrap:wrap;gap:5px;margin:20px 0 14px}.plan-filter button{border:1px solid transparent;border-radius:7px;background:#edf3f5;color:#567080;padding:6px 9px;font-size:13px}.plan-filter button.active{background:#1e536b;color:#fff}.plan-list{display:grid;gap:7px}.plan-list-item{display:block;width:100%;border:1px solid #e1e9ed;border-radius:9px;background:#f8fafb;text-align:left;padding:11px;color:#204355}.plan-list-item:hover{border-color:#8ebac5;background:#f0f8fa}.plan-list-item.active{border-color:#73afbd;background:#eaf5f7}.plan-list-item strong{display:block;font-size:14px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plan-list-item small{display:block;margin-top:5px;color:#6b8490;font-size:12px}.plan-list-empty{font-size:14px;line-height:1.55;color:#6f8791;padding:12px 2px}.side-hint{margin:22px 2px 0;padding-top:15px;border-top:1px solid #e5ecef;color:#748b94;font-size:12px;line-height:1.6}
.plan-main{min-width:0;padding:28px clamp(16px,4vw,48px) 70px}.plan-welcome,.plan-editor{max-width:1260px;margin:auto}.eyebrow{font-size:12px;letter-spacing:.09em;color:#277c94;font-weight:750}.welcome-title h1{font-size:clamp(26px,3vw,36px);margin:6px 0 8px}.welcome-title p{font-size:15px;color:#617c89;line-height:1.6;margin:0 0 27px}.plan-type-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.plan-type-grid button{display:flex;flex-direction:column;align-items:flex-start;min-height:175px;background:#fff;border:1px solid #dbe7e9;border-radius:13px;padding:21px;text-align:left;color:#19394b;box-shadow:0 6px 20px #1637470d}.plan-type-grid button:hover{border-color:#80b2c0;transform:translateY(-2px)}.plan-type-grid button span{font-size:12px;color:#40839a;font-weight:750}.plan-type-grid button strong{margin-top:26px;font-size:22px}.plan-type-grid button small{margin-top:7px;font-size:14px;color:#67818e;line-height:1.5}
.editor-header{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin:0 0 18px}.editor-heading{min-width:240px;flex:1}.editor-heading input{display:block;width:100%;border:0;border-bottom:1px solid transparent;background:transparent;color:#19384c;font-weight:750;font-size:clamp(22px,2.7vw,30px);line-height:1.35;padding:4px 2px;margin-top:5px}.editor-heading input:hover,.editor-heading input:focus{border-bottom-color:#97b9c4;outline:0}.parent-label{display:block;color:#6a838e;font-size:13px;margin-top:4px}.editor-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:7px}.editor-actions #saveState{font-size:13px;color:#587b89;white-space:nowrap;margin-right:4px}.editor-actions .button{min-height:39px}
.section-tabs{display:flex;overflow-x:auto;gap:4px;border-bottom:1px solid #d7e4e8;margin:0 0 20px;scrollbar-width:thin}.section-tabs button{flex:none;border:0;border-bottom:3px solid transparent;background:transparent;color:#587280;padding:12px 16px;font-weight:700;font-size:14px}.section-tabs button.active{border-bottom-color:#dba933;color:#1d4a60}.section-tabs button:hover{background:#eaf3f5}
.section-content{display:grid;gap:17px}.plan-card{background:#fff;border:1px solid #dfe9ec;border-radius:12px;padding:22px 23px;box-shadow:0 5px 18px #173b480a}.plan-card h2{margin:0 0 7px;font-size:19px}.plan-card>p{margin:0 0 18px;color:#667f8b;font-size:14px;line-height:1.55}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px}.field-grid label,.route-fields label{display:block;min-width:0;color:#526d7b;font-size:14px;font-weight:650}.field-grid .wide{grid-column:1/-1}.field-grid input,.field-grid select,.field-grid textarea,.route-fields input,.route-fields select,.route-fields textarea{display:block;width:100%;min-height:42px;margin-top:7px;border:1px solid #cddde3;border-radius:7px;padding:9px 10px;background:#fff;color:#1c3b4d;font-size:15px;font-weight:400}.field-grid textarea,.route-fields textarea{min-height:76px;resize:vertical;line-height:1.55}.field-grid input::placeholder,.route-fields input::placeholder,.field-grid textarea::placeholder,.route-fields textarea::placeholder{color:#9babb2}.field-grid .help{display:block;color:#78929d;font-weight:400;font-size:12px;margin-top:4px}
.route-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.route-title-row h2{margin:0}.route-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.route-item{min-width:0;border:1px solid #d9e6e9;border-radius:9px;background:#f9fbfc;overflow:hidden}.route-item[open]{background:#fff;border-color:#a5c6cf}.route-item summary{display:flex;align-items:center;gap:9px;list-style:none;cursor:pointer;padding:13px 14px;font-size:14px;font-weight:700}.route-item summary::-webkit-details-marker{display:none}.route-item summary:after{content:'+';color:#43809a;margin-left:auto;font-size:18px;line-height:1}.route-item[open] summary:after{content:'−'}.route-item summary small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#6c8792;font-size:12px;font-weight:400}.route-fields{border-top:1px solid #e2ecef;padding:13px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.route-fields label.wide{grid-column:1/-1}.row-action{margin:0 13px 13px;border:1px solid #b9d8dd;border-radius:7px;background:#eef8f8;color:#246877;padding:8px 10px;font-size:13px;font-weight:700}.row-action:hover{background:#dff0f2}.plan-advice{padding:14px 16px;border-radius:9px;border-left:3px solid #e8be49;background:#f8faf4;color:#576b70;font-size:14px;line-height:1.6}.plan-advice strong{display:block;color:#294950;margin-bottom:3px}.linked-actions{display:flex;gap:9px;flex-wrap:wrap}.linked-actions .button{white-space:normal;text-align:left}.review-note{font-size:13px;color:#718893;line-height:1.55;margin:4px 0 0}
.access-gate{max-width:550px;margin:11vh auto;padding:35px;background:#fff;border:1px solid #dbe8ec;border-radius:14px;text-align:center}.access-gate h1{font-size:24px}.access-gate p{color:#66818e}.access-gate a{display:inline-block;margin-top:12px;padding:10px 18px;background:#f1ca54;border-radius:8px;text-decoration:none;font-weight:700}.mobile-menu-line{display:none}.sidebar-scrim{display:none}
.type-dialog{width:min(92vw,530px);border:0;border-radius:14px;padding:0;box-shadow:0 20px 70px #0d253f55}.type-dialog::backdrop{background:#0b2b3a9d}.type-dialog form{padding:22px}.type-dialog header{display:flex;justify-content:space-between;align-items:center}.type-dialog h2{font-size:20px;margin:0}.type-dialog header button{border:0;background:#edf3f5;border-radius:50%;width:34px;height:34px;font-size:22px;color:#476472}.type-dialog p{color:#66808d;font-size:14px;line-height:1.6}.dialog-types{display:grid;grid-template-columns:1fr 1fr;gap:9px}.dialog-types button{min-height:58px;border:1px solid #d5e5e9;border-radius:9px;background:#f8fbfc;color:#255168;font-weight:700;font-size:15px}.dialog-types button:hover{background:#eaf5f7}
.print-area{display:none}
@media(max-width:980px){.plan-app{grid-template-columns:220px minmax(0,1fr)}.plan-main{padding:23px 18px 55px}.editor-header{align-items:flex-start;flex-direction:column}.editor-actions{justify-content:flex-start}.route-grid{grid-template-columns:1fr}}
@media(max-width:700px){.plan-topbar{height:auto;min-height:68px;padding:9px 12px}.plan-brand strong{font-size:14px}.plan-brand small{font-size:12px}.brand-logo{width:43px;height:43px}.plan-topbar nav{gap:4px}.plan-topbar nav a{font-size:12px;padding:7px 8px}.plan-app{display:block}.plan-sidebar{position:fixed;left:0;top:0;bottom:0;z-index:30;width:min(86vw,300px);height:100dvh;transform:translateX(-105%);transition:transform .18s;box-shadow:14px 0 35px #0b26332a}.plan-app.nav-open .plan-sidebar{transform:translateX(0)}.plan-app.nav-open .sidebar-scrim{display:block;position:fixed;inset:0;z-index:29;background:#102d3b90}.plan-main{padding:12px 13px 52px}.mobile-menu-line{display:flex;align-items:center;justify-content:space-between;gap:9px;margin:0 0 18px}.mobile-menu-line #mobileStatus{font-size:12px;color:#64808c}.menu-button{border:1px solid #cfdee3;background:#fff;border-radius:8px;padding:9px 11px;color:#275269;font-size:14px;font-weight:700}.plan-type-grid{grid-template-columns:1fr}.plan-type-grid button{min-height:145px}.plan-type-grid button strong{margin-top:15px}.editor-header{gap:11px}.editor-actions #saveState{width:100%;order:-1}.plan-card{padding:17px 15px}.route-grid{grid-template-columns:1fr}.home-hub-main{padding:30px}.field-grid{grid-template-columns:1fr}.field-grid .wide{grid-column:auto}}
@media(max-width:420px){.plan-brand strong{max-width:155px}.plan-topbar nav a:first-child{display:none}.route-fields{grid-template-columns:1fr}.route-fields label.wide{grid-column:auto}.editor-actions .button{font-size:13px;padding:8px}.dialog-types{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.plan-sidebar{transition:none}}
@page{size:A4;margin:13mm}
@media print{html,body{background:#fff;color:#203c4c;-webkit-print-color-adjust:exact;print-color-adjust:exact}.plan-topbar,.plan-app,.access-gate,.type-dialog{display:none!important}.print-area{display:block!important;font-size:10pt;line-height:1.5}.print-area h1{font-size:21pt;margin:0 0 4mm}.print-area h2{font-size:13pt;border-bottom:1px solid #cbdbe0;padding-bottom:2mm;margin:6mm 0 3mm}.print-area .print-sub{color:#607886;border-bottom:2px solid #203e50;padding-bottom:4mm}.print-area .print-fields{display:grid;grid-template-columns:1fr 1fr;gap:2.5mm 8mm}.print-area .print-field{break-inside:avoid;page-break-inside:avoid;white-space:pre-wrap}.print-area .print-field.wide{grid-column:1/-1}.print-area .print-field b{color:#3e5966}.print-area .print-row{break-inside:avoid;page-break-inside:avoid;border-bottom:1px solid #e2e8ea;padding:2mm 0}.print-area .print-row strong{margin-right:3mm}.print-area .print-row span{margin-right:4mm}.print-area section{break-inside:auto}.print-area .print-footer{margin-top:8mm;color:#69808b;font-size:8pt}}

.age-guide{border-color:#b8d4dc;background:linear-gradient(135deg,#f2f9fa 0%,#fff 68%)}
.age-guide-head{display:flex;justify-content:space-between;align-items:center;gap:15px}
.age-guide-head h2{margin:3px 0 0}
.age-guide>p{margin:13px 0 17px;color:#3e6473;font-size:15px}
.age-guide-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.age-guide-cols div{padding:13px;background:#fff;border:1px solid #dce9ec;border-radius:9px;line-height:1.55}
.age-guide-cols strong{display:block;color:#1d5168;margin-bottom:6px;font-size:14px}
.age-guide-cols span{color:#425f6c;font-size:14px}
.age-guide .age-change-note{color:#955f1f;margin:13px 0 0}
.age-guide .age-source-note{color:#758d97;font-size:13px;margin:12px 0 0}
.advanced-fields{padding:0}
.advanced-fields>summary{display:flex;justify-content:space-between;gap:10px;cursor:pointer;list-style:none;padding:19px 23px;font-weight:700;font-size:16px;color:#27536a}
.advanced-fields>summary::-webkit-details-marker{display:none}
.advanced-fields>summary span{font-size:13px;color:#6d8895;font-weight:400}
.advanced-fields[open]>summary{border-bottom:1px solid #dfe9ec}
.advanced-group{padding:16px 23px 22px;border-bottom:1px solid #edf1f3}
.advanced-group:last-child{border:0}
.advanced-group h3{font-size:15px;margin:0 0 13px;color:#34566a}
@media(max-width:700px){.age-guide-head{align-items:flex-start;flex-direction:column}.age-guide-cols{grid-template-columns:1fr}.advanced-fields>summary{padding:16px}.advanced-group{padding:16px}}

.create-heading{font-size:19px;margin:0 0 12px;color:#264a5b}.create-heading small{font-size:13px;font-weight:400;color:#718996;margin-left:8px}
.manual-start{margin-top:21px;padding:20px 23px;border:1px solid #c9dfe4;border-radius:13px;background:#edf6f7;display:flex;align-items:center;justify-content:space-between;gap:20px}
.manual-start h2{font-size:20px;margin:4px 0 5px}.manual-start p{margin:0;color:#617f89;font-size:14px;line-height:1.5}
.manual-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end;flex:none}.manual-actions button{border:1px solid #a9c8d0;background:#fff;color:#28566b;padding:10px 12px;border-radius:8px;font-weight:700}.manual-actions button:hover{background:#e4f1f4}
.manual-dialog button{background:#fff;border-style:dashed}
.mode-panel p{line-height:1.65;color:#526f7d}
.topic-pickers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:17px 0}.topic-pickers label{font-size:14px;color:#3f6171;font-weight:700}.topic-pickers select{display:block;width:100%;min-height:44px;margin-top:6px;padding:8px 11px;border:1px solid #b9d5dc;border-radius:8px;background:#fff;color:#23475a;font-size:15px}
.topic-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.topic-preview>div{background:#fff;border:1px solid #dce9eb;border-radius:9px;padding:12px 14px}.topic-preview .wide{grid-column:1/-1}.topic-preview strong{font-size:13px;color:#1c6074}.topic-preview p{margin:5px 0 0;color:#365b68;font-size:14px;line-height:1.6}.topic-preview ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px;padding-left:19px;margin:10px 0;color:#365b68;font-size:14px;line-height:1.5}.topic-preview li small{display:block;color:#6a8490;font-size:13px;margin:3px 0}.topic-empty{color:#5d7d89;font-size:14px}
@media(max-width:850px){.manual-start{align-items:flex-start;flex-direction:column}.manual-actions{justify-content:flex-start}}
@media(max-width:700px){.topic-pickers,.topic-preview,.topic-preview ol{grid-template-columns:1fr}.topic-preview .wide{grid-column:auto}.manual-start{padding:16px}.create-heading small{display:block;margin:5px 0 0}}

.workflow-review{border-color:#a9cbd5;background:linear-gradient(120deg,#f5fafb,#fff)}
.workflow-review h2{margin:5px 0 10px}.workflow-review>p{line-height:1.65;color:#496b78}.workflow-review>small{display:block;color:#657f89;margin:6px 0 16px}
.workflow-review .recommendation-text{font-weight:700;color:#1a5b73}
.next-topic-label{display:block;max-width:550px;font-size:14px;color:#315d6d;font-weight:700;margin:14px 0}
.next-topic-label select{display:block;width:100%;min-height:42px;margin-top:6px;border:1px solid #c1d7df;border-radius:8px;background:#fff;padding:8px}
.workflow-review .button{white-space:normal}
.route-item .row-action+ .row-action{margin-top:0}
