:root {
  color-scheme: light;
  --page: #f6f7f9;
  --surface: #fff;
  --surface-soft: #fafbfc;
  --ink: #181a1e;
  --ink-2: #343840;
  --muted: #7f838b;
  --faint: #a6a9b0;
  --border: #e9ebef;
  --border-strong: #dfe2e8;
  --blue: #3563ec;
  --blue-soft: #edf1ff;
  --blue-dark: #244fd0;
  --mint: #31a878;
  --mint-soft: #eaf7f0;
  --red: #c44949;
  --red-soft: #fff0f0;
  --shadow: 0 10px 34px rgba(20, 25, 40, .045);
  --radius: 14px;
  font-family: "DM Sans", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--page);
  color: var(--ink);
}
* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; min-width: 320px; background: var(--page); font-size: 16px; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(53, 99, 236, .3); outline-offset: 2px; }
.app-shell { min-height: 100vh; }
.sidebar { position: fixed; z-index: 30; inset: 0 auto 0 0; width: 250px; display: flex; flex-direction: column; padding: 27px 17px 18px; background: #fff; border-right: 1px solid var(--border); transition: transform .25s ease; }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 11px; min-height: 42px; }
.brand-mark { width: 29px; height: 29px; position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; transform: rotate(-8deg); }
.brand-mark i { display: block; border: 1.6px solid #385ee4; border-radius: 2px; }
.brand-mark i:nth-child(2), .brand-mark i:nth-child(3) { background: #e9edff; }
.brand-copy { display: grid; gap: 3px; }
.brand-copy strong { font-size: 16px; letter-spacing: -.65px; line-height: 1; }
.brand-copy strong span { color: #7480a5; font-weight: 500; }
.brand-copy small { color: var(--muted); font-size: 12px; letter-spacing: .04em; }
.nav-label { margin: 40px 11px 11px; color: #969aa2; font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.nav-label-spaced { margin-top: 34px; }
.primary-nav { display: grid; gap: 4px; }
.nav-link { height: 43px; display: flex; align-items: center; gap: 12px; padding: 0 12px; color: #666a73; border-radius: 8px; font-size: 14px; font-weight: 500; transition: background .15s ease, color .15s ease; }
.nav-link:hover { background: #f6f7f9; color: var(--ink); }
.nav-link.is-active { color: #294dd2; background: #edf1ff; font-weight: 600; }
.nav-icon { width: 17px; text-align: center; color: #9297a1; font-size: 18px; line-height: 1; }
.nav-link.is-active .nav-icon { color: var(--blue); }
.nav-count { margin-left: auto; min-width: 20px; padding: 2px 6px; text-align: center; color: #6678be; background: #e1e7ff; border-radius: 20px; font-size: 11px; font-weight: 600; }
.sidebar-bottom { margin-top: auto; }
.privacy-card { display: flex; gap: 11px; padding: 14px 12px; border: 1px solid var(--border); border-radius: 10px; background: #fbfcfe; }
.privacy-icon { flex: 0 0 auto; color: var(--blue); font-size: 18px; }
.privacy-card strong { font-size: 12px; font-weight: 600; }
.privacy-card p { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.sidebar-foot { display: flex; align-items: center; gap: 7px; padding: 18px 6px 0; color: var(--muted); font-size: 12px; }
.live-indicator { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px #e4f5ed; }
.main-column { min-height: 100vh; margin-left: 250px; display: flex; flex-direction: column; }
.topbar { height: 68px; position: sticky; z-index: 20; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 46px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.breadcrumb { display: flex; align-items: center; gap: 11px; color: #969aa2; font-size: 13px; }
.breadcrumb strong { color: #4b4e55; font-weight: 600; }
.crumb-separator { color: #c6c8ce; }
.topbar-actions { display: flex; align-items: center; gap: 15px; }
.utc-clock, .user-name { color: #82868f; font-size: 12px; }
.topbar-divider { height: 17px; width: 1px; background: var(--border-strong); }
.user-name { max-width: 130px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #535760; font-weight: 500; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 41px; padding: 0 17px; border: 1px solid transparent; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:disabled { opacity: .6; cursor: wait; }
.button-dark { background: #202329; border-color: #202329; color: white; box-shadow: 0 3px 8px rgba(25,30,40,.1); }
.button-dark:hover:not(:disabled) { background: #333841; border-color: #333841; }
.button-small { min-height: 34px; padding: 0 13px; font-size: 12px; }
.button-light { color: #41454d; background: #fff; border-color: var(--border-strong); }
.button-light:hover { background: #f7f8fa; }
.button-soft { color: #3653c0; background: #eef1fc; border-color: #e5e9f9; }
.button-soft:hover { background: #e7ecff; }
.button-danger { color: #a43939; background: #fff; border-color: #eacccc; }
.button-danger:hover { background: var(--red-soft); }
.button-wide { width: 100%; min-height: 45px; }
.button-icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 7px; color: #626771; background: #fff; cursor: pointer; }
.mobile-menu { display: none; }
main { width: min(100%, 1240px); flex: 1; align-self: center; padding: 40px 46px 46px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 46px 23px; color: #999ca4; border-top: 1px solid var(--border); font-size: 12px; }
.site-footer a { color: #747a88; }
.loading-shell { min-height: 55vh; display: flex; justify-content: center; align-items: center; gap: 12px; color: #858a94; font-size: 14px; }
.spinner { width: 19px; height: 19px; border-radius: 50%; border: 2px solid #e1e5ef; border-top-color: #536fdd; animation: spin .75s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.page-heading-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 29px; }
.eyebrow { margin: 0 0 9px; color: #8d919a; font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0; color: #1c1e23; font-size: clamp(28px, 3vw, 36px); line-height: 1.27; font-weight: 600; letter-spacing: -1.05px; }
.page-lede { margin: 9px 0 0; color: #787c85; font-size: 14px; line-height: 1.75; }
.heading-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.select-control { height: 39px; padding: 0 34px 0 12px; border: 1px solid var(--border-strong); border-radius: 8px; color: #464a52; background-color: white; appearance: none; font-size: 13px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' viewBox='0 0 12 8'%3E%3Cpath stroke='%237D838E' stroke-linecap='round' stroke-width='1.5' d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 15px; }
.stat-card, .panel, .feature-card, .tool-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.stat-card { min-height: 139px; padding: 19px 20px; }
.stat-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.stat-label { color: #777b84; font-size: 13px; }
.stat-ornament { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: #5573e0; background: #f0f3ff; font-size: 15px; }
.stat-number { display: block; margin-top: 18px; color: #22252b; font-family: "DM Mono", "SFMono-Regular", Consolas, monospace; font-size: 25px; font-weight: 500; letter-spacing: -1.25px; font-variant-numeric: tabular-nums; }
.stat-note { margin-top: 7px; color: #999ca4; font-size: 12px; }
.stat-note .note-positive { color: #358c67; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, .95fr); gap: 16px; margin-top: 16px; }
.panel { min-width: 0; overflow: hidden; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding: 19px 21px 13px; }
.panel-title { margin: 0; color: #272a30; font-size: 15px; font-weight: 600; }
.panel-subtitle { margin: 6px 0 0; color: #9498a1; font-size: 12px; line-height: 1.65; }
.panel-body { padding: 7px 20px 21px; }
.legend { display: flex; gap: 16px; color: #828690; font-size: 12px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 7px; height: 7px; border-radius: 50%; background: #5070ea; }
.legend span:last-child i { background: #8ac9ab; }
.chart-box { min-height: 190px; padding: 1px 3px 0; }
.chart-box svg { width: 100%; height: 183px; overflow: visible; }
.chart-empty { min-height: 190px; display: grid; place-content: center; justify-items: center; gap: 8px; color: #a0a4ac; text-align: center; font-size: 13px; }
.chart-empty strong { color: #5d6472; font-weight: 500; font-size: 13px; }
.chart-empty a { color: #4967d2; }
.axis-label { fill: #9ba0a8; font-family: inherit; font-size: 10px; }
.model-list { display: grid; }
.model-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-top: 1px solid #f0f1f4; }
.model-row:first-child { border-top: 0; }
.model-info { display: flex; align-items: center; gap: 9px; min-width: 0; }
.model-mark { width: 27px; height: 27px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 8px; color: #536ace; background: #eef2ff; font-size: 11px; font-weight: 700; }
.model-name { overflow: hidden; color: #444851; font-size: 13px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.model-source { display: block; margin-top: 3px; color: #a0a3aa; font-size: 11px; }
.model-value { flex: 0 0 auto; color: #454850; font-family: "DM Mono", monospace; font-size: 12px; font-variant-numeric: tabular-nums; }
.token-note { display: flex; align-items: flex-start; gap: 9px; padding: 13px 14px; border: 1px solid #e8ecf8; border-radius: 9px; color: #74809b; background: #f9faff; font-size: 12px; line-height: 1.65; }
.token-note > span { color: #6074ca; font-weight: 700; }
.section-block { margin-top: 17px; }
.section-block > .panel { margin-top: 15px; }
.panel-empty { padding: 30px 22px 32px; color: #868b95; text-align: center; font-size: 13px; line-height: 1.8; }
.panel-empty strong { display: block; margin-bottom: 4px; color: #4b505a; font-size: 14px; font-weight: 600; }
.panel-empty a { color: var(--blue); font-weight: 500; }
.hero-card { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; min-height: 310px; margin-bottom: 25px; padding: 43px 44px; border: 1px solid #e4e7ee; border-radius: 18px; background: linear-gradient(116deg, #fff 9%, #fafbff 56%, #f1f4ff 100%); box-shadow: 0 14px 45px rgba(48, 64, 122, .055); }
.hero-card:after { content: ""; position: absolute; z-index: -1; width: 410px; height: 410px; right: 1%; top: -47%; border: 1px solid rgba(91,115,210,.13); border-radius: 50%; box-shadow: 0 0 0 35px rgba(255,255,255,.38), 0 0 0 71px rgba(255,255,255,.26), 0 0 0 108px rgba(255,255,255,.18); }
.hero-copy { position: relative; z-index: 1; max-width: 590px; }
.hero-copy h1 { max-width: 570px; font-size: clamp(32px, 4.2vw, 49px); line-height: 1.18; letter-spacing: -1.8px; }
.hero-copy h1 span { display: inline-block; color: #4665d4; }
.hero-copy > p:not(.eyebrow) { max-width: 485px; margin: 17px 0 22px; color: #777d89; font-size: 15px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 18px; color: #8a8f99; font-size: 12px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 5px; }
.hero-trust b { color: #678171; font-weight: 500; }
.hero-art { position: relative; justify-self: center; width: min(100%, 330px); height: 220px; display: grid; place-items: center; }
.art-orbit { position: absolute; width: 207px; height: 207px; border: 1px solid rgba(83,111,204,.2); border-radius: 50%; box-shadow: 0 0 0 22px rgba(255,255,255,.44), 0 0 0 23px rgba(83,111,204,.1), 0 0 0 53px rgba(255,255,255,.34), 0 0 0 54px rgba(83,111,204,.075); }
.art-core { position: relative; width: 135px; height: 135px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 28px; border: 1px solid rgba(255,255,255,.85); border-radius: 29px; background: linear-gradient(150deg, rgba(255,255,255,.96), rgba(233,238,255,.88)); box-shadow: 0 17px 43px rgba(61,82,166,.16), inset 0 0 0 1px rgba(100,121,197,.07); transform: rotate(-7deg); }
.art-bar { width: 18px; border-radius: 7px; background: linear-gradient(180deg, #7e96ee, #3f61da); box-shadow: 0 3px 8px rgba(61,89,205,.2); }
.art-bar:nth-child(1) { height: 42px; opacity: .55; }
.art-bar:nth-child(2) { height: 61px; opacity: .77; }
.art-bar:nth-child(3) { height: 80px; }
.art-bar:nth-child(4) { height: 53px; opacity: .68; }
.art-pip { position: absolute; width: 9px; height: 9px; border-radius: 3px; border: 1px solid #fff; background: #7190eb; box-shadow: 0 2px 6px rgba(51,76,171,.2); }
.art-pip.one { top: 23px; left: 51px; }
.art-pip.two { bottom: 28px; right: 28px; width: 6px; height: 6px; background: #8ac6a5; }
.feature-row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.feature-card { min-height: 150px; padding: 19px 19px 17px; }
.feature-icon { width: 32px; height: 32px; display: grid; place-items: center; margin-bottom: 13px; border-radius: 9px; color: #5270de; background: #f0f3ff; font-size: 15px; }
.feature-card h2 { margin: 0; color: #30333a; font-size: 14px; font-weight: 600; }
.feature-card p { margin: 7px 0 0; color: #898d96; font-size: 12px; line-height: 1.7; }
.section-title-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 34px 0 13px; }
.section-title-row h2 { margin: 0; font-size: 16px; font-weight: 600; }
.section-title-row p { margin: 0; color: #969aa3; font-size: 12px; }
.benefit-strip { margin-top: 24px; padding: 20px 22px; border: 1px solid var(--border); border-radius: 12px; background: #fff; color: #7c818b; font-size: 13px; line-height: 1.8; }
.benefit-strip strong { color: #41464f; font-weight: 600; }
.table-wrap { overflow: auto; }
.data-table { width: 100%; border-collapse: collapse; min-width: 610px; }
.data-table th { padding: 13px 19px; text-align: left; color: #989ca4; background: #fafbfc; font-size: 12px; font-weight: 500; border-bottom: 1px solid var(--border); }
.data-table td { padding: 14px 19px; border-bottom: 1px solid #f0f1f4; color: #565b64; font-size: 13px; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table th:last-child, .data-table td:last-child { text-align: right; }
.data-table td:nth-child(n+3), .data-table th:nth-child(n+3) { text-align: right; font-variant-numeric: tabular-nums; }
.rank-badge { display: inline-grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; color: #737883; background: #f2f3f5; font-size: 12px; font-weight: 600; }
.rank-badge.top { color: #5b4b22; background: #f6edce; }
.leader-name { color: #3d424b; font-weight: 500; }
.leader-you { display: inline-flex; margin-left: 7px; padding: 2px 6px; color: #536cc7; border-radius: 4px; background: #edf1ff; font-size: 10px; }
.metric-switch { display: inline-flex; gap: 3px; padding: 4px; border: 1px solid var(--border); border-radius: 9px; background: white; }
.metric-tab { min-height: 31px; padding: 0 11px; border: 0; border-radius: 6px; color: #777d87; background: transparent; font-size: 12px; cursor: pointer; }
.metric-tab[aria-pressed="true"] { color: #3556cd; background: #edf1ff; font-weight: 600; }
.callout { display: flex; align-items: flex-start; gap: 12px; padding: 15px 17px; border: 1px solid #e8ecf8; border-radius: 10px; background: #fafbff; }
.callout-icon { flex: 0 0 auto; color: #5a70c2; font-size: 15px; }
.callout p { margin: 0; color: #7e8390; font-size: 12px; line-height: 1.75; }
.callout p strong { color: #4f5e8b; font-weight: 600; }
.tool-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.tool-card { min-width: 0; padding: 20px; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.tool-card:hover { transform: translateY(-2px); border-color: #d5dced; box-shadow: 0 14px 35px rgba(30,45,80,.075); }
.tool-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.tool-icon { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #e6eaff; border-radius: 10px; color: #506bd1; background: #f3f5ff; font-family: "DM Mono", monospace; font-size: 12px; font-weight: 500; }
.tool-mark { display: flex; align-items: center; gap: 9px; }
.tool-name { margin: 0; color: #33373f; font-family: "DM Mono", monospace; font-size: 14px; font-weight: 500; }
.tool-caption { margin: 3px 0 0; color: #9a9ea7; font-size: 11px; }
.tool-count { flex: 0 0 auto; padding: 5px 8px; border-radius: 20px; color: #688173; background: #edf6f0; font-family: "DM Mono", monospace; font-size: 11px; }
.tool-card-description { min-height: 43px; margin: 15px 0 13px; color: #787d86; font-size: 13px; line-height: 1.72; }
.tool-example { overflow: hidden; max-height: 63px; padding: 10px 12px; border: 1px solid #eef0f4; border-radius: 7px; color: #657088; background: #fafbfd; font-family: "DM Mono", monospace; font-size: 11px; line-height: 1.8; text-overflow: ellipsis; white-space: pre-wrap; overflow-wrap: anywhere; }
.tool-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 11px; margin-top: 14px; }
.tool-category { color: #a1a4ac; font-size: 11px; }
.tool-run { min-height: 33px; padding: 0 11px; font-size: 12px; }
.code-block { width: 100%; min-width: 0; max-width: 100%; overflow-x: auto; padding: 14px 15px; border: 1px solid #e9ebf1; border-radius: 9px; color: #525b6d; background: #f8f9fb; font-family: "DM Mono", "SFMono-Regular", Consolas, monospace; font-size: 12px; line-height: 1.8; white-space: pre; }
.copy-row { display: flex; justify-content: flex-end; margin-top: 9px; }
.text-button { border: 0; padding: 5px 0; color: #526bd0; background: transparent; font-size: 12px; font-weight: 500; cursor: pointer; }
.text-button:hover { color: #244cc9; text-decoration: underline; }
.tabs { display: flex; gap: 4px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.tab { position: relative; padding: 8px 11px; border: 0; color: #858a94; background: transparent; font-size: 13px; cursor: pointer; }
.tab[aria-selected="true"] { color: #3456ce; font-weight: 600; }
.tab[aria-selected="true"]:after { position: absolute; right: 11px; bottom: -15px; left: 11px; height: 2px; background: #4667df; content: ""; }
.instructions { padding: 21px 0 0; }
.instructions h2 { margin: 0 0 7px; color: #333740; font-size: 16px; font-weight: 600; }
.instructions > p { margin: 0 0 16px; color: #868b95; font-size: 13px; line-height: 1.75; }
.step-list { display: grid; gap: 15px; margin: 17px 0; padding: 0; list-style: none; }
.step-list li { display: grid; grid-template-columns: 25px minmax(0,1fr); gap: 11px; color: #696e78; font-size: 13px; line-height: 1.7; }
.step-index { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; color: #536bd0; background: #eff2fe; font-size: 11px; font-weight: 600; }
.step-list strong { color: #40454f; font-weight: 600; }
.steps-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 15px; }
.subsection { margin-top: 23px; padding-top: 22px; border-top: 1px solid var(--border); }
.subsection h3 { margin: 0 0 8px; color: #41464f; font-size: 14px; font-weight: 600; }
.subsection p { margin: 6px 0; color: #828791; font-size: 13px; line-height: 1.75; }
.key-scope-list { display: grid; gap: 10px; margin-top: 15px; }
.key-scope { display: grid; grid-template-columns: 25px minmax(0,1fr); align-items: flex-start; gap: 11px; padding: 13px 14px; border: 1px solid var(--border); border-radius: 9px; background: #fff; }
.scope-icon { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; color: #5470d0; background: #f0f3ff; font-size: 12px; }
.key-scope strong { color: #4c515a; font-size: 13px; font-weight: 600; }
.key-scope p { margin: 4px 0 0; color: #8b9099; font-size: 12px; line-height: 1.65; }
.settings-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(250px,.7fr); gap: 15px; align-items: start; }
.settings-grid > *, .settings-stack > * { min-width: 0; max-width: 100%; }
.settings-stack { display: grid; gap: 14px; min-width: 0; }
.code-example { min-width: 0; max-width: 100%; }
.settings-section { padding: 19px 20px; }
.settings-section .panel-title { margin-bottom: 7px; }
.settings-section .panel-subtitle { margin-bottom: 16px; }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 0; border-top: 1px solid #f0f1f4; }
.setting-row:first-of-type { border-top: 0; }
.setting-label { color: #454a53; font-size: 13px; font-weight: 500; }
.setting-description { margin: 4px 0 0; color: #90949d; font-size: 12px; line-height: 1.6; }
.profile-form { display: flex; align-items: flex-end; gap: 11px; }
.profile-form .field-wrap { flex: 1; min-width: 0; }
.field-label { display: block; margin: 0 0 8px; color: #555b65; font-size: 13px; font-weight: 500; }
.field-hint { margin: 7px 0 0; color: #999da5; font-size: 12px; line-height: 1.65; }
.text-input, .select-input { width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid #e0e3e9; border-radius: 8px; color: #353942; background: #fff; font-size: 14px; transition: border-color .15s ease, box-shadow .15s ease; }
.text-input::placeholder { color: #b1b4bb; }
.text-input:focus, .select-input:focus { outline: none; border-color: #a6b5eb; box-shadow: 0 0 0 3px rgba(83,108,202,.09); }
.key-input { min-height: 99px; resize: vertical; font-family: "DM Mono", monospace; font-size: 12px; }
.switch-label { display: inline-flex; align-items: center; gap: 9px; color: #5f646e; font-size: 12px; cursor: pointer; }
.switch-label input { width: 38px; height: 22px; margin: 0; border-radius: 20px; appearance: none; background: #dadde3; position: relative; cursor: pointer; transition: background .18s ease; }
.switch-label input:before { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.13); transition: transform .18s ease; content: ""; }
.switch-label input:checked { background: #5070e6; }
.switch-label input:checked:before { transform: translateX(16px); }
.danger-zone { border-color: #f0dddd; }
.danger-zone .panel-title { color: #984545; }
.mcp-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; padding: 20px 22px; border: 1px solid #e3e7f3; border-radius: 12px; background: linear-gradient(110deg,#fff,#f7f8fd); }
.mcp-hero-copy h2 { margin: 0; color: #30343d; font-size: 16px; font-weight: 600; }
.mcp-hero-copy p { max-width: 700px; margin: 7px 0 0; color: #818691; font-size: 13px; line-height: 1.7; }
.mcp-symbol { width: 45px; height: 45px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #e4e8f7; border-radius: 13px; color: #556ecb; background: #f1f3fc; font-size: 21px; }
.connect-top { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; margin-bottom: 15px; }
.connect-card { padding: 19px 20px; }
.connect-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.platform-dot { width: 10px; height: 10px; border-radius: 50%; background: #d78e5b; box-shadow: 0 0 0 4px #fbf1e9; }
.platform-dot.codex { background: #3e8d73; box-shadow: 0 0 0 4px #eaf6f1; }
.connect-card h2 { margin: 0; color: #3f444c; font-size: 14px; font-weight: 600; }
.connect-card p { margin: 0; color: #878c95; font-size: 12px; line-height: 1.75; }
.connect-card .code-block { margin-top: 12px; font-size: 11px; }
.file-link { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; color: #516acf; background: transparent; font-size: 12px; font-weight: 500; cursor: pointer; }
.file-link:hover { text-decoration: underline; }
.recovery-reminder { display: flex; gap: 11px; padding: 13px 14px; margin: 16px 0; border: 1px solid #f1dfc7; border-radius: 8px; color: #92713a; background: #fffaf2; }
.recovery-reminder > span { flex: 0 0 auto; width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #d39e4d; font-size: 11px; font-weight: 700; }
.recovery-reminder p { margin: 0; color: #8c764e; font-size: 12px; line-height: 1.7; }
.key-list { display: grid; gap: 10px; }
.key-item { padding: 12px 13px; border: 1px solid var(--border); border-radius: 8px; background: #fafbfc; }
.key-item-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.key-item-name { color: #4a4f58; font-size: 12px; font-weight: 600; }
.key-item-note { color: #969aa2; font-size: 11px; }
.key-value-row { display: flex; align-items: flex-start; gap: 7px; }
.key-value { min-width: 0; flex: 1; overflow-wrap: anywhere; color: #505b71; font-family: "DM Mono", monospace; font-size: 11px; line-height: 1.7; }
.key-value.hidden-value { color: #9da1a9; letter-spacing: .04em; }
.keys-card { max-width: 590px; }
.keys-card h2 { max-width: 430px; }
.key-dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.modal { width: min(calc(100vw - 26px), 480px); max-height: min(90vh, 820px); overflow: auto; padding: 0; border: 1px solid #e5e7ec; border-radius: 16px; color: var(--ink); background: #fff; box-shadow: 0 30px 90px rgba(20,25,40,.2); }
.modal::backdrop { background: rgba(21,25,32,.43); backdrop-filter: blur(3px); }
.modal-card { position: relative; padding: 31px 30px 24px; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 31px; height: 31px; border: 1px solid #eff0f3; border-radius: 8px; color: #707580; background: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.modal-close:hover { color: #30343d; background: #f6f7f9; }
.modal-eyebrow { margin: 0 0 8px; color: #6477bb; font-size: 11px; font-weight: 600; letter-spacing: .07em; }
.modal-card h2 { margin: 0; padding-right: 24px; color: #24272d; font-size: 23px; line-height: 1.4; font-weight: 600; letter-spacing: -.5px; }
.modal-description { margin: 9px 0 20px; color: #858a93; font-size: 13px; line-height: 1.75; }
.auth-fields { margin: 20px 0 17px; }
.legal-copy { margin: 16px 0 0; color: #a0a3aa; font-size: 11px; line-height: 1.7; text-align: center; }
.modal-switch { width: 100%; margin-top: 13px; }
.form-error { min-height: 0; margin: 0; color: #b24747; font-size: 12px; line-height: 1.6; }
.form-error:not(:empty) { margin: 0 0 12px; padding: 9px 11px; border-radius: 7px; background: #fff4f4; }
.hidden { display: none !important; }
.tool-form { padding-top: 30px; }
.tool-inputs { display: grid; gap: 13px; margin: 16px 0; }
.tool-inputs textarea { min-height: 110px; }
.tool-inputs .number-field { max-width: 160px; }
.tool-result { margin-top: 15px; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.result-heading { display: flex; align-items: center; justify-content: space-between; padding: 7px 11px; border-bottom: 1px solid var(--border); color: #707680; background: #fafbfc; font-size: 11px; }
.result-output { max-height: 300px; overflow: auto; margin: 0; padding: 12px; color: #455068; background: #fbfcfe; font-family: "DM Mono", monospace; font-size: 12px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.toast-region { position: fixed; z-index: 100; right: 22px; bottom: 21px; display: grid; gap: 8px; max-width: min(390px, calc(100vw - 30px)); }
.toast { padding: 12px 15px; border: 1px solid #e3e5eb; border-radius: 9px; color: #414650; background: #fff; box-shadow: 0 8px 32px rgba(22,30,50,.15); font-size: 13px; line-height: 1.6; animation: toast-in .2s ease both; }
.toast.error { color: #924343; border-color: #f0d7d7; background: #fffafa; }
@keyframes toast-in { from { transform: translateY(7px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.muted { color: #969aa3; }
@media (max-width: 1150px) {
  .sidebar { width: 225px; }
  .main-column { margin-left: 225px; }
  .topbar { padding-right: 30px; padding-left: 30px; }
  main { padding-right: 30px; padding-left: 30px; }
  .site-footer { padding-right: 30px; padding-left: 30px; }
  .stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero-card { padding-right: 31px; padding-left: 34px; }
}
@media (max-width: 850px) {
  .sidebar { width: 250px; box-shadow: 15px 0 35px rgba(20,25,40,.08); transform: translateX(-105%); }
  .sidebar.is-open { transform: translateX(0); }
  .main-column { margin-left: 0; }
  .topbar { height: 62px; justify-content: flex-start; padding: 0 21px; }
  .mobile-menu { width: 33px; height: 33px; display: grid; align-content: center; justify-content: center; gap: 5px; padding: 0; border: 1px solid var(--border); border-radius: 7px; background: #fff; cursor: pointer; }
  .mobile-menu span { display: block; width: 14px; height: 1.5px; background: #5c626d; }
  .topbar-actions { margin-left: auto; gap: 11px; }
  .utc-clock, .topbar-divider { display: none; }
  main { padding: 31px 22px 35px; }
  .site-footer { padding-right: 22px; padding-left: 22px; }
  .hero-card { grid-template-columns: 1.15fr .7fr; min-height: 290px; padding: 31px 28px; }
  .hero-art { transform: scale(.85); }
  .dashboard-grid { grid-template-columns: minmax(0,1.3fr) minmax(240px,.8fr); }
  .settings-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 640px) {
  .topbar { padding: 0 15px; }
  .breadcrumb { gap: 7px; font-size: 12px; }
  .user-name { display: none; }
  .topbar-actions { gap: 8px; }
  .button-small { min-height: 32px; padding: 0 10px; font-size: 11px; }
  main { padding: 25px 15px 28px; }
  .page-heading-row { flex-direction: column; gap: 15px; margin-bottom: 21px; }
  .heading-actions { align-self: stretch; }
  .heading-actions .select-control { flex: 1; }
  .page-lede { font-size: 13px; }
  .stat-grid { gap: 10px; }
  .stat-card { min-height: 120px; padding: 14px; }
  .stat-number { margin-top: 14px; font-size: 20px; }
  .stat-label { font-size: 12px; }
  .stat-note { font-size: 11px; }
  .dashboard-grid { grid-template-columns: 1fr; gap: 11px; margin-top: 11px; }
  .panel-head { padding: 16px 15px 11px; }
  .panel-body { padding: 5px 14px 16px; }
  .model-row { padding-right: 15px; padding-left: 15px; }
  .chart-box { min-height: 170px; }
  .chart-box svg { height: 165px; }
  .chart-empty { min-height: 170px; }
  .hero-card { grid-template-columns: 1fr; min-height: auto; padding: 27px 23px 16px; }
  .hero-copy h1 { max-width: 480px; font-size: 34px; }
  .hero-copy > p:not(.eyebrow) { margin: 13px 0 17px; font-size: 14px; }
  .hero-art { width: 100%; height: 145px; margin-top: 8px; transform: scale(.74); }
  .feature-row, .tool-grid, .connect-top { grid-template-columns: 1fr; gap: 10px; }
  .feature-card { min-height: auto; display: grid; grid-template-columns: 35px 1fr; column-gap: 11px; padding: 14px; }
  .feature-icon { grid-row: span 2; margin: 1px 0 0; }
  .feature-card h2 { align-self: end; }
  .feature-card p { margin-top: 4px; }
  .section-title-row { align-items: flex-start; flex-direction: column; margin-top: 27px; }
  .mcp-hero { padding: 16px; }
  .mcp-symbol { width: 38px; height: 38px; }
  .tool-card { padding: 16px; }
  .connect-card { padding: 16px; }
  .settings-section { padding: 16px; }
  .profile-form { align-items: stretch; flex-direction: column; }
  .profile-form .button { align-self: flex-start; }
  .site-footer { justify-content: center; flex-wrap: wrap; gap: 8px 16px; padding: 17px 12px 22px; font-size: 11px; }
  .modal-card { padding: 27px 20px 20px; }
  .modal-card h2 { font-size: 21px; }
  .key-dialog-actions { flex-direction: column-reverse; }
  .key-dialog-actions .button { width: 100%; }
  .leaderboard-heading-row { gap: 12px; }
  .callout { padding: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

