/* Poppins (self-hosted, latin + latin-ext + devanagari subsets) */
/* Phones use the system fonts (no download, no re-layout); webfonts only on wider screens. */
@media (min-width:821px){
@font-face{font-family:'Poppins';font-style:normal;font-display:swap;font-weight:400;src:url(../fonts/poppins-devanagari-400-normal.woff2) format('woff2');unicode-range:U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09}
@font-face{font-family:'Poppins';font-style:normal;font-display:swap;font-weight:400;src:url(../fonts/poppins-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Poppins';font-style:normal;font-display:swap;font-weight:400;src:url(../fonts/poppins-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Poppins';font-style:normal;font-display:swap;font-weight:500;src:url(../fonts/poppins-devanagari-500-normal.woff2) format('woff2');unicode-range:U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09}
@font-face{font-family:'Poppins';font-style:normal;font-display:swap;font-weight:500;src:url(../fonts/poppins-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Poppins';font-style:normal;font-display:swap;font-weight:500;src:url(../fonts/poppins-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Poppins';font-style:normal;font-display:swap;font-weight:600;src:url(../fonts/poppins-devanagari-600-normal.woff2) format('woff2');unicode-range:U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09}
@font-face{font-family:'Poppins';font-style:normal;font-display:swap;font-weight:600;src:url(../fonts/poppins-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Poppins';font-style:normal;font-display:swap;font-weight:600;src:url(../fonts/poppins-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Poppins';font-style:normal;font-display:swap;font-weight:700;src:url(../fonts/poppins-devanagari-700-normal.woff2) format('woff2');unicode-range:U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09}
@font-face{font-family:'Poppins';font-style:normal;font-display:swap;font-weight:700;src:url(../fonts/poppins-latin-ext-700-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Poppins';font-style:normal;font-display:swap;font-weight:700;src:url(../fonts/poppins-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Poppins';font-style:normal;font-display:swap;font-weight:800;src:url(../fonts/poppins-devanagari-800-normal.woff2) format('woff2');unicode-range:U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09}
@font-face{font-family:'Poppins';font-style:normal;font-display:swap;font-weight:800;src:url(../fonts/poppins-latin-ext-800-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Poppins';font-style:normal;font-display:swap;font-weight:800;src:url(../fonts/poppins-latin-800-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
}

/* SendFile — public site + shared components. Theme tokens below are overridden by the
   inline `html:root{...}` block the server prints from Admin → Design, Layout & Theme. */
:root {
  --qs-blue: #2563eb;
  --qs-blue-dark: #1d4ed8;
  --qs-cyan: #06b6d4;
  --qs-gradient: linear-gradient(135deg, var(--qs-blue) 0%, var(--qs-cyan) 100%);
  --qs-bg: #f5f9ff;
  --qs-text: #101828;
  --qs-muted: #64748b;
  --qs-radius: 22px;
  --qs-btn-color: var(--qs-blue);
  --qs-surface: rgba(255, 255, 255, 0.74);
  --qs-surface-strong: rgba(255, 255, 255, 0.92);
  --qs-border: color-mix(in srgb, var(--qs-blue) 14%, transparent);
  --qs-shadow: 0 12px 40px -12px color-mix(in srgb, var(--qs-blue) 28%, transparent);
  --qs-ring: color-mix(in srgb, var(--qs-blue) 30%, transparent);
  --qs-success: #10b981;
  --qs-danger: #ef4444;
  --qs-warning: #f59e0b;
  --qs-whatsapp: #25d366;
  --font: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ================================================================ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0; min-height: 100vh; font-family: var(--font); font-size: 1rem; line-height: 1.5;
  color: var(--qs-text); background-color: var(--qs-bg);
  background-image:
    radial-gradient(circle at 8% 12%, color-mix(in srgb, var(--qs-blue) 14%, transparent), transparent 42%),
    radial-gradient(circle at 92% 8%, color-mix(in srgb, var(--qs-cyan) 16%, transparent), transparent 42%),
    radial-gradient(circle at 50% 100%, color-mix(in srgb, var(--qs-blue) 8%, transparent), transparent 55%);
  background-attachment: fixed; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, p, figure { margin: 0; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, video, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
a { color: var(--qs-blue); text-decoration: none; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }
::selection { background: color-mix(in srgb, var(--qs-blue) 22%, transparent); }
[hidden] { display: none !important; }
.icon { display: inline-block; flex-shrink: 0; vertical-align: middle; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--qs-muted); }
.small { font-size: .75rem; }
.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 1rem; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gradient-text { background: var(--qs-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.thin-scroll { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--qs-blue) 25%, transparent) transparent; }

/* ================================================================ surfaces */
.glass {
  background: var(--qs-surface);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--qs-border); border-radius: var(--qs-radius); box-shadow: var(--qs-shadow);
}
.card { background: var(--qs-surface-strong); border: 1px solid var(--qs-border); border-radius: calc(var(--qs-radius) - 4px); box-shadow: 0 6px 24px -14px rgba(16, 24, 40, .25); }

/* ================================================================ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 600; font-size: .925rem; line-height: 1.2; padding: .7rem 1.15rem; border-radius: 14px;
  border: 1px solid transparent; cursor: pointer; user-select: none; white-space: nowrap; text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, opacity .2s ease, color .2s ease, filter .2s ease;
}
.btn:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--qs-ring); }
.btn:active:not(:disabled) { transform: translateY(1px) scale(.99); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-sm { padding: .42rem .75rem; font-size: .8rem; border-radius: 10px; }
.btn-lg { padding: .9rem 1.3rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { color: #fff; background: var(--qs-btn-color); background-image: var(--qs-gradient); box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--qs-blue) 70%, transparent); }
.btn-primary:hover:not(:disabled) { box-shadow: 0 14px 28px -10px color-mix(in srgb, var(--qs-blue) 80%, transparent); filter: brightness(1.05); color: #fff; }
.btn-outline { background: rgba(255, 255, 255, .7); color: var(--qs-text); border-color: color-mix(in srgb, var(--qs-text) 14%, transparent); }
.btn-outline:hover:not(:disabled) { border-color: var(--qs-blue); color: var(--qs-blue); }
.btn-outline.is-active { background: var(--qs-blue); color: #fff; border-color: var(--qs-blue); }
.btn-danger { background: #fff; color: var(--qs-danger); border-color: color-mix(in srgb, var(--qs-danger) 35%, transparent); }
.btn-danger:hover:not(:disabled) { background: var(--qs-danger); color: #fff; }
.btn-danger-solid { background: var(--qs-danger); color: #fff; }
.btn-danger-solid:hover:not(:disabled) { filter: brightness(1.05); }
.btn-ghost { background: transparent; color: var(--qs-blue); }
.btn-ghost:hover:not(:disabled) { background: color-mix(in srgb, var(--qs-blue) 8%, transparent); }
.btn-whatsapp { background: var(--qs-whatsapp); color: #fff; box-shadow: 0 10px 22px -12px rgba(37, 211, 102, .8); }
.btn-whatsapp:hover:not(:disabled) { background: #1ebe5b; color: #fff; }
.btn-success { background: var(--qs-success); color: #fff; }
.btn-icon { padding: .5rem; border-radius: 12px; }
.spinner { width: 1.1rem; height: 1.1rem; border-radius: 999px; border: 2.5px solid color-mix(in srgb, var(--qs-blue) 25%, transparent); border-top-color: var(--qs-blue); animation: qs-spin .7s linear infinite; display: inline-block; flex-shrink: 0; }
.spinner.on-dark { border-color: rgba(255, 255, 255, .4); border-top-color: #fff; }
.pulse-btn { animation: qs-pulse 1.8s ease-in-out infinite; }
.btn-whatsapp.pulse-btn { animation-name: qs-pulse-wa; }

/* ================================================================ forms */
.label { display: block; font-size: .8rem; font-weight: 600; margin-bottom: .35rem; color: var(--qs-text); }
.input, .select, .textarea {
  width: 100%; font: inherit; font-size: .925rem; color: var(--qs-text);
  background: rgba(255, 255, 255, .9); border: 1px solid color-mix(in srgb, var(--qs-text) 14%, transparent);
  border-radius: 12px; padding: .65rem .85rem; transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--qs-blue); box-shadow: 0 0 0 4px var(--qs-ring); }
.textarea { min-height: 96px; resize: vertical; }
.help { font-size: .76rem; color: var(--qs-muted); margin-top: .3rem; }

/* ================================================================ progress / alerts / badges */
.progress { width: 100%; height: 12px; border-radius: 999px; background: color-mix(in srgb, var(--qs-blue) 10%, #fff); overflow: hidden; }
.progress-lg { height: 1rem; }
.progress-md { height: .875rem; }
.progress-sm { height: .625rem; }
.progress-bar {
  width: 0; height: 100%; border-radius: inherit; background-image: var(--qs-gradient); color: #fff; font-size: .7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; transition: width .35s ease; min-width: 0; overflow: hidden;
}
.progress-bar.is-success { background: var(--qs-success); }
.progress-bar.is-danger { background: var(--qs-danger); }
.progress-bar.is-striped {
  background-image: linear-gradient(45deg, rgba(255,255,255,.22) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.22) 50%, rgba(255,255,255,.22) 75%, transparent 75%, transparent), var(--qs-gradient);
  background-size: 1rem 1rem, 100% 100%; animation: qs-stripes 1s linear infinite;
}
.alert { border-radius: 14px; padding: .8rem 1rem; font-size: .88rem; border: 1px solid transparent; }
.alert-info { background: #eff6ff; border-color: #bfdbfe; color: #1e3a8a; }
.alert-success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.alert-warning { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.alert-danger { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.badge { display: inline-flex; align-items: center; gap: .3rem; font-size: .7rem; font-weight: 600; padding: .22rem .6rem; border-radius: 999px; background: #f1f5f9; color: #334155; white-space: nowrap; }
.badge-success { background: #dcfce7; color: #15803d; }
.badge-warning { background: #fef3c7; color: #b45309; }
.badge-danger { background: #fee2e2; color: #b91c1c; }
.badge-brand { background: color-mix(in srgb, var(--qs-blue) 12%, #fff); color: var(--qs-blue-dark); }
.divider-or { display: flex; align-items: center; gap: .75rem; color: var(--qs-muted); font-size: .72rem; font-weight: 600; letter-spacing: .1em; }
.divider-or::before, .divider-or::after { content: ""; flex: 1; height: 1px; background: var(--qs-border); }

/* ================================================================ brand */
.logo-mark { width: 38px; height: 38px; border-radius: 12px; background: var(--qs-gradient); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--qs-blue) 80%, transparent); flex-shrink: 0; }
.brand-accent { background: var(--qs-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--qs-blue); }
.wordmark { line-height: 1.25; }

/* ================================================================ layout shell */
.shell { min-height: 100vh; display: flex; flex-direction: column; }
.shell-home { height: 100vh; height: 100dvh; min-height: 0; overflow: hidden; }
.main-content { flex: 1; }
.home-main { flex: 1; min-height: 0; }

.notif-bar { color: #fff; font-size: .875rem; background-image: var(--qs-gradient); flex-shrink: 0; }
.notif-row { display: flex; align-items: center; justify-content: center; gap: .75rem; padding-top: .5rem; padding-bottom: .5rem; text-align: center; }
.notif-close { opacity: .8; flex-shrink: 0; display: inline-flex; }
.notif-close:hover { opacity: 1; }

/* ---- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 40; flex-shrink: 0; border-bottom: 1px solid var(--qs-border);
  background: rgba(255, 255, 255, .7); backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%);
}
.header-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 4rem; padding-top: .625rem; padding-bottom: .625rem; padding-right: 4rem; }
.header-row.is-compact { min-height: 3.5rem; padding-top: .375rem; padding-bottom: .375rem; }
.hz { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.hz-left { justify-content: flex-start; }
.hz-center { flex: 1; justify-content: center; }
.hz-right { justify-content: flex-end; }
.header-logo { display: flex; align-items: center; flex-shrink: 0; }
.header-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; }
.desktop-nav { display: none; }
.desktop-nav > ul { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; }
.nav-link { display: inline-flex; align-items: center; gap: .25rem; padding: .5rem .75rem; border-radius: .75rem; font-size: .875rem; font-weight: 500; color: color-mix(in srgb, var(--qs-text) 80%, transparent); transition: color .15s ease, background-color .15s ease; }
.nav-link:hover { color: var(--qs-blue); background: color-mix(in srgb, var(--qs-blue) 5%, transparent); }
.nav-item { position: relative; }
.nav-item .chev { transition: transform .2s ease; }
.nav-item:hover .chev, .nav-item.open .chev { transform: rotate(180deg); }
.dropdown { display: none; position: absolute; right: 0; top: 100%; padding-top: .5rem; min-width: 12rem; z-index: 50; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown, .nav-item.open .dropdown { display: block; }
.dropdown ul { background: #fff; border-radius: 1rem; box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1); border: 1px solid var(--qs-border); padding: .375rem; animation: qs-fade-up .25s ease both; }
.dropdown-link { display: block; padding: .5rem .75rem; border-radius: .75rem; font-size: .875rem; color: color-mix(in srgb, var(--qs-text) 80%, transparent); }
.dropdown-link:hover { background: color-mix(in srgb, var(--qs-blue) 5%, transparent); color: var(--qs-blue); }
.menu-toggle { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); }
.menu-toggle:active:not(:disabled) { transform: translateY(-50%) scale(.96); }
.menu-toggle .when-open, .menu-toggle[aria-expanded="true"] .when-closed { display: none; }
.menu-toggle[aria-expanded="true"] .when-open { display: inline-flex; }
.menu-toggle span { display: inline-flex; }
.mobile-menu { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--qs-border); border-bottom: 1px solid var(--qs-border); box-shadow: 0 20px 25px -5px rgba(0,0,0,.1); max-height: 75vh; overflow-y: auto; animation: qs-fade-up .3s ease both; }
.mobile-menu-list { padding-top: .5rem; padding-bottom: .5rem; }
.mobile-menu-list > li { border-bottom: 1px solid var(--qs-border); }
.mobile-menu-list > li:last-child { border-bottom: 0; }
.mm-link { display: block; padding: .75rem .25rem; font-weight: 500; color: var(--qs-text); }
.mm-link:hover, .mm-child:hover { color: var(--qs-blue); }
.mm-children { padding: 0 0 .5rem 1rem; }
.mm-child { display: block; padding: .5rem .25rem; font-size: .875rem; color: var(--qs-muted); }
.mm-footer { padding-top: .25rem; padding-bottom: 1rem; }
.mm-pages { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.mm-pages a { text-align: center; font-size: .875rem; font-weight: 500; border-radius: .75rem; background: #f8fafc; border: 1px solid var(--qs-border); padding: .625rem .25rem; color: color-mix(in srgb, var(--qs-text) 80%, transparent); }
.mm-pages a:hover { color: var(--qs-blue); }
.mm-copy { text-align: center; font-size: .75rem; color: var(--qs-muted); margin-top: .75rem; }

/* ---- footer ---- */
.site-footer { margin-top: 1.5rem; border-top: 1px solid var(--qs-border); background: rgba(255, 255, 255, .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.site-footer.is-compact { margin-top: 0; flex-shrink: 0; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .25rem 1rem; padding-top: .5rem; padding-bottom: .5rem; font-size: 11px; color: var(--qs-muted); }
.footer-copy { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.footer-extra { display: none; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem .75rem; }
.footer-links a { color: var(--qs-muted); transition: color .15s ease; }
.footer-links a:hover { color: var(--qs-blue); }
.footer-full { flex-direction: column; gap: .75rem; padding-top: 1.25rem; padding-bottom: 1.25rem; font-size: .875rem; }
.footer-full .footer-links { gap: .5rem 1.25rem; }
.footer-text p { padding-top: 1rem; font-size: .875rem; color: var(--qs-muted); text-align: center; }

/* ================================================================ home (one-screen app layout) */
.home { height: 100%; min-height: 0; display: flex; flex-direction: column; }
.app-hero { display: none; }
.hero-bubble { position: absolute; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.hero-bubble.b1 { top: -3rem; right: -2.5rem; width: 10rem; height: 10rem; }
.hero-bubble.b2 { top: 2.5rem; right: 5rem; width: 4rem; height: 4rem; }
.app-hero .hero-title { position: relative; font-size: 1.35rem; font-weight: 700; line-height: 1.25; }
.hero-sub { position: relative; font-size: 13px; color: rgba(255, 255, 255, .85); margin-top: .125rem; }
.hero-badges { position: relative; display: flex; flex-wrap: wrap; gap: .375rem; margin-top: .625rem; }
.hero-badges li { display: inline-flex; align-items: center; gap: .25rem; font-size: 10.5px; font-weight: 600; background: rgba(255, 255, 255, .2); border-radius: 999px; padding: .25rem .625rem; }

.home-content { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: .625rem; padding-top: .625rem; padding-bottom: .625rem; }
.text-banner { flex-shrink: 0; padding: .5rem 1rem; text-align: center; font-size: .75rem; }
.welcome-row { display: none; }
.welcome-text { font-size: .875rem; color: color-mix(in srgb, var(--qs-text) 70%, transparent); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.highlights { display: none; gap: .375rem; }
.highlights li { display: inline-flex; align-items: center; gap: .25rem; font-size: 11px; font-weight: 500; color: color-mix(in srgb, var(--qs-text) 70%, transparent); background: rgba(255, 255, 255, .7); border: 1px solid var(--qs-border); border-radius: 999px; padding: .125rem .625rem; }
.highlights .icon { color: var(--qs-blue); }

.home-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; }
.side-ad { display: none; }
.side-ad > * { width: 100%; min-height: 0 !important; }
.cards-col { min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: .75rem; padding: .25rem; margin: -.25rem; }
.pane-wrap { flex-shrink: 0; }
.pane { padding: 1rem; display: flex; flex-direction: column; }
.mobile-fill-ad { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.mobile-fill-ad .ad-label { font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: #94a3b8; text-align: center; margin-bottom: .25rem; }
.mobile-fill-ad .ad-panel { flex: 1; width: 100%; min-height: 0; }
.bottom-ad { flex-shrink: 0; }
.bottom-ad .ad-banner { width: 100%; min-height: 60px; }

/* ---- fit levels: drop optional parts until the card fits without scrolling ---- */
.pane[data-fit="1"] .fh1, .pane[data-fit="2"] .fh1, .pane[data-fit="2"] .fh2,
.pane[data-fit="3"] .fh1, .pane[data-fit="3"] .fh2, .pane[data-fit="3"] .fh3 { display: none !important; }
@media (max-height: 640px) { .hs640 { display: none !important; } }
@media (max-height: 700px) { .hs700 { display: none !important; } }
.only-desktop, .only-desktop-inline { display: none; }

/* ---- card heading + steps ---- */
.card-heading { display: none; align-items: center; gap: .625rem; margin-bottom: .625rem; flex-shrink: 0; }
.card-heading > div { min-width: 0; }
.card-heading h2 { font-size: 1rem; font-weight: 700; line-height: 1.25; }
.card-heading p { font-size: .75rem; color: var(--qs-muted); }
.ch-icon { width: 2rem; height: 2rem; border-radius: .75rem; display: flex; align-items: center; justify-content: center; color: #fff; background-image: var(--qs-gradient); flex-shrink: 0; box-shadow: 0 4px 6px -1px rgba(0,0,0,.1); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; text-align: center; flex-shrink: 0; margin-top: .75rem; }
.steps li { border-radius: 1rem; background: rgba(255, 255, 255, .7); border: 1px solid var(--qs-border); padding: .625rem .375rem .5rem; }
.step-icon { position: relative; margin: 0 auto; width: 2rem; height: 2rem; border-radius: .75rem; background: color-mix(in srgb, var(--qs-blue) 10%, transparent); color: var(--qs-blue); display: flex; align-items: center; justify-content: center; }
.step-num { position: absolute; top: -.375rem; right: -.375rem; width: 1rem; height: 1rem; border-radius: 999px; font-size: 9px; font-weight: 700; color: #fff; display: flex; align-items: center; justify-content: center; background-image: var(--qs-gradient); }
.step-label { display: block; font-size: 10.5px; font-weight: 600; line-height: 1.25; margin-top: .375rem; color: color-mix(in srgb, var(--qs-text) 80%, transparent); }
.pane.has-entries .when-empty, .pane.is-searching .when-idle, .pane.has-found .when-idle { display: none !important; }

/* ---- send card ---- */
.send-form { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.dropzone {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 2px dashed color-mix(in srgb, var(--qs-blue) 35%, transparent); border-radius: calc(var(--qs-radius) - 4px);
  padding: 1rem; text-align: center; cursor: pointer;
  background: linear-gradient(180deg, color-mix(in srgb, var(--qs-blue) 4%, #fff), color-mix(in srgb, var(--qs-cyan) 6%, #fff));
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.dropzone:hover, .dropzone:focus-visible { border-color: var(--qs-blue); outline: none; }
.dropzone.is-dragover { border-color: var(--qs-blue); transform: scale(1.01); background: color-mix(in srgb, var(--qs-blue) 10%, #fff); }
.dropzone.is-busy { opacity: .6; pointer-events: none; }
.pane.has-entries .dropzone { padding: .625rem; }
.dz-empty { display: flex; flex-direction: column; align-items: center; }
.dz-more { display: none; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 600; color: var(--qs-blue); }
.pane.has-entries .dz-empty { display: none; }
.pane.has-entries .dz-more { display: flex; }
.dz-icon { width: 2.5rem; height: 2.5rem; border-radius: .75rem; display: flex; align-items: center; justify-content: center; color: #fff; background-image: var(--qs-gradient); box-shadow: 0 10px 15px -3px color-mix(in srgb, var(--qs-blue) 30%, transparent); }
.dz-title { font-weight: 600; font-size: .875rem; margin-top: .5rem; }
.dz-sub { font-size: .75rem; color: var(--qs-muted); }
.dz-note { font-size: 11px; color: var(--qs-muted); margin-top: .375rem; }
.file-list-wrap { margin-top: .625rem; }
.file-list { display: flex; flex-direction: column; gap: .375rem; max-height: 8rem; overflow-y: auto; padding-right: .25rem; }
.file-list li { display: flex; align-items: center; gap: .625rem; background: rgba(255, 255, 255, .8); border: 1px solid var(--qs-border); border-radius: .75rem; padding: .375rem .75rem; }
.file-list .fl-icon { color: var(--qs-blue); }
.fl-name { font-size: .875rem; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fl-size { font-size: .75rem; color: var(--qs-muted); flex-shrink: 0; }
.fl-remove { color: #94a3b8; display: inline-flex; }
.fl-remove:hover { color: #ef4444; }
.fl-remove:disabled { opacity: .4; cursor: not-allowed; }
.file-summary-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .5rem; }
.ready-panel { display: none; }
.ready-icon { width: 2.5rem; height: 2.5rem; border-radius: .75rem; background: #fff; box-shadow: 0 4px 6px -1px rgba(0,0,0,.1); color: var(--qs-blue); display: flex; align-items: center; justify-content: center; }
.ready-title { font-weight: 600; font-size: .875rem; }
.up-progress { margin-top: .75rem; flex-shrink: 0; }
.up-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: .25rem .75rem; margin-top: .375rem; }
.up-text { display: flex; align-items: flex-start; gap: .375rem; }
.up-text .icon { margin-top: 1px; }
.up-bytes { white-space: nowrap; }
.upload-btn { margin-top: .75rem; flex-shrink: 0; }
.upload-btn > span { display: inline-flex; }

.send-result { text-align: center; }
.result-ok { font-weight: 600; display: flex; align-items: center; justify-content: center; gap: .5rem; color: #059669; }
.result-file { margin-top: .125rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.result-code { margin-top: .75rem; }
.pane[data-fit="2"] .result-code, .pane[data-fit="3"] .result-code { margin-top: .25rem; }
.send-result .divider-or { margin: .625rem 0; }
.pane[data-fit="3"] .send-result .divider-or { margin: .375rem 0; font-size: 0; }
.pane[data-fit="3"] .send-result .divider-or::before, .pane[data-fit="3"] .send-result .divider-or::after { display: none; }
.pane.hide-share .send-result .divider-or, .pane.hide-share .share-row { display: none; }
/* QR + WhatsApp: one tinted card — QR tile on the left, title/help/button filling the right side. */
.share-row {
  container-type: inline-size; display: flex; align-items: stretch; gap: .625rem; padding: .5rem; text-align: left; border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--qs-blue) 16%, transparent);
  background: linear-gradient(135deg, color-mix(in srgb, var(--qs-blue) 9%, #fff) 0%, color-mix(in srgb, var(--qs-cyan) 7%, #fff) 55%, color-mix(in srgb, var(--qs-whatsapp) 13%, #fff) 100%);
  box-shadow: 0 8px 20px -14px color-mix(in srgb, var(--qs-blue) 60%, transparent);
}
.share-row .qr-box { width: 108px; height: 108px; padding: 6px; border: 0; border-radius: 14px; box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--qs-blue) 45%, transparent); }
.share-side { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: .25rem; padding: .125rem 0; }
.sh-title { display: flex; align-items: center; gap: .3rem; font-size: .8125rem; font-weight: 700; color: var(--qs-blue); line-height: 1.2; }
.sh-sub { font-size: 11px; line-height: 1.35; color: var(--qs-muted); }
.wa-btn { display: flex; width: 100%; justify-content: center; gap: .375rem; padding: .7rem .5rem; font-size: .8125rem; border-radius: 12px; white-space: nowrap; line-height: 1.25; }
.wa-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
@container (max-width: 307px) { .wa-pre { display: none; } }
html.hc .share-row { background: #000 !important; border-color: #fff !important; }
.result-note { font-size: 11px; margin-top: .5rem; }
#sendAnother { margin-top: .25rem; transition: all .3s ease; }
/* Sender has stayed on the share screen a while: make "Send another file" the obvious next step. */
#sendAnother.is-nudge {
  margin-top: .625rem; padding: .625rem 1.25rem; border-radius: 999px; font-size: .9rem; font-weight: 700; color: #fff;
  background-image: var(--qs-gradient); animation: qs-nudge-in .5s cubic-bezier(.2, .9, .3, 1.4) both, qs-pulse 1.8s ease-in-out .5s infinite;
}
@keyframes qs-nudge-in { from { transform: scale(.85); opacity: .4; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { #sendAnother.is-nudge { animation: none; } }
html.hc #sendAnother.is-nudge { background: #ff0 !important; color: #000 !important; }
.share-code { position: relative; border-radius: 1rem; padding: 2px; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1); background-image: var(--qs-gradient); }
.share-code-inner { border-radius: 14px; background: #fff; padding: .625rem .75rem .75rem; text-align: center; }
.share-code.tight .share-code-inner { padding: .375rem .75rem .5rem; }
.sc-label { display: inline-flex; align-items: center; gap: .375rem; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--qs-blue); }
.sc-dot { position: relative; display: flex; width: .5rem; height: .5rem; }
.sc-dot::before { content: ""; position: absolute; inset: 0; border-radius: 999px; background: var(--qs-blue); opacity: .6; animation: qs-ping 1s cubic-bezier(0, 0, .2, 1) infinite; }
.sc-dot::after { content: ""; position: relative; width: .5rem; height: .5rem; border-radius: 999px; background: var(--qs-blue); }
.sc-digits { display: flex; justify-content: center; gap: .375rem; margin: .5rem auto; }
.share-code.tight .sc-digits { margin: .25rem auto; }
.sc-digit { width: 2.75rem; height: 3.25rem; border-radius: .75rem; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 800; color: #fff; box-shadow: 0 4px 6px -1px rgba(0,0,0,.15); background-image: var(--qs-gradient); }
.share-code.tight .sc-digit { width: 2.5rem; height: 2.5rem; font-size: 1.25rem; }
.qr-box { display: inline-flex; align-items: center; justify-content: center; padding: .5rem; background: #fff; border-radius: 1rem; border: 1px solid var(--qs-border); box-shadow: 0 1px 2px rgba(0,0,0,.05); width: 108px; height: 108px; flex-shrink: 0; }
.qr-box img { width: 96px; height: 96px; }
.sender-status { margin-top: .75rem; padding: .625rem 1rem; text-align: left; }
.ss-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .5rem; }
.ss-title { font-weight: 600; display: flex; align-items: center; gap: .375rem; }
.ss-pct { font-size: .75rem; font-weight: 600; }
.sender-status .progress { height: .625rem; background: rgba(255, 255, 255, .7); }
.ss-meta { font-size: .75rem; margin-top: .375rem; }

/* ---- receive card ---- */
.rc-illus { padding: .875rem 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-radius: 1rem; margin-bottom: .75rem; background: linear-gradient(180deg, color-mix(in srgb, var(--qs-blue) 5%, transparent), color-mix(in srgb, var(--qs-cyan) 10%, transparent)); border: 1px solid var(--qs-border); }
.rc-pulse { position: relative; display: flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; }
.rc-ping { position: absolute; inset: 0; border-radius: 999px; background: color-mix(in srgb, var(--qs-blue) 15%, transparent); animation: qs-ping 2.4s cubic-bezier(0, 0, .2, 1) infinite; }
.rc-icon { position: relative; width: 2.5rem; height: 2.5rem; border-radius: .75rem; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 15px -3px color-mix(in srgb, var(--qs-blue) 30%, transparent); background-image: var(--qs-gradient); }
.rc-title { font-weight: 600; font-size: .875rem; margin-top: .375rem; }
.code-row { display: flex; gap: .5rem; }
.code-input { text-align: center; font-size: 1.25rem; padding-top: .625rem; padding-bottom: .625rem; font-weight: 700; letter-spacing: .5em; }
.code-input::placeholder { letter-spacing: .3em; color: #cbd5e1; }
.find-btn { padding-left: 1.25rem; padding-right: 1.25rem; }
.find-btn > span { display: inline-flex; }
.rc-help { display: none; align-items: flex-start; gap: .375rem; margin-top: .5rem; }
.rc-help .icon { margin-top: 1px; }
.pane.has-found .rc-help { display: none !important; }
.searching { display: flex; align-items: center; justify-content: center; gap: .5rem; font-size: .875rem; padding: 1rem 0; }
.rc-error { margin-top: 1rem; display: flex; align-items: flex-start; gap: .5rem; }
.rc-error .icon { margin-top: 1px; }
.found-card { padding: 1rem; margin-top: .75rem; text-align: center; }
.found-head { display: flex; align-items: center; gap: .75rem; text-align: left; margin-bottom: .75rem; }
.found-icon { width: 2.75rem; height: 2.75rem; border-radius: .75rem; background: color-mix(in srgb, var(--qs-blue) 10%, transparent); color: var(--qs-blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.found-info { min-width: 0; max-width: 100%; }
.found-info h3 { font-weight: 600; font-size: .875rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.found-note { display: flex; align-items: flex-start; justify-content: center; gap: .375rem; margin-top: .5rem; text-align: left; }
.found-note .icon { margin-top: 2px; }
.found-card.is-downloading .found-btn, .found-card.is-downloading .found-note { display: none; }
.rp { margin-top: 1rem; text-align: left; }
.rp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .375rem; }
.rp-head > span:first-child { font-size: .875rem; font-weight: 600; }
.rp-meta { margin-top: .375rem; }

/* ---- bottom tab bar (phones) ---- */
.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid #f1f5f9; box-shadow: 0 -4px 20px -8px rgba(16, 24, 40, .15); user-select: none; padding-bottom: env(safe-area-inset-bottom); }
.bottom-nav-row { display: grid; grid-template-columns: 1fr 1fr; max-width: 28rem; margin: 0 auto; height: 4.75rem; }
.bn-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; transition: transform .12s ease; }
.bn-tab:active { transform: scale(.96); }
.bn-icon { display: flex; align-items: center; justify-content: center; width: 4rem; height: 2rem; border-radius: 999px; color: #64748b; transition: all .3s ease; }
.bn-label { font-size: .75rem; font-weight: 500; color: #64748b; }
.bn-tab[aria-selected="true"] .bn-icon { background: color-mix(in srgb, var(--qs-blue) 15%, transparent); color: var(--qs-blue-dark); }
.bn-tab[aria-selected="true"] .bn-label { font-weight: 700; color: var(--qs-text); }

/* ================================================================ ad slots */
.ad-panel, .ad-banner { background: var(--qs-surface); border: 1px dashed var(--qs-border); border-radius: var(--qs-radius); display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--qs-muted); font-size: .8rem; }
.ad-panel { min-height: 250px; }
.ad-banner { min-height: 90px; }
.ad-panel > *, .ad-banner > * { max-width: 100%; }
.ad-panel > a, .ad-banner > a { display: block; width: 100%; }
.ad-empty::after { content: "Ad Space"; letter-spacing: .08em; text-transform: uppercase; font-size: .7rem; opacity: .7; }
.ad-panel img, .ad-banner img { width: 100%; height: auto; display: block; border-radius: calc(var(--qs-radius) - 6px); object-fit: cover; }
.features-banner { flex-shrink: 0; height: 150px; padding: 0; border-style: solid; }
.features-banner img { height: 150px; border-radius: var(--qs-radius); }
.features-banner > a { height: 150px; }
.features-banner > *:not(img):not(a) { max-height: 150px; overflow: hidden; }
.features-banner.is-compact, .features-banner.is-compact img, .features-banner.is-compact > a { height: 72px; }
.ad-fill > a, .ad-fill > img { height: 100%; }
.ad-fill img { height: 100%; width: 100%; object-fit: contain; border-radius: 16px; }

/* ================================================================ overlays / popups / toasts */
.overlay { position: fixed; inset: 0; z-index: 1050; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(15, 23, 42, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: qs-fade .2s ease both; overflow-y: auto; }
.overlay-card { position: relative; z-index: 1; width: 100%; max-width: 380px; text-align: center; background: #fff; border-radius: 24px; padding: 1.6rem 1.35rem 1.35rem; margin: 2.5rem auto auto; box-shadow: 0 30px 80px -20px rgba(15, 23, 42, .45); animation: qs-pop .35s cubic-bezier(.2, .9, .3, 1.3) both; }
.overlay-icon { width: 64px; height: 64px; margin: -3.1rem auto .75rem; border-radius: 20px; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #f59e0b, #ef4444); box-shadow: 0 12px 24px -8px rgba(239, 68, 68, .5); animation: qs-bounce .6s ease both .1s; }
.overlay-icon.is-brand { background: var(--qs-gradient); box-shadow: 0 12px 24px -8px color-mix(in srgb, var(--qs-blue) 60%, transparent); }
.overlay-icon.is-whatsapp { background: linear-gradient(135deg, #25d366 0%, #128c7e 100%); box-shadow: 0 12px 24px -8px rgba(37, 211, 102, .5); }
.ov-title { font-size: 1.25rem; font-weight: 700; margin-bottom: .25rem; }
.ov-text { font-size: .875rem; color: var(--qs-muted); margin-bottom: 1rem; }
.ov-text.truncate { margin-bottom: 1.25rem; }
.ov-actions { display: flex; flex-direction: column; gap: .5rem; }
.ov-extra { margin-bottom: .75rem; }
.ov-extra .divider-or { margin: .625rem 0; }
.ov-extra .hint { font-size: 11px; color: var(--qs-muted); margin-top: .5rem; }
.confirm-card { padding: 1.5rem; text-align: center; }
.confirm-icon { margin: 0 auto .75rem; width: 3rem; height: 3rem; border-radius: 1rem; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--qs-blue) 10%, transparent); color: var(--qs-blue); }
.confirm-icon.is-danger { background: #fef2f2; color: #ef4444; }
.confirm-title { font-weight: 700; font-size: 1.125rem; }
.confirm-text { font-size: .875rem; color: var(--qs-muted); margin: .25rem 0 1.25rem; }
.confirm-actions { display: flex; gap: .5rem; justify-content: center; }
.confetti-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.modal-card { position: relative; width: 100%; max-width: 460px; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(15, 23, 42, .45); animation: qs-pop .3s ease both; margin: auto; }
.modal-head { padding: 1rem 1.25rem; border-bottom: 1px solid var(--qs-border); }
.modal-head h5 { font-weight: 600; font-size: 1rem; }
.modal-body { padding: 1.25rem; text-align: center; }
.modal-body .ad-panel { min-height: 160px; margin: 0 auto 1rem; }
/* Multi-file review popup */
.review-card { max-width: 520px; display: flex; flex-direction: column; max-height: calc(100dvh - 2rem); }
.review-head h5 { display: flex; align-items: center; gap: .5rem; color: var(--qs-text, inherit); }
.review-head h5 .icon { color: var(--qs-blue); }
.review-head .rv-summary { margin-top: .125rem; }
.review-body { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.review-list { max-height: min(50vh, 22rem); padding: .75rem 1rem; margin: 0; }
.review-list li { padding: .375rem .625rem; }
.review-body.has-more::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2.25rem; height: 2.5rem; pointer-events: none; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff); }
.review-more { display: flex; align-items: center; justify-content: center; gap: .375rem; width: 100%; padding: .5rem; font-size: .8125rem; font-weight: 600; color: var(--qs-blue); background: color-mix(in srgb, var(--qs-blue) 7%, #fff); border-top: 1px solid var(--qs-border); }
.review-more[hidden] { display: none; }
.review-more .icon { animation: qs-nudge 1.2s ease-in-out infinite; }
@keyframes qs-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
.rv-thumb { flex-shrink: 0; width: 2.25rem; height: 2.25rem; border-radius: .5rem; overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--qs-blue); background: color-mix(in srgb, var(--qs-blue) 8%, #fff); }
.rv-thumb img { width: 100%; height: 100%; object-fit: cover; }
.review-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; padding: .75rem 1rem; border-top: 1px solid var(--qs-border); }
.review-actions { display: flex; gap: .5rem; margin-left: auto; }
@media (max-width: 480px) {
  /* Confirm full width on top; Add more + Cancel side by side below it. */
  .review-actions { display: contents; }
  .review-foot .rv-confirm { order: -1; flex: 1 0 100%; justify-content: center; }
  .review-foot .rv-add, .review-foot .rv-cancel { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .review-more .icon { animation: none; } }
@media (max-height: 700px) {
  .overlay-card.is-celebrate { margin-top: 2rem; padding-top: 1.25rem; padding-bottom: 1rem; }
  .overlay-card.is-celebrate .overlay-icon { width: 3.5rem; height: 3.5rem; margin-top: -2.75rem; }
  .overlay-card.is-celebrate .ov-title { font-size: 1.125rem; }
  .overlay-card.has-extra .ov-text, .ov-extra .hint { display: none; }
}
.toasts { position: fixed; z-index: 2000; left: .75rem; right: .75rem; bottom: calc(5.5rem + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: .5rem; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: flex-start; gap: .75rem; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid #bfdbfe; color: #1e3a8a; border-radius: 1rem; padding: .75rem 1rem; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1); animation: qs-fade-up .35s ease both; }
.toast > .icon { margin-top: 2px; color: #3b82f6; }
.toast p { font-size: .875rem; flex: 1; line-height: 1.6; }
.toast-close { color: #94a3b8; display: inline-flex; }
.toast-close:hover { color: #475569; }
.toast-success { border-color: #a7f3d0; color: #065f46; }
.toast-success > .icon { color: #10b981; }
.toast-error { border-color: #fecaca; color: #991b1b; }
.toast-error > .icon { color: #ef4444; }
.toast-warning { border-color: #fde68a; color: #92400e; }
.toast-warning > .icon { color: #f59e0b; }

/* ================================================================ content pages */
.cms-wrap { margin-top: 2rem; margin-bottom: 2rem; }
.cms-article { max-width: 48rem; margin: 0 auto; padding: 1.5rem; }
.cms-article h1 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.cms-tagline { color: var(--qs-muted); margin: -1rem 0 1.25rem; }
.prose-cms { line-height: 1.75; color: color-mix(in srgb, var(--qs-text) 88%, transparent); overflow-wrap: anywhere; }
.prose-cms h1, .prose-cms h2, .prose-cms h3 { font-weight: 700; margin: 1.4em 0 .6em; line-height: 1.3; color: var(--qs-text); }
.prose-cms h1 { font-size: 1.6rem; } .prose-cms h2 { font-size: 1.35rem; } .prose-cms h3 { font-size: 1.15rem; }
.prose-cms p { margin: 0 0 1em; }
.prose-cms ul, .prose-cms ol { margin: 0 0 1em; padding-left: 1.4em; }
.prose-cms ul { list-style: disc; } .prose-cms ol { list-style: decimal; }
.prose-cms a { text-decoration: underline; }
.prose-cms img { max-width: 100%; height: auto; border-radius: 12px; }
.prose-cms blockquote { border-left: 4px solid var(--qs-blue); padding-left: 1em; color: var(--qs-muted); margin: 0 0 1em; }
.prose-cms .ql-align-center { text-align: center; } .prose-cms .ql-align-right { text-align: right; } .prose-cms .ql-align-justify { text-align: justify; }
.not-found { margin-top: 4rem; margin-bottom: 4rem; text-align: center; }
.nf-code { font-size: 4.5rem; font-weight: 800; line-height: 1; }
.not-found h3 { font-size: 1.25rem; font-weight: 700; margin-top: .5rem; }
.not-found p { margin-top: .25rem; }
.not-found .btn { margin-top: 1.5rem; }

/* ================================================================ animations */
.animate-in { animation: qs-fade-up .5s ease both; }
@keyframes qs-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes qs-fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes qs-pop { from { opacity: 0; transform: scale(.85) translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes qs-bounce { 0% { transform: scale(0); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes qs-spin { to { transform: rotate(360deg); } }
@keyframes qs-ping { 75%, 100% { transform: scale(2); opacity: 0; } }
@keyframes qs-stripes { from { background-position: 1rem 0, 0 0; } to { background-position: 0 0, 0 0; } }
@keyframes qs-pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--qs-blue) 45%, transparent); } 50% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--qs-blue) 0%, transparent); } }
@keyframes qs-pulse-wa { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 50% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); } }

/* ================================================================ responsive */
@media (min-width: 640px) {
  .text-banner { font-size: .875rem; }
  .footer-row { font-size: .75rem; }
  .sc-digits { gap: .5rem; }
  .sc-digit { width: 3rem; height: 3.5rem; font-size: 1.875rem; }
  .toasts { bottom: auto; top: 1rem; left: auto; right: 1rem; width: 24rem; }
  .cms-wrap { margin-top: 3rem; margin-bottom: 3rem; }
  .cms-article { padding: 2.5rem; }
  .cms-article h1 { font-size: 1.875rem; }
}
@media (max-height: 600px) { .sc-digit { height: 2.75rem; } }

@media (min-width: 768px) {
  .only-mobile { display: none !important; }
  .only-desktop { display: block; }
  .only-desktop-inline { display: inline; }
  .footer-row { justify-content: space-between; }
  .footer-full { flex-direction: row; }
  .footer-text p { text-align: left; }
  .home-content { gap: .75rem; padding-top: .75rem; padding-bottom: .75rem; }
  .welcome-row { display: flex; flex-shrink: 0; flex-wrap: wrap; align-items: center; justify-content: center; gap: .375rem 1rem; text-align: center; }
  .cards-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); }
  .pane-wrap { min-height: 0; }
  .pane { height: 100%; overflow-y: auto; }
  .mobile-fill-ad { display: none; }
  .bottom-ad .ad-banner { min-height: 90px; }
  .bottom-nav { display: none; }
  .card-heading { display: flex; }
  .pane:not(.has-entries) .dropzone { flex: 1; }
  .rc-illus { flex: 1; }
  .rc-help { display: flex; }
  .features-banner.is-compact, .features-banner.is-compact img, .features-banner.is-compact > a { height: 100px; }
}
@media (min-width: 1024px) {
  .header-row { padding-right: 1rem; }
  .menu-toggle, .mobile-menu { display: none !important; }
  .desktop-nav { display: flex; }
  .footer-extra { display: inline; }
  .home-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; }
  .side-ad { display: flex; grid-column: span 2; min-height: 0; }
  .cards-col { grid-column: span 8; gap: 1rem; }
}
@media (min-width: 1280px) { .highlights { display: flex; } }

/* ---- phones: Android-app look ---- */
@media (max-width: 767.98px) {
  .shell-home { padding-bottom: calc(4.75rem + env(safe-area-inset-bottom)); background: var(--qs-bg); }
  .app-bar { background: var(--qs-blue) !important; border-bottom: 0 !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; padding-top: env(safe-area-inset-top); }
  .app-bar > .container a, .app-bar > .container span, .app-bar .wordmark { color: #fff !important; }
  .app-bar > .container .btn-outline { background: rgba(255, 255, 255, .16) !important; border-color: rgba(255, 255, 255, .35) !important; color: #fff !important; }
  .app-bar .brand-accent { background: none; -webkit-text-fill-color: rgba(255, 255, 255, .72); color: rgba(255, 255, 255, .72) !important; }
  .app-bar .logo-mark { background: rgba(255, 255, 255, .2); box-shadow: none; }
  .app-bar .header-logo img { background: #fff; border-radius: 10px; padding: 3px; }
  .app-hero { display: block; flex-shrink: 0; color: #fff; padding: .25rem 1.25rem 2.25rem; position: relative; overflow: hidden; background-image: linear-gradient(180deg, var(--qs-blue) 0%, color-mix(in srgb, var(--qs-blue) 55%, var(--qs-cyan)) 100%); }
  .home.hero-collapsed .app-hero { display: none; }
  .home[data-compact="1"] .app-hero .ch1, .home[data-compact="2"] .app-hero .ch1 { display: none; }
  .home-content { padding-top: 1rem; background: var(--qs-bg); position: relative; }
  .home:not(.hero-collapsed) .home-content { margin-top: -1.5rem; border-radius: 28px 28px 0 0; }
  .home[data-tab="send"] .pane-wrap[data-pane="receive"], .home[data-tab="receive"] .pane-wrap[data-pane="send"] { display: none; }
  .bottom-ad.is-empty { display: none; }
  .site-footer.is-compact { display: none; }
  .pane { padding: .875rem; }
  .app-card { background: #fff !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; border: 0 !important; border-radius: 24px !important; box-shadow: 0 1px 3px rgba(16, 24, 40, .06), 0 8px 24px -12px rgba(16, 24, 40, .18) !important; }
  .pane[data-compact="1"] .ch1, .pane[data-compact="2"] .ch1, .pane[data-compact="2"] .ch2 { display: none !important; }
  .pane[data-compact="2"] .dz-empty { flex-direction: row; gap: .75rem; }
  .pane[data-compact="2"] .dz-icon { width: 2rem; height: 2rem; }
  .pane[data-compact="2"] .dz-title { margin-top: 0; }
  .pane[data-compact="2"] .dropzone { padding-top: .625rem; padding-bottom: .625rem; }
  .file-list { max-height: 30vh; }
  .ready-panel { display: flex; margin-top: .625rem; padding: .75rem 0; border-radius: 1rem; border: 1px solid var(--qs-border); background: linear-gradient(180deg, color-mix(in srgb, var(--qs-blue) 5%, transparent), color-mix(in srgb, var(--qs-cyan) 10%, transparent)); align-items: center; justify-content: center; gap: .75rem; }
  .up-meta { flex-direction: column-reverse; }
  .pane[data-fit="2"] .qr-box, .pane[data-fit="3"] .qr-box { display: none; }
  .searching { flex: 1; }
  .found-card { background: linear-gradient(180deg, color-mix(in srgb, var(--qs-blue) 5%, #fff), color-mix(in srgb, var(--qs-cyan) 10%, #fff)); }
  .found-head { flex-direction: column; text-align: center; margin-bottom: 1.25rem; }
  .found-icon { width: 4rem; height: 4rem; border-radius: 1rem; background: #fff; box-shadow: 0 4px 6px -1px rgba(0,0,0,.1); }
  .found-icon .icon { width: 32px; height: 32px; }
  .found-btn { padding-top: .875rem; padding-bottom: .875rem; font-size: 1rem; }
  .rp { margin-top: .25rem; }
}
@media (max-width: 767.98px) and (max-height: 640px) {
  .found-head { margin-bottom: .75rem; gap: .5rem; }
  .found-icon { width: 3rem; height: 3rem; }
}
@media (max-height: 620px) { .hero-sub { display: none; } }
@media (max-height: 580px) { .hero-badges { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ================================================================ GIGW accessibility */
.skip-link { position: absolute; left: .5rem; top: -4rem; z-index: 3000; background: #000; color: #fff; padding: .6rem 1rem; border-radius: .5rem; font-weight: 600; transition: top .15s ease; }
.skip-link:focus { top: .5rem; color: #fff; }
:focus-visible { outline: 3px solid var(--qs-blue); outline-offset: 2px; }
.btn:focus-visible, .input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: 3px solid var(--qs-blue); outline-offset: 2px; }
main:focus { outline: none; }
.util-bar { display: none; background: #0f172a; color: #e2e8f0; font-size: .75rem; flex-shrink: 0; }
.util-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2rem; }
.util-links { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.util-links a { color: #e2e8f0; }
.util-links a:hover, .util-links a:focus-visible { color: #fff; text-decoration: underline; }
.a11y-tools { display: inline-flex; align-items: center; gap: .25rem; }
.a11y-tools button { min-width: 1.9rem; height: 1.6rem; padding: 0 .4rem; border-radius: .4rem; border: 1px solid rgba(255,255,255,.35); color: inherit; font-weight: 700; font-size: .8rem; line-height: 1; }
.a11y-tools button:hover { background: rgba(255,255,255,.15); }
.a11y-tools button[aria-pressed="true"] { background: #ff0; color: #000; border-color: #ff0; }
.a11y-tools sup { font-size: .65em; }
.mobile-menu .a11y-tools { color: var(--qs-text); margin-bottom: .5rem; }
.mobile-menu .a11y-tools button { border-color: var(--qs-border); min-width: 2.5rem; height: 2.25rem; font-size: .9rem; }
.mm-heading { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--qs-muted); margin: .75rem 0 .4rem; }
.mm-pages + .mm-heading { margin-top: .9rem; }
.home-h1 { width: 100%; font-size: 1.05rem; font-weight: 700; line-height: 1.3; color: var(--qs-text); }
@media (min-width: 768px) { .util-bar { display: block; } }
@media (max-width: 767.98px) { .home-h1 { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }

/* High contrast mode (black background, white text, yellow links) */
html.hc body { background: #000 !important; color: #fff !important; }
html.hc *:not(svg):not(path):not(circle):not(rect):not(line):not(polyline):not(polygon) { background-image: none !important; box-shadow: none !important; text-shadow: none !important; }
html.hc .glass, html.hc .card, html.hc .app-card, html.hc .site-header, html.hc .site-footer, html.hc .overlay-card, html.hc .modal-card,
html.hc .dropzone, html.hc .steps li, html.hc .rc-illus, html.hc .file-list li, html.hc .ready-panel, html.hc .share-code-inner, html.hc .mobile-menu,
html.hc .bottom-nav, html.hc .app-hero, html.hc .home-content, html.hc .ad-panel, html.hc .ad-banner, html.hc .input, html.hc .select, html.hc .textarea,
html.hc .dropdown ul, html.hc .toast, html.hc .faq details, html.hc .landing-hero, html.hc .notif-bar, html.hc .admin-card, html.hc .stat-card, html.hc .admin-header,
html.hc .admin-tabs, html.hc .highlights li, html.hc .mm-pages a, html.hc .qr-box { background: #000 !important; color: #fff !important; border-color: #fff !important; backdrop-filter: none !important; }
html.hc a, html.hc .brand-accent, html.hc .gradient-text, html.hc .nav-link, html.hc .dropdown-link, html.hc .mm-link, html.hc .footer-links a { color: #ff0 !important; -webkit-text-fill-color: #ff0 !important; }
html.hc .btn-primary, html.hc .sc-digit, html.hc .dz-icon, html.hc .ch-icon, html.hc .rc-icon, html.hc .logo-mark, html.hc .progress-bar, html.hc .step-num, html.hc .ls-num { background: #ff0 !important; color: #000 !important; }
html.hc .btn-outline, html.hc .btn-ghost, html.hc .btn-danger { background: #000 !important; color: #ff0 !important; border-color: #ff0 !important; }
html.hc .muted, html.hc .help, html.hc .small, html.hc .card-heading p, html.hc .dz-sub, html.hc .dz-note, html.hc .step-label, html.hc .welcome-text { color: #fff !important; }
html.hc .progress { background: #333 !important; }
html.hc :focus-visible { outline-color: #ff0 !important; }

/* ================================================================ SEO landing pages */
.breadcrumb { font-size: .8rem; color: var(--qs-muted); margin: 1.25rem 0 .75rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.landing { max-width: 60rem; padding-bottom: 1rem; }
.landing-hero { padding: 1.5rem; text-align: center; }
.landing-hero h1 { font-size: 1.6rem; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.landing-intro { margin: .75rem auto 0; max-width: 44rem; color: color-mix(in srgb, var(--qs-text) 80%, transparent); line-height: 1.7; }
.landing-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.25rem; }
.landing-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1rem; }
.landing-badges li { display: inline-flex; align-items: center; gap: .3rem; font-size: .75rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; background: color-mix(in srgb, var(--qs-blue) 8%, #fff); color: var(--qs-blue-dark); }
.landing-section { padding: 1.25rem 1.5rem; margin-top: 1rem; }
.landing-section h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: .9rem; }
.landing-steps { display: grid; gap: .75rem; counter-reset: none; }
.landing-steps li { display: flex; align-items: center; gap: .75rem; }
.ls-num { width: 2rem; height: 2rem; border-radius: .7rem; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; background-image: var(--qs-gradient); }
.landing-list { display: grid; gap: .6rem; }
.landing-list li { display: flex; align-items: flex-start; gap: .6rem; line-height: 1.6; }
.landing-list .icon { color: var(--qs-success); margin-top: 3px; }
.faq details { border: 1px solid var(--qs-border); border-radius: 14px; padding: .8rem 1rem; background: rgba(255,255,255,.7); }
.faq details + details { margin-top: .6rem; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin-top: .5rem; color: color-mix(in srgb, var(--qs-text) 80%, transparent); line-height: 1.7; }
.related-list { display: grid; gap: .5rem; }
.related-list a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .7rem .9rem; border-radius: 12px; border: 1px solid var(--qs-border); background: rgba(255,255,255,.7); font-weight: 600; }
.related-list a:hover { border-color: var(--qs-blue); }
.sitemap-cols { display: grid; gap: 1.5rem; }
.sitemap-cols h2 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.sitemap-cols li { padding: .25rem 0; }
.prose-cms table { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: .9rem; }
.prose-cms th, .prose-cms td { border: 1px solid var(--qs-border); padding: .5rem .6rem; text-align: left; vertical-align: top; }
.prose-cms th { background: color-mix(in srgb, var(--qs-blue) 6%, #fff); }

/* footer columns */
.footer-cols { display: grid; gap: 1.5rem; padding-top: 1.75rem; padding-bottom: .5rem; }
.footer-cols h2 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .6rem; }
.footer-cols li { padding: .2rem 0; font-size: .875rem; }
.footer-cols a { color: var(--qs-muted); }
.footer-cols a:hover { color: var(--qs-blue); }
@media (min-width: 640px) {
  .landing-hero { padding: 2.5rem 2rem; }
  .landing-hero h1 { font-size: 2.1rem; }
  .landing-section { padding: 1.5rem 2rem; }
  .related-list, .landing-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-cols, .sitemap-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* High contrast: every text white, links yellow, primary buttons black-on-yellow (overrides tinted text colours). */
html.hc body * { color: #fff !important; }
html.hc body a, html.hc body a *, html.hc .brand-accent { color: #ff0 !important; -webkit-text-fill-color: #ff0 !important; }
html.hc body .btn-primary, html.hc body .btn-primary *, html.hc body .sc-digit, html.hc body .ls-num, html.hc body .step-num, html.hc body .progress-bar,
html.hc body .dz-icon *, html.hc body .ch-icon *, html.hc body .rc-icon *, html.hc body .logo-mark *, html.hc body .a11y-tools button[aria-pressed="true"] { color: #000 !important; -webkit-text-fill-color: #000 !important; }
html.hc .landing-badges li, html.hc .related-list a, html.hc .util-bar, html.hc .skip-link, html.hc .badge, html.hc .alert, html.hc .found-icon, html.hc .step-icon, html.hc .table th { background: #000 !important; border: 1px solid #fff !important; }
html.hc .animate-in { animation: none !important; }

/* ================================================================ bottom menu: Scan QR + scanner */
.bottom-nav-row { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 30rem; }
.bn-scan { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; padding: 0; }
.bn-scan-icon { width: 4rem; height: 2rem; border-radius: 999px; display: flex; align-items: center; justify-content: center; color: #fff; background-image: var(--qs-gradient); box-shadow: 0 6px 14px -6px color-mix(in srgb, var(--qs-blue) 70%, transparent); transition: transform .15s ease; }
.bn-scan:active .bn-scan-icon { transform: scale(.94); }
.bn-scan .bn-label { font-weight: 600; color: var(--qs-text); }
.scanner { width: 100%; max-width: 420px; margin: auto; background: #fff; border-radius: 24px; padding: 1rem; box-shadow: 0 30px 80px -20px rgba(15,23,42,.45); animation: qs-pop .3s ease both; }
.scan-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.scan-head h4 { display: flex; align-items: center; gap: .5rem; font-size: 1.1rem; font-weight: 700; }
.scan-close { display: inline-flex; padding: .35rem; border-radius: 10px; color: var(--qs-muted); }
.scan-close:hover { background: #f1f5f9; color: var(--qs-text); }
.scan-view { position: relative; aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; background: #0f172a; }
.scan-view video { width: 100%; height: 100%; object-fit: cover; display: block; }
.scan-frame { position: absolute; inset: 14%; border-radius: 18px; box-shadow: 0 0 0 999px rgba(2, 6, 23, .45); border: 3px solid rgba(255,255,255,.9); }
.scan-line { position: absolute; left: 8%; right: 8%; height: 3px; border-radius: 3px; background: var(--qs-cyan); box-shadow: 0 0 12px var(--qs-cyan); animation: qs-scan 2s ease-in-out infinite; }
@keyframes qs-scan { 0%, 100% { top: 10%; } 50% { top: 88%; } }
.scan-status { position: absolute; inset: auto 0 1rem; display: flex; align-items: center; justify-content: center; gap: .5rem; color: #fff; font-size: .85rem; font-weight: 600; }
.scan-hint { text-align: center; font-size: .85rem; color: var(--qs-muted); margin: .75rem 0; }
.scan-error { margin-bottom: .75rem; font-size: .82rem; }
.scan-photo { cursor: pointer; }
html.hc .bn-scan-icon { background: #ff0 !important; color: #000 !important; border-color: #000 !important; }
html.hc .scanner { background: #000 !important; border: 1px solid #fff; }

/* ================================================================ Android app promo
   Shown only when app.js sets html.is-android: an Android browser that isn't the app itself. */
.get-app-pill, .app-banner { display: none !important; }
@keyframes qs-shine { 0%, 70% { transform: translateX(-120%) skewX(-20deg); } 100% { transform: translateX(260%) skewX(-20deg); } }
@keyframes qs-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55), 0 4px 12px -4px rgba(21, 128, 61, .6); } 50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0), 0 4px 12px -4px rgba(21, 128, 61, .6); } }
@keyframes qs-slide-up { from { opacity: 0; transform: translateY(110%); } to { opacity: 1; transform: none; } }

@media (max-width: 767.98px) {
  html.is-android .get-app-pill { display: inline-flex !important; }
  html.is-android .header-row { padding-right: 10.5rem; }
}
.get-app-pill {
  position: absolute; right: 4rem; top: 50%; transform: translateY(-50%); align-items: center; gap: .375rem; overflow: hidden;
  padding: .45rem .85rem; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .01em; white-space: nowrap;
  color: #fff !important; background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); animation: qs-glow 2.4s ease-in-out infinite;
}
.get-app-pill span { color: #fff !important; }
.get-app-pill::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); animation: qs-shine 3.2s ease-in-out infinite; }
.get-app-pill:active { transform: translateY(-50%) scale(.95); }

html.is-android .app-banner.is-open { display: flex !important; }
.app-banner {
  position: fixed; z-index: 45; left: .75rem; right: .75rem; bottom: calc(4.75rem + env(safe-area-inset-bottom) + .625rem);
  align-items: center; gap: .75rem; padding: .75rem .75rem .75rem .75rem; border-radius: 20px; background: #fff;
  border: 1px solid color-mix(in srgb, var(--qs-blue) 18%, transparent);
  box-shadow: 0 18px 40px -12px rgba(15, 23, 42, .35), 0 2px 6px rgba(15, 23, 42, .06); animation: qs-slide-up .45s cubic-bezier(.2, .9, .3, 1.2) both;
}
.app-banner::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; border-radius: 20px 20px 0 0; background-image: var(--qs-gradient); }
.ab-icon { width: 3.25rem; height: 3.25rem; border-radius: 14px; flex-shrink: 0; box-shadow: 0 6px 14px -6px color-mix(in srgb, var(--qs-blue) 70%, transparent); }
.ab-text { min-width: 0; flex: 1; }
.ab-title { font-size: .95rem; font-weight: 700; color: var(--qs-text); line-height: 1.2; }
.ab-sub { font-size: .72rem; color: var(--qs-muted); line-height: 1.3; margin-top: .125rem; }
.ab-meta { display: flex; align-items: center; gap: .25rem; font-size: .7rem; font-weight: 600; color: #16a34a; margin-top: .25rem; }
.ab-btn {
  position: relative; overflow: hidden; flex-shrink: 0; display: inline-flex; align-items: center; gap: .375rem; padding: .6rem .95rem; border-radius: 999px;
  font-size: .85rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); animation: qs-glow 2.4s ease-in-out infinite;
}
.ab-btn::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); animation: qs-shine 3.2s ease-in-out infinite; }
.ab-btn:active { transform: scale(.95); }
.ab-close { position: absolute; top: -.6rem; right: -.4rem; display: inline-flex; padding: .3rem; border-radius: 999px; background: #fff; color: var(--qs-muted); border: 1px solid var(--qs-border); box-shadow: 0 2px 6px rgba(15, 23, 42, .15); }
@media (min-width: 768px) { .app-banner { left: auto; right: 1.5rem; bottom: 1.5rem; max-width: 26rem; } }
@media (prefers-reduced-motion: reduce) { .get-app-pill, .ab-btn, .app-banner, .get-app-pill::after, .ab-btn::after { animation: none !important; } }
html.hc .get-app-pill, html.hc .ab-btn { background: #ff0 !important; color: #000 !important; }
html.hc .get-app-pill *, html.hc .ab-btn * { color: #000 !important; -webkit-text-fill-color: #000 !important; }
html.hc .app-banner { background: #000 !important; border: 1px solid #fff; }

/* ================================================================ animated bottom menu (uses bnav.js: sliding pill, ripple, icon pop) */
.bottom-nav { --bnfx-c: var(--qs-blue); --bnfx-c2: var(--qs-cyan, var(--qs-blue)); animation: bnfx-up .55s cubic-bezier(.2, .9, .3, 1.1) both; border-radius: 22px 22px 0 0; }
.bottom-nav-row { position: relative; }
.bottom-nav .bnfx-ind { top: .8rem; bottom: auto; height: 2rem; background: none; border-radius: 0; z-index: 0; }
.bottom-nav .bnfx-ind::after { display: none; }
.bottom-nav .bnfx-ind::before { content: ''; position: absolute; left: 50%; top: 0; width: 4rem; height: 100%; margin-left: -2rem; border-radius: 999px; background: color-mix(in srgb, var(--qs-blue) 16%, transparent); }
.bottom-nav .bnfx-ind.on { opacity: 1; }
.bottom-nav .bn-tab { position: relative; z-index: 1; overflow: visible; }
.bottom-nav .bn-tab[aria-selected="true"] .bn-icon { background: transparent; }
.bottom-nav .bn-tab .bn-icon, .bottom-nav .bn-tab .bn-label { transition: color .25s ease, transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.bottom-nav .bn-tab[aria-selected="true"] .bn-label { transform: translateY(1px); }
.bottom-nav .bn-tab .bnfx-rip { display: none; }
.bn-scan-icon { animation: bn-breathe 2.8s ease-in-out infinite; }
@keyframes bn-breathe { 0%, 100% { box-shadow: 0 6px 14px -6px color-mix(in srgb, var(--qs-blue) 70%, transparent), 0 0 0 0 color-mix(in srgb, var(--qs-blue) 35%, transparent); } 50% { box-shadow: 0 6px 14px -6px color-mix(in srgb, var(--qs-blue) 70%, transparent), 0 0 0 7px color-mix(in srgb, var(--qs-blue) 0%, transparent); } }
@media (prefers-reduced-motion: reduce) { .bn-scan-icon, .bottom-nav { animation: none; } }

/* ================================================================ upload zone: highlighted + animated */
@property --dz-a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.dropzone { isolation: isolate; overflow: hidden; border: 2px solid transparent; min-height: 9.5rem;
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--qs-cyan) 14%, #fff) 0%, transparent 60%), linear-gradient(180deg, color-mix(in srgb, var(--qs-blue) 6%, #fff), color-mix(in srgb, var(--qs-cyan) 9%, #fff));
  box-shadow: 0 14px 34px -18px color-mix(in srgb, var(--qs-blue) 55%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--qs-blue) 8%, transparent);
  transition: transform .25s cubic-bezier(.3, 1.4, .5, 1), box-shadow .25s ease, background .25s ease; }
/* rotating gradient ring */
.dropzone::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--dz-a), var(--qs-blue), var(--qs-cyan), #a78bfa, var(--qs-blue) 60%, transparent 75%, var(--qs-blue));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: dz-spin 5s linear infinite; }
/* light sweep */
.dropzone::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent); transform: translateX(-130%) skewX(-18deg); animation: dz-sweep 4.2s ease-in-out infinite; }
.dropzone:hover, .dropzone:focus-visible { border-color: transparent; transform: translateY(-2px); box-shadow: 0 20px 40px -18px color-mix(in srgb, var(--qs-blue) 65%, transparent); }
.dropzone:active { transform: scale(.985); }
.dropzone.is-dragover { border-color: transparent; transform: scale(1.025); box-shadow: 0 0 0 6px color-mix(in srgb, var(--qs-blue) 18%, transparent), 0 24px 44px -16px color-mix(in srgb, var(--qs-blue) 70%, transparent); }
.dropzone.is-dragover::before { animation-duration: 1.2s; }
.dz-icon { position: relative; width: 3.25rem; height: 3.25rem; border-radius: 1rem; animation: dz-float 3s ease-in-out infinite; }
.dz-icon::before, .dz-icon::after { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--qs-blue); opacity: 0; animation: dz-ring 2.6s ease-out infinite; }
.dz-icon::after { animation-delay: 1.3s; }
.dz-icon .icon { animation: dz-arrow 1.8s ease-in-out infinite; }
.dz-title { font-size: 1rem; font-weight: 700; background: var(--qs-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.dropzone > * { position: relative; }
.pane.has-entries .dropzone { min-height: 0; }
.pane.has-entries .dropzone::after, .pane.has-entries .dz-icon::before, .pane.has-entries .dz-icon::after { display: none; }
.pane[data-compact="2"] .dropzone { min-height: 0; }
.upload-btn { position: relative; overflow: hidden; box-shadow: 0 12px 26px -10px color-mix(in srgb, var(--qs-blue) 70%, transparent); animation: dz-pulse 2.2s ease-in-out infinite; }
.upload-btn::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent); transform: translateX(-130%) skewX(-20deg); animation: dz-sweep 2.8s ease-in-out infinite; }
.file-list li { animation: qs-fade-up .35s ease both; }
@keyframes dz-spin { to { --dz-a: 360deg; } }
@keyframes dz-sweep { 0%, 55% { transform: translateX(-130%) skewX(-18deg); } 100% { transform: translateX(340%) skewX(-18deg); } }
@keyframes dz-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes dz-ring { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes dz-arrow { 0%, 100% { transform: translateY(1px); } 50% { transform: translateY(-2px); } }
@keyframes dz-pulse { 0%, 100% { box-shadow: 0 12px 26px -10px color-mix(in srgb, var(--qs-blue) 70%, transparent), 0 0 0 0 color-mix(in srgb, var(--qs-blue) 35%, transparent); } 50% { box-shadow: 0 12px 26px -10px color-mix(in srgb, var(--qs-blue) 70%, transparent), 0 0 0 8px transparent; } }
@media (prefers-reduced-motion: reduce) { .dropzone::before, .dropzone::after, .dz-icon, .dz-icon::before, .dz-icon::after, .dz-icon .icon, .upload-btn, .upload-btn::after { animation: none !important; } }
html.hc .dropzone::before, html.hc .dropzone::after { display: none; }
html.hc .dropzone { border: 2px dashed #fff !important; }
html.hc .dz-title { background: none; -webkit-text-fill-color: #fff; color: #fff; }
.dropzone { padding: 1.4rem 1rem 1.2rem; }
.pane.has-entries .dropzone, .pane[data-compact="2"] .dropzone { padding: .625rem; }
