/* Search developer hub. Shared KI chrome and the existing Code scene stay intact. */
.developer-main { width:min(1180px,calc(100% - 64px)); margin-top:48px; }
.developer-main .account-back { margin-bottom:34px; }
.dev-hero { position:relative; padding-bottom:46px; margin-bottom:44px; border-bottom:1px solid #74333c; }
.developer-main .dev-hero h1 { font-size:clamp(48px,6.5vw,84px); line-height:1.02; margin-bottom:24px; }
.dev-hero h1 em { font-family:var(--ki-font-display); font-weight:inherit; color:#f57b88; font-style:normal; }
.dev-hero .account-intro { max-width:660px; margin-bottom:28px; }
.dev-hero-meta { display:flex; gap:12px 25px; flex-wrap:wrap; color:#b8a7ab; font:10px/1.5 var(--ki-font-text); letter-spacing:.06em; }
.dev-hero-meta span { display:inline-flex; gap:10px; align-items:center; }
.dev-hero-meta span::before { content:''; display:block; width:5px; height:5px; background:#bc303d; }
.dev-layout { display:grid; grid-template-columns:190px minmax(0,1fr); gap:44px; align-items:start; }
.dev-toc { position:sticky; top:28px; padding:8px 0 20px; }
.dev-toc ol { list-style:none; padding:0; margin:20px 0 26px; }
.dev-toc li { margin:0; }
.dev-toc a { display:flex; align-items:center; gap:13px; min-height:44px; font-size:12px; line-height:1.5; text-decoration:none; color:#b6aaad; }
.dev-toc a:hover { color:#fff; }
.dev-toc li a span { color:#98616b; font:10px var(--ki-font-text); }
.dev-toc .dev-account-link { min-height:44px; border-top:1px solid #3b2b30; padding-top:16px; color:#f1a4ad; }
.dev-content { min-width:0; }
.dev-section { min-width:0; padding:8px 0 45px; margin-bottom:38px; border-bottom:1px solid #4a3037; scroll-margin-top:30px; }
.dev-section:last-child { border-bottom:0; margin-bottom:0; }
.dev-index { font:10px/1.6 var(--ki-font-text); letter-spacing:.1em; color:#e57784!important; margin:0 0 12px!important; }
.dev-section h2 { font:500 clamp(26px,3.1vw,36px)/1.2 var(--ki-font-display); letter-spacing:-.025em; margin:0 0 17px; color:#f6eff0; }
.dev-section h3 { font:500 18px/1.4 var(--ki-font-text); letter-spacing:-.025em; margin:30px 0 12px; color:#eee3e6; }
.dev-section p,.dev-section li { font-size:14px; line-height:1.8; color:#c4b5b9; }
.dev-section p { margin:14px 0; }
.dev-section .dev-lead { font-size:15px; line-height:1.8; margin-top:0; margin-bottom:24px; }
.dev-section a { color:#f4a3ae; text-underline-offset:4px; }
.dev-section code { font-size:.88em; overflow-wrap:anywhere; }
.dev-section strong { color:#ebdfe2; }
.dev-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); padding:0; margin:24px 0; list-style:none; border:1px solid #54343b; background:#151013e8; }
.dev-steps li { min-width:0; padding:19px 20px; border-right:1px solid #54343b; }
.dev-steps li:last-child { border-right:0; }
.dev-steps li>span { display:block; color:#ed7282; font:10px var(--ki-font-text); margin-bottom:12px; }
.dev-steps strong { display:block; font-size:12px; font-weight:600; }
.dev-steps small { display:block; color:#ac989f; font-size:11px; line-height:1.6; margin-top:3px; }
.dev-code { min-width:0; border:1px solid #483039; background:#100c10f5; margin:20px 0; border-radius:3px; overflow:hidden; }
.dev-code--prompt { border-color:#8f3d4b; box-shadow:inset 3px 0 #be3549,0 12px 30px #0002; }
.dev-code__bar { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:54px; padding:8px 15px 8px 20px; border-bottom:1px solid #3f2932; background:#1d1218; }
.dev-code__label { color:#c49ba6; font:10px/1.5 var(--ki-font-text); letter-spacing:.04em; }
.dev-code__copy { display:inline-flex; flex-shrink:0; align-items:center; justify-content:center; gap:8px; min-height:38px; padding:8px 11px; border:1px solid #70404c; border-radius:3px; color:#f4e3e7; background:#281920; font:12px/1.2 var(--ki-font-text); cursor:pointer; }
.dev-code__copy:hover { border-color:#ef8a9a; background:#49232f; }
.dev-code__copy--primary { background:#a22237; border-color:#c7475b; color:#fff; }
.dev-code__copy--primary:hover { background:#be2f47; }
.dev-code__copy[data-state=copied] { background:#30262d; border-color:#ac7b8c; }
.developer-main .dev-code__body { border:0; border-radius:0; margin:0; padding:20px; line-height:1.85; color:#edccd3; background:transparent; font-size:12px; white-space:pre-wrap; overflow-wrap:anywhere; tab-size:2; }
.developer-main .dev-code__body code { font-size:inherit; color:inherit; }
.developer-main .dev-code--prompt .dev-code__body { max-height:290px; overflow:auto; font-family:var(--ki-font-text); font-size:13px; line-height:1.9; color:#d3bfc7; }
.developer-main .dev-code--prompt code { font-family:inherit; }
.dev-code .dev-code__status { min-height:26px; margin:0; padding:0 20px 8px; font-size:11px; line-height:1.6; color:#f3a8b6; }
.dev-next { display:flex; align-items:flex-start; flex-wrap:wrap; gap:8px 20px; }
.dev-next a { font-size:13px; font-weight:600; }
.dev-next span { flex:1 1 260px; color:#b6a4aa; font-size:12px; line-height:1.7; }
.dev-details { border-top:1px solid #50323d; margin-top:24px; }
.dev-details summary { padding:17px 0; color:#ddbec8; font-size:13px; line-height:1.7; cursor:pointer; }
.dev-details summary::marker { color:#d7667b; }
.dev-details>p { margin-top:0; }
.dev-details[open] { padding-bottom:4px; }
.dev-notice { margin-top:24px; padding:18px 20px; background:#1d1016d9; border-left:2px solid #b2475a; }
.dev-notice>strong { display:block; font-size:12px; color:#f0b1bc; }
.dev-notice p { margin:7px 0 0; font-size:12px; color:#bea3ac; }
.dev-facts { display:grid; gap:0; margin:24px 0; }
.dev-facts>div { display:grid; grid-template-columns:140px minmax(0,1fr); gap:18px; padding:13px 0; border-bottom:1px solid #3a2830; }
.dev-facts dt { font-size:11px; line-height:1.7; color:#af8b98; }
.dev-facts dd { font-size:13px; line-height:1.7; margin:0; color:#ded0d6; }
.dev-checks { padding-left:22px; margin:20px 0; }
.dev-checks li { padding-left:6px; margin:11px 0; }
.dev-checks li::marker { color:#df7187; font:11px var(--ki-font-text); }
.dev-table { overflow-x:auto; min-width:0; margin:26px 0; border:1px solid #49313a; border-radius:3px; background:#110d10de; }
.dev-table table { width:100%; border-collapse:collapse; text-align:left; font-size:12px; line-height:1.75; }
.dev-table caption { padding:15px 16px; color:#dbbcc7; font:11px/1.6 var(--ki-font-text); text-align:left; border-bottom:1px solid #49313a; }
.dev-table th,.dev-table td { padding:13px 16px; vertical-align:top; border-bottom:1px solid #392730; }
.dev-table thead th { color:#b9909f; font-size:10px; font-weight:500; text-transform:uppercase; letter-spacing:.08em; }
.dev-table tbody th { font-weight:400; color:#e3c4ce; width:38%; }
.dev-table td { color:#c7b1bb; }
.dev-table tr:last-child>* { border-bottom:0; }
.dev-table code { font-size:11px; }
.dev-usage { display:flex; align-items:center; gap:32px; padding:26px; margin:24px 0; border:1px solid #723746; background:linear-gradient(115deg,#29131c,#130d12); }
.dev-usage>strong { display:block; flex-shrink:0; font:500 45px/1.05 var(--ki-font-text); letter-spacing:-.05em; color:#f8dce4; }
.dev-usage strong span { display:block; color:#d1a1b0; font-size:10px; letter-spacing:.01em; margin-top:12px; }
.dev-usage p { font-size:12px; line-height:1.8; margin:0; }
.dev-finish { display:flex; align-items:center; justify-content:space-between; gap:24px; padding-top:25px; margin-top:32px; border-top:1px solid #55313e; }
.dev-finish h3 { margin:0; }
.dev-finish .account-kicker { margin:0 0 8px; font-size:9px; }
.dev-finish .account-primary { background:#a22237; border-color:#c7475b; color:#fff; font-size:12px; flex-shrink:0; }
@media(max-width:1000px) { .developer-main { width:calc(100% - 48px); } .dev-layout { grid-template-columns:160px minmax(0,1fr); gap:30px; } .dev-steps li { padding:16px 13px; } }
@media(max-width:780px) { .dev-layout { grid-template-columns:1fr; gap:28px; } .dev-toc { position:static; padding:0 0 22px; border-bottom:1px solid #5a303c; } .dev-toc ol { display:grid; grid-template-columns:1fr 1fr; column-gap:20px; margin:12px 0 5px; } .dev-toc .dev-account-link { border-top:0; padding-top:8px; } .dev-hero { margin-bottom:28px; padding-bottom:32px; } .dev-section { padding-bottom:30px; margin-bottom:28px; } }
@media(max-width:520px) { .developer-main { width:calc(100% - 32px); margin-top:30px; } .developer-main .account-back { margin-bottom:28px; } .developer-main .dev-hero h1 { font-size:52px; } .dev-hero .account-intro { font-size:14px; line-height:1.8; } .dev-hero-meta { font-size:9px; gap:10px 18px; } .dev-toc a { font-size:11px; gap:9px; } .dev-steps { grid-template-columns:1fr; } .dev-steps li { display:grid; grid-template-columns:25px minmax(0,1fr); gap:0 10px; padding:13px 15px; border-right:0; border-bottom:1px solid #54343b; } .dev-steps li:last-child { border-bottom:0; } .dev-steps li>span { grid-row:1/3; align-self:center; margin:0; } .dev-steps small { grid-column:2; } .dev-code__bar { padding:8px 12px; gap:8px; flex-wrap:wrap; } .dev-code__label { font-size:9px; } .dev-code__copy { font-size:11px; min-height:40px; } .developer-main .dev-code__body { padding:15px; font-size:11px; } .developer-main .dev-code--prompt .dev-code__body { max-height:320px; font-size:12px; } .dev-code .dev-code__status { padding-inline:15px; font-size:10px; } .dev-facts>div { grid-template-columns:1fr; gap:5px; } .dev-table th,.dev-table td { padding:11px 12px; } .dev-table tbody th { width:42%; } .dev-table table { font-size:11px; } .dev-table code { font-size:10px; } .dev-usage { flex-direction:column; align-items:flex-start; gap:18px; padding:22px; } .dev-finish { flex-direction:column; align-items:flex-start; } }
@media(prefers-reduced-motion:reduce) { .developer-main { scroll-behavior:auto; } }
/* Faster entry to a transport and an actual read-only API rehearsal. */
.dev-start { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:-8px 0 50px; }
.dev-start>a { display:flex; flex-direction:column; gap:12px; min-width:0; padding:24px; text-decoration:none; border:1px solid #64404d; background:linear-gradient(140deg,#20131df2,#100c11f2); border-radius:10px; transition:border-color .16s,background .16s; }
.dev-start>a:hover { border-color:#c36b82; background:#251620f5; }
.dev-start span { font:10px/1.5 var(--ki-font-text); color:#bc879b; text-transform:uppercase; letter-spacing:.08em; }
.dev-start strong { display:flex; justify-content:space-between; gap:15px; color:#f2e4eb; font-size:15px; font-weight:500; }
.dev-start b { color:#dc7993; font-weight:400; }
.dev-start small { color:#baa8b2; font-size:12px; line-height:1.7; }
.dev-try { margin:30px 0; padding:26px; background:linear-gradient(140deg,#23141ef5,#100c12f5); border:1px solid #8e465b; border-radius:10px; }
.dev-try h3 { margin:0 0 12px; font-size:24px; }
.dev-try>div>p { max-width:620px; font-size:13px; }
.dev-try label { display:block; font-size:12px; color:#d9bac8; margin:22px 0 10px; }
.dev-try__input { display:flex; gap:12px; }
.dev-try input { min-width:0; flex:1; min-height:48px; padding:12px 14px; background:#0d0a10; color:#eee0e9; border:1px solid #765361; border-radius:6px; font:14px var(--ki-font-text); }
.dev-try button { min-height:48px; padding:12px 18px; border:1px solid #da536d; border-radius:6px; color:#fff; background:#9f2840; font:12px var(--ki-font-text); cursor:pointer; }
.dev-try button:hover { background:#bd344f; }
.dev-try button:disabled { opacity:.65; cursor:wait; }
.dev-try .dev-try__status { min-height:22px; margin:15px 0 0; font-size:11px; line-height:1.8; color:#bc9dac; }
.dev-try[data-state=verified] .dev-try__status { color:#b5d8bb; }
.dev-try[data-state=error] .dev-try__status { color:#f0b1bf; }
.dev-try__result { margin-top:22px; padding-top:22px; border-top:1px solid #714352; overflow-wrap:anywhere; }
.dev-try__result>a { font-size:15px; line-height:1.6; }
.dev-try blockquote { margin:18px 0; padding-left:18px; border-left:2px solid #a64d69; font-size:13px; line-height:1.9; color:#d5c2cd; white-space:pre-wrap; max-height:260px; overflow:auto; }
.dev-try details { font-size:11px; line-height:1.8; color:#bf98aa; }
.dev-try summary { padding:8px 0; cursor:pointer; }
.dev-try code { display:block; padding-block:10px; word-break:break-all; }
.dev-try [hidden] { display:none; }
@media(max-width:780px) { .dev-start { grid-template-columns:1fr; gap:12px; margin-bottom:32px; } .dev-start>a { padding:21px; gap:9px; } }
@media(max-width:520px) { .dev-try { padding:22px 18px; } .dev-try__input { flex-direction:column; } }
@media(prefers-reduced-motion:reduce) { .dev-start>a { transition:none; } }
