/* Vessel Development — site styles
   Brand: white, tan, sage, forest green, dark brown.
   Type: EB Garamond (headings), Hanken Grotesk (body). */

:root {
  --white: #FFFFFF;
  --tan: #DBD1C2;
  --sage: #C2CCC7;
  --forest: #3D4435;
  --brown: #1D0F02;
  --paper: #FBF9F6;
  --line: #EDE8E0;
  --error: #8A2A12;
  --serif: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 28px;
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--brown);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--forest); }
a:hover { color: var(--brown); }

:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(44px, 6.4vw, 88px); letter-spacing: -0.01em; }
h2 { font-size: clamp(34px, 4.4vw, 56px); }
h3 { font-size: 30px; }
p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--forest); color: var(--white); padding: 12px 18px; border-radius: 12px;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 16px; color: var(--white); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Header ---------- */

.site-header { border-bottom: 1px solid var(--tan); background: var(--white); position: relative; z-index: 10; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }

.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--brown); }
.brand-word { font-family: var(--serif); font-weight: 500; font-size: 26px; letter-spacing: 0.18em; }
.brand-sub { font-size: 14px; color: var(--forest); letter-spacing: 0.04em; }

.nav-panel { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 15px; }
.nav-links a { color: var(--forest); text-decoration: none; padding: 6px 0; }
.nav-links a[aria-current="page"] { color: var(--brown); font-weight: 600; border-bottom: 2px solid var(--forest); }
.nav-links a:hover { color: var(--brown); }
.nav-actions { display: flex; gap: 12px; }

.menu-toggle {
  display: none; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--brown); background: var(--white); color: var(--brown);
  font: 600 15px var(--sans); cursor: pointer;
}

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .nav { flex-wrap: wrap; }
  .nav-panel {
    display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 20px;
    padding: 12px 0 8px;
  }
  .nav-panel.is-open { display: flex; }
  .nav-links { flex-direction: column; gap: 4px; font-size: 18px; }
  .nav-links a { display: block; padding: 10px 0; }
  .nav-links a[aria-current="page"] { border-bottom: none; }
  .nav-actions { flex-direction: column; }
  .nav-actions .btn { justify-content: center; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: 600 16px var(--sans); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .15s, color .15s;
}
.btn-lg { min-height: 54px; padding: 0 30px; font-size: 17px; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-primary { background: var(--forest); color: var(--white); }
.btn-primary:hover { background: var(--brown); color: var(--white); }
.btn-outline { border-color: var(--brown); color: var(--brown); background: transparent; }
.btn-outline:hover { background: var(--brown); color: var(--white); }
.btn-light { background: var(--white); color: var(--brown); }
.btn-light:hover { background: var(--tan); color: var(--brown); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Sections ---------- */

.section { padding: 120px 0; }
.section-sm { padding: 88px 0; }
.bg-tan { background: var(--tan); }
.bg-sage { background: var(--sage); }
.bg-paper { background: var(--paper); }

.eyebrow {
  font-size: 14px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--forest); margin-bottom: 14px;
}
.lede { font-size: 20px; line-height: 1.6; color: var(--forest); max-width: 40ch; }
.section-head { margin-bottom: 56px; }
.section-head .lede { margin-top: 16px; max-width: 56ch; }
.split-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 56px; }

.prose { max-width: 66ch; display: flex; flex-direction: column; gap: 20px; font-size: 19px; line-height: 1.7; }

/* ---------- Hero ---------- */

.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; padding: 104px 0 120px; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero-copy em { font-style: italic; color: var(--forest); }
.hero-media { flex: 1 1 400px; min-width: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.page-hero { padding: 96px 0 72px; }
.page-hero h1 { font-size: clamp(44px, 5.6vw, 76px); max-width: 16ch; }
.page-hero .lede { margin-top: 20px; max-width: 52ch; }

/* ---------- Photo placeholders (swap for real photos) ---------- */

.photo {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 32px; background: var(--tan); color: var(--forest); font-size: 15px; line-height: 1.5;
  border-radius: var(--radius); overflow: hidden;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-arch { border-radius: 240px 240px 28px 28px; height: 540px; }
.photo.has-img { padding: 0; background: var(--brown); }
.photo-arch img { object-position: 50% 30%; }
.photo-wide { height: 420px; }
.bg-tan .photo { background: var(--white); }

/* ---------- Two-column blocks ---------- */

.two-col { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.two-col > * { flex: 1 1 380px; min-width: 0; }
.two-col.center { align-items: center; }
.two-col .wide { flex: 2 1 480px; }

/* ---------- Steps ---------- */

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 48px; }
.steps li { border-top: 1px solid var(--forest); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.step-num { font-family: var(--serif); font-style: italic; font-size: 44px; color: var(--forest); line-height: 1; }
.steps h3 { font-family: var(--sans); font-size: 22px; font-weight: 600; }
.steps p { color: var(--forest); }

/* ---------- Package cards ---------- */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; align-items: stretch; }
.card { background: var(--white); border-radius: var(--radius); padding: 40px; display: flex; flex-direction: column; gap: 18px; }
.card h3 { font-size: 32px; }
.card .price { font-size: 40px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; }
.card .note { font-size: 15px; color: var(--forest); }
.card ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.55; color: var(--forest); }
.card .btn { margin-top: auto; }
.card-featured { background: var(--forest); color: var(--white); }
.card-featured ul, .card-featured .note { color: var(--white); }
.tag {
  align-self: flex-start; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; background: var(--tan); color: var(--brown);
}
.card-featured .tag { background: var(--sage); }

.package { background: var(--white); border-radius: var(--radius); padding: 48px; display: flex; flex-wrap: wrap; gap: 40px; }
.package + .package { margin-top: 24px; }
.package-summary { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.package-summary .price { font-size: 44px; font-weight: 600; line-height: 1.1; }
.package-summary p { color: var(--forest); }
.package-details { flex: 2 1 420px; min-width: 0; }
.package-details ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px 28px; }
.package-details li { padding-left: 28px; position: relative; line-height: 1.5; }
.package-details li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px;
  border-left: 2px solid var(--forest); border-bottom: 2px solid var(--forest); transform: rotate(-45deg);
}
.package-featured { background: var(--forest); color: var(--white); }
.package-featured .package-summary p, .package-featured .package-details li { color: var(--white); }
.package-featured .package-details li::before { border-color: var(--white); }

.table-wrap { overflow-x: auto; background: var(--white); border-radius: var(--radius); padding: 12px 28px; }
table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
th, td { text-align: left; padding: 16px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--forest); }
tr:last-child td { border-bottom: none; }
td:last-child, th:last-child { text-align: right; white-space: nowrap; }

/* ---------- Tracks ---------- */

.tracks { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.track { display: flex; align-items: center; gap: 20px; padding: 20px; border-radius: 24px; background: var(--tan); }
.track-art { flex: 0 0 88px; height: 88px; border-radius: 16px; background: var(--white); }
.bg-tan .track { background: var(--white); }
.bg-tan .track-art { background: var(--tan); }
.track-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.track-title { font-size: 18px; font-weight: 600; }
.track-artist { font-size: 15px; color: var(--forest); }
.play {
  flex: 0 0 48px; width: 48px; height: 48px; border-radius: 999px; border: none;
  background: var(--forest); color: var(--white); display: flex; align-items: center; justify-content: center; text-decoration: none;
}
.play:hover { background: var(--brown); color: var(--white); }

.quote { background: var(--white); border-radius: var(--radius); padding: 40px; display: flex; flex-direction: column; gap: 18px; }
.quote p { font-family: var(--serif); font-size: 26px; line-height: 1.35; }
.quote cite { font-style: normal; font-size: 15px; color: var(--forest); font-weight: 600; }

/* ---------- Team ---------- */

.team-grid { max-width: 760px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 48px 40px; }
.team-grid .person { flex: 0 1 340px; min-width: 220px; }
.person { display: flex; flex-direction: column; gap: 12px; }
.portrait { aspect-ratio: 4 / 5; border-radius: 200px 200px 24px 24px; background: var(--sage); overflow: hidden; }
.portrait.alt { background: var(--tan); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.person-name { font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.person-role { font-size: 15px; color: var(--forest); }
.person-bio { font-size: 16px; line-height: 1.6; }

.roster { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.roster li { background: var(--white); border-radius: 20px; padding: 20px 22px; display: flex; flex-direction: column; gap: 2px; }
.roster strong { font-size: 17px; }
.roster span { font-size: 15px; color: var(--forest); }

/* ---------- Resources ---------- */

.resource-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.resource { background: var(--white); border: 1px solid var(--tan); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.resource h3 { font-family: var(--sans); font-size: 20px; font-weight: 600; }
.resource .use { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--forest); }
.resource p { font-size: 16px; color: var(--forest); }
.resource a { font-weight: 600; margin-top: auto; }

/* ---------- CTA band ---------- */

.cta { padding: 0 0 120px; }
.cta-band {
  background: var(--forest); color: var(--white); border-radius: 32px; padding: 96px 32px;
  display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center;
}
.cta-band h2 { font-size: clamp(40px, 5.4vw, 68px); }
.cta-band p { font-size: 19px; max-width: 44ch; }

/* ---------- Forms ---------- */

.form-card { background: var(--white); border-radius: var(--radius); padding: 44px; }
.form { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend { font-size: 15px; font-weight: 600; }
.field .hint { font-size: 14px; color: var(--forest); font-weight: 400; }
.field input, .field textarea, .field select {
  min-height: 52px; padding: 12px 18px; border: 1px solid var(--tan); border-radius: 14px;
  background: var(--paper); font: 16px var(--sans); color: var(--brown); width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { border-color: var(--forest); outline: 2px solid var(--forest); outline-offset: 0; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
fieldset.field { border: none; margin: 0; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 999px;
  border: 1px solid var(--tan); background: var(--paper); font-size: 15px; font-weight: 500; cursor: pointer;
}
.choice input:checked + span { background: var(--forest); border-color: var(--forest); color: var(--white); font-weight: 600; }
.choice input:focus-visible + span { outline: 3px solid var(--forest); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 16px; font-weight: 600; min-height: 1.6em; }
.form-status.error { color: var(--error); }
.form-success { display: flex; flex-direction: column; gap: 16px; }
.form-success h2 { font-size: 44px; }

.notice { background: var(--sage); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }

/* ---------- Login ---------- */

.login { display: flex; flex-wrap: wrap; min-height: calc(100vh - 89px); }
.login-art {
  flex: 1 1 460px; min-width: 0; background: var(--forest); color: var(--white); padding: 56px 48px;
  display: flex; flex-direction: column; justify-content: center; gap: 28px;
}
.login-art .photo { width: 240px; max-width: 100%; height: 300px; border-radius: 140px 140px 24px 24px; background: var(--sage); color: var(--brown); }
.login-art p.big { font-family: var(--serif); font-size: clamp(34px, 3.6vw, 52px); line-height: 1.08; max-width: 14ch; }
.login-main { flex: 1 1 460px; min-width: 0; padding: 56px 24px; display: flex; align-items: center; justify-content: center; }
.login-box { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 24px; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--tan); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-top: 56px; padding-bottom: 40px; font-size: 15px; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; max-width: 320px; }
.footer-brand .brand-word { font-size: 22px; }
.footer-brand p { color: var(--forest); }
.footer-cols { display: flex; flex-wrap: wrap; gap: 56px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h2 { font-family: var(--sans); font-size: 15px; font-weight: 600; }
.footer-col a { color: var(--forest); text-decoration: none; }
.footer-col a:hover { color: var(--brown); text-decoration: underline; }
.footer-base { border-top: 1px solid var(--line); padding-top: 20px; padding-bottom: 32px; font-size: 14px; color: var(--forest); }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 88px 0; }
  .hero { padding: 64px 0 88px; gap: 40px; }
  .photo-arch { height: 420px; }
  .card, .package, .form-card, .quote { padding: 28px; }
  .cta-band { padding: 64px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Get a Quote section ---------- */
.quote-cta { background: var(--forest); color: var(--white); text-align: center; }
.quote-cta .eyebrow { color: var(--sage); }
.quote-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.quote-cta h2 { color: var(--white); max-width: 22ch; }
.quote-lede { font-size: 20px; line-height: 1.6; color: var(--tan); max-width: 46ch; margin: 0; }
.btn-xl { min-height: 72px; padding: 0 56px; font-size: 22px; margin-top: 12px; }
@media (max-width: 600px) { .btn-xl { width: 100%; justify-content: center; } }

/* =========================================================
   Sign-in and set-password pages
   ========================================================= */
.login-sub { font-size: 18px; color: var(--forest); margin-top: 10px; }
.login-box h1 + .login-sub { margin-bottom: 4px; }
.notice-line { background: var(--sage); border-radius: 16px; padding: 14px 18px; font-size: 15px; font-weight: 500; margin-top: 16px; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.link-btn { background: none; border: none; padding: 0; min-height: 32px; color: var(--forest); font: 600 14px var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--brown); }
.pw-wrap { display: flex; align-items: center; border: 1px solid var(--tan); border-radius: 14px; background: var(--paper); }
.pw-wrap input { border: none !important; background: transparent !important; flex: 1 1 auto; min-width: 0; }
.pw-wrap:focus-within { outline: 2px solid var(--forest); border-color: var(--forest); }
.pw-wrap input:focus { outline: none !important; }
.pw-toggle { flex: 0 0 auto; min-height: 44px; padding: 0 16px; border: none; background: transparent; color: var(--forest); font: 600 14px var(--sans); cursor: pointer; }
.login-box .form { margin-top: 20px; }
.login-box .form .btn-lg { align-self: stretch; }
.login-foot { border-top: 1px solid var(--tan); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--forest); }
.login-foot strong { color: var(--brown); }

/* =========================================================
   Scheduling portal
   ========================================================= */
.portal-body { background: var(--paper); }
.portal { display: flex; flex-wrap: wrap; min-height: 100vh; }
.p-nav {
  flex: 1 1 230px; min-width: 0; background: var(--white); border-right: 1px solid var(--tan);
  padding: 28px 20px; display: flex; flex-direction: column; gap: 28px;
}
.p-nav-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.p-brand { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--brown); padding: 0 12px; }
.p-brand .brand-word { font-size: 24px; }
.p-brand-sub { font-size: 13px; color: var(--forest); }
.p-menu-toggle { display: none; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--brown); background: var(--white); color: var(--brown); font: 600 15px var(--sans); cursor: pointer; }
.p-links { display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.p-links a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 12px; color: var(--forest); text-decoration: none; }
.p-links a:hover { background: var(--paper); color: var(--brown); }
.p-links a[aria-current="page"] { background: var(--forest); color: var(--white); font-weight: 600; }
.p-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--error); color: var(--white); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.p-me { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.p-me-card { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: var(--sage); }
.p-me-card > div { display: flex; flex-direction: column; min-width: 0; }
.p-me-card strong { font-size: 15px; }
.p-me-card span:last-child { font-size: 13px; }
.p-me a { padding: 0 12px; font-size: 14px; font-weight: 600; }
.avatar { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 999px; background: var(--forest); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; }
.avatar.sm { flex-basis: 36px; width: 36px; height: 36px; font-size: 13px; }
.avatar.tan { background: var(--tan); color: var(--brown); }
.p-main { flex: 999 1 640px; min-width: 0; padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.p-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.p-head h1 { font-size: clamp(34px, 4vw, 44px); line-height: 1.05; }
.p-head p { margin-top: 8px; color: var(--forest); }
.p-card { background: var(--white); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.p-card h2.p-label, .p-label { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--forest); }
.p-card .p-intro { font-size: 15px; color: var(--forest); margin-top: -8px; }
.p-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.p-row > * { flex: 1 1 420px; }
.p-loading { color: var(--forest); padding: 8px 0; }
.p-error { color: var(--error); font-weight: 600; }
.p-empty { padding: 18px; border-radius: 16px; background: var(--paper); color: var(--forest); font-size: 15px; }
.p-empty-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.p-empty-page .p-card { max-width: 520px; gap: 18px; }
.p-empty-page h1 { font-size: 40px; }
.p-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50;
  max-width: calc(100vw - 32px); padding: 14px 22px; border-radius: 999px;
  background: var(--forest); color: var(--white); font-size: 15px; font-weight: 600; box-shadow: 0 8px 24px rgba(29, 15, 2, .18);
}
.p-toast.is-error { background: var(--error); }
.btn-quiet { background: var(--paper); color: var(--brown); border-color: transparent; }
.btn-quiet:hover { background: var(--line); color: var(--brown); }
.btn-danger { border-color: var(--error); color: var(--error); background: transparent; }
.btn-danger:hover { background: var(--error); color: var(--white); }
.btn-danger-solid { background: var(--error); color: var(--white); }
.btn-danger-solid:hover { background: var(--brown); color: var(--white); }
.p-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* Calendar */
.cal-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.cal-head h2 { font-size: 32px; }
.filters { display: flex; flex-direction: column; gap: 8px; }
.filter-label { font-size: 13px; font-weight: 600; color: var(--forest); margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--tan); background: var(--white); color: var(--brown); font: 600 14px var(--sans); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--white); }
.chip.soft { border-color: transparent; background: var(--paper); font-weight: 500; }
.chip.soft[aria-pressed="true"] { background: var(--tan); color: var(--brown); font-weight: 600; }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.week { display: grid; grid-template-columns: repeat(7, minmax(118px, 1fr)); gap: 10px; min-width: 880px; }
.people-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.col { background: var(--paper); border-radius: 18px; padding: 12px; display: flex; flex-direction: column; gap: 8px; min-height: 240px; }
.col-head { font-size: 14px; font-weight: 600; padding: 2px 4px 8px; border-bottom: 1px solid var(--tan); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.col-head .today { font-size: 11.5px; font-weight: 600; background: var(--forest); color: var(--white); border-radius: 999px; padding: 1px 8px; }
.person-head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--tan); }
.person-head > div { display: flex; flex-direction: column; }
.person-head small { font-size: 13px; color: var(--forest); }
.sess {
  text-align: left; width: 100%; border: 1px solid var(--line); background: var(--white); border-radius: 14px;
  padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; font: inherit; color: var(--brown); cursor: pointer;
}
.sess:hover { border-color: var(--forest); }
.sess.open { border: 2px dashed var(--forest); background: var(--paper); }
.sess .t { font-size: 12px; font-weight: 600; color: var(--forest); font-variant-numeric: tabular-nums; }
.sess .ty { font-size: 15px; font-weight: 600; line-height: 1.3; }
.sess .pr, .sess .who { font-size: 13px; color: var(--forest); line-height: 1.35; }
.sess .who.alert { color: var(--error); font-weight: 600; }
.day-tag { font-size: 13px; font-weight: 600; color: var(--forest); margin-top: 4px; }
.free { padding: 12px; border-radius: 12px; background: var(--sage); font-weight: 600; font-size: 14px; }

/* Lists of sessions */
.s-list { display: flex; flex-direction: column; gap: 12px; }
.s-item { border-radius: 18px; background: var(--paper); padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.s-item.open { border: 2px dashed var(--forest); }
.s-item .when { font-size: 14px; font-weight: 600; color: var(--forest); font-variant-numeric: tabular-nums; }
.s-item h3 { font-size: 26px; line-height: 1.15; }
.s-item .meta { font-size: 15px; color: var(--forest); }
.s-item .notes { font-size: 15px; background: var(--white); border-radius: 12px; padding: 10px 14px; }
.s-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pill { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; background: var(--sage); font-size: 13px; font-weight: 600; }
.pill.tan { background: var(--tan); }
.pill.alert { background: var(--error); color: var(--white); }
.confirm-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--white); }
.req { background: var(--white); border-radius: 14px; padding: 14px 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.req q { display: block; font-style: italic; color: var(--forest); margin-top: 2px; }
.who-line { display: flex; align-items: center; gap: 12px; }
.who-line > div { display: flex; flex-direction: column; }
.who-line small { font-size: 13px; color: var(--forest); }

/* Forms inside the portal */
.p-card .form { gap: 16px; }
.p-card .field input, .p-card .field select, .p-card .field textarea { min-height: 46px; padding: 10px 14px; border-radius: 12px; font-size: 15px; }
.p-card .field textarea { min-height: 84px; }
.p-card .field label, .p-card .field legend { font-size: 14px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--tan); font-size: 14px; font-weight: 500; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--forest); margin: 0; }
.form-status.ok { color: var(--forest); }

/* People table */
.table-scroll { overflow-x: auto; position: relative; }
.p-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.p-table th { text-align: left; font-size: 12.5px; letter-spacing: 0.08em; padding: 10px 10px; border-bottom: 1px solid var(--tan); }
.p-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.p-table td:last-child, .p-table th:last-child { text-align: right; }
.p-table .muted { color: var(--forest); font-size: 14px; }
.p-table tr.inactive td { opacity: .55; }

/* Dialog */
dialog.p-dialog { border: none; border-radius: 24px; padding: 0; width: min(580px, calc(100vw - 32px)); max-height: calc(100vh - 48px); color: var(--brown); }
dialog.p-dialog::backdrop { background: rgba(29, 15, 2, 0.45); }
.p-dialog-body { padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.p-dialog-body h2 { font-size: 32px; line-height: 1.1; }
.p-dialog-body hr { border: none; border-top: 1px solid var(--line); margin: 2px 0; width: 100%; }
.dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 15px; margin: 0; }
.dl dt { color: var(--forest); }
.dl dd { margin: 0; font-weight: 500; }

/* Artist view */
.a-header { background: var(--white); border-bottom: 1px solid var(--tan); }
.a-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.a-main { max-width: 1000px; margin: 0 auto; padding: 48px 24px 80px; display: flex; flex-direction: column; gap: 24px; }
.a-session { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 26px; border-radius: 24px; background: var(--white); }
.a-session .info { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.a-session .when { font-size: 14px; font-weight: 600; color: var(--forest); }
.a-session h2 { font-size: 30px; }
.a-session .notes { flex-basis: 100%; font-size: 15px; color: var(--forest); }

@media (max-width: 900px) {
  .p-nav { flex-basis: 100%; border-right: none; border-bottom: 1px solid var(--tan); padding: 16px; gap: 12px; }
  .p-menu-toggle { display: inline-flex; align-items: center; }
  .p-links, .p-me { display: none; }
  .p-links.is-open { display: flex; }
  .p-links.is-open ~ .p-me { display: flex; }
  .p-main { padding: 20px 16px 40px; }
  .p-card { padding: 20px; }
  .p-row > * { flex-basis: 100%; }
}
/* On phones the week becomes a list of the days that have sessions */
@media (max-width: 700px) {
  .week { grid-template-columns: 1fr; min-width: 0; }
  .week .col { min-height: 0; }
  .week .col.empty { display: none; }
  .cal-head h2 { font-size: 28px; }
}

/* Everyone in the room */
.sess .room { font-size: 12px; font-weight: 600; color: var(--forest); background: var(--sage); border-radius: 999px; padding: 1px 8px; align-self: flex-start; margin-top: 3px; }
.room { display: flex; flex-direction: column; gap: 12px; }
.room-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.room-list li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 4px 4px 14px; border-radius: 999px; background: var(--sage); font-size: 14px; }
.room-x { width: 32px; height: 32px; border-radius: 999px; border: none; background: transparent; color: var(--brown); font-size: 18px; line-height: 1; cursor: pointer; }
.room-x:hover { background: var(--white); }
.room-empty { font-size: 14px; color: var(--forest); }
.room-add { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) auto; gap: 10px; align-items: end; }
.room-add .btn { min-height: 46px; }
@media (max-width: 560px) { .room-add { grid-template-columns: 1fr; } }
.muted { color: var(--forest); font-size: 14px; font-weight: 400; }
.role-tag { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; background: var(--tan); font-size: 12.5px; font-weight: 600; }
.in-room { font-size: 14px; color: var(--forest); }
.in-room strong { color: var(--brown); font-weight: 600; }
.a-team { display: flex; flex-wrap: wrap; gap: 14px 22px; flex: 1 1 100%; order: 3; }
.a-session > .btn { order: 4; }
.a-session .notes { order: 5; }
/* Artists and their projects */
#project-list { display: flex; flex-direction: column; gap: 14px; }
.artist-block { background: var(--paper); border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.artist-block.quiet { background: transparent; padding: 0; }
.artist-head { display: flex; align-items: center; gap: 12px; }
.artist-head > div { display: flex; flex-direction: column; }
.proj-list { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--tan); display: flex; flex-direction: column; gap: 8px; width: 100%; box-sizing: border-box; }
.proj-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; background: var(--white); border-radius: 14px; padding: 10px 12px 10px 16px; }
.proj-row > div:first-child { display: flex; flex-direction: column; }
.proj-list .form, .proj-add { background: var(--white); border-radius: 14px; padding: 14px; width: 100%; box-sizing: border-box; }
.proj-list .confirm-box { width: 100%; box-sizing: border-box; }

/* Operations */
.add-box { margin-top: 18px; border-radius: 18px; background: var(--paper); padding: 4px 18px; }
.add-box > summary { cursor: pointer; list-style: none; display: inline-flex; margin: 14px 0; }
.add-box > summary::-webkit-details-marker { display: none; }
.add-box[open] { padding-bottom: 18px; }
.oc-day { margin-top: 18px; }
.oc-day h3 { font: 600 15px var(--sans); color: var(--forest); margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.oc-day .today { font-size: 11.5px; background: var(--forest); color: var(--white); border-radius: 999px; padding: 1px 8px; }
.oc-item { width: 100%; text-align: left; display: grid; grid-template-columns: 130px 1fr; gap: 2px 14px; align-items: baseline; border: 1px solid var(--line); background: var(--white); border-radius: 14px; padding: 12px 14px; margin-bottom: 8px; font: inherit; color: var(--brown); cursor: pointer; }
.oc-item:hover { border-color: var(--forest); }
.oc-item .t { font-size: 13px; font-weight: 600; color: var(--forest); font-variant-numeric: tabular-nums; }
.oc-item .ty { font-weight: 600; }
.oc-item .pr { grid-column: 2; font-size: 13px; color: var(--forest); }
.board { display: grid; grid-template-columns: repeat(6, minmax(138px, 1fr)); gap: 10px; min-width: 880px; }
.board-col { min-height: 200px; }
.count-pill { font-size: 12px; background: var(--white); border-radius: 999px; padding: 0 8px; min-width: 24px; text-align: center; }
.sess.prospect .t { font-weight: 500; }
.note-list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.note-list li { background: var(--paper); border-radius: 14px; padding: 12px 16px; }
.note-meta { font-size: 13px; color: var(--forest); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.note-meta .link-btn { margin-left: auto; min-height: 24px; font-size: 13px; }
.note-body { margin: 4px 0 0; white-space: pre-wrap; }

/* Hours */
.big-num { font: 500 56px/1 var(--serif); margin: 6px 0 18px; font-variant-numeric: tabular-nums; }
.h-breakdown { margin-bottom: 8px; }
.h-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px 28px; }
.bars { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bars li { display: grid; grid-template-columns: minmax(90px, 40%) 1fr auto; align-items: center; gap: 10px; font-size: 14px; }
.bar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-track { height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--forest); border-radius: 999px; min-width: 2px; }
.bar-num { font-weight: 600; font-variant-numeric: tabular-nums; }
.h-table td { font-variant-numeric: tabular-nums; }
.h-detail td, .h-detail td:last-child { background: var(--paper); padding: 18px; text-align: left; }
.h-total td { border-top: 2px solid var(--tan); }
@media (max-width: 640px) {
  .oc-item { grid-template-columns: 1fr; }
  .oc-item .pr { grid-column: 1; }
  .big-num { font-size: 44px; }
}

/* Artist page: projects and month calendar */
.a-card { background: var(--white); border-radius: 24px; padding: 24px 26px; display: flex; flex-direction: column; gap: 16px; }
.a-projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.a-project { text-align: left; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--paper); font: inherit; color: var(--brown); cursor: pointer; }

.a-project[aria-pressed="true"] { border: 2px solid var(--forest); }
.a-project .name { font: 500 26px/1.15 var(--serif); }
.a-project .meta { font-size: 14px; color: var(--forest); }
.a-project .hint { font-size: 12.5px; font-weight: 600; color: var(--forest); margin-top: 4px; }
.a-project.done { opacity: .75; }
.month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.m-head { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--forest); padding: 0 6px 4px; }
.m-day { min-height: 96px; display: flex; flex-direction: column; align-items: stretch; gap: 3px; text-align: left; padding: 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); font: inherit; color: var(--brown); cursor: pointer; overflow: hidden; }
.m-day:hover { border-color: var(--forest); }
.m-day.out { background: transparent; border-style: dashed; color: #8d8a83; }
.m-day .n { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.m-day.today .n { background: var(--forest); color: var(--white); border-radius: 999px; padding: 0 7px; align-self: flex-start; }
.m-day.sel { border: 2px solid var(--forest); padding: 5px; }
.m-sess { font-size: 12px; line-height: 1.3; background: var(--sage); border-radius: 6px; padding: 2px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-sess b { font-weight: 600; }
.m-more { font-size: 11.5px; color: var(--forest); font-weight: 600; }
.m-dots { display: none; gap: 3px; flex-wrap: wrap; }
.m-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--forest); }
.a-day h3 { font: 600 16px var(--sans); margin: 4px 0 10px; }
.a-day .a-session { background: var(--paper); }
.a-session.past { opacity: .8; }
@media (max-width: 700px) {
  .a-card { padding: 20px 16px; }
  .month { gap: 4px; }
  .m-day { min-height: 52px; padding: 5px; align-items: center; }
  .m-day.sel { padding: 4px; }
  .m-head { text-align: center; padding: 0 0 4px; letter-spacing: 0; }
  .m-day .m-sess, .m-day .m-more { display: none; }
  .m-day .m-dots { display: flex; justify-content: center; }
  .m-day.today .n { align-self: center; }
}

/* Messages */
.chat-main { padding: 0; gap: 0; }
.chat { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); height: 100vh; min-height: 520px; }
.chat-list { border-right: 1px solid var(--tan); background: var(--paper); display: flex; flex-direction: column; min-height: 0; }
.chat-list-head { padding: 24px 18px 12px; display: flex; flex-direction: column; gap: 12px; }
.chat-list-head h1 { font-size: 40px; }
#ch-threads { overflow-y: auto; padding: 0 10px 24px; flex: 1; }
.ch-group { margin-top: 14px; }
.ch-group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.ch-head { font: 600 13px var(--sans); letter-spacing: .04em; color: var(--brown); padding: 6px 8px; margin: 0; }
.ch-sec { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--forest); padding: 10px 8px 2px; }
.ch-item { width: 100%; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 8px; align-items: center; text-align: left; padding: 8px 10px; min-height: 44px; border: 0; border-radius: 12px; background: transparent; font: inherit; font-size: 15px; color: var(--brown); cursor: pointer; }
.ch-item:hover { background: var(--white); }
.ch-item.on { background: var(--white); box-shadow: inset 3px 0 0 var(--forest); }
.ch-item.unread .ch-label { font-weight: 600; }
.ch-item .ch-label { grid-column: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-item .ch-sub { grid-column: 1; grid-row: 2; font-size: 12.5px; color: var(--forest); }
.ch-item .p-count { grid-column: 2; grid-row: 1 / span 2; }
.ch-add { display: flex; gap: 6px; padding: 4px 6px; }
.ch-add input { flex: 1; min-width: 0; min-height: 36px; border: 1px dashed var(--tan); background: transparent; border-radius: 10px; padding: 4px 10px; font: inherit; font-size: 14px; }
.ch-add input:focus { border-style: solid; outline: 2px solid var(--forest); outline-offset: 1px; background: var(--white); }
.stage { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: var(--line); color: var(--brown); }
.stage-production { background: var(--tan); }
.stage-recording, .stage-mixing { background: var(--sage); }
.stage-mastering { background: #A9B7AF; }
.stage-done { background: var(--forest); color: var(--white); }
.chat-pane { display: flex; flex-direction: column; min-height: 0; min-width: 0; background: var(--white); }
.chat-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 20px 24px 14px; border-bottom: 1px solid var(--line); }
.chat-title { flex: 1 1 260px; min-width: 0; }
.chat-title h2 { font-size: 30px; line-height: 1.15; }
.chat-title p { margin: 2px 0 0; font-size: 14px; color: var(--forest); }
.ch-back { display: none; }
.song-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 14px; }
.song-tools label { font-weight: 600; }
.song-tools select { min-height: 40px; border-radius: 999px; border: 1px solid var(--tan); padding: 0 12px; font: inherit; font-size: 14px; background: var(--paper); }
.link-btn.danger { color: var(--error); }
.rename { display: flex; gap: 8px; }
.rename input { flex: 1; min-width: 0; font: 500 24px var(--serif); border: 1px solid var(--tan); border-radius: 10px; padding: 2px 10px; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 16px 24px; display: flex; flex-direction: column; gap: 2px; }
.chat-empty { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--forest); padding: 40px 24px; }
.chat-empty p { max-width: 380px; }
.chat-empty.small { padding: 24px; }
.day-sep { display: flex; align-items: center; gap: 12px; margin: 14px 0 6px; font-size: 12px; font-weight: 600; color: var(--forest); }
.day-sep::before, .day-sep::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.msg { position: relative; max-width: min(640px, 85%); align-self: flex-start; margin-top: 10px; }
.msg.grouped { margin-top: 2px; }
.msg.mine { align-self: flex-end; text-align: left; }
.msg-meta { display: flex; align-items: center; gap: 6px; font-size: 13px; margin-bottom: 4px; }
.msg.mine .msg-meta { justify-content: flex-end; }
.msg-meta .avatar.sm { width: 26px; height: 26px; flex-basis: 26px; font-size: 11px; }
.msg-body { display: inline-block; padding: 9px 14px; border-radius: 16px; background: var(--paper); white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15.5px; line-height: 1.45; }
.msg.mine .msg-body { background: var(--sage); }
.msg.gone .msg-body { background: transparent; border: 1px dashed var(--line); color: var(--forest); }
.msg-body a { color: var(--forest); }
.msg-del { position: absolute; top: -2px; right: 0; min-height: 22px; font-size: 12px; opacity: 0; }
.msg.mine .msg-del { right: auto; left: -58px; top: auto; bottom: 6px; }
.msg:hover .msg-del, .msg-del:focus-visible { opacity: 1; }
.file-cards { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; white-space: normal; }
.file-card { display: inline-flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--brown) !important; min-width: 160px; }
.file-card:hover { border-color: var(--forest); }
.fc-host { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--forest); }
.fc-name { font-weight: 600; font-size: 14px; }
.chat-compose { display: flex; gap: 10px; align-items: flex-end; padding: 12px 24px 4px; border-top: 1px solid var(--line); }
.chat-compose textarea { flex: 1; min-height: 44px; max-height: 180px; resize: none; border: 1px solid var(--tan); border-radius: 22px; padding: 11px 16px; font: inherit; font-size: 15.5px; background: var(--paper); }
.chat-compose textarea:focus { outline: 2px solid var(--forest); outline-offset: 1px; background: var(--white); }
.chat-compose .btn { min-height: 44px; }
.chat-hint { margin: 0; padding: 0 24px 12px; font-size: 12px; color: var(--forest); }
@media (max-width: 900px) {
  .chat { grid-template-columns: minmax(0, 1fr); height: calc(100dvh - 96px); min-height: 0; }
  .msg:not(.mine) .msg-del { display: none; }
  .chat-list { border-right: 0; }
  .chat .chat-pane { display: none; }
  .chat.show-pane .chat-list { display: none; }
  .chat.show-pane .chat-pane { display: flex; }
  .ch-back { display: inline-flex; }
  .chat-head { padding: 12px 16px; }
  .chat-title h2 { font-size: 24px; }
  .chat-msgs { padding: 12px 16px; }
  .chat-compose { padding: 10px 12px 4px; }
  .chat-hint { display: none; }
  .msg { max-width: 92%; }
  .msg-del { opacity: 1; position: static; display: block; margin-top: 2px; }
  .msg.mine .msg-del { margin-left: auto; }
}
.a-project.sel { border: 2px solid var(--forest); }
.a-project { cursor: default; }
.a-project-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.a-project-actions .p-count { margin-left: 4px; }
.a-songs { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; width: 100%; }
.a-songs li { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; }
.a-songs a { color: var(--brown); font-weight: 600; }

/* Availability */
.av-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--forest); }
.av-legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; background: var(--line); }
.dot.d-free { background: #7FA88F; } .dot.d-busy { background: #C9937B; } .dot.d-booked { background: var(--forest); }
.av-day { min-height: 64px; }
.av-day.av-free { background: #E4EEE7; border-color: #7FA88F; }
.av-day.av-busy { background: #F4E4DC; border-color: #C9937B; }
.av-day:disabled { opacity: .45; cursor: default; }
.av-st { font-size: 12px; font-weight: 600; }
.av-day.av-free .av-st { color: #2F5E44; } .av-day.av-busy .av-st { color: #8A3F22; }
.av-booked { font-size: 11px; font-weight: 600; color: var(--white); background: var(--forest); border-radius: 6px; padding: 1px 6px; align-self: flex-start; }
.avail-line { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; font-size: 13px; min-height: 0; }
.av-pill { border-radius: 999px; padding: 3px 10px; font-weight: 600; }
.av-pill.free { background: #E4EEE7; color: #2F5E44; }
.av-pill.busy { background: #F4E4DC; color: #8A3F22; }
.av-pill.booked { background: var(--line); color: var(--brown); }
.room-list li.open-spot { background: var(--white); border: 1px dashed var(--forest); }
@media (max-width: 700px) { .av-day { min-height: 52px; } .av-day .av-st { display: none; } .av-booked { font-size: 0; width: 8px; height: 8px; padding: 0; border-radius: 50%; align-self: center; } }

/* Song tabs: lyrics, notes, split sheet */
.song-tabs { display: flex; gap: 4px; padding: 0 24px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.song-tab { border: 0; background: transparent; font: 600 14px var(--sans); color: var(--forest); padding: 12px 14px; min-height: 44px; cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; }
.song-tab[aria-selected="true"] { color: var(--brown); border-bottom-color: var(--forest); }
.song-panel { flex: 1; overflow-y: auto; padding: 20px 24px 32px; }
.song-words textarea { font-family: var(--sans); font-size: 15.5px; line-height: 1.6; }
.splits { display: flex; flex-direction: column; gap: 14px; }
.splits-head { display: flex; flex-wrap: wrap; gap: 8px; }
.pill.alert { background: #F4E4DC; color: var(--error); }
.pill.final { background: var(--forest); color: var(--white); }
.sp-table input, .sp-table select { width: 100%; min-width: 0; min-height: 40px; border: 1px solid var(--tan); border-radius: 10px; padding: 4px 8px; font: inherit; font-size: 14px; background: var(--paper); }
.sp-table td { padding: 6px 4px; }
.sp-table td:nth-child(1) { min-width: 150px; } .sp-table td:nth-child(2) { min-width: 130px; } .sp-table td:nth-child(3) { width: 90px; }
.sp-table td:nth-child(4) { min-width: 100px; } .sp-table td:nth-child(5) { width: 110px; } .sp-table td:nth-child(6) { min-width: 140px; }
@media (max-width: 900px) { .song-tabs { padding: 0 12px; } .song-panel { padding: 16px; } }

/* Photos */
.avatar.photo { position: relative; overflow: hidden; background: var(--tan); padding: 0; }
.avatar.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar.photo .ini { display: none; }
.avatar.photo.broken img { display: none; }
.avatar.photo.broken .ini { display: inline; color: var(--brown); }

/* Artists grid */
.art-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.art-tools .field { flex: 1 1 260px; max-width: 420px; }
.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.art-card { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--brown); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.art-card:hover, .art-card:focus-visible { border-color: var(--forest); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(29, 15, 2, .08); }
.art-card.off { opacity: .6; }
.art-photo { position: relative; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; background: var(--sage); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.art-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.art-ini { font: 500 56px/1 var(--serif); color: var(--forest); }
.art-name { font: 500 24px/1.15 var(--serif); }
.art-sub { font-size: 14px; color: var(--forest); }
.art-meta { font-size: 12.5px; color: var(--forest); font-weight: 600; line-height: 1.5; }
@media (max-width: 520px) { .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .art-name { font-size: 19px; } .art-ini { font-size: 40px; } .art-card { padding: 10px; border-radius: 18px; } }

/* Artist profile */
.back-link { font-size: 14px; font-weight: 600; color: var(--forest); }
.pf-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.pf-photo { position: relative; width: 148px; height: 148px; border-radius: 28px; overflow: hidden; background: var(--sage); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.pf-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.pf-photo > span { font: 500 56px var(--serif); color: var(--forest); }
.pf-photo-btn { position: absolute; z-index: 2; left: 8px; right: 8px; bottom: 8px; text-align: center; background: rgba(255, 255, 255, .92); border-radius: 999px; font-size: 13px; font-weight: 600; padding: 6px; cursor: pointer; }
.pf-photo-btn:focus-within { outline: 2px solid var(--forest); }
.pf-id { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.pf-id h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; }
.pf-section { display: flex; flex-direction: column; gap: 14px; }
.pf-projects { display: flex; flex-direction: column; gap: 14px; }
.pf-project { background: var(--white); border-radius: 24px; padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.pf-project.done { opacity: .8; }
.pf-project-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.pf-project-head h3 { font: 500 28px/1.15 var(--serif); }
.pf-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 28px; }
.pf-sub { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--forest); margin-bottom: 8px; }
.pf-list { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pf-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; font-size: 14.5px; }
.pf-list a { color: var(--brown); font-weight: 600; }
.pf-list .link-btn { font-size: 14.5px; min-height: 28px; text-align: left; }
.pf-list .link-btn[aria-current="true"] { color: var(--brown); text-decoration-thickness: 2px; }
.small { font-size: 13px; }
.mini-progress { display: inline-flex; align-items: center; gap: 6px; flex: 1 1 100%; }
.mini-progress .bar-track { flex: 1; height: 6px; }
.mini-progress .bar-num { font-size: 12px; }
.pf-team { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pf-team li { display: flex; align-items: center; gap: 10px; background: var(--white); border-radius: 999px; padding: 6px 16px 6px 6px; }
.pf-team li > span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.pf-team small { font-size: 12.5px; color: var(--forest); }
.pf-new-plan, .pf-plan-settings { background: var(--paper); border-radius: 16px; padding: 14px; }
#pf-plan-wrap { background: var(--white); border-radius: 24px; padding: 20px 22px; }

/* Release plan checklist */
.plan { display: flex; flex-direction: column; gap: 18px; }
.plan-head { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.plan-head h3 { font: 500 30px/1.1 var(--serif); }
.plan-head p { margin: 4px 0 0; }
.plan-progress { display: flex; align-items: center; gap: 10px; flex: 0 1 280px; }
.plan-progress .bar-track { flex: 1; }
.plan-intro { margin: 0; font-size: 15px; color: var(--forest); background: var(--paper); border-radius: 14px; padding: 12px 16px; }
.first-tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; color: var(--brown); background: #F1DEA8; border-radius: 6px; padding: 1px 7px; }
.phase { display: flex; flex-direction: column; gap: 6px; }
.phase-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; border-bottom: 1px solid var(--tan); padding-bottom: 6px; }
.phase-head h4 { font: 600 16px var(--sans); margin: 0; }
.phase.complete .phase-head h4::after { content: ' ✓'; color: var(--forest); }
.tasks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.task { display: flex; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.task.first { background: linear-gradient(90deg, #FBF3DC, transparent 60%); border-radius: 10px; }
.task.add, .task.editing { display: block; }
.task-check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--forest); cursor: pointer; }
.task-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.task-title { text-align: left; background: none; border: 0; padding: 0; font: 600 15.5px/1.35 var(--sans); color: var(--brown); cursor: pointer; }
.task-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.task.done .task-title { text-decoration: line-through; color: var(--forest); font-weight: 500; }
.task-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12.5px; color: var(--forest); align-items: center; }
.task-meta a { color: var(--forest); }
.note-snip { font-style: italic; }
.task-body { display: flex; flex-direction: column; gap: 10px; padding: 6px 0 4px; }
.task-details { margin: 0; font-size: 14.5px; line-height: 1.55; white-space: pre-wrap; }
.task-note .field input { min-height: 40px; }
.task-edit { background: var(--paper); border-radius: 14px; padding: 12px; }
.field.check label { display: flex; align-items: center; gap: 8px; font-weight: 600; min-height: 44px; }
.mono { font-family: ui-monospace, Menlo, monospace; }
#pf-plan-wrap .cal-head h2.p-label { font: 600 13px var(--sans); letter-spacing: .1em; }
.pf-head { margin-bottom: 8px; }
.verse { margin: 0; }
.verse blockquote { margin: 0; }
.verse h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.2; }
.verse figcaption { margin-top: 14px; font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--forest); }
.photo:has(img) { padding: 0; overflow: hidden; }
.photo img { display: block; }
/* Project progress */
.proj-progress { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.proj-progress-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.proj-pct { font: 500 26px/1 var(--serif); }
.proj-progress .bar-track { display: block; height: 10px; }
.proj-progress.empty { padding: 2px 0; }

/* Project overview: big header, song stage bars, stage steps */
.ph { display: flex; flex-direction: column; gap: 14px; }
.ph-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 20px; }
.ph-kicker { margin: 0 0 4px; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--forest); }
.ph-name { margin: 0; font: 500 clamp(30px, 5vw, 42px)/1.05 var(--serif); }
h3.ph-name { font-size: clamp(28px, 4vw, 34px); }
.ph-num { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.ph-pct { font: 500 clamp(36px, 6vw, 48px)/1 var(--serif); }
.ph-bar { display: block; height: 14px; }
.segs { display: flex; gap: 4px; width: 100%; }
.segs i { flex: 1 1 0; height: 6px; border-radius: 999px; background: var(--line); }
.segs i.now { background: var(--sage); }
.segs i.on { background: var(--forest); }
.stg { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.stg li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; min-width: 0; }
.stg .dot { width: 36px; height: 36px; border-radius: 999px; box-sizing: border-box; border: 2px solid var(--tan); background: var(--white); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; }
.stg .done .dot { background: var(--forest); border-color: var(--forest); color: var(--white); }
.stg .now .dot { border-color: var(--forest); }
.stg .nm { font-size: 13px; }
.stg .now .nm { font-weight: 600; }
.pv-list { display: flex; flex-direction: column; gap: 28px; }
.pv { display: flex; flex-direction: column; gap: 20px; }
.pv + .pv { padding-top: 28px; border-top: 1px solid var(--line); }
.pv.done .ph { opacity: .7; }
.pv.sel .ph-name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.pv-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 16px; align-items: start; }
.pv-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pv-box, .pv-detail { background: var(--paper); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pv-detail { padding: 24px; gap: 22px; }
.pv-label { margin: 0; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--forest); }
.pv-song { margin: 4px 0 0; font: 500 clamp(28px, 4vw, 36px)/1.05 var(--serif); }
.pv-songs { display: flex; flex-direction: column; gap: 4px; margin: 0 -8px; }
.song-pick { display: flex; flex-direction: column; gap: 9px; padding: 12px; border: 0; border-radius: 14px; background: transparent; color: var(--brown); font: inherit; text-align: left; cursor: pointer; }
.song-pick:hover { background: var(--line); }
.song-pick[aria-pressed="true"] { background: var(--tan); }
.sp-top, .sr-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; width: 100%; }
.sp-name { font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.pv-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.pv-rows li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 10px 0; border-bottom: 1px solid var(--tan); font-size: 15px; }
.pv-rows li:last-child { border-bottom: 0; padding-bottom: 0; }
.pv-rows .muted { font-size: 13.5px; font-weight: 600; }
.pv-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.pv-foot .a-project-actions { margin-top: 0; }
@media (max-width: 760px) {
  .pv-grid { grid-template-columns: minmax(0, 1fr); }
  .pv-detail { order: -1; padding: 20px 16px; }
  .ph-num { align-items: flex-start; text-align: left; }
}
@media (max-width: 520px) {
  .stg { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
}
/* Artist profile: songs with stage controls */
.pf-box { background: var(--paper); border-radius: 18px; padding: 16px; }
.pf-section > .pf-box { margin-bottom: 14px; }
.pf-songs { display: flex; flex-direction: column; gap: 10px; }
.pf-songs .cal-head { margin: 0; }
.pf-songs .pf-sub { margin: 0; }
.song-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.song-row { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 14px; background: var(--paper); }
.song-row a { color: var(--brown); font-weight: 600; overflow-wrap: anywhere; }
.sr-tools { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sr-tools select { min-height: 36px; padding: 0 10px; border: 1px solid var(--tan); border-radius: 10px; background: var(--white); font: inherit; font-size: 14px; color: var(--brown); }
.add-song { display: flex; flex-wrap: wrap; gap: 8px; }
.add-song input { flex: 1 1 180px; min-width: 0; min-height: 40px; padding: 0 14px; border: 1px solid var(--tan); border-radius: 12px; font: inherit; color: var(--brown); background: var(--white); }
.add-song select { min-height: 40px; padding: 0 10px; border: 1px solid var(--tan); border-radius: 12px; font: inherit; background: var(--white); color: var(--brown); }
.pf-head { margin-bottom: 20px; }
/* Delete account */
.danger-box { background: #F6ECE8; border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.danger-box ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.row-actions { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.pf-del-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.pf-del-row p { flex: 1 1 280px; margin: 0; font-size: 14.5px; }

/* People table becomes cards on phones */
@media (max-width: 680px) {
  .p-table.stack thead { display: none; }
  .p-table.stack, .p-table.stack tbody, .p-table.stack tr, .p-table.stack td { display: block; width: 100%; min-width: 0; box-sizing: border-box; }
  .p-table.stack td:last-child { text-align: left; }
  .p-table.stack tr { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; }
  .p-table.stack td { padding: 0; border: 0; }
  .p-table.stack td:first-child { grid-column: 1; }
  .p-table.stack td:nth-child(2) { grid-column: 2; grid-row: 1; text-align: right; font-size: 13px; color: var(--forest); }
  .p-table.stack td:nth-child(3), .p-table.stack td:nth-child(4) { grid-column: 1 / -1; font-size: 13.5px; overflow-wrap: anywhere; }
  .p-table.stack td:nth-child(3):empty, .p-table.stack td.none { display: none; }
  .p-table.stack td:last-child { grid-column: 1 / -1; margin-top: 6px; }
}
/* Artist page header on phones: keep it to one row */
.a-foot { text-align: center; font-size: 14px; color: var(--forest); }
@media (max-width: 600px) {
  .a-header .hide-sm { display: none; }
  .a-header .who-line strong { display: none; }
}
/* Team tasks */
.tk-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
.tk-filters .field { min-width: 200px; }
.tk-add { align-self: flex-start; margin-bottom: 12px; }
.tk-form { background: var(--paper); border-radius: 18px; padding: 16px; margin-bottom: 14px; }
.tk-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.tk-col { background: var(--paper); border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tk-col h3 { font: 600 15px var(--sans); }
.tk-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.tk { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tk:last-child { border-bottom: 0; }
.tk-col .tk { border-color: var(--tan); }
.tk.editing { display: block; }
.tk.editing .tk-form { margin: 0; background: var(--white); }
.tk-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.tk-title { font-weight: 600; overflow-wrap: anywhere; }
.tk.done .tk-title { text-decoration: line-through; color: var(--forest); font-weight: 500; }
.tk-note { margin: 0; font-size: 14px; color: var(--forest); white-space: pre-wrap; }
.tk-tools { display: flex; gap: 10px; flex-shrink: 0; }
.tk-tools .link-btn { font-size: 13.5px; min-height: 28px; }
.tk-done { margin-top: 16px; }
.tk-done summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--forest); padding: 6px 0; }
/* Files */
.file-up { display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; }
.file-up-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.file-pick { cursor: pointer; }
.file-pick:focus-within { outline: 3px solid var(--forest); outline-offset: 3px; }
.file-up-opts { background: var(--paper); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.file-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.file { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 12px; background: var(--paper); border-radius: 16px; padding: 6px 12px 6px 6px; }
.file.needs { background: #F3EEE6; box-shadow: inset 0 0 0 2px var(--tan); }
.file.open { padding-bottom: 14px; }
.file-main { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 8px; border: 0; border-radius: 12px; background: transparent; color: var(--brown); font: inherit; text-align: left; cursor: pointer; }
.file-main:hover { background: var(--line); }
.file-ic { flex: 0 0 40px; height: 40px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: var(--forest); color: var(--white); font-size: 16px; }
.file-ic.ic-image { background: #8A5A44; } .file-ic.ic-video { background: #4F6A7A; } .file-ic.ic-pdf, .file-ic.ic-other { background: var(--tan); color: var(--brown); }
.file-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.file-label { font-weight: 600; overflow-wrap: anywhere; }
.file-txt .muted { overflow-wrap: anywhere; }
.file-body { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 14px; padding: 4px 8px 0; min-width: 0; }
.file-body audio { width: 100%; }
.file-body video, .file-img { width: 100%; max-height: 480px; border-radius: 12px; background: var(--brown); object-fit: contain; }
.file-actions { align-items: center; }
.pill.ok { background: var(--sage); color: var(--brown); }
.fnotes { display: flex; flex-direction: column; gap: 10px; }
.fnotes .pf-sub { margin: 0; }
.fnote-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.fnote-list li { background: var(--white); border-radius: 12px; padding: 10px 12px; }
.fnote-list p { margin: 4px 0 0; white-space: pre-wrap; font-size: 15px; }
.fnote-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; }
.fnote-top .link-btn { margin-left: auto; font-size: 13px; min-height: 24px; }
.fnote-at { border: 0; background: var(--forest); color: var(--white); border-radius: 999px; padding: 2px 10px; font: 600 13px var(--sans); font-variant-numeric: tabular-nums; cursor: pointer; }
.fnote-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.fnote-form textarea { flex: 1 1 240px; min-width: 0; border: 1px solid var(--tan); border-radius: 12px; padding: 10px 12px; font: inherit; background: var(--white); color: var(--brown); resize: vertical; }
.fnote-time { flex-basis: 100%; font-size: 14px; font-variant-numeric: tabular-nums; }
.pf-files { display: flex; flex-direction: column; gap: 8px; }
.pf-files .pf-sub { margin: 0; }
/* Waiting on you */
.waiting { background: var(--forest); color: var(--white); border-radius: 24px; padding: 24px 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.waiting .pv-label { color: var(--white); }
.waiting-what { margin: 6px 0 0; font: 500 clamp(22px, 3vw, 28px)/1.15 var(--serif); }
.waiting .small { margin: 4px 0 0; opacity: .85; }
.fnote-time.check { background: transparent; border: 0; padding: 0; min-height: 0; }
/* Map */
.mp-card { gap: 14px; }
.mp-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.mp-filter-right { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.mp-filter-right .field { min-width: 180px; }
.mp-kind { gap: 6px; }
.mp-kind .mp-dot { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 999px; background: var(--k); color: var(--white); }
.mp-kind[aria-pressed="false"] { opacity: .5; background: transparent; box-shadow: inset 0 0 0 1px var(--tan); }
.mp-kind[aria-pressed="false"] .mp-dot { background: var(--tan); }
.mp-n { font-variant-numeric: tabular-nums; color: var(--forest); }
.mp-body { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(260px, 1fr); gap: 16px; align-items: stretch; }
.mp-globe { position: relative; min-height: 560px; border-radius: 20px; overflow: hidden; background: #0F1A24; }
.mp-globe.off { display: flex; align-items: center; justify-content: center; background: var(--paper); min-height: 120px; }
.mp-noglobe { margin: 0; padding: 20px; color: var(--forest); text-align: center; }
.mp-list { max-height: 560px; overflow-y: auto; min-width: 0; }
.mp-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.mp-month { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--forest); padding: 10px 4px 2px; }
.mp-item { width: 100%; display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border: 0; border-radius: 14px; background: var(--paper); color: var(--brown); font: inherit; text-align: left; cursor: pointer; }
.mp-item:hover, .mp-item.sel { box-shadow: inset 0 0 0 2px var(--k); }
.mp-ic { flex: 0 0 32px; height: 32px; border-radius: 999px; background: var(--k); color: var(--white); display: flex; align-items: center; justify-content: center; }
.mp-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.mp-txt strong, .mp-txt span { overflow-wrap: anywhere; }
.mp-pin { width: 34px; height: 34px; border-radius: 999px 999px 999px 4px; transform: rotate(-45deg); border: 2px solid var(--white); background: var(--k); color: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 10px rgba(0,0,0,.35); cursor: pointer; padding: 0; }
.mp-pin > * { transform: rotate(45deg); }
.mp-pin.many span { font: 700 13px var(--sans); }
.mp-pin.hotel { width: 24px; height: 24px; border-radius: 6px; transform: none; font: 700 12px var(--sans); }
.mp-pin.hotel > * { transform: none; }
.mp-pin:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }
.mp-pop { font: 14px/1.45 var(--sans); color: var(--brown); display: flex; flex-direction: column; }
.mp-pop hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0; }
.mp-pop .muted { color: var(--forest); }
.mp-pop-kind { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--k); }
.mp-pop-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.mp-pop-links a, .mp-pop-links .link-btn { font-size: 13.5px; font-weight: 600; color: var(--forest); }
.place-row { display: flex; gap: 8px; }
.place-row input { flex: 1 1 auto; min-width: 0; }
.place-status { margin: 4px 0 0; }
.place-results { display: flex; flex-direction: column; gap: 4px; }
.place-opt { text-align: left; border: 1px solid var(--tan); background: var(--white); border-radius: 10px; padding: 8px 10px; font: 13.5px var(--sans); color: var(--brown); cursor: pointer; }
.place-opt:hover { border-color: var(--forest); }
.pl-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.pl-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--paper); border-radius: 12px; padding: 10px 12px; }
.pl-list li div { display: flex; flex-direction: column; min-width: 0; }
.pl-form { border-top: 1px solid var(--line); padding-top: 16px; }
@media (max-width: 860px) {
  .mp-body { grid-template-columns: minmax(0, 1fr); }
  .mp-globe { min-height: 380px; }
  .mp-list { max-height: none; }
}
.m-sess.m-show { color: #8A6214; font-weight: 600; }
.m-sess.m-travel { color: #6E4A6B; font-weight: 600; }
.mp-kind { display: inline-flex; align-items: center; }
/* Vision board */
.vb-mood { display: flex; flex-wrap: wrap; gap: 8px; }
.vb-mood span { font: italic 500 20px/1.2 var(--serif); background: var(--paper); border-radius: 999px; padding: 6px 16px; }
.vb-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; align-items: start; }
.vb-spotify { width: 100%; height: 352px; border: 0; border-radius: 16px; }
.vb-pin { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; background: var(--paper); color: var(--brown); text-decoration: none; }
.vb-pin > span:first-child { flex: 0 0 44px; height: 44px; border-radius: 999px; background: #B5333A; color: var(--white); display: flex; align-items: center; justify-content: center; font: 700 20px var(--serif); }
.vb-pin > span:last-child { display: flex; flex-direction: column; }
.vb-tools { margin: 4px 0; }
.vb-form, .vb-add { background: var(--paper); border-radius: 16px; padding: 16px; }
.vb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.vb-img { margin: 0; background: var(--paper); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.vb-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; background: var(--line); }
.vb-img figcaption { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.vb-img .link-btn { align-self: flex-start; font-size: 13px; min-height: 24px; }
.vb-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.vb-list li { background: var(--paper); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.vb-list p { margin: 0; font-size: 14.5px; }
.vb-list audio { width: 100%; }
.vb-li-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.vb-li-top .link-btn { margin-left: auto; font-size: 13px; min-height: 24px; }
.pf-vision { display: flex; flex-direction: column; gap: 12px; background: var(--white); }
/* Verse wall */
.vw-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.vw-tools .field { flex: 1 1 260px; max-width: 420px; }
.vw-form { background: var(--paper); border-radius: 18px; padding: 16px; }
.vw-field { position: relative; border-radius: 22px; background: radial-gradient(120% 90% at 20% 0%, #F3EEE6 0%, var(--paper) 55%, #EEF1EE 100%); min-height: 260px; }
.vw-field.float { overflow: hidden; }
.vw-field.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; padding: 16px; }
.vw-field > .room-empty, .vw-field > .p-loading { padding: 24px; }
.vw-wrap { width: 230px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.vw-field.float .vw-wrap { position: absolute; }
.vw-field.float .vw-wrap:hover, .vw-field.float .vw-wrap:focus-within { z-index: 2; }
.vw-field.grid .vw-wrap { width: 100%; }
@keyframes vw-float { from { transform: translate(0, 0) rotate(calc(var(--r, 0deg) * -1)); } to { transform: translate(var(--dx, 8px), var(--dy, -8px)) rotate(var(--r, 0deg)); } }
.vw-bob { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.vw-field.float .vw-wrap { cursor: grab; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; will-change: transform; }
.vw-field.float .vw-bob { animation: vw-float var(--dur, 9s) ease-in-out var(--delay, 0s) infinite alternate; }
.vw-field.float .vw-wrap:hover .vw-bob, .vw-field.float .vw-wrap:focus-within .vw-bob,
.vw-field.float .vw-wrap.held .vw-bob, .vw-field.float .vw-wrap.dragging .vw-bob, .vw-field.float .vw-wrap.flying .vw-bob { animation-play-state: paused; }
.vw-field.float .vw-wrap .vw-flash { cursor: inherit; transition: transform .18s ease-out; }
.vw-field.float .vw-wrap.held .vw-flash, .vw-field.float .vw-wrap.dragging .vw-flash { transform: scale(1.05); }
.vw-field.float .vw-wrap.dragging, .vw-field.float .vw-wrap.flying { cursor: grabbing; z-index: 50; }
.vw-field.float .vw-wrap.dragging .vw-face, .vw-field.float .vw-wrap.flying .vw-face { box-shadow: 0 18px 40px rgba(29, 15, 2, .2); }
.vw-flash { position: relative; width: 100%; height: 190px; border: 0; padding: 0; background: transparent; cursor: pointer; perspective: 900px; font: inherit; color: var(--brown); }
.vw-face { position: absolute; inset: 0; border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; text-align: left;
  backface-visibility: hidden; transition: transform .5s ease, box-shadow .2s ease; box-shadow: 0 8px 24px rgba(29, 15, 2, .10); overflow: hidden; }
.vw-front { background: var(--white); }
.vw-back { background: var(--forest); color: var(--white); transform: rotateY(180deg); }
.vw-flash.flipped .vw-front { transform: rotateY(-180deg); }
.vw-flash.flipped .vw-back { transform: rotateY(0deg); }
.vw-body { font: 500 17px/1.35 var(--serif); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.vw-ref { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--forest); }
.vw-notes { font-size: 14.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.vw-by { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.vw-by > span:last-child { display: flex; flex-direction: column; }
.vw-back .muted { color: rgba(255, 255, 255, .8); }
.vw-acts { display: flex; gap: 12px; }
.vw-acts .link-btn { font-size: 13px; min-height: 24px; }
.vw-flash:focus-visible { outline: 3px solid var(--forest); outline-offset: 4px; border-radius: 18px; }
@media (prefers-reduced-motion: reduce) { .vw-field.float .vw-bob { animation: none; } .vw-face { transition: none; } }
/* Songs of Remembrance */
.rem-verse { margin-top: 20px; font: italic 400 20px/1.4 var(--serif); color: var(--forest); max-width: 52ch; }
.rem-verse span { font: 600 12.5px var(--sans); font-style: normal; letter-spacing: .1em; text-transform: uppercase; margin-left: 6px; }
.rem-cta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.rem-cta .muted { font-size: 14px; color: var(--forest); }
.rem-section { padding: 0 0 120px; }
.rem-wrap { max-width: 780px; }
.rem-list { display: flex; flex-direction: column; gap: 18px; }
.rem-card { background: var(--paper); border-radius: 24px; padding: 26px 28px; display: flex; flex-direction: column; gap: 12px; }
.rem-card.hidden-post { opacity: .65; box-shadow: inset 0 0 0 2px var(--tan); }
.rem-who { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.rem-who > span:nth-child(2) { display: flex; flex-direction: column; margin-right: auto; }
.rem-title { font: 500 28px/1.15 var(--serif); }
.rem-body { margin: 0; font-size: 17px; line-height: 1.65; white-space: pre-wrap; }
.rem-media { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.rem-media.one { grid-template-columns: minmax(0, 1fr); }
.rem-media img, .rem-media video { width: 100%; border-radius: 14px; display: block; background: var(--line); }
.rem-media img { aspect-ratio: 4 / 3; object-fit: cover; }
.rem-media.one img { aspect-ratio: auto; max-height: 520px; object-fit: cover; }
.rem-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-top: 4px; }
.rem-tools .link-btn { font-size: 14px; }
.rem-amen { border: 1px solid var(--tan); background: var(--white); color: var(--brown); border-radius: 999px; padding: 6px 14px; font: 600 14px var(--sans); cursor: pointer; }
.rem-amen.on { background: var(--forest); border-color: var(--forest); color: var(--white); }
.rem-amen.static { cursor: default; }
.rem-form { background: var(--white); border: 1px solid var(--tan); border-radius: 24px; padding: 26px; margin-bottom: 24px; }
.rem-form h2 { font-size: 30px; }
.rem-public { margin: 0; background: #F3EEE6; border-radius: 12px; padding: 10px 14px; font-size: 15px; }
.rem-more { display: flex; justify-content: center; margin-top: 24px; }
.rem-home-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.rem-home-grid .rem-card { background: var(--white); }
.rem-home-grid .rem-title { font-size: 24px; }
.rem-home-grid .rem-body { font-size: 16px; }
.rem-home-more { margin-top: 28px; }
.rem-empty { color: var(--forest); }
@media (max-width: 600px) { .rem-card { padding: 20px; } .rem-section { padding-bottom: 80px; } }
/* File versions and note markers */
.ver-tag { font: 600 12px var(--sans); background: var(--tan); border-radius: 999px; padding: 1px 8px; margin-left: 6px; vertical-align: 2px; }
.ver-chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; padding: 0 8px 6px 60px; }
.ver-chip { border: 1px solid var(--tan); background: var(--white); color: var(--brown); border-radius: 999px; padding: 3px 12px; font: 600 13px var(--sans); cursor: pointer; }
.ver-chip[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--white); }
.note-track { position: relative; height: 14px; margin: -6px 16px 0; border-radius: 999px; background: var(--line); }
.note-mark { position: absolute; top: 2px; width: 10px; height: 10px; margin-left: -5px; border-radius: 999px; background: var(--forest); box-shadow: 0 0 0 2px var(--white); }
.note-mark.artist { background: #B07F1E; }
@media (max-width: 600px) { .ver-chips { padding-left: 8px; } }
/* On this song */
.song-team { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--tan); padding-top: 14px; }
.song-team ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.song-team li { display: flex; align-items: center; gap: 8px; }
.song-team li > span:last-child { display: flex; flex-direction: column; }
.shoot-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
/* Dashboards */
.dash, .dash-admin { gap: 18px; }
.dash-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.dash-stat { background: var(--paper); border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--forest); }
.dash-stat .n { font: 500 40px/1 var(--serif); color: var(--brown); }
.dash-stat.hot { background: var(--forest); color: var(--white); }
.dash-stat.hot .n { color: var(--white); }
.dash-box { display: flex; flex-direction: column; gap: 10px; }
.dash-feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.dash-feed li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; background: var(--paper); border-radius: 16px; padding: 12px 14px; }
.dash-feed li > div { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dash-feed.admin li.hot { box-shadow: inset 4px 0 0 var(--forest); }
.dash-ic { flex: 0 0 36px; height: 36px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: var(--tan); font-weight: 700; }
.dash-ic.k-approved { background: var(--sage); }
.dash-ic.k-notes { background: #F3E3C2; }
.dash-clear { margin: 0; background: var(--sage); border-radius: 14px; padding: 14px 16px; }
.dash-table td .segs { margin-top: 6px; max-width: 160px; }
.dash-table td:last-child { text-align: right; }
.shoot-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.shoot { background: var(--paper); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.shoot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.shoot-top > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.shoot-top .when { font-size: 13px; font-weight: 600; color: var(--forest); }
.shoot-status { display: flex; gap: 6px; flex-wrap: wrap; }
.shoot-notes { margin: 0; font-size: 14.5px; }
.shoot-gallery { background: var(--white); border-radius: 14px; padding: 12px; }
/* Community */
.cm { display: grid; grid-template-columns: 220px minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.cm-channels { gap: 6px; }
.cm-ch { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 42px; padding: 0 12px; border: 0; border-radius: 12px; background: transparent; color: var(--brown); font: 15px var(--sans); text-align: left; cursor: pointer; }
.cm-ch span { color: var(--forest); width: 18px; text-align: center; }
.cm-ch:hover { background: var(--paper); }
.cm-ch[aria-current="true"] { background: var(--tan); font-weight: 600; }
.cm-chat { padding: 0; gap: 0; overflow: hidden; }
.cm-head { padding: 20px 24px; border-bottom: 1px solid var(--line); }
.cm-head h2 { font-size: 28px; }
.cm-head p { margin: 4px 0 0; font-size: 14px; }
.cm-msgs { height: min(62vh, 640px); overflow-y: auto; padding: 18px 24px; display: flex; flex-direction: column; gap: 16px; }
.cm-day { align-self: center; font-size: 12.5px; font-weight: 600; color: var(--forest); background: var(--paper); border-radius: 999px; padding: 3px 12px; }
.cm-msg { display: flex; gap: 12px; align-items: flex-start; }
.cm-msg-main { flex: 1 1 auto; min-width: 0; }
.cm-msg-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.cm-msg-top .link-btn { margin-left: auto; font-size: 13px; min-height: 24px; }
.cm-msg p { margin: 3px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15.5px; line-height: 1.5; }
.cm-msg.deleted p { color: var(--forest); }
.cm-team { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--sage); border-radius: 999px; padding: 2px 8px; }
.cm-compose { border-top: 1px solid var(--line); padding: 14px 18px; }
.cm-email { padding: 0 18px 14px; font-size: 14px; }
.cm-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.cm-event { border-radius: 18px; background: var(--paper); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.cm-event + .cm-event { margin-top: 10px; }
.cm-event.next { background: var(--forest); color: var(--white); }
.cm-event.next .cm-ev-kind, .cm-event.next .small, .cm-event.next .link-btn { color: rgba(255,255,255,.85); }
.cm-ev-kind { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--forest); }
.cm-event h3 { font: 500 24px/1.15 var(--serif); }
.cm-ev-when { margin: 0; font-size: 14.5px; }
.cm-event p.small { margin: 0; }
.cm-going { font-weight: 600; }
.cm-ev-tools { margin: 0; display: flex; gap: 12px; }
.cm-ev-tools .link-btn { font-size: 13px; min-height: 24px; }
.cm-ev-form { background: var(--paper); border-radius: 16px; padding: 14px; margin-bottom: 12px; }
@media (max-width: 1180px) { .cm { grid-template-columns: 200px minmax(0, 1fr); } .cm-side { grid-column: 1 / -1; } }
@media (max-width: 760px) {
  .cm { grid-template-columns: minmax(0, 1fr); }
  .cm-channels { flex-direction: row; overflow-x: auto; }
  .cm-channels > div { display: flex; gap: 6px; }
  .cm-channels .p-label { display: none; }
  .cm-ch { width: auto; white-space: nowrap; }
  .cm-msgs { height: 60vh; padding: 14px; }
}
/* Announcement bar */
.ann-bar { display: flex; align-items: flex-start; gap: 12px; background: #F3EEE6; border: 1px solid var(--tan); border-radius: 18px; padding: 14px 16px; }
.ann-bar > div { flex: 1 1 auto; min-width: 0; }
.ann-bar p { margin: 2px 0 0; font-size: 15px; white-space: pre-wrap; overflow-wrap: anywhere; }
.ann-ic { font-size: 20px; }
.ann-acts { display: flex; gap: 12px; align-items: center; font-size: 14px; font-weight: 600; }
.ann-acts .link-btn { font-size: 14px; }

/* Shoot galleries (artist) and delivery status (team) */
.gal { display: flex; flex-direction: column; gap: 10px; }
.gal + .gal { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
.gal-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 10px; }
.gal-head .when { font-size: 13px; font-weight: 600; color: var(--forest); }
.gal-head h3 { margin: 2px 0 0; font-family: var(--serif); font-size: 24px; font-weight: 500; }
.gal-help { margin: 0; }
.gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.gal-tile { margin: 0; background: var(--paper); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; border: 2px solid transparent; }
.gal-tile.fav { border-color: var(--forest); }
.gal-tile img, .gal-tile video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; background: var(--line); }
.gal-tile figcaption { display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 10px; font-size: 13px; min-width: 0; }
.gal-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gal-tile .link-btn { font-size: 13px; min-height: 32px; }
.gal-heart { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; font-size: 24px; line-height: 1; color: var(--forest); cursor: pointer; }
.gal-heart:hover { background: var(--line); }
.gal-heart[aria-pressed="true"] { color: var(--error); }
.gal-heart:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
.gal-other { margin: 0; padding-left: 18px; font-size: 14px; }
.shoot-deliv { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
@media (max-width: 560px) { .gal-grid { grid-template-columns: 1fr 1fr; gap: 8px; } .gal-tile figcaption { flex-wrap: wrap; row-gap: 0; padding: 6px 4px 2px 8px; } .gal-name { flex: 1 0 100%; } .gal-tile .link-btn { margin-right: auto; } }

/* Bible lookup (Verse wall, Songs of Remembrance) */
.bible-field { display: flex; flex-direction: column; gap: 6px; }
.bible-label { font-size: 14px; font-weight: 600; }
.bible { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.bible-bar { display: flex; gap: 8px; }
.bible-bar input { flex: 1; min-width: 0; }
.bible-bar select { flex: none; width: auto; min-width: 84px; }
.bible-hint { margin: 0; font-size: 14px; }
.bible-list { list-style: none; margin: 0; padding: 0; max-height: 320px; overflow-y: auto; display: flex; flex-direction: column; }
.bible-list li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 2px; border-top: 1px solid var(--line); }
.bible-list li:first-child { border-top: 0; }
.bible-txt { flex: 1; min-width: 0; font-size: 15px; line-height: 1.5; }
.bible-txt strong { color: var(--forest); white-space: nowrap; }
.bible-txt mark { background: var(--tan); color: inherit; border-radius: 3px; padding: 0 1px; }
.bible-list .btn { flex: none; }
.rf-verse-btn { align-self: flex-start; margin-top: 8px; }
.rf-bible { margin-top: 8px; }
@media (max-width: 560px) { .bible-list li { flex-direction: column; gap: 6px; } }
