/*
Theme Name: Canvas Grade
Theme URI: https://canvas-gradecalculator.com/
Author: Canvas Grade
Author URI: https://canvas-gradecalculator.com/
Description: A custom, editorial "Red-Pen Report Card" theme for the Canvas Grade Calculator. The tool is the hero: paper background, Fraunces display type, a live grade dial, and no sign-in. Original design — not a copy of any competitor.
Version: 1.1.50
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: canvas-grade
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
*/

/* v1.1.36: FIX — the v1.1.34/35 changelog note was written INSIDE the theme
   header comment, so its closing marker ended the header early and the
   parser dropped the :root colour variables. Every red and dark background
   on the site vanished. The note now sits outside the header comment. */

/* v1.1.40: content — 38 new sections + 24 new FAQs across all 13 tool and
   home pages, rewritten from competitor research (zero copied sentences),
   target keywords kept. Sections sit below the tool, FAQs stay last. */

/* v1.1.41: FAQs — all 76 rewritten for Google AI Overview citation: full natural
   questions (9-13 words, target keyword kept), direct answer first, self contained
   40 to 60 word answers with worked numbers. Home gets 4 new toolkit FAQs; the old
   Home 4 now live only on the Canvas calculator page. Schema kept in sync. */

/* v1.1.43: Home — Hero and tool removed from Home on the owner's order
   (2 Dec 2026); the calculator lives only on /canvas-grade-calculator/ now.
   Popular Tools stays. home.css/home.js no longer load on the front page.
   (v1.1.42, which also removed Popular Tools, was built but never uploaded.) */

/* v1.1.44: Home — NEW hero + tools from the owner's own files (2 Dec 2026).
   Hero is back with his illustration (img-hero-aim.png); floating badges and
   the "Aim Higher!" tag removed (tag text is already in the image). Old 5-card
   Popular Tools replaced by the new 10-card tools section, same heading, real
   links. Styles live in home-hero.css (scoped, front page only); Poppins is
   enqueued on the front page only. Calculator still only on its own page. */

/* v1.1.45: Home hero — coral circle (blob) + dashed ring removed on the owner's
   order; image made bigger to cover the right side (his reference screenshot),
   upscaled 3x in the theme file for a smoother big display. Nothing else changed. */

/* v1.1.46: Home hero image — re-made in high resolution (2 Dec 2026). The 195px
   source was upscaled 4x with AI (EDSR) to 780x468 and saved as WebP
   (img-hero-aim.webp); the blurry 3x Lanczos PNG is replaced. Nothing else changed. */

/* v1.1.47: Home hero image made BIGGER on the owner's order (2 Dec 2026) — the
   visual column widened from 45% to 55% of the hero (grid .9fr 1.1fr), so the
   illustration displays larger. Nothing else changed. */

/* v1.1.48: Home hero image REPLACED with the owner's high-resolution original
   (2 Dec 2026) — 1614x974 PNG, saved as WebP (img-hero-aim.webp). The 4x EDSR
   upscale is replaced; this is the real file, sharp at any zoom. Nothing else
   changed. */

/* v1.1.49: Same 1614px hero image renamed to img-hero-aim-hd.webp (2 Dec 2026).
   The old URL was stuck in the hosting cache still serving the 780px file, so
   the fresh filename bypasses the stale cache. Nothing else changed. */

/* v1.1.50: TEMPORARY go-live header (4 Dec 2026) — only the 4 live pages
   (Home, Canvas Grade, Canvas GPA, Final Grade). Drafted tools removed from
   the nav dropdowns, the Explore Tools panel and the header search. Full
   11-tool header is saved (hidden_files/header-v1.1.49.php, tools-v1.1.49.js)
   — re-add one line per page as pages come back. Nothing else changed. */

:root{
  --paper:#FBF8F2; --ink:#17211E; --card:#FFFFFF; --line:#E8E1D5;
  --red:#E8442E; --red-dark:#C9331F; --red-mid:#F26B4F; --muted:#5C6B64;
  --blush:#FDEEEA; --cream:#F3EDE0;
  --serif:"Fraunces",Georgia,"Times New Roman",serif;
  --sans:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  --radius:20px; --shadow:0 18px 45px rgba(23,33,30,.09),0 2px 8px rgba(23,33,30,.06);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto}
a{color:var(--red);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3{font-family:var(--serif);line-height:1.08;margin:0 0 .5em;font-weight:650;letter-spacing:-.01em}
h2{font-size:clamp(30px,4vw,44px)}
h3{font-size:22px}
p{margin:0 0 1em}
.wrap{max-width:1180px;margin:0 auto;padding:0 22px}
.muted{color:var(--muted)}
.small{font-size:14px}
.eyebrow{display:inline-flex;align-items:center;gap:8px;background:var(--blush);color:var(--red);border:1px solid #F6CFC7;font-weight:700;font-size:13px;letter-spacing:.04em;text-transform:uppercase;padding:7px 13px;border-radius:999px}
.eyebrow .dot{width:8px;height:8px;border-radius:50%;background:var(--red)}

/* ---------- Sticky header (v1.1.8, Red-Pen, UNIQUE + animated) ----------
   Distinctive: slide-down entrance, red rule that grows left to right,
   report-card logo with a red-pen tick that draws itself on load,
   animated underlines, staggered dropdowns, shine CTA. Red only. */
.site-header{position:sticky;top:0;z-index:50;background:var(--paper);border-bottom:1px solid var(--line);transition:box-shadow .25s ease;animation:headerDrop .5s ease both}
.site-header::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;background:var(--red);transform:scaleX(0);transform-origin:left;animation:headerRule .8s .25s ease forwards}
@keyframes headerDrop{from{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}
@keyframes headerRule{to{transform:scaleX(1)}}
.site-header.scrolled{box-shadow:0 10px 26px rgba(23,33,30,.12)}
.nav{display:flex;align-items:center;gap:10px;min-height:64px;flex-wrap:nowrap;transition:min-height .3s ease}
.site-header.scrolled .nav{min-height:54px}
.wordmark{font-family:var(--serif);font-size:21px;font-weight:700;color:var(--ink);letter-spacing:-.02em;white-space:nowrap;display:flex;align-items:center;gap:10px;flex-shrink:0;transition:font-size .3s ease}
.wordmark:hover{text-decoration:none}
.site-header.scrolled .wordmark{font-size:19px}
.grade-badge{position:relative;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:11px;background:var(--red);color:#fff;font-family:var(--serif);font-size:15px;font-weight:700;box-shadow:0 4px 10px rgba(232,68,46,.35);transform:rotate(-3deg);flex-shrink:0;transition:width .3s ease,height .3s ease,font-size .3s ease}
.site-header.scrolled .grade-badge{width:30px;height:30px;font-size:13px}
.pen-tick{position:absolute;right:-7px;bottom:-7px;width:19px;height:19px;background:var(--red-dark);border:2px solid #fff;border-radius:50%;padding:2.5px;box-shadow:0 2px 6px rgba(23,33,30,.25)}
.pen-tick path{stroke-dasharray:24;stroke-dashoffset:24;animation:penTick .5s .65s ease forwards}
@keyframes penTick{to{stroke-dashoffset:0}}
.wordmark .wm-text{display:flex;flex-direction:column;line-height:1.05}
.wordmark .wm-text em{font-style:normal;font-family:var(--sans);font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--red)}
.nav-toggle{display:none;align-items:center;justify-content:center;flex-direction:column;gap:5px;width:42px;height:42px;margin-left:auto;background:#fff;border:1px solid var(--line);border-radius:11px;cursor:pointer;flex-shrink:0}
.nav-toggle span{display:block;width:20px;height:2px;background:var(--ink);border-radius:2px;transition:transform .25s ease,opacity .2s ease}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.nav-links{display:flex;align-items:center;gap:2px;list-style:none;margin:0 0 0 auto;padding:0;flex-wrap:nowrap;white-space:nowrap}
.nav-links>li{position:relative;flex-shrink:0}
.nav-links a,.nav-drop{display:inline-flex;align-items:center;gap:4px;color:var(--ink);font-weight:600;font-size:13.5px;padding:8px 8px;border-radius:10px;background:none;border:0;cursor:pointer;font-family:var(--sans);text-decoration:none}
.nav-links a:hover,.nav-drop:hover{color:var(--red);background:var(--blush);text-decoration:none}
.nav-links>li>a,.nav-links>li>.nav-drop{position:relative}
.nav-links>li>a::after,.nav-links>li>.nav-drop::after{content:"";position:absolute;left:8px;right:8px;bottom:3px;height:2px;background:var(--red);border-radius:2px;transform:scaleX(0);transform-origin:left;transition:transform .25s ease}
.nav-links>li>a:hover::after,.nav-links>li>.nav-drop:hover::after,.nav-links>li>a:focus-visible::after,.nav-links>li>.nav-drop:focus-visible::after{transform:scaleX(1)}
.nav-links>li>a.active,.nav-links>li>.nav-drop.active{color:var(--red)}
.nav-links>li>a.active::after,.nav-links>li>.nav-drop.active::after{transform:scaleX(1)}
.chev{font-size:10px;line-height:1;color:var(--red);transition:transform .25s ease}
.has-sub:hover .chev,.has-sub:focus-within .chev,.has-sub.open .chev{transform:rotate(180deg)}
.sub-menu{position:absolute;top:calc(100% + 8px);left:0;min-width:262px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:8px;list-style:none;margin:0;z-index:60;display:block;opacity:0;visibility:hidden;transform:translateY(8px) scale(.97);transform-origin:top left;transition:opacity .25s ease,transform .25s ease,visibility .25s}
.has-sub:hover .sub-menu,.has-sub:focus-within .sub-menu,.has-sub.open .sub-menu{opacity:1;visibility:visible;transform:translateY(0) scale(1)}
.sub-menu li{position:static;opacity:0;transform:translateY(6px);transition:opacity .25s ease,transform .25s ease}
.has-sub:hover .sub-menu li,.has-sub:focus-within .sub-menu li,.has-sub.open .sub-menu li{opacity:1;transform:translateY(0)}
.has-sub:hover .sub-menu li:nth-child(1),.has-sub:focus-within .sub-menu li:nth-child(1),.has-sub.open .sub-menu li:nth-child(1){transition-delay:.03s}
.has-sub:hover .sub-menu li:nth-child(2),.has-sub:focus-within .sub-menu li:nth-child(2),.has-sub.open .sub-menu li:nth-child(2){transition-delay:.06s}
.has-sub:hover .sub-menu li:nth-child(3),.has-sub:focus-within .sub-menu li:nth-child(3),.has-sub.open .sub-menu li:nth-child(3){transition-delay:.09s}
.has-sub:hover .sub-menu li:nth-child(4),.has-sub:focus-within .sub-menu li:nth-child(4),.has-sub.open .sub-menu li:nth-child(4){transition-delay:.12s}
.has-sub:hover .sub-menu li:nth-child(5),.has-sub:focus-within .sub-menu li:nth-child(5),.has-sub.open .sub-menu li:nth-child(5){transition-delay:.15s}
.has-sub:hover .sub-menu li:nth-child(6),.has-sub:focus-within .sub-menu li:nth-child(6),.has-sub.open .sub-menu li:nth-child(6){transition-delay:.18s}
.sub-menu a{display:flex;width:100%;padding:9px 12px;font-size:14px;border-radius:9px}
.sub-menu a:hover{background:var(--blush);color:var(--red)}
/* WordPress Primary Menu parent items (menu-item-has-children / .sub-menu) */
.nav-links .menu-item-has-children{position:relative}
.nav-links .menu-item-has-children>a::after{content:"\25BE";font-size:10px;line-height:1;color:var(--red);margin-left:5px;transition:transform .25s ease}
.nav-links .menu-item-has-children:hover>a::after,.nav-links .menu-item-has-children:focus-within>a::after,.nav-links .menu-item-has-children.open>a::after{transform:rotate(180deg)}
.nav-links .menu-item-has-children:hover>.sub-menu,.nav-links .menu-item-has-children:focus-within>.sub-menu,.nav-links .menu-item-has-children.open>.sub-menu{opacity:1;visibility:visible;transform:translateY(0) scale(1)}
.nav-cta{display:flex;align-items:center;gap:10px;flex-shrink:0;margin-left:4px}
.nav-cta .btn{white-space:nowrap;position:relative;overflow:hidden}
.nav-cta .btn::after{content:"";position:absolute;top:0;left:-80%;width:50%;height:100%;background:rgba(255,255,255,.35);transform:skewX(-20deg);transition:left .5s ease;pointer-events:none}
.nav-cta .btn:hover::after{left:130%}
@media (max-width:1240px){.pill-free{display:none}}
.nav-cta .btn{padding:10px 14px;font-size:14px}
@media (max-width:1120px){.nav-cta{display:none}}
@media (max-width:960px){
  .nav-links{display:none}
  .nav-toggle{display:inline-flex}
  .nav-cta .btn{display:none}
  .nav-links.open{display:flex;position:absolute;top:100%;left:0;right:0;background:#fff;flex-direction:column;align-items:stretch;gap:2px;margin:0;padding:12px 22px 18px;border-bottom:1px solid var(--line);box-shadow:var(--shadow)}
  .nav-links.open>li{width:100%}
  .nav-links.open a,.nav-links.open .nav-drop{width:100%;justify-content:space-between;padding:11px 10px;font-size:15px}
  .nav-links.open{animation:menuSlide .3s ease both}
  @keyframes menuSlide{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
  .nav-links.open .sub-menu{position:static;display:block;max-height:0;overflow:hidden;opacity:0;visibility:hidden;transform:none;box-shadow:none;border:0;border-left:3px solid var(--blush);border-radius:0;padding:0 0 0 10px;margin:0;transition:max-height .35s ease,opacity .25s ease,visibility .35s}
  .nav-links.open .has-sub.open .sub-menu,.nav-links.open .menu-item-has-children.open .sub-menu{max-height:420px;opacity:1;visibility:visible;padding:2px 0 6px 10px}
  .nav-links.open .sub-menu li{opacity:1;transform:none;transition:none}
  .nav-links.open .sub-menu a{padding:9px 10px;font-size:14px}
}

.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--red);color:#fff;border:0;border-radius:11px;padding:11px 18px;font-weight:700;font-size:15px;font-family:var(--sans);cursor:pointer;text-decoration:none}
.btn:hover{background:var(--red-dark);color:#fff;text-decoration:none}
.btn.small{padding:10px 14px;font-size:14px}

/* ---------- Hero = tool ---------- */
.hero{padding:52px 0 30px}
.hero-grid{display:grid;grid-template-columns:1fr 1.25fr;gap:44px;align-items:start}
.hero h1{font-size:clamp(44px,5.4vw,68px);margin:18px 0 14px}
.hero h1 em{font-style:italic;color:var(--red)}
.hero .lede{font-size:19px;color:var(--muted);max-width:46ch}
.trust-row{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 0;padding:0;list-style:none}
.trust-row li{display:flex;gap:7px;align-items:center;font-size:14px;font-weight:600;background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 13px}
.trust-row li i{font-style:normal;color:var(--red)}
.hero-note{margin-top:26px;padding:16px 18px;background:var(--cream);border:1px dashed #D8CDB8;border-radius:14px;font-size:15px}
.hero-note strong{font-family:var(--serif);font-size:17px}

/* ---------- Tool card ---------- */
.tool-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
.tool-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 22px;border-bottom:1px solid var(--line);background:linear-gradient(180deg,#fff,#FDFBF7)}
.tool-head h2{font-size:22px;margin:0}
.tool-head .tag{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--red);background:var(--blush);padding:6px 10px;border-radius:999px}
.tool-body{display:grid;grid-template-columns:1.15fr .85fr;gap:0;align-items:start}
.tool-left{padding:22px;border-right:1px solid var(--line)}
.tool-right{padding:22px;background:#FDFBF6}
.field-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px}
.field label{display:block;font-size:13px;font-weight:700;margin-bottom:6px}
.field input{width:100%;font:inherit;font-size:16px;font-weight:600;padding:11px 12px;border:1.5px solid #D9D2C2;border-radius:12px;background:#fff;color:var(--ink)}
.field input:focus{outline:3px solid #FBD9D2;border-color:var(--red)}
.field .hint{font-size:12px;color:var(--muted);font-weight:400;margin-top:4px}
.weight-line{font-size:14px;font-weight:700;border-radius:10px;padding:9px 12px;margin:0 0 16px}
.weight-line.ok{background:var(--blush);color:var(--red-dark)}
.weight-line.bad{background:var(--blush);color:var(--red-dark)}
.assign-table{width:100%;border-collapse:collapse}
.assign-table th{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);text-align:left;padding:6px 6px;border-bottom:2px solid var(--ink)}
.assign-table td{padding:8px 6px;border-bottom:1px solid #F0EADD;vertical-align:top}
.assign-table input[type=text]{width:100%;font:inherit;font-size:15px;padding:9px 10px;border:1.5px solid #D9D2C2;border-radius:10px}
.assign-table input[type=number]{width:76px;font:inherit;font-size:15px;font-weight:600;padding:9px 8px;border:1.5px solid #D9D2C2;border-radius:10px}
.assign-table input[type=checkbox]{width:18px;height:18px;accent-color:var(--red)}
.row-bar{height:5px;background:#F0EADD;border-radius:99px;margin-top:7px;overflow:hidden}
.row-bar i{display:block;height:100%;background:var(--red);border-radius:99px;transition:width .8s cubic-bezier(.2,.8,.2,1);transform-origin:left}
.row-remove{border:0;background:none;color:var(--muted);cursor:pointer;font-size:18px;line-height:1;padding:4px}
.row-remove:hover{color:var(--red)}
.tool-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}
.tool-actions .btn{padding:10px 16px;font-size:14px}
.paste-box{margin-top:14px;display:none}
.paste-box.open{display:block}
.paste-box textarea{width:100%;min-height:92px;font:inherit;font-size:14px;padding:12px;border:1.5px solid #D9D2C2;border-radius:12px;resize:vertical}
.paste-status{font-size:14px;margin:8px 0 0}
.share-status{font-size:14px;color:var(--red-dark);font-weight:600;margin:8px 0 0;min-height:20px}

/* Dial */
.dial-wrap{text-align:center}
.dial-wrap svg{width:100%;max-width:300px;height:auto}
.dial-num{font-family:var(--serif);font-size:52px;font-weight:700;line-height:1;margin-top:-58px}
.dial-letter{font-size:15px;font-weight:700;color:var(--muted)}
.dial-caption{font-size:14px;color:var(--muted);margin-top:6px}
.readouts{display:grid;gap:10px;margin-top:18px;text-align:left}
.readout{border-radius:14px;padding:13px 15px;border:1px solid var(--line)}
.readout .k{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.readout .v{font-family:var(--serif);font-size:26px;font-weight:700;line-height:1.15}
.readout .s{font-size:13px;color:var(--muted)}
.readout.current{background:var(--blush);border-color:#F6CFC7}
.readout.projected{background:#fff}
.readout.needed{background:var(--blush);border-color:#F6CFC7}
.readout.needed .v{color:var(--red)}
.pending-note{margin-top:12px;font-size:14px;background:var(--blush);border:1px solid #F6CFC7;border-radius:12px;padding:11px 13px;text-align:left}

/* Scenario table */
.scenario{margin-top:26px}
.scenario h3{font-size:20px;margin-bottom:4px}
.scenario p{font-size:14px;color:var(--muted)}
.scenario table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.scenario th,.scenario td{padding:11px 14px;text-align:left;font-size:15px;border-bottom:1px solid #F0EADD}
.scenario tr:last-child td{border-bottom:0}
.scenario th{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.verdict{font-weight:700;border-radius:999px;padding:4px 11px;font-size:13px;white-space:nowrap}
.verdict.good{background:var(--red);color:#fff}
.verdict.stretch{background:#fff;color:var(--red-dark);border:1px solid #F6CFC7}
.verdict.red{background:var(--blush);color:var(--red-dark)}

/* ---------- Sections ---------- */
.section{padding:56px 0}
.section.alt{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.section-head{max-width:640px;margin-bottom:30px}
.section-head .kicker{font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--red)}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;counter-reset:step}
.step{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px}
.step .n{font-family:var(--serif);font-size:40px;font-weight:700;color:var(--red);line-height:1}
.step h3{margin:12px 0 6px}
.breakdown{margin-top:8px}
.bd-bar{display:flex;height:54px;border-radius:12px;overflow:hidden;border:1px solid var(--line)}
.bd-seg{display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;color:#fff;min-width:0;overflow:hidden;white-space:nowrap;padding:0 6px}
.bd-legend{display:flex;flex-wrap:wrap;gap:14px;margin-top:14px;padding:0;list-style:none;font-size:14px}
.bd-legend i{display:inline-block;width:11px;height:11px;border-radius:3px;margin-right:6px}
.example-card{background:var(--blush);border:1px solid #F6CFC7;border-radius:var(--radius);padding:30px;display:grid;grid-template-columns:1.2fr .8fr;gap:26px}
.formula{font-family:var(--serif);font-size:24px;background:#fff;border:1px solid #F6CFC7;border-radius:12px;padding:16px 18px;text-align:center}
.mistakes{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.mistake{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px}
.mistake .x{width:34px;height:34px;border-radius:50%;background:var(--blush);color:var(--red);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:18px}
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.related-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px;color:var(--ink);display:block}
.related-card:hover{border-color:var(--red);text-decoration:none;box-shadow:var(--shadow)}
.related-card h3{font-size:20px}
.related-card .go{color:var(--red);font-weight:700;font-size:14px}
.faq{border-top:1px solid var(--line)}
.faq-item{border-bottom:1px solid var(--line)}
.faq-q{width:100%;text-align:left;background:none;border:0;cursor:pointer;font:inherit;font-size:18px;font-weight:700;padding:20px 4px;display:flex;justify-content:space-between;gap:16px;color:var(--ink)}
.faq-q .plus{color:var(--red);font-size:24px;line-height:1}
.faq-a{display:none;padding:0 4px 22px;color:var(--muted);max-width:72ch}
.faq-item.open .faq-a{display:block}
.faq-item.open .plus{transform:rotate(45deg)}

/* ---------- Footer / pages ---------- */
.site-footer{background:var(--ink);color:#D9D2C2;margin-top:0}
.site-footer a{color:#fff}
.footer-inner{padding:44px 0 20px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:32px}
.footer-menu{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px 20px}
.footer-menu a{font-size:14px}
.footer-note{font-size:13px;color:#A89E8C;margin-top:28px;border-top:1px solid #3A332C;padding-top:18px}
.page-body{padding:44px 0 64px}
.page-body .entry{max-width:760px}
.entry h1{font-size:clamp(34px,4vw,50px)}
.entry h2{font-size:28px;margin-top:36px}
.entry ul,.entry ol{padding-left:22px}

/* ---------- Responsive ---------- */
@media (max-width:960px){
  .hero-grid{grid-template-columns:1fr}
  .tool-body{grid-template-columns:1fr}
  .tool-left{border-right:0;border-bottom:1px solid var(--line)}
  .steps,.related-grid{grid-template-columns:1fr 1fr}
  .example-card{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .nav-links{display:none}
}
@media (max-width:620px){
  body{font-size:16px}
  .hero{padding-top:32px}
  .field-grid{grid-template-columns:1fr 1fr}
  .pill-free{display:none}
  .steps,.mistakes,.related-grid{grid-template-columns:1fr}
  .assign-table input[type=number]{width:52px}
  .dial-num{font-size:44px;margin-top:-48px}
}

/* ---------- v1.1 tool pages ---------- */
.tool-hero{padding:52px 0 8px}
.tool-hero h1{font-size:clamp(38px,4.6vw,58px);margin:18px 0 14px}
.tool-hero .lede{font-size:19px;color:var(--muted);max-width:62ch}
.tool-card{margin:26px 0 8px}
.field-select{width:100%;font:inherit;font-size:16px;font-weight:600;padding:11px 12px;border:1.5px solid #D9D2C2;border-radius:12px;background:#fff;color:var(--ink)}
.mini-box{margin-top:20px;background:#FDFBF6;border:1px solid var(--line);border-radius:16px;padding:18px}
.mini-box h3{font-size:20px;margin-bottom:12px}
.result-line{font-size:16px;font-weight:700;margin:10px 0 0}
.mini-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;margin-top:14px}
.mini-table th,.mini-table td{padding:10px 12px;text-align:left;font-size:14px;border-bottom:1px solid #F0EADD}
.mini-table tr:last-child td{border-bottom:0}
.mini-table th{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.assign-table select{font:inherit;font-size:15px;padding:9px 8px;border:1.5px solid #D9D2C2;border-radius:10px;background:#fff}
/* Proper maths fractions: numerator over denominator */
.frac{display:inline-block;vertical-align:middle;text-align:center;margin:0 6px}
.frac>span{display:block;padding:2px 10px}
.frac>span+span{border-top:2px solid currentColor}
.formula .frac{font-size:.92em}
@media (max-width:960px){
  .tool-hero{padding-top:32px}
  .field-grid{grid-template-columns:1fr 1fr !important}
}
@media (max-width:620px){
  .field-grid{grid-template-columns:1fr !important}
}

/* ---------- v1.1.4 scroll reveal + readout pop ---------- */
.reveal{opacity:0;transform:translateY(28px);transition:opacity .9s ease,transform .9s cubic-bezier(.2,.8,.2,1)}
.reveal.in{opacity:1;transform:none}
.readout.pop,.stat.pop{animation:readoutPop .45s both}
@keyframes readoutPop{0%{transform:scale(1)}40%{transform:scale(1.06)}100%{transform:scale(1)}}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}.site-header,.site-header::after,.pen-tick path,.sub-menu,.sub-menu li,.nav-links.open,.nav-cta .btn::after{animation:none!important;transition:none!important}.site-header::after{transform:scaleX(1)}.pen-tick path{stroke-dashoffset:0}.sub-menu li{opacity:1;transform:none}}

/* ---------- Party popper + animations ---------- */
#cgfx{position:fixed;inset:0;pointer-events:none;z-index:60}
.assign-table tbody tr{animation:rowStamp .45s both}
@keyframes rowStamp{0%{opacity:0;transform:translateX(-24px) scale(.95) rotate(-1deg)}60%{opacity:1;transform:translateX(0) scale(1.03) rotate(.5deg)}100%{opacity:1;transform:translateX(0) scale(1) rotate(0)}}
.btn:active{animation:pressBounce .3s both}
@keyframes pressBounce{0%{transform:scale(1)}40%{transform:scale(.93)}70%{transform:scale(1.02)}100%{transform:scale(1)}}

/* ---------- v1.1.4: force old teal/green pill badges to red ----------
   About/Contact pages carry old Gutenberg content with inline teal
   (#00A896) / green (#149A6B) badge styles in the database. These
   overrides recolour any such badge red, site wide. */
.entry [style*="00A896" i], .entry [style*="00a896" i],
.entry [style*="149A6B" i], .entry [style*="149a6b" i],
.entry [style*="00A896" i] *, .entry [style*="149A6B" i] *,
.page-body [style*="00A896" i], .page-body [style*="149A6B" i],
[style*="background:#00A896" i], [style*="background: #00A896" i],
[style*="background:#149A6B" i], [style*="background: #149A6B" i],
[style*="background-color:#00A896" i], [style*="background-color:#149A6B" i]{
  background-color:#E8442E !important;background:#E8442E !important;
  color:#fff !important;border-color:#E8442E !important;
}
.entry [class*="badge" i], .entry [class*="pill" i],
.page-body [class*="badge" i], .page-body [class*="pill" i]{
  background:#E8442E !important;background-color:#E8442E !important;
  color:#fff !important;border-color:#E8442E !important;
}

/* ---------- v1.1.7: About and Contact, designed separately ---------- */
.about-hero{padding:56px 0 8px;text-align:center}
.about-badge{display:inline-flex;align-items:center;justify-content:center;width:84px;height:84px;border-radius:22px;background:var(--red);color:#fff;font-family:var(--serif);font-size:34px;font-weight:700;box-shadow:0 10px 24px rgba(232,68,46,.35);transform:rotate(-3deg)}
.about-hero h1{font-size:clamp(40px,5vw,64px);max-width:22ch;margin:20px auto 14px}
.about-lede{font-size:19px;color:var(--muted);max-width:60ch;margin:0 auto}
.about-wrap{max-width:860px;margin:0 auto}
.about-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:30px;box-shadow:var(--shadow);margin-top:30px}
.about-card .entry{max-width:none}
.who-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.who-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px}
.who-card h3{margin:0 0 6px}
.who-card p{margin:0;color:var(--muted)}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.not-card{background:var(--blush);border:1px solid #F6CFC7;border-radius:20px;padding:28px;margin-top:26px}
.not-card h3{margin:0 0 10px}
.not-card ul{margin:0;padding-left:22px;color:var(--ink)}
.not-card li{margin-bottom:6px}
.contact-hero{padding:52px 0 8px}
.contact-hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:28px;align-items:stretch}
.contact-hero h1{font-size:clamp(38px,4.6vw,58px);margin:18px 0 14px}
.promise-card{background:var(--red);color:#fff;border-radius:20px;padding:30px;box-shadow:0 14px 32px rgba(232,68,46,.3)}
.promise-card h2{color:#fff;font-size:30px;margin:0 0 10px}
.promise-card p{color:#FDEEEA;margin:0}
.contact-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:24px;align-items:start;margin-top:26px}
.form-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:30px;box-shadow:var(--shadow)}
.form-card .entry{max-width:none}
.info-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;margin-bottom:18px}
.info-card h3{margin:0 0 8px;font-size:20px}
.info-card p{margin:0;color:var(--muted)}
.info-card ul{margin:0;padding-left:20px;color:var(--muted)}
.info-card li{margin-bottom:6px}
.contact-note{background:var(--blush);border:1px solid #F6CFC7;border-radius:20px;padding:26px 28px;margin:26px 0 64px}
.contact-note p{margin:0 0 12px}
.contact-note p:last-child{margin:0}
@media (max-width:960px){
  .who-grid{grid-template-columns:1fr 1fr}
  .trust-grid{grid-template-columns:1fr 1fr}
  .contact-hero-grid{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
}
@media (max-width:620px){
  .about-hero{padding-top:32px}
  .about-card,.form-card{padding:22px}
  .who-grid,.trust-grid{grid-template-columns:1fr}
}

/* ---------- v1.1.8: Footer, redesigned ----------
   Distinctive dark ink footer with a red grade strip on top, four
   columns, staggered scroll reveal, and a floating back to top button.
   Red only. No green, no purple, no gradients. */
.site-footer{background:var(--ink);color:#D9D2C2;margin-top:0}
.site-footer a{color:#fff}
.site-footer a:hover{color:#fff}
.footer-strip{background:var(--red);padding:14px 0}
.footer-strip-inner{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.footer-strip-label{font-family:var(--serif);font-size:19px;font-weight:700;color:#fff;white-space:nowrap}
.grade-strip{display:flex;gap:10px;flex-wrap:wrap}
.grade-chip{display:inline-flex;align-items:center;justify-content:center;min-width:52px;height:52px;padding:0 10px;border-radius:14px;background:var(--red);border:2px solid rgba(255,255,255,.65);color:#fff;font-family:var(--serif);font-size:22px;font-weight:700;cursor:default;transition:transform .25s ease,background .25s ease}
.grade-chip:hover{background:var(--red-dark);color:#fff;border-color:#fff;transform:translateY(-3px)}
.footer-strip-cta{margin-left:auto;font-weight:700;font-size:15px;color:#fff;border:2px solid #fff;border-radius:999px;padding:9px 18px;text-decoration:none;white-space:nowrap;transition:background .25s ease,color .25s ease}
.site-footer a.footer-strip-cta:hover,.site-footer a.footer-strip-cta:focus-visible{background:#fff;color:var(--red);text-decoration:none}
.footer-inner{padding:56px 0 20px}
.footer-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr 1fr;gap:36px}
.footer-col h3{font-family:var(--sans);font-size:13px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#fff;margin:0 0 16px}
.site-footer .wordmark{color:#fff}
.site-footer .wordmark .wm-text em{color:var(--red-mid)}
.footer-about{color:#D9D2C2;margin:16px 0 14px;max-width:46ch}
.footer-badges{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px;padding:0;list-style:none}
.footer-badges li{font-size:13px;font-weight:600;color:#FBF8F2;background:transparent;border:1px solid #4A4438;border-radius:999px;padding:6px 12px}
.footer-privacy{color:#A89E8C;margin:0;max-width:46ch}
.footer-links{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.footer-links a{position:relative;display:inline-flex;align-items:center;gap:6px;font-size:15px;color:#D9D2C2;text-decoration:none;padding:2px 0}
.footer-links a::before{content:"\2192";color:var(--red);font-weight:700;opacity:0;transform:translateX(-6px);transition:opacity .25s ease,transform .25s ease}
.footer-links a::after{content:"";position:absolute;left:0;right:100%;bottom:0;height:2px;background:var(--red);border-radius:2px;transition:right .25s ease}
.footer-links a:hover{color:#fff;text-decoration:none}
.footer-links a:hover::before{opacity:1;transform:translateX(0)}
.footer-links a:hover::after{right:0}
.footer-menu{margin-top:14px}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-top:44px;border-top:1px solid #3A332C;padding-top:20px}
.footer-note{font-size:13px;color:#A89E8C;margin:0;border-top:0;padding-top:0}
.footer-made{font-family:var(--serif);font-size:15px;font-style:italic;color:#D9D2C2;margin:0}
.to-top{position:fixed;right:22px;bottom:22px;z-index:55;width:52px;height:52px;border-radius:50%;border:2px solid #fff;background:var(--red);color:#fff;font-size:22px;line-height:1;cursor:pointer;box-shadow:0 10px 26px rgba(232,68,46,.45);opacity:0;visibility:hidden;transform:translateY(14px);transition:opacity .3s ease,transform .3s ease,visibility .3s,background .25s ease}
.to-top.show{opacity:1;visibility:visible;transform:translateY(0)}
.to-top:hover{background:var(--red-dark)}
.to-top span{display:inline-block;animation:topArrow 1.6s ease-in-out infinite}
@keyframes topArrow{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
/* Footer scroll reveal: columns and strip rise one by one */
.footer-reveal{opacity:0;transform:translateY(26px);transition:opacity .8s ease,transform .8s cubic-bezier(.2,.8,.2,1)}
.footer-reveal.in{opacity:1;transform:none}
.footer-grid .footer-col:nth-child(1){transition-delay:.05s}
.footer-grid .footer-col:nth-child(2){transition-delay:.15s}
.footer-grid .footer-col:nth-child(3){transition-delay:.25s}
.footer-grid .footer-col:nth-child(4){transition-delay:.35s}
.footer-strip.in .grade-chip{animation:gradePop .5s cubic-bezier(.2,1.4,.4,1) both}
.footer-strip.in .grade-chip:nth-child(1){animation-delay:.05s}
.footer-strip.in .grade-chip:nth-child(2){animation-delay:.13s}
.footer-strip.in .grade-chip:nth-child(3){animation-delay:.21s}
.footer-strip.in .grade-chip:nth-child(4){animation-delay:.29s}
.footer-strip.in .grade-chip:nth-child(5){animation-delay:.37s}
@keyframes gradePop{0%{opacity:0;transform:translateY(16px) scale(.6)}60%{opacity:1;transform:translateY(-4px) scale(1.1)}100%{opacity:1;transform:translateY(0) scale(1)}}
@media (max-width:960px){
  .footer-grid{grid-template-columns:1fr 1fr}
  .footer-strip-cta{margin-left:0}
}
@media (max-width:620px){
  .footer-grid{grid-template-columns:1fr}
  .footer-inner{padding:40px 0 16px}
  .footer-bottom{flex-direction:column;align-items:flex-start}
  .to-top{right:14px;bottom:14px;width:46px;height:46px}
}
@media (prefers-reduced-motion:reduce){
  .footer-reveal{opacity:1;transform:none;transition:none}
  .footer-strip.in .grade-chip{animation:none}
  .grade-chip,.footer-links a::before,.footer-links a::after,.to-top{transition:none}
  .to-top span{animation:none}
}

/* ---------- v1.1.8: GradePro logo in header and footer ----------
   The user supplied logo (logo.png, transparent, 612x408) is used as
   supplied, never recoloured or cropped. Header: image logo with the
   pen tick kept as a small check badge on its corner. Footer: the logo
   sits on a white rounded card so the dark ink wordmark reads on the
   dark footer. */
.logo-img-wrap{position:relative;display:inline-flex;flex-shrink:0}
.site-logo-img{display:block;height:48px;width:auto;transition:height .3s ease}
.site-header.scrolled .site-logo-img{height:38px}
.site-logo:hover{text-decoration:none}
.footer-logo-card{display:inline-block;background:#fff;border-radius:16px;padding:12px 16px;box-shadow:0 8px 20px rgba(0,0,0,.28);transition:transform .25s ease}
.footer-logo-card:hover{transform:translateY(-3px)}
.footer-logo-img{display:block;height:64px;width:auto}
@media (max-width:960px){
  .site-logo-img{height:40px}
  .site-header.scrolled .site-logo-img{height:36px}
}

/* ---------- v1.1.9: distinct tool page layouts ----------
   Every tool page now looks different from the others (hero style,
   tool card layout, section order, related grid columns, background
   tint) so no two pages share one identical template look. Same
   Red-Pen palette, same calculators, same FAQs, same text. US spelling. */
.tool-hero.hero-centre{text-align:center}
.tool-hero.hero-centre .lede{margin-left:auto;margin-right:auto}
.tool-hero.hero-centre .trust-row{justify-content:center}
.tool-hero.hero-blush{background:var(--blush);border-bottom:1px solid #F6CFC7}
.tool-hero.hero-left{background:var(--blush);border-bottom:1px solid #F6CFC7}
.tool-hero.hero-left .lede{max-width:70ch}
.tool-hero.hero-split .wrap{display:grid;grid-template-columns:1.25fr .75fr;column-gap:32px;align-items:center}
.tool-hero.hero-split .eyebrow,.tool-hero.hero-split h1,.tool-hero.hero-split .lede{grid-column:1}
.tool-hero.hero-split .trust-row{grid-column:2;grid-row:1/span 3;flex-direction:column;align-items:flex-start;align-content:center;margin:0}
.related-2col .related-grid{grid-template-columns:repeat(2,1fr)}
.related-4col .related-grid{grid-template-columns:repeat(4,1fr)}
@media (max-width:960px){
  .tool-hero.hero-split .wrap{display:block}
  .tool-hero.hero-split .trust-row{flex-direction:row;margin-top:22px}
  .related-4col .related-grid{grid-template-columns:1fr 1fr}
}

/* ---------- v1.1.9: active page coloured in the header ----------
   The current page link AND its parent dropdown button get red text,
   a red underline and a light red blush pill background. */
.nav-links>li>a.active,.nav-links>li>.nav-drop.active{color:var(--red);background:var(--blush)}
.sub-menu a.active{color:var(--red);background:var(--blush);font-weight:700}

/* ---------- v1.1.9: bigger logos ----------
   Header logo 72px desktop, 56px scrolled and on mobile; footer logo
   96px. The "Free, No sign in" pill hides earlier so the bigger logo
   never pushes the nav onto a second line. */
.site-logo-img{height:72px}
.site-header.scrolled .site-logo-img{height:56px}
.nav{min-height:92px}
.site-header.scrolled .nav{min-height:72px}
.footer-logo-img{height:96px}
@media (max-width:1400px){.pill-free{display:none}}
@media (max-width:1280px){.nav-links a,.nav-drop{padding:8px 6px}}
@media (max-width:960px){
  .site-logo-img{height:56px}
  .site-header.scrolled .site-logo-img{height:48px}
}

/* ---------- v1.1.9: footer heading alignment + compact footer ----------
   The old hover arrow (::before) sat in the link flow and pushed every
   link's text right of its heading. It is removed (the red underline
   stays), so each heading and its link list now share one left edge.
   Footer padding and gaps are cut roughly in half. */
.footer-strip{padding:8px 0}
.grade-chip{min-width:46px;height:44px;font-size:20px}
.footer-inner{padding:28px 0 12px}
.footer-grid{gap:20px}
.footer-col{display:flex;flex-direction:column}
.footer-col h3{margin:0 0 10px;padding:0}
.footer-links{gap:7px;margin:0;padding:0}
.footer-links a::before{display:none}
.footer-menu{margin:0;padding:0}
.footer-bottom{margin-top:20px;padding-top:12px}
@media (max-width:620px){.footer-inner{padding:24px 0 12px}}

/* ---------- v1.1.10: result beside the inputs + big top result ----------
   The user reported the live result sat BELOW the inputs on some pages,
   so a student had to scroll to see it. Every tool card is now two
   columns on desktop and tablet: inputs left, results right, and the
   results column sticks while the student types. On mobile the readouts
   sit immediately after the core inputs (extra planner boxes moved to a
   full width row below the tool body). The big top result strip is the
   primary result: large grade number, always visible without scrolling.
   Good vs bad is shown by ANIMATION and tone only: pop + party popper
   burst when the result turns good, gentle shake + dim pulse when it
   turns bad. Red only, no green anywhere. Animations fire only when
   the good/mid/bad band changes, never on every keystroke. */
.tool-right{position:static;align-self:start}
.tool-extras{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;padding:22px;border-top:1px solid var(--line);background:#FDFBF6}
.tool-extras .mini-box{margin-top:0}
.result-strip{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 22px;background:var(--blush);border-bottom:1px solid #F6CFC7}
.strip-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.strip-label{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--red-dark)}
.strip-sub{font-size:14px;color:var(--muted)}
.strip-value{font-family:var(--serif);font-size:clamp(30px,4.5vw,42px);font-weight:700;line-height:1.05;color:var(--ink);text-align:right}
.result-strip.is-empty .strip-value{font-family:var(--sans);font-size:19px;font-weight:600;color:var(--muted);text-align:left}
.result-strip.is-mid{background:#fff;border-bottom-color:var(--line)}
.result-strip.is-bad{background:#F1ECE2;border-bottom-color:#D9D2C2}
.result-strip.is-bad .strip-value{color:var(--muted)}
@keyframes stripPop{0%{transform:scale(.82)}45%{transform:scale(1.14)}70%{transform:scale(.97)}100%{transform:scale(1)}}
@keyframes stripShake{0%,100%{transform:translateX(0)}20%{transform:translateX(-7px)}40%{transform:translateX(6px)}60%{transform:translateX(-4px)}80%{transform:translateX(3px)}}
@keyframes stripDim{0%{opacity:1}30%{opacity:.55}100%{opacity:1}}
.strip-value.anim-good{animation:stripPop .5s cubic-bezier(.2,.8,.2,1)}
.result-strip.anim-bad{animation:stripShake .5s ease,stripDim .9s ease}
@media (max-width:960px){
  .tool-extras{padding:18px}
}
@media (max-width:620px){
  .result-strip{flex-direction:column;align-items:flex-start;gap:6px;padding:14px 18px}
  .strip-value{text-align:left}
}
@media (prefers-reduced-motion:reduce){.strip-value.anim-good,.result-strip.anim-bad{animation:none!important}}

/* ---------- v1.1.11: sticky hotfix ----------
   Live test of v1.1.10 (Canvas GPA + Aspen): after adding rows and
   scrolling, the results panel scrolled away instead of staying pinned.
   Root cause, from the ancestor chain body > main > .wrap > .tool-card >
   .tool-body > .tool-right: the panel is a grid item of .tool-body, and
   its sticky travel was killed three ways. (1) Below 960px the theme set
   .tool-right{position:static} AND collapsed the grid to one column, so
   the panel's grid area became exactly its own height: zero slack, zero
   travel. (2) Above 960px the panel sat under .tool-card{overflow:clip}
   (overflow:hidden before it): a non-visible overflow ancestor, which
   Chrome treats as the sticky constraint box, so the panel could not
   hold to the viewport. (3) The grid default align-items:stretch let
   the row stretch the panel, and on Aspen the panel grows with every
   added row (breakdown table mirrors the rows) plus a 5-row GPA scale
   table, so after 6 extra rows it approaches viewport height. Fix: no
   overflow anywhere on .tool-card (rounded corners are kept with radius
   on the first/last children instead), align-items:start on the grid,
   sticky kept at every width, and the top result strip is now sticky
   too, so the big live result stays on screen even if the side panel
   ever fails again. The strip sticks just below the sticky header
   (header is 92px tall, 72px scrolled, 64px on mobile); the side panel
   now sticks below the stuck strip (top 190px) so the two never overlap.
   On mobile the strip is the sticky result; the side panel sits below
   the inputs there. v1.1.12: the HOME strips are the exception — home.css
   forces them static (position:static), because the sticky strip
   overlapped the Home inputs and the v1.1.10 grid move pushed the Home
   results column off-screen. Tool-page strips stay sticky. */
.tool-card{overflow:visible}
.tool-head{border-radius:var(--radius) var(--radius) 0 0}
.tool-card>.tool-extras{border-radius:0 0 var(--radius) var(--radius)}
.tool-card>.tool-body:last-child .tool-right{border-radius:0 0 var(--radius) 0}
.result-strip{position:static;top:auto;z-index:auto;box-shadow:none}
@media (max-width:960px){
  .result-strip{top:auto}
  .tool-card>.tool-body:last-child .tool-right{border-radius:0 0 var(--radius) var(--radius)}
}
@media (prefers-reduced-motion:reduce){.result-strip{box-shadow:none}}

/* ---------- v1.1.13: sticky results panel, real root cause ----------
   Live tests v1.1.10 AND v1.1.11 both measured the same failure on
   Canvas GPA + Aspen: the .tool-right panel moves 1:1 with the page
   ("3.00" y=687 at top, y=267 after ~420px scroll), while the sticky
   top strip on the same pages PINS correctly. v1.1.11 blamed overflow
   and align-items, but that was not the cause: there is no transform,
   filter or non-visible overflow left on any ancestor (body > main >
   .wrap > .tool-card > .tool-body), and align-self:start was already
   set. The REAL cause is grid track sizing: .tool-right is a grid item
   of .tool-body, and a sticky item can only travel inside its own grid
   area. The panel IS the tallest item in the row, so the row height
   equals the panel height and there is zero slack to stick into.
   Canvas GPA right column: 4 readouts + a breakdown table that mirrors
   every added row. Aspen right column: 4 readouts + a breakdown table
   that mirrors every added row + a fixed 5-row GPA scale table. Adding
   rows grows BOTH columns, so the panel stays the tallest (or within a
   few px of it) forever — sticky can never engage, at any scroll depth.
   The strip pins because it is a direct child of .tool-card, whose
   height is the whole card, so it has metres of travel.
   Fix (CSS only, no JS): cap the panel's height to the viewport
   (top 190px + max-height calc(100vh - 200px)) and let it scroll
   internally. The cap means the panel's used height is always below
   the row height once the input column grows, so sticky finally has
   slack; and even if the row were still sized by the panel, travel =
   area height minus used height is now positive either way. The first
   readout (Current grade / Cumulative GPA) stays at the top of the
   pinned panel; the breakdown and scale tables stay reachable by
   scrolling inside the panel. Desktop only (min-width 961px): on
   mobile the panel flows below the inputs as before and the sticky
   top strip is the result that stays on screen. */
/* v1.1.17: REMOVED. The panel is static now (user asked for it), so no
   height cap and no internal scroll: the panel grows naturally and
   scrolls away with the page. */

/* ---------- v1.1.14: JS driven pinning for the side results panel ----------
   CSS sticky failed live three times (v1.1.10, v1.1.11, v1.1.13) for the
   same reason: .tool-right is a grid item of .tool-body, and a sticky
   item can only travel inside its own grid area. The panel is the
   tallest item in its row, so the row height equals the panel height
   and there is almost no slack; v1.1.13's height cap bought travel
   bounded by (left column height minus panel height), which ran out at
   about 750px of scroll. tools.js now pins the panel with
   position:fixed instead, measured at runtime against the sticky top
   strip's real bottom and the whole .tool-card bottom, with a
   placeholder holding the panel's grid cell so the inputs column never
   shifts. These rules only style the pinned state; the JS sets
   top/left/width inline. CSS sticky is the fallback. */
/* v1.1.17: REMOVED. .tool-right.is-pinned / .tool-right-ph belonged to
   the v1.1.14 JS pinning, which the user asked to remove; the panel is
   static now, so no pinned state exists. */

/* ---------- v1.1.15: header redesign, static strip, chips fixed, footer rebuild ----------
   (1) Grade strip chips are NOT links any more (plain spans in footer.php)
   and are solid red with white text; hover only darkens the red, so no
   letter can ever disappear. (2) Header is now three zones: logo left,
   nav centred, search + Explore Tools + CTA right. Logo 88px desktop,
   64px scrolled. The search bar filters all 11 tools live and shows
   "Not found" when nothing matches; Explore Tools opens a grouped panel
   of all 11 tools. (3) The .result-strip is STATIC everywhere now (the
   sticky strip followed the user down the page and overlapped inputs);
   it stays in its own place at the top of the tool card. The v1.1.14 JS
   panel pinning now anchors to the site header bottom, not the strip.
   (4) Footer rebuilt to 4 columns (Logo + description / 4 grade tools /
   4 GPA tools / 4 legal pages); trust badges removed; logo sits on a
   slim paper strip so the dark wordmark reads on the dark footer without
   a big white card. Red only, no green anywhere. */
.site-header .wrap{max-width:1400px}
.nav{justify-content:space-between}
.nav-links{margin-left:auto;margin-right:auto}
.site-logo-img{height:88px}
.site-header.scrolled .site-logo-img{height:64px}
.nav{min-height:108px}
.site-header.scrolled .nav{min-height:84px}
.header-tools{display:flex;align-items:center;gap:10px;flex-shrink:0;margin-left:auto}
.header-search{position:relative;display:flex;align-items:center}
.search-toggle{display:none;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--ink);cursor:pointer;flex-shrink:0}
.search-input{width:200px;padding:9px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;font-family:var(--sans);font-size:14px;color:var(--ink);outline:none}
.search-input:focus{border-color:var(--red);box-shadow:0 0 0 3px var(--blush)}
.search-results{position:absolute;top:calc(100% + 8px);right:0;width:280px;max-height:340px;overflow-y:auto;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:6px;z-index:70}
.search-results button{display:block;width:100%;text-align:left;padding:9px 12px;border:0;border-radius:9px;background:none;font-family:var(--sans);font-size:14px;font-weight:600;color:var(--ink);cursor:pointer}
.search-results button:hover,.search-results button.active{background:var(--blush);color:var(--red)}
.search-results .search-none{padding:12px;font-size:14px;font-weight:600;color:var(--muted)}
.header-explore{position:relative;flex-shrink:0}
.explore-btn{white-space:nowrap}
.explore-panel{position:absolute;top:calc(100% + 10px);right:0;width:520px;max-width:calc(100vw - 32px);display:grid;grid-template-columns:1fr 1fr;gap:18px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);padding:18px;z-index:70}
.explore-group h4{font-family:var(--sans);font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--red);margin:0 0 8px}
.explore-group ul{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.explore-group a{display:block;padding:8px 10px;border-radius:9px;font-size:14px;font-weight:600;color:var(--ink);text-decoration:none}
.explore-group a:hover{background:var(--blush);color:var(--red);text-decoration:none}
.header-cta{white-space:nowrap}
.footer-logo-plain{display:inline-block;background:var(--paper);border-radius:14px;padding:10px 18px}
.footer-logo-plain:hover{transform:translateY(-3px)}
.footer-logo-img{height:110px}
@media (max-width:1400px){.header-cta{display:none}}
@media (max-width:1280px){.nav-links a,.nav-drop{padding:8px 6px}.search-input{width:170px}}
@media (max-width:1120px){
  .search-input{display:none}
  .search-toggle{display:inline-flex}
  .header-search.open .search-input{display:block;position:absolute;top:calc(100% + 8px);right:0;width:260px;box-shadow:var(--shadow)}
  .header-search.open .search-results{top:calc(100% + 56px)}
}
@media (max-width:960px){
  .site-logo-img{height:56px}
  .site-header.scrolled .site-logo-img{height:48px}
  .nav{min-height:72px}
  .site-header.scrolled .nav{min-height:64px}
  .explore-panel{grid-template-columns:1fr;width:300px}
  .explore-btn{padding:9px 12px;font-size:13px}
  .nav-toggle{margin-left:0}
  .header-tools{margin-left:auto}
}
@media (prefers-reduced-motion:reduce){.grade-chip,.footer-logo-plain{transition:none}}

/* ---------- v1.1.16: Explore panel closed by default, bigger logos ----------
   DEFECT 1 (root cause): .explore-panel sets display:grid, which overrides
   the UA [hidden]{display:none} rule, so the panel was visible on every
   load and no toggle/Esc/outside-click could ever hide it. The [hidden]
   rule below restores it. Search dropdown z-index (80) is now above the
   Explore panel (60). The panel stays position:absolute under the header
   (never fixed/sticky) and JS closes it on any scroll, so it can never
   follow the user down the page or cover the search results.
   DEFECT 3 (logos): logo.png is 612x408 but its artwork only fills
   x35-577, y90-280 (measured), so at 88px img height only ~41px of
   artwork showed. object-view-box crops the transparent padding (the
   tagline stays visible, the file is untouched) and the img is raised,
   so the visible artwork is ~120px tall on desktop. Widths are set to
   the cropped aspect (542:190) so nothing distorts; object-fit:contain
   is the safe fallback where object-view-box is unsupported. */
.explore-panel[hidden],.search-results[hidden]{display:none!important}
.search-results{z-index:80}
.explore-panel{z-index:60}
.site-logo-img{height:120px;width:342px;object-fit:contain;object-view-box:inset(22% 6% 31% 6%)}
.site-header.scrolled .site-logo-img{height:88px;width:251px}
.nav{min-height:140px}
.site-header.scrolled .nav{min-height:108px}
.footer-logo-img{height:120px;width:342px;object-fit:contain;object-view-box:inset(22% 6% 31% 6%)}
@media (max-width:1500px){
  .search-input{display:none}
  .search-toggle{display:inline-flex}
  .header-search.open .search-input{display:block;position:absolute;top:calc(100% + 8px);right:0;width:260px;box-shadow:var(--shadow)}
  .header-search.open .search-results{top:calc(100% + 56px)}
}
@media (max-width:1280px){
  .site-logo-img{height:96px;width:274px}
  .site-header.scrolled .site-logo-img{height:72px;width:205px}
  .nav{min-height:116px}
  .site-header.scrolled .nav{min-height:92px}
}
@media (max-width:1120px){
  .site-logo-img{height:80px;width:228px}
  .site-header.scrolled .site-logo-img{height:64px;width:183px}
  .nav{min-height:100px}
  .site-header.scrolled .nav{min-height:84px}
  .nav-links a,.nav-drop{padding:8px 5px;font-size:13px}
  .header-tools{gap:6px}
  .explore-btn{padding:9px 12px;font-size:13px}
}
@media (max-width:960px){
  .site-logo-img{height:72px;width:205px}
  .site-header.scrolled .site-logo-img{height:56px;width:160px}
  .nav{min-height:92px}
  .site-header.scrolled .nav{min-height:76px}
}

/* ---------- v1.1.17: footer CTA hover fixed, results panel static everywhere ----------
   (1) FOOTER CTA HOVER (the white pill in the red strip, "Calculate your
   grade"): on hover the pill turned white and the text VANISHED. Root
   cause, same class of bug as the grade chips in v1.1.15: the global
   rule .site-footer a:hover{color:#fff} has specificity (0,2,1) and beat
   .footer-strip-cta:hover (0,2,0), so the hover colour stayed white
   while the background became white. Fix: the hover rule is now
   .site-footer a.footer-strip-cta:hover (0,3,1), which wins, so hover
   shows red text on a white pill, always visible. Focus-visible matches.
   (2) SIDE RESULTS PANEL STATIC: the user asked for the .tool-right
   panel to stop following the scroll on every tool page. The v1.1.14 JS
   pinning (initPinnedResultsPanel) is deleted from tools.js, the CSS
   sticky on .tool-right is now position:static, the v1.1.13 height cap
   and internal scroll are removed, and the .is-pinned / placeholder
   rules are gone. The panel now scrolls away with the page, like the
   rest of the content. The top result strip stays static too (v1.1.15).
   The site header itself stays sticky, as before, and the Back to top
   button stays fixed, as before. */

/* ---------- v1.1.18: static compact header, centred nav, footer logo without bg ----------
   (1) HEADER STATIC + COMPACT: the header was 140px tall at load and
   shrank to 108px after scrolling (logo 120px down to 88px), so the
   page visibly jumped on scroll. The user wants one fixed size. Every
   .site-header.scrolled size rule is now neutralised by setting the
   scrolled sizes EQUAL to the unscrolled sizes below, so scrolling
   changes nothing but the shadow. Desktop logo is 84px tall (was
   120px), header 104px tall (was 140px). The .scrolled class still
   adds only the shadow, as before.
   (2) NAV CENTRED: .nav is now a 3 column grid on desktop (logo |
   nav | tools) so the page links sit at the true centre of the header,
   not pushed by the logo or the search + Explore Tools block.
   (3) FOOTER LOGO WITHOUT BG: .footer-logo-plain loses its paper
   background and padding. The logo file itself is untouched, but its
   dark wordmark cannot read on the dark footer, so the footer logo
   alone gets filter:invert(1) hue-rotate(180deg): black letters turn
   white, the red calculator, cap, swoosh and "Pro" stay red. No white
   card, no strip, nothing behind the logo.
   (4) FOOTER COLUMNS RIGHT: the brand column is narrower (1.05fr, was
   1.35fr) and the gap is wider (56px, was 36px), so the three link
   columns spread further right and the empty space at the right edge
   is gone. */
.site-logo-img,.site-header.scrolled .site-logo-img{height:84px;width:240px}
.nav,.site-header.scrolled .nav{min-height:104px}
@media (min-width:961px){
  .nav{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px}
  .site-logo{justify-self:start}
  #primaryNav{display:flex;justify-content:center;min-width:0}
  .nav-links{margin:0;justify-content:center}
  .header-tools{justify-self:end;margin-left:0}
}
.footer-logo-plain{background:none;padding:0;border-radius:0;box-shadow:none}
.footer-logo-img{filter:invert(1) hue-rotate(180deg)}
.footer-grid{grid-template-columns:1.05fr 1fr 1fr 1fr;gap:56px}
@media (max-width:1280px){
  .site-logo-img,.site-header.scrolled .site-logo-img{height:76px;width:217px}
  .nav,.site-header.scrolled .nav{min-height:96px}
}
@media (max-width:1120px){
  .site-logo-img,.site-header.scrolled .site-logo-img{height:68px;width:194px}
  .nav,.site-header.scrolled .nav{min-height:92px}
}
@media (max-width:960px){
  .site-logo-img,.site-header.scrolled .site-logo-img{height:60px;width:171px}
  .nav,.site-header.scrolled .nav{min-height:84px}
  .footer-grid{grid-template-columns:1fr 1fr;gap:32px}
}
@media (max-width:620px){
  .footer-grid{grid-template-columns:1fr;gap:32px}
}

/* ---------- v1.1.19: header tighter still ----------
   v1.1.18 made the header static (no shrink on scroll, verified live)
   but it still measured 123px tall, not the intended 104px: the logo
   box was 84px, and the red pen-tick badge hanging off the logo's
   corner (right:-7px, bottom:-7px) added ~10px of visible height below
   it. Reason for this change: the user said the header is still too
   big. Logo is now 72px tall, header 92px, and the badge is pulled
   inside the logo box (right:0, bottom:0, 16px) so it adds no height. */
.site-logo-img,.site-header.scrolled .site-logo-img{height:72px;width:206px}
.nav,.site-header.scrolled .nav{min-height:92px}
.pen-tick{right:0;bottom:0;width:16px;height:16px;padding:2px}
@media (max-width:1280px){
  .site-logo-img,.site-header.scrolled .site-logo-img{height:64px;width:183px}
  .nav,.site-header.scrolled .nav{min-height:88px}
}
@media (max-width:1120px){
  .site-logo-img,.site-header.scrolled .site-logo-img{height:60px;width:171px}
  .nav,.site-header.scrolled .nav{min-height:84px}
}
@media (max-width:960px){
  .site-logo-img,.site-header.scrolled .site-logo-img{height:56px;width:160px}
  .nav,.site-header.scrolled .nav{min-height:80px}
}

/* ---------- v1.1.20: header exact height ----------
   v1.1.19 set min-height 92px but the live header still measured
   113px: min-height alone lets the tallest grid item stretch the
   header, so this sets an EXPLICIT height instead (88px desktop, logo
   72px, so 8px breathing room top and bottom). The dropdown menus are
   absolutely positioned, so a fixed nav height cannot clip them.
   Reason for this change: the user said the header is still too big. */
.site-header{padding-top:0;padding-bottom:0}
.site-header .nav,.site-header.scrolled .nav{height:88px;min-height:88px}
.logo-img-wrap{line-height:0}
@media (max-width:1280px){
  .site-header .nav,.site-header.scrolled .nav{height:88px;min-height:88px}
}
@media (max-width:1120px){
  .site-header .nav,.site-header.scrolled .nav{height:84px;min-height:84px}
}
@media (max-width:960px){
  .site-header .nav,.site-header.scrolled .nav{height:80px;min-height:80px}
}

/* ---------- v1.1.21: search line fixed, header hide/show, vivid footer logo ----------
   (1) SEARCH LINE: when the search box opened below the header, the
   header's red bottom rule (.site-header::after) drew straight THROUGH
   the input. Root cause: ::after is the header's last child, so it
   paints above the dropdown input. Fix: ::after gets z-index:0 and the
   search + Explore blocks get their own stacking contexts above it, so
   the red line stays under the header and never crosses an open input
   or panel.
   (2) HEADER HIDE/SHOW (user asked): scrolling down hides the header,
   scrolling up brings it back. .site-header.header-hidden slides it up
   out of view. The old load-time slide-down animation is removed,
   because its fill mode would override the hide transform. The red
   rule grow animation stays. The header never hides while the search
   box, Explore panel or mobile menu is open (tools.js).
   (3) FOOTER LOGO FADED: the v1.1.18 invert+hue-rotate filter washed
   the red out to pale salmon. Replaced by a real file: logo-footer.png
   (built from logo.png, dark wordmark/tagline pixels recolored white,
   reds untouched), so the footer logo is vivid white + strong red with
   NO filter and NO background. The filter rule below is switched off.
   (4) FOOTER COLUMNS DOWN + LESS PADDING: the three link columns now
   start 24px lower than the brand column, and the footer inner padding
   is cut (56px to 36px top). (5) FOOTER BOTTOM CENTRED: the copyright
   line and "Made for students, by students." are centred. */
.site-header{animation:none;transition:transform .35s ease,box-shadow .25s ease}
.site-header.header-hidden{transform:translateY(-110%)}
.site-header::after{z-index:0}
.header-search{position:relative;z-index:80}
.header-explore{position:relative;z-index:80}
.footer-logo-img{filter:none}
.footer-grid nav.footer-col{padding-top:24px}
.footer-inner{padding:36px 0 14px}
.footer-bottom{justify-content:center;text-align:center;margin-top:28px;padding-top:16px}
@media (max-width:960px){
  .footer-inner{padding:28px 0 12px}
}
@media (max-width:620px){
  .footer-inner{padding:24px 0 12px}
  .footer-bottom{flex-direction:column;align-items:center}
}

/* ---------- v1.1.22: footer columns clearly lower, footer shorter ----------
   v1.1.21 pushed the link columns down only 24px, which read as
   "almost level" with the logo, and the footer still felt tall because
   the brand column (logo + description) is much taller than the link
   columns, leaving ~110px of empty space below the links. This pushes
   the three link columns down 56px, so they sit clearly below the
   logo top AND the empty gap below them shrinks to ~40px, and trims
   the footer inner padding and bottom margin a little more. The logo
   size itself is untouched. */
.footer-grid nav.footer-col{padding-top:56px}
.footer-inner{padding:28px 0 12px}
.footer-bottom{margin-top:20px}
@media (max-width:960px){
  .footer-grid nav.footer-col{padding-top:0}
  .footer-inner{padding:24px 0 12px}
}

/* ---------- v1.1.23: footer columns clearly lower, gap below links closed ----------
   v1.1.22 set the link columns 56px down but the live footer still
   showed ~110px of empty space below the shortest (LEGAL) column.
   The gap is arithmetic, not just the offset: gap = (brand column
   height minus link column height) + inner bottom padding + bottom
   bar margin and padding. The brand column (120px logo + description)
   is ~50px taller than the link columns, and the bottom chrome added
   another ~48px. So this does both sides at once: link columns down
   to 80px (clearly below the logo top, headings near the logo's lower
   third) AND the floor trimmed (inner padding 24px top / 8px bottom,
   bottom bar margin 8px, padding 10px). Expected live result: headings
   ~80px below the logo top, gap below the shortest column ~50px,
   footer ~330px tall instead of ~391px. Logo size untouched. */
.footer-grid nav.footer-col{padding-top:80px}
.footer-inner{padding:24px 0 8px}
.footer-bottom{margin-top:0;padding-top:8px}
@media (max-width:960px){
  .footer-grid nav.footer-col{padding-top:0}
}

/* ---------- v1.1.24: footer gap final trim ----------
   v1.1.23 cut the gap below the links from 110px to 73px (visible
   glyphs), 3px over the 70px bar. This trims the bottom bar margin
   (8px to 0) and padding (10px to 8px), shaving ~10px, so the gap
   lands ~63px. Nothing else changes. */

/* ---------- v1.1.25: footer wider, search + Explore buttons white-on-red ----------
   (1) FOOTER SIDE SPACE: the footer content was capped at 1180px while
   the dark footer spans the full width, leaving big empty dark bands
   left and right. The footer wrap is now 1400px, matching the header
   wrap, so the footer content lines up with the header and the side
   space shrinks on wide screens.
   (2) BUTTON TEXT WHITE (user's screenshot 2): the "Explore Tools"
   text is now explicitly pure white, and the search magnifier button
   — which was a white pill with a dark icon — is now red like Explore
   Tools, with a white icon, so both header buttons read white-on-red.
   The icon uses currentColor, so white text colour makes the icon
   white too. Hover darkens the red, text stays white. */
.site-footer .wrap{max-width:1400px}
.search-toggle{background:var(--red);color:#fff;border-color:var(--red)}
.search-toggle:hover{background:var(--red-dark);border-color:var(--red-dark)}
.explore-btn{color:#fff}
.explore-btn .chev{color:#fff}

/* ---------- v1.1.26: header button text forced white ----------
   v1.1.25 added a plain .explore-btn{color:#fff}, and the rule IS in
   the served stylesheet, but the live render still showed the button
   text in muted grey-green (#5C6B64, the theme's --muted) while the
   chevron in the SAME button rendered white. Some rule in the live
   cascade beats the plain class rule, so this uses a header-scoped
   selector with !important on both header buttons (Explore Tools and
   Calculate Your Grade) and on the search toggle, whose magnifier
   icon draws with currentColor, so the icon turns white with the
   text. Scoped to .header-tools so it cannot leak into page buttons. */
.site-header .header-tools .btn,
.site-header .header-tools .explore-btn,
.site-header .header-tools .search-toggle{color:#fff!important}

/* ---------- v1.1.27: home page redesign from the user's JPEG ----------
   Hero, tool card shell with red sidebar, Popular Tools and the three
   bottom cards follow the JPEG. The calculator inside the card is the
   user's own tool, unchanged: the gauge stays below the table, because
   moving it into a side column broke the 900px assignment table in
   v1.1.10/11. The tool shell is 1400px wide so the table still fits
   beside the 236px sidebar. home.css loads after this file, so the
   demo/CTA buttons use .hero-hp scoped selectors (0,2,0) to beat its
   plain .btn rule. "Aim Higher!" uses the Caveat script font, added
   to the Google Fonts URL in functions.php. */
.hp-wrap{max-width:1280px;margin:0 auto;padding:0 24px}
.hero-hp{background:linear-gradient(180deg,#FFF3EC 0%,#FDEEE5 70%,#FBF8F2 100%);padding:46px 0 6px;overflow:hidden}
.hero-hp-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:44px;align-items:center}
.hp-badge{display:inline-flex;align-items:center;gap:8px;background:#FBE0D8;color:var(--red);font-weight:700;font-size:14px;padding:8px 15px;border-radius:999px}
.hero-hp h1{font-size:clamp(44px,5vw,66px);line-height:1.04;margin:20px 0 16px;letter-spacing:-.01em}
.hero-hp h1 em{font-style:italic;color:var(--red);position:relative;white-space:nowrap}
.hero-hp h1 em::after{content:"";position:absolute;left:2%;right:0;bottom:-10px;height:10px;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'><path d='M3 9 Q 100 -2 197 7' fill='none' stroke='%23E8442E' stroke-width='5' stroke-linecap='round'/></svg>") no-repeat center/100% 100%}
.hero-hp .lede{font-size:19px;color:var(--muted);max-width:46ch;margin:0}
.hp-checks{display:flex;gap:24px;flex-wrap:wrap;list-style:none;margin:24px 0 0;padding:0;font-weight:600;font-size:15px}
.hp-checks i{font-style:normal;color:var(--red);font-weight:700;margin-right:7px}
.hp-ctas{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.hero-hp .hp-cta{padding:14px 24px;font-size:16px;border-radius:999px}
.hero-hp .hp-demo{padding:14px 22px;font-size:16px;border-radius:999px;background:#fff;color:var(--red);border:1.5px solid #F6CFC7}
.hero-hp .hp-demo:hover{background:#FDEEEA}
.hp-play{font-size:12px;margin-right:8px}
.hero-hp-art{position:relative;text-align:center}
.hero-hp-art img{width:min(400px,88%);height:auto;border-radius:30px;box-shadow:0 26px 60px rgba(23,33,30,.18);display:block;margin:0 auto}
.hp-aim{position:absolute;top:4px;right:15%;font-family:Caveat,cursive;font-size:36px;font-weight:700;color:var(--ink);transform:rotate(5deg);text-decoration:underline;text-underline-offset:7px;text-decoration-thickness:3px}
.tool-shell{width:min(1400px,calc(100% - 48px));margin:30px auto 10px;display:grid;grid-template-columns:236px minmax(0,1fr);background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:0 18px 50px rgba(23,33,30,.10)}
.tool-side{background:linear-gradient(180deg,#E8442E 0%,#C9331F 100%);padding:22px 14px;display:flex;flex-direction:column;gap:6px}
.tool-side-item{display:flex;align-items:center;gap:11px;width:100%;text-align:left;padding:12px;border:0;border-radius:12px;background:transparent;color:#fff;font-family:var(--sans);font-weight:600;font-size:15px;cursor:pointer;text-decoration:none}
.tool-side-item svg{flex-shrink:0}
.tool-side-item:hover{background:rgba(255,255,255,.14);color:#fff;text-decoration:none}
.tool-side-item.on{background:rgba(0,0,0,.20);color:#fff}
.tool-main{padding:26px 28px;min-width:0}
.tool-main-head h2{margin:0;font-size:26px}
.tool-main-head p{margin:6px 0 18px}
.tool-main .user-tool{min-width:0}
.hp-pop{padding-top:34px}
.hp-pop-head{text-align:center;max-width:640px;margin:0 auto 30px}
.hp-pill{display:inline-block;background:#FDEEEA;color:var(--red);font-weight:700;font-size:13px;letter-spacing:.06em;padding:7px 14px;border-radius:999px}
.hp-pop-head h2{margin:14px 0 10px;font-size:clamp(30px,3.6vw,40px)}
.hp-pop-head p{margin:0}
.hp-pop-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.hp-tool{position:relative;display:block;background:#FDEEEA;border:1px solid #F6CFC7;border-radius:18px;padding:22px 20px 56px;color:var(--ink);text-decoration:none;transition:transform .2s ease,box-shadow .2s ease}
.hp-tool:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(23,33,30,.12);color:var(--ink);text-decoration:none}
.hp-tool svg{color:var(--red)}
.hp-tool h3{font-size:18px;margin:14px 0 6px}
.hp-tool p{font-size:14px;color:var(--muted);margin:0}
.hp-arrow{position:absolute;right:16px;bottom:16px;width:34px;height:34px;border-radius:50%;background:var(--red);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:17px}
.hp-trio-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.hp-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px;box-shadow:0 10px 30px rgba(23,33,30,.06);display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.hp-card-tag{display:inline-flex;align-items:center;gap:8px;background:#FDEEEA;color:var(--red);font-weight:700;font-size:14px;padding:8px 13px;border-radius:999px}
.hp-card-tag span{font-weight:700}
.hp-split{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:center;width:100%}
.hp-ticks{list-style:none;padding:0;margin:0}
.hp-ticks li{position:relative;padding:7px 0 7px 28px;font-weight:600;font-size:15px}
.hp-ticks li::before{content:"\2713";position:absolute;left:0;top:7px;color:var(--red);font-weight:700}
.hp-split img{width:100%;height:auto;border-radius:14px}
.hp-card p{margin:0}
.hp-card-img{width:100%;height:auto;border-radius:14px}
.hp-steps{margin:0;padding-left:22px}
.hp-steps li{margin-bottom:12px}
.hp-card .btn{margin-top:auto}
@media (max-width:1100px){
  .hp-pop-grid{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:960px){
  .hero-hp-grid{grid-template-columns:1fr;gap:28px}
  .hero-hp-art img{width:min(340px,86%)}
  .hp-aim{font-size:30px}
  .tool-shell{grid-template-columns:1fr;width:calc(100% - 32px)}
  .tool-side{flex-direction:row;overflow-x:auto;padding:12px}
  .tool-side-item{white-space:nowrap;width:auto;flex-shrink:0}
  .tool-main{padding:20px 16px}
  .hp-trio-grid{grid-template-columns:1fr}
  .hp-pop-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:620px){
  .hp-wrap{padding:0 16px}
  .hp-pop-grid{grid-template-columns:1fr}
  .hp-split{grid-template-columns:1fr}
}

/* ---------- v1.1.29: PowerSchool Grade Calculator, unique design ----------
   Deliberately different from every other tool page: a red ticket hero
   with a paper grade slip, three big mode cards on top, a single column
   gradebook ledger (no left inputs / right results split), a circular
   gauge beside a vertical result strip, a horizontal letter ladder,
   and what if + needed as two cards below the tables. All rules are
   scoped under .ps- so nothing leaks onto other pages. Red only. */
.ps-hero{background:var(--red);color:#fff;padding:56px 0 64px;position:relative;overflow:hidden}
.ps-hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:10px;background:repeating-linear-gradient(90deg,#fff 0 14px,transparent 14px 28px);opacity:.35}
.ps-hero-inner{display:grid;grid-template-columns:1.25fr .75fr;gap:36px;align-items:center}
.ps-eyebrow{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.5);color:#fff;font-weight:700;font-size:13px;letter-spacing:.04em;text-transform:uppercase;padding:7px 13px;border-radius:999px}
.ps-hero h1{color:#fff;font-size:clamp(38px,4.6vw,58px);margin:18px 0 14px}
.ps-lede{font-size:19px;color:#FDEEEA;max-width:62ch;margin:0}
.ps-trust{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 0;padding:0;list-style:none}
.ps-trust li{background:#fff;color:var(--red-dark);font-size:14px;font-weight:700;border-radius:999px;padding:8px 13px}
.ps-slip{background:var(--paper);color:var(--ink);border-radius:20px;padding:26px 28px;box-shadow:0 18px 40px rgba(23,33,30,.25);transform:rotate(1.5deg)}
.ps-slip-kicker{font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--red);margin:0 0 8px}
.ps-slip-big{font-family:var(--serif);font-size:44px;font-weight:700;line-height:1;margin:0}
.ps-slip-big span{color:var(--red);font-size:28px}
.ps-slip-note{color:var(--muted);margin:12px 0}
.ps-slip-modes{font-weight:700;color:var(--red-dark);margin:0;border-top:2px dashed #D9D2C2;padding-top:12px}
.ps-tool{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);margin:36px 0 8px;padding:28px;overflow:hidden}
.ps-tool .btn.ghost{background:#fff;color:var(--red-dark);border:2px solid var(--red)}
.ps-tool .btn.ghost:hover{background:var(--blush);color:var(--red-dark)}
.ps-modes{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.ps-mode-card{text-align:left;background:#FDFBF6;border:2px solid var(--line);border-radius:18px;padding:18px;cursor:pointer;font-family:var(--sans);color:var(--ink);transition:transform .25s ease,border-color .25s ease,background .25s ease,box-shadow .25s ease}
.ps-mode-card:hover{transform:translateY(-3px);border-color:var(--red-mid)}
.ps-mode-card.ps-active{background:var(--red);border-color:var(--red);color:#fff;box-shadow:0 14px 30px rgba(232,68,46,.35)}
.ps-mode-card.ps-active span{color:#FDEEEA}
.ps-mode-n{display:block;font-family:var(--serif);font-size:26px;font-weight:700;color:var(--red);line-height:1}
.ps-mode-card strong{display:block;font-size:17px;margin:8px 0 4px}
.ps-mode-card span{font-size:14px;color:var(--muted)}
.ps-formula{font-family:var(--serif);font-size:22px;background:var(--blush);border:1px solid #F6CFC7;border-radius:14px;padding:16px 18px;text-align:center;margin:22px 0}
.ps-stage{display:grid;grid-template-columns:220px 1fr;gap:28px;align-items:center;background:#FDFBF6;border:1px solid var(--line);border-radius:18px;padding:24px}
.ps-gauge{position:relative;text-align:center;margin-bottom:32px}
.ps-gauge svg{width:200px;max-width:100%;height:auto}
.ps-gauge-num{font-family:var(--serif);font-size:34px;font-weight:700;line-height:1;margin-top:-118px}
.ps-gauge-letter{font-size:14px;font-weight:700;color:var(--muted);margin-top:6px;min-height:20px}
.ps-gauge.ps-pop{animation:psGaugePop .5s cubic-bezier(.2,.8,.2,1)}
@keyframes psGaugePop{0%{transform:scale(1)}40%{transform:scale(1.07)}100%{transform:scale(1)}}
#psGaugeArc{transition:stroke-dashoffset .8s cubic-bezier(.2,.8,.2,1)}
.ps-result-strip{display:flex;flex-direction:column;gap:4px}
.ps-result-label{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--red-dark)}
.ps-result-value{font-family:var(--serif);font-size:clamp(30px,4vw,44px);font-weight:700;line-height:1.05}
.ps-result-sub{color:var(--muted)}
.ps-result-mode{display:inline-block;align-self:flex-start;background:var(--red);color:#fff;font-size:13px;font-weight:700;border-radius:999px;padding:5px 12px;margin-top:6px}
.ps-result-strip.ps-low .ps-result-value{color:var(--muted)}
.ps-ladder{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 0}
.ps-rung{display:flex;flex-direction:column;align-items:center;min-width:56px;background:#FDFBF6;border:1px solid var(--line);border-radius:12px;padding:9px 6px}
.ps-rung b{font-family:var(--serif);font-size:17px}
.ps-rung i{font-style:normal;font-size:12px;color:var(--muted)}
.ps-rung.ps-here{background:var(--red);border-color:var(--red);color:#fff;transform:translateY(-3px);box-shadow:0 8px 18px rgba(232,68,46,.35)}
.ps-rung.ps-here i{color:#FDEEEA}
.ps-panel{margin-top:26px;animation:none}
.ps-panel.ps-swap{animation:psSwap .45s ease both}
@keyframes psSwap{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.ps-panel h2{font-size:26px;margin:0 0 6px}
.ps-panel-note{color:var(--muted);max-width:78ch}
.ps-table{width:100%;border-collapse:collapse}
.ps-table th{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);text-align:left;padding:6px;border-bottom:2px solid var(--ink)}
.ps-table td{padding:10px 6px;border-bottom:1px solid #F0EADD;vertical-align:top}
.ps-table input[type=text]{width:100%;font:inherit;font-size:15px;padding:9px 10px;border:1.5px solid #D9D2C2;border-radius:10px}
.ps-table input[type=number]{width:82px;font:inherit;font-size:15px;font-weight:600;padding:9px 8px;border:1.5px solid #D9D2C2;border-radius:10px}
.ps-table input:focus{outline:3px solid #FBD9D2;border-color:var(--red)}
.ps-pct{min-width:150px}
.ps-raw{display:block;font-weight:700}
.ps-bar{display:block;height:6px;background:#F0EADD;border-radius:99px;margin:6px 0;overflow:hidden}
.ps-bar i{display:block;height:100%;background:var(--red);border-radius:99px;transition:width .8s cubic-bezier(.2,.8,.2,1)}
.ps-round{display:block;font-size:13px;color:var(--red-dark);font-weight:600}
.ps-remove{border:0;background:none;color:var(--muted);cursor:pointer;font-size:18px;line-height:1;padding:4px}
.ps-remove:hover{color:var(--red)}
.ps-weight-line{font-size:14px;font-weight:700;border-radius:10px;padding:9px 12px;margin:14px 0}
.ps-weight-line.ps-ok{background:var(--blush);color:var(--red-dark)}
.ps-weight-line.ps-bad{background:var(--blush);color:var(--red-dark)}
.ps-add{margin-top:4px}
.ps-term-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.ps-helpers{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:26px}
.ps-helper{background:#FDFBF6;border:1px solid var(--line);border-radius:18px;padding:22px}
.ps-helper h3{font-size:20px;margin:0 0 6px}
.ps-helper p{color:var(--muted);font-size:14px}
.ps-helper .field{margin-top:12px}
.ps-slider-label{display:block;font-size:14px;font-weight:700;margin:12px 0 6px}
.ps-slider{width:100%;accent-color:var(--red)}
.ps-helper-out{font-size:15px;font-weight:700;color:var(--red-dark);margin:14px 0 0}
.ps-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:26px}
.ps-round-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.ps-round-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;text-align:center}
.ps-round-card strong{font-family:var(--serif);font-size:30px;display:block}
.ps-round-card span{display:block;color:var(--muted);font-size:14px;margin:6px 0}
.ps-round-card b{font-family:var(--serif);font-size:30px;color:var(--red)}
.ps-round-intro{max-width:72ch}
.ps-round-note{margin-top:18px;color:var(--muted);max-width:72ch}
@media (max-width:960px){
  .ps-hero-inner{grid-template-columns:1fr}
  .ps-slip{transform:none}
  .ps-modes{grid-template-columns:1fr}
  .ps-stage{grid-template-columns:1fr;text-align:center}
  .ps-result-mode{align-self:center}
  .ps-helpers{grid-template-columns:1fr}
  .ps-term-grid{grid-template-columns:1fr 1fr}
  .ps-round-grid{grid-template-columns:1fr 1fr}
  .ps-tool{padding:20px 16px}
}
@media (max-width:620px){
  .ps-term-grid{grid-template-columns:1fr}
  .ps-round-grid{grid-template-columns:1fr}
  .ps-table input[type=number]{width:64px}
}
@media (prefers-reduced-motion:reduce){
  .ps-mode-card,.ps-gauge.ps-pop,.ps-panel.ps-swap,#psGaugeArc,.ps-bar i{animation:none!important;transition:none!important}
}

/* ---------- v1.1.31: mobile-view UI fixes (390px audit, 30 Nov 2026) ----------
   Measured at 390px on every page (headless Chromium, iPhone UA):
   (1) HEADER OVERFLOW, all pages: the Explore Tools button ended at
   x=425, 35px past the viewport, so every page scrolled sideways
   (scrollWidth 425). Cause: logo 160px + hamburger 42 + search 40 +
   Explore ~125 + gaps + 22px wrap padding > 390. Fix, 620px and below
   only: smaller logo (48px tall, 137px wide, same 542:190 cropped
   aspect), tighter wrap padding and gaps, smaller Explore button.
   All four header controls stay visible and tappable.
   (2) GRID TRACKS STRETCHING, tool + contact pages: single-column
   grids used `1fr` (= minmax(auto,1fr)), so the track grew to the
   widest min-content inside it (assign-table ~431px on HS GPA/Moodle,
   CF7 text inputs size=40 ~345px on Contact) and the page scrolled
   sideways (scrollWidth 425-498). Fix: minmax(0,1fr) on the
   single-column grids at 960px and below, plus min-width:0 on their
   children. Desktop two-column layout is untouched.
   (3) TABLES NEED A SCROLL WRAPPER: the assign/mini/ps tables are
   wider than a 346px phone content box (up to 493px on PowerSchool),
   and with no wrapper their right columns (Weight %, Percent, the
   remove x) were cut off and unreachable. Every tool table is now
   wrapped in .table-scroll (overflow-x:auto) in the page templates;
   on desktop the content fits so no scrollbar appears and nothing
   changes visually. The Home tables were already wrapped (.tbl).
   (4) TAP TARGETS, 620px and below: row remove x buttons were
   19x26px and the PowerSchool remove x the same; they are now at
   least 32x32px. The Contact Form 7 fields were unstyled browser
   defaults (21px tall, 1-2px padding, 13.3px font, 57x21 submit);
   on phones they now get the theme's input treatment (16px font so
   iOS does not zoom on focus, 12px padding, 48px min height) and a
   full-size submit button. The fields also get width:100%: without
   it they sized from the size=40 attribute (345px at the old font,
   418px at 16px) and overflowed the card, so the page scrolled
   sideways even after the grid was capped. Desktop is untouched.
   Nothing here changes desktop layout, colours, calculator maths or
   sample data. Includes the v1.1.30 PowerSchool whole-number rounding
   (ps.js already rounds Total Points, 1250/1600 = 78%). */

/* ---------- v1.1.32: leftover mobile defects found on the live v1.1.31 re-check (390px, 30 Nov 2026) ----------
   (1) POWERSCHOOL GAUGE OVERLAP: the 200px gauge ring overlapped the
   "YOUR POWERSCHOOL GRADE" caption below it (ring bottom y=549,
   caption top y=529). Cause: .ps-gauge-num uses margin-top:-118px to
   sit over the ring, which shrinks the container to ~152px while the
   SVG still paints 200px tall (overflow visible), so the caption
   slides up under the ring. Fix: margin-bottom:32px on .ps-gauge,
   pushing the caption 32px down (12px clear of the ring). The Home
   gauge is unaffected (fixed 180x180 box contains its SVG).
   (2) COURSE NAME CLIPPED on tool tables at 620px and below: the
   course input showed "Engli" instead of "English" (measured 56px
   wide). Narrowing the % and credits number inputs 62px to 52px
   alone did NOT widen it (injection test: still 56px), because the
   table shrinks to its min-content and the flexible column stays
   starved. Fix: the text input now has min-width:100px at 620px
   and below, so the column is guaranteed room ("English" needs
   ~72px) and the table scrolls a little further inside its
   .table-scroll wrapper instead. Page overflow is unaffected
   (the wrapper contains the table).
   (3) STALE VERSION STRING: functions.php enqueued every asset with
   a hardcoded '1.1.30', so the live HTML still said
   style.css?ver=1.1.30 after the v1.1.31 upload (file content was
   correct, only the query string was stale). All enqueue versions
   are now '1.1.32', matching the theme version, so the cache-buster
   changes with the theme. */

/* ---------- v1.1.33: mobile scroll — tool in the first screen (390px, 30 Nov 2026) ----------
   Measured on live v1.1.32: tool pages already reach the tool in
   ~1 scroll (hero 454-515px, first input at y=829-891), but the
   user wants the tool as fast as possible, 2-3 scrolls at most.
   Two pages were worse: Home (hero 1191px, calculator at y=1302,
   1.54 scrolls) and PowerSchool (hero 976px, mode cards at y=1114,
   1.32 scrolls). Fix, 620px and below only:
   (1) HOME HERO: the student illustration block (.hero-hp-art,
   ~380px tall) is hidden on phones, hero padding 46px to 28px,
   h1 44px to 36px, checks/CTAs tightened, and the tool card
   margin 30px to 16px — the calculator's top edge should land
   inside the first 844px screen. The illustration stays on
   desktop and tablet; nothing else on Home changes.
   (2) POWERSCHOOL HERO: the decorative grade slip (.ps-slip,
   ~280px, it only repeats the result the gauge shows below) is
   hidden on phones, hero padding 56/64px to 28/32px, h1 38px to
   32px — the three mode cards should land inside the first
   screen. Desktop keeps the slip.
   (3) TOOL HEROES: padding 32px to 24px top, h1 38px to 32px,
   lede 19px to 17px, tool card margin 26px to 12px — the first
   input/select on every tool page should sit under y=844, so the
   tool is visible without scrolling at all. Desktop, colours,
   calculator maths and sample data are untouched. */
.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
@media (max-width:960px){
  .tool-body{grid-template-columns:minmax(0,1fr)}
  .tool-shell{grid-template-columns:minmax(0,1fr)}
  .contact-grid{grid-template-columns:minmax(0,1fr)}
  .hero-grid{grid-template-columns:minmax(0,1fr)}
  .example-card{grid-template-columns:minmax(0,1fr)}
  .tool-left,.tool-right,.form-card,.contact-grid>aside{min-width:0}
}
@media (max-width:620px){
  .site-header .wrap{padding:0 14px}
  .site-logo-img,.site-header.scrolled .site-logo-img{height:48px;width:137px}
  .nav{gap:8px}
  .header-tools{gap:4px}
  .explore-btn{padding:8px 10px;font-size:12px}
  .assign-table input[type=text]{min-width:100px}
  .assign-table select{max-width:104px}
  .row-remove,.ps-remove{min-width:32px;min-height:32px;padding:6px}
  .wpcf7-form input[type=text],.wpcf7-form input[type=email],.wpcf7-form textarea{width:100%;font-size:16px;padding:12px;min-height:48px;border:1.5px solid #D9D2C2;border-radius:12px;background:#fff;color:var(--ink)}
  .wpcf7-form .wpcf7-form-control-wrap{display:block}
  .wpcf7-form textarea{min-height:120px}
  .wpcf7-form input[type=submit]{min-height:48px;padding:12px 22px;font-size:15px}
  /* v1.1.33: tool in the first screen on phones */
  .hero-hp{padding:28px 0 6px}
  .hero-hp h1{font-size:36px;margin:16px 0 12px}
  .hero-hp .lede{font-size:17px}
  .hp-checks{margin-top:16px}
  .hp-ctas{margin-top:20px}
  .hero-hp-art{display:none}
  .tool-shell{margin-top:16px}
  .tool-hero{padding:24px 0 0}
  .tool-hero h1{font-size:32px;margin:12px 0 10px}
  .tool-hero .lede{font-size:17px}
  .tool-card{margin-top:12px}
  .ps-hero{padding:28px 0 32px}
  .ps-hero h1{font-size:32px;margin:12px 0 10px}
  .ps-lede{font-size:17px}
  .ps-trust{margin-top:14px}
  .ps-slip{display:none}
}

/* ---------- v1.1.39: recolour old indigo/teal legal-page blocks to Red-Pen ----------
   The four legal pages carry an embedded <style> block from the old indigo
   (#1E2A78) + teal (#00A896) design: blue gradient hero, blue headings, teal
   buttons and accents. That block loads after this stylesheet, so these
   overrides use !important. Scoped to .entry (page.php only), so the
   calculator tool itself is never touched. */
.entry .cgc-hero{background:linear-gradient(135deg,#E8442E 0%,#C9331F 100%) !important;box-shadow:0 10px 30px rgba(232,68,46,.25) !important}
.entry .cgc-hero .cgc-badge{background:#fff !important;color:#C9331F !important}
.entry .cgc-card h2,.entry .cgc-card h3{color:#17211E !important}
.entry .cgc-table th{background:#17211E !important}
.entry .cgc-btn-primary{background:#E8442E !important;box-shadow:0 4px 12px rgba(232,68,46,.35) !important}
.entry .cgc-btn-primary:hover{background:#C9331F !important}
.entry .cgc-btn-secondary{color:#17211E !important}
.entry .cgc-btn-secondary:hover{border-color:#E8442E !important}
.entry .cgc-stat{border-top-color:#E8442E !important}
.entry .cgc-stat .cgc-big{color:#17211E !important}
.entry .cgc-needed{background:#17211E !important}
.entry .cgc-needed strong{color:#F26B4F !important}
.entry .cgc-whatif{background:#FDEEEA !important;border-color:#E8442E !important}
.entry .cgc-whatif strong{color:#C9331F !important}
.entry .cgc-formula{border-left-color:#E8442E !important}
.entry .cgc-faq summary{color:#17211E !important}
.entry .cgc-step .cgc-num{background:#E8442E !important}
.entry .cgc-step strong{color:#17211E !important}
.entry .cgc-msg{color:#C9331F !important}
.entry .cgc-field input:focus,.entry .cgc-field select:focus,.entry .cgc-table input:focus,.entry .cgc-table select:focus,.entry #cgc-paste:focus{border-color:#E8442E !important}
.entry .cgc-drop-wrap input{accent-color:#E8442E !important}
