/* Four connected bookmarks. This layer preserves the existing service content. */
body{--book-accent:#4c937c;--book-tab:#d6eee5;--book-paper:#f8fcfa}
body[data-service="courses"]{--book-accent:#8a71aa;--book-tab:#e9dff4;--book-paper:#fcfaff}
body[data-service="inquiry"]{--book-accent:#c48660;--book-tab:#fae6d6;--book-paper:#fffcf7}
body[data-service="teacher"]{--book-accent:#6d95bb;--book-tab:#dfeefa;--book-paper:#f8fbfe}
.highlight-blue{background:linear-gradient(transparent 57%,#daeafa 57%)}
.mode-tabs.bookmark-tabs{position:relative;z-index:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;align-items:end;margin:26px 0 0;padding:8px 0 0;scroll-margin-top:20px}
.bookmark-tabs :is(#careerMode,#courseMode,#inquiryMode,#teacherMode){--tab-fill:#edf8f3;--tab-line:#bad8ca;--tab-ink:#245e57;--tab-slant:18px;--tab-edge:1px;position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0;min-height:62px;margin:0;padding:8px 26px 7px 12px;background:transparent;border:0;border-radius:12px 0 0 0;text-align:left;color:var(--tab-ink);box-shadow:none;z-index:1}
.bookmark-tabs #courseMode{--tab-fill:#f0eafa;--tab-line:#d5c4ee;--tab-ink:#624d82}
.bookmark-tabs #inquiryMode{--tab-fill:#fff0e3;--tab-line:#e8cbb5;--tab-ink:#77543d}
.bookmark-tabs #teacherMode{--tab-fill:#eaf3fc;--tab-line:#b9d1e9;--tab-ink:#365d82}
.bookmark-tabs button::before,.bookmark-tabs button::after{content:"";position:absolute;pointer-events:none;clip-path:polygon(0 0,calc(100% - var(--tab-slant)) 0,100% 100%,0 100%);border-radius:12px 0 0 0}
.bookmark-tabs button::before{inset:0;background:var(--tab-line);z-index:-2}
.bookmark-tabs button::after{inset:var(--tab-edge) var(--tab-edge) 0;background:var(--tab-fill);z-index:-1;border-top-left-radius:11px}
.bookmark-tabs :is(#careerMode,#courseMode,#inquiryMode,#teacherMode)[aria-selected="true"]{--tab-edge:2px;min-height:68px;padding-top:11px;background:transparent;box-shadow:none;color:var(--tab-ink);z-index:3}
.bookmark-tabs button[aria-selected="true"]::before{background:var(--book-accent)}
.bookmark-tabs button[aria-selected="true"]::after{background:var(--book-tab)}
.bookmark-tabs button[aria-selected="true"] b::after{content:"";position:absolute;left:2px;right:2px;bottom:-4px;height:7px;background:var(--book-tab);pointer-events:none}
.bookmark-tabs button>.bookmark-indexrow{display:flex;gap:8px;align-items:center;width:100%;font-size:12px;line-height:1.6;color:inherit}
.bookmark-tabs .service-index{display:inline-block;white-space:nowrap;font-size:12px;letter-spacing:0;border:1px solid currentColor;border-radius:4px;padding:1px 6px;font-weight:700}
.bookmark-tabs .bookmark-selected{display:none;font-size:11px;font-weight:700;margin-left:auto;white-space:nowrap}
.bookmark-tabs button[aria-selected="true"] .bookmark-selected{display:block}
.bookmark-tabs .teacher-label{font-size:11px;font-weight:700;white-space:nowrap}
.bookmark-tabs button b{font-size:16px;line-height:1.4;font-weight:750;word-break:keep-all;overflow-wrap:anywhere}
.bookmark-tabs button b span{display:inline-block;white-space:nowrap}
.service-book{position:relative;border:2px solid var(--book-accent);border-radius:18px 18px 17px 17px;background:linear-gradient(var(--book-tab) 0 8px,var(--book-paper) 8px);padding:28px 25px 24px;box-shadow:0 5px 0 -1px #edf0f2;min-width:0;z-index:1}
body[data-service="careers"] .service-book{border-top-left-radius:0}
body[data-service="teacher"] .service-book{border-top-right-radius:0}
.service-book .explore,.service-book .course-explorer,.service-book .inquiry-explorer{padding-top:0;margin-top:0;border-top:0}
.service-book .context-panel{margin-top:0}
#serviceHeaders .service-start{margin-top:0}
#serviceHeaders .service-start .eyebrow{word-break:keep-all;overflow-wrap:anywhere}
#exploreFilterHeading h2{font-size:1.2rem}
.service-start-04{--sign-bg:linear-gradient(110deg,#dfedf9,#f5f9fd);--sign-accent:#6d95bb;--sign-border:#b9d1e9}
.teacher-gate{max-width:480px;margin:32px auto;padding:28px;border:1px solid #c6d9ea;border-radius:16px;background:#fff}
.teacher-gate h3{margin:0 0 8px;font-size:1.3rem}.teacher-gate p{font-size:.9rem;line-height:1.8}.teacher-gate .field{display:block;margin:20px 0 15px}.teacher-gate .primary{width:100%}
#teacherGateStatus{color:#9a3f36;margin-top:12px;min-height:1.6em}
.teacher-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}
.teacher-toolbar p{font-size:.9rem;color:#48627b}
.teacher-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:0 0 23px}
.teacher-steps li{padding:14px;background:#edf4fb;border-radius:9px;font-size:.9rem;color:#365d82}
.teacher-form{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:24px;border:1px solid #ceddea;border-radius:14px;background:#fff}
.teacher-form .field{display:block;min-width:0}.teacher-form .wide{grid-column:1/-1}
.teacher-form input,.teacher-form select,.teacher-form textarea{display:block;width:100%;min-width:0;margin-top:7px;font:inherit;font-size:16px;line-height:1.75;padding:10px 12px;border:1px solid #a7bbcd;border-radius:8px;background:#fff;color:#273c4e}
.teacher-form textarea{resize:vertical;min-height:135px}
.teacher-form small{font-size:.8rem;color:#5f7384;font-weight:400;display:block;margin-top:5px;line-height:1.7}
.teacher-form-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.teacher-notices{font-size:.84rem;color:#526b7e;line-height:1.8;margin:20px 0}.teacher-notices p{margin:7px 0}
.teacher-draft{margin-top:24px;padding:24px;border:1px solid #bbd4e5;border-radius:12px;background:#f0f6fc}.teacher-draft h3{font-size:1.15rem;margin-bottom:8px}.teacher-draft textarea{width:100%;min-height:220px;margin:12px 0;font:inherit;font-size:16px;line-height:1.9;padding:15px;border:1px solid #b2c7d9;border-radius:8px;resize:vertical;background:#fff}
.teacher-draft p{font-size:.86rem;line-height:1.8}.teacher-draft button{margin-right:9px}
.teacher-session-note{font-size:.86rem;line-height:1.8;color:#526b7e;margin:0 0 18px}
.teacher-record-kinds{min-width:0;border:0;padding:0;margin:0}
.teacher-record-kinds legend{font-size:1rem;font-weight:750;padding:0;margin-bottom:12px}
.teacher-kind-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.teacher-kind{display:flex;align-items:flex-start;gap:9px;padding:15px 13px;border:1px solid #cad9e5;background:#f7fafc;border-radius:10px;cursor:pointer;min-width:0}
.teacher-kind:has(input:checked){background:#e2eff9;border-color:#5d8db8;box-shadow:inset 0 0 0 1px #5d8db8}
.teacher-kind b{font-size:1rem;line-height:1.6;word-break:keep-all}.teacher-kind small{font-size:.78rem;line-height:1.7}
.teacher-form .teacher-kind input{display:block;flex:0 0 17px;width:17px;height:17px;min-height:0;margin:5px 0 0;padding:0;accent-color:#447da8}
.teacher-input-count{display:block;text-align:right;font-size:.8rem;font-weight:500;color:#526b7e;margin:5px 0;font-variant-numeric:tabular-nums}
.teacher-draft-counts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 0}
.teacher-draft-counts label{padding:12px 16px;border:1px solid #c9ddeb;border-radius:10px;background:#fff;font-size:.83rem;color:#4c697e;line-height:1.7}
.teacher-draft-counts output{display:block;font-size:1.35rem;font-weight:750;color:#285778;font-variant-numeric:tabular-nums}
.teacher-count-help{font-size:.8rem;line-height:1.8;color:#526b7e;margin:0 0 18px}.teacher-count-help summary{cursor:pointer;font-weight:650}.teacher-count-help p{font-size:inherit;margin:10px 0}.teacher-count-help a{color:#35658b;text-underline-offset:3px;margin-right:10px}
.teacher-replace-notice{padding:15px 17px;border:1px solid #dfca9d;background:#fff8e7;border-radius:9px;font-size:.86rem;line-height:1.8}.teacher-replace-notice p{margin:0 0 12px}.teacher-replace-notice button{margin-right:8px}
.teacher-record-guide{border:1px solid #d2dfeb;background:#f5f9fd;border-radius:12px;padding:16px 19px;margin:0 0 24px;font-size:.88rem;line-height:1.85}.teacher-record-guide summary{font-weight:750;cursor:pointer}.teacher-record-guide>p{margin:14px 0}.teacher-record-guide section{padding:14px 0;border-top:1px solid #d9e4ed}.teacher-record-guide h4{margin:0 0 6px;font-size:1rem}.teacher-record-guide a{font-size:.8rem;color:#35658b;display:inline-block;margin:7px 12px 0 0;text-underline-offset:3px}
.teacher-example-library{padding:22px;background:#f7faf8;border:1px solid #cadfd5;border-radius:13px;min-width:0}.teacher-example-library h3{margin:0 0 9px;font-size:1.15rem;color:#315b53}.teacher-example-library>p{font-size:.87rem;line-height:1.85;color:#53665f}.teacher-example-tools{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0}.teacher-example-tools label{font-size:.85rem}
.teacher-example-context{font-weight:750;font-size:1rem;color:#315b53;margin:16px 0 10px}.teacher-concept-links{font-size:.86rem;line-height:1.8}.teacher-example-hint{font-size:.85rem;line-height:1.8;color:#566b64;margin:10px 0}.teacher-example-label{display:inline-block;font-size:.8rem;font-weight:700;padding:5px 9px;background:#f7eccf;color:#755b34;border-radius:5px;margin-top:8px}
.teacher-example-text{margin:12px 0 15px;padding:19px 21px;background:#fff;border-left:4px solid #93b8a3;border-radius:0 9px 9px 0;font-size:1rem;line-height:1.95;word-break:keep-all;overflow-wrap:anywhere;white-space:pre-line}
.teacher-example-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.teacher-example-actions button{font-size:.86rem}.teacher-example-actions span{flex-basis:100%;font-size:.8rem;line-height:1.7;color:#426b59}
.teacher-example-library h4{font-size:.9rem;margin:18px 0 5px}.teacher-example-checks{font-size:.85rem;line-height:1.85;padding-left:20px;margin:0 0 12px}.teacher-example-scope,.teacher-example-origin{padding:11px 13px;border-radius:7px;background:#fff3dc;color:#765c32;font-size:.84rem;line-height:1.8;margin:12px 0}
.teacher-example-resources{margin-top:16px;border-top:1px solid #d8e5dd;padding-top:15px;font-size:.85rem;line-height:1.8}.teacher-example-resources summary{font-weight:750;cursor:pointer}.teacher-example-resources>p{margin:10px 0;color:#576c61}.teacher-example-resources ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.teacher-example-resources li{padding:13px;background:#fff;border:1px solid #dee7e0;border-radius:8px;min-width:0}.teacher-example-resources li>small{font-size:.74rem;color:#6b7b71}.teacher-example-resources a{display:block;margin:5px 0;font-weight:700;color:#32695c;overflow-wrap:anywhere;text-underline-offset:3px}.teacher-example-resources li>p{font-size:.8rem;line-height:1.8;font-weight:400;color:#52685b}
@media(max-width:800px){.bookmark-tabs .bookmark-selected{display:none!important}.bookmark-tabs button b{font-size:14px}.bookmark-tabs :is(#careerMode,#courseMode,#inquiryMode,#teacherMode){padding-right:19px}}
@media(max-width:700px){
 .mode-tabs.bookmark-tabs{grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;align-items:stretch}
 .bookmark-tabs :is(#careerMode,#courseMode,#inquiryMode,#teacherMode){--tab-slant:9px;padding:8px 10px 7px 6px;min-height:68px;border-radius:8px 0 0 0;gap:3px}
 .bookmark-tabs button::before,.bookmark-tabs button::after{border-top-left-radius:8px}
 .bookmark-tabs :is(#careerMode,#courseMode,#inquiryMode,#teacherMode)[aria-selected="true"]{min-height:72px;padding-top:9px}
 .bookmark-tabs button b{font-size:12px;line-height:1.4;word-break:normal}
 .bookmark-tabs button b span{display:block;white-space:normal;word-break:keep-all}
 .bookmark-tabs button>.bookmark-indexrow{font-size:11px;flex-wrap:wrap;gap:2px;align-content:flex-start}
 .bookmark-tabs .service-index{font-size:11px;padding:1px 4px}
 .service-book{padding:22px 12px;border-radius:12px}
 .service-book .section-heading.service-start{padding:19px 12px;gap:12px}
 .teacher-form{padding:17px;grid-template-columns:1fr}.teacher-form .wide{grid-column:auto}
 .teacher-kind-choices{grid-template-columns:1fr}.teacher-kind{padding:12px}.teacher-draft-counts{gap:8px}.teacher-draft-counts label{padding:10px}.teacher-draft-counts output{font-size:1.1rem}
 .teacher-example-library{padding:15px}.teacher-example-tools,.teacher-example-resources ul{grid-template-columns:1fr}.teacher-example-text{padding:16px;font-size:.95rem;word-break:normal}.teacher-record-guide{padding:14px}
 .teacher-steps{grid-template-columns:1fr}.teacher-toolbar{align-items:flex-start}.teacher-gate{padding:20px;margin:22px auto}.teacher-draft{padding:17px}
 .service-book .score-filter-controls{grid-template-columns:1fr}.service-book .score-filter-controls>.field{grid-column:auto}
 .service-book .record-actions{flex-wrap:wrap}
}
@media(max-width:400px){
 main.shell{width:calc(100% - 16px)}
 .bookmark-tabs button b{font-size:11.5px}
 .bookmark-tabs :is(#careerMode,#courseMode,#inquiryMode,#teacherMode){--tab-slant:7px;padding-inline:4px 7px}
 .service-book{padding-inline:10px}.service-book .service-start-number{flex-basis:43px;width:43px;font-size:1.8rem}
}
.teacher-personal-intro{margin-top:12px;padding-top:24px;border-top:1px solid #d3e2ee}
.teacher-personal-intro h3{margin:0 0 12px;font-size:1.15rem}
.teacher-personal-intro p{margin:0;font-weight:400;line-height:1.8;color:#526c80}
.teacher-form-status{width:100%;margin:8px 0 0;color:#8b4a38;line-height:1.7}
.teacher-form-status:empty{display:none}
.teacher-personal-notes{margin-top:20px;padding:16px 20px;background:#f1f7fb;border:1px solid #d3e2ee;border-radius:12px;color:#526c80;font-size:.9rem;line-height:1.8;overflow-wrap:anywhere}
.teacher-personal-notes h4{margin:0 0 8px;color:#25495f}
.teacher-personal-notes ul{margin:0;padding-left:20px}
@media print{.bookmark-tabs,.teacher-gate,.teacher-toolbar,.teacher-form-actions{display:none!important}.service-book{border:0;box-shadow:none;padding:0}}
