:root {
  --navy: #101936;
  --navy-2: #172447;
  --purple: #6941c6;
  --purple-soft: #f2edff;
  --green: #00b844;
  --green-dark: #087a34;
  --teal: #0b9f9c;
  --red: #d92d20;
  --amber: #b54708;
  --ink: #172033;
  --muted: #667085;
  --line: #dce3ed;
  --bg: #f5f7fb;
  --card: #ffffff;
  --sidebar-width: 268px;
  --sidebar-collapsed: 82px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--bg); color: var(--ink); letter-spacing: 0; }
body.sidebar-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
.icon { display: block; flex: 0 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }

/* Authentication and installation */
.auth-page, .install-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: #eef3f8; }
.auth-card, .install-card { width: min(100%, 760px); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 28px; box-shadow: 0 18px 45px rgba(16, 25, 54, .08); }
.auth-card { max-width: 460px; }
.brand-row { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.brand-row img { max-width: 210px; height: auto; }

/* Authenticated shell */
.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 40; width: var(--sidebar-width); background: var(--navy); color: #fff; padding: 18px 14px 14px; display: flex; flex-direction: column; overflow: hidden; transition: width .2s ease, transform .2s ease; }
.sidebar-head { min-height: 58px; display: flex; align-items: center; gap: 8px; padding: 0 4px 12px; border-bottom: 1px solid rgba(255,255,255,.1); }
.sidebar-logo { min-width: 0; flex: 1; display: flex; align-items: center; min-height: 46px; padding: 6px 8px; overflow: hidden; }
.sidebar-logo .logo-full { width: 190px; height: 40px; object-fit: contain; object-position: left center; }
.sidebar-logo .logo-mark { display: none; width: 38px; height: 38px; object-fit: contain; }
.sidebar-collapse, .sidebar-close, .nav-logout { width: 38px; height: 38px; display: inline-grid; place-items: center; border: 0; border-radius: 6px; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; }
.sidebar-collapse:hover, .sidebar-close:hover, .nav-logout:hover { background: rgba(255,255,255,.16); }
.sidebar-close { display: none; font-size: 28px; }
.nav-section { display: grid; gap: 5px; padding: 18px 0; overflow-y: auto; overflow-x: hidden; }
.nav-title { color: #9eabc2; font-size: 11px; text-transform: uppercase; margin: 12px 12px 3px; white-space: nowrap; }
.nav-link { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 12px; border-radius: 7px; color: #e8edf7; white-space: nowrap; border-left: 3px solid transparent; }
.nav-link .icon { color: #aebbd0; }
.nav-link:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav-link.is-active { color: #fff; background: rgba(255,255,255,.12); border-left-color: #10cf55; }
.nav-link.is-active .icon { color: #3ce474; }
.nav-link.nav-play { margin: 3px 0 7px; background: linear-gradient(135deg, rgba(0,184,68,.18), rgba(105,65,198,.22)); border: 1px solid rgba(255,255,255,.12); border-left-color: #00b844; color: #fff; }
.nav-link.nav-play .icon { color: #3ce474; }
.nav-link.nav-play:hover, .nav-link.nav-play.is-active { background: linear-gradient(135deg, rgba(0,184,68,.28), rgba(105,65,198,.34)); border-left-color: #3ce474; }
.sidebar-account { margin-top: auto; display: grid; grid-template-columns: 38px minmax(0, 1fr) 38px; gap: 10px; align-items: center; padding: 14px 6px 0; border-top: 1px solid rgba(255,255,255,.1); }
.account-avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--navy); background: #fff; font-weight: 800; }
.account-copy { min-width: 0; display: grid; }
.account-copy strong, .account-copy span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.account-copy strong { font-size: 13px; }
.account-copy span { color: #aebbd0; font-size: 11px; }
.sidebar-overlay { display: none; }
.main { min-width: 0; margin-left: var(--sidebar-width); transition: margin-left .2s ease; }
.content { width: min(100%, 1540px); min-height: 100vh; padding: 30px; }
.mobile-menu-button { display: none; }
.app-shell.is-collapsed .sidebar { width: var(--sidebar-collapsed); }
.app-shell.is-collapsed .main { margin-left: var(--sidebar-collapsed); }
.app-shell.is-collapsed .sidebar-logo { justify-content: center; padding: 4px; }
.app-shell.is-collapsed .logo-full, .app-shell.is-collapsed .nav-link span, .app-shell.is-collapsed .nav-title, .app-shell.is-collapsed .account-copy { display: none; }
.app-shell.is-collapsed .logo-mark { display: block; }
.app-shell.is-collapsed .sidebar-head { justify-content: center; flex-wrap: wrap; }
.app-shell.is-collapsed .sidebar-collapse { transform: rotate(180deg); }
.app-shell.is-collapsed .nav-link { justify-content: center; padding: 10px; }
.app-shell.is-collapsed .sidebar-account { grid-template-columns: 38px; justify-content: center; }
.app-shell.is-collapsed .sidebar-account form { grid-column: 1; }

/* Shared panel elements */
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.page-title { margin: 0; font-size: 30px; line-height: 1.2; color: var(--navy); }
.page-subtitle { margin: 7px 0 0; color: var(--muted); line-height: 1.55; }
.page-eyebrow { display: block; margin-bottom: 5px; color: var(--purple); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.back-link { display: inline-flex; margin-bottom: 7px; color: var(--purple); font-weight: 700; font-size: 13px; }
.grid { display: grid; gap: 16px; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.content-grid { margin-top: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 20px; box-shadow: 0 4px 15px rgba(16,25,54,.035); }
.card h2, .section-heading h2 { margin: 0; color: var(--navy); font-size: 18px; }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.section-heading p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.section-heading > .icon { color: var(--purple); }
.section-icon, .metric-icon, .step-icon, .feature-icon, .screen-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 7px; background: #ebf8f8; color: var(--teal); flex: 0 0 auto; }
.section-icon.purple { background: var(--purple-soft); color: var(--purple); }
.section-icon.green { background: #e8f8ef; color: var(--green-dark); }
.section-icon.teal { background: #ebf8f8; color: var(--teal); }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.metric-grid.compact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.metric-card { position: relative; min-height: 132px; display: flex; align-items: flex-start; gap: 14px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.metric-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--purple); }
.metric-card.tone-green::before { background: var(--green); }
.metric-card.tone-red::before { background: var(--red); }
.metric-card.tone-teal::before { background: var(--teal); }
.metric-card.tone-green .metric-icon { color: var(--green-dark); background: #e8f8ef; }
.metric-card.tone-red .metric-icon { color: var(--red); background: #fdecec; }
.metric-card.tone-teal .metric-icon { color: var(--teal); background: #ebf8f8; }
.metric-card.tone-purple .metric-icon { color: var(--purple); background: var(--purple-soft); }
.metric-copy { min-width: 0; display: grid; gap: 3px; }
.metric-label, .metric-hint { color: var(--muted); font-size: 12px; }
.metric-value { overflow-wrap: anywhere; color: var(--navy); font-size: 26px; line-height: 1.25; }
.metric-hint { margin-top: 4px; line-height: 1.35; }
.stat { display: grid; gap: 6px; }
.stat .label { color: var(--muted); font-size: 13px; }
.stat .value, .value { font-size: 26px; font-weight: 800; }
.compact-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.compact-stats div { min-height: 87px; display: grid; align-content: center; gap: 5px; padding: 14px; background: #fff; }
.compact-stats span { color: var(--muted); font-size: 12px; }
.compact-stats strong { color: var(--navy); font-size: 20px; }
.capacity-value { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 12px; }
.capacity-value strong { color: var(--navy); font-size: 42px; line-height: 1; }
.capacity-value span { color: var(--muted); font-size: 22px; }
.capacity-bar { height: 8px; overflow: hidden; border-radius: 4px; background: #edf1f6; }
.capacity-bar span { display: block; height: 100%; background: var(--green); }
.capacity-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 11px; color: var(--muted); font-size: 13px; }
.capacity-foot a { color: var(--purple); font-weight: 800; }
.ranking-list { display: grid; }
.ranking-item { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 50px; border-bottom: 1px solid var(--line); }
.ranking-item:last-child { border-bottom: 0; }
.ranking-position { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--purple-soft); color: var(--purple); font-size: 12px; font-weight: 800; }
.ranking-item > span:last-child { color: var(--muted); font-size: 12px; }

.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.table-wrap.embedded { border-radius: 7px; box-shadow: none; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: 11px; color: #596579; text-transform: uppercase; background: #f8fafc; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fbfcfe; }
.actions-column { width: 168px; }
.truncate-cell { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.badge.green { background: #e8f8ef; color: #087a34; }
.badge.red { background: #fdecec; color: #b42318; }
.badge.gray { background: #eef2f7; color: #475467; }
.badge.purple { background: #f0ebff; color: #5d32d4; }
.btn-row, .action-buttons { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 14px; border: 1px solid transparent; border-radius: 7px; background: #fff; color: var(--ink); cursor: pointer; font-weight: 750; line-height: 1.2; }
.btn:hover { filter: brightness(.97); }
.btn.primary { background: var(--purple); color: #fff; }
.btn.positive { background: var(--green); color: #042c13; }
.btn.danger { background: var(--red); color: #fff; }
.btn.secondary { border-color: #cfd8e5; background: #fff; }
.btn.ghost { background: transparent; color: inherit; }
.btn.light { background: #fff; color: var(--navy); }
.btn.large { min-height: 48px; padding: 11px 18px; }
.btn.icon { width: 40px; padding: 0; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border: 1px solid #d5dde8; border-radius: 7px; background: #fff; color: #3c4b62; cursor: pointer; }
.icon-btn:hover { border-color: var(--purple); color: var(--purple); background: #faf8ff; }
.icon-btn.primary { color: #fff; border-color: var(--purple); background: var(--purple); }
.icon-btn.danger { color: var(--red); }
.icon-btn.danger:hover { border-color: var(--red); background: #fff4f3; }
.field { display: grid; gap: 7px; margin-bottom: 13px; min-width: 0; }
.field label { color: #344054; font-weight: 750; font-size: 13px; }
.field small { color: var(--muted); line-height: 1.4; }
.field input, .field select, .field textarea, .pairing-form input { width: 100%; min-height: 42px; border: 1px solid #cfd8e5; border-radius: 7px; padding: 9px 11px; background: #fff; color: var(--ink); outline: none; }
.field input:focus, .field select:focus, .field textarea:focus, .pairing-form input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(105,65,198,.12); }
.field textarea { min-height: 112px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 16px; }
.span-2 { grid-column: span 2; }
.form-panel { margin: 18px 0; }
.narrow-panel { max-width: 940px; }
.form-actions { margin-top: 12px; }
.alert { padding: 12px 14px; border-radius: 7px; margin-bottom: 16px; border: 1px solid var(--line); background: #fff; line-height: 1.45; }
.alert.ok { border-color: #aee5c2; background: #effbf4; color: #086b31; }
.alert.error { border-color: #fac5c0; background: #fff1f0; color: #9f2018; }
.alert.warning { border-color: #fedf89; background: #fffaeb; color: #7a2e0e; }
.empty { min-height: 150px; padding: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; text-align: center; color: var(--muted); }
.empty .icon { color: #98a2b3; }
.empty strong { color: var(--ink); }
.play-guide-hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: 26px; align-items: stretch; margin-top: 18px; padding: 24px; border: 1px solid rgba(255,255,255,.13); border-radius: 8px; background: radial-gradient(circle at 88% 18%, rgba(105,65,198,.44), transparent 34%), linear-gradient(135deg, #101936, #172447); color: #fff; overflow: hidden; }
.play-guide-copy { min-width: 0; display: grid; align-content: center; gap: 14px; }
.play-guide-copy h2 { max-width: 780px; margin: 0; color: #fff; font-size: 34px; line-height: 1.12; }
.play-guide-copy p { max-width: 740px; margin: 0; color: #d6dfef; line-height: 1.62; }
.play-guide-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.play-guide-device { min-height: 285px; display: grid; place-items: center; gap: 12px; padding: 28px; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; background: rgba(255,255,255,.08); text-align: center; }
.play-guide-device img { width: min(310px, 86%); height: auto; }
.play-guide-device strong { font-size: 22px; letter-spacing: .06em; }
.play-guide-device span { color: #d6dfef; }
.play-guide-device b { display: inline-flex; align-items: center; justify-content: center; min-width: 205px; min-height: 80px; padding: 10px 18px; border: 2px solid var(--green); border-radius: 8px; background: rgba(16,25,54,.64); color: #fff; font-size: 46px; line-height: 1; letter-spacing: .08em; }
.play-info-card { display: flex; gap: 14px; align-items: flex-start; min-height: 128px; }
.play-hash { display: block; max-width: 100%; color: #3c4b62; font-size: 12px; line-height: 1.45; word-break: break-all; }
.play-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.play-steps li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 7px; background: #fbfcfe; }
.play-steps b { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--purple); color: #fff; font-size: 13px; }
.play-steps strong { display: block; margin-bottom: 3px; color: var(--navy); }
.play-steps span { color: var(--muted); line-height: 1.52; }
.play-steps a { color: var(--purple); font-weight: 800; }
.play-checklist { display: grid; gap: 12px; }
.play-checklist span { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); line-height: 1.5; }
.play-checklist .icon { margin-top: 2px; color: var(--green-dark); }
.play-link-box { display: grid; gap: 14px; }
.play-link-box code { display: block; padding: 13px; border: 1px solid var(--line); border-radius: 7px; background: #f8fafc; color: #344054; line-height: 1.55; word-break: break-all; }
.money { font-variant-numeric: tabular-nums; font-weight: 800; }
.thumb { width: 56px; aspect-ratio: 1 / 1; border-radius: 7px; background: #edf2f7; object-fit: cover; }
.thumb-video { display: grid; place-items: center; color: var(--purple); }
.preview-box { min-height: 105px; display: grid; place-items: center; border: 1px dashed #b6c2d2; border-radius: 7px; padding: 12px; color: var(--muted); background: #fafbfd; }
.preview-box.compact { min-height: 70px; }
.preview-box img, .preview-box video { max-width: 100%; max-height: 220px; border-radius: 7px; }
.upload-progress { width: 100%; height: 8px; display: none; margin-top: 8px; }
.media-current { height: 220px; display: grid; place-items: center; margin-bottom: 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #f4f7fa; }
.media-current img, .media-current video { width: 100%; height: 100%; object-fit: contain; }
.usage-summary { display: flex; gap: 16px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.usage-summary strong { color: var(--navy); }
.client-cell { display: flex; align-items: center; gap: 10px; }
.client-logo, .client-logo-fallback { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 7px; object-fit: contain; background: #f2f5f8; }
.client-logo-fallback { display: grid; place-items: center; color: var(--purple); font-weight: 800; }
td > small { display: block; margin-top: 4px; color: var(--muted); }

/* Modals */
.modal { width: min(92vw, 560px); max-height: 90vh; padding: 0; border: 0; border-radius: 8px; background: transparent; }
.modal::backdrop { background: rgba(11,18,37,.65); }
.modal-surface { position: relative; padding: 24px; background: #fff; border-radius: 8px; box-shadow: 0 24px 70px rgba(12,20,40,.24); }
.modal-surface h2 { margin: 14px 0 8px; color: var(--navy); }
.modal-surface p { color: var(--muted); line-height: 1.55; }
.modal-close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; background: transparent; color: var(--muted); font-size: 26px; cursor: pointer; }
.modal-danger-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 7px; color: var(--red); background: #fdecec; }
.modal-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 9px; margin-top: 20px; }

/* Existing tools */
.playlist-board { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(320px, 1.2fr); gap: 16px; align-items: start; }
.media-pick, .playlist-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 7px; padding: 10px; background: #fff; margin-bottom: 8px; }
.playlist-drop { min-height: 260px; border: 1px dashed #aab7cc; border-radius: 7px; padding: 10px; background: #fbfdff; }
.modal-box { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 22px; max-width: 680px; }
.stepper { display: inline-grid; grid-template-columns: 40px 72px 40px; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.stepper button, .stepper input { border: 0; min-height: 40px; text-align: center; background: #fff; }
.stepper button { font-size: 22px; cursor: pointer; }
canvas.chart { width: 100%; height: 245px; }
.chart-panel { margin-top: 18px; }
.report-filters { display: grid; grid-template-columns: repeat(6, minmax(120px, 1fr)); gap: 12px; align-items: end; }
.filter-actions { grid-column: span 6; }
.report-metrics { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 18px; }
.report-metrics .metric-value { font-size: 20px; }
.report-metrics .metric-card:first-child .metric-value { overflow-wrap: normal; font-size: 17px; }
.report-metrics .metric-card { min-height: 120px; }
.segmented { width: fit-content; display: inline-flex; padding: 4px; margin-bottom: 16px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.segmented a { min-width: 78px; padding: 8px 13px; border-radius: 5px; text-align: center; color: var(--muted); font-size: 13px; font-weight: 750; }
.segmented a.is-active { color: #fff; background: var(--navy); }
.screens-list { display: grid; gap: 15px; }
.screen-panel { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.screen-summary { min-height: 90px; display: grid; grid-template-columns: 48px minmax(180px, 1fr) auto minmax(135px, auto) auto; gap: 14px; align-items: center; padding: 18px; }
.screen-summary h2, .pairing-block h3 { margin: 0; color: var(--navy); font-size: 17px; }
.screen-summary p, .pairing-block p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.screen-sync { display: grid; gap: 3px; }
.screen-sync span { color: var(--muted); font-size: 11px; }
.screen-sync strong { font-size: 13px; }
.pairing-block { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(260px, .8fr) minmax(260px, .9fr); gap: 20px; align-items: center; padding: 16px 18px; border-top: 1px solid var(--line); background: #f9fbfd; }
.pairing-copy { display: flex; align-items: center; gap: 12px; }
.pairing-form { display: grid; grid-template-columns: minmax(140px, 1fr) auto; gap: 8px; align-items: end; }
.pairing-field { margin-bottom: 0; }
.pairing-form input { text-align: center; text-transform: uppercase; font-size: 18px; font-weight: 800; }
.pairing-status { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
.pairing-status span { display: grid; gap: 4px; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.pairing-status strong { color: var(--ink); font-size: 11px; text-transform: none; }
.pairing-status .status-connected { color: var(--green-dark); }

/* Marketing */
.marketing-body { background: #fff; color: var(--ink); }
.marketing-container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.marketing-nav { position: sticky; top: 0; z-index: 70; height: 72px; border-bottom: 1px solid rgba(16,25,54,.1); background: rgba(255,255,255,.96); }
.nav-inner { height: 100%; display: grid; grid-template-columns: 180px 1fr auto; align-items: center; gap: 24px; }
.marketing-logo img { width: 165px; height: 44px; object-fit: contain; object-position: left center; }
.marketing-links { display: flex; justify-content: center; gap: 26px; }
.marketing-links a { color: #475467; font-size: 14px; font-weight: 700; }
.marketing-links a:hover { color: var(--purple); }
.marketing-actions { display: flex; align-items: center; gap: 5px; }
.marketing-menu-button { display: none; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--navy); }
.marketing-hero { position: relative; height: min(680px, calc(100svh - 180px)); min-height: 520px; display: flex; align-items: center; overflow: hidden; background: var(--navy); color: #fff; }
.hero-visual { position: absolute; inset: 0; background-color: var(--navy); background-image: url('../images/promuve-dashboard-preview.png'); background-repeat: no-repeat; background-position: center; background-size: cover; }
.hero-shade { position: absolute; inset: 0; background: rgba(8,14,32,.72); }
.hero-content { position: relative; z-index: 2; padding-block: 60px; }
.hero-kicker { margin: 0 0 14px; color: #6ee39a; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.hero-content h1 { margin: 0; font-size: 64px; line-height: 1; color: #fff; }
.hero-lead { width: min(760px, 100%); margin: 20px 0 10px; font-size: 31px; font-weight: 750; line-height: 1.2; }
.hero-description { width: min(670px, 100%); margin: 0; color: #d4dbea; font-size: 18px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin-top: 28px; }
.hero-whatsapp { padding: 12px 8px; color: #fff; font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }
.marketing-section { padding: 88px 0; scroll-margin-top: 80px; }
.marketing-heading { max-width: 700px; margin-bottom: 38px; }
.marketing-heading.centered { margin-inline: auto; text-align: center; }
.marketing-heading > span, .marketing-cta span { color: var(--purple); font-size: 12px; font-weight: 850; text-transform: uppercase; }
.marketing-heading h2, .marketing-cta h2 { margin: 8px 0 12px; color: var(--navy); font-size: 38px; line-height: 1.18; }
.marketing-heading p, .marketing-cta p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.steps-section { border-bottom: 1px solid var(--line); }
.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.step-item { position: relative; padding: 2px 10px 0 0; }
.step-number { position: absolute; top: 0; right: 10px; color: #dfe5ef; font-size: 50px; font-weight: 850; line-height: 1; }
.step-item h3, .feature-item h3, .plan-card h3, .plans-empty h3 { margin: 17px 0 8px; color: var(--navy); font-size: 19px; }
.step-item p, .feature-item p, .plans-empty p { margin: 0; color: var(--muted); line-height: 1.55; }
.features-section { background: #f6f8fb; }
.features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-item { min-height: 230px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.segment-layout { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(400px, 1.2fr); gap: 70px; align-items: center; }
.segment-layout .marketing-heading { margin: 0; }
.segment-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.segment-list span { min-height: 56px; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid var(--line); color: #344054; font-weight: 700; }
.segment-list .icon { color: var(--green-dark); }
.plans-section { background: #f6f8fb; }
.plans-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.plan-card.featured { border: 2px solid var(--purple); }
.plan-featured { position: absolute; top: -14px; right: 16px; padding: 6px 10px; border-radius: 999px; background: var(--purple); color: #fff; font-size: 11px; font-weight: 800; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 12px 0 20px; }
.plan-price strong { color: var(--navy); font-size: 30px; }
.plan-price span { color: var(--muted); }
.plan-card ul { display: grid; gap: 12px; margin: 0 0 25px; padding: 0; list-style: none; }
.plan-card li { display: flex; align-items: center; gap: 8px; color: #475467; }
.plan-card li .icon { color: var(--green-dark); }
.plan-card .btn { margin-top: auto; }
.plans-empty { max-width: 860px; display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; gap: 20px; align-items: center; margin: 0 auto; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.plans-empty h3 { margin-top: 0; }
.marketing-cta { padding: 66px 0; background: var(--navy); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.marketing-cta span { color: #6ee39a; }
.marketing-cta h2 { color: #fff; }
.marketing-cta p { color: #c4cde0; }
.marketing-footer { padding: 58px 0 20px; background: #0b1228; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 42px; }
.footer-grid > div { display: grid; align-content: start; gap: 10px; }
.footer-grid img { width: 210px; }
.footer-grid p, .footer-grid a { color: #b4bfd3; }
.footer-grid p { margin: 0; }
.footer-grid a:hover { color: #fff; }
.footer-socials { display: flex; gap: 9px; margin-top: 4px; }
.social-link { width: 38px; height: 38px; display: inline-grid; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: rgba(255,255,255,.06); color: #fff; }
.social-link:hover { background: rgba(255,255,255,.14); color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #8f9bb3; font-size: 12px; }
.floating-whatsapp { position: fixed; right: 20px; bottom: 20px; z-index: 60; min-height: 46px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 24px; background: var(--green); color: #042c13; font-weight: 850; box-shadow: 0 10px 24px rgba(0,75,28,.24); }
.download-hero { padding: 88px 0 76px; background: linear-gradient(135deg, #101936 0%, #172345 64%, #101936 100%); color: #fff; overflow: hidden; }
.download-hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr); gap: 58px; align-items: center; }
.download-hero-copy h1 { width: min(760px, 100%); margin: 0 0 18px; color: #fff; font-size: 52px; line-height: 1.08; }
.download-meta, .download-helper { margin: 16px 0 0; color: #c4cde0; font-size: 14px; }
.download-helper a { color: #6ee39a; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.play-showcase { display: grid; justify-items: center; gap: 12px; }
.tv-frame { width: min(100%, 520px); padding: 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 22px; background: #0b1228; box-shadow: 0 26px 80px rgba(0,0,0,.28); }
.tv-screen { min-height: 315px; display: grid; align-content: center; justify-items: center; gap: 14px; padding: 34px; border-radius: 14px; background: #111a36; text-align: center; }
.tv-screen img { width: min(320px, 88%); }
.tv-screen strong { color: #fff; font-size: 30px; letter-spacing: .02em; }
.tv-screen span { color: #d4dbea; font-size: 15px; }
.pair-code { padding: 13px 28px; border: 2px solid var(--green); border-radius: 8px; background: rgba(255,255,255,.08); color: #fff; font-size: 50px; font-weight: 900; letter-spacing: .08em; }
.tv-base { width: 160px; height: 14px; border-radius: 999px; background: rgba(255,255,255,.2); }
.intro-grid, .compatibility-grid, .install-grid { display: grid; grid-template-columns: minmax(280px, .75fr) minmax(420px, 1.25fr); gap: 56px; align-items: center; }
.flow-line, .pair-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.flow-line span, .pair-flow span { min-height: 54px; display: inline-flex; align-items: center; gap: 9px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--navy); font-weight: 800; }
.flow-line i, .pair-flow i { width: 28px; height: 2px; background: #c8d2e3; }
.compatibility-card { padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.compatibility-note { margin: 18px 0 0; color: var(--muted); line-height: 1.6; }
.download-main-section { background: #f6f8fb; }
.download-card { display: grid; grid-template-columns: 72px minmax(280px, 1fr) minmax(280px, .85fr); gap: 24px; align-items: center; padding: 30px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.android-badge { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 16px; background: #e8fff0; color: var(--green-dark); }
.download-card h2, .benefit-card h2 { margin: 8px 0 10px; color: var(--navy); font-size: 34px; line-height: 1.18; }
.download-card p, .benefit-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.download-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hash-box { display: grid; gap: 8px; padding: 18px; border: 1px solid #d9e2ef; border-radius: 8px; background: #f9fbfe; }
.hash-box strong { color: var(--navy); }
.hash-box code { color: #344054; font-size: 12px; line-height: 1.55; word-break: break-all; }
.hash-box span { color: var(--muted); font-size: 13px; line-height: 1.5; }
.install-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: install; }
.install-list li { counter-increment: install; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.install-list li::before { content: counter(install); width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--purple); color: #fff; font-weight: 900; }
.install-list strong, .install-list span { grid-column: 2; }
.install-list strong { color: var(--navy); }
.install-list span { color: var(--muted); line-height: 1.55; }
.pairing-visual-section { background: #f6f8fb; }
.pair-flow { justify-content: center; }
.pair-flow .pair-flow-code { border-color: var(--green); background: #101936; color: #fff; letter-spacing: .08em; }
.benefit-section { padding-top: 0; }
.benefit-card { display: flex; justify-content: space-between; gap: 28px; align-items: center; padding: 30px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.benefit-card > div { max-width: 680px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.faq-list summary { cursor: pointer; padding: 18px 20px; color: var(--navy); font-weight: 850; }
.faq-list p { margin: 0; padding: 0 20px 20px; color: var(--muted); line-height: 1.6; }

@media (max-width: 1180px) {
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .report-filters { grid-template-columns: repeat(3, minmax(140px, 1fr)); }
  .filter-actions { grid-column: span 3; }
  .screen-summary { grid-template-columns: 48px minmax(180px, 1fr) auto auto; }
  .screen-sync { display: none; }
  .pairing-block { grid-template-columns: 1fr 1fr; }
  .pairing-status { grid-column: span 2; }
  .marketing-links { gap: 16px; }
  .download-hero-grid, .download-card { grid-template-columns: 1fr; }
  .intro-grid, .compatibility-grid, .install-grid { grid-template-columns: 1fr; }
  .play-guide-hero { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .sidebar { width: min(86vw, 300px); transform: translateX(-101%); box-shadow: 20px 0 45px rgba(8,14,32,.25); }
  .app-shell.is-collapsed .sidebar { width: min(86vw, 300px); }
  .app-shell.is-mobile-open .sidebar { transform: translateX(0); }
  .sidebar-collapse { display: none; }
  .sidebar-close { display: inline-grid; }
  .sidebar-logo .logo-full, .app-shell.is-collapsed .logo-full { display: block; }
  .sidebar-logo .logo-mark, .app-shell.is-collapsed .logo-mark { display: none; }
  .app-shell.is-collapsed .sidebar-logo { justify-content: flex-start; padding: 6px 8px; }
  .app-shell.is-collapsed .nav-link { justify-content: flex-start; padding: 10px 12px; }
  .app-shell.is-collapsed .nav-link span, .app-shell.is-collapsed .nav-title, .app-shell.is-collapsed .account-copy { display: initial; }
  .app-shell.is-collapsed .account-copy { display: grid; }
  .app-shell.is-collapsed .sidebar-account { grid-template-columns: 38px minmax(0,1fr) 38px; }
  .app-shell.is-collapsed .sidebar-account form { grid-column: auto; }
  .sidebar-overlay { position: fixed; inset: 0; z-index: 35; border: 0; background: rgba(8,14,32,.55); }
  .app-shell.is-mobile-open .sidebar-overlay { display: block; }
  .main, .app-shell.is-collapsed .main { margin-left: 0; }
  .mobile-menu-button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; margin: 14px 16px 0; padding: 8px 12px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--navy); font-weight: 750; }
  .content { padding: 18px 16px 28px; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4, .playlist-board { grid-template-columns: 1fr; }
  .page-head { flex-direction: column; }
  .screen-summary { grid-template-columns: 42px minmax(0, 1fr) auto; }
  .screen-summary > .badge { grid-column: 3; grid-row: 1; }
  .screen-summary > .action-buttons { grid-column: 2 / 4; }
  .pairing-block { grid-template-columns: 1fr; }
  .pairing-status { grid-column: auto; }
  .pairing-status { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .marketing-nav { height: 64px; }
  .nav-inner { grid-template-columns: 1fr auto; }
  .marketing-logo img { width: 150px; }
  .marketing-menu-button { display: grid; }
  .marketing-links { position: absolute; top: 64px; left: 0; right: 0; display: none; flex-direction: column; gap: 0; padding: 10px 20px 18px; border-bottom: 1px solid var(--line); background: #fff; }
  .marketing-links.is-open { display: flex; }
  .marketing-links a { padding: 12px 0; border-bottom: 1px solid #edf1f5; }
  .marketing-actions { display: none; }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .segment-layout { grid-template-columns: 1fr; gap: 35px; }
  .plans-grid { grid-template-columns: 1fr; }
  .download-hero { padding: 62px 0 58px; }
  .download-hero-copy h1 { font-size: 40px; }
  .download-card { padding: 22px; }
  .benefit-card { flex-direction: column; align-items: flex-start; }
  .flow-line i, .pair-flow i { display: none; }
  .play-guide-copy h2 { font-size: 29px; }
  .play-guide-actions .btn { width: 100%; }
}

@media (max-width: 640px) {
  .auth-page, .install-page { padding: 12px; }
  .auth-card, .install-card { padding: 20px; }
  .page-title { font-size: 26px; }
  .form-grid, .metric-grid, .metric-grid.compact-grid, .report-metrics, .compact-stats { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .metric-card { min-height: 112px; }
  .report-filters { grid-template-columns: 1fr; }
  .filter-actions { grid-column: auto; }
  .ranking-item { grid-template-columns: 32px minmax(0, 1fr); }
  .ranking-item > span:last-child { grid-column: 2; }
  .usage-summary { flex-direction: column; gap: 7px; }
  .screen-summary { grid-template-columns: 40px minmax(0, 1fr); }
  .screen-summary > .badge { grid-column: 2; grid-row: auto; width: fit-content; }
  .screen-summary > .action-buttons { grid-column: 1 / 3; }
  .pairing-form { grid-template-columns: 1fr; }
  .pairing-status { grid-template-columns: 1fr; }
  .segmented { width: 100%; }
  .segmented a { min-width: 0; flex: 1; }
  .modal-actions .btn { width: 100%; }
  .marketing-container { width: min(100% - 28px, 1160px); }
  .marketing-hero { height: min(600px, calc(100svh - 180px)); min-height: 500px; }
  .hero-content { padding-block: 22px; }
  .hero-content h1 { font-size: 44px; }
  .hero-lead { margin-top: 14px; font-size: 23px; }
  .hero-description { font-size: 15px; line-height: 1.5; }
  .hero-actions { margin-top: 18px; gap: 8px; }
  .hero-actions .btn { width: 100%; }
  .hero-whatsapp { width: 100%; text-align: center; }
  .marketing-section { padding: 64px 0; }
  .steps-section { padding-top: 34px; }
  .marketing-heading h2, .marketing-cta h2 { font-size: 30px; }
  .steps-grid, .features-grid { grid-template-columns: 1fr; }
  .feature-item { min-height: 190px; }
  .segment-list { grid-template-columns: 1fr; }
  .plans-empty { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
  .floating-whatsapp { right: 14px; bottom: 14px; }
  .download-hero-copy h1 { font-size: 32px; }
  .tv-frame { padding: 10px; border-radius: 16px; }
  .tv-screen { min-height: 250px; padding: 22px; }
  .tv-screen strong { font-size: 23px; }
  .pair-code { width: 100%; padding-inline: 12px; font-size: 34px; }
  .download-card h2, .benefit-card h2 { font-size: 28px; }
  .play-guide-hero { padding: 18px; }
  .play-guide-device { min-height: 240px; padding: 18px; }
  .play-guide-device b { min-width: 0; width: 100%; font-size: 36px; }
  .play-info-card { flex-direction: column; }
  .play-link-box .btn { width: 100%; }
  .download-actions .btn { width: 100%; }
  .hash-box { min-width: 0; }
  .install-list li { grid-template-columns: 36px minmax(0, 1fr); padding: 16px; }
  .install-list li::before { width: 34px; height: 34px; }
  .pair-flow { justify-content: stretch; }
  .pair-flow span, .flow-line span { width: 100%; justify-content: center; }
}

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

/* Premium authenticated panel */
.panel-body {
  --navy: #121a30;
  --navy-2: #1c2742;
  --purple: #6842c2;
  --purple-soft: #f2effb;
  --green: #16b95c;
  --green-dark: #08783a;
  --teal: #0d9294;
  --red: #d43c32;
  --amber: #a75812;
  --ink: #182033;
  --muted: #667085;
  --line: #dfe5ee;
  --line-strong: #cbd4e1;
  --bg: #f4f6f9;
  --card: #ffffff;
  --card-soft: #f9fafc;
  --field: #ffffff;
  --hover: #f6f7fa;
  --shadow-soft: 0 1px 2px rgba(16, 24, 40, .03), 0 8px 24px rgba(16, 24, 40, .035);
  background: var(--bg);
}
html[data-theme="dark"] .panel-body {
  color-scheme: dark;
  --navy: #f2f5fb;
  --navy-2: #cfd8e8;
  --purple: #a78bfa;
  --purple-soft: #2b2346;
  --green: #36d579;
  --green-dark: #6ce89b;
  --teal: #50c9c9;
  --red: #ff837a;
  --amber: #ffc06a;
  --ink: #edf1f8;
  --muted: #a4afc0;
  --line: #2b3549;
  --line-strong: #3a465d;
  --bg: #0d1423;
  --card: #141d2e;
  --card-soft: #182235;
  --field: #101827;
  --hover: #1b263a;
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, .22), 0 10px 28px rgba(0, 0, 0, .12);
}
.panel-body :focus-visible { outline: 3px solid color-mix(in srgb, var(--purple) 38%, transparent); outline-offset: 2px; }
.panel-body .sidebar { background: #10182d; border-right: 1px solid rgba(255,255,255,.07); }
.panel-body .nav-link { min-height: 42px; font-size: 14px; }
.panel-body .nav-link.nav-play { background: rgba(22,185,92,.11); border-color: rgba(84,220,139,.16); border-left-color: #28cf70; }
.panel-body .nav-link.nav-play:hover, .panel-body .nav-link.nav-play.is-active { background: rgba(22,185,92,.19); }
.panel-header { position: sticky; top: 0; z-index: 30; min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 10px 30px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--card) 94%, transparent); backdrop-filter: blur(14px); }
.panel-header-leading, .panel-header-actions { display: flex; align-items: center; gap: 14px; min-width: 0; }
.panel-context { min-width: 0; display: grid; gap: 2px; }
.panel-context span { overflow: hidden; color: var(--muted); font-size: 11px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.panel-context strong { overflow: hidden; color: var(--ink); font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.panel-theme-switcher { display: inline-grid; grid-template-columns: repeat(3, auto); gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 7px; background: var(--card-soft); }
.panel-theme-switcher button { min-height: 32px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; border: 0; border-radius: 5px; background: transparent; color: var(--muted); cursor: pointer; font-size: 11px; font-weight: 750; }
.panel-theme-switcher button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(16,24,40,.1); }
.panel-theme-switcher .icon { width: 15px; height: 15px; }
.panel-account-link { min-width: 0; display: flex; align-items: center; gap: 9px; padding: 4px 7px; border-radius: 7px; }
.panel-account-link:hover { background: var(--hover); }
.panel-account-link > span:last-child { min-width: 0; display: grid; }
.panel-account-link strong, .panel-account-link small { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel-account-link strong { color: var(--ink); font-size: 12px; }
.panel-account-link small { color: var(--muted); font-size: 10px; }
.panel-header .account-avatar { width: 34px; height: 34px; background: var(--purple-soft); color: var(--purple); }
.panel-body .content { width: min(100%, 1580px); padding: 28px 30px 44px; }
.panel-body .page-head { align-items: center; margin-bottom: 22px; }
.panel-body .page-title { font-size: 28px; letter-spacing: 0; }
.panel-body .page-subtitle { max-width: 780px; font-size: 14px; }
.panel-body .card, .panel-body .metric-card, .panel-body .table-wrap, .panel-body .screen-panel, .panel-body .modal-box { background: var(--card); border-color: var(--line); box-shadow: var(--shadow-soft); }
.panel-body .card h2, .panel-body .section-heading h2, .panel-body .screen-summary h2, .panel-body .pairing-block h3, .panel-body .metric-value, .panel-body .compact-stats strong, .panel-body .capacity-value strong, .panel-body .usage-summary strong, .panel-body .modal-surface h2 { color: var(--navy); }
.panel-body .metric-grid { gap: 14px; }
.panel-body .metric-card { min-height: 126px; padding: 17px; }
.panel-body .metric-card::before { width: 3px; }
.panel-body .metric-value { font-size: 25px; font-variant-numeric: tabular-nums; }
.panel-body .compact-stats { background: var(--line); border-color: var(--line); }
.panel-body .compact-stats div, .panel-body .feature-item { background: var(--card); }
.panel-body .btn, .panel-body .icon-btn { background: var(--card); color: var(--ink); border-color: var(--line-strong); }
.panel-body .btn:hover, .panel-body .icon-btn:hover { background: var(--hover); }
.panel-body .btn.primary, .panel-body .icon-btn.primary { border-color: #6842c2; background: #6842c2; color: #fff; }
.panel-body .btn.positive { border-color: #16b95c; background: #16b95c; color: #052b15; }
.panel-body .btn.danger { border-color: #d43c32; background: #d43c32; color: #fff; }
.panel-body .icon-btn.danger { color: var(--red); background: var(--card); }
.panel-body .field label { color: var(--ink); }
.panel-body .field input, .panel-body .field select, .panel-body .field textarea, .panel-body .pairing-form input, .panel-body .toolbar-form input, .panel-body .toolbar-form select, .panel-body .search-field input, .panel-body .playlist-item input { border: 1px solid var(--line-strong); background: var(--field); color: var(--ink); }
.panel-body :is(input, select, textarea)::placeholder { color: color-mix(in srgb, var(--muted) 78%, transparent); }
.panel-body th { background: var(--card-soft); color: var(--muted); }
.panel-body th, .panel-body td { border-color: var(--line); }
.panel-body tbody tr:hover { background: var(--hover); }
.panel-body .alert { background: var(--card); border-color: var(--line); }
.panel-body .alert.ok { background: color-mix(in srgb, var(--green) 10%, var(--card)); color: var(--green-dark); }
.panel-body .alert.error { background: color-mix(in srgb, var(--red) 10%, var(--card)); color: var(--red); }
.panel-body .alert.warning { background: color-mix(in srgb, var(--amber) 10%, var(--card)); color: var(--amber); }
.panel-body .modal-surface { background: var(--card); }
.panel-body .modal-surface p { color: var(--muted); }
.panel-body .badge.green { background: color-mix(in srgb, var(--green) 13%, var(--card)); color: var(--green-dark); }
.panel-body .badge.red { background: color-mix(in srgb, var(--red) 13%, var(--card)); color: var(--red); }
.panel-body .badge.gray { background: var(--card-soft); color: var(--muted); border: 1px solid var(--line); }
.panel-body .badge.purple { background: var(--purple-soft); color: var(--purple); }
.panel-body .section-icon, .panel-body .metric-icon, .panel-body .screen-icon { background: color-mix(in srgb, var(--teal) 10%, var(--card)); }
.panel-body .section-icon.purple, .panel-body .metric-card.tone-purple .metric-icon { background: var(--purple-soft); }
.panel-body .section-icon.green, .panel-body .metric-card.tone-green .metric-icon { background: color-mix(in srgb, var(--green) 11%, var(--card)); }
.panel-body .metric-card.tone-red .metric-icon { background: color-mix(in srgb, var(--red) 11%, var(--card)); }
.panel-body .metric-card.tone-teal .metric-icon { background: color-mix(in srgb, var(--teal) 10%, var(--card)); }
.panel-body .capacity-bar { background: var(--card-soft); }
.panel-body .preview-box, .panel-body .media-current, .panel-body .client-logo, .panel-body .client-logo-fallback, .panel-body .play-steps li, .panel-body .play-link-box code { background: var(--card-soft); border-color: var(--line); color: var(--muted); }
.panel-body .play-steps strong, .panel-body .play-link-box code { color: var(--ink); }
.panel-body .stepper button, .panel-body .stepper input { background: var(--field); color: var(--ink); }
.panel-toolbar { margin-bottom: 16px; padding: 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); box-shadow: var(--shadow-soft); }
.toolbar-form { display: grid; grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(140px, .7fr)) auto; gap: 9px; align-items: center; }
.toolbar-form label { min-width: 0; }
.toolbar-form input, .toolbar-form select { width: 100%; min-height: 40px; padding: 8px 10px; border-radius: 7px; }
.search-field { position: relative; display: flex; align-items: center; min-width: 0; }
.search-field > .icon { position: absolute; left: 11px; z-index: 1; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search-field input { width: 100%; min-height: 40px; padding: 8px 10px 8px 37px; border-radius: 7px; }
.toolbar-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 11px; padding-top: 11px; border-top: 1px solid var(--line); }
.toolbar-footer .segmented { margin: 0; }
.panel-body .segmented { background: var(--card-soft); border-color: var(--line); }
.panel-body .segmented a.is-active { background: var(--navy-2); color: var(--card); }
.view-switcher { display: inline-flex; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 7px; background: var(--card-soft); }
.view-switcher button { width: 34px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 5px; background: transparent; color: var(--muted); cursor: pointer; }
.view-switcher button[aria-pressed="true"] { background: var(--card); color: var(--purple); box-shadow: 0 1px 3px rgba(16,24,40,.1); }
.results-count { color: var(--muted); font-size: 12px; font-weight: 700; }
.screen-summary { grid-template-columns: 48px minmax(220px, 1fr) auto minmax(135px, auto) auto; }
.screen-meta { display: flex; flex-wrap: wrap; gap: 5px 12px; margin-top: 8px; color: var(--muted); font-size: 11px; }
.screen-meta span { position: relative; }
.screen-meta span + span::before { content: ""; position: absolute; left: -7px; top: 5px; width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }
.screen-badges { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.panel-body .pairing-block { background: var(--card-soft); border-color: var(--line); }
.screens-list.is-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.screens-list.is-grid .screen-summary { grid-template-columns: 48px minmax(0, 1fr) auto; }
.screens-list.is-grid .screen-sync { grid-column: 2; }
.screens-list.is-grid .screen-summary > .action-buttons { grid-column: 2 / 4; }
.screens-list.is-grid .pairing-block { grid-template-columns: 1fr; }
.screens-list.is-grid .pairing-status { grid-column: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.status-dot.danger { background: var(--red); }
.attention-panel .section-heading { margin-bottom: 10px; }
.attention-item { min-height: 58px; display: grid; grid-template-columns: 9px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 4px; border-bottom: 1px solid var(--line); }
.attention-item:last-child { border-bottom: 0; }
.attention-item > span:nth-child(2) { min-width: 0; display: grid; gap: 3px; }
.attention-item small { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.attention-item > .icon { color: var(--muted); }
.empty.compact { min-height: 105px; padding: 16px; }
.chart-text { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.chart-text span { display: inline-flex; gap: 6px; padding: 5px 7px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: 11px; }
.chart-text strong { color: var(--ink); }
.quick-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.quick-actions a { min-height: 72px; display: flex; align-items: center; gap: 11px; padding: 12px; border: 1px solid var(--line); border-radius: 7px; }
.quick-actions a:hover { background: var(--hover); border-color: var(--line-strong); }
.quick-actions a > .icon { color: var(--purple); }
.quick-actions a > span { display: grid; gap: 3px; }
.quick-actions small { color: var(--muted); }
.upload-drop { position: relative; min-height: 126px; align-content: center; padding: 16px; border: 1px dashed var(--line-strong); border-radius: 8px; background: var(--card-soft); transition: border-color .15s ease, background .15s ease; }
.upload-drop.is-dragging { border-color: var(--purple); background: var(--purple-soft); }
.upload-drop > label { position: absolute; inset: 0; cursor: pointer; opacity: 0; }
.upload-drop input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-drop > div { display: grid; justify-items: center; gap: 5px; color: var(--muted); text-align: center; pointer-events: none; }
.upload-drop > div .icon { color: var(--purple); }
.upload-drop > div strong { color: var(--ink); }
.upload-status { display: flex; align-items: center; gap: 10px; margin-top: 8px; color: var(--muted); font-size: 12px; }
.upload-progress { flex: 1; accent-color: var(--purple); }
.media-toolbar .toolbar-form { grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(130px, .7fr)); }
.media-library .thumb { width: 62px; }
.media-library.is-grid { overflow: visible; background: transparent; border: 0; box-shadow: none; }
.media-library.is-grid table, .media-library.is-grid tbody { display: block; min-width: 0; }
.media-library.is-grid thead { display: none; }
.media-library.is-grid tbody { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.media-library.is-grid tr[data-media-item] { min-width: 0; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 6px 12px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); box-shadow: var(--shadow-soft); }
.media-library.is-grid tr[data-media-item][hidden] { display: none; }
.media-library.is-grid tr[data-media-item] td { display: flex; align-items: center; gap: 8px; padding: 4px 0; border: 0; font-size: 12px; }
.media-library.is-grid tr[data-media-item] td::before { content: attr(data-label); min-width: 70px; color: var(--muted); font-size: 10px; font-weight: 750; text-transform: uppercase; }
.media-library.is-grid tr[data-media-item] td:nth-child(n+3):not(:last-child) { display: grid; align-content: start; gap: 3px; }
.media-library.is-grid tr[data-media-item] td:nth-child(n+3):not(:last-child)::before { min-width: 0; }
.media-library.is-grid tr[data-media-item] td:first-child { grid-row: span 2; align-items: flex-start; }
.media-library.is-grid tr[data-media-item] td:first-child::before, .media-library.is-grid tr[data-media-item] td:nth-child(2)::before { display: none; }
.media-library.is-grid tr[data-media-item] td:nth-child(2) { align-content: center; display: grid; }
.media-library.is-grid tr[data-media-item] td:last-child { grid-column: 1 / -1; padding-top: 10px; border-top: 1px solid var(--line); }
.media-library.is-grid tr[data-media-item] td:last-child::before { display: none; }
.media-library.is-grid .thumb { width: 88px; }
.playlist-page-status { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.playlist-board { grid-template-columns: minmax(300px, .72fr) minmax(520px, 1.28fr); gap: 18px; }
.playlist-library { position: sticky; top: 88px; max-height: calc(100vh - 116px); overflow: hidden; }
.playlist-search { margin-bottom: 12px; }
.playlist-library-list { max-height: calc(100vh - 300px); overflow-y: auto; padding-right: 3px; }
.panel-body .media-pick, .panel-body .playlist-item { background: var(--card); border-color: var(--line); }
.media-pick > div:nth-child(2) { min-width: 0; display: grid; gap: 4px; }
.media-pick strong, .media-pick span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.media-pick span { color: var(--muted); font-size: 11px; }
.playlist-sync-note { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; padding: 10px 12px; border: 1px solid color-mix(in srgb, var(--teal) 28%, var(--line)); border-radius: 7px; background: color-mix(in srgb, var(--teal) 7%, var(--card)); color: var(--muted); font-size: 12px; }
.playlist-sync-note .icon { color: var(--teal); }
.panel-body .playlist-drop { min-height: 300px; padding: 8px; background: var(--card-soft); border-color: var(--line-strong); }
.playlist-item { grid-template-columns: 30px minmax(0, 1fr) auto; align-items: start; padding: 12px; }
.playlist-item[draggable="true"] { cursor: grab; }
.playlist-item[draggable="true"]:active { cursor: grabbing; }
.playlist-grip { min-height: 40px; display: grid; place-items: center; color: var(--muted); }
.playlist-item-content { min-width: 0; display: grid; gap: 4px; }
.playlist-item-content > span { color: var(--muted); font-size: 11px; }
.playlist-item-fields { display: grid; grid-template-columns: minmax(90px, .72fr) minmax(150px, 1fr) minmax(150px, 1fr); gap: 8px; margin-top: 8px; }
.playlist-item-fields label { display: grid; gap: 4px; color: var(--muted); font-size: 10px; font-weight: 700; }
.playlist-item-fields input { width: 100%; min-height: 36px; padding: 6px 8px; border-radius: 6px; }
.playlist-item-actions { display: flex; gap: 5px; }
.playlist-item-actions .icon-btn { width: 34px; height: 34px; }
.check-field { display: flex; align-items: center; gap: 7px; margin-top: 6px; color: var(--ink); font-size: 12px; }
.playlist-empty-state { min-height: 180px; display: grid; place-items: center; align-content: center; gap: 6px; color: var(--muted); text-align: center; }
.playlist-empty-state[hidden] { display: none; }
.playlist-empty-state strong { color: var(--ink); }
.panel-body canvas.chart { min-height: 245px; }

@media (max-width: 1240px) {
  .toolbar-form, .media-toolbar .toolbar-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .toolbar-form .search-field { grid-column: span 2; }
  .screens-list.is-grid { grid-template-columns: 1fr; }
  .media-library.is-grid tbody { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .playlist-board { grid-template-columns: minmax(280px, .8fr) minmax(440px, 1.2fr); }
}
@media (max-width: 900px) {
  .panel-header { min-height: 64px; padding: 9px 16px; }
  .panel-header .mobile-menu-button { width: 40px; height: 40px; display: grid; place-items: center; margin: 0; padding: 0; }
  .panel-theme-switcher button span, .panel-account-link > span:last-child { display: none; }
  .panel-body .content { padding: 20px 16px 34px; }
  .toolbar-form, .media-toolbar .toolbar-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toolbar-form .search-field { grid-column: span 2; }
  .playlist-board { grid-template-columns: 1fr; }
  .playlist-library { position: static; max-height: none; }
  .playlist-library-list { max-height: 420px; }
  .playlist-item-fields { grid-template-columns: 1fr 1fr; }
  .playlist-item-fields label:first-child { grid-column: span 2; }
}
@media (max-width: 640px) {
  .panel-header { gap: 8px; }
  .panel-context span { display: none; }
  .panel-context strong { max-width: 120px; }
  .panel-account-link { display: none; }
  .panel-body .page-head { align-items: stretch; }
  .panel-body .page-head .btn-row, .panel-body .page-head > .btn { width: 100%; }
  .panel-body .page-head .btn { flex: 1; }
  .screen-summary .screen-badges { grid-column: 2; justify-content: flex-start; }
  .toolbar-form, .media-toolbar .toolbar-form { grid-template-columns: 1fr; }
  .toolbar-form .search-field { grid-column: auto; }
  .toolbar-footer { align-items: stretch; flex-direction: column; }
  .toolbar-footer .segmented { width: 100%; }
  .toolbar-footer .view-switcher { align-self: flex-end; }
  .media-library.is-grid tbody { grid-template-columns: 1fr; }
  .media-library.is-grid tr[data-media-item] { grid-template-columns: 72px minmax(0, 1fr); }
  .media-library.is-grid .thumb { width: 72px; }
  .playlist-item { grid-template-columns: 24px minmax(0, 1fr); }
  .playlist-item-actions { grid-column: 2; }
  .playlist-item-fields { grid-template-columns: 1fr; }
  .playlist-item-fields label:first-child { grid-column: auto; }
  .quick-actions { grid-template-columns: 1fr; }
  .chart-text { max-height: 120px; overflow-y: auto; }
}

/* Premium backend UI/UX 2.0 */
.panel-body {
  --sidebar-width: 238px;
  --sidebar-collapsed: 72px;
  --navy: #111b31;
  --navy-2: #19243d;
  --purple: #6558e8;
  --purple-soft: #efedff;
  --green: #12b76a;
  --green-dark: #087a49;
  --teal: #0ba7a2;
  --red: #d92d20;
  --amber: #dc6803;
  --ink: #152238;
  --muted: #66758b;
  --line: #e4eaf1;
  --line-strong: #ced8e5;
  --bg: #f4f8fb;
  --card: #ffffff;
  --card-soft: #f7f9fc;
  --field: #ffffff;
  --hover: #f1f6f8;
  --mint: #e4fbf1;
  --shadow-soft: 0 1px 2px rgba(16, 30, 54, .03), 0 10px 28px rgba(34, 74, 103, .05);
  min-width: 0;
}
html[data-theme="dark"] .panel-body {
  --navy: #f4f7fb;
  --navy-2: #dce5f1;
  --purple: #a89cff;
  --purple-soft: #29294a;
  --green: #35d889;
  --green-dark: #68e8a6;
  --teal: #4cd6d0;
  --red: #ff867d;
  --amber: #ffc16b;
  --ink: #edf3fa;
  --muted: #9eacbf;
  --line: #28364a;
  --line-strong: #3a4a61;
  --bg: #0c1422;
  --card: #121d2d;
  --card-soft: #172438;
  --field: #0f1928;
  --hover: #1a293e;
  --mint: #123b31;
}
.panel-body [hidden] { display: none !important; }
.panel-body .sidebar {
  background: var(--card);
  color: var(--ink);
  border-right: 1px solid var(--line);
  padding: 14px 10px 12px;
  box-shadow: 8px 0 30px rgba(31, 62, 87, .03);
}
.panel-body .sidebar-head { min-height: 58px; padding: 0 3px 12px; border-color: var(--line); }
.panel-body .sidebar-logo { min-height: 44px; padding: 5px 7px; }
.panel-body .sidebar-logo .logo-full { width: 166px; height: 38px; }
.panel-body .logo-on-dark { display: none; }
html[data-theme="dark"] .panel-body .logo-on-light { display: none; }
html[data-theme="dark"] .panel-body .logo-on-dark { display: block; }
.panel-body .sidebar-collapse, .panel-body .sidebar-close, .panel-body .nav-logout {
  background: var(--card-soft);
  color: var(--muted);
  border: 1px solid var(--line);
}
.panel-body .sidebar-collapse:hover, .panel-body .sidebar-close:hover, .panel-body .nav-logout:hover { background: var(--hover); color: var(--ink); }
.panel-body .nav-section { padding: 12px 0; gap: 3px; }
.panel-body .nav-title { padding: 17px 12px 6px; color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.panel-body .nav-link {
  min-height: 40px;
  gap: 11px;
  padding: 9px 11px;
  border: 1px solid transparent;
  border-left: 1px solid transparent;
  border-radius: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}
.panel-body .nav-link .icon { width: 17px; height: 17px; }
.panel-body .nav-link:hover { background: var(--hover); color: var(--ink); }
.panel-body .nav-link.is-active,
.panel-body .nav-link.nav-play,
.panel-body .nav-link.nav-play:hover,
.panel-body .nav-link.nav-play.is-active { background: var(--mint); color: var(--green-dark); border-color: color-mix(in srgb, var(--green) 14%, var(--line)); }
.panel-body .sidebar-account { border-color: var(--line); color: var(--ink); }
.panel-body .sidebar-account strong { color: var(--ink); }
.panel-body .sidebar-account span { color: var(--muted); }
.panel-body .account-avatar { background: var(--mint); color: var(--green-dark); }
.panel-body .app-shell.is-collapsed .nav-link { justify-content: center; padding-inline: 8px; }
.panel-body .app-shell.is-collapsed .logo-on-light,
.panel-body .app-shell.is-collapsed .logo-on-dark { display: none; }
.panel-body .app-shell.is-collapsed .logo-mark { display: block; }

.panel-header {
  min-height: 72px;
  gap: 18px;
  padding: 10px 24px;
  background: color-mix(in srgb, var(--card) 96%, transparent);
  border-color: var(--line);
  box-shadow: 0 1px 0 rgba(26, 55, 78, .02);
}
.panel-header-leading { flex: 0 1 200px; }
.panel-context span { color: var(--muted); font-size: 10px; }
.panel-context strong { color: var(--ink); font-size: 14px; }
.panel-global-search { position: relative; flex: 1 1 430px; max-width: 520px; }
.panel-global-search > label { position: relative; display: flex; align-items: center; }
.panel-global-search > label .icon { position: absolute; left: 13px; width: 17px; height: 17px; color: var(--muted); pointer-events: none; }
.panel-global-search input { width: 100%; min-height: 40px; padding: 9px 14px 9px 40px; border: 1px solid var(--line); border-radius: 8px; background: var(--card-soft); color: var(--ink); }
.panel-global-search input:focus { border-color: color-mix(in srgb, var(--teal) 55%, var(--line)); background: var(--card); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 10%, transparent); outline: 0; }
.panel-search-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 60; max-height: 360px; overflow-y: auto; padding: 7px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); box-shadow: 0 18px 45px rgba(20, 43, 64, .14); }
.panel-search-caption { display: block; padding: 6px 9px; color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.panel-search-results a { display: flex; align-items: center; gap: 10px; padding: 9px; border-radius: 6px; color: var(--ink); font-size: 12px; font-weight: 650; }
.panel-search-results a:hover { background: var(--mint); color: var(--green-dark); }
.panel-search-results a .icon { width: 16px; height: 16px; }
.panel-search-empty { display: block; padding: 18px 9px; color: var(--muted); text-align: center; font-size: 12px; }
.panel-theme-switcher { border-color: var(--line); background: var(--card-soft); }
.panel-theme-switcher button { color: var(--muted); }
.panel-theme-switcher button[aria-pressed="true"] { background: var(--card); color: var(--teal); }
.panel-account-link { border: 1px solid transparent; }
.panel-account-link:hover { border-color: var(--line); }
.panel-account-link strong { color: var(--ink); }
.panel-account-link small { color: var(--muted); }

.panel-body .content { width: min(100%, 1620px); padding: 18px 24px 42px; }
.panel-breadcrumb { min-height: 24px; display: flex; align-items: center; gap: 6px; margin-bottom: 8px; color: var(--muted); font-size: 10px; }
.panel-breadcrumb a { color: var(--teal); font-weight: 750; }
.panel-breadcrumb .icon { transform: rotate(180deg); }
.panel-body .page-head { min-height: 62px; margin-bottom: 16px; }
.panel-body .page-title { color: var(--navy); font-size: 25px; line-height: 1.15; }
.panel-body .page-subtitle { margin-top: 5px; color: var(--muted); font-size: 12px; }
.panel-body .page-eyebrow { color: var(--teal); font-size: 9px; font-weight: 850; }
.panel-body .card,
.panel-body .metric-card,
.panel-body .table-wrap,
.panel-body .screen-panel,
.panel-body .modal-box,
.panel-body .panel-toolbar { border-color: var(--line); border-radius: 8px; box-shadow: var(--shadow-soft); }
.panel-body .card { padding: 17px; }
.panel-body .section-heading { margin-bottom: 14px; }
.panel-body .section-heading h2, .panel-body .card h2 { font-size: 15px; }
.panel-body .section-heading p, .panel-body .card p { font-size: 11px; line-height: 1.5; }
.panel-body .section-icon, .panel-body .metric-icon, .panel-body .screen-icon { border-radius: 7px; }
.panel-body .metric-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.panel-body .metric-card { min-height: 112px; padding: 14px; }
.panel-body .metric-card::before { display: none; }
.panel-body .metric-icon { width: 38px; height: 38px; }
.panel-body .metric-value { font-size: 22px; }
.panel-body .metric-label { font-size: 10px; }
.panel-body .metric-hint { color: var(--muted); font-size: 10px; }
.panel-body .content-grid { margin-top: 13px; }
.panel-body .grid { gap: 13px; }

.panel-body .btn { min-height: 38px; padding: 8px 13px; border-radius: 7px; font-size: 11px; font-weight: 760; }
.panel-body .btn.primary { border-color: #0fae65; background: #0fae65; color: #fff; }
.panel-body .btn.primary:hover { background: #0b9657; }
.panel-body .btn.secondary { background: var(--card); color: var(--ink); border-color: var(--line-strong); }
.panel-body .btn.positive { border-color: #0fae65; background: #0fae65; color: #fff; }
.panel-body .btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.panel-body .btn.danger { color: #fff; }
.danger-text { color: var(--red) !important; }
.panel-body .icon-btn { width: 34px; height: 34px; border-radius: 6px; }
.panel-body .field { gap: 5px; }
.panel-body .field label { font-size: 10px; }
.panel-body .field input, .panel-body .field select, .panel-body .field textarea,
.panel-body .toolbar-form input, .panel-body .toolbar-form select,
.panel-body .search-field input { min-height: 39px; border-radius: 7px; font-size: 12px; }
.panel-body .field small { color: var(--muted); font-size: 9px; }
.panel-body th { padding: 10px 12px; color: var(--muted); font-size: 9px; font-weight: 820; text-transform: uppercase; }
.panel-body td { padding: 11px 12px; color: var(--ink); font-size: 11px; }
.panel-body tbody tr { transition: background .14s ease; }
.panel-body tbody tr:hover { background: var(--hover); }
.panel-body .badge { border-radius: 999px; font-size: 9px; }
.panel-body .table-wrap { overflow: auto; }
.panel-body .empty { color: var(--muted); }
.panel-body .empty strong { color: var(--ink); }

.panel-toolbar { padding: 11px 12px; }
.toolbar-footer { margin-top: 9px; padding-top: 9px; }
.selection-bar { position: sticky; top: 82px; z-index: 24; display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 10px 12px; border: 1px solid color-mix(in srgb, var(--teal) 28%, var(--line)); border-radius: 8px; background: color-mix(in srgb, var(--mint) 62%, var(--card)); box-shadow: var(--shadow-soft); }
.selection-bar strong { margin-right: auto; color: var(--ink); font-size: 11px; }
.selection-bar select { min-height: 36px; padding: 7px 9px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--field); color: var(--ink); }
.select-column { width: 42px; text-align: center; }
.select-column input { width: 16px; height: 16px; accent-color: var(--green); }

.media-library.is-grid tbody { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.media-library.is-grid tr[data-media-item] { grid-template-columns: 26px 76px minmax(0, 1fr); gap: 5px 9px; padding: 11px; }
.media-library.is-grid tr[data-media-item] td:first-child { grid-row: span 2; align-items: flex-start; }
.media-library.is-grid tr[data-media-item] td:nth-child(2) { grid-row: span 2; align-items: flex-start; }
.media-library.is-grid tr[data-media-item] td:nth-child(3) { display: grid; align-content: center; }
.media-library.is-grid tr[data-media-item] td:first-child::before,
.media-library.is-grid tr[data-media-item] td:nth-child(2)::before,
.media-library.is-grid tr[data-media-item] td:nth-child(3)::before { display: none; }
.media-library.is-grid tr[data-media-item] td:nth-child(n+4):not(:last-child) { display: grid; align-content: start; gap: 3px; }
.media-library.is-grid tr[data-media-item] td:last-child { grid-column: 1 / -1; }
.media-library.is-grid .thumb { width: 76px; aspect-ratio: 16 / 11; border-radius: 6px; object-fit: cover; }

.group-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.group-toolbar .search-field { width: min(100%, 420px); }
.group-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.group-card { min-width: 0; }
.group-card-head { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 10px; align-items: center; margin-bottom: 14px; }
.group-card-head > div { min-width: 0; }
.group-card-head h2 { overflow: hidden; margin: 2px 0; text-overflow: ellipsis; white-space: nowrap; }
.group-card-head p { margin: 0; color: var(--muted); }
.compact-form { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.toggle-field { min-height: 39px; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); font-size: 11px; font-weight: 700; }
.toggle-field input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--green); }
.group-media-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 16px 0 8px; }
.group-media-heading strong { color: var(--ink); font-size: 11px; }
.group-media-heading span { color: var(--muted); font-size: 9px; }
.group-media-picker { max-height: 260px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; overflow-y: auto; padding: 2px; }
.group-media-option { position: relative; min-width: 0; display: grid; grid-template-columns: 16px 48px minmax(0, 1fr); gap: 8px; align-items: center; padding: 7px; border: 1px solid var(--line); border-radius: 7px; background: var(--card-soft); cursor: pointer; }
.group-media-option:has(input:checked) { border-color: color-mix(in srgb, var(--green) 45%, var(--line)); background: var(--mint); }
.group-media-option input { width: 15px; height: 15px; accent-color: var(--green); }
.group-media-option img, .group-video-thumb { width: 48px; aspect-ratio: 16 / 10; display: grid; place-items: center; border-radius: 5px; background: var(--navy-2); color: var(--card); object-fit: cover; }
.group-media-option > span:last-child { min-width: 0; display: grid; gap: 2px; }
.group-media-option strong, .group-media-option small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.group-media-option strong { color: var(--ink); font-size: 10px; }
.group-media-option small { color: var(--muted); font-size: 9px; }
.group-card-actions { display: flex; justify-content: space-between; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }

.quick-actions a { background: var(--card-soft); }
.quick-actions a:hover { background: var(--mint); border-color: color-mix(in srgb, var(--green) 25%, var(--line)); }
.quick-actions a > .icon { color: var(--teal); }
.capacity-bar span { background: var(--green); }
.panel-body canvas.chart { min-height: 220px; }

@media (max-width: 1380px) {
  .media-library.is-grid tbody { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1180px) {
  .panel-body .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel-global-search { max-width: 390px; }
  .media-library.is-grid tbody { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .panel-body .sidebar { width: min(86vw, 290px); }
  .panel-body .logo-on-light { display: block; }
  html[data-theme="dark"] .panel-body .logo-on-light { display: none; }
  html[data-theme="dark"] .panel-body .logo-on-dark { display: block; }
  .panel-header { padding-inline: 14px; }
  .panel-header-leading { flex: 0 0 auto; }
  .panel-context { display: none; }
  .panel-global-search { flex-basis: 260px; max-width: none; }
  .panel-body .content { padding: 15px 14px 34px; }
  .group-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .panel-header { min-height: 62px; }
  .panel-theme-switcher { display: none; }
  .panel-global-search input { min-height: 38px; }
  .panel-body .metric-grid { grid-template-columns: 1fr 1fr; }
  .panel-body .metric-card { min-height: 106px; }
  .panel-body .page-title { font-size: 22px; }
  .selection-bar { top: 70px; flex-wrap: wrap; }
  .selection-bar strong { width: 100%; }
  .selection-bar label { flex: 1; }
  .selection-bar select { width: 100%; }
  .media-library.is-grid tbody { grid-template-columns: 1fr; }
  .group-toolbar { align-items: stretch; flex-direction: column; }
  .group-toolbar .search-field { width: 100%; }
  .group-media-picker { grid-template-columns: 1fr; }
  .compact-form { grid-template-columns: 1fr; }
}

.list-toolbar { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(150px, auto) auto; gap: 9px; align-items: center; }
.list-toolbar select { min-height: 39px; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--field); color: var(--ink); }
.list-toolbar .results-count { justify-self: end; }
.entity-cell { min-width: 190px; display: flex; align-items: center; gap: 9px; }
.entity-cell > span:last-child { min-width: 0; display: grid; gap: 2px; }
.entity-cell small { color: var(--muted); font-size: 9px; }
.inline-admin-form { min-width: 420px; display: grid; grid-template-columns: minmax(130px, 1fr) 105px 84px 34px; gap: 6px; align-items: center; }
.inline-admin-form input, .inline-admin-form select { width: 100%; min-height: 34px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--field); color: var(--ink); font-size: 10px; }
.compact-code { display: inline-block; max-width: 260px; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.modal-wide { width: min(92vw, 760px); }
.media-upload-modal { max-height: 90vh; overflow-y: auto; }
.panel-body .media-library.is-grid tr[data-media-item] { position: relative; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 10px; }
.panel-body .media-library.is-grid tr[data-media-item] td:first-child { position: absolute; top: 15px; left: 15px; z-index: 2; width: 26px; padding: 4px; border-radius: 5px; background: color-mix(in srgb, var(--card) 90%, transparent); }
.panel-body .media-library.is-grid tr[data-media-item] td:nth-child(2) { grid-column: 1 / -1; grid-row: auto; display: block; padding: 0 0 7px; }
.panel-body .media-library.is-grid tr[data-media-item] td:nth-child(3),
.panel-body .media-library.is-grid tr[data-media-item] td:nth-child(4),
.panel-body .media-library.is-grid tr[data-media-item] td:last-child { grid-column: 1 / -1; }
.panel-body .media-library.is-grid tr[data-media-item] td:nth-child(n+3):not(:last-child) { min-width: 0; display: grid; align-content: start; gap: 2px; padding: 3px 0; }
.panel-body .media-library.is-grid tr[data-media-item] td:nth-child(3)::before { display: none; }
.panel-body .media-library.is-grid tr[data-media-item] td:nth-child(n+4)::before { min-width: 0; font-size: 8px; }
.panel-body .media-library.is-grid .thumb { width: 100%; aspect-ratio: 16 / 8; border-radius: 7px; object-fit: cover; }
.panel-body .media-library.is-grid .thumb-video { display: grid; }
.settings-nav { position: sticky; top: 82px; z-index: 20; display: flex; gap: 5px; margin-bottom: 13px; padding: 5px; overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: color-mix(in srgb, var(--card) 96%, transparent); box-shadow: var(--shadow-soft); }
.settings-nav a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 7px 10px; border-radius: 6px; color: var(--muted); font-size: 10px; font-weight: 750; }
.settings-nav a:hover { background: var(--mint); color: var(--green-dark); }
.settings-nav .icon { width: 15px; height: 15px; }
.settings-section { scroll-margin-top: 132px; }
.settings-layout { align-items: start; }
.one-column { grid-template-columns: 1fr; }
.settings-save { position: sticky; bottom: 12px; display: flex; justify-content: flex-end; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: color-mix(in srgb, var(--card) 95%, transparent); box-shadow: var(--shadow-soft); }
@media (max-width: 760px) {
  .list-toolbar { grid-template-columns: 1fr; }
  .list-toolbar .results-count { justify-self: start; }
  .settings-layout { grid-template-columns: 1fr; }
  .settings-layout .span-2 { grid-column: auto; }
  .settings-nav { top: 71px; }
}

/* Public site 2026 */
:root {
  --site-bg: #f7f9fc;
  --site-surface: #ffffff;
  --site-surface-2: #eef3f7;
  --site-text: #121a2d;
  --site-muted: #5e6b7f;
  --site-line: #d9e1ea;
  --site-navy: #101936;
  --site-teal: #0a9f9b;
  --site-green: #00b94f;
  --site-purple: #6440bf;
  --site-focus: #00b94f;
  --site-shadow: 0 18px 50px rgba(16, 25, 54, .1);
  --site-header-bg: rgba(255, 255, 255, .96);
  --site-accent-soft: #e8f7f6;
}

html[data-theme="light"] { color-scheme: light; }

html[data-theme="dark"] {
  color-scheme: dark;
  --site-bg: #0d1425;
  --site-surface: #141d31;
  --site-surface-2: #1a253b;
  --site-text: #f4f7fb;
  --site-muted: #aeb9ca;
  --site-line: #2d3950;
  --site-navy: #eef3ff;
  --site-teal: #3bc8c1;
  --site-green: #39dc75;
  --site-purple: #a98bf2;
  --site-focus: #46e982;
  --site-shadow: 0 18px 50px rgba(0, 0, 0, .28);
  --site-header-bg: rgba(13, 20, 37, .96);
  --site-accent-soft: #19353e;
}

.marketing-body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--site-bg);
  color: var(--site-text);
}

.marketing-body :focus-visible {
  outline: 3px solid var(--site-focus);
  outline-offset: 3px;
}

.site-container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--site-line);
  background: var(--site-header-bg);
  backdrop-filter: blur(16px);
}

.site-header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}

.site-logo img { width: 164px; height: 42px; object-fit: contain; object-position: left center; }
.site-logo-dark { display: none; }
html[data-theme="dark"] .site-logo-light { display: none; }
html[data-theme="dark"] .site-logo-dark { display: block; }

.site-header-panel {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav a { color: var(--site-muted); font-size: 14px; font-weight: 750; }
.site-nav a:hover { color: var(--site-text); }

.site-header-actions, .site-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.site-link-button { min-height: 42px; display: inline-flex; align-items: center; padding: 10px 12px; color: var(--site-text); font-weight: 800; }

.site-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--site-text);
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease;
}

.site-button:hover { transform: translateY(-1px); }
.site-button-primary { background: var(--site-green); color: #052410; }
.site-button-primary:hover { background: #18ca60; }
.site-button-secondary { border-color: var(--site-line); background: var(--site-surface); color: var(--site-text); }
.site-button-light { background: #ffffff; color: #101936; }
.site-button-outline-light { border-color: rgba(255,255,255,.5); color: #ffffff; }
.site-button-large { min-height: 50px; padding: 14px 20px; }

.theme-switcher {
  display: inline-grid;
  grid-template-columns: repeat(3, auto);
  padding: 3px;
  border: 1px solid var(--site-line);
  border-radius: 7px;
  background: var(--site-surface-2);
}

.theme-switcher button {
  min-height: 32px;
  padding: 6px 8px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--site-muted);
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}

.theme-switcher button[aria-pressed="true"] { background: var(--site-surface); color: var(--site-text); box-shadow: 0 1px 4px rgba(16,25,54,.12); }
.site-menu-button { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid var(--site-line); border-radius: 7px; background: var(--site-surface); color: var(--site-text); cursor: pointer; }

.site-eyebrow, .site-heading > span, .site-final-cta span, .download-support span {
  color: var(--site-teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.site-hero {
  min-height: min(720px, calc(100svh - 76px));
  display: flex;
  align-items: center;
  padding: 72px 0 92px;
  border-bottom: 1px solid var(--site-line);
  background: var(--site-bg);
}

.site-hero-grid { display: grid; grid-template-columns: minmax(0, .84fr) minmax(520px, 1.16fr); gap: 54px; align-items: center; }
.site-hero-copy h1 { max-width: 620px; margin: 14px 0 20px; color: var(--site-text); font-size: 72px; line-height: .98; letter-spacing: 0; }
.site-hero-copy > p { max-width: 560px; margin: 0; color: var(--site-muted); font-size: 20px; line-height: 1.6; }
.site-hero-copy .site-actions { margin-top: 28px; }
.site-hero-points { display: flex; flex-wrap: wrap; gap: 14px 22px; margin: 24px 0 0; padding: 0; list-style: none; color: var(--site-muted); font-size: 14px; font-weight: 750; }
.site-hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.site-hero-points .icon { color: var(--site-green); }

.product-window { overflow: hidden; border: 1px solid var(--site-line); border-radius: 8px; background: var(--site-surface); box-shadow: var(--site-shadow); }
.product-window-bar { height: 38px; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid var(--site-line); background: var(--site-surface-2); }
.product-window-bar span { width: 8px; height: 8px; border-radius: 50%; background: #8d99aa; }
.product-window-bar span:nth-child(2) { background: var(--site-teal); }
.product-window-bar span:nth-child(3) { background: var(--site-green); }
.product-window-bar small { margin-left: 8px; color: var(--site-muted); font-size: 11px; }
.product-window img { display: block; width: 100%; aspect-ratio: 1425 / 792; object-fit: cover; }

.site-proof { position: relative; z-index: 2; margin-top: -34px; }
.site-proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--site-line); border-radius: 8px; background: var(--site-surface); box-shadow: var(--site-shadow); }
.site-proof-grid > div { min-height: 88px; display: flex; align-items: center; gap: 14px; padding: 18px 24px; }
.site-proof-grid > div + div { border-left: 1px solid var(--site-line); }
.site-proof-grid .icon { color: var(--site-teal); }
.site-proof-grid span { color: var(--site-muted); font-size: 13px; line-height: 1.45; }
.site-proof-grid strong { display: block; color: var(--site-text); font-size: 15px; }

.site-section { padding: 96px 0; scroll-margin-top: 86px; }
.site-section-muted { background: var(--site-surface-2); }
.site-heading { max-width: 700px; margin-bottom: 38px; }
.site-heading-centered { margin-inline: auto; text-align: center; }
.site-heading h2, .play-band h2, .site-final-cta h2, .download-support h2 { margin: 10px 0 14px; color: var(--site-text); font-size: 46px; line-height: 1.08; letter-spacing: 0; }
.site-heading p, .play-band p, .site-final-cta p, .download-support p { margin: 0; color: var(--site-muted); font-size: 17px; line-height: 1.65; }

.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--site-line); }
.process-item { position: relative; min-height: 246px; padding: 28px 24px; }
.process-item + .process-item { border-left: 1px solid var(--site-line); }
.process-number { position: absolute; top: 28px; right: 24px; color: var(--site-muted); font-size: 12px; font-weight: 900; }
.site-icon { width: 46px; height: 46px; display: inline-grid; place-items: center; border-radius: 7px; background: var(--site-accent-soft); color: var(--site-teal); }
.process-item h3, .site-plan h3, .startup-choice h3 { margin: 28px 0 10px; color: var(--site-text); font-size: 21px; }
.process-item p, .startup-choice article p { margin: 0; color: var(--site-muted); line-height: 1.6; }

.product-story { display: grid; grid-template-columns: minmax(0, .8fr) minmax(520px, 1.2fr); gap: 58px; align-items: center; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 15px 0; border-top: 1px solid var(--site-line); }
.feature-list .icon { color: var(--site-green); }
.feature-list span { color: var(--site-muted); font-size: 14px; line-height: 1.5; }
.feature-list strong { display: block; margin-bottom: 3px; color: var(--site-text); }
.product-detail-card { overflow: hidden; padding: 14px; border: 1px solid var(--site-line); border-radius: 8px; background: var(--site-surface); box-shadow: var(--site-shadow); }
.product-detail-card img { display: block; width: 100%; border: 1px solid var(--site-line); border-radius: 5px; }
.product-detail-label { display: block; padding: 0 2px 12px; color: var(--site-muted); font-size: 12px; font-weight: 850; text-transform: uppercase; }

.segment-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.segment-grid span { min-height: 60px; display: flex; align-items: center; gap: 10px; padding: 14px 18px; border: 1px solid var(--site-line); border-radius: 7px; background: var(--site-surface); color: var(--site-text); font-weight: 800; }
.segment-grid .icon { color: var(--site-green); }

.play-band { border-block: 1px solid var(--site-line); background: var(--site-surface); }
.play-band-grid { display: grid; grid-template-columns: 126px minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.play-mark { width: 126px; height: 126px; display: grid; place-items: center; overflow: hidden; border-radius: 8px; background: #101936; }
.play-mark img { width: 86px; height: 86px; object-fit: contain; }
.play-band h2 { font-size: 42px; }

.site-plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.site-plan { position: relative; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--site-line); border-radius: 8px; background: var(--site-surface); }
.site-plan.is-featured { border: 2px solid var(--site-purple); box-shadow: var(--site-shadow); }
.site-plan-badge { align-self: flex-start; margin-bottom: 18px; padding: 6px 9px; border-radius: 5px; background: var(--site-purple); color: #fff; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.site-plan h3 { margin: 0 0 16px; }
.site-plan-price { display: flex; align-items: baseline; gap: 6px; padding-bottom: 20px; border-bottom: 1px solid var(--site-line); }
.site-plan-price strong { color: var(--site-text); font-size: 34px; }
.site-plan-price span { color: var(--site-muted); }
.site-plan ul { flex: 1; display: grid; gap: 12px; margin: 22px 0 28px; padding: 0; list-style: none; }
.site-plan li { display: flex; gap: 9px; color: var(--site-muted); line-height: 1.45; }
.site-plan li .icon { color: var(--site-green); }
.site-empty-offer { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 24px; border: 1px solid var(--site-line); border-radius: 8px; background: var(--site-surface); }
.site-empty-offer h3, .site-empty-offer p { margin: 0; }
.site-empty-offer p { margin-top: 5px; color: var(--site-muted); }

.faq-layout { display: grid; grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr); gap: 70px; align-items: start; }
.site-faq { border-top: 1px solid var(--site-line); }
.site-faq details { border-bottom: 1px solid var(--site-line); }
.site-faq summary { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 4px; color: var(--site-text); font-weight: 850; cursor: pointer; list-style: none; }
.site-faq summary::-webkit-details-marker { display: none; }
.site-faq summary::after { content: '+'; width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--site-line); border-radius: 50%; color: var(--site-teal); }
.site-faq details[open] summary::after { content: '−'; }
.site-faq details p { margin: -4px 42px 20px 4px; color: var(--site-muted); line-height: 1.65; }

.site-final-cta, .download-support { padding: 76px 0; background: #101936; color: #fff; }
.site-final-cta-inner, .download-support-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.site-final-cta h2, .download-support h2 { color: #fff; }
.site-final-cta p, .download-support p { color: #c6d0e3; }

.site-footer { padding: 64px 0 20px; background: #080f22; color: #fff; }
.site-footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 42px; }
.site-footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.site-footer-brand img { width: 184px; }
.site-footer-brand p { max-width: 330px; margin: 8px 0 0; color: #aebbd0; line-height: 1.65; }
.site-footer strong { margin-bottom: 7px; font-size: 14px; }
.site-footer a { color: #b9c4d7; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.site-socials { display: flex; gap: 8px; margin-top: 6px; }
.site-socials a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #2e3950; border-radius: 50%; }
.site-footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 46px; padding-top: 20px; border-top: 1px solid #263149; color: #95a3bb; font-size: 13px; }
.site-whatsapp { position: fixed; right: 20px; bottom: 20px; z-index: 80; min-height: 46px; display: inline-flex; align-items: center; gap: 8px; padding: 11px 14px; border-radius: 7px; background: #00b94f; color: #06230f; font-size: 13px; font-weight: 900; box-shadow: 0 14px 30px rgba(0,185,79,.25); }

/* Download */
.download-hero-new { padding: 82px 0; border-bottom: 1px solid var(--site-line); background: var(--site-bg); }
.download-hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr); gap: 64px; align-items: center; }
.download-hero-new h1 { max-width: 700px; margin: 14px 0 18px; color: var(--site-text); font-size: 68px; line-height: .98; }
.download-hero-new p { max-width: 590px; margin: 0; color: var(--site-muted); font-size: 20px; line-height: 1.6; }
.download-main-button { margin-top: 28px; }
.download-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.download-meta span { padding: 7px 9px; border: 1px solid var(--site-line); border-radius: 5px; color: var(--site-muted); background: var(--site-surface); font-size: 12px; font-weight: 800; }
.download-device { padding: 18px; border: 1px solid var(--site-line); border-radius: 8px; background: var(--site-surface); box-shadow: var(--site-shadow); }
.download-device-screen { min-height: 340px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px; border-radius: 5px; background: #101936; color: #fff; text-align: center; }
.download-device-screen img { width: min(340px, 82%); }
.download-device-screen span { margin-top: 34px; font-size: 26px; font-weight: 900; }
.download-device-screen small { margin-top: 7px; color: #acbad3; }
.download-device-status { display: flex; align-items: center; gap: 8px; padding: 14px 2px 0; color: var(--site-muted); font-size: 12px; font-weight: 800; }
.download-device-status span { width: 9px; height: 9px; border-radius: 50%; background: var(--site-green); }
.download-integrity { border-bottom: 1px solid var(--site-line); background: var(--site-surface); }
.download-integrity-grid { display: grid; grid-template-columns: .5fr 1fr 2.5fr; }
.download-integrity-grid > div { min-height: 92px; display: flex; flex-direction: column; justify-content: center; gap: 7px; padding: 18px 24px; }
.download-integrity-grid > div + div { border-left: 1px solid var(--site-line); }
.download-integrity span { color: var(--site-muted); font-size: 11px; font-weight: 850; text-transform: uppercase; }
.download-integrity strong { color: var(--site-text); }
.download-integrity code { overflow-wrap: anywhere; color: var(--site-text); font-size: 12px; line-height: 1.5; }
.tv-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; border: 1px solid var(--site-line); border-radius: 8px; list-style: none; overflow: hidden; }
.tv-steps li { position: relative; min-height: 245px; padding: 24px; background: var(--site-surface); }
.tv-steps li:nth-child(n+5) { border-top: 1px solid var(--site-line); }
.tv-steps li:not(:nth-child(4n+1)) { border-left: 1px solid var(--site-line); }
.tv-steps li > span { position: absolute; top: 22px; right: 22px; color: var(--site-muted); font-size: 12px; font-weight: 900; }
.tv-steps li .icon { color: var(--site-teal); }
.tv-steps h3 { margin: 44px 0 10px; color: var(--site-text); font-size: 18px; }
.tv-steps p { margin: 0; color: var(--site-muted); font-size: 14px; line-height: 1.6; }
.tv-steps strong { color: var(--site-text); overflow-wrap: anywhere; }
.startup-choice { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; align-items: stretch; }
.startup-choice-copy { padding-right: 30px; }
.startup-choice-copy h2 { margin: 10px 0 14px; color: var(--site-text); font-size: 42px; line-height: 1.1; }
.startup-choice-copy p { margin: 0; color: var(--site-muted); line-height: 1.65; }
.startup-choice article { padding: 24px; border: 1px solid var(--site-line); border-radius: 8px; background: var(--site-surface); }
.download-support h2 { font-size: 42px; }

/* Privacy and authentication */
.privacy-page { background: var(--site-bg); color: var(--site-text); }
.privacy-hero { padding: 76px 0 54px; border-bottom: 1px solid var(--site-line); background: var(--site-surface); }
.privacy-reading { width: min(860px, calc(100% - 48px)); margin-inline: auto; }
.privacy-eyebrow { margin: 0 0 12px; color: var(--site-teal); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.privacy-hero h1 { margin: 0; color: var(--site-text); font-size: 54px; line-height: 1.06; }
.privacy-intro { max-width: 760px; margin: 18px 0 0; color: var(--site-muted); font-size: 18px; line-height: 1.7; }
.privacy-updated { display: inline-flex; margin-top: 22px; padding: 7px 9px; border: 1px solid var(--site-line); border-radius: 5px; color: var(--site-muted); background: var(--site-bg); font-size: 12px; font-weight: 800; }
.privacy-content { padding: 20px 0 78px; }
.privacy-section { padding: 32px 0; border-bottom: 1px solid var(--site-line); }
.privacy-section:last-child { border-bottom: 0; }
.privacy-section h2 { margin: 0 0 14px; color: var(--site-text); font-size: 24px; }
.privacy-section h3 { margin: 22px 0 8px; color: var(--site-text); font-size: 17px; }
.privacy-section p, .privacy-section li { color: var(--site-muted); font-size: 16px; line-height: 1.75; }
.privacy-section p { margin: 0 0 13px; }
.privacy-section ul { display: grid; gap: 8px; padding-left: 22px; }
.privacy-section a { color: var(--site-purple); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.privacy-note { margin-top: 18px; padding: 18px 20px; border-left: 4px solid var(--site-green); background: var(--site-surface); }
.privacy-note p { margin: 0; color: var(--site-text); }

.public-auth-page { min-height: calc(100svh - 76px); display: grid; grid-template-columns: 1fr 1fr; background: var(--site-bg); }
.public-auth-intro { display: flex; flex-direction: column; justify-content: center; padding: 80px max(48px, calc((100vw - 1180px) / 2)); background: #101936; color: #fff; }
.public-auth-intro h1 { max-width: 560px; margin: 14px 0 18px; font-size: 64px; line-height: 1; }
.public-auth-intro > p { max-width: 500px; margin: 0; color: #c3cee0; font-size: 18px; line-height: 1.65; }
.public-auth-intro ul { display: grid; gap: 14px; margin: 34px 0 0; padding: 0; list-style: none; }
.public-auth-intro li { display: flex; align-items: center; gap: 10px; color: #d8e1ef; }
.public-auth-intro li .icon { color: #38dc75; }
.public-auth-card { width: min(460px, calc(100% - 48px)); align-self: center; justify-self: center; padding: 34px; border: 1px solid var(--site-line); border-radius: 8px; background: var(--site-surface); box-shadow: var(--site-shadow); }
.public-auth-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.public-auth-heading img { width: 48px; height: 48px; object-fit: contain; }
.public-auth-heading span { color: var(--site-muted); font-size: 12px; font-weight: 850; text-transform: uppercase; }
.public-auth-heading h2 { margin: 3px 0 0; color: var(--site-text); font-size: 27px; }
.public-auth-card .field label { color: var(--site-text); }
.public-auth-card input[type="email"], .public-auth-card input[type="password"] { border-color: var(--site-line); background: var(--site-bg); color: var(--site-text); }
.public-auth-check { display: flex; align-items: center; gap: 8px; color: var(--site-muted); font-size: 14px; }
.public-auth-submit { width: 100%; margin-top: 18px; }

@media (max-width: 1100px) {
  .site-header-inner { gap: 14px; }
  .site-menu-button { display: grid; margin-left: auto; }
  .site-header-panel { position: absolute; top: 76px; left: 0; right: 0; display: none; align-items: stretch; padding: 16px 24px 22px; border-bottom: 1px solid var(--site-line); background: var(--site-bg); box-shadow: var(--site-shadow); }
  .site-header-panel.is-open { display: grid; gap: 16px; }
  .site-nav { display: grid; gap: 0; }
  .site-nav a { min-height: 46px; display: flex; align-items: center; border-bottom: 1px solid var(--site-line); }
  .theme-switcher { width: max-content; }
  .site-header-actions { justify-content: flex-start; }
  .site-hero-grid, .download-hero-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .site-hero-copy h1, .download-hero-new h1 { font-size: 52px; }
  .product-story { grid-template-columns: 1fr 1fr; gap: 34px; }
  .play-band-grid { grid-template-columns: 104px 1fr; }
  .play-band-grid > .site-button { grid-column: 2; justify-self: start; }
  .play-mark { width: 104px; height: 104px; }
  .tv-steps { grid-template-columns: repeat(2, 1fr); }
  .tv-steps li:nth-child(n+3) { border-top: 1px solid var(--site-line); }
  .tv-steps li:nth-child(odd) { border-left: 0; }
  .tv-steps li:nth-child(even) { border-left: 1px solid var(--site-line); }
}

@media (max-width: 820px) {
  .site-container { width: min(100% - 32px, 1180px); }
  .site-hero { min-height: 0; padding: 64px 0 74px; }
  .site-hero-grid, .download-hero-grid, .product-story, .faq-layout, .startup-choice { grid-template-columns: 1fr; }
  .site-hero-copy h1, .download-hero-new h1 { font-size: 48px; }
  .site-heading h2, .play-band h2, .site-final-cta h2, .download-support h2, .startup-choice-copy h2 { font-size: 36px; }
  .privacy-hero h1, .public-auth-intro h1 { font-size: 46px; }
  .product-window { margin-top: 10px; }
  .site-proof { margin-top: -24px; }
  .site-proof-grid { grid-template-columns: 1fr; }
  .site-proof-grid > div + div { border-top: 1px solid var(--site-line); border-left: 0; }
  .site-section { padding: 72px 0; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-item:nth-child(odd) { border-left: 0; }
  .process-item:nth-child(n+3) { border-top: 1px solid var(--site-line); }
  .feature-list { grid-template-columns: 1fr; }
  .segment-grid { grid-template-columns: repeat(2, 1fr); }
  .site-plans-grid { grid-template-columns: 1fr; }
  .play-band-grid { grid-template-columns: 88px 1fr; }
  .play-mark { width: 88px; height: 88px; }
  .play-mark img { width: 62px; height: 62px; }
  .site-final-cta-inner, .download-support-inner { flex-direction: column; align-items: flex-start; }
  .site-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .download-hero-new { padding: 64px 0; }
  .download-device-screen { min-height: 300px; }
  .download-integrity-grid { grid-template-columns: 1fr 1fr; }
  .download-hash-new { grid-column: 1 / -1; border-top: 1px solid var(--site-line); border-left: 0 !important; }
  .startup-choice-copy { padding-right: 0; }
  .public-auth-page { grid-template-columns: 1fr; }
  .public-auth-intro { padding: 64px 24px; }
  .public-auth-card { margin: 54px auto; }
}

@media (max-width: 540px) {
  .site-header-inner { min-height: 68px; }
  .site-header-panel { top: 68px; padding-inline: 16px; }
  .site-logo img { width: 146px; }
  .site-header-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .site-link-button, .site-header-actions .site-button { width: 100%; }
  .theme-switcher { width: 100%; grid-template-columns: repeat(3, 1fr); }
  .site-hero-copy h1, .download-hero-new h1 { font-size: 40px; }
  .site-heading h2, .play-band h2, .site-final-cta h2, .download-support h2, .startup-choice-copy h2 { font-size: 31px; }
  .privacy-hero h1, .public-auth-intro h1 { font-size: 38px; }
  .site-hero-copy > p, .download-hero-new p { font-size: 17px; }
  .site-actions { align-items: stretch; }
  .site-actions .site-button { width: 100%; }
  .site-hero-points { display: grid; }
  .product-window-bar small { display: none; }
  .process-grid, .segment-grid, .site-footer-grid, .tv-steps { grid-template-columns: 1fr; }
  .process-item + .process-item, .tv-steps li:nth-child(even) { border-left: 0; }
  .process-item:nth-child(n+2), .tv-steps li:nth-child(n+2) { border-top: 1px solid var(--site-line); }
  .play-band-grid { grid-template-columns: 1fr; }
  .play-band-grid > .site-button { grid-column: auto; }
  .site-empty-offer { grid-template-columns: 1fr; }
  .site-footer-bottom { flex-direction: column; }
  .site-whatsapp span { display: none; }
  .site-whatsapp { width: 48px; height: 48px; justify-content: center; padding: 0; }
  .download-device-screen { min-height: 240px; padding: 24px; }
  .download-device-screen span { font-size: 22px; }
  .download-integrity-grid { grid-template-columns: 1fr; }
  .download-integrity-grid > div + div { border-top: 1px solid var(--site-line); border-left: 0; }
  .download-hash-new { grid-column: auto; }
  .privacy-reading { width: min(100% - 32px, 860px); }
  .public-auth-card { width: min(100% - 32px, 460px); padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-button { transition: none; }
  html { scroll-behavior: auto; }
}

/* Merchant PROMUVE Play installation center */
.play-center { display: grid; gap: 30px; min-width: 0; }
.play-center-head { margin-bottom: -4px !important; }
.play-center-hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .72fr); gap: 16px; align-items: stretch; }
.play-download-card, .play-account-card, .play-choice-card, .play-permission-card, .play-support-card, .play-technical-card { min-width: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--card); box-shadow: var(--shadow-soft); }
.play-download-card { padding: 26px; }
.play-download-product { display: flex; align-items: center; gap: 17px; }
.play-download-mark { width: 68px; height: 68px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 8px; background: color-mix(in srgb, var(--teal) 11%, var(--card)); }
.play-download-mark img { width: 48px; height: 48px; object-fit: contain; }
.play-download-product h2 { margin: 7px 0 3px; color: var(--ink); font-size: 27px; }
.play-download-product p, .play-account-card > p { margin: 0; color: var(--muted); line-height: 1.55; }
.play-download-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.play-release-meta { display: grid; grid-template-columns: .7fr 1.5fr .8fr .8fr; gap: 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.play-release-meta div { min-width: 0; display: grid; gap: 4px; padding: 17px 14px 0 0; }
.play-release-meta div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.play-release-meta dt, .play-technical-card dt { color: var(--muted); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.play-release-meta dd, .play-technical-card dd { min-width: 0; margin: 0; overflow-wrap: anywhere; color: var(--ink); font-size: 13px; font-weight: 800; }
.play-account-card { display: flex; flex-direction: column; padding: 22px; }
.play-account-card .section-heading { margin-bottom: 14px; }
.play-account-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 17px; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.play-account-stats div { min-width: 0; display: grid; align-content: center; gap: 4px; min-height: 82px; padding: 12px; background: var(--card-soft); }
.play-account-stats div + div { border-left: 1px solid var(--line); }
.play-account-stats strong { color: var(--ink); font-size: 25px; font-variant-numeric: tabular-nums; }
.play-account-stats span { color: var(--muted); font-size: 10px; line-height: 1.35; }
.play-empty-state { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--card-soft); color: var(--muted); }
.play-empty-state > .icon { color: var(--teal); }
.play-empty-state span { display: grid; gap: 3px; font-size: 12px; line-height: 1.45; }
.play-empty-state strong { color: var(--ink); font-size: 13px; }
.play-inline-link { display: inline-flex; align-items: center; gap: 5px; width: fit-content; margin-top: auto; padding-top: 17px; color: var(--purple); font-size: 13px; font-weight: 850; }
.play-inline-link:hover { color: var(--teal); }
.play-section { min-width: 0; scroll-margin-top: 90px; }
.play-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.play-section-heading h2, .play-support-card h2, .play-technical-card h2 { margin: 4px 0 7px; color: var(--ink); font-size: 23px; line-height: 1.25; }
.play-section-heading p, .play-support-card p, .play-technical-card p { max-width: 780px; margin: 0; color: var(--muted); line-height: 1.55; }
.play-section-count { flex: 0 0 auto; padding: 6px 9px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: var(--card); font-size: 11px; font-weight: 800; }
.play-install-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.play-step-card { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); box-shadow: var(--shadow-soft); transition: transform .16s ease, border-color .16s ease; }
.play-step-card:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.play-step-number { position: absolute; top: 16px; right: 16px; color: var(--muted); font-size: 11px; font-weight: 900; }
.play-step-card .section-icon { width: 39px; height: 39px; }
.play-step-card h3, .play-choice-card h3, .play-permission-card h3, .play-pairing-flow h3 { margin: 17px 0 7px; color: var(--ink); font-size: 16px; }
.play-step-card p, .play-choice-card p, .play-choice-card li, .play-permission-card p, .play-pairing-flow p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.play-step-card > a { margin-top: auto; padding-top: 14px; overflow-wrap: anywhere; color: var(--purple); font-size: 12px; font-weight: 850; }
.play-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.play-choice-card { padding: 22px; }
.play-choice-card > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.play-choice-label { padding: 5px 8px; border-radius: 5px; background: color-mix(in srgb, var(--green) 11%, var(--card)); color: var(--green-dark); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.play-choice-card.is-autostart .play-choice-label { background: color-mix(in srgb, var(--teal) 11%, var(--card)); color: var(--teal); }
.play-choice-card ul { display: grid; gap: 6px; margin: 16px 0 0; padding-left: 19px; }
.play-choice-card li::marker { color: var(--green); }
.play-permission-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.play-permission-card { display: flex; align-items: flex-start; gap: 14px; padding: 20px; }
.play-permission-card h3 { margin-top: 1px; }
.play-pairing-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--line); box-shadow: var(--shadow-soft); }
.play-pairing-flow article { min-width: 0; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 20px; background: var(--card); }
.play-pairing-flow article > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--teal) 12%, var(--card)); color: var(--teal); font-size: 12px; font-weight: 900; }
.play-pairing-flow h3 { margin-top: 1px; }
.play-support-layout { display: grid; grid-template-columns: minmax(250px, .65fr) minmax(0, 1.35fr); gap: 16px; align-items: start; }
.play-support-card { position: sticky; top: 92px; padding: 22px; }
.play-support-card > .section-icon { margin-bottom: 18px; }
.play-support-actions { display: grid; gap: 8px; margin-top: 20px; }
.play-faq { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--card); box-shadow: var(--shadow-soft); }
.play-faq details + details { border-top: 1px solid var(--line); }
.play-faq summary { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 18px; color: var(--ink); cursor: pointer; font-size: 13px; font-weight: 850; list-style: none; }
.play-faq summary::-webkit-details-marker { display: none; }
.play-faq summary::after { content: '+'; width: 27px; height: 27px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; color: var(--teal); background: var(--card-soft); font-size: 18px; font-weight: 500; }
.play-faq details[open] summary::after { content: '−'; }
.play-faq details[open] summary { background: var(--card-soft); }
.play-faq details p { margin: 0; padding: 0 54px 18px 18px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.play-technical-card { display: grid; grid-template-columns: minmax(230px, .6fr) minmax(0, 1.4fr); gap: 24px; align-items: center; padding: 22px; }
.play-technical-card dl { display: grid; grid-template-columns: .55fr 1.15fr 2fr; gap: 0; margin: 0; }
.play-technical-card dl > div { min-width: 0; display: grid; gap: 6px; padding: 10px 16px; border-left: 1px solid var(--line); }
.play-technical-card code { overflow-wrap: anywhere; color: var(--ink); font-size: 11px; line-height: 1.45; }

@media (max-width: 1180px) {
  .play-center-hero { grid-template-columns: 1fr; }
  .play-install-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .play-account-card { min-height: 0; }
  .play-inline-link { margin-top: 0; }
  .play-release-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .play-release-meta div:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 820px) {
  .play-center { gap: 25px; }
  .play-center-head, .play-section-heading { align-items: flex-start !important; flex-direction: column; }
  .play-choice-grid, .play-permission-grid, .play-support-layout, .play-technical-card { grid-template-columns: 1fr; }
  .play-support-card { position: static; }
  .play-pairing-flow { grid-template-columns: 1fr; }
  .play-technical-card dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .play-technical-card dl > div:first-child { border-left: 0; }
  .play-technical-hash { grid-column: 1 / -1; border-top: 1px solid var(--line); border-left: 0 !important; }
}

@media (max-width: 640px) {
  .play-center-head > .btn, .play-download-actions .btn, .play-section-heading > .btn, .play-support-actions .btn { width: 100%; }
  .play-download-card, .play-account-card, .play-choice-card, .play-support-card, .play-technical-card { padding: 18px; }
  .play-download-product { align-items: flex-start; }
  .play-download-mark { width: 54px; height: 54px; }
  .play-download-mark img { width: 38px; height: 38px; }
  .play-download-product h2 { font-size: 22px; }
  .play-release-meta, .play-install-grid, .play-permission-grid { grid-template-columns: 1fr; }
  .play-release-meta div { padding: 13px 0; }
  .play-release-meta div + div, .play-release-meta div:nth-child(3) { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .play-account-stats { grid-template-columns: 1fr; }
  .play-account-stats div { min-height: 64px; }
  .play-account-stats div + div { border-top: 1px solid var(--line); border-left: 0; }
  .play-permission-card { flex-direction: column; padding: 18px; }
  .play-pairing-flow article { padding: 17px; }
  .play-technical-card dl { grid-template-columns: 1fr; }
  .play-technical-card dl > div, .play-technical-card dl > div:first-child { padding: 12px 0; border-top: 1px solid var(--line); border-left: 0; }
  .play-technical-hash { grid-column: auto; }
  .play-faq details p { padding-right: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .play-step-card { transition: none; }
}
