:root {
  --paper: oklch(99.7% .003 290); --surface: oklch(98% .009 290);
  --soft: oklch(95.8% .02 290); --hover: oklch(93% .033 290);
  --ink: oklch(23% .035 285); --secondary: oklch(45% .028 280);
  --muted: oklch(50% .025 280); --line: oklch(90% .03 290);
  --accent: #5719d9; --accent-strong: #4513ae; --on-accent: oklch(99.7% .003 290);
  --hero-wash: oklch(93% .046 290); --grid-dot: oklch(75% .13 290 / .32);
  --shadow-color: oklch(32% .12 290 / .1); --footer: #17072c;
  --success: #17633b; --success-bg: #edf7f0; --danger: #a82222; --danger-bg: #fff0f0;
  --ui-font: 'Lora Variable', 'Noto Serif SC Variable', 'Songti SC', 'STSong', serif;
  --radius: 4px; color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.85; }
body,button,input,textarea,select { font-family: var(--ui-font); }
button,input,select,textarea { font-size: inherit; }
button { cursor: pointer; border: 0; color: inherit; background: transparent; transition: background-color 160ms,color 160ms,border-color 160ms; }
button:disabled { opacity: .55; cursor: not-allowed; }
button,a { -webkit-tap-highlight-color: transparent; }
button:hover { background: var(--soft); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 5px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.hidden { display: none !important; }
.lucide { width: 19px; height: 19px; flex-shrink: 0; stroke-width: 1.6; }
.primary,.secondary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 13px 24px; border: 1px solid var(--accent); border-radius: var(--radius); font-weight: 600; font-size: 16px; line-height: 1.4; }
button.primary { background: var(--accent); color: var(--on-accent); }
button.primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
button.secondary { color: var(--accent); background: var(--paper); }
button.secondary:hover { background: var(--soft); }
.primary.small { padding: 11px 19px; }
.text-button { font-size: 13px; color: var(--accent); padding: 7px 8px; border-radius: var(--radius); }
.full { width: 100%; }
h1,h2,h3,p { overflow-wrap: break-word; }
h1 { font-size: clamp(36px,4vw,52px); line-height: 1.3; font-weight: 650; margin: 12px 0 16px; letter-spacing: -.6px; }
h2 { font-size: 28px; line-height: 1.5; font-weight: 650; margin: 0 0 18px; }
h3 { font-size: 22px; line-height: 1.5; font-weight: 600; margin: 0 0 20px; }
h2 small { font-size: 13px; color: var(--muted); font-weight: 400; }
.subtle { font-size: 13px; color: var(--muted); line-height: 1.85; }
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 30; padding: 8px 24px; pointer-events: none; }
.nav-shell { position: relative; width: min(1240px,100%); min-height: 88px; margin: auto; padding: 16px 24px; display: flex; align-items: center; gap: 24px; border: 1px solid transparent; border-radius: var(--radius); pointer-events: auto; transform: translateY(0); transition: transform 420ms cubic-bezier(.22,1,.36,1),background-color 160ms,border-color 160ms,box-shadow 420ms; }
.site-nav.is-compact .nav-shell { min-height: 70px; background: var(--paper); border-color: var(--line); box-shadow: 0 6px 24px var(--shadow-color); transform: translateY(2px); padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 23px; line-height: 1.4; font-weight: 650; color: var(--ink); flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand-mark { display: inline-grid; place-items: center; width: 40px; height: 44px; background: var(--accent); color: var(--on-accent); border-radius: var(--radius); font-size: 26px; font-weight: 500; }
.brand small { display: block; color: var(--muted); font-size: 10px; letter-spacing: 2px; margin-top: 3px; font-weight: 400; }
.nav-menu { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex: 1; min-width: 0; }
nav { display: flex; align-items: center; justify-content: center; gap: 2px; flex: 1; }
nav button { font-size: 14px; white-space: nowrap; padding: 9px 10px; border-radius: var(--radius); }
nav button.active { color: var(--accent); background: var(--soft); }
.nav-account { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.account { display: flex; align-items: center; gap: 8px; padding: 9px 4px; font-size: 13px; white-space: nowrap; }
.account small { display: none; }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); }
.workspace { min-width: 0; }
.page-intro { padding: 156px 0 48px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg,var(--hero-wash),var(--paper)); }
.intro-inner { width: min(1200px,calc(100% - 48px)); margin: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.eyebrow { color: var(--accent); font-size: 11px; letter-spacing: 2px; }
#page-description { margin: 0; color: var(--secondary); font-size: 16px; }
.header-right { display: grid; grid-template-columns: auto auto; align-items: center; gap: 8px 24px; flex-shrink: 0; padding-bottom: 5px; }
.balance { color: var(--muted); font-size: 13px; }
.balance b { display: inline-block; color: var(--ink); font-size: 26px; line-height: 1.5; font-weight: 500; margin-left: 8px; font-variant-numeric: tabular-nums; }
.price-caption { grid-column: 1/-1; font-size: 12px; text-align: right; color: var(--muted); }
main { width: min(1200px,calc(100% - 48px)); margin: 0 auto; padding: 48px 0 64px; min-width: 0; }
.view { min-width: 0; }
.studio-grid { display: grid; grid-template-columns: minmax(0,1.02fr) minmax(0,1fr); gap: 26px; align-items: start; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--paper); min-width: 0; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.panel-heading h2,.panel-heading h3 { margin: 0; }
.panel-heading p { margin: 8px 0 0; }
.panel-heading > .subtle { flex-shrink: 0; }
.templates,.admin-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.templates button,.admin-tabs button { font-size: 14px; line-height: 1.5; padding: 9px 13px; border: 1px solid var(--line); border-radius: var(--radius); }
.templates button.selected,.admin-tabs button.selected { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
label { display: block; color: var(--ink); font-size: 14px; font-weight: 500; }
label span { color: var(--muted); font-weight: 400; font-size: 12px; margin-left: 12px; }
input:not([type=checkbox]):not([type=radio]),select,textarea { display: block; width: 100%; min-width: 0; min-height: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); outline: none; padding: 11px 12px; margin-top: 8px; font-size: 16px; line-height: 1.7; transition: border-color 160ms,box-shadow 160ms; }
input:focus,textarea:focus,select:focus { border-color: var(--accent); box-shadow: 0 0 0 2px var(--soft); }
textarea { resize: vertical; min-height: 160px; height: 180px; margin-bottom: 24px; }
textarea::placeholder,input::placeholder { color: var(--muted); opacity: .85; }
select { padding-inline: 9px; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 8px; }
.label-row small { font-size: 11px; color: var(--muted); }
.upload { display: grid; grid-template-columns: 32px auto; grid-template-rows: auto auto; align-items: center; justify-content: center; column-gap: 12px; min-height: 104px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--surface); padding: 20px; cursor: pointer; }
.upload:hover { background: var(--soft); border-color: var(--accent); }
.upload .upload-plus { grid-row: span 2; color: var(--accent); margin: 0; display: grid; place-items: center; }
.upload .lucide { width: 25px; height: 25px; }
.upload strong { font-weight: 500; font-size: 15px; }
.upload small { font-size: 12px; color: var(--muted); }
.asset-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.asset-chip { display: flex; align-items: center; gap: 8px; padding: 4px 8px; max-width: 200px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); font-size: 12px; }
.asset-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.asset-chip button { font-size: 19px; padding: 0 4px; }
.field-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 18px 0 20px; }
.checkbox { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--secondary); font-weight: 400; margin-bottom: 20px; line-height: 1.8; }
input[type=checkbox],input[type=radio] { accent-color: var(--accent); flex-shrink: 0; width: 16px; height: 16px; margin: 4px 3px 0 0; }
.notice { color: var(--secondary); background: var(--surface); padding: 12px 16px; border-left: 2px solid var(--accent); font-size: 12px; line-height: 1.85; overflow-wrap: anywhere; }
.generate-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--line); }
.generate-footer small { display: block; color: var(--muted); font-size: 12px; }
.generate-footer strong { font-size: 32px; line-height: 1.5; font-weight: 500; font-variant-numeric: tabular-nums; }
.generate-footer em { font-size: 14px; font-style: normal; font-weight: 400; margin-left: 4px; }
.generate-footer button { min-width: 170px; }
.works { display: flex; flex-direction: column; }
.works-list { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.empty { min-height: 500px; padding: 48px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: radial-gradient(var(--grid-dot) .65px,transparent .65px) 0 0/28px 28px,var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.film-frame { width: 80px; height: 80px; display: grid; place-items: center; color: var(--accent); margin-bottom: 24px; }
.film-frame .lucide { width: 54px; height: 54px; stroke-width: 1.1; }
.empty h3 { font-size: 22px; margin: 0 0 14px; font-weight: 500; }
.empty p { margin: 0; color: var(--muted); font-size: 14px; line-height: 2; }
.work-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.work-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--muted); }
.badge { display: inline-flex; align-items: center; color: var(--success); background: var(--success-bg); border-radius: var(--radius); padding: 2px 8px; font-size: 12px; }
.badge.failed { color: var(--danger); background: var(--danger-bg); }
.badge.queued,.badge.running,.badge.storing { color: var(--accent); background: var(--soft); }
.work-prompt { color: var(--secondary); font-size: 16px; line-height: 1.85; margin: 16px 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.work-meta { color: var(--muted); font-size: 12px; }
.work-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.work-actions a,.work-actions button { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; padding: 7px 10px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--accent); }
.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--muted); font-size: 12px; padding-top: 24px; }
.pagination button { min-height: 36px; padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.section-intro { margin-bottom: 32px; }
.section-intro h2 { font-size: 32px; }
.section-intro p { color: var(--secondary); margin: 12px 0 0; }
.wallet-panel { margin-bottom: 32px; }
.packages { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin: 24px 0 32px; }
.package { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: left; }
.package.selected { border-color: var(--accent); background: var(--soft); box-shadow: inset 0 0 0 1px var(--accent); }
.package strong { display: block; font-size: 34px; line-height: 1.4; font-weight: 500; margin: 12px 0; font-variant-numeric: tabular-nums; }
.package small { display: block; color: var(--muted); font-size: 13px; }
.pay-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.pay-row label { display: flex; align-items: center; gap: 8px; }
.pay-row input { margin: 0; }
.pay-row button { margin-left: auto; }
.split { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; align-items: start; }
.table-wrap { max-width: 100%; overflow: auto; overscroll-behavior-x: contain; }
table { border-collapse: collapse; width: 100%; font-size: 14px; white-space: nowrap; text-align: left; }
th { font-size: 12px; color: var(--muted); font-weight: 400; background: var(--surface); padding: 14px 12px; border-bottom: 1px solid var(--line); }
td { padding: 16px 12px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
td button { color: var(--accent); font-size: 12px; padding: 5px 9px; border: 1px solid var(--line); border-radius: var(--radius); margin-right: 8px; }
.positive { color: var(--success); }
.negative { color: var(--danger); }
.kpis { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; margin: 32px 0; }
.kpi { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: 24px; }
.kpi small { display: block; font-size: 13px; color: var(--muted); }
.kpi strong { display: block; font-size: clamp(24px,2.6vw,36px); line-height: 1.5; font-weight: 500; margin: 12px 0; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.kpi span { display: block; font-size: 12px; color: var(--muted); }
.admin-tabs { margin: 32px 0 24px; }
.admin-tabs button { padding: 10px 18px; }
#user-search { width: 220px; max-width: 100%; margin-top: 0; }
.settings { max-width: 850px; }
.settings label { max-width: 480px; margin-bottom: 24px; }
#view-digital > .panel { margin-bottom: 32px; }
.bar-chart { display: flex; align-items: flex-end; gap: 12px; height: 180px; margin: 24px 0 32px; }
.bar-column { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 7px; }
.bar-column .bar { width: 60%; min-height: 2px; background: var(--accent); opacity: .65; border-radius: 2px 2px 0 0; }
.bar-column small,.bar-column span { color: var(--muted); font-size: 11px; white-space: nowrap; }
.bar.h1 { height: 8%; } .bar.h2 { height: 16%; } .bar.h3 { height: 24%; } .bar.h4 { height: 32%; } .bar.h5 { height: 40%; } .bar.h6 { height: 48%; } .bar.h7 { height: 56%; } .bar.h8 { height: 64%; } .bar.h9 { height: 72%; } .bar.h10 { height: 80%; }
#digital-records td:nth-child(2) { max-width: 420px; overflow: hidden; text-overflow: ellipsis; }
pre,code,#new-key,.key-row { font-family: ui-monospace,SFMono-Regular,Consolas,monospace; }
pre { font-size: 13px; line-height: 1.85; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; max-width: 100%; overflow: auto; }
.key-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; border-bottom: 1px solid var(--line); padding: 16px 0; }
.key-row span { overflow-wrap: anywhere; }
.key-row small { font-size: 11px; color: var(--muted); }
.site-footer { background: var(--footer); color: var(--on-accent); padding: 56px 0; }
.footer-inner { width: min(1200px,calc(100% - 48px)); margin: auto; display: flex; justify-content: space-between; gap: 48px; }
.footer-brand strong { font-size: 26px; font-weight: 500; }
.footer-brand p { font-size: 14px; color: #ddd1ee; margin: 12px 0 16px; }
.footer-brand > span { color: #b7a5cc; font-size: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; min-width: 100px; }
.footer-links h3 { color: white; font-size: 15px; margin: 0 0 12px; font-weight: 500; }
.footer-links a { color: #ddd1ee; font-size: 13px; }
.footer-detail { font-size: 13px; color: #ddd1ee; }
.footer-detail p { margin: 12px 0; font-size: 12px; }
#connection-state { font-size: 11px; }
dialog { color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 80px var(--shadow-color); padding: 32px; width: calc(100% - 32px); max-width: 480px; max-height: calc(100svh - 32px); overflow: auto; }
dialog::backdrop { background: oklch(23% .035 285 / .45); }
dialog .close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; padding: 0; font-size: 28px; font-weight: 400; color: var(--muted); }
dialog h2 { font-size: 30px; margin: 20px 0 12px; }
dialog p { font-size: 14px; color: var(--secondary); margin: 12px 0 24px; }
dialog label { margin-bottom: 20px; }
.code-row { display: flex; align-items: stretch; gap: 10px; }
.code-row input { flex: 1; width: 0; }
.code-row button { flex-shrink: 0; font-size: 13px; padding: 10px 13px; margin-top: 8px; }
.login-note { text-align: center; font-size: 12px !important; margin: 16px 0 0 !important; }
#login-error:empty { display: none; }
#login-error,.dialog-notice { padding: 12px; margin: 0 0 16px; border-radius: var(--radius); font-size: 13px; line-height: 1.75; color: var(--danger); background: var(--danger-bg); }
#login-error.success { color: var(--success); background: var(--success-bg); }
.dialog-notice { margin: 16px 0 0; color: var(--secondary); background: var(--soft); }
#video-dialog { max-width: 1050px; width: calc(100% - 32px); padding: 56px 24px 24px; }
#preview-video { width: 100%; max-height: 75svh; object-fit: contain; background: #000; display: block; }
#toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); padding: 14px 24px; background: var(--accent); color: var(--on-accent); border-radius: var(--radius); box-shadow: 0 6px 24px var(--shadow-color); z-index: 100; font-size: 14px; max-width: calc(100% - 32px); width: max-content; }
body:has(dialog[open]) { overflow: hidden; }
@media(max-width:1180px) {
 .site-nav { padding-inline: 20px; } .nav-shell { justify-content: space-between; padding-inline: 20px; }
 .menu-toggle { display: flex; }
 .nav-menu { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px); padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: 0 10px 24px var(--shadow-color); max-height: calc(100svh - 140px); overflow: auto; }
 .nav-menu.open { display: block; }
 nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; } nav button { padding: 12px; text-align: left; font-size: 16px; }
 .nav-account { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 12px; justify-content: space-between; } .account { font-size: 15px; }
 .panel { padding: 24px; } .templates { gap: 6px; } .templates button { padding-inline: 10px; }
 .kpi { padding: 20px; } .kpis { gap: 16px; }
}
@media(max-width:1000px) {
 .studio-grid { grid-template-columns: 1fr; gap: 32px; } .empty { min-height: 360px; } .split { grid-template-columns: 1fr; }
 .intro-inner { align-items: flex-start; } .header-right { grid-template-columns: 1fr; gap: 8px; } .price-caption { text-align: left; max-width: 190px; } .balance b { font-size: 24px; }
 .kpis { grid-template-columns: repeat(2,minmax(0,1fr)); } .kpi strong { font-size: 32px; }
 .footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
}
@media(max-width:760px) {
 .site-nav { padding: 8px 16px; } .nav-shell { min-height: 76px; padding: 10px 16px; gap: 16px; } .site-nav.is-compact .nav-shell { min-height: 66px; }
 .brand { font-size: 20px; gap: 10px; } .brand-mark { width: 34px; height: 38px; font-size: 23px; } .brand small { font-size: 9px; }
 .intro-inner,main,.footer-inner { width: calc(100% - 40px); }
 .page-intro { padding: 128px 0 36px; } .intro-inner { flex-direction: column; gap: 24px; }
 h1 { font-size: 36px; margin-top: 12px; } h2 { font-size: 26px; } h3 { font-size: 22px; } #page-description { font-size: 15px; }
 .header-right { width: 100%; grid-template-columns: 1fr auto; gap: 8px 16px; } .price-caption { max-width: none; } .primary.small { font-size: 14px; padding: 10px 16px; }
 main { padding: 32px 0 48px; } .panel { padding: 24px; } .panel-heading { gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
 .panel-heading > .subtle { flex-shrink: 1; } .templates { margin-bottom: 24px; } .templates button { font-size: 13px; padding: 8px 11px; }
 label span { display: block; margin: 4px 0 0; } textarea { margin-bottom: 24px; }
 .upload { column-gap: 10px; padding: 16px; } .upload strong { font-size: 14px; } .upload small { font-size: 11px; }
 .upload .upload-plus { grid-row: span 2; } .generate-footer { gap: 12px; } .generate-footer button { min-width: 0; font-size: 15px; padding: 12px 20px; }
 .section-intro h2 { font-size: 28px; } .section-intro p { font-size: 15px; }
 .packages { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; } .package { padding: 20px; } .package strong { font-size: 28px; }
 .pay-row { gap: 20px; } .pay-row button { width: 100%; margin-left: 0; }
 .kpi { padding: 20px; } .kpi strong { font-size: 28px; } .kpi small { font-size: 12px; } .kpi span { font-size: 11px; }
 .admin-tabs { gap: 8px; } .admin-tabs button { font-size: 13px; padding: 9px 12px; }
 .bar-chart { gap: 5px; height: 150px; } .bar-column { gap: 5px; } .bar-column small,.bar-column span { font-size: 9px; }
 .bar-column:nth-child(even) small { visibility: hidden; } .bar-column .bar { width: 70%; }
 #user-search { width: 100%; } .footer-inner { gap: 32px; } .footer-brand { grid-column: 1/-1; } .footer-brand p { font-size: 14px; } .site-footer { padding-block: 40px; }
 dialog { padding: 24px; } dialog h2 { font-size: 28px; } .code-row button { font-size: 12px; padding-inline: 10px; }
 html { scroll-behavior: auto; }
}
@media(max-width:480px) {
 .panel { padding: 20px; } .templates { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; } .templates button { padding: 9px 7px; font-size: 14px; }
 .field-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 10px; } .field-grid label:last-child { grid-column: 1/-1; }
 .panel-heading h2 { font-size: 24px; } .panel-heading > .subtle { font-size: 12px; } .upload { grid-template-columns: 24px minmax(0,auto); }
 .empty { min-height: 320px; padding: 32px 16px; } .empty h3 { font-size: 20px; } .empty p { font-size: 13px; }
 .kpis { gap: 12px; } .kpi { padding: 16px; } .kpi strong { font-size: 25px; } .kpi span { font-size: 10px; }
 .package { padding: 16px; } .package small { font-size: 12px; } .package strong { font-size: 27px; }
 .pagination { gap: 10px; font-size: 11px; } .pagination button { padding-inline: 10px; } .header-right { gap: 8px; }
 .generate-footer button { padding-inline: 14px; font-size: 14px; } .generate-footer strong { font-size: 28px; }
 .code-row { gap: 8px; } .code-row button { max-width: 112px; }
 .footer-inner { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation: none !important; transition: none !important; } }
[hidden] { display: none !important; }
.text-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.close { display: inline-flex; align-items: center; justify-content: center; }
.close .lucide { width: 22px; height: 22px; }
@media(max-width:480px) { .kpi strong { font-size: clamp(18px,5.2vw,24px); } }
