:root {
  --ink: #16182b;
  --ink-2: #292d45;
  --muted: #72778b;
  --line: #e8eaf0;
  --soft: #f5f6f9;
  --paper: #ffffff;
  --purple: #6c5ce7;
  --purple-dark: #5948d8;
  --purple-soft: #efedff;
  --mint: #25b98b;
  --mint-soft: #e7f8f2;
  --orange: #f49a4a;
  --orange-soft: #fff2e5;
  --red: #e15a64;
  --red-soft: #fcebee;
  --blue: #3978e8;
  --blue-soft: #eaf1ff;
  --shadow: 0 14px 35px rgba(30, 35, 67, .08);
  --radius: 16px;
}

.manager-assigned-names { display: flex; flex-wrap: wrap; gap: 5px; }
.manager-assigned-names span { padding: 4px 7px; border-radius: 999px; background: var(--purple-soft); color: var(--purple); font-size: 9px; font-weight: 800; }
.manager-operator-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 6px; }
.manager-operator-option { display: grid; grid-template-columns: 18px 34px 1fr; align-items: center; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 11px; cursor: pointer; background: var(--soft); }
.manager-operator-option:has(input:checked) { border-color: var(--purple); background: var(--purple-soft); }
.manager-operator-option input { accent-color: var(--purple); }
.manager-operator-option strong, .manager-operator-option small { display: block; }
.manager-operator-option strong { font-size: 10px; }
.manager-operator-option small { color: var(--muted); margin-top: 2px; }
.weekly-sync-section { padding-bottom: 0; }
.weekly-period-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; padding: 16px 18px; border: 1px solid #ddd8ff; border-radius: 14px; background: linear-gradient(135deg, #f7f5ff, #fcfbff); }
.weekly-period-toolbar > div { min-width: 0; }
.weekly-period-toolbar strong, .weekly-period-toolbar small { display: block; }
.weekly-period-toolbar strong { margin: 4px 0; font-size: 14px; }
.weekly-period-toolbar small { color: var(--muted); line-height: 1.5; }
.weekly-period-kicker { display: block; color: var(--purple); font-size: 9px; font-weight: 900; letter-spacing: 1.6px; }
.weekly-period-toolbar label { display: grid; gap: 6px; width: min(270px, 42%); flex: 0 0 auto; color: var(--muted); font-size: 9px; font-weight: 800; }
.weekly-period-toolbar .filter-select { width: 100%; min-height: 44px; background: var(--paper); }
.weekly-auto-retained-note { display: flex; flex-direction: column; gap: 5px; padding: 15px 17px; border: 1px solid #cfeee4; border-radius: 13px; color: #147b60; background: var(--mint-soft); }
.weekly-auto-retained-note strong { font-size: 11px; }
.weekly-auto-retained-note span { font-size: 10px; line-height: 1.6; }
.weekly-sync-list { display: grid; gap: 14px; }
.weekly-sync-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 15px 18px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: var(--soft); overflow: hidden; }
.weekly-sync-product { display: flex; gap: 10px; align-items: center; min-width: 0; }
.weekly-sync-product > img, .weekly-sync-product > span { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; display: grid; place-items: center; background: var(--purple-soft); color: var(--purple); flex: 0 0 auto; }
.weekly-sync-product strong, .weekly-sync-product small { display: block; }
.weekly-sync-product small { color: var(--muted); margin-top: 4px; }
.weekly-sync-metrics { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 10px; min-width: 0; }
.weekly-sync-metrics div { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); }
.weekly-sync-metrics small, .weekly-sync-metrics strong { display: block; }
.weekly-sync-metrics small { color: var(--muted); margin-bottom: 5px; }
.weekly-sync-metrics strong { overflow-wrap: anywhere; font-size: 14px; }
.weekly-sync-card .weekly-product-view { justify-self: end; min-width: 92px; }
.weekly-detail-product { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.weekly-detail-product img, .weekly-detail-product > span { width: 58px; height: 58px; object-fit: cover; border-radius: 12px; display: grid; place-items: center; background: var(--purple-soft); color: var(--purple); }
.weekly-detail-product strong, .weekly-detail-product small { display: block; }
.weekly-detail-product small { color: var(--muted); margin-top: 4px; }
.weekly-detail-grid { grid-template-columns: repeat(4, 1fr); }
.report-item-buttons { display: flex; gap: 7px; }
.reports-layout-empty-history { grid-template-columns: minmax(0, 1fr); }
.reports-layout-empty-history > article:last-child { display: none; }
.report-card-badges { display: flex; gap: 5px; align-items: center; }
.edit-request-alert { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; padding: 10px; border-radius: 9px; background: var(--red-soft); color: var(--red); }
.edit-request-alert b { font-size: 10px; }
.edit-request-alert span { font-size: 10px; line-height: 1.55; }
.admin-edit-request-box { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: center; margin-bottom: 16px; padding: 14px; border: 1px solid #f2c1c7; border-radius: 12px; background: var(--red-soft); }
.admin-edit-request-box b, .admin-edit-request-box span, .admin-edit-request-box small { display: block; }
.admin-edit-request-box span { margin: 5px 0; line-height: 1.55; }
.admin-edit-request-box small { color: var(--muted); }
.admin-edit-request-box > div:last-child { display: flex; gap: 7px; }
.system-team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.system-team-card { padding: 20px; }
.system-team-top { display: flex; gap: 12px; align-items: center; }
.system-team-avatar { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; flex: 0 0 auto; color: var(--purple); background: var(--purple-soft); font-weight: 900; }
.system-team-title { display: flex; align-items: center; gap: 8px; }
.system-team-title h3 { margin: 0; font-size: 17px; }
.system-team-top p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.system-team-counts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0; }
.system-team-counts div { padding: 11px; border-radius: 10px; background: var(--soft); }
.system-team-counts strong, .system-team-counts small { display: block; }
.system-team-counts strong { font-size: 19px; }
.system-team-counts small { color: var(--muted); margin-top: 3px; }
.system-admin-list { border-top: 1px solid var(--line); padding-top: 14px; }
.system-admin-list > strong { display: block; font-size: 11px; margin-bottom: 9px; }
.system-admin-list > div { display: flex; gap: 8px; align-items: center; padding: 8px 0; }
.system-admin-list b, .system-admin-list small { display: block; }
.system-admin-list small, .system-admin-list p { color: var(--muted); font-size: 9px; margin: 3px 0 0; }
.system-team-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.system-create-note { display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; padding: 13px; border-radius: 11px; background: var(--blue-soft); color: var(--blue); }
.system-create-note span { font-size: 10px; line-height: 1.6; }

@media (max-width: 760px) {
  .manager-operator-picker { grid-template-columns: 1fr; }
  .weekly-period-toolbar { align-items: stretch; flex-direction: column; }
  .weekly-period-toolbar label { width: 100%; }
  .weekly-sync-card { grid-template-columns: 1fr; }
  .weekly-sync-metrics { grid-template-columns: repeat(2, 1fr); }
  .weekly-sync-card .weekly-product-view { width: 100%; justify-self: stretch; }
  .weekly-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .system-team-grid { grid-template-columns: 1fr; }
  .admin-edit-request-box { grid-template-columns: 1fr; }
}

* { box-sizing: border-box; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
html, body { margin: 0; min-height: 100%; font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; color: var(--ink); background: var(--soft); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.muted { color: var(--muted); }

.login-page { min-height: 100vh; display: grid; grid-template-columns: minmax(520px, 1.15fr) minmax(450px, .85fr); background: var(--paper); }
.login-visual { position: relative; overflow: hidden; min-height: 680px; padding: 42px 7vw; color: white; background: linear-gradient(145deg, #171a31 0%, #25254d 54%, #30255b 100%); display: flex; flex-direction: column; }
.login-visual::after { content: ""; position: absolute; width: 480px; height: 480px; right: -150px; bottom: -180px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018); }
.ambient { position: absolute; border-radius: 50%; filter: blur(5px); opacity: .5; }
.ambient-one { width: 360px; height: 360px; background: radial-gradient(circle, rgba(115,95,234,.5), transparent 68%); top: 5%; right: 0; }
.ambient-two { width: 420px; height: 420px; background: radial-gradient(circle, rgba(30,187,155,.22), transparent 68%); left: -15%; bottom: 0; }
.login-brand, .sidebar-brand, .mobile-brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 21px; letter-spacing: -.3px; position: relative; z-index: 1; }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; display: inline-grid; place-items: center; background: linear-gradient(145deg, #8475ff, #6959e8); color: white; font-family: Georgia, serif; font-size: 22px; font-style: italic; box-shadow: 0 8px 20px rgba(97,79,222,.3); }
.login-brand { gap: 14px; color: #fff; font-size: 28px; }
.login-brand .brand-mark { width: 50px; height: 50px; border-radius: 14px; font-size: 30px; }
.brand-mark.dark { background: var(--ink); box-shadow: none; }
.login-copy { position: relative; z-index: 1; margin: auto 0; max-width: 690px; }
.eyebrow { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 2.2px; color: var(--purple); }
.eyebrow.light { color: #a99fff; }
.login-company-name { font-size: 22px; letter-spacing: 4px; }
.login-copy h1 { font-size: clamp(36px, 3.7vw, 58px); line-height: 1.22; letter-spacing: -2.4px; margin: 22px 0 24px; }
.login-copy > p { color: rgba(255,255,255,.64); font-size: 17px; line-height: 1.8; max-width: 600px; }
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 50px; }
.feature-row div { padding: 20px 18px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.055); backdrop-filter: blur(8px); border-radius: 14px; display: flex; flex-direction: column; gap: 9px; }
.feature-row strong { color: #9d91ff; font-size: 13px; }
.feature-row span { font-size: 14px; color: rgba(255,255,255,.82); }
.login-quote { position: relative; z-index: 1; font-size: 12px; color: rgba(255,255,255,.38); letter-spacing: .4px; }
.login-panel { display: grid; place-items: center; padding: 54px; }
.login-card { width: 100%; max-width: 390px; }
.mobile-brand { display: none; margin-bottom: 48px; }
.login-card h2 { font-size: 34px; letter-spacing: -1px; margin: 12px 0 8px; }
.login-card > p { margin: 0 0 34px; font-size: 14px; }
.form-label { display: block; font-weight: 700; font-size: 13px; margin: 18px 0 9px; }
.input-wrap { position: relative; }
.input-wrap input, .form-control { width: 100%; height: 48px; border: 1px solid #dfe2ea; background: white; border-radius: 10px; padding: 0 14px; color: var(--ink); outline: none; transition: .2s; }
.input-wrap input { padding-left: 42px; }
.input-wrap input:focus, .form-control:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(108,92,231,.1); }
.input-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #9ca1b2; }
.password-toggle { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--muted); font-size: 12px; }
.remember-login { display: flex; align-items: center; gap: 8px; min-height: 34px; margin-top: 10px; color: var(--ink-2); cursor: pointer; font-size: 11px; }
.remember-login input { width: 16px; height: 16px; margin: 0; accent-color: var(--purple); }
.remember-login small { margin-left: auto; color: var(--muted); font-size: 9px; }
.form-error { min-height: 20px; color: var(--red); font-size: 12px; padding-top: 7px; }
.btn { border: 0; border-radius: 9px; height: 40px; padding: 0 16px; font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease, transform .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { color: white; background: var(--purple); box-shadow: 0 8px 18px rgba(108,92,231,.2); }
.btn-primary:hover { background: var(--purple-dark); }
.btn-secondary { background: #fff; color: var(--ink-2); border: 1px solid #d5d8e4; box-shadow: 0 3px 9px rgba(25, 28, 52, .07); }
.btn-secondary:hover { color: var(--purple-dark); border-color: #aaa3e8; background: #faf9ff; box-shadow: 0 6px 14px rgba(73, 61, 157, .12); }
.btn-danger { background: var(--red-soft); color: var(--red); }
.btn-login { width: 100%; height: 49px; margin-top: 8px; justify-content: space-between; padding: 0 20px; }

.device-approval-page { min-height: 100vh; display: grid; place-items: center; padding: 32px; background: #f5f6f9; }
.device-approval-page .device-approval-card { width: min(600px, 100%); padding: 38px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); box-shadow: 0 24px 60px rgba(30,35,67,.12); text-align: center; }
.device-approval-mark { width: 58px; height: 58px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 14px; color: var(--purple); background: var(--purple-soft); font-size: 27px; font-weight: 900; }
.device-approval-page .device-approval-card h1 { margin: 11px 0 9px; font-size: 28px; letter-spacing: 0; }
.device-approval-page .device-approval-card > p { max-width: 480px; margin: 0 auto; color: var(--muted); font-size: 13px; line-height: 1.7; }
.device-approval-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 26px 0; text-align: left; }
.device-approval-details div { min-width: 0; padding: 13px; border: 1px solid var(--line); border-radius: 9px; background: var(--soft); }
.device-approval-details small, .device-approval-details strong { display: block; }
.device-approval-details small { margin-bottom: 6px; color: var(--muted); font-size: 9px; }
.device-approval-details strong { overflow-wrap: anywhere; font-size: 11px; }
.device-approval-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; }
.device-approval-logout { width: 100%; margin-top: 5px; border: 0; color: var(--muted); background: transparent; font-size: 11px; }
.device-approval-note { display: block; margin-top: 22px; color: #9296a6; font-size: 9px; }
.device-security-stats { margin-bottom: 16px; }
.device-management-card, .device-login-log-card { width: 100%; min-width: 0; }
.device-management-card + .device-login-log-card { margin-top: 16px; }
.device-management-card .table-scroll, .device-login-log-card .table-scroll { width: 100%; overflow-x: auto; }
.device-management-card .empty-state { min-height: 220px; display: flex; flex-direction: column; justify-content: center; }
.device-login-log-card .empty-state { min-height: 160px; display: flex; flex-direction: column; justify-content: center; }
.device-name strong, .device-name small, .device-times span, .device-times small, .device-log-username { display: block; }
.device-name strong { max-width: 260px; overflow-wrap: anywhere; }
.device-name small, .device-times small, .device-log-username { margin-top: 4px; color: var(--muted); font-size: 9px; }
.device-approval-expiry { display: block; margin-top: 5px; color: var(--muted); font-size: 8px; white-space: nowrap; }
.device-management-card .data-table { min-width: 1050px; }
.device-login-log-card .data-table { min-width: 760px; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 246px 1fr; }
.sidebar { position: fixed; z-index: 20; width: 246px; height: 100vh; left: 0; top: 0; background: #17192d; color: white; padding: 24px 16px 18px; display: flex; flex-direction: column; overflow-y: auto; }
.sidebar-brand { padding: 0 10px 23px; }
.workspace-badge { position: relative; margin-bottom: 26px; }
.team-switch-trigger { width: 100%; min-height: 62px; padding: 10px 11px; display: grid; grid-template-columns: 38px minmax(0, 1fr) 12px; gap: 10px; align-items: center; border: 1px solid rgba(255,255,255,.1); border-radius: 11px; color: white; background: rgba(255,255,255,.05); text-align: left; transition: border-color .18s, background .18s, box-shadow .18s; }
.team-switch-trigger:disabled { cursor: default; opacity: 1; }
.workspace-badge.switchable .team-switch-trigger:hover, .team-switch-trigger.open { border-color: rgba(169,159,255,.5); background: rgba(108,92,231,.15); box-shadow: 0 10px 26px rgba(5,7,20,.22); }
.workspace-avatar, .team-option-avatar { display: grid; place-items: center; flex: 0 0 auto; background: linear-gradient(145deg, rgba(132,117,255,.56), rgba(87,69,206,.7)); color: white; font-weight: 900; }
.workspace-avatar { width: 38px; height: 38px; border-radius: 10px; font-size: 12px; box-shadow: inset 0 1px rgba(255,255,255,.14); }
.workspace-avatar.service, .team-option-avatar.service { background: linear-gradient(145deg, rgba(37,185,139,.65), rgba(17,119,91,.82)); }
.workspace-current { min-width: 0; }
.workspace-current small, .workspace-current strong { display: block; }
.workspace-current small { margin-bottom: 4px; color: rgba(255,255,255,.4); font-size: 9px; }
.workspace-current strong { overflow: hidden; color: white; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.workspace-current em { margin-left: 6px; color: rgba(255,255,255,.42); font-size: 8px; font-style: normal; font-weight: 700; }
.team-switch-chevron { width: 7px; height: 7px; border-right: 1.5px solid rgba(255,255,255,.68); border-bottom: 1.5px solid rgba(255,255,255,.68); transform: rotate(45deg) translateY(-2px); transition: transform .18s; }
.team-switch-trigger.open .team-switch-chevron { transform: rotate(225deg) translate(-1px, -1px); }
.team-switch-menu { position: absolute; z-index: 60; top: calc(100% + 8px); left: 0; right: 0; padding: 7px; border: 1px solid rgba(255,255,255,.1); border-radius: 11px; background: #22243a; box-shadow: 0 18px 38px rgba(3,5,18,.42); }
.team-switch-menu-label { display: block; padding: 6px 8px 8px; color: rgba(255,255,255,.35); font-size: 8px; font-weight: 800; letter-spacing: 1px; }
.team-switch-option { width: 100%; min-height: 52px; padding: 7px 8px; display: grid; grid-template-columns: 32px minmax(0, 1fr) 18px; gap: 9px; align-items: center; border: 0; border-radius: 8px; color: rgba(255,255,255,.75); background: transparent; text-align: left; transition: background .16s, color .16s; }
.team-switch-option:hover, .team-switch-option.active { color: white; background: rgba(108,92,231,.2); }
.team-option-avatar { width: 32px; height: 32px; border-radius: 8px; font-size: 10px; }
.team-switch-option span:nth-child(2) { min-width: 0; }
.team-switch-option strong, .team-switch-option small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.team-switch-option strong { font-size: 10px; }
.team-switch-option small { margin-top: 3px; color: rgba(255,255,255,.35); font-size: 8px; letter-spacing: .5px; }
.team-switch-option i { color: #9f93ff; font-size: 12px; font-style: normal; text-align: center; }
.nav-label { color: rgba(255,255,255,.28); text-transform: uppercase; font-size: 9px; letter-spacing: 1.6px; font-weight: 800; padding: 0 12px; margin: 18px 0 8px; }
.nav-item { width: 100%; border: 0; background: transparent; color: rgba(255,255,255,.58); display: flex; align-items: center; gap: 12px; height: 43px; border-radius: 9px; padding: 0 13px; margin: 3px 0; font-size: 13px; text-align: left; transition: .2s; }
.nav-item span:first-child { width: 20px; text-align: center; font-size: 17px; }
.nav-item:hover { color: white; background: rgba(255,255,255,.05); }
.nav-item.active { color: white; background: linear-gradient(90deg, rgba(108,92,231,.34), rgba(108,92,231,.13)); box-shadow: inset 3px 0 var(--purple); }
.nav-item .nav-count { margin-left: auto; min-width: 21px; height: 21px; padding: 0 6px; border-radius: 11px; display: grid; place-items: center; background: #ef4444; color: #fff; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 4px 12px rgba(239,68,68,.3); font-size: 11px; font-weight: 800; line-height: 1; }
.sidebar-footer { margin-top: auto; }
.help-card { width: 100%; display: flex; gap: 10px; align-items: center; border: 1px solid rgba(255,255,255,.07); padding: 11px; border-radius: 10px; background: rgba(255,255,255,.035); color: white; text-align: left; transition: .2s; }
.help-card:hover { border-color: rgba(169,159,255,.4); background: rgba(108,92,231,.14); transform: translateY(-1px); }
.help-icon { width: 30px; height: 30px; border-radius: 8px; background: rgba(108,92,231,.25); color: #b8afff; display: grid; place-items: center; font-weight: 800; }
.help-card strong, .help-card small { display: block; }
.help-card strong { font-size: 11px; }
.help-card small { color: rgba(255,255,255,.34); font-size: 9px; margin-top: 3px; }
.sop-guide-body { background: #f8f8fb; }
.sop-guide-intro { padding: 19px 21px; border-radius: 13px; color: white; background: linear-gradient(135deg, #1c1f3d, #382f6d); }
.sop-guide-intro span { color: #aaa0ff; font-size: 9px; font-weight: 800; letter-spacing: 2px; }.sop-guide-intro h2 { margin: 7px 0 5px; font-size: 20px; }.sop-guide-intro p { margin: 0; color: rgba(255,255,255,.58); font-size: 9px; }
.sop-workflow { margin-top: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.sop-workflow article { padding: 13px; display: grid; grid-template-columns: 28px 1fr; gap: 9px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.sop-workflow article > b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: var(--purple-soft); color: var(--purple); font-size: 9px; }.sop-workflow strong { font-size: 10px; }.sop-workflow p { margin: 5px 0 0; color: var(--muted); font-size: 8px; line-height: 1.65; }
.sop-guide-title { margin: 21px 0 10px; }.sop-guide-title h3 { margin: 0; font-size: 13px; }.sop-guide-title p { margin: 4px 0 0; color: var(--muted); font-size: 8px; }
.sop-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.sop-feature-grid article { padding: 14px; display: grid; grid-template-columns: 34px 1fr; gap: 10px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.sop-feature-grid article > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: var(--purple-soft); color: var(--purple); font-size: 15px; }.sop-feature-grid strong { font-size: 10px; }.sop-feature-grid p { min-height: 34px; margin: 5px 0 3px; color: var(--muted); font-size: 8px; line-height: 1.6; }
.sop-rules { margin-top: 12px; padding: 15px 17px; border: 1px solid #e3dfff; border-radius: 11px; background: #f1efff; }.sop-rules h3 { margin: 0 0 9px; font-size: 11px; }.sop-rules ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--ink-2); font-size: 9px; line-height: 1.55; }
.logout-btn { width: 100%; border: 0; background: transparent; color: rgba(255,255,255,.43); height: 42px; text-align: left; padding-left: 13px; margin-top: 8px; font-size: 12px; }
.logout-btn:hover { color: white; }
.workspace { grid-column: 2; min-width: 0; }
.topbar { height: 66px; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 32px; position: sticky; top: 0; z-index: 10; }
.impersonation-banner { position: sticky; z-index: 9; top: 66px; min-height: 48px; padding: 7px 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #3a2f05; background: #fff5c7; border-bottom: 1px solid #eadc94; box-shadow: 0 6px 18px rgba(93,76,8,.08); }
.impersonation-banner > div { display: flex; align-items: center; gap: 10px; min-width: 0; }
.impersonation-mark { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 7px; color: white; background: #b8860b; font-size: 10px; font-weight: 900; }
.impersonation-banner p { min-width: 0; margin: 0; }
.impersonation-banner strong, .impersonation-banner small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.impersonation-banner strong { font-size: 11px; }
.impersonation-banner small { margin-top: 2px; color: #7f6d26; font-size: 9px; }
.impersonation-banner button { min-height: 32px; padding: 0 12px; flex: 0 0 auto; border: 1px solid #b79222; border-radius: 7px; color: #654e05; background: white; font-size: 10px; font-weight: 800; }
.impersonation-banner button:hover { background: #fffbea; }
.topbar-date { font-size: 12px; color: var(--muted); }
.topbar-actions { display: flex; align-items: center; gap: 17px; }
.icon-btn { width: 36px; height: 36px; border: 1px solid var(--line); background: white; border-radius: 10px; color: var(--ink-2); position: relative; }
.notification-btn i { position: absolute; width: 6px; height: 6px; background: var(--red); border-radius: 50%; right: 7px; top: 7px; border: 1px solid white; }
.notification-list { display: grid; gap: 10px; }
.notification-row { width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 12px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; text-align: left; cursor: pointer; }
.notification-row:hover { border-color: rgba(108, 92, 231, .35); background: var(--purple-soft); }
.notification-row strong { display: block; color: var(--ink); margin-bottom: 4px; }
.notification-row small { color: var(--muted); }
.notification-row b { color: var(--purple); }
.menu-btn { display: none; }
.topbar-user { display: grid; grid-template-columns: 34px auto 12px; gap: 9px; align-items: center; padding: 0 0 0 17px; border: 0; border-left: 1px solid var(--line); background: transparent; color: inherit; text-align: left; }
.topbar-user:hover { color: var(--purple); }
.user-avatar { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(145deg, #efeaff, #d9d2ff); color: var(--purple-dark); display: grid; place-items: center; font-weight: 800; font-size: 12px; }
.topbar-user strong, .topbar-user small { display: block; white-space: nowrap; }
.topbar-user strong { font-size: 12px; }
.topbar-user small { font-size: 9px; color: var(--muted); margin-top: 2px; }
.page-content { position: relative; padding: 30px 32px 50px; max-width: 1540px; margin: 0 auto; }
.page-content.route-loading { pointer-events: none; }
.page-content.route-loading::before {
  content: "";
  position: fixed;
  z-index: 80;
  top: 65px;
  left: 246px;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--purple) 34%, #9c91ff 58%, transparent 100%);
  transform: translateX(-70%);
  animation: route-progress 1.05s ease-in-out infinite;
}
.route-loading-skeleton { display: grid; gap: 18px; }
.route-loading-skeleton i { display: block; border-radius: 10px; background: linear-gradient(100deg, #f0f1f5 20%, #fafafe 42%, #f0f1f5 64%); background-size: 260% 100%; animation: route-skeleton 1.15s ease-in-out infinite; }
.route-skeleton-title { width: min(320px, 55%); height: 58px; }
.route-skeleton-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.route-skeleton-grid i { height: 134px; }
.route-skeleton-panel { height: 310px; }
@keyframes route-progress {
  0% { transform: translateX(-75%); }
  100% { transform: translateX(75%); }
}
@keyframes route-skeleton {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.page-head h1 { margin: 5px 0 6px; font-size: 25px; letter-spacing: -.8px; }
.page-head p { margin: 0; color: var(--muted); font-size: 12px; }
.head-actions { display: flex; align-items: center; gap: 9px; }
.date-chip { border: 1px solid var(--line); background: white; border-radius: 9px; height: 38px; padding: 0 14px; display: inline-flex; align-items: center; gap: 9px; font-size: 11px; color: var(--ink-2); }
.date-range-control { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: 10px; }
.date-range-control .filter-select { width: 100px; height: 38px; }
.date-range-control .form-control { width: 142px; height: 38px; }
.product-market-table { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: white; }
.product-market-head, .product-market-row { display: grid; grid-template-columns: 1.1fr repeat(2, minmax(90px, 1fr)); gap: 8px; align-items: center; padding: 10px; border-bottom: 1px solid var(--line); }
.product-market-head { background: var(--soft); color: var(--muted); font-size: 10px; font-weight: 800; }
.product-market-row:last-child { border-bottom: 0; }
.product-market-row strong { font-size: 12px; color: var(--ink); }
.product-market-row .form-control { height: 36px; }

.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.stat-card { position: relative; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 19px; min-height: 134px; }
.stat-card::after { content: ""; position: absolute; width: 90px; height: 90px; border-radius: 50%; right: -35px; bottom: -44px; background: var(--tone-soft); }
.stat-top { display: flex; justify-content: space-between; align-items: center; }
.stat-icon { width: 35px; height: 35px; border-radius: 10px; background: var(--tone-soft); color: var(--tone); display: grid; place-items: center; font-size: 16px; }
.stat-trend { font-size: 10px; color: var(--mint); background: var(--mint-soft); padding: 4px 6px; border-radius: 6px; }
.stat-label { color: var(--muted); font-size: 11px; margin: 13px 0 5px; }
.stat-value { font-size: 25px; font-weight: 800; letter-spacing: -.8px; }
.stat-value small { font-size: 11px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.dashboard-live-stats .stat-value { color: var(--purple); }
.dashboard-live-stats .stat-value small { color: #77718f; }
.tone-purple { --tone: var(--purple); --tone-soft: var(--purple-soft); }
.tone-mint { --tone: var(--mint); --tone-soft: var(--mint-soft); }
.tone-orange { --tone: var(--orange); --tone-soft: var(--orange-soft); }
.tone-blue { --tone: var(--blue); --tone-soft: var(--blue-soft); }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, .85fr); gap: 15px; margin-top: 15px; }
.dashboard-monthly-card { margin-bottom: 15px; display: grid; grid-template-columns: 245px minmax(0, 1fr); overflow: hidden; }
.dashboard-goal-overview { padding: 22px; display: flex; flex-direction: column; align-items: flex-start; background: linear-gradient(145deg, #1a1d3b 0%, #302c62 62%, #443781 100%); color: white; }
.dashboard-goal-overview h3 { margin: 7px 0 5px; font-size: 19px; }
.dashboard-goal-overview p { margin: 0; color: rgba(255,255,255,.58); font-size: 9px; }
.dashboard-goal-score-ring { --progress: 0; width: 108px; height: 108px; margin: 17px auto 13px; align-self: center; position: relative; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#8b7cff calc(var(--progress) * 1%), rgba(255,255,255,.12) 0); }
.dashboard-goal-score-ring::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: #25234d; }
.dashboard-goal-score-ring > div { position: relative; z-index: 1; text-align: center; }
.dashboard-goal-score-ring strong, .dashboard-goal-score-ring small { display: block; }
.dashboard-goal-score-ring strong { font-size: 25px; }.dashboard-goal-score-ring small { margin-top: 2px; color: rgba(255,255,255,.56); font-size: 8px; }
.dashboard-goal-manage { width: 100%; margin-top: auto; height: 32px; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; background: rgba(255,255,255,.08); color: white; font-weight: 700; font-size: 9px; cursor: pointer; }
.dashboard-goal-detail { padding: 18px 20px; min-width: 0; background: linear-gradient(180deg, #fff, #fbfbfe); }
.dashboard-goal-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.dashboard-goal-metric { padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: white; }
.dashboard-goal-metric > div:first-child { display: grid; grid-template-columns: 25px 1fr auto; gap: 6px; align-items: center; }
.dashboard-goal-icon { width: 25px; height: 25px; border-radius: 7px; display: grid; place-items: center; color: var(--tone); background: var(--tone-soft); }
.dashboard-goal-metric small { color: var(--muted); font-size: 8px; }.dashboard-goal-metric b { color: var(--tone); font-size: 9px; }
.dashboard-goal-metric > strong, .dashboard-goal-metric > span { display: block; }
.dashboard-goal-metric > strong { margin-top: 10px; font-size: 15px; }.dashboard-goal-metric > span { margin: 3px 0 8px; color: var(--muted); font-size: 8px; }
.dashboard-goal-members-head { margin: 15px 0 8px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.dashboard-goal-members-head strong, .dashboard-goal-members-head small { display: block; }.dashboard-goal-members-head strong { font-size: 11px; }.dashboard-goal-members-head small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.dashboard-goal-members-head > span { color: var(--purple); font-size: 8px; font-weight: 700; }
.dashboard-goal-members { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.dashboard-goal-member { padding: 8px 10px; display: grid; grid-template-columns: 29px minmax(0, 1fr) auto; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--ink); text-align: left; cursor: pointer; }
.dashboard-goal-member:hover { border-color: #cfc9ff; box-shadow: 0 5px 16px rgba(62,50,134,.07); }
.dashboard-goal-member b, .dashboard-goal-member small { display: block; }.dashboard-goal-member b { font-size: 9px; }.dashboard-goal-member small { margin: 2px 0 5px; color: var(--muted); font-size: 7px; }
.dashboard-goal-member > i { color: var(--purple); font-size: 8px; font-style: normal; white-space: nowrap; }
.dashboard-goal-member .progress-track { height: 3px; }
.dashboard-sales-ranking { margin-bottom: 15px; overflow: hidden; }
.dashboard-ranking-head { padding: 18px 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); background: linear-gradient(110deg, #fff 0%, #faf9ff 100%); }
.dashboard-ranking-head h3 { margin: 6px 0 4px; font-size: 17px; }.dashboard-ranking-head p { margin: 0; color: var(--muted); font-size: 9px; }
.dashboard-ranking-head > div:last-child { display: flex; align-items: center; gap: 10px; }.dashboard-ranking-head > div:last-child > span { color: var(--purple); font-size: 11px; font-weight: 700; }
.dashboard-ranking-list { padding: 5px 20px 10px; }
.dashboard-ranking-row { width: 100%; padding: 12px 0; display: grid; grid-template-columns: 34px minmax(155px, .8fr) minmax(150px, .7fr) minmax(260px, 1.4fr) 52px; gap: 14px; align-items: center; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.dashboard-ranking-row:last-child { border-bottom: 0; }.dashboard-ranking-row:hover { background: #faf9ff; }
.dashboard-rank { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--soft); color: var(--muted); font-size: 10px; font-weight: 800; }
.dashboard-rank.top-1 { color: #a36b00; background: #fff2cc; }.dashboard-rank.top-2 { color: #667085; background: #edf0f5; }.dashboard-rank.top-3 { color: #a4562d; background: #f7e4d8; }
.dashboard-ranking-row .person { min-width: 0; }.dashboard-ranking-row .person strong, .dashboard-ranking-row .person small { display: block; }.dashboard-ranking-row .person strong { font-size: 10px; }.dashboard-ranking-row .person small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.dashboard-ranking-sales strong, .dashboard-ranking-sales small { display: block; }.dashboard-ranking-sales strong { font-size: 15px; }.dashboard-ranking-sales small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.dashboard-ranking-progress > span:first-child { margin-bottom: 6px; display: flex; align-items: center; justify-content: space-between; }.dashboard-ranking-progress small { color: var(--muted); font-size: 10px; }.dashboard-ranking-progress strong { color: var(--purple); font-size: 11px; }
.dashboard-ranking-row > i { color: var(--purple); font-size: 10px; font-weight: 700; font-style: normal; white-space: nowrap; }
.dashboard-monthly-embedded { margin-bottom: 15px; }
.dashboard-monthly-section-head { margin: 2px 0 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.dashboard-monthly-section-head h2 { margin: 6px 0 4px; font-size: 24px; letter-spacing: -1px; }
.dashboard-monthly-section-head p { margin: 0; color: var(--muted); font-size: 10px; }
.dashboard-month-picker { flex: 0 0 158px; }
.dashboard-month-picker input { width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--ink); font: inherit; font-size: 11px; outline: none; }
.dashboard-month-picker input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(105,87,235,.1); }
.dashboard-monthly-embedded .monthly-notice { margin-bottom: 12px; }
.dashboard-monthly-hero { min-height: 220px; margin: 0; }
.dashboard-monthly-metrics { margin-top: 12px; }
.card { background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 1px rgba(20,22,42,.01); }
.card-header { padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.card-title h3 { margin: 0; font-size: 14px; }
.card-title p { margin: 5px 0 0; color: var(--muted); font-size: 10px; }
.segmented { display: flex; padding: 3px; background: var(--soft); border-radius: 7px; }
.segmented button { border: 0; background: transparent; border-radius: 5px; height: 26px; padding: 0 9px; color: var(--muted); font-size: 9px; }
.segmented button.active { background: white; color: var(--ink); box-shadow: 0 2px 5px rgba(30,35,67,.08); }
.dashboard-chart-actions { display: flex; align-items: center; gap: 8px; }
.dashboard-live-indicator { color: var(--mint); font-size: 8px; font-weight: 700; }
.chart-wrap { height: 238px; padding: 26px 22px 17px; display: flex; gap: 15px; }
.y-axis { display: flex; flex-direction: column; justify-content: space-between; color: #adb0be; font-size: 9px; padding-bottom: 24px; }
.bars { flex: 1; display: grid; grid-template-columns: repeat(7, 1fr); gap: clamp(8px, 2vw, 22px); align-items: end; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to bottom, transparent 0, transparent calc(25% - 1px), #f0f1f5 25%); }
.bars.bars-30 { grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 4px; }
.bars-30 .bar { width: min(14px, 82%); }
.bars-30 .bar-label { font-size: 8px; }
.bar-group { height: 100%; display: flex; flex-direction: column; justify-content: end; align-items: center; gap: 8px; position: relative; }
.bar { width: min(31px, 74%); min-height: 3px; border-radius: 7px 7px 2px 2px; background: linear-gradient(to top, var(--purple), #a89df7); transition: .4s; position: relative; }
.bar:hover::after { content: attr(data-tip); position: absolute; white-space: nowrap; left: 50%; transform: translateX(-50%); top: -28px; background: var(--ink); color: white; font-size: 9px; padding: 5px 7px; border-radius: 5px; z-index: 2; }
.bar-label { color: #999dac; font-size: 9px; white-space: nowrap; }
.progress-card-body { padding: 20px; display: grid; grid-template-columns: 135px 1fr; gap: 12px; align-items: center; }
.donut { width: 125px; height: 125px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--purple) calc(var(--progress) * 1%), #ececf3 0); position: relative; }
.donut::before { content: ""; position: absolute; width: 88px; height: 88px; background: white; border-radius: 50%; }
.donut-text { z-index: 1; text-align: center; }
.donut-text strong { display: block; font-size: 25px; }
.donut-text small { color: var(--muted); font-size: 9px; }
.progress-list { display: grid; gap: 13px; }
.progress-list div { display: flex; align-items: center; justify-content: space-between; font-size: 10px; }
.progress-list span:first-child { color: var(--muted); display: flex; align-items: center; gap: 7px; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot.done { background: var(--purple); }.dot.doing { background: var(--orange); }.dot.todo { background: #dfe1e9; }.dot.late { background: var(--red); }
.dashboard-lower { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 15px; margin-top: 15px; }
.task-mini-list { padding: 4px 20px 10px; }
.task-mini { display: grid; grid-template-columns: 33px 1fr auto; gap: 11px; align-items: center; padding: 12px 0; border-bottom: 1px solid #f0f1f4; }
.task-mini:last-child { border: 0; }
.task-type-icon { width: 33px; height: 33px; border-radius: 9px; display: grid; place-items: center; background: var(--purple-soft); color: var(--purple); font-size: 14px; }
.task-mini strong { display: block; font-size: 11px; margin-bottom: 5px; }
.task-mini small { color: var(--muted); font-size: 9px; }
.alerts { padding: 12px 18px 18px; display: grid; gap: 9px; }
.alert { padding: 11px; border-radius: 9px; display: grid; grid-template-columns: 25px 1fr; gap: 8px; align-items: center; font-size: 10px; line-height: 1.5; }
.alert.warning { background: var(--orange-soft); color: #966022; }
.alert.danger { background: var(--red-soft); color: #a3424a; }
.alert.info { background: var(--blue-soft); color: #335fbc; }
.alert.success { background: var(--mint-soft); color: #278060; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.search { height: 39px; width: 230px; border: 1px solid var(--line); border-radius: 9px; background: white; padding: 0 13px; outline: none; }
.filter-select { height: 39px; border: 1px solid var(--line); border-radius: 9px; background: white; padding: 0 28px 0 11px; font-size: 11px; color: var(--ink-2); }
.tabs { display: flex; gap: 3px; background: white; border: 1px solid var(--line); border-radius: 10px; padding: 4px; }
.tab { border: 0; background: transparent; height: 31px; border-radius: 7px; padding: 0 13px; color: var(--muted); font-size: 11px; }
.tab.active { background: var(--purple-soft); color: var(--purple); font-weight: 700; }
.table-card { overflow: hidden; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { height: 43px; padding: 0 15px; background: #fafafd; color: #85899a; text-align: left; text-transform: uppercase; letter-spacing: .4px; font-size: 9px; white-space: nowrap; border-bottom: 1px solid var(--line); }
.data-table td { padding: 14px 15px; border-bottom: 1px solid #f0f1f4; font-size: 11px; vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #fdfdff; }
.table-title { min-width: 220px; }
.table-title strong { display: block; font-size: 11px; line-height: 1.5; }
.table-title small { display: block; color: var(--muted); margin-top: 3px; }
.badge { display: inline-flex; align-items: center; border-radius: 6px; padding: 4px 7px; font-size: 9px; font-weight: 700; white-space: nowrap; }
.badge.todo, .badge.planning { background: #f0f1f5; color: #727788; }
.badge.in_progress, .badge.editing { background: var(--orange-soft); color: #b86c25; }
.badge.done, .badge.published, .badge.reviewed { background: var(--mint-soft); color: #21815f; }
.badge.review, .badge.submitted { background: var(--blue-soft); color: #3768c5; }
.badge.needs_revision { background: var(--red-soft); color: var(--red); }
.priority { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; }
.priority::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.priority.high::before { background: var(--red); }.priority.medium::before { background: var(--orange); }.priority.low::before { background: var(--blue); }
.person { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.mini-avatar { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; background: var(--purple-soft); color: var(--purple); font-size: 9px; font-weight: 800; }
.progress-cell { min-width: 105px; }
.progress-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; margin-bottom: 6px; }
.progress-track { height: 5px; background: #eceef3; border-radius: 4px; overflow: hidden; }
.progress-track i { display: block; height: 100%; background: var(--purple); border-radius: 4px; }
.team-gmv-progress { min-width: 320px; }
.team-report-count { font-size: 14px; color: var(--ink); }
.team-report-unit { color: var(--muted); font-size: 9px; }
.row-action { border: 0; background: transparent; color: var(--purple); font-size: 10px; font-weight: 700; padding: 5px; }
.task-row-actions { display: flex; align-items: center; gap: 10px; }
.table-actions { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.row-action.danger { color: var(--red); }
.row-action:disabled { cursor: not-allowed; opacity: .5; }
.task-created-time { color: var(--ink-2); font-size: 9px; white-space: nowrap; }
.empty-state { text-align: center; padding: 55px 20px; color: var(--muted); }
.empty-state b { display: block; color: var(--ink); margin-bottom: 7px; }

.content-code { font-family: ui-monospace, Consolas, monospace; font-size: 9px; color: var(--purple); background: var(--purple-soft); padding: 4px 6px; border-radius: 5px; display: inline-block; white-space: nowrap; }
.metric-value strong { display: block; font-size: 11px; }.metric-value small { color: var(--muted); font-size: 9px; }
.tag { display: inline-flex; padding: 4px 7px; border-radius: 12px; font-size: 9px; }
.tag.hot { background: var(--red-soft); color: var(--red); }.tag.potential { background: var(--orange-soft); color: #ae6725; }.tag.normal { background: var(--soft); color: var(--muted); }
.pricing-stats { margin-bottom: 15px; }
.pricing-toolbar { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.pricing-table { min-width: 1460px; }
.pricing-section-title { margin: 19px 0 11px; padding-bottom: 7px; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 800; color: var(--ink-2); }
.pricing-section-title:first-child { margin-top: 0; }
.pricing-result { padding: 13px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; border: 1px solid #e2dfff; border-radius: 11px; background: linear-gradient(135deg, #f0eeff, #faf9ff); }
.pricing-result div { min-width: 0; padding: 8px; border-right: 1px solid #dfdcf2; }
.pricing-result div:nth-child(4n) { border-right: 0; }
.pricing-result small, .pricing-result strong { display: block; }
.pricing-result small { color: var(--muted); font-size: 8px; margin-bottom: 6px; }
.pricing-result strong { color: var(--purple-dark); font-size: 15px; overflow: hidden; text-overflow: ellipsis; }
.pricing-dimension-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: end; }
.pricing-formula-note { grid-column: 1 / -1; padding: 9px 11px; border-radius: 8px; background: #f7f7fb; color: var(--muted); font-size: 9px; }
.table-sub { display: block; margin-top: 5px; color: var(--muted); font-size: 8px; }
.pricing-main-tabs { margin-bottom: 16px; padding: 5px; display: inline-flex; gap: 4px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.pricing-main-tabs button, .pricing-mode-switch button { border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 10px; font-weight: 700; padding: 9px 14px; }
.pricing-main-tabs button.active, .pricing-mode-switch button.active { background: var(--purple-soft); color: var(--purple); }
.pricing-calculator-head, .pricing-panel-heading { margin-bottom: 13px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pricing-calculator-head h2, .pricing-panel-heading h2 { margin: 0; font-size: 17px; }
.pricing-calculator-head p, .pricing-panel-heading p { margin: 4px 0 0; color: var(--muted); font-size: 9px; }
.pricing-mode-switch { padding: 4px; display: flex; border: 1px solid var(--line); border-radius: 10px; background: white; }
.roi-calculator-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; }
.roi-calculator-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.roi-calculator-workbench { align-items: stretch; }
.roi-calculator-workbench .roi-panel { min-height: 100%; display: flex; flex-direction: column; }
.roi-panel { min-width: 0; padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: white; box-shadow: 0 6px 20px rgba(25,28,55,.035); }
.roi-panel h3 { margin: 0 0 13px; font-size: 11px; }
.roi-fields { display: grid; gap: 10px; }
.roi-fields-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.roi-field-full { grid-column: 1 / -1; }
.roi-fields label, .roi-calculator-actions label { display: grid; gap: 6px; color: var(--muted); font-size: 9px; font-weight: 700; }
.roi-fields label > span { color: var(--red); }
.roi-fields .form-control { height: 39px; }
.roi-check { grid-template-columns: 16px 1fr !important; align-items: center; color: var(--ink-2) !important; }
.roi-check input { width: 15px; height: 15px; }
.roi-inline-note { margin-top: 10px; padding: 8px; border-radius: 8px; background: var(--soft); color: var(--muted); font-size: 8px; line-height: 1.5; }
.roi-readout { padding: 11px; border-radius: 9px; background: var(--purple-soft); }
.roi-readout small, .roi-readout strong { display: block; }.roi-readout small { color: var(--muted); font-size: 8px; }.roi-readout strong { margin-top: 5px; color: var(--purple); font-size: 15px; }
.roi-results { background: linear-gradient(145deg, #1c1f3d, #302b59); color: white; border-color: transparent; }
.roi-result-list { display: grid; gap: 8px; }
.roi-result-list > div { padding: 11px; border-radius: 9px; background: rgba(255,255,255,.07); }
.roi-result-list small, .roi-result-list strong, .roi-result-list span { display: block; }
.roi-result-list small { color: rgba(255,255,255,.55); font-size: 8px; }.roi-result-list strong { margin-top: 6px; font-size: 15px; }.roi-result-list span { margin-top: 4px; color: rgba(255,255,255,.5); font-size: 8px; }
.roi-result-list .roi-highlight { border: 1px solid rgba(169,159,255,.32); background: rgba(116,98,232,.2); }
.roi-result-list .roi-highlight strong { color: #c9c3ff; font-size: 26px; }
.roi-results > .btn { width: 100%; margin-top: 12px; }
.roi-calculator-workbench .roi-result-list { flex: 1; }
.roi-save-button { min-height: 42px; }
.roi-save-actions { display: grid; gap: 8px; }
.roi-save-actions .roi-save-button { width: 100%; }
.roi-calculator-actions { margin-top: 13px; padding: 13px; display: flex; align-items: end; justify-content: flex-end; gap: 8px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.roi-calculator-actions label { margin-right: auto; width: min(380px, 100%); }
.roi-calculator-footnote { margin: 10px 0 0; color: var(--muted); font-size: 8px; line-height: 1.6; text-align: center; }
.pricing-single-panel { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #f8f8fb; }
.pricing-panel-heading select { width: 260px; }
.pricing-daily-layout { display: grid; grid-template-columns: minmax(330px, .8fr) minmax(500px, 1.2fr); gap: 14px; }
.pricing-daily-form { padding: 18px; }
.pricing-daily-form > .btn { width: 100%; margin-top: 12px; }
.daily-profit-result { margin-top: 14px; padding: 14px; border-radius: 11px; background: linear-gradient(145deg, #eeebff, #f8f7ff); }
.daily-profit-result small, .daily-profit-result strong, .daily-profit-result span { display: block; }
.daily-profit-result small { color: var(--muted); font-size: 8px; }.daily-profit-result strong { margin-top: 6px; color: var(--purple); font-size: 24px; }.daily-profit-result span { margin-top: 5px; color: var(--muted); font-size: 8px; line-height: 1.5; }
.pricing-library-table { min-width: 1180px; }

.reports-layout { display: grid; grid-template-columns: minmax(370px, .85fr) minmax(420px, 1.15fr); gap: 16px; }
.reports-layout.editor-reports-layout { grid-template-columns: repeat(2, minmax(460px, 1fr)); align-items: start; }
.reports-layout.editor-reports-layout.reports-layout-empty-history { grid-template-columns: minmax(0, 1fr); }
.report-form { padding: 20px; }
.auto-summary { padding: 13px; background: linear-gradient(135deg, #f1efff, #f7f6ff); border: 1px solid #e5e0ff; border-radius: 10px; margin-bottom: 18px; }
.auto-summary-title { display: flex; align-items: center; justify-content: space-between; color: var(--purple); font-weight: 700; font-size: 11px; margin-bottom: 10px; }
.auto-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.editor-auto-summary .auto-metrics { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.auto-metrics div { background: rgba(255,255,255,.78); border-radius: 7px; padding: 9px; }
.auto-metrics strong { display: block; font-size: 14px; }.auto-metrics small { color: var(--muted); font-size: 8px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-group { min-width: 0; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { display: block; font-size: 11px; font-weight: 700; margin: 0 0 7px; }
.form-group label span { color: var(--red); }
.form-control { font-size: 11px; }
textarea.form-control { height: auto; min-height: 84px; padding: 11px 13px; resize: vertical; line-height: 1.6; }
select.form-control { padding-right: 30px; }
#hot-product-market-override { color: var(--purple); font-weight: 700; }
.form-hint { color: var(--muted); font-size: 9px; margin-top: 5px; }
.calculated-field { background: #f5f6fa; color: var(--purple); font-weight: 800; }
.password-control { position: relative; }
.password-control .form-control { padding-right: 50px; }
.view-password-control .form-control { padding-right: 62px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.password-tool { position: absolute; top: 50%; right: 7px; width: 34px; height: 34px; transform: translateY(-50%); display: grid; place-items: center; border: 1px solid #dedaf8; border-radius: 7px; color: var(--purple); background: var(--purple-soft); font-size: 17px; font-weight: 800; transition: .18s; }
.password-tool:hover { border-color: var(--purple); background: #e4e0ff; }
.password-tool.text { width: 46px; font-size: 10px; }
.video-links-head { margin: 22px 0 11px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.video-links-head strong, .video-links-head small { display: block; }
.video-links-head strong { font-size: 11px; }
.video-links-head small { color: var(--muted); font-size: 9px; margin-top: 4px; }
.video-links-head > span { color: var(--purple); background: var(--purple-soft); border-radius: 12px; padding: 4px 9px; font-size: 9px; font-weight: 800; }
.video-links-list { display: grid; gap: 10px; }
.video-link-row { display: grid; grid-template-columns: 1fr 32px; gap: 8px; align-items: end; padding: 11px; border: 1px solid var(--line); border-radius: 10px; background: #fafafd; }
.video-link-row .form-group label { color: var(--purple-dark); }
.remove-video-link { width: 32px; height: 48px; border: 0; border-radius: 8px; background: var(--red-soft); color: var(--red); font-size: 18px; }
.remove-video-link[hidden] { display: none; }
.add-video-link { width: 100%; margin-top: 10px; border-style: dashed; color: var(--purple); background: var(--purple-soft); }
.task-upload-zone { min-height: 112px; border: 1.5px dashed #cfd2df; border-radius: 12px; padding: 18px; display: grid; grid-template-columns: 42px 1fr auto; gap: 13px; align-items: center; background: #fafafd; transition: .2s; cursor: pointer; }
.task-upload-zone:hover, .task-upload-zone.dragging { border-color: var(--purple); background: var(--purple-soft); }
.upload-zone-icon { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--purple-soft); color: var(--purple); font-size: 22px; font-weight: 700; }
.task-upload-zone strong, .task-upload-zone small { display: block; }
.task-upload-zone strong { font-size: 11px; margin-bottom: 5px; }
.task-upload-zone small { color: var(--muted); font-size: 9px; }
.finance-import-label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.finance-import-label-row > label { margin: 0; }
.finance-template-download { min-height: 36px; padding: 0 13px; border-color: #d8d2ff; background: #f5f3ff; color: var(--purple); font-weight: 800; }
.finance-template-download:hover { border-color: var(--purple); background: #ece9ff; color: var(--purple-dark); }
.finance-template-download span { font-size: 16px; line-height: 1; }
.finance-purchase-upload { min-height: 96px; }
.finance-purchase-upload.has-file { border-color: var(--mint); background: var(--mint-soft); }
.finance-purchase-upload.has-file .upload-zone-icon { background: white; color: var(--mint); }
.finance-import-file-status { margin-top: 8px; color: var(--muted); font-size: 9px; line-height: 1.55; }
.finance-import-file-status.ready { color: #16876b; font-weight: 700; }
.finance-import-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); font-size: 9px; }
.finance-import-divider::before, .finance-import-divider::after { content: ''; height: 1px; flex: 1; background: var(--line); }
.task-upload-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.task-upload-item { min-width: 0; display: grid; grid-template-columns: 42px 1fr 26px; gap: 9px; align-items: center; border: 1px solid var(--line); border-radius: 9px; padding: 7px; background: white; }
.task-upload-item > div { min-width: 0; }
.task-upload-item strong, .task-upload-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task-upload-item strong { font-size: 9px; }.task-upload-item small { color: var(--muted); font-size: 8px; margin-top: 3px; }
.upload-preview, .attachment-thumb { width: 42px; height: 42px; border-radius: 7px; overflow: hidden; display: grid; place-items: center; background: var(--purple-soft); color: var(--purple); }
.upload-preview img, .attachment-thumb img { width: 100%; height: 100%; object-fit: cover; }
.upload-preview.video, .attachment-thumb.video { background: var(--orange-soft); color: var(--orange); }
.remove-task-file { width: 26px; height: 26px; border: 0; border-radius: 7px; background: var(--red-soft); color: var(--red); }
.attachment-count { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; padding: 3px 6px; border-radius: 5px; background: var(--blue-soft); color: var(--blue); font-size: 8px; font-weight: 700; }
.task-attachments { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.task-attachment { display: grid; grid-template-columns: 42px minmax(0, 1fr) 18px; gap: 9px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); text-decoration: none; transition: .2s; }
.task-attachment:hover { border-color: var(--purple); background: var(--purple-soft); }
.task-attachment > span:nth-child(2) { min-width: 0; }
.task-attachment strong, .task-attachment small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.task-attachment strong { font-size: 9px; }.task-attachment small { color: var(--muted); font-size: 8px; margin-top: 3px; }
.task-attachment b { color: var(--purple); }
.form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.report-list { padding: 8px 20px 20px; }
.report-item { border: 1px solid var(--line); border-radius: 11px; padding: 14px; margin-top: 10px; }
.report-item-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.report-item-status { display: flex; align-items: center; gap: 7px; }
.report-delete-x { width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid #f1cbd0; border-radius: 7px; background: var(--red-soft); color: var(--red); font-size: 15px; line-height: 1; transition: .18s; }
.report-delete-x:hover { border-color: var(--red); background: #f9dfe3; transform: translateY(-1px); }
.report-person { display: flex; align-items: center; gap: 9px; }
.report-person strong { display: block; font-size: 12px; }.report-person small { color: var(--muted); font-size: 10px; line-height: 1.45; }
.report-excerpt { font-size: 11px; color: var(--ink-2); line-height: 1.65; margin: 0; }
.report-review { margin-top: 12px; padding: 14px 15px; border: 1px solid #bfe8d9; border-left: 4px solid var(--mint); border-radius: 8px; background: #f2fbf7; color: var(--ink-2); }
.report-review.needs_revision { border-color: #f0c1c8; border-left-color: var(--red); background: #fff5f6; }
.report-review-heading { display: flex; align-items: center; gap: 8px; }
.report-review-heading b { color: var(--ink); font-size: 13px; }
.report-review-heading > span:not(.review-unread-chip) { padding: 4px 8px; border-radius: 6px; background: #dff6ed; color: #13795b; font-size: 11px; font-weight: 800; }
.report-review.needs_revision .report-review-heading > span:not(.review-unread-chip) { background: #fde4e7; color: #b83d4b; }
.report-review p { margin: 11px 0 0; color: var(--ink); font-size: 13px; line-height: 1.75; white-space: pre-wrap; }
.report-review p strong { display: block; margin-bottom: 3px; color: #17795d; font-size: 11px; }
.report-review.needs_revision p strong { color: #b83d4b; }
.review-unread-chip { display: inline-flex; align-items: center; justify-content: center; min-height: 22px; padding: 0 8px; border-radius: 11px; background: #ef4444; color: #fff; box-shadow: 0 4px 12px rgba(239,68,68,.2); font-size: 10px; font-weight: 800; white-space: nowrap; }
.operator-feedback-banner { margin-bottom: 17px; padding: 17px 19px; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 14px; border: 1px solid #a9dfcc; border-left: 4px solid var(--mint); border-radius: 8px; background: #effaf6; box-shadow: 0 8px 22px rgba(32,201,151,.07); }
.operator-feedback-banner.needs_revision { border-color: #f2cbd0; background: var(--red-soft); }
.operator-feedback-banner.needs_revision { border-left-color: var(--red); box-shadow: 0 8px 22px rgba(235,87,87,.07); }
.operator-feedback-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; background: white; color: var(--mint); font-size: 18px; font-weight: 800; }
.operator-feedback-banner.needs_revision .operator-feedback-icon { color: var(--red); }
.operator-feedback-copy { min-width: 0; }.operator-feedback-copy > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }.operator-feedback-copy strong { font-size: 14px; }.operator-feedback-copy small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }.operator-feedback-copy p { margin: 8px 0 0; color: var(--ink); font-size: 13px; line-height: 1.65; white-space: pre-wrap; }
.current-report-feedback { margin-top: 17px; padding: 15px 16px; border: 1px solid #bfe8d9; border-left: 4px solid var(--mint); border-radius: 8px; background: #f2fbf7; color: #17795d; }
.current-report-feedback.needs_revision { border-color: #f0c1c8; border-left-color: var(--red); background: #fff5f6; color: #a93f49; }
.current-report-feedback p { margin: 11px 0 0; color: var(--ink); font-size: 13px; line-height: 1.75; white-space: pre-wrap; }
.current-report-feedback p strong { display: block; margin-bottom: 3px; color: #17795d; font-size: 11px; }
.current-report-feedback.needs_revision p strong { color: #b83d4b; }
.report-item-actions { margin-top: 11px; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); }
.report-item-actions span { color: var(--muted); font-size: 10px; line-height: 1.45; }
.report-item-actions .btn { height: 32px; padding: 0 13px; font-size: 10px; }
.submitted-report-content { display: grid; gap: 9px; }
.submitted-report-content > div, .submitted-product-notes > div { padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: #fafafd; }
.submitted-report-content small, .submitted-product-notes small { color: var(--muted); font-size: 8px; font-weight: 700; }
.submitted-report-content p, .submitted-product-notes p { margin: 6px 0 0; color: var(--ink-2); font-size: 10px; line-height: 1.7; white-space: pre-wrap; }
.submitted-product-list { display: grid; gap: 10px; }
.submitted-product-card { padding: 14px; border: 1px solid var(--line); border-radius: 11px; background: white; }
.submitted-product-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.submitted-product-head time { color: var(--muted); font-size: 8px; }
.submitted-product-identity { min-width: 0; display: flex; align-items: center; gap: 9px; }
.submitted-product-identity > img, .submitted-product-identity > span { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 9px; object-fit: cover; display: grid; place-items: center; background: var(--purple-soft); color: var(--purple); }
.submitted-product-identity small, .submitted-product-identity strong, .submitted-product-identity b { display: block; }
.submitted-product-identity small { color: var(--muted); font-size: 7px; }.submitted-product-identity strong { margin-top: 3px; font-size: 11px; }.submitted-product-identity b { margin-top: 3px; color: var(--purple); font-size: 8px; }
.submitted-product-metrics { margin-top: 12px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; }
.submitted-product-metrics > div { padding: 9px; border-radius: 8px; background: var(--soft); }
.submitted-product-metrics small, .submitted-product-metrics strong { display: block; }.submitted-product-metrics small { color: var(--muted); font-size: 7px; }.submitted-product-metrics strong { margin-top: 4px; font-size: 10px; }
.submitted-product-notes { margin-top: 9px; display: grid; grid-template-columns: 1fr; gap: 8px; }
.submitted-review-note { padding: 15px; border-radius: 8px; background: var(--mint-soft); color: #17795d; font-size: 13px; line-height: 1.75; white-space: pre-wrap; }
.submitted-review-feedback { margin-top: 22px; padding: 18px; border: 1px solid #a9dfcc; border-left: 5px solid var(--mint); border-radius: 8px; background: #ecf9f4; box-shadow: 0 8px 24px rgba(32,201,151,.08); }
.submitted-review-feedback.needs_revision { border-color: #efb8c0; border-left-color: var(--red); background: #fff2f4; box-shadow: 0 8px 24px rgba(235,87,87,.08); }
.submitted-review-feedback-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.submitted-review-feedback-head > div { display: flex; align-items: center; gap: 9px; }
.submitted-review-feedback-head span:not(.review-unread-chip) { color: var(--ink); font-size: 15px; font-weight: 800; }
.submitted-review-feedback-head b { padding: 5px 9px; border-radius: 6px; background: #d5f2e7; color: #13795b; font-size: 11px; }
.submitted-review-feedback.needs_revision .submitted-review-feedback-head b { background: #fbdde1; color: #b83d4b; }
.submitted-review-feedback p { margin: 13px 0 0; color: var(--ink); font-size: 14px; line-height: 1.8; white-space: pre-wrap; }
.product-report-editor { margin: 20px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-report-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.product-report-title strong, .product-report-title small { display: block; }
.product-report-title strong { font-size: 12px; }.product-report-title small { color: var(--muted); font-size: 8px; margin-top: 4px; }
.product-report-title > span { padding: 4px 8px; border-radius: 10px; background: var(--purple-soft); color: var(--purple); font-size: 8px; font-weight: 800; }
.product-report-list { display: grid; gap: 12px; }
.product-report-card { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fafafd; }
.report-product-picker { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(260px, 1.2fr); gap: 8px; }
.report-product-picker .hot-product-search { color: var(--purple); border-color: #d9d2ff; background: #fff; }
.report-product-picker .hot-product-search:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(108, 92, 231, .1); }
.report-product-picker .hot-product-select { color: var(--purple); font-weight: 700; }
.report-review-decision { grid-column: 1 / -1; padding: 16px; border: 2px solid #d9d2ff; border-radius: 8px; background: #f8f7ff; transition: border-color .18s, background .18s, box-shadow .18s; }
.report-review-decision-head { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; }
.report-review-decision-head strong, .report-review-decision-head small { display: block; }
.report-review-decision-head strong { font-size: 14px; }
.report-review-decision-head small { margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.report-review-decision-icon { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 8px; background: var(--purple); color: #fff; font-size: 17px; font-weight: 800; }
.report-review-decision > label { margin-bottom: 7px; font-size: 11px; font-weight: 800; }
.report-review-decision .form-control { max-width: 470px; border-width: 2px; color: var(--purple); font-weight: 800; }
.report-review-decision[data-review-decision="reviewed"] { border-color: #86d9bf; background: #f2fbf7; box-shadow: 0 8px 22px rgba(32, 201, 151, .08); }
.report-review-decision[data-review-decision="reviewed"] .report-review-decision-icon { background: var(--mint); }
.report-review-decision[data-review-decision="reviewed"] .form-control { border-color: #86d9bf; color: #13795b; }
.report-review-decision[data-review-decision="needs_revision"] { border-color: #f0aab3; background: #fff6f7; box-shadow: 0 8px 22px rgba(235, 87, 87, .08); }
.report-review-decision[data-review-decision="needs_revision"] .report-review-decision-icon { background: var(--red); }
.report-review-decision[data-review-decision="needs_revision"] .form-control { border-color: #f0aab3; color: #b83d4b; }
.report-review-feedback { grid-column: 1 / -1; padding: 13px 15px; border-left: 3px solid #d9d2ff; border-radius: 0 8px 8px 0; background: #faf9ff; }
.product-report-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.product-report-card-head strong, .product-report-card-head small { display: block; }
.product-report-card-head strong { font-size: 11px; }.product-report-card-head small { color: var(--muted); font-size: 8px; margin-top: 3px; }
.product-report-card-actions { display: flex; align-items: center; gap: 8px; }
.remove-product-report { width: 28px; height: 28px; border: 0; border-radius: 7px; background: var(--red-soft); color: var(--red); }
.remove-product-report[hidden] { display: none; }
.add-product-report { width: 100%; margin-top: 10px; color: var(--purple); border-style: dashed; background: var(--purple-soft); }
.report-product-image { min-height: 68px; padding: 8px; display: grid; grid-template-columns: 58px 1fr; gap: 9px; align-items: center; border: 1px solid #dfe2ea; border-radius: 10px; background: white; }
.product-image-preview { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 8px; background: var(--purple-soft); color: var(--purple); font-size: 22px; font-weight: 500; overflow: hidden; cursor: pointer; }
.product-image-preview img { width: 100%; height: 100%; object-fit: cover; }
.report-product-image > div { min-width: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.report-product-image .btn { height: 28px; padding: 0 9px; font-size: 9px; }
.product-image-remove { border: 0; background: transparent; color: var(--red); font-size: 9px; }
.product-image-remove[hidden] { display: none; }
.product-image-status { width: 100%; color: var(--muted); font-size: 8px; line-height: 1.4; }
.hot-product-image-field { align-self: start; }
.hot-product-image-field .report-product-image { min-height: 68px; }
.hot-product-skus-field { align-self: start; min-width: 0; }
.hot-product-sku-editor-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.hot-product-sku-editor-head label { margin: 0; }
#hot-product-sku-list { display: grid; gap: 8px; }
.hot-product-sku-row { display: grid; grid-template-columns: 62px minmax(0, 1fr) 36px; align-items: center; gap: 8px; }
.hot-product-sku-kind { color: var(--muted); font-size: 11px; font-weight: 800; white-space: nowrap; }
.hot-product-sku-row.primary .hot-product-sku-kind { color: var(--purple); }
.hot-product-sku-remove { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 8px; background: #fff0f2; color: var(--red); font-size: 20px; line-height: 1; cursor: pointer; }
.hot-product-sku-remove:hover { background: #ffe2e7; }
.hot-product-sku-remove:disabled { background: #f2f3f8; color: #b8bac7; cursor: not-allowed; }
.hot-product-sku-list { display: flex; flex-wrap: wrap; gap: 5px; max-width: 280px; }
.hot-product-sku-list .content-code.primary { color: #fff; background: var(--purple); }
.hot-product-table { min-width: 1320px; }
.hot-product-name { display: flex; align-items: center; gap: 10px; }
.hot-product-thumb { width: 56px; height: 56px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border: 1px solid #dedfea; border-radius: 8px; background: #f4f4f8; color: var(--muted); font: inherit; padding: 0; }
.hot-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hot-product-image-button { cursor: zoom-in; background: #fff; box-shadow: 0 3px 10px rgba(23, 26, 48, .09); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.hot-product-image-button:hover { border-color: var(--purple); box-shadow: 0 7px 16px rgba(86, 70, 191, .2); transform: translateY(-1px); }
.hot-product-thumb.no-image { align-content: center; gap: 1px; border-style: dashed; }
.hot-product-thumb.no-image span { color: #8e91a5; font-size: 9px; font-weight: 800; }
.hot-product-thumb.no-image small { color: #b0b3c2; font-size: 7px; }
.product-image-lightbox { min-height: 420px; display: grid; place-items: center; padding: 20px; background: #f5f5f8; }
.product-image-lightbox img { display: block; max-width: 100%; max-height: min(68vh, 680px); object-fit: contain; border-radius: 8px; box-shadow: 0 14px 36px rgba(18, 21, 40, .16); }
.hot-product-select { border-color: #dcd7ff; background: #f8f7ff; color: var(--purple-dark); font-weight: 700; }
.admin-report-stats { margin-bottom: 16px; }
.editor-missing-report-card { margin-bottom: 16px; overflow: hidden; }
.editor-missing-dates { max-width: 560px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.editor-missing-dates span { padding: 4px 7px; border-radius: 7px; background: var(--red-soft); color: var(--red); font-size: 8px; font-weight: 800; white-space: nowrap; }
.editor-missing-count { color: var(--red); }
.editor-missing-zero { color: var(--mint); font-weight: 800; }
.operation-summary { margin-bottom: 16px; padding: 18px; }
.operation-summary-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.operation-summary-metrics div { padding: 13px; border-radius: 9px; background: #f7f7fb; }
.operation-summary-metrics small, .operation-summary-metrics strong, .operation-summary-metrics span { display: block; }
.operation-summary-metrics small { color: var(--muted); font-size: 8px; }.operation-summary-metrics strong { font-size: 17px; margin-top: 5px; }.operation-summary-metrics span { color: var(--muted); font-size: 8px; margin-top: 3px; }
.operation-plan-summary { padding-left: 20px; border-left: 1px solid var(--line); }
.operation-plan-summary > strong { font-size: 11px; }
.operation-plan-summary ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 7px; }
.operation-plan-summary li { display: grid; grid-template-columns: 95px 1fr; gap: 8px; padding: 8px; border-radius: 8px; background: var(--soft); font-size: 9px; line-height: 1.5; }
.operation-plan-summary li b { color: var(--purple-dark); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.operation-plan-summary li span { color: var(--ink-2); }
.operation-plan-summary p { color: var(--muted); font-size: 9px; }
.admin-report-toolbar { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.report-date-picker { position: relative; }
.report-date-button { min-width: 205px; height: 42px; padding: 0 11px; display: grid; grid-template-columns: 28px minmax(0, 1fr) 14px; gap: 9px; align-items: center; border: 1px solid #dfe2ea; border-radius: 8px; background: #fff; color: var(--ink); text-align: left; cursor: pointer; }
.report-date-button:hover, .report-date-button[aria-expanded="true"] { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(108,92,231,.09); }
.report-date-button > span:nth-child(2) { min-width: 0; display: grid; gap: 1px; }.report-date-button small { color: var(--muted); font-size: 8px; }.report-date-button strong { overflow: hidden; color: var(--purple); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.report-date-button > i { color: var(--muted); font-style: normal; text-align: right; }.report-date-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; background: #efedff; color: var(--purple); font-size: 10px; font-weight: 800; }
.report-date-popover { position: absolute; z-index: 90; top: calc(100% + 8px); left: 0; width: 322px; max-width: calc(100vw - 40px); padding: 12px; border: 1px solid #dedfea; border-radius: 8px; background: #fff; box-shadow: 0 18px 40px rgba(25,29,56,.18); }
.report-date-popover-head, .report-calendar-head, .report-date-popover-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.report-date-modes button { min-width: 68px; }
.report-date-close, .report-calendar-head button { width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 6px; background: var(--soft); color: var(--muted); cursor: pointer; }.report-date-close:hover, .report-calendar-head button:hover { color: var(--purple); background: #efedff; }
.report-date-quick { margin: 11px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }.report-date-quick button { height: 28px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink-2); font-size: 9px; cursor: pointer; }.report-date-quick button:hover { border-color: var(--purple); color: var(--purple); }
.report-calendar-head { padding: 2px 0 9px; }.report-calendar-head strong { font-size: 12px; }
.report-calendar-week, .report-calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }.report-calendar-week { margin-bottom: 4px; }.report-calendar-week span { color: var(--muted); font-size: 8px; text-align: center; }
.report-calendar-grid button { aspect-ratio: 1; min-width: 0; border: 0; border-radius: 6px; background: transparent; color: var(--ink); font-size: 10px; cursor: pointer; }.report-calendar-grid button:hover { background: #efedff; color: var(--purple); }.report-calendar-grid button.outside { color: #b8bac5; }.report-calendar-grid button.in-range { border-radius: 3px; background: #f0eeff; color: var(--purple); }.report-calendar-grid button.selected { border-radius: 6px; background: var(--purple); color: #fff; font-weight: 800; }.report-calendar-grid button.today:not(.selected) { box-shadow: inset 0 0 0 1px var(--purple); color: var(--purple); }
.report-date-popover-foot { min-height: 28px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: 8px; }
.admin-report-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.admin-report-card { padding: 18px; }
.admin-report-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin-report-excerpt { min-height: 48px; margin: 14px 0; color: var(--ink-2); font-size: 11px; line-height: 1.7; }
.report-snapshot-strip, .review-snapshot { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.report-snapshot-strip { padding: 10px; border-radius: 9px; background: #f7f7fb; }
.report-snapshot-strip div, .review-snapshot div { min-width: 0; }
.report-snapshot-strip strong, .report-snapshot-strip small, .review-snapshot strong, .review-snapshot small { display: block; }
.report-snapshot-strip strong { font-size: 11px; overflow: hidden; text-overflow: ellipsis; }
.report-snapshot-strip small { color: var(--muted); font-size: 8px; margin-top: 3px; }
.admin-report-card > .btn { width: 100%; margin-top: 13px; }
.admin-report-empty { grid-column: 1 / -1; }
.review-snapshot { padding: 14px; border: 1px solid #e3dfff; border-radius: 11px; background: linear-gradient(135deg, #f0eeff, #f8f7ff); }
.review-snapshot div { padding: 8px 10px; border-right: 1px solid #dfdcf3; }
.review-snapshot div:last-child { border-right: 0; }
.review-snapshot strong { color: var(--purple-dark); font-size: 17px; }
.review-snapshot small { color: var(--muted); font-size: 8px; margin-top: 4px; }
.review-section-title { margin: 20px 0 10px; display: flex; justify-content: space-between; align-items: center; }
.review-section-title strong { font-size: 11px; }.review-section-title small { color: var(--muted); font-size: 8px; }
.review-task-list { display: grid; gap: 7px; }
.review-task-list > div:not(.review-no-data) { display: grid; grid-template-columns: 33px 1fr; gap: 9px; align-items: center; padding: 9px; border: 1px solid var(--line); border-radius: 9px; }
.review-task-list p { margin: 0; }
.review-task-list strong, .review-task-list small { display: block; }
.review-task-list strong { font-size: 9px; }.review-task-list small { color: var(--muted); font-size: 8px; margin-top: 4px; }
.review-no-data { padding: 20px; border-radius: 9px; background: var(--soft); color: var(--muted); text-align: center; font-size: 9px; }

.team-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; }
.team-summary { padding: 18px; display: flex; align-items: center; gap: 13px; }
.team-summary-icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--purple-soft); color: var(--purple); }
.team-summary strong { display: block; font-size: 20px; }.team-summary small { color: var(--muted); font-size: 9px; }
.service-rank-list { display: grid; gap: 10px; }
.service-rank-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.service-rank-row > span:first-child { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: var(--purple-soft); color: var(--purple); font-weight: 900; font-size: 10px; }
.service-rank-row strong, .service-rank-row small { display: block; }
.service-rank-row small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.service-rank-row b { color: var(--purple-dark); white-space: nowrap; }
.role-badge { font-size: 9px; color: var(--muted); }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); margin-right: 5px; }
.goal-month-picker { width: 150px; height: 40px; }
.monthly-notice { margin-bottom: 14px; }
.monthly-hero { padding: 28px 32px; min-height: 190px; display: flex; align-items: center; justify-content: space-between; gap: 28px; overflow: hidden; position: relative; background: linear-gradient(135deg, #191c36 0%, #282750 58%, #392f69 100%); color: white; }
.monthly-hero::after { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%; right: -100px; top: -130px; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 0 0 46px rgba(255,255,255,.025), 0 0 0 92px rgba(255,255,255,.015); }
.monthly-hero-copy { position: relative; z-index: 1; max-width: 650px; }
.monthly-hero-copy h2 { font-size: 27px; letter-spacing: -1px; margin: 10px 0; }
.monthly-hero-copy p { color: rgba(255,255,255,.58); font-size: 12px; line-height: 1.75; margin: 0; }
.monthly-donut { flex: 0 0 auto; width: 132px; height: 132px; background: conic-gradient(#8a7bff calc(var(--progress) * 1%), rgba(255,255,255,.12) 0); z-index: 1; }
.monthly-donut::before { background: #26254c; width: 94px; height: 94px; }
.monthly-donut .donut-text small { color: rgba(255,255,255,.54); }
.monthly-goal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-top: 15px; }
.monthly-role-row { margin-top: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.monthly-role-row.editor-row { background: linear-gradient(180deg, #fff 0%, #fbfaff 100%); }
.monthly-role-row .monthly-goal-grid { margin-top: 14px; }
.monthly-role-row-title { display: flex; justify-content: space-between; gap: 18px; align-items: end; }
.monthly-role-row-title h3 { margin: 4px 0; font-size: 19px; }
.monthly-role-row-title p { margin: 0; color: var(--muted); }
.monthly-role-row-title > strong { color: var(--purple); font-size: 13px; white-space: nowrap; }
.monthly-dual-progress { display: flex; gap: 12px; align-items: center; }
.monthly-dual-progress > div { min-width: 118px; padding: 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: rgba(255,255,255,.08); text-align: center; }
.monthly-dual-progress strong { display: block; color: #fff; font-size: 30px; }
.monthly-dual-progress small { color: rgba(255,255,255,.68); }
.monthly-section-title { margin: 25px 0 12px; display: flex; align-items: flex-end; justify-content: space-between; }
.monthly-section-title h3 { margin: 0; font-size: 16px; }
.monthly-section-title p { margin: 5px 0 0; color: var(--muted); font-size: 9px; }
.monthly-section-title > span { color: var(--purple); font-size: 9px; font-weight: 800; }
.monthly-member-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.monthly-member-card { padding: 18px; }
.monthly-member-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.monthly-member-head .person > div strong, .monthly-member-head .person > div small { display: block; }
.monthly-member-head .person > div strong { font-size: 11px; }
.monthly-member-head .person > div small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.monthly-member-metrics { margin: 16px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.monthly-member-metric > div:first-child { margin-bottom: 7px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.monthly-member-metric span { color: var(--muted); font-size: 8px; }
.monthly-member-metric b { font-size: 9px; }
.monthly-member-note { min-height: 34px; margin: 0 0 12px; padding: 9px; border-radius: 8px; background: var(--soft); color: var(--ink-2); font-size: 9px; line-height: 1.6; }
.monthly-member-card > .btn { width: 100%; }
.goal-metric { padding: 18px; }
.goal-metric-top { display: flex; align-items: center; justify-content: space-between; }
.goal-metric-top > span:last-child { color: var(--tone); background: var(--tone-soft); border-radius: 11px; padding: 4px 8px; font-size: 9px; font-weight: 800; }
.goal-metric-title { color: var(--muted); font-size: 10px; margin: 14px 0 6px; }
.goal-metric-value strong { font-size: 20px; letter-spacing: -.5px; }
.goal-metric-value small { color: var(--muted); font-size: 9px; margin-left: 4px; }
.goal-progress { height: 6px; margin-top: 14px; background: #eceef3; border-radius: 4px; overflow: hidden; }
.goal-progress i { display: block; height: 100%; width: 0; background: var(--tone); border-radius: 4px; transition: .35s; }
.monthly-explain { margin-top: 15px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.monthly-explain strong { font-size: 12px; }
.monthly-explain p { color: var(--muted); font-size: 10px; line-height: 1.6; margin: 5px 0 0; }

.modal-backdrop { position: fixed; z-index: 100; inset: 0; background: rgba(14,16,34,.45); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 20px; animation: fade .18s ease; }
.modal { width: min(580px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: white; border-radius: 16px; box-shadow: 0 26px 70px rgba(20,22,42,.25); animation: rise .2s ease; }
.modal.wide { width: min(740px, 100%); }
.modal-header { padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.modal-header h3 { margin: 0; font-size: 15px; }
.modal-close { width: 30px; height: 30px; border: 0; background: var(--soft); border-radius: 8px; color: var(--muted); }
.modal-body { padding: 20px; }
.modal-footer { padding: 14px 20px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 8px; }
.toast-root { position: fixed; z-index: 200; right: 22px; top: 22px; display: grid; gap: 9px; }
.toast { min-width: 250px; background: var(--ink); color: white; border-radius: 10px; padding: 12px 15px; box-shadow: var(--shadow); font-size: 11px; animation: slide .22s ease; }
.toast.error { background: #a93f49; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(12px); opacity: 0; } }
@keyframes slide { from { transform: translateX(20px); opacity: 0; } }

@media (max-width: 1100px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .team-cards { grid-template-columns: repeat(2, 1fr); }
  .monthly-goal-grid { grid-template-columns: repeat(2, 1fr); }
  .monthly-member-grid { grid-template-columns: 1fr; }
  .reports-layout { grid-template-columns: 1fr; }
  .admin-report-grid { grid-template-columns: 1fr; }
  .operation-summary { grid-template-columns: 1fr; }
  .company-account-owner-grid { grid-template-columns: 1fr; }
  .editor-overview-rankings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editor-level-reward-panel { grid-template-columns: 1fr; }
  .roi-calculator-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-daily-layout { grid-template-columns: 1fr; }
  .operation-plan-summary { padding-left: 0; padding-top: 16px; border-left: 0; border-top: 1px solid var(--line); }
  .login-page { grid-template-columns: 1fr 440px; }
  .login-visual { padding-left: 5vw; padding-right: 5vw; }
  .feature-row { grid-template-columns: 1fr; max-width: 240px; }
  .feature-row div { padding: 12px; flex-direction: row; }
}

.account-head-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.finance-head-actions { gap: 10px; }
.finance-toolbar-btn { min-height: 44px; height: 44px; padding: 0 15px; border: 1px solid transparent; border-radius: 8px; font-size: 12px; font-weight: 800; letter-spacing: 0; box-shadow: 0 7px 16px rgba(24, 28, 55, .13); }
.finance-action-icon { width: 24px; height: 24px; display: inline-grid; place-items: center; flex: 0 0 24px; border-radius: 7px; background: rgba(255, 255, 255, .2); color: inherit; font-size: 15px; line-height: 1; }
.finance-order-action, .finance-purchase-action, .finance-ad-recharge-action, .finance-reimbursement-action { background: var(--purple); color: #fff; box-shadow: 0 9px 20px rgba(108, 92, 231, .28); }
.finance-order-action:hover, .finance-purchase-action:hover, .finance-ad-recharge-action:hover, .finance-reimbursement-action:hover { background: var(--purple-dark); box-shadow: 0 11px 24px rgba(108, 92, 231, .34); }
.finance-settings-action { border-color: #c8cad7; background: #fff; color: var(--ink-2); box-shadow: 0 5px 13px rgba(25, 28, 52, .09); }
.finance-settings-action .finance-action-icon { background: #eeecff; color: var(--purple); }
.company-account-date { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 10px; }
.company-account-date .form-control { width: 160px; }
.company-account-live { margin: -4px 0 14px; display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.company-account-live small { color: var(--muted); }
.company-account-stats { margin-bottom: 16px; }
.company-account-owner-grid { margin-bottom: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.company-account-owner { padding: 18px; }
.company-account-owner .person > span:last-child { display: grid; gap: 3px; }
.company-account-owner .person small { color: var(--muted); font-size: 9px; }
.company-account-owner-metrics { margin-top: 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.company-account-owner-metrics > div { padding: 12px; border-radius: 11px; background: var(--soft); }
.company-account-owner-metrics strong, .company-account-owner-metrics small { display: block; }
.company-account-owner-metrics strong { color: var(--purple-dark); font-size: 15px; }
.company-account-owner-metrics small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.company-account-toolbar { margin-bottom: 14px; }
.company-account-table { min-width: 1120px; }
.company-account-table .person > span:last-child { display: grid; gap: 3px; min-width: 0; }
.company-account-table .person small { color: var(--muted); font-size: 9px; overflow: hidden; text-overflow: ellipsis; }
.company-account-video-count, .company-account-history-gmv { color: var(--purple); }
.finance-import-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.finance-record-import-stack { grid-template-columns: 1fr; }
.finance-ad-recharge-card { margin-top: 16px; }
.finance-ad-total { display: grid; justify-items: end; gap: 3px; }
.finance-ad-total strong, .finance-usd-value { color: var(--purple-dark); }
.finance-ad-total strong { font-size: 15px; }
.finance-ad-total small { color: var(--muted); font-size: 9px; }
.finance-purchase-review-card { margin-top: 16px; overflow-x: auto; border-color: #ddd8ff; }
.finance-purchase-review-card .data-table { min-width: 1180px; }
.finance-purchase-review-card th:nth-last-child(2), .finance-purchase-review-card td:nth-last-child(2) { position: sticky; right: 124px; z-index: 1; min-width: 108px; background: #fff; }
.finance-purchase-review-card th:last-child, .finance-purchase-review-card td:last-child { position: sticky; right: 0; z-index: 1; min-width: 124px; background: #fff; box-shadow: -8px 0 14px rgba(24, 28, 55, .05); }
.finance-purchase-review-card th:nth-last-child(2), .finance-purchase-review-card th:last-child { background: var(--soft); }
.finance-review-summary { display: grid; justify-items: end; gap: 2px; }
.finance-review-summary strong { color: var(--purple); font-size: 20px; line-height: 1; }
.finance-review-summary small { color: var(--muted); font-size: 9px; }
.finance-review-status { display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border-radius: 6px; font-size: 9px; font-weight: 900; white-space: nowrap; }
.finance-review-status + small { display: block; max-width: 150px; margin-top: 5px; color: var(--muted); font-size: 8px; line-height: 1.45; }
.finance-review-status.is-pending { background: #fff2d7; color: #9c6500; }
.finance-review-status.is-approved { background: var(--mint-soft); color: #098765; }
.finance-review-status.is-rejected { background: var(--red-soft); color: var(--red); }
.finance-review-actions { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.finance-review-actions .approve-finance-purchase { border-color: var(--purple); background: var(--purple); color: #fff; }
.finance-review-actions .approve-finance-purchase:hover { background: var(--purple-dark); }
.finance-review-actions .reject-finance-purchase { border-color: transparent; background: var(--red-soft); color: var(--red); }
.finance-official-purchase-card { overflow-x: auto; }
.finance-official-purchase-card .data-table { min-width: 980px; }
.finance-official-purchase-card th:last-child,
.finance-official-purchase-card td:last-child { position: sticky; right: 0; z-index: 1; min-width: 108px; background: #fff; box-shadow: -8px 0 14px rgba(24, 28, 55, .05); }
.finance-official-purchase-card th:last-child { background: var(--soft); }
.finance-record-actions { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.finance-record-actions .edit-finance-purchase { border: 1px solid #d8d2ff; border-radius: 5px; background: #f5f3ff; color: var(--purple); }
.finance-record-actions .delete-finance-purchase { border: 1px solid transparent; border-radius: 5px; background: var(--red-soft); color: var(--red); }
.finance-review-modal-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.finance-review-modal-summary > div { min-width: 0; padding: 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
.finance-review-modal-summary small, .finance-review-modal-summary strong, .finance-review-modal-summary span { display: block; }
.finance-review-modal-summary small { color: var(--muted); font-size: 8px; }
.finance-review-modal-summary strong { margin-top: 5px; overflow: hidden; color: var(--ink); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.finance-review-modal-summary span { margin-top: 3px; color: var(--muted); font-size: 8px; }
.currency-input { position: relative; }
.currency-input > span { position: absolute; z-index: 1; left: 14px; top: 50%; color: var(--purple); font-size: 13px; font-weight: 900; transform: translateY(-50%); pointer-events: none; }
.currency-input .form-control { padding-left: 34px; color: var(--purple-dark); font-weight: 800; }
.editor-overview-rankings { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 16px 0; }
.editor-ranking-card { min-height: 260px; }
.editor-ranking-list { display: grid; gap: 8px; }
.editor-ranking-item { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.editor-ranking-item div { min-width: 0; }
.editor-ranking-item strong, .editor-ranking-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.editor-ranking-item b { color: var(--purple); white-space: nowrap; }
.editor-level-reward-panel { margin-bottom: 16px; padding: 18px 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .38fr); gap: 20px; align-items: center; background: linear-gradient(120deg, #fff 0%, #fbfaff 100%); }
.editor-level-copy h3 { margin: 6px 0 6px; font-size: 18px; }
.editor-level-copy p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.editor-reward-meter { display: grid; gap: 9px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.editor-reward-meter div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.editor-reward-meter strong { color: var(--purple); font-size: 18px; }
.editor-reward-meter small { color: var(--muted); font-size: 9px; }
.batch-product-owner-list { margin-top: 16px; border: 1px solid var(--line); border-radius: 8px; max-height: 420px; overflow: auto; }
.batch-product-owner-summary { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 10px; }
.batch-product-owner-summary span:first-child { color: var(--purple); font-weight: 800; }
.batch-product-owner-all, .batch-product-owner-item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.batch-product-owner-item[hidden] { display: none !important; }
.batch-product-owner-item:last-child { border-bottom: 0; }
.batch-product-owner-item span { display: grid; gap: 2px; }
.batch-product-owner-item small { color: var(--muted); }
.product-cost-history-list { display: grid; gap: 8px; margin-bottom: 8px; }
.product-cost-history-row { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(160px, 1fr) auto; gap: 8px; align-items: center; }
.cost-history-view { display: grid; gap: 8px; margin-bottom: 12px; }
.cost-history-view div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.cost-history-view span { color: var(--muted); }

.editor-sales-editor { margin-top: 18px; border: 1px solid var(--border); border-radius: 18px; background: #fafafe; padding: 20px; }
.editor-sales-list { display: grid; gap: 14px; margin-top: 15px; }
.editor-sales-row { border: 1px solid #e5e4ef; background: #fff; border-radius: 16px; padding: 16px; }
.editor-sales-row-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.editor-sales-row-head > div { display: grid; gap: 3px; }
.editor-sales-row-head small { color: var(--muted); }
.remove-editor-sales { border: 0; border-radius: 10px; width: 34px; height: 34px; background: #fff0f2; color: var(--red); cursor: pointer; font-size: 18px; }
.editor-sales-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; align-items: end; }
.editor-sales-account-field, .editor-sales-product-field { grid-column: span 3; }
.editor-sales-video-field, .editor-sales-order-field, .editor-sales-local-gmv-field, .editor-sales-gmv-field { grid-column: span 3; }
.editor-sales-product-preview { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: #f6f5fd; }
.editor-sales-product-preview img, .editor-sales-product-preview > span { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; display: grid; place-items: center; background: #ebe8ff; color: var(--purple); }
.editor-sales-product-preview div { display: grid; gap: 2px; min-width: 0; }
.editor-sales-product-preview small { color: var(--muted); }
.editor-sales-product-preview em { margin-left: auto; font-style: normal; color: var(--purple); font-size: 12px; }
.add-account-product-row, .add-editor-account-row { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 8px; padding: 8px 14px; font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease; }
.editor-add-icon { width: 24px; height: 24px; display: inline-grid; place-items: center; flex: 0 0 24px; border-radius: 7px; font-size: 16px; line-height: 1; }
.add-account-product-row { margin-top: 12px; border: 1px solid #d9d5f7; background: #f8f7ff; color: var(--purple-dark); }
.add-account-product-row .editor-add-icon { background: #e9e5ff; color: var(--purple); }
.add-account-product-row:hover { border-color: #ada4f4; background: #f2f0ff; box-shadow: 0 7px 18px rgba(92, 76, 210, .1); transform: translateY(-1px); }
.add-editor-account-row { width: 100%; margin-top: 14px; border: 1px dashed #aaa1ea; background: #fff; color: var(--ink); box-shadow: 0 6px 18px rgba(24, 27, 51, .05); }
.add-editor-account-row .editor-add-icon { background: var(--purple); color: #fff; box-shadow: 0 4px 10px rgba(105, 87, 228, .24); }
.add-editor-account-row:hover { border-style: solid; border-color: var(--purple); background: #fbfaff; box-shadow: 0 9px 22px rgba(92, 76, 210, .12); transform: translateY(-1px); }
.add-account-product-row:active, .add-editor-account-row:active { box-shadow: none; transform: translateY(0); }
.add-account-product-row:focus-visible, .add-editor-account-row:focus-visible { outline: 3px solid rgba(105, 87, 228, .2); outline-offset: 2px; }
.service-add-order { min-height: 44px; margin-top: 14px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 8px; background: var(--purple); color: #fff; font-size: 11px; font-weight: 800; box-shadow: 0 9px 20px rgba(108, 92, 231, .26); transition: background .18s ease, box-shadow .18s ease, transform .18s ease; }
.service-add-order-icon { width: 25px; height: 25px; display: inline-grid; place-items: center; flex: 0 0 25px; border-radius: 7px; background: rgba(255,255,255,.18); color: #fff; font-size: 17px; font-weight: 500; line-height: 1; }
.service-add-order:hover { background: var(--purple-dark); box-shadow: 0 12px 24px rgba(108, 92, 231, .32); transform: translateY(-1px); }
.service-add-order:active { box-shadow: 0 5px 12px rgba(108, 92, 231, .22); transform: translateY(0); }
.service-add-order:focus-visible { outline: 3px solid rgba(108, 92, 231, .2); outline-offset: 2px; }
.editor-weekly-summary { background: #f8f8fc; }
.editor-weekly-sales-card { padding: 16px; border: 1px solid #e5e4ef; border-radius: 16px; background: #fff; }
.editor-weekly-sales-head, .editor-weekly-sales-head > div, .editor-weekly-product { display: flex; align-items: center; gap: 10px; }
.editor-weekly-sales-head { justify-content: space-between; }
.editor-weekly-sales-head > div > span:last-child, .editor-weekly-product > div { display: grid; gap: 3px; }
.editor-weekly-sales-head small, .editor-weekly-product small { color: var(--muted); }
.editor-weekly-product { margin-top: 14px; padding: 12px; border-radius: 12px; background: #f6f5fd; }
.editor-weekly-product > img, .editor-weekly-product > span { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; display: grid; place-items: center; background: #ebe8ff; color: var(--purple); }
.editor-weekly-sales-metrics { margin-top: 12px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.editor-weekly-sales-metrics > div { padding: 11px; border-radius: 10px; background: var(--soft); }
.editor-weekly-sales-metrics small, .editor-weekly-sales-metrics strong { display: block; }
.editor-weekly-sales-metrics small { color: var(--muted); font-size: 8px; }
.editor-weekly-sales-metrics strong { margin-top: 5px; color: var(--purple-dark); font-size: 12px; }
.add-editor-sales { width: 100%; margin-top: 15px; border: 1px dashed #bcb4ff; background: #f3f0ff; color: var(--purple); border-radius: 12px; padding: 13px; font-weight: 700; cursor: pointer; }
.editor-review-snapshot { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.editor-weekly-reflection { margin-top: 18px; padding: 20px; border: 1px solid #e3dfff; border-radius: 16px; background: linear-gradient(180deg, #fff 0%, #faf9ff 100%); }
.editor-weekly-reflection .product-report-title { margin-bottom: 16px; }
.editor-weekly-reflection textarea { min-height: 118px; }
.editor-weekly-submitted { margin-top: 16px; }
.editor-daily-collapsed { padding: 22px; display: grid; gap: 18px; }
.editor-daily-collapsed .editor-review-snapshot { margin: 0; }
.editor-daily-collapsed-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 4px; }
.editor-daily-chart-card { margin-bottom: 16px; }
.editor-chart-legend { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 9px; font-weight: 800; }
.editor-chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.editor-chart-legend span::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: currentColor; }
.editor-line-chart { height: 260px; margin-top: 8px; padding: 16px 14px 10px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(180deg, #fff 0%, #fbfbff 100%); }
.editor-line-chart svg { width: 100%; height: 100%; overflow: visible; }
.editor-line-chart polyline { fill: none; stroke-width: 2.4; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.editor-line-chart .line-accounts, .editor-chart-legend .line-accounts { color: #6d5df6; stroke: #6d5df6; }
.editor-line-chart .line-videos, .editor-chart-legend .line-videos { color: #2f80ed; stroke: #2f80ed; }
.editor-line-chart .line-orders, .editor-chart-legend .line-orders { color: #ff9f43; stroke: #ff9f43; }
.editor-line-chart .line-gmv, .editor-chart-legend .line-gmv { color: #20c997; stroke: #20c997; }
.editor-chart-days { display: grid; grid-template-columns: repeat(auto-fit, minmax(28px, 1fr)); gap: 4px; margin-top: 8px; color: var(--muted); font-size: 8px; }
.editor-chart-days span { min-height: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.proxy-settings-card { margin-bottom: 16px; }
.proxy-settings-row { display: flex; align-items: center; gap: 10px; padding: 0 20px 18px; color: var(--ink-2); font-size: 11px; }
.vless-delivery { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 18px; align-items: start; }
.vless-delivery img { width: 220px; height: 220px; border: 1px solid var(--line); border-radius: 12px; padding: 10px; background: #fff; }
.vless-delivery textarea { min-height: 220px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 10px; line-height: 1.6; }
.vless-delivery-meta { display: grid; gap: 7px; align-self: stretch; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); color: var(--ink-2); font-size: 10px; }
.vless-delivery-meta span { overflow-wrap: anywhere; }
.vless-delivery p { grid-column: 1 / -1; margin: 0; color: var(--muted); line-height: 1.7; }
.hot-product-listings-editor { gap: 14px; container-type: inline-size; }
.hot-product-listings-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 2px 0; }
.hot-product-listings-title > div { display: grid; gap: 4px; min-width: 0; max-width: 560px; }
.hot-product-listings-title label { margin: 0; }
.hot-product-listings-title small { color: var(--muted); font-size: 12px; line-height: 1.5; }
#add-hot-product-listing { flex: 0 0 auto; min-height: 42px; padding: 0 16px; white-space: nowrap; }
#hot-product-listing-list { display: grid; gap: 14px; }
.hot-product-listing-row { padding: 16px; border: 1px solid var(--border); border-radius: 8px; background: #fafaff; }
.hot-product-listing-row-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid #ecebf7; }
.hot-product-listing-row-head > div { display: grid; gap: 2px; }
.hot-product-listing-row-head small { color: var(--muted); font-size: 11px; }
.hot-product-listing-remove { width: 34px; height: 34px; flex: 0 0 34px; border: 0; border-radius: 8px; background: #fff0f2; color: var(--red); font-size: 20px; line-height: 1; cursor: pointer; }
.hot-product-listing-remove:hover { background: #ffe3e7; }
.hot-product-listing-fields { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; align-items: end; }
.hot-product-listing-fields .form-group { min-width: 0; }
.hot-product-listing-fields .form-group:nth-child(1),
.hot-product-listing-fields .form-group:nth-child(2) { grid-column: span 3; }
.hot-product-listing-fields .form-group:nth-child(3),
.hot-product-listing-fields .form-group:nth-child(4),
.hot-product-listing-fields .form-group:nth-child(5) { grid-column: span 2; }
.hot-product-listing-fields .form-group:nth-child(6),
.hot-product-listing-fields .form-group:nth-child(7) { grid-column: span 3; }
.hot-product-listing-fields .form-control { width: 100%; min-width: 0; }
.hot-product-listing-fields label { line-height: 1.35; }
.hot-product-market-select { color: var(--purple); font-weight: 700; }
.hot-product-listing-cell { display: grid; gap: 5px; min-width: 160px; }
.hot-product-listing-cell > span { display: flex; align-items: center; gap: 7px; }
.hot-product-listing-cell b { color: var(--purple); font-size: 12px; }
.hot-product-listing-cell small { color: var(--muted); font-size: 11px; }
.hot-product-listing-cell em { color: var(--purple); font-size: 11px; font-style: normal; }
.hot-product-listing-metric-cell { display: grid; gap: 5px; min-width: 96px; }
.hot-product-listing-metric-cell > span { min-height: 18px; display: grid; grid-template-columns: 28px minmax(58px, auto); align-items: center; gap: 6px; }
.hot-product-listing-metric-cell small { color: var(--purple); font-size: 10px; font-weight: 800; }
.hot-product-listing-metric-cell strong { color: var(--ink); font-size: 12px; white-space: nowrap; }
.hot-product-listing-metric-cell em { color: var(--muted); font-size: 10px; font-style: normal; }
.product-listing-detail { display: grid; gap: 8px; }
.product-listing-detail > div { display: grid; grid-template-columns: auto minmax(140px, 1fr) minmax(0, 2fr); align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.product-listing-detail > div:last-child { border-bottom: 0; }
.product-listing-detail small { color: var(--muted); line-height: 1.55; }
.daily-report-header-meta { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.daily-report-reminder { display: inline-flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid #dcd7ff; border-radius: 8px; background: #f7f5ff; color: #58506e; font-size: 12px; line-height: 1.35; }
.daily-report-reminder b { color: var(--purple); white-space: nowrap; }

@media (max-width: 1100px) {
  .hot-product-listing-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hot-product-listing-fields .form-group { grid-column: auto; }
}

@media (max-width: 820px) {
  .login-page { display: block; }
  .login-visual { display: none; }
  .login-panel { min-height: 100vh; padding: 30px 24px; }
  .device-approval-page { padding: 18px; }
  .device-approval-page .device-approval-card { padding: 28px 20px; }
  .device-approval-details { grid-template-columns: 1fr; }
  .mobile-brand { display: flex; }
  .app-shell { display: block; }
  .sidebar { transform: translateX(-100%); transition: .25s; box-shadow: 15px 0 40px rgba(15,17,34,.2); }
  .sidebar.open { transform: translateX(0); }
  .mobile-overlay { display: none; position: fixed; z-index: 15; inset: 0; background: rgba(12,14,28,.35); }
  .mobile-overlay.show { display: block; }
  .workspace { width: 100%; }
  .menu-btn { display: block; }
  .topbar-date { display: none; }
  .topbar { padding: 0 18px; }
  .impersonation-banner { padding: 8px 14px; }
  .impersonation-banner small { display: none; }
  .page-content { padding: 22px 18px 40px; }
  .page-content.route-loading::before { left: 0; }
  .route-skeleton-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-grid, .dashboard-lower { grid-template-columns: 1fr; }
  .dashboard-goal-members { grid-template-columns: 1fr; }
  .dashboard-ranking-row { grid-template-columns: 30px minmax(125px, .8fr) minmax(120px, .7fr) minmax(190px, 1.2fr) 45px; gap: 9px; }
  .sop-workflow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .submitted-product-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-head { align-items: flex-start; }
  .data-table { min-width: 800px; }
  .table-card { overflow-x: auto; }
  .editor-sales-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editor-sales-account-field, .editor-sales-product-field { grid-column: 1 / -1; }
  .editor-sales-video-field, .editor-sales-order-field, .editor-sales-local-gmv-field, .editor-sales-gmv-field { grid-column: auto; }
  .editor-overview-rankings { grid-template-columns: 1fr; }
  .finance-import-grid { grid-template-columns: 1fr; }
  .finance-review-modal-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-cost-history-row { grid-template-columns: 1fr; }
  .report-product-picker { grid-template-columns: 1fr; }
  .editor-daily-collapsed-actions, .proxy-settings-row { align-items: stretch; flex-direction: column; }
  .vless-delivery { grid-template-columns: 1fr; }
  .vless-delivery img { width: 200px; height: 200px; }
  .hot-product-listings-title { align-items: stretch; flex-direction: column; }
  .hot-product-listing-fields { grid-template-columns: 1fr; }
  .hot-product-listing-fields .form-group { grid-column: 1 / -1; }
  .daily-report-header-meta { width: 100%; align-items: stretch; justify-content: flex-start; }
  .daily-report-reminder { width: 100%; }
  .product-listing-detail > div { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .editor-sales-grid, .editor-review-snapshot { grid-template-columns: 1fr; }
  .editor-sales-account-field, .editor-sales-product-field, .editor-sales-video-field, .editor-sales-order-field, .editor-sales-local-gmv-field, .editor-sales-gmv-field { grid-column: auto; }
  .editor-weekly-sales-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .company-account-date { width: 100%; align-items: stretch; flex-direction: column; }
  .account-head-actions { width: 100%; align-items: stretch; flex-direction: column; }
  .company-account-date .form-control { width: 100%; }
  .company-account-live { align-items: flex-start; flex-direction: column; }
  .company-account-owner-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid, .team-cards { grid-template-columns: 1fr; }
  .dashboard-monthly-section-head { align-items: stretch; flex-direction: column; }
  .dashboard-month-picker { flex-basis: auto; width: 100%; }
  .dashboard-goal-metrics { grid-template-columns: repeat(2, 1fr); }
  .dashboard-ranking-head { align-items: flex-start; flex-direction: column; }
  .dashboard-ranking-head > div:last-child { width: 100%; justify-content: space-between; }
  .dashboard-ranking-list { padding-inline: 14px; }
  .dashboard-ranking-row { grid-template-columns: 30px 1fr auto; }
  .dashboard-ranking-sales { grid-column: 2 / -1; }
  .dashboard-ranking-progress { grid-column: 2 / -1; }
  .submitted-product-metrics, .submitted-product-notes { grid-template-columns: 1fr; }
  .operation-summary-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .operator-feedback-banner { grid-template-columns: 36px 1fr; }
  .operator-feedback-banner .btn { grid-column: 1 / -1; width: 100%; }
  .sop-workflow, .sop-feature-grid { grid-template-columns: 1fr; }
  .monthly-goal-grid { grid-template-columns: 1fr; }
  .monthly-member-metrics { grid-template-columns: 1fr; }
  .monthly-hero { align-items: flex-start; padding: 24px; }
  .monthly-donut { width: 100px; height: 100px; }
  .monthly-donut::before { width: 70px; height: 70px; }
  .monthly-explain { align-items: flex-start; flex-direction: column; }
  .page-head { flex-direction: column; }
  .head-actions { width: 100%; }
  .head-actions .btn { flex: 1; }
  .date-range-control { width: 100%; align-items: stretch; flex-direction: column; }
  .date-range-control .filter-select, .date-range-control .form-control { width: 100%; }
  .toolbar { align-items: stretch; flex-direction: column; }
  .filters { display: grid; grid-template-columns: 1fr 1fr; }
  .report-date-picker { grid-column: 1 / -1; }.report-date-button { width: 100%; }.report-date-popover { width: min(322px, calc(100vw - 40px)); }
  .search { width: 100%; grid-column: 1 / -1; }
  .filter-select { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }
  .auto-metrics { grid-template-columns: repeat(2, 1fr); }
  .task-upload-zone { grid-template-columns: 38px 1fr; }
  .task-upload-zone .btn { grid-column: 1 / -1; }
  .task-upload-list, .task-attachments { grid-template-columns: 1fr; }
  .report-snapshot-strip, .review-snapshot { grid-template-columns: repeat(2, 1fr); }
  .review-snapshot div { border-right: 0; }
  .pricing-result { grid-template-columns: repeat(2, 1fr); }
  .pricing-result div { border-right: 0; }
  .pricing-main-tabs { width: 100%; overflow-x: auto; }
  .pricing-main-tabs button { white-space: nowrap; flex: 1; }
  .pricing-calculator-head, .pricing-panel-heading { align-items: stretch; flex-direction: column; }
  .pricing-mode-switch, .pricing-panel-heading select { width: 100%; }
  .pricing-mode-switch button { flex: 1; }
  .roi-calculator-grid, .roi-calculator-grid.three { grid-template-columns: 1fr; }
  .roi-calculator-actions { align-items: stretch; flex-direction: column; }
  .roi-calculator-actions label, .roi-calculator-actions .btn { width: 100%; }
  .progress-card-body { grid-template-columns: 1fr; justify-items: center; }
  .progress-list { width: 100%; }
  .topbar-user div { display: none; }
  .topbar-user { grid-template-columns: 34px 12px; }
}
