/* Expedice Akát visual language: radio-navy, signal red, brass gold and an open camp. */
:root {
  color-scheme: light;
  --bg: #edf1f3;
  --surface: #ffffff;
  --surface-2: #e8eef1;
  --ink: #193043;
  --muted: #7d8e98;
  --line: #dfe7eb;
  --green: #467c70;
  --green-dark: #17354a;
  --green-light: #e9f2ef;
  --yellow: #e6ad43;
  --peach: #be574b;
  --radius: 13px;
  --shadow: 0 3px 13px rgba(25, 48, 67, .055);
  --serif: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
  background-color: var(--bg);
  background-image: linear-gradient(rgba(26, 55, 73, .027) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 55, 73, .027) 1px, transparent 1px);
  background-size: 34px 34px;
  font-size: 13px;
}

.topbar {
  height: 68px;
  background: #132b3e;
  border-bottom-color: #264153;
  color: #f5f7f7;
  gap: 22px;
}
.nav-clock { display: none; align-items: center; gap: 7px; min-width: 0; padding: 0 9px; border-left: 1px solid rgba(227,238,241,.18); color: #f4f7f7; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nav-clock-time { color: #fff; font: 650 13px/1.2 'Segoe UI', system-ui, sans-serif; letter-spacing: .01em; }
.nav-clock-meta { display: flex; align-items: center; gap: 6px; color: #bfd0d8; font-size: 10px; line-height: 1.2; white-space: nowrap; }
.nav-clock-date { text-transform: capitalize; }
.nav-clock-zone { color: #efbd58; font: 700 9px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; }
.nav-session { display: grid; min-width: 90px; gap: 3px; padding-right: 8px; border-right: 1px solid rgba(227,238,241,.18); }
.nav-session-label { color: #d7e5e7; font: 600 9px/1.1 'Segoe UI',system-ui,sans-serif; }
.nav-session-progress { display: block; width: 90px; height: 4px; overflow: hidden; border: 0; border-radius: 5px; background: rgba(220,235,237,.2); accent-color: #e6b85d; }
.nav-session-progress::-webkit-progress-bar { border-radius: 5px; background: rgba(220,235,237,.2); }
.nav-session-progress::-webkit-progress-value { border-radius: 5px; background: linear-gradient(90deg,#6fae92,#efbd58); }
.nav-session-progress::-moz-progress-bar { border-radius: 5px; background: linear-gradient(90deg,#6fae92,#efbd58); }
.chat-dock { position: fixed; right: 20px; bottom: 20px; z-index: 28; font-size: 14px; }
.chat-dock-launcher { min-height: 46px; display: inline-flex; align-items: center; gap: 9px; padding: 0 17px; border: 1px solid #274f5d; border-radius: 24px; background: #17394a; color: #fff; box-shadow: 0 8px 28px rgba(18,43,57,.25); font: 650 13px/1 'Segoe UI',system-ui,sans-serif; cursor: pointer; }
.chat-dock-launcher > span { color: #efbd58; font-size: 16px; }
.chat-dock-launcher b { min-width: 19px; padding: 3px 5px; border-radius: 10px; background: #d99067; color: white; font-size: 10px; text-align: center; }
.chat-dock-panel { width: min(370px,calc(100vw - 30px)); height: min(480px,calc(100dvh - 110px)); display: flex; flex-direction: column; overflow: hidden; border: 1px solid #dbe4e7; border-radius: 16px; background: #fff; box-shadow: 0 12px 42px rgba(21,44,58,.23); }
.chat-dock-panel[hidden] { display: none; }
.chat-dock-header { min-height: 48px; display: flex; align-items: center; gap: 7px; padding: 0 11px; border-bottom: 1px solid #e4eaec; background: #17394a; color: white; }
.chat-dock-header strong { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.chat-dock-header button { width: 30px; height: 30px; border: 0; border-radius: 8px; background: rgba(255,255,255,.09); color: white; font: 20px/1 sans-serif; cursor: pointer; }
.chat-dock-header button[hidden] { display: none; }
.chat-dock-header #chat-dock-call { background: rgba(115,183,145,.22); color: #c8edcf; font-size: 16px; }
.chat-dock-header #chat-dock-video { background: rgba(230,173,67,.2); color: #ffe3a3; font-size: 16px; }
.chat-dock-body { min-height: 0; flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.chat-dock-friends-heading { display: flex; align-items: center; justify-content: space-between; padding: 11px 13px 7px; color: #496575; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.chat-dock-friends-heading span { min-width: 21px; padding: 3px 6px; border-radius: 10px; background: #eaf2ef; color: #38796e; text-align: center; font-size: 10px; }
.chat-dock-search-wrap { display: flex; align-items: center; gap: 7px; margin: 0 11px 7px; padding: 0 10px; border: 1px solid #dfe7e9; border-radius: 10px; background: #f8faf9; color: #80929a; }
.chat-dock-search-wrap input { width: 100%; min-width: 0; height: 36px; border: 0; outline: 0; background: transparent; color: #294758; font: 12px/1.2 'Segoe UI',system-ui,sans-serif; }
.chat-dock-search-wrap:focus-within { border-color: #78a99a; box-shadow: 0 0 0 3px rgba(83,145,127,.11); }
.chat-dock-list { display: grid; }
.chat-dock-person { width: 100%; display: flex; align-items: center; gap: 9px; padding: 10px 13px; border: 0; border-bottom: 1px solid #edf1f2; background: white; color: #294758; text-align: left; cursor: pointer; }
.chat-dock-person:hover { background: #f3f7f6; }
.chat-dock-person-copy { min-width: 0; flex: 1; display: grid; gap: 3px; }
.chat-dock-person-copy strong,.chat-dock-person-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-dock-person-copy strong { font-size: 12px; }
.chat-dock-person-copy small { color: #83939a; font-size: 10px; }
.chat-dock-messages { height: 100%; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; padding: 12px; background: #f7f9f9; }
.chat-dock-message { max-width: 86%; align-self: flex-start; padding: 8px 10px; border: 1px solid #e3e9eb; border-radius: 12px 12px 12px 3px; background: white; color: #304e5b; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.chat-dock-message.own { align-self: flex-end; border-color: #d5e8df; border-radius: 12px 12px 3px 12px; background: #e9f3ee; }
.chat-dock-message time { display: block; margin-top: 4px; color: #8a999e; font-size: 9px; text-align: right; }
.chat-dock-empty { margin: auto; padding: 24px; color: #748890; text-align: center; font-size: 12px; }
.chat-dock-compose { display: flex; gap: 7px; padding: 9px; border-top: 1px solid #e4eaec; background: white; }
.chat-dock-compose .chat-dock-attach { width: 38px; height: 38px; flex: 0 0 38px; border: 1px solid #dfe7e9; border-radius: 50%; background: #f0f5f4; color: #315a6a; font-size: 21px; cursor: pointer; }
.chat-dock-compose input { min-width: 0; flex: 1; height: 38px; padding: 0 11px; border: 1px solid #dfe7e9; border-radius: 19px; color: #294758; font: inherit; }
.chat-dock-compose input[type="file"] { display: none; }
.chat-dock-compose button { width: 38px; height: 38px; border: 0; border-radius: 50%; background: #2e6e68; color: #fff; font-size: 17px; cursor: pointer; }
.chat-dock-compose button.chat-dock-attach { width: 38px; height: 38px; flex: 0 0 38px; border: 1px solid #dfe7e9; border-radius: 50%; background: #f0f5f4; color: #315a6a; font-size: 21px; cursor: pointer; }
.chat-dock-compose button.chat-dock-mic { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border: 1px solid #dfe7e9; border-radius: 50%; background: #f0f5f4; color: #315a6a; }
.chat-dock-mic svg,.audio-record-tool svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chat-dock-pending-files { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; padding: 7px 10px; border-top: 1px solid #edf1f2; background: #f9fbfa; color: #67818b; font-size: 10px; }
.chat-dock-pending-files > span { max-width: 100%; overflow: hidden; padding: 3px 5px 3px 7px; border-radius: 10px; background: #e9f1ef; text-overflow: ellipsis; white-space: nowrap; }
.chat-dock-pending-files button { margin-left: 4px; border: 0; background: transparent; color: #8b6255; cursor: pointer; }
.chat-dock-pending-files small { margin-left: auto; white-space: nowrap; }
.chat-dock-compose button:disabled { opacity: .5; }
.youtube-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 12px 0; overflow: hidden; border-radius: 12px; background: #102536; }
.youtube-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.youtube-open-link { display: inline-flex; align-items: center; min-height: 32px; margin: -4px 0 8px; color: #2f726a; font-size: 12px; font-weight: 650; text-decoration: none; }
.youtube-open-link:hover { text-decoration: underline; }
.youtube-hint { grid-column: 1 / -1; margin: -3px 0 3px; color: #7b8e95; font-size: 11px; line-height: 1.4; }
.mobile-menu-toggle { display: none; }
.mobile-menu { position: fixed; top: 88px; left: 0; right: 0; z-index: 32; max-height: calc(100dvh - 150px); overflow-y: auto; padding: 12px 16px 18px; border-bottom: 1px solid #d7e1e4; background: #fdfefe; box-shadow: 0 12px 26px rgba(17,42,55,.18); }
.mobile-menu[hidden] { display: none; }
.mobile-menu-heading { display: flex; align-items: center; justify-content: space-between; padding: 2px 0 9px; color: #27485a; }
.mobile-menu-heading strong { font-size: 14px; }
.mobile-menu-heading button { width: 34px; height: 34px; border: 0; border-radius: 9px; background: #eef2f3; color: #385666; font-size: 21px; }
.mobile-menu-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.mobile-menu-link { min-height: 43px; display: flex; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid #e1e8ea; border-radius: 10px; background: #fff; color: #385666; text-align: left; font-size: 12px; font-weight: 650; }
.mobile-menu-link.active { border-color: #9abdb2; background: #edf5f2; color: #256b63; }
.mobile-menu-link span:first-child { width: 19px; text-align: center; font-size: 17px; }
.mobile-menu-search { display: grid; gap: 5px; margin-top: 11px; color: #738690; font-size: 11px; }
.mobile-menu-search input { min-height: 39px; padding: 0 11px; border: 1px solid #dfe7e9; border-radius: 9px; color: #294758; }
.brand { color: #f5f7f7; font-size: 19px; letter-spacing: -.65px; }
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #203c4e;
  color: #efb64e;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 23px;
  font-weight: 650;
  line-height: 1;
}
.brand-mark svg { display: block; width: 26px; height: 26px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark svg circle { fill: currentColor; stroke: none; }
.brand-dot { color: #e9b14d; }
/* Place the search beside the brand so the longer navigation can use its own column. */
@media (min-width: 900px) {
  .topbar { grid-template-columns: max-content minmax(190px, min(22vw, 320px)) minmax(0, 1fr) max-content; gap: clamp(12px, 1.4vw, 25px); }
  .brand { white-space: nowrap; }
  .search-box { min-width: 0; }
  .top-nav { min-width: 0; justify-content: center; gap: 0; }
  .top-nav .nav-tab { min-width: 78px; padding-inline: 8px; }
}
@media (min-width: 1500px) { .nav-clock { display: flex; } }
@media (min-width: 1500px) {
  .topbar { position: sticky; }
  .top-nav { align-self: end; height: 48px; }
  .nav-clock { position: absolute; top: 8px; right: clamp(280px, 16vw, 340px); border-left: 0; padding: 0; }
}
@media (max-width: 899px) { .chat-dock { right: 14px; bottom: 76px; } }
@media (max-width: 899px) {
  .topbar { height: 88px; grid-template-columns: 1fr auto; align-items: start; padding-top: 8px; }
  .brand { align-self: start; margin-top: 1px; }
  .top-nav, .search-box { display: none; }
  .top-actions { align-self: start; gap: 6px; }
  .mobile-menu-toggle { display: grid; width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,.08); color: #f5f7f7; font-size: 18px; }
  .nav-clock { position: absolute; top: 57px; left: 50%; display: flex; gap: 6px; transform: translateX(-50%); border: 0; padding: 0; }
  .nav-clock-time { font-size: 12px; }
  .nav-clock-meta { font-size: 9px; }
  .nav-clock-zone { font-size: 8px; }
  .nav-session { min-width: 60px; gap: 3px; padding-right: 6px; }
  .nav-session-label { font-size: 8px; }
  .nav-session-progress { width: 60px; height: 3px; }
  .mobile-menu { top: 88px; }
}
@media (max-width: 440px) { .mobile-search-toggle { display: none; } .mobile-menu { padding-inline: 12px; } .nav-clock-meta { gap: 4px; } }
@media (max-width: 680px) { .chat-dock { right: 12px; bottom: 72px; } .chat-dock-panel { width: min(390px,calc(100vw - 24px)); height: min(68dvh,520px); } .chat-dock-launcher { min-height: 42px; padding-inline: 14px; } }

.funding-nav-link { margin-top: 4px; }
.forgot-password { display: block; margin: 6px 0 12px auto; border: 0; padding: 4px 0; background: transparent; color: var(--green); font: inherit; font-size: 13px; cursor: pointer; }
.forgot-password[hidden] { display: none; }
.success-message { color: var(--green) !important; }
.funding-admin-settings form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.funding-admin-settings form label { display: grid; gap: 5px; color: var(--muted); }
.funding-admin-settings input { min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; font: inherit; }
@media (max-width: 600px) { .funding-admin-settings form { grid-template-columns: 1fr; } }
.funding-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: clamp(22px, 4vw, 38px); }
.funding-card > h2 { margin: 12px 0 4px; color: var(--ink); font-size: 24px; }
.funding-card > p { color: var(--muted); }
.funding-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; color: #815d17; background: #fff3d8; font: 700 18px ui-monospace, monospace; }
.donation-amounts { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin: 22px 0; }
.donation-amount, .donation-custom input { min-height: 46px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink); padding: 0 18px; font: inherit; }
.donation-amount { cursor: pointer; font-weight: 700; }
.donation-amount:hover, .donation-amount.selected { border-color: var(--green); background: var(--green-light); color: var(--green-dark); }
.donation-custom { display: grid; gap: 5px; color: var(--muted); font-size: 12px; }
.donation-custom input { width: 140px; }
.funding-payment { display: flex; align-items: center; gap: 24px; margin: 18px 0 8px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #f8faf9; }
.funding-payment > div { display: grid; gap: 6px; }
.funding-payment code { color: var(--green-dark); overflow-wrap: anywhere; }
.donation-qr { width: 180px; height: 180px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.funding-hint, .funding-not-configured { color: var(--muted); font-size: 13px; }
.funding-not-configured { display: grid; gap: 6px; padding: 18px; border-radius: 12px; background: #f8f5ee; }
.funding-not-configured strong { color: var(--ink); }
.supporter-callout { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; padding: 20px; border: 1px solid #e8dfcb; border-radius: 14px; background: #fcfaf5; }
.supporter-callout h3 { margin: 0 0 5px; color: var(--ink); }
.supporter-callout p { max-width: 600px; margin: 0; color: var(--muted); line-height: 1.55; }
.supporter-status { white-space: nowrap; color: var(--green); font-weight: 700; }
.supporter-status.pending { color: #956d25; }
@media (max-width: 600px) { .funding-payment, .supporter-callout { align-items: stretch; flex-direction: column; } .donation-qr { width: min(100%, 220px); height: auto; aspect-ratio: 1; align-self: center; } }
.search-box { background: #1d374a; border-color: #2d4758; color: #c5d2da; }
.search-box:focus-within { border-color: #82aaa1; background: #213d50; }
.search-box input { color: white; }
.search-box input::placeholder { color: #a7b7c1; }
.nav-tab { color: #aab9c2; }
.nav-tab:hover, .nav-tab.active { color: #fff; }
.nav-tab.active:after { background: #eab34d; }
.nav-badge { background: #c7534b; }
.icon-btn { color: #d6dfe4; }
.icon-btn:hover { background: #254154; }
.icon-btn i { border-color: #132b3e; background: #e7ad45; }
.profile-chevron { color: #9db0bb; }
.avatar { border: 2px solid rgba(255, 255, 255, .72); }

.layout { padding-top: 25px; gap: 23px; }
.sidebar-profile:hover { background: #fff; border-color: #d9e3e8; }
.sidebar-section-label, .eyebrow {
  color: #798c98;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .65px;
}
.side-link { color: #536673; }
.side-link:hover, .side-link.selected { background: #e2eaed; color: #173b51; }
.side-icon { border-radius: 8px; }
.side-icon-green { background: #e1eeeb; color: #34786e; }
.side-icon-amber { background: #f6ebd6; color: #a2782e; }
.side-icon-lilac { background: #e8edf3; color: #5c7690; }
.side-icon-peach { background: #f5e7e3; color: #b7554b; }
.side-count, .tiny-online-count { background: #e1eeeb; color: #3c766a; }
.sidebar-inner>.sidebar-section-label { margin-top: 24px; }
.up-next { border-color: #dee6e8; background: #f8faf9; }
.up-next-icon { background: #f4ead5; color: #9b762f; }
.up-next strong { color: #274559; font-size: 9px; }
.up-next small { color: #778994; }
.sidebar-bottom, .sidebar-bottom a { color: #82939d; }

.feed-heading h1, .people-heading h1, .message-title h1 {
  color: #19394e;
  font-size: 29px;
  font-weight: 650;
  letter-spacing: -.85px;
}
.feed-heading h1 em, .people-heading h1 em, .message-title h1 em { color: #3f7c74; }
.feed-heading .eyebrow, .people-heading .eyebrow, .message-title .eyebrow { color: #69838f; }
.feed-greeting { color: #72848d; }
.signal-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 13px; vertical-align: -2px; }
.signal-bars i { display: block; width: 3px; border-radius: 3px; background: #dca43e; }
.signal-bars i:nth-child(1) { height: 4px; }
.signal-bars i:nth-child(2) { height: 6px; }
.signal-bars i:nth-child(3) { height: 8px; }
.signal-bars i:nth-child(4) { height: 10px; }
.signal-bars i:nth-child(5) { height: 13px; }

.story-card {
  height: 98px;
  border: 1px solid rgba(31, 57, 73, .1);
  box-shadow: inset 0 -24px 24px rgba(16, 39, 57, .12);
}
.story-card:nth-child(1) { background: linear-gradient(145deg, #e3eceb, #a8c1be); }
.story-card:nth-child(2) { background: linear-gradient(145deg, #e8e9ec, #bac5d0); }
.story-card:nth-child(3) { background: linear-gradient(145deg, #f4ead8, #ddca9e); }
.story-card:nth-child(4) { background: linear-gradient(145deg, #e5e9e1, #b5c4ae); }
.story-card .story-deco { color: #254c61; opacity: .58; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.story-card .story-leaf { color: #245b63; font-size: 38px; letter-spacing: -8px; opacity: .23; transform: none; }
.story-user { outline: 2px solid rgba(255,255,255,.83); outline-offset: 1px; border: 1px solid #244354; box-shadow: 0 2px 7px #10273830; }
.story-label { color: #17364a; text-shadow: 0 1px 6px white; font-size: 9px; letter-spacing: .1px; }
.story-brand { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 5px; padding: 4px; border-color: #b9cbd0; background: radial-gradient(circle at 50% 25%,#35586a,#17364a 72%) !important; box-shadow: inset 0 0 0 1px #ffffff12, 0 3px 10px #17364a20; }
.story-brand:hover { box-shadow: inset 0 0 0 1px #ffffff25, 0 7px 16px #17364a30; }
.story-brand img { display: block; flex: 0 0 auto; width: min(44%,86px); height: 82px; object-fit: contain; filter: drop-shadow(0 3px 5px #071b2870); }
.story-brand-copy { display: grid; min-width: 0; gap: 1px; justify-items: start; text-align: left; }
.story-brand-copy > strong { color: #fff4da; font-size: 12px; font-weight: 750; letter-spacing: -.15px; }
.story-brand-copy > small { color: #d9e5e7; font-size: 8px; line-height: 1.2; }
.story-brand-action { display: flex; align-items: center; justify-content: flex-start; gap: 4px; margin-top: 2px; color: #f4e3bc; font-size: 7px; font-weight: 700; letter-spacing: .05px; line-height: 14px; white-space: nowrap; }
.story-brand-action i { display: grid; width: 14px; height: 14px; place-items: center; border-radius: 50%; background: #e9b24e; color: #18384b; font-size: 12px; font-style: normal; line-height: 1; }

.composer, .post-card, .online-panel, .person-card, .message-layout {
  border-color: #dce5e9;
  box-shadow: 0 2px 9px rgba(25, 48, 67, .045);
}
.composer { border-radius: 13px; }
.composer-trigger, .composer-editor textarea, .comment-form input, .conversation-search, .chat-composer input {
  background: #f7f9fa;
  border-color: #dfe7ea;
  color: #29495a;
}
.composer-trigger:hover, .composer-open .composer-trigger { background: #f1f6f5; border-color: #bfd4cf; }
.composer-trigger, .composer-editor textarea, .comment-form input, .chat-composer input { border-radius: 9px; }
.composer-flower { color: #b98a37; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 20px; }
.composer-tools { border-top-color: #e8edef; }
.tool-btn { color: #607480; }
.tool-btn:hover { background: #eef3f4; }
.tool-icon { color: #44847b; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.tool-btn:nth-child(2) .tool-icon { color: #358478; }
.tool-btn:nth-child(3) .tool-icon { color: #ad7b2b; }
.feed-sort-label { color: #446477; }
.feed-sort-select { background: #e5ecee; color: #526b77; }

.post-card { border-radius: 13px; }
.post-author-details strong { color: #233e50; }
.post-author-details time { color: #8a9aa2; }
.post-location { color: #8799a2; }
.post-owner-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; flex: 0 0 auto; }
.post-owner-actions button { padding: 5px 7px; border: 0; border-radius: 7px; background: transparent; color: #52717e; font-family: inherit; font-size: 11px; font-weight: 600; line-height: 1.2; cursor: pointer; }
.post-owner-actions button:hover { background: #eef4f3; }
.post-owner-actions button.danger { color: #a94f43; }
.post-inline-editor { display: grid; gap: 10px; margin: 12px 0; padding: 13px; border: 1px solid #dce7e8; border-radius: 12px; background: #f8faf9; }
.post-inline-editor label { display: grid; gap: 5px; color: #536d79; font-size: 12px; font-weight: 650; }
.post-inline-editor textarea { min-height: 84px; padding: 9px 11px; border: 1px solid #dce5e8; border-radius: 9px; background: white; color: #29495a; font: inherit; resize: vertical; }
.post-inline-editor input,.post-inline-editor select { width: 100%; min-width: 0; height: 38px; padding: 0 10px; border: 1px solid #dce5e8; border-radius: 9px; background: white; color: #29495a; font: inherit; }
.post-edit-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.invalidated-post { margin: 12px 0 0; padding: 12px; border-radius: 10px; background: #f3f4f0; color: #77868a; font-size: 13px; }
.post-location-field,.group-post-location-field { display: grid; grid-column: 1/-1; gap: 5px; color: #607783; font-size: 12px; font-weight: 650; }
.post-location-field input,.group-post-location-field input { width: 100%; min-width: 0; height: 38px; padding: 0 11px; border: 1px solid #dfe7ea; border-radius: 9px; background: #fff; color: #29495a; font: inherit; }
.post-location-hint { grid-column: 1/-1; color: #819198; font-size: 10px; line-height: 1.4; }
.post-attachment-list { display: grid; gap: 6px; margin: 8px 0 10px; }
.post-attachment-item { display: flex; min-width: 0; align-items: center; gap: 9px; padding: 8px 10px; border: 1px solid #dce7e8; border-radius: 10px; background: #f7faf9; color: #365365; }
.post-attachment-icon { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; border-radius: 9px; background: #e7f0ed; color: #39776e; font-size: 16px; }
.post-attachment-copy { display: grid; min-width: 0; flex: 1; gap: 2px; }
.post-attachment-copy strong { overflow: hidden; color: #365365; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.post-attachment-copy small { color: #829299; font-size: 10px; }
.post-attachment-item > button { width: 28px; height: 28px; flex: 0 0 28px; border: 0; border-radius: 50%; background: #edf1ef; color: #8b6255; font-size: 18px; cursor: pointer; }
.post-upload-status { display: flex; align-items: center; gap: 9px; margin: 8px 0 10px; padding: 9px 11px; border: 1px solid #d8e6e2; border-radius: 10px; background: #f4f9f7; color: #426c66; font-size: 11px; }
.post-upload-status progress { width: 100%; height: 8px; flex: 1; accent-color: #43877b; }
.post-upload-percent { min-width: 36px; color: #315b56; font-weight: 700; text-align: right; }
.audio-recorder-panel { display: flex; align-items: center; gap: 10px; margin: 8px 0; padding: 10px 12px; border: 1px solid #e3d8c5; border-radius: 12px; background: linear-gradient(110deg,#fffaf0,#f5f8f5); color: #415b64; }
.audio-recorder-panel[hidden] { display: none; }
.audio-recorder-live { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; color: #9d5247; font-size: 11px; font-weight: 700; }
.audio-recorder-live i { width: 9px; height: 9px; border-radius: 50%; background: #d06a57; box-shadow: 0 0 0 0 rgba(208,106,87,.35); animation: audio-record-pulse 1.35s ease-out infinite; }
@keyframes audio-record-pulse { 65% { box-shadow: 0 0 0 7px rgba(208,106,87,0); } 100% { box-shadow: 0 0 0 0 rgba(208,106,87,0); } }
.audio-recorder-progress { height: 7px; min-width: 40px; flex: 1; overflow: hidden; border-radius: 99px; background: #e8e9df; }
.audio-recorder-progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#c99542,#d06a57); transition: width .2s linear; }
.audio-recorder-clock { flex: 0 0 auto; color: #49656e; font: 650 11px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace; font-variant-numeric: tabular-nums; white-space: nowrap; }
.audio-recorder-panel > button { min-height: 31px; padding: 0 10px; border: 1px solid #dbe5e4; border-radius: 9px; background: #fff; color: #315a6a; font-size: 10px; font-weight: 650; line-height: 1; cursor: pointer; }
.audio-recorder-panel > .audio-recorder-stop { border-color: #a44e43; background: #a44e43; color: #fff; }
.audio-recorder-panel > button:disabled { opacity: .5; cursor: wait; }
.audio-record-tool .tool-icon { display: inline-grid; place-items: center; }
.dock-audio-recorder { margin: 7px 9px 0; flex-wrap: wrap; gap: 7px; padding: 8px; }
.dock-audio-recorder .audio-recorder-live { font-size: 10px; }
.dock-audio-recorder .audio-recorder-progress { flex-basis: 70px; }
.dock-audio-recorder > button { min-height: 29px; }
.post-card .media-image-wrap,.group-feed-post .media-image-wrap { display: flex; width: 100%; justify-content: center; margin: 10px 0; overflow: hidden; border-radius: 10px; background: #f0f2ef; }
.post-card .post-image,.group-feed-post .post-image { display: block; width: auto; max-width: 100%; height: auto; max-height: min(72vh,720px); margin: 0; object-fit: contain; }
.post-body { color: #435663; }
.post-more { color: #7a8c95; }
.post-actions { border-bottom-color: #e8edef; }
.post-action { color: #70818b; }
.post-action:hover { background: #edf3f4; color: #34776e; }
.post-action.liked, .post-action.liked .action-icon { color: #c5534d; }
.post-comment-list { padding-block: 10px; }
.comment-content { background: #f1f5f5; color: #4d626d; }
.comment-content strong { color: #28485a; }
.comment-form button { background: #e3efed; color: #39796e; }
.comment-form input:focus, .composer-editor textarea:focus, .chat-composer input:focus { border-color: #86ada4; }
.btn-primary { background: #234e62; box-shadow: 0 2px 5px #173c521a; }
.btn-primary:hover { background: #173d51; box-shadow: 0 4px 9px #173c5224; }
.btn-soft-green { background: #e4f0ed; color: #33776b; }
.btn-soft-green:hover { background: #d8e9e5; }
.btn-soft-neutral { background: #edf0f1; color: #60717b; }
.btn-soft-neutral:hover { background: #e3e9eb; }
.btn-requested { background: #edf1f1; color: #71828a; }
.empty-state { border-color: #dce5e9; }
.empty-state h2 { color: #274559; }
.empty-state p, .empty-online { color: #7b8d96; }

.online-panel { border-radius: 12px; }
.panel-title { color: #284559; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 9px; letter-spacing: .4px; }
.live-pulse, .presence-dot.online { background: #5b9e7c; }
.live-pulse { box-shadow: 0 0 0 3px #e8f1eb; }
.presence-dot.online { box-shadow: 0 0 0 2px #e6f0e9; }
.online-pill { background: #e7f0ec; color: #3a786a; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.online-entry { border-bottom-color: #e9eef0; }
.online-entry-copy strong { color: #314f61; }
.online-entry-copy small { color: #87969c; }
.online-chat:hover { background: #e7f0ec; color: #3c786f; }
.online-see-all { border-top-color: #e8edef; }
.see-all-link { color: #34766d; }

.group-card { border-color: #dce4e6; border-radius: 16px; overflow: hidden; background: #f8faf9; }
.group-card-art { height: auto; overflow: hidden; border-radius: 15px 15px 0 0; background: #e7ecee; line-height: 0; }
.group-card-art:before, .group-card-art:after { display: none; }
.group-card-art > img { position: relative; inset: auto; display: block; width: 100%; height: auto; object-fit: initial; object-position: center; border-radius: inherit; opacity: 1; }
.group-card-body { padding: 13px 14px 12px; }
.group-card-body .eyebrow { color: #82703c; font-size: 8px; }
.group-card-body h3 { color: #1b4052; font-size: 19px; font-weight: 650; }
.group-card-body > p { color: #70818a; }
.group-members { border-top-color: #e3e9e9; color: #778990; }
.group-members strong { color: #326f67; }
.group-avatar-stack .avatar { border-color: #f8faf9; }
.right-note { border: 1px solid #dee6e7; background: #f8faf9; color: #637781; font-family: var(--sans); font-style: normal; }
.signal-seal { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #e3c580; border-radius: 50%; background: #f7efdc; color: #8d6a25; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 14px; font-weight: 750; }
.note-seal { width: 32px; height: 32px; font-size: 12px; }
.right-footer { color: #88979d; }
.right-footer a { color: #47776f; }

.people-online-counter { background: #e7f0ec; color: #3b786c; }
.people-filter-tabs { background: #e8edef; }
.filter-tab { color: #687d86; }
.filter-tab.active { color: #25495d; }
.person-card-main strong { color: #294659; }
.person-card-main small { color: #809098; }
.person-card-bio { color: #657983; }

.message-layout { border-radius: 13px; }
.conversation-sidebar, .conversation-heading, .conversation-item { border-color: #e3eaec; }
.conversation-heading h2 { color: #244559; }
.conversation-item:hover, .conversation-item.active { background: #eff4f4; }
.conversation-item-copy strong, .chat-header-copy strong { color: #28465a; }
.chat-header-copy small { color: #738b91; }
.chat-safety-menu { position: relative; flex: 0 0 auto; }
.chat-safety-menu > summary { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #e2d8c9; border-radius: 8px; background: #fffaf2; color: #875932; font-size: 17px; cursor: pointer; list-style: none; }
.chat-safety-menu > summary::-webkit-details-marker { display: none; }
.chat-safety-menu[open] > summary { background: #f5ead7; }
.chat-safety-popover { position: absolute; z-index: 60; top: calc(100% + 8px); right: 0; width: max-content; min-width: 220px; padding: 6px; border: 1px solid #dce5e7; border-radius: 10px; background: #fff; box-shadow: 0 12px 32px rgba(19,43,62,.2); }
.chat-safety-popover button { width: 100%; min-height: 40px; padding: 9px 11px; border: 0; border-radius: 7px; background: transparent; color: #29485a; font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.chat-safety-popover button:hover, .chat-safety-popover button:focus-visible { background: #f1f5f5; }
.chat-safety-popover button:first-child { color: #9a493e; }
.message-bubble { border-color: #e0e8e9; background: #fafcfc; color: #506671; }
.message-row.own .message-bubble { border-color: #d2e6df; background: #e8f2ee; color: #355b53; }
.chat-composer { border-top-color: #e4ebed; }
.chat-composer button { background: #244f62; }
.chat-empty > strong { color: #294e5e; }
.mobile-nav { border-top-color: #2a4150; background: rgba(19, 43, 62, .98); }
.mobile-nav > button { color: #b1c0c9; }
.mobile-nav > button.active { color: #f0bb56; }
.mobile-search-toggle { color: #dce5e9; }
.topbar.search-open .search-box { color: #536b75; }

.auth-screen { background: #f7f9fa; }
.auth-picture {
  isolation: isolate;
  background:
    radial-gradient(ellipse at 73% 48%, rgba(42, 91, 108, .53), transparent 31%),
    radial-gradient(ellipse at 76% 54%, rgba(226, 171, 65, .14), transparent 34%),
    linear-gradient(145deg, #102536 0%, #18374b 60%, #112b3b 100%);
}
.auth-picture:before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(192, 218, 218, .038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 218, 218, .038) 1px, transparent 1px),
    repeating-radial-gradient(circle at 76% 49%, transparent 0 38px, rgba(157, 195, 191, .12) 39px 40px, transparent 41px 72px);
  background-size: 31px 31px, 31px 31px, auto;
  content: "";
  pointer-events: none;
}
.auth-picture:after {
  right: -140px;
  bottom: -230px;
  border-color: rgba(234, 183, 80, .18);
  box-shadow: 0 0 0 45px rgba(234, 183, 80, .045), 0 0 0 100px rgba(234, 183, 80, .035);
}
.brand-inverse .brand-mark { background: #254459; color: #f0bb56; }
.brand-inverse .brand-dot, .heading-dot { color: #f0bb56; }
.eyebrow-white { color: #b9d7d4; }
.eyebrow-white .live-pulse { background: #77bb91; box-shadow: 0 0 0 3px rgba(119, 187, 145, .19); }
.auth-picture-copy { max-width: 530px; }
.auth-picture-copy h1 { font-size: clamp(43px, 5vw, 64px); letter-spacing: -1.7px; }
.auth-picture-copy > p { max-width: 420px; color: #d3e0e4; }
.auth-quote { padding-top: 15px; border-top: 1px solid rgba(232, 196, 125, .26); }
.auth-quote strong { color: #fbf4e8; }
.auth-quote > div:last-child > span { color: #a8c0c6; }
.auth-quote .signal-seal { border-color: #5e806f; background: #284d4b; color: #f1bf60; }
.auth-photo-credit { color: #d9c894; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 9px; letter-spacing: .75px; }
.auth-panel { background: #f8fafb; }
.auth-panel-top { color: #748992; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; }
.brand-image { width: 46px; height: 46px; flex: 0 0 auto; overflow: hidden; border-radius: 11px; background: transparent !important; }
.brand-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-lockup { display: grid; gap: 1px; }
.brand-lockup small { color: #a9bdc5; font-size: 9px; font-weight: 500; letter-spacing: 0; }
.brand-word { color: inherit; font-size: 20px; letter-spacing: -.55px; }
.mobile-brand { display: none; align-items: center; gap: 7px; color: #234559; font-weight: 750; }
.mobile-brand-logo { width: 43px; height: 43px; object-fit: contain; }
.mobile-brand > span { display: grid; gap: 1px; }
.mobile-brand small { color: #748992; font-size: 8px; font-weight: 500; letter-spacing: 0; }
.akatnik-hero-logo { position: relative; z-index: 1; align-self: center; width: min(100%, 390px); height: min(36vh, 360px); margin: -1vh 0; object-fit: contain; filter: drop-shadow(0 12px 24px rgba(0,0,0,.23)); }
.signal-small { display: inline-block; width: 7px; height: 7px; margin-left: 3px; border-radius: 50%; background: #63a281; box-shadow: 0 0 0 3px #e4f0e8; }
.auth-welcome-icon { border-radius: 10px; background: #e7efef; color: #3b7d76; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.auth-card h2 { color: #1f3d50; }
.auth-description { color: #73858c; }
.auth-form label { color: #425f6d; }
.auth-form input { border-color: #dce5e8; background: #fff; color: #213e50; }
.auth-form input:focus { border-color: #77a59a; box-shadow: 0 0 0 3px #e5efec; }
.auth-form input::placeholder { color: #9aaab0; }
.auth-switch { color: #77898e; }
.auth-switch button { color: #34776e; }
.auth-demo { border-color: #e1e6e4; background: #f0f4f2; }
.demo-sparkle { background: #e2ece8; color: #347a70; }
.auth-demo-line strong { color: #365669; }
.auth-demo-line small, .demo-credentials { color: #819196; }
.btn-demo { border-top-color: #dfe7e5; color: #34786e; }
.auth-footer { color: #85959a; }
.dialog-card { border-color: #dfe7e9; }
.dialog-heading h2 { color: #234559; }
.dialog-heading h2 span { color: #b38837; }
.notification-accept { background: #e4f0ec; color: #34766b; }
.nav-tab, .notification-trigger, .mobile-nav > button[data-nav="messages"] { position: relative; }
.nav-badge, .mobile-count, .side-count { display: inline-grid; min-width: 17px; height: 17px; padding: 0 4px; place-items: center; border-radius: 99px; background: #d99a3c; color: #fff; font: 700 10px/1 ui-sans-serif, sans-serif; }
.nav-badge[hidden], .mobile-count[hidden], .side-count[hidden] { display: none; }
.notification-trigger .nav-badge { position: absolute; top: 1px; right: 0; }
.signal-notice-icon { display: block; width: 22px; height: 22px; overflow: visible; }
.signal-notice-icon .signal-arc { fill: none; stroke: #98a6ab; stroke-width: 1.8; stroke-linecap: round; transition: stroke .15s ease; }
.signal-notice-icon .signal-dot { fill: #98a6ab; transition: fill .15s ease; }
.notification-trigger:hover .signal-notice-icon .signal-arc,.notification-trigger:hover .signal-notice-icon .signal-dot { stroke: #738b93; fill: #738b93; }
.is-notifying .signal-arc-low { animation: signal-snake 1.35s ease-in-out infinite; }
.is-notifying .signal-arc-mid { animation: signal-snake 1.35s ease-in-out .22s infinite; }
.is-notifying .signal-arc-top { animation: signal-snake 1.35s ease-in-out .44s infinite; }
@keyframes signal-snake { 0%,8%,55%,100% { stroke: #98a6ab; filter: none; } 22%,40% { stroke: #f0a33e; filter: drop-shadow(0 0 2px #efad51aa); } }
.mobile-menu-link .signal-notice-icon { width: 19px; height: 19px; flex: 0 0 19px; }
@media (prefers-reduced-motion: reduce) { .is-notifying .signal-arc-low,.is-notifying .signal-arc-mid,.is-notifying .signal-arc-top { animation: none; stroke: #e5a044; } }
.mobile-count { position: absolute; top: 2px; left: calc(50% + 5px); }
.conversation-item { display: flex; align-items: stretch; }
.conversation-open { display: flex; min-width: 0; flex: 1; align-items: center; gap: 10px; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.conversation-open > .avatar { width: 31px; height: 31px; font-size: 9px; }
.chat-back { display: none; }
.sound-setting { display: flex; align-items: flex-start; gap: 9px; margin: 12px 0 18px; color: #365568; font-size: 13px; line-height: 1.5; }
.sound-setting input { flex: 0 0 auto; width: 17px; height: 17px; margin: 1px 0 0; accent-color: #34786e; }
.sound-test-button { min-height: 36px; margin: -8px 0 14px 26px; padding: 0 12px; border: 1px solid #d8e5e5; border-radius: 9px; background: #f2f7f6; color: #326f67; font-size: 12px; font-weight: 700; cursor: pointer; }
.sound-test-button:hover { background: #e7f1ee; }
.call-member-choice { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 6px 2px; color: #31576a; }
.call-member-choice input { width: 18px; height: 18px; accent-color: #34786e; }
.conversation-clear { width: 30px; border: 0; background: transparent; color: #83949a; font-size: 20px; cursor: pointer; }
.conversation-clear:hover, .message-controls button:hover { color: #a34a3b; }
.conversation-unread { min-width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; background: #d99a3c; color: white; font-size: 10px; }
.message-controls { display: flex; gap: 10px; justify-content: flex-end; margin-top: 6px; }
.message-controls button, .edit-message-form button { border: 0; background: transparent; color: #6f858c; font-size: 11px; cursor: pointer; }
.edit-message-form textarea { display: block; width: min(320px, 65vw); min-height: 72px; padding: 8px; border: 1px solid #d7e2e5; border-radius: 8px; font: inherit; }
.post-video { display: block; width: 100%; max-height: 520px; margin: 10px 0; border-radius: 10px; background: #102536; }
.post-audio { display: block; width: min(100%, 520px); margin: 10px 0; }
.audio-wave-player { width: min(100%,520px); margin: 8px 0; padding: 10px 12px 8px; border: 1px solid #dce6e8; border-radius: 12px; background: #f8faf9; color: #315365; }
.audio-wave-source { display: none; }
.audio-wave-toggle { width: 100%; min-height: 40px; display: flex; align-items: center; gap: 10px; border: 0; padding: 0; background: transparent; color: inherit; cursor: pointer; text-align: left; }
.audio-wave-toggle:disabled { cursor: not-allowed; opacity: .65; }
.audio-wave-icon { width: 31px; height: 31px; flex: 0 0 31px; display: grid; place-items: center; border-radius: 50%; background: #2e6e68; color: white; font-size: 12px; }
.audio-waveform { position: relative; min-width: 0; height: 28px; flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 2px; overflow: hidden; cursor: pointer; }
.audio-waveform i { width: 3px; height: var(--bar-height); max-height: 100%; flex: 1 1 3px; border-radius: 3px; background: #c4d2d5; transition: background-color .12s linear; }
.audio-waveform i.played { background: #408b7f; }
.audio-wave-time { flex: 0 0 auto; color: #71868f; font: 10px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace; font-variant-numeric: tabular-nums; white-space: nowrap; }
.audio-wave-footer { display: flex; align-items: center; gap: 10px; margin: 6px 0 0 41px; color: #819198; font-size: 10px; }
.audio-wave-footer strong { min-width: 0; flex: 1; overflow: hidden; color: #415f6d; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.audio-wave-footer a { color: #34766d; text-decoration: none; }
.audio-wave-error { display: block; margin: 7px 0 0 41px; color: #955c40; font-size: 10px; }
.audio-wave-error[hidden] { display: none; }
.message-bubble .audio-wave-player { width: min(100%,420px); }
.file-attachment { display: flex; align-items: center; gap: 12px; margin: 9px 0; padding: 12px; border: 1px solid #dce6e8; border-radius: 9px; color: #294e5e; text-decoration: none; }
.file-attachment > span:first-child { font-size: 22px; }
.file-attachment > span:nth-child(2) { display: grid; flex: 1; gap: 4px; overflow: hidden; }
.file-attachment strong { overflow: hidden; text-overflow: ellipsis; }
.file-attachment small { color: #72858c; }
.chat-composer .attach-chat { background: #e8eff0; color: #315a6a; }
.chat-composer { position: relative; }
.message-bubble .post-video { max-width: min(60vw, 420px); }
.language-switcher { position: relative; z-index: 25; }
.language-switcher > summary { display: flex; align-items: center; gap: 5px; min-height: 36px; padding: 0 8px; border: 1px solid #e3e9e7; border-radius: 11px; background: #fff; color: #365465; cursor: pointer; list-style: none; font-size: 16px; }
.language-switcher > summary::-webkit-details-marker { display: none; }
.language-switcher[open] > summary, .language-switcher > summary:hover { border-color: #b9cec9; background: #f3f7f5; }
.language-code { color: #6f8188; font-size: 10px; font-weight: 750; letter-spacing: .45px; }
.language-options { position: absolute; top: calc(100% + 8px); right: 0; display: grid; gap: 3px; min-width: 168px; padding: 6px; border: 1px solid #dfe8e6; border-radius: 13px; background: #fff; box-shadow: 0 12px 32px #18344824; }
.language-options button { display: flex; align-items: center; gap: 9px; min-height: 38px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: #365465; text-align: left; font-size: 12px; }
.language-options button:hover, .language-options button.selected { background: #edf4f1; }
.language-options button.selected::after { content: '✓'; margin-left: auto; color: #4d7b69; font-weight: 800; }
.auth-language-switcher { margin-left: auto; }
.translation-controls { display: flex; margin: 4px 0 8px; }
.translation-toggle { padding: 0; border: 0; background: transparent; color: #648275; font-size: 11px; font-weight: 650; cursor: pointer; }
.translation-toggle:hover { color: #315e4d; text-decoration: underline; }
.translation-original { color: #667982; }
.translation-original:not([hidden]) { display: block; margin-top: 5px; padding: 7px 9px; border-left: 2px solid #a8c5b5; border-radius: 0 6px 6px 0; background: #f4f7f4; font-size: .94em; }
.translation-pending { display: block; margin: 4px 0 8px; color: #84928c; font-size: 10px; font-style: italic; }
.message-reactions { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 7px; }
.reaction-chip { display: inline-flex; align-items: center; gap: 4px; min-height: 25px; padding: 2px 7px; border: 1px solid #dce8e3; border-radius: 99px; background: #fff; color: #43665d; font-size: 14px; line-height: 1; }
.reaction-chip small { color: #6c827b; font-size: 10px; }
.reaction-chip.active { border-color: #9dc4b5; background: #e7f3ee; }
.reaction-picker { position: relative; width: max-content; margin-top: 4px; }
.reaction-picker summary { display: grid; width: 25px; height: 23px; place-items: center; border-radius: 99px; color: #83958f; cursor: pointer; font-size: 15px; list-style: none; opacity: .72; }
.reaction-picker summary::-webkit-details-marker { display: none; }
.reaction-picker summary:hover, .reaction-picker[open] summary { background: #eaf2ee; opacity: 1; }
.reaction-options { position: absolute; z-index: 4; left: 0; bottom: 28px; display: flex; gap: 2px; padding: 4px; border: 1px solid #dce7e2; border-radius: 12px; background: #fff; box-shadow: 0 5px 18px #254c401c; }
.reaction-options button { width: 27px; height: 29px; padding: 0; border: 0; border-radius: 8px; background: transparent; font-size: 16px; }
.reaction-options button:hover { background: #edf4ef; transform: scale(1.08); }
.email-settings { display: grid; gap: 7px; margin: 18px 0; color: #294e5e; font-weight: 650; }
.email-settings select { width: 100%; padding: 10px; border: 1px solid #dce5e8; border-radius: 9px; background: #fff; color: #294e5e; }
.email-settings small { color: #7a8c93; font-weight: 400; }
.admin-section { margin: 22px 0; padding: 16px; border: 1px solid #dce5e8; border-radius: 13px; background: #fff; }
.admin-section h2 { margin: 0 0 12px; color: #254b5e; }
.moderator-hidden { display: none !important; }
.admin-list { display: grid; gap: 8px; }
.admin-row { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; padding: 12px; border: 1px solid #e5ecee; border-radius: 10px; }
.admin-row > div:first-child { min-width: 0; }
.admin-row strong, .admin-row small { display: block; }
.admin-row small { margin-top: 4px; color: #73878f; }
.admin-row p { margin: 8px 0; overflow-wrap: anywhere; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.admin-actions button, .admin-report button { padding: 7px 9px; border: 1px solid #dce6e8; border-radius: 7px; background: #f5f8f8; color: #31576a; cursor: pointer; }
.admin-actions button.danger { color: #a5453d; }
.pilot-access > p { color: #6e858e; }
.pilot-registration-toggle { display: flex; align-items: center; gap: 9px; margin: 12px 0 18px; color: #31576a; font-weight: 700; }
.pilot-registration-toggle input { width: 18px; height: 18px; accent-color: #34766d; }
.pilot-invite-form { display: flex; align-items: end; gap: 10px; flex-wrap: wrap; }
.pilot-invite-form label { display: grid; gap: 6px; min-width: min(100%,280px); color: #31576a; font-weight: 650; }
.pilot-invite-form input, .pilot-invite-result input { box-sizing: border-box; width: min(100%,420px); min-height: 42px; padding: 9px 11px; border: 1px solid #dce5e8; border-radius: 9px; background: #fff; color: #294e5e; font: inherit; }
.pilot-invite-help { margin: 9px 0; font-size: 13px; }
.pilot-invite-result { display: grid; justify-items: start; gap: 8px; margin-top: 12px; padding: 12px; border-radius: 10px; background: #f1f6f3; }
.pilot-invite-result p { margin: 0; }
.report-chat { max-height: 260px; overflow: auto; margin-top: 9px; padding: 10px; border-radius: 8px; background: #f2f5f6; }
.report-chat p { margin: 5px 0; }
.chat-call-actions { display: flex; gap: 5px; margin-left: auto; }
.chat-call-actions button { width: 31px; height: 31px; border: 1px solid #dce6e8; border-radius: 8px; background: #f2f6f6; color: #2b6270; cursor: pointer; }
.chat-call-actions .chat-safety-popover button { width: 100%; height: auto; min-height: 40px; border: 0; border-radius: 7px; background: transparent; font-size: 13px; font-weight: 400; }
.report-inline { border: 0; background: transparent; color: #83949a; cursor: pointer; }
#call-participants { display: grid; gap: 10px; margin: 14px 0; }
#call-participants audio { width: 100%; }
#call-participants:has(.call-video) { grid-template-columns: repeat(auto-fit,minmax(min(100%,240px),1fr)); align-items: start; }
.call-video { display: block; width: 100%; max-height: min(54vh,460px); aspect-ratio: 16/10; object-fit: cover; border: 1px solid #d8e3e5; border-radius: 13px; background: #142c3b; }
.local-call-video { box-shadow: 0 0 0 2px #e6ad43; }
.call-privacy-note { grid-column: 1/-1; margin: 0; color: #55776d; font-size: 12px; }
#active-call-dialog .dialog-card { max-height: calc(100dvh - 32px); overflow-y: auto; }
@media(max-width:680px){.admin-row{display:grid}.admin-actions{justify-content:flex-start}.chat-call-actions button{width:27px;height:27px}}

@media (max-width: 680px) {
  .audio-recorder-panel { flex-wrap: wrap; }
  .audio-recorder-progress { flex-basis: 70px; }
  .auth-panel { background: #f8fafb; }
  .mobile-nav { padding-bottom: max(4px, env(safe-area-inset-bottom)); }
  .feed-heading h1, .people-heading h1 { font-size: 25px; }
  .stories { gap: 7px; }
  .story-card { height: 79px; }
  .story-card .story-leaf { font-size: 33px; }
}

/* Desktop gets larger type and a roomier three-column radio desk. */
@media (min-width: 1280px) {
  body { font-size: 16px; }
  .topbar { height: 76px; gap: 25px; padding-inline: max(28px, calc((100% - 1600px) / 2)); }
  .layout { max-width: 1660px; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) minmax(260px, 360px); gap: 27px; padding: 30px 30px 65px; }
  .feed-heading h1, .people-heading h1, .message-title h1 { font-size: 35px; }
  .post-body { font-size: 16px; line-height: 1.7; }
  .post-author-details strong, .person-card-main strong, .chat-header-copy strong { font-size: 15px; }
  .post-author-details time, .person-card-bio, .chat-header-copy small { font-size: 13px; }
  .post-action, .comment-content, .composer-trigger, .composer-editor textarea { font-size: 14px; }
  .side-link { min-height: 42px; font-size: 14px; }
  .online-entry-copy strong { font-size: 13px; }
  .online-entry-copy small, .conversation-item-copy small { font-size: 11px; }
  .conversation-item-copy strong { font-size: 13px; }
  .message-bubble { font-size: 14px; line-height: 1.6; padding: 11px 13px; }
  .message-time { font-size: 10px; }
  .chat-composer input { font-size: 14px; padding: 11px 12px; }
  .chat-composer button { width: 40px; height: 40px; }
}

/* Tablet: use the full width for the feed and keep navigation compact. */
@media (min-width: 900px) and (max-width: 1279px) {
  .topbar { grid-template-columns: max-content minmax(170px, 22vw) minmax(0, 1fr) max-content; gap: 12px; padding-inline: 18px; }
  .layout { display: block; max-width: 900px; padding: 18px 22px 55px; }
  .left-sidebar, .right-sidebar { display: none; }
}

@media (min-width: 681px) and (max-width: 899px) {
  body { padding-bottom: 68px; }
  .topbar { height: 58px; grid-template-columns: 1fr auto; gap: 10px; padding: 0 16px; }
  .top-nav, .search-box { display: none; }
  .layout { display: block; max-width: 760px; padding: 16px 18px 28px; }
  .left-sidebar, .right-sidebar { display: none; }
  .mobile-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; height: 62px; display: flex; align-items: center; justify-content: space-around; padding: 4px 12px max(5px,env(safe-area-inset-bottom)); border-top: 1px solid #2a4150; background: rgba(19,43,62,.98); }
  .mobile-nav > button { min-width: 60px; display: grid; justify-items: center; gap: 3px; border: 0; background: none; color: #b1c0c9; font-size: 10px; }
  .mobile-nav > button.active { color: #f0bb56; }
}

/* On phones, a selected conversation becomes a focused, full-screen chat. */
@media (max-width: 899px) {
  body.messages-list .message-layout { display: block; height: calc(100dvh - 150px); min-height: 390px; }
  body.messages-list .conversation-sidebar { width: 100%; height: 100%; }
  body.messages-list .chat-panel { display: none; }
  body.messages-list .conversation-heading h2 { font-size: 23px; }
  body.messages-list .conversation-item { min-height: 59px; padding: 8px 10px; }
  body.messages-list .conversation-open { gap: 11px; }
  body.messages-list .conversation-open > .avatar { width: 39px; height: 39px; font-size: 12px; }
  body.messages-list .conversation-item-copy strong { font-size: 14px; }
  body.messages-list .conversation-item-copy small { font-size: 12px; }
  body.chat-active { padding-bottom: 0 !important; overflow: hidden; }
  body.chat-active .topbar, body.chat-active .mobile-nav, body.chat-active .left-sidebar, body.chat-active .right-sidebar, body.chat-active .message-title { display: none !important; }
  body.chat-active .layout { display: block; width: 100%; max-width: none; height: 100dvh; margin: 0; padding: 0; }
  body.chat-active .main-column, body.chat-active .message-layout, body.chat-active .chat-panel { width: 100%; height: 100dvh; min-height: 0; max-height: 100dvh; margin: 0; border: 0; border-radius: 0; }
  body.chat-active .message-layout { display: block; }
  body.chat-active .conversation-sidebar { display: none; }
  body.chat-active .chat-panel { display: flex; }
  body.chat-active .chat-header { height: 66px; flex-shrink: 0; gap: 9px; padding: 8px 12px; }
  body.chat-active .chat-back { display: grid; width: 36px; height: 36px; place-items: center; border: 0; border-radius: 9px; background: #eaf0f1; color: #24495d; font-size: 28px; line-height: 1; }
  body.chat-active .chat-header-copy strong { font-size: 15px; }
  body.chat-active .chat-header-copy small { font-size: 12px; }
  body.chat-active .chat-call-actions { gap: 4px; }
  body.chat-active .chat-call-actions button { width: 34px; height: 34px; font-size: 15px; }
  body.chat-active .chat-safety-menu > summary { width: 31px; height: 34px; }
  body.chat-active .chat-messages { min-height: 0; flex: 1; gap: 12px; padding: 15px 12px; overscroll-behavior: contain; }
  body.chat-active .message-row { max-width: 92%; gap: 7px; }
  body.chat-active .message-row > .avatar { width: 25px; height: 25px; font-size: 8px; }
  body.chat-active .message-bubble { padding: 11px 13px; border-radius: 15px; font-size: 15px; line-height: 1.5; }
  body.chat-active .message-time { margin-top: 6px; font-size: 10px; }
  body.chat-active .message-controls button { min-height: 28px; font-size: 12px; }
  body.chat-active .chat-composer { flex-shrink: 0; gap: 8px; padding: 10px 11px max(12px,env(safe-area-inset-bottom)); }
  body.chat-active .chat-composer input { min-height: 46px; padding: 10px 12px; font-size: 16px; }
  body.chat-active .chat-composer button { width: 42px; height: 42px; font-size: 20px; }
  body.chat-active .chat-empty > strong { font-size: 20px; }
  body.chat-active .chat-empty > small { max-width: 260px; font-size: 13px; }
}

@media (max-width: 380px) {
  body.chat-active .chat-header { gap: 6px; padding-inline: 7px; }
  body.chat-active .chat-header > .avatar { width: 30px; height: 30px; }
  body.chat-active .chat-header-copy strong { font-size: 13px; }
  body.chat-active .chat-call-actions button { width: 29px; height: 31px; }
  body.chat-active .chat-safety-menu > summary { width: 27px; }
  body.chat-active .message-bubble { max-width: 82vw; font-size: 14px; }
}

.chat-call-actions .chat-safety-popover { display: flex; flex-direction: column; align-items: stretch; }
.chat-call-actions .chat-safety-popover button { display: block; flex: 0 0 auto; width: 100%; height: auto; box-sizing: border-box; line-height: 1.35; white-space: normal; }
.honeypot-field { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }
.auth-form label.rules-acceptance { display: grid; grid-template-columns: 18px minmax(0,1fr); align-items: start; gap: 9px; font-weight: 500; line-height: 1.45; }
.auth-form .rules-acceptance input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: #4b684f; }
.rules-acceptance small { display: block; margin-top: 4px; color: #878d82; font-size: 10px; font-weight: 400; }
.people-heading-actions { display: flex; align-items: center; gap: 9px; }
.invite-email-open { white-space: nowrap; }
.invite-email-form { display: grid; gap: 12px; }
.invite-email-form label { display: grid; gap: 7px; color: #636b5e; font-size: 12px; font-weight: 650; }
.invite-email-form input { width: 100%; height: 43px; padding: 0 12px; border: 1px solid #e8e6df; border-radius: 9px; background: #fdfcf8; color: #3d473c; font-size: 14px; }
.coffee-setting { display: flex; align-items: flex-start; gap: 9px; margin: 10px 0; padding: 11px; border: 1px solid #ece6d9; border-radius: 10px; background: #fbf8ef; color: #58634d; font-size: 12px; line-height: 1.45; }
.coffee-setting input { flex: 0 0 auto; margin-top: 2px; accent-color: #7a8158; }
.coffee-setting small { display: block; margin-top: 4px; color: #8b8d80; font-size: 10px; }
.btn-coffee-invite { background: #f6f0e0; color: #827047; }
.btn-coffee-invite:hover { background: #efe6cf; }
.chat-call-actions .chat-coffee-button { width: 32px; height: 32px; flex: 0 0 auto; border-color: #e9dfc7; background: #fbf6e9; color: #806b41; font-size: 17px; }
.chat-call-actions .chat-coffee-button:hover { background: #f2e9d3; }
@media (max-width: 899px) { body.chat-active .chat-call-actions .chat-coffee-button { width: 31px; height: 34px; font-size: 16px; } }
@media (max-width: 380px) { body.chat-active .chat-call-actions .chat-coffee-button { width: 27px; } }
@media (max-width: 899px) {
  body.chat-active .chat-call-actions .chat-safety-popover button { width: 100%; height: auto; min-height: 40px; font-size: 13px; }
}
/* Keep long desktop conversations inside the chat panel and the composer visible. */
@media (min-width: 900px) {
  .message-layout { min-height: 0; height: min(720px, calc(100dvh - 190px)); }
  .chat-panel { height: 100%; min-height: 0; overflow: hidden; }
  .chat-messages { flex: 1 1 0; min-height: 0; overflow-x: hidden; overflow-y: scroll; scrollbar-width: thin; scrollbar-color: #a8b8bc #edf2f3; overscroll-behavior-y: contain; }
  .chat-messages::-webkit-scrollbar { width: 11px; }
  .chat-messages::-webkit-scrollbar-track { border-left: 1px solid #e7edef; background: #f1f5f5; }
  .chat-messages::-webkit-scrollbar-thumb { min-height: 36px; border: 3px solid #f1f5f5; border-radius: 99px; background: #a8b8bc; }
  .chat-messages::-webkit-scrollbar-thumb:hover { background: #78949b; }
  .chat-composer { flex: 0 0 auto; }
}
.chat-search-toggle { flex: 0 0 auto; }
.chat-search-panel { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 8px; align-items: center; padding: 9px 12px; border-bottom: 1px solid #e4ebed; background: #f6f9f9; }
.chat-search-panel[hidden] { display: none; }
.chat-search-input { min-width: 0; height: 36px; padding: 0 11px; border: 1px solid #dce6e8; border-radius: 8px; background: #fff; color: #29485a; font: inherit; font-size: 13px; }
.chat-search-count { color: #72858c; font-size: 11px; white-space: nowrap; }
.chat-search-close, .chat-search-more { min-height: 34px; padding: 0 10px; border: 1px solid #dce6e8; border-radius: 8px; background: #fff; color: #426d69; font-size: 12px; }
.chat-search-results { grid-column: 1 / -1; display: grid; gap: 5px; max-height: 240px; overflow: auto; }
.chat-search-result { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; align-items: center; padding: 8px 10px; border: 1px solid #e3eaec; border-radius: 8px; background: #fff; }
.chat-search-result p { min-width: 0; margin: 0; color: #405d68; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.chat-search-result small { color: #87969a; font-size: 10px; white-space: nowrap; }
.chat-search-more { justify-self: center; }
.emoji-menu { display: block; width: min(330px, calc(100vw - 28px)); max-height: min(390px, calc(100dvh - 140px)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #a8b8bc #edf2f3; }
.emoji-menu-head { position: sticky; z-index: 2; top: -7px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -7px -7px 7px; padding: 8px 10px; border-bottom: 1px solid #e8edef; background: #fff; }
.emoji-menu-head strong { color: #314e5b; font-size: 12px; font-weight: 750; }
.emoji-menu-head button { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid #dfe7e8; border-radius: 8px; background: #f8faf9; color: #536d77; font-size: 19px; line-height: 1; cursor: pointer; }
.emoji-menu-head button:hover { background: #edf3f3; }
.emoji-group { padding: 2px 0 7px; }
.emoji-group + .emoji-group { border-top: 1px solid #edf1f2; padding-top: 8px; }
.emoji-group > strong { display: block; padding: 2px 4px 6px; color: #74878d; font-size: 10px; font-weight: 700; letter-spacing: .3px; }
.emoji-group > div { display: grid; grid-template-columns: repeat(7, 36px); gap: 3px; }
.emoji-group button { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.emoji-picker > summary { touch-action: manipulation; }
@media (max-width: 899px) {
  body.chat-active .chat-search-panel { padding: 8px 9px; grid-template-columns: minmax(0,1fr) auto auto; }
  body.chat-active .chat-search-input { height: 38px; font-size: 14px; }
  body.chat-active .chat-search-results { max-height: 30dvh; }
  body.chat-active .chat-search-result { grid-template-columns: 1fr; gap: 3px; }
}
@media (max-width: 680px) { .emoji-menu { right: auto; left: 0; width: min(330px, calc(100vw - 28px)); } }
@media (max-width: 680px) {
  .mobile-brand { display: inline-flex; }
  .people-heading-actions { gap: 5px; flex-direction: column; align-items: flex-end; }
  .people-heading-actions .invite-email-open { padding: 7px 9px; font-size: 10px; }
}

/* Enlarge the complete desktop interface; keep touch layouts at their native scale. */
@media (min-width: 1280px) and (max-width: 1599px) {
  body { zoom: 1.1; }
}
@media (min-width: 1600px) {
  body { zoom: 1.25; }
}

.event-templates { position: relative; }
.event-templates > summary { list-style: none; cursor: pointer; }
.event-templates > summary::-webkit-details-marker { display: none; }
.event-template-menu { position: absolute; z-index: 25; top: calc(100% + 9px); right: 0; display: block; width: 432px; max-width: calc(100vw - 32px); max-height: min(630px, calc(100dvh - 118px)); overflow: auto; padding: 14px; border: 1px solid #d8e2e6; border-radius: 18px; background: #fbfcfc; box-shadow: 0 22px 60px rgba(18,43,61,.2), 0 3px 10px rgba(18,43,61,.08); }
.event-template-menu button { color: #29485a; font: inherit; text-align: left; cursor: pointer; }
.event-template-menu-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 2px 2px 14px; border-bottom: 1px solid #e6ecee; color: #233e50; }
.event-template-menu-head > div { display: grid; gap: 4px; }
.event-menu-kicker { color: #63827f; font: 700 9px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .11em; }
.event-template-menu-head strong { font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.event-template-menu-head small { color: #7c8b91; font-size: 11px; }
.event-template-menu .event-template-close { display: grid; flex: 0 0 auto; width: 32px; min-height: 32px; place-items: center; padding: 0; border: 1px solid #e1e8ea; border-radius: 10px; background: #fff; color: #607984; font-size: 21px; line-height: 1; cursor: pointer; transition: background .15s,border-color .15s; }
.event-template-menu .event-template-close:hover { background: #e7eeef; }
.event-template-section { margin-top: 13px; }
.event-template-section h3 { margin: 0 0 7px 2px; color: #71868c; font: 700 9px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .12em; }
.event-template-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
.event-template-menu .event-template-item { display: flex; min-width: 0; min-height: 58px; align-items: center; gap: 10px; padding: 8px; border: 1px solid transparent; border-radius: 11px; background: transparent; transition: background .15s,border-color .15s,transform .15s; }
.event-template-menu .event-template-item:hover { border-color: #dbe6e6; background: #fff; transform: translateY(-1px); }
.event-template-icon { display: grid; flex: 0 0 auto; width: 34px; height: 34px; place-items: center; border: 1px solid #e2ebeb; border-radius: 10px; background: #f0f5f4; color: #39736f; }
.event-template-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.event-template-copy { display: grid; min-width: 0; gap: 3px; }
.event-template-copy strong { overflow: hidden; color: #2d4656; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.event-template-copy small { overflow: hidden; color: #849197; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.event-template-arrow { margin-left: auto; color: #9caeb1; font-size: 12px; opacity: 0; transition: opacity .15s; }
.event-template-item:hover .event-template-arrow, .event-template-item:focus-visible .event-template-arrow { opacity: 1; }
.filter-count { display: inline-grid; min-width: 18px; height: 18px; place-items: center; padding: 0 5px; border-radius: 99px; background: #e7a35c; color: #fff; font-size: 10px; font-weight: 750; }
.event-live-count { display: flex; align-items: center; gap: 7px; margin: 10px 0 0; color: #72858d; font-size: 11px; }
.event-live-count strong { color: #32776d; }
.event-links { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.event-links a, .event-links button { padding: 7px 9px; border: 1px solid #e1e8e9; border-radius: 8px; background: #f8faf9; color: #326f67; font: inherit; font-size: 10px; font-weight: 700; cursor: pointer; }
.event-links a:hover, .event-links button:hover { background: #edf4f2; }
.event-links .event-registration-link { border-color: #3b766d; background: #34766d; color: #fff; }
.event-links .event-registration-link:hover { background: #285f58; }
.events-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.event-card,.event-detail { overflow: hidden; border: 1px solid #dce5e8; border-radius: 16px; background: #fff; box-shadow: 0 7px 22px rgba(31,57,70,.07); }
.event-card-cover { display: grid; width: 100%; height: 180px; place-items: center; overflow: hidden; border: 0; background: linear-gradient(135deg,#e5eff0,#e8eddf); color: #47766f; font-size: 44px; }
.event-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.event-card-content { display: grid; gap: 9px; padding: 16px; }
.event-card-content h2 { margin: 0; color: #29485a; font-size: 20px; }
.event-card-content h2 button { border: 0; padding: 0; background: none; color: inherit; font: inherit; text-align: left; }
.event-card-content > p:not(.eyebrow) { display: -webkit-box; min-height: 42px; margin: 0; overflow: hidden; color: #657b84; font-size: 12px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.event-card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: #7a8c91; font-size: 10px; }
.event-card-meta strong { color: #37786e; }
.event-card-content > .btn { justify-self: start; }
.event-create-form { display: grid; gap: 13px; margin: 0 0 17px; padding: 18px; border: 1px solid #dce5e8; border-radius: 15px; background: #fff; }
.event-create-form h2 { margin: 0; color: #29485a; font-size: 18px; }
.event-create-form label { display: grid; gap: 6px; color: #49616c; font-size: 12px; font-weight: 650; }
.event-create-form input,.event-create-form textarea { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid #dfe7e8; border-radius: 9px; background: #fbfcfc; color: #29485a; font: inherit; font-weight: 400; }
.event-create-form input[type=file] { padding: 8px; }
.event-create-form small { color: #87969c; font-size: 10px; font-weight: 400; }
.event-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.event-detail-photo { display: block; width: 100%; max-height: 390px; object-fit: cover; background: #edf1f1; }
.event-detail-body { padding: 22px; }
.event-detail-body h1 { margin: 7px 0 10px; color: #29485a; font-size: clamp(26px,4vw,36px); }
.event-description { white-space: pre-wrap; color: #526d78; font-size: 14px; line-height: 1.7; }
.event-organizer { color: #788d94; font-size: 11px; }
.event-attendees,.event-discussion { margin-top: 21px; padding-top: 17px; border-top: 1px solid #e6ecee; }
.event-attendees h2,.event-discussion h2 { margin: 0 0 12px; color: #29485a; font-size: 18px; }
.event-attendees p,.event-no-comments { color: #829399; font-size: 12px; }
.event-attendee-list { display: flex; flex-wrap: wrap; gap: 7px; }
.event-attendee-list span { padding: 7px 10px; border: 1px solid #e0e8e8; border-radius: 999px; background: #f7faf9; color: #45656d; font-size: 11px; }
.event-comment-form { display: grid; justify-items: start; gap: 9px; }
.event-comment-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #dfe7e8; border-radius: 10px; background: #fbfcfc; font: inherit; font-size: 12px; }
.event-comments { display: grid; gap: 9px; margin-top: 14px; }
.event-comment { padding: 11px 13px; border-radius: 10px; background: #f4f7f6; color: #49616c; }
.event-comment strong { font-size: 12px; }
.event-comment time { margin-left: 8px; color: #98a4a6; font-size: 10px; }
.event-comment p { margin: 6px 0 0; white-space: pre-wrap; font-size: 12px; line-height: 1.55; }
.expedition-verified { display: inline-flex; width: fit-content; margin: 3px 0 6px; padding: 5px 8px; border: 1px solid #d6e6df; border-radius: 999px; background: #eef6f1; color: #37786e; font-size: 10px; font-weight: 700; }
@media (max-width: 680px) { .events-grid { grid-template-columns: 1fr; gap: 11px; } .event-card-cover { height: 190px; } .event-card-content { padding: 14px; } .event-form-grid { grid-template-columns: 1fr; } .event-detail-body { padding: 16px; } .mobile-nav [data-nav="groups"], .mobile-nav [data-nav="funding"] { display: none; } }
@media (max-width: 680px) { .story-brand { flex-direction: column; gap: 0; } .story-brand img { width: 67px; height: 47px; } .story-brand-copy { display: contents; } .story-brand-copy > strong, .story-brand-copy > small { display: none; } .story-brand-action { justify-content: center; margin-top: 0; font-size: 7px; line-height: 13px; } .story-brand-action i { width: 13px; height: 13px; } }
@media (max-width: 370px) { .story-brand img { width: 56px; height: 40px; } .story-brand-action { font-size: 6px; line-height: 12px; } .story-brand-action i { width: 12px; height: 12px; } }

.profile-edit-form { display: grid; gap: 10px; margin: 14px 0 16px; padding: 15px; border: 1px solid #dfe8eb; border-radius: 13px; background: #f8fafb; }
.profile-edit-form h3 { margin: 0 0 2px; color: #24495c; font-size: 15px; }
.profile-edit-form label, .group-create-form label { display: grid; gap: 5px; color: #526975; font-size: 12px; font-weight: 650; }
.profile-edit-form input, .profile-edit-form textarea, .group-create-form input, .group-create-form textarea, .group-create-form select { width: 100%; min-width: 0; padding: 9px 10px; border: 1px solid #dce6e9; border-radius: 8px; background: #fff; color: #29485a; font: inherit; }
.profile-edit-form small { color: #7c8e96; font-size: 10px; line-height: 1.45; }
.profile-edit-form .btn { min-height: 40px; }
.groups-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin: 2px 0 18px; }
.groups-heading h1 { margin: 4px 0 0; color: #233e50; font-size: 29px; letter-spacing: -.5px; }
.groups-heading h1 em { color: #608278; font-style: italic; }
.groups-heading p:not(.eyebrow) { margin: 6px 0 0; color: #74858d; font-size: 12px; line-height: 1.5; }
.groups-heading .btn { min-height: 40px; flex: 0 0 auto; }
.group-create-form { display: grid; gap: 12px; margin: 0 0 16px; padding: 16px; border: 1px solid #dce6e9; border-radius: 14px; background: #fff; }
.group-create-form h2 { margin: 0; color: #29495b; font-size: 17px; }
.group-form-actions { display: flex; justify-content: flex-end; gap: 8px; }
.groups-list, .group-feed-list { display: grid; gap: 11px; }
.community-group-card { display: flex; align-items: center; gap: 13px; min-width: 0; padding: 15px; border: 1px solid #dfe7eb; border-radius: 14px; background: #fff; box-shadow: 0 2px 9px rgba(25,48,67,.035); }
.community-group-cover { width: 112px; height: 82px; flex: 0 0 auto; border-radius: 10px; object-fit: cover; background: #edf2f3; }
.community-group-icon { display: grid; flex: 0 0 auto; width: 43px; height: 43px; place-items: center; border-radius: 13px; background: #edf4f2; color: #39796f; font-size: 21px; }
.community-group-copy { flex: 1; min-width: 0; }
.community-group-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.community-group-heading h2 { margin: 0; color: #29485a; font-size: 16px; }
.group-privacy { padding: 3px 7px; border-radius: 20px; background: #edf4f2; color: #44786e; font-size: 10px; font-weight: 700; }
.group-privacy.private { background: #f4f0e5; color: #8a7140; }
.community-group-copy p { margin: 6px 0; color: #71828a; font-size: 12px; line-height: 1.5; }
.community-group-copy small, .community-group-actions small { color: #829199; font-size: 10px; }
.community-group-actions { display: grid; justify-items: end; gap: 6px; flex: 0 0 auto; }
.group-back-link { margin: 0 0 13px; padding: 7px 0; border: 0; background: none; color: #39766e; font-size: 12px; font-weight: 700; cursor: pointer; }
.group-detail-heading { align-items: center; margin-bottom: 17px; }
.group-section-nav { display:flex; gap:6px; margin:0 0 14px; padding:5px; overflow-x:auto; border:1px solid #dce6e9; border-radius:13px; background:#e9eff0; scrollbar-width:thin; }
.group-section-tab { display:flex; flex:1 0 auto; align-items:center; justify-content:center; gap:8px; min-height:42px; padding:0 15px; border:0; border-radius:9px; background:transparent; color:#617780; font:inherit; font-size:12px; font-weight:650; cursor:pointer; transition:background .16s ease,color .16s ease,box-shadow .16s ease; }
.group-section-tab > span { color:#52877d; font-size:16px; }
.group-section-tab:hover { background:#f7f9f9; color:#315d5b; }
.group-section-tab.active { background:#fff; color:#24495b; box-shadow:0 2px 8px #1d39430d; }
.group-view-panel { min-width:0; }
.group-view-panel[hidden] { display:none; }
.group-post-composer.is-collapsed { padding-bottom:13px; }
.group-post-composer.is-collapsed .composer-top { margin-bottom:0; }
.group-post-composer .composer-trigger { text-align:left; }
.group-library-panel { display:grid; gap:10px; margin:0 0 18px; padding:17px; border:1px solid #dfe7eb; border-radius:14px; background:#fff; }
.group-library-panel > h2 { margin:0; color:#29485a; font-size:18px; }
.group-library-panel > p:not(.group-library-empty) { margin:-5px 0 4px; color:#7b8d95; font-size:12px; }
.group-library-item { display:grid; gap:7px; min-width:0; padding:12px; border:1px solid #e3e9eb; border-radius:11px; background:#fafcfc; }
.group-library-item > strong { color:#355263; font-size:12px; }
.group-library-item > small { color:#87969c; font-size:10px; }
.group-library-empty { margin:0; padding:24px 12px; color:#819199; font-size:12px; text-align:center; }
.group-cover { position: relative; height: clamp(150px,24vw,285px); margin: -4px 0 18px; overflow: hidden; border: 1px solid #dce6e9; border-radius: 15px; background: #e9eff0; }
.group-cover > img { width: 100%; height: 100%; display: block; object-fit: cover; }
.group-cover-change, .group-cover-empty { display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; font-size: 12px; font-weight: 700; }
.group-cover-change { position: absolute; right: 12px; bottom: 12px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.5); border-radius: 9px; background: rgba(26,54,68,.83); cursor: pointer; }
.group-cover-change input, .group-cover-empty input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.group-cover-empty { min-height: 100px; flex-direction: column; margin: -4px 0 18px; border: 1px dashed #cbdadd; border-radius: 13px; background: #f5f8f8; color: #3b776f; cursor: pointer; }
.group-cover-empty small { color: #7d9097; font-weight: 500; }
.group-invite-panel { margin: 0 0 14px; padding: 12px 14px; border: 1px solid #dfe7eb; border-radius: 12px; background: #fff; }
.group-invite-panel > summary { color: #39766e; font-size: 12px; font-weight: 700; cursor: pointer; }
.group-invite-panel form { display: grid; justify-items: start; gap: 8px; margin-top: 10px; }
.group-invite-panel label { display: grid; width: min(100%,420px); gap: 5px; color: #526975; font-size: 11px; font-weight: 650; }
.group-invite-panel select { width: 100%; padding: 7px; border: 1px solid #dce6e9; border-radius: 8px; background: #fff; color: #29485a; font: inherit; }
.group-invite-panel small, .group-invite-pending { color: #839199; font-size: 10px; }
.group-invite-pending { display: block; margin-top: 9px; }
.group-internal-gallery { margin: 0 0 18px; padding: 16px; border: 1px solid #dfe7eb; border-radius: 14px; background: #fff; }
.group-gallery-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.group-gallery-heading h2 { margin: 0; color: #29485a; font-size: 17px; }
.group-gallery-heading p { margin: 4px 0 0; color: #7b8d95; font-size: 11px; }
.group-gallery-upload { display: grid; grid-template-columns: 1.2fr .8fr 1fr auto; align-items: end; gap: 10px; padding: 12px; border-radius: 11px; background: #f6f8f8; }
.group-gallery-upload label { display: grid; gap: 5px; min-width: 0; color: #526975; font-size: 11px; font-weight: 650; }
.group-gallery-upload input, .group-gallery-upload select { width: 100%; min-width: 0; min-height: 36px; padding: 7px 9px; border: 1px solid #dce6e9; border-radius: 8px; background: #fff; color: #29485a; font: inherit; }
.group-gallery-upload small { color: #84939a; font-size: 9px; font-weight: 400; }
.group-gallery-upload .form-error { grid-column: 1/-1; margin: 0; color: #bd574e; font-size: 11px; }
.group-gallery-filter { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: #607783; font-size: 11px; }
.group-gallery-filter select { min-width: 160px; min-height: 34px; padding: 6px 9px; border: 1px solid #dce6e9; border-radius: 8px; background: #fff; color: #29485a; font: inherit; }
.group-albums { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.group-album-card { display: grid; flex: 0 0 140px; gap: 4px; padding: 8px; border: 1px solid #e2e9eb; border-radius: 10px; color: #355263; font-size: 11px; }
.group-album-card > img, .group-album-card > span { display: grid; width: 100%; height: 76px; place-items: center; border-radius: 7px; background: #edf3f2; object-fit: cover; font-size: 24px; }
.group-album-card small, .group-gallery-photo small { color: #87969c; font-size: 9px; }
.group-photo-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(130px,1fr)); gap: 9px; margin-top: 13px; }
.group-gallery-photo { min-width: 0; margin: 0; overflow: hidden; border: 1px solid #e1e8ea; border-radius: 9px; background: #fafbfb; }
.group-gallery-photo img { display: block; width: 100%; height: 132px; object-fit: cover; }
.group-gallery-photo figcaption { display: grid; gap: 3px; padding: 7px 8px; color: #566d78; font-size: 10px; overflow-wrap: anywhere; }
.group-gallery-photo figcaption button { justify-self: end; border: 0; background: transparent; color: #a64e46; cursor: pointer; }
.group-gallery-empty { grid-column: 1/-1; margin: 0; padding: 18px; color: #819199; font-size: 12px; text-align: center; }
.group-owner-badge { padding: 8px 10px; border-radius: 8px; background: #edf4ef; color: #46745e; font-size: 11px; font-weight: 700; }
.group-private-note { padding: 22px; border: 1px dashed #d7e2e5; border-radius: 13px; background: #f8fafb; color: #6c7f88; font-size: 13px; line-height: 1.6; text-align: center; }
.group-requests, .group-post-form { margin: 0 0 14px; padding: 14px; border: 1px solid #dfe7eb; border-radius: 13px; background: #fff; }
.group-requests h2 { margin: 0 0 10px; color: #29485a; font-size: 15px; }
.group-request-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid #edf1f2; color: #395565; }
.group-request-row > div { display: flex; gap: 6px; }
.group-post-form { display: grid; gap: 9px; }
.group-post-form label { color: #395565; font-size: 12px; font-weight: 700; }
.group-post-form textarea { min-height: 82px; padding: 10px; border: 1px solid #dce6e9; border-radius: 9px; font: inherit; resize: vertical; }
.group-post-form .btn { justify-self: end; }
.group-feed-list { display: grid; gap: 14px; margin-top: 18px; }
.group-feed-post { padding: 14px; border: 1px solid #dfe7eb; border-radius: 13px; background: #fff; }
.group-feed-post header { display: flex; align-items: center; gap: 9px; }
.group-feed-post header > div { display: grid; gap: 3px; }
.group-feed-post header strong { color: #29485a; font-size: 12px; }
.group-feed-post time { color: #829199; font-size: 10px; }
.group-feed-post .post-body { margin: 11px 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.6; }
.person-card-meta { margin: 8px 0 -4px; color: #54736f; font-size: 11px; font-weight: 650; }
@media (max-width: 680px) {
  .groups-heading { align-items: flex-start; flex-direction: column; }
  .groups-heading h1 { font-size: 25px; }
  .community-group-card { align-items: flex-start; flex-wrap: wrap; }
  .community-group-cover { width: 100%; height: 150px; }
  .community-group-actions { width: 100%; justify-items: stretch; margin-left: 56px; }
  .group-detail-heading { flex-direction: column; }
  .group-section-nav { margin-bottom:11px; }
  .group-section-tab { min-width:105px; min-height:40px; padding-inline:10px; }
  .group-internal-gallery,.group-library-panel { padding:12px; }
  .group-gallery-heading { align-items: flex-start; flex-direction: column; }
  .group-gallery-upload { grid-template-columns: 1fr; }
  .group-photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .group-request-row { align-items: flex-start; flex-direction: column; }
  .profile-edit-form { padding: 12px; }
  .top-nav { gap: 1px; }
  .top-nav .nav-tab { min-width: 58px; padding: 0 5px; gap: 3px; }
  .top-nav .nav-label { font-size: 10px; }
}
.feed-subtitle { margin: 7px 0 0; color: #71818a; font-size: 12px; line-height: 1.5; }
.emoji-picker { position: relative; display: inline-flex; flex: 0 0 auto; }
.emoji-picker > summary { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid #dfe7e8; border-radius: 9px; background: #f7faf9; color: #416879; font-size: 21px; cursor: pointer; list-style: none; }
.emoji-picker > summary::-webkit-details-marker { display: none; }
.emoji-menu { position: absolute; z-index: 30; left: 0; right: auto; bottom: calc(100% + 8px); display: block; width: min(330px, calc(100vw - 28px)); max-width: min(330px, calc(100vw - 28px)); max-height: min(390px, calc(100dvh - 140px)); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #a8b8bc #edf2f3; padding: 7px; border: 1px solid #dfe7e8; border-radius: 12px; background: #fff; box-shadow: 0 10px 28px rgba(29,55,69,.18); }
.emoji-menu button { display: grid; width: 36px; height: 36px; place-items: center; border: 0; border-radius: 8px; background: transparent; font-size: 21px; cursor: pointer; }
.emoji-menu button:hover { background: #eef3f4; }
.post-theme-control { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 9px; color: #697c83; font-size: 11px; }
.post-theme-control select { min-height: 34px; padding: 5px 9px; border: 1px solid #dfe7e8; border-radius: 8px; background: #fff; color: #29485a; font: inherit; }
.composer-editor > .emoji-picker { margin: 0 0 9px; }
.chat-composer > .emoji-picker > summary { width: 34px; height: 34px; }
.post-card { position: relative; isolation: isolate; }
.post-card > .post-theme-art { position: absolute; z-index: 0; top: 16px; right: 48px; color: #2d5960; font-size: 25px; letter-spacing: -8px; opacity: .42; pointer-events: none; }
.composer-editor { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 8px; }
.composer-editor > .emoji-picker { grid-column: 1; grid-row: 1; margin: 0; }
.composer-editor > .post-theme-control { grid-column: 2; grid-row: 1; margin: 0; }
.post-mention-picker { grid-column: 1 / -1; position: relative; }
.post-mention-picker > summary { display: inline-flex; align-items: center; min-height: 34px; padding: 0 11px; border: 1px solid #dce7e8; border-radius: 9px; background: #f7faf9; color: #416e69; font-size: 12px; font-weight: 650; cursor: pointer; list-style: none; }
.post-mention-picker > summary::-webkit-details-marker { display: none; }
.post-mention-picker[open] > summary { border-color: #9fbeb7; background: #edf5f2; }
.post-mention-options { display: grid; grid-template-columns: repeat(auto-fit,minmax(170px,1fr)); gap: 5px; max-height: 190px; margin-top: 7px; padding: 9px; overflow: auto; border: 1px solid #dce7e8; border-radius: 10px; background: #fff; }
.post-mention-options label { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 7px; border-radius: 7px; color: #3c5967; font-size: 12px; cursor: pointer; }
.post-mention-options label:hover { background: #f1f6f4; }
.post-mention-options input { accent-color: #397b70; }
.post-mentioned { position: relative; z-index: 1; margin: 8px 0 11px; color: #70858d; font-size: 11px; }
.post-mentioned span { color: #39766e; font-weight: 650; }
.notification-open-post { width: 100%; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; font: inherit; }
.notification-open-post:hover { background: #f1f6f4; }
.notification-open-post.is-read { opacity: .72; }
.notification-copy small { display: block; margin-top: 4px; overflow: hidden; color: #7a8b92; font-size: 11px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.notification-jump { flex: 0 0 auto; color: #34766d; font-size: 11px; font-weight: 650; }
.composer-editor > textarea { grid-column: 1 / -1; width: 100%; }
.post-top, .post-body, .post-actions, .post-comment-list, .comment-form, .post-image, .post-video, .post-audio { position: relative; z-index: 1; }
.post-theme-radio { background: linear-gradient(145deg,#fff 45%,#eef7f6); }
.post-theme-camp { background: linear-gradient(145deg,#fff 42%,#f8f1e3); }
.post-theme-nature { background: linear-gradient(145deg,#fff 42%,#edf5e9); }
.post-theme-music { background: linear-gradient(145deg,#fff 42%,#f8eef1); }
.post-theme-family { background: linear-gradient(145deg,#fff 42%,#eef2fa); }
.post-theme-food { background: linear-gradient(145deg,#fff 42%,#fbf1e5); }
.post-theme-year-round { background: linear-gradient(145deg,#fff 42%,#eaf4f6); }
@media (max-width: 680px) {
  .feed-subtitle { max-width: 36ch; font-size: 11px; }
  .post-theme-control { font-size: 12px; }
  .post-card > .post-theme-art { top: 12px; right: 38px; font-size: 22px; }
  .event-template-menu { position: fixed; top: auto; right: 14px; bottom: 72px; left: auto; width: min(370px, calc(100vw - 28px)); max-width: none; max-height: calc(100dvh - 92px); overflow-y: auto; overscroll-behavior: contain; padding: 13px; }
  .event-template-grid { grid-template-columns: 1fr; gap: 4px; }
  .event-template-menu .event-template-item { min-height: 54px; }
}
.dialog-profile-card { max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: #b7c7cb transparent; }
/* The desktop layout zoom also scales fixed dialogs; compensate their height so
   the scrollable card still fits inside the physical browser viewport. */
@media (min-width: 1280px) and (max-width: 1599px) {
  .dialog-profile-card { max-height: calc((100dvh - 64px) / 1.1); }
}
@media (min-width: 1600px) {
  .dialog-profile-card { max-height: calc((100dvh - 72px) / 1.25); }
}

/* Fotogalerie and privacy controls */
.gallery-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin:3px 0 20px; }
.gallery-heading h1 { margin:0; }
.gallery-heading p { margin:7px 0 0; color:var(--muted,#778991); }
.gallery-heading-actions { display:flex; flex-wrap:wrap; gap:8px; }
.gallery-tabs { display:flex; gap:6px; margin:0 0 18px; padding:4px; border-radius:11px; background:#e8edef; }
.gallery-tabs .filter-tab { min-height:40px; }
.gallery-section { margin:25px 0; }
.gallery-section h2 { display:flex; align-items:center; gap:8px; font-size:19px; }
.gallery-section h2 span { color:#84949b; font-size:13px; }
.gallery-album-grid,.gallery-photo-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px; }
.gallery-album-card { min-width:0; overflow:hidden; padding:0; border:1px solid #dce5e6; border-radius:14px; background:#fff; color:#2f4b5a; text-align:left; box-shadow:0 5px 18px #1931440a; cursor:pointer; }
.gallery-album-cover { display:grid; place-items:center; height:165px; overflow:hidden; background:#e8eeec; font-size:36px; }
.gallery-album-cover img,.gallery-photo-card>img { width:100%; height:100%; object-fit:cover; }
.gallery-album-copy { display:grid; gap:4px; padding:12px; }
.gallery-album-copy strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.gallery-album-copy small,.gallery-shared-list { color:#82939a; font-size:12px; }
.gallery-photo-card { min-width:0; overflow:hidden; border:1px solid #dce5e6; border-radius:13px; background:white; }
.gallery-photo-card>img { display:block; height:220px; }
.gallery-photo-card>div { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:9px 11px; color:#82939a; font-size:12px; }
.gallery-empty { grid-column:1/-1; color:#82939a; }
.gallery-create-form,.gallery-upload-form,.gallery-invite { display:grid; gap:13px; margin:16px 0; padding:17px; border:1px solid #dce5e6; border-radius:14px; background:#fff; }
.gallery-create-form h2 { margin:0; }
.gallery-create-form label,.gallery-upload-form label { display:grid; gap:7px; color:#526e7b; font-size:13px; font-weight:650; }
.gallery-create-form input,.gallery-create-form textarea,.gallery-create-form select,.gallery-upload-form select { width:100%; min-height:42px; padding:9px 11px; border:1px solid #d7e1e3; border-radius:9px; background:#fbfcfc; color:#274455; font:inherit; }
.gallery-create-form textarea { resize:vertical; }
.gallery-create-form>div { display:flex; gap:8px; }
.gallery-invite { display:block; }
.gallery-invite summary { cursor:pointer; color:#34766d; font-weight:700; }
.gallery-invite-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px 12px; margin:14px 0; }
.gallery-invite-list label { display:flex; align-items:center; gap:8px; min-width:0; padding:7px; border-radius:7px; background:#f6f8f7; }
.gallery-invite-list input,.gallery-picker-item input { accent-color:#34766d; }
.gallery-photo-grid { margin:16px 0 28px; }
.gallery-post-photo { display:block; overflow:hidden; margin:10px 0; border-radius:12px; }
.gallery-post-photo img { display:block; width:100%; max-height:450px; object-fit:cover; }
.gallery-post-album { display:flex; align-items:center; gap:12px; margin:10px 0; padding:10px; border:1px solid #dce5e6; border-radius:12px; background:#f8faf9; color:#2f4b5a; text-decoration:none; }
.gallery-post-album>img { width:68px; height:55px; border-radius:8px; object-fit:cover; }
.gallery-post-album>span { display:grid; flex:1; gap:4px; }
.gallery-post-album small,.post-visibility-label { color:#82939a; font-size:11px; }
.post-visibility-label a { color:#34766d; }
.post-visibility-control { display:grid; gap:6px; margin:0 0 10px 44px; color:#71818a; font-size:12px; }
.post-visibility-control select { width:min(100%,360px); min-height:38px; padding:7px 10px; border:1px solid #dce5e6; border-radius:8px; background:white; color:#2f4b5a; }
.gallery-selection-summary { margin:0 0 10px 44px; color:#34766d; font-size:12px; }
.gallery-picker-dialog .dialog-card { width:min(560px,calc(100vw - 32px)); max-height:calc(100dvh - 40px); overflow-y:auto; }
.gallery-picker-items { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; max-height:48vh; overflow:auto; padding:2px; }
.gallery-picker-item { display:flex; align-items:center; gap:9px; min-width:0; padding:8px; border:1px solid #e0e8e9; border-radius:10px; background:#fbfcfc; font-size:12px; }
.gallery-picker-item>img,.gallery-picker-cover img { width:54px; height:48px; object-fit:cover; border-radius:7px; }
.gallery-picker-cover { display:grid; width:54px; height:48px; place-items:center; flex:none; border-radius:7px; background:#e8eeec; }
.gallery-picker-item>span:last-child { overflow:hidden; text-overflow:ellipsis; }
.gallery-picker-actions { display:flex; gap:9px; margin-top:14px; }
@media(max-width:680px){.gallery-heading{align-items:flex-start;flex-direction:column}.gallery-heading-actions{width:100%}.gallery-heading-actions .btn{flex:1}.gallery-album-grid,.gallery-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.gallery-album-cover{height:125px}.gallery-photo-card>img{height:145px}.gallery-tabs{overflow-x:auto}.gallery-tabs .filter-tab{min-width:max-content;padding-inline:12px}.gallery-invite-list,.gallery-picker-items{grid-template-columns:1fr}.gallery-picker-dialog .dialog-card{max-height:calc(100dvh - 24px)}.post-visibility-control,.gallery-selection-summary{margin-left:0}.mobile-nav>button{min-width:42px;padding-inline:3px;font-size:7px}}

/* Radio tools preview */
.tools-subnav{display:grid;gap:3px;margin:0 0 6px 52px;padding:0 0 0 11px;border-left:1px solid #d6e2e2}
.tools-subnav button{border:0;background:transparent;padding:8px 7px;text-align:left;color:#718692;font:600 12px/1.25 inherit;cursor:pointer;border-radius:7px}
.tools-subnav button:hover,.tools-subnav button:focus-visible{background:#e0e9e9;color:#2f7169;outline:none}
.radio-tools-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:6px 0 22px}
.radio-tools-heading h1{margin:0;color:#244456;font-size:clamp(30px,3vw,42px);letter-spacing:-.04em}
.radio-tools-heading h1 em{color:#668679;font-style:italic}
.radio-tools-heading p:not(.eyebrow){margin:8px 0 0;color:#718692}
.radio-preview-badge{display:inline-flex;align-items:center;gap:9px;padding:10px 13px;border:1px solid #e7dfc9;border-radius:999px;background:#f8f4e9;color:#826d3b;font-size:10px;font-weight:800;letter-spacing:.08em;white-space:nowrap}
.radio-preview-badge i{color:#dfa13d;font-size:9px}
.radio-tools-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:0 0 16px;padding:6px;border:1px solid #dce5e6;border-radius:15px;background:#e5ecec}
.radio-tools-tab{display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;border:0;border-radius:10px;background:transparent;color:#5c7480;font:700 14px inherit;cursor:pointer}
.radio-tools-tab span{color:#347c72;font-size:18px}
.radio-tools-tab.active{background:#fff;color:#29485a;box-shadow:0 2px 8px #28445412}
.radio-tools-content{padding:22px;border:1px solid #d8e3e5;border-radius:18px;background:#fff;box-shadow:0 7px 22px #25425208}
.radio-tool-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.radio-tool-title h2{margin:4px 0 0;color:#29485a;font-size:22px}
.radio-connection-chip{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border-radius:999px;background:#edf5f1;color:#477968;font-size:11px;font-weight:700;white-space:nowrap}
.radio-connection-chip i{width:7px;height:7px;border-radius:50%;background:#62a47e}
.radio-tool-hero{display:grid;grid-template-columns:105px 1fr;align-items:center;gap:21px;padding:25px;border:1px solid #d9e4e5;border-radius:16px;background:linear-gradient(115deg,#f4f8f6,#edf3f3 70%,#f8f3e7)}
.radio-tool-hero.compact{grid-template-columns:82px 1fr;padding:21px}
.radio-tool-orbit{display:grid;width:88px;height:88px;place-items:center;border:1px solid #d8e5df;border-radius:27px;background:#fff;color:#397d73;font-size:42px;box-shadow:0 8px 20px #2e66500d}
.radio-tool-hero.compact .radio-tool-orbit{width:68px;height:68px;border-radius:22px;font-size:34px}
.radio-tool-hero h2{margin:2px 0 7px;color:#29485a;font-size:25px;letter-spacing:-.025em}
.radio-tool-hero p:not(.eyebrow){max-width:720px;margin:0;color:#6a808a;line-height:1.6}
.radio-tool-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:17px}
.radio-tool-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:13px 0}
.radio-tool-stats article{display:grid;gap:6px;padding:15px;border:1px solid #e2e9e9;border-radius:13px;background:#fbfcfb}
.radio-tool-stats article>span,.radio-path-end>span{color:#81939a;font-size:9px;font-weight:800;letter-spacing:.1em}
.radio-tool-stats strong{color:#315365;font-size:17px}
.radio-tool-stats small{color:#809098;font-size:11px;line-height:1.4}
.radio-tool-empty{display:grid;justify-items:center;margin-top:13px;padding:26px 20px;border:1px dashed #cfdcdd;border-radius:15px;background:#fbfcfb;text-align:center}
.radio-tool-empty>span{display:grid;width:44px;height:44px;place-items:center;border-radius:15px;background:#edf4f1;color:#3d8175;font-size:25px}
.radio-tool-empty h3{margin:11px 0 5px;color:#315365;font-size:19px}
.radio-tool-empty p{max-width:570px;margin:0;color:#768b94;line-height:1.55}
.radio-privacy-note{margin-top:13px;padding:9px 12px;border-radius:9px;background:#f5f2e9;color:#817550;font-size:11px}
.radio-tools-footnote{margin:15px 2px 0;color:#93a0a3;font-size:10px;text-align:right}
.radio-map-preview{position:relative;overflow:hidden;min-height:280px;margin:13px 0;border:1px solid #d7e3e2;border-radius:15px;background-color:#eef4f0;background-image:linear-gradient(#dce8e2 1px,transparent 1px),linear-gradient(90deg,#dce8e2 1px,transparent 1px);background-size:35px 35px}
.radio-map-grid{position:absolute;inset:20px 25px;display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(3,1fr);align-items:center;justify-items:center;color:#8caaa0;font:700 12px monospace;opacity:.75}
.map-pin{display:grid;width:40px;height:40px;place-items:center;border:3px solid #fff;border-radius:50% 50% 50% 8px;background:#df9f43;box-shadow:0 4px 12px #32574644;transform:rotate(-45deg)}
.map-pin::first-letter{transform:rotate(45deg)}
.radio-map-caption{position:absolute;right:13px;bottom:13px;display:grid;gap:4px;padding:12px 15px;border:1px solid #d8e4df;border-radius:11px;background:#ffffffeb;color:#325466}
.radio-map-caption span{color:#788e95;font-size:11px}
.radio-path-card{display:grid;grid-template-columns:1fr minmax(65px,.35fr) 1fr;align-items:center;gap:15px;margin-top:13px;padding:22px;border:1px solid #dce6e6;border-radius:15px;background:#fbfcfb}
.radio-path-end{display:grid;justify-items:center;gap:10px}
.radio-path-end>strong{font-size:27px}
.radio-path-end label{display:grid;width:100%;gap:5px;color:#71858d;font-size:11px;font-weight:700}
.radio-path-end input{min-height:40px;padding:8px 10px;border:1px solid #dce5e6;border-radius:9px;background:#fff;color:#506a77;font:inherit}
.radio-path-line{display:flex;align-items:center;gap:4px;color:#8b9d9d;font-size:9px;text-align:center}
.radio-path-line i{height:1px;flex:1;background:#c9d9d5}
.radio-path-card>.btn,.radio-path-card>small{grid-column:1/-1;justify-self:center}
.radio-path-card>small{color:#81939a;text-align:center}
@media(max-width:760px){.radio-tools-heading{align-items:flex-start;flex-direction:column}.radio-preview-badge{align-self:flex-start}.radio-tools-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.radio-tools-tab{font-size:12px}.radio-tools-content{padding:14px}.radio-tool-title{align-items:flex-start;flex-direction:column}.radio-tool-hero,.radio-tool-hero.compact{grid-template-columns:1fr;padding:18px}.radio-tool-orbit,.radio-tool-hero.compact .radio-tool-orbit{width:55px;height:55px;border-radius:17px;font-size:27px}.radio-tool-hero h2{font-size:21px}.radio-tool-stats{grid-template-columns:1fr}.radio-path-card{grid-template-columns:1fr;gap:12px}.radio-path-line{min-height:25px}.radio-path-line i{max-width:55px}.radio-map-preview{min-height:230px}.radio-map-caption{left:10px;right:10px}.tools-subnav{margin-left:40px}}

/* Keep the desktop workspace balanced while retaining the right-side drawer menu. */
.top-nav{display:none!important}
.mobile-menu-toggle{display:grid!important;width:40px;height:40px;border-radius:11px;background:rgba(255,255,255,.09);color:#f5f7f7;font-size:20px}
.topbar{grid-template-columns:max-content minmax(140px,1fr) max-content!important;gap:clamp(10px,1.5vw,22px)}
.mobile-menu{position:fixed;inset:0 auto 0 0;width:min(370px,calc(100vw - 48px));height:100dvh;max-height:100dvh;overflow-y:auto;z-index:50;padding:17px 17px 25px;border:0;border-right:1px solid #d6e0e3;border-radius:0 18px 18px 0;background:#fdfefe;box-shadow:14px 0 44px rgba(14,35,48,.22),0 0 0 100vmax rgba(13,31,42,.48);transform:translateX(0);animation:nav-drawer-in .2s ease-out}
.mobile-menu[hidden]{display:none!important}
.mobile-menu-heading{position:sticky;top:-17px;z-index:1;margin:-17px -17px 12px;padding:17px;border-bottom:1px solid #e4ebed;background:#fdfefe}
.mobile-menu-heading strong{font-size:16px;letter-spacing:-.02em}
.mobile-menu-heading button{width:36px;height:36px;border-radius:11px;font-size:23px}
.mobile-menu-links{grid-template-columns:1fr;gap:5px}
.mobile-menu-link{min-height:46px;padding:0 12px;border-color:transparent;border-radius:11px;background:transparent;font-size:13px}
.mobile-menu-link:hover{background:#f1f5f4}
.mobile-menu-link.active{border-color:#dbe8e3;background:#eaf3ef;color:#28695f}
.mobile-menu-link[hidden]{display:none!important}
.mobile-menu-search{margin-top:17px;padding-top:13px;border-top:1px solid #e6ecee}
.mobile-menu-search input{background:#f8faf9}
@keyframes nav-drawer-in{from{transform:translateX(-16px);opacity:.75}to{transform:translateX(0);opacity:1}}
@media(min-width:1280px){.layout{display:grid;grid-template-columns:185px minmax(0,720px) 260px;justify-content:center;gap:18px;width:100%;max-width:1470px;padding:24px 16px 60px}.left-sidebar{display:block!important;min-width:0}.sidebar-inner{position:sticky;top:18px;max-height:calc(100dvh - 36px);overflow-y:auto;scrollbar-width:thin}.main-column{min-width:0}.right-sidebar{display:block;min-width:0}.topbar{grid-template-columns:max-content minmax(180px,360px) max-content!important;padding-inline:clamp(20px,3vw,52px)}.top-actions{gap:11px}}
@media(min-width:900px) and (max-width:1279px){.layout{display:grid;grid-template-columns:minmax(174px,205px) minmax(0,760px);justify-content:center;gap:18px;width:100%;max-width:1050px;padding:18px 22px 55px}.left-sidebar{display:block!important;min-width:0}.sidebar-inner{position:sticky;top:16px;max-height:calc(100dvh - 32px);overflow-y:auto;scrollbar-width:thin}.main-column{min-width:0}.right-sidebar{display:none}.topbar{grid-template-columns:max-content minmax(160px,1fr) max-content!important;padding-inline:20px}.mobile-menu{top:0}}
@media(max-width:899px){.layout{display:block}.left-sidebar,.right-sidebar{display:none!important}.topbar{grid-template-columns:1fr auto!important}.mobile-menu{top:0}.mobile-menu-links{grid-template-columns:1fr}.mobile-nav{z-index:30}}
@media(max-width:440px){.mobile-menu{width:min(340px,calc(100vw - 36px));padding-inline:14px}.mobile-menu-heading{margin-inline:-14px;padding-inline:14px}}
.top-actions{justify-self:end;display:flex;align-items:center;gap:9px;white-space:nowrap}
.topbar{padding-right:clamp(14px,1.5vw,26px)!important}
.sidebar-groups{display:grid;gap:3px;margin-top:4px}
.sidebar-group{width:100%;min-width:0;min-height:34px;display:flex;align-items:center;gap:9px;padding:4px 7px;border:0;border-radius:9px;background:transparent;color:#526873;text-align:left;cursor:pointer}
.sidebar-group:hover{background:#fff;color:#245b60}
.sidebar-group>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.sidebar-group-mark{width:24px;height:24px;flex:0 0 24px;display:grid;place-items:center;border-radius:8px;background:#e5efed;color:#397c72;font-size:14px}
.sidebar-groups-empty{padding:5px 7px;color:#87969b;font-size:11px;line-height:1.45}
.mobile-menu{inset:0 0 0 auto;left:auto;right:0;border-right:0;border-left:1px solid #d6e0e3;border-radius:18px 0 0 18px;box-shadow:-14px 0 44px rgba(14,35,48,.22),0 0 0 100vmax rgba(13,31,42,.48);animation:nav-drawer-in-right .2s ease-out}
@keyframes nav-drawer-in-right{from{transform:translateX(16px);opacity:.75}to{transform:translateX(0);opacity:1}}
/* Keep the complete account/action cluster against the desktop viewport edge. */
@media(min-width:900px){.topbar{grid-template-columns:max-content minmax(0,1fr) max-content!important}.top-actions{justify-self:end}}
@media(min-width:900px){
  .nav-clock{position:static!important;top:auto!important;left:auto!important;right:auto!important;display:flex!important;align-items:center;gap:12px;transform:none!important;border:0;border-right:1px solid rgba(227,238,241,.24);padding:0 16px 0 0;margin-right:3px}
  .nav-clock-time{font-size:16px;line-height:1.25;letter-spacing:.025em}
  .nav-clock-meta{display:grid;grid-template-columns:max-content max-content;column-gap:8px;row-gap:3px;font-size:11px}
  .nav-clock-zone{font-size:10px}
  .nav-name-day{grid-column:1/-1;color:#f3c96e;font-size:11px;font-weight:700;letter-spacing:.01em}
  .nav-session{min-width:92px}
  .nav-session-label{font-size:10px}
  .nav-session-progress{width:92px;height:5px}
}
@media(min-width:900px) and (max-width:1100px){.nav-session{min-width:56px}.nav-session-progress{width:56px}.nav-session-label{font-size:8px}.nav-clock{gap:8px;padding-right:9px;margin-right:0}.nav-clock-meta{font-size:10px}.nav-clock-time{font-size:14px}}
@media(max-width:899px){.chat-dock{z-index:35;bottom:calc(76px + env(safe-area-inset-bottom))}.chat-dock-panel{max-height:calc(100dvh - 94px)}}
@media(max-width:680px){.chat-dock{z-index:35;right:12px;bottom:calc(72px + env(safe-area-inset-bottom))}.chat-dock-panel{width:min(390px,calc(100vw - 24px));height:min(68dvh,520px);max-height:calc(100dvh - 90px)}}
@media(max-width:440px){.mobile-menu-search input{width:33.333%;min-width:0}}
@media(min-width:441px){.mobile-menu-search input{width:33.333%;min-width:0;max-width:190px}}
.nav-clock-meta{align-items:start}
.nav-clock-date-trigger{display:inline-flex;align-items:center;gap:5px;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-transform:capitalize;cursor:pointer}
.nav-clock-date-trigger:hover{color:#fff}
.nav-clock-date-trigger>span:last-child{color:#efbd58;font-size:10px;opacity:.85}
.nav-calendar{position:fixed;top:82px;right:16px;z-index:65;width:min(620px,calc(100vw - 24px));max-height:calc(100dvh - 96px);overflow:auto;padding:16px;border:1px solid #d5e1e5;border-radius:17px;background:#fbfdfd;color:#294758;box-shadow:0 18px 55px rgba(13,34,47,.3)}
.nav-calendar[hidden]{display:none!important}
.nav-calendar-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid #e4ebed}
.nav-calendar-heading h2{margin:4px 0 0;color:#24465a;font-size:21px;text-transform:capitalize}
.nav-calendar-close{width:35px;height:35px;border:0;border-radius:10px;background:#edf2f3;color:#415c68;font-size:22px;cursor:pointer}
.nav-calendar-toolbar{display:flex;align-items:center;justify-content:center;gap:10px;margin:12px 0}
.nav-calendar-toolbar button{min-width:36px;height:34px;padding:0 10px;border:1px solid #dce6e8;border-radius:9px;background:white;color:#345c6b;font-weight:650;cursor:pointer}
.nav-calendar-views{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-bottom:12px;padding:4px;border-radius:11px;background:#edf2f3}
.nav-calendar-views button{min-height:34px;border:0;border-radius:8px;background:transparent;color:#637b85;font-weight:650;cursor:pointer}
.nav-calendar-views button.selected{background:white;color:#245c60;box-shadow:0 1px 4px #1b3e5018}
.nav-calendar-footnote{margin:12px 0 0;color:#82939a;font-size:10px;text-align:right}
.calendar-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.calendar-weekday{padding:5px 0;color:#82939a;font-size:10px;font-weight:700;text-align:center}
.calendar-day-empty{min-height:48px}
.calendar-month-day{min-width:0;min-height:48px;display:grid;align-content:start;justify-items:center;gap:2px;padding:4px 1px;border:1px solid #e5ecee;border-radius:8px;background:#fff;color:#365463;cursor:pointer}
.calendar-month-day strong{font-size:12px}
.calendar-month-day small{max-width:100%;overflow:hidden;color:#87989e;font-size:8px;text-overflow:ellipsis;white-space:nowrap}
.calendar-month-day.is-today,.calendar-week-day.is-today,.calendar-year-month [data-calendar-date].is-today{border-color:#dca951;background:#fff8e8}
.calendar-month-day.is-selected,.calendar-week-day.is-selected,.calendar-year-month [data-calendar-date].is-selected{outline:2px solid #4e887e;outline-offset:1px}
.calendar-week-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
.calendar-week-day{min-height:126px;display:flex;flex-direction:column;align-items:center;gap:7px;padding:10px 4px;border:1px solid #e1e9eb;border-radius:11px;background:#fff;color:#365463;cursor:pointer}
.calendar-week-day>span{color:#81929a;font-size:10px}
.calendar-week-day>strong{font-size:21px}
.calendar-week-day>small{font-size:9px;text-align:center}
.calendar-day-card{min-height:190px;display:grid;justify-items:center;align-content:center;gap:9px;padding:18px;border:1px solid #e2ebed;border-radius:14px;background:linear-gradient(145deg,#fff,#f1f7f5);text-align:center}
.calendar-day-symbol{color:#d2a64d;font-size:28px}
.calendar-day-card>strong{color:#24495c;font-size:27px;text-transform:capitalize}
.calendar-day-card>span{color:#748992}
.calendar-day-card>b{color:#3c776d;font-size:14px}
.calendar-day-card>small{color:#89989e}
.calendar-year-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.calendar-year-month{padding:8px;border:1px solid #e2e9eb;border-radius:10px;background:#fff}
.calendar-year-month-title{width:100%;padding:0 0 6px;border:0;background:transparent;color:#315767;font-size:12px;font-weight:750;text-align:left;text-transform:capitalize;cursor:pointer}
.calendar-year-month>div{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}
.calendar-year-month>div>i{height:19px}
.calendar-year-month [data-calendar-date]{height:19px;padding:0;border:1px solid transparent;border-radius:4px;background:transparent;color:#536c77;font-size:9px;cursor:pointer}
.quick-notes{position:fixed;left:20px;bottom:20px;z-index:36;font-size:14px}
.quick-notes-launcher{min-height:44px;display:flex;align-items:center;gap:8px;padding:0 15px;border:1px solid #31566a;border-radius:23px;background:#244d61;color:white;box-shadow:0 7px 24px #142f4033;font-weight:700;cursor:pointer}
.quick-notes-launcher>span{color:#f0c367;font-size:17px}
.quick-notes-panel{position:absolute;left:0;bottom:54px;width:min(360px,calc(100vw - 28px));display:grid;gap:9px;padding:13px;border:1px solid #d9e4e7;border-radius:15px;background:#fff;box-shadow:0 12px 36px rgba(21,44,58,.22)}
.quick-notes-panel[hidden]{display:none!important}
.quick-notes-panel>header{display:flex;align-items:center;justify-content:space-between;color:#294b5c}
.quick-notes-panel>header strong{font-size:14px}
.quick-notes-panel>header button{width:31px;height:31px;border:0;border-radius:9px;background:#eef3f4;color:#46606c;font-size:21px;cursor:pointer}
.quick-notes-tools{display:flex;gap:5px}
.quick-notes-tools select{min-width:0;flex:1;height:34px;padding:0 7px;border:1px solid #dce6e8;border-radius:8px;background:#fff;color:#365563;font-size:11px}
.quick-notes-tools button{height:34px;padding:0 8px;border:1px solid #dce6e8;border-radius:8px;background:#f4f7f7;color:#426373;font-size:11px;cursor:pointer}
.quick-notes-panel>input,.quick-notes-panel>textarea{width:100%;padding:9px 10px;border:1px solid #dce6e8;border-radius:9px;background:#fbfcfc;color:#294758;font:13px/1.45 inherit}
.quick-notes-panel>textarea{min-height:145px;resize:vertical}
.quick-notes-panel>small{color:#84949a;font-size:10px}
@media(max-width:899px){.nav-calendar{top:94px;right:12px}.quick-notes{z-index:35;left:12px;bottom:calc(72px + env(safe-area-inset-bottom))}}
@media(max-width:600px){.nav-calendar{top:91px;padding:11px}.calendar-month-grid{gap:2px}.calendar-month-day{min-height:43px}.calendar-month-day small{font-size:7px}.calendar-week-grid{gap:3px}.calendar-week-day{min-height:105px;padding:8px 2px}.calendar-week-day>small{font-size:8px}.calendar-year-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.calendar-year-month{padding:6px}.quick-notes-panel{max-height:calc(100dvh - 155px);overflow:auto}}
@media(max-width:380px){.nav-calendar{right:8px;width:calc(100vw - 16px)}.calendar-month-day{min-height:38px}.calendar-month-day small{display:none}.quick-notes-launcher{min-height:41px;padding-inline:12px}}
.portable-report-card{margin-top:13px;padding:19px;border:1px solid #dce6e6;border-radius:15px;background:linear-gradient(135deg,#fbfcfa,#f3f7f4)}
.portable-report-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}
.portable-report-heading h3{margin:4px 0;color:#315365;font-size:18px}
.portable-report-heading p{margin:0;color:#7a8e95;font-size:12px}
.portable-report-icon{display:grid;width:48px;height:48px;flex:none;place-items:center;border-radius:15px;background:#e6f0eb;font-size:25px}
.portable-report-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.portable-report-form label{display:grid;gap:5px;color:#657d87;font-size:11px;font-weight:700}
.portable-report-form input,.portable-report-form textarea{width:100%;min-height:39px;padding:9px 10px;border:1px solid #dce6e6;border-radius:9px;background:#fff;color:#294758;font:12px/1.4 inherit}
.portable-report-form textarea{resize:vertical}
.portable-report-form .portable-report-note{grid-column:1/-1}
.portable-report-form>.btn{justify-self:start}
.portable-report-privacy{display:block;margin-top:10px;color:#829399;font-size:10px}
@media(max-width:760px){.portable-report-card{padding:14px}.portable-report-form{grid-template-columns:1fr}.portable-report-form .portable-report-note{grid-column:auto}.portable-report-heading h3{font-size:16px}}
