:root {
  --ink: #17312e;
  --ink-soft: #5e716d;
  --ink-muted: #93a19e;
  --line: #e6eeeb;
  --surface: #ffffff;
  --canvas: #f5f8f6;
  --teal: #0d6b5d;
  --teal-dark: #085347;
  --teal-soft: #e7f4ef;
  --amber: #c47b21;
  --amber-soft: #fff4df;
  --blue: #3569af;
  --blue-soft: #ebf2ff;
  --green: #31946c;
  --green-soft: #e9f7f0;
  --shadow: 0 12px 36px rgba(34, 69, 60, .06);
  font-family: 'Manrope', 'Noto Sans SC', sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 320px; background: var(--canvas); }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .45; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; top: 0; left: 0; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: 248px; flex: 0 0 248px; min-height: 100vh; padding: 26px 16px 18px; background: #f0f6f2; border-right: 1px solid #dde9e4; display: flex; flex-direction: column; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 12px; }
.brand-mark { width: 29px; height: 29px; display: flex; align-items: flex-end; gap: 3px; padding: 5px; background: var(--teal); border-radius: 8px; box-shadow: 0 4px 10px rgba(13, 107, 93, .22); }
.brand-mark span { width: 4px; background: white; border-radius: 3px; opacity: .92; }
.brand-mark span:nth-child(1) { height: 8px; }.brand-mark span:nth-child(2) { height: 14px; }.brand-mark span:nth-child(3) { height: 19px; }
.brand-name { font-weight: 800; letter-spacing: -.04em; font-size: 16px; line-height: 1; }.brand-subtitle { margin-top: 5px; font-family: 'DM Mono', monospace; color: #7a928a; font-size: 8px; letter-spacing: .08em; }
.workspace-switcher { margin-top: 42px; padding: 11px 10px; border: 1px solid #dfeae5; background: rgba(255,255,255,.58); border-radius: 10px; display: flex; align-items: center; gap: 9px; }
.workspace-avatar { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: var(--teal); background: var(--teal-soft); font-weight: 800; font-size: 13px; }.workspace-copy { min-width: 0; flex: 1; }.workspace-copy strong, .workspace-copy span, .user-copy strong, .user-copy span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.workspace-copy strong { font-size: 12px; }.workspace-copy span { margin-top: 3px; color: var(--ink-muted); font-size: 10px; }
.nav-group { margin-top: 34px; }.nav-label { padding: 0 12px 10px; color: #91a39c; font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .11em; text-transform: uppercase; }.nav-item { width: 100%; display: flex; align-items: center; gap: 11px; border: 0; border-radius: 9px; padding: 11px 12px; margin: 3px 0; color: #6c817a; background: transparent; text-align: left; font-size: 12px; }.nav-item svg { width: 17px; height: 17px; }.nav-item:hover { color: var(--teal); background: rgba(255,255,255,.64); }.nav-item.active { color: var(--teal-dark); background: white; box-shadow: 0 5px 12px rgba(38, 84, 68, .06); font-weight: 700; }.nav-count { margin-left: auto; padding: 3px 7px; color: var(--teal); background: var(--teal-soft); border-radius: 20px; font-family: 'DM Mono', monospace; font-size: 10px; }
.sidebar-footer { margin-top: auto; }.connection-card { padding: 13px 13px 12px; border: 1px solid #d7e8df; border-radius: 10px; background: white; }.connection-head { display: flex; align-items: center; gap: 7px; color: var(--teal-dark); font-size: 11px; font-weight: 700; }.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #3bb27b; box-shadow: 0 0 0 3px rgba(59,178,123,.12); }.connection-printer { margin-top: 11px; color: var(--ink); font-size: 11px; font-weight: 600; }.connection-meta { margin-top: 4px; color: var(--ink-muted); font-size: 10px; }.user-chip { display: flex; align-items: center; gap: 9px; margin-top: 17px; padding: 0 7px; }.user-avatar { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: white; background: #ca8162; font-size: 11px; font-weight: 800; }.user-copy { flex: 1; min-width: 0; }.user-copy strong { font-size: 11px; }.user-copy span { margin-top: 2px; color: var(--ink-muted); font-size: 10px; }
.icon-button { position: relative; display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink-soft); background: white; }.icon-button:hover { color: var(--teal); border-color: #bfdcd2; }.icon-button.muted { width: 22px; height: 22px; border: 0; color: #9aaca6; background: transparent; }.notification-dot { position: absolute; top: 7px; right: 7px; width: 5px; height: 5px; border: 1px solid white; border-radius: 50%; background: #ed8b5e; }

.main-content { min-width: 0; flex: 1; }.topbar { height: 72px; padding: 0 44px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.64); }.breadcrumb { display: flex; align-items: center; gap: 10px; color: var(--ink-muted); font-size: 11px; }.breadcrumb strong { color: var(--ink); font-weight: 700; }.breadcrumb-separator { color: #c5d2cd; }.topbar-actions { display: flex; align-items: center; gap: 13px; }.demo-badge { display: flex; align-items: center; gap: 6px; padding: 6px 9px; color: #9d6d22; background: #fff7e9; border: 1px solid #f6e2ba; border-radius: 20px; font-family: 'DM Mono', monospace; font-size: 9px; }.demo-badge span { width: 5px; height: 5px; border-radius: 50%; background: #d89a34; }
.page-content { width: min(1420px, 100%); margin: 0 auto; padding: 42px 44px 34px; }.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }.eyebrow { color: var(--teal); font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }.page-heading h1 { margin: 9px 0 8px; font-size: clamp(28px, 3vw, 38px); line-height: 1.02; letter-spacing: -.055em; }.page-heading p { margin: 0; color: var(--ink-soft); font-size: 13px; }.heading-actions { display: flex; gap: 9px; padding-bottom: 1px; }.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 0 14px; border-radius: 8px; border: 1px solid transparent; font-size: 11px; font-weight: 700; white-space: nowrap; }.button svg { width: 16px; height: 16px; }.button-primary { color: white; background: var(--teal); border-color: var(--teal); box-shadow: 0 5px 12px rgba(13, 107, 93, .17); }.button-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); }.button-secondary { color: var(--ink-soft); background: white; border-color: var(--line); }.button-secondary:hover { border-color: #bad9ce; color: var(--teal); }.button.compact { min-height: 32px; padding: 0 11px; font-size: 10px; }
.summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 33px; }.summary-card { min-height: 137px; padding: 17px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }.accent-card { border-top: 2px solid var(--teal); }.summary-card-top { display: flex; justify-content: space-between; align-items: center; }.summary-label { color: var(--ink-soft); font-size: 11px; font-weight: 600; }.summary-icon { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; }.summary-icon svg { width: 15px; height: 15px; }.summary-icon.teal { color: var(--teal); background: var(--teal-soft); }.summary-icon.amber { color: var(--amber); background: var(--amber-soft); }.summary-icon.blue { color: var(--blue); background: var(--blue-soft); }.summary-icon.green { color: var(--green); background: var(--green-soft); }.summary-value { margin-top: 15px; font-family: 'DM Mono', monospace; color: var(--ink); font-size: 25px; font-weight: 500; letter-spacing: -.05em; }.summary-value small { margin-left: 3px; color: var(--ink-soft); font-family: 'Manrope', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0; }.summary-foot { margin-top: 9px; color: var(--ink-muted); font-size: 10px; }.trend-up { color: var(--teal); font-weight: 700; }.summary-status { display: flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--teal-dark); font-size: 13px; font-weight: 700; }
.work-card { margin-top: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }.filter-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 18px 15px; border-bottom: 1px solid var(--line); }.filter-title { display: flex; align-items: center; gap: 11px; }.filter-title h2 { margin: 0; font-size: 15px; letter-spacing: -.025em; }.result-count { color: var(--ink-muted); font-family: 'DM Mono', monospace; font-size: 10px; }.filter-actions { display: flex; align-items: center; gap: 7px; }.search-field { position: relative; display: flex; align-items: center; width: 210px; }.search-field svg { position: absolute; left: 10px; width: 15px; height: 15px; color: #91a19c; }.search-field input, .select-field select { height: 34px; color: var(--ink); background: #fbfcfc; border: 1px solid var(--line); border-radius: 7px; outline: 0; font-size: 10px; }.search-field input { width: 100%; padding: 0 10px 0 31px; }.search-field input:focus, .select-field select:focus { border-color: #80bdb0; box-shadow: 0 0 0 3px rgba(13,107,93,.08); }.search-field input::placeholder { color: #9caaa5; }.select-field { position: relative; }.select-field select { appearance: none; width: 116px; padding: 0 28px 0 10px; }.select-field svg { position: absolute; pointer-events: none; top: 9px; right: 9px; width: 13px; height: 13px; color: #8fa09a; }.filter-button { background: #fbfcfc; }
.selection-bar { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 8px 18px; color: var(--teal-dark); background: #f1faf6; border-bottom: 1px solid #d9eee6; font-size: 11px; font-weight: 700; }.selection-check { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 5px; border-radius: 5px; color: white; background: var(--teal); font-family: 'DM Mono', monospace; font-size: 10px; }.selection-actions { display: flex; align-items: center; gap: 11px; }.text-button { display: inline-flex; align-items: center; gap: 6px; padding: 5px 0; color: var(--teal); border: 0; background: transparent; font-size: 10px; font-weight: 700; }.text-button:hover { color: var(--teal-dark); }.text-button svg { width: 14px; height: 14px; }
.table-wrap { overflow-x: auto; }table { width: 100%; min-width: 820px; border-collapse: collapse; text-align: left; }th { padding: 11px 12px; color: #9aa9a4; background: #fbfcfc; border-bottom: 1px solid var(--line); font-family: 'DM Mono', monospace; font-size: 9px; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; }td { padding: 13px 12px; border-bottom: 1px solid #edf2f0; vertical-align: middle; font-size: 11px; }th:first-child, td:first-child { padding-left: 18px; }.check-col { width: 48px; }.action-col { width: 55px; text-align: right; padding-right: 18px; }input[type="checkbox"] { appearance: none; width: 15px; height: 15px; margin: 0; vertical-align: middle; border: 1px solid #c8d6d0; border-radius: 4px; background: white; cursor: pointer; }.check-col input:checked, td input:checked { border-color: var(--teal); background: var(--teal); }.check-col input:checked::after, td input:checked::after { display: block; width: 7px; height: 4px; margin: 3px 0 0 3px; border-bottom: 1.5px solid white; border-left: 1.5px solid white; transform: rotate(-45deg); content: ''; }.expense-cell { display: flex; align-items: center; gap: 10px; }.expense-avatar { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 8px; color: var(--teal-dark); background: var(--teal-soft); font-size: 10px; font-weight: 800; }.expense-main strong, .expense-main span { display: block; }.expense-main strong { color: var(--ink); font-size: 11px; }.expense-main span { margin-top: 4px; color: var(--ink-muted); font-family: 'DM Mono', monospace; font-size: 9px; }.invoice-cell strong, .invoice-cell span { display: block; }.invoice-cell strong { font-family: 'DM Mono', monospace; font-size: 10px; font-weight: 500; }.invoice-cell span { margin-top: 4px; color: var(--ink-muted); font-size: 9px; }.date-cell { color: var(--ink-soft); font-family: 'DM Mono', monospace; font-size: 10px; }.amount-cell { font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 500; }.status-pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border-radius: 5px; font-size: 9px; font-weight: 700; }.status-pill.ready { color: #9a671e; background: var(--amber-soft); }.status-pill.printed { color: #33775b; background: var(--green-soft); }.status-pill .status-dot { width: 5px; height: 5px; box-shadow: none; }.status-pill.ready .status-dot { background: #d29833; }.status-pill.printed .status-dot { background: #43a879; }.row-menu { display: inline-grid; place-items: center; width: 25px; height: 25px; border: 0; color: #96a7a1; background: transparent; border-radius: 6px; }.row-menu:hover { color: var(--teal); background: var(--teal-soft); }.row-menu svg { width: 16px; height: 16px; }.empty-state { padding: 48px 16px; text-align: center; }.empty-icon { width: 44px; height: 44px; display: grid; place-items: center; margin: 0 auto 13px; color: var(--teal); background: var(--teal-soft); border-radius: 12px; }.empty-icon svg { width: 23px; height: 23px; }.empty-state h3 { margin: 0; font-size: 13px; }.empty-state p { margin: 6px 0 0; color: var(--ink-muted); font-size: 11px; }.table-footer { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; color: var(--ink-muted); font-family: 'DM Mono', monospace; font-size: 9px; }.pagination { display: flex; gap: 5px; }.page-button { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; color: var(--ink-soft); background: white; font-family: 'DM Mono', monospace; font-size: 9px; }.page-button.active { color: white; background: var(--teal); border-color: var(--teal); }.page-button svg { width: 13px; height: 13px; }
.integration-note { display: flex; align-items: center; gap: 12px; margin-top: 19px; padding: 13px 15px; border: 1px solid #e4ece9; border-radius: 9px; background: #fafcfb; }.integration-icon { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; color: var(--teal); background: var(--teal-soft); border-radius: 8px; }.integration-icon svg { width: 16px; height: 16px; }.integration-note strong { font-size: 10px; }.integration-note p { margin: 4px 0 0; color: var(--ink-muted); font-size: 10px; line-height: 1.5; }.integration-note .text-button { margin-left: auto; flex: 0 0 auto; }
.preview-dialog, .queue-dialog { width: min(540px, calc(100% - 28px)); padding: 0; color: var(--ink); border: 0; border-radius: 13px; box-shadow: 0 24px 70px rgba(20, 48, 41, .2); }.preview-dialog::backdrop, .queue-dialog::backdrop { background: rgba(24, 48, 41, .36); backdrop-filter: blur(3px); }.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 21px 22px 15px; border-bottom: 1px solid var(--line); }.dialog-head h2 { margin: 7px 0 0; font-size: 20px; letter-spacing: -.04em; }.invoice-preview { min-height: 280px; padding: 25px; background: #f5f7f6; }.invoice-paper { min-height: 300px; padding: 24px; background: white; border: 1px solid #e2e9e6; box-shadow: 0 7px 20px rgba(30, 63, 54, .06); }.paper-head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 2px solid #263c37; padding-bottom: 13px; }.paper-head h3 { margin: 0; font-size: 15px; letter-spacing: .08em; }.paper-head span { color: #6d7c77; font-family: 'DM Mono', monospace; font-size: 9px; }.paper-code { margin-top: 16px; color: #52625c; font-family: 'DM Mono', monospace; font-size: 9px; }.paper-table { width: 100%; margin-top: 16px; border-collapse: collapse; }.paper-table td { padding: 8px 5px; border-bottom: 1px solid #e7ecea; color: #5c6d66; font-size: 9px; }.paper-table td:last-child { color: #243c35; text-align: right; font-family: 'DM Mono', monospace; }.paper-total { margin-top: 14px; display: flex; justify-content: flex-end; align-items: baseline; gap: 8px; color: #64736e; font-size: 9px; }.paper-total strong { color: #203a32; font-family: 'DM Mono', monospace; font-size: 18px; }.dialog-foot { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px; border-top: 1px solid var(--line); }.dialog-foot > span { color: var(--ink-muted); font-family: 'DM Mono', monospace; font-size: 9px; }.queue-summary { display: flex; align-items: center; gap: 12px; padding: 22px 22px 8px; }.queue-progress { height: 7px; flex: 1; overflow: hidden; border-radius: 10px; background: #e7efeb; }.queue-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--teal); transition: width .25s ease; }.queue-summary strong { color: var(--teal); font-family: 'DM Mono', monospace; font-size: 11px; }.queue-list { max-height: 300px; overflow-y: auto; padding: 8px 22px 14px; }.queue-item { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid #edf2f0; }.queue-item:last-child { border-bottom: 0; }.queue-item-icon { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 7px; color: var(--teal); background: var(--teal-soft); }.queue-item-icon svg { width: 14px; height: 14px; }.queue-item-copy { flex: 1; min-width: 0; }.queue-item-copy strong, .queue-item-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.queue-item-copy strong { font-family: 'DM Mono', monospace; font-size: 10px; }.queue-item-copy span { margin-top: 3px; color: var(--ink-muted); font-size: 9px; }.queue-item-status { color: var(--ink-muted); font-size: 9px; }.queue-item-status.done { color: var(--green); font-weight: 700; }.queue-status { display: flex; align-items: center; gap: 7px; }
.toast { position: fixed; z-index: 20; right: 26px; bottom: 24px; display: flex; align-items: center; gap: 9px; padding: 11px 14px 11px 10px; color: white; background: #234d42; border-radius: 8px; box-shadow: 0 12px 30px rgba(22, 57, 47, .2); font-size: 11px; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .2s, transform .2s; }.toast.show { opacity: 1; transform: translateY(0); }.toast-icon { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.15); }.toast-icon svg { width: 13px; height: 13px; }

@media (max-width: 1100px) { .sidebar { width: 212px; flex-basis: 212px; }.topbar, .page-content { padding-left: 28px; padding-right: 28px; }.summary-grid { grid-template-columns: repeat(2, 1fr); }.filter-row { align-items: flex-start; flex-direction: column; }.filter-actions { width: 100%; }.search-field { flex: 1; width: auto; } }
@media (max-width: 760px) { .app-shell { display: block; }.sidebar { width: 100%; min-height: auto; padding: 16px; border-right: 0; border-bottom: 1px solid #dde9e4; }.workspace-switcher, .nav-group, .sidebar-footer { display: none; }.brand { padding: 0; }.topbar { height: 56px; padding: 0 16px; }.breadcrumb { font-size: 10px; }.demo-badge { display: none; }.page-content { padding: 27px 16px 24px; }.page-heading { align-items: flex-start; flex-direction: column; }.page-heading h1 { font-size: 30px; }.heading-actions { width: 100%; }.heading-actions .button { flex: 1; }.summary-grid { gap: 8px; margin-top: 24px; }.summary-card { min-height: 127px; padding: 14px; }.summary-value { font-size: 21px; }.filter-actions { flex-wrap: wrap; }.search-field { flex-basis: 100%; }.select-field { flex: 1; }.select-field select { width: 100%; }.filter-button { flex: 0 0 34px; }.selection-bar { align-items: flex-start; gap: 9px; flex-direction: column; }.integration-note { align-items: flex-start; flex-wrap: wrap; }.integration-note .text-button { margin-left: 42px; }.dialog-foot { gap: 12px; flex-wrap: wrap; } }
@media (max-width: 420px) { .summary-grid { grid-template-columns: 1fr; }.summary-card { min-height: 110px; }.summary-value { margin-top: 11px; }.summary-foot { margin-top: 6px; }.page-heading p { line-height: 1.6; }.topbar-actions { gap: 4px; } }

.demo-badge b { font-weight: 500; }
.demo-badge.connected { color: #267558; background: var(--green-soft); border-color: #cee9dc; }
.demo-badge.connected span { background: var(--green); }
.demo-badge.warning { color: #9d6d22; background: #fff7e9; border-color: #f6e2ba; }
.demo-badge.error { color: #a84a43; background: #fff0ee; border-color: #f3d0cc; }
.demo-badge.error span { background: #d66b62; }
.status-dot.warning { background: #d29833; box-shadow: 0 0 0 3px rgba(210, 152, 51, .12); }
.status-dot.offline { background: #c76b63; box-shadow: 0 0 0 3px rgba(199, 107, 99, .12); }
.connection-card.warning { border-color: #eddcb9; background: #fffaf1; }
.connection-card.error { border-color: #efd2cf; background: #fff6f5; }
.runtime-banner { align-items: center; gap: 12px; margin-bottom: 24px; padding: 13px 15px; border: 1px solid #eddcb9; border-radius: 10px; background: #fffaf1; }
.runtime-banner:not([hidden]) { display: flex; }
.runtime-banner.error { border-color: #efd2cf; background: #fff6f5; }
.runtime-banner.success { border-color: #cee9dc; background: #f2faf6; }
.runtime-banner-icon { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; color: #a56e21; background: #fff0d4; border-radius: 9px; }
.runtime-banner.error .runtime-banner-icon { color: #a84a43; background: #ffe5e1; }
.runtime-banner.success .runtime-banner-icon { color: var(--teal); background: var(--teal-soft); }
.runtime-banner-icon svg { width: 17px; height: 17px; }
.runtime-banner > div:nth-child(2) { min-width: 0; flex: 1; }
.runtime-banner strong { display: block; font-size: 11px; }
.runtime-banner p { margin: 4px 0 0; color: var(--ink-soft); font-size: 10px; line-height: 1.5; }
.runtime-banner .button { flex: 0 0 auto; }
.invoice-cell strong { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-type-badge { display: inline-flex; align-items: center; margin-right: 5px; padding: 2px 5px; border-radius: 4px; color: var(--teal); background: var(--teal-soft); font-family: 'DM Mono', monospace; font-size: 8px; font-weight: 600; }
.file-type-badge.unsupported { color: #9a671e; background: var(--amber-soft); }
tr.unsupported td { background: #fffdfa; }
tr.unsupported input[type="checkbox"] { cursor: not-allowed; background: #f1f3f2; }
.status-pill.unsupported { color: #9a671e; background: var(--amber-soft); }
.status-pill.opened { color: #33775b; background: var(--green-soft); }
.status-pill.unsupported .status-dot { background: #d29833; }
.status-pill.opened .status-dot { background: #43a879; }
.preview-dialog { width: min(860px, calc(100% - 28px)); }
.invoice-preview { min-height: 430px; padding: 16px; }
.invoice-frame { display: block; width: 100%; height: min(68vh, 650px); border: 1px solid #dfe8e4; border-radius: 8px; background: white; }
.unsupported-preview { min-height: 360px; display: grid; place-items: center; padding: 32px; text-align: center; }
.unsupported-preview > div { max-width: 420px; }
.unsupported-preview .empty-icon { margin-bottom: 16px; }
.unsupported-preview h3 { margin: 0; font-size: 16px; }
.unsupported-preview p { margin: 9px 0 18px; color: var(--ink-soft); font-size: 11px; line-height: 1.7; }
.unsupported-preview a { text-decoration: none; }
.queue-item-status.working { color: var(--amber); font-weight: 700; }
.queue-item-status.failed { color: #b1534b; font-weight: 700; }
.summary-value#totalAmount { white-space: nowrap; }

@media (max-width: 760px) {
  .runtime-banner { align-items: flex-start; flex-wrap: wrap; }
  .runtime-banner .button { margin-left: 46px; }
  .invoice-frame { height: 58vh; }
}
