:root {
  --paper: #f4f6f7;
  --surface: #ffffff;
  --ink: #172e29;
  --muted: #52635e;
  --line: #d5deda;
  --accent: #245a49;
  --green: #245a49;
  --pale: #e8f0ec;
  --red: #973822;
  --warning-surface: #f6e4d9;
  --warning-ink: #873a26;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 99;
  background: white;
  padding: 10px;
}
.skip:focus {
  top: 8px;
}
.shell {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: var(--surface);
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.7px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.mark {
  display: flex;
  gap: 3px;
  transform: skewY(-14deg);
  align-items: end;
}
.mark i {
  display: block;
  background: var(--ink);
  width: 4px;
  height: 25px;
}
.mark i:nth-child(2) {
  height: 19px;
}
.mark i:nth-child(3) {
  height: 13px;
}
.workspace-label,
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  line-height: 1.6;
}
.workspace-label {
  margin-top: 36px;
}
.workspace-name {
  font-size: 15px;
  margin: 10px 0 30px;
  font-weight: 600;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nav button {
  border: 0;
  background: transparent;
  padding: 13px 12px;
  text-align: left;
  border-radius: 6px;
  color: var(--muted);
  display: flex;
  gap: 12px;
}
.nav button.active {
  background: var(--pale);
  color: var(--ink);
  font-weight: 600;
}
.nav button:hover:not(.active) {
  background: var(--line);
  color: var(--ink);
}
.account {
  margin-top: auto;
  padding-top: 30px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.account p {
  margin-bottom: 7px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.muted {
  color: var(--muted);
}
.text-button {
  border: 0;
  background: none;
  text-decoration: underline;
  color: var(--muted);
  padding: 8px 0;
}
.main-wrap {
  min-width: 0;
}
.topbar {
  height: 64px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  gap: 16px;
  font-size: 12px;
}
.pilot {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}
main {
  padding: 42px;
  max-width: 1440px;
  margin: auto;
}
h1 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 12px 0 16px;
}
h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 15px;
}
h3 {
  font-size: 15px;
  margin: 0 0 10px;
}
p {
  line-height: 1.65;
  margin: 0 0 16px;
}
.intro {
  max-width: 650px;
  color: var(--muted);
  font-size: 15px;
}
.heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  padding: 11px 18px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.btn.primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.btn.accent {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.btn.small {
  min-height: 44px;
  padding: 8px 12px;
  font-size: 12px;
}
.btn.danger {
  color: var(--red);
}
.btn:hover {
  filter: brightness(0.96);
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 28px 0 34px;
  border-block: 1px solid var(--line);
}
.stat {
  padding: 16px 24px;
  border-right: 1px solid var(--line);
}
.stat:last-child {
  border: 0;
}
.stat strong {
  display: block;
  font-size: 24px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
}
.stat span {
  font-size: 12px;
  color: var(--muted);
}
.panel {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  padding: 28px;
  margin-bottom: 22px;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.panel-head h2 {
  margin: 0;
}
.empty {
  padding: 60px 25px;
  text-align: center;
}
.empty h2 {
  font-size: 27px;
}
.empty p {
  max-width: 470px;
  margin: 0 auto 24px;
}
.empty-symbol {
  font-family: Georgia, serif;
  font-size: 55px;
  color: var(--green);
  margin-bottom: 22px;
}
.package-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 125px 100px 40px;
  gap: 20px;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
}
.package-row:hover h3 {
  text-decoration: underline;
}
.package-row h3 {
  margin: 0 0 7px;
  font-size: 16px;
}
.package-row p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}
.badge {
  display: inline-block;
  justify-self: start;
  font-size: 11px;
  padding: 6px 9px;
  background: var(--pale);
  border-radius: 4px;
  white-space: nowrap;
  text-transform: capitalize;
}
.badge.returned,
.badge.blocker {
  background: var(--warning-surface);
  color: var(--warning-ink);
}
.badge.submitted {
  background: #e6ecf1;
  color: #3e566d;
}
.badge.reviewed {
  background: #dce9d8;
  color: #365336;
}
.notice {
  border-top: 1px solid var(--line);
  padding: 16px 0 0;
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 24px;
  align-items: start;
}
.sticky {
  position: sticky;
  top: 24px;
}
.steps {
  display: flex;
  gap: 6px;
  margin: 24px 0;
  flex-wrap: wrap;
}
.steps button {
  border: 1px solid var(--line);
  border-radius: 5px;
  min-height: 44px;
  background: none;
  color: var(--muted);
  padding: 10px 14px;
  font-size: 12px;
}
.steps button.active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 19px;
}
label .help {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.6;
  margin: 6px 0 10px;
}
input,
textarea,
select {
  width: 100%;
  background: white;
  border: 1px solid #75887f;
  border-radius: 4px;
  padding: 11px 12px;
  margin-top: 8px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}
textarea {
  min-height: 116px;
  resize: vertical;
}
input:disabled,
textarea:disabled,
select:disabled {
  background: var(--paper);
  color: #4f5c4f;
  opacity: 1;
}
input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin: 0;
  flex-shrink: 0;
}
.check {
  display: flex;
  gap: 11px;
  align-items: start;
  line-height: 1.7;
  font-weight: 400;
}
.check input {
  margin-top: 3px;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.savebar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  gap: 14px;
}
.savebar .muted {
  font-size: 12px;
}
.finding {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
}
.finding .type {
  display: block;
  text-transform: uppercase;
  font-family: monospace;
  font-size: 10px;
  letter-spacing: 1px;
  margin-bottom: 5px;
  color: var(--green);
}
.finding.blocker .type {
  color: var(--red);
}
.summary-total {
  font-size: 32px;
  letter-spacing: -1px;
  margin: 10px 0 4px;
}
.summary-meta {
  font-size: 13px;
  color: var(--muted);
}
.milestone {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.milestone:first-child {
  border: 0;
}
.document {
  white-space: pre-wrap;
  font-family: Georgia, serif;
  line-height: 1.85;
  font-size: 15px;
  background: #fff;
  padding: 35px;
  border: 1px solid var(--line);
  max-height: 650px;
  overflow: auto;
  overflow-wrap: anywhere;
}
.history {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.history summary {
  cursor: pointer;
  line-height: 1.7;
}
.diff {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  font-size: 12px;
  padding: 14px 0;
}
.diff pre {
  white-space: pre-wrap;
  background: var(--paper);
  padding: 12px;
  margin: 0;
  overflow-wrap: anywhere;
}
.review-note {
  background: var(--pale);
  padding: 18px;
  border-radius: 5px;
  font-size: 13px;
}
.login-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.login-story {
  padding: 55px 10%;
  background: var(--pale);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 50px;
}
.login-story h1 {
  font-size: 40px;
  line-height: 1.2;
  max-width: 500px;
}
.login-story h1 em {
  font-style: normal;
  font-weight: inherit;
  color: var(--green);
}
.login-story .intro {
  max-width: 390px;
}
.story-detail {
  display: flex;
  border-top: 1px solid #bfc9b7;
  padding-top: 24px;
  gap: 26px;
  font-family: monospace;
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}
.login-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
}
.auth-card {
  width: 100%;
  max-width: 380px;
}
.auth-card h2 {
  font-size: 28px;
}
.auth-card .btn.primary {
  width: 100%;
}
.auth-card > .text-button {
  display: block;
}
.auth-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin: 25px 0;
}
.auth-tabs button {
  background: none;
  border: 0;
  padding: 12px 0;
  font-size: 13px;
  color: var(--muted);
}
.auth-tabs button.active {
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
}
.error {
  background: var(--warning-surface);
  color: var(--warning-ink);
  padding: 12px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.6;
  margin: 14px 0;
}
.success {
  background: var(--pale);
  padding: 14px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.7;
}
.mono {
  font-family: monospace;
  overflow-wrap: anywhere;
  font-size: 12px;
}
.secure-box {
  background: var(--pale);
  padding: 20px;
  border-radius: 6px;
  margin-bottom: 22px;
}
.secure-box p {
  font-size: 13px;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
td,
th {
  text-align: left;
  padding: 14px 10px;
  border-bottom: 1px solid var(--line);
}
th {
  color: var(--muted);
  font-weight: 400;
}
code {
  background: var(--pale);
  padding: 3px 5px;
  border-radius: 3px;
  overflow-wrap: anywhere;
}
#toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  max-width: min(600px, 90vw);
  background: var(--ink);
  color: white;
  padding: 0;
  border-radius: 7px;
  font-size: 13px;
  z-index: 100;
  box-shadow: 0 5px 20px #0002;
}
#toast:not(:empty) {
  padding: 14px 22px;
}
.mfa-secret {
  display: block;
  margin: 14px 0;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.bootstrap-page {
  max-width: 1100px;
  margin: auto;
  padding: 48px 24px;
  overflow-wrap: anywhere;
}
.vendor-entry {
  padding: 20px;
  margin: 24px 0;
  background: var(--pale);
  border-radius: 6px;
}
.vendor-entry p {
  font-size: 14px;
  line-height: 1.6;
}
.authenticator-setup {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin: 20px 0 28px;
}
.qr-card {
  margin: 0;
  min-width: 0;
}
.qr-card img {
  display: block;
  width: 100%;
  height: auto;
  background: white;
  border-radius: 6px;
}
.qr-card figcaption {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.getting-started {
  background: var(--pale);
}
.getting-started ol {
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.8;
}
.getting-started li {
  margin-bottom: 10px;
}
details {
  margin: 12px 0;
}
.wide-only {
  display: block;
}
button.link-row {
  border: 0;
  background: none;
  color: inherit;
  width: 100%;
  text-align: left;
}
.connection {
  background: var(--surface);
  color: var(--ink);
}
.connection .muted {
  color: var(--muted);
}
.connection code {
  background: var(--pale);
  color: var(--ink);
}
.connection h2 {
  font-size: 22px;
}
.agent-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  align-items: start;
}
.agent-layout > div {
  min-width: 0;
}
.agent-permissions {
  padding-top: 12px;
  font-size: 14px;
}
.agent-permissions h2 {
  font-size: 18px;
  margin-bottom: 24px;
}
.agent-permissions h3 {
  margin-top: 24px;
}
.mcp-address {
  margin: 20px 0;
}
.mcp-address > div {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.mcp-address code {
  min-width: 0;
  font-size: 13px;
}
.manual-access {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.manual-access h3 {
  margin-top: 24px;
}
.manual-access summary {
  font-size: 14px;
  font-weight: 600;
}
.agent-grant {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.agent-grant > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.agent-grant p {
  margin-bottom: 8px;
}
#agent-copy-status {
  margin-top: 16px;
  font-size: 14px;
}
.btn[hidden] {
  display: none;
}
@media (max-width: 1050px) {
  .agent-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .agent-permissions {
    padding-top: 0;
  }
}
.label-value {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.full {
  width: 100%;
}
@media (max-width: 1050px) {
  .shell {
    grid-template-columns: 190px 1fr;
  }
  .sidebar {
    padding: 28px 16px;
  }
  .brand {
    font-size: 14px;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .sticky {
    position: static;
  }
  .topbar {
    padding: 0 25px;
  }
  main {
    padding: 28px;
  }
  .package-row {
    grid-template-columns: 1fr 100px 30px;
  }
  .package-row .date {
    display: none;
  }
}
@media (max-width: 650px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: static;
    height: auto;
    padding: 19px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .brand {
    font-size: 17px;
  }
  .workspace-label,
  .account {
    display: none;
  }
  .workspace-name {
    margin: 16px 0 0;
    font-size: 13px;
  }
  .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 14px;
    gap: 5px;
    overflow: visible;
  }
  .nav button {
    padding: 10px;
    font-size: 12px;
    white-space: normal;
    min-height: 44px;
  }
  .topbar {
    height: 53px;
    padding: 0 20px;
  }
  .topbar .wide-only {
    display: none;
  }
  .topbar > span {
    display: none;
  }
  .topbar > .actions {
    width: 100%;
    justify-content: space-between;
  }
  input,
  textarea,
  select {
    font-size: 16px;
  }
  .text-button,
  .steps button {
    min-height: 44px;
  }
  .authenticator-setup {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .qr-card {
    width: min(240px, 100%);
    margin-inline: auto;
  }
  main {
    padding: 26px 20px;
  }
  .heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
  }
  .heading h1 {
    font-size: 33px;
  }
  .stats {
    margin: 20px 0;
  }
  .stat {
    padding: 18px 12px;
  }
  .stat strong {
    font-size: 25px;
  }
  .stat span {
    font-size: 11px;
  }
  .panel {
    padding: 20px;
  }
  .package-row {
    grid-template-columns: 1fr 85px;
    gap: 12px;
  }
  .package-row .arrow {
    display: none;
  }
  .two-col,
  .diff {
    grid-template-columns: 1fr;
  }
  .savebar {
    flex-wrap: wrap;
  }
  .login-layout {
    display: block;
  }
  .login-story {
    padding: 28px 25px;
    gap: 28px;
  }
  .login-story h1 {
    font-size: 39px;
    margin: 0;
  }
  .login-story .intro,
  .story-detail {
    display: none;
  }
  .login-form {
    padding: 35px 25px;
  }
  .steps {
    gap: 5px;
  }
  .steps button {
    font-size: 11px;
    padding: 9px 11px;
  }
  .document {
    padding: 20px;
    max-height: none;
  }
  .empty {
    padding: 35px 5px;
  }
  .btn {
    white-space: normal;
  }
  .topbar .text-button {
    padding: 5px;
  }
  .panel-head {
    align-items: start;
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .btn,
  .nav button {
    transition:
      background 0.15s,
      filter 0.15s;
  }
}

.bootstrap-page pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.7;
}

.start-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.start-nav a,
.prompt-choices > a,
.start-result > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.start-hero {
  padding: 48px 0 32px;
  max-width: 760px;
}
.start-hero h1 {
  font-size: 48px;
  margin-top: 0;
}
.start-hero .intro {
  font-size: 18px;
}
.start-content {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.start-result {
  padding: 16px 0;
}
.start-result li {
  margin-bottom: 16px;
  line-height: 1.6;
}
.start-result ol {
  padding-left: 24px;
}
.start-connect .actions {
  margin-block: 20px;
}
.start-connect .prompt-choices {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.start-help {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.start-help details {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
summary {
  cursor: pointer;
  padding-block: 10px;
  line-height: 1.6;
}
summary:focus-visible,
.table-scroll:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.start-help summary {
  font-weight: 600;
}
.start-help pre {
  background: var(--surface);
  padding: 16px;
}
::selection {
  background: #cce4d8;
  color: var(--ink);
}
a {
  text-underline-offset: 3px;
}
@media (max-width: 650px) {
  .bootstrap-page {
    padding: 24px 20px;
  }
  .start-nav {
    gap: 16px;
    font-size: 14px;
  }
  .start-nav .brand {
    font-size: 16px;
  }
  .start-hero {
    padding: 32px 0 24px;
  }
  .start-hero h1 {
    font-size: 32px;
  }
  .start-hero .intro {
    font-size: 16px;
  }
  .start-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .start-result {
    padding: 8px 0 24px;
  }
  .heading h1 {
    font-size: 28px;
  }
}
