/* Additive management surfaces share the approved palette and register geometry. */
.feature-fields{display:grid;gap:12px}.feature-fields .field{margin:0}.feature-fields .pair,.feature-stock-editor .pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.feature-button,.feature-filter-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px 12px;border:1px solid var(--line);border-radius:11px;background:var(--surface);color:var(--ink);font:inherit;font-size:12px;font-weight:700;cursor:pointer}.feature-button svg,.feature-filter-button svg{width:18px;height:18px;flex-shrink:0}.feature-button:focus-visible,.feature-filter-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.feature-button.negative{color:var(--negative,#ec9292)}.feature-fields input,.feature-fields select,.feature-fields output{width:100%;min-width:0}.feature-details{border:1px solid var(--line);border-radius:12px;padding:12px;margin-block:8px}.feature-details>summary{font-size:13px;font-weight:700;cursor:pointer;padding-block:6px}.feature-details[open]>summary{margin-bottom:12px}.feature-admin-list{display:grid;gap:0;max-height:min(48dvh,430px);overflow:auto;border:2px solid var(--line);border-radius:13px}.feature-admin-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;min-height:52px;min-width:0;background:var(--surface);color:var(--ink);text-align:start;border:0}.feature-admin-row+.feature-admin-row{border-top:2px solid var(--line)}.feature-admin-row strong{font-size:13px;overflow-wrap:anywhere}.feature-admin-row small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.feature-admin-tools{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.feature-inline-form,.feature-category-bar{display:flex;align-items:end;gap:8px;margin-block:10px}.feature-inline-form .field,.feature-category-bar select{flex:1;min-width:0}.feature-category-bar select{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:11px;min-height:42px;padding:8px}.feature-permissions{width:100%;border-collapse:collapse;font-size:11px;table-layout:fixed}.feature-permissions th,.feature-permissions td{border:2px solid var(--line);padding:8px 4px;text-align:center;color:var(--ink);background:var(--surface)}.feature-permissions th:first-child{width:36%;text-align:start}.feature-permissions input{width:22px;height:22px;min-height:0;accent-color:var(--accent)}.permission-frame{max-height:40dvh;overflow:auto}.feature-permissions thead{position:sticky;top:0;z-index:1}.feature-logo-setting{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.feature-logo-setting img,.feature-logo-placeholder{width:64px;height:64px;object-fit:contain;border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:6px}.feature-logo-placeholder{display:grid;place-items:center}.feature-logo-placeholder svg{width:30px;height:30px}.feature-stock-add{display:flex;align-items:end;gap:8px;margin-bottom:12px}.feature-stock-add .field{flex:1;min-width:0}.feature-row-name,.feature-row-number{color:var(--ink);font:inherit;font-weight:700;text-align:start;max-width:100%;border:0;background:transparent;padding:6px}.feature-stock-lines th:last-child{width:40px}.feature-stock-lines .icon-btn{min-width:30px;min-height:30px;width:30px;height:30px}.feature-opening-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-block:12px}.feature-opening-metrics>span{padding:12px 8px;border:1px solid var(--line);border-radius:12px;background:var(--surface);font-size:11px;color:var(--muted)}.feature-opening-metrics b{display:block;font-size:22px;color:var(--ink);margin-top:5px}.feature-action-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-block:12px}.feature-check{display:flex;align-items:center;gap:8px;font-size:12px;margin:12px 0}.feature-check input{width:20px;height:20px;accent-color:var(--accent)}.feature-scope{padding:14px;border:1px solid var(--line);border-radius:13px;background:var(--surface);margin-block:12px}.feature-scope small{display:block;color:var(--muted);margin-top:5px}.feature-reset{color:var(--ink);border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:8px 12px;min-height:40px;margin-top:12px}.feature-draft-note{font-size:11px;color:var(--muted)}.feature-report-table table{table-layout:fixed}.feature-report-table th{font-size:11px}.feature-report-table td{font-size:11px;overflow-wrap:anywhere}.feature-report-table small{display:block;color:var(--muted);font-size:10px}.feature-report-table .amount{font-size:14px}.feature-filter-button{flex-basis:100%}.feature-stock-editor .register-scroll{max-height:35dvh}.feature-sheet .sheet-body{overscroll-behavior:auto}
@media(max-width:360px){.feature-admin-row{flex-wrap:wrap}.feature-admin-tools{width:100%}.feature-report-table th,.feature-report-table td{padding:7px 3px}.feature-report-table .amount{font-size:12px}}

.phone .feature-stock-lines,.phone .feature-report-table table{min-width:0!important;width:100%!important;table-layout:fixed}.feature-stock-lines th,.feature-stock-lines td{padding:8px 4px!important}.feature-stock-lines th:first-child,.feature-stock-lines td:first-child{width:auto}.feature-stock-lines .row-ordinal{width:22px!important}

.feature-import-counts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.feature-import-counts>div{display:flex;justify-content:space-between;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:10px;font-size:12px}.feature-import-counts b{font-size:19px}

.document-brand-logo{float:inline-start;width:36px;height:36px;object-fit:contain;margin-inline-end:9px}.feature-report-table .amount{white-space:nowrap!important;display:inline-flex!important}.feature-report-table .currency{font-size:8px}

.phone .browse-toolbar:has(.feature-filter-button){flex-wrap:wrap}.phone .browse-toolbar:has(.feature-filter-button)>.browse-select{flex:1 1 calc(50% - 4px)}.phone .browse-toolbar>.feature-filter-button{flex:1 0 100%;min-height:38px}

.phone .feature-report-table .money-wide{font-size:clamp(9px,2.6vw,12px)!important}.phone .feature-report-table .money-wide .currency{display:none}.phone .feature-report-table .column-sort{white-space:normal!important;line-height:1.4}

.feature-row-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
