:root{--navy:#0c1d35;--ink:#142033;--muted:#6d7787;--line:#e5e9ef;--paper:#fff;--canvas:#f4f6f9;--blue:#1967ff;--green:#10a674;--orange:#ed8a19;--red:#d94b50}*{box-sizing:border-box}html{background:var(--canvas)}body{margin:0;background:var(--canvas);color:var(--ink);font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,-apple-system,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}.hidden{display:none!important}
.app-shell{min-height:100vh;display:flex}.sidebar{position:fixed;inset:0 auto 0 0;z-index:20;width:224px;padding:28px 18px 22px;display:flex;flex-direction:column;color:#e9f0fa;background:radial-gradient(circle at 12% 9%,rgba(48,112,207,.28),transparent 24%),linear-gradient(170deg,#102743 0%,#0a192d 58%,#071321 100%);border-right:1px solid rgba(255,255,255,.08)}.brand{display:flex;align-items:center;gap:12px;padding:0 7px 28px}.brand-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;color:#fff;font:800 21px/1 Georgia,serif;background:linear-gradient(140deg,#3e8cff,#1762f1);box-shadow:0 9px 24px rgba(10,89,232,.34),inset 0 1px rgba(255,255,255,.25)}.brand>span:last-child{display:flex;flex-direction:column;gap:2px}.brand strong{font-size:17px;letter-spacing:.12em}.brand small{color:#8fa2bb;font-size:11px;letter-spacing:.08em}.nav-list{display:grid;gap:8px}.nav-item{width:100%;border:1px solid transparent;border-radius:12px;padding:12px 14px;display:flex;align-items:center;gap:12px;background:transparent;color:#9fb0c5;text-align:left;transition:.2s}.nav-item:hover{color:#fff;background:rgba(255,255,255,.05)}.nav-item.active{color:#fff;border-color:rgba(112,164,255,.24);background:rgba(47,114,223,.19);box-shadow:inset 3px 0 #3983ff}.nav-icon{width:22px;text-align:center;font-size:21px}.side-note{margin-top:auto;padding:14px;border-radius:12px;color:#c7d2e1;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.07);font-size:12px}.side-note small{display:block;margin-top:7px;color:#798ca4;line-height:1.55}.live-dot{display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:#38d39f;box-shadow:0 0 0 4px rgba(56,211,159,.11)}.profile{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:18px 6px 0;margin-top:16px;border-top:1px solid rgba(255,255,255,.09)}.avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#e6efff;color:#1f64dc;font-weight:800}.profile>span:nth-child(2){display:flex;flex-direction:column;gap:2px}.profile strong{font-size:13px}.profile small{color:#758aa5;font-size:11px}.logout-form button{padding:0;border:0;background:transparent;color:#758aa5;font-size:10px}.logout-form button:hover{color:#fff}
.workspace{width:calc(100% - 224px);margin-left:224px;padding:28px 34px 52px}.topbar{max-width:1480px;margin:0 auto 18px;display:flex;align-items:center;justify-content:space-between;gap:20px}.eyebrow{margin:0 0 4px;color:#8b96a6;font-size:10px;font-weight:800;letter-spacing:.18em}.topbar h1{margin:0;font-size:22px;letter-spacing:-.02em}.top-actions{display:flex;gap:10px}.primary-button,.ghost-button{min-height:40px;padding:0 16px;border-radius:10px;border:1px solid transparent;font-size:13px;font-weight:700;transition:.18s}.primary-button{color:#fff;background:var(--blue);box-shadow:0 7px 18px rgba(25,103,255,.2)}.primary-button:hover{background:#075be9;transform:translateY(-1px)}.primary-button:disabled{opacity:.6;cursor:wait;transform:none}.ghost-button{background:#fff;border-color:var(--line);color:#4e5a6b}.ghost-button:hover{border-color:#b7c5d8;color:var(--ink)}.demo-banner{max-width:1480px;margin:0 auto 18px;padding:9px 14px;border:1px solid #f2d7a8;border-radius:10px;background:#fffaf0;color:#8a611b;font-size:12px}.demo-banner span{display:inline-block;margin-right:8px;padding:3px 7px;border-radius:5px;color:#fff;background:#df8a1e;font-size:10px;font-weight:800}
.search-hero{position:relative;overflow:hidden;max-width:1480px;margin:0 auto;padding:30px 34px 26px;border-radius:22px;color:#fff;background:linear-gradient(110deg,rgba(23,69,129,.05),rgba(29,104,225,.34)),radial-gradient(circle at 83% 50%,rgba(69,153,255,.34),transparent 20%),linear-gradient(125deg,#0e2b51 0%,#113f78 62%,#0c2c55 100%);box-shadow:0 16px 42px rgba(11,38,75,.16)}.search-hero:before,.search-hero:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.09);border-radius:50%}.search-hero:before{width:360px;height:360px;right:-90px;top:-190px}.search-hero:after{width:260px;height:260px;right:60px;top:-155px}.hero-copy,.search-box,.prompt-row{position:relative;z-index:1}.hero-copy p{margin:0 0 5px;color:#9fc3ef;font-size:12px;font-weight:700;letter-spacing:.08em}.hero-copy h2{margin:0 0 19px;font-size:27px;letter-spacing:-.03em}.search-box{max-width:850px;height:54px;padding:0 14px 0 17px;display:flex;align-items:center;gap:11px;border-radius:13px;background:#fff;box-shadow:0 10px 26px rgba(0,17,47,.19)}.search-box>span{color:#1f6bea;font-size:25px;transform:rotate(-10deg)}.search-box input{flex:1;height:100%;border:0;outline:0;color:#18263b;font-size:14px;background:transparent}.search-box input::placeholder{color:#99a4b4}.search-box button{width:29px;height:29px;border:0;border-radius:8px;color:#7f8b9b;background:#f0f3f7;font-size:18px}.prompt-row{min-height:28px;margin-top:14px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.prompt-row>span{color:#8eadd2;font-size:11px}.prompt-row button{padding:5px 10px;border:1px solid rgba(255,255,255,.14);border-radius:999px;color:#c9ddf6;background:rgba(255,255,255,.07);font-size:11px}.prompt-row button:hover{color:#fff;background:rgba(255,255,255,.14)}
.metrics{max-width:1480px;margin:16px auto;display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.metrics article{min-height:78px;padding:15px 17px;display:flex;align-items:center;gap:13px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 5px 14px rgba(25,41,66,.035)}.metric-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:11px;font-size:19px;font-weight:800}.metric-icon.blue{color:#266ef0;background:#eaf2ff}.metric-icon.green{color:#13976d;background:#e8f8f2}.metric-icon.violet{color:#7155db;background:#f0edff}.metric-icon.orange{color:#de8118;background:#fff3e3}.metrics div{display:flex;flex-direction:column}.metrics strong{font-size:21px;line-height:1.1}.metrics small{margin-top:5px;color:var(--muted);font-size:11px}
.content-grid{max-width:1480px;margin:0 auto;display:grid;grid-template-columns:minmax(370px,.88fr) minmax(500px,1.25fr);gap:14px;align-items:start}.results-panel,.detail-panel,.admin-panel{border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:0 7px 22px rgba(25,41,66,.035)}.results-panel{min-width:0;overflow:hidden}.panel-head{min-height:70px;padding:15px 17px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}.panel-head>div:first-child{display:flex;align-items:baseline;gap:9px}.panel-head h3{margin:0;font-size:14px}.panel-head span{color:#8c96a5;font-size:11px}.filters{display:flex;gap:7px}.filters select{max-width:112px;height:34px;padding:0 25px 0 9px;border:1px solid var(--line);border-radius:8px;color:#566172;outline:0;background:#fafbfd;font-size:11px}.result-list{max-height:792px;overflow:auto;padding:9px}.result-card{width:100%;padding:15px 14px;border:1px solid transparent;border-radius:12px;color:var(--ink);text-align:left;background:#fff;transition:.16s}.result-card+.result-card{margin-top:6px}.result-card:hover{background:#f8faff}.result-card.selected{border-color:#b9d2ff;background:#f3f7ff;box-shadow:inset 3px 0 #2470f3}.result-top{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px}.platform-badge{width:35px;height:35px;display:grid;place-items:center;border-radius:10px;color:#1d65dc;background:#e7f0ff;font-size:13px;font-weight:900}.result-top>div{min-width:0;display:flex;flex-direction:column;gap:3px}.result-top strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.result-top small{color:#8792a2;font-size:10px}.status{display:inline-flex;align-items:center;justify-content:center;width:fit-content;padding:4px 7px;border-radius:999px;font-size:10px;font-weight:800;white-space:nowrap}.status-green{color:#07845d;background:#e5f7f0}.status-yellow{color:#98600c;background:#fff2d9}.status-purple{color:#6c55b9;background:#f0ecff}.status-red{color:#af3d43;background:#fdebed}.result-meta{margin:13px 0 10px 45px;display:flex;gap:20px;color:#7f8998;font-size:10px}.result-meta b{margin-left:3px;color:#354258;font-size:11px}.alias-row{margin-left:45px;display:flex;gap:5px;flex-wrap:wrap}.alias-row span{padding:3px 7px;border-radius:5px;color:#738095;background:#edf0f4;font-size:9px}
.detail-panel{min-height:574px;padding:23px}.detail-head{display:flex;justify-content:space-between;gap:16px;padding-bottom:19px;border-bottom:1px solid var(--line)}.detail-kicker{display:flex;gap:6px;margin-bottom:8px}.detail-kicker span{padding:3px 7px;border-radius:5px;color:#3d6ba9;background:#eaf2fc;font-size:9px;font-weight:800}.detail-head h3{margin:0 0 6px;font-size:20px;letter-spacing:-.02em}.detail-head p{margin:0;color:#8b96a6;font-size:10px}.icon-button{width:35px;height:35px;border:1px solid var(--line);border-radius:9px;color:#5c6878;background:#fff;font-size:16px}.icon-button:hover{color:var(--blue);border-color:#b8d0fa}.price-grid{margin:17px 0;display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.price-grid.staff-prices{grid-template-columns:1fr}.price-grid article{min-width:0;padding:14px;border:1px solid #e7ebf1;border-radius:11px;background:#fafbfd}.price-grid small,.price-grid span{display:block;color:#818b9a;font-size:9px}.price-grid strong{display:block;margin:6px 0 4px;overflow:hidden;color:#263750;font-size:clamp(13px,1.15vw,17px);white-space:nowrap}.price-grid .featured-price{border-color:#bcd2fb;background:linear-gradient(135deg,#eef5ff,#f7faff)}.price-grid .featured-price strong{color:#155edb}.detail-section{padding:16px 0;border-top:1px solid var(--line)}.detail-section h4{margin:0 0 11px;font-size:12px}.section-title{display:flex;justify-content:space-between;align-items:center}.section-title button{border:0;color:#1f67e4;background:transparent;font-size:10px;font-weight:700}.material-list{margin:0;padding:0;display:grid;grid-template-columns:repeat(2,1fr);gap:8px 12px;list-style:none}.material-list li{display:flex;align-items:flex-start;gap:7px;color:#4e596a;font-size:11px;line-height:1.5}.material-list li span{flex:0 0 auto;width:17px;height:17px;display:grid;place-items:center;border-radius:5px;color:#0d966a;background:#e3f7ef;font-size:9px;font-weight:900}.two-cols{display:grid;grid-template-columns:1.3fr .7fr;gap:22px}.two-cols ul{margin:0;padding-left:17px;color:#576275;font-size:10px;line-height:1.75}.cycle-value{margin:0 0 5px;color:#1761d7;font-size:15px;font-weight:800}.two-cols small{color:#919aaa;font-size:9px}.risk-box{padding:12px 13px;display:flex;gap:10px;border:1px solid #f0d8a9;border-radius:10px;background:#fffaf0}.risk-box>span{flex:0 0 auto;width:20px;height:20px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#e79524;font-size:11px;font-weight:900}.risk-box strong,.note-box strong{display:block;margin-bottom:3px;font-size:10px}.risk-box p,.note-box p{margin:0;color:#7b633e;font-size:10px;line-height:1.55}.note-box{margin-top:9px;padding:11px 13px;border-radius:10px;background:#f5f7fa}.note-box p{color:#6f7987}.empty-detail{min-height:520px;display:grid;place-items:center;color:#9da6b3;font-size:12px}.empty-state{min-height:180px;padding:25px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#8b95a3;text-align:center;font-size:11px}.empty-state strong{color:#455166;font-size:13px}.loader{width:22px;height:22px;border:2px solid #dbe5f2;border-top-color:var(--blue);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.admin-panel{max-width:1480px;margin:0 auto;overflow:hidden}.admin-intro{padding:25px 27px;display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--line);background:linear-gradient(110deg,#fff,#f7faff)}.admin-intro h2{margin:0 0 6px;font-size:20px}.admin-intro p:not(.eyebrow){margin:0;color:var(--muted);font-size:11px}.admin-tools{padding:13px 18px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.admin-tools label{width:310px;height:36px;padding:0 11px;display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:9px;background:#fafbfd}.admin-tools input{flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:11px}.admin-tools>span{color:var(--muted);font-size:10px}.table-wrap{overflow-x:auto}.table-wrap table{width:100%;border-collapse:collapse;min-width:900px}.table-wrap th{padding:12px 15px;color:#8b95a4;background:#fafbfd;text-align:left;font-size:9px;font-weight:800;letter-spacing:.05em}.table-wrap td{padding:14px 15px;border-top:1px solid #edf0f4;color:#4e5a6c;font-size:11px}.table-wrap tbody tr:hover{background:#fbfcfe}.table-wrap td:first-child{min-width:180px}.table-wrap td:first-child strong,.table-wrap td:first-child small{display:block}.table-wrap td:first-child strong{color:#253247;font-size:12px}.table-wrap td:first-child small{margin-top:4px;color:#8c96a5;font-size:9px}.row-actions{display:flex;gap:6px}.row-actions button{padding:5px 8px;border:1px solid #dfe5ed;border-radius:6px;color:#3f6ca8;background:#fff;font-size:9px}.row-actions .danger{color:#b44b52}.empty-table{padding:45px;color:#9aa3af;text-align:center;font-size:11px}.role-badge{padding:4px 8px;border-radius:999px;color:#2d65b5;background:#eaf2ff;font-size:10px;font-weight:700}.role-badge.staff{color:#657084;background:#eef1f5}
.modal-backdrop{position:fixed;inset:0;z-index:100;padding:28px;display:grid;place-items:center;background:rgba(6,17,32,.58);backdrop-filter:blur(5px)}.project-modal{width:min(860px,100%);max-height:calc(100vh - 56px);overflow:hidden;display:flex;flex-direction:column;border-radius:17px;background:#fff;box-shadow:0 30px 90px rgba(0,0,0,.28)}.small-modal{width:min(650px,100%)}.modal-head{padding:19px 23px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.modal-head p{margin:0 0 3px;color:#8e98a6;font-size:8px;font-weight:800;letter-spacing:.15em}.modal-head h2{margin:0;font-size:18px}.modal-head>button{width:31px;height:31px;border:0;border-radius:8px;color:#738092;background:#f1f3f6;font-size:19px}.form-scroll{overflow:auto;padding:3px 23px 10px}.form-section{padding:17px 0}.form-section+.form-section{border-top:1px solid var(--line)}.form-section h3{margin:0 0 12px;color:#314059;font-size:12px}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.form-grid label{min-width:0;display:flex;flex-direction:column;gap:6px}.form-grid label.wide{grid-column:1/-1}.form-grid label>span{color:#6d7888;font-size:10px;font-weight:700}.form-grid input,.form-grid select,.form-grid textarea{width:100%;border:1px solid #dfe5ed;border-radius:8px;outline:0;color:#27354a;background:#fff;font-size:11px;transition:.15s}.form-grid input,.form-grid select{height:38px;padding:0 10px}.form-grid textarea{padding:10px;resize:vertical;line-height:1.6}.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus{border-color:#87aff7;box-shadow:0 0 0 3px rgba(43,112,240,.08)}.money-fields{grid-template-columns:repeat(3,1fr)}.modal-actions{padding:14px 23px;display:flex;justify-content:flex-end;gap:9px;border-top:1px solid var(--line);background:#fafbfd}.toast{position:fixed;right:25px;bottom:24px;z-index:200;padding:11px 16px;border:1px solid #bfe6d8;border-radius:10px;color:#087755;background:#ecfbf5;box-shadow:0 12px 30px rgba(8,54,38,.13);font-size:12px;font-weight:700}.toast.error{color:#a33d43;background:#fdebed;border-color:#efc4c7}
.login-page{min-height:100vh;display:grid;place-items:center;padding:30px;background:radial-gradient(circle at 20% 20%,rgba(54,123,230,.2),transparent 28%),linear-gradient(135deg,#071728,#102c50 60%,#0a2341)}.login-shell{width:min(960px,100%);min-height:560px;display:grid;grid-template-columns:1.08fr .92fr;overflow:hidden;border:1px solid rgba(255,255,255,.12);border-radius:26px;background:#fff;box-shadow:0 35px 100px rgba(0,0,0,.3)}.login-brand{padding:54px;display:flex;flex-direction:column;color:#fff;background:radial-gradient(circle at 82% 18%,rgba(83,157,255,.36),transparent 28%),linear-gradient(145deg,#102e56,#0a1f39)}.brand-large{display:flex;align-items:center;gap:14px}.brand-large>span,.mobile-brand>span{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(135deg,#4a96ff,#1762f1);font:800 24px Georgia}.brand-large div{display:flex;flex-direction:column}.brand-large strong{font-size:20px;letter-spacing:.16em}.brand-large small{margin-top:3px;color:#84a6cf;font-size:9px;letter-spacing:.16em}.login-copy{margin:auto 0}.login-copy p{margin:0 0 12px;color:#78abef;font-size:12px;font-weight:800;letter-spacing:.16em}.login-copy h1{margin:0 0 18px;font-size:34px;line-height:1.35;letter-spacing:-.04em}.login-copy>span{color:#a9bfd8;font-size:13px}.login-features{display:flex;gap:8px}.login-features span{padding:7px 11px;border:1px solid rgba(255,255,255,.12);border-radius:999px;color:#bad0ea;background:rgba(255,255,255,.05);font-size:10px}.login-card{padding:70px 58px;display:flex;flex-direction:column;justify-content:center}.login-card h2{margin:0 0 8px;font-size:27px}.login-hint{margin:0 0 28px;color:#8a95a5;font-size:12px}.login-card form{display:grid;gap:16px}.login-card label{display:grid;gap:7px}.login-card label span{color:#536074;font-size:11px;font-weight:700}.login-card input{height:46px;padding:0 13px;border:1px solid #dce3ed;border-radius:10px;outline:0}.login-card input:focus{border-color:#77a7f8;box-shadow:0 0 0 3px rgba(25,103,255,.08)}.login-button{height:46px;margin-top:6px;border:0;border-radius:10px;color:#fff;background:var(--blue);font-weight:800;box-shadow:0 10px 24px rgba(25,103,255,.23)}.login-error{margin:-12px 0 16px;padding:10px 12px;border-radius:8px;color:#a33d43;background:#fdebed;font-size:11px}.security-note{margin-top:21px;color:#a0a9b6;text-align:center;font-size:10px}.mobile-brand{display:none}
@media(max-width:1120px){.sidebar{width:78px;padding-inline:11px}.brand{justify-content:center;padding-inline:0}.brand>span:last-child,.nav-item>span:last-child,.side-note,.profile>span:nth-child(2),.logout-form{display:none}.nav-item{justify-content:center;padding-inline:0}.profile{display:flex;justify-content:center;padding-inline:0}.workspace{width:calc(100% - 78px);margin-left:78px;padding-inline:22px}.content-grid{grid-template-columns:minmax(330px,.8fr) 1.2fr}.price-grid{grid-template-columns:1fr}.material-list{grid-template-columns:1fr}}
@media(max-width:820px){.app-shell{display:block}.sidebar{position:sticky;top:0;width:100%;height:62px;padding:9px 14px;flex-direction:row;align-items:center}.brand{padding:0}.brand-mark{width:38px;height:38px}.nav-list{margin-left:auto;display:flex}.nav-item{width:48px;height:42px}.profile{margin:0 0 0 6px;padding:0 0 0 10px;border:0;border-left:1px solid rgba(255,255,255,.1)}.workspace{width:100%;margin:0;padding:19px 14px 40px}.topbar{align-items:flex-start}.top-actions .ghost-button{display:none}.demo-banner{line-height:1.6}.search-hero{padding:25px 20px}.hero-copy h2{font-size:23px}.prompt-row>span{width:100%}.metrics{grid-template-columns:repeat(2,1fr)}.content-grid{grid-template-columns:1fr}.result-list{max-height:450px}.detail-panel{min-height:auto}.price-grid{grid-template-columns:repeat(3,1fr)}.material-list{grid-template-columns:repeat(2,1fr)}.project-modal{max-height:calc(100vh - 28px)}.modal-backdrop{padding:14px}.login-page{padding:14px}.login-shell{min-height:auto;grid-template-columns:1fr}.login-brand{display:none}.login-card{padding:45px 30px}.mobile-brand{margin-bottom:35px;display:flex;align-items:center;gap:12px}.mobile-brand>span{width:40px;height:40px;color:#fff;font-size:19px}.mobile-brand strong{font-size:16px}}
@media(max-width:560px){.workspace{padding-inline:10px}.topbar h1{font-size:19px}.top-actions .primary-button{min-width:42px;padding:0 12px}.search-hero{border-radius:16px}.search-box{height:50px}.metrics{gap:8px}.metrics article{padding:12px 10px}.content-grid{display:block}.detail-panel{margin-top:12px;padding:17px}.price-grid{grid-template-columns:1fr}.material-list{grid-template-columns:1fr}.two-cols{grid-template-columns:1fr}.form-grid,.money-fields{grid-template-columns:1fr}.form-grid label.wide{grid-column:auto}.admin-intro{align-items:flex-start}.admin-intro p:not(.eyebrow){display:none}.panel-head{align-items:flex-start}.filters{flex-direction:column}.login-card{padding:36px 24px}}

/* 业务模块首页 */
.module-home{max-width:1480px;margin:0 auto}.module-hero{position:relative;overflow:hidden;min-height:176px;padding:34px 38px;display:flex;align-items:center;justify-content:space-between;gap:30px;border-radius:23px;color:#fff;background:radial-gradient(circle at 85% 0,rgba(73,150,255,.42),transparent 32%),linear-gradient(120deg,#0a294e,#134e96 68%,#1867c9);box-shadow:0 18px 45px rgba(12,49,94,.17)}.module-hero:after{content:"";position:absolute;width:320px;height:320px;right:70px;top:-210px;border:1px solid rgba(255,255,255,.13);border-radius:50%}.module-hero>div{position:relative;z-index:1}.eyebrow.light{color:#92bce9}.module-hero h2{margin:7px 0 10px;font-size:30px;letter-spacing:-.04em}.module-hero>div>span{color:#bdd4ed;font-size:13px}.module-total{flex:0 0 auto;min-width:142px;padding:20px 24px;display:flex;flex-direction:column;align-items:center;border:1px solid rgba(255,255,255,.14);border-radius:17px;background:rgba(255,255,255,.09);backdrop-filter:blur(5px)}.module-total strong{font-size:34px;line-height:1}.module-total span{margin-top:8px;color:#c9ddf5;font-size:11px}.module-grid{margin-top:17px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.module-card{--module:#2c70e8;position:relative;min-height:150px;padding:21px;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr auto;align-items:start;gap:0 14px;overflow:hidden;border:1px solid #e2e8f0;border-radius:17px;color:var(--ink);text-align:left;background:#fff;box-shadow:0 7px 20px rgba(26,45,74,.035);transition:transform .2s,border-color .2s,box-shadow .2s}.module-card:after{content:"";position:absolute;width:120px;height:120px;right:-65px;bottom:-65px;border-radius:50%;background:color-mix(in srgb,var(--module) 10%,transparent)}.module-card:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--module) 35%,#e2e8f0);box-shadow:0 15px 32px rgba(31,55,87,.09)}.module-card.kuaishou{--module:#ef5c30}.module-card.weidian{--module:#16a57a}.module-card.redbook{--module:#e94049}.module-card.life{--module:#8b54db}.module-card.channels{--module:#258fcb}.module-card.live{--module:#f09a27}.module-icon{grid-row:1/3;width:46px;height:46px;display:grid;place-items:center;border-radius:14px;color:var(--module);background:color-mix(in srgb,var(--module) 11%,white);font-size:17px;font-weight:900}.module-copy{min-width:0;display:flex;flex-direction:column}.module-copy strong{font-size:17px}.module-copy small{margin-top:6px;color:#818c9c;font-size:11px;line-height:1.45}.module-count{grid-column:2;margin-top:auto;color:#8994a4;font-size:10px}.module-count b{margin-right:3px;color:var(--module);font-size:15px}.module-arrow{grid-column:3;grid-row:1/4;align-self:center;color:#a4afbd;font-size:20px;transition:.2s}.module-card:hover .module-arrow{color:var(--module);transform:translateX(3px)}.module-tip{margin-top:14px;padding:12px 16px;border:1px solid #dbe6f7;border-radius:11px;color:#647186;background:#f8fbff;font-size:11px}.module-tip span{margin-right:9px;padding:4px 8px;border-radius:6px;color:#1761d7;background:#e6f0ff;font-size:9px;font-weight:800}.module-context{max-width:1480px;margin:0 auto 12px;display:flex;align-items:center;gap:20px}.back-button{height:36px;padding:0 13px;border:1px solid #dfe5ed;border-radius:9px;color:#536177;background:#fff;font-size:11px;font-weight:700}.back-button:hover{color:#1761d7;border-color:#b9d0f6}.module-context>div{padding-left:18px;border-left:1px solid #dfe5ed}.module-context span{color:#8d97a5;font-size:9px;font-weight:800;letter-spacing:.12em}.module-context h2{display:inline;margin:0 10px 0 0;font-size:18px}.module-context p{display:inline;margin:0;color:#7a8595;font-size:11px}.compact-hero{padding-block:25px 21px}.compact-hero .hero-copy h2{margin-bottom:15px;font-size:23px}.module-metrics{margin-block:13px}.service-chip{color:#2868c8!important;background:#e8f1ff!important;font-weight:800}.result-meta{align-items:flex-start}.result-meta span{min-width:0}.result-meta b{white-space:normal;overflow-wrap:anywhere}.price-grid strong{white-space:normal;overflow-wrap:anywhere;line-height:1.35}.operation-grid{margin:-8px 0 17px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.operation-grid article{min-width:0;padding:11px 12px;border:1px solid #e8edf3;border-radius:10px;background:#fbfcfe}.operation-grid small,.operation-grid span{display:block;color:#8b95a3;font-size:9px}.operation-grid strong{display:block;margin-top:5px;color:#39475b;font-size:11px;line-height:1.45;overflow-wrap:anywhere}.operation-grid .private-info{border-color:#f1e1bd;background:#fffbf2}.operation-grid .private-info span{margin-top:4px;color:#a78347}.module-table-badge{display:inline-flex;padding:5px 8px;border-radius:7px;color:#1c62cc;background:#e9f2ff;font-size:10px;font-weight:800}.admin-panel .table-wrap td:first-child{min-width:90px}.admin-panel .table-wrap td:nth-child(2){min-width:190px}.admin-panel .table-wrap td:nth-child(2) strong,.admin-panel .table-wrap td:nth-child(2) small{display:block}.admin-panel .table-wrap td:nth-child(2) strong{color:#253247;font-size:12px}.admin-panel .table-wrap td:nth-child(2) small{margin-top:4px;color:#8c96a5;font-size:9px}

@media(max-width:1280px){.module-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:920px){.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.module-hero{min-height:160px;padding:28px}.module-hero h2{font-size:26px}}
@media(max-width:650px){.module-hero{align-items:flex-start}.module-total{min-width:95px;padding:15px}.module-total strong{font-size:27px}.module-hero>div>span{font-size:11px}.module-grid{grid-template-columns:1fr}.module-card{min-height:118px}.module-context{align-items:flex-start;gap:10px;flex-direction:column}.module-context>div{padding-left:0;border-left:0}.operation-grid{grid-template-columns:1fr}.module-context p{display:block;margin-top:5px}.compact-hero{padding:22px 17px}}
@media(max-width:430px){.module-hero{display:block}.module-total{width:100%;margin-top:20px;flex-direction:row;justify-content:center;gap:8px}.module-total span{margin:0}.module-hero h2{font-size:23px}.module-hero>div>span{line-height:1.6}.module-grid{gap:9px}.module-card{padding:17px}}

/* 搜索缺失项目审核 */
.review-delete-action{padding:6px 10px;border:1px solid #efcccc;border-radius:7px;color:#b14747;background:#fff6f5;font-size:9px;font-weight:800}.review-request-actions{align-items:center;flex-wrap:wrap}
.nav-badge{min-width:20px;height:20px;margin-left:auto;padding:0 6px;display:grid;place-items:center;border-radius:999px;color:#fff;background:#ef5c54;font-size:9px;box-shadow:0 0 0 3px rgba(239,92,84,.12)}.missing-review{margin:11px;padding:20px;border:1px solid #cdddf8;border-radius:14px;background:linear-gradient(145deg,#f3f7ff,#fff);text-align:left}.missing-review.submitted{border-color:#bde5d7;background:linear-gradient(145deg,#eefbf6,#fff)}.review-state-icon{width:34px;height:34px;margin-bottom:11px;display:grid;place-items:center;border-radius:10px;color:#1766dc;background:#e2edff;font-size:17px;font-weight:900}.missing-review.submitted .review-state-icon{color:#09835f;background:#dff6ed}.missing-review>strong{display:block;color:#26364d;font-size:14px}.missing-review>p{margin:6px 0 15px;color:#758195;font-size:10px;line-height:1.6}.missing-review label{display:grid;gap:6px;margin-bottom:10px}.missing-review label span{color:#647188;font-size:10px;font-weight:700}.missing-review select,.missing-review textarea{width:100%;border:1px solid #dce4ef;border-radius:8px;outline:0;color:#2b3a50;background:#fff;font-size:11px}.missing-review select{height:38px;padding:0 10px}.missing-review textarea{padding:9px;resize:vertical;line-height:1.5}.missing-review select:focus,.missing-review textarea:focus{border-color:#8db2f3;box-shadow:0 0 0 3px rgba(36,105,225,.08)}.missing-review .primary-button{width:100%;margin-top:2px}.review-summary{min-width:110px;padding:14px 18px;display:flex;flex-direction:column;align-items:center;border:1px solid #d9e6fb;border-radius:13px;background:#f2f7ff}.review-summary strong{color:#1762d8;font-size:25px}.review-summary span{margin-top:3px;color:#78869a;font-size:9px}.review-tools{gap:12px}.review-tools label{margin-right:auto}.review-tools select{height:36px;padding:0 28px 0 10px;border:1px solid var(--line);border-radius:9px;color:#566276;background:#fafbfd;font-size:10px}.review-panel .table-wrap td:first-child{min-width:170px}.review-panel .table-wrap td:first-child strong,.review-panel .table-wrap td:first-child small{display:block}.review-panel .table-wrap td:first-child strong{color:#233248;font-size:12px}.review-panel .table-wrap td:first-child small{max-width:240px;margin-top:5px;color:#8a95a5;font-size:9px;white-space:normal;line-height:1.5}.review-panel .table-wrap td:nth-child(2){min-width:90px}.review-assigned-me{background:#f7faff}.assigned-admin{display:inline-flex;padding:4px 7px;border-radius:6px;color:#687589;background:#f0f3f7;font-size:9px}.assigned-admin.mine{color:#1761d7;background:#e5efff;font-weight:800}.review-status{display:inline-flex;padding:4px 7px;border-radius:999px;font-size:9px;font-weight:800}.review-status.pending{color:#a26508;background:#fff1d4}.review-status.resolved{color:#0c7c5b;background:#e3f6ef}.review-action{padding:6px 10px;border:1px solid #bad0f8;border-radius:7px;color:#1761d7;background:#eef5ff;font-size:9px;font-weight:800}.review-result{color:#6f7b8c;font-size:9px}.review-modal{width:min(820px,100%)}.review-request-info{margin:17px 0 0;padding:16px 18px;border:1px solid #dce7f8;border-radius:12px;background:#f7faff}.review-request-info>span{display:inline-flex;padding:4px 7px;border-radius:6px;color:#1761d7;background:#e6efff;font-size:9px;font-weight:800}.review-request-info>strong{display:block;margin-top:9px;color:#24344b;font-size:19px}.review-request-info>small{display:block;margin-top:5px;color:#8490a0;font-size:9px}.review-request-info>p{margin:10px 0 0;padding-top:10px;border-top:1px solid #e2e9f3;color:#647188;font-size:10px;line-height:1.55}
@media(max-width:1120px){.nav-badge{position:absolute;right:3px;top:3px;min-width:16px;height:16px;padding:0 4px}.nav-item{position:relative}}
@media(max-width:700px){.review-tools{align-items:stretch;flex-direction:column}.review-tools label{width:100%;margin:0}.review-tools select{width:100%}.review-tools>span{text-align:right}.review-summary{min-width:84px;padding:11px}.missing-review{padding:16px}}

/* 项目定期复核 */
.project-review-reminder{max-width:1480px;margin:0 auto 15px;padding:13px 15px;display:flex;align-items:center;gap:12px;border:1px solid #f0d3a1;border-radius:12px;color:#694b1b;background:linear-gradient(110deg,#fff8ea,#fffdf9);box-shadow:0 5px 16px rgba(116,76,15,.05)}.reminder-icon{flex:0 0 auto;width:35px;height:35px;display:grid;place-items:center;border-radius:10px;color:#fff;background:#e89225;font-size:18px;font-weight:900}.project-review-reminder>div{min-width:0;display:flex;flex-direction:column;gap:3px}.project-review-reminder strong{font-size:12px}.project-review-reminder strong b{color:#c96c0b;font-size:15px}.project-review-reminder small{color:#90764d;font-size:10px}.project-review-reminder button{margin-left:auto;padding:7px 12px;border:1px solid #e8bf78;border-radius:8px;color:#9b5c0d;background:#fff;font-size:10px;font-weight:800}.project-review-reminder button:hover{color:#fff;background:#dc8319}.project-review-panel .table-wrap table{min-width:1050px}.project-review-panel .table-wrap td:first-child{min-width:190px}.project-review-panel .table-wrap td:first-child strong,.project-review-panel .table-wrap td:first-child small{display:block}.project-review-panel .table-wrap td:first-child strong{color:#253247;font-size:12px}.project-review-panel .table-wrap td:first-child small,.project-review-panel .table-wrap td:nth-child(5) small,.admin-panel .table-wrap td:nth-child(6) small{margin-top:4px;color:#8c96a5;font-size:9px}.project-review-row.due{background:#fffaf5}.project-review-row.soon{background:#fffdf8}.project-review-state{display:inline-flex;width:fit-content;padding:4px 7px;border-radius:999px;color:#687589;background:#eff2f6;font-size:9px;font-weight:800}.project-review-state.due{color:#ae4337;background:#fde9e5}.project-review-state.soon{color:#99620d;background:#fff0d1}.project-review-state.normal{color:#0c7c5b;background:#e3f6ef}.review-cycle{display:inline-flex;padding:4px 7px;border-radius:6px;color:#5e55a8;background:#f0edff;font-size:9px;font-weight:800}.review-row-actions{min-width:155px;flex-wrap:wrap}.row-actions .confirm-review{color:#087a58;border-color:#b7e3d5;background:#f0fbf7}.row-actions .confirm-review:hover{background:#e2f7ef}.admin-panel .table-wrap td:nth-child(6)>.project-review-state{display:flex}
@media(max-width:700px){.project-review-reminder{align-items:flex-start}.project-review-reminder small{line-height:1.5}.project-review-reminder button{align-self:center;white-space:nowrap}.project-review-panel .admin-intro{gap:10px}}

/* 扩展业务模块与多模块选择 */
.module-card.score{--module:#ef7655}.module-card.brand-power{--module:#c98a20}.module-card.license{--module:#356bd7}.module-card.fans{--module:#d64b98}.module-card.brand-service{--module:#5963cc}.module-card.enterprise-system{--module:#0c8f86}.module-card.taobao-store{--module:#ff6800}.module-picker{min-width:0;margin:0;padding:0;border:0}.module-picker.wide{grid-column:1/-1}.module-picker legend{margin-bottom:7px;color:#6d7888;font-size:10px;font-weight:700}.module-picker>div{display:flex;flex-wrap:wrap;gap:7px}.form-grid .module-choice{display:block;cursor:pointer}.module-choice input{position:absolute;width:1px!important;height:1px!important;opacity:0;pointer-events:none}.module-choice span{display:inline-flex;align-items:center;min-height:32px;padding:0 11px;border:1px solid #dfe5ed;border-radius:8px;color:#617086;background:#fff;font-size:10px;font-weight:700;transition:.15s}.module-choice input:checked+span{color:#1761d7;border-color:#8db5f8;background:#edf4ff;box-shadow:inset 0 0 0 1px rgba(35,105,226,.08)}.module-choice input:disabled+span{padding-right:26px;background:#e5efff;position:relative}.module-choice input:disabled+span:after{content:"✓";position:absolute;right:9px;color:#1761d7}.module-badge-list{display:flex;flex-wrap:wrap;gap:4px}.project-review-panel .table-wrap table{min-width:1180px}

.users-table-wrap table{min-width:1220px}.users-table-wrap td:nth-child(5){min-width:300px}.employee-type-badge{display:inline-flex;padding:4px 9px;border-radius:999px;color:#6b4dc5;background:#f0ebff;font-size:10px;font-weight:800}.permission-summary{display:flex;align-items:center;flex-wrap:wrap;gap:4px}.permission-chip{display:inline-flex;padding:4px 7px;border-radius:6px;color:#3160a5;background:#edf4ff;font-size:9px;font-weight:700}.permission-chip.admin-chip{color:#087757;background:#e3f7ef}.permission-chip.muted-chip{color:#7d8796;background:#f0f2f5}.permission-more{color:#7b8798;font-size:9px;font-weight:800}.user-actions{min-width:210px}.permission-help{margin:-4px 0 12px;color:#7c8797;font-size:10px;line-height:1.6}.permission-picker{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.permission-picker label{position:relative;cursor:pointer}.permission-picker input{position:absolute;opacity:0;pointer-events:none}.permission-picker span{min-height:62px;padding:10px 12px 10px 38px;display:flex;flex-direction:column;justify-content:center;border:1px solid #dfe5ed;border-radius:10px;background:#fff;transition:.15s}.permission-picker span:before{content:"";position:absolute;left:13px;top:22px;width:15px;height:15px;border:1px solid #bdc8d8;border-radius:4px;background:#fff}.permission-picker b{color:#344359;font-size:11px}.permission-picker small{margin-top:3px;color:#8993a2;font-size:9px;line-height:1.4}.permission-picker input:checked+span{border-color:#9cbbf2;background:#f3f7ff;box-shadow:inset 0 0 0 1px rgba(35,105,226,.06)}.permission-picker input:checked+span:before{content:"✓";display:grid;place-items:center;color:#fff;border-color:#276fe7;background:#276fe7;font-size:10px;font-weight:900}.permission-picker input:disabled+span{cursor:not-allowed;opacity:.72}.permission-empty{margin-top:18px;padding:24px;border:1px dashed #cad5e5;border-radius:13px;background:#f8fafd;text-align:center}.permission-empty strong{color:#34435a;font-size:13px}.permission-empty p{margin:6px 0 0;color:#7c8797;font-size:10px}.private-info span{font-size:8px;color:#9a7b3f}

@media(max-width:560px){.permission-picker{grid-template-columns:1fr}.permission-picker span{min-height:56px}}

/* 销售可见的项目负责人 */
.project-owner-strip{margin:-6px 0 17px;padding:12px 14px;display:flex;align-items:center;gap:11px;border:1px solid #cfe0fb;border-radius:11px;background:linear-gradient(110deg,#f2f7ff,#fbfdff)}.owner-avatar{flex:0 0 auto;width:34px;height:34px;display:grid;place-items:center;border-radius:10px;color:#fff;background:linear-gradient(145deg,#3d86f4,#1b61d7);font-size:13px;font-weight:900}.project-owner-strip>div{min-width:92px;display:flex;flex-direction:column;gap:3px}.project-owner-strip small{color:#7b8aa0;font-size:9px}.project-owner-strip strong{color:#174f9f;font-size:13px}.project-owner-strip p{margin:0 0 0 auto;color:#738197;font-size:10px;line-height:1.5;text-align:right}@media(max-width:560px){.project-owner-strip{align-items:flex-start}.project-owner-strip p{margin-left:0;text-align:left}.project-owner-strip{flex-wrap:wrap}.project-owner-strip p{width:100%;padding-left:45px}}

.demand-panel{overflow:visible}.demand-intro{border-radius:17px 17px 0 0}.demand-updated{min-width:190px;padding:14px 18px;display:flex;flex-direction:column;align-items:flex-end;border:1px solid #dce8fa;border-radius:13px;background:#f4f8ff}.demand-updated span{color:#8793a5;font-size:9px;font-weight:800;letter-spacing:.08em}.demand-updated strong{margin:4px 0;color:#1762d8;font-size:18px}.demand-updated small{color:#7e8999;font-size:9px}.demand-tools{padding:14px 18px;display:flex;align-items:end;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line);background:#fbfcfe}.demand-period{display:flex;gap:7px;flex-wrap:wrap}.demand-period button{height:34px;padding:0 13px;border:1px solid #dfe5ed;border-radius:8px;color:#657185;background:#fff;font-size:10px;font-weight:800}.demand-period button.active{color:#fff;border-color:#276ee7;background:#276ee7;box-shadow:0 5px 13px rgba(39,110,231,.18)}.demand-tools label{display:flex;align-items:center;gap:8px}.demand-tools label span{color:#7a8595;font-size:10px;font-weight:700}.demand-tools select{height:34px;min-width:140px;padding:0 28px 0 10px;border:1px solid #dfe5ed;border-radius:8px;color:#4e5b6f;background:#fff;font-size:10px}.demand-metrics{padding:16px 18px;display:grid;grid-template-columns:repeat(4,1fr);gap:10px;background:#f7f9fc}.demand-metrics article{min-height:72px;padding:13px 15px;display:flex;align-items:center;gap:12px;border:1px solid #e3e8ef;border-radius:12px;background:#fff}.demand-metrics article>div{display:flex;flex-direction:column}.demand-metrics strong{font-size:21px;line-height:1}.demand-metrics small{margin-top:6px;color:#7f8a9a;font-size:10px}.demand-section{margin:0 18px 17px;border:1px solid #e4e9f0;border-radius:13px;overflow:hidden;background:#fff}.demand-section-head{min-height:70px;padding:15px 17px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #e8ecf2}.demand-section-head h3{margin:0;color:#26364d;font-size:15px}.demand-section-head p{margin:5px 0 0;color:#8893a2;font-size:9px}.demand-section-head>span{padding:5px 9px;border-radius:7px;color:#2966b9;background:#eef5ff;font-size:9px;font-weight:800}.missing-demand-section .demand-section-head>span{color:#a5680d;background:#fff3df}.demand-table-wrap table{min-width:1050px}.demand-table-wrap th{white-space:nowrap}.demand-table-wrap td{vertical-align:middle}.demand-table-wrap td:first-child{min-width:58px!important;width:58px}.demand-table-wrap td:nth-child(2){min-width:190px}.demand-table-wrap td:nth-child(2)>strong,.demand-table-wrap td:nth-child(2)>small,.demand-table-wrap td:nth-child(3)>small{display:block}.demand-table-wrap td:nth-child(2)>strong{color:#27364c;font-size:12px}.demand-table-wrap td:nth-child(2)>small,.demand-table-wrap td:nth-child(3)>small{margin-top:4px;color:#8b95a4;font-size:9px}.demand-rank{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;color:#657185;background:#f0f3f7;font-size:10px;font-weight:900}.demand-rank.top-1{color:#9a650d;background:#fff0ce}.demand-rank.top-2{color:#5f6c80;background:#e9edf3}.demand-rank.top-3{color:#9b5e42;background:#f8e9e1}.demand-number{color:#155fdb;font-size:16px}.demand-module-list,.demand-tags{margin-top:5px;display:flex;gap:4px;flex-wrap:wrap}.demand-module-list span,.demand-tag{display:inline-flex;padding:3px 6px;border-radius:5px;color:#42699f;background:#edf4ff;font-size:8px;font-weight:800}.demand-tag.hot{color:#b54e24;background:#fff0e8}.demand-tag.warning{color:#9a630d;background:#fff2d9}.demand-trend{display:inline-flex;padding:4px 7px;border-radius:999px;font-size:9px;font-weight:900}.demand-trend.up,.demand-trend.new{color:#0b7d5b;background:#e3f7ef}.demand-trend.down{color:#b64a50;background:#fdebed}.demand-trend.flat{color:#707b8b;background:#eef1f5}.muted-cell{color:#9aa4b1;font-size:9px}.table-link{padding:6px 9px;border:1px solid #c7d9f7;border-radius:7px;color:#1762d8;background:#f3f7ff;font-size:9px;font-weight:800;white-space:nowrap}.table-link:hover{background:#e7f0ff}
@media(max-width:820px){.demand-metrics{grid-template-columns:repeat(2,1fr)}.demand-tools{align-items:stretch;flex-direction:column}.demand-tools label{justify-content:space-between}.demand-updated{display:none}}
@media(max-width:520px){.demand-metrics{grid-template-columns:1fr}.demand-section{margin-inline:10px}.demand-section-head{align-items:flex-start}.demand-tools{padding-inline:10px}}

/* 客户编号登记与永久台账 */
.customer-register-panel{margin:13px 0;padding:15px 17px;border:1px solid #dce5f1;border-radius:15px;background:#fff;box-shadow:0 8px 22px rgba(32,55,88,.05)}
.customer-register-title{display:flex;align-items:center;gap:11px;margin-bottom:13px}
.customer-register-icon{flex:0 0 auto;width:34px;height:34px;display:grid;place-items:center;border-radius:10px;color:#fff;background:linear-gradient(145deg,#4388f1,#1f66d9);font-size:16px;font-weight:900}
.customer-register-title>div{display:flex;flex-direction:column;gap:3px}.customer-register-title strong{color:#29394f;font-size:13px}.customer-register-title small{color:#8390a2;font-size:9px;line-height:1.5}
.customer-register-placeholder{padding:17px;border:1px dashed #cad7e9;border-radius:11px;color:#8190a4;background:#f8fafd;font-size:10px;text-align:center}
.customer-register-form{display:grid;grid-template-columns:minmax(180px,1.4fr) minmax(130px,.75fr) minmax(200px,1.1fr) 90px auto;align-items:stretch;gap:9px}
.customer-draft-info,.customer-judgement,.customer-grade-preview{min-width:0;padding:11px 13px;display:flex;flex-direction:column;justify-content:center;border:1px solid #e2e8f0;border-radius:10px;background:#fbfcfe}
.customer-register-form span,.customer-draft-info small{color:#8490a1;font-size:8px}.customer-draft-info strong{margin:4px 0 3px;color:#29384d;font-size:13px;overflow-wrap:anywhere}.customer-judgement strong{margin-top:5px;font-size:11px}.customer-judgement.workable{border-color:#bde5d7;background:#effaf6}.customer-judgement.workable strong{color:#087a59}.customer-judgement.uncertain{border-color:#f0d6a4;background:#fff9ed}.customer-judgement.uncertain strong{color:#9b630e}.customer-judgement.unworkable{border-color:#efcbc9;background:#fff4f3}.customer-judgement.unworkable strong{color:#b44141}
.taobao-order-toggle{min-width:0;padding:10px 12px;display:flex;align-items:center;gap:9px;border:1px solid #dfe6ef;border-radius:10px;background:#fff;cursor:pointer}.taobao-order-toggle input{width:17px;height:17px;accent-color:#286ee6}.taobao-order-toggle span{display:flex;flex-direction:column;gap:3px}.taobao-order-toggle b{color:#314158;font-size:10px}.taobao-order-toggle small{color:#8b96a5;font-size:8px;line-height:1.35}
.customer-grade-preview{align-items:center;background:#f4f1ff}.customer-grade-preview strong{margin-top:3px;color:#6354d5;font-size:22px}.customer-generate-button{min-width:118px;padding-inline:15px}
.customer-code-result{padding:13px 15px;display:flex;align-items:center;gap:20px;border:1px solid #b8dfd1;border-radius:11px;background:linear-gradient(105deg,#edfaf5,#fff)}.customer-code-result>div:first-child{display:flex;min-width:0;flex-direction:column;gap:4px}.customer-code-result span{color:#0a7b5a;font-size:9px;font-weight:800}.customer-code-result strong{color:#173d33;font-size:24px;letter-spacing:.04em}.customer-code-result small{color:#71877f;font-size:9px}.customer-result-actions{margin-left:auto;display:flex;gap:8px;white-space:nowrap}
.customer-confirm-body{padding:20px}.customer-confirm-warning{padding:12px 14px;display:flex;align-items:center;gap:10px;border:1px solid #f0d19d;border-radius:10px;color:#7e591c;background:#fff8eb}.customer-confirm-warning span{flex:0 0 auto;width:25px;height:25px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#e59024;font-weight:900}.customer-confirm-warning p{margin:0;font-size:10px;line-height:1.55}.customer-confirm-grid{margin:14px 0 0;display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.customer-confirm-grid>div{min-width:0;margin:0;padding:11px 12px;border:1px solid #e2e7ee;border-radius:9px;background:#fbfcfe}.customer-confirm-grid dt{color:#8590a0;font-size:9px}.customer-confirm-grid dd{margin:5px 0 0;color:#2d3b50;font-size:11px;font-weight:800;overflow-wrap:anywhere}.customer-confirm-grid .grade-preview{border-color:#cfc5ff;background:#f5f2ff}.customer-confirm-grid .grade-preview dd{color:#6252d4;font-size:20px}
.customer-ledger-date{display:flex;align-items:center;gap:8px}.customer-ledger-date span{color:#788598;font-size:9px;font-weight:800}.customer-ledger-date input,.customer-tools select{height:36px;padding:0 10px;border:1px solid #dfe5ed;border-radius:8px;color:#4e5b6f;background:#fff;font-size:10px}.customer-ledger-metrics{padding:15px 18px;display:grid;grid-template-columns:repeat(4,1fr);gap:10px;border-top:1px solid var(--line);background:#f7f9fc}.customer-ledger-metrics article{min-height:70px;padding:12px 14px;display:flex;align-items:center;gap:12px;border:1px solid #e3e8ef;border-radius:11px;background:#fff}.customer-ledger-metrics strong{display:block;color:#24344b;font-size:20px}.customer-ledger-metrics small{display:block;margin-top:5px;color:#8490a0;font-size:9px}.customer-tools{gap:12px}.customer-tools label{margin-right:auto}.customer-table-wrap table{min-width:1250px}.customer-table-wrap td:nth-child(1){min-width:165px!important}.customer-table-wrap td:nth-child(2){min-width:190px}.customer-table-wrap td:nth-child(2)>strong,.customer-table-wrap td:nth-child(2)>small,.customer-table-wrap td:nth-child(9)>small{display:block}.customer-table-wrap td:nth-child(2)>strong{color:#28384d;font-size:11px}.customer-table-wrap td:nth-child(2)>small,.customer-table-wrap td:nth-child(9)>small{margin-top:4px;color:#8a95a5;font-size:8px}.customer-code-cell{display:flex;align-items:center;gap:7px}.customer-code-cell strong{color:#155fda;font-size:12px;letter-spacing:.03em}.customer-code-cell button,.customer-void-button{padding:5px 7px;border:1px solid #cadbf7;border-radius:6px;color:#2365c9;background:#f2f7ff;font-size:8px;font-weight:800}.customer-void-button{color:#b14747;border-color:#efcccc;background:#fff6f5}.customer-outcome-badge,.customer-order-state,.customer-record-status{display:inline-flex;padding:4px 7px;border-radius:999px;font-size:8px;font-weight:800}.customer-outcome-badge.workable,.customer-record-status.active{color:#087a59;background:#e4f7f0}.customer-outcome-badge.uncertain{color:#99620d;background:#fff1d4}.customer-outcome-badge.unworkable,.customer-record-status.voided{color:#b14545;background:#fdebea}.customer-order-state{color:#768194;background:#eef1f5}.customer-order-state.ordered{color:#0b7557;background:#e4f6ef}.customer-grade{width:27px;height:27px;display:grid;place-items:center;border-radius:8px;color:#fff;background:#758196;font-size:12px;font-weight:900}.customer-grade.grade-S{background:#12a174}.customer-grade.grade-A{background:#3479e8}.customer-grade.grade-B{background:#7665d8}.customer-grade.grade-C{background:#e29328}.customer-grade.grade-D{background:#d45a5a}.customer-record-voided{opacity:.62;background:#fafafa}.customer-record-voided .customer-code-cell strong{text-decoration:line-through}
@media(max-width:1100px){.customer-register-form{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-generate-button{min-height:48px}.customer-ledger-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.customer-register-form,.customer-confirm-grid,.customer-ledger-metrics{grid-template-columns:1fr}.customer-code-result{align-items:flex-start;flex-direction:column}.customer-result-actions{width:100%;margin:0}.customer-result-actions button{flex:1}.customer-ledger-date{align-items:flex-start;flex-direction:column}.customer-tools{align-items:stretch;flex-direction:column}.customer-tools label{width:100%;margin:0}.customer-tools select{width:100%}}

/* v2.8 手机端专用体验 */
.mobile-account,.mobile-detail-close,.mobile-detail-backdrop{display:none}
.mobile-cell-stack{display:flex;flex-direction:column;gap:4px}
@media(max-width:820px){
  html{scroll-padding-bottom:86px;-webkit-text-size-adjust:100%}
  body{padding-bottom:calc(74px + env(safe-area-inset-bottom))}
  button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
  .sidebar{position:fixed;inset:auto 0 0 0;z-index:130;width:100%;height:calc(68px + env(safe-area-inset-bottom));padding:5px max(7px,env(safe-area-inset-left)) env(safe-area-inset-bottom) max(7px,env(safe-area-inset-right));display:block;border:0;border-top:1px solid rgba(255,255,255,.1);box-shadow:0 -8px 28px rgba(6,18,34,.22)}
  .sidebar .brand,.sidebar .profile,.sidebar .side-note{display:none}
  .nav-list{width:100%;height:100%;margin:0;display:flex;gap:3px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}
  .nav-list::-webkit-scrollbar{display:none}
  .nav-item{position:relative;flex:1 0 64px;min-width:64px;max-width:92px;height:58px;padding:5px 4px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-radius:10px;text-align:center}
  .nav-item>span:last-child{display:block;color:inherit;font-size:9px;line-height:1.15;white-space:nowrap}
  .nav-item.active{box-shadow:inset 0 2px #55a0ff;background:rgba(54,125,235,.22)}
  .nav-icon{width:auto;font-size:19px;line-height:1}
  .nav-badge{position:absolute;right:8px;top:3px;min-width:16px;height:16px;padding:0 4px;font-size:8px;box-shadow:0 0 0 2px #102743}
  .workspace{width:100%;margin:0;padding:0 12px 24px}
  .topbar{position:sticky;top:0;z-index:60;min-height:62px;margin:0 -12px 13px;padding:10px 13px;align-items:center;gap:8px;background:rgba(244,246,249,.95);border-bottom:1px solid rgba(222,228,237,.9);backdrop-filter:blur(12px)}
  .topbar .eyebrow{font-size:8px}.topbar h1{font-size:18px}.top-actions{display:none}
  .mobile-account{margin-left:auto;display:flex;align-items:center;gap:7px}
  .mobile-account-avatar{width:31px;height:31px;display:grid;place-items:center;border-radius:9px;color:#fff;background:linear-gradient(145deg,#3d86f4,#1b61d7);font-size:11px;font-weight:900}
  .mobile-account>span:nth-child(2){display:flex;flex-direction:column;gap:1px}.mobile-account strong{max-width:64px;overflow:hidden;color:#26354a;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.mobile-account small{color:#8a95a5;font-size:8px}
  .mobile-account form{margin:0}.mobile-account input{display:none}.mobile-account button{min-width:36px;height:32px;padding:0 7px;border:1px solid #dde4ed;border-radius:8px;color:#697589;background:#fff;font-size:9px}
  .mobile-account .mobile-refresh-button{color:#2364bd;border-color:#d3e1f5;background:#edf5ff}.mobile-account .mobile-refresh-button:disabled{opacity:.6;cursor:wait}
  .module-hero{min-height:130px;padding:21px 19px;align-items:flex-end;border-radius:18px}.module-hero h2{margin:5px 0 7px;font-size:22px}.module-hero>div>span{display:none}.module-hero:after{right:-120px;top:-210px}.module-total{min-width:82px;padding:11px 12px;border-radius:12px}.module-total strong{font-size:24px}.module-total span{margin-top:4px;font-size:9px}
  .module-grid{margin-top:11px;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .module-card{min-height:96px;padding:13px 12px;grid-template-columns:auto 1fr;grid-template-rows:auto 1fr;gap:0 9px;border-radius:13px}
  .module-card:after{width:86px;height:86px;right:-50px;bottom:-50px}.module-icon{grid-row:1/3;width:38px;height:38px;border-radius:11px;font-size:14px}.module-copy strong{font-size:14px;line-height:1.2}.module-copy small{max-width:100%;margin-top:4px;overflow:hidden;font-size:9px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.module-count{grid-column:2;margin-top:7px;font-size:8px}.module-count b{font-size:12px}.module-arrow{display:none}.module-tip{margin-top:10px;padding:10px 12px;font-size:9px;line-height:1.55}
  .module-context{min-height:44px;margin-bottom:9px;align-items:center;gap:9px;flex-direction:row}.module-context>div{min-width:0;padding-left:10px}.module-context span{display:none}.module-context h2{display:block;margin:0;font-size:15px}.module-context p{display:block;margin:2px 0 0;overflow:hidden;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.back-button{flex:0 0 auto;height:40px;padding:0 11px}
  .search-hero.compact-hero{padding:18px 15px 15px;border-radius:16px}.compact-hero .hero-copy h2{margin-bottom:12px;font-size:20px}.hero-copy p{font-size:9px}.search-box{height:52px;padding-inline:13px;border-radius:12px}.search-box input{font-size:16px}.search-box button{width:34px;height:34px}.prompt-row{margin-top:10px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.prompt-row::-webkit-scrollbar{display:none}.prompt-row>span{flex:0 0 auto;width:auto}.prompt-row button{flex:0 0 auto;min-height:32px}
  .customer-register-panel{margin:10px 0;padding:13px;border-radius:13px}.customer-register-title{margin-bottom:10px}.customer-register-title small{font-size:9px}.customer-register-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.customer-draft-info{grid-column:1/-1}.taobao-order-toggle{min-height:58px}.customer-grade-preview{min-height:58px}.customer-generate-button{grid-column:1/-1;width:100%;min-height:48px}.customer-code-result strong{font-size:20px}.customer-result-actions button{min-height:46px}
  .metrics{margin:10px auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.metrics article{min-height:65px;padding:10px;gap:9px;border-radius:11px}.metric-icon{width:34px;height:34px;border-radius:9px;font-size:15px}.metrics strong{font-size:18px}.metrics small{font-size:9px}
  .content-grid{display:block}.results-panel{border-radius:14px}.panel-head{min-height:auto;padding:12px;align-items:center}.panel-head h3{font-size:13px}.filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.filters select{max-width:none;width:100%;height:42px;padding-left:8px;font-size:13px}.result-list{max-height:none;padding:7px}.result-card{min-height:82px;padding:13px 11px;border-radius:11px}.result-card+.result-card{margin-top:5px}.result-top strong{font-size:13px}.result-meta{margin:11px 0 8px 44px;gap:12px}.alias-row{margin-left:44px}.status{font-size:9px}
  .mobile-detail-backdrop{position:fixed;inset:0 0 calc(68px + env(safe-area-inset-bottom));z-index:88;width:100%;height:auto;border:0;background:rgba(5,16,30,.5);backdrop-filter:blur(2px)}
  body.mobile-detail-open .mobile-detail-backdrop{display:block}
  .detail-panel{display:none;position:fixed;left:0;right:0;bottom:calc(68px + env(safe-area-inset-bottom));z-index:90;width:100%;max-height:calc(100vh - 86px - env(safe-area-inset-bottom));max-height:calc(100dvh - 86px - env(safe-area-inset-bottom));min-height:0;margin:0;padding:21px 16px 20px;overflow-y:auto;border:0;border-radius:20px 20px 0 0;box-shadow:0 -18px 50px rgba(5,19,38,.28)}
  body.mobile-detail-open{overflow:hidden}.mobile-detail-open .detail-panel{display:block}
  .mobile-detail-close{position:sticky;top:0;z-index:4;float:right;width:38px;height:38px;margin:-9px -4px 3px 8px;display:grid;place-items:center;border:0;border-radius:11px;color:#5e6c80;background:#eef1f5;box-shadow:0 2px 8px rgba(16,37,66,.08);font-size:22px}
  .detail-head{padding:2px 0 16px}.detail-head h3{padding-right:3px;font-size:18px}.price-grid{grid-template-columns:1fr;gap:7px}.price-grid article{padding:12px}.price-grid strong{font-size:16px}.operation-grid{grid-template-columns:1fr}.material-list{grid-template-columns:1fr}.two-cols{grid-template-columns:1fr}.project-owner-strip p{padding-left:0}.section-title button{min-height:38px;padding:0 7px}.empty-detail{min-height:160px}
  .admin-panel{border-radius:14px}.admin-intro{padding:17px 15px;gap:10px}.admin-intro h2{font-size:17px}.admin-intro p:not(.eyebrow){display:block;font-size:9px;line-height:1.5}.admin-intro .primary-button{min-height:42px;padding-inline:10px;white-space:nowrap}.admin-tools{padding:11px 12px;gap:8px;align-items:stretch;flex-direction:column}.admin-tools label{width:100%;height:44px}.admin-tools>span{text-align:right}.admin-tools input,.admin-tools select,.customer-ledger-date input,.customer-tools select,.demand-tools select{font-size:16px}
  .customer-ledger-date{align-items:flex-end}.customer-ledger-date input{height:44px}.customer-ledger-metrics,.demand-metrics{padding:11px;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.customer-ledger-metrics article,.demand-metrics article{min-height:62px;padding:10px;gap:8px}.customer-ledger-metrics strong,.demand-metrics strong{font-size:18px}.customer-tools label{width:100%}
  .demand-intro{border-radius:14px 14px 0 0}.demand-tools{padding:11px 12px;align-items:stretch;flex-direction:column}.demand-period{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.demand-period button{padding:0 6px}.demand-tools label{justify-content:space-between}.demand-tools select{height:44px}.demand-section{margin:0 10px 11px;border-radius:11px}.demand-section-head{min-height:auto;padding:13px}.demand-section-head h3{font-size:13px}.demand-section-head p{font-size:8px;line-height:1.45}
  .table-wrap{overflow:visible;padding:9px;background:#f6f8fb}.table-wrap table,.customer-table-wrap table,.demand-table-wrap table,.project-review-panel .table-wrap table,.users-table-wrap table{min-width:0;width:100%;display:block}.table-wrap thead{display:none}.table-wrap tbody{display:grid;gap:9px}.table-wrap tr{display:block;overflow:hidden;border:1px solid #e1e7ef;border-radius:12px;background:#fff;box-shadow:0 3px 10px rgba(24,43,70,.035)}.table-wrap td,.table-wrap td:first-child,.admin-panel .table-wrap td:first-child,.admin-panel .table-wrap td:nth-child(2),.review-panel .table-wrap td:first-child,.review-panel .table-wrap td:nth-child(2),.demand-table-wrap td:first-child,.demand-table-wrap td:nth-child(2),.customer-table-wrap td:nth-child(1),.customer-table-wrap td:nth-child(2),.users-table-wrap td:nth-child(5){width:auto!important;min-width:0!important;padding:10px 12px;display:flex;align-items:flex-start;justify-content:space-between;gap:14px;border-top:1px solid #edf0f4;text-align:right;font-size:11px}.table-wrap td:first-child{border-top:0}.table-wrap td::before{content:attr(data-label);flex:0 0 70px;color:#8b96a6;text-align:left;font-size:9px;font-weight:800}.table-wrap td>*{max-width:calc(100% - 84px)}.table-wrap td>strong,.table-wrap td>small{margin-left:auto}.table-wrap td small{white-space:normal}.mobile-cell-stack{align-items:flex-end;text-align:right}.module-badge-list,.permission-summary,.row-actions,.review-row-actions,.customer-code-cell,.demand-tags,.demand-module-list{justify-content:flex-end}.row-actions,.review-row-actions,.user-actions{min-width:0;flex-wrap:wrap}.row-actions button,.review-action,.table-link,.customer-code-cell button,.customer-void-button{min-height:36px;padding-inline:10px}.customer-grade{flex:0 0 auto}.customer-record-voided{opacity:.7}
  .modal-backdrop{z-index:200;padding:0;place-items:end center}.project-modal,.small-modal,.review-modal{width:100%;max-height:calc(100vh - env(safe-area-inset-top));max-height:calc(100dvh - env(safe-area-inset-top));border-radius:20px 20px 0 0}.modal-head{padding:15px 16px}.modal-head h2{font-size:17px}.modal-head>button{width:40px;height:40px}.form-scroll{padding:2px 16px 10px}.form-grid,.money-fields{grid-template-columns:1fr}.form-grid label.wide{grid-column:auto}.form-grid input,.form-grid select{height:48px;font-size:16px}.form-grid textarea{font-size:16px}.module-picker>div{gap:6px}.module-choice span{min-height:40px;padding-inline:12px;font-size:11px}.permission-picker{grid-template-columns:1fr}.modal-actions{padding:11px 15px calc(11px + env(safe-area-inset-bottom));position:sticky;bottom:0}.modal-actions button{min-height:46px;flex:1}.customer-confirm-body{padding:15px}.customer-confirm-grid{grid-template-columns:1fr}.toast{left:12px;right:12px;bottom:calc(80px + env(safe-area-inset-bottom));text-align:center}
}
@media(max-width:430px){
  .workspace{padding-inline:9px}.topbar{margin-inline:-9px}.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.module-hero{display:flex}.module-total{width:auto;margin:0}.module-card{padding:12px 10px}.module-copy small{display:none}.module-count{margin-top:5px}.customer-register-form{grid-template-columns:1fr}.customer-draft-info,.customer-generate-button{grid-column:auto}.customer-ledger-metrics,.demand-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-result-actions{display:grid;grid-template-columns:1fr}.panel-head{align-items:flex-start;flex-direction:column}.filters{width:100%}.admin-intro{align-items:flex-start}.customer-ledger-date{align-items:flex-start}.demand-section-head{align-items:flex-start;flex-direction:column;gap:8px}.login-card{padding:30px 20px}.login-card input,.login-button{height:50px;font-size:16px}
}

/* v3.0 客户联动记录、业绩工资与经营报表 */
.customer-ledger-metrics{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.customer-ledger-metrics .performance-card{border-color:#cfe0fb;background:linear-gradient(145deg,#f4f8ff,#fff)}
.customer-ledger-metrics .performance-card strong{color:#1763dc}
.customer-payroll-panel{margin:0 18px 14px;overflow:hidden;border:1px solid #dfe6ef;border-radius:12px;background:#fff}
.customer-payroll-head{min-height:58px;padding:12px 15px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #e8ecf1;background:#f8fafc}
.customer-payroll-head>div{display:flex;flex-direction:column;gap:4px}.customer-payroll-head strong{color:#26364c;font-size:13px}.customer-payroll-head small,.customer-payroll-head>span{color:#8490a0;font-size:9px}
.customer-payroll-table table{min-width:620px}.customer-payroll-table td:first-child{min-width:150px}
.customer-link-register-form{grid-template-columns:repeat(4,minmax(0,1fr))}
.customer-link-register-form .customer-draft-info{grid-column:span 2}
.customer-source-field{min-width:0;padding:9px 11px;display:flex;flex-direction:column;justify-content:center;gap:5px;border:1px solid #e2e8f0;border-radius:10px;background:#fff}
.customer-source-field>span{color:#78869a!important;font-size:8px!important;font-weight:800}
.customer-source-field input,.customer-source-field select{width:100%;height:32px;padding:0 8px;border:1px solid #dce3ec;border-radius:7px;color:#2d3a4e;background:#fbfcfe;font-size:11px;outline:0}
.customer-source-field input:focus,.customer-source-field select:focus{border-color:#7ca8ef;box-shadow:0 0 0 3px rgba(43,111,225,.09)}
.customer-link-register-form .taobao-order-toggle{grid-column:span 2}
.customer-link-register-form .customer-generate-button{min-height:58px}
.customer-table-wrap table{min-width:2120px}
.customer-table-wrap td:nth-child(3){min-width:150px}.customer-table-wrap td:nth-child(4){min-width:180px}.customer-table-wrap td:nth-child(5){min-width:140px}.customer-table-wrap td:nth-child(7){min-width:190px}.customer-table-wrap td:nth-child(8){min-width:210px}.customer-table-wrap td:nth-child(9){min-width:145px}
.customer-judgement-cell{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.customer-judgement-cell .customer-grade{margin-left:2px}
.customer-edit-modal{width:min(960px,calc(100vw - 40px))}.customer-edit-modal .modal-head h2 span{color:#1762d8;font-size:14px}
.form-section.permission-locked{position:relative;opacity:.58}.form-section.permission-locked:after{content:"当前账号没有该部分编辑权限";position:absolute;right:17px;top:16px;padding:4px 8px;border-radius:6px;color:#6f7c8e;background:#edf0f4;font-size:8px;font-weight:800}
.calculation-preview{min-height:78px;padding:12px 14px;display:flex;flex-direction:column;justify-content:center;border:1px solid #dfe6ef;border-radius:10px;background:#f8fafc}.calculation-preview small{color:#8490a2;font-size:9px}.calculation-preview strong{margin:5px 0;color:#26364c;font-size:19px}.calculation-preview span{color:#8a95a4;font-size:8px}.calculation-preview.featured{border-color:#bcd1f5;background:#f2f7ff}.calculation-preview.featured strong{color:#1762d8}
.analytics-actions{display:flex;align-items:center;gap:8px}.analytics-tools{align-items:end}.analytics-tools .compact-field{height:auto;padding:0;display:flex;flex-direction:column;align-items:flex-start;gap:5px;border:0;background:transparent}.analytics-tools .compact-field>span{color:#778497;font-size:8px;font-weight:800}.analytics-tools input,.analytics-tools select{height:36px;min-width:150px;padding:0 10px;border:1px solid #dfe5ed;border-radius:8px;color:#4e5b6f;background:#fff;font-size:10px}.analytics-tools>span{margin-left:auto;color:#7c899b;font-size:9px}
.analytics-metrics{padding:15px 18px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;background:#f6f8fb;border-bottom:1px solid #e4e9f0}.analytics-metrics article{min-height:104px;padding:14px;display:flex;flex-direction:column;justify-content:center;border:1px solid #e0e7ef;border-radius:12px;background:#fff}.analytics-metrics article.featured{border-color:#b9cff7;background:linear-gradient(145deg,#f2f7ff,#fff)}.analytics-metrics small{color:#8490a2;font-size:9px}.analytics-metrics strong{margin:7px 0 5px;color:#26364c;font-size:22px}.analytics-metrics .featured strong{color:#1763dc}.analytics-metrics span{color:#8a95a4;font-size:8px;line-height:1.4}
.analytics-section{margin:16px 18px;border:1px solid #e2e8ef;border-radius:13px;overflow:hidden;background:#fff}.analytics-section-head{min-height:64px;padding:13px 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e6ebf1}.analytics-section-head h3{margin:0;color:#26364b;font-size:14px}.analytics-section-head p{margin:5px 0 0;color:#8490a0;font-size:9px}.analytics-table-wrap table{min-width:1000px}.analytics-table-wrap.compact table{min-width:600px}.analytics-table-wrap th{white-space:nowrap}.analytics-two-column{display:grid;grid-template-columns:1.35fr .65fr;gap:0}.analytics-two-column .analytics-section{min-width:0}.grade-with-description{display:flex;align-items:center;gap:8px}.grade-with-description small{max-width:145px;color:#7f8b9c;font-size:8px;line-height:1.4}.positive-money{color:#087a59}.negative-money{color:#c04c52}
.promotion-metrics{padding:14px 16px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;background:#f7f9fc}.promotion-metrics article{min-height:72px;padding:11px 13px;display:flex;flex-direction:column;justify-content:center;border:1px solid #e2e8ef;border-radius:10px;background:#fff}.promotion-metrics small{color:#8490a2;font-size:8px}.promotion-metrics strong{margin-top:6px;color:#27384f;font-size:17px}.promotion-form{padding:14px 16px;display:grid;grid-template-columns:repeat(5,minmax(120px,1fr)) auto;align-items:end;gap:8px;border-top:1px solid #e6ebf1;border-bottom:1px solid #e6ebf1}.promotion-form label{display:flex;flex-direction:column;gap:5px}.promotion-form label span{color:#7d899a;font-size:8px;font-weight:800}.promotion-form input{height:38px;padding:0 9px;border:1px solid #dfe5ed;border-radius:8px;color:#354359;background:#fff;font-size:10px}.promotion-form button{height:38px;white-space:nowrap}
@media(max-width:1200px){.customer-link-register-form{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-link-register-form .customer-draft-info{grid-column:span 2}.analytics-metrics{grid-template-columns:repeat(3,1fr)}.promotion-form{grid-template-columns:repeat(3,1fr)}.promotion-form button{min-height:42px}}
@media(max-width:820px){
  .customer-link-register-form{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-link-register-form .customer-draft-info{grid-column:1/-1}.customer-link-register-form .taobao-order-toggle{grid-column:1/-1}.customer-source-field input,.customer-source-field select{height:42px;font-size:16px}.customer-edit-modal{width:100%}
  .customer-payroll-panel{margin:0 10px 11px}.customer-payroll-head{align-items:flex-start;flex-direction:column}.customer-payroll-table table{min-width:0}
  .analytics-tools{align-items:stretch}.analytics-tools .compact-field{width:100%}.analytics-tools input,.analytics-tools select{width:100%;height:44px;font-size:16px}.analytics-tools>span{margin:0;text-align:right}.analytics-metrics{padding:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.analytics-metrics article{min-height:86px;padding:11px}.analytics-metrics strong{font-size:18px}.analytics-section{margin:10px}.analytics-section-head{align-items:flex-start}.analytics-two-column{display:block}.promotion-metrics{padding:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.promotion-form{padding:11px;grid-template-columns:1fr}.promotion-form input{height:46px;font-size:16px}.promotion-form button{height:46px}.form-section.permission-locked:after{position:static;margin:0 0 10px;display:inline-flex}
}
@media(max-width:430px){.customer-link-register-form{grid-template-columns:1fr}.customer-link-register-form .customer-draft-info,.customer-link-register-form .taobao-order-toggle{grid-column:auto}.analytics-metrics,.promotion-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-metrics article{min-height:82px}.analytics-actions{width:100%}.analytics-actions button{width:100%}}

/* v3.1 销售经营看板 */
.sales-dashboard-intro{background:linear-gradient(110deg,#fff,#f5f9ff)}
.sales-formula{min-width:330px;padding:12px 15px;display:flex;flex-direction:column;gap:5px;border:1px solid #cfe0fb;border-radius:11px;background:#f1f7ff;text-align:right}.sales-formula span{color:#7590b5;font-size:8px;font-weight:800;letter-spacing:.08em}.sales-formula strong{color:#1858ad;font-size:11px}
.sales-dashboard-tools{align-items:end}.sales-filter-group{display:flex;align-items:end;gap:10px}.sales-dashboard-tools .compact-field{width:auto;height:auto;padding:0;display:flex;flex-direction:column;align-items:flex-start;gap:5px;border:0;background:transparent}.sales-dashboard-tools .compact-field>span{color:#778497;font-size:8px;font-weight:800}.sales-dashboard-tools input,.sales-dashboard-tools select{height:36px;min-width:170px;padding:0 10px;border:1px solid #dfe5ed;border-radius:8px;color:#4e5b6f;background:#fff;font-size:10px}.sales-dashboard-tools select:disabled{color:#53627a;background:#f1f4f8}.sales-dashboard-tools>span{margin-left:auto;color:#7c899b;font-size:9px}
.sales-dashboard-metrics{padding:15px 18px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;background:#f6f8fb;border-bottom:1px solid #e4e9f0}.sales-dashboard-metrics article{min-height:96px;padding:13px 14px;display:flex;flex-direction:column;justify-content:center;border:1px solid #e0e7ef;border-radius:12px;background:#fff}.sales-dashboard-metrics article.featured{border-color:#aecdff;background:linear-gradient(145deg,#eaf3ff,#fff);box-shadow:0 6px 18px rgba(26,91,184,.08)}.sales-dashboard-metrics small{color:#8490a2;font-size:9px}.sales-dashboard-metrics strong{margin:7px 0 5px;color:#26364c;font-size:20px}.sales-dashboard-metrics .featured strong{color:#1763dc}.sales-dashboard-metrics span{color:#8a95a4;font-size:8px;line-height:1.4}
.sales-dashboard-actions{margin-left:auto;display:flex;align-items:center;gap:12px}.sales-dashboard-actions>span{color:#7c899b;font-size:9px}.sales-dashboard-actions .primary-button{min-height:36px;padding-inline:12px;font-size:10px}
.sales-ranking-table table{min-width:1450px}.sales-daily-table table{min-width:1220px}.sales-ranking-table td:first-child{min-width:62px}.sales-ranking-table td:nth-child(2){min-width:125px}.sales-rank{width:26px;height:26px;display:grid;place-items:center;border-radius:8px;color:#657287;background:#eef1f5;font-size:10px;font-weight:900}.sales-rank.top-1{color:#9b6103;background:#fff0c9}.sales-rank.top-2{color:#526375;background:#e9eef4}.sales-rank.top-3{color:#9b552c;background:#f7e7db}.sales-grade-breakdown{white-space:nowrap;color:#58667b;font-size:9px;font-weight:700}
.sales-order-table table{min-width:1300px}.sales-order-table td:first-child{min-width:100px}.customer-type-badge{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:9px;font-weight:800}.customer-type-badge.new{color:#087a59;background:#e3f7ef}.customer-type-badge.old{color:#8a5a12;background:#fff1d8}.customer-order-modal{width:min(900px,100%)}.form-grid>.wide{grid-column:1/-1}.order-customer-selected{padding:11px 13px;display:flex;align-items:center;gap:10px;border:1px solid #bed6fb;border-radius:10px;background:#f3f8ff}.order-customer-selected span{color:#6f86a7;font-size:9px}.order-customer-selected strong{color:#185ebc;font-size:12px}.order-customer-selected small{color:#778599;font-size:9px}.order-legacy-toggle{padding:11px 13px!important;display:flex!important;flex-direction:row!important;align-items:center!important;border:1px solid #e0e6ee;border-radius:10px;background:#fafbfd;cursor:pointer}.order-legacy-toggle input{width:18px!important;height:18px!important;flex:0 0 auto}.order-legacy-toggle>span{display:flex;flex-direction:column;gap:3px}.order-legacy-toggle b{color:#33435a;font-size:10px}.order-legacy-toggle small{color:#8792a2;font-size:8px}
@media(max-width:1200px){.sales-dashboard-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){.sales-dashboard-intro{gap:12px}.sales-formula{display:none}.sales-dashboard-tools{align-items:stretch;flex-direction:column}.sales-filter-group{display:grid;grid-template-columns:1fr 1fr}.sales-dashboard-tools .compact-field,.sales-dashboard-tools input,.sales-dashboard-tools select{width:100%}.sales-dashboard-tools input,.sales-dashboard-tools select{height:44px;font-size:16px}.sales-dashboard-tools>span{margin:0;text-align:right}.sales-dashboard-actions{margin:0;align-items:stretch;flex-direction:column}.sales-dashboard-actions .primary-button{min-height:44px;font-size:13px}.sales-dashboard-actions>span{text-align:right}.sales-dashboard-metrics{padding:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.sales-dashboard-metrics article{min-height:86px;padding:11px}.sales-dashboard-metrics strong{font-size:17px}.order-customer-selected{align-items:flex-start;flex-direction:column}.form-grid>.wide{grid-column:auto}}
@media(max-width:430px){.sales-filter-group{grid-template-columns:1fr}.sales-dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-dashboard-metrics article{min-height:82px}}

/* v3.7 历史老客编号 */
.legacy-customer-entry{margin-top:17px;padding:17px 19px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;border:1px solid #d9e5f7;border-radius:16px;background:linear-gradient(110deg,#fff,#f5f9ff);box-shadow:0 7px 20px rgba(26,45,74,.035)}.legacy-entry-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;color:#fff;background:linear-gradient(145deg,#8756e8,#5732bd);font-size:20px;font-weight:900}.legacy-customer-entry>div:nth-child(2){display:flex;min-width:0;flex-direction:column;gap:3px}.legacy-customer-entry span{color:#6e50be;font-size:9px;font-weight:900;letter-spacing:.08em}.legacy-customer-entry strong{color:#22324a;font-size:15px}.legacy-customer-entry small{color:#7d899b;font-size:10px;line-height:1.45}.legacy-customer-entry button{min-height:42px;padding:0 17px;border:0;border-radius:11px;color:#fff;background:#6d45ce;font-size:11px;font-weight:800;box-shadow:0 8px 18px rgba(109,69,206,.2)}.legacy-customer-entry button:hover{background:#5934b7}.legacy-inline-button{justify-content:center;color:#6540c1!important;border-color:#d6c9f6!important;background:#faf8ff!important}
@media(max-width:720px){.legacy-customer-entry{grid-template-columns:auto 1fr;padding:14px}.legacy-customer-entry button{grid-column:1/-1;width:100%}.legacy-customer-entry strong{font-size:13px}.legacy-customer-entry small{font-size:9px}.order-customer-selected{align-items:flex-start;flex-direction:column;gap:3px}}

/* v3.8 独立付费推广、获客月份与跨月复购归因 */
.paid-promotion-intro{background:linear-gradient(110deg,#fff,#f6f9ff)}
.promotion-formula{min-width:340px;padding:12px 15px;display:flex;flex-direction:column;gap:4px;border:1px solid #cfdcf2;border-radius:12px;background:#f3f7fd;text-align:right}.promotion-formula span{color:#7087a8;font-size:8px;font-weight:900;letter-spacing:.08em}.promotion-formula strong{color:#1859ae;font-size:13px}.promotion-formula small{color:#8491a3;font-size:8px}
.promotion-attribution-note{margin:13px 18px 0;padding:11px 14px;border:1px solid #d4e2f8;border-radius:10px;color:#315c96;background:#f1f7ff;font-size:9px;font-weight:700;line-height:1.5}
.paid-promotion-metrics{padding:15px 18px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;background:#f6f8fb;border-bottom:1px solid #e4e9f0}.paid-promotion-metrics article{min-height:98px;padding:13px 14px;display:flex;flex-direction:column;justify-content:center;border:1px solid #e0e7ef;border-radius:12px;background:#fff}.paid-promotion-metrics article.featured{border-color:#aecdff;background:linear-gradient(145deg,#eaf3ff,#fff);box-shadow:0 6px 18px rgba(26,91,184,.08)}.paid-promotion-metrics small{color:#8490a2;font-size:9px}.paid-promotion-metrics strong{margin:7px 0 5px;color:#26364c;font-size:19px}.paid-promotion-metrics .featured strong{color:#1763dc}.paid-promotion-metrics span{color:#8a95a4;font-size:8px;line-height:1.4}
.promotion-warning-section{margin:14px 18px 0;padding:13px 15px;display:grid;grid-template-columns:220px 1fr;gap:18px;border:1px solid #f0d3a0;border-radius:12px;background:#fff9ed}.promotion-warning-section>div{display:flex;flex-direction:column;gap:4px}.promotion-warning-section strong{color:#8b5a0b;font-size:11px}.promotion-warning-section small{color:#a17e48;font-size:8px;line-height:1.45}.promotion-warning-section ul{margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;list-style:none}.promotion-warning-section li{padding:8px 10px;display:flex;flex-direction:column;gap:3px;border-radius:8px;background:#fff}.promotion-warning-section li b{color:#695436;font-size:9px}.promotion-warning-section li span{color:#8a7555;font-size:8px;line-height:1.4}
.promotion-product-table table{min-width:1750px}.promotion-product-table td:first-child{min-width:145px}.promotion-order-table table{min-width:1850px}.promotion-order-table td:nth-child(3){min-width:130px}.promotion-order-table td:nth-child(4){min-width:145px}.promotion-order-table td:nth-child(6){min-width:130px}.promotion-order-table td:nth-child(7){min-width:150px}.promotion-spend-section .promotion-form{border-top:0}
@media(max-width:1200px){.paid-promotion-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.promotion-warning-section{grid-template-columns:1fr}.promotion-warning-section ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.promotion-formula{display:none}.promotion-attribution-note{margin:10px}.paid-promotion-metrics{padding:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.paid-promotion-metrics article{min-height:88px;padding:11px}.paid-promotion-metrics strong{font-size:17px}.promotion-warning-section{margin:10px;padding:11px}.promotion-warning-section ul{grid-template-columns:1fr}.promotion-product-table table,.promotion-order-table table{min-width:0!important}}
@media(max-width:430px){.paid-promotion-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.paid-promotion-metrics article{min-height:84px}.paid-promotion-metrics strong{font-size:16px}}

/* v3.9 老板AI经营分析 */
.boss-ai-panel{overflow:hidden}.boss-ai-hero{min-height:190px;padding:30px 34px;display:flex;align-items:center;justify-content:space-between;gap:30px;border-radius:14px 14px 0 0;color:#fff;background:radial-gradient(circle at 88% 0,rgba(74,150,255,.45),transparent 36%),linear-gradient(120deg,#071b35,#124c91 62%,#2479db)}.boss-ai-hero h2{margin:7px 0 10px;font-size:27px}.boss-ai-hero p:not(.eyebrow){max-width:650px;margin:0;color:#c8ddf5;font-size:11px;line-height:1.7}.boss-ai-privacy{min-width:250px;padding:18px 20px;display:flex;flex-direction:column;gap:6px;border:1px solid rgba(255,255,255,.22);border-radius:15px;background:rgba(255,255,255,.1);backdrop-filter:blur(8px)}.boss-ai-privacy span{color:#a9ccf7;font-size:9px;font-weight:900;letter-spacing:.1em}.boss-ai-privacy strong{font-size:15px}.boss-ai-privacy small{color:#c4d8ef;font-size:8px}.boss-ai-toolbar{padding:14px 18px;display:flex;align-items:end;gap:12px;border-bottom:1px solid #e4e9ef;background:#f8fafc}.boss-ai-toolbar .compact-field{display:flex;flex-direction:column;gap:5px}.boss-ai-toolbar .compact-field span{color:#78869a;font-size:8px;font-weight:800}.boss-ai-toolbar input{height:38px;padding:0 10px;border:1px solid #dce4ee;border-radius:9px;background:#fff;color:#34435a;font-size:11px}.boss-ai-toolbar button{min-height:38px}.boss-ai-connection{margin-left:auto;padding:7px 10px;border-radius:999px;color:#9a5e18;background:#fff1dc;font-size:9px;font-weight:800}.boss-ai-connection.ready{color:#087a59;background:#e5f7ef}.boss-ai-latest{margin:18px;border:1px solid #dfe6ef;border-radius:15px;overflow:hidden;background:#fff}.boss-ai-empty{min-height:210px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:#8792a1;text-align:center}.boss-ai-empty strong{color:#44536a;font-size:16px}.boss-ai-empty span{font-size:10px}.boss-ai-report-head{padding:19px 21px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #e8edf3;background:#fbfcfe}.boss-ai-report-head span:first-child{color:#7d8ba0;font-size:9px}.boss-ai-report-head h3{margin:5px 0 0;color:#20334f;font-size:19px}.boss-ai-status{padding:7px 11px;border-radius:999px;color:#1a63bf;background:#eaf3ff;font-size:9px;font-weight:900}.boss-ai-status[data-status="预警"],.boss-ai-status[data-status="生成失败"]{color:#b23e47;background:#fdecee}.boss-ai-status[data-status="关注"]{color:#9a6514;background:#fff3dc}.boss-ai-status[data-status="良好"]{color:#087a59;background:#e5f7ef}.boss-ai-conclusion{margin:17px 20px;padding:17px 19px;border-left:4px solid #2773d5;border-radius:0 12px 12px 0;background:#f2f7ff}.boss-ai-conclusion strong{color:#1d5eb2;font-size:11px}.boss-ai-conclusion p{margin:7px 0 0;color:#354963;font-size:12px;line-height:1.7}.boss-ai-analysis-grid{padding:0 20px 18px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.boss-ai-analysis-grid article{padding:15px;border:1px solid #e2e8ef;border-radius:11px;background:#fff}.boss-ai-analysis-grid h4{margin:0 0 9px;color:#293b54;font-size:12px}.boss-ai-analysis-grid ul,.boss-ai-data-quality ul{margin:0;padding-left:17px;color:#607087;font-size:9px;line-height:1.65}.boss-ai-analysis-grid li+li,.boss-ai-data-quality li+li{margin-top:5px}.boss-ai-section{padding:2px 20px 18px}.boss-ai-section .analytics-section-head{padding:0 0 11px;min-height:0;border:0}.boss-ai-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.boss-ai-insight{padding:14px;border:1px solid #e3e8ef;border-radius:11px;background:#fff}.boss-ai-insight>span{display:inline-flex;padding:4px 7px;border-radius:999px;color:#926118;background:#fff1d6;font-size:8px;font-weight:900}.boss-ai-insight.risk-高>span{color:#b13a43;background:#fde8ea}.boss-ai-insight.risk-低>span,.boss-ai-insight.opportunity>span{color:#087a59;background:#e3f7ef}.boss-ai-insight h4{margin:9px 0 6px;color:#293b52;font-size:11px}.boss-ai-insight p{margin:0 0 8px;color:#66758a;font-size:9px;line-height:1.55}.boss-ai-insight small{color:#3c5e88;font-size:8px;line-height:1.55}.boss-ai-inline-empty{padding:18px;color:#8a96a6;text-align:center;font-size:9px}.boss-ai-actions{margin:0 20px 18px;padding:18px;display:grid;grid-template-columns:190px 1fr;gap:20px;border-radius:13px;color:#fff;background:linear-gradient(120deg,#0b284d,#135cae)}.boss-ai-actions>div span{color:#9fc3ec;font-size:8px;font-weight:900;letter-spacing:.1em}.boss-ai-actions h3{margin:6px 0 0;font-size:16px}.boss-ai-actions ol{margin:0;padding:0;display:grid;gap:8px;list-style:none}.boss-ai-actions li{display:grid;grid-template-columns:30px 1fr;align-items:center;gap:10px}.boss-ai-actions li>b{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;color:#0e4c91;background:#fff;font-size:11px}.boss-ai-actions li>div{display:flex;flex-direction:column;gap:2px}.boss-ai-actions li strong{font-size:10px}.boss-ai-actions li span{color:#bbd3ec;font-size:8px;line-height:1.45}.boss-ai-data-quality{margin:0 20px 20px;padding:13px 15px;border:1px dashed #d9e1eb;border-radius:10px;background:#fafbfd}.boss-ai-data-quality>strong{display:block;margin-bottom:7px;color:#5d6b7e;font-size:9px}.boss-ai-lower-grid{display:grid;grid-template-columns:1.25fr .75fr}.boss-ai-question-section,.boss-ai-history-section{min-width:0}.boss-ai-question-section form{padding:15px}.boss-ai-question-section textarea{width:100%;padding:12px;border:1px solid #dce4ee;border-radius:10px;color:#35445b;background:#fbfcfe;font:inherit;font-size:11px;line-height:1.6;resize:vertical;outline:0}.boss-ai-question-section textarea:focus{border-color:#76a3e8;box-shadow:0 0 0 3px rgba(47,112,214,.09)}.boss-ai-question-section form>div{margin-top:8px;display:flex;align-items:center;justify-content:space-between;gap:10px}.boss-ai-question-section form small{color:#8a95a4;font-size:8px}.boss-ai-question-result,.boss-ai-question-history{margin:0 15px 15px}.boss-ai-question-result article,.boss-ai-question-history article{padding:13px;border:1px solid #dfe7f1;border-radius:10px;background:#f7faff}.boss-ai-question-history h4{margin:15px 0 8px;color:#68768a;font-size:9px}.boss-ai-question-history article+article{margin-top:7px}.boss-ai-question-result article>span,.boss-ai-question-history article>span{display:block;margin-bottom:7px;color:#4674ad;font-size:8px;font-weight:800}.boss-ai-question-result article>strong,.boss-ai-question-history article>strong{display:block;color:#2d405a;font-size:10px;line-height:1.65}.boss-ai-question-result article ul,.boss-ai-question-history article ul{padding-left:17px;color:#68788e;font-size:8px;line-height:1.55}.boss-ai-question-result article small,.boss-ai-question-history article small{color:#8793a3;font-size:8px}.boss-ai-history{padding:11px;display:grid;gap:7px}.boss-ai-history button{min-height:52px;padding:9px 11px;display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #e1e7ef;border-radius:9px;color:#35455b;background:#fff;text-align:left}.boss-ai-history button.active{border-color:#9fc0ef;background:#f1f7ff}.boss-ai-history button>span{display:flex;flex-direction:column;gap:3px}.boss-ai-history strong{font-size:10px}.boss-ai-history small{max-width:190px;overflow:hidden;color:#8491a3;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.boss-ai-history em{padding:4px 7px;border-radius:999px;color:#4774ac;background:#edf4fd;font-size:8px;font-style:normal;font-weight:800}
@media(max-width:1050px){.boss-ai-analysis-grid,.boss-ai-card-grid{grid-template-columns:1fr 1fr}.boss-ai-lower-grid{grid-template-columns:1fr}.boss-ai-actions{grid-template-columns:1fr}}
@media(max-width:820px){.boss-ai-hero{min-height:0;padding:21px 16px;border-radius:14px}.boss-ai-hero h2{font-size:21px}.boss-ai-privacy{display:none}.boss-ai-toolbar{padding:11px;align-items:stretch;flex-direction:column}.boss-ai-toolbar input{height:46px;font-size:16px}.boss-ai-toolbar button{min-height:46px}.boss-ai-connection{margin:0;text-align:center}.boss-ai-latest{margin:10px}.boss-ai-report-head{padding:15px;align-items:flex-start}.boss-ai-report-head h3{font-size:16px}.boss-ai-conclusion{margin:12px;padding:14px}.boss-ai-analysis-grid{padding:0 12px 12px;grid-template-columns:1fr}.boss-ai-section{padding:2px 12px 12px}.boss-ai-card-grid{grid-template-columns:1fr}.boss-ai-actions{margin:0 12px 12px;padding:15px}.boss-ai-data-quality{margin:0 12px 12px}.boss-ai-lower-grid .analytics-section{margin:10px}.boss-ai-question-section textarea{font-size:16px}.boss-ai-question-section form>div{align-items:stretch;flex-direction:column}.boss-ai-question-section form button{min-height:44px}}

/* v4.0 独立订单管理 */
.order-management-intro{background:linear-gradient(115deg,#fff,#f2f7ff)}
.order-policy{min-width:260px;padding:15px 18px;display:flex;flex-direction:column;gap:4px;border:1px solid #c9dcfa;border-radius:12px;background:#f3f8ff}
.order-policy span{color:#2770ca;font-size:9px;font-weight:900}.order-policy strong{color:#174e92;font-size:13px}.order-policy small{color:#7c8da4;font-size:8px}
.order-management-tools{align-items:end;gap:14px}.order-filter-group{flex:1;display:flex;align-items:end;gap:9px;flex-wrap:wrap}.order-management-tools .compact-field{width:auto;height:auto;padding:0;display:flex;flex-direction:column;align-items:flex-start;gap:5px;border:0;background:transparent}.order-management-tools .compact-field>span{color:#778497;font-size:8px;font-weight:800}.order-management-tools input,.order-management-tools select{height:36px;min-width:135px;padding:0 9px;border:1px solid #dfe5ed;border-radius:8px;color:#4e5b6f;background:#fff;font-size:10px}.order-management-tools .order-query-field{min-width:220px}.order-management-tools .order-query-field input{width:220px}.order-management-tools>.primary-button{min-height:36px;white-space:nowrap}
.order-management-metrics{padding:14px 18px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;border-bottom:1px solid #e4e9f0;background:#f6f8fb}.order-management-metrics article{min-height:91px;padding:13px 14px;display:flex;flex-direction:column;justify-content:center;border:1px solid #e0e7ef;border-radius:12px;background:#fff}.order-management-metrics article.featured{border-color:#aecdff;background:linear-gradient(145deg,#eaf3ff,#fff)}.order-management-metrics small{color:#8490a2;font-size:9px}.order-management-metrics strong{margin:7px 0 4px;color:#26364c;font-size:19px}.order-management-metrics span{color:#8a95a4;font-size:8px}.order-management-table table{min-width:1450px}.order-management-table td{vertical-align:top}.order-management-table td:first-child{min-width:95px}.order-management-table td>small,.order-management-table td>strong+small{display:block;margin-top:5px;color:#8793a3;font-size:8px}.receipt-list{display:grid;gap:5px}.receipt-link{color:#2269c9;font-size:9px;text-decoration:none}.receipt-link:hover{text-decoration:underline}.receipt-private{color:#7d8999;font-size:8px}
.order-cost-preview{padding:13px 15px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 12px;border:1px solid #c8dbfa;border-radius:10px;background:#f3f8ff}.order-cost-preview span{color:#647a99;font-size:9px;font-weight:800}.order-cost-preview strong{color:#1761bd;font-size:20px}.order-cost-preview small{grid-column:1/-1;color:#8291a4;font-size:8px}.checkbox-line{min-height:40px;padding:10px 12px;display:flex!important;flex-direction:row!important;align-items:center;border:1px solid #dde5ee;border-radius:9px;background:#fafbfd}.checkbox-line input{width:18px!important;height:18px!important;padding:0!important}.checkbox-line span{font-size:10px!important}
.payment-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.payment-section-head h3{margin-bottom:4px}.payment-section-head p{margin:0}.payment-section-head button{min-height:34px;padding-inline:11px;font-size:10px}.order-payment-list{display:grid;gap:10px;margin-top:12px}.order-payment-row{padding:12px;display:grid;grid-template-columns:1fr 1fr 1fr 1.2fr;gap:10px;border:1px solid #dfe6ef;border-radius:11px;background:#fafbfd}.order-payment-row label{min-width:0;display:flex;flex-direction:column;gap:5px}.order-payment-row label>span{color:#6d7888;font-size:8px;font-weight:700}.order-payment-row input,.order-payment-row select{width:100%;height:36px;padding:0 9px;border:1px solid #dce4ed;border-radius:7px;color:#334259;background:#fff;font-size:10px}.order-payment-row input[type=file]{padding:6px;font-size:8px}.order-payment-row .payment-note{grid-column:1/4}.payment-row-actions{display:flex;align-items:end;justify-content:flex-end;gap:8px}.payment-row-actions a,.payment-row-actions button{padding:6px 8px;border:1px solid #dce4ed;border-radius:6px;color:#2867b5;background:#fff;font-size:8px;text-decoration:none}.payment-row-actions button.danger{color:#b4454e}.customer-order-modal{width:min(980px,100%)}
@media(max-width:1100px){.order-management-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.order-payment-row{grid-template-columns:1fr 1fr}.order-payment-row .payment-note{grid-column:1/-1}.payment-row-actions{grid-column:1/-1}}
@media(max-width:820px){.nav-list{max-width:calc(100vw - 120px);overflow-x:auto}.order-management-intro{align-items:flex-start}.order-policy{display:none}.order-management-tools{align-items:stretch;flex-direction:column}.order-filter-group{display:grid;grid-template-columns:1fr 1fr}.order-management-tools .compact-field,.order-management-tools input,.order-management-tools select,.order-management-tools .order-query-field,.order-management-tools .order-query-field input{width:100%;min-width:0}.order-management-tools input,.order-management-tools select{height:44px;font-size:16px}.order-management-tools>.primary-button{min-height:44px}.order-management-metrics{padding:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.order-management-metrics article{min-height:84px;padding:11px}.order-management-metrics strong{font-size:17px}.order-management-table table{min-width:0}.order-payment-row{grid-template-columns:1fr}.order-payment-row .payment-note,.payment-row-actions{grid-column:auto}.order-payment-row input,.order-payment-row select{height:44px;font-size:16px}.payment-row-actions{align-items:stretch}.payment-row-actions>*{flex:1;text-align:center}.payment-section-head{align-items:stretch;flex-direction:column}.payment-section-head button{min-height:42px}}
@media(max-width:460px){.order-filter-group{grid-template-columns:1fr}.order-management-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v4.1 项目搜索、双成本快照与技术业绩 */
.order-management-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.order-management-table table{min-width:1720px}
.technical-performance-section table{min-width:820px}
.searchable-project-field{position:relative}
.searchable-project-field>label{display:flex;flex-direction:column;gap:6px}
.order-project-results{position:absolute;z-index:30;top:62px;right:0;left:0;max-height:320px;padding:6px;overflow:auto;border:1px solid #cbd9ec;border-radius:11px;background:#fff;box-shadow:0 16px 36px rgba(28,55,92,.18)}
.order-project-results button{width:100%;padding:10px 12px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;border:0;border-bottom:1px solid #edf1f6;color:#33435a;background:#fff;text-align:left;cursor:pointer}
.order-project-results button:last-child{border-bottom:0}.order-project-results button:hover{border-radius:8px;background:#f1f7ff}
.order-project-results button span{grid-column:1/-1;color:#718198;font-size:8px}.order-project-results button strong{min-width:0;overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.order-project-results button small{color:#5d7698;font-size:8px;white-space:nowrap}
.order-project-no-result{padding:18px;color:#8794a6;font-size:9px;text-align:center}
.order-project-selected{margin-top:8px;padding:11px 13px;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:3px 10px;border:1px solid #bcd6fa;border-radius:10px;background:#f3f8ff}
.order-project-selected span{color:#6e84a5;font-size:8px}.order-project-selected strong{color:#185ebc;font-size:11px}.order-project-selected small{grid-column:1/-1;color:#718198;font-size:8px}
.order-cost-preview{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:8px 12px}.order-cost-preview>div{padding-right:10px;display:flex;flex-direction:column;gap:4px;border-right:1px solid #d9e6f8}.order-cost-preview>div:last-of-type{border-right:0}.order-cost-preview strong{font-size:18px}
@media(max-width:1100px){.order-management-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){.order-management-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.order-project-results{top:68px}.order-project-results button{grid-template-columns:1fr}.order-project-results button small{white-space:normal}.order-project-selected{grid-template-columns:1fr}.order-project-selected small{grid-column:auto}.order-cost-preview{grid-template-columns:1fr}.order-cost-preview>div{padding:0 0 8px;border-right:0;border-bottom:1px solid #d9e6f8}.order-cost-preview>div:last-of-type{padding-bottom:0;border-bottom:0}}

/* v4.2 目标规划与完成 */
.goal-planning-panel{overflow:hidden}.goal-hero{min-height:185px;padding:29px 34px;display:flex;align-items:center;justify-content:space-between;gap:28px;border-radius:14px 14px 0 0;color:#fff;background:radial-gradient(circle at 82% 5%,rgba(75,189,184,.38),transparent 36%),linear-gradient(120deg,#082f38,#075e69 58%,#118c8a)}.goal-hero h2{margin:7px 0 10px;font-size:27px}.goal-hero p:not(.eyebrow){max-width:710px;margin:0;color:#c7e6e5;font-size:11px;line-height:1.7}.goal-hero-score{min-width:210px;padding:17px 20px;display:flex;flex-direction:column;align-items:flex-end;gap:5px;border:1px solid rgba(255,255,255,.22);border-radius:15px;background:rgba(255,255,255,.1)}.goal-hero-score span{color:#b6dfdc;font-size:9px;font-weight:900}.goal-hero-score strong{font-size:32px;line-height:1}.goal-hero-score small{color:#d3e9e8;font-size:9px}.goal-toolbar{padding:13px 18px;display:flex;align-items:end;gap:11px;border-bottom:1px solid #e4e9ef;background:#f8fafc}.goal-toolbar .compact-field{display:flex;flex-direction:column;gap:5px}.goal-toolbar .compact-field span{color:#78869a;font-size:8px;font-weight:800}.goal-toolbar input{height:38px;padding:0 10px;border:1px solid #dce4ee;border-radius:9px;color:#34435a;background:#fff;font-size:11px}.goal-toolbar-note{min-width:0;margin-right:auto;display:flex;flex-direction:column;gap:4px}.goal-toolbar-note strong{color:#33445b;font-size:11px}.goal-toolbar-note strong[data-status="risk"]{color:#b2474e}.goal-toolbar-note strong[data-status="warning"]{color:#996113}.goal-toolbar-note strong[data-status="good"]{color:#08775a}.goal-toolbar-note small{color:#8491a3;font-size:8px}.goal-toolbar button{min-height:38px;white-space:nowrap}
.goal-summary-metrics{padding:14px 18px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;border-bottom:1px solid #e4e9f0;background:#f5f8fa}.goal-summary-metrics article{min-height:93px;padding:13px 14px;display:flex;flex-direction:column;justify-content:center;border:1px solid #dfe7ed;border-radius:12px;background:#fff}.goal-summary-metrics article.featured{border-color:#acd9d5;background:linear-gradient(145deg,#e8f7f5,#fff)}.goal-summary-metrics small{color:#82909f;font-size:8px}.goal-summary-metrics strong{margin:7px 0 5px;color:#25384c;font-size:19px}.goal-summary-metrics .featured strong{color:#087b73}.goal-summary-metrics span{color:#8895a4;font-size:8px;line-height:1.4}
.goal-departments{padding:14px 18px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;background:#fff}.goal-department-card{padding:13px 14px;border:1px solid #dfe7ee;border-radius:11px;background:#fbfcfd}.goal-department-card.has-risk{border-color:#efd0c7;background:#fff9f7}.goal-department-card>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px}.goal-department-card span{color:#596a7f;font-size:10px;font-weight:800}.goal-department-card strong{color:#087a70;font-size:17px}.goal-department-card.has-risk strong{color:#b04a45}.goal-department-card small{display:block;margin-top:7px;color:#8490a0;font-size:8px}.goal-progress-track{height:6px;overflow:hidden;border-radius:999px;background:#e6edf1}.goal-progress-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#10a18f,#3cc2ab)}.has-risk .goal-progress-track i,.status-danger .goal-progress-track i{background:linear-gradient(90deg,#e05f62,#f08b6d)}.status-warning .goal-progress-track i{background:linear-gradient(90deg,#df9c2f,#f1bf52)}
.goal-planning-panel>.analytics-section{margin:0 18px 16px;border:1px solid #e2e8ef;border-radius:13px;overflow:hidden;background:#fff}.goal-table table{min-width:1320px}.goal-table td{vertical-align:middle}.goal-table td:first-child{min-width:215px}.goal-table td:first-child strong,.goal-table td:first-child small,.goal-table td:nth-child(2) small,.goal-table td:nth-child(3) small,.goal-table td:nth-child(7) small{display:block}.goal-table td:first-child strong{margin-top:5px;color:#26384f;font-size:11px}.goal-table td:first-child small,.goal-table td:nth-child(2) small,.goal-table td:nth-child(3) small,.goal-table td:nth-child(7) small{margin-top:4px;color:#8793a2;font-size:8px}.goal-department-label{display:inline-flex;padding:3px 6px;border-radius:6px;color:#08766c;background:#e5f7f4;font-size:8px;font-weight:900}.goal-rate-cell{min-width:100px;display:flex;flex-direction:column;gap:6px}.goal-rate-cell strong{font-size:11px}.goal-status{display:inline-flex;width:max-content;padding:4px 7px;border-radius:999px;font-size:8px;font-style:normal;font-weight:900}.goal-status.good{color:#08775a;background:#e4f7ef}.goal-status.warning{color:#96610e;background:#fff2d7}.goal-status.danger{color:#b34249;background:#fde9eb}.goal-status.neutral{color:#687587;background:#edf1f5}.danger-text{color:#b44249;font-weight:800}.goal-row-actions{min-width:120px;display:flex;flex-wrap:wrap;gap:5px}.table-action{padding:5px 7px;border:1px solid #cddbf0;border-radius:6px;color:#2865ae;background:#f5f8fd;font-size:8px;font-weight:800}.table-action.danger{color:#b2474d;border-color:#eccbcc;background:#fff7f6}
.goal-task-grid{padding:14px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.goal-task-card{min-width:0;padding:14px;border:1px solid #dfe7ed;border-left:4px solid #5a9e98;border-radius:11px;background:#fff}.goal-task-card.status-danger{border-left-color:#df6568;background:#fffafa}.goal-task-card.status-warning{border-left-color:#dca03c;background:#fffdf8}.goal-task-head,.goal-task-meta{display:flex;align-items:center;justify-content:space-between;gap:10px}.goal-task-head>span{color:#5c7289;font-size:8px;font-weight:900}.goal-task-card h4{margin:10px 0 7px;color:#273a51;font-size:11px;line-height:1.5}.goal-task-card>p{min-height:30px;margin:0 0 9px;color:#6d7a8b;font-size:8px;line-height:1.55}.goal-task-note{display:block;margin:-2px 0 9px;color:#317061;font-size:8px;line-height:1.5}.goal-task-card>.goal-progress-track{margin:10px 0 7px}.goal-task-meta span{color:#8390a0;font-size:8px}.goal-task-meta strong{color:#2a655e;font-size:10px}.goal-task-card>.goal-row-actions{margin-top:10px}
.goal-year-grid{padding:14px;display:grid;grid-template-columns:repeat(12,minmax(76px,1fr));gap:7px;overflow-x:auto}.goal-year-grid button{position:relative;min-height:92px;padding:10px 8px;display:flex;flex-direction:column;align-items:flex-start;gap:5px;border:1px solid #dfe6ed;border-radius:10px;color:#415066;background:#fbfcfd;text-align:left}.goal-year-grid button:hover,.goal-year-grid button.active{border-color:#7ac4bd;background:#edf9f7}.goal-year-grid button>span{font-size:9px;font-weight:900}.goal-year-grid button>strong{color:#087c72;font-size:16px}.goal-year-grid button>small{color:#8290a0;font-size:7px;line-height:1.5}.goal-year-grid button>em{position:absolute;right:6px;top:6px;padding:3px 5px;border-radius:999px;color:#b3484d;background:#fde9eb;font-size:7px;font-style:normal;font-weight:900}
.goal-ai-result{padding:14px}.goal-ai-empty{min-height:110px;padding:20px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;border:1px dashed #cfdae6;border-radius:11px;color:#8793a2;text-align:center}.goal-ai-empty strong{color:#43536a;font-size:12px}.goal-ai-empty span{font-size:9px}.goal-ai-empty.error{border-color:#ecc4c6;background:#fff8f8}.goal-ai-empty.error strong{color:#ad4149}.goal-ai-conclusion{padding:14px 16px;display:flex;flex-direction:column;gap:6px;border-left:4px solid #0e9183;border-radius:0 10px 10px 0;background:#edf9f7}.goal-ai-conclusion.status-danger{border-color:#d9545d;background:#fff3f3}.goal-ai-conclusion.status-warning{border-color:#d69a2e;background:#fff9ed}.goal-ai-conclusion>span{font-size:8px;font-weight:900}.goal-ai-conclusion>strong{color:#294257;font-size:11px;line-height:1.6}.goal-ai-conclusion>small{color:#8592a0;font-size:8px}.goal-ai-columns{margin-top:10px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.goal-ai-columns>section{padding:12px;border:1px solid #e0e7ed;border-radius:10px}.goal-ai-columns h4{margin:0 0 8px;color:#33465c;font-size:10px}.goal-ai-columns article{padding:9px;border-radius:8px;background:#f8fafb}.goal-ai-columns article+article{margin-top:7px}.goal-ai-columns article>strong{display:block;margin:6px 0 4px;color:#314359;font-size:9px}.goal-ai-columns article>p{margin:0;color:#68788b;font-size:8px;line-height:1.55}.goal-ai-columns article>small{display:block;margin-top:5px;color:#4e7182;font-size:7px;line-height:1.45}.goal-ai-action{display:grid!important;grid-template-columns:26px 1fr;gap:8px}.goal-ai-action>b{width:24px;height:24px;display:grid;place-items:center;border-radius:7px;color:#fff;background:#087e72;font-size:9px}.goal-ai-action>div>strong{margin-top:0}.goal-ai-notes{margin-top:10px;padding:10px 12px;display:flex;flex-wrap:wrap;gap:7px;border-radius:9px;color:#718090;background:#f5f7fa;font-size:8px}.goal-ai-notes strong{color:#42536a}.goal-log-list{padding:10px 14px 14px;display:grid;gap:7px}.goal-log-list>article{padding:10px 11px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;border:1px solid #e1e7ed;border-radius:9px}.goal-log-list>article>span{padding:4px 7px;border-radius:6px;color:#406d7e;background:#eaf5f4;font-size:8px;font-weight:900}.goal-log-list strong{color:#34465b;font-size:9px}.goal-log-list p{margin:3px 0 0;color:#7a8797;font-size:8px}.goal-log-list>article>small{color:#8591a0;font-size:8px;white-space:nowrap}.goal-modal{width:min(820px,100%)}
@media(max-width:1200px){.goal-summary-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.goal-departments{grid-template-columns:repeat(2,minmax(0,1fr))}.goal-task-grid,.goal-ai-columns{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.goal-hero{min-height:0;padding:21px 16px;border-radius:14px}.goal-hero h2{font-size:21px}.goal-hero-score{display:none}.goal-toolbar{padding:11px;align-items:stretch;flex-direction:column}.goal-toolbar input,.goal-toolbar button{width:100%;min-height:44px;font-size:16px}.goal-toolbar-note{padding:5px 2px}.goal-summary-metrics{padding:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.goal-summary-metrics article{min-height:84px;padding:11px}.goal-summary-metrics strong{font-size:17px}.goal-departments{padding:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.goal-planning-panel>.analytics-section{margin:0 10px 10px}.goal-table table{min-width:0}.goal-task-grid,.goal-ai-columns{grid-template-columns:1fr}.goal-year-grid{grid-template-columns:repeat(12,92px)}.goal-log-list>article{grid-template-columns:auto 1fr}.goal-log-list>article>small{grid-column:2;white-space:normal}}
@media(max-width:480px){.goal-departments{grid-template-columns:1fr}.goal-summary-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
.technical-task-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.technical-task-card{border:1px solid #dce5f2;border-radius:16px;padding:16px;background:#fff;display:grid;gap:10px}.technical-task-card.overdue{border-color:#f2a8a8;background:#fff8f8}.technical-task-card h4,.technical-task-card p{margin:0}.technical-task-card small{color:#64748b}.task-priority,.overdue-tag{display:inline-flex;padding:3px 9px;border-radius:999px;font-size:12px;font-weight:700;margin-right:6px}.priority-紧急,.overdue-tag{background:#fee2e2;color:#b91c1c}.priority-高{background:#ffedd5;color:#c2410c}.priority-普通{background:#dbeafe;color:#1d4ed8}.priority-低{background:#e2e8f0;color:#475569}@media(max-width:900px){.technical-task-board{grid-template-columns:1fr}}

/* v4.6 订单联动报表、当月下载与销售必选 */
.customer-ledger-actions{display:flex;align-items:end;gap:10px}.customer-ledger-actions .ghost-button{min-height:36px;white-space:nowrap}.unassigned-sales{color:#c13f47!important;font-weight:900}.order-toolbar-actions{display:flex;align-items:center;gap:8px}.order-toolbar-actions button{min-height:36px;white-space:nowrap}.monthly-order-metrics{padding:14px 0 0!important;border:0!important;background:transparent!important}.monthly-order-metrics article{min-height:92px}.customer-analytics-panel>.analytics-section .monthly-order-metrics{margin:0}.customer-analytics-panel>#analytics-warning-section{margin-bottom:14px}
@media(max-width:820px){.customer-ledger-actions{width:100%;align-items:stretch;flex-direction:column}.customer-ledger-actions .ghost-button{min-height:44px}.order-toolbar-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.order-toolbar-actions button{min-height:44px}.monthly-order-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:460px){.order-toolbar-actions{grid-template-columns:1fr}}
.wecom-login-link{display:block;margin-top:14px;padding:13px 18px;border:1px solid #d8e2ef;border-radius:12px;color:#1769e0;text-align:center;font-weight:700;text-decoration:none;background:#f7faff}

/* v4.8.3 手机端导航与窄屏布局修复 */
@media(max-width:820px){
  .sidebar .nav-list{width:100%;max-width:none;margin:0;padding:0 2px;overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
  .sidebar .nav-item{flex:0 0 68px;min-width:68px;max-width:68px;scroll-snap-align:center}
  .workspace{max-width:100%;overflow-x:hidden}
  .admin-panel,.view-section,.analytics-section{max-width:100%;min-width:0}
  .table-wrap td>*{min-width:0;overflow-wrap:anywhere}
  .topbar>div:first-child{min-width:0}.topbar h1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
@media(max-width:380px){
  .mobile-account>span:nth-child(2){display:none}
  .mobile-account{gap:5px}
  .mobile-account button{min-width:34px;padding-inline:6px}
  .demand-period{grid-template-columns:repeat(2,1fr)}
}
