:root {
  color-scheme: light;
  --ink: #1b3029;
  --ink-soft: #38534a;
  --muted: #73857d;
  --line: #dce4dd;
  --paper: #f6f8f3;
  --white: #fff;
  --pine: #183a31;
  --pine-deep: #102d27;
  --mint: #d3edc4;
  --mint-dark: #3c6847;
  --amber: #a56c32;
  --red: #a64f49;
  font-family: "Segoe UI", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); min-width: 320px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .5; cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
::selection { background: #c6e4b5; color: #153828; }
:focus-visible { outline: 2px solid #7ca970; outline-offset: 3px; }
.caps { display: block; color: #6c8d76; font-size: 10px; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; }
.dot { color: #8dbf78; }
.btn { border: 1px solid transparent; border-radius: 9px; padding: 12px 17px; display: inline-flex; justify-content: center; align-items: center; gap: 20px; font-size: 12px; font-weight: 700; transition: transform .18s, background .18s, box-shadow .18s; white-space: nowrap; }
.btn:hover:not(:disabled) { transform: translateY(-2px); }
.btn-primary { background: var(--pine); color: white; box-shadow: 0 9px 18px #183a3118; }
.btn-primary:hover { background: #235144; }
.btn-accent { background: var(--mint); color: var(--pine-deep); }
.btn-accent:hover { background: #e1f5d7; }
.btn-ghost { color: #e3efdf; border-color: #ffffff44; background: #ffffff0d; }
.btn-soft { background: #e8f1e4; color: var(--pine); border-color: #d2e2ce; }
.btn-outline { color: var(--ink-soft); border-color: var(--line); background: white; }
.full { width: 100%; }
.text-action { border: 0; background: none; color: #467254; font-size: 12px; font-weight: 700; padding: 8px 0; }
.text-action:hover { color: #1d5034; }
input, select, textarea { border: 1px solid #d5dfd5; background: #fff; border-radius: 8px; min-height: 42px; padding: 10px 12px; color: var(--ink); width: 100%; }
textarea { resize: vertical; line-height: 1.7; }
input::placeholder, textarea::placeholder { color: #a4b0a5; }
label { display: block; font-size: 11px; font-weight: 700; color: var(--ink-soft); margin: 20px 0 7px; }
code, pre { font-family: "Cascadia Code", "Consolas", monospace; }
.mark { width: 39px; height: 39px; border-radius: 12px; background: var(--mint); color: var(--pine-deep); display: inline-flex; align-items: center; justify-content: center; font: 800 24px Georgia, serif; letter-spacing: -4px; padding-right: 4px; flex: 0 0 auto; }
.mark span { color: #82ab6a; }
.wordmark, .login-wordmark { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 800; letter-spacing: -.03em; }
.wordmark small, .login-wordmark small { display: block; font-size: 9px; font-weight: 500; color: #94aca0; letter-spacing: .07em; margin-top: 2px; }

/* Login has its own editorial composition; it does not reuse the workspace shell. */
.login-screen { min-height: 100vh; background: var(--pine-deep); color: #f0f6ee; position: relative; overflow: hidden; padding: 30px max(34px, calc((100vw - 1260px) / 2)); display: flex; flex-direction: column; }
.login-screen::before { content: ""; position: absolute; width: 630px; height: 630px; border: 1px solid #b9e3b81c; border-radius: 50%; left: -190px; bottom: -260px; box-shadow: 0 0 0 90px #b9e3b809, 0 0 0 190px #b9e3b806; pointer-events: none; }
.login-wordmark { z-index: 1; width: fit-content; }
.login-wordmark .mark { background: #daf1cb; }
.login-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 80px; align-items: center; flex: 1; padding: 70px 0; z-index: 1; }
.login-intro { max-width: 650px; }
.login-intro .caps { color: #a8c9a2; }
.login-intro h1 { font-size: clamp(45px, 5vw, 76px); line-height: 1.2; letter-spacing: -.06em; margin: 28px 0; font-weight: 670; }
.login-intro h1 em, .hero h1 em { font-family: Georgia, "STSong", serif; font-weight: 400; font-style: normal; color: #d2edc1; }
.login-intro p { color: #bbccc0; font-size: 14px; line-height: 2; max-width: 460px; }
.login-providers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 55px; }
.login-providers span { border: 1px solid #ffffff27; border-radius: 100px; color: #aecaaf; padding: 7px 13px; font-size: 10px; }
.login-panel { background: #fff; color: var(--ink); padding: 33px 34px 30px; border-radius: 18px; box-shadow: 0 28px 70px #051c1840; }
.login-panel .panel-top { display: flex; align-items: center; justify-content: space-between; }
.mini-spark { font: 29px Georgia, serif; color: #88a879; }
.login-panel h2 { font-size: 28px; letter-spacing: -.04em; margin: 20px 0 7px; }
.login-panel p { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 0; }
.login-panel input { margin-bottom: 12px; }
.login-panel .btn { margin-top: 8px; }
.login-note { display: flex; gap: 10px; border-top: 1px solid var(--line); margin-top: 30px; padding-top: 20px; align-items: flex-start; }
.login-note span:first-child { font-size: 20px; color: #7daa76; }
.login-note span:last-child { font-size: 10px; color: #89998d; line-height: 1.7; }
.login-panel .form-error { color: var(--red); min-height: 14px; }
.login-footer { z-index: 1; display: flex; justify-content: space-between; color: #79988b; font-size: 9px; letter-spacing: .12em; }

.masthead { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; box-shadow: 0 4px 18px #1b302906; }
.masthead-inner { max-width: 1540px; margin: auto; min-height: 75px; padding: 0 40px; display: flex; align-items: center; gap: 36px; }
.wordmark { min-width: 190px; }
.main-nav { display: flex; align-self: stretch; gap: 1px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.main-nav button { position: relative; border: 0; background: none; white-space: nowrap; padding: 0 16px; color: #718179; font-size: 12px; font-weight: 600; }
.main-nav button:hover, .main-nav button.active { color: var(--pine); }
.main-nav button.active::after { content: ""; position: absolute; bottom: 0; left: 16px; right: 16px; height: 3px; border-radius: 3px 3px 0 0; background: #89b672; }
.masthead-actions { display: flex; gap: 14px; align-items: center; }
.kernel-state { display: flex; align-items: center; gap: 7px; color: #678072; background: #eff5eb; border-radius: 100px; padding: 8px 11px; font-size: 10px; white-space: nowrap; }
.kernel-state i { width: 6px; height: 6px; border-radius: 50%; background: #93bc77; }
.kernel-state.offline { color: var(--red); background: #faeeee; }
.kernel-state.offline i { background: var(--red); }
.icon-button { border: 1px solid var(--line); background: #fff; color: var(--pine); width: 34px; height: 34px; border-radius: 8px; font: 20px Georgia, serif; }
.page-wrap { max-width: 1540px; margin: auto; padding: 36px 40px 70px; min-height: calc(100vh - 140px); }
.view { animation: fade-in .24s ease; }
.workspace-footer { max-width: 1540px; padding: 0 40px 25px; margin: auto; display: flex; justify-content: space-between; color: #9aa99b; font-size: 9px; letter-spacing: .1em; }
.alert { padding: 13px 17px; border-radius: 9px; margin-bottom: 20px; font-size: 12px; }
.alert.error { color: #8e514d; border: 1px solid #ecc9c5; background: #fff1ef; }

.hero { min-height: 300px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(270px, .9fr); background: var(--pine); border-radius: 18px; overflow: hidden; color: #edf6eb; }
.hero > div:first-child { padding: 37px 45px 40px; position: relative; z-index: 1; }
.hero .caps { color: #a7c79f; }
.hero h1 { font-size: clamp(37px, 3.1vw, 53px); line-height: 1.15; letter-spacing: -.055em; margin: 20px 0 13px; font-weight: 630; }
.hero p { color: #b8d0bd; margin: 0; font-size: 12px; }
.hero-actions { display: flex; gap: 10px; margin-top: 30px; }
.hero-side { border-left: 1px solid #ffffff1d; padding: 39px 31px; position: relative; overflow: hidden; }
.hero-side > span { display: block; color: #9cbdab; font-size: 10px; letter-spacing: .1em; margin-bottom: 11px; }
.hero-side code { display: block; font-size: 12px; color: #e4f2de; overflow-wrap: anywhere; max-width: 320px; }
.copy-dark { margin-top: 15px; background: #ffffff18; border: 1px solid #ffffff30; border-radius: 7px; color: #e4f2de; font-size: 10px; padding: 8px 11px; }
.hero-graphic { position: absolute; bottom: -105px; right: -55px; width: 285px; height: 285px; border-radius: 50%; border: 1px solid #d5efcb3d; box-shadow: 0 0 0 38px #d5efcb0c, 0 0 0 75px #d5efcb08; }
.hero-graphic span, .hero-graphic b { position: absolute; width: 35px; height: 35px; display: grid; place-items: center; border-radius: 9px; font: 15px Georgia, serif; color: #d6ecc9; background: #35594a; border: 1px solid #c9edba42; }
.hero-graphic span:nth-child(1) { left: 45px; top: 18px; }.hero-graphic span:nth-child(2) { left: 165px; top: 5px; }.hero-graphic span:nth-child(3) { right: -10px; top: 100px; }.hero-graphic span:nth-child(4) { left: -17px; top: 130px; }.hero-graphic span:nth-child(5) { left: 125px; top: 74px; }
.hero-graphic b { left: 121px; top: 149px; background: var(--mint); color: var(--pine); font: 750 11px "Segoe UI", sans-serif; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 39px 0 15px; }
.section-head h2 { font-size: 19px; letter-spacing: -.02em; margin: 7px 0 0; }
.section-head p, .section-head > span { color: var(--muted); margin: 0; font-size: 11px; }
.section-head.compact { margin: 0 0 16px; align-items: center; }
.section-head.compact h2 { font-size: 16px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 13px; }
.metric { background: white; min-height: 138px; border: 1px solid var(--line); border-radius: 11px; padding: 21px 22px; }
.metric > span { color: var(--muted); font-size: 11px; }
.metric strong { display: block; font: 400 36px/1.35 Georgia, serif; color: var(--pine); letter-spacing: -.05em; margin: 12px 0 3px; }
.metric small { color: #9ba99d; font-size: 10px; }
.provider-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.provider-card { min-height: 176px; background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 20px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.provider-card::before { content: ""; width: 55px; height: 55px; background: var(--card-color, #eaf2e5); border-radius: 50%; position: absolute; right: -18px; top: -19px; }
.provider-card .provider-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; background: var(--card-color,#ecf3e8); color: var(--pine); font: 19px Georgia,serif; margin-bottom: 16px; }
.provider-card h3 { font-size: 13px; margin: 0 0 5px; }
.provider-card p { color: var(--muted); font-size: 10px; line-height: 1.6; margin: 0; flex: 1; }
.provider-card .provider-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; gap: 5px; }
.provider-card .provider-foot span { font-size: 9px; color: #6d8471; }
.provider-card .provider-foot span.offline { color: var(--red); }
.provider-card .provider-foot button { border: 0; background: none; color: #4a7956; padding: 0; font-size: 10px; font-weight: 700; white-space: nowrap; }
.overview-bottom { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(230px,.65fr); gap: 13px; margin-top: 24px; }
.surface { background: white; border: 1px solid var(--line); border-radius: 11px; padding: 22px; }
.recent-list { display: grid; }
.recent-item { display: grid; grid-template-columns: minmax(0,1fr) 88px 60px; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid #edf0eb; font-size: 10px; }
.recent-item strong { font-size: 11px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent-item small { display: block; color: #96a39a; margin-top: 4px; }
.recent-item > span:last-child { text-align: right; color: #39764e; }
.recent-item > span.bad { color: var(--red); }
.next-card { background: #e6f0df; border: 1px solid #d8e7d0; border-radius: 11px; padding: 25px; }
.next-card h2 { margin: 25px 0 12px; font-size: 22px; line-height: 1.35; letter-spacing: -.03em; }
.next-card p { color: #67806b; line-height: 1.9; font-size: 11px; }
.next-card button { display: flex; justify-content: space-between; width: 100%; padding: 13px 0 0; margin-top: 25px; border: 0; border-top: 1px solid #bfd3b8; background: none; color: #41694b; font-size: 11px; font-weight: 700; }

.page-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 15px 0 30px; }
.page-heading h1 { font-size: 38px; letter-spacing: -.05em; margin: 9px 0 5px; font-weight: 680; }
.page-heading p { color: var(--muted); font-size: 12px; margin: 0; }
.page-heading select { width: 125px; font-size: 11px; }
.account-summary { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line); background: white; border-radius: 11px; margin-bottom: 23px; }
.account-summary > div { padding: 18px 24px; border-right: 1px solid var(--line); display: flex; align-items: baseline; gap: 18px; }
.account-summary > div:last-child { border: 0; }
.account-summary span { color: var(--muted); font-size: 11px; }
.account-summary strong { font: 29px Georgia,serif; margin-left: auto; color: var(--pine); }
.toolbar { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 13px; }
.tabs { display: flex; gap: 5px; flex-wrap: wrap; }
.tabs button { border: 1px solid transparent; padding: 8px 13px; border-radius: 7px; background: transparent; color: var(--muted); font-size: 11px; }
.tabs button.active { background: #e5efe0; color: #396a45; border-color: #cee1c8; font-weight: 700; }
.toolbar input { width: 250px; font-size: 11px; }
.table-surface { padding: 0; overflow: hidden; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 11px; }
th { text-align: left; color: #849589; background: #fafbf8; font-weight: 600; font-size: 10px; padding: 14px 18px; white-space: nowrap; }
td { border-top: 1px solid #e9eee7; padding: 14px 18px; color: #52675b; }
td strong { display: block; color: var(--ink); font-size: 11px; margin-bottom: 4px; }
td small { color: #9ba99e; font-size: 10px; }
.account-name { display: flex; align-items: center; gap: 10px; min-width: 200px; }
.account-name i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: #e7efe2; color: #42754f; font: 17px Georgia,serif; flex: 0 0 auto; }
.pill { display: inline-flex; align-items: center; border-radius: 100px; padding: 5px 9px; background: #e9f2e7; color: #39704a; font-size: 10px; white-space: nowrap; }
.pill.warn { background: #fbf1df; color: var(--amber); }
.pill.bad { background: #fbebea; color: var(--red); }
.row-actions { display: flex; gap: 5px; }
.row-actions button { border: 1px solid #dce6dc; background: white; color: #4d6e55; border-radius: 6px; font-size: 10px; padding: 7px 9px; white-space: nowrap; }
.row-actions button:hover { background: #eef6e9; }
.empty { padding: 44px 20px; text-align: center; color: var(--muted); font-size: 12px; }
.footnote { font-size: 10px; color: #8e9e90; line-height: 1.8; }
.routing-card { display: flex; align-items: center; justify-content: space-between; gap: 22px; background: #e9f1e5; border: 1px solid #d7e6d1; border-radius: 11px; padding: 19px 22px; margin-top: 15px; }
.routing-card h2 { font-size: 15px; margin: 7px 0 5px; }
.routing-card p { color: #819584; font-size: 10px; margin: 0; }
.routing-card > div:last-child { display: flex; gap: 9px; align-items: center; }
.routing-card select { width: 205px; font-size: 11px; }
.info-strip { display: flex; align-items: center; gap: 13px; color: #617765; background: #eaf2e6; border: 1px solid #dce9d7; padding: 12px 18px; margin-bottom: 18px; border-radius: 9px; }
.info-strip span { font-size: 20px; }
.info-strip p { font-size: 11px; margin: 0; line-height: 1.7; }
.usage-metrics { margin-bottom: 15px; }
.usage-metrics .metric { min-height: 115px; }
.usage-layout { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(270px,.75fr); gap: 14px; }
.chart-card, .model-card { min-height: 270px; }
.usage-chart { display: flex; align-items: end; height: 190px; gap: 7px; border-bottom: 1px solid #dce6db; padding-top: 25px; }
.chart-column { flex: 1; min-width: 8px; height: 100%; display: flex; flex-direction: column; justify-content: end; align-items: center; gap: 7px; position: relative; }
.chart-column i { width: 100%; max-width: 26px; background: #9dc98a; border-radius: 3px 3px 0 0; min-height: 2px; }
.chart-column span { position: absolute; top: calc(100% + 7px); font: 9px Consolas,monospace; color: #91a195; white-space: nowrap; }
.model-list { display: grid; gap: 12px; }
.model-line { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px; font-size: 10px; }
.model-line span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.model-line b { color: #4f7757; font-weight: 600; }
.model-line i { grid-column: 1/-1; height: 5px; border-radius: 6px; background: #a6cf98; }
.recent-table { margin-top: 15px; }
.recent-table .section-head { padding: 20px 22px 0; }
.playground-layout { display: grid; grid-template-columns: minmax(290px,.85fr) minmax(0,1.15fr); gap: 15px; }
.test-form h2, .test-result h2 { font-size: 19px; margin: 10px 0 20px; }
.test-form .btn { margin-top: 15px; }
.test-result { display: flex; flex-direction: column; min-height: 430px; }
.test-result pre { flex: 1; padding: 18px; background: #f5f8f2; border: 1px solid #e6eee3; border-radius: 8px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; line-height: 1.8; color: #45614c; }
.guide-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.guide-step { min-height: 205px; }
.step-no { font: 24px Georgia,serif; color: #92b87f; }
.guide-step h2 { font-size: 18px; margin: 12px 0 8px; }
.guide-step p { font-size: 11px; line-height: 1.9; color: var(--muted); max-width: 450px; }
.guide-step .text-action { margin-top: 12px; }
.code-copy, .secret-box { display: flex; gap: 10px; align-items: center; justify-content: space-between; background: #f0f5ed; padding: 11px; border-radius: 7px; max-width: 100%; }
.code-copy code, .secret-box code { overflow-wrap: anywhere; font-size: 11px; }
.code-copy button, .secret-box button { border: 0; background: white; border-radius: 5px; color: #42684d; font-size: 10px; padding: 6px; white-space: nowrap; }
.endpoints { margin-top: 15px; display: grid; grid-template-columns: repeat(2,1fr); gap: 0 28px; }
.endpoints > div { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid #edf1ea; min-width: 0; }
.endpoints code { color: #578265; width: 43px; font-size: 10px; }
.endpoints span { font: 11px Consolas,monospace; overflow-wrap: anywhere; }
.endpoints small { margin-left: auto; white-space: nowrap; color: #9ba99d; font-size: 10px; }

.dialog { border: 1px solid #d6e1d5; border-radius: 15px; padding: 29px; width: min(520px,calc(100vw - 28px)); color: var(--ink); box-shadow: 0 25px 70px #102e2640; max-height: calc(100vh - 35px); overflow: auto; }
.dialog::backdrop { background: #0b241bb0; backdrop-filter: blur(4px); }
.dialog-close-form { position: absolute; top: 15px; right: 15px; }
.dialog-close-form button { border: 0; background: #eef3ec; color: #667c6b; border-radius: 7px; width: 29px; height: 29px; font-size: 19px; }
.dialog h2 { font-size: 24px; letter-spacing: -.04em; margin: 10px 0; }
.dialog > p, .dialog form + p { font-size: 11px; color: var(--muted); line-height: 1.8; }
.dialog .btn { margin-top: 15px; }
.dialog-hint { color: #779078; font-size: 10px; line-height: 1.7; margin-top: 10px; }
.oauth-progress { margin-top: 19px; background: #f3f8f0; border: 1px solid #deebda; border-radius: 9px; padding: 16px; }
.progress-top { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #8ab672; box-shadow: 0 0 0 5px #8ab67229; }
.oauth-progress p { color: #819384; font-size: 10px; line-height: 1.8; }
.oauth-progress .btn { width: 100%; }
.dialog-message { min-height: 16px; color: #577653 !important; }
.dialog-message.error { color: var(--red) !important; }
.secret-box { margin-top: 12px; }
.quota-result { max-height: 210px; overflow: auto; font-size: 10px; background: #f5f8f2; border: 1px solid var(--line); border-radius: 8px; padding: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.import-area { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 19px; }
.import-area p { font-size: 10px; color: var(--muted); line-height: 1.7; }
.import-area input { font-size: 10px; padding: 9px; }
.toast { position: fixed; z-index: 30; left: 50%; bottom: 26px; transform: translateX(-50%); background: var(--pine); color: white; border-radius: 8px; padding: 12px 17px; font-size: 11px; box-shadow: 0 10px 25px #1130273d; text-align: center; }
@keyframes fade-in { from { opacity: .3; transform: translateY(5px); } to { opacity: 1; transform: none; } }

@media (max-width: 1120px) {
  .masthead-inner { padding: 0 22px; gap: 15px; }
  .wordmark { min-width: 150px; }
  .main-nav button { padding: 0 10px; }
  .provider-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .page-wrap { padding: 30px 22px 60px; }
}
@media (max-width: 760px) {
  .login-screen { padding: 22px; }
  .login-layout { grid-template-columns: 1fr; gap: 30px; padding: 60px 0 35px; }
  .login-intro h1 { font-size: 43px; margin: 16px 0; }
  .login-intro p { font-size: 12px; }
  .login-providers { margin-top: 20px; }
  .login-panel { padding: 25px; }
  .masthead-inner { display: grid; grid-template-columns: 1fr auto; gap: 0; padding: 11px 17px 0; }
  .main-nav { grid-row: 2; grid-column: 1/-1; min-height: 48px; margin-top: 9px; }
  .main-nav button { padding: 0 12px; }
  .masthead-actions { justify-self: end; }
  .kernel-state { font-size: 0; padding: 7px; }
  .kernel-state i { width: 8px; height: 8px; }
  .page-wrap { padding: 18px 14px 45px; }
  .hero { grid-template-columns: 1fr; }
  .hero > div:first-child { padding: 28px 25px; }
  .hero-side { border-left: 0; border-top: 1px solid #ffffff24; padding: 22px 25px 30px; }
  .hero-graphic { opacity: .35; }
  .hero h1 { font-size: 39px; }
  .hero-actions { flex-wrap: wrap; }
  .metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .metric { min-height: 110px; padding: 15px; }
  .metric strong { font-size: 30px; margin: 9px 0; }
  .provider-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .provider-card { min-height: 165px; padding: 16px; }
  .overview-bottom, .usage-layout, .playground-layout, .guide-grid { grid-template-columns: 1fr; }
  .page-heading { margin: 15px 0 22px; align-items: start; }
  .page-heading h1 { font-size: 31px; }
  .page-heading > .btn { margin-top: 16px; font-size: 10px; padding: 10px; }
  .account-summary > div { padding: 14px 9px; display: block; }
  .account-summary span { display: block; font-size: 9px; }
  .account-summary strong { display: block; font-size: 23px; margin-top: 7px; }
  .toolbar { display: block; }
  .toolbar input { width: 100%; margin-top: 12px; }
  .routing-card { display: block; }
  .routing-card > div:last-child { margin-top: 15px; }
  .routing-card select { flex: 1; min-width: 0; }
  .endpoints { grid-template-columns: 1fr; }
  .workspace-footer { padding: 0 14px 20px; }
  .workspace-footer span:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
