/* EksxAI workspace / 2026-11-12. Component tokens keep native behavior intact. */
:root, :root[data-theme-preset] {
  --background:#f7f8f4!important; --foreground:#172d2a!important;
  --card:#ffffff!important; --card-foreground:#172d2a!important;
  --popover:#ffffff!important; --popover-foreground:#172d2a!important;
  --primary:#225e47!important; --primary-foreground:#ffffff!important;
  --secondary:#e7eee7!important; --secondary-foreground:#224d3c!important;
  --muted:#eef2eb!important; --muted-foreground:#687774!important;
  --accent:#e5f2e8!important; --accent-foreground:#194b37!important;
  --border:#dfe5df!important; --input:#d5dfd6!important; --ring:#599e79!important;
  --sidebar:#f0f3ed!important; --sidebar-foreground:#3f564c!important;
  --sidebar-primary:#225e47!important; --sidebar-primary-foreground:#fff!important;
  --sidebar-accent:#d9eadc!important; --sidebar-accent-foreground:#194b37!important;
  --sidebar-border:#dfe5df!important; --sidebar-ring:#599e79!important;
  --chart-1:#225e47!important; --chart-2:#6baf87!important; --chart-3:#3b8090!important;
  --chart-4:#ad8c4f!important; --chart-5:#9b7c9c!important;
  --overview-accent:#225e47!important; --overview-accent-1:#225e47!important; --overview-accent-2:#77b894!important;
  --radius:.6rem!important; --eksx-dark:#102725; --eksx-mint:#b6efc8;
}
.dark, .dark[data-theme-preset] {
  --background:#0f201e!important; --foreground:#e5eee5!important;
  --card:#172d28!important; --card-foreground:#e5eee5!important;
  --popover:#1b342d!important; --popover-foreground:#e5eee5!important;
  --primary:#b6efc8!important; --primary-foreground:#102725!important;
  --secondary:#29453a!important; --secondary-foreground:#d1e7d7!important;
  --muted:#20382f!important; --muted-foreground:#9db3a7!important;
  --accent:#294d3c!important; --accent-foreground:#c9f2d4!important;
  --border:#30483e!important; --input:#3b574a!important; --ring:#8bc9a1!important;
  --sidebar:#122821!important; --sidebar-foreground:#b6cbbd!important;
  --sidebar-primary:#b6efc8!important; --sidebar-primary-foreground:#102725!important;
  --sidebar-accent:#294d3c!important; --sidebar-accent-foreground:#d6f5de!important;
  --sidebar-border:#30483e!important; --sidebar-ring:#8bc9a1!important;
  --chart-1:#b6efc8!important; --chart-2:#81c8a0!important; --chart-3:#81b9ca!important;
  --chart-4:#d0b273!important; --chart-5:#bba2c0!important;
  --overview-accent:#b6efc8!important; --overview-accent-1:#b6efc8!important; --overview-accent-2:#81c8a0!important;
}
html,body {font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif!important; -webkit-font-smoothing:antialiased;}
::selection{background:#b6efc8;color:#102725}
body{background:var(--background)}
button,a,input,textarea,select{touch-action:manipulation}
a,button,input{transition-duration:160ms}
[data-slot="card"]{box-shadow:0 1px 3px #10272505; --tw-ring-color:var(--border)!important}
[data-slot="input"],input[type="text"],input[type="email"],input[type="password"]{border-radius:8px}
/* Only the global navigation, never the pricing hero or modal headers. */
header.fixed{background:color-mix(in srgb,var(--background) 95%,transparent);border-bottom:1px solid var(--border);backdrop-filter:blur(16px)}
header.fixed>div{max-width:1440px!important;padding-top:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
header.fixed nav{height:72px!important}
header a[aria-current="page"]{background:var(--accent);color:var(--accent-foreground)!important}
header.sticky{background:var(--card)!important;border-bottom:1px solid var(--border)}
header img[alt="logo"],header img[alt="徽标"],.eksx-auth-logo{content:url('/eksx-assets/logo.svg')}
header button[aria-label^="系统更新"]{opacity:.65}
[data-slot="sidebar-inner"]{background:var(--sidebar)!important}
[data-slot="sidebar-group-label"]{letter-spacing:.08em;font-size:10px;color:var(--muted-foreground)}
[data-slot="sidebar-menu-button"]{border-radius:7px}
[data-slot="sidebar-menu-button"][data-active="true"]{background:var(--sidebar-accent)!important;color:var(--sidebar-accent-foreground)!important;font-weight:650;box-shadow:inset 3px 0 var(--primary)}
[data-slot="sidebar-inset"]{border:1px solid var(--border);box-shadow:none!important}
/* Model catalogue: a clear search hero and calm, readable cards. */
[data-eksx-page="pricing"] .eksx-catalogue-shell{max-width:1440px!important;padding-top:100px!important}
[data-eksx-page="pricing"] .eksx-catalogue-shell::before,[data-eksx-page="pricing"] .eksx-catalogue-shell::after{display:none!important}
[data-eksx-page="pricing"] #root>div>div.pointer-events-none.absolute{background-image:none!important}
[data-eksx-page="pricing"] .eksx-catalogue-shell>div[aria-hidden="true"]{display:none}
.eksx-catalogue-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.72fr);column-gap:60px;max-width:none!important;margin:0 0 24px!important;padding:32px 36px!important;border-radius:14px;text-align:left!important;background:#102725;color:#fff;overflow:hidden;border:1px solid #294c3d}
.eksx-catalogue-hero::before{content:"MODEL LIBRARY / 模型目录";grid-column:1;font:10px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:1.8px;color:#b6efc8;margin-bottom:15px}
.eksx-catalogue-hero h1{grid-column:1;font-size:34px!important;font-weight:600!important;letter-spacing:-1.2px;background:none!important;color:#f4faf1!important;-webkit-text-fill-color:currentColor!important}
.eksx-catalogue-hero>p{grid-column:1;color:#b6cbbd!important;font-size:13px!important;margin-left:0!important;max-width:520px;line-height:1.8}
.eksx-catalogue-hero>p:first-of-type{color:#d8e9db!important;margin-top:12px!important}
.eksx-catalogue-hero>div.relative{grid-column:1;margin:22px 0 0!important;width:100%;max-width:600px}
.eksx-catalogue-hero input{background:#fff!important;color:#172d2a!important;border-color:#fff!important;height:44px!important;font-size:13px!important}
.eksx-catalogue-hero input::placeholder{color:#78867d!important}
.eksx-catalogue-hero>div.relative>svg{color:#687774!important}
.eksx-catalogue-hero kbd{background:#eef2eb!important;border-color:#dfe5df!important;color:#687774!important}
.eksx-connect{grid-column:2;grid-row:1 / span 5;align-self:center;padding:22px 24px;border:1px solid #426253;border-radius:10px;background:#19372d}
.eksx-connect-label{font:10px/1.5 ui-monospace,Consolas,monospace;letter-spacing:1.6px;color:#a3bcae;margin-bottom:13px}
.eksx-connect-title{font-size:17px;font-weight:550;color:#ecf7ed;margin-bottom:8px}
.eksx-connect p{font-size:12px;line-height:1.8;color:#adc5b5;margin:0}
.eksx-endpoint{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 0;margin-top:7px;border-bottom:1px solid #426253}
.eksx-endpoint code{font:12px/1.5 ui-monospace,Consolas,monospace;color:#c9efd2;overflow-wrap:anywhere}
.eksx-copy{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:32px;padding:4px 8px;background:#b6efc8;color:#102725;border:0;border-radius:5px;font-size:11px;cursor:pointer}
.eksx-copy:hover{background:#d4f8df}.eksx-copy:focus-visible{outline:2px solid white;outline-offset:3px}
.eksx-connect-links{display:flex;flex-wrap:wrap;gap:20px;margin-top:15px}
.eksx-connect-links a{font-size:12px;color:#d3ebd8;text-decoration:none}
.eksx-connect-links a:hover{color:#b6efc8;text-decoration:underline;text-underline-offset:4px}
[data-eksx-page="pricing"] aside{padding:18px!important;border-radius:10px!important;top:88px!important}
[data-eksx-page="pricing"] main>[class*="bg-card"]{border-radius:10px;padding:12px 16px}
[data-eksx-page="pricing"] [data-slot="card"]{border-radius:10px!important;transition:border-color .16s,box-shadow .16s}
[data-eksx-page="pricing"] [data-slot="card"]:hover{--tw-ring-color:#93b69f!important;box-shadow:0 6px 18px #10272508}
[data-eksx-page="pricing"] [data-slot="card-header"]{padding-top:3px}
[data-eksx-page="pricing"] [data-slot="card-header"] h3{font-size:13px!important;line-height:1.5!important;letter-spacing:-.2px}
[data-eksx-page="pricing"] [data-slot="card-content"]>[role="group"]{background:var(--background);border:1px solid var(--border);border-radius:7px;padding:11px 12px}
[data-eksx-page="pricing"] [data-slot="card-content"]>[role="group"] .font-semibold{color:var(--primary)}
[data-eksx-page="pricing"] [data-slot="card-footer"]{padding-top:2px;padding-bottom:14px}
[data-eksx-page="pricing"] [data-slot="toggle-group-item"][aria-pressed="true"]{background:var(--accent)!important;color:var(--accent-foreground)!important}
/* Native form and table components, including validation colors, stay functional. */
[data-eksx-page="auth"]{background:var(--background)}
[data-eksx-page="auth"] [data-slot="card"]{border-radius:14px!important;box-shadow:0 16px 50px #10272508;border:1px solid var(--border)}
[data-eksx-page="auth"] input{min-height:42px;background:var(--card)}
.eksx-auth-logo{border-radius:8px!important}
.eksx-auth-shell{min-height:100svh;height:auto!important}
.eksx-auth-layout{display:grid!important;grid-template-columns:1fr 1fr;gap:24px;width:min(1120px,calc(100% - 64px))!important;max-width:1120px!important;margin:auto;padding:112px 0 64px!important;align-items:stretch!important}
.eksx-auth-story{display:flex;flex-direction:column;justify-content:center;border-radius:14px;background:#102725;padding:48px;color:#d4e6d6;min-height:600px}
.eksx-auth-story h2{font-size:46px;font-weight:550;line-height:1.3;letter-spacing:-1.7px;margin:18px 0 20px;color:#fff}
.eksx-auth-story h2 span{color:#b6efc8}
.eksx-auth-story>p{font-size:13px;line-height:1.9;color:#adc5b5}
.eksx-auth-story ol{list-style:none;padding:0;margin:36px 0;display:grid;gap:22px}
.eksx-auth-story li{display:flex;gap:18px;align-items:start;font-size:13px}
.eksx-auth-story li b{font:11px/1.5 ui-monospace,Consolas,monospace;color:#a1c6ae;border:1px solid #426253;padding:4px 6px;border-radius:4px}
.eksx-auth-story li small{display:block;color:#93afa0;font-size:11px;line-height:1.7;margin-top:4px}
.eksx-auth-story>a{color:#c3e8cc;font-size:12px;text-decoration:none;align-self:start;border-bottom:1px solid #426253;padding-bottom:4px}
.eksx-auth-form{width:100%!important;max-width:520px;margin:0!important;padding:40px!important;background:var(--card);border:1px solid var(--border);border-radius:14px;align-self:stretch}
.eksx-auth-form h2{text-align:left!important;font-size:25px}
.eksx-auth-form form button[type="submit"]{min-height:42px}
.eksx-auth-form form{gap:18px}
@media(max-width:900px){.eksx-auth-layout{grid-template-columns:.9fr 1fr;gap:18px}.eksx-auth-story{padding:30px}.eksx-auth-story h2{font-size:36px}.eksx-auth-form{padding:30px!important}}
@media(max-width:640px){.eksx-auth-layout{display:flex!important;flex-direction:column;width:calc(100% - 32px)!important;padding:88px 0 32px!important;gap:16px}.eksx-auth-story{min-height:0;padding:23px;display:block;border-radius:10px}.eksx-auth-story .eksx-connect-label{font-size:9px}.eksx-auth-story h2{font-size:28px;line-height:1.3;margin:12px 0 10px}.eksx-auth-story h2 br{display:none}.eksx-auth-story>p{font-size:11px}.eksx-auth-story ol{display:none}.eksx-auth-story>a{display:inline-block;margin-top:17px;font-size:11px}.eksx-auth-form{max-width:none;border-radius:10px;padding:24px!important}.eksx-auth-form form{gap:16px}.eksx-auth-form input{font-size:16px!important}}
[data-slot="table-header"]{background:var(--muted)}
[data-slot="table-head"]{color:var(--muted-foreground);font-size:12px}
[data-slot="dialog-content"],[data-slot="sheet-content"]{border-color:var(--border)}
@media(min-width:1280px){[data-eksx-page="pricing"] .eksx-catalogue-shell>div.grid{grid-template-columns:240px minmax(0,1fr)!important;gap:20px!important}}
@media(max-width:900px){.eksx-catalogue-hero{column-gap:24px;padding:26px!important;grid-template-columns:minmax(0,1fr) minmax(260px,.8fr)}.eksx-connect{padding:18px}.eksx-catalogue-hero h1{font-size:30px!important}}
@media(max-width:640px){
  header.fixed nav{height:64px!important}
  [data-eksx-page="pricing"] .eksx-catalogue-shell{padding-top:80px!important}
  .eksx-catalogue-hero{display:flex;flex-direction:column;padding:23px 20px!important;border-radius:10px;gap:0}
  .eksx-catalogue-hero::before{font-size:9px;margin-bottom:12px}
  .eksx-catalogue-hero h1{font-size:28px!important}
  .eksx-catalogue-hero>p{font-size:12px!important}
  .eksx-catalogue-hero>div.relative{margin-top:18px!important}
  .eksx-connect{width:100%;padding:16px;margin-top:22px;border-radius:7px}
  .eksx-connect-label{font-size:9px;margin-bottom:8px}.eksx-connect-title{font-size:15px}
  .eksx-connect p{font-size:11px}.eksx-endpoint code{font-size:11px}
  [data-eksx-page="pricing"] [data-slot="card-header"] h3{font-size:14px!important}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:0s!important;animation-duration:0s!important}}
