:root {
  --sand: #F3E7CF;
  --sand-2: #EADAB4;
  --clay: #B9743D;
  --clay-deep: #8A5125;
  --bark: #4A3220;
  --sprout: #6E9B47;
  --sky: #8FB8C9;
  --sun: #E7A94C;
  --cream: #FFF8E9;
  --blossom: #E8A598;
  --blossom-light: #FDF2EE;
  --wildflower: #E5B23A;
  --wildflower-soft: #FCF4DD;
  --lavender: #9C8BB5;
  --sage: #829E75;
  --shadow: 0 3px 0 #BEA57F, 0 10px 22px #60412418;
  font: 16px/1.55 ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  color: var(--bark);
  background: var(--sand);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.18; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); max-width: 14ch; }
h2 { font-size: clamp(1.45rem, 2.8vw, 2.1rem); color: var(--bark); }
h3 { font-size: 1.18rem; }
h4 { font-size: 1.05rem; }
a { color: var(--clay-deep); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--bark); }

/* Common Structural Cards */
main { max-width: 1140px; margin: auto; padding: 1.1rem 1.25rem; }
.hero, .panel, .card, .info, .child, .photo-card {
  border-radius: 22px;
  box-shadow: inset 0 2px 0 #fff9, var(--shadow);
}
.panel { background: var(--cream); padding: 1.15rem 1.35rem; margin: 0.9rem 0; }

/* Top Header */
.top { background: var(--cream); border-bottom: 3px solid var(--sand-2); position: sticky; top: 0; z-index: 90; }
.top-inner {
  max-width: 1140px; margin: auto; padding: 0.75rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: 0.65rem;
  font-weight: 900; font-size: 1.22rem; color: var(--bark);
  text-decoration: none; line-height: 1.1;
}
.brand img { width: 2.5rem; height: 2.5rem; border-radius: 12px; }
nav { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
nav a { font-weight: 700; text-decoration: none; font-size: 0.94rem; color: var(--bark); }
nav a:hover { color: var(--clay-deep); text-decoration: underline; }
.nav-login-btn, .footer-login-btn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: var(--clay-deep); color: var(--cream) !important;
  font-weight: 800; padding: 0.45rem 0.95rem; border-radius: 12px;
  text-decoration: none !important; box-shadow: 0 2px 0 var(--bark);
  transition: transform 0.1s ease, background 0.15s ease;
}
.nav-login-btn:hover, .footer-login-btn:hover { background: var(--bark); transform: translateY(-1px); }
.nav-public-home-link {
  background: var(--wildflower-soft); border: 1px solid var(--sand-2);
  padding: 0.35rem 0.75rem; border-radius: 10px; font-weight: 700;
}

/* Landing Hero */
.landing-hero {
  background: var(--clay-deep); color: var(--cream);
  padding: clamp(1.8rem, 4.5vw, 3.4rem); position: relative;
  overflow: hidden; margin: 0.8rem 0 1.6rem; border-radius: 26px;
}
.hero-floral-left {
  position: absolute; left: 1.2rem; top: 1.2rem;
  opacity: 0.45; pointer-events: none;
}
.landing-hero .sun {
  position: absolute; right: 3.5rem; top: 2.2rem;
  width: 5.5rem; height: 5.5rem; border-radius: 50%;
  background: var(--sun); box-shadow: 0 0 0 15px #e7a94c30;
}
.landing-hero .land {
  position: absolute; right: -1rem; bottom: -2.5rem;
  width: 27rem; height: 9.5rem; background: var(--sprout);
  clip-path: polygon(0 100%, 25% 30%, 38% 65%, 62% 8%, 100% 95%, 100% 100%);
  opacity: 0.4;
}
.hero-content { position: relative; z-index: 2; max-width: 44rem; }
.hero-greeting-pill {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: rgba(255, 248, 233, 0.18); border: 1px solid rgba(255, 248, 233, 0.35);
  padding: 0.35rem 0.85rem; border-radius: 20px; font-weight: 750;
  font-size: 0.88rem; margin-bottom: 0.85rem; backdrop-filter: blur(4px);
}
.landing-hero h1 { color: var(--cream); margin: 0.2rem 0 0.8rem; }
.hero-lead { font-size: 1.15rem; font-weight: 600; line-height: 1.5; margin-bottom: 1.4rem; color: #FFF4DE; }
.hero-cta-group { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 1.5rem; }
.btn-primary {
  display: inline-block; background: var(--sun); color: var(--bark);
  font-weight: 850; padding: 0.75rem 1.35rem; border-radius: 14px;
  text-decoration: none; border: 0; cursor: pointer;
  box-shadow: 0 3px 0 #A87027; transition: transform 0.1s ease;
}
.btn-primary:hover { background: #F1B960; transform: translateY(-1px); }
.btn-secondary {
  display: inline-block; background: rgba(255, 255, 255, 0.15); color: var(--cream);
  font-weight: 750; padding: 0.75rem 1.25rem; border-radius: 14px;
  text-decoration: none; border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.25); text-decoration: none; }
.hero-badges-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill-badge {
  background: rgba(40, 25, 15, 0.28); border-radius: 12px;
  padding: 0.3rem 0.65rem; font-size: 0.82rem; font-weight: 700; color: #FFEED1;
}

/* Section Headings with Floral Flourish */
.landing-section { margin: 2.2rem 0; }
.section-heading-floral { margin-bottom: 1.25rem; }
.floral-flourish { margin-bottom: 0.35rem; }
.section-sub { font-size: 1.05rem; color: #624831; margin-top: 0.25rem; max-width: 46rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 0.9rem; }
.card { background: var(--cream); padding: 1.15rem; min-height: 130px; }
.card h3 { margin: 0.35rem 0 0.5rem; color: var(--bark); font-size: 1.15rem; }
.card p { white-space: pre-wrap; margin-bottom: 0; font-size: 0.94rem; line-height: 1.52; }
.card small { font-weight: 800; color: var(--clay-deep); }
.card-icon-tag { font-size: 0.8rem; font-weight: 800; color: var(--clay-deep); margin-bottom: 0.3rem; }
.card.theme { background: #E8E7C8; }
.card.menu { background: #F8E1BF; }
.card.fun_day { background: #F6DBCA; }
.card.needed { background: #EBDFC6; }
.card.update { background: #DAE8E4; }

/* Readiness Grid */
.readiness-banner { background: var(--cream); padding: 1.4rem; }
.benchmark-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 1rem; margin-bottom: 1.25rem;
}
.bench-item {
  background: #FAF3E3; border: 1.5px solid var(--sand-2);
  border-radius: 16px; padding: 1.1rem;
}
.bench-badge {
  display: inline-block; background: var(--clay-deep); color: var(--cream);
  font-weight: 900; font-size: 0.82rem; padding: 0.2rem 0.55rem;
  border-radius: 8px; margin-bottom: 0.5rem;
}
.bench-item h4 { margin: 0.2rem 0 0.4rem; font-size: 1.05rem; }
.bench-item p { font-size: 0.9rem; margin: 0; line-height: 1.48; color: #58402A; }
.traits-strip {
  display: flex; flex-wrap: wrap; gap: 0.65rem;
  border-top: 2px solid var(--sand-2); padding-top: 1rem;
}
.trait-card {
  flex: 1; min-width: 170px; background: #FFFDF8;
  border-radius: 12px; padding: 0.6rem 0.85rem; font-size: 0.88rem;
  border-left: 4px solid var(--sprout);
}
.trait-card strong { display: block; color: var(--clay-deep); }

/* Daily Rhythm Flow */
.rhythm-flow-container {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 0.75rem;
}
.rhythm-card {
  background: var(--cream); border-radius: 18px; padding: 1rem 0.9rem;
  box-shadow: inset 0 2px 0 #fff9, var(--shadow); border-top: 4px solid var(--sprout);
}
.rhythm-card:nth-child(even) { border-top-color: var(--wildflower); }
.rhythm-num {
  width: 1.8rem; height: 1.8rem; border-radius: 50%;
  background: var(--sand-2); color: var(--bark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 850; font-size: 0.9rem; margin-bottom: 0.5rem;
}
.rhythm-card h3 { font-size: 1.02rem; margin: 0 0 0.4rem; color: var(--bark); }
.rhythm-card p { font-size: 0.86rem; margin: 0; line-height: 1.45; color: #563E28; }

/* Garden Banner */
.garden-banner {
  background: linear-gradient(135deg, #F8F4E5 0%, #E9EFDB 100%);
  border-left: 6px solid var(--sprout); padding: 1.6rem;
}
.garden-highlights { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.9rem; }
.highlight-chip {
  background: #FFFDF8; border: 1.5px solid #CCDAB7;
  padding: 0.4rem 0.8rem; border-radius: 12px; font-weight: 750; font-size: 0.88rem;
}

/* Contact Section & Form */
.contact-section { margin-top: 2.4rem; }
.contact-card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: 1.1rem;
}
.contact-direct-card { display: flex; flex-direction: column; justify-content: space-between; }
.direct-header { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.8rem; }
.avatar-mark {
  width: 3.2rem; height: 3.2rem; border-radius: 16px;
  background: var(--sand-2); font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
}
.direct-body { font-size: 0.96rem; line-height: 1.52; margin-bottom: 1.1rem; }
.contact-methods { display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 1.1rem; }
.contact-pill {
  display: flex; align-items: center; gap: 0.75rem;
  background: #FFFDF8; border: 1.5px solid var(--sand-2);
  border-radius: 14px; padding: 0.65rem 0.85rem;
  text-decoration: none; color: var(--bark);
}
.contact-pill:hover { border-color: var(--clay); background: #FAF4E5; text-decoration: none; }
.contact-pill .icon { font-size: 1.35rem; }
.contact-pill strong { display: block; font-size: 0.92rem; color: var(--clay-deep); }
.contact-pill span { font-size: 0.88rem; font-weight: 600; }
.portal-callout {
  background: var(--sand-2); border-radius: 14px; padding: 0.8rem 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 0.7rem; flex-wrap: wrap;
}
.portal-callout p { margin: 0; font-size: 0.9rem; }

.public-form input, .public-form textarea {
  width: 100%; padding: 0.65rem 0.8rem; border: 2px solid #B0987A;
  border-radius: 12px; margin: 0.25rem 0 0.75rem;
  background: #FFFDF9; font: inherit; color: var(--bark);
}
.public-form textarea { min-height: 6rem; resize: vertical; }
.form-submit-btn { width: 100%; padding: 0.8rem; font-size: 1.02rem; text-align: center; }
.status-box {
  margin-top: 1rem; border-radius: 14px; padding: 0.9rem 1.1rem;
}
.status-success { background: #E1EED7; border-left: 5px solid var(--sprout); }
.status-fallback { background: #FDF3E0; border-left: 5px solid var(--wildflower); }
.status-error { background: #F9E2DE; border-left: 5px solid #9B2723; }
.contact-action-btn {
  display: inline-block; padding: 0.5rem 0.85rem; border-radius: 10px;
  font-weight: 750; font-size: 0.88rem; text-decoration: none; margin-right: 0.5rem; margin-top: 0.4rem;
}
.mailto-btn { background: var(--clay-deep); color: var(--cream); }
.phone-btn { background: var(--sprout); color: #fff; }

/* Floating Corner Chatbot */
.chat-widget { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 999; }
.chat-toggle-btn {
  background: var(--clay-deep); color: var(--cream); border: 0;
  border-radius: 30px; padding: 0.7rem 1.15rem; font-weight: 800;
  display: flex; align-items: center; gap: 0.5rem; cursor: pointer;
  box-shadow: 0 4px 14px rgba(74, 50, 32, 0.3); font-size: 0.95rem;
}
.chat-toggle-btn:hover { background: var(--bark); }
.chat-panel {
  position: absolute; right: 0; bottom: 3.5rem; width: 340px; max-width: 90vw;
  height: 440px; max-height: 80vh; background: var(--cream);
  border: 2px solid var(--sand-2); border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  display: flex; flex-direction: column; overflow: hidden;
}
.chat-panel[aria-hidden="true"] { display: none; }
.chat-panel-header {
  background: var(--clay-deep); color: var(--cream);
  padding: 0.75rem 1rem; display: flex; align-items: center; justify-content: space-between;
}
.chat-header-title strong { display: block; font-size: 0.96rem; }
.chat-header-sub { font-size: 0.76rem; opacity: 0.9; }
.chat-close-btn {
  background: transparent; border: 0; color: #fff;
  font-size: 1.1rem; cursor: pointer; padding: 0.2rem 0.5rem;
}
.chat-messages {
  flex: 1; padding: 0.85rem; overflow-y: auto;
  display: flex; flex-direction: column; gap: 0.6rem; font-size: 0.9rem;
}
.chat-msg {
  padding: 0.55rem 0.85rem; border-radius: 14px; max-width: 85%; line-height: 1.44;
}
.chat-msg-assistant {
  background: #FFFDF9; border: 1.5px solid var(--sand-2);
  align-self: flex-start; color: var(--bark); border-bottom-left-radius: 4px;
}
.chat-msg-user {
  background: var(--clay-deep); color: var(--cream);
  align-self: flex-end; border-bottom-right-radius: 4px;
}
.chat-typing { font-style: italic; color: #7B644D; }
.chat-suggestions-bar {
  display: flex; gap: 0.4rem; padding: 0.4rem 0.7rem;
  overflow-x: auto; background: var(--sand-2);
}
.chat-suggestion {
  background: var(--cream); border: 1px solid #CDBA9E; border-radius: 12px;
  padding: 0.25rem 0.6rem; font-size: 0.75rem; font-weight: 700;
  cursor: pointer; white-space: nowrap; color: var(--bark);
}
.chat-input-form {
  display: flex; padding: 0.5rem 0.7rem; background: #FFFDF9;
  border-top: 1px solid var(--sand-2); gap: 0.4rem;
}
.chat-input-form input {
  flex: 1; padding: 0.45rem 0.65rem; border: 1.5px solid #BEA57F;
  border-radius: 10px; font-size: 0.88rem; margin: 0; background: #fff;
}
.chat-send-btn {
  background: var(--clay-deep); color: #fff; border: 0;
  border-radius: 10px; padding: 0.45rem 0.8rem; font-weight: 800; cursor: pointer;
}

/* Tightened Portal (Private App) Styles */
.portal-banner {
  background: var(--clay-deep); color: var(--cream);
  border-radius: 20px; padding: 1.1rem 1.4rem; margin: 0.75rem 0 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  box-shadow: inset 0 2px 0 #fff9, var(--shadow);
}
.portal-pill-tag {
  font-size: 0.82rem; font-weight: 800; background: rgba(255, 255, 255, 0.2);
  padding: 0.2rem 0.6rem; border-radius: 10px; display: inline-block; margin-bottom: 0.3rem;
}
.portal-title { margin: 0.1rem 0; font-size: clamp(1.4rem, 2.5vw, 1.9rem); color: var(--cream); }
.portal-user-meta { font-size: 0.88rem; margin: 0; color: #FFEEDB; }
.demo-tag-compact {
  background: var(--sand-2); color: var(--bark); font-size: 0.8rem;
  font-weight: 800; padding: 0.35rem 0.75rem; border-radius: 12px;
}

/* Compact Rhythm Strip */
.rhythm-panel { padding: 0.85rem 1.1rem; }
.rhythm-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 0.6rem; }
.rhythm-header h3 { margin: 0; font-size: 1.05rem; }
.rhythm-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
  gap: 0.5rem;
}
.rhythm-step {
  background: #FAF3E3; border: 1px solid var(--sand-2); border-radius: 12px;
  padding: 0.45rem 0.65rem; font-size: 0.86rem; font-weight: 750;
  display: flex; align-items: center; gap: 0.45rem;
}
.rhythm-step span {
  width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--clay-deep);
  color: #fff; font-size: 0.75rem; display: flex; align-items: center; justify-content: center;
}

/* Photo Book Styles */
.photo-book-panel { padding: 1.15rem; }
.photo-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 0.85rem; margin-bottom: 1rem;
}
.photo-card {
  background: #FFFDF8; border: 1.5px solid var(--sand-2);
  border-radius: 16px; overflow: hidden; display: flex; flex-direction: column;
}
.photo-img-box {
  width: 100%; height: 150px; background: #FAF2E3;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.photo-img-box img { width: 100%; height: 100%; object-fit: cover; }
.photo-meta { padding: 0.75rem 0.9rem; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.photo-title { font-size: 0.96rem; color: var(--bark); margin-bottom: 0.25rem; display: block; }
.photo-caption { font-size: 0.84rem; line-height: 1.42; margin-bottom: 0.4rem; color: #5A432F; }
.photo-date { font-size: 0.75rem; color: #8F745B; }
.admin-photo-box {
  background: #FAF3E3; border: 1.5px dashed var(--clay);
  border-radius: 14px; padding: 0.95rem; margin-top: 0.8rem;
}
.admin-photo-box h4 { margin: 0 0 0.5rem; color: var(--clay-deep); }
.form-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.form-row label { flex: 1; min-width: 200px; }

/* Privacy Badge in Portal */
.privacy-badge {
  background: #E8EFE3; border-left: 4px solid var(--sprout);
  border-radius: 8px; padding: 0.4rem 0.75rem; font-size: 0.85rem;
  font-weight: 700; color: #2C5217; margin: 0.2rem 0 0;
}
.child-list { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.child { background: #E6E9D2; padding: 0.75rem 0.95rem; min-width: 160px; border-radius: 16px; }
.child-header { display: flex; align-items: center; justify-content: space-between; gap: 0.4rem; margin-bottom: 0.2rem; }
.child-label { font-size: 0.88rem; display: block; }

/* Generic Form & Input Controls */
label { display: block; font-weight: 750; font-size: 0.92rem; margin-bottom: 0.2rem; }
input, select, textarea {
  width: 100%; padding: 0.55rem 0.75rem; border: 2px solid #A2886C;
  border-radius: 11px; margin: 0.2rem 0 0.65rem; background: #fffdf9;
  color: var(--bark); font: inherit; font-size: 0.92rem;
}
textarea { min-height: 5.5rem; }
button {
  background: var(--clay-deep); color: var(--cream); border: 0;
  border-radius: 11px; padding: 0.6rem 1rem; font-weight: 800; cursor: pointer;
}
button:hover { background: var(--bark); }
.small-btn { padding: 0.35rem 0.7rem; font-size: 0.82rem; border-radius: 8px; }
.section-heading {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 0.8rem; margin: 1.4rem 0 0.7rem; flex-wrap: wrap;
}
.section-heading h2 { margin: 0; }
.section-heading p { margin: 0; }
.admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 0.85rem; }
.muted { color: #6F553D; }
#error { color: #9B2723; min-height: 1.2rem; font-weight: 750; }
.login-panel { max-width: 440px; margin: 2rem auto; text-align: left; }
.login-decor { font-size: 1.5rem; margin-bottom: 0.4rem; text-align: center; }
.login-footer-notes { margin-top: 1.1rem; border-top: 1px solid var(--sand-2); padding-top: 0.8rem; }
.small-link { font-size: 0.88rem; font-weight: 700; }

/* Services Hub & Billing */
.services-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.service-card { display: flex; flex-direction: column; justify-content: space-between; border-left: 5px solid var(--sprout); }
.service-card-top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.3rem; }
.service-title { font-size: 1.1rem; font-weight: 800; }
.status-badge { font-size: 0.72rem; font-weight: 800; padding: 0.15rem 0.55rem; border-radius: 20px; text-transform: uppercase; }
.status-badge.ready, .status-badge.paid { background: #DCEBD2; color: #355C1B; }
.status-badge.active { background: #FBE9D0; color: #8F531B; }
.status-badge.unpaid { background: #F7D9CE; color: #963219; }
.service-desc { font-size: 0.88rem; margin-bottom: 0.6rem; }
.service-first-run { background: #FAF3E3; border: 1px solid #E6D8BC; border-radius: 9px; padding: 0.5rem 0.7rem; font-size: 0.82rem; margin-bottom: 0.5rem; }
.service-creds { background: #F2EADB; border-radius: 8px; padding: 0.35rem 0.55rem; font-size: 0.76rem; color: #7A5E3F; margin-bottom: 0.6rem; }
.service-action-btn, .service-btn {
  display: inline-block; background: var(--clay-deep); color: var(--cream) !important;
  font-weight: 750; text-decoration: none !important; padding: 0.45rem 0.85rem;
  border-radius: 9px; font-size: 0.86rem; text-align: center;
}
.service-action-btn:hover, .service-btn:hover { background: var(--bark); }
.badge { font-size: 0.7rem; padding: 0.15rem 0.45rem; border-radius: 7px; font-weight: 800; }
.demo-badge { background: #EAD2BC; color: #783C12; }
.real-badge { background: #D3E6C7; color: #285215; }
.pii-flag { font-size: 0.75rem; margin-top: 0.3rem; color: #55412D; }
.badge-signed { background: #E1EED7; border-left: 5px solid var(--sprout); padding: 0.65rem 0.9rem; border-radius: 11px; }
.badge-pending { background: #FBEAD9; border-left: 5px solid var(--clay); padding: 0.65rem 0.9rem; border-radius: 11px; }
.handbook-box { max-height: 320px; overflow-y: auto; background: #FFFDF8; border: 2px solid var(--sand-2); border-radius: 13px; padding: 0.9rem; margin-bottom: 1rem; }
.handbook-section { margin-bottom: 0.85rem; }
.handbook-section h4 { margin: 0 0 0.25rem; color: var(--clay-deep); }
.handbook-section p { margin: 0; font-size: 0.9rem; white-space: pre-line; }
.sign-form { background: #FAF3E3; padding: 1rem; border-radius: 13px; border: 1px solid #DFCEB0; }
.checkbox-label { display: flex; align-items: flex-start; gap: 0.5rem; cursor: pointer; margin: 0.5rem 0 0.8rem; font-size: 0.9rem; }
.checkbox-label input { width: auto; margin-top: 0.2rem; }
.vault-fieldset { border: 2px solid #C4AB87; border-radius: 13px; padding: 0.85rem; margin: 0.85rem 0; background: #FCF7EC; }
.vault-fieldset legend { font-weight: 800; color: var(--clay-deep); padding: 0 0.4rem; }
.invoices-container { display: flex; flex-direction: column; gap: 0.85rem; }
.invoice-card { background: #FFFDF8; border: 2px solid var(--sand-2); border-radius: 15px; padding: 1rem; }
.inv-header { display: flex; align-items: center; justify-content: space-between; }
.venmo-payment-box { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; background: #F2EBDC; padding: 0.9rem; border-radius: 13px; margin-top: 0.6rem; }
.venmo-qr-wrap { background: #FFF; padding: 0.45rem; border-radius: 9px; box-shadow: 0 2px 7px #00000015; }
.venmo-instructions { flex: 1; min-width: 200px; font-size: 0.88rem; }
.venmo-instructions h4 { margin: 0 0 0.35rem; color: #008CFF; }
.roster-table-box { overflow-x: auto; margin-top: 0.6rem; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.admin-table th, .admin-table td { padding: 0.5rem 0.7rem; text-align: left; border-bottom: 1px solid #E8DCBE; }
.admin-table th { background: var(--sand-2); font-weight: 800; }
.vault-detail-box { background: #FAF3E3; border: 2px solid var(--clay); border-radius: 13px; padding: 0.9rem; margin-top: 0.8rem; }
.vault-card { background: #FFF; padding: 0.75rem; border-radius: 9px; line-height: 1.5; font-size: 0.9rem; margin-bottom: 0.6rem; }
.roster-item-row { display: flex; align-items: center; justify-content: space-between; padding: 0.4rem 0; border-bottom: 1px solid #E4D5BC; font-size: 0.88rem; }
.credential-box { background: #FAF3E3; border: 1px solid #D8C3A0; border-radius: 9px; padding: 0.7rem; font-size: 0.84rem; margin-top: 0.4rem; }

/* Footers */
footer { max-width: 1140px; margin: 2.2rem auto 0; padding: 1.4rem 1.25rem; color: var(--bark); font-size: 0.88rem; border-top: 3px solid var(--sand-2); }
.public-footer { background: var(--cream); border-top: 3px solid var(--sand-2); margin-top: 3rem; }
.footer-inner {
  max-width: 1140px; margin: auto; padding: 1.6rem 1.25rem;
  display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-brand p { margin: 0; font-size: 0.86rem; color: #684E37; }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; font-size: 0.86rem; }
.footer-links p { margin: 0.25rem 0 0; line-height: 1.45; }
.footer-center { text-align: center; }
[hidden] { display: none !important; }

@media (max-width: 700px) {
  .top-inner { flex-direction: column; align-items: flex-start; }
  nav { gap: 0.65rem; }
  .landing-hero .sun { right: 1rem; top: 1rem; width: 3rem; height: 3rem; }
  .landing-hero .land { opacity: 0.2; }
  .section-heading { flex-direction: column; align-items: flex-start; }
  .chat-panel { width: 92vw; right: -0.5rem; }
}
