:root {
    --ks-page: #F5F8FA;
    --ks-header: #FFFFFF;
    --ks-surface: #FFFFFF;
    --ks-surface-raised: var(--ks-surface);
    --ks-surface-soft: #EDF4F7;
    --ks-text: #142E3D;
    --ks-muted: #526B78;
    --ks-border: #D8E4EA;
    --ks-accent: #087E8B;
    --ks-accent-strong: #066977;
    --ks-accent-bright: #138B99;
    --ks-on-accent: #FFFFFF;
    --ks-blue: #087E8B;
    --ks-violet: #17516A;
    --ks-focus-ring: rgba(8, 126, 139, .2);
    --ks-shadow: 0 7px 30px rgba(23, 63, 83, .06);
    --ks-hero: linear-gradient(135deg, #0B2639, #17516A);
    --ks-success: #147B60;
    --sport-accent: #087E8B;
    --sport-accent-2: #066977;
    --sport-accent-3: #17516A;
    --sport-line: var(--ks-border);
    --sport-text: var(--ks-text);
    --sport-text-soft: var(--ks-muted);
    --sport-glow: 0 12px 28px -22px rgba(8, 126, 139, .3);
    --bg-color: var(--ks-page);
    --text-color: var(--ks-text);
    --theme: var(--ks-accent);
    --theme-white: var(--ks-surface);
    --theme-black: var(--ks-text);
    --blue-color: var(--ks-accent);
    --green-color: var(--ks-accent);
    --green-color-hover: var(--ks-accent-strong);
    --link-color: var(--ks-accent);
    --link-hover: var(--ks-accent-strong);
    --form-control: var(--ks-surface);
    --text-muted: var(--ks-muted);
    --bs-body-bg: var(--ks-page);
    --bs-body-color: var(--ks-text);
    --bs-primary: var(--ks-accent);
    --bs-primary-rgb: 8, 126, 139;
    --bs-link-color: var(--ks-accent);
    --bs-link-hover-color: var(--ks-accent-strong);
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --ks-page: #091824;
    --ks-header: #0B1C2A;
    --ks-surface: #122B3C;
    --ks-surface-raised: var(--ks-surface);
    --ks-surface-soft: #1A3749;
    --ks-text: #F2F8FA;
    --ks-muted: #ABC1CC;
    --ks-border: #2B495A;
    --ks-accent: #54D6E0;
    --ks-accent-strong: #79E5EA;
    --ks-accent-bright: #79E5EA;
    --ks-on-accent: #072732;
    --ks-blue: #54D6E0;
    --ks-violet: #17516A;
    --ks-focus-ring: rgba(84, 214, 224, .22);
    --ks-shadow: 0 9px 28px rgba(0, 0, 0, .16);
    --ks-success: #75E1B5;
    --sport-accent: #54D6E0;
    --sport-accent-2: #79E5EA;
    --sport-accent-3: #17516A;
    --sport-bg: var(--ks-page);
    --sport-bg-2: var(--ks-header);
    --sport-panel: var(--ks-header);
    --sport-panel-soft: var(--ks-surface);
    --sport-card: var(--ks-surface);
    --bg-color: var(--ks-page);
    --text-color: var(--ks-text);
    --theme: var(--ks-accent);
    --theme-white: var(--ks-surface);
    --theme-black: var(--ks-text);
    --blue-color: var(--ks-accent);
    --green-color: var(--ks-accent);
    --green-color-hover: var(--ks-accent-strong);
    --link-color: var(--ks-accent);
    --link-hover: var(--ks-accent-strong);
    --form-control: #102736;
    --text-muted: var(--ks-muted);
    --bs-body-bg: var(--ks-page);
    --bs-body-color: var(--ks-text);
    --bs-primary: var(--ks-accent);
    --bs-primary-rgb: 84, 214, 224;
    --bs-link-color: var(--ks-accent);
    --bs-link-hover-color: var(--ks-accent-strong);
}


:root[data-theme="ivory"] {
    color-scheme: light;
    --ks-page: #eee8db;
    --ks-header: #f6f1e6;
    --ks-surface: #fbf8f0;
    --ks-surface-raised: #fffdf7;
    --ks-surface-soft: #f0e6cf;
    --ks-text: #1d1a15;
    --ks-muted: #625a4b;
    --ks-border: #d6c8a8;
    --ks-accent: #8a6212;
    --ks-accent-strong: #76560f;
    --ks-accent-bright: #c49a4a;
    --ks-on-accent: #fffdf7;
    --ks-blue: #8a6212;
    --ks-violet: #5c523c;
    --ks-focus-ring: rgba(138, 98, 18, .2);
    --ks-shadow: 0 10px 30px rgba(58, 47, 26, .08);
    --ks-hero: linear-gradient(135deg, #f5ebd0, #eedfb6);
    --ks-success: #4f6b2c;
    --sport-accent: #8a6212;
    --sport-accent-2: #76560f;
    --sport-accent-3: #5c523c;
    --sport-bg: var(--ks-page);
    --sport-bg-2: #f5ebd0;
    --sport-panel: var(--ks-header);
    --sport-panel-soft: var(--ks-surface-soft);
    --sport-card: var(--ks-surface);
    --sport-line: var(--ks-border);
    --sport-text: var(--ks-text);
    --sport-text-soft: var(--ks-muted);
    --bg-color: var(--ks-page);
    --text-color: var(--ks-text);
    --theme: var(--ks-accent);
    --theme-white: var(--ks-surface);
    --theme-black: var(--ks-text);
    --blue-color: var(--ks-accent);
    --green-color: #4f6b2c;
    --green-color-hover: #3f5622;
    --link-color: var(--ks-accent);
    --link-hover: var(--ks-accent-strong);
    --form-control: #fffdf7;
    --text-muted: var(--ks-muted);
    --bs-body-bg: var(--ks-page);
    --bs-body-color: var(--ks-text);
    --bs-primary: var(--ks-accent);
    --bs-primary-rgb: 138, 98, 18;
    --bs-link-color: var(--ks-accent);
    --bs-link-hover-color: var(--ks-accent-strong);
}
:root[data-theme="ivory"] body {
    background: radial-gradient(900px 560px at 85% -8%, #fffaf0, transparent 70%), radial-gradient(700px 500px at 0 40%, #f7efdc88, transparent 70%), var(--ks-page);
    background-attachment: fixed;
}
:root[data-theme="light"] {
    color-scheme: light;
    --sport-bg: var(--ks-page);
    --sport-bg-2: var(--ks-surface-soft);
    --sport-panel: var(--ks-header);
    --sport-panel-soft: var(--ks-surface-soft);
    --sport-card: var(--ks-surface);
    --sport-line: var(--ks-border);
    --sport-text: var(--ks-text);
    --sport-text-soft: var(--ks-muted);
}

:root[data-theme="dark"] body {
    background: var(--ks-page);
}

:root[data-theme="light"] body,
:root[data-theme="light"]:has(.categories-page) body {
    background: var(--ks-page);
}
:root[data-theme="light"]:has(.vine-main :is(.disciplines-catalog, .hub-page, .categories-page)) body {
    background: var(--ks-page);
}
:root[data-theme="dark"]:has(.vine-main :is(.disciplines-catalog, .hub-page, .categories-page)) body {
    background: var(--ks-page);
}

.vine-main {
    --blue-color: var(--ks-accent);
    --green-color: var(--ks-accent);
    --green-color-hover: var(--ks-accent-strong);
    --link-color: var(--ks-accent);
    color: var(--ks-text);
}
.vine-main :is(.text-muted, .muted, .library-muted) { color: var(--ks-muted); }

.vine-main :is(.btn-primary, .btn-success) {
    border-color: var(--ks-accent);
    background: var(--ks-accent);
    color: var(--ks-on-accent);
}
.vine-main :is(.btn-primary, .btn-success):is(:hover, :focus-visible) {
    border-color: var(--ks-accent-strong);
    background: var(--ks-accent-strong);
    color: var(--ks-on-accent);
}
.vine-main :is(.btn-outline-primary, .btn-outline-info) {
    border-color: var(--ks-border);
    color: var(--ks-accent);
}
.vine-main :is(.btn-outline-primary, .btn-outline-info):is(:hover, :focus-visible) {
    border-color: var(--ks-accent);
    background: var(--ks-accent);
    color: var(--ks-on-accent);
}

.vine-main :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea, .form-control, .form-select) {
    accent-color: var(--ks-accent-strong);
}
.vine-main :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea, .form-control, .form-select):focus {
    border-color: var(--ks-accent);
    box-shadow: 0 0 0 .22rem var(--ks-focus-ring);
}
:root[data-theme="dark"] .vine-main :is(.form-control, .form-select, textarea, input:not([type="checkbox"]):not([type="radio"]), select) {
    border-color: var(--ks-border);
    background-color: #102736;
    color: var(--ks-text);
}
:root[data-theme="dark"] .vine-main :is(.form-control, .form-select, textarea, input, select)::placeholder {
    color: var(--ks-muted);
    opacity: 1;
}

.vine-main :is(.card, .panel, .dashboard-card, .profile-card, .leaderboard-box, .wallet-card, .achievement-card) {
    border-color: var(--ks-border);
    box-shadow: var(--ks-shadow);
}
:root[data-theme="light"] .vine-main :is(.card, .panel, .dashboard-card, .profile-card, .leaderboard-box, .wallet-card, .achievement-card) {
    background-color: var(--ks-surface-raised);
    color: var(--ks-text);
}
:root[data-theme="dark"] .vine-main :is(.card, .panel, .dashboard-card, .profile-card, .leaderboard-box, .wallet-card, .achievement-card) {
    background-color: var(--ks-surface);
    color: var(--ks-text);
}

:root[data-theme="light"] .vine-main .library-page {
    --library-text: var(--ks-text);
    --library-muted: var(--ks-muted);
    --library-accent: var(--ks-accent-strong);
    --library-border: var(--ks-border);
    --library-surface: var(--ks-surface-raised);
    --library-soft: var(--ks-surface-soft);
    --library-hero: linear-gradient(135deg, #fff, #edf4f7);
}
:root[data-theme="dark"] .vine-main .library-page {
    --library-text: var(--ks-text);
    --library-muted: var(--ks-muted);
    --library-accent: var(--ks-accent);
    --library-surface: var(--ks-surface);
    --library-soft: var(--ks-header);
    --library-hero: var(--ks-hero);
}
.vine-main .library-page .library-button:not(.library-button--secondary) {
    border-color: transparent;
    background: var(--ks-accent);
    color: var(--ks-on-accent);
}
.vine-main .library-page .library-button:not(.library-button--secondary):hover {
    background: var(--ks-accent-strong);
    color: var(--ks-on-accent);
}
.vine-main .library-page .library-button--secondary {
    border-color: var(--ks-border);
    background: var(--ks-surface);
    color: var(--ks-text);
}
.vine-main .library-page .library-category.is-active {
    border-color: var(--ks-accent);
    background: var(--ks-accent);
    color: var(--ks-on-accent);
}

:root[data-theme="light"] .vine-main .categories-page {
    --category-surface: var(--ks-surface-raised);
    --category-input: var(--ks-surface-raised);
    --category-raised: var(--ks-surface-soft);
    --category-text: var(--ks-text);
    --category-muted: var(--ks-muted);
    --category-border: var(--ks-border);
    --category-accent: var(--ks-accent-strong);
    --category-focus: var(--ks-accent);
    --category-ring: var(--ks-focus-ring);
    --category-button: var(--ks-accent);
    --category-button-text: var(--ks-on-accent);
    color: var(--ks-text);
}
:root[data-theme="light"] .vine-main .categories-page { background: transparent; }
:root[data-theme="dark"] .vine-main .categories-page {
    --category-surface: var(--ks-surface);
    --category-input: #102736;
    --category-raised: var(--ks-surface-soft);
    --category-text: var(--ks-text);
    --category-muted: var(--ks-muted);
    --category-border: var(--ks-border);
    --category-accent: var(--ks-accent);
    --category-focus: var(--ks-accent-strong);
    --category-ring: var(--ks-focus-ring);
    --category-button: var(--ks-accent);
    --category-button-text: var(--ks-on-accent);
}
:root[data-theme="light"] .vine-main .hub-page {
    --sport-text: var(--ks-text);
    --sport-text-soft: var(--ks-muted);
    --sport-line: var(--ks-border);
    --sport-accent-2: var(--ks-accent);
    --hub-surface: var(--ks-surface);
    --hub-raised: var(--ks-surface-soft);
    --hub-input: #F8FBFC;
    --hub-focus: var(--ks-accent);
    --hub-ring: var(--ks-focus-ring);
    --hub-button: var(--ks-accent);
    --hub-button-text: var(--ks-on-accent);
    --bs-body-bg: var(--ks-surface);
    --bs-body-color: var(--ks-text);
    color: var(--ks-text);
}
:root[data-theme="dark"] .vine-main .hub-page {
    --sport-text: var(--ks-text);
    --sport-text-soft: var(--ks-muted);
    --sport-line: var(--ks-border);
    --sport-accent-2: var(--ks-accent);
    --hub-surface: var(--ks-surface);
    --hub-raised: var(--ks-surface-soft);
    --hub-input: #102736;
    --hub-focus: var(--ks-accent-strong);
    --hub-ring: var(--ks-focus-ring);
    --hub-button: var(--ks-accent);
    --hub-button-text: var(--ks-on-accent);
    --bs-body-bg: var(--ks-surface);
    --bs-body-color: var(--ks-text);
    color: var(--ks-text);
}
:root[data-theme="light"]:has(.vine-main .hub-page) body {
    background: var(--ks-page);
}
:root[data-theme="dark"]:has(.vine-main .hub-page) body {
    background: var(--ks-page);
}
.vine-main .categories-page .categories-search:focus-within { border-color: var(--ks-accent); }
.vine-main .categories-page .category-card:hover { border-color: var(--ks-accent); }
.vine-main .categories-page .category-card:focus-visible { outline-color: var(--ks-accent-bright); }
.vine-main .categories-page .category-card:hover .category-card-arrow { background: var(--ks-accent); }
.vine-main .categories-page .categories-empty > i { color: var(--ks-accent-strong); }

.vine-main :is(.blog-index-page, .blog-post-page) {
    --blog-accent: var(--ks-accent);
    --blog-focus: var(--ks-accent);
    --blog-line: var(--ks-border);
    --blog-surface: var(--ks-surface-raised);
    --blog-muted: var(--ks-muted);
}
.vine-main .blog-index-page.blog-journal {
    --blog-ink: var(--ks-text);
    --blog-muted: var(--ks-muted);
    --blog-surface: var(--ks-surface-raised);
    --blog-line: var(--ks-border);
    --blog-focus: var(--ks-accent-strong);
    --bj-input: var(--ks-surface-raised);
    --bj-soft: var(--ks-page);
}
.vine-main .blog-index-page.blog-journal .blog-topic[aria-current="page"],
.vine-main .blog-index-page.blog-journal .blog-pagination .active .page-link {
    color: var(--ks-on-accent);
    background: var(--ks-accent);
    border-color: var(--ks-accent);
}
.vine-main .blog-index-page.blog-journal .blog-post-card {
    background: var(--ks-surface-raised);
}
:root[data-theme="light"] .vine-main .learning-platforms-page {
    --library-text: var(--ks-text);
    --library-muted: var(--ks-muted);
    --library-accent: var(--ks-accent-strong);
    --library-border: var(--ks-border);
    --library-surface: var(--ks-surface-raised);
    --library-soft: var(--ks-page);
}
:root[data-theme="dark"] .vine-main .learning-platforms-page {
    --library-text: var(--ks-text);
    --library-muted: var(--ks-muted);
    --library-accent: var(--ks-accent);
    --library-border: var(--ks-border);
    --library-surface: var(--ks-surface);
    --library-soft: #102736;
}
.vine-main .learning-platforms-page__filters .btn-primary {
    border-color: transparent;
    background: var(--ks-accent);
    color: var(--ks-on-accent);
}
.vine-main .learning-platforms-page__filters .btn-primary:hover {
    background: var(--ks-accent-strong);
    color: var(--ks-on-accent);
}
:root[data-theme="light"] .vine-main .ds.ds-public,
:root[data-theme="light"] .vine-main .rw-page.ds {
    --ds-bg: var(--ks-page);
    --ds-surface: var(--ks-surface);
    --ds-field: #F8FBFC;
    --ds-text: var(--ks-text);
    --ds-muted: var(--ks-muted);
    --ds-line: var(--ks-border);
    --ds-accent: var(--ks-accent);
    --ds-blue: var(--ks-accent-strong);
}
:root[data-theme="dark"] .vine-main .ds.ds-public,
:root[data-theme="dark"] .vine-main .rw-page.ds {
    --ds-bg: var(--ks-page);
    --ds-surface: var(--ks-surface);
    --ds-field: #102736;
    --ds-text: var(--ks-text);
    --ds-muted: var(--ks-muted);
    --ds-line: var(--ks-border);
    --ds-accent: var(--ks-accent);
    --ds-blue: var(--ks-accent-strong);
}
.vine-main .ds.ds-public .ds-button:not(.ds-button-secondary),
.vine-main .rw-page.ds .rw-button:not(.rw-button-secondary) {
    border-color: transparent;
    background: var(--ks-accent);
    color: var(--ks-on-accent);
}
.vine-main .ds.ds-public .ds-button:not(.ds-button-secondary):hover,
.vine-main .rw-page.ds .rw-button:not(.rw-button-secondary):hover {
    background: var(--ks-accent-strong);
    color: var(--ks-on-accent);
}
:root[data-theme="light"] .vine-main .ks-contact {
    --kc-ink: var(--ks-text);
    --kc-muted: var(--ks-muted);
    --kc-paper: var(--ks-surface);
    --kc-soft: var(--ks-surface-soft);
    --kc-line: var(--ks-border);
    --kc-accent: var(--ks-accent);
}
:root[data-theme="dark"] .vine-main .ks-contact {
    --kc-ink: var(--ks-text);
    --kc-muted: var(--ks-muted);
    --kc-paper: var(--ks-surface);
    --kc-soft: #102736;
    --kc-line: var(--ks-border);
    --kc-accent: var(--ks-accent);
}
:root[data-theme="light"] .vine-main .ks-about {
    --ks-primary: var(--ks-accent);
    --ks-secondary: #17516A;
}
:root[data-theme="dark"] .vine-main .ks-about {
    --ks-primary: var(--ks-accent);
    --ks-secondary: #17516A;
}

.vine-main :is(.ts-page, .hub-page, .blog-index-page, .blog-article-page, .library-page, .categories-page) a:focus-visible,
.vine-main :is(.ts-page, .hub-page, .blog-index-page, .blog-article-page, .library-page, .categories-page) button:focus-visible,
.vine-main :is(.ts-page, .hub-page, .blog-index-page, .blog-article-page, .library-page, .categories-page) input:focus-visible,
.vine-main :is(.ts-page, .hub-page, .blog-index-page, .blog-article-page, .library-page, .categories-page) select:focus-visible {
    outline-color: var(--ks-accent);
}

@media (prefers-reduced-motion: reduce) {
    .vine-main :is(.btn, .card, a, button, input, select, textarea) { transition-duration: .01ms !important; }
}

/* Viktor header account dropdown (shared, matches author-publications style) */
.viktor-header .viktor-header-account{position:relative}
.viktor-header .dropdown-menu.viktor-header-user-menu,
.viktor-header .vine-navbar__user-menu.viktor-header-user-menu{
  --_bg:var(--bg,#e2e6ef);--_g1:var(--g1,#f0f3f9);--_g2:var(--g2,#d1d8e6);
  --_line:var(--line,#2229361f);--_ink:var(--ink,#222936);--_mu:var(--mu,#515c70);--_blue:var(--blue,#0b5fd1);
  --_up:var(--up,12px 12px 26px #a5afc4,-12px -12px 26px #fff);
  --_up-s:var(--up-s,6px 6px 14px #a5afc4,-6px -6px 14px #fff);
  --_dn:var(--dn,inset 7px 7px 15px #a5afc4,inset -7px -7px 15px #fff);
  position:absolute;right:0;left:auto;top:calc(100% + 10px);z-index:1100;float:none;
  min-width:260px;max-width:min(320px,calc(100vw - 32px));
  padding:10px;margin:0;list-style:none;
  border:1px solid var(--_line);border-radius:18px;
  background:var(--_bg) linear-gradient(145deg,var(--_g1),var(--_g2));
  background-color:var(--_bg);
  box-shadow:var(--_up);color:var(--_ink);display:none;
}
[data-theme="dark"] .viktor-header .dropdown-menu.viktor-header-user-menu,
[data-theme="dark"] .viktor-header .vine-navbar__user-menu.viktor-header-user-menu{
  --_bg:var(--bg,#071a23);--_g1:var(--g1,#0f2f3d);--_g2:var(--g2,#061821);
  --_line:var(--line,#41f0ec2b);--_ink:var(--ink,#e6f4f5);--_mu:var(--mu,#9cc2c7);--_blue:var(--blue,#41f0ec);
  --_up:var(--up,0 0 0 1px #41f0ec4d,inset 0 1px 0 #ffffff14,11px 11px 24px #01080c,-8px -8px 20px #14394a,0 0 36px #41f0ec12);
  --_up-s:var(--up-s,0 0 0 1px #41f0ec4d,inset 0 1px 0 #ffffff12,6px 6px 13px #01080c,-4px -4px 11px #14394a);
  --_dn:var(--dn,inset 0 0 0 1px #41f0ec2b,inset 7px 7px 14px #01080c,inset -5px -5px 12px #14394a);
}
.viktor-header .viktor-header-account.show .dropdown-menu.viktor-header-user-menu,
.viktor-header .dropdown-menu.viktor-header-user-menu.show{display:block}
.viktor-header .viktor-header-user-menu form{margin:0}
.viktor-header .viktor-header-user-menu .dropdown-item{
  display:flex;align-items:center;gap:10px;width:100%;box-sizing:border-box;
  padding:10px 12px;margin:2px 0;border:0;border-radius:12px;
  background:transparent;background-color:transparent;background-image:none;box-shadow:none;
  color:var(--_ink);font:600 14px/1.35 var(--fb, "Onest","Segoe UI",system-ui,sans-serif);
  text-decoration:none;text-align:left;white-space:normal;cursor:pointer;
  transition:box-shadow .18s,color .18s,background .18s;
}
.viktor-header .viktor-header-user-menu .dropdown-item i{width:18px;font-size:16px;color:var(--_mu);flex:0 0 auto;text-align:center;transition:color .18s}
.viktor-header .viktor-header-user-menu .dropdown-item:hover,
.viktor-header .viktor-header-user-menu .dropdown-item:focus,
.viktor-header .viktor-header-user-menu .dropdown-item:focus-visible{
  color:var(--_blue);
  background:var(--_bg) linear-gradient(145deg,var(--_g1),var(--_g2));background-color:var(--_bg);
  box-shadow:var(--_up-s);outline:0;
}
.viktor-header .viktor-header-user-menu .dropdown-item:hover i,
.viktor-header .viktor-header-user-menu .dropdown-item:focus i,
.viktor-header .viktor-header-user-menu .dropdown-item:focus-visible i{color:var(--_blue)}
.viktor-header .viktor-header-user-menu .dropdown-item:active{
  color:var(--_blue);box-shadow:var(--_dn);
  background:var(--_bg) linear-gradient(145deg,var(--_g2),var(--_g1));
}
.viktor-header .viktor-header-user-menu .dropdown-divider{height:0;margin:8px 4px;border:0;border-top:1px solid var(--_line);background:none;opacity:1;overflow:visible}
.viktor-header .viktor-header-user-menu .vine-navbar__logout{color:#b42318}
.viktor-header .viktor-header-user-menu .vine-navbar__logout i{color:inherit}
.viktor-header .viktor-header-user-menu .vine-navbar__logout:hover,
.viktor-header .viktor-header-user-menu .vine-navbar__logout:focus,
.viktor-header .viktor-header-user-menu .vine-navbar__logout:focus-visible{color:#b42318}
[data-theme="dark"] .viktor-header .viktor-header-user-menu .vine-navbar__logout,
[data-theme="dark"] .viktor-header .viktor-header-user-menu .vine-navbar__logout i{color:#ff8f87}
[data-theme="dark"] .viktor-header .viktor-header-user-menu .vine-navbar__logout:hover,
[data-theme="dark"] .viktor-header .viktor-header-user-menu .vine-navbar__logout:focus,
[data-theme="dark"] .viktor-header .viktor-header-user-menu .vine-navbar__logout:focus-visible{color:#ffb4ae}
.viktor-header .viktor-header-account > .dropdown-toggle::after{display:none}
@media(max-width:520px){.viktor-header .viktor-header-user-menu{right:-4px;min-width:min(280px,calc(100vw - 24px))}}
/* Home page layout - KipSlide design system (scoped, compact sizes, animations preserved) */
body:has(.modern-home-shell){background:var(--ks-page, var(--bg));color:var(--ks-text, var(--ink))}
.modern-home-shell{display:flex;flex-direction:column;gap:0;width:min(1160px,100% - 40px);min-width:0;margin:0 auto;padding:0 0 56px;color:var(--ks-text, var(--ink));font:400 15px/1.6 var(--fb, 'Onest', system-ui, sans-serif)}
.modern-home-shell *,.modern-home-shell *::before,.modern-home-shell *::after{box-sizing:border-box}
.modern-home-shell :is(h1,h2,h3,p){margin:0}
.modern-home-shell a{text-decoration:none;color:inherit}
.modern-home-shell :is(a,button,summary):focus-visible{outline:3px solid var(--ks-accent, var(--blue));outline-offset:3px}
.modern-home-shell img{max-width:100%;height:auto}
.modern-home-shell .container{width:100%;max-width:none;padding:0;margin:0}

.modern-home-shell .home-hero{position:relative;display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:60px;min-height:0;padding:36px 32px 28px;margin-top:24px;overflow:hidden;isolation:isolate;border:1px solid rgba(255,255,255,.14);border-radius:32px;background:var(--ks-hero, linear-gradient(135deg,#1f4f63,#0f7f89));box-shadow:0 16px 40px rgba(11,38,57,.24)}
.modern-home-shell .home-hero__copy{position:relative;z-index:1;padding:8px 0;color:#f2f8fa;max-width:640px}
.modern-home-shell :is(.home-hero__kicker,.modern-kicker,.modern-block-eyebrow,.home-section-eyebrow){display:inline-flex;align-items:center;gap:8px;margin-bottom:12px;padding:7px 13px;border:1px solid rgba(255,255,255,.22);border-radius:999px;color:#eafcff;background:rgba(255,255,255,.1);font:700 12px/1.4 var(--fb);letter-spacing:.03em}
.modern-home-shell .home-hero h1{max-width:18ch;color:#fff;font:500 clamp(28px,2.8vw,38px)/1.12 var(--fd, 'Unbounded', system-ui, sans-serif);text-wrap:balance;letter-spacing:-.01em;margin:0 0 12px}
.modern-home-shell .home-hero h1 span{color:#7ee6ed}
.modern-home-shell .home-hero .home-hero__lede{max-width:60ch;margin:0;padding-left:0;border-left:0;color:rgba(242,248,250,.9)!important;font-size:15px;line-height:1.6}
.modern-home-shell .home-hero__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.modern-home-shell .home-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:7px 12px;border:1px solid transparent;border-radius:8px;font:700 .72rem/1.4 var(--fb);text-align:center;transition:background-color .22s ease,border-color .22s ease,box-shadow .22s ease,color .22s ease,transform .22s cubic-bezier(.2,.8,.2,1)}
.modern-home-shell .home-button:hover{transform:translateY(-2px)}
.modern-home-shell .home-button:active{transform:translateY(0);transition-duration:.12s}
.modern-home-shell .home-button--primary,.modern-home-shell .home-hero .home-button--primary{background:#54d6e0;color:#0b3443;border-color:#54d6e0}
.modern-home-shell .home-button--primary:hover,.modern-home-shell .home-hero .home-button--primary:hover{background:#7ee6ed;color:#0b3443}
.modern-home-shell .home-button--secondary,.modern-home-shell .home-hero .home-button--secondary{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.28)}
.modern-home-shell .home-hero__art{position:relative;z-index:1;display:grid;min-height:220px;max-height:320px;place-items:center;align-self:stretch}

.modern-home-shell .home-motion-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:8px 14px;border:1px solid var(--ks-border, rgba(23,63,83,.14));border-radius:10px;background:var(--ks-surface, #fff);color:var(--ks-muted, var(--mu));font:600 .78rem/1.4 var(--fb);cursor:pointer;transition:background-color .22s ease,border-color .22s ease,color .22s ease,transform .22s cubic-bezier(.2,.8,.2,1)}
.modern-home-shell .home-motion-toggle:hover{border-color:rgba(8,126,139,.28);color:var(--ks-accent, var(--blue));transform:translateY(-1px)}
.modern-home-shell .home-motion-toggle:disabled{opacity:.7;cursor:default;transform:none}
.modern-home-shell .home-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:26px}
.modern-home-shell .home-section-heading h2{font:500 clamp(22px,2.6vw,30px)/1.2 var(--fd, 'Unbounded', system-ui, sans-serif);color:var(--ks-text, var(--ink));margin:0}
.modern-home-shell .modern-inline-link,.modern-home-shell .home-section-link{display:inline-flex;align-items:center;gap:6px;min-height:36px;color:var(--ks-accent, var(--blue));font:600 .85rem/1.4 var(--fb);transition:color .2s ease,text-decoration-color .2s ease,opacity .2s ease}
.modern-home-shell .modern-inline-link:hover,.modern-home-shell .home-section-link:hover{text-decoration:underline;text-underline-offset:4px}

.modern-home-shell .home-quick-nav.home-quick-nav--map-link{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-radius:20px;background:var(--ks-surface, #fff);box-shadow:var(--ks-shadow-sm, 0 2px 10px rgba(23,63,83,.08));border:1px solid var(--ks-border, rgba(23,63,83,.1));color:var(--ks-text, var(--ink));transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s ease,border-color .25s ease}
.modern-home-shell .home-quick-nav.home-quick-nav--map-link:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(23,63,83,.12);border-color:rgba(8,126,139,.28)}
.modern-home-shell .home-quick-nav__title{display:flex;align-items:center;gap:12px;min-width:0}
.modern-home-shell .pic{width:68px;height:68px;border-radius:20px;box-shadow:var(--dn, inset 5px 5px 11px rgba(0,0,0,.12), inset -5px -5px 11px rgba(255,255,255,.7));display:grid;place-items:center;font-size:30px;color:var(--ks-accent, var(--blue));flex:none;background:var(--ks-surface-soft, #f3f7fa);border:1px solid var(--ks-border, rgba(23,63,83,.08))}
.modern-home-shell .pic i,.modern-home-shell .pic .bi{line-height:1}
.modern-home-shell .home-platform-card__content .pic,.modern-home-shell .home-discover-banner .pic{width:56px;height:56px;border-radius:16px;font-size:24px;margin-bottom:12px;background:rgba(255,255,255,.14);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.18)}
.modern-home-shell .home-quick-nav__title>i,.modern-home-shell .home-quick-nav__title>.pic{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:var(--ks-surface-soft, #f3f7fa);box-shadow:var(--dn, inset 3px 3px 8px rgba(0,0,0,.08), inset -3px -3px 8px rgba(255,255,255,.7));color:var(--ks-accent, var(--blue));font-size:1.35rem;flex:0 0 auto;border:1px solid var(--ks-border, rgba(23,63,83,.08))}
.modern-home-shell .home-quick-nav__title strong{display:block;font:600 .95rem/1.35 var(--fb)}
.modern-home-shell .home-quick-nav__title small{display:block;color:var(--ks-muted, var(--mu));font-size:.8rem;margin-top:2px}
.modern-home-shell .home-quick-nav__link-cta{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:9px 14px;border-radius:12px;background:var(--ks-surface-soft, #f3f7fa);border:1px solid var(--ks-border, rgba(23,63,83,.1));color:var(--ks-accent, var(--blue));font:700 .78rem/1.4 var(--fb);white-space:nowrap;transition:background-color .22s ease,border-color .22s ease,color .22s ease}
.modern-home-shell .home-quick-nav.home-quick-nav--map-link:hover .home-quick-nav__link-cta{background:rgba(8,126,139,.08);border-color:rgba(8,126,139,.2)}

.modern-home-shell .home-learning-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.modern-home-shell .home-platform-card.home-platform-card--animated,.modern-home-shell .home-tool-card,.modern-home-shell .home-discover-banner{position:relative;overflow:hidden;isolation:isolate;border-radius:18px;box-shadow:0 10px 28px rgba(23,63,83,.12)}
.modern-home-shell .home-platform-card.home-platform-card--animated,.modern-home-shell .home-blog-card,.modern-home-shell .home-ai-experience-card,.modern-home-shell .home-tool-showcase{transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s ease,border-color .28s ease}
.modern-home-shell .home-platform-card.home-platform-card--animated:hover,.modern-home-shell .home-blog-card:hover,.modern-home-shell .home-ai-experience-card:hover,.modern-home-shell .home-tool-showcase:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(23,63,83,.14)}
.modern-home-shell .home-platform-card.home-platform-card--animated{min-height:190px;display:flex;align-items:flex-end;border:1px solid rgba(255,255,255,.08);border-radius:26px}
.modern-home-shell .home-platform-card--animated .home-platform-card__content{position:relative;z-index:2;width:min(62%,320px);padding:24px 20px 18px}
.modern-home-shell .home-platform-card__content :is(h2,h3),.modern-home-shell .home-tool-card h3,.modern-home-shell .home-discover-banner :is(h2,h3){color:#fff;font:700 1.02rem/1.25 var(--fd);letter-spacing:-.02em}
.modern-home-shell .home-platform-card__content p,.modern-home-shell .home-discover-banner p{margin-top:7px;color:rgba(255,255,255,.92);font-size:.77rem;line-height:1.5;max-width:34ch}
.modern-home-shell .home-platform-card__content .modern-inline-link,.modern-home-shell .home-discover-banner .modern-inline-link{margin-top:12px;padding:7px 12px;border:1px solid #ffffffd9;border-radius:9px;background:#fff;color:#18364a!important;font-size:.73rem;box-shadow:none}
.modern-home-shell .home-platform-card__content .modern-inline-link:hover,.modern-home-shell .home-discover-banner .modern-inline-link:hover{color:#18364a;text-decoration:none;filter:brightness(.98)}

.modern-home-shell .home-tools-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.95fr);align-items:stretch;gap:24px}
.modern-home-shell .home-tools-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.modern-home-shell .home-tool-card{min-height:190px;display:flex;align-items:flex-end;justify-content:center;border:1px solid rgba(255,255,255,.12);border-radius:28px;transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s ease}
.modern-home-shell .home-tool-card:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(23,63,83,.2)}
.modern-home-shell .home-tool-card::after{content:"";position:absolute;inset:42% 0 0;z-index:1;pointer-events:none;background:linear-gradient(transparent,rgba(0,23,43,.62))}
.modern-home-shell .home-tool-card__content{position:relative;z-index:2;display:block;width:100%;padding:14px 14px 18px;text-align:center}
.modern-home-shell .home-tool-card h3{font:500 15px/1.35 var(--fd, 'Unbounded', system-ui, sans-serif)}
.modern-home-shell .home-tool-card p{display:none}

.modern-home-shell .home-tool-showcase,.modern-home-shell .home-blog-card,.modern-home-shell .home-ai-experience-card,.modern-home-shell .home-resource-strip,.modern-home-shell .home-empty,.modern-home-shell .home-more-materials{background:var(--ks-surface, #fff);box-shadow:var(--ks-shadow-sm, 0 2px 10px rgba(23,63,83,.08));border:1px solid var(--ks-border, rgba(23,63,83,.1));border-radius:16px}
.modern-home-shell .home-tool-showcase{display:flex;flex-direction:column;gap:12px;padding:16px;height:100%}
.modern-home-shell .home-tool-showcase h3{font:700 1.05rem/1.3 var(--fd, 'Unbounded', system-ui, sans-serif);color:var(--ks-text, var(--ink))}
.modern-home-shell .home-tool-showcase p,.modern-home-shell .home-empty{color:var(--ks-muted, var(--mu));font-size:.84rem;line-height:1.55}
.modern-home-shell .home-tool-showcase iframe{width:100%;aspect-ratio:16/9;border:0;border-radius:12px;background:#fff;box-shadow:inset 0 1px 4px rgba(23,63,83,.08)}
.modern-home-shell #home-data .home-publication-cta{
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    align-items:start;
    gap:16px;
    width:100%;
    margin-top:20px;
    padding:22px;
    border:1px solid color-mix(in srgb, var(--ks-accent, var(--blue)) 25%, transparent);
    border-radius:18px;
    background:
        linear-gradient(140deg, color-mix(in srgb, var(--ks-accent, var(--blue)) 9%, transparent), transparent 70%),
        var(--ks-surface, #fff);
    box-shadow:var(--ks-shadow-sm, 0 2px 10px rgba(23,63,83,.08));
    color:var(--ks-text, var(--ink));
}
.modern-home-shell #home-data .home-publication-cta__icon{
    display:grid;
    width:46px;
    height:46px;
    place-items:center;
    border:1px solid color-mix(in srgb, var(--ks-accent, var(--blue)) 18%, transparent);
    border-radius:13px;
    background:color-mix(in srgb, var(--ks-accent, var(--blue)) 9%, var(--ks-surface, #fff));
    color:var(--ks-accent, var(--blue));
    font-size:21px;
}
.modern-home-shell #home-data .home-publication-cta h2{
    max-width:560px;
    margin:0 0 6px;
    color:var(--ks-text, var(--ink));
    font:700 clamp(20px,2vw,25px)/1.2 var(--fb, system-ui, sans-serif);
}
.modern-home-shell #home-data .home-publication-cta p{
    max-width:610px;
    margin:0;
    color:var(--ks-muted, var(--mu));
    font-size:.875rem;
    line-height:1.6;
}
.modern-home-shell #home-data .home-publication-cta__actions{
    grid-column:2;
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:4px 16px;
}
.modern-home-shell #home-data .home-publication-cta__primary,
.modern-home-shell #home-data .home-publication-cta__secondary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    text-align:center;
    text-decoration:none;
}
.modern-home-shell #home-data .home-publication-cta__primary{
    gap:9px;
    padding:10px 15px;
    border:1px solid var(--ks-accent, var(--blue));
    border-radius:12px;
    background:var(--ks-accent, var(--blue));
    color:var(--ks-on-accent, #fff);
    font-size:.875rem;
    font-weight:800;
}
[data-theme="dark"] .modern-home-shell #home-data .home-publication-cta__primary{color:#062630}
.modern-home-shell #home-data .home-publication-cta__primary:hover{
    filter:brightness(.96);
    transform:translateY(-1px);
}
.modern-home-shell #home-data .home-publication-cta__secondary{
    color:var(--ks-accent, var(--blue));
    font-size:.8125rem;
    font-weight:700;
    text-decoration:underline;
    text-underline-offset:.22em;
}
.modern-home-shell #home-data .home-publication-cta a:focus-visible{
    outline:2px solid var(--ks-accent, var(--blue));
    outline-offset:3px;
}
@media(max-width:720px){
    .modern-home-shell #home-data .home-publication-cta{
        gap:12px;
        padding:16px;
    }
    .modern-home-shell #home-data .home-publication-cta__icon{
        width:36px;
        height:36px;
        border-radius:10px;
        font-size:18px;
    }
    .modern-home-shell #home-data .home-publication-cta__copy{display:contents}
    .modern-home-shell #home-data .home-publication-cta h2{
        align-self:center;
        margin:0;
        font-size:20px;
    }
    .modern-home-shell #home-data .home-publication-cta p{grid-column:1 / -1}
    .modern-home-shell #home-data .home-publication-cta__actions{
        grid-column:1 / -1;
        align-items:stretch;
        flex-direction:column;
    }
    .modern-home-shell #home-data .home-publication-cta__primary,
    .modern-home-shell #home-data .home-publication-cta__secondary{
        width:100%;
    }
}
.modern-home-shell .home-resource-strip{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin-top:12px;padding:10px 12px;border-radius:11px}
.modern-home-shell .home-resource-strip strong{font:600 .8rem/1.4 var(--fb);color:var(--ks-muted, var(--mu))}
.modern-home-shell .home-resource-strip a{color:var(--ks-accent, var(--blue));font:600 .8rem/1.4 var(--fb)}

.modern-home-shell .home-editorial-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);align-items:start;gap:26px}
.modern-home-shell .home-insights-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:26px}
.modern-home-shell .home-video-grid .row,.modern-home-shell #home-library .home-blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:0}
.modern-home-shell .home-video-grid .row>[class*="col-"]{width:auto;max-width:none;padding:0;margin:0}
.modern-home-shell .home-video-grid .video-post,.modern-home-shell .home-blog-card{overflow:hidden}
.modern-home-shell .home-video-grid .video-post{transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s ease,border-color .28s ease}
.modern-home-shell .home-video-grid .video-post:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(23,63,83,.14)}
.modern-home-shell .home-video-grid .video-post>a{display:flex;flex-direction:column;height:100%;color:var(--ink)}
.modern-home-shell .home-video-grid .video-post-thumbnail,.modern-home-shell .home-blog-card__cover{aspect-ratio:16/10;overflow:hidden;background:var(--ks-surface-soft, #f3f7fa);margin:10px;border-radius:12px}
.modern-home-shell .home-video-grid .video-post-thumbnail img,.modern-home-shell .home-blog-card__cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.modern-home-shell .home-video-grid .video-post:hover .video-post-thumbnail img,.modern-home-shell .home-blog-card:hover .home-blog-card__cover img{transform:scale(1.035)}
.modern-home-shell .home-video-grid .video-post-content,.modern-home-shell .home-blog-card__body{padding:0 12px 12px}
.modern-home-shell .video-card-topic,.modern-home-shell .home-blog-card__category{display:block;margin-bottom:6px;color:var(--ks-accent, var(--blue));font:700 11px/1.4 var(--fb);letter-spacing:.03em;text-transform:uppercase}
.modern-home-shell .home-video-grid .video-post-content h3,.modern-home-shell .home-blog-card h3{font:600 .88rem/1.45 var(--fb);color:var(--ks-text, var(--ink));display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.modern-home-shell .home-video-grid .video-post-content .video-card-description,.modern-home-shell .home-video-grid .video-post-thumbnail .btn-option{display:none}
.modern-home-shell .home-video-grid .video-post-content .media{margin-top:10px;padding-top:8px;border-top:1px solid var(--ks-border, rgba(23,63,83,.12));align-items:center}
.modern-home-shell .home-video-grid .video-post-content .media-body h6,.modern-home-shell .home-video-grid .fn__meta p,.modern-home-shell .home-blog-card__body>p,.modern-home-shell .home-ai-experience-card p{color:var(--ks-muted, var(--mu));font-size:.76rem;line-height:1.5}
.modern-home-shell .home-video-grid .video-post-time{position:absolute;right:14px;bottom:14px;padding:3px 8px;border-radius:8px;background:rgba(0,0,0,.55);color:#fff;font-size:11px}
.modern-home-shell .home-blog-grid{display:grid;gap:16px}
.modern-home-shell .home-blog-card{display:flex}
.modern-home-shell .home-blog-card__cover{flex:0 0 112px;width:112px;aspect-ratio:auto;min-height:96px;margin:12px 0 12px 12px}
.modern-home-shell .home-blog-card__body{display:flex;flex-direction:column;gap:6px;padding:12px 12px 12px 10px}
.modern-home-shell #home-baton .home-blog-card__body>p{display:none}
.modern-home-shell .home-blog-card__body>.modern-inline-link{margin-top:auto;font-size:.8rem;min-height:32px}

.modern-home-shell .home-insights-layout #home-data :is(.home-learning-grid,.home-data-grid){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.modern-home-shell #home-data .home-platform-card{min-height:168px}
.modern-home-shell #home-data .home-platform-card__content{width:100%;padding:18px}
.modern-home-shell #home-data .home-platform-card__content .modern-inline-link{margin-top:24px}
.modern-home-shell #home-ai-experience .home-ai-experience-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.modern-home-shell .home-ai-experience-card{padding:16px;display:flex;gap:12px;align-items:flex-start;min-height:0}
.modern-home-shell .home-ai-experience-card__logo{width:36px;height:36px;flex:0 0 36px;border-radius:11px;display:grid;place-items:center;background:var(--ks-surface-soft, #f3f7fa);border:1px solid var(--ks-border, rgba(23,63,83,.1));color:var(--ks-accent, var(--blue));overflow:hidden}
.modern-home-shell .home-ai-experience-card__logo img{width:100%;height:100%;object-fit:contain;padding:5px}
.modern-home-shell .home-ai-experience-card__developer{font-size:11px;color:var(--ks-muted, var(--mu));display:block}
.modern-home-shell .home-ai-experience-card h3{font:600 .84rem/1.4 var(--fb);margin:2px 0 4px}
.modern-home-shell .home-ai-experience-card h3 a{transition:color .2s ease}
.modern-home-shell .home-ai-experience-card h3 a:hover{color:var(--ks-accent, var(--blue))}
.modern-home-shell .home-ai-experience-more summary,.modern-home-shell .home-more-materials summary{cursor:pointer;color:var(--ks-accent, var(--blue));font:600 .84rem/1.4 var(--fb);padding:8px 0}
.modern-home-shell .home-ai-experience-more{margin-top:8px}

.modern-home-shell #home-library .home-blog-card{flex-direction:column}
.modern-home-shell #home-library .home-blog-card__cover{width:auto;flex:0 0 auto;margin:10px;aspect-ratio:16/9;min-height:0}
.modern-home-shell #home-library .home-blog-card__body{padding:0 12px 12px}
.modern-home-shell .home-discover-banner{min-height:190px;display:flex;align-items:center;padding:30px 32px;border:1px solid rgba(255,255,255,.08);border-radius:26px;background:var(--ks-hero, linear-gradient(135deg,#1f4f63,#0f7f89))}
.modern-home-shell section.home-discover-banner.home-section{padding:30px 32px}
.modern-home-shell .home-discover-banner>:not(.home-card-animation):not(.hero-3d-model){position:relative;z-index:2;max-width:min(64%,680px)}
.modern-home-shell .home-discover-banner .modern-block-eyebrow{background:rgba(255,255,255,.12);color:#fff;box-shadow:none;border-color:rgba(255,255,255,.2)}
.modern-home-shell .home-discover-links{display:flex;flex-wrap:wrap;gap:8px 14px;margin-top:12px}
.modern-home-shell .home-discover-links a{color:#fff;font:600 .8rem/1.4 var(--fb)}
.modern-home-shell .home-discover-links a:hover{text-decoration:underline;text-underline-offset:4px}
.modern-home-shell .home-more-materials{padding:12px 14px}
.modern-home-shell .home-more-materials ul{margin:8px 0 0;padding-left:18px;color:var(--ks-muted, var(--mu))}
.modern-home-shell .home-more-materials li a{color:var(--ks-accent, var(--blue))}
.modern-home-shell .home-section{padding:52px 0 8px}
.modern-home-shell .home-reveal{opacity:1;transform:none}
.modern-home-shell.home-reveal-ready .home-reveal:not(.is-revealed){opacity:0;transform:translateY(18px)}
.modern-home-shell.home-reveal-ready .home-reveal{transition:opacity .55s cubic-bezier(.2,.8,.2,1),transform .55s cubic-bezier(.2,.8,.2,1);transition-delay:var(--home-reveal-delay,0ms);will-change:opacity,transform}
.modern-home-shell.home-reveal-ready .home-reveal.is-revealed{opacity:1;transform:none;will-change:auto}

@media(min-width:1600px){.modern-home-shell .home-hero{padding:40px 36px 32px}}
@media(max-width:1100px){.modern-home-shell .home-hero{padding:28px 24px;gap:30px}.modern-home-shell .home-hero h1{font-size:clamp(34px,4.2vw,42px);max-width:14ch}.modern-home-shell .home-hero .home-hero__lede{font-size:14px}.modern-home-shell .home-tools-layout{grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:20px}.modern-home-shell .home-tool-card{min-height:180px}.modern-home-shell .home-tools-grid,.modern-home-shell .home-learning-grid{gap:20px}}
@media(max-width:1024px){.modern-home-shell .home-hero,.modern-home-shell .home-tools-layout,.modern-home-shell .home-editorial-layout,.modern-home-shell .home-insights-layout{grid-template-columns:1fr}.modern-home-shell .home-hero{gap:40px;padding:28px 24px}.modern-home-shell .home-hero__art{min-height:220px;max-height:300px}.modern-home-shell .home-learning-grid,.modern-home-shell #home-ai-experience .home-ai-experience-grid,.modern-home-shell .home-video-grid .row,.modern-home-shell #home-library .home-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.modern-home-shell .home-tools-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.modern-home-shell .home-discover-banner>:not(.home-card-animation):not(.hero-3d-model){max-width:100%}.modern-home-shell .home-tool-showcase{height:auto}.modern-home-shell section.home-discover-banner.home-section{padding:30px 32px}}
@media(max-width:720px){.modern-home-shell{width:min(1160px,100% - 24px);padding-bottom:40px}.modern-home-shell .home-section{padding:36px 0 8px}.modern-home-shell .home-hero{grid-template-columns:1fr;gap:18px;padding:24px 20px 18px;border-radius:24px;margin-top:16px}.modern-home-shell .home-hero h1{max-width:100%;font-size:clamp(28px,7.5vw,32px);line-height:1.12;margin-bottom:12px}.modern-home-shell .home-hero .home-hero__lede{font-size:14px;line-height:1.6}.modern-home-shell .home-hero__actions{margin-top:16px;gap:8px}.modern-home-shell .home-hero__actions .home-button{min-height:46px;font-size:14px}.modern-home-shell .home-hero__art{min-height:180px;max-height:240px}.modern-home-shell .home-section-heading{flex-direction:column;align-items:flex-start;gap:8px;margin-bottom:20px}.modern-home-shell .home-section-heading h2{font-size:24px}.modern-home-shell .home-learning-grid,.modern-home-shell .home-video-grid .row,.modern-home-shell .home-insights-layout #home-data :is(.home-learning-grid,.home-data-grid),.modern-home-shell #home-ai-experience .home-ai-experience-grid,.modern-home-shell #home-library .home-blog-grid{grid-template-columns:1fr;gap:20px}.modern-home-shell .home-tools-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.modern-home-shell .home-platform-card.home-platform-card--animated{min-height:190px}.modern-home-shell .home-platform-card--animated .home-platform-card__content{width:min(68%,300px);padding:20px}.modern-home-shell .home-tool-card{min-height:116px;border-radius:14px}.modern-home-shell .home-tool-card__content{padding:9px 5px 10px}.modern-home-shell .home-tool-card h3{font-size:11.5px;line-height:1.25}.modern-home-shell .home-ai-experience-card h3{font-size:14px}.modern-home-shell .home-ai-experience-card p{font-size:12px}.modern-home-shell .home-blog-card{flex-direction:column}.modern-home-shell .home-blog-card__cover{width:auto;flex-basis:auto;min-height:0;aspect-ratio:16/9;margin:12px}.modern-home-shell .home-blog-card__body{padding:0 14px 16px}.modern-home-shell .home-quick-nav.home-quick-nav--map-link{flex-direction:column;align-items:stretch;padding:18px}.modern-home-shell .home-quick-nav__link-cta{justify-content:center;width:100%}.modern-home-shell .home-discover-banner,.modern-home-shell section.home-discover-banner.home-section{min-height:0;padding:24px 20px}}
@media(max-width:720px){.modern-home-shell{width:min(1160px,100% - 24px);padding-bottom:40px}.modern-home-shell .home-section{padding:36px 0 8px}.modern-home-shell .home-hero{grid-template-columns:1fr;gap:18px;padding:24px 20px 18px;border-radius:24px;margin-top:16px}.modern-home-shell .home-hero h1{max-width:100%;font-size:clamp(28px,7.5vw,32px);line-height:1.12;margin-bottom:12px}.modern-home-shell .home-hero .home-hero__lede{font-size:14px;line-height:1.6}.modern-home-shell .home-hero__actions{margin-top:16px;gap:8px}.modern-home-shell .home-hero__actions .home-button{min-height:46px;font-size:14px}.modern-home-shell .home-hero__art{min-height:180px;max-height:240px}.modern-home-shell .home-section-heading{flex-direction:column;align-items:flex-start;gap:8px;margin-bottom:20px}.modern-home-shell .home-section-heading h2{font-size:24px}.modern-home-shell .home-learning-grid,.modern-home-shell .home-video-grid .row,.modern-home-shell .home-insights-layout #home-data :is(.home-learning-grid,.home-data-grid),.modern-home-shell #home-ai-experience .home-ai-experience-grid,.modern-home-shell #home-library .home-blog-grid{grid-template-columns:1fr;gap:20px}.modern-home-shell .home-tools-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.modern-home-shell .home-platform-card.home-platform-card--animated{min-height:190px}.modern-home-shell .home-platform-card--animated .home-platform-card__content{width:min(68%,300px);padding:20px}.modern-home-shell .home-tool-card{min-height:170px}.modern-home-shell .home-tool-card h3{font-size:13px}.modern-home-shell .home-ai-experience-card h3{font-size:14px}.modern-home-shell .home-ai-experience-card p{font-size:12px}.modern-home-shell .home-blog-card{flex-direction:column}.modern-home-shell .home-blog-card__cover{width:auto;flex-basis:auto;min-height:0;aspect-ratio:16/9;margin:12px}.modern-home-shell .home-blog-card__body{padding:0 14px 16px}.modern-home-shell .home-quick-nav.home-quick-nav--map-link{flex-direction:column;align-items:stretch;padding:18px}.modern-home-shell .home-quick-nav__link-cta{justify-content:center;width:100%}.modern-home-shell .home-discover-banner,.modern-home-shell section.home-discover-banner.home-section{min-height:0;padding:24px 20px}}
@media(prefers-reduced-motion:reduce){.modern-home-shell,.modern-home-shell *,.modern-home-shell *::before,.modern-home-shell *::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}.modern-home-shell.home-reveal-ready .home-reveal{opacity:1!important;transform:none!important}.modern-home-shell .home-button:hover,.modern-home-shell .home-quick-nav.home-quick-nav--map-link:hover,.modern-home-shell .home-platform-card.home-platform-card--animated:hover,.modern-home-shell .home-blog-card:hover,.modern-home-shell .home-ai-experience-card:hover,.modern-home-shell .home-tool-showcase:hover,.modern-home-shell .home-tool-card:hover,.modern-home-shell .home-video-grid .video-post:hover,.modern-home-shell .home-video-grid .video-post:hover .video-post-thumbnail img,.modern-home-shell .home-blog-card:hover .home-blog-card__cover img{transform:none!important}}
/* Adaptive/motion polish from KipSlide_Home_Adaptive_Motion reference, scoped to home */
html:has(.modern-home-shell){scroll-padding-top:calc(var(--home-navbar-height, 90px) + 24px);text-size-adjust:100%;-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html:has(.modern-home-shell){scroll-behavior:auto}}
body:has(.modern-home-shell){overflow-x:clip}
.modern-home-shell{--home-ease:cubic-bezier(.22,1,.36,1);--home-tap:44px;overflow-x:clip}
.modern-home-shell [id]{scroll-margin-top:calc(var(--home-navbar-height, 90px) + 24px)}
.modern-home-shell :is(a,button,summary,[role="button"]){min-height:var(--home-tap);touch-action:manipulation}
.modern-home-shell :is(a,button,summary,[role="button"]):focus-visible{outline:2px solid var(--ks-accent, var(--blue));outline-offset:3px;border-radius:10px}
.modern-home-shell .home-section-heading .modern-inline-link,.modern-home-shell .home-section-heading .home-section-link{min-height:var(--home-tap)}
.modern-home-shell .home-blog-card__body>.modern-inline-link,.modern-home-shell .home-discover-links a,.modern-home-shell .home-resource-strip a,.modern-home-shell .home-publication-links a{min-height:var(--home-tap);display:inline-flex;align-items:center}
.modern-home-shell :is(.home-platform-card,.home-tool-card,.home-blog-card,.home-ai-experience-card,.home-video-grid .video-post,.home-tool-showcase,.home-hero,.home-discover-banner,.home-quick-nav){min-width:0}
.modern-home-shell :is(.home-platform-card__content,.home-blog-card__body,.home-ai-experience-card__content,.home-tool-showcase__copy,.home-hero__copy){min-width:0;overflow-wrap:anywhere}
.modern-home-shell :is(h1,h2,h3,.home-hero__lede,.home-section-heading p){text-wrap:balance}
.modern-home-shell img,.modern-home-shell iframe{max-width:100%}
.modern-home-shell .home-button:active,.modern-home-shell .home-motion-toggle:active,.modern-home-shell .home-quick-nav.home-quick-nav--map-link:active{transform:translateY(1px) scale(.995)}
.modern-home-shell .home-button,.modern-home-shell .home-quick-nav.home-quick-nav--map-link,.modern-home-shell .home-platform-card.home-platform-card--animated,.modern-home-shell .home-tool-card,.modern-home-shell .home-blog-card,.modern-home-shell .home-ai-experience-card,.modern-home-shell .home-video-grid .video-post,.modern-home-shell .home-tool-showcase,.modern-home-shell .home-motion-toggle{transition-timing-function:var(--home-ease),var(--home-ease),var(--home-ease),var(--home-ease),var(--home-ease)}
/* Hero entrance + child stagger reveals (progressive enhancement) */
@media (prefers-reduced-motion:no-preference){
  .modern-home-shell .home-hero__copy>:is(.home-hero__kicker,h1,.home-hero__lede,.home-hero__actions){animation:home-rise .72s var(--home-ease) backwards}
  .modern-home-shell .home-hero__copy>.home-hero__kicker{animation-delay:.02s}
  .modern-home-shell .home-hero__copy>h1{animation-delay:.1s}
  .modern-home-shell .home-hero__copy>.home-hero__lede{animation-delay:.18s}
  .modern-home-shell .home-hero__copy>.home-hero__actions{animation-delay:.26s}
  @keyframes home-rise{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}
  .modern-home-shell.home-reveal-ready .home-reveal-child:not(.is-revealed){opacity:0;transform:translateY(16px)}
  .modern-home-shell.home-reveal-ready .home-reveal-child{transition:opacity .5s var(--home-ease),transform .5s var(--home-ease);transition-delay:var(--home-reveal-delay,0ms);will-change:opacity,transform}
  .modern-home-shell.home-reveal-ready .home-reveal-child.is-revealed{opacity:1;transform:none;will-change:auto}
}
@media (hover:none){.modern-home-shell .home-platform-card.home-platform-card--animated:hover,.modern-home-shell .home-blog-card:hover,.modern-home-shell .home-ai-experience-card:hover,.modern-home-shell .home-tool-showcase:hover,.modern-home-shell .home-tool-card:hover,.modern-home-shell .home-video-grid .video-post:hover{transform:none}.modern-home-shell .home-video-grid .video-post:hover .video-post-thumbnail img,.modern-home-shell .home-blog-card:hover .home-blog-card__cover img{transform:none}}
@media (max-width:1024px){.modern-home-shell .home-resource-strip{overflow-x:auto;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:thin}.modern-home-shell .home-resource-strip>*{scroll-snap-align:start}}
@media (max-width:720px){.modern-home-shell .home-hero__actions .home-button{flex:1 1 180px}.modern-home-shell .home-discover-links a{flex:1 1 140px}.modern-home-shell .home-resource-strip{flex-wrap:nowrap;overflow-x:auto;gap:8px 14px;padding-bottom:12px}.modern-home-shell .home-resource-strip strong{flex:0 0 auto}.modern-home-shell .home-resource-strip a{flex:0 0 auto;white-space:nowrap}.modern-home-shell #home-baton .home-blog-card:nth-child(n+2){display:none}.modern-home-shell #home-ai-experience>.home-ai-experience-grid>.home-ai-experience-card:nth-child(n+2){display:none}.modern-home-shell .home-publication-links{display:flex;flex-wrap:wrap;gap:8px 14px}}
@media (max-width:420px){.modern-home-shell .home-hero__actions .home-button{flex-basis:100%}.modern-home-shell .home-quick-nav__title{align-items:flex-start}.modern-home-shell .home-ai-experience-card{padding:14px}}
@media (prefers-reduced-transparency:reduce){.modern-home-shell .home-hero,.modern-home-shell .home-discover-banner,.modern-home-shell .home-quick-nav.home-quick-nav--map-link,.modern-home-shell .home-tool-showcase,.modern-home-shell .home-blog-card,.modern-home-shell .home-ai-experience-card{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}

/* Home hero portrait */
.modern-home-shell.home-dashboard .home-hero {
    --home-hero-ink:#162743;
    --home-hero-muted:#405673;
    --home-hero-accent:#0b5fd1;
    --home-hero-edge:#b7cee8;
    --home-hero-start:#e1f1ff;
    --home-hero-middle:#fbfcff;
    --home-hero-end:#fff2c4;
    --home-hero-glow-blue:rgb(41 148 245 / .42);
    --home-hero-glow-gold:rgb(247 184 42 / .39);
    grid-template-columns:minmax(0,1fr) minmax(0,1.05fr) minmax(132px,.42fr);
    gap:clamp(18px,3vw,42px);
    margin-top:12px;
    padding:clamp(18px,3vw,40px) clamp(20px,4vw,56px) 0;
    border-color:var(--home-hero-edge);
    background:linear-gradient(150deg,var(--home-hero-start),var(--home-hero-middle) 53%,var(--home-hero-end)) !important;
    box-shadow:0 12px 36px rgb(19 56 96 / .12);
}
[data-theme="dark"] .modern-home-shell .home-hero {
    --home-hero-ink:#f2f7ff;
    --home-hero-muted:#b9cee5;
    --home-hero-accent:#7cc2ff;
    --home-hero-edge:#395779;
    --home-hero-start:#183758;
    --home-hero-middle:#122238;
    --home-hero-end:#352e22;
    --home-hero-glow-blue:rgb(49 150 255 / .38);
    --home-hero-glow-gold:rgb(249 189 56 / .24);
}
.modern-home-shell .home-hero__copy {
    grid-column:2;
    grid-row:1;
    padding:0 0 clamp(18px,3vw,40px);
    color:var(--home-hero-ink);
}
.modern-home-shell .home-hero__topics {
    display:inline-flex;
    max-width:100%;
    margin-bottom:10px;
    padding:7px 12px;
    border:0;
    border-radius:17px;
    background:var(--bg) linear-gradient(145deg,var(--g1),var(--g2));
    box-shadow:var(--up-s);
    color:var(--ink);
    font:600 12px/1.4 var(--fb, "Onest", system-ui, sans-serif);
}
.modern-home-shell.home-dashboard .home-hero h1 {
    max-width:18ch;
    margin:0 0 12px;
    color:var(--home-hero-ink);
    font:700 clamp(27px,3.6vw,47px)/1.1 var(--fd, "Unbounded", system-ui, sans-serif);
    letter-spacing:-.025em;
}
.modern-home-shell.home-dashboard .home-hero h1 span { color:var(--home-hero-accent); }
.modern-home-shell.home-dashboard .home-hero .home-hero__lede {
    max-width:46ch;
    color:var(--home-hero-muted) !important;
    font-size:15px;
    text-wrap:pretty;
}
.modern-home-shell .home-hero .home-button {
    min-height:46px;
    padding:9px 14px;
    border-radius:12px;
    text-align:center;
}
.modern-home-shell.home-dashboard .home-hero .home-button--primary { background:#0b5fd1;border-color:#0b5fd1;color:#fff; }
.modern-home-shell.home-dashboard .home-hero .home-button--primary:hover { background:#064eaf;border-color:#064eaf;color:#fff; }
.modern-home-shell .home-hero .home-button--secondary {
    background:color-mix(in srgb,var(--home-hero-accent) 6%,transparent);
    border-color:var(--home-hero-edge);
    color:var(--home-hero-ink);
}
.modern-home-shell .home-hero .home-button--secondary:hover { border-color:var(--home-hero-accent);color:var(--home-hero-accent); }
.modern-home-shell .home-hero a:focus-visible { outline:2px solid var(--home-hero-accent);outline-offset:3px; }
.modern-home-shell .home-hero__folders {
    grid-column:3;
    grid-row:1;
    display:grid;
    gap:12px;
    padding:8px 0 clamp(18px,3vw,40px);
}
.modern-home-shell .home-hero__folder {
    position:relative;
    display:flex;
    align-items:center;
    gap:8px;
    min-width:0;
    min-height:44px;
    margin-top:5px;
    padding:7px 9px;
    border:1px solid var(--home-hero-edge);
    border-radius:0 14px 14px 14px;
    background:linear-gradient(180deg,var(--home-hero-middle),color-mix(in srgb,var(--home-hero-middle) 85%,var(--home-hero-end)));
    box-shadow:var(--ks-shadow-sm,0 3px 9px rgb(19 56 96 / .1));
    color:var(--home-hero-ink);
    font:650 12px/1.25 var(--fb, "Onest", system-ui, sans-serif);
    text-decoration:none;
}
.modern-home-shell .home-hero__folder::before {
    content:"";
    position:absolute;
    top:-6px;
    left:-1px;
    width:34%;
    height:6px;
    border:1px solid var(--home-hero-edge);
    border-bottom:0;
    border-radius:5px 8px 0 0;
    background:var(--home-hero-middle);
}
.modern-home-shell .home-hero__folder-icon {
    display:grid;
    place-items:center;
    flex:none;
    width:28px;
    height:28px;
    border-radius:9px;
    background:color-mix(in srgb,var(--folder-icon-color) 13%,var(--home-hero-middle));
    color:var(--folder-icon-color);
    font-size:16px;
    line-height:1;
}
.modern-home-shell .home-hero__folder-icon--teacher { --folder-icon-color:#1d5cc1; }
.modern-home-shell .home-hero__folder-icon--automation { --folder-icon-color:#00786d; }
.modern-home-shell .home-hero__folder-icon--student { --folder-icon-color:#945500; }
[data-theme="dark"] .modern-home-shell .home-hero__folder-icon--teacher { --folder-icon-color:#8cc1ff; }
[data-theme="dark"] .modern-home-shell .home-hero__folder-icon--automation { --folder-icon-color:#6ce0c4; }
[data-theme="dark"] .modern-home-shell .home-hero__folder-icon--student { --folder-icon-color:#ffcd76; }
.modern-home-shell .home-hero__folder:hover { color:var(--home-hero-accent); }
.modern-home-shell .home-hero .home-hero__art {
    grid-column:1;
    grid-row:1;
    display:grid;
    place-items:end center;
    align-self:end;
    min-height:0;
    max-height:none;
}
.modern-home-shell .home-hero__folder.home-hero__trees {
    flex-direction:row;
    gap:8px;
    margin:12px 0;
    padding:7px 12px;
}
.modern-home-shell .home-hero__figure {
    position:relative;
    isolation:isolate;
    width:min(100%,540px);
}
.modern-home-shell .home-hero__figure::before {
    content:"";
    position:absolute;
    z-index:-1;
    inset:-16% 0 0;
    border-radius:50%;
    background:
        radial-gradient(ellipse 43% 50% at 40% 36%,var(--home-hero-glow-blue),transparent 100%),
        radial-gradient(ellipse 46% 46% at 46% 73%,var(--home-hero-glow-gold),transparent 100%);
    filter:blur(clamp(8px,1.6vw,22px));
    pointer-events:none;
}
.modern-home-shell .home-hero__portrait {
    display:block;
    width:100%;
    height:auto;
    filter:drop-shadow(-3px 0 10px var(--home-hero-glow-blue)) drop-shadow(4px 5px 12px var(--home-hero-glow-gold));
}
.modern-home-shell .home-hero__signature {
    position:absolute;
    left:7%;
    bottom:6%;
    width:56%;
    height:auto;
    filter:drop-shadow(0 2px 6px rgb(8 20 50 / .65));
}
@media (prefers-reduced-motion: no-preference) {
    .modern-home-shell .home-hero__portrait {
        animation:home-hero-portrait-rise .8s cubic-bezier(.2,.8,.2,1) both;
    }
    .modern-home-shell .home-hero__signature {
        animation:home-hero-signature-write 1.3s cubic-bezier(.65,0,.25,1) .5s both;
    }
}
@keyframes home-hero-portrait-rise {
    from { opacity:0;transform:translateY(18px); }
}
@keyframes home-hero-signature-write {
    from { clip-path:inset(-10% 100% -10% 0); }
    to { clip-path:inset(-10% -10% -10% 0); }
}
@media(max-width:860px) {
    .modern-home-shell.home-dashboard .home-hero { grid-template-columns:minmax(0,1fr);gap:10px;padding:20px 18px 0; }
    .modern-home-shell .home-hero__copy { grid-column:1;grid-row:1;padding:0; }
    .modern-home-shell .home-hero__folders {
        grid-column:1;
        grid-row:2;
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:8px;
        padding:4px 0;
    }
    .modern-home-shell .home-hero .home-hero__art { grid-row:3; }
    .modern-home-shell .home-hero__figure { width:min(100%,350px); }
    .modern-home-shell.home-dashboard .home-hero h1 { max-width:none; }
}
@media(max-width:720px) {
    .modern-home-shell .home-hero__copy { display:contents; }
    .modern-home-shell .home-hero__topics { grid-row:1;justify-self:start; }
    .modern-home-shell .home-hero h1 { grid-row:2; }
    .modern-home-shell .home-hero__folders { grid-row:3; }
    .modern-home-shell .home-hero .home-hero__art { grid-row:4; }
    .modern-home-shell.home-dashboard .home-hero .home-hero__lede {
        grid-row:5;
        justify-self:center;
        padding:8px 0 12px;
        text-align:center;
    }
}
@media(max-width:520px) {
    .modern-home-shell.home-dashboard .home-hero { margin-top:8px;gap:4px;padding:16px 14px 18px;border-radius:20px; }
    .modern-home-shell.home-dashboard .home-hero h1 { margin-bottom:8px;font-size:clamp(19px,5.9vw,27px); }
    .modern-home-shell.home-dashboard .home-hero .home-hero__lede { font-size:14px;line-height:1.45; }
    .modern-home-shell .home-hero__actions { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:12px; }
    .modern-home-shell.home-dashboard .home-hero__actions .home-button { padding-inline:6px;font-size:12px; }
    .modern-home-shell .home-hero__figure { width:min(100%,280px); }
    .modern-home-shell .home-hero__folder {
        flex-direction:column;
        justify-content:center;
        gap:3px;
        padding:6px 4px;
        text-align:center;
    }
}

/* Home presentations single folder (reference: KipSlide_Home_Adaptive_Motion.html) */
/* Home presentations - aligned with site card style */
.modern-home-shell #home-presentations .folder{background:transparent;padding:0;box-shadow:none;border-radius:0;margin-top:8px}
.modern-home-shell #home-presentations .grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding-top:0}
.modern-home-shell #home-presentations .vc{display:flex;flex-direction:column;position:relative;background:var(--ks-surface,#fff);color:var(--ks-text,#142E3D);border:1px solid var(--ks-border,rgba(23,63,83,.1));border-radius:16px;padding:0;text-decoration:none;box-shadow:var(--ks-shadow-sm,0 2px 10px rgba(23,63,83,.08));overflow:hidden;transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s ease,border-color .28s ease}
.modern-home-shell #home-presentations .vc::before{content:none}
.modern-home-shell #home-presentations .vc:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(23,63,83,.14);border-color:rgba(8,126,139,.22)}
.modern-home-shell #home-presentations .vc:focus-visible{outline:2px solid var(--ks-accent,#087E8B);outline-offset:3px}
.modern-home-shell #home-presentations .vth{display:block;position:relative;margin:10px 10px 0;aspect-ratio:16/10;border-radius:12px;overflow:hidden;background:var(--ks-surface-soft,#f3f7fa)}
.modern-home-shell #home-presentations .vth::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(11,30,40,.28) 100%);pointer-events:none}
.modern-home-shell #home-presentations .vth .fxw,.modern-home-shell #home-presentations .vth img{display:block;width:100%;height:100%}
.modern-home-shell #home-presentations .vth img{object-fit:cover;transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.modern-home-shell #home-presentations .vc:hover .vth img{transform:scale(1.035)}
.modern-home-shell #home-presentations .vth .pl{position:absolute;left:12px;bottom:12px;z-index:1;width:36px;height:36px;border-radius:10px;background:rgba(255,255,255,.18);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#fff;display:grid;place-items:center;font-size:13px;line-height:1;box-shadow:inset 0 0 0 1px rgba(255,255,255,.24);transition:background-color .2s ease,transform .2s ease}
.modern-home-shell #home-presentations .vc:hover .vth .pl{background:rgba(8,126,139,.82);transform:scale(1.04)}
.modern-home-shell #home-presentations .vth time{position:absolute;right:12px;bottom:12px;z-index:1;display:inline-flex;align-items:center;font:600 11px/1 var(--fb,'Onest',sans-serif);padding:6px 9px;border-radius:999px;background:rgba(15,37,48,.52);color:#fff;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);letter-spacing:.01em}
.modern-home-shell #home-presentations .vc h3{font:600 .88rem/1.45 var(--fb,'Onest',sans-serif);margin:14px 14px 6px;color:var(--ks-text,#142E3D);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.modern-home-shell #home-presentations .vc p{margin:0 14px;font:700 11px/1.4 var(--fb,'Onest',sans-serif);color:var(--ks-accent,#087E8B);letter-spacing:.03em;text-transform:uppercase}
.modern-home-shell #home-presentations .vc small{display:block;margin-top:auto;padding:12px 14px 14px;font:500 12px/1.4 var(--fb,'Onest',sans-serif);color:var(--ks-muted,#526B78);border-top:1px solid var(--ks-border,rgba(23,63,83,.1));margin-left:14px;margin-right:14px;padding-left:0;padding-right:0}
[data-theme="dark"] .modern-home-shell #home-presentations .vc:hover{box-shadow:0 14px 32px rgba(1,8,12,.32);border-color:rgba(84,214,224,.28)}
@media (max-width:1024px){.modern-home-shell #home-presentations .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}
@media (max-width:720px){.modern-home-shell #home-presentations .grid{grid-template-columns:1fr;gap:16px}.modern-home-shell #home-presentations .vc:nth-child(n+2){display:none}.modern-home-shell #home-presentations .vth{margin:8px 8px 0;border-radius:10px}.modern-home-shell #home-presentations .vc h3{margin:12px 12px 6px}.modern-home-shell #home-presentations .vc p{margin:0 12px}.modern-home-shell #home-presentations .vc small{margin-left:12px;margin-right:12px;padding:10px 0 12px}}
@media (hover:none){.modern-home-shell #home-presentations .vc:hover{transform:none;box-shadow:var(--ks-shadow-sm,0 2px 10px rgba(23,63,83,.08))}.modern-home-shell #home-presentations .vc:hover .vth img{transform:none}.modern-home-shell #home-presentations .vc:hover .vth .pl{transform:none;background:rgba(255,255,255,.18)}}
@media (prefers-reduced-motion:reduce){.modern-home-shell #home-presentations .vth img,.modern-home-shell #home-presentations .vc,.modern-home-shell #home-presentations .vth .pl{transition:none!important}}

/* Portal sections tabs/folder (reference: 8KipSlide_Home_Adaptive_Motion.html), compact */
.modern-home-shell #home-portal-sections{--paper:#ecdcab;--paper2:#d8c488;--pk:#3a2f1a;--pm:#5b5240;--pink:#fffdf5;--pl:#3a2f1a1f;--ph:#3a2f1a12;--pi:#241e12;--pc:#7a6e55}
[data-theme="dark"] .modern-home-shell #home-portal-sections{--paper:#0e3340;--paper2:#0a2631;--pk:#dff6f6;--pm:#a4c7cb;--pink:#0a2430;--pl:#3ee8e426;--ph:#3ee8e414;--pi:#e6f4f5;--pc:#72a9ae}
.modern-home-shell #home-portal-sections .sub{margin:0 0 18px;color:var(--ks-muted,var(--mu));max-width:68ch;font-size:15px;line-height:1.55}
.modern-home-shell #home-portal-sections .tabs{display:flex;gap:5px;flex-wrap:wrap;padding-left:16px;position:relative;z-index:1}
.modern-home-shell #home-portal-sections .tab{border:0;padding:9px 16px;background:var(--paper2);color:var(--pk);border-radius:12px 12px 0 0;font:500 12.5px/1.2 var(--fd,'Unbounded',system-ui,sans-serif);cursor:pointer;position:relative;top:1px;opacity:.8;transition:opacity .25s,top .25s,transform .25s;white-space:nowrap}
.modern-home-shell #home-portal-sections .tab em{font:600 11px var(--fb,'Onest',sans-serif);font-style:normal;margin-left:6px;background:var(--pk);color:var(--paper);border-radius:8px;padding:1px 7px;vertical-align:middle}
.modern-home-shell #home-portal-sections .tab[aria-selected="true"]{background:var(--paper);opacity:1}
.modern-home-shell #home-portal-sections .tab:hover{opacity:1;transform:translateY(-2px)}
.modern-home-shell #home-portal-sections .tab:focus-visible{outline:2px solid var(--ks-accent,#087E8B);outline-offset:2px}
.modern-home-shell #home-portal-sections .folder{background:var(--paper);color:var(--pk);border-radius:6px 18px 18px 18px;padding:22px;box-shadow:var(--ks-shadow-sm,0 8px 24px rgba(23,63,83,.1));position:relative}
.modern-home-shell #home-portal-sections .ios{list-style:none;margin:0;padding:0;border-radius:14px;overflow:hidden;background:var(--pink);box-shadow:0 1px 0 var(--pl)}
.modern-home-shell #home-portal-sections .ios li+li{border-top:1px solid var(--pl)}
.modern-home-shell #home-portal-sections .ios a{display:flex;align-items:center;gap:12px;padding:10px 14px;min-height:46px;text-decoration:none;color:var(--pi);transition:background-color .2s ease,color .2s ease}
.modern-home-shell #home-portal-sections .ios a:hover,.modern-home-shell #home-portal-sections .ios a:focus-visible{background:var(--ph)}
.modern-home-shell #home-portal-sections .ic{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;color:#fff;font:500 13px var(--fd,'Unbounded',system-ui,sans-serif);flex:none}
.modern-home-shell #home-portal-sections .c1{background:#0b5fd1}
.modern-home-shell #home-portal-sections .tx{flex:1;display:grid;min-width:0}
.modern-home-shell #home-portal-sections .ios b{font-weight:600;font-size:14px;line-height:1.35;color:inherit}
.modern-home-shell #home-portal-sections .chev{color:var(--pc);font-size:20px;line-height:1;flex:none}
@media (max-width:720px){
  .modern-home-shell #home-portal-sections .sub{margin-bottom:14px;font-size:14px}
  .modern-home-shell #home-portal-sections .tabs{padding-left:0;gap:4px;flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:2px}
  .modern-home-shell #home-portal-sections .tabs::-webkit-scrollbar{display:none}
  .modern-home-shell #home-portal-sections .tab{font-size:11.5px;padding:8px 12px}
  .modern-home-shell #home-portal-sections .tab em{font-size:10px;margin-left:5px;padding:1px 6px}
  .modern-home-shell #home-portal-sections .folder{padding:16px;border-radius:6px 14px 14px 14px}
  .modern-home-shell #home-portal-sections .ios a{padding:9px 12px;min-height:44px;gap:10px}
  .modern-home-shell #home-portal-sections .ic{width:28px;height:28px;border-radius:7px;font-size:12px}
  .modern-home-shell #home-portal-sections .ios b{font-size:13.5px}
}
@media (prefers-reduced-motion:reduce){.modern-home-shell #home-portal-sections .tab,.modern-home-shell #home-portal-sections .ios a{transition:none!important}}
/* Portal subnav (second header) - pill style like main nav */
.ks-subnav{position:sticky;top:var(--hh,72px);z-index:19;padding:6px 0;isolation:isolate}
.ks-subnav::before{content:none}
.ks-subnav .sub-in{display:flex;align-items:center;gap:2px;padding:0;margin:0;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;border-radius:0;box-shadow:none;background:transparent;width:max-content;max-width:100%}
.ks-subnav .sub-in::-webkit-scrollbar{display:none}
.ks-subnav .sb{flex:none;display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border:0;border-radius:999px;background:transparent;color:var(--mu,#526B78);box-shadow:none;font:400 12px/16px Arial,Helvetica,sans-serif;letter-spacing:.2px;cursor:pointer;text-decoration:none;transition:box-shadow .2s,color .2s,background-image .2s;white-space:nowrap}
[data-theme="dark"] .ks-subnav .sb{color:var(--mu,#9cc2c7)}
.ks-subnav .sb i{font-style:normal;font-size:10px;transition:transform .25s;line-height:1}
.ks-subnav .sb:hover{color:var(--ink,#142E3D);box-shadow:var(--up-s,6px 6px 14px #a5afc4,-6px -6px 14px #fff);background-image:linear-gradient(145deg,var(--g1,#f0f3f9),var(--g2,#d1d8e6))}
[data-theme="dark"] .ks-subnav .sb:hover{color:var(--blue,#41f0ec);box-shadow:0 0 0 1px rgba(65,240,236,.3),6px 6px 13px #01080c,-4px -4px 11px #14394a,0 0 18px #41f0ec40;background-image:linear-gradient(145deg,#0f2f3d,#061821)}
.ks-subnav .sb[aria-expanded="true"],.ks-subnav .sb.cur{box-shadow:var(--up-s,6px 6px 14px #a5afc4,-6px -6px 14px #fff);color:var(--blue,#087E8B);background-image:linear-gradient(145deg,var(--g1,#f0f3f9),var(--g2,#d1d8e6))}
[data-theme="dark"] .ks-subnav .sb[aria-expanded="true"],[data-theme="dark"] .ks-subnav .sb.cur{color:var(--blue,#41f0ec);box-shadow:0 0 0 1px rgba(65,240,236,.3),6px 6px 13px #01080c,-4px -4px 11px #14394a;background-image:linear-gradient(145deg,#0f2f3d,#061821)}
.ks-subnav .sb[aria-expanded="true"] i{transform:rotate(180deg)}
.ks-subnav .sb.more2{margin-left:0;color:var(--blue,#087E8B)}
[data-theme="dark"] .ks-subnav .sb.more2{color:var(--blue,#41f0ec)}
.ks-portal-map-cta{display:flex;justify-content:flex-end;padding:14px 0 10px}
.ks-portal-map-cta .sb.more2{display:inline-flex;align-items:center;gap:4px;padding:8px 16px;border:0;border-radius:999px;background:var(--bg,#e2e6ef) linear-gradient(145deg,var(--g1,#f0f3f9),var(--g2,#d1d8e6));box-shadow:var(--up-s,6px 6px 14px #a5afc4,-6px -6px 14px #fff);color:var(--blue,#087E8B);text-decoration:none;font:600 13px/1.4 var(--fb,"Onest",system-ui,sans-serif);letter-spacing:.2px;white-space:nowrap;transition:box-shadow .2s,color .2s,transform .2s}
[data-theme="dark"] .ks-portal-map-cta .sb.more2{background:linear-gradient(145deg,#0f2f3d,#061821);box-shadow:0 0 0 1px rgba(65,240,236,.3),6px 6px 13px #01080c,-4px -4px 11px #14394a;color:var(--blue,#41f0ec)}
.ks-portal-map-cta .sb.more2:hover,.ks-portal-map-cta .sb.more2:focus-visible{transform:translateY(-2px);color:var(--ink,#142E3D)}
[data-theme="dark"] .ks-portal-map-cta .sb.more2:hover,[data-theme="dark"] .ks-portal-map-cta .sb.more2:focus-visible{color:var(--blue,#41f0ec)}
.ks-portal-map-cta .sb.more2:active{transform:translateY(0);box-shadow:var(--dn,inset 7px 7px 15px #a5afc4,inset -7px -7px 15px #fff)}
@media(max-width:720px){.ks-portal-map-cta{justify-content:center;padding:12px 0 8px}}
body[data-page="home"] .ks-portal-map-cta{gap:8px;flex-wrap:wrap}
body[data-page="home"] .ks-portal-map-cta .ks-document-map-link{min-height:44px;padding:12px 16px;align-items:center}
.ks-subnav-dd{position:fixed;z-index:1450;overflow:auto;border-radius:20px;padding:4px 12px 14px;background:linear-gradient(145deg,var(--g1,#f0f3f9),var(--g2,#d1d8e6));box-shadow:var(--up,12px 12px 26px #a5afc4,-12px -12px 26px #fff);transform-origin:top left}
[data-theme="dark"] .ks-subnav-dd{background:linear-gradient(145deg,#0f2f3d,#061821);box-shadow:0 0 0 1px rgba(65,240,236,.3),11px 11px 24px #01080c,-8px -8px 20px #14394a}
.ks-subnav-dd[hidden]{display:none}
.ks-subnav-dd .ios-t{margin:16px 0 6px 12px;font-size:12px;font-weight:700;color:var(--mu,#526B78);letter-spacing:.04em;text-transform:uppercase}
.ks-subnav-dd .ios{list-style:none;margin:0;padding:0;border-radius:14px;overflow:hidden;background:var(--bg,#e2e6ef);box-shadow:var(--dn,inset 7px 7px 15px #a5afc4,inset -7px -7px 15px #fff)}
[data-theme="dark"] .ks-subnav-dd .ios{background:#071a23;box-shadow:inset 0 0 0 1px rgba(65,240,236,.17),inset 7px 7px 14px #01080c,inset -5px -5px 12px #14394a}
.ks-subnav-dd .ios li+li{border-top:1px solid rgba(58,47,26,.12)}
[data-theme="dark"] .ks-subnav-dd .ios li+li{border-top-color:rgba(65,240,236,.17)}
.ks-subnav-dd .ios a{display:flex;align-items:center;gap:12px;padding:10px 14px;min-height:44px;text-decoration:none;color:var(--ink,#142E3D);font-size:14px}
[data-theme="dark"] .ks-subnav-dd .ios a{color:#e6f4f5}
.ks-subnav-dd .ios a:hover,.ks-subnav-dd .ios a:focus-visible{background:rgba(127,159,179,.12);color:var(--blue,#087E8B)}
.ks-subnav-dd .ic{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;color:#fff;font:500 12px var(--fd,'Unbounded',system-ui,sans-serif);flex:none}
.ks-subnav-dd .c1{background:#0b5fd1}.ks-subnav-dd .c2{background:#1c7a45}.ks-subnav-dd .c3{background:#b4472d}.ks-subnav-dd .c4{background:#7a4fe0}.ks-subnav-dd .c5{background:#b97a0d}.ks-subnav-dd .c6{background:#566174}
.ks-subnav-dd .tx{flex:1;display:grid;min-width:0}.ks-subnav-dd .ios b{font-weight:600;line-height:1.35;color:inherit}
.ks-subnav-dd .chev{color:var(--mu,#526B78);font-size:20px;line-height:1;flex:none}
@media(prefers-reduced-motion:no-preference){@keyframes ksDdIn{from{opacity:0;transform:translateY(-8px) scale(.97)}}.ks-subnav-dd:not([hidden]){animation:ksDdIn .24s cubic-bezier(.2,.8,.2,1)}}
@media(max-width:720px){
  .ks-subnav,
  .ks-subnav .sub-in,
  .ks-subnav-dd{display:none!important}
  .ks-subnav{padding:0}
}
@media(prefers-reduced-motion:reduce){.ks-subnav .sb,.ks-subnav .sb i{transition:none!important}}

.ks-subnav{transition:transform .28s ease,opacity .28s ease;}
.ks-subnav.is-hidden{transform:translateY(calc(-100% - 12px));opacity:0;pointer-events:none;}
@media (prefers-reduced-motion:reduce){.ks-subnav{transition:none!important}}

