/* Public website and account console: the same Pearl surfaces as the AI workspace.
 * Uses the existing YueXin green and paper palette; no enclosing device frame. */
body:has(#app) { margin:0; padding:0; background:#f8f7f4; -webkit-font-smoothing:antialiased; }
#app { --ink:#17372d; --action:#096c38; --muted:#687064; --paper:#f8f7f4; --line:#e0e4da; color:var(--ink); font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif; }
#app :where(button,input,select,textarea) { font-family:inherit; }
#app :where(h1,h2,h3) { letter-spacing:-.025em; }
#app :where(a,button,input,select,textarea,summary):focus-visible { outline:3px solid #87ab98; outline-offset:3px; }
#app .wrap { width:100%; max-width:1376px; padding-left:48px; padding-right:48px; }
#app > .site-header { position:sticky; top:0; z-index:25; min-height:72px; background:#f8f7f4eb; backdrop-filter:blur(22px); -webkit-backdrop-filter:blur(22px); border-bottom:1px solid #e1e4da; }
#app .header-row { min-height:72px; gap:36px; }
#app .brand { flex-shrink:0; gap:2px; }
#app .brand-logo { width:126px; height:auto; }
#app .brand-sub { font-size:9px; line-height:1.4; letter-spacing:.02em; color:#75806f; }
#app .header-nav { position:relative; display:flex; align-items:center; gap:5px; margin:auto; padding:4px; border-radius:13px; }
#app .header-nav > a { position:relative; z-index:1; min-height:36px; padding:8px 17px; font-size:13px; border:1px solid transparent; border-radius:10px; color:#64705f; text-decoration:none; white-space:nowrap; }
#app .header-nav > a:hover { color:var(--action); background:#edf1e7a6; }
#app .header-nav > a[aria-current] { color:var(--action); font-weight:600; }
#app .header-nav .pg-nav-thumb { border-radius:10px; box-shadow:var(--pg-edge),var(--pg-e1); }
#app .header-actions { gap:12px; flex-shrink:0; }
#app .user-menu { gap:12px; }
#app .account-chip { max-width:140px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; background:transparent; border:0; color:#697564; font-size:12px; }
#app :where(.login-link,.header-actions .button.text) { font-size:12px; }
#app .language-button { border:1px solid #e0e5d9; border-radius:10px; width:36px; min-width:36px; min-height:36px; padding:0; background:#fff9; font-size:11px; }
#app .button { border-radius:12px; min-height:40px; padding:10px 16px; font-size:13px; font-weight:550; line-height:1.4; box-shadow:inset 0 1px 0 #ffffff20,0 3px 8px #075f420c; }
#app .button.compact { min-height:36px; padding:8px 13px; }
#app .button.secondary { color:#3e5542; background:linear-gradient(145deg,#fff,#f7f9f3); border-color:#e1e7d9; box-shadow:var(--pg-edge),var(--pg-e1); }
#app .button.text { background:transparent; border:0; box-shadow:none; color:#64715f; }
#app .button.secondary:hover { background:#edf3e6; }
#app :where(button,a,input,select,textarea) { transition:background-color .2s,border-color .22s,color .2s,box-shadow .28s,scale .42s var(--pg-ease); }
#app .environment-bar { padding:8px 24px; background:#f0f1e7; border-bottom:1px solid #e3e5d8; color:#717560; font-size:11px; line-height:1.5; gap:20px; }
#app .environment-bar strong { font-size:10px; font-weight:600; }
#app .environment-bar a { color:#5d7153; text-decoration:none; white-space:nowrap; }
#app main.wrap { padding-bottom:64px; }
#app .page-intro { padding:48px 0 30px; margin:0; }
#app .page-intro .eyebrow { font-size:10px; letter-spacing:.09em; color:#819075; margin-bottom:12px; }
#app .eyebrow::before { display:none; }
#app .page-intro h1 { font-size:34px; line-height:1.4; font-weight:600; margin:0 0 13px; }
#app .page-intro p { font-size:14px; line-height:1.85; color:var(--muted); margin:0; max-width:760px; }
#app :where(.panel,.model-card,.stat,.table-panel,.procurement-card) { background:linear-gradient(145deg,#fff,#fdfefa); border:1px solid #e2e6db; border-radius:20px; box-shadow:var(--pg-edge),var(--pg-e1); }
#app .panel { padding:26px; }
#app .panel h2 { font-size:17px; font-weight:600; line-height:1.5; }
#app .panel h3 { font-size:15px; }
#app .panel :where(p,li),#app .panel > .muted { font-size:13px; line-height:1.85; }
#app .tag { border-radius:7px; font-size:11px; padding:5px 8px; }
#app .notice { border-radius:12px; font-size:13px; line-height:1.8; padding:13px 16px; }
#app :where(.small,.contract-note) { font-size:12px; line-height:1.75; }
#app :where(.mono,code,pre) { font-family:var(--pg-mono); }
#app .form-field { margin:18px 0; gap:8px; }
#app .form-field label,#app .field-label { font-size:12px; font-weight:550; color:#607058; }
#app :where(.form-field input,.form-field select,.form-field textarea,.wallet-selector select) { background:#ffffffde; border:1px solid #dce3d4; border-radius:10px; min-height:40px; padding:10px 12px; font-size:13px; color:#344b37; box-shadow:inset 0 1px 2px #28443503; }
#app :where(.form-field .hint,.password-guidance) { font-size:12px; line-height:1.75; }
#app .password-toggle { min-height:36px; min-width:58px; font-size:12px; border-left-color:#e2e6da; }
#app .form-field textarea { min-height:136px; line-height:1.8; }
#app .form-actions { gap:10px; margin-top:22px; }
#app .empty-state { border:1px dashed #ccd6c3; border-radius:16px; background:#ffffff80; padding:38px 24px; font-size:13px; }
#app .table-wrap { overflow:auto; border:1px solid #e1e6d9; border-radius:14px; background:#fff; }
#app table { border-collapse:separate; border-spacing:0; font-size:12px; }
#app :where(td,th) { padding:14px 16px; border-bottom:1px solid #e9ede3; line-height:1.75; }
#app th { background:#f0f3e9; color:#6d7963; font-weight:550; font-size:11px; }
#app tr:last-child td { border-bottom:0; }
#app tbody tr:hover { background:#f8fbf4; }
#app .table-panel { padding:24px; overflow:hidden; }
#app .table-panel h2 { font-size:17px; margin:0 0 20px; }
#app .table-panel .table-wrap { border-radius:10px; }
#app .code-block { border:1px solid #dae2d2; border-radius:14px; background:#eef2e8; color:#38513a; padding:22px; font-size:12px; line-height:1.85; max-width:100%; overflow:auto; white-space:pre; }
#app .copy-code { float:right; margin:0 0 8px 16px; font-size:11px; min-height:30px; padding:6px 10px; }
#app .endpoint { border-radius:10px; padding:12px 14px; border:1px solid #e4e9dc; background:#f4f7ef; font-size:12px; }

/* Home is an open website surface, rather than an app inside an ornamental frame. */
#app .brand-hero { border-bottom:1px solid #e3e6da; background:linear-gradient(110deg,#f1f5eb,#f8f7f4 65%); }
#app .hero { grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:72px; padding-top:70px; padding-bottom:70px; }
#app .hero .eyebrow { font-size:10px; letter-spacing:.08em; margin-bottom:22px; color:#7a8b70; }
#app .hero h1 { font-size:clamp(38px,4.2vw,58px); line-height:1.3; font-weight:550; letter-spacing:-.045em; margin-bottom:24px; }
#app .hero .intro { font-size:15px; line-height:1.9; max-width:520px; margin-bottom:26px; }
#app .hero-note { font-size:12px; line-height:1.8; }
#app .connection-visual { background:linear-gradient(140deg,#ffffffdc,#f7faf1c9); border:1px solid #fff; border-radius:24px; padding:8px 28px 28px; box-shadow:var(--pg-edge),var(--pg-e2); }
#app .connection-label { font-size:10px; padding:20px 0; letter-spacing:.07em; }
#app .connection-line { padding:19px 0; gap:18px; border-color:#e4eadc; }
#app .connection-number { font:12px/1.8 var(--pg-mono); color:#8a9a7d; }
#app .connection-line h3 { font-size:17px; font-weight:550; margin-bottom:6px; }
#app .connection-line p { font-size:13px; line-height:1.7; }
#app .connection-code { border-radius:12px; font-size:12px; line-height:1.9; padding:17px 18px; margin-top:8px; }
#app .connection-code small { font-size:10px; }
#app .product-section { padding-top:56px; padding-bottom:56px; }
#app .section-heading { margin-bottom:28px; gap:36px; }
#app .section-heading h2 { font-size:28px; font-weight:550; line-height:1.5; }
#app .section-heading p { font-size:13px; line-height:1.9; }
#app .product-rows article { padding:26px 0; gap:22px; border-color:#e2e6da; }
#app .product-rows h3 { font-size:18px; font-weight:550; margin-bottom:8px; }
#app .product-rows p { font-size:13px; line-height:1.9; }
#app .product-rows a { font-size:12px; text-decoration:none; }
#app .launch-strip { background:#edf2e7; border-color:#e0e7d7; padding:36px 0; }
#app .launch-strip h2 { font-size:25px; font-weight:550; }
#app .launch-strip p { font-size:13px; line-height:1.8; }

/* Model discovery and pricing. */
#app .catalog-toolbar { display:flex; gap:16px; align-items:center; flex-wrap:wrap; background:#edeee7; padding:14px 16px; border:1px solid #ffffffb8; border-radius:16px; box-shadow:inset 0 1px 0 #fff9; margin:0 0 26px; }
#app .catalog-search { display:flex; align-items:center; gap:10px; flex:1; min-width:220px; max-width:460px; background:#fff; border:1px solid #dfe5d6; border-radius:10px; padding:0 13px; color:#829078; }
#app .catalog-search span { font:18px/1 var(--pg-mono); }
#app .catalog-search input { border:0; outline:none; background:transparent; min-width:0; width:100%; min-height:38px; font-size:13px; color:var(--ink); }
#app .catalog-search:focus-within { border-color:#8ca880; box-shadow:0 0 0 3px #075f4209; }
#app .catalog-currency { display:flex; align-items:center; gap:9px; font-size:12px; color:#6b7860; }
#app .catalog-currency select { min-height:38px; border:1px solid #dce3d3; border-radius:10px; background:#fff; padding:7px 30px 7px 12px; font-size:12px; color:#4d6343; }
#app .catalog-count { margin-left:auto; font-size:12px; color:#7c8674; font-variant-numeric:tabular-nums; }
#app .model-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin-bottom:28px; }
#app .model-card { padding:25px; display:flex; flex-direction:column; min-width:0; }
#app .model-card h3 { font-size:19px; font-weight:550; line-height:1.5; margin:19px 0 8px; overflow-wrap:anywhere; }
#app .model-card > .tag { align-self:flex-start; }
#app .model-card > .mono { font-size:11px; color:#809074; line-height:1.8; margin:0 0 18px; overflow-wrap:anywhere; }
#app .model-prices { margin:0; border-top:1px solid #e8ecdf; }
#app .model-prices > div { display:flex; justify-content:space-between; gap:12px; padding:12px 0; border-bottom:1px solid #edf0e7; }
#app .model-prices dt { color:#6a7b5e; font-size:12px; }
#app .model-prices dd { font:500 15px/1.5 var(--pg-mono); margin:0; color:#365033; }
#app .model-card footer { border-top:1px solid #e5eadc; padding-top:15px; margin-top:auto; color:#849077; font-size:11px; line-height:1.7; }
#app .catalog-links { padding-top:12px; }

/* Developer documentation has its own reading rail, using the same navigation material. */
#app .docs-layout { display:grid; grid-template-columns:216px minmax(0,1fr); align-items:start; gap:36px; margin-top:8px; }
#app .docs-nav { position:sticky; top:100px; display:flex; flex-direction:column; gap:5px; background:#eeeee7; border:1px solid #e6e8dc; border-radius:16px; padding:10px; }
#app .docs-nav a { position:relative; z-index:1; display:block; border:1px solid transparent; border-radius:10px; padding:11px 13px; font-size:12px; line-height:1.6; color:#6b785f; text-decoration:none; }
#app .docs-nav a:hover { background:#ffffff80; color:var(--action); }
#app .docs-nav a[aria-current] { color:var(--action); font-weight:550; }
#app .docs-content { min-width:0; background:#ffffffcf; border:1px solid #e4e8db; border-radius:20px; padding:10px 32px; box-shadow:var(--pg-edge),var(--pg-e1); }
#app .docs-section { margin:0; padding:26px 0; border-bottom:1px solid #e8ecdf; scroll-margin-top:100px; }
#app .docs-section:last-child { border-bottom:0; }
#app .docs-section h2 { font-size:20px; font-weight:550; line-height:1.55; margin-bottom:17px; }
#app .docs-section :where(p,li) { font-size:13px; line-height:1.95; }
#app .docs-section > .subtle-link { display:inline-flex; padding:8px 0; font-size:12px; }

/* Enterprise introduction and actual application remain distinct destinations. */
#app .enterprise-intro { display:grid; grid-template-columns:1.2fr .8fr; gap:56px; align-items:center; padding:54px 0 38px; }
#app .enterprise-intro .page-intro { padding:0; }
#app .enterprise-intro .page-intro h1 { font-size:38px; max-width:650px; line-height:1.5; }
#app .enterprise-intro .page-intro p { max-width:560px; }
#app .enterprise-guide { border-left:1px solid #dfe5d5; padding:10px 0 10px 32px; }
#app .enterprise-guide .guide-row { display:flex; gap:17px; align-items:baseline; padding:15px 0; }
#app .enterprise-guide small { font:12px/1.7 var(--pg-mono); color:#92a285; }
#app .enterprise-guide h3 { font-size:16px; font-weight:550; margin:0 0 5px; }
#app .enterprise-guide p { font-size:12px; line-height:1.8; margin:0; color:#7a876e; }
#app .enterprise-features { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin:14px 0 32px; }
#app .enterprise-features h2 { font-size:18px; margin:0 0 14px; font-weight:550; }
#app .enterprise-features p { margin:0; font-size:13px; line-height:1.95; color:#74816a; }
#app .enterprise-next { display:flex; justify-content:space-between; align-items:center; gap:30px; background:#eaf0e3; border:1px solid #dfe6d4; border-radius:20px; padding:30px; }
#app .enterprise-next h2 { font-size:21px; font-weight:550; margin:0 0 10px; }
#app .enterprise-next p { font-size:13px; line-height:1.8; margin:0; color:#6d7c62; }

/* The complete customer console, including every account subpage. */
#app .console-layout { width:100%; max-width:none; margin:0; min-height:calc(var(--pg-height) - 110px); display:grid; grid-template-columns:232px minmax(0,1fr); border:0; border-radius:0; overflow:visible; background:var(--paper); }
#app .console-layout .sidebar { padding:26px 14px 24px; border-right:1px solid #dfe4d7; background:#f0efeb; }
#app .console-layout .sidebar-label { font-size:10px; letter-spacing:.08em; color:#8a927d; margin-bottom:16px; }
#app .console-layout .sidebar nav { position:relative; display:flex; gap:5px; flex-direction:column; }
#app .console-layout .sidebar nav a { display:flex; align-items:center; gap:11px; position:relative; z-index:1; min-height:38px; padding:9px 12px; border:1px solid transparent; border-radius:12px; color:#64715b; font-size:12px; line-height:1.5; }
#app .console-layout .sidebar nav a.active { background:transparent; color:var(--action); box-shadow:none; font-weight:550; border-color:transparent; }
#app .console-layout .sidebar nav:not(.pg-motion-nav) a.active { background:#fff; border-color:#fff; box-shadow:var(--pg-e1); }
#app .console-layout .sidebar nav a:hover { background:#ffffff80; }
#app .nav-symbol { width:18px; height:18px; display:flex; align-items:center; flex-shrink:0; }
#app .nav-symbol img { width:18px; height:18px; opacity:.65; }
#app a.active .nav-symbol img { opacity:1; }
#app .nav-symbol svg { width:18px; height:18px; stroke:currentColor; stroke-width:1.6; fill:none; stroke-linecap:round; stroke-linejoin:round; }
#app .sidebar-note { font-size:11px; line-height:1.9; padding:20px 12px 0; border-color:#dddfd3; margin-top:24px; }
#app .console-main { width:100%; max-width:1400px; padding:32px 40px 60px; margin:0 auto; min-width:0; }
#app .console-heading { align-items:flex-start; gap:28px; margin-bottom:28px; }
#app .console-heading h1 { font-size:28px; line-height:1.4; font-weight:600; margin-bottom:10px; }
#app .console-heading p { font-size:13px; line-height:1.85; max-width:590px; }
#app .wallet-selector { width:260px; }
#app .wallet-selector label { font-size:10px; letter-spacing:.03em; }
#app .wallet-selector select { font-size:12px; min-height:36px; padding:8px 10px; }
#app .wallet-class .tag { font-size:10px; }
#app .stats-grid { gap:16px; margin-bottom:24px; }
#app .stat { padding:22px; border-radius:16px; }
#app .stat:first-child { background:linear-gradient(125deg,#e7edde,#f8faf3); }
#app .stat-label { font-size:12px; color:#78856d; }
#app .stat-value { font:500 clamp(24px,2.4vw,34px)/1.4 var(--pg-mono); letter-spacing:-.05em; font-variant-numeric:tabular-nums; }
#app .stat-foot { font-size:11px; line-height:1.8; }
#app .content-grid { gap:22px; }
#app .stack { gap:22px; }
#app .detail-list > div { padding:14px 0; border-color:#e6ebde; font-size:12px; line-height:1.8; }
#app .step-list { margin-top:24px; }
#app .step-list h3 { font-size:14px; }
#app .step-list p { font-size:12px; line-height:1.85; }
#app .step-num { background:#f1f5eb; border-color:#dfe6d5; color:#6e835e; }
#app .order-amount { font:500 36px/1.4 var(--pg-mono); }
#app .auth-page { max-width:1080px; gap:80px; padding:60px 48px 80px; align-items:center; min-height:calc(var(--pg-height) - 110px); }
#app .auth-aside h1 { font-size:36px; font-weight:550; line-height:1.5; }
#app .auth-aside > p { font-size:14px; line-height:1.9; }
#app .auth-aside .eyebrow { font-size:10px; margin-bottom:18px; }
#app .auth-points li { font-size:13px; padding:14px 0; border-color:#e0e6d8; }
#app .auth-page > .panel { padding:32px; border-radius:24px; }
#app .auth-page h2 { font-size:24px; font-weight:550; }
#app .auth-switch { font-size:12px; }
#app .site-footer { border-top:1px solid #e1e6d8; padding:30px 0 20px; background:#f0f1e9; }
#app .site-footer .brand-logo { width:106px; }
#app .site-footer .brand-sub { display:none; }
#app .footer-context { font-size:12px; line-height:1.8; color:#7b8670; }
#app .footer-links { gap:8px 24px; font-size:12px; }
#app .footer-legal { font-size:10px; line-height:1.8; color:#8a937f; padding-top:16px; margin-top:18px; border-color:#dfe5d6; }
#secret-dialog { border:1px solid #fff; border-radius:24px; background:#f8faf4fa; padding:28px; box-shadow:var(--pg-edge),var(--pg-e3); color:#334c36; }
#secret-dialog::backdrop { background:#1e2b254d; backdrop-filter:blur(7px); }
#secret-dialog h2 { font-size:21px; }
#secret-dialog :where(p,label) { font-size:13px; line-height:1.85; }
#secret-dialog .button { border-radius:12px; font-size:13px; }

/* Local preview marker is a small strip; it never imitates an application border. */
body:has(.preview-toolbar) { --pg-height:calc(100dvh - 28px); }
body > .preview-toolbar { height:28px; min-height:28px; margin:0; padding:0 20px; border-bottom:1px solid #e1e5d7; background:#edf1e7; font-size:10px; }
body > .preview-toolbar .preview-detail { margin-left:0; }

@media(hover:hover) and (pointer:fine) {
 #app .model-card:hover { border-color:#cdd9c4; box-shadow:var(--pg-edge),var(--pg-e2); }
 #app .model-card { transition:border-color .28s,box-shadow .34s var(--pg-ease); }
}
@media(max-width:1180px) {
 #app .wrap { padding-left:32px; padding-right:32px; }
 #app .header-row { gap:22px; }
 #app .header-nav > a { padding-left:12px; padding-right:12px; }
 #app .header-actions,#app .user-menu { gap:8px; }
 #app .account-chip { display:none; }
 #app .hero { gap:40px; }
 #app .console-main { padding-left:28px; padding-right:28px; }
}
@media(max-width:900px) {
 #app .header-nav { display:none; }
 #app .header-actions { margin-left:auto; }
 #app .menu-button { display:flex; width:36px; height:36px; border-radius:10px; font-size:18px; min-height:36px; }
 #app .mobile-nav { border:1px solid #fff; border-radius:0 0 20px 20px; background:#f8faf4fa; box-shadow:var(--pg-e2); padding:12px 24px 20px; }
 #app .mobile-nav a { font-size:13px; border-radius:10px; padding:12px; }
 #app .mobile-nav a:hover { background:#eaf0e2; }
 #app .model-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 #app .console-layout { grid-template-columns:200px minmax(0,1fr); }
 #app .console-heading { flex-wrap:wrap; }
 #app .wallet-selector { width:min(100%,350px); }
 #app .content-grid,#app .security-layout { grid-template-columns:1fr; }
 #app .auth-page { gap:40px; }
}
@media(max-width:760px) {
 #app .wrap { padding-left:20px; padding-right:20px; }
 #app .header-row { min-height:64px; gap:12px; }
 #app > .site-header { min-height:64px; }
 #app .brand-logo { width:103px; }
 #app .brand-sub { font-size:8px; letter-spacing:0; }
 #app .header-actions,#app .user-menu { gap:7px; }
 #app .header-actions .button { font-size:11px; min-height:34px; padding:7px 10px; }
 #app .header-actions .user-menu > a[href='/operator.html'] { display:none; }
 #app .language-button { min-width:32px; width:32px; min-height:34px; }
 #app .environment-bar { padding:8px 16px; font-size:10px; gap:4px 12px; justify-content:flex-start; }
 #app .environment-bar a { font-size:10px; }
 #app .page-intro { padding:30px 0 24px; }
 #app .page-intro h1 { font-size:27px; line-height:1.5; }
 #app .page-intro p { font-size:13px; line-height:1.9; }
 #app main.wrap { padding-bottom:40px; }
 #app .hero { grid-template-columns:1fr; padding-top:36px; padding-bottom:36px; gap:28px; }
 #app .hero h1 { font-size:38px; }
 #app .hero .intro { font-size:14px; }
 #app .hero-note { font-size:11px; }
 #app .connection-visual { padding:2px 22px 22px; border-radius:20px; }
 #app .connection-line { padding:16px 0; }
 #app .connection-line h3 { font-size:16px; }
 #app .connection-line p { font-size:12px; }
 #app .product-section { padding-top:36px; padding-bottom:36px; }
 #app .section-heading { align-items:flex-start; flex-direction:column; gap:14px; }
 #app .section-heading h2 { font-size:25px; }
 #app .product-rows article { grid-template-columns:24px 1fr; padding:24px 0; gap:14px; }
 #app .product-rows a { grid-column:2; justify-content:flex-start; text-align:left; min-height:30px; }
 #app .product-rows h3 { font-size:17px; }
 #app .launch-strip .wrap { display:block; }
 #app .launch-strip .button { margin-top:20px; }
 #app .model-grid { grid-template-columns:1fr; gap:16px; }
 #app .model-card { padding:22px; border-radius:18px; }
 #app .catalog-toolbar { gap:12px; padding:12px; }
 #app .catalog-search { flex-basis:100%; max-width:none; }
 #app .catalog-count { font-size:11px; }
 #app .catalog-search input,#app .catalog-currency select { font-size:16px; }
 #app .docs-layout { grid-template-columns:1fr; gap:18px; }
 #app .docs-nav { position:relative; top:auto; flex-direction:row; flex-wrap:nowrap; overflow:auto; gap:3px; padding:5px; border-radius:12px; }
 #app .docs-nav a { flex-shrink:0; white-space:nowrap; padding:10px 12px; min-height:40px; font-size:12px; }
 #app .docs-content { padding:0 20px; border-radius:18px; }
 #app .docs-section { padding:24px 0; scroll-margin-top:86px; }
 #app .docs-section h2 { font-size:18px; }
 #app .code-block { font-size:11px; padding:18px; }
 #app .enterprise-intro { grid-template-columns:1fr; gap:28px; padding-top:32px; }
 #app .enterprise-intro .page-intro h1 { font-size:29px; }
 #app .enterprise-guide { border-left:0; border-top:1px solid #dfe5d5; padding:12px 0 0; }
 #app .enterprise-features { grid-template-columns:1fr; gap:14px; }
 #app .enterprise-next { display:block; padding:24px; }
 #app .enterprise-next .button { margin-top:20px; }
 #app .console-layout { display:block; margin:0; }
 #app .console-layout .sidebar { padding:8px 12px; border-right:0; border-bottom:1px solid #dfe4d7; }
 #app .console-layout .sidebar-label,#app .sidebar-note { display:none; }
 #app .console-layout .sidebar nav { flex-direction:row; overflow:auto; gap:4px; padding:2px 0; }
 #app .console-layout .sidebar nav a { flex-shrink:0; white-space:nowrap; min-height:40px; padding:10px 12px; gap:7px; }
 #app .console-main { padding:26px 18px 40px; }
 #app .console-heading { gap:20px; margin-bottom:24px; }
 #app .console-heading h1 { font-size:25px; }
 #app .wallet-selector { width:100%; }
 #app .stats-grid { grid-template-columns:1fr; gap:12px; }
 #app .stat { padding:19px 20px; }
 #app .stat-value { font-size:29px; }
 #app .panel { padding:22px 20px; border-radius:18px; }
 #app .table-panel { padding:20px 16px; }
 #app .table-wrap { border-radius:10px; }
 #app .form-row { grid-template-columns:1fr; }
 #app :where(.form-field input,.form-field select,.form-field textarea,.wallet-selector select) { font-size:16px; min-height:42px; }
 #app .auth-page { display:block; padding:30px 20px 40px; min-height:0; }
 #app .auth-aside { padding:0; margin-bottom:26px; }
 #app .auth-aside h1 { font-size:29px; }
 #app .auth-points { display:none; }
 #app .auth-page > .panel { padding:26px 22px; border-radius:20px; }
 #app .readiness-grid { grid-template-columns:1fr; }
 #app .footer-row { flex-direction:column; gap:20px; }
 #app .footer-links { justify-content:flex-start; gap:5px 22px; }
 #app .site-footer { padding-top:26px; }
 body > .preview-toolbar { height:28px; padding:0 12px; font-size:9px; }
}
@media(prefers-reduced-motion:reduce) {
 #app *,#app *::before,#app *::after,#secret-dialog { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
}
@media(prefers-reduced-transparency:reduce) {
 #app > .site-header,#app .mobile-nav { backdrop-filter:none; -webkit-backdrop-filter:none; background:#f8f7f4; }
}

/* 2026-11-10 first-run path: home steps, docs tabs, base URL, onboarding checklist, catalog chips, key dialog. */
#app a.connection-line { color:inherit; text-decoration:none; border-radius:12px; transition:background-color .2s; }
#app a.connection-line:hover { background:#eef3e8a6; }
#app a.connection-line:hover h3 { color:var(--action); }
#app .launch-actions { display:flex; gap:12px; flex-wrap:wrap; flex-shrink:0; }
#app .page-intro-actions { margin-top:22px; }
#app .base-url { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:22px; padding:10px 12px 10px 16px; border:1px solid #dae2d2; border-radius:14px; background:#fff; max-width:760px; box-shadow:var(--pg-edge),var(--pg-e1); }
#app .base-url-label { font-size:11px; font-weight:600; letter-spacing:.04em; color:#6b7a63; }
#app .base-url code { flex:1; min-width:0; font-size:14px; color:var(--ink); overflow-wrap:anywhere; }
#app .code-copy { flex-shrink:0; min-height:32px; padding:5px 12px; border:1px solid #d6dfcf; border-radius:9px; background:#fff; color:var(--action); font-size:12px; font-weight:600; cursor:pointer; }
#app .code-copy:hover { background:#edf3e6; }
#app .code-tabs { margin:18px 0; border:1px solid #dae2d2; border-radius:14px; overflow:hidden; background:#eef2e8; }
#app .code-tabs-bar { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:6px 8px 0 8px; border-bottom:1px solid #dae2d2; background:#e6ecdf; }
#app .code-tabs-bar [role=tablist] { display:flex; gap:2px; overflow-x:auto; }
#app .code-tabs-bar [role=tab] { min-height:36px; padding:7px 14px; border:0; border-bottom:2px solid transparent; background:transparent; color:#5d6c57; font-size:13px; font-weight:550; cursor:pointer; }
#app .code-tabs-bar [role=tab][aria-selected=true] { color:var(--action); border-bottom-color:var(--action); }
#app .code-tabs-bar .code-copy { margin-bottom:6px; }
#app .code-tabs .code-block { margin:0; border:0; border-radius:0; }
#app .code-block.code-inline { padding:12px 16px; margin:12px 0; }
#app .docs-steps { list-style:none; padding:0; margin:8px 0 0; }
#app .docs-step { display:flex; gap:16px; align-items:flex-start; padding:16px 0; border-top:1px solid #e4e8dd; }
#app .docs-step:first-child { border-top:0; }
#app .docs-step h3 { font-size:16px; margin:3px 0 6px; }
#app .docs-step p { margin:0 0 6px; color:var(--muted); }
#app .docs-step-num, #app .onboarding-steps .step-num { flex-shrink:0; width:30px; height:30px; display:grid; place-items:center; border-radius:50%; border:1px solid #d6dfcf; background:#f4f7ef; color:#4f6448; font-size:13px; font-weight:600; }
#app .docs-step.done .docs-step-num, #app .onboarding-steps li.done .step-num { background:var(--action); border-color:var(--action); color:#fff; }
#app .endpoint { flex-wrap:wrap; }
#app .endpoint-note { color:var(--muted); font-size:13px; }
#app .progress-track { height:6px; border-radius:6px; background:#e7ece0; overflow:hidden; margin:4px 0 6px; }
#app .progress-track span { display:block; height:100%; border-radius:6px; background:var(--action); transition:width .4s var(--pg-ease, ease); }
#app .onboarding-steps li { padding:4px 0; }
#app .onboarding-steps li.done h3 { color:#6d7a68; }
#app .onboarding-steps li.done p { display:none; }
#app .onboarding-steps li.current h3 { color:var(--ink); }
#app .onboarding-steps .quick-links { margin-top:12px; }
#app .empty-state .small { margin-top:6px; color:var(--muted); }
#app .empty-actions { justify-content:center; margin-top:16px; }
#app .auth-next { display:flex; flex-wrap:wrap; gap:6px 18px; list-style:none; counter-reset:next; padding:14px 0 0; margin:18px 0 0; border-top:1px solid #e4e8dd; font-size:13px; color:var(--muted); }
#app .auth-next li { counter-increment:next; }
#app .auth-next li::before { content:counter(next) " · "; color:var(--action); font-weight:600; }
#app .family-chips { display:flex; flex-wrap:wrap; gap:8px; margin:-6px 0 22px; }
#app .chip { min-height:34px; padding:6px 14px; border:1px solid #dfe5d7; border-radius:999px; background:#fff; color:#5d6c57; font-size:13px; cursor:pointer; }
#app .chip:hover { border-color:#b9cbb0; }
#app .chip[aria-pressed=true] { background:var(--action); border-color:var(--action); color:#fff; }
#app .model-card-top { display:flex; gap:6px; flex-wrap:wrap; }
#app .model-id-row { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:0 0 6px; }
#app .model-id-row code { font-size:12px; color:var(--muted); overflow-wrap:anywhere; }
#app .model-id-row .code-copy { min-height:28px; padding:3px 10px; font-size:11px; }
.secret-dialog .secret-row { display:flex; gap:8px; align-items:stretch; }
.secret-dialog .secret-row input { flex:1; min-width:0; }
.secret-dialog .secret-next { margin-top:18px; border-top:1px solid #e4e8dd; padding-top:14px; }
.secret-dialog .secret-next summary { cursor:pointer; font-weight:600; color:#096c38; min-height:32px; }
.secret-dialog .code-tabs { margin:12px 0 0; border:1px solid #dae2d2; border-radius:12px; overflow:hidden; background:#eef2e8; }
.secret-dialog .code-tabs-bar { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:4px 6px 0; background:#e6ecdf; border-bottom:1px solid #dae2d2; }
.secret-dialog .code-tabs-bar [role=tab] { min-height:34px; padding:6px 12px; border:0; border-bottom:2px solid transparent; background:transparent; color:#5d6c57; font-size:12px; cursor:pointer; }
.secret-dialog .code-tabs-bar [role=tab][aria-selected=true] { color:#096c38; border-bottom-color:#096c38; }
.secret-dialog .code-copy { min-height:30px; margin-bottom:4px; padding:4px 10px; border:1px solid #d6dfcf; border-radius:8px; background:#fff; color:#096c38; font-size:12px; cursor:pointer; }
.secret-dialog .code-block { margin:0; max-height:240px; overflow:auto; padding:14px; font-size:11px; line-height:1.7; white-space:pre; background:#eef2e8; color:#38513a; border:0; border-radius:0; }
.secret-dialog { max-height:calc(100dvh - 32px); overflow:auto; }
@media(max-width:760px) {
 #app .launch-actions { margin-top:20px; }
 #app .base-url code { font-size:12px; }
 #app .stats-grid { grid-template-columns:1fr 1fr; gap:10px; }
 #app .stats-grid .stat:first-child { grid-column:1 / -1; }
 #app .stats-grid .stat:last-child:not(:first-child) { grid-column:auto; }
 #app .stats-grid .stat { padding:14px 16px; }
 #app .stats-grid .stat:not(:first-child) .stat-value { font-size:18px; }
 #app .stats-grid .stat-label { margin-bottom:8px; }
 #app .code-tabs-bar [role=tab] { padding:7px 10px; }
 #app .model-card { padding:18px; }
 #app .model-card h3 { margin:12px 0 4px; font-size:17px; }
 #app .model-prices { display:grid; grid-template-columns:repeat(auto-fit,minmax(0,1fr)); border-top:1px solid #e8ecdf; border-bottom:1px solid #edf0e7; }
 #app .model-prices > div { display:block; padding:10px 0; border-bottom:0; }
 #app .model-prices dd { font-size:14px; }
 #app .model-card footer { padding-top:10px; }
}
#app :where(.auth-aside h1,.page-intro h1,.launch-strip h2) { text-wrap:balance; }
