html,body{max-width:100%;overflow-x:clip}img,video,canvas,svg{max-width:100%}:is(.app-shell,.workspace-main,.main-content,.platform-page,.platform-content,.customs-view,.settings-layout,.guide-layout),:is(.welcome-row,.page-heading,.card-heading,.customs-actions,.warehouse-actions,.settings-section-heading)>*{min-width:0}input,select,textarea{max-width:100%}.guide-nav{overscroll-behavior:contain;scrollbar-width:thin;align-self:start;max-height:calc(100dvh - 32px);position:sticky;top:16px;overflow-y:auto}.guide-article[id]{scroll-margin-top:24px}.table-scroll{overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;max-width:100%;overflow-x:auto}.data-table{min-width:max-content}.platform-top{z-index:32;gap:18px;padding:18px max(24px,4vw);position:sticky;top:0}.platform-actions{align-items:center;gap:10px;margin-left:auto;display:flex}.platform-actions .platform-password-launcher{margin-left:0}.platform-content{max-width:1480px;padding-top:42px}.platform-heading{align-items:flex-end}.platform-stats .stat>strong{overflow-wrap:anywhere;font-size:clamp(21px,2.1vw,30px)}.platform-stats .stat.attention{border-color:#e9c89a}.platform-overview-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:34px;display:grid}.platform-health-card{padding-bottom:22px}.platform-health-card .card-heading{border-bottom:1px solid var(--line)}.platform-health-card>.muted{padding:0 23px;font-size:12px;line-height:1.7}.platform-health-list{background:var(--line);grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;display:grid}.platform-health-list>div{background:var(--surface);gap:6px;padding:18px 22px;display:grid}.platform-health-list span{color:var(--muted);font-size:12px}.platform-health-list strong{color:var(--ink);font-size:22px}.payment-readiness{align-items:flex-start;gap:12px;padding:21px 23px 14px;display:flex}.payment-readiness strong{margin-bottom:4px;display:block}.payment-readiness p{font-size:12px;line-height:1.55}.readiness-dot{background:#c47b65;border-radius:50%;flex-shrink:0;width:10px;height:10px;margin-top:6px;box-shadow:0 0 0 4px #c47b6529}.readiness-dot.ready{background:#2d9a72;box-shadow:0 0 0 4px #2d9a7229}.activity-list{padding:8px 23px 0;display:grid}.activity-list>div{border-bottom:1px solid var(--line);gap:12px;padding:11px 0;display:flex}.activity-list>div:last-child{border-bottom:0}.activity-list strong{font-size:13px}.activity-list p{margin-top:3px;font-size:11px}.activity-dot{background:var(--brand);border-radius:50%;flex-shrink:0;width:8px;height:8px;margin-top:6px}.section-heading{justify-content:space-between;align-items:flex-end;gap:20px;margin:0 0 18px;display:flex}.section-heading h2{font-size:22px}.section-heading p{margin-top:5px;font-size:13px}.platform-warehouse-grid{margin-bottom:28px}.warehouse-statuses{flex-wrap:wrap;justify-content:flex-end;gap:7px;display:flex}.subtle-chip.warning{color:#956118;background:#fff7e7;border-color:#eed8ad}.warehouse-record-summary{margin-top:7px;line-height:1.6}.warehouse-details .mono{overflow-wrap:anywhere;word-break:break-word}.dimepay-panel{border-color:color-mix(in srgb, var(--brand) 28%, var(--line))}.dimepay-panel .card-heading{border-bottom:1px solid var(--line);margin:-24px -24px 0}.dimepay-panel>.payment-readiness{padding-inline:0}.dimepay-panel>.muted{font-size:12px;line-height:1.7}.platform-back{min-height:44px;margin-bottom:12px}[data-theme=dark] .nav-link.active,[data-theme=dark] .nav-link.active svg{color:var(--ink)}:root[data-theme=light] :is(.settings-tabs a,.integration-description p,.key-last-four,.integration-resources a,.integration-settings .footnote){color:var(--muted)}:root[data-theme=light] :is(.key-last-four code,.scope-chips span){color:#34545f}.credential-dialog>.modal-heading{z-index:3;background:var(--surface);position:sticky;top:0}.credential-dialog .api-playground button,.credential-dialog .api-playground input{scroll-margin-top:145px}@media (max-width:1100px){.platform-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.platform-overview-grid>:last-child{grid-column:1/-1}}@media (max-width:740px){.guide-nav{z-index:25;background:var(--canvas);border-bottom:1px solid var(--line);-webkit-overflow-scrolling:touch;gap:6px;width:calc(100% + 32px);max-height:none;margin:0 -16px;padding:8px 16px;display:flex;top:0;overflow:auto hidden;box-shadow:0 6px 14px #122b3510}.guide-nav a{white-space:nowrap;flex:none;min-height:44px}.guide-article[id]{scroll-margin-top:76px}.platform-top{flex-wrap:wrap;gap:10px 14px;padding:14px 16px;position:static}.platform-top .wordmark{flex:1}.platform-role{display:none}.platform-actions{border-top:1px solid var(--line);justify-content:flex-end;width:100%;margin-left:0;padding-top:10px}.platform-actions .platform-password-launcher{flex:1}.platform-actions .platform-password-launcher .button{width:100%}.platform-content,.main-content{padding-left:16px;padding-right:16px}.platform-content{padding-top:26px}.platform-heading{align-items:stretch}.platform-heading>.button,.page-heading>.button{width:100%}.platform-overview-grid{grid-template-columns:1fr;gap:14px;margin-bottom:28px}.platform-overview-grid>:last-child{grid-column:auto}.platform-health-card>.muted,.activity-list,.payment-readiness{padding-left:18px;padding-right:18px}.section-heading{align-items:flex-start}.section-heading h2{font-size:19px}.warehouse-actions{flex-direction:column;align-items:stretch}.warehouse-actions>:is(.button,.text-btn){justify-content:center;width:100%;min-height:44px}.customs-actions{align-items:stretch}.customs-actions>div:first-child{width:100%}.customs-actions>:is(.button,.text-btn,a){justify-content:center;min-height:44px}.customs-section{max-width:100%;overflow:hidden}.dimepay-panel .card-heading{margin:-18px -18px 0}.modal-backdrop{align-items:flex-end;padding:0}.modal{border-radius:16px 16px 0 0;width:100%;max-height:min(92dvh,820px)}.modal-heading,.modal .form-grid,.modal-body{padding-left:18px;padding-right:18px}.modal-footer{z-index:2;padding:14px 18px max(14px, env(safe-area-inset-bottom));position:sticky;bottom:0}.modal-footer .button{flex:1;min-width:0}.input-suffix{min-width:0}.input-suffix input{min-width:80px}.input-suffix>span{text-overflow:ellipsis;white-space:nowrap;max-width:47%;overflow:hidden}}@media (max-width:480px){.stats-grid{grid-template-columns:1fr}.stat{padding:17px}.stat>strong{font-size:26px}.platform-actions{justify-content:stretch}.platform-actions>.button{width:44px;min-width:44px;padding:0}.platform-actions>.button span{display:none}.platform-health-list{grid-template-columns:1fr}.section-heading{flex-wrap:wrap}.warehouse-details{grid-template-columns:1fr;gap:4px}.warehouse-details strong{margin-bottom:8px}.modal-footer{flex-direction:column-reverse}.modal-footer .button{width:100%}.settings-body,.guide-article,.customs-section{padding-left:16px;padding-right:16px}}.quick-start{margin-bottom:24px;padding:0}.quick-start summary{cursor:pointer;color:var(--ink);align-items:center;gap:12px;padding:20px 24px;font-weight:700;display:flex}.quick-start summary small{margin-left:10px;font-weight:400}.quick-start ol{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0;padding:0 28px 24px 48px;display:grid}.quick-start li{padding-left:4px}.quick-start li a{color:inherit;gap:8px;text-decoration:none;display:grid}.quick-start li a:hover strong{text-decoration:underline}.quick-start li span{font-size:14px;line-height:1.6}.quick-start li svg{color:var(--brand)}@media (max-width:760px){.quick-start ol{grid-template-columns:1fr}.quick-start summary small{margin:3px 0 0;display:block}}
.form-fieldset,.pricing-fields{border:0;min-width:0;margin:0}.pricing-fields{gap:24px;padding:24px;display:grid}.pricing-fields section{gap:14px;display:grid}.pricing-fields h3{font-size:17px}.pricing-fields p,.pricing-fields small{color:var(--muted);line-height:1.6}.pricing-fields summary{cursor:pointer;padding:10px 0;font-weight:600}.pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.pricing-amount{align-items:center;gap:8px;display:flex}.pricing-amount>span{color:var(--muted);font-size:12px}.pricing-amount input{width:100%;min-width:0}.pricing-tier{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 32px;align-items:end;gap:12px;margin:12px 0;display:grid}.pricing-confirm{align-items:flex-start;gap:10px;font-size:14px;line-height:1.6;display:flex}.pricing-confirm input{width:18px;height:18px;accent-color:var(--brand);flex-shrink:0;margin-top:5px}.pricing-summary{padding:20px}.pricing-summary dl{gap:10px;margin-top:16px;display:grid}.pricing-summary dl>div{justify-content:space-between;gap:20px;display:flex}.pricing-summary dd{margin:0;font-weight:600}.invoice-review{min-width:0;padding:24px}.invoice-review-heading{justify-content:space-between;gap:24px;margin-bottom:20px;display:flex}.invoice-review-heading p{white-space:pre-line;color:var(--muted);line-height:1.6}.invoice-service-head,.invoice-service{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,2fr) repeat(3,minmax(0,1fr));gap:12px;padding:16px 0;display:grid}.invoice-service-head{font-weight:700}.invoice-service small{color:var(--muted);margin-top:6px;line-height:1.5;display:block}.invoice-service>div{overflow-wrap:anywhere}.invoice-service .invoice-mobile-label{display:none}.invoice-review-totals{gap:14px;max-width:350px;margin:24px 0 0 auto;display:grid}.invoice-review-totals>div{justify-content:space-between;gap:24px;display:flex}.invoice-review-totals dd{margin:0;font-weight:700}.invoice-review-totals>div:last-child{border-top:1px solid var(--line);padding-top:14px;font-size:20px}.invoice-shipment,.invoice-review-notes{overflow-wrap:anywhere;margin:12px 0;line-height:1.6}.invoice-preview-notice{border:1px solid var(--line);color:var(--ink);background:var(--raised);border-radius:8px;margin:20px 24px 0;padding:14px}.company-pricing-dialog .modal-footer{flex-wrap:wrap}.company-pricing-dialog .modal-footer .text-btn{margin-right:auto}@media (max-width:600px){.pricing-grid{grid-template-columns:1fr}.pricing-fields,.invoice-review{padding:18px}.invoice-review-heading{flex-direction:column;gap:12px}.invoice-service-head{display:none}.invoice-service{grid-template-columns:repeat(3,minmax(0,1fr));font-size:13px}.invoice-service>div:first-child{grid-column:1/-1}.invoice-service .invoice-mobile-label{display:block}.pricing-tier{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.pricing-tier .icon-btn{grid-column:2;justify-self:end}.pricing-summary{padding:12px 0}.pricing-summary dl>div{flex-wrap:wrap;gap:4px}.invoice-review-totals{max-width:none}.company-pricing-dialog .modal-footer{gap:12px}}.company-pricing-dialog .modal-footer .text-btn{color:var(--ink);text-underline-offset:3px;text-decoration:underline}.billing-guide{min-width:0;margin:16px 0}.pricing-fields>.billing-guide{margin:0}.billing-guide-button{white-space:normal;width:fit-content;max-width:100%}.billing-book{transform-origin:50% 80%;animation:.7s ease-in-out .2s billing-book-wiggle}.billing-book-shake{animation:.55s ease-in-out billing-book-click}.billing-guide-book{border:1px solid var(--line);border-left:5px solid var(--brand);background:var(--raised);border-radius:14px;max-width:760px;margin-top:14px;padding:24px;animation:.2s ease-out billing-guide-open}.billing-guide-heading,.billing-guide-navigation{justify-content:space-between;align-items:center;gap:12px;display:flex}.billing-guide-heading{color:var(--muted);margin-bottom:14px;font-size:13px}.billing-guide-book h3{margin-bottom:12px}.billing-guide-book p{line-height:1.65}.billing-guide-tip{border:1px solid var(--line);border-radius:8px;margin-top:16px;padding:14px}.billing-guide-navigation{margin-top:20px}.billing-guide-navigation>span{color:var(--muted);font-size:13px}.service-rate-card{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:20px}.service-rate-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.service-add{align-items:flex-end;gap:12px;display:flex}.service-add>.field{flex:1;min-width:0}.service-example{border:1px solid var(--line);background:var(--raised);border-radius:12px;padding:20px}.service-example-totals{gap:12px;margin-top:10px;display:grid}.service-example-totals>div{justify-content:space-between;gap:16px;display:flex}.service-example-totals dd{margin:0;font-weight:600}.service-example-totals>div:last-child{border-top:1px solid var(--line);padding-top:14px;font-size:18px}.invoice-line-include{flex-wrap:wrap;grid-column:1/-1}.invoice-line-include small{color:var(--muted);flex-basis:100%}.invoice-line-excluded{background:var(--raised)}.invoice-line-excluded .invoice-line-total{color:var(--muted)}.invoice-discount-editor{padding-block:20px}.invoice-discount-editor p{color:var(--muted);margin-top:12px;line-height:1.6}.invoice-composer-body>.billing-guide{margin:0 0 20px}.invoice-discount{color:var(--ink)}@keyframes billing-book-wiggle{0%,to{transform:rotate(0)}20%,60%{transform:rotate(-12deg)}40%,80%{transform:rotate(12deg)}}@keyframes billing-book-click{0%,to{transform:rotate(0)}20%,60%{transform:rotate(-12deg)}40%,80%{transform:rotate(12deg)}}@keyframes billing-guide-open{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}@media (max-width:600px){.service-rate-card,.service-example,.billing-guide-book{padding:16px}.service-add{flex-direction:column;align-items:stretch}.billing-guide-navigation{gap:8px}.billing-guide-navigation .button{padding:10px 12px}.invoice-setup-identity p{overflow-wrap:anywhere}}@media (prefers-reduced-motion:reduce){.billing-book,.billing-book-shake,.billing-guide-book{animation:none}}
.gateway-settings{gap:24px;display:grid}.gateway-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:24px;display:grid}.gateway-title{align-items:center;gap:12px;min-width:0;display:flex}.gateway-title h2,.gateway-title h3{margin:0}.gateway-title svg{color:var(--brand);flex-shrink:0}.gateway-card .settings-body{gap:20px;display:grid}.gateway-card p{margin:0}.gateway-currencies{border:1px solid var(--line);border-radius:10px;gap:18px;padding:10px 14px;display:flex}.gateway-card .check-label,.gateway-pay-form .check-label{align-items:flex-start;gap:10px;line-height:1.6;display:flex}.gateway-card input[type=checkbox],.gateway-pay-form input[type=checkbox]{width:18px;height:18px;accent-color:var(--brand);flex-shrink:0;margin-top:3px}.gateway-card input:not([type=checkbox]),.gateway-card select{width:100%;min-width:0}.gateway-card .button{justify-self:start}.gateway-card .info-note{overflow-wrap:anywhere}.invoice-payment-panel{border:1px solid var(--line);background:var(--soft);border-radius:14px;gap:16px;margin:24px 32px;padding:24px;display:grid}.invoice-payment-panel>.detail-actions{padding:0}.gateway-attempts{gap:12px;display:grid}.gateway-attempt{border:1px solid var(--line);background:var(--white);border-radius:12px;gap:12px;padding:18px;display:grid}.gateway-attempt p{margin:8px 0}.gateway-attempt small{overflow-wrap:anywhere;color:var(--muted)}.gateway-attempt .detail-actions{padding:0}.gateway-pay-form,.gateway-bank{gap:20px;padding:24px;display:grid}.gateway-pay-form>p{margin:0}.gateway-pay-form fieldset{border:1px solid var(--line);border-radius:12px;min-width:0}.gateway-pay-form fieldset .form-grid{padding:16px}.gateway-bank>div{grid-template-columns:minmax(120px,1fr) 2fr;gap:16px;display:grid}.gateway-bank dt{color:var(--muted)}.gateway-bank dd{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.gateway-bank+p{padding:0 24px 24px}.invoice-payment-panel .error{overflow-wrap:anywhere;margin:0}.gateway-attempt .badge{margin-left:6px}@media (max-width:1100px){.gateway-grid{grid-template-columns:1fr}}.exchange-rate-card{scroll-margin-top:24px}.exchange-rate-card .field{max-width:540px}.exchange-rate-card .card-heading p{margin-top:8px}.exchange-rate-saved{font-weight:600}.jmd-equivalent{white-space:normal;overflow-wrap:anywhere;color:var(--ink);gap:4px;margin-top:6px;font-size:13px;line-height:1.5;display:grid}.jmd-equivalent small{color:var(--muted);max-width:38ch;font-size:11px}.invoice-equivalent{border:1px solid var(--line);background:var(--surface);border-radius:12px;min-width:0;padding:20px}.invoice-equivalent h3{margin:0 0 16px}.invoice-equivalent p{margin:16px 0 0;font-size:13px;line-height:1.6}.invoice-equivalent .form-grid{gap:18px;padding:0}.invoice-equivalent .form-grid>div{min-width:0}.invoice-equivalent .jmd-equivalent small{max-width:none}@media (max-width:640px){.invoice-equivalent{padding:16px}.invoice-equivalent .form-grid{grid-template-columns:1fr}}.gateway-settings .gateway-card{border:1px solid var(--line);background:var(--surface);min-width:0;box-shadow:var(--shadow);border-radius:18px;overflow:hidden}.gateway-settings .gateway-card .card-heading{border-color:var(--line);align-items:flex-start;gap:16px;padding:24px}.gateway-settings .gateway-card .settings-body{gap:22px;padding:24px}.gateway-card .gateway-title{flex:1;align-items:flex-start}.gateway-card .gateway-title h2{overflow-wrap:anywhere;font-size:20px;line-height:1.35}.gateway-card .badge{flex-shrink:0}.gateway-card .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.gateway-card .field,.gateway-currencies{min-width:0}.gateway-card .field>span,.gateway-card small{overflow-wrap:anywhere}.gateway-currencies{flex-wrap:wrap;align-self:start;margin:0}.gateway-card .settings-body>.button{white-space:normal;max-width:100%;margin-top:2px}@media (max-width:640px){.gateway-settings .gateway-card{border-radius:14px}.gateway-settings .gateway-card .card-heading,.gateway-settings .gateway-card .settings-body{padding:20px}.gateway-card .gateway-title h2{font-size:18px}.gateway-card .settings-body>.button{justify-content:center;width:100%}.invoice-payment-panel{margin:16px;padding:16px}.gateway-pay-form,.gateway-bank{padding:18px}.gateway-card .form-grid,.gateway-pay-form .form-grid{grid-template-columns:1fr}.gateway-bank>div{grid-template-columns:1fr;gap:4px}.gateway-attempt .detail-actions{flex-direction:column;align-items:stretch}}
.app-shell,.platform-page{--accent-blue:#2563a6;--accent-violet:#7452a5;--accent-amber:#956018}[data-theme=dark] :is(.app-shell,.platform-page){--accent-blue:#8ac5ff;--accent-violet:#c8adfa;--accent-amber:#f4cc87}.main-content>.page-heading{border-bottom:1px solid var(--line);margin-bottom:24px;padding-bottom:22px}.heading-actions .package-import-launcher{z-index:auto;position:static;inset:auto}.page-heading h1,.record-page-heading h1{letter-spacing:-.035em}.stat{border-top:3px solid var(--brand);background:linear-gradient(135deg, color-mix(in srgb, var(--brand) 6%, var(--surface)), var(--surface))}.stat:nth-child(2){border-top-color:var(--accent-blue)}.stat:nth-child(2) .stat-icon{color:var(--accent-blue);background:color-mix(in srgb, var(--accent-blue) 10%, var(--surface))}.stat:nth-child(3){border-top-color:var(--accent-violet)}.stat:nth-child(3) .stat-icon{color:var(--accent-violet);background:color-mix(in srgb, var(--accent-violet) 10%, var(--surface))}.stat.stat-amber{border-top-color:var(--accent-amber)}.nav-group:nth-child(2) .nav-label{color:var(--accent-blue)}.nav-group:nth-child(3) .nav-label{color:var(--accent-violet)}.nav-group:nth-child(4) .nav-label{color:var(--accent-amber)}.data-table thead{background:color-mix(in srgb, var(--brand) 5%, var(--surface))}.data-table tbody tr:hover{background:color-mix(in srgb, var(--brand) 4%, var(--surface))}.record-filters{border-bottom:1px solid var(--line);background:color-mix(in srgb, var(--brand) 3%, var(--surface));border-radius:12px 12px 0 0;margin:0;padding:20px 24px}.filter-title{color:var(--ink);flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:15px;font-size:13px;display:flex}.filter-title>span{color:var(--muted);font-size:12px}.filter-title .text-btn{align-items:center;gap:5px;margin-left:auto;display:inline-flex}.filter-fields{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));align-items:end;gap:14px;display:grid}.filter-fields>label{min-width:0;color:var(--ink);gap:7px;font-size:12px;font-weight:600;display:grid}.filter-fields .filter-search{grid-column:span 2}.filter-fields input,.filter-fields select{width:100%;min-width:0;min-height:42px}.filter-fields .search-box{background:var(--surface);width:100%;min-width:0;max-width:none}.filter-fields .search-box input{padding-left:0}.record-action-bar{z-index:12;border-bottom:1px solid var(--line);background:var(--surface);flex-wrap:wrap;align-items:center;gap:10px;margin:-4px 0 24px;padding:16px 0;display:flex;position:sticky;top:0}.record-action-bar .detail-actions{display:contents}.record-action-bar .archive-actions{border:0;margin:0;padding:0}.record-action-bar .archive-actions p{display:none}.form-actions-top{z-index:15;border-bottom:1px solid var(--line);background:var(--surface);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;margin-bottom:12px;padding:16px 28px;display:flex;position:sticky;top:-1px}.modal .form-actions-top .button{margin:0}.customer-combobox{min-width:0;position:relative}.customer-search-input{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:center;gap:8px;padding:0 10px;display:flex}.customer-search-input:focus-within{outline:2px solid var(--brand);outline-offset:2px}.customer-search-input>input{box-shadow:none;background:0 0;border:0;outline:none;width:100%;min-width:0;padding:12px 0}.customer-search-input svg{color:var(--muted);flex-shrink:0}.customer-search-input .customer-match-icon{color:var(--accent)}.customer-suggestions{z-index:20;background:var(--surface);border:1px solid var(--line);border-radius:10px;max-height:240px;padding:5px;position:absolute;top:calc(100% - 2px);left:0;right:0;overflow-y:auto;box-shadow:0 12px 28px #0002}.customer-suggestions button{text-align:left;width:100%;color:var(--ink);cursor:pointer;overflow-wrap:anywhere;background:0 0;border:0;border-radius:6px;gap:12px;padding:12px;display:flex}.customer-suggestions button:hover,.customer-suggestions button[aria-selected=true]{background:var(--raised)}.customer-suggestions p{color:var(--muted);margin:0;padding:12px;font-size:13px;line-height:1.6}.customer-combobox>small{margin-top:8px;display:block}.password-tools{gap:10px;display:grid}.password-tools>.button{justify-self:start}.password-input{align-items:center;gap:5px;display:flex}.password-input input{flex:1;min-width:0}.customs-view>.customs-actions:has(.subtle-chip){z-index:12;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:12px;padding:16px;position:sticky;top:0}.customs-view>.record-filters{border:1px solid var(--line);border-radius:12px}.settings-body>.form-actions-top{justify-content:flex-start;padding:0 0 16px;position:static}.billing-flow{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-bottom:22px;display:grid}.billing-flow a{border:1px solid var(--line);border-left:3px solid var(--brand);background:var(--surface);color:var(--ink);border-radius:12px;padding:16px;text-decoration:none}.billing-flow a:nth-child(2){border-left-color:var(--accent-blue)}.billing-flow a:nth-child(3){border-left-color:var(--accent-violet)}.billing-flow a:nth-child(4){border-left-color:var(--accent-amber)}.billing-flow a:hover strong{text-decoration:underline}.billing-flow strong,.billing-flow span{font-size:13px;display:block}.billing-flow span{color:var(--muted);margin-top:6px;font-size:12px;line-height:1.6}.staff-card .form-actions-top{background:0 0;padding:0 0 16px;position:static}.staff-card .form-actions-top .staff-submit{margin:0}@media (prefers-reduced-motion:no-preference){.button,.nav-link,.record-link{transition:background-color .15s,border-color .15s,box-shadow .15s}}@media (max-width:740px){.record-filters{padding:16px}.filter-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.filter-fields .filter-search{grid-column:1/-1}.filter-title>span{display:none}.record-action-bar{margin-top:0;padding-top:0;position:static}.form-actions-top{padding:12px 16px}.customs-view>.customs-actions:has(.subtle-chip){position:static}}@media (max-width:360px){.filter-fields{grid-template-columns:minmax(0,1fr)}}@media print{.record-action-bar,.form-actions-top,.record-filters{display:none!important}}
.password-control{width:100%;min-width:0;position:relative}.password-control input{width:100%;padding-right:54px}.password-toggle{width:44px;height:44px;color:var(--ink);background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;display:flex;position:absolute;top:50%;right:5px;transform:translateY(-50%)}.password-toggle:hover{background:var(--soft)}.password-toggle:focus-visible{outline:2px solid var(--brand);outline-offset:0}.login-portal-badge{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:999px;margin:0 0 16px;padding:6px 12px;font-size:13px;font-weight:700;display:inline-flex}.login-form-wrap>.login-portal-switch{border-top:1px solid var(--line);margin:22px 0 0;padding:18px 0 0;font-size:14px;line-height:1.7}.login-portal-switch a{width:fit-content;color:var(--brand);text-underline-offset:3px;font-weight:700;text-decoration:underline;display:block}[data-theme=dark] .login-portal-switch a,[data-theme=dark] .record-package-open{color:var(--accent)}:root[data-theme=light] :is(.record-count,.pagination,.cell-stack small){color:#506b78}:root[data-theme=light] :is(.login-pitch .eyebrow,.login-pitch>p,.login-features span,.login-art-footer,.login-form-wrap>p,.login-assurance){color:#4f6976}:root[data-theme=light] .login-pitch h1 em{color:#3f7184}.nav-link .nav-pending{opacity:0;flex-shrink:0;width:16px;height:16px;margin-left:auto}.nav-link .nav-pending.is-pending{animation:.1s .15s forwards pending-reveal}.nav-link .nav-pending svg{animation:1s linear infinite spin}.sidebar-collapsed .nav-link .nav-pending{position:absolute;top:2px;right:2px}.nav-link{position:relative}@keyframes pending-reveal{to{opacity:1}}.loading.content-skeleton{border:1px solid var(--line);background:var(--surface);width:100%;min-height:300px;color:var(--ink);border-radius:14px;padding:24px;display:block}.skeleton-label{margin-bottom:24px;font-size:14px;display:block}.skeleton-line,.skeleton-block{background:var(--line);border-radius:6px;animation:1.8s ease-in-out infinite skeleton-pulse}.skeleton-line{height:14px}.skeleton-title{width:38%;height:23px;margin-bottom:26px}.skeleton-row{border-top:1px solid var(--line);grid-template-columns:2fr 2fr 1fr;gap:24px;padding:20px 0;display:grid}.skeleton-row .skeleton-line:nth-child(2){width:75%}.skeleton-row .skeleton-line:last-child{width:65%}.skeleton-detail .skeleton-row{grid-template-columns:1fr 2fr 1fr}.skeleton-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:28px;display:grid}.skeleton-block{height:100px}.workspace-skeleton{grid-template-columns:260px minmax(0,1fr);min-height:100dvh;display:grid}.workspace-skeleton main{padding:100px 36px 36px}.skeleton-sidebar{background:var(--soft);border-right:1px solid var(--line);padding:32px 24px}.skeleton-sidebar .skeleton-line{margin-bottom:34px}.skeleton-sidebar .skeleton-title{width:85%;margin-bottom:64px}@keyframes skeleton-pulse{50%{opacity:.4}}.table-frame{min-width:0;max-width:100%}.table-scroll-hint{color:var(--muted);background:var(--soft);border-bottom:1px solid var(--line);align-items:center;gap:8px;margin:0;padding:10px 20px;font-size:12px;display:flex}.data-table .table-actions-cell{z-index:1;background:var(--surface);box-shadow:-1px 0 var(--line);text-align:center;min-width:78px;padding:10px 14px;position:sticky;right:0}.data-table th.table-actions-cell,.data-table tr:focus-within>td{background:var(--soft)}.data-table .cell-stack{white-space:normal;overflow-wrap:anywhere;max-width:260px}.record-actions-trigger{width:44px;height:44px;color:var(--ink)}.table-scroll:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}@media (max-width:740px){.workspace-skeleton{display:block}.skeleton-sidebar{display:none}.workspace-skeleton main{padding:76px 18px 24px}.loading.content-skeleton{padding:20px 16px}.skeleton-row,.skeleton-cards{gap:12px}.skeleton-block{height:72px}.table-scroll-hint{padding:10px 14px}}@media (prefers-reduced-motion:reduce){.skeleton-line,.skeleton-block,.nav-link .nav-pending,.nav-link .nav-pending svg{animation:none}.nav-link .nav-pending.is-pending{opacity:1}}
.shipment-billing-cell{gap:1rem;min-width:10rem;display:grid}.shipment-billing-cell .badge{width:fit-content}.shipment-billing-cell small,.shipment-shared-note{color:var(--muted);line-height:1.5}.shipment-invoice-amount{font-variant-numeric:tabular-nums}.shipment-billing-panel{min-width:0;margin-block:1.5rem;padding-inline:clamp(16px,2.5vw,28px)}.shipment-invoice-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:1rem;display:grid}.shipment-invoice-card{border:1px solid var(--line);background:var(--surface);border-radius:16px;min-width:0;padding:clamp(16px,2.5vw,28px)}.shipment-invoice-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.shipment-invoice-heading a{overflow-wrap:anywhere}.shipment-invoice-card .shipment-invoice-amount>strong{font-size:1.6rem}.shipment-due-label{color:var(--muted);margin-bottom:8px;display:block}.shipment-invoice-facts{gap:10px;margin-block:20px;display:grid}.shipment-invoice-facts div{flex-wrap:wrap;justify-content:space-between;gap:8px;display:flex}.shipment-invoice-facts dt{color:var(--muted)}.shipment-invoice-facts dd{font-variant-numeric:tabular-nums;margin:0;font-weight:600}.shipment-invoice-card .button{white-space:normal;text-align:center;max-width:100%}
.invoice-composer-body{gap:20px;min-width:0;padding:24px;display:grid}.invoice-composer-body .error{margin:0}.invoice-shipment-picker{gap:12px;display:grid}.invoice-shipment-choice{border:1px solid var(--line);cursor:pointer;border-radius:9px;align-items:center;gap:14px;padding:15px;display:flex}.invoice-shipment-choice input{flex-shrink:0;width:20px;height:20px}.invoice-shipment-choice span,.invoice-shipment-choice small{display:block}.invoice-shipment-choice:has(input:checked){background:var(--soft);border-color:var(--brand)}.invoice-company-editor{border:1px solid var(--line);border-radius:12px;gap:18px;min-width:0;margin:20px 0;padding:22px;display:grid}.invoice-company-heading{justify-content:space-between;gap:15px;display:flex}.invoice-company-heading h3{font-size:20px}.invoice-company-heading p{margin-top:5px}.invoice-line-editor{border-bottom:1px solid var(--line);grid-template-columns:minmax(130px,2fr) minmax(70px,.8fr) minmax(70px,.8fr) minmax(100px,1fr) minmax(80px,1fr) 30px;align-items:end;gap:12px;padding-bottom:16px;display:grid}.invoice-line-editor .field{min-width:0}.invoice-line-editor input{width:100%;min-width:0}.invoice-line-total{overflow-wrap:anywhere;padding-bottom:10px}.invoice-line-total small{display:block}.invoice-composer-footer{background:var(--surface);border-top:1px solid var(--line);flex-wrap:wrap;position:sticky;bottom:0}.invoice-composer-body .invoice-review{padding:22px 0}.invoice-composer-body details summary{cursor:pointer;font-weight:600}.invoice-package-list{gap:10px;max-height:260px;padding-top:15px;display:grid;overflow:auto}.invoice-package-list>div{border-bottom:1px solid var(--line);overflow-wrap:anywhere;gap:3px;padding-bottom:8px;display:grid}.invoice-package-list span{color:var(--muted);font-size:12px}.invoice-created{gap:18px;display:grid}.invoice-created h3{align-items:center;gap:10px;font-size:22px;display:flex}.invoice-created-link{border:1px solid var(--line);border-radius:10px;align-items:center;gap:12px;padding:16px;display:flex}.invoice-created-link>span{flex:1;gap:4px;display:grid}.billing-shortcuts{flex-wrap:wrap;gap:10px;margin:0 0 18px;display:flex}.invoice-skipped{background:var(--soft);border-radius:8px;padding:15px}.invoice-skipped p{margin-top:8px}@media (max-width:900px){.invoice-line-editor{grid-template-columns:repeat(3,minmax(0,1fr))}.invoice-line-editor>.field:first-child{grid-column:1/-1}.invoice-line-total{grid-column:1/3}.invoice-line-editor>.icon-btn{justify-self:end}}@media (max-width:600px){.invoice-composer-body{padding:16px}.invoice-company-editor{padding:14px}.invoice-line-editor{gap:10px}.invoice-company-heading h3{font-size:17px}.invoice-composer-footer .button{white-space:normal;flex:1}.invoice-created-link{flex-wrap:wrap}.invoice-created-link>strong{width:100%;margin-left:32px}.billing-shortcuts .button{flex:1}.invoice-shipment-choice{padding:12px}}.invoice-company-heading>div{min-width:0}.invoice-company-heading h3,.invoice-shipment-choice strong{overflow-wrap:anywhere}.invoice-shipment-choice>span{min-width:0}.invoice-line-editor .field>span{overflow-wrap:anywhere}
.app-shell[data-portal=company]{--brand:#2459a6}.app-shell[data-portal=company] .sidebar{color:#e6edf8;background:#142b4a;border-color:#264264}.app-shell[data-portal=company] .sidebar .wordmark,.app-shell[data-portal=company] .sidebar .nav-link,.app-shell[data-portal=company] .sidebar .profile-button,.app-shell[data-portal=company] .sidebar .help-link{color:#e6edf8}.app-shell[data-portal=company] .sidebar small,.app-shell[data-portal=company] .sidebar .nav-label{color:#b6c7df}.app-shell[data-portal=company] .sidebar .nav-link.active{color:#fff;background:#254d7c}.app-shell[data-portal=company] .topbar{border-bottom:3px solid #2459a6}.app-shell .portal-label{border:1px solid var(--brand);color:var(--brand);white-space:nowrap;border-radius:30px;padding:5px 10px;font-size:12px;font-weight:700}.app-shell[data-portal=warehouse] .portal-label:before{content:"STAFF · "}.app-shell[data-portal=company] .portal-label:before{content:"YOUR "}.detail-action-menu{z-index:2;width:fit-content;max-width:calc(100% - 56px);margin:16px 28px;position:relative}.detail-action-menu>summary{border:1px solid var(--line);min-height:44px;color:var(--ink);background:var(--surface);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:10px 16px;font-weight:700;list-style:none;display:flex}.detail-action-menu>summary::-webkit-details-marker{display:none}.detail-action-menu>summary:focus-visible{outline:2px solid var(--brand);outline-offset:3px}.detail-action-options{background:var(--surface);border:1px solid var(--line);border-radius:12px;gap:6px;width:max-content;min-width:240px;max-width:min(380px,100vw - 64px);max-height:min(420px,65dvh);padding:10px;display:grid;position:absolute;top:calc(100% + 6px);left:0;overflow:auto;box-shadow:0 12px 32px #102a4326}.detail-action-options>button,.detail-action-options>a{white-space:normal;text-align:left;justify-content:flex-start;min-height:44px;margin:0}.detail-action-options:empty{display:none}.pricing-shortcuts{background:var(--soft);border:1px solid var(--line);border-radius:12px;padding:18px}.pricing-shortcuts small{color:var(--muted);margin-top:12px;line-height:1.6;display:block}.pricing-shortcuts .pricing-grid{align-items:end}.charge-picker{border:1px solid var(--line);background:var(--soft);border-radius:12px;padding:18px}.charge-picker-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-height:320px;margin-top:14px;display:grid;overflow:auto}.charge-picker-options>button{text-align:left;white-space:normal;justify-content:flex-start;min-height:44px}.charge-advanced{margin-top:12px}.charge-advanced summary,.record-secondary>summary{cursor:pointer;color:var(--brand);min-height:44px;padding:12px 0;font-weight:600}.charge-advanced[open] .pricing-grid{margin-top:12px}.record-secondary{border-top:1px solid var(--line);min-width:0;padding:12px 28px}.communication-history{min-width:0;padding:20px}.communication-history h2{align-items:center;gap:8px;display:flex}.communication-history .record-related-heading p{max-width:720px;line-height:1.6}.record-related .record-related-heading{flex-wrap:wrap;align-items:end;gap:16px}.record-related .record-related-heading .field{min-width:min(260px,100%)}.record-related .tabs{overflow-x:auto}.record-related .tabs button{color:var(--muted);font:inherit;white-space:nowrap;background:0 0;border:0;border-bottom:3px solid #0000;min-height:44px;padding:14px 16px;font-weight:700}.record-related .tabs button.active{color:var(--brand);border-bottom-color:var(--brand)}.shipment-next-step{background:var(--soft);border-radius:10px;margin:18px 0;padding:12px 16px;line-height:1.6}.shipment-document-summary{border-top:1px solid var(--line);padding-top:18px}.modal-backdrop{padding:24px}.modal{flex-direction:column;min-width:0;max-height:calc(100dvh - 48px);display:flex;overflow:hidden}.modal>.modal-heading{flex:none;min-width:0;padding:22px 24px}.modal-heading>div{min-width:0}.modal-heading h2,.modal-heading p{overflow-wrap:anywhere}.modal-heading>button{flex-shrink:0;min-width:44px;min-height:44px}.modal-content>form{overscroll-behavior:contain;flex-direction:column;flex:auto;min-width:0;min-height:0;display:flex;overflow:auto}.modal-content>form>fieldset{flex:none;min-width:0}.modal-content>form>.form-fieldset{padding:24px}.modal-content>form>.error{margin:16px 24px}.modal-content>form>.modal-footer,.modal-content>form>.form-actions-top{z-index:5;border-top:1px solid var(--line);background:var(--surface);flex-wrap:wrap;flex:none;order:2;justify-content:flex-end;gap:10px;margin:0;padding:16px 24px;display:flex;position:sticky;top:auto;bottom:0}.modal-content>form>.form-actions-top{margin-top:auto}.modal .field input:not([type=checkbox]):not([type=radio]),.modal .field select,.modal .field textarea{min-width:0;max-width:100%;font-size:16px}.modal-footer button,.form-actions-top button{white-space:normal;min-height:44px}.modal-content>section,.modal-content>.record-details-layout,.modal-content>.detail-meta{min-height:0;overflow-y:auto}@media (max-width:740px){.modal-backdrop{align-items:center;padding:12px}.modal{border-radius:16px;width:100%;max-width:100%;max-height:calc(100dvh - 24px)}.modal>.modal-heading,.modal-content>form>.form-fieldset{padding:18px}.modal-content>form>.modal-footer,.modal-content>form>.form-actions-top{padding:12px 18px max(12px, env(safe-area-inset-bottom))}.modal-content>form>.modal-footer>button,.modal-content>form>.form-actions-top>button{flex:auto;justify-content:center}.charge-picker-options{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-action-menu{max-width:calc(100% - 36px);margin:16px 18px}.record-secondary{padding-inline:18px}.communication-history{padding:16px 0}.page-heading .heading-actions{flex-wrap:wrap;gap:10px}.topbar .breadcrumb{flex-wrap:wrap;gap:6px;min-width:0}.portal-label{max-width:100%}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important}}.heading-actions>.detail-action-menu{max-width:100%;margin:0}.heading-actions .detail-action-options{left:auto;right:0}.record-action-bar>.detail-action-menu{margin:0}.status-guide{border:1px solid var(--line);background:var(--surface);border-radius:12px;margin-bottom:20px;padding:4px 18px}.status-guide summary{cursor:pointer;color:var(--brand);padding:12px 0;font-weight:700}.status-guide dl{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin:8px 0 18px;display:grid}.status-guide dt{margin-bottom:6px;font-weight:700}.status-guide dd{color:var(--muted);margin:0;line-height:1.6}.login-page[data-portal=company] .login-art{background:linear-gradient(145deg,#142b4a,#2459a6)}.login-page[data-portal=company] .login-portal-badge{color:#2459a6;background:#edf3fc;border-color:#2459a6}.record-detail-card{overflow:visible}.record-detail-card .record-action-bar{border-radius:14px 14px 0 0;margin:0;padding:16px 28px}@media (max-width:600px){.record-detail-card .record-action-bar{padding-inline:18px}}[data-theme=dark] .login-page[data-portal=company] .login-portal-badge{color:#c5dcff;background:#142b4a;border-color:#6695d6}[data-theme=dark] .app-shell[data-portal=company] .topbar .portal-label{color:#b5d1ff;border-color:#729fdc}[data-theme=dark] .record-secondary>summary,[data-theme=dark] .charge-advanced summary,[data-theme=dark] .status-guide summary,[data-theme=dark] .record-related .tabs button.active{color:#b6dbed}.modal>.modal-content{overscroll-behavior:contain;flex-direction:column;flex:auto;min-width:0;min-height:0;display:flex;overflow:auto}.modal-content>.modal-footer,.modal-content>.form-actions-top{z-index:5;background:var(--surface);border-top:1px solid var(--line);flex-shrink:0;margin:0;padding:16px 24px;position:sticky;top:auto;bottom:0}.modal-content>.invoice-composer-body,.modal-content>.secret-body,.modal-content>.secret-key-test{flex-shrink:0}.shipment-assignment-modal>.modal-content{overflow:hidden}.app-shell[data-portal=company] .sidebar .profile-button strong,.app-shell[data-portal=company] .sidebar .help-link strong{color:#e6edf8}.app-shell[data-portal=company] .sidebar .sidebar-toggle,.app-shell[data-portal=company] .sidebar .help-link svg,.app-shell[data-portal=company] .sidebar .profile-button>svg{color:#bed1ee}.app-shell[data-portal=company] .sidebar .nav-link.active svg{color:#fff}
