:root{--bg:#fff9fc;--paper:#fff;--ink:#173249;--muted:#66768a;--line:#e8ddec;--purple:#9976ed;--pink:#ff4ba1;--mint:#31cfa7;--orange:#ffa34b;--yellow:#ffd157;--lav:#f5edff;--soft:#fff3f8;--shadow:0 8px 24px rgba(42,19,75,.045)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.55 'Trebuchet MS','Avenir Next',system-ui,sans-serif}button,select,input{font:inherit}button{cursor:pointer}button:focus-visible,select:focus-visible,input:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #b898ff;outline-offset:2px}a{color:#7951ce}a:hover{text-decoration-thickness:2px}small{font-size:12px}.shell{display:flex;min-height:100vh}.sidebar{width:248px;flex:0 0 248px;position:sticky;top:0;height:100vh;background:#fff;border-right:1px solid var(--line);padding:26px 16px;display:flex;flex-direction:column;z-index:12}.brand{display:flex;gap:12px;align-items:center;margin-bottom:33px}.brand-mark{display:grid;place-items:center;border-radius:14px;width:46px;height:46px;background:#e8dcff;color:#7a53c8;font-size:28px}.brand strong{font-size:17px;line-height:1.1;display:block}.brand small{display:block;color:var(--muted);font-size:10px;margin-top:6px}.sidebar nav{display:grid;gap:8px}.nav-link{border:0;background:transparent;text-align:left;border-radius:12px;padding:13px 15px;color:#495b70;font-weight:600;display:flex;gap:10px;align-items:center}.nav-link span{font-size:18px;color:#9a72ed;width:22px;text-align:center}.nav-link.active{background:#ffe0ef;box-shadow:inset 4px 0 0 var(--pink);color:#853767}.nav-link:hover{background:#fbf0fb}.sidebar-foot{margin-top:auto;color:#5b4b79;font-size:12px;border-top:1px solid var(--line);padding:18px 8px 0}.sidebar-foot small{color:#8a8093}.soft-dot{display:inline-block;width:8px;height:8px;background:var(--mint);border-radius:50%;margin-right:4px}.main{flex:1;min-width:0;padding:22px clamp(16px,3vw,54px) 0}.topbar{display:flex;align-items:center;gap:18px;border-bottom:1px solid var(--line);padding:0 0 20px;position:relative}.menu-btn{display:none;background:#fff5fa;border:1px solid #e7d4f8;color:#7f436a;border-radius:13px;width:48px;height:48px;font-size:22px;flex:none}.top-title{flex:1;min-width:0}.top-title small{color:#875bc8;letter-spacing:.16em;font-size:10px;font-weight:800}.top-title h1{margin:2px 0 0;font-size:clamp(23px,2.6vw,34px);font-weight:600;letter-spacing:-.035em}.pilot-tag{background:#fff1cb;color:#7b5419;border:1px solid #ffce64;border-radius:22px;padding:8px 13px;white-space:nowrap;font-size:12px;font-weight:700}.main-content{padding:26px 0 45px;min-height:60vh}.footer{border-top:1px solid var(--line);padding:15px 0 25px;color:#8b8091;font-size:12px}.intro{color:var(--muted);margin:0 0 26px;max-width:820px}.hero{border:1px solid #e8dcef;border-radius:25px;background:linear-gradient(120deg,#fff,#f6eeff);padding:clamp(24px,4vw,45px);margin:12px 0 28px;box-shadow:var(--shadow)}.eyebrow{color:#895ccc;letter-spacing:.14em;font-size:11px;font-weight:800}.hero h2{font-size:clamp(27px,3.6vw,44px);line-height:1.18;letter-spacing:-.04em;margin:10px 0 12px;max-width:700px}.hero p{color:#65728a;max-width:680px;margin:0 0 22px}.btn{border:1px solid #ffb4d4;background:#fff6fa;color:#91436f;border-radius:13px;padding:10px 15px;font-weight:700;min-height:42px}.btn:hover{background:#ffe6f1}.btn.primary{background:var(--pink);border-color:var(--pink);color:#fff}.btn.primary:hover{background:#e93e8f}.btn.purple{background:#916de5;color:#fff;border-color:#916de5}.btn.slim{min-height:35px;padding:6px 11px;font-size:12px}.actions{display:flex;gap:10px;flex-wrap:wrap}.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:20px 0 32px}.feature{border:1px solid var(--line);border-top:4px solid var(--purple);border-radius:17px;background:#fff;padding:21px;box-shadow:var(--shadow)}.feature:nth-child(2){border-top-color:var(--mint)}.feature:nth-child(3){border-top-color:var(--pink)}.feature h3{font-size:16px;margin:0 0 7px}.feature p{margin:0;color:var(--muted);font-size:13px}.count{font-size:28px;font-weight:700;color:#192f46}.section-top{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:0 0 15px;flex-wrap:wrap}.section-top h2{font-size:21px;margin:0}.filter-panel{padding:16px;background:#fff;border:1px solid var(--line);border-radius:18px;display:grid;gap:12px;margin-bottom:20px}.filter-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(130px,1fr) minmax(175px,1fr);gap:10px;align-items:center}.filter-panel input,.filter-panel select{width:100%;height:45px;border:1px solid #e6d9ed;border-radius:12px;padding:10px 13px;background:#fff;color:#22374f;min-width:0}.filter-row select{padding-right:26px}.keybar{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.keybar-label{font-size:12px;color:#6a567e;margin-right:5px;font-weight:700}.chip{border:1px solid #eadcec;background:#fff8fc;border-radius:10px;padding:7px 11px;color:#835276;font-size:12px;font-weight:700}.chip.active{background:#e9dcff;border-color:#a98dec;color:#6135b4}.legend{font-size:12px;color:#8d8190}.results-label{color:#677285;font-size:13px;margin:5px 0 18px}.domain-group{margin:24px 0 28px}.domain-heading{background:#f6efff;border:1px solid #e9dcf7;padding:11px 16px;border-radius:13px;font-weight:700;color:#4e3c78;font-size:16px;margin:0 0 13px}.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.standard-card{position:relative;background:#fff;border:1px solid var(--line);border-top:4px solid var(--purple);border-radius:18px;box-shadow:var(--shadow);text-align:left;min-width:0;padding:19px;display:flex;flex-direction:column;align-items:flex-start;gap:9px;color:var(--ink);min-height:180px}.standard-card:nth-child(3n+2){border-top-color:var(--mint)}.standard-card:nth-child(3n+3){border-top-color:var(--pink)}.standard-card:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(50,27,90,.1)}.standard-card strong{font-size:15px;line-height:1.42;overflow-wrap:anywhere}.meta{font-size:12px;color:#708099}.standard-card .view-link{margin-top:auto;font-size:13px;font-weight:800;color:#9357d1}.status{display:inline-block;border-radius:99px;padding:3px 9px;font-size:10px;font-weight:700;background:#f5efff;color:#8352a8}.status.rich{background:#defaf1;color:#25795d}.tags{display:flex;flex-wrap:wrap;gap:6px}.tag{font-size:10px;font-weight:750;display:inline-flex;align-items:center;border:1px solid #eadcee;border-radius:20px;padding:3px 8px;background:#f8f4ff;color:#624e87}.tag.priority{background:#fff1f2;border-color:#f3b7bc;color:#a33041}.tag.conceptual{background:#f3edff;color:#714db5}.tag.application{background:#fff6de;border-color:#f0dc9e;color:#986520}.tag.procedural{background:#e7f9f6;border-color:#bce9dc;color:#247c6e}.empty{border:1px dashed #d8c8e9;border-radius:16px;padding:26px;color:#7c708f;text-align:center;background:#fff}.practice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.practice-card{border:1px solid var(--line);background:#fff;border-radius:17px;padding:22px;display:flex;gap:15px;align-items:flex-start}.practice-num{background:#eee4ff;border-radius:12px;color:#7950cb;font-size:21px;font-weight:800;padding:6px 12px}.practice-card h3{margin:0;font-size:16px}.practice-card p{color:var(--muted);font-size:13px;margin:6px 0 12px}.information{background:#fff;border:1px solid var(--line);border-radius:17px;padding:22px;line-height:1.65}.information h3{margin:0 0 10px}.information p{color:#65728a;margin:7px 0 15px}.information + .information{margin-top:12px}
/* Modal */
.modal-backdrop{position:fixed;inset:0;background:rgba(33,37,47,.52);z-index:50;display:grid;place-items:center;padding:18px}.modal-panel{background:#fff;border:1px solid #e4cfe2;border-radius:20px;width:min(100%,1120px);max-height:min(94vh,1050px);display:flex;flex-direction:column;box-shadow:0 30px 60px rgba(13,12,35,.2);overflow:hidden}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 24px;border-bottom:1px solid var(--line);flex:none}.modal-head h2{font-size:20px;margin:0;overflow-wrap:anywhere}.close{border:0;background:none;color:#213447;font-size:29px;line-height:1;width:40px;height:40px}.modal-scroll{padding:20px 25px 28px;overflow-y:auto;overscroll-behavior:contain}.profile-header{background:linear-gradient(120deg,#fff,#f7f1ff);border:1px solid #e9dcf3;border-radius:18px;padding:22px;margin-bottom:14px}.profile-header h3{font-size:23px;margin:4px 0 8px}.profile-header p{margin:0 0 12px;color:var(--muted)}.notice{background:#faf5ff;border:1px solid #e8d9f8;border-radius:14px;padding:13px 16px;color:#68577a;font-size:13px;margin-bottom:15px}.reference-controls{background:#fff;border:1px solid var(--line);border-radius:17px;padding:20px;margin:15px 0}.reference-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.reference-header h4{margin:0 0 4px;font-size:16px}.reference-header p{margin:0 0 12px;color:var(--muted);font-size:12px}.reference-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0 16px}.reference-checks label{display:flex;gap:10px;align-items:center;border:1px solid #e8d9f0;border-radius:11px;padding:10px 12px;font-size:13px;cursor:pointer;background:#fffbfd}.reference-checks label.checked{background:#efe6ff;border-color:#b494f3}.reference-checks input{accent-color:#9972ec;width:16px;height:16px;flex:none}.section-stack{display:grid;gap:10px}.ref-section{border:1px solid var(--line);border-radius:15px;overflow:hidden;background:#fff}.ref-section summary{cursor:pointer;background:#faf6ff;padding:16px 19px;display:flex;align-items:center;gap:10px;list-style:none;color:#3f455e;font-weight:750}.ref-section summary::-webkit-details-marker{display:none}.ref-section summary:before{content:'›';display:inline-block;transform:rotate(0deg);color:#8651c7;font-size:23px;line-height:14px;transition:transform .14s}.ref-section[open] summary:before{transform:rotate(90deg)}.ref-section summary>span{flex:1}.source-page{font-size:11px;color:#84748f;font-weight:500;text-align:right}.ref-content{padding:18px 20px;color:#405169;line-height:1.7;font-size:14px}.ref-content p{margin:0 0 11px}.ref-content ul{margin:0 0 14px;padding-left:25px;display:grid;gap:8px}.ref-content li{padding-left:3px}.ref-content .source-link{display:inline-block;margin-top:9px;font-size:12px}.columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.column-card{min-width:0;border:1px solid var(--line);background:#fffbfd;padding:12px;border-radius:12px}.column-card h5{margin:0 0 8px;font-size:13px;color:#6a49a1}.column-card p{font-size:12px;margin:0;line-height:1.65}.smp-row{display:flex;gap:9px;flex-wrap:wrap;margin:12px 0}.smp-row a{border:1px solid #cbb3fc;background:#f4ecff;border-radius:12px;padding:8px 12px;text-decoration:none;font-size:12px;font-weight:700}.preview-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.readonly{color:#6a7c8b;font-size:12px}.sidebar-shade[hidden]{display:none}
@media(max-width:1100px){.sidebar{width:218px;flex-basis:218px}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:810px){.sidebar{position:fixed;left:0;top:0;transform:translateX(-102%);transition:transform .18s ease;box-shadow:10px 0 30px rgba(40,24,75,.08)}.sidebar.open{transform:translateX(0)}.sidebar-shade{display:block;position:fixed;inset:0;background:rgba(24,29,40,.35);z-index:10}.menu-btn{display:block}.main{padding:17px 21px 0;width:100%}.pilot-tag{font-size:11px}}
@media(max-width:620px){body{font-size:14px}.main{padding:13px 15px 0}.topbar{gap:10px;padding-bottom:14px}.top-title small{font-size:8px;letter-spacing:.09em}.top-title h1{font-size:24px}.pilot-tag{font-size:9px;padding:6px 8px}.main-content{padding-top:18px}.filter-row{grid-template-columns:1fr}.filter-panel input,.filter-panel select{height:46px;max-height:46px}.feature-grid,.card-grid,.practice-grid{grid-template-columns:1fr}.hero{padding:23px}.hero h2{font-size:28px}.standard-card{min-height:154px}.modal-backdrop{padding:7px}.modal-panel{max-height:96vh;border-radius:17px}.modal-head{padding:12px 15px}.modal-scroll{padding:16px 14px 20px}.profile-header{padding:15px}.profile-header h3{font-size:20px}.reference-checks,.columns{grid-template-columns:1fr}.ref-section summary{padding:13px 12px;align-items:flex-start}.ref-content{padding:14px}.source-page{font-size:10px}.keybar{gap:5px}}

/* Version 1.2 — refined display, natural wrapping and responsive spacing */
.top-title h1, .hero h2, .feature h3, .section-top h2,
.practice-card h3, .information h3, .profile-header h3, .domain-heading,
.standard-card strong, .modal-head h2 {
  overflow-wrap:normal;
  word-break:normal;
  hyphens:none;
  text-wrap:balance;
}
.hero h2 { max-width:920px; font-size:clamp(27px,3.2vw,43px); line-height:1.17; letter-spacing:-.025em; }
.hero p { max-width:760px; line-height:1.65; }
.top-title { min-width:0; }
.top-title h1 { line-height:1.2; }
.feature h3, .practice-card h3 { line-height:1.4; }
.standard-card strong, .profile-header h3 { overflow-wrap:anywhere; }
.feature, .practice-card, .standard-card, .filter-panel { min-width:0; }
.main-content, .information, .intro { overflow-wrap:break-word; }
.information p:last-child { margin-bottom:0; }
@media (max-width:810px) {
  .hero h2 { font-size:clamp(27px,5vw,38px); }
  .topbar { min-width:0; }
  .top-title h1 { font-size:clamp(21px,4.4vw,31px); }
  .pilot-tag { flex:none; }
}
@media (max-width:620px) {
  .hero { padding:23px 20px; margin-top:4px; }
  .hero h2 { font-size:clamp(26px,7vw,33px); max-width:100%; }
  .hero .actions .btn { max-width:100%; }
  .top-title small { letter-spacing:.06em; }
  .top-title h1 { font-size:clamp(20px,5.1vw,26px); }
  .pilot-tag { max-width:110px; white-space:normal; text-align:center; line-height:1.25; }
  .feature-grid { gap:11px; }
  .feature { padding:17px 18px; }
  .practice-card { padding:18px; }
  .filter-row { align-items:stretch; }
  .filter-panel input, .filter-panel select { min-width:0; width:100%; }
}
@media (max-width:370px) {
  .topbar { gap:8px; }
  .menu-btn { width:42px; height:42px; }
  .pilot-tag { font-size:9px; padding:5px 6px; max-width:82px; }
  .top-title small { font-size:7px; }
  .top-title h1 { font-size:20px; }
}

/* V1.3 — full-page Standards reading view (no modal / duplicate checklist) */
.standard-detail-page{width:100%;max-width:1180px;margin:0 auto 35px;min-width:0}
.standard-detail-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin:0 0 18px}
.standard-detail-code{font-size:13px;letter-spacing:.04em;color:#775d8d;font-weight:750}
.standard-detail-page .profile-header{padding:26px 30px}
.standard-detail-page .profile-header h2{font-size:clamp(23px,3vw,34px);line-height:1.22;margin:10px 0;overflow-wrap:break-word}
.standard-detail-page .section-stack{gap:13px}
.standard-detail-page .ref-section summary{padding:18px 23px}
.standard-detail-page .ref-content{padding:20px 25px;font-size:15px;line-height:1.8}
.standard-detail-page .ref-content li{line-height:1.75}
.standard-detail-page .ref-section summary span{min-width:0;overflow-wrap:break-word}
.standard-detail-footer{margin:22px 0;display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.standard-detail-footer a{overflow-wrap:anywhere}
@media(max-width:620px){
  .standard-detail-page .profile-header{padding:17px 16px}
  .standard-detail-page .profile-header h2{font-size:23px}
  .standard-detail-page .ref-section summary{padding:14px 13px}
  .standard-detail-page .ref-content{padding:16px 14px;font-size:14px}
  .standard-detail-toolbar{align-items:flex-start}
  .standard-detail-code{font-size:11px}
  .standard-detail-footer{align-items:flex-start;flex-direction:column}
}


/* V1.8.2 — Clean navigation and compact page header.
   Design-only overrides: existing data, routes, and interactions are unchanged. */
.sidebar {
  width:202px;
  flex:0 0 202px;
  padding:24px 12px 17px;
}
.brand {
  display:block;
  margin:0 3px 29px;
  padding:2px 7px 16px;
  border-bottom:1px solid var(--line);
}
.brand strong {
  font-size:16px;
  font-weight:750;
  line-height:1.3;
  letter-spacing:-.025em;
}
.brand small {
  margin-top:4px;
  font-size:11px;
  letter-spacing:0;
}
.sidebar nav { gap:4px; }
.nav-link {
  min-height:43px;
  padding:11px 13px;
  border-radius:11px;
  font-size:13px;
  line-height:1.35;
  letter-spacing:0;
  gap:0;
}
.nav-link.active {
  background:#f9eaf3;
  box-shadow:inset 3px 0 0 var(--pink);
}
.sidebar-foot {
  padding:14px 7px 0;
  font-size:10.5px;
  line-height:1.5;
}
.sidebar-foot small { font-size:10px; }
.topbar {
  min-height:62px;
  padding:3px 0 15px;
  gap:14px;
}
.top-title h1 {
  margin:0;
  font-size:clamp(24px,2.25vw,31px);
  line-height:1.17;
  font-weight:650;
  letter-spacing:-.03em;
}
.main-content { padding-top:23px; }
@media (max-width:1100px) and (min-width:811px) {
  .sidebar { width:190px; flex-basis:190px; }
}
@media (max-width:810px) {
  .sidebar {
    width:min(240px,83vw);
    max-width:83vw;
    flex-basis:auto;
    padding:22px 13px;
  }
  .topbar { min-height:54px; padding-bottom:13px; }
  .top-title h1 { font-size:clamp(23px,4.4vw,29px); }
}
@media (max-width:620px) {
  .topbar { gap:11px; }
  .top-title h1 { font-size:clamp(22px,5.5vw,26px); }
  .menu-btn { width:43px; height:43px; }
}

/* V1.8.3 — Home has no redundant page header.
   Keep mobile menu accessible; other pages retain their titles. */
@media (min-width:811px) {
  body.is-home .topbar { display:none; }
  body.is-home .main-content { padding-top:0; }
  body.is-home .hero { margin-top:0; }
}
@media (max-width:810px) {
  body.is-home .topbar {
    display:flex;
    min-height:0;
    padding:0 0 10px;
    border-bottom:0;
    justify-content:flex-start;
  }
  body.is-home .topbar .top-title { display:none; }
  body.is-home .main-content { padding-top:0; }
  body.is-home .hero { margin-top:0; }
}

/* V1.8.5 — compact linked cognitive-demand references beneath SMPs */
.cognitive-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:13px;padding:12px 14px;background:#f8f3ff;border:1px solid #eadcf6;border-radius:14px;max-width:100%;min-width:0}
.cognitive-label{font-size:12px;font-weight:800;color:#68517f;margin-right:4px;white-space:nowrap}
.cognitive-pill{display:inline-flex;align-items:center;max-width:100%;overflow-wrap:anywhere;border:1px solid #c9b2f7;border-radius:10px;background:#eee5ff;color:#6d43bb;font-size:12px;font-weight:700;line-height:1.45;text-decoration:none;padding:7px 11px}
.cognitive-pill:hover{background:#e7d8ff;text-decoration:underline}
.cognitive-pill.blooms{background:#ffedf8;border-color:#f3c8e4;color:#8b416f}
.cognitive-pill.blooms:hover{background:#ffe0f3}
.cognitive-pending{font-size:11px;color:#796e87;flex-basis:100%}
@media(max-width:620px){.cognitive-row{align-items:stretch;padding:10px;gap:7px}.cognitive-label{flex-basis:100%}.cognitive-pill{flex:1 1 auto;font-size:12px}}

/* V1.8.4 — accessible, lightweight profile loading state */
.srh-loading{width:145px;height:5px;background:linear-gradient(90deg,#ede0fd,#9b76ed,#ede0fd);background-size:200% 100%;border-radius:99px;animation:srh-loading 1.3s ease-in-out infinite;margin-top:17px}
@keyframes srh-loading{from{background-position:100% 0}to{background-position:-100% 0}}
@media(prefers-reduced-motion:reduce){.srh-loading{animation:none}}

.assessment-worksheet {
  margin: 16px 0;
}
.assessment-worksheet img {
  display: block;
  max-width: 100%;
  height: auto;
}
.assessment-worksheet figcaption {
  margin-top: 8px;
}

.assessment-table-wrap {
  overflow-x: auto;
  margin: 16px 0;
}

.assessment-table {
  border-collapse: collapse;
  width: 100%;
  max-width: 550px;
}

.assessment-table th,
.assessment-table td {
  border: 1px solid var(--line);
  padding: 8px;
  text-align: left;
}
