:root {
  --sky: #38bdf8;
  --blue: #0ea5e9;
  --navy: #0f2f5f;
  --ink: #172033;
  --muted: #667085;
  --line: #dbe7f3;
  --soft: #f4f9ff;
  --white: #fff;
  --green: #16a34a;
  --red: #dc2626;
  --shadow: 0 16px 45px rgba(15, 47, 95, .12);
}
* { box-sizing: border-box; }
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
img, svg, canvas { max-width: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f2f9ff 0%, #ffffff 44%, #f6fbff 100%);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.brand { display: inline-flex; gap: 12px; align-items: center; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand strong { display: block; color: var(--navy); line-height: 1.1; }
.brand small, .muted { color: var(--muted); }
.public-header { padding: 18px 0; }
.hero {
  min-height: 620px;
  display: grid;
  align-items: center;
  padding: 34px 0 64px;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(244,249,255,.95), rgba(244,249,255,.78), rgba(255,255,255,.96)),
    var(--hero-image, none) center/cover no-repeat;
  z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 28px; align-items: center; }
.eyebrow { color: var(--blue); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { font-size: clamp(34px, 6vw, 68px); line-height: 1.02; margin: 12px 0; color: var(--navy); letter-spacing: 0; }
.hero h2 { margin: 0 0 18px; font-size: clamp(22px, 3vw, 36px); color: #075985; }
.lead { color: #40516d; font-size: clamp(16px, 2vw, 20px); }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 26px 0; }
.feature { display: flex; align-items: center; gap: 10px; padding: 12px; background: rgba(255,255,255,.76); border: 1px solid var(--line); border-radius: 14px; }
.feature i, .stat-icon { color: var(--blue); }
.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
  background: #e8f5ff;
  color: var(--navy);
  font-size: 15px;
}
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--blue), #2563eb); box-shadow: 0 16px 28px rgba(14,165,233,.24); }
.btn-danger { color: #fff; background: var(--red); }
.btn-muted { background: #eef5fb; }
.btn-sm { min-height: 38px; padding: 8px 12px; border-radius: 10px; font-size: 13px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.qr-card { padding: 22px; text-align: center; }
.qr-box { width: 190px; height: 190px; margin: 16px auto; border-radius: 14px; background: repeating-linear-gradient(45deg, #0f2f5f 0 8px, #fff 8px 16px); border: 12px solid #fff; box-shadow: inset 0 0 0 1px var(--line); }
.quote { font-weight: 800; color: var(--navy); }
.form-wrap { padding: 38px 0 64px; }
.form-card { padding: clamp(20px, 4vw, 34px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.full { grid-column: 1 / -1; }
label { display: block; font-weight: 800; margin-bottom: 7px; color: #24334d; }
.req { color: var(--red); }
input, select, textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cbdced;
  border-radius: 12px;
  padding: 11px 13px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 16px;
}
textarea { min-height: 118px; resize: vertical; }
.field-error { color: var(--red); font-size: 13px; margin-top: 5px; }
.success-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.success-card { width: min(560px, 100%); text-align: center; padding: 34px 24px; }
.success-icon { width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 50%; background: #dcfce7; color: var(--green); display: grid; place-items: center; }
.admin-shell { display: flex; min-height: 100vh; }
.sidebar { width: 276px; position: fixed; inset: 0 auto 0 0; background: #fff; border-right: 1px solid var(--line); padding: 20px; z-index: 30; }
.brand-admin { margin-bottom: 22px; }
.side-nav { display: grid; gap: 6px; }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; color: #40516d; font-weight: 700; }
.side-nav a.active, .side-nav a:hover { background: linear-gradient(135deg, #e8f7ff, #eff6ff); color: var(--navy); }
.admin-main { flex: 1; margin-left: 276px; padding: 22px; min-width: 0; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.admin-topbar h1 { margin: 0; color: var(--navy); font-size: clamp(24px, 3vw, 34px); }
.icon-btn { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; display: inline-grid; place-items: center; cursor: pointer; }
.mobile-menu-btn { display: none; }
.topbar-user { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 13px; font-weight: 700; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat-card { padding: 18px; display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.stat-card strong { font-size: 32px; color: var(--navy); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 16px; margin-top: 16px; }
.section-card { padding: 20px; }
.table-toolbar { display: flex; gap: 10px; justify-content: space-between; align-items: end; flex-wrap: wrap; margin-bottom: 14px; }
.filters { display: grid; grid-template-columns: repeat(5, minmax(150px, 1fr)); gap: 10px; align-items: end; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 920px; }
th, td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #f3f8fd; color: var(--navy); font-size: 13px; }
.actions { display: flex; gap: 7px; flex-wrap: wrap; }
.mobile-cards { display: none; gap: 12px; }
.visit-card { padding: 15px; }
.visit-card h3 { margin: 0; color: var(--navy); }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; flex-wrap: wrap; color: var(--muted); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs a { padding: 10px 12px; border-radius: 12px; background: #eef6fd; font-weight: 800; }
.tabs a.active { color: #fff; background: var(--blue); }
.modal { display: none; position: fixed; inset: 0; background: rgba(15,47,95,.35); z-index: 80; place-items: center; padding: 16px; }
.modal.show { display: grid; }
.modal-box { width: min(420px, 100%); background: #fff; border-radius: 16px; padding: 22px; box-shadow: var(--shadow); }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; }
.toast-wrap { position: fixed; right: 16px; top: 16px; z-index: 100; display: grid; gap: 10px; width: min(360px, calc(100% - 32px)); }
.toast { padding: 13px 15px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-weight: 800; transition: .25s; }
.toast.success { border-left: 5px solid var(--green); }
.toast.error { border-left: 5px solid var(--red); }
.toast.hide { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(430px, 100%); padding: 28px; }
.report-head { text-align: center; color: var(--navy); margin-bottom: 18px; }
@media print {
  .sidebar, .admin-topbar, .no-print, .toast-wrap { display: none !important; }
  .admin-main { margin: 0; padding: 0; }
  body { background: #fff; }
  .card { box-shadow: none; border: 0; }
  table { min-width: 0; font-size: 11px; }
}
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-grid, .hero-grid { grid-template-columns: 1fr; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .sidebar { transform: translateX(-100%); transition: .25s ease; }
  .drawer-open .sidebar { transform: translateX(0); }
  .drawer-backdrop { display: none; position: fixed; inset: 0; background: rgba(15,47,95,.28); z-index: 20; }
  .drawer-open .drawer-backdrop { display: block; }
  .admin-main { margin-left: 0; padding: 16px; }
  .mobile-menu-btn { display: inline-grid; }
  .topbar-user { display: none; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1120px); }
  .public-header { padding: 12px 0; }
  .brand img { width: 44px; height: 44px; }
  .hero { min-height: auto; padding: 18px 0 36px; }
  .feature-grid, .form-grid, .filters, .stats-grid { grid-template-columns: 1fr; }
  .qr-card { display: none; }
  .admin-topbar { align-items: flex-start; }
  .table-wrap.desktop-table { display: none; }
  .mobile-cards { display: grid; }
  .card, .form-card { border-radius: 14px; }
  .section-card { padding: 16px; }
}

/* Visual refresh for the public Buku Tamu flow */
.public-page {
  background: #eaf6ff;
}

.public-page .toast-wrap {
  top: 18px;
}

.public-header {
  background: linear-gradient(180deg, rgba(238, 249, 255, .96), rgba(248, 252, 255, .92));
  position: relative;
  z-index: 2;
}

.public-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.public-header-home {
  background: transparent;
  position: absolute;
  inset: 0 0 auto;
  padding-top: 22px;
}

.public-header-home .brand strong,
.public-header-home .brand small,
.header-script {
  color: var(--navy);
  text-shadow: 0 1px 12px rgba(255, 255, 255, .95);
}

.brand img {
  width: 58px;
  height: 58px;
  filter: drop-shadow(0 8px 16px rgba(15, 47, 95, .16));
}

.brand strong {
  font-size: 18px;
  font-weight: 900;
}

.brand small {
  font-weight: 700;
}

.header-script {
  margin: 0;
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-size: clamp(14px, 1.8vw, 20px);
  font-weight: 700;
  line-height: 1.25;
  text-align: right;
  transform: rotate(-4deg);
}

.public-page-title {
  color: var(--navy);
  font-weight: 800;
}

.home-hero {
  min-height: 100vh;
  padding: 98px 0 20px;
  align-items: stretch;
}

.home-hero::before {
  background:
    linear-gradient(180deg, rgba(226, 244, 255, .06) 0%, rgba(244, 251, 255, .06) 28%, rgba(255,255,255,.88) 58%, rgba(255,255,255,.98) 100%),
    var(--hero-image, none) center top/cover no-repeat;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 52%, rgba(255,255,255,.7), rgba(255,255,255,0) 26%),
    linear-gradient(180deg, rgba(255,255,255,0) 0 34%, rgba(255,255,255,.74) 58%, #fff 78%);
  z-index: -1;
}

.home-panel {
  min-height: calc(100vh - 118px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  text-align: center;
  padding-bottom: 16px;
}

.home-copy h1,
.home-copy h2,
.home-copy h3 {
  margin: 0;
  color: var(--navy);
  letter-spacing: 0;
}

.home-copy h1 {
  font-size: clamp(30px, 5.5vw, 58px);
  line-height: 1.02;
  font-weight: 950;
}

.home-copy h2 {
  font-size: clamp(20px, 3.2vw, 34px);
  line-height: 1.12;
  font-weight: 900;
  margin-top: 4px;
}

.home-copy h3 {
  font-size: clamp(20px, 3vw, 32px);
  color: #004b83;
  line-height: 1.1;
  font-weight: 950;
  margin-top: 6px;
}

.home-features {
  width: min(760px, 100%);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 28px auto 22px;
}

.home-features .feature {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  flex-direction: column;
  justify-content: start;
  gap: 8px;
  padding: 0;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.2;
}

.home-features .feature span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #dff2ff, #c6e8ff);
  color: #003f78;
  box-shadow: 0 12px 28px rgba(14, 116, 201, .18);
}

.home-features .feature svg {
  width: 28px;
  height: 28px;
}

.btn-hero {
  width: min(380px, 100%);
  min-height: 64px;
  font-size: 22px;
  border-radius: 12px;
  box-shadow: 0 18px 34px rgba(37, 99, 235, .32);
}

.scan-hint {
  margin: 12px 0 8px;
  color: var(--navy);
  font-weight: 700;
}

.qr-print {
  display: grid;
  justify-items: center;
  color: var(--navy);
  font-weight: 900;
  line-height: 1.1;
}

.qr-print img {
  width: 104px;
  height: 104px;
  object-fit: contain;
  image-rendering: pixelated;
  background: #fff;
  border: 8px solid #fff;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(15,47,95,.18);
}

.qr-print small {
  font-size: 11px;
  font-weight: 800;
}

.poster-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(232,246,255,.9), rgba(255,255,255,.96)),
    url('../img/sekolah.jpg') center/cover fixed;
}

.poster-card {
  width: min(140mm, calc(100vw - 32px));
  height: 210mm;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  padding: 10mm 10mm;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(240,249,255,.98));
  border: 1px solid #cfe3f6;
  box-shadow: 0 32px 90px rgba(15,47,95,.22);
  color: var(--navy);
}

.poster-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 42mm;
  background:
    linear-gradient(180deg, rgba(255,255,255,.26), rgba(255,255,255,.92)),
    url('../img/sekolah.jpg') center 38%/cover no-repeat;
  z-index: 0;
}

.poster-card > * {
  position: relative;
  z-index: 1;
}

.poster-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.poster-top img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.poster-top strong {
  display: block;
  font-size: 15px;
  font-weight: 950;
}

.poster-top span {
  display: block;
  font-size: 9px;
  font-weight: 700;
}

.poster-body {
  text-align: center;
  padding: 32mm 0 10mm;
}

.poster-eyebrow {
  display: inline-flex;
  margin: 0 0 7px;
  padding: 5px 10px;
  font-size: 11px;
  border-radius: 999px;
  background: #dff2ff;
  color: #005c99;
  font-weight: 900;
}

.poster-body h1 {
  margin: 0;
  font-size: 25px;
  line-height: 1;
  letter-spacing: 0;
  color: var(--navy);
}

.poster-body p {
  margin: 8px auto 12px;
  max-width: 90mm;
  font-size: 11px;
  font-weight: 700;
  color: #385674;
}

.poster-qr {
  width: 58mm;
  aspect-ratio: 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 6mm;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #cfe3f6;
  box-shadow: 0 26px 58px rgba(15,47,95,.18);
}

.poster-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
}

.poster-body h2 {
  margin: 12px 0 0;
  font-size: 18px;
  color: #00669f;
}

.poster-url {
  display: none;
}

.poster-footer {
  text-align: center;
}

.poster-footer p {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 950;
  font-style: italic;
}

.poster-footer small {
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-size: 10px;
  font-weight: 700;
}

.poster-actions {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  gap: 10px;
}

@media print {
  @page { size: 140mm 210mm; margin: 0; }
  .no-print,
  .poster-actions,
  .toast-wrap {
    display: none !important;
  }

  .poster-page {
    min-height: 100vh;
    padding: 0;
    background: #fff;
  }

  .poster-card {
    width: 140mm;
    height: 210mm;
    min-height: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

/* Poster QR card lock: keep scan label, QR, and CTA inside the white card */
.poster-card-v2 .poster-qr-card {
  grid-template-rows: 10mm 41mm 10mm !important;
  align-items: center !important;
  overflow: visible !important;
}

.poster-card-v2 .poster-scan-label,
.poster-card-v2 .poster-corners,
.poster-card-v2 .poster-fill-button {
  position: static !important;
  transform: none !important;
}

/* Poster reference layout: match the supplied guest-room poster mockup */
.poster-card-v2 {
  background:
    radial-gradient(circle at 50% 46%, #ffffff 0 39mm, transparent 40mm),
    linear-gradient(180deg, #dff5ff 0%, #f7fdff 47%, #e6f7ff 100%) !important;
}

.poster-card-v2 .poster-hero {
  flex-basis: 66mm !important;
  height: 66mm !important;
  padding: 7mm 8mm 20mm !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.02) 0%, rgba(255,255,255,.04) 50%, rgba(229,247,255,.78) 85%, #e9f8ff 100%),
    url('../img/sekolah.jpg') center 40%/cover no-repeat !important;
}

.poster-card-v2 .poster-wave {
  flex-basis: 12mm !important;
  height: 12mm !important;
  margin-top: -12mm !important;
  background:
    linear-gradient(171deg, transparent 0 14%, #1193f6 14% 37%, #ffcf35 37% 43%, transparent 43% 100%),
    linear-gradient(188deg, transparent 0 42%, rgba(255,255,255,.94) 42% 100%) !important;
  clip-path: polygon(0 22%, 18% 0, 40% 18%, 59% 32%, 82% 5%, 100% 17%, 100% 100%, 0 100%) !important;
}

.poster-card-v2 .poster-main {
  margin-top: -1mm !important;
  padding: 0 5.5mm 2.5mm !important;
  grid-template-areas:
    "title1"
    "title2"
    "pill"
    "qr"
    "steps"
    "quote" !important;
  gap: 2mm !important;
  background:
    radial-gradient(circle at 16% 33%, rgba(220,244,255,.94) 0 18mm, transparent 18.5mm),
    radial-gradient(circle at 84% 33%, rgba(220,244,255,.94) 0 18mm, transparent 18.5mm),
    linear-gradient(180deg, #e9f8ff 0%, #f7fdff 65%, #ffffff 100%) !important;
}

.poster-card-v2 .poster-main h1 {
  font-size: 35px !important;
  line-height: .86 !important;
  margin-top: -2mm !important;
  color: #1688f3 !important;
  -webkit-text-stroke: 2px #fff !important;
  text-shadow:
    0 3px 0 #fff,
    0 7px 14px rgba(3, 89, 178, .28) !important;
}

.poster-card-v2 .poster-main h2 {
  margin-top: -1mm !important;
  padding: 2.7mm 16mm !important;
  font-size: 18px !important;
  border-radius: 999px !important;
  transform: rotate(-2deg) !important;
}

.poster-card-v2 .poster-title-pill {
  min-height: 11mm !important;
  padding: 0 13mm !important;
  font-size: 16px !important;
  box-shadow: 0 8px 18px rgba(8, 100, 180, .10) !important;
}

.poster-card-v2 .poster-feature-grid {
  display: none !important;
}

.poster-card-v2 .poster-feature {
  display: grid !important;
  position: absolute !important;
  z-index: 6 !important;
  width: 33mm !important;
  min-height: 31mm !important;
  padding: 2.5mm 2mm !important;
  justify-items: center !important;
  align-content: center !important;
  gap: 2mm !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.54) !important;
  color: #06275a !important;
  text-align: center !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.65) !important;
}

.poster-card-v2 .poster-feature-left {
  left: 9mm !important;
}

.poster-card-v2 .poster-feature-right {
  right: 9mm !important;
}

.poster-card-v2 .poster-feature-top {
  top: 42mm !important;
}

.poster-card-v2 .poster-feature-bottom {
  top: 78mm !important;
}

.poster-card-v2 .poster-feature span {
  width: 15mm !important;
  height: 15mm !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  background: #d9f3ff !important;
  color: #0877df !important;
}

.poster-card-v2 .poster-feature span svg {
  width: 9mm !important;
  height: 9mm !important;
  stroke-width: 2.7 !important;
}

.poster-card-v2 .poster-feature strong {
  display: block !important;
  font-size: 11.5px !important;
  line-height: 1.12 !important;
  font-weight: 950 !important;
}

.poster-card-v2 .poster-qr-card {
  width: 58mm !important;
  padding: 4mm 4mm 5mm !important;
  gap: 2.6mm !important;
  grid-template-rows: 10mm 46mm auto !important;
  border-radius: 13px !important;
  box-shadow: 0 16px 34px rgba(2, 76, 142, .16) !important;
}

.poster-card-v2 .poster-scan-label {
  height: 9.5mm !important;
  min-width: 42mm !important;
  padding: 0 7mm !important;
  font-size: 12px !important;
}

.poster-card-v2 .poster-corners {
  width: 43mm !important;
  height: 43mm !important;
  padding: 1.7mm !important;
  border-width: 0 !important;
  background:
    linear-gradient(#167df0, #167df0) left top/9mm 1mm no-repeat,
    linear-gradient(#167df0, #167df0) left top/1mm 9mm no-repeat,
    linear-gradient(#167df0, #167df0) right top/9mm 1mm no-repeat,
    linear-gradient(#167df0, #167df0) right top/1mm 9mm no-repeat,
    linear-gradient(#167df0, #167df0) left bottom/9mm 1mm no-repeat,
    linear-gradient(#167df0, #167df0) left bottom/1mm 9mm no-repeat,
    linear-gradient(#167df0, #167df0) right bottom/9mm 1mm no-repeat,
    linear-gradient(#167df0, #167df0) right bottom/1mm 9mm no-repeat,
    #fff !important;
}

.poster-card-v2 .poster-fill-button {
  width: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  color: #06275a !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 10px !important;
  font-weight: 800 !important;
}

.poster-card-v2 .poster-fill-button svg {
  display: none !important;
}

.poster-card-v2 .poster-steps {
  margin-top: 6mm !important;
  padding: 8mm 5mm 4mm !important;
  min-height: 33mm !important;
  border-radius: 13px !important;
  background: rgba(255,255,255,.68) !important;
}

.poster-card-v2 .poster-steps-title {
  top: -5mm !important;
  height: 10mm !important;
  padding: 0 16mm !important;
  font-size: 13px !important;
}

.poster-card-v2 .poster-step b {
  width: 8mm !important;
  height: 8mm !important;
  font-size: 12px !important;
}

.poster-card-v2 .poster-step svg {
  width: 10mm !important;
  height: 10mm !important;
}

.poster-card-v2 .poster-step strong {
  font-size: 10px !important;
}

.poster-card-v2 .poster-step span {
  font-size: 8px !important;
}

.poster-card-v2 .poster-quote {
  margin-top: .5mm !important;
  font-size: 13px !important;
}

.poster-card-v2 .poster-bottom-bar {
  flex-basis: 17mm !important;
  margin: 0 4mm 4mm !important;
  padding: 0 7mm !important;
}

.poster-card-v2 .poster-bottom-bar span {
  font-size: 8px !important;
  gap: 2mm !important;
}

.poster-card-v2 .poster-bottom-bar svg {
  width: 6mm !important;
  height: 6mm !important;
}

/* Clean QR poster page, isolated from the older poster styles */
.qrposter-page {
  min-height: 100vh;
  padding: 14px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(230,247,255,.88), rgba(230,247,255,.88)),
    url('../img/sekolah.jpg') center/cover fixed;
}

.qrposter {
  width: min(140mm, calc(100vw - 28px));
  height: 210mm;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  border: 1px solid rgba(31, 143, 226, .22);
  background: linear-gradient(180deg, #e8f8ff 0%, #f9fdff 62%, #e5f7ff 100%);
  box-shadow: 0 22px 44px rgba(5, 49, 98, .16);
  color: #06275a;
}

.qrposter-photo {
  flex: 0 0 58mm;
  padding: 7mm 8mm 16mm;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03) 55%, rgba(232,248,255,.86) 92%, #e8f8ff),
    url('../img/sekolah.jpg') center 43%/cover no-repeat;
}

.qrposter-brand {
  display: flex;
  align-items: center;
  gap: 3mm;
  max-width: 76mm;
  text-shadow: 0 1px 0 rgba(255,255,255,.7);
}

.qrposter-brand img {
  width: 13mm;
  height: 13mm;
  object-fit: contain;
  filter: drop-shadow(0 5px 8px rgba(0,0,0,.16));
}

.qrposter-brand strong {
  display: block;
  font-size: 15px;
  line-height: 1;
  font-weight: 950;
}

.qrposter-brand span {
  display: block;
  margin-top: 2px;
  font-size: 8px;
  line-height: 1.12;
  font-weight: 800;
}

.qrposter-photo p {
  width: 44mm;
  margin: 0;
  font-family: 'Comic Sans MS', 'Segoe Print', cursive;
  font-size: 10px;
  line-height: 1.14;
  font-weight: 900;
  text-align: right;
  transform: rotate(-5deg);
  text-shadow: 0 1px 0 rgba(255,255,255,.75);
}

.qrposter-wave {
  flex: 0 0 10mm;
  margin-top: -10mm;
  position: relative;
  z-index: 2;
  background:
    linear-gradient(170deg, transparent 0 13%, #1393f6 13% 38%, #ffd039 38% 45%, transparent 45% 100%);
  clip-path: polygon(0 24%, 20% 0, 44% 20%, 60% 32%, 84% 4%, 100% 16%, 100% 100%, 0 100%);
}

.qrposter-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0 6mm 1.5mm;
  display: grid;
  grid-template-rows: auto auto auto auto;
  gap: 2.6mm;
  background:
    radial-gradient(circle at 12% 36%, rgba(216,244,255,.96) 0 17mm, transparent 17.5mm),
    radial-gradient(circle at 88% 36%, rgba(216,244,255,.96) 0 17mm, transparent 17.5mm),
    linear-gradient(180deg, #e8f8ff 0%, #fbfeff 70%, #fff 100%);
}

.qrposter-title {
  display: grid;
  justify-items: center;
  gap: 1.7mm;
}

.qrposter-title h1 {
  margin: -2mm 0 0;
  color: #1688f3;
  font-size: 34px;
  line-height: .86;
  font-weight: 1000;
  letter-spacing: 0;
  text-align: center;
  transform: rotate(-3deg);
  -webkit-text-stroke: 2px #fff;
  text-shadow: 0 3px 0 #fff, 0 7px 14px rgba(3, 89, 178, .28);
}

.qrposter-title h2 {
  margin: 0;
  padding: 2.5mm 16mm;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #188cf7, #075bc4);
  font-size: 17px;
  line-height: 1;
  font-weight: 950;
  transform: rotate(-2deg);
  box-shadow: 0 8px 18px rgba(0, 93, 190, .18);
}

.qrposter-title div {
  min-height: 10mm;
  padding: 0 12mm;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2mm;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(228,248,255,.98), rgba(203,237,255,.98));
  font-size: 15px;
  font-weight: 950;
}

.qrposter-title svg {
  width: 6mm;
  height: 6mm;
  color: #0877df;
}

.qrposter-center {
  display: grid;
  grid-template-columns: 31mm 58mm 31mm;
  grid-template-rows: 30mm 30mm;
  justify-content: center;
  align-items: center;
  gap: 3mm 4mm;
}

.qrposter-card {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  width: 58mm;
  min-height: 72mm;
  padding: 4mm;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 2.4mm;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(2, 76, 142, .16);
}

.qrposter-scan {
  height: 10mm;
  min-width: 42mm;
  padding: 0 7mm;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2mm;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffc72d, #ffb515);
  font-size: 12px;
  font-weight: 950;
}

.qrposter-scan svg {
  width: 4.5mm;
  height: 4.5mm;
}

.qrposter-code {
  width: 43mm;
  height: 43mm;
  padding: 2mm;
  background:
    linear-gradient(#167df0, #167df0) left top/9mm 1mm no-repeat,
    linear-gradient(#167df0, #167df0) left top/1mm 9mm no-repeat,
    linear-gradient(#167df0, #167df0) right top/9mm 1mm no-repeat,
    linear-gradient(#167df0, #167df0) right top/1mm 9mm no-repeat,
    linear-gradient(#167df0, #167df0) left bottom/9mm 1mm no-repeat,
    linear-gradient(#167df0, #167df0) left bottom/1mm 9mm no-repeat,
    linear-gradient(#167df0, #167df0) right bottom/9mm 1mm no-repeat,
    linear-gradient(#167df0, #167df0) right bottom/1mm 9mm no-repeat,
    #fff;
}

.qrposter-code img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  image-rendering: pixelated;
}

.qrposter-card p {
  margin: 0 0 1.5mm;
  font-size: 10px;
  line-height: 1.1;
  font-weight: 800;
  text-align: center;
}

.qrposter-feature {
  min-height: 30mm;
  padding: 2mm;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 2mm;
  border-radius: 12px;
  background: rgba(255,255,255,.50);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.65);
  text-align: center;
}

.qrposter-feature svg {
  width: 15mm;
  height: 15mm;
  padding: 3.4mm;
  border-radius: 50%;
  background: #d9f3ff;
  color: #0877df;
  stroke-width: 2.6;
}

.qrposter-feature strong {
  font-size: 10.5px;
  line-height: 1.12;
  font-weight: 950;
}

.qrposter-steps {
  position: relative;
  min-height: 30mm;
  margin-top: 7mm;
  padding: 7mm 5mm 3mm;
  display: grid;
  grid-template-columns: 1fr 8px 1fr 8px 1fr;
  align-items: center;
  gap: 2mm;
  border-radius: 13px;
  border: 1px solid #cdeeff;
  background: rgba(255,255,255,.70);
}

.qrposter-steps h3 {
  position: absolute;
  top: -6mm;
  left: 50%;
  transform: translateX(-50%);
  height: 10mm;
  margin: 0;
  padding: 0 16mm;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #1685f8, #075bc4);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  font-weight: 950;
  white-space: nowrap;
}

.qrposter-step {
  display: grid;
  justify-items: center;
  gap: 1mm;
  text-align: center;
}

.qrposter-step b {
  width: 7mm;
  height: 7mm;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #096ad3;
  color: #fff;
  font-size: 12px;
  line-height: 1;
}

.qrposter-step svg {
  width: 8mm;
  height: 8mm;
  color: #0877df;
  stroke-width: 2.7;
}

.qrposter-step strong {
  font-size: 8.5px;
  line-height: 1.05;
  font-weight: 950;
}

.qrposter-step span {
  font-size: 7px;
  line-height: 1.1;
}

.qrposter-steps em {
  color: #65b7ee;
  font-style: normal;
  font-size: 26px;
  font-weight: 950;
  text-align: center;
}

.qrposter-quote {
  margin: 0;
  color: #06275a;
  font-family: 'Comic Sans MS', 'Segoe Print', cursive;
  font-size: 13px;
  line-height: 1.1;
  font-weight: 900;
  text-align: center;
}

.qrposter-footer {
  flex: 0 0 12mm;
  margin: 0 5mm 3mm;
  padding: 0 6mm;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 2mm;
  border-radius: 999px;
  background: linear-gradient(135deg, #087de4, #004c99);
  box-shadow: 0 10px 22px rgba(1, 66, 140, .18);
}

.qrposter-footer span {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2mm;
  color: #fff;
  font-size: 6.8px;
  line-height: 1;
  font-weight: 850;
  white-space: nowrap;
}

.qrposter-footer svg {
  width: 4.6mm;
  height: 4.6mm;
  color: #dff5ff;
  stroke-width: 2.5;
}

@media print {
  @page {
    size: 140mm 210mm;
    margin: 0;
  }

  html,
  body,
  .qrposter-page {
    width: 140mm !important;
    height: 210mm !important;
    min-height: 210mm !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    overflow: hidden !important;
  }

  .qrposter {
    width: 140mm !important;
    height: 210mm !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

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

/* QR poster bottom spacing fix */
.qrposter .qrposter-body {
  gap: 1.7mm !important;
}

.qrposter .qrposter-steps {
  min-height: 27mm !important;
  margin-top: 7mm !important;
  padding-bottom: 4mm !important;
}

.qrposter .qrposter-step {
  gap: .5mm !important;
}

.qrposter .qrposter-step span {
  display: block !important;
  max-width: 31mm !important;
  line-height: 1.05 !important;
}

.qrposter .qrposter-footer {
  flex-basis: 11mm !important;
  margin-top: 1mm !important;
}

/* QR poster final collision guard */
.qrposter .qrposter-center {
  margin-bottom: 0 !important;
}

.qrposter .qrposter-card {
  min-height: 71mm !important;
  padding-bottom: 3mm !important;
}

.qrposter .qrposter-card p {
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
  padding-bottom: 1.5mm !important;
}

.qrposter .qrposter-steps h3 {
  top: -5.5mm !important;
  z-index: 3 !important;
}

/* Stable compact poster override: no overlapping elements */
.poster-card-v2 {
  width: min(140mm, calc(100vw - 20px)) !important;
  height: 210mm !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  overflow: hidden !important;
  padding: 0 !important;
}

.poster-card-v2 .poster-hero {
  flex: 0 0 42mm !important;
  height: 42mm !important;
  padding: 6mm 7mm !important;
}

.poster-card-v2 .poster-brand-row img {
  width: 17mm !important;
  height: 17mm !important;
}

.poster-card-v2 .poster-brand-row strong {
  font-size: 13px !important;
}

.poster-card-v2 .poster-brand-row span {
  font-size: 7.5px !important;
}

.poster-card-v2 .poster-script {
  top: 7mm !important;
  right: 6mm !important;
  max-width: 44mm !important;
  font-size: 8.5px !important;
}

.poster-card-v2 .poster-wave {
  flex: 0 0 9mm !important;
  height: 9mm !important;
  margin-top: -6mm !important;
}

.poster-card-v2 .poster-main {
  flex: 1 1 auto !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  align-content: start !important;
  gap: 3mm !important;
  margin: 0 !important;
  padding: 0 7mm 0 !important;
}

.poster-card-v2 .poster-main h1 {
  font-size: 22px !important;
  transform: none !important;
  margin: 0 !important;
}

.poster-card-v2 .poster-main h2 {
  margin: 0 auto !important;
  padding: 1.8mm 8mm !important;
  font-size: 11px !important;
}

.poster-card-v2 .poster-title-pill {
  margin: 0 auto !important;
  padding: 1.8mm 7mm !important;
  font-size: 13px !important;
}

.poster-card-v2 .poster-qr-card {
  width: 58mm !important;
  margin: 0 auto !important;
  padding: 4mm !important;
  grid-row: auto !important;
}

.poster-card-v2 .poster-scan-label {
  margin: 0 auto 3mm !important;
  padding: 1.8mm 8mm !important;
  font-size: 11px !important;
}

.poster-card-v2 .poster-corners {
  width: 41mm !important;
  height: 41mm !important;
  padding: 2mm !important;
}

.poster-card-v2 .poster-fill-button {
  margin-top: 3mm !important;
  padding: 2mm 3mm !important;
  font-size: 11px !important;
}

.poster-card-v2 .poster-feature {
  position: static !important;
  width: auto !important;
  display: grid !important;
  justify-items: center !important;
  gap: 1mm !important;
  font-size: 8.5px !important;
}

.poster-card-v2 .poster-feature span {
  width: 11mm !important;
  height: 11mm !important;
  margin: 0 !important;
}

.poster-card-v2 .poster-feature svg {
  width: 6mm !important;
  height: 6mm !important;
}

.poster-card-v2 .poster-feature-left,
.poster-card-v2 .poster-feature-right,
.poster-card-v2 .poster-feature-top,
.poster-card-v2 .poster-feature-bottom {
  left: auto !important;
  right: auto !important;
  top: auto !important;
}

.poster-card-v2 .poster-main::after {
  content: "";
  display: none;
}

.poster-card-v2 .poster-feature-left.poster-feature-top,
.poster-card-v2 .poster-feature-right.poster-feature-top,
.poster-card-v2 .poster-feature-left.poster-feature-bottom,
.poster-card-v2 .poster-feature-right.poster-feature-bottom {
  grid-row: auto !important;
}

.poster-card-v2 .poster-qr-card + .poster-steps,
.poster-card-v2 .poster-steps {
  margin-top: 1mm !important;
}

.poster-card-v2 .poster-main {
  grid-template-areas:
    "title1"
    "title2"
    "pill"
    "qr"
    "features"
    "steps"
    "quote" !important;
}

.poster-card-v2 .poster-main h1 { grid-area: title1 !important; }
.poster-card-v2 .poster-main h2 { grid-area: title2 !important; }
.poster-card-v2 .poster-title-pill { grid-area: pill !important; }
.poster-card-v2 .poster-qr-card { grid-area: qr !important; }
.poster-card-v2 .poster-feature-grid {
  grid-area: features !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 2mm 4mm !important;
  width: min(96mm, 100%) !important;
  margin: 0 auto !important;
}

.poster-card-v2 .poster-feature-grid div {
  display: grid !important;
  grid-template-columns: 10mm 1fr !important;
  align-items: center !important;
  gap: 2mm !important;
  text-align: left !important;
  color: var(--navy) !important;
  font-size: 8px !important;
  line-height: 1.12 !important;
  font-weight: 900 !important;
}

.poster-card-v2 .poster-feature-grid i,
.poster-card-v2 .poster-feature-grid svg {
  width: 10mm !important;
  height: 10mm !important;
  padding: 2mm !important;
  border-radius: 999px !important;
  color: #006bd6 !important;
  background: #dff4ff !important;
}

.poster-card-v2 .poster-feature-left.poster-feature-top {
  grid-area: features !important;
}

.poster-card-v2 .poster-feature-right.poster-feature-top,
.poster-card-v2 .poster-feature-left.poster-feature-bottom,
.poster-card-v2 .poster-feature-right.poster-feature-bottom {
  grid-area: features !important;
}

.poster-card-v2 .poster-main {
  --feature-gap: 2mm;
}

.poster-card-v2 .poster-feature {
  align-self: start !important;
}

.poster-card-v2 .poster-feature-left.poster-feature-top {
  justify-self: stretch !important;
}

.poster-card-v2 .poster-feature-left.poster-feature-top::before {
  content: "";
  display: none;
}

.poster-card-v2 .poster-feature-left.poster-feature-top,
.poster-card-v2 .poster-feature-right.poster-feature-top,
.poster-card-v2 .poster-feature-left.poster-feature-bottom,
.poster-card-v2 .poster-feature-right.poster-feature-bottom {
  display: none !important;
}

.poster-card-v2 .poster-steps {
  grid-area: steps !important;
  padding: 6mm 3mm 3mm !important;
  border-radius: 10px !important;
  grid-template-columns: 1fr 8px 1fr 8px 1fr !important;
  gap: 1mm !important;
}

.poster-card-v2 .poster-steps-title {
  top: -4mm !important;
  padding: 1.7mm 9mm !important;
  font-size: 10px !important;
}

.poster-card-v2 .poster-step b {
  width: 7mm !important;
  height: 7mm !important;
  font-size: 10px !important;
}

.poster-card-v2 .poster-step svg {
  width: 8mm !important;
  height: 8mm !important;
}

.poster-card-v2 .poster-step strong {
  font-size: 8px !important;
}

.poster-card-v2 .poster-step span {
  font-size: 6.5px !important;
}

.poster-card-v2 .poster-step-arrow {
  font-size: 18px !important;
  line-height: 24mm !important;
}

.poster-card-v2 .poster-quote {
  grid-area: quote !important;
  margin: 0 !important;
  font-size: 10.5px !important;
}

.poster-card-v2 .poster-bottom-bar {
  position: static !important;
  flex: 0 0 13mm !important;
  margin: 0 5mm 4mm !important;
  min-height: 13mm !important;
  padding: 2mm 4mm !important;
  gap: 1mm !important;
}

.poster-card-v2 .poster-bottom-bar span {
  font-size: 6.5px !important;
}

.poster-card-v2 .poster-bottom-bar svg {
  width: 9px !important;
  height: 9px !important;
}

@media print {
  .poster-card-v2 {
    width: 140mm !important;
    height: 210mm !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
}

/* Final guest-room QR poster, 14cm x 21cm */
.poster-card-v2 {
  width: min(140mm, calc(100vw - 24px));
  height: 210mm;
  min-height: 0;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  display: block;
  background:
    linear-gradient(180deg, #fff 0%, #eaf7ff 46%, #fff 100%);
  border: 1px solid #b8dcf6;
  box-shadow: 0 28px 80px rgba(0, 75, 131, .24);
}

.poster-card-v2::before {
  display: none;
}

.poster-hero {
  height: 46mm;
  position: relative;
  padding: 8mm 9mm;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.15)),
    url('../img/sekolah.jpg') center 43%/cover no-repeat;
}

.poster-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 20mm;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff);
}

.poster-brand-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--navy);
  text-shadow: 0 1px 10px rgba(255,255,255,.9);
}

.poster-brand-row img {
  width: 22mm;
  height: 22mm;
  object-fit: contain;
}

.poster-brand-row strong {
  display: block;
  font-size: 16px;
  font-weight: 950;
  letter-spacing: 0;
}

.poster-brand-row span {
  display: block;
  font-size: 8px;
  font-weight: 900;
}

.poster-script {
  position: absolute;
  z-index: 1;
  top: 8mm;
  right: 8mm;
  margin: 0;
  max-width: 48mm;
  text-align: right;
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-size: 10px;
  font-weight: 950;
  line-height: 1.15;
  color: var(--navy);
  transform: rotate(-5deg);
}

.poster-script::after {
  content: "";
  display: block;
  width: 34mm;
  height: 2px;
  margin: 3px 0 0 auto;
  border-radius: 99px;
  background: #0a3775;
}

.poster-wave {
  position: relative;
  z-index: 2;
  height: 18mm;
  margin-top: -9mm;
  background:
    radial-gradient(90mm 26mm at 35% 0, #fff 0 60%, transparent 61%),
    linear-gradient(168deg, transparent 0 12%, #1685f8 13% 24%, #ffca28 24.5% 30%, #fff 30.5%);
}

.poster-main {
  position: relative;
  z-index: 3;
  margin-top: -3mm;
  padding: 0 9mm;
  text-align: center;
  color: var(--navy);
}

.poster-main h1 {
  margin: 0;
  font-size: 26px;
  line-height: .95;
  font-weight: 950;
  color: #1685f8;
  text-shadow:
    -2px -2px 0 #fff,
    2px -2px 0 #fff,
    -2px 2px 0 #fff,
    2px 2px 0 #fff,
    0 5px 12px rgba(0,75,131,.24);
  transform: rotate(-4deg);
}

.poster-main h2 {
  display: inline-block;
  margin: 2mm 0 2mm;
  padding: 2mm 11mm;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #1685f8, #004eb8);
  font-size: 14px;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(0,75,131,.25);
}

.poster-title-pill {
  width: max-content;
  max-width: 100%;
  margin: 0 auto 4mm;
  padding: 2mm 9mm;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(180deg, #e9f8ff, #d6efff);
  color: var(--navy);
  font-size: 16px;
  font-weight: 950;
}

.poster-title-pill svg {
  width: 18px;
  height: 18px;
  color: #006bd6;
}

.poster-feature {
  position: absolute;
  width: 32mm;
  color: var(--navy);
  font-size: 11px;
  line-height: 1.13;
}

.poster-feature span {
  width: 17mm;
  height: 17mm;
  margin: 0 auto 3mm;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #dff4ff;
  color: #006bd6;
  box-shadow: 0 10px 20px rgba(0,107,214,.13);
}

.poster-feature svg {
  width: 9mm;
  height: 9mm;
}

.poster-feature-left {
  left: 8mm;
}

.poster-feature-right {
  right: 8mm;
}

.poster-feature-top {
  top: 46mm;
}

.poster-feature-bottom {
  top: 83mm;
}

.poster-qr-card {
  width: 57mm;
  margin: 0 auto;
  padding: 6mm 6mm 5mm;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(0,75,131,.15);
}

.poster-scan-label {
  width: max-content;
  margin: -1mm auto 4mm;
  padding: 2mm 9mm;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  background: #ffc526;
  color: var(--navy);
  font-size: 13px;
  font-weight: 950;
}

.poster-scan-label svg {
  width: 15px;
  height: 15px;
}

.poster-corners {
  position: relative;
  width: 42mm;
  height: 42mm;
  margin: 0 auto;
  padding: 3mm;
  background: #fff;
}

.poster-corners::before,
.poster-corners::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid #1677d8;
  border-radius: 8px;
  clip-path: polygon(0 0, 22% 0, 22% 5%, 5% 5%, 5% 22%, 0 22%, 0 0, 78% 0, 100% 0, 100% 22%, 95% 22%, 95% 5%, 78% 5%, 78% 0, 100% 78%, 100% 100%, 78% 100%, 78% 95%, 95% 95%, 95% 78%, 100% 78%, 22% 100%, 0 100%, 0 78%, 5% 78%, 5% 95%, 22% 95%, 22% 100%);
}

.poster-corners img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
}

.poster-fill-button {
  margin-top: 5mm;
  padding: 2.5mm 4mm;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #fff;
  background: linear-gradient(135deg, #1685f8, #004eb8);
  font-size: 13px;
  font-weight: 950;
}

.poster-fill-button svg {
  width: 16px;
  height: 16px;
}

.poster-steps {
  position: relative;
  margin-top: 5mm;
  padding: 8mm 4mm 4mm;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 1fr 12px 1fr 12px 1fr;
  gap: 2mm;
  align-items: start;
  background: rgba(255,255,255,.72);
  border: 1px solid #cfe9ff;
  box-shadow: inset 0 1px 20px rgba(22,133,248,.08);
}

.poster-steps-title {
  position: absolute;
  top: -5mm;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  padding: 2mm 12mm;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #1685f8, #004eb8);
  font-size: 13px;
  font-weight: 950;
}

.poster-step {
  display: grid;
  justify-items: center;
  gap: 1mm;
  color: var(--navy);
}

.poster-step b {
  width: 9mm;
  height: 9mm;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #006bd6;
  font-size: 12px;
}

.poster-step svg {
  width: 11mm;
  height: 11mm;
  color: #006bd6;
}

.poster-step strong {
  font-size: 10px;
  line-height: 1.15;
}

.poster-step span {
  font-size: 8px;
  line-height: 1.15;
}

.poster-step-arrow {
  color: #5bbcff;
  font-size: 28px;
  line-height: 34mm;
  font-weight: 900;
}

.poster-quote {
  margin: 5mm 0 0;
  color: var(--navy);
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-size: 14px;
  font-weight: 950;
  font-style: italic;
}

.poster-quote::after {
  content: "";
  display: block;
  width: 58mm;
  height: 2px;
  margin: 1mm auto 0;
  border-radius: 999px;
  background: #ffc526;
}

.poster-bottom-bar {
  position: absolute;
  left: 5mm;
  right: 5mm;
  bottom: 5mm;
  min-height: 15mm;
  padding: 3mm 5mm;
  border-radius: 999px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2mm;
  align-items: center;
  color: #fff;
  background: linear-gradient(135deg, #007be9, #00458e);
  box-shadow: 0 14px 28px rgba(0,75,131,.22);
}

.poster-bottom-bar span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 8px;
  font-weight: 850;
  white-space: nowrap;
}

.poster-bottom-bar svg {
  width: 12px;
  height: 12px;
}

@media print {
  .poster-card-v2 {
    width: 140mm;
    height: 210mm;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

.quote {
  margin-top: 12px;
  font-size: clamp(15px, 2vw, 18px);
  font-style: italic;
}

.public-stage {
  position: relative;
  background:
    linear-gradient(180deg, rgba(241,249,255,.96), rgba(255,255,255,.96)),
    url('../img/sekolah.jpg') center top/cover fixed;
}

.form-wrap.public-stage {
  min-height: calc(100vh - 90px);
  padding: 34px 0 58px;
}

.form-wrap .container {
  width: min(1040px, calc(100% - 28px));
}

.form-card {
  border-radius: 14px;
  border-color: #e0edfb;
  background: rgba(255,255,255,.94);
  box-shadow: 0 24px 70px rgba(15, 47, 95, .12);
}

.form-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.form-heading h1 {
  color: var(--navy);
  margin: 0;
  font-size: clamp(26px, 4vw, 34px);
}

.form-heading p {
  margin: 4px 0 0;
}

.form-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #00a8ff, #2563eb);
  box-shadow: 0 16px 28px rgba(37, 99, 235, .22);
}

.form-icon svg {
  width: 28px;
  height: 28px;
}

.form-card label {
  color: #001d4a;
  font-size: 14px;
}

.form-card input,
.form-card select,
.form-card textarea {
  border-color: #c9ddf2;
  border-radius: 8px;
  background: rgba(255,255,255,.96);
}

.form-card textarea {
  min-height: 94px;
}

.form-actions {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 18px;
  margin-top: 24px;
}

.form-actions .btn {
  width: 100%;
  min-height: 58px;
  border-radius: 10px;
  font-size: 17px;
}

.success-page.public-stage {
  min-height: 100vh;
  padding: 30px 18px;
  background:
    linear-gradient(180deg, rgba(240,249,255,.94), rgba(255,255,255,.98)),
    url('../img/sekolah.jpg') center bottom/cover no-repeat;
}

.success-card {
  width: min(620px, 100%);
  min-height: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255,255,255,.96);
}

.success-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 150px;
  opacity: .28;
  background: url('../img/sekolah.jpg') center bottom/cover no-repeat;
  mask-image: linear-gradient(transparent, #000 38%);
}

.success-icon {
  width: 124px;
  height: 124px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  box-shadow: 0 18px 42px rgba(22,163,74,.24);
}

.success-icon svg {
  width: 74px;
  height: 74px;
  stroke-width: 4;
}

.success-card h1 {
  color: var(--navy);
  margin: 14px 0 0;
  font-size: clamp(34px, 5vw, 46px);
}

.success-card h2 {
  margin: 6px 0 0;
  color: var(--navy);
  font-size: clamp(18px, 3vw, 24px);
}

.arrival-card {
  width: min(300px, 100%);
  margin: 26px 0 18px;
  padding: 20px;
  border-radius: 12px;
  display: grid;
  justify-items: center;
  gap: 4px;
  background: linear-gradient(180deg, #e2f4ff, #d7efff);
  color: var(--navy);
}

.arrival-card svg {
  width: 30px;
  height: 30px;
}

.arrival-card span {
  font-weight: 700;
}

.arrival-card b {
  font-size: 30px;
}

.success-script {
  position: absolute;
  z-index: 1;
  bottom: 18px;
  margin: 0;
  color: var(--navy);
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-weight: 700;
  font-style: italic;
}

@media (max-width: 760px) {
  .public-header-home {
    position: relative;
    padding: 14px 0;
  }

  .public-header .container {
    align-items: center;
  }

  .header-script,
  .public-page-title {
    display: none;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand strong {
    font-size: 15px;
  }

  .brand small {
    font-size: 12px;
  }

  .home-hero {
    min-height: calc(100vh - 74px);
    padding: 0;
  }

  .home-hero::before {
    background:
      linear-gradient(180deg, rgba(235,247,255,.12), rgba(255,255,255,.1) 22%, rgba(255,255,255,.9) 48%, #fff 78%),
      var(--hero-image, none) center top/auto 42vh no-repeat;
  }

  .home-panel {
    min-height: calc(100vh - 74px);
    justify-content: end;
    padding-bottom: 22px;
  }

  .home-copy h1 {
    font-size: clamp(28px, 10vw, 42px);
  }

  .home-copy h2 {
    font-size: clamp(20px, 7vw, 28px);
  }

  .home-copy h3 {
    font-size: clamp(19px, 6vw, 26px);
  }

  .home-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
    margin: 22px 0 18px;
  }

  .home-features .feature span {
    width: 52px;
    height: 52px;
  }

  .btn-hero {
    width: min(304px, 100%);
    min-height: 58px;
    font-size: 18px;
  }

  .scan-hint,
  .qr-print {
    display: none;
  }

  .form-heading {
    align-items: flex-start;
    gap: 12px;
  }

  .form-icon {
    width: 48px;
    height: 48px;
  }

  .form-actions {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .success-card {
    min-height: 660px;
  }
}

/* Admin visual polish */
.admin-shell {
  background:
    radial-gradient(circle at top right, rgba(56,189,248,.14), transparent 32%),
    linear-gradient(180deg, #eef7ff, #f7fbff 44%, #eef7ff);
}

.sidebar {
  background: linear-gradient(180deg, #073763, #06477e 52%, #00305a);
  border-right: 0;
  color: #fff;
  box-shadow: 12px 0 34px rgba(15, 47, 95, .12);
}

.brand-admin strong,
.brand-admin small {
  color: #fff;
}

.brand-admin img {
  width: 46px;
  height: 46px;
}

.side-nav a {
  color: rgba(255,255,255,.86);
  border: 1px solid transparent;
}

.side-nav a.active,
.side-nav a:hover {
  background: linear-gradient(135deg, #1685f8, #03a6d8);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
}

.admin-main {
  padding: 28px;
}

.admin-topbar {
  padding: 0 2px;
}

.admin-topbar h1 {
  font-weight: 950;
}

.card {
  border-color: #cfe0f2;
}

.section-card,
.stat-card {
  border-radius: 12px;
}

.stat-card {
  min-height: 112px;
  background: linear-gradient(135deg, #fff, #f8fcff);
}

.stat-card strong {
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1;
}

.stat-card .muted {
  font-weight: 700;
}

.chart-box {
  position: relative;
  height: 320px;
  width: 100%;
}

.donut-box {
  height: 360px;
}

.dashboard-charts .section-card,
.report-chart-card,
.report-period-card {
  overflow: hidden;
}

.report-filter-card {
  padding: 18px;
}

.report-filters {
  grid-template-columns: repeat(6, minmax(145px, 1fr));
}

.report-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-success {
  background: #10b981;
  color: #fff;
}

.btn-dark {
  background: #1f2937;
  color: #fff;
}

.report-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.report-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 16px;
  margin-top: 16px;
}

.report-mini-list {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.report-mini-list span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f1f8ff;
  color: var(--navy);
}

.report-document {
  background: #fff;
}

.report-head {
  line-height: 1.35;
}

.report-head h2 {
  margin: 14px 0 4px;
  color: var(--navy);
}

.report-table-wrap {
  border-radius: 10px;
}

.report-table {
  min-width: 980px;
  font-size: 12px;
}

.report-table th {
  background: #eaf5ff;
}

@media (max-width: 1024px) {
  .report-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .sidebar {
    box-shadow: 18px 0 42px rgba(15,47,95,.28);
  }

  .admin-main {
    padding: 16px;
  }

  .chart-box,
  .donut-box {
    height: 280px;
  }

  .report-stats {
    grid-template-columns: 1fr;
  }
}

/* Poster final override: compact 14 x 21 cm print layout */
.poster-page {
  min-height: 100vh !important;
  padding: 14px !important;
  display: grid !important;
  place-items: center !important;
  background:
    linear-gradient(rgba(232, 247, 255, .86), rgba(232, 247, 255, .86)),
    url('../img/sekolah.jpg') center/cover fixed !important;
}

.poster-card-v2 {
  width: min(140mm, calc(100vw - 28px)) !important;
  height: 210mm !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  border-radius: 14px !important;
  border: 1px solid rgba(14, 122, 214, .18) !important;
  background: linear-gradient(180deg, #f5fbff 0%, #eaf8ff 54%, #f8fdff 100%) !important;
  box-shadow: 0 20px 42px rgba(4, 48, 98, .16) !important;
}

.poster-card-v2::before,
.poster-card-v2::after,
.poster-main::before,
.poster-main::after,
.poster-hero::after {
  display: none !important;
  content: none !important;
}

.poster-hero {
  flex: 0 0 62mm !important;
  height: 62mm !important;
  min-height: 0 !important;
  padding: 7mm 8mm 16mm !important;
  border-radius: 0 !important;
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.02) 42%, rgba(233,247,255,.72) 76%, #eaf8ff 100%),
    url('../img/sekolah.jpg') center 42%/cover no-repeat !important;
}

.poster-brand-row {
  position: relative !important;
  z-index: 2 !important;
  max-width: 74mm !important;
  display: flex !important;
  align-items: center !important;
  gap: 3mm !important;
  padding: 0 !important;
  background: transparent !important;
  color: #06275a !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.55) !important;
}

.poster-card-v2 .poster-brand-row img {
  width: 13mm !important;
  height: 13mm !important;
  object-fit: contain !important;
  filter: drop-shadow(0 5px 8px rgba(0,0,0,.16)) !important;
}

.poster-card-v2 .poster-brand-row strong {
  display: block !important;
  font-size: 15px !important;
  line-height: 1.05 !important;
  font-weight: 950 !important;
  color: #06275a !important;
}

.poster-card-v2 .poster-brand-row span {
  display: block !important;
  margin-top: 2px !important;
  font-size: 8px !important;
  line-height: 1.12 !important;
  font-weight: 800 !important;
  color: #06275a !important;
}

.poster-card-v2 .poster-script {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  z-index: 2 !important;
  width: 44mm !important;
  margin: 0 !important;
  color: #06275a !important;
  font-family: 'Comic Sans MS', 'Segoe Print', cursive !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  text-align: right !important;
  transform: rotate(-5deg) !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.72) !important;
}

.poster-wave {
  flex: 0 0 9mm !important;
  height: 9mm !important;
  margin-top: -9mm !important;
  position: relative !important;
  z-index: 3 !important;
  background:
    linear-gradient(166deg, transparent 0 13%, #1685f8 13% 35%, #ffd23c 35% 44%, transparent 44% 100%) !important;
  clip-path: polygon(0 30%, 30% 6%, 58% 36%, 100% 7%, 100% 100%, 0 100%) !important;
}

.poster-main {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  position: relative !important;
  z-index: 4 !important;
  margin: -2mm 0 0 !important;
  padding: 0 7mm 2.5mm !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-areas:
    "title1"
    "title2"
    "pill"
    "qr"
    "features"
    "steps"
    "quote" !important;
  justify-items: center !important;
  align-content: start !important;
  gap: 1.6mm !important;
  background:
    radial-gradient(circle at 14% 38%, rgba(219,244,255,.95) 0 18mm, transparent 19mm),
    radial-gradient(circle at 86% 43%, rgba(219,244,255,.95) 0 18mm, transparent 19mm),
    linear-gradient(180deg, #eaf8ff 0%, #f8fdff 76%, #ffffff 100%) !important;
}

.poster-card-v2 .poster-main h1 {
  grid-area: title1 !important;
  margin: -1mm 0 0 !important;
  color: #1788f4 !important;
  font-size: 24px !important;
  line-height: .92 !important;
  font-weight: 1000 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-shadow:
    0 2px 0 #fff,
    0 4px 10px rgba(3, 92, 177, .20) !important;
  transform: rotate(-3deg) !important;
}

.poster-card-v2 .poster-main h2 {
  grid-area: title2 !important;
  margin: 0 !important;
  padding: 2.2mm 9mm !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #188cf7, #075bc4) !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  box-shadow: 0 8px 16px rgba(0, 93, 190, .18) !important;
}

.poster-card-v2 .poster-title-pill {
  grid-area: pill !important;
  margin: 0 !important;
  min-height: 9mm !important;
  padding: 0 10mm !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2mm !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, rgba(228,248,255,.98), rgba(203,237,255,.98)) !important;
  color: #06275a !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
}

.poster-card-v2 .poster-feature-left,
.poster-card-v2 .poster-feature-right,
.poster-card-v2 .poster-feature-top,
.poster-card-v2 .poster-feature-bottom,
.poster-card-v2 .poster-feature {
  display: none !important;
}

.poster-card-v2 .poster-qr-card {
  grid-area: qr !important;
  width: 56mm !important;
  min-height: 0 !important;
  padding: 4mm 4mm 4.5mm !important;
  margin: 0 !important;
  display: grid !important;
  justify-items: center !important;
  gap: 2.4mm !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 14px 30px rgba(2, 76, 142, .14) !important;
}

.poster-card-v2 .poster-scan-label {
  height: 10mm !important;
  padding: 0 7mm !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2mm !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #ffc62b, #ffb515) !important;
  color: #06275a !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  white-space: nowrap !important;
}

.poster-card-v2 .poster-corners {
  width: 38mm !important;
  height: 38mm !important;
  padding: 1.5mm !important;
  border-radius: 8px !important;
  border: 2px solid #197cf0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

.poster-card-v2 .poster-corners img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: contain !important;
  image-rendering: pixelated !important;
}

.poster-card-v2 .poster-fill-button {
  width: 43mm !important;
  min-height: 10mm !important;
  margin: 0 !important;
  padding: 0 4mm !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2mm !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #198cf6, #075bc4) !important;
  font-size: 10px !important;
  line-height: 1.05 !important;
  font-weight: 950 !important;
  text-align: center !important;
}

.poster-card-v2 .poster-feature-grid {
  grid-area: features !important;
  width: 100% !important;
  margin: 1.8mm 0 0 !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1.2mm !important;
}

.poster-card-v2 .poster-feature-grid div {
  min-height: 20mm !important;
  padding: 2mm 1mm !important;
  display: grid !important;
  justify-items: center !important;
  align-content: center !important;
  gap: 1mm !important;
  border-radius: 9px !important;
  background: rgba(255,255,255,.58) !important;
  color: #06275a !important;
  text-align: center !important;
}

.poster-card-v2 .poster-feature-grid i,
.poster-card-v2 .poster-feature-grid svg {
  width: 8mm !important;
  height: 8mm !important;
  padding: 1.8mm !important;
  border-radius: 50% !important;
  background: #d8f3ff !important;
  color: #0877df !important;
  stroke-width: 2.6 !important;
}

.poster-card-v2 .poster-feature-grid strong {
  display: block !important;
  font-size: 7px !important;
  line-height: 1.05 !important;
  font-weight: 950 !important;
}

.poster-card-v2 .poster-steps {
  grid-area: steps !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: .5mm 0 0 !important;
  padding: 6mm 2.5mm 2.5mm !important;
  position: relative !important;
  display: grid !important;
  grid-template-columns: 1fr 7px 1fr 7px 1fr !important;
  align-items: start !important;
  gap: 1mm !important;
  border-radius: 10px !important;
  border: 1px solid #cdeeff !important;
  background: rgba(255,255,255,.74) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7) !important;
}

.poster-card-v2 .poster-steps-title {
  position: absolute !important;
  top: -4mm !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  height: 8mm !important;
  padding: 0 12mm !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #1685f8, #075bc4) !important;
  color: #fff !important;
  font-size: 9px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  white-space: nowrap !important;
}

.poster-card-v2 .poster-step {
  min-width: 0 !important;
  display: grid !important;
  justify-items: center !important;
  gap: .7mm !important;
  text-align: center !important;
  color: #06275a !important;
}

.poster-card-v2 .poster-step b {
  width: 6mm !important;
  height: 6mm !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  background: #096ad3 !important;
  color: #fff !important;
  font-size: 9px !important;
  line-height: 1 !important;
}

.poster-card-v2 .poster-step svg {
  width: 7mm !important;
  height: 7mm !important;
  color: #0877df !important;
  stroke-width: 2.7 !important;
}

.poster-card-v2 .poster-step strong {
  font-size: 7.5px !important;
  line-height: 1.05 !important;
  font-weight: 950 !important;
}

.poster-card-v2 .poster-step span {
  font-size: 6.5px !important;
  line-height: 1.1 !important;
  color: #06275a !important;
}

.poster-card-v2 .poster-step-arrow {
  align-self: center !important;
  color: #65b7ee !important;
  font-size: 22px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}

.poster-card-v2 .poster-quote {
  grid-area: quote !important;
  margin: .5mm 0 0 !important;
  color: #06275a !important;
  font-family: 'Comic Sans MS', 'Segoe Print', cursive !important;
  font-size: 11px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  text-align: center !important;
}

.poster-card-v2 .poster-bottom-bar {
  flex: 0 0 14mm !important;
  position: static !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: auto !important;
  min-height: 0 !important;
  margin: 0 5mm 4mm !important;
  padding: 0 4mm !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: center !important;
  gap: 1mm !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #087de4, #004c99) !important;
  box-shadow: 0 10px 22px rgba(1, 66, 140, .18) !important;
}

.poster-card-v2 .poster-bottom-bar span {
  min-width: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1.2mm !important;
  color: #fff !important;
  font-size: 6.4px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

.poster-card-v2 .poster-bottom-bar svg {
  flex: 0 0 auto !important;
  width: 4.2mm !important;
  height: 4.2mm !important;
  color: #dff5ff !important;
  stroke-width: 2.5 !important;
}

.poster-actions {
  position: fixed !important;
  right: 18px !important;
  bottom: 18px !important;
  z-index: 20 !important;
  display: flex !important;
  gap: 10px !important;
}

@media print {
  @page {
    size: 140mm 210mm;
    margin: 0;
  }

  html,
  body,
  .poster-page {
    width: 140mm !important;
    height: 210mm !important;
    min-height: 210mm !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    overflow: hidden !important;
  }

  .poster-card-v2 {
    width: 140mm !important;
    height: 210mm !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

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