:root {
  --bg: #ffffff;
  --bg-strong: #f7f7f8;
  --panel: #f4f4f4;
  --panel-soft: #f7f7f8;
  --text: #0d0d0d;
  --muted: #6b6b6b;
  --border: #ececec;
  --border-strong: #d9d9d9;
  --accent: #0d0d0d;
  --shadow-soft: none;
  --surface-default: #ffffff;
  --surface-subtle: #f4f6f8;
  --surface-raised: #ffffff;
  --surface-inverse: #111111;
  --shadow-card: 0 14px 36px rgba(13, 13, 13, 0.07);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --font-sans:
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  --font-display: var(--font-sans);
  --font-child: var(--font-sans);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font: 15px/1.5 var(--font-sans);
  letter-spacing: -0.01em;
}

body::before {
  display: none;
}

.login-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.92), transparent 42%),
    linear-gradient(150deg, #f6f1e7 0%, #ebe3d6 100%);
}

.login-shell {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100% - 32px, 1120px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 40px 0;
}

.login-panel {
  width: min(100%, 430px);
  padding: clamp(30px, 6vw, 48px);
  background: rgba(250, 248, 243, 0.88);
  border: 1px solid rgba(23, 21, 18, 0.1);
  border-radius: 30px;
  box-shadow: 0 28px 90px rgba(53, 44, 33, 0.13);
  backdrop-filter: blur(18px);
}

.login-brand {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  color: #f7f4ee;
  background: var(--text);
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.login-panel .eyebrow {
  margin-bottom: 10px;
}

.login-panel h1 {
  max-width: none;
  font-size: clamp(2.8rem, 9vw, 4.25rem);
  line-height: 0.95;
}

.login-intro {
  margin: 18px 0 28px;
  color: var(--muted);
}

.login-alert {
  margin: 0 0 18px;
  padding: 12px 14px;
  color: #742d24;
  background: #f7e9e5;
  border: 1px solid rgba(116, 45, 36, 0.16);
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.4;
}

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

.login-form label {
  margin-top: 8px;
  color: #3e3932;
  font-size: 0.86rem;
  font-weight: 650;
}

.login-form input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border-strong);
  border-radius: 13px;
  font: inherit;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.login-form input:focus {
  border-color: rgba(23, 21, 18, 0.58);
  box-shadow: 0 0 0 4px rgba(23, 21, 18, 0.07);
}

.login-submit {
  min-height: 52px;
  margin-top: 15px;
  color: #f7f4ee;
  background: var(--text);
  border: 0;
  border-radius: 13px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.login-submit:hover {
  background: #302c27;
}

.login-submit:focus-visible,
.text-button:focus-visible,
.meta-pill-button:focus-visible {
  outline: 3px solid rgba(23, 21, 18, 0.28);
  outline-offset: 3px;
}

.login-footer {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.76rem;
}

.login-footer a {
  color: inherit;
  text-decoration: none;
}

.login-footer a:hover {
  text-decoration: underline;
}

.sms-signup-page {
  min-height: 100vh;
  background: #f5f5f5;
}

.sms-signup-shell {
  display: grid;
  place-items: center;
  width: min(100% - 32px, 1120px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 40px 0;
}

.sms-signup-card {
  width: min(100%, 560px);
  padding: clamp(30px, 6vw, 52px);
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.08);
}

.sms-signup-card h1 {
  margin: 0;
  font-size: clamp(2.6rem, 8vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.sms-signup-intro {
  margin: 20px 0 30px;
  color: var(--muted);
  font-size: 1.04rem;
}

.sms-signup-form {
  display: grid;
  gap: 12px;
}

.sms-signup-form > label:first-child {
  color: #3e3e3e;
  font-size: 0.86rem;
  font-weight: 650;
}

.sms-signup-form > input[type="tel"] {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  color: var(--text);
  background: var(--panel-soft);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  font: inherit;
  outline: none;
}

.sms-signup-form > input[type="tel"]:focus {
  border-color: rgba(13, 13, 13, 0.58);
  box-shadow: 0 0 0 4px rgba(13, 13, 13, 0.07);
}

.sms-consent-check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.sms-consent-check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--text);
}

.sms-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sms-signup-alert {
  margin: 0 0 20px;
  padding: 13px 15px;
  color: #1f5132;
  background: #eef8f1;
  border-radius: 12px;
  font-size: 0.9rem;
}

.sms-signup-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 8px;
  padding: 0 22px;
  color: #fff;
  background: var(--text);
  border-radius: 12px;
  border: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.sms-signup-button:hover {
  color: #fff;
  background: #2f2f2f;
}

.sms-invitation-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.sms-invitation-note {
  margin-top: 14px;
}

.sms-signup-footer {
  margin-top: 28px;
}

.text-button {
  display: block;
  margin: 18px auto 0;
  padding: 6px;
  color: var(--muted);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}

.meta-pill-button {
  cursor: pointer;
  font: inherit;
}

.dashboard-meta form {
  display: inline-flex;
  margin: 0;
}

.shell {
  position: relative;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.hero {
  padding: 64px 0 52px;
  border-top: 1px solid var(--border);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 6.8rem);
}

.lede {
  max-width: 36rem;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  padding: 28px 30px 32px;
  color: inherit;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.1));
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.card:hover {
  transform: translateY(-1px);
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.18));
}

.card-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--border-strong);
}

.card h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.card p,
.note p,
.legal p,
.legal li {
  color: var(--muted);
}

.note {
  margin-top: 18px;
  padding: 18px 0 0;
  border-top: 1px solid var(--border);
}

.note p {
  margin: 0;
}

.note-link {
  margin-top: 10px;
}

.legal {
  max-width: 760px;
  padding-top: 22px;
}

.legal h1 {
  max-width: none;
  font-size: clamp(3rem, 7vw, 5rem);
  margin-bottom: 10px;
}

.legal h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 1.65rem;
}

.effective-date {
  margin: 0 0 20px;
  color: var(--muted);
}

.legal ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal li + li {
  margin-top: 8px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  color: var(--muted);
  font-weight: 500;
  text-decoration: none;
}

.back-link::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--border-strong);
}

.back-link:hover,
a:hover {
  color: var(--accent);
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

strong {
  color: var(--text);
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.button-primary {
  background: var(--text);
  color: #f7f4ee;
}

.button-primary:hover {
  color: #f7f4ee;
  opacity: 0.92;
}

.button-secondary {
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.42);
}

.auth-shell {
  display: flex;
  align-items: center;
  min-height: 100vh;
}

.auth-panel {
  width: min(760px, 100%);
  padding: 54px 0;
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.auth-note {
  max-width: 42rem;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.auth-note h2 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.dashboard-shell {
  width: min(1240px, calc(100% - 28px));
  padding-top: 16px;
}

.dashboard-shell-inbox {
  width: min(1360px, calc(100% - 28px));
}

.blythe-serif-preview,
.blythe-serif-preview p,
.blythe-serif-preview li,
.blythe-serif-preview a,
.blythe-serif-preview button,
.blythe-serif-preview summary,
.blythe-serif-preview .meta-pill,
.blythe-serif-preview .signal-value,
.blythe-serif-preview .signal-detail,
.blythe-serif-preview .signal-label,
.blythe-serif-preview .state-pill,
.blythe-serif-preview .eyebrow {
  font-family: var(--font-display);
}

.dashboard-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 22px;
  border-top: 1px solid var(--border);
}

.dashboard-header-ops {
  align-items: flex-start;
  flex-direction: column;
  padding-bottom: 24px;
}

.dashboard-header-brief {
  gap: 14px;
  padding-bottom: 10px;
}

.dashboard-heading {
  max-width: 52rem;
}

.dashboard-heading h1 {
  max-width: 14ch;
}

.dashboard-heading-brief h1 {
  max-width: none;
  font-size: clamp(1.85rem, 2.8vw, 2.7rem);
  line-height: 1.04;
}

.dashboard-shell-inbox .dashboard-heading-brief h1 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.dashboard-section-tight {
  margin-top: 14px;
  padding-top: 14px;
}

.dashboard-intro {
  max-width: 44rem;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.dashboard-shell-inbox .dashboard-intro {
  max-width: 52rem;
  font-size: 1.02rem;
}

.dashboard-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.45);
  font-size: 0.92rem;
}

.meta-pill-link {
  color: var(--text);
  text-decoration: none;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.signal-card,
.sync-card,
.pressure-card,
.queue-item,
.system-item,
.child-row,
.primary-brief,
.primary-actions {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.18));
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.signal-card {
  min-height: 120px;
  padding: 16px 18px;
}

.signal-label {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-value {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  font-weight: 500;
  line-height: 1;
}

.signal-detail,
.pressure-card p,
.queue-item p,
.system-item p,
.child-core p,
.primary-summary,
.primary-note {
  margin: 0;
  color: var(--muted);
}

.dashboard-primary {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.9fr);
  gap: 14px;
  margin-top: 14px;
}

.brief-summary-card {
  padding: 24px 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.18));
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.brief-summary-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brief-summary-why {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.brief-summary-focus,
.brief-summary-courses {
  margin: 14px 0 0;
  color: var(--muted);
}

.primary-brief,
.primary-actions {
  padding: 22px;
}

.primary-brief h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.primary-list {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.primary-list li + li {
  margin-top: 8px;
}

.primary-actions h3,
.pressure-card h3,
.queue-item h3,
.system-item h3,
.child-core h3,
.section-heading h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.06;
}

.primary-actions h3 {
  font-size: 1.3rem;
}

.action-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.action-chip {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.primary-note {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

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

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

.dashboard-index-grid .card {
  min-height: 210px;
}

.dashboard-index-grid .card h2 {
  max-width: none;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.constraint-banner {
  padding: 18px 20px;
  background: #171512;
  color: #f7f4ee;
  border-radius: 22px;
}

.constraint-banner strong {
  display: block;
  margin-top: 8px;
  color: #f7f4ee;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.04;
}

.constraint-banner p,
.constraint-label {
  margin: 10px 0 0;
  color: rgba(247, 244, 238, 0.8);
}

.constraint-label {
  display: inline-block;
  margin-top: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sync-card {
  min-height: 210px;
  padding: 20px;
}

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

.sync-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.sync-card p,
.sync-result {
  color: var(--muted);
}

.sync-actions {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.sync-actions .button-primary {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.sync-actions .button-primary:disabled {
  opacity: 0.55;
  cursor: wait;
}

.dashboard-section {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.section-heading {
  max-width: 38rem;
  margin-bottom: 14px;
}

.section-heading h2 {
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
}

.pressure-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.pressure-card {
  min-height: 200px;
  padding: 20px;
}

.pressure-topline,
.system-topline,
.child-core {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.state-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.52);
  font-size: 0.85rem;
  font-weight: 600;
}

.state-pill-strong {
  color: var(--text);
  border-color: var(--border-strong);
}

.child-stack,
.queue-list,
.system-list {
  display: grid;
  gap: 14px;
}

.child-row {
  padding: 22px 24px;
}

.child-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.child-metrics dt {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.child-metrics dd {
  margin: 0;
  font-weight: 500;
}

.dashboard-lower {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.dashboard-section-compact {
  margin-top: 0;
}

.queue-item,
.system-item {
  padding: 20px 22px;
}

.brief-list {
  display: grid;
  gap: 12px;
}

.brief-card {
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.18));
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.brief-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.brief-card p {
  margin: 0;
  color: var(--muted);
}

.brief-card-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
}

.check-box {
  width: 20px;
  height: 20px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.52);
}

.queue-stack {
  display: grid;
  gap: 12px;
}

.queue-lock {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.18));
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.queue-lock-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-weight: 700;
}

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

.queue-lock-topline h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.queue-lock-body p {
  margin: 0;
  color: var(--muted);
}

.queue-lock-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.queue-details {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.queue-details summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 600;
}

.queue-details-body {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.queue-details-body p {
  margin: 0;
  color: var(--muted);
}

.queue-details-body strong {
  color: var(--text);
}

.signal-strip-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 0;
  padding-top: 0;
}

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

.dashboard-shell-inbox .brief-card {
  padding: 20px 22px;
}

.dashboard-shell-inbox .brief-card h3 {
  font-size: 1.14rem;
}

.dashboard-shell-inbox .section-heading h2 {
  font-size: clamp(1.45rem, 1.8vw, 2rem);
}

.queue-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: flex-start;
}

.queue-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.system-item h3,
.queue-item h3,
.child-core h3,
.pressure-card h3 {
  font-size: 1.12rem;
}

.calendar-shell {
  width: min(1400px, calc(100% - 28px));
}

.calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.8fr);
  gap: 20px;
}

.calendar-controls,
.calendar-heading-row,
.calendar-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.calendar-mode-toggle,
.calendar-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.calendar-toggle,
.calendar-nav-button {
  appearance: none;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.62);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  cursor: pointer;
}

.calendar-toggle.is-active {
  background: var(--text);
  color: var(--bg);
}

.calendar-focus-note {
  color: var(--muted);
  font-size: 0.98rem;
}

.person-chip,
.calendar-person-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.5);
}

.person-swatch {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.calendar-main,
.calendar-sidebar {
  min-height: 540px;
}

.calendar-day-view,
.calendar-week-grid,
.calendar-month-grid {
  display: grid;
  gap: 14px;
}

.calendar-day-header h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.calendar-week-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-day-column {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.28);
  min-height: 340px;
}

.calendar-day-column-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.calendar-day-name {
  color: var(--muted);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.calendar-day-column-body {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 14px;
}

.calendar-empty {
  margin: 0;
  color: var(--muted);
}

.calendar-event-card {
  padding: 16px 16px 16px 18px;
  border: 1px solid var(--border);
  border-left: 5px solid var(--event-color, var(--border-strong));
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.calendar-event-card-compact {
  padding: 12px 12px 12px 14px;
  border-radius: 16px;
}

.calendar-event-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.calendar-event-time,
.calendar-event-category {
  color: var(--muted);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.calendar-event-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 500;
  line-height: 1.08;
}

.calendar-event-card p {
  margin: 0;
  color: var(--muted);
}

.calendar-event-people {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.calendar-month-headings,
.calendar-month-cells {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.calendar-month-headings span {
  color: var(--muted);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.calendar-month-cell {
  min-height: 132px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.28);
}

.calendar-month-cell.is-outside,
.calendar-month-cell.is-past {
  opacity: 0.52;
}

.calendar-month-cell.is-today {
  opacity: 1;
  background: #ededed;
}

.calendar-month-date {
  font-weight: 700;
  margin-bottom: 10px;
}

.calendar-month-events {
  display: grid;
  gap: 6px;
}

.calendar-month-pill {
  display: block;
  padding: 8px 10px;
  border-radius: 12px;
  border-left: 4px solid var(--event-color, var(--border-strong));
  background: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
  line-height: 1.2;
}

@media (max-width: 800px) {
  .shell {
    width: min(100% - 20px, 1100px);
    padding: 18px 0 40px;
  }

  .hero {
    padding: 44px 0 36px;
  }

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

  .card {
    min-height: 0;
  }

  .dashboard-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-shell {
    width: min(100% - 18px, 1240px);
  }

  .dashboard-shell-inbox {
    width: min(100% - 18px, 1360px);
  }

  .dashboard-shell-inbox .signal-strip-compact {
    grid-template-columns: 1fr;
  }

  .signal-strip,
  .dashboard-index-grid,
  .sync-grid,
  .pressure-grid,
  .dashboard-primary,
  .dashboard-lower,
  .calendar-layout,
  .calendar-week-grid,
  .calendar-month-headings,
  .calendar-month-cells {
    grid-template-columns: 1fr;
  }

  .child-metrics {
    grid-template-columns: 1fr 1fr;
  }
}

/* Daily dashboard and editable family soccer schedule */
.dashboard-home-header {
  align-items: center;
  padding: 10px 0 14px;
}

.dashboard-home-header .dashboard-heading h1 {
  max-width: none;
  margin-top: 2px;
  font-size: clamp(1.65rem, 2.5vw, 2.35rem);
  line-height: 1;
}

.dashboard-quickbar {
  display: grid;
  grid-template-columns: minmax(230px, 1.35fr) minmax(210px, 1.15fr) repeat(5, minmax(105px, 0.62fr));
  gap: 10px;
  margin-bottom: 14px;
}

.quick-launch {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.48);
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}

.quick-launch:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.quick-launch-primary {
  background: #18231d;
  border-color: #18231d;
  color: #f8f5ec;
}

.quick-launch-icon {
  font-size: 1.55rem;
}

.quick-launch strong,
.quick-launch small {
  display: block;
}

.quick-launch strong {
  font-size: 0.98rem;
}

.quick-launch small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.quick-launch-primary small {
  color: rgba(248, 245, 236, 0.72);
}

.quick-launch-soarin {
  background: #087fe8;
  border-color: #087fe8;
}

.quick-launch-soarin:hover {
  background: #076fca;
  border-color: #076fca;
}

.soccer-shell {
  width: min(1540px, calc(100% - 28px));
}

.soccer-header {
  border-top: 0;
  border-bottom: 0;
}

.soccer-add-button,
.soccer-dialog .button-primary,
.soccer-dialog .button-secondary,
.button-danger {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.soccer-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.46);
}

.soccer-summary > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 13px 16px;
  border-right: 1px solid var(--border);
}

.soccer-summary > div:last-child {
  border-right: 0;
}

.soccer-summary strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
}

.soccer-summary span {
  color: var(--muted);
  font-size: 0.83rem;
}

.soccer-summary .soccer-summary-pressure {
  background: #f4f4f4;
}

.soccer-toolbar {
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.soccer-range {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.soccer-range h2 {
  min-width: 250px;
  margin: 0 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.soccer-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.soccer-person {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
}

.soccer-person::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--person-color);
}

.person-blythe { --person-color: #606060; --person-soft: #f3f3f3; }
.person-calin { --person-color: #12816a; --person-soft: #dcf4ed; }
.person-crusoe { --person-color: #8457d8; --person-soft: #eee6fb; }
.person-soarin { --person-color: #267ea6; --person-soft: #deeff7; }
.person-other { --person-color: #62676f; --person-soft: #ecebea; }
.person-family { --person-color: #8e8e93; --person-text: #636366; --person-soft: #f2f2f2; }

.soccer-status {
  margin: 9px 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.soccer-status.is-error,
.soccer-form-error {
  color: #a52a1e;
}

.soccer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 14px;
  align-items: start;
}

.soccer-calendar-panel,
.soccer-side-panel {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: var(--shadow-soft);
}

.soccer-calendar-panel {
  overflow: hidden;
}

.soccer-side-panel {
  display: grid;
  gap: 22px;
  padding: 17px;
}

.soccer-side-panel h2 {
  margin: 3px 0 10px;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 500;
}

.soccer-pressure-list,
.soccer-upcoming-list {
  display: grid;
  gap: 6px;
}

.soccer-pressure-item,
.soccer-upcoming-item {
  display: grid;
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--text);
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.soccer-pressure-item {
  grid-template-columns: 1fr auto;
  align-items: center;
  background: #f4f4f4;
  border-color: #dedede;
}

.soccer-pressure-item span,
.soccer-upcoming-item span:last-child {
  min-width: 0;
}

.soccer-pressure-item small,
.soccer-upcoming-item small {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.soccer-pressure-item b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #3f3f3f;
  color: #fff;
  font-size: 0.78rem;
}

.soccer-upcoming-item {
  grid-template-columns: 45px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.soccer-upcoming-date {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.soccer-month-weekdays,
.soccer-month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.soccer-month-weekdays span {
  padding: 9px 10px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.soccer-month-day {
  min-height: 128px;
  padding: 7px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.28);
}

.soccer-month-day[data-date],
.soccer-week-day[data-date] {
  cursor: pointer;
}

.soccer-month-day:nth-child(7n) {
  border-right: 0;
}

.soccer-month-day.is-outside,
.soccer-month-day.is-past {
  opacity: 0.38;
}

.soccer-month-day.is-today {
  opacity: 1;
}

.soccer-month-day.is-today,
.soccer-week-day.is-today {
  background: #ededed;
  box-shadow: none;
}

.soccer-month-day.is-pressure,
.soccer-week-day.is-pressure {
  background: #f4f4f4;
}

.soccer-month-day-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 25px;
}

.soccer-date-jump {
  padding: 3px 5px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.soccer-pressure-badge {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 0 7px;
  border-radius: 999px;
  background: #3f3f3f;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  white-space: nowrap;
}

.soccer-month-events,
.soccer-week-events,
.soccer-day-events {
  display: grid;
  gap: 5px;
}

.soccer-event {
  position: relative;
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 10px 12px 10px 15px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: #ffffff;
  color: var(--text);
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.soccer-event::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--person-color);
}

.soccer-event:hover {
  background: #f9f9f9;
}

.soccer-event strong {
  font-size: 0.83rem;
}

.soccer-event span,
.soccer-event small {
  overflow: hidden;
  font-size: 0.72rem;
  line-height: 1.25;
  text-overflow: ellipsis;
}

.soccer-event small {
  color: var(--muted);
}

.soccer-event .soccer-event-time {
  color: var(--person-text, var(--person-color));
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
}

.soccer-event.is-possible {
  border-style: dashed;
}

.soccer-event em {
  position: absolute;
  top: 6px;
  right: 6px;
  color: var(--muted);
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.soccer-event.is-compact {
  gap: 1px;
  padding: 6px 7px 6px 10px;
  border-radius: 8px;
}

.soccer-event.is-compact strong,
.soccer-event.is-compact span {
  font-size: 0.65rem;
  white-space: nowrap;
}

.soccer-event.is-compact em {
  display: none;
}

.soccer-week-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(145px, 1fr));
  min-width: 1015px;
}

.soccer-week-day {
  min-height: 440px;
  padding: 8px;
  border-right: 1px solid var(--border);
}

.soccer-week-day:last-child {
  border-right: 0;
}

.soccer-week-day > .soccer-date-jump {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 5px;
}

.soccer-week-day > .soccer-date-jump span {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.soccer-week-day > .soccer-date-jump strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.soccer-week-day > .soccer-pressure-badge {
  margin-bottom: 6px;
}

.soccer-week-scroller,
.soccer-month-scroller {
  overflow-x: auto;
}

.soccer-layout.is-table-view {
  grid-template-columns: minmax(0, 1fr);
}

.soccer-layout.is-table-view .soccer-side-panel {
  display: none;
}

.soccer-table-view {
  min-height: 500px;
}

.soccer-table-tools {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(135px, 0.4fr) minmax(190px, 0.65fr) minmax(120px, 0.35fr) auto auto;
  align-items: end;
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}

.soccer-feed-bar {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.soccer-feed-bar > div {
  display: flex;
  gap: 14px;
}

.soccer-text-button {
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 650;
  cursor: pointer;
}

.soccer-text-button:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.soccer-text-button:disabled {
  color: var(--muted);
  cursor: wait;
}

.soccer-source-legend {
  margin-left: 5px;
  color: var(--muted);
  font-size: 0.68rem;
  white-space: nowrap;
}

.soccer-event.is-feed-event {
  border-color: transparent;
  border-style: solid;
  background: #f5f5f5;
}

.soccer-event.has-feed-conflict,
.soccer-table-row.has-feed-conflict {
  box-shadow: inset 0 0 0 1px #6b6b6b;
}

.soccer-event.has-feed-update,
.soccer-table-row.has-feed-update {
  box-shadow: inset 0 0 0 1px #a5a5a5;
}

.soccer-event.is-canceled {
  opacity: 0.64;
  text-decoration: line-through;
}

.soccer-kind-tag,
.soccer-feed-tag {
  justify-self: start;
  padding: 2px 6px;
  border-radius: 999px;
  background: #ececec;
  color: #484848;
  font-size: 0.56rem;
  font-style: normal;
  font-weight: 750;
  line-height: 1.2;
  text-transform: uppercase;
}

.soccer-feed-tag {
  background: #222;
  color: #fff;
}

.soccer-event.is-compact .soccer-kind-tag,
.soccer-event.is-compact .soccer-feed-tag {
  display: none;
}

.soccer-feed-warning {
  color: #3f3f3f !important;
  font-weight: 650;
}

.soccer-table-status.is-canceled {
  background: #ececec;
  color: #555;
  text-decoration: line-through;
}

.soccer-game-feed-notice {
  display: grid;
  gap: 4px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #f1f1f1;
  color: var(--text);
  font-size: 0.82rem;
  line-height: 1.4;
}

.soccer-game-feed-notice[hidden] {
  display: none;
}

.soccer-game-feed-notice span {
  color: var(--muted);
}

.soccer-feed-dialog {
  width: min(620px, calc(100vw - 28px));
}

.soccer-feed-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.soccer-feed-details > div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 8px;
  background: #f5f5f5;
}

.soccer-feed-details span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.soccer-feed-detail-wide {
  grid-column: 1 / -1;
}

.soccer-feed-notes {
  margin: 16px 0 0;
  color: var(--text);
  font-size: 0.84rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

.soccer-feed-readonly {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .soccer-feed-bar {
    align-items: flex-start;
    flex-direction: column;
    padding: 8px 0;
  }

  .soccer-feed-details {
    grid-template-columns: 1fr;
  }

  .soccer-feed-detail-wide {
    grid-column: auto;
  }
}

.soccer-table-tools label {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.soccer-table-tools label > span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.soccer-table-tools input,
.soccer-table-tools select {
  width: 100%;
  height: 40px;
  min-width: 0;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
}

.soccer-table-tools input:focus,
.soccer-table-tools select:focus {
  outline: 2px solid var(--text);
  outline-offset: 1px;
}

.soccer-table-clear {
  height: 40px;
  padding: 0 18px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.soccer-table-clear:hover:not(:disabled) {
  background: #f4f4f4;
}

.soccer-table-clear:disabled {
  color: #a0a0a0;
  cursor: default;
}

.soccer-table-result {
  align-self: center;
  min-width: 92px;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: right;
  white-space: nowrap;
}

.soccer-table-scroller {
  width: 100%;
  overflow-x: auto;
}

.soccer-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
  background: #ffffff;
  font-size: 0.83rem;
}

.soccer-table th,
.soccer-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.soccer-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f7f7f7;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.soccer-table-row {
  cursor: pointer;
}

.soccer-table-row:hover,
.soccer-table-row:focus-visible {
  background: #f9f9f9;
}

.soccer-table-row:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: -2px;
}

.soccer-table-row:last-child td {
  border-bottom: 0;
}

.soccer-table-date,
.soccer-table-time {
  white-space: nowrap;
  font-weight: 600;
}

.soccer-table-time {
  color: var(--person-text, var(--person-color));
}

.soccer-table td small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.3;
}

.soccer-table-person {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 650;
  white-space: nowrap;
}

.soccer-table-person::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--person-color);
}

.soccer-table-status {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font-size: 0.68rem;
  font-weight: 650;
  white-space: nowrap;
}

.soccer-table-status.is-possible {
  border-style: dashed;
  background: #f4f4f4;
}

.soccer-table-empty {
  margin: 0;
  padding: 36px 18px;
  color: var(--muted);
  text-align: center;
}

.soccer-day-view {
  min-height: 500px;
  padding: 18px;
}

.soccer-day-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.48);
}

.soccer-day-heading.is-pressure {
  background: #f4f4f4;
  border-color: #dedede;
}

.soccer-day-heading span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.soccer-day-heading .soccer-pressure-badge {
  color: #ffffff;
}

.soccer-day-heading h3 {
  margin: 3px 0 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
}

.soccer-day-events .soccer-event {
  grid-template-columns: 86px 90px minmax(0, 1fr);
  align-items: center;
}

.soccer-day-events .soccer-event small {
  grid-column: 3;
}

.soccer-empty,
.soccer-empty-mark {
  color: var(--muted);
  font-size: 0.82rem;
}

.soccer-dialog {
  width: min(720px, calc(100% - 24px));
  max-height: calc(100vh - 28px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #f8f5ee;
  color: var(--text);
  box-shadow: 0 26px 90px rgba(23, 21, 18, 0.28);
}

.soccer-dialog::backdrop {
  background: rgba(20, 19, 17, 0.5);
  backdrop-filter: blur(5px);
}

.soccer-form {
  padding: 22px;
}

.soccer-dialog-heading,
.soccer-form-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.soccer-dialog-heading {
  justify-content: space-between;
  margin-bottom: 18px;
}

.soccer-dialog-heading h2 {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
}

.dialog-close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
}

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

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

.soccer-form label > span {
  font-size: 0.78rem;
  font-weight: 700;
}

.soccer-form label small {
  color: var(--muted);
  font-weight: 400;
}

.soccer-form input,
.soccer-form select,
.soccer-form textarea {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font: inherit;
}

.soccer-form-wide {
  grid-column: 1 / -1;
}

.soccer-form-error {
  min-height: 20px;
  margin: 10px 0;
  font-size: 0.82rem;
}

.soccer-form-actions {
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.soccer-form-spacer {
  flex: 1;
}

.button-danger {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: #f1d8d3;
  color: #8d251c;
}

@media (max-width: 1050px) {
  .dashboard-quickbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .soccer-toolbar {
    grid-template-columns: auto 1fr;
  }

  .soccer-legend {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

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

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

@media (max-width: 700px) {
  .dashboard-home-header {
    align-items: flex-start;
  }

  .dashboard-quickbar,
  .soccer-summary,
  .soccer-side-panel {
    grid-template-columns: 1fr;
  }

  .soccer-summary > div {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .soccer-summary > div:last-child {
    border-bottom: 0;
  }

  .soccer-toolbar {
    grid-template-columns: 1fr;
  }

  .soccer-range {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .soccer-range h2 {
    width: 100%;
    min-width: 0;
    margin: 6px 0 0;
  }

  .soccer-month-calendar {
    min-width: 850px;
  }

  .soccer-table-tools {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }

  .soccer-table-search,
  .soccer-table-result {
    grid-column: 1 / -1;
  }

  .soccer-table-result {
    text-align: left;
  }

  .soccer-form-grid {
    grid-template-columns: 1fr;
  }

  .soccer-form-wide {
    grid-column: auto;
  }

  .soccer-day-events .soccer-event {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .soccer-day-events .soccer-event span:not(.soccer-event-time),
  .soccer-day-events .soccer-event small {
    grid-column: 2;
  }
}

.school-night-shell {
  width: min(1120px, calc(100% - 28px));
  padding-bottom: 56px;
}

.school-night-header {
  border-bottom: 0;
}

.school-night-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #ffffff;
}

.school-night-overview article {
  display: grid;
  gap: 5px;
  padding: 16px;
  border-right: 1px solid var(--border);
}

.school-night-overview article:last-child {
  border-right: 0;
}

.school-night-overview span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.school-night-overview strong {
  font-size: 0.98rem;
}

.school-night-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 16px;
  padding: 20px 22px;
  border-radius: 14px;
  background: #171512;
  color: #ffffff;
}

.school-night-alert .eyebrow {
  color: #c9c5bd;
}

.school-night-alert h2,
.school-night-alert p {
  margin: 0;
}

.school-night-alert h2 {
  margin-top: 4px;
  font-size: 1.25rem;
}

.school-night-alert p:last-child {
  margin-top: 6px;
  color: #d7d3cc;
  font-size: 0.84rem;
}

.school-night-alert a,
.school-night-map-heading a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.school-night-child {
  --route-color: #8e8e93;
  --route-ink: #4f4f52;
  --route-soft: #f7f7f8;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #ffffff;
}

.school-night-calin {
  --route-color: #0a84ff;
  --route-ink: #0067c8;
  --route-soft: #edf6ff;
}

.school-night-blythe {
  --route-color: #ffd60a;
  --route-ink: #665600;
  --route-soft: #fff9d9;
}

.school-night-blythe .school-night-stop {
  color: var(--route-ink);
}

.school-night-child-heading {
  display: grid;
  gap: 24px;
  padding: 22px;
}

.school-night-child-heading h2 {
  margin: 3px 0 0;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
}

.school-night-route {
  min-width: 0;
  padding: 17px 18px 14px;
  overflow-x: auto;
  border: 0;
  border-radius: 10px;
  background: var(--route-soft);
}

.school-night-route-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.school-night-route-label strong {
  color: var(--route-ink);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.school-night-route-label span {
  color: var(--muted);
  font-size: 0.7rem;
}

.school-night-timeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(88px, 1fr));
  min-width: 620px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.school-night-timeline li {
  --stop-color: var(--route-color);
  --next-color: var(--route-color);
  position: relative;
  display: grid;
  justify-items: center;
  min-width: 0;
  color: var(--stop-color);
  text-align: center;
}

.school-night-timeline li::after {
  position: absolute;
  z-index: 0;
  top: 35px;
  left: calc(50% + 18px);
  width: calc(100% - 36px);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--stop-color), var(--next-color));
  content: "";
}

.school-night-timeline li:last-child::after {
  display: none;
}

.school-night-timeline time {
  margin-bottom: 7px;
  color: #595959;
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.school-night-stop {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 4px solid #ffffff;
  border-radius: 50%;
  background: var(--stop-color);
  color: #ffffff;
  box-shadow: none;
  font-size: 0.68rem;
  font-weight: 800;
}

.school-night-timeline li > strong {
  margin-top: 8px;
  overflow-wrap: anywhere;
  color: #171512;
  font-size: 0.82rem;
  line-height: 1.15;
}

.school-night-timeline li > small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.school-night-timeline .is-stay > small {
  color: #14806d;
}

.school-night-timeline .is-hurry > small {
  color: #b34f17;
}

.school-night-table {
  width: 100%;
  border-collapse: collapse;
}

.school-night-table th,
.school-night-table td {
  padding: 13px 16px;
  border-top: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.school-night-table th {
  background: #f7f7f8;
  color: var(--muted);
  font-size: 0.67rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.school-night-table td {
  font-size: 0.86rem;
  line-height: 1.4;
}

.school-night-table td:first-child {
  white-space: nowrap;
}

.school-night-table td:first-child span,
.school-night-table td:last-child small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.68rem;
}

.school-night-table .school-night-hurry td:first-child {
  box-shadow: inset 4px 0 0 #d97921;
}

.school-night-note,
.school-night-footnote {
  margin: 0;
  padding: 16px 22px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.school-night-note strong {
  color: var(--text);
}

.school-night-footnote {
  padding-top: 0;
  border-top: 0;
  font-size: 0.72rem;
}

.school-night-break {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  padding: 14px;
  border: 1px dashed var(--border-strong);
  border-radius: 14px;
  color: var(--muted);
  font-size: 0.8rem;
}

.school-night-break strong {
  color: var(--text);
  font-size: 0.95rem;
}

.school-night-map {
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #ffffff;
}

.school-night-map-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
}

.school-night-map-heading h2 {
  margin: 4px 0 0;
}

.school-night-map-heading > div:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.school-night-map-heading a {
  min-height: 34px;
  color: var(--text);
}

.school-night-map img {
  display: block;
  width: 100%;
  height: auto;
  border-top: 1px solid var(--border);
}

@media (max-width: 760px) {
  .school-night-overview {
    grid-template-columns: 1fr 1fr;
  }

  .school-night-overview article:nth-child(2) {
    border-right: 0;
  }

  .school-night-overview article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .school-night-alert,
  .school-night-map-heading {
    display: grid;
    align-items: start;
  }

  .school-night-route {
    margin-inline: -2px;
  }

  .school-night-map-heading > div:last-child {
    justify-content: flex-start;
  }

  .school-night-table-wrap {
    overflow-x: auto;
  }

  .school-night-table {
    min-width: 690px;
  }

  .school-night-break {
    display: grid;
    justify-items: center;
    gap: 3px;
  }
}

@media print {
  .school-night-shell {
    width: 100%;
    padding: 0;
  }

  .school-night-header .dashboard-meta,
  .school-night-alert a,
  .school-night-map-heading a {
    display: none;
  }

  .school-night-child,
  .school-night-map,
  .school-night-overview {
    break-inside: avoid;
    box-shadow: none;
  }
}

.focus-body {
  min-height: 100vh;
  background: #ffffff;
}

.focus-body::before {
  background-image: none;
}

.focus-shell {
  width: min(560px, calc(100% - 20px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 8px 0 16px;
}

.focus-panel {
  min-height: calc(100vh - 16px);
  padding: 10px 10px 16px;
  background: #ffffff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.focus-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 4px 12px;
}

.focus-brand,
.focus-section-label,
.focus-loading-label,
.focus-detail-label,
.focus-dialog-label {
  margin: 0;
  color: #6c7687;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.focus-intro {
  max-width: 24rem;
  margin: 12px 0 0;
  color: #667182;
  font-size: 1rem;
  line-height: 1.45;
}

.focus-surface {
  display: grid;
  gap: 16px;
}

.focus-hero-card,
.focus-actions-card,
.focus-mini-card,
.focus-log-card,
.focus-loading,
.focus-empty {
  padding: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 0;
  border-radius: 24px;
  box-shadow: 0 4px 16px rgba(57, 78, 108, 0.04);
}

.focus-hero-card {
  padding-top: 20px;
}

.focus-hero-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.focus-hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 6px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(135, 211, 255, 0.95), rgba(255, 232, 133, 0.86));
  color: #ffffff;
  font-weight: 700;
  box-shadow: none;
}

.focus-hero-corner-meta {
  display: grid;
  gap: 6px;
  justify-items: end;
  text-align: right;
  color: #6c7687;
  font-size: 0.8rem;
  font-weight: 600;
}

.focus-hero-card h2,
.focus-actions-card h3,
.focus-mini-card h3,
.focus-log-card h3,
.focus-loading h2,
.focus-empty h2,
.focus-detail-block h3 {
  margin: 0;
  font-family: var(--font-child);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.focus-hero-card h2 {
  font-size: clamp(1.55rem, 6.2vw, 2.15rem);
  margin-top: 12px;
}

.focus-hero-meta,
.focus-hero-body,
.focus-muted-copy,
.focus-detail-block p,
.focus-loading p,
.focus-empty p,
.focus-log-entry p {
  margin: 0;
  color: #667182;
}

.focus-hero-meta {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.9rem;
}

.focus-hero-meta strong {
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.focus-hero-body {
  margin-top: 20px;
  font-size: 1rem;
  line-height: 1.52;
}

.focus-actions-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(23, 21, 18, 0.08);
}

.focus-actions-topline h3,
.focus-mini-card h3,
.focus-log-card h3 {
  margin-top: 2px;
  font-size: 1.22rem;
}

.focus-ghost-button,
.focus-action-button,
.focus-primary-button,
.focus-secondary-button,
.focus-dialog-close {
  border: 0;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
}

.focus-ghost-button {
  min-height: 34px;
  padding: 0 12px;
  background: rgba(23, 21, 18, 0.08);
  color: var(--text);
}

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

.focus-action-button {
  min-height: 50px;
  padding: 0 16px;
  background: rgba(23, 21, 18, 0.08);
  color: var(--text);
  font-weight: 600;
  transition: background-color 120ms ease, color 120ms ease;
}

.focus-action-button-muted {
  background: rgba(23, 21, 18, 0.08);
  color: var(--text);
}

.focus-action-button:hover,
.focus-action-button:active,
.focus-action-button:focus-visible,
.focus-ghost-button:hover,
.focus-ghost-button:active,
.focus-ghost-button:focus-visible,
.focus-secondary-button:hover,
.focus-secondary-button:active,
.focus-secondary-button:focus-visible {
  background: #171512;
  color: #f8f5ef;
  outline: none;
}

.focus-input-wrap {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  color: #667182;
  font-size: 0.92rem;
}

.focus-input {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(23, 21, 18, 0.08);
  border-radius: 18px;
  background: rgba(246, 248, 251, 0.98);
  color: var(--text);
  font: inherit;
}

.focus-proof-body {
  display: grid;
  gap: 16px;
}

.focus-proof-picker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 18px;
  background: rgba(23, 21, 18, 0.08);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
}

.focus-proof-input {
  display: none;
}

.focus-proof-preview-wrap {
  display: grid;
  gap: 8px;
  min-height: 120px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(246, 248, 251, 0.92);
}

.focus-proof-preview {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  border-radius: 16px;
}

.focus-actions-row-proof {
  justify-content: space-between;
}

.focus-tip {
  margin-top: 14px;
  color: #6c7687;
  font-size: 0.84rem;
  line-height: 1.5;
}

.focus-tip code {
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(23, 21, 18, 0.06);
  font-size: 0.9em;
}

.focus-actions-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 16px;
}

.focus-primary-button {
  min-height: 46px;
  padding: 0 18px;
  background: rgba(23, 21, 18, 0.08);
  color: var(--text);
  font-weight: 600;
}

.focus-status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(74, 137, 230, 0.1);
  color: #36537c;
  font-size: 0.84rem;
  font-weight: 600;
}

.focus-manual-update {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(246, 248, 251, 0.92);
}

.focus-assign-nav {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.focus-secondary-button {
  min-height: 38px;
  padding: 0 14px;
  background: rgba(23, 21, 18, 0.08);
  color: var(--text);
  font-weight: 600;
}

.focus-secondary-button:disabled {
  opacity: 0.42;
  cursor: default;
}

.focus-secondary-button:disabled:hover,
.focus-secondary-button:disabled:active,
.focus-secondary-button:disabled:focus-visible {
  background: rgba(23, 21, 18, 0.08);
  color: var(--text);
}

.focus-stack {
  display: grid;
  gap: 16px;
}

.focus-mini-list,
.focus-log-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.focus-mini-row,
.focus-log-entry {
  padding: 16px;
  background: rgba(246, 248, 251, 0.92);
  border-radius: 18px;
}

.focus-mini-row {
  display: grid;
  gap: 6px;
}

.focus-mini-row-button {
  width: 100%;
  border: 0;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.focus-mini-row-button:hover,
.focus-mini-row-button:focus-visible {
  outline: none;
  background: rgba(237, 241, 247, 0.96);
}

.focus-mini-row strong,
.focus-log-entry strong {
  font-size: 0.95rem;
}

.focus-dialog {
  width: min(520px, calc(100% - 18px));
  padding: 0;
  border: 0;
  background: transparent;
}

.focus-dialog::backdrop {
  background: rgba(12, 16, 22, 0.24);
  backdrop-filter: blur(6px);
}

.focus-dialog-card {
  padding: 18px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 30px;
  box-shadow: 0 24px 70px rgba(24, 36, 52, 0.24);
}

.focus-dialog-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.focus-dialog-close {
  min-height: 36px;
  padding: 0 12px;
  background: rgba(23, 21, 18, 0.08);
  color: var(--text);
}

.focus-detail-grid {
  display: grid;
  gap: 16px;
}

.focus-detail-block {
  padding: 16px 18px;
  background: rgba(246, 248, 251, 0.92);
  border-radius: 18px;
}

.focus-detail-block h3 {
  margin-top: 10px;
  font-size: 1.2rem;
}

@media (min-width: 720px) {
  .focus-panel {
    padding: 20px 20px 24px;
  }

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

@media (max-width: 640px) {
  .focus-shell {
    width: calc(100% - 12px);
    padding: 0;
  }

  .focus-panel {
    min-height: 100vh;
    padding: 8px 8px 14px;
    border-radius: 0;
  }

  .focus-header {
    gap: 6px;
  }

  .focus-action-grid {
    grid-template-columns: 1fr;
  }

  .focus-actions-row,
  .focus-hero-progress {
    flex-direction: column;
    align-items: flex-start;
  }

  .focus-assign-nav {
    width: 100%;
  }

  .focus-secondary-button {
    flex: 1 1 0;
  }
}

.cleaning-child-grid,
.cleaning-week-grid {
  display: grid;
  gap: 18px;
}

.cleaning-child-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cleaning-week-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.cleaning-child-card,
.cleaning-day-card {
  display: grid;
  gap: 18px;
}

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

.cleaning-cap-block {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.cleaning-child-sections,
.cleaning-day-items {
  display: grid;
  gap: 16px;
}

.cleaning-focus-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(23, 21, 18, 0.05);
}

.cleaning-focus-card-muted {
  background: rgba(23, 21, 18, 0.035);
}

.cleaning-focus-kicker {
  margin: 0;
  color: #6d675f;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cleaning-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(23, 21, 18, 0.08);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
}

.cleaning-chip-money {
  background: rgba(44, 107, 60, 0.12);
  color: #245633;
}

.cleaning-task-list,
.cleaning-chunk-list,
.cleaning-review-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.cleaning-task-list li,
.cleaning-day-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.cleaning-chunk-list li {
  color: #5a554d;
  line-height: 1.55;
}

.cleaning-day-item {
  padding: 12px 0;
  border-top: 1px solid rgba(23, 21, 18, 0.08);
}

.cleaning-day-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.cleaning-muted {
  color: #7a746d;
}

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

@media (max-width: 900px) {
  .cleaning-lower {
    grid-template-columns: 1fr;
  }
}

/* Neutral product theme inspired by OpenAI and ChatGPT surfaces. */
.login-page,
.focus-body {
  background: #f7f7f8;
}

.login-panel {
  padding: 34px;
  background: #ffffff;
  border-color: var(--border);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  backdrop-filter: none;
}

.login-brand {
  width: 38px;
  height: 38px;
  margin-bottom: 24px;
  color: #ffffff;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 650;
}

.login-panel h1 {
  font-size: clamp(1.9rem, 5vw, 2.35rem);
  line-height: 1.08;
}

.login-intro {
  margin: 12px 0 22px;
  font-size: 0.95rem;
}

.login-form input,
.soccer-form input,
.soccer-form select,
.soccer-form textarea {
  background: #ffffff;
  border-color: var(--border-strong);
  border-radius: 6px;
}

.login-submit,
.button-primary,
.button-secondary,
.button-danger,
.soccer-add-button,
.calendar-toggle,
.calendar-nav-button,
.action-chip,
.meta-pill {
  min-height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.login-submit {
  min-height: 40px;
  font-weight: 600;
}

.eyebrow,
.card-label,
.signal-label {
  color: #8e8e8e;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
}

h1,
h2,
.primary-brief h2,
.constraint-banner strong,
.brief-summary-why {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.dashboard-heading-brief h1,
.dashboard-home-header .dashboard-heading h1 {
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
}

.section-heading h2,
.soccer-side-panel h2,
.soccer-range h2,
.soccer-day-heading h3,
.soccer-dialog-heading h2 {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.card,
.signal-card,
.sync-card,
.pressure-card,
.queue-item,
.system-item,
.child-row,
.primary-brief,
.primary-actions,
.brief-summary-card,
.quick-launch,
.soccer-calendar-panel,
.soccer-side-panel,
.soccer-dialog,
.calendar-day-column,
.calendar-month-cell,
.calendar-event-card,
.focus-dialog-card,
.focus-detail-block,
.cleaning-focus-card {
  background: #ffffff;
  border-color: var(--border);
  border-radius: 6px;
  box-shadow: none;
}

.card:hover,
.quick-launch:hover {
  background: #f9f9f9;
  border-color: var(--border-strong);
  transform: none;
}

.card {
  min-height: 190px;
  padding: 22px;
}

.card h2,
.dashboard-index-grid .card h2 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.15;
}

.card-label {
  margin-bottom: 18px;
}

.card-label::before {
  width: 18px;
}

.dashboard-header {
  border-top: 0;
  border-bottom: 1px solid var(--border);
}

.dashboard-home-header {
  padding: 12px 0;
  border-bottom: 0;
}

.soccer-header {
  border-bottom: 0;
}

.person-chip,
.calendar-person-badge,
.quick-launch,
.soccer-pressure-item,
.soccer-upcoming-item,
.cleaning-chip {
  border-radius: 6px;
}

.meta-pill {
  min-height: 36px;
  background: #ffffff;
  border-radius: 999px;
}

.dialog-close,
.queue-rank,
.state-pill {
  border-radius: 999px;
}

.button-primary,
.login-submit,
.quick-launch-primary,
.calendar-toggle.is-active {
  background: #0d0d0d;
  color: #ffffff;
}

.button-secondary,
.calendar-toggle,
.calendar-nav-button,
.action-chip {
  background: #ffffff;
}

.dashboard-quickbar {
  gap: 8px;
}

.quick-launch {
  min-height: 64px;
  box-shadow: none;
}

.quick-launch-primary:hover {
  background: #242424;
  border-color: #242424;
}

/* Family MCP */
.mcp-shell {
  padding-bottom: 80px;
}

.mcp-header {
  align-items: flex-start;
}

.mcp-lede {
  max-width: 760px;
  margin: 12px 0 0;
  color: #676767;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.45;
}

.mcp-endpoint {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin: 30px 0 16px;
  padding: 28px;
  border: 1px solid #dedede;
  border-radius: 12px;
  background: #f7f7f7;
}

.mcp-endpoint h2,
.mcp-card h2 {
  margin: 7px 0 0;
  letter-spacing: -0.035em;
}

.mcp-endpoint code,
.mcp-steps code {
  border-radius: 7px;
  background: #ececec;
  padding: 7px 9px;
  color: #202020;
  font-size: 13px;
  white-space: nowrap;
}

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

.mcp-card {
  min-height: 280px;
  padding: 28px;
  border: 1px solid #dedede;
  border-radius: 12px;
  background: #fff;
}

.mcp-card > p:not(.eyebrow),
.mcp-list,
.mcp-steps p {
  color: #676767;
  line-height: 1.5;
}

.mcp-list {
  margin: 22px 0 0;
  padding-left: 20px;
}

.mcp-list li + li {
  margin-top: 9px;
}

.mcp-card .mcp-card-note {
  margin-top: 22px;
  font-size: 13px;
}

.mcp-section {
  margin-top: 52px;
}

.mcp-connections {
  display: grid;
  gap: 10px;
}

.mcp-connection {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px;
  border: 1px solid #dedede;
  border-radius: 10px;
  background: #fff;
}

.mcp-connection p,
.mcp-connection small,
.mcp-empty {
  color: #676767;
}

.mcp-connection p {
  margin: 6px 0;
  font-size: 13px;
}

.mcp-connection button {
  border: 1px solid #d7d7d7;
  border-radius: 999px;
  background: #fff;
  padding: 9px 14px;
  color: #202020;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.mcp-connection button:hover {
  border-color: #202020;
}

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

.mcp-steps article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 22px;
  border: 1px solid #dedede;
  border-radius: 10px;
  background: #fff;
}

.mcp-steps article > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.mcp-steps p {
  margin: 7px 0 0;
  font-size: 14px;
}

@media (max-width: 760px) {
  .mcp-endpoint,
  .mcp-connection {
    align-items: flex-start;
    flex-direction: column;
  }

  .mcp-grid,
  .mcp-steps {
    grid-template-columns: 1fr;
  }

  .mcp-card {
    min-height: 0;
  }

  .mcp-endpoint code {
    white-space: normal;
    word-break: break-all;
  }
}

.quick-launch-primary strong {
  color: #ffffff;
}

.quick-launch-primary small {
  color: rgba(255, 255, 255, 0.72);
}

.signal-strip {
  gap: 8px;
}

.signal-card {
  min-height: 104px;
  padding: 14px;
}

.signal-value {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 600;
}

.dashboard-index-grid,
.sync-grid,
.pressure-grid,
.dashboard-primary,
.dashboard-lower {
  gap: 10px;
}

.dashboard-index-grid .card {
  min-height: 180px;
}

.constraint-banner {
  background: #f4f4f4;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.constraint-banner strong,
.constraint-banner p,
.constraint-label {
  color: inherit;
}

.soccer-summary {
  border-radius: 16px;
  background: #ffffff;
}

.soccer-calendar-panel,
.soccer-side-panel {
  border-radius: 16px;
}

.soccer-summary .soccer-summary-pressure,
.soccer-month-day.is-pressure,
.soccer-week-day.is-pressure,
.soccer-day-heading.is-pressure,
.soccer-pressure-item {
  background: #f4f4f4;
  border-color: #dedede;
}

.soccer-toolbar {
  border-color: var(--border);
}

.person-blythe { --person-color: #ff2d55; --person-text: #e7124d; --person-soft: #ffffff; }
.person-calin { --person-color: #34c759; --person-text: #008932; --person-soft: #ffffff; }
.person-crusoe { --person-color: #6155f5; --person-text: #564ade; --person-soft: #ffffff; }
.person-soarin { --person-color: #0088ff; --person-text: #1e6ef4; --person-soft: #ffffff; }
.person-eric { --person-color: #8e8e93; --person-text: #636366; --person-soft: #ffffff; }
.person-lysha { --person-color: #ff9500; --person-text: #c76f00; --person-soft: #ffffff; }
.person-ember { --person-color: #ff3b30; --person-text: #d72c22; --person-soft: #ffffff; }
.person-other { --person-color: #6b6b6b; --person-soft: #f4f4f4; }

/* Family people and durable personal context */
.people-shell,
.person-shell {
  width: min(100% - 32px, 1180px);
  padding-bottom: 72px;
}

.people-lede {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--muted);
}

.people-group,
.person-section {
  margin-top: 28px;
}

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

.person-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 112px;
  padding: 20px;
  color: var(--text);
  background: #fff;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  transition: box-shadow 150ms ease, transform 150ms ease;
}

.person-card:hover,
.child-row:hover {
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.09);
  transform: translateY(-1px);
}

.person-card-featured {
  grid-column: 1 / -1;
}

.person-initial {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--text);
  border-radius: 12px;
  font-weight: 650;
}

.person-card h3,
.person-plan-card h3,
.person-task-card h3,
.person-game-card h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.person-card p,
.person-task-card p,
.person-game-card p {
  margin: 4px 0 0;
  color: var(--muted);
}

.person-open {
  color: var(--muted);
  font-size: 0.82rem;
}

.child-row {
  color: var(--text);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  transition: box-shadow 150ms ease, transform 150ms ease;
}

.person-status {
  margin: 4px 0 16px;
  color: var(--muted);
  font-size: 0.84rem;
}

.person-status.is-error {
  color: #b42318;
}

.person-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
}

.person-summary > div {
  display: flex;
  align-items: baseline;
  gap: 9px;
  min-height: 82px;
  padding: 22px;
}

.person-summary > div + div {
  border-left: 1px solid var(--border);
}

.person-summary strong {
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.person-summary span,
.person-record-meta {
  color: var(--muted);
  font-size: 0.82rem;
}

.person-related-link {
  display: inline-flex;
  margin-top: 6px;
  padding: 7px 2px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.person-related-link:hover {
  text-decoration: underline;
}

.person-knowledge,
.person-related-knowledge,
.person-task-list,
.person-game-list {
  display: grid;
  gap: 12px;
}

.person-section-note {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.person-related-section {
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.person-related-card {
  padding: 18px 20px;
  background: #f7f7f8;
  border-radius: 14px;
}

.person-related-card-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.75rem;
}

.person-related-badge {
  padding: 4px 7px;
  color: #4f4f53;
  background: #e8e8eb;
  border-radius: 999px;
  font-weight: 650;
}

.person-related-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.person-related-owner,
.person-related-snippet {
  margin: 6px 0 0;
}

.person-related-owner {
  color: var(--muted);
  font-size: 0.8rem;
}

.person-related-snippet {
  max-width: 780px;
  color: #3c3c3f;
  line-height: 1.5;
}

.person-plan-card,
.person-task-card,
.person-game-card,
.person-empty {
  padding: 22px;
  background: #fff;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
}

.person-plan-card h3 {
  margin-bottom: 16px;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
}

.person-plan-body {
  max-width: 780px;
  color: #303030;
  line-height: 1.65;
  white-space: pre-line;
}

.person-record-meta {
  margin: 18px 0 0;
}

.person-task-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.55fr);
  gap: 24px;
}

.person-task-card.is-completed {
  background: #f7f7f8;
}

.person-task-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.75rem;
}

.person-task-next {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 14px;
  background: #f4f4f4;
  border-radius: 10px;
}

.person-task-next strong {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.person-game-card {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  color: var(--text);
  text-decoration: none;
}

.person-game-card > div:first-child {
  display: grid;
  gap: 3px;
}

.person-game-card > div:first-child span,
.person-game-state {
  color: var(--muted);
  font-size: 0.8rem;
}

.person-empty {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 720px) {
  .people-grid,
  .person-task-card {
    grid-template-columns: 1fr;
  }

  .person-card-featured {
    grid-column: auto;
  }

  .person-summary {
    grid-template-columns: 1fr;
  }

  .person-summary > div + div {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .person-game-card {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.family-calendar-toolbar {
  grid-template-columns: auto minmax(300px, 1fr) minmax(350px, auto);
}

.family-calendar-legend {
  max-width: 440px;
}

.family-calendar-table {
  min-width: 980px;
}

.family-calendar-event span:not(.soccer-event-time) {
  white-space: nowrap;
}

.soccer-month-day.is-pressure,
.soccer-week-day.is-pressure {
  background: #ffffff;
  border-color: var(--border);
}

.soccer-month-day,
.soccer-week-day {
  background: #ffffff;
  border-color: var(--border);
}

.soccer-month-day.is-today,
.soccer-week-day.is-today {
  background: #ededed;
  box-shadow: none;
}

.soccer-event,
.soccer-event.is-compact {
  border-radius: 6px;
}

.soccer-pressure-badge,
.soccer-pressure-item b {
  background: #3f3f3f;
}

.soccer-pressure-item,
.soccer-upcoming-item {
  border: 0;
}

.soccer-dialog {
  border-radius: 16px;
  background: #ffffff;
}

.soccer-dialog::backdrop {
  background: rgba(0, 0, 0, 0.38);
}

.soccer-form {
  padding: 20px;
}

.focus-panel,
.focus-hero-card,
.focus-section-card,
.focus-dialog-card,
.focus-detail-block {
  border-radius: 6px;
  box-shadow: none;
}

@media (max-width: 700px) {
  .login-panel {
    padding: 28px 22px;
  }

  .card {
    min-height: 0;
  }
}

@media (max-width: 1050px) {
  .family-calendar-toolbar {
    grid-template-columns: auto 1fr;
  }

  .family-calendar-legend {
    grid-column: 1 / -1;
    max-width: none;
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .family-calendar-toolbar {
    grid-template-columns: 1fr;
  }
}

.home-hub-shell {
  width: min(1320px, calc(100% - 28px));
}

.home-hub-header {
  border-bottom: 0;
}

.home-hub-address {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}

.home-hub-address span,
.home-hub-address strong {
  display: block;
}

.home-hub-address span {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-hub-address strong {
  font-size: .98rem;
}

.home-hub-address a {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: .76rem;
  font-weight: 650;
  text-decoration: none;
}

.home-hub-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #ffffff;
}

.home-hub-summary > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 14px 16px;
  border-right: 1px solid var(--border);
}

.home-hub-summary > div:last-child {
  border-right: 0;
}

.home-hub-summary strong {
  font-size: 1.55rem;
  font-weight: 600;
}

.home-hub-summary span {
  color: var(--muted);
  font-size: 0.82rem;
}

.home-hub-summary .home-hub-summary-review {
  background: #f4f4f4;
}

.home-hub-watch {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #f4f4f4;
}

.home-hub-section-heading,
.home-hub-group-heading,
.home-hub-card-header,
.home-hub-card-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.home-hub-section-heading h2,
.home-hub-group-heading h2 {
  margin: 4px 0 0;
  font-size: 1.35rem;
}

.home-hub-section-heading > p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.home-hub-watch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.home-hub-watch-card {
  display: grid;
  grid-template-columns: minmax(150px, 0.45fr) 1fr;
  gap: 16px;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #ffffff;
}

.home-hub-watch-card span,
.home-hub-card-header p,
.home-hub-facts dt,
.home-hub-toolbar label > span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.home-hub-watch-card strong {
  display: block;
  margin-top: 3px;
}

.home-hub-watch-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.home-hub-toolbar {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) 190px 190px auto auto;
  align-items: end;
  gap: 10px;
  padding: 16px 0 12px;
  border-bottom: 1px solid var(--border);
}

.home-hub-toolbar label {
  display: grid;
  gap: 5px;
}

.home-hub-toolbar input,
.home-hub-toolbar select {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
}

.home-hub-toolbar input:focus,
.home-hub-toolbar select:focus {
  outline: 2px solid var(--text);
  outline-offset: 1px;
}

.home-hub-clear {
  height: 42px;
  padding: 0 18px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.home-hub-clear:disabled {
  color: #a0a0a0;
  cursor: default;
}

.home-hub-result {
  align-self: center;
  min-width: 72px;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: right;
}

.home-hub-status {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.home-hub-status.is-error {
  color: #a52a1e;
}

.home-hub-groups {
  display: grid;
  gap: 24px;
  margin-top: 20px;
  padding-bottom: 36px;
}

.home-hub-group-heading {
  align-items: center;
  margin-bottom: 10px;
}

.home-hub-group-heading h2 {
  margin: 0;
}

.home-hub-group-heading span {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f4f4f4;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

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

.home-hub-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #ffffff;
}

.home-hub-card-header h3 {
  margin: 4px 0 0;
  font-size: 1.18rem;
}

.home-hub-card-header p,
.home-hub-card-summary {
  margin: 0;
}

.home-hub-state {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #f4f4f4;
  color: #4b4b4b;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

.home-hub-state.is-verified {
  background: #eaf7ee;
  color: #187a35;
}

.home-hub-state.is-action_needed {
  background: #fff0f0;
  color: #b42318;
}

.home-hub-state.is-monitor {
  background: #fff7e6;
  color: #9a6200;
}

.home-hub-card-summary {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.home-hub-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.home-hub-facts div {
  min-width: 0;
}

.home-hub-facts dd {
  overflow-wrap: anywhere;
  margin: 4px 0 0;
  font-size: 0.82rem;
  font-weight: 600;
}

.home-hub-facts a,
.home-hub-card-actions a {
  color: var(--text);
}

.home-hub-missing {
  color: #8a8a8a;
  font-weight: 500;
}

.home-hub-details {
  margin-top: 14px;
  font-size: 0.8rem;
}

.home-hub-details summary {
  width: fit-content;
  font-weight: 700;
  cursor: pointer;
}

.home-hub-details ul {
  display: grid;
  gap: 6px;
  margin: 12px 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.45;
}

.home-hub-details p {
  margin: 0 0 10px;
  line-height: 1.45;
}

.home-hub-details small {
  color: var(--muted);
}

.home-hub-card-actions {
  justify-content: flex-start;
  margin-top: auto;
  padding-top: 16px;
}

.home-hub-action {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
}

.home-hub-action:hover {
  background: #f4f4f4;
  color: var(--text);
}

.home-hub-empty {
  margin: 0;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 900px) {
  .home-hub-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .home-hub-search,
  .home-hub-result {
    grid-column: 1 / -1;
  }

  .home-hub-result {
    text-align: left;
  }
}

@media (max-width: 700px) {
  .home-hub-address {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-hub-summary,
  .home-hub-watch-grid,
  .home-hub-grid {
    grid-template-columns: 1fr;
  }

  .home-hub-summary > div {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .home-hub-summary > div:last-child {
    border-bottom: 0;
  }

  .home-hub-section-heading {
    display: grid;
  }

  .home-hub-watch-card {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .home-hub-toolbar {
    grid-template-columns: 1fr;
  }

  .home-hub-search,
  .home-hub-result {
    grid-column: auto;
  }

  .home-hub-facts {
    grid-template-columns: 1fr;
  }

  .home-hub-card {
    min-height: 0;
  }
}

.family-tasks-shell {
  width: min(1120px, calc(100% - 28px));
}

.family-tasks-header {
  border-bottom: 0;
}

.family-tasks-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #ffffff;
}

.family-tasks-summary > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 14px 16px;
  border-right: 1px solid var(--border);
}

.family-tasks-summary > div:last-child {
  border-right: 0;
}

.family-tasks-summary strong {
  font-size: 1.55rem;
  font-weight: 600;
}

.family-tasks-summary span {
  color: var(--muted);
  font-size: 0.82rem;
}

.family-reminders {
  margin-top: 22px;
  padding: 22px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.family-reminders-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.family-reminders-heading .eyebrow {
  margin-bottom: 5px;
}

.family-reminders-heading h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.family-reminders-heading > p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.family-reminder-form {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 165px 135px auto;
  align-items: end;
  gap: 10px;
  margin-top: 20px;
}

.family-reminder-form label {
  display: grid;
  gap: 5px;
}

.family-reminder-form label > span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.family-reminder-form input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  background: #f7f7f8;
  color: var(--text);
  font: inherit;
}

.family-reminder-form input:focus {
  outline: 2px solid var(--text);
  outline-offset: 1px;
}

.family-reminder-form button,
.family-reminder-complete {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #0d0d0d;
  color: #ffffff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  cursor: pointer;
}

.family-reminder-form button:disabled,
.family-reminder-complete:disabled {
  cursor: default;
  opacity: 0.5;
}

.family-reminders-status {
  min-height: 18px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.family-reminders-status.is-error {
  color: #a52a1e;
}

.family-reminders-list {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.family-reminder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px;
  border-radius: 10px;
  background: #f7f7f8;
}

.family-reminder.is-inactive {
  opacity: 0.55;
}

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

.family-reminder-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #e9e9eb;
  color: #5f5f5f;
  font-size: 0.66rem;
  font-weight: 700;
}

.family-reminder h3 {
  margin: 7px 0 0;
  font-size: 1rem;
}

.family-reminder p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.family-reminder-complete {
  min-height: 36px;
  flex: 0 0 auto;
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

.family-reminders-empty {
  margin: 0;
  padding: 18px 0 2px;
  color: var(--muted);
}

.family-tasks-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 0 16px;
}

.family-tasks-intro .eyebrow {
  margin-bottom: 6px;
}

.family-tasks-intro h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
}

.family-tasks-intro > p {
  max-width: 400px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.family-tasks-toolbar {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) 170px 170px auto auto;
  align-items: end;
  gap: 10px;
  padding: 14px 0 12px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.family-tasks-toolbar label {
  display: grid;
  gap: 5px;
}

.family-tasks-toolbar label > span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.family-tasks-toolbar input,
.family-tasks-toolbar select {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
}

.family-tasks-toolbar input:focus,
.family-tasks-toolbar select:focus {
  outline: 2px solid var(--text);
  outline-offset: 1px;
}

.family-tasks-clear {
  height: 42px;
  padding: 0 18px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.family-tasks-clear:disabled {
  color: #a0a0a0;
  cursor: default;
}

.family-tasks-result {
  align-self: center;
  min-width: 72px;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: right;
}

.family-tasks-status {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.family-tasks-status.is-error {
  color: #a52a1e;
}

.family-tasks-list {
  display: grid;
  gap: 8px;
  padding: 16px 0 40px;
}

.family-task {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #ffffff;
}

.family-task-check {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  padding: 0;
  border: 1px solid #bdbdbd;
  border-radius: 50%;
  background: #ffffff;
  color: #ffffff;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}

.family-task-check:hover {
  border-color: var(--text);
  background: #f4f4f4;
}

.family-task-check:focus-visible {
  outline: 3px solid rgba(13, 13, 13, 0.18);
  outline-offset: 3px;
}

.family-task-check:disabled {
  cursor: wait;
  opacity: 0.55;
}

.family-task.is-completed {
  background: #f7f7f8;
}

.family-task.is-completed .family-task-check {
  border-color: #0d0d0d;
  background: #0d0d0d;
}

.family-task.is-completed .family-task-body {
  opacity: 0.62;
}

.family-task.is-completed h3 {
  text-decoration: line-through;
}

.family-task-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.family-task-header h3 {
  margin: 6px 0 0;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

.family-task-meta span,
.family-task-state {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: #f4f4f4;
  color: #5f5f5f;
  font-size: 0.68rem;
  font-weight: 700;
}

.family-task-meta .family-task-due {
  background: #eeeeee;
  color: #343434;
}

.family-task-meta .family-task-due.is-high {
  background: #0d0d0d;
  color: #ffffff;
}

.family-task-state {
  flex: 0 0 auto;
  background: #ffffff;
  border: 1px solid var(--border);
}

.family-task-copy {
  max-width: 850px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.family-task-next {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 6px;
  background: #f7f7f8;
}

.family-task-next strong {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.family-task-next p {
  margin: 0;
  color: #404040;
}

.family-task-details {
  margin-top: 14px;
  font-size: 0.82rem;
}

.family-task-details summary {
  width: fit-content;
  font-weight: 700;
  cursor: pointer;
}

.family-task-detail-block {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.family-task-detail-block h4 {
  margin: 0 0 8px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.family-task-detail-block ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.family-task-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.family-task-links a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 700;
  text-decoration: none;
}

.family-task-links a:hover {
  background: #f4f4f4;
}

.family-task-details small,
.family-task-source {
  display: block;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.7rem;
}

.family-tasks-empty {
  margin: 0;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 900px) {
  .family-reminder-form {
    grid-template-columns: 1fr 1fr;
  }

  .family-reminder-title-field {
    grid-column: 1 / -1;
  }

  .family-tasks-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .family-tasks-search,
  .family-tasks-result {
    grid-column: 1 / -1;
  }

  .family-tasks-result {
    text-align: left;
  }
}

@media (max-width: 700px) {
  .family-reminders-heading,
  .family-reminder {
    display: grid;
  }

  .family-reminder-form {
    grid-template-columns: 1fr;
  }

  .family-reminder-title-field {
    grid-column: auto;
  }

  .family-tasks-summary,
  .family-tasks-toolbar {
    grid-template-columns: 1fr;
  }

  .family-tasks-summary > div {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .family-tasks-summary > div:last-child {
    border-bottom: 0;
  }

  .family-tasks-intro {
    display: grid;
  }

  .family-tasks-search,
  .family-tasks-result {
    grid-column: auto;
  }

  .family-task {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
    padding: 14px;
  }

  .family-task-header {
    display: grid;
  }

  .family-task-state {
    width: fit-content;
  }

  .family-task-next {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* Event and travel archive */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.archive-shell {
  padding-bottom: 80px;
}

.archive-header {
  align-items: flex-start;
}

.archive-lede {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.5;
}

.archive-summary {
  display: grid;
  grid-template-columns: 0.7fr 0.7fr 0.7fr 1.9fr;
  margin: 22px 0 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}

.archive-summary article {
  min-width: 0;
  padding: 18px 20px;
  border-right: 1px solid var(--border);
}

.archive-summary article:last-child {
  border-right: 0;
}

.archive-summary span,
.archive-summary strong {
  display: block;
}

.archive-summary span {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.archive-summary strong {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.archive-directory {
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
}

.archive-directory-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  padding: 28px 30px 22px;
}

.archive-directory-heading h2,
.archive-note h2 {
  margin: 5px 0 0;
  font-family: var(--font-sans);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.archive-directory-heading > p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.archive-toolbar {
  display: grid;
  grid-template-columns: minmax(250px, 1.4fr) minmax(160px, 0.8fr) minmax(145px, 0.65fr) auto auto;
  align-items: end;
  gap: 10px;
  padding: 16px 30px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fafafa;
}

.archive-toolbar label {
  display: grid;
  gap: 6px;
}

.archive-toolbar label > span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 650;
}

.archive-toolbar input,
.archive-toolbar select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 0 12px;
  font: inherit;
  font-size: 0.9rem;
}

.archive-toolbar input:focus,
.archive-toolbar select:focus {
  outline: 2px solid #0d0d0d;
  outline-offset: 1px;
}

.archive-clear {
  min-height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  padding: 0 17px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.archive-clear:disabled {
  cursor: default;
  opacity: 0.42;
}

.archive-result {
  min-width: 100px;
  padding-bottom: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: right;
}

.archive-table-wrap {
  overflow-x: auto;
}

.archive-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.archive-table th,
.archive-table td {
  padding: 19px 18px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.archive-table th:first-child,
.archive-table td:first-child {
  padding-left: 30px;
}

.archive-table th:last-child,
.archive-table td:last-child {
  padding-right: 30px;
}

.archive-table th {
  color: var(--muted);
  background: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.archive-table tbody tr:last-child td {
  border-bottom: 0;
}

.archive-table tbody tr:hover {
  background: #fafafa;
}

.archive-table time,
.archive-table td > strong,
.archive-table td > span:not(.archive-type):not(.archive-status) {
  display: block;
}

.archive-table time {
  white-space: nowrap;
  font-weight: 600;
}

.archive-title {
  display: block;
  margin: 8px 0 5px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.archive-title:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.archive-table td small,
.archive-table td > span:not(.archive-type):not(.archive-status) {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.archive-table td small {
  display: block;
  max-width: 360px;
}

.archive-type,
.archive-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
}

.archive-type {
  padding: 6px 9px;
}

.archive-type-school {
  background: #e8f0ff;
  color: #2457a7;
}

.archive-type-travel {
  background: #fff0dc;
  color: #975307;
}

.archive-type-event {
  background: #f7e9f8;
  color: #7d3b81;
}

.archive-status {
  padding: 7px 10px;
  white-space: nowrap;
}

.archive-status.is-current {
  background: #e4f5ea;
  color: #176b3a;
}

.archive-status.is-current::before {
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: #239957;
  content: "";
}

.archive-status.is-archived {
  background: #efefef;
  color: #616161;
}

.archive-open {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text);
  padding: 9px 13px;
  font-size: 0.8rem;
  font-weight: 650;
  text-decoration: none;
}

.archive-open:hover {
  border-color: #0d0d0d;
  background: #0d0d0d;
  color: #fff;
}

.archive-empty {
  margin: 0;
  padding: 42px 30px;
  color: var(--muted);
  text-align: center;
}

.archive-note {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: 40px;
  margin-top: 14px;
  padding: 28px 30px;
  border-radius: 16px;
  background: #101010;
  color: #fff;
}

.archive-note .eyebrow {
  color: rgba(255, 255, 255, 0.55);
}

.archive-note > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

[hidden] {
  display: none !important;
}

@media (max-width: 920px) {
  .archive-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .archive-summary article:nth-child(2) {
    border-right: 0;
  }

  .archive-summary article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .archive-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .archive-search,
  .archive-result {
    grid-column: 1 / -1;
  }

  .archive-result {
    padding: 0;
    text-align: left;
  }
}

@media (max-width: 700px) {
  .archive-directory-heading,
  .archive-note {
    grid-template-columns: 1fr;
  }

  .archive-directory-heading {
    display: grid;
    gap: 14px;
    padding: 24px 18px 20px;
  }

  .archive-toolbar {
    grid-template-columns: 1fr;
    padding: 14px 18px;
  }

  .archive-search,
  .archive-result {
    grid-column: auto;
  }

  .archive-clear {
    width: fit-content;
  }

  .archive-table {
    min-width: 0;
  }

  .archive-table thead {
    display: none;
  }

  .archive-table tbody,
  .archive-table tr,
  .archive-table td {
    display: block;
    width: 100%;
  }

  .archive-table tr {
    padding: 22px 18px;
    border-bottom: 1px solid var(--border);
  }

  .archive-table td,
  .archive-table th:first-child,
  .archive-table td:first-child,
  .archive-table th:last-child,
  .archive-table td:last-child {
    padding: 0;
    border: 0;
  }

  .archive-table td + td {
    margin-top: 18px;
  }

  .archive-table td[data-label]::before {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    content: attr(data-label);
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .archive-type {
    margin-top: 3px;
  }

  .archive-title {
    font-size: 1.15rem;
  }

  .archive-note {
    gap: 14px;
    padding: 24px 20px;
  }
}
