:root{--bg:#fff;--surface:#fff;--ink:#1d1d1f;--muted:#6e6e73;--line:#e5e5ea;--accent:#0071e3;--accent-bg:#edf5ff;--red:#b42328;--orange:#946200;--radius:14px;--shadow:0 20px 70px #161b2426;color:var(--ink);font:15px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI Variable","Segoe UI","Microsoft YaHei",sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg)}::selection{background:#cce5ff}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}button,a,input,select,textarea{outline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #73b5f8}a,.link-btn{color:var(--accent)}h1,h2,h3,p{margin:0}h1{font-size:32px;letter-spacing:-1px;font-weight:650;line-height:1.25}h2{font-size:20px;letter-spacing:-.4px;font-weight:600}h3{font-size:16px;font-weight:600}svg{vertical-align:middle;flex-shrink:0}input,select,textarea{background:#fff;border:1px solid #c8c8ce;border-radius:8px;padding:9px 12px;min-height:40px;max-width:100%;font-size:14px;caret-color:var(--accent)}textarea{width:100%;min-height:86px;resize:vertical}input::placeholder,textarea::placeholder{color:#77777c}input[type=checkbox]{min-height:0;width:17px;height:17px;accent-color:var(--accent);margin:0}input[type=date]{min-width:140px}.sidebar{position:fixed;inset:0 auto 0 0;width:212px;z-index:30;background:#f5f5f7dd;border-right:1px solid #e1e1e5;backdrop-filter:blur(22px);display:flex;flex-direction:column;padding:29px 14px 18px}.brand{padding:0 17px 35px}.brand strong{font-size:24px;font-weight:700;letter-spacing:-1px}.brand strong span{font-size:11px;letter-spacing:0;font-weight:500;margin-left:7px;color:#626268}.brand p{font-size:12px;color:var(--muted);margin-top:5px}.nav-label{font-size:11px;font-weight:550;color:#77777c;padding:0 13px;margin:23px 0 9px}.nav-btn{width:100%;border:0;border-radius:7px;background:transparent;display:flex;align-items:center;text-align:left;gap:11px;padding:10px 13px;color:#4c4c51;min-height:42px;font-size:14px;margin:3px 0}.nav-btn svg{color:#77777c;width:18px}.nav-btn:hover{background:#e8e8ed}.nav-btn.active{background:#e1ebf9;color:#064e9a;font-weight:600}.nav-btn.active svg{color:#0071e3}.nav-count,.nav-end{margin-left:auto;font-size:11px;color:#646469}.nav-count{min-width:22px;text-align:center;background:#e4e4ea;padding:1px 5px;border-radius:5px}.sidebar-bottom{margin-top:auto;padding-top:24px}.build-label{font-size:10px;color:#74747b;border-top:1px solid #dfdfe5;margin:15px 10px 0;padding-top:14px}.build-label span{float:right}.workspace{margin-left:212px}.topbar{height:66px;padding:0 40px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);background:#ffffffeb;backdrop-filter:blur(18px);position:sticky;top:0;z-index:25}.crumb{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted)}.top-right{display:flex;gap:12px;align-items:center}.account-switch{font-size:12px;color:var(--muted);display:flex;gap:9px;align-items:center}.account-switch select{min-height:32px;border:0;background:#f5f5f7;font-size:12px;padding:6px 10px;max-width:200px}.avatar{width:29px;height:29px;border-radius:50%;background:#e8e8ed;color:#666670;display:grid;place-items:center;font-size:12px}.prototype-ribbon{padding:8px 40px;background:#fafafa;font-size:11px;border-bottom:1px solid #efeff1;color:#737379;display:flex;justify-content:space-between;gap:15px}.content{max-width:1560px;margin:auto;padding:36px 40px 65px}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}.page-head p{color:var(--muted);font-size:13px;margin-top:9px;line-height:1.6}.page-head>div:last-child:has(button){display:flex;gap:9px;align-items:center;flex-wrap:wrap}.btn{display:inline-flex;gap:7px;align-items:center;justify-content:center;border:1px solid #d7d7dd;background:#fff;border-radius:8px;padding:8px 14px;min-height:37px;font-size:13px;white-space:nowrap;transition:background .15s,border-color .15s}.btn:hover{background:#f5f5f7}.btn.primary{background:#0071e3;border-color:#0071e3;color:white}.btn.primary:hover{background:#0077ed}.btn.ghost{border-color:transparent;background:transparent}.btn.ghost:hover{background:#ececf1}.btn.small{min-height:31px;font-size:12px;padding:5px 10px}.btn.icon-only{min-width:30px;padding:6px}.btn.danger{color:#b42328;border-color:#e7bbbb}.btn.mobile-menu{display:none}.link-btn{background:none;border:0;padding:0;text-align:left;font-size:inherit}.link-btn:hover{text-decoration:underline;text-underline-offset:3px}.muted{color:var(--muted)}.small-text,small{font-size:12px;line-height:1.7}.spaced{margin-top:20px}.notice{padding:13px 16px;border:1px solid #e4e8ee;border-radius:9px;background:#f7f9fc;color:#546170;font-size:13px;line-height:1.7;margin-bottom:18px}.notice.warning{background:#fbf8ee;color:#79580c;border-color:#eee4cb}.notice.danger{background:#fff4f3;color:#a73535;border-color:#f0d8d5}.notice.info{background:#f2f7ff;color:#386595;border-color:#dfeaf6}.panel{border:1px solid var(--line);border-radius:12px;background:white;margin-bottom:22px;overflow:hidden}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:20px 23px;border-bottom:1px solid var(--line)}.panel-head p{font-size:12px;color:var(--muted);margin-top:6px;line-height:1.7}.panel-body{padding:23px}.panel-footer{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 22px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.toolbar{padding:14px 22px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;border-bottom:1px solid var(--line)}.toolbar input[type=search]{width:220px}.toolbar label{font-size:13px;display:flex;align-items:center;gap:7px}.push{margin-left:auto}.toolbar select{font-size:13px;min-height:36px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:14px;text-align:left;font-variant-numeric:tabular-nums}th{font-size:12px;color:#69696f;font-weight:500;background:#fafafa;padding:12px 20px;border-bottom:1px solid var(--line)}td{padding:16px 20px;border-bottom:1px solid #ececf0;vertical-align:middle}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafbfc}.num{text-align:right}.strong{font-weight:600}.empty{padding:50px 24px;text-align:center;font-size:14px;color:var(--muted);line-height:1.8}.badge{font-size:11px;padding:3px 7px;border-radius:5px;display:inline-flex;align-items:center;white-space:nowrap;line-height:1.5;font-weight:500}.badge.green{background:#edf7ee;color:#28713d}.badge.orange{background:#fbf2df;color:#8b600b}.badge.red{background:#fff0ef;color:#b33f3e}.badge.blue{background:#edf5ff;color:#2468a9}.badge.gray{background:#f0f0f3;color:#65656c}.tabs{display:flex;gap:24px;overflow:auto}.tab{border:0;background:none;border-bottom:2px solid transparent;color:#74747b;padding:13px 1px;font-size:14px;white-space:nowrap}.tab.active{color:#1d1d1f;border-bottom-color:#1d1d1f;font-weight:600}.tab .count{font-size:11px;margin-left:7px}.tabs.compact{gap:20px}.segmented{display:inline-flex;border:1px solid #e1e1e6;background:#f1f1f4;padding:3px;border-radius:8px;gap:2px}.segmented button{border:0;border-radius:5px;background:none;color:#67676e;padding:6px 14px;font-size:12px;min-height:30px}.segmented button.active{background:#fff;box-shadow:0 1px 3px #0000001a;color:#1d1d1f}.home-filters{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:26px;flex-wrap:wrap}.filter-left,.utility-row{display:flex;gap:11px;align-items:center;flex-wrap:wrap}.home-filters select{font-size:12px;min-height:36px}.date-range{font-size:12px;color:var(--muted)}.field{display:flex;flex-direction:column;gap:7px;color:#525258;font-size:13px}.field input,.field select{width:100%}.field small{color:var(--muted);font-size:11px;line-height:1.7}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}.form-grid .full{grid-column:1/-1}.form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:24px}.section-label{font-size:13px;font-weight:600;margin:22px 0 12px}.check-row{display:flex;align-items:center;gap:12px;padding:11px 13px;background:#f5f5f7;border-radius:8px;margin:7px 0}.check-row label{display:flex;gap:9px;align-items:center;flex:1}.check-list{display:flex;flex-direction:column;gap:4px}.row-actions{display:flex;gap:8px;align-items:center}.pagination{display:flex;align-items:center;gap:12px}.split-inline{display:flex;justify-content:space-between;align-items:center;gap:15px}.subtle-rule{font-size:12px;color:#6e6e73;line-height:1.8}.error-text{font-size:13px;color:#b42328;margin-top:12px}.plain-list{padding-left:22px;font-size:14px;line-height:2;color:#55555b}.sr-only,.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.dashboard{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:24px;margin:12px 0 28px}.dashboard-widget{grid-column:span 4;border:1px solid #e6e6eb;border-radius:14px;min-width:0;background:#fff;position:relative}.dashboard-widget.wide{grid-column:span 8}.dashboard-widget.full-width{grid-column:span 12}.dashboard-widget.metric-widget{border:0;border-radius:0;border-right:1px solid #e1e1e6;padding-right:25px}.dashboard-widget.metric-widget:last-child{border-right:0}.widget-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 24px 0}.metric-widget .widget-head{padding:0}.widget-head h2{font-size:15px;letter-spacing:0;font-weight:500;color:#5d5d64}.widget-menu{background:none;border:0;color:#6e6e73;width:29px;height:29px;border-radius:50%;display:grid;place-items:center}.widget-menu:hover{background:#eeeef2;color:#1d1d1f}.widget-value{font-size:45px;font-weight:600;letter-spacing:-1.6px;margin:10px 0 13px;font-variant-numeric:tabular-nums;line-height:1.2}.widget-value .currency{font-size:23px;font-weight:400;letter-spacing:0;margin-right:4px}.widget-foot{color:#76767e;font-size:12px;line-height:1.7}.widget-body{padding:10px 24px 23px}.metric-widget .widget-body{padding:0}.metric-widget .widget-value{margin:15px 0 10px}.widget-editor{background:#f5f7fa;padding:18px;border-radius:10px;margin:14px 0;box-shadow:0 5px 20px #00000008}.widget-editor .form-grid{gap:12px}.widget-editor .form-actions{flex-wrap:wrap;justify-content:flex-start;margin-top:16px}.widget-editor input,.widget-editor select{font-size:12px;min-height:35px}.table-widget .widget-head{padding-bottom:20px}.table-widget table th{background:#fafafa}.aside-list{padding:0 24px}.aside-row{display:flex;align-items:center;gap:13px;padding:18px 0;border-bottom:1px solid #e9e9ed;font-size:13px}.aside-row:last-child{border:0}.aside-row>div{flex:1}.aside-row small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.aside-row strong{font-size:19px;font-weight:550}.dot{width:6px;height:6px;border-radius:50%;background:#d79422}.workbench-tabs{margin-bottom:22px;padding-bottom:2px;border-bottom:1px solid var(--line)}.workbench-tabs .tab{font-size:13px}.add-widget-slot{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted)}.knowledge-row{padding:21px 0;border-bottom:1px solid #e9e9ed;display:flex;justify-content:space-between;align-items:center;gap:18px}.knowledge-row:last-child{border:0}.knowledge-row h3{font-size:15px}.knowledge-row p{font-size:12px;color:var(--muted);margin-top:6px}.source-line{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted);padding:15px 22px;border-top:1px solid var(--line)}.data-flow{display:flex;align-items:center;gap:20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:25px 0;margin-bottom:30px}.data-flow>div{flex:1}.data-flow b{display:block;font-size:16px;font-weight:550;margin-bottom:5px}.data-flow p{font-size:12px;color:var(--muted)}.schema-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.quiet-summary{border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;gap:40px;padding:22px 0;margin:24px 0}.quiet-summary b{display:block;font-size:30px;font-weight:550;letter-spacing:-1px}.quiet-summary small{display:block;color:var(--muted)}
.customer-name{display:flex;align-items:center;gap:10px;min-width:170px}.customer-name b{font-size:14px;font-weight:500;display:block}.customer-name small{display:block;color:#76767e;font-size:11px;max-width:190px;overflow:hidden;text-overflow:ellipsis}.customer-symbol{display:none}.platform-icon{display:inline-grid;place-items:center;width:23px;height:23px;border-radius:5px;font-size:11px;background:#f3f3f5;color:#73737a;margin-right:4px;font-weight:600}.platform-icon.tb{color:#c95e00;background:#fff3e8}.platform-icon.ali{font-size:8px;color:#a95311;background:#fff4e9}.platform-icon.wx{color:#338649;background:#eef8f0}.platform-label{display:inline-flex;align-items:center;gap:7px}.reason-cell{white-space:normal;min-width:235px;max-width:430px;font-size:13px;color:#5b5b63;line-height:1.7}.reason-cell .badge{margin-bottom:5px}.contact-cell{min-width:130px}.phone-line{font-size:13px;font-variant-numeric:tabular-nums}.phone-line button{border:0;background:none;color:#6e6e73;padding:0;margin-left:8px}.quota-banner{font-size:12px;color:#4c6481;padding:11px 15px;background:#f2f7fe;border-radius:8px;display:flex;align-items:center;gap:16px;margin-bottom:20px}.risk-overview{display:flex;border-bottom:1px solid var(--line);gap:40px;padding:5px 0 25px;margin-bottom:27px}.risk-tile{display:flex;gap:10px;align-items:center}.risk-tile .tile-icon{display:none}.risk-tile strong{font-size:28px;font-weight:550}.risk-tile p{font-size:12px;color:var(--muted)}.drawer-backdrop,.modal-backdrop{position:fixed;inset:0;background:#161b244d;backdrop-filter:blur(3px);z-index:70}.drawer{position:fixed;inset:0 0 0 auto;width:min(660px,95vw);background:white;overflow:auto;z-index:71;box-shadow:var(--shadow);animation:open-panel .2s ease-out}.drawer-header{display:flex;justify-content:space-between;gap:15px;position:sticky;top:0;background:#fffffff5;z-index:2;border-bottom:1px solid var(--line);padding:23px 28px}.drawer-title h2{font-size:22px}.drawer-title p{font-size:12px;color:var(--muted);margin-top:5px}.drawer-body{padding:27px}.detail-list{display:grid;grid-template-columns:1fr 1fr;gap:22px;font-size:14px}.detail-list dt{font-size:12px;color:var(--muted);margin-bottom:8px}.detail-list dd{margin:0}.detail-list .full{grid-column:1/-1}.mini-kpis{display:grid;grid-template-columns:repeat(3,1fr);margin:25px 0;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.mini-kpis b{display:block;font-size:24px;font-weight:550}.mini-kpis small{font-size:11px;color:var(--muted);display:block;margin-top:4px}.timeline{border-left:1px solid #d8d8df;margin:25px 0;padding-left:20px}.timeline-item{font-size:13px;padding-bottom:24px;line-height:1.8}.timeline-item time{display:block;color:var(--muted);font-size:11px}.modal-backdrop{z-index:80}.modal{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:81;width:min(720px,calc(100vw - 32px));background:#fff;border-radius:16px;max-height:90vh;overflow:auto;box-shadow:var(--shadow)}.modal-head{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:22px 26px;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:2}.modal-body{padding:25px 26px}.toast-stack{position:fixed;left:calc(50% + 106px);bottom:24px;transform:translateX(-50%);z-index:100;pointer-events:none}.toast{background:#28282ef2;color:white;font-size:13px;line-height:1.6;border-radius:10px;padding:12px 20px;box-shadow:0 6px 24px #0002;max-width:550px;margin-top:7px}.chat-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px}.chat-suggestions{padding:20px;background:#f5f5f7;border-radius:14px}.chat-suggestions h3{margin-bottom:20px}.chat-suggestions .btn{width:100%;justify-content:flex-start;text-align:left;white-space:normal;line-height:1.7;padding:12px;margin:5px 0}.chat-suggestions p{font-size:12px;color:var(--muted);line-height:1.8;margin-top:17px}.chat-messages{overflow:auto;max-height:560px;min-height:300px;padding:24px}.chat-bubble{padding:21px;border:1px solid #e6e6eb;border-radius:14px;margin-bottom:16px;line-height:1.8;font-size:14px;max-width:96%;overflow:auto}.chat-bubble.user{background:#edf5ff;border-color:#e2edfa;margin-left:auto;max-width:85%}.chat-compose{display:flex;gap:10px;padding:18px 22px;border-top:1px solid var(--line)}.chat-compose input,.chat-compose textarea{flex:1;min-width:0}.chat-compose .btn{align-self:flex-end}.home-question{border:0;border-top:1px solid var(--line);border-radius:0;margin:28px 0}.home-question .panel-body{padding:22px 0}.home-question .chat-compose{padding:15px 0 0!important}.eyebrow{display:none}.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:20px 0}.metric{border:0;border-right:1px solid var(--line);padding:15px 20px;background:#fff}.metric:last-child{border-right:0}.metric h2{font-size:29px;font-weight:550;margin-top:9px}.permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.app-footer{font-size:11px;color:var(--muted);text-align:center;margin-top:30px}.steps{display:flex;gap:12px;padding:18px}.step{flex:1;background:#f5f5f7;border-radius:6px;padding:10px 12px;font-size:12px;color:var(--muted)}.step.active{background:#edf5ff;color:#0071e3}.upload-zone{padding:30px;border:1px dashed #b9b9c3;border-radius:10px;text-align:center;background:#fafafa;line-height:1.9;margin:18px 0}
@keyframes open-panel{from{transform:translateX(14px);opacity:.8}to{transform:translateX(0);opacity:1}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media(min-width:1600px){.content{padding-top:42px}.widget-value{font-size:52px}}@media(max-width:1250px){.sidebar{width:192px}.workspace{margin-left:192px}.content{padding:30px 28px}.topbar{padding:0 28px}.widget-value{font-size:36px}.dashboard{gap:18px}.toast-stack{left:calc(50% + 96px)}td,th{padding-left:16px;padding-right:16px}.prototype-ribbon{padding-left:28px;padding-right:28px}}@media(max-width:1000px){.dashboard-widget.wide{grid-column:span 12}.dashboard-widget:not(.metric-widget){grid-column:span 12}.schema-grid{grid-template-columns:1fr}.chat-layout{grid-template-columns:1fr}.chat-suggestions{display:flex;gap:8px;flex-wrap:wrap}.chat-suggestions h3{width:100%;margin:0}.chat-suggestions .btn{width:auto;max-width:260px}.chat-suggestions p{display:none}.form-grid{gap:15px}.risk-overview{gap:25px}.widget-value{font-size:32px}}@media(max-width:760px){.sidebar{width:212px;transform:translateX(-100%);transition:transform .2s;box-shadow:var(--shadow)}body.menu-open .sidebar{transform:translateX(0)}.workspace{margin:0}.btn.mobile-menu{display:inline-flex}.topbar{height:59px;padding:0 17px}.content{padding:27px 19px 45px}.prototype-ribbon{padding:7px 19px;font-size:10px}.prototype-ribbon span:last-child{display:none}.page-head{flex-wrap:wrap;gap:14px;margin-bottom:25px}.page-head h1{font-size:28px}.page-head p{font-size:12px}.account-switch{font-size:0}.account-switch select{max-width:150px}.avatar{display:none}.dashboard{gap:20px}.dashboard-widget.metric-widget{grid-column:span 6;border:0;padding-right:0}.widget-value{font-size:33px}.widget-head{padding:17px 18px 0}.widget-head h2{font-size:13px}.widget-body{padding:14px 18px}.metric-widget .widget-head{padding:0}.metric-widget .widget-value{margin-top:9px}.home-filters{gap:12px}.form-grid,.permission-grid{grid-template-columns:1fr}.panel-head,.panel-body,.toolbar{padding:18px}.tabs{gap:19px}.tab{font-size:13px}.quiet-summary{gap:22px;flex-wrap:wrap}.data-flow{gap:15px;flex-wrap:wrap}.data-flow>div{min-width:135px}.risk-overview{gap:24px;overflow:auto}.quota-banner{flex-wrap:wrap;gap:8px}.toast-stack{left:50%;width:90%}.panel-footer{flex-wrap:wrap;padding:14px 18px}.modal-body{padding:22px}.modal-head{padding:18px 22px}.chat-compose{padding:14px}.chat-bubble{max-width:100%;padding:16px}.chat-messages{padding:15px}.drawer-body{padding:22px}.mini-kpis b{font-size:20px}.kpi-grid{grid-template-columns:repeat(2,1fr)}.widget-editor .form-actions{gap:6px}.btn{font-size:12px}.build-label{font-size:10px}}

.dashboard-widget.panel{margin:0}.dashboard-widget>.panel{border:0;margin:0}.dashboard-widget:not(.metric-widget)>.widget-foot{padding:16px 24px;border-top:1px solid var(--line)}.dashboard-widget:not(.metric-widget)>.widget-editor{margin:16px}.metric-widget .widget-editor{min-width:260px}.home-question{padding:25px 0 0}.dot.blue{background:#0071e3}.check-label{display:flex!important;flex-direction:row!important;align-items:center;gap:7px}.check-label input{width:16px!important;min-height:auto!important}.column-picker .check-row{border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:8px;padding:5px 0}.column-picker label{display:flex;gap:7px;align-items:center}.column-picker input{min-height:auto}.work-summary{display:flex;gap:70px;margin:24px 0 34px;padding:10px 0 28px;border-bottom:1px solid var(--line)}.work-summary span{display:block;font-size:14px;color:var(--muted)}.work-summary strong{display:block;font-size:44px;font-weight:550;margin-top:12px;letter-spacing:-1px}.action-rows{padding:0 25px}.action-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 0;border-bottom:1px solid var(--line)}.action-row:last-child{border:0}.action-row p{font-size:13px;margin-top:8px}.dashboard-widget.metric-widget:nth-child(3){border-right:0}.visually-hidden,.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:760px){.work-summary{gap:30px}.work-summary strong{font-size:32px}.action-row{align-items:flex-start;flex-direction:column}.metric-widget:has(.widget-editor){grid-column:span 12}.widget-editor{min-width:0!important}.dashboard-widget.metric-widget .widget-head{gap:4px}}

[hidden]{display:none!important}.dashboard-widget:has(.widget-editor){grid-column:span 12}.dashboard-widget.metric-widget:has(.widget-editor){border-right:0}.widget-editor .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.widget-editor .column-picker{display:grid;grid-template-columns:1fr 1fr;gap:0 25px}@media(max-width:760px){.widget-editor .form-grid,.widget-editor .column-picker{grid-template-columns:1fr}}

/* Compact overview, matching the approved September 16 page comments. */
.dashboard{gap:16px;margin-top:6px}
.dashboard .dashboard-widget.metric-widget{background:#f5f5f7;border:0;border-radius:12px;padding:15px 20px 17px;align-self:start;min-height:106px}
.dashboard .metric-widget .widget-head{padding:0;min-height:28px}
.metric-field-control{display:flex;align-items:center;gap:8px;width:100%;min-width:0}
.metric-field-select{appearance:none;field-sizing:content;max-width:calc(100% - 36px);min-width:84px;min-height:28px;height:28px;padding:0 22px 0 0;border:0;border-radius:4px;background-color:transparent;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%236e6e73' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 3px center;color:#424247;font-size:15px;font-weight:500;cursor:pointer}
.metric-field-select:hover{color:#0071e3}
.metric-field-select:focus-visible{outline:2px solid #0071e3;outline-offset:3px}
.metric-confirm{border:0;border-radius:50%;width:28px;height:28px;flex:0 0 28px;padding:0;display:grid;place-items:center;background:#0071e3;color:#fff;cursor:pointer}
.metric-confirm:hover{background:#005fca}.metric-confirm:focus-visible{outline:2px solid #0071e3;outline-offset:3px}
.dashboard .metric-widget .widget-value{font-size:32px;line-height:1.15;font-weight:550;letter-spacing:-.7px;margin:9px 0 0}
.dashboard .metric-widget .widget-value .currency{font-size:19px;margin-right:4px}
.widget-text-action{padding:4px 8px;color:#6e6e73;min-height:28px}
@media(max-width:760px){.dashboard .dashboard-widget.metric-widget{padding:13px 15px;min-height:98px}.dashboard .metric-widget .widget-value{font-size:28px}.metric-field-select{font-size:13px;min-width:72px}.metric-field-control{gap:4px}.metric-confirm{width:26px;height:26px;flex-basis:26px}}

/* Customer columns sort only on double click; preserve the quiet table header. */
th:has(.customer-sort){padding:0 20px;user-select:none}
.customer-sort{display:inline-flex;align-items:center;gap:4px;min-height:42px;padding:0;border:0;border-radius:3px;background:none;color:inherit;font:inherit;text-align:inherit;cursor:pointer;user-select:none;white-space:nowrap}
.customer-sort:hover,.customer-sort.is-sorted{color:#0071e3}
.customer-sort:focus-visible{outline:2px solid #0071e3;outline-offset:3px}
.customer-sort-arrow{display:inline-block;min-width:9px;font-size:13px}
.order-number{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere;word-break:break-all}.contact-value{display:inline-block;max-width:220px;overflow-wrap:anywhere}.detail-list input#drawer-contact{width:100%;max-width:520px}
@media(max-width:1250px){th:has(.customer-sort){padding-left:16px;padding-right:16px}}
#sp-root .risk-overview{gap:12px;padding:16px 0;margin-bottom:20px;flex-wrap:wrap}
#sp-root button.risk-tile{appearance:none;border:1px solid var(--line);border-radius:8px;background:#f5f5f7;padding:10px 14px;cursor:pointer;color:var(--text);min-width:150px}
#sp-root button.risk-tile:hover{background:#ededf1}
#sp-root .risk-tile>div{display:flex;align-items:center;gap:10px}
#sp-root .risk-tile strong{font-size:21px;line-height:1.2}
#sp-root .risk-tile p{margin:0;font-size:12px}

.platform-icon.pdd{background:#fdeceb;color:#c0392b}
.platform-icon.off{background:#eef1f5;color:#44506b}
.platform-icon.unk{background:#f5f5f7;color:#6e6e73}

/* ===== 首页改版：分组筛选 / 趋势图 / 三层下钻表（2026-09-19） ===== */
#home-group{min-width:190px}

.dashboard-split{display:grid;grid-template-columns:minmax(230px,1fr) minmax(0,2.1fr);gap:16px;align-items:start}
.dashboard-split .metric-column{display:flex;flex-direction:column;gap:12px}
.dashboard-split .metric-column .dashboard-widget{width:100%;margin:0}

.metric-widget .widget-value{display:block;width:100%;text-align:left;background:none;border:0;padding:0;cursor:pointer;font:inherit;color:inherit}
.metric-widget .widget-value:hover{opacity:.72}
.metric-widget .widget-value:focus-visible{outline:2px solid #2563eb;outline-offset:3px;border-radius:6px}
.metric-widget.is-picked{box-shadow:inset 3px 0 0 #2563eb;background:#f5f8ff}
.metric-note{margin-top:4px;font-size:11px;line-height:1.4;color:#8a94a6}

.trend-panel{padding:14px 16px 12px}
.trend-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:6px}
.trend-head h2{margin:0;font-size:15px}
.trend-svg{width:100%;height:auto;display:block}
.trend-line{fill:none;stroke:#2563eb;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.trend-area{fill:rgba(37,99,235,.10);stroke:none}
.trend-dot{fill:#2563eb}
.trend-grid{stroke:#e6e9ef;stroke-width:1}
.trend-axis{font-size:10px;fill:#8a94a6}
.trend-facts{display:flex;gap:22px;flex-wrap:wrap;margin-top:8px;padding-top:8px;border-top:1px solid #eef0f4}
.trend-facts span{display:block;font-size:11px;color:#8a94a6}
.trend-facts strong{font-size:13px;font-weight:600}
.trend-empty{padding:34px 8px;text-align:center;color:#8a94a6;font-size:13px}

.drill-table td.drill-name{white-space:nowrap}
.drill-toggle{display:inline-flex;align-items:center;gap:6px;background:none;border:0;padding:2px 0;font:inherit;color:inherit;cursor:pointer;text-align:left}
.drill-toggle:hover{color:#2563eb}
.drill-toggle:focus-visible{outline:2px solid #2563eb;outline-offset:2px;border-radius:4px}
.drill-caret{display:inline-block;width:12px;color:#8a94a6;font-size:11px}
.drill-leaf{color:#5b6472}
.drill-row.depth-0{font-weight:600}
.drill-row.depth-1{background:#fafbfd}
.drill-row.depth-2{background:#f5f7fa;font-size:12px;color:#5b6472}
.drill-row.is-open>td{border-bottom-color:transparent}
.drill-total td{border-top:2px solid #e6e9ef}
.drill-empty{padding:26px;text-align:center;color:#8a94a6}

@media (max-width:900px){.dashboard-split{grid-template-columns:1fr}}
/* 修正：.dashboard-widget 默认 grid-column:span 4，会把趋势图挤到下一行 */
.dashboard-split>.metric-column{grid-column:1/2}
.dashboard-split>.trend-panel{grid-column:2/3;border:1px solid #e6e6eb;border-radius:14px;background:#fff}
.dashboard-split .metric-column .dashboard-widget.metric-widget{min-height:0;padding:14px 18px 15px}
@media(max-width:900px){.dashboard-split>.metric-column,.dashboard-split>.trend-panel{grid-column:1/-1}}
.range-warning{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#fff8e6;border:1px solid #f0dca8;color:#7a5c12;border-radius:10px;padding:11px 15px;margin:10px 0 2px;font-size:13px;line-height:1.6}
.range-warning strong{font-weight:600}

/* ===== 概览面板：左字段宫格 / 右趋势图（2026-09-19 第二轮） ===== */
.overview-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:stretch;margin:14px 0 22px}
.metric-grid-wrap{position:relative;display:flex;flex-direction:column;gap:10px}
.metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;flex:1;align-content:start}
.metric-card{background:#f5f5f7;border:1px solid transparent;border-radius:12px;padding:12px 14px 11px;min-width:0;display:flex;flex-direction:column;gap:2px}
.metric-card.is-picked{border-color:#2563eb;background:#f2f6ff;box-shadow:0 0 0 1px #2563eb inset}
.metric-card-head{display:flex;align-items:center;gap:4px;min-height:24px}
.metric-card-head .metric-field-select{flex:1;min-width:0;border:0;background:none;font-size:12.5px;color:#5d5d64;padding:0;height:22px;cursor:pointer}
.metric-drop,.metric-card-head .metric-confirm{flex:none;width:22px;height:22px;display:grid;place-items:center;border:0;border-radius:50%;background:none;color:#a0a6b1;cursor:pointer}
.metric-drop:hover{background:#e6e6ec;color:#c0392b}
.metric-card-head .metric-confirm{color:#2563eb}
.metric-card-head .metric-confirm:hover{background:#e3ebff}
.metric-card-value{display:block;width:100%;text-align:left;background:none;border:0;padding:0;margin:2px 0 0;cursor:pointer;font-size:26px;font-weight:600;letter-spacing:-.6px;line-height:1.2;font-variant-numeric:tabular-nums;color:inherit}
.metric-card-value .currency{font-size:15px;font-weight:400;margin-right:3px}
.metric-card-value:hover{opacity:.7}
.metric-card-value:focus-visible{outline:2px solid #2563eb;outline-offset:3px;border-radius:5px}
.metric-card-note{font-size:10.5px;line-height:1.45;color:#8a94a6;margin:3px 0 0;min-height:15px}
.metric-pager{display:flex;align-items:center;justify-content:flex-end;gap:10px;font-size:12px;color:#8a94a6}
.metric-arrow{width:26px;height:26px;border:1px solid #e0e0e6;border-radius:50%;background:#fff;color:#5d5d64;cursor:pointer;line-height:1}
.metric-arrow:hover:not(:disabled){border-color:#2563eb;color:#2563eb}
.metric-arrow:disabled{opacity:.35;cursor:default}
.trend-side{border:1px solid #e6e6eb;border-radius:14px;background:#fff;padding:14px 16px 12px;display:flex;flex-direction:column;min-width:0}
.trend-side .trend-svg{flex:1;min-height:180px}
.drill-sort{display:inline-flex;align-items:center;gap:4px;background:none;border:0;padding:0;font:inherit;color:inherit;cursor:pointer}
.drill-sort:hover{color:#2563eb}
.drill-sort.is-sorted{color:#2563eb;font-weight:600}
.drill-sort-arrow{font-size:10px}
@media(max-width:1100px){.overview-panel{grid-template-columns:1fr}.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-card-value{font-size:22px}}
.trend-close{flex:none;width:28px;height:28px;display:grid;place-items:center;border:0;border-radius:50%;background:none;color:#8a94a6;cursor:pointer}
.trend-close:hover{background:#eeeef2;color:#1d1d1f}

/* Upload review additions, isolated from the original prototype. */
.review-data-note{margin:0 0 20px;padding:12px 15px;background:#f2f5f9;border-radius:10px;color:#64748b;font-size:12px;line-height:1.8}
.review-upload-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}.review-upload-card{border:1px solid var(--line,#e5e5ea);border-radius:14px;padding:24px}.review-upload-icon{color:#1671df}.review-upload-card h3{font-size:18px;margin:16px 0 10px}.review-upload-card p{color:#727880;min-height:48px;font-size:13px;line-height:1.75}.review-upload-grid+.review-data-note{margin-top:22px}
.review-demo-tag{display:inline-block;background:#fff5e6;color:#976416;border-radius:7px;padding:6px 10px;margin:4px 0 20px;font-size:12px}.review-file-label{display:flex;flex-direction:column;gap:12px;border:1px dashed #b7c6d8;border-radius:12px;padding:24px;background:#f9fbfe;font-size:15px;font-weight:600}.review-file-label input{max-width:100%;font-weight:400}.review-upload-status{padding:17px 18px;margin:20px 0 14px;border-radius:10px;background:#f3f5f7;line-height:1.8}.review-upload-status p{margin:4px 0 0;color:#687385;font-size:13px}.review-upload-status.success{background:#eef8f1}.review-upload-status.success strong{color:#257641}.review-upload-status.error{background:#fff4ed}.review-upload-status.error strong{color:#a45422}.review-upload-status.processing strong{color:#176cd3}.review-demo-actions{display:flex;gap:12px;flex-wrap:wrap}.review-sample-extra{font-size:12px;margin-top:22px;color:#727880}.review-sample-extra summary{cursor:pointer}.review-upload-dialog>p{line-height:1.8}.page-head .utility-row{flex-wrap:wrap;justify-content:flex-end}
@media(max-width:800px){.page-head .utility-row{justify-content:flex-start}.review-upload-card{padding:18px}.prototype-ribbon{flex-wrap:wrap;gap:5px}}

.review-pending-value{font-size:23px;font-weight:550;color:#8a744b}.trend-empty strong{font-size:17px;color:#697485}.trend-empty p{line-height:1.7;margin:10px 0}

/* 刘斌 2026-08 真实月度试填，只用于老板经营概览。 */
.pilot-lock{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 18px;padding:13px 15px;border:1px solid #cfe0ff;background:#f4f8ff;border-radius:12px;color:#38506c;font-size:12px}.pilot-lock strong{color:#1558b0;margin-right:5px}.pilot-lock span{padding:5px 9px;background:#fff;border:1px solid #dce8fa;border-radius:7px}
.pilot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:16px}.pilot-metric{min-height:132px;padding:18px;border:1px solid #e4e7ec;background:#fff;border-radius:14px;box-shadow:0 1px 2px #0f172a0a}.pilot-metric>span{display:block;color:#606b7a;font-size:12px}.pilot-metric strong{display:block;margin:9px 0 7px;color:#172033;font-size:27px;line-height:1.18;font-variant-numeric:tabular-nums}.pilot-metric p{margin:0;color:#7a8492;font-size:11px;line-height:1.55}.pilot-metric.pending{border-color:#ead7ae;background:#fffdf8}.pilot-metric.missing{border-color:#efd2d2;background:#fffafa}.pilot-metric.missing strong{color:#9b4f4f;font-size:23px}
.pilot-panel{margin:0 0 16px;padding:18px;border:1px solid #e4e7ec;background:#fff;border-radius:14px;overflow:hidden}.pilot-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}.pilot-section-head h2{margin:0 0 5px;font-size:17px}.pilot-section-head p{margin:0;color:#7a8492;font-size:11px;line-height:1.55}.pilot-section-head>strong{color:#1558b0;font-size:18px;font-variant-numeric:tabular-nums}.pilot-trend svg{display:block;width:100%;height:auto;max-height:245px;overflow:visible}.pilot-trend svg text{fill:#8993a2;font-size:10px}.pilot-grid-line{stroke:#e9edf2;stroke-width:1}.pilot-line{stroke:#2374d8;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.pilot-table{width:100%;border-collapse:collapse;font-size:12px}.pilot-table th{padding:10px 11px;background:#f7f8fa;color:#657080;text-align:left;font-weight:600;white-space:nowrap}.pilot-table td{padding:11px;border-bottom:1px solid #edf0f3;color:#344054;vertical-align:top}.pilot-table .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.pilot-total td{font-weight:700;background:#f8fbff;border-top:2px solid #dce8fa}.pilot-status{display:inline-block;padding:3px 7px;border-radius:999px;white-space:nowrap;font-size:11px}.pilot-status.ready{background:#eaf7ef;color:#287246}.pilot-status.pending{background:#fff3d7;color:#8b6415}.pilot-status.missing{background:#fceaea;color:#9b4646}.pilot-footnote{margin:12px 0 0;color:#737d8c;font-size:11px;line-height:1.6}.pilot-demo{border-style:dashed}.pilot-demo .dashboard{margin:0}.pilot-demo .dashboard:empty{display:none}
@media(max-width:1000px){.pilot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.pilot-grid{grid-template-columns:1fr}.pilot-panel{padding:14px}.pilot-lock{align-items:flex-start}.pilot-section-head{flex-direction:column}.pilot-table{min-width:780px}}

/* Business rules review module. */
.rules-warning{margin:0 0 16px;padding:15px 17px;border:1px solid #efd59d;background:#fffaf0;border-radius:12px}.rules-warning strong{color:#805813}.rules-warning p{margin:5px 0 0;color:#766445;font-size:12px;line-height:1.65}.rules-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:16px}.rules-summary article{padding:16px;border:1px solid #e5e8ed;background:#fff;border-radius:13px}.rules-summary span{display:block;color:#7a8492;font-size:11px}.rules-summary strong{display:block;margin:7px 0;color:#263142;font-size:14px}.rules-summary p{margin:0;color:#768090;font-size:11px;line-height:1.55}.rules-section{margin-bottom:16px}.rules-impact{margin-top:16px;padding:13px 15px;border:1px solid #d8e4f5;background:#f6f9fd;border-radius:10px}.rules-impact strong{color:#285e9c}.rules-impact p{margin:5px 0 0;color:#64748b;font-size:12px;line-height:1.65}.rules-note p{margin:7px 0;line-height:1.65}.rules-section table td{vertical-align:top}
.rules-tabs .rules-tab{appearance:none;text-align:left;padding:16px;border:1px solid #e5e8ed;background:#fff;border-radius:13px;cursor:pointer}.rules-tabs .rules-tab span{display:block;color:#6d7785;font-size:12px}.rules-tabs .rules-tab strong{display:block;margin-top:7px;color:#263142;font-size:14px}.rules-tabs .rules-tab.active{border-color:#70a8e5;background:#f2f7fd;box-shadow:0 0 0 2px #dbeafb inset}.rules-tabs .rules-tab.active span,.rules-tabs .rules-tab.active strong{color:#1769b3}
.rules-table-tools{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:14px 18px;border-top:1px solid #eef0f4}.rules-table-tools .field{margin:0}.rules-table-tools .rules-search{flex:1;min-width:240px}.rules-table-tools>.muted{margin-left:auto;padding-bottom:8px}.rules-table-foot{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap}.rules-table-foot>p{max-width:660px;margin:0}.rules-pager{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.rules-section .table-wrap table{min-width:760px}
@media(max-width:1000px){.rules-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.rules-summary{grid-template-columns:1fr}.rules-section table{min-width:760px}}

.login{min-height:100vh;display:grid;place-items:center;background:linear-gradient(145deg,#f4f7fb,#fff)}
.login-card{width:min(420px,92vw);padding:36px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}
.login-card h1{margin-bottom:7px}.login-card .btn{width:100%;margin-top:6px}.error{min-height:21px;color:var(--red);font-size:13px;margin:10px 0}
.live-session{margin-top:auto;padding:16px 13px 0;border-top:1px solid #dfdfe5}.live-session .user-line{display:flex;align-items:center;gap:10px;margin-bottom:12px}.live-session .avatar{display:grid}.live-session .btn{width:100%}
.top-right .account-chip{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted)}
.live-ribbon{padding:8px 40px;background:#fafafa;border-bottom:1px solid #efeff1;color:#737379;font-size:11px;display:flex;justify-content:space-between;gap:15px}
.actions{display:flex;gap:9px;justify-content:flex-end;align-items:center;flex-wrap:wrap}.role-list{display:flex;gap:10px;flex-wrap:wrap}.status-line{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.nowrap{white-space:nowrap}
.modal-bg{position:fixed;inset:0;z-index:80}.modal-card{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:81;width:min(860px,calc(100vw - 32px));max-height:90vh;overflow:auto;background:#fff;border-radius:16px;box-shadow:var(--shadow)}
.modal-body>h3{margin:24px 0 12px}.drawer .modal-body{padding:0}.drawer-contact{display:grid;grid-template-columns:1fr auto;gap:9px;align-items:end}.drawer-contact .field{margin:0}
.cards2,.sc-entry-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0 24px}.entry,.sc-entry{min-height:148px;border:1px solid #dfe3e8;border-radius:14px;background:#fff;padding:21px;text-align:left;display:flex;flex-direction:column;justify-content:space-between}.entry.active,.sc-entry.active{border-color:#93bce6;box-shadow:0 8px 28px #0a66c214}.entry:disabled{background:#f7f7f8;color:#818187}.entry h2{font-size:20px;margin-bottom:8px}.entry p{font-size:13px;line-height:1.7}.entry .badge{margin-top:18px;width:max-content}
.flow,.sc-workflow{display:grid;grid-template-columns:repeat(7,1fr);gap:7px;margin:18px 0}.flow div,.sc-step{padding:11px 8px;border-radius:9px;background:#f3f4f6;text-align:center;font-size:11px;line-height:1.5}.flow .on,.sc-step.current{background:#e8f2fd;color:#0759a8;font-weight:600}
.procurement-cycle{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:15px 18px;border:1px solid #e3e3e7;border-radius:12px;background:#fff;margin:0 0 16px}.procurement-table{min-width:1180px}.procurement-table td{vertical-align:top}.plan-summary{min-width:190px;max-width:245px;white-space:normal;line-height:1.65}
.rule-entry-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0 24px}.rule-entry{min-height:86px;border:1px solid #e1e1e6;border-radius:13px;background:#fff;padding:16px;text-align:left}.rule-entry.active{border-color:#6aa9e8;background:#f1f7ff;box-shadow:0 0 0 1px #6aa9e8 inset}.rule-entry span{display:block;color:var(--muted);font-size:12px;margin-bottom:6px}.rule-entry strong{font-size:15px}
.metric-card-note{overflow:hidden;text-overflow:ellipsis}.trend-svg{width:100%;height:auto}.trend-line{fill:none;stroke:#2c78d5;stroke-width:2}.trend-area{fill:#dbeaff88}.trend-grid{stroke:#eceff3;stroke-width:1}.trend-dot{fill:#2c78d5}.trend-axis{fill:#8b9098;font-size:10px}.trend-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.trend-head h2{font-size:16px}.trend-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;border-top:1px solid var(--line);padding-top:11px}.trend-facts span{display:block;font-size:10px;color:var(--muted)}.trend-facts strong{font-size:12px}.trend-empty{margin:auto;text-align:center;color:var(--muted);line-height:1.8}
.drill-caret{width:14px;color:#8c919a}.drill-leaf{display:inline-flex;padding-left:20px}.drill-total td{background:#fafafa;font-weight:600;border-top:1px solid var(--line)}.depth-1 td{background:#fcfcfd}.depth-2 td:first-child{color:#646a72}
.small{font-size:12px}.push{margin-left:auto}.pagination{justify-content:flex-end;padding:14px 22px}.pagination span{font-size:12px;color:var(--muted)}
@media(max-width:760px){.live-ribbon{padding:7px 19px}.live-ribbon span:last-child{display:none}.cards2,.sc-entry-grid,.rule-entry-grid{grid-template-columns:1fr}.flow,.sc-workflow{grid-template-columns:repeat(2,1fr)}.drawer-contact{grid-template-columns:1fr}.top-right .account-chip>span:not(.avatar){display:none}}
.dashboard-skeleton{display:grid;gap:18px;animation:skeleton-pulse 1.2s ease-in-out infinite}.skeleton-head,.skeleton-overview>div,.skeleton-table{border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(100deg,#eef2f6 25%,#f8fafc 45%,#eef2f6 65%);background-size:220% 100%}.skeleton-head{height:82px}.skeleton-overview{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.82fr);gap:18px}.skeleton-overview>div{height:330px}.skeleton-table{height:310px}@keyframes skeleton-pulse{0%{filter:brightness(.97)}50%{filter:brightness(1.03)}100%{filter:brightness(.97)}}
@media(max-width:1050px){.skeleton-overview{grid-template-columns:1fr}.skeleton-overview>div{height:260px}}

.detail-sort{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px;border:0;background:transparent;color:inherit;font:inherit;font-weight:600;padding:5px 0;cursor:pointer;white-space:nowrap}.detail-sort:hover,.detail-sort:focus-visible{color:var(--blue)}.detail-sort span{color:#8996a6}th[aria-sort="ascending"] .detail-sort,th[aria-sort="descending"] .detail-sort{color:var(--blue)}.drill-table th:not(:first-child),.drill-table td.num{min-width:130px;white-space:nowrap}.procurement-empty .panel-body p{margin:10px 0;line-height:1.7}.procurement-empty .sc-workflow{margin:0 20px 20px}

.customer-archive{min-width:1180px}.customer-sort{border:0;background:none;color:inherit;font:inherit;font-weight:600;white-space:nowrap;padding:6px 0;user-select:none}.customer-sort span{padding-left:6px;color:var(--accent)}.customer-sort:hover{color:var(--accent)}.customer-archive td{vertical-align:middle}

.date-controls{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;background:#fff;border:1px solid #e2e7ef;border-radius:12px;padding:16px;margin-bottom:18px}.date-controls label{display:flex;flex-direction:column;gap:5px;color:#667085;font-size:12px}.date-controls input{min-height:36px;padding:7px 9px;border:1px solid #cdd5df;border-radius:6px;background:#fff;color:#172b4d;font:inherit;font-size:13px}.date-controls input[type=number]{width:86px}.range-custom{display:flex;align-items:flex-end;gap:8px;margin-left:auto}.range-custom>span{padding-bottom:9px;color:#667085}@media(max-width:900px){.range-custom{margin-left:0;flex-wrap:wrap}.date-controls{gap:8px}}

/* Current shortage list */
.detail-note{display:block;color:#778295;font-size:12px;margin:5px 0 0 24px}.shortage-panel .widget-head{padding:22px 24px}.shortage-status,.shortage-foot{font-size:13px;padding:14px 24px}.simple-shortage-table{width:100%;border-collapse:collapse}.simple-shortage-table th,.simple-shortage-table td{padding:18px 24px;text-align:left;border-bottom:1px solid #edf0f4}.simple-shortage-table .num{text-align:right;width:22%;font-size:18px}.simple-shortage-table th{background:#f8fafc;color:#667085}.shortage-attribution{margin-top:8px}.shortage-basis{font-size:12px;line-height:1.8;margin-top:6px}.collector-page{max-width:700px;margin:60px auto;padding:28px}.collector-page form{display:grid;gap:24px}.collector-page input{display:block;margin-top:12px}
.simple-shortage-table{min-width:820px;table-layout:fixed}.simple-shortage-table th,.simple-shortage-table td{padding:16px 12px;vertical-align:middle}.simple-shortage-table .num{width:auto;font-size:14px;white-space:nowrap}.simple-shortage-table th:first-child{width:27%}.simple-shortage-table td:first-child{white-space:normal;overflow-wrap:anywhere}.simple-shortage-table th:nth-child(2){width:12%}.simple-shortage-table th:nth-child(3){width:12%}.simple-shortage-table th:nth-child(4){width:15%}.simple-shortage-table th:nth-child(5){width:23%}.simple-shortage-table th:nth-child(6){width:11%}.simple-shortage-table th{white-space:nowrap}.shortage-order-time{white-space:nowrap;font-variant-numeric:tabular-nums}.shortage-carry{display:block;font-size:12px;margin-top:5px}
.shortage-tabs{display:flex;gap:10px;align-items:center}.stock-warning-table{table-layout:fixed;min-width:700px}.stock-warning-table th,.stock-warning-table td{padding:16px 12px}.stock-warning-table th:first-child{width:34%}.stock-warning-table td:first-child{white-space:normal;overflow-wrap:anywhere}.stock-warning-table th:nth-child(2){width:12%}.stock-warning-table th:nth-child(n+3){width:18%}.shortage-panel>.notice{margin:0 20px 14px}.collector-page textarea{min-height:150px}

/* Keep procurement header labels and values on the same column edge. */
.simple-shortage-table th:has(.customer-sort),.stock-warning-table th:has(.customer-sort){padding:16px 12px}
.simple-shortage-table th .customer-sort,.stock-warning-table th .customer-sort{display:flex;width:100%;justify-content:flex-start;padding:0;text-align:left}
.simple-shortage-table th.num .customer-sort,.stock-warning-table th.num .customer-sort{justify-content:flex-end;text-align:right}
.stock-warning-table .num{ text-align:right;font-variant-numeric:tabular-nums }

/* Clickable trend points */
.trend-point{cursor:pointer;outline:none;touch-action:manipulation}
.trend-hit{fill:transparent;stroke:none}
.trend-point[aria-pressed="true"] .trend-dot,.trend-point:focus .trend-dot{r:5;stroke:#fff;stroke-width:2}
.trend-readout{min-height:20px;margin:0 0 2px;color:var(--muted);font-size:12px}
.trend-selection{pointer-events:none}
.trend-selection rect{fill:#fff;stroke:#bfd5ef;stroke-width:1;filter:drop-shadow(0 2px 3px #17355b22)}
.trend-selection-date{font-size:10px;fill:#697586}
.trend-selection-value{font-size:12px;font-weight:600;fill:#12345b}

/* Filing information remains visible across login and workspace routes. */
.icp-footer{text-align:center;padding:18px 16px;font-size:12px;line-height:20px;color:var(--muted)}
.icp-footer a{color:inherit;text-decoration:none}.icp-footer a:hover{text-decoration:underline}
.login{min-height:calc(100vh - 56px)}
body:has(.sidebar) .icp-footer{margin-left:212px}
@media(max-width:1250px){body:has(.sidebar) .icp-footer{margin-left:192px}}
@media(max-width:760px){body:has(.sidebar) .icp-footer{margin-left:0}}

/* 用户与权限：沿用现有表单、标签与面板样式。 */
.account-modal{width:min(1100px,96vw);max-width:1100px;max-height:92vh}.account-modal .modal-body{padding:20px 24px;overflow:auto}.account-basic{gap:12px 20px}.account-basic .role-list{display:flex;flex-wrap:wrap;gap:12px 20px}.account-tabs{margin:18px 0}.account-shorthand{margin-bottom:16px}.account-shop-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:18px;padding:12px 0;border-bottom:1px solid var(--border,#e4e9ef)}.account-shop-toolbar input[type=search]{flex:1;min-width:180px}.account-shop-toolbar select{width:100px}.account-shop-list{height:310px;overflow:auto;margin-top:14px}.shop-group{margin-bottom:18px}.shop-group-head{display:flex;justify-content:space-between;background:#f4f7fb;padding:10px 12px;font-weight:600}.shop-group-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:12px}.shop-choice{display:flex;align-items:flex-start;gap:9px;min-width:0;line-height:1.5}.shop-choice small{display:block;color:#8792a5;font-size:12px}.shop-choice input{margin-top:5px;flex-shrink:0}.account-permission-layout{display:grid;grid-template-columns:420px 1fr;gap:24px;min-height:330px}.permission-modules{border:1px solid #e4e9ef;border-radius:9px;overflow:hidden}.permission-module{display:flex;align-items:center;justify-content:space-between;padding:12px;border-bottom:1px solid #edf0f5;gap:12px}.permission-module:last-child{border-bottom:0}.permission-module.selected{background:#edf4ff}.permission-module button{background:none;border:0;font-size:14px;font-weight:600;cursor:pointer;text-align:left;min-width:90px;color:inherit}.permission-options{display:flex;gap:12px;font-size:13px;white-space:nowrap}.permission-options label{display:flex;align-items:center;gap:4px}.permission-features{padding:8px 0}.permission-features h3{margin:0 0 16px}.permission-feature{display:flex;justify-content:space-between;align-items:center;padding:16px 0;border-bottom:1px solid #edf0f5;gap:12px}.account-actions{margin-top:20px;justify-content:space-between}.account-modal input[type=checkbox],.account-modal input[type=radio]{width:auto;accent-color:#3b72f2}.account-modal .error{min-height:18px;margin:10px 0 0}@media(max-width:750px){.account-permission-layout{grid-template-columns:1fr}.shop-group-items{grid-template-columns:repeat(2,minmax(0,1fr))}.account-shop-list{height:260px}}

/* 简写逐个添加为标签，不拆分输入内容。 */
.account-abbreviation-input{display:flex;gap:8px}.account-abbreviation-input input{flex:1;min-width:0}.account-abbreviation-input .btn{width:44px;flex-shrink:0;font-size:20px}.account-abbreviation-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}.abbreviation-tag{display:inline-flex;align-items:center;gap:10px;background:#edf4ff;color:#315bb0;border-radius:5px;padding:4px 8px;font-size:13px}.abbreviation-tag button{border:0;background:none;color:inherit;padding:0;line-height:1;font-size:17px;cursor:pointer}

/* 主色标签、数字卡和定制表格。 */
.account-tabs .tab{background:#f3f4f6;color:var(--muted);border:0;border-radius:7px;padding:10px 22px;margin-right:8px}
.account-tabs .tab.active{background:var(--accent);color:#fff}
.custom-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0 0 22px}
.custom-card{text-align:left;border:1px solid var(--line);border-radius:12px;background:#f7f8fa;padding:20px 24px;color:var(--muted)}
.custom-card strong{display:block;font-size:34px;line-height:1.2;font-weight:600;margin-top:10px;color:var(--ink)}
.custom-card.selected{border-color:var(--accent);background:var(--accent-bg);color:var(--accent)}
.custom-card.selected strong{color:var(--accent)}
.custom-date-filter{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:22px}
.custom-date-filter label{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted)}
.custom-date-filter input{width:150px}
.custom-orders table{table-layout:fixed;width:100%;min-width:1000px}
.custom-orders th,.custom-orders td{padding:16px 18px;vertical-align:top;white-space:normal;overflow-wrap:anywhere}
.custom-orders th:nth-child(1){width:14%}.custom-orders th:nth-child(2){width:16%}.custom-orders th:nth-child(3){width:22%}.custom-orders th:nth-child(4){width:14%}.custom-orders th:nth-child(5){width:14%}.custom-orders th:nth-child(6){width:11%}.custom-orders th:nth-child(7){width:9%}
.custom-number,.custom-products{overflow-wrap:anywhere;white-space:pre-line}
.custom-time{font-variant-numeric:tabular-nums;white-space:normal;overflow-wrap:anywhere}.custom-deadline{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-variant-numeric:tabular-nums}
.custom-deadline .link-btn{padding:0;font-size:13px;white-space:nowrap}
@media(max-width:750px){.custom-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.custom-card{padding:15px}.custom-card strong{font-size:28px}.custom-date-filter{gap:8px}}

/* T80：沿用现有颜色变量、表单与按钮。 */
.custom-overdue{color:var(--red);font-weight:600}
.custom-row-action{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px}
.custom-edited{color:var(--accent);background:var(--accent-bg);border-radius:5px;padding:1px 5px}
.custom-partial-orders table{min-width:1400px}
.custom-partial-orders th:nth-child(1){width:8%}.custom-partial-orders th:nth-child(2){width:10%}
.custom-partial-orders th:nth-child(3){width:15%}.custom-partial-orders th:nth-child(4){width:7%}
.custom-partial-orders th:nth-child(5){width:10%}.custom-partial-orders th:nth-child(6){width:9%}
.custom-partial-orders th:nth-child(7){width:7%}.custom-partial-orders th:nth-child(8){width:9%}
.custom-partial-orders th:nth-child(9){width:15%}.custom-partial-orders th:nth-child(10){width:10%}
.custom-product-line{display:grid;grid-template-columns:minmax(0,1fr) 100px auto;align-items:end;gap:12px;margin-bottom:14px}
.custom-product-line .field{min-width:0;margin:0}
.custom-product-line input{width:100%}
.custom-product-line .btn{margin-bottom:4px}
@media(max-width:750px){.custom-product-line{grid-template-columns:minmax(0,1fr) 80px auto;gap:8px}}

/* 手机商品列保留可读宽度，在表格容器内横向滚动。 */
@media(max-width:750px){.custom-orders table{min-width:1400px}.custom-partial-orders table{min-width:1800px}.custom-orders th:nth-child(3),.custom-orders td:nth-child(3){width:280px;min-width:280px}}

/* 今日联系第二版沿用现有表格、按钮和状态颜色。 */
.followup-customer{display:flex;align-items:center;min-width:0}
.followup-order{display:flex;align-items:baseline;flex-wrap:wrap;flex:1;min-width:0;column-gap:8px}
.followup-history{overflow-wrap:anywhere}
.followup-customer .icon-only{flex-shrink:0}
.followup-table td{white-space:normal;overflow-wrap:anywhere}
.followup-table .followup-suggestion{min-width:0}
@media(max-width:760px){.followup-table{table-layout:fixed;min-width:0}.followup-table thead{display:none}.followup-table tbody,.followup-table tr,.followup-table td{display:block;width:100%}.followup-table td{border:0}.followup-table tr{border-bottom:1px solid var(--line)}.followup-table td:last-child{border-bottom:1px solid var(--line)}}

.followup-customer .icon-only:disabled{opacity:1}
.followup-table{table-layout:fixed}
.followup-table th:first-child{width:22%}
.followup-table th:nth-child(2){width:42%}
.followup-table th:nth-child(3){width:16%}
.followup-table th:nth-child(4),.followup-table th:nth-child(5){width:10%}

/* 售后提醒沿用表格、主题色、数字与弹窗组件。 */
.aftersales-table{table-layout:auto;min-width:1400px}
.aftersales-table th,.aftersales-table td{white-space:normal;overflow-wrap:anywhere;vertical-align:top}
.aftersales-table th,.aftersales-table .num{white-space:nowrap}
.aftersales-table .ar-order-number{width:1%;white-space:nowrap;overflow-wrap:normal}
.ar-order-text{display:inline-block;white-space:nowrap}
.aftersales-table .reason-cell{min-width:0;max-width:none}
.aftersales-table .badge{white-space:normal;max-width:100%}
.aftersales-table select{width:auto;min-width:0}
.upload-zone.ar-dragging{border-color:var(--accent);background:var(--accent-bg)}
.ar-number-grid{display:block}
.ar-overview{overflow:auto}
.ar-risk{flex:1;min-width:0;border:0;background:transparent;padding:0;text-align:left;color:inherit}
.ar-risk[aria-pressed=true],.ar-risk[aria-pressed=true] p{color:var(--accent)}
.ar-records{list-style:none;padding:0;overflow-wrap:anywhere}
.ar-records li{padding:14px 0;border-bottom:1px solid var(--line)}
.ar-records p{white-space:pre-wrap}
.ar-notice-table td:nth-child(-n+7){white-space:nowrap;overflow-wrap:normal}
.ar-notice-table .reason-cell{min-width:235px;max-width:430px;white-space:pre-wrap}
@media(max-width:760px){.ar-number-grid .ar-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.ar-risk{border-bottom:1px solid var(--line)}}

/* 执行情况沿用现有表格、分段按钮和字体；窄屏逐行展示各项指标。 */
.followup-statistics td:first-child{white-space:normal;overflow-wrap:anywhere}
@media(max-width:760px){.followup-statistics table{white-space:normal;table-layout:fixed}.followup-statistics thead{display:none}.followup-statistics tbody,.followup-statistics tr,.followup-statistics td{display:block;width:100%}.followup-statistics tr{border-bottom:1px solid var(--line)}.followup-statistics td{display:flex;justify-content:space-between;gap:12px;border:0;overflow-wrap:anywhere;text-align:right}.followup-statistics td::before{content:attr(data-label);color:var(--muted);flex-shrink:0}.followup-statistics td.empty{display:block}}
