/* Controlled QA flow repairs — Leads, Customers, Calendars, and the
   Home Repair Painting container. This file intentionally does not alter
   Painting estimator fields, pricing, room data, or calculations. */

@media (min-width: 761px) {
  .premium-app .lead-kanban-wrap {
    height: clamp(470px, calc(100dvh - 320px), 700px) !important;
    min-height: 470px !important;
    max-height: 700px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    overscroll-behavior-x: contain !important;
    overscroll-behavior-y: contain !important;
  }

  .premium-app .lead-kanban {
    height: 100% !important;
    min-height: 0 !important;
    align-items: stretch !important;
  }

  .premium-app .lead-column {
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }

  .premium-app .lead-column-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior-y: contain !important;
    touch-action: pan-y !important;
  }
}

.premium-app.customer-reference-shell .customer-main-column-v7 {
  grid-template-rows: auto auto auto auto minmax(0, 1fr) !important;
  align-content: start !important;
  row-gap: 10px !important;
}

.premium-app.customer-reference-shell .customer-main-column-v7 > .core-ai-inline,
.premium-app.customer-reference-shell .customer-action-row-v7,
.premium-app.customer-reference-shell .customer-tabs-v6 {
  position: relative !important;
  inset: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
}

.premium-app.customer-reference-shell .customer-tabs-v6 {
  height: auto !important;
  min-height: 44px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
}

.painting-module-shell .painting-back-link {
  width: max-content !important;
  min-width: 0 !important;
  min-height: 30px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  margin: 0 0 4px !important;
  padding: 5px 9px !important;
  border: 1px solid #40566a !important;
  border-radius: 7px !important;
  background: #07131e !important;
  color: #ff9b45 !important;
  box-shadow: none !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

.painting-module-shell .painting-back-link:hover,
.painting-module-shell .painting-back-link:focus-visible {
  border-color: #ff7a12 !important;
  outline: 0 !important;
  color: #ffc08a !important;
}

.painting-module-shell .painting-back-link span {
  color: inherit !important;
  font-size: inherit !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

@media (min-width: 1321px) {
  html:has(.painting-module-shell),
  body:has(.painting-module-shell),
  #app:has(.painting-module-shell),
  .app.premium-app:has(.painting-module-shell) {
    height: auto !important;
    min-height: 100% !important;
    overflow: visible !important;
  }

  .premium-app:has(.painting-module-shell) > main {
    height: auto !important;
    min-height: 100dvh !important;
    overflow: visible !important;
  }

  .premium-app:has(.painting-module-shell) > main > section.content {
    height: auto !important;
    min-height: calc(100dvh - 70px) !important;
    overflow: visible !important;
  }

  .proposal-section-shell:has(.painting-module-shell),
  .proposal-section-shell:has(.painting-module-shell) > .proposal-page.project-builder-page,
  .proposal-section-shell:has(.painting-module-shell) .pe-layout,
  .proposal-section-shell:has(.painting-module-shell) .pe-main,
  .proposal-section-shell:has(.painting-module-shell) .painting-project-builder,
  .proposal-section-shell:has(.painting-module-shell) .painting-module-builder,
  .proposal-section-shell:has(.painting-module-shell) .painting-module-shell,
  .proposal-section-shell:has(.painting-module-shell) .painting-pricing-workspace {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .proposal-section-shell:has(.painting-module-shell) > .proposal-page.project-builder-page {
    display: block !important;
  }

  .proposal-section-shell:has(.painting-module-shell) .painting-module-shell {
    display: grid !important;
    grid-template-rows: auto auto auto !important;
  }

  .proposal-section-shell:has(.painting-module-shell) .painting-pricing-workspace {
    align-items: start !important;
  }

  .proposal-section-shell:has(.painting-module-shell) .painting-pricing-workspace > .paint-center,
  .proposal-section-shell:has(.painting-module-shell) .painting-reference-rooms,
  .proposal-section-shell:has(.painting-module-shell) .painting-reference-summary {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .proposal-section-shell:has(.painting-module-shell) .painting-reference-rooms,
  .proposal-section-shell:has(.painting-module-shell) .painting-reference-summary {
    position: sticky !important;
    top: 10px !important;
    align-self: start !important;
  }

  .home-repair-painting-embed:has(.painting-module-shell),
  .home-repair-painting-embed:has(.painting-module-shell) .proposal-page,
  .home-repair-painting-embed:has(.painting-module-shell) .pe-layout,
  .home-repair-painting-embed:has(.painting-module-shell) .pe-main,
  .home-repair-painting-embed:has(.painting-module-shell) .painting-project-builder,
  .home-repair-painting-embed:has(.painting-module-shell) .painting-module-builder,
  .home-repair-painting-embed:has(.painting-module-shell) .painting-module-shell,
  .home-repair-painting-embed:has(.painting-module-shell) .painting-pricing-workspace {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .home-repair-painting-embed:has(.painting-module-shell) .proposal-page {
    display: block !important;
  }

  .home-repair-painting-embed:has(.painting-module-shell) .painting-module-shell {
    display: grid !important;
    grid-template-rows: auto auto auto !important;
  }

  .home-repair-painting-embed:has(.painting-module-shell) .painting-pricing-workspace {
    align-items: start !important;
  }

  .home-repair-painting-embed:has(.painting-module-shell) .painting-pricing-workspace > .paint-center,
  .home-repair-painting-embed:has(.painting-module-shell) .painting-reference-rooms,
  .home-repair-painting-embed:has(.painting-module-shell) .painting-reference-summary {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .home-repair-painting-embed:has(.painting-module-shell) .painting-reference-rooms,
  .home-repair-painting-embed:has(.painting-module-shell) .painting-reference-summary {
    position: sticky !important;
    top: 10px !important;
    align-self: start !important;
  }
}

/* Painting zero-room repair 20260723qa629.
   The approved Add Room form is a compact tool panel. When it is the only
   item below the estimator tabs, keep its grid row content-sized so the
   surrounding workspace cannot stretch it into a full-page black panel. */
.estimate-service-module .painting-pricing-workspace > .paint-center,
.proposal-section-shell:has(.painting-module-shell) .painting-pricing-workspace > .paint-center,
.home-repair-painting-embed:has(.painting-module-shell) .painting-pricing-workspace > .paint-center {
  align-content: start !important;
  grid-auto-rows: max-content !important;
}

.painting-module-shell .painting-room-add-form {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  align-self: start !important;
  align-content: start !important;
  grid-auto-rows: max-content !important;
  overflow: visible !important;
}

.ironflow-production-calendar-page .job-month-cell > .calendar-day-weather-strip {
  margin: 3px 5px 1px !important;
}

/* Rule-based follow-up templates: free to prepare, human-approved before sending. */
.template-automation-safety {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 16px;
  padding: 14px 16px;
  border: 1px solid #20df82;
  border-radius: 10px;
  background: rgba(10, 68, 48, .2);
  color: #e9fff4;
}
.template-automation-safety > svg {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  color: #20df82;
}
.template-automation-safety strong,
.template-automation-safety span {
  display: block;
}
.template-automation-safety strong {
  margin-bottom: 3px;
  font-size: 16px;
}
.template-automation-safety span {
  color: #bbd4c8;
  font-size: 13px;
  line-height: 1.45;
}
.drip-step.is-paused {
  opacity: .66;
  border-style: dashed !important;
}
.drip-step .no-ai-tag {
  border: 1px solid #20df82;
  border-radius: 999px;
  padding: 3px 8px;
  color: #62f5aa;
  font-size: 11px;
  font-weight: 800;
}
.drip-template-preview,
.drip-template-editor {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 2px;
  padding: 14px;
  border: 1px solid #ff7a00;
  border-radius: 10px;
  background: #08131d;
}
.drip-template-preview > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.drip-template-preview span {
  color: #ff9a3c;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.drip-template-preview strong {
  color: #fff;
  font-size: 13px;
}
.drip-template-preview p {
  margin: 0 0 10px !important;
  color: #f2f6fa !important;
  font-size: 15px;
  line-height: 1.55;
  white-space: pre-wrap;
}
.drip-template-preview small,
.drip-template-editor label small,
.drip-form label small {
  display: block;
  margin-top: 7px;
  color: #9fb1c1;
  line-height: 1.4;
}
.drip-template-editor textarea {
  min-height: 130px;
}
.drip-template-editor .button-row {
  justify-content: flex-end;
  margin-top: 12px;
}
@media (max-width: 720px) {
  .template-automation-safety {
    align-items: flex-start;
    margin: 12px;
  }
  .drip-template-preview > div {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Use the main page scrollbar for invoices and the appointment calendar. */
@media (min-width: 1181px) {
  .premium-app .invoice-reference-workspace {
    height: auto !important;
    min-height: 520px !important;
    overflow: visible !important;
    align-items: start !important;
  }
  .premium-app .invoice-reference-ledger {
    height: auto !important;
    min-height: 520px !important;
    grid-template-rows: auto auto auto auto !important;
    overflow: visible !important;
  }
  .premium-app .invoice-reference-list {
    height: auto !important;
    min-height: 360px !important;
    max-height: none !important;
    overflow: visible !important;
    overscroll-behavior: auto !important;
  }
  .premium-app .invoice-reference-rail {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    overscroll-behavior: auto !important;
  }
}

.premium-app .calendar-shell,
.premium-app .calendar-shell.calendar-mode-month,
.premium-app .calendar-shell.calendar-mode-week,
.premium-app .calendar-shell.calendar-mode-day,
.premium-app .calendar-shell.calendar-mode-list,
.premium-app .calendar-shell.calendar-mode-route,
.premium-app .calendar-shell.calendar-mode-map,
.premium-app .calendar-shell.calendar-mode-crew {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  align-items: start !important;
}
.premium-app .calendar-shell .calendar-board-panel,
.premium-app .calendar-shell .appointment-detail {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  align-self: start !important;
}
.premium-app .calendar-shell .calendar-board-panel > .body {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}
.premium-app .calendar-shell.calendar-mode-month .month-calendar-grid {
  height: auto !important;
  min-height: 0 !important;
  grid-template-rows: 34px repeat(6, minmax(112px, auto)) !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
}
.premium-app .calendar-shell.calendar-mode-month .month-day {
  min-height: 112px !important;
  overflow: visible !important;
}
.premium-app .calendar-shell.calendar-mode-month .month-events,
.premium-app .calendar-shell.calendar-mode-month .request-queue-body,
.premium-app .calendar-shell.calendar-mode-month .compact-inspector-body {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

.premium-app:has(.ironflow-calendar-page),
.premium-app:has(.ironflow-calendar-page) > main {
  height: auto !important;
  min-height: 100vh !important;
  overflow: visible !important;
}
.premium-app:has(.ironflow-calendar-page) > main > .content {
  height: auto !important;
  min-height: calc(100vh - 62px) !important;
  max-height: none !important;
  overflow: visible !important;
  overscroll-behavior: auto !important;
}
.ironflow-calendar-page,
.ironflow-calendar-page .calendar-reference-layout,
.ironflow-calendar-page .calendar-month-panel,
.ironflow-calendar-page .calendar-right-rail {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  align-self: start !important;
}
.ironflow-calendar-page .calendar-month-panel > .body {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
}
.ironflow-calendar-page .month-calendar-grid {
  height: auto !important;
  min-height: 868px !important;
}
.ironflow-calendar-page .calendar-right-rail > .panel,
.ironflow-calendar-page .calendar-right-rail > .panel:last-child {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}

/* Let a wheel or swipe continue to the page when a dashboard list reaches
   its own top or bottom. This removes the "mouse must be in one spot" trap. */
.dashboard-v1 .dashboard-new-leads-panel .dashboard-list-body,
.dashboard-v1 .dashboard-schedule-panel .dashboard-list-body,
.dashboard-v1 .dashboard-attention-panel .dashboard-list-body,
.dashboard-v1 .dashboard-recent-panel .dashboard-list-body,
.dashboard-v1 .dashboard-automation-watch-panel .dashboard-list-body {
  overscroll-behavior-y: auto !important;
}

/* Whole Business Engine scrolling rule:
   the active page can be scrolled from any main-workspace surface while the
   browser, shared content, and navigation scrollbars remain visually quiet. */
html,
body,
.premium-app > main > section.content,
.premium-app .sidebar-scroll {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar,
.premium-app > main > section.content::-webkit-scrollbar,
.premium-app .sidebar-scroll::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
.premium-app > main > section.content {
  overscroll-behavior-y: auto !important;
}
.premium-app:has(.ironflow-calendar-page) .ironflow-calendar-page,
.premium-app:has(.ironflow-calendar-page) .calendar-shell,
.premium-app:has(.ironflow-calendar-page) .calendar-reference-layout,
.premium-app:has(.ironflow-calendar-page) .calendar-board-panel,
.premium-app:has(.ironflow-calendar-page) .calendar-right-rail,
.premium-app:has(.ironflow-calendar-page) .appointment-detail {
  touch-action: pan-y;
  overscroll-behavior-y: auto !important;
}

/* Calendar callback queue: keep labels readable without bubbles around words. */
.premium-app .request-queue-panel .request-card-head .lead-age-badge,
.premium-app .request-queue-panel .request-meta span {
  min-width: 0 !important;
  height: auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  line-height: 1.35 !important;
}
.premium-app .request-queue-panel .request-card-head .lead-age-badge {
  font-size: 12px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}
.premium-app .request-queue-panel .request-meta {
  gap: 4px 10px !important;
}
.premium-app .request-queue-panel .request-meta span {
  position: relative !important;
  color: #b9c8d6 !important;
  font-size: 12px !important;
}
.premium-app .request-queue-panel .request-meta span + span::before {
  content: "•";
  position: static;
  margin-right: 10px;
  color: #f58216;
}

/* Call Back Queue: large round identities, bright actions, and contact hover details. */
.premium-app .request-queue-panel .request-meta span + span::before {
  content: "\2022" !important;
}
.premium-app .calendar-shell.calendar-mode-list {
  grid-template-columns: minmax(0, 1fr) minmax(580px, 650px) !important;
}
.premium-app .calendar-shell.calendar-mode-list .request-queue-panel {
  max-height: none !important;
  overflow: visible !important;
}
.premium-app .request-queue-panel { container-type: inline-size; }
.premium-app .request-queue-panel > .head {
  padding: 20px 22px !important;
}
.premium-app .request-queue-title {
  display: flex;
  align-items: center;
  gap: 15px;
}
.premium-app .request-queue-title-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border: 2px solid #ff7a00;
  border-radius: 50%;
  color: #ff7a00;
  background: #0b1118;
  box-shadow: none;
}
.premium-app .request-queue-title-icon svg {
  width: 27px !important;
  height: 27px !important;
}
.premium-app .request-queue-title .eyebrow {
  margin: 0 0 2px !important;
}
.premium-app .request-queue-title h2 {
  margin: 0 !important;
  font-size: 28px !important;
  line-height: 1.05 !important;
}
.premium-app .request-queue-title > div > span {
  display: block;
  margin-top: 5px;
  color: #aeb9c7;
  font-size: 14px;
}
.premium-app .request-queue-panel .request-help {
  display: none !important;
}
.premium-app .request-queue-panel .request-queue-body {
  gap: 14px !important;
  padding: 16px !important;
  overflow: visible !important;
}
.premium-app .request-queue-panel .request-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 210px !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 122px !important;
  padding: 18px !important;
  border: 1px solid #314255 !important;
  border-left: 5px solid var(--queue-tone, #ff7a00) !important;
  border-radius: 12px !important;
  background:
    radial-gradient(circle at 8% 50%, color-mix(in srgb, var(--queue-tone, #ff7a00) 10%, transparent), transparent 32%),
    linear-gradient(155deg, #0f1a25, #0a121b) !important;
}
.premium-app .request-queue-panel .request-card.queue-tone-blue { --queue-tone: #338cff; }
.premium-app .request-queue-panel .request-card.queue-tone-orange { --queue-tone: #ff7a00; }
.premium-app .request-queue-panel .request-card.queue-tone-red { --queue-tone: #ff3f4f; }
.premium-app .request-card-person {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.premium-app .request-card-avatar {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 2px solid var(--queue-tone, #ff7a00);
  border-radius: 50%;
  color: var(--queue-tone, #ff7a00);
  background: #081018;
  box-shadow: none;
  font-size: 22px;
  line-height: 1;
  letter-spacing: .02em;
}
.premium-app .request-card-copy {
  min-width: 0;
}
.premium-app .request-queue-panel .request-card-head {
  display: grid !important;
  justify-items: start !important;
  gap: 6px !important;
}
.premium-app .request-queue-panel .request-card-head strong {
  max-width: 100%;
  overflow: hidden;
  color: #f7f9fb !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.premium-app .request-queue-panel .request-card-head .lead-age-badge {
  color: var(--queue-tone, #ff7a00) !important;
  font-family: Inter, "Segoe UI", Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: .01em !important;
  line-height: 1.45 !important;
  text-rendering: geometricPrecision;
}
.premium-app .request-queue-panel .request-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  margin-top: 7px;
}
.premium-app .request-queue-panel .request-meta span {
  color: #b8c3cf !important;
  font-size: 13px !important;
}
.premium-app .request-queue-panel .request-actions {
  overflow: visible !important;
}
.premium-app .request-queue-panel .request-card .calendar-request-actions {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
  overflow: visible !important;
}
.premium-app .request-queue-panel .request-card .lead-icon-action {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: auto !important;
  min-height: 78px !important;
  padding: 0 !important;
  gap: 7px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #ff7a00 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  overflow: visible !important;
}
.premium-app .request-queue-panel .request-card .lead-icon-action[data-action-tone="call"] { color: #11e8df !important; }
.premium-app .request-queue-panel .request-card .lead-icon-action[data-action-tone="map"] { color: #c05cff !important; }
.premium-app .request-queue-panel .request-card .lead-icon-action[data-action-tone="schedule"] { color: #4c9aff !important; }
.premium-app .request-queue-panel .request-card .lead-icon-action svg {
  box-sizing: content-box !important;
  width: 22px !important;
  height: 22px !important;
  padding: 11px !important;
  border: 2px solid currentColor !important;
  border-radius: 50% !important;
  color: currentColor !important;
  background: #09121b !important;
  filter: none !important;
  box-shadow: none !important;
  transition: transform .16s ease, background .16s ease;
}
.premium-app .request-queue-panel .request-card .lead-icon-action:hover svg,
.premium-app .request-queue-panel .request-card .lead-icon-action:focus-visible svg {
  transform: translateY(-2px) scale(1.04);
  background: #111f2b !important;
}
.premium-app .request-queue-panel .request-card .lead-icon-action span {
  display: block !important;
  color: #d4dce5 !important;
  font-size: 12px !important;
  font-weight: 750 !important;
}
.premium-app .request-queue-panel .lead-icon-action[data-hover-detail]::after {
  content: attr(data-hover-detail);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  z-index: 30;
  width: max-content;
  max-width: min(290px, 80vw);
  padding: 9px 11px;
  border: 1px solid #ff7a00;
  border-radius: 8px;
  background: #07111a;
  color: #f5f7fa;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .46);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 5px);
  transition: opacity .14s ease, transform .14s ease;
}
.premium-app .request-queue-panel .lead-icon-action[data-hover-detail]:hover::after,
.premium-app .request-queue-panel .lead-icon-action[data-hover-detail]:focus::after,
.premium-app .request-queue-panel .lead-icon-action[data-hover-detail][data-force-open="true"]::after,
.premium-app .request-queue-panel .lead-icon-action[data-hover-detail]:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}
.premium-app .request-queue-panel .lead-icon-action.is-disabled {
  opacity: .48 !important;
}

@container (max-width: 485px) {
  .premium-app .request-queue-panel .request-card {
    grid-template-columns: 1fr !important;
  }
  .premium-app .request-queue-panel .request-card .calendar-request-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .premium-app .request-queue-panel .request-card .lead-icon-action {
    min-height: 48px !important;
    flex-direction: row !important;
    gap: 5px !important;
    padding: 4px !important;
    border: 1px solid #314255 !important;
    border-radius: 9px !important;
    background: #09121b !important;
  }
  .premium-app .request-queue-panel .request-card .lead-icon-action svg {
    flex: 0 0 auto !important;
    width: 16px !important;
    height: 16px !important;
    padding: 5px !important;
    border-width: 1px !important;
  }
  .premium-app .request-queue-panel .request-card .lead-icon-action span {
    min-width: 0 !important;
    font-size: 10.5px !important;
  }
}
@media (max-width: 1180px) {
  .premium-app .calendar-shell.calendar-mode-list {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 620px) {
  .premium-app .request-queue-panel > .head {
    padding: 16px !important;
  }
  .premium-app .request-queue-title h2 {
    font-size: 24px !important;
  }
  .premium-app .request-queue-panel .request-card {
    grid-template-columns: 1fr !important;
    padding: 15px !important;
  }
  .premium-app .request-card-person {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
  }
  .premium-app .request-card-avatar {
    width: 54px;
    height: 54px;
    font-size: 21px;
  }
}
