@charset "UTF-8";
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;color:#151d45;background:#f6f7f9;font-size:14px;--primary:#6956ff;--muted:#8b92aa;--line:#eeeef5;--side:224px;--header:72px}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:var(--primary);text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #b5acff;outline-offset:3px}input,select,textarea{border:1px solid #dadce5;border-radius:9px;background:white;padding:10px 12px;min-width:0;color:#30395a;outline:none;transition:border .15s,box-shadow .15s}input:focus,select:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px #6956ff13}input::placeholder{color:#b9bdca}input[type=checkbox]{accent-color:var(--primary);width:16px;height:16px;box-shadow:none}input[type=color]{padding:3px;height:40px}textarea{resize:vertical;min-height:90px}h1,h2,h3,h4,p{margin:0}h1{font-size:30px}h2{font-size:20px}h3{font-size:18px}small{font-size:12px}.muted{color:var(--muted)}.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}.boot{display:flex;align-items:center;gap:15px;justify-content:center;height:100vh;color:var(--primary)}.brand-mark{width:34px;height:38px;display:inline-block;object-fit:contain;background:#fff;border-radius:5px;flex:none}
.topbar{position:fixed;inset:0 0 auto;height:var(--header);z-index:20;background:#fff;display:flex;align-items:center;padding:0 24px;box-shadow:0 4px 18px #19244705;gap:24px;border-radius:0 0 14px 14px}.brand{display:flex;align-items:center;gap:13px;width:calc(var(--side) - 26px);flex:none}.brand strong{font-size:20px;display:block;color:#111837}.brand span{color:#9599ad;font-size:12px;letter-spacing:.25px}.topnav{display:flex;align-self:stretch;gap:27px;white-space:nowrap}.topnav a{position:relative;display:flex;align-items:center;gap:11px;color:#101539;font-weight:650;font-size:15px}.topnav a.active{color:var(--primary)}.topnav a.active:after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--primary)}.header-right{margin-left:auto;display:flex;gap:12px;align-items:center;white-space:nowrap}.preview-pill{font-size:11px;background:#f0edff;color:#7765df;padding:7px 10px;border-radius:15px}.avatar{width:32px;height:32px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(140deg,#d060b2,#8058dd);color:white;font-size:12px;font-weight:600}.account-btn{display:flex;align-items:center;gap:8px;border:0;background:none;font-size:13px}.sidebar{position:fixed;left:8px;top:calc(var(--header) + 12px);bottom:0;width:calc(var(--side) - 16px);border-radius:12px 12px 0 0;background:white;padding:12px 8px;z-index:15}.sidebar a{position:relative;display:flex;align-items:center;gap:13px;margin-bottom:4px;padding:17px 15px;color:#56607a;border-radius:9px;font-weight:500}.sidebar a.active{background:linear-gradient(90deg,#ebe7ff,#fff);color:var(--primary);font-weight:600}.sidebar a.active:before{content:'';position:absolute;left:0;top:9px;bottom:9px;width:3px;background:var(--primary);border-radius:4px}.side-footer{position:absolute;bottom:23px;left:22px;font-size:10px;color:#b3b7c9;line-height:1.8}.main{margin:calc(var(--header) + 12px) 12px 0 calc(var(--side) + 12px);min-height:calc(100vh - var(--header) - 12px)}
.dashboard{border:1px solid #e1ddfa;border-radius:28px 28px 0 0;background:radial-gradient(ellipse at 4% 2%,#eeE9fd 0,transparent 43%),linear-gradient(125deg,#f5f6ff,#eff7ff);padding:30px 24px 28px;overflow:hidden;min-height:100vh}.hero{display:flex;align-items:center;justify-content:space-between;padding:0 8px 31px;gap:20px}.eyebrow{display:flex;align-items:center;gap:9px;font-size:12px;color:#405c83;margin-bottom:14px}.live-dot{width:8px;height:8px;border-radius:50%;background:#1bd6a1;box-shadow:0 0 0 5px #20d7ab17;display:inline-block;flex:none}.hero h1{font-size:44px;letter-spacing:-1.4px;font-weight:800;line-height:1.4}.hero p{color:#7b89aa;font-size:14px;margin-top:6px}.health{display:flex;align-items:center;gap:16px;background:#ffffff96;border-radius:24px;padding:15px 20px;flex:none}.health-ring{height:63px;width:63px;border-radius:50%;background:conic-gradient(#7060f2 100%,#ededfa 0);display:grid;place-items:center;position:relative}.health-ring:before{content:'';position:absolute;inset:5px;background:#fafaff;border-radius:50%}.health-ring span{position:relative;font-size:19px;font-weight:700}.health-ring small{font-size:9px;display:block;text-align:center;color:#8b90aa;font-weight:400}.health p{font-size:11px;margin-top:6px}.health strong{font-size:13px}.panel{background:#ffffffed;border-radius:23px;padding:23px;box-shadow:0 2px 3px #1d2a5706;border:1px solid #ffffff;margin-bottom:25px}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:12px}.section-head h2{font-size:19px;color:#0d1241}.section-head p{color:#92929f;margin-top:5px;font-size:13px}.live-badge{display:flex;align-items:center;gap:8px;border-radius:20px;background:#e9fff6;padding:7px 11px;font-size:11px;color:#02a17d;font-weight:700}.metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px}.metric{position:relative;overflow:hidden;min-height:235px;border-radius:19px;padding:16px 13px 19px;display:flex;flex-direction:column;text-align:left;border:1px solid #ffffff75;transition:transform .2s,box-shadow .2s}.metric:hover{transform:translateY(-3px);box-shadow:0 8px 20px #4248a615}.metric:after{content:'';position:absolute;width:130px;height:130px;right:-35px;bottom:-62px;border:23px solid #ffffff28;border-radius:50%;pointer-events:none}.metric.pink{background:linear-gradient(130deg,#ffe1e8,#fff0f3);--tone:#ff557f}.metric.yellow{background:linear-gradient(130deg,#fff1bc,#fff8df);--tone:#ff957c}.metric.green{background:linear-gradient(130deg,#c9f9e6,#e4fff3);--tone:#2ed64f}.metric.purple{background:linear-gradient(130deg,#e5d6ff,#f3ecff);--tone:#b97cff}.metric.blue{background:linear-gradient(130deg,#d5e5ff,#ebf3ff);--tone:#3c7df6}.metric-icon{width:40px;height:40px;display:grid;place-items:center;background:var(--tone);border-radius:50%;color:white;margin-bottom:14px}.metric strong{font-size:31px;font-weight:750;line-height:1.3;letter-spacing:-1px}.metric b{font-size:14px;color:#4e5c75}.metric small{margin-top:auto;padding-top:35px;color:#4689ff;font-size:12px;display:flex;align-items:center;gap:6px}.metric small .icon{width:13px}.subheading{margin:27px 0 14px}.subheading h2{font-size:20px;color:#0e1444}.subheading p{color:#8e98af;font-size:13px;margin-top:6px}.filterbar{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.filterbar select{min-width:140px}.filterbar .dates{display:flex;gap:9px;align-items:center}.filterbar input,.filterbar select{padding:9px 11px;background:#fff;color:#8791a5;height:37px;font-size:12px}.filter-panel{padding:18px 23px;margin-bottom:14px;border-radius:18px}.funnel-panel{padding:26px 23px;background:radial-gradient(ellipse at 100% 10%,#eeebff 0,transparent 43%),#ffffffbd}.real-badge{font-size:10px;background:#edf4ff;color:#6194ec;padding:4px 8px;border-radius:6px}.funnel-content{display:grid;grid-template-columns:26% 1fr;gap:24px}.funnel-summary{border-radius:20px;background:radial-gradient(ellipse at 100% 0,#9188ff88,transparent 60%),linear-gradient(150deg,#6c50fc,#3c4edb);padding:26px 22px;display:flex;flex-direction:column;justify-content:center;color:#ffffff;min-height:385px;box-shadow:0 18px 28px #4947bd20}.funnel-summary p{color:#d8d7ff;font-size:14px}.funnel-summary strong{font-size:51px;margin:20px 0 22px}.funnel-summary small{font-size:11px;border:1px solid #ffffff28;background:#ffffff14;padding:9px 11px;border-radius:22px;align-self:flex-start}.funnel-bars{display:flex;flex-direction:column;gap:8px;justify-content:space-between}.funnel-row{height:43px;border:1px solid color-mix(in srgb,var(--row),transparent 76%);background:linear-gradient(90deg,color-mix(in srgb,var(--row),white 81%),color-mix(in srgb,var(--row),white 96%));border-radius:30px;display:flex;align-items:center;gap:17px;padding:6px 13px;box-shadow:0 6px 10px #3f509409;margin-left:auto;margin-right:auto;width:var(--width);text-align:left;font-size:12px}.funnel-row:hover{filter:brightness(.985)}.funnel-row .step{display:grid;place-items:center;min-width:28px;height:28px;border-radius:50%;background:var(--row);color:white;font-weight:700;font-size:11px;box-shadow:0 4px 10px color-mix(in srgb,var(--row),transparent 75%)}.funnel-row b{font-weight:600}.funnel-row strong{margin-left:auto;font-size:15px}.funnel-row small{color:#8290a6;font-size:10px;min-width:53px;text-align:right}.dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.dashboard-grid .panel{margin-bottom:0;min-height:210px}.empty-chart{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:#a3abc0;height:125px;font-size:12px}.empty-chart .icon{width:31px;height:31px;color:#d4d3e8}.mini-number{font-size:28px;font-weight:700;margin-top:25px}.progress{height:7px;background:#f1f0fa;border-radius:8px;overflow:hidden;margin-top:15px}.progress span{display:block;height:100%;background:linear-gradient(90deg,#7863ff,#3eddb8)}.mini-bars{display:flex;flex-direction:column;gap:16px;padding-top:12px}.mini-bars>div{display:flex;gap:9px;align-items:center;font-size:11px}.mini-bars .progress{flex:1;margin:0}.recent{margin-top:20px}.tabs{display:flex;align-items:center;gap:24px;border-bottom:1px solid var(--line);margin-bottom:20px;overflow-x:auto;white-space:nowrap}.tabs button{border:0;background:none;padding:12px 0 14px;position:relative;color:#737d95;flex:none}.tabs button.active{color:var(--primary);font-weight:600}.tabs button.active:after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--primary)}
.page{padding:20px 22px;background:white;border-radius:14px;min-height:calc(100vh - var(--header) - 28px)}.page-header{display:flex;align-items:center;gap:12px;margin-bottom:24px;padding-bottom:22px;border-bottom:1px solid var(--line)}.page-header>.icon{width:27px;height:27px;color:var(--primary)}.page-header h1{font-size:24px}.page-header p{font-size:13px;color:var(--muted);margin-top:5px}.platforms{display:flex;gap:25px;border-bottom:1px solid var(--line);margin:-3px 0 25px;overflow:auto}.platforms button{border:0;background:none;display:flex;gap:8px;align-items:center;padding:12px 2px 15px;color:#777e93;white-space:nowrap;position:relative}.platforms button.active{color:var(--primary);font-weight:600}.platforms button.active:after{content:'';position:absolute;bottom:0;left:0;right:0;background:var(--primary);height:2px}.platform-symbol{border-radius:5px;width:21px;height:21px;display:inline-grid;place-items:center;color:white;background:#171722;font-size:11px}.platform-symbol.p1{background:#ff3a54}.platform-symbol.p2{background:#24b785}.platform-symbol.p3{background:#ff871c}.search-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 20px;align-items:end;margin:5px 0 22px}.field{display:flex;flex-direction:column;gap:8px;min-width:0}.field>span{font-size:12px;color:#596179}.field input,.field select{width:100%;height:37px;padding:7px 11px;font-size:12px}.field .required{color:#ed647d}.search-actions{display:flex;gap:8px;align-items:center}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #dfe1eb;background:white;min-height:35px;padding:7px 14px;border-radius:8px;font-size:12px;white-space:nowrap;transition:background .15s,box-shadow .15s}.btn .icon{width:15px;height:15px}.btn:hover{border-color:#a698ff;color:var(--primary);background:#faf9ff}.btn.primary{background:var(--primary);color:white;border-color:var(--primary);box-shadow:0 3px 8px #6956ff17}.btn.primary:hover{background:#5948ee}.btn.danger{color:#e95679}.btn.link{background:none;border:0;padding:5px 7px;color:var(--primary);box-shadow:none;min-height:28px}.btn.icon-only{padding:8px}.notice{background:#f3f6ff;color:#7c87a1;padding:12px 15px;border-radius:8px;font-size:12px;margin:17px 0;line-height:1.8;display:flex;align-items:center;gap:9px}.notice.amber{background:#fff9ed;color:#a3824d}.notice .icon{width:16px;height:16px}.toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:20px 0 18px}.toolbar .count{font-size:12px;color:#8e96aa;margin-right:8px}.toolbar .spacer{flex:1}.table-wrap{overflow-x:auto;width:100%;border:1px solid #f0f0f6;border-radius:9px}table{border-collapse:collapse;width:100%;font-size:12px;text-align:left;white-space:nowrap}th{padding:14px 15px;background:#fafafe;font-weight:500;color:#6f7891;border-bottom:1px solid #ededf5}td{padding:16px 15px;border-bottom:1px solid #f2f2f7;color:#46516c}tbody tr:hover{background:#fcfbff}tbody tr:last-child td{border-bottom:0}.name-cell{display:flex;align-items:center;gap:10px;max-width:240px}.name-cell strong{font-size:13px;color:#28345a;font-weight:600;display:block}.name-cell small{display:block;color:#a6acc0;margin-top:4px}.table-avatar{width:34px;height:34px;border-radius:10px;background:linear-gradient(120deg,#e6deff,#e2f1ff);display:grid;place-items:center;color:#8271db}.badge{background:#f0edff;color:#8974d9;border-radius:5px;font-size:11px;padding:4px 8px;display:inline-block}.badge.success{background:#e9faf2;color:#27b28c}.badge.warning{background:#fff5df;color:#d8a44f}.badge.gray{background:#f1f2f6;color:#8d96aa}.empty{min-height:235px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:11px;color:#a2aabb;font-size:12px;padding:30px}.empty .box-art{color:#cfcde7;width:70px;height:62px}.empty p{margin-top:4px}.empty .btn{margin-top:6px}.pagination{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:20px 0;color:#8b93a9;font-size:12px}.pagination .current{border:1px solid var(--primary);border-radius:7px;padding:6px 10px;color:var(--primary)}.pagination select{padding:6px 8px;font-size:12px}.summary-strip{display:flex;gap:18px;padding:20px 0;margin-bottom:18px;border-bottom:1px solid var(--line);overflow:auto}.summary-strip div{min-width:100px;flex:1;font-size:11px;color:#929aab}.summary-strip strong{display:block;color:#202d54;font-size:20px;margin-top:9px}.status-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.status-tabs button{border:1px solid transparent;background:#f5f6fa;border-radius:7px;padding:8px 12px;font-size:12px;color:#7f889d}.status-tabs button.active{background:#efebff;border-color:#e6dfff;color:var(--primary)}.two-col{display:grid;grid-template-columns:240px 1fr;gap:22px}.department-tree{border:1px solid var(--line);padding:18px;border-radius:10px}.department-tree h3{font-size:14px;margin-bottom:20px}.department-tree div{padding:10px;background:#f3f0ff;color:var(--primary);font-size:12px;border-radius:6px}.role-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.role-card{border:1px solid #e8e7f2;border-radius:15px;padding:24px;line-height:1.9}.role-card h3{margin:10px 0}.role-card>.icon{color:var(--primary);width:30px;height:30px}.integration{max-width:780px;margin:30px auto;padding:30px;border:1px solid #ebe8f8;background:linear-gradient(140deg,#f9f7ff,#f7fbff);border-radius:20px;line-height:1.9}.integration h2{margin-bottom:13px}.integration p{color:#7f88a2}.integration .icon{color:var(--primary);width:36px;height:36px;margin-bottom:18px}.integration .btn{margin-top:20px}.stats-bubble{padding:9px 13px;background:#f3f0ff;color:#8674da;border-radius:8px;font-size:12px}.agent-card{border:1px solid var(--line);padding:22px;border-radius:14px;margin-bottom:16px}.agent-card h3{margin-bottom:9px}.agent-card pre{white-space:pre-wrap;line-height:1.9;background:#f9f9fc;padding:15px;border-radius:8px;max-height:230px;overflow:auto;color:#6f7895;font-size:12px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.settings-card{padding:25px;border:1px solid var(--line);border-radius:16px}.settings-card p{line-height:1.9;color:#8590a8;font-size:13px;margin:12px 0 20px}.barline{height:1px;background:var(--line);margin:20px 0}.footer-caption{font-size:10px;color:#adb4c8;text-align:center;padding:25px 10px}
dialog{border:0;border-radius:19px;padding:0;width:min(820px,calc(100vw - 40px));color:#202b50;box-shadow:0 22px 100px #17244a33;max-height:88vh}dialog::backdrop{background:#111b3c55;backdrop-filter:blur(3px)}.modal-header{padding:23px 27px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;background:#fff;z-index:2}.modal-header h2{font-size:18px}.modal-body{padding:24px 27px;overflow:auto;max-height:calc(88vh - 140px)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-grid .wide{grid-column:1/-1}.form-grid textarea{width:100%}.field-hint{font-size:11px;color:#a1a8bc;line-height:1.5}.form-section{grid-column:1/-1;padding:5px 0 13px;border-bottom:1px solid var(--line);font-size:15px;margin-top:5px}.modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:15px 27px;border-top:1px solid var(--line);position:sticky;bottom:0;background:#fff}.form-error{font-size:12px;color:#e55e7a;margin-right:auto}.details-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;line-height:1.8}.details-grid small{display:block;color:#929db3;margin-bottom:5px}.details-grid p{white-space:pre-wrap;word-break:break-all;font-size:13px}.timeline{border-left:2px solid #e5e0ff;margin:18px 7px;padding:0 0 0 21px}.timeline>div{position:relative;margin:0 0 22px}.timeline>div:before{content:'';position:absolute;left:-27px;top:4px;width:9px;height:9px;background:#9b8aff;border:2px solid #eeeaff;border-radius:50%}.timeline p{font-size:12px;margin:7px 0}.timeline small{color:#a3acc0}.csv-text{width:100%;min-height:200px;font-family:monospace;font-size:12px}.login-screen{min-height:100vh;background:radial-gradient(ellipse at 20% 30%,#ddd8ff,transparent 55%),linear-gradient(120deg,#f4f2ff,#eef8ff);display:flex;align-items:center;justify-content:center;padding:40px}.login-container{display:grid;grid-template-columns:1fr 420px;gap:80px;align-items:center;max-width:1100px;width:100%}.login-intro .brand{width:auto;margin-bottom:50px}.login-intro h1{font-size:43px;line-height:1.5;letter-spacing:-1px}.login-intro p{line-height:2;color:#8d91ae;margin-top:25px}.login-box{background:#ffffffdf;padding:38px;border-radius:24px;box-shadow:0 20px 65px #6365a312}.login-box h2{font-size:23px;margin-bottom:8px}.login-box>p{font-size:12px;color:#9b9fb5;margin-bottom:24px}.login-box .field{margin-bottom:20px}.login-box input{height:44px}.login-box .btn{width:100%;margin-top:10px;min-height:43px}.login-error{font-size:12px;color:#e6627c;min-height:20px}.mobile-toggle{display:none}.toast{background:#fff;box-shadow:0 5px 30px #29366724;border:1px solid #eeedf6;border-radius:12px;padding:14px 22px;color:#556382;font-size:13px;margin-bottom:10px;display:flex;gap:10px;align-items:center;animation:toast-in .2s ease}.toast .icon{color:#31cda7}.toast.error .icon{color:#e8798f}#toasts{position:fixed;top:88px;left:50%;transform:translateX(-50%);z-index:1000;max-width:90vw}.backup-input{display:none}.drawer-actions{display:flex;gap:9px;margin-top:23px;flex-wrap:wrap}.batch-grid{display:flex;flex-wrap:wrap;gap:10px}.inline-error{border:1px solid #f6d1da;background:#fff7f9;color:#ba5870;border-radius:12px;padding:24px;line-height:1.9}.loading-state{padding:80px;text-align:center;color:#938bba}.steps-nav{display:flex;gap:20px;margin-bottom:24px;font-size:12px;color:#8b80ca}.steps-nav span{background:#f3f0ff;padding:8px 11px;border-radius:7px}.product-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.product-card{border:1px solid #ecebf6;border-radius:15px;padding:20px}.product-placeholder{height:100px;background:linear-gradient(130deg,#f2efff,#eaf5ff);border-radius:10px;display:grid;place-items:center;margin-bottom:15px;color:#beb7e5}.product-placeholder .icon{width:36px;height:36px}.product-card h3{font-size:14px;margin-bottom:10px}.product-card p{color:#9299ae;font-size:12px;margin-bottom:15px}.product-card strong{color:#ef7a9b;font-size:20px}.product-card footer{display:flex;align-items:center;justify-content:space-between}
@keyframes toast-in{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1800px){:root{--side:230px}.dashboard{padding:32px 24px}.metric{min-height:235px}.funnel-summary{min-height:390px}}
@media(max-width:1400px){:root{--side:195px}.topbar{gap:10px;padding:0 18px}.brand{width:170px}.topnav{gap:20px}.topnav a{font-size:13px;gap:7px}.header-right{gap:6px}.preview-pill{display:none}.hero h1{font-size:38px}.health{padding:12px 15px}.health-ring{width:55px;height:55px}.metric{min-height:205px}.metric b{font-size:12px}.metric strong{font-size:27px}.metric small{font-size:10px}.dashboard{padding:26px 20px}.search-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.topnav .icon{width:16px;height:16px}}
@media(max-width:1100px){:root{--side:175px}.topbar .brand{width:137px}.topnav{gap:17px}.topnav a .icon{display:none}.header-right .account-btn>span:last-child{display:none}.health{display:none}.metrics{gap:8px}.metric{padding:13px 11px;min-height:190px}.metric b{font-size:11px}.metric small{font-size:9px;line-height:1.6}.metric-icon{width:33px;height:33px}.dashboard-grid{grid-template-columns:repeat(2,1fr)}.funnel-content{grid-template-columns:25% 1fr;gap:15px}.funnel-row{gap:9px}.funnel-row b{font-size:10px}.funnel-row small{font-size:8px;min-width:42px}.funnel-summary{padding:20px 15px}.sidebar a{font-size:12px;padding:15px 10px;gap:9px}.search-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.two-col{grid-template-columns:170px 1fr}.product-cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){:root{--side:0px;--header:62px}.topbar{padding:0 14px;gap:12px;border-radius:0;overflow:visible}.topbar .brand{width:44px}.topbar .brand>div{display:none}.brand-mark{width:27px;height:31px}.topnav{flex:1;overflow:auto;gap:22px;scrollbar-width:none}.topnav a{font-size:12px;min-width:max-content}.header-right{margin-left:0}.account-btn{padding:0}.avatar{width:27px;height:27px}.sidebar{display:none;top:62px;left:0;bottom:0;width:210px;box-shadow:15px 0 25px #29325811}.sidebar.open{display:block}.mobile-toggle{display:flex;margin-bottom:12px;font-size:12px;background:white;border:1px solid #e7e6f4;padding:8px 12px;border-radius:8px;color:#8073bc;gap:8px;align-items:center}.main{margin:74px 10px 0}.dashboard{border-radius:20px;padding:22px 14px}.hero{padding:0 2px 24px}.hero h1{font-size:29px;letter-spacing:-.6px}.hero p{font-size:11px;line-height:1.8}.eyebrow{font-size:10px;margin-bottom:8px}.panel{padding:17px 14px;border-radius:19px;margin-bottom:18px}.section-head h2{font-size:16px}.section-head p{font-size:11px}.metrics{grid-template-columns:repeat(3,1fr);gap:8px}.metric{min-height:168px;padding:11px 9px}.metric strong{font-size:25px}.metric b{font-size:11px}.metric small{padding-top:22px;font-size:9px}.metric-icon{width:31px;height:31px;margin-bottom:10px}.metric-icon .icon{width:16px}.filterbar .dates{width:100%}.filterbar .dates input{width:45%}.filterbar select{min-width:0;flex:1;font-size:11px}.funnel-content{display:block}.funnel-summary{min-height:0;display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:15px;margin-bottom:20px}.funnel-summary strong{font-size:28px;margin:0}.funnel-summary p{font-size:11px}.funnel-summary small{align-self:center;font-size:9px}.funnel-bars{gap:8px}.funnel-row{height:39px;gap:10px}.funnel-row b{font-size:11px}.funnel-row small{font-size:9px}.funnel-row .step{min-width:25px;height:25px}.dashboard-grid{gap:10px}.dashboard-grid .panel{padding:16px 12px;min-height:190px}.dashboard-grid .section-head{gap:4px}.dashboard-grid .section-head h2{font-size:13px}.real-badge{font-size:8px;padding:3px 5px}.empty-chart{font-size:10px}.page{padding:18px 14px;border-radius:12px}.page-header h1{font-size:20px}.page-header p{font-size:11px;line-height:1.8}.search-grid{gap:15px 10px}.field>span{font-size:11px}.toolbar{gap:7px}.btn{font-size:11px;padding:7px 10px}.toolbar .spacer{display:none}.toolbar .count{width:100%}.tabs{gap:20px}.two-col{grid-template-columns:1fr}.department-tree{display:none}.role-cards,.settings-grid{grid-template-columns:1fr}.integration{padding:24px 19px}.summary-strip{gap:12px}.summary-strip div{min-width:80px}.summary-strip strong{font-size:18px}.form-grid{gap:16px 12px}.modal-body{padding:20px}.modal-header{padding:20px}.modal-footer{padding:15px 20px}.login-container{grid-template-columns:1fr;gap:35px;max-width:440px}.login-intro h1{font-size:28px}.login-intro .brand{margin-bottom:20px}.login-intro p{display:none}.login-box{padding:28px}.login-screen{padding:25px}.product-cards{grid-template-columns:1fr}.steps-nav{gap:7px;font-size:10px}.steps-nav span{padding:6px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* 方大嫂品牌标识：保留原始比例，适配较长的品牌名称。 */
.brand-mark{width:44px;height:40px;object-fit:contain}
.brand{gap:10px;width:210px}.brand strong{font-size:18px;white-space:nowrap}
.password-fields{display:grid;gap:20px;max-width:480px}.password-fields input{width:100%}
@media(max-width:1400px){.topbar .brand{width:200px}}
@media(max-width:1100px){.topbar .brand{width:190px}}
@media(max-width:800px){.topbar .brand{width:40px}.brand-mark{width:40px;height:36px}}

.record-actions{white-space:nowrap}.btn.link.danger{color:#df596b;background:transparent;border-color:transparent}.role-card h3{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.role-card p{margin:14px 0;line-height:1.8}.role-card small{color:var(--muted)}.role-fields{margin-bottom:24px}.permission-table table{min-width:700px}.permission-table th,.permission-table td{text-align:center;padding:12px 8px}.permission-table th:first-child{text-align:left}.permission-table .btn{font-size:11px;padding:5px}.role-card .drawer-actions{gap:8px}

dialog.creator-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(760px,100vw);height:100dvh;max-height:100dvh;border-radius:0;box-shadow:-12px 0 40px #17244a22}.creator-drawer>form{height:100%;display:flex;flex-direction:column}.creator-drawer .modal-header,.creator-drawer .modal-footer{flex:none}.creator-drawer .modal-body{flex:1;min-height:0;max-height:none;overflow:auto;background:#f6f7f9;padding:20px}.creator-block{background:#fff;border-radius:12px;padding:24px 20px;margin-bottom:20px}.creator-block h3{font-size:16px;color:#6c7891;position:relative;padding-left:13px;margin-bottom:25px}.creator-block h3:before{content:'';position:absolute;left:0;top:1px;width:4px;height:20px;background:var(--primary);border-radius:4px}.creator-row{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:start;gap:12px;margin:24px 0}.creator-row>span{text-align:right;padding-top:10px;color:#263459;font-size:13px}.creator-row b{font-weight:400}.creator-row em{font-style:normal;color:#ff666e}.creator-row input:not([type=radio]),.creator-row select,.creator-row textarea{width:100%;height:42px}.creator-row textarea{height:76px;min-height:76px}.creator-row input[readonly]{background:#f8f9fb;color:#8f99ae}.creator-row small{display:block;margin-top:7px;font-size:12px;line-height:1.7}.creator-radios{display:flex;flex-wrap:wrap;align-items:center;gap:18px;min-height:42px}.creator-radios label{display:flex;align-items:center;gap:6px;font-size:13px}.creator-radios input{accent-color:var(--primary);width:16px;height:16px}.creator-block summary{cursor:pointer;color:#6c7891;font-weight:600}.creator-block details .form-grid,.creator-block[open] .form-grid{margin-top:20px}@media(max-width:600px){.creator-drawer .modal-body{padding:12px}.creator-block{padding:19px 13px}.creator-row{grid-template-columns:78px minmax(0,1fr);gap:9px}.creator-radios{gap:9px}.creator-radios label{font-size:12px}}
