:root{--ink:#141b1e;--muted:#647077;--orange:#ed5b2c;--paper:#f3f4f5;--line:#dfe3e5;--green:#27724b;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:#a53714}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:-.7px}h2{font-size:19px;letter-spacing:-.3px}h3{font-size:16px}input,select,textarea{width:100%;padding:11px 12px;border:1px solid #cbd2d6;border-radius:7px;background:#fff;color:var(--ink);min-width:0}input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible{outline:2px solid var(--orange);outline-offset:2px}label{display:block;font-size:12px;font-weight:bold}label input,label select,label textarea{margin-top:5px;font-size:14px;font-weight:normal}fieldset{border:0;padding:0;margin:0;min-width:0}textarea{resize:vertical}aside{position:fixed;inset:0 auto 0 0;width:244px;background:var(--ink);color:white;padding:24px 18px;display:flex;flex-direction:column;border-top:5px solid var(--orange);z-index:5}.brand{display:flex;gap:10px;align-items:center;color:white;text-decoration:none;font-size:11px;font-weight:bold}.brand img{width:57px;height:57px;object-fit:contain}.brand small{display:block;color:#d6a18f;font-size:12px;font-weight:normal;margin-top:4px}.nav-label{font-size:10px;color:#8a989f;letter-spacing:2px;margin:40px 12px 12px}nav{display:grid;gap:6px}nav button{display:flex;gap:14px;align-items:center;width:100%;border:0;background:transparent;color:#bdc7cc;text-align:left;padding:13px 14px;border-radius:7px;font-size:18px}nav button span{font-size:13px}@media(hover:hover) and (pointer:fine){nav button:hover{background:#ffffff0b}}nav button.selected{background:#ed5b2c1f;color:#ffa486;box-shadow:inset 3px 0 var(--orange)}.sidebar-note{display:flex;gap:9px;margin-top:auto;padding:24px 10px;font-size:12px;border-bottom:1px solid #334047}.sidebar-note i{height:7px;width:7px;background:#82bd94;border-radius:50%;margin-top:6px}.sidebar-note small,.profile small{display:block;color:#94a1a8;font-size:10px;margin-top:4px}.profile{display:flex;gap:9px;align-items:center;margin-top:18px}.profile b{font-size:11px;display:block;max-width:135px;overflow:hidden;text-overflow:ellipsis}.profile button{margin-left:auto;color:white;border:0;background:none;font-size:20px}#avatar{background:#39464d;width:31px;height:31px;display:grid;place-items:center;border-radius:50%;font-size:12px}main{margin-left:244px;padding:30px 34px;max-width:1800px}header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:25px}.eyebrow{color:#a83a17;font-size:10px;letter-spacing:1.7px;font-weight:bold;margin-bottom:5px}.header-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:10px 16px;border:1px solid transparent;border-radius:7px;text-decoration:none;font-size:12px;font-weight:bold;white-space:nowrap}.primary{background:var(--orange);color:#fff}.primary:hover{background:#d84c20}.secondary{background:#edf0f1;color:var(--ink);border-color:#dfe3e5}.ghost{background:transparent;color:var(--muted);border-color:var(--line)}.danger{background:#fff0eb;color:#aa3416;border-color:#efc9bc}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}.stat{background:white;border:1px solid var(--line);border-radius:9px;padding:17px 18px}.stat small{color:var(--muted);font-size:11px}.stat strong{display:block;font-size:25px;letter-spacing:-.5px;margin:5px 0 2px}.stat span{color:var(--muted);font-size:10px}.stat.accent{background:var(--ink);color:white;border-color:var(--ink)}.stat.accent small,.stat.accent span{color:#bdc9cd}.stat.accent strong{color:#ff9c79}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:19px}.section-heading p{color:var(--muted);font-size:12px;margin-top:4px}.pill{background:#e5e9eb;border-radius:20px;padding:5px 11px;white-space:nowrap;font-size:11px;color:#4d5c64}.filters{display:grid;grid-template-columns:2fr 1.15fr 1fr 1fr;gap:10px;margin-bottom:21px}.filters select{font-size:11px}.search{position:relative}.search input{padding-left:35px;margin:0;font-size:12px;font-weight:normal;height:42px}.search span{position:absolute;left:12px;top:5px;font-size:23px;color:var(--muted)}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.product-card{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;text-align:left;padding:0;color:var(--ink);display:block;transition:box-shadow .15s,transform .15s;min-width:0}.product-card:hover{box-shadow:0 6px 20px #141b1e13;transform:translateY(-2px)}.product-photo{height:170px;background:#e9edef;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.product-photo img{width:100%;height:100%;object-fit:contain;background:#fff;padding:10px}.placeholder{display:grid;place-items:center;gap:4px;color:#87959d;font-size:10px}.placeholder svg{width:43px;height:43px;stroke:#9ca9b0;fill:none;stroke-width:1.4}.photo-count{position:absolute;bottom:9px;right:10px;border-radius:5px;padding:3px 7px;background:#141b1eb3;color:#fff;font-size:10px}.kind-tag{position:absolute;top:11px;left:11px;background:#ffffffed;border:1px solid #d8e0e4;border-radius:4px;padding:3px 7px;color:#596a74;font-size:9px;letter-spacing:.6px;text-transform:uppercase}.product-info{padding:15px}.product-info .sku{color:#a64a2c;font-size:9px;font-weight:bold;letter-spacing:.8px;margin-bottom:5px}.product-info h3{font-size:14px;line-height:1.35;margin-bottom:3px}.english{color:var(--muted);font-size:11px;min-height:17px}.stock-line{display:flex;justify-content:space-between;align-items:end;gap:8px;border-top:1px solid #edf0f1;margin-top:12px;padding-top:11px}.stock-line strong{font-size:19px}.stock-line small{color:var(--muted);font-size:10px;margin-left:3px}.stock-badge{font-size:9px;border-radius:4px;padding:3px 6px;background:#edf3ef;color:#38744e;white-space:nowrap}.stock-badge.zero{color:#6e777d;background:#f0f2f3}.stock-badge.low{color:#a13b19;background:#fff0e8}.location{margin-top:9px;font-size:10px;color:#71818a}.panel{background:white;border:1px solid var(--line);border-radius:10px;padding:24px}.table-wrap{width:100%;overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}th{padding:12px 10px;background:#f5f6f7;color:#62737b;font-size:10px;white-space:nowrap;font-weight:bold}td{padding:13px 10px;border-bottom:1px solid #edf0f1;vertical-align:top}td small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.table-link{color:#a43817;text-decoration:underline;background:none;border:0;padding:0;font:inherit;font-weight:bold}.empty{text-align:center;padding:55px 10px;color:var(--muted)}.empty p{margin-top:7px;font-size:12px}.muted{color:var(--muted)}.small{font-size:11px}.spaced{margin-top:22px}footer{margin-top:35px;border-top:1px solid var(--line);padding-top:15px;font-size:9px;letter-spacing:1px;color:#809098;display:flex;justify-content:space-between}footer span{letter-spacing:0}.notice,#message{padding:14px 17px;border-radius:7px;background:#fff1e7;border:1px solid #edc9bb;margin-bottom:20px;font-size:12px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:13px 22px;border-radius:8px;max-width:90%;z-index:50;box-shadow:0 7px 30px #0002}dialog{border:0;border-radius:14px;padding:27px;width:min(700px,94vw);max-height:90vh;overflow:auto;box-shadow:0 25px 90px #0003;color:var(--ink)}dialog::backdrop{background:#111a20a1;backdrop-filter:blur(3px)}.wide-dialog{width:min(950px,96vw)}.dialog-heading{display:flex;justify-content:space-between;align-items:start;margin-bottom:22px;gap:12px}.close{background:#edf0f1;border:0;border-radius:50%;width:32px;height:32px;font-size:20px;color:#53656f;flex-shrink:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.wide{grid-column:1/-1}.check{display:flex;align-items:center;gap:8px;font-weight:normal}.check input{width:auto;margin:0}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.form-error{white-space:pre-wrap;color:#ab321b;font-size:12px;margin-top:12px}.form-error:empty{display:none}.detail-dialog{width:min(820px,95vw)}.detail-layout{display:grid;grid-template-columns:1fr 1fr;gap:25px}.detail-main-photo{width:100%;height:280px;object-fit:contain;border:1px solid var(--line);border-radius:9px;background:#f7f8f9}.gallery{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}.gallery button{padding:3px;border:1px solid var(--line);background:white;border-radius:5px;width:57px;height:57px}.gallery img{width:100%;height:100%;object-fit:contain}.detail-values{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}.detail-values div{padding:11px;background:#f4f6f7;border-radius:6px;font-size:10px;color:var(--muted)}.detail-values strong{display:block;font-size:19px;color:var(--ink);margin-top:3px}.detail-description{font-size:12px;white-space:pre-wrap;margin:14px 0;overflow-wrap:anywhere}.upload-panel{margin-top:22px;border-top:1px solid var(--line);padding-top:16px}.upload-panel input{font-size:11px;padding:9px}.photo-preview{display:flex;gap:7px;flex-wrap:wrap;margin:9px 0}.photo-preview img{height:65px;width:65px;object-fit:contain;border:1px solid var(--line);border-radius:5px}.entry-line{display:grid;grid-template-columns:2fr .8fr 1fr auto;gap:10px;align-items:end;padding:15px 0;border-bottom:1px solid var(--line)}.entry-line small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.entry-line select{font-size:12px}.entry-line .line-remove{height:42px;width:34px;padding:0;min-height:0}.entry-total{background:var(--ink);color:white;border-left:1px solid var(--orange);padding:15px 18px;border-radius:7px;display:flex;align-items:center;justify-content:space-between;margin-top:22px;font-size:11px}.entry-total strong{font-size:22px}.inline-form{display:grid;grid-template-columns:2fr 1.5fr auto;align-items:end;gap:12px;padding:16px;background:#f7f8f9;border-radius:8px;margin-bottom:20px}.audit-row{padding:10px 0;border-bottom:1px solid var(--line);font-size:11px}.audit-row span{color:var(--muted);display:block;font-size:10px}.login-page{min-height:100vh;display:grid;place-items:center;background:var(--ink);border-top:6px solid var(--orange);padding:25px}.login-card{max-width:460px;text-align:center;color:white}.login-card>img{height:110px;width:130px;object-fit:contain;margin-bottom:20px}.login-card .eyebrow{color:#f49b7b}.login-card h1{font-size:40px;margin:8px 0 17px}.login-card>p:not(.eyebrow){color:#bcc9ce;font-size:14px;line-height:1.7;margin-bottom:26px}.login-card>.button{width:100%;margin-bottom:15px;min-height:49px}.login-card .small{font-size:11px}.login-card .muted{color:#99aab2}.doc-meta{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:20px;font-size:12px}.doc-meta small{display:block;color:var(--muted);margin-bottom:4px}.file-list{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0;font-size:12px}.readonly-note{background:#fff5ed;border-radius:7px;padding:10px;font-size:11px;color:#8d4b2c;margin:12px 0}
@media(min-width:1550px){.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.product-photo{height:190px}}@media(max-width:1150px){aside{width:210px;padding:20px 12px}main{margin-left:210px;padding:25px 22px}.brand{font-size:10px}.brand img{width:45px;height:45px}.stats{grid-template-columns:1fr 1fr}.filters{grid-template-columns:1fr 1fr}.product-grid{grid-template-columns:1fr 1fr}}@media(max-width:720px){aside{position:static;width:100%;padding:12px 14px;border-top-width:5px}.brand{font-size:11px}.brand img{width:43px;height:43px}.brand small{font-size:11px}.nav-label,.sidebar-note,.profile{display:none}nav{display:flex;overflow:auto;margin-top:12px;gap:6px}nav button{width:auto;flex-shrink:0;padding:10px;gap:6px;font-size:16px}nav button span{font-size:10px}nav button.selected{box-shadow:inset 0 -2px var(--orange)}main{margin:0;padding:20px 14px}header{align-items:start;margin-bottom:18px}h1{font-size:24px}.eyebrow{font-size:8px}header .header-actions{flex-direction:column;align-items:end;gap:7px}.button{padding:9px 11px;font-size:11px;min-height:40px}.stats{gap:9px;margin-bottom:21px}.stat{padding:13px}.stat strong{font-size:22px}.stat span{font-size:9px}.filters{gap:8px}.search{grid-column:1/-1}.filters select{font-size:10px}.product-grid{gap:10px}.product-photo{height:132px}.product-info{padding:11px}.product-info h3{font-size:12px}.product-info .sku{font-size:8px}.english{font-size:9px}.stock-line{display:block}.stock-line strong{font-size:18px}.stock-badge{display:inline-block;margin-top:5px;font-size:8px}.location{font-size:9px}.section-heading{align-items:start}.section-heading h2{font-size:16px}.section-heading p{font-size:10px}.panel{padding:16px}.form-grid{grid-template-columns:1fr}.wide{grid-column:auto}.detail-layout{grid-template-columns:1fr}.detail-main-photo{height:230px}.entry-line{grid-template-columns:1fr 1fr auto}.entry-line>label:first-child{grid-column:1/-1}.entry-line .line-remove{grid-column:3;grid-row:2}.entry-total strong{font-size:19px}.inline-form{grid-template-columns:1fr}.dialog-heading{margin-bottom:16px}dialog{padding:20px}footer{font-size:8px}.login-card h1{font-size:32px}.header-actions .ghost{font-size:10px}}
@media print{body{background:white}aside,header,.button,footer,#message,.page:not(#reportsPage){display:none!important}main{margin:0;padding:0}#reportsPage{display:block!important}.panel{border:0;padding:0}.stats{grid-template-columns:repeat(4,1fr)}.stat{break-inside:avoid}.table-wrap{overflow:visible}table{font-size:9px}tr{break-inside:avoid}th{font-size:8px}h2{font-size:20px}#reportStats strong{font-size:18px}.stat.accent{background:white;color:black}.stat.accent strong{color:black}@page{size:letter;margin:14mm}}

.print-brand{display:none}@media print{.print-brand{display:flex;align-items:center;gap:12px;border-top:5px solid #ed5b2c;border-bottom:1px solid #dfe3e5;padding:12px 0;margin-bottom:18px;font-size:12px;font-weight:bold;print-color-adjust:exact}.print-brand img{width:65px;height:65px;object-fit:contain}.print-brand small{font-weight:normal;color:#647077}}
/* MIF refinement: readable controls, consistent symbols, and resilient EN/ES layouts. */
:root{--muted:#52616a;--focus:#a93610;--action-ink:#141b1e;--motion-fast:120ms}
html{-webkit-text-size-adjust:100%;scrollbar-color:#89949a #edf0f2;scrollbar-width:thin}
::selection{background:#ffd5c4;color:#141b1e}input,textarea{caret-color:var(--focus)}
.ui-icon{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.button.primary{color:var(--action-ink);font-weight:700}.button{gap:8px;min-height:44px}.button.ghost{color:#52616a}
.button:active:not(:disabled){opacity:.8}.product-card:active{outline:2px solid var(--focus);outline-offset:1px}
button,input,select,textarea{scroll-margin-block:32px}button:focus-visible,a:focus-visible,input:focus,select:focus,textarea:focus{outline:2px solid var(--focus);outline-offset:3px}
button:disabled{cursor:default;opacity:.65}input::placeholder,textarea::placeholder{color:#647077;opacity:1}
nav button span{font-size:14px}.brand{font-size:12px}.profile b{font-size:12px}.profile small,.sidebar-note small{font-size:11px}
.profile button{display:grid;place-items:center;min-width:44px;min-height:44px}
.stat small,.stat span,.english,.location,.kind-tag,.stock-badge,.sku{font-size:12px}.stat strong,.entry-total strong,td{font-variant-numeric:tabular-nums}
.stat small{letter-spacing:.03em}.stat.accent span{color:#bac6cc}.product-info h3{font-size:16px;overflow-wrap:anywhere}.product-info .sku{font-size:11px}
.placeholder{color:#63717a}.placeholder span{font-size:12px}.stock-line small{font-size:12px}.stock-line{gap:8px;flex-wrap:wrap}.stock-badge{white-space:normal;text-align:center}
.product-card,.product-info,.stat,.section-heading>div,.header-actions{min-width:0}.stat strong{overflow-wrap:anywhere}.product-info p,.doc-meta>div,td{overflow-wrap:anywhere}
.table-wrap{overscroll-behavior:contain}th{font-size:12px;letter-spacing:0;text-transform:none}td{font-size:14px}td small{font-size:12px}.table-link{min-height:44px;display:inline-flex;align-items:center}
#entriesBody td:nth-child(5),#movementsBody td:nth-child(4),#movementsBody td:nth-child(5),#reportBody td:nth-child(n+3):not(:last-child){text-align:right}
#entriesPage th:nth-child(5),#movementsPage th:nth-child(4),#movementsPage th:nth-child(5),#reportsPage th:nth-child(n+3):not(:last-child){text-align:right}
.language-control{display:flex;align-items:center;gap:9px;font-weight:normal;font-size:12px;color:var(--muted)}.language-control select{width:auto;min-width:112px;min-height:44px;margin:0;font-size:14px}
.login-card>.language-control{justify-content:center;margin-bottom:32px;color:#c6d0d5}.login-card>.language-control select{background:#222c31;color:white;border-color:#7c8b93}
.header-actions{flex-wrap:wrap}.dialog-actions{flex-wrap:wrap}dialog{max-height:calc(100dvh - 40px);overscroll-behavior:contain}dialog .close{min-width:44px;min-height:44px}
.skip-link{position:fixed;top:12px;left:12px;transform:translateY(-160%);background:white;color:#141b1e;padding:12px 18px;border:2px solid var(--focus);z-index:100}.skip-link:focus{transform:none}
.boot-status{position:fixed;inset:0;display:grid;place-items:center;background:#141b1e;color:white;z-index:1000;font-size:16px}
.reversal-form{margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}.reversal-form textarea{margin-block:12px}
#toast{max-width:min(460px,calc(100vw - 32px));font-size:14px;padding:14px 18px;bottom:calc(18px + env(safe-area-inset-bottom,0px))}
@media(hover:hover) and (pointer:fine){@media(hover:hover) and (pointer:fine){.button.primary:hover{background:#ed5b2c}}.button.secondary:hover{background:#e1e6e9}.product-card:hover{border-color:#aab5ba}}
@media(prefers-reduced-motion:reduce){.product-card,.button{transition:none}.button:active:not(:disabled){opacity:.8}}
@media(max-width:720px){
 aside{padding-top:calc(12px + env(safe-area-inset-top,0px));padding-inline:16px}.profile{display:flex;margin-top:10px}.profile b{max-width:none}.profile small{font-size:12px}.profile button{margin-inline-start:auto}
 main{padding:20px 16px calc(24px + env(safe-area-inset-bottom,0px))}header{flex-wrap:wrap;gap:16px}header .header-actions{width:100%;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:10px}
 .language-control{gap:6px;font-size:12px}.language-control select{min-width:105px}.header-actions .button{font-size:12px}.header-actions .language-control>span{display:none}
 nav button{min-height:44px;gap:8px}nav button span{font-size:12px}.stats{gap:10px}.stat small,.stat span{font-size:12px}.stat strong{font-size:24px}.stat{padding:14px}.stat small{min-height:36px}
 .filters{grid-template-columns:1fr 1fr}.filters select{font-size:16px}.filters .search{grid-column:1/-1}.filters select:last-child{grid-column:1/-1}
 input,textarea,select,label input,label select,label textarea,.entry-line select{font-size:16px!important;min-height:44px}.entry-line input{width:100%}.entry-line .line-remove{min-height:44px;min-width:44px}
 .section-heading{flex-wrap:wrap;gap:12px}.section-heading p{font-size:14px}.section-heading h2{font-size:18px}.product-info{padding:13px}.product-info h3{font-size:15px}.product-info .sku,.english,.location{font-size:12px}.stock-badge{font-size:11px}.stock-line strong{font-size:22px}.stock-line small{font-size:12px}.small{font-size:13px}.eyebrow{font-size:11px}.kind-tag{font-size:11px}
 .product-photo{height:140px}.product-grid{gap:12px}.table-wrap{max-width:100%}.button{font-size:14px;min-height:44px}.form-grid{gap:16px}label{font-size:14px}footer{font-size:11px;flex-wrap:wrap}
}
@media(max-width:360px){.product-grid{grid-template-columns:1fr}.product-photo{height:190px}.language-control select{min-width:96px}.header-actions{justify-content:flex-start!important}}
@media print{.language-control,.skip-link,.boot-status,#toast{display:none!important}th,td{font-size:9px}td small{font-size:8px}.stat small,.stat span{font-size:9px}.print-brand img{display:block}.table-link{min-height:0}}

.audit-row,.audit-row span,.entry-line small,.sidebar-note small,.profile small,.brand small,.nav-label,.eyebrow{font-size:12px}.eyebrow{letter-spacing:.03em}.photo-preview img{width:72px;height:72px}

.filter-options{display:contents}.mobile-filter-toggle{display:none}
@media(min-width:721px) and (max-width:1000px){aside{position:static;width:100%;padding:16px 20px}.brand{font-size:12px}.nav-label,.sidebar-note{display:none}nav{display:flex;overflow-x:auto;margin-top:12px}nav button{width:auto;flex:none;font-size:14px}.profile{display:flex;margin-top:10px;max-width:350px}main{margin-left:0}}
@media(max-width:720px){#catalogPage{display:flex;flex-direction:column}#catalogPage>.stats{order:2;margin-top:24px}#catalogPage>.catalog-panel{order:1}.filters{grid-template-columns:minmax(0,1fr) auto}.filters .search{grid-column:auto}.filters .filter-options{display:none}.filters.expanded .filter-options{display:grid;grid-template-columns:1fr;grid-column:1/-1;gap:10px}.mobile-filter-toggle{display:inline-flex;align-items:center}.filters select:last-child{grid-column:auto}nav{scrollbar-width:thin}}
.dialog-heading>div{min-width:0;flex:1}.dialog-heading .close{flex:none}.dialog-heading h2,.dialog-heading p,.detail-values strong{overflow-wrap:anywhere;word-break:normal}.kind-tag{max-width:calc(100% - 24px);overflow-wrap:anywhere}.gallery{max-width:100%;overflow-x:auto}.file-list a{overflow-wrap:anywhere}

/* Keep entry controls aligned independently of the product's supporting text. */
#entryForm input,#entryForm select{height:46px;min-height:46px}
.entry-line{align-items:start}
.entry-line>label{min-width:0}
.entry-line .line-remove{height:46px;min-height:46px;margin-top:23px}
@media(max-width:720px){.entry-line .line-remove{align-self:end;margin-top:0}}

.request-filters{display:grid;grid-template-columns:minmax(0,2fr) minmax(180px,1fr);gap:16px;margin-bottom:20px}
.request-list{margin-top:12px}.request-row{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;text-align:left;background:white;border:0;border-bottom:1px solid var(--line);padding:20px 8px;color:var(--ink)}
.request-row>span{min-width:0}.request-row strong{display:block;font-size:17px;overflow-wrap:anywhere}.request-row small{display:block;color:var(--muted);font-size:13px;margin-top:5px}.request-row-end{display:flex;flex-direction:column;align-items:end;flex:none}
.request-detail{margin-top:20px}.request-detail h2{overflow-wrap:anywhere}.request-detail th,.request-detail td{font-size:13px}.request-detail .doc-meta>div{min-width:0;overflow-wrap:anywhere}
.dispatch-item{padding:24px 0;border-bottom:1px solid var(--line)}.dispatch-item-heading{display:flex;justify-content:space-between;gap:20px;margin-bottom:18px}.dispatch-item-heading>div{min-width:0}.dispatch-item h3,.dispatch-item p{overflow-wrap:anywhere}.dispatch-item p,.dispatch-item small{font-size:13px;color:var(--muted)}
.dispatch-thumb{width:80px;height:72px;object-fit:contain;flex:none;border:1px solid var(--line);border-radius:6px}.dispatch-fields{display:grid;grid-template-columns:minmax(0,2fr) minmax(120px,.7fr) minmax(150px,1fr);gap:16px;align-items:start}.dispatch-fields>label{min-width:0}.dispatch-fields input,.dispatch-fields select{height:46px;font-size:14px}.dispatch-fields .check input{height:auto}
.dispatch-fields .stock-help{margin-top:6px;display:block;font-size:12px;font-weight:normal}.dispatch-fields .check{align-items:start}.dispatch-fields .check input{margin-top:3px;flex:none}.dispatch-review{margin-top:24px;padding:20px;background:#f3f5f6;border:1px solid var(--line);border-radius:8px}.dispatch-review ul{padding-left:20px}.dispatch-review li{margin:9px 0}.dispatch-history article{display:flex;justify-content:space-between;gap:20px;padding:22px 0;border-bottom:1px solid var(--line)}.dispatch-history article p,.dispatch-history article small{display:block;color:var(--muted);font-size:13px;margin-top:5px}.dispatch-history .header-actions{align-content:center;justify-content:end}.dispatch-success{max-width:800px;margin-inline:auto}.dispatch-success p{margin:12px 0 24px}.dispatch-success .button{margin:0 8px 8px 0}
@media(hover:hover) and (pointer:fine){.request-row:hover{background:#f6f7f8}}
@media(max-width:1000px){.dispatch-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.dispatch-product{grid-column:1/-1}}
@media(max-width:720px){.request-filters{grid-template-columns:1fr}.request-row{gap:12px;align-items:start;padding:18px 0}.request-row strong{font-size:16px}.request-row-end{max-width:115px}.request-row-end .pill{white-space:normal;text-align:right}.dispatch-fields{gap:16px 12px}.dispatch-fields input,.dispatch-fields select{font-size:16px}.dispatch-fields label{font-size:13px}.dispatch-fields .wide{grid-column:1/-1}.dispatch-history article{flex-direction:column;gap:14px}.dispatch-history .header-actions{justify-content:start}.request-detail{padding:18px}.dispatch-thumb{width:60px;height:60px}.dispatch-review{padding:16px}.dispatch-success .button{white-space:normal}}
.dispatch-label{display:block;min-height:36px}
@media(max-width:1000px){.dispatch-product .dispatch-label{min-height:0}}
@media(max-width:720px){.dispatch-label{min-height:60px}}
