:root{color:#243337;font-synthesis:none;--ink:#173c42;--accent:#17695d;--line:#dce2de;--muted:#647773;--paper:#fff;--soft:#eef3ef;background:#f4f5f2;font-family:DM Sans,system-ui,sans-serif;font-size:15px}*{box-sizing:border-box}body{margin:0}body.modal-open{overflow:hidden}button,input,select{font:inherit}button,.button{background:var(--accent);color:#fff;white-space:nowrap;cursor:pointer;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:10px;min-height:44px;padding:10px 18px;font-weight:600;line-height:1.4;text-decoration:none;display:inline-flex}button:hover,.button:hover{filter:brightness(.94)}button:disabled{opacity:.45;cursor:not-allowed}a{color:var(--accent);text-underline-offset:4px}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline-offset:3px;outline:3px solid #8cbcac}input,select{width:100%;height:44px;color:inherit;background:#fff;border:1px solid #bdcbc6;border-radius:7px;min-width:0;padding:10px 12px}input[readonly]{color:#4d635e;background:#f3f5f3}input::placeholder{color:#7b8a86}select{cursor:pointer}h1,h2,h3,p{margin-top:0}h1,h2,h3{color:var(--ink);font-family:Manrope,system-ui,sans-serif}h1{letter-spacing:-1.3px;margin-bottom:12px;font-size:clamp(28px,3.2vw,39px);font-weight:800;line-height:1.2}h2{letter-spacing:-.55px;margin-bottom:22px;font-size:21px}h3{margin-bottom:8px;font-size:16px}p{line-height:1.65}small{color:var(--muted);font-size:12px;line-height:1.5}.muted{color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:1.8px;color:var(--accent);margin-bottom:13px;font-size:11px;font-weight:700}.secondary{background:var(--soft);color:var(--ink);border-color:#dbe5df}.danger-text{color:#a44238;background:#fff2ef;border-color:#f3d6ce}.full{width:100%}.button-row{align-items:center;gap:10px;display:flex}.compact{min-width:98px;min-height:40px;padding:8px 12px;font-size:13px}.icon-button{width:44px;min-width:44px;padding:10px;font-size:24px}.site-header{background:var(--paper);border-bottom:1px solid var(--line)}.header-inner{align-items:center;gap:45px;max-width:1400px;min-height:88px;margin:auto;padding:16px 40px;display:flex}.brand{color:var(--ink);letter-spacing:-.6px;align-items:center;gap:11px;font-family:Manrope,system-ui,sans-serif;font-size:21px;font-weight:800;text-decoration:none;display:flex}.brand-mark{border:1px solid var(--ink);border-radius:50%;place-items:center;width:33px;height:33px;font-family:Georgia,serif;font-style:italic;display:grid}.brand-subtitle{text-transform:uppercase;letter-spacing:1.5px;color:var(--muted);border-left:1px solid var(--line);margin-left:2px;padding-left:12px;font-family:DM Sans,system-ui,sans-serif;font-size:11px;font-weight:500}.header-inner nav{gap:25px;display:flex}.header-inner nav a{color:var(--muted);font-size:14px;text-decoration:none}.header-inner nav a.active{color:var(--ink);font-weight:700}.account-nav{align-items:center;gap:20px;margin-left:auto;font-size:13px;display:flex}.user-name{text-align:right;overflow-wrap:anywhere;max-width:210px}.clock{color:var(--muted);font-variant-numeric:tabular-nums;margin-top:3px;font-size:11px;display:block}.container{max-width:1400px;min-height:calc(100vh - 154px);margin:auto;padding:42px 40px}.site-footer{border-top:1px solid var(--line);max-width:1320px;color:var(--muted);margin:auto;padding:18px 0;font-size:12px}.panel{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:28px;box-shadow:0 3px 13px #173c4204}.page-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px;display:flex}.page-heading p:last-child{margin:0}.text-link{white-space:nowrap;font-size:13px;text-decoration:none}.home{grid-template-columns:1.3fr 1fr;align-items:center;gap:100px;padding:64px 40px;display:grid}.home h1{letter-spacing:-2.3px;margin:24px 0;font-size:clamp(38px,4.5vw,61px);line-height:1.16}.intro{max-width:490px;color:var(--muted);margin-bottom:30px;font-size:17px}.home-note{background:#e6ede6;border-left:3px solid #97b9a6;border-radius:4px 40px 4px 4px;padding:34px 38px}.home-note h2{margin:9px 0;font-size:19px}.home-note p{color:#526861;margin-bottom:10px}.note-number{letter-spacing:2px;color:var(--accent);font-size:11px}hr{border:0;border-top:1px solid #cad8cd;margin:25px 0}.access{max-width:510px;margin:20px auto 40px;padding:36px 40px}.access h1{font-size:32px}.access form{margin-top:28px}fieldset{border:0;min-width:0;margin:0;padding:0}.field{flex-direction:column;gap:7px;min-width:0;font-size:14px;font-weight:500;display:flex}.field small{font-weight:400}.access .field{margin-bottom:20px}.access-link{text-align:center;color:var(--muted);margin:22px 0 0;font-size:13px}.order-layout{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:24px;display:grid}.order-fields{grid-template-columns:minmax(0,1fr);gap:24px;display:grid}.order-summary{padding:24px;position:sticky;top:22px}.order-summary h2{margin-bottom:26px}.amounts{margin:0 0 24px;font-size:14px}.amounts>div{justify-content:space-between;gap:12px;margin-bottom:15px;display:flex}.amounts dt{color:var(--muted)}.amounts dd{white-space:nowrap;font-variant-numeric:tabular-nums;margin:0;font-weight:500}.amounts .grand-total{border-top:1px solid var(--line);margin-top:20px;padding-top:20px;font-size:21px}.grand-total dt,.grand-total dd{color:var(--ink);font-weight:800}.summary-help{color:var(--muted);margin:16px 0 0;font-size:12px}.customer-control{max-width:100%;margin-bottom:22px}.input-action{gap:0;display:flex}.input-action input{border-right:0;border-radius:7px 0 0 7px}.input-action button{border-radius:0 7px 7px 0}.shipping-grid{grid-template-columns:1fr 1fr;gap:20px;display:grid}.shipping-grid>.field:first-child{grid-column:1/-1}.section-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.section-heading h2{margin:0}.count{background:var(--soft);color:var(--accent);border-radius:12px;margin-left:6px;padding:3px 9px;font-family:DM Sans,sans-serif;font-size:12px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;text-align:left;width:100%;font-size:14px}th{color:var(--muted);border-bottom:1px solid var(--line);white-space:nowrap;padding:13px 10px;font-size:11px;font-weight:600}td{vertical-align:middle;border-bottom:1px solid #e9eeea;padding:15px 10px}th:first-child,td:first-child{padding-left:0}th:last-child,td:last-child{padding-right:0}tbody tr:last-child td{border-bottom:0}td strong{font-size:13px;font-weight:600}.numeric{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.stock-label{white-space:nowrap;margin-top:5px;display:block}.code{color:var(--muted);font-variant-numeric:tabular-nums}.quantity{width:78px}.quantity-cell{min-width:95px}.quantity-cell .field>span,.quantity-cell small{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.line-actions{gap:8px;display:flex}.line-actions .compact{min-width:70px}.empty{text-align:center;color:var(--muted);margin:0;padding:36px 15px;font-size:14px}.empty h3{margin-bottom:6px}.empty p{margin:0}.pagination{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;gap:16px;margin-top:14px;padding-top:22px;font-size:12px;display:flex}.pagination>label{white-space:nowrap;align-items:center;gap:10px;display:flex}.pagination select{width:68px}.pagination button{min-width:90px;font-size:12px}.saved-notice{background:#e4f1e8;border:1px solid #bad4c1;border-radius:10px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;padding:20px 24px;display:flex}.saved-notice p{margin:5px 0 0;font-size:13px}.modal{border:1px solid var(--line);width:min(1000px,100vw - 40px);max-height:calc(100dvh - 48px);color:inherit;background:#fff;border-radius:13px;padding:28px 30px;overflow-y:auto;box-shadow:0 24px 90px #0c27293d}.modal::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#112d32a8}.modal.small{max-width:510px}.dialog-header{justify-content:space-between;align-items:center;gap:25px;margin-bottom:16px;display:flex}.dialog-header h2{margin:0;font-size:24px}.dialog-header button{font-weight:400}.dialog-actions{justify-content:flex-end;gap:12px;margin-top:25px;display:flex}.notice-messages p{margin:14px 0;font-size:14px;line-height:1.6}.lookup-intro{margin-bottom:22px;font-size:13px}.filter-bar{background:#f3f6f2;border:1px solid #dce5db;border-radius:9px;align-items:end;gap:12px;margin-bottom:20px;padding:18px;display:flex}.filter-bar>.field{flex-shrink:0;width:155px}.filter-inputs{flex:1;gap:12px;min-width:0;display:flex}.filter-inputs>.field{flex:1}.filter-bar .field{font-size:12px}.chips{flex-wrap:wrap;gap:8px;margin:-3px 0 14px;display:flex}.chip{background:var(--soft);min-height:30px;color:var(--ink);border-color:var(--line);padding:4px 10px;font-size:12px;font-weight:400}.history-toolbar{justify-content:space-between;align-items:end;gap:25px;margin-bottom:22px;display:flex}.history-toolbar form{align-items:end}.history-toolbar .field{width:200px}.invoice-toolbar{justify-content:space-between;gap:20px;margin-bottom:24px;display:flex}.segmented{gap:5px;display:flex}.invoice-sheet{border:1px solid var(--line);border-radius:7px;padding:30px}.invoice-heading{border-bottom:1px solid var(--line);justify-content:space-between;gap:20px;padding-bottom:20px;display:flex}.invoice-heading h2{margin:0;font-size:27px}.invoice-heading .eyebrow{margin-bottom:8px}.invoice-heading strong{color:var(--ink);font-size:24px}.invoice-heading p:last-child{color:var(--muted);margin:8px 0 0;font-size:12px}.right{text-align:right}.invoice-parties{grid-template-columns:1fr 1fr;gap:30px;margin:25px 0 20px;display:grid}.invoice-parties h3{margin-top:8px}.invoice-parties p{font-size:14px}.invoice-parties small{text-transform:uppercase;letter-spacing:1px}.invoice-amounts{max-width:340px;margin:25px 0 20px auto}.invoice-sheet>p{font-size:12px}.pdf-viewer{border:1px solid var(--line);border-radius:7px;width:100%;height:65vh}.hidden{display:none}.sr-only{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}@media (width>=1500px){.order-layout{grid-template-columns:minmax(0,1fr) 320px}}@media (width<=1120px){.header-inner{gap:25px;padding:16px 25px}.brand-subtitle{display:none}.container{padding:32px 25px}.home{gap:45px;padding:50px 10px}.order-layout{grid-template-columns:minmax(0,1fr) 270px}.panel{padding:22px}.line-actions{flex-direction:column}.site-footer{margin:0 25px}.user-name{max-width:160px}}@media (width<=850px){.header-inner{flex-wrap:wrap;gap:18px}.header-inner nav{order:3;gap:30px;width:100%}.account-nav{gap:12px}.order-layout{grid-template-columns:1fr}.order-summary{position:static}.home{grid-template-columns:1fr;gap:40px;padding:25px 0}.home-note{max-width:600px}.filter-bar{flex-wrap:wrap}.filter-bar>.field{width:135px}.filter-inputs{flex-basis:calc(100% - 160px)}.filter-bar>.icon-button{margin-left:auto}.pagination{flex-wrap:wrap}.pagination>span{text-align:center;order:3;width:100%}.line-actions{flex-direction:row}.invoice-toolbar{flex-wrap:wrap}}@media (width<=550px){.container{padding:28px 16px}.header-inner{padding:15px 16px}.brand{font-size:18px}.brand-mark{width:28px;height:28px}.account-nav{font-size:12px}.account-nav .button,.account-nav button{padding:8px 12px;font-size:12px}.user-name{max-width:140px}.user-name strong{font-size:11px}.clock{font-size:10px}.account-nav>a:first-child{display:none}.page-heading{flex-direction:column;align-items:start}.page-heading h1{font-size:32px}.panel{padding:20px 17px}.shipping-grid{grid-template-columns:1fr}.shipping-grid>.field:first-child{grid-column:auto}.access{margin-top:0;padding:28px 22px}.section-heading{flex-wrap:wrap}.section-heading button{font-size:12px}.history-toolbar{flex-direction:column;align-items:start;gap:14px}.saved-notice{flex-direction:column;align-items:start}.modal{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);padding:22px 18px}.dialog-header h2{font-size:21px}.filter-bar{gap:10px;padding:12px}.filter-bar>.field{width:100%}.filter-inputs{flex-basis:100%}.filter-bar>.icon-button{margin-left:0}.invoice-sheet{padding:18px}.invoice-heading{flex-wrap:wrap}.invoice-heading .right{text-align:left}.invoice-parties{grid-template-columns:1fr;gap:5px}.invoice-toolbar .button,.invoice-toolbar button{padding:8px 12px;font-size:12px}.pagination .button-row{gap:6px}.pagination button{min-width:76px;padding:8px}.home h1{font-size:40px}.home-note{padding:27px}.site-footer{margin:0 16px}}.pdf-document{background:#e7ece8;border-radius:8px;padding:18px}.pdf-pages{gap:18px;display:grid}.pdf-pages canvas{background:#fff;width:100%;height:auto;display:block;box-shadow:0 2px 8px #193d421a}.invoice-toolbar,.invoice-toolbar>.button-row{flex-wrap:wrap}@media print{body.printing-invoice{background:#fff}body.printing-invoice #root{visibility:hidden}body.printing-invoice dialog{visibility:visible;width:100%;max-width:none;height:auto;max-height:none;box-shadow:none;border:0;margin:0;padding:0;position:absolute;inset:0;overflow:visible}body.printing-invoice dialog::backdrop{background:0 0}body.printing-invoice .dialog-header,body.printing-invoice .invoice-toolbar,body.printing-invoice .invoice-sheet{display:none!important}body.printing-invoice .pdf-container{display:block!important}body.printing-invoice .pdf-document{background:#fff;padding:0}body.printing-invoice .pdf-pages{display:block}body.printing-invoice .pdf-pages canvas{box-shadow:none;break-after:page;object-fit:contain;width:100%;max-height:270mm}body.printing-invoice .pdf-pages canvas:last-child{break-after:auto}body.printing-invoice .site-footer{display:none}}
