@font-face {
  font-family: "LEETS Roboto";
  src: url("/assets/leets/Roboto.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* CRM only. The standalone BLOWER configurator does not load this sheet. */
:root[data-product="crm"] {
  --brand-yellow:#ffc629;
  --brand-gray:#c1c5c8;
  --blue:#000;--navy:#000;--teal:#000;--ink:#171717;
  --muted:#555;--line:#d6d8da;--paper:#f5f5f4;--orange:#333;
  font-family:"HelveticaNeueCyr","LEETS Roboto",sans-serif;
  font-size:16px;
}
[data-product="crm"] body { background:linear-gradient(115deg,#fff 0,#f5f5f4 75%); }
[data-product="crm"] .sidebar { background:linear-gradient(155deg,#123962,#081f34);color:#fff;border-right:0;padding:22px 16px; }
[data-product="crm"] .brand { line-height:0; }
[data-product="crm"] .brand-logo { display:block;width:200px;max-width:100%;height:auto; }
[data-product="crm"] .brand-sub { color:#555;letter-spacing:.12em;font-size:11px;margin:12px 12px 30px;line-height:1.5; }
[data-product="crm"] .nav button { color:#d5e1ee;border-radius:6px;min-height:39px;font-size:13px; }
[data-product="crm"] .nav button.active { background:var(--brand-yellow);color:#000; }
[data-product="crm"] .nav button:hover:not(.active) { background:#ffffff12; }
[data-product="crm"] .user small { color:#aec6d6; }
[data-product="crm"] .user { border-top-color:#ffffff26; }
[data-product="crm"] .sidebar .button.quiet{color:#fff;border-color:#ffffff55}
[data-product="crm"] .topbar { border-bottom:2px solid #000;color:#444;font-size:13px; }
[data-product="crm"] .eyebrow { color:#444;font-size:12px;letter-spacing:.11em; }
[data-product="crm"] .pilot { color:#000;background:#fff;border-color:var(--brand-gray);font-size:12px; }
[data-product="crm"] h1 { font-weight:700;line-height:1.16;overflow-wrap:anywhere; }
[data-product="crm"] .button { color:#000;border-color:var(--brand-gray);border-radius:4px;font-size:14px; }
[data-product="crm"] .button.primary { color:#000;background:var(--brand-yellow);border-color:var(--brand-yellow); }
[data-product="crm"] .button.teal { color:#fff;background:#000;border-color:#000; }
[data-product="crm"] .button.danger { color:#000;border-color:#000;border-style:dashed; }
[data-product="crm"] .button:hover:not(:disabled) { box-shadow:inset 0 0 0 1px currentColor; }
[data-product="crm"] :is(button,a):focus-visible { outline:3px solid #000;outline-offset:3px; }
[data-product="crm"] :is(input,select,textarea):focus { outline:2px solid var(--brand-yellow);border-color:#000; }
[data-product="crm"] input[type="checkbox"] { accent-color:#000; }
[data-product="crm"] :is(input,select,textarea) { border-color:var(--brand-gray);border-radius:4px; }
[data-product="crm"] label { font-size:14px;color:#444; }
[data-product="crm"] label :is(input,select,textarea) { font-size:16px; }
[data-product="crm"] :is(input,select,textarea):disabled { color:#555;background:#f0f0f0; }
[data-product="crm"] .stat { background:#fff;border-top:4px solid var(--brand-yellow);border-radius:4px; }
[data-product="crm"] .stat span { font-size:14px; }
[data-product="crm"] .stat strong { font-variant-numeric:tabular-nums; }
[data-product="crm"] .panel { border-radius:4px; }
[data-product="crm"] .panel-head { flex-wrap:wrap; }
[data-product="crm"] th { color:#000;background:#e8e9ea;font-size:12px; }
[data-product="crm"] td { font-size:15px; }
[data-product="crm"] :is(.projects,.engineering-table) tr:hover td { background:#fffae9; }
[data-product="crm"] .project-open { color:#000;text-decoration:underline;text-decoration-color:var(--brand-gray);text-underline-offset:3px; }
[data-product="crm"] .badge { color:#333;background:#eee;border-radius:3px;font-size:12px;white-space:normal; }
[data-product="crm"] :is(.badge.review,.task-late) { color:#000;background:#fff1c4;border-left:3px solid var(--brand-yellow); }
[data-product="crm"] .badge.approved { color:#fff;background:#000; }
[data-product="crm"] :is(.inline-note,.conflict) { color:#333;background:#fff9e6;border-color:var(--brand-yellow);font-size:14px; }
[data-product="crm"] .completion-note { color:#555; }
[data-product="crm"] .task-overdue { border-left-color:var(--brand-yellow); }
[data-product="crm"] .savebar { background:#f2f2f2; }
[data-product="crm"] .tabs { flex-wrap:wrap; }
[data-product="crm"] .tabs button.active { color:#000;box-shadow:inset 0 -4px var(--brand-yellow); }
[data-product="crm"] .solution-link { background:#f5f5f5;border-color:var(--brand-gray); }
[data-product="crm"] .solution-link.active { color:#000;background:#fff5d6;border-color:#000; }
[data-product="crm"] .point-card { background:#fff;border-left-color:var(--brand-yellow); }
[data-product="crm"] .login-story { color:#000;background:linear-gradient(0deg,var(--brand-yellow) 0 8px,transparent 8px),#fff;border-right:1px solid var(--brand-gray); }
[data-product="crm"] .login-story .brand { margin-bottom:55px; }
[data-product="crm"] .login-story .brand-logo { width:300px; }
[data-product="crm"] .login-story p { color:#444; }
[data-product="crm"] #notice { background:#000;color:#fff;box-shadow:0 6px 24px #0002; }
[data-product="crm"] #notice.error { background:#000;border-left:6px solid var(--brand-yellow); }
@media(max-width:800px) {
  [data-product="crm"] .brand-logo { width:160px; }
  [data-product="crm"] .sidebar { border-bottom:1px solid var(--brand-gray); }
  [data-product="crm"] .list-pager { gap:12px;padding:12px 0; }
  [data-product="crm"] .filters > * { flex:1 1 200px;max-width:100%; }
  [data-product="crm"] .stat span { font-size:12px; }
}

/* LEETS Work hybrid interface: friendly project navigator + compact control center. */
:root[data-product="crm"] {
  --paper:#f6f7f8;
  --line:#e0e3e5;
  --muted:#66707a;
  --ink:#16191d;
  background:var(--paper);
}
[data-product="crm"] body { background:var(--paper); }
[data-product="crm"] .shell { grid-template-columns:288px minmax(0,1fr); }
[data-product="crm"] .sidebar {
  padding:18px 14px 14px;
  background:#fff;
  color:var(--ink);
  border-right:1px solid #dfe2e4;
  box-shadow:4px 0 18px #16191d08;
}
[data-product="crm"] .sidebar-brand {
  display:flex;
  align-items:center;
  margin:0 10px 14px;
  padding:2px 5px 10px;
}
[data-product="crm"] .sidebar-brand-logo { display:block;width:154px;max-width:100%;height:auto;clip-path:inset(0 0 27% 0);margin-bottom:-19px; }

[data-product="crm"] .blower-launch {
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) 28px;
  grid-template-areas:"brand icon" "copy icon";
  gap:2px 12px;
  margin:0 0 18px;
  padding:14px 15px 13px;
  overflow:hidden;
  border:1px solid #cfdcf4;
  border-left:4px solid #1261c9;
  border-radius:7px;
  background:linear-gradient(135deg,#fff,#f4f8ff);
  color:#104eaa;
  text-decoration:none;
  box-shadow:0 3px 10px #103f9112;
}
[data-product="crm"] .blower-launch:hover { background:#eef5ff;box-shadow:0 5px 14px #103f9120; }
[data-product="crm"] .blower-launch:focus-visible { outline-color:var(--brand-yellow); }
[data-product="crm"] .blower-wordmark { grid-area:brand;font-family:"Arial Narrow","Bahnschrift Condensed",sans-serif;font-size:20px;font-weight:900;letter-spacing:.045em; }
[data-product="crm"] .blower-launch-copy { grid-area:copy;font-size:11px;color:#5d7290; }
[data-product="crm"] .blower-launch-icon { grid-area:icon;display:grid;place-items:center;align-self:center;width:28px;height:28px;border:1px solid #b9cae6;border-radius:5px;color:#104eaa; }
[data-product="crm"] .blower-launch-icon .ui-icon { width:16px;height:16px; }

[data-product="crm"] .ui-icon { display:block;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round; }
[data-product="crm"] .nav { gap:4px; }
[data-product="crm"] .nav-group { border-bottom:1px solid #e7e9eb;padding-bottom:7px; }
[data-product="crm"] .nav-group:last-child { border-bottom:0; }
[data-product="crm"] .nav-group>summary {
  min-height:34px;
  padding:8px 10px;
  color:#626c75;
  font-size:10px;
  letter-spacing:.11em;
}
[data-product="crm"] .nav-group[data-nav-group="work"]>summary { color:#30363b; }
[data-product="crm"] .nav-group>summary:hover { color:#111; }
[data-product="crm"] .nav-group>summary>span::before { color:#7a838b; }
[data-product="crm"] .nav-group-items { gap:4px;padding-bottom:5px; }
[data-product="crm"] .nav button,
[data-product="crm"] .nav [data-nav],
[data-product="crm"] .nav-link,
[data-product="crm"] .nav-planned,
[data-product="crm"] .nav-direction {
  min-height:44px;
  padding:5px 8px;
  border-radius:6px;
  color:#29323a;
  font-size:13px;
}
[data-product="crm"] .nav button:hover:not(.active),
[data-product="crm"] .nav [data-nav]:hover:not(.active),
[data-product="crm"] .nav-link:hover { background:#f2f4f5;color:#111; }
[data-product="crm"] .nav button.active,
[data-product="crm"] .nav [data-nav].active {
  padding-left:5px;
  border-left:4px solid var(--brand-yellow);
  background:#fff8dc;
  color:#111;
  box-shadow:none;
}
[data-product="crm"] .nav-item-label { display:flex;align-items:center;gap:10px;min-width:0;flex:1; }
[data-product="crm"] .nav-item-label>span:last-child { min-width:0;overflow-wrap:anywhere; }
[data-product="crm"] .nav-icon-box { display:grid;place-items:center;width:31px;height:31px;flex:none;border-radius:6px;background:#f0f2f3;color:#53616d; }
[data-product="crm"] .nav button.active .nav-icon-box { background:var(--brand-yellow);color:#111; }
[data-product="crm"] .nav-meta { display:grid;place-items:center;min-width:23px;height:21px;padding:0 6px;border-radius:11px;background:#eceff1;color:#5b646c!important;font-size:9px!important;white-space:nowrap; }
[data-product="crm"] .nav button.active .nav-meta { background:#111;color:#fff!important; }
[data-product="crm"] .nav-planned { color:#707981; }
[data-product="crm"] .nav-planned .nav-icon-box { opacity:.66; }
[data-product="crm"] .work-nav-list { gap:4px; }
[data-product="crm"] .work-nav-sortable { grid-template-columns:minmax(0,1fr) 17px; }
[data-product="crm"] .work-nav-sortable>*:not(.work-nav-handle) { grid-column:1;grid-row:1; }
[data-product="crm"] .work-nav-handle { grid-column:2;grid-row:1;color:#a2a9af; }
[data-product="crm"] .work-nav-sortable.dragging { background:#fff8dc; }
[data-product="crm"] .nav .work-nav-save { margin-left:0;border-color:#c8cdd1;color:#333; }
[data-product="crm"] .nav .work-nav-save:not(:disabled) { border-color:#111;background:#fff;color:#111; }

[data-product="crm"] .user-avatar,
[data-product="crm"] .topbar-avatar { display:grid;place-items:center;border-radius:50%;background:#e9ecee;color:#171a1d;font-weight:800; }
[data-product="crm"] .user-avatar { width:38px;height:38px;font-size:12px; }
[data-product="crm"] .user-copy { display:grid;gap:2px;min-width:0; }
[data-product="crm"] .user-copy strong { overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px; }
[data-product="crm"] .user small { color:#707981;font-size:10px; }
[data-product="crm"] .user .button { min-height:30px;margin:0;padding:5px 7px;color:#555;border-color:#d7dadd;font-size:10px; }

[data-product="crm"] .main { padding:0 32px 40px;background:var(--paper); }
[data-product="crm"] .topbar {
  position:sticky;
  top:0;
  z-index:30;
  min-height:74px;
  margin:0 -32px 28px;
  padding:12px 32px;
  border-bottom:1px solid #dfe2e4;
  background:#fffffff2;
  backdrop-filter:blur(10px);
  color:#40484f;
}
[data-product="crm"] .global-search { position:relative;display:flex;align-items:center;flex:1;max-width:690px; }
[data-product="crm"] .global-search>span { position:absolute;left:13px;color:#68747e;pointer-events:none; }
[data-product="crm"] .global-search .ui-icon { width:18px;height:18px; }
[data-product="crm"] .global-search input { width:100%;height:42px;padding:9px 66px 9px 42px;border-color:#d7dce0;border-radius:7px;background:#f8f9fa;font-size:13px; }
[data-product="crm"] .global-search input:focus { background:#fff;box-shadow:0 0 0 3px #ffc62933; }
[data-product="crm"] .global-search kbd { position:absolute;right:10px;padding:3px 6px;border:1px solid #d8dcdf;border-radius:4px;background:#fff;color:#747d85;font:10px inherit;pointer-events:none; }
[data-product="crm"] .global-search-results { position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:60;max-height:min(70vh,520px);overflow:auto;padding:6px;border:1px solid #d9dde0;border-radius:8px;background:#fff;box-shadow:0 14px 36px #11182724; }
[data-product="crm"] .global-search-group { padding:8px 10px 4px;color:#66727a;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase; }
[data-product="crm"] .global-search-option { display:grid;width:100%;gap:3px;padding:9px 10px;border:0;border-radius:5px;background:transparent;color:#171717;text-align:left;cursor:pointer; }
[data-product="crm"] .global-search-option:hover,[data-product="crm"] .global-search-option.active { background:#fff5d1; }
[data-product="crm"] .global-search-option strong { font-size:13px;line-height:1.35; }
[data-product="crm"] .global-search-option small,[data-product="crm"] .global-search-empty { color:#66727a;font-size:11px;line-height:1.4; }
[data-product="crm"] .global-search-empty { margin:0;padding:12px; }
[data-product="crm"] .topbar-actions { display:flex;align-items:center;gap:8px; }
[data-product="crm"] .topbar-icon { display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid transparent;border-radius:50%;background:transparent;color:#39434c; }
[data-product="crm"] .topbar-icon:hover { border-color:#d9dde0;background:#f4f5f6; }
[data-product="crm"] .topbar-icon .ui-icon { width:20px;height:20px; }
[data-product="crm"] .topbar-avatar { width:38px;height:38px;padding:0;border:1px solid #d8dde1;font-size:11px;cursor:pointer; }
[data-product="crm"] .pilot { border-color:#d9dde0;background:#fff;color:#525b63; }
[data-product="crm"] .presence-summary { display:flex;align-items:center;gap:6px;color:#64707a;font-size:11px;white-space:nowrap; }
[data-product="crm"] .presence-summary i,.presence-state i { width:8px;height:8px;flex:none;border-radius:50%;background:#2cac68;box-shadow:0 0 0 3px #2cac6818; }
[data-product="crm"] .profile-control { position:relative; }
[data-product="crm"] .profile-menu { position:absolute;right:0;top:48px;width:285px;padding:8px;border:1px solid #d9dde0;border-radius:9px;background:#fff;box-shadow:0 18px 50px #11182724;z-index:45; }
[data-product="crm"] .profile-menu-head { display:grid;grid-template-columns:42px minmax(0,1fr);gap:11px;align-items:center;padding:10px 10px 13px;border-bottom:1px solid #e8eaec; }
[data-product="crm"] .profile-menu-head .topbar-avatar { width:42px;height:42px;cursor:default; }
[data-product="crm"] .profile-menu-head div { display:grid;gap:2px;min-width:0; }
[data-product="crm"] .profile-menu-head strong,[data-product="crm"] .profile-menu-head small { overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
[data-product="crm"] .profile-menu-head small { color:#6b747c;font-size:11px; }
[data-product="crm"] .profile-menu-head em { color:#3d4952;font-size:10px;font-style:normal; }
[data-product="crm"] .profile-menu>button { display:flex;align-items:center;justify-content:space-between;width:100%;padding:10px 11px;border:0;border-radius:6px;background:transparent;color:#252c32;text-align:left; }
[data-product="crm"] .profile-menu>button:hover { background:#f2f4f5; }
[data-product="crm"] .profile-menu>button small { color:#68737c;font-size:10px; }
[data-product="crm"] .profile-menu .profile-logout { margin-top:5px;border-top:1px solid #e8eaec;border-radius:0;color:#8b3030; }
[data-product="crm"] .quick-help-dialog { width:min(720px,calc(100vw - 24px));padding:0;border:1px solid #d7dadd;border-radius:8px;box-shadow:0 24px 70px #11182733; }
[data-product="crm"] .quick-help-dialog::backdrop { background:#20252b55; }
[data-product="crm"] .quick-help-dialog .panel-head { align-items:flex-start; }
[data-product="crm"] .quick-help-dialog .panel-head .eyebrow { margin-bottom:5px; }
[data-product="crm"] .help-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:20px; }
[data-product="crm"] .help-grid>div { display:grid;grid-template-columns:38px 1fr;gap:3px 11px;padding:15px;border:1px solid #e1e4e6;border-radius:7px;background:#fafbfb; }
[data-product="crm"] .help-grid .help-icon { grid-row:1/3;display:grid;place-items:center;width:38px;height:38px;border-radius:7px;background:#fff3c4;color:#111; }
[data-product="crm"] .help-grid strong { align-self:end; }
[data-product="crm"] .help-grid p { margin:0;color:#646e76;font-size:12px;line-height:1.45; }

[data-product="crm"] .page { max-width:1600px;margin:0 auto; }
[data-product="crm"] .page-head { margin-bottom:22px; }
[data-product="crm"] .page-head h1 { margin-bottom:7px;letter-spacing:-.03em; }
[data-product="crm"] .eyebrow { color:#646d75; }
[data-product="crm"] .panel { border-color:#e0e3e5;border-radius:7px;box-shadow:0 1px 2px #1118270a; }
[data-product="crm"] .panel-head { background:#fff; }
[data-product="crm"] .button { border-radius:5px; }
[data-product="crm"] .button.primary { box-shadow:0 1px 0 #b28a00; }
[data-product="crm"] .button.primary:hover:not(:disabled) { background:#ffd24e; }
[data-product="crm"] .stats.workspace-stats { grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0; }
[data-product="crm"] .workspace-stats .stat { display:flex;align-items:center;gap:14px;padding:16px 18px;border:1px solid #e0e3e5;border-top:1px solid #e0e3e5;border-radius:7px;box-shadow:0 1px 2px #1118270a; }
[data-product="crm"] .workspace-stats .project-stat-filter { width:100%;appearance:none;background:#fff;color:inherit;font:inherit;text-align:left;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease; }
[data-product="crm"] .workspace-stats .project-stat-filter:hover { border-color:#c7a329;box-shadow:0 3px 8px #11182714;transform:translateY(-1px); }
[data-product="crm"] .workspace-stats .project-stat-filter:focus-visible { outline:3px solid #f4cf4f99;outline-offset:2px; }
[data-product="crm"] .workspace-stats .project-stat-filter.active { border-color:#d3ad25;box-shadow:inset 0 0 0 1px #d3ad25,0 2px 5px #11182712; }
[data-product="crm"] .workspace-stats .stat-icon { display:grid;place-items:center;width:40px;height:40px;flex:none;border-radius:8px;background:#f0f2f3;color:#4f5b65; }
[data-product="crm"] .workspace-stats .stat-icon .ui-icon { width:21px;height:21px; }
[data-product="crm"] .workspace-stats .stat strong { margin:0;font-size:27px;line-height:1; }
[data-product="crm"] .workspace-stats .stat > div > span:last-child,[data-product="crm"] .workspace-stats .stat-content > span:last-child { display:block;margin-top:5px; }
[data-product="crm"] .workspace-stats .stat-active .stat-icon { background:#e6f5ec;color:#23804e; }
[data-product="crm"] .workspace-stats .stat-attention { border-color:#ead79d;background:#fffaf0; }
[data-product="crm"] .workspace-stats .stat-attention .stat-icon { background:#ffc629;color:#111; }
[data-product="crm"] th { background:#f1f3f4;color:#3f4951; }
[data-product="crm"] td { border-bottom-color:#e8eaec; }
[data-product="crm"] :is(.projects,.engineering-table) tr:hover td { background:#fffaf0; }
[data-product="crm"] .badge { padding:5px 9px;border-radius:999px; }
[data-product="crm"] :is(.badge.review,.task-late) { border-left:0;background:#fff0bf;color:#705300; }
[data-product="crm"] .badge.approved { background:#def4e7;color:#176d40; }
[data-product="crm"] .badge.archived { background:#eceeef;color:#596269; }
[data-product="crm"] .project-workspace-tabs { gap:20px; }
[data-product="crm"] .project-workspace-tab { padding-left:2px;padding-right:2px; }
[data-product="crm"] .project-workspace-tab.active { border-bottom-color:var(--brand-yellow); }
[data-product="crm"] .route-stages button.active { background:#fff8dc;color:#111;border-color:#d4b43d; }
[data-product="crm"] .route-stages button.active span { background:var(--brand-yellow);color:#111; }
[data-product="crm"] .queue-tab.active { border-color:#d7b32c;background:#fff9e4;box-shadow:inset 0 -3px var(--brand-yellow);color:#111; }
[data-product="crm"] .queue-tab.active strong { background:var(--brand-yellow);color:#111; }

[data-product="crm"] .profile-page-grid { display:grid;grid-template-columns:minmax(260px,.72fr) minmax(420px,1.5fr);gap:16px;align-items:start; }
[data-product="crm"] .profile-summary-card .panel-body { display:flex;align-items:center;gap:17px;padding:24px; }
[data-product="crm"] .profile-page-avatar { display:grid;place-items:center;width:68px;height:68px;flex:none;border-radius:18px;background:#fff1b5;color:#17191b;font-size:21px;font-weight:900; }
[data-product="crm"] .profile-summary-card h2 { margin:0 0 5px;font-size:21px; }
[data-product="crm"] .profile-summary-card p { margin:0 0 11px;color:#65717a; }
[data-product="crm"] .presence-state { display:flex;align-items:center;gap:7px;color:#49705a;font-size:11px; }
[data-product="crm"] .presence-state.offline { color:#717981; }
[data-product="crm"] .presence-state.offline i { background:#aab1b7;box-shadow:none; }
[data-product="crm"] .presence-state.away { color:#8b6a14; }
[data-product="crm"] .presence-state.away i { background:#d7a625;box-shadow:0 0 0 3px #d7a6251c; }
[data-product="crm"] .team-stats { grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:16px; }
[data-product="crm"] .team-toolbar { display:flex;align-items:center;gap:14px;margin-bottom:16px;padding:12px 14px;border:1px solid #e0e3e5;border-radius:7px;background:#fff; }
[data-product="crm"] .team-toolbar input[type="search"] { flex:1; }
[data-product="crm"] .team-directory { display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:12px; }
[data-product="crm"] .employee-card { position:relative;display:grid;grid-template-columns:48px minmax(0,1fr);gap:13px;min-height:145px;padding:18px;border:1px solid #dfe3e5;border-radius:8px;background:#fff;box-shadow:0 1px 2px #1118270a; }
[data-product="crm"] .employee-card.inactive { opacity:.68;background:#f4f5f5; }
[data-product="crm"] .employee-avatar { display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:#eef1f3;color:#29333b;font-size:14px;font-weight:900; }
[data-product="crm"] .employee-copy { display:grid;align-content:start;gap:5px;min-width:0; }
[data-product="crm"] .employee-name { display:flex;align-items:center;gap:7px;min-width:0; }
[data-product="crm"] .employee-name strong { overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
[data-product="crm"] .employee-copy p { margin:0;color:#555f68;font-size:12px; }
[data-product="crm"] .employee-copy a { overflow:hidden;color:#315f98;font-size:11px;text-overflow:ellipsis;white-space:nowrap; }
[data-product="crm"] .employee-copy .presence-state { margin-top:6px; }
[data-product="crm"] .access-state { position:absolute;right:12px;bottom:12px;padding:4px 7px;border-radius:4px;background:#e6e8ea;color:#5f6870;font-size:9px; }
[data-product="crm"] .access-state.pending { background:#fff1c4;color:#65510c; }

@media(max-width:1100px) {
  [data-product="crm"] .stats.workspace-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  [data-product="crm"] .global-search { max-width:520px; }
  [data-product="crm"] .pilot { display:none; }
}
@media(max-width:800px) {
  [data-product="crm"] .shell { display:block; }
  [data-product="crm"] .sidebar { position:static;height:auto;padding:14px;box-shadow:none; }
  [data-product="crm"] .sidebar-brand-logo { width:154px; }
  [data-product="crm"] .blower-launch { max-width:360px; }
  [data-product="crm"] .nav { grid-template-columns:1fr; }
  [data-product="crm"] .main { padding:0 15px 28px; }
  [data-product="crm"] .topbar { position:static;margin:0 -15px 22px;padding:10px 15px; }
  [data-product="crm"] .global-search kbd { display:none; }
  [data-product="crm"] .global-search input { padding-right:12px; }
  [data-product="crm"] .presence-summary { display:none; }
  [data-product="crm"] .profile-page-grid { grid-template-columns:1fr; }
  [data-product="crm"] .team-stats { grid-template-columns:1fr; }
  [data-product="crm"] .team-toolbar { align-items:stretch;flex-direction:column; }
}
@media(max-width:560px) {
  [data-product="crm"] .stats.workspace-stats { grid-template-columns:1fr; }
  [data-product="crm"] .topbar-actions .topbar-icon:first-of-type { display:none; }
  [data-product="crm"] .global-search input { font-size:12px; }
  [data-product="crm"] .help-grid { grid-template-columns:1fr; }
}

/* Responsive guardrails for the CRM shell and project workflow navigation. */
[data-product="crm"] :is(.main,.page,.page-head,.panel,.panel-head,.panel-body,.actions,.project-heading,.project-workspace-tabs,.project-nav,.route-stages,.project-workflow-summary) { min-width:0;max-width:100%; }
[data-product="crm"] :is(.page-head,.panel-head,.actions,.project-workspace-tabs,.project-nav,.route-tools) { flex-wrap:wrap; }
[data-product="crm"] .route-stages { display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr));gap:5px;overflow:visible; }
[data-product="crm"] .route-stages button,
[data-product="crm"] .route-stages button:first-child,
[data-product="crm"] .route-stages button:last-child { display:flex;align-items:center;gap:7px;min-width:0;min-height:42px;padding:8px 10px;border:1px solid #cdd8dc;border-radius:6px;white-space:normal;overflow-wrap:anywhere;line-height:1.25;text-align:left; }
[data-product="crm"] .route-stages button span { flex:0 0 25px; }
[data-product="crm"] :is(.page-head,.panel-head) :is(h1,h2,h3,p,strong,small) { min-width:0;overflow-wrap:anywhere; }
[data-product="crm"] .project-workflow-summary { grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr)); }
[data-product="crm"] .project-workspace-tabs { gap:8px; }
[data-product="crm"] .project-workspace-tab { min-width:0;white-space:normal;overflow-wrap:anywhere; }
[data-product="crm"] .task-meta .task-deadline { display:grid;gap:3px; }
[data-product="crm"] .task-countdown { color:#536b76;font-size:12px;font-weight:700; }
[data-product="crm"] .task-countdown.overdue { color:#a23e2d; }
[data-product="crm"] .approval-project-link { display:block;padding:0;border:0;background:none;color:var(--link,#005a91);text-align:left;text-decoration:underline;cursor:pointer;font:inherit; }
[data-product="crm"] .approval-review-controls { display:grid;gap:8px;min-width:230px; }
[data-product="crm"] .approval-review-controls label { display:grid;gap:4px;font-size:12px; }
[data-product="crm"] .approval-review-controls input,[data-product="crm"] .approval-review-controls textarea { width:100%;min-width:200px; }
[data-product="crm"] .approval-review-controls .actions { flex-wrap:wrap; }
[data-product="crm"] .project-number-dialog { width:min(560px,calc(100vw - 28px));max-width:none;padding:0;border:0;background:transparent; }
[data-product="crm"] .project-number-dialog::backdrop { background:rgba(9,24,34,.58); }
[data-product="crm"] .project-number-dialog>.panel { margin:0;background:var(--surface,#fff); }
[data-product="crm"] .project-task-summary { display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;min-width:0;margin:10px 0 14px;padding:9px 12px;border:1px solid var(--line,#d8e0e4);border-left:3px solid var(--brand-yellow,#f5bf24);border-radius:6px;background:var(--surface,#fff);font-size:13px; }
[data-product="crm"] .project-task-summary-label { color:var(--muted,#536b76);font-weight:700; }
[data-product="crm"] .project-task-summary>span strong { color:var(--text,#142532); }
[data-product="crm"] .project-task-summary>[data-tab="tasks"] { margin-left:auto; }
[data-product="crm"][data-theme="dark"] .project-task-summary { background:var(--surface,#1c252b); }
@media(max-width:600px) { [data-product="crm"] .project-task-summary>[data-tab="tasks"] { margin-left:0; } }
@media(max-width:1100px) {
  [data-product="crm"] .stats.workspace-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  [data-product="crm"] .project-detail-head { grid-template-columns:minmax(0,1fr) auto; }
  [data-product="crm"] .project-detail-head>.project-heading { grid-column:1/-1;grid-row:2; }
}
@media(max-width:800px) {
  [data-product="crm"] .route-stages { grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr)); }
  [data-product="crm"] .project-detail-head { grid-template-columns:minmax(0,1fr); }
  [data-product="crm"] .project-detail-head>#back-projects,
  [data-product="crm"] .project-detail-head>.project-heading,
  [data-product="crm"] .project-detail-head>.actions { grid-column:1;grid-row:auto; }
  [data-product="crm"] .project-workspace-tabs { flex-wrap:nowrap;overflow-x:auto; }
  [data-product="crm"] .project-workspace-tab { flex:none; }
  [data-product="crm"] .page-head>.actions { width:100%; }
}
@media(max-width:520px) {
  [data-product="crm"] .route-stages { grid-template-columns:repeat(2,minmax(0,1fr)); }
  [data-product="crm"] .route-stages button { padding:7px; }
  [data-product="crm"] .stats.workspace-stats { grid-template-columns:1fr; }
  [data-product="crm"] .page-head>.actions>.button { flex:1 1 auto; }
}
