:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    sans-serif;
  color: #23323d;
  background: #f5f7f9;
  font-size: 14px;
  line-height: 1.6;
  --muted: #72808c;
  --border: #e4e9ee;
  --teal: #087b70;
  --dark: #12212d;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #69bdb4;
  outline-offset: 3px;
}
button {
  transition: background 0.12s;
}
button:hover {
  filter: brightness(0.96);
}
[hidden] {
  display: none !important;
}
.shell {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: var(--dark);
  color: #b9c5ce;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #f7fafc;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.4px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: #127a72;
  color: white;
  border-radius: 9px;
  font: 700 24px Georgia;
}
.brand small {
  display: block;
  color: #91a5b3;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1px;
}
.nav-label {
  margin: 42px 12px 14px;
  color: #708695;
  font-size: 11px;
  letter-spacing: 1px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #a6bac8;
  text-align: left;
  padding: 12px 14px;
  margin: 5px 0;
}
.nav span {
  font-size: 18px;
  width: 20px;
}
.nav.active {
  background: #203e47;
  color: #b8efe4;
}
.sidebar-foot {
  margin-top: auto;
  font-size: 12px;
  color: #c8d7dc;
  padding: 20px 10px 0;
  border-top: 1px solid #2b3a44;
}
.sidebar-foot p {
  font-size: 11px;
  color: #8196a5;
  line-height: 1.9;
  margin-bottom: 0;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6ec8ad;
  margin-right: 5px;
}
.topbar {
  height: 64px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  background: #fff;
  color: #72808c;
  font-size: 12px;
}
.workspace {
  max-width: 1550px;
  margin: auto;
  padding: 32px 36px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 23px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 650;
  color: #8b9ba7;
}
h1 {
  font-size: 28px;
  letter-spacing: -1px;
  margin: 6px 0 2px;
  font-weight: 650;
}
h2 {
  font-size: 16px;
  letter-spacing: -0.2px;
  margin: 0;
}
h3 {
  font-size: 14px;
  margin: 0 0 7px;
}
p {
  margin: 5px 0;
  color: var(--muted);
}
.page-heading p {
  font-size: 13px;
}
.button {
  background: white;
  border: 1px solid #d8e0e6;
  border-radius: 6px;
  color: #41545f;
  padding: 8px 13px;
  white-space: nowrap;
  font-size: 12px;
}
.notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid #dce7e8;
  border-radius: 6px;
  background: #edf4f4;
  color: #526e72;
  font-size: 12px;
  margin-bottom: 24px;
}
.notice-label {
  font-weight: 650;
  white-space: nowrap;
  color: #35776e;
  border-right: 1px solid #cddfdf;
  padding-right: 12px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.metric {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 19px 21px;
  position: relative;
}
.metric-label {
  font-size: 12px;
  color: #73818d;
}
.metric-value {
  font-size: 31px;
  line-height: 1.45;
  font-weight: 620;
  letter-spacing: -1px;
  margin: 4px 0;
}
.metric small {
  font-size: 11px;
  color: #8d99a2;
}
.metric-marker {
  position: absolute;
  right: 20px;
  top: 19px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #91a4b1;
}
.metric-marker.green {
  background: #32a48c;
}
.metric-marker.red {
  background: #df817b;
}
.metric-marker.amber {
  background: #d7ac58;
}
.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.panel-heading {
  padding: 21px 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.panel-heading p {
  font-size: 12px;
  margin-top: 3px;
}
.count {
  font-size: 11px;
  background: #edf1f5;
  color: #718292;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 5px;
}
.pill {
  display: inline-block;
  border-radius: 4px;
  padding: 3px 7px;
  font-size: 11px;
  line-height: 1.5;
  white-space: nowrap;
}
.neutral {
  background: #eef2f5;
  color: #607380;
}
.good {
  background: #e9f7f0;
  color: #298267;
}
.bad {
  background: #fceeed;
  color: #bd655e;
}
.warn {
  background: #fff4df;
  color: #a78130;
}
.filters {
  padding: 4px 23px 19px;
  display: flex;
  align-items: flex-end;
  gap: 14px;
}
.filters label {
  font-size: 11px;
  color: #788692;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.filters label:first-child {
  flex: 1;
}
.filters input,
.filters select {
  background: white;
  border: 1px solid #dfe5ea;
  border-radius: 5px;
  height: 36px;
  padding: 0 10px;
  color: #445561;
  min-width: 120px;
  font-size: 12px;
}
.filters input {
  width: 100%;
  min-width: 130px;
}
.text-button {
  background: none;
  border: 0;
  color: var(--teal);
  font-size: 12px;
  padding: 8px;
}
.table-scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  text-align: left;
}
th {
  font-size: 11px;
  color: #8b98a3;
  font-weight: 550;
  background: #f8fafb;
  white-space: nowrap;
  padding: 12px 21px;
  border-block: 1px solid #edf0f3;
}
td {
  padding: 15px 21px;
  border-bottom: 1px solid #edf0f3;
  vertical-align: middle;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fafcfd;
}
td small {
  display: block;
  font-size: 10px;
  color: #8a98a2;
  margin-top: 4px;
}
.mono {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}
.request-id {
  color: #35788a;
  font-weight: 600;
}
.row-action {
  color: var(--teal);
  border: 0;
  background: none;
  padding: 6px 0;
  font-size: 12px;
  white-space: nowrap;
}
.table-footer {
  padding: 13px 23px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
  color: #8a97a0;
  background: #fafbfd;
  border-top: 1px solid var(--border);
}
.callout {
  margin-top: 22px;
  padding: 17px 20px;
  background: #fff;
  border-left: 3px solid #c9a767;
  border-radius: 4px;
  font-size: 12px;
}
.callout strong {
  color: #736047;
  font-size: 12px;
  font-weight: 550;
}
.callout p {
  margin-top: 5px;
  line-height: 1.9;
}
.empty {
  padding: 40px;
  text-align: center;
  color: var(--muted);
}
footer {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 1px;
  color: #9aa7b1;
  margin: 35px 0 5px;
}
footer span {
  letter-spacing: 0;
}
.section-intro {
  margin-bottom: 20px;
}
.section-intro p {
  font-size: 12px;
}
.stage-card {
  margin-bottom: 20px;
}
.stage-body {
  padding: 0 23px 23px;
}
.account-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.field small {
  display: block;
  color: #8a98a2;
  font-size: 11px;
}
.field strong {
  display: block;
  font-weight: 500;
  margin-top: 5px;
  overflow-wrap: anywhere;
}
.queue {
  margin-top: 22px;
}
.queue h3 {
  font-size: 12px;
  margin-bottom: 10px;
}
.queue th,
.queue td {
  padding: 8px 12px;
}
.capabilities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 22px;
}
.capability {
  padding: 21px;
}
.capability h3 {
  margin: 12px 0 10px;
}
.capability p {
  font-size: 12px;
}
.capability small {
  font-size: 10px;
  color: #9aa6ae;
}
.learning {
  padding: 30px;
}
.learning h2 {
  font-size: 23px;
  margin: 10px 0 25px;
}
.learning > p {
  max-width: 880px;
  font-size: 13px;
  line-height: 2;
}
.flow {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 25px 0;
}
.flow div {
  padding: 16px 20px;
  border: 1px solid #d4e7e3;
  background: #f1f8f6;
  border-radius: 7px;
  flex: 1;
  color: #34756b;
  font-weight: 550;
}
.flow small {
  display: block;
  color: #7a9893;
  font-size: 11px;
  font-weight: 400;
  margin-top: 6px;
}
.flow b {
  color: #aebdbb;
}
.lesson-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 30px;
}
.lesson-grid article {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.lesson-grid p {
  font-size: 12px;
  line-height: 2;
}
dialog {
  border: 1px solid #d5dee4;
  border-radius: 10px;
  padding: 0;
  width: min(1150px, 94vw);
  max-height: 90vh;
  color: inherit;
  box-shadow: 0 24px 100px #0c263738;
}
dialog::backdrop {
  background: #13233072;
  backdrop-filter: blur(2px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 26px;
  border-bottom: 1px solid var(--border);
}
.dialog-head h2 {
  font-size: 18px;
  margin-top: 5px;
}
.detail-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #6e808b;
}
.tabs {
  display: flex;
  gap: 4px;
  padding: 0 20px;
  border-bottom: 1px solid var(--border);
  overflow: auto;
}
.tabs button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 12px;
  font-size: 12px;
  color: #7a8a95;
  white-space: nowrap;
}
.tabs button.selected {
  border-color: var(--teal);
  color: var(--teal);
  font-weight: 600;
}
.detail-content {
  padding: 24px 26px;
  min-height: 330px;
  max-height: 57vh;
  overflow: auto;
}
.detail-content pre {
  background: #f6f8fa;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 17px;
  font:
    11px/1.8 "SFMono-Regular",
    Consolas,
    monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #415c6e;
  margin-top: 15px;
}
.detail-content .account-grid {
  grid-template-columns: repeat(3, 1fr);
  border: 0;
  padding: 0;
}
.detail-content .hint {
  font-size: 12px;
  line-height: 1.9;
  color: #7d909d;
  margin: 0 0 14px;
}
.detail-content td {
  overflow-wrap: anywhere;
  max-width: 660px;
  vertical-align: top;
}
.detail-content details {
  border-bottom: 1px solid var(--border);
  padding: 9px 0;
}
.detail-content summary {
  cursor: pointer;
  font:
    11px/1.9 "SFMono-Regular",
    Consolas,
    monospace;
  color: #447284;
}
.dialog-foot {
  border-top: 1px solid var(--border);
  padding: 12px 26px;
  color: #8a98a3;
  font-size: 11px;
  background: #f8fafb;
}
#error {
  background: #fceeed;
  color: #af554d;
  padding: 24px;
  border-radius: 8px;
}
#loading {
  padding: 40px;
  color: #7a8994;
}
@media (min-width: 1500px) {
  .workspace {
    padding-top: 40px;
  }
}
@media (max-width: 1100px) {
  .shell {
    grid-template-columns: 185px minmax(0, 1fr);
  }
  .sidebar {
    padding: 26px 14px;
  }
  .brand {
    font-size: 16px;
    gap: 8px;
  }
  .workspace {
    padding: 25px 22px;
  }
  .topbar {
    padding: 0 22px;
  }
  td,
  th {
    padding: 13px;
  }
  .filters {
    flex-wrap: wrap;
  }
  .filters label:first-child {
    min-width: 100%;
  }
  .account-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .flow {
    gap: 10px;
  }
  .flow div {
    padding: 12px;
  }
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  .sidebar {
    height: auto;
    position: static;
    padding: 15px 18px;
    display: block;
  }
  .brand {
    font-size: 16px;
  }
  .brand small,
  .nav-label,
  .sidebar-foot {
    display: none;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
    font-size: 20px;
  }
  .sidebar nav {
    display: flex;
    gap: 3px;
    margin-top: 12px;
  }
  .nav {
    font-size: 11px;
    justify-content: center;
    padding: 8px 5px;
    margin: 0;
  }
  .nav span {
    display: none;
  }
  .workspace {
    padding: 20px 15px;
  }
  .topbar {
    height: 44px;
    padding: 0 15px;
    font-size: 10px;
  }
  .topbar .pill {
    font-size: 9px;
  }
  .page-heading {
    gap: 10px;
  }
  .page-heading p {
    font-size: 11px;
  }
  h1 {
    font-size: 24px;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .metric {
    padding: 13px 16px;
  }
  .metric-value {
    font-size: 26px;
  }
  .notice {
    font-size: 10px;
    align-items: flex-start;
  }
  .panel-heading {
    padding: 17px;
    align-items: flex-start;
    flex-direction: column;
  }
  .filters {
    padding: 0 17px 15px;
    gap: 9px;
  }
  .filters select {
    min-width: 90px;
    max-width: 130px;
  }
  .table-footer {
    flex-direction: column;
  }
  .requests-table {
    min-width: 730px;
  }
  .capabilities,
  .lesson-grid {
    grid-template-columns: 1fr;
  }
  .flow {
    flex-direction: column;
    align-items: stretch;
  }
  .flow b {
    text-align: center;
    transform: rotate(90deg);
  }
  .learning {
    padding: 22px;
  }
  .learning h2 {
    font-size: 19px;
  }
  .detail-content .account-grid {
    grid-template-columns: 1fr;
  }
  .detail-content {
    padding: 18px;
    max-height: 53vh;
  }
  .dialog-head {
    padding: 15px 18px;
  }
  .detail-summary {
    padding: 12px 18px;
  }
  .dialog-foot {
    padding: 12px 18px;
    font-size: 10px;
  }
  footer {
    font-size: 8px;
    gap: 15px;
  }
  .account-grid {
    gap: 12px;
  }
}
