:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #20312e;
  background: #f5f6f2;
  font-synthesis: none;
  --ink: #18352b;
  --muted: #718078;
  --line: #e1e6de;
  --lime: #d7f583;
  --dark: #172724;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
[hidden] {
  display: none !important;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(28px, 3vw, 39px);
  font-weight: 550;
  letter-spacing: -1.3px;
  line-height: 1.15;
  margin-bottom: 12px;
}
h2 {
  font-size: 21px;
  font-weight: 570;
  letter-spacing: -0.5px;
  line-height: 1.3;
  margin: 12px 0;
}
p {
  color: #68786f;
  font-size: 14px;
  line-height: 1.7;
}
small,
.subtle {
  font-size: 12px;
  color: var(--muted);
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.7px;
  font-weight: 700;
  color: #65816f;
}
.primary,
.secondary {
  border: 0;
  border-radius: 7px;
  padding: 13px 19px;
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}
.primary {
  background: var(--ink);
  color: white;
}
.primary:hover {
  background: #2a5140;
}
.secondary {
  background: #f3f5ee;
  border: 1px solid #dce4d8;
  color: var(--ink);
}
.secondary:hover {
  background: #e9efdf;
}
.text-button {
  border: 0;
  background: transparent;
  color: #456a50;
  font-size: 12px;
  padding: 8px;
}
.button-link {
  text-decoration: none;
}
.shell {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: var(--dark);
  color: #eaf1e7;
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  display: flex;
  align-items: center;
  font-size: 32px;
  letter-spacing: -1.5px;
  font-weight: 650;
  text-decoration: none;
  gap: 9px;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  font-size: 20px;
  width: 32px;
  height: 37px;
  background: var(--lime);
  color: var(--dark);
  clip-path: polygon(50% 0, 100% 16%, 93% 72%, 50% 100%, 7% 72%, 0 16%);
  margin-right: 4px;
}
.brand-dot {
  color: var(--lime);
  margin-left: -9px;
}
.workspace-label {
  font-size: 9px;
  letter-spacing: 1.7px;
  color: #88a295;
  margin: 56px 10px 18px;
}
.nav-item {
  width: 100%;
  border: 0;
  background: none;
  border-radius: 6px;
  color: #a9beb2;
  padding: 14px 12px;
  display: flex;
  gap: 14px;
  align-items: center;
  text-align: left;
  font-size: 13px;
  margin: 5px 0;
}
.nav-item span {
  font-size: 20px;
  line-height: 16px;
}
.nav-item.active {
  background: #d7f583;
  color: #243c2c;
}
.nav-item:hover:not(.active) {
  background: #253a32;
}
.sidebar-note {
  margin-top: auto;
  border-top: 1px solid #3a4b43;
  padding-top: 24px;
  font-size: 12px;
  color: #d6e5d4;
}
.sidebar-note p {
  font-size: 11px;
  color: #8fa799;
  margin: 10px 0 20px;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cfe885;
  display: inline-block;
  margin-right: 6px;
}
.docs-link {
  font-size: 11px;
  color: #b6c6b9;
  text-decoration: none;
  padding: 12px 0;
}
.logout {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  border: 0;
  border-top: 1px solid #3a4b43;
  padding: 20px 0 10px;
  background: none;
  color: #a9beb2;
  font-size: 12px;
}
.version {
  font-size: 9px;
  color: #789382;
  margin-top: 12px;
}
main {
  min-width: 0;
}
.topbar {
  height: 77px;
  border-bottom: 1px solid var(--line);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #7a887f;
}
.topbar strong {
  font-weight: 500;
  color: #2e4438;
}
.slash {
  padding: 0 14px;
  color: #b4beb4;
}
.release-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 7px 10px;
  border: 1px solid #d9dfd1;
  border-radius: 5px;
}
.content {
  max-width: 1440px;
  margin: auto;
  padding: 40px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 29px;
}
.page-heading h1 {
  margin-top: 14px;
}
.page-heading p {
  margin-bottom: 0;
}
.page-heading .primary {
  flex-shrink: 0;
}
.site-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 0 24px;
}
.site-bar label {
  font-size: 9px;
  letter-spacing: 1.4px;
  display: inline-block;
  margin-right: 14px;
}
.site-bar select {
  width: 260px;
  background: transparent;
  border: 1px solid var(--line);
  padding: 10px 12px;
}
.site-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.badge {
  font-size: 10px;
  background: #e5efcf;
  color: #4c622a;
  border: 1px solid #d5e1be;
  border-radius: 20px;
  padding: 7px 11px;
}
.badge.muted {
  background: #eff1eb;
  border-color: #dfe3d8;
  color: #748070;
}
.badge.enforce {
  background: #dcecdf;
  color: #265b3b;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  margin-bottom: 25px;
  overflow: hidden;
}
.stats article {
  padding: 24px;
  border-right: 1px solid var(--line);
}
.stats article:last-child {
  border: 0;
}
.stats article > span {
  font-size: 11px;
  color: #6d7b72;
}
.stats strong {
  display: block;
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -1px;
  margin: 15px 0 9px;
}
.stats small {
  font-size: 10px;
}
.panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  margin-bottom: 24px;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.panel-heading h2 {
  margin: 7px 0 15px;
}
.overview-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
}
.chart {
  height: 170px;
  display: flex;
  gap: 5px;
  align-items: flex-end;
  border-bottom: 1px solid var(--line);
  position: relative;
  background: repeating-linear-gradient(to top, transparent 0, transparent 54px, #f1f3ee 55px, #f1f3ee 56px);
  margin-top: 20px;
}
.chart .bar {
  flex: 1;
  min-height: 3px;
  background: #b7cf83;
  border-radius: 3px 3px 0 0;
  max-height: 100%;
}
.chart .bar:last-child {
  background: #3e6451;
}
.chart-empty {
  width: 100%;
  text-align: center;
  align-self: center;
  background: #ffffffdb;
  color: #9ba598;
  font-size: 12px;
  padding: 10px;
}
.chart-labels {
  display: flex;
  justify-content: space-between;
  color: #8b978d;
  font-size: 10px;
  margin-top: 10px;
}
.footnote {
  font-size: 11px;
  color: #82907f;
  line-height: 1.6;
  margin: 14px 0 0;
}
.posture {
  background: #f0f4e8;
}
.posture h2 {
  font-size: 27px;
  margin-top: 18px;
}
.posture p {
  font-size: 12px;
}
.posture .secondary {
  margin-top: 20px;
  width: 100%;
  background: white;
}
.rule-summary > div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #dce5d2;
  padding: 10px 0;
  font-size: 11px;
}
.rule-summary b {
  font-weight: 550;
}
.breakdown {
  margin-top: 14px;
}
.breakdown-row {
  display: grid;
  grid-template-columns: 1fr 100px 100px;
  gap: 12px;
  border-top: 1px solid #edf0e8;
  padding: 13px 0;
  font-size: 12px;
}
.breakdown-row span:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.breakdown .subtle {
  padding: 20px 0;
}
.empty-state {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 60px 20px;
}
.empty-symbol {
  font-size: 65px;
  line-height: 1;
  background: #edf5dc;
  width: 95px;
  height: 95px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  margin: 0 auto 25px;
  color: #58804b;
}
.empty-state h2 {
  font-size: 29px;
  margin: 14px 0;
}
.empty-state p {
  margin-bottom: 24px;
}
.empty-steps {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  color: #778772;
  font-size: 11px;
}
.empty-steps b {
  color: #557d3d;
  padding-right: 7px;
}
.settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
}
.settings-aside .panel {
  padding: 23px;
}
.tint {
  background: #eef3e3;
}
.settings-aside p {
  font-size: 12px;
}
.mode-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}
.mode-options label {
  display: grid;
  gap: 12px;
  padding: 15px;
  border: 1px solid #dce3d5;
  border-radius: 6px;
  cursor: pointer;
}
.mode-options label:has(input:checked) {
  background: #eff6e0;
  border-color: #a9c67a;
}
.mode-options small {
  font-size: 10px;
}
.mode-options input {
  accent-color: #36613f;
  width: 15px;
}
.mode-options b {
  font-size: 12px;
  font-weight: 600;
}
.toggle-row {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e9ede3;
  padding: 17px 0;
  margin: 0 !important;
}
.toggle-row b {
  font-size: 13px;
  font-weight: 550;
}
.toggle-row small {
  display: block;
  font-size: 11px;
  line-height: 1.6;
  margin-top: 7px;
}
.toggle-row input {
  width: 18px;
  height: 18px;
  accent-color: #416d43;
  flex-shrink: 0;
}
label {
  font-size: 12px;
  display: block;
  margin: 20px 0 9px;
  color: #425644;
}
input:not([type='checkbox']):not([type='radio']),
textarea,
select {
  background: #fcfdf9;
  border: 1px solid #d9e0d2;
  border-radius: 6px;
  padding: 12px;
  width: 100%;
  color: #2c432f;
  font-size: 13px;
}
textarea {
  resize: vertical;
  line-height: 1.6;
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.save-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}
.settings-aside button {
  margin-top: 15px;
}
.connect-intro {
  padding: 28px 30px;
}
.connect-intro p {
  max-width: 800px;
  margin-bottom: 0;
}
.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.connector-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #527348;
  line-height: 1.8;
}
.connector-label span {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
  color: #829278;
}
.connect-grid h2 {
  font-size: 25px;
  margin: 20px 0 14px;
}
.connect-grid ol {
  padding-left: 17px;
  color: #71816c;
  font-size: 12px;
  line-height: 1.8;
  min-height: 210px;
}
.connect-grid li {
  padding-left: 5px;
  margin: 12px 0;
}
pre {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  background: #f3f6ee;
  border: 1px solid #e3e9db;
  border-radius: 6px;
  padding: 15px;
  font-size: 11px;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 320px;
  overflow: auto;
}
code {
  font-size: 11px;
  word-break: break-word;
}
.key-box {
  border: 1px solid #b3ce7d;
  background: #eff8dc;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  font-size: 13px;
}
.key-box code {
  display: block;
  background: white;
  padding: 14px;
  margin: 14px 0;
  border-radius: 5px;
  user-select: all;
}
.key-box p {
  font-size: 12px;
}
.danger {
  color: #965032;
}
.notice {
  padding: 14px 18px;
  border-radius: 6px;
  border: 1px solid #c9d9b5;
  background: #edf5df;
  font-size: 13px;
  margin-bottom: 18px;
}
.notice.error,
.error {
  color: #993c32;
}
.notice.error {
  background: #fff1ec;
  border-color: #eacac0;
}
.error {
  font-size: 12px;
  line-height: 1.6;
  margin: 14px 0;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 30px;
  font-size: 10px;
  color: #8a9784;
}
.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.login-story {
  background: var(--dark);
  color: #e9f0e5;
  padding: 50px 65px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 60px;
}
.login-story h1 {
  font-size: clamp(36px, 4vw, 59px);
  margin-top: 25px;
  line-height: 1.13;
}
.login-story p {
  color: #a2b7a7;
  max-width: 430px;
}
.login-story .eyebrow {
  color: #bbd889;
}
.login-story small {
  color: #799781;
}
.pill {
  display: inline-block;
  font-size: 11px;
  padding: 13px 16px;
  border: 1px solid #43563d;
  border-radius: 30px;
  margin-top: 25px;
  color: #d0e298;
}
.login-form {
  max-width: 460px;
  width: 100%;
  align-self: center;
  justify-self: center;
  padding: 40px;
}
.login-form h2 {
  font-size: 30px;
  margin: 18px 0;
}
.login-form .primary {
  width: 100%;
  justify-content: space-between;
  margin: 24px 0 15px;
}
.login-form .subtle {
  font-size: 11px;
  line-height: 1.7;
}
dialog {
  max-width: 480px;
  width: calc(100% - 32px);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 20px 100px #17272440;
}
dialog::backdrop {
  background: #10282070;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font-size: 27px;
}
dialog .primary {
  width: 100%;
  margin-top: 22px;
}
dialog p {
  font-size: 12px;
}
@media (min-width: 1600px) {
  .content {
    padding: 50px;
  }
}
@media (max-width: 1150px) {
  .shell {
    grid-template-columns: 195px 1fr;
  }
  .sidebar {
    padding: 28px 15px;
  }
  .content {
    padding: 28px;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .settings-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .posture {
    display: block;
  }
  .stats article {
    padding: 18px;
  }
  .stats strong {
    font-size: 30px;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .connect-grid {
    grid-template-columns: 1fr;
  }
  .connect-grid ol {
    min-height: 0;
  }
  .login-story {
    padding: 40px;
  }
}
@media (max-width: 760px) {
  .shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    height: auto;
    position: static;
    padding: 18px;
    display: block;
  }
  .sidebar .brand {
    font-size: 26px;
  }
  .sidebar nav {
    display: flex;
    flex-wrap: wrap;
    margin-top: 18px;
  }
  .nav-item {
    font-size: 11px;
    justify-content: center;
    padding: 12px 5px;
    gap: 6px;
  }
  .nav-item span {
    font-size: 16px;
  }
  .workspace-label,
  .sidebar-note,
  .docs-link,
  .version {
    display: none;
  }
  .logout {
    position: absolute;
    right: 25px;
    top: 10px;
    border: 0;
    margin: 0;
    gap: 12px;
  }
  .topbar {
    height: 55px;
    padding: 0 20px;
  }
  .content {
    padding: 25px 18px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .page-heading .primary {
    font-size: 11px;
    padding: 11px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .site-bar {
    align-items: flex-start;
    flex-direction: column;
  }
  .site-bar select {
    width: 230px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stats article:nth-child(2) {
    border-right: 0;
  }
  .stats article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .panel {
    padding: 20px;
  }
  .panel-heading {
    align-items: flex-start;
  }
  .panel-heading > .subtle {
    max-width: 130px;
    font-size: 10px;
  }
  .settings-aside {
    display: block;
  }
  .mode-options {
    gap: 5px;
  }
  .mode-options label {
    padding: 10px;
  }
  .empty-state {
    padding: 35px 15px;
  }
  .empty-steps {
    gap: 12px;
    font-size: 10px;
  }
  .empty-state h2 {
    font-size: 24px;
  }
  footer {
    display: block;
    line-height: 2;
  }
  footer span {
    display: block;
  }
  .login-shell {
    grid-template-columns: 1fr;
  }
  .login-story {
    padding: 25px;
    min-height: 320px;
    gap: 30px;
  }
  .login-story h1 {
    font-size: 36px;
  }
  .login-story .pill,
  .login-story > small,
  .login-story p {
    display: none;
  }
  .login-form {
    padding: 35px 25px;
  }
  .save-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .breakdown-row {
    grid-template-columns: 1fr 80px 60px;
    font-size: 11px;
  }
  .connector-label span {
    font-size: 10px;
  }
}
.keyring-list {
  margin: 16px 0 4px;
}
.keyring-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #edf0e8;
  padding: 11px 0;
  font-size: 12px;
}
.keyring-row > span {
  font-weight: 550;
  flex-shrink: 0;
}
.keyring-row code {
  color: var(--muted);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}
.keyring-row .text-button {
  color: #965032;
  margin-left: auto;
}
/* Documentation pages */
.doc-top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #f5f6f2;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
}
.doc-top .brand {
  font-size: 24px;
  text-decoration: none;
}
.doc-top nav {
  display: flex;
  gap: 10px;
  align-items: center;
}
.doc-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px 100px;
}
.doc-hero {
  padding: 46px 0 6px;
}
.doc-hero .eyebrow {
  color: #65816f;
}
.doc-hero h1 {
  font-size: clamp(30px, 4vw, 46px);
  margin: 14px 0 10px;
}
.doc-hero p {
  font-size: 16px;
  max-width: 680px;
  color: #55665c;
}
.doc-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 5px 10px;
  border-radius: 5px;
  border: 1px solid #d9dfd1;
  color: #5a7150;
  margin-bottom: 8px;
}
.doc-badge.internal {
  background: #fbeee6;
  border-color: #e7c8b4;
  color: #9a5a33;
}
.doc-toc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 30px 0 10px;
}
.doc-toc .eyebrow {
  display: block;
  margin-bottom: 12px;
}
.doc-toc ul {
  columns: 2;
  column-gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13.5px;
}
.doc-toc a {
  color: #456a50;
  text-decoration: none;
  display: block;
  padding: 6px 0;
  border-bottom: 1px solid #f0f3ec;
}
.doc-toc a:hover {
  color: var(--ink);
}
.doc-section {
  padding: 34px 0 6px;
  border-top: 1px solid var(--line);
  margin-top: 26px;
}
.doc-section:first-of-type {
  border-top: 0;
}
.doc-section h2 {
  font-size: 25px;
  letter-spacing: -0.5px;
  scroll-margin-top: 80px;
  margin: 6px 0 14px;
}
.doc-section h3 {
  font-size: 16px;
  margin: 26px 0 8px;
  color: var(--ink);
}
.doc-section p,
.doc-section li {
  color: #41534a;
  font-size: 14.5px;
  line-height: 1.78;
}
.doc-section ul,
.doc-section ol {
  padding-left: 22px;
  margin: 12px 0;
}
.doc-section li {
  margin: 8px 0;
}
.doc-section a {
  color: #3d6a4c;
}
.doc-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 13.5px;
}
.doc-table th,
.doc-table td {
  text-align: left;
  padding: 11px 13px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.doc-table th {
  font-weight: 600;
  color: var(--ink);
  background: #f6f8f2;
}
.doc-table td code {
  overflow-wrap: anywhere;
}
.doc-note {
  background: #eef3e3;
  border: 1px solid #d5e1be;
  border-radius: 8px;
  padding: 15px 18px;
  font-size: 13.5px;
  line-height: 1.7;
  margin: 18px 0;
}
.doc-note.warn {
  background: #fff1ec;
  border-color: #eacac0;
}
.doc-note b {
  color: var(--ink);
}
.doc-foot {
  border-top: 1px solid var(--line);
  margin-top: 50px;
  padding-top: 24px;
  font-size: 12px;
  color: #8a9784;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
@media (max-width: 760px) {
  .doc-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .doc-section,
  .docs-content {
    overflow-wrap: break-word;
  }
  .doc-section li code,
  .doc-section p code,
  .docs-content li code,
  .docs-content p code {
    overflow-wrap: anywhere;
  }
  .doc-top {
    padding: 14px 18px;
  }
  .doc-toc ul {
    columns: 1;
  }
  .doc-page {
    padding: 0 18px 70px;
  }
  .doc-hero {
    padding: 32px 0 6px;
  }
}
/* Documentation SITE (manual with sidebar) */
.docs-body {
  display: grid;
  grid-template-columns: 288px minmax(0, 1fr);
}
.docs-side {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  background: #fff;
  border-right: 1px solid var(--line);
}
.docs-side-top {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}
.docs-side-top .brand {
  font-size: 23px;
  text-decoration: none;
}
.docs-search {
  width: 100%;
  margin-top: 14px;
  padding: 9px 11px;
  font-size: 13px;
  border: 1px solid #d9e0d2;
  border-radius: 7px;
  background: #fcfdf9;
}
.docs-nav {
  padding: 12px 12px 60px;
}
.docs-nav .group {
  font-size: 9.5px;
  letter-spacing: 1.3px;
  font-weight: 700;
  color: #8a9a8c;
  margin: 20px 12px 5px;
  text-transform: uppercase;
}
.docs-nav .group:first-child {
  margin-top: 6px;
}
.docs-nav a {
  display: block;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: #4a5a50;
  text-decoration: none;
  line-height: 1.4;
}
.docs-nav a:hover {
  background: #f2f5ee;
}
.docs-nav a.active {
  background: #eaf3d8;
  color: #2c432f;
  font-weight: 600;
}
.docs-nav a[hidden] {
  display: none;
}
.docs-main {
  min-width: 0;
}
.docs-topbar {
  display: none;
  position: sticky;
  top: 0;
  z-index: 6;
  background: #f5f6f2;
  border-bottom: 1px solid var(--line);
  padding: 12px 18px;
  justify-content: space-between;
  align-items: center;
}
.docs-menu-btn {
  border: 1px solid #d9e0d2;
  background: #fff;
  border-radius: 7px;
  padding: 8px 12px;
  font-size: 13px;
}
.docs-topbar .brand {
  font-size: 22px;
  text-decoration: none;
}
.docs-content {
  max-width: 840px;
  margin: 0 auto;
  padding: 40px 44px 120px;
}
.docs-content .doc-hero {
  padding: 8px 0 6px;
}
.docs-content h2 {
  scroll-margin-top: 20px;
}
.docs-content pre {
  max-height: none;
}
.docs-crumb {
  font-size: 11px;
  letter-spacing: 0.4px;
  color: #8a9784;
  margin-bottom: 6px;
}
.docs-backdrop {
  display: none;
}
@media (max-width: 900px) {
  .docs-body {
    display: block;
  }
  .docs-topbar {
    display: flex;
  }
  .docs-side {
    position: fixed;
    top: 0;
    left: 0;
    width: 290px;
    height: 100vh;
    z-index: 20;
    transform: translateX(-100%);
    transition: transform 0.2s;
    box-shadow: 0 10px 60px #17272430;
  }
  .docs-body.open .docs-side {
    transform: translateX(0);
  }
  .docs-body.open .docs-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: #10282055;
    z-index: 15;
  }
  .docs-content {
    padding: 26px 20px 90px;
  }
}

/* Phase 2 — org switcher, user identity, and team/member management */
.org-select {
  width: 100%;
  background: #22352d;
  border: 1px solid #3a4b43;
  color: #eaf1e7;
  padding: 10px 12px;
  margin-bottom: 8px;
  border-radius: 6px;
}
.org-new {
  color: #b6c6b9;
  padding: 4px 2px;
  display: block;
}
.user-email {
  font-size: 11px;
  color: #8fa799;
  border-top: 1px solid #3a4b43;
  padding: 14px 0 0;
  margin-top: 12px;
  word-break: break-all;
}
.member-row {
  display: grid;
  grid-template-columns: 1fr 120px auto;
  gap: 12px;
  align-items: center;
  border-top: 1px solid #edf0e8;
  padding: 13px 0;
  font-size: 13px;
}
.member-row select {
  padding: 8px 10px;
  font-size: 12px;
}
.member-row .member-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.member-row .you {
  font-size: 10px;
  color: var(--muted);
  margin-left: 6px;
}
@media (max-width: 760px) {
  .org-select,
  .org-new,
  .user-email {
    display: none;
  }
  .member-row {
    grid-template-columns: 1fr auto;
  }
}
