body.stationery-page {
  --stationery-ink: #183b62;
  --stationery-muted: #61758d;
  --stationery-accent: #e9984e;
  --stationery-accent-soft: #fff1df;
  --stationery-surface: rgba(255, 255, 255, 0.94);
  --stationery-line: rgba(24, 59, 98, 0.12);
  background:
    radial-gradient(circle at 8% 12%, rgba(233, 152, 78, 0.16), transparent 24%),
    radial-gradient(circle at 92% 18%, rgba(24, 59, 98, 0.1), transparent 25%),
    linear-gradient(180deg, #fbf8f1 0%, #f4efe6 100%);
  color: var(--stationery-ink);
  font-family: "Manrope", sans-serif;
}

.stationery-main {
  overflow-x: clip;
  padding-bottom: 76px;
}

.stationery-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.stationery-hero {
  padding: 58px 0 28px;
}

.stationery-hero-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 54px);
  border-radius: 30px;
  background: linear-gradient(135deg, #173b63 0%, #28618c 100%);
  box-shadow: 0 28px 64px rgba(20, 49, 81, 0.18);
  color: #fff;
}

.stationery-hero-panel::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -130px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 152, 78, 0.4), transparent 68%);
}

.stationery-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.stationery-eyebrow,
.stationery-section-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 8px 13px;
  border-radius: 10px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stationery-eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #ffe1bd;
}

.stationery-hero h1,
.stationery-section h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: -0.03em;
}

.stationery-hero h1 {
  margin: 18px 0 12px;
  color: #fff;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.92;
}

.stationery-hero p {
  max-width: 65ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.04rem;
  line-height: 1.8;
}

.stationery-hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.stationery-hero-stats span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.stationery-hero-stats i { color: #ffd09d; }

.stationery-section { padding-top: 34px; }

.stationery-section-head { margin-bottom: 20px; }

.stationery-section-kicker {
  background: rgba(233, 152, 78, 0.14);
  color: #b36224;
}

.stationery-section h2 {
  margin: 14px 0 8px;
  color: var(--stationery-ink);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1;
}

.stationery-section-head p {
  max-width: 68ch;
  margin: 0;
  color: var(--stationery-muted);
  line-height: 1.75;
}

.stationery-class-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.stationery-class-list li {
  padding: 10px 14px;
  border: 1px solid var(--stationery-line);
  border-radius: 10px;
  background: var(--stationery-surface);
  color: var(--stationery-ink);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(24, 59, 98, 0.05);
}

.stationery-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--stationery-line);
  border-radius: 18px;
  background: var(--stationery-surface);
  box-shadow: 0 18px 40px rgba(24, 59, 98, 0.08);
}

.stationery-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.stationery-table th,
.stationery-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--stationery-line);
  text-align: left;
  vertical-align: top;
}

.stationery-table th {
  background: #173b63;
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stationery-table td { color: #405a75; line-height: 1.55; }
.stationery-table td:first-child { width: 8%; color: var(--stationery-accent); font-weight: 800; }
.stationery-table td:nth-child(2) { width: 38%; color: var(--stationery-ink); font-weight: 800; }
.stationery-table tr:last-child td { border-bottom: 0; }
.stationery-table tbody tr:hover { background: #fff9f1; }

.stationery-note {
  margin: 14px 0 0;
  color: var(--stationery-muted);
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .stationery-hero { padding-top: 30px; }
  .stationery-hero-panel { border-radius: 22px; }
  .stationery-table th,
  .stationery-table td { padding: 12px 13px; }
}

.stationery-download-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid var(--stationery-line);
  border-radius: 16px;
  background: var(--stationery-surface);
  box-shadow: 0 12px 28px rgba(24, 59, 98, 0.06);
}

.stationery-download-bar strong,
.stationery-download-bar span { display: block; }
.stationery-download-bar strong { color: var(--stationery-ink); }
.stationery-download-bar span { margin-top: 3px; color: var(--stationery-muted); font-size: 0.86rem; }
.stationery-download-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.stationery-icon-button,
.stationery-download-button,
.stationery-view-button { border: 0; cursor: pointer; font: inherit; font-weight: 800; }
.stationery-icon-button,
.stationery-download-button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 10px; }
.stationery-icon-button { background: var(--stationery-accent-soft); color: #a65b21; }
.stationery-download-button { background: var(--stationery-ink); color: #fff; }
.stationery-icon-button:hover,
.stationery-download-button:hover,
.stationery-view-button:hover { transform: translateY(-1px); }

.stationery-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.stationery-tab { padding: 10px 14px; border: 1px solid var(--stationery-line); border-radius: 10px; background: #fff; color: var(--stationery-ink); cursor: pointer; font: inherit; font-weight: 700; }
.stationery-tab[aria-selected="true"] { border-color: var(--stationery-ink); background: var(--stationery-ink); color: #fff; }
.stationery-class-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.stationery-class-option { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 11px 12px; border: 1px solid var(--stationery-line); border-radius: 10px; background: #fff; color: var(--stationery-ink); font-weight: 700; }
.stationery-class-option input { accent-color: var(--stationery-accent); flex: 0 0 auto; }
.stationery-selected-class { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 20px; border: 1px solid rgba(233, 152, 78, 0.28); border-radius: 16px; background: linear-gradient(135deg, #fff8ed, #fff); box-shadow: 0 14px 30px rgba(24, 59, 98, 0.06); }
.stationery-selected-class-icon { display: grid; flex: 0 0 52px; width: 52px; height: 52px; place-items: center; border-radius: 14px; background: #173b63; color: #ffd09d; font-size: 1.2rem; }
.stationery-selected-label { display: block; color: #b36224; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.stationery-selected-class h3 { margin: 4px 0 4px; color: var(--stationery-ink); font-family: "Cormorant Garamond", Georgia, serif; font-size: 2rem; line-height: 1; }
.stationery-selected-class p { margin: 0; color: var(--stationery-muted); line-height: 1.55; }
.stationery-selected-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; color: #48627d; font-size: 0.82rem; font-weight: 700; }
.stationery-selected-meta i { margin-right: 4px; color: var(--stationery-accent); }

.stationery-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 18px; }
.stationery-feature-card.is-hidden { display: none; }
.stationery-feature-card { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--stationery-line); border-radius: 16px; background: var(--stationery-surface); }
.stationery-feature-icon { display: grid; flex: 0 0 48px; width: 48px; height: 48px; place-items: center; border-radius: 12px; background: var(--stationery-accent-soft); color: #b36224; font-size: 1.2rem; }
.stationery-feature-card h3 { margin: 0 0 3px; color: var(--stationery-ink); font-size: 1.08rem; }
.stationery-feature-card p { margin: 0 0 9px; color: var(--stationery-muted); font-size: 0.88rem; }
.stationery-view-button { padding: 0; background: transparent; color: #b36224; font-size: 0.88rem; }
.stationery-view-button i { margin-right: 5px; }
.stationery-lightbox { position: fixed; inset: 0; z-index: 2000; display: none; place-items: center; padding: 20px; background: rgba(15, 34, 55, 0.78); }
.stationery-lightbox.is-open { display: grid; }
.stationery-lightbox-dialog { position: relative; width: min(620px, 100%); max-height: 90vh; overflow: auto; padding: 22px; border-radius: 18px; background: #fff; text-align: center; }
.stationery-lightbox-dialog h2 { margin: 0 42px 16px 0; color: var(--stationery-ink); font-family: "Cormorant Garamond", Georgia, serif; font-size: 2rem; text-align: left; }
.stationery-lightbox-dialog img { display: none; max-width: 100%; max-height: 68vh; margin: 0 auto; object-fit: contain; }
.stationery-lightbox-dialog img.is-loaded { display: block; }
.stationery-lightbox-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--stationery-accent-soft); color: #a65b21; cursor: pointer; }
.stationery-lightbox-dialog p { color: var(--stationery-muted); line-height: 1.6; }

@media (max-width: 700px) {
  .stationery-download-bar { align-items: stretch; flex-direction: column; }
  .stationery-download-actions > * { flex: 1 1 auto; justify-content: center; }
  .stationery-class-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stationery-feature-grid { grid-template-columns: 1fr; }
  .stationery-selected-class { align-items: flex-start; padding: 16px; }
  .stationery-selected-class h3 { font-size: 1.8rem; }
}

@media (max-width: 700px) {
  .stationery-shell { width: min(100% - 1.25rem, 1180px); }
  .stationery-hero h1 { font-size: clamp(2.75rem, 12vw, 3.5rem); }
  .stationery-table { min-width: 0; }
  .stationery-table thead { display: none; }
  .stationery-table,
  .stationery-table tbody,
  .stationery-table tr,
  .stationery-table td { display: block; width: 100%; }
  .stationery-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; padding: 16px 15px; border-bottom: 1px solid var(--stationery-line); }
  .stationery-table td { display: block; width: auto; padding: 0; border: 0; }
  .stationery-table td:first-child { grid-column: 1 / -1; color: var(--stationery-accent); font-size: 0.78rem; }
  .stationery-table td:nth-child(2) { grid-column: 1 / -1; font-size: 0.98rem; line-height: 1.45; }
  .stationery-table td:nth-child(3)::before { content: "Type: "; font-weight: 800; color: var(--stationery-ink); }
  .stationery-table td:nth-child(4)::before { content: "Quantity: "; font-weight: 800; color: var(--stationery-ink); }
  .stationery-table--textbooks td:nth-child(3)::before { content: "Quantity: "; font-weight: 800; color: var(--stationery-ink); }
  .stationery-table--textbooks td:nth-child(3) { grid-column: 1 / -1; }
}

@media (max-width: 380px) {
  .stationery-class-options { grid-template-columns: 1fr; }
}

@media print {
  body.stationery-page > *:not(.stationery-main):not(.stationery-print-root) { display: none !important; }
  .stationery-main { padding: 0; }
  .stationery-main { display: none !important; }
  .stationery-print-root { display: block !important; }
  .stationery-hero, .stationery-class-section, .stationery-feature-grid, .stationery-note { display: none !important; }
  .stationery-section { padding: 0; page-break-inside: avoid; }
  .stationery-section-head { margin: 0 0 10px; }
  .stationery-section h2 { font-size: 24px; }
  .stationery-table-wrap { overflow: visible; box-shadow: none; }
  .stationery-table { min-width: 0; font-size: 10px; }
  .stationery-table th, .stationery-table td { padding: 6px 8px; }
  .stationery-print-page { page-break-before: always; }
}

.stationery-print-root { display: none; }

@media print {
  .stationery-print-root { display: block !important; }
}

/* Reference dashboard treatment: calm resource workspace with compact controls. */
body.stationery-page {
  --stationery-ink: #173653;
  --stationery-muted: #6b7a88;
  --stationery-accent: #bd7027;
  --stationery-accent-soft: #fff0dc;
  --stationery-line: #e0e5e9;
  background: linear-gradient(120deg, #fff2d9 0%, #f8f7f1 42%, #e8f0f5 100%);
  margin: 0;
}

.stationery-main {
  width: 100%;
  padding: 54px 0 96px;
}

.stationery-shell {
  width: min(1090px, calc(100% - 2rem));
  margin-right: auto;
  margin-left: auto;
}

.stationery-hero {
  padding: 0 0 34px;
}

.stationery-hero-panel {
  overflow: visible;
  padding: 0;
  background: transparent;
  box-shadow: none;
  color: var(--stationery-ink);
}

.stationery-hero-panel::after { display: none; }
.stationery-hero-copy { max-width: 920px; }
.stationery-eyebrow { background: transparent; padding: 0; color: var(--stationery-accent); font-size: 0.82rem; letter-spacing: 0.12em; }
.stationery-hero h1 { margin: 12px 0 10px; color: var(--stationery-ink); font-size: clamp(2.8rem, 6vw, 4.5rem); line-height: 0.98; letter-spacing: -0.045em; }
.stationery-hero p { max-width: 760px; color: var(--stationery-muted); font-size: 1.08rem; line-height: 1.65; }
.stationery-hero-stats { display: none; }
.stationery-hero-copy::after {
  content: "14 classes  /  Class-specific stationery  /  Ready-to-export PDF";
  display: block;
  width: fit-content;
  margin-top: 22px;
  padding: 11px 16px;
  border: 1px solid rgba(23, 54, 83, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.58);
  color: #6b7a88;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.stationery-class-section { padding-top: 0; }
.stationery-section-head { margin-bottom: 18px; }
.stationery-class-section > .stationery-shell { padding: 0; }
.stationery-section-kicker { background: var(--stationery-accent-soft); color: var(--stationery-accent); font-size: 0.72rem; }
.stationery-section h2 { color: var(--stationery-ink); font-family: "Manrope", sans-serif; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; }
.stationery-section-head p { color: var(--stationery-muted); font-size: 0.94rem; line-height: 1.6; }

.stationery-download-bar {
  margin: 18px 0 26px;
  padding: 24px 28px;
  border: 1px solid rgba(224, 229, 233, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px rgba(34, 61, 78, 0.08);
}
.stationery-download-bar strong { font-size: 1.15rem; }
.stationery-download-bar span { font-size: 0.82rem; }
.stationery-icon-button, .stationery-download-button { min-height: 50px; padding: 0 20px; border-radius: 14px; }
.stationery-icon-button { background: var(--stationery-accent-soft); color: var(--stationery-accent); }
.stationery-download-button { background: #e6edf2; color: #8797a5; }
.stationery-download-button:not(:disabled) { background: var(--stationery-ink); color: #fff; }

.stationery-tabs {
  flex-wrap: nowrap;
  overflow-x: auto;
  margin: 0 -4px 28px;
  padding: 0 4px 12px;
  scrollbar-color: #bdcbd5 transparent;
  scrollbar-width: thin;
}
.stationery-tab { flex: 0 0 auto; min-height: 58px; padding: 0 26px; border-radius: 18px; border-color: #e1e6e9; font-size: 1rem; font-weight: 800; box-shadow: 0 3px 8px rgba(33, 60, 76, 0.03); }
.stationery-tab[aria-selected="true"] { background: var(--stationery-ink); border-color: var(--stationery-ink); box-shadow: 0 10px 20px rgba(23, 54, 83, 0.16); }

.stationery-class-options { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stationery-class-option { border-radius: 12px; }
.stationery-selected-class { margin-top: 22px; padding: 24px; border-radius: 22px; background: rgba(255, 255, 255, 0.94); box-shadow: 0 18px 40px rgba(34, 61, 78, 0.08); }
.stationery-selected-class-icon { border-radius: 16px; background: var(--stationery-ink); }
.stationery-selected-class h3 { font-family: "Manrope", sans-serif; font-size: 1.65rem; font-weight: 800; letter-spacing: -0.03em; }

.stationery-class-section > .stationery-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 18px 22px;
  align-items: start;
}
.stationery-class-section .stationery-section-head,
.stationery-class-section .stationery-download-bar,
.stationery-class-section .stationery-tabs { grid-column: 1 / -1; }
.stationery-class-section .stationery-section-head { margin-bottom: 0; }
.stationery-class-section .stationery-download-bar { margin: 0; }
.stationery-class-section .stationery-class-options { grid-column: 1 / -1; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 0; padding: 18px; border: 1px solid rgba(224, 229, 233, 0.9); border-radius: 22px; background: rgba(255, 255, 255, 0.7); }
.stationery-download-note { grid-column: 1 / -1; margin: -4px 0 0; color: var(--stationery-muted); font-size: 0.86rem; line-height: 1.5; }
.stationery-download-note strong { color: var(--stationery-ink); }
.stationery-class-section .stationery-selected-class { grid-column: 1 / -1; margin-top: 0; min-height: 100%; }
.stationery-section:not(.stationery-class-section) { position: relative; }
.stationery-section:not(.stationery-class-section)::before { content: none; }
.stationery-section:not(.stationery-class-section) .stationery-section-head h2 { max-width: 70%; }
.stationery-feature-card { background: #f9fbfc; }

.stationery-hero > .stationery-shell,
.stationery-section:not(.stationery-class-section) > .stationery-shell {
  box-sizing: border-box;
}

.stationery-hero > .stationery-shell,
.stationery-section:not(.stationery-class-section) > .stationery-shell {
  padding-right: 0;
  padding-left: 0;
}

.stationery-main > .stationery-section {
  width: 100%;
  box-sizing: border-box;
}

.stationery-main .stationery-table-wrap,
.stationery-main .stationery-download-bar,
.stationery-main .stationery-selected-class,
.stationery-main .stationery-class-options {
  box-sizing: border-box;
}

.stationery-section:not(.stationery-class-section) { margin-top: 30px; padding: 38px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.stationery-section:not(.stationery-class-section) .stationery-section-head { margin-bottom: 26px; }
.stationery-section:not(.stationery-class-section) .stationery-section-kicker { margin-bottom: 2px; }
.stationery-section:not(.stationery-class-section) .stationery-section-head h2 { margin-top: 10px; margin-bottom: 12px; }
.stationery-table-wrap { border-radius: 16px; box-shadow: none; }
.stationery-table caption { padding: 14px 18px; color: var(--stationery-muted); font-size: 0.84rem; font-weight: 700; text-align: left; caption-side: top; }
.stationery-table td { padding: 14px 18px; }
.stationery-table th { background: var(--stationery-ink); }
.stationery-feature-card { border-radius: 16px; }

@media (max-width: 700px) {
  .stationery-main { padding-top: 32px; }
  .stationery-download-bar { padding: 18px; border-radius: 18px; }
  .stationery-class-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stationery-section:not(.stationery-class-section) { margin-top: 24px; padding: 26px 18px; border-radius: 18px; }
  .stationery-class-section > .stationery-shell { display: block; }
  .stationery-class-section .stationery-section-head,
  .stationery-class-section .stationery-download-bar,
  .stationery-class-section .stationery-tabs,
  .stationery-class-section .stationery-class-options,
  .stationery-class-section .stationery-selected-class { margin-bottom: 16px; }
  .stationery-class-section .stationery-class-options { padding: 14px; }
  .stationery-section:not(.stationery-class-section)::before { top: 18px; right: 14px; }
  .stationery-section:not(.stationery-class-section) .stationery-section-head h2 { max-width: 68%; }
  .stationery-section:not(.stationery-class-section) .stationery-section-head { margin-bottom: 20px; }
  .stationery-section:not(.stationery-class-section) > .stationery-shell { width: 100%; }
  .stationery-class-section .stationery-class-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 380px) {
  .stationery-class-section .stationery-class-options { grid-template-columns: 1fr; }
  .stationery-tab { padding: 0 20px; }
}
