/* Shared visual language. No visibility, permission, data or modal lifecycle changes. */
body.crm-ui {
  --bg:#f5f7fa; --panel:#fff; --text:#27364b; --muted:#65758b;
  --line:#e3e9f0; --nav:#fff; --nav2:#edf4ff;
  --blue:#1769d8; --blue2:#1155b3; --blue-bg:#edf4ff;
  --primary:#1769d8; --primary2:#1155b3; --primary-bg:#edf4ff;
  --green:#16795e; --green-bg:#edf8f3; --amber:#95621a; --amber-bg:#fff7e7;
  --red:#b43e37; --red-bg:#fff3f1; --shadow:0 16px 48px #23365324;
  color:var(--text); background:var(--bg); font-size:14px; line-height:1.55;
}
.crm-ui .sidebar {background:#fff;color:var(--muted);border-right:1px solid var(--line)}
.crm-ui .brand {border-bottom:1px solid var(--line);flex-shrink:0}
.crm-ui .brand :is(b,strong),.crm-ui .sidebar-foot b,.crm-ui .user b {color:var(--text)}
.crm-ui :is(.brand-logo,.logo) {background:var(--blue);box-shadow:none;border-radius:7px}
.crm-ui .brand small,.crm-ui .sidebar-foot small,.crm-ui .user small {color:var(--muted);font-size:11px}
.crm-ui :is(.sidebar-foot,.user) {border-top:1px solid var(--line);background:#fff}
.crm-ui .avatar {background:var(--blue-bg);color:var(--blue)}
.crm-ui #mainNav :is(.boss-nav-group-title,.city-nav-group-title,.customer-service-nav-group-title) {border:0;border-radius:5px;
  background:#f1f4f8;color:#34455e;font-size:16px;font-weight:700;line-height:1.4;letter-spacing:0;text-shadow:none;
}
.crm-ui #mainNav button {font-size:13px;font-weight:500;border-radius:0 5px 5px 0;color:#596b83;box-shadow:none;border-left:3px solid transparent}
.crm-ui #mainNav button:hover {background:#f5f8fc;color:var(--blue)}
.crm-ui #mainNav button.active {background:var(--blue-bg);color:var(--blue);border-left-color:var(--blue);font-weight:650}
.crm-ui .nav button {color:#596b83}
.crm-ui .nav button.active {background:var(--blue-bg);color:var(--blue)}
.crm-ui .topbar {background:#fff;backdrop-filter:none}
.crm-ui .crumb,.crm-ui .role-pill {font-size:12px}
.crm-ui #pageRoot .page-head {gap:12px;margin-bottom:14px;flex-wrap:wrap}
.crm-ui #pageRoot .page-head h1 {font-size:24px;font-weight:650;line-height:1.4;letter-spacing:0}
.crm-ui :is(.page-head p,.panel-head>span,.panel-head small,.notice,.muted,.hint) {font-size:12px;line-height:1.65}
.crm-ui :is(.panel,.stats) {border-radius:8px;border-color:var(--line);box-shadow:none;min-width:0}
.crm-ui .panel-head {min-height:44px;padding:10px 14px;flex-wrap:wrap;gap:8px}
.crm-ui :is(.panel-head h2,.section-head h2) {font-size:15px;line-height:1.5}
.crm-ui .grid-2 {gap:12px;align-items:start}
.crm-ui .grid-2>*,.crm-ui .form-grid>* {min-width:0}
.crm-ui .btn {font-size:13px;font-weight:500;line-height:1.5;min-height:34px;padding:6px 12px;border:1px solid #d9e2ed;border-radius:5px;box-shadow:none;white-space:normal}
.crm-ui .btn.small {font-size:12px;min-height:28px;padding:4px 8px}
.crm-ui .btn.primary {background:var(--blue);border-color:var(--blue);color:#fff}
.crm-ui .btn.primary:hover {background:var(--blue2)}
.crm-ui .btn.danger {color:var(--red);border-color:#ecc7c4}
.crm-ui :is(button,input,select,textarea):disabled {opacity:.55;cursor:not-allowed}
.crm-ui :is(button,a,input,select,textarea,summary):focus-visible {outline:2px solid var(--blue);outline-offset:2px}
.crm-ui .toolbar {gap:8px;flex-wrap:wrap;margin-bottom:10px}
.crm-ui .toolbar :is(input,select),.crm-ui .field :is(input,select,textarea) {font-size:13px;border:1px solid #d9e2ed;border-radius:5px;padding:7px 10px;color:var(--text);background:#fff}
.crm-ui .toolbar :is(input,select),.crm-ui .field :is(input,select) {height:36px;max-width:100%}
.crm-ui .field label {font-size:12px;line-height:1.5;color:#52647b}
.crm-ui .field input[type=checkbox] {height:auto;width:auto;padding:0}
.crm-ui .field input[readonly] {background:#f5f7fa}
.crm-ui .form-grid {gap:12px}
.crm-ui :is(.head-actions,.form-actions,.top-actions) {flex-wrap:wrap;gap:8px}
.crm-ui .table-wrap {max-width:100%;overflow:auto;overscroll-behavior-x:contain}
.crm-ui th {font-size:12px;letter-spacing:0;background:#f7f9fc;color:#596b81;line-height:1.5;white-space:nowrap}
.crm-ui td {font-size:13px;line-height:1.6}
.crm-ui td :is(small,.muted),.crm-ui .tag {font-size:12px;line-height:1.5}
.crm-ui td .btn {white-space:nowrap}
.crm-ui .tag {border-radius:4px;padding:2px 6px}
.crm-ui .overdue-3 {background:#fff8f6!important}
.crm-ui .overdue-2 {background:#fffdf7}
.crm-ui .empty {padding:24px 16px;font-size:13px;line-height:1.65}
.crm-ui .notice {padding:8px 11px;border-radius:5px}
/* Flexible rows retain every metric, its order, its formula and its click target. */
.crm-ui #pageRoot .stats {flex-wrap:wrap;background:#fff}
.crm-ui #pageRoot .stats>.stat {flex:1 1 175px;min-width:0;border:1px solid var(--line);margin:-1px 0 0 -1px;border-radius:0;padding:12px 14px;background:#fff;color:var(--text);text-align:left;display:flex;flex-direction:column;align-items:flex-start;gap:5px}
.crm-ui #pageRoot .stat>div:last-child {order:0;min-width:0;width:100%}
.crm-ui #pageRoot .stat .stat-icon {order:1;display:block;width:auto;height:auto;max-width:100%;padding:0;border-radius:0;background:transparent;color:var(--muted);font-size:12px;font-weight:400;line-height:1.6;overflow-wrap:anywhere}
.crm-ui #pageRoot .stat small {font-size:12px;line-height:1.6}
.crm-ui #pageRoot .stat strong {display:block;font-size:24px;line-height:1.4;font-weight:650;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.crm-ui #pageRoot .stat-summary-badge {font-size:11px;color:var(--muted)}
.crm-ui #pageRoot button.stat:hover,.crm-ui #pageRoot .stat[data-drilldown-key]:hover {background:var(--blue-bg)}
.crm-ui #pageRoot button.stat:is(.active,[aria-pressed=true]) {border-color:var(--blue);background:var(--blue-bg);color:var(--blue)}
/* Remove decorative gradients from named surfaces, preserving status colors. */
.crm-ui #pageRoot :is(.lead-completeness-card,.lead-age-reference-card,.service-today-panel,.lead-entry-panel,.my-work-wechat,.customer-service-context,.service-drilldown-card,.customer-service-dispatch-accounts,.lead-detail-work-wechat-cell,.city-task-decision) {background:#fff;box-shadow:none;border-color:var(--line)}
.crm-ui #pageRoot .boss-dashboard-heading>span {background:var(--blue-bg);color:var(--blue);box-shadow:none}
.crm-ui #pageRoot .cohort-funnel-stage {background:var(--blue)}
.crm-ui #pageRoot .hrbp-workbench-overview {background:#fff;color:var(--text);border-radius:8px;box-shadow:none;border-color:var(--line)}
.crm-ui #pageRoot .hrbp-workbench-overview-head {padding:12px 14px;border-bottom:1px solid var(--line)}
.crm-ui #pageRoot .hrbp-workbench-overview-head :is(span,small) {color:var(--muted);font-size:12px}
.crm-ui #pageRoot .hrbp-workbench-task-grid {background:var(--line)}
.crm-ui #pageRoot .hrbp-workbench-task {background:#f8faff;color:var(--text);min-height:86px;padding:12px 14px}
.crm-ui #pageRoot .hrbp-workbench-task:hover {background:var(--blue-bg)}
.crm-ui #pageRoot .hrbp-workbench-task :is(small,span) {color:var(--muted);font-size:12px}
.crm-ui #pageRoot .hrbp-workbench-task.danger b {color:var(--red)}
.crm-ui #pageRoot .hrbp-workbench-task.warn b {color:var(--amber)}
.crm-ui #pageRoot .hrbp-workbench-task.complete b {color:var(--green)}
.crm-ui #pageRoot :is(.hrbp-workbench-tabs b,.hrbp-metric-card small,.hrbp-metric-card span,.traffic-task-card small,.traffic-task-card em,.traffic-preview-summary span,.traffic-section-head span) {font-size:12px}
.crm-ui #pageRoot .hrbp-workbench-tabs small {font-size:11px}

.crm-ui #trafficPaste {display:block;box-sizing:border-box;width:100%;max-width:100%;min-height:300px;resize:vertical;border:1px solid #d9e2ed;border-radius:5px;padding:12px;font-family:inherit;font-size:13px;line-height:1.75;color:var(--text)}

.crm-ui #pageRoot .admin-task-center :is(th,td):first-child {min-width:115px;white-space:nowrap}
/* Keep the existing modal scroll owner and close/discard behavior. */
.crm-ui .modal {border-radius:9px}
.crm-ui .modal-head {position:sticky;top:0;z-index:4;background:#fff;padding:12px 16px;gap:12px;flex-shrink:0}
.crm-ui .modal-head h3 {font-size:17px;line-height:1.45;overflow-wrap:anywhere}
.crm-ui .modal-close {min-width:32px;min-height:32px;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--muted);flex-shrink:0}
.crm-ui .modal-body {padding:14px 16px}
.crm-ui .modal-foot {padding:12px 16px;flex-wrap:wrap;gap:8px;background:#fff}
.crm-ui #modalMask[data-modal-presentation=transaction-queue]>.modal:has(.tx-queue-empty) {height:auto;min-height:0;max-height:calc(100dvh - 32px)}
/* Embedded teacher workspace: same typography, blue and card language. */
.crm-ui #page-teachers {--resource-blue:var(--blue);--resource-line:var(--line);--resource-text:var(--text)}
.crm-ui #page-teachers h1 {font-size:22px}
.crm-ui #page-teachers .teacher-eyebrow {letter-spacing:0;color:var(--muted);margin-bottom:4px}
.crm-ui #page-teachers .teacher-eyebrow:before {background:var(--blue)}
.crm-ui #page-teachers :is(.teacher-resource-panel,.teacher-resource-metric,.btn.primary) {box-shadow:none;border-radius:7px}
.crm-ui #page-teachers .teacher-resource-metric {padding:12px 14px;min-height:90px}
.crm-ui #page-teachers .teacher-resource-metric:after {content:none}
.crm-ui #page-teachers .teacher-resource-metric.sold {background:var(--blue-bg);border-color:#d3e2f8;color:var(--text)}
.crm-ui #page-teachers .teacher-resource-metric.sold strong {color:var(--blue)}
.crm-ui #page-teachers .teacher-resource-metric:is(.sold) :is(span,em) {color:var(--muted)}
.crm-ui #page-teachers .teacher-resource-metric em {position:static;display:block;max-width:none;text-align:left;margin-top:5px;font-size:12px}
.crm-ui #page-teachers .teacher-resource-metric strong {font-size:24px}
.crm-ui #page-teachers .teacher-range-row button {font-size:13px;min-height:36px;gap:8px;padding:7px 12px;box-shadow:none;border-radius:5px}
.crm-ui #page-teachers .teacher-filter-row button {font-size:13px;min-height:32px;border-radius:5px}
.crm-ui #page-teachers .teacher-resource-search :is(input,select) {height:36px;font-size:13px;border-radius:5px}
.crm-ui #page-teachers .teacher-resource-head {padding:12px 16px 0}
.crm-ui #page-teachers .teacher-resource-search {padding:10px 16px;background:#fafbfd}
.crm-ui #page-teachers :is(.teacher-result-meta,.teacher-pagination) {padding:10px 16px}
.crm-ui #page-teachers .btn {border-radius:5px;box-shadow:none}
.crm-ui #page-teachers .empty {padding:24px 16px}
@media(min-width:1450px) {
}
@media(min-width:701px) {
}
@media(max-width:1100px) {
  .crm-ui .top-actions {gap:6px}
}
@media(max-width:700px) {
  .crm-ui #mainNav :is(.boss-nav-group-title,.city-nav-group-title,.customer-service-nav-group-title) {font-size:14px;white-space:nowrap}
  .crm-ui #mainNav button {white-space:nowrap}
  .crm-ui #pageRoot .stats>.stat {padding:10px}
  .crm-ui .panel-head {align-items:flex-start}
  .crm-ui .top-actions {margin-left:0}
}

.crm-ui #pageRoot .admin-task-center :is(th,td) {font-size:13px;padding:10px 12px}
.crm-ui #pageRoot .admin-task-filters {padding:0 14px;gap:10px;font-size:12px}
.crm-ui #pageRoot .admin-task-filters :is(input,select) {font-size:13px;height:36px;padding:6px 9px;border-radius:5px}
.crm-ui #pageRoot .admin-task-center>p,.crm-ui #pageRoot .task-pager {padding-inline:14px;font-size:12px}

/* Compact existing information blocks; only spacing-only BR nodes are collapsed. */
.crm-ui #pageRoot.customer-service-page {gap:10px}
.crm-ui #pageRoot.customer-service-page>.page-head {margin-bottom:0;padding-bottom:0}
.crm-ui #pageRoot .customer-service-card>.panel-head {min-height:44px;padding:10px 14px}
.crm-ui #pageRoot .empty {min-height:0;padding:18px 14px}
.crm-ui #pageRoot :is(.page-guide,.panel-guide) {border-color:var(--line);background:#fafcff;font-size:12px;border-radius:5px}
.crm-ui #pageRoot .panel-guide {margin:8px 14px}
.crm-ui #pageRoot :is(.page-guide,.panel-guide) summary {padding:6px 9px;font-size:12px;font-weight:500}
.crm-ui #pageRoot small,.crm-ui #modalBody small {font-size:12px;line-height:1.6}
.crm-ui #pageRoot .customer-service-context {padding:10px 14px;gap:12px;border-radius:7px}
.crm-ui #pageRoot .customer-service-context :is(small,p) {font-size:12px}
.crm-ui #pageRoot .service-task-card {min-height:88px;padding:10px;box-shadow:none;border-radius:7px}
.crm-ui #pageRoot .service-task-card :is(small,span),.crm-ui #pageRoot .service-kpi span {font-size:12px}
.crm-ui #pageRoot .hrbp-workbench-tabs {gap:7px}
.crm-ui #pageRoot .hrbp-workbench-tabs button {padding:9px 11px;border-radius:5px}
.crm-ui #pageRoot .service-drilldown-card {min-height:85px;padding:11px;border-radius:7px}
.crm-ui #pageRoot .service-performance-summary {margin-bottom:0!important}
@media(max-width:700px){.crm-ui .top-actions{flex-wrap:nowrap}.crm-ui .role-pill{max-width:150px;overflow-wrap:anywhere}}
.crm-ui #pageRoot .service-scope-button:not([data-scope-theme]) {min-height:58px;padding:10px 13px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--text);text-align:left}
.crm-ui #pageRoot .service-scope-button:not([data-scope-theme]) :is(b,small) {display:block}
.crm-ui #pageRoot .service-scope-button:not([data-scope-theme]).active {border-color:var(--blue);background:var(--blue-bg);color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue)}
.crm-ui .modal-foot {position:sticky;bottom:0;z-index:3}
/* Nested record grids must shrink with the workspace; their tables retain local scroll. */
.crm-ui #pageRoot.customer-service-page,.crm-ui #pageRoot .customer-records-page {min-width:0}
.crm-ui #pageRoot .customer-records-page>* {min-width:0;max-width:100%}

/* Revision 2: hierarchy and quiet surfaces, following the approved visual reference. */
body.crm-ui {--bg:#f6f8fb;--text:#17243a;--muted:#68778e;--line:#e5eaf2;--blue:#1769f4;--blue2:#1055cf;--blue-bg:#edf4ff;--primary:#1769f4;--primary2:#1055cf;--primary-bg:#edf4ff}
.crm-ui .brand :is(b,strong) {font-size:18px;font-weight:750;letter-spacing:.2px}
.crm-ui #mainNav :is(.boss-nav-group-title,.city-nav-group-title,.customer-service-nav-group-title) {font-size:18px;font-weight:750;color:#152238;background:transparent;border-top:1px solid var(--line);border-radius:0;letter-spacing:0}
.crm-ui #mainNav :is(.boss-nav-group-title,.city-nav-group-title,.customer-service-nav-group-title):first-child {border-top:0}
.crm-ui #mainNav button {font-size:14px;font-weight:450;color:#5b6b83}
.crm-ui #mainNav button.active {font-weight:600}
.crm-ui #mainNav .nav-icon {font-size:12px;opacity:.7}
.crm-ui #pageRoot .page-head h1 {font-size:30px;line-height:1.35;font-weight:750;color:#122039;letter-spacing:.1px}
.crm-ui #pageRoot .page-head p {font-size:14px;line-height:1.65;color:var(--muted);margin-top:5px}
.crm-ui #pageRoot .page-head {margin-bottom:18px;align-items:center}
.crm-ui :is(.panel,.teacher-resource-panel) {border-color:#e7ecf3;border-radius:6px;box-shadow:none}
.crm-ui #pageRoot .panel-head {padding:14px 16px 10px;border-bottom:0;min-height:50px;align-items:center}
.crm-ui #pageRoot .panel-head h2,.crm-ui #pageRoot :is(.city-task-decision-head,.boss-dashboard-heading,.traffic-section-head) h2 {font-size:20px;line-height:1.45;font-weight:700;color:#14223a}
.crm-ui #pageRoot .panel .panel .panel-head h2 {font-size:17px}
.crm-ui #pageRoot .panel .panel {border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none}
.crm-ui #pageRoot :is(.page-guide,.panel-guide) {background:transparent;border:0;border-radius:0}
.crm-ui #pageRoot .page-guide {margin:0 0 12px}
.crm-ui #pageRoot .panel-guide {margin:0 16px 6px}
.crm-ui #pageRoot :is(.page-guide,.panel-guide) summary {padding:4px 0;font-weight:450;color:#6780a5;font-size:12px}
.crm-ui #pageRoot .guide-grid {border-top:1px solid var(--line);padding:10px 0}
.crm-ui #pageRoot .guide-section {border:0;border-radius:0;background:transparent;padding:6px 10px;line-height:1.75}
.crm-ui #pageRoot .guide-caution {border-left:2px solid #edb35f;background:#fff9ee}
.crm-ui #pageRoot .customer-service-context {border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;padding:10px 0 14px}
.crm-ui #pageRoot :is(.customer-service-toolbar,.traffic-period-toolbar,.boss-deals-filter) {border:0;border-radius:0;background:transparent;box-shadow:none;padding:8px 0}
.crm-ui #pageRoot .customer-service-page-kicker {font-size:11px;letter-spacing:0;color:#7789a3;margin-bottom:4px}
.crm-ui #pageRoot .stats {border:0;border-radius:0;background:transparent}
.crm-ui #pageRoot .stats>.stat {border:0;border-left:1px solid var(--line);margin:0;padding:10px 20px;background:transparent;gap:3px}
.crm-ui #pageRoot .stats>.stat:first-child {border-left:0}
.crm-ui #pageRoot .stat strong {font-size:34px;font-weight:750;color:#132139;line-height:1.35;margin:3px 0;letter-spacing:-.5px}
.crm-ui #pageRoot .stat small {font-size:13px;color:#63738b}
.crm-ui #pageRoot .stat-summary-badge {font-size:11px;color:#8190a5;font-weight:400}
.crm-ui #pageRoot .stat .stat-icon {color:#7888a0;font-size:12px;line-height:1.6}
.crm-ui #pageRoot button.stat:is(.active,[aria-pressed=true]) {border-left-color:var(--line);border-bottom:2px solid var(--blue);background:#f3f7ff;color:var(--blue)}
.crm-ui #pageRoot button.stat:is(.active,[aria-pressed=true]) strong {color:var(--blue)}
.crm-ui #pageRoot :is(.service-drilldown-card,.service-task-card,.city-task-card,.hrbp-metric-card,.service-kpi) {border:0;border-radius:0;border-left:1px solid var(--line);background:transparent;box-shadow:none;padding:10px 16px}
.crm-ui #pageRoot :is(.service-drilldown-card,.service-task-card,.city-task-card,.hrbp-metric-card,.service-kpi):first-child {border-left:0}
.crm-ui #pageRoot :is(.service-drilldown-card,.service-task-card,.city-task-card) strong,.crm-ui #pageRoot .hrbp-metric-card b {font-size:30px;font-weight:750;line-height:1.4}
.crm-ui #pageRoot .service-task-card.active {border-bottom:2px solid var(--blue);background:#f3f7ff;padding:10px 16px}
.crm-ui #pageRoot .service-task-card.warn strong,.crm-ui #pageRoot .city-task-card.warn strong {color:#d87316}
.crm-ui #pageRoot .hrbp-workbench-overview-head b {font-size:20px;font-weight:700}
.crm-ui #pageRoot .hrbp-workbench-task {background:#fff;border-left:1px solid var(--line);padding:12px 16px}
.crm-ui #pageRoot .hrbp-workbench-task:first-child {border-left:0}
.crm-ui #pageRoot .hrbp-workbench-task b {font-size:22px;line-height:1.5}
.crm-ui #pageRoot .hrbp-workbench-task-grid {background:#fff;gap:0}
.crm-ui #pageRoot .hrbp-workbench-tabs button {border:0;border-bottom:2px solid transparent;background:transparent;border-radius:0;padding:10px 12px;box-shadow:none}
.crm-ui #pageRoot .hrbp-workbench-tabs button.active {border-bottom-color:var(--blue);background:var(--blue-bg);color:var(--blue)}
.crm-ui #pageRoot .hrbp-workbench-tabs b {font-size:14px}
.crm-ui #pageRoot .boss-dashboard-heading>span {background:transparent;box-shadow:none;border-radius:0;color:#7a8da8;font-size:12px}
.crm-ui #pageRoot .boss-dashboard-heading {margin:22px 0 10px}
.crm-ui th {background:#f3f6fa;font-size:13px;color:#62728b;font-weight:550;border-bottom:1px solid var(--line)}
.crm-ui td {font-size:14px;border-bottom:1px solid #edf0f5;color:#30425d;line-height:1.6}
.crm-ui td b {font-weight:650;color:#17243a}
.crm-ui .btn {font-size:13px;font-weight:550;border-radius:4px;padding:7px 13px;min-height:35px}
.crm-ui .btn.primary {font-weight:650}
.crm-ui .table-wrap .btn:not(.danger),.crm-ui .table-wrap .btn.primary:not(.danger),.crm-ui .table-wrap .mini:not(.no) {background:transparent;border-color:transparent;color:var(--blue);box-shadow:none;padding:3px 7px;min-height:28px;font-weight:550}
.crm-ui .table-wrap .btn:not(.danger):hover,.crm-ui .table-wrap .mini:not(.no):hover {background:var(--blue-bg);color:var(--blue2)}
.crm-ui #pageRoot .admin-task-center :is(th,td) {font-size:14px;padding:10px 12px}
.crm-ui #pageRoot .notice.warn {background:#fff7e9;color:#a66316;border-left:2px solid #edb56b;border-radius:3px}
.crm-ui .modal-head {padding:15px 18px 12px;border-bottom:1px solid var(--line)}
.crm-ui .modal-head h3 {font-size:21px;font-weight:700;color:#15233b}
.crm-ui .modal-body {padding:16px 18px}
.crm-ui .modal-foot {padding:12px 18px;border-top:1px solid var(--line)}
.crm-ui .field label,.crm-ui .fields label {font-size:13px;font-weight:550;color:#576a84}
.crm-ui :is(.field,.fields) :is(input,select,textarea) {font-size:14px}
.crm-ui #page-teachers h1 {font-size:28px;font-weight:750;line-height:1.4}
.crm-ui #page-teachers .teacher-panel-title h2 {font-size:20px;font-weight:700}
.crm-ui #page-teachers .teacher-resource-stats {background:transparent}
.crm-ui #page-teachers .teacher-resource-metric {border:0;border-left:1px solid var(--line);border-radius:0;background:transparent;padding:8px 20px}
.crm-ui #page-teachers .teacher-resource-metric:first-child {border-left:0}
.crm-ui #page-teachers .teacher-resource-metric.sold {background:transparent;border-color:var(--line);color:var(--text)}
.crm-ui #page-teachers .teacher-resource-metric strong {font-size:34px;font-weight:750;color:#14223a}
.crm-ui #page-teachers .teacher-resource-metric.sold strong {color:var(--blue)}
.crm-ui #page-teachers .teacher-resource-metric small {font-size:13px;color:#63738b;font-weight:450}
.crm-ui #page-teachers .teacher-resource-head {padding:16px 16px 0}
.crm-ui #page-teachers .teacher-eyebrow {font-weight:450;color:#8492a5;font-size:10px}
.crm-ui #page-teachers .teacher-resource-search {background:#fff}
.crm-ui #page-teachers th {background:#f3f6fa;font-size:13px;padding:10px 14px}
.crm-ui #page-teachers td {font-size:14px;padding:11px 14px}
.crm-ui #page-teachers .teacher-name-link {font-size:15px;font-weight:650}
.crm-ui #page-teachers .teacher-initials {background:#f3f6fa;color:#8293ab;box-shadow:none;border-radius:4px;font-weight:450}
.crm-ui #page-teachers .mini:not(.no) {border-color:transparent;background:transparent;color:var(--blue)}
@media(max-width:1100px){
 .crm-ui #pageRoot .page-head h1 {font-size:28px}
 .crm-ui #pageRoot .stats>.stat {padding:9px 14px}
 .crm-ui #pageRoot .stat strong,.crm-ui #page-teachers .teacher-resource-metric strong {font-size:30px}
 .crm-ui #pageRoot :is(.service-drilldown-card,.service-task-card,.city-task-card,.hrbp-metric-card,.service-kpi) {padding:9px 12px}
}
@media(max-width:700px){
 .crm-ui #mainNav :is(.boss-nav-group-title,.city-nav-group-title,.customer-service-nav-group-title) {font-size:16px;border:0}
 .crm-ui #pageRoot .page-head h1 {font-size:25px}
 .crm-ui #pageRoot .panel-head h2 {font-size:18px}
}
@media(min-width:701px) and (max-width:1100px){
}
.crm-ui .btn.is-zero {color:#96a2b5;border-color:#e3e9f0;background:#f7f9fc}
.crm-ui .btn.is-zero:hover {color:#7b889c}
.crm-ui .table-wrap .btn.is-zero {color:#96a2b5;background:transparent;border-color:transparent}
.crm-ui .login-task-list {display:grid;gap:8px;margin:12px 0}
.crm-ui .login-task-row {display:flex;align-items:baseline;gap:10px;padding:9px 12px;border:1px solid var(--line);border-radius:8px;background:#fff}
.crm-ui .login-task-row span {flex:1}
.crm-ui .login-task-row b {font-size:15px}
.crm-ui .login-task-row small {color:var(--muted)}
.crm-ui .login-reminder-list {display:grid;gap:6px;margin-top:10px}
.crm-ui .login-reminder-row {font-size:13px}
.crm-ui .th-note {font-weight:400;color:var(--muted)}
.crm-ui input[data-target-input]::placeholder {color:#c3ccd9}
.crm-ui .source-legend>.empty {display:block;border-bottom:0;padding-bottom:0}
.crm-ui .tag.name-todo {margin-left:4px;background:#f1f4f8;color:#8a95a6}
