:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", sans-serif;
  --bg: #f5f5f7;
  --surface: rgba(255, 255, 255, 0.92);
  --ink: #1d1d1f;
  --muted: #86868b;
  --line: rgba(0, 0, 0, 0.07);
  --gold: #b38a48;
  --gold-soft: #efe2ca;
  --danger: #b42318;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

body {
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.login-screen {
  display: grid;
  min-height: 100vh;
  padding: max(28px, env(safe-area-inset-top)) 22px max(28px, env(safe-area-inset-bottom));
  place-items: center;
  background:
    radial-gradient(circle at 80% 10%, rgba(179, 138, 72, 0.16), transparent 35%),
    var(--bg);
}

.login-card {
  width: min(100%, 430px);
  padding: 40px 32px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.brand-logo {
  display: block;
  width: min(100%, 280px);
  height: auto;
  margin: -8px auto 30px;
  object-fit: contain;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.login-card h1 {
  margin: 10px 0 16px;
  font-size: clamp(34px, 10vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.login-copy {
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

label {
  display: block;
  margin: 0 3px 8px;
  color: #6e6e73;
  font-size: 13px;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #d8d8dc;
  border-radius: 16px;
  outline: none;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
}

textarea {
  min-height: 92px;
  padding-top: 14px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(29, 29, 31, 0.08);
}

.primary-button,
.secondary-button,
.preview-button {
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 26px;
  font-weight: 680;
}

.primary-button {
  margin-top: 18px;
  background: var(--ink);
  color: #fff;
}

.secondary-button {
  border: 1px solid #d2d2d7;
  background: #fff;
  color: var(--ink);
}

.preview-button {
  margin-top: 12px;
  background: var(--gold-soft);
  color: #62471e;
}

.form-message {
  min-height: 20px;
  margin: 14px 0 0;
  color: var(--danger);
  font-size: 13px;
}

.install-panel {
  display: flex;
  margin-top: 18px;
  padding: 15px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(239, 226, 202, 0.48);
}

.install-panel strong,
.install-panel span {
  display: block;
}

.install-panel strong {
  font-size: 13px;
}

.install-panel span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.install-button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 18px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 680;
}

.app-shell {
  min-height: 100vh;
  padding-bottom: calc(82px + env(safe-area-inset-bottom));
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  min-height: calc(58px + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 20px 0;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  background: rgba(245, 245, 247, 0.82);
  backdrop-filter: saturate(180%) blur(24px);
}

.topbar > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.topbar .topbar-actions {
  align-items: center;
  gap: 14px;
}

.brand-name {
  font-size: 17px;
  font-weight: 700;
}

.connection-state {
  color: var(--muted);
  font-size: 11px;
}

.text-button {
  padding: 9px 2px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
}

.app-content {
  width: min(100%, 880px);
  margin: 0 auto;
  padding: 34px 20px 60px;
}

.app-content:focus {
  outline: none;
}

.page-head {
  margin-bottom: 30px;
}

.page-copy,
.batch-copy {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.page-copy {
  max-width: 560px;
  margin: 18px 0 0;
}

.page-title {
  margin: 6px 0 0;
  font-size: clamp(44px, 13vw, 72px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.section-head {
  display: flex;
  margin: 40px 4px 16px;
  align-items: flex-end;
  justify-content: space-between;
}

.section-head h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.025em;
}

.section-head span {
  color: var(--muted);
  font-size: 12px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.alert-list,
.history-list,
.batch-list,
.settlement-list,
.fund-list,
.material-list {
  display: grid;
  gap: 14px;
}

.alert-card {
  display: grid;
  min-height: 84px;
  padding: 18px 20px;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  color: var(--ink);
  text-align: left;
}

.alert-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.alert-critical .alert-dot {
  background: var(--danger);
  box-shadow: 0 0 0 7px rgba(180, 35, 24, 0.08);
}

.alert-card strong,
.alert-card small {
  display: block;
}

.alert-card strong {
  font-size: 15px;
}

.alert-card small {
  margin-top: 6px;
  color: var(--muted);
}

.chevron {
  color: #b0b0b5;
  font-size: 28px;
  font-weight: 300;
}

.quick-grid,
.metric-grid,
.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.quick-card {
  display: flex;
  min-height: 162px;
  padding: 20px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  border-radius: 28px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  box-shadow: var(--shadow);
}

.quick-card-dark {
  background: var(--ink);
  color: #fff;
}

.quick-card-primary {
  grid-column: 1 / -1;
}

.quick-card-gold {
  background: linear-gradient(145deg, #f4ead7, #dfc494);
  color: #49371d;
}

.quick-index {
  margin-bottom: auto;
  color: #a1a1a6;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.quick-card strong {
  font-size: 23px;
  letter-spacing: -0.03em;
}

.quick-card small {
  margin-top: 6px;
  color: var(--muted);
}

.metric-card {
  min-height: 118px;
  padding: 20px;
}

.metric-label,
.metric-value {
  display: block;
}

.metric-label {
  color: var(--muted);
  font-size: 12px;
}

.metric-value {
  margin-top: 22px;
  overflow: hidden;
  font-size: clamp(20px, 5vw, 28px);
  font-weight: 700;
  letter-spacing: -0.035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-card-materials .metric-value {
  margin-top: 12px;
}

.metric-breakdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  gap: 8px 14px;
}

.metric-breakdown-row {
  display: flex;
  min-width: 0;
  align-items: baseline;
  justify-content: space-between;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}

.metric-breakdown-row > span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.metric-breakdown-row strong {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.metric-breakdown-empty {
  color: var(--muted);
  font-size: 11px;
}

.material-card,
.batch-card,
.settlement-card,
.fund-card {
  padding: 22px;
}

.settlement-entry {
  position: relative;
  display: grid;
  margin-bottom: 34px;
  padding: 26px;
  overflow: hidden;
  gap: 24px;
  background:
    radial-gradient(circle at 92% 8%, rgba(223, 196, 148, 0.32), transparent 34%),
    linear-gradient(145deg, #1d1d1f, #35353a);
  color: #fff;
}

.settlement-entry .eyebrow {
  color: #d8bd8a;
}

.settlement-entry-copy h2 {
  margin: 8px 0 12px;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.settlement-entry-copy p:last-child,
.settlement-entry-status p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.65;
}

.settlement-entry-status {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.settlement-entry-status span,
.settlement-entry-status strong {
  display: block;
}

.settlement-entry-status span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
}

.settlement-entry-status strong {
  margin: 7px 0 6px;
  font-size: 18px;
}

.settlement-entry-actions {
  margin-top: 0;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.settlement-entry-button {
  min-height: 42px;
  padding: 0 18px;
  background: #e6d0a5;
  color: #302415;
}

.settlement-profit {
  display: flex;
  margin-top: 20px;
  padding: 18px;
  align-items: center;
  justify-content: space-between;
  border-radius: 20px;
  background: #eef7ef;
  color: #225c2b;
}

.settlement-profit span {
  font-size: 12px;
}

.settlement-profit strong {
  font-size: 24px;
}

.settlement-profit.profit-negative {
  background: #fce8e6;
  color: var(--danger);
}

.evidence-link {
  display: inline-flex;
  min-height: 36px;
  padding: 0 15px;
  align-items: center;
  border-radius: 18px;
  background: #efeff1;
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.fund-head > div,
.batch-head > div {
  min-width: 0;
}

.fund-head > div span,
.batch-head > div span {
  color: var(--muted);
  font-size: 11px;
}

.fund-head > strong {
  white-space: nowrap;
}

.material-head,
.batch-head,
.fund-head,
.history-head,
.detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.material-head h3,
.batch-head h3,
.fund-head h3 {
  margin: 0;
  font-size: 20px;
}

.pill {
  display: inline-flex;
  min-height: 28px;
  padding: 0 11px;
  align-items: center;
  border-radius: 14px;
  background: #efeff1;
  color: #6e6e73;
  font-size: 11px;
  font-weight: 650;
}

.pill-danger {
  background: #fce8e6;
  color: var(--danger);
}

.detail-grid {
  display: grid;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.detail-grid div {
  min-width: 0;
}

.detail-grid span,
.detail-grid strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.unpriced-detail {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--danger);
  font-size: 11px;
  line-height: 1.6;
}

.pool-line {
  display: flex;
  margin-top: 16px;
  padding-top: 14px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  font-size: 11px;
}

.pool-line span {
  color: var(--muted);
}

.pool-line strong {
  text-align: right;
}

.pool-summary {
  display: flex;
  padding: 0 20px 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.pool-summary span {
  padding: 7px 10px;
  border-radius: 14px;
  background: #efeff1;
  color: #6e6e73;
  font-size: 10px;
}

.pricing-entries {
  border-top: 1px solid var(--line);
}

.pricing-entry {
  display: grid;
  padding: 14px 20px;
  grid-template-columns: minmax(70px, auto) 1fr auto;
  align-items: center;
  gap: 10px;
}

.pricing-entry + .pricing-entry {
  border-top: 1px solid var(--line);
}

.pricing-entry > span {
  color: var(--muted);
  font-size: 10px;
}

.pricing-entry > strong {
  font-size: 12px;
}

.reconciliation-details {
  margin-top: 16px;
}

.reconciliation-list {
  border-top: 1px solid var(--line);
}

.reconciliation-row {
  display: grid;
  padding: 14px 16px;
  grid-template-columns: minmax(100px, 0.7fr) 1.3fr;
  gap: 12px;
}

.reconciliation-row + .reconciliation-row {
  border-top: 1px solid var(--line);
}

.reconciliation-row strong,
.reconciliation-row span {
  display: block;
}

.reconciliation-row span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.detail-grid span {
  color: var(--muted);
  font-size: 11px;
}

.detail-grid strong {
  margin-top: 7px;
  font-size: 14px;
}

.history-card {
  padding: 18px 20px;
}

.daily-group {
  overflow: hidden;
}

.daily-group > summary {
  display: flex;
  padding: 20px;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
}

.daily-group > summary::-webkit-details-marker {
  display: none;
}

.daily-group > summary strong,
.daily-group > summary span {
  display: block;
}

.daily-group > summary span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.daily-chevron {
  color: var(--muted);
  font-size: 24px !important;
  transform: rotate(0deg);
  transition: transform 180ms ease;
}

.daily-group[open] .daily-chevron {
  transform: rotate(90deg);
}

.daily-metrics {
  display: flex;
  padding: 0 20px 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.daily-metrics span {
  padding: 7px 10px;
  border-radius: 14px;
  background: #efeff1;
  color: #6e6e73;
  font-size: 10px;
}

.daily-events {
  border-top: 1px solid var(--line);
}

.daily-events .history-card + .history-card {
  border-top: 1px solid var(--line);
}

.history-head strong {
  font-size: 15px;
}

.history-head time {
  color: #a1a1a6;
  font-size: 10px;
}

.history-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.inline-button {
  min-height: 36px;
  padding: 0 15px;
  border-radius: 18px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 650;
}

.card-actions {
  display: flex;
  margin-top: 18px;
  justify-content: flex-end;
  gap: 10px;
}

.section-button {
  padding: 8px 14px;
  border-radius: 18px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
}

.empty-state {
  padding: 44px 26px;
  color: var(--muted);
  text-align: center;
  line-height: 1.65;
}

.bottom-nav {
  position: fixed;
  z-index: 30;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  min-height: calc(62px + env(safe-area-inset-bottom));
  padding: 0 14px env(safe-area-inset-bottom);
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: rgba(251, 251, 253, 0.9);
  backdrop-filter: saturate(180%) blur(24px);
}

.bottom-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #929297;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.bottom-nav a.active {
  color: var(--ink);
}

.action-dialog {
  width: min(100% - 24px, 620px);
  max-height: calc(100vh - 24px);
  margin: auto auto 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 32px 32px 0 0;
  background: #f8f8fa;
  color: var(--ink);
  box-shadow: 0 -20px 80px rgba(0, 0, 0, 0.16);
}

.action-dialog::backdrop {
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(5px);
}

.install-steps {
  display: grid;
  margin: 26px 0 18px;
  padding-left: 24px;
  gap: 16px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}

.install-steps li::marker {
  color: var(--gold);
  font-weight: 750;
}

.install-other {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #f5f5f7;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.dialog-shell {
  max-height: calc(100vh - 24px);
  overflow-y: auto;
  padding: 24px 22px calc(28px + env(safe-area-inset-bottom));
}

.dialog-head {
  display: flex;
  margin-bottom: 24px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.dialog-head h2 {
  margin: 5px 0 0;
  font-size: 32px;
  letter-spacing: -0.04em;
}

.close-button {
  display: grid;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e8e8eb;
  color: #6e6e73;
  font-size: 20px;
  place-items: center;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.ocr-upload {
  display: grid;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  gap: 12px;
}

.ocr-result {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.draft-success > strong {
  color: #225c2b;
  font-size: 13px;
}

.draft-success p {
  margin: 8px 0 0;
}

.draft-success ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #8a5a12;
}

.draft-pricing-row {
  display: grid;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f5f5f7;
  gap: 3px;
}

.draft-pricing-row span {
  color: var(--muted);
  font-size: 10px;
}

.draft-warning {
  color: var(--danger);
}

#line-list {
  display: grid;
  gap: 12px;
}

.entry-line {
  position: relative;
  display: grid;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.entry-line > div:first-child {
  grid-column: 1 / -1;
  padding-right: 34px;
}

.entry-line[data-kind="settlement"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.entry-line[data-kind="settlement"] > div:first-child {
  grid-column: 1 / -1;
}

.recovery-pricing-head {
  display: flex;
  grid-column: 1 / -1;
  padding-top: 13px;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  gap: 12px;
}

.recovery-pricing-head strong {
  font-size: 12px;
}

.recovery-pricing-head span {
  color: var(--muted);
  font-size: 10px;
}

.remove-line {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #efeff1;
  color: #86868b;
  place-items: center;
}

button:disabled {
  cursor: wait;
  opacity: 0.55;
}

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

.form-hint {
  margin: 8px 3px 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.optional-section {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.optional-section summary {
  padding: 17px 18px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
}

.optional-fields {
  display: grid;
  padding: 0 16px 16px;
  gap: 14px;
}

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

.reference-links a {
  display: flex;
  min-height: 48px;
  padding: 0 14px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}

.draft-list {
  display: grid;
  margin-top: 16px;
  gap: 10px;
}

.draft-row {
  display: flex;
  padding: 14px 16px;
  align-items: center;
  justify-content: space-between;
  border-radius: 18px;
  background: #fff;
}

.draft-row strong,
.draft-row small {
  display: block;
}

.draft-row small {
  margin-top: 4px;
  color: var(--muted);
}

.remove-button {
  padding: 8px;
  background: transparent;
  color: var(--danger);
  font-size: 12px;
}

.danger-note {
  padding: 14px 16px;
  border-radius: 18px;
  background: #fce8e6;
  color: var(--danger);
  font-size: 12px;
  line-height: 1.55;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: calc(88px + env(safe-area-inset-bottom));
  left: 24px;
  max-width: 440px;
  margin: 0 auto;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(29, 29, 31, 0.94);
  color: #fff;
  font-size: 13px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 180ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 720px) {
  .app-content {
    padding-top: 56px;
  }

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

  .quick-card-primary {
    grid-column: span 2;
  }

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

  .settlement-entry {
    grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
    align-items: center;
  }

  .settlement-entry-actions {
    grid-column: 1 / -1;
  }

  .bottom-nav {
    right: 50%;
    left: 50%;
    width: 520px;
    border: 1px solid var(--line);
    border-bottom: 0;
    border-radius: 24px 24px 0 0;
    transform: translateX(-50%);
  }

  .action-dialog {
    margin-bottom: 24px;
    border-radius: 32px;
  }
}

@media (max-width: 520px) {
  .entry-line[data-kind="settlement"] {
    grid-template-columns: 1fr;
  }

  .entry-line[data-kind="settlement"] > div:first-child {
    grid-column: auto;
  }
}

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