/* Gill & Paul day-of desk — intentionally dependency-free. */
:root {
  color-scheme: light;
  --ink: #24312f;
  --ink-soft: #5e6b67;
  --forest: #173f43;
  --forest-2: #24555a;
  --sea: #4f786f;
  --sage: #a9b9a6;
  --cream: #f5f0e7;
  --cream-deep: #ebe2d4;
  --paper: #fffdf8;
  --paper-warm: #fbf7ef;
  --terracotta: #b96847;
  --terracotta-dark: #925038;
  --rose: #c98691;
  --gold: #d9a94f;
  --line: #ddd6ca;
  --line-dark: #c9c0b2;
  --success: #36705c;
  --warning: #9a6824;
  --danger: #a64942;
  --blue: #4f6f96;
  --shadow-sm: 0 1px 2px rgb(27 47 43 / 6%), 0 6px 18px rgb(27 47 43 / 5%);
  --shadow-md: 0 18px 50px rgb(30 53 48 / 12%);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --sidebar-width: 236px;
  --topbar-height: 76px;
  --global-header-height: 52px;
  --section-subheader-height: 56px;
  --type-meta: 12px;
  --type-compact: 13px;
  --type-body: 14px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% -10%, rgb(205 177 137 / 20%), transparent 28rem),
    var(--cream);
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
  pointer-events: none;
  content: "";
}

button,
input,
select {
  font: inherit;
}

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

a {
  color: inherit;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgb(185 104 71 / 32%);
  outline-offset: 3px;
}

::selection {
  color: var(--paper);
  background: var(--terracotta);
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: white;
  background: var(--forest);
  border-radius: 8px;
  transform: translateY(-160%);
}

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

.boot-screen {
  display: grid;
  min-height: 100vh;
  place-content: center;
  gap: 18px;
  text-align: center;
}

.boot-screen p {
  margin: 0;
  color: var(--ink-soft);
}

.boot-mark,
.brand-mark {
  display: inline-grid;
  place-items: center;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.08em;
}

.boot-mark {
  width: 86px;
  height: 86px;
  margin: auto;
  color: var(--paper);
  font-size: 30px;
  background: var(--forest);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

.boot-mark span,
.brand-mark span {
  margin-inline: 0.1em 0.13em;
  color: var(--terracotta);
  font-size: 0.72em;
  font-style: italic;
}

.noscript {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 200;
  padding: 14px 18px;
  color: white;
  text-align: center;
  background: var(--danger);
  border-radius: 12px;
}

.topbar {
  position: sticky;
  z-index: 60;
  top: 0;
  display: flex;
  min-height: var(--topbar-height);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px clamp(18px, 3vw, 38px);
  background: rgb(255 253 248 / 92%);
  border-bottom: 1px solid rgb(201 192 178 / 75%);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  flex: 0 0 auto;
  width: 45px;
  height: 45px;
  color: var(--paper);
  font-size: 16px;
  background: var(--forest);
  border-radius: 50%;
}

.brand-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.brand-copy strong {
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1;
}

.brand-copy small {
  overflow: hidden;
  max-width: 55vw;
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.draft-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  color: #785023;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  background: #f8e9c8;
  border: 1px solid #ead4a6;
  border-radius: 999px;
}

.draft-pill > span {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgb(217 169 79 / 18%);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.menu-button > span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--forest);
  border-radius: 2px;
}

.mobile-navigation {
  display: none;
}

.app-layout {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  max-width: 1640px;
  min-height: calc(100vh - var(--topbar-height) - 53px);
  margin: 0 auto;
}

.sidebar {
  padding: 26px 18px 32px;
  border-right: 1px solid var(--line);
}

.side-nav,
.mobile-nav {
  display: grid;
  gap: 5px;
}

.sidebar .side-nav {
  position: sticky;
  top: calc(var(--topbar-height) + 22px);
}

.nav-kicker {
  margin: 2px 11px 12px;
  color: #8c8174;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-link {
  display: grid;
  gap: 2px;
  padding: 11px 12px;
  color: #40514d;
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 11px;
  transition:
    color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.nav-link > span {
  font-size: 13px;
  font-weight: 760;
}

.nav-link small {
  color: #87908d;
  font-size: 10px;
}

.nav-link:hover {
  color: var(--forest);
  background: rgb(255 253 248 / 65%);
  transform: translateX(2px);
}

.nav-link.is-active {
  color: white;
  background: var(--forest);
  box-shadow: var(--shadow-sm);
}

.nav-link.is-active small {
  color: rgb(255 255 255 / 68%);
}

.nav-button {
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.nav-rule {
  height: 1px;
  margin: 13px 10px;
  background: var(--line);
}

.api-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 12px 0;
  color: #7c8783;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.api-dot {
  width: 7px;
  height: 7px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgb(54 112 92 / 13%);
}

.nav-active-summary {
  display: none;
}

.main-content {
  width: 100%;
  max-width: 1320px;
  min-width: 0;
  padding: clamp(24px, 4vw, 58px) clamp(18px, 4vw, 58px) 80px;
}

.site-footer {
  display: flex;
  min-height: 53px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px clamp(20px, 4vw, 60px);
  color: #7c8582;
  font-size: 11px;
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
}

.site-footer strong {
  color: var(--forest);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--terracotta-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

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

h1,
h2 {
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 10px;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: white;
  background: var(--forest);
  border-color: var(--forest);
  box-shadow: 0 8px 20px rgb(23 63 67 / 17%);
}

.button-primary:hover {
  background: var(--forest-2);
}

.button-secondary {
  color: var(--forest);
  background: var(--paper);
  border-color: var(--line-dark);
}

.button-ghost {
  color: var(--forest);
  background: rgb(255 253 248 / 64%);
  border-color: rgb(255 255 255 / 55%);
}

.button-quiet {
  min-height: 35px;
  color: var(--forest);
  background: transparent;
  border-color: var(--line);
}

.button-small {
  min-height: 35px;
  padding: 7px 12px;
  font-size: 11px;
  border-radius: 8px;
}

.button-full {
  width: 100%;
  margin-top: 14px;
}

.text-link {
  color: var(--forest-2);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.text-link:hover {
  color: var(--terracotta-dark);
}

.hero-card {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.6fr) minmax(220px, 0.7fr);
  min-height: 410px;
  background:
    linear-gradient(115deg, rgb(23 63 67 / 98%), rgb(36 85 90 / 94%)),
    var(--forest);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  isolation: isolate;
}

.hero-card::before,
.hero-card::after {
  position: absolute;
  z-index: -1;
  content: "";
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 50%;
}

.hero-card::before {
  top: -205px;
  right: -65px;
  width: 440px;
  height: 440px;
}

.hero-card::after {
  right: 110px;
  bottom: -270px;
  width: 520px;
  height: 520px;
}

.hero-copy {
  align-self: center;
  max-width: 710px;
  padding: clamp(36px, 6vw, 72px);
}

.hero-copy .eyebrow {
  color: #e3bc91;
}

.hero-copy h1 {
  margin: 0;
  color: white;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero-copy h1 em {
  color: #e2c6a4;
  font-weight: 400;
}

.hero-intro {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgb(255 255 255 / 72%);
  font-size: 15px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 29px;
}

.hero-actions .button-primary {
  color: var(--forest);
  background: #f3e8d7;
  border-color: #f3e8d7;
}

.date-card {
  position: relative;
  display: flex;
  min-height: 300px;
  align-self: center;
  justify-self: center;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(78%, 270px);
  padding: 28px 22px;
  color: var(--forest);
  text-align: center;
  background: #fbf3e5;
  border: 1px solid rgb(255 255 255 / 48%);
  border-radius: 140px 140px 18px 18px;
  box-shadow: 0 24px 60px rgb(0 0 0 / 18%);
}

.date-card::before {
  position: absolute;
  inset: 12px;
  pointer-events: none;
  content: "";
  border: 1px solid #dfcfb7;
  border-radius: inherit;
}

.date-month,
.date-year {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.date-card > strong {
  position: relative;
  z-index: 1;
  margin: -2px 0 -6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 86px;
  font-weight: 400;
  line-height: 1;
}

.date-rule {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 1px;
  margin: 18px 0 12px;
  background: var(--terracotta);
}

.countdown {
  position: relative;
  z-index: 1;
  color: var(--terracotta-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-style: italic;
}

.date-card small {
  position: relative;
  z-index: 1;
  margin-top: 9px;
  color: #68736f;
  font-size: 10px;
  line-height: 1.5;
}

.draft-notice,
.inline-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 18px;
  padding: 16px 18px;
  color: #6d522c;
  background: #fff7e5;
  border: 1px solid #ead7ad;
  border-radius: var(--radius);
}

.notice-icon {
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  place-items: center;
  color: white;
  font-size: 13px;
  font-weight: 900;
  background: var(--warning);
  border-radius: 50%;
}

.draft-notice strong,
.inline-note strong {
  display: block;
  margin-bottom: 3px;
  color: #67491c;
  font-size: 12px;
}

.draft-notice p,
.inline-note span {
  margin: 0;
  color: #806b49;
  font-size: 11px;
  line-height: 1.55;
}

.inline-note {
  align-items: baseline;
  margin: 0 0 24px;
}

.inline-note code {
  color: var(--forest);
  font-size: 10px;
  background: rgb(255 255 255 / 55%);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.stat-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  background: rgb(255 253 248 / 82%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.stat-card::after {
  position: absolute;
  top: -18px;
  right: -14px;
  width: 56px;
  height: 56px;
  background: var(--cream-deep);
  border-radius: 50%;
  content: "";
}

.stat-card > span {
  display: block;
  color: #7b8581;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.stat-card > strong {
  display: block;
  margin-top: 8px;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
}

.stat-card > strong small {
  color: #8a928f;
  font-size: 16px;
}

.stat-card p {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
}

.content-section {
  margin-top: clamp(42px, 6vw, 72px);
}

.section-heading,
.panel-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.section-heading h2,
.panel-heading h2 {
  margin: 0;
  font-size: clamp(27px, 3vw, 39px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.section-heading p:not(.eyebrow) {
  max-width: 650px;
  margin: 9px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.55;
}

.phase-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(112px, 1fr));
  overflow-x: auto;
  gap: 8px;
  padding-bottom: 8px;
  scrollbar-color: var(--line-dark) transparent;
}

.phase-card {
  position: relative;
  display: flex;
  min-height: 166px;
  flex-direction: column;
  padding: 17px 14px;
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.phase-card:hover {
  z-index: 2;
  border-color: var(--sage);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.phase-card::before {
  position: absolute;
  right: -5px;
  bottom: 31px;
  left: calc(100% - 7px);
  height: 1px;
  background: var(--line-dark);
  content: "";
}

.phase-card:last-child::before {
  display: none;
}

.phase-number {
  color: var(--terracotta);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-style: italic;
}

.phase-card strong {
  margin-top: 18px;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.16;
}

.phase-card small {
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.45;
}

.phase-card > span:last-child {
  margin-top: auto;
  color: #87908c;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.people-grid {
  display: grid;
  gap: 12px;
}

.people-grid-home {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.people-grid-full {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.person-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--person-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.person-card:hover {
  box-shadow: 0 12px 30px rgb(30 53 48 / 10%);
  transform: translateY(-2px);
}

.person-card-main {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.person-card-main > div {
  min-width: 0;
}

.person-card-main p {
  margin: 0 0 3px;
  color: #78827f;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.person-card-main h3 {
  margin: 0;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 600;
}

.person-card-main > div > span {
  display: block;
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.48;
}

.person-avatar,
.venue-avatar {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--person-color);
  border: 3px solid rgb(255 255 255 / 80%);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line);
}

.person-avatar-normal {
  width: 48px;
  height: 48px;
  font-size: 13px;
}

.person-avatar-small,
.venue-avatar {
  width: 38px;
  height: 38px;
  font-size: 11px;
}

.person-avatar-large {
  width: clamp(76px, 8vw, 104px);
  height: clamp(76px, 8vw, 104px);
  font-size: clamp(21px, 2.5vw, 30px);
  border-width: 5px;
}

.venue-avatar {
  color: var(--forest);
  font-size: 17px;
  background: var(--cream-deep);
}

.person-card-stats {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  padding-top: 14px;
  color: #7b8581;
  font-size: 9px;
  border-top: 1px solid #ece6dc;
}

.person-card-stats strong {
  color: var(--forest);
  font-size: 12px;
}

.person-card-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-height: 25px;
  margin-top: 12px;
}

.person-card-links {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: auto;
  padding-top: 15px;
}

.person-card-links a {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
}

.person-card-links a:last-child {
  margin-left: auto;
  color: var(--forest);
}

.person-card-compact {
  padding: 15px;
}

.person-card-compact .person-card-main h3 {
  font-size: 16px;
}

.person-card-compact .person-card-stats {
  margin-top: 12px;
  padding-top: 10px;
}

.person-card-compact .person-card-flags {
  display: none;
}

.person-card-compact .person-card-links {
  padding-top: 10px;
}

.badge {
  display: inline-flex;
  min-height: 21px;
  align-items: center;
  padding: 4px 8px;
  color: #59645f;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  background: #efede7;
  border: 1px solid transparent;
  border-radius: 999px;
  white-space: nowrap;
}

.badge-warning,
.badge-draft,
.badge-priority-medium {
  color: #81591e;
  background: #faedcf;
  border-color: #ecd8ad;
}

.badge-priority-high,
.badge-status-blocked {
  color: #893b36;
  background: #f8dfdc;
  border-color: #ebc1bd;
}

.badge-priority-low {
  color: #587069;
  background: #e9efeb;
}

.badge-success,
.badge-status-done,
.badge-status-ready {
  color: #34604f;
  background: #dfede5;
  border-color: #bfd6c7;
}

.badge-status-in-progress {
  color: #405d7d;
  background: #e1e9f2;
  border-color: #c7d5e5;
}

.badge-status-not-started {
  color: #626b68;
  background: #eeece7;
  border-color: #dcd8d0;
}

.split-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(42px, 6vw, 72px);
}

.ceremony-card,
.concept-card {
  padding: clamp(25px, 4vw, 42px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.ceremony-card {
  color: white;
  background: var(--forest);
  border-color: var(--forest);
}

.ceremony-card .eyebrow,
.ceremony-card .text-link {
  color: #e1bd96;
}

.ceremony-card h2,
.concept-card h2 {
  max-width: 420px;
  margin: 0;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.05;
}

.ceremony-card h2 {
  color: white;
}

.ceremony-card ol {
  margin: 28px 0;
  padding: 0;
  list-style: none;
  counter-reset: ceremony;
}

.ceremony-card li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: baseline;
  padding: 11px 0;
  color: rgb(255 255 255 / 76%);
  font-size: 12px;
  line-height: 1.45;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
  counter-increment: ceremony;
}

.ceremony-card li::before {
  color: #e1bd96;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  content: counter(ceremony, decimal-leading-zero);
}

.concept-card ul {
  display: grid;
  gap: 12px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.concept-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.45;
}

.concept-card li span {
  display: grid;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  place-items: center;
  color: white;
  font-size: 10px;
  background: var(--sea);
  border-radius: 50%;
}

.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.page-heading h1 {
  margin: 0;
  font-size: clamp(43px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.page-heading > div:first-child > p:not(.eyebrow) {
  max-width: 680px;
  margin: 17px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}

.heading-stat {
  flex: 0 0 auto;
  min-width: 130px;
  padding: 18px 22px;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.heading-stat strong {
  display: block;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
}

.heading-stat span {
  color: #7f8985;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.heading-stat-warning strong {
  color: var(--warning);
}

.schedule-heading {
  align-items: center;
  margin-bottom: 20px;
}

.schedule-heading h1 {
  font-size: clamp(40px, 5vw, 64px);
}

.view-switcher {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 4px;
  background: #e8e1d6;
  border-radius: 11px;
}

.view-switcher a {
  padding: 8px 14px;
  color: #66716d;
  font-size: 10px;
  font-weight: 850;
  text-decoration: none;
  border-radius: 8px;
}

.view-switcher a.is-active {
  color: var(--forest);
  background: var(--paper);
  box-shadow: 0 2px 8px rgb(38 55 51 / 10%);
}

.person-mini-header {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 15px;
  padding: 11px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--person-color);
  border-radius: 12px;
}

.person-mini-header > div {
  display: grid;
  gap: 1px;
}

.person-mini-header strong {
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
}

.person-mini-header span {
  color: var(--ink-soft);
  font-size: 9px;
}

.person-mini-header a {
  margin-left: auto;
  color: var(--forest);
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(180px, 1.5fr) repeat(3, minmax(130px, 0.7fr)) auto;
  gap: 10px;
  align-items: end;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.filter-bar > label {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.filter-bar label > span {
  color: #6d7874;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.filter-bar input,
.filter-bar select,
.status-select {
  width: 100%;
  min-height: 37px;
  padding: 8px 10px;
  color: var(--ink);
  font-size: 11px;
  background: #faf7f1;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.filter-bar input::placeholder {
  color: #9ca39f;
}

.filter-actions {
  display: flex;
  gap: 6px;
}

.results-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 11px 2px 15px;
  color: #7a8581;
  font-size: 10px;
}

.results-line strong {
  color: var(--forest);
}

.gantt-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.gantt-scroll {
  overflow-x: auto;
  scrollbar-color: var(--line-dark) transparent;
}

.gantt-table {
  min-width: 1190px;
}

.gantt-axis-row,
.gantt-row {
  display: grid;
  grid-template-columns: 310px minmax(880px, 1fr);
}

.gantt-axis-row {
  position: sticky;
  z-index: 8;
  top: 0;
  min-height: 48px;
  background: #f3eee5;
  border-bottom: 1px solid var(--line-dark);
}

.gantt-label-cell {
  position: sticky;
  z-index: 5;
  left: 0;
  display: flex;
  min-width: 0;
  align-items: center;
  padding: 9px 13px;
  background: var(--paper);
  border-right: 1px solid var(--line);
}

.gantt-corner {
  z-index: 10;
  color: #6f7975;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: #f3eee5;
}

.gantt-axis {
  position: relative;
  min-height: 48px;
  background-image: repeating-linear-gradient(
    to right,
    transparent 0,
    transparent calc(6.4516% - 1px),
    rgb(102 119 113 / 15%) calc(6.4516% - 1px),
    rgb(102 119 113 / 15%) 6.4516%
  );
}

.axis-marker {
  position: absolute;
  bottom: 9px;
  left: var(--marker-left);
  color: #65716d;
  font-size: 8px;
  font-weight: 800;
  white-space: nowrap;
  transform: translateX(-50%);
}

.axis-marker:first-child {
  transform: none;
}

.axis-marker:last-child {
  transform: translateX(-100%);
}

.gantt-row {
  min-height: 76px;
  border-bottom: 1px solid #eee9e0;
}

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

.gantt-row:hover .gantt-label-cell,
.gantt-row:hover .gantt-track {
  background-color: #fdf9f2;
}

.gantt-task-label {
  min-width: 0;
}

.gantt-task-label > button {
  display: block;
  overflow: hidden;
  max-width: 270px;
  padding: 0;
  color: var(--forest);
  font-size: 10px;
  font-weight: 850;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  background: none;
  border: 0;
}

.gantt-task-label > span {
  display: block;
  margin: 3px 0 5px;
  color: #838c88;
  font-size: 8px;
}

.gantt-task-label > div {
  display: flex;
  overflow: hidden;
  gap: 4px;
}

.gantt-track {
  position: relative;
  min-height: 76px;
  background: var(--paper);
}

.gantt-grid-lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to right,
    transparent 0,
    transparent calc(6.4516% - 1px),
    rgb(102 119 113 / 11%) calc(6.4516% - 1px),
    rgb(102 119 113 / 11%) 6.4516%
  );
}

.gantt-bar {
  position: absolute;
  top: 22px;
  left: var(--bar-left);
  overflow: hidden;
  width: var(--bar-width);
  min-width: 8px;
  height: 32px;
  padding: 0 9px;
  color: white;
  text-align: left;
  cursor: pointer;
  background: var(--bar-color);
  border: 0;
  border-radius: 7px;
  box-shadow: 0 4px 10px rgb(35 49 46 / 16%);
  transition:
    filter 140ms ease,
    transform 140ms ease;
}

.gantt-bar:hover {
  z-index: 3;
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.gantt-bar > span {
  display: block;
  overflow: hidden;
  font-size: 8px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gantt-bar.status-done {
  opacity: 0.58;
  background-image: repeating-linear-gradient(
    135deg,
    rgb(255 255 255 / 14%) 0,
    rgb(255 255 255 / 14%) 5px,
    transparent 5px,
    transparent 10px
  );
}

.gantt-bar.status-blocked {
  outline: 2px solid var(--danger);
  outline-offset: 2px;
}

.gantt-bar.status-ready {
  box-shadow: 0 0 0 2px rgb(255 255 255 / 74%) inset;
}

.gantt-bar.status-in-progress {
  animation: gentle-pulse 2.4s ease-in-out infinite;
}

@keyframes gentle-pulse {
  50% {
    box-shadow: 0 4px 10px rgb(35 49 46 / 16%), 0 0 0 4px rgb(79 111 150 / 14%);
  }
}

.gantt-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #f8f4ed;
  border-top: 1px solid var(--line);
}

.gantt-legend small {
  margin-left: auto;
  color: #7d8783;
  font-size: 9px;
}

.person-chip {
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  gap: 5px;
  padding: 3px 7px;
  color: #465550;
  font-size: 8px;
  font-weight: 780;
  text-decoration: none;
  background: #f2efe9;
  border: 1px solid #e2ddd4;
  border-radius: 999px;
  white-space: nowrap;
}

.person-chip > span {
  width: 6px;
  height: 6px;
  background: var(--person-color);
  border-radius: 50%;
}

.person-chip:hover {
  color: var(--forest);
  border-color: var(--person-color);
}

.agenda-list {
  display: grid;
  gap: 30px;
}

.agenda-phase > header {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 10px;
  padding-inline: 4px;
}

.agenda-phase > header > span {
  color: var(--terracotta);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-style: italic;
}

.agenda-phase > header h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1;
}

.agenda-phase > header p {
  margin: 4px 0 0;
  color: #7b8581;
  font-size: 9px;
}

.agenda-phase > div {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.agenda-task {
  display: grid;
  grid-template-columns: 120px 105px minmax(0, 1fr) 92px;
  min-width: 0;
  border-bottom: 1px solid #eae4db;
  border-left: 4px solid #d8d2c9;
}

.agenda-task:last-child {
  border-bottom: 0;
}

.agenda-task.status-border-ready {
  border-left-color: var(--success);
}

.agenda-task.status-border-in-progress {
  border-left-color: var(--blue);
}

.agenda-task.status-border-done {
  border-left-color: var(--sage);
  opacity: 0.7;
}

.agenda-task.status-border-blocked {
  border-left-color: var(--danger);
}

.agenda-completion {
  display: grid;
  place-items: center;
  padding: 12px;
  background: #fcf9f4;
  border-right: 1px solid #eae4db;
}

.agenda-completion .task-completion {
  width: 100%;
  min-width: 0;
  min-height: 64px;
  flex-direction: column;
  gap: 6px;
  padding: 8px 6px;
}

.agenda-task > time {
  display: grid;
  align-content: start;
  gap: 3px;
  padding: 19px 15px;
  background: #f7f2ea;
  border-right: 1px solid #e7e0d6;
}

.agenda-task > time strong {
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
}

.agenda-task > time span {
  color: #84908b;
  font-size: 9px;
}

.agenda-main {
  min-width: 0;
  padding: 17px 19px;
}

.agenda-title-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.agenda-title-row h3 {
  margin: 0;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 600;
}

.agenda-title-row p {
  max-width: 740px;
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.5;
}

.agenda-badges {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-end;
  gap: 5px;
}

.assignment-line {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 10px;
}

.assignment-line > span {
  flex: 0 0 47px;
  padding-top: 4px;
  color: #8c9591;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.assignment-line > div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.agenda-meta {
  margin-top: 10px;
  color: #8b938f;
  font-size: 9px;
}

.agenda-meta span::before {
  margin-right: 5px;
  content: "⌖";
}

.agenda-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 12px;
  background: #fcf9f4;
  border-left: 1px solid #eae4db;
}

.task-completion {
  display: inline-flex;
  min-width: 108px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 11px;
  color: #5f6965;
  font-size: 10px;
  font-weight: 850;
  cursor: pointer;
  background: #f7f3ec;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.task-completion:hover {
  border-color: var(--sage);
}

.task-completion:disabled {
  cursor: wait;
  opacity: 0.66;
}

.task-completion-mark {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: white;
  font-size: 11px;
  border: 2px solid #aaa69f;
  border-radius: 50%;
}

.task-completion-done {
  color: #315e4c;
  background: #e4efe8;
  border-color: #bdd3c4;
}

.task-completion-done .task-completion-mark {
  background: var(--success);
  border-color: var(--success);
}

.status-control {
  display: block;
}

.status-select {
  min-width: 112px;
  font-size: 9px;
  font-weight: 800;
}

.status-select.status-done,
.status-select.status-ready {
  color: #315e4c;
  background: #e4efe8;
  border-color: #bdd3c4;
}

.status-select.status-in-progress {
  color: #3c5b7a;
  background: #e7edf4;
  border-color: #c5d3e2;
}

.status-select.status-blocked {
  color: #893b36;
  background: #f9e4e1;
  border-color: #e9bfba;
}

.empty-state,
.loading-panel,
.error-panel,
.not-found {
  display: grid;
  min-height: 420px;
  place-content: center;
  justify-items: center;
  padding: 42px 22px;
  text-align: center;
  background: var(--paper);
  border: 1px dashed var(--line-dark);
  border-radius: var(--radius-lg);
}

.empty-state > span,
.not-found > span {
  color: var(--terracotta);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  font-style: italic;
}

.empty-state h2,
.loading-panel h1,
.error-panel h1,
.not-found h1 {
  max-width: 680px;
  margin: 10px 0 7px;
  font-size: clamp(31px, 4vw, 48px);
}

.empty-state p,
.loading-panel p,
.error-panel p,
.not-found p {
  max-width: 590px;
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
}

.loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--cream-deep);
  border-top-color: var(--terracotta);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.error-panel code {
  padding: 7px 10px;
  color: var(--forest);
  font-size: 10px;
  background: var(--cream);
  border-radius: 6px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
}

.profile-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(28px, 5vw, 54px);
  background:
    linear-gradient(110deg, rgb(255 253 248 / 97%), rgb(245 240 231 / 92%)),
    var(--paper);
  border: 1px solid var(--line);
  border-top: 5px solid var(--person-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.profile-identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: clamp(20px, 4vw, 38px);
}

.profile-identity h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.profile-identity > div > strong {
  display: block;
  margin-top: 9px;
  color: var(--terracotta-dark);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.profile-identity > div > p:last-child {
  max-width: 660px;
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.58;
}

.profile-window {
  flex: 0 0 auto;
  min-width: 210px;
  padding: 19px;
  background: var(--forest);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.profile-window span,
.profile-window small {
  display: block;
  color: rgb(255 255 255 / 60%);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.profile-window strong {
  display: block;
  margin: 7px 0;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 500;
}

.profile-tabs {
  display: flex;
  gap: 5px;
  margin: 16px 0 26px;
  padding: 4px;
  background: #e8e1d6;
  border-radius: 11px;
}

.profile-tabs a {
  flex: 1;
  padding: 9px 14px;
  color: #66716d;
  font-size: 10px;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
}

.profile-tabs a.is-active {
  color: var(--forest);
  background: var(--paper);
  box-shadow: 0 2px 8px rgb(38 55 51 / 10%);
}

.profile-stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  margin-bottom: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.profile-stat-grid article {
  padding: 18px;
  border-right: 1px solid var(--line);
}

.profile-stat-grid article:last-child {
  border-right: 0;
}

.profile-stat-grid strong {
  display: block;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 500;
}

.profile-stat-grid span {
  color: #818a87;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(270px, 0.75fr);
  gap: 17px;
}

.profile-main-column {
  display: grid;
  gap: 17px;
}

.profile-panel {
  padding: clamp(20px, 3vw, 29px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.profile-panel .panel-heading {
  align-items: center;
  margin-bottom: 17px;
}

.profile-panel .panel-heading h2 {
  font-size: 25px;
}

.sticky-panel {
  position: sticky;
  top: calc(var(--topbar-height) + 18px);
}

.priority-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.priority-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 12px 13px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.45;
  background: #f8f4ed;
  border-radius: 10px;
}

.priority-list li > span {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 4px;
  background: var(--terracotta);
  border-radius: 50%;
}

.profile-contact-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}

.profile-contact-title span {
  display: block;
  color: #818a86;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.profile-contact-title strong {
  display: block;
  margin-top: 3px;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
}

.profile-contact > p,
.profile-contact-empty p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.55;
}

.profile-contact-empty strong {
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
}

.profile-contact-empty code {
  font-size: 8px;
}

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

.contact-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 21px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.contact-card > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e9e3da;
}

.contact-card-identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.contact-card-identity p {
  margin: 0 0 2px;
  color: #7f8985;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contact-card-identity h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.1;
}

.contact-card-identity span:not(.person-avatar):not(.venue-avatar) {
  color: var(--ink-soft);
  font-size: 9px;
}

.contact-card-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 14px;
}

.contact-field {
  position: relative;
  display: grid;
  min-width: 0;
  gap: 3px;
  padding: 11px;
  background: #f7f3ec;
  border: 1px solid #e6dfd5;
  border-radius: 9px;
}

.contact-field > span {
  color: #858e8a;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-field strong,
.contact-field a {
  overflow: hidden;
  padding-right: 35px;
  color: var(--forest);
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-field button {
  position: absolute;
  right: 7px;
  bottom: 7px;
  padding: 3px 5px;
  color: #7a8581;
  font-size: 7px;
  font-weight: 800;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.contact-field.is-missing {
  border-style: dashed;
}

.contact-field.is-missing strong {
  color: #9a7650;
  font-weight: 650;
}

.contact-notes {
  flex: 1;
  margin: 14px 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.55;
}

.contact-card > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  color: #858e8a;
  font-size: 8px;
  border-top: 1px solid #e9e3da;
}

.contact-card > footer a {
  color: var(--forest);
  font-size: 9px;
  font-weight: 850;
  text-decoration: none;
}

.task-dialog {
  width: min(720px, calc(100vw - 30px));
  max-height: min(850px, calc(100vh - 30px));
  max-height: min(850px, calc(100dvh - 30px));
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 90px rgb(15 34 31 / 35%);
}

.task-dialog::backdrop {
  background: rgb(18 37 34 / 65%);
  backdrop-filter: blur(3px);
}

.dialog-shell {
  overflow: auto;
  max-height: min(850px, calc(100vh - 30px));
  max-height: min(850px, calc(100dvh - 30px));
}

.dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 27px 29px 20px;
  background: #f4eee4;
  border-bottom: 1px solid var(--line);
}

.dialog-header h2 {
  margin: 0;
  font-size: clamp(27px, 4vw, 38px);
  line-height: 1.05;
}

.dialog-close {
  display: grid;
  flex: 0 0 auto;
  width: 35px;
  height: 35px;
  place-items: center;
  padding: 0 0 3px;
  color: var(--forest);
  font-size: 25px;
  cursor: pointer;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.dialog-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 29px;
  border-bottom: 1px solid var(--line);
}

.dialog-status-row > strong {
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dialog-status-row > div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.dialog-body {
  display: grid;
  gap: 21px;
  padding: 27px 29px 32px;
}

.dialog-body section h3 {
  margin: 0 0 7px;
  color: var(--forest);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dialog-body section > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.62;
}

.task-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.task-facts > div {
  padding: 12px;
  background: #f7f3ec;
  border-radius: 9px;
}

.task-facts dt {
  margin-bottom: 4px;
  color: #858e8a;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.task-facts dd {
  margin: 0;
  color: var(--forest);
  font-size: 10px;
  font-weight: 750;
  line-height: 1.45;
}

.task-note {
  padding: 15px;
  background: #fff7e5;
  border: 1px solid #ead7ad;
  border-radius: 10px;
}

.toast-region {
  position: fixed;
  z-index: 300;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: min(360px, calc(100vw - 36px));
  gap: 8px;
  pointer-events: none;
}

.toast {
  padding: 12px 15px;
  color: white;
  font-size: 11px;
  font-weight: 750;
  background: var(--forest);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  animation: toast-in 180ms ease-out;
}

.toast-error {
  background: var(--danger);
}

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

.not-found > span {
  font-size: 64px;
}

.account-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 9px 4px 5px;
  background: #edf2ee;
  border: 1px solid #d4dfd7;
  border-radius: 999px;
}

.account-avatar {
  display: inline-grid;
  width: 29px;
  height: 29px;
  place-items: center;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  font-weight: 700;
  background: var(--sea);
  border-radius: 50%;
}

.account-state > span:last-child {
  display: grid;
  gap: 1px;
}

.account-state strong {
  max-width: 105px;
  overflow: hidden;
  color: var(--forest);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-state small {
  color: #74817c;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-button {
  min-height: 34px;
  padding: 7px 10px;
  color: var(--forest);
  font-size: 9px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
}

.account-button-primary {
  color: white;
  background: var(--forest);
  border-color: var(--forest);
}

.status-lock {
  display: inline-flex;
  min-width: 112px;
  min-height: 35px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 9px;
  color: #6b7471;
  font-size: 8px;
  font-weight: 850;
  cursor: pointer;
  background: #f2efe9;
  border: 1px dashed var(--line-dark);
  border-radius: 8px;
}

.status-lock:hover {
  color: var(--forest);
  background: #e9eee9;
  border-color: var(--sea);
}

.badge-locked {
  color: #405d59;
  background: #e3ece8;
  border-color: #c4d7cf;
}

.contact-card-locked {
  background:
    linear-gradient(135deg, rgb(255 253 248 / 96%), rgb(236 242 238 / 86%)),
    var(--paper);
}

.contact-field.is-protected {
  background: #eaf0ec;
  border-color: #cbd9d1;
  border-style: solid;
}

.contact-field.is-protected > button {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  color: var(--forest-2);
  font-size: 9px;
  font-weight: 850;
  text-align: left;
}

.contact-field.is-protected > button span {
  color: var(--sea);
  font-size: 7px;
}

.inline-note-secure {
  color: #36594e;
  background: #e7f0ea;
  border-color: #c2d7c9;
}

.inline-note-secure strong {
  color: #31594b;
}

.inline-note-secure span {
  color: #5e756c;
}

.inline-note > .button {
  flex: 0 0 auto;
  margin-left: auto;
}

.login-layout {
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 0.92fr) minmax(390px, 0.75fr);
  min-height: 650px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.login-intro {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 6vw, 74px);
  color: white;
  background:
    radial-gradient(circle at 100% 0%, rgb(255 255 255 / 8%), transparent 23rem),
    var(--forest);
}

.login-intro::after {
  position: absolute;
  right: -190px;
  bottom: -250px;
  width: 500px;
  height: 500px;
  pointer-events: none;
  content: "";
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 50%;
}

.login-lock {
  display: inline-grid;
  width: 67px;
  height: 67px;
  margin-bottom: 54px;
  place-items: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.08em;
  background: rgb(255 255 255 / 9%);
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 50%;
}

.login-lock span {
  margin-inline: 0.1em 0.13em;
  color: #e2bc91;
  font-size: 0.72em;
  font-style: italic;
}

.login-intro .eyebrow {
  color: #e2bc91;
}

.login-intro h1 {
  max-width: 600px;
  margin: 0;
  color: white;
  font-size: clamp(42px, 5vw, 67px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.login-intro > p:not(.eyebrow) {
  max-width: 570px;
  margin: 22px 0 0;
  color: rgb(255 255 255 / 70%);
  font-size: 13px;
  line-height: 1.65;
}

.login-intro ul {
  display: grid;
  gap: 11px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.login-intro li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgb(255 255 255 / 74%);
  font-size: 11px;
}

.login-intro li span {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: var(--forest);
  font-size: 9px;
  background: #d9c09e;
  border-radius: 50%;
}

.login-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(35px, 6vw, 72px);
  background: var(--paper);
}

.login-card-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 43px);
  line-height: 1;
}

.login-card-heading > p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.55;
}

.auth-error {
  display: grid;
  gap: 3px;
  margin-top: 18px;
  padding: 12px 13px;
  color: #813d38;
  background: #fae6e3;
  border: 1px solid #edc4bf;
  border-radius: 9px;
}

.auth-error strong {
  font-size: 10px;
}

.auth-error span {
  font-size: 9px;
  line-height: 1.45;
}

.login-form {
  display: grid;
  gap: 15px;
  margin-top: 24px;
}

.login-form label {
  display: grid;
  gap: 6px;
}

.login-form label > span {
  color: #56635f;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.login-form label > span small {
  color: #8b9490;
  font-size: 7px;
}

.login-form input,
.login-form select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: #faf7f1;
  border: 1px solid var(--line-dark);
  border-radius: 9px;
}

.login-form label > small {
  color: #87908c;
  font-size: 8px;
  line-height: 1.45;
}

.login-form .button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.login-footnote {
  margin: 16px 0 0;
  color: #8b9490;
  font-size: 8px;
  line-height: 1.5;
  text-align: center;
}

.account-page {
  display: grid;
  min-height: 620px;
  place-items: center;
}

.account-card {
  width: min(610px, 100%);
  padding: clamp(31px, 6vw, 58px);
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.account-page-avatar {
  display: inline-grid;
  width: 84px;
  height: 84px;
  margin-bottom: 24px;
  place-items: center;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
  background: var(--sea);
  border: 5px solid #e8efe9;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #cbd8cf;
}

.account-card h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 58px);
  line-height: 1;
}

.account-card > p:not(.eyebrow) {
  max-width: 500px;
  margin: 15px auto 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
}

.account-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 25px 0;
  text-align: left;
}

.account-card dl > div {
  padding: 13px;
  background: #f7f3ec;
  border-radius: 9px;
}

.account-card dt {
  margin-bottom: 4px;
  color: #858e8a;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-card dd {
  margin: 0;
  color: var(--forest);
  font-size: 10px;
  font-weight: 750;
  line-height: 1.4;
}

.account-card-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.status-lock-warning {
  color: #80571f;
  background: #fff0d1;
  border-color: #dfbf82;
}

.status-readonly {
  cursor: default;
  border-style: solid;
  opacity: 0.78;
}

.badge-planner {
  color: #31574c;
  background: #dfece5;
  border-color: #bfd5c7;
}

.badge-participant {
  color: #4b5f78;
  background: #e4ebf3;
  border-color: #c8d5e3;
}

.login-form select[multiple],
.managed-user-form select[multiple] {
  min-height: 120px;
  padding: 5px;
}

.login-form select[multiple] option,
.managed-user-form select[multiple] option {
  padding: 6px 7px;
  border-radius: 5px;
}

.account-page-stack {
  display: grid;
  width: min(760px, 100%);
  gap: 16px;
}

.account-page-stack .account-card {
  width: 100%;
}

.account-password-card {
  text-align: left;
}

.account-password-card h2,
.create-user-panel h2 {
  margin: 0;
  font-size: 30px;
}

.account-password-card > p:not(.eyebrow),
.create-user-panel > p:not(.eyebrow) {
  margin: 9px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.55;
}

.account-profile-chips,
.inline-profile-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.account-logout-link {
  align-self: center;
  margin-top: 14px;
}

.protected-page > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--sea);
  font-size: 10px;
  background: #e2ece6;
  border-radius: 50%;
}

.my-day-heading h1 {
  text-transform: none;
}

.my-day-list {
  margin-top: 24px;
}

.inline-profile-chips {
  flex: 0 0 auto;
  margin-left: auto;
}

.user-management-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.5fr);
  gap: 16px;
  align-items: start;
}

.create-user-panel {
  position: sticky;
  top: calc(var(--topbar-height) + 18px);
  padding: 25px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--terracotta);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

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

.managed-user-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 19px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.managed-user-card.is-inactive {
  opacity: 0.62;
  filter: grayscale(0.45);
}

.managed-user-card > header {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.managed-user-card > header > div {
  min-width: 0;
}

.managed-user-card > header > .badge {
  margin-left: auto;
}

.managed-user-avatar {
  display: inline-grid;
  flex: 0 0 auto;
  width: 41px;
  height: 41px;
  place-items: center;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 700;
  background: var(--sea);
  border-radius: 50%;
}

.managed-user-card header p {
  margin: 0 0 2px;
  color: #7d8783;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.managed-user-card header h2 {
  overflow: hidden;
  margin: 0;
  font-size: 19px;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.managed-user-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 14px 0;
}

.managed-user-form {
  display: grid;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid #e9e3da;
}

.managed-user-form > label:not(.active-toggle) {
  display: grid;
  gap: 4px;
}

.managed-user-form label > span {
  color: #68736f;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.managed-user-form input[type="text"],
.managed-user-form select,
.password-reset-panel input {
  width: 100%;
  min-height: 36px;
  padding: 8px 9px;
  color: var(--ink);
  font-size: 9px;
  background: #faf7f1;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.active-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
}

.active-toggle input {
  width: 16px;
  height: 16px;
  accent-color: var(--sea);
}

.managed-profile-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-height: 30px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e9e3da;
}

.managed-profile-summary > span {
  color: #858e8a;
  font-size: 8px;
  line-height: 1.45;
}

.password-reset-panel {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e9e3da;
}

.password-reset-panel summary {
  color: var(--terracotta-dark);
  font-size: 8px;
  font-weight: 850;
  cursor: pointer;
}

.password-reset-panel form {
  display: grid;
  gap: 7px;
  margin-top: 9px;
}

.compact-loading {
  min-height: 280px;
  grid-column: 1 / -1;
}

.compact-loading h2 {
  font-size: 27px;
}

.user-management-error {
  margin-bottom: 14px;
}

@media (max-width: 1160px) {
  .people-grid-home,
  .people-grid-full {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-bar {
    grid-template-columns: repeat(4, minmax(130px, 1fr));
  }

  .filter-search {
    grid-column: span 2;
  }

  .filter-actions {
    align-self: stretch;
  }

  .profile-hero {
    align-items: flex-start;
  }

  .login-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(360px, 0.75fr);
  }

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

  .profile-window {
    min-width: 185px;
  }
}

@media (max-width: 920px) {
  :root {
    --topbar-height: 68px;
  }

  .topbar {
    min-height: var(--topbar-height);
    padding: 9px 16px;
  }

  .draft-pill,
  .sidebar {
    display: none;
  }

  .account-state > span:last-child,
  .topbar-actions > .account-button:not(.account-button-primary) {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-navigation {
    position: fixed;
    z-index: 55;
    top: var(--topbar-height);
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - var(--topbar-height));
    max-height: calc(100dvh - var(--topbar-height));
    overflow-y: auto;
    padding: 12px 16px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }

  .mobile-navigation.is-open {
    display: block;
  }

  .mobile-nav {
    max-width: 600px;
    margin: auto;
  }

  .mobile-nav .nav-kicker,
  .mobile-nav .api-indicator,
  .mobile-nav .nav-active-summary {
    display: none;
  }

  .app-layout {
    display: block;
    min-height: calc(100vh - var(--topbar-height));
  }

  .main-content {
    margin: 0 auto;
    padding: 28px 18px 65px;
  }

  .hero-card {
    grid-template-columns: minmax(0, 1fr) 245px;
  }

  .hero-copy {
    padding: 42px 34px;
  }

  .date-card {
    width: 220px;
  }

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

  .profile-layout {
    grid-template-columns: 1fr;
  }

  .sticky-panel {
    position: static;
  }

  .profile-stat-grid {
    grid-template-columns: repeat(5, minmax(115px, 1fr));
    overflow-x: auto;
  }

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

  .login-layout {
    grid-template-columns: 1fr;
  }

  .user-management-layout {
    grid-template-columns: 1fr;
  }

  .create-user-panel {
    position: static;
  }

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

  .login-intro {
    padding: 38px;
  }

  .login-lock {
    margin-bottom: 35px;
  }

  .menu-button,
  .button,
  .button-quiet,
  .button-small,
  .dialog-close {
    min-width: 44px;
    min-height: 44px;
  }

  .filter-bar input,
  .filter-bar select,
  .status-select {
    min-height: 44px;
    font-size: 16px;
  }

  .view-switcher a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .contact-field button {
    min-width: 44px;
    min-height: 44px;
    font-size: 10px;
  }

  .contact-field strong,
  .contact-field a {
    padding-right: 52px;
  }

  .contact-field.is-protected > button {
    font-size: 11px;
  }

  .gantt-task-label > button {
    min-height: 36px;
  }

  .gantt-bar {
    top: 16px;
    height: 44px;
  }

  .person-chip {
    min-height: 32px;
  }
}

@media (max-width: 700px) {
  .gantt-table {
    min-width: 1060px;
  }

  .gantt-axis-row,
  .gantt-row {
    grid-template-columns: 180px minmax(880px, 1fr);
  }

  .gantt-task-label > button {
    max-width: 150px;
  }

  .brand-copy small {
    max-width: 55vw;
  }

  .hero-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .topbar-actions .account-button-primary {
    display: none;
  }

  .login-intro,
  .login-card {
    padding: 30px 24px;
  }

  .login-lock {
    width: 56px;
    height: 56px;
    margin-bottom: 28px;
  }

  .account-card dl {
    grid-template-columns: 1fr;
  }

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

  .inline-profile-chips {
    margin-left: 0;
  }

  .account-card-actions {
    flex-direction: column;
  }

  .hero-card::before {
    top: auto;
    right: -170px;
    bottom: -110px;
  }

  .hero-copy {
    padding: 36px 25px 26px;
  }

  .hero-copy h1 {
    font-size: clamp(39px, 12vw, 58px);
  }

  .date-card {
    width: min(270px, calc(100% - 50px));
    min-height: 245px;
    margin: 0 auto 30px;
  }

  .date-card > strong {
    font-size: 69px;
  }

  .draft-notice,
  .inline-note {
    flex-direction: column;
  }

  .section-heading,
  .page-heading,
  .schedule-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .page-heading h1 {
    font-size: clamp(39px, 13vw, 57px);
  }

  .heading-stat {
    min-width: 0;
    width: 100%;
  }

  .people-grid-home,
  .people-grid-full,
  .split-section {
    grid-template-columns: 1fr;
  }

  .people-grid-home .person-card:nth-child(n + 7) {
    display: none;
  }

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

  .filter-search {
    grid-column: 1 / -1;
  }

  .filter-actions {
    grid-column: 1 / -1;
  }

  .filter-actions .button {
    flex: 1;
  }

  .results-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .view-switcher {
    width: 100%;
  }

  .view-switcher a {
    flex: 1;
    text-align: center;
  }

  .agenda-task {
    grid-template-columns: 56px 84px minmax(0, 1fr);
  }

  .agenda-completion {
    grid-row: 1 / span 2;
    align-items: start;
    padding: 6px;
    padding-top: 10px;
  }

  .agenda-completion .task-completion {
    width: 44px;
    min-height: 44px;
    padding: 0;
    background: transparent;
    border-color: transparent;
    border-radius: 50%;
  }

  .agenda-completion .task-completion > span:last-child {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    white-space: nowrap;
    border: 0;
    clip: rect(0, 0, 0, 0);
  }

  .agenda-task > time {
    grid-column: 2;
    grid-row: 1 / span 2;
    padding: 16px 11px;
  }

  .agenda-task > time strong {
    font-size: 14px;
  }

  .agenda-main {
    grid-column: 3;
    padding: 14px;
  }

  .agenda-title-row {
    flex-direction: column;
    gap: 8px;
  }

  .agenda-badges {
    justify-content: flex-start;
  }

  .agenda-actions {
    grid-column: 3;
    flex-direction: row;
    padding: 0 14px 14px;
    background: var(--paper);
    border: 0;
  }

  .agenda-actions > * {
    flex: 1;
  }

  .profile-hero {
    align-items: stretch;
    flex-direction: column;
    gap: 24px;
  }

  .profile-window {
    width: 100%;
  }

  .profile-identity {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-identity h1 {
    font-size: clamp(44px, 14vw, 68px);
  }

  .profile-tabs {
    overflow-x: auto;
  }

  .profile-tabs a {
    min-width: 100px;
  }

  .contact-card-fields,
  .task-facts {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 430px) {
  .brand-copy strong {
    font-size: 16px;
  }

  .brand-copy small {
    max-width: 185px;
    font-size: 9px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

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

  .phase-strip {
    grid-template-columns: repeat(7, 132px);
  }

  .person-card-stats {
    flex-direction: column;
    gap: 4px;
  }

  .filter-bar {
    grid-template-columns: 1fr;
  }

  .filter-search,
  .filter-actions {
    grid-column: auto;
  }

  .agenda-task {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .agenda-completion {
    grid-column: 1;
    grid-row: 1 / span 3;
  }

  .agenda-task > time {
    grid-column: 2;
    display: flex;
    grid-row: auto;
    align-items: baseline;
    gap: 8px;
    padding: 11px 14px;
    border-right: 0;
    border-bottom: 1px solid #e7e0d6;
  }

  .agenda-main {
    grid-column: 2;
  }

  .agenda-actions {
    grid-column: 2;
  }

  .dialog-header,
  .dialog-body {
    padding-right: 20px;
    padding-left: 20px;
  }

  .dialog-status-row {
    align-items: stretch;
    flex-direction: column;
    padding-right: 20px;
    padding-left: 20px;
  }
}

@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;
  }
}

/* Page-based guest and logistics experience. */
.global-header {
  position: sticky;
  z-index: 70;
  top: 0;
  display: flex;
  height: var(--global-header-height);
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 5px clamp(12px, 3vw, 38px);
  background: rgb(255 253 248 / 96%);
  border-bottom: 1px solid rgb(201 192 178 / 75%);
  backdrop-filter: blur(16px);
}

.global-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.global-brand-mark {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--paper);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.08em;
  background: var(--forest);
  border-radius: 50%;
}

.global-brand-mark > span {
  margin-inline: 0.1em 0.13em;
  color: #e4ae8f;
  font-size: 0.72em;
  font-style: italic;
}

.global-date {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-subheader {
  position: sticky;
  z-index: 60;
  top: var(--global-header-height);
  display: grid;
  height: var(--section-subheader-height);
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 6px clamp(12px, 3vw, 38px);
  background: rgb(255 253 248 / 94%);
  border-bottom: 1px solid rgb(201 192 178 / 75%);
  backdrop-filter: blur(16px);
}

.subheader-back {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  padding-right: 3px;
  color: var(--forest);
  font-size: 11px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.subheader-arrow {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  font-size: 20px;
  background: var(--paper);
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  transition:
    color 150ms ease,
    background 150ms ease,
    transform 150ms ease;
}

.subheader-back:hover .subheader-arrow {
  color: var(--paper);
  background: var(--forest);
  transform: translateX(-2px);
}

.breadcrumb-scroll {
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.breadcrumb-scroll::-webkit-scrollbar {
  display: none;
}

.breadcrumb ol {
  display: flex;
  width: max-content;
  min-width: 100%;
  align-items: center;
  gap: 7px;
  padding: 0 8px 0 3px;
  margin: 0;
  list-style: none;
}

.breadcrumb li {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.breadcrumb a,
.breadcrumb-current {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  color: var(--ink-soft);
  font-size: 12px;
}

.breadcrumb a {
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.breadcrumb a:hover {
  color: var(--forest);
}

.breadcrumb-current {
  color: var(--forest);
  font-weight: 850;
}

.breadcrumb-separator {
  color: var(--terracotta);
  font-size: 13px;
}

.page-topbar {
  gap: 32px;
}

.page-topbar .brand {
  flex: 0 0 auto;
}

.top-nav {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-left: auto;
}

.top-nav .nav-link {
  display: block;
  padding: 9px 11px;
  color: var(--ink-soft);
  white-space: nowrap;
  border-radius: 999px;
}

.top-nav .nav-link:hover {
  color: var(--forest);
  background: var(--cream);
  transform: none;
}

.top-nav .nav-link.is-active {
  color: var(--forest);
  background: #e8eee8;
  box-shadow: none;
}

.print-button {
  min-height: 36px;
  padding: 7px 12px;
  color: var(--forest);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
}

.page-layout {
  display: block;
  max-width: none;
}

.page-layout .main-content {
  max-width: 1180px;
  margin: 0 auto;
}

.site-footer a {
  color: var(--forest);
  font-weight: 800;
  text-decoration: none;
}

.welcome-main {
  min-height: calc(100vh - var(--global-header-height));
}

.welcome-page {
  position: relative;
  display: grid;
  min-height: calc(100vh - var(--global-header-height));
  min-height: calc(100dvh - var(--global-header-height));
  place-content: center;
  justify-items: center;
  padding: clamp(34px, 6vw, 80px) 20px;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(rgb(245 240 231 / 88%), rgb(245 240 231 / 96%)),
    radial-gradient(circle at 50% 0%, #d8c4a6 0, transparent 45%);
}

.welcome-page::before,
.welcome-page::after {
  position: absolute;
  width: min(34vw, 440px);
  aspect-ratio: 1;
  border: 1px solid rgb(23 63 67 / 10%);
  border-radius: 50%;
  content: "";
}

.welcome-page::before {
  top: -18vw;
  left: -14vw;
}

.welcome-page::after {
  right: -16vw;
  bottom: -20vw;
}

.welcome-monogram {
  display: inline-grid;
  width: 70px;
  height: 70px;
  margin-bottom: 24px;
  place-items: center;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.08em;
  background: var(--forest);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

.welcome-monogram span {
  margin-inline: 0.1em 0.13em;
  color: #e4ae8f;
  font-size: 0.72em;
  font-style: italic;
}

.welcome-date {
  margin: 0 0 12px;
  color: var(--terracotta-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.welcome-page h1 {
  margin: 0;
  font-size: clamp(52px, 8vw, 94px);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.welcome-page h1 em {
  color: var(--terracotta);
  font-weight: 400;
}

.welcome-place {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.welcome-rule {
  width: 44px;
  height: 1px;
  margin: 20px 0 14px;
  background: var(--line-dark);
}

.welcome-countdown {
  margin: 0 0 28px;
  color: #7b847f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-style: italic;
}

.welcome-menu {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  width: min(660px, 100%);
}

.welcome-menu > a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  min-height: 70px;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  background: rgb(255 253 248 / 84%);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
}

.welcome-menu > a:hover {
  border-color: var(--sage);
  box-shadow: var(--shadow-md);
  transform: translateX(3px);
}

.welcome-menu-copy {
  display: grid;
  gap: 5px;
}

.welcome-menu-copy > small {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.welcome-menu-copy > strong {
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 600;
}

.welcome-menu-arrow {
  color: var(--terracotta);
  font-size: 18px;
  text-align: center;
  transition: transform 150ms ease;
}

.welcome-menu > a:hover .welcome-menu-arrow {
  transform: translateX(3px);
}

.welcome-choices {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(230px, 330px));
  gap: 14px;
  width: 100%;
  justify-content: center;
}

.welcome-choice {
  display: grid;
  min-height: 154px;
  align-content: center;
  justify-items: start;
  padding: 25px 27px;
  text-align: left;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.welcome-choice:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.welcome-choice > span {
  margin-bottom: 7px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.68;
}

.welcome-choice strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 500;
}

.welcome-choice small {
  margin-top: 12px;
  font-size: 11px;
  font-weight: 750;
}

.welcome-choice small span {
  display: inline-block;
  margin-left: 6px;
  transition: transform 160ms ease;
}

.welcome-choice:hover small span {
  transform: translateX(4px);
}

.welcome-choice-guest {
  color: var(--paper);
  background: var(--forest);
  border-color: var(--forest);
}

.welcome-choice-logistics {
  color: var(--forest);
  background: rgb(255 253 248 / 82%);
}

.simple-page-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.simple-page-heading h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.simple-page-heading > p:last-child {
  max-width: 650px;
  margin: 15px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
}

.portal-page {
  max-width: 940px;
  margin: 0 auto;
}

.section-menu-grid {
  display: grid;
  gap: 12px;
}

.section-menu-secondary {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.section-menu-secondary .button {
  width: 320px;
  max-width: 100%;
  min-height: 72px;
  padding: 18px 32px;
  font-size: 18px;
}

.section-menu-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 108px;
  align-items: center;
  gap: 20px;
  padding: 21px 25px;
  color: var(--ink);
  text-decoration: none;
  background: rgb(255 253 248 / 84%);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.section-menu-card:hover {
  border-color: var(--sage);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.section-menu-card > span {
  display: grid;
  gap: 6px;
}

.section-menu-card strong {
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 600;
}

.section-menu-card small {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

.section-menu-card > b {
  color: var(--terracotta);
  font-size: 22px;
}

.event-info-page {
  max-width: 940px;
  margin: 0 auto;
}

.welcome-logistics-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  margin-top: 22px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 600;
  text-underline-offset: 5px;
}

.guest-info-section + .guest-info-section {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.guest-info-section > h2 {
  margin: 0;
  color: var(--forest);
  font-size: 28px;
}

.guest-info-page .event-info-card {
  min-height: auto;
}

.guest-info-page .event-info-card h3 {
  font-size: 23px;
}

.guest-info-copy {
  max-width: 700px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
}

.guest-info-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button.guest-info-button {
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  margin-top: 12px;
  padding: 10px 18px;
  white-space: normal;
  text-align: center;
}

.guest-info-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 10px;
  color: var(--forest);
  font-weight: 700;
  line-height: 1.5;
  text-underline-offset: 4px;
}

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

.event-info-card {
  min-height: 180px;
  padding: 25px;
  background: rgb(255 253 248 / 84%);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.event-info-card-wide {
  grid-column: 1 / -1;
}

.event-info-card p,
.event-info-card h2,
.event-info-card h3,
.event-info-card span {
  margin: 0;
}

.event-info-card p {
  color: var(--terracotta-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.event-info-card h2,
.event-info-card h3 {
  margin-top: 11px;
  color: var(--forest);
  font-size: 28px;
}

.event-info-card > h2:first-child,
.event-info-card > h3:first-child {
  margin-top: 0;
}

.venue-location {
  min-height: auto;
  margin-bottom: 24px;
}

.saturday-shuttle-tile,
.saturday-dress-code {
  display: block;
  min-height: auto;
  margin-bottom: 24px;
}

.saturday-dress-code > span,
.faq-list p {
  white-space: pre-line;
}

.saturday-shuttle-tile {
  color: inherit;
  text-decoration: none;
  border: 2px solid var(--forest);
}

.saturday-shuttle-tile:hover,
.saturday-shuttle-tile:focus-visible {
  background: var(--paper);
  outline: 3px solid var(--forest);
  outline-offset: 3px;
}

.after-party-card {
  min-height: auto;
  margin-top: 12px;
}

.ceremony-script-card {
  min-height: auto;
  margin-bottom: 18px;
}

.button.directions-button,
.button.document-button {
  display: flex;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  margin-top: 20px;
  padding: 9px 18px;
  font-size: 16px;
  line-height: 1.4;
}

.directions-button:focus-visible,
.document-button:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 4px;
}

.welcome-night-menu {
  margin-top: 32px;
}

.welcome-night-menu .event-info-card {
  min-height: auto;
}

.welcome-roll-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px 28px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.welcome-roll-list li {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.welcome-roll-list strong {
  color: var(--forest);
  font-size: 15px;
}

.event-info-card .welcome-roll-list span {
  margin-top: 5px;
}

.event-info-card span {
  display: block;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

.sushi-directory-page {
  max-width: 940px;
  margin: 0 auto;
}

.sushi-logistics-list {
  max-width: 760px;
}

.sushi-todo-page {
  max-width: 940px;
  margin: 0 auto;
}

.sushi-task-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sushi-task-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: start;
  overflow: hidden;
  background: rgb(255 253 248 / 84%);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.sushi-task-item > div:last-child {
  padding: 18px 20px;
}

.sushi-task-item h2,
.sushi-task-item p {
  margin: 0;
}

.sushi-task-item h2 {
  color: var(--forest);
  font-size: 20px;
}

.sushi-task-item p {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.sushi-task-item.is-done {
  opacity: 0.68;
}

.sushi-task-item.is-done h2 {
  text-decoration: line-through;
}

.sushi-task-check {
  display: grid;
  align-self: stretch;
  place-items: start center;
  padding-top: 13px;
  background: #fcf9f4;
  border-right: 1px solid #eae4db;
}

.sushi-task-check .task-completion {
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  background: transparent;
  border-color: transparent;
  border-radius: 50%;
}

.sushi-task-check .task-completion > span:last-child {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  white-space: nowrap;
  border: 0;
  clip: rect(0, 0, 0, 0);
}

.portal-grid {
  display: grid;
  gap: 12px;
}

.portal-card {
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr) auto;
  min-height: 132px;
  align-items: center;
  gap: 22px;
  padding: 22px 26px;
  color: var(--ink);
  text-decoration: none;
  background: rgb(255 253 248 / 84%);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.portal-card:hover {
  border-color: var(--sage);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.portal-number {
  color: var(--terracotta);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.portal-card p,
.portal-card h2,
.portal-card div > span {
  margin: 0;
}

.portal-card p {
  color: var(--terracotta-dark);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.portal-card h2 {
  margin-top: 4px;
  font-size: 26px;
}

.portal-card div > span {
  display: block;
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 12px;
}

.portal-card > strong {
  color: var(--terracotta);
  font-size: 24px;
}

.profile-menu-page {
  max-width: 880px;
  margin: 0 auto;
}

.profile-menu-heading {
  display: flex;
  align-items: center;
  gap: clamp(19px, 4vw, 34px);
  margin-bottom: 18px;
  padding: clamp(24px, 4vw, 38px);
  background: rgb(255 253 248 / 86%);
  border: 1px solid var(--line);
  border-top: 5px solid var(--person-color);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.profile-menu-heading p,
.profile-menu-heading h1 {
  margin: 0;
}

.profile-menu-heading h1 {
  margin-top: 5px;
  font-size: clamp(45px, 7vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.guest-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding: 13px 16px;
  color: #705d40;
  font-size: 11px;
  line-height: 1.5;
  background: #f6ead1;
  border: 1px solid #e6d3aa;
  border-radius: 12px;
}

.guest-note > span {
  color: var(--terracotta);
  font-size: 16px;
}

.guest-agenda {
  max-width: 820px;
  padding: 0;
  margin: 0 auto;
  list-style: none;
}

.guest-agenda > li {
  display: grid;
  grid-template-columns: 110px 22px minmax(0, 1fr);
  gap: 18px;
  min-height: 116px;
}

.guest-agenda-time {
  padding-top: 23px;
  text-align: right;
}

.guest-agenda-time strong,
.guest-agenda-time span {
  display: block;
}

.guest-agenda-time strong {
  color: var(--forest);
  font-size: 14px;
}

.guest-agenda-time span {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 10px;
}

.guest-agenda-dot {
  position: relative;
  width: 13px;
  height: 13px;
  margin-top: 26px;
  background: var(--paper);
  border: 3px solid var(--terracotta);
  border-radius: 50%;
}

.guest-agenda-dot::after {
  position: absolute;
  top: 12px;
  left: 3px;
  width: 1px;
  height: 103px;
  background: var(--line-dark);
  content: "";
}

.guest-agenda > li:last-child .guest-agenda-dot::after {
  display: none;
}

.guest-agenda-copy {
  padding: 19px 23px;
  margin-bottom: 10px;
  background: rgb(255 253 248 / 76%);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.guest-agenda-copy > span {
  color: var(--terracotta);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.guest-agenda-copy h2 {
  margin: 3px 0 4px;
  font-size: 23px;
}

.guest-agenda-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.55;
}

.guest-gantt-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.guest-gantt-scroll {
  overflow-x: auto;
}

.guest-gantt-table {
  min-width: 920px;
}

.guest-gantt-header,
.guest-gantt-row {
  display: grid;
  grid-template-columns: 230px minmax(670px, 1fr);
}

.guest-gantt-header {
  min-height: 56px;
  color: var(--paper);
  background: var(--forest);
}

.guest-gantt-header > span {
  display: flex;
  align-items: center;
  padding: 0 20px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-right: 1px solid rgb(255 255 255 / 13%);
}

.guest-gantt-header > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
}

.guest-gantt-header time {
  font-size: 9px;
  font-weight: 750;
  opacity: 0.72;
}

.guest-gantt-row {
  min-height: 78px;
  border-bottom: 1px solid #ebe4d8;
}

.guest-gantt-row:last-child {
  border-bottom: 0;
}

.guest-gantt-row > div:first-child {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  align-content: center;
  padding: 10px 18px;
  border-right: 1px solid var(--line);
}

.guest-gantt-row > div:first-child > span {
  grid-row: 1 / span 2;
  color: var(--terracotta);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
}

.guest-gantt-row strong {
  color: var(--forest);
  font-size: 12px;
}

.guest-gantt-row small {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 9px;
}

.guest-gantt-track {
  position: relative;
  background-image: repeating-linear-gradient(
    to right,
    transparent 0,
    transparent calc(15.38% - 1px),
    #e9e2d7 calc(15.38% - 1px),
    #e9e2d7 15.38%
  );
}

.guest-gantt-bar {
  position: absolute;
  top: 19px;
  left: var(--bar-left);
  display: flex;
  width: max(var(--bar-width), 2%);
  height: 40px;
  align-items: center;
  overflow: hidden;
  padding: 0 10px;
  color: white;
  background: linear-gradient(90deg, var(--terracotta-dark), var(--terracotta));
  border-radius: 8px;
  box-shadow: 0 5px 14px rgb(146 80 56 / 22%);
}

.guest-gantt-bar > span {
  overflow: hidden;
  font-size: 9px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-page {
  max-width: 940px;
  margin: 0 auto;
}

.menu-sections {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.menu-section {
  overflow: hidden;
  background: rgb(255 253 248 / 88%);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.menu-section > header {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  padding: 22px 24px;
  background: #edf0e8;
  border-bottom: 1px solid var(--line);
}

.menu-section > header > span {
  color: var(--terracotta);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
}

.menu-section-drinks > header {
  grid-template-columns: minmax(0, 1fr);
}

.menu-section header p,
.menu-section header h2 {
  margin: 0;
}

.menu-section header p {
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.menu-section header h2 {
  margin-top: 3px;
  font-size: 26px;
}

.menu-section ul {
  padding: 4px 24px;
  margin: 0;
  list-style: none;
}

.menu-section-description {
  margin: 0;
  padding: 18px 24px 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

.menu-section li {
  padding: 18px 0;
  border-bottom: 1px solid #e9e2d8;
}

.menu-section li:last-child {
  border-bottom: 0;
}

.menu-section li strong {
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 600;
}

.menu-section li p {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.55;
}

.logistics-directory-page {
  max-width: 980px;
  margin: 0 auto;
}

.logistics-tools {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 34px;
}

.logistics-tools a {
  display: grid;
  gap: 4px;
  min-height: 78px;
  align-content: center;
  padding: 13px 15px;
  text-decoration: none;
  background: rgb(255 253 248 / 72%);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.logistics-tools a:hover {
  border-color: var(--sage);
  box-shadow: var(--shadow-sm);
}

.logistics-tools span {
  color: var(--terracotta-dark);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.logistics-tools strong {
  color: var(--forest);
  font-size: 11px;
}

.directory-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 4px 10px;
}

.directory-heading p {
  margin: 0;
}

.directory-heading > span {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
}

.logistics-list {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.logistics-list a {
  display: grid;
  grid-template-columns: 42px 40px minmax(0, 1fr) 35px;
  min-height: 70px;
  align-items: center;
  gap: 13px;
  padding: 9px 14px;
  color: var(--ink);
  text-decoration: none;
  background: rgb(255 253 248 / 78%);
  border: 1px solid var(--line);
  border-left: 4px solid var(--person-color);
  border-radius: 12px;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.logistics-list a:hover {
  border-color: var(--sage);
  transform: translateX(3px);
  box-shadow: var(--shadow-sm);
}

.logistics-index {
  color: #9b9185;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  text-align: center;
}

.logistics-person {
  display: grid;
  gap: 2px;
}

.logistics-person strong {
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 600;
}

.logistics-person small {
  color: var(--ink-soft);
  font-size: 9px;
}

.logistics-arrow {
  color: var(--terracotta);
  font-size: 18px;
  text-align: center;
}

.checklist-summary {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  margin-bottom: 12px;
  color: var(--paper);
  background: var(--forest);
  border-radius: 16px;
}

.checklist-summary > div {
  display: grid;
  padding-right: 20px;
  border-right: 1px solid rgb(255 255 255 / 18%);
}

.checklist-summary strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
}

.checklist-summary span {
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}

.checklist-summary p {
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
  opacity: 0.8;
}

.public-edit-note {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 11px 14px;
  margin-bottom: 20px;
  color: #765b31;
  font-size: 10px;
  line-height: 1.5;
  background: #f8edcf;
  border: 1px solid #e8d5a7;
  border-radius: 10px;
}

.checklist-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.checklist-item {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr);
  overflow: hidden;
  background: rgb(255 253 248 / 82%);
  border: 1px solid var(--line);
  border-radius: 13px;
}

.checklist-item-number {
  display: grid;
  place-items: center;
  color: var(--terracotta);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  background: #f2ebe0;
  border-right: 1px solid var(--line);
}

.checklist-item-done {
  opacity: 0.72;
}

.checklist-item-done .checklist-item-number {
  color: var(--success);
  background: #e6eee7;
}

.checklist-item-main {
  padding: 16px 18px;
}

.checklist-item-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.checklist-item-heading span {
  color: var(--terracotta-dark);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.checklist-item-heading h2 {
  margin: 4px 0 0;
  font-size: 18px;
}

.checklist-status-control select {
  min-width: 135px;
  min-height: 34px;
  padding: 6px 28px 6px 9px;
  color: var(--forest);
  font-size: 10px;
  font-weight: 800;
  background: var(--paper);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
}

.checklist-item-main > p {
  margin: 10px 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.55;
}

.checklist-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  color: #7d8783;
  font-size: 8px;
}

.checklist-notes {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #e9e2d8;
}

.checklist-notes summary {
  color: var(--forest);
  font-size: 9px;
  font-weight: 850;
  cursor: pointer;
}

.checklist-notes form {
  display: grid;
  gap: 8px;
  margin-top: 9px;
}

.checklist-notes textarea {
  width: 100%;
  padding: 10px;
  color: var(--ink);
  line-height: 1.5;
  resize: vertical;
  background: var(--paper);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
}

.checklist-notes button {
  justify-self: start;
}

/* Keep supporting text comfortably readable throughout the practical UI. */
.eyebrow,
.welcome-date,
.welcome-choice > span,
.portal-card p,
.guest-agenda-time span,
.guest-agenda-copy > span,
.guest-gantt-header > span,
.guest-gantt-header time,
.guest-gantt-row small,
.guest-gantt-bar > span,
.menu-section header p,
.logistics-tools span,
.directory-heading > span,
.logistics-person small,
.checklist-summary span,
.checklist-item-heading span,
.checklist-meta,
.checklist-notes summary,
.filter-bar label > span,
.results-line,
.gantt-corner,
.axis-marker,
.gantt-task-label > span,
.gantt-bar > span,
.gantt-legend small,
.agenda-phase > header p,
.agenda-task > time span,
.assignment-line > span,
.agenda-meta,
.badge,
.person-chip,
.contact-card-identity p,
.contact-card-identity span:not(.person-avatar):not(.venue-avatar),
.contact-field > span,
.contact-field button,
.contact-card > footer,
.contact-card > footer a,
.dialog-status-row > strong,
.dialog-body section h3,
.task-facts dt,
.error-panel code {
  font-size: var(--type-meta);
}

.global-date,
.subheader-back,
.breadcrumb a,
.breadcrumb-current,
.button,
.print-button,
.welcome-choice small,
.guest-note,
.guest-gantt-row strong,
.logistics-tools strong,
.checklist-summary p,
.public-edit-note,
.checklist-status-control select,
.filter-bar input,
.filter-bar select,
.gantt-task-label > button,
.task-completion,
.draft-notice strong,
.inline-note strong,
.contact-field strong,
.contact-field a,
.task-facts dd,
.toast {
  font-size: var(--type-compact);
}

.simple-page-heading > p:last-child,
.page-heading > div:first-child > p:not(.eyebrow),
.portal-card div > span,
.guest-agenda-copy p,
.menu-section li p,
.agenda-title-row p,
.checklist-item-main > p,
.draft-notice p,
.inline-note span,
.contact-notes,
.dialog-body section > p,
.empty-state p,
.loading-panel p,
.error-panel p,
.not-found p {
  font-size: var(--type-body);
}

.guest-agenda-time strong {
  font-size: var(--type-body);
}

@media (max-width: 1050px) {
  .top-nav .nav-link {
    padding-inline: 8px;
  }

  .top-nav .nav-link > span {
    font-size: 11px;
  }
}

@media (max-width: 920px) {
  .top-nav,
  .print-button {
    display: none;
  }

  .mobile-nav {
    display: grid;
    gap: 5px;
  }

  .mobile-nav .nav-link {
    display: block;
  }

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

  .filter-bar input,
  .filter-bar select,
  .status-select,
  .checklist-status-control select {
    font-size: 16px;
  }
}

@media (max-width: 700px) {
  .global-header {
    gap: 9px;
    padding-inline: 10px;
  }

  .global-brand {
    gap: 7px;
    font-size: 13px;
  }

  .global-date {
    font-size: var(--type-meta);
  }

  .section-subheader {
    gap: 8px;
    padding-inline: 10px;
  }

  .welcome-page {
    align-content: center;
    padding-block: 28px;
  }

  .welcome-monogram {
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    font-size: 21px;
  }

  .welcome-page h1 {
    font-size: clamp(48px, 15vw, 68px);
  }

  .welcome-place {
    margin-top: 16px;
    font-size: var(--type-compact);
  }

  .welcome-rule {
    margin-block: 15px 10px;
  }

  .welcome-countdown {
    margin-bottom: 19px;
  }

  .welcome-menu {
    gap: 7px;
  }

  .welcome-menu > a {
    grid-template-columns: minmax(0, 1fr) 24px;
    min-height: 62px;
    gap: 9px;
    padding: 8px 12px;
    border-radius: 12px;
  }

  .welcome-menu-copy > strong {
    font-size: 17px;
  }

  .section-menu-card {
    min-height: 94px;
    padding: 17px 18px;
  }

  .section-menu-card strong {
    font-size: 21px;
  }

  .event-info-grid {
    grid-template-columns: 1fr;
  }

  .event-info-card,
  .event-info-card-wide {
    grid-column: auto;
    min-height: 0;
    padding: 21px;
  }

  .welcome-choices {
    grid-template-columns: minmax(0, 440px);
    gap: 9px;
  }

  .welcome-choice {
    min-height: 112px;
    padding: 18px 20px;
    border-radius: 16px;
  }

  .welcome-choice strong {
    font-size: 25px;
  }

  .welcome-choice small {
    margin-top: 7px;
  }

  .simple-page-heading h1 {
    font-size: clamp(39px, 13vw, 55px);
  }

  .portal-card {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    min-height: 116px;
    gap: 12px;
    padding: 17px 15px;
  }

  .portal-number {
    font-size: 21px;
  }

  .portal-card h2 {
    font-size: 22px;
  }

  .profile-menu-heading {
    gap: 16px;
    padding: 20px 17px;
  }

  .profile-menu-heading .person-avatar-large {
    width: 66px;
    height: 66px;
    font-size: 19px;
    border-width: 4px;
  }

  .profile-menu-heading h1 {
    font-size: clamp(39px, 13vw, 55px);
  }

  .task-completion {
    min-height: 44px;
  }

  .guest-agenda > li {
    grid-template-columns: 78px 14px minmax(0, 1fr);
    gap: 10px;
  }

  .guest-agenda-time {
    padding-top: 21px;
  }

  .guest-agenda-time strong {
    font-size: var(--type-body);
  }

  .guest-agenda-dot {
    width: 11px;
    height: 11px;
    margin-top: 24px;
    border-width: 3px;
  }

  .guest-agenda-dot::after {
    left: 2px;
  }

  .guest-agenda-copy {
    padding: 15px;
  }

  .guest-agenda-copy h2 {
    font-size: 20px;
  }

  .menu-sections {
    grid-template-columns: 1fr;
  }

  .logistics-list a {
    grid-template-columns: 28px 38px minmax(0, 1fr) 26px;
    gap: 8px;
    padding-inline: 9px;
  }

  .checklist-summary {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }

  .public-edit-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .checklist-item {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .checklist-item-main {
    padding: 14px 12px;
  }

  .checklist-item-heading {
    flex-direction: column;
  }

  .checklist-status-control,
  .checklist-status-control select {
    width: 100%;
  }

  .checklist-status-control select {
    font-size: 16px;
  }
}

@media print {
  :root {
    --cream: white;
    --paper: white;
  }

  body {
    background: white;
  }

  body::before,
  .global-header,
  .topbar,
  .section-subheader,
  .sidebar,
  .mobile-navigation,
  .site-footer,
  .filter-bar,
  .view-switcher,
  .button,
  .person-card-links,
  .agenda-actions,
  .toast-region {
    display: none !important;
  }

  .app-layout {
    display: block;
  }

  .main-content {
    max-width: none;
    padding: 0;
  }

  .page-heading h1 {
    font-size: 38pt;
  }

  .hero-card {
    color: black;
    background: white;
    border: 2px solid #333;
    box-shadow: none;
  }

  .hero-copy h1,
  .hero-copy .eyebrow,
  .hero-intro {
    color: black;
  }

  .date-card {
    border: 1px solid #333;
    box-shadow: none;
  }

  .gantt-card,
  .agenda-phase > div,
  .person-card,
  .contact-card,
  .profile-panel {
    break-inside: avoid;
    box-shadow: none;
  }

  .gantt-scroll {
    overflow: visible;
  }

  .gantt-table {
    min-width: 0;
    zoom: 0.68;
  }

  .gantt-label-cell {
    position: static;
  }

  .agenda-phase,
  .person-card,
  .contact-card {
    break-inside: avoid;
  }

  .task-dialog[open] {
    display: none;
  }
}

/* Complete guest site: shared navigation, stories, gallery, and private RSVP forms. */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.site-header .global-header { position: static; height: 68px; border-bottom: 0; }
.global-brand-label { display: grid; gap: 2px; }
.global-brand-label small { font-family: system-ui, sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.site-menu-toggle, .site-menu-close { display: flex; min-height: 48px; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line-dark); border-radius: 9px; background: var(--paper); color: var(--forest); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.site-menu-toggle:hover, .site-menu-toggle[aria-expanded="true"], .site-menu-close:hover { background: #e9eee7; }
.site-menu-toggle:focus-visible, .site-menu-close:focus-visible, .site-nav-link:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; }
.hamburger-icon { display: grid; gap: 4px; width: 19px; }
.hamburger-icon > span { height: 2px; background: currentColor; border-radius: 1px; }
.site-menu { position: fixed; inset: 0 0 0 auto; width: min(380px, calc(100% - 24px)); max-width: none; height: 100%; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; border-left: 1px solid var(--line); border-radius: 18px 0 0 18px; background: var(--paper); color: var(--forest); box-shadow: var(--shadow-md); overflow: hidden; }
.site-menu[open] { display: flex; flex-direction: column; animation: menu-slide-in 240ms ease-out; }
.site-menu::backdrop { background: rgb(13 30 32 / 45%); }
.site-menu-top { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: 12px; padding: max(18px, env(safe-area-inset-top)) 18px 18px; border-bottom: 1px solid var(--line); }
.site-menu-top h2 { margin: 0; font-family: Georgia, serif; font-size: 23px; font-weight: 500; line-height: 1.25; }
.site-menu-close { flex-shrink: 0; padding: 10px; }
.site-menu-close span { font-size: 22px; line-height: 1; }
.site-menu-panel { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 12px 14px max(20px, env(safe-area-inset-bottom)); }
.site-menu-open, .site-menu-open body { overflow: hidden; }
@keyframes menu-slide-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .site-menu[open] { animation: none; } }
.site-menu-list, .site-menu-list ul { list-style: none; padding: 0; margin: 0; }
.site-nav-link { display: flex; min-height: 48px; align-items: center; padding: 10px 14px; border-radius: 7px; color: var(--forest); text-decoration: none; font-size: 16px; font-weight: 650; }
.site-nav-link:hover { background: #e9eee7; }
.site-nav-link.is-active { background: var(--forest); color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.site-menu-heading { display: block; margin: 0; padding: 15px 14px 7px; color: var(--ink-soft); font-family: inherit; font-size: 14px; font-weight: 750; }
.site-menu-section.is-active > .site-menu-heading { color: var(--forest); }
.site-menu-list .site-menu-section > ul { margin: 0 0 6px 23px; padding-left: 9px; border-left: 2px solid var(--line); }
.site-menu-section.is-active > ul { border-left-color: var(--forest); }
.site-menu-planning { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.site-menu-planning > .site-nav-link { font-size: 14px; }
.site-header ~ .section-subheader { position: sticky; top: 68px; z-index: 55; }
html { scroll-padding-top: 140px; }
.site-footer { padding: 35px 20px; margin-top: 40px; text-align: center; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 12px; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; }
.site-footer a { display: inline-flex; min-height: 44px; align-items: center; color: var(--forest); text-underline-offset: 4px; }
.site-home-main { max-width: 650px; margin: 0 auto; padding: 30px 24px 0; }
.simple-home { text-align: center; }
.simple-home-photo { display: block; width: min(100%, 565px); height: auto; margin: 22px auto 18px; border-radius: 16px; }
.simple-home .eyebrow { margin: 12px 0 8px; font-size: 12px; }
.simple-home h1 { margin: 0; font-family: Georgia, serif; color: var(--forest); font-size: clamp(38px, 7vw, 58px); font-weight: 500; letter-spacing: -.035em; }
.simple-home-location { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.simple-home-welcome { margin: 12px 0 0; color: var(--ink-soft); font-size: 16px; line-height: 1.5; }
.site-footer-account { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.team-login-page { max-width: 640px; margin: 0 auto; }
.team-login-card { padding: 24px; background: var(--paper); border: 1px solid var(--line-dark); border-radius: 16px; }
.home-navigation { max-width: 565px; margin: 0 auto; padding: 4px 0; text-align: left; }
.home-navigation > .site-menu-list { display: grid; gap: 10px; }
.home-navigation .site-nav-link { min-height: 68px; justify-content: space-between; gap: 14px; padding: 14px 18px; border: 1px solid var(--line-dark); border-radius: 12px; background: var(--paper); box-shadow: var(--shadow-sm); font-size: 19px; line-height: 1.35; }
.home-navigation .site-nav-link:hover { background: #e9eee7; border-color: var(--forest); }
.home-navigation .site-nav-link > span:first-child { min-width: 0; }
.home-navigation .site-nav-link strong { display: block; font-weight: 700; }
.home-navigation .site-nav-link small { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 14px; font-weight: 400; line-height: 1.5; }
.site-nav-arrow { flex: 0 0 28px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e9eee7; font-size: 20px; }
.home-navigation .site-menu-heading { padding: 12px 8px 10px; color: var(--forest); font-size: 21px; }
.home-navigation .site-menu-section > ul { display: grid; gap: 9px; margin: 0 0 5px 10px; padding-left: 12px; }
.home-navigation .site-menu-planning { margin-top: 6px; padding-top: 14px; }
.home-navigation .site-menu-planning > .site-nav-link { font-size: 15px; }
.celebration-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.celebration-actions .button { max-width: 100%; min-height: 44px; white-space: normal; overflow-wrap: anywhere; text-align: center; }
.home-discover-links { display: flex; flex-wrap: wrap; gap: 12px 25px; margin-top: 25px; }
.home-discover-links a { display: inline-flex; min-height: 44px; align-items: center; color: var(--forest); text-underline-offset: 5px; }
.story-page, .registry-page, .gallery-page, .faq-page, .rsvp-page, .rsvp-owner-page { max-width: 1040px; margin: 0 auto; }
.story-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 38px; }
.story-layout img { width: 100%; height: auto; border-radius: 20px; }
.story-prose p { margin: 0 0 24px; font-size: 17px; line-height: 1.9; color: var(--ink-soft); }
.registry-layout { display: grid; grid-template-columns: minmax(220px,.65fr) 1.35fr; gap: 42px; align-items: start; }
.registry-image { width: 100%; height: auto; border-radius: 20px; }
.registry-organizations article { padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; margin-bottom: 22px; }
.registry-organizations h2 { font-family: Georgia,serif; font-size: 29px; color: var(--forest); margin: 0 0 20px; }
.registry-organizations p { font-size: 15px; line-height: 1.8; color: var(--ink-soft); }
.registry-organizations .button { max-width: 100%; white-space: normal; text-align: center; }
.faq-page { max-width: 850px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 0 24px; }
.faq-list summary { padding: 22px 0; cursor: pointer; color: var(--forest); font-size: 18px; font-weight: 700; }
.faq-list p { margin: 0 0 25px; color: var(--ink-soft); font-size: 15px; line-height: 1.8; }
.faq-contact { margin-top: 35px; padding: 28px; border-radius: 18px; background: #e9eee7; }
.faq-contact h2 { margin-top: 0; color: var(--forest); font-family: Georgia,serif; font-size: 30px; }
.photo-grid { columns: 3; column-gap: 16px; }
.photo-grid figure { break-inside: avoid; margin: 0 0 16px; }
.photo-grid button { display: block; width: 100%; padding: 0; border: 0; border-radius: 14px; background: var(--paper); cursor: zoom-in; overflow: hidden; }
.photo-grid img { display: block; width: 100%; height: auto; transition: transform 150ms ease; }
.photo-grid button:hover img { transform: scale(1.025); }
.photo-grid figcaption { padding: 10px 5px 4px; color: var(--ink-soft); font-size: 12px; line-height: 1.6; }
.gallery-dialog { width: min(1000px,94vw); max-height: 94dvh; padding: 15px; border: 0; border-radius: 16px; background: var(--paper); }
.gallery-dialog::backdrop { background: rgb(13 30 32 / 85%); }
.gallery-dialog > img { display: block; max-width: 100%; max-height: 72dvh; width: auto; height: auto; margin: 0 auto; object-fit: contain; }
.gallery-dialog-toolbar, .gallery-dialog-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gallery-dialog-toolbar { margin-bottom: 12px; font-size: 13px; color: var(--ink-soft); }
.gallery-dialog button { min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--forest); cursor: pointer; padding: 10px; }
.gallery-dialog-caption p { font-size: 13px; line-height: 1.5; text-align: center; }
.rsvp-page { max-width: 820px; }
.shuttle-form-feature { max-width: none; margin: 0 0 32px; padding: clamp(18px, 4vw, 32px); border: 2px solid var(--forest); border-radius: 18px; background: var(--paper); box-shadow: var(--shadow-sm); }
.shuttle-form-heading h2 { margin: 8px 0 14px; color: var(--forest); font: 500 clamp(28px, 5vw, 36px)/1.2 Georgia, serif; }
.shuttle-form-heading p, .open-rsvp-note { color: var(--ink-soft); font-size: 16px; line-height: 1.7; }
.shuttle-form-heading .eyebrow { margin: 0 0 8px; font-size: 11px; line-height: 1.5; }
.open-rsvp-note { padding: 16px 18px; border-radius: 10px; background: #e9eee7; margin: 20px 0; }
.open-rsvp-fields { min-width: 0; border: 0; margin: 0; padding: 0; }
.open-person { min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin: 0 0 16px; }
.open-person legend { padding: 0 8px; font-size: 19px; font-weight: 700; color: var(--forest); }
.open-person > label:last-of-type { margin-bottom: 8px; }
.open-rsvp-add { margin: 0 0 24px; }
.open-rsvp .button { min-height: 48px; max-width: 100%; white-space: normal; }
.open-rsvp :is(input, select, textarea, button, [data-open-feedback]) { scroll-margin-top: 140px; }
.open-rsvp [data-open-feedback]:empty { display: none; }
.open-rsvp-fields:disabled { opacity: .7; }
.rsvp-open-overview { margin: 28px 0 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.rsvp-lodging-list, .rsvp-reported-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; margin: 20px 0; }
.rsvp-lodging-card { min-width: 0; padding: 20px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); overflow-wrap: anywhere; }
.rsvp-lodging-card h3, .rsvp-lodging-card h4 { margin: 0 0 12px; font-size: 19px; color: var(--forest); }
.rsvp-lodging-card p, .rsvp-lodging-card li, .rsvp-submission-history > p { font-size: 14px; line-height: 1.7; color: var(--ink-soft); }
.rsvp-submission-history summary { min-height: 48px; padding: 14px 0; font-weight: 700; cursor: pointer; }
@media (max-width: 500px) { .open-person { padding: 16px 12px; } }
.rsvp-login-card, .rsvp-guest-fields, .rsvp-owner-editor { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); margin-bottom: 24px; }
.rsvp-login-card { max-width: 560px; }
.rsvp-login-card h2, .rsvp-session-heading h2 { margin: 0 0 15px; color: var(--forest); font-size: 25px; font-family: Georgia,serif; }
.rsvp-page label, .rsvp-owner-page label { display: grid; gap: 8px; margin-bottom: 18px; color: var(--forest); font-size: 14px; font-weight: 700; }
.rsvp-page label > span, .rsvp-owner-page label > span { color: var(--ink-soft); font-weight: 400; }
.rsvp-page input, .rsvp-page select, .rsvp-page textarea, .rsvp-owner-page input, .rsvp-owner-page select, .rsvp-owner-page textarea { box-sizing: border-box; width: 100%; min-width: 0; min-height: 46px; padding: 11px 12px; font: inherit; font-size: 16px; font-weight: 400; border: 1px solid var(--line-dark); border-radius: 8px; background: #fffefa; color: var(--ink); }
.rsvp-page textarea, .rsvp-owner-page textarea { resize: vertical; }
.rsvp-guest-fields legend { padding: 0 8px; color: var(--forest); font-family: Georgia,serif; font-size: 23px; font-weight: 700; }
.rsvp-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.rsvp-guest-fields > p, .rsvp-form-intro, .rsvp-help, .rsvp-privacy { color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.rsvp-help { margin-top: 25px; }
.rsvp-help a { color: var(--forest); text-underline-offset: 4px; }
.rsvp-actions, .rsvp-session-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 20px 0; }
.rsvp-session-heading { justify-content: space-between; }
.rsvp-actions .button, .rsvp-login-card .button { white-space: normal; max-width: 100%; min-height: 44px; }
.rsvp-code-entry { margin-top: 25px; border-top: 1px solid var(--line); padding-top: 20px; }
.rsvp-code-entry summary { color: var(--forest); cursor: pointer; min-height: 44px; font-size: 14px; }
.rsvp-code-entry form { margin-top: 12px; }
.rsvp-message { padding: 16px 20px; border-radius: 12px; margin: 20px 0; font-size: 15px; line-height: 1.6; }
.rsvp-error { background: #fceae3; color: #7a3019; border: 1px solid #deb4a4; }
.rsvp-success { background: #e4efde; color: #294c26; border: 1px solid #b4cba8; }
.rsvp-saved-time { color: var(--ink-soft); font-size: 12px; }
.text-button { background: transparent; border: 0; color: var(--forest); text-decoration: underline; text-underline-offset: 4px; min-height: 44px; padding: 8px 0; cursor: pointer; font: inherit; font-size: 14px; }
.rsvp-owner-summary { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.rsvp-owner-summary > div { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.rsvp-owner-summary strong { display: block; font-family: Georgia,serif; font-size: 35px; color: var(--forest); }
.rsvp-owner-summary span { display: block; color: var(--ink-soft); font-size: 12px; line-height: 1.5; margin-top: 7px; }
.rsvp-owner-record { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.rsvp-owner-record h2 { margin: 0 0 10px; color: var(--forest); font-size: 19px; }
.rsvp-owner-record p { color: var(--ink-soft); font-size: 13px; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.rsvp-record-actions { display: flex; flex-direction: column; gap: 10px; align-items: start; flex-shrink: 0; }
.rsvp-record-actions .button { font-size: 12px; padding: 10px 13px; min-height: 44px; }
.rsvp-review-note { color: #915333 !important; font-weight: 700; }
.rsvp-search { display: flex; align-items: end; gap: 15px; margin-top: 25px; }
.rsvp-search label { flex: 1; margin: 0; }
.rsvp-private-link { margin: 22px 0; padding: 20px; background: #e4efde; border-radius: 10px; }
@media (max-width: 800px) {
  .site-home-main { padding: 22px 20px 0; }
  .story-layout, .registry-layout { grid-template-columns: 1fr; gap: 25px; }
  .registry-image { max-width: 350px; }
  .photo-grid { columns: 2; }
  .rsvp-owner-summary { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .faq-list details, .faq-contact, .registry-organizations article { padding-inline: 18px; }
  .rsvp-field-grid { grid-template-columns: 1fr; }
  .rsvp-login-card, .rsvp-guest-fields, .rsvp-owner-editor { padding: 20px 16px; }
  .rsvp-owner-record { flex-direction: column; gap: 8px; }
  .rsvp-record-actions { flex-direction: row; flex-wrap: wrap; }
  .rsvp-search { flex-direction: column; align-items: stretch; }
  .photo-grid { column-gap: 10px; }
  .photo-grid figure { margin-bottom: 10px; }
}
