@charset "UTF-8";
:root {
  color-scheme: light;
  --page: #f2f3f7;
  --surface: #fff;
  --surface-soft: #f7f8fa;
  --surface-hover: #eef1f7;
  --ink: #20242c;
  --muted: #697386;
  --line: #e3e6ec;
  --line-strong: #cbd2df;
  --blue: #005bff;
  --blue-hover: #004de0;
  --blue-soft: #edf3ff;
  --blue-line: #bdd3ff;
  --on-blue: #fff;
  --success: #167648;
  --success-soft: #e9f7ef;
  --danger: #c73849;
  --danger-soft: #fff0f2;
  --warning: #855400;
  --warning-soft: #fff8e8;
  --checker: #e7eaf0;
  --overlay: #f3f5f9df;
  --shadow: 0 4px 16px #17244908;
  font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  color: var(--ink);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #101216;
  --surface: #1a1d23;
  --surface-soft: #22262e;
  --surface-hover: #2c313b;
  --ink: #edf0f7;
  --muted: #a1aabc;
  --line: #303641;
  --line-strong: #4b5567;
  --blue: #6c9cff;
  --blue-hover: #8db3ff;
  --blue-soft: #202e49;
  --blue-line: #3a578c;
  --on-blue: #071b40;
  --success: #76d5a4;
  --success-soft: #193a2c;
  --danger: #ff96a2;
  --danger-soft: #44242c;
  --warning: #edca86;
  --warning-soft: #382e1c;
  --checker: #303641;
  --overlay: #1a1d23e3;
  --shadow: 0 4px 16px #0002;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--page); }
button, input, textarea { font: inherit; color: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
[hidden] { display: none !important; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.app-shell { min-height: 100vh; }
.topbar { height: 76px; padding: 0 32px; display: flex; align-items: center; gap: 44px; border-bottom: 1px solid var(--line); background: var(--surface); }
.brand { display: flex; align-items: center; gap: 8px; font-size: 29px; font-weight: 800; letter-spacing: -1.1px; flex: none; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; background: #005bff; border-radius: 9px; }
.brand-mark svg { width: 30px; height: 30px; stroke: #fff; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.brand-caption { border-left: 1px solid var(--line-strong); padding-left: 13px; margin-left: 8px; color: var(--muted); font-size: 11px; line-height: 1.3; font-weight: 500; letter-spacing: 0; max-width: 73px; }
.navigation { display: flex; gap: 4px; align-self: stretch; }
.nav-item { display: flex; align-items: center; gap: 8px; padding: 0 15px; border: 0; border-bottom: 3px solid transparent; background: transparent; font-size: 14px; font-weight: 600; color: var(--muted); }
.nav-item:hover { color: var(--ink); background: var(--surface-soft); }
.nav-item.active { color: var(--blue); border-bottom-color: var(--blue); }
.nav-item .icon { width: 18px; height: 18px; }
.nav-count { min-width: 21px; padding: 1px 5px; border-radius: 5px; background: var(--surface-hover); color: var(--muted); font-size: 10px; text-align: center; }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.connection { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--muted); white-space: nowrap; margin-right: 7px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
.status-dot.online { background: var(--success); }
.status-dot.offline { background: var(--danger); }
.theme-toggle { display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line); background: var(--surface); min-height: 36px; padding: 7px 10px; border-radius: 8px; font-size: 12px; font-weight: 500; }
.theme-toggle:hover { background: var(--surface-soft); border-color: var(--line-strong); }
.theme-toggle .icon { width: 17px; height: 17px; }
.theme-sun { display: none; }
[data-theme="dark"] .theme-sun { display: block; }
[data-theme="dark"] .theme-moon { display: none; }
main { max-width: 1440px; padding: 29px 32px 20px; margin: 0 auto; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.page-heading h1 { font-size: 28px; line-height: 1.25; letter-spacing: -.65px; font-weight: 700; }
.page-heading p { margin-top: 7px; font-size: 13px; color: var(--muted); }
.workspace-badge { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 500; color: var(--muted); }
.workspace-badge .icon { width: 16px; height: 16px; }
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 348px; gap: 24px; align-items: start; }
.settings-panel, .content-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); min-width: 0; }
.settings-panel { grid-column: 2; grid-row: 1; padding: 22px; }
.content-panel { grid-column: 1; grid-row: 1; padding: 24px; min-height: 656px; }
.panel-heading { display: flex; align-items: center; gap: 9px; padding-bottom: 19px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.panel-heading > .icon { color: var(--muted); width: 19px; height: 19px; }
.panel-heading h2 { font-size: 16px; font-weight: 650; letter-spacing: -.2px; }
.file-counter { margin-left: auto; padding: 3px 8px; border-radius: 5px; background: var(--surface-soft); color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.mode-fieldset { border: 0; margin: 0; padding: 0; }
.mode-fieldset legend, .field-group > label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.mode-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mode-button { display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: 12px 11px; min-height: 101px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.mode-button:hover { border-color: var(--line-strong); background: var(--surface-soft); }
.mode-button.selected { border-color: var(--blue); background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--blue); }
.mode-button .icon { width: 21px; height: 21px; color: var(--muted); margin-bottom: 8px; }
.mode-button.selected .icon, .mode-button.selected strong { color: var(--blue); }
.mode-button strong { font-size: 12px; line-height: 1.5; font-weight: 600; }
.mode-button span { font-size: 10px; color: var(--muted); margin-top: 1px; }
.mode-explanation { font-size: 11px; line-height: 1.55; color: var(--muted); margin: 12px 0 21px; }
.field-group { margin-bottom: 19px; }
.optional { color: var(--muted); font-size: 10px; font-weight: 400; margin-left: 3px; }
.template-options { display: flex; gap: 6px; }
.template-option { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 9px 4px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); font-size: 10px; }
.template-option:hover { border-color: var(--line-strong); }
.template-option.selected { border-color: var(--blue-line); color: var(--blue); background: var(--blue-soft); }
.template-swatch { width: 15px; height: 15px; border-radius: 4px; border: 1px solid #0002; flex: none; }
.swatch-studio { background: #f3f4f7; }
.swatch-gradient { background: linear-gradient(145deg, #d4e5ff, #448aff); }
.swatch-editorial { background: linear-gradient(90deg, #303846 45%, #e3e7ed 45%); }
input[type=text], input:not([type]), textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 7px; padding: 10px 11px; background: var(--surface); font-size: 12px; line-height: 1.6; }
textarea { resize: vertical; min-height: 82px; }
textarea::placeholder, input::placeholder { color: var(--muted); opacity: .82; }
input:focus, textarea:focus { border-color: var(--blue); }
.field-hint { font-size: 10px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.color-field { margin-bottom: 0; }
.color-control { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 7px; padding: 8px 10px; }
.color-control input { width: 25px; height: 25px; padding: 0; border: 0; border-radius: 5px; cursor: pointer; background: none; overflow: hidden; }
.color-control input::-webkit-color-swatch-wrapper { padding: 0; }
.color-control input::-webkit-color-swatch, .color-control input::-moz-color-swatch { border: 0; border-radius: 5px; }
#color-value { font-size: 11px; font-variant-numeric: tabular-nums; }
.color-caption { margin-left: auto; font-size: 10px; color: var(--muted); }
.submit-area { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 19px; }
.submit-area > .button { width: 100%; justify-content: flex-start; min-height: 46px; }
.button-arrow { margin-left: auto; }
.submit-area > p { font-size: 10px; color: var(--muted); text-align: center; margin-top: 9px; }
.estimate-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
.estimate-row > div { display: flex; flex-direction: column; }
.estimate-row span { font-size: 11px; }
.estimate-row small { font-size: 10px; color: var(--muted); margin-top: 1px; }
.estimate-row strong { font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 8px; padding: 10px 16px; min-height: 42px; font-size: 12px; font-weight: 600; line-height: 1.4; white-space: nowrap; transition: background .15s, border-color .15s; }
.button .icon { width: 18px; height: 18px; }
.button-primary { background: var(--blue); color: var(--on-blue); }
.button-primary:hover:not(:disabled) { background: var(--blue-hover); }
.button-primary:disabled { background: var(--surface-hover); color: var(--muted); }
.button-outline { border-color: var(--line-strong); background: var(--surface); }
.button-outline:hover { border-color: var(--blue); color: var(--blue); }
.button-quiet { color: var(--blue); background: var(--blue-soft); }
.button-quiet:hover { border-color: var(--blue-line); }
.button-small { min-height: 36px; padding: 7px 11px; font-size: 11px; }
.button-small .icon { width: 16px; height: 16px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; border: 0; padding: 7px; border-radius: 6px; background: transparent; color: var(--muted); }
.icon-button:hover { background: var(--surface-hover); color: var(--blue); }
.icon-button .icon { width: 17px; height: 17px; }
.text-button { display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; color: var(--blue); font-size: 11px; font-weight: 500; padding: 7px 0; }
.text-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.text-button .icon { width: 15px; height: 15px; }
.upload-zone { display: flex; flex-direction: column; align-items: center; text-align: center; border: 1.5px dashed var(--blue-line); background: var(--blue-soft); border-radius: 9px; padding: 30px 20px 23px; cursor: pointer; }
.upload-zone:hover, .upload-zone.drag-over { border-color: var(--blue); }
.upload-zone.drag-over { box-shadow: inset 0 0 0 1px var(--blue); }
.upload-zone[aria-disabled="true"] { opacity: .65; cursor: progress; }
.upload-icon { display: grid; place-items: center; color: var(--blue); width: 42px; height: 42px; border-radius: 10px; background: var(--surface); margin-bottom: 12px; }
.upload-icon .icon { width: 22px; height: 22px; }
.upload-copy strong { display: block; font-size: 15px; font-weight: 650; }
.upload-copy > span { display: block; margin-top: 5px; font-size: 12px; color: var(--muted); }
.upload-link { color: var(--blue); font-weight: 500; }
.paste-hint { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); margin-top: 13px; }
kbd { font-family: inherit; font-size: 11px; min-width: 33px; padding: 1px 5px; background: var(--surface); border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 4px; color: var(--ink); }
.upload-zone small { margin-top: 17px; color: var(--muted); font-size: 10px; }
.upload-zone.compact { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; padding: 15px 17px; text-align: left; gap: 12px; }
.upload-zone.compact .upload-icon { margin: 0; width: 35px; height: 35px; }
.upload-zone.compact .upload-copy strong { font-size: 12px; }
.upload-zone.compact .upload-copy > span { font-size: 10px; margin-top: 2px; }
.upload-zone.compact .paste-hint { margin: 0 0 0 auto; }
.upload-zone.compact small { flex-basis: 100%; margin: 0; }
.upload-summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 11px; color: var(--muted); margin-top: 13px; }
.upload-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(126px, 1fr)); gap: 12px; margin-top: 8px; }
.upload-file { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface); position: relative; min-width: 0; }
.upload-file img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--surface-soft); image-orientation: from-image; }
.upload-file-info { padding: 8px 9px; }
.upload-file-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 500; }
.upload-file-size { display: block; font-size: 10px; color: var(--muted); margin-top: 2px; }
.file-remove { position: absolute; right: 6px; top: 6px; width: 24px; height: 24px; display: grid; place-items: center; background: #fff; color: #303640; border: 0; border-radius: 5px; box-shadow: 0 1px 8px #0002; }
.file-remove:hover { color: #ce2841; }
.file-remove .icon { width: 14px; height: 14px; }
.source-note { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 10px; line-height: 1.65; padding-top: 14px; }
.source-note .icon { width: 15px; height: 15px; margin-top: 1px; }
.canvas-empty { margin-top: 33px; border-top: 1px solid var(--line); padding-top: 23px; }
.empty-heading { display: flex; align-items: center; gap: 9px; }
.empty-heading .icon { width: 18px; height: 18px; color: var(--muted); }
.empty-heading h3 { font-size: 13px; font-weight: 600; }
.workflow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 20px 0 10px; padding: 0; gap: 16px; }
.workflow li { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; min-width: 0; }
.workflow-number { display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid var(--line); border-radius: 6px; font-size: 11px; color: var(--muted); font-weight: 600; }
.workflow strong { font-size: 11px; font-weight: 600; }
.workflow p { color: var(--muted); font-size: 10px; line-height: 1.6; margin-top: 4px; }
.result-section { margin-top: 25px; scroll-margin-top: 20px; }
.result-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 24px; border-top: 1px solid var(--line); margin-bottom: 17px; }
.eyebrow { font-size: 9px; font-weight: 600; color: var(--muted); letter-spacing: .6px; }
.result-heading h2 { font-size: 20px; font-weight: 650; letter-spacing: -.4px; margin-top: 4px; }
.batch-summary { display: flex; align-items: center; gap: 24px; padding: 16px; border-radius: 8px; background: var(--surface-soft); border: 1px solid var(--line); }
.summary-progress { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; flex: 1; font-size: 11px; color: var(--muted); }
.summary-progress strong { margin-left: auto; color: var(--ink); font-size: 12px; font-variant-numeric: tabular-nums; }
.progress-track { height: 5px; width: 100%; background: var(--line); border-radius: 5px; overflow: hidden; }
.progress-track > div { background: var(--blue); width: 0; height: 100%; border-radius: 5px; transition: width .3s; }
.cost-summary { display: flex; flex-direction: column; padding-left: 20px; border-left: 1px solid var(--line-strong); min-width: 115px; }
.cost-summary > span, .cost-summary small { font-size: 9px; color: var(--muted); }
.cost-summary strong { font-size: 18px; line-height: 1.5; font-weight: 650; font-variant-numeric: tabular-nums; }
.result-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 20px 0 15px; }
.result-filters { display: flex; gap: 2px; }
.filter-button { border: 0; background: transparent; color: var(--muted); padding: 7px 10px; font-size: 11px; border-radius: 6px; white-space: nowrap; }
.filter-button:hover { background: var(--surface-soft); }
.filter-button.active { color: var(--blue); background: var(--blue-soft); font-weight: 600; }
.filter-button span { margin-left: 4px; font-size: 10px; }
.result-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); gap: 14px; }
.result-card { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; overflow: hidden; min-width: 0; }
.result-card.accepted { border-color: var(--blue); }
.result-image { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; position: relative; overflow: hidden; }
.result-image img { width: 100%; height: 100%; object-fit: contain; }
.result-image button { position: absolute; inset: 0; border: 0; background: transparent; }
.result-image button:focus-visible { outline-offset: -4px; }
.checkerboard { background-color: var(--surface-soft); background-image: linear-gradient(45deg, var(--checker) 25%, transparent 25%), linear-gradient(-45deg, var(--checker) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, var(--checker) 75%), linear-gradient(-45deg, transparent 75%, var(--checker) 75%); background-size: 16px 16px; background-position: 0 0, 0 8px, 8px -8px, -8px 0; }
.result-state { position: absolute; left: 9px; top: 9px; background: var(--surface); color: var(--muted); border: 1px solid var(--line); border-radius: 5px; font-size: 9px; font-weight: 500; padding: 3px 7px; }
.result-state.done { background: var(--success-soft); color: var(--success); border-color: transparent; }
.result-state.error { color: var(--danger); background: var(--danger-soft); border-color: transparent; }
.result-state.accepted-badge { color: var(--on-blue); background: var(--blue); border-color: transparent; }
.result-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; background: var(--overlay); color: var(--blue); font-size: 11px; }
.spinner { width: 23px; height: 23px; border: 2px solid var(--blue-line); border-top-color: var(--blue); border-radius: 50%; animation: spin 1s linear infinite; }
.result-meta { padding: 11px 11px 9px; }
.result-filename { font-size: 11px; font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.result-meta-detail { display: flex; justify-content: space-between; gap: 6px; margin-top: 4px; font-size: 10px; color: var(--muted); }
.result-actions { display: flex; align-items: center; gap: 2px; padding: 0 7px 9px; }
.result-actions .icon-button { padding: 6px; }
.result-actions .icon { width: 15px; height: 15px; }
.accept-button { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); background: var(--surface); font-size: 10px; color: var(--muted); padding: 6px; border-radius: 5px; margin-right: auto; }
.accept-button.selected { color: var(--blue); background: var(--blue-soft); border-color: var(--blue-line); }
.accept-button:hover { border-color: var(--blue); }
.accept-button .icon { width: 13px; height: 13px; }
.item-error { font-size: 10px; color: var(--danger); max-height: 65px; overflow: auto; margin-top: 7px; overflow-wrap: anywhere; }
.empty-filter { padding: 45px 15px; text-align: center; color: var(--muted); font-size: 12px; }
.page-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 10px; padding: 20px 1px 0; }
.alert { display: flex; align-items: center; gap: 10px; background: var(--warning-soft); color: var(--warning); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; margin-bottom: 20px; font-size: 12px; overflow-wrap: anywhere; }
.alert > .icon { width: 18px; height: 18px; }
.alert > .icon-button { margin-left: auto; flex: none; }
.history-list { display: flex; flex-direction: column; gap: 10px; }
.history-card { display: flex; align-items: center; gap: 20px; width: 100%; padding: 16px 20px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; text-align: left; }
.history-card:hover { border-color: var(--blue-line); background: var(--surface-soft); }
.history-thumbnail { width: 64px; height: 64px; border: 1px solid var(--line); border-radius: 7px; object-fit: contain; background: var(--surface-soft); flex: none; }
.history-icon { display: grid; place-items: center; color: var(--muted); }
.history-info { flex: 1; min-width: 0; }
.history-info h3 { font-size: 14px; font-weight: 600; }
.history-info p { font-size: 11px; color: var(--muted); margin-top: 5px; }
.history-status { border-radius: 5px; padding: 4px 8px; color: var(--muted); background: var(--surface-hover); font-size: 10px; }
.history-cost { font-size: 13px; font-weight: 600; min-width: 70px; text-align: right; }
.history-card > .icon { width: 17px; height: 17px; color: var(--muted); }
.history-empty { padding: 65px 20px; text-align: center; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; }
.history-empty > .icon { width: 38px; height: 38px; color: var(--muted); margin: 0 auto 18px; }
.history-empty h2 { font-size: 19px; font-weight: 600; }
.history-empty p { margin: 10px 0 24px; font-size: 12px; color: var(--muted); }
.history-placeholder { padding: 40px 20px; color: var(--muted); text-align: center; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; border: 1px solid #ffffff22; padding: 13px 18px; border-radius: 9px; background: #202b40; color: #fff; box-shadow: 0 5px 25px #0002; font-size: 12px; max-width: calc(100vw - 36px); width: max-content; z-index: 100; }
.toast .icon { width: 17px; height: 17px; }
dialog { background: var(--surface); color: var(--ink); padding: 0; border: 1px solid var(--line); border-radius: 12px; max-width: 1060px; width: calc(100vw - 64px); max-height: calc(100dvh - 48px); box-shadow: 0 25px 100px #0005; }
dialog::backdrop { background: #080f21a6; backdrop-filter: blur(3px); }
.review-header { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 19px 24px; border-bottom: 1px solid var(--line); }
.review-header h2 { font-size: 17px; font-weight: 600; margin-top: 4px; overflow-wrap: anywhere; }
.review-header .icon-button { background: var(--surface-soft); }
.comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 20px 24px; }
.comparison-pane { min-width: 0; }
.comparison-label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 8px; color: var(--muted); }
.result-label { color: var(--blue); }
.comparison-image { border: 1px solid var(--line); border-radius: 8px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.comparison-image img { width: 100%; height: 100%; object-fit: contain; }
.review-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); padding: 16px 24px; }
.review-footer > span { color: var(--muted); font-size: 11px; }
.review-footer > div { display: flex; align-items: center; gap: 9px; }
.review-footer .button.selected { background: var(--blue-soft); border-color: var(--blue-line); color: var(--blue); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 1400px) { .settings-panel { padding: 24px; } .content-panel { padding: 26px; } }
@media (max-width: 1130px) {
  .topbar { gap: 25px; padding: 0 24px; }
  .brand-caption { display: none; }
  .connection { display: none; }
  main { padding: 25px 24px 20px; }
  .workspace { grid-template-columns: minmax(0, 1fr) 318px; gap: 18px; }
  .settings-panel { padding: 18px; }
  .content-panel { padding: 20px; }
  .result-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
  .workflow { gap: 12px; }
  .result-toolbar { flex-wrap: wrap; }
}
@media (max-width: 850px) {
  .topbar { height: 67px; gap: 18px; padding: 0 20px; }
  .brand { font-size: 25px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-mark svg { width: 27px; height: 27px; }
  .nav-item { padding: 0 10px; font-size: 12px; }
  .topbar-actions { gap: 8px; }
  #theme-label { display: none; }
  main { padding: 23px 20px 18px; }
  .page-heading h1 { font-size: 25px; }
  .page-heading p { font-size: 12px; }
  .workspace { grid-template-columns: minmax(0, 1fr) 285px; gap: 15px; }
  .settings-panel, .content-panel { padding: 17px; }
  .workspace-badge { display: none; }
  .mode-grid { gap: 6px; }
  .mode-button { padding: 10px 8px; }
  .mode-button span { font-size: 9px; }
  .template-option { font-size: 9px; gap: 4px; }
  .color-caption { font-size: 9px; }
  .upload-zone { padding: 24px 13px; }
  .upload-copy strong { font-size: 13px; }
  .upload-copy > span { font-size: 11px; }
  .workflow { grid-template-columns: 1fr; gap: 14px; }
  .workflow li { flex-direction: row; gap: 10px; }
  .workflow-number { flex: none; margin-top: 2px; }
  .workflow p { margin-top: 1px; }
  .upload-zone.compact { padding: 13px; gap: 9px; }
  .upload-zone.compact .paste-hint { margin-left: 0; }
  .upload-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .result-grid { grid-template-columns: 1fr; }
  .batch-summary { gap: 12px; padding: 12px; }
  .cost-summary { padding-left: 12px; min-width: 92px; }
  .cost-summary strong { font-size: 15px; }
  .result-heading { flex-wrap: wrap; }
  .result-filters { width: 100%; }
  .filter-button { font-size: 10px; padding: 7px; }
}
@media (max-width: 680px) {
  .topbar { height: auto; min-height: 65px; padding: 14px 16px 0; flex-wrap: wrap; column-gap: 10px; row-gap: 12px; }
  .navigation { order: 3; width: calc(100% + 32px); margin: 0 -16px; padding: 0 16px; height: 44px; }
  .nav-item { padding: 0 12px; font-size: 13px; }
  .topbar-actions { margin-left: auto; }
  #theme-label { display: inline; }
  .theme-toggle { min-height: 33px; font-size: 11px; }
  .topbar .button-small { min-height: 33px; }
  main { padding: 21px 14px 18px; }
  .page-heading { margin-bottom: 18px; }
  .page-heading h1 { font-size: 24px; }
  .page-heading p { font-size: 11px; line-height: 1.6; max-width: 330px; }
  .workspace { display: flex; flex-direction: column; gap: 16px; }
  .content-panel { order: 0; width: 100%; min-height: 0; }
  .settings-panel { order: 1; width: 100%; }
  .panel-heading { padding-bottom: 14px; margin-bottom: 16px; }
  .panel-heading h2 { font-size: 15px; }
  .upload-zone { padding: 22px 15px; }
  .upload-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .canvas-empty { margin-top: 22px; padding-top: 20px; }
  .workflow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-top: 16px; }
  .workflow li { flex-direction: column; gap: 7px; }
  .workflow strong { font-size: 10px; }
  .workflow p { font-size: 9px; line-height: 1.55; }
  .mode-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
  .mode-button { align-items: center; text-align: center; min-height: 78px; padding: 11px 4px 8px; }
  .mode-button strong { font-size: 10px; }
  .mode-button span { display: none; }
  .mode-button .icon { width: 20px; height: 20px; margin-bottom: 7px; }
  .mode-explanation { font-size: 11px; margin-bottom: 18px; }
  .field-group { margin-bottom: 17px; }
  .template-option { font-size: 11px; padding: 10px 5px; }
  .color-caption { font-size: 10px; }
  .result-heading h2 { font-size: 18px; }
  .result-heading { flex-wrap: nowrap; }
  .result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .result-filters { width: auto; }
  .result-filename { font-size: 10px; }
  .result-meta-detail { font-size: 9px; }
  .result-actions { padding: 0 5px 7px; gap: 0; }
  .result-actions .icon-button { padding: 5px; }
  .result-actions .icon { width: 13px; height: 13px; }
  .accept-button { font-size: 9px; padding: 5px; gap: 2px; }
  .page-footer { font-size: 9px; padding-top: 17px; }
  .history-card { padding: 13px; gap: 12px; }
  .history-thumbnail { width: 49px; height: 49px; }
  .history-info h3 { font-size: 12px; }
  .history-info p { font-size: 10px; }
  .history-status, .history-card > .icon { display: none; }
  .history-cost { font-size: 11px; min-width: 52px; }
  #history-view .page-heading { align-items: flex-start; }
  #history-view .page-heading > .button { min-height: 33px; font-size: 10px; padding: 7px 9px; }
  .toast { bottom: 16px; font-size: 11px; }
  dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); }
  .review-header { padding: 16px; }
  .review-header h2 { font-size: 13px; }
  .comparison { gap: 10px; padding: 16px; }
  .comparison-label { font-size: 11px; }
  .review-footer { padding: 14px 16px; flex-wrap: wrap; gap: 10px; }
  .review-footer > span { font-size: 10px; }
  .review-footer > div { margin-left: auto; }
  .review-footer .button { min-height: 34px; padding: 8px 10px; font-size: 10px; }
}
@media (max-width: 380px) {
  #theme-label { display: none; }
  .topbar-actions { gap: 6px; }
  .upload-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result-actions .icon-button { padding: 4px; }
  .accept-button { font-size: 8px; padding: 4px; }
  .result-meta { padding: 9px 8px; }
  .workflow { gap: 9px; }
  .result-heading { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } .spinner { animation-duration: 2s; } }

/* Personal accounts and prepaid balance. */
.topbar { gap: 24px; }
.balance-button { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid var(--blue-line); border-radius: 8px; color: var(--blue); background: var(--blue-soft); font-size: 12px; font-weight: 650; white-space: nowrap; }
.balance-button .icon { width: 16px; height: 16px; }
.balance-button:hover { border-color: var(--blue); }
.account-menu { display: flex; align-items: center; gap: 4px; }
.account-menu > span { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 11px; }
.auth-layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 70px; max-width: 1050px; margin: 58px auto 75px; align-items: center; }
.auth-intro { padding: 10px 0; }
.auth-tag { display: inline-block; color: var(--blue); background: var(--blue-soft); border: 1px solid var(--blue-line); border-radius: 6px; font-size: 9px; font-weight: 650; letter-spacing: 1.2px; padding: 6px 9px; margin-bottom: 23px; }
.auth-intro h1 { font-size: clamp(36px, 3.7vw, 49px); font-weight: 700; letter-spacing: -1.8px; line-height: 1.16; }
.auth-intro > p { max-width: 440px; color: var(--muted); font-size: 14px; line-height: 1.8; margin-top: 21px; }
.auth-benefits { display: flex; flex-direction: column; gap: 15px; padding: 0; margin: 28px 0; list-style: none; }
.auth-benefits li { display: flex; align-items: center; gap: 9px; font-size: 12px; }
.auth-benefits .icon { width: 17px; height: 17px; color: var(--blue); }
.auth-private { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; margin-top: 32px; }
.auth-private .icon { width: 15px; height: 15px; }
.auth-card { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 30px; box-shadow: var(--shadow); }
.auth-tabs { display: flex; gap: 4px; border-radius: 9px; padding: 4px; background: var(--surface-soft); border: 1px solid var(--line); margin-bottom: 24px; }
.auth-tab { flex: 1; border: 0; background: transparent; padding: 9px 8px; border-radius: 6px; font-size: 12px; color: var(--muted); }
.auth-tab.active { background: var(--surface); box-shadow: 0 2px 6px #0001; color: var(--blue); font-weight: 600; }
.auth-card h2 { font-size: 21px; letter-spacing: -.6px; }
.auth-card > p { color: var(--muted); font-size: 11px; line-height: 1.65; margin-top: 8px; }
.auth-card form { margin-top: 25px; }
input[type=email], input[type=password], input[type=number] { width: 100%; border: 1px solid var(--line-strong); border-radius: 7px; padding: 10px 11px; background: var(--surface); font-size: 12px; line-height: 1.6; }
.auth-card .button { width: 100%; margin-top: 3px; }
.auth-card > .auth-footnote { text-align: center; font-size: 10px; margin-top: 19px; }
.auth-error { padding: 10px 12px; border: 1px solid var(--danger); border-radius: 7px; color: var(--danger); background: var(--danger-soft); font-size: 11px; margin: 0 0 15px; overflow-wrap: anywhere; }
.marketplace-field { border: 0; margin: 22px 0 0; padding: 0; }
.marketplace-field legend { font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.marketplace-field legend span { display: block; font-size: 10px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.marketplace-options { display: flex; flex-direction: column; gap: 7px; }
.marketplace-option { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 7px; padding: 9px 10px; cursor: pointer; background: var(--surface); }
.marketplace-option:has(input:checked) { border-color: var(--blue-line); background: var(--blue-soft); }
.marketplace-option input { width: 15px; height: 15px; margin: 0; accent-color: var(--blue); }
.marketplace-option strong { display: block; font-size: 11px; font-weight: 550; }
.marketplace-option small { display: block; color: var(--muted); font-size: 9px; margin-top: 1px; }
.billing-hint { color: var(--danger) !important; line-height: 1.6; margin-bottom: 11px; text-align: left !important; }
.quote-notice { color: var(--muted); font-size: 10px; line-height: 1.6; text-align: left !important; margin: -3px 0 15px !important; }
#insufficient-topup { margin-bottom: 9px; }
.wallet-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 24px; }
.wallet-metric { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 22px 24px; box-shadow: var(--shadow); }
.wallet-metric > span { display: block; font-size: 11px; color: var(--muted); }
.wallet-metric strong { display: block; font-size: 31px; font-weight: 650; letter-spacing: -.9px; margin: 5px 0 3px; font-variant-numeric: tabular-nums; }
.wallet-metric:first-child strong { color: var(--blue); }
.wallet-metric small { font-size: 10px; color: var(--muted); }
.wallet-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; margin-bottom: 24px; }
.wallet-panel { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 24px; box-shadow: var(--shadow); min-width: 0; }
.wallet-panel .panel-heading { margin-bottom: 20px; }
.payment-notice { display: flex; align-items: flex-start; gap: 9px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-soft); color: var(--muted); font-size: 11px; line-height: 1.65; margin-bottom: 21px; }
.payment-notice .icon { width: 16px; height: 16px; margin-top: 1px; }
.form-label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 9px; }
.topup-presets { display: flex; gap: 8px; margin-bottom: 11px; }
.topup-presets button { flex: 1; border: 1px solid var(--line-strong); border-radius: 7px; padding: 9px 6px; background: var(--surface); font-size: 12px; }
.topup-presets button.selected { border-color: var(--blue); background: var(--blue-soft); color: var(--blue); }
.amount-input { position: relative; margin-bottom: 14px; }
.amount-input input { padding-right: 40px; font-size: 16px; font-variant-numeric: tabular-nums; }
.amount-input span { position: absolute; right: 15px; top: 12px; color: var(--muted); }
#topup-submit, #subscription-button { width: 100%; }
.topup-result { margin-top: 18px; padding: 13px 14px; background: var(--blue-soft); border: 1px solid var(--blue-line); border-radius: 8px; }
.topup-result strong { display: block; font-size: 12px; font-weight: 600; }
.topup-result p { font-size: 11px; line-height: 1.7; color: var(--muted); margin-top: 6px; overflow-wrap: anywhere; }
.topup-result .button { margin-top: 12px; }
.payment-test-notice { padding: 12px 14px; margin: -6px 0 18px; border: 1px solid var(--blue-line); border-radius: 8px; background: var(--blue-soft); font-size: 12px; line-height: 1.65; color: var(--ink); }
.topup-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.topup-actions .button { white-space: normal; text-align: center; }
.topup-actions #topup-payment-link { flex-basis: 100%; }
.topup-result p.topup-result-amount { color: var(--ink); font-size: 13px; font-weight: 600; }
.topup-result.test-payment { border-style: dashed; }
.ledger-details { flex: none; }
@media(max-width:680px) { .ledger-row:has(.ledger-details) { flex-wrap: wrap; } .ledger-details { margin-left: 39px; } .topup-actions .button { flex: 1 1 auto; font-size: 11px; } }
.subscription-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.subscription-price strong { font-size: 35px; letter-spacing: -1px; font-weight: 650; font-variant-numeric: tabular-nums; }
.subscription-price > span { color: var(--muted); font-size: 12px; }
.subscription-panel > p { color: var(--muted); font-size: 12px; line-height: 1.7; margin-bottom: 23px; }
.subscription-panel > .field-hint { font-size: 10px; margin-top: 9px; margin-bottom: 0; }
.subscription-state { padding: 11px 12px; border-radius: 7px; background: var(--success-soft); color: var(--success); font-size: 11px; line-height: 1.6; margin-bottom: 17px; }
.tariff-panel { margin-bottom: 24px; }
.tariff-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tariff-item { padding: 15px 17px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-soft); }
.tariff-item > span { font-size: 11px; color: var(--muted); }
.tariff-item strong { display: block; font-size: 23px; font-weight: 650; letter-spacing: -.6px; margin: 6px 0 2px; }
.tariff-item small { display: block; font-size: 9px; color: var(--muted); }
.tariff-panel > .field-hint { margin-top: 17px; }
.ledger-list { display: flex; flex-direction: column; }
.ledger-row { display: flex; align-items: center; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ledger-row:last-child { border-bottom: 0; }
.ledger-icon { width: 34px; height: 34px; background: var(--surface-soft); border-radius: 8px; display: grid; place-items: center; color: var(--muted); flex: none; }
.ledger-icon .icon { width: 16px; height: 16px; }
.ledger-info { flex: 1; min-width: 0; }
.ledger-info strong { display: block; font-size: 12px; font-weight: 550; }
.ledger-info span { display: block; font-size: 10px; color: var(--muted); margin-top: 3px; overflow-wrap: anywhere; }
.ledger-amount { font-size: 13px; font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ledger-amount.credit { color: var(--success); }
.ledger-amount.pending { color: var(--muted); }
.ledger-empty { color: var(--muted); font-size: 11px; line-height: 1.7; padding: 15px 0; }
.confirm-dialog { max-width: 450px; }
.registration-consents { margin: 2px 0 20px; }
.registration-closed { margin-top: 25px; padding: 20px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 10px; }
.registration-closed > .icon { width: 24px; height: 24px; color: var(--blue); }
.registration-closed p { margin: 12px 0 16px; font-size: 13px; line-height: 1.65; }
.consent-row { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 12px; font-size: 11px; line-height: 1.55; font-weight: 400; color: var(--ink); }
.consent-row input[type=checkbox] { width: 16px; height: 16px; min-height: 16px; margin: 2px 0 0; flex: none; accent-color: var(--blue); }
.consent-row a, .registration-consents .field-hint a, .legal-footer a { color: var(--blue); text-decoration: none; }
.consent-row a:hover, .legal-footer a:hover { text-decoration: underline; }
.storage-hint { color: var(--muted); font-size: 10px; line-height: 1.6; margin-top: 10px; }
.batch-retention { color: var(--muted); font-size: 10px; line-height: 1.6; padding: 0 0 13px; }
.batch-retention.expired { background: var(--warning-soft); color: var(--warning); padding: 12px 14px; border-radius: 8px; margin: 0 0 14px; }
.expired-image { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; gap: 9px; background: var(--surface-soft); color: var(--muted); font-size: 11px; }
.expired-image .icon { width: 26px; height: 26px; }
.review-content-hint { color: var(--muted); font-size: 11px; line-height: 1.6; padding: 0 24px 16px; }
.legal-footer { padding: 22px 32px 26px; border-top: 1px solid var(--line); font-size: 11px; align-items: flex-start; }
.legal-footer > div { display: flex; flex-direction: column; gap: 7px; }
.legal-footer strong { color: var(--ink); font-size: 11px; font-weight: 600; }
.legal-footer nav { display: flex; justify-content: flex-end; gap: 10px 20px; flex-wrap: wrap; }
.legal-dialog { max-width: 850px; }
.legal-tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 13px 24px; border-bottom: 1px solid var(--line); }
.legal-tabs a { text-decoration: none; color: var(--muted); padding: 9px 12px; border-radius: 7px; font-size: 12px; }
.legal-tabs a:hover { background: var(--surface-hover); }
.legal-tabs a.active { color: var(--blue); background: var(--blue-soft); }
.legal-body { padding: 24px; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.legal-body section + section { margin-top: 25px; }
.legal-body h3 { font-size: 16px; line-height: 1.5; margin: 0 0 10px; }
.legal-body p + p { margin-top: 11px; }
.legal-body a, .legal-bottom a { color: var(--blue); }
.legal-body .legal-meta { color: var(--muted); font-size: 11px; margin-bottom: 20px; }
.legal-draft { color: var(--warning); background: var(--warning-soft); border-radius: 8px; padding: 14px; margin-bottom: 20px; }
.legal-tariffs { width: 100%; border-collapse: collapse; margin: 17px 0; }
.legal-tariffs th { text-align: left; font-weight: 600; }
.legal-tariffs td, .legal-tariffs th { border-bottom: 1px solid var(--line); padding: 10px 12px; }
.legal-tariffs th:last-child, .legal-tariffs td:last-child { text-align: right; }
.legal-bottom { border-top: 1px solid var(--line); padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 15px; font-size: 11px; }
.legal-page-shell { max-width: 1000px; margin: 0 auto; padding: 28px 24px 48px; }
.legal-page-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 26px; }
.legal-page-document { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.legal-page-document > h1 { font-size: 25px; line-height: 1.35; padding: 25px 24px 13px; margin: 0; }
.legal-page-document .legal-body { padding-top: 10px; }
.legal-page-status { color: var(--muted); padding: 24px; line-height: 1.6; }
@media(max-width:680px) {
  .legal-footer { padding: 20px 16px; flex-direction: column; gap: 16px; }
  .legal-footer nav { justify-content: flex-start; gap: 10px 18px; }
  .legal-tabs { padding: 10px 12px; gap: 1px; }
  .legal-tabs a { font-size: 10px; padding: 8px; }
  .legal-body { padding: 18px 16px; font-size: 12px; }
  .legal-body h3 { font-size: 15px; }
  .legal-bottom { padding: 14px 16px; }
  .legal-page-shell { padding: 18px 12px 32px; }
  .legal-page-header .brand-caption { display: none; }
  .legal-page-document > h1 { padding: 20px 16px 12px; font-size: 21px; }
  .review-content-hint { padding: 0 16px 14px; font-size: 10px; }
}
@media print {
  body { background: #fff !important; color: #000 !important; }
  body:has(#legal-dialog[open]) > *:not(#legal-dialog), .legal-page-header, .legal-tabs, .legal-bottom { display: none !important; }
  #legal-dialog[open] { display: block; position: static; width: 100%; max-height: none; max-width: none; overflow: visible; border: 0; box-shadow: none; margin: 0; background: #fff; color: #000; }
  #legal-dialog .review-header { border: 0; padding-bottom: 0; }
  #legal-dialog .review-header button, #legal-dialog .eyebrow { display: none; }
  .legal-page-shell { max-width: none; padding: 0; }
  .legal-page-document { border: 0; box-shadow: none; background: #fff; color: #000; }
  .legal-body { padding: 15px 0; font-size: 11pt; }
  .legal-body .legal-meta { color: #555; }
  .legal-body h3 { break-after: avoid; }
  .legal-tariffs tr { break-inside: avoid; }
  .legal-body a { color: #000; }
}
.confirm-body { padding: 22px 24px; font-size: 13px; line-height: 1.7; }
.confirm-body .field-hint { margin-top: 11px; }
.variant-links { display: flex; flex-wrap: wrap; gap: 5px; padding: 0 10px 11px; }
.variant-links a { border: 1px solid var(--line); background: var(--surface-soft); color: var(--muted); border-radius: 5px; padding: 4px 6px; font-size: 9px; }
.variant-links a:hover { color: var(--blue); border-color: var(--blue-line); }
.verification-banner { display: flex; align-items: flex-start; gap: 13px; padding: 17px 20px; border: 1px solid var(--blue-line); border-radius: 10px; background: var(--blue-soft); margin-bottom: 24px; }
.verification-banner > .icon { width: 21px; height: 21px; margin-top: 2px; color: var(--blue); }
.verification-copy { flex: 1; min-width: 0; }
.verification-copy strong { display: block; font-size: 13px; font-weight: 650; }
.verification-copy p { font-size: 11px; line-height: 1.65; color: var(--muted); margin-top: 4px; overflow-wrap: anywhere; }
#verification-feedback { color: var(--blue); }
.verification-actions { display: flex; align-items: center; gap: 12px; flex: none; padding-top: 1px; }
.forgot-password-link { display: flex; margin: 8px auto -5px; padding: 8px 0; }
.email-flow-panel { margin-top: 21px; }
.auth-card .email-flow-panel form { margin-top: 18px; }
.verify-email-flow { text-align: center; }
.email-flow-icon { width: 58px; height: 58px; display: grid; place-items: center; margin: 5px auto 17px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); }
.email-flow-icon .icon { width: 27px; height: 27px; }
.verify-email-flow > p { font-size: 12px; line-height: 1.7; color: var(--muted); margin-bottom: 20px; }
.flow-feedback { padding: 12px 14px; background: var(--blue-soft); border: 1px solid var(--blue-line); color: var(--ink); border-radius: 8px; font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.flow-feedback.error { color: var(--danger); background: var(--danger-soft); border-color: var(--danger); }
.flow-feedback.success { color: var(--success); background: var(--success-soft); border-color: var(--success); }
.flow-back-button { margin: 13px auto 0; display: flex; }
@media(max-width:780px) { .verification-banner { gap: 10px; padding: 15px 17px; flex-wrap: wrap; } .verification-actions { padding-left: 31px; flex-basis: 100%; padding-top: 0; gap: 14px; } .verification-copy p { font-size: 10px; } .verification-actions .button { font-size: 10px; min-height: 33px; } }
@media(max-width:1250px) { .account-menu > span, .connection { display: none; } .topbar { gap: 15px; } .nav-item { padding: 0 11px; font-size: 12px; } .topbar-actions { gap: 8px; } }
@media(max-width:960px) { .brand-caption { display: none; } .auth-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 35px; margin-top: 40px; } .auth-intro h1 { font-size: 36px; } .auth-intro > p { font-size: 12px; } .tariff-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wallet-metric { padding: 18px; } .wallet-metric strong { font-size: 27px; } }
@media(max-width:780px) { .auth-layout { grid-template-columns: 1fr; max-width: 450px; gap: 24px; margin: 20px auto 35px; } .auth-intro h1 { font-size: 34px; } .auth-intro h1 br { display: none; } .auth-intro > p { margin-top: 11px; } .auth-tag { margin-bottom: 14px; } .auth-benefits, .auth-private { display: none; } .auth-card { padding: 26px; } .wallet-grid { grid-template-columns: 1fr; gap: 17px; } .wallet-metrics { gap: 10px; } .wallet-metric { padding: 15px; } .wallet-metric strong { font-size: 23px; } .wallet-metric small { font-size: 9px; } .wallet-panel { padding: 20px; } .topbar-actions .theme-toggle span { display: none; } }
@media(max-width:680px) { .topbar { padding-bottom: 0; } .topbar:has(#app-navigation[hidden]) { padding-bottom: 14px; } .nav-item { flex: 1; padding: 0 10px; font-size: 11px; justify-content: center; } .nav-item .icon { width: 16px; height: 16px; } .nav-count { display: none; } .topbar-actions { gap: 6px; } #demo-button { display: none; } .balance-button { font-size: 11px; padding: 7px 9px; } .account-menu .icon-button { padding: 5px; } .wallet-metrics { grid-template-columns: 1fr 1fr; margin-bottom: 17px; } .wallet-metric:last-child { grid-column: 1/-1; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; } .wallet-metric:last-child strong { margin: 0 0 0 auto; font-size: 20px; } .wallet-metric:last-child small { flex-basis: 100%; margin-top: 4px; } .wallet-metric > span { font-size: 10px; } .wallet-metric strong { font-size: 25px; } .wallet-panel .panel-heading h2 { font-size: 14px; } .wallet-grid, .tariff-panel { margin-bottom: 17px; } .tariff-list { gap: 9px; } .tariff-item { padding: 13px; } .tariff-item > span { font-size: 10px; } .tariff-item strong { font-size: 21px; } .ledger-row { gap: 10px; } .ledger-info strong { font-size: 11px; } .ledger-info span { font-size: 9px; } .ledger-amount { font-size: 11px; } .ledger-icon { width: 29px; height: 29px; border-radius: 6px; } #wallet-view .page-heading > .button { font-size: 10px; padding: 7px 9px; min-height: 33px; } }
