:root{font-family:Inter,"Microsoft YaHei","PingFang SC",system-ui,sans-serif;color:#243533;background:#f4f7f8;font-size:16px;font-synthesis:none;--green:#137c66;--ink:#173a35;--muted:#72817e;--line:#e3eae7;--blue:#527bea}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #6ccfba;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:1.85rem;letter-spacing:-.035em;margin-bottom:9px}h2{font-size:1.08rem;margin-bottom:7px}h3{font-size:1rem}p{line-height:1.75}small,.muted{color:var(--muted)}small{font-size:.8125rem}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.layout{display:grid;grid-template-columns:236px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:#112f2b;color:#afc2bd;display:flex;flex-direction:column;padding:31px 19px 19px}.brand{display:flex;align-items:center;gap:11px;font-size:1.25rem;font-weight:700;letter-spacing:.04em;color:#fff}.brandmark{width:38px;height:38px;background:#278f76;border-radius:11px;display:grid;place-items:center}.brandmark .icon{width:23px;height:23px}.brand small{font-size:.6875rem;display:block;color:#99b1aa;letter-spacing:.17em;margin-top:2px}.side-label{font-size:.75rem;letter-spacing:.12em;margin:39px 14px 13px;color:#7fa096}.nav{display:flex;flex-direction:column;gap:7px}.nav a{display:flex;align-items:center;gap:13px;padding:13px 14px;border-radius:8px;font-size:.9rem}.nav a:hover{background:#1b4039;color:#fff}.nav a.active{background:#265047;color:#fff;box-shadow:inset 3px 0 #6ce1b4}.nav .soon{margin-left:auto;font-size:.6875rem;color:#a1b5af;border:1px solid #36534d;padding:2px 5px;border-radius:4px}.side-bottom{margin-top:auto;padding-top:35px}.side-note{border:1px solid #36544c;border-radius:10px;padding:15px;line-height:1.7;font-size:.8125rem}.side-note b{display:block;color:#dce8e3;margin-bottom:5px}.side-profile{border-top:1px solid #304a44;margin-top:24px;padding:20px 4px 0;display:flex;align-items:center;gap:11px}.avatar{width:36px;height:36px;border-radius:50%;background:#e4efe9;color:var(--green);display:grid;place-items:center;font-size:.875rem;font-weight:600;flex-shrink:0}.side-profile .avatar{background:#34564c;color:#e3f1e9}.profile-name{font-size:.875rem;color:white;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.side-profile small{color:#8faca2}.icon-button{border:0;background:transparent;color:inherit;padding:8px;display:inline-flex;border-radius:7px}.icon-button:hover{background:#ffffff18}.side-profile button{margin-left:auto}.topbar{height:77px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:16px}.breadcrumb{font-size:.875rem;color:var(--muted);display:flex;gap:12px}.breadcrumb b{font-weight:500;color:#243b34}.top-actions{display:flex;gap:22px;align-items:center;font-size:.875rem}.top-actions a{display:flex;align-items:center;gap:7px}.content{max-width:1640px;margin:0 auto;padding:34px 36px 25px}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}.eyebrow{text-transform:uppercase;font-size:.6875rem;letter-spacing:.18em;color:var(--green);font-weight:700;margin-bottom:10px}.subtitle{margin:0;color:var(--muted);font-size:.875rem}.head-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.button{border:1px solid #dce5df;border-radius:7px;background:#fff;color:#344b43;font-size:.875rem;font-weight:500;padding:10px 15px;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px}.button:hover{background:#f0f5f2}.button.primary{background:var(--green);border-color:var(--green);color:#fff}.button.primary:hover{background:#0e6956}.button.danger{color:#ad3f3f;border-color:#eccccc}.button .icon{width:16px;height:16px}.range{display:flex;border:1px solid var(--line);padding:3px;background:#fff;border-radius:8px}.range button{border:0;background:transparent;padding:7px 12px;font-size:.8125rem;color:var(--muted);border-radius:5px}.range button.selected{background:#e9f3ee;color:#176b55;font-weight:600}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:23px}.metric{background:#fff;border:1px solid var(--line);border-radius:11px;padding:22px 23px;min-width:0}.metric-top{display:flex;align-items:center;justify-content:space-between;color:#60736b;font-size:.875rem}.metric-icon{background:#edf5f1;color:var(--green);width:34px;height:34px;border-radius:9px;display:grid;place-items:center}.metric:nth-child(2) .metric-icon{color:#5c75ca;background:#eef1fc}.metric:nth-child(3) .metric-icon{color:#b1833e;background:#fbf5e9}.metric:nth-child(4) .metric-icon{color:#7f6bc0;background:#f2eff9}.metric-number{font-size:2.25rem;letter-spacing:-.04em;font-weight:650;line-height:1.2;margin:14px 0}.metric-note{font-size:.75rem;color:var(--muted);line-height:1.6}.metric-note strong{color:var(--green);font-weight:500}.grid-main{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(290px,1fr);gap:22px;margin-bottom:22px}.panel{background:#fff;border:1px solid var(--line);border-radius:11px;overflow:hidden;min-width:0}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:23px 24px 6px}.panel-head p{font-size:.8125rem;color:var(--muted);margin:0}.panel-head a{color:var(--green);font-size:.8125rem;white-space:nowrap}.panel-body{padding:20px 24px}.legend{display:flex;gap:15px;font-size:.75rem;color:var(--muted);align-items:center}.legend span{display:flex;align-items:center;gap:6px}.legend i{width:8px;height:8px;border-radius:50%;background:var(--green)}.legend .blue{background:var(--blue)}.chart{padding:14px 18px 0;position:relative}.chart svg{display:block;width:100%;height:246px;overflow:visible}.chart text{font-size:12px;fill:#8b9993}.chart .grid{stroke:#e9eeeb;stroke-dasharray:4 5}.chart .line{stroke:var(--green);stroke-width:2.6;fill:none}.chart .secondary{stroke:var(--blue);stroke-width:2;fill:none}.chart .area{fill:url(#chart-fill)}.chart-caption{padding:8px 24px 19px;font-size:.75rem;color:var(--muted)}.source-list{padding:23px 24px}.source-row{margin-bottom:23px}.source-row:last-child{margin-bottom:0}.source-label{display:flex;justify-content:space-between;font-size:.875rem;margin-bottom:10px;gap:15px}.source-label strong{font-weight:500}.track{height:7px;background:#f0f4f2;border-radius:9px;overflow:hidden}.bar{height:100%;background:var(--green);border-radius:9px}.track svg{height:7px;width:100%;display:block}.source-row:nth-child(2) .track rect{fill:#86aaa0}.source-row:nth-child(3) .track rect{fill:#a7b8e6}.stat-strip{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:22px}.integration{padding:20px 24px;display:flex;align-items:center;gap:16px;background:#edf3f0;border:1px solid #dce9e1;border-radius:10px}.integration>.icon{color:#68877c;width:24px;height:24px}.integration h3{margin:0 0 5px;font-size:.875rem}.integration p{margin:0;font-size:.8125rem;color:#7a8b82}.badge{display:inline-flex;font-size:.75rem;line-height:1.4;border-radius:5px;padding:4px 8px;white-space:nowrap;background:#edf5ef;color:#397c58}.badge.off{color:#8d6d35;background:#fbf4e6}.badge.disabled{color:#a94b4b;background:#fbeeee}.integration .badge{margin-left:auto}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:.875rem}th{font-size:.75rem;font-weight:500;color:#7b8a83;background:#f8faf9;padding:13px 24px;white-space:nowrap}td{padding:17px 24px;border-bottom:1px solid #edf1ee}tr:last-child td{border-bottom:0}td small{display:block;margin-top:5px}td .user-cell{display:flex;gap:10px;align-items:center}td .avatar{width:32px;height:32px;font-size:.75rem}.text-button{border:0;background:transparent;color:var(--green);font-size:.8125rem;padding:7px 0;white-space:nowrap}.text-button.danger{color:#a64e4e}.empty{text-align:center;padding:40px 22px;color:var(--muted);font-size:.875rem;line-height:1.8}.empty .icon{display:block;margin:0 auto 12px;width:29px;height:29px;color:#9bb4aa}.empty strong{display:block;color:#4c655b;font-weight:500;margin-bottom:4px}.footer{display:flex;justify-content:space-between;font-size:.75rem;color:#8b9993;padding-top:19px;gap:15px}.filters{display:flex;gap:12px;padding:20px 24px;align-items:center}.filters input{max-width:330px}.filters select{width:auto}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:19px}.field label{font-size:.875rem;color:#465c52}.field input,input,select{background:#fff;border:1px solid #d8e2dc;border-radius:7px;padding:11px 13px;color:#294137;min-width:0;width:100%;font-size:.875rem}.field input::placeholder,input::placeholder{color:#9ba9a1}.field small{line-height:1.6}.pagination{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;border-top:1px solid var(--line);gap:15px;font-size:.8125rem;color:var(--muted)}.pagination>div{display:flex;gap:8px}.pagination .button{padding:6px 12px;min-height:34px}.explanation{font-size:.8125rem;color:#6d8076;background:#f8faf9;border:1px solid var(--line);padding:17px 20px;border-radius:9px;margin-top:20px;line-height:1.8}.explanation summary{cursor:pointer;color:#466256}.explanation ul{padding-left:20px;margin-bottom:0}.module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.module{padding:24px}.module p{font-size:.875rem;color:var(--muted);margin:13px 0 0}.module-heading{display:flex;justify-content:space-between;gap:12px}.module-heading h3{margin:0}.system-info{display:flex;gap:35px;flex-wrap:wrap;padding:24px}.system-info span{font-size:.8125rem;color:var(--muted);display:block;margin-bottom:7px}.system-info b{font-size:.875rem;font-weight:500}.plan-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.plan-card{padding:30px}.plan-card .duration{font-size:2rem;font-weight:600;margin:24px 0 8px}.plan-card p{color:var(--muted);font-size:.875rem}.plan-card .badge{margin-top:15px}.notice{display:flex;gap:12px;align-items:flex-start;background:#e9f3ee;color:#416957;padding:17px 21px;border-radius:9px;font-size:.875rem;line-height:1.8;margin-bottom:22px}.notice .icon{margin-top:3px}.auth-layout{min-height:100vh;display:grid;grid-template-columns:minmax(360px,44%) 1fr;background:white}.auth-story{background:#112f2b;color:white;padding:52px 11%;display:flex;flex-direction:column;justify-content:space-between;position:relative}.auth-story h1{font-size:2.7rem;line-height:1.5;letter-spacing:-.04em;margin-bottom:25px}.auth-story p{color:#a3bdb2;font-size:.9375rem;max-width:350px}.auth-story .story-mark{width:60px;height:4px;background:#66d6a5;margin-bottom:30px}.auth-story footer{color:#86a698;font-size:.8125rem}.auth-main{display:grid;place-items:center;padding:50px 32px}.auth-card{width:100%;max-width:390px}.auth-card h1{font-size:1.8rem;margin-bottom:13px}.auth-card>p{color:var(--muted);font-size:.875rem;margin-bottom:30px}.auth-card .button{width:100%;margin-top:4px}.auth-links{font-size:.875rem;text-align:center;margin-top:22px;color:var(--muted)}.auth-links a{color:var(--green);font-weight:500}.form-error{background:#fff0ed;border:1px solid #f4d8d1;color:#a44e3b;border-radius:6px;font-size:.875rem;padding:10px 13px;line-height:1.6;margin-bottom:16px}.form-error:empty{display:none}.auth-card .eyebrow{margin-bottom:18px}.security-note{margin-top:27px;border-top:1px solid var(--line);padding-top:20px;color:#86968d;font-size:.75rem;line-height:1.7}.portal-header{height:80px;padding:0 max(24px,calc((100vw - 1160px)/2));background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:24px}.portal-header .brand{color:#153d31}.portal-header .brandmark{color:white}.portal-header nav{display:flex;align-items:center;gap:22px;font-size:.875rem}.portal{max-width:1160px;margin:0 auto;padding:48px 24px}.portal .welcome{font-size:2rem}.shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.shop-card{padding:25px}.shop-card h2{margin:17px 0 10px;overflow-wrap:anywhere}.shop-card p{font-size:.8125rem;color:var(--muted);margin-bottom:0}.account-form{max-width:460px;padding:28px}.landing{max-width:1100px;margin:0 auto;padding:80px 24px}.landing h1{font-size:3rem;line-height:1.5;max-width:720px}.landing .lead{color:var(--muted);max-width:620px;font-size:1.1rem}.landing .head-actions{margin:30px 0 55px}.landing .module-grid{grid-template-columns:repeat(3,1fr)}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#193f32;color:white;padding:12px 24px;border-radius:9px;box-shadow:0 8px 35px #15352626;z-index:100;font-size:.875rem;display:none;max-width:90vw}#toast.visible{display:block}dialog{border:1px solid var(--line);border-radius:13px;padding:28px;width:min(460px,calc(100vw - 32px));color:#273e33;box-shadow:0 25px 100px #0d302b30}dialog::backdrop{background:#0c251a66;backdrop-filter:blur(2px)}dialog h2{margin-bottom:12px}dialog p{font-size:.875rem;color:var(--muted)}dialog .actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.loading{padding:80px;text-align:center;color:var(--muted)}.mobile-toggle{display:none}.error-state{max-width:500px;padding:35px;margin:50px auto;background:#fff;border:1px solid var(--line);border-radius:12px}.error-state p{color:var(--muted)}
@media(min-width:1550px){.content{padding:40px 46px}.metric{padding:25px 28px}.chart svg{height:285px}}
@media(max-width:1150px){.layout{grid-template-columns:205px minmax(0,1fr)}.sidebar{padding:25px 13px}.content{padding:26px 23px}.topbar{padding:0 23px}.metrics{gap:12px}.metric{padding:17px}.metric-number{font-size:1.9rem}.grid-main{grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr);gap:16px}.panel-head{padding:20px 19px 6px}.source-list{padding:22px 19px}.legend{gap:8px}.top-actions>span{display:none}.page-head{align-items:flex-start}.chart svg{height:225px}.integration{padding:17px}.integration>.icon{display:none}}
@media(max-width:900px){.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-main{grid-template-columns:1fr}.auth-layout{grid-template-columns:38% 1fr}.auth-story{padding:35px 24px}.auth-story h1{font-size:2rem}.plan-grid,.shop-grid{grid-template-columns:1fr 1fr}.stat-strip{grid-template-columns:1fr}.chart svg{height:255px}.module-grid{grid-template-columns:1fr}.landing .module-grid{grid-template-columns:1fr}}
@media(max-width:680px){.layout{display:block}.sidebar{position:fixed;z-index:50;width:236px;transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0);box-shadow:10px 0 100px #0b281355}.mobile-toggle{display:inline-flex;color:#315247}.topbar{height:65px;padding:0 15px}.top-actions{gap:12px}.top-actions a span{display:none}.breadcrumb{gap:7px;font-size:.8125rem}.content{padding:25px 16px}.page-head{flex-direction:column;gap:18px}.head-actions{width:100%;justify-content:space-between}h1{font-size:1.65rem}.metrics{gap:10px}.metric{padding:16px}.metric-number{font-size:1.9rem}.metric-top{font-size:.8125rem}.metric-icon{width:28px;height:28px}.metric-note{font-size:.75rem}.panel-head{padding:20px 17px 6px}.panel-head h2{font-size:1rem}.chart{padding:14px 8px 0}.chart svg{height:220px}.chart-caption{padding-left:17px}.filters{padding:17px;flex-wrap:wrap}.filters input{max-width:none;flex:1;min-width:150px}.filters select{max-width:130px}th,td{padding:13px 17px}.footer{flex-direction:column;gap:7px}.auth-layout{display:block}.auth-story{min-height:185px;padding:26px}.auth-story .story-content{display:none}.auth-story footer{margin-top:20px}.auth-main{padding:35px 25px}.plan-grid,.shop-grid{grid-template-columns:1fr}.portal-header{padding:0 18px;height:70px}.portal-header nav{gap:13px;font-size:.8125rem}.portal-header .brand small{display:none}.portal-header .brand{font-size:1.08rem}.portal{padding:32px 18px}.landing{padding:45px 22px}.landing h1{font-size:2.1rem}.landing .lead{font-size:1rem}.panel-head{flex-wrap:wrap}.pagination{padding:16px}.integration{gap:10px}.integration .badge{font-size:.6875rem}.system-info{gap:24px}}
.sidebar{overflow-y:auto}.side-bottom{flex-shrink:0}.source-label>span{overflow-wrap:anywhere;min-width:0}.top-actions .avatar{display:grid}
@media(max-height:820px) and (min-width:681px){.side-note{display:none}.side-label{margin-top:24px}.side-bottom{padding-top:20px}}
@media(max-width:680px){.sidebar{visibility:hidden}.sidebar.open{visibility:visible}.top-actions a span.avatar{display:grid}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Cloud upload and report workspace */
.exclusion-manager{padding:16px}.exclusion-manager summary{cursor:pointer;font-weight:600}.exclusion-manager>p{font-size:12px;color:#7e8999;margin-top:10px}.exclusion-manager [data-ex-dirty]{color:#bd750d}.exclusion-manager textarea{margin:10px 0}.exclusion-report{padding:14px 18px;background:#fffaf0;border:1px solid #ffe3a8;border-radius:6px;margin:14px 0;font-size:13px;line-height:1.8}.exclusion-report p{margin:5px 0}.exclusion-manager td input[data-note]{min-width:150px}
.cost-maintenance [data-saved]{color:#758399;font-size:12px}.cost-maintenance [data-dirty]{color:#bd750d;font-size:12px}.cost-maintenance [data-cost]{min-width:115px}.cost-maintenance [data-code]{min-width:160px}.cost-maintenance [data-status]{min-width:100px}.cost-maintenance [data-message]{padding:8px 0;color:#45617f}.cost-maintenance [data-import-map] label{display:inline-flex;gap:10px;align-items:center;margin:10px}.cost-maintenance th{white-space:nowrap}
.analysis-filters{display:flex;flex-direction:column;gap:8px;margin-bottom:14px}.analysis-filters>input{width:100%}.analysis-filters>div{display:flex;gap:8px;flex-wrap:wrap}.analysis-filters select{min-width:135px}.analysis-toolbar{display:flex;justify-content:space-between;gap:14px;padding:12px}.analysis-toolbar>div{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.analysis-toolbar .page-search{width:235px}.analysis-panel{overflow:visible!important}.analysis-panel>.table-wrap{margin:0 12px;max-height:62vh}.analysis-table{width:100%;border-collapse:collapse}.analysis-table th[data-sort]{cursor:pointer;user-select:none;min-width:110px}.analysis-table td{height:76px;vertical-align:middle}.analysis-name{display:block;white-space:normal;min-width:185px;max-width:260px;line-height:1.7}.analysis-placeholder,.analysis-image{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #edf0f4;background:#f7f9fc;border-radius:8px;color:#97a1af;font-size:11px;object-fit:contain}.expand-product{border:1px solid #e8ebef;background:white;border-radius:50%;width:20px;height:20px;line-height:16px;font-size:14px;color:#596574;padding:0}.expand-cell{width:28px}.analysis-table .danger{color:#e24545}.analysis-table .positive{color:#0c9c78}.analysis-table .watch{color:#c77809}.risk-tag{display:inline-block;border:1px solid currentColor;border-radius:8px;font-size:10px;padding:0 5px;opacity:.85;margin-top:3px}.refund-chip{background:#fff5f4;border:1px solid #ffe2de;border-radius:5px;padding:3px 6px;color:#dc3a2e}.type-meter{background:#f7f9fc;border:1px solid #edf0f4;border-radius:5px;padding:5px 7px;min-width:115px;color:#405269}.type-meter.watch{background:#fff9ef;border-color:#ffe2aa}.type-meter small{display:block;color:#119a71;font-size:10px}.type-meter.watch small{color:#ce7910}.type-meter progress{display:block;width:100%;height:3px;margin-top:3px;accent-color:#1677ff;border:0}.column-picker{position:relative}.column-picker>div{position:absolute;right:0;top:36px;z-index:10;width:215px;max-height:360px;overflow:auto;display:flex;flex-direction:column;gap:8px;padding:14px;background:#fff;border:1px solid #dfe5ef;box-shadow:0 8px 26px #182d4724;border-radius:6px}.column-picker label{display:flex;align-items:center;gap:8px}.column-picker summary{cursor:pointer;list-style:none}.analysis-pagination{padding:14px;display:flex;align-items:center;justify-content:flex-end;gap:10px}.analysis-total{margin-right:auto;color:#8b95a5}.analysis-pagination .page-number{color:#1677ff}.analysis-status{font-size:12px;margin:0 14px;color:#7d8898}.analysis-status:empty{display:none}.analysis-footnote{font-size:11px;color:#8b95a5}.analysis-empty{text-align:center;color:#8b95a5}.after-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}.after-summary>div{border:1px solid #d6e5ff;border-left:4px solid #1677ff;background:linear-gradient(110deg,#f3f7ff,#fff);border-radius:6px;padding:14px 12px}.after-summary small{display:block;font-size:12px;margin-bottom:8px}.after-summary strong{font-size:24px;color:#1677ff}.after-summary strong span{font-size:11px;color:#68798d;margin-left:5px}.after-summary>div:nth-child(2){border-color:#ffe1ac;border-left-color:#cb7b09;background:linear-gradient(110deg,#fffaef,#fff)}.after-summary>div:nth-child(2) strong{color:#b56d00}.after-summary>div:nth-child(n+3){border-color:#ffe0dc;border-left-color:#d63d3d;background:linear-gradient(110deg,#fff4f2,#fff)}.after-summary>div:nth-child(n+3) strong{color:#cd3e3e}.style-detail>td{background:#f6f9fd;padding:16px!important}.style-content{max-width:calc(100vw - 290px)}.style-pagination{display:flex;gap:12px;align-items:center;padding:10px}.style-content th{position:static}.style-content td{height:auto}.analysis-table tbody tr:hover>td{background-color:#fafcff}
@media(max-width:900px){.after-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.analysis-toolbar{flex-direction:column}.analysis-toolbar>div{justify-content:flex-end}.style-content{max-width:calc(100vw - 245px)}}@media(max-width:760px){.style-content{max-width:calc(100vw - 70px)}.after-summary strong{font-size:21px}}
.cockpit{display:grid;grid-template-columns:190px minmax(0,1fr);min-height:100vh;background:#f4f5f7;color:#262c36;font-family:"Microsoft YaHei","PingFang SC",sans-serif;font-size:13px;--green:#1677ff;--muted:#8b95a5}.cockpit [hidden]{display:none!important}.cockpit-side{background:#172133;color:#92a4b6;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.cockpit-brand{height:54px;display:flex;align-items:center;gap:8px;color:#fff;font-weight:700;padding:0 16px;white-space:nowrap}.cockpit-brand b{background:#1aad86;border-radius:5px;padding:3px 5px}.cockpit-side nav{background:#001529;padding:6px 4px}.cockpit-side nav button{display:flex;align-items:center;gap:11px;width:100%;padding:12px 15px;margin:3px 0;background:none;border:0;color:#92a4b6;text-align:left;border-radius:7px;font-size:13px}.cockpit-side nav button.selected{background:#1677ff;color:white}.cockpit-side nav button:hover{color:#fff}.cockpit-side nav button span{width:17px;font-size:18px}.cockpit-links{margin-top:auto;padding:20px;display:flex;flex-direction:column;gap:15px}.cockpit-main{min-width:0}.cockpit-top{height:54px;border-bottom:1px solid #ebedf0;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 20px;gap:12px}.cockpit-top>div{display:flex;align-items:center;gap:10px}.cockpit-top select{max-width:200px}.cockpit-content{padding:20px}.cockpit-heading h1{font-size:21px;font-weight:650;margin-bottom:6px;letter-spacing:0}.cockpit-heading p{color:#8b95a5;font-size:12px;margin-bottom:16px}.cockpit .panel{border:1px solid #eceef1;border-radius:7px;margin-bottom:14px}.cockpit h2{font-size:14px;margin:0 0 14px;font-weight:650}.cockpit h3{font-size:13px}.cockpit .button{font-size:12px;padding:5px 12px;min-height:30px;border-radius:5px}.cockpit .button.primary{background:#1677ff;border-color:#1677ff}.cockpit input,.cockpit select,.cockpit textarea{border:1px solid #e1e5eb;border-radius:4px;padding:6px 9px;min-width:0;background:white;color:#344054;font:inherit}.cockpit input:focus,.cockpit select:focus,.cockpit textarea:focus{outline:2px solid #91caff}.cockpit .calculation{padding:16px}.cockpit .calculation-files{grid-template-columns:repeat(5,minmax(0,1fr));padding:0;gap:10px}.cockpit .file-card{padding:8px;border-radius:6px;overflow:visible}.cockpit .upload-zone{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;margin:0;min-height:112px;background:#fafafa;border:1px dashed #e4e7ec;border-radius:6px;cursor:pointer;overflow:hidden}.cockpit .upload-zone:hover{border-color:#1677ff;background:#f0f7ff}.cockpit .upload-symbol{font-size:28px}.cockpit .upload-zone input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;margin:0}.cockpit .file-card [role=status]{background:#f7f9fc;border:1px solid #edf0f5;min-height:43px;padding:10px;color:#798598;font-size:11px}.cockpit .retry-upload{margin-top:8px;font-size:11px}.cockpit .file-card details{font-size:11px}.cockpit .file-card select{width:100%}.cockpit .upload-note{font-size:11px;color:#8b95a5;margin:12px 0 0}.cockpit #cloud-calculate{padding:16px}.cockpit .calc-basic{display:flex;flex-wrap:wrap;align-items:flex-end;gap:16px;margin-bottom:24px}.cockpit .calc-basic>label{display:flex;flex-direction:column;gap:9px}.cockpit .date-range{display:flex;align-items:center;gap:6px}.cockpit .fee-input{display:flex;border:1px solid #e1e5eb;border-radius:4px;background:#fff;overflow:hidden}.cockpit .fee-input input{width:100%;border:0;border-radius:0;padding:5px 9px}.cockpit .fee-input span{padding:5px 9px;background:#f7f9fc;border-left:1px solid #e1e5eb;color:#8b95a5}.cockpit .cost-group{background:#fafbfe;border:1px solid #edf0f5;border-radius:6px;padding:14px;margin:12px 0}.cockpit .cost-group h3{display:flex;justify-content:space-between;margin-bottom:18px}.cockpit .cost-group h3 span{color:#1677ff;font-weight:400}.cockpit .fee-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.cockpit .fee-grid label{display:flex;flex-direction:column;gap:8px;font-size:12px}.cockpit .cost-group p{font-size:11px;color:#8b95a5;margin:14px 0 0}.cockpit .maintained-cost{display:flex;align-items:center;gap:8px;margin:14px 0;font-size:12px}.cockpit-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0}.cockpit #calc-message{margin:0;font-size:12px}.cockpit .calculation-history{padding:15px}.cockpit .calculation-history summary{cursor:pointer}.cockpit .calculation-history>button{margin-top:12px}.cockpit .table-wrap{overflow:auto;max-height:65vh}.cockpit th,.cockpit td{padding:10px 12px;font-size:12px;white-space:nowrap;border-bottom:1px solid #f0f0f0}.cockpit th{position:sticky;top:0;background:#fafafa;z-index:1}.cockpit textarea{width:100%;margin-bottom:10px}.cockpit td input{width:100%}.cockpit [role=status]{overflow-wrap:anywhere}.cockpit .panel-body>p{font-size:12px;color:#7e8999}.cockpit #calc-result .profit-cards strong{font-size:24px}.cockpit #calc-result .profit-cards small{font-size:12px}
@media(min-width:1700px){.cockpit{grid-template-columns:190px minmax(0,1fr)}.cockpit .upload-zone{min-height:130px}.cockpit-content{padding:22px}.cockpit .cost-group{padding:18px;margin:16px 0}}
@media(max-width:1200px){.cockpit .calculation-files{grid-template-columns:repeat(3,minmax(0,1fr))}.cockpit .fee-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cockpit-top>span{display:none}}
@media(max-width:760px){.cockpit{grid-template-columns:1fr}.cockpit-side{position:static;height:auto}.cockpit-brand{height:44px}.cockpit-side nav{display:grid;grid-template-columns:repeat(4,1fr)}.cockpit-side nav button{font-size:11px;padding:9px 4px;gap:4px;justify-content:center}.cockpit-side nav button span{display:none}.cockpit-links{display:none}.cockpit-top{height:auto;min-height:50px;padding:8px 12px}.cockpit-top>div{flex-wrap:wrap;gap:7px}.cockpit-top small{display:none}.cockpit-content{padding:12px}.cockpit .calculation-files{grid-template-columns:repeat(2,minmax(0,1fr))}.cockpit .fee-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cockpit .date-range input{max-width:135px}}
.profit-cards>div.profit-core{background:#edf5ff;border-top:3px solid #1677ff}.profit-cards>div.profit-core:nth-child(2),.profit-cards>div.profit-core:nth-child(3){background:#effaf3;border-color:#389e0d}.profit-cards>div.profit-core:nth-child(4){background:#fff2f0;border-color:#cf1322}#calc-result .profit-cards{grid-template-columns:repeat(4,minmax(0,1fr))}#calc-result .panel-head .primary{color:#fff}#calc-result .table-wrap{max-height:600px;overflow:auto}#calc-result th{position:sticky;top:0;background:#f6f8fb;z-index:1}#calc-result>.panel>p{padding:0 20px}#calc-result td{font-variant-numeric:tabular-nums}#calc-result .profit-cards strong{overflow-wrap:anywhere}@media(max-width:780px){#calc-result .profit-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:420px){#calc-result .profit-cards strong{font-size:19px}}
.calculation-files{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;padding:20px}.file-card{border:1px solid #e1e7ef;border-radius:10px;padding:16px;overflow:hidden}.file-card input[type=file]{max-width:100%;margin:12px 0}.file-card [role=status]{font-size:13px;margin-top:10px;overflow-wrap:anywhere}.file-card details{margin-top:12px}.file-card label,.calc-params label{display:flex;flex-direction:column;gap:8px;margin:12px 0}.file-card select{max-width:100%;padding:8px}.calc-params{display:flex;gap:20px;flex-wrap:wrap}#cloud-calculate{padding:20px}#calc-message{display:inline-block;margin:12px;color:#375577}.profit-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;padding:20px}.profit-cards>div{background:#f3f6fa;padding:16px;border-radius:8px}.profit-cards small,.profit-cards strong{display:block}.profit-cards strong{font-size:24px;margin-top:10px}#calc-result{margin-top:24px}#calculation-workspace{margin-top:24px}

/* Profit analysis: status colors also apply to expanded specifications. */
.analysis-page .profit-value{font-weight:700;font-variant-numeric:tabular-nums}
.analysis-page .profit-profit{color:#087552}.analysis-page .profit-loss{color:#bd2929}.analysis-page .profit-even{color:#647181}
.analysis-page .profit-tag{display:inline-block;padding:3px 8px;border-radius:5px;font-size:12px;white-space:nowrap;margin:2px 4px 2px 0;font-weight:600}
.analysis-page .profit-tag.profit-profit{background:#e8f6ef}.analysis-page .profit-tag.profit-loss{background:#fdeaea}.analysis-page .profit-tag.profit-even{background:#edf0f3}
.analysis-page .cost-pending{color:#995400;background:#fff3dc}.analysis-page .cost-complete{color:#647181}
.analysis-page .profit-row-loss>td{background-color:#fff7f7}.analysis-page .profit-row-loss:hover>td{background-color:#ffeded}

/* Responsive workspace and independently scrolling expanded specifications. */
.cockpit{max-width:100%;min-width:0}.cockpit.nav-collapsed{grid-template-columns:minmax(0,1fr)}.cockpit.nav-collapsed .cockpit-side{display:none}
.cockpit-top{height:auto;min-height:54px;padding:10px 16px;flex-wrap:wrap}.cockpit-top>div{flex:1;justify-content:flex-end;flex-wrap:wrap;min-width:0}.cockpit-top select{width:180px;max-width:100%}.cockpit .cockpit-toggle{flex-shrink:0}.cockpit-content{min-width:0}.cockpit .button{white-space:normal;overflow-wrap:anywhere}
.cockpit .panel-head{flex-wrap:wrap}.cockpit .table-wrap{max-width:100%;overscroll-behavior-x:contain}.analysis-page{min-width:0}.analysis-panel{container-type:inline-size}
.analysis-toolbar{flex-wrap:wrap}.analysis-toolbar>div{min-width:0}.analysis-toolbar .page-search{width:min(100%,260px)}.analysis-filters select{width:auto;flex:1 1 135px}.analysis-filters input{max-width:100%}.analysis-pagination,.style-pagination{flex-wrap:wrap}.analysis-pagination select{width:auto}
.cockpit .analysis-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:normal;overflow-wrap:anywhere;min-width:150px;width:clamp(150px,18vw,240px);max-width:240px;line-height:1.6}.analysis-name[data-copy]{cursor:pointer}.analysis-name[data-copy]:focus-visible{outline:2px solid #1677ff}
.copy-id{background:transparent;border:0;padding:0;color:inherit;font:inherit;white-space:nowrap;cursor:copy}.copy-id:hover{text-decoration:underline}
.analysis-page .number-column{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.analysis-page td.name-column{position:sticky;left:0;z-index:2;background:#fff;box-shadow:2px 0 4px #142b4410}.analysis-page th.name-column{position:sticky;left:0;top:0;z-index:4;background:#fafafa}.analysis-page .profit-row-loss>td.name-column{background:#fff7f7}
.analysis-page .style-detail>td{padding:12px!important;background:#f6f9fd!important}.analysis-page .style-content{position:sticky;left:12px;width:calc(100cqw - 50px);max-width:calc(100cqw - 50px);min-width:0;white-space:normal;border:1px solid #dfe6ef;border-radius:6px;background:#fff;overflow:hidden}.analysis-page .style-content>.table-wrap{max-height:38vh;overflow:auto;overscroll-behavior:contain}.analysis-page .style-content th{position:sticky;top:0;z-index:3}.analysis-page .style-content th.name-column{z-index:4}.style-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;background:#eef4fb}.style-pagination{background:#fff;margin:0}.style-pagination span{white-space:normal}.analysis-footnote,.analysis-status{overflow-wrap:anywhere}
.cost-maintenance .cockpit-actions input[data-search]{flex:1 1 240px;width:auto}.cost-maintenance .cockpit-actions select{flex:0 1 200px;width:auto}.cost-save-bar{position:sticky;bottom:0;background:#fff;padding:12px 0;z-index:5;border-top:1px solid #e1e5eb}.cost-maintenance .panel-head{padding:0}.cost-maintenance td:nth-child(2){white-space:normal}
.cockpit .file-card{min-width:0}.cockpit .file-card label,.cockpit .file-card summary{overflow-wrap:anywhere}.cockpit .calc-basic>label{max-width:100%}.cockpit .date-range{flex-wrap:wrap}.cockpit .fee-grid label{min-width:0}.cockpit .cost-group h3{flex-wrap:wrap;gap:8px}
dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);overflow:auto}dialog form>.actions,dialog form>button:last-child{position:sticky;bottom:0;z-index:2}dialog form>.actions{background:white;padding:10px 0}
@media(max-width:1100px){.cockpit:not(.nav-collapsed){grid-template-columns:170px minmax(0,1fr)}.cockpit-brand{padding:0 9px;font-size:12px}.cockpit-content{padding:14px}.cockpit .calculation-files{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.cockpit:not(.nav-collapsed){grid-template-columns:minmax(0,1fr)}.cockpit-side{position:static;height:auto}.cockpit .cockpit-top>span{display:none}.cockpit-top{padding:8px;gap:8px}.cockpit-top>div{gap:6px}.cockpit-content{padding:8px}.analysis-toolbar>div{justify-content:flex-start}.analysis-toolbar .button{padding:6px 8px}.analysis-page .style-content{width:calc(100cqw - 50px);max-width:calc(100cqw - 50px)}.analysis-pagination{gap:6px}.analysis-total{flex:1 1 100%}.cockpit .panel-body{padding:12px}.cockpit .analysis-name{min-width:120px;width:140px}.cockpit .fee-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:440px){.cockpit .calculation-files{grid-template-columns:minmax(0,1fr)}.cockpit .fee-grid{grid-template-columns:minmax(0,1fr)}.after-summary{grid-template-columns:minmax(0,1fr)}.cockpit-top select{width:140px}.style-pagination{gap:6px}.style-pagination span{flex:1 1 100%;order:3}}

/* Refund basis radio controls and parameter autosave feedback. */
.cockpit .refund-options{border:0;margin:0;padding:0;min-width:0}.cockpit .refund-options legend{padding:0;margin-bottom:9px}.cockpit .refund-options>div{display:flex;gap:18px;flex-wrap:wrap;min-height:32px;align-items:center}.cockpit .refund-options label{display:inline-flex;align-items:center;gap:8px;cursor:pointer;white-space:nowrap}.cockpit .refund-options input[type=radio]{width:17px;height:17px;margin:0;accent-color:#1677ff;flex:none}.cockpit #params-save-status{font-size:12px;color:#607687}

/* Compact column choices and sortable cost product IDs. */
.cockpit .column-picker>div{width:max-content;min-width:205px;max-width:calc(100vw - 40px);padding:10px 12px;gap:2px}
.cockpit .column-picker label{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;white-space:nowrap;margin:0;padding:6px 2px;line-height:1.4;cursor:pointer}
.cockpit .column-picker label input[type=checkbox]{width:15px;min-width:15px;max-width:15px;height:15px;flex:0 0 15px;margin:0;padding:0;accent-color:#1677ff}
.cockpit .column-picker label span{white-space:nowrap;flex:0 0 auto}
.cost-id-sort{border:0;background:transparent;padding:0;color:inherit;font:inherit;cursor:pointer;white-space:nowrap}.cost-id-sort:hover{color:#1677ff}

/* Upload card report downloads */
.cockpit .file-card-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:8px}.cockpit .file-card-actions .retry-upload{margin-top:0}.cockpit .file-card-actions .report-download{margin-left:auto;white-space:nowrap;color:#1677ff;border-color:#b8d8ff}

/* Report login guide */
.report-login-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.report-login-actions .button{white-space:normal}.report-login-note{font-size:12px;color:#72817e;line-height:1.7}

/* Authorization expiry shortcuts */
.expiry-shortcuts{display:flex;flex-wrap:wrap;gap:8px}.expiry-shortcuts .button{padding:6px 12px;min-height:32px}.expiry-shortcuts .button.selected{background:#e8f4ef;border-color:#137c66;color:#137c66}

/* Preview icon treatment only: existing layout, labels and values retained. */
.feature-icon{--icon-top:#67b6ff;--icon-bottom:#1677ff;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;flex:none;pointer-events:none;line-height:1}
.feature-icon svg{display:block;flex:none}
.feature-icon.icon-green{--icon-top:#55dfb4;--icon-bottom:#00b383}
.feature-icon.icon-orange{--icon-top:#ffcd70;--icon-bottom:#ff870d}
.feature-icon.icon-purple{--icon-top:#c599ff;--icon-bottom:#8748ee}
.feature-icon.icon-red{--icon-top:#ff9ea9;--icon-bottom:#ff425e}
.feature-icon.icon-round,.feature-icon.icon-mini{color:white;--icon-ink:var(--icon-bottom);background:linear-gradient(145deg,var(--icon-top),var(--icon-bottom) 78%);border-radius:50%;box-shadow:inset 0 1px 2px #ffffff80,0 3px 7px #24467b24}
.feature-icon.icon-round{width:32px;height:32px;margin-right:8px}
.feature-icon.icon-round svg{width:21px;height:21px}
.feature-icon.icon-mini{width:22px;height:22px;margin-right:6px}
.feature-icon.icon-mini svg{width:15px;height:15px}
.cockpit .upload-symbol .feature-icon.icon-file{width:34px;height:34px;color:var(--icon-bottom);filter:drop-shadow(0 2px 2px #24467b20)}
.feature-icon.icon-file svg{width:34px;height:34px}
.cockpit-side nav .feature-icon.icon-nav{width:18px;height:18px;color:inherit}
.feature-icon.icon-nav svg{width:18px;height:18px}
.feature-icon.icon-nav{--icon-ink:#001529}
.cockpit-side nav .selected .feature-icon.icon-nav{--icon-ink:#1677ff}
.after-summary small .feature-icon{vertical-align:middle}

.calculation-progress{margin-top:16px;padding:14px;background:#f4f8ff;border:1px solid #d6e5ff;border-radius:6px}.calculation-progress>div{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px}.calculation-progress progress{display:block;width:100%;height:14px;accent-color:#1677ff}.calculation-progress small{display:block;margin-top:8px;color:#68798d;font-size:12px}

/* Connected shop management and local helper */
.shop-manager{padding:22px}.helper-toolbar,.helper-section-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.helper-section-title{justify-content:space-between;margin-bottom:12px}.helper-section-title h2{margin:0}.helper-toolbar select{max-width:260px}.shop-actions{white-space:nowrap}.shop-actions button+button{margin-left:8px}.helper-empty{padding:30px;color:#64748b}.helper-job,.helper-download-progress{display:grid;gap:8px;margin-top:14px}.helper-job progress,.helper-download-progress progress{width:100%;height:12px;accent-color:#1677ff}.helper-download-progress small{color:#718096}.shop-manager [role=alert]{color:#c53030}.helper-job strong{font-size:14px;overflow-wrap:anywhere}.helper-toolbar .button{white-space:nowrap}
.helper-card-state{font-size:12px;color:#1677ff;padding:8px 0;overflow-wrap:anywhere}.helper-download-progress [data-download-percent]{font-size:13px;color:#1677ff;font-weight:600}
.maintained-cost{display:flex;justify-content:flex-start;align-items:center;gap:8px}.maintained-cost input{width:auto;flex:none}.shop-manager .helper-toolbar{margin-bottom:10px}

/* Activity monitor: scoped preview UI. */
.activity-monitor{display:grid;gap:20px}.am-notice{display:flex;gap:14px;flex-wrap:wrap;padding:12px 18px;background:#edf4ff;color:#315784;border:1px solid #d9e6fb;border-radius:10px;font-size:13px}.am-overview{padding:26px;display:flex;justify-content:space-between;align-items:center;gap:20px}.am-overview h2{margin:10px 0}.am-overview p{color:#66788d}.am-eyebrow{font-size:11px;letter-spacing:2px;color:#6983a3}.am-actions{display:flex;gap:10px;flex-wrap:wrap}.am-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.am-metric{text-align:left;padding:20px;cursor:pointer;color:inherit}.am-metric strong{display:block;font-size:32px;margin:8px 0;color:#1c63d5}.am-metric small{color:#8290a1}.am-tabs{display:flex;align-items:center;gap:8px;padding:16px;border-bottom:1px solid #e7edf5;flex-wrap:wrap}.am-tabs [role=tab]{background:none;border:0;padding:10px 14px;color:#66788d;cursor:pointer;border-radius:6px}.am-tabs [aria-selected=true]{background:#eaf2ff;color:#1769df;font-weight:600}.am-demo{margin-left:auto}.am-progress{padding:12px 20px;color:#66788d;font-size:13px;background:#fafcff}.am-filters{display:flex;gap:12px;padding:18px;align-items:center;flex-wrap:wrap}.am-filters input{flex:1;min-width:180px}.am-filters input,.am-filters select,.am-dialog input[type=time],.am-dialog select{border:1px solid #dbe3ee;border-radius:7px;padding:10px;background:white;color:#253850}.am-results td{padding:18px 14px;vertical-align:middle}.am-results td small{display:block;color:#8390a1;margin:5px 0}.am-tag{display:inline-block;padding:4px 9px;border-radius:5px;font-size:12px;font-weight:500;white-space:nowrap}.am-tag.red{background:#fff0ee;color:#bd4036}.am-tag.green{background:#e9f7ef;color:#248253}.am-tag.orange{background:#fff4dd;color:#9a6b13}.am-tag.gray{background:#eef1f5;color:#677589}.am-empty{text-align:center;padding:55px 20px;color:#8190a3}.am-empty span{font-size:42px;color:#90b1e3}.am-empty h3{color:#3c516d}.am-run{padding:32px}.am-dialog{border:1px solid #e0e7f0;border-radius:14px;max-width:520px;width:calc(100% - 32px);padding:24px;color:#24364d;box-shadow:0 24px 80px #152c4b40}.am-dialog::backdrop{background:#16273c66}.am-dialog header{display:flex;align-items:center;justify-content:space-between;gap:20px}.am-dialog h2{font-size:20px}.am-dialog form>label{display:grid;gap:8px;margin:18px 0}.am-dialog fieldset{border:1px solid #dce5ef;border-radius:8px;padding:14px}.am-check{display:flex;gap:8px;margin:10px 0}.am-detail{line-height:1.8}.am-detail small{color:#76869b}.am-detail li{margin:12px 0}@media(max-width:800px){.am-overview{align-items:flex-start;flex-direction:column}.am-metrics{grid-template-columns:repeat(2,1fr)}.am-filters select{max-width:100%}.am-results table{min-width:850px}}
.activity-monitor .am-filters input{width:auto;flex:1 1 220px}.activity-monitor .am-filters select{width:auto;flex:0 1 180px}.activity-monitor .button.primary{background:#1769df;border-color:#1769df}.am-dialog{font-family:inherit}.am-dialog form button{margin-top:14px}

/* Interactive activity snapshot cards and product summaries */
.activity-monitor .am-metric[aria-pressed=true],.am-activity-card[aria-pressed=true]{border-color:#2879ef;background:#edf5ff;box-shadow:0 0 0 1px #2879ef}.activity-monitor button:focus-visible{outline:3px solid #8ab8ff;outline-offset:3px}.am-activity-section{padding:20px}.am-activity-section h3{margin:0 0 8px}.am-activity-section>p{color:#78879a;font-size:13px}.am-activity-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}.am-activity-card{background:#fff;border:1px solid #dfe7f1;border-radius:10px;padding:18px;text-align:left;color:#254264;cursor:pointer}.am-activity-card>span,.am-activity-card>small{display:block}.am-activity-card>small{margin-top:6px;color:#8493a6}.am-activity-card strong{display:flex;align-items:baseline;gap:8px;font-size:30px;margin:16px 0;color:#2169d5}.am-activity-card strong small{font-size:12px;font-weight:400}.am-activity-card>span:last-child{font-size:12px;color:#2774df}.am-status-badges{display:flex;flex-wrap:wrap;gap:6px;min-width:230px;max-width:430px}.am-status-badges button{border:0;cursor:pointer;text-align:left;white-space:normal}.activity-monitor .am-results> .table-wrap>table>tbody>tr>td:nth-child(2){white-space:normal;min-width:210px;max-width:350px}.am-metric:hover,.am-activity-card:hover{border-color:#80acf0}

.activity-monitor .am-alert-cell{min-width:230px;max-width:360px;white-space:normal}.am-online-alert{padding:10px 12px;background:#fff4e8;border-left:3px solid #e89126;border-radius:6px;margin:5px 0;color:#92500f}.am-online-alert b{font-size:12px}.am-online-alert p{margin:6px 0 0;line-height:1.55;font-size:13px;white-space:normal}.am-no-alert{color:#9aa5b4}
/* Operations workbench redesign */
.am-ops-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.am-ops-heading h2{margin:0 0 8px;font-size:24px}.am-ops-heading p{margin:0;color:#718198}.am-ops .am-filters label{display:grid;gap:7px;font-size:12px;color:#516581}.am-ops .am-filters{align-items:end}.am-ops-health{padding:12px 20px;border-top:1px solid #edf0f5;display:flex;gap:22px;flex-wrap:wrap;color:#78869a;font-size:12px}.am-ops-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.am-ops .am-activity-card{min-width:0}.am-risk-card strong{color:#c47712}.am-ops-list-note{padding:14px 20px;background:#f8faff;color:#406080;font-size:13px}.am-ops-list-note span{float:right;color:#8896a6}.am-ops-table-wrap{overflow:auto}.am-ops .am-ops-table{width:100%;table-layout:fixed;min-width:1000px}.am-ops-table th:nth-child(1){width:24%}.am-ops-table th:nth-child(2){width:10%}.am-ops-table th:nth-child(3){width:14%}.am-ops-table th:nth-child(4){width:13%}.am-ops-table th:nth-child(5){width:25%}.am-ops-table th:nth-child(6){width:14%}.am-ops .am-ops-table td{white-space:normal;overflow-wrap:anywhere;padding:16px 12px;vertical-align:top;font-size:13px}.am-ops-product{display:flex;gap:12px}.am-ops-product img{object-fit:contain;border:1px solid #e9edf3;border-radius:6px;flex-shrink:0}.am-ops-product b{font-weight:500;line-height:1.55}.am-ops-tags{display:flex;flex-direction:column;align-items:start;gap:6px}.am-ops .am-tag{white-space:normal;line-height:1.5}.am-tag.blue{background:#eaf2ff;color:#2266c5}.am-muted{color:#8a97a8;font-size:12px}.am-ops-issue{border-left:3px solid #d97070;background:#fff5f4;padding:9px 10px;border-radius:5px;margin-bottom:7px;color:#984646}.am-ops-issue.adjust{background:#fff7e9;border-color:#e9ab45;color:#95631a}.am-ops-issue.review{background:#f0f6ff;border-color:#71a0e3;color:#456da4}.am-ops-issue p{margin:5px 0;font-size:12px;line-height:1.6}.am-ops-actions{display:flex;flex-direction:column;gap:6px;align-items:start}.am-ops-actions .button{font-size:12px;padding:6px 8px}.am-ops-actions button:disabled{opacity:.5;cursor:not-allowed}.am-ops-expanded{padding:8px 18px;background:#f7f9fc;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-height:520px;overflow:auto}.am-ops-expanded>div{background:white;border:1px solid #e5ebf3;padding:14px;border-radius:8px}.am-ops-expanded b{display:block;margin-bottom:8px}.am-ops-expanded p{margin:8px 0;font-size:12px}.am-danger{color:#bd5c20}.am-ops-detail{max-width:720px}.am-detail-record{padding:16px 0;border-top:1px solid #e4eaf2}.am-detail-record small{color:#8995a6}.am-ops .am-tabs b{margin-left:5px;font-size:12px}.am-ops .am-tabs{gap:2px;padding:12px}.am-ops .am-tabs button{padding:9px 10px}@media(max-width:1000px){.am-ops-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.am-ops-list-note span{float:none;display:block;margin-top:6px}.am-ops-expanded{grid-template-columns:1fr}}


.am-ops-cards{gap:10px}.am-ops .am-ops-cards .am-activity-card{padding:12px 16px}.am-ops .am-ops-cards .am-activity-card strong{font-size:25px;margin:8px 0}.am-ops .am-ops-cards .am-activity-card>small{margin-top:3px;font-size:11px}.am-ops .am-ops-cards .am-activity-card>span:last-child{font-size:11px}.am-ops-ignored{background:#f2f4f7;padding:10px;border-radius:6px;color:#6b7788}.am-dialog textarea{min-height:65px;width:100%;box-sizing:border-box}.am-dialog [hidden]{display:none!important}.am-dialog [data-error]{color:#b43c32}

/* Customer module access controls. */
.permission-grid{border:0;padding:0;margin:18px 0;display:grid;gap:9px}.permission-grid legend{font-size:13px;color:#718198;margin-bottom:10px}.permission-option{display:flex;align-items:flex-start;gap:12px;padding:12px;border:1px solid #dce6e1;border-radius:8px;cursor:pointer;background:#fff}.permission-option:has(input:checked){border-color:#72b9a2;background:#f0f9f5}.permission-option input[type=checkbox]{width:18px;height:18px;flex:none;margin:3px 0 0;accent-color:#137c66}.permission-option strong{display:block;font-size:14px;font-weight:600}.permission-option small{display:block;font-size:12px;margin-top:5px;line-height:1.5}.permission-option.unavailable{background:#f4f5f6;color:#8a9590;cursor:not-allowed}.permission-option.unavailable input{cursor:not-allowed}#modal:has(.permission-grid){width:min(560px,calc(100vw - 32px));max-height:90vh;overflow:auto}[data-permissions-user]{margin-right:16px}#add-shop[hidden]{display:none}

.goods-sync-toolbar { padding: 12px 0; gap: 10px; flex-wrap: wrap; }
.goods-sync-toolbar [hidden] { display: none !important; }
.product-images { min-width: 88px; max-width: 180px; }
.product-images img { margin: 2px; }

/* Workspace visual refresh. Business rules, fields and action visibility stay with their existing modules. */
.cockpit .date-range{width:auto;max-width:100%;gap:8px}.cockpit .date-range input[type=date]{width:155px;flex:0 1 155px;max-width:100%}
.cockpit{--ui-primary:#2f5ce8;--ui-primary-soft:#edf1fe;--ui-ink:#1b2436;--ui-sub:#68738a;--ui-line:#e2e7f0;--muted:#68738a;--green:#2f5ce8;background:#f4f6fb;color:var(--ui-ink);font-size:14px;line-height:1.6}
.cockpit-content{padding:24px;min-width:0}.cockpit-heading{margin-bottom:20px}.cockpit-heading h1{font-size:22px;line-height:1.4;margin-bottom:6px}.cockpit-heading p{font-size:13px;color:var(--ui-sub);margin-bottom:0;max-width:100ch;line-height:1.7}
.cockpit h2{font-size:16px;line-height:1.5;margin-bottom:16px}.cockpit h3{font-size:14px;line-height:1.5}.cockpit small{font-size:12px}.cockpit .panel{border-color:var(--ui-line);border-radius:10px;box-shadow:0 1px 2px #10182805;margin-bottom:16px}
.cockpit-side{background:#13203f;color:#b4bfd6;overflow-y:auto}.cockpit-brand{height:64px;font-size:13px;padding:0 14px}.cockpit-side nav{background:transparent;padding:4px 8px}.cockpit-side nav button{padding:12px 10px;min-height:44px;font-size:13px;color:#b4bfd6;border-radius:8px}.cockpit-side nav button:hover{background:#21345d}.cockpit-side nav button.selected{background:var(--ui-primary);color:white}.cockpit-side nav .selected .feature-icon.icon-nav{--icon-ink:var(--ui-primary)}.cockpit-links{font-size:12px;border-top:1px solid #ffffff15;margin-top:auto;padding:20px 16px}
.cockpit-top{min-height:64px;padding:12px 24px;border-color:var(--ui-line);gap:12px}.cockpit-top>span{font-size:13px;color:var(--ui-sub)}.cockpit-top select{width:220px;max-width:100%}.cockpit-top small{color:var(--ui-sub)}
.cockpit .button{min-height:36px;padding:7px 12px;font-size:13px;line-height:1.45;border:1px solid #d5dce8;border-radius:7px;background:#fff;color:#34435e;box-shadow:none;overflow-wrap:normal}.cockpit .button:hover{background:#f4f7fe;border-color:#bdccee}.cockpit .button.primary{background:var(--ui-primary);border-color:var(--ui-primary);color:#fff}.cockpit .button.primary:hover{background:#2450d0}.cockpit button:disabled{cursor:not-allowed;opacity:.6}.cockpit :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #a3bbff;outline-offset:2px}
.cockpit input:not([type=checkbox]):not([type=radio]):not([type=file]),.cockpit select,.cockpit textarea{min-height:36px;border:1px solid #cdd6e4;border-radius:7px;padding:7px 10px;font-size:14px;line-height:1.45;color:#25344e;background:white}.cockpit input::placeholder,.cockpit textarea::placeholder{color:#78869a}.cockpit input[type=checkbox],.cockpit input[type=radio]{accent-color:var(--ui-primary)}.cockpit label{line-height:1.6}
.cockpit .panel-head{gap:12px}.cockpit .panel-body,.cockpit .calculation,.cockpit #cloud-calculate,.cockpit .shop-manager{padding:20px}.cockpit .panel-body>p,.cockpit .upload-note,.cockpit .analysis-footnote{color:var(--ui-sub);font-size:12px;line-height:1.75}
.cockpit .helper-section-title{gap:12px;margin-bottom:16px}.cockpit .helper-section-title h2{margin:0}.cockpit .calculation-files{grid-template-columns:repeat(auto-fit,minmax(min(100%,205px),1fr));gap:12px}.cockpit .file-card{padding:12px;border:1px solid var(--ui-line);border-radius:8px;background:#fff}.cockpit .upload-zone{min-height:80px;flex-direction:row;gap:10px;background:#f8faff;border-color:#dbe3f0;font-size:14px;font-weight:600}.cockpit .upload-zone:hover{background:var(--ui-primary-soft);border-color:var(--ui-primary)}.cockpit .upload-zone .upload-symbol{display:flex;align-items:center}.cockpit .upload-zone input{min-height:0;padding:0;border:0}.cockpit .file-card [role=status]{font-size:12px;color:#56647b;background:#f5f7fb;border:0;border-radius:6px;min-height:52px;padding:10px;line-height:1.6}.cockpit .file-card-actions{gap:8px;margin-top:10px}.cockpit .file-card-actions .button{min-height:34px;padding:6px 9px;font-size:12px}.cockpit .file-card details{font-size:12px;padding-top:8px;border-top:1px solid #edf0f6}.cockpit .file-card details:not([open]){padding-bottom:2px}.cockpit .file-card summary{cursor:pointer;color:#53637f}.cockpit .helper-card-state{padding:8px 0 0;color:#315baf;font-size:12px;line-height:1.7}
.cockpit .helper-download-progress,.cockpit .helper-job{padding:14px 16px;border:1px solid #dae5f8;border-radius:8px;background:#f4f8ff;gap:7px;font-size:13px;line-height:1.7}.cockpit .helper-download-progress small{color:#5c6e88;line-height:1.65}.cockpit .helper-download-progress progress,.cockpit .helper-job progress{height:8px;accent-color:var(--ui-primary)}.cockpit .helper-download-progress[data-task-status=done],.cockpit .helper-job[data-task-status=done]{background:#f1faf5;border-color:#d2e9da}.cockpit [data-task-status=done] progress{height:4px;accent-color:#0f9d58}.cockpit [data-task-status=failed]{background:#fff7f6;border-color:#efd3cf}.cockpit [data-task-status=waiting_login]{background:#fff9ed;border-color:#ecd7ac}.cockpit .helper-job .button,.cockpit .helper-download-progress .button{justify-self:start}.cockpit .helper-job strong{font-weight:600;font-size:13px}
.cockpit .calc-basic{align-items:flex-start;gap:24px;margin-bottom:20px}.cockpit .cost-group{background:#f8faff;border-color:#e4eaf4;border-radius:8px;padding:16px;margin:16px 0}.cockpit .cost-group h3{margin-bottom:14px}.cockpit .cost-group h3 span{color:var(--ui-primary)}.cockpit .fee-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:14px}.cockpit .fee-grid label{font-size:13px;gap:6px}.cockpit .fee-input{border-color:#cdd6e4;border-radius:7px}.cockpit .fee-input input{min-width:0;border:0!important;border-radius:0!important}.cockpit .fee-input span{display:flex;align-items:center;color:#68738a;background:#f2f5fb;font-size:12px}.cockpit .cost-group p{font-size:12px;color:var(--ui-sub)}.cockpit .maintained-cost{font-size:13px;line-height:1.65}
.cockpit #cloud-calculate{overflow:visible}.cockpit .calculation-save-bar{position:sticky;bottom:0;z-index:6;margin:18px -20px -20px;padding:14px 20px;background:#fff;border-top:1px solid var(--ui-line);border-radius:0 0 10px 10px;box-shadow:0 -3px 12px #172d4c05}.cockpit .calculation-save-bar [role=status]{min-width:0;max-width:100%}.cockpit #calc-message{font-size:13px}.cockpit .calculation-history{padding:16px 20px}.cockpit #calc-result .profit-cards,.cockpit .after-summary,.cockpit .am-ops-cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:14px}.cockpit #calc-result .profit-cards>div,.cockpit .after-summary>div{min-width:0;padding:18px;border-radius:8px}.cockpit .after-summary>div{background:#fff;border:1px solid var(--ui-line);border-top:3px solid #aec4f6}.cockpit .after-summary strong{display:block;font-size:25px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;color:#294c8c}.cockpit .after-summary>div:nth-child(n+2) strong{color:#294c8c}.cockpit .after-summary small{font-size:12px;color:var(--ui-sub);line-height:1.6}.cockpit #calc-result .profit-cards strong{font-variant-numeric:tabular-nums}
.cockpit .analysis-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;background:white;border:1px solid var(--ui-line);border-radius:10px;padding:16px 20px;margin-bottom:16px}.cockpit .analysis-filter-field{display:grid;gap:6px;font-size:12px;color:#55647b;min-width:0}.cockpit .analysis-filters>div{grid-column:1/-1;gap:10px;align-items:center}.cockpit .analysis-filters select{flex:0 1 180px}.cockpit .analysis-filters input{width:100%}.cockpit .analysis-toolbar{padding:16px;align-items:center;gap:12px}.cockpit .analysis-toolbar>div{gap:8px}.cockpit .analysis-status{margin:0 16px;font-size:12px;color:var(--ui-sub)}.cockpit .analysis-panel>.table-wrap{margin:12px 16px 0;border:1px solid #e6ebf3;border-radius:7px;scroll-padding-top:48px;scroll-padding-bottom:12px}.cockpit .analysis-pagination,.cockpit .style-pagination{padding:14px 16px;gap:10px;font-size:13px}.cockpit .analysis-total{color:var(--ui-sub)}
.cockpit th{padding:12px;font-size:13px;font-weight:600;line-height:1.5;background:#f3f6fb;color:#526078;border-bottom:1px solid #dfe6f0}.cockpit td{padding:12px;font-size:14px;line-height:1.65;border-bottom:1px solid #edf0f5}.cockpit .table-wrap{scrollbar-gutter:stable;overscroll-behavior:contain}.cockpit tbody tr:hover>td{background-color:#f6f8fd}.cockpit .analysis-table td{height:80px}.cockpit .analysis-table th[aria-sort=ascending],.cockpit .analysis-table th[aria-sort=descending]{color:var(--ui-primary);background:#edf2ff}.cockpit .sort-hint{color:#8a97ab;font-size:11px;font-weight:400}.cockpit .analysis-table th[data-sort]:hover .sort-hint{color:var(--ui-primary)}.cockpit .analysis-name{font-size:13px;line-height:1.65;min-width:160px;width:clamp(160px,18vw,240px)}.cockpit .analysis-page td.name-column,.cockpit .analysis-page th.name-column{box-shadow:3px 0 8px #2139580a}.cockpit .analysis-page th.name-column{background:#f3f6fb}.cockpit .analysis-image,.cockpit .analysis-placeholder,.cockpit .product-images img{width:48px;height:48px;object-fit:contain;border:1px solid #e2e7f0;border-radius:7px;background:white}.cockpit .analysis-placeholder{background:#f5f7fb;color:#68738a;font-size:12px}.cockpit .copy-id{font-size:12px;color:#586780}.cockpit .expand-product{width:28px;height:28px;line-height:24px;border-radius:7px;font-size:18px;color:var(--ui-primary);border-color:#d9e3f5}.cockpit .risk-tag,.cockpit .profit-tag{font-size:12px;border-radius:5px;line-height:1.6;padding:2px 6px}.cockpit .type-meter{min-width:120px;background:#f5f8fc;border-color:#e3e9f2;padding:7px 9px}.cockpit .type-meter small{font-size:12px}.cockpit .type-meter.watch{background:#fff8ed;border-color:#efdcb9}.cockpit .refund-chip{padding:3px 7px;font-variant-numeric:tabular-nums}.cockpit .analysis-footnote{margin:14px 0 0}
.cockpit .cost-maintenance{overflow:visible}.cockpit .cost-maintenance .cockpit-actions{gap:10px;margin:16px 0}.cockpit .cost-maintenance>.table-wrap{border:1px solid #e4eaf3;border-radius:7px;max-height:60vh;scroll-padding:48px 12px 12px}.cockpit .cost-maintenance th:nth-child(2),.cockpit .cost-maintenance td:nth-child(2){position:sticky;left:0;z-index:2;background:#fff;box-shadow:3px 0 7px #2139580a;white-space:nowrap}.cockpit .cost-maintenance th:nth-child(2){z-index:4;background:#f3f6fb}.cockpit .cost-maintenance [data-cost]{text-align:right;font-variant-numeric:tabular-nums;min-width:120px}.cockpit .cost-maintenance [data-code]{min-width:170px}.cockpit .cost-maintenance [data-status]{font-size:13px;color:#586780}.cockpit .cost-maintenance [data-message]:not(:empty){padding:10px 12px;background:#f5f8fd;border-radius:7px;font-size:13px;line-height:1.7}.cockpit .cost-maintenance .cost-save-bar{bottom:0;z-index:6;margin:16px -20px 0;padding:14px 20px;border-top:1px solid var(--ui-line);background:white;box-shadow:0 -3px 12px #172d4c05}.cockpit .cost-maintenance [data-dirty]:not(:empty){color:#94600b;background:#fff5de;padding:6px 10px;border-radius:6px;font-size:12px}.cockpit .cost-maintenance [data-save-message]{font-size:13px;color:#536783}.cockpit .cost-maintenance>details{border-top:1px solid var(--ui-line);padding-top:16px}.cockpit .cost-maintenance>details summary{cursor:pointer;color:#3b506c}
.cockpit .shop-manager>h2{margin-bottom:6px}.cockpit .shop-manager>p{font-size:13px;color:var(--ui-sub);margin-bottom:18px}.cockpit .shop-connection{background:#f8faff;border:1px solid var(--ui-line);border-radius:8px;padding:16px;margin:18px 0}.cockpit .shop-connection h3{margin:0 0 12px;color:#3a4d6b}.cockpit .helper-toolbar{gap:10px;margin-bottom:0}.cockpit .helper-toolbar select{flex:1 1 220px;max-width:300px}.cockpit [data-helper-state]{margin:12px 0 0;color:#526784;font-size:13px}.cockpit .shop-manager form[data-manual-shop]{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin:16px 0 20px;padding:0 0 20px;border-bottom:1px solid var(--ui-line)}.cockpit [data-manual-shop] label{display:grid;gap:6px;flex:0 1 340px;font-size:13px;font-weight:500}.cockpit [data-manual-shop] input{width:100%}.cockpit [data-manual-shop]>small{font-size:12px;color:var(--ui-sub);padding-bottom:8px}.cockpit .shop-list{border:1px solid #e4eaf3;border-radius:7px}.cockpit .shop-list table{min-width:860px}.cockpit .shop-list td:first-child{font-weight:600;min-width:180px}.cockpit .shop-list td:nth-child(2){color:var(--ui-sub);font-size:13px}.cockpit .shop-list td:nth-child(3){white-space:normal;min-width:180px}.cockpit .shop-binding{display:inline-block;font-size:12px;line-height:1.6;border-radius:5px;padding:4px 8px}.cockpit .shop-binding.bound{color:#1b754c;background:#eaf7ef}.cockpit .shop-binding.manual{color:#866015;background:#fff5df}.cockpit .shop-actions{white-space:normal;min-width:300px}.cockpit .shop-actions button{margin:3px 6px 3px 0!important;font-size:12px;min-height:34px;padding:6px 9px}.cockpit [data-manager-error]:not(:empty){padding:10px 12px;border:1px solid #e2e7f0;border-radius:7px;font-size:13px;line-height:1.7}.cockpit [data-helper-link]{font-size:12px!important;overflow-wrap:anywhere}.cockpit .goods-sync-toolbar{font-size:12px;line-height:1.7;padding:12px 16px;background:#f8faff;border:1px solid #e6ecf5;border-radius:8px;margin:12px 0}.cockpit .goods-sync-toolbar:empty{display:none}.cockpit .analysis-panel>.goods-sync-toolbar{margin:0 16px 12px}
.cockpit .activity-monitor{gap:16px}.cockpit .am-ops-heading h2{font-size:16px;margin-bottom:4px}.cockpit .am-ops-heading p{font-size:13px;color:var(--ui-sub)}.cockpit .am-patrol{padding:18px 20px}.cockpit .am-login-wait{margin:12px 0;padding:14px 16px;background:#fff9ed;border:1px solid #ecd7ac;border-radius:8px;display:grid;gap:10px}.cockpit .am-login-wait p{margin:0;font-size:13px;line-height:1.7}.cockpit .am-login-wait-actions{display:flex;flex-wrap:wrap;gap:10px}.cockpit .am-login-wait .button{justify-self:start}.cockpit .am-patrol>p{margin:0 0 12px;font-size:13px;line-height:1.7}.cockpit .am-patrol>.am-filters{padding:0;margin:12px 0;gap:10px}.cockpit .am-patrol>small{display:block;font-size:12px;color:var(--ui-sub);line-height:1.75;max-width:110ch}.cockpit .am-patrol>div:not(.am-filters)>p{padding:10px 12px;background:#f6f8fc;border:1px solid #e6ecf5;border-radius:6px;font-size:13px;margin:10px 0 0}.cockpit .am-patrol>div>p small{color:var(--ui-sub);margin-left:8px}.cockpit .text-button{background:transparent;border:0;color:var(--ui-primary);padding:6px 8px;min-height:36px;font-size:13px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.cockpit .am-notice{padding:12px 16px;font-size:12px;line-height:1.75;gap:8px;color:#476185;background:#eef4ff;border-color:#dce7fc}.cockpit .am-ops-filter .am-filters{padding:16px 20px;gap:12px}.cockpit .am-ops-filter label{flex:1 1 170px;min-width:0;color:#53637c;font-size:12px}.cockpit .am-ops-filter .am-filters :is(input,select){width:100%;min-width:0;max-width:none;font-size:14px}.cockpit .am-ops-health{padding:12px 20px;background:#f8faff;color:var(--ui-sub);font-size:12px;gap:8px 20px}.cockpit .am-ops .am-activity-card{padding:16px 18px;margin:0;border-radius:8px}.cockpit .am-activity-card>span:first-child{font-size:14px;font-weight:600;color:#354b70}.cockpit .am-activity-card>small{font-size:12px!important;color:var(--ui-sub)}.cockpit .am-ops .am-activity-card strong{font-size:27px;margin:10px 0;font-variant-numeric:tabular-nums;color:var(--ui-primary);flex-wrap:wrap}.cockpit .am-ops .am-risk-card strong{color:#a56812}.cockpit .am-ops .am-activity-card>span:last-child{font-size:12px;color:#526d99;line-height:1.6}.cockpit .am-tabs{padding:12px;gap:4px}.cockpit .am-tabs [role=tab]{font-size:13px;min-height:36px;padding:8px 10px}.cockpit .am-tabs [aria-selected=true]{background:var(--ui-primary-soft);color:var(--ui-primary)}.cockpit .am-ops-list-note{display:flex;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;font-size:13px;padding:12px 16px}.cockpit .am-ops-list-note span{float:none;color:var(--ui-sub);font-size:12px}.cockpit .am-ops-table-wrap{max-height:68vh;scrollbar-gutter:stable;scroll-padding-top:48px}.cockpit .am-ops-table th{z-index:3}.cockpit .am-ops-table th:first-child,.cockpit .am-ops-table td:first-child:not([colspan]){position:sticky;left:0;z-index:2;background:#fff;box-shadow:3px 0 8px #2139580a}.cockpit .am-ops-table th:first-child{z-index:4;background:#f3f6fb}.cockpit .am-ops-table td{padding:14px 12px;font-size:13px}.cockpit .am-ops-product{gap:10px}.cockpit .am-ops-product img{width:48px;height:48px}.cockpit .am-ops-product b{font-size:13px;line-height:1.65}.cockpit .am-ops-table td small,.cockpit .am-muted{color:var(--ui-sub);font-size:12px}.cockpit .am-ops-actions .button{min-height:34px;font-size:12px;padding:6px 9px}.cockpit .am-ops-expanded{padding:16px;gap:12px}.cockpit .am-ops-expanded small{line-height:1.7}
.promotion-analysis .table-wrap{overflow:auto;max-height:65vh}.promotion-analysis table{width:max-content;min-width:100%;table-layout:auto}.promotion-analysis th,.promotion-analysis td{min-width:115px;white-space:nowrap}.promotion-analysis th:first-child,.promotion-analysis td:first-child{min-width:420px;max-width:480px;white-space:normal;position:sticky;left:0;background:white;z-index:1}.promotion-analysis th{position:sticky;top:0;background:#f3f6fc;z-index:2}.promotion-analysis th:first-child{z-index:3}.promotion-analysis th .button{white-space:nowrap}.promotion-analysis [data-columns]{max-width:900px;display:flex;flex-wrap:wrap;gap:12px;padding:16px}.promotion-analysis [data-columns] label,.promotion-analysis .helper-toolbar>label{display:flex;align-items:center;gap:8px}.promotion-analysis input[type=checkbox]{width:auto}.promotion-analysis td img{object-fit:cover;vertical-align:middle;margin:8px;border-radius:6px}
@media(min-width:1700px){.cockpit-content{padding:28px}.cockpit .upload-zone{min-height:84px}}
@media(max-width:1100px){.cockpit-content{padding:18px}.cockpit-top{padding:12px 18px}.cockpit .calculation-files{grid-template-columns:repeat(auto-fit,minmax(min(100%,205px),1fr))}}
@media(max-width:760px){.cockpit-content{padding:12px}.cockpit-top{padding:10px 12px}.cockpit .panel-body,.cockpit .calculation,.cockpit #cloud-calculate,.cockpit .shop-manager{padding:14px}.cockpit .analysis-filters{padding:14px;grid-template-columns:1fr}.cockpit .analysis-filters>div{grid-column:1;gap:8px}.cockpit .analysis-filters select{flex:1 1 140px}.cockpit .calculation-save-bar{margin:16px -14px -14px;padding:12px 14px}.cockpit .cost-maintenance .cost-save-bar{margin:16px -14px 0;padding:12px 14px}.cockpit .analysis-toolbar{align-items:stretch}.cockpit .analysis-toolbar>div{justify-content:flex-start}.cockpit .am-ops-filter .am-filters,.cockpit .am-patrol{padding:14px}.cockpit .am-ops-expanded{grid-template-columns:1fr}.cockpit .am-ops-table td:first-child:not([colspan]),.cockpit .am-ops-table th:first-child{position:static}.cockpit .am-ops-table th:first-child{position:sticky;top:0}.cockpit .shop-connection{padding:12px}.cockpit .helper-toolbar .button{white-space:normal}.cockpit .helper-toolbar select{max-width:100%}.cockpit .cost-group{padding:12px}.cockpit .analysis-panel>.table-wrap{margin-left:10px;margin-right:10px}}
