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}
.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}}.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}}
