
:root{--ink:#173c43;--teal:#007e74;--teal-dark:#0b5658;--pale:#f3f9f7;--line:#c5dfd8;--soft:#54716e}
.one-path,.streamlined-grade,.streamlined-home{background:#f4f8f7;color:var(--ink);font:16px/1.54 system-ui,-apple-system,"Segoe UI",sans-serif}
.one-path *,#subject-hub-entry *,#subject-hub-home *{box-sizing:border-box}
.one-path a,#subject-hub-entry a,#subject-hub-home a{color:inherit}
.one-path a:focus-visible,.streamlined-grade a:focus-visible,.streamlined-home a:focus-visible{outline:3px solid #ffbc42;outline-offset:3px}
.one-header{background:#113b42;color:#fff}
.one-upload-entry{margin-left:auto;color:white!important;border:1px solid #5ac3ae;background:#006e66;border-radius:4px;padding:9px 12px;font-weight:800;text-decoration:none;white-space:nowrap}.one-header-inner{max-width:1160px;margin:auto;padding:15px 20px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.one-brand{color:#fff!important;font-size:18px;text-decoration:none;letter-spacing:-.025em}
.one-grade-tabs{display:flex;gap:8px;flex-wrap:wrap}.one-grade-tabs a{border:1px solid #8ac4bc;color:#fff!important;text-decoration:none;font-size:.87rem;padding:7px 12px;border-radius:5px}
.one-grade-tabs a:hover{background:#1a6164}
.one-main{max-width:1160px;margin:auto;padding:34px 20px 70px;min-height:66vh}
.one-crumb{display:flex;gap:10px;align-items:center;flex-wrap:wrap;color:var(--soft);font-size:.85rem;margin-bottom:24px}
.one-crumb a{color:#006b65;text-decoration:none}.one-crumb a:hover{text-decoration:underline}
.one-overline{font-size:.77rem;font-weight:850;color:#087b73;letter-spacing:.105em;margin-bottom:9px}
.one-main h1,.one-gateway h1{color:var(--ink);font-size:clamp(2rem,4vw,3.3rem);font-weight:850;line-height:1.1;margin:6px 0 12px;letter-spacing:-.045em}
.one-lead{max-width:660px;color:#516d6b;font-size:1.06rem;margin:0 0 30px}
.one-grid{display:grid;gap:14px}
.one-subject-grid,.one-grade-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.one-topic-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.one-card{display:flex;flex-direction:column;text-decoration:none!important;background:#fff;border:1px solid var(--line);border-radius:7px;padding:23px;min-width:0;min-height:185px;transition:border-color .12s,transform .12s;box-shadow:none}
.one-card:hover{border-color:#007e74;transform:translateY(-2px)}
.one-card h2{color:var(--ink);font-size:1.39rem;font-weight:800;line-height:1.18;letter-spacing:-.025em;margin:7px 0 8px}
.one-card p{font-size:.88rem;line-height:1.55;color:#4b6663;margin:0 0 16px}
.one-cap{font-size:.7rem;letter-spacing:.07em;font-weight:800;color:#097b72;text-transform:uppercase}
.one-card-foot{margin-top:auto;display:flex;justify-content:space-between;align-items:center;color:#007e74;font-size:.85rem;font-weight:750}
.one-card-foot span{font-size:1.2rem}
.one-topic-card{min-height:160px;padding:20px}.one-topic-card h2{font-size:1.15rem}
.one-standards{margin:0 0 25px;color:#617873;max-width:900px;font-size:.95rem}
.one-content-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}
.one-panel{border:1px solid var(--line);background:#fff;border-radius:7px;padding:24px;min-width:0}
.one-panel-tag{color:#078174;font-size:.74rem;font-weight:850;letter-spacing:.07em}
.one-panel h2{font-size:1.4rem;line-height:1.25;letter-spacing:-.02em;margin:10px 0 8px}
.one-panel p{color:#536f6b;font-size:.91rem;margin:0 0 20px}
.one-buttons{display:flex;flex-direction:column;gap:9px}
.one-button{font-size:.98rem!important;border-radius:5px;text-align:center;padding:13px 15px;text-decoration:none!important;min-height:47px;font-weight:800}
.one-button.primary{background:#007f74;color:white!important}
.one-button.secondary{border:1.5px solid #007f74;color:#006c61!important;background:#fff}
.one-work-links{display:flex;flex-direction:column;gap:0}
.one-work-item{padding:11px 0;border-bottom:1px solid #e5eeeb}
.one-work-item:last-child{border-bottom:0}
.one-work-label{display:block;font-size:.76rem;font-weight:850;color:#63817a;letter-spacing:.02em}
.one-work-link{color:#006d67!important;text-decoration:underline;text-underline-offset:2px;font-weight:730;font-size:.95rem;overflow-wrap:anywhere}
.one-notice,.one-note{font-size:.82rem!important;color:#647b76!important;margin:28px 0 0;max-width:900px}
.one-note{margin:0 0 24px!important}
.one-bottom-back a{color:#007b71;text-decoration:underline;font-weight:750}
.one-footer{border-top:1px solid var(--line);padding:18px;text-align:center;color:#5c746e;font-size:.78rem}
.one-path .skip{position:absolute;left:-10000px}.one-path .skip:focus{left:12px;top:12px;background:white;padding:12px;z-index:99}
/* The old seven-library dashboard is retained for rollback/QA, but visually
   only the new three-subject gateway is shown. All historical links/files stay. */
.streamlined-grade .utility,.streamlined-grade .review-banner,.streamlined-grade .header .nav,
.streamlined-grade .footer,.streamlined-home .utility,.streamlined-home .review-banner,
.streamlined-home .header .nav,.streamlined-home .footer,
.streamlined-home .grade-ribbon{display:none!important}
.streamlined-grade main.ca-wrap> :not(#subject-hub-entry),
.streamlined-home main.container> :not(#subject-hub-home){display:none!important}
.streamlined-grade main.ca-wrap,.streamlined-home main.container{max-width:1160px!important;width:100%;margin:0 auto;padding:40px 20px 80px!important;min-height:75vh}
#subject-hub-entry,#subject-hub-home{display:block!important;width:100%;max-width:1160px;margin:0 auto}
.streamlined-grade .header,.streamlined-home .header{background:#113b42}
.streamlined-grade .header-inner,.streamlined-home .header-inner{max-width:1160px;margin:auto}
@media(max-width:850px){.one-topic-grid,.one-grade-grid,.one-subject-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.one-content-grid{grid-template-columns:1fr}}
@media(max-width:600px){.one-main,.streamlined-grade main.ca-wrap,.streamlined-home main.container{padding:24px 16px 55px!important}
.one-topic-grid,.one-grade-grid,.one-subject-grid{grid-template-columns:1fr}
.one-card{min-height:134px;padding:20px}.one-topic-card{min-height:130px}
.one-header-inner{padding:12px 16px;flex-direction:column;align-items:flex-start}
.one-grade-tabs a{min-height:40px}.one-panel{padding:18px}.one-panel h2{font-size:1.28rem}}
@media(prefers-reduced-motion:reduce){.one-card{transition:none}.one-card:hover{transform:none}}
