:root {
  color-scheme: light;
  --ink: #172825;
  --muted: #53645e;
  --border: #d4ddd5;
  --paper: #fff;
  --canvas: #f5f6f1;
  --accent: #185e46;
  --accent-soft: #e5f1e8;
  --mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  --sans: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  font: 15px/1.5 var(--sans);
  color: var(--ink);
  background: var(--canvas);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .62; }
button, input, select, textarea, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #428c6a; outline-offset: 3px; }
button { color: inherit; }
.icon { display: inline-block; flex: 0 0 auto; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
h1, h2, h3, p, pre { margin: 0; }
h1, h2, h3 { line-height: 1.16; }
code, pre, .mono { font-family: var(--mono); }
.topbar { color: #eff5ee; background: #122821; border-bottom: 1px solid #0d221b; }
.topbar-inner { width: min(100%, 1576px); min-height: 60px; margin: 0 auto; padding: 0 clamp(18px, 3.4vw, 56px); display: flex; align-items: stretch; gap: 33px; }
.brand { display: flex; align-items: center; gap: 9px; font-size: 20px; font-weight: 720; letter-spacing: -.9px; }
.brand-mark { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 8px; background: #b6eba9; color: #163e2d; }
.brand-mark svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.main-nav, .topbar-end { display: flex; align-items: stretch; }
.main-nav { gap: 3px; }
.main-nav button, .topbar-end button, #private-label { border: 0; background: transparent; color: #baccc2; font-size: 13px; font-weight: 550; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }
.main-nav button { padding: 2px 15px 0; border-bottom: 2px solid transparent; }
.main-nav button[aria-current] { color: #d0f6c8; border-bottom-color: #b6eba9; background: #1b392f; }
.main-nav button:hover, .topbar-end button:hover { color: #fff; background: #1d382e; }
.topbar-end { margin-left: auto; }
.topbar-end button { padding: 0 5px; }
.topbar button:focus-visible { outline-offset: -3px; outline-color: #aeeba9; }
#private-label { font-weight: 430; font-size: 12px; }
#private-label .icon { width: 14px; }
.login-wrap { min-height: calc(100vh - 61px); padding: clamp(30px, 7vh, 90px) 22px; display: grid; place-items: center; background-image: radial-gradient(#becac245 .8px, transparent .8px); background-size: 17px 17px; }
.login-card { width: min(100%, 820px); display: grid; grid-template-columns: .82fr 1.18fr; overflow: hidden; background: var(--paper); border: 1px solid #cfdbd1; border-radius: 15px; box-shadow: 0 16px 55px #1c392513; }
.login-visual { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 26px 0; background-color: #163127; background-image: linear-gradient(#66806a13 1px, transparent 1px), linear-gradient(90deg, #66806a13 1px, transparent 1px); background-size: 22px 22px; color: #d1e9d9; }
.visual-label, .visual-caption { display: flex; align-items: center; gap: 8px; padding: 0 22px; font: 11px var(--mono); }
.visual-label { color: #bcdfc6; }
.visual-label .icon { width: 18px; }
.visual-caption { justify-content: space-between; gap: 6px; font-size: 10px; color: #bed2c2; }
.visual-caption .icon { width: 13px; }
.flow-art { width: 100%; }
.login-panel { padding: clamp(28px, 3.1vw, 50px); }
.login-key { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: var(--accent); background: #e9f3e7; border: 1px solid #dceadc; margin-bottom: 22px; }
.login-key .icon { width: 23px; height: 23px; }
.login-panel h1 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -1.45px; }
.login-intro { color: var(--muted); margin-top: 12px; max-width: 40ch; font-size: 14px; }
#login-form { margin-top: 27px; }
#login-form label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 650; }
.token-wrap { display: flex; align-items: center; border: 1px solid #bdccc1; border-radius: 7px; padding: 0 7px 0 12px; }
.token-wrap:focus-within { border-color: #33885d; box-shadow: 0 0 0 2px #2c814523; }
.token-wrap input { height: 42px; min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); font: 13px var(--mono); }
.token-wrap input::placeholder { color: #78877e; font-family: var(--sans); }
.token-wrap button { border: 0; padding: 5px 6px; font-size: 12px; font-weight: 600; color: var(--muted); background: transparent; }
.primary-btn { border: 1px solid #164f39; border-radius: 7px; background: #205c43; color: #fff; padding: 9px 16px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.primary-btn:hover { background: #164a36; }
#login-submit { margin-top: 16px; width: 100%; }
.form-error, .notice { color: #863d25; }
.form-error { font-size: 13px; margin-top: 8px; }
.notice { border: 1px solid #e8c6b0; background: #fff4e7; border-radius: 7px; padding: 10px 13px; margin-bottom: 14px; font-size: 14px; }
.workspace { width: min(100%, 1576px); margin: 0 auto; padding: 33px clamp(18px, 3.4vw, 56px) 32px; }
.workspace-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px 30px; margin-bottom: 24px; }
.workspace-head h1 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -1.8px; font-weight: 650; }
.endpoint { max-width: min(100%, 530px); display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.endpoint-label { color: var(--muted); display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 550; }
.endpoint-label .icon { width: 13px; height: 13px; }
.endpoint-value { inline-size: 100%; display: flex; align-items: center; gap: 14px; }
.endpoint-value code { font-size: 13px; color: #305e47; overflow-wrap: anywhere; }
.icon-btn { border: 1px solid var(--border); background: var(--paper); border-radius: 6px; width: 30px; height: 30px; padding: 0; display: inline-grid; place-items: center; flex: 0 0 auto; }
.icon-btn .icon { width: 15px; height: 15px; }
.icon-btn:hover, .quiet-btn:hover { background: #edf3eb; border-color: #adc2ad; }
.console-grid { display: grid; grid-template-columns: minmax(260px, 31%) minmax(0, 1fr); min-height: 530px; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--paper); box-shadow: 0 4px 18px #29453308; }
.request-pane { border-right: 1px solid var(--border); background: #fbfcf8; min-width: 0; }
.list-title, .live-controls { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.list-title { padding: 17px 16px 14px; }
.list-title h2 { display: flex; align-items: center; gap: 7px; font-size: 16px; font-weight: 650; letter-spacing: -.45px; }
.count { font: 11px var(--mono); color: #526859; background: #e9eee7; border-radius: 5px; padding: 3px 6px; }
.live-btn { border: 1px solid #c9dfcc; color: #2e6949; background: #eaf5e8; display: inline-flex; align-items: center; gap: 6px; height: 29px; padding: 0 8px; border-radius: 6px; font-size: 11px; font-weight: 600; }
.live-btn[aria-pressed=false] { background: #eff0eb; color: #61665a; border-color: #d8dacf; }
.live-dot, .status-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.search-wrap { display: flex; align-items: center; gap: 7px; margin: 0 15px 13px; padding: 0 8px; background: var(--paper); border: 1px solid var(--border); border-radius: 7px; color: #6c7d71; }
.search-wrap .icon { width: 15px; height: 15px; }
.search-wrap input { width: 100%; min-width: 0; border: 0; background: transparent; color: var(--ink); font-size: 12px; height: 32px; outline: 0; }
.search-wrap:focus-within { border-color: var(--accent); }
.request-list { border-top: 1px solid var(--border); overflow: auto; max-height: max(448px, calc(100vh - 310px)); }
.request-row { display: block; width: 100%; border: 0; border-bottom: 1px solid #e2e8df; border-left: 3px solid transparent; background: transparent; padding: 11px 14px 12px 12px; text-align: left; }
.request-row:hover { background: #f0f5ed; }
.request-row[aria-current=true] { border-left-color: #2d7651; background: #eaf3e7; }
.request-row:focus-visible { outline-offset: -3px; }
.row-top, .row-bottom, .detail-meta, .action-row, .tab-strip { display: flex; align-items: center; gap: 8px; }
.row-top { justify-content: space-between; }
.method, .status-pill { font: 600 10px/1.4 var(--mono); border-radius: 4px; letter-spacing: .25px; display: inline-flex; align-items: center; gap: 6px; padding: 2px 5px; }
.method { background: #e5eee2; color: #365e37; overflow-wrap: anywhere; }
.method[data-method=POST] { background: #e3edf5; color: #365f80; }
.method[data-method=PUT], .method[data-method=PATCH] { background: #f6eed7; color: #795c21; }
.method[data-method=DELETE] { background: #f9e8e3; color: #8b4331; }
.row-time, .row-bottom { color: #606e64; font: 11px/1.5 var(--mono); }
.row-path { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 13px/1.6 var(--mono); margin: 4px 0; }
.row-bottom { justify-content: space-between; }
.row-status { font-weight: 600; }
.empty-list { padding: 20px 16px; color: var(--muted); font-size: 13px; }
.load-wrap { padding: 12px; text-align: center; }
.inspector { min-width: 0; min-height: 470px; }
.empty-inspector { min-height: 500px; height: 100%; display: grid; place-items: center; padding: 26px; }
.empty-inner { width: min(100%, 475px); }
.empty-icon { color: var(--accent); background: #eaf4e8; border: 1px solid #cddfce; width: 43px; height: 43px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; }
.empty-icon .icon { width: 22px; height: 22px; }
.empty-inner h2 { font-size: 26px; letter-spacing: -1px; }
.empty-inner p { font-size: 14px; color: var(--muted); margin: 9px 0 18px; max-width: 55ch; }
.sample-box { padding: 13px 15px; background: #1b3028; color: #e4f3e4; border-radius: 8px; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.sample-box code { font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.sample-box button { color: #d7f2d0; border-color: #516d59; background: #263f32; width: 27px; height: 27px; }
.inspector-header { padding: 20px 22px 16px; }
.detail-top { display: flex; align-items: flex-start; gap: 10px; }
.detail-top h2 { min-width: 0; font: 600 18px/1.4 var(--mono); letter-spacing: -.6px; overflow-wrap: anywhere; }
.detail-top .method { margin-top: 3px; }
.detail-meta { margin-top: 9px; flex-wrap: wrap; color: var(--muted); gap: 5px 12px; font: 11px/1.6 var(--mono); }
.status-pill { color: #386e4e; background: #e7f3e8; }
.status-pill[data-band="3"] { color: #365f80; background: #e6eff6; }
.status-pill[data-band="4"], .status-pill[data-band="5"] { color: #83472f; background: #f6e7de; }
.tab-strip { border-bottom: 1px solid var(--border); padding: 0 16px; gap: 1px; overflow-x: auto; }
.tab-strip button { background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 9px 9px; color: var(--muted); white-space: nowrap; font-size: 13px; font-weight: 550; }
.tab-strip button[aria-selected=true] { color: var(--accent); border-bottom-color: var(--accent); }
.tab-strip button:focus-visible { outline-offset: -3px; }
.detail-panel { padding: 20px 22px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 9px; margin-bottom: 12px; }
.panel-heading h3 { font-size: 15px; font-weight: 630; letter-spacing: -.2px; }
.quiet-btn, .action-row select { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 28px; background: var(--paper); border: 1px solid var(--border); border-radius: 5px; padding: 3px 8px; font-size: 11px; font-weight: 540; color: #42564a; }
.quiet-btn .icon { width: 13px; height: 13px; }
.action-row { gap: 5px; flex-wrap: wrap; }
.data-pre { font: 12px/1.65 var(--mono); background: #f4f6f1; border: 1px solid #dce4d8; border-radius: 7px; color: #293c30; padding: 13px; max-height: 58vh; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; tab-size: 4; }
.data-pre.hex { white-space: pre; overflow-wrap: normal; }
.kv { margin: 0; border: 1px solid var(--border); border-radius: 7px; overflow: hidden; }
.kv-row { display: grid; grid-template-columns: minmax(100px, 31%) minmax(0, 1fr); }
.kv-row + .kv-row { border-top: 1px solid var(--border); }
.kv-row dt, .kv-row dd { padding: 9px 11px; overflow-wrap: anywhere; white-space: pre-wrap; font: 12px/1.6 var(--mono); }
.kv-row dt { background: #f6f7f2; color: var(--muted); }
.kv-row dd { margin: 0; }
.byte-controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 5px; flex-wrap: wrap; }
.byte-controls .quiet-btn:disabled { cursor: default; opacity: .45; }
.detail-note { font-size: 12px; color: var(--muted); margin: 7px 0 9px; }
.subheading { font-size: 13px; font-weight: 650; margin: 18px 0 7px; }
.toast { position: fixed; z-index: 10; bottom: 22px; left: 50%; transform: translateX(-50%); max-width: calc(100vw - 28px); background: #172d23; color: #f0f8ee; border: 1px solid #3f5b49; border-radius: 8px; padding: 10px 15px; box-shadow: 0 4px 18px #19352322; font-size: 13px; }
.clip-sink { position: fixed; left: -9999px; top: 0; }
@media (min-width: 1500px) { .console-grid { grid-template-columns: 390px minmax(0, 1fr); } }
@media (max-width: 830px) {
  .console-grid { grid-template-columns: minmax(240px, 35%) minmax(0, 1fr); }
  .detail-panel, .inspector-header { padding: 16px; }
  .list-title { padding: 14px 12px 10px; }
  .search-wrap { margin-inline: 12px; }
  .tab-strip { padding: 0 8px; }
}
@media (max-width: 680px) {
  .topbar-inner { gap: 13px; min-height: 54px; }
  .main-nav button { padding: 2px 9px 0; gap: 5px; }
  .topbar-end button { font-size: 0; }
  .brand { font-size: 18px; }
  .workspace { padding-top: 21px; }
  .workspace-head { align-items: flex-start; flex-direction: column; gap: 11px; margin-bottom: 16px; }
  .endpoint { max-width: 100%; }
  .endpoint-label { font-size: 10px; }
  .endpoint-value { gap: 8px; }
  .console-grid { grid-template-columns: minmax(0, 1fr); }
  .request-pane { border: 0; border-bottom: 1px solid var(--border); }
  .request-list { max-height: 236px; }
  .inspector { min-height: 250px; }
  .empty-inspector { min-height: 270px; padding: 20px 16px; }
  .login-wrap { min-height: calc(100vh - 55px); }
  .login-card { max-width: 440px; grid-template-columns: 1fr; }
  .login-visual { display: none; }
  .login-panel { padding: 28px 24px; }
}
@media (prefers-reduced-motion: no-preference) { button { transition: background-color .12s, border-color .12s; } }

.list-title { flex-wrap: wrap; }
.inbox-delete { color: #913c32; border-color: #dfc8c2; }
.inbox-delete:enabled:hover { color: #783025; border-color: #c49388; background: #fff1ed; }
.inbox-delete:disabled { cursor: default; }
.detail-meta .inbox-delete { margin-left: auto; font-family: var(--sans); }

.history-scope { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.history-scope code { overflow-wrap: anywhere; }
