/* Sürüm etiketi zorunlu: bu satır etiketsizken token değişiklikleri geri dönen
   ziyaretçilerin demo panellerine hiç ulaşmıyordu. demo.css her değiştiğinde
   buradaki sürümü de yükseltin. */
@import url('../../../colors_and_type.css?v=20260801');

:root {
  --demo-success: #16745b;
  --demo-success-bg: #e8f7f1;
  --demo-warning: #9a6506;
  --demo-warning-bg: #fff5d9;
  --demo-danger: #b33434;
  --demo-danger-bg: #fff0f0;
  --demo-info: #245c9f;
  --demo-info-bg: #edf5ff;
  --demo-app-bg: #f3f5f9;
  --demo-app-surface: #ffffff;
  --demo-app-surface-muted: #f7f8fb;
  --demo-app-border: #dce2eb;
  --demo-app-fg: #102039;
  --demo-app-muted: #607086;
  --demo-app-subtle: #5f6d80;
  --demo-sidebar: #0c1b33;
  --demo-sidebar-raised: #152844;
  --demo-sidebar-fg: #eef3f9;
  --demo-gold: var(--accent);
}

* { box-sizing: border-box; }
html { min-width: 0; scroll-behavior: smooth; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }

.demo-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.demo-btn {
  min-height: 44px;
  padding: 10px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur-fast), background var(--dur-base), border-color var(--dur-base), color var(--dur-base);
}

.demo-btn:hover { transform: translateY(-1px); }
.demo-btn:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.demo-btn-primary { color: #0c1b33; background: var(--accent); border-color: var(--accent); }
.demo-btn-secondary { color: var(--demo-app-fg); background: var(--demo-app-surface); border-color: var(--demo-app-border); }
.demo-btn-quiet { color: var(--demo-app-muted); background: transparent; border-color: transparent; }
.demo-btn-danger { color: var(--demo-danger); background: var(--demo-danger-bg); border-color: rgba(179, 52, 52, .2); }
.demo-btn-block { width: 100%; }
.demo-icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.demo-mode-pill,
.demo-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
}
.demo-mode-pill { padding: 8px 11px; color: var(--demo-warning); background: var(--demo-warning-bg); border: 1px solid rgba(154, 101, 6, .18); }
.demo-mode-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.demo-status { padding: 7px 9px; border: 1px solid currentColor; }
.demo-status-success, .demo-status-at-school, .demo-status-approved, .demo-status-completed, .demo-status-used { color: var(--demo-success); background: var(--demo-success-bg); }
.demo-status-warning, .demo-status-pending, .demo-status-rescheduled, .demo-status-draft { color: var(--demo-warning); background: var(--demo-warning-bg); }
.demo-status-danger, .demo-status-rejected, .demo-status-cancelled, .demo-status-expired { color: var(--demo-danger); background: var(--demo-danger-bg); }
.demo-status-info, .demo-status-outside { color: var(--demo-info); background: var(--demo-info-bg); }
.demo-status-departed { color: #425b78; background: #edf1f6; }
.demo-status-on-leave { color: #6a4ca0; background: #f4efff; }

/* Demo gateway */
.gateway-body {
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--fg);
  background: var(--bg);
}
.gateway-shell { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-rows: auto 1fr auto; }
.gateway-nav {
  height: 76px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: var(--nav-bg);
}
.gateway-nav-inner,
.gateway-main,
.gateway-footer-inner { width: min(100% - 48px, 1180px); margin-inline: auto; }
.gateway-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.gateway-logo { height: 56px; width: auto; object-fit: contain; }
.gateway-nav-actions { display: flex; align-items: center; gap: 12px; }
.gateway-back { font-size: 13px; font-weight: 700; text-decoration: none; color: var(--fg-muted); }
.gateway-back-kisa { display: none; }
.gateway-back:hover { color: var(--accent); }
.gateway-main { padding: 64px 0 72px; }
.gateway-heading { max-width: 790px; margin-bottom: 40px; }
.gateway-heading .eyebrow { margin-bottom: 16px; }
.gateway-heading h1 { margin: 0; font-family: var(--font-display); font-size: clamp(34px, 5vw, 62px); line-height: 1.04; letter-spacing: -2px; }
.gateway-heading h1 em { display: block; color: var(--accent-text); font-style: normal; }
.gateway-heading p { max-width: 690px; margin: 20px 0 0; font-size: 17px; }
.gateway-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.gateway-card {
  position: relative;
  min-height: 390px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}
.gateway-card::after { content: ''; position: absolute; inset: auto 0 0; height: 4px; background: var(--accent); opacity: .85; }
.gateway-card:hover { border-color: var(--accent-border); box-shadow: var(--shadow-card-d); transform: translateY(-3px); }
.gateway-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.gateway-card-icon { width: 52px; height: 52px; display: grid; place-items: center; color: var(--accent); background: var(--accent-tint); border: 1px solid var(--accent-border); border-radius: var(--radius-md); }
.gateway-card h2 { margin: 42px 0 14px; font-family: var(--font-display); font-size: 27px; line-height: 1.18; letter-spacing: -.6px; }
.gateway-card p { margin: 0; max-width: 52ch; }
.gateway-card-meta { margin-top: auto; padding-top: 34px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.gateway-card-note { color: var(--fg-subtle); font-size: 12px; line-height: 1.5; }
.gateway-footer { padding: 22px 0; border-top: 1px solid var(--border); }
.gateway-footer-inner { display: flex; justify-content: space-between; gap: 20px; color: var(--fg-subtle); font-size: 12px; }
.gateway-preview {
  width: min(720px, calc(100vw - 32px));
  max-height: min(760px, calc(100vh - 32px));
  padding: 0;
  color: var(--demo-app-fg);
  background: var(--demo-app-surface);
  border: 1px solid var(--demo-app-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 28px 90px rgba(4, 12, 27, .35);
}
.gateway-preview::backdrop { background: rgba(7, 14, 28, .72); backdrop-filter: blur(7px); }
.preview-head, .preview-body, .preview-actions { padding: 24px 28px; }
.preview-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--demo-app-border); }
.preview-head h2 { margin: 0; font: 700 24px/1.2 var(--font-display); }
.preview-close { width: 44px; height: 44px; display: grid; place-items: center; background: transparent; border: 1px solid var(--demo-app-border); border-radius: var(--radius-sm); cursor: pointer; }
.preview-body p { margin: 0 0 22px; color: var(--demo-app-muted); }
.preview-modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.preview-module { min-height: 84px; padding: 14px; color: var(--demo-app-fg); background: var(--demo-app-surface-muted); border: 1px solid var(--demo-app-border); border-radius: var(--radius-sm); font-size: 12px; font-weight: 700; }
.preview-actions { display: flex; justify-content: flex-end; gap: 10px; border-top: 1px solid var(--demo-app-border); }

/* Parent application shell */
.demo-app-body { min-height: 100vh; min-height: 100dvh; color: var(--demo-app-fg); background: var(--demo-app-bg); }
.demo-app-body.dialog-open { overflow: hidden; }
.parent-app { min-height: 100vh; min-height: 100dvh; }
.app-shell { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: 244px minmax(0, 1fr); }
.app-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  padding: max(22px,env(safe-area-inset-top)) 16px max(18px,env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  color: var(--demo-sidebar-fg);
  background: var(--demo-sidebar);
  border-right: 1px solid rgba(255,255,255,.08);
}
.app-logo-link { height: 62px; display: flex; align-items: center; padding: 0 8px; }
.app-logo { width: 146px; height: auto; mix-blend-mode: lighten; }
.app-nav { margin-top: 26px; display: grid; gap: 5px; }
.app-nav-link {
  min-height: 46px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(238,243,249,.68);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.app-nav-link:hover { color: #fff; background: rgba(255,255,255,.055); }
.app-nav-link.is-active { color: #fff; background: var(--demo-sidebar-raised); border-color: rgba(255,255,255,.1); }
.app-nav-link.is-active .demo-icon { color: var(--accent); }
.app-sidebar-foot { margin-top: auto; padding: 16px 10px 0; border-top: 1px solid rgba(255,255,255,.1); }
.app-sidebar-foot p { margin: 10px 0 0; color: rgba(255,255,255,.66); font-size: 11px; line-height: 1.5; }
.app-stage { min-width: 0; }
.app-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 76px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--demo-app-border);
  backdrop-filter: blur(12px);
}
.topbar-left, .topbar-actions { display: flex; align-items: center; gap: 12px; min-width: 0; }
.app-mobile-logo { display: none; width: 80px; height: 58px; object-fit: contain; }
.student-switcher {
  min-width: 220px;
  height: 44px;
  padding: 0 34px 0 12px;
  color: var(--demo-app-fg);
  background: var(--demo-app-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23607086' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") right 11px center/16px no-repeat;
  border: 1px solid var(--demo-app-border);
  border-radius: var(--radius-sm);
  appearance: none;
  font-size: 13px;
  font-weight: 700;
}
.icon-button {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--demo-app-muted);
  background: var(--demo-app-surface);
  border: 1px solid var(--demo-app-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.notification-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--demo-danger);
  border: 2px solid #fff;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 800;
}
.app-content { width: min(100% - 64px, 1180px); margin-inline: auto; padding: 34px 0 96px; }
.app-content:focus { outline: none; }
.page-head { margin-bottom: 26px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.page-head h1 { margin: 0; color: var(--demo-app-fg); font: 700 clamp(27px, 3vw, 38px)/1.15 var(--font-display); letter-spacing: -.8px; }
.page-head p { margin: 8px 0 0; color: var(--demo-app-muted); font-size: 14px; }
.page-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.app-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, .8fr); gap: 18px; align-items: start; }
.stack { display: grid; gap: 18px; }
.panel { min-width: 0; background: var(--demo-app-surface); border: 1px solid var(--demo-app-border); border-radius: var(--radius-xl); }
.panel-pad { padding: 22px; }
.panel-head { padding: 19px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--demo-app-border); }
.panel-head h2, .panel-head h3 { margin: 0; color: var(--demo-app-fg); font: 700 17px/1.35 var(--font-display); }
.panel-head a, .panel-head button { color: var(--demo-info); font-size: 12px; font-weight: 700; }
.presence-card { overflow: hidden; }
.presence-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; }
.presence-copy { padding: 26px; }
.presence-kicker { margin: 0 0 12px; color: var(--demo-app-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.presence-title { margin: 0; color: var(--demo-app-fg); font: 700 clamp(24px, 3vw, 35px)/1.1 var(--font-display); letter-spacing: -.8px; }
.presence-title strong { color: var(--demo-success); }
.presence-meta { margin: 12px 0 0; color: var(--demo-app-muted); font-size: 14px; line-height: 1.65; }
.student-facts { margin: 25px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; }
.student-facts li { padding-right: 13px; border-right: 1px solid var(--demo-app-border); }
.student-facts li + li { padding-left: 13px; }
.student-facts li:last-child { border-right: 0; }
.fact-label { display: block; color: var(--demo-app-subtle); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.fact-value { display: block; margin-top: 5px; color: var(--demo-app-fg); font-size: 13px; font-weight: 700; }
.updated-note { margin: 22px 0 0; color: var(--demo-app-subtle); font-size: 11px; }
.snapshot {
  position: relative;
  min-height: 235px;
  overflow: hidden;
  isolation: isolate;
  color: rgba(255,255,255,.88);
  background: var(--demo-sidebar);
  border-left: 1px solid var(--demo-app-border);
}
.snapshot::before {
  content: '';
  position: absolute;
  inset: 26% 12% 15%;
  z-index: -1;
  opacity: .55;
  background: repeating-linear-gradient(90deg, transparent 0 18%, rgba(255,255,255,.17) 18% 20%), repeating-linear-gradient(0deg, transparent 0 30%, rgba(255,255,255,.1) 30% 32%);
  transform: perspective(260px) rotateX(58deg);
  transform-origin: center bottom;
}
.snapshot::after { content: ''; position: absolute; left: 50%; top: 48%; width: 34px; height: 78px; border: 2px solid rgba(255,255,255,.62); border-radius: 18px 18px 7px 7px; transform: translate(-50%,-50%); box-shadow: 0 -24px 0 -7px rgba(255,255,255,.62); }
.snapshot-overlay { position: absolute; inset: 0; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(rgba(0,0,0,.24), transparent 40%, rgba(0,0,0,.34)); }
.snapshot-top, .snapshot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 700 10px/1.3 var(--font-mono); letter-spacing: .06em; }
.snapshot-watermark { width: fit-content; padding: 5px 7px; color: var(--accent-bright); border: 1px solid rgba(240,208,96,.6); background: rgba(7,14,28,.66); }
.snapshot-button { width: 100%; height: 100%; padding: 0; color: inherit; background: var(--demo-sidebar); border: 0; cursor: zoom-in; text-align: left; }
.quick-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.quick-action { min-height: 96px; padding: 15px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; color: var(--demo-app-fg); background: var(--demo-app-surface); border: 1px solid var(--demo-app-border); border-radius: var(--radius-md); font-size: 12px; font-weight: 800; text-align: left; cursor: pointer; }
.quick-action .demo-icon { color: var(--demo-info); }
.quick-action:hover { border-color: rgba(36,92,159,.45); background: var(--demo-info-bg); }
.timeline { margin: 0; padding: 8px 22px 20px; list-style: none; }
.timeline-item { position: relative; padding: 15px 0 15px 34px; border-bottom: 1px solid var(--demo-app-border); }
.timeline-item:last-child { border-bottom: 0; }
.timeline-item::before { content: ''; position: absolute; left: 5px; top: 22px; width: 10px; height: 10px; border: 3px solid var(--demo-app-surface); border-radius: 50%; background: var(--demo-success); box-shadow: 0 0 0 1px var(--demo-success); }
.timeline-item::after { content: ''; position: absolute; left: 9px; top: 36px; bottom: -7px; width: 1px; background: var(--demo-app-border); }
.timeline-item:last-child::after { display: none; }
.timeline-line { display: flex; justify-content: space-between; gap: 16px; }
.timeline-title { color: var(--demo-app-fg); font-size: 13px; font-weight: 800; }
.timeline-time { color: var(--demo-app-muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.timeline-place { margin-top: 4px; color: var(--demo-app-muted); font-size: 12px; }
.active-item { padding: 17px 20px; border-bottom: 1px solid var(--demo-app-border); }
.active-item:last-child { border-bottom: 0; }
.active-item-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.active-item h3 { margin: 0; color: var(--demo-app-fg); font-size: 13px; line-height: 1.45; }
.active-item p { margin: 6px 0 0; color: var(--demo-app-muted); font-size: 12px; line-height: 1.55; }

/* Lists, filters and forms */
.filter-bar { margin-bottom: 16px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 3px; }
.filter-chip { min-height: 38px; padding: 8px 13px; flex: 0 0 auto; color: var(--demo-app-muted); background: var(--demo-app-surface); border: 1px solid var(--demo-app-border); border-radius: var(--radius-pill); font-size: 12px; font-weight: 700; cursor: pointer; }
.filter-chip.is-active { color: #fff; background: var(--demo-sidebar); border-color: var(--demo-sidebar); }
.notification-list, .request-list { display: grid; gap: 10px; }
.notification-card, .request-card { position: relative; padding: 18px 20px; display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 15px; align-items: start; background: var(--demo-app-surface); border: 1px solid var(--demo-app-border); border-radius: var(--radius-md); }
.notification-card.is-unread { border-left: 4px solid var(--demo-info); background: #fbfdff; }
.notification-glyph { width: 42px; height: 42px; display: grid; place-items: center; color: var(--demo-info); background: var(--demo-info-bg); border-radius: var(--radius-sm); }
.notification-card h2, .request-card h2 { margin: 0; color: var(--demo-app-fg); font-size: 14px; line-height: 1.45; }
.notification-card p, .request-card p { margin: 5px 0 0; color: var(--demo-app-muted); font-size: 12px; line-height: 1.55; }
.notification-meta, .request-meta { margin-top: 9px; display: flex; flex-wrap: wrap; gap: 7px 14px; color: var(--demo-app-subtle); font-size: 11px; }
.card-actions { display: flex; align-items: center; gap: 7px; }
.text-button { min-height: 38px; padding: 6px 10px; color: var(--demo-info); background: transparent; border: 0; border-radius: var(--radius-xs); font-size: 12px; font-weight: 800; cursor: pointer; }
.text-button:hover { background: var(--demo-info-bg); }
.unread-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--demo-info); }
.request-card { grid-template-columns: minmax(0, 1fr) auto; }
.request-card-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.empty-state { padding: 54px 24px; display: grid; justify-items: center; text-align: center; background: var(--demo-app-surface); border: 1px dashed var(--demo-app-border); border-radius: var(--radius-xl); }
.empty-state .notification-glyph { margin-bottom: 15px; }
.empty-state h2 { margin: 0; color: var(--demo-app-fg); font: 700 19px/1.3 var(--font-display); }
.empty-state p { max-width: 440px; margin: 8px 0 18px; color: var(--demo-app-muted); font-size: 13px; }
.profile-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 18px; }
.profile-card { padding: 24px; }
.profile-avatar { width: 58px; height: 58px; display: grid; place-items: center; color: #fff; background: var(--demo-sidebar); border-radius: 50%; font: 700 20px/1 var(--font-display); }
.profile-card h2 { margin: 16px 0 3px; color: var(--demo-app-fg); font: 700 19px/1.3 var(--font-display); }
.profile-card p { margin: 0; color: var(--demo-app-muted); font-size: 12px; }
.preference-row { min-height: 65px; padding: 13px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--demo-app-border); }
.preference-row:last-child { border-bottom: 0; }
.preference-copy strong { display: block; color: var(--demo-app-fg); font-size: 13px; }
.preference-copy span { color: var(--demo-app-muted); font-size: 11px; }
.switch { position: relative; width: 46px; height: 26px; flex: 0 0 auto; }
.switch input { position: absolute; opacity: 0; }
.switch span { position: absolute; inset: 0; background: #b7c0cc; border-radius: 20px; cursor: pointer; transition: background var(--dur-base); }
.switch span::after { content: ''; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; box-shadow: 0 1px 4px rgba(0,0,0,.2); transition: transform var(--dur-base); }
.switch input:checked + span { background: var(--demo-success); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }

.app-dialog {
  width: min(680px, calc(100vw - 28px));
  max-height: min(820px, calc(100vh - 28px));
  max-height: min(820px, calc(100dvh - 28px));
  padding: 0;
  overflow: hidden;
  color: var(--demo-app-fg);
  background: var(--demo-app-surface);
  border: 1px solid var(--demo-app-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 28px 90px rgba(4,12,27,.35);
}
.app-dialog::backdrop { background: rgba(7,14,28,.72); backdrop-filter: blur(6px); }
.dialog-layout { max-height: inherit; display: grid; grid-template-rows: auto minmax(0,1fr) auto; }
.dialog-head { padding: 20px 22px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--demo-app-border); }
.dialog-head h2 { margin: 0; color: var(--demo-app-fg); font: 700 21px/1.25 var(--font-display); }
.dialog-head p { margin: 4px 0 0; color: var(--demo-app-muted); font-size: 12px; }
.dialog-close { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; color: var(--demo-app-muted); background: transparent; border: 1px solid var(--demo-app-border); border-radius: var(--radius-sm); cursor: pointer; }
.dialog-body { padding: 22px; overflow-y: auto; overscroll-behavior: contain; }
.dialog-actions { padding: 16px 22px; display: flex; justify-content: flex-end; gap: 10px; background: var(--demo-app-surface-muted); border-top: 1px solid var(--demo-app-border); }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.detail-field { padding: 13px; background: var(--demo-app-surface-muted); border: 1px solid var(--demo-app-border); border-radius: var(--radius-sm); }
.detail-field.wide { grid-column: 1 / -1; }
.detail-field span { display: block; color: var(--demo-app-subtle); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.detail-field strong { display: block; margin-top: 4px; color: var(--demo-app-fg); font-size: 13px; line-height: 1.45; }
.detail-snapshot { height: 270px; margin-bottom: 16px; border: 0; border-radius: var(--radius-md); }
.security-note { margin: 16px 0 0; padding: 13px 14px; color: var(--demo-info); background: var(--demo-info-bg); border-left: 3px solid var(--demo-info); font-size: 12px; line-height: 1.55; }
.wizard-progress { margin-bottom: 20px; }
.wizard-progress-top { display: flex; justify-content: space-between; gap: 12px; color: var(--demo-app-muted); font-size: 11px; font-weight: 800; }
.wizard-track { height: 4px; margin-top: 9px; overflow: hidden; background: var(--demo-app-border); border-radius: 3px; }
.wizard-track span { display: block; height: 100%; background: var(--accent); transition: width var(--dur-base); }
.wizard-step h3 { margin: 0 0 5px; color: var(--demo-app-fg); font: 700 19px/1.35 var(--font-display); }
.wizard-step > p { margin: 0 0 20px; color: var(--demo-app-muted); font-size: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.form-field { min-width: 0; display: grid; gap: 7px; }
.form-field.wide { grid-column: 1 / -1; }
.form-field label, .form-label { color: var(--demo-app-fg); font-size: 12px; font-weight: 800; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--demo-app-fg);
  background: #fff;
  border: 1.5px solid var(--demo-app-border);
  border-radius: var(--radius-sm);
}
.form-field textarea { min-height: 104px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.form-hint { color: var(--demo-app-subtle); font-size: 10px; }
.field-error { color: var(--demo-danger); font-size: 11px; font-weight: 700; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice { position: relative; min-height: 86px; }
.choice input { position: absolute; opacity: 0; }
.choice label { height: 100%; padding: 14px; display: flex; align-items: flex-start; gap: 10px; color: var(--demo-app-fg); background: var(--demo-app-surface); border: 1.5px solid var(--demo-app-border); border-radius: var(--radius-sm); font-size: 12px; font-weight: 800; cursor: pointer; }
.choice input:checked + label { border-color: var(--accent); background: var(--accent-tint); }
.choice input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
.summary-list { margin: 0; padding: 0; list-style: none; border: 1px solid var(--demo-app-border); border-radius: var(--radius-md); }
.summary-list li { padding: 12px 14px; display: flex; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--demo-app-border); font-size: 12px; }
.summary-list li:last-child { border-bottom: 0; }
.summary-list span { color: var(--demo-app-muted); }
.summary-list strong { color: var(--demo-app-fg); text-align: right; }
.scenario-dialog { width: min(520px, calc(100vw - 28px)); margin: 0 0 0 auto; height: 100vh; height: 100dvh; max-height: 100vh; max-height: 100dvh; border-radius: 0; }
.scenario-list { display: grid; gap: 9px; }
.scenario-button { width: 100%; min-height: 74px; padding: 14px; display: flex; align-items: center; gap: 13px; color: var(--demo-app-fg); background: var(--demo-app-surface); border: 1px solid var(--demo-app-border); border-radius: var(--radius-sm); text-align: left; cursor: pointer; }
.scenario-button:hover { border-color: var(--accent); background: var(--accent-tint); }
.scenario-button .notification-glyph { flex: 0 0 auto; }
.scenario-button strong { display: block; font-size: 13px; }
.scenario-button span { display: block; margin-top: 3px; color: var(--demo-app-muted); font-size: 11px; line-height: 1.45; }

/* Parent web tutorial */
.tutorial-launcher .demo-icon { color: var(--demo-info); }
.tutorial-menu-open { overflow: hidden; }
.parent-tutorial-menu { width: min(850px, calc(100vw - 28px)); }
.parent-tutorial-menu .dialog-body { padding: 26px; }
.tutorial-kicker { display: block; margin-bottom: 7px; color: var(--demo-info); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.tutorial-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tutorial-choice { min-width: 0; padding: 22px; display: flex; flex-direction: column; background: var(--demo-app-surface-muted); border: 1px solid var(--demo-app-border); border-radius: var(--radius-lg); }
.tutorial-choice-dark { color: #fff; background: var(--demo-sidebar); border-color: var(--demo-sidebar); }
.tutorial-choice-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tutorial-choice-number { color: var(--demo-info); font: 800 13px/1 var(--font-mono); }
.tutorial-choice-dark .tutorial-choice-number { color: var(--accent); }
.tutorial-duration { padding: 5px 8px; color: var(--demo-app-muted); background: #fff; border: 1px solid var(--demo-app-border); border-radius: var(--radius-pill); font-size: 10px; font-weight: 800; }
.tutorial-choice-dark .tutorial-duration { color: rgba(255,255,255,.78); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
.tutorial-choice h3 { margin: 24px 0 8px; color: var(--demo-app-fg); font: 700 23px/1.2 var(--font-display); }
.tutorial-choice-dark h3 { color: #fff; }
.tutorial-choice p { flex: 1; margin: 0; color: var(--demo-app-muted); font-size: 12px; line-height: 1.65; }
.tutorial-choice-dark p { color: rgba(255,255,255,.72); }
.tutorial-choice-status { margin: 22px 0 12px; color: var(--demo-app-subtle); font-size: 10px; font-weight: 800; }
.tutorial-choice-dark .tutorial-choice-status { color: rgba(255,255,255,.62); }
.demo-btn-accent { color: var(--demo-sidebar); background: var(--accent); border-color: var(--accent); }
.tutorial-privacy-note { margin: 16px 0 0; color: var(--demo-app-muted); font-size: 11px; line-height: 1.55; }

.parent-quick-tour[hidden], .parent-scenario-coach[hidden] { display: none !important; }
.tutorial-backdrop { position: fixed; z-index: 900; inset: 0; background: rgba(5, 13, 27, .68); backdrop-filter: blur(2px); }
.parent-tour-target-topbar .app-topbar { z-index: 910; }
.parent-tutorial-target-active {
  position: relative;
  z-index: 912 !important;
  outline: 4px solid var(--accent);
  outline-offset: 5px;
  border-radius: var(--radius-md);
  box-shadow: 0 14px 48px rgba(4, 12, 27, .28);
}
/* max-height zorunlu: kart position:fixed olduğu için taşarsa tarayıcı onu
   görünüme kaydıramaz ve alttaki "Sonraki" düğmesi ekran dışında kalır. Metin
   uzunluğu yazı tipine, tarayıcı yakınlaştırmasına ve dile göre değişir; mobil
   yerleşimde bu sınır zaten vardı, masaüstünde eksikti. İçerik .quick-tour-scroll
   içinde kayar, aksiyon satırı her zaman görünür kalır. */
.quick-tour-popover { position: fixed; z-index: 920; max-height: calc(100dvh - 32px); display: flex; flex-direction: column; overflow: hidden; color: var(--demo-app-fg); background: var(--demo-app-surface); border: 1px solid rgba(255,255,255,.6); border-radius: var(--radius-lg); box-shadow: 0 26px 80px rgba(4,12,27,.38); }
.quick-tour-scroll { min-height: 0; padding: 21px 21px 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.quick-tour-progress { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--demo-app-subtle); font-size: 10px; font-weight: 900; }
.quick-tour-progress button { min-height: 36px; padding: 5px 8px; color: var(--demo-app-muted); background: transparent; border: 0; border-radius: var(--radius-xs); font-size: 11px; font-weight: 800; cursor: pointer; }
.quick-tour-progress button:hover { color: var(--demo-info); background: var(--demo-info-bg); }
.quick-tour-track { height: 4px; margin: 9px 0 20px; overflow: hidden; background: var(--demo-app-border); border-radius: var(--radius-pill); }
.quick-tour-track span { display: block; height: 100%; background: var(--accent); transition: width var(--dur-base); }
.quick-tour-popover h2 { margin: 0; color: var(--demo-app-fg); font: 700 21px/1.24 var(--font-display); }
.quick-tour-popover h2:focus { outline: none; }
.quick-tour-scroll > p { margin: 9px 0 0; color: var(--demo-app-muted); font-size: 12px; line-height: 1.65; }
.quick-tour-actions { padding: 16px 21px 21px; display: grid; grid-template-columns: auto 1fr; flex: 0 0 auto; gap: 9px; background: var(--demo-app-surface); border-top: 1px solid var(--demo-app-border); }
.quick-tour-actions .demo-btn:last-child { justify-content: center; }

.parent-scenario-coach { position: fixed; z-index: 700; right: 22px; bottom: max(22px, env(safe-area-inset-bottom)); width: min(370px, calc(100vw - 32px)); max-height: calc(100dvh - 44px); padding: 18px; overflow-y: auto; color: var(--demo-app-fg); background: rgba(255,255,255,.98); border: 1px solid var(--demo-app-border); border-top: 4px solid var(--accent); border-radius: var(--radius-lg); box-shadow: 0 24px 70px rgba(4,12,27,.28); backdrop-filter: blur(14px); }
.scenario-coach-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.scenario-coach-head strong { display: block; color: var(--demo-app-subtle); font-size: 10px; }
.scenario-coach-head button { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; color: var(--demo-app-muted); background: transparent; border: 1px solid var(--demo-app-border); border-radius: var(--radius-sm); cursor: pointer; }
.scenario-progress { height: 5px; margin: 14px 0 18px; overflow: hidden; background: var(--demo-app-border); border-radius: var(--radius-pill); }
.scenario-progress span { display: block; height: 100%; background: var(--demo-success); transition: width var(--dur-base); }
.scenario-coach-body { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-items: start; }
.scenario-step-mark { width: 38px; height: 38px; display: grid; place-items: center; color: var(--demo-sidebar); background: var(--accent); border-radius: 50%; font: 900 13px/1 var(--font-mono); }
.scenario-coach-body h2 { margin: 0; color: var(--demo-app-fg); font: 700 17px/1.3 var(--font-display); }
.scenario-coach-body p { margin: 5px 0 0; color: var(--demo-app-muted); font-size: 11px; line-height: 1.55; }
.scenario-hint { margin: 15px 0; padding: 11px 12px; color: var(--demo-info); background: var(--demo-info-bg); border-left: 3px solid var(--demo-info); font-size: 10px; line-height: 1.5; }
.scenario-pause { width: 100%; margin-top: 5px; }
.parent-scenario-target { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: var(--radius-md); }
@media (min-width: 761px) { .parent-scenario-active .toast-region { right: 414px; } }

.toast-region { position: fixed; z-index: 1000; right: max(20px,env(safe-area-inset-right)); bottom: max(20px,env(safe-area-inset-bottom)); width: min(380px, calc(100vw - 40px)); display: grid; gap: 8px; pointer-events: none; }
.toast { padding: 14px 16px; color: #fff; background: var(--demo-sidebar); border-left: 4px solid var(--demo-success); border-radius: var(--radius-sm); box-shadow: 0 16px 44px rgba(4,12,27,.25); font-size: 12px; font-weight: 700; animation: toast-in .22s ease-out both; }
.toast.is-error { border-left-color: var(--demo-danger); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
.mobile-bottom-nav { display: none; }

@media (max-width: 1080px) {
  .app-shell { grid-template-columns: 82px minmax(0, 1fr); }
  .app-sidebar { padding-inline: 12px; }
  .app-logo-link { justify-content: center; padding: 0; overflow: hidden; }
  .app-logo { width: 58px; max-width: none; object-fit: cover; object-position: left; }
  .app-nav-link { justify-content: center; padding-inline: 0; }
  .app-nav-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .app-sidebar-foot p, .app-sidebar-foot .demo-mode-pill { display: none; }
  .app-grid { grid-template-columns: 1fr; }
  .active-panel { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .active-panel .panel-head { grid-column: 1 / -1; }
  .active-item:nth-child(even) { border-right: 1px solid var(--demo-app-border); }
  .profile-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .gateway-nav { height: 66px; }
  .gateway-nav-inner, .gateway-main, .gateway-footer-inner { width: min(100% - 32px, 1180px); }
  .gateway-logo { height: 48px; }
  .gateway-back-tam { display: none; }
  .gateway-back-kisa { display: inline; }
  .gateway-main { padding: 44px 0 54px; }
  .gateway-heading { margin-bottom: 28px; }
  .gateway-heading h1 { font-size: clamp(32px, 10vw, 46px); letter-spacing: -1.2px; }
  .gateway-grid { grid-template-columns: 1fr; }
  .gateway-card { min-height: 330px; padding: 24px; }
  .gateway-card h2 { margin-top: 30px; }
  .gateway-card-meta { align-items: stretch; flex-direction: column; }
  .preview-modules { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .preview-actions { flex-direction: column-reverse; }
  .preview-actions .demo-btn { width: 100%; }

  .app-shell { display: block; }
  .app-sidebar { display: none; }
  .app-topbar { height: auto; min-height: 72px; padding: max(10px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) 10px max(16px,env(safe-area-inset-left)); display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .topbar-left { display: contents; }
  .topbar-left > a { grid-column: 1; grid-row: 1; width: 80px; }
  .topbar-actions { grid-column: 2; grid-row: 1; margin-left: auto; }
  .app-mobile-logo { display: block; }
  .student-switcher { width: 100%; grid-column: 1 / -1; grid-row: 2; margin-top: 8px; }
  .topbar-link, .topbar-mode { display: none; }
  .app-content { width: min(100% - 28px, 1180px); padding: 24px 0 calc(112px + env(safe-area-inset-bottom)); }
  .page-head { align-items: flex-start; flex-direction: column; gap: 15px; }
  .page-actions { width: 100%; justify-content: flex-start; }
  .page-actions .demo-btn { flex: 1; }
  .presence-layout { grid-template-columns: 1fr; }
  .snapshot { min-height: 220px; border-left: 0; border-top: 1px solid var(--demo-app-border); }
  .quick-actions { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .active-panel { display: block; }
  .active-item:nth-child(even) { border-right: 0; }
  .notification-card { grid-template-columns: auto minmax(0,1fr); }
  .notification-card .card-actions { grid-column: 2; justify-content: flex-start; }
  .request-card { grid-template-columns: 1fr; }
  .request-card .card-actions { justify-content: flex-start; }
  .mobile-bottom-nav {
    position: fixed;
    z-index: 30;
    inset: auto 0 0;
    min-height: 72px;
    padding: 7px max(8px, env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    background: rgba(255,255,255,.97);
    border-top: 1px solid var(--demo-app-border);
    box-shadow: 0 -10px 30px rgba(16,32,57,.08);
    backdrop-filter: blur(12px);
  }
  .mobile-nav-link { min-width: 0; min-height: 54px; padding: 5px 2px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--demo-app-muted); border-radius: var(--radius-xs); font-size: 9px; font-weight: 800; line-height: 1.15; text-align: center; text-decoration: none; }
  .mobile-nav-link .demo-icon { width: 20px; height: 20px; }
  .mobile-nav-link.is-active { color: var(--demo-info); background: var(--demo-info-bg); }
  .toast-region { right: max(14px,env(safe-area-inset-right)); bottom: calc(88px + env(safe-area-inset-bottom)); width: min(380px,calc(100vw - 28px)); }
  .app-dialog { width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: 100vh; max-height: 100dvh; margin: 0; border: 0; border-radius: 0; }
  .app-dialog .dialog-head { padding-top: max(17px,env(safe-area-inset-top)); }
  .app-dialog .dialog-actions { padding-bottom: max(16px,env(safe-area-inset-bottom)); }
  .scenario-dialog { width: 100%; margin: auto 0 0; height: min(86vh, 760px); height: min(86dvh, 760px); max-height: 86vh; max-height: 86dvh; border-radius: 16px 16px 0 0; }
  .parent-tutorial-menu { width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: 100vh; max-height: 100dvh; margin: 0; border: 0; border-radius: 0; }
  .parent-tutorial-menu .dialog-head { padding-top: max(17px,env(safe-area-inset-top)); }
  .parent-tutorial-menu .dialog-actions { padding-bottom: max(16px,env(safe-area-inset-bottom)); }
  .tutorial-choice-grid { grid-template-columns: 1fr; }
  .quick-tour-popover { inset: auto 12px calc(88px + env(safe-area-inset-bottom)) 12px !important; width: auto !important; max-height: min(58dvh, 430px); border-radius: var(--radius-lg); }
  .quick-tour-scroll { padding: 18px 18px 0; }
  .quick-tour-actions { padding: 14px 18px 18px; }
  .quick-tour-popover.quick-tour-popover-top { inset: max(12px, env(safe-area-inset-top)) 12px auto 12px !important; }
  .parent-tutorial-target-active { outline-width: 3px; outline-offset: 3px; }
  .parent-scenario-coach { left: 10px; right: 10px; bottom: calc(82px + env(safe-area-inset-bottom)); width: auto; max-height: min(58dvh, 470px); padding: 16px; }
  .parent-scenario-active .app-content { padding-bottom: calc(450px + env(safe-area-inset-bottom)); }
  .form-field input, .form-field select, .form-field textarea, .student-switcher { font-size: 16px; }
  .text-button, .filter-chip { min-height: 44px; }
  .notification-card h2, .notification-card p, .request-card h2, .request-card p, .summary-list strong, .summary-list span, .detail-field strong, .mobile-nav-link { overflow-wrap: anywhere; }
}

@media (max-width: 760px) and (max-height: 640px), (max-width: 760px) and (orientation: landscape) {
  .app-topbar {
    min-height: 60px;
    padding: max(6px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) 6px max(10px,env(safe-area-inset-left));
    grid-template-columns: 44px minmax(0,1fr) auto;
    align-items: center;
    column-gap: 8px;
  }
  .topbar-left > a { grid-column: 1; grid-row: 1; width: 44px; }
  .app-mobile-logo { width: 44px; height: 42px; }
  .student-switcher { min-width: 0; height: 44px; grid-column: 2; grid-row: 1; margin-top: 0; }
  .topbar-actions { grid-column: 3; grid-row: 1; gap: 6px; }
  .topbar-actions .demo-mode-pill { display: none; }
  .app-content { padding-top: 16px; }
}

@media (max-width: 480px) {
  .gateway-nav-actions .demo-mode-pill { display: none; }
  .gateway-card-head { align-items: center; }
  .gateway-card h2 { font-size: 24px; }
  .gateway-footer-inner { flex-direction: column; }
  .preview-head, .preview-body, .preview-actions { padding-left: 18px; padding-right: 18px; }
  .preview-modules { grid-template-columns: 1fr; }
  .page-head h1 { font-size: 28px; }
  .presence-copy { padding: 21px 18px; }
  .student-facts { grid-template-columns: 1fr 1fr; gap: 14px 0; }
  .student-facts li:nth-child(2) { border-right: 0; }
  .student-facts li:nth-child(3) { padding-left: 0; grid-column: 1 / -1; border-right: 0; }
  .panel-pad { padding: 18px; }
  .panel-head { padding-inline: 18px; }
  .quick-action { min-height: 88px; }
  .notification-card, .request-card { padding: 16px; }
  .notification-card { grid-template-columns: 1fr; }
  .notification-glyph { width: 38px; height: 38px; }
  .notification-card .card-actions { grid-column: auto; }
  .form-grid, .choice-grid, .detail-grid { grid-template-columns: 1fr; }
  .form-field.wide, .detail-field.wide { grid-column: auto; }
  .dialog-head, .dialog-body, .dialog-actions { padding-left: 17px; padding-right: 17px; }
  .dialog-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .dialog-actions .demo-btn:only-child { grid-column: 1 / -1; }
  .summary-list li { gap: 14px; }
  .parent-tutorial-menu .dialog-body { padding: 17px; }
  .tutorial-choice { padding: 18px; }
  .tutorial-choice h3 { margin-top: 18px; font-size: 20px; }
  .quick-tour-actions { grid-template-columns: 1fr 1.35fr; }
  .scenario-coach-body { grid-template-columns: 34px minmax(0, 1fr); }
  .scenario-step-mark { width: 34px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ── Faz 4: Demo Merkezi sunum hazırlığı ── */
.gateway-presentation {
  margin-top: 28px; padding: 26px 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  background: var(--demo-surface, rgba(255,255,255,.04));
  border: 1px solid var(--demo-border, rgba(255,255,255,.12));
  border-radius: 16px;
}
.gateway-presentation h2 { margin: 6px 0 10px; font-size: 21px; font-weight: 800; line-height: 1.3; }
/* opacity: .78 kaldırıldı: --fg-muted zaten yarı saydam, ikisi çarpılınca
   14px metin 3.61:1'e düşüyordu. */
.gateway-presentation p { margin: 0; max-width: 620px; font-size: 14px; line-height: 1.7; }
.gateway-presentation .demo-btn { flex-shrink: 0; }
@media (max-width: 720px) {
  .gateway-presentation { padding: 22px; gap: 18px; }
  .gateway-presentation .demo-btn { width: 100%; }
}

/* ── Faz 7: kontrast düzeltmeleri ── */
/* Filigran, sentetik kamera kompozisyonunun gri zemininde okunur olmalı */
.snapshot-watermark { color: #ffe9a8; border-color: rgba(255, 233, 168, .7); }
