/* Matched against the signed-in design.youmeibi.com interface, 2026-11-10. */
:root {
  --ink:#18201b; --muted:#6d746f; --tertiary:#99a09a;
  --bg:#f3f5f2; --subtle:#f7f9f6; --line:rgba(21,27,23,.10);
  --sidebar:#151b17; --accent:#c8ff57; --accent-soft:#f1ffd5;
  --green:#247c53; --green-dark:#1c6542; --green-pale:#e9f7ef; --green-soft:#e9f7ef;
  --red:#b32418; --red-pale:#fdedee; --warning:#91682e; --warning-soft:#fff5e4;
  --info:#2e6bc2; --info-soft:#e8f2ff;
  --shadow:0 24px 60px rgba(0,0,0,.18);
  --font-sans:"SF Pro Text",-apple-system,BlinkMacSystemFont,"PingFang SC","Noto Sans SC","Helvetica Neue",sans-serif;
}
body { font-family:var(--font-sans); font-size:13px; line-height:1.5; color:var(--ink); background:var(--bg); -webkit-font-smoothing:antialiased; }
.main,.topbar { background:var(--bg); }
.main { min-width:0; }
button,input,select,textarea { font-family:inherit; }
button:focus-visible,a:focus-visible { outline:3px solid #a8d94a; outline-offset:3px; }
select,input,textarea { color:var(--ink); border:1px solid var(--line); background:#fff; }
select:focus,input:focus,textarea:focus { outline:0; border-color:#a8d94a; box-shadow:0 0 0 3px var(--accent-soft); }
input::placeholder,textarea::placeholder { color:var(--tertiary); }
.muted { color:var(--muted); }
.eyebrow { color:var(--tertiary); font-size:10.5px; letter-spacing:.5px; }
.sidebar { width:232px; padding:22px 14px 16px; background:var(--sidebar); color:var(--tertiary); border:0; }
.brand { padding:0 8px 34px; gap:10px; font-size:13px; font-weight:400; min-height:70px; }
.brand-mark { width:36px; height:36px; flex:none; background:transparent; border-radius:10px; }
.brand-mark img { display:block; width:100%; height:100%; object-fit:contain; border-radius:10px; }
.brand-title { color:var(--tertiary); font-size:11.5px; font-weight:400; }
.workspace-tag { display:none; }
.nav-label { color:var(--tertiary); font-size:10.5px; letter-spacing:0; padding:0 10px; margin:0 0 10px; }
.nested-label { margin:22px 0 10px; }
.second-label { margin-top:28px; }
.sidebar .nav-item { min-height:40px; margin:0 0 5px; padding:11px 12px; gap:11px; border-radius:10px; color:#bcc2bc; font-size:12.5px; line-height:18.75px; }
.sidebar .nav-item svg { width:18px; height:18px; }
.sidebar .nav-item:hover { background:#ffffff08; color:#fff; }
.sidebar .nav-item.active { background:var(--accent); color:#0d120e; font-weight:650; }
/* Keep keyboard focus inside the item, separate from the selected navigation. */
.sidebar .nav-item:focus { outline:0; box-shadow:none; }
.sidebar .nav-item:focus-visible { outline:1px solid #b5c0b7; outline-offset:-3px; }
.sidebar .nav-item.active:focus-visible { outline-color:#536b2b; }
.sidebar .nav-item>span:last-child:not(:first-child) { background:#ffffff12; border-radius:999px; font-size:10.5px; min-width:22px; padding:1px 6px; }
.sidebar .nav-item.active>span:last-child:not(:first-child) { background:#151b1712; }
.sidebar .nav-item>span:empty { display:none; }
.sidebar-bottom { padding-top:32px; }
.connection-card { margin:20px 10px; padding:0; gap:8px; background:transparent; border:0; align-items:baseline; }
.connection-card strong { color:#bcc2bc; font-size:11px; font-weight:400; }
.connection-card small { color:#6d746f; font-size:10px; margin-top:4px; }
.dot,.online-dot { background:#63a886; }
.connection-card .dot { width:5px; height:5px; }
.account { margin:0; padding:13px 10px; border:0; background:#ffffff04; border-radius:12px; }
.sidebar .avatar { width:32px; height:32px; background:var(--accent); color:var(--sidebar); font-size:12px; }
.account strong { color:#fff; font-size:11.5px; font-weight:500; }
.account small { color:var(--tertiary); font-size:10px; margin-top:4px; }
.account .online-dot { background:transparent; width:auto; height:auto; }
.account .online-dot:after { content:'···'; color:#6d746f; letter-spacing:2px; }
.topbar { height:68px; padding:0 32px; border-bottom:1px solid var(--line); gap:16px; }
.topbar-context { min-width:0; }
.topbar-context>strong { display:block; font-size:13px; font-weight:600; color:var(--ink); }
.breadcrumb { font-size:10.5px; color:var(--tertiary); margin-top:4px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.breadcrumb strong { font-weight:400; color:var(--muted); }
.breadcrumb>span { padding:0 8px; color:#bcc2bc; }
.topbar-right { gap:18px; flex:none; }
.global-search { height:34px; display:flex; align-items:center; gap:8px; padding:0 12px; background:#fff; border-radius:999px; }
.global-search svg { width:13px; height:13px; color:var(--tertiary); }
.global-search input { width:146px; min-width:0; padding:0; background:transparent; border:0; font-size:11px; }
.global-search input:focus { box-shadow:none; }
.global-search kbd { font:10px var(--font-sans); color:#bcc2bc; white-space:nowrap; }
.topbar-notification { padding:5px; position:relative; color:var(--muted); }
.topbar-notification svg { width:16px; height:16px; }
.topbar-notification i { position:absolute; top:0; right:4px; width:4px; height:4px; border-radius:50%; background:#e9cca1; }
.topbar #top-source-link { min-height:32px; font-size:11.5px; padding:7px 15px; }
.page { max-width:1900px; padding:30px 32px 0; }
.page-heading { align-items:flex-start; margin-bottom:24px; gap:20px; }
.page-heading>div:first-child { display:block; }
.page-heading .eyebrow { display:none; }
.page-heading h1 { font-size:34px; font-weight:700; line-height:1.25; letter-spacing:-.8px; margin:0 0 9px; color:var(--ink); }
.page-heading p:not(.eyebrow) { font-size:12.5px; color:var(--muted); line-height:1.8; }
.heading-actions { padding:7px 0 0; gap:8px; flex:none; }
.btn { min-height:32px; padding:7px 14px; border:1px solid var(--line); border-radius:999px; font-size:12.5px; font-weight:500; }
.btn.primary { background:#0d120e; border-color:#0d120e; color:#fff; }
.btn.primary:hover { background:#313c35; border-color:#313c35; }
.btn.subtle { background:#fff; border-color:var(--line); color:var(--ink); }
.btn.subtle:hover { background:#e7eae6; border-color:var(--line); }
.btn.danger { color:var(--red); background:var(--red-pale); border-color:transparent; }
.text-btn { color:var(--muted); font-size:11.5px; }
.text-btn:hover { color:var(--ink); }
.scope-panel { background:transparent; border:0; border-radius:0; padding:0; margin-bottom:20px; }
.review-switcher { display:block; width:100%; margin:0; }
.review-switcher-label,.scope-label { display:none; }
.review-switcher-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; width:100%; padding:8px; background:#fff; border-radius:16px; overflow:visible; }
.review-switcher-tab { display:flex; flex-direction:column; align-items:stretch; justify-content:center; gap:8px; min-width:0; min-height:84px; border-radius:10px; padding:16px 20px; color:var(--ink); background:#fff; text-align:left; }
.review-switcher-tab .review-switcher-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; width:100%; }
.review-switcher-tab strong { font-size:14px; font-weight:600; white-space:nowrap; }
.review-switcher-tab em { margin:0; padding:0; font-size:12px; font-style:normal; font-variant-numeric:tabular-nums; color:var(--muted); background:transparent; }
.review-switcher-tab small { display:block; color:var(--muted); font-size:11.5px; line-height:1.6; }
.review-switcher-tab:hover { background:var(--subtle); color:var(--ink); }
.review-switcher-tab.active,.review-switcher-tab.active:hover { background:#0d120e; color:#fff; }
.review-switcher-tab.active em { color:#d9e0d8; background:transparent; }
.review-switcher-tab.active small { color:#c6cfc5; }
.review-switcher-tab.active:after { display:none; }
.scope-detail-row { display:flex; align-items:stretch; min-height:48px; margin-top:0; border:0; }
.section-tabs { display:flex; align-items:stretch; gap:28px; flex:1; min-width:0; padding:0 4px; margin:0; border:0; border-bottom:1px solid var(--line); overflow-x:auto; }
.section-tab { flex:0 0 auto; min-height:48px; padding:13px 2px 12px; border:0; border-bottom:2px solid transparent; border-radius:0; background:transparent; font-size:13px; font-weight:400; color:var(--muted); white-space:nowrap; }
.section-tab:hover { background:transparent; border-bottom-color:#b9c1b5; color:var(--ink); }
.section-tab.active,.section-tab.active:hover { color:var(--ink); background:transparent; border:0; border-bottom:2px solid var(--ink); font-weight:600; }
.stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; margin-bottom:18px; }
.stat,.stat.highlight { min-height:128px; padding:20px; border:0; border-radius:16px; background:#fff; box-shadow:none; }
.stat-label { color:var(--muted); font-size:12px; font-weight:400; }
.stat-icon { color:var(--tertiary); right:20px; top:21px; }
.stat-icon svg { width:15px; height:15px; }
.stat-number,.stat.highlight .stat-number { margin:8px 0 6px; font-size:32px; font-weight:600; line-height:1.2; letter-spacing:-.6px; color:var(--ink); }
.stat-number small { font-size:11.5px; font-weight:400; color:var(--muted); margin-left:4px; letter-spacing:0; }
.stat.attention .stat-number { color:var(--red); }
.stat-note { color:var(--muted); font-size:11px; line-height:1.6; }
.stat-breakdown { display:flex; align-items:center; flex-wrap:wrap; column-gap:18px; row-gap:6px; min-height:18px; }
.stat-breakdown a { display:inline-flex; align-items:center; gap:4px; padding:0; color:var(--muted); font-size:11px; line-height:1.6; white-space:nowrap; }
.stat-breakdown a strong { color:var(--ink); font-size:12px; font-weight:600; font-variant-numeric:tabular-nums; }
.stat-breakdown a svg { width:11px; height:11px; margin-left:1px; }
.stat-breakdown a:hover { color:var(--ink); text-decoration:underline; text-underline-offset:3px; }
.stat-breakdown a:focus-visible { outline:2px solid #58675b; outline-offset:4px; border-radius:2px; }
.focus-strip { padding:0; margin:0 0 20px; border:0; background:transparent; border-radius:0; gap:8px; min-height:20px; }
.focus-icon { width:5px; height:5px; border-radius:50%; background:#d89b44; flex:none; }
.focus-icon svg { display:none; }
.focus-strip strong { font-size:11.5px; font-weight:400; color:var(--muted); }
.focus-strip p { display:none; }
.focus-strip>.text-btn { color:var(--muted); font-size:11px; }
.focus-strip>.text-btn svg { width:13px; height:13px; }
.panel,.workflow-card { background:#fff; border:0; border-radius:16px; box-shadow:none; overflow:hidden; }
.panel-top { padding:21px 22px 18px; align-items:flex-start; }
.panel-title { display:flex; align-items:center; flex-direction:row; gap:9px; }
.panel-top h2 { font-size:15px; font-weight:650; color:var(--ink); }
.count-tag { font-size:10.5px; color:var(--muted); padding:2px 7px; background:#e7eae6; border:0; border-radius:999px; }
.legend { padding-top:3px; gap:12px; font-size:10.5px; color:var(--muted); }
.legend .own-dot { background:var(--green); }
.legend .rival-dot { background:#d89b44; }
.legend .evaluation-dot { background:var(--info); }
.toolbar { display:flex; flex-direction:row; align-items:center; justify-content:space-between; flex-wrap:wrap; padding:0 22px 16px; gap:12px; }
.filter-tabs { display:flex; width:auto; justify-content:flex-start; gap:3px; padding:0; }
.filter-tab { padding:7px 11px; border-radius:999px; font-size:11.5px; color:var(--muted); font-weight:400; }
.filter-tab:hover { background:var(--subtle); color:var(--ink); }
.filter-tab.active { background:var(--accent-soft); color:var(--ink); font-weight:500; }
#toolbar { display:flex; flex-direction:column; align-items:stretch; gap:0; padding:0; }
#toolbar .filter-tabs { display:flex; align-items:center; justify-content:flex-start; gap:6px; width:100%; padding:0 24px 14px; }
#toolbar .filter-tab { min-height:34px; padding:7px 12px; border:0; border-radius:6px; background:transparent; color:var(--muted); font-size:12px; font-weight:400; white-space:nowrap; }
#toolbar .filter-tab:hover { color:var(--ink); background:#f2f4ef; }
#toolbar .filter-tab.active { color:var(--ink); background:var(--accent-soft); font-weight:500; }
#toolbar .filter-tab:focus-visible,.section-tab:focus-visible,.review-switcher-tab:focus-visible { outline:2px solid #58675b; outline-offset:2px; box-shadow:none; }
.filter-controls,.toolbar .filter-controls { display:flex; gap:9px; width:auto; padding:0; border:0; margin-left:auto; flex-wrap:nowrap; }
#owner-filter,#bi-group-filter { min-height:32px; max-width:140px; padding:5px 36px 5px 12px; border:1px solid var(--line); border-radius:999px; font-size:11.5px; color:var(--muted); appearance:none; -webkit-appearance:none; background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m2 2 4 4 4-4' fill='none' stroke='%23748076' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 12px 8px; }
#toolbar .filter-controls { display:flex; align-items:center; justify-content:space-between; flex-wrap:nowrap; gap:14px; width:100%; margin:0; padding:12px 24px; border-top:1px solid var(--line); }
#toolbar #owner-filter,#toolbar #bi-group-filter { width:auto; height:36px; min-height:36px; max-width:180px; padding:7px 36px 7px 14px; border-radius:8px; font-size:12px; }
#toolbar #owner-filter:focus,#toolbar #bi-group-filter:focus { border-color:#aeb8aa; box-shadow:none; }
#toolbar #owner-filter:focus-visible,#toolbar #bi-group-filter:focus-visible { outline:2px solid #58675b; outline-offset:2px; }
.search-box { min-width:0; border:1px solid var(--line); border-radius:999px; padding-left:10px; background:transparent; margin:0; }
.search-box svg { color:var(--tertiary); width:13px; height:13px; }
.search-box input { width:160px; min-height:30px; padding:6px 10px 6px 7px; border:0; border-radius:999px; background:transparent; color:var(--ink); font-size:11.5px; }
.search-box input:focus { box-shadow:none; }
#toolbar .search-box { width:270px; min-width:0; height:36px; margin-left:auto; padding-left:12px; border-radius:8px; }
#toolbar .search-box input { width:100%; min-height:34px; padding:7px 12px 7px 8px; border-radius:8px; font-size:12px; }
.table-wrap { background:#fff; }
table { font-size:12px; color:var(--ink); }
.table-wrap table th { height:38px; padding:12px 14px; border-top:0; border-bottom:1px solid var(--line); background:var(--subtle); color:var(--muted); font-size:11px; font-weight:500; }
td { height:80px; padding:14px; border-bottom:1px solid #f0f2ee; color:var(--ink); }
th:first-child,td:first-child { padding-left:22px; }
th:last-child,td:last-child { padding-right:22px; }
tbody tr:hover td { background:#fafcf9; }
.overview-table table { min-width:1120px; }
.overview-table th:first-child,.overview-table td:first-child { position:sticky; left:0; background:#fff; z-index:1; }
.overview-table th:last-child,.overview-table td:last-child { position:sticky; right:0; background:#fff; z-index:1; border-left:1px solid #f0f2ee; }
.overview-table th:first-child,.overview-table th:last-child { background:var(--subtle); z-index:2; }
.product-name { min-width:190px; }
.product-name strong { color:var(--ink); font-size:12px; font-weight:600; }
.product-link:hover strong { color:var(--ink); text-decoration:underline; text-underline-offset:3px; }
.product-name small { color:var(--tertiary); font-size:10.5px; margin-top:4px; }
.product-glyph,.product-glyph.glyph-1,.product-glyph.glyph-2 { width:36px; height:36px; border:0; border-radius:10px; background:var(--subtle); color:#49544d; }
.owner-pair { color:#49544d; font-size:11px; gap:5px; }
.owner-pair em { color:var(--tertiary); font-size:9px; }
.mini-avatar { color:var(--muted); background:#eff1ed; }
.own,.metric-pair .own { color:var(--ink); }
.rival,.metric-pair .rival { color:var(--tertiary); font-size:11px; }
.review-type-tag { padding:3px 8px; font-size:10.5px; }
.review-type-tag.new { color:#3f4a1e; background:var(--accent-soft); }
.review-type-tag.old { color:var(--muted); background:#eff1ed; }
.status { padding:4px 8px; border-radius:999px; font-size:10.5px; }
.status-0 { color:var(--muted); background:#eff1ed; }
.status-1 { color:var(--info); background:var(--info-soft); }
.status-2 { color:var(--warning); background:var(--warning-soft); }
.status-3,.status-4 { color:var(--green); background:var(--green-soft); }
.status-pending { color:var(--red); }
.status.status-pending { background:var(--red-pale); }
.record-mobile-status.status-pending { color:var(--red); }
.date-label { color:var(--muted); font-size:11.5px; }
.date-label small { color:var(--tertiary); font-size:10px; }
.date-label.overdue,.date-label.overdue small { color:var(--red); }
.date-label.due,.date-label.due small { color:var(--warning); }
.missing { color:var(--tertiary); font-size:11px; }
.progress-num { color:var(--ink); font-size:11px; }
.progress { background:#e7eae6; height:5px; }
.progress::-webkit-progress-bar { background:#e7eae6; }
.progress::-webkit-progress-value { background:#2d9b68; }
.progress::-moz-progress-bar { background:#2d9b68; }
.row-action { gap:9px; }
.row-action button { color:var(--muted); font-size:11px; padding:5px 0; }
.row-action .send-action { color:var(--ink); border:1px solid var(--line); border-radius:999px; padding:5px 10px; font-size:10.5px; white-space:nowrap; }
.row-action .send-action:hover { color:var(--ink); background:var(--subtle); border-color:rgba(21,27,23,.16); }
.panel-footer { padding:14px 22px; background:#fff; border-top:1px solid var(--line); color:var(--tertiary); font-size:10.5px; }
.panel-footer a { color:var(--muted); }
.table-help { padding:0 24px 12px; color:var(--muted); font-size:11px; line-height:1.6; }
.compare-table { border-collapse:separate; border-spacing:0; font-size:12px; }
.table-wrap .compare-table th { height:44px; padding:11px 14px; border-bottom:1px solid #e2e6de; background:#f5f6f3; color:#59645b; font-size:11px; font-weight:500; white-space:nowrap; }
.table-wrap .compare-table th.own-head,.table-wrap .compare-table th.rival-head,.table-wrap .compare-table th.evaluation-cell { background:#f5f6f3; color:#59645b; }
.compare-heading { display:flex; align-items:center; gap:7px; }
.compare-side-tag { display:inline-flex; flex:none; align-items:center; min-height:17px; padding:1px 5px; border:1px solid #dfe5db; border-radius:4px; font-size:9px; line-height:1.4; font-weight:400; color:#63755e; background:#edf2e9; }
.compare-side-tag.rival { color:#857058; background:#f4f0e8; border-color:#e7dfd3; }
.compare-side-tag.evaluation { color:#617080; background:#eef1f4; border-color:#dce2e8; }
.compare-table td { height:76px; padding:10px 14px; border-bottom:1px solid #ecefe8; background:#fff; color:var(--ink); font-size:12px; line-height:1.5; vertical-align:middle; }
.compare-table td.own-cell,.compare-table td.rival-cell,.compare-table td.evaluation-cell { color:var(--ink); background:#fff; }
.compare-table td.own-cell,.compare-table td.rival-cell { min-width:124px; }
.compare-table .metric-group-start { border-left:1px solid #e7eae3; }
.compare-table .sticky-cell { position:sticky; left:0; z-index:1; width:240px; min-width:240px; max-width:260px; background:#fff; border-right:1px solid #e2e6de; box-shadow:3px 0 0 #20322f03; }
.table-wrap .compare-table th.sticky-cell { z-index:2; background:#f5f6f3; }
.compare-table .product-glyph { display:none; }
.compare-table .product-name { min-width:190px; max-width:220px; gap:0; text-align:left; }
.compare-table .product-name strong { max-width:220px; font-size:12px; line-height:1.5; }
.compare-table .product-name small { margin-top:3px; font-size:10.5px; line-height:1.4; }
.compare-product-meta { display:flex; align-items:center; gap:7px; margin:4px 0 0; color:var(--tertiary); font-size:10.5px; line-height:1.4; }
.compare-rival-name { max-width:150px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.compare-product-meta .status { margin:0; padding:1px 6px; border-radius:4px; font-size:10px; line-height:1.5; }
.compare-table-old .sticky-cell { width:320px; min-width:320px; max-width:320px; }
.compare-product-info { display:grid; grid-template-columns:minmax(0,1fr) 78px; align-items:center; gap:16px; width:100%; min-width:0; }
.compare-product-info .product-link { min-width:0; width:100%; }
.compare-table .compare-product-info .product-name { min-width:0; max-width:100%; }
.compare-product-info .product-name>span:last-child { min-width:0; max-width:100%; }
.compare-table .compare-product-info .product-name strong { max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.compare-product-info .product-name small { white-space:nowrap; }
.compare-product-info .compare-product-meta { flex-direction:column; align-items:flex-end; justify-content:center; gap:5px; margin:0; min-width:0; }
.compare-product-info .compare-rival-name { width:100%; max-width:100%; text-align:right; }
.compare-product-info .status { flex:none; white-space:nowrap; }
.compare-table td.text-cell { min-width:200px; max-width:250px; color:var(--ink); font-size:12px; line-height:1.5; }
.compare-table .cell-lines { display:-webkit-box; max-height:3em; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; line-clamp:2; white-space:normal; overflow-wrap:anywhere; }
.compare-table td:not(.text-cell) .cell-lines { display:block; white-space:nowrap; font-variant-numeric:tabular-nums; }
.compare-table tbody tr:hover td { background:#fafbf8; }
.workflow-card { background:var(--accent-soft); }
.workflow-card h2 { color:var(--ink); }
.workflow-card p,.workflow-steps,.workflow-steps b { color:var(--muted); }
.activity-body,.activity-body strong { color:#49544d; }
.activity-body small,.activity-item time { color:var(--tertiary); }
.task-card { border-color:var(--line); }
.task-card h3 { color:var(--ink); }
.task-meta,.task-detail,.task-actions { color:var(--muted); }
.task-empty-icon { color:var(--muted); background:var(--subtle); }
.overlay,.modal-overlay { background:rgba(13,18,14,.32); backdrop-filter:blur(3px); }
.drawer { background:var(--bg); border:0; border-radius:20px; box-shadow:var(--shadow); }
.drawer-head { background:#fff; border-bottom:1px solid var(--line); padding:22px 28px 18px; }
.drawer-head h2 { font-size:22px; color:var(--ink); font-weight:650; letter-spacing:-.4px; margin:7px 0; }
.drawer-head .eyebrow { font-size:10px; color:var(--tertiary); }
.drawer-head .muted { color:var(--muted); }
.drawer-actions { gap:8px; }
.drawer-actions .status-select { margin-right:0; }
.drawer-actions #editor-status { margin-right:auto; }
.drawer-actions select,.drawer-actions select:disabled { min-height:34px; border:1px solid var(--line); color:var(--muted); background:#fff; border-radius:999px; font-size:12px; }
.close-btn { color:var(--tertiary); }
.close-btn:hover { color:var(--ink); background:#e7eae6; }
.drawer-body { padding:22px 28px; }
.drawer-footer { padding:15px 28px; color:var(--muted); background:#fff; border-top:1px solid var(--line); font-size:11.5px; }
.editor-tabs { display:flex; padding:4px; margin-bottom:20px; background:#fff; border:0; border-radius:999px; gap:4px; }
.editor-tab { padding:7px 13px; border:0; border-radius:999px; background:transparent; color:var(--muted); font-size:12px; }
.editor-tab:hover { background:var(--subtle); }
.editor-tab.active { background:var(--sidebar); color:#fff; border:0; }
.editor-group { border:0; border-radius:16px; background:#fff; padding:20px; gap:20px; }
.form-field { color:var(--muted); font-size:12px; }
.form-field input,.form-field select,.form-field textarea { width:100%; min-height:40px; padding:10px 12px; border:1px solid var(--line); border-radius:10px; background:#fff; color:var(--ink); font-size:13px; }
.form-field input[readonly] { background:var(--subtle); color:var(--muted); }
.form-field:has(.field-side.competitor),.form-field:has(.field-side.evaluation) { background:transparent; padding:0; border-radius:0; }
.field-side { background:var(--green-soft); color:var(--green); font-size:10px; }
.field-side.competitor { background:var(--warning-soft); color:var(--warning); }
.field-side.evaluation { background:var(--info-soft); color:var(--info); }
.field-link { background:var(--info-soft); color:var(--info); font-size:10px; }
.form-hint { color:var(--tertiary); font-size:11px; }
.bi-box { background:#fff; border:0; border-radius:16px; padding:20px; margin-bottom:20px; }
.bi-heading strong { color:var(--ink); font-size:14px; }
.bi-heading p,.bi-inputs label,.bi-history,.bi-result-title span,.bi-summary,.bi-result-actions small { color:var(--muted); font-size:11.5px; }
.bi-inputs input { min-height:40px; border:1px solid var(--line); border-radius:10px; color:var(--ink); padding:8px 12px; }
.read-only-tag { color:var(--green); background:var(--green-soft); font-size:10px; }
.bi-loading { color:var(--muted); }
.bi-preview-wrap { border-color:var(--line); border-radius:10px; }
.bi-preview th { background:var(--subtle); }
.bi-preview th,.bi-preview td { font-size:11.5px; padding:11px 12px; }
.bi-preview small { color:var(--tertiary); }
.bi-preview .available { color:var(--green); }
.bi-preview .candidate,.candidate-choice { color:var(--warning); }
.candidate-choice input { accent-color:var(--green); }
.drawer-section { border-top-color:var(--line); }
.drawer-section h3 { color:var(--ink); }
.mention-tools,.mention-tools button { color:var(--muted); }
.note-entry textarea { color:var(--ink); border-color:var(--line); border-radius:10px; }
.modal { border:0; border-radius:20px; padding:26px; background:#fff; box-shadow:var(--shadow); }
.modal-head h2 { font-size:20px; font-weight:650; color:var(--ink); }
.modal-sub { font-size:11.5px; color:var(--muted); }
.recipient { border:1px solid var(--line); border-radius:999px; color:var(--muted); font-size:12px; }
.recipient:has(input:checked) { background:var(--accent-soft); color:var(--ink); border-color:#a8d94a; }
.recipient input { accent-color:var(--green); }
.notice { background:var(--subtle); border:1px solid var(--line); border-radius:10px; color:var(--muted); font-size:11.5px; }
.notice.error-notice { background:var(--red-pale); border-color:#b3241826; color:var(--red); }
.preview-details { background:var(--subtle); border:0; border-radius:12px; padding:18px; }
.preview-details dt { font-size:10.5px; color:var(--tertiary); }
.preview-details dd { color:var(--ink); font-size:12px; }
.settings-row { border-color:var(--line); border-radius:10px; }
.settings-row>strong { color:var(--ink); font-size:13px; }
.settings-row p,.settings-note { color:var(--muted); font-size:11.5px; }
.settings-row code { color:var(--ink); background:var(--subtle); }
.empty,.empty p,.loading { color:var(--muted); }
.empty h3 { color:var(--ink); }
.page-footer { color:var(--tertiary); font-size:10.5px; }
.toast { background:var(--sidebar); color:#fff; border-radius:12px; }
.toast.error { background:var(--red); }
.login-card { background:#fff; border:0; border-radius:20px; }
.login-card .brand-mark { color:var(--ink); background:var(--accent); }
.login-card>p:not(.eyebrow):not(.error),.login-card label,.login-card small { color:var(--muted); }

@media(max-width:1200px) {
  .sidebar { width:205px; padding-inline:12px; }
  .main { margin-left:205px; width:calc(100% - 205px); }
  .page { padding:28px 24px 0; }
  .topbar { padding:0 24px; }
  .topbar-right { gap:12px; }
  .global-search input { width:116px; }
  .page-heading h1 { font-size:30px; }
  .stats { gap:14px; }
  .stat,.stat.highlight { padding:18px; }
  .stat-icon { right:16px; }
  .toolbar { gap:10px; }
  .filter-controls,.toolbar .filter-controls { margin-left:auto; }
}
@media(max-width:900px) {
  .sidebar { width:72px; padding:22px 10px 16px; }
  .main { margin-left:72px; width:calc(100% - 72px); }
  .sidebar .nav-item { font-size:0; justify-content:center; padding:11px; }
  .sidebar .nav-item.nav-item-text { font-size:10px; line-height:16px; padding:10px 0; white-space:nowrap; }
  .brand { padding:0; min-height:36px; }
  .brand-title,.sidebar-bottom { display:none; }
  .sidebar nav { margin-top:36px; }
  .topbar { padding:0 24px; }
  .topbar-right { gap:10px; }
  .global-search { display:none; }
  .page-heading h1 { font-size:28px; }
  .stats { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .review-switcher-tabs { gap:6px; }
  .toolbar { gap:12px; }
  .filter-controls,.toolbar .filter-controls { margin-left:auto; }
  .drawer-head h2 { font-size:21px; }
}
@media(max-width:600px) {
  .sidebar { width:100%; height:61px; padding:4px 8px; background:var(--sidebar); }
  .sidebar .nav-item { min-height:49px; margin:0; border-radius:10px; }
  .sidebar .nav-item.nav-item-text { font-size:12px; padding:10px 4px; }
  .sidebar nav { margin:0; }
  .sidebar .brand,.sidebar-bottom { display:none; }
  .main { margin:0 0 61px; width:100%; }
  .topbar { height:62px; padding:0 16px; }
  .topbar-context>strong { font-size:12px; }
  .breadcrumb { font-size:9px; max-width:190px; }
  .topbar-right { gap:8px; }
  .topbar #top-source-link { font-size:10px; padding:6px 9px; min-height:30px; }
  .topbar-notification { display:none; }
  .page { padding:24px 14px 0; }
  .page-heading { display:flex; flex-wrap:wrap; gap:13px; margin-bottom:20px; }
  .page-heading h1 { font-size:28px; margin-bottom:7px; }
  .page-heading p:not(.eyebrow) { font-size:11.5px; line-height:1.8; }
  .heading-actions { padding:0; gap:7px; width:100%; justify-content:flex-end; }
  .heading-actions .btn { font-size:11px; min-height:32px; padding:7px 12px; }
  .scope-panel { margin-bottom:16px; }
  .review-switcher { margin:0; }
  .review-switcher-tabs { gap:4px; padding:6px; border-radius:14px; }
  .review-switcher-tab { min-height:94px; padding:12px 8px; gap:6px; border-radius:9px; }
  .review-switcher-tab .review-switcher-heading { display:flex; gap:4px; }
  .review-switcher-tab strong { font-size:11px; }
  .review-switcher-tab em { font-size:9px; padding:0; }
  .review-switcher-tab small { display:block; font-size:10px; line-height:1.6; }
  .scope-detail-row { min-height:44px; margin-top:0; }
  .section-tabs { gap:20px; margin:0; padding:0 2px; }
  .section-tab { min-height:44px; padding:12px 1px 10px; font-size:11.5px; }
  .stats { gap:10px; margin-bottom:15px; }
  .stat,.stat.highlight { min-height:124px; padding:15px; border-radius:14px; }
  .stat-label { font-size:11px; }
  .stat-icon { right:13px; top:17px; }
  .stat-icon svg { width:13px; height:13px; }
  .stat-number { font-size:30px; margin:8px 0 7px; }
  .stat-number small { font-size:10px; }
  .stat-note { font-size:10px; }
  .focus-strip { margin-bottom:16px; min-height:18px; gap:6px; }
  .focus-strip strong { font-size:10.5px; }
  .focus-strip>.text-btn { font-size:0; }
  .focus-strip>.text-btn svg { width:15px; height:15px; }
  .panel { border-radius:14px; }
  .panel-top { padding:18px 16px 15px; }
  .panel-title { gap:7px; }
  .panel-top h2 { font-size:14px; }
  .count-tag { font-size:10px; }
  .legend { font-size:9px; gap:7px; }
  .toolbar { padding:0 16px 15px; gap:12px; }
  .filter-tabs { width:100%; gap:2px; justify-content:flex-start; padding:0; overflow-x:auto; }
  .toolbar .filter-tab { font-size:11px; padding:7px 10px; }
  #toolbar .filter-tabs { flex-wrap:nowrap; gap:4px; padding:0 16px 12px; overflow-x:auto; }
  #toolbar .filter-tab { min-height:32px; padding:7px 10px; font-size:11px; }
  #toolbar .filter-controls { gap:10px; padding:12px 16px; }
  #toolbar #owner-filter { max-width:132px; padding-left:11px; font-size:11px; }
  #toolbar .search-box { flex:1; width:0; padding-left:9px; }
  #toolbar .search-box input { padding-left:6px; padding-right:8px; font-size:11px; }
  .filter-controls,.toolbar .filter-controls { width:100%; margin:0; gap:8px; }
  #owner-filter { width:110px; max-width:110px; flex:none; font-size:10.5px; padding:6px 8px; }
  .search-box { flex:1; width:0; min-width:0; }
  .search-box input { width:100%; min-width:0; font-size:10.5px; }
  .mobile-cards { border-top:1px solid var(--line); }
  .mobile-product { padding:18px 16px; border-bottom-color:#f0f2ee; }
  .mobile-product-head .product-name { min-width:0; max-width:230px; gap:8px; }
  .mobile-product-head .product-name strong { font-size:12px; max-width:180px; }
  .mobile-product-head .product-name small { color:var(--tertiary); font-size:10px; }
  .mobile-metrics { grid-template-columns:1fr 1.6fr 1fr; gap:8px; }
  .mobile-metrics small { color:var(--tertiary); font-size:10px; }
  .mobile-metrics .metric-pair { font-size:12px; }
  .mobile-product-foot { border-top:1px solid #f0f2ee; padding-top:12px; }
  .mobile-product-foot>span { color:var(--muted); font-size:10px; }
  .mobile-product-foot button { color:var(--muted); font-size:11px; }
  .panel-footer { padding:12px 16px; font-size:9px; }
  .table-help { padding:0 16px 12px; font-size:10px; }
  .compare-table .sticky-cell { width:190px; min-width:190px; max-width:190px; }
  .compare-table-old .sticky-cell { width:268px; min-width:268px; max-width:268px; }
  .compare-product-info { grid-template-columns:minmax(0,1fr) 66px; gap:10px; }
  .compare-table .product-name { min-width:155px; max-width:160px; }
  .compare-table .product-name strong { max-width:160px; }
  .compare-table .compare-rival-name { max-width:100px; }
  .compare-table td { padding-top:9px; padding-bottom:9px; font-size:11.5px; }
  .drawer-head { padding:17px 16px 13px; }
  .drawer-head h2 { font-size:19px; }
  .drawer-actions .btn,.drawer-actions select { font-size:10.5px; min-height:32px; }
  .drawer-body { padding:14px; }
  .drawer-footer { padding:12px 16px; font-size:10px; }
  .editor-tabs { border-radius:14px; gap:3px; }
  .editor-tab { font-size:10.5px; padding:7px 9px; }
  .editor-group { padding:15px; gap:16px; }
  .bi-box { padding:15px; }
  .bi-heading p,.bi-inputs label { font-size:11px; }
  .bi-inputs { gap:10px; }
  .modal { padding:22px; }
  .modal-head h2 { font-size:19px; }
}
@media(prefers-reduced-motion:reduce) { * { transition:none!important; animation:none!important; } }
