:root {
  --green: #137d55;
  --blue: #143e84;
  --ink: #182d43;
  --muted: #78879a;
  --border: #e5ebf0;
  --bg: #f4f7fa;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font:
    14px system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--ink);
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  border: 1px solid var(--border);
  background: white;
  border-radius: 7px;
  padding: 10px 14px;
  color: var(--ink);
}
button:hover {
  filter: brightness(0.97);
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
input,
select,
textarea {
  background: white;
  border: 1px solid #d7e0e8;
  border-radius: 7px;
  padding: 11px;
  color: var(--ink);
  max-width: 100%;
}
textarea {
  resize: vertical;
  min-height: 80px;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #94b8f0;
  outline-offset: 2px;
}
aside {
  position: fixed;
  inset: 0 auto 0 0;
  width: 245px;
  background: white;
  padding: 22px 17px;
  border-right: 1px solid var(--border);
  z-index: 4;
  overflow: auto;
}
aside img {
  width: 205px;
  height: 83px;
  object-fit: contain;
}
.workspace {
  background: #f3f7fb;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 14px;
  margin: 18px 0;
  font-size: 12px;
  font-weight: 700;
}
.workspace small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  margin-top: 6px;
}
.workspace select {
  width: 100%;
  padding: 7px;
  margin-top: 9px;
  font-size: 12px;
}
nav {
  display: grid;
  gap: 4px;
}
nav button {
  border: 0;
  text-align: left;
  color: #64758a;
  padding: 12px 13px;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
}
nav button.active {
  background: #eaf5ef;
  color: var(--green);
  font-weight: 700;
}
nav i {
  font-style: normal;
  font-size: 18px;
  width: 22px;
}
.brand-note {
  font-size: 11px;
  color: var(--blue);
  margin: 28px 13px;
}
.brand-note small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
}
main {
  margin-left: 245px;
}
header {
  height: 76px;
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.avatar {
  border-radius: 50%;
  padding: 11px;
  background: #edf3fa;
  color: var(--blue);
  font-size: 11px;
}
.crumb {
  color: var(--muted);
  font-size: 12px;
}
#content {
  padding: 30px 32px;
  max-width: 1600px;
  margin: auto;
}
.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
h1 {
  font-size: 27px;
  letter-spacing: -0.8px;
  margin: 0 0 8px;
}
h2 {
  font-size: 17px;
  margin: 0 0 18px;
}
h3 {
  font-size: 14px;
}
p {
  line-height: 1.65;
}
.muted,
.page-head p {
  color: var(--muted);
  font-size: 12px;
}
.page-head p {
  margin: 0;
}
.primary {
  background: var(--green);
  border: 0;
  color: white;
  font-weight: 600;
}
.danger {
  color: #b24c3f;
}
.small {
  font-size: 11px;
  padding: 7px 9px;
}
.link {
  color: var(--green);
  background: none;
  border: 0;
  padding: 0;
}
.hero {
  background: #103e38;
  color: white;
  border-radius: 13px;
  padding: 28px;
  margin-bottom: 23px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  overflow: hidden;
}
.hero h2 {
  font-size: 23px;
  letter-spacing: -0.5px;
  margin: 10px 0;
}
.hero p {
  color: #bdd6ce;
  font-size: 12px;
  margin: 0;
}
.hero .eyebrow {
  color: #9dceb5;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
}
.hero button {
  background: #ffffff12;
  color: white;
  border-color: #ffffff35;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 23px;
}
.card {
  padding: 22px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 11px;
  margin-bottom: 21px;
}
.stats .card {
  margin: 0;
}
.stat-label {
  color: var(--muted);
  font-size: 12px;
}
.value {
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -0.7px;
  margin: 13px 0 9px;
}
.sub {
  font-size: 11px;
  color: var(--muted);
}
.grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 21px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.section-head h2 {
  margin: 0;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 0;
  border-bottom: 1px solid #edf1f4;
}
.row:last-child {
  border: 0;
}
.row p {
  font-size: 11px;
  color: var(--muted);
  margin: 5px 0 0;
}
.row-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.progress {
  height: 7px;
  border-radius: 10px;
  background: #eaf0f4;
  overflow: hidden;
  margin: 13px 0;
}
.progress-bar {
  height: 100%;
  background: var(--green);
  border-radius: 10px;
  width: 0;
}
.badge {
  font-size: 10px;
  border-radius: 5px;
  padding: 5px 8px;
  display: inline-block;
  background: #e9f5ef;
  color: #137b50;
  white-space: nowrap;
}
.badge.pending {
  background: #fff4df;
  color: #9b7225;
}
.badge.rejected {
  background: #fff0ee;
  color: #b35445;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
th {
  padding: 12px 10px;
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
  background: #f8fafc;
  white-space: nowrap;
}
td {
  padding: 14px 10px;
  border-bottom: 1px solid #edf1f4;
}
td small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 5px;
}
.money {
  font-weight: 650;
  white-space: nowrap;
}
.empty {
  padding: 30px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.notice {
  background: #f4f8fc;
  border-radius: 8px;
  padding: 15px;
  margin: 10px 0;
}
.notice p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  white-space: pre-line;
}
.warning {
  background: #fff8e9;
  color: #8a681f;
  border: 1px solid #eddfbf;
  padding: 13px;
  border-radius: 8px;
  font-size: 12px;
  margin-bottom: 20px;
}
.bill {
  background: #f0f7f3;
  border-radius: 8px;
  padding: 16px;
  margin: 15px 0;
  line-height: 1.8;
}
.positive {
  color: var(--green);
}
label {
  display: block;
  font-size: 12px;
  color: #5d7085;
  margin-bottom: 15px;
}
label input,
label select,
label textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
}
label.check {
  display: flex;
  gap: 8px;
  align-items: center;
}
label.check input {
  width: auto;
  margin: 0;
}
.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-art {
  background: #103e38;
  color: white;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-art img {
  width: 330px;
  max-width: 100%;
  border-radius: 12px;
}
.auth-art h1 {
  font-size: 42px;
  max-width: 480px;
  line-height: 1.18;
  margin: 45px 0 20px;
}
.auth-art p {
  color: #bfd7ce;
  max-width: 400px;
}
.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
}
.auth-box {
  width: 100%;
  max-width: 400px;
}
.auth-box .primary {
  width: 100%;
}
.auth-box h1 {
  font-size: 26px;
}
.auth-links {
  display: grid;
  gap: 15px;
  margin-top: 24px;
}
.error {
  color: #b34b3b;
  font-size: 12px;
  white-space: pre-line;
}
.tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.tabs .active {
  background: var(--green);
  color: white;
}
.bars {
  height: 150px;
  display: flex;
  gap: 12px;
  align-items: flex-end;
  border-bottom: 1px solid var(--border);
  padding-top: 12px;
}
.bar-column {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
}
.bar {
  background: #22865e;
  border-radius: 4px 4px 0 0;
  min-height: 2px;
}
.bar-label {
  font-size: 9px;
  color: var(--muted);
  text-align: center;
  padding-top: 8px;
}
.profile-score {
  text-align: center;
  padding: 20px;
}
.profile-score strong {
  font-size: 42px;
  color: var(--green);
}
.heir {
  padding: 13px;
  background: #f4f7fa;
  border-radius: 8px;
  margin: 12px 0;
}
.heir .split {
  gap: 10px;
}
.heir label {
  margin-bottom: 8px;
}
.heir h3 {
  margin: 0 0 12px;
}
dialog {
  border: 0;
  border-radius: 13px;
  box-shadow: 0 25px 100px #10243830;
  width: 600px;
  max-width: 94vw;
  max-height: 90vh;
  padding: 27px;
}
dialog::backdrop {
  background: #0e253965;
}
.modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 15px;
}
.modal-head button {
  border: 0;
  padding: 0 5px;
  font-size: 24px;
}
#toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #103e38;
  color: white;
  padding: 15px 22px;
  border-radius: 8px;
  box-shadow: 0 5px 25px #0002;
  display: none;
  z-index: 10;
  max-width: 85vw;
}
footer {
  padding: 20px 32px;
  color: var(--muted);
  font-size: 10px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
}
.mobile-menu {
  display: none;
}
.loading {
  padding: 60px;
  font-size: 20px;
}
pre {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 11px;
}
details {
  margin: 10px 0;
}
summary {
  cursor: pointer;
  font-weight: 600;
  padding: 8px 0;
}
.filters {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
@media (max-width: 1100px) {
  aside {
    width: 210px;
  }
  aside img {
    width: 174px;
  }
  main {
    margin-left: 210px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .auth-art {
    padding: 35px;
  }
  .auth-art h1 {
    font-size: 32px;
  }
}
@media (max-width: 700px) {
  aside {
    display: none;
    width: 245px;
    box-shadow: 0 0 0 100vw #10243a65;
  }
  .menu-open aside {
    display: block;
  }
  main {
    margin: 0;
  }
  .mobile-menu {
    display: block;
  }
  .crumb {
    display: none;
  }
  header {
    padding: 0 16px;
    height: 65px;
  }
  .header-actions {
    gap: 7px;
  }
  .header-actions button {
    padding: 8px;
    font-size: 11px;
  }
  #content {
    padding: 23px 16px;
  }
  .page-head {
    gap: 12px;
  }
  h1 {
    font-size: 23px;
  }
  .page-head button {
    font-size: 11px;
  }
  .hero {
    padding: 22px;
  }
  .hero h2 {
    font-size: 20px;
  }
  .stats {
    gap: 10px;
  }
  .card {
    padding: 17px;
  }
  .value {
    font-size: 20px;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .auth {
    display: block;
  }
  .auth-art {
    padding: 25px;
  }
  .auth-art img {
    width: 210px;
  }
  .auth-art h1 {
    font-size: 26px;
    margin: 20px 0 5px;
  }
  .auth-art p {
    display: none;
  }
  .auth-panel {
    padding: 30px 23px;
  }
  .hero .row-actions {
    display: none;
  }
  footer {
    padding: 18px 16px;
  }
}
:root {
  color-scheme: light;
}
@media print {
  body {
    background: white;
  }
  #app,
  #toast,
  .modal-head,
  #modal-submit,
  #modal-error,
  [data-action="print"] {
    display: none !important;
  }
  dialog[open] {
    position: static;
    display: block;
    border: 0;
    box-shadow: none;
    width: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 20px;
  }
  dialog::backdrop {
    background: white;
  }
  .receipt {
    display: block;
    color: black;
  }
  .receipt .row {
    page-break-inside: avoid;
  }
}

/* v1.1.0 */
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 0.95em;
  white-space: nowrap;
}
.small {
  font-size: 0.85rem;
}
input[type="file"] {
  padding: 8px;
}
:root{--surface:#fff}
.back-nav{display:flex;gap:16px;align-items:center;margin-bottom:18px}.management-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.management-grid .card{margin:0 0 10px}.management-icon{display:inline-block;font-size:26px;color:var(--green);margin-bottom:15px}.management-grid p{min-height:40px}.quick-actions{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 24px}.member-name{display:flex;align-items:center;gap:12px}.member-name .avatar{display:inline-flex;align-items:center;justify-content:center;min-width:39px;min-height:39px}.permission-cell{width:18px;height:18px;accent-color:var(--green);cursor:pointer}.passkey-login{margin-top:13px}.passkey-login button{width:100%}.mobile-bottom{display:none}.profile-identity{display:flex;align-items:center;gap:14px}.host-member-tools{margin-top:15px;padding-top:12px;border-top:1px solid var(--border)}@media(max-width:1000px){.management-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){main{padding-bottom:72px}.management-grid{grid-template-columns:1fr}.mobile-bottom{position:fixed;display:flex;justify-content:space-around;align-items:center;bottom:0;left:0;right:0;padding:10px 5px calc(9px + env(safe-area-inset-bottom));background:white;border-top:1px solid var(--border);z-index:3;box-shadow:0 -3px 15px #10243a08}.mobile-bottom button{border:0;padding:6px;background:none;font-size:11px;display:flex;flex-direction:column;gap:4px;align-items:center}.mobile-bottom .active{color:var(--green);font-weight:700}.mobile-bottom b{font-size:20px;font-weight:500}.header-actions .avatar{display:none}.back-nav{justify-content:space-between}.quick-actions button{flex:1;font-size:12px}.value{overflow-wrap:anywhere}.page-head .row-actions{max-width:48%}}
/* Grouped sidebar and original brand icons. */
aside.has-grouped-nav{display:flex;flex-direction:column;overflow:hidden;padding-bottom:14px}
aside.has-grouped-nav>img,aside.has-grouped-nav>.workspace{flex-shrink:0}
aside.has-grouped-nav>.workspace{margin:12px 0 16px}
.grouped-sidebar{display:block;overflow:auto;min-height:0;flex:1;padding:0 2px 12px;scrollbar-width:thin}
.grouped-sidebar button,.sidebar-profile button{width:100%;border:0;display:flex;align-items:center;gap:11px;text-align:left;background:transparent;border-radius:10px;padding:11px 10px;font-size:12px;color:#34445f;line-height:1.45}
.nav-icon{display:inline-flex;width:29px;height:29px;flex:0 0 29px;align-items:center;justify-content:center}
.nav-icon svg{width:27px;height:27px;display:block}
.sidebar-group{margin:5px 0;border:1px solid transparent;border-radius:12px}
.sidebar-group summary{list-style:none;display:flex;align-items:center;gap:10px;padding:12px 9px;color:#273e62;font-size:12px;font-weight:700;cursor:pointer;border-radius:10px}
.sidebar-group summary::-webkit-details-marker{display:none}
.sidebar-group summary>span:not(.nav-icon){flex:1}
.sidebar-group summary:hover,.grouped-sidebar button:hover,.sidebar-profile button:hover{background:#f0f5fc}
.sidebar-group[open]{background:#f7f9fd;border-color:#e6edf8}
.nav-chevron{width:13px;height:13px;flex:0 0 13px;color:#7187aa;transition:transform .16s}
.sidebar-group[open] .nav-chevron{transform:rotate(90deg)}
.sidebar-children{padding:0 5px 7px 10px}
.sidebar-children button{padding:9px 8px;font-size:12px}
.sidebar-children .nav-icon{width:25px;height:25px;flex-basis:25px}
.sidebar-children .nav-icon svg{width:23px;height:23px}
.grouped-sidebar button.active,.sidebar-profile button.active{background:#e7f1ff;color:#073caa;font-weight:700;box-shadow:inset 3px 0 #0a9d38}
.sidebar-profile{flex-shrink:0;border-top:1px solid #e1e9f4;padding-top:12px;margin-top:8px;background:white}
aside.has-grouped-nav .brand-note{margin:10px 10px 6px;font-size:9px;flex-shrink:0}
.mobile-bottom .nav-icon{height:25px;width:25px;flex-basis:25px}.mobile-bottom .nav-icon svg{height:23px;width:23px}
@media(max-width:700px){aside.has-grouped-nav{display:none}.menu-open aside.has-grouped-nav{display:flex}.sidebar-group summary{padding:11px 9px}}

.password-entry{position:relative;display:block}.password-entry input{padding-right:48px}.password-eye{position:absolute;right:5px;top:50%;transform:translateY(-50%);border:0;background:transparent;padding:8px;color:#365779;display:flex}.password-eye svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}.password-eye[aria-pressed="true"]{color:#078c34}
.profile-badge{display:inline-flex;align-items:center;gap:4px;color:#0869c9;font-size:11px;font-weight:600;margin:4px 0}.profile-badge svg{width:21px;height:21px;flex-shrink:0}.profile-badge svg path:first-child{fill:#1596eb}.profile-badge svg path:last-child{fill:none;stroke:#fff;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.profile-badge.verified svg path:first-child{fill:#078d45}.profile-badge.verified{color:#078d45}.member-actions{display:inline-block;position:relative}.member-actions summary{cursor:pointer;padding:4px 12px;border:1px solid #dbe3ef;border-radius:8px;list-style:none;font-size:20px}.member-actions[open]{padding:5px;background:#fff7f4;border:1px solid #f1d7ce;border-radius:8px}.opening-alert{background:#fff7e4;border:1px solid #f1cd74;border-left:5px solid #ee9c1b;padding:20px;border-radius:12px;margin-bottom:24px}.opening-alert h2{margin-top:0}.currency-label{padding:12px;background:#eff6ff;border-radius:8px;color:#123f7a}

.member-actions[open]{background:#f6f9fd;border-color:#dbe3ef;min-width:175px}.member-action-list{display:grid;gap:5px;padding:6px 0}.member-action-list button{width:100%;margin:0;text-align:left}.rule-changes .notice{padding:12px 0}
.member-action-list.floating-member-menu{position:absolute;display:grid;z-index:40;margin:0;padding:8px;background:white;border:1px solid #d9e3ef;border-radius:12px;box-shadow:0 12px 38px #17304d2b;overflow:auto;box-sizing:border-box}.floating-member-menu button{border:0;background:transparent;border-radius:7px;padding:10px 12px;text-align:left}.floating-member-menu button:hover,.floating-member-menu button:focus-visible{background:#edf4ff}.member-actions[open]{padding:0;min-width:0;background:transparent;border:0}.stats.dashboard-stats{display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:16px}.dashboard-stats>.card{flex:0 0 calc(25% - 12px);min-width:0;box-sizing:border-box}.opening-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%}.opening-choice{padding:14px;background:#ffffffb3;border:1px solid #e9d7ab;border-radius:9px}.opening-choice small{display:block;margin-top:8px;line-height:1.6}.opening-choice button{width:100%}.opening-note{font-size:12px;margin:14px 0 0;color:#715314}@media(max-width:1100px){.dashboard-stats>.card{flex-basis:calc(50% - 8px)}}@media(max-width:700px){.stats.dashboard-stats{gap:10px}.dashboard-stats>.card{flex-basis:calc(50% - 5px)}.opening-choices{grid-template-columns:1fr}}

#modal{overflow:hidden}#modal-form{display:flex;flex-direction:column;min-height:0;max-height:calc(90vh - 54px);max-height:calc(90dvh - 54px)}#modal-fields{overflow:auto;overscroll-behavior:contain;min-height:0;flex:1 1 auto;padding-right:6px}.modal-head,#modal-error,.modal-footer{flex-shrink:0}.modal-footer{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding-top:16px;margin-top:12px;border-top:1px solid var(--border);background:white}.modal-footer button{min-width:100px}#modal-error{max-height:90px;overflow:auto}@media(max-width:700px){.modal-footer button{flex:1}}@media print{.modal-footer{display:none!important}#modal-form{max-height:none;display:block}#modal-fields{overflow:visible}}

.report-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px;margin-bottom:14px}.report-explanation{padding:14px;border-left:4px solid #064a9b;background:#eef5ff;line-height:1.6}.report-filters label{margin:0}
input[data-money]{font-size:20px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:.02em}.money-input-help{display:block;margin-top:7px;font-size:13px;line-height:1.5;color:#164f46}.money-input-help.error{color:#b42318}

/* Compact member statements keep zero-only adjustment columns optional. */
.report-explanation{display:flex;align-items:baseline;gap:.6rem;flex-wrap:wrap}.report-explanation>p{margin:.4rem 0}.report-help{max-width:100%;margin:.4rem 0}.report-help summary{display:inline-flex;align-items:center;justify-content:center;width:1.6rem;height:1.6rem;border:1px solid currentColor;border-radius:50%;cursor:pointer;font-weight:700;list-style:none}.report-help summary::-webkit-details-marker{display:none}.report-help p{max-width:65ch;font-weight:400;line-height:1.6}.report-expanded>summary{cursor:pointer;color:var(--blue);padding:.5rem 0;font-weight:600}.report-expanded[open]+.report-compact{display:none}

#modal:has(#opening-review){width:960px}#opening-review table{min-width:760px}#opening-review td:not(:first-child){white-space:nowrap}#opening-review .split b{white-space:nowrap}

/* Host service management and group identity. */
.group-verified{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:20px;background:#eaf4ff;color:#075ca9;font-size:12px;font-weight:650;line-height:1.3}.group-verified svg{width:21px;height:21px;flex-shrink:0}.group-verified svg path:first-child{fill:#168de2}.group-verified svg path:last-child{fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.workspace .group-verified{margin-top:10px;color:#075ca9}.service-benefit{padding:20px 24px;margin-bottom:20px;border:1px solid #b7e3c9;background:linear-gradient(120deg,#effbf3,#f2f8ff);border-radius:14px;color:#174d35}.service-benefit>b{font-size:18px}.service-benefit p{margin:8px 0}.service-benefit small{display:block;margin-top:6px;line-height:1.5}.service-benefit.expired{border-color:#edd5a4;background:#fff8e9;color:#765015}.host-more{position:relative}.host-more>summary{cursor:pointer;list-style:none;font-size:23px;padding:2px 14px;border:1px solid var(--border);border-radius:8px}.host-more>div{position:absolute;right:0;top:100%;z-index:20;background:white;border:1px solid var(--border);border-radius:10px;box-shadow:0 8px 26px #1233;padding:10px;min-width:230px;display:grid;gap:7px}.host-more button{text-align:left}#content:has(.host-more){overflow:visible}@media(max-width:700px){.service-benefit{padding:16px}.host-more>div{right:auto;left:0}}

.grid.single-card{grid-template-columns:1fr}

.release-update{position:fixed;top:12px;left:50%;transform:translateX(-50%);z-index:1000;display:flex;align-items:center;gap:12px;max-width:calc(100vw - 24px);padding:14px 18px;border:1px solid #8eb9ec;background:#eff6ff;color:#073caa;border-radius:12px;box-shadow:0 8px 30px #17304d30}.release-update button{white-space:nowrap;background:#073caa;color:white}.pricing-agreement{padding:20px 24px;background:#eef5ff;border:1px solid #bad5fa;border-radius:14px;margin-bottom:20px}.pricing-agreement h2{color:#073caa}.service-notice.unread{border-left:4px solid #073caa}.leader-review{background:#f0f6ff;padding:16px;border-radius:10px}#host-other-accounts>summary{cursor:pointer;font-weight:650;padding:16px 0}.service-plan-label{font-size:15px;color:#83521a}@media(max-width:700px){.release-update{width:calc(100vw - 24px);font-size:13px;padding:10px}}

.service-invoice-list>summary{cursor:pointer;font-size:18px;font-weight:650;padding:8px 0}

.device-photo{padding:16px;border:1px solid #ddd;border-radius:12px;margin-bottom:16px}.device-photo img,.device-profile-photo{object-fit:contain;border-radius:12px}.device-photo button{margin:4px}
/* Proof of payment */
.proof-links{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.proof-chip{display:inline-flex;align-items:center;gap:4px;max-width:220px;padding:3px 9px;border:1px solid #d7e2dd;border-radius:999px;background:#f3f8f6;color:var(--green);font-size:12px;font-weight:600;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-decoration:none;cursor:pointer}
.proof-chip:hover{background:#e6f2ed}
.proof-method{display:inline-block;margin-top:4px;padding:2px 8px;border-radius:999px;background:#eef1f5;color:var(--muted);font-size:11.5px}
.proof-preview{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:-4px 0 12px}
.proof-preview img{width:76px;height:76px;object-fit:cover;border-radius:10px;border:1px solid #d7e2dd}
.proof-view{text-align:center}
.proof-view img{display:block;max-width:100%;max-height:65vh;margin:0 auto 10px;border-radius:12px;border:1px solid #d7e2dd;background:#fff}
/* Leaders' room */
.section-title{margin:28px 0 12px;font-size:20px}
.topic .thread{display:flex;flex-direction:column;gap:10px;margin:12px 0}
.topic .message{max-width:92%;padding:10px 12px;border-radius:14px;background:#f3f6fa;border:1px solid var(--border)}
.topic .message.mine{align-self:flex-end;background:#eef8f3;border-color:#d7e2dd}
.topic .message b{font-size:13px}.topic .message small{margin-left:8px;color:var(--muted);font-size:11.5px}
.topic .message p{margin:4px 0 0;white-space:normal;word-break:break-word}
.topic .decision{padding:10px 12px;border-radius:12px;background:#eef8f3;border-left:4px solid var(--green);margin:10px 0}
.topic .decision small{display:block;color:var(--muted);margin-top:4px}
.topic .reply textarea{width:100%;margin-bottom:6px}
.mention-row{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;font-size:13px;color:var(--muted);margin:4px 0 8px}
label.mention{display:inline-flex;flex-direction:row;align-items:center;gap:6px;font-weight:500;color:var(--ink);margin:0}
label.mention input{width:auto;margin:0}
.poll{border:1px solid var(--border);border-radius:14px;padding:12px;margin:10px 0;background:#fff}
.poll>small{display:block;color:var(--muted);margin:2px 0 8px}
.poll-option{display:grid;grid-template-columns:1fr auto;gap:4px 10px;align-items:center;margin:8px 0}
.poll-option span{font-size:13.5px}
.poll-bar{grid-column:1/-1;height:8px;border-radius:99px;background:#eef1f5;overflow:hidden}
.poll-bar span{display:block;height:100%;background:var(--green)}
/* SMS & email notifications */
.notify-tabs{display:flex;gap:.5rem;flex-wrap:wrap;margin:1rem 0}
.notify-tabs button.active{background:var(--blue);color:#fff;border-color:transparent}
.notify-pick{display:flex;flex-wrap:wrap;gap:.25rem .9rem;max-height:14rem;overflow:auto;border:1px solid var(--border);border-radius:10px;padding:.5rem .75rem}
.notify-body{display:block;max-width:28rem;white-space:normal;font-size:.9em;color:var(--muted)}
#notify-prefs-form{display:grid;gap:.35rem;margin:.5rem 0 1rem}
/* Demo site */
.demo-landing{max-width:1180px;margin:0 auto;padding:24px 16px 48px}
.demo-top{display:flex;justify-content:space-between;align-items:center;gap:12px}
.demo-hero{margin:28px 0 20px;max-width:820px}
.demo-hero h1{font-size:clamp(26px,4vw,38px);line-height:1.15;margin:.3rem 0 .6rem}
.demo-hero .eyebrow{display:inline-block;background:var(--green);color:#fff;border-radius:999px;padding:3px 12px;font-weight:700;letter-spacing:.08em;font-size:12px}
.demo-types{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px}
.demo-type h2{margin-top:0}
.demo-roles{display:grid;gap:8px}
.demo-role{display:grid;gap:2px;text-align:left;padding:10px 12px;border-radius:12px;border:1px solid var(--border);background:#fff;cursor:pointer}
.demo-role:hover:not(:disabled){border-color:var(--green);box-shadow:0 2px 10px rgba(19,125,85,.12)}
.demo-role small{color:var(--muted);font-weight:400}
.demo-role.primary-soft b{color:var(--blue)}
.demo-wait{color:var(--green)!important;font-weight:600!important}
.demo-foot{margin-top:28px;color:var(--muted)}
.demo-banner{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;background:#fff8e6;border:1px solid #ffd27a;border-radius:12px;padding:10px 14px;margin:12px 0}
.demo-banner small{color:var(--muted);margin-left:6px}
.demo-switch{display:flex;flex-wrap:wrap;gap:6px}
