/* Wilderfolk public site and member app.
   Loaded after style.css (which sets the brand tokens); the back office under /admin doesn't use it.
   Layout classes are prefixed site-; the marketing sections follow the prototype's design:
   dark pine green on earthy cream, warm stone accents, Inter throughout. */

:root {
  --site-pine: var(--wf-pine, #1b3a2d);
  --site-moss: var(--wf-moss, #4f7a5f);
  --site-stone: var(--wf-stone, #a89f91);
  --site-cream: var(--wf-cream, #f5f0e8);
  --site-bg: #f5f0e8;
  --site-surface: #ffffff;
  --site-text: #15241c;
  --site-muted: #5d6b63;
  --site-border: #e3dcd0;
  --site-radius: 1rem;
  --site-radius-l: 1.5rem;
  --site-max: 80rem;
  --site-font-mono: ui-monospace, "SF Mono", Menlo, monospace;
  /* Names the copied rules use */
  --site-navy: var(--site-pine);
  --site-blue: var(--site-moss);
}

html { scroll-behavior: smooth; }
.site-body {
  margin: 0;
  background: var(--site-bg);
  color: var(--site-text);
  font-family: var(--wa-font-family-body);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}
.site-main { flex: 1; }
.site-body h1, .site-body h2, .site-body h3, .site-body h4 {
  font-family: var(--wa-font-family-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 0.75rem;
  color: var(--site-text);
}
.site-body p { margin: 0 0 1rem; }
.site-body a { color: var(--site-blue); }
.site-body a:hover { text-decoration: underline; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--site-navy); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }

.site-container { max-width: var(--site-max); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 64rem) { .site-container { padding: 0 2rem; } }

.site-eyebrow { font-family: var(--site-font-mono); font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: var(--site-blue); margin: 0 0 1rem; }
.site-eyebrow-muted { color: var(--site-muted); letter-spacing: .2em; font-size: .62rem; }
.site-text-muted { color: var(--site-muted); }
.site-lead { font-size: 1.125rem; color: var(--site-muted); max-width: 40rem; }
@media (min-width: 64rem) { .site-lead { font-size: 1.25rem; } }

/* ===== Buttons ===== */
.site-button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: 999px; padding: .85rem 1.75rem; font-weight: 600; font-family: var(--wa-font-family-heading);
  text-decoration: none; border: 1px solid transparent; transition: background .15s, transform .15s, box-shadow .15s;
  cursor: pointer; font-size: 1rem; line-height: 1.2; white-space: nowrap;
}
.site-button:hover { text-decoration: none; transform: translateY(-1px); }
.site-button-primary { background: var(--site-blue); color: #fff !important; box-shadow: 0 10px 25px -10px rgba(42, 107, 244, .6); }
.site-button-primary:hover { background: #1f5be0; }
.site-button-outline { background: #fff; color: var(--site-text) !important; border-color: var(--site-border); }
.site-button-outline:hover { border-color: #cbd5e1; }
.site-button-inverse { background: #fff; color: var(--site-blue) !important; }
.site-button-ghost-dark { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.35); }
.site-button-ghost-dark:hover { background: rgba(255,255,255,.1); }
.site-button-small { padding: .55rem 1.1rem; font-size: .9rem; }
.site-button-large { padding: 1rem 2rem; font-size: 1.05rem; }
.site-link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.site-link-button:hover { text-decoration: underline; }
.site-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.85); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(229,231,235,.6); }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; flex-wrap: wrap; }
.site-brand img, .site-footer-logo { height: 2rem; width: auto; display: block; }
.site-nav { display: none; width: 100%; flex-direction: column; gap: .25rem; padding-bottom: 1rem; }
.site-nav.is-open { display: flex; }
.site-nav-link { color: var(--site-muted); font-weight: 500; font-size: .95rem; text-decoration: none; padding: .35rem 0; }
.site-nav-link:hover, .site-nav-link.is-current { color: var(--site-text); text-decoration: none; }
.site-nav-toggle { background: none; border: 1px solid var(--site-border); border-radius: .5rem; width: 2.5rem; height: 2.5rem; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.1rem; color: var(--site-text); }
@media (min-width: 48rem) {
  .site-nav { display: flex; width: auto; flex-direction: row; align-items: center; gap: 1.5rem; padding: 0; }
  .site-nav-toggle { display: none; }
}
.site-nav-wide { display: none; }
@media (min-width: 64rem) { .site-nav-wide { display: inline; } }

/* ===== Footer ===== */
.site-footer { background: var(--site-bg); border-top: 1px solid var(--site-border); padding: 3.5rem 0 2.5rem; font-size: .9rem; margin-top: 4rem; }
.site-footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .site-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .site-footer-grid { grid-template-columns: repeat(4, 1fr); } }
.site-footer p { margin: 0 0 .25rem; color: var(--site-muted); }
.site-footer a { color: var(--site-muted); text-decoration: none; }
.site-footer a:hover { color: var(--site-text); }
.site-footer-heading { font-weight: 700; color: var(--site-text) !important; margin-bottom: .5rem !important; }
.site-footer-logo { margin-bottom: .75rem; }
.site-footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--site-border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: var(--site-muted); }
.site-footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.site-footer-links .site-link-button { color: var(--site-muted); }

/* ===== Notices ===== */
.site-notice { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; background: #eaf0fe; border: 1px solid #c7d7fc; border-radius: var(--site-radius); padding: 1rem 1.25rem; margin: 1.5rem 0 0; font-size: .95rem; }
.site-notice > div { flex: 1; min-width: 16rem; }
.site-notice-icon { font-size: 1.4rem; color: var(--site-blue); }
.site-alert { border-radius: .75rem; padding: .9rem 1.1rem; margin: 0 0 1.25rem; font-size: .95rem; border: 1px solid; }
.site-alert-danger { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.site-alert-success { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.site-alert-warning { background: #fdf3df; border-color: #f4dfae; color: #7a5300; }
.site-alert-info { background: #eaf0fe; border-color: #c7d7fc; color: #1e3a8a; }

/* ===== Marketing sections ===== */
.site-section { padding: 4.5rem 0; }
@media (min-width: 64rem) { .site-section { padding: 6rem 0; } }
.site-section-white { background: var(--site-surface); border-top: 1px solid rgba(229,231,235,.6); border-bottom: 1px solid rgba(229,231,235,.6); }
.site-section-dark { background: var(--site-navy); color: #fff; position: relative; overflow: hidden; }
.site-section-dark h2, .site-section-dark h3 { color: #fff; }
.site-section h2 { font-size: 2rem; }
@media (min-width: 64rem) { .site-section h2 { font-size: 3rem; } }

.auth-shell { min-height: 100dvh; display: grid; place-items: center; padding: 2rem 1.25rem; background: var(--site-bg); }
.auth-panel { width: 100%; max-width: 28rem; background: #fff; border: 1px solid var(--site-border); border-radius: var(--site-radius-l); padding: 2rem; box-shadow: 0 20px 45px -25px rgba(15,23,42,.2); }
@media (min-width: 40rem) { .auth-panel { padding: 2.5rem; } }
.auth-brand img { height: 2rem; display: block; margin-bottom: 2rem; }
.auth-panel h1 { font-size: 1.75rem; margin-bottom: .5rem; }
.auth-panel > p { color: var(--site-muted); }
.auth-switch { margin-top: 1.5rem; font-size: .9rem; color: var(--site-muted); text-align: center; }
.auth-switch a { font-weight: 600; }
.auth-small { font-size: .85rem; margin-top: 1rem; }

/* ===== Customer app ===== */
.app-page { padding-top: 2.5rem; padding-bottom: 4rem; }
.app-page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 2rem; }
.app-page-head h1 { font-size: 2rem; margin: 0; }
.app-page-head p { margin: .25rem 0 0; color: var(--site-muted); }
.app-grid { display: grid; gap: 1.5rem; }
@media (min-width: 64rem) { .app-grid-2 { grid-template-columns: 1fr 1fr; } }
.app-card { background: #fff; border: 1px solid var(--site-border); border-radius: var(--site-radius); padding: 1.5rem; }
@media (min-width: 40rem) { .app-card { padding: 2rem; } }
.app-card h2 { font-size: 1.25rem; margin-bottom: .25rem; }
.app-card-intro { color: var(--site-muted); font-size: .95rem; margin-bottom: 1.5rem; }
.app-card-danger { border-color: #fecaca; }
.app-card-danger h2 { color: #991b1b; }
.app-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.app-list-item { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border: 1px solid var(--site-border); border-radius: .75rem; padding: .9rem 1.1rem; }
.app-list-item p { margin: 0; }
.app-list-item .site-text-muted { font-size: .85rem; }
.app-empty { color: var(--site-muted); border: 1px dashed var(--site-border); border-radius: .75rem; padding: 1.5rem; text-align: center; }
.app-detail-row { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-top: 1px solid var(--site-border); font-size: .95rem; }
.app-detail-row:first-of-type { border-top: 0; }
.app-detail-row span:first-child { color: var(--site-muted); }

/* ===== Cookie consent ===== */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 60; background: #fff; border: 1px solid var(--site-border); border-radius: var(--site-radius); box-shadow: 0 20px 45px -20px rgba(15,23,42,.35); padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 48rem) { .cookie-banner { left: auto; max-width: 30rem; } }
.cookie-banner[hidden] { display: none; }
.cookie-banner-title { font-weight: 700; margin: 0 0 .25rem; font-family: var(--wa-font-family-heading); }
.cookie-banner-text { margin: 0; font-size: .9rem; color: var(--site-muted); }
.cookie-banner-actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.cookie-option { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--site-border); }

/* ===== Projects ===== */
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-bottom: 1.5rem; }
@media (min-width: 48rem) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-tile { display: flex; flex-direction: column; gap: .1rem; background: #fff; border: 1px solid var(--site-border); border-radius: .75rem; padding: 1rem 1.25rem; text-decoration: none; color: var(--site-text); transition: border-color .15s; }
.stat-tile:hover { text-decoration: none; border-color: #cbd5e1; }
.stat-tile.is-current { border-color: var(--site-blue); box-shadow: 0 0 0 2px rgba(42,107,244,.15); }
.stat-tile-number { font-family: var(--wa-font-family-heading); font-size: 1.75rem; font-weight: 700; line-height: 1.1; }
.stat-tile-label { font-size: .85rem; color: var(--site-muted); }


/* ===== Marketing sections ===== */
.hero { position: relative; padding: 4rem 0 5rem; overflow: hidden; background: linear-gradient(180deg, var(--site-cream) 0%, #ffffff 100%); }
.hero-grid { position: relative; display: grid; gap: 3rem; align-items: center; }
@media (min-width: 64rem) { .hero-grid { grid-template-columns: 1.1fr .9fr; } }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 1.25rem; color: var(--site-pine); }
.hero-eyebrow span { color: var(--site-stone); }
.hero-visual { position: relative; }
.hero-card { background: #fff; border: 1px solid var(--site-border); border-radius: var(--site-radius-l); padding: 1.5rem; box-shadow: 0 25px 50px -12px rgba(27,58,45,.25); }
.hero-card + .hero-card { margin-top: 1rem; }
.hero-card-head { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.hero-card-title { font-weight: 700; }
.hero-card-meta { font-size: .85rem; color: var(--site-muted); }
.hero-card-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.hero-tag { display: inline-block; background: var(--site-cream); border: 1px solid var(--site-border); border-radius: 999px; padding: .2rem .7rem; font-size: .8rem; font-weight: 500; }
.hero-tag-ok { background: #e8f3ec; border-color: #c4dfcd; color: var(--site-pine); }
.hero-tag-warn { background: #fdf3df; border-color: #f4dfae; color: #7a5300; }

.feature-grid { display: grid; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 48rem) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card { border-radius: var(--site-radius-l); padding: 2rem; background: var(--site-surface); border: 1px solid var(--site-border); }
.feature-card wa-icon { font-size: 1.6rem; color: var(--site-moss); margin-bottom: 1rem; display: block; }
.feature-card h3 { margin: 0 0 .5rem; font-size: 1.1rem; }
.feature-card p { margin: 0; color: var(--site-muted); font-size: .95rem; }

.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 64rem) { .split { grid-template-columns: 1fr 1fr; } }
.split-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .9rem; }
.split-list li { display: flex; gap: .75rem; align-items: flex-start; }
.split-list wa-icon { color: var(--site-moss); margin-top: .2rem; flex: none; }

.status-pill { display: inline-flex; align-items: center; gap: .4rem; border-radius: 999px; padding: .15rem .65rem; font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.status-pill-live { background: #e8f3ec; color: var(--site-pine); }
.status-pill-soon { border: 1px solid var(--site-border); color: var(--site-muted); }

.cta-band { background: var(--site-pine); color: #fff; border-radius: var(--site-radius-l); padding: 3rem 2rem; text-align: center; }
.cta-band h2 { color: #fff; margin: 0 0 .75rem; }
.cta-band p { color: rgba(255,255,255,.75); max-width: 36rem; margin: 0 auto 1.5rem; }
.cta-band .site-actions { justify-content: center; }
.site-button-inverse { background: #fff; color: var(--site-pine) !important; }
.site-button-ghost-dark { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.35); }

/* ===== Sign-up role choice, onboarding ===== */
.role-choice { display: grid; gap: 1rem; margin: 1.5rem 0; }
.role-card { display: grid; gap: .35rem; text-decoration: none; color: inherit; border: 1px solid var(--site-border); border-radius: var(--site-radius); padding: 1.25rem; background: #fff; transition: border-color .15s, transform .15s; }
.role-card:hover { border-color: var(--site-moss); transform: translateY(-2px); }
.role-card-icon { font-size: 1.6rem; color: var(--site-moss); }
.role-card-title { font-weight: 700; font-size: 1.05rem; }
.role-card-text { color: var(--site-muted); font-size: .9rem; }
.onboarding-progress { margin: 0 0 1.5rem; --height: 6px; }
.onboarding-actions { justify-content: space-between; }
.site-fieldset { border: 0; padding: 0; margin: 0; }
.site-fieldset legend { font-weight: 600; margin-bottom: .75rem; padding: 0; }
.tag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: .5rem .75rem; }

/* ===== App extras ===== */
.app-card-prompt { border-color: #c4dfcd; background: #f4f9f6; }
.app-checklist { margin: 0; padding-left: 1.25rem; display: grid; gap: .4rem; }
.app-grid-3 { grid-template-columns: 1fr; }
@media (min-width: 64rem) { .app-grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* ===== Profiles ===== */
.avatar { border-radius: 50%; object-fit: cover; background: #d6e4da; flex: none; }
.avatar-large { width: 6rem; height: 6rem; }
.avatar-xl { width: 8rem; height: 8rem; border: 4px solid #fff; box-shadow: 0 10px 25px -10px rgba(27,58,45,.4); }
.logo-preview { width: 8rem; height: 8rem; object-fit: contain; border-radius: 1rem; background: #fff; border: 1px solid var(--site-border); padding: .5rem; flex: none; }
.logo-xl { width: 8rem; height: 8rem; }
.photo-row { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.site-file { display: block; margin: 0 0 .75rem; font: inherit; }
.profile-page { padding: 2rem 0 4rem; }
.profile-head { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; margin: 1.5rem 0 2rem; }
.profile-head h1 { margin: 0 0 .5rem; }
.profile-head .site-lead { margin: 0 0 .75rem; }
.profile-grid { display: grid; gap: 1.5rem; }
@media (min-width: 64rem) { .profile-grid { grid-template-columns: 2fr 1fr; } }
.profile-main, .profile-side { display: grid; gap: 1.5rem; align-content: start; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: .75rem; overflow: hidden; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ===== Qualifications ===== */
.qual-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.qual-item { display: grid; gap: .75rem; border: 1px solid var(--site-border); border-radius: .75rem; padding: 1rem 1.25rem; }
@media (min-width: 48rem) { .qual-item { grid-template-columns: 1fr auto; } }
.qual-item.is-editing { border-color: var(--site-moss); background: #f4f9f6; }
.qual-item p { margin: 0 0 .25rem; }
.qual-name { font-weight: 600; }
.qual-doc { font-size: .9rem; }
.qual-side { display: grid; gap: .4rem; justify-items: start; }
@media (min-width: 48rem) { .qual-side { justify-items: end; text-align: right; } }
.qual-expiry { font-size: .85rem; }
.evidence-doc { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--site-border); padding: 1rem 0 0; margin-top: 1rem; }
.evidence-doc p { margin: 0 0 .25rem; }

/* ===== Listings ===== */
.browse-grid { display: grid; gap: 1.5rem; }
@media (min-width: 64rem) { .browse-grid { grid-template-columns: 18rem 1fr; align-items: start; } .browse-filters { position: sticky; top: 5.5rem; } }
.listing-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.listing-card { display: grid; gap: 1rem; background: #fff; border: 1px solid var(--site-border); border-radius: var(--site-radius); padding: 1.25rem; }
@media (min-width: 48rem) { .listing-card { grid-template-columns: 1fr auto; } }
.listing-card-main { display: grid; gap: .25rem; text-decoration: none; color: inherit; }
.listing-card-type { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--site-moss); font-weight: 600; }
.listing-card-title { font-size: 1.15rem; font-weight: 700; }
.listing-card-main:hover .listing-card-title { color: var(--site-moss); }
.listing-card-meta, .listing-card-provider { font-size: .9rem; color: var(--site-muted); }
.listing-card-meta wa-icon { margin-right: .2rem; }
.listing-card-side { display: grid; gap: .5rem; justify-items: start; align-content: start; }
@media (min-width: 48rem) { .listing-card-side { justify-items: end; text-align: right; } }
.listing-card-pay { font-weight: 700; }
.pagination { display: flex; gap: 1rem; align-items: center; justify-content: center; margin-top: 1.5rem; }
.listing-head { display: flex; justify-content: space-between; gap: 1.5rem; align-items: flex-start; margin: 1rem 0 2rem; }
.listing-head h1 { margin: 0 0 .5rem; }
.listing-facts { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.listing-facts > div { display: flex; gap: .75rem; align-items: flex-start; }
.listing-facts wa-icon { color: var(--site-moss); font-size: 1.2rem; margin-top: .15rem; }
.listing-facts span { font-size: .9rem; color: var(--site-muted); }
.listing-facts strong { color: var(--site-text); }
.listing-map { height: 18rem; border-radius: .75rem; overflow: hidden; }
.listings-map { height: 70vh; min-height: 24rem; border-radius: var(--site-radius); overflow: hidden; border: 1px solid var(--site-border); }
.listing-apply h2 { margin-top: 0; }
.share-row { display: flex; gap: .75rem; align-items: center; margin-top: 1rem; font-size: .85rem; }

/* ===== Applications ===== */
.applicant-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.applicant { display: grid; gap: 1rem; grid-template-columns: auto 1fr; border: 1px solid var(--site-border); border-radius: .75rem; padding: 1rem 1.25rem; }
@media (min-width: 48rem) { .applicant { grid-template-columns: auto 1fr auto; } }
.applicant p { margin: 0 0 .25rem; }
.applicant-note { white-space: pre-line; background: var(--site-cream); border-radius: .5rem; padding: .6rem .8rem; font-size: .9rem; margin-top: .5rem !important; }
.applicant-evidence { margin-top: .5rem; font-size: .9rem; }
.applicant-evidence summary { cursor: pointer; color: var(--site-moss); font-weight: 600; }
.applicant-side { display: grid; align-content: start; justify-items: end; gap: .5rem; }
.evidence-summary .app-detail-row { font-size: .9rem; }

/* ===== Calendar ===== */
.cal-nav { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.cal-nav h2 { margin: 0; flex: 1; text-align: center; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; background: var(--site-border); border: 1px solid var(--site-border); border-radius: .75rem; overflow: hidden; }
.cal-dow { background: var(--site-cream); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: .4rem .5rem; color: var(--site-muted); }
.cal-day { background: #fff; min-height: 5.5rem; padding: .35rem; display: flex; flex-direction: column; gap: .2rem; }
.cal-day.is-other { background: #faf8f4; color: var(--site-muted); }
.cal-day.is-available { background: #eef6f0; }
.cal-day.is-today .cal-day-number { background: var(--site-pine); color: #fff; }
.cal-day-number { align-self: flex-start; font-size: .8rem; font-weight: 600; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; color: inherit; }
.cal-day-number:hover { background: var(--site-cream); }
.cal-ev { display: block; font-size: .72rem; line-height: 1.2; padding: .15rem .35rem; border-radius: .3rem; text-decoration: none; color: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-left: 3px solid transparent; }
.ev-booking { background: #e8f3ec; border-left-color: var(--site-pine); }
.ev-completed { background: #ecf2ed; border-left-color: var(--site-stone); color: var(--site-muted); }
.ev-activity { background: #fdf3df; border-left-color: #c58b00; }
.ev-personal { background: #f1f1f1; border-left-color: #888; }
.is-available-key { background: #eef6f0; border-left-color: #a9c7b5; }
.cal-legend { display: flex; gap: .75rem; flex-wrap: wrap; margin: .75rem 0 0; }
.cal-legend .cal-ev { display: inline-block; }
.publish-options { border-top: 1px solid var(--site-border); padding-top: 1rem; margin-top: .5rem; }
.publish-details { display: grid; gap: 1rem; margin-top: 1rem; }
@media (max-width: 40rem) { .cal-day { min-height: 3.5rem; } .cal-ev { display: none; } .cal-day:has(.cal-ev) .cal-day-number { box-shadow: 0 0 0 2px var(--site-moss); } }

/* ===== Reviews ===== */
.review { border-top: 1px solid var(--site-border); padding: 1rem 0 .25rem; }
.review:first-of-type { border-top: 0; padding-top: 0; }
.review p { margin: 0 0 .35rem; }
.review-head { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.review-stars { color: #c58b00; letter-spacing: .05em; font-weight: 600; }

/* ===== Invoices ===== */
.invoice-lines { width: 100%; border-collapse: collapse; margin: .5rem 0; }
.invoice-lines th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--site-muted); padding: .4rem; }
.invoice-lines td { padding: .25rem .4rem; }
.site-input { width: 100%; font: inherit; padding: .55rem .7rem; border: 1px solid var(--site-border); border-radius: .5rem; background: #fff; }
.site-input:focus { outline: 2px solid var(--site-moss); outline-offset: 1px; }
.site-input-small { max-width: 8rem; }

/* ===== Notifications ===== */
.site-bell { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; color: var(--site-text); text-decoration: none; border: 1px solid var(--site-border); }
.site-bell.has-unread { color: var(--site-pine); border-color: var(--site-moss); }
.site-bell-count { position: absolute; top: -.35rem; right: -.35rem; background: #b42318; color: #fff; font-size: .65rem; font-weight: 700; min-width: 1.2rem; height: 1.2rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; padding: 0 .3rem; }
.notif-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.notif { background: #fff; border: 1px solid var(--site-border); border-radius: .75rem; }
.notif.is-unread { border-left: 4px solid var(--site-moss); background: #f7faf8; }
.notif-main { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding: .9rem 1.1rem; text-decoration: none; color: inherit; }
.notif-icon { font-size: 1.3rem; color: var(--site-moss); margin-top: .15rem; }
.notif-title { display: block; font-weight: 600; }
.notif.is-unread .notif-title { font-weight: 700; }
.notif-body { display: block; font-size: .92rem; color: var(--site-text); margin: .15rem 0; }
.notif-meta { display: block; font-size: .8rem; color: var(--site-muted); }
