@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;800;900&family=Roboto+Slab:wght@500;700&display=swap");

:root {
  color-scheme: light;
  --brand: #e1251b;
  --brand-dark: #a91d17;
  --ink: #202226;
  --muted: #60646b;
  --line: #dedede;
  --panel: #fff;
  --page: #f5f5f2;
  --steel: #4f5965;
  --good: #2f855a;
  --blue: #177ea8;
  --gold: #b7791f;
  --shadow: 0 18px 42px rgba(32, 34, 38, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background: var(--page);
  font-family: Roboto, Arial, sans-serif;
}

button,
input {
  font: inherit;
}

select {
  font: inherit;
}

.role-shell {
  min-height: 100vh;
}

.role-topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-lockup img {
  width: 76px;
  height: auto;
  padding: 6px 8px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  color: var(--steel);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
}

h2 {
  color: var(--brand);
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  font-weight: 900;
}

h3 {
  color: var(--steel);
  font-size: 1.02rem;
  font-weight: 900;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.status-pill,
.domain-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  color: var(--steel);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

.domain-pill {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand-dark);
}

.role-main {
  display: grid;
  gap: 22px;
  padding: 28px clamp(18px, 4vw, 44px) 44px;
}

.hero-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: end;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.compact-hero {
  grid-template-columns: 1fr;
}

.hero-copy p:last-child {
  max-width: 780px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.sync-panel {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: #f9faf9;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.sync-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.sync-line strong {
  color: var(--ink);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  gap: 14px;
}

body[data-dashboard="office"] .metric-grid {
  grid-template-columns: repeat(3, minmax(210px, 1fr));
}

body[data-dashboard="ops"] .metric-grid {
  grid-template-columns: minmax(280px, 1fr);
}

body[data-dashboard="captkirk"] .metric-grid {
  grid-template-columns: repeat(4, minmax(190px, 1fr));
}

.metric-card,
.work-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(32, 34, 38, 0.06);
}

.metric-card {
  min-height: 124px;
  padding: 18px;
}

.history-control-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(32, 34, 38, 0.05);
}

.history-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: min(100%, 360px);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.history-selector select {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  text-transform: none;
}

.history-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: right;
}

.metric-value {
  margin: 8px 0 4px;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.7vw, 2.2rem);
  font-weight: 900;
}

.metric-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.metric-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
  padding-top: 8px;
  border-top: 1px solid #ececec;
}

.metric-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.metric-name {
  color: var(--steel);
  font-size: 0.9rem;
  font-weight: 800;
}

.metric-amount {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 900;
  white-space: nowrap;
}

.metric-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.speed-to-lead-panel {
  padding: 18px;
}

.speed-table {
  display: grid;
  gap: 0;
  margin-top: 14px;
}

.speed-row {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) minmax(130px, 0.8fr) minmax(150px, 0.8fr) minmax(170px, 0.8fr);
  gap: 14px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid #ececec;
}

.speed-header {
  padding-top: 0;
  color: var(--muted);
  border-top: 0;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.speed-row span:first-child {
  color: var(--steel);
  font-weight: 900;
}

.speed-row span:not(:first-child) {
  color: var(--ink);
  font-weight: 900;
  text-align: right;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.single-panel-grid {
  grid-template-columns: minmax(0, 1fr);
}

.work-panel {
  min-width: 0;
  padding: 20px;
}

.section-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.count-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  color: var(--brand-dark);
  background: #ffe6e5;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

.table-wrap {
  overflow-x: auto;
}

.lead-disclosure-list {
  display: grid;
  gap: 12px;
  padding: 16px 20px 20px;
}

.lead-disclosure {
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fafafa;
}

.lead-disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  cursor: pointer;
  list-style: none;
}

.lead-disclosure summary::-webkit-details-marker {
  display: none;
}

.lead-disclosure summary strong {
  color: var(--ink);
  font-size: 1rem;
}

.lead-disclosure summary span {
  color: var(--brand-dark);
  font-size: 0.84rem;
  font-weight: 900;
  white-space: nowrap;
}

.lead-disclosure[open] summary {
  border-bottom: 1px solid #ececec;
}

.open-lead-list {
  display: grid;
  gap: 10px;
  padding: 12px 14px 14px;
}

.open-lead-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  padding-top: 10px;
  border-top: 1px solid #ececec;
}

.open-lead-card:first-child {
  padding-top: 0;
  border-top: 0;
}

.open-lead-card p,
.open-lead-card small {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.open-lead-card > p {
  grid-column: 1 / -1;
}

.open-lead-card .latest-lead-comment {
  color: var(--steel);
  display: -webkit-box;
  font-size: 0.82rem;
  line-height: 1.35;
  margin-top: 6px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.latest-lead-comment strong {
  color: var(--ink);
  font-weight: 900;
}

.customer-comment-form {
  display: grid;
  gap: 8px;
  grid-column: 1 / -1;
  margin-top: 4px;
}

.customer-comment-form label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.customer-comment-form textarea {
  width: 100%;
  min-height: 62px;
  padding: 9px 10px;
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  text-transform: none;
  resize: vertical;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  background: #fff;
}

.customer-comment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.customer-comment-actions button {
  min-height: 34px;
  padding: 7px 10px;
  color: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  border: 1px solid var(--brand);
  border-radius: 8px;
  background: var(--brand);
  cursor: pointer;
}

.customer-comment-actions button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.customer-comment-status {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.25;
}

.fieldpulse-link {
  color: var(--steel);
  font-weight: 900;
  text-decoration: none;
}

.fieldpulse-link:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

.opportunity-phone-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.callrail-text-button {
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.callrail-text-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.callrail-text-status {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.25;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 10px;
  text-align: left;
  border-bottom: 1px solid #ececec;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

td {
  color: var(--ink);
  font-size: 0.92rem;
}

.person-cell {
  font-weight: 900;
}

.board-filter {
  display: grid;
  gap: 6px;
  min-width: 150px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.board-filter select {
  min-height: 38px;
  padding: 8px 10px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  text-transform: none;
}

.subtle-line {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid #d9dde0;
  border-radius: 8px;
  color: var(--steel);
  background: #f7f8f8;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.status-good {
  color: #1f6b46;
  background: #e8f5ee;
  border-color: #bfe3cf;
}

.status-info {
  color: #12617f;
  background: #e7f5fa;
  border-color: #b9ddeb;
}

.status-warn {
  color: #7a4d08;
  background: #fff4dc;
  border-color: #efd6a7;
}

.status-bad {
  color: #8b1f1b;
  background: #fde9e7;
  border-color: #efc2be;
}

.money {
  color: var(--good);
  font-weight: 900;
}

.ops-production-table {
  display: none;
}

.bonus-review-section {
  display: grid;
  gap: 4px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.review-leaderboard {
  display: grid;
  gap: 11px;
  margin-top: 12px;
}

.review-credit-row {
  display: grid;
  align-items: center;
  padding: 12px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 8px;
}

.review-credit-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.review-credit-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.review-credit-top strong {
  color: var(--steel);
  font-weight: 900;
}

.review-credit-top span {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
  white-space: nowrap;
}

.review-customers {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.office-sale-card {
  position: relative;
  min-height: 116px;
}

.office-sale-amount {
  margin-top: 10px;
  color: var(--good);
  font-size: 1.25rem;
  font-weight: 900;
}

.goal-sheet {
  margin-top: 18px;
}

.goal-chart {
  --goal-label-width: 182px;
  position: relative;
  display: grid;
  gap: 12px;
}

.goal-axis {
  position: relative;
  height: 34px;
  margin-left: var(--goal-label-width);
  border-bottom: 1px solid #ececec;
}

.goal-marker {
  position: absolute;
  top: 0;
  bottom: -1px;
  width: 4px;
  border-radius: 999px;
  background: #8fd19e;
  transform: translateX(-50%);
}

.goal-marker-2 {
  background: #2f855a;
}

.goal-marker span {
  position: absolute;
  top: 0;
  left: 8px;
  display: grid;
  gap: 1px;
  color: var(--steel);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.05;
  white-space: nowrap;
}

.goal-marker strong {
  color: var(--ink);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.goal-rows {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 11px;
}

.goal-line {
  position: absolute;
  top: 46px;
  bottom: 0;
  z-index: 2;
  width: 5px;
  border-radius: 999px;
  pointer-events: none;
  transform: translateX(-50%);
}

.goal-line-one {
  left: calc(var(--goal-label-width) + (100% - var(--goal-label-width)) * var(--goal-one));
  background: #8fd19e;
}

.goal-line-two {
  left: calc(var(--goal-label-width) + (100% - var(--goal-label-width)) * var(--goal-two));
  background: #2f855a;
}

.goal-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.goal-tech {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.goal-tech strong {
  color: var(--steel);
  font-size: 0.92rem;
  font-weight: 900;
}

.goal-tech span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.goal-track {
  position: relative;
  min-height: 34px;
  overflow: hidden;
  background: #f0f1ef;
  border: 1px solid #dedede;
  border-radius: 8px;
}

.goal-fill {
  position: absolute;
  inset: 0 auto 0 0;
  min-width: 8px;
  border-radius: 7px;
  transition: width 200ms ease, background 200ms ease;
}

.goal-fill-base {
  background: #8b99a8;
}

.goal-fill-close {
  background: #d2a84c;
}

.goal-fill-first {
  background: #8fd19e;
}

.goal-fill-second {
  background: #2f855a;
}

.goal-value {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 34px;
  padding: 0 10px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

.attention-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.focus-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.focus-tab {
  min-height: 34px;
  padding: 7px 11px;
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  border: 1px solid #dedede;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.focus-tab:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.focus-tab.active {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
}

.attention-item {
  padding: 14px;
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
}

.attention-item strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
}

.attention-item span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.attention-disclosure {
  padding: 0;
}

.attention-disclosure summary {
  display: grid;
  gap: 5px;
  padding: 14px;
  cursor: pointer;
  list-style: none;
}

.attention-disclosure summary::-webkit-details-marker {
  display: none;
}

.attention-disclosure summary::after {
  content: "View";
  justify-self: start;
  margin-top: 4px;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.attention-disclosure[open] summary {
  border-bottom: 1px solid #ececec;
}

.attention-disclosure[open] summary::after {
  content: "Hide";
}

.attention-lead-list {
  display: grid;
  gap: 9px;
  padding: 12px 14px 14px;
}

.attention-lead {
  display: grid;
  gap: 3px;
  padding-top: 9px;
  border-top: 1px solid #ececec;
}

.attention-lead:first-child {
  padding-top: 0;
  border-top: 0;
}

.attention-lead b {
  color: var(--ink);
  font-size: 0.9rem;
}

.attention-lead small {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.office-opportunity-list {
  padding: 0;
}

.office-opportunity {
  padding: 11px 14px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 8px;
}

.office-opportunity:first-child {
  padding-top: 11px;
  border-top: 1px solid #ececec;
}

.attention-empty {
  padding: 12px 14px 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.split-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.sales-lists-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.estimator-list-panel {
  align-self: start;
}

.estimator-select {
  display: grid;
  gap: 7px;
  margin: 16px 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.estimator-select select {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  text-transform: none;
}

.estimate-list {
  display: grid;
  gap: 10px;
  max-height: 540px;
  overflow: auto;
  padding-right: 4px;
}

.estimate-list-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 13px;
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
}

.estimate-list-side {
  display: grid;
  gap: 8px;
  justify-items: end;
  text-align: right;
}

.estimate-list-side strong {
  color: var(--good);
  white-space: nowrap;
}

.item-title,
.item-reference,
.item-meta,
.item-notes {
  margin: 0;
}

.item-title {
  color: var(--ink);
  font-weight: 900;
}

.item-meta,
.item-reference,
.item-notes,
.muted-text {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.item-reference {
  margin-top: 3px;
  color: var(--steel);
  font-weight: 800;
}

.item-notes {
  margin-top: 5px;
}

.phone-link {
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.phone-link:hover {
  text-decoration: underline;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  justify-content: flex-end;
}

.text-link {
  color: var(--good);
}

.empty-state {
  padding: 16px;
  color: var(--muted);
  background: #fafafa;
  border: 1px dashed #d8d8d8;
  border-radius: 8px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.mini-card {
  min-height: 96px;
  padding: 14px;
  background: #f9faf9;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
}

.mini-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--steel);
}

.mini-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.captkirk-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.2fr) minmax(260px, 0.9fr);
  gap: 16px;
  align-items: start;
}

.captkirk-status-list {
  display: grid;
  gap: 10px;
}

.captkirk-status-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.9fr) minmax(140px, 1.1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #ececec;
}

.captkirk-status-row:last-child {
  border-bottom: 0;
}

.captkirk-status-row span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.captkirk-status-row strong {
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.35;
}

@media (max-width: 980px) {
  .hero-band,
  .panel-grid {
    grid-template-columns: 1fr;
  }

  .sales-lists-grid {
    grid-template-columns: 1fr;
  }

  .captkirk-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .role-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-actions {
    justify-content: flex-start;
  }

  .hero-band,
  .work-panel,
  .history-control-panel {
    padding: 18px;
  }

  .history-control-panel,
  .history-selector {
    align-items: stretch;
    flex-direction: column;
  }

  .history-note {
    text-align: left;
  }

  .metric-grid,
  .split-list {
    grid-template-columns: 1fr;
  }

  .estimate-list-item {
    grid-template-columns: 1fr;
  }

  .speed-row {
    grid-template-columns: minmax(78px, 0.85fr) repeat(3, minmax(78px, 1fr));
    gap: 8px;
  }

  .estimate-list-side {
    justify-items: start;
    text-align: left;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .goal-axis {
    margin-left: 0;
  }

  .goal-chart {
    --goal-label-width: 0px;
  }

  .goal-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .goal-tech {
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }
}
