.workspace[data-crm] { grid-template-columns: 78px minmax(0, 1fr); }
[data-crm] .content { padding-top: 26px; }
#crm-panel { color: var(--ink); }
.crm-page-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 16px; }
.crm-heading-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.crm-heading-actions button { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; }
.crm-composer-details { border-top: 1px solid var(--line); }
.crm-composer-details summary { padding: 10px 5px; cursor: pointer; color: var(--quiet); font-size: .86rem; font-weight: 650; }
.crm-composer-details > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 10px; padding: 0 5px 8px; }
.crm-composer-details .crm-secondary { grid-column: 1 / -1; }
#crm-title { font-size: 1.65rem; }
.crm-page-heading p { color: #176047; font-size: .84rem; }
.crm-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.crm-toolbar label { position: relative; min-width: 0; }
.crm-toolbar .crm-search { flex: 1 1 230px; max-width: 350px; }
.crm-filter-status, .crm-filter-heat, .crm-filter-tag, .crm-filter-location, .crm-filter-country { flex: 0 1 150px; }
.crm-filter-heat { flex-basis: 175px; }
.crm-toolbar :is(input, select) { min-height: 36px; padding-block: 6px; font-size: .88rem; }
.crm-toolbar label > .ui-icon { position: absolute; inset-inline-start: 10px; top: 50%; translate: 0 -50%; pointer-events: none; color: var(--quiet); }
.crm-toolbar label > .ui-icon + input { padding-inline-start: 33px; }
#crm-panel .crm-icon-button {
  display: inline-grid; place-items: center; flex: none; width: 36px; min-height: 36px;
  padding: 0; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--quiet);
}
#crm-panel .crm-icon-button:hover:not([aria-disabled="true"], :disabled) { background: var(--selection); color: var(--brand); }
#crm-panel .crm-website-link {
  display: inline-flex; align-items: center; gap: 6px; width: auto; padding-inline: 8px;
  color: var(--ink); font-size: .82rem; font-weight: 650; text-decoration: none; white-space: nowrap;
}
.crm-icon-button[aria-disabled="true"] { opacity: .48; cursor: default; }
.crm-results { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
#crm-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: .88rem; }
#crm-table th, #crm-table td { padding: 8px 14px; text-align: start; }
#crm-table thead th { height: 36px; background: var(--sidebar); color: var(--quiet); font-size: .8rem; font-weight: 650; }
#crm-table thead th:first-child { width: 22%; border-start-start-radius: 9px; }
#crm-table thead th:nth-child(2) { width: 18%; }
#crm-table thead th:nth-child(3) { width: 124px; }
#crm-table thead th:nth-child(4) { width: 12%; }
#crm-table thead th:nth-child(5) { width: 124px; }
#crm-table thead th:last-child { width: 108px; border-start-end-radius: 9px; }
#crm-table tbody tr { border-top: 1px solid var(--line); cursor: pointer; }
#crm-table tbody tr:hover, #crm-table tbody tr:focus-within { background: var(--sidebar); }
#crm-table tbody tr:last-child > :first-child { border-end-start-radius: 9px; }
#crm-table tbody tr:last-child > :last-child { border-end-end-radius: 9px; }
#crm-table .crm-lead-name { padding-block: 0; }
#crm-table .crm-row-button {
  min-height: 45px; display: block; width: 100%; border: 0; padding: 5px 0;
  background: transparent; color: var(--brand); text-align: start; font-weight: 680;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.crm-ellipsis, .crm-row-button .crm-secondary { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crm-row-button:focus-visible { outline-offset: 1px; }
.crm-secondary { color: var(--quiet); font-size: .8rem; font-weight: 450; }
.crm-location-cell { overflow-wrap: anywhere; }
.crm-location-compact { display: none; }
.crm-date { color: var(--quiet); font-size: .8rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.crm-status {
  --badge-fg: #445369; --badge-bg: #edf1f6;
  display: inline-flex; align-items: center; gap: 5px; min-height: 22px; padding: 1px 7px;
  border-radius: 5px; white-space: nowrap; color: var(--badge-fg); background: var(--badge-bg); font-size: .76rem; font-weight: 650;
}
.crm-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.crm-status[data-status="qualified"] { --badge-fg: #294e9c; --badge-bg: #e7efff; }
.crm-status[data-status="contacted"] { --badge-fg: #795017; --badge-bg: #fff3d8; }
.crm-status[data-status="won"] { --badge-fg: #176047; --badge-bg: #e4f5ec; }
.crm-status[data-status="discarded"] { --badge-fg: #8b3c4b; --badge-bg: #f9e9ed; }
.crm-chips { display: flex; align-items: center; gap: 5px; min-width: 0; }
.crm-chip { min-width: 0; max-width: 100%; padding: 2px 6px; border: 1px solid var(--line); border-radius: 5px; color: var(--quiet); font-size: .77rem; }
.crm-tag-count { flex-shrink: 0; }
.crm-list-footer { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--quiet); font-size: .8rem; font-variant-numeric: tabular-nums; }
.crm-pagination { display: flex; gap: 5px; }
.crm-list-state { display: grid; justify-items: center; align-content: center; min-height: 226px; gap: 8px; padding: 16px; text-align: center; }
.crm-list-state > .ui-icon { width: 24px; height: 24px; color: var(--quiet); }
.crm-list-state p { color: var(--quiet); font-size: .88rem; overflow-wrap: anywhere; }
.crm-list-state button { margin-top: 4px; }
.crm-skeleton { width: min(110px, 50%); height: 12px; border-radius: 4px; background: var(--line); box-shadow: 0 -22px var(--line), 0 22px var(--line); }

body:has(.crm-sheet[open]) { overflow: hidden; }
.crm-sheet {
  inset: 0 0 0 auto; margin: 0; width: min(100%, 510px); max-width: none; height: 100dvh;
  max-height: none; border: 0; border-radius: 0; box-shadow: -12px 0 38px rgb(0 0 0 / 15%);
}
.crm-sheet::backdrop { background: rgb(24 35 60 / 45%); }
.crm-sheet form { height: 100%; grid-template: auto minmax(0, 1fr) auto / minmax(0, 1fr); padding: 0; gap: 0; }
.crm-sheet-header, .crm-sheet-footer { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 16px 20px; }
.crm-sheet-header { align-items: center; background: var(--sidebar); border-bottom: 1px solid var(--line); }
.crm-sheet-heading { min-width: 0; overflow-wrap: anywhere; }
.crm-sheet-heading h2 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 1.28rem; letter-spacing: -.02em; line-height: 1.25; }
.crm-sheet-heading p { margin-top: 3px; color: var(--quiet); font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crm-sheet-actions { display: flex; gap: 5px; }
.crm-sheet-body { overflow-y: auto; overscroll-behavior: contain; padding: 16px 20px; }
.crm-sheet-section { display: grid; gap: 10px; min-width: 0; }
.crm-sheet-section + .crm-sheet-section { margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--line); }
.crm-sheet-section h3 { margin: 0; font-size: .92rem; }
.crm-sheet-section :is(input, select) { min-height: 36px; padding-block: 6px; font-size: .88rem; }
.crm-sheet-section fieldset { display: grid; gap: 7px; min-width: 0; margin: 0; border: 0; padding: 0; }
.crm-sheet-section legend { margin-bottom: 4px; padding: 0; font-size: .87rem; font-weight: 650; }
.crm-lead-main-fields, .crm-lead-person-fields, .crm-custom-fields { display: grid; gap: 10px; }
.crm-lead-main-fields { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) minmax(0, 2fr); }
.crm-lead-person-fields, .crm-custom-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.crm-lead-person-fields > :first-child { grid-column: 1 / -1; }
.crm-technology {
  display: grid; gap: 8px; margin-block: 4px; padding-block: 10px;
  border-block: 1px solid var(--line);
}
.crm-technology-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; }
.crm-technology-heading button { font-size: .83rem; }
.crm-technology-heading button[aria-disabled="true"] { opacity: .65; cursor: default; }
.crm-technology-toggle { display: flex; align-items: center; gap: 10px; width: fit-content; cursor: pointer; }
.crm-technology-toggle input {
  appearance: none; position: relative; order: -1; flex: none; width: 34px; min-height: 20px;
  height: 20px; margin: 0; padding: 0; border: 1px solid var(--quiet); border-radius: 99px; cursor: inherit;
}
.crm-technology-toggle input::before {
  content: ""; position: absolute; inset: 3px auto 3px 3px; aspect-ratio: 1; border-radius: 50%; background: var(--quiet);
}
.crm-technology-toggle input:checked { background: var(--brand); border-color: var(--brand); }
.crm-technology-toggle input:checked::before { inset-inline: auto 3px; background: var(--surface); }
.crm-technology-list { flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.crm-technology-list .crm-chip { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 5px; overflow-wrap: anywhere; }
.crm-tech-version { color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; }
@media (forced-colors: active) {
  .crm-technology-toggle input { appearance: auto; width: auto; }
  .crm-technology-toggle input::before { content: none; }
}
.crm-disclosure > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 40px;
  padding: 8px 10px; list-style: none; border-radius: 7px; background: var(--sidebar);
  cursor: pointer; font-size: .87rem; font-weight: 650;
}
.crm-disclosure > summary::-webkit-details-marker { display: none; }
.crm-disclosure > summary:hover { background: var(--canvas); }
.crm-disclosure > summary > .ui-icon { color: var(--quiet); flex: none; }
.crm-disclosure[open] > summary > .ui-icon { rotate: 90deg; }
.crm-disclosure-content { display: grid; gap: 10px; padding-top: 10px; }
.crm-preview-label { display: inline-flex; align-items: center; gap: 8px; }
.crm-preview-content { display: grid; gap: 8px; margin-top: 10px; }
.crm-preview-content > a { justify-self: start; color: var(--brand); font-size: .88rem; }
.crm-preview-content iframe {
  display: block; width: 100%; height: min(52dvh, 480px); border: 1px solid var(--line); border-radius: 8px; background: white;
}
.crm-preview-blocked { margin: 0; color: var(--ink); font-size: .88rem; }
.crm-preview-caption { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.crm-preview-screenshot { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; background: white; }
.crm-sheet:has(.crm-website-preview[open]) { width: min(760px, 100%); }
.crm-image-heading, .crm-image-heading button, .crm-image-actions { display: flex; align-items: center; gap: 6px; }
.crm-image-heading, .crm-image-actions { justify-content: space-between; }
.crm-image-heading button { font-size: .83rem; }
.crm-image-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(120px, 100%), 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.crm-image-list li { display: grid; gap: 4px; min-width: 0; }
.crm-image-actions > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .82rem; }
.crm-image-actions button { flex: none; }
.crm-image-preview {
  display: grid; place-items: center; min-width: 0; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: 8px;
  overflow: hidden; overflow-wrap: anywhere; font-size: .8rem; text-align: center;
}
.crm-image-preview img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.crm-sheet-section .form-error { white-space: pre-line; overflow-wrap: anywhere; }
.crm-edit-tags { flex-wrap: wrap; }
.crm-edit-tags .crm-chip { display: flex; gap: 4px; align-items: center; padding: 0 0 0 7px; overflow-wrap: anywhere; }
#crm-panel .crm-edit-tags .crm-icon-button { width: 26px; min-height: 26px; border: 0; background: transparent; }
.crm-edit-tags .crm-icon-button .ui-icon { width: 13px; height: 13px; }
.crm-tag-entry { display: flex; gap: 6px; }
.crm-tag-entry input { min-width: 0; }
.crm-custom-fields label { overflow-wrap: anywhere; }
.crm-contact { display: grid; gap: 5px; overflow-wrap: anywhere; }
.crm-contact + .crm-contact { padding-top: 10px; border-top: 1px solid var(--line); }
.crm-contact-link {
  display: inline-flex; align-items: center; gap: 6px; width: fit-content; max-width: 100%; min-width: 0;
  color: var(--brand); font-size: .86rem; text-underline-offset: 2px; overflow-wrap: anywhere;
}
.crm-contact-link:not([href]) { color: inherit; }
.crm-imprint { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 6px 10px; margin: 0; font-size: .86rem; overflow-wrap: anywhere; }
.crm-imprint dt { color: var(--quiet); }
.crm-imprint dd { margin: 0; white-space: pre-wrap; }
.crm-sheet-footer { align-items: center; justify-content: flex-end; background: var(--sidebar); border-top: 1px solid var(--line); }
.crm-sheet-footer p { flex: 1; font-size: .84rem; }

@media (min-width: 661px) and (min-height: 600px) {
  .crm-results { max-height: calc(100dvh - 248px); overflow: auto; }
  #crm-table thead th { position: sticky; top: 0; z-index: 1; box-shadow: 0 1px var(--line); }
}
/* At phone widths the location moves underneath the lead name. */
@media (max-width: 1180px) {
  #crm-table :is(th, td):nth-child(7) { display: none; }
}
@media (max-width: 1040px) {
  #crm-table :is(th, td):nth-child(8) { display: none; }
  #crm-table thead th:nth-child(6) { border-start-end-radius: 9px; }
}
@media (max-width: 880px) {
  #crm-table :is(th, td):nth-child(6) { display: none; }
  #crm-table thead th:first-child { width: 28%; }
  #crm-table thead th:nth-child(2) { width: 23%; }
  #crm-table thead th:nth-child(4) { width: auto; }
  #crm-table thead th:nth-child(5) { border-start-end-radius: 9px; }
}
@media (max-width: 660px) {
  .workspace[data-crm] { grid-template-columns: minmax(0, 1fr); }
  [data-crm] .content { padding-top: 18px; }
  .crm-toolbar .crm-search { flex-basis: 100%; max-width: none; }
  .crm-filter-status, .crm-filter-heat, .crm-filter-location, .crm-filter-country { flex: 1 1 40%; }
  .crm-filter-tag { flex: 1 1 100%; }
  #crm-table th, #crm-table td { padding-inline: 10px; }
}
@media (max-width: 600px) {
  #crm-table :is(th, td):nth-child(5) { display: none; }
  #crm-table thead th:first-child { width: 30%; }
  #crm-table thead th:nth-child(4) { border-start-end-radius: 9px; }
}
@media (max-width: 480px) {
  #crm-table thead th:first-child { width: auto; }
  #crm-table :is(th, td):is(:nth-child(2), :nth-child(4)) { display: none; }
  #crm-table thead th:nth-child(3) { width: 116px; border-start-end-radius: 9px; }
  .crm-location-compact { display: block; margin-inline-start: 26px; padding-block-end: 7px; overflow-wrap: anywhere; }
}
@media (max-width: 400px) {
  .crm-lead-main-fields, .crm-lead-person-fields, .crm-custom-fields { grid-template-columns: minmax(0, 1fr); }
}
@media (pointer: coarse) {
  .crm-toolbar :is(input, select), .crm-sheet-section :is(input, select), .crm-disclosure > summary,
  .crm-image-heading button, #crm-panel .crm-icon-button { min-height: 44px; }
  #crm-panel .crm-icon-button { min-width: 44px; }
  #crm-panel .crm-edit-tags .crm-icon-button { min-width: 36px; min-height: 36px; }
}

/* Markdown description editor */
/* Base rules from prosemirror-view/style/prosemirror.css (MIT) */
.ProseMirror { position: relative; word-wrap: break-word; white-space: pre-wrap; white-space: break-spaces; font-variant-ligatures: none; font-feature-settings: "liga" 0; }
.ProseMirror pre { white-space: pre-wrap; }
.ProseMirror li { position: relative; }
.ProseMirror-hideselection *::selection { background: transparent; }
.ProseMirror-hideselection { caret-color: transparent; }
.ProseMirror [draggable][contenteditable=false] { user-select: text; }
li.ProseMirror-selectednode { outline: none; }
img.ProseMirror-separator { display: inline !important; border: none !important; margin: 0 !important; }
.md-field { display: grid; gap: 5px; min-width: 0; }
.md-caption { font-size: .87rem; font-weight: 650; }
.md-field > textarea { min-height: 180px; line-height: 1.5; }
.md-editor {
  display: grid; min-width: 0; border: 1px solid #a9bad0; border-radius: 7px; background: var(--surface);
}
.md-editor:focus-within { border-color: var(--focus); box-shadow: 0 0 0 1px var(--focus); }
.md-toolbar {
  display: flex; flex-wrap: wrap; gap: 2px; padding: 4px; border-bottom: 1px solid var(--line);
  background: var(--sidebar); border-radius: 7px 7px 0 0;
}
.md-toolbar .md-tool {
  display: inline-grid; place-items: center; width: 32px; min-height: 32px; padding: 0;
  border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--quiet);
}
.md-toolbar .md-tool:hover { background: var(--selection); color: var(--brand); }
.md-toolbar .md-tool[aria-pressed="true"] { background: var(--selection); border-color: #c3d0f2; color: var(--brand); }
.md-toolbar .md-tool:nth-child(2), .md-toolbar .md-tool:nth-child(3), .md-toolbar .md-tool:nth-child(6) { margin-inline-end: 6px; }
.md-link { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-bottom: 1px solid var(--line); }
.md-link input { flex: 1 1 200px; min-height: 34px; padding-block: 5px; font-size: .88rem; }
.md-link button { min-height: 34px; padding-block: 4px; font-size: .83rem; }
.md-surface { min-width: 0; }
.md-content {
  min-height: 180px; max-height: min(60dvh, 560px); overflow-y: auto; padding: 8px 12px;
  color: var(--ink); font-size: .92rem; font-weight: 450; line-height: 1.55;
  overflow-wrap: anywhere; outline: none;
}
.editor-fields .md-content p, .md-content p { margin: 0 0 .6em; color: var(--ink); white-space: inherit; overflow-wrap: inherit; }
.md-content > :last-child { margin-bottom: 0; }
.md-content h1, .md-content h2, .md-content h3, .md-content h4, .md-content h5, .md-content h6 {
  margin: .7em 0 .35em; font-size: 1.02rem; line-height: 1.35;
}
.md-content h1 { font-size: 1.15rem; }
.md-content > :first-child { margin-top: 0; }
.md-content ul, .md-content ol { margin: 0 0 .6em; padding-inline-start: 1.4em; }
.md-content li > p { margin-bottom: .2em; }
.md-content blockquote { margin: 0 0 .6em; padding-inline-start: 10px; border-inline-start: 3px solid var(--line); color: var(--quiet); }
.md-content blockquote p { color: inherit; }
.md-content code { padding: 1px 4px; border-radius: 4px; background: var(--canvas); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86em; }
.md-content pre { margin: 0 0 .6em; padding: 8px 10px; border-radius: 6px; background: var(--canvas); overflow-x: auto; }
.md-content pre code { padding: 0; background: none; }
.md-content a { color: var(--brand); text-decoration: underline; }
.md-content hr { border: 0; border-top: 1px solid var(--line); margin: .8em 0; }
.md-content img { max-width: 100%; }
.md-content .md-empty::before { content: attr(data-placeholder); float: left; height: 0; color: var(--quiet); pointer-events: none; }
.md-content .ProseMirror-selectednode { outline: 2px solid var(--focus); }
.editor-composer .editor-fields .crm-lead-description .md-caption {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.editor-composer .editor-fields .crm-lead-description .md-content { min-height: clamp(160px, 32dvh, 320px); font-size: 1rem; }
.editor-composer .editor-fields .crm-lead-description > textarea { min-height: clamp(160px, 32dvh, 320px); }
@media (max-width: 660px) {
  .md-toolbar .md-tool { width: 40px; min-height: 40px; }
}

/* Lead heat uses the board's priority icons with its own colour scale. */
.crm-heat-icon { width: 16px; height: 16px; color: var(--quiet); }
#crm-table .crm-heat-icon { width: 18px; height: 18px; }
.crm-heat-icon[data-heat="cold"] { color: #2563b8; }
.crm-heat-icon[data-heat="lukewarm"] { color: #8f6200; }
.crm-heat-icon[data-heat="warm"] { color: #c2410c; }
.crm-heat-icon[data-heat="hot"] { color: #b42318; }
.crm-heat-icon[data-heat="none"] { opacity: .55; }
.crm-lead-line { display: flex; align-items: center; gap: 8px; min-width: 0; }
#crm-table .crm-lead-line .crm-row-button { flex: 1; min-width: 0; width: auto; }
.crm-heat-select { position: relative; min-width: 0; }
.crm-heat-select > .crm-heat-icon { position: absolute; inset-inline-start: 10px; top: 50%; translate: 0 -50%; pointer-events: none; }
.crm-heat-select > select { padding-inline-start: 32px; }
.composer-choice > .crm-heat-icon { align-self: center; }
.crm-cms-cell, .crm-preview-cell { min-width: 0; }
.crm-preview-badge {
  display: inline-flex; align-items: center; gap: 5px; min-height: 22px; padding: 1px 7px; border-radius: 5px;
  color: #5b3e9e; background: #f1ecfd; font-size: .76rem; font-weight: 650; white-space: nowrap;
}
.crm-preview-badge .ui-icon { width: 13px; height: 13px; }
@media (min-width: 401px) and (max-width: 560px) {
  .crm-lead-main-fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .crm-lead-main-fields > :first-child { grid-column: 1 / -1; }
}

.crm-offer-editor, .crm-offer-results { display: grid; gap: 10px; }
.crm-offer-editor > button { justify-self: start; }
.crm-offer-results:empty { display: none; }
.crm-offer-results { border-top: 1px solid var(--line); padding-top: 10px; }
.crm-offer-grid, .crm-offer-pair, .crm-offer-link { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; align-items: start; }
.crm-offer-link { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.crm-offer-editor label { display: grid; gap: 4px; min-width: 0; font-size: .84rem; }
.crm-offer-editor textarea { min-width: 0; width: 100%; resize: vertical; font-size: .88rem; }
.crm-offer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 10px; }
.crm-offer-actions a { font-size: .88rem; }
@media (max-width: 730px) {
  .crm-offer-grid { grid-template-columns: 1fr; }
}

.crm-offer-refresh { justify-self: start; }
