:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--text-primary:#16232f;--text-secondary:#415564;--text-muted:#61717e;--text-soft:#72828f;--text-subtle:#6c7c89;--text-detail:#6a7b87;--text-body:#4b6070;--accent-label:#5c7080;--page-background:linear-gradient(180deg, #f4f7fa 0%, #edf2f6 100%);--panel-bg:#fffffff0;--panel-border:#16232f14;--panel-shadow:0 12px 28px #2636440f;--surface-muted:#16232f09;--surface-muted-strong:#16232f0f;--surface-card:linear-gradient(180deg, #fffffffa, #f5f8fbf5);--surface-card-border:#16232f14;--product-band-bg:linear-gradient(90deg, #f8fafcfa, #f0f5f9f5);--product-band-border:#16232f14;--input-bg:#fff;--input-border:#16232f1f;--focus-color:#2e5b88;--focus-ring:#2e5b8824;--primary-gradient:linear-gradient(135deg, #1f4e79, #173b5d);--primary-text:#f6f9fb;--primary-shadow:0 10px 22px #173b5d29;--secondary-bg:#355a73;--secondary-text:#f5f8fa;--ghost-bg:#16232f0d;--ghost-text:#1d2d39;--danger-bg:#a23e2e1a;--danger-text:#8d3a31;--summary-accent-bg:linear-gradient(135deg, #20384c, #2a4c63);--summary-accent-text:#f4f7f9;--summary-accent-muted:#f4f7f9b8;--match-bg:linear-gradient(135deg, #235c6c24, #235c6c14);--warning-bg:linear-gradient(135deg, #84622d24, #84622d14);--status-success-bg:#235c6c24;--status-success-text:#235c6c;--status-warning-bg:#84622d24;--status-warning-text:#72592c;--status-danger-bg:#8d3a3124;--status-danger-text:#8d3a31;--status-neutral-bg:#16232f14;--status-neutral-text:#4b6070;--row-success-bg:#235c6c0f;--row-danger-bg:#8d3a310f;--row-warning-bg:#84622d14;font-family:Instrument Sans,Segoe UI,sans-serif}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--text-primary:#e7eef3;--text-secondary:#bac7d0;--text-muted:#9eafba;--text-soft:#8fa0ab;--text-subtle:#a3b1bb;--text-detail:#97aab5;--text-body:#bccad3;--accent-label:#91a5b6;--page-background:linear-gradient(180deg, #11181f 0%, #151e26 100%);--panel-bg:#182028f0;--panel-border:#e7eef314;--panel-shadow:0 16px 34px #00000042;--surface-muted:#e7eef309;--surface-muted-strong:#e7eef30f;--surface-card:linear-gradient(180deg, #1f2831fa, #182129f5);--surface-card-border:#e7eef314;--product-band-bg:linear-gradient(90deg, #1e272ffa, #1a232bf5);--product-band-border:#e7eef314;--input-bg:#0c1216db;--input-border:#e7eef31f;--focus-color:#5a84ac;--focus-ring:#5a84ac29;--primary-gradient:linear-gradient(135deg, #315f8a, #254b70);--primary-text:#f5f8fa;--primary-shadow:0 12px 24px #0000003d;--secondary-bg:#3f617d;--secondary-text:#eff5f8;--ghost-bg:#e7eef312;--ghost-text:#e7eef3;--danger-bg:#a1564d29;--danger-text:#e8b2ab;--summary-accent-bg:linear-gradient(135deg, #22384b, #2d4a61);--summary-accent-text:#eef4f7;--summary-accent-muted:#eef4f7b8;--match-bg:linear-gradient(135deg, #2e5f6d3d, #2e5f6d24);--warning-bg:linear-gradient(135deg, #7e67393d, #6c583024);--status-success-bg:#2e5f6d47;--status-success-text:#9fd3de;--status-warning-bg:#7e673947;--status-warning-text:#dec892;--status-danger-bg:#91483e47;--status-danger-text:#efb5ae;--status-neutral-bg:#e7eef31a;--status-neutral-text:#c2ced6;--row-success-bg:#2e5f6d1f;--row-danger-bg:#91483e1f;--row-warning-bg:#7e67391f}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;color:var(--text-primary);background:var(--page-background);margin:0;transition:background .18s,color .18s}html{background:var(--page-background)}button,input{font:inherit}button{cursor:pointer}.app-shell{width:min(1320px,100vw - 32px);margin:0 auto;padding:40px 0 56px}.hero,.home-hero{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:28px;display:flex}.editor-hero{align-items:flex-start}.home-hero-copy-block{max-width:860px}.eyebrow,.section-kicker,.recent-meta{text-transform:uppercase;letter-spacing:.12em;color:var(--accent-label);margin:0 0 10px;font-size:.8rem}.hero h1,.home-hero h1{max-width:18ch;margin:0;font-size:clamp(2.2rem,3vw,3.6rem);line-height:.98}.hero-copy{max-width:64ch;color:var(--text-secondary);margin:16px 0 0;line-height:1.6}.toolbar,.home-actions,.recent-actions{flex-wrap:wrap;gap:12px;display:flex}.editor-topbar{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px;display:flex}.capture-entry-card-button{text-align:left;background:var(--surface-card);border:1px solid var(--surface-card-border);width:100%;color:var(--text-primary);border-radius:14px;gap:10px;margin-bottom:24px;padding:20px 22px;transition:transform .16s,border-color .16s,box-shadow .16s,background .16s;display:grid}.capture-entry-card-button:hover{border-color:var(--focus-color);box-shadow:var(--panel-shadow);transform:translateY(-1px)}.capture-entry-kicker{color:var(--accent-label);letter-spacing:.12em;text-transform:uppercase;font-size:.8rem}.capture-entry-card-button strong{font-size:clamp(1.4rem,2.3vw,2rem);line-height:1.1}.capture-entry-card-button span:last-child{color:var(--text-muted);line-height:1.5}.capture-workspace-panel{margin-bottom:24px}.capture-workspace-grid{grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:18px;display:grid}.capture-column{gap:16px;display:grid}.capture-stage-switch{flex-wrap:wrap;gap:10px;display:inline-flex}.capture-stage-switch .ghost-button.is-active{background:var(--secondary-bg);color:var(--secondary-text);border-color:#16232f1f}.capture-defaults-card,.capture-entry-card,.capture-reference-panel{background:var(--surface-card);border:1px solid var(--surface-card-border);border-radius:14px;align-content:start;align-self:start;gap:14px;padding:16px;display:grid}.capture-defaults-card strong,.capture-entry-header strong,.capture-reference-header strong{font-size:1rem;display:block}.capture-defaults-card p,.capture-entry-header p,.capture-reference-header p,.capture-reference-empty p{color:var(--text-muted);margin:6px 0 0;line-height:1.5}.capture-defaults-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.capture-field{gap:8px;display:grid}.capture-field span{color:var(--text-muted);font-size:.85rem}.capture-field input,.capture-textarea{border:1px solid var(--input-border);background:var(--input-bg);width:100%;min-height:48px;color:var(--text-primary);border-radius:10px;padding:12px 14px;transition:border-color .16s,box-shadow .16s}.capture-field input:focus,.capture-textarea:focus{border-color:var(--focus-color);box-shadow:0 0 0 4px var(--focus-ring);outline:none}.capture-textarea{resize:vertical;min-height:180px;font-family:inherit;line-height:1.5}.capture-field input[type=number]{appearance:textfield}.capture-field input[type=number]::-webkit-outer-spin-button{margin:0}.capture-field input[type=number]::-webkit-inner-spin-button{margin:0}.capture-actions{justify-content:flex-start;display:flex}.capture-feedback{border-radius:10px;margin:0;padding:10px 12px;font-size:.9rem;line-height:1.45}.capture-feedback p{margin:0}.capture-feedback p+p{margin-top:6px}.capture-feedback--success{background:var(--status-success-bg);color:var(--status-success-text)}.capture-feedback--error{background:var(--status-danger-bg);color:var(--status-danger-text)}.capture-reference-panel{align-content:start}.capture-reference-header{gap:12px;display:grid}.capture-reference-actions{flex-wrap:wrap;gap:10px;display:flex}.capture-reference-strip{grid-template-columns:repeat(auto-fit,minmax(148px,1fr));align-items:stretch;gap:10px;display:grid}.capture-reference-chip{text-align:left;border:1px solid var(--surface-card-border);background:var(--surface-muted);min-height:88px;color:var(--text-primary);border-radius:12px;gap:4px;padding:10px 12px;display:grid}.capture-reference-chip span{font-weight:600}.capture-reference-chip small{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.capture-reference-chip.is-active{border-color:var(--focus-color);box-shadow:0 0 0 3px var(--focus-ring)}.capture-reference-preview{gap:10px;display:grid}.capture-reference-controls{flex-wrap:wrap;gap:10px;display:flex}.capture-reference-image-stage{border:1px solid var(--surface-card-border);background:var(--surface-muted);touch-action:none;cursor:grab;border-radius:12px;justify-content:center;align-items:flex-start;min-height:320px;max-height:min(72vh,980px);padding:12px;display:flex;overflow:auto}.capture-reference-image-stage.is-dragging{cursor:grabbing}.capture-reference-preview img{object-fit:contain;transform-origin:50%;-webkit-user-select:none;user-select:none;pointer-events:none;border-radius:12px;width:auto;max-width:min(100%,960px);height:auto;max-height:min(66vh,920px);transition:transform .16s;display:block}.capture-reference-meta{color:var(--text-muted);margin:0;font-size:.9rem}.capture-reference-empty{background:var(--surface-muted);border:1px dashed var(--input-border);border-radius:12px;padding:18px}.panel,.formula-note{background:var(--panel-bg);border:1px solid var(--panel-border);box-shadow:var(--panel-shadow);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:16px}.panel{padding:18px}.home-panel{padding:24px}.recovery-panel{margin-bottom:24px;padding:24px}.recovery-banner{justify-content:space-between;align-items:center;gap:20px;display:flex}.recovery-banner h2{margin:0 0 8px}.recovery-banner p{color:var(--text-muted);margin:0;line-height:1.6}.section-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;display:flex}.section-heading h2{margin:0}.empty-state{background:var(--surface-muted);border:1px dashed var(--input-border);border-radius:14px;padding:32px}.empty-state strong,.recent-card h3{margin:0 0 8px;display:block}.empty-state p,.recent-card p{color:var(--text-muted);margin:0;line-height:1.6}.recent-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.recent-card{background:var(--surface-card);border:1px solid var(--surface-card-border);border-radius:14px;flex-direction:column;justify-content:space-between;gap:18px;padding:20px;display:flex}.credit-notes-panel{margin-bottom:24px}.product-table-panel{margin-bottom:30px}.product-table-heading{margin-bottom:16px}.document-title-block{flex:1;min-width:0;max-width:560px}.document-title-input{width:100%;color:var(--text-primary);background:0 0;border:none;padding:0;font-size:clamp(1.55rem,2.3vw,2.2rem);font-weight:700;line-height:1.1}.document-title-input:focus{outline:none}.document-status-text{color:var(--text-soft);margin:10px 0 0;font-size:.92rem;line-height:1.5}.credit-notes-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px;display:grid}.credit-note-list{gap:14px;display:grid}.credit-note-details{background:var(--surface-muted);border:1px solid var(--panel-border);border-radius:14px}.credit-note-summary{cursor:pointer;justify-content:space-between;align-items:center;gap:16px;padding:16px;list-style:none;display:flex}.credit-note-summary::-webkit-details-marker{display:none}.credit-note-summary-main{gap:6px;display:grid}.credit-note-summary-main strong{font-size:1.05rem}.credit-note-summary-main span{color:var(--text-muted);font-size:.92rem}.credit-note-summary-side{align-items:center;display:flex}.credit-note-body{padding:0 16px 16px}.credit-note-form{grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto;gap:14px;margin-bottom:14px;display:grid}.credit-note-field span{color:var(--text-muted);margin-bottom:8px;font-size:.9rem;display:block}.credit-note-field input{border:1px solid var(--input-border);background:var(--input-bg);width:100%;color:var(--text-primary);border-radius:10px;padding:12px 14px;transition:border-color .16s,box-shadow .16s}.credit-note-field input:focus{border-color:var(--focus-color);box-shadow:0 0 0 4px var(--focus-ring);outline:none}.credit-note-actions{align-items:flex-end;gap:12px;display:flex}.credit-note-total{background:var(--status-success-bg);min-height:48px;color:var(--status-success-text);border-radius:12px;align-items:center;padding:0 14px;font-weight:700;display:inline-flex}.credit-note-empty-state{background:var(--surface-card);color:var(--text-muted);border:1px dashed var(--input-border);border-radius:12px;padding:16px}.credit-note-lines-wrap{overflow-x:auto}.credit-note-lines-table{border-collapse:collapse;width:100%;min-width:920px}.credit-note-lines-table th{text-align:left;color:var(--text-muted);padding:12px 10px;font-size:.82rem}.credit-note-lines-table td{border-top:1px solid var(--panel-border);vertical-align:top;padding:10px}.credit-note-lines-table input{border:1px solid var(--input-border);background:var(--input-bg);width:100%;color:var(--text-primary);border-radius:10px;padding:10px 12px;transition:border-color .16s,box-shadow .16s}.credit-note-lines-table input:focus{border-color:var(--focus-color);box-shadow:0 0 0 4px var(--focus-ring);outline:none}input::placeholder{color:var(--text-soft)}.credit-note-line-message{color:var(--text-muted);margin:8px 0 0;font-size:.84rem;line-height:1.45}.credit-note-related-product{margin-bottom:6px;display:block}.document-meta{color:var(--text-muted);align-items:center;gap:16px;font-size:.95rem;display:flex}.document-title-input{font:inherit}.product-linear-table{gap:12px;display:grid}.product-linear-header,.product-linear-summary{grid-template-columns:.7fr 1.15fr .95fr .7fr 1fr 1fr 1.1fr .9fr;align-items:center;gap:12px;display:grid}.product-linear-header{color:var(--text-muted);letter-spacing:.08em;text-transform:uppercase;padding:0 14px;font-size:.78rem}.product-linear-row{border:1px solid var(--panel-border);background:var(--surface-muted);border-radius:16px;gap:12px;padding:14px;transition:background .18s,border-color .18s,box-shadow .18s;display:grid}.product-linear-row.is-active{border-color:#1b4e7c3d;box-shadow:0 18px 32px #11213014}.product-linear-summary{text-align:left;cursor:pointer;background:0 0;border:none;width:100%;padding:0}.product-linear-cell{min-width:0;color:var(--text-primary);font-size:.95rem}.product-linear-cell--index strong{font-size:1rem}.product-linear-cell--numeric{text-align:right;font-variant-numeric:tabular-nums}.product-linear-cell--actions{text-align:right}.product-linear-action-hint{min-height:36px;color:var(--accent-label);background:#1b4e7c14;border-radius:999px;justify-content:center;align-items:center;padding:0 12px;font-size:.84rem;font-weight:700;display:inline-flex}.product-linear-meta{border-top:1px solid var(--panel-border);grid-template-columns:minmax(0,1.1fr) minmax(0,2fr) auto;align-items:center;gap:12px;padding-top:12px;display:grid}.product-linear-message{color:var(--text-muted);margin:0;font-size:.9rem;line-height:1.45}.product-inline-metrics{flex-wrap:wrap;gap:8px;display:flex}.product-inline-metric{background:var(--surface-card);border:1px solid var(--surface-card-border);border-radius:10px;gap:2px;padding:8px 10px;display:inline-grid}.product-inline-metric span{color:var(--text-muted);text-transform:uppercase;letter-spacing:.08em;font-size:.72rem}.product-inline-metric strong{font-variant-numeric:tabular-nums;font-size:.92rem}.product-inline-metric--accent strong{color:var(--danger-text)}.product-linear-actions{justify-content:flex-end;gap:10px;display:flex}.product-linear-editor{background:var(--surface-card);border:1px solid var(--surface-card-border);border-radius:14px;gap:16px;padding:16px;display:grid}.product-linear-editor-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.product-linear-editor-heading h3{margin:6px 0 0;font-size:1.05rem}.product-linear-editor-heading p{color:var(--text-muted);max-width:360px;margin:0;line-height:1.5}.product-card-heading{gap:8px;min-width:0;display:grid}.product-card-index{color:var(--accent-label);text-transform:uppercase;letter-spacing:.1em;margin:0;font-size:.76rem}.product-card-status-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.product-card-status-copy{color:var(--text-muted);font-size:.92rem;line-height:1.5}.product-form-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;display:grid}.product-field{gap:8px;display:grid}.product-field span{color:var(--text-muted);font-size:.85rem;line-height:1.2}.product-field input{border:1px solid var(--input-border);background:var(--input-bg);width:100%;color:var(--text-primary);border-radius:10px;min-height:46px;padding:10px 12px;font-size:.95rem;transition:border-color .16s,box-shadow .16s}.product-field input:focus{border-color:var(--focus-color);box-shadow:0 0 0 4px var(--focus-ring);outline:none}.product-field .tax-input{text-align:center;padding-inline:8px}.product-metrics-grid{background:var(--product-band-bg);border:1px solid var(--product-band-border);border-radius:12px;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;padding:10px 12px;display:grid}.product-metric{border-left:1px solid var(--product-band-border);min-width:0;padding:6px 12px}.product-metric:first-child{border-left:none}.product-metric span{color:var(--text-muted);font-size:.78rem;line-height:1.2;display:block}.product-metric strong{margin-top:6px;font-size:1rem;line-height:1.1;display:block}.product-metric--accent strong{color:var(--danger-text)}.product-metric small{color:var(--text-soft);margin-top:4px;font-size:.73rem;line-height:1.2;display:block}.row-details{background:var(--surface-muted);border:1px solid var(--panel-border);border-radius:6px;padding:12px 14px}.row-details summary{cursor:pointer;color:var(--text-primary);font-weight:700}.row-details[open] summary{margin-bottom:14px}.detail-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.detail-card{background:var(--surface-card);border:1px solid var(--surface-card-border);border-radius:12px;padding:16px}.detail-card span{color:var(--text-detail);font-size:.85rem;display:block}.detail-card strong{margin:8px 0 12px;font-size:1.25rem;display:block}.detail-card p{color:var(--text-body);margin:6px 0 0}.reconciliation-list{gap:10px;margin:12px 0 0;padding:0;list-style:none;display:grid}.reconciliation-list li{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.accent-card{background:var(--warning-bg)}.primary-button,.secondary-button,.ghost-button,.danger-button{border:1px solid var(--panel-border);border-radius:14px;padding:12px 18px;transition:transform .16s,opacity .16s,background .16s,border-color .16s}.primary-button{background:var(--primary-gradient);color:var(--primary-text);box-shadow:var(--primary-shadow);border-color:#14304929;font-weight:700}.secondary-button{background:var(--secondary-bg);color:var(--secondary-text);border-color:#16232f1f}.ghost-button{background:var(--ghost-bg);color:var(--ghost-text)}.danger-button{background:var(--danger-bg);color:var(--danger-text);border-color:#8d3a3129}.primary-button:hover,.secondary-button:hover,.ghost-button:hover,.danger-button:hover{transform:translateY(-1px)}.summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0;display:grid}.summary-section .summary-grid{margin-top:0}.summary-card{background:var(--panel-bg);border:1px solid var(--panel-border);box-shadow:var(--panel-shadow);border-radius:14px;padding:20px}.summary-card span{color:var(--text-subtle);font-size:.9rem;display:block}.summary-card strong{margin-top:10px;font-size:clamp(1.5rem,3vw,2rem);display:block}.summary-card.accent{background:var(--summary-accent-bg);color:var(--summary-accent-text)}.summary-card.accent span{color:var(--summary-accent-muted)}.match-card{background:var(--match-bg)}.warning-card{background:var(--warning-bg)}.status-pill{white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;min-height:28px;padding:5px 10px;font-size:.76rem;font-weight:700;display:inline-flex}.status-pill--success{background:var(--status-success-bg);color:var(--status-success-text)}.status-pill--warning{background:var(--status-warning-bg);color:var(--status-warning-text)}.status-pill--danger{background:var(--status-danger-bg);color:var(--status-danger-text)}.status-pill--neutral{background:var(--status-neutral-bg);color:var(--status-neutral-text)}.product-row--matched{background:var(--row-success-bg)}.product-row--mismatch{background:var(--row-danger-bg)}.product-row--ambiguous{background:var(--row-warning-bg)}.formula-note{padding:24px}.formula-note h2{margin:0 0 10px}.formula-note p{color:var(--text-body);margin:0;line-height:1.6}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=1080px){.recent-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-topbar{flex-direction:column;align-items:stretch}.recovery-banner,.toolbar{flex-wrap:wrap;justify-content:space-between}.summary-grid,.credit-notes-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.credit-note-form,.capture-workspace-grid{grid-template-columns:1fr}.capture-reference-panel{order:-1}.product-linear-header,.product-linear-summary{grid-template-columns:.7fr 1fr 1fr .8fr 1fr 1fr}.product-linear-header span:nth-child(7),.product-linear-header span:nth-child(8),.product-linear-summary>:nth-child(7),.product-linear-summary>:nth-child(8){display:none}.product-linear-meta{grid-template-columns:1fr}.product-linear-actions{justify-content:flex-start}.product-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product-metrics-grid{background:0 0;border:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0}.product-metric{background:var(--surface-card);border:1px solid var(--surface-card-border);border-radius:10px;padding:10px 12px}.product-metric:first-child{border-left:1px solid var(--surface-card-border)}.detail-grid{grid-template-columns:1fr}}@media (width<=960px){.app-shell{width:min(100vw - 20px,1320px);padding-top:24px}.hero,.home-hero{flex-direction:column;align-items:stretch}.hero h1,.home-hero h1{max-width:none}.recovery-banner{flex-direction:column;align-items:stretch}.credit-note-card{grid-template-columns:1fr}.credit-note-actions{flex-wrap:wrap;align-items:stretch}.credit-note-summary{flex-direction:column;align-items:stretch}.credit-note-body{padding:0 14px 14px}.capture-defaults-grid{grid-template-columns:1fr}.product-linear-header{display:none}.product-linear-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-linear-cell--actions{display:none}.product-linear-editor-heading{flex-direction:column}.product-linear-editor-heading p{max-width:none}.product-form-grid,.product-metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.credit-notes-summary,.recent-grid,.summary-grid{grid-template-columns:1fr}.credit-notes-panel .section-heading{flex-direction:column;align-items:stretch}.panel,.formula-note,.recent-card,.summary-card{border-radius:14px}.product-form-grid,.product-metrics-grid{grid-template-columns:1fr}.product-linear-row{padding:12px}.product-linear-summary{grid-template-columns:1fr}.product-linear-cell{justify-content:space-between;gap:12px;display:flex}.product-linear-cell--numeric{text-align:left}.product-linear-cell:before{content:attr(data-label);color:var(--text-muted);text-transform:uppercase;letter-spacing:.08em;font-size:.8rem}.product-inline-metrics,.product-linear-actions,.capture-stage-switch,.capture-reference-controls,.capture-reference-actions,.capture-actions{grid-template-columns:1fr;display:grid}.capture-reference-strip{grid-template-columns:1fr}.capture-stage-switch .ghost-button,.capture-reference-controls .ghost-button,.capture-reference-actions .ghost-button,.capture-reference-actions .secondary-button,.capture-actions .primary-button{width:100%}.capture-workspace-panel,.capture-defaults-card,.capture-entry-card,.capture-reference-panel{gap:12px}.capture-entry-card-button{padding:18px}.credit-note-lines-wrap{overflow-x:visible}.credit-note-lines-table{min-width:0}.credit-note-lines-table thead{display:none}.credit-note-lines-table,.credit-note-lines-table tbody,.credit-note-lines-table tr,.credit-note-lines-table td{width:100%;display:block}.credit-note-lines-table tbody{gap:12px;display:grid}.credit-note-lines-table tr{background:var(--surface-card);border:1px solid var(--surface-card-border);border-radius:12px;padding:14px}.credit-note-lines-table td{border-top:none;margin-top:12px;padding:0}.credit-note-lines-table td:first-child{margin-top:0}.credit-note-lines-table td:before{content:attr(data-label);color:var(--text-muted);margin-bottom:8px;font-size:.82rem;line-height:1.2;display:block}.credit-note-line-action .ghost-button{width:100%}.credit-note-actions{grid-template-columns:1fr;display:grid}.credit-note-actions .ghost-button,.credit-notes-panel .section-heading .primary-button{width:100%}.credit-notes-panel .section-heading,.credit-note-summary{gap:12px}}
