/* =====================================================================
   WARM PAPER (approved by JoYi 2026-11-07, Option A)
   One layer, loaded last. Paper and ink for reading; champagne for detail;
   navy only for titles, the seal and the main action. Remove this file's
   <link> to return to the previous look in one step.
   ===================================================================== */

@font-face { font-family: "Libre Baskerville"; src: url(fonts/LibreBaskerville-latin.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Baskerville"; src: url(fonts/LibreBaskerville-Italic-latin.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Open Sauce"; src: url(fonts/OpenSauceOne-Regular.ttf) format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sauce"; src: url(fonts/OpenSauceOne-Medium.ttf) format("truetype"); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sauce"; src: url(fonts/OpenSauceOne-Bold.ttf) format("truetype"); font-weight: 700 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sauce"; src: url(fonts/OpenSauceOne-Italic.ttf) format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  /* paper and ink */
  --cream: #f7f3ec;          /* page */
  --white: #fffdf9;          /* panels */
  --wp-ink: #22252d;         /* reading text */
  --warm-gray: #5d6170;      /* quiet text (AA on paper) */
  --slate-blue: #3b3f4a;     /* was a blue used for text; now soft charcoal */
  --lavender: #4a4e5a;
  --hairline: #e6dccb;       /* champagne-beige rule */
  --panel: #faf6ef;
  --soft-lavender: #f3ede3;
  --wp-icon: #9a7b4f;        /* champagne detail */
  --wp-rule-strong: #d9ccb3;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --wp-sans: "Open Sauce", "Segoe UI", system-ui, -apple-system, sans-serif;
  --shadow-soft: none;
  --shadow-lift: 0 18px 44px rgba(34, 37, 45, 0.16);
}

/* ---------- 1. Typography that matches the books ---------- */
body { font-family: var(--wp-sans); color: var(--wp-ink); background: var(--cream); line-height: 1.6; -webkit-font-smoothing: antialiased; }
input, textarea, select, button { font-family: inherit; }
h1, h2, h3, h4, .modal-content h2, .card h2 { text-wrap: balance; }
p, li, small, label, .res-note, .welcome-message, .meditation-card p { text-wrap: pretty; } /* 11. no orphaned words */
.card h2, .practice-section h3, .portal-card h3, .welcome-banner h2, .modal-content h2, .modal-content h3 { font-family: var(--serif); font-weight: 400; color: var(--deep-navy); }

/* ---------- 2. A calm, single-line header ---------- */
.header {
  background: rgba(255, 253, 249, 0.9) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.2) !important;
  backdrop-filter: blur(14px) saturate(1.2) !important;
  border-bottom: 1px solid var(--hairline) !important;
  box-shadow: none !important;
  color: var(--wp-ink);
  padding: 0.85rem 2rem;
}
.header::before, .header::after { display: none !important; }
.header h1 { color: var(--deep-navy); font-size: 1.2rem; }
.header-subtitle { color: var(--wp-icon); font-size: 0.6rem; letter-spacing: 0.2em; margin-top: 0.2rem; white-space: nowrap; }
.header-seal { width: 40px; height: 40px; }
.header-actions { gap: 1.4rem; }
.user-greeting {
  order: 9; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--wp-rule-strong);
  display: inline-grid; place-items: center; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.02em; color: var(--deep-navy);
}
.user-greeting:empty { display: none; }
.btn-logout, .header-quiet-link {
  background: none !important; border: none !important; border-radius: 0; padding: 0.3rem 0 !important;
  color: var(--warm-gray) !important; font-size: 0.88rem !important; opacity: 1 !important; text-decoration: none !important;
  box-shadow: inset 0 -1px 0 transparent; transition: color 0.2s, box-shadow 0.2s;
}
.btn-logout:hover, .header-quiet-link:hover { color: var(--wp-ink) !important; box-shadow: inset 0 -1px 0 var(--wp-icon); background: none !important; }

/* ---------- 3. Hairlines instead of shadows ---------- */
.card,
.practice-section:not(.serene-section),
.portal-card,
.assessment-card,
.res-hub-door,
.res-item,
.cohort-card,
.journal-page,
.journal-section {
  background: var(--white) !important;
  border: 1px solid var(--hairline) !important;
  box-shadow: none !important;
}
.card, .practice-section:not(.serene-section) { border-radius: 12px; padding: 1.75rem 2rem; margin-bottom: 1.5rem; }
.portal-card { border-radius: 12px; border-top: 1px solid var(--hairline) !important; transition: border-color 0.2s; }
.portal-card:hover, .assessment-card:hover, .res-item:hover, .res-hub-door:hover { border-color: var(--wp-icon) !important; transform: none !important; box-shadow: none !important; }
.modal-content { background: rgba(255, 253, 249, 0.97) !important; border: 1px solid var(--hairline) !important; }
.modal { background: rgba(34, 37, 45, 0.38) !important; }

/* ---------- 4. One line-icon family ---------- */
.portal-icon { background: none !important; border: none !important; box-shadow: none !important; width: auto !important; height: auto !important; margin: 0 auto 0.9rem; display: flex; justify-content: center; }
.portal-icon svg { width: 26px; height: 26px; stroke: var(--wp-icon) !important; stroke-width: 1.25 !important; }
.quick-action-btn svg, .mic-icon, .back-to-portal svg { stroke: var(--wp-icon) !important; stroke-width: 1.25 !important; }
.practice-plan-icon { background: none !important; border: 1px solid var(--hairline); border-radius: 50%; width: 40px; height: 40px; display: grid; place-items: center; flex: none; }
.practice-plan-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--wp-icon); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 5. Rows, not boxes ---------- */
.quick-actions-grid { gap: 0 2rem !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.quick-actions-grid.quick-actions-five { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.quick-action-btn {
  background: none !important; border: none !important; border-bottom: 1px solid var(--hairline) !important; border-radius: 0 !important;
  box-shadow: none !important; flex-direction: row !important; justify-content: flex-start !important; align-items: center;
  gap: 0.85rem; padding: 0.95rem 0.15rem !important; text-align: left; min-height: 0 !important; transform: none !important;
}
.quick-action-btn svg { width: 20px !important; height: 20px !important; margin: 0 !important; }
.quick-action-btn span { font-size: 0.95rem !important; font-weight: 500; color: var(--wp-ink) !important; }
.quick-action-btn:hover span { color: var(--deep-navy) !important; }
.practice-card, .practice-plan-item {
  background: none !important; border: none !important; border-bottom: 1px solid var(--hairline) !important; border-radius: 0 !important;
  box-shadow: none !important; padding: 1rem 0.15rem !important; margin: 0 !important; transform: none !important;
}
.practice-plan-item:first-of-type { border-top: 1px solid var(--hairline) !important; }
.practice-card h4, .practice-plan-content h4 { color: var(--wp-ink); font-weight: 600; }
.practice-card p, .practice-plan-content p { color: var(--warm-gray); }
.res-hub-door { border-radius: 10px; }

/* card headers: one full-width hairline under the title row */
.card-header { border-bottom: 1px solid var(--hairline); padding-bottom: 0.9rem; margin-bottom: 1.25rem; gap: 1rem; flex-wrap: wrap; }
.card-header h2 { border-bottom: none !important; padding-bottom: 0 !important; margin: 0; }

/* ---------- 6. Section headings with a quiet count ---------- */
.practice-section h3 { font-size: 1.3rem; padding-bottom: 0.6rem; margin-bottom: 1rem; border-bottom: 1px solid var(--hairline); display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.wp-count { font-family: var(--wp-sans); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp-icon); white-space: nowrap; font-weight: 600; }
.card h3 { color: var(--wp-icon); letter-spacing: 0.16em; font-size: 0.72rem; }

/* ---------- 7. A lighter welcome ---------- */
.welcome-banner, #practiceWelcomeBanner {
  background: none !important; border: none !important; border-bottom: 1px solid var(--hairline) !important; border-radius: 0 !important;
  box-shadow: none !important; color: var(--wp-ink) !important; padding: 0.5rem 0 1.75rem !important; margin-bottom: 2rem !important;
}
.welcome-banner::before, .welcome-banner::after { display: none !important; }
.welcome-banner h2 { font-size: 2rem !important; color: var(--deep-navy) !important; margin-bottom: 0.6rem; }
.welcome-banner .welcome-message { color: var(--warm-gray) !important; font-size: 1.02rem; max-width: none; }
/* 12. quotes run the full width */
.welcome-banner .welcome-quote { font-family: var(--serif); font-style: italic; color: var(--slate-blue) !important; border: none !important; padding: 0 !important; margin-top: 1rem; max-width: none !important; opacity: 1; }
.wp-greet { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 1.75rem; align-items: center; }
.wp-greet-seal { width: 84px; height: 84px; display: block; }
.wp-date { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wp-icon); font-weight: 600; margin-bottom: 0.25rem; }

/* ---------- 8. Numbers that line up ---------- */
.med-lib .practice-time, .med-lib .guide-time, .med-lib .times, .res-hub-door-count, .wp-count, table, .session-date, .cohort-meta { font-variant-numeric: tabular-nums; }

/* ---------- 9. More room, one spacing rhythm ---------- */
.container { max-width: 1040px; padding: 2.5rem 2rem 4rem; }
.portal-selection { gap: 1.25rem !important; margin-bottom: 1.5rem; }
.portal-card { padding: 2rem 1.75rem !important; }
.portal-card p { color: var(--warm-gray); }
.back-to-portal { color: var(--warm-gray); }

/* ---------- 10. One button language ---------- */
.btn { border-radius: 8px; min-height: 44px; font-weight: 600; font-size: 0.92rem; }
.btn-primary { background: var(--deep-navy); color: #fff; }
.btn-primary:hover { background: #2a3a6a; }
.btn-secondary { background: var(--white); color: var(--wp-ink); border: 1px solid var(--wp-rule-strong); }
.btn-secondary:hover { background: var(--panel); color: var(--wp-ink); }
.btn-outline { border: 1px solid var(--wp-rule-strong) !important; color: var(--wp-ink); background: var(--white); }
.btn-outline:hover { background: var(--panel); color: var(--wp-ink); border-color: var(--wp-icon) !important; }
input:focus, textarea:focus, select:focus { border-color: var(--wp-icon) !important; outline: none; box-shadow: 0 0 0 3px rgba(154, 123, 79, 0.15) !important; }

/* ---------- The serene meditations, recolored from evening blue to dawn on stone ---------- */
.serene-section {
  background: radial-gradient(90% 40% at 82% 0%, rgba(246, 214, 170, 0.65), transparent 62%),
              linear-gradient(180deg, #fbf5ec 0%, #f5eadc 42%, #ecdfcd 70%, #e3d3be 100%) !important;
  border: 1px solid var(--hairline) !important;
  border-radius: 14px !important;
}
.serene-section::before { background: radial-gradient(circle, rgba(244, 205, 150, 0.7) 0%, rgba(244, 205, 150, 0.25) 45%, rgba(244, 205, 150, 0) 72%) !important; }
.serene-section::after {
  background:
    linear-gradient(180deg, rgba(227, 211, 190, 0) 0%, rgba(205, 186, 160, 0.18) 40%, rgba(150, 128, 98, 0.25) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 620' preserveAspectRatio='none'%3E%3Cpath d='M0,150 C320,100 580,180 860,145 C1140,110 1380,170 1600,130 L1600,620 L0,620 Z' fill='%23e6d6c0' opacity='0.45'/%3E%3Cpath d='M0,255 C300,195 520,285 800,245 C1080,205 1300,275 1600,225 L1600,620 L0,620 Z' fill='%23d8c4a8' opacity='0.55'/%3E%3Cpath d='M0,355 C260,295 560,385 860,335 C1140,290 1380,365 1600,320 L1600,620 L0,620 Z' fill='%23c4ac8d' opacity='0.65'/%3E%3Cpath d='M0,455 C320,405 620,485 920,440 C1200,400 1420,465 1600,430 L1600,620 L0,620 Z' fill='%23b6a088' opacity='0.6'/%3E%3Cpath d='M0,540 C340,500 640,560 960,530 C1240,505 1440,545 1600,520 L1600,620 L0,620 Z' fill='%23a48e74' opacity='0.6'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat !important;
}
.serene-section h3 {
  background: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  border: none !important; border-bottom: 1px solid rgba(110, 88, 60, 0.18) !important; border-radius: 0 !important;
  box-shadow: none !important; padding: 0 0 0.6rem !important; color: #2a2620 !important;
}
.serene-section .meditation-card h4, .serene-section .med-lib .practice, .serene-section .med-lib .title { color: #2a2620 !important; }
.serene-section .meditation-card p, .serene-section .med-lib-byline { color: #5e5446 !important; }
.serene-section .meditation-card:not(:last-child)::after { background: linear-gradient(90deg, rgba(110, 88, 60, 0), rgba(110, 88, 60, 0.22), rgba(110, 88, 60, 0)) !important; }
.serene-section .med-lib .practice { border-color: rgba(110, 88, 60, 0.16) !important; }
.serene-section .med-lib .practice-time { color: #5e5446 !important; }
.serene-section .med-lib .practice:hover, .serene-section .med-lib .practice[aria-current="true"] { background: rgba(255, 253, 249, 0.55) !important; }

/* ---------- Floating surfaces keep their glass, in warm tones ---------- */
.toast.toast-info { background: rgba(255, 253, 249, 0.94) !important; color: var(--wp-ink) !important; }


/* ---------- Free intro classes: one glance, then two steps ---------- */
#introPage .card { padding: 2.25rem 2.25rem 2rem; }
.intro-sub { text-wrap: balance; text-align: center; color: var(--wp-ink); font-size: 1.05rem; margin: 0.35rem 0 0.9rem; }
.intro-facts { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem; }
.intro-facts li { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp-icon); font-weight: 600; border: 1px solid var(--hairline); border-radius: 999px; padding: 0.3rem 0.85rem; }
.intro-step { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; color: var(--deep-navy); font-size: 0.98rem; margin: 1.5rem 0 0.75rem; padding-top: 1.25rem; border-top: 1px solid var(--hairline); }
.intro-step span { width: 24px; height: 24px; border-radius: 50%; background: var(--deep-navy); color: #fff; display: inline-grid; place-items: center; font-size: 0.75rem; flex: none; }
.intro-class { border: 1px solid var(--hairline); border-radius: 10px; padding: 0.9rem 1rem 1rem; margin: 0 0 0.75rem; min-width: 0; }
.intro-class legend { display: flex; align-items: center; gap: 0.55rem; padding: 0 0.35rem; margin-left: -0.35rem; font-family: var(--serif); font-size: 1.05rem; color: var(--deep-navy); }
.intro-num { font-family: var(--wp-sans); font-size: 0.72rem; font-weight: 700; color: var(--wp-icon); border: 1px solid var(--wp-rule-strong); border-radius: 50%; width: 22px; height: 22px; display: inline-grid; place-items: center; }
.intro-dates { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0.6rem; margin-top: 0.4rem; }
.intro-chip { position: relative; display: flex; flex-direction: column; gap: 0.1rem; padding: 0.7rem 0.9rem 0.7rem 2.4rem; border: 1px solid var(--wp-rule-strong); border-radius: 8px; background: var(--white); cursor: pointer; font-weight: 400; min-height: 56px; justify-content: center; transition: border-color 0.15s, background 0.15s; }
.intro-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.intro-chip::before { content: ""; position: absolute; left: 0.85rem; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 1.5px solid var(--wp-rule-strong); background: var(--white); }
.intro-chip:hover { border-color: var(--wp-icon); }
.intro-chip:has(input:checked) { border-color: var(--deep-navy); background: #f5f1e8; box-shadow: inset 0 0 0 1px var(--deep-navy); }
.intro-chip:has(input:checked)::before { border-color: var(--deep-navy); background: var(--deep-navy); box-shadow: inset 0 0 0 3px var(--white); }
.intro-chip:has(input:focus-visible) { outline: 2px solid var(--wp-icon); outline-offset: 2px; }
.intro-chip-day { font-weight: 600; color: var(--wp-ink); font-size: 0.95rem; }
.intro-chip-time { color: var(--warm-gray); font-size: 0.84rem; font-variant-numeric: tabular-nums; }
.intro-chip-local { display: block; color: var(--wp-icon); font-size: 0.78rem; }
.intro-fine { text-align: center; font-size: 0.82rem; color: var(--warm-gray); margin: 0.6rem 0 0; }
@media (max-width: 520px) { #introPage .card { padding: 1.5rem 1.1rem; } .intro-dates { grid-template-columns: 1fr; } }

@media (max-width: 720px) {
  .header { padding: 0.7rem 1rem; }
  .header-subtitle { display: none; }
  .header-actions { gap: 0.75rem; }
  .header h1 { font-size: 1.02rem !important; }
  .btn-logout, .header-quiet-link { font-size: 0.8rem !important; }
  .container { padding: 1.5rem 1rem 3rem; }
  .card, .practice-section:not(.serene-section) { padding: 1.25rem 1.1rem; }
  .quick-actions-grid, .quick-actions-grid.quick-actions-five { grid-template-columns: 1fr !important; }
  .wp-greet { grid-template-columns: 1fr; gap: 1rem; }
  .wp-greet-seal { width: 60px; height: 60px; }
  .welcome-banner h2 { font-size: 1.6rem !important; }
}
@media (max-width: 520px) { .user-greeting { display: none; } }
@media (prefers-reduced-motion: reduce) { .portal-card, .btn-logout, .header-quiet-link { transition: none; } }

/* ===== 2026-11-07: welcome breathing room, journal cover, sidebar hierarchy, interactive pages ===== */
.wp-greet { display: block; max-width: 46rem; padding: 0.75rem 0 0.5rem; }
.wp-greet .wp-date::before { content: ''; display: block; width: 40px; height: 1px; background: #C5A880; margin-bottom: 1.1rem; }
.welcome-banner h2 { margin-bottom: 1rem; }
.welcome-banner .welcome-quote { margin-top: 1.5rem; }

.journal-header.journal-cover {
  background: linear-gradient(180deg, rgba(20,32,70,0.10), rgba(20,32,70,0.28)), url('/assets/journal-cover.jpg') center 42% / cover no-repeat;
  min-height: 230px; display: flex; align-items: center; justify-content: center; padding: 2.5rem 1.5rem; border-radius: 12px 12px 0 0;
}
.journal-header.journal-cover::before, .journal-header.journal-cover::after { display: none; animation: none; }
.jc-text { text-align: center; color: #fffdf9; text-shadow: 0 1px 14px rgba(15,25,55,0.45); }
.jc-text h2 { font-family: var(--serif); font-weight: 700; font-size: 2.2rem; letter-spacing: 0.01em; color: #fffdf9 !important; margin: 0.15rem 0 0.4rem; text-shadow: inherit; }
.jc-eyebrow, .jc-sub { font-family: var(--wp-sans); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.95; margin: 0; color: #fffdf9 !important; }
.jc-sub { letter-spacing: 0.14em; font-size: 0.7rem; }

/* sidebar: module heading in two tiers, pages indented under a hairline */
.journal-sidebar-module { margin: 1.6rem 0 0.4rem !important; padding: 0 0.75rem !important; text-transform: none !important; letter-spacing: 0 !important; display: flex; flex-direction: column; gap: 0.15rem; }
.journal-sidebar-module:first-child { margin-top: 0 !important; }
.jsm-num { font-family: var(--wp-sans); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: #9a7b4f; }
.jsm-name { font-family: var(--serif); font-size: 1rem; color: var(--deep-navy); line-height: 1.3; }
.journal-sidebar-item { margin-left: 0.75rem !important; border-left: 1px solid var(--hairline) !important; padding: 0.45rem 0.75rem !important; font-size: 0.92rem !important; color: var(--warm-gray); border-radius: 0 6px 6px 0 !important; }
.journal-sidebar-item.active { border-left: 2px solid var(--deep-navy) !important; color: var(--deep-navy); font-weight: 600; }
.journal-sidebar-item .sidebar-dot { width: 6px !important; height: 6px !important; }

/* shared pieces */
.j-lede { color: var(--wp-ink); font-size: 1rem; line-height: 1.6; margin: 0 0 1.25rem; text-wrap: pretty; }
.j-note { background: #f3ede2; border-left: 2px solid #C5A880; padding: 0.75rem 1rem; color: var(--wp-ink); font-size: 0.92rem; margin: 0 0 1rem; }
.j-done { color: #6b7f5e; font-size: 0.92rem; margin-top: 1rem; }
.j-next { margin: 1.5rem 0 0.5rem; }
.j-add { background: none; border: 1px dashed var(--hairline); color: var(--deep-navy); border-radius: 8px; padding: 0.6rem 1rem; font: inherit; font-size: 0.92rem; cursor: pointer; margin-top: 0.5rem; }
.j-add:hover { border-color: #C5A880; background: #fbf8f2; }
.j-line, .j-short { width: 100%; box-sizing: border-box; border: 1px solid var(--hairline); border-radius: 8px; background: #fffdf9; padding: 0.6rem 0.75rem; font: inherit; font-size: 1rem; color: var(--wp-ink); }
.j-short { resize: vertical; min-height: 4.5rem; line-height: 1.5; }
.j-line:focus, .j-short:focus { outline: none; border-color: var(--deep-navy); box-shadow: 0 0 0 3px rgba(29,42,82,0.08); }
.j-q { margin-bottom: 1.4rem; position: relative; }
.j-q > label { display: block; font-style: italic; color: var(--wp-ink); margin-bottom: 0.5rem; line-height: 1.5; text-wrap: pretty; }
.j-counter { display: block; text-align: right; font-size: 0.75rem; color: var(--warm-gray); margin-top: 0.25rem; font-variant-numeric: tabular-nums; }
.j-legacy { margin: 1.5rem 0; border-top: 1px solid var(--hairline); padding-top: 1rem; }
.j-legacy summary { cursor: pointer; color: var(--warm-gray); font-size: 0.9rem; margin-bottom: 0.75rem; }
.j-focus { background: #fbf8f2; border: 1px solid var(--hairline); border-radius: 10px; padding: 0.85rem 1rem; margin: 0 0 1.25rem; color: var(--wp-ink); }
.j-focus span { display: block; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: #9a7b4f; margin-bottom: 0.25rem; }

/* practice block with play buttons */
.j-practice { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--hairline); }
.j-practice-name { color: var(--warm-gray); margin: 0.25rem 0 0.75rem; font-size: 0.95rem; }
.j-play-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.9rem; }
.j-play { display: inline-flex; align-items: center; gap: 0.5rem; border: 1px solid var(--hairline); background: #fffdf9; color: var(--deep-navy); border-radius: 999px; padding: 0.45rem 0.95rem 0.45rem 0.6rem; font: inherit; font-size: 0.9rem; cursor: pointer; }
.j-play:hover { border-color: #C5A880; }
.j-play-icon { width: 22px; height: 22px; border-radius: 50%; background: var(--deep-navy); position: relative; flex: none; }
.j-play-icon::after { content: ''; position: absolute; left: 8px; top: 6px; border-left: 8px solid #fffdf9; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }

/* complaints: steps, timer, list, chips, tally, choose */
.j-steps { display: flex; gap: 0.5rem; list-style: none; padding: 0; margin: 0 0 1.5rem; flex-wrap: wrap; }
.j-steps button { display: inline-flex; align-items: center; gap: 0.45rem; border: 1px solid var(--hairline); background: #fffdf9; color: var(--warm-gray); border-radius: 999px; padding: 0.35rem 0.9rem 0.35rem 0.4rem; font: inherit; font-size: 0.88rem; cursor: pointer; }
.j-steps button span { width: 22px; height: 22px; border-radius: 50%; background: #f1ebe0; display: inline-grid; place-items: center; font-size: 0.75rem; }
.j-steps li.on button { border-color: var(--deep-navy); color: var(--deep-navy); font-weight: 600; }
.j-steps li.on button span { background: var(--deep-navy); color: #fffdf9; }
.j-timer { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.25rem; }
.j-timer-read { font-family: var(--serif); font-size: 1.8rem; color: var(--deep-navy); font-variant-numeric: tabular-nums; min-width: 4.5rem; }
.j-list { padding-left: 1.6rem; margin: 0 0 0.5rem; }
.j-list li { margin-bottom: 0.5rem; color: var(--warm-gray); font-variant-numeric: tabular-nums; }
.j-tally { list-style: none; padding: 0.75rem 1rem; margin: 0 0 1.5rem; background: #fbf8f2; border: 1px solid var(--hairline); border-radius: 10px; display: grid; gap: 0.35rem; }
.j-tally li { display: flex; gap: 0.75rem; align-items: baseline; color: var(--warm-gray); font-size: 0.92rem; }
.j-tally b { min-width: 1.4rem; text-align: right; font-variant-numeric: tabular-nums; color: var(--wp-ink); }
.j-tally li.lead { color: var(--deep-navy); font-weight: 600; }
.j-tally li.lead b { color: #9a7b4f; }
.j-stmt { padding: 0.9rem 0; border-top: 1px solid var(--hairline); }
.j-stmt p { margin: 0 0 0.6rem; color: var(--wp-ink); text-wrap: pretty; }
.j-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.j-chip { display: inline-flex; align-items: center; gap: 0.4rem; border: 1px solid var(--hairline); background: #fffdf9; color: var(--warm-gray); border-radius: 999px; padding: 0.3rem 0.8rem 0.3rem 0.35rem; font: inherit; font-size: 0.85rem; cursor: pointer; }
.j-chip b { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--hairline); display: inline-grid; place-items: center; font-size: 0.72rem; }
.j-chip.on { border-color: var(--deep-navy); color: var(--deep-navy); background: #f4f1ea; }
.j-chip.on b { background: var(--deep-navy); border-color: var(--deep-navy); color: #fffdf9; }
.j-choose { display: grid; gap: 0.6rem; }
.j-story { display: grid; grid-template-columns: 2.2rem minmax(0,1fr) auto auto; gap: 0.75rem; align-items: center; border: 1px solid var(--hairline); border-radius: 10px; padding: 0.7rem 0.9rem; background: #fffdf9; }
.j-story-n { font-family: var(--serif); font-size: 1.3rem; color: var(--warm-gray); text-align: center; font-variant-numeric: tabular-nums; }
.j-story.strong .j-story-n { color: #9a7b4f; }
.j-story.chosen { border-color: var(--deep-navy); box-shadow: 0 0 0 3px rgba(29,42,82,0.07); }
.j-story.crossed .j-story-text { text-decoration: line-through; color: var(--warm-gray); }
.j-cross { font-size: 0.82rem; color: var(--warm-gray); display: inline-flex; gap: 0.35rem; align-items: center; white-space: nowrap; }
@media (max-width: 640px) {
  .j-story { grid-template-columns: 2rem minmax(0,1fr); }
  .j-story .j-cross, .j-story .btn { grid-column: 2; justify-self: start; }
}

/* cards for revenge fantasies */
.j-card { border: 1px solid var(--hairline); border-radius: 10px; padding: 1rem; margin-bottom: 1rem; background: #fffdf9; }
.j-card-h { font-family: var(--serif); color: var(--deep-navy); font-size: 1.05rem; margin: 0 0 0.6rem; }
.j-sub-label { display: block; font-size: 0.85rem; color: var(--warm-gray); margin: 0.75rem 0 0.35rem; }

/* tickets: the Companion's Violation Ticket and Hope, Wish, Desire forms */
.j-callout { background: #fffdf9; border-left: 3px solid #c8402f; padding: 0.85rem 1rem; margin: 0 0 1rem; }
.j-callout p { margin: 0 0 0.4rem; line-height: 1.55; color: var(--wp-ink); text-wrap: pretty; }
.j-callout p:last-child { margin: 0; }
.vt-callout b { color: #c8402f; }
.hw-callout { border-left-color: #1d2a52; }
.j-carry { font-size: 0.95rem; color: var(--wp-ink); margin: 0 0 1rem; }
.j-carry b { color: #c8402f; font-variant-numeric: tabular-nums; }
.vt { display: grid; grid-template-columns: 54px minmax(0,1fr); border: 1.5px solid #3a3a3a; border-radius: 10px; overflow: hidden; background: #fdfaf3; margin-bottom: 1.1rem; }
.vt-stub { background: #c8402f; color: #fffdf9; display: flex; align-items: center; justify-content: center; gap: 0.6rem; writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--wp-sans); }
.vt-stub span { font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.95rem; }
.vt-stub small { font-size: 0.68rem; letter-spacing: 0.08em; opacity: 0.9; }
.vt-body { padding: 0.9rem 1.1rem 1rem; }
.vt-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 1.5px solid #c8402f; padding-bottom: 0.3rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.vt-head h4 { margin: 0; font-family: var(--wp-sans); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.06em; text-transform: uppercase; color: #c8402f; }
.vt-head > span { font-size: 0.75rem; color: var(--warm-gray); font-variant-numeric: tabular-nums; }
.vt-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 0.6rem 1rem; }
.vt-f { grid-column: span 6; display: flex; flex-direction: column; gap: 0.2rem; }
.vt-f.wide { grid-column: span 4; } .vt-f:not(.wide):not(.full):not(.half) { grid-column: span 2; } .vt-f.half { grid-column: span 3; }
.vt-f span { font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: #5d6170; }
.vt-f input { border: none; border-bottom: 1px solid #9aa0ad; background: #eef2f8; padding: 0.4rem 0.5rem; font: inherit; font-size: 0.95rem; color: var(--wp-ink); border-radius: 0; }
.vt-f input:focus { outline: none; border-bottom-color: #c8402f; background: #e6ecf6; }
.vt-tear { background: none; border: none; color: var(--warm-gray); font: inherit; font-size: 0.8rem; text-decoration: underline; cursor: pointer; margin-top: 0.75rem; padding: 0; }
.vt-foot { text-align: center; font-size: 0.72rem; color: var(--warm-gray); letter-spacing: 0.04em; margin: 1rem 0 0; }
.hw .vt-stub { background: #1d2a52; }
.hw .vt-head { border-bottom-color: #1d2a52; }
.hw .vt-head h4 { color: #1d2a52; }
.hw .vt-f input:focus { border-bottom-color: #1d2a52; }
.hw-conv { font-size: 0.75rem; color: var(--warm-gray); display: inline-flex; gap: 0.4rem; align-items: center; }
.hw-conv select { font: inherit; font-size: 0.8rem; border: 1px solid var(--hairline); border-radius: 6px; background: #fffdf9; padding: 0.15rem 0.3rem; }
.hw-act { border: none; padding: 0; margin: 0.9rem 0 0; }
.hw-act legend { font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: #5d6170; margin-bottom: 0.4rem; }
.hw-act label { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.92rem; color: var(--wp-ink); margin-bottom: 0.35rem; line-height: 1.45; cursor: pointer; }
.hw-act input { margin-top: 0.25rem; accent-color: #1d2a52; }
@media (max-width: 640px) {
  .vt { grid-template-columns: 38px minmax(0,1fr); }
  .vt-stub span { font-size: 0.78rem; }
  .vt-f.wide, .vt-f.half, .vt-f:not(.wide):not(.full):not(.half) { grid-column: span 6; }
  .jc-text h2 { font-size: 1.7rem; }
  .journal-header.journal-cover { min-height: 180px; }
}
/* ticket instructions folded behind a click (returning practitioners already know the activity) */
.j-how { margin: 0 0 1rem; border-left: 2px solid #c8402f; padding: 0.1rem 0 0.1rem 0.85rem; }
.j-how.hw-callout { border-left-color: #1d2a52; }
.j-how summary { cursor: pointer; color: var(--warm-gray); font-size: 0.88rem; list-style: none; }
.j-how summary::-webkit-details-marker { display: none; }
.j-how summary::before { content: '+'; display: inline-block; width: 1rem; color: var(--deep-navy); }
.j-how[open] summary::before { content: '–'; }
.j-how p { margin: 0.6rem 0 0.4rem; line-height: 1.55; color: var(--wp-ink); text-wrap: pretty; }
.j-how.vt-callout b { color: #c8402f; }

/* ===== 2026-11-07: admin People hub (Coming up / To do / Everyone / Accounts) ===== */
.pp-seg { display: inline-flex; gap: 0.25rem; padding: 0.25rem; background: #f1ebe0; border-radius: 999px; margin: 0 0 1rem; flex-wrap: wrap; }
.pp-seg button { border: none; background: none; font: inherit; font-size: 0.86rem; color: var(--warm-gray); padding: 0.4rem 0.9rem; border-radius: 999px; cursor: pointer; }
.pp-seg button.active { background: #fffdf9; color: var(--deep-navy); font-weight: 600; box-shadow: 0 1px 2px rgba(29,42,82,0.08); }
.pp-empty { color: var(--warm-gray); font-size: 0.9rem; margin: 0.5rem 0; }
.pp-sub { color: var(--warm-gray); font-size: 0.8rem; margin: 0; }
#peopleComing { max-height: 460px; overflow-y: auto; display: grid; gap: 0.75rem; }
.pp-class { border: 1px solid var(--hairline); border-radius: 12px; padding: 0.9rem 1rem; background: #fffdf9; }
.pp-class-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.pp-date { margin: 0; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: #9a7b4f; }
.pp-title { margin: 0.15rem 0 0.1rem; font-family: var(--serif); color: var(--deep-navy); font-size: 1.05rem; }
.pp-count { text-align: right; color: var(--warm-gray); font-size: 0.75rem; line-height: 1.1; }
.pp-count b { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--deep-navy); font-weight: 400; font-variant-numeric: tabular-nums; }
.pp-roster { list-style: none; padding: 0; margin: 0.75rem 0 0; border-top: 1px solid var(--hairline); }
.pp-roster li { display: flex; justify-content: space-between; gap: 0.75rem; align-items: center; padding: 0.5rem 0; border-bottom: 1px solid #f1ebe0; flex-wrap: wrap; }
.pp-who { display: flex; flex-direction: column; font-size: 0.9rem; color: var(--wp-ink); min-width: 0; }
.pp-who small { color: var(--warm-gray); font-size: 0.75rem; overflow-wrap: anywhere; }
.pp-chips { display: flex; gap: 0.3rem; flex-wrap: wrap; }
.pp-chip { font-size: 0.72rem; padding: 0.15rem 0.55rem; border-radius: 999px; border: 1px solid var(--hairline); color: var(--warm-gray); white-space: nowrap; }
.pp-chip.ok { color: #3f6b4a; border-color: #cfdcc9; background: #f3f7f0; }
.pp-chip.bad { color: #a23b2c; border-color: #ecc9c2; background: #fbf1ef; }
.pp-chip.quiet { font-style: italic; }
.pp-actions { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; margin-top: 0.75rem; }
.pp-todo { display: grid; gap: 0.4rem; max-height: 460px; overflow-y: auto; }
.pp-todo-row { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1.4fr) auto; gap: 0.75rem; align-items: center; text-align: left; border: 1px solid var(--hairline); background: #fffdf9; border-radius: 10px; padding: 0.6rem 0.85rem; font: inherit; cursor: pointer; }
.pp-todo-row:hover { border-color: #C5A880; }
.pp-what { font-size: 0.88rem; color: var(--deep-navy); }
.pp-tags { display: flex; gap: 0.25rem; flex-wrap: wrap; }
.pp-tag { font-size: 0.7rem; padding: 0.1rem 0.5rem; border-radius: 999px; background: #f1ebe0; color: var(--wp-ink); white-space: nowrap; }
.pp-signup { display: grid; gap: 0.3rem; }
.pp-signup-head { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.pp-hr { border: none; border-top: 1px solid var(--hairline); margin: 0.75rem 0; }
.pp-mail { margin-top: 0.75rem; font-size: 0.85rem; color: var(--wp-ink); line-height: 1.6; }
@media (max-width: 560px) {
  .pp-todo-row { grid-template-columns: 1fr; gap: 0.2rem; }
}
#signupList .su-row > .su-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* journal voice input: lives on each page, speaks into the box you last tapped */
.j-private { text-align: center; color: var(--warm-gray); font-size: 0.82rem; margin: 0.9rem 0 0.25rem; }
.j-voice { display: flex; align-items: center; gap: 0.75rem; margin: 0 0 1.25rem; padding: 0.55rem 0.75rem; border: 1px solid var(--hairline); border-radius: 12px; background: #fbf8f2; position: sticky; top: 96px; z-index: 5; }
.j-voice-btn { flex: none; width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--deep-navy); display: grid; place-items: center; cursor: pointer; }
.j-voice-btn svg { width: 18px; height: 18px; fill: none; stroke: #fffdf9; stroke-width: 2; stroke-linecap: round; }
.j-voice-btn.recording { background: #c8402f; box-shadow: 0 0 0 6px rgba(200,64,47,0.15); }
.j-voice-text { margin: 0; font-size: 0.86rem; color: var(--warm-gray); line-height: 1.4; }
.j-voice-text b { color: var(--deep-navy); font-weight: 600; }
.j-voice-on { border-color: #c8402f !important; box-shadow: 0 0 0 3px rgba(200,64,47,0.12) !important; }
@media (max-width: 640px) { .j-voice { top: 70px; } }

/* Admin > Access: who sees what */
#adminViewAccess { max-height: 480px; overflow-y: auto; }
.ax-lede { color: var(--wp-ink); font-size: 0.92rem; margin: 0 0 0.9rem; text-wrap: pretty; }
.ax-band { border: 1px solid var(--hairline); border-radius: 12px; padding: 0.8rem 1rem; margin-bottom: 0.7rem; background: #fffdf9; }
.ax-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.5rem; }
.ax-head h4 { margin: 0; font-family: var(--serif); font-weight: 400; color: var(--deep-navy); font-size: 1.05rem; }
.ax-head span { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: #9a7b4f; }
.ax-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ax-k { margin: 0 0 0.25rem; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--warm-gray); }
.ax-cols ul { margin: 0; padding-left: 1rem; font-size: 0.86rem; color: var(--wp-ink); line-height: 1.5; }
.ax-cols li { margin-bottom: 0.15rem; text-wrap: pretty; }
.ax-note { font-size: 0.8rem; color: var(--warm-gray); margin: 0.6rem 0 0; line-height: 1.5; text-wrap: pretty; }
@media (max-width: 560px) { .ax-cols { grid-template-columns: 1fr; gap: 0.5rem; } }

/* privacy + deletion controls */
.privacy-foot { text-align: center; font-size: 0.8rem; margin: 1.5rem 0 1rem; }
.privacy-foot a, .j-private a { color: var(--warm-gray); }
.j-delete-all { background: none; border: none; padding: 0; font: inherit; color: var(--warm-gray); text-decoration: underline; cursor: pointer; }
.pp-danger { margin-top: 0.9rem; padding-top: 0.75rem; border-top: 1px solid var(--hairline); display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }

/* =====================================================================
   Retreat Planner (2026-11-07). Uses the palette above; nothing new.
   ===================================================================== */
.rt .card { margin-bottom: 1rem; }
.rt-top { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; margin: 0 0 1rem; }
.rt-quiet { color: var(--warm-gray); font-size: 0.86rem; }
.rt-eyebrow { margin: 0 0 0.2rem; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp-icon); }
.rt-h3 { font-family: var(--serif); font-weight: 400; color: var(--deep-navy); font-size: 1.1rem; margin: 1.4rem 0 0.6rem; }
.rt-h3:first-child { margin-top: 0; }
.rt-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.rt-head h2 { margin: 0 0 0.2rem; }
.rt-list { display: grid; gap: 0.5rem; margin: 0.8rem 0 0.4rem; }
.rt-list-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; width: 100%; text-align: left; background: #fffdf9; border: 1px solid var(--hairline); border-radius: 12px; padding: 0.75rem 1rem; font: inherit; color: var(--wp-ink); cursor: pointer; }
.rt-list-row:hover { border-color: var(--wp-rule-strong); }
.rt-pill { display: inline-block; font-size: 0.7rem; letter-spacing: 0.04em; padding: 0.15rem 0.6rem; border-radius: 999px; background: #f1ebe0; color: var(--deep-navy); white-space: nowrap; }
.rt-pill.rt-published { background: #e5ecdf; color: #2f4a2a; }
.rt-pill.rt-due { background: #f6e3dc; color: #7a2c1c; }
.rt-nowpill { background: var(--deep-navy); color: #fffdf9; }
.rt-form { display: grid; gap: 0.75rem; }
.rt-form label { display: grid; gap: 0.3rem; font-size: 0.85rem; color: var(--warm-gray); }
.rt-form input, .rt-form select, .rt-form textarea, .rt-person select { font: inherit; font-size: 0.95rem; color: var(--wp-ink); background: #fffdf9; border: 1px solid var(--hairline); border-radius: 8px; padding: 0.5rem 0.65rem; width: 100%; box-sizing: border-box; }
.rt-form textarea { resize: vertical; line-height: 1.5; }
.rt-form label.rt-check, .rt-check { display: flex; gap: 0.5rem; align-items: center; font-size: 0.9rem; color: var(--wp-ink); }
.rt-check input { width: auto; }
.rt-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.rt-row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.75rem; }
.rt-inline { display: flex; gap: 0.4rem; align-items: center; color: var(--warm-gray); }
.rt-form-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; margin-top: 0.4rem; }
.rt-danger { color: #8a2f1f !important; }
.rt-legend { margin: 0 0 0.8rem; }
.rt-day-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.6rem; }
.rt-day-head h3 { margin: 0; font-family: var(--serif); font-weight: 400; color: var(--deep-navy); font-size: 1.1rem; }
.rt-meter { font-size: 0.78rem; color: var(--warm-gray); }
.rt-meter.over { color: #8a2f1f; font-weight: 600; }
.rt-warn { margin: 0 0 0.75rem; padding: 0.55rem 0.8rem 0.55rem 1.8rem; background: #fbf3e6; border-left: 3px solid var(--wp-icon); border-radius: 0 8px 8px 0; font-size: 0.86rem; color: var(--wp-ink); }
.rt-warn li { margin: 0.15rem 0; text-wrap: pretty; }
.rt-blocks { display: grid; gap: 0.4rem; margin-bottom: 0.75rem; }
.rt-block { display: grid; grid-template-columns: 5.2rem 1fr; gap: 0.75rem; width: 100%; text-align: left; font: inherit; color: var(--wp-ink); background: #fffdf9; border: 1px solid var(--hairline); border-left: 3px solid var(--hairline); border-radius: 8px; padding: 0.55rem 0.75rem; cursor: pointer; }
.rt-block:hover { border-color: var(--wp-rule-strong); }
.rt-time { font-size: 0.85rem; font-variant-numeric: tabular-nums; color: var(--deep-navy); }
.rt-chip { display: inline-block; font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--warm-gray); margin-right: 0.45rem; }
.rt-chip.rt-deep { color: #8a2f1f; }
.k-teaching, .k-practice, .k-ritual { border-left-color: var(--deep-navy) !important; }
.k-meal, .k-tea { border-left-color: var(--wp-icon) !important; }
.k-bonding, .k-outing { border-left-color: #7d9474 !important; }
.k-rest, .k-free { border-left-color: #cbbfa8 !important; }
.rt-bform { background: var(--panel); border: 1px solid var(--wp-rule-strong); border-radius: 10px; padding: 0.9rem; margin: 0.2rem 0 0.4rem; }
.rt-fu { padding: 0.6rem 0; border-top: 1px solid var(--hairline); }
.rt-outline { margin: 0.5rem 0; padding-left: 1.2rem; font-size: 0.88rem; line-height: 1.55; }
.rt-person { display: flex; justify-content: space-between; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--hairline); flex-wrap: wrap; }
.rt-person:last-child { border-bottom: none; }
.rt-person-actions { display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap; }
.rt-person select { width: auto; padding: 0.35rem 0.5rem; font-size: 0.85rem; }
.rt-intake summary { cursor: pointer; font-size: 0.84rem; color: var(--deep-navy); margin-top: 0.3rem; }
.rt-dl { margin: 0.4rem 0 0; font-size: 0.86rem; }
.rt-dl dt { color: var(--warm-gray); font-size: 0.76rem; margin-top: 0.35rem; }
.rt-dl dd { margin: 0; }
.rt-pick { display: grid; gap: 0.4rem; margin: 0.6rem 0; padding: 0.75rem; border: 1px solid var(--hairline); border-radius: 10px; background: #fffdf9; }
.rt-upd { margin: 0 0 0.8rem; padding-bottom: 0.7rem; border-bottom: 1px solid var(--hairline); text-wrap: pretty; }
.rt-modal { display: flex; align-items: center; justify-content: center; }
.rt-modal .modal-content { max-width: 460px; }
/* participant view */
.rt-banner { display: block; width: 100%; text-align: left; font: inherit; color: var(--wp-ink); background: #fbf3e6; border: 1px solid #ecdcbf; border-left: 3px solid var(--wp-icon); border-radius: 0 10px 10px 0; padding: 0.7rem 1rem; margin: 0 0 1rem; cursor: pointer; text-wrap: pretty; }
.rt-offline { font-size: 0.85rem; color: #7a2c1c; background: #f6e3dc; border-radius: 8px; padding: 0.5rem 0.8rem; }
.rt-daypills { display: flex; gap: 0.4rem; overflow-x: auto; padding: 0 0 0.6rem; margin: 0 0 0.4rem; -webkit-overflow-scrolling: touch; }
.rt-daypill { flex: 0 0 auto; font: inherit; font-size: 0.82rem; line-height: 1.25; color: var(--warm-gray); background: #fffdf9; border: 1px solid var(--hairline); border-radius: 10px; padding: 0.45rem 0.8rem; cursor: pointer; text-align: center; }
.rt-daypill span { font-size: 0.72rem; }
.rt-daypill.on { color: var(--deep-navy); border-color: var(--deep-navy); font-weight: 600; }
.rt-tzline { margin: 0 0 0.8rem; }
.rt-pblock { display: grid; grid-template-columns: 4.8rem 1fr; gap: 0.75rem; padding: 0.75rem 0 0.75rem 0.75rem; border-left: 3px solid var(--hairline); margin-bottom: 0.5rem; }
.rt-pblock.now { background: #fbf8f2; border-radius: 0 10px 10px 0; }
.rt-pbody p { margin: 0.35rem 0; text-wrap: pretty; }
.rt-meet { font-size: 0.86rem; color: var(--deep-navy); }
.rt-pbody .btn { margin-top: 0.4rem; }
.rt-note { margin-top: 0.5rem; }
.rt-note summary { cursor: pointer; font-size: 0.82rem; color: var(--warm-gray); }
.rt-note textarea { width: 100%; box-sizing: border-box; margin-top: 0.35rem; font: inherit; font-size: 0.92rem; border: 1px solid var(--hairline); border-radius: 8px; padding: 0.5rem; background: #fffdf9; }
.rt-saved { font-size: 0.75rem; }
.rt-letter { line-height: 1.65; text-wrap: pretty; }
.rt-pack, .rt-roster { margin: 0.4rem 0 0; padding-left: 1.1rem; line-height: 1.6; }
.rt-ready .btn { margin-top: 0.6rem; }
@media (max-width: 560px) {
  .rt-row2, .rt-row3 { grid-template-columns: 1fr; }
  .rt-block, .rt-pblock { grid-template-columns: 4.2rem 1fr; gap: 0.5rem; }
  .rt-head-actions .btn { width: 100%; }
}
.rt-day-head h3, .rt-day-head h3 .rt-quiet { text-transform: none; letter-spacing: normal; }
.rt-h3 { text-transform: none; letter-spacing: normal; }

/* =====================================================================
   Retreat Planner v2 (2026-11-08): phases, onboarding, brief, crew, budget.
   Palette only; nothing new.
   ===================================================================== */
.rt-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0; margin: 0 0 1rem; counter-reset: rtstep; }
.rt-steps li { counter-increment: rtstep; font-size: 0.76rem; color: var(--warm-gray); padding: 0.25rem 0.7rem; border: 1px solid var(--hairline); border-radius: 999px; background: #fffdf9; }
.rt-steps li::before { content: counter(rtstep) ". "; }
.rt-steps li.done { color: var(--deep-navy); border-color: var(--wp-rule-strong); }
.rt-steps li.done::before { content: "\2713  "; }
.rt-steps li.now { background: var(--deep-navy); border-color: var(--deep-navy); color: #fffdf9; }
.rt-tabs { flex-wrap: wrap; }
.rt-wiz { max-width: 620px; margin: 0 auto; }
.rt-wiz h2 { margin: 0.6rem 0 0.3rem; }
.rt-progress, .rt-bar { height: 5px; background: #f1ebe0; border-radius: 5px; overflow: hidden; margin: 0.3rem 0 0.8rem; }
.rt-progress span, .rt-bar span { display: block; height: 100%; background: var(--wp-icon); }
.rt-radio { display: flex; gap: 0.6rem; align-items: center; padding: 0.7rem 0.9rem; border: 1px solid var(--hairline); border-radius: 10px; background: #fffdf9; color: var(--wp-ink) !important; font-size: 0.95rem !important; cursor: pointer; }
.rt-radio input { width: auto; }
.rt-radio:has(input:checked) { border-color: var(--deep-navy); }
.rt-crewpick { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 0.5rem; }
.rt-form label.rt-inline-l { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; padding: 0.4rem 0.6rem; border: 1px solid var(--hairline); border-radius: 10px; background: #fffdf9; color: var(--wp-ink); font-size: 0.9rem; }
.rt-form label.rt-inline-l input { width: 4.2rem; }
.rt-count { font-family: var(--serif); color: var(--deep-navy); font-size: 1.05rem; margin: 0.2rem 0; }
.rt-dates { display: grid; gap: 0; border-top: 1px solid var(--hairline); margin: 0.6rem 0; }
.rt-date { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--hairline); flex-wrap: wrap; }
.rt-date label { display: block; font-size: 0.9rem; color: var(--wp-ink); }
.rt-date input { font: inherit; font-size: 0.9rem; border: 1px solid var(--hairline); border-radius: 8px; padding: 0.35rem 0.5rem; background: #fffdf9; color: var(--wp-ink); }
.rt-date > span:last-child { text-align: right; }
.rt-slug input { flex: 1; min-width: 8rem; }
.rt-notion { flex-wrap: wrap; }
.rt-notion input { flex: 1; min-width: 12rem; font: inherit; font-size: 0.95rem; border: 1px solid var(--hairline); border-radius: 8px; padding: 0.5rem 0.65rem; background: #fffdf9; color: var(--wp-ink); }
.rt-check.rt-auto { color: var(--warm-gray); }
.rt-brief ul { margin: 0; padding-left: 1.2rem; line-height: 1.6; }
.rt-brief li { margin: 0.35rem 0; text-wrap: pretty; }
.rt-src { font-size: 0.76rem; color: var(--wp-icon); margin-left: 0.25rem; white-space: nowrap; }
.rt-cols { columns: 2 14rem; }
.rt-warn-line { color: #8a2f1f; font-size: 0.86rem; }
.rt-bud-row { align-items: center; margin-bottom: 0.45rem; }
.rt-bud-row input, .rt-bud-row select { font: inherit; font-size: 0.92rem; border: 1px solid var(--hairline); border-radius: 8px; padding: 0.45rem 0.6rem; background: #fffdf9; color: var(--wp-ink); width: 100%; box-sizing: border-box; }
.rt-bud-out { margin: 0.6rem 0; padding: 0.8rem 1rem; background: var(--panel); border: 1px solid var(--hairline); border-radius: 10px; }
.rt-table { border-collapse: collapse; width: 100%; margin-top: 0.6rem; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.rt-table th, .rt-table td { text-align: left; padding: 0.4rem 0.5rem; border-bottom: 1px solid var(--hairline); }
.rt-table th { font-weight: 500; color: var(--warm-gray); font-size: 0.8rem; }
.rt-neg { color: #8a2f1f; }
.rt-fs { border: 1px solid var(--hairline); border-radius: 10px; padding: 0.6rem 0.8rem; display: grid; gap: 0.4rem; }
.rt-fs legend { font-size: 0.85rem; color: var(--warm-gray); padding: 0 0.3rem; }
.rt-pill.rt-ph-interest, .rt-pill.rt-ph-filling { background: #e5ecdf; color: #2f4a2a; }
.rt-pill.rt-ph-live { background: var(--deep-navy); color: #fffdf9; }
.rt-pill.rt-ph-cancelled { background: #f6e3dc; color: #7a2c1c; }
@media (max-width: 640px) {
  .rt-row2, .rt-row3 { grid-template-columns: 1fr; }
  .rt-date > span:last-child { text-align: left; }
}
