:root {
  color-scheme: light;
  --ink: #203c35;
  --muted: #65766f;
  --green: #215d4d;
  --dark: #163d33;
  --paper: #f5f6f1;
  --line: #e1e7df;
  --white: #fff;
  --accent: #d9e8ba;
  --danger: #934631;
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}
a {
  color: var(--green);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
select {
  font: inherit;
}
button,
.button {
  border: 1px solid transparent;
  border-radius: 9px;
  background: var(--green);
  color: white;
  padding: 11px 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  white-space: nowrap;
}
button:hover,
.button:hover {
  filter: brightness(0.95);
  text-decoration: none;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button.secondary,
.button.secondary {
  background: white;
  border-color: #ccd7cd;
  color: var(--ink);
}
button.danger {
  background: #f8e9e2;
  color: #813e2c;
  border-color: #e8cbbc;
}
.quiet {
  background: transparent;
  color: var(--muted);
  padding: 8px 0;
}
input,
select {
  width: 100%;
  background: white;
  color: var(--ink);
  padding: 11px 13px;
  border: 1px solid #cdd8cf;
  border-radius: 8px;
  min-height: 44px;
}
input::placeholder {
  color: #87958d;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
label input,
label select {
  margin-top: 7px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #a7ba70;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 36px;
  line-height: 1.18;
  letter-spacing: -1.2px;
  font-weight: 600;
  margin-bottom: 12px;
}
h2 {
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.4px;
  font-weight: 600;
}
h3 {
  font-size: 16px;
}
p {
  color: var(--muted);
}
.shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 234px;
  flex: 0 0 234px;
  background: var(--dark);
  color: #e6eee5;
  padding: 30px 20px 24px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: inherit;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -1px;
}
.brand:hover {
  text-decoration: none;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 1.7px;
  font-weight: 500;
  margin-top: 1px;
  color: #bdd0bc;
}
.brand-mark {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 36px;
  line-height: 42px;
  width: 43px;
  height: 43px;
  text-align: center;
  border: 1px solid #678478;
  border-radius: 12px;
  color: #dceaaf;
}
.nav-label {
  color: #93b0a0;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.6px;
  margin: 52px 13px 15px;
}
nav {
  display: grid;
  gap: 7px;
}
nav a {
  display: flex;
  gap: 12px;
  color: #c2d2c8;
  padding: 13px 12px;
  border-radius: 8px;
  font-size: 14px;
}
nav a[aria-current] {
  color: #f2f6dd;
  background: #315448;
}
nav .external {
  margin-left: auto;
}
.side-note {
  border-top: 1px solid #3a584b;
  margin: 52px 12px 0;
  padding-top: 28px;
}
.small-orbit {
  font-size: 37px;
  color: #cbdbad;
  display: block;
  margin-bottom: 15px;
}
.side-note strong {
  font-size: 15px;
  font-weight: 500;
  color: #e3edcf;
}
.side-note p {
  font-size: 12px;
  color: #9ab7a4;
  line-height: 1.8;
  margin: 9px 0;
}
.side-bottom {
  display: grid;
  gap: 4px;
  margin-top: auto;
  padding: 34px 12px 0;
  font-size: 12px;
}
.side-bottom a,
.side-bottom button {
  color: #b6cabb;
  justify-content: flex-start;
  font-size: 12px;
}
.main-shell {
  flex: 1;
  min-width: 0;
}
.topbar {
  height: 77px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  font-size: 10px;
  letter-spacing: 1.1px;
  color: #809087;
}
.topbar strong {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink);
}
.slash {
  margin: 0 16px;
  color: #b6c1b4;
}
.identity {
  font-size: 11px;
  letter-spacing: 0;
  max-width: 35%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
main {
  padding: 38px 42px 52px;
  max-width: 1550px;
  margin: auto;
}
.eyebrow {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.8px;
  color: #6b806e;
  margin-bottom: 13px;
}
.title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.title-row p {
  font-size: 14px;
  margin: 0;
  max-width: 560px;
}
.title-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.customer-select {
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}
.customer-select label {
  font-size: 11px;
  color: #6c7b6d;
  white-space: nowrap;
}
.customer-select select {
  max-width: 310px;
  width: auto;
  min-width: 200px;
  font-weight: 500;
  padding: 8px 30px 8px 12px;
  background: transparent;
}
.policy-chip {
  margin-left: auto;
  font-size: 11px;
  color: #547147;
  background: #e9efdf;
  border: 1px solid #dce4ce;
  padding: 6px 10px;
  border-radius: 6px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  margin-bottom: 31px;
}
.stat {
  padding: 21px 24px;
  border-right: 1px solid var(--line);
}
.stat:last-child {
  border-right: 0;
}
.stat-top {
  font-size: 11px;
  color: #6d7f71;
  margin-bottom: 9px;
}
.stat-value {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -1px;
}
.stat small {
  color: #8b988a;
  font-size: 11px;
  display: block;
  margin-top: 4px;
}
.tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid #d8e0d5;
  margin-bottom: 22px;
}
.tabs button {
  background: transparent;
  border-radius: 0;
  color: #7c8a7d;
  padding: 0 0 14px;
  border-width: 0 0 2px;
  font-size: 13px;
  font-weight: 500;
}
.tabs button[aria-selected='true'] {
  color: #235845;
  border-color: #235845;
}
.count {
  background: #e8eddf;
  color: #607151;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 5px;
  margin-left: 1px;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 19px;
}
.search {
  flex: 1;
  max-width: 420px;
}
.search input {
  background: #fff;
  padding-left: 15px;
}
.toolbar select {
  width: auto;
  max-width: 170px;
  font-size: 12px;
}
.toolbar .refresh {
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line);
  color: #6a7d6c;
  font-size: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
th {
  background: #fafbf7;
  color: #7b8a78;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.4px;
  padding: 14px 22px;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 17px 22px;
  border-bottom: 1px solid #edf0e8;
}
tbody tr:last-child td {
  border-bottom: 0;
}
.person {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 200px;
}
.avatar {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  background: #edf1e3;
  border: 1px solid #e3e9d8;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
  color: #647550;
}
.avatar.tone-1 {
  background: #edf0f5;
  border-color: #e1e6ed;
  color: #64758c;
}
.avatar.tone-2 {
  background: #f4ede7;
  border-color: #ebe2d9;
  color: #9a7d61;
}
.avatar.tone-3 {
  background: #ece9f2;
  border-color: #e4dfed;
  color: #847198;
}
.person strong {
  font-size: 12px;
  font-weight: 600;
  display: block;
  overflow-wrap: anywhere;
}
.person small {
  display: block;
  font-size: 11px;
  color: #8c9789;
  margin-top: 3px;
  overflow-wrap: anywhere;
  max-width: 360px;
}
.role-badge {
  border-radius: 5px;
  border: 1px solid #e1e7da;
  background: #f5f7f0;
  color: #63794d;
  padding: 4px 8px;
  font-size: 10px;
  display: inline-block;
  text-transform: capitalize;
}
.role-owner {
  color: #766137;
  background: #f8f3e8;
  border-color: #ede3cc;
}
.role-admin {
  color: #4c6e69;
  background: #edf3f1;
  border-color: #dce8e3;
}
.role-billing {
  color: #7b6687;
  background: #f3eef6;
  border-color: #e6deeb;
}
.status {
  font-size: 11px;
  white-space: nowrap;
  color: #6e8362;
}
.status:before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7e9d70;
  margin-right: 6px;
  vertical-align: middle;
}
.status.suspended,
.status.revoked,
.status.expired {
  color: #968b7c;
}
.status.suspended:before,
.status.revoked:before,
.status.expired:before {
  background: #b4a491;
}
.status.pending {
  color: #a18a51;
}
.status.pending:before {
  background: #b29a59;
}
.row-action {
  background: white;
  border-color: #dce4d7;
  color: #5d7353;
  font-size: 11px;
  padding: 6px 11px;
  min-height: 33px;
}
.muted {
  color: var(--muted);
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 21px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: #83917d;
}
.pagination div {
  display: flex;
  gap: 8px;
  align-items: center;
}
.pagination button {
  padding: 5px 9px;
  font-size: 11px;
  background: #fff;
  border: 1px solid #dce4d7;
  color: #617157;
}
.footnote {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 19px 3px 0;
  font-size: 11px;
  color: #83917b;
}
.footnote span:first-child {
  color: #6f855b;
  font-size: 16px;
}
.empty {
  padding: 58px 25px;
  text-align: center;
}
.empty-icon {
  font-size: 35px;
  color: #94a777;
  display: block;
  margin-bottom: 18px;
}
.empty h2 {
  font-size: 20px;
}
.empty p {
  max-width: 440px;
  margin: 0 auto 22px;
}
.loading {
  padding: 70px 20px;
  text-align: center;
  color: var(--muted);
}
.role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 15px;
}
.role-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.role-card h3 {
  margin: 16px 0 8px;
  text-transform: capitalize;
}
.role-card p {
  font-size: 12px;
  line-height: 1.75;
}
.role-card ul {
  padding-left: 17px;
  font-size: 11px;
  line-height: 2;
  color: #6b7d64;
}
.role-card .tag {
  font-size: 10px;
  color: #75886b;
}
.info {
  background: #edf2e5;
  border: 1px solid #dbe6d1;
  padding: 15px;
  border-radius: 9px;
  font-size: 12px;
  color: #526b47;
  margin: 18px 0;
}
.error {
  color: #8c3c2d;
  background: #f9eee9;
  border: 1px solid #e5c8bb;
  padding: 12px;
  border-radius: 8px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.activity-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.activity-list li {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 15px;
}
.activity-list li:last-child {
  border: 0;
}
.activity-list strong {
  font-size: 12px;
  font-weight: 600;
}
.activity-list p {
  font-size: 11px;
  margin: 5px 0;
}
.activity-list time {
  margin-left: auto;
  font-size: 10px;
  color: #8a9780;
  white-space: nowrap;
}
footer {
  border-top: 1px solid var(--line);
  margin: 0 42px;
  padding: 19px 0;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #8d9a86;
}
footer span {
  font-size: 10px;
}
dialog {
  width: min(520px, calc(100% - 32px));
  max-height: 90vh;
  border: 1px solid #dbe3d3;
  border-radius: 16px;
  padding: 27px 30px;
  box-shadow: 0 24px 90px #152c3433;
  color: var(--ink);
  background: #fcfdf9;
}
dialog::backdrop {
  background: #17372f70;
  backdrop-filter: blur(3px);
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.dialog-top .eyebrow {
  margin: 0;
}
.icon-button {
  padding: 0;
  background: none;
  color: #7b8e73;
  border: 1px solid #dce4d5;
  font-size: 22px;
  width: 30px;
  height: 30px;
  line-height: 1;
}
.dialog-intro {
  font-size: 13px;
  margin-bottom: 24px;
}
form {
  display: grid;
  gap: 18px;
}
.role-note {
  padding: 14px;
  background: #edf2e6;
  border-radius: 8px;
  color: #637b54;
  font-size: 12px;
  line-height: 1.7;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}
.dialog-actions button {
  font-size: 12px;
}
.check-label {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 400;
}
.check-label input {
  width: 17px;
  height: 17px;
  min-height: 0;
  margin: 0;
}
.detail-grid {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 8px;
  font-size: 12px;
  margin: 18px 0;
}
.detail-grid dt {
  color: #809175;
}
.detail-grid dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: min(450px, calc(100% - 40px));
  background: #244e3f;
  color: white;
  padding: 16px 22px;
  border-radius: 10px;
  box-shadow: 0 10px 35px #163b3025;
  z-index: 5;
  font-size: 13px;
}
.join-page {
  min-height: 100vh;
  background: radial-gradient(ellipse at top, #e7eedb, transparent 65%), #f5f6f0;
  padding: 55px 20px;
}
.join-brand {
  justify-content: center;
  color: var(--dark);
  margin-bottom: 38px;
}
.join-brand small {
  color: #859a75;
}
.join-brand .brand-mark {
  color: var(--green);
  border-color: #c3d2b5;
}
.join-card {
  max-width: 520px;
  background: white;
  border: 1px solid #dfe6d6;
  border-radius: 18px;
  box-shadow: 0 20px 60px #244a3610;
  padding: 38px;
}
.join-card h1 {
  font-size: 31px;
}
.join-card p {
  font-size: 13px;
  line-height: 1.8;
}
.join-card .button,
.join-card button {
  width: 100%;
  margin: 9px 0;
}
.join-legal {
  text-align: center;
  font-size: 11px;
  margin: 25px 0;
}
.join-legal a {
  color: #8a987e;
}
.join-orbit {
  font-size: 50px;
  color: #8da273;
  margin-bottom: 20px;
  display: block;
}
.link-field {
  font-size: 12px;
}
.success-symbol {
  font-size: 32px;
  color: #678947;
  margin-bottom: 18px;
}
.you {
  font-weight: 400;
  font-size: 10px;
  color: #8a9a80;
  margin-left: 6px;
}
.busy {
  opacity: 0.65;
  pointer-events: none;
}
@media (min-width: 1500px) {
  main {
    padding-top: 48px;
  }
  .title-row {
    margin-bottom: 35px;
  }
  td {
    padding-top: 21px;
    padding-bottom: 21px;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 195px;
    flex-basis: 195px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .brand {
    font-size: 24px;
  }
  .brand small {
    font-size: 7px;
  }
  main {
    padding: 30px 26px;
  }
  .topbar {
    padding: 0 26px;
  }
  footer {
    margin: 0 26px;
  }
  th,
  td {
    padding-left: 15px;
    padding-right: 15px;
  }
  .stat {
    padding: 19px;
  }
  .title-row {
    align-items: flex-start;
  }
  h1 {
    font-size: 31px;
  }
  .title-row p {
    max-width: 410px;
  }
  .policy-chip {
    font-size: 10px;
  }
  .identity {
    max-width: 28%;
  }
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
    padding: 17px 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .brand {
    font-size: 23px;
  }
  .brand-mark {
    width: 35px;
    height: 35px;
    line-height: 34px;
    font-size: 30px;
  }
  .sidebar .brand small {
    display: none;
  }
  .sidebar .nav-label,
  .side-note,
  .side-bottom {
    display: none;
  }
  .sidebar nav {
    display: flex;
    gap: 6px;
  }
  .sidebar nav a {
    padding: 9px;
    font-size: 11px;
  }
  .sidebar nav a:first-child,
  .sidebar nav a:last-child {
    display: none;
  }
  .topbar {
    height: 54px;
    padding: 0 20px;
    font-size: 8px;
  }
  .topbar strong {
    font-size: 11px;
  }
  .slash {
    margin: 0 8px;
  }
  .identity {
    font-size: 9px;
    max-width: 36%;
  }
  main {
    padding: 27px 20px 35px;
  }
  .title-row {
    display: block;
    margin-bottom: 24px;
  }
  .title-actions {
    margin-top: 21px;
  }
  .title-actions button {
    width: 100%;
    font-size: 12px;
  }
  .title-row p {
    font-size: 12px;
    line-height: 1.8;
  }
  h1 {
    font-size: 31px;
  }
  .customer-select {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 21px;
  }
  .customer-select select {
    max-width: 100%;
    flex: 1;
    min-width: 190px;
  }
  .policy-chip {
    margin: 4px 0 0;
    max-width: 100%;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 27px;
  }
  .stat {
    padding: 16px 18px;
  }
  .stat:nth-child(2) {
    border-right: 0;
  }
  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .stat-value {
    font-size: 27px;
  }
  .stat-top {
    font-size: 10px;
  }
  .stat small {
    font-size: 10px;
  }
  .tabs {
    gap: 21px;
    margin-bottom: 18px;
    overflow-x: auto;
  }
  .tabs button {
    font-size: 11px;
    padding-bottom: 12px;
    gap: 4px;
  }
  .toolbar {
    flex-wrap: wrap;
    gap: 9px;
  }
  .search {
    flex-basis: 100%;
    max-width: none;
  }
  .toolbar select {
    font-size: 11px;
    flex: 1;
    min-width: 0;
    max-width: none;
  }
  .toolbar .refresh {
    font-size: 11px;
    min-height: 44px;
    padding: 9px 12px;
  }
  .table-wrap table {
    min-width: 650px;
  }
  .pagination {
    padding: 13px;
    font-size: 10px;
  }
  .pagination div {
    gap: 5px;
  }
  .footnote {
    font-size: 10px;
    line-height: 1.7;
  }
  .activity-list li {
    padding: 17px 15px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .activity-list time {
    margin: 0 0 0 46px;
    width: 100%;
  }
  .role-grid {
    grid-template-columns: 1fr;
  }
  footer {
    margin: 0 20px;
  }
  .join-page {
    padding: 30px 16px;
  }
  .join-card {
    padding: 28px 24px;
  }
  .join-card h1 {
    font-size: 28px;
  }
  dialog {
    padding: 23px;
  }
  .dialog-actions {
    flex-wrap: wrap;
  }
  .dialog-actions button {
    flex: 1;
  }
  .notice {
    bottom: 16px;
    right: 16px;
  }
  .empty {
    padding: 40px 22px;
  }
  .identity:empty {
    display: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button,
  a {
    transition:
      background 0.15s,
      opacity 0.15s;
  }
  .panel,
  .role-card {
    animation: appear 0.18s ease-out;
  }
  @keyframes appear {
    from {
      opacity: 0.6;
      transform: translateY(3px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Keep every person and their actions together on small screens. */
@media (max-width: 760px) {
  .table-wrap table {
    min-width: 0;
  }
  .table-wrap thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .table-wrap tbody {
    display: block;
  }
  .table-wrap tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 5px 3px;
    border-bottom: 1px solid var(--line);
  }
  .table-wrap tr:last-child {
    border-bottom: 0;
  }
  .table-wrap td {
    border: 0;
    padding: 9px 14px;
    min-width: 0;
  }
  .table-wrap td:first-child {
    grid-column: 1 / -1;
    padding-top: 14px;
    padding-bottom: 13px;
  }
  .table-wrap td:last-child {
    text-align: right;
    align-self: end;
  }
  .table-wrap td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6e7b65;
    margin-bottom: 6px;
  }
  .table-wrap .person {
    min-width: 0;
  }
  .table-wrap .person small {
    max-width: 225px;
  }
  .table-wrap .row-action {
    min-height: 40px;
  }
}

/* Shared Finitor operations shell: consistent branding across all admin views. */
:root {--shell-ink:#133937;--shell-hover:#244b48;--shell-active:#315a54;--shell-text:#c8d9d3;}
.workspace aside,.shell .sidebar,.platform-shell aside {background:var(--shell-ink);color:var(--shell-text);padding:22px 16px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;width:246px;flex:0 0 246px;}
.workspace aside .brand,.shell .sidebar .brand,.platform-shell .brand{display:flex;align-items:center;gap:11px;padding:0 9px 22px;font-size:17px;line-height:1.2;font-weight:650;text-decoration:none;color:white;letter-spacing:-.3px}
.workspace aside .brand img,.shell .sidebar .brand img,.platform-shell .brand img{width:44px;height:44px;object-fit:contain;border-radius:9px}
.workspace aside .brand small,.shell .sidebar .brand small,.platform-shell .brand small{display:block;font-size:9px;letter-spacing:2px;font-weight:650;margin-top:5px;color:#9eb9ae}
.workspace aside nav,.shell .sidebar nav,.platform-shell aside nav{display:grid;align-content:start;gap:3px;margin-top:8px}
.workspace aside nav .nav-group,.shell .sidebar nav .nav-group,.platform-shell aside nav .nav-group{font-size:10px;letter-spacing:1.6px;font-weight:750;color:#8ea9a1;margin:19px 11px 8px}
.workspace aside nav a,.workspace aside nav button,.shell .sidebar nav a,.platform-shell aside nav a{display:flex;width:100%;gap:11px;align-items:center;text-align:left;background:transparent;color:var(--shell-text);font-size:13px;font-weight:550;border:0;border-radius:9px;padding:12px 10px;min-height:43px;text-decoration:none;white-space:normal}
.workspace aside nav a:hover,.workspace aside nav button:hover,.shell .sidebar nav a:hover,.platform-shell aside nav a:hover{background:var(--shell-hover);color:#fff;text-decoration:none}
.workspace aside nav .active,.workspace aside nav [aria-current=page],.shell .sidebar nav [aria-current=page],.platform-shell aside nav [aria-current=page]{background:var(--shell-active)!important;color:white!important;font-weight:650}
.workspace aside nav .nav-icon,.shell .sidebar nav .nav-icon,.platform-shell aside nav .nav-icon{width:20px;flex:0 0 20px;display:inline-flex;align-items:center;justify-content:center;font-size:16px;color:#c2d9ce}
.workspace aside nav .nav-external,.shell .sidebar nav .nav-external,.platform-shell aside nav .nav-external{margin-left:auto;color:#a5bdb0;font-size:13px}
.workspace aside .aside-foot,.shell .sidebar .side-bottom,.platform-shell .aside-foot{margin-top:auto;padding:18px 10px 5px;border-top:1px solid #31524e;display:flex;flex-direction:column;gap:8px;font-size:12px;color:#c5d6d0}
.workspace aside .aside-foot button,.shell .sidebar .side-bottom button,.platform-shell .aside-foot button{background:transparent;color:#c5d6d0;border:0;text-align:left;padding:6px 0;justify-content:flex-start;width:auto}
.shell .sidebar .side-note{display:none}
.workspace aside nav button span{font-size:13px}
@media(max-width:700px){
.workspace aside,.shell .sidebar,.platform-shell aside{position:static;width:100%;height:auto;min-height:0;flex:none;padding:14px}
.workspace aside nav,.shell .sidebar nav,.platform-shell aside nav{display:flex;flex-wrap:wrap;gap:6px;margin-top:0}
.workspace aside nav .nav-group,.shell .sidebar nav .nav-group,.platform-shell aside nav .nav-group{display:none}
.workspace aside nav a,.workspace aside nav button,.shell .sidebar nav a,.platform-shell aside nav a{width:auto;min-height:40px;padding:9px;font-size:12px}
.workspace aside .aside-foot,.shell .sidebar .side-bottom,.platform-shell .aside-foot{display:none}
}

/* Keep the canonical brand image bounded in invitation/mobile layouts. */
.join-brand img { width:44px; height:44px; flex:0 0 44px; object-fit:contain; border-radius:9px; }
.join-brand { max-width:100%; min-width:0; }
.join-brand span { min-width:0; }
