.editor,.scan-surface{border-top:1px solid var(--line);padding:24px 0;margin-top:24px}.editor form,.access form{display:grid;gap:16px}.filters,.actions{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:16px 0}.filters label{min-width:160px;max-width:100%;flex:1}.table-panel{background:white;border:1px solid var(--line)}.invoice-line{position:relative;padding:20px 52px 20px 0;border-bottom:1px solid var(--line)}.remove-line{position:absolute;right:0;top:20px}.store-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.store-grid article{background:white;border:1px solid var(--line);border-radius:8px;padding:20px}.store-grid h3{font-size:16px}.access{max-width:420px;margin:64px auto;padding:24px}.access h1{font-size:26px}#scan-form{display:flex;flex-wrap:wrap;gap:12px;align-items:end}#camera-video{width:min(100%,480px);aspect-ratio:4/3;object-fit:cover;margin-top:16px}#camera-video[hidden]{display:none}#scan-result{padding:16px 0}nav[role=navigation]{margin:16px 0}nav[role=navigation] svg{width:20px;height:20px}h2{font-size:20px}td{overflow-wrap:anywhere}.notice ul{margin:0}.brand-copy strong{white-space:normal}.account-card{min-width:0;max-width:240px}@media(max-width:800px){.store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid{grid-template-columns:1fr}.account-card{display:none}.app-header-inner{gap:8px}.page-heading{align-items:start;flex-wrap:wrap}.page-heading h1{font-size:24px}.shell{width:94%}.module-nav a{font-size:12px;padding:8px}.invoice-line{padding-right:44px}}@media(max-width:420px){.store-grid{grid-template-columns:1fr}.brand-copy strong{font-size:18px}.access{margin:24px auto}}@media print{.system-strip,.app-header,.module-nav-shell,.filters,.actions,.print-button,nav[role=navigation]{display:none!important}.shell{width:100%}.page{margin:0}.table-panel{overflow:visible}table{font-size:10px}th,td{padding:6px}tr{break-inside:avoid}body{background:white}.page-heading{margin:12px 0}}
.button[hidden],video[hidden]{display:none!important}
.presentation-pending{display:inline-flex;align-items:center;justify-content:center;gap:4px;max-width:100%;border:0;border-radius:0;padding:8px;background:transparent;color:var(--blue);text-decoration:underline;font:inherit;font-size:13px;cursor:pointer}.presentation-pending[hidden]{display:none!important}.presentation-pending:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}.presentation-dialog{width:min(460px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid var(--line);border-radius:8px;color:inherit;background:#fff}.presentation-dialog::backdrop{background:rgb(0 0 0 / 40%)}.presentation-dialog form{display:grid;gap:16px}.presentation-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.presentation-heading h2{font-size:18px;margin:0;overflow-wrap:anywhere}.presentation-dialog p{margin:0;overflow-wrap:anywhere}.presentation-dialog label{display:grid;gap:6px;min-width:0}.presentation-dialog input,.presentation-dialog select{width:100%;min-width:0}.presentation-dialog .actions{justify-content:flex-end;margin:0}.presentation-error{color:#b42318}.presentation-error[hidden]{display:none!important}
.invoice-purchase-summary{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:16px;padding:16px 0;font-size:16px}.invoice-purchase-summary output{font-weight:750;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.invoice-sheet:not(.review-sheet){min-width:2180px}.invoice-sheet:not(.review-sheet) th:nth-child(12){width:auto}.invoice-sheet:not(.review-sheet) th:nth-child(13){width:auto}.invoice-sheet:not(.review-sheet) th:nth-child(14){width:240px}.invoice-sheet:not(.review-sheet) th:nth-child(15){width:180px}
table[data-resizable]{table-layout:fixed;min-width:0!important}table[data-resizable] th{position:relative!important;white-space:normal;overflow-wrap:anywhere}table[data-resizable] th:last-child{border-right:0}
.column-resizer{position:absolute;right:0;top:0;width:10px;height:100%;padding:0;border:0;border-radius:0;background:transparent;cursor:col-resize;touch-action:none}.column-resizer:hover,.column-resizer:focus-visible{background:#b9d4ff;outline:0}.column-resizing,.column-resizing *{cursor:col-resize!important;user-select:none!important}
@media print{.column-resizer{display:none!important}table[data-resizable]{width:100%!important}}
.invoice-sheet th{position:static!important;white-space:normal;line-height:1.4}.invoice-list table{min-width:700px}
@media(max-width:800px){.module-nav{flex-wrap:nowrap;overflow-x:auto}.invoice-sheet-wrap{overscroll-behavior-x:contain}}
.settings-logo,.access-logo{width:180px;height:90px;object-fit:contain;object-position:left center}.settings-favicon{width:48px;height:48px;object-fit:contain}.brand-copy strong,.brand-copy small,.access h1,.system-strip-inner{overflow-wrap:anywhere}.sync-time{max-width:60%;text-align:right}.brand img{flex-shrink:0}.settings-logo{margin-bottom:12px}
@media screen{
 .invoice-sheet tr[data-line].is-active>td{background:#ffd29a}
 .invoice-sheet tr[data-line].is-active input[readonly]{background:transparent;color:#354052}
 .invoice-sheet tr[data-line].is-active input:focus,.invoice-sheet tr[data-line].is-active select:focus{background:#ffb85c;outline:2px solid #b45309;outline-offset:-2px}
table[data-resizable="invoice-entry"] tr>:nth-child(2),table[data-resizable="invoice-review"] tr>:first-child,table[data-resizable="invoice-detail"] tr>:first-child{position:sticky!important;left:0;top:auto;z-index:2;background:#e8f5ee;box-shadow:2px 0 0 #9dcab0;text-align:left}
table[data-resizable="invoice-entry"] thead tr>:nth-child(2),table[data-resizable="invoice-review"] thead tr>:first-child,table[data-resizable="invoice-detail"] thead tr>:first-child{z-index:3;background:#d0ebdc;color:#145438}
}
.invoice-sheet-wrap{max-width:100%;overflow:auto;border:1px solid var(--line);background:white;margin-top:20px}.invoice-sheet{min-width:1900px;table-layout:fixed}.invoice-sheet th{position:sticky;top:0;z-index:1}.invoice-sheet th,.invoice-sheet td{border-right:1px solid var(--line);padding:0;height:44px}.invoice-sheet th{padding:10px 8px;height:38px}.invoice-sheet input,.invoice-sheet select{border:0;border-radius:0;box-shadow:none;padding:9px 8px;height:44px;min-width:0;width:100%;font-size:13px;background:transparent}.invoice-sheet input:focus,.invoice-sheet select:focus{outline:2px solid var(--blue);outline-offset:-2px;background:#f5f9ff}.invoice-sheet input[readonly]{background:#f3f6fa;color:#52627d;cursor:default}.invoice-sheet output{display:block;padding:8px;font-variant-numeric:tabular-nums}.invoice-sheet td:first-child{text-align:center;font-variant-numeric:tabular-nums}.invoice-sheet th:first-child{width:44px}.invoice-sheet th:nth-child(2){width:270px}.invoice-sheet th:nth-child(3){width:100px}.invoice-sheet th:nth-child(12){width:240px}.invoice-sheet th:nth-child(13){width:180px}.invoice-sheet th:last-child{width:44px}.invoice-sheet .remove-line{position:static;width:34px;height:34px;margin:4px;border:0}.review-sheet{min-width:950px}.review-sheet th:first-child{width:240px}.review-sheet th:nth-child(2){width:140px}.review-sheet th:last-child{width:auto}.review-sheet td:first-child{text-align:left;padding:8px}.review-sheet input[type=hidden]{display:none!important}.editor [data-pricing-grid]{display:block}.editor [data-pricing-grid]>.form-grid{gap:16px}.editor [data-pricing-grid]>label{max-width:240px}@media print{.invoice-sheet-wrap{overflow:visible}.invoice-sheet{min-width:0}}
