:root {
  --bg: #f7fbf8;
  --surface: #ffffff;
  --surface-strong: #eef7f4;
  --text: #132d35;
  --muted: #5b6f78;
  --border: #d9e8e5;
  --brand: #147a88;
  --brand-strong: #0d5f6d;
  --brand-soft: #d8f3f6;
  --green: #77b85a;
  --green-soft: #e8f5df;
  --amber: #f3bd58;
  --amber-soft: #fff2d8;
  --coral: #e98872;
  --coral-soft: #ffe5df;
  --blue: #4a9fd8;
  --blue-soft: #deeffb;
  --shadow: 0 16px 40px rgba(19, 45, 53, 0.12);
  --shadow-soft: 0 8px 22px rgba(19, 45, 53, 0.08);
  --radius: 8px;
  --nav-height: 88px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  letter-spacing: 0;
}

[data-theme="dark"] {
  --bg: #111b1f;
  --surface: #18272c;
  --surface-strong: #20343a;
  --text: #eef7f4;
  --muted: #b8c8ca;
  --border: #2f474d;
  --brand: #54c7d6;
  --brand-strong: #9ce7ef;
  --brand-soft: #173940;
  --green: #9bdd78;
  --green-soft: #213a25;
  --amber: #f6ca75;
  --amber-soft: #3b3020;
  --coral: #f3a08b;
  --coral-soft: #3e2725;
  --blue: #83c5ee;
  --blue-soft: #1f3444;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
  --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--surface-strong) 48%, var(--bg) 100%);
  color: var(--text);
}

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

button,
input,
select,
textarea {
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 50;
  transform: translateY(-140%);
  background: var(--brand);
  color: #ffffff;
  padding: 10px 14px;
  border-radius: var(--radius);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.app-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--nav-height);
  border-bottom: 1px solid transparent;
  background: rgba(247, 251, 248, 0.92);
  transition: min-height 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, backdrop-filter 180ms ease;
}

[data-theme="dark"] .app-nav {
  background: rgba(17, 27, 31, 0.9);
}

.app-nav.is-scrolled {
  min-height: 68px;
  border-color: var(--border);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.nav-inner {
  width: min(1160px, calc(100% - 28px));
  min-height: inherit;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.brand-logo {
  width: 220px;
  height: auto;
  max-height: 62px;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  position: relative;
  padding: 10px 12px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button,
.theme-toggle,
.primary-button,
.secondary-button,
.ghost-button {
  min-height: 44px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.icon-button:hover,
.theme-toggle:hover,
.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.icon-button:focus-visible,
.theme-toggle:focus-visible,
.primary-button:focus-visible,
.secondary-button:focus-visible,
.ghost-button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent);
  outline-offset: 2px;
}

.icon-button {
  width: 44px;
  display: inline-grid;
  place-items: center;
  padding: 0;
}

.mobile-menu-button {
  gap: 4px;
}

.mobile-menu-button span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  display: block;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
}

.toggle-track {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid var(--border);
  padding: 2px;
  display: flex;
  align-items: center;
}

.toggle-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand);
  transform: translateX(0);
  transition: transform 180ms ease, background 180ms ease;
}

[data-theme="dark"] .toggle-thumb {
  transform: translateX(18px);
  background: var(--amber);
}

.theme-toggle-label {
  display: none;
}

.workspace-band {
  padding: 36px 0 28px;
}

.planner-grid {
  display: grid;
  gap: 24px;
}

.planner-copy {
  align-self: center;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  max-width: 740px;
  font-size: 2.35rem;
  line-height: 1.04;
}

h2 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.14;
}

h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.22;
}

.lede {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.6;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.trust-row span,
.status-pill,
.domain-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 800;
}

.surface {
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.planner-form {
  padding: 18px;
}

.form-header,
.section-heading,
.dialog-header,
.dialog-actions,
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.field-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.field {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea,
.dialog-field input,
.dialog-field textarea,
.dialog-field select {
  width: 100%;
  min-height: 46px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 10px 12px;
}

.field textarea,
.dialog-field textarea {
  min-height: 96px;
  resize: vertical;
}

.choice-group {
  margin: 18px 0 0;
  padding: 0;
  border: 0;
}

.choice-group legend {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-chip {
  position: relative;
}

.choice-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 800;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.choice-chip input:checked + span {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.choice-chip input:focus-visible + span {
  outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent);
  outline-offset: 2px;
}

.mode-options {
  display: grid;
  gap: 10px;
}

.mode-card {
  position: relative;
  min-width: 0;
}

.mode-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mode-card span {
  min-height: 76px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 13px;
  display: grid;
  align-content: center;
  gap: 4px;
}

.mode-card strong {
  color: var(--text);
  font-size: 1rem;
}

.mode-card small {
  color: var(--muted);
  line-height: 1.35;
}

.mode-card input:checked + span {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: inset 4px 0 0 var(--brand);
}

.mode-card input:focus-visible + span {
  outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent);
  outline-offset: 2px;
}

.form-actions {
  align-items: stretch;
  margin-top: 18px;
  flex-wrap: wrap;
}

.primary-button,
.secondary-button,
.ghost-button {
  padding: 0 16px;
}

.primary-button {
  border-color: var(--brand);
  background: var(--brand);
  color: #ffffff;
}

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

.ghost-button {
  border-color: transparent;
  background: transparent;
  color: var(--brand-strong);
}

.dashboard-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.metric {
  min-height: 92px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 14px;
  display: grid;
  align-content: center;
}

.metric-value {
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 950;
  color: var(--brand);
}

.metric-label {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.section-block {
  padding: 36px 0;
}

.section-heading {
  align-items: flex-end;
  margin-bottom: 16px;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.empty-state,
.validation-panel,
.install-help {
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
}

.empty-state p,
.validation-panel p,
.install-help p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.validation-panel {
  margin-bottom: 14px;
  border-style: solid;
  background: var(--amber-soft);
}

.validation-panel strong {
  display: block;
  margin-bottom: 6px;
}

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

.day-column {
  display: grid;
  gap: 10px;
}

.day-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px;
}

.day-heading span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.activity-card,
.library-card,
.saved-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 16px;
}

.activity-card {
  display: grid;
  gap: 12px;
}

.card-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.card-title-group {
  min-width: 0;
}

.card-title-group p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.status-pill.approved {
  border-color: color-mix(in srgb, var(--green) 55%, var(--border));
  background: var(--green-soft);
  color: color-mix(in srgb, var(--green) 60%, var(--text));
}

.status-pill.flagged {
  border-color: color-mix(in srgb, var(--amber) 65%, var(--border));
  background: var(--amber-soft);
  color: color-mix(in srgb, var(--amber) 60%, var(--text));
}

.status-pill.rejected {
  border-color: color-mix(in srgb, var(--coral) 65%, var(--border));
  background: var(--coral-soft);
  color: color-mix(in srgb, var(--coral) 60%, var(--text));
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.domain-pill {
  background: var(--blue-soft);
  color: color-mix(in srgb, var(--blue) 60%, var(--text));
}

.card-section {
  display: grid;
  gap: 4px;
}

.card-section strong {
  font-size: 0.86rem;
  color: var(--text);
}

.card-section p,
.card-section ul {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.card-section ul {
  padding-left: 18px;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.library-grid,
.saved-grid {
  display: grid;
  gap: 12px;
}

.library-card {
  display: grid;
  gap: 10px;
}

.library-card p,
.saved-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.saved-card {
  display: grid;
  gap: 12px;
}

.saved-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.install-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.install-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.activity-dialog {
  width: min(760px, calc(100% - 24px));
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}

.activity-dialog::backdrop {
  background: rgba(10, 20, 24, 0.62);
  backdrop-filter: blur(4px);
}

.dialog-shell {
  padding: 18px;
}

.dialog-body {
  display: grid;
  gap: 12px;
  margin: 18px 0;
  max-height: min(68vh, 720px);
  overflow: auto;
  padding-right: 4px;
}

.dialog-field {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.dialog-field small {
  color: var(--muted);
  font-weight: 700;
}

.toast-region {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 60;
  display: grid;
  gap: 10px;
  width: min(390px, calc(100% - 28px));
}

.toast {
  border: 1px solid var(--border);
  border-left: 5px solid var(--brand);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 12px 14px;
  animation: toastIn 180ms ease;
}

.toast.error {
  border-left-color: var(--coral);
}

.toast.success {
  border-left-color: var(--green);
}

.toast.warning {
  border-left-color: var(--amber);
}

.toast strong {
  display: block;
  margin-bottom: 3px;
}

.toast p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.print-sheet {
  display: none;
}

.app-header {
  padding: 18px 0 8px;
}

.masthead {
  position: relative;
  width: min(1160px, calc(100% - 32px));
  min-height: 116px;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.brand {
  justify-content: center;
}

.brand-logo {
  width: clamp(280px, 34vw, 440px);
  max-height: 132px;
  object-position: center;
}

.utility-actions {
  position: absolute;
  right: 0;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateY(-50%);
}

.utility-actions #installButton {
  display: none;
}

.install-start {
  margin-top: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.install-start h2 {
  font-size: 1.2rem;
}

.install-start p:not(.eyebrow) {
  margin: 6px 0 0;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.5;
}

.app-workspace {
  padding: 18px 0 48px;
}

.app-shell {
  display: grid;
  gap: 22px;
}

.step-sidebar {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 14px;
}

.step-list {
  display: grid;
  gap: 8px;
}

.step-button {
  width: 100%;
  min-height: 64px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  text-align: left;
  padding: 12px;
  display: grid;
  gap: 3px;
}

.step-button span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.step-button strong {
  font-size: 1rem;
  line-height: 1.15;
}

.step-button.is-active {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-strong);
  box-shadow: inset 4px 0 0 var(--brand);
}

.step-stage {
  min-width: 0;
}

.step-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--shadow);
  padding: 22px;
}

.step-panel[hidden] {
  display: none;
}

.step-panel .planner-grid {
  gap: 22px;
}

.print-install-grid {
  display: grid;
  gap: 14px;
}

.finish-grid {
  display: grid;
  gap: 14px;
}

.finish-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px;
  display: grid;
  gap: 12px;
}

.finish-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.finish-card .primary-button {
  justify-self: start;
}

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

@media (max-width: 779px) {
  .page-shell {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  .app-header {
    padding-top: 14px;
  }

  .masthead {
    min-height: auto;
    display: grid;
    gap: 12px;
  }

  .brand-logo {
    width: min(280px, 82vw);
    max-height: 92px;
  }

  .brand {
    width: 100%;
  }

  .utility-actions {
    position: static;
    width: auto;
    justify-content: flex-start;
    transform: none;
    gap: 6px;
    flex: 0 0 auto;
    z-index: 30;
    display: flex;
  }

  .install-start {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    flex-direction: column;
    align-items: flex-start;
    margin-top: 12px;
    overflow: hidden;
  }

  .install-start > div {
    width: 100%;
    min-width: 0;
  }

  .install-start p:not(.eyebrow) {
    max-width: 100%;
  }

  #installButton {
    display: none;
  }

  .icon-button {
    width: 36px;
    min-height: 36px;
  }

  .theme-toggle {
    min-height: 36px;
    padding: 0 5px;
  }

  .toggle-track {
    width: 32px;
    height: 20px;
  }

  .toggle-thumb {
    width: 14px;
    height: 14px;
  }

  [data-theme="dark"] .toggle-thumb {
    transform: translateX(12px);
  }

  h1 {
    max-width: 340px;
    font-size: 1.82rem;
    line-height: 1.08;
  }

  .lede {
    max-width: 340px;
  }

  .planner-copy,
  .planner-form,
  .field,
  .choice-group {
    min-width: 0;
  }

  .app-workspace {
    padding-top: 10px;
  }

  .app-shell {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    gap: 14px;
  }

  .step-sidebar {
    padding: 12px;
  }

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

  .step-button {
    min-width: 0;
    min-height: 58px;
  }

  .step-panel {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: 18px;
  }

  .trust-row {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 260px);
  }

  .trust-row span {
    justify-content: center;
  }

  .section-heading,
  .form-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-actions,
  .form-actions {
    width: 100%;
  }

  .section-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .section-actions button,
  .form-actions button {
    flex: 1 1 160px;
  }

  .install-help {
    align-items: flex-start;
    flex-direction: column;
  }

  .install-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .install-actions button {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 700px) {
  .page-shell,
  .install-start,
  .app-shell {
    width: min(342px, calc(100vw - 48px));
    max-width: min(342px, calc(100vw - 48px));
    margin-left: 16px;
    margin-right: auto;
  }

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

  .step-button {
    min-height: 56px;
  }
}

@media (min-width: 640px) {
  .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .theme-toggle-label {
    display: inline;
  }
}

@media (min-width: 780px) {
  .mobile-menu-button {
    display: none;
  }

  .nav-links {
    display: flex;
  }

  .app-shell {
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: start;
  }

  .step-sidebar {
    position: sticky;
    top: 18px;
  }

  .planner-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    align-items: center;
  }

  .workspace-band {
    padding: 64px 0 36px;
  }

  .week-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .day-column {
    min-width: 0;
  }

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

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

@media (min-width: 1180px) {
  .week-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

@media print {
  :root {
    color-scheme: light;
  }

  body {
    background: #ffffff;
    color: #101820;
  }

.app-header,
main,
  .toast-region,
  .activity-dialog {
    display: none !important;
  }

  .print-sheet {
    display: block;
    padding: 0;
  }

  .print-page {
    break-after: page;
    padding: 20px;
  }

  .print-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 2px solid #d6e4e0;
    padding-bottom: 12px;
    margin-bottom: 16px;
  }

  .print-header img {
    width: 220px;
  }

  .print-day {
    break-inside: avoid;
    margin-bottom: 14px;
  }

  .print-card {
    break-inside: avoid;
    border: 1px solid #d6e4e0;
    border-radius: 6px;
    padding: 12px;
    margin: 8px 0;
  }

  .print-card h4,
  .print-day h3 {
    margin: 0 0 6px;
  }

  .print-card p,
  .print-card li {
    font-size: 12px;
    line-height: 1.45;
  }

  .print-notes {
    min-height: 72px;
    border: 1px dashed #a8bbb8;
    border-radius: 6px;
    margin-top: 8px;
  }
}
