@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
    --ink: #0b1220;
    --muted: #607086;
    --line: #e4e9f0;
    --surface: #ffffff;
    --canvas: #f5f7fb;
    --primary: #155eef;
    --primary-dark: #0b4cd6;
    --accent: #14b8a6;
    --danger: #d92d20;
    --warning: #b54708;
    --success: #067647;
    --radius: 14px;
    --shadow: 0 12px 40px rgba(15, 23, 42, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: 'DM Sans', ui-sans-serif, system-ui, sans-serif; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(21, 94, 239, .35); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 999; left: 12px; top: -80px; background: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* Shared controls */
.button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 9px; padding: 9px 15px; font-weight: 700; cursor: pointer; transition: .18s ease; white-space: nowrap; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--primary); color: #fff; box-shadow: 0 7px 18px rgba(21,94,239,.2); }
.button-primary:hover { background: var(--primary-dark); }
.button-secondary { color: var(--ink); background: #fff; border-color: #d3dae5; }
.button-quiet { background: transparent; color: #334155; border-color: transparent; }
.button-danger { background: #fff; color: var(--danger); border-color: #f4c7c3; }
.button-lg { min-height: 52px; padding: 12px 22px; font-size: 1rem; border-radius: 11px; }
.icon-button { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 9px; cursor: pointer; }
.badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; background: #eef2f7; color: #405169; padding: 4px 9px; font-size: .78rem; font-weight: 700; letter-spacing: .01em; }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-waiting, .badge-open { background: #eafbf4; color: #08775a; }
.badge-called { background: #fff6df; color: #a15c00; }
.badge-serving { background: #eaf2ff; color: #175cd3; }
.badge-completed { background: #edf0f4; color: #475467; }
.badge-no-show, .badge-closed, .badge-cancelled { background: #fff0ef; color: #b42318; }
.badge-paused { background: #fff7e8; color: #b54708; }
.muted { color: var(--muted); }
.eyebrow { margin: 0 0 8px; color: var(--primary); text-transform: uppercase; letter-spacing: .13em; font-size: .76rem; font-weight: 800; }
.empty-state { text-align: center; padding: 55px 20px; border: 1px dashed #cbd5e1; border-radius: var(--radius); background: linear-gradient(145deg,#fff,#f8fafc); }
.empty-state img { width: 48px; margin: 0 auto 18px; }
.empty-state h3 { margin: 0 0 6px; }
.empty-state p { max-width: 500px; margin: 0 auto 20px; color: var(--muted); }

/* Public product site */
.public-body { background: #fff; }
.public-nav { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 76px; padding: 0 clamp(22px, 6vw, 100px); border-bottom: 1px solid rgba(226,232,240,.8); background: rgba(255,255,255,.92); backdrop-filter: blur(18px); }
.public-logo img { width: 164px; }
.public-nav nav { display: flex; gap: 30px; color: #405169; font-weight: 600; }
.public-nav nav a:hover { color: var(--primary); }
.public-actions { display: flex; justify-content: flex-end; gap: 8px; }
.hero { position: relative; overflow: hidden; padding: 92px clamp(22px, 7vw, 120px) 84px; background: radial-gradient(circle at 82% 15%,#dceaff 0,rgba(220,234,255,0) 28%), radial-gradient(circle at 10% 80%,#d9fff8 0,rgba(217,255,248,0) 25%), #f8faff; }
.hero::before { content: ''; position: absolute; inset: 0; opacity: .25; background-image: linear-gradient(#b9c7da 1px,transparent 1px),linear-gradient(90deg,#b9c7da 1px,transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom,#000,transparent 75%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0,1.03fr) minmax(420px,.97fr); gap: clamp(50px,8vw,120px); max-width: 1320px; margin: auto; align-items: center; }
.hero-copy h1 { margin: 14px 0 24px; max-width: 760px; font-family: Manrope, sans-serif; font-size: clamp(2.8rem,5.2vw,5rem); line-height: 1.02; letter-spacing: -.055em; }
.hero-copy h1 span { color: var(--primary); }
.hero-copy > p { max-width: 650px; margin: 0 0 34px; color: #53657a; font-size: clamp(1.08rem,2vw,1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { display: flex; gap: 20px; margin-top: 34px; color: #53657a; font-size: .9rem; }
.hero-note span::before { content: '✓'; color: var(--success); margin-right: 7px; font-weight: 900; }
.product-preview { position: relative; border: 1px solid #d9e1ed; border-radius: 22px; padding: 12px; background: rgba(255,255,255,.7); box-shadow: 0 30px 90px rgba(29,78,216,.15); transform: perspective(1000px) rotateY(-4deg) rotateX(2deg); }
.preview-window { overflow: hidden; min-height: 470px; border-radius: 14px; background: #f7f9fc; box-shadow: 0 4px 18px rgba(15,23,42,.12); }
.preview-top { display: flex; align-items: center; gap: 6px; height: 39px; padding: 0 14px; background: #0b1220; }
.preview-top i { width: 7px; height: 7px; border-radius: 50%; background: #4b5b71; }
.preview-app { display: grid; grid-template-columns: 86px 1fr; min-height: 430px; }
.preview-side { padding: 18px 12px; background: #111b2c; }
.preview-side img { width: 34px; margin-bottom: 35px; }
.preview-side span { display: block; height: 8px; margin: 15px 0; border-radius: 3px; background: #2d3b50; }
.preview-side span:first-of-type { background: #4579de; }
.preview-main { padding: 28px; }
.preview-main h3 { margin: 0 0 7px; font-size: 1rem; }
.preview-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 20px 0; }
.preview-kpi { padding: 13px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.preview-kpi b { display: block; font: 800 1.55rem Manrope; }
.preview-table { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.preview-row { display: grid; grid-template-columns: .6fr 1.4fr 1fr; gap: 8px; align-items: center; padding: 13px; border-bottom: 1px solid #eef1f5; font-size: .75rem; }
.preview-row:last-child { border: 0; }
.preview-ticket { font-weight: 800; color: var(--primary); }
.preview-live { position: absolute; right: -18px; bottom: 38px; display: flex; gap: 10px; align-items: center; padding: 13px 17px; border-radius: 11px; background: #fff; box-shadow: var(--shadow); font-size: .8rem; font-weight: 700; }
.preview-live i { width: 10px; height: 10px; border-radius: 50%; background: #16a36c; box-shadow: 0 0 0 5px #d7f8e9; }
.section { padding: 96px clamp(22px,7vw,120px); }
.section-inner { max-width: 1240px; margin: auto; }
.section-heading { max-width: 710px; margin-bottom: 52px; }
.section-heading.center { margin: 0 auto 54px; text-align: center; }
.section h2 { margin: 0 0 15px; font: 800 clamp(2rem,4vw,3.2rem)/1.1 Manrope; letter-spacing: -.04em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 1.1rem; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.step { position: relative; padding: 30px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.step-number { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 25px; color: #fff; border-radius: 12px; background: var(--ink); font: 800 1rem Manrope; }
.step h3 { margin: 0 0 8px; font: 750 1.25rem Manrope; }
.step p { margin: 0; color: var(--muted); }
.features-section { background: #0b1220; color: #f8fafc; }
.features-section .section-heading p { color: #a7b4c7; }
.feature-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.feature-card { min-height: 210px; padding: 25px; border: 1px solid #263349; border-radius: 15px; background: linear-gradient(145deg,#111c2f,#0c1525); }
.feature-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 28px; border-radius: 11px; color: #fff; background: #1e56c9; font-weight: 800; }
.feature-card h3 { margin: 0 0 8px; font: 700 1.05rem Manrope; }
.feature-card p { margin: 0; color: #a7b4c7; font-size: .91rem; }
.sectors { display: flex; flex-wrap: wrap; gap: 11px; }
.sector { padding: 12px 17px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 650; color: #405169; }
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 52px; border-radius: 22px; color: #fff; background: linear-gradient(125deg,#155eef,#0c3caa 65%,#0f766e); }
.cta-panel h2 { max-width: 700px; margin: 0; }
.cta-panel .button { background: #fff; color: var(--ink); }
.public-footer { display: grid; grid-template-columns: 1fr auto; gap: 30px; padding: 42px clamp(22px,7vw,120px); border-top: 1px solid var(--line); color: var(--muted); }
.public-footer img { width: 140px; margin-bottom: 12px; }
.public-footer nav { display: flex; gap: 25px; align-items: center; }
.public-footer a:hover { color: var(--primary); }

/* Application shell */
.app-body { background: var(--canvas); }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 40; display: flex; flex-direction: column; width: 250px; color: #dce5f2; background: #0b1220; }
.sidebar-logo { display: flex; align-items: center; height: 76px; padding: 0 24px; border-bottom: 1px solid #1e293b; }
.sidebar-logo img { width: 155px; }
.sidebar-nav { overflow-y: auto; flex: 1; padding: 18px 14px; }
.sidebar-nav a { display: flex; align-items: center; gap: 11px; min-height: 42px; margin-bottom: 3px; padding: 9px 11px; border-radius: 8px; color: #aebbd0; font-size: .91rem; font-weight: 600; }
.sidebar-nav a span { display: inline-grid; place-items: center; width: 22px; color: #7890b2; font-size: 1.1rem; }
.sidebar-nav a:hover, .sidebar-nav a[aria-current="page"] { color: #fff; background: #1b2a42; }
.sidebar-nav a[aria-current="page"] span { color: #5f91f4; }
.nav-label { display: block; margin: 22px 11px 8px; color: #657793; text-transform: uppercase; letter-spacing: .11em; font-size: .66rem; font-weight: 800; }
.nav-label:first-child { margin-top: 4px; }
.sidebar-footer { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; min-height: 72px; padding: 12px 15px; border-top: 1px solid #1e293b; }
.sidebar-footer .avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #294477; color: #fff; font-weight: 800; }
.sidebar-footer strong, .sidebar-footer small { overflow: hidden; display: block; max-width: 145px; white-space: nowrap; text-overflow: ellipsis; }
.sidebar-footer strong { color: #f8fafc; font-size: .76rem; }
.sidebar-footer small { color: #7f91aa; font-size: .7rem; }
.app-frame { min-height: 100vh; margin-left: 250px; }
.app-topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; min-height: 76px; padding: 0 30px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.92); backdrop-filter: blur(15px); }
.crumb { display: flex; align-items: center; gap: 9px; font-size: .88rem; }
.crumb span { color: var(--muted); }
.crumb span::after { content: '/'; margin-left: 9px; color: #bac3cf; }
.topbar-actions { margin-left: auto; }
.mobile-menu { display: none; margin-right: 12px; }
.app-main { max-width: 1500px; margin: auto; padding: 30px; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin: 3px 0 26px; }
.page-head h1 { margin: 0 0 6px; font: 800 clamp(1.7rem,3vw,2.25rem)/1.15 Manrope; letter-spacing: -.035em; }
.page-head p { margin: 0; color: var(--muted); }
.page-actions { display: flex; gap: 8px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 2px 5px rgba(15,23,42,.02); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.panel-head h2 { margin: 0; font: 750 1rem Manrope; }
.panel-body { padding: 20px; }
.kpi-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 22px; }
.kpi-card { position: relative; overflow: hidden; min-height: 132px; padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.kpi-card::after { content: ''; position: absolute; right: -16px; top: -20px; width: 80px; height: 80px; border-radius: 50%; background: #f2f6ff; }
.kpi-card span { color: var(--muted); font-size: .82rem; font-weight: 650; }
.kpi-card strong { display: block; margin-top: 17px; font: 800 2rem Manrope; letter-spacing: -.04em; }
.kpi-card small { color: #8492a6; }
.dashboard-grid { display: grid; grid-template-columns: 1.45fr .8fr; gap: 20px; }
.queue-list { display: grid; gap: 12px; }
.queue-card { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.queue-card h3 { margin: 0 0 4px; font-size: 1rem; }
.queue-card p { margin: 0; color: var(--muted); font-size: .86rem; }
.queue-card-actions { display: flex; gap: 6px; align-items: center; }
.table-wrap { width: 100%; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; background: #fff; }
.data-table th { padding: 11px 16px; color: #66778d; background: #f8fafc; border-bottom: 1px solid var(--line); text-align: left; text-transform: uppercase; letter-spacing: .05em; font-size: .68rem; }
.data-table td { padding: 14px 16px; border-bottom: 1px solid #edf0f4; font-size: .88rem; vertical-align: middle; }
.data-table tbody tr:last-child td { border: 0; }
.data-table tbody tr:hover { background: #fbfcfe; }
.ticket-link { color: var(--primary); font-weight: 800; }
.service-pills { display: flex; flex-wrap: wrap; gap: 5px; }
.service-pills span { padding: 3px 7px; border-radius: 5px; background: #eff3f8; color: #405169; font-size: .73rem; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 18px; }
.filters .form-control { min-width: 150px; width: auto; }
.form-shell { max-width: 820px; }
.form-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.form-card form > p { margin: 0 0 20px; }
.form-card label { display: block; margin-bottom: 7px; color: #334155; font-size: .84rem; font-weight: 700; }
.form-control, .form-card input:not([type=checkbox]):not([type=radio]), .form-card select, .form-card textarea { width: 100%; min-height: 44px; padding: 9px 11px; border: 1px solid #cfd7e3; border-radius: 8px; background: #fff; color: var(--ink); }
.form-card textarea { min-height: 100px; resize: vertical; }
.form-card input[type=color] { max-width: 90px; padding: 4px; }
.form-card input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--primary); }
.form-card ul { padding: 0; list-style: none; display: grid; gap: 7px; }
.form-card ul label { display: flex; gap: 9px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 8px; }
.helptext { display: block; margin-top: 5px; color: var(--muted); font-size: .78rem; }
.errorlist { margin: 5px 0 !important; color: var(--danger); font-size: .82rem; }
.form-actions { display: flex; gap: 9px; justify-content: flex-end; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.toast-stack { display: grid; gap: 8px; margin-bottom: 18px; }
.toast { padding: 12px 15px; border: 1px solid #b8dbcb; border-radius: 9px; background: #ecfdf3; color: #05603a; font-weight: 650; }
.toast-error { border-color: #f4c7c3; background: #fff1f0; color: #a42318; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 20px; }

/* Staff operations */
.staff-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(330px,.65fr); gap: 20px; }
.point-selector { display: flex; gap: 10px; align-items: center; }
.point-selector select { min-width: 240px; }
.current-customer { padding: clamp(22px,4vw,38px); border-radius: 16px; color: #fff; background: linear-gradient(145deg,#102143,#0b1220); }
.current-customer.empty { min-height: 310px; display: grid; place-items: center; text-align: center; background: linear-gradient(145deg,#fff,#f7f9fd); color: var(--ink); border: 1px solid var(--line); }
.current-label { color: #91a7c6; text-transform: uppercase; letter-spacing: .11em; font-size: .74rem; font-weight: 800; }
.current-ticket { margin: 14px 0 6px; font: 800 clamp(3.8rem,8vw,6rem)/1 Manrope; letter-spacing: -.06em; }
.current-point { color: #9fafd0; }
.current-services { display: flex; flex-wrap: wrap; gap: 7px; margin: 22px 0; }
.current-services span { padding: 6px 10px; border-radius: 6px; background: #213451; font-size: .82rem; }
.staff-primary-actions { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-top: 25px; }
.staff-primary-actions .button { min-height: 54px; }
.staff-primary-actions .button-primary { background: #2f6eec; }
.action-panels { display: grid; gap: 12px; margin-top: 14px; }
.action-details { padding: 15px; border: 1px solid #263a5a; border-radius: 10px; background: #101d31; }
.action-details summary { cursor: pointer; font-weight: 700; }
.action-details form { display: grid; gap: 9px; margin-top: 12px; }
.action-details input, .action-details select, .action-details textarea { width: 100%; min-height: 42px; padding: 8px 10px; color: var(--ink); background: #fff; border: 0; border-radius: 7px; }
.waiting-stack { display: grid; gap: 9px; max-height: 710px; overflow-y: auto; }
.waiting-card { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 10px; }
.waiting-card strong { font: 800 1.25rem Manrope; color: var(--primary); }
.waiting-card small { display: block; color: var(--muted); }
.call-next { width: 100%; min-height: 58px; margin-bottom: 14px; font-size: 1rem; }

/* Analytics */
.analytics-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.metric { padding: 19px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.metric span { color: var(--muted); font-size: .82rem; }
.metric strong { display: block; margin-top: 10px; font: 800 1.85rem Manrope; }
.chart-bars { display: grid; gap: 13px; padding: 20px; }
.bar-row { display: grid; grid-template-columns: 130px 1fr 48px; gap: 12px; align-items: center; font-size: .84rem; }
.bar-track { height: 9px; border-radius: 999px; background: #eef2f7; overflow: hidden; }
.bar-track i { display: block; height: 100%; min-width: 4px; border-radius: inherit; background: linear-gradient(90deg,var(--primary),#5b8def); }
.forecast-card { padding: 25px; border: 1px solid #bed3fc; border-radius: 14px; background: linear-gradient(145deg,#f0f5ff,#fff); }
.forecast-card h3 { margin: 0 0 10px; }
.forecast-values { display: flex; flex-wrap: wrap; gap: 25px; }
.forecast-values strong { display: block; font: 800 1.5rem Manrope; }
.forecast-values span { color: var(--muted); font-size: .8rem; }

/* Kiosk */
.kiosk-body { min-height: 100vh; background: var(--kiosk-primary,#155eef); }
.kiosk-frame { min-height: 100vh; display: flex; flex-direction: column; max-width: 1180px; margin: auto; background: #f8fafc; }
.kiosk-head { display: flex; align-items: center; justify-content: space-between; min-height: 96px; padding: 20px 38px; color: #fff; background: var(--kiosk-primary,#155eef); }
.kiosk-head img { max-height: 55px; max-width: 180px; object-fit: contain; }
.kiosk-brand { font: 800 1.4rem Manrope; }
.kiosk-main { flex: 1; padding: clamp(28px,5vw,65px); }
.kiosk-main h1 { max-width: 800px; margin: 0 auto 10px; text-align: center; font: 800 clamp(2rem,5vw,3.5rem)/1.1 Manrope; letter-spacing: -.04em; }
.kiosk-lead { margin: 0 auto 38px; text-align: center; color: var(--muted); font-size: 1.1rem; }
.kiosk-services { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; max-width: 900px; margin: auto; }
.service-choice input { position: absolute; opacity: 0; }
.service-choice span { display: flex; min-height: 100px; align-items: center; padding: 20px; border: 2px solid #dce3ed; border-radius: 13px; background: #fff; font: 700 1.08rem Manrope; cursor: pointer; transition: .16s ease; }
.service-choice span::before { content: ''; width: 24px; height: 24px; margin-right: 14px; border: 2px solid #bdc8d7; border-radius: 7px; }
.service-choice input:checked + span { color: var(--kiosk-primary,#155eef); border-color: var(--kiosk-primary,#155eef); box-shadow: 0 0 0 4px rgba(21,94,239,.1); }
.service-choice input:checked + span::before { content: '✓'; display: grid; place-items: center; border-color: var(--kiosk-primary,#155eef); background: var(--kiosk-primary,#155eef); color: #fff; font-size: .8rem; }
.kiosk-customer { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; max-width: 900px; margin: 28px auto 0; }
.kiosk-customer label { font-weight: 700; }
.kiosk-customer input { width: 100%; min-height: 58px; margin-top: 7px; padding: 12px 15px; border: 2px solid #dce3ed; border-radius: 10px; background: #fff; }
.kiosk-submit { display: flex; justify-content: center; margin-top: 34px; }
.kiosk-submit .button { min-width: 280px; min-height: 64px; font-size: 1.1rem; background: var(--kiosk-primary,#155eef); }
.kiosk-message { max-width: 900px; margin: 0 auto 20px; padding: 13px 17px; border-radius: 9px; background: #fff4df; color: #844500; }
.ticket-receipt { max-width: 520px; margin: 0 auto; padding: 34px; border: 1px solid var(--line); border-radius: 18px; background: #fff; text-align: center; box-shadow: var(--shadow); }
.ticket-receipt img { max-height: 65px; margin: 0 auto 15px; }
.ticket-number { margin: 18px 0; font: 800 clamp(4rem,12vw,7rem)/1 Manrope; letter-spacing: -.07em; color: var(--kiosk-primary,#155eef); }
.ticket-services { margin: 20px 0; padding: 18px 0; border-block: 1px dashed #b8c2d0; }
.ticket-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; text-align: left; }
.ticket-meta small { display: block; color: var(--muted); }
.ticket-actions { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }

/* Large display */
.display-body { min-height: 100vh; overflow: hidden; color: #fff; background: #07101e; }
.display-shell { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; padding: 2.2vw; background: radial-gradient(circle at 85% 0,#15376d 0,transparent 30%); }
.display-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1.6vw; border-bottom: 1px solid #253650; }
.display-head img { max-width: 200px; max-height: 70px; }
.display-brand { font: 800 clamp(1.2rem,2vw,2.2rem) Manrope; }
.display-head time { color: #9db0cb; font-size: clamp(1rem,1.5vw,1.5rem); }
.display-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 2vw; padding: 2vw 0; }
.display-section-title { margin: 0 0 1.3vw; color: #8ea6c7; text-transform: uppercase; letter-spacing: .16em; font: 700 clamp(.75rem,1.2vw,1.1rem) Manrope; }
.called-list { display: grid; gap: .75vw; }
.called-row { display: grid; grid-template-columns: 1fr 1.3fr; align-items: center; min-height: 8vw; padding: 1.2vw 1.8vw; border: 1px solid #254169; border-radius: 1vw; background: linear-gradient(125deg,#112743,#0d1b31); }
.called-row:first-child { border-color: #397bf1; box-shadow: inset 5px 0 #397bf1, 0 0 40px rgba(34,99,230,.14); }
.called-row strong { font: 800 clamp(2.4rem,5vw,5.6rem)/1 Manrope; letter-spacing: -.05em; }
.called-row span { color: #b5c5db; font: 700 clamp(1.4rem,2.6vw,3rem) Manrope; }
.waiting-display { display: flex; flex-wrap: wrap; gap: .8vw; }
.waiting-display span { display: grid; place-items: center; min-width: 8vw; min-height: 5vw; padding: .7vw; border: 1px solid #263b5a; border-radius: .7vw; background: #0e1b2d; font: 750 clamp(1.3rem,2.5vw,2.8rem) Manrope; }
.signage-slot { min-height: 18vw; display: grid; place-items: center; padding: 1.5vw; border: 1px solid #263b5a; border-radius: 1vw; background: #0c192a; text-align: center; }
.signage-slot img, .signage-slot video { max-height: 31vh; width: 100%; object-fit: contain; border-radius: .6vw; }
.signage-slot p { font: 700 clamp(1.3rem,2.3vw,2.5rem)/1.25 Manrope; }
.display-message { min-height: 4.5vw; display: flex; align-items: center; justify-content: center; padding: 1vw; border-radius: .7vw; background: #14305d; color: #dce9ff; font-size: clamp(1rem,1.6vw,1.8rem); }
.audio-activate { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; background: rgba(4,10,20,.92); }
.audio-activate button { min-width: 340px; min-height: 90px; font-size: 1.3rem; }

@media (max-width: 1100px) {
    .hero-grid { grid-template-columns: 1fr; }
    .product-preview { max-width: 720px; transform: none; }
    .feature-grid { grid-template-columns: repeat(2,1fr); }
    .kpi-grid { grid-template-columns: repeat(2,1fr); }
    .dashboard-grid, .staff-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    .public-nav { grid-template-columns: 1fr auto; padding-inline: 20px; }
    .public-nav nav { display: none; }
    .public-actions .button-quiet { display: none; }
    .hero { padding-top: 65px; }
    .hero-note { display: grid; gap: 8px; }
    .steps, .feature-grid { grid-template-columns: 1fr; }
    .cta-panel { display: grid; padding: 34px 25px; }
    .public-footer { grid-template-columns: 1fr; }
    .public-footer nav { flex-wrap: wrap; }
    .sidebar { transform: translateX(-100%); transition: transform .2s ease; box-shadow: 15px 0 40px rgba(0,0,0,.2); }
    .sidebar.open { transform: translateX(0); }
    .app-frame { margin-left: 0; }
    .mobile-menu { display: inline-grid; }
    .app-main { padding: 20px; }
    .topbar-actions { display: none; }
    .page-head { display: grid; }
    .kiosk-services, .kiosk-customer { grid-template-columns: 1fr; }
    .display-grid { grid-template-columns: 1fr; }
    .display-shell { overflow-y: auto; }
}

@media (max-width: 560px) {
    .public-logo img { width: 132px; }
    .public-actions .button { min-height: 38px; padding: 7px 11px; }
    .hero-copy h1 { font-size: 2.65rem; }
    .preview-window { min-height: 390px; }
    .preview-app { grid-template-columns: 58px 1fr; min-height: 350px; }
    .preview-main { padding: 16px; }
    .preview-kpis { grid-template-columns: 1fr; }
    .preview-kpi:nth-child(n+2) { display: none; }
    .section { padding-block: 70px; }
    .kpi-grid, .analytics-grid { grid-template-columns: 1fr; }
    .queue-card { grid-template-columns: 1fr; }
    .staff-primary-actions { grid-template-columns: 1fr; }
    .ticket-meta { grid-template-columns: 1fr; }
    .kiosk-head { padding-inline: 22px; }
}

@media print {
    body { background: #fff !important; }
    .kiosk-head, .ticket-actions, .no-print, .public-nav, .sidebar, .app-topbar { display: none !important; }
    .kiosk-main { padding: 0; }
    .ticket-receipt { width: 80mm; max-width: 80mm; border: 0; box-shadow: none; padding: 5mm; }
    .ticket-number { color: #000; font-size: 42pt; }
    @page { size: 80mm auto; margin: 3mm; }
}
