:root {
  color-scheme: light;
  --bg: #f8faf9;
  --surface: #fcfdfc;
  --surface-strong: #ffffff;
  --surface-muted: #f0f4f2;
  --text: #25322d;
  --text-soft: #5f6b65;
  --text-faint: #6e7974;
  --accent: #477d69;
  --accent-strong: #376957;
  --accent-soft: #e7f2ed;
  --accent-ink: #285747;
  --danger: #a95656;
  --border: #e5ebe8;
  --shadow: 0 16px 44px rgba(46, 72, 61, 0.045);
  --page-background:
    radial-gradient(circle at 82% 6%, rgba(205, 232, 220, 0.48), transparent 32%),
    radial-gradient(circle at 35% 76%, rgba(225, 239, 233, 0.62), transparent 38%),
    linear-gradient(145deg, #f5faf7 0%, #fbfcfb 48%, #f2f7f4 100%);
  --card-background: linear-gradient(145deg, #ffffff 0%, #fbfdfc 100%);
  --radius-card: 18px;
  --radius-control: 12px;
  --sidebar-width: 228px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #171c1a;
  --surface: #1d2421;
  --surface-strong: #242c28;
  --surface-muted: #2b3530;
  --text: #edf2ef;
  --text-soft: #aeb9b3;
  --text-faint: #96a29c;
  --accent: #79b79f;
  --accent-strong: #9ac9b6;
  --accent-soft: #2d4b3f;
  --accent-ink: #dff4ea;
  --danger: #e58b8b;
  --border: #34403a;
  --shadow: 0 18px 55px rgba(3, 8, 6, 0.22);
  --page-background:
    radial-gradient(circle at 82% 6%, rgba(65, 99, 84, 0.3), transparent 34%),
    linear-gradient(145deg, #171c1a 0%, #1a211e 100%);
  --card-background: linear-gradient(145deg, #242c28 0%, #202824 100%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #171c1a;
    --surface: #1d2421;
    --surface-strong: #242c28;
    --surface-muted: #2b3530;
    --text: #edf2ef;
    --text-soft: #aeb9b3;
    --text-faint: #96a29c;
    --accent: #79b79f;
    --accent-strong: #9ac9b6;
    --accent-soft: #2d4b3f;
    --accent-ink: #dff4ea;
    --danger: #e58b8b;
    --border: #34403a;
    --shadow: 0 18px 55px rgba(3, 8, 6, 0.22);
    --page-background:
      radial-gradient(circle at 82% 6%, rgba(65, 99, 84, 0.3), transparent 34%),
      linear-gradient(145deg, #171c1a 0%, #1a211e 100%);
    --card-background: linear-gradient(145deg, #242c28 0%, #202824 100%);
  }
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--page-background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 34%, transparent);
  outline-offset: 2px;
}

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100dvh;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  padding: 28px 18px 20px;
  background: color-mix(in srgb, var(--surface) 88%, var(--accent-soft));
  border-right: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 10px 40px;
  color: var(--text);
  font-size: 18px;
  font-weight: 720;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--accent);
  color: #f8fbf9;
  font-size: 15px;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--accent) 22%, transparent);
}

.nav-list {
  display: grid;
  gap: 7px;
}

.nav-item,
.theme-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 11px;
  border: 0;
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--text-soft);
  text-align: left;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-item {
  min-height: 46px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 650;
}

.nav-item:hover,
.theme-toggle:hover {
  background: var(--surface-muted);
  color: var(--text);
}

.nav-item:active,
.theme-toggle:active,
.primary-button:active,
.secondary-button:active,
.text-button:active {
  transform: scale(0.98);
}

.nav-item.is-active {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.nav-glyph {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 760;
}

.sidebar-footer {
  margin-top: auto;
  padding: 0 4px;
}

.sidebar-footer p {
  margin: 0 8px 14px;
  color: var(--text-faint);
  font-size: 12px;
  line-height: 1.65;
}

.theme-toggle {
  min-height: 40px;
  padding: 8px;
  font-size: 12px;
}

.theme-icon {
  display: grid;
  width: 25px;
  place-items: center;
  font-size: 18px;
}

.main-content {
  margin-left: var(--sidebar-width);
  min-height: 100dvh;
  padding: 52px clamp(28px, 5vw, 72px) 72px;
}

.view {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.view:not(.is-active) {
  display: none;
}

.page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.date-line {
  margin: 0 0 8px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 560;
}

h1,
h2,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

h2 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.header-summary {
  flex: 0 0 auto;
  padding-bottom: 5px;
  color: var(--text-soft);
  font-size: 13px;
}

.today-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.primary-column,
.insight-column {
  min-width: 0;
}

.quick-add,
.progress-panel,
.note-panel,
.week-panel,
.day-detail,
.summary-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--card-background);
  box-shadow: var(--shadow);
}

.quick-add {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px;
}

.quick-add input {
  min-width: 0;
  height: 48px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font-size: 16px;
}

.quick-add input::placeholder,
.note-panel textarea::placeholder {
  color: var(--text-faint);
  opacity: 1;
}

.primary-button,
.secondary-button {
  border: 0;
  border-radius: var(--radius-control);
  font-weight: 680;
  white-space: nowrap;
  transition: transform 150ms ease, background 150ms ease;
}

.primary-button {
  min-width: 74px;
  padding: 0 20px;
  background: var(--accent);
  color: #f7fbf9;
}

.primary-button:hover {
  background: var(--accent-strong);
}

.secondary-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  color: var(--text);
}

.secondary-button:hover {
  background: var(--surface-muted);
}

.input-hint,
.input-error {
  position: absolute;
  top: calc(100% + 7px);
  margin: 0;
  font-size: 11px;
}

.input-hint {
  left: 17px;
  color: var(--text-faint);
}

.input-error {
  right: 17px;
  color: var(--danger);
}

.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  margin-bottom: 13px;
}

.filter-group {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface-muted);
}

.filter-button {
  min-height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 650;
}

.filter-button.is-active {
  background: var(--surface-strong);
  color: var(--text);
  box-shadow: 0 3px 12px rgba(46, 72, 61, 0.045);
}

.task-count {
  color: var(--text-faint);
  font-size: 12px;
}

.task-list {
  position: relative;
  display: grid;
  gap: 10px;
}

.task-item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 13px;
  min-height: 68px;
  padding: 11px 15px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--card-background);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.task-item:hover {
  border-color: color-mix(in srgb, var(--accent) 34%, var(--border));
  transform: translateY(-1px);
}

.task-item.is-done {
  background: color-mix(in srgb, var(--surface) 74%, var(--accent-soft));
}

.task-item.is-entering {
  animation: task-in 280ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.task-list.is-sorting .task-item:not(.is-dragging) {
  transition-duration: 120ms;
}

.task-list.is-sorting {
  user-select: none;
}

.task-item.is-drag-source {
  border-color: color-mix(in srgb, var(--accent) 34%, var(--border));
  background: color-mix(in srgb, var(--accent-soft) 44%, transparent);
  box-shadow: none;
  pointer-events: none;
}

.task-item.is-drag-source > * {
  opacity: 0;
}

.drag-ghost {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 20;
  pointer-events: none;
  will-change: transform;
}

.drag-ghost .task-item.is-dragging {
  width: 100%;
  border-color: color-mix(in srgb, var(--accent) 58%, var(--border));
  background: color-mix(in srgb, var(--surface-strong) 88%, var(--accent-soft));
  box-shadow: 0 22px 52px rgba(46, 72, 61, 0.16);
  opacity: 0.96;
  animation: drag-lift 180ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.check-button {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  padding: 0;
  border: 1.5px solid var(--text-faint);
  border-radius: 9px;
  background: transparent;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.check-button:hover {
  border-color: var(--accent);
}

.check-button:active {
  transform: scale(0.9);
}

.check-button span {
  width: 10px;
  height: 6px;
  border-bottom: 2px solid transparent;
  border-left: 2px solid transparent;
  transform: translateY(-1px) rotate(-45deg);
}

.is-done .check-button {
  border-color: var(--accent);
  background: var(--accent);
}

.is-done .check-button span {
  border-color: #f7fbf9;
}

.task-body {
  min-width: 0;
}

.task-text {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 590;
  line-height: 1.45;
  transition: color 160ms ease;
}

.task-meta {
  display: block;
  margin-top: 3px;
  color: var(--text-faint);
  font-size: 11px;
}

.is-done .task-text {
  color: var(--text-soft);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.drag-handle {
  display: grid;
  width: 30px;
  height: 36px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  cursor: grab;
  touch-action: none;
  transition: background 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.drag-handle:hover,
.drag-handle:focus-visible {
  background: var(--surface-muted);
}

.drag-handle:active {
  cursor: grabbing;
  transform: scale(0.94);
}

.drag-handle:disabled {
  cursor: default;
  opacity: 0.28;
}

.drag-handle span {
  width: 14px;
  height: 20px;
  background-image: radial-gradient(circle, var(--text-faint) 1.4px, transparent 1.6px);
  background-position: 1px 1px;
  background-size: 7px 7px;
}

.delete-button {
  padding: 8px 4px;
  border: 0;
  background: transparent;
  color: var(--text-faint);
  font-size: 11px;
  opacity: 0;
  transition: color 160ms ease, opacity 160ms ease;
}

.task-item:hover .delete-button,
.delete-button:focus-visible {
  opacity: 1;
}

.delete-button:hover {
  color: var(--danger);
}

.empty-state {
  min-height: 280px;
  padding: 58px 24px 40px;
  text-align: center;
}

.empty-illustration {
  position: relative;
  width: 74px;
  height: 62px;
  margin: 0 auto 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-strong);
  transform: rotate(-2deg);
}

.empty-illustration::before {
  position: absolute;
  inset: 9px 12px auto;
  height: 7px;
  border-radius: 4px;
  background: var(--accent-soft);
  content: "";
}

.empty-illustration span {
  position: absolute;
  left: 17px;
  width: 40px;
  height: 2px;
  border-radius: 2px;
  background: var(--border);
}

.empty-illustration span:nth-child(1) { top: 29px; }
.empty-illustration span:nth-child(2) { top: 38px; width: 31px; }
.empty-illustration span:nth-child(3) { top: 47px; width: 36px; }

.empty-state h2 {
  font-size: 17px;
}

.empty-state p {
  margin: 8px auto 18px;
  color: var(--text-soft);
  font-size: 13px;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 13px;
  font-weight: 680;
}

.insight-column {
  display: grid;
  gap: 18px;
}

.progress-panel,
.note-panel {
  padding: 22px;
}

.progress-topline,
.panel-heading,
.detail-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.progress-topline > span,
.save-status,
.detail-heading > span {
  color: var(--text-faint);
  font-size: 11px;
}

.progress-content {
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: center;
  gap: 22px;
  margin-top: 23px;
}

.progress-ring {
  --progress: 0deg;
  position: relative;
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--accent) var(--progress), var(--surface-muted) 0);
  transition: background 320ms ease;
}

.progress-ring::before {
  position: absolute;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--surface-strong);
  content: "";
}

.progress-ring > div {
  position: relative;
  display: grid;
  text-align: center;
}

.progress-ring strong {
  font-size: 22px;
  letter-spacing: -0.04em;
}

.progress-ring span {
  color: var(--text-faint);
  font-size: 10px;
}

.streak-copy {
  display: grid;
  gap: 4px;
}

.streak-copy > span {
  color: var(--text-soft);
  font-size: 12px;
}

.streak-copy strong {
  font-size: 24px;
  letter-spacing: -0.04em;
}

.streak-copy small {
  margin-top: 4px;
  color: var(--text-faint);
  font-size: 10px;
  line-height: 1.45;
}

.panel-heading p {
  margin: 5px 0 0;
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.5;
}

.note-panel textarea {
  width: 100%;
  min-height: 126px;
  margin-top: 17px;
  padding: 14px;
  resize: vertical;
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  line-height: 1.7;
}

.character-count {
  display: block;
  margin-top: 7px;
  color: var(--text-faint);
  font-size: 10px;
  text-align: right;
}

.save-status.is-saving {
  color: var(--accent);
}

.records-header {
  align-items: center;
}

.records-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.summary-card {
  padding: 20px;
  box-shadow: none;
}

.summary-card span {
  display: block;
  color: var(--text-soft);
  font-size: 11px;
}

.summary-card strong {
  display: block;
  margin-top: 11px;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.records-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.25fr);
  gap: 20px;
  align-items: start;
}

.week-panel,
.day-detail {
  padding: 23px;
}

.records-panel-heading {
  margin-bottom: 20px;
}

.week-strip {
  display: grid;
  gap: 8px;
}

.day-button {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  background: transparent;
  text-align: left;
  transition: background 150ms ease, border-color 150ms ease;
}

.day-button:hover {
  background: var(--surface);
}

.day-button.is-selected {
  border-color: color-mix(in srgb, var(--accent) 28%, var(--border));
  background: var(--accent-soft);
}

.day-number {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 11px;
  background: var(--surface-muted);
  font-size: 14px;
  font-weight: 720;
}

.day-button.is-selected .day-number {
  background: var(--accent);
  color: #f7fbf9;
}

.day-label strong,
.day-label span {
  display: block;
}

.day-label strong {
  font-size: 13px;
}

.day-label span,
.day-total {
  margin-top: 3px;
  color: var(--text-faint);
  font-size: 10px;
}

.detail-heading {
  align-items: flex-end;
  margin-bottom: 22px;
}

.detail-heading p {
  margin: 0 0 5px;
  color: var(--text-soft);
  font-size: 11px;
}

.completed-list {
  display: grid;
  gap: 9px;
}

.completed-item {
  display: grid;
  grid-template-columns: 23px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 11px;
  border-radius: var(--radius-control);
  background: var(--surface);
}

.completed-check {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 800;
}

.completed-item p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}

.completed-item time {
  color: var(--text-faint);
  font-size: 10px;
}

.record-note {
  margin-top: 16px;
  padding: 16px;
  border-left: 3px solid var(--accent);
  border-radius: 4px var(--radius-control) var(--radius-control) 4px;
  background: var(--accent-soft);
}

.record-note span {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-ink);
  font-size: 10px;
  font-weight: 700;
}

.record-note p {
  margin: 0;
  color: var(--text);
  font-size: 12px;
  line-height: 1.65;
}

.record-empty {
  padding: 58px 16px;
  color: var(--text-soft);
  font-size: 12px;
  text-align: center;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 260px;
  padding: 13px 14px 13px 17px;
  border: 1px solid color-mix(in srgb, var(--surface-strong) 14%, transparent);
  border-radius: 14px;
  background: #27312d;
  box-shadow: 0 14px 42px rgba(18, 28, 24, 0.22);
  color: #f2f6f4;
  font-size: 12px;
}

.toast[hidden] {
  display: none;
}

.toast.is-showing {
  animation: toast-in 220ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.toast button {
  margin-left: auto;
  padding: 6px 8px;
  border: 0;
  background: transparent;
  color: #9fd0bc;
  font-size: 12px;
  font-weight: 720;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes task-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes drag-lift {
  from { transform: scale(1); }
  to { transform: scale(1.055); }
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  :root { --sidebar-width: 86px; }

  .sidebar { padding-inline: 13px; }
  .brand { margin-inline: auto; }
  .brand > span:last-child,
  .nav-item > span:last-child,
  .sidebar-footer p,
  .theme-toggle > span:last-child { display: none; }
  .nav-item,
  .theme-toggle { justify-content: center; padding-inline: 0; }
  .today-grid { grid-template-columns: 1fr; }
  .insight-column { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .records-layout { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  :root { --sidebar-width: 0px; }

  .app-shell { padding-bottom: 74px; }
  .sidebar {
    inset: auto 0 0;
    z-index: 8;
    width: 100%;
    height: 66px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 8px 14px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
    border-right: 0;
  }
  .brand,
  .sidebar-footer { display: none; }
  .nav-list {
    grid-template-columns: repeat(2, minmax(0, 150px));
    width: 100%;
    justify-content: center;
    gap: 8px;
  }
  .nav-item { min-height: 47px; }
  .nav-item > span:last-child { display: inline; }
  .nav-glyph { width: 25px; height: 25px; }
  .main-content {
    margin-left: 0;
    padding: 30px 16px 54px;
  }
  .page-header { align-items: flex-start; margin-bottom: 26px; }
  h1 { font-size: 32px; }
  .header-summary { padding-top: 5px; font-size: 11px; }
  .today-grid { gap: 22px; }
  .quick-add { grid-template-columns: 1fr; gap: 8px; }
  .quick-add input { height: 44px; }
  .primary-button { min-height: 43px; }
  .input-hint { display: none; }
  .input-error { top: calc(100% + 5px); right: 4px; }
  .list-toolbar { margin-top: 27px; }
  .filter-button { padding-inline: 12px; }
  .task-item { padding-inline: 12px; }
  .delete-button { opacity: 1; }
  .insight-column { grid-template-columns: 1fr; }
  .records-header { align-items: flex-end; }
  .records-summary { grid-template-columns: 1fr 1fr; }
  .summary-card:first-child { grid-column: 1 / -1; }
  .summary-card { padding: 17px; }
  .summary-card strong { font-size: 22px; }
  .week-panel, .day-detail { padding: 18px; }
  .toast {
    right: 14px;
    bottom: 82px;
    left: 14px;
    min-width: 0;
  }
}

@media (max-width: 420px) {
  .date-line { font-size: 12px; }
  h1 { font-size: 29px; }
  .header-summary { display: none; }
  .progress-content { grid-template-columns: 96px 1fr; }
  .progress-ring { width: 96px; height: 96px; }
  .progress-ring::before { width: 74px; height: 74px; }
  .records-header .secondary-button { min-height: 38px; padding-inline: 12px; font-size: 11px; }
}

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