.app-page {
  display: none;
}
.app-page.active {
  display: block;
}
.primary,
.empty button {
  border: 0;
  border-radius: 8px;
  background: #2670ef;
  color: #fff;
  padding: 10px 15px;
  font-weight: 700;
}
.empty {
  text-align: center;
  padding: 90px 20px;
}
.empty > b {
  display: grid;
  place-items: center;
  margin: auto;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #e9f0ff;
  color: #2670ef;
  font-size: 25px;
}
.empty h2 {
  margin: 16px 0 6px;
}
.empty p {
  color: #71809a;
  margin: 0 0 18px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-grid label {
  margin: 0;
}
.form-grid select {
  width: 100%;
  padding: 12px;
  border: 1px solid #dfe5ef;
  border-radius: 9px;
  margin-top: 7px;
  background: #fff;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
}
.form-actions button {
  border: 1px solid #dfe5ef;
  background: #fff;
  border-radius: 8px;
  padding: 10px 16px;
}
.form-actions .primary {
  background: #2670ef;
  color: #fff;
}
.error {
  color: #d84f5d;
  font-size: 12px;
}
.member-row,
.log-row {
  display: grid;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid #edf0f5;
  font-size: 12px;
}
.member-row {
  grid-template-columns: 1.2fr 1fr 0.7fr 0.6fr;
}
.log-row {
  grid-template-columns: 1fr 1.4fr 1fr;
}
.member-row small,
.log-row small {
  color: #71809a;
}

/* Audit log */
.audit-header{align-items:flex-end;margin-bottom:20px}.audit-refresh{border:1px solid #d8e3f3;background:#fff;color:#2069dc;border-radius:10px;padding:10px 15px;font-weight:700;box-shadow:0 6px 18px #1837680a}.audit-refresh:hover{border-color:#2670ef;background:#f7faff}.audit-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:16px}.audit-stats article{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid #e5ebf4;border-radius:14px;padding:17px 19px;box-shadow:0 9px 26px #18376808}.audit-stat-icon{display:grid;place-items:center;width:39px;height:39px;border-radius:11px;font-family:var(--font-tech);font-weight:800}.audit-stat-icon.blue{color:#2069dc;background:#eaf2ff}.audit-stat-icon.green{color:#078861;background:#e3f8ef}.audit-stat-icon.amber{color:#a4650b;background:#fff2d8}.audit-stats small{display:block;color:#7e8da4;font-size:11px}.audit-stats strong{display:block;margin-top:3px;font-family:var(--font-tech);font-size:22px;color:#102544}.audit-panel{padding:0;overflow:hidden}.audit-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;border-bottom:1px solid #e9eef5}.audit-toolbar h2{margin:0;font-size:16px}.audit-toolbar p{margin:5px 0 0;color:#8491a4;font-size:11px}.audit-filters{display:flex;gap:9px}.audit-search{display:flex;align-items:center;gap:7px;width:230px;padding:0 11px;border:1px solid #dce4ef;border-radius:9px;background:#f9fbfe}.audit-search span{color:#6f8098}.audit-search input{width:100%;height:36px;border:0;outline:0;background:transparent;font-size:12px}.audit-filters select{min-width:130px;border:1px solid #dce4ef;border-radius:9px;background:#fff;padding:0 11px;color:#304460;font-size:12px}.log-table-head,.log-row{display:grid;grid-template-columns:1.2fr 1fr .85fr;gap:18px;align-items:center}.log-table-head{padding:10px 20px;background:#f7f9fc;color:#8491a4;font-size:10px;font-weight:700}.log-row{padding:13px 20px;border-top:1px solid #edf1f6;transition:.16s}.log-row:hover{background:#f9fbff;box-shadow:inset 3px 0 #2670ef}.log-action,.log-member{display:flex;align-items:center;gap:11px;min-width:0}.log-action strong,.log-action small,.log-row time strong,.log-row time small{display:block}.log-action strong,.log-member strong,.log-row time strong{color:#172b49;font-size:12px}.log-action small,.log-row time small{margin-top:3px;color:#8794a7;font-size:9px}.log-icon,.member-avatar{display:grid;place-items:center;flex:0 0 auto;border-radius:10px;font-weight:800}.log-icon{width:35px;height:35px}.log-icon.blue{color:#2069dc;background:#eaf2ff}.log-icon.violet{color:#7551d6;background:#f0eaff}.log-icon.green{color:#078861;background:#e3f8ef}.log-icon.amber{color:#a4650b;background:#fff2d8}.log-icon.slate{color:#5f6f85;background:#edf1f6}.member-avatar{width:29px;height:29px;color:#fff;background:linear-gradient(135deg,#2670ef,#664ee8);font-size:11px}.log-row time{text-align:left}.audit-empty{padding:54px 20px;text-align:center;color:#8190a5}.audit-empty>span{display:grid;place-items:center;width:42px;height:42px;margin:0 auto 10px;border-radius:50%;background:#f0f4fa;font-size:20px}.audit-empty strong{display:block;color:#31445f}.audit-empty p{margin:5px 0 0;font-size:11px}
@media(max-width:800px){.audit-header{align-items:flex-start}.audit-stats{grid-template-columns:1fr}.audit-toolbar{align-items:flex-start;flex-direction:column}.audit-filters{width:100%;flex-direction:column}.audit-search{box-sizing:border-box;width:100%}.audit-filters select{height:38px}.log-table-head{display:none}.log-row{grid-template-columns:1fr auto}.log-member{grid-column:1}.log-row time{grid-column:2;grid-row:1/3}.log-action{grid-column:1/3}}
.role {
  justify-self: start;
  padding: 4px 8px;
  background: #e9f0ff;
  color: #2670ef;
  border-radius: 12px;
}
.toast {
  position: fixed;
  right: 25px;
  bottom: 25px;
  background: #18243a;
  color: #fff;
  padding: 12px 18px;
  border-radius: 9px;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.2s;
}
.toast.show {
  opacity: 1;
  transform: none;
}
.actions button,
.go-task,
.quick-auction,
nav button,
#refresh,
#refreshMembers,
#refreshStores,
#showMemberForm,
#logout {
  cursor: pointer;
}
.actions button:hover {
  border-color: #2670ef;
  background: #f1f6ff;
}
.good {
  color: #13a36e;
}
.offline {
  color: #d9822b;
  background: #fff5e8;
  padding: 8px 12px;
  border-radius: 18px;
  font-size: 12px;
}
.store-row {
  display: grid;
  grid-template-columns: 14px minmax(180px, 1.4fr) 70px minmax(120px, 1fr) 92px;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid #edf0f5;
}
.store-row:first-child {
  border-top: 0;
}
.store-row strong,
.store-row small {
  display: block;
}
.store-row small,
.store-note,
.privacy-tip {
  color: #71809a;
  font-size: 12px;
}
.store-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #aeb8c8;
}
.store-dot.is-online {
  background: #18bd82;
  box-shadow: 0 0 0 4px #dff8ee;
}
.store-state {
  font-size: 12px;
}
.open-store {
  border: 1px solid #bdd0f5;
  background: #f2f6ff;
  color: #2467d8;
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}
.open-store:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.privacy-tip {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #edf0f5;
}
@media (max-width: 800px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .member-row,
  .log-row {
    grid-template-columns: 1fr 1fr;
  }
  .store-row {
    grid-template-columns: 14px 1fr auto;
  }
  .store-note {
    grid-column: 2/4;
  }
  .open-store {
    grid-column: 2/4;
  }
}

.auction-header{align-items:center;margin-bottom:20px}.auction-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:16px}.auction-stats article{background:#fff;border:1px solid #e6ebf3;border-radius:14px;padding:17px 20px;box-shadow:0 8px 24px #1f31520a}.auction-stats small{display:block;color:#8390a4;font-size:11px}.auction-stats strong{display:block;margin-top:6px;font-family:var(--font-tech);font-size:24px}.auction-panel{padding:0;overflow:hidden}.auction-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-bottom:1px solid #e8edf4}.auction-toolbar h2{margin:0}.auction-toolbar p{margin:5px 0 0;color:#8390a4;font-size:11px}.auction-table-head,.auction-row{display:grid;grid-template-columns:minmax(250px,1.5fr) minmax(150px,.9fr) 110px 110px minmax(170px,1fr);align-items:center;gap:16px}.auction-table-head{padding:10px 20px;background:#f8fafc;color:#8995a7;font-size:10px;font-weight:700}.auction-row{padding:13px 20px;border-top:1px solid #edf1f6;font-size:12px;transition:.16s}.auction-row:hover{background:#f8fbff;box-shadow:inset 3px 0 #397df2}.auction-row strong,.auction-row small{display:block}.auction-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.auction-row small{margin-top:5px;color:#8491a4;font-size:10px}.logistics-pill{justify-self:start;padding:5px 9px;border-radius:14px;font-weight:700;font-size:10px}.logistics-pill.signed{color:#12805b;background:#e5f8ef}.logistics-pill.moving{color:#9a6717;background:#fff3d9}@media(max-width:1050px){.auction-stats{grid-template-columns:1fr 1fr}.auction-table-head,.auction-row{grid-template-columns:minmax(220px,1.4fr) minmax(140px,1fr) 90px 110px}.auction-table-head span:last-child,.auction-row>div:last-child{display:none}}@media(max-width:800px){.auction-stats{grid-template-columns:1fr 1fr}.auction-toolbar{align-items:flex-start;flex-direction:column}.auction-toolbar .store-search{width:100%}.auction-table-head{display:none}.auction-row{grid-template-columns:1fr auto}.auction-row>div:first-child{grid-column:1/3}.auction-row>div:nth-child(2){grid-column:1}.auction-row>span:nth-child(3){grid-column:2}.auction-row>span:nth-child(4){grid-column:1/3}.auction-row>div:last-child{display:block;grid-column:1/3}}

/* Store workspace */
.store-header {
  align-items: center;
  margin-bottom: 22px;
}
.store-header h1 {
  font-size: 30px;
  letter-spacing: -0.8px;
}
.store-header .online,
.store-header .offline {
  box-shadow: 0 7px 18px #1b9e6b18;
  font-weight: 700;
}
.store-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
.store-stats article {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #e7edf6;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 8px 24px #1f31520a;
}
.metric-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-weight: 800;
}
.metric-icon.blue {
  color: #2670ef;
  background: #eaf2ff;
}
.metric-icon.green {
  color: #159267;
  background: #e5f8ef;
}
.metric-icon.gray {
  color: #69788f;
  background: #eef1f6;
}
.store-stats small {
  display: block;
  color: #8290a6;
  font-size: 11px;
}
.store-stats strong {
  display: block;
  margin-top: 3px;
  font-size: 24px;
  line-height: 1;
}
.store-panel {
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
}
.store-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 20px;
  border-bottom: 1px solid #e9edf4;
}
.store-toolbar h2 {
  margin: 0;
  font-size: 16px;
}
.store-toolbar > div > p {
  margin: 5px 0 0;
  color: #8996a9;
  font-size: 11px;
}
.store-tools {
  display: flex;
  align-items: center;
  gap: 9px;
}
.store-search {
  position: relative;
  margin: 0;
  width: 250px;
}
.store-search span {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #8a97aa;
  font-size: 18px;
}
.store-search input {
  height: 38px;
  margin: 0;
  padding: 0 12px 0 35px;
  background: #f7f9fc;
  border-color: #e1e7f0;
}
.store-search input:focus {
  background: #fff;
  border-color: #8cb4fa;
  box-shadow: 0 0 0 3px #2670ef12;
}
.filter-tabs {
  display: flex;
  padding: 3px;
  background: #f1f4f8;
  border-radius: 10px;
}
.filter-tabs button {
  border: 0;
  background: transparent;
  color: #6f7e93;
  border-radius: 7px;
  padding: 7px 11px;
  font-size: 11px;
  cursor: pointer;
}
.filter-tabs button.active {
  background: #fff;
  color: #1f66df;
  box-shadow: 0 2px 8px #1d315018;
  font-weight: 700;
}
.refresh-store {
  height: 38px;
  border: 1px solid #dce4ef;
  background: #fff;
  color: #4e6078;
  border-radius: 9px;
  padding: 0 12px;
}
.refresh-store:hover {
  border-color: #91b5f4;
  color: #1f66df;
}
.store-table-head,
.store-row {
  display: grid;
  grid-template-columns: minmax(300px, 1.65fr) 100px minmax(140px, 0.8fr) 112px;
  align-items: center;
  gap: 18px;
}
.store-table-head {
  padding: 10px 20px;
  background: #f8fafc;
  color: #8a97a9;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
}
.store-row {
  padding: 13px 20px;
  border-top: 1px solid #edf1f6;
  transition: 0.18s;
}
.store-row:hover {
  background: #f8fbff;
  box-shadow: inset 3px 0 #397df2;
}
.store-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.store-avatar {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, #e8f1ff, #f2edff);
  color: #2a6bdc;
  font-weight: 800;
}
.store-main > div {
  min-width: 0;
}
.store-main strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  color: #15243c;
}
.store-main small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 5px;
  color: #8592a5;
  font-size: 10px;
}
.store-main small i {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #c5cdd8;
  margin: 0 7px 2px;
}
.store-state {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 10px;
}
.store-state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.online-state {
  color: #12805b;
  background: #e5f8ef;
}
.online-state i {
  background: #1cc18a;
  box-shadow: 0 0 0 3px #c9f2e3;
}
.offline-state {
  color: #718096;
  background: #eef1f5;
}
.offline-state i {
  background: #9ba8b9;
}
.store-note {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #7c899d;
}
.open-store {
  justify-self: end;
  min-width: 96px;
  border: 1px solid #cdd9ea;
  background: #fff;
  color: #4b5f7b;
  border-radius: 9px;
  padding: 9px 12px;
  font-size: 11px;
  font-weight: 700;
  transition: 0.18s;
}
.open-store span {
  margin-left: 5px;
}
.open-store:hover {
  transform: translateY(-1px);
  border-color: #8eb4f7;
  color: #2467d8;
  box-shadow: 0 6px 16px #286bdd18;
}
.open-store.enter {
  border-color: #bcd2fb;
  background: #edf4ff;
  color: #2467d8;
}
.privacy-tip {
  margin: 0;
  padding: 13px 20px;
  border-top: 1px solid #edf1f6;
  background: #fbfcfe;
  color: #8793a5;
}
.privacy-tip span {
  color: #2d73ed;
}
.store-empty {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #8090a6;
}
.store-empty b {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #f0f4fa;
  font-size: 22px;
}
.store-empty strong {
  margin-top: 12px;
  color: #405069;
}
.store-empty small {
  margin-top: 5px;
}
.loading-state {
  padding: 60px;
  text-align: center;
  color: #8290a6;
}
.order-header .primary{white-space:nowrap;box-shadow:0 8px 20px #2670ef2b}.order-table-head,.order-row{display:grid;grid-template-columns:minmax(300px,1.45fr) minmax(150px,.8fr) 105px minmax(210px,1fr) 145px;align-items:center;gap:16px}.order-table-head{padding:10px 20px;background:#f8fafc;color:#8a97a9;font-size:10px;font-weight:700}.order-row{padding:14px 20px;border-top:1px solid #edf1f6;font-size:12px}.order-row:hover{background:#f8fbff;box-shadow:inset 3px 0 #397df2}.order-row strong,.order-row small{display:block}.order-row small{margin-top:4px;color:#8290a6}.order-status{justify-self:start;padding:5px 9px;border-radius:14px;background:#edf4ff;color:#2467d8;font-weight:700;font-size:10px}.order-tools{flex-wrap:wrap;justify-content:flex-end}.order-tools select{height:38px;border:1px solid #dce4ef;border-radius:9px;background:#fff;color:#4e6078;padding:0 10px}.date-filter{display:flex;align-items:center;gap:5px;margin:0;color:#71809a;font-size:10px}.date-filter input{width:132px;height:38px;margin:0;padding:0 8px}.order-product{display:flex;align-items:center;gap:11px;min-width:0}.order-product img,.order-image{width:44px;height:44px;object-fit:cover;border-radius:9px;background:#eef3fa;display:grid;place-items:center;color:#8290a6;flex:0 0 44px}.order-product>div{min-width:0}.order-product strong,.order-product small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-money b{color:#17253a}.order-money small:last-child{color:#12805b;font-weight:700}@media(max-width:1100px){.order-toolbar{align-items:flex-start;flex-direction:column}.order-tools{width:100%;justify-content:flex-start}.order-table-head,.order-row{grid-template-columns:minmax(270px,1.4fr) 140px 100px minmax(190px,1fr)}.order-table-head span:last-child,.order-row>small:last-child{display:none}}@media(max-width:900px){.order-table-head{display:none}.order-row{grid-template-columns:1fr auto}.order-row>div:first-child{grid-column:1/3}.order-row>small:last-child{display:block;grid-column:1/3}}
.order-gallery{display:flex;max-width:150px;gap:4px;overflow-x:auto;flex:0 0 auto;padding-bottom:3px;scrollbar-width:thin}.order-gallery img{width:44px!important;height:44px!important;flex:0 0 44px;border:1px solid #e1e8f2}.sku-list{color:#536b91!important}.order-gallery::-webkit-scrollbar{height:3px}.order-gallery::-webkit-scrollbar-thumb{background:#bdc9d9;border-radius:3px}
.order-flag{display:inline-block;margin-left:6px;padding:2px 6px;border-radius:10px;font-size:9px;font-style:normal}.order-flag.refund{color:#b45309;background:#fff1d6}.order-flag.cancel{color:#b42338;background:#ffe7eb}.order-row.is-refund{box-shadow:inset 3px 0 #e5a733}.order-row.is-cancel{box-shadow:inset 3px 0 #d95b69}
.sync-progress{margin-bottom:16px;padding:16px 20px}.progress-top,.progress-meta{display:flex;align-items:center;justify-content:space-between;gap:14px}.progress-top>div{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:2px 9px}.progress-top small{grid-column:2;color:#7c899d}.progress-dot{width:9px;height:9px;border-radius:50%;background:#aab5c5}.progress-dot.running{background:#2670ef;box-shadow:0 0 0 5px #2670ef18;animation:pulse 1.4s infinite}.progress-dot.done{background:#18ad79}.progress-dot.failed{background:#d84f5d}.progress-track{height:7px;margin:14px 0;background:#edf1f6;border-radius:5px;overflow:hidden}.progress-track i{display:block;width:0;height:100%;background:linear-gradient(90deg,#2670ef,#625bf6);border-radius:5px;transition:.4s}.progress-meta{justify-content:flex-start;color:#7c899d;font-size:10px}.progress-meta span{padding-right:22px}.progress-meta b{color:#25354c}@keyframes pulse{50%{opacity:.45}}
#syncOrders:disabled{cursor:not-allowed;opacity:.58;box-shadow:none;background:#7f91ad}
@media (max-width: 1050px) {
  .store-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .store-tools {
    width: 100%;
  }
  .store-search {
    flex: 1;
  }
  .store-table-head,
  .store-row {
    grid-template-columns: minmax(260px, 1fr) 90px 110px;
  }
  .store-table-head span:nth-child(3),
  .store-note {
    display: none;
  }
}
@media (max-width: 800px) {
  .store-stats {
    grid-template-columns: 1fr;
  }
  .store-tools {
    align-items: stretch;
    flex-wrap: wrap;
  }
  .store-search {
    width: 100%;
    flex-basis: 100%;
  }
  .store-table-head {
    display: none;
  }
  .store-row {
    grid-template-columns: 1fr auto;
    padding: 15px;
  }
  .store-main {
    grid-column: 1/3;
  }
  .store-state {
    grid-column: 1;
  }
  .open-store {
    grid-column: 2;
  }
  .store-panel {
    overflow: visible;
  }
  .store-header {
    align-items: flex-start;
    gap: 12px;
  }
  .store-header .online,
  .store-header .offline {
    white-space: nowrap;
  }
}
.order-store-picker{margin-bottom:16px;padding:18px 20px}.picker-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.picker-head h2{margin:0 0 4px}.picker-head p{margin:0;color:#71809b}.picker-head button{margin-left:8px;border:1px solid #d7e0ef;background:#fff;border-radius:9px;padding:8px 12px;color:#3564ad}.store-check-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:10px}.store-check{display:flex;align-items:center;gap:10px;border:1px solid #dbe4f1;border-radius:10px;padding:10px 12px;background:#fbfdff}.store-check input{width:17px;height:17px}.store-check span{display:flex;flex-direction:column;min-width:0}.store-check b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.store-check small{color:#26a269}.store-check.offline-check{opacity:.55}.store-check.offline-check small{color:#8793a8}.order-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
.sync-modes{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:15px;padding-top:14px;border-top:1px solid #e8edf5;color:#52647e;font-size:12px}.sync-modes strong{color:#182740}.sync-modes label{display:flex;align-items:center;gap:6px;margin:0}.sync-modes input{width:16px;height:16px;margin:0}.order-flag.alert{color:#b42318;background:#fee4e2}.order-row,.after-row{cursor:pointer}.detail-mask{position:fixed;inset:0;z-index:50;background:#0b18345c;backdrop-filter:blur(3px)}.detail-drawer{position:absolute;right:0;top:0;width:min(520px,92vw);height:100%;overflow:auto;background:#fff;padding:32px;box-shadow:-18px 0 50px #1022402b}.detail-drawer>button{position:absolute;right:20px;top:16px;border:0;background:#eef2f7;border-radius:50%;width:34px;height:34px;font-size:22px}.detail-drawer h2{font-family:var(--font-tech);word-break:break-all}.detail-tags{display:flex;gap:8px;margin:12px 0 22px}.detail-tags span{padding:5px 9px;border-radius:15px;background:#edf4ff;color:#2467d8;font-size:11px}.detail-tags .warn{background:#fff1d6;color:#a66100}.detail-tags .danger{background:#ffe7eb;color:#b42338}.detail-drawer dl{display:grid;grid-template-columns:100px 1fr;border:1px solid #e5ebf3;border-radius:12px;overflow:hidden}.detail-drawer dt,.detail-drawer dd{margin:0;padding:11px 13px;border-bottom:1px solid #edf1f6}.detail-drawer dt{background:#f8fafc;color:#738197}.detail-images{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px}.detail-images img{width:100%;aspect-ratio:1;object-fit:cover;border:1px solid #e1e8f2;border-radius:11px}.issue-box{display:flex;flex-direction:column;gap:6px;margin-top:16px;padding:13px;border:1px solid #fecaca;background:#fff7f7;border-radius:10px;color:#b42318}.after-table-head,.after-row{display:grid;grid-template-columns:minmax(280px,1.5fr) minmax(150px,.8fr) 120px 150px 100px;align-items:center;gap:16px}.after-table-head{padding:10px 20px;background:#f8fafc;color:#8a97a9;font-size:10px;font-weight:700}.after-row{padding:14px 20px;border-top:1px solid #edf1f6;font-size:12px}.after-row:hover{background:#f8fbff;box-shadow:inset 3px 0 #e5a733}.after-type{justify-self:start;padding:5px 9px;border-radius:14px;background:#fff1d6;color:#a66100;font-weight:700;font-size:10px}@media(max-width:900px){.after-table-head{display:none}.after-row{grid-template-columns:1fr auto}.after-row>div:first-child{grid-column:1/3}.sync-modes{align-items:flex-start;flex-direction:column;gap:9px}}
.status-history{margin-top:18px;padding:14px;border:1px solid #e5ebf3;border-radius:12px}.status-history>div{margin-top:10px}.status-history p{display:grid;grid-template-columns:10px 1fr auto;align-items:center;gap:8px;margin:8px 0;color:#43546c}.status-history i{width:8px;height:8px;border-radius:50%;background:#2670ef}.status-history small{color:#8793a8}
.member-row{grid-template-columns:1.2fr 1fr .7fr .6fr auto}.edit-member{border:1px solid #bfd1ef;background:#f1f6ff;color:#2467d8;border-radius:8px;padding:7px 10px;cursor:pointer}.permission-drawer>label{display:block;margin-top:20px}.permission-drawer select{width:100%;margin-top:7px;padding:11px;border:1px solid #dfe6f0;border-radius:9px;background:#fff}.permission-list{display:grid;gap:10px;margin:20px 0;padding:16px;border:1px solid #e4eaf3;border-radius:12px;background:#f9fbfe}.permission-list label{display:flex;align-items:center;gap:9px;margin:0}.permission-list input{width:17px;height:17px}.permission-save{width:100%;cursor:pointer}

/* Premium operations console */
body{background:#f1f4f9;color:#14233a}.shell{background:radial-gradient(circle at 92% 0,#e7eefb 0,transparent 31%),linear-gradient(145deg,#f5f7fb,#eef2f7)}
aside{width:252px;padding:22px 17px;background:radial-gradient(circle at 20% 0,#1d365e 0,transparent 28%),linear-gradient(180deg,#101d36 0,#0c172b 100%);border-right:1px solid #ffffff0a;box-shadow:16px 0 45px #17243a0b}
.brand{position:relative;min-height:72px;margin-bottom:24px;padding:11px 12px;border-color:#ffffff16;border-radius:15px;background:linear-gradient(135deg,#ffffff10,#ffffff03);box-shadow:inset 0 1px #ffffff0a,0 14px 35px #03091430;overflow:hidden}.brand::after{content:"";position:absolute;inset:auto -15px -28px auto;width:80px;height:80px;border:1px solid #ffffff08;border-radius:50%}.brand>b{flex-basis:51px;width:51px;height:38px;border-radius:10px;box-shadow:0 9px 22px #0308127a}.brand strong{font-size:14px;letter-spacing:.2px}.brand small{color:#8295b1;font-size:9px}
nav{display:grid;gap:5px}nav button{position:relative;min-height:44px;margin:0;padding:0 13px;border:1px solid transparent;border-radius:10px;color:#9eb0ca;font-size:13px;transition:.18s}nav button::after{content:"";position:absolute;left:-17px;top:12px;width:3px;height:20px;border-radius:0 3px 3px 0;background:transparent}nav button:hover{background:#ffffff09;border-color:#ffffff08;color:#fff}nav button.active{background:linear-gradient(90deg,#263d63,#213653);border-color:#ffffff0c;color:#fff;box-shadow:0 9px 24px #040a1538}nav button.active::after{background:linear-gradient(#4b8dff,#7868ff);box-shadow:0 0 13px #4384ff}
.user{margin:auto -1px 0;padding:18px 12px 1px;border-top-color:#ffffff14}.user strong{font-size:14px;color:#f4f7fc}.user small{color:#7489a8}.user button{color:#9eb1ce;font-size:12px;transition:.18s}.user button:hover{color:#fff}
.content{margin-left:252px;width:calc(100% - 252px);padding:34px 38px 46px}.app-page{max-width:1720px;margin:0 auto}.store-header{min-height:95px;margin-bottom:20px}.store-header .eyebrow{margin:0 0 9px;color:#4176c9;font-size:9px}.store-header h1{margin:0;font-size:31px;line-height:1.15;letter-spacing:-1px}.store-header>div>p:last-child{margin:10px 0 0;color:#74849b}.store-header .online,.store-header .offline{position:relative;padding:9px 13px 9px 26px;border:1px solid currentColor;border-color:#15926720;background:#e8f8f1;color:#11805a;box-shadow:0 9px 25px #13875b12}.store-header .online::before,.store-header .offline::before{content:"";position:absolute;left:12px;top:50%;width:6px;height:6px;border-radius:50%;background:currentColor;transform:translateY(-50%);box-shadow:0 0 0 4px currentColor;opacity:.75}.store-header .offline{border-color:#c5781820;background:#fff4e4;color:#bf7214}
.store-stats{gap:16px;margin-bottom:18px}.store-stats article{position:relative;min-height:86px;padding:19px 21px;border-color:#dfe6f0;border-radius:17px;background:linear-gradient(145deg,#fff,#fbfcff);box-shadow:0 12px 35px #1a2b4709,inset 0 1px #fff;overflow:hidden}.store-stats article::after{content:"";position:absolute;right:-16px;bottom:-27px;width:88px;height:88px;border:1px solid #1f6fe909;border-radius:50%;box-shadow:0 0 0 15px #1f6fe905}.metric-icon{width:44px;height:44px;border-radius:13px;font-family:var(--font-tech);font-size:15px;box-shadow:inset 0 0 0 1px #ffffff85}.metric-icon.blue{background:linear-gradient(145deg,#e8f2ff,#eef0ff);color:#286bdc}.metric-icon.green{background:linear-gradient(145deg,#ddf7ed,#eafaf4);color:#0a8d61}.metric-icon.gray{background:linear-gradient(145deg,#edf1f6,#f5f7fa);color:#66768c}.store-stats small{color:#8995a7;font-size:10px;letter-spacing:.25px}.store-stats strong{margin-top:6px;font-size:25px;color:#132844}
.panel,.store-panel{border-color:#dfe6ef;border-radius:17px;background:#ffffffed;box-shadow:0 16px 45px #192b470b,inset 0 1px #fff;backdrop-filter:blur(14px)}.store-toolbar{min-height:77px;padding:18px 20px;border-bottom-color:#e6ebf2}.store-toolbar h2{font-size:16px;color:#172a46}.store-toolbar>div>p{color:#8996a9}.store-search{width:270px}.store-search input{height:40px;border-color:#dfe6ef;border-radius:10px;background:#f7f9fc}.store-search input:focus{background:#fff;border-color:#76a3ed;box-shadow:0 0 0 4px #2670ef0d}.filter-tabs{height:40px;padding:4px;background:#edf1f6;border:1px solid #e3e8f0}.filter-tabs button{min-width:43px;padding:6px 10px}.filter-tabs button.active{color:#1c62d4;box-shadow:0 3px 10px #172b4a14}.refresh-store{height:40px;border-color:#d8e1ec;border-radius:10px;background:linear-gradient(#fff,#fafbfd);font-weight:700;box-shadow:0 4px 12px #192b4708}
.store-table-head{padding:11px 20px;background:linear-gradient(90deg,#f7f9fc,#fafbfe);color:#7f8da1;letter-spacing:.8px}.store-row{min-height:67px;padding:13px 20px;border-top-color:#e9eef4;background:#ffffffa8}.store-row:nth-child(even){background:#fbfcfe}.store-row:hover{position:relative;z-index:1;background:#f6f9ff;box-shadow:inset 3px 0 #3478e8,0 8px 22px #1e4d940b}.store-avatar{width:40px;height:40px;flex-basis:40px;border:1px solid #dfe8f7;border-radius:12px;background:linear-gradient(145deg,#eaf3ff,#f3efff);color:#2568d7;box-shadow:0 5px 13px #315fa910}.store-main strong{font-size:12px;color:#12243f}.store-main small{color:#8290a5}.store-state{padding:6px 10px;border:1px solid transparent}.online-state{border-color:#bfead9;background:#e7f8f1}.offline-state{border-color:#dce2ea;background:#f0f3f6}.store-note{font-size:11px;color:#7a889b}.open-store{min-width:105px;border-color:#c8d8ef;border-radius:9px;background:#fff;color:#315e9e;box-shadow:0 4px 12px #1d4b8c0a}.open-store.enter{border-color:#b8cff5;background:linear-gradient(145deg,#f2f7ff,#eaf2ff);color:#1f64d7}.open-store:hover{box-shadow:0 9px 20px #286bdd18}.privacy-tip{background:linear-gradient(90deg,#fafbfd,#f7f9fc);font-size:10px}
.toast{border:1px solid #ffffff15;background:#101d36e8;backdrop-filter:blur(12px);box-shadow:0 16px 40px #08101f4f}
@media(max-width:800px){aside{width:76px;padding-left:10px;padding-right:10px}.content{margin-left:76px;width:calc(100% - 76px);padding:22px 16px}.brand{padding:10px}.store-header{min-height:auto}.store-stats{gap:10px}.store-stats article{min-height:78px}.store-toolbar{padding:15px}.store-row{border-radius:0}}

/* Refined dashboard typography */
.content{font-size:14px}.content h1,.content h2,.brand strong,.store-main strong,.order-product strong{font-family:"Segoe UI Variable Display","Microsoft YaHei UI",var(--font-ui);font-weight:700}.brand strong{font-size:15px}.brand small{font-size:11px;line-height:1.45;letter-spacing:.1px}nav button{font-size:15px;font-weight:650}.user strong{font-size:15px}.user small,.user button{font-size:13px}.store-header .eyebrow{font-size:11px}.store-header h1{font-size:34px;font-weight:750;letter-spacing:-1.1px}.store-header>div>p:last-child{font-size:14px;line-height:1.7}.picker-head h2,.store-toolbar h2{font-size:18px;font-weight:700;letter-spacing:-.2px}.picker-head p,.store-toolbar>div>p{font-size:13px;line-height:1.55}.picker-head button,.refresh-store,.filter-tabs button,.open-store,.store-search input,.order-filters input,.order-filters select,.order-filters button{font-size:13px}.store-check-grid{grid-template-columns:repeat(auto-fill,minmax(265px,1fr));gap:12px}.store-check{min-height:58px;padding:12px 14px}.store-check b{font-size:13px;line-height:1.4}.store-check small{font-size:11px;line-height:1.45}.sync-modes{font-size:13px}.store-stats small{font-size:12px}.store-stats strong{font-size:27px}.store-table-head,.order-table-head{font-size:12px}.store-row{min-height:72px;padding-top:15px;padding-bottom:15px}.store-main strong{font-size:13px}.store-main small,.store-note,.privacy-tip{font-size:11px;line-height:1.5}.store-state{font-size:12px}.order-row{padding-top:16px;padding-bottom:16px;font-size:13px;line-height:1.55}.order-product strong{font-size:13px}.order-product small{font-size:11px}.order-money b{font-size:13px}.order-money small{font-size:11px;line-height:1.5}.progress-top strong{font-size:16px}.progress-top small,.progress-meta{font-size:12px;line-height:1.55}.order-flag,.order-status{font-size:11px}
.progress-dot.stalled{background:#f59e0b;box-shadow:0 0 0 4px #f59e0b22}.sync-progress:has(.progress-dot.stalled){border-color:#f3c96a;background:linear-gradient(135deg,#fffdf7,#fff8e7)}
.phase-one-status{display:grid;grid-template-columns:minmax(250px,1.25fr) repeat(4,minmax(145px,.7fr));gap:12px;margin:0 0 18px;padding:14px;border:1px solid #dce5f1;border-radius:17px;background:linear-gradient(120deg,#101f3b 0,#172b4e 27%,#fff 27.1%,#fbfcff 100%);box-shadow:0 14px 36px #182b470c}.phase-title{display:flex;align-items:center;gap:12px;padding:4px 8px;color:#fff}.phase-title>span{padding:6px 9px;border:1px solid #ffffff26;border-radius:8px;background:#ffffff12;color:#8eb8ff;font-size:11px;font-weight:700}.phase-title div{display:flex;flex-direction:column;gap:5px}.phase-title strong{font-size:15px}.phase-title small{color:#9caec7;font-size:11px}.quality-item{position:relative;display:flex;flex-direction:column;justify-content:center;min-height:66px;padding:10px 12px 10px 15px;border:1px solid #e3e9f1;border-radius:12px;background:#fff;overflow:hidden}.quality-item::before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:3px;border-radius:3px;background:#6b8ec5}.quality-item small{color:#75849a;font-size:11px}.quality-item strong{margin:3px 0;color:#152944;font-size:21px}.quality-item span{color:#94a0b1;font-size:10px}.quality-item.warning::before{background:#e5a226}.quality-item.danger::before{background:#e45a69}.quality-item.success::before{background:#21a875}.quality-item.retry::before{background:#4a78e8}@media(max-width:1200px){.phase-one-status{grid-template-columns:repeat(2,1fr);background:linear-gradient(135deg,#101f3b 0,#172b4e 18%,#fff 18.1%)}.phase-title{grid-column:1/3}}@media(max-width:700px){.phase-one-status{grid-template-columns:1fr;background:#fff}.phase-title{grid-column:auto;margin:-14px -14px 0;padding:16px;border-radius:17px 17px 0 0;background:#132644}}
.ops-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.ops-metrics article{display:flex;align-items:center;gap:13px;min-height:88px;padding:17px 19px;border:1px solid #dfe6f0;border-radius:16px;background:#fff;box-shadow:0 12px 30px #15284509}.ops-metrics i{display:grid;place-items:center;min-width:43px;height:43px;border-radius:12px;background:#eaf2ff;color:#286bdc;font-style:normal;font-weight:800}.ops-metrics div{display:flex;flex-direction:column}.ops-metrics small{color:#7e8ba0}.ops-metrics strong{margin:3px 0;color:#142942;font-size:23px}.ops-metrics span{color:#9aa5b5;font-size:10px}.ops-panel{overflow:hidden}.ops-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-bottom:1px solid #e6ebf2}.ops-head h2{margin:0 0 4px;font-size:18px}.ops-head p{margin:0;color:#8491a4;font-size:12px}.ops-head input{width:300px;padding:11px 13px;border:1px solid #d8e1ee;border-radius:10px;background:#f8fafd}.ops-list{display:grid}.ops-row{display:grid;grid-template-columns:minmax(280px,1.6fr) repeat(3,minmax(100px,.55fr)) auto;align-items:center;gap:14px;min-height:66px;padding:12px 20px;border-top:1px solid #edf1f6}.ops-row:first-child{border-top:0}.ops-row:hover{background:#f7faff}.ops-row>div{display:flex;flex-direction:column;gap:4px;min-width:0}.ops-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ops-row small,.ops-row span{color:#718097;font-size:12px}.ops-row em{justify-self:end;padding:5px 9px;border-radius:14px;background:#eef4ff;color:#2865c4;font-size:10px;font-style:normal}.automation-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:18px}.automation-card{padding:20px}.automation-card>span{color:#4674be;font-size:10px;font-weight:800;letter-spacing:1px}.automation-card h2{margin:10px 0 7px;font-size:17px}.automation-card p{min-height:42px;color:#75849a;line-height:1.6}.automation-card b{font-size:12px}.green-text{color:#13966a}.amber-text{color:#c17a13}@media(max-width:1100px){.ops-metrics{grid-template-columns:repeat(2,1fr)}.automation-grid{grid-template-columns:1fr}.ops-row{grid-template-columns:1fr auto}.ops-row>span{display:none}}@media(max-width:650px){.ops-metrics{grid-template-columns:1fr}.ops-head{align-items:stretch;flex-direction:column}.ops-head input{width:100%}}
.fine-permission{width:min(780px,96vw);padding:30px 32px 42px}.permission-top{display:grid;grid-template-columns:1fr auto;align-items:end;gap:18px}.permission-top>label:first-child{margin-top:16px}.enable-switch{display:flex!important;align-items:center;gap:8px;margin:0 48px 12px 0!important}.enable-switch input{width:18px;height:18px}.permission-presets{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.permission-presets button{padding:8px 11px;border:1px solid #d6e0ee;border-radius:9px;background:#f8faff;color:#315d9b;cursor:pointer}.permission-presets button:hover{border-color:#76a3ed;background:#eef5ff}.permission-section{margin-top:14px;padding:15px 16px;border:1px solid #e2e8f1;border-radius:13px;background:#fbfcfe}.permission-section.sensitive{border-color:#f0d7ad;background:#fffcf6}.permission-section h3{margin:0 0 12px;color:#253a58;font-size:13px}.permission-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px 15px}.permission-grid label,.scope-all,.permission-stores label{display:flex;align-items:center;gap:8px;margin:0;color:#53657d;font-size:12px}.permission-grid input,.scope-all input,.permission-stores input{width:17px;height:17px}.permission-stores{display:grid;grid-template-columns:repeat(3,1fr);gap:8px 12px;max-height:170px;margin-top:13px;padding-top:13px;border-top:1px solid #e7ecf3;overflow:auto}.permission-stores.disabled{opacity:.42}.permission-stores span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fine-permission .permission-save{position:sticky;bottom:-20px;margin-top:20px;box-shadow:0 10px 28px #2366cf2f}@media(max-width:700px){.permission-grid,.permission-stores{grid-template-columns:1fr 1fr}.permission-top{grid-template-columns:1fr}.enable-switch{margin:0!important}}
.inventory-actions{display:flex;align-items:center;gap:10px}.inventory-sync{align-self:center;white-space:nowrap}.inventory-actions .secondary{height:42px;padding:0 16px;border:1px solid #cbd9ed;border-radius:10px;background:#fff;color:#23466f;font-weight:700;cursor:pointer}.inventory-actions .secondary:hover{border-color:#77a0f5;background:#f7faff}
.stop-task{background:linear-gradient(135deg,#e44855,#c92d3c)!important;box-shadow:0 9px 22px rgba(201,45,60,.22)!important}.stop-task:hover{filter:brightness(.96)}
.inventory-sync-state{display:block;margin:0 0 18px;padding:15px 18px;border:1px solid #dbe5f4;border-radius:16px;background:linear-gradient(135deg,#fff,#f7faff);box-shadow:0 10px 30px rgba(22,55,105,.06)}
.inventory-state-title{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:14px}.inventory-state-title>div{display:grid;gap:3px}.inventory-sync-state strong{font-size:15px;color:#0d2347}.inventory-sync-state small,.inventory-sync-state time{font-size:12px;color:#7183a3}.inventory-sync-state time{white-space:nowrap}.inventory-state-title>b{font-size:16px;color:#17345f}
.inventory-progress-track{height:7px;margin-top:13px;border-radius:999px;background:#e9eef6;overflow:hidden}.inventory-progress-track i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2875ed,#6557ec);transition:width .35s ease}.inventory-progress-meta{display:flex;gap:28px;flex-wrap:wrap;margin-top:10px;color:#7183a3;font-size:12px}.inventory-progress-meta b{color:#233d61;margin-left:4px}
.inventory-filters{display:flex;gap:10px;flex-wrap:wrap}.inventory-filters input,.inventory-filters select{height:40px;border:1px solid #d7e1f0;border-radius:10px;background:#fff;padding:0 12px;color:#173052;outline:none}.inventory-filters input{min-width:220px}.inventory-filters :focus{border-color:#6f99f7;box-shadow:0 0 0 3px rgba(46,112,241,.1)}
.inventory-table-head,.inventory-row{display:grid;grid-template-columns:minmax(220px,1.6fr) minmax(170px,1.2fr) 90px 130px 130px 100px;gap:16px;align-items:center}.inventory-table-head{padding:12px 18px;background:#f5f8fd;color:#7183a3;font-size:12px;font-weight:700;border-top:1px solid #e5ecf6;border-bottom:1px solid #e5ecf6}.inventory-row{padding:15px 18px;border-bottom:1px solid #e8eef7;background:#fff}.inventory-row:hover{background:#f9fbff}.inventory-row>div{display:grid;gap:4px}.inventory-row strong{font-size:14px;color:#102746}.inventory-row small{font-size:12px;color:#8291aa}.stock-number{font-size:20px;color:#102746}.inventory-row>span{font-size:13px;color:#51647f}.stock-badge{justify-self:start;padding:5px 9px;border-radius:999px;font-size:12px;font-style:normal;font-weight:700}.stock-badge.success{color:#07845a;background:#e8f8f2}.stock-badge.warning{color:#bd6b00;background:#fff4df}.stock-badge.danger{color:#d33f4a;background:#fff0f1}
@media(max-width:1100px){.inventory-table-head{display:none}.inventory-row{grid-template-columns:1.4fr 1fr repeat(2,90px);}.inventory-row>:nth-child(5),.inventory-row>:nth-child(6){display:none}}
@media(max-width:720px){.inventory-state-title{grid-template-columns:auto 1fr auto}.inventory-state-title time{grid-column:2/4}.inventory-progress-meta{gap:10px 20px}.inventory-row{grid-template-columns:1fr 90px}.inventory-row>:nth-child(n+3):not(.stock-number){display:none}.inventory-filters>*{width:100%;min-width:0}}
.goodcang-config-card{position:relative;width:min(520px,calc(100vw - 32px));padding:32px;border-radius:22px;background:#fff;box-shadow:0 28px 80px rgba(8,30,66,.28);display:grid;gap:18px}.goodcang-config-card h2{margin:0;color:#0c2346;font-size:26px}.goodcang-config-card .eyebrow{margin:0 0 -10px}.config-close{position:absolute;right:18px;top:16px;width:34px;height:34px;border:0;border-radius:50%;background:#f2f5fa;color:#4c607d;font-size:22px;cursor:pointer}.config-note{margin:0;padding:13px 15px;border-radius:12px;background:#f1f6ff;color:#536985;line-height:1.65;font-size:13px}.config-note b{color:#1f5fc2}.goodcang-config-card>label{display:grid;gap:8px;color:#193455;font-size:13px;font-weight:700}.goodcang-config-card input{height:46px;border:1px solid #cfdaea;border-radius:10px;padding:0 13px;font:inherit;color:#102746;outline:none}.goodcang-config-card input:focus{border-color:#4a83f0;box-shadow:0 0 0 3px rgba(48,110,233,.1)}.secret-input{display:grid;grid-template-columns:1fr auto}.secret-input input{border-radius:10px 0 0 10px}.secret-input button{border:1px solid #cfdaea;border-left:0;border-radius:0 10px 10px 0;background:#f7f9fc;color:#3663a1;padding:0 14px;cursor:pointer}.config-status{padding:11px 13px;border-radius:10px;background:#f4f6fa;color:#65758e;font-size:13px}.config-status.success{background:#eaf8f1;color:#087856}.config-status.warning{background:#fff6e6;color:#ad6905}.config-status.danger{background:#fff0f1;color:#c13a48}.config-save{height:46px}
.inventory-tabs{display:flex;gap:8px;margin:18px 0 14px;padding:5px;width:max-content;border:1px solid #dbe5f3;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(29,65,118,.06)}.inventory-tabs button{border:0;border-radius:10px;background:transparent;padding:10px 20px;color:#526987;font-weight:700;cursor:pointer}.inventory-tabs button.active{background:#16345f;color:#fff;box-shadow:0 6px 16px rgba(18,53,99,.2)}.inventory-tabs b{margin-left:7px;padding:2px 7px;border-radius:999px;background:rgba(39,117,237,.12);font-size:11px}.inventory-tabs .active b{background:rgba(255,255,255,.18)}.inbound-table-head,.inbound-row{display:grid;grid-template-columns:minmax(260px,1.4fr) 135px minmax(170px,1fr) 130px 130px minmax(190px,1fr);gap:18px;align-items:center}.inbound-table-head{padding:13px 20px;background:#f4f7fb;color:#6d7f9b;font-size:12px;font-weight:700}.inbound-row{padding:17px 20px;border-top:1px solid #e7edf5;color:#203855}.inbound-row>div{display:grid;gap:4px}.inbound-row strong{font-size:14px}.inbound-row small{color:#7b8ca6;font-size:12px}.inbound-row>span{font-weight:700;color:#385270}.inbound-status{justify-self:start;padding:5px 10px;border-radius:999px;background:#eaf2ff;color:#2468c8;font-style:normal;font-size:12px;font-weight:700}.inbound-status.status-10{background:#e7f8ef;color:#087b57}.inbound-status.status-100,.inbound-status.status-2{background:#fff0f1;color:#c13a48}.inbound-status.status-7,.inbound-status.status-8,.inbound-status.status-9{background:#fff5e4;color:#ae6b08}.inbound-filters input[type=date]{width:142px}@media(max-width:1100px){.inbound-table-head,.inbound-row{grid-template-columns:2fr 130px 1fr 110px}.inbound-table-head>:nth-child(5),.inbound-table-head>:nth-child(6),.inbound-row>:nth-child(5),.inbound-row>:nth-child(6){display:none}}@media(max-width:720px){.inventory-tabs{width:100%}.inventory-tabs button{flex:1}.inbound-row{grid-template-columns:1fr auto}.inbound-table-head{display:none}.inbound-row>:nth-child(n+3){display:none}}
.order-period-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 16px}.order-period-stats article{display:flex;align-items:center;gap:15px;min-height:94px;padding:18px 21px;border:1px solid #dfe7f3;border-radius:17px;background:linear-gradient(145deg,#fff,#fbfcff);box-shadow:0 12px 34px #17345d0a;overflow:hidden}.period-icon{display:grid;place-items:center;flex:0 0 46px;height:46px;border-radius:14px;font-family:var(--font-tech);font-size:16px;font-weight:800}.period-icon.today{color:#236ee5;background:#e8f1ff}.period-icon.week{color:#0b9368;background:#e1f8ef}.period-icon.month{color:#6b55dd;background:#eeeaff}.order-period-stats small{display:block;color:#7f8da2;font-size:12px}.order-period-stats strong{display:block;margin-top:4px;color:#102746;font-family:var(--font-tech);font-size:23px}.order-period-stats p{margin:4px 0 0;color:#7e8ca1;font-size:12px}.order-period-stats p b{color:#0b8c64;font-family:var(--font-tech);font-size:13px}@media(max-width:900px){.order-period-stats{grid-template-columns:1fr}.order-period-stats article{min-height:80px}}

/* Global feedback: compact top notification that does not cover table actions. */
.toast{position:fixed;z-index:10020;top:72px;left:50%;right:auto;bottom:auto;display:flex;align-items:center;gap:10px;min-width:220px;max-width:min(460px,calc(100vw - 32px));box-sizing:border-box;padding:11px 16px 11px 12px;border:1px solid #cfe9dd;border-radius:12px;background:rgba(255,255,255,.96);color:#18324f;box-shadow:0 14px 38px rgba(28,55,92,.16),inset 0 1px rgba(255,255,255,.9);backdrop-filter:blur(16px);font-size:13px;font-weight:700;line-height:1.45;opacity:0;transform:translate(-50%,-14px) scale(.98);pointer-events:none;transition:opacity .22s ease,transform .28s cubic-bezier(.2,.8,.2,1)}
.toast::before{content:"\2713";display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:9px;background:linear-gradient(145deg,#dff8ed,#ecfbf5);color:#0b9464;box-shadow:inset 0 0 0 1px #bcebd8;font-family:var(--font-tech);font-size:14px;font-weight:900}
.toast.show{opacity:1;transform:translate(-50%,0) scale(1)}
@media(max-width:700px){.toast{top:14px;min-width:0;width:calc(100vw - 28px)}}

/* TikTok Marketing API advertising workspace */
.ads-page{--ads-blue:#286ff0;--ads-ink:#102746}.ads-header-actions{display:flex;align-items:center;gap:10px}.ads-auth-badge{padding:9px 13px;border:1px solid #d9e3f2;border-radius:999px;background:#fff;color:#667a97;font-size:12px;font-weight:800}.ads-auth-badge.ready{border-color:#bcebd7;background:#e9f9f2;color:#087b57}.ads-capability-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:16px}.ads-capability-grid article{display:flex;gap:13px;align-items:center;padding:16px 18px;border:1px solid #dfe7f3;border-radius:16px;background:linear-gradient(145deg,#fff,#f9fbff);box-shadow:0 10px 28px #18355c0a}.ads-capability-grid span{display:grid;place-items:center;flex:0 0 40px;height:40px;border-radius:12px;background:#e9f2ff;color:var(--ads-blue);font-weight:900}.ads-capability-grid b,.ads-capability-grid small{display:block}.ads-capability-grid b{margin-top:4px;color:var(--ads-ink);font-size:15px}.ads-capability-grid small{color:#8492a7}.ads-sync-panel{margin-bottom:16px;padding:18px 20px;border:1px solid #dfe7f3;border-radius:17px;background:linear-gradient(135deg,#fff,#f7faff);box-shadow:0 12px 32px #18355c0a}.ads-sync-top{display:grid;grid-template-columns:1fr auto;gap:8px}.ads-sync-top strong{font-size:16px;color:var(--ads-ink)}.ads-sync-top p{grid-column:1/2;margin:4px 0 0;color:#71829b}.ads-sync-top b{grid-row:1/3;grid-column:2;font-family:var(--font-tech);font-size:20px;color:var(--ads-blue)}.ads-progress-track{height:7px;margin:14px 0 9px;border-radius:999px;background:#e8eef7;overflow:hidden}.ads-progress-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2676ed,#6859ee);transition:width .3s}.ads-sync-panel>small{color:#8190a5}.ads-filter-row{display:flex;align-items:center;gap:10px}.ads-filter-row label{display:grid;gap:5px;color:#71829b;font-size:11px}.ads-filter-row input{height:38px;padding:0 10px;border:1px solid #d8e2f0;border-radius:9px;color:#183250}.ads-table-head,.ads-table-row{display:grid;grid-template-columns:minmax(250px,1.7fr) minmax(150px,1fr) 110px 150px 140px;gap:16px;align-items:center}.ads-table-head{padding:12px 18px;background:#f5f8fc;color:#75859d;font-size:11px;font-weight:800}.ads-table-row{padding:15px 18px;border-top:1px solid #e8eef6}.ads-table-row>div{display:grid;gap:4px}.ads-table-row strong{color:#122946}.ads-table-row small,.ads-table-row span{color:#7788a1}.ads-empty{display:grid;place-items:center;min-height:240px;text-align:center;color:#72839c}.ads-empty>span{display:grid;place-items:center;width:54px;height:54px;border-radius:17px;background:#eaf2ff;color:#286ff0;font-size:22px}.ads-empty h3{margin:13px 0 4px;color:#173052}.ads-empty p{max-width:580px;margin:0;line-height:1.7}.integration-logo.ads{background:linear-gradient(145deg,#1f70ef,#6657eb);color:#fff;font-size:12px}.api-state.warning{background:#fff5df;color:#a86706}.ads-integration-card{border-color:#cfe0fb!important;background:linear-gradient(145deg,#fff,#f5f9ff)!important}
@media(max-width:950px){.ads-capability-grid{grid-template-columns:1fr}.ads-table-head{display:none}.ads-table-row{grid-template-columns:1fr 1fr}.ads-table-row>:nth-child(n+3){text-align:right}.ads-filter-row{flex-wrap:wrap}}
