/* One flat product portal, with a calm blue identity in both themes. */
:root{--portal-surface:#fff;--portal-tint:#edf4ff;--portal-muted:#63748c;--portal-row:#f5f8fd;--portal-shadow:0 12px 32px #28497309}
:root[data-theme="dark"]{--ink:#e4ebf6;--body:#c1cddd;--muted:#a0b0c7;--faint:#8d9eb8;--line:#2c394f;--line-soft:#253146;--bg:#101824;--bg-soft:#141f30;--bg-mute:#1e2a3e;--brand:#8db0ff;--brand-blue:#4e7fe8;--brand-action:#4e7fe8;--brand-ink:#a5c1ff;--brand-hover:#396bd0;--brand-soft:#1c3050;--brand-line:#334e78;--portal-surface:#172234;--portal-tint:#182943;--portal-muted:#a1b4d0;--portal-row:#1c2c43;--portal-shadow:0 12px 32px #0002;color-scheme:dark}
body{background:var(--bg);color:var(--ink)}
.site-header,.header-inner{background:var(--bg)}
.site-header{background:color-mix(in srgb,var(--bg) 94%,transparent);border-color:var(--line-soft)}
.header-inner{gap:20px}.header-inner .brand{order:0}.header-search{order:1;position:relative;min-width:90px;flex:0 1 230px;background:var(--bg-soft);border-color:var(--line)}
#site-nav{order:2;gap:20px}.theme-toggle{order:3;display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;border:1px solid var(--line);border-radius:9px;color:var(--muted);background:var(--portal-surface)}.theme-toggle:hover{background:var(--bg-mute);color:var(--brand-ink)}.theme-toggle .icon{width:18px;height:18px}.theme-sun{display:none}[data-theme=dark] .theme-moon{display:none}[data-theme=dark] .theme-sun{display:block}
.menu-toggle{order:4}.header-search:hover,.header-search:focus-within,.header-search kbd{background:var(--portal-surface)}
.portal-home{margin-top:34px;margin-bottom:0;scroll-margin-top:98px}
.portal-frame{display:grid;grid-template-columns:1.05fr 1fr;border:1px solid var(--line);border-radius:22px;overflow:hidden;background:var(--portal-tint);min-height:540px}
.portal-carousel{position:relative;min-width:0;min-height:540px;background:linear-gradient(135deg,var(--portal-tint),color-mix(in srgb,var(--portal-tint),var(--portal-surface) 55%));overflow:hidden}
.portal-slide{position:absolute;inset:0;display:block;padding:30px 34px 70px;color:var(--ink)}
.slide-category{font-size:12px;color:var(--brand-ink);display:block;margin-bottom:17px}
.slide-copy h2{font-size:36px;line-height:1.3;letter-spacing:-1px;font-weight:700;color:var(--ink)}
.slide-copy p{font-size:16px;line-height:1.8;color:var(--body);margin-top:12px}.slide-link{display:inline-flex;align-items:center;gap:12px;color:var(--brand-ink);font-size:13px;margin-top:17px;font-weight:500}.slide-link .icon{width:15px;height:15px}
.portal-slide img{position:absolute;left:25px;right:25px;bottom:66px;width:calc(100% - 50px);height:auto;max-height:252px;object-fit:contain}
.slide-image-note{position:absolute;right:36px;bottom:62px;font-size:10px;color:var(--portal-muted)}
.carousel-controls{position:absolute;bottom:17px;left:33px;right:33px;display:flex;align-items:center;gap:13px;z-index:2}
.carousel-controls>button{display:grid;place-items:center;width:30px;height:30px;border:1px solid var(--brand-line);border-radius:50%;background:var(--portal-surface);color:var(--brand-ink)}.carousel-controls>button:hover{background:var(--brand-soft)}.carousel-controls .icon{width:13px;height:13px}[data-carousel-prev] .icon{transform:rotate(180deg)}
.carousel-dots{display:flex;gap:8px;align-items:center}.carousel-dots button{width:21px;height:30px;position:relative;padding:0}.carousel-dots button:before{content:"";position:absolute;width:6px;height:6px;top:12px;left:7px;border-radius:4px;background:color-mix(in srgb,var(--brand-ink) 30%,transparent)}.carousel-dots button[aria-pressed=true]:before{background:var(--brand);width:18px;left:1px}.carousel-controls>.carousel-pause{margin-left:auto;border:0;background:none;border-radius:5px;width:auto;font-size:11px;padding:0 3px;color:var(--portal-muted)}
.portal-directory{min-width:0;background:var(--portal-surface);border-left:1px solid var(--line);padding:24px 25px 16px;display:flex;flex-direction:column}
.directory-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.directory-heading h2{font-size:17px;font-weight:600}.directory-heading>span{font-size:11px;color:var(--muted)}
.directory-filters{display:flex;align-items:center;gap:6px;margin:16px 0 10px}.directory-filters button{font-size:11px;padding:5px 10px;border-radius:6px;min-height:29px;color:var(--muted)}.directory-filters button[aria-pressed=true]{background:var(--brand-soft);color:var(--brand-ink);font-weight:600}
.directory-list{min-height:352px;display:flex;flex-direction:column;gap:1px}
.directory-row{display:flex;align-items:center;gap:10px;padding:7px 8px;min-height:44px;border-radius:7px;color:var(--ink)}.directory-row:hover{background:var(--portal-row)}.directory-row+.directory-row{border-top:1px solid var(--line-soft)}
.directory-mark{width:29px;height:29px;border-radius:7px;display:grid;place-items:center;flex-shrink:0;background:var(--bg-soft);border:1px solid var(--line-soft);color:var(--muted);font-size:10px;font-weight:600}.directory-mark.company{background:var(--brand-soft);color:var(--brand-ink);border-color:var(--brand-line)}.directory-mark .icon{width:16px;height:16px}
.directory-content{min-width:0;flex:1}.directory-content strong{display:block;font-size:13px;font-weight:600;line-height:1.5;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.directory-content small{display:block;font-size:11px;color:var(--muted);line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.directory-badge{font-size:10px;line-height:1.5;white-space:nowrap;color:var(--muted);padding:2px 6px;background:var(--bg-soft);border-radius:4px}.directory-badge.company{color:var(--brand-ink);background:var(--brand-soft)}.directory-row>.icon{width:12px;height:12px;color:var(--faint)}
.directory-foot{margin-top:auto;padding:13px 7px 0;display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--line-soft);font-size:11px;color:var(--brand-ink)}.directory-foot a{display:flex;align-items:center;gap:6px}.directory-foot .icon{width:11px;height:11px}
.company-overview{padding-block:62px 66px;scroll-margin-top:88px}.overview-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:26px}.section-kicker{display:block;color:var(--brand-ink);font-size:12px;margin-bottom:9px}.overview-section-heading h2{font-size:28px;line-height:1.5;letter-spacing:-.6px}.overview-section-heading>span{font-size:12px;color:var(--muted);padding-bottom:7px}
.product-overview-grid{display:grid;grid-template-columns:1fr;gap:18px}.product-overview-row{display:grid;grid-template-columns:.9fr 1.5fr;align-items:center;gap:40px;border:1px solid var(--line);border-radius:16px;background:var(--portal-surface);padding:22px 30px;min-width:0}
.product-overview-image{display:block;position:relative;background:var(--portal-tint);border-radius:11px;overflow:hidden;padding:6px 10px 17px;min-width:0}.product-overview-image img{width:100%;height:auto;display:block;max-height:175px;object-fit:contain}.product-overview-image>span{position:absolute;bottom:7px;right:13px;font-size:10px;color:var(--portal-muted)}.product-overview-copy{min-width:0}.product-overview-category{font-size:11px;color:var(--brand-ink)}.product-overview-copy h3{font-size:24px;line-height:1.4;margin:7px 0 10px;font-weight:600}.product-overview-copy p{font-size:14px;color:var(--body);line-height:1.9;max-width:560px}.product-overview-actions{display:flex;align-items:center;gap:22px;margin-top:17px;font-size:12px;color:var(--brand-ink)}.product-overview-actions>a{display:flex;align-items:center;gap:9px;min-height:32px}.product-overview-actions .icon{width:13px;height:13px}.product-overview-actions>button{font-size:12px;color:var(--muted);min-height:32px}
.site-search-results{position:absolute;z-index:45;top:calc(100% + 8px);left:0;width:390px;max-width:calc(100vw - 32px);max-height:390px;overflow:auto;background:var(--portal-surface);color:var(--ink);border:1px solid var(--line);border-radius:12px;padding:8px;box-shadow:var(--shadow-2)}.site-search-results>a{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:10px;border-radius:7px}.site-search-results>a:hover{background:var(--bg-soft)}.site-search-results strong{font-size:13px;font-weight:600;display:block}.site-search-results small{display:block;color:var(--muted);font-size:11px}.site-search-results>a>span:last-child{font-size:10px;white-space:nowrap;color:var(--brand-ink)}.search-empty{font-size:12px;color:var(--muted);padding:12px}
.button-outline{background:var(--portal-surface);border-color:var(--line);color:var(--ink)}
[data-theme=dark] #site-nav,[data-theme=dark] .chat-panel,[data-theme=dark] .chat-options,[data-theme=dark] .detail-dialog,[data-theme=dark] .chat-suggestions button:hover{background:var(--portal-surface)}
[data-theme=dark] .utilities-section,[data-theme=dark] .product-story-invoice{background:var(--bg-soft);border-color:var(--line-soft)}
[data-theme=dark] .oss-card,[data-theme=dark] .oss-filters>button,[data-theme=dark] .utility-item,[data-theme=dark] .story-visual .showcase-window{background:var(--portal-surface);border-color:var(--line)}
[data-theme=dark] .closing-cta,[data-theme=dark] .company-footer{background:var(--bg);border-color:var(--line-soft)}
[data-theme=dark] .closing-cta-inner{background:linear-gradient(110deg,var(--portal-tint),var(--portal-surface));border-color:var(--line)}
[data-theme=dark] .source-policy,[data-theme=dark] .utility-note,[data-theme=dark] .product-story-copy>small,[data-theme=dark] .story-visual figcaption,[data-theme=dark] .closing-cta small,[data-theme=dark] .project-category,[data-theme=dark] .oss-card .project-note,[data-theme=dark] .utility-platform,[data-theme=dark] .company-footer-main>div>p,[data-theme=dark] .company-footer-bottom,[data-theme=dark] .oss-featured .project-use{color:var(--muted)}
[data-theme=dark] .closing-cta small{border-color:var(--line)}[data-theme=dark] .project-monogram.analysis{background:#2a2744;color:#cab7ff;border-color:#453b64}[data-theme=dark] .project-monogram.operations{background:#19372e;color:#9bd6bb;border-color:#295141}[data-theme=dark] .license-link{color:#9bd3ae;text-decoration-color:#44694e}
[data-theme=dark] .dialog-notice{background:#332c1d;border-color:#5a4928;color:#e7ca8f}[data-theme=dark] .amber{background:#332c1d;color:#e7ca8f}[data-theme=dark] .blue{background:var(--brand-soft);color:var(--brand-ink)}[data-theme=dark] .menu-toggle span{background:var(--muted)}
@media(max-width:1200px){.header-inner{gap:14px}#site-nav{gap:15px}.header-search{flex-basis:200px}.portal-slide{padding-inline:27px}.slide-copy h2{font-size:32px}.portal-directory{padding-inline:20px}.directory-badge{padding-inline:5px}.product-overview-row{gap:27px}}
@media(max-width:1000px){.header-inner{gap:12px}.header-search{flex:1;max-width:320px}.theme-toggle{margin-left:auto}#site-nav{top:100%;background:var(--portal-surface)}.menu-toggle{margin-left:0}.portal-home{margin-top:24px}.portal-frame{grid-template-columns:1fr 1fr}.portal-slide{padding:28px 23px 70px}.slide-copy h2{font-size:29px}.slide-copy p{font-size:14px}.portal-slide img{left:15px;width:calc(100% - 30px);bottom:84px;max-height:212px}.portal-directory{padding:23px 16px 17px}.directory-filters{gap:2px}.directory-filters button{padding-inline:8px;font-size:10px}.directory-badge{display:none}.directory-row{padding-inline:3px}.directory-content small{font-size:10px}.carousel-controls{left:23px;right:23px}.slide-image-note{right:23px;bottom:75px}}
@media(max-width:780px){.portal-frame{grid-template-columns:1fr;border-radius:18px}.portal-carousel{min-height:435px}.portal-slide{padding:25px 25px 62px}.slide-category{margin-bottom:10px}.slide-copy h2{font-size:30px}.slide-copy p{font-size:14px;margin-top:9px;line-height:1.7}.slide-copy p br{display:none}.slide-link{margin-top:10px}.portal-slide img{left:24px;width:calc(100% - 48px);bottom:61px;max-height:214px}.slide-image-note{right:29px;bottom:59px}.carousel-controls{left:25px;right:25px;bottom:15px}.portal-directory{border-left:0;border-top:1px solid var(--line);padding:22px}.directory-content small{font-size:11px}.directory-filters button{font-size:11px}.directory-badge{display:block}.directory-list{min-height:0}.directory-row{min-height:46px}.directory-foot{margin-top:11px}.company-overview{padding-block:42px 46px}.overview-section-heading{display:block;margin-bottom:20px}.overview-section-heading h2{font-size:23px}.overview-section-heading>span{display:block;font-size:12px;margin-top:10px}.product-overview-row{grid-template-columns:.9fr 1.2fr;gap:22px;padding:20px}.product-overview-copy h3{font-size:21px}.product-overview-copy p{font-size:13px}.product-overview-actions{gap:14px;flex-wrap:wrap;margin-top:10px}.product-overview-image{padding-inline:0}}
@media(max-width:550px){.header-inner{gap:9px;padding-inline:16px}.header-inner .brand{gap:7px}.brand-wordmark strong{font-size:14px}.brand-wordmark small{font-size:6px;letter-spacing:.5px}.brand-mark{width:28px;height:28px}.header-search{width:auto;min-width:0;max-width:none;height:32px;padding-inline:9px}.header-search .icon{width:12px;height:12px}.header-search input{font-size:10px}.theme-toggle{width:31px;height:31px;border-radius:8px;margin:0}.theme-toggle .icon{width:16px;height:16px}.menu-toggle{width:23px}.site-search-results{left:auto;right:-68px;width:calc(100vw - 32px)}.portal-home{width:calc(100% - 32px);margin-top:18px}.portal-carousel{min-height:400px}.portal-slide{padding:23px 20px 62px}.slide-category{font-size:11px}.slide-copy h2{font-size:28px}.slide-copy p{font-size:13px}.slide-link{font-size:12px}.portal-slide img{left:9px;width:calc(100% - 18px);max-height:185px;bottom:66px}.slide-image-note{right:23px;bottom:62px;font-size:9px}.carousel-controls{left:21px;right:21px}.portal-directory{padding:20px 17px 16px}.directory-heading h2{font-size:16px}.directory-row{gap:9px;padding-block:8px;min-height:48px}.directory-content strong{font-size:13px}.directory-content small{font-size:10px}.directory-badge{font-size:9px}.directory-foot{font-size:10px}.company-overview{width:calc(100% - 32px)}.overview-section-heading h2{font-size:21px}.product-overview-row{grid-template-columns:1fr;gap:18px;padding:17px}.product-overview-image{padding:0 0 16px}.product-overview-image img{max-height:165px}.product-overview-copy h3{font-size:21px}.product-overview-actions{gap:22px}.product-overview-actions a,.product-overview-actions button{min-height:40px}.portal-frame .directory-list{min-width:0}.product-overview-copy p{line-height:1.85}}
@media(prefers-reduced-motion:reduce){.portal-slide{animation:none}.portal-carousel *{scroll-behavior:auto}}

@media(max-width:1000px){.site-search-results{position:fixed;left:16px;right:16px;top:78px;width:auto;max-width:none;max-height:calc(100dvh - 100px)}}
