@charset "UTF-8";
[hidden]{display:none!important}
.password-field{min-width:0}.password-field>p{margin:9px 0;font-size:.8125rem}.password-feedback{padding:14px 15px;border:1px solid #e0dfe8;background:#f8fafd;border-radius:7px}.password-score{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:.8125rem}.password-score strong{font-weight:600;text-align:right}.password-feedback meter{display:block;width:100%;height:13px;margin:10px 0 12px}.password-checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:5px 12px;margin:0;padding:0;list-style:none;font-size:.8125rem;color:#6a6c7e}.password-checks [data-met=true]{color:#08745a}.password-field[data-strength="1"] [data-password-label]{color:#b12e3d}.password-field[data-strength="2"] [data-password-label]{color:#93600b}.password-field[data-strength="3"] [data-password-label],.password-field[data-strength="4"] [data-password-label]{color:#08745a}
:root{--nav:#272d50;--nav-dim:#bdc0d2;--nav-hover:#373d61;--ink:#292e4d;--muted:#6a6c7e;--accent:#98285e;--accent-dark:#771e49;--line:#e0dfe8;--surface:#fff;--back:#f5f4f7;--red:#b12e3d;--amber:#93600b;--shadow:0 3px 16px rgba(20,42,70,.035);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-size:16px;line-height:1.5;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--back)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button,summary{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #c96e9d;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:1.95rem;line-height:1.2;letter-spacing:-.04em;font-weight:700}h2{font-size:1.12rem;line-height:1.4;font-weight:650;letter-spacing:-.018em}h3{font-size:1.1rem}p{margin:8px 0 0}small,.small{font-size:.8125rem;line-height:1.55}.muted{color:var(--muted)}.amber{color:var(--amber)}.credit{color:#087460}.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.8125rem}.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.nowrap{white-space:nowrap}.eyebrow{font-size:.75rem;letter-spacing:.12em;font-weight:700;color:var(--accent);margin:0 0 10px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;border:1px solid #ccd7e4;border-radius:7px;padding:9px 16px;background:white;color:var(--ink);font-size:.875rem;font-weight:600;line-height:1.35;box-shadow:0 2px 0 #e7edf3;white-space:nowrap}.button:hover{background:#f2f6fa;border-color:#b5c5d5}.button:active{transform:translateY(1px);box-shadow:none}.button.primary{background:var(--accent);border-color:var(--accent);color:white;box-shadow:0 2px 0 var(--accent-dark)}.button.primary:hover{background:var(--accent-dark)}.button.destructive{background:var(--red);border-color:var(--red);color:white;box-shadow:0 2px 0 #882330}.button.quiet{background:transparent;box-shadow:none;border-color:transparent;color:var(--muted)}.small-button{font-size:.8125rem;min-height:34px;padding:7px 12px}.full{width:100%}.text-link{color:var(--accent);font-size:.875rem;font-weight:600}.text-link:hover{text-decoration:underline}.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.stack{display:flex;flex-direction:column;gap:18px}.stack>p,.stack>h2{margin:0}.stack>.actions{margin-top:4px}.card{background:white;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);margin-bottom:24px;min-width:0}.card:last-child{margin-bottom:0}.padded{padding:24px}.padded h2{margin-bottom:18px}.card-heading{padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.badge{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:3px 9px;font-size:.75rem;border-radius:5px;font-weight:600;white-space:nowrap;background:#edf1f6;color:#596a80}.badge.good,.status-delivered{color:#08745a;background:#e5f5ef}.badge.bad,.status-exception{color:#a52d3f;background:#ffecef}.badge.blue,.status-in_transit{color:#2a5fa5;background:#eaf2ff}.badge.purple{color:#6f4b9a;background:#f0eafa}.status-pending,.status-booked{background:#fff4db;color:#8b6115}.status-returned,.status-cancelled{background:#f0edf3;color:#665778}.notice{border:1px solid #d4e6ec;background:#eef7fa;border-radius:8px;padding:14px 18px;font-size:.875rem;margin:0 0 22px;color:#355b6c}.notice.success{border-color:#bde5d7;background:#edfaf4;color:#166c51}.notice.warning{border-color:#ead8ab;background:#fff8e8;color:#805c1e}.notice.danger{border-color:#ecc5cd;background:#fff0f2;color:#932c40}.notice p{margin-top:6px}.stack .notice{margin:0}.app-shell{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--nav);color:#d8e2ef;padding:28px 16px 22px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;width:244px;overflow-y:auto;z-index:25}.brand-line{display:flex;gap:12px;align-items:center;padding:0 9px;margin-bottom:36px;font-size:1rem;font-weight:650;line-height:1.3}.brand-line>span{overflow-wrap:anywhere}.brand-line small{display:block;font-weight:400;color:var(--nav-dim);margin-top:5px;font-size:.75rem}.brandmark{flex:0 0 38px;width:38px;height:38px;border-radius:8px;background:var(--accent);color:#fff;font-weight:800;display:grid;place-items:center;font-size:1.35rem;box-shadow:inset 0 0 0 1px #ffffff20}.nav-label{font-size:.6875rem;color:var(--nav-dim);letter-spacing:.12em;margin:19px 12px 9px;font-weight:650}.nav-item{display:flex;align-items:center;gap:11px;font-size:.875rem;border-radius:6px;padding:11px 12px;margin:4px 0;font-weight:450}.nav-item>span{width:18px;font-size:1.1rem;text-align:center;line-height:1}.nav-item:hover{background:var(--nav-hover)}.nav-item.active{background:#703459;color:#fff1f8;box-shadow:inset 3px 0 0 #c96e9d}.sidebar-foot{margin-top:auto;padding:32px 12px 0;font-size:.75rem;color:#bac9dd}.sidebar-foot small{color:#90a4bf}.main-shell{grid-column:2;min-width:0;display:flex;flex-direction:column}.topbar{height:83px;background:#fff;border-bottom:1px solid var(--line);padding:0 34px;display:flex;justify-content:space-between;align-items:center;gap:20px}.breadcrumb{display:flex;align-items:center;gap:14px;font-size:.8125rem;color:#64788e;min-width:0}.breadcrumb strong{font-weight:550;color:#263f59;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:35vw}.user-menu,.user-menu>a{display:flex;align-items:center;gap:12px}.user-menu{gap:20px}.user-menu>a{font-size:.8125rem;font-weight:600}.user-menu small{display:block;font-size:.6875rem;color:var(--muted);font-weight:400}.avatar{width:35px;height:35px;background:#f6e9f0;border:1px solid #edcfde;border-radius:50%;display:grid;place-items:center;color:var(--accent)}.menu-button{display:none;border:0;background:none;color:var(--ink);font-size:1.5rem}.workspace{width:100%;max-width:1800px;padding:34px;flex:1}.workspace-footer{display:flex;justify-content:space-between;padding:16px 34px 22px;font-size:.75rem;color:#7d8b9d}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.page-heading h1{margin:6px 0}.page-heading p.muted{font-size:.875rem}.metric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin-bottom:28px}.metric{background:white;border:1px solid var(--line);padding:22px;border-radius:9px;box-shadow:var(--shadow);border-top:3px solid #c5d6e1}.metric:first-child{border-top-color:var(--accent)}.metric p{font-size:.875rem;color:#5e7086;margin:0;display:flex;justify-content:space-between;align-items:center;gap:10px}.metric strong{font-size:1.7rem;letter-spacing:-.035em;font-variant-numeric:tabular-nums;display:block;margin:15px 0 8px}.metric small{display:block;color:var(--muted);font-size:.75rem}.metric a{font-size:.75rem;color:var(--accent)}.table-wrap{overflow-x:auto;overscroll-behavior-x:contain;max-width:100%}table{width:100%;border-collapse:collapse;font-size:.875rem}th{text-align:left;background:#f8fafd;color:#67768a;font-size:.75rem;letter-spacing:.025em;font-weight:650;border-top:1px solid #e7edf4;border-bottom:1px solid var(--line);padding:13px 20px;white-space:nowrap}td{padding:16px 20px;border-bottom:1px solid #e9eef5;vertical-align:middle;line-height:1.5}tr:last-child td{border-bottom:0}td strong{font-weight:600}tbody tr:hover{background:#fcfdff}.cell-sub{display:block;color:var(--muted);font-size:.75rem;margin-top:4px;overflow-wrap:anywhere}.cell-sub.amber{color:var(--amber)}td.description{min-width:205px;max-width:320px}td.description>a{font-weight:550}td.description>a:hover{color:var(--accent)}.balance{font-weight:650}.ledger-table td,.ledger-table th{padding:14px}.balance-col{background:#f8f0f5;font-weight:650}.ledger-table .voided{opacity:.55}.voided td.description>a{text-decoration:line-through}.empty{text-align:center;padding:46px 28px;color:var(--muted)}.empty h2,.empty h3{color:var(--ink);margin-bottom:10px}.empty .button{margin-top:20px}.empty.compact{padding:28px}.filters{display:flex;gap:14px;padding:20px;align-items:flex-end;flex-wrap:wrap}.filters label{flex:1 1 130px;min-width:0;margin:0}.filters label:first-of-type{flex:2 1 220px}.filters label.check{flex:0 0 auto;padding-bottom:12px}.filters.bare{padding:0;border:0;box-shadow:none;margin:0}.summary-strip{display:grid;grid-template-columns:repeat(3,1fr);background:white;border:1px solid var(--line);border-radius:9px;overflow:hidden;margin-bottom:12px}.summary-strip>div{padding:20px 24px;border-right:1px solid var(--line)}.summary-strip>div:last-child{border-right:0}.summary-strip span{display:block;font-size:.8125rem;color:var(--muted);margin-bottom:7px}.summary-strip strong{font-size:1.4rem;font-variant-numeric:tabular-nums;letter-spacing:-.02em}.summary-strip .summary-balance{background:#f5e9f0}.summary-strip+p{margin:0 0 22px}.pagination{padding:16px 20px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;font-size:.8125rem;color:var(--muted)}label{display:flex;flex-direction:column;gap:7px;font-size:.875rem;font-weight:550;color:#3e5169}input,select,textarea{width:100%;border:1px solid #cfd9e6;border-radius:6px;background:#fff;min-height:43px;padding:10px 12px;font-size:.875rem;color:var(--ink);line-height:1.4;max-width:100%}input::placeholder,textarea::placeholder{color:#98a5b5}input[readonly],input:disabled,select:disabled,textarea:disabled{background:#f5f7fa;color:#687b90}input[type=checkbox]{appearance:auto;width:17px;min-height:17px;height:17px;padding:0;flex-shrink:0;accent-color:var(--accent);margin:1px 0}input[type=file]{padding:10px;background:#f8fafd}input[type=file]::file-selector-button{border:1px solid var(--line);border-radius:4px;padding:5px 9px;background:white;color:var(--ink);margin-right:10px}textarea{resize:vertical}.check{display:flex;flex-direction:row;align-items:flex-start;gap:9px;font-weight:450;line-height:1.5}.check input{margin-top:3px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.span-2{grid-column:span 2}.section-label{font-weight:650;font-size:.9375rem;margin:8px 0 0;padding-top:20px;border-top:1px solid var(--line)}.entry-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px;align-items:start}.entry-layout>aside{gap:20px}.entry-layout>aside .card{margin:0}.entry-form fieldset{border:0;padding:0;margin:0;display:flex;flex-direction:column;gap:20px;min-width:0}.entry-form legend{font-size:1.125rem;font-weight:650;margin-bottom:22px}.calculation{background:#f9eff5;border:1px solid #ebd1df;border-radius:7px;padding:15px 18px;display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:.875rem}.calculation strong{font-size:1.1rem}.calculation strong>span{font-size:.75rem;font-weight:400;margin-right:5px}.detail-list{margin:0;display:flex;flex-direction:column;gap:4px;font-size:.875rem}.detail-list dt{font-size:.75rem;color:var(--muted);margin-top:13px}.detail-list dt:first-child{margin-top:0}.detail-list dd{margin:0;overflow-wrap:anywhere}.source-values{max-width:550px;max-height:380px;white-space:pre-wrap;overflow-wrap:anywhere;overflow:auto;font-size:.75rem;background:#f5f7fa;padding:14px;line-height:1.5}.split-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);gap:24px;align-items:start;margin-bottom:24px}.split-layout>.card{margin:0}.popover-form{min-width:220px;max-width:320px;padding:14px 0 5px}.popover-form p{white-space:normal}.popover-form label{font-size:.8125rem}.narrow{max-width:560px}.auth-page{background:#f0f4f8}.auth-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:38px 20px;background:linear-gradient(160deg,#e8e7ef 0%,#fbf6f9 65%)}.login-card{width:100%;max-width:420px;padding:38px 36px 28px;background:white;border:1px solid #d6e0eb;border-top:4px solid var(--accent);border-radius:12px;box-shadow:0 15px 55px #122a4420}.login-card .brandmark{margin-bottom:28px;width:44px;height:44px}.login-card h1{font-size:2rem}.login-card>p.muted{margin:8px 0 27px;font-size:.9375rem}.login-foot{text-align:center;margin-top:24px;font-size:.75rem}.setup-card{width:100%;max-width:800px;padding:36px;background:white;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 45px #162d4710}.setup-card .brand-line{padding:0;margin-bottom:24px}.setup-card .brand-line small{color:var(--muted)}.steps{display:flex;gap:20px;flex-wrap:wrap;padding:24px 0;font-size:.8125rem;border-bottom:1px solid var(--line);color:var(--muted);margin-bottom:25px}.steps .current{color:var(--accent);font-weight:650}.checks{margin:0 0 26px}.checks>div{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid #edf1f6;font-size:.875rem}.error-card{max-width:620px;padding:32px}.error-card .actions{margin-top:24px}hr{border:0;border-top:1px solid var(--line);margin:20px 0}summary{font-size:.875rem}
@media(min-width:1700px){.workspace{padding:40px 48px}.topbar{padding:0 48px}}
@media(max-width:1200px){.app-shell{grid-template-columns:220px minmax(0,1fr)}.sidebar{width:220px}.workspace{padding:26px}.topbar{padding:0 26px}.entry-layout{grid-template-columns:minmax(0,1fr) 270px}.split-layout{grid-template-columns:minmax(0,1fr)}.page-heading{align-items:flex-start}.summary-strip strong{font-size:1.2rem}.user-menu{gap:8px}}
@media(max-width:900px){.app-shell{display:block}.sidebar{transform:translateX(-100%);transition:transform .2s;width:244px;box-shadow:8px 0 35px #10213e25;top:70px}.sidebar.is-open{transform:translateX(0)}.menu-button{display:inline-flex;align-items:center;padding:0 3px 0 0}.topbar{height:70px;position:sticky;top:0;z-index:30}.breadcrumb>span{display:none}.breadcrumb strong{max-width:30vw}.user-menu>a>span:not(.avatar){display:none}.entry-layout{grid-template-columns:minmax(0,1fr)}.entry-layout>aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.page-heading h1{font-size:1.7rem}.nav-label{font-size:.75rem}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.workspace{padding:23px 16px}.topbar{padding:0 16px}.breadcrumb strong{font-size:.8125rem;max-width:39vw}.user-menu .avatar{display:none}.page-heading{flex-direction:column;gap:18px;margin-bottom:23px}.page-heading h1{font-size:1.6rem}.metric-grid{gap:12px}.metric{padding:17px 14px}.metric p{font-size:.75rem}.metric strong{font-size:1.25rem;overflow-wrap:anywhere}.metric small,.metric a{font-size:.75rem}.card-heading{padding:18px}.padded{padding:20px}.summary-strip{grid-template-columns:1fr}.summary-strip>div{padding:13px 18px;display:flex;justify-content:space-between;align-items:center;border-right:0;border-bottom:1px solid var(--line);gap:12px}.summary-strip>div:last-child{border-bottom:0}.summary-strip span{margin:0}.summary-strip strong{font-size:1.1rem}.filters{padding:16px;gap:12px}.filters label:first-of-type{flex-basis:100%}.filters .check{flex:1 1 auto}.filters button{align-self:flex-end}.form-grid{grid-template-columns:1fr;gap:17px}.span-2{grid-column:auto}.entry-layout>aside{display:flex}.split-layout{gap:20px}.workspace-footer{padding:16px;font-size:.75rem;gap:20px}.workspace-footer span{display:none}.login-card{padding:28px 25px}.setup-card{padding:24px 20px}.auth-shell{padding:24px 14px}.setup-card h1{font-size:1.6rem}.steps{gap:10px;font-size:.75rem}.card-heading p{font-size:.75rem}.pagination{padding:14px}.button{white-space:normal;text-align:center}.source-values{max-width:70vw}.popover-form{max-width:230px}}
@media print{@page{size:A4 landscape;margin:12mm}body{background:white;color:black;font-size:11px}.sidebar,.topbar,.workspace-footer,.actions,.filters,.pagination,.menu-button,.page-heading>.actions{display:none!important}.app-shell,.main-shell{display:block}.workspace{max-width:none;padding:0}.card{box-shadow:none;border:0;border-radius:0;margin:14px 0}.table-wrap{overflow:visible}table{font-size:10px}th,td,.ledger-table th,.ledger-table td{padding:6px!important;white-space:normal!important}.cell-sub,.small,.muted{font-size:10px}.page-heading h1{font-size:22px}thead{display:table-header-group}tr{break-inside:avoid}.badge{font-size:9px}.summary-strip{display:flex}.summary-strip>div{flex:1}.summary-strip strong{font-size:15px}.page-heading{margin:0}.notice{font-size:11px}.card-heading{padding:8px 0}}

/* ImpoHub brand and product entry surfaces. */
.brand-logo{display:block;width:170px;height:auto;object-fit:contain;border-radius:8px;background:#f4f4f4}
.sidebar-brand{flex-direction:column;align-items:flex-start;padding:0 10px;margin-bottom:14px;gap:14px}.sidebar-brand .brand-logo{width:100%;max-width:188px}.sidebar-brand>span{font-size:.9375rem}.sidebar-brand small{font-size:.6875rem}
.login-card .brand-logo{width:172px;margin:0 auto 24px}.login-card>.eyebrow{text-align:center}.setup-card .brand-logo{width:104px;flex:0 0 104px}
.auth-shell{background:radial-gradient(ellipse at top right,#ecd8e5 0,transparent 48%),linear-gradient(145deg,#e5e5ee,#faf8fb)}
.button.primary{background:linear-gradient(165deg,#a22c67,var(--accent));border-color:#862153}.button.primary:hover{background:var(--accent-dark)}.metric:nth-child(2){border-top-color:var(--nav)}
.product-table td:nth-child(2){min-width:185px}.product-photo{display:block;width:64px;height:64px;object-fit:contain;border:1px solid var(--line);border-radius:8px;background:#fff;padding:3px}.no-photo{display:grid;place-items:center;font-size:.6875rem;color:var(--muted);background:var(--back);text-align:center}
.product-picker{position:relative;min-width:0}.product-suggestions{position:absolute;inset:76px 0 auto;z-index:15;max-height:310px;overflow-y:auto;border:1px solid #c2b6c8;border-radius:8px;background:white;box-shadow:0 12px 30px #292e4d22}.product-suggestions button{display:block;width:100%;text-align:left;white-space:normal;padding:12px 15px;border:0;border-bottom:1px solid var(--line);background:white;color:var(--ink);font-size:.875rem}.product-suggestions button:hover,.product-suggestions [aria-selected=true]{background:#f7eaf2}.product-suggestions small{display:block;color:var(--muted);margin-top:4px}
.barcode-controls{display:flex;gap:10px;align-items:flex-end;margin-top:16px;flex-wrap:wrap}.barcode-controls>label{flex:1 1 220px}.barcode-controls .button{flex:0 1 auto}.product-selection{padding:10px 12px;background:#f7eaf2;color:var(--accent-dark);border-radius:6px;font-weight:600}.barcode-camera{margin-top:14px;background:#f0eef5;padding:14px;border-radius:9px}.barcode-camera video{display:block;width:100%;max-height:310px;border-radius:6px;background:#22263e;object-fit:cover;margin-bottom:12px}.reset-entries{border-color:#e3b8c7}.reset-entries>p{margin-bottom:18px}
@media(max-width:600px){.barcode-controls>.button{flex:1 1 130px}.product-suggestions{max-height:250px}.setup-card .brand-logo{width:84px;flex-basis:84px}.product-photo{width:52px;height:52px}}
:root{--receipt-accent:#982d62}
.entry-fields{border:0;padding:0;margin:0;min-width:0;display:block}
.entry-fields>legend{font-weight:700;margin-bottom:16px}
.item-lines{display:grid;gap:18px}
.item-line-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}
.item-line-heading h2{margin:0}
.items-toolbar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:18px 0}
.items-summary{display:flex;justify-content:space-between;align-items:center;gap:16px;background:var(--soft,#f8f6fa);padding:18px;border-radius:12px;margin-bottom:18px}
.items-summary strong{font-size:1.6rem;color:var(--receipt-accent)}
.payment-methods{border:0;margin:0 0 18px;padding:0;min-width:0}
.payment-methods legend{font-weight:700;margin-bottom:12px}
.method-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.method-choice{position:relative;cursor:pointer;display:block!important;margin:0!important}
.method-choice input{position:absolute;opacity:0;width:1px;height:1px}
.method-choice span{display:flex;align-items:center;justify-content:center;min-height:58px;padding:12px;border:1px solid #d5d2df;border-radius:10px;background:white;text-align:center;font-weight:650;color:#263354}
.method-choice input:checked+span{border:2px solid var(--receipt-accent);padding:11px;background:#f9edf3;color:#8e2558;box-shadow:0 0 0 1px #982d621a}
.method-choice input:focus-visible+span{outline:3px solid #8290c0;outline-offset:3px}
.method-choice input:disabled+span{cursor:default}
.receipt-card{max-width:860px}
.ledger-note{white-space:pre-wrap;overflow-wrap:anywhere;max-width:440px}
@media(max-width:540px){.method-options{grid-template-columns:1fr}.items-summary{align-items:flex-start;flex-direction:column}}

.receipt-form .entry-fields{display:flex;flex-direction:column;gap:20px}.item-line-total{display:flex;justify-content:space-between;padding:16px 0 0;margin-top:18px;border-top:1px solid var(--line)}.items-summary small{display:block;color:var(--muted);margin-top:4px}.entry-save-actions{margin-top:20px}.correction-note{margin-top:18px}.entry-form fieldset[hidden]{display:none}.method-choice input{min-height:1px;padding:0;margin:0;border:0}.item-lines>.card{margin:0}

.username-status{display:block;padding:10px 12px;border-radius:6px;border-left:5px solid #8390a3;background:#f0f3f7;color:#43546b;font-size:.8125rem;line-height:1.45;font-weight:600}.username-status[data-state="available"]{border-color:#168052;background:#e4f5eb;color:#155c38}.username-status[data-state="unavailable"]{border-color:#ba3346;background:#ffedf0;color:#92263b}

/* Multi-box shipment entry */
.shipment-form,.shipment-box{min-width:0}.shipment-box h3{margin:1.3rem 0 .65rem}.shipment-item{display:grid;grid-template-columns:minmax(0,1fr) 120px auto;gap:14px;align-items:start;padding:12px 0;border-bottom:1px solid var(--border,#e2e4ea);margin-bottom:12px}.shipment-item>.button{margin-top:27px}.shipment-item .product-picker{min-width:0}.shipment-costs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:24px}.shipment-formula{display:flex;flex-direction:column;justify-content:center;gap:10px}.shipment-overview{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:22px;margin-bottom:20px}.shipment-overview>div{display:flex;flex-direction:column;gap:8px}.shipment-overview strong{overflow-wrap:anywhere}.shipment-box .shipment-overview{margin:22px 0 0}.shipment-form details>fieldset{margin-top:18px;border:0;padding:0;min-width:0}#tracking-detail form{margin-top:20px}.status-damaged{background:#fce8ef;color:#91224e}.shipment-box [data-box-cost]{font-weight:700;background:#f5f3fa}.shipment-form [data-shipment-message]:empty{display:none}@media(max-width:1100px){.shipment-costs{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.shipment-item{grid-template-columns:minmax(0,1fr) 90px}.shipment-item>.product-picker{grid-column:1/-1}.shipment-item>.button{margin-top:27px}.shipment-costs{grid-template-columns:1fr}.shipment-box .section-heading{align-items:flex-start;gap:12px;flex-wrap:wrap}.shipment-box .barcode-controls{flex-wrap:wrap}.shipment-box .barcode-controls label{flex-basis:100%}.shipment-overview{gap:18px}}

.shipment-box .section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.shipment-box .section-heading h2{margin:0}.shipment-box .product-picker label{min-width:0}

.box-dimensions{grid-column:1/-1}.handover-choice{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:14px}.shipment-source{grid-column:1/-1}.pending-summary{display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between}@media(max-width:620px){.handover-choice{grid-template-columns:1fr}}

.supplier-currencies{min-width:0;border:1px solid var(--line);border-radius:8px;padding:16px}.supplier-currencies legend{font-size:.9375rem;font-weight:650;padding:0 6px}.currency-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0;max-height:340px;overflow-y:auto;padding:4px}.currency-choice{border:1px solid var(--line);border-radius:6px;padding:10px;min-width:0}.currency-choice:has(input:checked){border-color:var(--accent);background:#fbf3f8}.currency-choice>span{min-width:0;flex:1}.currency-choice small{overflow-wrap:anywhere}.currency-choice .badge{font-size:.625rem;padding:2px 4px}.currency-choice input[aria-disabled=true]{opacity:.7}.currency-choice .cell-sub{line-height:1.4}.currency-choices:focus-within{scroll-padding:8px}@media(max-width:600px){.currency-choices{grid-template-columns:1fr}}

.entry-shipping-block{margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}

.badge.status-complete{background:#dcfce7;color:#166534}.shipment-receive-actions{padding:18px}.shipment-receive-actions p{margin:0 0 12px}

/* Keep long account names and totals within narrow cards. */
.page-heading>div,.card-heading>div,.items-summary>span,.items-summary>strong{min-width:0}
.page-heading h1,.page-heading p,.card-heading h2,.metric strong,.summary-strip strong,.statement-summary strong,.items-summary strong,.item-line-total strong{overflow-wrap:anywhere}
.shipment-overview>div{min-width:0;max-width:100%}
.pagination{gap:12px;flex-wrap:wrap}
@media(max-width:600px){.card-heading{align-items:flex-start;flex-wrap:wrap;gap:12px}.item-line-total{gap:12px}.statement-summary>div{min-width:0}.tax-summary p{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.sidebar{transition:none}.button:active{transform:none}}
@media print{[data-receiving-submit],[data-selection-count]{display:none!important}}
