.customer-records-page{display:grid;gap:12px;min-width:0}
.customer-records-page>.page-head{margin-bottom:0}
.customer-records-page>.stats{margin:0;gap:9px}
.customer-records-page>.stats .stat{min-height:78px;padding:12px 14px}
.customer-records-page>.stats .stat strong{font-size:24px}
.customer-records-page .customer-records-note{margin:0;padding:10px 12px;font-size:11px;line-height:1.7}
.customer-records-page .customer-records-query{border:1px solid #c5d4f4;border-radius:12px;background:#f5f8ff;padding:14px;display:grid;gap:9px}
.customer-records-page .customer-records-query label{font-size:12px;font-weight:750;color:#243a63}
.customer-records-page .customer-records-query-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.customer-records-page .customer-records-query input[type=search]{flex:1 1 480px;width:100%;min-width:0;min-height:46px;border:1px solid #aebfe5;border-radius:8px;background:#fff;padding:11px 13px;font:inherit;font-size:13px}
.customer-records-page .customer-records-query .btn{min-height:44px;min-width:72px}
.customer-records-page .customer-records-query p{margin:0;color:var(--muted);font-size:11px;line-height:1.65}
.customer-records-page .customer-records-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.customer-records-page .customer-records-tabs button{border:1px solid var(--line);border-radius:9px;background:#fff;padding:10px 15px;color:var(--muted);font:inherit;font-weight:700;cursor:pointer}
.customer-records-page .customer-records-tabs button[aria-pressed=true]{border-color:var(--blue);background:var(--blue-bg);color:var(--blue);box-shadow:inset 0 -3px var(--blue)}
.customer-records-page .customer-records-filter{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.customer-records-page .customer-records-filter select{min-height:36px;flex:1 1 145px;min-width:0;border:1px solid var(--line);border-radius:8px;background:#fff;padding:7px 9px;font:inherit}
.customer-records-page .customer-records-results .panel-head{align-items:flex-start;gap:8px}
.customer-records-page .customer-records-results th,.customer-records-page .customer-records-results td{padding:10px 12px}
.customer-records-page .customer-records-results td small{font-size:10px;line-height:1.6}
.customer-records-page .customer-records-results td .btn{white-space:nowrap}
.customer-records-page .customer-records-pagination{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:8px;padding:12px}
.customer-records-page .customer-records-pagination>span{color:var(--muted);font-size:11px;margin-right:auto}
.customer-records-page .customer-records-feedback{padding:22px 16px;color:var(--muted);line-height:1.8}
.customer-records-page .customer-records-feedback.is-error{color:#8f3f18;background:#fff8ed}
.customer-records-page .customer-records-student-categories{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.customer-records-page .customer-records-student-categories .student-drilldown-card{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid var(--line);border-radius:9px;padding:10px 12px;min-height:66px;background:#fff}
.customer-records-page .customer-records-student-categories .student-drilldown-card span{min-width:0}
.customer-records-page .customer-records-student-categories .student-drilldown-card small{display:block;margin-top:4px;font-size:9px;line-height:1.4;color:var(--muted)}
.customer-records-page .customer-records-student-categories .student-drilldown-card>b{font-size:22px}
.customer-records-page .customer-records-student-categories .student-drilldown-card.active{border-color:var(--blue);background:var(--blue-bg)}
.customer-records-page .customer-records-student-categories .student-drilldown-card:disabled{opacity:.55;cursor:not-allowed}
.customer-records-page .customer-records-student-filters{padding:12px;border:1px solid var(--line);border-radius:10px;background:#fff}
.customer-records-page .customer-records-student-filters .student-filter-toolbar{margin:0 0 9px}
.customer-records-page .customer-records-student-filters .student-filter-toolbar input{flex:2 1 300px;min-width:0;min-height:40px}
.customer-records-page .customer-records-student-filters .student-academic-filters{margin:0}
.customer-records-page .customer-records-student-name{border:0;background:transparent;color:var(--blue);font:inherit;font-weight:750;text-align:left;padding:0;cursor:pointer}
.customer-records-page .customer-records-parent-link{margin-top:5px}
.customer-records-page .customer-records-student-note{margin:0;border:1px solid var(--line);border-radius:9px;background:#fff;padding:9px 12px;color:var(--muted);font-size:11px}
.customer-records-page .customer-records-student-note summary{cursor:pointer;color:var(--text);font-weight:600}
.customer-records-page .customer-records-student-note p{margin:8px 0 0;line-height:1.7}
.customer-records-page .student-archive-stats .stat.active{border-color:var(--blue);background:var(--blue-bg);box-shadow:inset 0 -3px 0 var(--blue)}
.customer-records-page .student-archive-table{min-width:1560px}
.customer-records-page .student-archive-table th:nth-child(1){min-width:270px}
.customer-records-page .student-archive-table th:nth-child(2){min-width:250px}
.customer-records-page .student-archive-table th:nth-child(3){min-width:250px}
.customer-records-page .student-linked-student,.customer-records-page .student-order-link{display:grid;gap:3px;margin-top:7px;padding-top:7px;border-top:1px solid var(--line)}
.customer-records-page .student-order-link{justify-items:start}
.customer-records-page .student-current-teachers{display:grid;gap:8px}
.customer-records-page .student-current-teachers>div{display:grid;gap:3px;padding-bottom:7px;border-bottom:1px solid var(--line)}
.customer-records-page .student-current-teachers>div:last-child{padding-bottom:0;border-bottom:0}
.customer-records-page :is(button,input,select):focus-visible{outline:3px solid rgba(49,91,234,.28);outline-offset:2px}
.customer-records-drawer{position:fixed;inset:0;z-index:105;background:rgba(15,23,42,.34);display:flex;justify-content:flex-end}
.customer-records-drawer-panel{display:flex;flex-direction:column;width:min(760px,100%);height:100%;min-width:0;background:#fff;box-shadow:-16px 0 40px rgba(15,23,42,.16)}
.customer-records-drawer-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:16px 20px;border-bottom:1px solid var(--line);background:#f8faff}
.customer-records-drawer-head>div{flex:1;min-width:150px}
.customer-records-drawer-head h2{margin:0;font-size:19px;line-height:1.4}
.customer-records-drawer-head small{display:block;color:var(--muted);font-size:10px;margin-top:4px;overflow-wrap:anywhere}
.customer-records-drawer-body{padding:20px;overflow:auto;min-height:0;flex:1;overscroll-behavior:contain}
.customer-records-drawer .customer-records-detail-section{margin:0 0 18px}
.customer-records-drawer .customer-records-detail-section h3{font-size:13px;margin:0 0 10px;color:#344767}
.customer-records-drawer .customer-records-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0}
.customer-records-drawer .customer-records-detail-cell{min-width:0;border:1px solid var(--line);border-radius:9px;background:#fbfcff;padding:10px 12px}
.customer-records-drawer .customer-records-detail-cell dt{font-size:10px;color:var(--muted);margin:0 0 5px}
.customer-records-drawer .customer-records-detail-cell dd{font-size:12px;line-height:1.6;margin:0;overflow-wrap:anywhere;white-space:pre-wrap}
.customer-records-drawer .customer-records-detail-cell.is-wide{grid-column:1/-1}
.customer-records-drawer .customer-records-detail-cell dd.is-missing{color:#866321}
.customer-records-drawer .customer-records-associations{display:grid;gap:8px}
.customer-records-drawer .customer-records-association{display:flex;align-items:center;gap:10px;justify-content:space-between;border:1px solid var(--line);border-radius:9px;padding:10px 12px;background:#fff}
.customer-records-drawer .customer-records-association>div{min-width:0}
.customer-records-drawer .customer-records-association b,.customer-records-drawer .customer-records-association small{display:block;overflow-wrap:anywhere}
.customer-records-drawer .customer-records-association small{color:var(--muted);font-size:10px;line-height:1.5;margin-top:3px}
.customer-records-drawer .customer-records-association .btn{flex:0 0 auto;white-space:nowrap}
.customer-records-drawer .customer-records-history{display:grid;gap:8px}
.customer-records-drawer .customer-records-history article{border-left:3px solid #c7d6f7;border-radius:6px;background:#f7f9fc;padding:9px 12px}
.customer-records-drawer .customer-records-history article b{font-size:11px}
.customer-records-drawer .customer-records-history article small{display:block;color:var(--muted);font-size:10px;margin-top:3px}
.customer-records-drawer .customer-records-history article p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.65;margin:6px 0 0}
.customer-records-drawer .customer-records-detail-note{padding:10px 12px;border:1px solid #eadbb5;border-radius:9px;background:#fffbf1;font-size:11px;line-height:1.7;margin:0 0 16px;color:#745629}
.customer-records-drawer .customer-records-detail-empty{padding:15px;border:1px dashed var(--line);border-radius:9px;font-size:11px;color:var(--muted);line-height:1.7}
.customer-records-drawer .customer-records-detail-error{padding:14px;border:1px solid #edc0ae;border-radius:9px;background:#fff5ef;color:#924222;font-size:12px;line-height:1.8;margin-bottom:12px}
.customer-records-drawer :is(button,a):focus-visible{outline:3px solid rgba(49,91,234,.35);outline-offset:2px}
@media(max-width:1050px){.customer-records-page .customer-records-student-categories{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.customer-records-page .customer-records-query-row>.btn{flex:1}.customer-records-page .customer-records-query input[type=search]{flex-basis:100%}.customer-records-page .customer-records-student-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-records-page>.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-records-drawer-head{padding:12px}.customer-records-drawer-body{padding:14px}.customer-records-drawer .customer-records-detail-grid{grid-template-columns:1fr}.customer-records-drawer .customer-records-association{align-items:flex-start;flex-wrap:wrap}}

/* C2: keep the shared customer-service / city-supervisor order list ahead of summaries. */
body.customer-service-role #pageRoot .deals-customer-layout,
.city-supervisor-shell #pageRoot .deals-customer-layout{gap:8px}
body.customer-service-role #pageRoot .deal-page-topbar,
.city-supervisor-shell #pageRoot .deal-page-topbar{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
body.customer-service-role #pageRoot .deal-page-topbar>.customer-records-tabs,
.city-supervisor-shell #pageRoot .deal-page-topbar>.customer-records-tabs{flex:0 0 auto}
body.customer-service-role #pageRoot .deal-page-actions,
.city-supervisor-shell #pageRoot .deal-page-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-left:auto}
body.customer-service-role #pageRoot .deal-page-actions>.btn,
.city-supervisor-shell #pageRoot .deal-page-actions>.btn{min-height:34px;white-space:nowrap}
body.customer-service-role #pageRoot .deals-customer-layout>.page-head,
.city-supervisor-shell #pageRoot .deals-customer-layout>.page-head{margin:0;padding:0;gap:6px;align-items:center}
body.customer-service-role #pageRoot .deal-query-shortcut-row,
.city-supervisor-shell #pageRoot .deal-query-shortcut-row{display:grid;grid-template-columns:minmax(330px,.8fr) minmax(0,1.2fr);align-items:stretch;gap:8px;min-width:0}
body.customer-service-role #pageRoot .deal-order-query,
.city-supervisor-shell #pageRoot .deal-order-query{display:grid;align-content:center;gap:5px;min-width:0;margin:0;padding:8px 10px;border-radius:9px}
body.customer-service-role #pageRoot .deal-order-query>label,
.city-supervisor-shell #pageRoot .deal-order-query>label{font-size:11px}
body.customer-service-role #pageRoot .deal-order-query .customer-records-query-row,
.city-supervisor-shell #pageRoot .deal-order-query .customer-records-query-row{flex-wrap:nowrap;gap:5px}
body.customer-service-role #pageRoot .deal-order-query input[type="search"],
.city-supervisor-shell #pageRoot .deal-order-query input[type="search"]{flex:1 1 auto;width:auto;min-width:0;min-height:34px;padding:7px 9px;font-size:11px}
body.customer-service-role #pageRoot .deal-order-query .btn,
.city-supervisor-shell #pageRoot .deal-order-query .btn{flex:0 0 auto;min-width:48px;min-height:34px;padding:6px 8px;font-size:10px}
body.customer-service-role #pageRoot .deal-order-query>p,
.city-supervisor-shell #pageRoot .deal-order-query>p{font-size:9px;line-height:1.4}
body.customer-service-role #pageRoot .deal-query-shortcut-row>.customer-role-action-bar,
.city-supervisor-shell #pageRoot .deal-query-shortcut-row>.customer-role-action-bar{display:flex;align-content:center;align-items:center;gap:4px;min-width:0;margin:0;padding:8px;border:1px solid var(--line);border-radius:9px;background:#fff}
body.customer-service-role #pageRoot .deal-query-shortcut-row>.customer-role-action-bar>.btn,
.city-supervisor-shell #pageRoot .deal-query-shortcut-row>.customer-role-action-bar>.btn{flex:0 1 auto;min-height:30px;padding:5px 7px;font-size:9px;white-space:nowrap}
body.customer-service-role #pageRoot .deal-list-controls,
.city-supervisor-shell #pageRoot .deal-list-controls{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px}
body.customer-service-role #pageRoot .deal-list-controls>.customer-records-tabs,
.city-supervisor-shell #pageRoot .deal-list-controls>.customer-records-tabs{gap:5px}
body.customer-service-role #pageRoot .deal-list-controls>.customer-records-tabs button,
.city-supervisor-shell #pageRoot .deal-list-controls>.customer-records-tabs button{padding:6px 9px;font-size:10px}
body.customer-service-role #pageRoot .deal-list-controls>.customer-records-filter,
.city-supervisor-shell #pageRoot .deal-list-controls>.customer-records-filter{align-items:center;gap:5px}
body.customer-service-role #pageRoot .deal-list-controls>.customer-records-filter>label,
.city-supervisor-shell #pageRoot .deal-list-controls>.customer-records-filter>label{display:flex;align-items:center;gap:5px;flex:0 1 190px;min-width:0;color:var(--muted);font-size:10px}
body.customer-service-role #pageRoot .deal-list-controls>.customer-records-filter select,
.city-supervisor-shell #pageRoot .deal-list-controls>.customer-records-filter select{min-height:32px;flex:1;min-width:0;padding:5px 7px;font-size:10px}
body.customer-service-role #pageRoot .deals-customer-layout #customerOrderResults .customer-records-results>.table-wrap,
.city-supervisor-shell #pageRoot .deals-customer-layout #customerOrderResults .customer-records-results>.table-wrap{max-height:min(55vh,520px);overflow:auto;overscroll-behavior:contain}
body.customer-service-role #pageRoot .deals-customer-layout #customerOrderResults .customer-records-results th,
.city-supervisor-shell #pageRoot .deals-customer-layout #customerOrderResults .customer-records-results th{position:sticky;top:0;z-index:1;background:#f3f6fa}
body.customer-service-role #pageRoot .deal-bottom-summary,
.city-supervisor-shell #pageRoot .deal-bottom-summary{display:grid;gap:5px;min-width:0}
body.customer-service-role #pageRoot .deal-bottom-summary-head,
.city-supervisor-shell #pageRoot .deal-bottom-summary-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap}
body.customer-service-role #pageRoot .deal-bottom-summary-head h2,
.city-supervisor-shell #pageRoot .deal-bottom-summary-head h2{margin:0;font-size:13px}
body.customer-service-role #pageRoot .deal-bottom-summary-head span,
.city-supervisor-shell #pageRoot .deal-bottom-summary-head span{color:var(--muted);font-size:9px}
body.customer-service-role #pageRoot .deals-customer-layout .deal-monthly-stats,
.city-supervisor-shell #pageRoot .deals-customer-layout .deal-monthly-stats{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin:0}
body.customer-service-role #pageRoot .deals-customer-layout .deal-monthly-stats .stat,
.city-supervisor-shell #pageRoot .deals-customer-layout .deal-monthly-stats .stat{display:flex;align-items:center;gap:6px;min-width:0;min-height:58px;padding:7px 9px}
body.customer-service-role #pageRoot .deals-customer-layout .deal-monthly-stats .stat-icon,
.city-supervisor-shell #pageRoot .deals-customer-layout .deal-monthly-stats .stat-icon{width:22px;height:22px;flex:0 0 22px;font-size:10px}
body.customer-service-role #pageRoot .deals-customer-layout .deal-monthly-stats .stat small,
.city-supervisor-shell #pageRoot .deals-customer-layout .deal-monthly-stats .stat small{font-size:9px}
body.customer-service-role #pageRoot .deals-customer-layout .deal-monthly-stats .stat strong,
.city-supervisor-shell #pageRoot .deals-customer-layout .deal-monthly-stats .stat strong{font-size:16px;line-height:1.25}
body.customer-service-role #pageRoot .deals-customer-layout #businessLeadMetrics,
.city-supervisor-shell #pageRoot .deals-customer-layout #businessLeadMetrics{margin:0}
body.customer-service-role #pageRoot .deals-customer-layout #businessLeadMetrics>.panel-head,
.city-supervisor-shell #pageRoot .deals-customer-layout #businessLeadMetrics>.panel-head{min-height:0;padding:7px 10px}
body.customer-service-role #pageRoot .deals-customer-layout #businessLeadMetrics>.panel-head h2,
.city-supervisor-shell #pageRoot .deals-customer-layout #businessLeadMetrics>.panel-head h2{font-size:13px}
body.customer-service-role #pageRoot .deals-customer-layout #businessLeadMetrics>.panel-body,
.city-supervisor-shell #pageRoot .deals-customer-layout #businessLeadMetrics>.panel-body{display:grid;gap:4px;padding:7px 10px}
body.customer-service-role #pageRoot .deals-customer-layout #businessLeadMetrics .lead-eight-metrics,
.city-supervisor-shell #pageRoot .deals-customer-layout #businessLeadMetrics .lead-eight-metrics{grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:5px!important}
body.customer-service-role #pageRoot .deals-customer-layout #businessLeadMetrics .lead-metric-card,
.city-supervisor-shell #pageRoot .deals-customer-layout #businessLeadMetrics .lead-metric-card{min-height:0!important;gap:2px;padding:6px 7px!important;border-radius:7px}
body.customer-service-role #pageRoot .deals-customer-layout #businessLeadMetrics .lead-metric-card>span,
.city-supervisor-shell #pageRoot .deals-customer-layout #businessLeadMetrics .lead-metric-card>span{font-size:10px!important;line-height:1.3!important}
body.customer-service-role #pageRoot .deals-customer-layout #businessLeadMetrics .lead-metric-card>small,
.city-supervisor-shell #pageRoot .deals-customer-layout #businessLeadMetrics .lead-metric-card>small{margin:2px 0!important;font-size:8px!important;line-height:1.3!important}
body.customer-service-role #pageRoot .deals-customer-layout #businessLeadMetrics .lead-metric-card>strong,
.city-supervisor-shell #pageRoot .deals-customer-layout #businessLeadMetrics .lead-metric-card>strong{font-size:15px!important;line-height:1.3!important}
body.customer-service-role #pageRoot .deals-customer-layout #businessLeadMetrics .panel-body>small,
.city-supervisor-shell #pageRoot .deals-customer-layout #businessLeadMetrics .panel-body>small{font-size:9px;line-height:1.4}
@media(max-width:1100px){
  body.customer-service-role #pageRoot .deal-query-shortcut-row,
  .city-supervisor-shell #pageRoot .deal-query-shortcut-row{grid-template-columns:minmax(0,1fr)}
  body.customer-service-role #pageRoot .deal-list-controls,
  .city-supervisor-shell #pageRoot .deal-list-controls{grid-template-columns:minmax(0,1fr)}
  body.customer-service-role #pageRoot .deals-customer-layout .deal-monthly-stats,
  .city-supervisor-shell #pageRoot .deals-customer-layout .deal-monthly-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.customer-service-role #pageRoot .deals-customer-layout #businessLeadMetrics .lead-eight-metrics,
  .city-supervisor-shell #pageRoot .deals-customer-layout #businessLeadMetrics .lead-eight-metrics{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media(max-width:650px){
  body.customer-service-role #pageRoot .deal-page-topbar,
  .city-supervisor-shell #pageRoot .deal-page-topbar{align-items:stretch;flex-direction:column}
  body.customer-service-role #pageRoot .deal-page-actions,
  .city-supervisor-shell #pageRoot .deal-page-actions{margin-left:0}
  body.customer-service-role #pageRoot .deal-page-actions>.btn,
  .city-supervisor-shell #pageRoot .deal-page-actions>.btn{flex:1 1 135px}
  body.customer-service-role #pageRoot .deal-order-query .customer-records-query-row,
  .city-supervisor-shell #pageRoot .deal-order-query .customer-records-query-row{flex-wrap:wrap}
  body.customer-service-role #pageRoot .deal-order-query input[type="search"],
  .city-supervisor-shell #pageRoot .deal-order-query input[type="search"]{flex:1 1 100%}
  body.customer-service-role #pageRoot .deal-query-shortcut-row>.customer-role-action-bar,
  .city-supervisor-shell #pageRoot .deal-query-shortcut-row>.customer-role-action-bar{flex-wrap:wrap}
  body.customer-service-role #pageRoot .deals-customer-layout .deal-monthly-stats,
  .city-supervisor-shell #pageRoot .deals-customer-layout .deal-monthly-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.customer-service-role #pageRoot .deals-customer-layout #businessLeadMetrics .lead-eight-metrics,
  .city-supervisor-shell #pageRoot .deals-customer-layout #businessLeadMetrics .lead-eight-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* Keep account identifiers available without allowing them to stretch customer rows. */
.customer-work-wechat-cell{width:150px;min-width:130px;max-width:170px;white-space:normal!important;overflow-wrap:anywhere}
.customer-lead-list .lead-row-relation-summary{display:block;width:140px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.lead-row-relation-summary summary{cursor:pointer;font-size:12px;font-weight:600;white-space:normal}
.lead-row-relation-summary small{display:block;margin-top:6px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.all-customers-controls{padding:12px;flex-wrap:wrap}.all-customers-controls label{display:flex;align-items:center;gap:6px}
.all-customers-panel table{table-layout:auto}.all-customers-panel td{white-space:normal;overflow-wrap:anywhere}
.all-customers-controls select{max-width:180px;text-overflow:ellipsis}.all-customers-controls input[type="search"]{min-width:210px}

/* C7: compress student archive UI only for the customer-service and city-supervisor roles. */
:is(body.customer-service-role,.city-supervisor-shell) #pageRoot .customer-records-page>.student-archive-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
:is(body.customer-service-role,.city-supervisor-shell) #pageRoot .customer-records-page>.student-archive-stats .stat{display:flex;align-items:center;gap:7px;min-width:0;min-height:54px;padding:7px 9px}
:is(body.customer-service-role,.city-supervisor-shell) #pageRoot .customer-records-page>.student-archive-stats .stat-icon{width:24px;height:24px;flex:0 0 24px;font-size:9px}
:is(body.customer-service-role,.city-supervisor-shell) #pageRoot .customer-records-page>.student-archive-stats .stat>div:last-child{display:flex;align-items:baseline;justify-content:space-between;gap:7px;min-width:0;flex:1}
:is(body.customer-service-role,.city-supervisor-shell) #pageRoot .customer-records-page>.student-archive-stats .stat small{font-size:9px;line-height:1.35}
:is(body.customer-service-role,.city-supervisor-shell) #pageRoot .customer-records-page>.student-archive-stats .stat strong{font-size:16px;line-height:1.2;white-space:nowrap}
:is(body.customer-service-role,.city-supervisor-shell) #pageRoot .customer-records-page .customer-records-student-note{padding:7px 10px}
:is(body.customer-service-role,.city-supervisor-shell) #pageRoot .customer-records-page .customer-records-student-note summary{font-size:10px}
:is(body.customer-service-role,.city-supervisor-shell) #pageRoot .customer-records-page .customer-records-student-note p{margin-top:6px;font-size:10px}
:is(body.customer-service-role,.city-supervisor-shell) #pageRoot .customer-records-page .customer-records-student-filters{padding:8px 10px}
:is(body.customer-service-role,.city-supervisor-shell) #pageRoot .customer-records-page .customer-records-student-filters .student-filter-toolbar{display:grid;grid-template-columns:auto minmax(180px,1fr) minmax(140px,.7fr) minmax(140px,.7fr) auto;align-items:center;gap:6px;margin:0 0 6px}
:is(body.customer-service-role,.city-supervisor-shell) #pageRoot .customer-records-page .customer-records-student-filters .student-filter-toolbar>label{font-size:10px;white-space:nowrap}
:is(body.customer-service-role,.city-supervisor-shell) #pageRoot .customer-records-page .customer-records-student-filters .student-filter-toolbar input,
:is(body.customer-service-role,.city-supervisor-shell) #pageRoot .customer-records-page .customer-records-student-filters .student-filter-toolbar select{width:100%;min-width:0;min-height:34px;padding:6px 8px;font-size:10px}
:is(body.customer-service-role,.city-supervisor-shell) #pageRoot .customer-records-page .customer-records-student-filters .student-filter-toolbar>.btn{min-height:32px;padding:5px 8px;font-size:10px;white-space:nowrap}
:is(body.customer-service-role,.city-supervisor-shell) #pageRoot .customer-records-page .customer-records-student-filters .student-academic-filters{display:flex;align-items:center;gap:5px;flex-wrap:wrap;font-size:10px}
:is(body.customer-service-role,.city-supervisor-shell) #pageRoot .customer-records-page .customer-records-student-filters .student-academic-filters>.btn{min-height:28px;padding:4px 8px;font-size:9px}
:is(body.customer-service-role,.city-supervisor-shell) #pageRoot .customer-records-page .student-location-display{display:grid;gap:4px;min-width:190px}
:is(body.customer-service-role,.city-supervisor-shell) #pageRoot .customer-records-page .student-location-heading{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
:is(body.customer-service-role,.city-supervisor-shell) #pageRoot .customer-records-page .student-location-heading>b{font-size:11px}
:is(body.customer-service-role,.city-supervisor-shell) #pageRoot .customer-records-page .student-location-heading .tag{font-size:9px;padding:2px 5px}
:is(body.customer-service-role,.city-supervisor-shell) #pageRoot .customer-records-page .student-location-address{font-size:10px;line-height:1.45;overflow-wrap:anywhere}
:is(body.customer-service-role,.city-supervisor-shell) #pageRoot .customer-records-page .student-location-note{color:var(--muted);font-size:9px;line-height:1.4}
:is(body.customer-service-role,.city-supervisor-shell) #pageRoot .customer-records-page .student-nearby-button{justify-self:start;min-height:26px;padding:4px 7px;font-size:9px}
@media(max-width:1050px){:is(body.customer-service-role,.city-supervisor-shell) #pageRoot .customer-records-page>.student-archive-stats{grid-template-columns:repeat(2,minmax(0,1fr))}:is(body.customer-service-role,.city-supervisor-shell) #pageRoot .customer-records-page .customer-records-student-filters .student-filter-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}:is(body.customer-service-role,.city-supervisor-shell) #pageRoot .customer-records-page .customer-records-student-filters .student-filter-toolbar>label{grid-column:1/-1}}
@media(max-width:700px){:is(body.customer-service-role,.city-supervisor-shell) #pageRoot .customer-records-page>.student-archive-stats{grid-template-columns:minmax(0,1fr)}:is(body.customer-service-role,.city-supervisor-shell) #pageRoot .customer-records-page>.student-archive-stats .stat{min-height:44px;padding:6px 8px}:is(body.customer-service-role,.city-supervisor-shell) #pageRoot .customer-records-page .customer-records-student-filters .student-filter-toolbar{grid-template-columns:minmax(0,1fr)}:is(body.customer-service-role,.city-supervisor-shell) #pageRoot .customer-records-page .customer-records-student-filters .student-filter-toolbar>label{grid-column:auto}:is(body.customer-service-role,.city-supervisor-shell) #pageRoot .customer-records-page .customer-records-student-filters .student-filter-toolbar>.btn{width:100%}}

/* UI polish: customer/supervisor deals only; boss deal dashboard is not a descendant. */
#pageRoot .deals-customer-layout .deal-unified-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;width:100%;padding:8px;border:1px solid var(--line);border-radius:8px;background:#fff}
#pageRoot .deals-customer-layout .deal-unified-toolbar .deal-order-query{display:contents}
#pageRoot .deals-customer-layout .deal-unified-toolbar .deal-order-query>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#pageRoot .deals-customer-layout .deal-unified-toolbar .customer-records-query-row{flex:1 1 280px;min-width:0;margin:0}
#pageRoot .deals-customer-layout .deal-unified-toolbar .deal-order-query>p{order:3;flex-basis:100%;margin:0;color:var(--muted)}
#pageRoot .deals-customer-layout .deal-unified-toolbar .deal-list-controls{display:contents}
#pageRoot .deals-customer-layout .deal-unified-toolbar .customer-records-tabs,
#pageRoot .deals-customer-layout .deal-unified-toolbar .customer-records-filter{margin:0;gap:8px}
#pageRoot .deals-customer-layout .deal-unified-toolbar input,
#pageRoot .deals-customer-layout .deal-unified-toolbar select,
#pageRoot .deals-customer-layout .deal-unified-toolbar button{min-height:32px}
@media(max-width:768px){#pageRoot .deals-customer-layout .deal-unified-toolbar .customer-records-query-row{flex-basis:100%}#pageRoot .deals-customer-layout .deal-unified-toolbar .customer-records-filter{flex-wrap:wrap}}

body.customer-service-role #pageRoot .deals-customer-layout .deal-query-shortcut-row,
.city-supervisor-shell #pageRoot .deals-customer-layout .deal-query-shortcut-row{grid-template-columns:minmax(0,1fr)}
#pageRoot .deals-customer-layout .deal-unified-toolbar .customer-records-filter{display:flex;flex-direction:row;flex-wrap:nowrap;flex:0 0 auto}
#pageRoot .deals-customer-layout .deal-unified-toolbar .customer-records-filter>label{flex:0 0 auto}
#pageRoot .deals-customer-layout .deal-unified-toolbar .customer-records-filter select{width:120px}

@media(max-width:768px){#pageRoot .deals-customer-layout .deal-unified-toolbar .customer-records-filter{flex-wrap:wrap;flex-basis:100%}}

/* 第2项：成交与退费三排（总数/信息费/机构课），复用六卡样式，只覆盖列数并给原六卡前加「信息费」小标题 */
:is(body.customer-service-role,.city-supervisor-shell) #pageRoot .deals-customer-layout .deal-revenue-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
/* 机构课-1：机构课那排多一张「单量」卡；营收、实收、单量的数字可点开下钻 */
:is(body.customer-service-role,.city-supervisor-shell) #pageRoot .deals-customer-layout .deal-org-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
#pageRoot .deal-org-drill{all:unset;cursor:pointer;color:var(--blue,#2563eb);border-bottom:1px dashed currentColor}
#pageRoot .deal-org-drill:focus-visible{outline:2px solid var(--blue,#2563eb);outline-offset:2px}
:is(body.customer-service-role,.city-supervisor-shell) #pageRoot .deals-customer-layout .deal-revenue-kind{margin:10px 0 -4px;font-size:13px;font-weight:700;color:var(--ink,#111827)}

/* 第3项：机构课查询栏与「机构课营收分析」，只作用于新加的块 */
.customer-records-page .org-deal-query{padding:10px 12px;margin:10px 0}
.customer-records-page .org-deal-query-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.customer-records-page .org-deal-query-row input[type=search]{flex:1 1 220px;min-width:0}
.customer-records-page .org-deal-query p,.customer-records-page .org-revenue-note{margin:6px 0 0;color:var(--muted);font-size:12px}
.customer-records-page .org-revenue-analysis h3{margin:14px 0 6px;font-size:14px}
.customer-records-page .org-revenue-analysis h3:first-child{margin-top:0}
.customer-records-page .org-revenue-analysis h3 small{margin-left:6px;color:var(--muted);font-weight:400;font-size:12px}
.customer-records-page .org-revenue-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin:0}
.customer-records-page .org-revenue-split{display:block;color:var(--muted);font-size:11px;line-height:1.35}
.customer-records-page .org-revenue-details{margin-top:8px}
.customer-records-page .org-revenue-details>summary{cursor:pointer;font-size:12px;color:var(--muted);margin-bottom:6px}
@media(max-width:650px){.customer-records-page .org-revenue-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 第8项：老板业绩明细「公司总览」与「按团队」，只作用于新加的块 */
.unified-company-overview .unified-company-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin:0}
.unified-company-overview .unified-company-split{display:block;color:var(--muted);font-size:11px;line-height:1.35}
.unified-company-overview h3{margin:14px 0 6px;font-size:14px}
.unified-company-overview tfoot td{border-top:2px solid var(--line,#e5e7eb)}
.unified-company-overview .unified-company-note{margin:6px 0 0;color:var(--muted);font-size:12px}
/* 第6项：老板经营看板 02 块两类统计 */
.boss-two-kinds-label{margin:0 0 8px;color:var(--muted,#64748b);font-size:13px}
.boss-cohort-panel{margin-top:14px}
.boss-cohort-note{margin:10px 0 0;color:var(--muted,#64748b);font-size:12px;line-height:1.6}
/* 第7项：渠道业绩页渠道汇总两类 */
.channel-two-kinds-label{margin:0 16px 8px;color:var(--muted,#64748b);font-size:13px}
.channel-cost-hint{color:var(--muted,#64748b);font-size:12px;white-space:nowrap}
.channel-operator-child{padding-left:28px}
.channel-operator-total td{background:var(--soft,#f8fafc)}
/* 第5项：流量分析日报与系统核对 */
.traffic-reconcile-note{margin:0 16px 8px;color:var(--muted,#64748b);font-size:12px;line-height:1.6}
.traffic-reconcile-panel td .traffic-reconcile-diff,.traffic-reconcile-panel td .traffic-reconcile-missing{color:var(--red,#bd4f45)}
.traffic-reconcile-toggle{display:inline-flex;align-items:center;gap:4px;margin-right:10px;cursor:pointer}
/* 机构课-1b：老板成交明细页三排（营收总览、信息费、机构课），样式同主管页那三排 */
#pageRoot .boss-deals-faithful .deal-bottom-summary{display:grid;gap:5px;min-width:0;margin:8px 0}
#pageRoot .boss-deals-faithful .deal-bottom-summary-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap}
#pageRoot .boss-deals-faithful .deal-bottom-summary-head h2{margin:0;font-size:14px}
#pageRoot .boss-deals-faithful .deal-bottom-summary-head span{color:var(--muted);font-size:11px}
#pageRoot .boss-deals-faithful .deal-revenue-stats{grid-template-columns:repeat(3,minmax(0,1fr));margin:0}
#pageRoot .boss-deals-faithful .deal-org-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
#pageRoot .boss-deals-faithful .deal-revenue-kind{margin:10px 0 -4px;font-size:13px;font-weight:700;color:var(--ink,#111827)}
/* ORGU 机构课口径统一（沐九 11-09 demo）：成交与退费抬头压紧、机构课三行两栏、下钻行可点、营收分析表 */
#pageRoot .deals-customer-layout .deal-head-compact{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin:0 0 4px}
#pageRoot .deals-customer-layout .deal-head-compact>.deal-page-topbar,#pageRoot .deals-customer-layout .deal-head-compact>.page-head,#pageRoot .deals-customer-layout .deal-head-compact>.page-head>div:not(.head-actions){display:contents!important}
#pageRoot .deals-customer-layout .deal-head-compact h1{order:1;margin:0!important;font-size:20px;line-height:1.3}
#pageRoot .deals-customer-layout .deal-head-compact .customer-records-tabs{order:2;margin:0}
#pageRoot .deals-customer-layout .deal-head-compact .reporting-period-toolbar{order:3;margin:0!important;padding:0!important;border:0;background:none;box-shadow:none;flex:0 1 auto;flex-wrap:wrap}
#pageRoot .deals-customer-layout .deal-head-compact .deal-page-actions{order:4;margin-left:auto}
#pageRoot .deals-customer-layout .deal-head-compact .page-head p{order:5;flex-basis:100%;margin:0;font-size:12px;color:var(--muted)}
#pageRoot .org-unify-top{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0 0 10px}
#pageRoot .org-unify-card{all:unset;box-sizing:border-box;display:block;cursor:pointer;background:#fff;border:1px solid var(--line,#e6eaf2);border-radius:12px;padding:10px 14px;min-width:0}
#pageRoot .org-unify-card:focus-visible{outline:2px solid var(--blue,#2563eb);outline-offset:2px}
#pageRoot .org-unify-card b{display:block;font-size:12.5px;font-weight:600;color:#3a4560}
#pageRoot .org-unify-card strong{display:inline-block;font-size:21px;margin:4px 0 0;text-decoration:underline dashed 1px;text-underline-offset:5px;color:var(--ink,#1f2a44)}
#pageRoot .org-unify-card small{display:block;color:var(--muted,#6b7489);font-size:11.5px;line-height:1.4}
#pageRoot .org-unify-card.is-hi{background:var(--blue,#2f5bea);border-color:var(--blue,#2f5bea)}
#pageRoot .org-unify-card.is-hi b,#pageRoot .org-unify-card.is-hi small{color:#dfe6ff}#pageRoot .org-unify-card.is-hi strong{color:#fff}
#pageRoot .org-unify-card.is-zero strong{color:#a3abbd}
#pageRoot .org-unify-card.is-ref{background:#fafbfe}#pageRoot .org-unify-card.is-ref strong{color:#5b6479}
#pageRoot .org-unify-card.is-owe strong,#pageRoot .org-revenue-analysis .org-owe{color:#b42318}
#pageRoot .org-unify-grid{display:grid;grid-template-columns:120px minmax(0,1fr) minmax(0,1fr);gap:10px;align-items:stretch}
#pageRoot .org-unify-rowh{display:flex;flex-direction:column;justify-content:center;font-weight:600;font-size:13px;color:#3a4560;padding-left:4px}
#pageRoot .org-unify-rowh small,#pageRoot .org-unify-colh small{font-weight:400;color:var(--muted,#6b7489);font-size:11.5px}
#pageRoot .org-unify-colh{font-weight:700;font-size:13.5px;padding:2px 4px}
#pageRoot .org-unify-cell{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;background:#fafbfe;border:1px solid var(--line,#e6eaf2);border-radius:10px;padding:8px}
#pageRoot .org-unify-cell .org-unify-card{padding:8px 12px}#pageRoot .org-unify-cell .org-unify-card strong{font-size:18px}
#pageRoot .org-unify-tip{background:#fff7e6;border:1px solid #f0c36d;border-radius:10px;padding:8px 12px;font-size:12.5px;margin:10px 0 0}
#pageRoot .org-unify-tip.is-ok{background:#f2fbf6;border-color:#a8dcbf}
#pageRoot .org-unify-formula{background:#fafbfe;border:1px dashed #cfd5e2;border-radius:10px;padding:8px 12px;font-size:12.5px;color:#4a5370;margin-top:10px;line-height:1.8;overflow-wrap:anywhere}
.org-drill-row{cursor:pointer}.org-drill-row:hover td{background:#f5f8ff}
.org-unify-analysis .customer-records-tabs{margin:0 0 10px}
.org-unify-analysis table tfoot td{font-weight:700;background:#fafbfe}
@media(max-width:900px){#pageRoot .org-unify-top{grid-template-columns:repeat(2,minmax(0,1fr))}#pageRoot .org-unify-top>:first-child{grid-column:1/-1}}
@media(max-width:760px){
  #pageRoot .org-unify-grid{grid-template-columns:minmax(0,1fr)}
  #pageRoot .org-unify-grid>.org-unify-colh{display:none}
  #pageRoot .org-unify-grid>.org-unify-cell:nth-child(3n+5)::before{content:"公司收款单";grid-column:1/-1;font-size:12px;font-weight:700;color:#3a4560}
  #pageRoot .org-unify-grid>.org-unify-cell:nth-child(3n+6)::before{content:"老师代收单";grid-column:1/-1;font-size:12px;font-weight:700;color:#3a4560}
  #pageRoot .deals-customer-layout .deal-head-compact .deal-page-actions{margin-left:0;flex-basis:100%}
}
/* ORGU §3.8 成交与退费整页按 demo 风格：信息费页、机构课页、老板成交明细共用紧凑抬头、卡片、表格、分段按钮 */
#pageRoot .deals-customer-layout .deal-head-compact{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin:0 0 4px;padding:10px 14px;background:#fff;border:1px solid var(--line);border-radius:12px}
#pageRoot .deals-customer-layout .deal-head-compact>.page-head,#pageRoot .deals-customer-layout .deal-head-compact>.page-head>div:not(.head-actions){display:contents}
#pageRoot .deals-customer-layout .deal-head-compact h1{order:1;margin:0!important;font-size:20px;line-height:1.3}
#pageRoot .deals-customer-layout .deal-head-compact .page-head p{order:5;flex-basis:100%;margin:0;font-size:12px;color:var(--muted)}
#pageRoot .deals-customer-layout .deal-head-compact .reporting-period-toolbar{order:3;margin:0!important;padding:0!important;border:0;background:none;box-shadow:none;flex:0 1 auto;flex-wrap:wrap}
#pageRoot .deals-customer-layout .deal-head-compact>:not(.deal-page-topbar):not(.page-head):not(.reporting-period-toolbar):not(.customer-records-tabs):not(.org-deal-query){order:6;flex-basis:100%}
#pageRoot .deals-customer-layout .deal-head-compact>.customer-records-tabs{order:2;margin:0}
#pageRoot .deals-customer-layout .deal-head-compact :is(.head-actions,.deal-page-actions){order:4;margin-left:auto;display:flex;flex-wrap:wrap;align-items:center;gap:8px}
#pageRoot .org-head-compact .org-deal-query{display:contents}
#pageRoot .org-head-compact .org-deal-query-row{order:3;display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:0}
#pageRoot .org-head-compact .org-deal-query-row>.customer-records-tabs{order:0}
#pageRoot .org-head-compact .org-deal-query-row input{min-height:30px;padding:4px 8px;font-size:13px}
#pageRoot .org-head-compact .org-deal-query-row input[type=search]{width:220px;max-width:100%}
#pageRoot .org-head-compact .org-deal-query>p{order:5;flex-basis:100%;margin:0;font-size:12px;color:var(--muted)}
/* 「更多入口」：客户快捷入口收进抬头下拉，入口一个不少 */
#pageRoot .deals-customer-layout .deal-more-entries{position:relative}
#pageRoot .deals-customer-layout .deal-more-entries>summary{list-style:none;cursor:pointer}
#pageRoot .deals-customer-layout .deal-more-entries>summary::-webkit-details-marker{display:none}
#pageRoot .deals-customer-layout .deal-more-entries>.customer-role-action-bar{position:absolute;right:0;top:calc(100% + 4px);z-index:30;display:flex;flex-direction:column;align-items:stretch;gap:4px;min-width:180px;margin:0;padding:8px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 24px rgba(31,42,68,.14)}
#pageRoot .deals-customer-layout .deal-more-entries>.customer-role-action-bar>.btn{flex:0 0 auto;justify-content:flex-start;text-align:left;font-size:13px;white-space:nowrap}
/* 分段按钮（信息费/机构课、成交记录/已退费、进行中/已结束/机构退费、业绩/订单） */
html :is(body.customer-service-role,.city-supervisor-shell,body) #pageRoot .deals-customer-layout .customer-records-tabs{gap:4px}
html :is(body.customer-service-role,.city-supervisor-shell,body) #pageRoot .deals-customer-layout .customer-records-tabs>button{min-height:30px;padding:4px 12px;border-radius:8px;font-size:13px;font-weight:500;color:var(--ink,#1f2a44);box-shadow:none}
html :is(body.customer-service-role,.city-supervisor-shell,body) #pageRoot .deals-customer-layout .customer-records-tabs>button[aria-pressed=true]{font-weight:600;color:var(--blue);box-shadow:none}
/* 统计卡：标题、数字、下方一行口径小字 */
html :is(body.customer-service-role,.city-supervisor-shell,body) #pageRoot .deals-customer-layout :is(.deal-bottom-summary,.org-revenue-analysis) .stats .stat{position:relative;display:block;min-height:0;padding:10px 14px;border-radius:12px}
html :is(body.customer-service-role,.city-supervisor-shell,body) #pageRoot .deals-customer-layout :is(.deal-bottom-summary,.org-revenue-analysis) .stats .stat-icon{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
html :is(body.customer-service-role,.city-supervisor-shell,body) #pageRoot .deals-customer-layout :is(.deal-bottom-summary,.org-revenue-analysis) .stats .stat small{display:block;font-size:12.5px;font-weight:600}
html :is(body.customer-service-role,.city-supervisor-shell,body) #pageRoot .deals-customer-layout :is(.deal-bottom-summary,.org-revenue-analysis) .stats .stat strong{display:block;margin:4px 0 0;font-size:22px;line-height:1.3}
html :is(body.customer-service-role,.city-supervisor-shell,body) #pageRoot .deals-customer-layout :is(.deal-bottom-summary,.org-revenue-analysis) .stats .stat small.org-revenue-split{font-size:11.5px;font-weight:400}
/* 表格：表头同 demo，金额右对齐，可点的行整行打开订单 */
#pageRoot .deals-customer-layout :is(.customer-records-results,.org-revenue-analysis) th{background:#f3f5fa;color:var(--muted);font-weight:600;font-size:12.5px}
#pageRoot .deals-customer-layout :is(.customer-records-results,.org-revenue-analysis) :is(th,td){padding:7px 10px}
#pageRoot .deals-customer-layout #customerOrderResults :is(th,td):nth-child(6),
#pageRoot .deals-customer-layout.boss-deals-faithful .customer-records-results :is(th,td):nth-child(8),
#pageRoot .deals-customer-layout :is(.org-deals-layout .customer-records-results,#dealOrgRecords) :is(th,td):nth-child(5),
#pageRoot .deals-customer-layout.org-deals-layout>.customer-records-results :is(th,td):nth-child(5),
#pageRoot .deals-customer-layout .org-unify-analysis :is(th,td):nth-child(n+4){text-align:right}
@media(max-width:760px){
  #pageRoot .deals-customer-layout .deal-head-compact :is(.head-actions,.deal-page-actions){margin-left:0;flex-basis:100%}
  #pageRoot .deals-customer-layout .deal-more-entries>.customer-role-action-bar{left:0;right:auto}
  #pageRoot .org-head-compact .org-deal-query-row input[type=search]{width:100%}
}
@media(min-width:1200px){#pageRoot .deals-customer-layout .deal-head-compact .reporting-period-toolbar{flex-wrap:nowrap}}
