/* ============================================================================
   JNTUStack — Teal brand theme
   Drop-in replacement for the `baseStyles` string in templates/layout.js.
   Light by default; dark is opt-in via <html data-theme="dark">.
   One signature teal (--brand:#00B8A9) is identical in both modes.

   Everything is token-driven: the two themes only swap the :root tokens, so
   component rules never carry literal colors. The old semantic variable names
   (--ink, --paper, --marigold, …) are kept as ALIASES, so any var() references
   already living inside your page templates / ask-widget keep resolving with no
   edits. See INTEGRATION.md for the 4 wiring steps.
   ========================================================================== */

:root{
  /* --- Day (default) — teal brand --- */
  --brand:#00B8A9;     --brand-ink:#04231F;
  --bg:#FFFFFF;        --surface:#F5FBFA;   --surface-2:#FFFFFF;
  --border:#DCE9E6;    --hair:#E9F1EF;
  --text:#0B2B27;      --text-2:#4A6560;    --muted:#5D7873;   --faint:#A9BCB8;
  --accent:#00897D;    --accent-ink:#FFFFFF; --accent-soft:#E2F6F3;
  --green:#00897D;     --green-bg:#E9F8F5;  --green-border:#BFE8E2; --green-ink:#FFFFFF;
  --draft:#B97509;     --draft-bg:#F9EFDD;
  --bar:#FFFFFF;       --shadow:0 20px 44px -22px rgba(11,43,39,.16);
  --logo-bot:#0B2B27;  --logo-mid:#8FAEA9;  --logo-top:#00B8A9;
  --radius:10px;

  /* --- Back-compat aliases (so existing template var() calls still work) --- */
  --ink:var(--text);        --ink-soft:var(--text-2);   --paper:var(--bg);
  --paper-raised:var(--surface); --marigold:var(--accent); --rule:var(--border);
  --verified:var(--green);  --text-muted:var(--muted);
}

html[data-theme="dark"]{
  --bg:#04231F;        --surface:#0A2F2A;   --surface-2:#0E3630;
  --border:#1C453F;    --hair:#123832;
  --text:#EAF4F2;      --text-2:#C3DAD6;    --muted:#9DBBB5;   --faint:#6F918B;
  --accent:#2EDFCF;    --accent-ink:#04231F; --accent-soft:rgba(0,184,169,.16);
  --green:#2EDFCF;     --green-bg:rgba(46,223,207,.1); --green-border:rgba(46,223,207,.3); --green-ink:#04231F;
  --draft:#E8A24A;     --draft-bg:rgba(232,162,74,.13);
  --bar:#062B26;       --shadow:0 24px 50px -24px rgba(0,0,0,.6);
  --logo-bot:#EAF4F2;  --logo-mid:#4E736D;  --logo-top:#00B8A9;
}

*{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}
body{
  margin:0;background:var(--bg);color:var(--text);
  font-family:"IBM Plex Sans",system-ui,sans-serif;font-size:16px;line-height:1.55;
  transition:background .25s ease,color .25s ease;
}
h1,h2,h3{font-weight:700;color:var(--text);margin:0 0 .5rem;letter-spacing:-.01em;}
a{color:var(--accent);text-decoration:none;}
a:hover{filter:brightness(1.1);}
.mono{font-family:"IBM Plex Mono",monospace;}

/* --- Header / nav --- */
.site-header{
  display:flex;align-items:center;justify-content:space-between;
  padding:.85rem 1.25rem;border-top:3px solid var(--brand);border-bottom:1px solid var(--border);
  background:var(--bar);position:sticky;top:0;z-index:40;
}
.brand{display:inline-flex;align-items:center;gap:.55rem;text-decoration:none;color:var(--text);font-weight:700;font-size:1.15rem;}
.brand-logo{display:block;height:44px;width:auto;}
/* Logo is inlined in the header and recolors via the --logo-* tokens per theme. */
.top-nav{display:flex;align-items:center;gap:1.1rem;font-size:.85rem;font-weight:500;}
.top-nav a,.nav-branches-toggle{color:var(--muted);}
.top-nav a:hover,.nav-branches-toggle:hover{color:var(--accent);}

main{max-width:1140px;margin:0 auto;padding:2rem 2.5rem 4rem;}
/* Narrower reading column for quiz/guide-style pages: wrap page content in this. */
.page-narrow{max-width:880px;margin:0 auto;}
@media (max-width:560px){main{padding:1.5rem 1.25rem 3rem;}}

/* --- Theme toggle button (see theme-toggle.js) --- */
.theme-toggle{
  font-family:"IBM Plex Mono",monospace;font-size:.72rem;letter-spacing:.03em;
  color:var(--text-2);background:var(--surface-2);border:1px solid var(--border);
  padding:.4rem .7rem;border-radius:99px;cursor:pointer;
}
.theme-toggle:hover{border-color:var(--accent);color:var(--accent);}

/* --- Meta strip --- */
.form-strip{
  display:flex;flex-wrap:wrap;gap:.4rem .6rem;
  font-family:"IBM Plex Mono",monospace;font-size:.72rem;letter-spacing:.04em;
  text-transform:uppercase;color:var(--muted);margin-bottom:1.4rem;
}
.form-strip span{background:var(--surface);border:1px solid var(--border);padding:.35rem .7rem;border-radius:8px;}
.form-strip b{color:var(--text);font-weight:600;}

h1.subject-title{font-size:2.1rem;line-height:1.12;}
.status-row{display:flex;align-items:center;gap:.6rem;margin:.5rem 0 1.6rem;font-size:.85rem;color:var(--muted);}
.badge{display:inline-flex;align-items:center;gap:.35rem;padding:.25rem .6rem;border-radius:99px;font-size:.7rem;font-weight:600;letter-spacing:.03em;text-transform:uppercase;}
.badge--verified{background:var(--green-bg);color:var(--green);border:1px solid var(--green-border);}
.badge--draft{background:var(--draft-bg);color:var(--draft);}

/* --- Verified / draft stamp --- */
.stamp{
  position:fixed;top:96px;right:20px;z-index:30;
  border:2px solid;border-radius:8px;padding:.5rem .8rem;text-align:center;
  font-family:"IBM Plex Mono",monospace;font-weight:700;font-size:.78rem;letter-spacing:.06em;
  background:var(--surface);box-shadow:var(--shadow);
}
.stamp span{display:block;font-weight:500;text-transform:none;letter-spacing:0;font-size:.62rem;margin-top:.15rem;max-width:150px;color:var(--muted);}
.stamp--verified{border-color:var(--green);color:var(--green);}
.stamp--draft{border-color:var(--draft);color:var(--draft);}

section{margin-bottom:2rem;}

/* --- Unit list --- */
.units-list{list-style:none;margin:0;padding:0;counter-reset:unit;display:flex;flex-direction:column;gap:.6rem;}
.units-list li{
  counter-increment:unit;position:relative;padding:.9rem 1rem .9rem 3rem;
  border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-2);
}
.units-list li::before{
  content:"U" counter(unit);position:absolute;left:1rem;top:.95rem;
  font-family:"IBM Plex Mono",monospace;font-size:.7rem;font-weight:600;color:var(--accent);
}
.units-list .unit-title{font-weight:600;margin-bottom:.2rem;color:var(--text);}
.units-list .unit-topics{font-size:.92rem;color:var(--muted);}

.empty-state{border:1px dashed var(--border);border-radius:var(--radius);padding:1rem;font-size:.9rem;color:var(--muted);background:var(--surface);}

/* --- Resources / download --- */
.resources-box{border:1px solid var(--border);border-radius:var(--radius);padding:1rem;background:var(--surface-2);display:flex;gap:.6rem;flex-wrap:wrap;}
.resources-box a.download{
  display:inline-block;padding:.6rem 1rem;background:var(--brand);color:var(--brand-ink);
  text-decoration:none;border-radius:var(--radius);font-weight:600;font-size:.88rem;
}
.resources-box a.download:hover{filter:brightness(1.06);}

/* Ad slots stay visually separated and never adjacent to .resources-box. */
.ad-slot{margin:1.8rem 0;padding:.5rem;text-align:center;font-size:.65rem;font-family:"IBM Plex Mono",monospace;color:var(--faint);border:1px dotted var(--border);border-radius:8px;}

.legacy-callout{font-size:.88rem;border-left:3px solid var(--accent);padding:.7rem 1rem;background:var(--accent-soft);border-radius:0 var(--radius) var(--radius) 0;color:var(--text-2);}
.disclaimer-box{border:1px dashed var(--border);border-radius:var(--radius);padding:.85rem 1rem;font-size:.85rem;color:var(--muted);background:var(--surface);margin:1.2rem 0;}
.guide-intro{font-size:1rem;color:var(--text-2);max-width:64ch;}

.site-footer{border-top:1px solid var(--border);padding:1.6rem 1.25rem;text-align:center;font-size:.82rem;color:var(--muted);background:var(--bar);}
.telegram-cta{display:inline-block;margin-bottom:.6rem;font-weight:600;color:var(--text);text-decoration:none;border-bottom:2px solid var(--accent);}

/* --- Branch guide: quiz --- */
.progress-bar{height:5px;background:var(--border);border-radius:99px;margin-bottom:1.3rem;overflow:hidden;}
.progress-bar-fill{height:100%;background:var(--brand);width:0%;transition:width .3s ease;}
.quiz-card{border:1px solid var(--border);border-radius:16px;padding:1.5rem;background:var(--surface-2);}
.quiz-question{font-weight:600;font-size:1.2rem;margin-bottom:1.1rem;color:var(--text);}
.quiz-options{display:flex;flex-direction:column;gap:.6rem;}
.quiz-option{text-align:left;padding:.85rem 1rem;border:1px solid var(--border);border-radius:11px;background:var(--surface);font-family:inherit;font-size:.95rem;cursor:pointer;color:var(--text);transition:border-color .15s ease,background .15s ease;}
.quiz-option:hover{border-color:var(--accent);background:var(--surface-2);}
.quiz-nav{display:flex;justify-content:space-between;margin-top:1.1rem;font-size:.85rem;}
.quiz-nav button{background:none;border:none;color:var(--muted);cursor:pointer;text-decoration:underline;padding:0;font-family:inherit;}

.result-card{border:1px solid var(--green-border);border-radius:14px;padding:1.2rem;background:var(--green-bg);margin-bottom:.9rem;}
.result-card h3{margin-bottom:.2rem;}
.result-rank{font-family:"IBM Plex Mono",monospace;font-size:.7rem;color:var(--green);text-transform:uppercase;letter-spacing:.05em;}
.result-reasons{font-size:.9rem;color:var(--muted);margin-top:.4rem;}
.result-status{margin:.3rem 0 .1rem;}

.branch-compare-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(340px,100%),1fr));gap:1rem;width:min(94vw,1080px);margin-left:50%;transform:translateX(-50%);}
.branch-compare-card{border:1px solid var(--border);border-radius:13px;padding:1.2rem;background:var(--surface-2);}
.branch-compare-card h3{font-size:1.1rem;margin-bottom:.2rem;}
.branch-compare-card .tagline{font-size:.9rem;color:var(--muted);margin-bottom:.7rem;}
.compare-label{font-family:"IBM Plex Mono",monospace;font-size:.68rem;text-transform:uppercase;letter-spacing:.05em;color:var(--accent);margin:.7rem 0 .25rem;}
.fit-list,.nonfit-list{margin:0 0 .6rem;padding-left:1.1rem;font-size:.87rem;}
.fit-list li{color:var(--text-2);}
.nonfit-list li{color:var(--muted);}
.content-status{display:inline-block;margin:.15rem 0 .5rem;padding:.22rem .65rem;border-radius:99px;font-family:"IBM Plex Mono",monospace;font-size:.68rem;font-weight:600;letter-spacing:.03em;text-decoration:none;}
.content-status--available{background:var(--green-bg);color:var(--green);border:1px solid var(--green-border);}
.content-status--none{background:var(--surface);color:var(--muted);border:1px solid var(--border);}

/* --- College directory --- */
.district-filter{display:flex;flex-wrap:wrap;gap:.5rem;margin:1.3rem 0 .5rem;}
.district-btn{padding:.45rem .85rem;border:1px solid var(--border);border-radius:99px;background:var(--surface);font-family:"IBM Plex Mono",monospace;font-size:.72rem;letter-spacing:.03em;text-transform:uppercase;color:var(--text-2);cursor:pointer;}
.district-btn:hover{border-color:var(--accent);color:var(--accent);}
.district-btn[aria-pressed="true"]{background:var(--brand);color:var(--brand-ink);border-color:var(--brand);}
.college-count{font-family:"IBM Plex Mono",monospace;font-size:.74rem;color:var(--faint);margin:.2rem 0 1.4rem;}
.college-type-group h2{font-size:1.25rem;border-bottom:1px solid var(--border);padding-bottom:.35rem;}
.college-type-group .group-count{font-family:"IBM Plex Mono",monospace;font-size:.8rem;font-weight:400;color:var(--muted);}
@media (min-width:560px){.college-grid{grid-template-columns:1fr 1fr;}}

/* --- Branch hub --- */
.hub-breadcrumb{display:inline-block;margin-bottom:1rem;font-size:.82rem;font-weight:600;color:var(--accent);text-decoration:none;}
.hub-sem-group h2{font-size:1.2rem;color:var(--accent);font-family:"IBM Plex Mono",monospace;text-transform:uppercase;letter-spacing:.08em;font-size:.85rem;}
.hub-subject-list a{font-weight:600;color:var(--text);text-decoration:none;}
.hub-subject-list a:hover{color:var(--accent);}
.hub-reg{font-size:.66rem;color:var(--green);background:var(--green-bg);padding:.15rem .5rem;border-radius:99px;letter-spacing:.03em;font-family:"IBM Plex Mono",monospace;}

/* --- Header search --- */
.site-search{position:relative;flex:1 1 auto;max-width:320px;margin:0 1rem;}
.site-search-input{width:100%;padding:.55rem .9rem;border:1px solid var(--border);border-radius:99px;background:var(--surface);font-family:inherit;font-size:.85rem;color:var(--text);}
.site-search-input:focus{outline:none;border-color:var(--accent);}
.site-search-input::placeholder{color:var(--faint);}
.site-search-results{position:absolute;left:0;right:0;top:calc(100% + .4rem);z-index:60;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow);max-height:60vh;overflow-y:auto;}
.site-search-hit{display:flex;align-items:center;justify-content:space-between;gap:.6rem;padding:.6rem .85rem;text-decoration:none;color:var(--text);border-bottom:1px solid var(--hair);font-size:.85rem;}
.site-search-hit:last-child{border-bottom:none;}
.site-search-hit:hover,.site-search-hit:focus{background:var(--surface-2);color:var(--accent);}
.site-search-badge{flex:none;font-family:"IBM Plex Mono",monospace;font-size:.6rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;padding:.14rem .45rem;border-radius:99px;background:var(--surface-2);color:var(--muted);}
.site-search-badge--subject{background:var(--green-bg);color:var(--green);}
.site-search-badge--branch_profile{background:var(--draft-bg);color:var(--draft);}
.site-search-badge--college{background:var(--surface-2);color:var(--text-2);}
.site-search-hit-title{font-weight:500;line-height:1.3;}
.site-search-empty{padding:.7rem .85rem;font-size:.82rem;color:var(--muted);}

/* --- Branches dropdown --- */
.nav-branches{position:relative;}
.nav-branches-toggle{font-family:inherit;font-size:.85rem;font-weight:500;background:none;border:none;cursor:pointer;padding:0;}
.nav-branches-menu{display:none;position:absolute;right:0;top:calc(100% + .5rem);z-index:60;min-width:250px;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow);overflow:hidden;}
.nav-branches:hover .nav-branches-menu,.nav-branches:focus-within .nav-branches-menu{display:block;}
.nav-branch{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.55rem .85rem;font-size:.82rem;border-bottom:1px solid var(--hair);text-decoration:none;}
.nav-branch:last-child{border-bottom:none;}
a.nav-branch{color:var(--text);}
a.nav-branch:hover{background:var(--surface-2);color:var(--accent);}
.nav-branch-count{flex:none;font-family:"IBM Plex Mono",monospace;font-size:.62rem;font-weight:600;background:var(--green-bg);color:var(--green);padding:.1rem .45rem;border-radius:99px;}
.nav-branch--disabled{color:var(--faint);cursor:not-allowed;}
.nav-branch-soon{flex:none;font-family:"IBM Plex Mono",monospace;font-size:.58rem;text-transform:uppercase;letter-spacing:.03em;color:var(--faint);}

/* --- Homepage --- */
.badge--soon{background:var(--draft-bg);color:var(--draft);margin-left:.35rem;vertical-align:middle;}
.home-cta-row{display:grid;grid-template-columns:1fr;gap:1rem;margin-bottom:2.4rem;}
.home-cta-card{display:block;border:1px solid var(--border);border-radius:14px;padding:1.3rem;background:var(--surface-2);text-decoration:none;color:var(--text);transition:border-color .15s ease;}
a.home-cta-card:hover{border-color:var(--accent);}
.home-cta-card h3{font-size:1.08rem;margin-bottom:.3rem;}
.home-cta-card .tagline{font-size:.88rem;color:var(--muted);margin:0 0 .8rem;}
.home-cta-go{font-size:.85rem;font-weight:600;color:var(--accent);}
.home-cta-card--soon{border-style:dashed;background:var(--surface);}
.home-cta-go--muted{color:var(--faint);font-weight:600;font-size:.85rem;}
@media (min-width:640px){.home-cta-row{grid-template-columns:1fr 1fr 1fr;}}

.branch-grid{display:grid;grid-template-columns:1fr 1fr;gap:.8rem;margin-top:.9rem;}
@media (min-width:560px){.branch-grid{grid-template-columns:1fr 1fr 1fr;}}
.branch-tile{display:flex;flex-direction:column;gap:.2rem;padding:1rem;border:1px solid var(--border);border-radius:12px;background:var(--surface-2);text-decoration:none;}
a.branch-tile:hover{border-color:var(--accent);}
.branch-tile-code{font-weight:700;font-size:1.05rem;color:var(--text);}
.branch-tile-name{font-size:.82rem;color:var(--text-2);}
.branch-tile-count{font-family:"IBM Plex Mono",monospace;font-size:.66rem;color:var(--green);margin-top:.2rem;}
.branch-tile--disabled{opacity:.55;}
.branch-tile--disabled .branch-tile-code{color:var(--muted);}
.branch-tile-soon{font-family:"IBM Plex Mono",monospace;font-size:.62rem;text-transform:uppercase;letter-spacing:.03em;color:var(--faint);margin-top:.2rem;}

/* --- Ask widget (delete the inline <style> in ask-widget.js; these replace it) --- */
.ask-widget{margin:1.5rem 0;}
.ask-box{display:flex;flex-direction:column;gap:.6rem;}
.ask-box textarea{width:100%;min-height:84px;padding:.85rem;border:1px solid var(--border);border-radius:12px;background:var(--surface-2);font-family:inherit;font-size:.95rem;color:var(--text);resize:vertical;}
.ask-box textarea:focus{outline:none;border-color:var(--accent);}
.ask-submit{align-self:flex-start;background:var(--brand);color:var(--brand-ink);border:none;border-radius:10px;padding:.7rem 1.4rem;font-weight:600;cursor:pointer;}
.ask-submit:hover{filter:brightness(1.06);}
.ask-answer-card{margin-top:1rem;padding:1rem 1.1rem;border:1px solid var(--border);border-radius:12px;background:var(--surface-2);font-size:.95rem;line-height:1.6;color:var(--text-2);}
.ask-grounded-on{font-family:"IBM Plex Mono",monospace;font-size:.7rem;color:var(--green);margin-top:.6rem;border-top:1px solid var(--border);padding-top:.6rem;}
.ask-loading{color:var(--muted);font-size:.9rem;font-style:italic;}

@media (max-width:560px){
  .site-header{flex-wrap:wrap;gap:.5rem;}
  .site-search{order:3;flex-basis:100%;max-width:none;margin:.2rem 0 0;}
  .stamp{top:70px;right:10px;padding:.4rem .6rem;font-size:.7rem;}
  h1.subject-title{font-size:1.6rem;}
}


/* ============================================================================
   Teal redesign — NEW components introduced by the 2026 refresh
   (hero, verification pipeline, branch registry, tools band, subject rail,
   slate footer). See design_handoff_teal_redesign/README.md for exact specs.
   ========================================================================== */

/* --- Buttons --- */
.btn-row{display:flex;gap:.75rem;flex-wrap:wrap;}
.btn-primary{display:inline-block;background:var(--brand);color:var(--brand-ink);border:none;cursor:pointer;font-family:inherit;font-weight:600;font-size:.92rem;padding:.9rem 1.6rem;border-radius:11px;text-decoration:none;}
.btn-primary:hover{filter:brightness(1.06);}
.btn-secondary{display:inline-block;background:var(--surface-2);color:var(--text);border:1.5px solid var(--text);cursor:pointer;font-family:inherit;font-weight:600;font-size:.92rem;padding:.9rem 1.6rem;border-radius:11px;text-decoration:none;}
.btn-secondary:hover{background:var(--surface);}

/* --- Home hero --- */
.hero-badge{display:inline-flex;align-items:center;gap:.45rem;background:var(--accent-soft);color:var(--accent);font-size:.75rem;font-weight:700;padding:.4rem .9rem;border-radius:99px;margin-bottom:1.5rem;}
.hero-title{font-size:clamp(2.3rem,5vw,3.5rem);line-height:1.05;letter-spacing:-.035em;margin:0 0 1.2rem;max-width:18ch;}
.text-brand{color:var(--accent);font-style:normal;}
.hero-sub{font-size:1.1rem;line-height:1.6;color:var(--text-2);max-width:56ch;margin:0 0 1.9rem;}

/* --- Verification pipeline strip --- */
.pipeline{display:grid;grid-template-columns:1fr;border:1px solid var(--border);border-radius:16px;overflow:hidden;margin:4rem 0;}
.pipeline-step{padding:1.6rem 1.75rem;border-bottom:1px solid var(--hair);}
.pipeline-step:last-child{border-bottom:none;}
.pipeline-step--live{background:var(--green-bg);}
.pipeline-num{font-family:"IBM Plex Mono",monospace;font-size:.7rem;letter-spacing:.12em;color:var(--accent);margin-bottom:.6rem;}
.pipeline-step h3{font-size:1rem;margin-bottom:.35rem;}
.pipeline-step p{font-size:.82rem;line-height:1.55;color:var(--muted);margin:0;}
@media (min-width:720px){
  .pipeline{grid-template-columns:1fr 1fr 1fr;}
  .pipeline-step{border-bottom:none;border-right:1px solid var(--hair);}
  .pipeline-step:last-child{border-right:none;}
}

/* --- Branch registry (replaces .branch-grid tiles on home) --- */
.registry{border:1px solid var(--border);border-radius:16px;overflow:hidden;margin-bottom:4rem;}
.registry-row{display:grid;grid-template-columns:88px 1fr auto;align-items:center;gap:1rem;padding:1.2rem 1.6rem;border-bottom:1px solid var(--hair);background:var(--surface-2);text-decoration:none;}
.registry-row:last-child{border-bottom:none;}
.registry-code{font-weight:700;font-size:1.05rem;color:var(--muted);}
.registry-name{font-size:.85rem;color:var(--muted);}
.registry-status{font-family:"IBM Plex Mono",monospace;font-size:.72rem;color:var(--faint);}
.registry-row--live{background:var(--green-bg);}
.registry-row--live .registry-code{color:var(--text);}
.registry-row--live .registry-status{color:var(--accent);}
a.registry-row--live:hover .registry-code{color:var(--accent);}

/* --- Tools band --- */
.tools-band{background:var(--surface);border-radius:20px;padding:2.25rem 2.5rem 2.5rem;margin-bottom:5rem;}
.tools-band .home-cta-row{margin-bottom:0;}
.tools-band .home-cta-card{background:var(--surface-2);}

/* --- Hub: numbered subject rows + stat chip --- */
.crumb{display:inline-block;font-family:"IBM Plex Mono",monospace;font-size:.75rem;font-weight:600;letter-spacing:.06em;color:var(--accent);text-decoration:none;margin-bottom:1.1rem;text-transform:uppercase;}
.stat-chip{flex:none;border:1px solid var(--border);border-radius:14px;padding:1rem 1.4rem;text-align:center;background:var(--green-bg);}
.stat-chip b{display:block;font-size:1.9rem;line-height:1;color:var(--accent);}
.stat-chip span{font-family:"IBM Plex Mono",monospace;font-size:.6rem;letter-spacing:.08em;color:var(--muted);margin-top:.4rem;display:block;}
.hub-index{font-family:"IBM Plex Mono",monospace;font-size:.75rem;color:var(--faint);margin-right:.9rem;}

/* --- Subject page: two-column grid + right rail --- */
.subject-grid{display:grid;grid-template-columns:1fr;gap:2.75rem;align-items:start;}
@media (min-width:900px){.subject-grid{grid-template-columns:1fr 300px;}}
.verify-card{border:1.5px solid var(--brand);border-radius:14px;background:var(--green-bg);padding:1.1rem 1.25rem;margin-bottom:.9rem;}
.verify-card .check{display:inline-flex;width:22px;height:22px;background:var(--brand);color:var(--brand-ink);border-radius:50%;align-items:center;justify-content:center;font-size:.75rem;font-weight:700;}
.rail-card{border:1px solid var(--border);border-radius:14px;padding:1.1rem 1.25rem;}
.unit-row{display:grid;grid-template-columns:88px 1fr;gap:1.1rem;padding:1.1rem .25rem;border-bottom:1px solid var(--hair);}
.unit-row .unit-tag{font-family:"IBM Plex Mono",monospace;font-size:.7rem;letter-spacing:.06em;color:var(--accent);padding-top:2px;}

/* --- Slate footer (always dark, both themes) --- */
.site-footer--slate{background:#04231F;border-top:none;text-align:left;color:#9DBBB5;padding:2.75rem 1.25rem 2.25rem;}
.site-footer--slate .footer-inner{max-width:1140px;margin:0 auto;}
.site-footer--slate .footer-top{display:flex;justify-content:space-between;align-items:flex-start;gap:2rem;flex-wrap:wrap;}
.site-footer--slate .footer-brand{color:#FFFFFF;font-weight:700;}
.site-footer--slate a{color:#9DBBB5;text-decoration:none;}
.site-footer--slate a:hover{color:#2EDFCF;filter:none;}
.site-footer--slate .footer-note{border-top:1px solid rgba(255,255,255,.09);padding-top:1.1rem;margin-top:1.75rem;font-family:"IBM Plex Mono",monospace;font-size:.7rem;color:#6F918B;}


/* ============================================================================
   Teal redesign — production-template adaptations (jntu-site templates/*.js)
   ========================================================================== */
.home-hero{padding:2.25rem 0 0;}

/* Hub: header row + subject rows */
.hub-head{display:flex;justify-content:space-between;align-items:flex-start;gap:1.5rem;flex-wrap:wrap;}
.hub-arrow{color:var(--accent);font-weight:600;}
.hub-subject-list{list-style:none;margin:.6rem 0 1.8rem;padding:0;display:flex;flex-direction:column;gap:0;border:1px solid var(--border);border-radius:14px;overflow:hidden;}
.hub-subject-list li{border:none;border-bottom:1px solid var(--hair);border-radius:0;padding:1.05rem 1.5rem;display:flex;align-items:center;justify-content:space-between;gap:.6rem;flex-wrap:wrap;background:var(--surface-2);}
.hub-subject-list li:last-child{border-bottom:none;}
.hub-subject-list li:hover{background:var(--surface);}
.hub-subject-list a{flex:1;}

/* Subject page grid helpers */
.subject-main{min-width:0;}
.subject-rail .download{display:block;text-align:center;margin-bottom:.6rem;}

/* Quiz kicker */
.quiz-kicker{font-family:"IBM Plex Mono",monospace;font-size:.7rem;letter-spacing:.1em;color:var(--accent);margin-bottom:.7rem;}

/* College directory: campus grouping (markup from templates/college-directory.js,
   unchanged) restyled into registry rows purely via CSS. */
.campus-group{margin-top:2.6rem;}
.campus-heading{font-size:1.35rem;letter-spacing:-.01em;margin-top:2.2rem;}
.campus-sub{font-size:.9rem;color:var(--muted);max-width:72ch;}
.college-grid{display:block;border:1px solid var(--border);border-radius:16px;overflow:hidden;margin-top:.9rem;}
.college-card{border:none;border-radius:0;background:var(--surface-2);border-bottom:1px solid var(--hair);padding:1rem 1.5rem;display:grid;grid-template-columns:1fr auto auto;gap:.25rem 1.25rem;align-items:center;}
.college-card:last-child{border-bottom:none;}
.college-card:hover{background:var(--surface);}
.college-card h4{grid-row:1;grid-column:1;margin:0;font-size:.95rem;line-height:1.35;}
.college-card .college-meta{grid-row:1;grid-column:2;margin:0;}
.college-card .college-codes{grid-row:2;grid-column:1;margin:0;}
.college-card .college-link{grid-row:1;grid-column:3;}
@media (max-width:560px){
  .college-card{grid-template-columns:1fr;}
  .college-card .college-meta,.college-card .college-link{grid-column:1;grid-row:auto;justify-self:start;}
}

/* Slate footer extras */
.footer-tag{font-size:.82rem;color:#9DBBB5;max-width:40ch;line-height:1.6;margin:.6rem 0 0;}
.footer-links{display:flex;gap:1.4rem;flex-wrap:wrap;font-size:.85rem;align-items:center;}
.site-footer--slate .telegram-cta{color:#2EDFCF;border-bottom:2px solid #2EDFCF;margin:0;}
