/* Shared commercial/operational card composition, based on the supplied reference. */
.pipeline-card .pipeline-card-labels {position:relative;display:flex;flex-wrap:wrap;gap:4px;overflow:visible;min-width:0}
.pipeline-card .pipeline-label-marker {position:static;display:flex;align-items:center;width:40px;min-width:40px;height:20px;min-height:20px;padding:0;border:0;background:transparent;cursor:help}
.pipeline-card .pipeline-label-marker .label-chip {display:block;width:40px;height:4px;min-height:4px;padding:0;border:0;border-radius:3px}
.pipeline-label-marker .pipeline-label-name {display:none;position:absolute;top:100%;left:0;z-index:5;box-sizing:border-box;width:max-content;max-width:min(180px,100%);padding:5px 8px;border-radius:6px;background:#262830;color:white;font-size:12px;line-height:1.4;white-space:normal;overflow-wrap:anywhere;pointer-events:none}
.pipeline-label-marker:hover .pipeline-label-name,.pipeline-label-marker:focus .pipeline-label-name {display:block}
.pipeline-label-marker[data-dismissed="true"] .pipeline-label-name {display:none}
.pipeline-card .pipeline-label-marker:focus-visible {outline:2px solid #0066db;outline-offset:2px;border-radius:3px}
.mobile-stage-navigation {display:none}
.mobile-filter-toggle {display:none}
@media(max-width:700px){
  .pipeline-card .pipeline-label-marker {height:44px;min-height:44px;width:44px;min-width:44px}
  .activity-type-picker {
    max-height:220px;overflow-y:auto;overscroll-behavior-y:contain;
    grid-auto-rows:max-content;align-content:start;
    scrollbar-gutter:stable;padding:3px;scroll-padding-block:4px;
  }
  .activity-type-picker button {scroll-margin-block:4px}
  .mobile-filter-toggle {display:block;min-height:44px;text-align:left}
  body[data-view="kanban"] .mobile-filters-collapsed>.pipeline-filter-presets,
  body[data-view="kanban"] .mobile-filters-collapsed>.show-closed-toggle {display:none}
  .mobile-stage-navigation {display:grid;gap:4px;margin:8px 0;font-size:12px}
  .mobile-stage-navigation select {min-height:44px;width:100%;min-width:0}
  .mobile-stage-controls {display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:6px;min-width:0;width:100%}
  .mobile-stage-controls button {min-width:44px;min-height:44px;padding:0;font-size:24px}
  .unified-all-stages.mobile-stage-enabled>.stage:not(.mobile-stage-selected) {display:none}
}
#dealWorkspace .workspace-collection.is-collapsed>.workspace-record-list,
#dealWorkspace .workspace-collection.is-collapsed>.workspaceLoadMore {display:none}
#dealWorkspace .workspace-collection.is-collapsed>.workspace-section-heading {margin-bottom:0}
@media(min-width:701px) and (max-width:1100px){
  .deal-workspace-wide .workspace-composer .composer-tabs {grid-template-columns:repeat(2,minmax(0,1fr))}
  .deal-workspace-wide .workspace-composer .composer-tabs button {min-height:44px}
  .deal-workspace-wide .composer-activity-callout {align-items:stretch;flex-direction:column;gap:10px}
  .deal-workspace-wide .composer-activity-callout button {min-height:44px}
}
@media(min-width:701px){
  .deal-workspace-wide .deal-workspace-body {max-width:none;margin:0;padding:0;gap:0;grid-template-columns:minmax(280px,28%) minmax(0,1fr)}
  .deal-workspace-wide .deal-summary-wide {border:0;border-right:1px solid #dedfe3;border-radius:0;box-shadow:none;padding:20px;background:#fff}
  .deal-workspace-wide .deal-focus {padding:24px;gap:18px;background:#f5f5f7}
  .deal-workspace-wide .workspace-composer {position:static;border-radius:10px}
  .deal-workspace-wide .workspace-timeline-filters {position:static}
  .deal-workspace-wide .deal-focus>.deal-focus-section {border:0;border-radius:0;box-shadow:none;padding:0;background:transparent}
  .deal-workspace-wide .deal-focus>.deal-focus-section .deal-activity {margin-top:10px;padding:16px;border:1px solid #e2e3e6;border-radius:10px;background:#fff;box-shadow:0 1px 2px #00000008}
}
/* Shared toolbar hierarchy: primary action, quiet filter tabs, clear active state. */
body[data-view="kanban"] .context-toolbar {gap:10px}
body[data-view="kanban"] .context-toolbar #newDeal {background:#2d874b;border-color:#2d874b;color:#fff}
body[data-view="kanban"] .context-toolbar #newDeal:hover {background:#246f3d;border-color:#246f3d}
body[data-view="kanban"] .pipeline-filter-presets .pipelinePreset {border-color:transparent;background:transparent;color:#565d69;border-radius:6px;box-shadow:none}
body[data-view="kanban"] .pipeline-filter-presets .pipelinePreset:hover {background:#f3f5f8}
body[data-view="kanban"] .pipeline-filter-presets .pipelinePreset.selected {background:#edf4ff;border-color:transparent;color:#0066db}
body[data-view="kanban"] .pipeline-filter-presets button:focus-visible {outline:2px solid #0066db;outline-offset:2px}
@media(min-width:701px){
  body[data-view="kanban"] .context-toolbar button,
  body[data-view="kanban"] .context-toolbar select {font-size:13px}
  body[data-view="kanban"] .pipeline-filter-presets .pipelinePreset {font-size:13px;padding-inline:10px}
  body[data-view="kanban"] .pipeline-quick-sort select {font-size:13px;color:#0066db;background:#edf4ff;border-color:transparent}
  body[data-view="kanban"] .saved-view-tabs button {font-size:13px}
}
@font-face {font-family:CRMCardInter;src:url('./fonts/InterVariable-4.1.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
/* Neutral stage surfaces and a stable header scale, matching the reference. */
@media(min-width:1100px){
  body[data-view="kanban"] .app-shell:has(.unified-all-stages) {height:100dvh;min-height:0}
  body[data-view="kanban"] .workspace:has(.unified-all-stages) {display:flex;flex-direction:column;min-height:0;height:100%;overflow:hidden}
  body[data-view="kanban"] .workspace:has(.unified-all-stages)>.topbar {flex:0 0 auto}
  body[data-view="kanban"] .workspace>main:has(.unified-all-stages) {display:flex;flex-direction:column;flex:1;min-height:0;overflow:auto;background:#fff}
  body[data-view="kanban"] #content:has(.unified-all-stages) {display:flex;flex:1;min-height:0}
  body[data-view="kanban"] .unified-pipeline-content:has(.unified-all-stages) {flex:1;min-height:0;grid-template-rows:auto auto auto minmax(160px,1fr);align-items:stretch}
  body[data-view="kanban"] .unified-all-stages {height:100%;min-height:0}
}
body[data-view="kanban"] .app-main {background:#fff}
body[data-view="kanban"] .pipeline-filter-strip {border:0;border-radius:0;box-shadow:none;background:#fff;padding-inline:0}
body[data-view="kanban"] .show-closed-toggle {min-height:36px}
body[data-view="kanban"] .show-closed-toggle input[type="checkbox"] {width:16px;height:16px;min-height:0;min-width:0;margin:0;flex:0 0 16px}
body[data-view="kanban"] .unified-pipeline-summary {display:flex;align-items:center;flex-wrap:wrap;gap:6px 16px;min-height:24px;padding:2px 8px;border:0;border-radius:0;background:transparent;box-shadow:none}
body[data-view="kanban"] .unified-pipeline-summary>span,
body[data-view="kanban"] .unified-pipeline-summary .report-currencies>span {padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#65686f;font-size:12px;line-height:18px}
body[data-view="kanban"] .unified-pipeline-summary strong {font-size:12px;color:#21232c}
@media(min-width:701px){
  body[data-view="kanban"] .pipeline-filter-presets button,
  body[data-view="kanban"] .saved-view-tabs button {font-size:12px;font-weight:500;min-height:32px}
  body[data-view="kanban"] .pipeline-filter-presets {gap:6px}
  body[data-view="kanban"] #savedViewAddCondition {border-color:transparent;background:transparent;color:#65686f}
}
.unified-all-stages[class*="stage-count-"]>.stage,
.unified-pipeline-board.unified-all-stages>.unified-post-stage {background:#f5f5f6;border-radius:12px 12px 0 0}
.unified-all-stages>.stage::before {content:none}
.unified-all-stages>.stage .stage-header {background:#f5f5f6;padding:10px 14px 8px;min-height:72px}
.unified-all-stages>.stage .stage-header h3 {font-family:CRMCardInter,Inter,sans-serif;font-size:16px;line-height:24px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}
.unified-all-stages>.stage .stage-header .summary {display:flex;flex-wrap:wrap;align-items:baseline;font-family:CRMCardInter,Inter,sans-serif;font-size:12px;line-height:18px;color:#65686f}
.unified-all-stages>.stage .stage-header .summary>strong,
.unified-all-stages>.stage .stage-header .summary>span {display:inline;white-space:pre-wrap}
.unified-all-stages>.stage .stage-header .summary>small {flex-basis:100%;min-width:0;white-space:normal;overflow-wrap:anywhere}
.unified-all-stages>.stage .stage-header .summary small {font-size:11px;line-height:16px}
.unified-all-stages>.stage .stage-header .summary strong {font-weight:400}
@media(min-width:1100px) {
  .unified-all-stages>.stage .stage-header h3 {font-size:18px;line-height:25px}
  .unified-all-stages>.stage .stage-header .summary {font-size:14px;line-height:20px}
  .unified-all-stages>.stage:not(:last-child) .stage-header::after {content:'';position:absolute;right:-6px;top:0;width:14px;height:100%;background:#fff;clip-path:polygon(0 0,4px 0,100% 50%,4px 100%,0 100%,10px 50%);pointer-events:none}
}
.unified-all-stages .pipeline-card {
  container-type:inline-size;
  font-family:CRMCardInter,Inter,sans-serif;
  font-optical-sizing:none;
  display:grid;
  grid-template-columns:minmax(0,1fr) 24px;
  gap:0;
  height:auto;
  min-height:0;
  padding:0;
  margin:0 0 4px;
  border:0;
  border-radius:6px;
  background:#fff;
  box-shadow:0 0 1px 1px rgb(0 0 0 / 5%),0 1px 2px -2px rgb(0 0 0 / 6%),0 1px 3px rgb(0 0 0 / 7%);
}
.unified-all-stages .pipeline-card[data-status="lost"] {background:#f5f5f6}
.unified-all-stages .pipeline-card-color {display:none}
.unified-all-stages .pipeline-card-top {grid-column:1/-1;padding:7px 8px 0;min-height:0;height:auto}
.unified-all-stages .pipeline-card-top:empty {min-height:0;height:0;padding:0}
.unified-all-stages .pipeline-card-top:has(.post-checklist-card-progress) {display:grid;grid-template-columns:minmax(0,1fr);gap:6px}
.unified-all-stages .post-checklist-card-progress {max-width:100%;font-size:11px;gap:6px}
.unified-all-stages .post-checklist-card-progress progress {width:80px;max-width:70%;height:6px}
.unified-all-stages .pipeline-custom-fields {grid-template-columns:minmax(0,1fr);gap:4px;margin-top:4px}
.unified-all-stages .pipeline-custom-fields>span {padding:0;background:transparent}
.unified-all-stages .pipeline-custom-fields small {font-size:10px;line-height:1.4}
.unified-all-stages .pipeline-custom-fields b {font-size:12px;line-height:1.4;white-space:normal;overflow:visible;overflow-wrap:anywhere;text-overflow:clip}
.unified-all-stages .pipeline-card .pipeline-card-main {
  grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:minmax(0,1fr);
  gap:3px;width:100%;height:auto;min-height:0;padding:8px 9px 0;
  border:0;border-radius:6px;background:transparent;text-align:left;overflow:visible;
}
.unified-all-stages .pipeline-card .pipeline-card-main>strong {
  display:block;min-height:0;margin:0;color:#21232c;
  font-size:16px;font-weight:550;line-height:22px;
  white-space:normal;overflow-wrap:break-word;word-break:normal;
  overflow:visible;-webkit-line-clamp:unset;
}
.unified-all-stages .pipeline-card-context,
.unified-all-stages .pipeline-card-contact {
  display:block;min-width:0;max-width:100%;color:#65686f;
  font-size:13px;line-height:19px;white-space:nowrap;
  overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal;
}
.unified-all-stages .pipeline-card-footer {display:block;margin:3px 0 0;font-size:11px;line-height:1.4}
.pipeline-card-people {display:block;min-width:0;max-width:100%}
/* Wide cards share one context line, narrow cards retain separate readable rows. */
@container (min-width:240px) {
  .unified-all-stages .pipeline-card-people {white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#65686f;font-size:13px;line-height:19px}
  .unified-all-stages .pipeline-card-people>.pipeline-card-context,
  .unified-all-stages .pipeline-card-people>.pipeline-card-contact {display:inline;white-space:inherit;overflow:visible}
  .unified-all-stages .pipeline-card-people>.pipeline-card-contact::before {content:', '}
}
.unified-all-stages .pipeline-card-footer b {color:#65686f;font-size:14px;font-weight:600;line-height:20px}
.pipeline-result {width:max-content;max-width:100%;border:1px solid #c8c9cd;border-radius:8px;padding:0 5px;color:#272830;font-size:11px;line-height:1.25}
.pipeline-card-bottom {grid-column:1/-1;grid-row:3;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;min-width:0;padding:5px 34px 8px 9px}
.pipeline-card-identity {grid-column:1;grid-row:1;display:flex;align-items:center;flex-wrap:wrap;gap:5px;min-width:0}
.unified-all-stages .pipeline-card-identity .pipeline-card-footer {margin:0;min-width:0;overflow-wrap:anywhere}
.pipeline-card-avatar {display:inline-flex;flex:0 0 auto;width:16px;height:16px;border-radius:50%}
.pipeline-card-avatar svg {display:block;width:100%;height:100%}
.pipeline-card-avatar img {display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.user-avatar img {display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.prospecting-monthly-form {display:flex;align-items:end;flex-wrap:wrap;gap:10px}
.prospecting-monthly-form label {min-width:0;max-width:100%}
.prospecting-monthly-rows {list-style:none;padding:0;display:grid;gap:8px}
.prospecting-monthly-rows li {display:flex;justify-content:space-between;gap:12px}
.prospecting-monthly-rows li span {min-width:0;overflow-wrap:anywhere}
.pipeline-card-prospecting {display:block;min-width:0;color:#65686f;font-size:11px;line-height:16px;white-space:normal;overflow-wrap:anywhere}
.prospecting-create {min-width:0;margin:8px 0;border:1px solid #e1e1e4;border-radius:7px;padding:10px;display:grid;gap:8px}
.prospecting-create legend {font-weight:600}
.prospecting-create select {width:100%;max-width:100%}
.profile-photo-preview {display:grid;place-items:center;width:128px;height:128px;margin:12px auto;border-radius:50%;overflow:hidden;background:#edf0f2;color:#65686f}
.profile-photo-preview img {width:100%;height:100%;object-fit:cover}
#profilePhotoEditor input[type="file"] {max-width:100%;width:100%}
#profilePhotoError {color:#a62e2e;min-height:20px}
.unified-all-stages .pipeline-card .card-activity-actions {grid-column:2;grid-row:1;position:static;display:flex;flex-direction:row;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:5px;margin:0;padding:0;min-height:20px}
.unified-all-stages .pipeline-card .cardActivityAction {width:20px;min-width:20px;height:20px;min-height:20px;font-size:10px}
.unified-all-stages .pipeline-card .cardActivityAction:not(.card-activity-inactive) {width:24px;min-width:24px;height:24px;min-height:24px;background:transparent;border-color:transparent}
.pipeline-card .cardActivityAction svg {display:block;width:16px;height:16px}
.pipeline-card .cardActivityAction>span {display:flex;align-items:center;justify-content:center}
.unified-all-stages .pipeline-card>.moveCard {position:static;grid-column:1/-1;grid-row:3;align-self:center;justify-self:end;z-index:1;width:22px;min-width:22px;height:22px;min-height:22px;margin:0 7px 4px 0;padding:0;opacity:0;pointer-events:none}
.unified-all-stages .pipeline-card:hover>.moveCard,
.unified-all-stages .pipeline-card:focus-within>.moveCard {opacity:1;pointer-events:auto}
.unified-all-stages .pipeline-card>.deal-status,
.unified-all-stages .pipeline-card>.post-sale-move-panel {grid-column:1/-1;grid-row:4}
.unified-all-stages .pipeline-card:not(:has(>.moveCard)) .pipeline-card-bottom {grid-column:1/-1;padding-right:9px}
.unified-all-stages .pipeline-card :focus-visible {outline:2px solid #2563eb;outline-offset:2px}
.pipeline-filter-presets .pipeline-quick-sort {display:flex;align-items:center;gap:6px;margin-left:auto;min-width:0;color:#65686f;font-size:12px}
.pipeline-quick-sort select {width:auto;max-width:210px;min-width:0;min-height:32px;color:#176eaa;background:#eff6ff;border:1px solid #d4e5f7;border-radius:6px}
.pipeline-quick-sort>label {display:flex;align-items:center;gap:6px;min-width:0}
.pipeline-quick-sort #pipelineSortDirection {flex:0 0 32px;min-height:32px;padding:4px;color:#0066db;background:#edf4ff;border-color:transparent;font-size:20px}
@media(max-width:700px){.pipeline-quick-sort>label{flex:1}.pipeline-quick-sort #pipelineSortDirection{min-height:44px;flex-basis:44px}}
@media(max-width:700px){
  body[data-view="kanban"] .context-toolbar .kanban-saved-view-control {display:flex;flex:1 1 100%;width:100%;flex-wrap:wrap;align-items:center;gap:6px}
  body[data-view="kanban"] .context-toolbar .kanban-saved-view-control label {display:block;flex:1 1 170px;width:auto;min-width:0}
  body[data-view="kanban"] .context-toolbar .kanban-saved-view-control select {width:100%;max-width:none;min-height:44px}
  body[data-view="kanban"] .context-toolbar .kanban-saved-view-control #saveCurrentKanbanView {flex:0 0 auto;width:auto;min-height:44px}
  .app-shell {padding-bottom:calc(108px + env(safe-area-inset-bottom))}
  .sidebar {height:calc(104px + env(safe-area-inset-bottom));padding:4px 6px calc(4px + env(safe-area-inset-bottom))}
  .sidebar nav {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:46px;gap:4px;overflow:visible;scroll-snap-type:none}
  .sidebar nav :is(button,a) {width:100%;min-width:44px;min-height:44px;height:46px;padding:3px 2px}
  .sidebar nav :is(button,a) span:last-child {overflow-wrap:normal;word-break:normal;white-space:nowrap}
  body[data-view="kanban"] .context-toolbar {flex-wrap:wrap}
  body[data-view="kanban"] .context-toolbar>.pipeline-picker {flex:1 1 100%;width:100%;order:10;margin:0}
  body[data-view="kanban"] .pipeline-picker select {width:100%;min-width:0;min-height:44px}
  body[data-view="kanban"] .context-toolbar .toolbar-global-count {display:none} /* Overall summary retains this count. */
  body[data-view="kanban"] .unified-pipeline-content {gap:8px}
  body[data-view="kanban"] .pipeline-filter-strip.mobile-filters-collapsed {min-height:0;padding-block:0;margin-block:0}
  .mobile-stage-navigation {grid-template-columns:minmax(0,1fr);align-items:center;margin:4px 0}
  .pipeline-filter-presets {flex-wrap:wrap;overflow:visible;white-space:normal}
  .pipeline-filter-presets .pipeline-quick-sort {flex:1 1 100%;margin:4px 0 0}
  .pipeline-quick-sort select {flex:1;max-width:100%;min-height:40px}
}
/* Completed pagination remains accessible without repeating six visual footers. */
.unified-all-stages .stage-progress:not(:has(.stageLoadMore)),
.unified-all-stages .stage-add-disabled {
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip-path:inset(50%);white-space:nowrap;border:0;
}
.unified-all-stages .cards>.empty {
  min-height:0;padding:16px 8px;border:0;background:transparent;
  color:#767980;font-size:12px;text-align:center;
}
/* One board scrollbar, as in the reference: columns must not each reserve a gutter. */
.unified-all-stages .pipeline-card {isolation:isolate}
@media(min-width:701px){
  .unified-all-stages[class*="stage-count-"] {overflow-y:auto;grid-template-rows:minmax(max-content,1fr);align-items:stretch}
  .unified-all-stages[class*="stage-count-"]>.stage {display:block;height:auto;min-height:max-content;overflow:visible}
  .unified-all-stages .stage-header {position:sticky;top:0;flex:0 0 auto}
  .unified-all-stages .cards {flex:1 0 auto;overflow:visible;scrollbar-gutter:auto}
}
/* Preserve readable cards instead of reducing type or hiding contact information. */
@media (min-width:701px) and (max-width:1099px) {
  body[data-view="kanban"] .context-toolbar {display:flex;flex-wrap:wrap;align-items:center}
  body[data-view="kanban"] .context-toolbar>.view-switcher {flex:0 0 auto;width:auto}
  body[data-view="kanban"] .context-toolbar>button {flex:0 0 auto;width:auto;min-width:max-content}
  body[data-view="kanban"] .context-toolbar>.pipeline-picker {flex:1 1 220px;min-width:0}
  .unified-all-stages[class*="stage-count-"] {grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(180px,1fr);overflow-x:auto}
}
@media (max-width:700px) {
  .pipeline-card-bottom {min-height:44px;gap:6px;padding-right:48px}
  .unified-all-stages .pipeline-card {grid-template-columns:minmax(0,1fr) 44px}
  .unified-all-stages .pipeline-card .cardActivityAction {width:36px;min-width:36px;height:36px;min-height:36px}
  .unified-all-stages .pipeline-card>.moveCard {width:36px;min-width:36px;height:36px;min-height:36px;opacity:1;pointer-events:auto}
}
.monthly-target-form{display:grid;gap:10px;min-width:0;margin-top:16px;padding-top:16px;border-top:1px solid #e5e7eb}
.monthly-target-form h4,.monthly-target-form p{margin:0}
.monthly-target-form label{display:grid;gap:6px;min-width:0;overflow-wrap:anywhere}
.monthly-target-form input,.monthly-target-form textarea{box-sizing:border-box;width:100%;max-width:100%;min-width:0}
.monthly-target-form textarea{min-height:80px;resize:vertical}
.monthly-target-form button{max-width:100%;white-space:normal;overflow-wrap:anywhere;min-height:44px}
/* Keep composer rows at their content height inside the scrolling detail.
   An auto grid row can shrink an overflow:hidden composer to its border. */
.deal-workspace-wide .deal-focus { grid-auto-rows: max-content; }
.deal-summary .workspace-section-toggle {display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:4px 0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.deal-summary .workspace-section-toggle::before {content:'⌃';width:16px;text-align:center}
.deal-summary .workspace-section-toggle[aria-expanded="false"]::before {content:'⌄'}
.deal-summary .workspace-section-toggle:focus-visible {outline:2px solid #2563eb;outline-offset:2px}
.deal-summary #dealSummaryFields[hidden] {display:none}
:is(.workspace-history,.workspace-collection) .workspace-section-toggle {display:flex;align-items:center;gap:10px;min-height:44px;padding:4px 0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}
:is(.workspace-history,.workspace-collection) .workspace-section-toggle::before {content:'⌃';width:16px}
:is(.workspace-history,.workspace-collection) .workspace-section-toggle[aria-expanded="false"]::before {content:'⌄'}
:is(.workspace-history,.workspace-collection) .workspace-section-toggle:focus-visible {outline:2px solid #2563eb;outline-offset:2px}
.deal-workspace-wide .workspace-history.is-collapsed {min-height:0}
.workspace-history #dealHistoryFilters[hidden],.workspace-history #dealHistoryEntries[hidden] {display:none}
.workspace-field-filter {display:grid;gap:6px;margin-bottom:12px}
.workspace-field-filter label {font-size:12px;color:#65686f}
.workspace-field-filter input {box-sizing:border-box;width:100%;min-width:0;min-height:44px}
.workspace-field-filter [role="status"] {font-size:12px;color:#65686f;overflow-wrap:anywhere}
.deal-summary dl dt[hidden],.deal-summary dl dd[hidden],.deal-summary .collaboration-detail[hidden] {display:none}
.integration-section>summary {cursor:pointer;min-height:44px;padding:10px 0;font-weight:600}
.integration-section>summary small {font-size:12px;font-weight:400;color:#65686f;margin-left:8px}
.integration-section>summary:focus-visible {outline:2px solid #2563eb;outline-offset:2px}
.deal-owner-avatar {overflow:hidden}
.deal-owner-avatar>img {display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.deal-workspace-wide .workspace-composer .composer-tabs button {display:flex;align-items:center;justify-content:center;gap:8px}
.workspace-composer .composer-tabs button>svg {flex:0 0 18px;width:18px;height:18px}
.deal-stage-trail-wide .dealStageStep {position:relative;border:0;padding-left:18px;overflow:visible}
.deal-stage-trail-wide .dealStageStep:not(:last-child)::after {content:'';position:absolute;right:-6px;top:calc(50% - 6px);width:12px;height:12px;background:inherit;border-top:2px solid #fff;border-right:2px solid #fff;transform:rotate(45deg);z-index:1;pointer-events:none}
.deal-stage-trail-wide .dealStageStep.preceding {background:#27877c;color:#fff}
.deal-stage-trail-wide .dealStageStep.current {background:var(--brand-700);color:#fff}
.deal-stage-trail-wide .dealStageStep:focus-visible {outline:0;box-shadow:inset 0 0 0 3px #2563eb}
.deal-stage-trail-wide .stage-step-index {display:none}
.lead-workspace-wide .deal-workspace-header {display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px}
.lead-workspace-wide .deal-workspace-header>[data-workspace-close] {flex:0 0 44px;width:44px;height:44px;padding:0;align-self:flex-start}
.lead-workspace-wide .deal-workspace-header>div:nth-child(2) {flex:1 1 260px;min-width:0}
.lead-workspace-wide #leadWorkspaceTitle {overflow-wrap:anywhere;line-height:1.3}
.lead-workspace-wide .deal-primary-actions {flex-wrap:wrap;align-items:center;max-width:100%}
.lead-workspace-wide .deal-primary-actions button {min-height:44px;white-space:nowrap;flex:0 0 auto}
.lead-workspace-wide .lead-convert-help {flex:1 0 100%;max-width:320px;font-size:12px;font-weight:400;line-height:1.4}
.lead-workspace-wide .lead-detail-actions {display:flex;flex-wrap:wrap;align-items:center;margin-left:auto}
.lead-workspace-wide .lead-detail-actions button {min-height:44px}
@media(max-width:700px) {
  body[data-view="kanban"] #toolbar #exportDeals {
    grid-column:1/-1;flex:1 0 100%;width:100%;min-width:0;min-height:44px;
    font-size:13px;line-height:1.3;white-space:normal;padding:10px;
  }
}
@media(max-width:700px) {
  .lead-workspace-wide .deal-workspace-header {position:relative;padding:10px;gap:8px}
  .lead-workspace-wide .deal-workspace-header>div:nth-child(2) {flex-basis:calc(100% - 60px)}
  .lead-workspace-wide .deal-primary-actions,.lead-workspace-wide .lead-detail-actions {width:100%;margin-left:0;justify-content:flex-start}
  .lead-workspace-wide .lead-convert-help {max-width:none}
}
