/* 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;
  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: 105px minmax(0, 1fr) 130px;
  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-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: 14px;
  background: #fcf9f4;
  border-left: 1px solid #eae4db;
}

.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%;
}

.mini-task-list {
  overflow: hidden;
  border: 1px solid #e7e1d8;
  border-radius: 11px;
}

.mini-task-list > button {
  display: grid;
  width: 100%;
  grid-template-columns: 73px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding: 12px;
  text-align: left;
  cursor: pointer;
  background: #fbf8f2;
  border: 0;
  border-bottom: 1px solid #e7e1d8;
}

.mini-task-list > button:last-child {
  border-bottom: 0;
}

.mini-task-list > button:hover {
  background: #f5efe5;
}

.mini-task-list time {
  color: var(--terracotta-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
}

.mini-task-list > button > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.mini-task-list strong {
  overflow: hidden;
  color: var(--forest);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-task-list small {
  color: #858e8a;
  font-size: 8px;
}

.muted-copy {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
}

.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 > 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: 84px minmax(0, 1fr);
  }

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

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

  .agenda-main {
    padding: 14px;
  }

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

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

  .agenda-actions {
    grid-column: 2;
    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;
  }

  .mini-task-list > button {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .mini-task-list .badge {
    display: none;
  }

  .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: 1fr;
  }

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

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

  .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. */
.section-subheader {
  position: sticky;
  z-index: 60;
  top: 0;
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  padding: 8px clamp(16px, 3vw, 38px);
  background: rgb(255 253 248 / 94%);
  border-bottom: 1px solid rgb(201 192 178 / 75%);
  backdrop-filter: blur(16px);
}

.subheader-back {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
  color: var(--forest);
  text-decoration: none;
}

.subheader-arrow {
  display: grid;
  flex: 0 0 auto;
  width: 40px;
  height: 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);
}

.subheader-back > span:last-child {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.subheader-back small {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.subheader-back strong {
  overflow: hidden;
  max-width: 55vw;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.subheader-monogram {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.08em;
  background: var(--forest);
  border-radius: 50%;
}

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

.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: 100vh;
}

.welcome-page {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  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: 48px 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-number {
  color: var(--terracotta);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  text-align: center;
}

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

.welcome-menu-copy small {
  color: var(--terracotta-dark);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

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

.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-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.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 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 li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  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;
}

.menu-status {
  padding: 5px 8px;
  color: var(--success);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.07em;
  white-space: nowrap;
  text-transform: uppercase;
  background: #e7f0e9;
  border-radius: 999px;
}

.menu-status-coming-soon {
  color: #855d29;
  background: #f7eaca;
}

.menu-dietary-note {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  margin-top: 16px;
  padding: 18px 22px;
  background: transparent;
  border: 1px dashed var(--line-dark);
  border-radius: 14px;
}

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

.menu-dietary-note p {
  margin: 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) auto 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,
.logistics-task-count {
  color: var(--ink-soft);
  font-size: 9px;
}

.logistics-task-count {
  padding: 5px 8px;
  white-space: nowrap;
  background: var(--cream);
  border-radius: 999px;
}

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

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

@media (max-width: 700px) {
  .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: 11px;
  }

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

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

  .welcome-menu {
    gap: 7px;
  }

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

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

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

  .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: 11px;
  }

  .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,
  .menu-dietary-note {
    grid-template-columns: 1fr;
  }

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

  .menu-status {
    justify-self: start;
  }

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

  .logistics-task-count {
    display: none;
  }

  .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%;
  }
}

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

  body {
    background: white;
  }

  body::before,
  .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;
  }
}
