:root {
  --bg: #fff;
  --surface: #f6f7f8;
  --soft: #fafbfb;
  --line: #d3d9df;
  --ink: #202a32;
  --muted: #596671;
  --green: #176b48;
  --green-soft: #edf6f0;
  --accent: #d9ebdf;
  --mono: "Consolas", "Microsoft YaHei UI", "Microsoft YaHei", monospace;
  --sans: "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
}
* {
  box-sizing: border-box;
  letter-spacing: 0;
}
body {
  margin: 0;
  color: var(--ink);
  font: 13px var(--sans);
  background: var(--bg);
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button {
  border: 0;
  background: none;
}
a {
  color: inherit;
  text-decoration: none;
}
input,
textarea,
select {
  outline: none;
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #a1c5af;
  outline-offset: 1px;
}
button:focus-visible {
  outline: 2px solid #a1c5af;
  outline-offset: 2px;
}
svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.6;
  flex-shrink: 0;
  vertical-align: middle;
}
.hidden {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.muted {
  color: var(--muted);
  font-size: 11px;
}
.topbar {
  height: 65px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 0 24px;
  gap: 40px;
  background: #fff;
}
.brand {
  display: flex;
  align-items: center;
  font-size: 26px;
  font-weight: 720;
  gap: 10px;
  width: 180px;
  flex-shrink: 0;
}
.brand-dot {
  color: var(--green);
  margin-left: -10px;
}
.brand-mark {
  background: #292e30;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: grid;
  place-items: center;
}
.brand-mark svg {
  width: 21px;
  height: 21px;
}
.workspace-label {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #646b73;
  font-size: 12px;
}
.workspace-label > svg {
  width: 13px;
  color: #9298a0;
}
.workspace-avatar {
  display: grid;
  place-items: center;
  background: #f0f1f3;
  border: 1px solid var(--line);
  width: 23px;
  height: 23px;
  border-radius: 5px;
  font-size: 11px;
}
.top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.local-indicator {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  margin-right: 13px;
}
.local-indicator > span,
.storage-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7fa18b;
  flex-shrink: 0;
}
.avatar {
  font-size: 9px;
  font-weight: 650;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid #dedfe2;
  border-radius: 50%;
  background: #f5f5f6;
  margin-left: 10px;
}
.icon-button {
  height: 28px;
  width: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #8a9098;
  border-radius: 4px;
  padding: 5px;
}
.icon-button:hover {
  background: #eef0f1;
  color: var(--ink);
}
.workspace {
  display: grid;
  grid-template-columns: 224px minmax(390px, 1fr) 320px;
  min-height: calc(100dvh - 65px);
}
.sidebar {
  background: #f7f8f9;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.sidebar-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 17px 17px 10px 21px;
  color: #91969e;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.2px;
}
.sidebar-tabs {
  display: flex;
  padding: 0 14px;
  gap: 5px;
}
.sidebar-tabs > button {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1;
  padding: 9px 5px;
  color: #9298a0;
  border-bottom: 1px solid transparent;
  font-size: 12px;
}
.sidebar-tabs > button[aria-selected="true"] {
  color: #383e44;
  border-color: #42494f;
}
.sidebar-tabs svg {
  width: 14px;
}
.sidebar-tabs > button > span {
  font-size: 9px;
  color: #969ca3;
  margin-left: auto;
}
.sidebar-search {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 17px 15px 19px;
  padding: 7px 8px;
  border: 1px solid #e6e8eb;
  border-radius: 5px;
  background: #fff;
  color: #a6abb0;
}
.sidebar-search svg {
  width: 14px;
}
.sidebar-search input {
  border: 0;
  background: transparent;
  width: 100%;
  font-size: 11px;
  min-width: 0;
}
.sidebar-search input::placeholder {
  color: #a7acb3;
}
.list-heading {
  display: flex;
  align-items: center;
  padding: 0 13px 5px 21px;
  color: #969ba3;
  font-size: 10px;
}
.list-heading > button {
  margin-left: auto;
}
.request-list {
  padding: 0 9px 20px;
  flex: 1;
  overflow: auto;
  max-height: calc(100dvh - 320px);
  min-height: 240px;
}
.folder-row {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  padding: 10px 8px;
  color: #535a63;
  font-size: 11px;
  border-radius: 4px;
  text-align: left;
}
.folder-row:hover {
  background: #edf0f2;
}
.folder-row .chevron {
  width: 12px;
}
.folder-row .folder-icon {
  width: 15px;
  color: #9198a1;
}
.folder-row .folder-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.folder-row .folder-count {
  color: #a1a7ad;
  font-size: 10px;
}
.saved-row {
  display: flex;
  align-items: center;
  gap: 3px;
  border-radius: 4px;
  padding-right: 2px;
  margin: 2px 0;
}
.saved-row.active {
  background: #e8edeb;
}
.saved-row:hover {
  background: #edf0f1;
}
.saved-row > button:first-child {
  display: flex;
  gap: 9px;
  min-width: 0;
  align-items: center;
  text-align: left;
  flex: 1;
  padding: 10px 3px 10px 23px;
}
.saved-row > button:first-child > span:last-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
  color: #69717a;
}
.saved-row .delete-item {
  visibility: hidden;
  width: 23px;
  height: 23px;
}
.saved-row:hover .delete-item,
.saved-row:focus-within .delete-item {
  visibility: visible;
}
.method-label {
  font: 600 10px var(--mono);
  color: var(--green);
  min-width: 32px;
}
.method-label[data-method="POST"] {
  color: #865e10;
}
.method-label[data-method="PUT"],
.method-label[data-method="PATCH"] {
  color: #35658f;
}
.method-label[data-method="DELETE"] {
  color: #a23d37;
}
.history-day {
  padding: 13px 12px 5px;
  font-size: 10px;
  color: #a0a5ac;
}
.list-empty {
  font-size: 11px;
  color: #a0a6ad;
  text-align: center;
  padding: 25px 10px;
  line-height: 1.9;
}
.sidebar-bottom {
  border-top: 1px solid var(--line);
  padding: 12px 12px 12px 20px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #969da5;
  margin-top: auto;
  min-height: 49px;
}
.sidebar-bottom .icon-button {
  margin-left: auto;
}
.main-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.document-bar {
  display: flex;
  height: 47px;
  align-items: center;
  background: #fbfcfc;
  border-bottom: 1px solid var(--line);
  padding-right: 15px;
  flex-shrink: 0;
}
.document-tab {
  height: 47px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 260px;
  padding: 0 21px;
  border-right: 1px solid var(--line);
  background: #fff;
  font-size: 11px;
  border-top: 2px solid #687c70;
}
.document-tab > #document-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}
.document-tab .method-label {
  font-size: 9px;
  min-width: 24px;
}
.dirty-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a8afb5;
  flex-shrink: 0;
}
.document-bar > .icon-button {
  margin-left: 9px;
}
.document-spacer {
  flex: 1;
}
.code-toggle {
  display: none;
}
.request-section {
  padding: 28px 27px 0;
}
.request-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 23px;
}
.eyebrow {
  font-size: 9px;
  color: #a1a7ae;
  margin-bottom: 8px;
  letter-spacing: 1px;
  font-weight: 550;
}
.eyebrow > span {
  color: #7d858e;
}
.request-title-wrap {
  min-width: 0;
  flex: 1;
}
.request-name {
  border: 0;
  font-size: 22px;
  font-weight: 620;
  padding: 0;
  background: none;
  width: 100%;
  height: 30px;
  min-width: 0;
  text-overflow: ellipsis;
}
.button {
  border: 1px solid #e0e3e5;
  border-radius: 5px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  font-size: 11px;
  background: #fff;
  white-space: nowrap;
  min-height: 33px;
  transition: background 0.15s;
}
.button:hover {
  background: #f4f6f5;
}
.button svg {
  width: 14px;
  height: 14px;
}
.save-button {
  color: #6e767e;
  min-width: 73px;
  align-self: flex-end;
  margin-bottom: 2px;
}
.primary {
  background: #303b34;
  color: #fff;
  border-color: #303b34;
}
.primary:hover {
  background: #435249;
}
.url-bar {
  display: flex;
  align-items: center;
  border: 1px solid #dfe3e5;
  background: #fafbfb;
  border-radius: 6px;
  padding: 5px;
  gap: 10px;
  min-width: 0;
  height: 49px;
}
.url-bar:focus-within {
  border-color: #95b5a0;
  box-shadow: 0 0 0 2px #eaf2ed;
}
.url-bar select {
  background: transparent;
  border: 0;
  width: 85px;
  flex-shrink: 0;
  font: 650 12px var(--mono);
  color: var(--green);
  padding: 5px 5px 5px 10px;
  height: 33px;
  cursor: pointer;
}
.url-divider {
  height: 19px;
  width: 1px;
  background: #e1e4e6;
  flex-shrink: 0;
}
.url-bar > input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: 11px var(--mono);
  height: 34px;
  padding: 0 2px;
}
.url-bar > input:focus-visible {
  outline: none;
}
.url-bar .primary {
  height: 37px;
  min-width: 87px;
  gap: 16px;
  font-size: 12px;
}
.request-tabs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  margin-top: 15px;
  gap: 8px;
}
.tabs {
  display: flex;
  align-items: stretch;
  gap: 24px;
  min-width: 0;
}
.tabs > button {
  padding: 13px 0 12px;
  color: #8b929a;
  border-bottom: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  white-space: nowrap;
}
.tabs > button[aria-selected="true"] {
  border-bottom-color: #535e56;
  color: #333d36;
}
.tabs svg {
  width: 12px;
  height: 12px;
  opacity: 0.7;
}
.tab-count {
  border-radius: 3px;
  background: #eef0f1;
  color: #8c949d;
  padding: 1px 5px;
  font: 9px var(--mono);
  min-width: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tab-dot {
  height: 4px;
  width: 4px;
  background: #8ca693;
  border-radius: 50%;
}
.timeout-setting {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #9a9fa6;
  font: 10px var(--mono);
  white-space: nowrap;
}
.timeout-setting svg {
  width: 13px;
}
.timeout-setting input {
  width: 27px;
  border: 0;
  background: transparent;
  font: 10px var(--mono);
  color: #9299a1;
  padding: 0;
  text-align: right;
  -moz-appearance: textfield;
  appearance: textfield;
}
.timeout-setting input::-webkit-inner-spin-button {
  appearance: none;
}
.request-editor {
  height: auto;
  min-height: 140px;
  max-height: 70dvh;
  overflow: auto;
}
.request-editor:has(#panel-body:not(.hidden)) {
  display: flex;
  flex-direction: column;
  height: clamp(260px, 36dvh, 520px);
  min-height: 220px;
  resize: vertical;
}
#panel-body {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  width: 100%;
  padding-top: 12px;
  padding-bottom: 8px;
}
#panel-body > .body-toolbar,
#body-notice,
#body-table-error,
#add-body-field {
  flex-shrink: 0;
}
#body-table {
  min-height: 65px;
  overflow: auto;
  flex: 1;
}
.editor-panel {
  padding-top: 18px;
  padding-bottom: 15px;
}
.editor-label {
  font-size: 10px;
  color: #838c95;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.editor-label > span {
  font-size: 9px;
  color: #a2a8ae;
  text-align: right;
}
.kv-table {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.kv-head,
.kv-row {
  display: grid;
  grid-template-columns: 29px minmax(80px, 1fr) minmax(80px, 1.3fr) 28px;
  align-items: stretch;
  min-height: 34px;
}
.kv-head {
  background: #f9fafa;
  min-height: 28px;
  border-bottom: 1px solid var(--line);
  color: #a1a6ad;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.6px;
}
.kv-head > span {
  padding: 8px 9px;
  border-left: 1px solid var(--line);
}
.kv-head > span:first-child {
  border: 0;
}
.kv-head > span:last-child {
  border: 0;
}
.kv-row + .kv-row {
  border-top: 1px solid #eef0f1;
}
.kv-row > input[type="text"] {
  min-width: 0;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  padding: 8px 9px;
  font: 10px var(--mono);
  width: 100%;
}
.kv-row input::placeholder {
  color: #bcc0c5;
}
.kv-row > label {
  display: flex;
  align-items: center;
  justify-content: center;
}
.kv-row input[type="checkbox"] {
  accent-color: #6f8e79;
  width: 12px;
  height: 12px;
  margin: 0;
  cursor: pointer;
}
.kv-row > .icon-button {
  align-self: center;
  width: 24px;
  height: 24px;
  color: #c0c5cb;
}
.kv-row > .icon-button:hover {
  color: #b56262;
}
.kv-row.disabled > input[type="text"] {
  color: #afb6bc;
}
.add-row {
  margin-top: 9px;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #8a949c;
  font-size: 10px;
  padding: 5px 0;
}
.text-button:hover {
  color: #3e6850;
}
.text-button svg {
  width: 12px;
  height: 12px;
}
.body-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
}
.body-toolbar .text-button {
  margin-left: auto;
}
.segmented {
  display: flex;
  background: #f1f3f4;
  border-radius: 5px;
  padding: 3px;
  gap: 2px;
}
.segmented > button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 3px;
  padding: 6px 12px;
  color: #8a929a;
  font-size: 10px;
  min-height: 27px;
}
.segmented > button.active {
  background: #fff;
  color: #39443d;
  box-shadow: 0 1px 4px #182b1e0a;
}
.body-input-wrap {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.body-gutter {
  font: 11px/1.8 var(--mono);
  width: 30px;
  color: #c1c6cb;
  padding-top: 5px;
  text-align: center;
  flex-shrink: 0;
  border-right: 1px solid #f0f1f3;
}
.body-input-wrap textarea {
  width: 100%;
  height: 100%;
  min-height: 0;
  resize: none;
  border: 0;
  outline: none;
  padding: 5px 12px;
  font: 11px/1.8 var(--mono);
  tab-size: 2;
  background: #fff;
  color: #5b6b61;
}
.body-input-wrap textarea::placeholder {
  color: #b3bcb5;
}
.inline-notice {
  margin: 7px 0 0;
  color: #aa8859;
  font-size: 10px;
}
.field-label {
  font-size: 11px;
  display: block;
  margin-bottom: 9px;
  color: #7a848d;
}
.field-select {
  border: 1px solid #e0e3e5;
  background: #fff;
  min-height: 35px;
  border-radius: 4px;
  padding: 7px 9px;
  font-size: 11px;
  width: 100%;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 23px;
  padding: 2px 0;
}
.auth-hint {
  line-height: 1.8;
  margin-top: 12px;
  font-size: 10px;
}
.token-input {
  border: 1px solid #e0e3e5;
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding: 2px 4px 2px 8px;
}
.token-input input {
  border: 0;
  width: 100%;
  min-width: 0;
  font: 11px var(--mono);
  background: none;
  height: 29px;
}
.response-section {
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 330px;
}
.response-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 57px;
  padding: 0 27px;
  gap: 12px;
  flex-shrink: 0;
}
.section-title {
  font-size: 12px;
  font-weight: 600;
  display: flex;
  gap: 12px;
  align-items: center;
}
.neutral-pill {
  font-size: 9px;
  background: #f2f4f5;
  color: #a0a7af;
  padding: 4px 7px;
  border-radius: 4px;
  font-weight: 400;
}
.neutral-pill.success {
  color: #478361;
  background: #eef6f1;
}
.neutral-pill.error {
  color: #b57068;
  background: #fbf0ee;
}
.neutral-pill.pending {
  color: #aa8a46;
  background: #faf5e9;
}
.response-metrics {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 10px var(--mono);
  color: #8f989f;
}
.metric-divider {
  height: 10px;
  width: 1px;
  background: var(--line);
}
.response-empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 15px 15px 35px;
  min-height: 285px;
  background-image: radial-gradient(#cfd7d42e 0.6px, transparent 0.6px);
  background-size: 16px 16px;
  background-position: center;
  background-repeat: repeat;
  mask-image: none;
}
.empty-art {
  width: 110px;
  height: 93px;
  display: grid;
  place-items: center;
  position: relative;
  margin: 4px 0 13px;
}
.art-orbit {
  position: absolute;
  height: 86px;
  width: 86px;
  border: 1px dashed #dfe5e1;
  border-radius: 50%;
  transform: rotate(20deg);
}
.art-tile {
  width: 53px;
  height: 53px;
  border: 1px solid #dfe5e1;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #fff, #edf3ef);
  box-shadow: 0 5px 12px #24372b06;
  transform: rotate(-8deg);
}
.art-tile svg {
  width: 25px;
  height: 25px;
  color: #859b8c;
  stroke-width: 1.3;
  transform: rotate(8deg);
}
.art-tick {
  position: absolute;
  width: 5px;
  height: 5px;
  background: #a2b9a9;
  border: 2px solid #fff;
  box-sizing: content-box;
  border-radius: 50%;
}
.tick-one {
  left: 10px;
  top: 24px;
}
.tick-two {
  right: 13px;
  bottom: 15px;
  background: #c4cfdc;
}
.response-empty h2 {
  font-size: 14px;
  font-weight: 500;
  color: #78817f;
  margin: 0 0 10px;
}
.response-empty p {
  font-size: 11px;
  color: #acb2b6;
  margin: 0 0 20px;
}
.empty-caption {
  display: flex;
  align-items: center;
  gap: 6px;
  font: 9px var(--mono);
  color: #a6b0aa;
}
.empty-caption > span {
  height: 4px;
  width: 4px;
  border-radius: 50%;
  background: #a6b8ad;
}
.response-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 270px;
  min-width: 0;
}
.response-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 27px;
  border-bottom: 1px solid #f1f2f3;
  min-height: 39px;
  gap: 8px;
}
.compact {
  gap: 20px;
}
.compact > button {
  font-size: 10px;
  padding: 10px 0;
}
.response-tools {
  display: flex;
  align-items: center;
  gap: 3px;
}
.format-tag {
  font: 9px var(--mono);
  color: #a2a9b0;
  border: 1px solid #e8ebed;
  border-radius: 3px;
  padding: 3px 6px;
  margin-right: 6px;
}
.response-tools .icon-button {
  width: 24px;
  height: 24px;
}
.response-tools svg {
  width: 13px;
  height: 13px;
}
.response-code {
  font: 11px/1.9 var(--mono);
  margin: 0;
  overflow: auto;
  max-height: 520px;
  min-height: 235px;
  flex: 1;
  padding: 18px 24px 23px 15px;
  tab-size: 2;
  white-space: pre;
  counter-reset: line;
  color: #53675d;
}
.code-line {
  display: block;
  min-height: 20.9px;
  padding-left: 44px;
  position: relative;
}
.code-line:before {
  content: counter(line);
  counter-increment: line;
  position: absolute;
  left: 0;
  width: 28px;
  text-align: right;
  color: #c2c7cb;
  font-weight: 400;
  user-select: none;
}
.json-key {
  color: #5d7082;
}
.json-string {
  color: #59826b;
}
.json-number {
  color: #aa8a56;
}
.json-literal {
  color: #a07a97;
}
mark {
  background: #ffe5a0;
  color: inherit;
  border-radius: 2px;
}
.response-headers {
  padding: 12px 27px;
  overflow: auto;
  max-height: 520px;
  font: 11px/1.8 var(--mono);
}
.response-header-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(130px, 1.8fr);
  border-bottom: 1px solid #edf0f1;
  padding: 9px 0;
  gap: 15px;
  overflow-wrap: anywhere;
}
.response-header-row > span:first-child {
  color: #7a858f;
}
.response-header-row > span:last-child {
  color: #505e57;
}
.response-search-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 7px 26px;
  background: #fafbfb;
  border-bottom: 1px solid var(--line);
  color: #9aa3a7;
}
.response-search-bar input {
  border: 0;
  background: none;
  font: 11px var(--mono);
  flex: 1;
  min-width: 0;
}
.response-search-bar > span {
  font: 10px var(--mono);
  color: #9ba1a8;
}
.response-notice {
  padding: 8px 27px;
  background: #faf7ef;
  font-size: 10px;
  color: #9a8658;
}
.response-error {
  padding: 27px;
  max-width: 620px;
}
.error-icon {
  color: #ad8477;
  background: #f8f1ee;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  margin-bottom: 15px;
}
.response-error h2 {
  font-size: 14px;
  font-weight: 550;
}
.response-error > p {
  font-size: 12px;
  color: #92999f;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.error-detail {
  font-size: 11px;
  line-height: 1.9;
  color: #9ba1a7;
  margin: 15px 0 22px;
}
.main-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 23px;
  color: #a6adb3;
  font-size: 9px;
  border-top: 1px solid #eff1f2;
  min-height: 38px;
  gap: 10px;
}
.main-footer > span:first-child {
  display: flex;
  gap: 5px;
  align-items: center;
  font-family: var(--mono);
}
.main-footer svg {
  width: 12px;
  height: 12px;
  color: #a8b7ae;
}
.code-panel {
  border-left: 1px solid var(--line);
  background: #fbfcfc;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.code-heading {
  height: 47px;
  display: flex;
  align-items: center;
  padding: 0 21px;
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
}
.code-heading > span:first-child {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 11px;
  color: #69737c;
}
.code-heading svg {
  width: 14px;
}
.code-language {
  font: 9px var(--mono);
  color: #a6adb4;
}
.code-inner {
  padding: 24px 20px;
  flex: 1;
  min-width: 0;
}
.code-description {
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 17px;
  color: #6b747c;
}
.shell-switch {
  width: 100%;
  margin-bottom: 23px;
}
.shell-switch > button {
  padding: 6px;
  font: 10px var(--mono);
  height: 30px;
}
.shell-switch svg {
  width: 13px;
  height: 13px;
}
.snippet-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 9px var(--mono);
  color: #a0a8ae;
  padding: 0 0 8px;
}
.snippet-heading svg {
  width: 13px;
}
.snippet-heading > span {
  margin-right: auto;
}
.curl-code {
  font: 10px/1.9 var(--mono);
  margin: 0;
  padding: 16px 12px;
  border: 1px solid #e8ebec;
  border-radius: 5px;
  background: #f4f6f6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  min-height: 168px;
  max-height: 465px;
  overflow: auto;
  color: #677c71;
  tab-size: 2;
}
.curl-code .code-line {
  padding: 0;
  min-height: 19px;
}
.curl-code .code-line:before {
  display: none;
}
.curl-code .code-line:first-child {
  color: #354e3e;
}
.copy-command {
  margin-top: 12px;
  width: 100%;
  justify-content: flex-start;
  background: #fff;
  color: #767f86;
  font-size: 10px;
  height: 34px;
}
.copy-command > span {
  margin-left: auto;
  font: 9px var(--mono);
  color: #a9afb5;
}
.terminal-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
  color: #a7aeb3;
}
.terminal-note > svg {
  width: 13px;
  height: 13px;
  margin-top: 2px;
}
.terminal-note p {
  font-size: 10px;
  line-height: 1.9;
  margin: 0;
}
.command-warning {
  font-size: 10px;
  color: #a78b59;
  line-height: 1.9;
  margin-top: 12px;
  padding: 10px;
  background: #faf5e8;
  border-radius: 4px;
}
.curl-error {
  font-size: 11px;
  color: #b2766b;
  padding: 14px;
  line-height: 1.8;
  background: #fbf1ed;
  border-radius: 4px;
}
.code-bottom {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 16px 20px;
  color: #aeb5ba;
  font: 9px var(--mono);
}
.code-bottom svg {
  width: 12px;
  height: 12px;
  color: #93ac9d;
}
.version {
  margin-left: auto;
  color: #bec3c7;
}
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  background: #323d36;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  box-shadow: 0 6px 24px #17251d20;
  font-size: 12px;
  z-index: 20;
  max-width: calc(100vw - 30px);
  line-height: 1.7;
  animation: toast-in 0.16s ease-out;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 15px 70px #1f28282b;
  padding: 25px;
  width: 430px;
  max-width: calc(100vw - 32px);
  max-height: 85dvh;
  color: var(--ink);
}
dialog::backdrop {
  background: #323b3d40;
  backdrop-filter: blur(2px);
}
.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 23px;
}
.dialog-heading h2 {
  font-size: 17px;
  font-weight: 550;
  margin: 0;
}
.dialog-input {
  border: 1px solid #dfe3e5;
  border-radius: 4px;
  width: 100%;
  padding: 9px;
  font-size: 12px;
  margin-bottom: 22px;
}
.dialog-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 27px;
}
#help-dialog {
  width: 510px;
}
#help-dialog p {
  font-size: 12px;
  line-height: 1.9;
  color: #879198;
}
#help-dialog h3 {
  font-size: 12px;
  font-weight: 600;
  margin-top: 24px;
}
.mobile-menu {
  display: none;
}
.loading-spin {
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes toast-in {
  from {
    opacity: 0;
    bottom: 20px;
  }
  to {
    opacity: 1;
    bottom: 26px;
  }
}
.sidebar-heading,
.sidebar-tabs > button,
.sidebar-tabs > button > span,
.sidebar-search,
.list-heading,
.folder-row .folder-count,
.history-day,
.list-empty,
.sidebar-bottom,
.eyebrow,
.eyebrow > span,
.tabs > button,
.timeout-setting,
.timeout-setting input,
.editor-label,
.editor-label > span,
.tab-count,
.text-button,
.segmented > button,
.neutral-pill,
.response-metrics,
.response-empty p,
.empty-caption,
.format-tag,
.response-search-bar,
.response-search-bar > span,
.response-error > p,
.error-detail,
.main-footer,
.code-language,
.snippet-heading,
.copy-command,
.copy-command > span,
.terminal-note,
.code-bottom,
.version,
#help-dialog p {
  color: var(--muted);
}
.icon-button,
.workspace-label > svg,
.folder-row .folder-icon,
.main-footer svg {
  color: #64737d;
}
.sidebar-search input::placeholder,
.kv-row input::placeholder,
.body-input-wrap textarea::placeholder,
.bulk-editor::placeholder,
input::placeholder {
  color: #687786;
  opacity: 1;
  font-style: normal;
}
.kv-head {
  color: #2e414e;
  background: #e4e9ed;
  font-size: 10px;
  font-weight: 600;
}
.kv-row > input[type="text"],
.url-bar > input,
.body-input-wrap textarea {
  color: #142a21;
  font-size: 13px;
  font-weight: 400;
}
.kv-row > input[type="text"],
.url-bar > input {
  font-family: var(--sans);
}
.kv-row > input[type="text"]:placeholder-shown,
.body-input-wrap textarea:placeholder-shown,
.bulk-editor:placeholder-shown {
  background: #f0f3f6;
}
.kv-row > input[type="text"]:not(:placeholder-shown),
.body-input-wrap textarea:not(:placeholder-shown),
.bulk-editor:not(:placeholder-shown) {
  background: #fff;
  color: #142a21;
}
.kv-row.disabled > input[type="text"] {
  color: #75818a;
}
.kv-row > .icon-button {
  color: #74828b;
}
.tabs > button,
.text-button,
.segmented > button,
.saved-row > button:first-child > span:last-child,
.folder-row,
.document-tab {
  font-size: 12px;
}
.tabs > button[aria-selected="true"] {
  color: #193b2b;
  border-bottom-color: #326d4d;
  font-weight: 600;
}
.response-empty h2,
.code-description,
.code-heading > span:first-child {
  color: #3c4e47;
}
.neutral-pill.success {
  color: #21613f;
  background: #e2f0e7;
}
.neutral-pill.error {
  color: #943d34;
  background: #fae9e6;
}
.neutral-pill.pending,
.inline-notice,
.command-warning {
  color: #805c1e;
}
.curl-code {
  color: #294536;
  background: #f0f3f1;
  border-color: #cbd6cf;
  font-size: 12px;
  line-height: 1.9;
}
.response-code {
  color: #314c3d;
  font-size: 12px;
}
.code-line::before,
.body-gutter {
  color: #718078;
}
.json-key { color: #355a78; }
.json-string { color: #286440; }
.json-number { color: #885c22; }
.json-literal { color: #80517a; }
.editor-label {
  align-items: center;
  min-height: 30px;
  margin-bottom: 10px;
}
.editor-label > span:first-child {
  color: #4d5e68;
  font-size: 11px;
  text-align: left;
}
.edit-mode { flex-shrink: 0; }
.edit-mode > button {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 4px 8px;
  min-height: 26px;
  font-size: 11px;
  gap: 5px;
}
.edit-mode svg { width: 13px; height: 13px; }
.body-toolbar { flex-wrap: wrap; row-gap: 8px; }
.body-toolbar > #body-status { display: none; }
.body-toolbar > .edit-mode { margin-left: auto; }
.body-toolbar > #format-body { margin-left: 0; }
.bulk-editor {
  display: block;
  width: 100%;
  min-height: 143px;
  padding: 12px;
  resize: vertical;
  border: 1px solid #cbd3d9;
  border-radius: 4px;
  background: #fcfdfd;
  color: #283c34;
  font: 12px/1.85 var(--mono);
  tab-size: 2;
}
.editor-error {
  margin-top: 8px;
  padding: 7px 10px;
  border-left: 2px solid #b66355;
  background: #fcf0ed;
  color: #923e32;
  font-size: 11px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.terminal-note p,
.command-warning,
.curl-error { font-size: 11px; }

@media (min-width: 641px) {
  .workspace {
    height: calc(100dvh - 65px);
    min-height: 0;
    grid-template-rows: minmax(0, 1fr);
    overflow: hidden;
  }
  .main-panel {
    min-height: 0;
    overflow: hidden;
  }
  .main-panel > .request-section {
    flex: 0 1 auto;
    min-height: 0;
    max-height: calc(100% - 300px);
    overflow: auto;
  }
  .request-editor:has(#panel-body:not(.hidden)) {
    height: clamp(180px, 30dvh, 360px);
    min-height: 120px;
    max-height: max(120px, calc(100dvh - 470px));
  }
  .main-panel > .response-section {
    min-height: 0;
    overflow: hidden;
  }
  .response-section > .response-content {
    min-height: 0;
    overflow: hidden;
  }
  .response-section > .response-empty,
  .response-section > .response-error {
    min-height: 0;
    overflow: auto;
  }
  .response-section > .response-empty {
    justify-content: safe center;
  }
  .response-empty > .empty-art {
    flex-shrink: 0;
  }
  .response-content > .response-code {
    min-height: 0;
    max-height: none;
  }
  .main-panel > .main-footer {
    flex-shrink: 0;
  }
  .sidebar {
    min-height: 0;
    overflow: hidden;
  }
  .code-panel {
    min-height: 0;
    overflow: auto;
  }
}

@media (min-width: 1550px) {
  .workspace {
    grid-template-columns: 250px minmax(500px, 1fr) 360px;
  }
  .request-section {
    padding: 32px 38px 0;
  }
  .response-heading,
  .response-toolbar {
    padding-left: 38px;
    padding-right: 38px;
  }
  .code-inner {
    padding: 28px;
  }
  .sidebar-heading {
    margin-top: 21px;
  }
  .request-list {
    padding: 0 13px;
  }
  .request-name {
    font-size: 24px;
  }
  .url-bar > input {
    font-size: 12px;
  }
  .curl-code {
    font-size: 12px;
  }
}
@media (max-width: 1180px) {
  .workspace {
    grid-template-columns: 195px minmax(360px, 1fr) 270px;
  }
  .request-section {
    padding-left: 20px;
    padding-right: 20px;
  }
  .topbar {
    gap: 12px;
    padding: 0 18px;
  }
  .brand {
    width: 177px;
  }
  .code-inner {
    padding: 23px 15px;
  }
  .code-heading {
    padding: 0 15px;
  }
  .tabs {
    gap: 18px;
  }
  .code-bottom {
    padding: 16px 15px;
    font-size: 8px;
  }
  .local-indicator {
    margin: 0;
  }
}
@media (max-width: 1000px) {
  .workspace {
    grid-template-columns: 195px minmax(360px, 1fr);
  }
  .code-panel {
    display: none;
  }
  .code-toggle {
    display: flex;
  }
  .workspace.show-code {
    grid-template-columns: 195px minmax(360px, 1fr);
  }
  .workspace.show-code .code-panel {
    display: flex;
    grid-column: 2;
  }
  .workspace.show-code .code-panel .curl-code {
    max-height: 300px;
  }
  .workspace.show-code .code-bottom {
    display: none;
  }
  .workspace.show-code .sidebar {
    grid-row: 1 / 3;
  }
  .code-panel .code-inner {
    padding: 20px;
  }
  .code-panel .shell-switch {
    max-width: 300px;
  }
  .code-panel .copy-command {
    max-width: 300px;
  }
  .response-section {
    min-height: 350px;
  }
  .local-indicator {
    font-size: 10px;
  }
  .top-actions {
    gap: 7px;
  }
  .brand {
    width: 165px;
  }
}
@media (max-width: 640px) {
  .topbar {
    height: 57px;
    padding: 0 16px;
    gap: 15px;
  }
  .brand {
    width: auto;
    font-size: 23px;
    gap: 8px;
  }
  .brand-mark {
    width: 27px;
    height: 27px;
  }
  .brand-dot {
    margin-left: -8px;
  }
  .workspace-label {
    font-size: 10px;
    margin-left: 7px;
    gap: 7px;
  }
  .workspace-label > svg,
  .workspace-avatar,
  .local-indicator,
  .avatar {
    display: none;
  }
  .top-actions {
    gap: 3px;
  }
  .top-actions > .icon-button {
    width: 26px;
  }
  .workspace {
    display: flex;
    flex-direction: column;
    min-height: calc(100dvh - 57px);
  }
  .sidebar {
    display: none;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .workspace.show-sidebar .sidebar {
    display: flex;
  }
  .request-list {
    max-height: 280px;
    min-height: 130px;
  }
  .sidebar-bottom {
    display: none;
  }
  .sidebar-heading {
    margin-top: 10px;
    margin-bottom: 0;
  }
  .sidebar-search {
    margin-top: 12px;
    margin-bottom: 8px;
  }
  .list-heading {
    padding-bottom: 0;
  }
  .document-bar {
    height: 42px;
    padding-right: 12px;
  }
  .mobile-menu {
    display: flex;
  }
  .document-tab {
    padding: 0 12px;
    height: 42px;
    border-top: 0;
    background: transparent;
    border-right: 0;
    max-width: 235px;
  }
  .document-tab #document-name {
    max-width: 145px;
  }
  .request-section {
    padding: 22px 17px 0;
  }
  .request-heading {
    margin-bottom: 20px;
  }
  .request-name {
    font-size: 20px;
  }
  .eyebrow {
    font-size: 8px;
  }
  .save-button {
    min-width: 66px;
    padding: 7px 10px;
  }
  .url-bar {
    gap: 7px;
    height: 47px;
  }
  .url-bar select {
    width: 76px;
    font-size: 11px;
    padding-left: 5px;
  }
  .url-bar .primary {
    min-width: 65px;
    gap: 7px;
    padding: 7px 9px;
    height: 35px;
  }
  .url-bar > input {
    font-size: 11px;
  }
  .tabs {
    gap: 22px;
  }
  .tabs > button {
    font-size: 11px;
  }
  .editor-label {
    font-size: 9px;
  }
  .editor-label > span {
    max-width: 155px;
    font-size: 8px;
  }
  .kv-head,
  .kv-row {
    grid-template-columns: 26px minmax(70px, 1fr) minmax(75px, 1.2fr) 24px;
  }
  .kv-row > input[type="text"] {
    padding: 8px 7px;
    font-size: 10px;
  }
  .kv-row > .icon-button {
    width: 22px;
  }
  .response-heading {
    padding: 0 17px;
    height: 52px;
  }
  .response-toolbar {
    padding: 0 17px;
  }
  .compact {
    gap: 16px;
  }
  .response-tools {
    gap: 1px;
  }
  .format-tag {
    margin-right: 3px;
    font-size: 8px;
  }
  .response-tools .icon-button {
    width: 22px;
  }
  .response-code {
    font-size: 10px;
    padding-left: 5px;
    max-height: 450px;
    min-height: 260px;
  }
  .code-line {
    padding-left: 39px;
  }
  .response-section {
    min-height: 370px;
  }
  .response-empty {
    padding-bottom: 37px;
    min-height: 305px;
  }
  .main-footer {
    padding: 11px 17px;
    font-size: 8px;
  }
  .main-footer > span:first-child {
    font-size: 8px;
  }
  .auth-layout {
    grid-template-columns: 1fr 1.2fr;
    gap: 15px;
  }
  .auth-hint {
    font-size: 9px;
  }
  .workspace.show-code .code-panel {
    display: flex;
    order: 3;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .code-heading {
    padding: 0 20px;
  }
  .code-description {
    margin-bottom: 12px;
  }
  .shell-switch {
    margin-bottom: 15px;
  }
  .curl-code {
    min-height: 120px;
  }
  .code-inner {
    padding: 20px;
  }
  .response-error {
    padding: 20px;
  }
  .response-headers {
    padding: 10px 17px;
    font-size: 10px;
  }
  .response-header-row {
    grid-template-columns: minmax(90px, 1fr) minmax(120px, 1.5fr);
  }
  .response-search-bar {
    padding: 7px 17px;
  }
  .timeout-setting {
    gap: 2px;
  }
  .timeout-setting input {
    width: 22px;
  }
  .body-toolbar {
    gap: 8px;
  }
  .body-toolbar .segmented > button {
    padding: 5px 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
