@charset "UTF-8";

/* Shunfengche PC UI V1.0 — approved pale blue design system */
:root{
  --blue-50:#F2F8FF;--blue-100:#E7F2FF;--blue-200:#D1E6FF;--blue-300:#AFD3FF;
  --blue-400:#7FB6F1;--blue-500:#438DDC;--blue-600:#286FC3;--blue-700:#205AA3;--blue-800:#19477F;
  --canvas:#F6F9FE;--sidebar:#EDF5FF;--surface:#FFFFFF;--line:#E1EAF5;--line-strong:#D3E0F0;
  --ink:#1B304E;--secondary:#64758B;--muted:#92A3B7;--green:#248E73;--orange:#B9821A;
  --red:#BF5B61;--purple:#7868B9;--cyan:#258CAC;--shadow:0 14px 38px rgba(36,75,123,.075);
  --sidebar-w:250px;--topbar-h:70px;
}
*{box-sizing:border-box}
html{height:100%;scroll-behavior:smooth}
body{margin:0;min-height:100%;background:var(--canvas);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Segoe UI",Arial,sans-serif;font-size:13px;line-height:1.5;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
button:disabled{opacity:.48;cursor:not-allowed}
a{color:inherit;text-decoration:none}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #C1DDF8;outline-offset:2px}
input,select,textarea{color:var(--ink)}
svg{vertical-align:middle}
.icon{display:inline-flex;flex:none;align-items:center;justify-content:center}
.app-shell{min-height:100vh}
.sidebar{position:fixed;z-index:40;inset:0 auto 0 0;width:var(--sidebar-w);display:flex;flex-direction:column;background:#F1F7FF;border-right:1px solid #DBE8F5}
.brand{display:flex;align-items:center;gap:11px;padding:21px 23px 17px;height:81px}
.brand-symbol{width:37px;height:37px;flex:none;border-radius:11px;background:var(--blue-600);box-shadow:0 6px 13px rgba(40,111,195,.22);display:flex;align-items:center;justify-content:center;color:white}
.brand-copy{display:flex;flex-direction:column;gap:2px}
.brand-name{font-size:16px;font-weight:820;letter-spacing:.2px}
.brand-en{color:#80A0C6;font-size:9px;font-weight:800;letter-spacing:1.7px}
.side-context{margin:0 12px 12px;border:1px solid #D4E5F9;background:#E6F1FF;border-radius:12px;padding:13px 13px 12px}
.side-context-top{display:flex;align-items:center;justify-content:space-between;color:#5784B9;font-weight:700;font-size:10px;letter-spacing:.55px}
.side-context strong{display:block;font-size:14px;margin:7px 0 4px}
.side-context p{color:#7290B0;font-size:11px;margin:0}
.side-context-bar{height:4px;border-radius:3px;background:#CEE3FB;margin-top:13px;overflow:hidden}
.side-context-bar span{display:block;height:100%;width:58%;border-radius:3px;background:var(--blue-600)}
.nav-scroll{flex:1;overflow-y:auto;padding:3px 10px 24px;scrollbar-color:#CFDFF0 transparent;scrollbar-width:thin}
.nav-group{margin-bottom:9px}
.nav-group-label{display:flex;align-items:center;justify-content:space-between;padding:14px 12px 7px;color:#92A7BE;font-size:10px;font-weight:800;letter-spacing:1.3px}
.nav-group-label .counter{color:#ADC0D5;font-size:10px;font-weight:600;letter-spacing:0}
.nav-link{border:0;width:100%;background:transparent;display:flex;align-items:center;gap:11px;text-align:left;padding:9px 12px;height:39px;margin:2px 0;border-radius:9px;color:#5D7490;font-size:12.5px;font-weight:590;transition:.16s}
.nav-link:hover{background:#E4F0FE;color:#265F9D}
.nav-link.is-active{background:#D8EAFD;color:#205FA5;font-weight:760}
.nav-link .icon{color:#7092B8}
.nav-link.is-active .icon{color:var(--blue-600)}
.nav-link .nav-count{margin-left:auto;font-size:10px;padding:2px 6px;border-radius:5px;background:#E4ECF7;color:#8396AC}
.nav-link.is-active .nav-count{color:#276FB5;background:#C4E0FC}
.side-footer{border-top:1px solid #DCE8F5;padding:14px 17px;display:flex;align-items:center;gap:10px}
.side-avatar{width:35px;height:35px;background:#D8E8FB;color:#2867AD;border:1px solid #C5DCF6;border-radius:11px;display:grid;place-items:center;font-size:12px;font-weight:800}
.side-user{display:flex;flex-direction:column;gap:2px;min-width:0}
.side-user strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.side-user small{font-size:10px;color:#8499B4}
.online{width:7px;height:7px;background:#41AE92;border:2px solid #E4F5EF;border-radius:50%;margin-left:auto;box-sizing:content-box}
.workspace{margin-left:var(--sidebar-w);min-width:0}
.topbar{position:sticky;z-index:30;top:0;height:var(--topbar-h);border-bottom:1px solid var(--line);background:rgba(255,255,255,.94);backdrop-filter:blur(12px);display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 31px}
.breadcrumbs{display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:11px}
.breadcrumbs span:first-child{color:#8C9FB4}
.breadcrumbs .separator{color:#B6C4D4}
.breadcrumbs strong{color:#49617E;font-weight:750}
.top-actions{display:flex;align-items:center;gap:11px;min-width:0}
.top-search{height:35px;width:235px;display:flex;align-items:center;gap:9px;padding:0 11px;border:1px solid #E3EAF3;border-radius:9px;color:#94A4B8;background:#F8FBFF}
.top-search input{width:100%;border:0;outline:0;background:transparent;font-size:11px}
.top-search .shortcut{font-size:10px;color:#AFBDD0;border:1px solid #DFE8F4;border-radius:4px;padding:0 4px}
.top-divider{height:21px;width:1px;background:#E5EDF6;margin:0 3px}
.icon-button{height:34px;width:34px;border:1px solid transparent;border-radius:9px;display:grid;place-items:center;color:#6E87A6;background:transparent}
.icon-button:hover{background:#F1F7FF;border-color:#E3EEF9;color:#286FC3}
.notification-dot{position:relative}
.notification-dot:after{content:"";position:absolute;width:6px;height:6px;border-radius:50%;background:#F28B7A;top:7px;right:7px;border:1.5px solid white}
.top-role{display:flex;align-items:center;gap:9px;padding:5px 8px 5px 12px;border-radius:10px;border:1px solid #DCE9F7;background:#F4F9FF}
.top-role span{font-size:10px;color:#7E94AE;white-space:nowrap}
.top-role select{font-size:11px;font-weight:800;max-width:167px;padding:0 14px 0 0;color:#306CA9;border:0;outline:none;background:transparent;cursor:pointer}
.avatar{width:33px;height:33px;border-radius:11px;background:#D5E8FD;color:#2768B2;display:grid;place-items:center;font-size:11px;font-weight:840}
.top-chip{font-size:10px;font-weight:760;color:#487BB1;padding:6px 8px;border:1px solid #DFEBFA;border-radius:7px;background:#F3F8FF;white-space:nowrap}
.content{max-width:1640px;margin:auto;padding:31px 32px 55px}
.preview-ribbon{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 13px;border-radius:9px;background:#EAF5FF;color:#557A9F;font-size:10px;border:1px solid #D7EAFB;margin-bottom:22px}
.preview-ribbon strong{color:#285E9D}
.ribbon-link{background:transparent;border:0;color:var(--blue-700);font-size:10px;font-weight:800;text-decoration:underline}
.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:23px}
.page-kicker{display:flex;align-items:center;gap:8px;font-size:10px;color:#7B96B7;font-weight:800;letter-spacing:1.45px;margin-bottom:8px}
.page-kicker i{width:7px;height:7px;border-radius:50%;background:var(--blue-500);box-shadow:0 0 0 4px #E1F1FF}
.page-title{font-size:26px;line-height:1.35;letter-spacing:-.5px;font-weight:810;margin:0}
.page-sub{font-size:12px;margin:8px 0 0;line-height:1.75;color:#7B8BA1;max-width:750px}
.page-head-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end;min-height:46px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:0 13px;border-radius:8px;font-size:11px;font-weight:750;border:1px solid #D9E5F3;background:#fff;color:#536B87;white-space:nowrap;transition:.15s}
.btn:hover:not(:disabled){border-color:#ABCDF1;color:#2764A8;background:#F6FAFF}
.btn-primary{background:var(--blue-600);color:white;border-color:var(--blue-600);box-shadow:0 5px 13px rgba(40,111,195,.15)}
.btn-primary:hover:not(:disabled){background:var(--blue-700);color:white;border-color:var(--blue-700)}
.btn-light{color:#286FC3;background:#E8F3FF;border-color:#D4E8FC}
.btn-quiet{background:transparent;border-color:transparent}
.btn-danger{color:#BD5C65;border-color:#F1D7D9;background:#FFF9F9}
.btn-sm{min-height:28px;font-size:10px;padding:0 9px;border-radius:6px}
.btn-outline{color:#496E98;border-color:#D9E5F3}
.btn-group{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.alert-strip{display:flex;align-items:flex-start;gap:10px;color:#816528;background:#FFF9EA;border:1px solid #F3E6C5;border-radius:9px;padding:11px 14px;font-size:11px;margin-bottom:18px;line-height:1.7}
.alert-strip.blue{color:#4379A9;background:#EEF7FF;border-color:#D8EAFC}
.alert-strip.red{color:#A45C62;background:#FFF3F4;border-color:#F3D9DC}
.alert-strip .icon{margin-top:2px;flex:none}
.alert-strip strong{font-weight:760}
.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:17px}
.kpi{background:white;border:1px solid var(--line);border-radius:13px;padding:19px 19px 16px;min-width:0;position:relative;overflow:hidden}
.kpi-top{display:flex;align-items:center;justify-content:space-between;color:#8190A3;font-size:11px;font-weight:640}
.kpi-icon{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#EBF4FF;color:#3985CC}
.kpi-icon.orange{background:#FFF5E7;color:#BF8A26}.kpi-icon.green{background:#ECF8F4;color:#369A7A}.kpi-icon.purple{background:#F3F0FF;color:#8570C2}
.kpi-value{font-size:26px;line-height:1.2;font-weight:850;letter-spacing:-.7px;margin:12px 0 7px;font-variant-numeric:tabular-nums}
.kpi-foot{font-size:10px;color:#8C9FB0;display:flex;gap:6px;align-items:center}
.trend{color:#218F78;font-weight:800}.trend.down{color:#BE786D}
.grid-2{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(285px,1fr);gap:15px;margin-bottom:16px}
.grid-2.equal{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:16px}
.panel{background:#fff;border:1px solid var(--line);border-radius:13px;min-width:0;overflow:hidden}
.panel-pad{padding:19px 21px}
.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin:0 0 17px}
.panel-head h3{font-size:14px;margin:0;font-weight:790}
.panel-head p{color:#8C9AAD;font-size:10px;margin:5px 0 0;line-height:1.65}
.panel-tool{display:flex;align-items:center;gap:8px}
.tiny-link{font-size:10px;color:#286FC3;font-weight:750;background:transparent;border:0;padding:4px}
.legend{display:flex;gap:13px;align-items:center;color:#8494A8;font-size:10px}
.legend i{width:7px;height:7px;border-radius:2px;display:inline-block;margin-right:5px;background:var(--blue-500)}
.legend i.gray{background:#C4D9EC}
.trend-chart{width:100%;height:200px;display:block}
.chart-label{fill:#9CAABD;font:10px -apple-system,sans-serif}
.pie-chart{height:160px;display:grid;grid-template-columns:150px 1fr;align-items:center;gap:12px}
.donut{border-radius:50%;height:142px;width:142px;background:conic-gradient(#438DDC 0 47%,#7CB7E8 47% 72%,#BDD6F4 72% 89%,#E5EEF9 89% 100%);display:grid;place-items:center;position:relative}
.donut:before{content:"";width:93px;height:93px;position:absolute;inset:0;margin:auto;border-radius:50%;background:#fff}
.donut-inner{z-index:1;display:flex;flex-direction:column;align-items:center}
.donut-inner strong{font-size:24px;line-height:1.1}.donut-inner span{font-size:9px;color:#92A1B0;margin-top:4px}
.donut-legend{display:flex;flex-direction:column;gap:10px}
.donut-row{display:flex;align-items:center;gap:8px;color:#70849C;font-size:10px}
.donut-row i{width:7px;height:7px;border-radius:3px;background:var(--blue-500)}
.donut-row b{margin-left:auto;color:#425D7B}
.mini-barchart{display:flex;align-items:end;justify-content:space-between;gap:10px;height:160px;border-bottom:1px solid #E9EFF7;padding:6px 10px 0}
.mini-barchart>div{flex:1;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:8px;font-size:10px;color:#9BAABD}
.mini-barchart i{width:80%;max-width:27px;height:var(--bar);min-height:8px;border-radius:5px 5px 0 0;background:linear-gradient(180deg,#6CABEA,#D3E9FF)}
.mini-barchart>div.today i{background:linear-gradient(180deg,#286FC3,#9BC9F5)}
.task-list{display:flex;flex-direction:column;gap:0}
.task-row{display:flex;align-items:center;gap:11px;padding:11px 2px;border-bottom:1px solid #F0F4F9}
.task-row:last-child{border-bottom:0}
.task-icon{width:35px;height:35px;flex:none;display:grid;place-items:center;border-radius:10px;background:#EBF4FF;color:#4385C6}
.task-icon.orange{background:#FFF6E7;color:#C18A27}
.task-icon.red{background:#FFF0F0;color:#BF6970}
.task-icon.green{background:#EBF9F4;color:#39997D}
.task-body{min-width:0;flex:1}
.task-body strong{display:block;font-size:11px;font-weight:760}
.task-body small{display:block;color:#94A3B4;font-size:10px;margin-top:3px}
.task-count{background:#F0F6FE;color:#467CB8;border-radius:6px;padding:4px 7px;font-weight:800;font-size:10px}
.task-arrow{color:#A0B1C4}
.subtle{font-size:10px;color:#97A6B7}
.table-panel{padding:0}
.table-top{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:19px 19px 14px}
.table-top h3{margin:0;font-size:14px}
.table-top p{margin:5px 0 0;font-size:10px;color:#94A4B5}
.table-wrap{width:100%;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#DDE7F2 transparent}
.data-table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap;font-size:11px}
.data-table th{height:42px;background:#F6F9FE;padding:0 15px;color:#8597AB;font-size:10px;font-weight:760;border-bottom:1px solid #EDF2F8}
.data-table th:first-child,.data-table td:first-child{padding-left:20px}
.data-table th:last-child,.data-table td:last-child{padding-right:20px}
.data-table td{padding:12px 15px;border-bottom:1px solid #EFF3F8;color:#58708C;height:55px}
.data-table tr:last-child td{border-bottom:0}
.data-table tbody tr:hover{background:#FAFCFF}
.table-main{display:flex;flex-direction:column;gap:4px}
.table-main strong{color:#2C4768;font-size:11px;font-weight:800}
.table-main small{font-size:10px;color:#98A8BA}
.table-link{color:#276DB5;font-weight:760;cursor:pointer;background:none;border:none;padding:0;font-size:11px}
.table-link:hover{text-decoration:underline}
.table-muted{color:#9CACBC;font-size:10px}
.status{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:6px;font-size:10px;font-weight:700;border:1px solid transparent;line-height:1;white-space:nowrap}
.status:before{content:"";width:5px;height:5px;background:currentColor;border-radius:50%}
.status.blue{background:#EAF4FF;border-color:#D8EAFB;color:#397DBA}
.status.green{background:#EAF8F2;border-color:#D8F0E7;color:#2B9375}
.status.orange{background:#FFF7E8;border-color:#F7E9CB;color:#AD7C20}
.status.red{background:#FFF0F1;border-color:#F8DBDF;color:#B65F69}
.status.gray{background:#F2F5F8;border-color:#E6ECF3;color:#8494A7}
.status.purple{background:#F5F0FF;border-color:#E8DEFA;color:#7F6CB8}
.status.cyan{background:#EDF8FC;border-color:#D8EEF7;color:#3184A4}
.status.bold{padding:6px 9px;font-size:11px}
.table-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 19px;color:#94A4B4;font-size:10px;border-top:1px solid #EDF2F8}
.pager{display:flex;align-items:center;gap:5px}
.pager button{background:#fff;border:1px solid #DCE7F3;border-radius:6px;width:26px;height:26px;color:#7691B1;font-size:10px}
.pager button.active{background:#E8F3FF;color:#286FC3;font-weight:800;border-color:#C9E0F8}
.filters{display:flex;align-items:end;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:16px 19px;border-bottom:1px solid #EDF2F8}
.filter-fields{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.field{display:flex;flex-direction:column;gap:6px}
.field label{font-size:10px;color:#70849E;font-weight:730}
.control{height:35px;border:1px solid #DCE6F2;background:white;border-radius:8px;padding:0 11px;font-size:11px;color:#526C87;min-width:125px}
.control:focus{outline:0;border-color:#81B5EA;box-shadow:0 0 0 3px #EBF5FF}
.control::placeholder{color:#ABB9C9}
textarea.control{height:auto;padding:10px 11px;min-height:79px;resize:vertical}
.control.wide{min-width:228px}
.control.search{min-width:210px}
.select-wrap{position:relative}
.tabs{display:flex;gap:18px;border-bottom:1px solid #E2EBF5;overflow-x:auto;margin-bottom:16px}
.tab{padding:0 1px 11px;border:0;border-bottom:2px solid transparent;background:none;color:#7C8FA5;white-space:nowrap;font-size:11px}
.tab.active{border-bottom-color:#286FC3;color:#286FC3;font-weight:800}
.tag{font-size:10px;padding:3px 6px;border-radius:5px;background:#EBF4FF;color:#3576B9;font-weight:750}
.chip-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.chip{display:inline-flex;align-items:center;gap:5px;border:1px solid #E0E9F3;background:#fff;border-radius:7px;padding:7px 10px;color:#6E839D;font-size:10px}
.chip.selected{color:#286FC3;background:#EAF4FF;border-color:#CEE5FC;font-weight:750}
.muted-divider{height:1px;background:#EEF2F8;margin:16px 0}
.metric-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.metric-small{background:#F7FAFF;border:1px solid #E9F1FA;border-radius:10px;padding:12px}
.metric-small span{display:block;font-size:10px;color:#8D9FB2}
.metric-small strong{font-size:19px;display:block;margin-top:6px}
.metric-small small{font-size:10px;color:#93A3B6}
.capacity-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:15px}
.date-switch{display:flex;gap:7px;overflow-x:auto;padding:2px 0}
.day{min-width:83px;border:1px solid #E0EAF4;border-radius:10px;background:#fff;padding:11px 14px;text-align:left;color:#748AA5;cursor:pointer}
.day strong{display:block;color:#496582;font-size:15px;margin-top:4px}
.day small{font-size:10px}
.day.active{background:#E8F3FF;border-color:#A5CFF3}
.day.active strong,.day.active small{color:#246DB9}
.capacity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.capacity-card{padding:19px 20px;border:1px solid var(--line);border-radius:12px;background:white}
.capacity-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.route-code{font-size:10px;color:#95A7BA;letter-spacing:1px;font-weight:760}
.route-name{font-weight:820;font-size:15px;margin:6px 0}
.route-sub{font-size:10px;color:#91A5B7}
.capacity-numbers{margin:18px 0 9px;display:flex;align-items:end;justify-content:space-between}
.capacity-numbers strong{font-size:22px;letter-spacing:-.5px}
.capacity-numbers span{font-size:10px;color:#8A9BB0}
.progress{height:7px;border-radius:5px;background:#E8F0FA;overflow:hidden}
.progress span{display:block;height:100%;border-radius:5px;background:linear-gradient(90deg,#9DCAEF,#367DCE)}
.progress.warn span{background:linear-gradient(90deg,#F1D49B,#CD9C3C)}
.progress.danger span{background:linear-gradient(90deg,#F4B6B8,#C76670)}
.capacity-foot{display:flex;align-items:center;justify-content:space-between;margin-top:11px;font-size:10px;color:#8499B0}
.content-split{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.8fr);gap:15px;margin-bottom:17px}
.timeline{border-left:1px solid #D5E5F5;margin-left:7px;padding:0 0 0 18px}
.timeline-step{position:relative;padding:0 0 22px}
.timeline-step:last-child{padding-bottom:0}
.timeline-step:before{content:"";position:absolute;left:-23px;top:3px;width:9px;height:9px;border-radius:50%;background:#fff;border:2px solid #8CB6DF}
.timeline-step.complete:before{background:#286FC3;border-color:#286FC3;box-shadow:0 0 0 4px #ECF5FF}
.timeline-step.current:before{background:#E2B86B;border-color:#D9A34A}
.timeline-step strong{font-size:11px}
.timeline-step p{font-size:10px;color:#8FA1B6;line-height:1.7;margin:4px 0 0}
.detail-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 19px}
.detail-item span{display:block;font-size:10px;color:#94A5B8}
.detail-item strong{display:block;font-size:12px;margin-top:6px;font-weight:780;word-break:break-word}
.detail-item.full{grid-column:1/-1}
.subhead{font-size:11px;font-weight:800;color:#587596;letter-spacing:.5px;margin:15px 0 11px}
.note{font-size:11px;line-height:1.8;color:#7287A1}
.note strong{color:#3F658E}
.callout{border:1px solid #DCEBFB;background:#F3F9FF;border-radius:10px;padding:13px 14px;font-size:11px;color:#56799D;line-height:1.7}
.callout.warm{background:#FFF9ED;border-color:#F0E3C9;color:#8A733D}
.callout.red{background:#FFF7F7;border-color:#F3DDDE;color:#AA6771}
.callout strong{display:block;color:#3E6D9D;margin-bottom:4px;font-size:11px}
.callout.warm strong{color:#9D7B2E}.callout.red strong{color:#9D5762}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.form-grid .full{grid-column:1/-1}
.form-grid .control{width:100%}
.form-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-top:19px;padding-top:16px;border-top:1px solid #EEF2F7}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:13px;margin:21px 0 12px}
.section-heading h3{margin:0;font-size:14px}
.section-heading p{margin:0;color:#91A2B5;font-size:10px}
.role-tag{display:inline-flex;gap:6px;align-items:center;background:#EAF4FF;border-radius:7px;color:#286FC3;padding:6px 8px;font-size:10px;font-weight:700}
.permission-matrix{width:100%;border-collapse:collapse;font-size:11px;min-width:730px}
.permission-matrix th{background:#F5F9FE;text-align:left;padding:13px 11px;color:#7089A7}
.permission-matrix td{border-top:1px solid #EFF3F8;padding:12px 11px;color:#58738F}
.perm-check{font-size:16px;color:#35A17E}.perm-no{font-size:14px;color:#C4D0DD}
.switch-line{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 0;border-bottom:1px solid #EEF2F8}
.switch-line:last-child{border-bottom:0}
.switch-line strong{display:block;font-size:11px}
.switch-line small{display:block;font-size:10px;color:#90A3B7;margin-top:4px}
.toggle{width:32px;height:18px;display:inline-flex;align-items:center;padding:3px;background:#CDD9E8;border-radius:20px}
.toggle.on{background:#6AA5DF;justify-content:flex-end}
.toggle:after{content:"";height:12px;width:12px;border-radius:50%;background:#fff}
.steps{display:flex;align-items:center;gap:0;margin-bottom:19px;overflow:hidden}
.step{flex:1;display:flex;align-items:center;gap:8px;font-size:10px;color:#9EADBE;white-space:nowrap}
.step:after{content:"";height:1px;background:#DAE6F3;flex:1;margin:0 13px}
.step:last-child:after{display:none}
.step i{height:23px;width:23px;border:1px solid #DCE7F3;border-radius:50%;display:grid;place-items:center;font-style:normal;font-weight:800;font-size:10px;background:#fff}
.step.active{color:#246EB5;font-weight:800}.step.active i{background:#286FC3;color:white;border-color:#286FC3}
.step.complete i{background:#DDF2EB;color:#2F9279;border-color:#C9E7DD}
.activity{padding:0 0 0 19px;border-left:1px solid #DCE8F5;margin-left:7px}
.activity-item{position:relative;margin-bottom:18px}
.activity-item:last-child{margin-bottom:0}
.activity-item:before{content:"";height:7px;width:7px;position:absolute;left:-24px;top:4px;border:2px solid #F6FAFF;background:#5294D6;border-radius:50%}
.activity-item strong{font-size:11px}.activity-item p{margin:5px 0 0;color:#8FA2B7;font-size:10px;line-height:1.7}
.traffic-metrics{display:flex;gap:22px;margin-top:12px}
.traffic-metrics>div{flex:1}
.traffic-metrics span{display:block;font-size:10px;color:#8D9EB0}
.traffic-metrics strong{display:block;font-size:18px;margin-top:5px}
.media-preview{height:157px;background:linear-gradient(125deg,#D8EBFF,#B2D3F5 60%,#E7F2FF);border-radius:10px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}
.media-preview:before{content:"";position:absolute;inset:-80px 0 -80px -100px;background:radial-gradient(circle at 20% 30%,rgba(255,255,255,.8),transparent 45%),radial-gradient(circle at 80% 80%,rgba(73,150,218,.4),transparent 50%)}
.media-preview strong{z-index:1;color:#2C689F;font-size:18px;letter-spacing:1.5px}
.play-circle{z-index:2;background:rgba(255,255,255,.85);border:1px solid rgba(255,255,255,.8);width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:#286FC3;box-shadow:0 9px 24px rgba(40,111,195,.17);position:absolute}
.empty{padding:34px 15px;color:#9AACBE;text-align:center;font-size:12px}
.empty .icon{display:flex;margin:auto auto 12px;color:#9DBFE1}
.drawer-shade,.modal-shade{position:fixed;inset:0;background:rgba(24,49,81,.27);backdrop-filter:blur(2px);z-index:100}
.drawer{position:fixed;right:0;top:0;bottom:0;background:white;width:560px;max-width:100%;z-index:101;box-shadow:-12px 0 40px rgba(25,56,95,.11);display:flex;flex-direction:column;animation:slide-in .18s ease-out}
@keyframes slide-in{from{transform:translateX(18px);opacity:.5}to{transform:translateX(0);opacity:1}}
.drawer-header{padding:22px 25px;border-bottom:1px solid #E8EFF7;display:flex;justify-content:space-between;align-items:flex-start}
.drawer-header p{font-size:10px;color:#859AB4;margin:0 0 5px}
.drawer-header h2{margin:0;font-size:19px}
.drawer-body{flex:1;overflow-y:auto;padding:21px 25px}
.drawer-footer{padding:16px 23px;border-top:1px solid #E8EFF7;display:flex;justify-content:flex-end;gap:8px}
.modal-shade{z-index:110;display:flex;align-items:center;justify-content:center;padding:22px}
.modal{background:white;border-radius:15px;width:540px;max-height:90vh;overflow-y:auto;box-shadow:0 28px 90px rgba(27,50,83,.22);animation:pop-in .15s ease-out}
@keyframes pop-in{from{transform:scale(.982);opacity:.5}to{transform:scale(1);opacity:1}}
.modal-head{padding:21px 22px 15px;display:flex;align-items:center;justify-content:space-between}
.modal-head h2{margin:0;font-size:17px}
.modal-body{padding:4px 22px 20px}
.modal-foot{padding:14px 22px;border-top:1px solid #EDF3FA;display:flex;justify-content:flex-end;gap:9px}
.modal-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.toast{position:fixed;z-index:150;bottom:24px;left:calc(50% + var(--sidebar-w)/2);transform:translateX(-50%);background:#203F62;color:white;box-shadow:0 12px 32px rgba(26,52,79,.2);border-radius:9px;padding:12px 17px;display:flex;align-items:center;gap:10px;font-size:12px}
.toast .icon{color:#7ADDB7}
.scope-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.scope-item{border:1px solid #E2ECF6;border-radius:10px;padding:14px}
.scope-item strong{display:block;font-size:12px;margin-bottom:6px}
.scope-item p{font-size:10px;color:#8A9CB1;line-height:1.6;margin:0}
.scope-item small{display:inline-flex;margin-top:9px;padding:3px 6px;background:#F1F7FE;color:#527EB0;border-radius:5px;font-size:9px}
.mobile-nav-trigger{display:none}
@media(max-width:1420px){
  .top-search{width:175px}
  .content{padding:28px 26px 50px}
  .grid-2{grid-template-columns:minmax(0,1.3fr) minmax(260px,1fr)}
}
@media(max-width:1200px){
  .kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .capacity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:1110px){
  :root{--sidebar-w:222px}
  .sidebar{width:var(--sidebar-w)}
  .brand{padding-left:17px}
  .top-chip{display:none}
  .grid-2,.grid-2.equal,.content-split{grid-template-columns:1fr}
  .grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .topbar{padding:0 21px}
  .breadcrumbs{display:none}
  .top-actions{margin-left:auto}
  .page-head{flex-direction:column;gap:13px}
  .page-head-actions{justify-content:flex-start}
}
@media(max-width:760px){
  :root{--sidebar-w:0px}
  .sidebar{transform:translateX(-100%);width:250px;transition:transform .2s}
  .sidebar.show{transform:translateX(0)}
  .workspace{margin-left:0}
  .mobile-nav-trigger{display:flex}
  .topbar{padding:0 12px;height:63px}
  .top-search{display:none}
  .top-role{padding:5px 6px}
  .top-role span{display:none}
  .top-role select{max-width:125px}
  .top-actions{gap:3px}
  .top-divider{display:none}
  .content{padding:18px 13px 40px}
  .page-title{font-size:23px}
  .kpi-grid,.grid-3,.capacity-grid,.scope-grid{grid-template-columns:1fr}
  .preview-ribbon{align-items:flex-start}
  .filters{align-items:stretch}
  .filter-fields .control{min-width:120px}
  .form-grid{grid-template-columns:1fr}
  .form-grid .full{grid-column:1}
  .pie-chart{grid-template-columns:120px 1fr}
  .donut{width:113px;height:113px}.donut:before{width:72px;height:72px}.donut-inner strong{font-size:19px}
  .modal-row{grid-template-columns:1fr}
  .toast{left:50%;width:calc(100% - 30px);justify-content:center}
}
/* V4.2: dual-delivery additions, using the approved pale-blue visual system. */
.mode-tag{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;border:1px solid #CDE1F7;border-radius:999px;padding:5px 9px;background:#EAF4FF;color:#3979B5;font-size:10px;font-weight:750}
.mode-tag .icon{display:inline-flex}.mode-tag.is-delivery{background:#F0EEFF;border-color:#DFDAFF;color:#776BAF}
.v42-switch{display:flex;gap:7px;padding:4px;background:#EDF5FE;border-radius:12px;margin:13px 0 18px}
.v42-switch button{flex:1;border:0;background:transparent;border-radius:9px;padding:11px;color:#6585A5;font-size:12px;font-weight:700;cursor:pointer}
.v42-switch button.active{background:#FFF;color:#286FC3;box-shadow:0 3px 10px rgba(42,91,150,.10)}
.v42-status-flow{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:9px 0}
.v42-status-flow .flow-chip{padding:7px 10px;border-radius:8px;background:#EDF5FF;border:1px solid #DCEAF9;color:#4C7FB0;font-size:11px;font-weight:700}
.v42-status-flow .c3{background:#EEEBFF;color:#7967B6}.v42-status-flow .c6{background:#EAF8F1;color:#2C9677}
.v42-status-flow .flow-arrow{color:#AEC4DD}
.v42-config-list{display:grid;gap:0}.v42-config-item{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:13px 0;border-bottom:1px solid #EDF1F8}
.v42-config-item:last-child{border:0}.v42-config-item strong{display:block;font-size:12px;color:#2B4666}.v42-config-item small{display:block;font-size:10px;color:#8497B0;margin-top:4px}.v42-config-item>b{white-space:nowrap;color:#3E7EBD;font-size:12px}
.data-table .mode-tag{font-size:10px}.data-table td .table-muted{line-height:1.7}
@media(max-width:900px){.v42-config-item{align-items:flex-start}.v42-status-flow{gap:6px}}
