:root{--ink: #10231b;--muted: #64748b;--line: #e2e8e5;--paper: #ffffff;--canvas: #f4f7f5;--brand: #15803d;--brand-soft: #e8f5ec;--dark: #0f1f1a}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0;background:var(--canvas);color:var(--ink);font-family:Inter,PingFang SC,Hiragino Sans GB,Microsoft YaHei,system-ui,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit}.boot-loading{min-height:100vh;display:grid;place-content:center;gap:14px;color:var(--muted);text-align:center}.admin-shell{min-height:100vh}.admin-sider{background:var(--dark)!important;border-right:1px solid rgba(255,255,255,.06)}.admin-sider .ant-layout-sider-trigger{background:#ffffff0f}.brand{height:88px;display:flex;align-items:center;gap:12px;padding:0 20px;border-bottom:1px solid rgba(255,255,255,.08)}.brand-mark{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,#22c55e,#166534);color:#fff;font-weight:800;letter-spacing:-.04em;box-shadow:0 8px 20px #22c55e40;flex:0 0 auto}.brand-mark.large{width:54px;height:54px;border-radius:16px;font-size:19px}.brand-copy{display:flex;flex-direction:column;line-height:1.25;overflow:hidden}.brand-copy strong{color:#f8fafc;font-size:14px;white-space:nowrap}.brand-copy span{color:#7f9c8e;font-size:9px;letter-spacing:.13em;margin-top:4px;white-space:nowrap}.sider-section-label{padding:20px 22px 8px;color:#6b8578;font-size:10px;letter-spacing:.16em}.admin-sider .ant-menu{background:transparent;border-inline-end:0!important;padding:4px 10px}.admin-sider .ant-menu-item{border-radius:10px;margin:3px 0;height:42px}.admin-sider .ant-menu-item-selected{color:#fff}.sider-footer{position:absolute;bottom:18px;left:0;right:0;padding:0 20px}.sider-status{display:flex;align-items:center;gap:8px;color:#89a295;font-size:11px}.pulse-dot{width:7px;height:7px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px #22c55e26}.admin-header{height:68px;padding:0 26px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20;background:#ffffffeb!important;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.header-left,.header-right{display:flex;align-items:center;gap:14px}.header-left .ant-breadcrumb{font-size:12px}.user-chip{display:flex;align-items:center;gap:10px;border:1px solid var(--line);background:#fff;border-radius:999px;padding:4px 12px 4px 4px;cursor:pointer}.user-chip span{display:flex;flex-direction:column;align-items:flex-start;line-height:1.2}.user-chip strong{font-size:12px;color:var(--ink)}.user-chip small{font-size:10px;color:var(--muted)}.admin-content{padding:28px 30px 42px;max-width:1460px;width:100%;margin:0 auto}.content-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:22px}.content-heading h1{margin:4px 0 0;font-size:26px;letter-spacing:-.03em}.eyebrow{color:#6b8f7c;font-size:10px;letter-spacing:.18em;font-weight:700}.page-stack{display:flex;flex-direction:column;gap:16px}.panel-card{border:1px solid var(--line)!important;box-shadow:0 8px 30px #0f231b0a}.panel-card .ant-card-head{border-bottom-color:var(--line)}.panel-card .ant-card-head-title{font-size:14px}.stat-foot{color:var(--muted);font-size:11px;margin-top:10px}.table-primary{display:flex;flex-direction:column;line-height:1.4}.table-primary strong{font-size:13px}.table-primary span{color:var(--muted);font-size:11px;margin-top:2px}.muted{color:#94a3b8}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.config-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap}.config-head-note{margin:10px 0 0;color:var(--muted);font-size:12px}.config-pane{padding-top:4px}.config-divider{margin:20px 0 18px!important}.section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:10px}.section-head strong{font-size:13px}.section-head p{margin:4px 0 0;color:var(--muted);font-size:11px;line-height:1.6;max-width:720px}.face-row{display:grid;grid-template-columns:96px 1fr auto;gap:14px;align-items:center;padding:12px;margin-bottom:10px;border:1px solid var(--line);border-radius:12px;background:#fbfdfc}.face-slot{position:relative;width:96px;height:96px;padding:0;overflow:hidden;display:grid;place-items:center;border:1px dashed #b6d7c4;border-radius:10px;background:var(--brand-soft);cursor:pointer;transition:border-color .2s ease,background .2s ease}.face-slot:hover{border-color:var(--brand);background:#dcf0e3}.face-slot img{width:100%;height:100%;object-fit:cover;display:block}.face-slot-busy{position:absolute;inset:0;display:grid;place-items:center;background:#fbfdfcc7;color:var(--brand);font-size:22px}.face-slot-empty{display:flex;flex-direction:column;align-items:center;gap:6px;color:var(--brand);font-size:11px}.face-slot-empty .anticon{font-size:20px}.face-line{display:flex;flex-direction:column;gap:2px;min-width:0}.face-line .stat-foot{margin-top:2px}.face-empty{padding:18px 16px;border:1px dashed var(--line);border-radius:12px;color:var(--muted);font-size:12px;text-align:center;background:#fbfdfc}.field-label{display:flex;flex-direction:column;gap:6px;margin-bottom:16px;color:#475569;font-size:12px}.switch-line{display:flex;align-items:center;gap:10px;min-height:32px;color:var(--muted);font-size:12px}.master-switch-card{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:16px;padding:18px 20px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(120deg,#f4fbf7,#e9f6ee)}.master-switch-card.off{background:#f8fafc;border-color:#e2e8f0}.master-switch-card strong{font-size:15px}.master-switch-card p{margin:6px 0 0;color:var(--muted);font-size:12px;line-height:1.6}.master-switch-text{min-width:0}.master-switch-card .ant-switch{flex:none}.alias-line{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px}.import-errors{margin:6px 0 0;padding-left:18px;font-size:12px}.login-page{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr;background:#f8faf9}.login-visual{position:relative;overflow:hidden;padding:52px 58px;display:flex;flex-direction:column;justify-content:space-between;color:#f8fafc;background:radial-gradient(circle at 18% 18%,rgba(34,197,94,.32),transparent 28%),radial-gradient(circle at 82% 76%,rgba(16,185,129,.18),transparent 35%),linear-gradient(145deg,#0b1712,#123326 65%,#0f1f1a)}.login-visual:after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:44px 44px;-webkit-mask-image:linear-gradient(to bottom,#000,transparent 85%);mask-image:linear-gradient(to bottom,#000,transparent 85%)}.login-brand{display:flex;align-items:center;gap:14px;font-size:10px;letter-spacing:.18em;color:#9fc8b1;position:relative;z-index:1}.login-copy{position:relative;z-index:1;max-width:520px}.login-copy h1{font-size:clamp(34px,4vw,52px);line-height:1.2;margin:14px 0 18px;letter-spacing:-.05em;color:#fff}.login-copy p{color:#a9c5b7;line-height:1.8;font-size:14px}.login-metrics{display:flex;gap:36px;position:relative;z-index:1}.login-metrics div{display:flex;flex-direction:column;gap:5px}.login-metrics strong{font-size:22px;color:#86efac;font-family:SFMono-Regular,Consolas,monospace}.login-metrics span{font-size:11px;color:#8fa99b}.login-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px}.login-card{width:min(420px,100%);background:#fff;border:1px solid var(--line);border-radius:22px;padding:32px;box-shadow:0 24px 70px #0f231b14}.login-card-head{display:flex;gap:14px;align-items:center;margin-bottom:24px}.login-card-head>.anticon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand);font-size:21px}.login-card-head h3{margin:0!important;font-size:20px!important}.login-card-head .ant-typography-secondary{font-size:12px}.login-hint{margin-top:20px;padding-top:16px;border-top:1px dashed var(--line);display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:11px}.login-hint code{color:#166534;background:var(--brand-soft);padding:3px 7px;border-radius:6px}.login-footer{color:#94a3b8;font-size:11px;margin-top:24px}@media(max-width:1100px){.login-page{grid-template-columns:1fr}.login-visual{display:none}}@media(max-width:720px){.admin-content{padding:18px 14px 32px}.admin-header{padding:0 12px}.header-left .ant-breadcrumb{display:none}.content-heading h1{font-size:21px}.form-row{grid-template-columns:1fr;gap:0}.user-chip span{display:none}}
