: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-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}.secondary-button{height:36px;padding:0 14px;color:#374151;background:#fff;border:1px solid #d1d5db;font-weight:600;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 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}.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{display:grid;gap:16px}.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-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}.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}@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:260px;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}.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}.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.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-height:122px;display:grid;grid-template-columns:78px minmax(0,1fr) 88px;align-items:center;gap:10px;padding:18px 22px;box-sizing:border-box}.metric-icon{width:58px;height:58px;display:grid;place-items:center;color:#fff;background:#1677ff;border:12px solid #edf4ff;border-radius:999px;box-sizing:content-box}.metric-main{min-width:0}.metric-label{color:#374151;font-size:15px;font-weight:700}.metric-value{display:flex;align-items:baseline;gap:8px;margin-top:8px;color:#0f172a;font-size:32px;line-height:1;font-weight:500;white-space:nowrap}.metric-value span{font-size:14px}.metric-change{margin-top:10px;color:#64748b;font-size:14px;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-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}.product-table-wrap{overflow-x:auto;overflow-y:visible}.mobile-product-table-wrap{display:none}.product-table{width:100%;min-width:1640px;border-collapse:collapse;table-layout:auto}.mobile-product-table{width:100%;min-width:900px;border-collapse:collapse;table-layout:fixed}.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:nth-child(1){min-width:300px}.product-table th:nth-child(2),.product-table th:nth-child(3),.product-table th:nth-child(5),.product-table th:nth-child(6),.product-table th:nth-child(7){min-width:112px}.product-table th:nth-child(4){min-width:150px}.product-table th:nth-child(8){min-width:220px}.product-table th:nth-child(9){min-width:150px}.product-table th:nth-child(10){min-width:190px}.product-table th:nth-child(11){min-width:130px}.mobile-product-table th:nth-child(1){width:84px}.mobile-product-table th:nth-child(6),.mobile-product-table th:nth-child(7){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}.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}.product-identity-content img{width:58px;height:58px;flex:0 0 auto;object-fit:cover;border-radius:6px;background:#f1f5f9}.dense-info,.inventory-stack,.product-identity-text,.shipment-list,.tooltip-lines{min-width:0;display:grid;gap:4px}.mobile-product-cell{text-align:center}.mobile-product-media{display:inline-flex;align-items:center;justify-content:center;gap:6px}.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:54px;height:54px;object-fit:cover;border-radius:6px;background:#f1f5f9}.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}.today-units,.money-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}.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}.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}.manual-details-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.manual-details-actions{justify-content:flex-end}.note-modal{width:min(100%,520px)}.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: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}.topbar-actions{flex:0 0 auto;gap:6px}.updated-at,.topbar-sync-status,.topbar-icon-button.muted-dot,.notification-button,.notification-popover,.language-button,.user-button span{display:none}.topbar-icon-button,.user-button{width:32px;height:32px}.dashboard-main{padding:10px}.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(2,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;white-space:normal}.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}.mobile-product-table th,.mobile-product-table td{padding:9px 10px;font-size:13px}.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}.export-button{display:none}.manual-details-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.manual-details-modal{max-height:calc(100vh - 32px);overflow:auto}}
