:root {
  --ink: #15181E;
  --ink-2: #3A404B;
  --muted: #4F5664;
  --line: #E1E5EB;
  --line-soft: #EEF0F3;
  --bg: #F2F4F7;
  --card: #FFFFFF;
  --accent: #C2185B;
  --accent-dark: #8E1243;
  --pink-on-dark: #FF7AB8;
  --pink-soft: #FCE4EF;
  --ok-bg: #DDF3E6; --ok-ink: #1D6B42;
  --wait-bg: #FFF1D6; --wait-ink: #7A4A00;
  --info-bg: #E7ECF3; --info-ink: #33415A;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Source Sans 3', system-ui, sans-serif;
  --radius: 16px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; -webkit-text-size-adjust: 100%; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.app { max-width: 560px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--bg); }

.topbar { position: sticky; top: 0; z-index: 5; background: var(--ink); color: #fff; padding: 8px 16px; padding-top: max(8px, env(safe-area-inset-top)); display: flex; align-items: center; justify-content: space-between; }
.brand { display: block; line-height: 0; color: #fff; text-decoration: none; }
.brand img { display: block; height: 52px; width: auto; }
.brand span { color: #FF4FA0; }
.brand:hover { color: #fff; }
.topbar-sub { font-size: 13px; color: #C9CED6; }

.main { flex: 1; padding: 20px 16px 110px; outline: none; }
.loading { color: var(--muted); }

.tabbar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 560px; z-index: 5; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); background: #fff; border-top: 1px solid #DDE1E7; padding: 6px 4px calc(8px + env(safe-area-inset-bottom)); }
[hidden].tabbar, .tabbar a[hidden] { display: none !important; }
.tabbar a { min-height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 13px; font-weight: 600; color: #5B6270; text-decoration: none; }
.tabbar a[aria-current="page"] { color: var(--accent); font-weight: 700; }
.tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; line-height: 1.05; }
h1 { font-size: 32px; }
h2 { font-size: 24px; }
h3 { font-size: 22px; }
.lede { margin: 4px 0 0; font-size: 16px; color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack-lg { display: flex; flex-direction: column; gap: 16px; }
.row-between { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.card-dark { background: var(--ink); color: #fff; border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.card-dark .kicker { color: var(--pink-on-dark); }
.card-dark .sub { color: #C9CED6; font-size: 16px; margin-top: 4px; }

.btn { min-height: 46px; padding: 0 18px; border-radius: 12px; border: none; background: var(--accent); color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-dark { background: var(--ink); }
.btn-dark:hover { background: #2A2F38; }
.btn-outline { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline:hover { background: var(--bg); color: var(--ink); }
.btn-ghost-dark { background: transparent; color: #fff; border: 1px solid #4A515D; font-weight: 600; }
.btn-ghost-dark:hover { background: #2A2F38; }
.btn-quiet { background: transparent; color: var(--ink-2); border: 1.5px solid #C9CED6; font-weight: 600; }
.btn-quiet:hover { background: #fff; color: var(--ink); }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-row { display: flex; gap: 10px; }
.btn-row > * { flex: 1; }
.linkbtn { background: none; border: none; padding: 8px 0; min-height: 44px; color: var(--accent); font-weight: 700; font-size: 15px; cursor: pointer; }
.back { align-self: flex-start; min-height: 44px; margin: -8px 0 -6px -6px; padding: 0 8px; border: none; background: transparent; color: var(--ink); font-size: 16px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }
.back svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.pill { display: inline-block; border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 700; }
.pill-ok { background: var(--ok-bg); color: var(--ok-ink); }
.pill-wait { background: var(--wait-bg); color: var(--wait-ink); }
.pill-info { background: var(--info-bg); color: var(--info-ink); }
.pill-dark { background: #2A2F38; color: #fff; font-weight: 600; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { display: inline-block; border-radius: 6px; padding: 2px 8px; font-size: 12px; font-weight: 700; letter-spacing: .8px; }
.tag-dive { background: #E3E8F0; color: var(--ink); }
.tag-beach { background: var(--pink-soft); color: var(--accent-dark); }

.banner { background: #FFF4DC; border: 1px solid #E8C46A; border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.banner strong { font-size: 17px; }
.banner p { margin: 0; font-size: 15px; color: #4A3B12; }
.banner-ok { background: var(--ok-bg); border-color: transparent; color: var(--ok-ink); font-weight: 600; flex-direction: row; align-items: center; gap: 10px; padding: 12px 16px; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: 15px; font-weight: 600; cursor: pointer; background: #fff; color: var(--ink); border: 1.5px solid #C9CED6; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.event { display: flex; gap: 14px; }
.datebox { width: 58px; flex-shrink: 0; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px 0; align-self: flex-start; }
.datebox .d { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1; }
.datebox .w, .datebox .m { font-size: 12px; font-weight: 700; letter-spacing: 1px; }
.datebox-dive { background: var(--ink); color: #fff; }
.datebox-dive .w { color: var(--pink-on-dark); }
.datebox-beach { background: var(--pink-soft); color: var(--ink); }
.datebox-beach .w { color: var(--accent-dark); }
.event-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.event-title { font-weight: 700; font-size: 17px; line-height: 1.2; margin-top: 6px; }
.event-meta { font-size: 14px; color: var(--muted); margin-top: 2px; }
.bar { height: 6px; background: #E6E9EE; border-radius: 999px; overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.bar.full > span { background: #5B6270; }
.places { font-size: 14px; margin-top: 5px; font-weight: 600; color: var(--ink-2); }
.status-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.w3w { font-size: 13px; color: var(--muted); text-align: center; margin-top: -4px; }
.w3w b { color: var(--accent-dark); }
.going { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.going svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.stepper { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.stepper button { width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid #C9CED6; background: #fff; font-size: 20px; font-weight: 700; cursor: pointer; }
.stepper output { min-width: 20px; text-align: center; font-weight: 700; }
.choose { display: flex; flex-direction: column; gap: 8px; background: var(--bg); border-radius: 12px; padding: 12px; }
.empty { text-align: center; padding: 28px 16px; color: var(--muted); }
details.more summary { cursor: pointer; font-weight: 600; color: var(--accent); min-height: 32px; list-style: none; }
details.more summary::-webkit-details-marker { display: none; }
details.more p { white-space: pre-line; margin: 8px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.45; }

.news { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.news img { width: 100%; height: 160px; object-fit: cover; }
.news-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.news-date { font-size: 13px; color: var(--muted); }
.news-title { font-weight: 700; font-size: 18px; line-height: 1.25; }
.news-text { font-size: 15px; color: var(--ink-2); line-height: 1.45; margin: 0; white-space: pre-line; }

.seg { display: grid; gap: 4px; background: var(--line); padding: 4px; border-radius: 12px; }
.seg button { min-height: 42px; border: none; border-radius: 9px; font-size: 15px; font-weight: 600; cursor: pointer; background: transparent; color: var(--ink-2); }
.seg button[aria-pressed="true"] { font-weight: 700; background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.site { background: var(--ink); color: #fff; border-radius: 16px; padding: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.site .full { grid-column: 1 / -1; }
.site .lbl { font-size: 13px; color: #C9CED6; }
.site .val { font-size: 18px; font-weight: 700; }
.site .name { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.1; }
.site .kicker { color: var(--pink-on-dark); }
.timeline { margin: 0; padding: 0; list-style: none; }
.timeline li { display: flex; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line-soft); }
.timeline .t { width: 64px; flex-shrink: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.timeline .dive .t { color: var(--accent); }
.people dt { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .8px; text-transform: uppercase; }
.people dd { margin: 0 0 12px; font-size: 16px; }

.profile-head { display: flex; align-items: center; gap: 14px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 26px; overflow: hidden; flex-shrink: 0; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.details { margin: 0; }
.details > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line-soft); }
.details dt { color: var(--muted); flex-shrink: 0; }
.details dd { margin: 0; font-weight: 600; text-align: right; white-space: pre-line; overflow-wrap: anywhere; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tags span { background: #EEF1F5; border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 600; }

.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea { min-height: 48px; border: 1.5px solid #C9CED6; border-radius: 10px; padding: 10px 12px; background: #fff; font-size: 16px; width: 100%; }
.field textarea { min-height: 84px; resize: vertical; }
.field .hint { font-size: 13px; color: var(--muted); }
.error { background: #FDE7EA; color: #8A1C2B; border-radius: 10px; padding: 10px 12px; font-size: 15px; }

.signin { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.signin h1 { font-size: 40px; }
.signin h1 span { color: var(--accent); }

/* Applying to volunteer */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 360px) { .field-row { grid-template-columns: 1fr; } }
.role-card { display: flex; flex-direction: column; gap: 6px; text-align: left; width: 100%; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 18px; cursor: pointer; }
.role-card:hover, .role-card:focus-visible { border-color: var(--accent); }
.role-title { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.05; }
.role-blurb { font-size: 15px; color: var(--ink-2); line-height: 1.4; }
.progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.progress span { height: 6px; border-radius: 999px; background: var(--line); }
.progress span.on { background: var(--accent); }
.checks { border: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.checks legend { font-weight: 600; font-size: 15px; padding: 0; margin-bottom: 6px; }
.checks .hint { margin: -4px 0 4px; font-size: 13px; color: var(--muted); }
.check-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border: 1.5px solid #C9CED6; border-radius: 10px; background: #fff; cursor: pointer; font-size: 15px; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); flex-shrink: 0; margin: 0; }
.check:has(input:checked) { border-color: var(--accent); background: var(--pink-soft); }
.check-list { display: flex; flex-direction: column; gap: 8px; }
.check-row { width: 100%; }
.check-terms { width: 100%; align-items: flex-start; font-weight: 600; }
.check-terms input { margin-top: 2px; }
.terms summary { padding: 6px 0; }
.terms-text { font-size: 14px; line-height: 1.45; color: var(--ink-2); background: var(--bg); border-radius: 10px; padding: 4px 14px; margin-top: 6px; }
.terms-text ul { padding-left: 18px; margin: 6px 0 10px; }
.terms-text p { margin: 10px 0 4px; white-space: normal; }
.photo-row { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.photo-row .avatar { width: 56px; height: 56px; font-size: 22px; }
.next-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.4; }

.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(86px + env(safe-area-inset-bottom)); width: calc(100% - 32px); max-width: 528px; background: var(--ink); color: #fff; border-radius: 12px; padding: 14px 16px; font-size: 15px; font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,.25); z-index: 10; }

@media (min-width: 600px) {
  .app { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
}

/* Organising beach cleans */
.organised { display: flex; gap: 14px; align-items: flex-start; }
.poster-thumb { flex-shrink: 0; width: 92px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-soft); background: var(--bg); display: block; }
.poster-thumb img { display: block; width: 100%; height: auto; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.upload { position: relative; overflow: hidden; align-self: flex-start; }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.upload.is-busy { opacity: .7; cursor: progress; }
.upload:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Coordinators */
.banner-info { background: var(--info-bg); border-color: transparent; }
.banner-info p { color: var(--info-ink); }
.chip .count { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 4px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 12px; line-height: 20px; text-align: center; }
.btn-small { min-height: 40px; padding: 0 14px; font-size: 15px; }
.btn.is-armed { background: #B42318; color: #fff; border-color: #B42318; }
.person { display: flex; gap: 14px; align-items: flex-start; }
.avatar.avatar-sm { width: 56px; height: 56px; font-size: 20px; flex-shrink: 0; }
.app-list { list-style: none; margin: 0; padding: 0; }
.app-row { border-top: 1px solid var(--line-soft); padding: 12px 0; }
.app-row:first-child { border-top: none; padding-top: 4px; }
.card h4 { margin: 6px 0 0; font-size: 15px; color: var(--ink-2); }
.pill { white-space: nowrap; }
.linkbtn svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
a.linkbtn { text-decoration: none; display: inline-block; }
.dir-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.dir-row .btn { padding: 0 8px; gap: 6px; font-size: 15px; white-space: nowrap; min-width: 0; overflow: hidden; }
.dir-row .btn svg { flex-shrink: 0; }

/* Beach clean results */
.photo-strip { display: flex; flex-wrap: wrap; gap: 8px; }
.photo-strip:empty { display: none; }
.photo-thumb { position: relative; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: var(--bg); }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-thumb button { position: absolute; top: 2px; right: 2px; width: 26px; height: 26px; border-radius: 50%; border: none; background: rgba(21,24,30,.75); color: #fff; font-size: 16px; line-height: 26px; cursor: pointer; padding: 0; }
.field .label { font-weight: 600; font-size: 15px; }

/* People: directory and messages */
.nav-icon { position: relative; display: inline-flex; }
.nav-badge { position: absolute; top: -4px; right: -10px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.count { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; }
.search { width: 100%; min-height: 46px; padding: 0 14px; border: 1.5px solid #C9CED6; border-radius: 12px; font-size: 16px; background: #fff; }
.person-card { display: flex; flex-direction: column; gap: 10px; }
.person-card h3 { margin: 0; }
.person-action { display: flex; justify-content: flex-end; }
.convo { display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: inherit; text-decoration: none; border-top: 1px solid var(--line-soft); }
.convo:first-child { border-top: none; }
.convo-main { flex: 1; min-width: 0; }
.convo-preview { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.switch-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 6px 0; cursor: pointer; }
.switch-row > span { display: flex; flex-direction: column; gap: 2px; }
.switch-row.is-disabled { opacity: .55; cursor: default; }
.switch { appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 50px; height: 30px; border-radius: 15px; background: #C9CED6; position: relative; cursor: pointer; transition: background .15s; margin: 2px 0 0; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch:checked { background: var(--accent); }
.switch:checked::after { transform: translateX(20px); }
.switch:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.chat-note { margin: 0; }
.chat-log { display: flex; flex-direction: column; gap: 6px; }
.chat-day { align-self: center; font-size: 12px; color: var(--muted); margin: 8px 0 2px; }
.bubble { max-width: 82%; padding: 8px 12px; border-radius: 16px; display: flex; flex-direction: column; gap: 2px; }
.bubble p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; line-height: 1.4; }
.bubble span { font-size: 11px; opacity: .7; align-self: flex-end; }
.bubble.theirs { align-self: flex-start; background: #fff; border: 1px solid var(--line-soft); border-bottom-left-radius: 4px; }
.bubble.mine { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.composer { display: flex; gap: 8px; align-items: flex-end; }
.composer textarea { flex: 1; min-height: 46px; max-height: 160px; padding: 10px 12px; border: 1.5px solid #C9CED6; border-radius: 12px; font: inherit; font-size: 16px; resize: vertical; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tabbar a { font-size: 12px; }

/* News */
.news-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.news-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; }
.news .news-gallery img { height: auto; aspect-ratio: 1; }

/* Other events (Zoom calls, meet-ups) */
.datebox-event { background: #DCEBF5; color: var(--ink); }
.datebox-event .w { color: #1F5F8B; }
.tag-event { background: #DCEBF5; color: #1F4E70; }
.banner-invite { background: #DCEBF5; border-color: transparent; }
.banner-invite p { color: #1F4E70; }
.event-details { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-2); white-space: pre-line; }
[data-format="Online"] [data-show="In person"], [data-format="In person"] [data-show="Online"] { display: none; }
.guest-list { margin: 4px 0 0; padding: 0; list-style: none; columns: 2; column-gap: 16px; font-size: 15px; }
.guest-list li { padding: 3px 0; break-inside: avoid; }
.invite-people { max-height: 340px; overflow-y: auto; padding-right: 2px; }
.invite-person[aria-disabled="true"] { opacity: .6; cursor: default; }
.invite-count { margin: 4px 0 0; }
.chips-tight .chip { padding: 0 11px; font-size: 14px; }

/* Help chat */
.topbar-help { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid #4A515D; color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; }
.topbar-help:hover, .topbar-help[aria-current="page"] { background: #2A2F38; color: #fff; }
.topbar-help svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.suggest { text-align: left; min-height: 44px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid #C9CED6; background: #fff; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; }
.suggest:hover { border-color: var(--accent); }
.bubble.thinking p { color: var(--muted); font-style: italic; }
.help-escalate summary { cursor: pointer; min-height: 32px; list-style: none; color: var(--ink); }
.help-escalate summary::-webkit-details-marker { display: none; }
.help-escalate summary strong::after { content: ' ›'; color: var(--accent); }
.help-escalate[open] summary strong::after { content: ''; }

/* Profile photo */
.avatar-wrap { position: relative; flex-shrink: 0; }
.avatar-wrap.is-busy .avatar { opacity: .5; }
.avatar-badge { position: absolute; right: -2px; bottom: -2px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); border: 2px solid var(--bg); display: flex; align-items: center; justify-content: center; pointer-events: none; }
.avatar-badge svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.photo-actions { display: flex; gap: 16px; align-items: center; }
.photo-actions .linkbtn { display: inline-flex; align-items: center; min-height: 40px; padding: 0; margin: 0; line-height: 1; cursor: pointer; }
.linkbtn-quiet { color: var(--muted); font-weight: 600; }
.is-armed-text { color: #B42318; }
