:root {
  color-scheme: light;
  --ink: #172033;
  --ink-strong: #0c1728;
  --muted: #637083;
  --line: #d9e0e9;
  --line-strong: #b8c4d2;
  --surface: #ffffff;
  --surface-soft: #f4f7fa;
  --surface-raised: #f9fbfd;
  --navy: #10233f;
  --navy-light: #1a355b;
  --blue: #1769e0;
  --blue-dark: #0e55ba;
  --blue-soft: #eaf3ff;
  --green: #18794e;
  --green-soft: #e8f6ef;
  --amber: #9a5b00;
  --amber-soft: #fff4dc;
  --red: #b42318;
  --red-soft: #fff0ee;
  --code: #0d1726;
  --code-line: #26364b;
  --shadow: 0 12px 30px rgba(20, 42, 73, .08);
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--surface-soft); }

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface-soft);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 2px; font-size: 24px; font-weight: 760; letter-spacing: 0; }
h2 { margin-bottom: 6px; color: var(--ink-strong); font-size: 21px; line-height: 1.25; letter-spacing: 0; }
h3 { margin-bottom: 8px; font-size: 15px; letter-spacing: 0; }
code { font-family: "Cascadia Code", Consolas, monospace; overflow-wrap: anywhere; }

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 16px max(28px, calc((100vw - 1440px) / 2));
  color: #fff;
  background: var(--navy);
  border-bottom: 4px solid #23a36c;
}

.brand-lockup, .header-status, .environment-chip, .status,
.security-points, .flow-overview li, .toolbar, .form-actions {
  display: flex;
  align-items: center;
}

.brand-lockup { gap: 13px; }
.brand-logo {
  display: block;
  flex: 0 0 auto;
  width: 176px;
  height: 40px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
}
.subtitle { margin: 0; color: #bfd0e5; font-size: 12px; }
.eyebrow { margin-bottom: 4px; color: var(--blue); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.app-header .eyebrow { margin-bottom: 0; color: #91baf0; }
.header-status { gap: 14px; }
.environment-chip {
  gap: 9px;
  min-height: 38px;
  padding: 7px 11px;
  color: #d7e2f1;
  border: 1px solid #3c5270;
  border-radius: 6px;
}
.environment-chip span { color: #91a6c1; font-size: 11px; text-transform: uppercase; }
.environment-chip strong { font-size: 13px; }
.status {
  justify-content: center;
  min-width: 112px;
  min-height: 38px;
  padding: 6px 12px;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-weight: 750;
}
.status::before { width: 7px; height: 7px; margin-right: 7px; background: currentColor; border-radius: 50%; content: ""; }
.status-off { color: #ffb7af; }
.status-on { color: #91e6bd; }

.app-shell { width: min(1440px, 100%); margin: 0 auto; padding: 24px 28px 52px; }

.workspace-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(520px, .95fr);
  gap: 48px;
  align-items: center;
  padding: 4px 0 22px;
}
.workspace-copy p:last-child { max-width: 740px; margin-bottom: 0; color: var(--muted); }
.flow-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.flow-overview li { position: relative; gap: 10px; min-height: 70px; padding: 12px 16px; border-right: 1px solid var(--line); }
.flow-overview li:last-child { border-right: 0; }
.flow-overview li:not(:last-child)::after {
  position: absolute;
  z-index: 1;
  top: 27px;
  right: -6px;
  width: 10px;
  height: 10px;
  background: #fff;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transform: rotate(45deg);
  content: "";
}
.flow-overview li > span { color: var(--blue); font: 800 12px "Cascadia Code", Consolas, monospace; }
.flow-overview strong, .flow-overview small { display: block; }
.flow-overview strong { color: var(--ink-strong); }
.flow-overview small { color: var(--muted); }

.access-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 550px);
  gap: 34px;
  align-items: center;
  padding: 18px 20px;
  color: #dce8f6;
  background: var(--navy-light);
  border-left: 5px solid #23a36c;
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.access-band h2 { margin-bottom: 4px; color: #fff; }
.access-band p { margin-bottom: 10px; color: #bfcde0; }
.access-kicker { display: block; margin-bottom: 4px; color: #7dc9a5; font-size: 10px; font-weight: 850; }
.security-points { flex-wrap: wrap; gap: 7px; }
.security-points span { padding: 3px 8px; color: #cbd8e8; background: #203c62; border: 1px solid #405c80; border-radius: 4px; font-size: 11px; }
.access-controls label, .form-grid label, .upload-band label { display: grid; gap: 6px; font-weight: 650; }
.access-controls label { color: #e8f0fa; }
.access-controls code { color: #9ac5ff; }
.input-command { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }

input, select, textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  outline: none;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23, 105, 224, .13); }
small { color: var(--muted); font-weight: 400; }

.message { margin-top: 13px; padding: 11px 14px; border: 1px solid var(--line); border-left-width: 4px; border-radius: 5px; background: var(--surface); box-shadow: 0 5px 14px rgba(20, 42, 73, .05); }
.message.error { color: var(--red); border-color: #e79a92; background: var(--red-soft); }
.message.success { color: var(--green); border-color: #86c9a8; background: var(--green-soft); }
.message.warning { color: var(--amber); border-color: #e4c17f; background: var(--amber-soft); }

.connection-panel {
  margin-top: 18px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.connection-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 17px; }
.connection-heading > div { max-width: 860px; }
.connection-heading p:last-child { margin-bottom: 0; color: var(--muted); }
.configuration-status {
  flex: 0 0 auto;
  min-width: 145px;
  padding: 7px 10px;
  border: 1px solid currentColor;
  border-radius: 5px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}
.configuration-status.is-empty { color: var(--amber); background: var(--amber-soft); }
.configuration-status.is-ready { color: var(--green); background: var(--green-soft); }
.connection-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 18px;
  padding: 18px;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-left: 4px solid #8ea5c0;
  border-radius: 5px;
}
.connection-form label { display: grid; gap: 6px; font-weight: 650; }
.connection-guidance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); background: #fff; }
.connection-guidance div { min-width: 0; padding: 11px 12px; border-right: 1px solid var(--line); }
.connection-guidance div:last-child { border-right: 0; }
.connection-guidance strong, .connection-guidance span { display: block; }
.connection-guidance strong { margin-bottom: 2px; color: var(--ink-strong); }
.connection-guidance span { color: var(--muted); font-size: 12px; }
.compact-summary { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: stretch; border: 1px solid #27364a; border-radius: 5px; overflow: hidden; }
.compact-summary h3 { margin: 0; padding: 13px; color: #e5edf7; background: #18263a; }
.compact-summary pre { max-height: 200px; padding: 13px; }

.operation-panel {
  margin-top: 18px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid #d59a35;
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.operation-panel.is-production { border-top-color: var(--green); }
.operation-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.operation-heading > div { max-width: 900px; }
.operation-heading p:last-child { margin-bottom: 0; color: var(--muted); }
.operation-badge {
  flex: 0 0 auto;
  min-width: 145px;
  padding: 7px 10px;
  color: var(--amber);
  background: var(--amber-soft);
  border: 1px solid currentColor;
  border-radius: 5px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}
.operation-panel.is-production .operation-badge { color: var(--green); background: var(--green-soft); }
.operation-control {
  display: grid;
  grid-template-columns: minmax(310px, .8fr) minmax(0, 1.45fr);
  gap: 18px;
  margin-top: 17px;
  padding: 18px;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-left: 4px solid #d59a35;
  border-radius: 5px;
}
.operation-panel.is-production .operation-control { border-left-color: var(--green); }
.mode-switch { position: relative; display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 12px; align-items: center; cursor: pointer; }
.mode-switch input { position: absolute; width: 1px; height: 1px; min-height: 0; opacity: 0; }
.mode-switch-track { position: relative; display: block; width: 48px; height: 26px; background: #a8b4c2; border: 1px solid #8d9aaa; border-radius: 13px; transition: background .16s ease; }
.mode-switch-track span { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; box-shadow: 0 1px 4px rgba(12, 23, 40, .3); transition: transform .16s ease; }
.mode-switch input:checked + .mode-switch-track { background: var(--green); border-color: var(--green); }
.mode-switch input:checked + .mode-switch-track span { transform: translateX(22px); }
.mode-switch input:focus-visible + .mode-switch-track { outline: 3px solid rgba(23, 105, 224, .22); outline-offset: 2px; }
.mode-switch input:disabled + .mode-switch-track { opacity: .55; }
.mode-switch:has(input:disabled) { cursor: not-allowed; }
.mode-switch-copy strong, .mode-switch-copy small { display: block; }
.mode-switch-copy strong { margin-bottom: 3px; color: var(--ink-strong); font-size: 15px; }
.operation-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); background: #fff; }
.operation-facts div { min-width: 0; padding: 11px 12px; border-right: 1px solid var(--line); }
.operation-facts div:last-child { border-right: 0; }
.operation-facts strong, .operation-facts span { display: block; }
.operation-facts strong { margin-bottom: 2px; color: var(--ink-strong); }
.operation-facts span { color: var(--muted); font-size: 12px; }
.operation-timestamp { margin: 10px 0 0; color: var(--muted); font-size: 12px; }

.confirmation-dialog {
  width: min(570px, calc(100vw - 32px));
  padding: 0;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  box-shadow: 0 24px 70px rgba(12, 23, 40, .28);
}
.confirmation-dialog::backdrop { background: rgba(12, 23, 40, .55); }
.confirmation-dialog form { display: grid; gap: 16px; padding: 22px; }
.confirmation-dialog-heading p:last-child { margin-bottom: 0; color: var(--muted); }
.production-warning { display: grid; gap: 3px; padding: 12px 14px; color: var(--amber); background: var(--amber-soft); border-left: 4px solid #d59a35; }
.production-warning span { color: #6d4a12; }
.confirmation-dialog label { display: grid; gap: 6px; font-weight: 650; }
.confirmation-actions { justify-content: flex-end; margin-top: 2px; }

.tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  margin-top: 20px;
  overflow-x: auto;
  background: #e7ecf2;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.tab {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 8px;
  min-height: 62px;
  padding: 9px 13px;
  color: #526074;
  text-align: left;
  background: var(--surface-raised);
  border: 0;
  border-right: 1px solid var(--line);
}
.tab:last-child { border-right: 0; }
.tab > span {
  grid-row: 1 / 3;
  align-self: center;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #526074;
  background: #e6ebf1;
  border-radius: 5px;
  font: 800 10px "Cascadia Code", Consolas, monospace;
}
.tab strong { align-self: end; color: var(--ink); font-size: 13px; }
.tab small { align-self: start; font-size: 10px; }
.tab:hover { background: #f0f5fb; }
.tab.is-active { color: var(--blue); background: var(--blue-soft); box-shadow: inset 0 -3px 0 var(--blue); }
.tab.is-active > span { color: #fff; background: var(--blue); }
.tab.is-active strong { color: var(--blue-dark); }

.tab-panel { padding: 28px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.section-heading > div:first-child { max-width: 820px; }
.section-heading p:last-child { margin-bottom: 0; color: var(--muted); }
.toolbar, .form-actions { flex-wrap: wrap; gap: 8px; }

.button { min-height: 42px; padding: 9px 15px; border: 1px solid transparent; border-radius: 5px; font-weight: 750; }
.button-primary { color: #fff; background: var(--blue); border-color: var(--blue); box-shadow: 0 5px 12px rgba(23, 105, 224, .18); }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { color: var(--ink); background: #fff; border-color: #9aa8b9; }
.button-secondary:hover { background: #edf2f7; }
.button-danger-outline { color: var(--red); background: #fff; border-color: #d65b50; }
.button-danger-outline:hover { background: var(--red-soft); }

.endpoint-strip {
  display: grid;
  grid-template-columns: 56px 145px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 52px;
  padding: 9px 13px;
  margin-bottom: 16px;
  color: #d7e4f3;
  background: var(--navy);
  border-left: 5px solid var(--blue);
  border-radius: 5px;
}
.request-method { padding: 4px 7px; color: #b8f0d4; background: #173d37; border: 1px solid #2d725d; border-radius: 4px; font: 800 11px "Cascadia Code", Consolas, monospace; text-align: center; }
.endpoint-label { color: #9eb0c7; font-size: 11px; font-weight: 750; text-transform: uppercase; }
.endpoint-strip code { color: #fff; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 18px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid #8ea5c0;
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.span-2 { grid-column: 1 / -1; }
fieldset { margin: 0; padding: 13px; border: 1px solid var(--line); border-radius: 5px; }
legend { padding: 0 6px; color: #36465a; font-weight: 750; }
.choice-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.choice-item { display: grid; grid-template-columns: auto 1fr; gap: 9px; align-items: start; min-height: 58px; padding: 9px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface-raised); font-weight: 500; }
.choice-item:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); box-shadow: inset 3px 0 0 var(--blue); }
.choice-item input { width: 16px; min-height: 16px; margin-top: 2px; }
.choice-item small { display: block; }
.empty-state { color: var(--muted); }

.technical-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.technical-panel { min-width: 0; overflow: hidden; border: 1px solid #27364a; border-radius: 6px; background: var(--code); box-shadow: var(--shadow); }
.technical-panel h3 { margin: 0; padding: 11px 13px; color: #e5edf7; background: #18263a; border-bottom: 1px solid var(--code-line); }
.technical-panel h3::before { display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: #4aa87b; border-radius: 2px; content: ""; }
pre { margin: 0; padding: 15px; color: #d7e2ef; background: var(--code); font: 12px/1.6 "Cascadia Code", Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; overflow: auto; max-height: 430px; }

.master-detail { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 18px; }
.master-detail aside { padding: 15px; background: #eaf0f6; border: 1px solid var(--line); border-radius: 6px; }
.record-list { display: grid; gap: 8px; }
.record-button { width: 100%; min-height: 76px; padding: 10px; text-align: left; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 5px; }
.record-button:hover { border-color: #93a7c0; }
.record-button.is-active { border-color: var(--blue); background: var(--blue-soft); box-shadow: inset 3px 0 0 var(--blue); }
.record-button strong, .record-button small { display: block; }
.record-button small { overflow: hidden; text-overflow: ellipsis; }
.selection-summary { min-height: 50px; margin-bottom: 12px; padding: 12px 14px; color: #664600; background: var(--amber-soft); border: 1px solid #e4c17f; border-left: 5px solid #d68a16; border-radius: 5px; }
.single-top { margin-top: 16px; }

.upload-band { display: grid; grid-template-columns: 220px minmax(260px, 1fr) auto; gap: 12px; align-items: center; padding: 18px; background: #fff; border: 1px dashed #8ca5c0; border-left: 5px solid var(--blue); border-radius: 6px; box-shadow: var(--shadow); }
.file-security-note { margin: 10px 0 0; padding: 9px 12px; color: #315270; background: var(--blue-soft); border-left: 4px solid var(--blue); }
.file-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; margin-top: 16px; }
.file-item { display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; gap: 12px; min-height: 94px; padding: 12px; background: #fff; border: 1px solid var(--line); border-top: 3px solid #9fb1c5; border-radius: 6px; box-shadow: 0 7px 18px rgba(20, 42, 73, .06); }
.file-preview { width: 68px; height: 68px; display: grid; place-items: center; object-fit: cover; color: #315270; background: #e7edf4; border: 1px solid var(--line); border-radius: 5px; font-weight: 800; }
.file-meta strong, .file-meta small { display: block; overflow-wrap: anywhere; }
.file-meta strong { margin-bottom: 3px; }
.file-actions { display: flex; gap: 6px; align-items: start; }
.icon-command { width: 36px; height: 36px; padding: 0; border: 1px solid #9da9b8; border-radius: 4px; background: #fff; font-weight: 800; }
.icon-command:hover { background: #edf2f7; }
.icon-command.danger { color: var(--red); border-color: #d65b50; }

.trace-layout { display: grid; grid-template-columns: minmax(620px, 1.45fr) minmax(360px, 1fr); gap: 16px; }
.table-wrap { overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: #465267; background: #eaf0f6; font-size: 11px; text-transform: uppercase; }
tbody tr { cursor: pointer; }
tbody tr:hover, tbody tr.is-active { background: var(--blue-soft); }
.result-ok { color: var(--green); font-weight: 750; }
.result-error { color: var(--red); font-weight: 750; }

.contract-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); }
.contract-flow section { min-width: 0; padding: 20px; border-right: 1px solid var(--line); }
.contract-flow section:last-child { border-right: 0; }
.contract-flow section:nth-child(1) { border-top: 4px solid var(--blue); }
.contract-flow section:nth-child(2) { border-top: 4px solid #23a36c; }
.contract-flow section:nth-child(3) { border-top: 4px solid #d68a16; }
.contract-flow pre { max-height: none; margin: 12px 0; border-radius: 5px; }
.step-number { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 12px; color: #fff; background: var(--navy); border-radius: 5px; font-weight: 800; }
.integration-examples { margin-top: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); }
.examples-heading { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.examples-heading h3, .examples-heading p { margin-top: 0; }
.examples-heading p:last-child { margin-bottom: 0; }
.example-tabs { display: flex; gap: 0; overflow-x: auto; padding: 0 20px; background: #edf2f7; border-bottom: 1px solid var(--line); }
.example-tab { min-width: 125px; padding: 12px 16px; color: #3f4f63; background: transparent; border: 0; border-bottom: 3px solid transparent; font-weight: 750; }
.example-tab:hover { color: var(--blue); background: #e3ebf4; }
.example-tab.is-active { color: var(--blue); background: #fff; border-bottom-color: var(--blue); }
.example-code { min-height: 420px; max-height: 620px; border-radius: 0; }
.example-note { margin: 0; padding: 11px 20px; color: #5a4210; background: var(--amber-soft); border-top: 1px solid #e4c17f; }
.configuration-summary { margin-top: 18px; }

[hidden] { display: none !important; }

@media (max-width: 1060px) {
  .workspace-intro { grid-template-columns: 1fr; gap: 18px; }
  .flow-overview { width: 100%; }
  .access-band, .master-detail, .trace-layout, .contract-flow { grid-template-columns: 1fr; }
  .connection-guidance { grid-template-columns: 1fr; }
  .connection-guidance div { border-right: 0; border-bottom: 1px solid var(--line); }
  .connection-guidance div:last-child { border-bottom: 0; }
  .operation-control { grid-template-columns: 1fr; }
  .contract-flow section { border-right: 0; border-bottom: 1px solid var(--line); }
  .contract-flow section:last-child { border-bottom: 0; }
  .technical-grid { grid-template-columns: 1fr; }
  .tabs { grid-template-columns: repeat(5, minmax(165px, 1fr)); }
}

@media (max-width: 720px) {
  .app-header, .header-status, .section-heading, .examples-heading { align-items: flex-start; flex-direction: column; }
  .app-header { gap: 14px; padding: 15px 16px; }
  .brand-lockup { align-items: flex-start; flex-direction: column; gap: 8px; }
  .header-status { width: 100%; gap: 8px; }
  .environment-chip, .status { width: 100%; justify-content: flex-start; }
  .app-shell { padding: 18px 12px 38px; }
  .workspace-intro { padding-bottom: 16px; }
  .flow-overview { grid-template-columns: 1fr; box-shadow: none; }
  .flow-overview li { min-height: 58px; border-right: 0; border-bottom: 1px solid var(--line); }
  .flow-overview li:last-child { border-bottom: 0; }
  .flow-overview li::after { display: none; }
  .access-band, .form-grid, .connection-form { grid-template-columns: 1fr; gap: 18px; }
  .connection-heading { align-items: flex-start; flex-direction: column; }
  .configuration-status { width: 100%; }
  .operation-heading { align-items: flex-start; flex-direction: column; }
  .operation-badge { width: 100%; }
  .operation-facts { grid-template-columns: 1fr; }
  .operation-facts div { border-right: 0; border-bottom: 1px solid var(--line); }
  .operation-facts div:last-child { border-bottom: 0; }
  .compact-summary { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .input-command, .upload-band, .endpoint-strip { grid-template-columns: 1fr; }
  .tabs { grid-template-columns: repeat(5, 158px); }
  .tab { min-width: 158px; }
  .endpoint-strip { gap: 6px; }
  .request-method { width: 56px; }
  .form-actions .button, .toolbar .button { flex: 1 1 100%; }
  .confirmation-actions .button { flex: 1 1 100%; }
  .file-grid { grid-template-columns: 1fr; }
  h1 { font-size: 21px; }
  h2 { font-size: 19px; }
}
