@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");
/* EDUTRIX V3 unified responsive stylesheet */
@import  url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,500;1,600&display=swap");
html:has(body.landing-page) {
  color-scheme: light;
  --paper: #faf6f1;
  --ink: #241d1b;
  --wine: #124e5a;
  --wine-dark: #0b3d47;
  --gold: #d49a3a;
  --line: #e8d9ca;
}
body.landing-page, body.landing-page * { box-sizing: border-box; }
html:has(body.landing-page) { scroll-behavior: smooth; }
body.landing-page {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.landing-page a { color: inherit; }
body.landing-page button { font: inherit; }
body.landing-page .site-shell { max-width: 1480px; min-height: 100vh; margin: auto; padding: 24px 5.2% 18px; }
body.landing-page .site-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
body.landing-page .brand { display: inline-flex; gap: 16px; align-items: flex-start; text-decoration: none; }
body.landing-page .brand-mark { position: relative; width: 25px; height: 64px; border-left: 3px solid var(--gold); border-top: 3px solid var(--gold); flex-shrink: 0; }
body.landing-page .brand-mark::before { position: absolute; top: -3px; left: 0; width: 26px; border-top: 3px solid var(--gold); content: ""; }
body.landing-page .brand-copy { display: flex; flex-direction: column; padding-top: 1px; }
body.landing-page .brand-name { font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif; font-weight: 600; font-size: clamp(29px, 3.2vw, 52px); letter-spacing: .19em; line-height: 1; }
body.landing-page .brand-subtitle { font-size: 10px; letter-spacing: .48em; margin-top: 8px; padding-left: 4px; }
body.landing-page .language-switch { display: flex; align-items: center; gap: 7px; margin-top: 5px; }
body.landing-page .language-switch button { border: 1px solid #d7cec0; border-radius: 30px; background: transparent; padding: 10px 16px; min-width: 62px; cursor: pointer; font-size: 13px; font-weight: 700; transition: .2s ease; }
body.landing-page .language-switch button[aria-pressed="true"] { background: var(--wine); color: white; border-color: var(--wine); }
body.landing-page .language-switch button:focus-visible, body.landing-page .main-cta:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
body.landing-page .hero { display: grid; grid-template-columns: minmax(0, 43%) minmax(0, 57%); align-items: center; gap: 0; margin-top: 18px; }
body.landing-page .hero > * { min-width: 0; }
body.landing-page .hero-copy { position: relative; z-index: 1; min-width: 0; padding: 10px 12px 32px 0; }
body.landing-page .eyebrow { font-size: 12px; letter-spacing: .22em; color: #806459; font-weight: 700; }
body.landing-page h1 { font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif; font-size: clamp(54px, 5.35vw, 84px); line-height: .91; margin: 24px 0 12px; font-weight: 600; color: var(--wine); letter-spacing: -.025em; overflow-wrap: normal; }
body.landing-page h1 br { display: block; }
html:has(body.landing-page)[lang="en"] h1 { font-size: clamp(52px, 5vw, 78px); letter-spacing: -.035em; }
html:has(body.landing-page)[lang="de"] h1 { font-size: clamp(51px, 5.15vw, 80px); letter-spacing: -.03em; }
body.landing-page .brush-line { display: block; height: 7px; max-width: 285px; width: 63%; background: var(--gold); border-radius: 90% 20% 80% 20%; transform: rotate(-2deg); margin: 28px 0 28px 42px; }
body.landing-page .hero-description { font-size: clamp(19px, 2.1vw, 27px); max-width: 420px; line-height: 1.45; margin: 0 0 36px; }
body.landing-page .hero-visual { width: 100%; }
body.landing-page .hero-visual img { display: block; width: 100%; max-width: 100%; height: auto; margin-left: 0; mix-blend-mode: multiply; }
body.landing-page .main-cta { display: inline-flex; align-items: center; justify-content: center; gap: 24px; border-radius: 100px; background: var(--wine); color: #fff; padding: 19px 34px; min-height: 64px; font-size: 18px; font-weight: 700; text-decoration: none; box-shadow: 0 9px 22px rgba(18,78,90,.16); transition: background .15s, transform .15s; }
body.landing-page .main-cta:hover { background: var(--wine-dark); transform: translateY(-2px); }
body.landing-page .main-cta span { font-size: 27px; line-height: .6; font-weight: 400; }
body.landing-page .mobile-cta { display: none; }
body.landing-page .steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 14px 0 25px; padding: 23px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
body.landing-page .step { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 6px 12px; border-right: 1px solid var(--line); }
body.landing-page .step:first-child { padding-left: 0; }
body.landing-page .step:last-child { border-right: 0; padding-right: 0; }
body.landing-page .step-icon { color: var(--wine); background: #f4ece3; border-radius: 50%; display: grid; place-items: center; width: 53px; height: 53px; flex: 0 0 53px; }
body.landing-page .step-icon svg { width: 26px; height: 26px; }
body.landing-page .step-number { font-size: 25px; color: var(--gold); font-family: Georgia, serif; }
body.landing-page .step-text { font-size: 14px; font-weight: 700; line-height: 1.35; }
body.landing-page .payment-note { display: flex; align-items: center; justify-content: center; gap: 18px; border-radius: 24px; background: #f0e7df; padding: 20px 25px; }
body.landing-page .payment-note p { font-size: 15px; line-height: 1.5; margin: 0; font-weight: 600; }
body.landing-page .note-icon { color: var(--wine); flex-shrink: 0; }
body.landing-page .note-icon svg { width: 31px; height: 31px; }
body.landing-page .site-footer { display: flex; gap: 12px; align-items: center; justify-content: center; padding: 25px 0 2px; font-size: 12px; color: #896f61; }
body.landing-page .site-footer span:first-child { letter-spacing: .2em; font-weight: 700; color: var(--wine); }
@media  (max-width: 980px) {body.landing-page .site-shell { padding: 22px 4% 16px; }
body.landing-page .hero { grid-template-columns: minmax(0, 1fr); gap: 12px; }
body.landing-page .hero-copy { text-align: center; padding: 14px 0 0; }
body.landing-page h1, html:has(body.landing-page)[lang="en"] h1, html:has(body.landing-page)[lang="de"] h1 { font-size: clamp(62px, 9vw, 86px); }
body.landing-page .brush-line { margin-left: auto; margin-right: auto; }
body.landing-page .hero-description { margin-left: auto; margin-right: auto; }
body.landing-page .hero-visual { max-width: 780px; margin: 0 auto; }
body.landing-page .hero-copy .main-cta { margin-bottom: 8px; }
body.landing-page .step { flex-wrap: wrap; justify-content: flex-start; gap: 8px; }
body.landing-page .step-icon { width: 43px; height: 43px; flex-basis: 43px; }
body.landing-page .step-text { flex-basis: 100%; font-size: 13px; }}
@media  (max-width: 680px) {body.landing-page .site-shell { padding: 18px 20px 22px; }
body.landing-page .site-header { align-items: center; gap: 6px; }
body.landing-page .brand { gap: 9px; }
body.landing-page .brand-mark { width: 13px; height: 40px; border-width: 2px; }
body.landing-page .brand-mark::before { border-width: 2px; width: 17px; top: -2px; }
body.landing-page .brand-name { font-size: clamp(22px, 6vw, 32px); letter-spacing: .12em; }
body.landing-page .brand-subtitle { font-size: 7px; letter-spacing: .31em; margin-top: 5px; }
body.landing-page .language-switch { gap: 4px; margin: 0; }
body.landing-page .language-switch button { font-size: 11px; padding: 8px 9px; min-width: 35px; }
body.landing-page .hero { display: flex; flex-direction: column; align-items: stretch; margin-top: 36px; }
body.landing-page .hero-copy { text-align: center; padding: 0; }
body.landing-page .eyebrow { font-size: 10px; letter-spacing: .15em; }
body.landing-page h1, html:has(body.landing-page)[lang="en"] h1, html:has(body.landing-page)[lang="de"] h1 { font-size: clamp(49px, 11.2vw, 70px); margin: 17px 0 7px; line-height: .94; }
html:has(body.landing-page)[lang="en"] h1 { font-size: clamp(45px, 10.5vw, 66px); }
body.landing-page .brush-line { margin: 16px auto; max-width: 205px; }
body.landing-page .hero-description { font-size: 18px; max-width: 310px; margin: 0 auto 4px; }
body.landing-page .desktop-cta { display: none; }
body.landing-page .hero-visual { margin: 13px 0 0; }
body.landing-page .hero-visual img { width: 100%; margin-left: 0; }
body.landing-page .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 9px 0 17px; padding: 16px 0; }
body.landing-page .step { flex-direction: column; flex-wrap: nowrap; gap: 5px; padding: 0 5px; text-align: center; justify-content: flex-start; }
body.landing-page .step:first-child { padding-left: 0; }
body.landing-page .step:last-child { padding-right: 0; }
body.landing-page .step-icon { width: 39px; height: 39px; flex: 0 0 39px; }
body.landing-page .step-icon svg { width: 22px; height: 22px; }
body.landing-page .step-number { font-size: 18px; }
body.landing-page .step-text { font-size: 10px; flex-basis: auto; }
body.landing-page .payment-note { border-radius: 16px; padding: 15px 14px; gap: 10px; }
body.landing-page .payment-note p { font-size: 12px; line-height: 1.5; }
body.landing-page .note-icon svg { width: 25px; height: 25px; }
body.landing-page .mobile-cta { display: flex; width: 100%; min-height: 59px; margin-top: 18px; font-size: 16px; }
body.landing-page .site-footer { padding-top: 21px; font-size: 10px; }}
@media  (prefers-reduced-motion: reduce) {body.landing-page, body.landing-page * { scroll-behavior: auto !important; transition: none !important; }}
body.kiosk-page, body.kiosk-page * {
    box-sizing: border-box;
  }
body.kiosk-page {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #222 0%, #050509 60%, #000 100%);
    color: #f8f9ff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
  }
body.kiosk-page .kiosk-container {
    width: 100%;
    max-width: 1024px;
    height: 100%;
    max-height: 768px;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
body.kiosk-page header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 4px 0 10px;
    gap: 4px;
  }
body.kiosk-page header h1 {
    position: relative;
    font-size: 44px;
    letter-spacing: 0.08em;
    margin: 0;
  }
body.kiosk-page header h1::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 180px;
    height: 40px;
    background: radial-gradient(circle at left,
      rgba(255, 122, 217, 0.28),
      transparent 65%);
    transform: translateY(-50%);
    pointer-events: none;
    z-index: -1;
  }
body.kiosk-page .brand-dot {
    font-size: 0.9em;
    margin-left: 4px;
    color: #87fec0;
  }
body.kiosk-page .header-steps {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-width: 640px;
  }
body.kiosk-page .header-steps-label {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.7;
  }
body.kiosk-page .header-steps-text {
    font-size: 13px;
    opacity: 0.9;
    display: none;
  }
body.kiosk-page .steps-nav {
    display: flex;
    gap: 8px;
    margin-top: 6px;
  }
body.kiosk-page .step-tab {
    flex: 1;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.04);
    color: #f8f9ff;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0.9;
    transition:
      background 0.12s ease-out,
      border-color 0.12s ease-out,
      opacity 0.12s ease-out,
      box-shadow 0.12s ease-out;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.7);
    white-space: nowrap;
  }
body.kiosk-page .step-tab.active {
    background: linear-gradient(135deg, #7ce7af, #000401);
    border-color: rgba(255, 255, 255, 0.9);
    opacity: 1;
    box-shadow:
      0 0 0 2px rgba(0, 0, 0, 0.9),
      0 0 18px rgba(255, 122, 217, 0.8);
  }
body.kiosk-page .kiosk-main {
    flex: 1;
    display: flex;
    gap: 24px;
    margin-top: 8px;
  }
body.kiosk-page .section-step {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 6px;
    text-align: left;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  }
body.kiosk-page .camera-section {
    flex: 1.3;
    display: flex;
    align-items: center;
    justify-content: center;
  }
body.kiosk-page .camera-frame {
    width: 100%;
    max-width: 460px;
    aspect-ratio: 3 / 4;
    border-radius: 24px;
    background: radial-gradient(circle at top, #222233 0%, #050509 70%);
    box-shadow:
      0 18px 40px rgba(0, 0, 0, 0.9),
      0 0 0 1px rgba(255, 255, 255, 0.08);
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    position: relative;
    overflow: hidden;
  }
body.kiosk-page .camera-frame::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 34px;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.9),
      rgba(0, 0, 0, 0)
    );
    pointer-events: none;
    z-index: 0;
  }
body.kiosk-page .camera-frame .section-step {
    position: relative;
    z-index: 1;
  }
body.kiosk-page .camera-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    background: radial-gradient(circle at center, #171724 0%, #050509 80%);
    display: flex;
    align-items: center;
    justify-content: center;
  }
body.kiosk-page .camera-oval-mask {
    width: 74%;
    height: 82%;
    border-radius: 52% / 70%;
    border: 3px solid rgba(255, 255, 255, 0.98);
    box-shadow:
      0 0 30px rgba(255, 255, 255, 0.55),
      0 0 0 9999px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
  }
body.kiosk-page .camera-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
  }
body.kiosk-page .camera-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    text-align: center;
    padding: 0 16px;
    pointer-events: none;
  }
body.kiosk-page .hint-text {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    opacity: 0.9;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.9);
  }
body.kiosk-page .portrait-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: rgba(8, 8, 16, 0.96);
    border-radius: 20px;
    padding: 16px 16px 14px;
    box-shadow:
      0 14px 30px rgba(0, 0, 0, 0.9),
      0 0 0 1px rgba(255, 255, 255, 0.08);
  }
body.kiosk-page .portrait-section h2 {
    margin: 0 0 8px;
    font-size: 18px;
  }
body.kiosk-page .portrait-subtitle {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 12px;
  }
body.kiosk-page .portrait-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 6px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
  }
body.kiosk-page .portrait-pagination small {
    opacity: 0.7;
  }
body.kiosk-page .btn-page {
    padding: 6px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
    color: #f5f5f5;
    font-size: 10px;
    letter-spacing: 0.10em;
    cursor: pointer;
    opacity: 0.95;
    box-shadow:
      0 0 0 2px rgba(0, 0, 0, 0.7),
      0 6px 14px rgba(0, 0, 0, 0.9);
    transition:
      background 0.12s ease-out,
      color 0.12s ease-out,
      border-color 0.12s ease-out,
      box-shadow 0.12s ease-out,
      opacity 0.12s ease-out;
  }
body.kiosk-page .btn-page:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.9);
    opacity: 1;
    box-shadow:
      0 0 0 2px rgba(255, 255, 255, 0.4),
      0 0 20px rgba(0, 0, 0, 1);
  }
body.kiosk-page .btn-page:disabled {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.35);
    opacity: 0.7;
    box-shadow: none;
    cursor: default;
  }
body.kiosk-page #portrait-list {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    overflow-y: auto;
    padding-right: 4px;
    margin-bottom: 12px;
  }
body.kiosk-page .portrait {
    width: 90px;
    height: 120px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 12px;
    border: 2px solid transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.9);
    transition:
      transform 0.12s ease-out,
      box-shadow 0.12s ease-out,
      border-color 0.12s ease-out,
      opacity 0.12s ease-out;
    opacity: 0.95;
    background: #111;
  }
body.kiosk-page .portrait:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 1);
    opacity: 1;
  }
body.kiosk-page .portrait.selected {
    position: relative;
    border-color: #ffcc33;
    box-shadow:
      0 0 0 3px rgba(255, 204, 51, 0.9),
      0 0 26px rgba(255, 204, 51, 0.9),
      0 10px 24px rgba(0, 0, 0, 1);
    opacity: 1;
    z-index: 1;
  }
body.kiosk-page .portrait.selected::after {
    content: "✓";
    position: absolute;
    top: 6px;
    right: 6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffcc33;
    color: #000;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(255, 204, 51, 1);
  }
body.kiosk-page .btn-primary {
    position: relative;
    width: 100%;
    padding: 14px 22px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    background: linear-gradient(135deg, #7ce7af, #000401);
    color: #ffffff;
    font-size: 17px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    opacity: 1;
    filter: none;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.85);
    box-shadow:
      0 0 0 2px rgba(0, 0, 0, 0.9),
      0 0 24px rgba(255, 122, 217, 0.9);
    transition:
      transform 0.08s ease-out,
      box-shadow 0.08s ease-out,
      filter 0.08s ease-out;
  }
body.kiosk-page .btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow:
      0 0 0 3px rgba(255, 255, 255, 0.5),
      0 0 30px rgba(255, 122, 217, 1);
  }
body.kiosk-page .btn-primary:active {
    transform: translateY(0);
    filter: brightness(0.98);
    box-shadow:
      0 0 0 2px rgba(255, 255, 255, 0.4),
      0 0 18px rgba(255, 122, 217, 0.9);
  }
body.kiosk-page .btn-print:hover {
    filter: brightness(1.08);
  }
body.kiosk-page .btn-secondary {
    margin-top: 4px;
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.06);
    color: #fdfdfd;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0.98;
    transition:
      background 0.12s ease-out,
      color 0.12s ease-out,
      border-color 0.12s ease-out,
      box-shadow 0.12s ease-out,
      transform 0.08s ease-out;
  }
body.kiosk-page .btn-secondary:hover {
    background: linear-gradient(135deg, #ff4fa3, #ffa24f);
    border-color: #ffffff;
    color: #000;
    box-shadow:
      0 0 0 2px rgba(255, 255, 255, 0.7),
      0 0 24px rgba(255, 79, 163, 0.95);
    transform: translateY(-1px);
  }
body.kiosk-page .btn-secondary:active {
    background: linear-gradient(135deg, #e04390, #ff9330);
    border-color: #ffffff;
    color: #000;
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.7),
      0 0 16px rgba(255, 79, 163, 0.8);
    transform: translateY(0);
  }
body.kiosk-page #loader-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
  }
body.kiosk-page .loader-box {
    background: rgba(10, 10, 18, 0.98);
    border-radius: 20px;
    padding: 18px 26px;
    box-shadow:
      0 18px 40px rgba(0, 0, 0, 1),
      0 0 0 1px rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 220px;
  }
body.kiosk-page .loader-spinner {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.22);
    border-top-color: #ffcc33;
    animation: loader-spin 0.9s linear infinite;
  }
body.kiosk-page .loader-text {
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.95;
  }
@keyframes  loader-spin {
    to {
      transform: rotate(360deg);
    }
  }
body.kiosk-page #payment-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }
body.kiosk-page .payment-box {
    background: rgba(10, 10, 18, 0.99);
    border-radius: 20px;
    padding: 22px 26px 20px;
    max-width: 420px;
    width: 100%;
    box-shadow:
      0 18px 40px rgba(0, 0, 0, 1),
      0 0 0 1px rgba(255, 255, 255, 0.12);
  }
body.kiosk-page .payment-box h3 {
    margin: 0 0 10px;
    font-size: 20px;
  }
body.kiosk-page .payment-text {
    font-size: 14px;
    opacity: 0.92;
    margin: 0 0 10px;
  }
body.kiosk-page .payment-qr {
    display: block;
    margin: 10px auto 0;
    max-width: 220px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.9);
  }
body.kiosk-page .payment-email-row {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
  }
body.kiosk-page .payment-email-row input {
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.6);
    color: #fdfdfd;
    outline: none;
  }
body.kiosk-page .payment-email-row input::placeholder {
    color: rgba(255, 255, 255, 0.7);
  }
body.kiosk-page .payment-actions {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
  }
@media  (max-width: 768px) {body.kiosk-page {
      align-items: flex-start;
      justify-content: flex-start;
    }
body.kiosk-page .kiosk-container {
      max-width: 100%;
      max-height: none;
      height: auto;
      padding: 8px 10px 12px;
    }
body.kiosk-page header h1 {
      font-size: 32px;
    }
body.kiosk-page .header-steps-text {
      font-size: 12px;
    }
body.kiosk-page .steps-nav {
      margin-top: 6px;
    }
body.kiosk-page .step-tab {
      font-size: 11px;
      padding: 6px 6px;
    }
body.kiosk-page .kiosk-main {
      flex-direction: column;
      gap: 10px;
      margin-top: 8px;
    }
body.kiosk-page .kiosk-main[data-step="portrait"] .camera-section {
      display: none;
    }
body.kiosk-page .kiosk-main[data-step="camera"] .portrait-section {
      display: none;
    }
body.kiosk-page .portrait-section {
      order: 1;
      flex: none;
      width: 100%;
      padding: 10px 10px 8px;
    }
body.kiosk-page #portrait-list {
      max-height: 54vh;
      padding-right: 0;
      justify-content: center;
    }
body.kiosk-page .portrait {
      width: calc(33.333% - 8px);
      height: auto;
      aspect-ratio: 3 / 4;
    }
body.kiosk-page .camera-section {
      order: 2;
      flex: none;
      width: 100%;
    }
body.kiosk-page .camera-frame {
      max-width: 100%;
      width: 100%;
      padding: 10px 10px 12px;
      border-radius: 18px;
      aspect-ratio: auto;
      gap: 12px;
    }
body.kiosk-page .camera-inner {
      border-radius: 14px;
      width: 100%;
      height: 52vh;
      min-height: 260px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      padding: 8px 6px 6px;
      position: relative;
    }
body.kiosk-page .camera-oval-mask {
      width: 72%;
      height: auto;
      max-height: 85%;
      aspect-ratio: 3 / 4;
      margin: 0 auto 6px;
      border-width: 2px;
    }
body.kiosk-page .hint-text {
      position: static;
      transform: none;
      bottom: auto;
      left: auto;
      font-size: 12px;
      line-height: 1.4;
      text-align: center;
      padding: 0 10px 4px;
      max-width: 90%;
      white-space: normal;
      opacity: 0.9;
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    }
body.kiosk-page #btnCapture, body.kiosk-page #btnPrint {
      width: 100%;
    }
body.kiosk-page .payment-box {
      margin: 0 10px;
      padding: 18px 16px 16px;
    }}

html:has(body.kiosk-page) {
  --ed-bg: #faf6f0;
  --ed-surface: #fffdf9;
  --ed-text: #271b19;
  --ed-muted: #756a64;
  --ed-brand: #124e5a;
  --ed-gold: #c18a2d;
  --ed-border: #e8dcd0;
}
html:has(body.kiosk-page) {
  scroll-behavior: smooth;
}
body.kiosk-page {
  display: block;
  min-height: 100dvh;
  background: var(--ed-bg);
  color: var(--ed-text);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
body.kiosk-page .kiosk-container {
  width: min(100%, 1280px);
  max-width: none;
  max-height: none;
  height: auto;
  min-height: 100dvh;
  margin: 0 auto;
  padding: clamp(16px, 3vw, 42px);
  gap: 22px;
}
body.kiosk-page header {
  border-bottom: 1px solid var(--ed-border);
  padding-bottom: 18px;
}
body.kiosk-page header h1 {
  font-family: Georgia, serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 500;
  letter-spacing: .17em;
  text-transform: uppercase;
}
body.kiosk-page header h1::after, body.kiosk-page .brand-dot, body.kiosk-page .camera-frame::before {
  display: none;
}
body.kiosk-page .header-steps-label, body.kiosk-page .header-steps-text, body.kiosk-page .section-step {
  color: var(--ed-muted);
  text-shadow: none;
}
body.kiosk-page .steps-nav {
  gap: 12px;
}
body.kiosk-page .step-tab {
  min-height: 48px;
  border: 1px solid var(--ed-border);
  border-radius: 14px;
  background: var(--ed-surface);
  color: var(--ed-text);
  font-weight: 650;
  letter-spacing: .025em;
  box-shadow: none;
  opacity: 1;
}
body.kiosk-page .step-tab.active {
  background: var(--ed-brand);
  border-color: var(--ed-brand);
  color: white;
  box-shadow: none;
}
body.kiosk-page .kiosk-main {
  gap: clamp(16px, 2.8vw, 36px);
  align-items: stretch;
}
body.kiosk-page .portrait-section, body.kiosk-page .camera-frame {
  background: var(--ed-surface);
  border: 1px solid var(--ed-border);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(54, 35, 24, .07);
}
body.kiosk-page .portrait-section {
  min-width: 0;
  padding: clamp(16px, 2vw, 26px);
}
body.kiosk-page .section-step {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  margin-bottom: 14px;
}
body.kiosk-page #portrait-list {
  align-content: flex-start;
  gap: 12px;
  padding: 2px;
}
body.kiosk-page .portrait {
  border-radius: 11px;
  border: 2px solid transparent;
  box-shadow: 0 3px 10px rgba(47, 28, 18, .12);
  background: #eee8e0;
}
body.kiosk-page .portrait:hover {
  box-shadow: 0 7px 17px rgba(47, 28, 18, .15);
}
body.kiosk-page .portrait.selected {
  border-color: var(--ed-brand);
  box-shadow: 0 0 0 2px var(--ed-brand);
}
body.kiosk-page .portrait-pagination {
  color: var(--ed-muted);
  font-size: 13px;
}
body.kiosk-page .btn-page, body.kiosk-page .btn-secondary {
  min-height: 44px;
  border: 1px solid var(--ed-border);
  border-radius: 12px;
  background: white;
  color: var(--ed-text);
  box-shadow: none;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}
body.kiosk-page .btn-page:hover:not(:disabled), body.kiosk-page .btn-secondary:hover {
  color: var(--ed-brand);
  border-color: var(--ed-gold);
  background: #fff8ed;
  box-shadow: none;
}
body.kiosk-page .btn-page:disabled {
  color: #aaa29d;
  background: #f6f2ed;
  border-color: var(--ed-border);
  box-shadow: none;
}
body.kiosk-page .btn-primary {
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--ed-brand);
  color: white;
  text-shadow: none;
  box-shadow: none;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
}
body.kiosk-page .btn-primary:hover {
  background: #64071d;
  box-shadow: 0 8px 16px rgba(121, 11, 37, .12);
}
body.kiosk-page .camera-section {
  min-width: 0;
}
body.kiosk-page .camera-frame {
  width: 100%;
  max-width: 520px;
  aspect-ratio: auto;
  min-height: 540px;
  padding: clamp(16px, 2vw, 26px);
}
body.kiosk-page .camera-inner {
  min-height: 380px;
  background: #201b1c;
}
body.kiosk-page .camera-oval-mask {
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, .42);
}
body.kiosk-page #payment-modal, body.kiosk-page #loader-overlay {
  padding: 16px;
  background: rgba(29, 18, 19, .7);
}
body.kiosk-page .payment-box, body.kiosk-page .loader-box {
  max-width: 460px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  background: var(--ed-surface);
  color: var(--ed-text);
  border: 1px solid var(--ed-border);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(20, 10, 10, .22);
}
body.kiosk-page .payment-box h3 {
  color: var(--ed-brand);
}
body.kiosk-page .payment-email-row input {
  min-height: 46px;
  border: 1px solid #c7bdb5;
  border-radius: 10px;
  background: white;
  color: var(--ed-text);
}
body.kiosk-page .payment-email-row input::placeholder {
  color: #817b77;
}
body.kiosk-page .payment-email-row input:focus-visible, body.kiosk-page button:focus-visible {
  outline: 3px solid var(--ed-gold);
  outline-offset: 3px;
}
body.kiosk-page .payment-qr {
  width: min(100%, 220px);
  box-shadow: none;
}
body.kiosk-page .loader-spinner {
  border-color: #eee2d4;
  border-top-color: var(--ed-brand);
}
@media  (max-width: 768px) {body.kiosk-page .kiosk-container {
    padding: 16px 14px 28px;
    gap: 16px;
  }
body.kiosk-page header h1 {
    font-size: clamp(29px, 9vw, 40px);
  }
body.kiosk-page .steps-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    gap: 8px;
    background: var(--ed-bg);
    padding: 8px 0;
  }
body.kiosk-page .step-tab {
    font-size: 12px;
    min-height: 48px;
    white-space: normal;
  }
body.kiosk-page .kiosk-main {
    flex-direction: column;
  }
body.kiosk-page .kiosk-main[data-step="portrait"] .camera-section {
    display: none;
  }
body.kiosk-page .kiosk-main[data-step="camera"] .portrait-section {
    display: none;
  }
body.kiosk-page .portrait-section {
    width: 100%;
    padding: 16px 12px;
  }
body.kiosk-page #portrait-list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 12px;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 8px;
    padding: 6px 4px 16px;
    -webkit-overflow-scrolling: touch;
  }
body.kiosk-page .portrait {
    flex: 0 0 clamp(135px, 46vw, 220px);
    width: clamp(135px, 46vw, 220px);
    height: auto;
    aspect-ratio: 3 / 4;
    scroll-snap-align: center;
  }
body.kiosk-page .portrait-pagination {
    flex-wrap: wrap;
    gap: 8px;
  }
body.kiosk-page .btn-page {
    padding: 8px 10px;
    flex: 1;
    min-width: 110px;
  }
body.kiosk-page .camera-frame {
    min-height: 0;
    padding: 16px 12px;
  }
body.kiosk-page .camera-inner {
    min-height: 280px;
    height: min(56dvh, 460px);
  }
body.kiosk-page .payment-box {
    width: 100%;
    margin: 0;
    padding: 22px 18px;
  }
body.kiosk-page .payment-actions {
    flex-wrap: wrap;
  }
body.kiosk-page .payment-actions button {
    flex: 1 1 150px;
  }}
@media  (max-width: 360px) {body.kiosk-page .portrait-pagination {
    font-size: 11px;
  }
body.kiosk-page .section-step {
    font-size: 11px;
  }}
@media  (prefers-reduced-motion: reduce) {body.kiosk-page, body.kiosk-page *, body.kiosk-page *::before, body.kiosk-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }}

@import  url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600&display=swap");
html:has(body.kiosk-page) {
  --ed-bg: #faf6f1;
  --ed-surface: #fffdf9;
  --ed-text: #281b19;
  --ed-muted: #796d65;
  --ed-brand: #124e5a;
  --ed-gold: #d49a3a;
  --ed-border: #e9ded4;
}
html:has(body.kiosk-page), body.kiosk-page {
  min-height: 100%;
  overflow-x: hidden;
}
body.kiosk-page {
  display: block;
  background: var(--ed-bg);
  color: var(--ed-text);
}
body.kiosk-page .kiosk-container {
  width: min(100%, 1240px);
  max-width: 1240px;
  min-height: 100dvh;
  height: auto;
  max-height: none;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 42px) clamp(16px, 4vw, 44px);
  gap: 20px;
}
body.kiosk-page .kiosk-container > header {
  padding: 0 0 16px;
  border-bottom: 1px solid var(--ed-border);
}
body.kiosk-page .kiosk-container > header h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(39px, 5vw, 56px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: .18em;
  text-transform: uppercase;
}
body.kiosk-page .steps-nav {
  margin-top: 0;
  gap: 10px;
}
body.kiosk-page .step-tab, body.kiosk-page .step-tab.active {
  box-shadow: none;
  border-radius: 999px;
  min-height: 48px;
  font-size: 13px;
  letter-spacing: .025em;
  text-transform: none;
}
body.kiosk-page .step-tab {
  background: #fff;
  border: 1px solid var(--ed-border);
  color: var(--ed-text);
}
body.kiosk-page .step-tab.active {
  background: var(--ed-brand);
  border-color: var(--ed-brand);
  color: #fff;
}
body.kiosk-page .kiosk-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(16px, 3vw, 32px);
  margin-top: 0;
  min-height: 0;
  flex: none;
}
body.kiosk-page .portrait-section, body.kiosk-page .camera-section {
  min-width: 0;
  width: 100%;
  display: block;
  flex: none;
}
body.kiosk-page .portrait-section, body.kiosk-page .camera-frame {
  background: var(--ed-surface);
  border: 1px solid var(--ed-border);
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(41, 24, 17, .06);
}
body.kiosk-page .portrait-section {
  min-height: 0;
  padding: clamp(16px, 2vw, 26px);
}
body.kiosk-page .section-step {
  text-align: left;
  margin: 0 0 9px;
  color: var(--ed-brand);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .07em;
  text-shadow: none;
}
body.kiosk-page .gallery-help {
  margin: 0 0 18px;
  color: var(--ed-muted);
  line-height: 1.45;
  font-size: 14px;
}
body.kiosk-page #portrait-list {
  flex: none;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  max-height: none;
  min-height: 0;
  margin: 0;
  padding: 6px 4px 20px;
  scroll-snap-type: x mandatory;
  scrollbar-color: #d0b08a transparent;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
body.kiosk-page .portrait {
  flex: 0 0 clamp(135px, 15vw, 185px);
  width: clamp(135px, 15vw, 185px);
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  scroll-snap-align: center;
  border: 3px solid transparent;
  border-radius: 12px;
  background: #eee5db;
  box-shadow: 0 4px 16px rgba(50, 33, 20, .12);
  opacity: 1;
}
body.kiosk-page .portrait:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(50, 33, 20, .17);
}
body.kiosk-page .portrait.selected {
  border-color: var(--ed-brand);
  box-shadow: 0 0 0 2px rgba(121, 5, 32, .18), 0 8px 20px rgba(50, 33, 20, .15);
}
body.kiosk-page .portrait-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  color: var(--ed-muted);
  font-size: 13px;
}
body.kiosk-page .btn-page, body.kiosk-page .btn-secondary {
  min-height: 44px;
  border: 1px solid var(--ed-border);
  border-radius: 12px;
  background: white;
  color: var(--ed-text);
  box-shadow: none;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}
body.kiosk-page .btn-page:disabled { opacity: .45; }
body.kiosk-page .camera-frame {
  width: 100%;
  max-width: none;
  min-height: 0;
  aspect-ratio: auto;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  padding: clamp(16px, 2vw, 26px);
  gap: 14px;
  overflow: visible;
}
body.kiosk-page .camera-frame::before { display: none; }
body.kiosk-page .camera-inner {
  width: 100%;
  height: clamp(320px, 37vw, 450px);
  min-height: 0;
  padding: 15px;
  border-radius: 16px;
  background: #191618;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  gap: 8px;
}
body.kiosk-page .camera-oval-mask {
  width: min(70%, 255px);
  height: auto;
  aspect-ratio: 3 / 4;
  max-height: calc(100% - 44px);
  flex-shrink: 1;
  border: 2px solid rgba(255, 255, 255, .95);
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, .2);
  margin: 0;
  overflow: hidden;
}
body.kiosk-page .camera-media {
  object-fit: cover;
}
body.kiosk-page .camera-placeholder {
  font-size: 13px;
  line-height: 1.45;
}
body.kiosk-page .hint-text {
  position: static;
  transform: none;
  color: #fff;
  white-space: normal;
  text-align: center;
  max-width: 100%;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  text-shadow: none;
  opacity: .9;
}
body.kiosk-page #btnCapture, body.kiosk-page #btnPrint {
  width: 100%;
  min-height: 50px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: none;
}
body.kiosk-page #btnCapture {
  background: var(--ed-brand);
  color: #fff;
  border: 1px solid var(--ed-brand);
}
body.kiosk-page #btnCapture:disabled { opacity: .65; }
body.kiosk-page #btnPrint { background: var(--ed-brand); color: #fff; }
body.kiosk-page #loader-overlay, body.kiosk-page #payment-modal {
  padding: 18px;
  background: rgba(24, 14, 16, .72);
}
body.kiosk-page .payment-box, body.kiosk-page .loader-box {
  width: min(100%, 480px);
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  background: var(--ed-surface);
  color: var(--ed-text);
  border: 1px solid var(--ed-border);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(20, 10, 10, .22);
}
body.kiosk-page .payment-box h3 { color: var(--ed-brand); }
body.kiosk-page .payment-box .payment-text { color: var(--ed-text); }
body.kiosk-page .payment-box .payment-qr { max-width: 220px; height: auto; }
body.kiosk-page button:focus-visible, body.kiosk-page .portrait:focus-visible, body.kiosk-page input:focus-visible {
  outline: 3px solid var(--ed-gold);
  outline-offset: 3px;
}
@media  (max-width: 768px) {body.kiosk-page .kiosk-container {
    padding: 18px 14px 32px;
    gap: 16px;
  }
body.kiosk-page .kiosk-main {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
body.kiosk-page .kiosk-main[data-step="portrait"] .camera-section { display: none; }
body.kiosk-page .kiosk-main[data-step="camera"] .portrait-section { display: none; }
body.kiosk-page .steps-nav {
    position: sticky;
    z-index: 15;
    top: 0;
    padding: 8px 0;
    background: var(--ed-bg);
  }
body.kiosk-page .step-tab { flex: 1; font-size: 12px; white-space: normal; }
body.kiosk-page .portrait-section { padding: 18px 14px; }
body.kiosk-page #portrait-list { gap: 12px; }
body.kiosk-page .portrait {
    flex-basis: clamp(180px, 66vw, 300px);
    width: clamp(180px, 66vw, 300px);
  }
body.kiosk-page .camera-inner { height: min(60dvh, 510px); min-height: 320px; }
body.kiosk-page .camera-oval-mask { width: min(72%, 285px); }
body.kiosk-page .portrait-pagination { flex-wrap: nowrap; }
body.kiosk-page .btn-page { min-width: 0; padding: 7px 9px; font-size: 12px; }
body.kiosk-page .payment-box { margin: 0; padding: 20px 16px; }
body.kiosk-page .payment-actions { flex-wrap: wrap; }
body.kiosk-page .payment-actions button { flex: 1 1 140px; }}
@media  (max-width: 380px) {body.kiosk-page .kiosk-container > header h1 { font-size: 34px; }
body.kiosk-page .gallery-help { font-size: 13px; }
body.kiosk-page .camera-inner { height: 380px; }
body.kiosk-page .portrait-pagination { gap: 4px; }
body.kiosk-page .btn-page { font-size: 11px; }}
@media  (prefers-reduced-motion: reduce) {body.kiosk-page, body.kiosk-page *, body.kiosk-page *::before, body.kiosk-page *::after { scroll-behavior: auto !important; transition: none !important; }}

@import  url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600&display=swap");
html:has(body.kiosk-page) {
  --ed-bg: #faf6f1;
  --ed-surface: #fffdf9;
  --ed-text: #281b19;
  --ed-muted: #796d65;
  --ed-brand: #124e5a;
  --ed-gold: #d49a3a;
  --ed-border: #e9ded4;
}
html:has(body.kiosk-page), body.kiosk-page {
  min-height: 100%;
  overflow-x: hidden;
}
body.kiosk-page {
  display: block;
  background: var(--ed-bg);
  color: var(--ed-text);
}
body.kiosk-page .kiosk-container {
  width: min(100%, 1240px);
  max-width: 1240px;
  min-height: 100dvh;
  height: auto;
  max-height: none;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 42px) clamp(16px, 4vw, 44px);
  gap: 20px;
}
body.kiosk-page .kiosk-container > header {
  padding: 0 0 16px;
  border-bottom: 1px solid var(--ed-border);
}
body.kiosk-page .kiosk-container > header h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(39px, 5vw, 56px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: .18em;
  text-transform: uppercase;
}
body.kiosk-page .steps-nav {
  margin-top: 0;
  gap: 10px;
}
body.kiosk-page .step-tab, body.kiosk-page .step-tab.active {
  box-shadow: none;
  border-radius: 999px;
  min-height: 48px;
  font-size: 13px;
  letter-spacing: .025em;
  text-transform: none;
}
body.kiosk-page .step-tab {
  background: #fff;
  border: 1px solid var(--ed-border);
  color: var(--ed-text);
}
body.kiosk-page .step-tab.active {
  background: var(--ed-brand);
  border-color: var(--ed-brand);
  color: #fff;
}
body.kiosk-page .kiosk-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(16px, 3vw, 32px);
  margin-top: 0;
  min-height: 0;
  flex: none;
}
body.kiosk-page .portrait-section, body.kiosk-page .camera-section {
  min-width: 0;
  width: 100%;
  display: block;
  flex: none;
}
body.kiosk-page .portrait-section, body.kiosk-page .camera-frame {
  background: var(--ed-surface);
  border: 1px solid var(--ed-border);
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(41, 24, 17, .06);
}
body.kiosk-page .portrait-section {
  min-height: 0;
  padding: clamp(16px, 2vw, 26px);
}
body.kiosk-page .section-step {
  text-align: left;
  margin: 0 0 9px;
  color: var(--ed-brand);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .07em;
  text-shadow: none;
}
body.kiosk-page .gallery-help {
  margin: 0 0 18px;
  color: var(--ed-muted);
  line-height: 1.45;
  font-size: 14px;
}
body.kiosk-page #portrait-list {
  flex: none;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  max-height: none;
  min-height: 0;
  margin: 0;
  padding: 6px 4px 20px;
  scroll-snap-type: x mandatory;
  scrollbar-color: #d0b08a transparent;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
body.kiosk-page .portrait {
  flex: 0 0 clamp(135px, 15vw, 185px);
  width: clamp(135px, 15vw, 185px);
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  scroll-snap-align: center;
  border: 3px solid transparent;
  border-radius: 12px;
  background: #eee5db;
  box-shadow: 0 4px 16px rgba(50, 33, 20, .12);
  opacity: 1;
}
body.kiosk-page .portrait:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(50, 33, 20, .17);
}
body.kiosk-page .portrait.selected {
  border-color: var(--ed-brand);
  box-shadow: 0 0 0 2px rgba(121, 5, 32, .18), 0 8px 20px rgba(50, 33, 20, .15);
}
body.kiosk-page .portrait-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  color: var(--ed-muted);
  font-size: 13px;
}
body.kiosk-page .btn-page, body.kiosk-page .btn-secondary {
  min-height: 44px;
  border: 1px solid var(--ed-border);
  border-radius: 12px;
  background: white;
  color: var(--ed-text);
  box-shadow: none;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}
body.kiosk-page .btn-page:disabled { opacity: .45; }
body.kiosk-page .camera-frame {
  width: 100%;
  max-width: none;
  min-height: 0;
  aspect-ratio: auto;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  padding: clamp(16px, 2vw, 26px);
  gap: 14px;
  overflow: visible;
}
body.kiosk-page .camera-frame::before { display: none; }
body.kiosk-page .camera-inner {
  width: 100%;
  height: clamp(320px, 37vw, 450px);
  min-height: 0;
  padding: 15px;
  border-radius: 16px;
  background: #191618;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  gap: 8px;
}
body.kiosk-page .camera-oval-mask {
  width: min(70%, 255px);
  height: auto;
  aspect-ratio: 3 / 4;
  max-height: calc(100% - 44px);
  flex-shrink: 1;
  border: 2px solid rgba(255, 255, 255, .95);
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, .2);
  margin: 0;
  overflow: hidden;
}
body.kiosk-page .camera-media {
  object-fit: cover;
}
body.kiosk-page .camera-placeholder {
  font-size: 13px;
  line-height: 1.45;
}
body.kiosk-page .hint-text {
  position: static;
  transform: none;
  color: #fff;
  white-space: normal;
  text-align: center;
  max-width: 100%;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  text-shadow: none;
  opacity: .9;
}
body.kiosk-page #btnCapture, body.kiosk-page #btnPrint {
  width: 100%;
  min-height: 50px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: none;
}
body.kiosk-page #btnCapture {
  background: var(--ed-brand);
  color: #fff;
  border: 1px solid var(--ed-brand);
}
body.kiosk-page #btnCapture:disabled { opacity: .65; }
body.kiosk-page #btnPrint { background: var(--ed-brand); color: #fff; }
body.kiosk-page #loader-overlay, body.kiosk-page #payment-modal {
  padding: 18px;
  background: rgba(24, 14, 16, .72);
}
body.kiosk-page .payment-box, body.kiosk-page .loader-box {
  width: min(100%, 480px);
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  background: var(--ed-surface);
  color: var(--ed-text);
  border: 1px solid var(--ed-border);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(20, 10, 10, .22);
}
body.kiosk-page .payment-box h3 { color: var(--ed-brand); }
body.kiosk-page .payment-box .payment-text { color: var(--ed-text); }
body.kiosk-page .payment-box .payment-qr { max-width: 220px; height: auto; }
body.kiosk-page button:focus-visible, body.kiosk-page .portrait:focus-visible, body.kiosk-page input:focus-visible {
  outline: 3px solid var(--ed-gold);
  outline-offset: 3px;
}
@media  (max-width: 768px) {body.kiosk-page .kiosk-container {
    padding: 18px 14px 32px;
    gap: 16px;
  }
body.kiosk-page .kiosk-main {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
body.kiosk-page .kiosk-main[data-step="portrait"] .camera-section { display: none; }
body.kiosk-page .kiosk-main[data-step="camera"] .portrait-section { display: none; }
body.kiosk-page .steps-nav {
    position: sticky;
    z-index: 15;
    top: 0;
    padding: 8px 0;
    background: var(--ed-bg);
  }
body.kiosk-page .step-tab { flex: 1; font-size: 12px; white-space: normal; }
body.kiosk-page .portrait-section { padding: 18px 14px; }
body.kiosk-page #portrait-list { gap: 12px; }
body.kiosk-page .portrait {
    flex-basis: clamp(180px, 66vw, 300px);
    width: clamp(180px, 66vw, 300px);
  }
body.kiosk-page .camera-inner { height: min(60dvh, 510px); min-height: 320px; }
body.kiosk-page .camera-oval-mask { width: min(72%, 285px); }
body.kiosk-page .portrait-pagination { flex-wrap: nowrap; }
body.kiosk-page .btn-page { min-width: 0; padding: 7px 9px; font-size: 12px; }
body.kiosk-page .payment-box { margin: 0; padding: 20px 16px; }
body.kiosk-page .payment-actions { flex-wrap: wrap; }
body.kiosk-page .payment-actions button { flex: 1 1 140px; }}
@media  (max-width: 380px) {body.kiosk-page .kiosk-container > header h1 { font-size: 34px; }
body.kiosk-page .gallery-help { font-size: 13px; }
body.kiosk-page .camera-inner { height: 380px; }
body.kiosk-page .portrait-pagination { gap: 4px; }
body.kiosk-page .btn-page { font-size: 11px; }}
@media  (prefers-reduced-motion: reduce) {body.kiosk-page, body.kiosk-page *, body.kiosk-page *::before, body.kiosk-page *::after { scroll-behavior: auto !important; transition: none !important; }}
body.kiosk-page .kiosk-container {
  width: min(100%, 1360px);
  max-width: 1360px;
}
body.kiosk-page .kiosk-container > header.kiosk-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
}
body.kiosk-page .kiosk-header .brand {
  display: inline-flex;
  align-items: flex-start;
  gap: 16px;
  color: #241d1b;
  text-decoration: none;
  flex-shrink: 0;
}
body.kiosk-page .kiosk-header .brand-mark {
  position: relative;
  width: 25px;
  height: 64px;
  flex-shrink: 0;
  border-left: 3px solid var(--ed-gold);
  border-top: 3px solid var(--ed-gold);
}
body.kiosk-page .kiosk-header .brand-mark::before {
  content: "";
  position: absolute;
  left: 0;
  top: -3px;
  width: 26px;
  border-top: 3px solid var(--ed-gold);
}
body.kiosk-page .kiosk-header .brand-copy {
  display: flex;
  flex-direction: column;
  padding-top: 1px;
}
body.kiosk-page .kiosk-header .brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(29px, 3.2vw, 52px);
  letter-spacing: .19em;
  line-height: 1;
  font-weight: 400;
}
body.kiosk-page .kiosk-header .brand-subtitle {
  font: 400 10px/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: .48em;
  margin-top: 8px;
  padding-left: 4px;
}
body.kiosk-page .kiosk-header .header-steps { display: none; }
body.kiosk-page .kiosk-main { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
body.kiosk-page .portrait-section, body.kiosk-page .camera-frame { border-radius: 20px; }
body.kiosk-page .gallery-help { margin-bottom: 14px; }
body.kiosk-page #portrait-list {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(3, 136px);
  grid-auto-columns: 98px;
  gap: 12px;
  width: 100%;
  height: 448px;
  max-height: none;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 3px 14px;
  margin-bottom: 0;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
}
body.kiosk-page #portrait-list .portrait {
  display: block;
  width: 98px;
  height: 136px;
  aspect-ratio: auto;
  flex: none;
  border: 2px solid transparent;
  border-radius: 10px;
  scroll-snap-align: start;
}
body.kiosk-page #portrait-list .portrait.selected {
  border-color: var(--ed-brand);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, .18), 0 6px 15px rgba(50, 33, 20, .15);
}
body.kiosk-page .portrait-pagination { margin-top: 12px; }
body.kiosk-page .camera-inner { height: clamp(370px, 34vw, 490px); }
@media  (max-width: 1050px) and (min-width: 769px) {body.kiosk-page #portrait-list {
    grid-template-rows: repeat(3, 118px);
    grid-auto-columns: 86px;
    height: 396px;
    gap: 10px;
  }
body.kiosk-page #portrait-list .portrait { width: 86px; height: 118px; }}
@media  (max-width: 768px) {body.kiosk-page .kiosk-container > header.kiosk-header { padding-bottom: 13px; }
body.kiosk-page .kiosk-header .brand { gap: 9px; }
body.kiosk-page .kiosk-header .brand-mark { width: 13px; height: 40px; border-width: 2px; }
body.kiosk-page .kiosk-header .brand-mark::before { width: 17px; top: -2px; border-width: 2px; }
body.kiosk-page .kiosk-header .brand-name { font-size: clamp(22px, 6vw, 32px); letter-spacing: .12em; }
body.kiosk-page .kiosk-header .brand-subtitle { font-size: 7px; letter-spacing: .31em; margin-top: 5px; }
body.kiosk-page .kiosk-main { display: flex; }
body.kiosk-page #portrait-list {
    grid-template-rows: repeat(2, min(38vw, 178px));
    grid-auto-columns: min(27vw, 128px);
    height: calc(2 * min(38vw, 178px) + 28px);
    gap: 10px;
    padding: 4px 3px 14px;
  }
body.kiosk-page #portrait-list .portrait { width: 100%; height: 100%; }}
@media  (max-width: 380px) {body.kiosk-page .kiosk-header .brand-name { font-size: 22px; }
body.kiosk-page #portrait-list {
    grid-template-rows: repeat(2, 145px);
    grid-auto-columns: 106px;
    height: 314px;
  }}
body.kiosk-page #portrait-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: none;
  grid-auto-flow: row;
  grid-auto-columns: auto;
  gap: 12px;
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
  padding: 5px;
  margin: 0;
}
body.kiosk-page #portrait-list .portrait-tile {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-width: 0;
  aspect-ratio: 3 / 4;
  padding: 0;
  border: 2px solid #e6d9cd;
  border-radius: 12px;
  background: #f3eee9;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(40, 27, 25, .07);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
body.kiosk-page #portrait-list .portrait-tile:hover {
  transform: translateY(-2px);
  border-color: var(--ed-gold);
}
body.kiosk-page #portrait-list .portrait-tile:focus-visible {
  outline: 3px solid var(--ed-gold);
  outline-offset: 3px;
}
body.kiosk-page #portrait-list .portrait-tile .portrait {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  object-fit: contain;
  aspect-ratio: auto;
  transform: none;
  flex: none;
}
body.kiosk-page #portrait-list .portrait-tile.selected {
  border: 3px solid var(--ed-brand);
  box-shadow: 0 0 0 3px rgba(121, 5, 32, .16), 0 8px 20px rgba(40, 27, 25, .13);
}
body.kiosk-page #portrait-list .portrait-tile.selected::before {
  content: "✓";
  position: absolute;
  z-index: 2;
  top: 7px;
  right: 7px;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  color: #fff;
  background: var(--ed-brand);
  font: 700 18px/1 Arial, sans-serif;
}
body.kiosk-page #portrait-list .portrait-tile.selected::after {
  content: "VYBRÁNO";
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 9px 3px;
  color: #fff;
  background: rgba(121, 5, 32, .94);
  font: 700 11px/1.2 Arial, sans-serif;
  text-align: center;
  letter-spacing: .06em;
}
html:has(body.kiosk-page)[lang="en"] #portrait-list .portrait-tile.selected::after { content: "SELECTED"; }
html:has(body.kiosk-page)[lang="de"] #portrait-list .portrait-tile.selected::after { content: "AUSGEWÄHLT"; }
@media  (max-width: 768px) {body.kiosk-page #portrait-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    height: auto;
    gap: 12px;
    padding: 5px;
    overflow: visible;
    touch-action: pan-y;
  }
body.kiosk-page #portrait-list .portrait-tile {
    max-height: 260px;
  }}

body.kiosk-page .kiosk-language-switch {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: center;
  margin-left: auto;
}
body.kiosk-page .kiosk-language-switch button {
  min-width: 48px;
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid #d7cec0;
  background: transparent;
  color: #281b19;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
body.kiosk-page .kiosk-language-switch button[aria-pressed="true"] {
  background: #124e5a;
  color: #fff;
  border-color: #124e5a;
}
body.kiosk-page .kiosk-language-switch button:focus-visible { outline: 3px solid #d49a3a; outline-offset: 2px; }
body.kiosk-page #btnCapture[data-visual-label] { font-size: 0; }
body.kiosk-page #btnCapture[data-visual-label]::after {
  content: attr(data-visual-label);
  font-size: 15px;
  font-weight: 700;
}
@media  (max-width: 520px) {body.kiosk-page .kiosk-language-switch { gap: 3px; }
body.kiosk-page .kiosk-language-switch button { min-width: 36px; min-height: 34px; font-size: 11px; }
body.kiosk-page .kiosk-container > header.kiosk-header { gap: 5px; }
body.kiosk-page .kiosk-header .brand-subtitle { letter-spacing: .15em; }}

body.kiosk-page .gallery-tip {margin:10px 0 8px;color:#746458;font-size:13px;line-height:1.5}
body.kiosk-page .portrait-tile.selected {outline:3px solid #124e5a;outline-offset:2px}
body.kiosk-page .payment-currency-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0}
body.kiosk-page .payment-currency-row select{padding:10px 15px;background:white;border:1px solid #d3bfb0;border-radius:9px;font-size:15px}
body.kiosk-page .payment-reassurance{font-size:13px;color:#5b514e;line-height:1.6;margin:10px 0}
body.kiosk-page #payment-step2 #payment-details{font-size:13px;line-height:1.65;word-break:break-word;margin:12px 0}
@media (max-width: 600px){body.kiosk-page .payment-box{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto}}


body.kiosk-page .payment-price-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin: 14px 0;
  padding: 17px 14px;
  border: 2px solid #124e5a;
  border-radius: 12px;
  background: #fff8f2;
  text-align: center;
}

body.kiosk-page #payment-price-label {
  font-size: 15px;
  font-weight: 600;
}

body.kiosk-page #payment-price {
  color: #124e5a;
  font-size: clamp(38px, 9vw, 52px);
  line-height: 1.15;
}

body.kiosk-page .payment-delivery-note {
  margin: 14px 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}


/* EDUTRIX V3 – sjednocený design, desktop bez F11 */
:root {
  --ed-ui-font: Arial, Helvetica, sans-serif;
  --ed-title-font: "Cormorant Garamond", Georgia, serif;
  --ed-button-shadow: 0 8px 22px rgba(121, 5, 32, .15);
}
body.landing-page,
body.kiosk-page {
  font-family: var(--ed-ui-font);
  font-size: 15px;
}
body.landing-page button,
body.kiosk-page button,
body.kiosk-page input,
body.kiosk-page select {
  font-family: var(--ed-ui-font);
}
body.landing-page h1 {
  font-family: var(--ed-title-font);
}
body.landing-page .brand-mark,
body.kiosk-page .kiosk-header .brand-mark {
  display: none;
}
body.landing-page .brand,
body.kiosk-page .kiosk-header .brand {
  gap: 0;
  align-items: center;
}
body.landing-page .brand-copy,
body.kiosk-page .kiosk-header .brand-copy {
  padding: 0;
}
body.landing-page .brand-name,
body.kiosk-page .kiosk-header .brand-name {
  font-family: var(--ed-ui-font);
  font-size: clamp(30px, 3vw, 45px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.045em;
  text-transform: none;
  white-space: nowrap;
}
body.landing-page .brand-dot,
body.kiosk-page .kiosk-header .brand-dot {
  color: #42cfa2;
  letter-spacing: 0;
  margin-left: 2px;
}
body.landing-page .brand-subtitle,
body.kiosk-page .kiosk-header .brand-subtitle {
  font-family: var(--ed-ui-font);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: .26em;
  margin-top: 8px;
  padding-left: 2px;
}
body.landing-page .step-number {
  font-family: var(--ed-ui-font);
  font-size: 19px;
  font-weight: 700;
}
body.landing-page .main-cta,
body.landing-page .language-switch button,
body.kiosk-page .step-tab,
body.kiosk-page #btnCapture,
body.kiosk-page #btnPrint,
body.kiosk-page .btn-primary,
body.kiosk-page .btn-secondary,
body.kiosk-page .btn-page,
body.kiosk-page .kiosk-language-switch button,
body.kiosk-page .payment-actions button {
  border-radius: 13px;
  font-weight: 700;
  letter-spacing: 0;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
body.landing-page .main-cta,
body.kiosk-page #btnCapture,
body.kiosk-page #btnPrint,
body.kiosk-page .btn-primary,
body.kiosk-page .step-tab.active {
  background: #124e5a;
  color: #fff;
  border-color: #124e5a;
  box-shadow: var(--ed-button-shadow);
}
body.landing-page .main-cta:hover,
body.kiosk-page #btnCapture:hover:not(:disabled),
body.kiosk-page #btnPrint:hover:not(:disabled),
body.kiosk-page .btn-primary:hover:not(:disabled) {
  background: #0b3d47;
  border-color: #0b3d47;
  box-shadow: 0 11px 26px rgba(37, 99, 235, .20);
  transform: translateY(-1px);
}
body.kiosk-page .btn-secondary:hover:not(:disabled),
body.kiosk-page .btn-page:hover:not(:disabled),
body.kiosk-page .step-tab:not(.active):hover {
  border-color: #b98b82;
  background: #fff8f5;
  transform: translateY(-1px);
}
body.landing-page .language-switch button:hover,
body.kiosk-page .kiosk-language-switch button:hover {
  border-color: #124e5a;
}
body.landing-page .main-cta {
  min-height: 52px;
  padding: 14px 25px;
  gap: 18px;
  font-size: 16px;
}
body.landing-page .language-switch button,
body.kiosk-page .kiosk-language-switch button {
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 12px;
}
body.kiosk-page .step-tab,
body.kiosk-page .step-tab.active {
  min-height: 42px;
  border-radius: 13px;
}
body.kiosk-page .portrait-pagination .btn-page {
  min-height: 38px;
  padding: 7px 12px;
  border-radius: 11px;
  font-size: 12px;
}
body.kiosk-page .section-step,
body.kiosk-page .gallery-help,
body.kiosk-page .gallery-tip,
body.kiosk-page .step-tab,
body.landing-page .eyebrow,
body.landing-page .step-text {
  font-family: var(--ed-ui-font);
}
body.kiosk-page #btnCapture,
body.kiosk-page #btnPrint {
  min-height: 44px;
  border-radius: 12px;
}
body.landing-page .site-footer span:first-child {
  letter-spacing: .08em;
}
@media (min-width: 981px) {
  body.landing-page .site-shell {
    width: min(100%, 1480px);
    padding: clamp(12px, 2vh, 22px) 4.5% 10px;
  }
  body.landing-page .hero {
    margin-top: clamp(8px, 1.5vh, 16px);
    grid-template-columns: minmax(0, 42%) minmax(0, 58%);
  }
  body.landing-page .hero-copy {
    padding: 4px 12px 10px 0;
  }
  body.landing-page h1,
  html:has(body.landing-page)[lang="en"] h1,
  html:has(body.landing-page)[lang="de"] h1 {
    font-size: clamp(46px, min(5vw, 8vh), 76px);
    margin: clamp(10px, 1.5vh, 20px) 0 8px;
    line-height: .9;
  }
  body.landing-page .brush-line {
    margin: clamp(10px, 1.8vh, 20px) 0 clamp(10px, 1.8vh, 20px) 28px;
    height: 5px;
  }
  body.landing-page .hero-description {
    font-size: clamp(17px, 1.7vw, 23px);
    line-height: 1.3;
    margin-bottom: clamp(12px, 2.5vh, 28px);
  }
  body.landing-page .hero-visual img {
    max-height: min(46vh, 430px);
    object-fit: contain;
    object-position: center;
  }
  body.landing-page .steps {
    margin: clamp(8px, 1.5vh, 16px) 0 clamp(9px, 1.4vh, 17px);
    padding: clamp(10px, 1.7vh, 17px) 0;
  }
  body.landing-page .step-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }
  body.landing-page .step-icon svg {
    width: 21px;
    height: 21px;
  }
  body.landing-page .payment-note {
    padding: clamp(9px, 1.6vh, 14px) 18px;
    border-radius: 16px;
  }
  body.landing-page .site-footer {
    padding-top: clamp(8px, 1.5vh, 17px);
  }
}
@media (min-width: 769px) {
  body.kiosk-page .kiosk-container {
    width: min(100%, 1320px);
    max-width: 1320px;
    padding: clamp(12px, 2vh, 22px) clamp(16px, 3vw, 36px) 12px;
    gap: clamp(9px, 1.5vh, 14px);
  }
  body.kiosk-page .kiosk-container > header.kiosk-header {
    padding-bottom: clamp(8px, 1.2vh, 12px);
  }
  body.kiosk-page .kiosk-header .brand-name {
    font-size: clamp(30px, 3vw, 43px);
  }
  body.kiosk-page .kiosk-main {
    gap: clamp(13px, 2vw, 23px);
    align-items: start;
  }
  body.kiosk-page .portrait-section,
  body.kiosk-page .camera-frame {
    padding: clamp(12px, 1.7vw, 20px);
    border-radius: 17px;
  }
  body.kiosk-page .section-step {
    margin-bottom: 5px;
    font-size: 12px;
  }
  body.kiosk-page .gallery-help {
    margin-bottom: 5px;
    font-size: 13px;
  }
  body.kiosk-page .gallery-tip {
    margin: 5px 0 7px;
    font-size: 12px;
    line-height: 1.3;
  }
  body.kiosk-page #portrait-list {
    gap: clamp(7px, 1vw, 11px);
    padding: 3px;
  }
  body.kiosk-page .portrait-pagination {
    margin-top: 7px;
  }
  body.kiosk-page .camera-frame {
    gap: 9px;
  }
  body.kiosk-page .camera-inner {
    height: clamp(280px, 47vh, 440px);
    padding: 11px;
    gap: 5px;
  }
}
@media (min-width: 769px) and (max-height: 960px) {
  body.kiosk-page #portrait-list .portrait-tile {
    aspect-ratio: 4 / 4.5;
  }
  body.kiosk-page .camera-inner {
    height: clamp(275px, 45vh, 375px);
  }
  body.kiosk-page .portrait-section,
  body.kiosk-page .camera-frame {
    padding: 12px 15px;
  }
  body.kiosk-page .gallery-help {
    margin-bottom: 3px;
  }
  body.kiosk-page .gallery-tip {
    margin: 3px 0 6px;
  }
}
@media (max-width: 768px) {
  body.landing-page .brand-name,
  body.kiosk-page .kiosk-header .brand-name {
    font-size: clamp(25px, 6vw, 34px);
    letter-spacing: -.05em;
  }
  body.landing-page .brand-subtitle,
  body.kiosk-page .kiosk-header .brand-subtitle {
    font-size: 7px;
    letter-spacing: .16em;
    margin-top: 5px;
  }
  body.kiosk-page .kiosk-container {
    height: auto;
    min-height: 100dvh;
  }
  body.kiosk-page .kiosk-main {
    flex-direction: column;
  }
  body.kiosk-page .btn-page {
    min-height: 42px;
  }
  body.landing-page .main-cta {
    min-height: 52px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.landing-page .main-cta,
  body.kiosk-page button {
    transition: none;
    transform: none;
  }
}


/* Modern typography and cool neutral palette */

html:has(body.landing-page) {
  --paper: #f7f4ee;
  --ink: #202938;
  --line: #e1e6ed;
}

body.landing-page,
body.kiosk-page {
  --ed-bg: #f7f4ee;
  --ed-surface: #ffffff;
  --ed-text: #202938;
  --ed-muted: #657079;
  --ed-border: #e1e6ed;
  --ed-ui-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ed-title-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: #f7f4ee;
  color: #202938;
  font-family: var(--ed-ui-font);
}

body.landing-page .brand-name,
body.kiosk-page .kiosk-header .brand-name {
  font-family: var(--ed-ui-font);
  letter-spacing: -.05em;
}

body.landing-page h1 {
  font-family: var(--ed-title-font);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.055em;
}

body.landing-page .eyebrow,
body.landing-page .hero-description,
body.landing-page .step,
body.landing-page .step-text,
body.landing-page .payment-note,
body.landing-page .site-footer,
body.kiosk-page .section-step,
body.kiosk-page .gallery-help,
body.kiosk-page .gallery-tip,
body.kiosk-page .hint-text,
body.kiosk-page .portrait-pagination,
body.kiosk-page .payment-text,
body.kiosk-page .payment-reassurance,
body.kiosk-page .payment-delivery-note,
body.kiosk-page label,
body.kiosk-page input,
body.kiosk-page select,
body.kiosk-page button {
  font-family: var(--ed-ui-font);
}

body.landing-page .eyebrow,
body.landing-page .site-footer,
body.kiosk-page .gallery-help,
body.kiosk-page .gallery-tip,
body.kiosk-page .hint-text,
body.kiosk-page .payment-reassurance {
  color: #657079;
}

body.landing-page .hero-description,
body.landing-page .step-text,
body.landing-page .payment-note,
body.kiosk-page .portrait-section,
body.kiosk-page .camera-frame,
body.kiosk-page .payment-box {
  color: #202938;
}

body.landing-page .steps,
body.kiosk-page .portrait-section,
body.kiosk-page .camera-frame,
body.kiosk-page .payment-box {
  border-color: #e1e6ed;
}

body.landing-page .payment-note,
body.landing-page .step-icon {
  background: #edf2f7;
}

body.landing-page .language-switch button,
body.kiosk-page .kiosk-language-switch button,
body.kiosk-page .btn-secondary,
body.kiosk-page .btn-page,
body.kiosk-page .step-tab:not(.active) {
  color: #202938;
  border-color: #d5dde7;
  background: #ffffff;
}

body.landing-page .language-switch button:hover,
body.kiosk-page .kiosk-language-switch button:hover,
body.kiosk-page .btn-secondary:hover:not(:disabled),
body.kiosk-page .btn-page:hover:not(:disabled),
body.kiosk-page .step-tab:not(.active):hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

body.landing-page .main-cta,
body.kiosk-page #btnCapture,
body.kiosk-page #btnPrint,
body.kiosk-page .btn-primary {
  font-family: var(--ed-ui-font);
  border-radius: 14px;
}

@media (min-width: 981px) {
  body.landing-page h1,
  html:has(body.landing-page)[lang="en"] h1,
  html:has(body.landing-page)[lang="de"] h1 {
    font-size: clamp(42px, min(4.6vw, 7vh), 68px);
  }
}


/* Edutrix V3: clean blue / teal identity – final overrides */
html:has(body.landing-page) {
  --paper: #f7f4ee;
  --ink: #243139;
  --wine: #124e5a;
  --wine-dark: #0b3d47;
  --gold: #d49a3a;
  --line: #e6ded4;
}
body.kiosk-page {
  --ed-brand: #124e5a;
  --ed-gold: #d49a3a;
  --ed-text: #243139;
  --ed-muted: #657079;
  --ed-border: #e6ded4;
  --ed-button-shadow: 0 8px 22px rgba(18,78,90,.14);
}
body.landing-page,
body.kiosk-page {
  color: #243139;
  background: #f7f4ee;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
body.landing-page .brand-name,
body.kiosk-page .kiosk-header .brand-name {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -.055em;
  color: #243139;
  text-transform: none;
}
body.landing-page .brand-dot,
body.kiosk-page .kiosk-header .brand-dot {
  display: inline !important;
  visibility: visible;
  opacity: 1;
  color: #d49a3a;
  font: inherit;
  margin-left: 0;
  letter-spacing: -.055em;
}
body.landing-page .brand-subtitle,
body.kiosk-page .kiosk-header .brand-subtitle {
  color: #59676d;
  letter-spacing: .22em;
}
body.landing-page h1 {
  color: #124e5a;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -.055em;
}
body.landing-page .eyebrow,
body.kiosk-page .section-step {
  color: #124e5a;
}
body.landing-page .brush-line {
  background: #d49a3a;
}
body.landing-page .main-cta,
body.landing-page .language-switch button[aria-pressed="true"],
body.kiosk-page .step-tab.active,
body.kiosk-page #btnCapture,
body.kiosk-page #btnPrint,
body.kiosk-page .btn-primary,
body.kiosk-page .kiosk-language-switch button[aria-pressed="true"] {
  background: #124e5a;
  border-color: #124e5a;
  color: #ffffff;
  box-shadow: 0 7px 20px rgba(18,78,90,.17);
}
body.landing-page .main-cta:hover,
body.landing-page .language-switch button[aria-pressed="true"]:hover,
body.kiosk-page #btnCapture:hover:not(:disabled),
body.kiosk-page #btnPrint:hover:not(:disabled),
body.kiosk-page .btn-primary:hover:not(:disabled) {
  background: #0b3d47;
  border-color: #0b3d47;
  box-shadow: 0 9px 24px rgba(18,78,90,.20);
}
body.landing-page .main-cta,
body.kiosk-page button {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
body.landing-page .step-icon,
body.landing-page .payment-note {
  background: #f1eae0;
}
body.landing-page .step-number,
body.landing-page .step-icon,
body.landing-page .note-icon {
  color: #124e5a;
}
body.landing-page .site-footer span:first-child {
  color: #124e5a;
}
body.kiosk-page .portrait-tile.selected,
body.kiosk-page .portrait-tile.selected .portrait,
body.kiosk-page .portrait.selected {
  border-color: #124e5a;
}
body.kiosk-page .portrait-tile.selected {
  outline-color: #124e5a;
}
body.kiosk-page #portrait-list .portrait-tile.selected::after {
  background: #124e5a;
}
body.kiosk-page .payment-box h3,
body.kiosk-page #payment-price {
  color: #124e5a;
}
body.kiosk-page .payment-price-box {
  border-color: #d3c6b5;
  background: #f1eae0;
}
body.landing-page a:focus-visible,
body.landing-page button:focus-visible,
body.kiosk-page button:focus-visible,
body.kiosk-page input:focus-visible,
body.kiosk-page select:focus-visible {
  outline: 3px solid #d49a3a;
  outline-offset: 3px;
}
@media (max-width: 768px) {
  body.landing-page .brand-name,
  body.kiosk-page .kiosk-header .brand-name {
    font-size: clamp(26px, 6vw, 36px);
  }
}


/* EDUTRIX V3 – pearl, petrol and warm gold, approved visual direction */
html:has(body.landing-page) {
  --paper: #f7f4ee;
  --ink: #243139;
  --wine: #124e5a;
  --wine-dark: #0b3d47;
  --gold: #d49a3a;
  --line: #e6ded4;
}
body.landing-page,
body.kiosk-page {
  --ed-brand: #124e5a;
  --ed-gold: #d49a3a;
  --ed-text: #243139;
  --ed-muted: #657079;
  --ed-border: #e6ded4;
  --ed-button-shadow: 0 9px 24px rgba(18, 78, 90, .16);
  background: #f7f4ee;
  color: #243139;
}
body.landing-page .brand-name,
body.kiosk-page .kiosk-header .brand-name { color: #243139; }
body.landing-page .brand-dot,
body.kiosk-page .kiosk-header .brand-dot {
  color: #14b8a6;
  display: inline !important;
  visibility: visible;
  opacity: 1;
}
body.landing-page h1,
html:has(body.landing-page)[lang="en"] h1,
html:has(body.landing-page)[lang="de"] h1 {
  color: #124e5a;
}
body.landing-page .eyebrow,
body.kiosk-page .section-step { color: #124e5a; }
body.landing-page .brush-line { background: #d49a3a; }
body.landing-page .hero-visual {
  background: transparent;
  isolation: auto;
}
body.landing-page .hero-visual img {
  mix-blend-mode: multiply;
  background: transparent;
  filter: saturate(1.04);
}
body.landing-page .main-cta,
body.landing-page .language-switch button[aria-pressed="true"],
body.kiosk-page .step-tab.active,
body.kiosk-page #btnCapture,
body.kiosk-page #btnPrint,
body.kiosk-page .btn-primary,
body.kiosk-page .kiosk-language-switch button[aria-pressed="true"] {
  background: #124e5a;
  border-color: #124e5a;
  color: #fff;
  box-shadow: 0 9px 24px rgba(18, 78, 90, .15);
}
body.landing-page .main-cta:hover,
body.landing-page .language-switch button[aria-pressed="true"]:hover,
body.kiosk-page #btnCapture:hover:not(:disabled),
body.kiosk-page #btnPrint:hover:not(:disabled),
body.kiosk-page .btn-primary:hover:not(:disabled) {
  background: #0b3d47;
  border-color: #0b3d47;
}
body.landing-page .step-number,
body.landing-page .site-footer span:first-child { color: #c78b28; }
body.landing-page .step-icon { background: #eee8dd; color: #124e5a; }
body.landing-page .payment-note { background: #eee9e1; }
body.landing-page .note-icon { color: #d49a3a; }
body.landing-page .site-footer { color: #647079; }
body.kiosk-page .portrait-tile.selected,
body.kiosk-page .portrait-tile.selected .portrait,
body.kiosk-page .portrait.selected { border-color: #124e5a; }
body.kiosk-page .portrait-tile.selected { outline-color: #124e5a; }
body.kiosk-page #portrait-list .portrait-tile.selected::after { background: #124e5a; }
body.kiosk-page .payment-box h3,
body.kiosk-page #payment-price { color: #124e5a; }
body.kiosk-page .payment-price-box { background: #f4eee4; border-color: #dacbb7; }
body.landing-page a:focus-visible,
body.landing-page button:focus-visible,
body.kiosk-page button:focus-visible,
body.kiosk-page input:focus-visible,
body.kiosk-page select:focus-visible {
  outline: 3px solid #d49a3a;
  outline-offset: 3px;
}

/* Transparent hero image */
body.landing-page .hero-visual img {
  mix-blend-mode: normal;
  background: transparent;
  filter: none;
}


/* EDUTRIX V3 – approved petrol / gold art direction */
html:has(body.landing-page) {
  --paper: #f8f4ed;
  --ink: #064d55;
  --wine: #07525b;
  --wine-dark: #043e46;
  --gold: #d69b30;
  --line: rgba(81, 68, 53, .13);
}
body.landing-page, body.kiosk-page {
  --ed-brand: #07525b;
  --ed-gold: #d69b30;
  --ed-text: #064d55;
  --ed-muted: #4c6568;
  --ed-border: #e8dfd2;
  background: #f8f4ed;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #064d55;
}
body.landing-page {
  background: radial-gradient(ellipse 62% 65% at 69% 39%, #fffdf9 3%, transparent 88%), #f8f4ed;
}
body.landing-page .site-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 1600px;
  min-height: 100vh;
  padding: clamp(22px, 3.1vh, 38px) clamp(22px, 5.4vw, 95px) 22px;
}
body.landing-page .site-header, body.landing-page main, body.landing-page .site-footer {
  position: relative;
  z-index: 2;
}
body.landing-page .brand, body.kiosk-page .kiosk-header .brand {
  gap: 0;
  align-items: flex-start;
}
body.landing-page .brand-mark, body.kiosk-page .kiosk-header .brand-mark { display: none; }
body.landing-page .brand-name, body.kiosk-page .kiosk-header .brand-name {
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(34px, 3.25vw, 55px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.12;
  color: #064d55;
}
body.landing-page .brand-dot, body.kiosk-page .kiosk-header .brand-dot {
  color: #d69b30;
  display: inline !important;
  opacity: 1;
  visibility: visible;
}
body.landing-page .brand-subtitle, body.kiosk-page .kiosk-header .brand-subtitle {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: #07525b;
  letter-spacing: .31em;
  margin-top: 8px;
  padding: 0 2px;
}
body.landing-page .language-switch button,
body.kiosk-page .kiosk-language-switch button {
  background: rgba(255,255,255,.62);
  color: #07525b;
  border: 1px solid rgba(7,82,91,.25);
  border-radius: 999px;
  font-weight: 700;
  box-shadow: none;
}
body.landing-page .language-switch button[aria-pressed="true"],
body.kiosk-page .kiosk-language-switch button[aria-pressed="true"] {
  background: linear-gradient(130deg, #08747a, #034b55);
  border-color: #07525b;
  color: #fff;
}
body.landing-page .hero {
  grid-template-columns: minmax(0, 37%) minmax(0, 63%);
  margin-top: clamp(12px, 2.2vh, 30px);
}
body.landing-page .hero-copy { padding: 22px 10px 30px 0; }
body.landing-page .eyebrow {
  display: inline-block;
  font-size: clamp(11px, 1vw, 15px);
  letter-spacing: .19em;
  color: #bc7d15;
  font-weight: 800;
}
body.landing-page h1,
html:has(body.landing-page)[lang="en"] h1,
html:has(body.landing-page)[lang="de"] h1 {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(47px, 5.15vw, 82px);
  line-height: 1.04;
  letter-spacing: -.061em;
  color: #064d55;
  margin: 24px 0 20px;
}
body.landing-page .brush-line {
  width: clamp(110px, 11vw, 170px);
  height: 3px;
  background: #d69b30;
  margin: 0 0 27px;
  transform: none;
  border-radius: 100%;
}
body.landing-page .hero-description {
  color: #07525b;
  font-size: clamp(18px, 1.95vw, 27px);
  line-height: 1.45;
  max-width: 430px;
  margin-bottom: 30px;
}
body.landing-page .hero-visual {
  padding: 0;
  position: relative;
  z-index: 1;
}
body.landing-page .hero-visual img {
  width: 100%;
  height: auto;
  background: transparent;
  mix-blend-mode: normal;
  filter: drop-shadow(0 16px 13px rgba(62,42,18,.1));
}
body.landing-page .main-cta {
  border-radius: 999px;
  background: linear-gradient(165deg, #f0b849, #bc7b19);
  border: 1px solid #e3a63d;
  color: #fff;
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 800;
  padding: 15px 28px;
  min-height: 56px;
  box-shadow: 0 11px 23px rgba(153,98,20,.22);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
body.landing-page .main-cta:hover {
  background: linear-gradient(165deg, #efb449, #b97112);
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow: 0 15px 30px rgba(153,98,20,.26);
}
body.landing-page .steps {
  margin: 5px 0 15px;
  padding: 18px 0;
  border-color: rgba(62,79,77,.12);
}
body.landing-page .step {
  gap: 11px;
  border-color: rgba(62,79,77,.14);
}
body.landing-page .step-icon {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
  color: #07525b;
  background: #f1e9db;
  box-shadow: 0 4px 10px rgba(60,48,29,.07);
}
body.landing-page .step-icon svg { width: 23px; height: 23px; }
body.landing-page .step-number {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 23px;
  color: #c9861c;
  font-weight: 800;
}
body.landing-page .step-text {
  color: #07525b;
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 700;
}
body.landing-page .payment-note {
  background: rgba(239,233,224,.86);
  border-radius: 999px;
  padding: 16px 22px;
}
body.landing-page .payment-note p { color: #07525b; font-size: 14px; }
body.landing-page .note-icon { color: #c9861c; }
body.landing-page .site-footer {
  color: #07525b;
  padding-top: 19px;
  padding-bottom: 12px;
  font-size: 13px;
}
body.landing-page .site-footer span:first-child { color: #c9861c; }
body.landing-page .site-shell::before,
body.landing-page .site-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50% 50% 0 0;
}
body.landing-page .site-shell::before {
  bottom: -124px;
  left: -11%;
  width: 122%;
  height: 175px;
  background: linear-gradient(90deg, #073e47, #0b6971);
  transform: rotate(-2.3deg);
  border-top: 2px solid rgba(214,155,48,.75);
}
body.landing-page .site-shell::after {
  bottom: -117px;
  right: -21%;
  width: 94%;
  height: 157px;
  border-top: 2px solid #d69b30;
  transform: rotate(-6deg);
}
body.kiosk-page .step-tab.active,
body.kiosk-page #btnCapture,
body.kiosk-page #btnPrint,
body.kiosk-page .btn-primary,
body.kiosk-page .kiosk-language-switch button[aria-pressed="true"] {
  background: linear-gradient(125deg, #08747a, #034b55);
  border-color: #07525b;
  color: #fff;
  box-shadow: 0 7px 18px rgba(7,82,91,.15);
}
body.kiosk-page .section-step,
body.kiosk-page .payment-box h3,
body.kiosk-page #payment-price { color: #07525b; }
body.kiosk-page .portrait-tile.selected { outline-color: #d69b30; }
body.kiosk-page .portrait-tile.selected,
body.kiosk-page .portrait-tile.selected .portrait { border-color: #d69b30; }
body.kiosk-page #portrait-list .portrait-tile.selected::after { background: #07525b; }
body.kiosk-page .payment-price-box { border-color: #d69b30; background: #faf4e9; }
body.landing-page a:focus-visible,
body.landing-page button:focus-visible,
body.kiosk-page button:focus-visible,
body.kiosk-page input:focus-visible,
body.kiosk-page select:focus-visible { outline: 3px solid #d69b30; outline-offset: 3px; }
@media (max-width: 980px) {
  body.landing-page .hero { grid-template-columns: 1fr; }
  body.landing-page .hero-copy { text-align: center; padding: 10px 0; }
  body.landing-page .brush-line { margin-left: auto; margin-right: auto; }
  body.landing-page .hero-description { margin-left: auto; margin-right: auto; }
  body.landing-page .hero-visual { max-width: 780px; margin: 0 auto; }
}
@media (max-width: 680px) {
  body.landing-page .site-shell { padding: 15px 16px 24px; }
  body.landing-page .brand-name, body.kiosk-page .kiosk-header .brand-name { font-size: clamp(26px, 7vw, 38px); }
  body.landing-page .brand-subtitle, body.kiosk-page .kiosk-header .brand-subtitle { font-size: 7px; letter-spacing: .16em; }
  body.landing-page .hero { margin-top: 22px; }
  body.landing-page h1,
  html:has(body.landing-page)[lang="en"] h1,
  html:has(body.landing-page)[lang="de"] h1 { font-size: clamp(45px, 11vw, 62px); margin: 16px 0; }
  body.landing-page .brush-line { margin: 0 auto 18px; }
  body.landing-page .hero-description { font-size: 18px; margin-bottom: 7px; }
  body.landing-page .hero-visual { margin-top: 5px; }
  body.landing-page .steps { grid-template-columns: repeat(2, 1fr); row-gap: 11px; padding: 13px 0; }
  body.landing-page .step { justify-content: flex-start; flex-direction: row; flex-wrap: wrap; gap: 6px; padding: 2px 8px; }
  body.landing-page .step:nth-child(2) { border-right: 0; }
  body.landing-page .step-icon { flex: 0 0 35px; width: 35px; height: 35px; }
  body.landing-page .step-number { font-size: 17px; }
  body.landing-page .step-text { flex: 1 1 90px; font-size: 11px; }
  body.landing-page .payment-note { border-radius: 15px; padding: 15px 12px; }
  body.landing-page .site-shell::before { bottom: -150px; }
  body.landing-page .site-shell::after { bottom: -142px; }
}
@media (prefers-reduced-motion: reduce) {
  body.landing-page .main-cta { transition: none; }
}


/* Edutrix: unified desktop width and control system */
@media (min-width: 769px) {
  body.landing-page .site-shell,
  body.kiosk-page .kiosk-container {
    box-sizing: border-box;
    width: min(100%, 1320px);
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(18px, 2.75vw, 36px);
    padding-right: clamp(18px, 2.75vw, 36px);
  }

  body.landing-page .site-shell {
    padding-top: clamp(12px, 2vh, 24px);
  }
}

body.landing-page .main-cta,
body.kiosk-page #btnCapture,
body.kiosk-page #btnPrint,
body.kiosk-page .btn-primary,
body.kiosk-page #payment-submit {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 750;
  background: linear-gradient(145deg, #efb64b, #c8871c);
  border: 1px solid #c8871c;
  color: #fff;
  border-radius: 15px;
  box-shadow: 0 9px 22px rgba(145, 91, 19, .17);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

body.landing-page .main-cta:hover,
body.kiosk-page #btnCapture:hover:not(:disabled),
body.kiosk-page #btnPrint:hover:not(:disabled),
body.kiosk-page .btn-primary:hover:not(:disabled),
body.kiosk-page #payment-submit:hover:not(:disabled) {
  background: linear-gradient(145deg, #e3a43c, #b97914);
  border-color: #b97914;
  box-shadow: 0 12px 25px rgba(145, 91, 19, .22);
  transform: translateY(-2px);
}

body.kiosk-page .step-tab,
body.kiosk-page .btn-secondary,
body.kiosk-page .btn-page,
body.landing-page .language-switch button,
body.kiosk-page .kiosk-language-switch button {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 700;
  border-radius: 14px;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

body.kiosk-page .step-tab.active,
body.landing-page .language-switch button[aria-pressed="true"],
body.kiosk-page .kiosk-language-switch button[aria-pressed="true"] {
  background: linear-gradient(135deg, #08747a, #034b55);
  border-color: #07525b;
  color: white;
  box-shadow: 0 7px 18px rgba(7,82,91,.14);
}

body.kiosk-page .step-tab:not(.active),
body.kiosk-page .btn-page,
body.kiosk-page .btn-secondary {
  background: #fffdfa;
  color: #07525b;
  border-color: #d7dfdb;
}

body.kiosk-page .btn-page:hover:not(:disabled),
body.kiosk-page .btn-secondary:hover:not(:disabled),
body.kiosk-page .step-tab:not(.active):hover {
  background: #f0f8f6;
  border-color: #8ab5b1;
}

body.kiosk-page button:disabled { opacity: .42; cursor: not-allowed; }

@media (prefers-reduced-motion: reduce) {
  body.landing-page .main-cta,
  body.kiosk-page button { transition: none; }
  body.landing-page .main-cta:hover,
  body.kiosk-page #btnCapture:hover,
  body.kiosk-page #btnPrint:hover,
  body.kiosk-page .btn-primary:hover { transform: none; }
}

/* Remove clipped decorative bottom ribbon on landing page */
body.landing-page .site-shell::before,
body.landing-page .site-shell::after {
  display: none !important;
  content: none !important;
}

@media (min-width: 769px) and (max-height: 960px) {
  html:has(body.kiosk-page),
  body.kiosk-page {
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  body.kiosk-page .kiosk-container {
    height: 100dvh;
    min-height: 0;
    max-height: none;
    padding-top: clamp(8px, 1.3vh, 16px);
    padding-bottom: clamp(8px, 1.3vh, 16px);
    gap: clamp(5px, 1vh, 12px);
  }

  body.kiosk-page .kiosk-container > header.kiosk-header {
    flex: 0 0 auto;
    padding-bottom: clamp(4px, .7vh, 8px);
  }

  body.kiosk-page .kiosk-header .brand-name {
    font-size: clamp(24px, 4.5vh, 43px);
  }

  body.kiosk-page .kiosk-header .brand-subtitle {
    margin-top: clamp(2px, .5vh, 6px);
    font-size: clamp(7px, 1.1vh, 9px);
  }

  body.kiosk-page .kiosk-language-switch button {
    min-height: clamp(29px, 4.5vh, 36px);
    padding: 5px 9px;
  }

  body.kiosk-page .steps-nav {
    flex: 0 0 auto;
    gap: 7px;
  }

  body.kiosk-page .step-tab,
  body.kiosk-page .step-tab.active {
    min-height: clamp(30px, 5.2vh, 42px);
    padding: 5px 10px;
  }

  body.kiosk-page .kiosk-main {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
    align-items: stretch;
    gap: clamp(9px, 1.3vw, 20px);
  }

  body.kiosk-page .portrait-section,
  body.kiosk-page .camera-section,
  body.kiosk-page .camera-frame {
    height: 100%;
    min-height: 0;
  }

  body.kiosk-page .portrait-section {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: clamp(8px, 1.3vh, 16px);
  }

  body.kiosk-page .section-step {
    flex: 0 0 auto;
    margin-bottom: 3px;
    font-size: clamp(10px, 1.5vh, 12px);
  }

  body.kiosk-page .gallery-help,
  body.kiosk-page .gallery-tip {
    flex: 0 0 auto;
    margin: 2px 0 5px;
    font-size: clamp(10px, 1.5vh, 12px);
    line-height: 1.2;
  }

  body.kiosk-page #portrait-list {
    display: grid;
    flex: 1 1 auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: clamp(4px, .8vh, 10px);
    height: auto;
    min-height: 0;
    padding: 2px;
    overflow: hidden;
  }

  body.kiosk-page #portrait-list .portrait-tile {
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
  }

  body.kiosk-page .portrait-pagination {
    flex: 0 0 auto;
    gap: 5px;
    margin-top: clamp(4px, .7vh, 8px);
  }

  body.kiosk-page .portrait-pagination .btn-page {
    min-height: clamp(30px, 5vh, 38px);
    padding: 5px 8px;
  }

  body.kiosk-page .camera-frame {
    display: flex;
    flex-direction: column;
    gap: clamp(5px, .9vh, 10px);
    padding: clamp(8px, 1.3vh, 16px);
    overflow: hidden;
  }

  body.kiosk-page .camera-inner {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
    max-height: none;
    padding: clamp(7px, 1vh, 12px);
    gap: 5px;
  }

  body.kiosk-page .camera-oval-mask {
    flex: 0 1 auto;
    width: auto;
    height: min(360px, calc(100% - 28px));
    max-width: min(75%, 300px);
    max-height: none;
    min-height: 0;
    aspect-ratio: 3 / 4;
  }

  body.kiosk-page .hint-text {
    flex: 0 0 auto;
    font-size: clamp(10px, 1.5vh, 13px);
    line-height: 1.2;
  }

  body.kiosk-page #btnCapture,
  body.kiosk-page #btnPrint {
    flex: 0 0 auto;
    min-height: clamp(34px, 5.4vh, 44px);
    max-height: 44px;
    font-size: clamp(12px, 1.7vh, 15px);
  }

  body.kiosk-page #btnPrint {
    margin-top: 2px !important;
  }
}



body.kiosk-page .kiosk-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(5px, .8vw, 12px);
  margin-left: auto;
}

body.kiosk-page .kiosk-header-actions .kiosk-language-switch {
  margin-left: 0;
}

body.kiosk-page .kiosk-about-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 13px;
  border: 1px solid rgba(7,82,91,.25);
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  color: #07525b;
  font: 700 12px/1.1 "Inter", system-ui, sans-serif;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

body.kiosk-page .kiosk-about-link:hover {
  background: #edf7f5;
  border-color: #08747a;
}

body.kiosk-page .kiosk-about-link:focus-visible {
  outline: 3px solid #d49a3a;
  outline-offset: 2px;
}

@media (min-width: 769px) and (max-height: 960px) {
  body.kiosk-page .kiosk-about-link {
    min-height: clamp(29px, 4.5vh, 36px);
    padding: 5px 10px;
  }
}

@media (max-width: 520px) {
  body.kiosk-page .kiosk-header-actions { gap: 4px; }
  body.kiosk-page .kiosk-about-link {
    min-height: 34px;
    padding: 5px 7px;
    font-size: 10px;
  }
}


body.landing-page .header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-left: auto;
  padding-top: 5px;
}

body.landing-page .header-actions .language-switch {
  flex-shrink: 0;
  margin-top: 0;
}

body.landing-page .about-header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 37px;
  padding: 9px 16px;
  border: 1px solid #d7cec0;
  border-radius: 30px;
  background: rgba(255, 255, 255, .65);
  color: var(--wine);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, border-color .2s ease;
}

body.landing-page .about-header-link:hover {
  background: #edf7f5;
  border-color: var(--wine);
}

body.landing-page .about-header-link:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 680px) {
  body.landing-page .header-actions { gap: 5px; }
  body.landing-page .about-header-link {
    min-height: 34px;
    padding: 8px 9px;
    font-size: 11px;
  }
}

@media (max-width: 560px) {
  body.landing-page .site-header { flex-wrap: wrap; }
  body.landing-page .header-actions {
    width: 100%;
    padding-top: 0;
  }
}
