:root{font-family:Arial,Microsoft YaHei,sans-serif;color:#26352d;background:#f5f7f5;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{border:0;cursor:pointer}.admin-shell{min-height:100vh;display:flex}.sidebar{width:232px;min-height:100vh;background:#23362e;color:#dfe8e0;display:flex;flex-direction:column;padding:26px 14px}.admin-brand{display:flex;gap:11px;align-items:center;padding:0 14px 31px}.admin-brand>span{width:32px;height:32px;background:#e95639;color:#fff;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:16px}.admin-brand b{display:block;font-size:15px;letter-spacing:1px}.admin-brand small{display:block;color:#92a59a;font-size:10px;margin-top:3px}.workspace-label{font-size:9px;color:#71897c;letter-spacing:1.7px;padding:0 15px 9px}nav button{position:relative;display:flex;width:100%;align-items:center;gap:12px;padding:12px 15px;border-radius:3px;color:#a9bbb0;text-align:left;font-size:12px;margin:2px 0;background:transparent}nav button i{width:18px;font-style:normal;font-size:16px;text-align:center}nav button:hover,nav button.active{background:#395044;color:#fff}nav button.active{box-shadow:inset 3px 0 #e95639}nav button em{margin-left:auto;background:#e95639;color:#fff;border-radius:12px;padding:2px 6px;font-size:9px;font-style:normal}.side-footer{margin-top:auto;padding:16px 15px;color:#71897c;font-size:10px}.health{color:#abc2af;margin-bottom:12px}.health span{display:inline-block;width:6px;height:6px;background:#6ebe83;border-radius:50%;margin-right:6px}.main-area{flex:1;min-width:0}.admin-topbar{height:70px;background:#fff;border-bottom:1px solid #e7ece8;padding:0 40px;display:flex;justify-content:space-between;align-items:center;color:#a0aaa3;font-size:12px}.breadcrumb{color:#b1b9b3}.admin-topbar b{color:#526058;font-weight:500}.top-user{display:flex;align-items:center;gap:10px;color:#77837b}.user-avatar{width:28px;height:28px;border-radius:50%;background:#e8e2d9;color:#746e62;display:grid;place-items:center}.page-content{padding:37px 40px;max-width:1500px}.welcome,.page-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:27px}.welcome h1,.page-heading h1{margin:7px 0 4px;font-size:25px;font-weight:600;color:#26352d}.welcome p,.page-heading p{margin:0;color:#9aa59d;font-size:12px}.muted-label{color:#e95639;letter-spacing:1.4px;font-size:9px;font-weight:700}.outline-btn{border:1px solid #d8e1d9;color:#64736a;background:#fff;border-radius:3px;padding:9px 14px;font-size:12px}.primary-btn{border:0;border-radius:3px;padding:11px 18px;background:#e95639;color:#fff;font-size:12px}.primary-btn:disabled{opacity:.6}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.metric-grid article{background:#fff;padding:20px;border:1px solid #edf0ed;min-height:132px}.metric-grid span{display:block;color:#8c9890;font-size:11px;margin-bottom:16px}.metric-grid strong{display:block;font-size:24px;font-weight:600}.metric-grid small{display:block;font-size:10px;margin-top:12px}.up{color:#579464}.down{color:#e95639}.panel{background:#fff;border:1px solid #edf0ed;padding:22px}.overview-panel{margin-top:16px}.panel h2{font-size:15px;margin:0 0 7px}.overview-panel p,.settings-note{color:#849087;font-size:12px;line-height:1.7}.overview-panel .primary-btn{margin-top:12px}.toolbar{display:flex;align-items:center;gap:16px;margin-bottom:15px}.search-input{background:#fff;border:1px solid #e1e8e1;padding:10px 12px;width:250px;color:#a6afa8}.search-input input{border:0;outline:0;width:210px;font-size:11px;margin-left:6px}.tabs{display:flex;gap:4px;flex:1}.tabs button{padding:9px 13px;color:#8c9790;background:transparent;font-size:11px}.tabs button.active{background:#e7efe7;color:#416049}.table-panel{padding:22px 0;overflow:auto}table{border-collapse:collapse;width:100%;font-size:11px}th{text-align:left;color:#9aa59e;font-size:10px;font-weight:500;padding:0 22px 12px;border-bottom:1px solid #eef1ee;white-space:nowrap}td{padding:15px 22px;border-bottom:1px solid #f0f2f0;color:#5f6c63;white-space:nowrap}.product-cell{display:flex;gap:10px;align-items:center}.product-cell img{width:42px;height:42px;object-fit:cover}.product-cell b,.product-cell small{display:block}.product-cell b{font-size:11px;color:#48574e}.product-cell small{font-size:9px;color:#a6afa8;margin-top:5px}.price{color:#e95639;font-weight:600}.warning{color:#e95639}.category-chip,.status{display:inline-block;padding:4px 7px;border-radius:2px;font-size:9px;background:#eef3ef;color:#648067}.category-chip.fresh{background:#fff0eb;color:#e95639}.green-status{background:#ebf5ec;color:#60916b}.orange-status{background:#fff3e3;color:#ba8028}.gray-status{background:#f0f2f0;color:#929a94}.row-action{font-size:10px;color:#6f8d76;background:transparent}.panel-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:21px}.panel-head small{font-size:11px;color:#a0aaa3}.shipping-panel{max-width:660px}.shipping-panel label,.product-form label{display:block;margin:18px 0}.shipping-panel label>span,.product-form label>span{display:block;color:#59675f;font-size:12px;font-weight:600;margin-bottom:8px}.shipping-panel input,.product-form input,.product-form select{width:100%;height:38px;border:1px solid #dfe7df;padding:0 11px;color:#34443a;background:#fff;outline:none}.settings-note{margin:20px 0;padding:12px 14px;background:#f4f7f3}.placeholder-page{text-align:center;padding:92px 20px}.placeholder-page p{color:#9ca69f}.modal-mask{position:fixed;z-index:20;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;padding:20px;background:#1b282070}.product-form{width:min(510px,100%);max-height:92vh;overflow:auto;padding:25px;background:#fff;box-shadow:0 18px 45px #19261d33}.form-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #edf0ed;padding-bottom:15px}.form-head h2{margin:0;font-size:18px}.form-head button{font-size:27px;color:#93a097;background:transparent}.product-form small{display:block;margin-top:7px;color:#98a29c;font-size:10px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.full-width{width:100%;margin-top:6px}.toast{position:fixed;right:35px;bottom:30px;background:#23362e;color:#fff;padding:11px 18px;font-size:12px;z-index:30}.toast-enter-active,.toast-leave-active{transition:.2s}.toast-enter-from,.toast-leave-to{opacity:0;transform:translateY(8px)}@media (max-width:900px){.sidebar{width:72px;padding:20px 8px}.admin-brand div,.workspace-label,nav button{font-size:0}.admin-brand{padding:0 12px 30px}.admin-brand>span{flex:none}nav button{justify-content:center;padding:12px 0}nav button i{font-size:17px}nav button em{position:absolute;right:2px;top:2px}.side-footer{display:none}.admin-topbar{padding:0 20px}.page-content{padding:25px 20px}.metric-grid{grid-template-columns:repeat(2,1fr)}.toolbar{flex-wrap:wrap}.tabs{order:3;flex-basis:100%;overflow:auto}.page-heading{align-items:flex-start;gap:14px}.table-panel{margin:0 -20px}.form-grid{grid-template-columns:1fr}}.after-sale-box{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin:22px 0;padding:16px;background:#fff5f1;color:#795f56;font-size:12px}.after-sale-box>b{color:#e95639}.after-sale-box span{flex-basis:100%;color:#8d7b73}.after-sale-box .primary-btn,.after-sale-box .outline-btn{margin:0}.sku-editor{margin:20px 0;border:1px solid #e2e9e3;background:#f8faf8;padding:14px}.sku-editor-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:11px}.sku-editor-head b,.sku-editor-head small{display:block}.sku-editor-head b{font-size:12px;color:#59675f}.sku-editor-head small{max-width:310px;line-height:1.5}.sku-editor-head .outline-btn{padding:7px 10px;white-space:nowrap}.sku-editor-row{display:grid;grid-template-columns:1.1fr 1.6fr .9fr .8fr auto;gap:8px;align-items:center;margin-top:8px}.sku-editor-row input{min-width:0}.sku-editor-row input[readonly]{background:#f0f3f0;color:#8a968d}.sku-editor-row .row-action{padding:6px 3px;white-space:nowrap}@media (max-width:620px){.sku-editor-head{flex-direction:column}.sku-editor-row{grid-template-columns:1fr 1fr}.sku-editor-row .row-action{justify-self:start}.product-form{padding:20px}}.theme-toggle{display:grid;place-items:center;width:32px;height:32px;margin-right:4px;border:1px solid #d8e1d9;border-radius:50%;background:#fff;color:#64736a;font-size:17px;line-height:1;transition:.2s ease}.theme-toggle:hover{border-color:#e95639;color:#e95639}.theme-dark{background:#151c19;color:#dce6de}.theme-dark .sidebar{background:#101613;color:#dce6de}.theme-dark nav button{color:#91a79a}.theme-dark nav button:hover,.theme-dark nav button.active{background:#2a4035;color:#fff}.theme-dark .main-area{background:#151c19}.theme-dark .admin-topbar,.theme-dark .metric-grid article,.theme-dark .panel,.theme-dark .outline-btn,.theme-dark .product-form,.theme-dark .search-input{background:#202a25;color:#dce6de;border-color:#34443a}.theme-dark .admin-topbar{color:#a6b5ab}.theme-dark .breadcrumb,.theme-dark .admin-topbar b,.theme-dark .welcome h1,.theme-dark .page-heading h1,.theme-dark .panel h2,.theme-dark .product-cell b,.theme-dark .form-head h2,.theme-dark .session-item b,.theme-dark .conversation-head h2{color:#e5eee7}.theme-dark .welcome p,.theme-dark .page-heading p,.theme-dark .muted-label,.theme-dark .metric-grid span,.theme-dark th,.theme-dark td,.theme-dark .panel-head small,.theme-dark .product-cell small,.theme-dark .product-form small,.theme-dark .placeholder-page p,.theme-dark .settings-note,.theme-dark .overview-panel p{color:#96a89c}.theme-dark th,.theme-dark td{border-color:#34443a}.theme-dark .tabs button{color:#93a69a}.theme-dark .tabs button.active{background:#30483a;color:#dcebdd}.theme-dark .shipping-panel input,.theme-dark .product-form input,.theme-dark .product-form select,.theme-dark .product-form textarea,.theme-dark .search-input input,.theme-dark .agent-composer input{background:#18211d;color:#e5eee7;border-color:#3a4d40}.theme-dark .settings-note,.theme-dark .bot-hint,.theme-dark .session-panel,.theme-dark .admin-message-list{background:#1a231f;color:#a7b6aa}.theme-dark .category-chip,.theme-dark .status{background:#2d4034;color:#b9d2bd}.theme-dark .category-chip.fresh,.theme-dark .orange-status{background:#4a3328;color:#ffc19f}.theme-dark .green-status{background:#284334;color:#a9d4ad}.theme-dark .gray-status{background:#303936;color:#b0bdb4}.theme-dark .modal-mask{background:#0000009e}.theme-dark .toast{background:#e95639;color:#fff}.theme-dark .theme-toggle{border-color:#52685a;background:#26352d;color:#ffdb75}.theme-dark .user-avatar{background:#3d453d;color:#f0e8d8}.inline-count{margin-left:7px;padding:2px 6px;border-radius:10px;background:#f0f3ef;color:#8c9990;font-size:10px;font-style:normal}.tabs button.active .inline-count{background:#fff0eb;color:#e95639}.order-table td{vertical-align:top}.order-link{display:block;padding:0;color:#3e6249;background:transparent;font-size:11px;text-align:left}.order-items{display:block;max-width:220px;margin-top:6px;color:#9aa59e;font-size:10px;white-space:normal;line-height:1.5}.blue-status{background:#edf3ff;color:#5478b4}.primary-link{color:#e95639!important}.empty-table{text-align:center;color:#9aa59e!important;padding:42px!important}.order-detail-panel{margin-top:16px}.admin-shell.order-detail-open .order-data-state,.admin-shell.order-detail-open .order-table,.admin-shell.order-detail-open .page-content>.toolbar{display:none}.order-detail-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:20px}.order-detail-grid div{padding:14px;background:#f7f9f7}.order-detail-grid span,.order-detail-grid b{display:block}.order-detail-grid span{margin-bottom:8px;color:#96a097;font-size:10px}.order-detail-grid b{color:#536158;font-size:12px;font-weight:500}.status-history-panel{margin:20px 0;padding:18px 0 0;border-top:1px solid #edf0ed}.status-history-panel h3{margin:0 0 12px;color:#4b5f51;font-size:13px}.status-history-row{position:relative;display:grid;grid-template-columns:14px minmax(0,1fr) auto;gap:10px;align-items:start;padding:11px 0;color:#758279;font-size:11px}.status-history-row:not(:last-child):after{position:absolute;top:25px;left:4px;width:1px;height:calc(100% - 10px);background:#dfe8df;content:""}.status-history-dot{z-index:1;width:9px;height:9px;margin-top:3px;border-radius:50%;background:#6d9874}.status-history-row:first-of-type .status-history-dot{background:#e95639}.status-history-row b,.status-history-row small{display:block}.status-history-row b{color:#536158;font-weight:600}.status-history-row small{margin-top:4px;color:#98a39b;line-height:1.45}.status-history-row time{color:#9ba69e;font-size:10px;white-space:nowrap}.logistics-timeline{padding-top:17px;border-top:1px solid #edf0ed}.logistics-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;color:#4b5f51;font-size:12px}.trace-row{display:grid;grid-template-columns:150px 1fr;gap:15px;padding:11px 0;border-top:1px solid #f0f2f0;color:#77847b;font-size:11px;line-height:1.5}.no-logistics{padding:16px;background:#f7f9f7;color:#9aa59e;font-size:11px}.shipment-order-summary{display:flex;justify-content:space-between;padding:12px 14px;background:#f4f7f3;color:#718078;font-size:11px}.shipment-order-summary b{color:#405b49}.shipment-form>small{display:block;color:#98a29c;font-size:10px;line-height:1.5}.theme-dark .order-detail-grid div,.theme-dark .no-logistics{background:#1a231f}.theme-dark .status-history-panel,.theme-dark .logistics-timeline{border-color:#34443a}.theme-dark .status-history-panel h3,.theme-dark .status-history-row b,.theme-dark .logistics-head{color:#dce6de}.theme-dark .status-history-row small,.theme-dark .status-history-row time,.theme-dark .trace-row{color:#9aada0}.theme-dark .status-history-row:not(:last-child):after{background:#3a4d40}@media (max-width:900px){.order-detail-grid{grid-template-columns:repeat(2,1fr)}.trace-row{grid-template-columns:1fr;gap:3px}.status-history-row{grid-template-columns:14px minmax(0,1fr)}.status-history-row time{grid-column:2}}.chat-admin-layout{display:grid;grid-template-columns:330px minmax(0,1fr);gap:16px;min-height:490px}.session-panel,.conversation-panel{padding:0;overflow:hidden}.session-panel .panel-head{padding:22px 22px 14px;margin:0}.session-item{display:flex;width:100%;align-items:center;gap:10px;padding:14px 22px;background:#fff;border-top:1px solid #f0f2f0;text-align:left}.session-item:hover,.session-item.active{background:#f4f8f4}.session-avatar{display:grid;flex:none;width:34px;height:34px;place-items:center;background:#e8f0e5;color:#58745e;font-size:14px}.session-copy{display:block;min-width:0;flex:1}.session-copy b,.session-copy small{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.session-copy b{color:#45574b;font-size:12px}.session-copy small{margin-top:5px;color:#9aa59e;font-size:10px}.session-state{position:relative;flex:none;color:#9aa59e;font-size:9px}.session-state em{position:absolute;top:-9px;right:-8px;min-width:16px;height:16px;padding:0 4px;border-radius:10px;background:#e95639;color:#fff;font-size:9px;font-style:normal;line-height:16px;text-align:center}.empty-chat{padding:40px 20px;color:#a0aaa3;font-size:11px;text-align:center}.empty-chat.large{padding-top:190px;font-size:12px}.conversation-panel{display:flex;flex-direction:column}.conversation-head{display:flex;align-items:flex-start;justify-content:space-between;padding:22px;border-bottom:1px solid #edf0ed}.conversation-head h2{margin-bottom:6px}.conversation-head small{color:#a0aaa3;font-size:10px}.conversation-head button+button{margin-left:8px}.admin-message-list{flex:1;min-height:310px;padding:18px 22px;overflow:auto;background:#f7f9f7}.admin-message{max-width:78%;margin-bottom:14px}.admin-message.agent{margin-left:auto;text-align:right}.admin-message small{color:#9ca69e;font-size:9px}.admin-message p{display:inline-block;margin:5px 0 0;padding:10px 12px;background:#fff;color:#536158;font-size:11px;line-height:1.5;text-align:left}.admin-message.user p{background:#e4efe1}.admin-message.bot p{background:#eef2ed}.agent-composer{display:flex;gap:10px;padding:15px 22px;background:#fff;border-top:1px solid #edf0ed}.agent-composer input{flex:1;border:1px solid #dfe7df;outline:0;padding:0 11px;font-size:11px}.bot-hint{padding:15px 22px;background:#fff;border-top:1px solid #edf0ed;color:#9aa59e;font-size:10px}.rules-panel{margin-top:16px}.rules-panel table{margin:0 -22px;width:calc(100% + 44px)}.rule-reply{max-width:480px;white-space:normal!important;line-height:1.5}.product-form textarea{width:100%;min-height:100px;box-sizing:border-box;border:1px solid #dfe7df;padding:10px 11px;resize:vertical;outline:0;color:#34443a}.rule-enabled{display:flex!important;align-items:center;gap:8px;color:#59675f!important;font-size:12px!important;font-weight:400!important}.rule-enabled input{width:auto!important;height:auto!important}@media (max-width:900px){.chat-admin-layout{grid-template-columns:1fr}.session-panel{min-height:220px;max-height:300px;overflow:auto}.conversation-panel{min-height:500px}.rules-panel{overflow:auto}.rules-panel table{min-width:620px}}.order-data-state{display:flex;align-items:center;gap:10px;margin:-12px 0 15px;padding:10px 12px;background:#eff6ef;color:#66806a;font-size:11px}.order-data-state b{padding-right:10px;border-right:1px solid #d8e8d8;font-weight:600}.order-data-state.error{background:#fff4ef;color:#c06d57}.order-data-state.error b{border-color:#f0d2c8}.admin-login-page{min-height:100vh;display:grid;place-items:center;background:#f5f7f5}.admin-login-form{width:min(360px,calc(100% - 40px));padding:38px 34px;background:#fff;border:1px solid #e8eee9;box-shadow:0 18px 50px #23362e1a}.admin-login-mark{width:46px;height:46px;margin:0 auto 16px;display:grid;place-items:center;border-radius:50%;background:#e95639;color:#fff;font-size:21px;font-weight:700}.admin-login-form h1{margin:0;text-align:center;font-size:23px;font-weight:600}.admin-login-form>p{margin:8px 0 30px;color:#9aa59d;font-size:12px;text-align:center}.admin-login-form label{display:block;margin:16px 0}.admin-login-form label span{display:block;margin-bottom:8px;color:#59675f;font-size:12px;font-weight:600}.admin-login-form input{width:100%;height:40px;border:1px solid #dfe7df;padding:0 11px;outline:none;color:#34443a;background:#fff}.admin-login-form input:focus{border-color:#6f8d76}.logout-btn{padding:7px 10px;font-size:11px}.secondary-route-bar{display:flex;align-items:center;gap:10px;padding:18px 40px 0;color:#526058;font-size:13px;font-weight:600}.route-back-button{display:grid;place-items:center;width:32px;height:32px;border:1px solid #d8e1d9;border-radius:50%;background:#fff;color:#61756a;font-size:20px;line-height:1;transition:.2s ease}.route-back-button:hover{border-color:#e95639;color:#e95639}.theme-dark .secondary-route-bar{color:#e5eee7}.theme-dark .route-back-button{border-color:#52685a;background:#26352d;color:#dce6de}@media (max-width:900px){.secondary-route-bar{padding:18px 20px 0}}
