:root {
  --bg: #f8f4ec;
  --bg-solid: #f8f4ec;
  --panel: rgba(255, 255, 255, 0.9);
  --text: #172033;
  --muted: #5f6d80;
  --line: rgba(126, 145, 171, 0.2);
  --accent: #e27b20;
  --accent-deep: #c85a1f;
  --shadow: 0 18px 50px rgba(151, 165, 188, 0.16);
  --ok-bg: rgba(49, 157, 101, 0.12);
  --ok-line: rgba(49, 157, 101, 0.28);
  --bad-bg: rgba(220, 93, 93, 0.1);
  --bad-line: rgba(220, 93, 93, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(226, 123, 32, 0.14), transparent 30%),
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 25%),
    linear-gradient(180deg, #fffaf3 0%, #f8f4ec 54%, #f3ecdf 100%);
  transition: background 220ms ease, color 220ms ease;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 32px));
}

.site-header {
  padding: 20px 0 8px;
  position: sticky;
  top: 0;
  z-index: 40;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px 20px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 246, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.site-header.is-scrolled .nav-wrap {
  padding-top: 12px;
  padding-bottom: 12px;
  border-radius: 22px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
}

.floating-contact:hover,
.btn:hover,
.content-card:hover,
.mini-card:hover,
.testimonial-card:hover,
.pricing-card:hover {
  transform: translateY(-2px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #f6b052);
  color: #fffaf5;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand small,
.site-nav a,
.lead,
.content-card p,
.site-footer p,
.form-note,
.card-note,
.notice-strip span {
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover {
  background: rgba(226, 123, 32, 0.08);
  color: var(--text);
}

.site-nav a.is-active {
  background: rgba(226, 123, 32, 0.1);
  color: var(--text);
  border: 1px solid rgba(226, 123, 32, 0.2);
}

.nav-highlight {
  color: #fff7ed;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.hero-section {
  padding: 42px 0 20px;
  position: relative;
  overflow: hidden;
}

.hero-grid,
.split-band,
.split-contact,
.footer-grid {
  display: grid;
  gap: 22px;
}

.hero-grid {
  grid-template-columns: 1.2fr 0.85fr;
  align-items: center;
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.55;
  pointer-events: none;
}

.hero-section::before {
  width: 220px;
  height: 220px;
  right: 8%;
  top: 4%;
  background: rgba(245, 158, 11, 0.14);
  animation: floatOrb 7s ease-in-out infinite;
}

.hero-section::after {
  width: 150px;
  height: 150px;
  left: 4%;
  bottom: 8%;
  background: rgba(14, 165, 233, 0.12);
  animation: floatOrb 9s ease-in-out infinite reverse;
}

.eyebrow,
.card-kicker,
.section-heading span {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: #cc6816;
}

h1,
h2 {
  margin: 10px 0 14px;
  line-height: 1.02;
}

h1 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  color: #172033;
}

.section-heading h1,
.section-heading h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  max-width: 15ch;
  color: #172033;
}

.lead {
  max-width: 60ch;
  font-size: 1.06rem;
  line-height: 1.78;
}

.hindi-lead {
  font-size: 1rem;
}

.hero-actions,
.info-strip {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions,
.info-strip {
  margin-top: 22px;
}

.info-strip span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  animation: pulseGlow 4s ease-in-out infinite;
  color: #58677b;
}

.hero-card,
.content-card,
.mini-card,
.testimonial-card,
.pricing-card,
.faq-item,
.timeline-card,
.cta-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  border-radius: 24px;
  padding: 24px;
}

.hero-card ul {
  margin: 0;
  padding-left: 20px;
  line-height: 1.8;
}

.hero-card {
  animation: floatCard 6s ease-in-out infinite;
}

.hero-quote-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.hero-quote-strip span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: #7a4a09;
  box-shadow: 0 10px 26px rgba(245, 158, 11, 0.08);
}

.hero-admission-card {
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 254, 249, 0.96), rgba(255, 247, 235, 0.96));
}

.hero-admission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 18px;
}

.hero-admission-stat {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(245, 158, 11, 0.16);
  background: rgba(255, 255, 255, 0.82);
}

.hero-admission-stat strong,
.hero-admission-stat span {
  display: block;
}

.hero-admission-stat strong {
  font-size: 1.35rem;
  color: #ab5d16;
}

.hero-admission-stat span {
  margin-top: 6px;
  color: #746556;
}

.notice-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.notice-strip > div {
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.notice-strip strong {
  display: block;
  margin-bottom: 6px;
}

.offer-box {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(226, 123, 32, 0.18);
  background: rgba(255, 239, 214, 0.86);
}

.offer-box strong {
  display: block;
  margin-bottom: 6px;
}

.motivation-band {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 18px;
  align-items: stretch;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(245, 158, 11, 0.14);
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.1), transparent 28%),
    linear-gradient(135deg, rgba(255, 254, 250, 0.96), rgba(248, 244, 235, 0.96));
  box-shadow: var(--shadow);
}

.motivation-band h2 {
  max-width: 14ch;
}

.motivation-points {
  display: grid;
  gap: 12px;
}

.motivation-points p {
  margin: 0;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(31, 41, 55, 0.08);
  background: rgba(255, 255, 255, 0.78);
  color: #4b5563;
  line-height: 1.7;
}

.section {
  padding: 42px 0 24px;
}

.accent-band {
  padding-bottom: 56px;
}

.section-heading {
  margin-bottom: 20px;
}

.card-grid {
  display: grid;
  gap: 16px;
}

.three-up {
  grid-template-columns: repeat(3, 1fr);
}

.two-up {
  grid-template-columns: repeat(2, 1fr);
}

.four-up {
  grid-template-columns: repeat(4, 1fr);
}

.split-band,
.split-contact,
.footer-grid {
  grid-template-columns: repeat(2, 1fr);
}

.footer-grid {
  grid-template-columns: 1.1fr 0.9fr 0.8fr;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff9f2;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
  border: 1px solid var(--line);
}

.text-link {
  color: #c86412;
}

.course-highlight-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.course-highlight-strip div {
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.course-highlight-strip strong,
.course-highlight-strip span {
  display: block;
}

.course-highlight-strip strong {
  margin-bottom: 6px;
}

.featured-course-card {
  position: relative;
  overflow: hidden;
}

.featured-course-card::after {
  content: "";
  position: absolute;
  inset: auto -20px -28px auto;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18), transparent 66%);
  pointer-events: none;
}

.card-note {
  margin-top: 10px;
  font-size: 0.96rem;
}

.testimonial-card p {
  line-height: 1.8;
  color: var(--text);
  font-size: 1rem;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card span {
  margin-top: 4px;
  color: var(--muted);
}

.testimonial-card {
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 8px;
  right: 16px;
  font-size: 4rem;
  line-height: 1;
  color: rgba(245, 158, 11, 0.16);
  pointer-events: none;
}

.pricing-card {
  display: grid;
  gap: 14px;
}

.featured-plan {
  border-color: rgba(226, 123, 32, 0.24);
  background: linear-gradient(180deg, rgba(255, 241, 220, 0.95), rgba(255, 255, 255, 0.94));
}

.price-line {
  font-size: 2rem;
  font-weight: 700;
  color: #b85515;
}

.price-line small {
  display: block;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--muted);
}

.plan-points {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.icon-badge {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(226, 123, 32, 0.12);
  border: 1px solid rgba(226, 123, 32, 0.18);
  margin-bottom: 14px;
  color: #b95d16;
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item h3 {
  margin-top: 0;
}

.faq-item p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.8;
}

.verify-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin-top: 14px;
}

.verify-grid p {
  margin: 0;
}

.homepage-verification-card {
  margin-top: 4px;
}

.narrow-form {
  max-width: 560px;
  margin: 0 auto;
}

.admin-login-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: stretch;
}

.admin-intro-card,
.admin-login-card {
  min-height: 100%;
}

.admin-points {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.admin-points div {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.admin-points strong,
.admin-points span {
  display: block;
}

.admin-points span {
  margin-top: 5px;
  color: var(--muted);
}

.dashboard-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.feature-card h3,
.timeline-card h3,
.cta-panel h2 {
  margin-top: 0;
}

.timeline-card {
  display: grid;
  gap: 14px;
}

.timeline-step {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.timeline-step strong,
.timeline-step span {
  display: block;
}

.timeline-step span {
  color: var(--muted);
  line-height: 1.75;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.cta-panel p {
  color: var(--muted);
  max-width: 66ch;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.enrollment-benefits {
  margin-top: 16px;
}

.status-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-form select {
  min-width: 128px;
  margin: 0;
}

.btn-inline {
  padding: 10px 14px;
  white-space: nowrap;
}

.toggle-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.toggle-line input {
  width: auto;
  margin: 0;
}

.compact-toggle {
  white-space: nowrap;
}

.admission-note {
  margin-top: 16px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 10px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: var(--text);
}

td {
  color: var(--muted);
}

.table-cell-actions {
  min-width: 280px;
}

.table-cell-actions form + form {
  margin-top: 8px;
}

.table-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.instant-class-card {
  border-color: rgba(245, 158, 11, 0.28);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.1), rgba(20, 31, 49, 0.92));
}

.live-hero {
  padding-bottom: 8px;
}

.live-class-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 18px;
  align-items: start;
}

.live-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.live-meta-list span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.live-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  color: var(--text);
}

.live-status-live {
  background: rgba(125, 202, 153, 0.14);
  border-color: rgba(125, 202, 153, 0.28);
}

.live-status-scheduled {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.24);
}

.live-status-completed,
.live-status-cancelled {
  background: rgba(255, 255, 255, 0.06);
}

.live-embed-shell {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 28px;
  padding: 16px;
  box-shadow: var(--shadow);
  width: min(100vw - 24px, 1500px);
  margin: 0 auto;
}

.live-embed {
  width: 100%;
  min-height: calc(100vh - 180px);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(8, 15, 26, 0.82);
}

.live-room-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  width: min(100vw - 24px, 1500px);
  margin: 0 auto 12px;
}

.live-embed-shell:fullscreen,
.live-embed-shell:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  max-width: none;
  margin: 0;
  border-radius: 0;
  padding: 0;
  border: 0;
  background: #000;
}

.live-embed-shell:fullscreen .live-embed,
.live-embed-shell:-webkit-full-screen .live-embed {
  min-height: 100vh;
  height: 100vh;
  border-radius: 0;
}

.live-class-card {
  display: grid;
  gap: 12px;
}

.live-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

[data-copy-text] {
  margin-top: 8px;
}

.copy-feedback {
  margin-left: 8px;
  font-size: 0.92rem;
  color: #f7b54b;
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  padding: 14px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff9f2;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
  z-index: 20;
  animation: bounceSoft 3.4s ease-in-out infinite;
}

.timeline-step,
.admin-points div,
.notice-strip > div,
.live-meta-list span {
  background: rgba(19, 32, 51, 0.03);
}

.chatbot-toggle {
  position: fixed;
  right: 18px;
  bottom: 78px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  color: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  z-index: 21;
  cursor: pointer;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 146px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
  z-index: 21;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.chatbot-panel {
  position: fixed;
  right: 18px;
  bottom: 214px;
  width: min(360px, calc(100vw - 28px));
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 21;
}

.chatbot-panel.hidden-card {
  display: none;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
}

.chatbot-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.chatbot-head p,
.chatbot-head small,
.chatbot-msg p,
.chatbot-suggestions button {
  margin: 0;
}

.chatbot-close {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  padding: 8px 10px;
  cursor: pointer;
}

.chatbot-body {
  max-height: 330px;
  overflow-y: auto;
  padding: 14px;
  display: grid;
  gap: 10px;
}

.chatbot-msg {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 16px;
  line-height: 1.6;
}

.chatbot-msg.bot {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.chatbot-msg.user {
  margin-left: auto;
  background: rgba(255, 140, 66, 0.14);
  border: 1px solid rgba(255, 140, 66, 0.26);
}

.chatbot-sources ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.chatbot-sources a {
  color: #ffd6bb;
  text-decoration: underline;
}

.chatbot-suggestions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 14px 12px;
}

.chatbot-suggestions button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}

.chatbot-form {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--line);
}

.chatbot-form input {
  margin: 0;
}

.chatbot-form button {
  white-space: nowrap;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stack-form {
  display: grid;
  gap: 12px;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

input::placeholder,
textarea::placeholder {
  color: rgba(184, 199, 220, 0.75);
}

.site-footer {
  padding: 18px 0 42px;
}

.prose-card p {
  line-height: 1.8;
}

.hidden-card {
  display: none;
}

.verify-result.valid {
  display: block;
  background: var(--ok-bg);
  border-color: var(--ok-line);
}

.verify-result.invalid {
  display: block;
  background: var(--bad-bg);
  border-color: var(--bad-line);
}

.verification-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 24px;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.verification-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.12), transparent 32%),
    radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.1), transparent 28%);
  pointer-events: none;
}

.verification-hero-copy,
.verification-form,
.verification-result-card {
  position: relative;
  z-index: 1;
}

.verification-hero-copy h2,
.verification-result-card h2 {
  margin-bottom: 12px;
}

.verification-hero-copy p,
.verification-result-lead {
  max-width: 62ch;
  line-height: 1.75;
}

.verification-input-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.verification-form {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}

.verification-result-card {
  padding: 24px;
}

.verification-action-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.verification-action-block {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.verification-action-block > span {
  display: inline-block;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--muted);
}

.verification-actions {
  margin-top: 0;
}

.document-admin-grid,
.admin-form-grid {
  display: grid;
  gap: 18px;
}

.document-admin-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.75fr);
  align-items: start;
}

.admin-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-form-grid label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
}

.admin-form-span {
  grid-column: 1 / -1;
}

.document-subsection {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.marks-entry-table input,
.marks-entry-table textarea {
  min-width: 88px;
}

.document-preview-links {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.admin-photo-preview {
  margin-top: 18px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.admin-photo-preview img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  display: block;
}

.document-body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(16, 124, 109, 0.14), transparent 26%),
    radial-gradient(circle at right, rgba(185, 129, 46, 0.14), transparent 28%),
    linear-gradient(180deg, #f6f0e6 0%, #efe5d5 48%, #eadfce 100%);
  color: #241c17;
  font-family: "Manrope", "Segoe UI", sans-serif;
}

.document-shell {
  width: min(calc(var(--print-page-width, 1320px) + 28px), calc(100% - 20px));
  margin: 0 auto;
  padding: 22px 0 36px;
}

.student-document {
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(252, 247, 239, 0.98));
  border: 1.8mm solid rgba(128, 91, 34, 0.72);
  box-shadow: 0 28px 80px rgba(84, 58, 22, 0.12);
  padding: 14mm 15mm 12mm;
  border-radius: 20px;
}

.student-document::before {
  content: "";
  position: absolute;
  inset: 8mm;
  border: 0.55mm solid rgba(47, 34, 23, 0.2);
  pointer-events: none;
  border-radius: 14px;
}

.student-document::after {
  content: "";
  position: absolute;
  inset: 11mm;
  border: 0.3mm solid rgba(179, 141, 75, 0.58);
  border-radius: 10px;
  pointer-events: none;
}

.document-view-certificate .student-document {
  width: 100%;
  min-height: var(--print-page-height, 210mm);
  margin: 0 auto;
}

.document-view-marksheet .student-document {
  width: 100%;
  min-height: var(--print-page-height, 297mm);
  margin: 0 auto;
}

.doc-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(27, 126, 111, 0.1), transparent 26%),
    radial-gradient(circle at bottom right, rgba(202, 146, 54, 0.12), transparent 26%),
    linear-gradient(135deg, rgba(255,255,255,0.7), rgba(244,236,224,0.92));
  pointer-events: none;
}

.doc-header,
.certificate-stage,
.doc-footer,
.signature-strip,
.document-actions,
.marksheet-topbar,
.marksheet-footer-panels {
  display: flex;
  gap: 20px;
}

.doc-header,
.certificate-stage,
.doc-footer,
.marksheet-topbar,
.marksheet-footer-panels,
.document-actions {
  align-items: center;
  justify-content: space-between;
}

.doc-header,
.certificate-stage,
.doc-footer,
.marksheet-topbar,
.marksheet-meta-grid,
.marksheet-table-wrap,
.marksheet-note,
.marksheet-footer-panels {
  position: relative;
  z-index: 1;
}

.document-watermark {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  opacity: 0.17;
  filter: grayscale(0.02);
}

.document-watermark-logo {
  width: min(40%, 300px);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.document-watermark-seal {
  width: min(22%, 180px);
  right: 10mm;
  bottom: 14mm;
  opacity: 0.12;
}

.doc-header-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.institution-logo {
  width: 24mm;
  height: 24mm;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid rgba(42, 31, 24, 0.12);
  background: rgba(255,255,255,0.92);
  box-shadow: 0 14px 30px rgba(103, 78, 48, 0.08);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.institution-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.doc-kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.76rem;
  color: #0f766e;
  font-weight: 800;
}

.doc-header-copy h1,
.certificate-copy h2,
.marksheet-student-card h2 {
  margin: 0;
  color: #1d140f;
  font-family: "Cinzel", Georgia, serif;
}

.doc-header-copy h1 {
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255, 248, 225, 0.82), 0 2px 8px rgba(88, 59, 19, 0.06);
}

.doc-header-copy p {
  margin: 8px 0 0;
  color: #5f4a3b;
  max-width: 760px;
  line-height: 1.6;
  font-size: 0.96rem;
}

.doc-header-meta {
  min-width: 56mm;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(245,239,229,0.92));
  border: 1px solid rgba(42, 31, 24, 0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
  display: grid;
  gap: 4px;
}

.doc-header-meta span {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.66rem;
  color: #6d5a4d;
}

.doc-header-meta strong {
  color: #17120f;
  font-size: 0.92rem;
}

.doc-corner-badge {
  position: absolute;
  right: 12mm;
  top: 11mm;
  width: 28mm;
  height: 28mm;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fffbea, #efc85f 62%, #b57f17 100%);
  color: #fffef9;
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: 0 18px 36px rgba(151, 109, 31, 0.34);
  border: 3px solid rgba(255, 249, 226, 0.78);
  z-index: 1;
}

.doc-corner-badge span {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(110, 74, 8, 0.28);
}

.doc-corner-badge small {
  display: block;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.68rem;
}

.modern-certificate {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(249,245,236,0.98)),
    linear-gradient(180deg, #fff, #f6efdf);
}

.modern-certificate .certificate-copy {
  min-height: 0;
}

.certificate-stage {
  margin-top: 10mm;
  align-items: stretch;
}

.certificate-copy {
  flex: 1;
  padding: 9mm 10mm;
  border-radius: 22px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(40, 30, 24, 0.08);
  box-shadow: 0 18px 40px rgba(110, 87, 56, 0.08);
}

.certificate-lead {
  margin: 0;
  color: #0f766e;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.84rem;
  font-weight: 700;
}

.certificate-copy h2 {
  margin-top: 10px;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  line-height: 1.15;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.certificate-support,
.certificate-body-copy {
  color: #554237;
  font-size: 1rem;
  line-height: 1.75;
}

.certificate-body-copy strong {
  color: #201814;
}

.certificate-highlights {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.certificate-highlights div,
.footer-panel,
.marksheet-summary-chip,
.marksheet-student-card,
.marksheet-meta-grid div {
  border-radius: 22px;
  border: 1px solid rgba(36, 28, 23, 0.1);
  background: rgba(255,255,255,0.8);
  box-shadow: 0 10px 22px rgba(100, 75, 48, 0.06);
}

.certificate-highlights div {
  padding: 14px 16px;
}

.certificate-highlights span,
.footer-panel span,
.marksheet-summary-chip span,
.marksheet-meta-grid span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #0f766e;
  font-weight: 700;
}

.certificate-highlights strong,
.footer-panel strong,
.marksheet-summary-chip strong,
.marksheet-meta-grid strong {
  display: block;
  margin-top: 8px;
  color: #19120f;
  font-size: 1rem;
}

.certificate-identity {
  width: 48mm;
  display: grid;
  gap: 16px;
}

.certificate-photo-frame {
  width: 100%;
  aspect-ratio: 0.78;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(26, 20, 17, 0.1);
  background: linear-gradient(180deg, #dce9ee, #f7f8f9 78%);
  display: grid;
  place-items: center;
}

.certificate-photo-frame.compact {
  width: 96px;
  min-width: 96px;
  aspect-ratio: 0.78;
  border-radius: 20px;
}

.certificate-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.certificate-photo-frame span {
  font-size: 2.7rem;
  font-weight: 800;
  color: #486270;
}

.identity-card {
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #165f58, #114a45);
  color: #effcf8;
}

.identity-card span,
.identity-card small {
  color: rgba(239, 252, 248, 0.76);
}

.identity-card strong {
  display: block;
  margin: 8px 0 2px;
  font-size: 1.15rem;
}

.doc-footer {
  margin-top: 9mm;
  align-items: flex-end;
}

.doc-seal {
  width: 30mm;
  height: 30mm;
  flex-shrink: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,0.78), transparent 22%),
    radial-gradient(circle, #fde68a 0%, #f6c453 42%, #be8124 72%, #865314 100%);
  display: grid;
  place-items: center;
  color: #fff9e5;
  text-align: center;
  font-weight: 700;
  box-shadow: 0 16px 32px rgba(183, 131, 42, 0.24);
}

.doc-seal.has-image {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(35, 26, 19, 0.1);
  overflow: hidden;
}

.doc-seal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.doc-seal-inline {
  width: 26mm;
  height: 26mm;
}

.signature-strip {
  flex: 1;
  justify-content: flex-end;
  align-items: flex-end;
}

.signature-strip-wide {
  width: 100%;
  justify-content: space-between;
}

.signature-block {
  min-width: 38mm;
  text-align: center;
}

.signature-image-wrap {
  min-height: 22mm;
  display: grid;
  place-items: end center;
}

.signature-image {
  max-width: 36mm;
  max-height: 16mm;
  object-fit: contain;
}

.signature-name {
  display: block;
  margin-bottom: 6px;
  font-family: "Great Vibes", cursive;
  font-size: 2.2rem;
  color: #203e57;
  line-height: 0.95;
}

.signature-block strong {
  display: block;
  margin-top: 8px;
  color: #1d1612;
}

.signature-block small {
  display: block;
  margin-top: 4px;
  color: #6d5a4d;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
}

.modern-marksheet {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.95), rgba(249,244,235,0.98)),
    linear-gradient(135deg, #fff, #f5ecde);
}

.modern-marksheet .marksheet-table th,
.modern-marksheet .marksheet-table td {
  padding: 10px 10px;
  font-size: 0.94rem;
}

.modern-marksheet .marksheet-note p {
  margin: 8px 0 0;
  line-height: 1.45;
}

.marksheet-header {
  align-items: flex-start;
}

.marksheet-topbar {
  margin-top: 7mm;
  align-items: stretch;
}

.marksheet-student-card {
  flex: 1;
  padding: 14px 16px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.student-card-copy h2 {
  font-size: clamp(1.55rem, 2.7vw, 2.45rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.student-card-copy p,
.student-card-copy small,
.marksheet-summary-chip small {
  color: #6d5a4d;
}

.marksheet-summary-chip {
  min-width: 44mm;
  padding: 16px 18px;
}

.marksheet-summary-chip strong {
  font-size: 1.6rem;
}

.marksheet-meta-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.marksheet-meta-grid div {
  padding: 14px 16px;
}

.meta-pair-card {
  display: grid;
  gap: 8px;
  align-content: start;
}

.meta-pair-card span:nth-of-type(2) {
  margin-top: 2px;
}

.marksheet-table-wrap {
  margin-top: 14px;
}

.marksheet-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 18px;
  overflow: hidden;
}

.marksheet-table th,
.marksheet-table td {
  border: 1px solid rgba(32, 24, 19, 0.08);
  padding: 10px 9px;
  color: #1d1713;
  font-size: 0.88rem;
}

.marksheet-table thead th,
.marksheet-table tfoot th {
  background: linear-gradient(180deg, rgba(14,116,110,0.12), rgba(227, 169, 70, 0.14));
  color: #1a1612;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.refined tbody tr:nth-child(even) td {
  background: rgba(245, 241, 233, 0.7);
}

.marksheet-note {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(28, 21, 16, 0.12);
  background: rgba(255, 251, 244, 0.9);
  border-radius: 22px;
}

.marksheet-note p,
.marksheet-issue-date {
  color: #241b16;
}

.marksheet-footer-panels {
  margin-top: 16px;
  align-items: stretch;
}

.footer-panel,
.marksheet-summary-chip {
  padding: 16px 18px;
}

.footer-panel {
  flex: 1;
}

.footer-panel-qr {
  max-width: 42mm;
  text-align: center;
}

.footer-panel-qr img {
  width: 24mm;
  height: 24mm;
  object-fit: contain;
  margin-top: 10px;
}

.qr-card {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(36, 28, 23, 0.1);
  background: rgba(255,255,255,0.84);
  box-shadow: 0 10px 22px rgba(100, 75, 48, 0.06);
  text-align: center;
}

.qr-card img {
  width: 30mm;
  height: 30mm;
  object-fit: contain;
}

.qr-card strong {
  display: block;
  margin-top: 10px;
  color: #1d1612;
}

.qr-card small {
  color: #6d5a4d;
}

.verification-caption {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  font-size: 0.76rem;
  color: #5e4c3d;
  word-break: break-all;
}

.document-error {
  max-width: 760px;
  margin: 48px auto;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 248, 240, 0.94);
  border: 1px solid rgba(145, 54, 39, 0.22);
  box-shadow: 0 20px 48px rgba(94, 67, 36, 0.12);
}

@media print {
  html,
  body {
    margin: 0 !important;
    padding: 0 !important;
  }

  .document-view-certificate {
    width: var(--print-content-width);
    min-height: var(--print-content-height);
  }

  .document-view-marksheet {
    width: var(--print-content-width);
    min-height: var(--print-content-height);
  }

  .no-print {
    display: none !important;
  }

  .document-body {
    background: #fff;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .document-shell {
    width: var(--print-content-width) !important;
    max-width: var(--print-content-width) !important;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .student-document {
    box-shadow: none;
    margin: 0;
    page-break-inside: avoid;
    border-radius: 0;
    break-inside: avoid;
    page-break-after: avoid;
    overflow: visible;
    width: var(--print-content-width) !important;
    min-height: var(--print-content-height) !important;
    height: auto !important;
    max-height: none !important;
    padding: 9mm 10mm 8mm !important;
    border-width: 1mm !important;
  }

  .document-view-certificate .student-document {
    max-width: var(--print-content-width) !important;
  }

  .document-view-marksheet .student-document {
    max-width: var(--print-content-width) !important;
  }

  .student-document::before {
    inset: 5mm;
  }

  .student-document::after {
    inset: 8mm;
  }

  .doc-header,
  .certificate-stage,
  .doc-footer,
  .signature-strip,
  .marksheet-topbar,
  .marksheet-footer-panels,
  .document-actions {
    gap: 6px;
  }

  .doc-header-copy h1 {
    font-size: 1.45rem;
  }

  .certificate-copy {
    padding: 6mm;
    min-height: 0 !important;
  }

  .certificate-copy h2 {
    font-size: 1.2rem;
  }

  .certificate-support,
  .certificate-body-copy {
    font-size: 0.7rem;
    line-height: 1.42;
  }

  .certificate-highlights {
    margin-top: 6px;
    gap: 5px;
  }

  .certificate-highlights div,
  .footer-panel,
  .marksheet-summary-chip,
  .marksheet-student-card,
  .marksheet-meta-grid div {
    padding: 7px 8px;
  }

  .certificate-identity {
    width: 29mm;
    gap: 4px;
  }

  .certificate-stage {
    margin-top: 7px;
    align-items: flex-start;
  }

  .certificate-photo-frame {
    max-height: 42mm;
    border-radius: 10px;
  }

  .doc-corner-badge {
    width: 20mm;
    height: 20mm;
    right: 7mm;
    top: 7mm;
  }

  .doc-corner-badge span {
    font-size: 0.82rem;
  }

  .doc-seal {
    width: 17mm;
    height: 17mm;
  }

  .signature-image {
    max-width: 20mm;
    max-height: 7mm;
  }

  .signature-name {
    font-size: 0.9rem;
  }

  .signature-block strong,
  .signature-block small,
  .verification-caption,
  .marksheet-note,
  .marksheet-summary-chip small,
  .student-card-copy p,
  .student-card-copy small {
    font-size: 0.58rem;
  }

  .doc-footer {
    margin-top: 7px;
  }

  .verification-caption {
    margin-top: 4px;
    line-height: 1.2;
  }

  .marksheet-topbar,
  .marksheet-meta-grid,
  .marksheet-table-wrap,
  .marksheet-note,
  .marksheet-footer-panels {
    margin-top: 5px;
  }

  .marksheet-table th,
  .marksheet-table td,
  .modern-marksheet .marksheet-table th,
  .modern-marksheet .marksheet-table td {
    padding: 2.6px 2.2px;
    font-size: 0.52rem;
  }

  .footer-panel-qr {
    max-width: 21mm;
  }

  .footer-panel-qr img,
  .qr-card img {
    width: 16mm;
    height: 16mm;
  }

  .marksheet-meta-grid {
    gap: 6px;
  }

  .meta-pair-card {
    gap: 4px;
  }

  .certificate-photo-frame.compact {
    width: 13mm;
    min-width: 13mm;
  }

  .marksheet-student-card {
    gap: 6px;
  }

  .student-card-copy h2 {
    font-size: 0.88rem;
  }

  .marksheet-summary-chip strong,
  .certificate-highlights strong,
  .footer-panel strong,
  .marksheet-meta-grid strong {
    font-size: 0.64rem;
  }

  .qr-card {
    padding: 5px;
  }

  .qr-card strong {
    margin-top: 5px;
    font-size: 0.72rem;
  }

  .certificate-lead,
  .doc-kicker,
  .certificate-highlights span,
  .footer-panel span,
  .marksheet-summary-chip span,
  .marksheet-meta-grid span {
    font-size: 0.46rem;
  }

  .doc-header-meta {
    min-width: 30mm;
    padding: 5px 6px;
    gap: 3px;
  }

  .doc-header-meta span {
    font-size: 0.46rem;
  }

  .doc-header-meta strong {
    font-size: 0.54rem;
  }

  .modern-marksheet .marksheet-note p {
    line-height: 1.25;
    margin-top: 4px;
  }

  .marksheet-note {
    padding: 8px 9px;
  }

  .footer-panel,
  .marksheet-summary-chip {
    padding: 7px 8px;
  }

  .document-watermark {
    opacity: 0.22;
  }

  .document-watermark-seal {
    opacity: 0.18;
  }
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes floatOrb {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -12px, 0);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 rgba(255, 140, 66, 0);
  }
  50% {
    box-shadow: 0 0 18px rgba(255, 140, 66, 0.14);
  }
}

@keyframes bounceSoft {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .split-band,
  .split-contact,
  .footer-grid,
  .notice-strip,
  .course-highlight-strip,
  .admin-login-layout,
  .document-admin-grid,
  .live-class-grid,
  .verify-grid,
  .three-up,
  .two-up,
  .four-up {
    grid-template-columns: 1fr;
  }

  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .verification-hero,
  .motivation-band,
  .certificate-highlights,
  .marksheet-meta-grid {
    grid-template-columns: 1fr;
  }

  .verification-action-groups {
    grid-template-columns: 1fr;
  }

  .hero-admission-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .container,
  .narrow {
    width: min(100% - 20px, 1180px);
  }

  .nav-wrap {
    align-items: center;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding-top: 8px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .cta-panel,
  .dashboard-headline,
  .table-action-row,
  .live-room-toolbar,
  .status-form,
  .doc-header,
  .certificate-stage,
  .doc-footer,
  .signature-strip,
  .marksheet-topbar,
  .marksheet-footer-panels,
  .document-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .live-embed {
    min-height: calc(100vh - 160px);
  }

  h1 {
    font-size: 2.7rem;
  }

  .student-document {
    padding: 18px 16px 22px;
    width: 100%;
    min-height: auto;
  }

  .hero-admission-grid {
    grid-template-columns: 1fr;
  }

  .certificate-identity,
  .doc-header-meta,
  .marksheet-summary-chip {
    width: 100%;
  }

  .doc-corner-badge {
    position: static;
    margin-left: auto;
    margin-bottom: 16px;
  }

  .certificate-photo-frame.compact {
    width: 96px;
    min-width: 96px;
  }

  .doc-header-brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .institution-logo {
    width: 82px;
    height: 82px;
  }

  .verification-form {
    padding: 16px;
  }

  .document-watermark-logo {
    width: 58%;
  }

  .document-watermark-seal {
    width: 34%;
    right: 18px;
    bottom: 110px;
  }

  .footer-panel-qr {
    max-width: none;
  }
}
