/* Vibi presentation layer for New API v1.0.0-rc.51. Native functionality and attribution are retained. */
@font-face{font-family:'Vibi Lora';src:url('/vibi-assets/assets/lora-latin-wght-normal.f60a385cfb.woff2') format('woff2');font-weight:400 700;font-display:swap}
@font-face{font-family:'Vibi Lora';src:url('/vibi-assets/assets/lora-vietnamese-wght-normal.19149cdf69.woff2') format('woff2');font-weight:400 700;font-display:swap;unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
:root,body:not([data-theme-preset]){
  --font-ui-sans:'Vibi Lora','PingFang SC','Microsoft YaHei',Georgia,serif;
  --font-sans:var(--font-ui-sans);
  --background:#f0eee8;--foreground:#292b36;--card:#fffffff0;--card-foreground:#292b36;
  --popover:#fffdf9;--popover-foreground:#292b36;--primary:#87446d;--primary-foreground:#fff8f1;
  --secondary:#eae3e7;--secondary-foreground:#633b54;--muted:#eae7e4;--muted-foreground:#73727c;
  --accent:#eee2e9;--accent-foreground:#713952;--border:#8e718725;--input:#94778a36;--ring:#a36c91;
  --sidebar:#fffdf3c9;--sidebar-foreground:#4a414a;--sidebar-primary:#87446d;--sidebar-primary-foreground:#fff8f1;
  --sidebar-accent:#e9dbe7a8;--sidebar-accent-foreground:#753c60;--sidebar-border:#94778a24;--sidebar-ring:#a36c91;
}
html.dark,html.dark body:not([data-theme-preset]){
  --background:#1d2029;--foreground:#f3eeed;--card:#282734eb;--card-foreground:#f3eeed;
  --popover:#292733;--popover-foreground:#f3eeed;--primary:#d5a4c5;--primary-foreground:#392238;
  --secondary:#413442;--secondary-foreground:#f5e4ef;--muted:#373340;--muted-foreground:#b5acb8;
  --accent:#483747;--accent-foreground:#f4e7f0;--border:#e8cae324;--input:#d2b5ce40;--ring:#d5a4c5;
  --sidebar:#252431dc;--sidebar-foreground:#ebe1e8;--sidebar-primary:#d5a4c5;--sidebar-primary-foreground:#392238;
  --sidebar-accent:#5b3e595e;--sidebar-accent-foreground:#f2dced;--sidebar-border:#e8cae324;
}
body{background:linear-gradient(#f8f4ed42,#f0eee866),url('/vibi-assets/assets/flower-poster.a7050e5745.webp') center/cover fixed;color:var(--foreground);font-family:var(--font-ui-sans);-webkit-font-smoothing:antialiased}
html.dark body{background-image:linear-gradient(#171926c9,#171926d9),url('/vibi-assets/assets/flower-poster.a7050e5745.webp')}
body #root .min-h-svh.bg-background,[data-slot='sidebar-wrapper'],[data-slot='sidebar-inset']{background:transparent}
[data-slot='sidebar-inner']{backdrop-filter:blur(24px);border-color:var(--sidebar-border)}
[data-slot='sidebar-inset']>header{background:color-mix(in srgb,var(--card) 85%,transparent);backdrop-filter:blur(20px);border-color:var(--border)}
header.sticky.top-0.z-40{background:color-mix(in srgb,var(--card) 87%,transparent);backdrop-filter:blur(22px);border-bottom:1px solid var(--border)}
[data-slot='card']{border-radius:20px;backdrop-filter:blur(18px);box-shadow:0 8px 30px -20px #59405430;--tw-ring-color:var(--border)}
[data-slot='card-header']{border-radius:20px 20px 0 0}
[data-slot='card-footer']{border-radius:0 0 20px 20px}
[data-slot='button']{transition:background-color .18s,color .18s,box-shadow .18s,transform .18s}
[data-slot='button']:active:not(:disabled){transform:translateY(1px)}
[data-slot='dialog-content'],[data-slot='sheet-content']{border-color:var(--border);background:var(--popover)}
/* Floating public navigation follows the reference, keeping the native menu and profile controls. */
header.pointer-events-none>div{max-width:1280px;padding:16px 24px 0}
header.pointer-events-none nav{height:56px;padding:0 16px;border:1px solid #fff9;background:#fffdf5c9;border-radius:15px;box-shadow:0 8px 30px #62446e0c;backdrop-filter:blur(24px)}
html.dark header.pointer-events-none nav{background:#292b39d4;border-color:#f1e2ee25}
header.pointer-events-none nav a{font-size:12px}
/* Pricing remains backed by the native model catalogue. */
div.max-w-\[1800px\]>header{max-width:none;text-align:left;padding:34px 38px;margin:16px 0 24px;background:color-mix(in srgb,var(--card) 85%,transparent);border:1px solid var(--border);border-radius:24px;backdrop-filter:blur(22px)}
div.max-w-\[1800px\]>header h1{font-size:36px;font-weight:500}
div.max-w-\[1800px\]>header p{margin-left:0;max-width:850px}
div.max-w-\[1800px\]>header>div{margin-left:0}
/* The universe homepage is dark in both colour modes, as in the reference. */
body:has(iframe[src*='/vibi-assets/home.html']){background:#10242b}
body:has(iframe[src*='/vibi-assets/home.html']) header.pointer-events-none nav{background:#173b3c9e;color:#f0edda;border:1px solid #d2e2c92e;box-shadow:0 4px 25px #05252e20;--foreground:#f0edda;--muted-foreground:#dbdfce;--primary:#e5e8cf;--primary-foreground:#2b4039;--accent:#cfdeca20;--accent-foreground:#f0edda;--border:#c5d9c32e}
body:has(iframe[src*='/vibi-assets/home.html']) iframe{display:block;height:100svh;width:100%;border:0;color-scheme:dark}
@media(max-width:640px){header.pointer-events-none>div{padding:12px 12px 0}header.pointer-events-none nav{height:52px;padding:0 12px;border-radius:13px}div.max-w-\[1800px\]>header{padding:24px 20px;margin-top:22px}div.max-w-\[1800px\]>header h1{font-size:28px}[data-slot='card']{border-radius:16px}}
@media(prefers-reduced-motion:reduce){[data-slot='button']{transition:none}}

/* Limited readability repair. The original cosmic/flower identity stays intact. */
:root,body:not([data-theme-preset]){--vibi-work-surface:#fffdfa;--vibi-work-muted:#f2eeef;--vibi-work-text:#292b36;--vibi-work-secondary:#605a65}
html.dark,html.dark body:not([data-theme-preset]){--vibi-work-surface:#262632;--vibi-work-muted:#33313f;--vibi-work-text:#f3eeed;--vibi-work-secondary:#bfb7c5}
body{background:#f0eee8;isolation:isolate}
html.dark body{background:#1d2029}
body:before{content:'';position:fixed;inset:-3%;z-index:-1;pointer-events:none;background:linear-gradient(#f8f4ed42,#f0eee866),url('/vibi-assets/assets/flower-poster.a7050e5745.webp') center/cover no-repeat;animation:vibi-landscape-drift 28s ease-in-out infinite alternate;will-change:transform}
html.dark body:before{background-image:linear-gradient(#171926c9,#171926d9),url('/vibi-assets/assets/flower-poster.a7050e5745.webp')}
body:has([data-vibi-home]):before{display:none}
[data-slot='sidebar-wrapper']{--card:var(--vibi-work-surface);--card-foreground:var(--vibi-work-text);--foreground:var(--vibi-work-text);--muted-foreground:var(--vibi-work-secondary)}
/* Paint the workspace itself: charts and summary rows need not use Card. */
[data-slot='sidebar-inset'],[data-vibi-workspace]{background:var(--vibi-work-surface);color:var(--vibi-work-text);backdrop-filter:none}
[data-vibi-workspace]{--background:var(--vibi-work-surface);--card:var(--vibi-work-surface);--muted:var(--vibi-work-muted);--foreground:var(--vibi-work-text);--card-foreground:var(--vibi-work-text);--muted-foreground:var(--vibi-work-secondary)}
[data-vibi-workspace] [data-slot='table-cell']{background:var(--vibi-work-surface)}
[data-vibi-workspace] [data-slot='table-head']{background:var(--vibi-work-muted);color:var(--vibi-work-text)}
[data-slot='sidebar-wrapper'] [data-slot='card'],[data-slot='sidebar-wrapper'] [data-slot='sidebar-inner']{background:var(--vibi-work-surface);backdrop-filter:none}
[data-slot='table-container'],[data-slot='table'],[data-slot='table-body'],[role='table'],[role='grid']{background:var(--vibi-work-surface);color:var(--vibi-work-text)}
[data-slot='table-header'],[data-slot='table-head']{background:var(--vibi-work-muted);color:var(--vibi-work-secondary)}
[data-slot='table-row']:hover>[data-slot='table-cell']{background:var(--vibi-work-muted)}
[data-slot='table-row'][data-state='selected']>[data-slot='table-cell']{background:var(--accent)}
[data-slot='sidebar-wrapper'] [data-vibi-filter-surface]{background:var(--vibi-work-surface);border-color:var(--border)}
[data-slot='sidebar-wrapper'] [data-slot='input'],[data-slot='sidebar-wrapper'] [data-slot='select-trigger'],[data-slot='sidebar-wrapper'] [data-slot='textarea']{background:var(--vibi-work-surface);border-color:var(--input)}
[data-slot='dialog-content'],[data-slot='sheet-content'],[data-slot='popover-content'],[data-slot='dropdown-menu-content']{background:var(--popover);color:var(--popover-foreground)}
@keyframes vibi-landscape-drift{from{transform:translate3d(-.6%,-.4%,0) scale(1.01)}to{transform:translate3d(.6%,.4%,0) scale(1.025)}}
@media(prefers-reduced-motion:reduce){body:before{animation:none;will-change:auto}}
