:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#243335;background:#f4f7f7;font-size:14px;--accent:#166b60;--muted:#738080;--border:#e1e8e6}*{box-sizing:border-box}body{margin:0;display:flex;min-height:100vh}[hidden]{display:none!important}button,input,select{font:inherit}button{cursor:pointer;border:0;border-radius:7px;padding:10px 16px;font-weight:600}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus,select:focus{outline:2px solid #58a897;outline-offset:2px}button:hover{filter:brightness(.96)}.sidebar{width:228px;flex-shrink:0;background:#fff;border-right:1px solid var(--border);padding:32px 22px;display:flex;flex-direction:column;position:fixed;height:100vh}.brand{display:flex;gap:12px;align-items:center;color:#233b36;text-decoration:none;font-size:20px;font-weight:750}.brand-icon{background:var(--accent);color:white;display:grid;place-items:center;width:42px;height:44px;border-radius:12px;font-size:25px}.brand small{display:block;font-weight:400;font-size:11px;color:var(--muted);margin-top:5px}.nav-label{font-size:11px;color:#919c99;letter-spacing:2px;margin:50px 12px 15px}.nav-button{width:100%;display:flex;justify-content:space-between;background:transparent;color:#6c7976;text-align:left;padding:13px;margin:4px 0}.nav-button span{font-size:10px;opacity:.6;align-self:center}.nav-button.active{background:#e9f3ee;color:var(--accent)}.sidebar-note{margin-top:auto;padding:20px 10px 0;border-top:1px solid var(--border);font-size:12px;color:#536d63}.dot{display:inline-block;width:7px;height:7px;background:#7faa98;border-radius:50%;margin-right:5px}.sidebar-note p{color:#8b9792;line-height:1.9;font-size:11px}main{margin-left:228px;padding:0 42px;flex:1;min-width:0}header{height:88px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border);gap:12px}.breadcrumb{font-size:12px;color:#8d9894}.breadcrumb span{color:#334941;margin-left:8px}#account-area{display:flex;align-items:center;gap:12px;font-size:12px}.quiet{background:#edf2ef;color:#53695f;padding:8px 12px;font-size:12px}.primary{background:var(--accent);color:#fff;padding:12px 18px}.heading{display:flex;justify-content:space-between;align-items:center;margin:34px 0 22px}.eyebrow{font-size:10px;letter-spacing:2.3px;color:var(--accent);font-weight:700}h1{font-size:30px;letter-spacing:-.8px;margin:9px 0 12px}h2{font-size:16px;margin:0 0 18px;font-weight:650}.heading p,.intro{color:var(--muted);line-height:1.8;margin:0;font-size:13px}.environment{border:1px solid #d2e3db;background:#edf5f1;border-radius:30px;color:#577b67;font-size:11px;padding:8px 12px}.notice{padding:15px 18px;border-radius:8px;background:#fff9ee;border:1px solid #f0e4c7;color:#847249;margin-bottom:24px;display:flex;gap:14px;font-size:12px;line-height:1.7}.notice strong{white-space:nowrap}.card{background:#fff;border:1px solid var(--border);border-radius:12px;padding:24px;box-shadow:0 2px 4px #20403003}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:22px}.stat{display:flex;flex-direction:column;gap:8px}.stat>span{color:var(--muted);font-size:12px}.stat strong{font-size:30px;font-weight:650;color:#28453b}.stat strong.status-word{font-size:22px;line-height:36px}.stat small{font-size:11px;color:#94a09a}.work-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:24px}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:12px}.section-head h2{margin:0}.step{font-size:9px;letter-spacing:1.5px;color:#a0aca5}label{display:block;font-size:12px;color:#54675e;margin:16px 0}input:not([type=file]),select{display:block;width:100%;border:1px solid #d8e2dc;background:#fcfdfc;border-radius:6px;margin-top:8px;padding:11px 12px;color:#273b31}input::placeholder{color:#a1aaa5}.file-box{border:1px dashed #bacfc0;border-radius:9px;background:#f9fcfa;padding:17px;color:#557060}.file-box input{display:block;margin:12px 0;max-width:100%;font-size:12px}.file-box small,.hint{color:#8a958d;font-size:11px;line-height:1.9}.hint{margin:12px 0 18px}.flow{list-style:none;padding:0;margin:0}.flow li{position:relative;padding:0 0 22px 30px;border-left:1px solid #dde6df;margin-left:8px}.flow li:last-child{border:0;padding-bottom:0}.flow li:before{content:"";position:absolute;left:-5px;top:3px;width:9px;height:9px;background:#e5ebe7;border:2px solid #fff;box-shadow:0 0 0 1px #e1e8e3;border-radius:50%}.flow li.current:before{background:var(--accent);box-shadow:0 0 0 1px var(--accent)}.flow strong{display:block;font-size:12px;color:#5e7166;margin-bottom:7px}.flow span{font-size:11px;color:#9aa59e}.table-card{margin-bottom:22px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}th{font-size:11px;font-weight:500;color:#93a197;padding:12px;text-align:left;background:#f7f9f7}td{padding:16px 12px;border-bottom:1px solid #eef2ef;color:#5b6a62}td small{display:block;font-size:9px;color:#a2ada5;margin-top:5px}.empty{text-align:center;padding:38px;color:#99a49d}.pill{background:#f6f1e8;color:#a38c60;font-size:10px;padding:5px 9px;border-radius:20px}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:15px;margin-top:16px;font-size:11px;color:#9aa59e}.login-panel{padding:68px 4px;max-width:720px}.login-panel h1{font-size:34px;margin:18px 0}.login-card{width:420px;margin-top:30px;padding:28px}.login-card .primary{width:100%;margin-top:5px}.login-card .hint{margin-bottom:0}.narrow{max-width:480px;margin:48px auto}.message{padding:13px 18px;margin-top:18px;background:#fff1ed;border:1px solid #f0d8ce;border-radius:7px;color:#a65d43;font-size:13px;white-space:pre-wrap}.message.success{background:#eaf6ee;color:#277349;border-color:#d4e7d9}.staff-list{max-height:290px;overflow:auto}.staff-item{padding:11px 0;border-bottom:1px solid #edf1ee;font-size:12px}.staff-item small{display:block;margin-top:5px;color:#94a198}pre{overflow:auto;font-size:12px;line-height:1.8;background:#f6f9f7;padding:16px;max-height:350px}footer{font-size:10px;color:#acb4af;border-top:1px solid var(--border);padding:22px 0;margin-top:35px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:15px}footer>span:last-child{text-align:right}.filing-link{color:#788b83;font-size:12px;line-height:1.5;white-space:nowrap;text-decoration:none}.filing-link:hover,.filing-link:focus-visible{text-decoration:underline}@media(min-width:1600px){main{padding-left:64px;padding-right:64px}}@media(max-width:1000px){.sidebar{width:180px;padding:25px 14px}main{margin-left:180px;padding:0 24px}.work-grid{grid-template-columns:1fr}.notice{display:block}.notice strong{display:block;margin-bottom:4px}}@media(max-width:650px){.sidebar{display:none}main{margin-left:0;padding:0 16px}.heading{align-items:flex-start;gap:10px}.stats{grid-template-columns:1fr}.login-card{width:100%}.login-panel h1{font-size:26px}h1{font-size:24px}header{height:auto;min-height:72px;flex-wrap:wrap;padding:12px 0}.card{padding:18px}footer>span{display:none}footer{display:flex;justify-content:center}.environment{max-width:140px}.login-panel{padding-top:40px}}
dialog{width:min(480px,calc(100% - 32px));max-height:calc(100% - 48px);overflow:auto;border:1px solid var(--border);border-radius:12px;padding:28px;color:#243335;background:#fff;box-shadow:0 18px 60px #203a3433}dialog::backdrop{background:#18392e66}.dialog-actions,.account-actions{display:flex;gap:10px;align-items:center}.dialog-actions{justify-content:flex-end;margin-top:24px}.account-actions{flex-wrap:wrap}#staff-search-status{margin-top:-4px}
.review-import-grid,.review-filters{display:grid;grid-template-columns:1fr 1fr auto;gap:16px;align-items:end}.review-filters{grid-template-columns:150px 180px 1fr auto}.review-import-grid label,.review-filters label{margin:0}.review-import-grid input[type=file]{display:block;margin-top:12px;max-width:100%}.review-receipt{padding:16px;background:#edf6f1;color:#246147;border-radius:8px;margin:16px 0;white-space:pre-wrap;line-height:1.8}.review-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px}.review-product-heading{display:flex;align-items:flex-start;gap:20px}.review-product-heading img{width:150px;height:170px;object-fit:contain}.review-product-heading h2{line-height:1.7;overflow-wrap:anywhere}.review-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.9;max-height:500px;overflow:auto}.review-table{table-layout:fixed;white-space:normal;margin-top:20px}.review-table th:first-child{width:40%}.review-table td{overflow-wrap:anywhere}.review-table td small{font-size:11px}.review-site-setting{min-width:170px;display:flex;gap:8px;align-items:center}.review-site-setting select{margin:0}.review-check{display:flex;gap:8px;align-items:center}.review-check input[type=checkbox]{width:auto;margin:0;display:inline-block}#product-review-form fieldset{border:1px solid var(--border);border-radius:8px;padding:12px 16px;margin:16px 0}#product-review-form textarea{font:inherit;width:100%;display:block;margin-top:8px;border:1px solid var(--border);border-radius:6px;padding:12px;resize:vertical}#product-review-form textarea:focus{outline:2px solid #58a897}#view-reviews details{margin-top:22px;border-top:1px solid var(--border);padding-top:16px}#view-reviews summary{cursor:pointer;color:var(--accent);font-size:13px}#view-reviews h3{font-size:14px;margin-top:24px}#review-import-history>p{padding-bottom:14px;border-bottom:1px solid var(--border)}
@media(max-width:1200px){.review-detail-grid{grid-template-columns:1fr}.review-filters{grid-template-columns:1fr 1fr}.review-import-grid{grid-template-columns:1fr}.review-product-heading img{width:120px;height:140px}}@media(max-width:650px){.review-filters{grid-template-columns:1fr}.review-product-heading{flex-direction:column}.review-table{table-layout:auto;min-width:600px}.sidebar{display:flex;position:static;width:100%;height:auto;padding:14px}.sidebar .brand,.sidebar .nav-label,.sidebar-note{display:none}.sidebar nav{display:flex;flex-wrap:wrap;gap:4px}.nav-button{width:auto;font-size:12px;padding:8px}.nav-button span{display:none}body{display:block}}
.flow2-summary{display:flex;flex-wrap:wrap;gap:10px 24px;margin:12px 0 16px;padding:12px 14px;border:1px solid #dce9e1;border-radius:8px;background:#f7fbf8;color:#718179;font-size:12px}.flow2-summary strong{color:#315b49;font-weight:650}.flow2-summary span:first-child strong{color:var(--accent)}

/* Collapsible navigation */
.sidebar{transition:width .2s ease,padding .2s ease}
.sidebar-toggle{position:absolute;top:18px;right:-14px;width:28px;height:28px;padding:0;border:1px solid var(--border);border-radius:50%;background:#fff;color:var(--accent);font-size:22px;line-height:24px;z-index:2;box-shadow:0 2px 6px #20403018}
.sidebar-toggle:hover{filter:none;background:#edf5f1}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
main{transition:margin-left .2s ease}
body.sidebar-collapsed .sidebar{width:72px;padding-left:12px;padding-right:12px}
body.sidebar-collapsed main{margin-left:72px}
body.sidebar-collapsed .brand>span:last-child,body.sidebar-collapsed .nav-label,body.sidebar-collapsed .sidebar-note{display:none}
body.sidebar-collapsed .brand{justify-content:center}
body.sidebar-collapsed .nav-button{justify-content:center;padding-left:8px;padding-right:8px}
body.sidebar-collapsed .nav-button span{display:none}
body.sidebar-collapsed .nav-button .nav-text{display:none}
body.sidebar-collapsed .sidebar-toggle{right:-14px}
@media(max-width:1000px) and (min-width:651px){body.sidebar-collapsed .sidebar{width:64px}body.sidebar-collapsed main{margin-left:64px}}
@media(max-width:650px){.sidebar-toggle{top:10px;right:10px}.sidebar{padding-right:52px}body.sidebar-collapsed .sidebar{width:100%;padding:14px 52px 14px 14px}body.sidebar-collapsed main{margin-left:0}body.sidebar-collapsed .sidebar .brand{display:flex}body.sidebar-collapsed .sidebar .nav-label,body.sidebar-collapsed .sidebar-note{display:none}body.sidebar-collapsed .sidebar nav{display:none}}

/* Auth and review readability */
body.auth-loading #login-panel,body.auth-loading #workspace{visibility:hidden}
.review-table td:first-child{font-size:13px;line-height:1.55;color:#31483e;overflow-wrap:break-word;word-break:normal}
.review-table td:first-child small{font-size:10px;line-height:1.45;color:#8b9991;word-break:break-all}
.review-table .product-summary{vertical-align:top;min-width:360px}
.review-table .product-title{display:block;line-height:1.55;color:#31483e;overflow-wrap:break-word;word-break:normal}
.review-table td.product-summary{display:table-cell!important;visibility:visible!important;opacity:1!important;white-space:normal!important}
.review-table .product-title{min-height:22px!important;display:block!important;visibility:visible!important;opacity:1!important;color:#243335!important;font-weight:600!important}

/* Review workspace usability */
.review-filters{position:sticky;top:0;z-index:3;padding:4px 0 14px;background:#fff}
.review-table thead th{position:sticky;top:58px;z-index:2;box-shadow:0 1px 0 var(--border)}
.review-table td:last-child{white-space:nowrap}
.review-detail-grid>form{align-self:start}
.flow2-counts{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.flow2-count{display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;background:#f1f5f2;color:#557064;font-size:11px}
.flow2-running{background:#e5f3ed;color:#166b60}.flow2-succeeded{background:#eaf6ee;color:#277349}.flow2-skipped_no_eligible{background:#f3f0ea;color:#87714b}.flow2-failed,.flow2-blocked,.flow2-interrupted{background:#fff0ec;color:#a65d43}.flow2-queued{background:#eef3f7;color:#587083}
@media(min-width:1201px){.review-detail-grid>form{position:sticky;top:18px}}
@media(max-width:650px){.review-filters{position:static}.review-table thead th{position:static}.flow2-counts{gap:6px}}

/* Do not cover the first product row while the filter bar is sticky. */
.review-table thead th{position:static!important;top:auto!important;z-index:auto!important;box-shadow:none}

/* Taste redesign: trust-first cloud operations console. The information
   architecture stays intact; these tokens refine hierarchy, scanability and
   low-risk interaction states without adding a frontend dependency. */
:root{
  --accent:#087f73;
  --accent-strong:#075e57;
  --accent-soft:#e6f4f0;
  --ink:#173236;
  --muted:#6c7f80;
  --canvas:#f1f5f4;
  --surface:#ffffff;
  --surface-soft:#f8fbfa;
  --border:#dce7e4;
  --border-strong:#c8d8d4;
  --shadow:0 12px 30px rgb(24 65 61 / .055);
  --radius:12px;
  color-scheme:light;
}
html{background:var(--canvas)}
body{background:var(--canvas);color:var(--ink);line-height:1.55;letter-spacing:.005em}
button,a,input,select,textarea{transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease}
button:active{transform:translateY(1px) scale(.985)}
button:focus-visible,a:focus-visible,input:focus,select:focus,textarea:focus{outline:3px solid rgb(8 127 115 / .22);outline-offset:2px}
.sidebar{width:244px;background:#f8fbfa;border-right:1px solid var(--border);padding:28px 18px;box-shadow:8px 0 24px rgb(24 65 61 / .025)}
.brand{gap:11px;color:var(--ink);letter-spacing:-.025em}
.brand-icon{width:40px;height:40px;border-radius:10px;background:var(--accent-strong);box-shadow:0 8px 18px rgb(7 94 87 / .18);font-size:22px}
.brand small{color:#809293;letter-spacing:.01em}
.nav-label{margin:46px 10px 12px;color:#829293;font-size:10px;letter-spacing:.18em;font-weight:700}
.nav-button{border:1px solid transparent;border-radius:10px;color:#607374;padding:12px 13px;margin:3px 0}
.nav-button:hover{background:#edf6f3;color:var(--accent-strong);filter:none}
.nav-button.active{background:var(--accent-soft);border-color:#c9e5de;color:var(--accent-strong);box-shadow:inset 3px 0 var(--accent)}
.nav-button.active span{color:var(--accent);opacity:.8}
.sidebar-note{border-color:var(--border);color:#587475}
.dot{background:#2a9d8f;box-shadow:0 0 0 4px rgb(42 157 143 / .12)}
main{margin-left:244px;max-width:1660px;padding:0 clamp(24px,4vw,64px) 42px}
header{height:76px;position:sticky;top:0;z-index:10;background:rgb(241 245 244 / .92);backdrop-filter:blur(12px);border-color:var(--border)}
.breadcrumb{color:#829293}.breadcrumb span{color:var(--ink)}
#account-area{color:#587475}
.quiet{background:#edf4f1;color:#416463;border:1px solid transparent}
.quiet:hover{background:#e2efeb;color:var(--accent-strong);filter:none;border-color:#c9e5de}
.primary{background:var(--accent-strong);box-shadow:0 6px 14px rgb(7 94 87 / .14)}
.primary:hover{background:#064d48;filter:none;box-shadow:0 8px 18px rgb(7 94 87 / .2)}
.heading{margin:38px 0 24px}.eyebrow{color:var(--accent-strong);letter-spacing:.18em}
h1{color:var(--ink);font-size:clamp(28px,3vw,38px);letter-spacing:-.045em;line-height:1.12;margin:8px 0 10px}
.heading p,.intro{color:var(--muted);max-width:64ch}
.environment{border-color:#c4e0d8;background:var(--accent-soft);color:var(--accent-strong);border-radius:999px;font-weight:650}
.notice{border-radius:var(--radius);border-color:#ecdcb8;border-left:4px solid #c69338;background:#fffdf7;color:#75623d;box-shadow:none}
.card{background:var(--surface);border-color:var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}
.stats{gap:14px;margin-bottom:24px}.stat{min-height:132px;padding:20px 22px;border-top:3px solid var(--accent)}
.stat>span{color:#718384;text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-weight:700}
.stat strong{color:var(--ink);font-size:34px;letter-spacing:-.04em}.stat small{color:#829293}
.work-grid{gap:18px}.section-head{margin-bottom:16px}.section-head h2{color:var(--ink);letter-spacing:-.02em}
label{color:#486566;font-weight:600}input:not([type=file]),select,textarea{border-color:var(--border-strong);background:var(--surface-soft);border-radius:9px;color:var(--ink)}
input:not([type=file]):hover,select:hover,textarea:hover{border-color:#9cc6bc;background:#fff}
input:not([type=file]):focus,select:focus,textarea:focus{border-color:var(--accent);background:#fff;box-shadow:0 0 0 4px rgb(8 127 115 / .08);outline:none}
.file-box{border-color:#a9ccc2;background:#f5fbf8;border-radius:var(--radius)}
.hint{color:#7a8c8d}.flow li{border-color:#d7e5e1}.flow li:before{box-shadow:0 0 0 1px #c9dcd7;background:#dce9e5}.flow li.current:before{background:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.flow strong{color:#446666}.flow span{color:#829293}
.table-card{margin-bottom:18px}.table-wrap{border:1px solid var(--border);border-radius:10px;background:#fff}
table{font-size:12px}th{background:#f2f7f5;color:#718384;font-weight:700;letter-spacing:.04em;border-bottom:1px solid var(--border)}
td{color:#526a6b;border-bottom-color:#edf3f1}tbody tr:hover td{background:#f7fbfa}
.review-table .product-title{color:var(--ink)!important}.review-table thead th{background:#edf5f2}
.pill{background:#edf5f2;color:#3f6b66;border:1px solid #d9eae5;font-weight:650}.flow2-running{background:#e4f4ef;color:var(--accent-strong)}
.pagination{color:#6f8384}.empty{padding:52px 24px;color:#7b8d8d;background:#fbfdfc}
.review-receipt{border:1px solid #cce5dc;background:#f0faf6;color:#27685c;border-radius:10px}
.review-detail-grid{gap:26px}.review-product-heading{padding-bottom:18px;border-bottom:1px solid var(--border)}.review-product-heading h2{color:var(--ink)}
#product-review-form fieldset{border-color:var(--border);border-radius:10px;background:#fbfdfc}
#view-reviews details{border-color:var(--border)}
dialog{border-radius:var(--radius);border-color:var(--border);box-shadow:0 24px 70px rgb(21 58 55 / .18)}dialog::backdrop{background:rgb(12 45 43 / .42)}
footer{border-color:var(--border);color:#90a0a0}
.review-filters{top:76px;padding:10px 0 16px;background:rgb(255 255 255 / .96);backdrop-filter:blur(8px);border-bottom:1px solid var(--border)}
@media(max-width:1000px) and (min-width:651px){.sidebar{width:180px;padding:25px 14px}main{margin-left:180px;padding-left:24px;padding-right:24px}}
@media(max-width:650px){.sidebar{width:100%;padding:14px 52px 14px 14px}main{padding:0 16px 28px}.heading{margin-top:28px}.card{padding:20px}.stat{min-height:112px}.review-filters{top:0;padding-top:4px;border-bottom:0;background:var(--surface)}header{backdrop-filter:none}.table-wrap{border-radius:8px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}

/* Desktop-first shell: match the operations-console reference.
   Mobile stacking is intentionally disabled; the audit workspace keeps its
   desktop density and uses the full available viewport width. */
:root{--sidebar-expanded:244px;--sidebar-collapsed:56px}
html,body{min-width:1180px}
body{display:flex;overflow-x:auto}
.sidebar{display:flex;position:fixed;inset:0 auto 0 0;width:var(--sidebar-expanded);height:100vh;min-height:100vh;padding:28px 18px}
main{margin-left:var(--sidebar-expanded);width:auto;max-width:none;padding:0 28px 42px}
header{width:100%;height:76px;flex-wrap:nowrap}
.work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.stats{grid-template-columns:repeat(3,minmax(0,1fr))}
.review-detail-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.review-filters{grid-template-columns:150px 180px minmax(220px,1fr) auto}
.review-import-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}
.review-product-heading{flex-direction:row}
.review-product-heading img{width:150px;height:170px}
.review-table{table-layout:fixed;min-width:0}
.card{padding:24px}
.environment{max-width:none}
footer{display:grid}
.sidebar nav{display:flex;flex-direction:column;gap:4px}
.nav-button{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:10px}
.nav-button .nav-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#eef5f2;color:#64817d;font-size:12px;font-weight:750;line-height:1;opacity:1}
.nav-button .nav-text{min-width:0;font-size:12px;opacity:1;align-self:center}
.nav-button .nav-index{font-size:10px;color:#99aaa7;opacity:1;align-self:center}
.nav-button.active .nav-icon{background:var(--accent-soft);color:var(--accent-strong)}
.sidebar-toggle{top:18px;right:-14px}
body.sidebar-collapsed .sidebar{width:var(--sidebar-collapsed);padding:20px 8px}
body.sidebar-collapsed main{margin-left:var(--sidebar-collapsed)}
body.sidebar-collapsed .brand{justify-content:center}
body.sidebar-collapsed .brand-icon{width:34px;height:34px;border-radius:9px;font-size:18px}
body.sidebar-collapsed .nav-button{grid-template-columns:1fr;width:40px;height:40px;padding:0;margin:4px auto;justify-items:center;gap:0}
body.sidebar-collapsed .nav-button .nav-icon{width:34px;height:34px;border-radius:9px;font-size:11px}
body.sidebar-collapsed .nav-button .nav-text,body.sidebar-collapsed .nav-button .nav-index{display:none}
body.sidebar-collapsed .sidebar-toggle{top:auto;right:8px;bottom:18px;width:40px;height:32px;border-radius:9px;background:#eef5f2;font-size:20px;line-height:1}
body.sidebar-collapsed .sidebar-toggle:hover{background:var(--accent-soft)}

/* Collapsed navigation always has a visible graphic, even when the text
   labels are hidden or a stale browser rule hides nested spans. */
body.sidebar-collapsed .nav-button .nav-icon{display:none}
body.sidebar-collapsed .nav-button .nav-text{display:block;position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body.sidebar-collapsed .nav-button::before{content:"";display:grid;place-items:center;width:34px;height:34px;border:1px solid #c9e5de;border-radius:9px;background:#eef5f2;color:#587b76;font-family:"Segoe UI Symbol","Noto Sans Symbols","Microsoft YaHei",sans-serif;font-size:16px;font-weight:700;line-height:1}
body.sidebar-collapsed .nav-button[data-view="reviews"]::before{content:"✓"}
body.sidebar-collapsed .nav-button[data-view="batches"]::before{content:"▦"}
body.sidebar-collapsed .nav-button[data-view="staff"]::before{content:"♙"}
body.sidebar-collapsed .nav-button[data-view="audit"]::before{content:"≡"}
body.sidebar-collapsed .nav-button[data-view="workers"]::before{content:"◇"}
body.sidebar-collapsed .nav-button[data-view="dedupe"]::before{content:"⊞"}
.dedupe-table{margin-top:20px}.dedupe-table td:nth-child(3){font-family:ui-monospace,"Cascadia Mono",Consolas,monospace;color:var(--ink);font-weight:600}.dedupe-table th:first-child{width:9%}.dedupe-table th:nth-child(2){width:12%}.dedupe-table th:nth-child(3){width:23%}.dedupe-table th:nth-child(4){width:29%}
body.sidebar-collapsed .nav-button.active::before{border-color:#0b887b;background:var(--accent-soft);color:var(--accent-strong);box-shadow:inset 3px 0 var(--accent)}

/* Lingxing-inspired operations shell
   This is an original enterprise-console treatment, not a copy of Lingxing
   assets. The existing information architecture and data controls remain
   intact; only the visual hierarchy and density are changed. */
:root{
  --accent:#3478f6;
  --accent-strong:#245fd0;
  --accent-soft:#eaf1ff;
  --ink:#1e293b;
  --muted:#718096;
  --canvas:#f3f5f8;
  --surface:#ffffff;
  --surface-soft:#f8fafc;
  --border:#dfe5ed;
  --border-strong:#cbd5e1;
  --nav:#182231;
  --nav-raised:#222e3f;
  --nav-text:#b9c5d4;
  --radius:5px;
  --shadow:0 1px 2px rgb(15 23 42 / .04),0 8px 24px rgb(15 23 42 / .035);
  color-scheme:light;
}
html,body{min-width:1180px;background:var(--canvas)}
body{color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",Arial,sans-serif;font-size:13px;line-height:1.5;letter-spacing:0}
button,input,select,textarea{font-family:inherit}
button:focus-visible,a:focus-visible,input:focus,select:focus,textarea:focus{outline:2px solid rgb(52 120 246 / .38);outline-offset:2px}
button{border-radius:4px;font-weight:600}
button:hover{filter:none}

/* Dark navigation rail */
.sidebar{width:208px;background:var(--nav);border-right:1px solid #101925;padding:18px 12px;box-shadow:none;color:var(--nav-text)}
.brand{gap:10px;color:#f7fbff;font-size:17px;letter-spacing:-.02em}
.brand-icon{width:36px;height:36px;border-radius:7px;background:#2f7cf6;box-shadow:0 5px 14px rgb(0 0 0 / .18);font-size:20px}
.brand small{color:#8493a7;font-size:10px;margin-top:3px}
.nav-label{margin:34px 10px 11px;color:#6f8096;font-size:10px;letter-spacing:.12em;font-weight:700}
.nav-button{border:1px solid transparent;border-radius:4px;color:var(--nav-text);padding:10px 9px;margin:2px 0}
.nav-button:hover{background:var(--nav-raised);color:#fff}
.nav-button.active{background:#263b5b;border-color:#315783;color:#fff;box-shadow:inset 3px 0 #4d91ff}
.nav-button .nav-icon{width:26px;height:26px;border-radius:5px;background:#263244;color:#9eacc0;font-size:11px}
.nav-button.active .nav-icon{background:#3478f6;color:#fff}
.nav-button .nav-text{font-size:12px}
.nav-button .nav-index{color:#718198;font-size:9px}
.nav-button.active .nav-index{color:#9dbcf1}
.sidebar-note{border-color:#2b3748;color:#93a2b4;padding:16px 8px 0;font-size:11px}
.sidebar-note p{color:#6e7d90;font-size:10px;line-height:1.7}
.dot{background:#45c28c;box-shadow:0 0 0 3px rgb(69 194 140 / .14)}
.sidebar-toggle{top:18px;right:-13px;width:26px;height:26px;border:1px solid #3a4a60;border-radius:4px;background:#253246;color:#b8c9df;font-size:18px;line-height:22px;box-shadow:0 3px 8px rgb(15 23 42 / .18)}
.sidebar-toggle:hover{background:#33445c;color:#fff}

/* Dense top workspace bar */
main{margin-left:208px;width:calc(100% - 208px);max-width:none;padding:0 24px 34px;background:var(--canvas)}
header.topbar{height:58px;margin:0 -24px;padding:0 24px;background:#202c3c;border:0;color:#d8e2ef;box-shadow:0 1px 0 rgb(15 23 42 / .16);position:sticky;top:0;z-index:20}
.topbar-left{display:flex;align-items:stretch;min-width:0;height:100%}
.breadcrumb{display:flex;align-items:center;gap:8px;min-width:170px;color:#91a0b3;font-size:11px;border-right:1px solid #354255;padding-right:20px}
.breadcrumb .crumb-root{color:#91a0b3}
.breadcrumb .crumb-separator{color:#56667a}
.breadcrumb strong{color:#eef4fb;font-weight:600}
.topbar-tabs{display:flex;align-items:stretch;margin-left:10px;gap:2px}
.topbar-tab{height:58px;padding:0 15px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:#aebacd;font-size:12px;white-space:nowrap}
.topbar-tab:hover{background:#29374a;color:#fff}
.topbar-tab.active{border-bottom-color:#4d91ff;background:#26374d;color:#fff}
.topbar-tab-mark{display:inline-grid;place-items:center;width:18px;height:18px;margin-right:6px;border-radius:4px;background:#2d3b50;color:#9db2ce;font-size:10px;font-weight:700}
.topbar-tab.active .topbar-tab-mark{background:#3478f6;color:#fff}
#account-area{gap:8px;color:#ced8e6;font-size:11px;white-space:nowrap}
#account-area .quiet{background:transparent;border:1px solid #3d4b60;color:#cbd7e5;padding:6px 10px}
#account-area .quiet:hover{background:#2c3a4e;border-color:#60738d;color:#fff}

/* Workspace rhythm */
.message{margin:14px 0 0;border-radius:4px;border-color:#f1c8bf;background:#fff5f2;color:#a04c3f;font-size:12px}
.heading{margin:24px 0 16px;align-items:flex-start}
.eyebrow{color:var(--accent-strong);font-size:10px;letter-spacing:.16em;font-weight:750}
h1{color:var(--ink);font-size:28px;line-height:1.2;letter-spacing:-.035em;margin:6px 0 8px}
h2{color:var(--ink);font-size:15px;font-weight:700;letter-spacing:-.01em;margin-bottom:14px}
.heading p,.intro{color:var(--muted);font-size:12px;line-height:1.7}
.environment{border:1px solid #c8d9f8;background:#edf3ff;color:#2c61bf;border-radius:4px;padding:6px 10px;font-size:10px;font-weight:650}
.notice{margin-bottom:16px;padding:10px 14px;border-radius:4px;border:1px solid #f0dfb8;border-left:3px solid #d69b2d;background:#fffaf0;color:#775d2b;font-size:11px;line-height:1.6}
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:18px}
.table-card{margin-bottom:14px}
.stats{gap:10px;margin-bottom:14px}
.stat{min-height:96px;padding:14px 16px;border-top:2px solid var(--accent);gap:4px}
.stat>span{color:#718096;font-size:10px;letter-spacing:.04em;text-transform:uppercase;font-weight:700}
.stat strong{color:#1f3655;font-size:28px;line-height:1.1;letter-spacing:-.035em}
.stat small{color:#94a3b8;font-size:10px}

/* Filters and controls */
.review-filters{position:static;grid-template-columns:150px 170px minmax(260px,1fr) auto;gap:10px;padding:12px 14px;background:#fff;border:1px solid var(--border);border-bottom:0;border-radius:5px 5px 0 0}
.review-filters label,.review-import-grid label{margin:0;color:#64748b;font-size:11px;font-weight:650}
input:not([type=file]),select,textarea{border-color:var(--border-strong);background:#fff;border-radius:4px;color:var(--ink);font-size:12px}
input:not([type=file]),select{height:34px;padding:7px 10px;margin-top:6px}
input:not([type=file]):hover,select:hover,textarea:hover{border-color:#9db7df;background:#fff}
input:not([type=file]):focus,select:focus,textarea:focus{border-color:#5f8fe8;box-shadow:0 0 0 3px rgb(52 120 246 / .1);outline:none}
.quiet{background:#fff;color:#4d6480;border:1px solid #cbd6e2;padding:7px 12px;font-size:11px}
.quiet:hover{background:#f1f5fb;color:#245fd0;border-color:#a9c2e5}
.primary{background:#2f70e8;color:#fff;border:1px solid #2f70e8;border-radius:4px;padding:8px 15px;box-shadow:0 3px 8px rgb(47 112 232 / .2)}
.primary:hover{background:#245fcf;border-color:#245fcf;box-shadow:0 5px 12px rgb(47 112 232 / .24)}
.section-head{margin-bottom:12px}
.section-head a{color:#2f70e8;font-size:11px}
.hint{color:#7b8798;font-size:11px;line-height:1.7}

/* Lingxing-style data table */
.table-wrap{border:1px solid var(--border);border-radius:0 0 5px 5px;background:#fff;overflow:auto}
table{font-size:12px;min-width:920px}
th{height:36px;padding:8px 10px;background:#edf2f7;color:#56677c;border-bottom:1px solid #d9e1eb;font-size:10px;font-weight:750;letter-spacing:.03em;white-space:nowrap}
td{height:48px;padding:8px 10px;color:#526276;border-bottom:1px solid #edf1f5;vertical-align:middle}
tbody tr:hover td{background:#f7faff}
td small{color:#94a3b8;font-size:10px;margin-top:3px}
.review-table{table-layout:fixed;min-width:980px;margin:0;white-space:normal}
.review-table th:first-child{width:42%}.review-table th:nth-child(2){width:10%}.review-table th:nth-child(3){width:22%}.review-table th:nth-child(4){width:14%}.review-table th:nth-child(5){width:12%}
.review-table td:first-child{font-size:12px;line-height:1.4;color:#243b5b}
.review-table .product-title{color:#1f3655!important;font-weight:650!important;line-height:1.4;max-height:34px;overflow:hidden;text-overflow:ellipsis}
.review-table .product-summary small{font-family:ui-monospace,"Cascadia Mono",Consolas,monospace;color:#8796aa}
.review-table td:last-child{white-space:nowrap}
.review-site-setting{min-width:0;gap:5px}.review-site-setting select{height:30px;margin:0;padding:5px 8px;font-size:11px}
.review-site-setting button{padding:6px 8px;font-size:10px}
.pill{display:inline-flex;align-items:center;min-height:24px;padding:3px 8px;border-radius:4px;background:#edf3ff;color:#315fae;border:1px solid #d5e2fa;font-size:10px;font-weight:700}
.pagination{padding:11px 14px;margin:0;justify-content:flex-end;gap:9px;background:#fff;border:1px solid var(--border);border-top:0;border-radius:0 0 5px 5px;color:#718096}
.pagination .quiet{padding:5px 9px}
.empty{padding:54px 20px;background:#fff;color:#8a98aa}

/* Review detail and admin modules use the same compact language. */
.review-detail-grid{gap:20px}.review-product-heading{padding-bottom:14px;border-bottom:1px solid var(--border)}
.review-product-heading h2{font-size:16px;line-height:1.45}.review-product-heading img{width:132px;height:148px}
#product-review-form fieldset{border-color:var(--border);border-radius:4px;background:#fafbfd;padding:10px 12px}
#product-review-form textarea{min-height:80px}
.flow2-summary{border-color:#d6e1ef;border-radius:4px;background:#f6f9fd;color:#718096;padding:10px 12px}
.flow2-count{border-radius:4px;background:#eef3f9;color:#5d718b}.flow2-running{background:#e7f1ff;color:#245fd0}.flow2-succeeded{background:#e8f7ef;color:#2b7d50}.flow2-failed,.flow2-blocked,.flow2-interrupted{background:#fff0ed;color:#a54d42}
.review-receipt{border-radius:4px;background:#eef8f2;border-color:#cde6d6;color:#2d7452}
dialog{border-radius:5px;border-color:var(--border);box-shadow:0 20px 60px rgb(15 23 42 / .22)}dialog::backdrop{background:rgb(15 23 42 / .48)}
pre{border:1px solid var(--border);border-radius:4px;background:#f8fafc;color:#3e526d}
footer{border-color:var(--border);color:#93a1b2;font-size:10px;margin-top:20px;padding:16px 0}

/* Login keeps the same shell but reads like a product entry point. */
.login-panel{max-width:720px;padding:74px 0 50px}
.login-panel h1{font-size:34px}.login-card{width:420px;margin-top:26px;padding:22px}
.login-card h2{font-size:16px}.login-card .primary{height:38px}
body.auth-loading .topbar-tabs{visibility:hidden}

/* Collapsed rail remains graphical and preserves the full-width workspace. */
:root{--sidebar-expanded:208px;--sidebar-collapsed:60px}
body.sidebar-collapsed .sidebar{width:var(--sidebar-collapsed);padding:18px 8px}
body.sidebar-collapsed main{margin-left:var(--sidebar-collapsed);width:calc(100% - var(--sidebar-collapsed))}
body.sidebar-collapsed .brand>span:last-child,body.sidebar-collapsed .nav-label,body.sidebar-collapsed .sidebar-note{display:none}
body.sidebar-collapsed .brand{justify-content:center}
body.sidebar-collapsed .brand-icon{width:34px;height:34px;border-radius:6px;font-size:18px}
body.sidebar-collapsed .nav-button{width:40px;height:40px;padding:0;margin:4px auto;grid-template-columns:1fr;justify-items:center;gap:0}
body.sidebar-collapsed .nav-button .nav-text,body.sidebar-collapsed .nav-button .nav-index{display:none}
body.sidebar-collapsed .nav-button .nav-icon{display:grid;width:32px;height:32px;border-radius:5px}
body.sidebar-collapsed .sidebar-toggle{top:auto;right:9px;bottom:18px;width:40px;height:30px;border-radius:4px;background:#27364a}
body.sidebar-collapsed .topbar-tabs{margin-left:0}

/* The requested workspace is desktop-first and fills the available screen. */
@media(max-width:650px){
  html,body{min-width:1180px}
  .sidebar{display:flex;position:fixed;inset:0 auto 0 0;width:var(--sidebar-expanded);height:100vh;padding:18px 12px}
  main{margin-left:var(--sidebar-expanded);width:calc(100% - var(--sidebar-expanded));padding:0 24px 34px}
  header.topbar{margin:0 -24px;padding:0 24px}
  .work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .review-detail-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .review-filters{grid-template-columns:150px 170px minmax(260px,1fr) auto}
  .review-import-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}
  .review-product-heading{flex-direction:row}
  .review-product-heading img{width:132px;height:148px}
  .card{padding:18px}
  body.sidebar-collapsed .sidebar{width:var(--sidebar-collapsed);padding:18px 8px}
  body.sidebar-collapsed main{margin-left:var(--sidebar-collapsed);width:calc(100% - var(--sidebar-collapsed))}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}

/* 2026-10-06 visual polish: balance the desktop shell, reduce empty stretch,
   and keep the collapsed rail visually integrated with the dark navigation. */
:root{
  --shell-sidebar:224px;
  --shell-collapsed:72px;
  --shell-gutter:clamp(22px,2.4vw,44px);
  --canvas:#edf1f6;
  --surface:#fff;
  --surface-soft:#f7f9fc;
  --border:#d9e1eb;
  --border-strong:#c3cfdd;
  --radius:6px;
}
html,body{min-width:1180px;background:var(--canvas)}
body{background:var(--canvas);font-size:14px;line-height:1.55}

/* A quieter, wider navigation rail. */
.sidebar{width:var(--shell-sidebar);padding:20px 14px;background:linear-gradient(180deg,#172334 0%,#1a2637 100%);border-right-color:#101a28}
.brand{min-height:40px;gap:11px;font-size:18px}
.brand-icon{width:38px;height:38px;border-radius:8px;font-size:21px}
.nav-label{margin:38px 10px 12px;color:#8190a4;letter-spacing:.14em}
.sidebar nav{gap:6px}
.nav-button{min-height:44px;padding:8px 10px;border-radius:6px}
.nav-button .nav-icon{width:30px;height:30px;border-radius:7px;background:#273448;color:#a7b6c9}
.nav-button .nav-text{font-size:13px}
.nav-button .nav-index{font-size:10px}
.nav-button.active{background:#263a59;border-color:#34577f;box-shadow:inset 3px 0 #5a98ff}
.nav-button.active .nav-icon{background:#3478f6;color:#fff}
.sidebar-note{padding:18px 8px 0}

/* Keep the top bar readable while the content below can use the full desktop. */
main{margin-left:var(--shell-sidebar);width:calc(100% - var(--shell-sidebar));padding:0 var(--shell-gutter) 42px}
header.topbar{height:64px;margin-left:calc(var(--shell-gutter) * -1);margin-right:calc(var(--shell-gutter) * -1);padding:0 var(--shell-gutter);background:#1f2b3b}
.topbar-left{flex:1;min-width:0}
.breadcrumb{min-width:156px;padding-right:16px;font-size:12px}
.topbar-tabs{margin-left:8px;overflow:auto;scrollbar-width:none}
.topbar-tabs::-webkit-scrollbar{display:none}
.topbar-tab{height:64px;padding:0 17px;font-size:13px}
#account-area{margin-left:auto;font-size:12px}
body:not(.is-authenticated) .topbar-tabs{visibility:hidden}
.breadcrumb.is-redundant .crumb-separator,.breadcrumb.is-redundant #page-name{display:none}

/* The workspace has a soft reading width without reintroducing a narrow page. */
#workspace{width:100%;max-width:2048px;margin:0 auto}
.heading{margin:0;padding:30px 4px 18px;align-items:flex-start}
.heading h1{font-size:32px;margin:7px 0 8px}
.heading p{font-size:13px}
.environment{margin-top:4px;padding:7px 11px}
.notice{margin:0 0 18px;padding:12px 16px}
.card{border-radius:6px;padding:22px 24px;box-shadow:0 2px 8px rgb(15 23 42 / .045)}
.stats{gap:12px;margin-bottom:18px}
.stat{min-height:108px;padding:16px 20px;border-top-width:3px}
.stat>span{font-size:11px;letter-spacing:.02em;text-transform:none}
.stat strong{font-size:32px}

/* Filters and table now read as one continuous work surface. */
#review-list-page > .table-card,
#view-dedupe > .table-card:not(.admin-only){padding:0;overflow:hidden}
#review-list-page > .table-card > .review-filters,
#view-dedupe > .table-card:not(.admin-only) > .review-filters{border:0;border-bottom:1px solid var(--border);border-radius:0;padding:17px 20px 16px;background:#fff}
#review-list-page > .table-card > .table-wrap,
#view-dedupe > .table-card:not(.admin-only) > .table-wrap{border:0;border-radius:0}
#review-list-page > .table-card > .pagination,
#view-dedupe > .table-card:not(.admin-only) > .pagination{border:0;border-top:1px solid var(--border);border-radius:0}
.review-filters{grid-template-columns:160px 190px minmax(320px,1fr) 100px;gap:12px}
.review-filters label,.review-import-grid label{font-size:12px}
.review-filters button{height:34px;align-self:end}
#review-import-form{max-width:1480px;grid-template-columns:minmax(320px,1.15fr) minmax(270px,.85fr) auto;gap:18px}

table{font-size:13px}
th{height:40px;padding:9px 14px;font-size:11px}
td{height:58px;padding:10px 14px}
.review-table{min-width:1080px}
.review-table th:first-child{width:38%}
.review-table th:nth-child(2){width:9%}
.review-table th:nth-child(3){width:27%}
.review-table th:nth-child(4){width:15%}
.review-table th:nth-child(5){width:11%}
.review-table td:first-child{font-size:13px;line-height:1.5}
.review-table .product-title{display:-webkit-box;max-height:42px;line-height:1.55;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.review-table .product-summary small{font-size:10.5px}
.review-table td:nth-child(2){font-weight:650;color:#4b6280}
.review-site-setting{display:flex;width:100%;max-width:340px;align-items:center;gap:7px}
.review-site-setting select{min-width:0;flex:1}
.review-site-setting button{flex:0 0 auto}
.review-status{display:inline-flex;align-items:center;min-height:26px;padding:3px 9px;border:1px solid #d7e1ee;border-radius:999px;background:#f3f6fa;color:#5d6f86;font-size:11px;font-weight:650;white-space:nowrap}
.review-status[data-state="REVIEW_PENDING"],.review-status[data-state="AUX_PENDING"],.review-status[data-state="BRAND_PENDING"]{border-color:#f0dfb6;background:#fff8e8;color:#967029}
.review-status[data-state="READY_FOR_FLOW2"]{border-color:#c7e5d5;background:#edf9f1;color:#27734b}
.review-status[data-state="REJECTED_PROHIBITED"],.review-status[data-state="REJECTED_IP"]{border-color:#f1cfc8;background:#fff2ef;color:#a24d43}
.review-status[data-state="ON_HOLD"],.review-status[data-state="SEASONAL_LIBRARY"],.review-status[data-state="AUX_INSUFFICIENT"]{border-color:#d7e1ee;background:#f1f5f9;color:#61738a}

/* Detail view: separate evidence from the decision form. */
#review-detail{padding:26px}
.review-detail-grid{grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr);gap:28px}
#product-review-form{padding:20px 22px;border:1px solid var(--border);border-radius:6px;background:#f8fafc}
#product-review-form .section-head{padding-bottom:12px;border-bottom:1px solid var(--border)}
#product-review-form fieldset{background:#fff}

/* Login is an entry screen, not a small card stranded in a large canvas. */
#login-panel{width:min(1160px,100%);max-width:none;min-height:calc(100vh - 64px);margin:0 auto;padding:64px 18px 78px;display:grid;grid-template-columns:minmax(0,1fr) minmax(380px,420px);gap:clamp(48px,8vw,120px);align-items:center}
.login-copy{position:relative;padding:34px 0 42px}
.login-copy::before{content:"";position:absolute;left:-56px;top:-30px;width:280px;height:280px;border-radius:50%;background:radial-gradient(circle,#dbe8ff 0%,#eaf0fa 44%,transparent 72%);opacity:.78;pointer-events:none}
.login-copy>*{position:relative}
.login-panel h1{max-width:10em;font-size:clamp(38px,4vw,54px);line-height:1.12;margin:14px 0 16px}
.login-panel .intro{max-width:38em;font-size:14px;line-height:1.9}
.login-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:650px;margin-top:42px;padding-top:18px;border-top:1px solid #d5deea;gap:18px}
.login-points span{display:grid;grid-template-columns:auto 1fr;column-gap:9px;align-items:baseline}
.login-points b{grid-row:span 2;color:#6e8fc5;font:700 11px/1 ui-monospace,"Cascadia Mono",monospace}
.login-points strong{font-size:13px;color:#334b6c}
.login-points small{grid-column:2;color:#8290a4;font-size:11px}
.login-card{width:100%;max-width:420px;margin:0;padding:30px;border-radius:8px;box-shadow:0 18px 48px rgb(31 52 82 / .12)}
.login-card h2{font-size:18px;margin-bottom:20px}
.login-card .primary{height:42px;font-size:13px}

/* The collapsed rail uses dark tiles and a visible active state instead of
   light empty boxes. Native title text supplies a tooltip for each icon. */
body.sidebar-collapsed .sidebar{width:var(--shell-collapsed);padding:20px 9px}
body.sidebar-collapsed main{margin-left:var(--shell-collapsed);width:calc(100% - var(--shell-collapsed))}
body.sidebar-collapsed .brand-icon{width:38px;height:38px;border-radius:8px}
body.sidebar-collapsed .nav-button{width:44px;height:44px;margin:5px auto}
body.sidebar-collapsed .nav-button::before{width:38px;height:38px;border:1px solid #35465d;border-radius:8px;background:#253246;color:#a9b8ca;font-size:16px;box-shadow:none}
body.sidebar-collapsed .nav-button.active::before{border-color:#3478f6;background:#3478f6;color:#fff;box-shadow:0 4px 10px rgb(52 120 246 / .25)}
body.sidebar-collapsed .sidebar-toggle{right:16px;bottom:18px;width:40px;height:32px;border-color:#3a4b62;background:#253246;color:#b8c9df}

@media(max-width:1400px){
  :root{--shell-gutter:24px}
  #workspace{max-width:none}
  .review-table{min-width:1020px}
  #login-panel{gap:56px;padding-left:8px;padding-right:8px}
}
@media(max-width:1200px){
  #login-panel{grid-template-columns:minmax(0,1fr) 380px;gap:40px}
  .login-points{gap:10px}
  .review-detail-grid{grid-template-columns:minmax(0,1fr) minmax(380px,.9fr);gap:20px}
}
@media(max-width:650px){
  /* Keep the approved desktop-first behavior, but prevent the login grid from
     becoming unusably narrow when viewed through a small browser window. */
  #login-panel{grid-template-columns:minmax(0,1fr) 380px;min-height:calc(100vh - 64px);padding-left:18px;padding-right:18px}
  .login-panel h1{font-size:40px}
  .review-filters{grid-template-columns:160px 190px minmax(320px,1fr) 100px}
}

/* 2026-10-06 navigation pass: Lingxing-style grouped navigation and closable tabs. */
.sidebar-menu{display:flex;flex-direction:column;gap:14px}
.sidebar-group{display:flex;flex-direction:column;gap:5px}
.sidebar-group-title{display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;border:0;border-radius:5px;background:transparent;color:#8fa0b4;text-align:left;font-size:12px;font-weight:700;letter-spacing:.03em}
.sidebar-group-title:hover{background:#263448;color:#fff;filter:none}
.sidebar-group-icon{display:grid;place-items:center;width:24px;height:24px;border-radius:6px;background:#263448;color:#a8b7c9;font-size:11px;font-weight:700}
.sidebar-group-title:hover .sidebar-group-icon{background:#3478f6;color:#fff}
.sidebar-group-name{flex:1}
.sidebar-group-chevron{font-size:15px;line-height:1;color:#71839a;transition:transform .16s ease}
.sidebar-group.is-collapsed .sidebar-group-chevron{transform:rotate(-90deg)}
.sidebar-group.is-collapsed .sidebar-group-items{display:none}
.sidebar-group-items{display:flex;flex-direction:column;gap:3px;padding-left:9px}
.sidebar-group-items .nav-button{min-height:42px;margin:0;padding:7px 9px}
.sidebar-group-items .nav-button .nav-text{font-size:13px}
.sidebar-secondary-item{margin-top:4px!important;border-top:1px solid #2b3748!important;border-radius:0!important;padding-top:12px!important}
.topbar-tabs{display:flex;align-items:stretch;gap:2px;min-width:0}
.topbar-tab{display:flex;align-items:stretch;height:58px;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:#aebacd;white-space:nowrap}
.topbar-tab-main{display:flex;align-items:center;height:100%;padding:0 8px 0 15px;border:0;border-radius:0;background:transparent;color:inherit;font-size:13px;font-weight:600}
.topbar-tab-close{display:grid;place-items:center;width:28px;height:100%;padding:0;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:#8393a8;font-size:17px;font-weight:400}
.topbar-tab:hover{background:#29374a;color:#fff}
.topbar-tab.active{border-bottom-color:#4d91ff;background:#26374d;color:#fff}
.topbar-tab.active .topbar-tab-close{border-bottom-color:#4d91ff;color:#b9cbea}
.topbar-tab-close:hover{background:#34465e;color:#fff;filter:none}
.topbar-tab-mark{flex:0 0 auto}

/* Use the entire desktop canvas while keeping a readable inner gutter. */
main{padding-left:clamp(18px,1.25vw,28px);padding-right:clamp(18px,1.25vw,28px)}
header.topbar{margin-left:calc(clamp(18px,1.25vw,28px) * -1);margin-right:calc(clamp(18px,1.25vw,28px) * -1);padding-left:clamp(18px,1.25vw,28px);padding-right:clamp(18px,1.25vw,28px)}
#workspace{max-width:none}
.heading{padding-left:0;padding-right:0}
.card{padding:26px 28px}
body{font-size:15px;line-height:1.65}
h1{font-size:34px;line-height:1.25}
h2{font-size:18px;line-height:1.4}
.heading p,.intro{font-size:14px;line-height:1.9}
.notice{font-size:13px;line-height:1.8;padding:14px 18px}
.hint,.file-box small{font-size:12px;line-height:1.9}
label{font-size:13px}
input:not([type=file]),select{padding:12px 13px}
.stat{min-height:118px;padding:18px 22px}
.stat>span{font-size:12px}
.stat strong{font-size:34px}
table{font-size:14px}
th{height:46px;padding:11px 16px;font-size:12px}
td{height:68px;padding:13px 16px}
td small{font-size:10.5px;line-height:1.6}
.review-table td:first-child{font-size:14px;line-height:1.7}
.review-table .product-title{max-height:48px;line-height:1.7}
.review-table .product-summary small{font-size:11px}
.review-status{font-size:12px;padding:4px 10px}
.config-card{min-height:310px}
.config-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:20px}
.config-item{min-height:138px;padding:18px;border:1px solid var(--border);border-radius:6px;background:var(--surface-soft);display:flex;flex-direction:column;gap:8px}
.config-item span{color:#718198;font-size:12px}
.config-item strong{color:#1f3858;font-size:18px;line-height:1.4}
.config-item small{color:#8b99aa;font-size:12px;line-height:1.6}
.config-status{margin-top:22px;padding:14px 16px;border:1px solid var(--border);border-radius:5px;background:#fff}
.config-mcp-card{margin-top:16px;border-color:#d6dfeb;box-shadow:0 4px 18px rgb(31 53 82 / .05)}
.mcp-provider-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}
.mcp-provider-item{min-height:190px;padding:16px;border:1px solid #dbe4ef;border-radius:6px;background:#f8fafc}
.mcp-provider-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.mcp-provider-header strong{color:#173b64;font-size:16px}
.mcp-provider-state{display:inline-flex;align-items:center;min-height:24px;padding:3px 8px;border:1px solid #d7e1ee;border-radius:999px;background:#f1f5f9;color:#657891;font-size:10px;font-weight:650;white-space:nowrap}.mcp-provider-state.ready{border-color:#c7e5d5;background:#edf9f1;color:#27734b}.mcp-provider-state.waiting{border-color:#f0dfb6;background:#fff8e8;color:#967029}
.mcp-provider-scope{margin:8px 0 14px;color:#718198;font-size:12px}.mcp-provider-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mcp-provider-meta div{display:flex;flex-direction:column;gap:4px;padding:9px 10px;border:1px solid #e1e8f0;border-radius:5px;background:#fff}.mcp-provider-meta span{color:#8999ac;font-size:10px}.mcp-provider-meta small{color:#345579;font-size:11px;overflow-wrap:anywhere}.mcp-provider-note{margin:14px 0 0;color:#8291a4;font-size:11px;line-height:1.65}
@media(max-width:1100px){.mcp-provider-grid{grid-template-columns:1fr 1fr}}@media(max-width:650px){.mcp-provider-grid{grid-template-columns:1fr}}
body.sidebar-collapsed .sidebar-group-title{justify-content:center;padding:4px 0}
body.sidebar-collapsed .sidebar-group-name,body.sidebar-collapsed .sidebar-group-chevron{display:none}
body.sidebar-collapsed .sidebar-group-icon{width:34px;height:34px;border-radius:8px}
body.sidebar-collapsed .sidebar-group-items{padding-left:0}
body.sidebar-collapsed .sidebar-group{gap:3px}
body.sidebar-collapsed .sidebar-secondary-item{border-top:0!important;padding-top:7px!important}
/* The collapsed rail uses one generated icon per child item. Keep the
   original text icon out of the grid so it cannot create a second row. */
body.sidebar-collapsed .nav-button .nav-icon{display:none}
body.sidebar-collapsed .nav-button .nav-text,body.sidebar-collapsed .nav-button .nav-index{display:none}
body.sidebar-collapsed .nav-button[data-view="config"]::before{content:"⚙"}
@media(max-width:1200px){.config-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 2026-10-06 Lingxing-style rail: a narrow icon-and-label bar with a white
   flyout for the selected module group. */
:root{--lingxing-sidebar:76px;--lingxing-flyout:224px}
html,body{min-width:1180px}
.sidebar{width:var(--lingxing-sidebar);padding:18px 6px 14px;align-items:center;overflow:visible;background:#121a26;border-right:1px solid #0b111a;z-index:40}
main{margin-left:var(--lingxing-sidebar);width:calc(100% - var(--lingxing-sidebar))}
.brand{width:64px;min-height:48px;display:flex;justify-content:center;align-items:center}
.brand>span:last-child,.nav-label,.sidebar-note{display:none}
.brand-icon{width:42px;height:42px;border-radius:9px;background:#2377f2;color:#fff;font-size:20px;box-shadow:0 5px 14px rgb(0 0 0 / .18)}
.sidebar-menu{width:64px;display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:20px}
.sidebar-group{position:relative;width:64px;display:flex;align-items:center;gap:0}
.sidebar-group-title{width:64px;height:70px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:6px 0;border:1px solid transparent;border-radius:5px;background:transparent;color:#b8c4d2;text-align:center;font-size:12px;font-weight:600;letter-spacing:0}
.sidebar-group-title:hover,.sidebar-group.is-open .sidebar-group-title,.sidebar-group:has(.nav-button.active) .sidebar-group-title{background:#1d2b40;border-color:#263c59;color:#fff;filter:none}
.sidebar-group-icon{display:grid;place-items:center;width:29px;height:29px;border-radius:7px;background:transparent;color:#aeb9c7;font-size:21px;font-weight:500;line-height:1}
.sidebar-group-title:hover .sidebar-group-icon,.sidebar-group.is-open .sidebar-group-icon,.sidebar-group:has(.nav-button.active) .sidebar-group-icon{color:#fff}
.sidebar-group-name{display:block;line-height:1.2;white-space:nowrap}
.sidebar-group-chevron{display:none}
.sidebar-group-items{position:absolute;left:calc(100% + 5px);top:0;z-index:80;width:var(--lingxing-flyout);min-height:120px;display:none;flex-direction:column;gap:4px;padding:14px 12px;background:#fff;border:1px solid #d9e1eb;border-radius:0 6px 6px 0;box-shadow:8px 8px 24px rgb(15 23 42 / .15)}
.sidebar-group.is-open .sidebar-group-items,.sidebar-group:hover .sidebar-group-items{display:flex}
.sidebar-group-items .nav-button{width:100%;min-height:40px;display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:9px;margin:0;padding:7px 9px;border:1px solid transparent;border-radius:4px;background:#fff;color:#243b56;text-align:left}
.sidebar-group-items .nav-button:hover{background:#edf3ff;color:#155fd3;filter:none}
.sidebar-group-items .nav-button.active{background:#e8f0ff;border-color:#c8dcff;box-shadow:inset 3px 0 #3478f6;color:#155fd3}
.sidebar-group-items .nav-button .nav-icon{display:grid;place-items:center;width:26px;height:26px;border-radius:6px;background:#f0f3f7;color:#62748a;font-size:12px;font-weight:700;line-height:1}
.sidebar-group-items .nav-button.active .nav-icon{background:#3478f6;color:#fff}
.sidebar-group-items .nav-button .nav-text{display:block;min-width:0;font-size:13px;line-height:1.35;white-space:nowrap}
.sidebar-group-items .nav-button .nav-index{font-size:10px;color:#9aa9ba}
.sidebar-secondary-item{margin-top:7px!important;padding-top:10px!important;border-top:1px solid #e6ebf2!important;border-radius:0!important}
.sidebar-toggle{top:auto;right:8px;bottom:12px;width:48px;height:30px;border:1px solid #34475f;border-radius:4px;background:#1d2b40;color:#b8c9df;font-size:18px;line-height:24px;box-shadow:none}
.sidebar-toggle:hover{background:#2b3e58;color:#fff;filter:none}
body.sidebar-collapsed .sidebar{width:60px;padding:18px 5px 14px}
body.sidebar-collapsed main{margin-left:60px;width:calc(100% - 60px)}
body.sidebar-collapsed .brand{width:50px}
body.sidebar-collapsed .brand-icon{width:36px;height:36px;font-size:18px}
body.sidebar-collapsed .sidebar-menu{width:50px;gap:6px}
body.sidebar-collapsed .sidebar-group{width:50px}
body.sidebar-collapsed .sidebar-group-title{width:50px;height:54px}
body.sidebar-collapsed .sidebar-group-name{display:none}
body.sidebar-collapsed .sidebar-group-icon{width:32px;height:32px;font-size:20px}
body.sidebar-collapsed .sidebar-group-items{display:none!important}
body.sidebar-collapsed .sidebar-toggle{right:5px;width:50px}
@media(max-width:650px){
  .sidebar{display:flex;position:fixed;inset:0 auto 0 0;width:var(--lingxing-sidebar);height:100vh;padding:18px 6px 14px}
  main{margin-left:var(--lingxing-sidebar);width:calc(100% - var(--lingxing-sidebar));padding-bottom:34px}
  body.sidebar-collapsed .sidebar{width:60px}
  body.sidebar-collapsed main{margin-left:60px;width:calc(100% - 60px)}
}

/* 2026-10-06 form layout fix: keep native controls readable and use the full
   import card width instead of leaving the action area stranded in the middle. */
input:not([type=file]),select,textarea{line-height:1.45}
input:not([type=file]),select{height:auto;min-height:42px;padding:9px 13px}
#review-import-form{max-width:none;width:100%;grid-template-columns:minmax(360px,1.25fr) minmax(320px,.85fr) auto;gap:22px;align-items:end}
#review-import-form button{justify-self:end;min-width:156px;margin-bottom:0}
#review-import-form input[type=file]{min-height:42px;padding:8px 0;line-height:1.45}
#product-review-form select{min-height:42px;height:auto;padding:9px 13px;line-height:1.45}
.review-site-setting select{height:34px;min-height:34px;padding:6px 10px;line-height:1.35}
.review-filters input:not([type=file]),.review-filters select{height:38px;min-height:38px;padding:8px 11px;line-height:1.35}
@media(max-width:900px){#review-import-form{grid-template-columns:minmax(0,1fr) minmax(280px,.9fr) 170px}}

/* 2026-10-06 always-expanded product shell and visual refinement. */
body.sidebar-collapsed .sidebar{width:var(--lingxing-sidebar);padding:18px 6px 14px}
body.sidebar-collapsed main{margin-left:var(--lingxing-sidebar);width:calc(100% - var(--lingxing-sidebar))}
body.sidebar-collapsed .brand{width:64px}
body.sidebar-collapsed .brand-icon{width:42px;height:42px;font-size:20px}
body.sidebar-collapsed .sidebar-menu{width:64px;gap:8px}
body.sidebar-collapsed .sidebar-group{width:64px}
body.sidebar-collapsed .sidebar-group-title{width:64px;height:70px}
body.sidebar-collapsed .sidebar-group-name{display:block}
body.sidebar-collapsed .sidebar-group-icon{width:29px;height:29px;font-size:21px}
body.sidebar-collapsed .sidebar-group-items{display:none}
.sidebar-toggle{display:none!important}

header.topbar{height:56px;background:#172334;border-bottom:1px solid #2b3c53;box-shadow:0 2px 12px rgb(15 23 42 / .12)}
.breadcrumb{display:flex;align-items:center;gap:8px;min-width:150px;padding-right:18px;color:#96a5b8;font-size:12px}
.breadcrumb .crumb-root{color:#c7d3e1;font-weight:650}
.breadcrumb .crumb-separator{color:#667990;margin:0}
.topbar-tabs{height:56px;gap:3px}
.topbar-tab{height:56px}
.topbar-tab-main{font-size:13px;padding-left:16px;padding-right:9px}
.topbar-tab-mark{width:20px;height:20px;border-radius:5px;background:#2b3a50}
.topbar-tab-close{width:28px;font-size:16px}
#account-area{gap:8px}
#account-area .quiet{background:#223249;color:#d1dcea;border:1px solid #3a4c65;border-radius:5px;padding:7px 11px}

#workspace{padding-bottom:20px}
.heading{padding-top:26px;padding-bottom:16px}
.heading h1{font-size:36px;letter-spacing:-.04em;margin:5px 0 7px;color:#172f4d}
.heading p{color:#70839b}
.environment{margin-top:3px;border-color:#c7d9f4;background:#f2f7ff;color:#3268b4;border-radius:5px;padding:7px 10px;font-size:11px;font-weight:650}
.notice{position:relative;margin-bottom:16px;border-color:#ead7a9;border-left:3px solid #d9982b;background:#fffaf0;color:#80662d;border-radius:5px;padding:12px 16px;box-shadow:0 3px 12px rgb(176 132 43 / .06)}

#review-list-page > .card.admin-only{overflow:hidden;padding:0;border-color:#d6dfeb;box-shadow:0 4px 18px rgb(31 53 82 / .06)}
#review-list-page > .card.admin-only .section-head{margin:0;padding:18px 24px 12px;background:#fff;border-bottom:1px solid #e4eaf2}
#review-list-page > .card.admin-only .section-head h2{font-size:18px;color:#173657}
#review-list-page > .card.admin-only > .hint{margin:0;padding:11px 24px 0;color:#75869b}
#review-list-page > .card.admin-only #review-import-form{margin:15px 24px 0;padding:16px 18px;border:1px solid #dbe5f0;border-radius:8px;background:#f7f9fc}
#review-list-page > .card.admin-only #review-import-form label{margin:0;color:#506784}
#review-list-page > .card.admin-only .button-row{padding:12px 24px 16px}
#review-list-page > .card.admin-only details{margin:0;padding:0 24px 16px}
#review-list-page > .card.admin-only details summary{padding-top:4px;font-weight:650}
.stats{gap:14px;margin-top:16px}
.stat{position:relative;overflow:hidden;border-color:#d7e1ee;box-shadow:0 4px 14px rgb(31 53 82 / .05)}
.stat::after{content:"";position:absolute;right:-28px;bottom:-38px;width:108px;height:108px;border-radius:50%;background:#f0f5fc}
.stat strong,.stat>span,.stat small{position:relative;z-index:1}
#review-list-page > .table-card{border-color:#d6dfeb;box-shadow:0 4px 18px rgb(31 53 82 / .06)}
#review-list-page > .table-card > .review-filters{background:#f8fafc}
.review-filters label{color:#60748d;font-weight:650}
.review-table thead th{background:#edf3f8;color:#5f7490;font-weight:700}
.review-table tbody tr{transition:background .15s ease}
.review-table tbody tr:hover{background:#f5f9ff}
.review-table td:first-child{color:#1b3859}
.review-table .product-summary small{color:#8698ad}
.review-table td:last-child button{border-color:#c9d9ee;background:#f7faff;color:#2d68b4}
.review-table td:last-child button:hover{background:#e9f2ff}

#review-detail{border-color:#d6dfeb;box-shadow:0 6px 24px rgb(31 53 82 / .08)}
#review-detail .review-detail-grid{gap:32px}
#review-detail .review-product-heading{padding:10px 0 20px}
#review-detail .review-product-heading h2{font-size:20px;color:#173657}
#review-detail .review-text{color:#536b85;line-height:1.85}
#product-review-form{border-color:#d6dfeb;background:#f6f8fb;box-shadow:0 3px 12px rgb(31 53 82 / .05)}
#product-review-form .section-head{margin-bottom:16px}
#product-review-form fieldset{border-color:#d8e2ee;background:#fff;box-shadow:0 2px 7px rgb(31 53 82 / .04)}
#product-review-form legend{padding:0 7px;color:#345c89;font-weight:700}

footer{margin-top:24px;padding-top:16px;color:#8a9bb0}

/* Fill the desktop canvas to the viewport edge. The cards retain their own
   internal padding, while the shell no longer leaves a blank right strip. */
main{padding-right:0}
header.topbar{width:calc(100% + clamp(18px,1.25vw,28px));margin-right:0;padding-right:16px}

/* Keep the admin-only flow-one import area available without forcing it into
   every review session. The choice is persisted per browser and reversible. */
.section-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px;min-width:0}
.section-head-actions a{white-space:nowrap}
.module-toggle{padding:7px 10px;border:1px solid #c9d9ee;background:#f7faff;color:#2d68b4;font-size:12px;white-space:nowrap}
.module-toggle:hover{background:#e9f2ff;color:#155fd3;filter:none}
.review-import-module-hidden{display:none!important}
.review-import-collapsed{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;padding:12px 16px;border:1px solid #d6dfeb;border-radius:6px;background:#f8fafc;color:#657891;font-size:13px}
.review-import-collapsed[hidden]{display:none!important}

/* Selection data dashboard: calm B2B analytics surface using the existing
   blue review palette and real API counts. */
#view-dashboard{display:block}
#view-dashboard[hidden]{display:none!important}
.dashboard-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:16px;padding:20px 24px;border-color:#d6dfeb;background:#fff;box-shadow:0 4px 18px rgb(31 53 82 / .05)}
.dashboard-toolbar h2{margin:0 0 5px;color:#173657;font-size:20px}
.dashboard-toolbar .hint{margin:0}
.dashboard-actions{display:flex;align-items:center;gap:14px;white-space:nowrap}
.dashboard-actions .hint{font-size:11px}
.dashboard-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}
.dashboard-kpi{position:relative;min-height:124px;overflow:hidden;padding:18px 20px;border-color:#d6dfeb;box-shadow:0 4px 14px rgb(31 53 82 / .05)}
.dashboard-kpi::after{content:"";position:absolute;right:-34px;bottom:-46px;width:124px;height:124px;border-radius:50%;background:#eff4fb}
.dashboard-kpi>span,.dashboard-kpi>strong,.dashboard-kpi>small{position:relative;z-index:1}
.dashboard-kpi>span{display:block;color:#60748d;font-size:12px;font-weight:650}
.dashboard-kpi>strong{display:block;margin:12px 0 7px;color:#173b64;font-size:32px;line-height:1;font-weight:700}
.dashboard-kpi>small{display:block;color:#8a9bb0;font-size:11px}
.dashboard-grid-main{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(360px,.88fr);gap:16px;margin-bottom:16px}
.dashboard-panel{min-height:360px;padding:22px 24px;border-color:#d6dfeb;box-shadow:0 4px 18px rgb(31 53 82 / .05)}
.dashboard-panel .section-head{margin-bottom:22px}
.dashboard-panel .section-head h2{margin-bottom:5px;color:#173657}
.dashboard-panel .section-head .hint{margin:0}
.dashboard-status-bars{display:flex;flex-direction:column;gap:16px}
.dashboard-status-row{display:grid;grid-template-columns:132px minmax(0,1fr) 42px;align-items:center;gap:12px}
.dashboard-status-label{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#516781;font-size:12px}
.dashboard-status-label strong{color:#173b64;font-size:13px}
.dashboard-status-track{height:8px;overflow:hidden;border-radius:999px;background:#edf2f8}
.dashboard-status-bar{display:block;height:100%;min-width:0;border-radius:999px;transition:width .25s ease}
.dashboard-status-bar.blue{background:#4a88ef}.dashboard-status-bar.amber{background:#dca83c}.dashboard-status-bar.slate{background:#8a9aae}.dashboard-status-bar.green{background:#42a773}.dashboard-status-bar.red{background:#d87568}
.dashboard-status-row>small{color:#8798ad;font-size:11px;text-align:right}
.dashboard-site-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:28px;padding-top:16px;border-top:1px solid #e4eaf2}
.dashboard-site{display:flex;flex-direction:column;gap:5px;padding:12px 14px;border:1px solid #e0e7f0;border-radius:5px;background:#f8fafc}
.dashboard-site span{color:#6b7f96;font-size:11px;font-weight:650}.dashboard-site strong{color:#173b64;font-size:22px}.dashboard-site small{color:#8a9bb0;font-size:10.5px}
.dashboard-health-list{display:flex;flex-direction:column;gap:2px}
.dashboard-health-row{display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #edf1f5}
.dashboard-health-row:last-child{border-bottom:0}
.dashboard-health-dot{width:8px;height:8px;border-radius:50%;background:#aeb8c6;box-shadow:0 0 0 3px #edf1f5}.dashboard-health-dot.good{background:#45ad78;box-shadow:0 0 0 3px #e5f4eb}.dashboard-health-dot.waiting{background:#d5a34a;box-shadow:0 0 0 3px #fbf1dc}
.dashboard-health-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.dashboard-health-copy strong{color:#3f5874;font-size:12px}.dashboard-health-copy small{color:#8a9bb0;font-size:10.5px}
.dashboard-health-value{color:#173b64;font-size:12px;font-weight:650;text-align:right;white-space:nowrap}
.dashboard-health-value + .dashboard-health-value{color:#8a9bb0}
.dashboard-recent{padding:0;overflow:hidden;border-color:#d6dfeb;box-shadow:0 4px 18px rgb(31 53 82 / .05)}
.dashboard-recent .section-head{margin:0;padding:18px 24px 12px;border-bottom:1px solid #e4eaf2;background:#fff}
.dashboard-recent .section-head h2{margin-bottom:5px;color:#173657}.dashboard-recent .section-head .hint{margin:0}
.dashboard-recent .table-wrap{border:0}.dashboard-recent table{margin:0}.dashboard-recent th{background:#edf3f8;color:#5f7490;font-weight:700}.dashboard-recent td:first-child{color:#1b3859;font-weight:600}.dashboard-recent td small{color:#8698ad}
.pill[data-state="ready"]{border-color:#c7e5d5;background:#edf9f1;color:#27734b}.pill[data-state="pending"]{border-color:#f0dfb6;background:#fff8e8;color:#967029}
@media(max-width:1100px){.dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid-main{grid-template-columns:1fr}.dashboard-panel{min-height:0}}
@media(max-width:650px){.dashboard-toolbar{align-items:flex-start;flex-direction:column}.dashboard-actions{width:100%;justify-content:space-between}.dashboard-kpis{grid-template-columns:1fr}.dashboard-status-row{grid-template-columns:112px minmax(0,1fr) 36px}.dashboard-site-grid{grid-template-columns:1fr}}

.pipeline-board{margin-bottom:16px;padding:0;overflow:hidden;border-color:#d6dfeb;box-shadow:0 4px 18px rgb(31 53 82 / .05)}
#view-dashboard .dashboard-grid-main{display:block}
.pipeline-board>.section-head{margin:0;padding:18px 24px 14px;border-bottom:1px solid #e4eaf2}.pipeline-board>.section-head h2{margin:0 0 5px;color:#173657}.pipeline-board>.section-head .hint{margin:0}
.pipeline-kind-tabs{display:flex;gap:6px}.pipeline-kind-tabs .quiet{min-width:72px}.pipeline-kind-tabs .active{border-color:#b9d2fb;background:#e8f0ff;color:#155fd3}
.pipeline-board-layout{display:grid;grid-template-columns:310px minmax(0,1fr);min-height:480px}.pipeline-run-list{padding:12px;border-right:1px solid #e4eaf2;background:#f8fafc;overflow:auto}.pipeline-run-item{display:flex;flex-direction:column;align-items:flex-start;gap:5px;width:100%;margin-bottom:7px;padding:12px;border:1px solid transparent;border-radius:6px;background:#fff;color:#345579;text-align:left}.pipeline-run-item:hover,.pipeline-run-item.active{border-color:#b9d2fb;background:#eaf2ff;color:#155fd3;filter:none}.pipeline-run-item strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pipeline-run-item small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8798ad;font-size:10px}.pipeline-run-item span{color:#6d7f94;font-size:11px}.pipeline-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:220px;padding:24px;color:#8192a7;text-align:center}.pipeline-empty strong{color:#345579;font-size:15px}.pipeline-run-detail{padding:22px 24px;overflow:auto}.pipeline-detail-head{padding-bottom:14px;border-bottom:1px solid #e4eaf2}.pipeline-detail-head h3{margin:0 0 6px;color:#173657;font-size:18px}.pipeline-detail-head p{margin:0;color:#8192a7;font-size:11px}.pipeline-stage-timeline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:16px 0}.pipeline-stage-item{display:flex;flex-direction:column;gap:5px;padding:10px;border:1px solid #dbe4ef;border-radius:5px;background:#f8fafc}.pipeline-stage-item strong{color:#345579;font-size:11px}.pipeline-stage-item span{color:#27734b;font-size:11px;font-weight:650}.pipeline-stage-item small{color:#8a9bb0;font-size:10px}.pipeline-metric-table,.pipeline-entity-table{width:100%;border-collapse:collapse;font-size:11px;white-space:normal}.pipeline-metric-table th,.pipeline-entity-table th{padding:9px 10px;background:#edf3f8;color:#5f7490;font-weight:700}.pipeline-metric-table td,.pipeline-entity-table td{padding:9px 10px;border-bottom:1px solid #edf1f5;color:#526276}.pipeline-metric-table td:first-child{color:#1b3859;font-weight:650}.pipeline-entities{margin-top:22px;padding-top:16px;border-top:1px solid #e4eaf2}.pipeline-entities h3{margin:0 0 10px;color:#345579;font-size:14px}.pipeline-entity-table{min-width:620px}.pipeline-entity-table td:nth-child(4){max-width:280px;overflow-wrap:anywhere;font-family:ui-monospace,"Cascadia Mono",Consolas,monospace;font-size:10px}
@media(max-width:900px){.pipeline-board-layout{grid-template-columns:1fr}.pipeline-run-list{border-right:0;border-bottom:1px solid #e4eaf2;max-height:260px}.pipeline-stage-timeline{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.pipeline-board>.section-head{align-items:flex-start;flex-direction:column}.pipeline-stage-timeline{grid-template-columns:1fr}}

/* Library entry surfaces. Data remains explicitly empty until the matching
   persistent source and permission contract are connected. */
.library-shell{display:flex;flex-direction:column;gap:16px}
.library-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 24px;border-color:#d6dfeb;box-shadow:0 4px 18px rgb(31 53 82 / .05)}
.library-toolbar h2{margin:0 0 5px;color:#173657;font-size:20px}.library-toolbar .hint{margin:0}
.library-status{display:inline-flex;align-items:center;min-height:28px;padding:4px 10px;border:1px solid #ead7a9;border-radius:999px;background:#fff8e8;color:#967029;font-size:11px;font-weight:650;white-space:nowrap}
.library-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.library-summary{min-height:116px;padding:18px 20px;border-color:#d6dfeb;box-shadow:0 4px 14px rgb(31 53 82 / .05)}
.library-summary span{color:#60748d;font-size:12px;font-weight:650}.library-summary strong{display:block;margin:12px 0 7px;color:#173b64;font-size:30px;line-height:1}.library-summary small{color:#8a9bb0;font-size:11px}
.library-table-card{min-height:390px;padding:0;overflow:hidden;border-color:#d6dfeb;box-shadow:0 4px 18px rgb(31 53 82 / .05)}
.library-table-card .section-head{margin:0;padding:18px 24px 12px;border-bottom:1px solid #e4eaf2}.library-table-card .section-head h2{margin-bottom:5px;color:#173657}.library-table-card .section-head .hint{margin:0}
.library-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:300px;padding:34px 24px;text-align:center;background:#fbfcfe}
.library-empty-mark{display:grid;place-items:center;width:52px;height:52px;margin-bottom:14px;border:1px solid #c9d9ee;border-radius:12px;background:#edf3ff;color:#3478f6;font-size:20px;font-weight:700}
.library-empty h3{margin:0 0 8px;color:#28496d;font-size:18px}.library-empty p{max-width:560px;margin:0 0 18px;color:#8192a7;font-size:13px;line-height:1.8}
.copyright{color:#8a9bb0;font-size:10px;white-space:nowrap;text-align:center}
footer{grid-template-columns:1fr auto auto 1fr}

/* Review list import-time filter and column. */
#review-filter-form{grid-template-columns:150px 170px 150px minmax(260px,1fr) 100px}
.review-table th:first-child{width:34%}.review-table th:nth-child(2){width:8%}.review-table th:nth-child(3){width:22%}.review-table th:nth-child(4){width:14%}.review-table th:nth-child(5){width:11%}.review-table th:nth-child(6){width:11%}
.review-table .review-import-time{color:#60748d;font-size:12px;white-space:nowrap}
@media(max-width:1100px){#review-filter-form{grid-template-columns:150px 170px minmax(220px,1fr) 100px}.review-table{min-width:1160px}}
@media(max-width:650px){#review-filter-form{grid-template-columns:1fr}.review-table{min-width:1160px}}
@media(max-width:900px){.library-summary-grid{grid-template-columns:1fr}.library-toolbar{align-items:flex-start;flex-direction:column}}

