:root{--ink:#17243b;--muted:#6d7b92;--nav:#11223e;--blue:#3561ef;--line:#e7ecf3;--bg:#f5f7fb;--green:#18836c}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei","Noto Sans CJK SC",Arial,sans-serif;font-size:16px;line-height:1.5}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}svg{width:21px;height:21px;flex-shrink:0}small{font-size:13px;color:var(--muted)}.sidebar{position:fixed;inset:0 auto 0 0;width:246px;background:var(--nav);color:#c0cadc;padding:32px 23px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:11px;color:#fff;font-size:25px;font-weight:750;letter-spacing:-1px}.brand-mark{background:var(--blue);color:white;border-radius:12px;display:grid;place-items:center;width:39px;height:39px;font-size:26px;font-weight:700;box-shadow:inset -6px -6px 0 #2449bd}.side-caption{font-size:13px;letter-spacing:1px;margin:7px 0 30px 50px;color:#8193b2}.workspace{display:flex;align-items:center;gap:12px;padding:17px 12px;background:#1b2d4b;border:1px solid #2b3c57;border-radius:10px;font-size:14px;color:#f1f4fa;margin-bottom:30px}.workspace-icon{background:#344866;border-radius:7px;width:32px;height:32px;display:grid;place-items:center;font-weight:700}.workspace small{display:block;color:#8c9fbb;font-size:12px;margin-top:2px}.nav-label{font-size:12px;color:#8092ae;padding:0 14px;margin-bottom:13px;letter-spacing:2px}nav{display:grid;gap:8px}nav a{display:flex;gap:14px;align-items:center;padding:14px 17px;border-radius:9px;font-size:15px;transition:.15s}nav a:hover{background:#1d3455;color:#fff}nav a.selected{background:var(--blue);color:#fff;box-shadow:0 5px 16px #091c4233}nav svg{width:20px}.side-note{margin-top:auto;padding:34px 12px 25px}.side-note b{font-size:16px;color:#dce5f7}.side-note p{font-size:13px;color:#8b9dbc;line-height:1.9}.platform-letters{display:flex;gap:8px}.platform-letters span{display:grid;place-items:center;width:29px;height:29px;border-radius:7px;font-size:13px;font-weight:bold}.platform-letters .shopee{background:#ee6738;color:#fff}.platform-letters .lazada{background:#874de5;color:#fff}.platform-letters .tiktok{background:#000;color:#fff}.side-user{border-top:1px solid #2c3b53;padding-top:23px;display:flex;align-items:center;gap:10px;font-size:14px}.side-user small{display:block;max-width:106px;overflow:hidden;text-overflow:ellipsis;font-size:12px;color:#8497b5}.side-user form{margin-left:auto}.avatar{width:33px;height:33px;display:grid;place-items:center;background:#e2eafb;color:#263d64;border-radius:50%;font-weight:700}.logout{background:none;border:0;color:#8b9db9;font-size:12px;padding:0}.main-shell{margin-left:246px;min-height:100vh}.topbar{height:82px;padding:0 38px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line);font-size:14px;color:var(--muted)}.topbar b{color:var(--ink);font-weight:500}.slash{margin:0 16px;color:#b8c1d1}.top-hint{font-size:13px}.content{padding:37px 38px 25px;max-width:1860px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:32px}.eyebrow{font-size:12px;letter-spacing:2px;color:#7a89a3;font-weight:650;margin-bottom:8px}h1{font-size:30px;letter-spacing:-.7px;margin:0 0 9px;line-height:1.3}h2{font-size:17px;margin:0;font-weight:650}h3{font-size:20px;margin:15px 0 8px}p{margin:0;color:var(--muted);font-size:14px}.heading-actions{display:flex;gap:12px;flex-shrink:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:11px 17px;border-radius:8px;border:1px solid transparent;font-size:14px;font-weight:600;white-space:nowrap;min-height:43px;transition:.15s}.button svg{width:17px;height:17px}.button:hover{filter:brightness(.96);transform:translateY(-1px)}.button.primary{color:#fff;background:var(--blue);box-shadow:0 3px 8px #3561ef18}.button.secondary{background:#fff;border-color:#dce3ed;color:#35435b}.button.small{min-height:33px;padding:6px 12px;font-size:13px}.text-button{color:var(--blue);border:0;background:transparent;padding:9px 0;font-size:14px}.period-caption{display:flex;align-items:center;gap:12px;font-size:14px;font-weight:600;margin-bottom:16px}.month-chip{background:#e7edfd;color:#4461b5;font-size:13px;border-radius:5px;padding:4px 9px;letter-spacing:.3px}.period-caption small{margin-left:auto;font-weight:400}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:28px}.stat{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px 21px;box-shadow:0 2px 4px #223b6903}.stat-title{display:flex;align-items:center;justify-content:space-between;color:#5a6a84;font-size:14px;margin-bottom:17px}.stat-title span{display:grid;place-items:center;width:30px;height:30px;background:#f0f3f9;color:#8092ac;border-radius:7px}.stat strong{display:block;font-size:27px;letter-spacing:-.8px;font-weight:650;margin-bottom:11px;white-space:nowrap}.stat small{font-size:12px;white-space:normal}.stat:nth-child(3){background:linear-gradient(120deg,#eef2ff,#fff);border-color:#d9e1fd}.stat:nth-child(3) strong{color:#355cd2}.stat:nth-child(3) .stat-title span{background:#e2e9ff;color:#5779e5}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 2px 6px #1c3a6903}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;gap:20px}.panel-heading h2 span{color:#8894a7;background:#f1f4f8;font-size:12px;margin-left:10px;font-weight:400;padding:4px 8px;border-radius:5px}.filters{display:flex;gap:13px;padding:0 24px 22px;align-items:flex-end;flex-wrap:wrap}.filters label{flex:1;min-width:130px}.filters .search-field{flex:1.6;min-width:190px}label{font-size:13px;display:flex;flex-direction:column;gap:8px;color:#596980}input,select{width:100%;min-height:42px;border:1px solid #dde4ef;background:#fff;border-radius:7px;padding:9px 11px;font-size:14px;color:#263751;min-width:0}input::placeholder{color:#a3adbd}input:focus,select:focus{border-color:#7a9af7;outline:3px solid #eaf0ff}select{appearance:none;padding-right:30px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237b899f' stroke-width='1.8'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}.table-scroll{overflow-x:auto;scrollbar-width:thin;scrollbar-color:#c9d3e4 transparent}table{border-collapse:collapse;width:100%;text-align:left;font-size:14px}th{background:#f8fafd;color:#7f8ba0;font-size:13px;font-weight:500;padding:14px 17px;white-space:nowrap;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}td{padding:18px 17px;border-bottom:1px solid #edf0f6;vertical-align:middle}td small{display:block;font-size:12px;margin-top:5px}.orders-table{min-width:1980px}.orders-table td{padding-top:19px;padding-bottom:19px}.orders-table th:first-child,.orders-table td:first-child{position:sticky;left:0;background:#fff;z-index:1;border-right:1px solid #eef1f6;min-width:185px}.orders-table th:first-child{background:#f8fafd;z-index:2}.orders-table .product{min-width:230px;max-width:320px;font-weight:550}.orders-table .date{font-size:13px;color:#697991;white-space:nowrap}.orders-table .order-id{font-size:13px;font-weight:550;white-space:nowrap;font-variant-numeric:tabular-nums}.num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.qty{text-align:center}.income{color:#1d8068;font-weight:550}.continuation td{border-top:0;background:#fcfdff}.continuation td:first-child{background:#fcfdff}.platform-tag{display:inline-flex;gap:8px;align-items:center;white-space:nowrap;font-size:13px;font-weight:600;color:#26354d}.platform-tag>span{width:23px;height:23px;display:grid;place-items:center;border-radius:6px;font-size:12px}.platform-tag.shopee>span{color:#eb602b;background:#fff0e9}.platform-tag.lazada>span{color:#7b4de5;background:#f1ebff}.platform-tag.tiktok>span{color:#142132;background:#eaf0f4}.badge{display:inline-block;border-radius:5px;background:#edf1f8;color:#697892;padding:4px 8px;white-space:nowrap;font-size:12px;font-weight:500}.badge-completed,.badge-done{background:#eaf6ef;color:#308564}.badge-refund,.badge-partial_refund{background:#fff0e9;color:#c16b35}.badge-refund_pending,.badge-failed{background:#fff0f0;color:#c76262}.badge-shipping,.badge-delivered,.badge-running{background:#eaf0ff;color:#5475cb}.badge-processing,.badge-queued{background:#f1f0ff;color:#7a73b6}.badge-unpaid{background:#fff8e9;color:#b28c34}.pending{font-size:13px;color:#a5afbf;font-weight:400}.table-footer{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;font-size:12px;color:#8793a5;gap:15px}.pagination{display:flex;gap:14px;align-items:center;white-space:nowrap}.report-notes{display:flex;gap:11px;margin:20px 3px;max-width:1000px;color:#8c9bb1;align-items:flex-start}.report-notes svg{width:17px;margin-top:1px}.report-notes p{font-size:13px;color:#8290a5;line-height:1.85}footer{font-size:12px;color:#96a2b5;padding:0 38px 28px;display:flex;justify-content:space-between;max-width:1860px;margin:auto}.empty{padding:64px 25px;text-align:center}.empty>svg{width:45px;height:45px;color:#b3c0dc}.empty p{margin-bottom:23px}.empty-cell{padding:40px;color:#8694a8;text-align:center}.notice{padding:14px 18px;background:#edf4ff;color:#385fad;border:1px solid #dce8ff;border-radius:8px;font-size:14px;margin-bottom:24px}.notice.error{color:#b04e4e;background:#fff2f2;border-color:#f5d8d8}.notice.demo{color:#8e722e;background:#fff9e9;border-color:#f2e7c6}.store-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:28px}.store-card{padding:24px}.store-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:21px;gap:10px}.store-card h2{font-size:20px;margin-bottom:5px}.store-card dl{margin:25px 0;display:grid;grid-template-columns:1fr;gap:4px;font-size:14px}.store-card dt{font-size:12px;color:#8f9cb0;margin-top:9px}.store-card dd{margin:0}.card-actions{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:18px}.form-panel{margin-bottom:25px}.form-grid{padding:3px 24px 26px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px}.form-bottom{grid-column:1/-1;border-top:1px solid var(--line);padding-top:23px;margin-top:5px;display:flex;align-items:center;justify-content:space-between;gap:20px}.full{grid-column:1/-1}.help-panel{padding:25px}.help-panel p{margin:10px 0 20px}.callback-row{display:flex;gap:20px;padding:12px 0;border-top:1px solid var(--line);font-size:14px}.callback-row b{min-width:80px;font-weight:500}.callback-row code{word-break:break-all;color:#6481b6;font-size:13px}.help-panel .muted{font-size:13px;margin-bottom:0}.jobs-panel{margin-top:25px}.sync-feedback{border-top:1px solid var(--line);padding:16px 24px;color:#7d8aa0;background:#fafbfe;font-size:13px}.filters .wide{min-width:220px}.job-error{max-width:380px;overflow-wrap:anywhere;font-size:13px;color:#a66b6b}.auth-shell{min-height:100vh;padding:45px 24px 70px;background:radial-gradient(ellipse at 20% 10%,#e1e9fd,transparent 60%)}.auth-shell>.brand{color:var(--ink);justify-content:center}.brand-sub{font-size:15px;color:#8290a8;font-weight:400;letter-spacing:1px;border-left:1px solid #cbd4e7;padding-left:15px;margin-left:6px}.auth-card{max-width:470px;margin:55px auto 0;background:#fff;border:1px solid #e1e8f3;border-radius:18px;padding:40px;box-shadow:0 15px 50px #2c4a7510}.auth-card h1{font-size:27px;margin-top:13px}.auth-card p{line-height:1.8}.auth-card form:not(.form-grid){display:grid;gap:22px;margin-top:30px}.auth-card form>.button{width:100%;margin-top:5px}.auth-platforms{display:flex;justify-content:space-between;border-top:1px solid var(--line);margin-top:35px;padding-top:23px}.auth-card .notice{margin-top:20px;margin-bottom:0}.install-card{max-width:750px;margin-top:35px}.install-card .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:0;margin-top:28px}.auth-shell>.notice{max-width:470px;margin:25px auto -20px}[hidden]{display:none!important}@media(min-width:1650px){.stat strong{font-size:31px}.orders-table{min-width:2000px}}@media(max-width:1200px){.sidebar{width:214px;padding:29px 18px}.main-shell{margin-left:214px}.content{padding:28px 25px}.topbar{padding:0 25px}.stats{gap:12px}.stat{padding:17px 15px}.stat strong{font-size:22px}.heading-actions{gap:8px}.store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.top-hint{display:none}}@media(max-width:900px){.page-heading{align-items:flex-start;flex-direction:column}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.store-grid{grid-template-columns:1fr}.panel-heading small{display:none}.form-grid{grid-template-columns:1fr}.table-footer{flex-direction:column;align-items:flex-start}footer span{display:none}}@media(max-width:650px){.sidebar{position:static;width:auto;padding:18px 16px 10px}.sidebar>.brand{font-size:23px}.side-caption,.workspace,.nav-label,.side-note,.side-user{display:none}.sidebar nav{display:flex;gap:5px;margin-top:20px;overflow:auto}.sidebar nav a{font-size:13px;gap:6px;white-space:nowrap;padding:10px}.sidebar nav svg{width:16px}.main-shell{margin:0}.topbar{height:52px;padding:0 18px}.content{padding:25px 16px}.page-heading{margin-bottom:25px}h1{font-size:27px}.heading-actions{width:100%}.heading-actions .button{flex:1}.stats{gap:10px;margin-bottom:22px}.stat{padding:15px 13px}.stat-title{font-size:13px;margin-bottom:12px}.stat-title span{width:24px;height:24px}.stat-title svg{width:16px}.stat strong{font-size:20px;letter-spacing:-.6px}.stat small{font-size:11px}.filters{padding:0 16px 18px;gap:10px}.filters label{min-width:calc(50% - 10px)}.filters .search-field{min-width:100%}.panel-heading{padding:20px 16px}.table-footer{padding:16px}.report-notes p{font-size:12px}.period-caption small{font-size:11px}.auth-shell{padding:30px 16px}.auth-card{padding:28px 23px;margin-top:35px}.install-card .form-grid{grid-template-columns:1fr}.auth-platforms{gap:12px;flex-wrap:wrap}.callback-row{flex-direction:column;gap:7px}.form-bottom{align-items:flex-start;flex-direction:column}.form-bottom .button{width:100%}.brand-sub{display:none}footer{padding:0 16px 20px}.form-grid{padding:0 16px 20px}}
.store-settings{margin-top:17px;border-top:1px solid var(--line);padding-top:13px;font-size:13px;color:var(--muted)}.store-settings summary{cursor:pointer}.store-settings form{display:grid;gap:13px;margin-top:16px}.store-settings label{font-size:12px}.store-settings input{font-size:13px}
