:root {
  color-scheme: light;
  --paper: #f4efec;
  --paper-deep: #ebe2de;
  --paper-light: #faf7f5;
  --rose: #c995a4;
  --rose-soft: #ead3d9;
  --rose-wash: #f2e4e7;
  --rose-dark: #70404e;
  --ink: #231d1f;
  --ink-soft: #4d4346;
  --muted: #817477;
  --line: rgba(35, 29, 31, .17);
  --line-strong: rgba(35, 29, 31, .34);
  --danger: #8d394e;
  --focus: rgba(112, 64, 78, .28);
  --sans: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --serif: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  font-family: var(--sans);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 78% 8%, rgba(201, 149, 164, .18), transparent 27rem),
    linear-gradient(180deg, var(--paper-light) 0, var(--paper) 36rem);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed;
  z-index: 20;
  inset: 0;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  content: "";
  pointer-events: none;
}

button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, textarea:focus-visible, a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
[hidden] { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  z-index: 30;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  text-decoration: none;
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  width: min(1440px, calc(100% - 80px));
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}
.brand img {
  width: 66px;
  height: 66px;
  object-fit: contain;
  filter: saturate(.92) contrast(1.02);
}
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -.035em;
}
.brand-copy small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.live-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 12px;
}
.status-dot {
  width: 8px;
  height: 8px;
  border: 1px solid var(--rose-dark);
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 5px rgba(201, 149, 164, .16);
}

.dashboard-shell {
  width: min(1440px, calc(100% - 80px));
  margin: 0 auto;
  padding: 0 0 46px;
}
.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 420px);
  align-items: end;
  gap: 72px;
  padding: 66px 0 54px;
}
.kicker {
  margin: 0 0 15px;
  color: var(--rose-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
h1, h2, p { margin: 0; }
h1 {
  font-size: clamp(54px, 6.3vw, 92px);
  font-weight: 500;
  line-height: .83;
  letter-spacing: -.072em;
  text-wrap: balance;
}
h1 em {
  color: var(--rose-dark);
  font-family: var(--serif);
  font-weight: 400;
}
.subtitle {
  max-width: 53ch;
  margin-top: 26px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  text-wrap: pretty;
}

.filters {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 16px;
  padding-bottom: 8px;
}
.period-control { position: relative; min-width: 0; }
.filter-caption {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.date-range-trigger {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  padding: 0 2px;
  text-align: left;
  transition: border-color .2s ease, color .2s ease;
}
.date-range-trigger:hover { border-color: var(--rose-dark); color: var(--rose-dark); }
.calendar-glyph {
  position: relative;
  width: 16px;
  height: 15px;
  flex: 0 0 auto;
  border: 1.5px solid currentColor;
}
.calendar-glyph::before {
  position: absolute;
  top: 3px;
  left: 0;
  right: 0;
  border-top: 1.5px solid currentColor;
  content: "";
}
.calendar-glyph::after {
  position: absolute;
  top: -4px;
  left: 3px;
  width: 7px;
  height: 5px;
  border-inline: 1.5px solid currentColor;
  content: "";
}
#dateRangeLabel {
  flex: 1;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.chevron {
  color: var(--muted);
  font-size: 15px;
  transition: transform .2s ease;
}
.date-range-trigger[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.clear-filter {
  min-height: 52px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 0 2px;
  font-size: 12px;
  font-weight: 700;
  transition: color .2s ease, border-color .2s ease;
}
.clear-filter:hover { border-color: var(--ink); color: var(--ink); }
.date-range-popover {
  position: absolute;
  z-index: 10;
  top: calc(100% + 12px);
  right: 0;
  width: min(390px, calc(100vw - 32px));
  padding: 22px;
  border: 1px solid var(--line-strong);
  background: var(--paper-light);
  box-shadow: 16px 20px 0 rgba(112, 64, 78, .1);
}
.date-range-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.date-range-fields label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.date-range-fields input {
  width: 100%;
  min-height: 43px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 0 10px;
  outline: 0;
  font-size: 12px;
}
.date-range-fields input:focus { border-color: var(--rose-dark); }
.date-range-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.date-range-footer span {
  max-width: 20ch;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}
.button {
  min-height: 44px;
  border: 0;
  border-radius: 0;
  padding: 0 17px;
  font-size: 11px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.button-primary { background: var(--ink); color: white; }
.button-primary:hover { background: var(--rose-dark); }
.notice {
  margin: 0 0 24px;
  padding: 14px 17px;
  border-left: 4px solid currentColor;
  font-size: 12px;
}
.notice-error { background: #f3dfe3; color: var(--danger); }

.summary {
  display: grid;
  grid-template-columns: 1.08fr .92fr .92fr 1.08fr;
  margin-bottom: 18px;
  border-block: 1px solid var(--line-strong);
}
.metric {
  position: relative;
  min-height: 225px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(16px, 2.4vw, 38px);
  align-items: start;
  overflow: hidden;
  padding: 32px 26px 36px;
}
.metric + .metric { border-left: 1px solid var(--line-strong); }
.metric-primary {
  border-top-right-radius: 110px;
  background: var(--rose);
}
.metric-primary::after {
  position: absolute;
  right: -72px;
  bottom: -108px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(35, 29, 31, .2);
  border-radius: 50%;
  content: "";
}
.metric-index, .section-number {
  color: currentColor;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .08em;
}
.metric p {
  margin: 1px 0 28px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}
.metric strong {
  display: block;
  width: max-content;
  max-width: 100%;
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 500;
  line-height: .78;
  letter-spacing: -.075em;
  font-variant-numeric: tabular-nums;
}
.metric small {
  display: block;
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: 11px;
}
.metric-secondary strong,
.metric-interaction strong { font-family: var(--serif); font-weight: 400; }
.metric-tertiary { background: rgba(255, 255, 255, .26); }

.data-section {
  display: grid;
  grid-template-columns: minmax(190px, 255px) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 92px);
  padding: 56px 0 62px;
  border-top: 1px solid var(--line);
}
.section-heading {
  min-width: 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-content: start;
  gap: 10px;
}
.section-heading h2 {
  font-family: var(--serif);
  font-size: clamp(25px, 2.2vw, 34px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.04em;
}
.section-heading p {
  max-width: 31ch;
  margin-top: 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  text-wrap: pretty;
}
.response-spectrum {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line-strong);
}
.response-item {
  position: relative;
  min-width: 0;
  min-height: 204px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 22px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 23px 22px 18px;
  text-align: left;
  transition: background .24s ease, color .24s ease, transform .24s ease;
}
.response-item:last-child { border-right: 0; }
.response-item:hover { z-index: 1; background: var(--rose-wash); transform: translateY(-5px); }
.response-item.is-active { background: var(--ink); color: white; }
.response-name {
  min-height: 32px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.response-metric { align-self: end; display: grid; gap: 8px; }
.response-metric strong {
  font-family: var(--serif);
  font-size: clamp(41px, 4vw, 60px);
  font-weight: 400;
  line-height: .8;
  letter-spacing: -.055em;
  font-variant-numeric: tabular-nums;
}
.response-metric small {
  color: var(--muted);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}
.response-item.is-active .response-metric small { color: rgba(255, 255, 255, .64); }
.response-track { height: 3px; overflow: hidden; background: rgba(35, 29, 31, .12); }
.response-fill {
  display: block;
  width: var(--value);
  height: 100%;
  background: var(--tone, var(--rose-dark));
  transition: width .45s cubic-bezier(.22, 1, .36, 1);
}
.response-item.is-active .response-track { background: rgba(255, 255, 255, .2); }
.response-item.is-active .response-fill { background: var(--rose); }
.tone-0 { --tone: #342a2d; }
.tone-1 { --tone: #805566; }
.tone-2 { --tone: #a33e57; }
.tone-3 { --tone: #c69773; }

.trend-section { align-items: stretch; }
.trend-section > .section-heading { position: relative; padding-bottom: 40px; }
.period-total {
  grid-column: 2;
  margin-top: 26px;
  color: var(--rose-dark);
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.trend-chart { min-height: 330px; }
.monthly-bar-chart {
  min-height: 330px;
  display: flex;
  align-items: stretch;
  gap: clamp(18px, 3vw, 44px);
  overflow-x: auto;
  padding: 0 18px 0;
  border-bottom: 1px solid var(--line-strong);
  background-image: repeating-linear-gradient(to top, transparent 0, transparent calc(25% - 1px), var(--line) 25%);
  scrollbar-width: thin;
  scrollbar-color: var(--rose) transparent;
}
.month-column {
  min-width: 54px;
  height: 330px;
  display: grid;
  grid-template-rows: 24px 1fr 24px;
  justify-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
}
.month-value {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.month-bar-track {
  width: clamp(28px, 3vw, 46px);
  height: 100%;
  display: flex;
  align-items: end;
  overflow: visible;
  background: transparent;
}
.month-bar {
  position: relative;
  width: 100%;
  min-height: 0;
  background: var(--rose-dark);
  transition: height .5s cubic-bezier(.22, 1, .36, 1), background .2s ease, transform .2s ease;
}
.month-bar::after {
  position: absolute;
  inset: 7px 7px auto;
  border-top: 1px solid rgba(255, 255, 255, .42);
  content: "";
}
.month-column:hover .month-bar,
.month-column.is-active .month-bar { background: var(--rose); transform: scaleX(1.06); }
.month-column.is-active .month-bar-track { background: rgba(201, 149, 164, .12); }
.month-column.is-active .month-value,
.month-column.is-active .month-label { color: var(--rose-dark); font-weight: 800; }
.month-column:focus-visible { outline-offset: -1px; }
.month-label {
  color: var(--muted);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.evaluations-section {
  display: block;
  padding-bottom: 0;
}
.table-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  padding-bottom: 30px;
}
.table-heading .section-heading { max-width: 470px; }
.table-actions {
  min-width: min(100%, 490px);
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto;
  gap: 14px;
}
.search-field {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted);
  padding: 0 2px;
  transition: border-color .2s ease;
}
.search-field:focus-within { border-color: var(--rose-dark); }
.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
}
.search-field input::placeholder { color: var(--muted); opacity: .85; }
.export-button { background: var(--ink); color: white; }
.export-button:hover { background: var(--rose-dark); }
.table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--line-strong);
}
table {
  width: 100%;
  min-width: 1440px;
  border-collapse: collapse;
}
th, td {
  padding: 17px 13px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  font-size: 11px;
}
th {
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .075em;
  text-transform: uppercase;
  white-space: nowrap;
}
tbody tr { transition: background .18s ease; }
tbody tr:hover { background: rgba(234, 211, 217, .34); }
td:first-child { font-weight: 700; }
.contact-meta, .comment-cell, .service-meta, .treatment-cell { display: grid; gap: 5px; }
.contact-meta small, .comment-cell small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}
.service-meta { min-width: 145px; }
.match-status {
  color: var(--rose-dark);
  font-size: 9px;
  font-weight: 700;
}
.response-pill {
  display: inline-block;
  width: max-content;
  max-width: 170px;
  border-left: 3px solid currentColor;
  padding: 3px 0 3px 8px;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.3;
  white-space: normal;
}
.response-pill.positive-a { color: #49333a; }
.response-pill.positive-b { color: #765363; }
.response-pill.complaint-a { color: var(--danger); }
.response-pill.suggestion-a { color: #89603f; }
.comment-cell { min-width: 180px; max-width: 280px; line-height: 1.5; }
.treatment-cell { min-width: 245px; max-width: 340px; }
.treatment-trigger {
  width: 100%;
  display: grid;
  gap: 7px;
  border: 0;
  border-left: 2px solid var(--rose);
  background: rgba(255, 255, 255, .28);
  color: var(--ink);
  padding: 9px 11px;
  text-align: left;
  transition: background .2s ease, border-color .2s ease;
}
.treatment-trigger:hover { border-color: var(--rose-dark); background: var(--rose-wash); }
.treatment-trigger.is-empty { color: var(--rose-dark); font-weight: 800; }
.treatment-trigger span {
  display: -webkit-box;
  overflow: hidden;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.treatment-trigger small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
}
.treatment-editor { display: grid; gap: 9px; }
.treatment-editor textarea {
  width: 100%;
  min-height: 104px;
  resize: vertical;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  outline: 0;
  background: var(--paper-light);
  color: var(--ink);
  padding: 10px 11px;
  font-size: 11px;
  line-height: 1.5;
}
.treatment-editor textarea:focus { border-color: var(--rose-dark); }
.treatment-editor textarea:disabled { cursor: wait; opacity: .65; }
.treatment-editor-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.treatment-count { color: var(--muted); font-size: 9px; font-variant-numeric: tabular-nums; }
.treatment-editor-actions { display: flex; gap: 7px; }
.treatment-cancel,
.treatment-save {
  min-height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 0 10px;
  background: transparent;
  color: var(--ink);
  font-size: 9px;
  font-weight: 800;
}
.treatment-save { border-color: var(--ink); background: var(--ink); color: white; }
.treatment-save:hover { border-color: var(--rose-dark); background: var(--rose-dark); }
.treatment-cancel:hover { border-color: var(--rose-dark); color: var(--rose-dark); }
.treatment-cancel:disabled,
.treatment-save:disabled { cursor: wait; opacity: .58; }
.empty-state {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 62px 18px 70px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
}
.empty-state[hidden] { display: none !important; }
.empty-state img { opacity: .5; filter: grayscale(.15); }
.empty-state strong {
  margin-top: 4px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
}
.empty-state span { font-size: 11px; }
.footer-note {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.is-loading .metric strong,
.is-loading .response-spectrum,
.is-loading .trend-chart {
  color: transparent;
  background: linear-gradient(100deg, rgba(201, 149, 164, .08) 20%, rgba(201, 149, 164, .26) 40%, rgba(201, 149, 164, .08) 60%);
  background-size: 220% 100%;
  animation: loading-sweep 1.25s ease-in-out infinite;
}
@keyframes loading-sweep { to { background-position: -120% 0; } }

@media (max-width: 1060px) {
  .intro { grid-template-columns: 1fr 390px; gap: 42px; }
  .response-spectrum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .response-item:nth-child(2) { border-right: 0; }
  .response-item:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .summary { grid-template-columns: 1fr 1fr; }
  .metric { min-height: 205px; padding-inline: 30px; }
  .metric:nth-child(3) { border-top: 1px solid var(--line-strong); border-left: 0; }
  .metric:nth-child(4) { border-top: 1px solid var(--line-strong); }
}

@media (max-width: 820px) {
  .site-header, .dashboard-shell { width: min(100% - 36px, 760px); }
  .site-header { min-height: 92px; }
  .brand img { width: 58px; height: 58px; }
  .intro { grid-template-columns: 1fr; gap: 42px; padding: 48px 0 40px; }
  .filters { max-width: 520px; }
  .summary { grid-template-columns: 1fr; }
  .metric + .metric { border-top: 1px solid var(--line-strong); border-left: 0; }
  .metric-primary { border-top-right-radius: 82px; }
  .data-section { grid-template-columns: 1fr; gap: 30px; padding: 44px 0 48px; }
  .trend-section > .section-heading { padding-bottom: 0; }
  .period-total { grid-column: 2; margin-top: 16px; }
  .table-heading { display: grid; align-items: start; gap: 28px; }
  .table-actions { min-width: 0; width: 100%; }
  .table-wrap { overflow: visible; }
  table { min-width: 0; }
  thead { display: none; }
  tbody, tr, td { display: block; width: 100%; }
  tbody tr {
    padding: 17px 0;
    border-bottom: 1px solid var(--line-strong);
  }
  td {
    display: grid;
    grid-template-columns: minmax(104px, 31%) minmax(0, 1fr);
    gap: 16px;
    padding: 6px 3px;
    border: 0;
    line-height: 1.45;
  }
  td::before {
    align-self: start;
    color: var(--muted);
    content: attr(data-label);
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
  }
  tbody tr:hover { background: transparent; }
}

@media (max-width: 560px) {
  .site-header, .dashboard-shell { width: min(100% - 24px, 520px); }
  .site-header { min-height: 82px; }
  .brand { gap: 9px; }
  .brand img { width: 50px; height: 50px; }
  .brand-copy strong { font-size: 18px; }
  .brand-copy small { font-size: 8px; }
  .live-status { font-size: 10px; }
  h1 { font-size: clamp(49px, 16vw, 68px); }
  .intro { padding-top: 38px; }
  .filters { grid-template-columns: 1fr auto; gap: 12px; }
  .date-range-popover { right: auto; left: 0; width: calc(100vw - 24px); padding: 18px; }
  .date-range-fields { grid-template-columns: 1fr; }
  .metric { min-height: 180px; gap: 22px; padding: 28px 20px 31px; }
  .metric p { margin-bottom: 24px; }
  .metric strong { font-size: clamp(54px, 18vw, 76px); }
  .response-spectrum { grid-template-columns: 1fr 1fr; }
  .response-item { min-height: 181px; padding: 19px 14px 15px; }
  .response-name { font-size: 9px; }
  .monthly-bar-chart { min-height: 280px; padding-inline: 8px; }
  .month-column { height: 280px; min-width: 46px; }
  .table-actions { grid-template-columns: 1fr; }
  .export-button { width: 100%; }
  td { grid-template-columns: 92px minmax(0, 1fr); }
  .treatment-cell, .comment-cell { min-width: 0; max-width: none; }
  .footer-note { display: grid; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
