a { color: inherit; }
button, input, select { font: inherit; }
button, .button { min-height: 46px; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 50; background: var(--surface-solid); padding: .8rem; }
.skip-link:focus { top: 1rem; }
.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(18px); background: color-mix(in srgb, var(--bg) 92%, transparent); border-bottom: 1px solid var(--border); }
.header-row, .header-tools, .brand, .actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.header-row { justify-content: space-between; padding-block: 16px; }
.brand { font-size: 22px; font-weight: 800; letter-spacing: -.03em; text-decoration: none; }
.brand img { width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 10px 24px rgba(45,140,255,.22)); }
.site-nav-desktop { display: flex; align-items: center; gap: 18px; }
.site-nav-desktop a { text-decoration: none; font-weight: 650; color: var(--muted); white-space: nowrap; }
.site-nav-desktop a:hover, .site-nav-desktop a[aria-current] { color: var(--text); }
.site-nav-desktop a[aria-current] { box-shadow: 0 3px 0 var(--primary); }
.header-tools { flex-wrap: nowrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 999px; padding: 11px 20px; font-weight: 700; text-decoration: none; line-height: 1.4; text-align: center; }
.button.primary { background: var(--gradient); color: #07111f; border: 0; box-shadow: 0 14px 32px rgba(45,140,255,.2); }
.button.danger { color: #ba3030; }
html[data-theme="dark"] .button.danger { color: #ffb4b4; }
.button:hover { filter: brightness(1.08); }
.button:disabled { opacity: .6; cursor: not-allowed; }
.full-width { width: 100%; }
.page { padding-block: 64px 80px; min-height: 65vh; }
.page-heading { max-width: 760px; margin-bottom: 36px; }
.page-heading.center { margin-inline: auto; text-align: center; }
.eyebrow { font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-size: .8rem; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.1; letter-spacing: -.04em; margin: 12px 0 20px; }
h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); margin: 0 0 16px; line-height: 1.25; }
h3 { margin-top: 0; }
.lead, .muted, dt { color: var(--muted); }
.lead { font-size: 1.1rem; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.panel { border: 1px solid var(--border); border-radius: var(--radius-card); padding: 28px; background: var(--surface); box-shadow: var(--shadow); min-width: 0; }
.plan { display: flex; flex-direction: column; position: relative; scroll-margin-top: 110px; }
.plan.selected { outline: 2px solid var(--primary); outline-offset: 4px; }
.plan.featured { border-color: var(--primary); background: var(--surface-solid); }
.plan .features { flex: 1; }
.badge { display: inline-block; align-self: start; border-radius: 999px; background: var(--gradient); color: #07111f; padding: 4px 12px; font-size: .8rem; font-weight: 800; margin-bottom: 18px; }
.price { font-size: 2.5rem; font-weight: 850; letter-spacing: -.04em; margin: 16px 0 4px; }
.price small { font-size: 1rem; font-weight: 500; letter-spacing: normal; color: var(--muted); }
.features { padding: 0; list-style: none; display: grid; align-content: start; gap: 12px; margin-block: 24px; }
.features li { padding-left: 20px; position: relative; }
.features li::before { content: "\2713"; position: absolute; left: 0; color: var(--secondary); }
.notice { border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: 14px; background: var(--surface); padding: 16px 20px; margin-block: 20px; }
.notice.error { border-left-color: #ef7070; }
.notice.warning { border-left-color: #ddb34d; }
.terms { display: flex; align-items: start; gap: 10px; font-size: .9rem; margin: 20px 0; }
.terms input { flex-shrink: 0; width: 20px; height: 20px; margin-top: 3px; }
.auth-card { max-width: 560px; margin-inline: auto; }
.field { margin-block: 20px; }
.field label { display: block; font-weight: 700; margin-bottom: 8px; }
.field input, .field select { width: 100%; min-width: 0; border: 1px solid var(--border); border-radius: var(--radius-control); padding: 14px; color: var(--text); background: var(--surface-solid); font-size: 16px; }
.phone-fields { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 12px; }
.hint { display: block; font-size: .88rem; color: var(--muted); margin-top: 8px; }
.otp { font-size: 1.5rem !important; letter-spacing: .3em; text-align: center; }
.stack { display: grid; gap: 24px; }
.details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 24px 0; }
dd { margin: 6px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.table-scroll { max-width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
th, td { padding: 14px 12px; text-align: left; border-bottom: 1px solid var(--border); }
th { color: var(--muted); }
caption { text-align: left; margin-bottom: 16px; }
.site-footer { border-top: 1px solid var(--border); padding-block: 36px; color: var(--muted); }
.footer-row { display: flex; gap: 20px; justify-content: space-between; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.section-gap { margin-top: 36px; }
details summary { cursor: pointer; font-weight: 700; padding-block: 12px; }
@media (max-width: 900px) { .plan-grid { grid-template-columns: 1fr; max-width: 600px; margin-inline: auto; } .details { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 480px) { .shell { width: calc(100% - 28px); } .page { padding-block: 32px 48px; } .panel { padding: 22px; } .header-row { gap: 10px; } .details { grid-template-columns: 1fr; } .actions { align-items: stretch; } .actions > * { width: 100%; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
html { scroll-behavior: smooth; scroll-padding-top: 105px; } section[id] { scroll-margin-top: 105px; } img { max-width: 100%; } .break-word { overflow-wrap: anywhere; }
.customer-shell { display: grid; grid-template-columns: 208px minmax(0,1fr); gap: 36px; align-items: start; max-width: 1320px; }
.customer-nav { display: grid; gap: 5px; position: sticky; top: 100px; padding: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; }
.customer-nav a { display: block; padding: 10px 14px; border-radius: 12px; text-decoration: none; font-weight: 650; color: var(--muted); }
.customer-nav a:hover, .customer-nav a.active { background: color-mix(in srgb, var(--primary) 13%, transparent); color: var(--text); }
.customer-content { min-width: 0; } .section-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; } .section-row h2 { margin: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; } .stat { display: grid; align-content: start; gap: 9px; } .stat span { color: var(--muted); } .stat strong { font-size: 2.2rem; line-height: 1.1; } .stat .stat-text { font-size: 1.25rem; } .stat small, .data-row small { display: block; color: var(--muted); } .stat a { margin-top: 8px; }
.dashboard-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; align-items: start; } .data-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); text-decoration: none; } .data-row:last-child { border-bottom: 0; } .data-row > * { min-width: 0; }
.filter-bar { display: flex; flex-wrap: wrap; align-items: end; gap: 14px; padding: 18px; } .filter-bar .field { flex: 1 1 135px; margin: 0; } .filter-bar .button { margin-bottom: 0; }
.qr-grid, .feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; } .qr-card { display: flex; align-items: start; gap: 18px; padding: 20px; } .qr-card img { width: 100px; flex: 0 0 100px; background: white; padding: 6px; border-radius: 12px; } .qr-card h2 { font-size: 1.2rem; overflow-wrap: anywhere; } .qr-grid.list-view { grid-template-columns: 1fr; } .qr-detail-preview { text-align: center; } .qr-detail-preview img { display: block; margin: auto; background: white; padding: 12px; border-radius: 16px; } .qr-detail-preview .actions { justify-content: center; margin-top: 22px; } .form-panel { max-width: 650px; } .empty-state { text-align: center; padding-block: 70px; } .back-link { display: inline-block; margin-bottom: 20px; } .pagination-wrap { margin-top: 22px; }
.chart-list { display: grid; gap: 12px; } .chart-row { display: grid; grid-template-columns: 85px 1fr 30px; gap: 10px; align-items: center; font-size: .86rem; } .chart-track { height: 12px; border-radius: 99px; background: color-mix(in srgb, var(--primary) 10%, transparent); overflow: hidden; } .chart-track span { display: block; height: 100%; background: var(--gradient); border-radius: inherit; } .choice-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); } .choice-row input { width: 20px; height: 20px; } .choice-row small { display: block; color: var(--muted); }
.marketing-hero { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 55px; min-height: 560px; } .marketing-hero h1 { font-size: clamp(3rem,6vw,5.4rem); max-width: 770px; } .marketing-hero .lead { max-width: 600px; } .hero-art { min-height: 370px; display: grid; place-content: center; text-align: center; border-radius: 36px; background: radial-gradient(circle at 25% 25%,rgba(45,140,255,.28),transparent 45%),radial-gradient(circle at 75% 75%,rgba(33,211,154,.25),transparent 45%),var(--surface-solid); border: 1px solid var(--border); box-shadow: var(--shadow); } .hero-symbol { font-size: clamp(5rem,10vw,9rem); line-height: 1; font-weight: 900; letter-spacing: -.09em; color: var(--primary); } .hero-symbol span { color: var(--secondary); font-size: .65em; } .hero-art-caption { color: var(--muted); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-top: 25px; }
.marketing-section { padding: 80px 0; border-top: 1px solid var(--border); } .section-title { max-width: 760px; margin-bottom: 30px; } .section-title h2, .analytics-feature h2, .marketing-cta h2 { font-size: clamp(2rem,4vw,3.2rem); letter-spacing: -.04em; } .step { display: block; color: var(--primary); font-size: 1.8rem; font-weight: 800; margin-bottom: 26px; } .analytics-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center; } .analytics-illustration { display: flex; align-items: end; justify-content: space-around; height: 280px; padding: 28px; border-radius: 28px; border: 1px solid var(--border); background: var(--surface); } .analytics-illustration span { width: 10%; border-radius: 12px 12px 0 0; background: var(--gradient); } .marketing-cta { text-align: center; padding: 90px 20px; border-radius: 32px; background: var(--surface-solid); border: 1px solid var(--border); } .marketing-cta p { color: var(--muted); }
@media(max-width:1100px) { .stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .qr-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:800px) { .customer-shell { display: block; } .customer-nav { position: static; display: flex; overflow-x: auto; margin-bottom: 25px; white-space: nowrap; } .customer-nav a { flex: 0 0 auto; } .dashboard-columns, .marketing-hero, .analytics-feature { grid-template-columns: 1fr; } .feature-grid { grid-template-columns: 1fr 1fr; } .hero-art { min-height: 270px; } }
@media(max-width:580px) { .stat-grid,.qr-grid,.feature-grid { grid-template-columns: 1fr; } .marketing-hero { gap: 20px; min-height: 0; padding-bottom: 45px; } .marketing-section { padding: 50px 0; } .qr-card { flex-direction: row; } }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; cursor: pointer; font-weight: 700; border: 1px solid var(--border); border-radius: 999px; padding: 10px 16px; background: var(--surface); }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; display: grid; width: min(290px, calc(100vw - 28px)); padding: 10px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface-solid); box-shadow: var(--shadow); }
.mobile-menu nav a, .mobile-menu nav button { display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--text); text-align: left; text-decoration: none; font-weight: 650; min-height: 44px; }
.mobile-menu nav a:hover, .mobile-menu nav a[aria-current], .mobile-menu nav button:hover { background: color-mix(in srgb, var(--primary) 13%, transparent); }
.mobile-menu nav a[aria-current] { font-weight: 800; }
.mobile-menu nav form { margin: 0; }
@media(max-width:1100px) { .site-nav-desktop, .desktop-signout, .desktop-theme { display: none; } .mobile-menu { display: block; } }
.profile-avatar { display: block; width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.qr-unavailable { display: grid; place-items: center; flex: 0 0 100px; width: 100px; min-height: 100px; border-radius: 12px; background: var(--surface-solid); color: var(--muted); text-align: center; font-size: .75rem; }
.schedule-fields { border: 1px solid var(--border); border-radius: 16px; padding: 18px; min-width: 0; }
.schedule-fields legend { padding-inline: 8px; font-weight: 700; }
.legal-content { overflow-wrap: anywhere; }

/* Unified QRTact product surface system */
:root {
    --bg: #f4f7fb;
    --surface: rgba(255,255,255,.88);
    --surface-solid: #fff;
    --text: #14243b;
    --muted: #63738a;
    --border: #e3eaf2;
    --primary: #2878e5;
    --secondary: #1db992;
    --gradient: linear-gradient(120deg, #2878e5 0%, #22b994 100%);
    --soft-gradient: radial-gradient(ellipse at 14% 0%, rgba(68,143,244,.12), transparent 32%), radial-gradient(ellipse at 88% 12%, rgba(34,185,148,.08), transparent 26%), #f4f7fb;
    --shadow: 0 18px 48px rgba(22,48,84,.075);
    --radius-control: 12px;
    --radius-card: 22px;
}
html { scroll-padding-top: 92px; }
section[id], .plan[id] { scroll-margin-top: 0; }
body { line-height: 1.58; -webkit-font-smoothing: antialiased; }
.shell { width: min(1200px, calc(100% - 48px)); }
.site-header { background: rgba(250,252,255,.9); border-color: rgba(219,228,239,.9); box-shadow: 0 4px 18px rgba(22,48,84,.035); }
.header-row { min-height: 76px; padding-block: 12px; }
.brand { gap: 9px; font-size: 20px; letter-spacing: -.045em; }
.brand img { width: 36px; height: 36px; filter: none; }
.site-nav-desktop { gap: clamp(12px, 1.65vw, 23px); }
.site-nav-desktop a { position: relative; padding-block: 8px; font-size: .91rem; color: #53647b; transition: color .18s ease; }
.site-nav-desktop a { display: inline-flex; align-items: center; min-height: 44px; }
.site-nav-desktop a:hover, .site-nav-desktop a[aria-current] { color: #1b3659; }
.site-nav-desktop a[aria-current] { box-shadow: none; }
.site-nav-desktop a[aria-current]::after { position: absolute; right: 0; bottom: 1px; left: 0; height: 2px; border-radius: 2px; background: var(--primary); content: ""; }
.button { min-height: 44px; border-color: #dce5ef; background: #fff; border-radius: 12px; padding: 10px 17px; font-size: .94rem; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button.primary { color: white; background: linear-gradient(120deg, #2676df, #219b9a); box-shadow: 0 8px 18px rgba(40,120,229,.20); }
.button:hover { filter: none; transform: translateY(-1px); box-shadow: 0 9px 20px rgba(22,48,84,.10); }
.button.primary:hover { background: linear-gradient(120deg, #1d69cf, #178d8d); box-shadow: 0 12px 25px rgba(40,120,229,.26); }
.page { padding-block: 48px 76px; }
.page-heading { margin-bottom: 30px; }
.eyebrow { letter-spacing: .12em; color: #3c78b6; font-size: .72rem; }
h1 { color: #152b48; font-size: clamp(2.1rem, 4.3vw, 3.35rem); }
h2 { color: #1c3351; }
.lead { color: #53657c; font-size: 1.08rem; line-height: 1.7; }
.panel { border-color: #e5ebf3; border-radius: var(--radius-card); background: rgba(255,255,255,.94); box-shadow: 0 8px 28px rgba(24,51,85,.045); padding: 26px; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.notice { border-color: #d9e7f7; border-left-color: #4188e8; border-radius: 12px; background: #f5f9ff; }
.notice.warning { border-color: #f1dfb6; border-left-color: #c89024; background: #fffaf0; }
.notice.error { border-color: #f1d1d1; border-left-color: #d14d4d; background: #fff7f7; }
.field input, .field select { border-color: #d9e2ed; border-radius: 11px; background: #fff; transition: border .15s ease, box-shadow .15s ease; }
.field input:focus, .field select:focus { outline: none; border-color: #5791df; box-shadow: 0 0 0 4px rgba(40,120,229,.12); }
.features li::before { color: #159b79; }
.site-footer { border-color: #e3eaf2; background: rgba(255,255,255,.42); }
.skip-link { border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow); }
.mobile-menu summary { border-color: #dce5ef; border-radius: 11px; background: #fff; padding: 9px 14px; }
.mobile-menu nav { border-color: #e2e9f1; border-radius: 16px; background: #fff; }
.mobile-menu nav a, .mobile-menu nav button { border-radius: 10px; }
.mobile-menu nav a[aria-current] { color: #1e5fa9; background: #edf5ff; }
::selection { color: #102847; background: rgba(72,151,235,.2); }
.customer-shell { grid-template-columns: 220px minmax(0,1fr); gap: 30px; }
.customer-nav { border-color: #e2eaf3; border-radius: 18px; padding: 9px; background: rgba(255,255,255,.78); box-shadow: 0 8px 24px rgba(24,51,85,.04); }
.customer-nav a { padding: 10px 12px; border-radius: 11px; font-size: .93rem; transition: background .16s ease, color .16s ease; }
.customer-nav a { display: flex; align-items: center; min-height: 44px; }
.customer-nav a.active { color: #1e5fa9; background: #edf5ff; font-weight: 750; }
.stat-grid { gap: 18px; }
.stat { min-height: 145px; border-top: 3px solid transparent; border-image: linear-gradient(90deg, #2878e5, #21b994) 1; }
.stat strong { color: #16375f; letter-spacing: -.04em; }
.data-row { min-height: 66px; color: inherit; transition: background .15s ease, padding .15s ease; }
a.data-row:hover { padding-inline: 10px; border-radius: 10px; background: #f6f9fd; }
.filter-bar { border-color: #e5ebf3; gap: 12px; padding: 16px; }
.qr-card { border-radius: 18px; box-shadow: 0 8px 25px rgba(24,51,85,.05); }
.qr-card img { border: 1px solid #eef1f5; }
.chart-track { background: #eaf1f9; }
.chart-track span { background: linear-gradient(90deg, #3785e8, #20b894); }
.table-scroll { border: 1px solid #e8edf4; border-radius: 13px; }
table { background: rgba(255,255,255,.56); }
th { background: #f5f8fc; font-weight: 700; }
td, th { padding: 13px 15px; }
.field { margin-block: 17px; }
.field label { font-size: .92rem; }
.hint { line-height: 1.55; }
.mobile-menu nav { max-height: min(76vh, 560px); overflow-y: auto; }
.mobile-menu nav a, .mobile-menu nav button { min-height: 46px; }
.marketing-hero { position: relative; min-height: 590px; gap: clamp(32px, 6vw, 76px); padding-block: 35px 70px; }
.marketing-hero > div:first-child { position: relative; z-index: 1; }
.marketing-hero h1 { max-width: 720px; margin-top: 18px; font-size: clamp(3rem, 6vw, 5.1rem); line-height: 1.04; letter-spacing: -.06em; }
.marketing-hero .lead { max-width: 570px; font-size: 1.18rem; }
.hero-note { margin-top: 22px; color: #74839a; font-size: .9rem; }
.hero-art { min-height: 390px; padding: 30px; overflow: visible; border-color: #e0e9f3; border-radius: 30px; background: radial-gradient(circle at 25% 18%, rgba(45,140,255,.15), transparent 46%), radial-gradient(circle at 82% 86%, rgba(33,211,154,.13), transparent 43%), #f9fbfe; box-shadow: 0 28px 70px rgba(30,72,125,.11); }
.workspace-preview { width: min(100%, 440px); border: 1px solid rgba(221,231,243,.95); border-radius: 20px; background: white; box-shadow: 0 20px 48px rgba(27,57,94,.13); text-align: left; overflow: hidden; transform: rotate(1deg); }
.preview-topbar { min-height: 60px; display: flex; align-items: center; gap: 10px; padding: 12px 17px; border-bottom: 1px solid #edf1f6; }
.preview-topbar > span:nth-child(2) { display: grid; line-height: 1.2; }
.preview-topbar strong { color: #203b5d; font-size: .86rem; }
.preview-topbar small, .preview-title small, .preview-module small, .insight-preview small { display: block; color: #8795a8; font-size: .68rem; }
.preview-mark { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; color: #fff; background: linear-gradient(135deg,#2878e5,#21b994); font-weight: 800; }
.preview-avatar { width: 25px; height: 25px; margin-left: auto; border-radius: 50%; background: linear-gradient(135deg,#dae9ff,#bde9dc); }
.preview-content { padding: 21px; }
.preview-title, .insight-preview-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 15px; }
.preview-title > span:first-child, .insight-preview-head > span:first-child { display: grid; gap: 4px; }
.preview-title small, .insight-preview-head small { color: #559078; font-size: .62rem; font-weight: 800; letter-spacing: .12em; }
.preview-title strong, .insight-preview-head strong { color: #203b5d; font-size: 1.08rem; }
.preview-pill { flex: 0 0 auto; padding: 5px 9px; border-radius: 999px; color: #18866c; background: #e9f8f3; font-size: .68rem; font-weight: 750; }
.preview-modules { display: grid; gap: 9px; }
.preview-module { display: flex; align-items: center; gap: 11px; padding: 12px; border: 1px solid #edf1f6; border-radius: 12px; }
.preview-module > span:nth-child(2) { flex: 1; min-width: 0; }
.preview-module strong, .insight-list strong { display: block; color: #304760; font-size: .8rem; }
.preview-module small { margin-top: 3px; font-size: .68rem; }
.preview-module b { color: #a4b1c1; font-size: 1.1rem; }
.preview-icon, .insight-symbol { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 10px; background: #edf5ff; color: #347cce; font-weight: 800; }
.scan-icon { color: #148c73; background: #eaf8f3; }
.plan-icon { color: #8a64bf; background: #f4effb; }
.hero-art-caption { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 20px 0 0; color: #687a92; font-size: .68rem; letter-spacing: .12em; }
.hero-art-caption i { width: 4px; height: 4px; border-radius: 50%; background: #36a9a0; }
.marketing-section { padding: 78px 0; border-top-color: rgba(222,231,241,.8); }
.section-title { margin-bottom: 34px; }
.section-title h2, .analytics-feature h2, .marketing-cta h2 { color: #173454; font-size: clamp(2rem, 3.7vw, 3rem); letter-spacing: -.05em; }
.step { font-size: 1.05rem; letter-spacing: .08em; }
.feature-grid .panel { min-height: 190px; }
.analytics-feature { gap: clamp(30px, 5vw, 70px); }
.insight-preview { padding: 23px; border: 1px solid #e2eaf3; border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.insight-list { display: grid; gap: 9px; }
.insight-list > div { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid #edf1f6; border-radius: 12px; }
.insight-list > div > span:last-child { min-width: 0; }
.insight-list small { margin-top: 3px; font-size: .72rem; }
.preview-footnote { margin: 13px 0 0; color: #8492a4; font-size: .7rem; line-height: 1.5; }
.marketing-cta { padding: clamp(38px, 7vw, 76px) 22px; border-radius: 28px; background: radial-gradient(circle at 90% 5%, rgba(33,185,148,.1), transparent 38%), #fff; box-shadow: 0 14px 38px rgba(24,51,85,.055); }
.marketing-cta p { color: #65768d; }
.faq-list { max-width: 850px; display: grid; gap: 10px; }
.faq-list details { padding: 5px 19px; border: 1px solid #e4ebf3; border-radius: 14px; background: rgba(255,255,255,.86); }
.faq-list summary { position: relative; padding-block: 14px; color: #253d5a; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; right: 1px; color: #5180b4; content: "+"; font-size: 1.2rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 720px; margin: 0 0 17px; color: #65768d; }
.profile-editor { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 20px; align-items: start; }
.profile-editor .profile-avatar, .profile-placeholder { width: 84px; height: 84px; }
.profile-placeholder { display: grid; place-items: center; border: 1px solid #dce9f7; border-radius: 50%; color: #286cae; background: linear-gradient(135deg,#e8f2ff,#def5ed); font-size: 1.6rem; font-weight: 800; }
.profile-save[aria-busy="true"] { opacity: .75; }
.status-badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 999px; color: #168269; background: #e9f8f2; font-size: .78rem; font-weight: 750; }
.status-badge::before { width: 7px; height: 7px; border-radius: 50%; background: currentColor; content: ""; }
.status-badge.status-scheduled { color: #326eaf; background: #edf5ff; }
.status-badge.status-ended { color: #6b7888; background: #eef1f4; }
.profile-columns { align-items: stretch; }
.profile-columns > .panel { height: 100%; }
.phone-card { display: flex; flex-direction: column; align-items: flex-start; }
.phone-value { margin-block: 22px 8px; color: #193c63; font-size: 1.3rem; font-weight: 750; letter-spacing: .01em; }
.phone-card .muted { max-width: 420px; }
@media(max-width: 1100px) { .customer-shell { grid-template-columns: 1fr; gap: 18px; } .customer-nav { position: static; display: grid; grid-template-columns: repeat(auto-fit,minmax(135px,1fr)); gap: 5px; overflow: visible; margin-bottom: 16px; white-space: normal; } .customer-nav a { min-width: 0; } }
@media(max-width: 800px) { .marketing-hero { min-height: 0; padding-block: 24px 58px; } .hero-art { max-width: 560px; width: 100%; justify-self: center; } .marketing-section { padding: 56px 0; } }
@media(max-width: 580px) { .marketing-hero h1 { font-size: clamp(2.75rem, 12vw, 4rem); } .hero-art { min-height: 0; padding: 18px 14px; border-radius: 23px; } .workspace-preview { transform: none; } .preview-content { padding: 15px; } .preview-module { padding: 10px; } .marketing-section { padding: 46px 0; } .marketing-cta { border-radius: 20px; } }
@media(max-width: 360px) { .shell { width: calc(100% - 24px); } .preview-content { padding: 12px; } .preview-module { gap: 8px; padding: 9px; } .preview-icon { width: 30px; height: 30px; flex-basis: 30px; } .preview-module strong { font-size: .75rem; } .preview-module small { font-size: .62rem; } .preview-pill { font-size: .61rem; } }
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button, .panel, .data-row, .site-nav-desktop a { transition: none; } .button:hover { transform: none; } }
html[data-theme="dark"] .site-header { background: rgba(7,17,31,.92); border-color: rgba(255,255,255,.1); }
html[data-theme="dark"] .panel, html[data-theme="dark"] .customer-nav, html[data-theme="dark"] .mobile-menu nav,
html[data-theme="dark"] .mobile-menu summary, html[data-theme="dark"] .button:not(.primary), html[data-theme="dark"] .faq-list details,
html[data-theme="dark"] .marketing-cta, html[data-theme="dark"] .insight-preview, html[data-theme="dark"] .workspace-preview { color: var(--text); background-color: var(--surface-solid); border-color: var(--border); }
html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] .preview-title strong,
html[data-theme="dark"] .insight-preview-head strong, html[data-theme="dark"] .phone-value, html[data-theme="dark"] .stat strong { color: var(--text); }
html[data-theme="dark"] .site-footer { background: rgba(7,17,31,.55); border-color: var(--border); }
html[data-theme="dark"] .field input, html[data-theme="dark"] .field select, html[data-theme="dark"] table,
html[data-theme="dark"] th { color: var(--text); background: var(--surface-solid); border-color: var(--border); }
html[data-theme="dark"] .notice { color: var(--text); background: rgba(45,140,255,.12); border-color: var(--border); border-left-color: var(--primary); }
html[data-theme="dark"] .notice.warning { background: rgba(221,179,77,.12); border-left-color: #ddb34d; }
html[data-theme="dark"] .notice.error { background: rgba(239,112,112,.1); border-left-color: #ef7070; }
html[data-theme="dark"] .preview-topbar, html[data-theme="dark"] .preview-module, html[data-theme="dark"] .insight-list > div { border-color: var(--border); }
html[data-theme="dark"] .preview-topbar strong, html[data-theme="dark"] .preview-module strong,
html[data-theme="dark"] .insight-list strong, html[data-theme="dark"] .faq-list summary { color: var(--text); }
html[data-theme="dark"] .customer-nav a.active, html[data-theme="dark"] .mobile-menu nav a[aria-current] { color: #b9dcff; background: rgba(45,140,255,.2); }
html[data-theme="dark"] .status-badge { color: #95e3c9; background: rgba(29,185,146,.16); }
html[data-theme="dark"] .status-badge.status-scheduled { color: #b9dcff; background: rgba(45,140,255,.18); }
html[data-theme="dark"] .status-badge.status-ended { color: #c0c8d3; background: rgba(255,255,255,.1); }

/* UI excellence pass 2: tighter hierarchy, calmer surfaces and useful zero states */
:root {
    --text: #172b46;
    --muted: #5d6d82;
    --border: #e1e8f0;
    --primary: #236fc8;
    --secondary: #16866f;
    --shadow: 0 10px 28px rgba(29, 53, 82, .055);
}
body { color: #172b46; background: #f5f7fa; }
.shell { width: min(1240px, calc(100% - 48px)); }
.page { padding-block: 36px 64px; }
.page-heading { margin-bottom: 24px; }
.page-heading h1 { margin-bottom: 8px; }
.lead { max-width: 720px; font-size: 1.02rem; color: #52657d; }
.panel { padding: 22px; border: 1px solid #e3e9f0; border-radius: 18px; background: #fff; box-shadow: 0 5px 18px rgba(25,48,75,.035); }
.panel:hover { border-color: #d8e1eb; box-shadow: 0 9px 25px rgba(25,48,75,.065); }
.button { color: #27415f; border-color: #d8e1eb; background: #fff; border-radius: 10px; font-weight: 680; }
.button.primary { background: #246fc8; color: #fff; box-shadow: 0 4px 10px rgba(36,111,200,.16); }
.button.primary:hover { background: #1d5fae; }
.button:focus-visible, .mobile-menu summary:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, button:focus-visible { outline: 3px solid rgba(35,111,200,.4); outline-offset: 2px; }
.button.danger { color: #a33c3c; }
.eyebrow { color: #526b86; font-size: .7rem; letter-spacing: .1em; }
h1 { color: #172b46; }
h2 { color: #1d3552; font-size: 1.22rem; letter-spacing: -.025em; }
h3 { color: #233b58; font-size: 1rem; }
.stat-grid { gap: 12px; }
.stat { min-height: 0; gap: 7px; padding: 18px; border-top: 1px solid #e3e9f0; border-image: none; }
.stat strong { color: #19314f; font-size: clamp(1.7rem,2.5vw,2.15rem); line-height: 1.08; }
.stat .stat-label { color: #5d6d82; font-size: .82rem; font-weight: 670; }
.stat small { font-size: .77rem; line-height: 1.45; }
.stat .stat-text { max-width: 100%; font-size: 1.04rem; line-height: 1.3; letter-spacing: -.02em; }
.stat-link { margin-top: 2px; color: #2464a7; font-size: .83rem; font-weight: 700; text-decoration: none; }
.stat-link:hover { text-decoration: underline; }
.dashboard-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; }
.dashboard-heading .button { flex: 0 0 auto; margin-bottom: 3px; }
.dashboard-kpis { grid-template-columns: repeat(4,minmax(0,1fr)); }
.quota-track { display: block; height: 5px; overflow: hidden; margin-top: 5px; border-radius: 99px; background: #e8edf3; }
.quota-track > span { display: block; height: 100%; border-radius: inherit; background: #3680c9; }
.status-badge { padding: 4px 9px; color: #176c5a; background: #eaf5f1; font-size: .72rem; }
.status-badge.status-scheduled { color: #285e95; background: #edf3fa; }
.status-badge.status-ended { color: #5e6875; background: #eef1f4; }
.status-badge.status-warning { color: #805b17; background: #fbf3df; }
.notice { border: 1px solid #dbe6f1; border-left: 3px solid #5486b8; background: #f7faff; }
.notice.warning { border-color: #eee2c3; border-left-color: #b98a2f; background: #fffbf1; }
.notice.error { border-color: #eed8d8; border-left-color: #b64a4a; background: #fff8f8; }
.section-gap { margin-top: 20px; }
.dashboard-columns { gap: 16px; }
.dashboard-list-panel { padding: 20px; }
.section-row { align-items: center; gap: 12px; }
.section-row h2 { margin: 2px 0 0; }
.section-row > a { flex: 0 0 auto; color: #285f99; font-size: .85rem; font-weight: 700; text-decoration: none; }
.dashboard-qr-row { display: grid; grid-template-columns: 54px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #edf0f4; color: inherit; text-decoration: none; }
.dashboard-qr-row:last-child { border-bottom: 0; }
.dashboard-qr-row > img, .mini-qr-placeholder { width: 54px; height: 54px; border: 1px solid #e4e9ef; border-radius: 10px; background: #fff; padding: 3px; }
.mini-qr-placeholder { display: grid; place-items: center; color: #526b86; font-size: .7rem; font-weight: 750; }
.dashboard-qr-copy, .dashboard-qr-meta { display: grid; min-width: 0; }
.dashboard-qr-copy strong { overflow: hidden; color: #233b58; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-qr-copy small, .dashboard-qr-meta small, .dashboard-ranking-row small { color: #68798d; font-size: .75rem; }
.dashboard-qr-meta { justify-items: end; color: #344e6c; font-size: .85rem; }
.dashboard-ranking-row b { color: #304e70; font-size: .85rem; }
.dashboard-ranking-row b small { display: inline; font-weight: 500; }
.dashboard-activity-stack { display: grid; gap: 16px; }
.dashboard-activity-stack .panel { min-width: 0; }
.dashboard-activity-stack .data-row { padding-block: 11px; }
.dashboard-activity-stack .data-row > span:first-child { display: grid; gap: 2px; }
.dashboard-activity-stack time { color: #5d6d82; font-size: .78rem; white-space: nowrap; }
.scan-empty-panel { padding: 20px; }
.compact-empty { padding: 20px 10px 12px; }
.compact-empty h3 { margin: 10px 0 5px; }
.compact-empty p { max-width: 350px; margin: 0 auto 13px; color: #5d6d82; font-size: .88rem; }
.compact-empty > a:not(.button) { color: #285f99; font-size: .86rem; font-weight: 700; text-decoration: none; }
.empty-icon { display: inline-grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: #356b9f; background: #eef4fa; font-size: 1.35rem; font-weight: 500; }
.empty-icon-scan { color: #2d6b66; background: #edf5f3; }
.empty-icon-scan svg { display: block; }
.qr-library-heading { align-items: center; }
.qr-library-heading .lead { margin-bottom: 0; }
.qr-filter-bar { display: grid; grid-template-columns: minmax(190px,1.5fr) repeat(3,minmax(115px,1fr)) minmax(100px,.7fr) auto; align-items: end; gap: 10px; padding: 15px; }
.qr-filter-bar .field { min-width: 0; }
.qr-filter-bar .field label { margin-bottom: 5px; font-size: .78rem; }
.qr-filter-bar input, .qr-filter-bar select { min-height: 42px; padding: 9px 11px; font-size: .88rem; }
.qr-filter-bar > .button { min-height: 42px; padding: 8px 15px; }
.qr-grid { grid-template-columns: repeat(auto-fill,minmax(min(100%,390px),1fr)); gap: 14px; }
.qr-card { display: grid; grid-template-columns: 118px minmax(0,1fr); align-items: start; gap: 17px; padding: 17px; border-radius: 16px; }
.qr-preview-link { display: grid; width: 118px; min-height: 118px; place-items: center; border: 1px solid #e4e9ef; border-radius: 13px; background: #fff; }
.qr-preview-link img { display: block; width: 112px; height: 112px; padding: 5px; }
.qr-preview-link .qr-unavailable { width: auto; min-height: 90px; }
.qr-card-content { min-width: 0; }
.qr-card-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; }
.qr-card-heading .status-badge { max-width: 100%; }
.qr-card h2 { margin: 6px 0 9px; font-size: 1.12rem; line-height: 1.3; overflow-wrap: anywhere; }
.qr-card h2 a { color: #1c3553; text-decoration: none; }
.qr-card h2 a:hover { color: #1e66b2; }
.qr-destination { display: grid; gap: 2px; margin: 0 0 10px; min-width: 0; }
.qr-destination .muted { font-size: .73rem; }
.qr-destination strong { overflow: hidden; color: #465e78; font-size: .8rem; font-weight: 560; text-overflow: ellipsis; white-space: nowrap; }
.qr-card-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 10px; padding-top: 9px; border-top: 1px solid #edf0f4; color: #5d6d82; font-size: .74rem; }
.qr-card-footer > span:first-child strong { color: #2d4663; }
.qr-card-actions { gap: 7px; margin-top: 10px; }
.qr-card-actions .button { min-height: 36px; padding: 7px 11px; font-size: .8rem; }
.button-quiet { color: #405a75; background: #f8fafc; }
.qr-grid.list-view { grid-template-columns: 1fr; }
.qr-grid.list-view .qr-card { grid-template-columns: 126px minmax(0,1fr); align-items: center; }
.qr-grid.list-view .qr-preview-link, .qr-grid.list-view .qr-preview-link img { width: 120px; min-height: 120px; height: 120px; }
.qr-empty-state { margin-top: 18px; padding-block: 48px; }
.analytics-filter { gap: 10px; padding: 14px 18px; }
.analytics-filter .field { flex: 0 1 210px; }
.analytics-filter .field label { margin-bottom: 5px; font-size: .82rem; }
.analytics-filter select { min-height: 42px; }
.analytics-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
.analytics-kpis .stat { min-height: 110px; }
.analytics-columns { grid-template-columns: minmax(0,1.3fr) minmax(280px,.7fr); }
.analytics-panel { min-width: 0; padding: 20px; }
.analytics-panel .chart-list { margin-top: 15px; }
.chart-row { grid-template-columns: 58px minmax(0,1fr) 38px; gap: 10px; }
.chart-row time { color: #5d6d82; font-size: .78rem; }
.chart-row strong { color: #304d6c; text-align: right; font-size: .82rem; }
.chart-track { height: 9px; border-radius: 99px; background: #e9eef4; }
.chart-track span { border-radius: inherit; background: #4c88bd; }
.data-range-label { color: #5d6d82; font-size: .78rem; }
.analytics-zero-state { display: grid; grid-template-columns: 48px minmax(0,1fr); align-items: start; gap: 15px; padding: 24px; }
.analytics-zero-state h2 { margin: 3px 0 6px; }
.analytics-zero-state p { max-width: 760px; color: #5d6d82; }
.recent-activity-panel .data-row { padding-block: 11px; }
.plan-grid { align-items: stretch; gap: 16px; }
.plan { min-height: 100%; padding: 24px; border-radius: 18px; }
.plan.featured { border-color: #cad9e9; box-shadow: 0 10px 28px rgba(29,53,82,.075); }
.plan .price { color: #1b3552; font-size: 2.35rem; letter-spacing: -.055em; }
.plan .price small { color: #5d6d82; font-size: .9rem; letter-spacing: 0; }
.plan .features { gap: 9px; margin-block: 18px; }
.plan .features li { color: #40546d; }
.plan .badge { color: #285f99; background: #edf4fb; }
.details > div { border-color: #e8edf3; }
.form-panel { max-width: 760px; }
.site-nav-desktop a[aria-current]::after { height: 3px; background: #276eb9; }
.customer-nav { padding: 8px; border-radius: 15px; background: #fff; }
.customer-nav a { position: relative; color: #53657b; }
.customer-nav a.active { color: #1f5b91; background: #edf3f9; font-weight: 740; }
.customer-nav a.active::before { position: absolute; left: 0; top: 9px; bottom: 9px; width: 3px; border-radius: 4px; background: #3579b8; content: ""; }
.filter-bar { border-radius: 15px; }
.field input, .field select { color: #243b56; }
.field input::placeholder { color: #718198; opacity: 1; }
.table-scroll { background: #fff; }
th { color: #40546d; }
td { color: #344b66; }
.site-footer { background: #f9fafb; }
@media(max-width:1150px) {
    .qr-filter-bar { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .qr-filter-bar .search-field { grid-column: span 2; }
    .qr-filter-bar > .button { justify-self: start; }
}
@media(max-width:900px) {
    .dashboard-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .dashboard-columns, .analytics-columns { grid-template-columns: 1fr; }
    .customer-shell { max-width: 100%; }
}
@media(max-width:600px) {
    .shell { width: calc(100% - 32px); }
    .page { padding-block: 25px 44px; }
    .page-heading { margin-bottom: 18px; }
    .dashboard-heading, .qr-library-heading { align-items: flex-start; flex-direction: column; }
    .dashboard-heading .button, .qr-library-heading > .button { width: 100%; }
    .dashboard-kpis { gap: 9px; }
    .dashboard-kpis .stat { padding: 14px; }
    .dashboard-kpis .stat strong { font-size: 1.7rem; }
    .dashboard-kpis .stat .stat-text { font-size: .95rem; }
    .dashboard-qr-row { grid-template-columns: 46px minmax(0,1fr) auto; gap: 9px; }
    .dashboard-qr-row > img, .mini-qr-placeholder { width: 46px; height: 46px; }
    .dashboard-activity-stack .data-row { align-items: flex-start; }
    .qr-filter-bar { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 12px; }
    .qr-filter-bar .search-field { grid-column: 1 / -1; }
    .qr-filter-bar .field { flex-basis: auto; }
    .qr-filter-bar > .button { width: 100%; }
    .qr-card, .qr-grid.list-view .qr-card { grid-template-columns: 86px minmax(0,1fr); gap: 12px; padding: 13px; }
    .qr-preview-link, .qr-grid.list-view .qr-preview-link { width: 86px; min-height: 86px; }
    .qr-preview-link img, .qr-grid.list-view .qr-preview-link img { width: 80px; height: 80px; }
    .qr-card-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
    .qr-card-heading .eyebrow { font-size: .62rem; }
    .qr-card h2 { font-size: 1rem; }
    .qr-destination strong { max-width: 100%; }
    .qr-card-footer { display: grid; gap: 2px; }
    .qr-card-actions .button { padding-inline: 9px; font-size: .74rem; }
    .analytics-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .analytics-kpis .stat { padding: 15px; }
    .analytics-zero-state { grid-template-columns: 1fr; gap: 10px; padding: 19px; }
    .analytics-zero-state h2 { font-size: 1.1rem; }
    .analytics-filter { align-items: end; }
    .analytics-filter .field { flex: 1 1 100%; }
    .analytics-filter .button { flex: 1; }
    .panel { padding: 18px; border-radius: 16px; }
    .plan { padding: 20px; }
}
@media(max-width:360px) {
    .shell { width: calc(100% - 24px); }
    .dashboard-kpis { grid-template-columns: 1fr 1fr; }
    .dashboard-kpis .stat { padding: 12px; }
    .dashboard-kpis .stat .stat-label, .dashboard-kpis .stat small { font-size: .72rem; }
    .qr-card, .qr-grid.list-view .qr-card { grid-template-columns: 72px minmax(0,1fr); gap: 9px; padding: 11px; }
    .qr-preview-link, .qr-grid.list-view .qr-preview-link { width: 72px; min-height: 72px; }
    .qr-preview-link img, .qr-grid.list-view .qr-preview-link img { width: 66px; height: 66px; }
    .qr-card-actions { flex-wrap: wrap; }
}

/* Advanced analytics workspace */
.analytics-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; max-width: none; }
.analytics-filter { display: grid; grid-template-columns: minmax(160px,.7fr) minmax(190px,1fr) auto; align-items: end; gap: 12px; margin: 0; }
.analytics-filter .field { min-width: 0; margin: 0; }
.analytics-filter select, .analytics-custom-range input { width: 100%; min-height: 44px; border: 1px solid var(--border); border-radius: var(--radius-control); padding: 10px 12px; color: var(--text); background: var(--surface-solid); }
.analytics-filter-actions { display: flex; gap: 8px; }
.analytics-filter-note { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .82rem; }
.analytics-custom-range { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.analytics-custom-range[hidden] { display: none; }
.analytics-selection-line { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; margin: 15px 2px; color: var(--muted); font-size: .84rem; }
.analytics-kpis { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.analytics-kpis .stat { min-width: 0; min-height: 112px; }
.analytics-kpi-text { overflow-wrap: anywhere; font-size: 1.05rem !important; line-height: 1.3; }
.analytics-data-note { margin: 10px 2px 0; color: var(--muted); font-size: .78rem; }
.analytics-workspace { margin-top: 30px; }
.analytics-section-heading { margin-bottom: 12px; }
.analytics-section-heading h2 { margin: 3px 0 0; }
.analytics-time-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.analytics-chart-panel, .analytics-breakdown-panel { min-width: 0; padding: 18px; }
.analytics-chart-title h3, .analytics-breakdown-panel h3, .analytics-advanced-note h3 { margin: 0 0 4px; font-size: 1.03rem; }
.analytics-chart-title p, .analytics-breakdown-panel > p, .analytics-advanced-note p { margin: 0; color: var(--muted); font-size: .82rem; }
.analytics-series-scroll { width: 100%; overflow-x: auto; margin-top: 16px; border-radius: 8px; scrollbar-color: var(--border) transparent; }
.analytics-series-chart { display: block; min-width: 100%; color: var(--theme-chart); }
.analytics-series-chart .chart-axis { stroke: var(--theme-border); stroke-width: 1; }
.analytics-series-chart .chart-bar { fill: currentColor; opacity: .82; transition: opacity .12s ease; }
.analytics-series-chart .chart-bar:hover, .analytics-series-chart .chart-bar:focus { opacity: 1; }
.analytics-series-chart .chart-label { fill: var(--theme-muted); font-size: 10px; }
.analytics-breakdown-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.analytics-category-list, .analytics-top-list, .analytics-recent-list { list-style: none; padding: 0; margin: 14px 0 0; }
.analytics-category-list { display: grid; gap: 13px; }
.analytics-category-row { min-width: 0; }
.analytics-category-heading { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 5px; font-size: .84rem; }
.analytics-category-heading span { overflow-wrap: anywhere; }
.analytics-category-heading strong { white-space: nowrap; }
.analytics-category-track { height: 7px; overflow: hidden; border-radius: 99px; background: var(--theme-track); }
.analytics-category-track span { display: block; height: 100%; min-width: 2px; border-radius: inherit; background: var(--theme-chart); }
.analytics-no-breakdown { margin: 14px 0 0; color: var(--muted); font-size: .88rem; }
.analytics-advanced-note { align-self: stretch; padding: 22px; }
.analytics-advanced-note .button { margin-top: 16px; }
.analytics-top-list { display: grid; gap: 2px; }
.analytics-top-list li a, .analytics-recent-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 2px; border-bottom: 1px solid var(--theme-border); text-decoration: none; }
.analytics-top-list li a:hover { background: var(--theme-hover); }
.analytics-top-list li span, .analytics-recent-list li > span { display: grid; min-width: 0; gap: 3px; }
.analytics-top-list small, .analytics-recent-list small { color: var(--muted); font-size: .77rem; }
.analytics-top-list b { white-space: nowrap; }
.analytics-recent-list time { color: var(--muted); font-size: .78rem; white-space: nowrap; }
.analytics-lists { grid-template-columns: repeat(2,minmax(0,1fr)); }
.analytics-lists > .panel { min-width: 0; }
@media(max-width:900px) {
    .analytics-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .analytics-breakdown-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:600px) {
    .analytics-heading { align-items: flex-start; flex-direction: column; }
    .analytics-heading > .button { width: 100%; }
    .analytics-filter { grid-template-columns: 1fr; }
    .analytics-filter-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .analytics-custom-range { grid-template-columns: 1fr 1fr; }
    .analytics-time-grid, .analytics-breakdown-grid, .analytics-lists { grid-template-columns: 1fr; }
    .analytics-chart-panel, .analytics-breakdown-panel { padding: 15px; }
    .analytics-recent-list li { align-items: flex-start; }
    .analytics-recent-list time { text-align: right; }
}
/* Keep small supporting labels legible against their light surfaces. */
.dashboard-qr-copy small, .dashboard-qr-meta small, .dashboard-ranking-row small,
.chart-row time, .chart-row strong, .data-range-label,
.preview-topbar small, .preview-title small, .preview-module small, .insight-preview small,
.preview-footnote, .hero-note { color: #5d6d82; }
.dashboard-kpis .status-badge { justify-self: start; }
.stat-topline { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.stat-icon { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; border-radius: 10px; color: #356b9f; background: #eef4fa; }
.stat-icon svg { display: block; }
