@font-face{font-family:Inter;src:url("/assets/inter-vi.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:Inter;src:url("/assets/inter-latin.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root {
  color-scheme: light;
  --bg: #f8f9fc;
  --paper: #ffffff;
  --ink: #17182a;
  --muted: #5d6577;
  --line: #e3e6ee;
  --brand: #5038dc;
  --brand-dark: #4029bb;
  --lavender: #f1eeff;
  --green: #116847;
  --radius: 18px;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 0; background: var(--bg); color: var(--ink); font: 400 14px/1.55 Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #9b8bfb; outline-offset: 3px; }
svg.icon { display: inline-block; width: 18px; height: 18px; flex: 0 0 auto; vertical-align: middle; }
.shell { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; justify-self: start; }
.brand-logo { display: block; width: clamp(124px, 23vw, 168px); height: auto; }
.brand-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--brand); color: #fff; }
.brand-icon .icon { width: 20px; height: 20px; }
.navigation { display: flex; align-items: center; gap: 5px; margin-left: auto; }
.navigation a { display: inline-flex; align-items: center; gap: 6px; border-radius: 8px; padding: 9px 12px; font-weight: 620; font-size: 13px; color: var(--muted); white-space: nowrap; }
.navigation a:hover { color: var(--ink); background: #f3f4fa; }
.navigation a[aria-current="page"] { background: var(--lavender); color: var(--brand-dark); }
.locale { display: flex; align-items: center; padding: 3px; gap: 2px; border: 1px solid var(--line); border-radius: 9px; background: #f6f7fb; }
.locale a { padding: 4px 8px; min-width: 32px; border-radius: 6px; color: var(--muted); font-size: 12px; font-weight: 700; text-align: center; }
.locale a[aria-current="true"] { color: var(--ink); background: white; box-shadow: 0 1px 3px #20214212; }
.hero { padding: 51px 0 28px; }
.hero h1, .workspace-title h1 { margin: 0; font-size: clamp(37px, 5vw, 61px); line-height: 1.08; letter-spacing: -.066em; font-weight: 800; }
.hero h1 span { color: var(--brand); }
.hero p, .workspace-title p { margin: 12px 0 0; color: var(--muted); font-size: 16px; }
.studio { display: grid; grid-template-columns: 1.06fr .94fr; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--paper); box-shadow: 0 14px 44px #2522520b; }
.editor { padding: 30px; min-width: 0; }
.section-title { display: flex; align-items: center; gap: 10px; margin: 0 0 23px; font-size: 18px; font-weight: 750; letter-spacing: -.025em; line-height: 1.2; }
.section-title .icon { color: var(--brand); }
.field { display: grid; gap: 7px; min-width: 0; }
.field label, .field-label { font-size: 13px; font-weight: 700; }
.input-wrap { display: flex; align-items: center; position: relative; }
.input-wrap > .icon { position: absolute; left: 13px; color: #6a7086; pointer-events: none; }
input[type="text"], input[type="url"], input[type="search"], input[type="time"], select, textarea { width: 100%; min-width: 0; height: 47px; border: 1px solid #dce0ea; border-radius: 9px; color: var(--ink); padding: 0 12px; background: #fff; }
textarea { height: auto; min-height: 112px; padding: 10px 12px; resize: vertical; }
.input-wrap input { padding-left: 40px; }
input::placeholder { color: #6e7588; opacity: 1; }
input[aria-invalid="true"] { border-color: #ba3750; }
.form-error { min-height: 18px; margin: 0; color: #a52744; font-size: 12px; line-height: 1.35; }
.link-check-status { margin: 0; font-size: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); padding: 9px 13px; font-size: 13px; line-height: 1.25; font-weight: 720; white-space: nowrap; transition: background .15s, border-color .15s; }
.btn:hover { background: #f5f5fd; border-color: #cbd0e7; }
.btn-primary { color: #fff; background: var(--brand); border-color: var(--brand); }
.btn-primary:hover { color: #fff; background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-quiet { border-color: transparent; background: transparent; }
.btn-sm { min-height: 34px; padding: 6px 10px; font-size: 12px; }
.btn-block { width: 100%; min-height: 47px; }
.examples { margin-top: 17px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.example-prefix { margin-right: 3px; color: var(--muted); font-size: 12px; }
.chip { min-height: 29px; border: 1px solid #e4e6ef; border-radius: 99px; background: #f9f9fd; padding: 4px 10px; font-size: 11.5px; font-weight: 640; color: #474c62; }
.chip:hover { border-color: #aaa0f0; color: var(--brand-dark); }
.customize { margin-top: 22px; padding-top: 19px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.customize p { margin: 3px 0 0; color: var(--muted); font-size: 11.5px; }
.swatches { display: flex; gap: 6px; }
.swatch { width: 32px; height: 32px; border-radius: 9px; border: 2px solid white; box-shadow: 0 0 0 1px #dfe2eb; color: #fff; background: var(--swatch); display: grid; place-items: center; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px #8171f3; }
.swatch span { opacity: 0; font-weight: 800; font-size: 14px; }
.swatch[aria-pressed="true"] span { opacity: 1; }
.preview { min-width: 0; padding: 25px 28px 20px; background: #f0eeff; background-image: radial-gradient(#a49cde4d 1px, transparent 1px); background-size: 16px 16px; border-left: 1px solid #e7e3fc; display: flex; flex-direction: column; align-items: center; }
.preview-head { align-self: stretch; display: flex; justify-content: space-between; align-items: center; gap: 6px; font-weight: 720; }
.badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 99px; padding: 4px 9px; font-size: 11px; font-weight: 720; line-height: 1.2; white-space: nowrap; background: #ececf4; color: #555c73; }
.badge-static { background: #fff; color: var(--brand-dark); box-shadow: 0 0 0 1px #ded7ff; }
.badge-active { background: #e7f7ee; color: #12654a; }
.badge-paused { background: #eff0f4; color: #5a6172; }
.badge-trial { background: #fff3df; color: #7c4a00; }
.qr-frame { margin: 15px 0 11px; padding: 9px; border-radius: 18px; background: #fff; box-shadow: 0 8px 25px #41329216; }
.qr-frame canvas { display: block; width: clamp(132px, 17vw, 180px); height: auto; border-radius: 5px; image-rendering: pixelated; }
.preview-target { max-width: min(100%, 320px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 3px 10px; background: #fff; border-radius: 99px; color: #515871; font-size: 11.5px; font-weight: 600; }
.preview-actions { margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.preview-actions .btn { min-width: 107px; }
.preview-hint { text-align: center; color: #545b75; font-size: 11.5px; margin: 10px 0 0; }
.use-cases { padding: 30px 0 42px; }
.use-cases h2 { margin: 0 0 12px; letter-spacing: -.035em; font-size: 21px; line-height: 1.25; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.case-card { display: flex; align-items: flex-start; gap: 11px; padding: 13px 14px; border: 1px solid var(--line); background: #fff; border-radius: 12px; text-align: left; color: var(--ink); min-width: 0; }
.case-card:hover { border-color: #a297ed; }
.case-icon, .stat-icon { border-radius: 9px; background: var(--lavender); color: var(--brand-dark); display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; }
.case-copy { min-width: 0; flex: 1; }
.case-card strong { display: block; line-height: 1.25; font-size: 13px; }
.case-card p { margin: 3px 0 0; font-size: 11.5px; color: var(--muted); }
.case-card > .icon { width: 14px; height: 14px; color: var(--muted); margin-top: 2px; }
.footer { border-top: 1px solid var(--line); color: var(--muted); background: #fff; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 62px; font-size: 12px; }
.footer-brand { color: var(--ink); font-weight: 740; }
.footer a:hover { color: var(--brand); }
.workspace { display: grid; grid-template-columns: 204px minmax(0, 1fr); gap: 30px; padding-top: 28px; padding-bottom: 42px; min-height: calc(100vh - 135px); }
.side { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 15px 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); align-self: start; }
.side-person { display: flex; align-items: center; gap: 9px; padding: 0 7px 13px; margin-bottom: 7px; border-bottom: 1px solid var(--line); }
.avatar { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 8px; font-size: 12px; color: var(--brand-dark); background: var(--lavender); font-weight: 800; }
.side-person div { min-width: 0; }
.side-person strong { display: block; font-size: 12px; overflow-wrap: anywhere; }
.side-person small { display: block; color: var(--muted); font-size: 11px; }
.side a, .side button { display: flex; gap: 8px; align-items: center; color: var(--muted); border-radius: 8px; border: 0; padding: 9px 8px; background: transparent; text-align: left; font-size: 12px; font-weight: 680; }
.side a:hover, .side button:hover { background: #f5f5fb; color: var(--ink); }
.side [aria-current="page"] { background: var(--lavender); color: var(--brand-dark); }
.side .icon { width: 16px; height: 16px; }
.workspace-main { min-width: 0; }
.workspace-title { display: flex; gap: 16px; align-items: flex-end; justify-content: space-between; padding: 2px 0 18px; }
.workspace-title h1 { font-size: clamp(29px, 4vw, 41px); letter-spacing: -.055em; }
.workspace-title p { font-size: 13px; margin-top: 7px; }
.workspace-title .btn { flex: 0 0 auto; }
.workspace-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.demo-note { margin: 0 0 15px; display: flex; gap: 7px; align-items: center; font-size: 12px; color: #4a3d8e; }
.demo-note .icon { width: 15px; height: 15px; }
.dynamic-entry, .scan-open { display: inline-flex; align-items: center; gap: 5px; color: var(--brand-dark); font-weight: 700; }
.dynamic-entry { margin-top: 14px; }
.dynamic-entry:hover, .scan-open:hover { text-decoration: underline; }
.dynamic-entry .icon, .scan-open .icon { width: 14px; height: 14px; }
.code-mode { display: flex; gap: 6px; margin-bottom: 12px; }
.code-mode [aria-pressed="true"] { background: var(--lavender); border-color: #ded7ff; color: var(--brand-dark); }
.code-load-error p { margin: 0 0 8px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.stat { border: 1px solid var(--line); border-radius: 13px; background: #fff; padding: 12px; min-width: 0; display: flex; align-items: center; gap: 9px; }
.stat p { margin: 0; font-size: 11px; color: var(--muted); overflow-wrap: anywhere; }
.stat strong { font-size: 22px; font-weight: 790; letter-spacing: -.045em; line-height: 1.1; }
.data-panel { background: white; border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; overflow: hidden; }
.toolbar { padding: 13px; display: flex; align-items: center; gap: 8px; }
.toolbar .input-wrap { flex: 1; min-width: 135px; }
.toolbar select { width: auto; max-width: 45%; }
.toolbar input, .toolbar select { height: 38px; font-size: 12px; }
.toolbar .btn { min-height: 38px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.data-table th { text-align: left; color: var(--muted); background: #f6f7fc; border-block: 1px solid var(--line); padding: 9px 13px; font-size: 11px; font-weight: 690; }
.data-table td { padding: 11px 13px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td strong { display: block; font-weight: 720; }
.data-table td small { display: block; color: var(--muted); font-size: 10.5px; overflow-wrap: anywhere; }
.data-table td .schedule-indicator { margin-top: 4px; color: var(--brand-dark); }
.data-table td.actions { white-space: nowrap; text-align: right; }
.data-table td.actions .btn + .btn { margin-left: 4px; }
.empty { padding: 20px 13px; color: var(--muted); font-size: 13px; }
dialog { width: min(460px, calc(100% - 30px)); max-height: calc(100% - 30px); border: 1px solid #dedff0; border-radius: 17px; box-shadow: 0 20px 90px #15173c33; color: var(--ink); padding: 0; }
dialog::backdrop { background: #15152b73; }
.dialog-inner { padding: 20px; }
.dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 15px; }
.dialog-head h2 { margin: 2px 0 0; line-height: 1.2; letter-spacing: -.035em; font-size: 21px; }
.dialog-close { min-height: 32px; width: 32px; padding: 0; font-size: 19px; }
.dialog-fields { display: grid; gap: 11px; }
.dialog-fields .two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; margin-top: 13px; }
.dialog-actions .push { margin-right: auto; }
.batch-intro { margin: -3px 0 13px; }
.batch-capacity { margin: 9px 0 4px; font-size: 12px; }
.batch-result { margin: 6px 0 0; color: var(--green); font-weight: 650; }
.schedule-editor { background: #f8f7ff; border: 1px solid #e8e3fb; border-radius: 11px; padding: 11px; }
.schedule-toggle { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.schedule-toggle input { margin: 0; accent-color: var(--brand); }
.schedule-fields { min-width: 0; padding: 0; margin: 8px 0 0; border: 0; }
.schedule-fields p { margin: 0; font-size: 12px; }
.schedule-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.schedule-days label { position: relative; cursor: pointer; min-width: 0; }
.schedule-days input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.schedule-days span { display: grid; place-items: center; min-height: 35px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); font-size: 11px; }
.schedule-days input:checked + span { border-color: #cec4ff; background: var(--lavender); color: var(--brand-dark); }
.schedule-days input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.history { margin-top: 11px; border: 1px solid var(--line); background: #f8f8fe; border-radius: 9px; padding: 9px; display: flex; gap: 7px; align-items: center; justify-content: space-between; }
.history-copy { min-width: 0; font-size: 11px; overflow-wrap: anywhere; }
.history-copy span { color: var(--muted); display: block; }
.inspect-content { text-align: center; }
.inspect-content canvas { width: 186px; height: auto; max-width: 100%; image-rendering: pixelated; display: block; margin: auto; }
.inspect-content p { margin: 7px 0; color: var(--muted); overflow-wrap: anywhere; }
.inspect-content .btn { margin-top: 4px; }
.scan-details { margin: 10px 0; text-align: left; }
.scan-details label, .scan-details p span { display: block; font-size: 12px; font-weight: 690; }
.scan-details p a { text-decoration: underline; }
.scan-copy { display: flex; align-items: center; gap: 7px; margin-top: 4px; }
.scan-copy input { flex: 1; min-width: 0; font-size: 12px; }
.scan-copy .btn { white-space: nowrap; margin: 0; }
.auth-shell { display: grid; place-items: center; padding-block: 58px 90px; }
.auth-card { width: min(480px, 100%); padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); }
.auth-card .brand-icon { margin-bottom: 15px; }
.auth-card h1 { font-size: clamp(28px, 5vw, 39px); letter-spacing: -.055em; }
.auth-card p { color: var(--muted); margin: 9px 0 16px; }
.auth-card .btn { width: 100%; justify-content: center; }
.account-shell { max-width: 904px; padding-block: 28px 54px; min-height: calc(100vh - 135px); }
.account-shell .workspace-title { align-items: center; }
.account-overview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.account-panel { padding: 21px; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.account-panel .section-title { margin-bottom: 16px; }
.account-person { display: flex; align-items: center; gap: 12px; }
.account-avatar { width: 48px; height: 48px; border-radius: 13px; font-size: 18px; }
.account-person > div { min-width: 0; overflow-wrap: anywhere; }
.account-person strong, .account-plan-name { display: block; font-size: 16px; }
.account-person p, .account-plan-line, #account-missing-profile p { margin: 2px 0 0; color: var(--muted); }
.account-plan-line:empty { display: none; }
.account-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
#account-missing-profile .btn { margin-top: 10px; }
#account-portal-error { margin-top: 8px; }
.account-confirmation { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 10px 14px; margin-bottom: 12px; background: var(--lavender); border-radius: 12px; color: var(--brand-dark); }
.account-confirmation p { margin: 0; }
.account-billing { margin-top: 12px; }
.account-billing-head { display: flex; align-items: flex-start; gap: 7px 12px; flex-wrap: wrap; }
.account-billing-head .badge { margin: 1px 0 8px; }
.account-billing-status { margin: 0; color: var(--muted); }
.account-billing-status + .btn { margin-top: 9px; }
.account-invoices { list-style: none; margin: 0; padding: 0; }
.account-invoice { display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: center; justify-items: start; gap: 7px 12px; min-height: 55px; padding-block: 8px; border-top: 1px solid var(--line); }
.account-invoice-date, .account-invoice-amount small { color: var(--muted); }
.account-invoice-amount { font-variant-numeric: tabular-nums; }
.account-invoice-amount small { display: block; }
.account-invoice-link { justify-self: end; }
.account-recent { margin: 9px 0 0; color: var(--muted); font-size: 12px; }
.admin-table td:first-child { overflow-wrap: anywhere; }
.admin-table td .admin-mobile-label { display: none; }
.admin-controls:has(> :not([hidden])) { padding: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.admin-controls p { margin: 0; }
.admin-blocks { margin-top: 12px; }
.admin-blocks > p { margin: 5px 0; }
.block-form { display: grid; grid-template-columns: minmax(90px, .85fr) minmax(120px, 1.8fr) minmax(100px, 1fr) auto; align-items: end; gap: 8px; margin-block: 12px 5px; }
.block-form .btn { min-height: 47px; }
.block-rules { list-style: none; padding: 0; margin: 10px 0 0; }
.block-rule { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 9px 0; border-top: 1px solid var(--line); }
.block-rule-detail { min-width: 0; overflow-wrap: anywhere; }
.block-rule-detail small { display: block; }
.plan-bar { background: var(--paper); border: 1px solid var(--line); border-radius: 13px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; margin-bottom: 12px; }
.plan-bar p { margin: 2px 0; font-size: 12px; }
.muted { color: var(--muted); }
.plan-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.free-options { display: grid; gap: 6px; margin-top: 14px; }
.free-options label { display: flex; align-items: center; gap: 8px; min-height: 34px; overflow-wrap: anywhere; }
.free-options input { width: 16px; height: 16px; margin: 0; accent-color: var(--brand); flex: 0 0 auto; }
.prices { padding-bottom: 44px; }
.price-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.price-controls label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.price-controls select { width: 78px; height: 37px; }
.cycle-switch { display: flex; border: 1px solid var(--line); border-radius: 10px; padding: 3px; background: var(--paper); }
.cycle-switch button { border: 0; background: transparent; color: var(--muted); font-weight: 650; border-radius: 7px; padding: 6px 10px; }
.cycle-switch button[aria-pressed="true"] { background: var(--lavender); color: var(--brand-dark); }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.price-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; }
.price-featured { border-color: #a59aee; box-shadow: 0 4px 18px #5038dc0d; }
.price-card h2 { font-size: 18px; letter-spacing: -.02em; }
.price-amount { min-height: 65px; display: flex; gap: 6px; align-items: baseline; margin-top: 8px; flex-wrap: wrap; }
.price-amount strong { font-size: clamp(23px, 3.8vw, 36px); letter-spacing: -.06em; }
.price-amount span, .price-notes { color: var(--muted); font-size: 12px; }
.price-card ul { margin: 0 0 20px; padding-inline-start: 17px; color: var(--muted); }
.price-card li + li { margin-top: 5px; }
.price-card .btn { margin-top: auto; justify-content: center; }
.price-notes { margin-top: 14px; }
.price-notes p { margin: 6px 0; }
#qr-checkout-status:not(:empty) { font-weight: 680; color: var(--brand-dark); }
@media (max-width: 740px) {
  .price-grid { grid-template-columns: 1fr; }
  .price-amount { min-height: 0; margin-bottom: 13px; }
}
.plan-actions .btn { white-space: nowrap; }
.toast { position: fixed; bottom: 20px; right: 20px; z-index: 5; max-width: min(385px, calc(100% - 40px)); padding: 11px 14px; background: #1b2035; color: white; box-shadow: 0 8px 30px #15173b36; border-radius: 10px; font-size: 13px; }
.print-area { display: none; }
@media (max-width: 950px) {
  .shell { width: calc(100% - 40px); }
  .workspace { grid-template-columns: 162px minmax(0, 1fr); gap: 16px; }
  .data-table td, .data-table th { padding-inline: 9px; }
}
@media (max-width: 740px) {
  .hero { padding-top: 31px; }
  .header-inner { gap: 8px; }
  .navigation a { padding-inline: 8px; font-size: 12px; }
  .editor { padding: 20px; }
  .preview { padding-inline: 16px; }
  .studio { grid-template-columns: minmax(0, 1fr) minmax(0, .94fr); }
  .workspace { display: block; min-height: calc(100vh - 135px); }
  .side { display: none; }
}
@media (max-width: 560px) {
  .shell { width: calc(100% - 28px); }
  .header-inner { min-height: 0; display: grid; grid-template-columns: 1fr auto; column-gap: 8px; row-gap: 6px; padding: 12px 0 8px; }
  .brand-logo { width: 146px; }
  .brand-icon { width: 32px; height: 32px; border-radius: 8px; }
  .navigation { grid-row: 2; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); margin-left: 0; gap: 3px; }
  body[data-release="live"] .navigation { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .navigation a { justify-content: center; padding: 7px 3px; font-size: 11.5px; }
  .locale { grid-row: 1; grid-column: 2; }
  .hero { padding: 25px 0 19px; }
  .hero h1 { font-size: clamp(34px, 9.2vw, 46px); }
  .hero p { font-size: 13.5px; margin-top: 8px; }
  .studio { display: block; border-radius: 17px; }
  .editor { padding: 17px; }
  .section-title { margin-bottom: 15px; font-size: 16px; }
  .customize { margin-top: 15px; padding-top: 13px; }
  .preview { padding: 15px 16px 13px; border-left: 0; border-top: 1px solid #e7e3fc; }
  .qr-frame { margin-top: 11px; }
  .qr-frame canvas { width: 150px; }
  .case-grid { grid-template-columns: 1fr; gap: 7px; }
  .use-cases { padding: 23px 0 30px; }
  .use-cases h2 { font-size: 18px; }
  .footer-inner { min-height: 54px; }
  .workspace { padding-top: 20px; }
  .workspace-title { align-items: flex-start; flex-wrap: wrap; padding-bottom: 12px; gap: 9px; }
  .workspace-title h1 { font-size: 32px; }
  .workspace-title p { margin-top: 4px; font-size: 12px; }
  .stats { gap: 5px; }
  .stat { padding: 7px; gap: 5px; }
  .stat-icon { display: none; }
  .stat p { font-size: 10px; }
  .stat strong { font-size: 19px; }
  .toolbar { flex-wrap: wrap; padding: 10px; gap: 6px; }
  .toolbar .input-wrap { flex-basis: 100%; }
  .toolbar select { max-width: 57%; }
  .data-table, .data-table tbody { display: block; }
  .data-table thead { position: absolute; clip: rect(0, 0, 0, 0); width: 1px; height: 1px; overflow: hidden; }
  .data-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding: 9px 10px; gap: 5px 7px; border-top: 1px solid var(--line); }
  .data-table td { border: 0; padding: 0; min-width: 0; }
  .data-table td:first-child { grid-column: 1 / -1; }
  .data-table td.actions { grid-column: 1 / -1; text-align: left; margin-top: 4px; }
  .dialog-inner { padding: 16px; }
  .dialog-fields .two-fields { grid-template-columns: 1fr; }
  .account-shell { padding-block: 20px 36px; }
  .account-overview { grid-template-columns: 1fr; }
  .account-panel { padding: 16px; }
  .account-invoice { grid-template-columns: minmax(0, 1fr) auto; }
  .account-invoice-amount { justify-self: end; text-align: right; }
  .account-invoice .btn { min-height: 38px; }
  .admin-table tr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-table td .admin-mobile-label { display: block; }
  .block-form { grid-template-columns: minmax(0, 1fr); }
  .block-form input, .block-form select { font-size: 16px; }
  #batch-form input, #batch-form textarea, .schedule-fields input { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@page { size: A4; margin: 10mm; }
@media print {
  body { background: #fff; color: #111; }
  body > :not(.print-area) { display: none !important; }
  .print-area { display: block; }
  .print-area h1 { font-size: 18pt; margin: 0 0 4mm; }
  .print-area > p { font-size: 9pt; margin: 0 0 5mm; }
  .print-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4mm; }
  .print-card { break-inside: avoid; border: 1px dashed #9da1ac; border-radius: 2mm; padding: 3mm; text-align: center; overflow-wrap: anywhere; }
  .print-card canvas { display: block; width: 33mm; max-width: 100%; height: auto; margin: auto; image-rendering: pixelated; }
  .print-card strong { display: block; font-size: 10pt; }
  .print-card small { display: block; font-size: 8pt; }
}

.label-preview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-height: min(360px, 48vh); overflow: auto; }
.label-preview .print-card { border: 1px dashed #c9cbe0; background: #fdfdff; padding: 8px; border-radius: 8px; display: grid; justify-items: center; text-align: center; min-width: 0; overflow-wrap: anywhere; }
.label-preview canvas { width: 86px; max-width: 100%; height: auto; image-rendering: pixelated; }
.label-preview strong { display: block; font-size: 12px; }
.label-preview small { color: var(--muted); font-size: 10px; }

