@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');
:root{--ink:#17211e;--muted:#64736e;--line:#dce6e0;--canvas:#f3f5f1;--white:#fff;--green:#0c322a;--green2:#16614d;--gold:#f2d695;--red:#a63e38;--shadow:0 1px 3px #123f3410,0 12px 30px #123f340a;font-family:'DM Sans',system-ui,sans-serif;color:var(--ink);background:var(--canvas)}
*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Manrope,system-ui,sans-serif;letter-spacing:-.035em}h1{font-size:clamp(1.8rem,3.4vw,2.4rem);line-height:1.15}h2{font-size:1.25rem}small,.muted{color:var(--muted)}:focus-visible{outline:3px solid #c88b39;outline-offset:3px}
.login-layout{min-height:100svh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#0c322a 0%,#174838 55%,#ded3aa 55%,#f3f5f1 100%)}.login-card{width:min(430px,100%);padding:38px;background:white;border-radius:20px;box-shadow:0 28px 80px #051b1770}.login-logo{display:block;width:130px;height:65px;object-fit:contain;object-position:left;margin-bottom:30px}.login-card h1{margin-bottom:8px}.login-card .muted{margin-bottom:28px}.small-note{font-size:.78rem;color:var(--muted);margin:23px 0 0}
.shell{min-height:100svh;display:grid;grid-template-columns:245px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100svh;background:var(--green);color:#e9f3ed;padding:24px 14px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;margin:0 7px 27px}.brand img{width:46px;height:42px;object-fit:contain;background:#f3e7c7;border-radius:9px;padding:3px}.brand strong,.brand small,.sidebar-foot strong,.sidebar-foot small{display:block}.brand strong{font-size:.93rem}.brand small,.sidebar-foot small{font-size:.71rem;color:#a4beb2}.sidebar nav{display:grid;gap:4px}.sidebar nav a{min-height:42px;display:flex;align-items:center;padding:0 13px;border-radius:10px;color:#c1d5c9;font-size:.86rem;font-weight:600}.sidebar nav a:hover{background:#ffffff12;color:white}.sidebar nav a.active{background:#f1e4c1;color:var(--green)}.nav-label{color:#7fa193;text-transform:uppercase;font-size:.64rem;font-weight:800;letter-spacing:.1em;margin:25px 13px 8px}.sidebar-foot{margin-top:auto;padding:15px 13px 0;border-top:1px solid #ffffff1c;font-size:.8rem}.main-column{min-width:0}.topbar{height:72px;position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,3vw,42px);border-bottom:1px solid var(--line);background:#fffffff0;backdrop-filter:blur(10px)}.topbar>div:first-child{display:grid}.topbar-kicker{color:#668479;text-transform:uppercase;letter-spacing:.1em;font-size:.62rem;font-weight:800}.topbar strong{font-size:.94rem}.topbar-right{display:flex;align-items:center;gap:20px}.stage-pill{font-size:.72rem;font-weight:800;color:#6f501b;background:#fcf1d7;border:1px solid #ead5a4;border-radius:99px;padding:6px 10px}.text-button{background:none;border:0;color:var(--green2);font-size:.79rem;font-weight:700;padding:9px}.content{width:min(1420px,100%);margin:auto;padding:30px clamp(20px,3vw,44px) 70px}.eyebrow{font-size:.69rem;font-weight:800;text-transform:uppercase;letter-spacing:.1em;color:#23715b;margin-bottom:8px}.welcome{background:#123f34;color:white;border-radius:20px;padding:28px;margin-bottom:30px;overflow:hidden;position:relative}.welcome:after{content:'';position:absolute;width:250px;height:250px;border:2px solid #ffffff15;border-radius:50%;right:4%;top:-100px}.welcome .eyebrow{color:#e8c879}.welcome h1{margin-bottom:9px}.welcome p:last-child{margin:0;color:#cce0d7;max-width:700px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:15px;margin:27px 0 15px}.section-head h2{margin:0}.section-head>span{font-size:.76rem;color:var(--muted)}.action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.action-tile{min-height:150px;display:flex;flex-direction:column;align-items:flex-start;padding:18px;border-radius:14px;color:#241e12;box-shadow:var(--shadow)}.action-tile strong{font-size:.9rem;margin-top:auto}.action-tile small{margin-top:4px;color:inherit;opacity:.72;font-size:.7rem}.tile-icon{display:grid;place-items:center;width:34px;height:34px;background:#ffffff55;border-radius:9px;font-size:1.3rem}.receipt{background:#e3b940}.issue{background:#8db7a6}.result{background:#d49b78}.return{background:#9ab4c9}.summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.summary-card{display:grid;gap:8px;background:white;border:1px solid var(--line);border-radius:15px;padding:20px;box-shadow:var(--shadow)}.summary-card:hover{border-color:#9db9a8}.summary-card>span{font-size:.81rem;color:var(--muted)}.summary-card strong{font:800 2rem Manrope,sans-serif}.summary-card small{font-size:.73rem}.notice{padding:13px 16px;border-radius:11px;margin:0 0 17px;font-size:.83rem;line-height:1.5}.notice.info{margin-top:20px;background:#e6f1eb;border:1px solid #c9ded2;color:#164a38}.notice.error{background:#fff0ee;border:1px solid #ebc0bc;color:#8f2d2b}.notice.success{background:#e8f5ed;border:1px solid #bbddc8;color:#236044}.notice.warning{background:#fff5e5;border:1px solid #ebd5aa;color:#7e571d;margin-top:16px}.page-title{margin-bottom:25px}.page-title h1{margin-bottom:8px}.page-title>p:last-child{color:var(--muted)}.catalog-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);align-items:start;gap:20px}.panel{background:white;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--line)}.panel-heading h2{font-size:1.1rem;margin:0}.panel-heading span,.panel-heading a{font-size:.75rem;color:var(--green2);font-weight:700}.empty{padding:40px 24px;text-align:center;color:var(--muted)}.empty strong{display:block;color:var(--ink);margin-bottom:7px}.empty p{margin:0;font-size:.85rem}.empty.large{padding:64px 28px}.empty.large p{max-width:550px;margin:0 auto 20px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;min-width:440px}th,td{padding:14px 18px;border-bottom:1px solid #edf1ee;font-size:.79rem}th{font-size:.68rem;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);white-space:nowrap}tr:last-child td{border-bottom:0}td strong{font-weight:700}code{font-size:.77rem}.badge{display:inline-block;border-radius:99px;padding:4px 8px;font-size:.68rem;font-weight:700}.badge.on{background:#e5f1e9;color:#176044}.badge.off{background:#eceeed;color:#62716a}.row-link{color:var(--green2);font-weight:800}.form-panel .form-stack{padding:19px}.form-stack{display:grid;gap:16px}.field{display:grid;gap:7px;font-size:.76rem;font-weight:700}.field input,.field select,.field textarea{width:100%;border:1px solid #cbd8d0;border-radius:9px;background:#fff;color:var(--ink);min-height:42px;padding:10px 12px;font-size:.84rem}.field textarea{resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:#438b6f}.check{display:flex;align-items:center;gap:9px;font-size:.8rem}.check input{width:17px;height:17px;accent-color:var(--green2)}.button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border-radius:9px;border:1px solid transparent;padding:9px 15px;font-weight:800;font-size:.82rem}.button.primary{background:var(--green);color:white}.button.primary:hover{background:#195445}.button.secondary{border-color:#b9cdc2;background:white;color:var(--green)}.setting-card{padding:24px;max-width:680px}.setting-card>p{font-size:.85rem;color:var(--muted)}.bottom-nav{display:none}
@media(max-width:1050px){.action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-layout{grid-template-columns:1fr}.form-panel{max-width:650px}}
@media(max-width:720px){.shell{display:block}.sidebar{display:none}.topbar{height:64px;padding:0 17px}.topbar-right{gap:7px}.stage-pill{display:none}.content{padding:20px 16px 90px}.welcome{padding:22px}.action-grid{gap:9px}.action-tile{min-height:126px;padding:13px}.summary-grid{grid-template-columns:1fr}.catalog-layout{gap:15px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:10;display:grid;grid-template-columns:repeat(4,1fr);height:66px;border-top:1px solid var(--line);background:white}.bottom-nav a{display:grid;place-items:center;font-size:.68rem;font-weight:700;color:var(--muted)}.bottom-nav a.active{color:var(--green);background:#edf5ef}.login-card{padding:26px}}
@media(max-width:390px){.action-tile strong{font-size:.79rem}.action-tile small{font-size:.65rem}.topbar-kicker{font-size:.56rem}.topbar strong{font-size:.82rem}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
.demo-link{font-size:.77rem;color:var(--green2);font-weight:800}.welcome-demo{position:relative;display:inline-flex;gap:8px;align-items:center;margin-top:20px;padding:10px 14px;border-radius:9px;background:#f2d695;color:#173c30;font-size:.8rem;font-weight:800}.welcome p:not(.eyebrow){margin-bottom:0}
@media(max-width:720px){.demo-link{font-size:.68rem}}
.topbar-new{min-height:34px;background:#f2d695;color:#163d31;gap:6px;padding:6px 10px;font-size:.73rem}.topbar-new:hover{background:#e8c476}
@media(max-width:720px){.topbar-new-label{display:none}.topbar-new{width:34px;padding:0;font-size:1.1rem}}
@media(max-width:390px){.demo-link{display:none}}
.post-panel,.document-link{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px;margin-top:24px}.post-panel h2,.document-link h2{margin-bottom:7px}.post-panel p:last-child,.document-link p:last-child{color:var(--muted);font-size:.81rem;max-width:650px;margin-bottom:0}.post-panel .notice{margin:0;max-width:330px}.post-form{display:grid;gap:13px;min-width:275px}.post-form .check{font-size:.75rem}.document-link>.button{flex:none}
@media(max-width:850px){.post-panel,.document-link{align-items:stretch;flex-direction:column}.post-form{min-width:0}}
@media print{.sidebar,.topbar,.bottom-nav,.button,.text-button,.demo-link{display:none!important}.shell{display:block}.content{padding:0}.panel{box-shadow:none}.document-print{border:0}}
.stock-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-bottom:19px}.stock-summary.three{grid-template-columns:repeat(3,minmax(0,1fr))}.stock-summary .summary-card strong{font-size:1.5rem}.stock-search{display:flex;align-items:end;gap:10px;margin:0 0 18px;max-width:650px}.stock-search .field{flex:1}.back-link{margin:20px 0}.document-print{padding:30px}.document-top{display:flex;align-items:center;gap:25px;border-bottom:1px solid var(--line);padding-bottom:25px;margin-bottom:25px}.document-top img{width:115px;height:80px;object-fit:contain}.document-top h2{margin-bottom:5px}.document-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:25px}.document-facts div{display:grid;gap:4px}.document-facts small{font-size:.7rem}.document-facts strong{font-size:.9rem}.document-footer{display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:.72rem;border-top:1px solid var(--line);padding-top:25px;margin-top:25px}
@media(max-width:720px){.stock-summary.three{grid-template-columns:1fr}.stock-search{align-items:stretch;flex-direction:column}.stock-search .button{width:100%}.document-print{padding:18px}.document-facts{grid-template-columns:1fr}.document-footer{flex-direction:column}}
.inline-title{display:flex;align-items:end;justify-content:space-between;gap:18px}.inline-title>div{min-width:0}.inline-title>.button,.inline-title>.row-link{flex:none}.empty-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.receipt-form{display:grid;gap:18px;max-width:1050px}.form-section{overflow:visible}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:20px}.current-file{font-size:.78rem;color:var(--muted);margin:0;align-self:end}.lot-lines{display:grid;gap:12px;padding:17px}.lot-card{border:1px solid var(--line);background:#f8faf7;border-radius:12px;padding:16px}.lot-card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;font-size:.85rem}.lot-fields{display:grid;grid-template-columns:minmax(180px,1.4fr) minmax(130px,.8fr) minmax(145px,.75fr) minmax(160px,1fr);gap:12px}.remove-line{border:0;background:none;font-size:.74rem}.remove-line:disabled{opacity:.35;cursor:not-allowed}.add-lot{display:block;width:calc(100% - 34px);margin:0 17px 17px;min-height:42px;border:1px dashed #96baa8;border-radius:10px;background:#eff7f1;color:#20634b;font-weight:800;font-size:.8rem}.add-lot:hover{background:#e0f0e6}.add-lot:disabled{opacity:.4;cursor:not-allowed}.receipt-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 0 30px}.receipt-actions p{margin:0;color:var(--muted);font-size:.78rem}.receipt-actions strong{color:var(--ink);font-size:.84rem}.receipt-meta{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:17px;font-size:.82rem}
@media(max-width:720px){.inline-title{align-items:start;flex-direction:column}.lot-fields,.form-grid{grid-template-columns:1fr}.receipt-actions{position:sticky;bottom:66px;z-index:4;background:#f3f5f1;border-top:1px solid var(--line);padding:12px 0}.receipt-actions p{font-size:.69rem}.receipt-actions .button{flex:none}}
@media(max-width:720px){.stock-list .table-scroll{overflow:visible}.stock-list table,.stock-list tbody,.stock-list tr,.stock-list td{display:block;min-width:0;width:100%}.stock-list thead{display:none}.stock-list tr{padding:14px 17px;border-bottom:1px solid var(--line)}.stock-list tr:last-child{border-bottom:0}.stock-list td{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:7px 0;border:0;text-align:right;font-size:.82rem}.stock-list td:before{content:attr(data-label);color:var(--muted);font-size:.72rem;flex:none;text-align:left}.stock-list td:first-child{font-size:.92rem}.stock-list td:first-child strong{overflow-wrap:anywhere}.stock-list td.stock-row-action{justify-content:flex-end;margin-top:6px}.stock-list td.stock-row-action:before{display:none}}
/* The operational canvas uses the available desktop width and readable type. */
.mobile-records{display:none}
@media(min-width:721px){:root{font-size:17px}.content{width:100%;max-width:none;padding:32px clamp(24px,2.25vw,50px) 80px}.receipt-form{max-width:none}.stock-search{max-width:920px}.setting-card{max-width:920px}.sidebar nav a{font-size:.9rem}.brand strong,.topbar strong{font-size:1rem}.topbar-kicker,.eyebrow{font-size:.72rem}.page-title>p:last-child,.page-title>div>p:last-child{font-size:1rem;line-height:1.5}.section-head>span,.panel-heading span,.panel-heading a{font-size:.81rem}.action-tile strong{font-size:1rem}.action-tile small,.summary-card small{font-size:.8rem}.summary-card>span{font-size:.87rem}.notice,.empty p,.setting-card>p,.post-panel p:last-child,.document-link p:last-child{font-size:.91rem}.panel-heading h2{font-size:1.18rem}th,td{font-size:.88rem;padding:14px 16px}th{font-size:.72rem}.field{font-size:.83rem}.field input,.field select,.field textarea{font-size:.91rem;min-height:45px}.button,.row-link{font-size:.86rem}.badge{font-size:.75rem}.lot-card-head,.receipt-actions strong{font-size:.92rem}.receipt-actions p{font-size:.84rem}.stock-search .field{min-width:0}}
@media(max-width:720px){:root{font-size:16px}.content{padding-bottom:110px}.record-list .table-scroll,.stock-list .table-scroll{display:none}.mobile-records{display:block}.mobile-record{border-top:1px solid var(--line)}.mobile-record:first-child{border-top:0}.mobile-record summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:68px;padding:11px 16px;cursor:pointer}.mobile-record summary::-webkit-details-marker,.mobile-menu summary::-webkit-details-marker{display:none}.record-main{display:grid;gap:3px;min-width:0}.record-main strong{font-size:.9rem;overflow-wrap:anywhere}.record-main small{font-size:.76rem;color:var(--muted);overflow-wrap:anywhere}.record-end{display:flex;align-items:center;gap:9px;flex:none}.record-end>strong{font-size:.9rem;white-space:nowrap}.record-chevron{font-size:1.25rem;line-height:1;color:var(--green2);transition:transform .15s}.mobile-record[open] .record-chevron{transform:rotate(180deg)}.record-details{display:grid;gap:10px;padding:0 16px 16px}.record-details>div{display:flex;justify-content:space-between;gap:14px;font-size:.78rem}.record-details>div span{color:var(--muted)}.record-details>div strong{text-align:right;font-weight:600;overflow-wrap:anywhere}.record-details>.row-link{justify-self:end;font-size:.8rem;padding:6px 0}.bottom-nav{grid-template-columns:repeat(5,minmax(0,1fr));height:calc(72px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}.bottom-nav>a,.mobile-menu>summary{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;height:72px;font-size:.72rem;font-weight:800;color:var(--muted);cursor:pointer}.bottom-nav a.active,.mobile-menu>summary.active,.mobile-menu[open]>summary{color:var(--green);background:#edf5ef}.nav-icon{display:grid;place-items:center;width:22px;height:22px}.nav-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.mobile-menu-panel{position:fixed;bottom:calc(80px + env(safe-area-inset-bottom));left:12px;right:12px;z-index:12;max-height:calc(100svh - 110px);overflow:auto;display:grid;gap:3px;padding:14px;background:white;border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 55px #092a2250}.mobile-menu-panel>strong{padding:5px 9px 8px;font-size:.8rem}.mobile-menu-panel>a{display:flex;align-items:center;min-height:44px;padding:9px 12px;border-radius:9px;font-size:.9rem;font-weight:700}.mobile-menu-panel>a:hover,.mobile-menu-panel>a.active{background:#edf5ef;color:var(--green)}.receipt-actions{bottom:calc(72px + env(safe-area-inset-bottom))}}
@media(max-width:720px){.stock-summary .summary-card strong{font-size:1.18rem;letter-spacing:-.04em}.stock-summary .summary-card{padding:15px;min-width:0}.stock-summary .summary-card>span{font-size:.74rem}}
/* Mobile navigation is a focused sheet, not a floating link list. */
.mobile-menu-dialog{display:none}
@media(max-width:720px){.bottom-nav>.mobile-menu-trigger{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;height:72px;padding:0;border:0;background:white;color:var(--muted);font-size:.72rem;font-weight:800}.bottom-nav>.mobile-menu-trigger.active{background:#edf5ef;color:var(--green)}.mobile-menu-dialog[open]{position:fixed;inset:auto 0 0;display:flex;flex-direction:column;width:100%;max-width:none;max-height:min(78svh,640px);margin:0;padding:0 0 env(safe-area-inset-bottom);border:0;border-radius:22px 22px 0 0;background:#f7f9f5;color:var(--ink);box-shadow:0 -18px 60px #071c1740}.mobile-menu-dialog::backdrop{background:#071c1799;backdrop-filter:blur(2px)}.drawer-handle{align-self:center;width:42px;height:5px;margin:10px 0 4px;border-radius:99px;background:#becdc4}.drawer-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:13px 20px 17px;border-bottom:1px solid var(--line)}.drawer-heading .eyebrow{margin:0 0 3px}.drawer-heading h2{margin:0;font-size:1.45rem}.drawer-close{display:grid;place-items:center;width:42px;height:42px;flex:none;border:1px solid var(--line);border-radius:12px;background:white;color:var(--green);font-size:1.6rem;line-height:1}.drawer-content{overflow-y:auto;overscroll-behavior:contain;padding:4px 16px 20px}.drawer-section{margin:17px 6px 9px;color:var(--muted);font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.drawer-content>a{display:flex;align-items:center;gap:12px;min-height:54px;margin-bottom:7px;padding:9px 13px;border:1px solid var(--line);border-radius:12px;background:white;font-size:.93rem;font-weight:700}.drawer-content>a.active{border-color:#d3ba73;background:#fcf4de;color:var(--green)}.drawer-icon{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:9px;background:#ecf5ef;color:var(--green2)}.drawer-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.drawer-arrow{margin-left:auto;color:#7d9386;font-size:1.5rem;font-weight:400}}
/* Match the accepted prototype's action launcher and four-item phone navigation. */
.quick-launch{margin:0 0 24px;padding:18px;border:1px solid var(--line);border-radius:18px;background:white;box-shadow:var(--shadow)}.quick-launch-heading{padding:0 2px 14px}.quick-launch-heading .eyebrow{margin-bottom:4px}.quick-launch-heading h2{margin:0}.quick-launch .action-grid{gap:10px}.quick-launch .action-tile{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:108px;padding:14px 10px;border:1px solid #00000014;border-radius:6px;color:white;text-align:center;box-shadow:0 2px 8px #0e28201c}.quick-launch .action-tile strong{margin:0;font-size:.87rem;line-height:1.25}.quick-launch .action-tile small{position:absolute;top:6px;right:7px;margin:0;padding:2px 5px;border-radius:4px;background:#ffffff30;color:white;font-size:.58rem;font-weight:800;opacity:1}.quick-launch .action-tile.receipt{background:#a27809}.quick-launch .action-tile.issue{background:#34755b}.quick-launch .action-tile.result{background:#a9663d}.quick-launch .action-tile.return{background:#536476}.quick-launch .action-tile[href]:hover{filter:brightness(1.08);transform:translateY(-1px)}.quick-launch .tile-icon{width:27px;height:27px;background:transparent;color:white;font-size:inherit}.quick-launch .tile-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:720px){.quick-launch{padding:12px;margin-bottom:18px}.quick-launch-heading{padding:0 2px 11px}.quick-launch-heading h2{font-size:1.05rem}.quick-launch .action-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.quick-launch .action-tile{min-height:86px;padding:10px 6px}.quick-launch .action-tile strong{font-size:.76rem}.quick-launch .tile-icon svg{width:23px;height:23px}.bottom-nav{grid-template-columns:repeat(4,minmax(0,1fr));height:calc(66px + env(safe-area-inset-bottom));padding:5px 8px calc(5px + env(safe-area-inset-bottom))}.bottom-nav>a,.bottom-nav>.mobile-menu-trigger{height:56px;border-radius:9px;font-size:.7rem}.receipt-actions{bottom:calc(66px + env(safe-area-inset-bottom))}.drawer-content{padding:15px 16px 20px}.drawer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.drawer-grid>a{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;min-width:0;min-height:104px;padding:11px;border:1px solid var(--line);border-radius:12px;background:white}.drawer-grid>a.active{border-color:#c9ad63;background:#fcf4de}.drawer-grid>a strong{font-size:.85rem;line-height:1.2}.drawer-grid>a small{color:var(--muted);font-size:.68rem;line-height:1.25}.drawer-grid .drawer-icon{width:30px;height:30px}.drawer-grid .drawer-icon svg{width:18px;height:18px}}
.quick-launch-heading h1{font-size:1.35rem;line-height:1.25}
@media(max-width:720px){.quick-launch-heading h1{font-size:1.05rem}}

/* ASK-inspired operational UI: neutral workspace, charcoal navigation and blue actions. */
:root{--ink:#18212f;--muted:#687386;--line:#e2e7ee;--canvas:#f3f4f6;--white:#fff;--green:#1f2937;--green2:#2563eb;--gold:#2563eb;--red:#b42318;--shadow:0 1px 2px #1018280a,0 8px 24px #1018280a;font-family:Inter,'Segoe UI',system-ui,sans-serif;background:var(--canvas)}
body{background:var(--canvas);color:var(--ink)}
h1,h2,h3{font-family:Inter,'Segoe UI',system-ui,sans-serif;letter-spacing:-.025em}
:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}
.shell{grid-template-columns:264px minmax(0,1fr)}
.sidebar{background:#1f2937;color:#f8fafc;padding:0 12px 20px;border-right:1px solid #111827}
.brand{min-height:82px;margin:0 4px 14px;padding:14px 8px;border-bottom:1px solid #ffffff14}
.brand img{width:48px;height:48px;background:white;border-radius:12px;padding:5px;box-shadow:0 2px 8px #0003}
.brand strong{font-size:1rem;letter-spacing:-.01em}.brand small,.sidebar-foot small{color:#9ca3af}
.sidebar nav{gap:4px}.sidebar nav a{gap:13px;min-height:52px;padding:7px 12px;border-radius:10px;color:#d1d5db;font-size:.9rem;font-weight:650}
.sidebar nav a:hover{background:#374151;color:white}.sidebar nav a.active{background:#374151;color:white;box-shadow:inset 3px 0 #60a5fa}
.sidebar-icon{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:9px;background:#ffffff0d;color:#9ca3af}
.sidebar-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sidebar nav a.active .sidebar-icon{background:#2563eb;color:white;box-shadow:0 5px 14px #1d4ed866}
.nav-label{color:#6b7280;margin:23px 12px 8px;font-size:.65rem}.sidebar-foot{border-top-color:#ffffff14;padding:16px 12px 0}
.topbar{height:76px;padding:0 clamp(18px,2.6vw,40px);background:#fffffff5;border-bottom-color:#e5e7eb;box-shadow:0 1px 3px #1018280a;backdrop-filter:blur(12px)}
.topbar-kicker{color:#8a94a5}.topbar>div:first-child strong{font-size:1.02rem}.topbar-right{gap:10px}
.topbar-new{min-height:42px;padding:8px 15px;border-radius:9px;background:#2563eb;color:white;font-size:.8rem;box-shadow:0 4px 12px #2563eb33}.topbar-new:hover{background:#1d4ed8}.topbar-add-icon{font-size:1.25rem;line-height:1}
.demo-link{padding:9px;color:#475467}.stage-pill{color:#344054;background:#f2f4f7;border-color:#e4e7ec}
.user-chip{display:flex;align-items:center;gap:8px;padding-left:4px}.user-chip>span{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#2563eb;color:white;font-weight:800;box-shadow:0 2px 8px #2563eb33}.user-chip strong{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.78rem}
.text-button{color:#667085}.content{max-width:1480px;padding-top:28px}
.eyebrow{color:#2563eb;letter-spacing:.09em}.page-title{margin-bottom:22px}.page-title>p:last-child{color:#667085}
.quick-launch{padding:0;border:0;background:transparent;box-shadow:none;margin-bottom:28px}.quick-launch-heading{padding:0 0 16px}.quick-launch-heading h1{font-size:clamp(1.5rem,2.5vw,2rem)}
.quick-launch .action-grid{gap:16px}.quick-launch .action-tile{align-items:flex-start;justify-content:flex-start;min-height:166px;padding:21px;border:0;border-radius:14px;text-align:left;overflow:hidden;box-shadow:0 7px 20px #10182814;transition:transform .18s ease,box-shadow .18s ease}
.quick-launch .action-tile:after{content:'';position:absolute;right:-25px;bottom:-40px;width:120px;height:120px;border:22px solid #ffffff14;border-radius:50%}
.quick-launch .action-tile[href]:hover{filter:none;transform:translateY(-3px);box-shadow:0 14px 30px #10182824}
.quick-launch .tile-icon{width:62px;height:62px;border-radius:14px;background:#ffffff1f;box-shadow:inset 0 0 0 1px #ffffff1a}
.quick-launch .tile-icon svg{width:38px;height:38px;stroke-width:1.65}.quick-launch .action-tile strong{margin-top:auto;font-size:1rem}.quick-launch .action-tile small{top:14px;right:14px;padding:4px 7px;border-radius:999px;background:#ffffff26;font-size:.62rem}
.quick-launch .action-tile.receipt{background:#2563eb}.quick-launch .action-tile.issue{background:#0f766e}.quick-launch .action-tile.result{background:#7c3aed}.quick-launch .action-tile.return{background:#c2410c}
.section-head{margin:30px 0 14px}.section-head h2{font-size:1.15rem}.row-link{color:#2563eb}
.summary-grid{gap:16px}.summary-card{position:relative;gap:7px;min-height:142px;padding:22px;border-color:#e4e7ec;border-radius:12px;box-shadow:var(--shadow);transition:border-color .15s,box-shadow .15s,transform .15s}.summary-card:hover{border-color:#bfdbfe;box-shadow:0 10px 26px #10182812;transform:translateY(-2px)}
.summary-card:before{content:'';width:42px;height:5px;margin-bottom:3px;border-radius:99px;background:#3b82f6}.summary-card:nth-child(2):before{background:#8b5cf6}.summary-card:nth-child(3):before{background:#f97316}.summary-card strong{font-size:1.75rem;color:#101828}.summary-card>span{color:#667085;font-weight:650}
.panel{border-color:#e4e7ec;border-radius:12px;box-shadow:var(--shadow)}.panel-heading{padding:18px 20px;background:#fff}.panel-heading h2{color:#101828}
th{background:#f9fafb;color:#667085}th,td{border-bottom-color:#eef1f5}.badge.on{background:#dcfae6;color:#067647}.badge.off{background:#f2f4f7;color:#475467}
.field input,.field select,.field textarea{min-height:46px;border-color:#d0d5dd;border-radius:8px}.field input:focus,.field select:focus,.field textarea:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #dbeafe;outline:0}
.button{min-height:44px;border-radius:8px}.button.primary{background:#2563eb}.button.primary:hover{background:#1d4ed8}.button.secondary{border-color:#d0d5dd;color:#344054}
.notice{border-radius:9px}.notice.info{background:#eff6ff;border-color:#bfdbfe;color:#1e40af}.notice.success{background:#ecfdf3;border-color:#abefc6;color:#067647}.notice.warning{background:#fffaeb;border-color:#fedf89;color:#93370d}
.login-layout{background:linear-gradient(145deg,#111827 0 52%,#2563eb 52% 66%,#f3f4f6 66%)}.login-card{border-radius:16px;box-shadow:0 28px 80px #10182866}.login-card .button.primary{min-height:48px}
.mobile-menu-dialog[open]{background:#f3f4f6}.drawer-content>a,.drawer-grid>a{border-color:#e4e7ec}.drawer-icon{background:#eff6ff;color:#2563eb}.drawer-content>a.active,.drawer-grid>a.active{border-color:#93c5fd;background:#eff6ff;color:#1d4ed8}
@media(max-width:1120px){.user-chip strong{display:none}.demo-link{display:none}}
@media(max-width:720px){
  .shell{display:block}.topbar{height:68px;padding:0 14px}.topbar-kicker{display:none}.topbar>div:first-child strong{font-size:1rem}.topbar-right{gap:7px}.user-chip,.text-button{display:none}.topbar-new{width:42px;min-height:42px;padding:0;border-radius:10px}.content{padding:20px 14px calc(94px + env(safe-area-inset-bottom))}
  .quick-launch{margin-bottom:23px}.quick-launch-heading{padding-bottom:13px}.quick-launch-heading h1{font-size:1.35rem}.quick-launch .action-grid{gap:10px}.quick-launch .action-tile{min-height:142px;padding:15px;border-radius:12px}.quick-launch .tile-icon{width:54px;height:54px;border-radius:13px}.quick-launch .tile-icon svg{width:34px;height:34px}.quick-launch .action-tile strong{font-size:.86rem;max-width:90%}
  .summary-grid{gap:10px}.summary-card{min-height:126px;padding:17px}.summary-card strong{font-size:1.45rem}.section-head{margin-top:25px}
  .bottom-nav{height:calc(72px + env(safe-area-inset-bottom));padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:#fffffff7;box-shadow:0 -5px 18px #10182812;backdrop-filter:blur(12px)}.bottom-nav>a,.bottom-nav>.mobile-menu-trigger{height:58px;border-radius:10px;color:#667085}.bottom-nav a.active,.bottom-nav>.mobile-menu-trigger.active{background:#eff6ff;color:#2563eb}.nav-icon{width:27px;height:27px}.nav-icon svg{width:25px;height:25px;stroke-width:1.8}
  .mobile-menu-dialog[open]{border-radius:20px 20px 0 0}.drawer-heading h2{font-size:1.35rem}.drawer-grid>a{min-height:112px;border-radius:11px}.drawer-grid .drawer-icon{width:38px;height:38px}.drawer-grid .drawer-icon svg{width:23px;height:23px}.receipt-actions{bottom:calc(72px + env(safe-area-inset-bottom));background:#f3f4f6}
}
@media(max-width:380px){.quick-launch .action-tile{min-height:126px}.quick-launch .tile-icon{width:47px;height:47px}.quick-launch .tile-icon svg{width:29px;height:29px}.quick-launch .action-tile strong{font-size:.78rem}}

/* Global actions stay available from every authenticated page. */
body.dialog-open{overflow:hidden}
.global-action-drawer[open]{position:fixed;inset:0 0 0 auto;display:flex;flex-direction:column;width:min(470px,100%);max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:#f8fafc;color:var(--ink);box-shadow:-24px 0 70px #1018282e}
.global-action-drawer::backdrop{background:#10182880;backdrop-filter:blur(2px)}
.global-action-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:28px 26px 23px;border-bottom:1px solid var(--line);background:white}
.global-action-head .eyebrow{margin:0 0 5px}.global-action-head h2{margin:0 0 7px;font-size:1.55rem}.global-action-head p:last-child{margin:0;color:var(--muted);font-size:.86rem}
.global-action-list{display:grid;gap:12px;overflow-y:auto;padding:22px 20px}
.global-action-card{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:14px;min-height:92px;padding:16px;border:1px solid #e4e7ec;border-radius:12px;background:white;box-shadow:0 1px 2px #1018280a;transition:border-color .15s,box-shadow .15s,transform .15s}
.global-action-card:hover{border-color:#93c5fd;box-shadow:0 10px 25px #10182812;transform:translateY(-1px)}
.global-action-card.disabled{cursor:not-allowed;background:#f9fafb;box-shadow:none;opacity:.72}.global-action-card.disabled:hover{border-color:#e4e7ec;box-shadow:none;transform:none}
.global-action-card>span:nth-child(2){display:grid;gap:4px}.global-action-card strong{font-size:.94rem}.global-action-card small{color:var(--muted);font-size:.76rem;line-height:1.4}
.global-action-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:12px;color:white}.global-action-icon.receipt{background:#2563eb}.global-action-icon.operation{background:#0f766e}.global-action-icon.result{background:#7c3aed}.global-action-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.global-action-arrow{color:#98a2b3;font-size:1.3rem}.global-action-note{margin:auto 20px 22px;padding:14px 16px;border:1px solid #dbeafe;border-radius:10px;background:#eff6ff;color:#1e40af;font-size:.76rem;line-height:1.45}
.global-action-status{padding:4px 7px;border-radius:999px;background:#e2e8f0;color:#475467;font-size:.62rem;font-weight:800;white-space:nowrap}
.badge.pending{background:#eff6ff;color:#1d4ed8}.operation-request-form{max-width:760px}.operation-request-form>.form-stack{padding:22px}.operation-request-form input[type=number]{font-variant-numeric:tabular-nums}
.operation-detail-grid{display:grid;grid-template-columns:minmax(280px,.75fr) minmax(380px,1.25fr);align-items:start;gap:20px}.operation-request-summary dl{margin:0}.operation-request-summary dl>div{display:grid;gap:5px;padding:15px 20px;border-bottom:1px solid var(--line)}.operation-request-summary dl>div:last-child{border-bottom:0}.operation-request-summary dt{color:var(--muted);font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.operation-request-summary dd{margin:0;font-size:.87rem;line-height:1.5}.operation-approval-form{padding:20px}
@media(max-width:850px){.operation-detail-grid{grid-template-columns:1fr}}
.operation-progress-value{display:grid;gap:5px;padding:24px}.operation-progress-value>span,.operation-progress-value>small{color:var(--muted)}.operation-progress-value>span{font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.operation-progress-value>strong{font-size:2rem}.operation-result-panel,.operation-results-history{margin-top:22px}.operation-result-form{padding:20px}.result-header-fields{padding:0}.result-output-lines{display:grid;gap:8px;margin:0;padding:14px;border:1px solid var(--line);border-radius:10px}.result-output-lines legend{padding:0 7px;font-size:.78rem;font-weight:800}.result-output-line{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,180px);align-items:center;gap:14px;padding:10px 11px;border-radius:8px;background:#f8fafc}.result-output-line>span{display:grid;gap:2px}.result-output-line strong{font-size:.82rem}.result-output-line small{font-size:.68rem;color:var(--muted)}.result-output-line>input{width:100%;min-height:42px;padding:9px 11px;border:1px solid #d0d5dd;border-radius:8px}.operation-result-list{display:grid}.operation-result-card{padding:19px 20px;border-bottom:1px solid var(--line)}.operation-result-card:last-child{border-bottom:0}.operation-result-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.operation-result-head>div{display:grid;gap:3px}.operation-result-head small{color:var(--muted)}.operation-result-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:15px 0}.operation-result-metrics>span{display:grid;gap:4px;padding:10px;border-radius:8px;background:#f8fafc}.operation-result-metrics small{color:var(--muted);font-size:.66rem;text-transform:uppercase}.operation-result-metrics strong{font-size:.82rem}.result-products{display:flex;gap:8px;flex-wrap:wrap}.result-products>span{padding:6px 9px;border:1px solid var(--line);border-radius:999px;font-size:.73rem}.operation-result-card>p{margin:12px 0 0;color:var(--muted);font-size:.78rem}
@media(max-width:620px){.result-output-line{grid-template-columns:1fr}.operation-result-metrics{grid-template-columns:1fr}.operation-result-head{align-items:flex-start;flex-direction:column}}
@media(max-width:720px){.global-action-drawer[open]{inset:auto 0 0;width:100%;height:auto;max-height:88dvh;border-radius:20px 20px 0 0}.global-action-head{padding:21px 18px 17px}.global-action-head h2{font-size:1.35rem}.global-action-list{padding:16px 14px}.global-action-card{grid-template-columns:48px minmax(0,1fr) auto;min-height:84px;padding:13px}.global-action-icon{width:48px;height:48px}.global-action-note{margin:0 14px calc(16px + env(safe-area-inset-bottom))}}

.operation-definition-list{display:grid}.operation-definition{padding:19px 20px;border-bottom:1px solid var(--line)}.operation-definition:last-child{border-bottom:0}.operation-definition-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.operation-definition h3{margin:4px 0 0;font-size:1rem}.operation-definition>p{margin:10px 0;color:var(--muted);font-size:.81rem}.operation-flow{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;margin:13px 0}.operation-flow>span{display:grid;gap:3px;padding:10px;border-radius:8px;background:#f8fafc}.operation-flow small{color:var(--muted);font-size:.65rem;text-transform:uppercase;letter-spacing:.06em}.operation-flow strong{font-size:.76rem;line-height:1.4}.operation-flow>b{color:#98a2b3}.operation-form{padding:19px}.product-choice{display:grid;gap:7px;margin:0;padding:13px;border:1px solid #d0d5dd;border-radius:9px}.product-choice legend{padding:0 6px;font-size:.76rem;font-weight:800}.product-choice label{display:flex;align-items:center;gap:9px;padding:8px;border-radius:7px;background:#f8fafc;cursor:pointer}.product-choice input{width:18px;height:18px;accent-color:#2563eb}.product-choice label>span{display:flex;align-items:baseline;justify-content:space-between;gap:12px;width:100%}.product-choice strong{font-size:.78rem}.product-choice small{font-size:.68rem}.operation-catalog{grid-template-columns:minmax(0,1.25fr) minmax(340px,.75fr)}
.operation-tolerance{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;padding:9px 11px;border:1px solid #dbeafe;border-radius:8px;background:#eff6ff;color:#1e40af}.operation-tolerance small{font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.operation-tolerance strong{font-size:.88rem}
@media(max-width:980px){.operation-catalog{grid-template-columns:1fr}.operation-catalog .form-panel{max-width:none}}
@media(max-width:560px){.operation-flow{grid-template-columns:1fr}.operation-flow>b{transform:rotate(90deg);justify-self:center}.product-choice label>span{align-items:flex-start;flex-direction:column;gap:2px}}

/* Task-focused Stock and Production workspaces. */
.inventory-list{display:grid;gap:12px}.inventory-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid #e7ece8}.panel.inventory-row{padding:22px;border-bottom:1px solid #e7ece8}.inventory-row:last-child{border-bottom:0}.inventory-row h2,.inventory-row h3{margin:4px 0 8px}.inventory-row p{margin:5px 0 9px;color:var(--muted,#68776e)}.inventory-row small{display:block;color:var(--muted,#68776e);margin-top:5px}.inventory-measure{min-width:145px}.inventory-measure strong{font-size:1.15rem;font-variant-numeric:tabular-nums}.inventory-narrow{max-width:760px;padding:28px}.inventory-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding:24px}.inventory-summary small,.inventory-summary strong{display:block}.inventory-summary strong{font-size:1.4rem;margin-top:8px}.inventory-action-choices{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.allocation-row .field{width:180px;flex-shrink:0}.allocation-shortfall{color:#925515!important}.inventory-check{display:flex;gap:12px;align-items:center}.inventory-check input{width:20px;height:20px}details.panel{padding:20px}summary{cursor:pointer;min-height:44px;padding:12px 0;font-weight:600}details .form-stack{margin-top:16px}.inventory-narrow .button{align-self:start}.form-stack select,.form-stack input,.form-stack textarea{max-width:100%}.inventory-summary+.panel{margin-top:20px}[aria-busy=true]{opacity:.75}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #a76f2a;outline-offset:3px}
@media(max-width:760px){.inventory-row{flex-wrap:wrap;gap:14px}.inventory-row>div:first-child{flex:1 1 100%}.inventory-row .button{min-height:44px}.inventory-narrow{padding:20px}.inventory-summary{gap:12px;padding:18px;grid-template-columns:1fr}.inventory-summary>div{display:flex;justify-content:space-between;align-items:center;gap:12px}.inventory-summary strong{font-size:1.15rem;margin:0}.allocation-row .field{width:100%}.inventory-action-choices{display:grid;grid-template-columns:1fr}.inventory-action-choices .button{white-space:normal}.inventory-row strong{overflow-wrap:anywhere}.inventory-row .inventory-measure{flex:1}.content{min-width:0}.form-stack{min-width:0}}
@media print{.inventory-action-choices,details,form[data-posting-form]{display:none}}

.mobile-signout{margin-top:24px;padding-bottom:24px}.inventory-action-choices+.panel{margin-top:16px}.allocation-row{padding-left:20px;padding-right:20px}[data-allocation-form]>details{padding:0 20px}


.panel>.inventory-list{padding:0 20px}.panel>p:not(.notice){padding-left:20px;padding-right:20px}.inventory-narrow>p{padding-left:0!important;padding-right:0!important}.sidebar nav{overflow-y:auto;min-height:0}.sidebar-foot{flex-shrink:0}


.user-row-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.user-row-actions form{margin:0}.impersonation-banner{position:sticky;top:76px;z-index:15;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 20px;margin-bottom:24px;border:1px solid #d6aa45;border-radius:12px;background:#fff4d6;color:#65480b;box-shadow:0 3px 12px #0000000a}.impersonation-banner strong,.impersonation-banner span{display:block}.impersonation-banner span{font-size:.82rem;margin-top:5px}.impersonation-banner form{margin:0;flex-shrink:0}@media(max-width:760px){.impersonation-banner{top:64px;align-items:stretch;flex-direction:column;gap:12px;padding:14px}.impersonation-banner .button{width:100%;min-height:44px}.user-row-actions{width:100%}}@media print{.impersonation-banner{display:none!important}}

/* Request detail: one consistent inset and clear separation between cards. */
.material-request-page{display:grid;gap:20px;min-width:0}
.material-request-page>.page-title,.material-request-page>.panel,.material-request-page>.notice{margin:0}
.material-request-page .panel-heading p{margin:8px 0 0;color:var(--muted);line-height:1.5}
.material-allocation-form{padding:20px;gap:20px}
.material-allocation-form>.inventory-list{gap:0;min-width:0}
.material-allocation-form .allocation-row{padding:20px 0;gap:24px;min-width:0}
.material-allocation-form>.inventory-list>.allocation-row:first-child{padding-top:0}
.material-allocation-form .allocation-row>div:first-child{min-width:0;flex:1}
.material-allocation-form .inventory-measure{flex:0 0 160px}
.material-allocation-form .inventory-list>details{padding:0;border-top:1px solid var(--line)}
.material-allocation-form details>summary{padding:16px 0;line-height:1.5}
.material-allocation-form>.notice,.material-allocation-form>p{margin:0;line-height:1.55}
.material-allocation-form>button{justify-self:start;max-width:100%}
@media(max-width:760px){
  .material-request-page{gap:16px}
  .material-request-page .panel-heading{padding:18px 16px}
  .material-allocation-form{padding:16px;gap:18px}
  .material-allocation-form .allocation-row{gap:14px;padding:18px 0}
  .material-allocation-form .allocation-row>div:first-child{flex:1 1 100%}
  .material-allocation-form .inventory-measure{flex:1 1 100%;min-width:0}
  .material-allocation-form .allocation-row .field{width:100%;min-width:0}
  .material-allocation-form>button{justify-self:stretch;width:100%;min-height:44px}
}
