.temu-sales-tabs{display:flex;gap:8px;margin:0 0 18px;border-bottom:1px solid var(--line);padding-bottom:10px}
.temu-sales-tabs button{padding:10px 18px;border:1px solid var(--line);border-radius:8px;background:var(--surface,#fff);color:var(--ink);font:inherit;cursor:pointer}
.temu-sales-tabs button[aria-selected=true]{color:#fff;background:var(--action,#14763d);border-color:var(--action,#14763d)}
#page-sales [hidden]{display:none!important}
.replenishment-panel{overflow:hidden}
.replenishment-explanation{padding:0 24px 15px;font-size:13px;line-height:1.9;color:var(--muted)}
.replenishment-explanation p{margin:0 0 8px}.replenishment-explanation strong{color:var(--ink)}
.replenishment-explanation details{margin-top:10px}.replenishment-explanation summary,.replenishment-settings summary{cursor:pointer;color:var(--ink)}
.replenishment-warning{color:#a46614}.replenishment-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:15px 24px;border-block:1px solid var(--line)}
.replenishment-toolbar label{display:flex;gap:8px;align-items:center;font-size:13px}.replenishment-toolbar input[type=search]{flex:1;min-width:190px}
.replenishment-toolbar :is(input,select),.replenishment-settings input,.replenishment-transit input{padding:9px 10px;border:1px solid var(--line);border-radius:7px;background:var(--surface,#fff);color:var(--ink);font:inherit}
.replenishment-settings{padding:15px 24px;border-bottom:1px solid var(--line);font-size:13px}.replenishment-settings form{display:flex;gap:16px;align-items:end;flex-wrap:wrap;margin:18px 0 10px}.replenishment-settings label{display:grid;gap:8px}.replenishment-settings input{width:125px}.replenishment-settings p{margin-bottom:0;line-height:1.8}
.replenishment-settings input:disabled{opacity:.7}.replenishment-settings summary span{margin-left:10px;font-size:12px}
.replenishment-error{margin:16px 24px;padding:12px 14px;background:#fcf0ed;border:1px solid #efb9b0;color:#ac3328;border-radius:8px;font-size:13px}
.replenishment-table{min-width:1660px!important;width:100%;font-variant-numeric:tabular-nums}.replenishment-table :is(th,td){vertical-align:top!important}.replenishment-table th{white-space:nowrap}.replenishment-table small{display:block;margin-top:7px;color:var(--muted);font-size:12px;font-weight:normal;line-height:1.7}
.replenishment-table .replenishment-product{min-width:290px;max-width:350px}.replenishment-product img{width:56px;height:56px;object-fit:cover;float:left;border:1px solid var(--line);border-radius:7px;margin:0 12px 8px 0}.replenishment-product strong{display:block;max-width:280px;line-height:1.6;overflow-wrap:anywhere}.replenishment-product code{font-size:12px;overflow-wrap:anywhere}.replenishment-product div>div{margin-top:7px;font-size:12px}
.replenishment-recommendation{min-width:245px;max-width:310px}.replenishment-suggestion{margin-top:12px;white-space:nowrap}.replenishment-quantity{font-size:22px;font-weight:700;color:var(--action,#14763d)}.replenishment-quantity small{display:inline}.replenishment-pending{color:var(--muted);font-weight:600}
.replenishment-status{display:inline-block;padding:4px 9px;border-radius:5px;font-size:12px;background:#edf4ee;color:#376747;white-space:nowrap}.replenishment-status.urgent{background:#ffebe6;color:#b4382b}.replenishment-status.replenish{background:#e6f3e9;color:#176a35}.replenishment-status.incomplete,.replenishment-status.stale{background:#fff1d9;color:#946315}.replenishment-status.no_demand{background:var(--surface-hover,#f3f4f5);color:var(--muted)}
.replenishment-table .replenishment-risk-note{color:#b04a36}.replenishment-transit{min-width:160px}.replenishment-transit form{display:flex;align-items:center;gap:6px}.replenishment-transit input{width:80px;padding:7px}.replenishment-transit button{padding:8px 10px;white-space:nowrap}.replenishment-time{min-width:155px;font-size:12px}
#replenishmentRows[aria-busy=true]{opacity:.45;pointer-events:none}.replenishment-panel button:disabled{opacity:.55;cursor:default}
body.theme-dark .replenishment-status.urgent{background:#522821;color:#ffafa0}body.theme-dark .replenishment-status.replenish{background:#193d27;color:#9cdab0}body.theme-dark .replenishment-status.enough{background:#243c2e;color:#a8d6b5}body.theme-dark :is(.replenishment-status.incomplete,.replenishment-status.stale){background:#493c22;color:#f2ca80}body.theme-dark .replenishment-risk-note{color:#efa493}body.theme-dark .replenishment-warning{color:#e4bf7e}body.theme-dark .replenishment-error{background:#492b28;border-color:#7c433b;color:#ffc5b9}body.theme-dark .replenishment-quantity{color:#9cdbaf}
@media(max-width:700px){.replenishment-toolbar,.replenishment-explanation,.replenishment-settings{padding-inline:16px}.replenishment-toolbar input[type=search]{flex-basis:100%}.replenishment-settings label{flex:1}.replenishment-settings input{width:100%}}
