:root{color:#111827;background:#f5f7fb;font-family:Microsoft YaHei,PingFang SC,Arial,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.68}.loading{min-height:100vh;display:grid;place-items:center;color:#4b5563;font-size:18px;font-weight:600}.auth-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:#f3f6fb;box-sizing:border-box}.auth-panel{width:min(100%,380px);display:grid;gap:18px;padding:28px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 16px 40px #0f172a14;box-sizing:border-box}.auth-panel h1{margin:0;color:#111827;font-size:24px;line-height:1.25}.auth-brand{display:flex;align-items:center;gap:12px;padding-bottom:6px}.auth-brand-icon{width:40px;height:40px;display:grid;flex:0 0 auto;place-items:center;color:#1677ff;border:3px solid #1677ff;border-radius:9px;font-size:20px;font-weight:900;box-sizing:border-box}.auth-brand-text{display:grid;gap:3px;min-width:0}.auth-brand-text strong{color:#111827;font-size:16px;line-height:1.25}.auth-brand-text span{color:#64748b;font-size:12px;line-height:1.45}.auth-error-panel p{margin:0;overflow-wrap:anywhere;color:#4b5563;font-size:14px;line-height:1.6}.form-field{display:grid;gap:8px;color:#374151;font-size:14px;font-weight:600}.form-field input{width:100%;min-width:0;height:42px;padding:0 12px;color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:6px;box-sizing:border-box;outline:none}.form-field input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb24}.form-error{padding:10px 12px;overflow-wrap:anywhere;color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;font-size:14px;line-height:1.5}.primary-button,.secondary-button{min-width:0;border-radius:6px;border:0;transition:background-color .16s ease,color .16s ease,border-color .16s ease}.primary-button{height:42px;padding:0 16px;color:#fff;background:#2563eb;font-weight:700}.primary-button:hover:not(:disabled){background:#1d4ed8}.danger-button{height:42px;padding:0 16px;color:#fff;background:#dc2626;font-weight:700}.danger-button:hover:not(:disabled){background:#b91c1c}.secondary-button{height:36px;padding:0 14px;color:#374151;background:#fff;border:1px solid #d1d5db;font-weight:600;text-decoration:none;white-space:nowrap}.secondary-button:hover{background:#f9fafb;border-color:#9ca3af}.placeholder-panel{min-height:220px;display:grid;place-items:center;padding:24px;color:#4b5563;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-sizing:border-box}.placeholder-panel p{margin:0;overflow-wrap:anywhere;font-size:18px;font-weight:700}.settings-page{padding:18px 22px 24px}.settings-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);gap:16px;align-items:start}.settings-panel{display:grid;gap:16px;min-width:0;padding:18px;background:#fff;border:1px solid #e1e7f0;border-radius:8px;box-shadow:0 8px 20px #0f172a0a;box-sizing:border-box}.settings-panel-wide{grid-column:1 / -1}.settings-panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.settings-panel-header h2{margin:0 0 5px;color:#111827;font-size:18px;line-height:1.2}.settings-panel-header span{color:#64748b;font-size:13px}.settings-header-actions{display:flex;gap:10px;align-items:center}.compact-button{display:inline-flex;align-items:center;gap:7px;height:36px}.danger-icon-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;color:#b91c1c;background:#fff7f7;border:1px solid #fecaca;border-radius:7px;cursor:pointer;transition:background .16s ease,border-color .16s ease,color .16s ease}.danger-icon-button:hover{color:#991b1b;background:#fee2e2;border-color:#fca5a5}.settings-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.compact-form{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-field{display:grid;gap:7px;min-width:0;color:#334155;font-size:13px;font-weight:700}.settings-field-wide{grid-column:span 2}.settings-field input,.settings-field select{width:100%;min-width:0;height:38px;padding:0 10px;color:#111827;background:#fff;border:1px solid #d7dfeb;border-radius:6px;box-sizing:border-box;outline:none}.settings-field input[readonly]{color:#334155;background:#f8fafc}.settings-field-hint{color:#94a3b8;font-size:12px;font-weight:400;line-height:1.45}.settings-field input:focus,.settings-field select:focus{border-color:#1677ff;box-shadow:0 0 0 3px #1677ff1f}.settings-readonly-value{display:flex;align-items:center;flex:1 1 auto;min-width:0;height:38px;padding:0 10px;color:#111827;background:#f8fafc;border:1px solid #d7dfeb;border-radius:6px;box-sizing:border-box;font-size:13px;font-weight:500}.settings-inline-control{display:flex;align-items:center;gap:8px;min-width:0}.settings-inline-control .secondary-button{flex:0 0 auto}.settings-seller-id-input{flex:1 1 auto}.settings-check{display:flex;align-items:center;gap:8px;min-width:0;color:#334155;font-size:13px;font-weight:600}.settings-check input{width:15px;height:15px;flex:0 0 auto}.ads-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.ads-status-grid>div{display:grid;gap:4px;min-width:0;padding:10px;background:#f8fbff;border:1px solid #dfe8f4;border-radius:7px}.ads-status-grid strong{color:#0f172a;font-size:13px}.ads-status-grid span{color:#64748b;overflow-wrap:anywhere;font-size:12px}.settings-help-link{display:inline-flex;align-items:center;gap:6px;width:max-content;color:#0f6bff;font-size:13px;font-weight:700;text-decoration:none}.permission-grid{grid-column:1 / -1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}.settings-alert{margin-bottom:14px;padding:10px 12px;color:#047857;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:6px;font-size:14px;font-weight:700}.settings-alert.is-error{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.settings-table{width:100%;border-collapse:collapse;color:#111827;font-size:13px}.settings-table th,.settings-table td{padding:10px;border-bottom:1px solid #e8edf5;text-align:left;vertical-align:middle}.settings-table th{color:#475569;background:#f8fafc;font-weight:800}.sync-overview{display:grid;gap:12px;padding:14px;background:#f8fbff;border:1px solid #dfe8f4;border-radius:8px}.sync-overview>div{display:grid;gap:4px}.sync-overview strong{color:#0f172a;font-size:14px}.sync-overview span{color:#64748b;font-size:13px;line-height:1.45}.sync-warning{display:flex;align-items:center;gap:6px;margin:0;color:#b45309;font-size:13px;font-weight:700}.sync-details{display:grid;gap:12px;margin-top:12px;overflow-x:auto}.settings-muted-text{display:block;margin-top:3px;color:#64748b;font-size:12px;font-weight:500}.settings-log-list{display:grid;gap:8px}.settings-log-row{display:grid;grid-template-columns:18px 110px 76px minmax(0,1fr);align-items:center;gap:8px;padding:9px 10px;color:#334155;background:#fff;border:1px solid #e8edf5;border-radius:6px;font-size:13px}.settings-log-row strong{color:#0f6bff}.settings-log-row p{margin:0;overflow-wrap:anywhere}.system-api-page{padding:18px 22px 24px}.system-api-layout,.fba-shipment-page{display:grid;gap:16px}.shipment-replenishment-panel{display:grid;gap:14px}.shipment-replenishment-header-actions{display:inline-flex;align-items:center;gap:12px;flex:0 0 auto}.shipment-replenishment-toolbar{display:flex;align-items:end;flex-wrap:wrap;justify-content:flex-start;gap:12px;min-width:0}.shipment-date-field{width:180px;flex:0 0 auto}.shipment-search-input{width:220px;height:36px;flex:0 1 220px;min-width:0;padding:0 10px;color:#111827;background:#fff;border:1px solid #d9e1ec;border-radius:6px;box-sizing:border-box;outline:0}.shipment-search-input:focus{border-color:#1677ff;box-shadow:0 0 0 2px #1677ff1f}.shipment-search-input::placeholder{color:#8da0b8}.shipment-fix-details-button{display:block;margin-top:4px;padding:0;color:#1677ff;background:transparent;border:0;cursor:pointer;font-size:12px;line-height:1.4}.shipment-fix-details-button:hover,.shipment-fix-details-button:focus-visible{color:#005be8;text-decoration:underline}.shipment-replenishment-filters{display:inline-flex;flex:1 1 340px;align-items:center;gap:4px;max-width:max-content;min-width:0;padding:4px;background:#f8fafc;border:1px solid #dfe7f1;border-radius:8px}.shipment-replenishment-filters button{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:0 8px;color:#475569;background:transparent;border:0;border-radius:6px;font-size:12px;font-weight:900;white-space:nowrap;cursor:pointer}.shipment-replenishment-filters button.is-active{color:#0f172a;background:#fff;box-shadow:0 1px 3px #0f172a1f}.shipment-replenishment-filters span{min-width:18px;padding:1px 5px;color:#64748b;background:#e2e8f0;border-radius:999px;font-size:11px;line-height:1.4;text-align:center}.shipment-export-actions{display:flex;flex:1 1 360px;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-left:auto;min-width:0}.shipment-export-actions .compact-button{min-height:34px;white-space:nowrap}.shipment-replenishment-table-wrap{overflow-x:auto;border:1px solid #e1e7f0;border-radius:8px;background:#fff}.shipment-replenishment-table{width:100%;min-width:1260px;border-collapse:collapse;table-layout:fixed}.shipment-replenishment-table th,.shipment-replenishment-table td{padding:10px 11px;border-bottom:1px solid #e7edf5;color:#334155;font-size:13px;text-align:left;vertical-align:middle}.shipment-replenishment-table th{color:#64748b;background:#f8fafc;font-size:12px;font-weight:900}.shipment-replenishment-table tr:last-child td{border-bottom:0}.shipment-replenishment-table td:first-child strong{display:block;color:#0f172a;font-size:13px;line-height:1.25}.shipment-replenishment-table td:first-child span{display:block;margin-top:3px;color:#94a3b8;font-size:11px;font-weight:800}.shipment-replenishment-table input{width:82px;min-height:34px;padding:6px 8px;color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:6px;box-sizing:border-box;font:inherit;font-weight:800}.shipment-replenishment-table input:focus{border-color:#2563eb;outline:none;box-shadow:0 0 0 3px #2563eb1f}.shipment-replenishment-table input:disabled{color:#94a3b8;background:#f8fafc;cursor:not-allowed}.shipment-plan-risk{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:0 8px;border-radius:999px;font-size:12px;font-weight:900;white-space:nowrap}.shipment-plan-risk.is-urgent{color:#991b1b;background:#fee2e2}.shipment-plan-risk.is-ship{color:#9a3412;background:#ffedd5}.shipment-plan-risk.is-watch{color:#854d0e;background:#fef3c7}.shipment-plan-risk.is-safe{color:#166534;background:#dcfce7}.shipment-plan-risk.is-missing{color:#475569;background:#e2e8f0}.shipment-plan-locked{display:inline-flex;align-items:center;justify-content:center;min-height:24px;margin-left:6px;padding:0 8px;border-radius:999px;background:#eef2ff;color:#4f46e5;font-size:12px;font-weight:900;white-space:nowrap}.shipment-plan-locked:before{content:"";width:6px;height:6px;margin-right:5px;border-radius:50%;background:#4f46e5}.pending-shipments-panel{gap:14px}.pending-shipments-list,.pending-shipment-group{display:grid;gap:10px}.pending-shipment-group-title{color:#475569;font-size:13px}.pending-shipment-row{min-width:0;overflow:hidden;background:#fff;border:1px solid #e1e7f0;border-radius:8px}.pending-shipment-main{display:grid;grid-template-columns:24px minmax(180px,1.25fr) auto minmax(250px,1fr) auto;align-items:center;gap:10px;min-width:0;padding:11px 12px}.pending-shipment-id{display:grid;gap:3px;min-width:0}.pending-shipment-id strong{min-width:0;overflow-wrap:anywhere;color:#0f172a;font-size:14px;line-height:1.25}.pending-shipment-id span,.pending-shipment-metrics span{color:#64748b;font-size:12px;font-weight:700;line-height:1.3}.pending-shipment-metrics{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;min-width:0}.pending-shipment-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px;min-width:0}.pending-shipment-actions .compact-button{min-height:32px;height:32px;padding-inline:10px}.pending-shipment-detail{overflow-x:auto;border-top:1px solid #e7edf5;background:#fbfdff}.pending-shipment-detail table{width:100%;min-width:980px;border-collapse:collapse}.pending-shipment-detail th,.pending-shipment-detail td{padding:9px 11px;border-bottom:1px solid #e7edf5;color:#334155;font-size:12px;text-align:left;vertical-align:middle}.pending-shipment-detail th{color:#64748b;background:#f8fafc;font-weight:900}.pending-shipment-detail tr:last-child td{border-bottom:0}.pending-shipment-detail td:first-child strong,.pending-shipment-detail td:first-child span,.pending-shipment-detail td:last-child span{display:block}.pending-shipment-detail td:first-child strong{color:#0f172a;font-size:13px;line-height:1.3}.pending-shipment-detail td:first-child span{margin-top:3px;color:#94a3b8;font-size:11px;font-weight:800}.pending-customs-ready{margin-top:3px;color:#047857;font-weight:800}.pending-customs-missing{margin-top:3px;color:#c2410c;font-weight:800;overflow-wrap:anywhere}.icon-button{width:34px;height:34px;display:inline-grid;place-items:center;flex:0 0 auto;color:#64748b;background:#fff;border:1px solid #d7dfeb;border-radius:8px;cursor:pointer}.icon-button:hover{color:#0f172a;border-color:#b8c5d8}.shipment-empty{min-height:150px;display:grid;place-items:center;color:#64748b;background:#f8fbff;border:1px solid #e2eaf5;border-radius:8px;font-size:14px;font-weight:700}.shipment-progress{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;height:6px}.shipment-progress span{min-width:0;background:#e2e8f0;border-radius:999px}.shipment-progress span.is-complete{background:#1677ff}.api-key-once{display:grid;grid-template-columns:160px minmax(0,1fr);gap:12px;align-items:center;margin-bottom:14px;padding:12px 14px;color:#075985;background:#e0f2fe;border:1px solid #7dd3fc;border-radius:8px;font-size:14px}.api-key-once code{min-width:0;padding:8px 10px;overflow-wrap:anywhere;color:#0f172a;background:#fff;border:1px solid #bae6fd;border-radius:6px}.api-key-form{display:grid;grid-template-columns:minmax(260px,.36fr) minmax(0,1fr) auto;gap:14px;align-items:end}.api-docs-panel{gap:14px}.api-docs-toolbar,.api-doc-heading,.api-doc-code-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 16px;min-width:0}.api-docs-toolbar>.settings-field{flex:1 1 260px;max-width:520px}.api-doc-heading>.api-doc-title{flex:1 1 420px;min-width:0}.api-doc-key-field{max-width:420px}.api-doc-card .api-doc-key-missing{color:#b45309}.copy-control{display:inline-flex;flex-direction:column;align-items:flex-start;gap:4px;max-width:100%}.copy-control button{display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}.copy-control button:disabled{cursor:not-allowed;opacity:.55}.copy-error{color:#b91c1c;font-size:12px;line-height:1.5}.api-doc-list{display:grid;gap:12px}.api-doc-card{display:grid;gap:9px;min-width:0;padding:14px;background:#fbfdff;border:1px solid #dfe8f4;border-radius:8px}.api-doc-title{display:grid;grid-template-columns:70px minmax(0,1fr) auto;gap:10px;align-items:center}.api-doc-title span{display:inline-grid;place-items:center;height:26px;color:#fff;background:#0f6bff;border-radius:5px;font-size:12px;font-weight:900}.api-doc-title strong{min-width:0;color:#0f172a;font-size:15px;overflow-wrap:anywhere}.api-doc-title em{color:#475569;font-size:12px;font-style:normal}.api-doc-card p{margin:0;color:#334155;font-size:13px;line-height:1.6}.api-doc-card h3{margin:3px 0 0;color:#475569;font-size:12px}.api-doc-card pre{margin:0;max-height:240px;min-width:0;overflow:auto;padding:11px 12px;color:#dbeafe;background:#0f172a;border-radius:6px;font-size:12px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.app-shell{min-height:100vh;display:grid;grid-template-columns:240px minmax(0,1fr);background:#f5f7fb}.app-sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:24px;padding:20px 14px;background:#fff;border-right:1px solid #e7ebf2;box-sizing:border-box}.app-brand{display:flex;align-items:center;gap:12px;min-width:0;color:#111827;font-size:17px;font-weight:800;line-height:1.25;white-space:nowrap}.app-brand span{min-width:0;overflow-wrap:anywhere}.app-brand-icon{width:34px;height:34px;display:grid;flex:0 0 auto;place-items:center;color:#1677ff;border:3px solid #1677ff;border-radius:8px;font-size:17px;font-weight:900;box-sizing:border-box}.app-nav{display:grid;gap:10px}.app-nav-item{width:100%;height:50px;display:flex;align-items:center;gap:14px;padding:0 16px;color:#334155;background:transparent;border:0;border-radius:6px;font-size:16px;font-weight:700;text-align:left}.app-nav-item.is-active{color:#fff;background:linear-gradient(135deg,#1683ff,#005be8);box-shadow:0 10px 22px #1677ff3d}.app-main{min-width:0}.app-topbar{height:68px;display:flex;align-items:center;justify-content:flex-end;padding:0 28px;background:#fff;border-bottom:1px solid #e7ebf2;box-sizing:border-box}.dashboard-page-header{display:none;align-items:center;min-width:0;gap:9px;color:#111827;font-size:17px;font-weight:800;line-height:1.2;white-space:nowrap}.dashboard-page-header span{min-width:0;overflow:hidden;text-overflow:ellipsis}.mobile-page-select{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:none;min-width:112px;height:32px;padding:0 28px 0 10px;color:#111827;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 5px center / 12px 12px no-repeat,#fff;border:1px solid #d7dfeb;border-radius:7px;font-size:13px;font-weight:800;outline:none}.mobile-page-select:focus{border-color:#1677ff;box-shadow:0 0 0 3px #1677ff1f}.topbar-actions{display:flex;align-items:center;gap:14px;color:#111827}.topbar-icon-button,.user-button{min-width:0;display:inline-flex;align-items:center;justify-content:center;gap:8px;color:#111827;background:transparent;border:0;border-radius:6px}.topbar-icon-button{position:relative;width:34px;height:34px;color:#0f172a}.topbar-icon-button:first-child{color:#1677ff}.topbar-icon-button.is-syncing svg{animation:topbar-spin .9s linear infinite}.spin-icon{animation:topbar-spin .9s linear infinite}@keyframes topbar-spin{to{transform:rotate(360deg)}}.updated-at{color:#1f2937;font-size:15px;white-space:nowrap}.topbar-sync-status{max-width:210px;overflow:hidden;color:#1677ff;font-size:13px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.muted-dot{color:#5b6b85}.notification-button span{position:absolute;top:0;right:0;min-width:17px;height:17px;display:grid;place-items:center;color:#fff;background:#ef1717;border-radius:999px;font-size:11px;font-weight:800}.notification-popover{position:absolute;right:142px;top:54px;z-index:40;width:min(380px,calc(100vw - 24px));border:1px solid #dbe3ef;border-radius:8px;background:#fff;box-shadow:0 18px 50px #0f172a24;color:#334155;font-size:13px;line-height:1.5;padding:12px 14px}.notification-list{display:grid;gap:10px;max-height:min(460px,calc(100vh - 96px));overflow:auto}.notification-list>strong{color:#0f172a;font-size:14px}.notification-item{display:grid;gap:3px;padding:8px 10px;border-left:3px solid #94a3b8;background:#f8fafc;border-radius:6px}.notification-item.is-clickable{width:100%;text-align:left;font:inherit;cursor:pointer;border-top:1px solid transparent;border-right:1px solid transparent;border-bottom:1px solid transparent}.notification-item.is-clickable:hover{border-top-color:#cbd5e1;border-right-color:#cbd5e1;border-bottom-color:#cbd5e1;box-shadow:0 1px 4px #0f172a1a}.notification-item.is-critical{border-left-color:#dc2626;background:#fff7f7}.notification-item.is-warning{border-left-color:#d97706;background:#fffbeb}.notification-item.is-info{border-left-color:#2563eb;background:#eff6ff}.notification-item.is-mail-reminder{position:relative;padding-right:52px}.notification-clear-button{position:absolute;top:50%;right:8px;transform:translateY(-50%);height:24px;padding:0 8px;border:1px solid #bfdbfe;border-radius:5px;background:#dbeafe;color:#1d4ed8;font-size:12px;font-weight:700;cursor:pointer}.notification-clear-button:hover{background:#bfdbfe}.notification-item span{color:#0f172a;font-size:13px;font-weight:800}.notification-item small{color:#475569;font-size:12px;line-height:1.35}.user-button{height:36px;padding:0 4px;font-size:16px;font-weight:700}.user-button svg{color:#64748b}.logout-button{color:#64748b}.profile-modal{width:min(100%,420px);display:grid;gap:16px;padding:18px;background:#fff;border:1px solid #d8e1ee;border-radius:8px;box-shadow:0 22px 52px #0f172a38;box-sizing:border-box}.dashboard-main{min-width:0;padding:20px 24px 32px;box-sizing:border-box}.dashboard-page{position:relative;display:grid;gap:14px}.mock-badge{position:absolute;top:-10px;right:2px;z-index:1;padding:4px 8px;color:#475569;background:#fff;border:1px solid #dbe3ef;border-radius:999px;font-size:12px;font-weight:700}.data-stale-banner{display:flex;align-items:center;gap:8px;padding:10px 14px;color:#92400e;background:#fef3c7;border:1px solid #fcd34d;border-radius:10px;font-size:13px;line-height:1.5}.data-stale-banner svg{flex-shrink:0;color:#d97706}.data-stale-banner .secondary-button{margin-left:auto;flex-shrink:0}.dashboard-action-error{display:flex;align-items:center;gap:8px;margin:0 0 12px;padding:10px 14px;color:#991b1b;background:#fee2e2;border:1px solid #fca5a5;border-radius:10px;font-size:13px;line-height:1.5}.dashboard-action-error svg{flex-shrink:0;color:#dc2626}.dashboard-action-success{display:flex;align-items:center;gap:8px;margin:0 0 12px;padding:10px 14px;color:#166534;background:#dcfce7;border:1px solid #86efac;border-radius:10px;font-size:13px;line-height:1.5}.dashboard-action-success svg{flex-shrink:0;color:#16a34a}.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.table-empty-state{display:grid;place-items:center;gap:6px;padding:48px 16px;color:#64748b;background:#fff;border:1px solid #e8edf5;border-radius:8px;text-align:center}.table-empty-state svg{color:#94a3b8}.table-empty-state span{color:#374151;font-size:15px;font-weight:700}.table-empty-state small{color:#94a3b8;font-size:13px}.metric-card,.chart-panel,.store-alert-panel,.product-table-wrap{background:#fff;border:1px solid #e8edf5;border-radius:8px;box-shadow:0 8px 26px #0f172a0d}.metric-card{min-width:0;min-height:112px;display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:12px;padding:16px 18px;box-sizing:border-box}.metric-card.is-incomplete{border-color:#fbbf24;box-shadow:0 8px 26px #f59e0b1a}.metric-icon{width:50px;height:50px;display:grid;place-items:center;color:#fff;background:#1677ff;border:7px solid #edf4ff;border-radius:999px;box-sizing:border-box}.metric-main{min-width:0}.metric-label{overflow:hidden;color:#374151;font-size:15px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.metric-value{min-width:0;display:flex;align-items:baseline;gap:8px;margin-top:8px;overflow:hidden;color:#0f172a;font-size:30px;line-height:1;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.metric-value span{font-size:14px}.metric-change{display:grid;gap:2px;margin-top:10px;overflow:hidden;color:#64748b;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.metric-change small{overflow:hidden;color:#94a3b8;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.metric-change-up{color:#079669}.metric-change-down{color:#dc2626}.metric-spark{width:82px;height:50px;align-self:end}.metric-bars{display:flex;align-items:flex-end;gap:4px}.metric-bars{width:78px;height:54px;align-self:end}.metric-bars span{width:6px;background:linear-gradient(180deg,#9ac3ff,#1677ff);border-radius:2px 2px 0 0}.charts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.chart-panel{min-width:0;height:232px;padding:14px 20px 10px;overflow:visible;box-sizing:border-box}.chart-panel h2{margin:0;color:#111827;font-size:17px;line-height:1.2}.chart-canvas{width:100%;height:190px;overflow:visible}.chart-canvas>div,.chart-canvas svg{overflow:visible!important}.chart-unavailable{height:190px;display:grid;place-items:center;color:#64748b;font-size:14px}.store-alert-panel{min-width:0;height:232px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto minmax(0,1fr);gap:12px;padding:14px 20px 16px;box-sizing:border-box;background:linear-gradient(180deg,#f8fafceb,#fffffffa)}.store-alert-panel>.tooltip-detail{width:100%}.store-alert-panel>.tooltip-detail>.store-alert-block{width:100%}.store-alert-header{grid-column:1 / -1;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.store-alert-header h2{margin:0;color:#111827;font-size:17px;line-height:1.2}.store-alert-header span{display:block;margin-top:4px;color:#64748b;font-size:12px}.store-alert-block{min-width:0;min-height:0;display:flex;flex-direction:column;justify-content:space-between;gap:10px;padding:12px;border:1px solid #e2e8f0;border-radius:7px;background:#fff;box-shadow:inset 0 1px #ffffffd9}.store-alert-block.is-ok{border-color:#d9efe3;background:linear-gradient(180deg,#fff,#f7fcfa)}.store-alert-block.is-warning{border-color:#f3c892;background:linear-gradient(180deg,#fff,#fff8ed)}.store-alert-main{min-width:0;display:grid;gap:8px}.store-alert-title{display:inline-flex;align-items:center;gap:7px;min-width:0;color:#334155;font-size:13px;font-weight:800}.store-alert-block strong{color:#0f172a;font-size:19px;font-weight:800;line-height:1.15}.marketplace-alert-tags{display:flex;flex-wrap:wrap;gap:6px;min-width:0}.marketplace-alert-tag{padding:3px 7px;color:#047857;background:#dcfce7;border:1px solid #bbf7d0;border-radius:999px;font-size:12px;font-weight:800}.marketplace-alert-tag.has-issue{color:#b45309;background:#ffedd5;border-color:#fed7aa}.product-section{display:grid;gap:6px}.table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px}.search-box{width:285px;height:36px;display:flex;align-items:center;gap:10px;padding:0 12px;color:#64748b;background:#fff;border:1px solid #d9e1ec;border-radius:6px;box-sizing:border-box}.search-box input{width:100%;min-width:0;border:0;outline:0;color:#111827}.search-box input::placeholder{color:#8da0b8}.table-filters{display:flex;align-items:center;gap:12px}.table-filters select,.export-button{height:36px;color:#334155;background:#fff;border:1px solid #d9e1ec;border-radius:6px;font-weight:600}.table-filters select{min-width:150px;padding:0 12px}.export-button{display:inline-flex;align-items:center;gap:8px;padding:0 16px}.export-button:disabled{cursor:not-allowed;opacity:.55}.column-toggle-wrap{position:relative}.column-toggle-popover{position:absolute;right:0;top:calc(100% + 6px);z-index:50;display:flex;flex-direction:column;gap:2px;min-width:230px;padding:8px;background:#fff;border:1px solid #dbe3ef;border-radius:8px;box-shadow:0 18px 50px #0f172a24;color:#334155;font-size:13px}.column-toggle-popover>strong{padding:4px 8px 6px;color:#0f172a;font-size:13px}.column-toggle-item{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:6px;cursor:pointer}.column-toggle-item:hover{background:#f1f5f9}.column-toggle-item input{accent-color:#2563eb}.date-filter-wrap{position:relative}.filter-caret{color:#64748b;transition:transform .15s ease}.filter-caret.is-open{transform:rotate(180deg)}.date-filter-popover{min-width:264px}.date-filter-option{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:7px 8px;background:none;border:0;border-radius:6px;color:#334155;font-size:13px;font-weight:500;text-align:left;cursor:pointer}.date-filter-option:hover{background:#f1f5f9}.date-filter-option.is-active{background:#eff6ff;color:#1d4ed8;font-weight:600}.date-filter-option-range{color:#94a3b8;font-size:12px;font-weight:400;white-space:nowrap}.date-filter-custom{display:flex;flex-direction:column;gap:8px;margin-top:4px;padding:10px 8px 8px;border-top:1px solid #e8edf5}.date-filter-custom label{display:flex;align-items:center;gap:10px;color:#475569;font-size:13px}.date-filter-custom label>span{width:34px;flex:none}.date-filter-custom input[type=date]{flex:1;min-width:0;height:32px;padding:0 8px;color:#111827;background:#fff;border:1px solid #d9e1ec;border-radius:6px;box-sizing:border-box}.date-filter-custom small{color:#94a3b8;font-size:12px}.date-filter-apply{align-self:flex-end;height:30px;padding:0 14px;color:#fff;background:#2563eb;border:0;border-radius:6px;font-size:13px;font-weight:600;cursor:pointer}.date-filter-apply:disabled{cursor:not-allowed;opacity:.55}.product-table-wrap{overflow-x:auto;overflow-y:visible}.mobile-product-table-wrap{display:none}.product-table-screen-scrollbar{position:fixed;bottom:0;z-index:25;display:none;height:18px;overflow-x:auto;overflow-y:hidden;background:#fff;border:1px solid #dbe3ef;border-bottom:0;border-radius:7px 7px 0 0;box-shadow:0 -8px 20px #0f172a1a;box-sizing:border-box;scrollbar-gutter:stable}.product-table-screen-scrollbar.is-visible{display:block}.product-table-screen-scrollbar>div{height:1px}.product-table{width:100%;min-width:1444px;border-collapse:collapse;table-layout:auto}.mobile-product-table{width:100%;min-width:820px;border-collapse:collapse;table-layout:auto}.product-table th,.product-table td,.mobile-product-table th,.mobile-product-table td{padding:10px 12px;border-right:1px solid #e8edf5;border-bottom:1px solid #e8edf5;vertical-align:middle;color:#111827;font-size:14px}.product-table th,.mobile-product-table th{background:#fbfcff;font-size:15px;font-weight:800;white-space:nowrap}.product-table th.sortable-th,.mobile-product-table th.sortable-th{cursor:pointer;-webkit-user-select:none;user-select:none}.product-table th.sortable-th:hover,.mobile-product-table th.sortable-th:hover{background:#f0f5ff}.product-table th.sortable-th.is-sorted,.mobile-product-table th.sortable-th.is-sorted{background:#eef4ff;color:#1d4ed8}.sort-indicator{display:inline-block;margin-left:4px;color:#9ca3af;font-size:12px;font-weight:700}.sort-indicator.is-active{color:#1d4ed8}.product-table th:first-child{min-width:300px}.product-table .col-units,.product-table .col-today-sales,.product-table .col-ad-spend,.product-table .col-acos,.product-table .col-profit{min-width:112px}.product-table .col-trend{min-width:154px}.product-table .col-inventory{min-width:150px}.product-table .col-product-info{min-width:220px}.product-table .col-note{min-width:150px}.product-table .col-shipments{min-width:190px}.product-table .col-review-invite{min-width:130px}.product-table th:first-child,.product-table td:first-child,.mobile-product-table th:first-child,.mobile-product-table td:first-child{position:sticky;left:0;z-index:3;background:#fff;box-shadow:8px 0 14px -14px #0f172a8a}.product-table th:first-child,.mobile-product-table th:first-child{z-index:4;background:#fbfcff}.product-table .product-child-row td:first-child,.mobile-product-table .product-child-row td:first-child{background:#fcfdff}.mobile-product-table th:nth-child(1),.mobile-product-table td.mobile-product-image-cell{width:84px;min-width:84px;max-width:96px}.mobile-product-table th:nth-child(2),.mobile-product-table td.mobile-product-name-cell{width:auto}.mobile-product-table th:nth-child(3),.mobile-product-table td:nth-child(3){min-width:var(--mobile-sales-unit-width, 3ch);padding-inline:12px;white-space:nowrap}.mobile-product-table th:nth-child(7){min-width:160px}.product-identity-content{display:flex;align-items:center;gap:10px}.variant-fold-slot{width:24px;height:24px;display:inline-grid;flex:0 0 24px;place-items:center}.variant-fold-button{width:24px;height:24px;display:inline-grid;place-items:center;color:#111827;background:transparent;border:0;border-radius:4px}.variant-fold-button:hover{color:#1677ff;background:#eef5ff}.expand-all-button{width:24px;height:24px;display:inline-grid;place-items:center;color:#111827;background:transparent;border:0;border-radius:4px;cursor:pointer}.expand-all-button:hover{color:#1677ff;background:#eef5ff}.expand-all-button:disabled{color:#cbd5e1;background:transparent;cursor:not-allowed}.product-identity-header{display:flex;align-items:center;gap:10px}.variant-child-indent{width:12px;height:24px;border-left:2px solid #cfe0f8;border-bottom:2px solid #cfe0f8;border-radius:0 0 0 5px}.product-child-row{background:#fcfdff}@keyframes product-row-focus-flash{0%,60%{background:#fef3c7;box-shadow:inset 0 0 0 2px #f59e0b}to{background:transparent;box-shadow:none}}.product-row-focus td{animation:product-row-focus-flash 2.2s ease-out}.product-identity-content img{width:58px;height:58px;flex:0 0 auto;object-fit:contain;border-radius:6px;background:transparent}.dense-info,.inventory-stack,.product-identity-text,.shipment-list,.tooltip-lines{min-width:0;display:grid;gap:4px}.mobile-product-image-cell{text-align:center;white-space:nowrap}.mobile-product-image-media{display:inline-flex;align-items:center;justify-content:center;gap:6px}.mobile-product-name-cell{vertical-align:middle}.mobile-product-identity-text{display:block;min-width:0}.mobile-product-identity-text strong{display:block;white-space:nowrap;color:#0f172a;font-size:12px;font-weight:700;line-height:1.35}.mobile-product-identity-text span{display:block;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#94a3b8;font-size:11px;font-weight:800}.mobile-product-identity-text .mobile-product-identity-meta{display:flex;align-items:center;gap:3px}.quick-edit-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:18px;height:18px;padding:0;border:1px solid #e2e8f0;border-radius:4px;background:#f8fafc;color:#64748b;cursor:pointer}.quick-edit-button:hover{background:#eef2ff;border-color:#c7d2fe;color:#4f46e5}.quick-note-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:18px;height:18px;padding:0;border:1px solid #e2e8f0;border-radius:4px;background:#f8fafc;color:#94a3b8;cursor:pointer}.quick-note-button:hover,.quick-note-button.has-note{background:#fffbeb;border-color:#fde68a;color:#d97706}.mobile-product-image-link,.product-image-link{display:inline-flex;flex:0 0 auto;border-radius:6px}.mobile-product-image-link:focus-visible,.product-image-link:focus-visible{outline:2px solid #1677ff;outline-offset:2px}.mobile-product-image{width:40px;height:40px;object-fit:contain;border-radius:6px;background:transparent}.product-identity-text strong{max-width:210px;overflow:hidden;color:#111827;font-size:14px;line-height:1.35;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.product-identity-text span,.dense-info span,.inventory-stack span,.shipment-list span,.number-muted{color:#334155;font-size:12px;line-height:1.35}.product-identity-meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px}.fnsku-line,.identity-link-line{display:inline-flex;min-width:0;align-items:baseline;gap:0}.fnsku-line{align-items:center;gap:0 4px}.fnsku-download-button,.identity-value-link{min-width:0;padding:0;color:inherit;background:transparent;border:0;font:inherit;line-height:inherit;text-align:left;text-decoration:none}.fnsku-download-button:hover:not(:disabled),.fnsku-download-button:focus-visible,.identity-value-link:hover,.identity-value-link:focus-visible{color:#1677ff;text-decoration:underline;text-underline-offset:2px}.fnsku-download-button:disabled{color:inherit;text-decoration:none}.fnsku-label-upload{display:inline-flex;align-items:center}.fnsku-label-file-input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.fnsku-label-action-button{display:inline-flex;width:18px;height:18px;align-items:center;justify-content:center;padding:0;color:#64748b;background:#fff;border:1px solid #d8e1ee;border-radius:4px}.fnsku-label-action-button:hover:not(:disabled),.fnsku-label-action-button:focus-visible{color:#1677ff;border-color:#1677ff}.fnsku-label-action-button:disabled{opacity:.55}.product-details-button,.remark-button{width:100%;min-width:0;padding:0;color:inherit;background:transparent;border:0;text-align:left}.product-details-button{display:block;border-radius:4px}.product-details-button:hover .dense-info span,.product-details-button:focus-visible .dense-info span{color:#1677ff}.remark-button{display:-webkit-box;overflow:hidden;color:#1677ff;font-size:13px;font-weight:700;line-height:1.45;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:3}.remark-button:hover,.remark-button:focus-visible{color:#005be8;text-decoration:underline}.cost-missing-button{padding:0;color:#d97706;background:transparent;border:0;border-bottom:1px dashed #d97706;cursor:pointer;font-size:13px;line-height:1.45}.cost-missing-button:hover,.cost-missing-button:focus-visible{color:#b45309;border-bottom-style:solid}.profit-estimate{display:inline-flex;align-items:baseline;gap:6px;white-space:nowrap}.today-units,.money-cell,.sales-trend-cell{font-size:18px;font-weight:500;text-align:center;white-space:nowrap}.sales-units-cell{display:inline-flex;align-items:center;justify-content:center;font-size:15px;line-height:1.3;white-space:nowrap}.sales-units-values{display:inline-flex;align-items:center;justify-content:center}.sales-units-part{min-width:0;white-space:nowrap}.sales-units-separator{flex:0 0 auto}.sales-trend-wrap{position:relative;display:inline-grid;place-items:center;width:max-content;max-width:100%}.mini-volume{display:block;width:150px;height:40px;margin:0 auto;overflow:visible;fill:#2f80ed;opacity:.82}.mini-volume rect{transition:opacity .15s ease,fill .15s ease}.mini-volume rect:hover{fill:#0f6bff;opacity:1}.sales-trend-tooltip{position:absolute;left:50%;bottom:calc(100% + 6px);z-index:20;min-width:max-content;padding:5px 8px;color:#fff;background:#0f172a;border-radius:5px;box-shadow:0 8px 18px #0f172a29;font-size:12px;font-weight:800;line-height:1.2;pointer-events:none;transform:translate(-50%)}.mini-volume.is-compact{width:118px;height:24px}.mobile-sales-stack{display:inline-grid;gap:5px;justify-items:center}.status-badge{display:inline-flex;align-items:center;width:max-content;max-width:100%;min-height:20px;padding:1px 6px;border-radius:4px;font-size:12px;font-weight:800;white-space:nowrap}.status-badge-green{color:#047857;background:#dcfce7}.status-badge-orange{color:#c2410c;background:#ffedd5}.status-badge-red{color:#dc2626;background:#fee2e2}.status-badge-blue{color:#1677ff;background:#eaf2ff}.status-badge-gray{color:#475569;background:#f1f5f9}.shipment-list>span{display:flex;align-items:center;justify-content:space-between;gap:6px}.shipment-row{min-width:150px}.shipment-code{min-width:0;overflow-wrap:anywhere}.shipment-actions{display:inline-flex;flex:0 0 auto;align-items:center;gap:4px}.shipment-mark-button{border:1px solid #bfdbfe;border-radius:6px;background:#eff6ff;color:#1d4ed8;font-size:11px;font-weight:700;line-height:1;padding:5px 7px;cursor:pointer}.shipment-mark-button:disabled{cursor:not-allowed;opacity:.6}.tooltip-detail{position:relative;display:inline-flex;width:max-content;max-width:100%;outline:none}.tooltip-detail-content{position:fixed;z-index:1000;width:300px;max-width:70vw;padding:10px 12px;color:#f8fafc;background:#111827;border-radius:6px;box-shadow:0 14px 28px #0f172a33;font-size:12px;line-height:1.55;pointer-events:none;transform:translate(-50%)}.tooltip-lines strong,.tooltip-lines span{color:#f8fafc}.acos-cell{white-space:nowrap}.acos-cell.is-high{color:#ea580c;font-weight:800}.toggle-switch{display:inline-flex;align-items:center;gap:7px;color:#64748b;background:transparent;border:0;border-radius:6px;font-size:12px;font-weight:800}.toggle-switch-track{width:34px;height:18px;display:flex;align-items:center;padding:2px;background:#cbd5e1;border-radius:999px;box-sizing:border-box;transition:background-color .14s ease}.toggle-switch-thumb{width:14px;height:14px;background:#fff;border-radius:999px;box-shadow:0 1px 3px #0f172a33;transition:transform .14s ease}.toggle-switch.is-on{color:#047857}.toggle-switch.is-on .toggle-switch-track{background:#16a34a}.toggle-switch.is-on .toggle-switch-thumb{transform:translate(16px)}.table-actions{display:flex;justify-content:center;gap:12px}.table-actions button{display:inline-flex;align-items:center;gap:4px;color:#1677ff;background:transparent;border:0;font-weight:700}.dashboard-state{min-height:360px;display:grid;place-items:center;color:#475569;background:#fff;border:1px solid #e8edf5;border-radius:8px;font-size:18px;font-weight:800}.dashboard-state-error{gap:8px;color:#b91c1c}.dashboard-state-error span{color:#475569;font-size:14px;font-weight:600}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100;display:grid;place-items:center;padding:20px;background:#0f172a6b;box-sizing:border-box}.manual-details-modal{width:min(100%,760px);display:grid;gap:16px;padding:18px;background:#fff;border:1px solid #d8e1ee;border-radius:8px;box-shadow:0 22px 52px #0f172a38;box-sizing:border-box}.confirm-modal{width:min(100%,420px);display:grid;gap:14px;padding:20px;background:#fff;border:1px solid #d8e1ee;border-radius:8px;box-shadow:0 22px 52px #0f172a38;box-sizing:border-box}.confirm-modal-header{display:flex;align-items:center;gap:8px}.confirm-modal-header svg{flex:0 0 auto;color:#dc2626}.confirm-modal-header h2{margin:0;color:#111827;font-size:17px;line-height:1.3}.confirm-modal-body{color:#374151;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.manual-details-header,.manual-details-product,.manual-details-actions{display:flex;align-items:center;gap:12px}.manual-details-header{justify-content:space-between}.manual-details-header h2{margin:0 0 5px;color:#111827;font-size:18px;line-height:1.2}.manual-details-header span,.manual-details-note{color:#64748b;font-size:13px;line-height:1.55}.manual-details-product{min-width:0;padding:10px;background:#f8fbff;border:1px solid #e2eaf5;border-radius:8px}.manual-details-product img{width:48px;height:48px;flex:0 0 auto;object-fit:cover;border-radius:6px;background:#f1f5f9}.manual-details-product strong{min-width:0;color:#111827;font-size:14px;line-height:1.4;overflow-wrap:anywhere}.help-modal{width:min(100%,560px)}.help-modal-body{display:grid;gap:14px;max-height:min(60vh,520px);overflow-y:auto;padding-right:4px}.help-modal-body section{display:grid;gap:6px}.help-modal-body h3{margin:0;color:#111827;font-size:14px}.help-modal-body p,.help-modal-body li{margin:0;color:#475569;font-size:13px;line-height:1.7}.help-modal-body ul{margin:0;padding-left:18px;display:grid;gap:6px}.help-modal-body strong{color:#334155}.manual-details-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.manual-details-actions{justify-content:flex-end}.reset-password-modal{width:min(100%,420px);display:grid;gap:16px;padding:18px;background:#fff;border:1px solid #d8e1ee;border-radius:8px;box-shadow:0 22px 52px #0f172a38;box-sizing:border-box}.user-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.note-modal{width:min(100%,520px)}.operations-profile-modal{width:min(100%,840px);max-height:calc(100vh - 40px);overflow:auto}.operations-profile-section{display:grid;gap:10px}.operations-profile-section h3{margin:0;color:#111827;font-size:14px;line-height:1.3}.operations-profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.operations-profile-purchase-grid{grid-template-columns:minmax(160px,1fr) minmax(0,2fr)}.operations-profile-note{width:100%}.note-textarea{width:100%;min-height:150px;padding:10px;resize:vertical;color:#111827;background:#fff;border:1px solid #d7dfeb;border-radius:6px;box-sizing:border-box;font:inherit;outline:none}.note-textarea:focus{border-color:#1677ff;box-shadow:0 0 0 3px #1677ff1f}@media(max-width:1100px){.metrics-grid{gap:10px}.table-toolbar,.table-filters{flex-wrap:wrap}.metric-card{min-height:96px;grid-template-columns:42px minmax(0,1fr);gap:9px;padding:12px}.metric-icon{width:42px;height:42px;border-width:5px}.metric-icon svg{width:24px;height:24px}.metric-value{gap:5px;margin-top:7px;font-size:26px}.metric-change{margin-top:7px;font-size:13px}}@media(max-width:900px){.app-shell{grid-template-columns:1fr}.app-sidebar{display:none}.app-topbar{position:sticky;top:0;z-index:30;height:auto;justify-content:space-between;gap:10px;padding:8px 12px}.dashboard-page-header{display:flex;flex:1 1 auto}.dashboard-page-header .app-brand-icon{width:28px;height:28px;border-width:2px;border-radius:7px;font-size:14px}.mobile-page-select{display:block;flex:0 0 auto}.topbar-actions{height:auto;flex:0 0 auto;gap:6px}.updated-at,.topbar-sync-status,.user-button span{display:none}.help-modal{width:min(100%,calc(100vw - 24px))}.topbar-icon-button,.user-button{width:32px;height:32px}.notification-popover{position:fixed;right:12px;left:12px;top:56px;width:auto;max-height:70vh;overflow-y:auto}.dashboard-main{padding:10px}.metric-card{min-height:88px;grid-template-columns:minmax(0,1fr)}.metric-icon{display:none}}@media(max-width:980px){.pending-shipment-main{grid-template-columns:24px minmax(0,1fr) auto}.pending-shipment-metrics,.pending-shipment-actions{grid-column:2 / -1}.pending-shipment-actions{justify-content:flex-start}}@media(max-width:720px){.app-shell{grid-template-columns:1fr}.app-sidebar{display:none}.metrics-grid,.charts-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.app-topbar,.table-toolbar,.topbar-actions{height:auto}.app-topbar{position:sticky;top:0;z-index:30;justify-content:space-between;gap:10px;padding:8px 12px}.dashboard-page-header{display:flex;flex:1 1 auto}.dashboard-page-header .app-brand-icon{width:28px;height:28px;border-width:2px;border-radius:7px;font-size:14px}.dashboard-page-header span{display:none}.topbar-actions{flex:0 0 auto;gap:6px}.updated-at,.topbar-sync-status,.user-button span{display:none}.help-modal{width:min(100%,calc(100vw - 24px))}.topbar-icon-button,.user-button{width:32px;height:32px}.dashboard-main,.settings-page,.system-api-page{padding:10px}.settings-grid,.system-api-layout{grid-template-columns:1fr;gap:12px}.settings-panel,.system-api-page .settings-panel{width:100%;min-width:0;padding:12px;box-sizing:border-box}.settings-panel-wide{grid-column:auto}.settings-form-grid,.compact-form,.ads-status-grid,.operations-profile-grid,.operations-profile-purchase-grid{grid-template-columns:1fr}.settings-inline-control,.settings-panel-header,.manual-details-actions{flex-wrap:wrap}.settings-inline-control .secondary-button,.settings-panel-header .compact-button{flex:0 0 auto}.settings-field-wide{grid-column:auto}.permission-grid{grid-template-columns:1fr}.system-api-page .settings-panel{overflow-x:auto}.system-api-page .settings-table{min-width:720px}.api-key-form,.api-doc-card,.api-doc-title{min-width:0}.api-doc-title{display:flex;align-items:flex-start;flex-direction:column}.api-doc-title>span{min-width:60px}.api-doc-card pre{max-width:100%;overflow-x:auto;white-space:pre}.charts-grid{grid-template-columns:1fr}.store-alert-panel{height:auto;min-height:180px;padding:12px}.store-alert-block{min-height:96px;padding:10px}.store-alert-block strong{font-size:17px}.metrics-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.metric-card{min-height:84px;grid-template-columns:minmax(0,1fr);gap:0;padding:12px}.metric-icon{display:none}.metric-label{font-size:13px}.metric-value{gap:5px;margin-top:6px;font-size:24px}.metric-value span,.metric-change{font-size:12px}.metric-change{margin-top:6px}.product-table-wrap{display:none}.mobile-product-table-wrap{display:block;overflow-x:auto;overflow-y:visible;background:#fff;border:1px solid #e8edf5;border-radius:8px}.product-table-screen-scrollbar{height:16px}.mobile-product-table th,.mobile-product-table td{padding:9px 10px;font-size:13px}.mobile-product-table .sales-units-cell{display:inline-grid;gap:3px;justify-items:center;line-height:1.25;white-space:nowrap}.mobile-product-table .sales-units-values{display:inline-grid;gap:3px;justify-items:center;padding-inline:4px}.mobile-product-table .sales-units-part{padding-inline:2px;white-space:nowrap}.mobile-product-table .sales-units-separator{display:none}.table-filters{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:8px}.search-box{width:100%}.table-filters select{min-width:0;width:100%;padding:0 8px}.column-toggle-wrap{display:none}.table-filters .export-button,.date-filter-wrap{grid-column:1 / -1}.date-filter-wrap .export-button{width:100%;justify-content:center}.date-filter-popover{left:0;right:0;min-width:0;width:calc(100vw - 48px);max-width:360px}.manual-details-grid,.operations-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.manual-details-modal{max-height:calc(100vh - 32px);overflow:auto}.shipment-replenishment-table th:nth-child(7),.shipment-replenishment-table th:nth-child(8),.shipment-replenishment-table th:nth-child(10),.shipment-replenishment-table td:nth-child(7),.shipment-replenishment-table td:nth-child(8),.shipment-replenishment-table td:nth-child(10){display:none}.shipment-replenishment-table{min-width:920px}}@media(max-width:560px){.shipment-replenishment-panel .settings-panel-header{align-items:flex-start;flex-direction:column}.shipment-replenishment-header-actions{width:100%;justify-content:space-between}.shipment-replenishment-header-actions .primary-button{flex:1 1 auto;justify-content:center}.shipment-date-field,.shipment-search-input,.shipment-replenishment-filters,.shipment-export-actions{width:100%;flex-basis:100%;max-width:none}.shipment-replenishment-filters{flex-wrap:wrap;overflow:visible}.shipment-export-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-left:0}.shipment-export-actions .compact-button{justify-content:center;padding:0 8px}.pending-shipment-main{grid-template-columns:24px minmax(0,1fr);align-items:flex-start}.pending-shipment-main>.shipment-plan-risk,.pending-shipment-metrics,.pending-shipment-actions{grid-column:2}.pending-shipment-actions{display:grid;grid-template-columns:1fr;width:100%}.pending-shipment-actions .shipment-mark-button,.pending-shipment-actions .compact-button{justify-content:center;width:100%}.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.bootstrap-banner{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:8px 14px;color:#1e3a8a;background:#dbeafe;border:1px solid #93c5fd;border-radius:10px;font-size:13px;line-height:1.5}.bootstrap-banner-sources{display:flex;flex-wrap:wrap;gap:10px;font-variant-numeric:tabular-nums}.awd-entry,.awd-top,.awd-summary,.awd-row,.awd-footer{display:flex;align-items:center;gap:12px;justify-content:space-between}.awd-entry{padding:13px 18px;background:#fff;border:1px solid #e1e7f0;border-radius:8px;box-shadow:0 8px 20px #0f172a0a}.awd-entry div,.awd-summary div{display:grid;gap:3px}.awd-entry span,.awd-summary span,.awd-muted{color:#64748b;font-size:13px}.awd-page{display:grid;gap:16px;padding:18px 22px 24px;min-width:0}.awd-top{justify-content:flex-start;flex-wrap:wrap}.awd-top h1{margin:0;font-size:21px}.awd-top p{margin:4px 0 0;color:#64748b;font-size:13px}.awd-top .primary-button{margin-left:auto}.awd-top button,.awd-summary button,.awd-row button,.awd-footer button{display:inline-flex;align-items:center;gap:7px}.awd-summary{padding:14px 18px;background:#fff;border:1px solid #e1e7f0;border-radius:8px;flex-wrap:wrap}.awd-summary strong{font-size:17px}.awd-save{margin-left:auto}.awd-steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.awd-steps button{display:flex;align-items:center;gap:7px;min-height:48px;text-align:left;padding:8px;border:1px solid #e1e7f0;border-radius:6px;background:#fff;color:#475569;font-weight:600;font-size:12px}.awd-steps button span{display:grid;place-items:center;flex:0 0 23px;height:23px;border-radius:50%;background:#eff6ff;color:#2563eb}.awd-steps button.is-active{border-color:#2563eb;color:#1d4ed8;background:#eff6ff}.awd-steps button:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.awd-editor{min-height:300px}.awd-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.awd-form label,.awd-row label{display:grid;gap:5px;color:#374151;font-size:13px;font-weight:600}.awd-form input,.awd-form select,.awd-row input,.awd-stack>input,.awd-table input{box-sizing:border-box;min-width:0;width:100%;height:38px;padding:0 10px;background:#fff;border:1px solid #cbd5e1;border-radius:6px;color:#111827}.awd-form input:focus,.awd-form select:focus,.awd-row input:focus,.awd-stack>input:focus,.awd-table input:focus{outline:2px solid #93c5fd;outline-offset:1px}.awd-form>button,.awd-form>p{align-self:end}.awd-stack{display:grid;gap:14px}.awd-stack p,.awd-stack h3{margin:0}.awd-stack h3{font-size:15px}.awd-table-wrap{overflow-x:auto}.awd-table{border-collapse:collapse;width:100%;min-width:620px;font-size:13px}.awd-table th,.awd-table td{text-align:left;padding:10px;border-bottom:1px solid #e5e7eb}.awd-table th{background:#f8fafc;color:#475569}.awd-table small{display:block;color:#64748b}.awd-table input{max-width:120px}.awd-row{justify-content:flex-start;flex-wrap:wrap}.awd-row strong{min-width:120px}.awd-row label{width:150px}.awd-carton{display:grid;gap:12px;padding:15px;border:1px solid #e1e7f0;border-radius:8px;background:#f8fafc}.awd-check{display:flex;align-items:center;gap:8px;font-size:13px}.awd-prep-control{display:grid;gap:7px;padding:10px 12px;border:1px solid #dbe5f0;border-radius:8px;background:#fff}.awd-prep-note{margin:0}.awd-prep-inline-note{align-self:end;color:#64748b;font-size:12px;font-weight:400}.awd-watch{display:flex;flex-wrap:wrap;gap:10px;padding:12px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;font-size:13px}.awd-footer{justify-content:flex-end;border-top:1px solid #e5e7eb;padding-top:15px}@media(max-width:1050px){.awd-steps{grid-template-columns:repeat(3,minmax(0,1fr))}.awd-form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.awd-page{padding:12px}.awd-top .primary-button,.awd-summary .awd-save{margin-left:0}.awd-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.awd-form{grid-template-columns:1fr}.awd-entry{flex-wrap:wrap}}.awd-event-list{display:grid;gap:8px}.awd-event{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 14px;border:1px solid #bfdbfe;border-radius:6px;background:#eff6ff;font-size:13px}.awd-event span{color:#64748b}.awd-event .secondary-button:first-of-type{margin-left:auto}.awd-issues{margin:10px 0 0;padding-left:20px}.awd-issues button{border:0;background:none;color:#b91c1c;text-align:left;text-decoration:underline;padding:3px;cursor:pointer}.awd-address-list{grid-column:1/-1;display:grid;gap:7px;padding:10px;background:#f8fafc;border:1px solid #e1e7f0;border-radius:6px;font-size:13px}.awd-address-list .awd-row{justify-content:flex-start}.awd-clone>label{display:grid;gap:5px;font-size:13px;font-weight:600;color:#374151;max-width:440px}.awd-clone input,.awd-clone select{box-sizing:border-box;min-width:0;width:100%;height:38px;padding:0 10px;background:#fff;border:1px solid #cbd5e1;border-radius:6px;color:#111827}.awd-clone .awd-table select{max-width:190px}.awd-clone input:focus,.awd-clone select:focus{outline:2px solid #93c5fd;outline-offset:1px}.awd-locked-fields{border:0;padding:0;margin:0;min-width:0}.awd-locked-fields:disabled{opacity:.8}.awd-product-diff .awd-check{font-weight:400;color:#374151}.awd-product-diff .awd-carton{background:#fff}.awd-list-toolbar,.awd-list-pages{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:12px 16px}.awd-list-toolbar label{display:grid;gap:5px;font-size:13px;color:#374151;font-weight:600}.awd-list-toolbar input,.awd-list-toolbar select{box-sizing:border-box;height:38px;min-width:180px;padding:0 10px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#111827}.awd-list-toolbar .awd-muted{margin:0 0 9px auto}.awd-list-pages{justify-content:flex-end;font-size:13px;color:#64748b}@media(max-width:700px){.awd-list-toolbar label{flex:1 1 150px}.awd-list-toolbar input,.awd-list-toolbar select{width:100%;min-width:0}.awd-list-toolbar .awd-muted{margin:0}}.awd-mobile-hint{display:none;margin:0 16px 6px;color:#64748b;font-size:12px}@media(max-width:700px){.awd-mobile-hint{display:block}}.awd-conflict{border-color:#f59e0b;background:#fffbeb}.awd-conflict h2{margin:0 0 8px;font-size:17px;color:#92400e}.awd-conflict p{font-size:13px;line-height:1.5}.awd-conflict-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.awd-conflict-list label{display:flex;align-items:flex-start;gap:9px;min-width:0;padding:9px;background:#fff;border:1px solid #fde68a;border-radius:6px;font-size:13px;cursor:pointer}.awd-conflict-list input{margin-top:3px;flex:none}.awd-conflict-list span{min-width:0;overflow-wrap:anywhere}.awd-conflict-list small{display:block;margin-top:3px;color:#64748b}.awd-conflict .awd-row{flex-wrap:wrap;justify-content:flex-end}@media(max-width:700px){.awd-conflict-list{grid-template-columns:1fr}.awd-conflict .awd-row button{flex:1 1 100%}}.awd-product-filter{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.awd-product-filter>input{box-sizing:border-box;min-width:220px;flex:1 1 240px;height:38px;padding:0 10px;background:#fff;border:1px solid #cbd5e1;border-radius:6px;color:#111827}.awd-product-filter>.awd-check{white-space:normal;flex:0 1 auto}.awd-product-filter>input:focus{outline:2px solid #93c5fd;outline-offset:1px}@media(max-width:700px){.awd-product-filter>input{min-width:0;width:100%}}.awd-sort-toggle{display:inline-flex;border:1px solid #cbd5e1;border-radius:6px;overflow:hidden;background:#fff}.awd-sort-toggle button{border:0;background:none;padding:6px 12px;font-size:12px;color:#475569;cursor:pointer}.awd-sort-toggle button+button{border-left:1px solid #cbd5e1}.awd-sort-toggle button.is-active{background:#1d4ed8;color:#fff;font-weight:600}.awd-table.awd-decision{min-width:1080px}.awd-decision td{vertical-align:top;white-space:nowrap}.awd-decision td small{margin-top:3px}.awd-prod-cell{display:flex;align-items:center;gap:9px;min-width:210px;white-space:normal!important}.awd-prod-thumb{flex:none;width:38px;height:38px;object-fit:contain;border:1px solid #e1e7f0;border-radius:6px;background:#fff}.awd-prod-thumb-empty{background:#f8fafc}.awd-prod-name{display:flex;flex-direction:column;min-width:0;font-weight:600}.awd-prod-name small{font-weight:400;max-width:230px;overflow:hidden;text-overflow:ellipsis}.awd-mini-input{width:64px!important;max-width:64px!important;height:26px;padding:0 6px!important;font-size:12px!important}.awd-decision td .shipment-plan-risk{margin:0 0 3px}.awd-suggest{border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;border-radius:6px;padding:4px 10px;font-size:13px;font-weight:600;cursor:pointer}.awd-suggest:hover{background:#dbeafe}.awd-carton-inputs{display:inline-flex;align-items:center;gap:5px}.awd-carton-inputs>input:first-child{width:56px;max-width:56px;height:26px;padding:0 6px;font-size:13px}.awd-days-after{font-weight:700;color:#334155}.awd-days-after.is-urgent{color:#991b1b}.awd-days-after.is-watch{color:#854d0e}.awd-days-after.is-safe{color:#166534}.awd-click-value{border:0;background:none;padding:2px 4px;margin:-2px -4px;font:inherit;font-weight:600;color:#0f172a;cursor:pointer;border-radius:4px;text-align:left}.awd-click-value:hover{background:#eff6ff;box-shadow:inset 0 -1px #93c5fd}.awd-carton-summary{display:flex;flex-direction:column;gap:2px;font-weight:600}.awd-carton-summary small{font-weight:400;color:#64748b}.awd-edit-chip{display:inline-block;margin-left:5px;padding:0 5px;border-radius:8px;background:#dbeafe;color:#1d4ed8;font-size:11px;font-weight:600;line-height:16px}.awd-remove{color:#991b1b}.awd-remove:hover{background:#fef2f2;border-color:#fecaca;color:#991b1b}.awd-page.is-editing{padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))}.awd-editor .awd-footer{position:fixed;left:240px;right:0;bottom:0;z-index:29;box-sizing:border-box;min-height:68px;padding:10px max(22px,env(safe-area-inset-right,0px)) calc(10px + env(safe-area-inset-bottom,0px)) max(22px,env(safe-area-inset-left,0px));border-top:1px solid #cbd5e1;background:#fff;box-shadow:0 -5px 18px #0f172a17}.awd-address-summary{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:12px 14px;border:1px solid #e1e7f0;border-radius:8px;background:#f8fafc}.awd-address-summary>div{display:grid;gap:4px;min-width:0;font-size:13px;overflow-wrap:anywhere}.awd-address-summary span,.awd-address-summary small{color:#64748b}.awd-address-summary button{flex:none}.awd-address-editor{grid-column:1/-1;min-width:0}.awd-selected-product{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 14px;border:1px solid #e1e7f0;border-radius:8px;background:#f8fafc}.awd-selected-product-main{display:grid;gap:4px;min-width:0;flex:1 1 250px;overflow-wrap:anywhere}.awd-selected-product-main span{color:#64748b;font-size:13px}.awd-selected-product label{display:grid;gap:5px;min-width:120px;color:#374151;font-size:13px;font-weight:600}.awd-selected-product input{box-sizing:border-box;width:120px;height:38px;padding:0 10px;border:1px solid #cbd5e1;border-radius:6px}@media(max-width:900px){.awd-editor .awd-footer{left:0}}@media(max-width:700px){.awd-address-summary{align-items:flex-start;flex-direction:column}.awd-address-summary button{width:100%;justify-content:center}.awd-editor .awd-footer{gap:10px;padding:10px max(12px,env(safe-area-inset-right,0px)) calc(10px + env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px))}.awd-editor .awd-footer button{flex:1;justify-content:center;min-height:44px}}.awd-warehouse-stage{gap:14px}.awd-watch-overview{display:grid;gap:12px;padding:18px;border:1px solid #bfdbfe;border-radius:12px;background:#f3f8ff}.awd-watch-overview.is-warning{border-color:#fca5a5;background:#fff1f2}.awd-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.awd-card-heading h3{margin:0;font-size:16px;color:#0f172a}.awd-card-heading p{margin:5px 0 0}.awd-status-pill{flex:none;padding:5px 9px;border-radius:20px;background:#e0f2fe;color:#075985;font-size:12px;font-weight:700}.awd-status-pill.is-success{background:#dcfce7;color:#166534}.awd-status-pill.is-warning{background:#fef3c7;color:#92400e}.awd-watch-stats{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;font-size:13px;color:#334155}.awd-watch-stats b{font-size:21px;color:#0f172a}.awd-next-run{display:flex;align-items:center;gap:5px;font-variant-numeric:tabular-nums}.awd-warehouse-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:14px}.awd-warehouse-card{display:flex;flex-direction:column;gap:10px;padding:16px;border:1px solid #e2e8f0;border-radius:10px;background:#fff}.awd-warehouse-card p{margin:0}.awd-target-title{font-size:17px;color:#0f172a}.awd-destination-card.is-match{border-color:#86efac}.awd-destination-card.is-no_match{border-color:#fdba74}.awd-destination-card.is-unknown{border-color:#fcd34d}.awd-address-result{font-size:13px;line-height:1.6;overflow-wrap:anywhere}.awd-inline-warning{margin:0;padding:9px 10px;border:1px solid #fcd34d;border-radius:7px;background:#fffbeb;color:#92400e;font-size:12px;line-height:1.5}.awd-compact-details{font-size:13px}.awd-compact-details>summary{cursor:pointer;color:#334155;font-weight:600;padding:7px 0}.awd-compact-details[open]>summary{margin-bottom:6px}.awd-compact-details p{margin:8px 0}.awd-facility-options{display:grid;gap:8px;margin:0;padding:0;border:0;min-width:0}.awd-facility-options .awd-check{padding:7px 8px;border-radius:7px;background:#f8fafc}.awd-map-choice{display:grid;gap:6px;margin:10px 0}.awd-map-choice select{width:100%;min-width:0}.awd-evidence-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.awd-evidence-steps>div{display:grid;align-content:start;gap:6px;padding:12px;background:#f8fafc;border-radius:7px;font-size:12px}.awd-evidence-steps span{color:#475569;line-height:1.6}.awd-history-details{border:1px solid #e2e8f0;border-radius:10px;background:#fff}.awd-history-details>summary{padding:12px 15px;color:#334155;font-size:13px;font-weight:700;cursor:pointer}.awd-history-list{display:grid;gap:8px;padding:0 10px 10px}.awd-history-item{padding:12px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;overflow-wrap:anywhere}.awd-history-item.is-unknown{border-color:#fcd34d;background:#fffbeb}.awd-history-item-head{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:12px}.awd-history-item-head time{color:#64748b}.awd-history-item p{font-size:12px;margin:8px 0}.awd-proof-list{display:grid;grid-template-columns:115px minmax(0,1fr);gap:7px;font-size:12px}.awd-proof-list dt{color:#64748b}.awd-proof-list dd{margin:0;overflow-wrap:anywhere}.awd-more-content{padding:0 16px 16px}.awd-final-review{background:#f8fafc}.awd-target-setup{grid-column:1/-1;border:1px solid #e2e8f0;padding:8px 12px;border-radius:8px}.awd-confirm-dialog{width:min(520px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:24px;border:1px solid #cbd5e1;border-radius:14px;color:#0f172a;box-shadow:0 24px 80px #0f172a40}.awd-confirm-dialog::backdrop{background:#0f172a73}.awd-confirm-dialog h2{margin:0 0 12px;font-size:19px}.awd-confirm-dialog p{font-size:14px;line-height:1.8;white-space:pre-line}.awd-dialog-field{display:grid;gap:8px;margin:16px 0}.awd-dialog-field input{min-width:0;padding:9px 12px;border:1px solid #cbd5e1;border-radius:7px}@media(max-width:850px){.awd-warehouse-grid{grid-template-columns:1fr}}@media(max-width:560px){.awd-watch-overview,.awd-warehouse-card{padding:13px}.awd-card-heading{flex-wrap:wrap;gap:8px}.awd-evidence-steps{grid-template-columns:1fr}.awd-watch-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.awd-watch-actions button{justify-content:center;min-height:42px;padding:8px;font-size:12px}.awd-watch-stats{gap:6px 12px}.awd-proof-list{grid-template-columns:1fr;gap:4px}.awd-proof-list dd{margin-bottom:7px}}.awd-page.is-destination{padding-bottom:24px}.is-destination .awd-summary{padding:12px 16px}.is-destination .awd-summary>div{min-width:0}.is-destination .awd-summary strong{font-size:15px}.is-destination .awd-summary>button{margin-left:auto;flex:none}.is-destination .settings-panel-header{margin-bottom:12px}.awd-completed-steps .awd-steps{padding:0 12px 12px}@media(max-width:560px){.awd-page.is-destination,.is-destination .awd-top{gap:10px}.is-destination .awd-top h1{font-size:17px}.is-destination .awd-top>button{padding:7px 9px}.is-destination .awd-summary{gap:10px;padding:12px}}.awd-overview-result{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:13px;color:#334155}.awd-overview-result span{color:#64748b}.awd-confirm-window{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border:1px solid #86efac;border-radius:10px;color:#166534;background:#f0fdf4}.awd-confirm-window strong,.awd-confirm-window span{display:block}.awd-confirm-window span{margin-top:3px;color:#166534;font-size:12px;line-height:1.55}.awd-confirm-window.is-urgent{border-color:#fbbf24;color:#92400e;background:#fffbeb}.awd-confirm-window.is-urgent span{color:#92400e}@media(max-width:850px){.awd-warehouse-grid .awd-destination-card{order:-1}}.awd-warehouse-stage>.awd-warning{display:grid;gap:9px;padding:14px 16px;border:1px solid #fda4af;border-radius:10px;background:#fff1f2;font-size:13px;line-height:1.6}.awd-warehouse-stage>.awd-warning>p{margin:0;color:#881337}.awd-warehouse-stage>.awd-warning>.awd-row{justify-content:flex-start}.awd-packing-card{display:grid;gap:16px}.awd-packing-summary{display:flex;align-items:center;gap:28px;flex-wrap:wrap;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:16px}.awd-packing-summary>div{display:grid;gap:4px;min-width:130px}.awd-packing-summary strong{font-size:21px;color:#172b4d;font-variant-numeric:tabular-nums}.awd-packing-summary span{font-size:12px;color:#64748b}.awd-packing-summary>button{margin-left:auto}.awd-packing-details{border-top:1px solid #e2e8f0;padding-top:12px}.awd-packing-details>summary{cursor:pointer;line-height:1.7;color:#334155}.awd-packing-details>summary span{margin-left:10px;font-size:12px;color:#2563eb}.awd-packing-details>.awd-form{margin-top:12px}@media(max-width:640px){.awd-packing-summary{gap:16px}.awd-packing-summary>div{min-width:100px}.awd-packing-summary>button{margin-left:0;width:100%}.awd-packing-summary strong{font-size:18px}}.awd-order-actions{position:relative;font-size:13px;flex:0 0 auto}.awd-order-actions>summary{cursor:pointer;color:#475569;padding:8px 4px}.awd-order-actions[open]>.awd-stack{position:absolute;right:0;top:100%;z-index:12;width:min(340px,80vw);padding:16px;background:#fff;border:1px solid #cbd5e1;border-radius:8px;box-shadow:0 8px 24px #0f172a14}.awd-label-intro{display:flex;gap:12px;align-items:flex-start;color:#166534}.awd-label-intro p{margin:5px 0 0}.awd-label-intro strong{font-size:16px}.awd-label-downloads{padding:8px 0 4px}.awd-label-downloads h3{font-size:18px;margin:0}.awd-label-downloads p{margin:8px 0;line-height:1.6}.awd-label-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 12px}.awd-label-actions button{min-height:42px;justify-content:center}.awd-label-downloads .awd-print-note{font-size:12px;max-width:720px}.awd-create-review{padding:16px;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc}.awd-create-review p{line-height:1.6;margin:8px 0}.awd-batch-confirm{padding:14px 16px;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc}.awd-prep-control>summary{font-size:13px;font-weight:500;cursor:pointer;color:#334155}.awd-prep-control>summary span{margin-left:12px;font-size:12px;color:#64748b}.awd-table.awd-simple-products{min-width:0;width:100%;table-layout:fixed}.awd-simple-products tr>:nth-child(2),.awd-simple-products tr>:nth-child(3),.awd-simple-products tr>:nth-child(5),.awd-simple-products tr>:nth-child(7){display:none}.awd-simple-products tr>:nth-child(1){width:38%}.awd-simple-products tr>:nth-child(4){width:26%}.awd-simple-products tr>:nth-child(6){width:20%}.awd-simple-products .awd-prod-cell{min-width:0}.awd-simple-products .awd-prod-name{overflow:hidden}.awd-simple-products .awd-prod-name small{white-space:normal;overflow-wrap:anywhere}.awd-simple-products td{white-space:normal}.awd-simple-products .awd-carton-inputs{flex-wrap:wrap}.awd-spin{animation:awd-spin 1s linear infinite}@keyframes awd-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.awd-spin{animation:none}}@media(max-width:700px){.awd-label-actions{display:grid;grid-template-columns:1fr}.awd-label-actions button{width:100%;min-height:44px}.awd-label-downloads .awd-card-heading{align-items:flex-start}.awd-label-downloads h3{font-size:17px}.awd-order-actions[open]>.awd-stack{right:auto;left:0}.awd-simple-products thead{display:none}.awd-simple-products tbody{display:block}.awd-simple-products tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:14px 0;border-bottom:1px solid #e2e8f0}.awd-simple-products tr>td:nth-child(n){width:auto;min-width:0;border:0;padding:0}.awd-simple-products tr>td:nth-child(1){grid-column:1/-1}.awd-simple-products tr>td:nth-child(4){grid-column:1/-1}.awd-simple-products tr>td:nth-child(6){grid-column:1}.awd-simple-products tr>td:nth-child(8){grid-column:2;align-self:end}.awd-simple-products tr>td:nth-child(6):before{content:"发货箱数";display:block;color:#64748b;font-size:12px;margin-bottom:6px}.awd-simple-products .awd-carton-inputs input{height:40px;min-width:76px}.awd-simple-products td button{min-height:40px}}.is-labels .awd-summary .awd-order-meta{display:none}.is-labels .awd-top{justify-content:flex-start}.is-labels .awd-top>div{flex:1}@media(max-width:700px){.is-labels .awd-top{flex-wrap:nowrap;gap:10px;align-items:center}.is-labels .awd-top h1{font-size:20px}.is-labels .awd-top>button{white-space:nowrap}.is-labels .awd-summary{gap:8px;padding:12px}.is-labels .awd-summary>div{flex:1 1 100%}.is-labels .awd-summary .awd-save{margin-right:auto}.is-labels .awd-carton{padding:12px}.is-labels .awd-label-actions{margin:12px 0}}.awd-disclosure{min-width:0;display:block}.awd-disclosure>summary{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none;min-height:44px;margin:0;padding:10px 0;cursor:pointer;border-radius:6px}.awd-disclosure>summary::-webkit-details-marker{display:none}.awd-disclosure>summary:hover{color:#1d4ed8}.awd-disclosure>summary:focus-visible{outline:2px solid #2563eb;outline-offset:3px}.awd-disclosure-copy{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 14px;min-width:0}.awd-disclosure-title{font-size:13px;font-weight:600;color:#334155}.awd-disclosure-summary{font-size:12px;font-weight:400;color:#475569;overflow-wrap:anywhere}.awd-disclosure-action{display:inline-flex;align-items:center;gap:6px;flex:none;font-size:12px;font-weight:500;color:#475569}.awd-disclosure[open]>summary .awd-disclosure-action svg{transform:rotate(180deg)}.awd-disclosure[open]>summary{margin-bottom:0}.awd-disclosure-body{min-width:0;padding:8px 0 14px}.awd-disclosure-body>p{line-height:1.65}.awd-history-details>summary{padding:10px 14px}.awd-history-details>.awd-disclosure-body{padding:4px 14px 14px}.awd-packing-details{padding:0}.awd-packing-details>summary span{margin-left:0}.awd-packing-details>summary .awd-disclosure-title{font-size:13px;color:#334155}.awd-packing-details>summary .awd-disclosure-summary{font-size:12px;color:#475569}.awd-packing-card{gap:10px}.awd-packing-summary{border:0;border-radius:0;padding:6px 0 12px;background:transparent;gap:24px}.awd-packing-summary strong{font-size:19px}.awd-dimensions-form{grid-template-columns:repeat(4,minmax(0,1fr))}.awd-disclosure .awd-form{margin:0}.awd-disclosure .awd-form input[aria-invalid=true]{border-color:#b45309}.awd-shipping-form>.awd-target-setup,.awd-shipping-form>.awd-address-summary,.awd-shipping-form>.awd-address-editor{grid-column:1/-1}.awd-form-actions{grid-column:1/-1;gap:10px}.awd-transport-form{grid-template-columns:repeat(2,minmax(0,1fr));max-width:800px}.awd-transport-form>p{grid-column:1/-1}.awd-order-actions[open]>.awd-disclosure-body{position:absolute;right:0;top:100%;z-index:12;width:min(340px,80vw);padding:16px;background:#fff;border:1px solid #cbd5e1;border-radius:8px;box-shadow:0 8px 24px #0f172a14}.awd-disclosure-body .awd-warehouse-grid{gap:22px}.awd-disclosure-body .awd-warehouse-grid>.awd-warehouse-card{border:0;border-radius:0;padding:8px 0;background:transparent}.awd-disclosure-body .awd-warehouse-grid>.awd-destination-card{border-left:1px solid #e2e8f0;padding-left:22px}.awd-disclosure-body .awd-more-content{padding:0}.awd-page .awd-muted{color:#526279}@media(max-width:850px){.awd-disclosure-body .awd-warehouse-grid>.awd-destination-card{border-left:0;border-bottom:1px solid #e2e8f0;padding:8px 0 18px}}@media(max-width:640px){.awd-disclosure-copy{flex-direction:column;gap:4px}.awd-disclosure>summary{gap:10px}.awd-dimensions-form{grid-template-columns:repeat(2,minmax(0,1fr))}.awd-transport-form{grid-template-columns:1fr}.awd-packing-summary{gap:14px}.awd-packing-summary strong{font-size:17px}.awd-form-actions{display:grid;grid-template-columns:1fr;width:100%}.awd-form-actions>button{white-space:normal;height:auto;min-height:42px}}@media(max-width:640px){.awd-steps{grid-template-columns:repeat(3,minmax(0,1fr))}.awd-steps button{padding:8px 5px;font-size:11px;gap:5px}.awd-page.is-editing .awd-top{flex-wrap:nowrap;align-items:center}.awd-page.is-editing .awd-top h1{font-size:19px}.awd-page.is-editing .awd-top p{display:none}}.awd-field-label{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.awd-field-label em{color:#b45309;font-size:11px;font-style:normal;font-weight:600}.awd-field-label em.is-optional{color:#64748b;font-weight:400}.awd-transport-hint{grid-column:1/-1;margin:0}.awd-success-note,.awd-info-note{display:inline-flex;align-items:center;gap:5px}.awd-success-note{color:#166534}.awd-info-note{color:#526279}.awd-warning-icon{flex:none;color:#92400e}.awd-editor :is(input,select,button,summary){scroll-margin-block:96px}.awd-carton-dialog{box-sizing:border-box;width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:0;border-radius:14px;padding:24px;color:#172b4d;background:#fff;box-shadow:0 20px 60px #0f172a33}.awd-carton-dialog::backdrop{background:#0f172a6b}.awd-carton-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.awd-carton-dialog-header h2{font-size:20px;margin:0 0 6px;font-weight:650}.awd-carton-dialog-header span{color:#52627a;overflow-wrap:anywhere}.awd-carton-dialog .awd-muted{font-size:13px;color:#52627a;line-height:1.6;margin:16px 0 20px}.awd-carton-dialog .awd-icon-button{width:40px;min-height:40px;padding:0;display:grid;place-items:center;flex-shrink:0}.awd-carton-dialog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 12px}.awd-carton-dialog-grid label{display:grid;align-content:start;gap:7px;font-size:13px;font-weight:600;color:#374151}.awd-carton-dialog-grid input{box-sizing:border-box;width:100%;min-width:0;min-height:42px;padding:8px 12px;border:1px solid #b9c5d5;border-radius:7px;color:#172b4d;background:#fff;font-size:16px}.awd-carton-field-wide{grid-column:1/-1}.awd-carton-dialog [aria-invalid=true]{border-color:#b42318}.awd-carton-dialog .awd-field-error{color:#b42318;font-size:12px;font-weight:400}.awd-carton-dialog-actions{margin-top:24px;padding-top:18px;border-top:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between;gap:12px}.awd-carton-dialog .awd-text-button{border:0;background:transparent;padding:10px 0;color:#205db6;cursor:pointer;font-size:13px}.awd-carton-dialog :focus-visible{outline:2px solid #2563eb;outline-offset:3px}.awd-selected-product{align-items:flex-start;gap:12px}.awd-selected-product-main{flex-basis:100%}.awd-selected-product-controls{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;width:100%}.awd-selected-plan{align-self:center;margin-right:auto;font-size:13px;color:#52627a}.awd-selected-product select{box-sizing:border-box;min-height:38px;padding:6px 30px 6px 10px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;font-size:14px;color:#172b4d;max-width:100%}.awd-selected-product-controls .compact-button{min-height:38px}@media(max-width:600px){.awd-carton-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:20px}.awd-carton-dialog-grid{grid-template-columns:1fr;gap:14px}.awd-carton-dialog-actions{align-items:stretch;flex-direction:column}.awd-carton-dialog-actions .awd-row{display:grid;grid-template-columns:1fr 1fr}.awd-carton-dialog button{min-height:44px}.awd-selected-product-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px}.awd-selected-plan{grid-column:1/-1}.awd-selected-product label{min-width:0}.awd-selected-product input,.awd-selected-product select{width:100%;min-height:44px;font-size:16px}.awd-selected-product-controls .compact-button{min-height:44px}}.smart-cancel-dialog{width:min(500px,calc(100vw - 32px));max-height:calc(100dvh - 32px);box-sizing:border-box;padding:0;margin:auto;border:0;border-radius:12px;color:#111827;background:#fff;box-shadow:0 20px 50px #0f172a33;overflow-y:auto;overflow-wrap:anywhere}.smart-cancel-dialog::backdrop{background:#0f172a73}.smart-cancel-dialog .modal-header{padding:20px 24px 16px;border-bottom:1px solid #e5e7eb}.smart-cancel-dialog h2{margin:0;font-size:18px;font-weight:600}.smart-cancel-dialog .modal-header p{margin:6px 0 0;color:#475569;font-size:14px}.smart-cancel-dialog .modal-body{padding:24px}.smart-cancel-dialog .modal-footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid #e5e7eb}.smart-cancel-dialog .confirm-content,.smart-cancel-dialog .progress-content,.smart-cancel-dialog .result-content{display:flex;flex-direction:column;align-items:flex-start;gap:16px}.smart-cancel-dialog .warning-text{margin:0;font-size:16px;font-weight:600;line-height:1.6}.smart-cancel-dialog .warning-note{margin:0;color:#475569;font-size:14px;line-height:1.6}.smart-cancel-dialog .warning-icon{color:#a16207}.smart-cancel-dialog .success-icon{color:#15803d}.smart-cancel-dialog .error-icon{color:#b91c1c}.smart-cancel-dialog .progress-step{margin:0;font-size:14px;font-weight:600}.smart-cancel-dialog .spinner{width:32px;height:32px;border:3px solid #dbeafe;border-top-color:#2563eb;border-radius:50%;animation:awd-cancel-spin .8s linear infinite}.smart-cancel-dialog .cancel-steps{width:100%}.smart-cancel-dialog .steps-list{list-style:none;margin:0;padding:0}.smart-cancel-dialog .step-item{display:flex;align-items:flex-start;gap:10px;padding:10px 0}.smart-cancel-dialog .step-item+.step-item{border-top:1px solid #e5e7eb}.smart-cancel-dialog .step-icon{flex-shrink:0;margin-top:2px;color:#64748b}.smart-cancel-dialog .status-success .step-icon{color:#15803d}.smart-cancel-dialog .status-failed .step-icon{color:#b91c1c}.smart-cancel-dialog .step-content{display:flex;flex-direction:column;gap:4px;min-width:0}.smart-cancel-dialog .step-content strong{font-size:13px}.smart-cancel-dialog .step-content span{color:#475569;font-size:13px;line-height:1.5}.smart-cancel-dialog :focus-visible{outline:2px solid #2563eb;outline-offset:3px}@keyframes awd-cancel-spin{to{transform:rotate(360deg)}}@media(max-width:480px){.smart-cancel-dialog .modal-body,.smart-cancel-dialog .modal-header{padding:20px}.smart-cancel-dialog .modal-footer{padding:16px 20px}}@media(prefers-reduced-motion:reduce){.smart-cancel-dialog .spinner{animation:none}}
