/* Shared Cangqiong shell for the gateway's complete account/admin workflows. */
[data-slot="sidebar-group"]:has(a[href="/playground"]),.cq-legacy-chat-group{display:none!important}
.cq-retired-navigation,header a[href="/about"],footer a[href="/about"]{display:none!important}
:root{--primary:#5548fa;--primary-foreground:#fff;--ring:#766afc;--radius:.8rem;--background:#f6f7fc;--foreground:#182039;--card:#fff;--card-foreground:#182039;--popover:#fff;--popover-foreground:#182039;--muted:#eff1f8;--muted-foreground:#81899d;--accent:#eeecff;--accent-foreground:#5548fa;--border:#e5e7f0;--input:#e0e3ed;--secondary:#f0f1f8;--secondary-foreground:#39415a;--app-header-height:76px!important;--font-sans:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
.dark{--background:#131525;--foreground:#e8eaf6;--card:#1b1e32;--card-foreground:#e8eaf6;--popover:#22253a;--popover-foreground:#e8eaf6;--muted:#25283e;--muted-foreground:#9da5bd;--accent:#302b53;--accent-foreground:#c2baff;--border:#30344d;--input:#3a3f59;--secondary:#282c43;--secondary-foreground:#d4d8eb}
body{font-family:var(--font-sans);background:var(--background);color:var(--foreground)}
img[src="/cq/logo.svg"]{object-fit:contain}
[data-slot="sidebar-wrapper"]{--sidebar-width:226px!important;--sidebar:#101426;--sidebar-foreground:#a4abc5;--sidebar-primary:#7465ff;--sidebar-primary-foreground:#fff;--sidebar-accent:#272440;--sidebar-accent-foreground:#eeeaff;--sidebar-border:#252a41;--sidebar-ring:#7d70ff;background:var(--background)}
[data-slot="sidebar-wrapper"]>header{height:var(--app-header-height);background:#101426!important;border-bottom:1px solid #252a41;color:#bfc5dc;box-shadow:0 3px 14px #151c3510}
[data-slot="sidebar-wrapper"]>header>div{padding:0 28px;gap:14px}
[data-slot="sidebar-wrapper"]>header [data-slot="sidebar-trigger"]{color:#9aa3c2;flex-shrink:0}
[data-slot="sidebar-wrapper"]>header a:has(img[src="/cq/logo.svg"]){font-size:22px;letter-spacing:1px;font-weight:650;height:auto;padding:0;color:#fff;gap:10px;overflow:visible}
[data-slot="sidebar-wrapper"]>header a:has(img[src="/cq/logo.svg"])>div{width:52px;height:36px;overflow:visible;border-radius:0}
[data-slot="sidebar-wrapper"]>header img[src="/cq/logo.svg"]{width:52px;height:36px;border-radius:0}
header [class*="@container/system-brand"]>button{display:none}
[data-slot="sidebar-wrapper"]>header nav:not(.cq-console-navigation){display:none!important}
[data-slot="sidebar-wrapper"]>header [data-slot="button"]{color:#bec5df;border-color:#3a3f59;border-radius:9px}
[data-slot="sidebar-wrapper"]>header [data-slot="button"]:hover{background:#ffffff0d;color:#fff}
[data-slot="sidebar-wrapper"]>header [data-slot="avatar"]{background:#292d4d;color:#c9c2ff;box-shadow:0 0 0 1px #444467}
.cq-console-navigation{position:absolute;inset-block:0;left:50%;transform:translateX(-50%);display:flex;align-items:stretch;gap:28px;white-space:nowrap}
.cq-console-navigation a{display:flex;align-items:center;position:relative;color:#a5acc6;font-size:13px;font-weight:500;transition:color .15s}
.cq-console-navigation a:hover,.cq-console-navigation a[aria-current="page"]{color:#fff}
.cq-console-navigation a[aria-current="page"]:after{content:"";position:absolute;height:3px;bottom:0;left:0;right:0;background:#8f82ff;border-radius:4px 4px 0 0}
[data-slot="sidebar-container"]{padding:0;border:0!important}
[data-slot="sidebar-inner"]{border-radius:0!important;box-shadow:none!important;border-right:1px solid #252a41;background:#101426;color:#a4abc5}
[data-slot="sidebar-content"]{padding:22px 10px 25px;gap:12px}
[data-slot="sidebar-group"]{padding:4px 5px 12px}
[data-slot="sidebar-group-label"]{color:#646e8e;font-size:10px;letter-spacing:1.6px;font-weight:500;padding:0 12px;height:32px}
[data-slot="sidebar-menu"]{gap:5px}
[data-slot="sidebar-menu-button"]{height:42px;border-radius:9px;padding:10px 12px;color:#a4abc5;font-size:12px;border:1px solid transparent;transition:background .15s,color .15s}
[data-slot="sidebar-menu-button"]:hover{background:#ffffff09;color:#f1efff}
[data-slot="sidebar-menu-button"][data-active="true"]{background:#7465ff20!important;border-color:#7163ff3d;color:#ded8ff!important}
[data-slot="sidebar-menu-button"]>svg{width:18px;height:18px}
[data-slot="sidebar-menu-sub-button"]{font-size:12px;color:#929cba;border-radius:7px}
[data-slot="sidebar-menu-sub-button"][data-active="true"]{background:#7465ff20;color:#ded8ff}
[data-slot="sidebar-menu-sub-button"]:hover{background:#ffffff09;color:#f1efff}
[data-slot="sidebar-menu-sub"]{border-color:#33364e}
[data-slot="sidebar-header"]{padding:20px 16px 8px}
[data-slot="sidebar-inset"]{height:calc(100svh - var(--app-header-height))!important;background:var(--background);border:0;box-shadow:none;margin:0!important;border-radius:0!important}
[data-slot="sidebar-inset"] main>div:first-child{padding:32px 32px 22px}
[data-slot="sidebar-inset"] main>div:first-child h2{font-size:28px;font-weight:650;letter-spacing:-.8px;line-height:1.4}
[data-slot="sidebar-inset"] main>div:nth-child(2){padding-left:32px;padding-right:32px;padding-bottom:32px}
.cq-page-kicker{font-size:10px;letter-spacing:1.7px;line-height:1.5;color:#8175c6;margin-bottom:8px;font-weight:600}
.cq-page-description{color:var(--muted-foreground);font-size:12px;font-weight:400;line-height:1.8;margin-top:7px;white-space:normal}
[data-slot="card"]{border-radius:16px;border:1px solid var(--border);box-shadow:0 3px 16px #18244f03;--tw-ring-color:transparent;overflow:hidden}
[data-slot="card-header"]{padding:23px 25px}
[data-slot="card-title"]{font-size:17px;letter-spacing:-.2px;font-weight:600}
[data-slot="card-description"]{font-size:12px;line-height:1.8}
[data-slot="card-content"]{padding-left:25px;padding-right:25px}
[data-slot="button"]{border-radius:9px;font-weight:500;font-size:12px}
[data-slot="button"][class~="bg-primary"]{box-shadow:0 4px 10px #5548fa12}
[data-slot="input"],[data-slot="textarea"],[data-slot="select-trigger"]{border-radius:9px;box-shadow:none;background:var(--card)}
[data-slot="input"]:focus-visible,[data-slot="textarea"]:focus-visible{border-color:#8a7dff;--tw-ring-color:#8a7dff30}
[data-slot="tabs-list"]{background:var(--muted);border-radius:10px;padding:4px}
[data-slot="tabs-trigger"]{border-radius:7px;font-size:12px}
[data-slot="table-container"]{background:var(--card);border:1px solid var(--border);border-radius:13px}
[data-slot="table-header"]{background:color-mix(in srgb,var(--background),var(--card) 35%)}
[data-slot="table-head"]{font-size:11px;color:var(--muted-foreground);font-weight:500;height:49px}
[data-slot="table-cell"]{padding-top:17px;padding-bottom:17px;font-size:12px}
[data-slot="table-row"]{border-color:var(--border)}
[data-slot="table-body"] [data-slot="table-row"]:hover{background:color-mix(in srgb,var(--accent),transparent 70%)}
[data-slot="dialog-content"],[data-slot="sheet-content"],[data-slot="dropdown-menu-content"],[data-slot="popover-content"]{border-color:var(--border);border-radius:15px;box-shadow:0 18px 65px #12172c20}
[data-slot="dialog-overlay"],[data-slot="sheet-overlay"]{background:#0d112a70;backdrop-filter:blur(4px)}
.cq-studio-link{display:flex;align-items:center;justify-content:center;gap:9px;margin:0 7px 15px;padding:13px 12px;min-height:44px;border-radius:10px;background:#5548fa;color:#fff!important;font-weight:550;font-size:12px;box-shadow:0 6px 18px #050a2d25;text-decoration:none;white-space:nowrap;overflow:hidden}
.cq-studio-link:focus-visible{outline:3px solid #a69aff;outline-offset:3px}.cq-studio-link[hidden]{display:none}
[data-collapsible="icon"] .cq-studio-link{font-size:0;margin-inline:4px;padding-inline:0;min-width:30px}.cq-studio-link:before{content:"+";font-size:20px;font-weight:300;line-height:1}
body[data-cq-section="wallet"] main [class~="grid-cols-3"][class~="divide-x"]{gap:18px;border:0;border-radius:0;background:transparent}
body[data-cq-section="wallet"] main [class~="grid-cols-3"][class~="divide-x"]>div{padding:25px;border:1px solid var(--border);border-radius:15px;background:var(--card)}
body[data-cq-section="wallet"] main [class~="grid-cols-3"][class~="divide-x"]>div:first-child{background:linear-gradient(125deg,#191b39,#30295a);--foreground:#f5f2ff;--muted-foreground:#b1abce;border-color:#393361}
body[data-cq-section="wallet"] main [class~="grid-cols-3"] .font-mono{font-family:var(--font-sans);font-size:30px;font-weight:600;letter-spacing:-1px;margin-top:15px}
body[data-cq-section="wallet"] main [class~="grid-cols-3"][class~="divide-x"]>div:first-child [data-slot="icon-badge"]{background:#ffffff12;color:#beb3ff}
body[data-cq-section="wallet"] main [data-slot="card"]{margin-top:24px}
body[data-cq-section="wallet"] main [data-slot="card"] [data-slot="input"]{min-height:43px}
body[data-cq-section="wallet"] main [data-slot="card"] [data-slot="card-content"]{padding-top:24px;padding-bottom:24px}
@media(min-width:1500px){[data-slot="sidebar-wrapper"]>header>div{padding-inline:34px}[data-slot="sidebar-inset"] main>div:first-child{padding-left:38px;padding-right:38px}[data-slot="sidebar-inset"] main>div:nth-child(2){padding-left:38px;padding-right:38px}}
@media(max-width:1200px){.cq-console-navigation{gap:20px}.cq-console-navigation a{font-size:12px}[data-slot="sidebar-wrapper"]>header>div{padding-inline:16px;gap:8px}[data-slot="sidebar-wrapper"]>header a:has(img[src="/cq/logo.svg"]){font-size:18px}[data-slot="sidebar-wrapper"]>header a:has(img[src="/cq/logo.svg"])>div,[data-slot="sidebar-wrapper"]>header img[src="/cq/logo.svg"]{width:44px;height:32px}}
@media(max-width:1000px){.cq-console-navigation{left:43%;gap:15px}.cq-console-navigation a{font-size:11px}.cq-console-navigation a:first-child{display:none}[data-slot="sidebar-inset"] main>div:first-child{padding:25px 22px 18px}[data-slot="sidebar-inset"] main>div:nth-child(2){padding-inline:22px}}
@media(max-width:760px){:root{--app-header-height:112px!important}[data-slot="sidebar-wrapper"]>header>div{height:64px;gap:5px;padding-inline:12px}[data-slot="sidebar-wrapper"]>header a:has(img[src="/cq/logo.svg"]){font-size:17px;gap:7px}.cq-console-navigation{left:16px;right:16px;bottom:0;top:auto;height:48px;transform:none;justify-content:space-between;gap:12px}.cq-console-navigation a{font-size:11px}.cq-console-navigation a:first-child{display:flex}[data-slot="sidebar-inset"] main>div:first-child{padding:24px 16px 18px}[data-slot="sidebar-inset"] main>div:nth-child(2){padding-inline:16px}[data-slot="sidebar-inset"] main>div:first-child h2{font-size:24px}[data-slot="card-header"]{padding:19px}[data-slot="card-content"]{padding-left:19px;padding-right:19px}body[data-cq-section="wallet"] main [class~="grid-cols-3"][class~="divide-x"]{grid-template-columns:1fr;gap:12px}body[data-cq-section="wallet"] main [class~="grid-cols-3"][class~="divide-x"]>div{padding:20px}body[data-cq-section="wallet"] main [class~="grid-cols-3"] .font-mono{font-size:28px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
[data-slot="sidebar-wrapper"]>header [data-slot="button"]{background:transparent}
.cq-redeem-action{background:#5548fa!important;color:#fff!important;border-color:#5548fa!important;padding-inline:22px!important;box-shadow:0 5px 12px #5548fa18}
.cq-redeem-action:hover:not(:disabled){background:#4838e8!important}
.cq-console-help{display:flex;gap:20px;padding:20px 13px 0;margin:6px 5px 0;border-top:1px solid #ffffff0d;font-size:10px;color:#717c9d}.cq-console-help a:hover{color:#c8c0ff}[data-collapsible="icon"] .cq-console-help{display:none}
body:not(:has([data-slot="sidebar-wrapper"])) header:has([class*="@container/system-brand"]){background:#101426;color:#c4c9dd;height:76px;border-bottom:1px solid #252a41}
body:not(:has([data-slot="sidebar-wrapper"])) header:has([class*="@container/system-brand"])>div{max-width:none!important;margin:0;padding:0 34px!important}
body:not(:has([data-slot="sidebar-wrapper"])) header:has([class*="@container/system-brand"])>div>nav{height:76px!important;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none}
body:not(:has([data-slot="sidebar-wrapper"])) header:has([class*="@container/system-brand"]) a:has(img[src="/cq/logo.svg"]){font-size:22px;font-weight:650;letter-spacing:1px;color:#fff}
body:not(:has([data-slot="sidebar-wrapper"])) header:has([class*="@container/system-brand"]) a:has(img[src="/cq/logo.svg"])>div,body:not(:has([data-slot="sidebar-wrapper"])) header:has([class*="@container/system-brand"]) img[src="/cq/logo.svg"]{width:52px;height:36px;border-radius:0}
body:not(:has([data-slot="sidebar-wrapper"])) header:has([class*="@container/system-brand"]) a,body:not(:has([data-slot="sidebar-wrapper"])) header:has([class*="@container/system-brand"]) button{color:#bfc5dc}
@media(max-width:760px){body:not(:has([data-slot="sidebar-wrapper"])) header:has([class*="@container/system-brand"])>div{padding-inline:12px!important}body:not(:has([data-slot="sidebar-wrapper"])) header:has([class*="@container/system-brand"]) a:has(img[src="/cq/logo.svg"]){font-size:18px}body:not(:has([data-slot="sidebar-wrapper"])) header:has([class*="@container/system-brand"]) img[src="/cq/logo.svg"]{width:43px;height:32px}}

header:has([class*="@container/system-brand"]) a:has(img[src="/cq/logo.svg"])>span{font-size:inherit;letter-spacing:inherit;font-weight:inherit}

[data-slot="sidebar"][data-mobile="true"]{--sidebar:#101426;--sidebar-foreground:#a4abc5;--sidebar-primary:#7465ff;--sidebar-accent:#272440;--sidebar-accent-foreground:#eeeaff;--sidebar-border:#252a41;background:#101426;color:#a4abc5;border-right:1px solid #252a41;border-radius:0}
@media(min-width:761px) and (max-width:1440px){:root{--app-header-height:112px!important}[data-slot="sidebar-wrapper"]>header>div{height:64px}.cq-console-navigation{left:24px;right:24px;top:auto;bottom:0;transform:none;height:48px;justify-content:center;gap:32px}.cq-console-navigation a{font-size:12px}.cq-console-navigation a:first-child{display:flex}}

/* Independent native pages share the same brand, spacing and navigation. */
body{--primary:#5548fa;--primary-foreground:#fff;--ring:#766afc}
.cq-original-navigation{display:none!important}
.cq-public-header{position:relative!important;inset:auto!important;pointer-events:auto!important;height:76px!important;background:#101426!important;z-index:50}
.cq-public-header>div{width:100%;max-width:none!important;padding:0 36px!important;margin:0!important;transition:none!important}
.cq-public-header>div>nav{position:relative;height:76px!important;padding:0!important;gap:16px!important;border:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;transition:none!important}
.cq-public-header [data-slot="button"]{background:transparent;border-color:#3a3f59;color:#bfc5dc;border-radius:9px}
.cq-public-header [data-slot="avatar"]{background:#292d4d;color:#c9c2ff}
.cq-public-navigation{display:flex;position:absolute;inset-block:0;left:50%;transform:translateX(-50%);align-items:stretch;gap:30px;white-space:nowrap}
.cq-public-navigation a{position:relative;display:flex;align-items:center;font-size:13px;font-weight:500;color:#a5acc6!important}
.cq-public-navigation a:hover,.cq-public-navigation a[aria-current="page"]{color:#fff!important}
.cq-public-navigation a[aria-current="page"]:after{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;background:#8f82ff;border-radius:3px 3px 0 0}
.cq-public-layout{background:var(--background)!important}
.cq-public-layout>[class~="relative"]>[aria-hidden][style*="radial-gradient"]{display:none}
.cq-public-page{max-width:1280px!important;padding:48px 32px 60px!important;margin:0 auto!important}
body[data-cq-section="pricing"] .cq-public-page{max-width:1480px!important}
.cq-public-heading{padding-top:0!important;margin:0 auto 32px!important}
body[data-cq-section="pricing"] .cq-public-heading{max-width:760px;text-align:center}
.cq-public-heading h1{font-size:35px!important;line-height:1.3!important;letter-spacing:-1px!important;font-family:var(--font-sans);font-weight:650!important;margin:12px 0!important}
.cq-public-heading p{font-size:13px!important;color:var(--muted-foreground)!important;line-height:1.8}
.cq-public-kicker{display:block;color:#7666cc;font-size:10px;letter-spacing:1.9px;font-weight:650;margin-bottom:10px}
.cq-public-heading input{min-height:43px;background:var(--card)}
.cq-public-page aside{border-color:var(--border);border-radius:15px;padding:19px;top:24px;box-shadow:0 3px 16px #18244f03}
.cq-public-page [data-slot="toggle-group"]{border-radius:9px}
.cq-public-page [data-slot="toggle-group-item"]{border-radius:7px;font-size:11px}
.cq-public-page [data-slot="toggle-group-item"][data-state="on"]{color:#5548fa;background:#eeecff}
body[data-cq-section="pricing"] .cq-public-page [data-slot="card"]:has(h3){gap:0;transition:border-color .15s,box-shadow .15s}
body[data-cq-section="pricing"] .cq-public-page [data-slot="card"]:has(h3):hover{border-color:#c8c2f6;box-shadow:0 7px 24px #322e7010}
body[data-cq-section="pricing"] .cq-public-page [data-slot="card-header"]{min-height:92px;align-content:start;padding:23px 23px 17px}
body[data-cq-section="pricing"] .cq-public-page [data-slot="card-header"] h3{font-family:var(--font-sans);font-size:15px;line-height:1.6;font-weight:600}
body[data-cq-section="pricing"] .cq-public-page [data-slot="card-content"]{padding:0 23px 18px;gap:18px}
body[data-cq-section="pricing"] .cq-public-page [aria-label="定价"],body[data-cq-section="pricing"] .cq-public-page [aria-label="Pricing"]{padding:17px 0 3px;border-top:1px solid var(--border);min-height:92px}
body[data-cq-section="pricing"] .cq-public-page [data-slot="card-footer"]{padding:0 23px 19px}
body[data-cq-section="pricing"] .cq-public-page [data-slot="card-footer"] button{background:#eeecff;color:#5548fa;padding-inline:15px}
body[data-cq-section="pricing"] .cq-public-page [data-slot="card-footer"] button:hover{background:#e1ddff}
body[data-cq-section="pricing"] [data-slot="sheet-content"]{--primary:#5548fa;--ring:#766afc}
body[data-cq-section="rankings"] .cq-public-page [class~="rounded-xl"][class~="border"]{border-radius:16px;border-color:var(--border);box-shadow:0 3px 16px #18244f03}
body[data-cq-section="rankings"] .cq-public-page h2,body[data-cq-section="rankings"] .cq-public-page h3{font-family:var(--font-sans);font-weight:600}

/* Authentication retains the native forms and validation in a branded frame. */
.cq-auth-layout{display:grid!important;grid-template-columns:minmax(360px,45%) minmax(0,1fr);min-height:100svh;height:auto!important;background:var(--background)}
.cq-auth-layout>a:first-of-type{left:38px;top:30px;color:#fff;font-size:22px;gap:12px}
.cq-auth-layout>a:first-of-type>div{width:52px;height:36px}
.cq-auth-layout>a:first-of-type img{width:52px;height:36px;border-radius:0;object-fit:contain}
.cq-auth-layout>a:first-of-type h1{font-size:22px;font-weight:650;letter-spacing:1px}
.cq-auth-story{position:relative;background:#101426;color:#fff;padding:150px 55px 42px;display:flex;flex-direction:column;justify-content:center;overflow:hidden;min-height:100svh}
.cq-auth-story:before{content:"";position:absolute;left:-80px;right:-160px;bottom:-200px;height:500px;border:1px solid #887cff55;border-radius:50%;box-shadow:0 -15px 100px #6855dd20,0 -2px 20px #a69bff20;transform:rotate(-18deg);pointer-events:none}
.cq-auth-story-content{position:relative;max-width:440px;margin:auto 0}
.cq-auth-eyebrow{font-size:10px;letter-spacing:2px;color:#afa4f4}
.cq-auth-story h2{font-size:clamp(32px,3vw,48px);font-weight:600;line-height:1.45;letter-spacing:-1px;margin:25px 0}
.cq-auth-story p{font-size:13px;color:#9da5c2;line-height:2.1}
.cq-auth-capabilities{display:flex;gap:12px;flex-wrap:wrap;margin-top:35px}
.cq-auth-capabilities span{padding:9px 13px;border:1px solid #ffffff1c;border-radius:8px;font-size:11px;color:#c4c3df}
.cq-auth-story>small{position:relative;font-size:10px;color:#767f9e;letter-spacing:1px}
.cq-auth-stage{width:100%!important;max-width:none!important;margin:0!important;padding:95px 30px 55px!important;justify-content:center}
.cq-auth-stage>div{width:100%!important;max-width:450px!important;padding:38px!important;border:1px solid var(--border);border-radius:18px;background:var(--card);box-shadow:0 10px 50px #19244d05}
.cq-auth-stage h2{font-size:27px;letter-spacing:-.5px;margin-bottom:12px;text-align:left}
.cq-auth-stage p{font-size:12px;line-height:1.9}
.cq-auth-stage form input{min-height:44px}
.cq-auth-stage form button[type="submit"]{min-height:44px;background:#5548fa;color:#fff;box-shadow:0 5px 12px #5548fa15}
.cq-auth-stage form button[type="submit"]:hover{background:#4838e8}
.cq-auth-stage a{color:#6455d2}
.cq-native-error{background:var(--background)}
.cq-error-brand{position:absolute;top:0;left:0;right:0;height:76px;padding:0 36px;display:flex;align-items:center;gap:12px;background:#101426;color:white;font-size:22px;font-weight:650;letter-spacing:1px;z-index:10}
.cq-error-brand img{width:52px;height:36px;object-fit:contain}
.cq-native-error #root>.h-svh{padding:100px 24px 30px;min-height:100svh;height:auto}
.cq-native-error #root>.h-svh>div{min-height:calc(100svh - 130px);max-width:620px;margin:auto}
.cq-native-error #root>.h-svh h1{font-family:var(--font-sans);color:#8c80d2;font-weight:550;font-size:88px}
.cq-native-error #root>.h-svh p{font-size:13px;line-height:1.9}
@media(min-width:1500px){.cq-public-header>div{padding-inline:48px!important}.cq-auth-story{padding-inline:75px}}
@media(max-width:1200px){.cq-public-navigation{gap:22px;left:46%}.cq-public-navigation a{font-size:12px}.cq-public-header>div{padding-inline:22px!important}.cq-auth-story{padding-inline:35px}.cq-auth-layout{grid-template-columns:42% minmax(0,1fr)}}
@media(max-width:900px){.cq-auth-layout{grid-template-columns:1fr}.cq-auth-story{display:none}.cq-auth-layout>a:first-of-type{left:24px;top:24px;color:var(--foreground)}.cq-auth-stage{min-height:100svh;padding:100px 24px 40px!important}.cq-public-navigation{gap:18px;left:47%}.cq-public-navigation a{font-size:11px}}
@media(max-width:760px){.cq-public-header{height:112px!important}.cq-public-header>div{padding:0 16px!important}.cq-public-header>div>nav{height:64px!important}.cq-public-navigation{left:0;right:0;top:64px;bottom:auto;height:48px;transform:none;justify-content:space-between;gap:10px}.cq-public-navigation a{font-size:11px}.cq-public-page{padding:28px 18px 40px!important}.cq-public-heading{margin-bottom:25px!important}.cq-public-heading h1{font-size:28px!important}.cq-public-heading p{font-size:12px!important}.cq-public-kicker{font-size:9px}.cq-auth-stage>div{padding:27px 23px!important}.cq-auth-stage h2{font-size:25px}.cq-error-brand{padding-inline:20px;font-size:19px}.cq-error-brand img{width:44px}.cq-native-error #root>.h-svh h1{font-size:72px}}
@media(prefers-reduced-motion:reduce){.cq-public-header *{transition:none!important}}
/* Split and virtual tables use their own scroll wrappers. */
.cq-pricing-settings-link{display:inline-flex;align-items:center;margin-top:10px;font-size:12px;font-weight:600;color:var(--primary)}
body[data-cq-section="models"] [data-slot="table-cell"]:nth-child(2) button[title] .truncate{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-family:inherit;font-weight:600;text-align:left;line-height:1.5}
[data-slot="sidebar-inset"] main .overflow-hidden.border:has([data-slot="table"]){background:var(--card);border-color:var(--border);border-radius:13px;box-shadow:0 3px 16px #18244f03}
[data-slot="sidebar-inset"] [data-slot="table"]{--table-header:color-mix(in srgb,var(--background),var(--card) 35%);--table-header-bg:var(--table-header)}
[data-slot="sidebar-inset"] [data-slot="table-body"]{background:var(--card)}
.cq-profile-heading{padding-bottom:0!important}
body[data-cq-section="profile"] [data-slot="sidebar-inset"] main>div:nth-child(2){padding-top:22px}
[data-slot="data-table-card"]{background:var(--card);border-color:var(--border);border-radius:15px;padding:19px;box-shadow:0 3px 16px #18244f03}
[data-slot="data-table-card"]:hover{border-color:#ccc6ef}
[data-slot="data-table-card"][data-state="selected"]{background:color-mix(in srgb,var(--primary) 7%,var(--card));border-color:#9d91ef}
body[data-cq-section="system-settings"] [data-slot="sidebar-inset"] main form.grid{padding:25px;border:1px solid var(--border);border-radius:15px;background:var(--card);box-shadow:0 3px 16px #18244f03}
body[data-cq-section="system-settings"] [data-slot="sidebar-inset"] main [data-slot="form-label"]{font-size:12px;font-weight:550}
body[data-cq-section="system-settings"] [data-slot="sidebar-inset"] main [data-slot="form-description"]{font-size:11px;line-height:1.8}
@media(max-width:760px){[data-slot="data-table-card"]{padding:16px}body[data-cq-section="system-settings"] [data-slot="sidebar-inset"] main form.grid{padding:19px 17px}}
.cq-public-heading:has(h1)>div:has(>h1){flex-wrap:wrap;row-gap:7px}
.cq-public-heading:has(h1)>div>h1{min-width:0;overflow-wrap:anywhere}
body[data-cq-section="pricing"] .cq-public-page main .cq-public-heading{text-align:left}
.cq-mobile-navigation{display:flex;flex-direction:column;gap:9px;padding-block:16px}
.cq-mobile-navigation a{padding:12px 15px;border-radius:10px;font-size:16px;color:var(--foreground)}
.cq-mobile-navigation a[aria-current="page"]{background:var(--accent);color:var(--accent-foreground)}
body[data-cq-section="pricing"] main.cq-public-page .cq-public-heading{text-align:left}
.cq-mobile-menu>a{display:none!important}
.cq-mobile-menu{padding-top:32px}

/* Video reference inputs are route-specific catalog capabilities. */
.reference-badges{display:flex;flex-wrap:wrap;gap:6px;line-height:1.7}
.reference-badges>span{display:inline-block;padding:4px 8px;border:1px solid #e1def2;background:#f4f2fc;color:#6e628b;border-radius:7px;font-size:10px;white-space:normal;overflow-wrap:anywhere}
.reference-notice{background:#f8f7fd;border:1px solid #e5e1f2;border-radius:12px;padding:15px 16px;margin:0 0 20px;color:#514965;font-size:12px;line-height:1.8;min-width:0;text-align:left}
.reference-notice>strong{display:block;margin-bottom:10px;font-size:12px;font-weight:600;color:#49415e}
.reference-notice p{font-size:11px;line-height:1.9;margin:9px 0 0;color:#7b728a}
.reference-notice .reference-availability{color:#7e778b}.model-reference-label{display:block;font-size:10px;line-height:1.8;color:var(--muted,#81899d);margin-top:5px;white-space:normal}
.cq-model-references{min-width:0;width:100%}.cq-public-heading>.cq-model-references{margin-top:18px}
[data-slot="card-content"]>.cq-model-references{margin-bottom:4px}
.pricecard>.reference-badges{margin-top:-4px}.pricecard:has(.reference-badges)>p{min-height:0}
@media(max-width:760px){.reference-notice{padding:13px 14px}.reference-badges{gap:5px}.reference-badges>span{font-size:10px;padding:4px 7px}}

/* Duration-aware retail quotes, shared by the catalog and model details. */
.video-pricing{min-width:0;color:#20253e;grid-column:1/-1;text-align:left}
.video-pricing>strong,.price-details .video-pricing>strong{display:block;font-size:13px;line-height:1.6;margin:0 0 12px;color:#302454}
.video-price-spec{padding:11px 0;border-top:1px solid #e7e4f1}
.video-price-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:13px;flex-wrap:wrap}
.video-price-heading b,.price-details .video-price-heading b{margin:0;color:#22263d;font-size:13px}
.video-price-heading>span{color:#6030d9;font-weight:650}
.video-supported-duration{font-size:12px;line-height:1.6;color:#757c91;margin:5px 0 8px}
.video-price-examples{display:flex;flex-wrap:wrap;gap:7px}
.video-price-examples>span{display:inline-flex;align-items:baseline;gap:5px;padding:5px 8px;border-radius:7px;background:#f1edff;color:#666681;font-size:11px}
.video-price-examples b,.price-details .video-price-examples b{font-size:12px;color:#6030d9;margin:0;white-space:nowrap}
.video-quote-note{font-size:10px;line-height:1.65;color:#83899a;margin:10px 0 0}
.video-cost-table-wrap{max-width:100%;overflow:auto;margin-top:14px}
.video-cost-table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}
.video-cost-table caption{text-align:left;font-weight:600;color:#35314b;margin-bottom:8px}
.video-cost-table th,.video-cost-table td{padding:9px 12px;border-bottom:1px solid #e7e4f1;text-align:left}
.video-cost-table thead{background:#f2eeff;color:#4b3577}
.video-cost-table tbody th{font-weight:500;color:#757c91}
.video-price-estimate{display:flex;flex-direction:column;gap:7px;margin:12px 0 16px;padding:15px 16px;background:#f2edff;border:1px solid #e0d8f6;border-radius:12px;font-size:12px;color:#666681}
.video-price-estimate strong{font-size:18px;line-height:1.5;color:#6030d9}
.video-price-estimate small{font-size:11px;color:#83899a}
.model-duration-label{display:block;white-space:normal;font-size:10px!important;line-height:1.7;color:#6e7089;margin-top:6px}
.video-duration-hint{font-size:12px;line-height:1.7;color:#666681;margin:12px 0}
.generation .video-pricing{padding:14px 16px;border:1px solid #e0d8f6;border-radius:12px;background:#fcfaff;margin:16px 0}
@media(max-width:600px){.video-price-heading{font-size:12px}.video-cost-table th,.video-cost-table td{padding:8px}.video-price-examples{gap:6px}.video-price-examples>span{font-size:10px}}
