:root {
  color-scheme: light;
  --green-950: #173c2a;
  --green-900: #214b35;
  --green-800: #2b6344;
  --green-700: #34734f;
  --green-600: #448461;
  --green-100: #e9f2ec;
  --green-50: #f2f7f3;
  --mint: #dcefe2;
  --ink: #1c2821;
  --text: #46534b;
  --muted: #7d8981;
  --line: #e5ebe6;
  --paper: #ffffff;
  --canvas: #f7f9f6;
  --amber: #a86c1e;
  --amber-bg: #fff7e8;
  --red: #a74242;
  --shadow-soft: 0 18px 50px rgba(29, 55, 39, .07);
  --shadow-card: 0 5px 18px rgba(29, 55, 39, .045);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid rgba(68, 132, 97, .34); outline-offset: 3px; }
svg { display: block; }
.container { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; top: 10px; left: 12px; z-index: 100; padding: 10px 14px; color: white; background: var(--green-900); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; z-index: 30; top: 0; background: rgba(247, 249, 246, .93); border-bottom: 1px solid rgba(222, 231, 224, .8); backdrop-filter: blur(14px); }
.header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 170px; }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; color: var(--green-800); background: #eaf2ec; border-radius: 12px; }
.brand-mark svg { width: 30px; height: 30px; }
.brand-copy { display: grid; line-height: 1.12; }
.brand-copy strong { color: var(--green-950); font-family: "Manrope", sans-serif; font-size: 15px; font-weight: 800; letter-spacing: -.4px; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .4px; }
.site-nav { display: flex; align-items: center; gap: 31px; }
.nav-link { color: #69756d; font-size: 13px; font-weight: 600; transition: color .2s ease; }
.nav-link:hover, .nav-link.active { color: var(--green-800); }
.nav-official { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; color: var(--green-800); border: 1px solid #dce8df; background: #fff; border-radius: 9px; font-size: 12px; font-weight: 700; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.nav-official:hover { background: var(--green-50); border-color: #cbdccf; transform: translateY(-1px); }
.nav-official svg { width: 14px; height: 14px; }
.menu-toggle { display: none; }

.hero { position: relative; overflow: hidden; padding: 76px 0 82px; background: radial-gradient(ellipse at 76% 45%, #edf5ee 0, #f7f9f6 37%, #f7f9f6 70%); }
.hero-grid { min-height: 405px; display: grid; grid-template-columns: 1fr .95fr; align-items: center; gap: 45px; }
.hero-copy { padding: 2px 0 0 8px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; color: var(--green-700); font-size: 11px; font-weight: 700; letter-spacing: 1.15px; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; display: inline-block; background: #65a579; border-radius: 50%; box-shadow: 0 0 0 4px rgba(101, 165, 121, .12); }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { font-family: "Manrope", "DM Sans", sans-serif; }
.hero h1 { margin: 0; color: var(--green-950); font-size: clamp(43px, 4.5vw, 60px); font-weight: 800; letter-spacing: -3.2px; line-height: 1.12; }
.hero h1 span { color: #639071; }
.hero-description { max-width: 470px; margin: 20px 0 25px; color: #66736a; font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; padding: 0 20px; border: 1px solid transparent; border-radius: 10px; cursor: pointer; font-size: 13px; font-weight: 700; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.99); }
.button-primary { color: white; background: var(--green-800); box-shadow: 0 6px 15px rgba(43, 99, 68, .14); }
.button-primary:hover { background: var(--green-900); box-shadow: 0 9px 18px rgba(43, 99, 68, .2); }
.button-secondary { color: var(--green-800); background: white; border-color: #dfe8e1; }
.button-secondary:hover { background: var(--green-50); border-color: #ccded0; }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 26px; color: #78837b; font-size: 12px; font-weight: 500; }
.note-icon { width: 20px; height: 20px; display: inline-grid; place-items: center; color: #6a9b78; }
.note-icon svg { width: 19px; height: 19px; }
.hero-art { height: 415px; position: relative; display: grid; place-items: center; }
.art-orbit { position: absolute; width: 310px; height: 310px; border: 1px solid rgba(125, 169, 135, .16); border-radius: 50%; }
.orbit-one { transform: scale(1.2); }
.orbit-two { width: 375px; height: 375px; border-style: dashed; border-color: rgba(125, 169, 135, .12); }
.planner-card { z-index: 1; width: min(340px, 75%); padding: 26px 25px 17px; background: white; border: 1px solid rgba(219, 230, 221, .8); border-radius: 19px; box-shadow: 0 22px 60px rgba(29, 63, 42, .13); transform: rotate(-2deg); }
.planner-top { display: flex; align-items: flex-start; justify-content: space-between; }
.planner-kicker { display: block; margin-bottom: 10px; color: #8a9a8e; font-size: 8px; font-weight: 700; letter-spacing: 1.4px; }
.planner-top strong { color: var(--green-950); font-family: "Manrope", sans-serif; font-size: 19px; font-weight: 800; letter-spacing: -.6px; line-height: 1.35; }
.planner-calendar { width: 39px; height: 39px; display: grid; place-items: center; color: var(--green-700); background: #eff6f0; border-radius: 12px; }
.planner-calendar svg { width: 22px; height: 22px; }
.planner-rule { height: 1px; margin: 19px 0 7px; background: #edf0ed; }
.planner-item { display: flex; align-items: center; gap: 11px; padding: 12px 0; border-bottom: 1px solid #f0f2f0; }
.planner-check { width: 22px; height: 22px; flex: 0 0 22px; display: grid; place-items: center; color: #79917e; border: 1px solid #d5e3d8; border-radius: 7px; font-size: 11px; font-weight: 700; }
.planner-check.checked { color: white; background: #5e9a70; border-color: #5e9a70; }
.planner-item b, .planner-item small { display: block; }
.planner-item b { color: #314237; font-size: 11px; font-weight: 700; }
.planner-item small { margin-top: 2px; color: #97a198; font-size: 9px; }
.planner-arrow { margin-left: auto; color: #9aaca0; font-size: 14px; }
.planner-bottom { display: flex; align-items: center; gap: 8px; padding-top: 15px; color: #8b978f; font-size: 9px; }
.mini-avatar { width: 22px; height: 22px; display: grid; place-items: center; color: #557b60; background: #e8f2e9; border-radius: 50%; font-size: 7px; font-weight: 800; }
.planner-leaf { margin-left: auto; color: #82ac8d; font-size: 14px; }
.floating-tag { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: rgba(255,255,255,.94); border: 1px solid rgba(225, 234, 226, .9); border-radius: 13px; box-shadow: 0 10px 25px rgba(35, 70, 47, .08); }
.floating-tag b, .floating-tag small { display: block; }
.floating-tag b { color: #385342; font-size: 10px; }
.floating-tag small { margin-top: 2px; color: #8a958d; font-size: 8px; }
.tag-deadline { top: 62px; left: 3px; }
.tag-focus { right: -4px; bottom: 61px; }
.tag-icon { width: 27px; height: 27px; display: grid; place-items: center; color: var(--green-700); background: #eef6ef; border-radius: 8px; font-size: 16px; }
.focus-bars { display: flex; height: 25px; align-items: end; gap: 3px; padding: 5px 7px; background: #f0f6f1; border-radius: 7px; }
.focus-bars i { width: 3px; background: #78a785; border-radius: 2px; }
.focus-bars i:nth-child(1) { height: 7px; }.focus-bars i:nth-child(2) { height: 12px; }.focus-bars i:nth-child(3) { height: 9px; }
.art-spark { position: absolute; color: #82a78b; font-size: 21px; }
.spark-one { top: 50px; right: 48px; }.spark-two { bottom: 39px; left: 63px; font-size: 15px; }

.section-pad { padding: 83px 0; }
.deadlines { background: #fff; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-heading .eyebrow { margin-bottom: 13px; }
.section-heading h2 { margin: 0; color: var(--green-950); font-size: clamp(30px, 4vw, 42px); letter-spacing: -1.8px; line-height: 1.2; }
.section-description { margin: 13px 0 0; color: #77827a; font-size: 14px; line-height: 1.7; }
.text-link { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 4px; color: var(--green-700); font-size: 12px; font-weight: 700; }
.text-link:hover { color: var(--green-950); }
.deadline-panel { margin-top: 33px; overflow: hidden; background: white; border: 1px solid #e4ebe5; border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.panel-topline { display: flex; align-items: center; justify-content: space-between; padding: 21px 25px; border-bottom: 1px solid #edf1ed; }
.panel-title { display: flex; align-items: center; gap: 13px; }
.panel-icon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--green-700); background: var(--green-50); border-radius: 12px; }
.panel-icon svg { width: 22px; height: 22px; }
.panel-title h3 { margin: 0; color: #25382b; font-size: 15px; letter-spacing: -.25px; }
.panel-title p { margin: 4px 0 0; color: #89948c; font-size: 11px; }
.live-label { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; color: #718278; background: #f6f8f6; border-radius: 100px; font-size: 9px; font-weight: 700; letter-spacing: .45px; text-transform: uppercase; }
.live-label span, .results-status span { width: 6px; height: 6px; background: #7cb08a; border-radius: 50%; }
.empty-state { min-height: 255px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px 20px 24px; text-align: center; }
.empty-illustration svg { width: 52px; height: 52px; }
.empty-state h4 { margin: 13px 0 5px; color: #314339; font-family: "Manrope", sans-serif; font-size: 15px; font-weight: 700; }
.empty-state p { max-width: 390px; margin: 0 0 15px; color: #89938c; font-size: 12px; line-height: 1.65; }
.button-small { min-height: 36px; padding-inline: 13px; gap: 8px; font-size: 10px; }
.panel-footnote { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 15px; color: #89948b; background: #fbfcfb; border-top: 1px solid #edf1ed; font-size: 10px; }
.panel-footnote > span { width: 15px; height: 15px; display: inline-grid; place-items: center; color: #77897d; border: 1px solid #d4ded6; border-radius: 50%; font-size: 9px; font-weight: 700; }
.deadline-controls { display: grid; grid-template-columns: 1fr 1fr 1.1fr 1.4fr; gap: 12px; padding: 18px 22px; background: #fbfcfb; border-bottom: 1px solid #edf1ed; }
.deadline-filter { min-width: 0; display: grid; gap: 6px; color: #758278; font-size: 9px; font-weight: 700; }
.deadline-filter select, .search-input-wrap { width: 100%; height: 40px; color: #35483b; background: white; border: 1px solid #e2e9e3; border-radius: 8px; font: inherit; font-size: 12px; }
.deadline-filter select { padding: 0 30px 0 11px; cursor: pointer; }
.deadline-filter select:focus, .search-input-wrap:focus-within { border-color: #8cb298; outline: 0; box-shadow: 0 0 0 3px rgba(99, 145, 112, .1); }
.search-input-wrap { display: flex; align-items: center; gap: 8px; padding: 0 10px; }
.search-input-wrap svg { width: 17px; height: 17px; flex: 0 0 17px; color: #8c9b90; }
.search-input-wrap input { min-width: 0; width: 100%; height: 100%; padding: 0; color: #35483b; background: transparent; border: 0; outline: 0; font-size: 12px; }
.search-input-wrap input::placeholder { color: #a7b0a9; }
.schedule-summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 19px 23px 13px; }
.schedule-summary h4 { margin: 0; color: #304337; font-family: "Manrope", sans-serif; font-size: 13px; font-weight: 800; }
.schedule-summary p { margin: 4px 0 0; color: #8a958d; font-size: 10px; }
.schedule-count { flex: 0 0 auto; padding: 6px 10px; color: #66836e; background: #eff6f0; border-radius: 20px; font-size: 9px; font-weight: 700; }
.schedule-table-wrap { overflow-x: auto; padding: 0 22px 12px; }
.schedule-table { width: 100%; border-collapse: collapse; text-align: left; }
.schedule-table th { padding: 10px 12px; color: #8b968e; background: #f8faf8; border-block: 1px solid #edf1ed; font-size: 9px; font-weight: 700; letter-spacing: .45px; text-transform: uppercase; }
.schedule-table td { padding: 12px; color: #526057; border-bottom: 1px solid #f0f2f0; font-size: 11px; vertical-align: middle; }
.schedule-table tbody tr:last-child td { border-bottom: 0; }
.schedule-table tbody tr:hover { background: #fcfdfc; }
.credit-pill { display: inline-block; padding: 5px 8px; color: #4d7759; background: #eff6f0; border-radius: 6px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.course-not-listed, .assignment-urdu { display: block; margin-top: 5px; color: #9aa49c; font-size: 10px; }
.assignment-title { color: #35483b; font-weight: 700; }
.assignment-urdu { width: fit-content; }
.schedule-table time { color: #334b3a; font-weight: 700; white-space: nowrap; }
.deadline-status { display: inline-block; margin-left: 8px; padding: 4px 7px; border-radius: 20px; font-size: 8px; font-weight: 700; white-space: nowrap; }
.deadline-past { color: #984c48; background: #fcf0ef; }
.deadline-today { color: #946a27; background: #fff6e6; }
.semester-cell { color: #68796e !important; }
.course-reference { display: flex; gap: 9px; align-items: flex-start; margin: 0 22px 14px; padding: 12px 13px; color: #7c8980; background: #f8faf8; border: 1px solid #edf1ed; border-radius: 9px; }
.course-reference-icon { width: 16px; height: 16px; flex: 0 0 16px; display: grid; place-items: center; margin-top: 1px; color: #738779; border: 1px solid #cfdbd1; border-radius: 50%; font-size: 9px; font-weight: 700; }
.course-reference p { margin: 0; font-size: 9px; line-height: 1.7; }
.course-reference strong { color: #58695d; }
.course-code-chip { display: inline-block; padding: 1px 5px; color: #5c7764; background: #edf4ee; border-radius: 4px; font-size: 8px; font-weight: 700; }
.schedule-empty { min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 23px 18px; text-align: center; }
.schedule-empty[hidden] { display: none; }
.schedule-empty .empty-illustration svg { width: 46px; height: 46px; }
.schedule-empty h4 { margin: 10px 0 4px; color: #314339; font-family: "Manrope", sans-serif; font-size: 14px; }
.schedule-empty p { max-width: 400px; margin: 0 0 12px; color: #89938c; font-size: 11px; }
.schedule-table-wrap.has-empty-state { padding-bottom: 0; }
.schedule-table-wrap.has-empty-state .schedule-table { display: none; }
.schedule-table-wrap.has-empty-state .schedule-empty { display: flex; }

.tools { background: #f7f9f6; }
.tools-heading { align-items: end; margin-bottom: 31px; }
.tools-heading h2 span { color: #779581; }
.tools-heading .section-description { max-width: 340px; margin: 0 0 3px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.feature-card { min-height: 276px; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; padding: 24px 23px 22px; background: white; border: 1px solid #e7ece7; border-radius: 17px; box-shadow: 0 3px 12px rgba(29, 55, 39, .025); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.feature-card:hover { transform: translateY(-4px); border-color: #d3e2d6; box-shadow: var(--shadow-soft); }
.feature-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 13px; }
.feature-icon svg { width: 23px; height: 23px; }
.icon-calendar { color: #4b845c; background: #edf5ee; }
.icon-calculator { color: #668774; background: #f0f5f1; }
.icon-resource { color: #8a7a59; background: #f7f3eb; }
.feature-label { margin-top: 19px; color: #809087; font-size: 9px; font-weight: 700; letter-spacing: .85px; text-transform: uppercase; }
.feature-card h3 { z-index: 1; margin: 6px 0 7px; color: #293a2f; font-size: 16px; letter-spacing: -.35px; }
.feature-card p { z-index: 1; max-width: 270px; margin: 0 0 16px; color: #859087; font-size: 11px; line-height: 1.65; }
.feature-action { z-index: 1; display: inline-flex; align-items: center; gap: 9px; margin-top: auto; color: var(--green-700); font-size: 11px; font-weight: 700; }
.feature-action span { transition: transform .2s ease; }
.feature-card:hover .feature-action span { transform: translateX(3px); }
.feature-decoration { position: absolute; right: 16px; bottom: -27px; color: rgba(55, 109, 73, .045); font-family: "Manrope", sans-serif; font-size: 106px; font-weight: 800; line-height: 1; letter-spacing: -9px; }
.feature-calculator { background: #fbfcfb; }
.feature-resources { background: #fdfcf9; }

.closing-cta { position: relative; overflow: hidden; padding: 49px 0 52px; background: var(--green-900); }
.closing-inner { position: relative; display: flex; align-items: center; justify-content: space-between; }
.eyebrow-light { color: #bdd4c2; font-size: 9px; }
.eyebrow-light .eyebrow-dot { background: #a7d2ad; box-shadow: 0 0 0 4px rgba(167, 210, 173, .12); }
.closing-cta h2 { margin: 0; color: white; font-size: 29px; letter-spacing: -1px; line-height: 1.32; }
.button-light { color: var(--green-900); background: white; }
.button-light:hover { background: #f0f6f1; box-shadow: 0 7px 17px rgba(0, 0, 0, .13); }
.closing-spark { position: absolute; top: 0; right: 32%; color: rgba(255,255,255,.12); font-size: 65px; }

.site-footer { background: #fff; }
.footer-main { display: grid; grid-template-columns: 1.2fr .8fr 1.1fr; gap: 60px; padding-top: 42px; padding-bottom: 36px; }
.brand-footer { min-width: 0; }
.footer-brand > p { max-width: 230px; margin: 13px 0 0; color: #859088; font-size: 11px; line-height: 1.65; }
.footer-links h3, .footer-disclaimer h3 { margin: 3px 0 12px; color: #3f4f44; font-family: "Manrope", sans-serif; font-size: 11px; font-weight: 800; }
.footer-links a { display: block; width: max-content; margin: 8px 0; color: #7b877e; font-size: 10px; }
.footer-links a:hover { color: var(--green-700); }
.footer-disclaimer p { max-width: 345px; margin: 0; color: #89938c; font-size: 10px; line-height: 1.7; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 13px; padding-bottom: 15px; color: #929b94; border-top: 1px solid #edf0ed; font-size: 9px; }
.footer-heart { color: #82a98c; }
.footer-bottom a { color: var(--green-700); font-weight: 700; }
.footer-bottom a:hover { color: var(--green-950); }

/* Calculator */
.calculator-page { min-height: calc(100vh - 155px); padding: 25px 0 55px; }
.breadcrumbs { display: flex; align-items: center; gap: 9px; margin-bottom: 22px; color: #9aa39c; font-size: 10px; }
.breadcrumbs a { color: #6c8372; }.breadcrumbs a:hover { color: var(--green-900); }
.calculator-intro { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 26px; }
.calculator-intro .eyebrow { margin-bottom: 11px; }
.calculator-intro h1 { margin: 0; color: var(--green-950); font-size: clamp(33px, 4vw, 44px); letter-spacing: -2px; line-height: 1.18; }
.calculator-intro h1 span { color: #789783; }
.calculator-intro .section-description { max-width: 570px; margin-top: 10px; font-size: 13px; }
.intro-badge { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding: 12px 15px; background: white; border: 1px solid #e6ece7; border-radius: 12px; box-shadow: var(--shadow-card); }
.badge-icon { width: 28px; height: 28px; display: grid; place-items: center; color: var(--green-700); background: var(--green-50); border-radius: 9px; }
.intro-badge b, .intro-badge small { display: block; }
.intro-badge b { color: #496052; font-size: 10px; }
.intro-badge small { margin-top: 2px; color: #929c94; font-size: 9px; }
.calculator-panel { padding: 23px 25px 0; background: white; border: 1px solid #e4ebe5; border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.calculator-panel-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; }
.calculator-panel-header .panel-title { gap: 12px; }
.calculator-panel-header .panel-title h2 { margin: 0; color: #273a2e; font-size: 16px; letter-spacing: -.4px; }
.calculator-panel-header .panel-title p { margin: 4px 0 0; color: #8c9790; font-size: 10px; }
.subject-count { padding: 6px 10px; color: #66836e; background: #f0f6f1; border-radius: 20px; font-size: 9px; font-weight: 700; }
.field-guide { display: flex; justify-content: space-between; padding: 9px 13px; color: #8c9890; background: #f8faf8; border: 1px solid #edf1ed; border-radius: 8px 8px 0 0; font-size: 8px; font-weight: 700; letter-spacing: .8px; }
.subjects-list { display: grid; gap: 10px; }
.subject-entry { min-width: 0; margin: 0; padding: 15px 12px 13px; border: 1px solid #edf0ed; border-top: 0; }
.subject-entry:last-child { border-radius: 0 0 8px 8px; }
.subject-entry-top { display: flex; align-items: center; justify-content: space-between; margin: -4px 0 11px; }
.subject-index { color: #7d8a81; font-size: 9px; font-weight: 600; }
.subject-index b { color: var(--green-700); }
.remove-subject { display: inline-flex; align-items: center; gap: 5px; padding: 3px 0; color: #8d7777; background: transparent; border: 0; cursor: pointer; font-size: 9px; }
.remove-subject span { font-size: 16px; line-height: 1; }
.remove-subject:not(:disabled):hover { color: var(--red); }
.remove-subject:disabled { opacity: .42; cursor: not-allowed; }
.subject-fields { display: grid; grid-template-columns: 1.2fr .85fr 1.1fr .78fr .88fr .88fr; gap: 10px; }
.subject-field { min-width: 0; display: grid; gap: 5px; color: #738077; font-size: 9px; font-weight: 600; }
.subject-field input { width: 100%; height: 38px; padding: 0 10px; color: #34443a; background: #fff; border: 1px solid #e3e9e4; border-radius: 7px; font-size: 10px; transition: border-color .18s ease, box-shadow .18s ease; }
.subject-field input::placeholder { color: #b0b9b2; }
.subject-field input:focus { border-color: #8cb298; box-shadow: 0 0 0 3px rgba(99, 145, 112, .1); outline: 0; }
.form-actions { display: flex; align-items: center; gap: 12px; padding: 14px 1px 17px; }
.button-add { min-height: 34px; padding: 0 11px; color: var(--green-700); background: #f2f7f3; border: 1px solid #e4ede5; border-radius: 8px; font-size: 10px; }
.button-add span { font-size: 18px; font-weight: 400; }
.button-add:hover { background: #eaf3ec; border-color: #d4e5d8; }
.form-hint { color: #9aa39c; font-size: 9px; }
.validation-message { margin: 0 0 12px; padding: 10px 12px; color: #8e4242; background: #fdf2f0; border: 1px solid #f3dedb; border-radius: 8px; font-size: 11px; }
.calculator-footer-actions { display: flex; align-items: center; gap: 11px; margin: 0 -25px; padding: 15px 25px; background: #fafbfa; border-top: 1px solid #edf1ed; border-radius: 0 0 var(--radius-md) var(--radius-md); }
.calculator-footer-actions .button { min-height: 40px; font-size: 11px; }
.button-reset { color: #748077; background: transparent; border-color: transparent; }
.button-reset:hover { color: var(--green-800); background: #eff5f0; }
.results-section { padding-top: 43px; scroll-margin-top: 95px; animation: rise-in .35s ease both; }
.results-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.results-heading .eyebrow { margin-bottom: 8px; }
.results-heading h2 { margin: 0; color: var(--green-950); font-size: 26px; letter-spacing: -1px; }
.results-status { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 4px; color: #849188; font-size: 9px; }
.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.summary-card { display: flex; flex-direction: column; min-height: 121px; padding: 16px 17px; background: white; border: 1px solid #e6ece7; border-radius: 13px; box-shadow: var(--shadow-card); }
.summary-label { color: #849087; font-size: 9px; font-weight: 600; }
.summary-card strong { margin-top: 8px; color: #2c4434; font-family: "Manrope", sans-serif; font-size: 23px; letter-spacing: -.8px; line-height: 1.2; }
.summary-highlight strong { color: var(--green-800); }
.summary-detail { margin-top: auto; padding-top: 7px; color: #a0aaa2; font-size: 9px; }
.summary-highlight { background: #f2f7f3; border-color: #dce9df; }
.grade-note { display: flex; gap: 12px; margin-top: 14px; padding: 16px; background: #fffaf0; border: 1px solid #f1e7d3; border-radius: 12px; }
.grade-note-icon { width: 21px; height: 21px; flex: 0 0 21px; display: grid; place-items: center; color: #9b712c; border: 1px solid #e7d6b5; border-radius: 50%; font-size: 11px; font-weight: 700; }
.grade-note strong { color: #705321; font-size: 11px; }
.grade-note p { margin: 4px 0 0; color: #8d7a59; font-size: 10px; line-height: 1.65; }
.grade-note a { color: #735319; text-decoration: underline; text-underline-offset: 2px; }
.grading-reference { margin-top: 10px; padding: 13px 16px; background: #fff; border: 1px solid #e6ece7; border-radius: 11px; }
.grading-reference summary { color: #536c5a; cursor: pointer; font-size: 10px; font-weight: 700; }
.grading-reference summary::marker { color: #6d9778; }
.grading-table-wrap { overflow-x: auto; margin-top: 12px; }
.grading-table { width: 100%; border-collapse: collapse; text-align: left; }
.grading-table th, .grading-table td { padding: 8px 10px; border-bottom: 1px solid #edf1ed; font-size: 10px; }
.grading-table th { color: #7d8a81; background: #f8faf8; font-size: 9px; }
.grading-table td { color: #54645a; }
.grading-table tr:last-child td { border-bottom: 0; }
.grading-table td:nth-child(2), .grading-table td:nth-child(3) { font-weight: 700; }
.grading-table td:nth-child(2) { color: var(--green-800); }
.subject-results { margin-top: 19px; padding: 20px; background: white; border: 1px solid #e6ece7; border-radius: 14px; box-shadow: var(--shadow-card); }
.subject-results-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.subject-results-heading h3 { margin: 0; color: #304337; font-size: 14px; }
.subject-results-heading p { margin: 4px 0 0; color: #89948c; font-size: 10px; }
.subject-results-heading > span { color: #8a958d; font-size: 9px; }
.semester-group + .semester-group { margin-top: 17px; }
.semester-group h4 { margin: 0 0 7px; color: #55705d; font-family: "Manrope", sans-serif; font-size: 10px; }
.results-table { width: 100%; border-collapse: collapse; text-align: left; }
.results-table th { padding: 9px 10px; color: #8b968e; background: #f8faf8; border-block: 1px solid #edf1ed; font-size: 8px; font-weight: 700; letter-spacing: .35px; }
.results-table td { padding: 11px 10px; color: #536158; border-bottom: 1px solid #f0f2f0; font-size: 10px; }
.results-table tr:last-child td { border-bottom: 0; }
.results-table td:first-child { color: #35493a; font-weight: 700; }
.calculator-disclaimer { margin: 12px 4px 0; color: #97a098; font-size: 9px; }
.calc-bottom-note { display: flex; justify-content: center; gap: 7px; margin-top: 26px; color: #8b978e; font-size: 10px; }
.calc-bottom-note span { color: #84a98c; }
.compact-footer .footer-bottom { min-height: 52px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

@keyframes rise-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr .9fr; gap: 12px; }
  .hero h1 { font-size: clamp(34px, 4vw, 48px); letter-spacing: -2px; }
  .hero-art { transform: scale(.9); margin-inline: -15px; }
  .subject-fields { grid-template-columns: repeat(3, 1fr); }
  .field-guide span:last-child { margin-right: 32%; }
  .footer-main { gap: 30px; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 38px, 520px); }
  .header-inner { height: 66px; }
  .brand-mark { width: 36px; height: 36px; }
  .menu-toggle { width: 40px; height: 40px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 0; background: white; border: 1px solid #e3eae4; border-radius: 10px; cursor: pointer; }
  .menu-toggle span { width: 17px; height: 1.5px; background: var(--green-800); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .site-nav { position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 19px 16px; background: rgba(255,255,255,.98); border-bottom: 1px solid #e4ebe5; box-shadow: 0 13px 22px rgba(29, 55, 39, .08); }
  .site-nav.is-open { display: flex; }
  .nav-link { padding: 12px 4px; border-bottom: 1px solid #f0f3f0; }
  .nav-official { justify-content: center; margin-top: 11px; }
  .hero { padding: 51px 0 46px; }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero-copy { padding-left: 0; }
  .hero h1 { font-size: clamp(42px, 11vw, 57px); letter-spacing: -2.5px; }
  .hero-description { max-width: 480px; margin: 16px 0 20px; font-size: 14px; }
  .hero-actions { gap: 9px; }
  .button { min-height: 43px; padding-inline: 15px; font-size: 11px; }
  .hero-note { margin-top: 19px; }
  .hero-art { height: 320px; margin: -2px -20px -10px; transform: scale(.84); }
  .planner-card { width: 320px; max-width: 80%; }
  .tag-deadline { top: 38px; left: 2%; }.tag-focus { right: 1%; bottom: 33px; }
  .orbit-two { width: 330px; height: 330px; }
  .section-pad { padding: 59px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 17px; }
  .section-heading h2 { font-size: 33px; }
  .section-description { font-size: 12px; }
  .deadline-panel { margin-top: 23px; }
  .panel-topline { padding: 16px; }
  .panel-icon { width: 38px; height: 38px; }
  .panel-title h3 { font-size: 13px; }
  .panel-title p { font-size: 9px; }
  .live-label { font-size: 8px; }
  .empty-state { min-height: 247px; }
  .empty-state p { max-width: 340px; }
  .deadline-controls { grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; }
  .deadline-search { grid-column: 1 / -1; }
  .deadline-filter select, .search-input-wrap { height: 42px; }
  .schedule-summary { align-items: flex-start; padding: 16px 14px 12px; }
  .schedule-summary h4 { font-size: 12px; }
  .schedule-summary p { max-width: 250px; font-size: 9px; }
  .schedule-count { padding: 5px 8px; font-size: 8px; }
  .schedule-table-wrap { overflow: visible; padding: 0 12px 10px; }
  .schedule-table { display: block; }
  .schedule-table thead { display: none; }
  .schedule-table tbody { display: grid; gap: 8px; }
  .schedule-table tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; padding: 10px 11px; border: 1px solid #edf1ed; border-radius: 9px; }
  .schedule-table td { display: flex; min-width: 0; align-items: flex-start; justify-content: space-between; gap: 6px; padding: 7px 0; border: 0; font-size: 10px; text-align: right; }
  .schedule-table td::before { content: attr(data-label); color: #929c94; font-size: 8px; text-align: left; }
  .schedule-table td:nth-child(1), .schedule-table td:nth-child(2) { display: block; grid-column: 1 / -1; text-align: left; }
  .schedule-table td:nth-child(1)::before, .schedule-table td:nth-child(2)::before { display: block; margin-bottom: 5px; }
  .schedule-table td:nth-child(2) { padding-top: 4px; }
  .schedule-table td:nth-child(3) { display: grid; grid-column: 1 / -1; grid-template-columns: max-content 1fr max-content; align-items: center; gap: 6px; text-align: left; }
  .schedule-table td:nth-child(3)::before { grid-column: 1; }
  .schedule-table td:nth-child(3) time { grid-column: 2; justify-self: start; }
  .schedule-table td:nth-child(3) .deadline-status { grid-column: 3; justify-self: end; margin: 0; }
  .schedule-table td:nth-child(4) { display: flex; grid-column: 1 / -1; align-items: center; justify-content: space-between; gap: 6px; text-align: right; }
  .schedule-table time { font-size: 9px; }
  .deadline-status { margin-left: 0; }
  .course-reference { margin: 0 12px 12px; padding: 10px; }
  .schedule-empty { min-height: 205px; }
  .tools-heading { gap: 11px; margin-bottom: 22px; }
  .tools-heading .section-description { max-width: 450px; }
  .feature-grid { grid-template-columns: 1fr; gap: 11px; }
  .feature-card { min-height: 235px; padding: 20px; }
  .feature-label { margin-top: 14px; }
  .feature-card p { max-width: 340px; }
  .closing-cta { padding: 38px 0; }
  .closing-inner { align-items: flex-start; flex-direction: column; gap: 20px; }
  .closing-cta h2 { font-size: 25px; }
  .closing-spark { top: 15px; right: 7%; font-size: 43px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 25px 18px; padding-top: 31px; padding-bottom: 25px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-disclaimer { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 6px; padding-block: 12px; font-size: 8px; }

  .calculator-page { padding-top: 19px; }
  .breadcrumbs { margin-bottom: 17px; }
  .calculator-intro { align-items: flex-start; flex-direction: column; gap: 15px; margin-bottom: 18px; }
  .calculator-intro h1 { font-size: 36px; letter-spacing: -1.7px; }
  .calculator-intro .section-description { font-size: 12px; }
  .intro-badge { padding: 9px 11px; }
  .calculator-panel { padding: 16px 14px 0; }
  .calculator-panel-header { align-items: flex-start; gap: 10px; }
  .calculator-panel-header .panel-title { gap: 9px; }
  .calculator-panel-header .panel-title p { max-width: 220px; line-height: 1.45; }
  .calculator-panel-header .panel-icon { width: 36px; height: 36px; }
  .subject-count { flex: 0 0 auto; }
  .field-guide { display: none; }
  .subjects-list { gap: 10px; }
  .subject-entry { padding: 13px 11px 12px; border: 1px solid #e9eeea; border-radius: 10px !important; }
  .subject-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .subject-field { font-size: 9px; }
  .subject-field input { height: 40px; font-size: 11px; }
  .subject-field:first-child, .subject-field:nth-child(2), .subject-field:nth-child(3) { grid-column: 1 / -1; }
  .form-actions { align-items: flex-start; flex-direction: column; gap: 7px; padding-bottom: 14px; }
  .calculator-footer-actions { margin-inline: -14px; padding-inline: 14px; }
  .calculator-footer-actions .button { min-height: 39px; }
  .results-section { padding-top: 34px; }
  .results-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .results-heading h2 { font-size: 22px; }
  .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .summary-card { min-height: 106px; padding: 13px; }
  .summary-card strong { font-size: 21px; }
  .subject-results { padding: 15px 12px; }
  .results-table, .results-table tbody, .results-table tr, .results-table td { display: block; width: 100%; }
  .results-table thead { display: none; }
  .results-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; padding: 8px 0; border-bottom: 1px solid #edf1ed; }
  .results-table tr:last-child { border-bottom: 0; }
  .results-table td { display: flex; justify-content: space-between; gap: 7px; padding: 5px 2px; border: 0; font-size: 9px; text-align: right; }
  .results-table td::before { content: attr(data-label); color: #89948c; font-size: 8px; text-align: left; }
  .results-table td:first-child { grid-column: 1 / -1; padding-bottom: 7px; font-size: 11px; text-align: left; }
  .results-table td:first-child::before { content: "Subject"; }
}
@media (max-width: 380px) {
  .container { width: calc(100% - 30px); }
  .hero-actions .button { padding-inline: 12px; }
  .hero-art { transform: scale(.75); margin-inline: -38px; }
  .live-label { padding-inline: 7px; }
  .calculator-intro h1 { font-size: 32px; }
  .subject-results-heading { align-items: flex-start; gap: 8px; }
}
