:root{font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;color:#20364b;background:#f2f7fa;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;background:#fff;color:#284255;border:1px solid #cfdee5;border-radius:8px;padding:9px 14px}button:disabled{opacity:.5;cursor:wait}.primary{background:#009e9a;color:#fff;border-color:#009e9a}label{display:flex;flex-direction:column;gap:6px;font-size:13px}input,select,textarea{border:1px solid #cddce5;background:#fff;border-radius:7px;padding:10px;color:#20364b;min-width:0}textarea{min-height:75px;resize:vertical}.login{max-width:430px;margin:9vh auto;padding:32px;background:#fff;border:1px solid #dfebef;border-radius:18px;box-shadow:0 12px 40px #1235440a}.brand{font-size:29px;font-weight:750}.brand span{color:#00a9a1}.login h1{font-size:23px}.login p,.login small{color:#657f91}.login form{display:grid;gap:18px;margin:25px 0}.login [role=alert]{color:#ad343c;margin:0;min-height:20px}main{padding:30px}a{color:#008b8b}.layout{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:100vh}aside{background:#fff;border-right:1px solid #deeaee;padding:28px 18px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}aside .brand{padding-left:12px}.brand-caption,.aside-bottom{font-size:12px;color:#738896;line-height:1.9}.brand-caption{padding-left:12px}nav{display:grid;gap:7px;margin-top:25px}nav a{text-decoration:none;color:#536c7c;padding:13px;border-radius:9px;font-size:14px}nav a.active{background:#e4f6f3;color:#008d87;font-weight:650}.aside-bottom{margin-top:auto;padding:15px 12px}.workspace{min-width:0}.top{background:#fff;border-bottom:1px solid #e0eaef;padding:19px 28px;display:flex;align-items:center;justify-content:space-between;gap:15px}.top h2{font-size:19px;margin:0 0 6px}.top small,.muted,small{color:#6b8190}.actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}h1{font-size:25px}h2{font-size:18px}h3{font-size:15px;margin-top:25px}p{line-height:1.7}.welcome{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.welcome h1{margin:0}.welcome p,.welcome>span{color:#738896;font-size:13px}.panel{background:#fff;border:1px solid #e0e9ee;border-radius:12px;padding:22px;margin-bottom:22px;min-width:0}.section-head{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:15px}.section-head h2{margin:0}.metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:14px;margin:18px 0 23px}.metric{background:#fff;border:1px solid #e2ecef;border-radius:11px;padding:18px}.metric strong{display:block;font-size:29px;color:#009b94;margin:12px 0}.metric small{font-size:11px}.metric .label{font-size:13px;color:#6b8190}.grid-two{display:grid;grid-template-columns:1fr 1fr;gap:22px}.grid-two>.panel{height:fit-content}.filters{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin:17px 0 22px}.filters label{min-width:145px;flex:1;max-width:310px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}th,td{border-bottom:1px solid #edf1f4;text-align:left;padding:13px 10px;vertical-align:middle;line-height:1.6}th{background:#f5f9fa;color:#6b8090;font-weight:500;white-space:nowrap}td button{font-size:12px;padding:6px 9px;white-space:nowrap}.empty{text-align:center;padding:30px;color:#718895}.pill{display:inline-block;background:#eaf6f4;color:#168e86;border-radius:6px;padding:5px 8px;font-size:12px;white-space:nowrap}.pill.danger{background:#fff0eb;color:#b55343}.notice{background:#edf8f6;border-left:3px solid #08a294;padding:12px 15px;font-size:13px;line-height:1.8;margin:12px 0;color:#38756e}#sync-message{margin:15px 28px 0}.bar-line{display:flex;gap:10px;align-items:center;margin:13px 0;font-size:12px}.bar-line>span{width:95px}.track{flex:1;background:#edf4f5;border-radius:4px;height:9px}.track i{display:block;background:#38b6a7;height:9px;border-radius:4px}.bar-line>b{width:22px}footer{font-size:11px;color:#8396a2;text-align:center;padding:0 20px 20px}dialog{width:min(1080px,94vw);max-height:90vh;border:1px solid #dce7eb;border-radius:14px;padding:25px;box-shadow:0 20px 80px #12354433;color:#20364b}dialog::backdrop{background:#15354670}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.form-grid textarea{min-height:80px}.stage{border:1px solid #e2ebee;border-radius:9px;padding:14px;margin:12px 0}.stage-title{display:flex;justify-content:space-between;margin-bottom:12px;font-size:13px}.stage small{font-size:11px}.attachment{border:1px solid #dfe9ed;padding:15px;border-radius:9px;font-size:13px;overflow-wrap:anywhere}.attachment input{width:100%;margin-top:10px}.attachment small{display:block;margin-top:10px}.attachment p{font-size:12px}.form-footer{position:sticky;bottom:-25px;background:#fff;border-top:1px solid #e1eaee;margin-top:22px;padding:18px 0 5px;display:flex;justify-content:space-between;align-items:center;gap:12px}.form-footer button{margin-left:8px}.editor-feedback{color:#b14f43;line-height:1.7}.timeline article{border-left:2px solid #47b5a7;padding:7px 18px 17px;font-size:13px}.timeline p{margin:7px 0}.timeline small{font-size:11px}#toast{position:fixed;right:25px;bottom:25px;background:#213f4b;color:#fff;padding:15px 22px;border-radius:10px;max-width:80vw;z-index:10;box-shadow:0 5px 25px #12354430}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f8fa;padding:15px;font-size:12px}.report header{text-align:center;border-bottom:2px solid #00a398;padding-bottom:15px;margin-bottom:25px}.report h2{margin-top:25px}.report .metrics{grid-template-columns:repeat(4,1fr)}.report .metric strong{font-size:24px}button:hover{filter:brightness(.97)}button:focus-visible,a:focus-visible{outline:3px solid #6bcdc2;outline-offset:2px}@media(max-width:1100px){.layout{grid-template-columns:180px minmax(0,1fr)}aside{padding:20px 10px}main{padding:20px}.top{padding:16px 20px}.grid-two{grid-template-columns:1fr}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.layout{display:block}aside{position:static;height:auto;padding:15px}aside .brand{font-size:23px}nav{display:flex;overflow:auto;margin-top:10px}nav a{white-space:nowrap;padding:9px}.brand-caption,.aside-bottom{display:none}.top,.welcome{align-items:start;flex-direction:column}.form-grid{grid-template-columns:1fr}.metrics{grid-template-columns:repeat(2,1fr)}.form-footer{align-items:start;flex-direction:column}.report .metrics{grid-template-columns:repeat(2,1fr)}main{padding:15px}}@media print{@page{size:A4;margin:14mm}body{background:#fff;font-size:10pt}.layout{display:block}aside,.top,footer,.no-print,#sync-message,#toast,dialog{display:none!important}main{padding:0}.report{border:0;padding:0;margin:0}.report h1{font-size:21pt}.report h2{font-size:13pt;break-after:avoid}.report .metrics{grid-template-columns:repeat(4,1fr);gap:7px}.report .metric{padding:9px;break-inside:avoid}.report .metric strong{font-size:18pt}.report table{font-size:9pt}.report th,.report td{padding:6px}.report button{border:0;padding:0;background:none;color:inherit}.report td:last-child:has(button[data-action=edit]),.report th:last-child{display:none}.table-wrap{overflow:visible}tr{break-inside:avoid}thead{display:table-header-group}.report header{break-after:avoid}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}}@media print{html,body,.workspace,.layout{background:#fff;min-height:0;height:auto}.report th:last-child{display:table-cell}.report table:has(button[data-action=edit]) th:last-child{display:none}.report>p.muted{background:#fff}}@media print{:root{background:#fff!important}}:root{background:#f3f8fb;color:#203951}button{transition:none}button:disabled{cursor:not-allowed}.icon{width:21px;height:21px;flex:0 0 auto;vertical-align:middle}.brand{height:50px;position:relative;isolation:isolate;line-height:0;background:#fff;flex:none}.brand img{position:absolute;width:190px;height:auto;max-width:100%;left:50%;top:50%;transform:translate(-50%,-50%);object-fit:contain;z-index:-1}aside{padding:24px 14px;background:#fff}.brand-caption{position:relative;background:#fff;margin:13px 0 0;padding-left:16px;z-index:1}nav{margin-top:30px;position:relative;background:#fff}nav a{display:flex;gap:14px;align-items:center;font-size:14px;padding:14px 16px}.aside-bottom{position:relative;background:#fff}.login .brand{margin-bottom:22px}.login .brand img{width:230px}.top .actions>button{display:inline-flex;align-items:center;gap:8px}.top h2{font-size:21px}.welcome h1{font-size:29px;letter-spacing:.2px}.welcome p{margin:8px 0 0}.welcome{margin-bottom:22px}.dashboard-kpis{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-top:0}.dashboard-kpis .metric{min-height:150px;padding:21px}.dashboard-kpis .metric>span{display:flex;align-items:center;gap:11px;font-size:14px;min-height:24px}.dashboard-kpis .metric strong{font-size:36px;margin:17px 0 15px}.dashboard-kpis .metric small{font-size:12px;line-height:1.6;display:block;min-height:34px}.section-head h2{display:flex;align-items:center;gap:11px}.dashboard-business{align-items:stretch;gap:18px}.dashboard-business>.panel{height:auto;min-height:350px}.dashboard-business .table-wrap:has(.empty) .empty{display:none}.business-empty{display:flex;align-items:center;gap:10px;flex-direction:column;justify-content:center;min-height:204px;color:#6a8093}.business-empty>.icon{width:48px;height:48px;color:#c9d7e0;stroke-width:1.25}.business-empty b{font-size:14px;color:#546b7d}.business-empty small{font-size:12px}.business-empty button{margin-top:10px;color:#009e9a;border-color:#64c7c3}.dashboard-business .compact{margin-top:0;grid-template-columns:1fr 1fr}.compact .metric{padding:16px}.compact strong{margin:8px 0;font-size:30px}.quick-workbench{padding:20px 15px}.quick-workbench>.section-head{padding:0 5px;margin-bottom:15px}.quick-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.2fr);gap:12px}.quick-card{border:1px solid #e0eaf0;border-radius:9px;padding:13px;min-width:0;overflow:hidden;background:#fff}.quick-card h3{font-size:14px;margin:0}.quick-card .section-head{gap:7px;align-items:flex-start}.quick-card .section-head>button{font-size:11px;padding:3px 0;border:0;white-space:nowrap}.quick-card p{margin:8px 0 13px;font-size:12px;color:#7890a0;line-height:1.6}.quick-card .table-wrap{max-height:265px;overflow:auto}.quick-card table{font-size:12px;min-width:310px}.quick-card th,.quick-card td{padding:9px 7px}.quick-card[data-quick=offers] table{min-width:450px}.quick-filter{margin:0 0 9px}.quick-filter label{flex-direction:row;align-items:center;gap:10px;font-size:12px}.quick-filter select{padding:6px 8px;max-width:180px}.row-actions,.offer-actions{display:flex;flex-wrap:nowrap;align-items:center;gap:5px;width:max-content;max-width:none}.row-actions>button,.offer-actions>button{white-space:nowrap;height:31px;padding:4px 8px;font-size:12px;margin:0;flex:none}.offer-actions{min-width:267px}.danger-button{color:#c3454e;background:#fff5f5;border-color:#f2d2d5}.danger-button.primary{background:#b62f3f;color:#fff;border-color:#b62f3f}.danger-button:disabled{background:#f5edef;color:#977c80;border-color:#e4d7d8}.purge-warning{color:#973d48;background:#fff3f4;border:1px solid #f1cbd0;padding:14px;border-radius:8px;line-height:1.8;font-size:13px}#purge-dialog{width:min(650px,94vw)}.purge-counts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.purge-counts div{border:1px solid #e5ebef;padding:12px;border-radius:8px;font-size:12px;color:#657e90}.purge-counts strong{display:block;font-size:21px;color:#203951;margin-top:6px}.purge-confirm{margin:17px 0}#purge-result{font-size:13px;line-height:1.7;color:#a33c47}.purge-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.purge-backend-note{font-size:12px;color:#697f91;line-height:1.8}.quick-grid .pill{font-size:11px;padding:3px 6px}@media(min-width:1450px){.quick-grid{grid-template-columns:1fr 1fr 1.35fr}.quick-card[data-quick=offers] table{min-width:470px}}@media(min-width:1101px){main{padding:28px 30px}.dashboard-business{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}@media(max-width:1100px)and (min-width:851px){.dashboard-kpis{grid-template-columns:repeat(5,minmax(0,1fr))}.dashboard-kpis .metric{padding:14px}.dashboard-kpis .metric>span{font-size:12px;gap:5px}.dashboard-kpis .metric .icon{width:17px}.quick-grid{grid-template-columns:1fr 1fr 1.2fr}.quick-card{padding:10px}.quick-card h3{font-size:12px}.quick-card .section-head{flex-direction:column}}@media(max-width:850px){.quick-grid{grid-template-columns:1fr}.quick-card table,.quick-card[data-quick=offers] table{min-width:0}.quick-card[data-quick=offers] table{min-width:450px}.dashboard-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-kpis .metric{min-height:135px;padding:16px}}@media(max-width:700px){aside .brand{width:180px;height:42px}nav{margin-top:16px;gap:2px}nav a{gap:6px}.brand-caption{display:block;font-size:11px;padding-left:5px;margin-top:10px}.top .actions{gap:5px}.top .actions>button{font-size:12px;padding:8px}.top .actions .icon{width:16px}.dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.welcome h1{font-size:25px}.welcome>span{margin-top:12px}.purge-counts{grid-template-columns:repeat(2,1fr)}.section-head{flex-wrap:wrap}.quick-card .section-head{flex-direction:row}.quick-card h3{font-size:14px}}@media print{.offer-actions,.row-actions{display:none}#purge-dialog{display:none!important}}@media(min-width:1101px){.quick-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.55fr)}}.quick-card td:not(:last-child){max-width:145px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quick-card[data-quick=hc] table,.quick-card[data-quick=candidates] table{min-width:0;table-layout:fixed}.quick-card[data-quick=hc] th:nth-child(2),.quick-card[data-quick=hc] th:nth-child(3){width:44px}.quick-card[data-quick=hc] th:last-child{width:90px}.quick-card[data-quick=candidates] th:last-child{width:90px}.quick-card[data-quick=candidates] th:nth-child(3){width:75px}.quick-card[data-quick=candidates][data-scope=archived] table{min-width:390px}.quick-card .pill{max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.quick-card .row-actions>button{font-size:11px;padding:4px 6px}.dashboard-kpis .metric strong{margin:12px 0}.dashboard-kpis .metric small{min-height:17px}.dashboard-business>.panel:nth-child(2) .business-empty{min-height:115px}.quick-workbench{padding:16px 12px}.quick-card{padding:10px}.quick-card .section-head{margin-bottom:6px}.quick-card p{margin:4px 0 8px}.quick-card th,.quick-card td{padding:7px 6px}.quick-card .row-actions>button,.quick-card .offer-actions>button{height:27px;font-size:11px;padding:3px 6px}.brand{overflow:hidden}.brand img{z-index:0}
