/* Overview design system. Business workspaces keep their own layouts and tokens. */
:root .hub-page {
  --hub-bg:#f6f5f2; --hub-panel:#ffffff; --hub-ink:#202630; --hub-muted:#667085;
  --hub-line:#e9ecf2; --hub-blue:#204bff; --hub-orange:#c5561d;
  --hub-card:linear-gradient(145deg,#ffffffc9,#e9edffad);
  --hub-card-border:#c7d2ff; --hub-card-hover:#90a5ff;
  --hub-card-shadow:0 8px 24px -14px #12298c30; --hub-reflection:#ffffffb3;
  --hub-space-1:8px; --hub-space-2:12px; --hub-space-3:16px;
  --hub-space-4:24px; --hub-space-5:32px; --hub-space-6:48px;
  --hub-radius:24px; --hub-duration:220ms;
  background:var(--hub-bg); color:var(--hub-ink);
}
:root[data-theme="dark"] .hub-page {
  --hub-bg:#050d1d; --hub-panel:#050d1d; --hub-ink:#f6f5f2; --hub-muted:#90a5ff;
  --hub-line:#050d1d; --hub-blue:#90a5ff; --hub-orange:#f66b24;
  --hub-card:linear-gradient(145deg,#050d1dc2,#050d1de6);
  --hub-card-border:#ffffff14; --hub-card-hover:#90a5ff47;
  --hub-card-shadow:0 12px 30px -16px #050d1d99; --hub-reflection:#ffffff12;
  background:radial-gradient(ellipse at 20% 4%,#050d1d1a,transparent 33%),var(--hub-bg);
}
:root .hub-page .hub-header,:root .hub-page .hub-main{max-width:1280px;margin:auto;padding-inline:32px}
:root .hub-page .hub-header{height:88px;display:flex;align-items:center;gap:32px;border-bottom:1px solid var(--hub-line)}
:root .hub-page .breadcrumb{font-size:12px;color:var(--hub-muted)}
:root .hub-page .breadcrumb strong{font-weight:500;color:var(--hub-ink)}
:root .hub-page .topbar-right{margin-left:auto;display:flex;align-items:center;gap:24px}
.hub-nav-link{font-size:13px;font-weight:600;color:var(--hub-ink)}
.hub-nav-link span{color:var(--hub-orange);margin-left:8px}
:root .hub-page .appearance-toggle{color:var(--hub-ink);border:1px solid var(--hub-line);padding:8px 11px;background:var(--hub-panel)}
.hub-hero{display:grid;grid-template-columns:1.08fr 1fr;align-items:center;gap:24px;min-height:450px;padding-block:32px}
.hub-hero-copy{padding-block:24px}
:root .hub-page .eyebrow{font-size:10px;line-height:1.5;letter-spacing:.1em;color:var(--hub-muted)}
.hub-hero .eyebrow{display:flex;align-items:center;gap:10px;margin:0 0 24px}
.hub-orange-dot{width:5px;height:5px;background:#f66b24;border-radius:50%;flex-shrink:0}
.hub-hero h1{font-size:clamp(40px,4.2vw,60px);line-height:1.08;letter-spacing:-.055em;font-weight:600;margin:0 0 22px}
.hub-hero h1>span{color:var(--hub-blue)}
.hub-hero-copy>p:not(.eyebrow){font-size:14px;line-height:1.8;color:var(--hub-muted);margin:0 0 24px}
.hub-explore{display:inline-flex;gap:18px;align-items:center;font-size:13px;font-weight:600;color:var(--hub-ink);min-height:44px}
.hub-explore>span{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--hub-line);border-radius:50%;color:var(--hub-blue);font-size:17px}
.hub-hero-meta{display:flex;gap:12px;align-items:center;font-size:10px;color:var(--hub-muted);margin-top:24px}
.hub-hero-meta i{width:3px;height:3px;background:#f66b24;border-radius:50%}
.hub-hero-art{min-width:0;max-width:490px;justify-self:end;overflow:hidden;border-radius:28px;background:#f6f5f2}
.hub-hero-art img{display:block;width:100%;height:auto;mix-blend-mode:multiply}
.hub-feature{display:flex;align-items:center;gap:18px;padding:20px 24px;border:1px solid var(--hub-line);border-radius:18px;background:var(--hub-panel);margin:0 0 48px}
.hub-feature-icon{width:44px;height:44px;flex-shrink:0;display:grid;place-items:center;background:#204bff0c;border:1px solid #204bff20;border-radius:12px;color:var(--hub-blue)}
.hub-feature-icon svg{width:23px;height:23px}
.hub-feature .eyebrow{font-size:9px;margin:0 0 5px;color:var(--hub-orange)}
.hub-feature h2{font-size:18px;letter-spacing:-.4px;margin:0 0 5px}
.hub-feature p:not(.eyebrow){font-size:12px;line-height:1.6;margin:0;color:var(--hub-muted)}
.hub-feature>a{margin-left:auto;color:var(--hub-ink);font-size:13px;font-weight:600;white-space:nowrap}
.hub-feature>a>span{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;border:1px solid var(--hub-line);color:var(--hub-orange);font-size:18px;margin-left:12px}
.hub-feature>a small{display:block;text-align:right;font-size:10px;font-weight:400;color:var(--hub-muted);margin-top:4px}
:root .hub-page .section-heading{align-items:center;gap:24px;margin-bottom:22px}
:root .hub-page .section-heading .eyebrow{margin:0 0 10px}
:root .hub-page .section-heading h2{font-size:30px;line-height:1.25;letter-spacing:-1px}
:root .hub-page .search-box{width:270px;min-height:46px;padding:12px 15px;border:1px solid var(--hub-line);border-radius:12px;background:var(--hub-panel);flex-shrink:0}
:root .hub-page .search-box input{background:transparent;color:var(--hub-ink);font-size:13px;min-width:0}
:root .hub-page .search-box input::placeholder{color:var(--hub-muted)}
:root .hub-page .filter-row{gap:16px;border:0;padding:0 0 24px}
:root .hub-page .filter-chips{gap:6px;flex-wrap:wrap}
:root .hub-page .filter-chips button{padding:10px 14px;min-height:40px;font-size:12px;line-height:1.5;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--hub-muted)}
:root .hub-page .filter-chips button:hover{background:var(--hub-panel);color:var(--hub-ink)}
:root .hub-page .filter-chips button.active{background:var(--hub-panel);border-color:var(--hub-line);color:var(--hub-ink);box-shadow:none}
:root .hub-page .result-count{font-size:11px;color:var(--hub-muted);white-space:nowrap}
/* A single lightweight material for every card; no nested blur or reflective overlays. */
:root .hub-page .module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
:root .hub-page .module-card{
  position:relative;isolation:isolate;display:flex;flex-direction:column;min-width:0;min-height:0;
  padding:24px;border:1px solid var(--hub-card-border);border-radius:var(--hub-radius);
  background:var(--hub-card);box-shadow:inset 0 1px 0 var(--hub-reflection),var(--hub-card-shadow);
  overflow:hidden;transition:transform var(--hub-duration) ease,border-color var(--hub-duration) ease,box-shadow var(--hub-duration) ease;
}
:root .hub-page .module-card-top{position:static;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;min-height:15px}
:root .hub-page .module-type{font-size:10px;line-height:1.5;letter-spacing:.025em;font-weight:500;color:var(--hub-muted);text-transform:none}
:root .hub-page .module-number{font:10px/1.5 Inter,Arial,sans-serif;color:var(--hub-muted);opacity:.7}
:root .hub-page .module-art{height:150px;display:grid;place-items:center;position:relative;background:none;overflow:visible;flex-shrink:0;width:100%;border:0;padding:0;border-radius:14px;cursor:pointer;appearance:none}
.optical-icon{display:block;width:150px;height:150px;position:relative;pointer-events:none;transform:perspective(600px) rotateX(var(--icon-rx,0deg)) rotateY(var(--icon-ry,0deg));transition:transform var(--hub-duration) ease}
.optical-icon>img{display:block;width:100%;height:100%;object-fit:contain}
:root .hub-page .optical-dark{display:none}
:root[data-theme="dark"] .hub-page .optical-dark{display:block}
:root[data-theme="dark"] .hub-page .optical-light{display:none}
.optical-glyph{position:absolute;inset:0;display:grid;place-items:center;color:#e9edff;transform:translate(-2px,1px) rotate(-7deg)}
.optical-glyph svg{width:37px;height:37px;stroke-width:1.65;filter:drop-shadow(0 1px 1px #20263088)}
:root .hub-page .module-card-copy{display:flex;flex:1;flex-direction:column;padding:0;border:0;background:none;min-width:0}
:root .hub-page .module-card .module-category{font-size:10px;line-height:1.5;letter-spacing:.045em;text-transform:uppercase;color:var(--hub-orange);margin:0 0 8px;min-height:0}
:root .hub-page .module-card h3{font-size:20px;line-height:1.35;letter-spacing:-.5px;color:var(--hub-ink);margin:0 0 10px;font-weight:600}
:root .hub-page .module-card .module-description{font-size:13px;line-height:1.7;color:var(--hub-muted);margin:0 0 20px;min-height:0}
:root .hub-page .card-action{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;margin-top:auto;padding:13px 0 0;border:0;border-top:1px solid var(--hub-line);background:none;color:var(--hub-ink);font:600 12px/1.5 Inter,Arial,sans-serif;text-align:left}
:root .hub-page .card-action>span{display:flex;align-items:center;gap:9px}
:root .hub-page .card-action small{font-size:10px;font-weight:400;color:var(--hub-muted)}
:root .hub-page .card-action>svg{width:18px;height:18px;padding:0;border:0;background:none;border-radius:0;color:var(--hub-orange);transition:transform var(--hub-duration) ease;flex-shrink:0}
:root .hub-page .module-card:focus-within{border-color:var(--hub-card-hover)}
:root .hub-page .card-action:focus-visible{outline-offset:5px;border-radius:4px}
@media(hover:hover) and (pointer:fine){
  :root .hub-page .module-card:hover{transform:translateY(-3px);border-color:var(--hub-card-hover);box-shadow:inset 0 1px 0 var(--hub-reflection),0 16px 30px -18px #20263055}
  .module-card:hover .optical-icon{transform:perspective(600px) translateY(-3px) rotateX(var(--icon-rx,0deg)) rotateY(var(--icon-ry,0deg)) scale(1.035)}
  :root .hub-page .card-action:hover>svg{transform:translateX(3px)}
}
:root .hub-page .hub-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid var(--hub-line);margin-top:48px;padding:28px 0;color:var(--hub-muted)}
.hub-footer>span{font-size:9px;letter-spacing:.04em}.hub-footer i{font-style:normal;color:var(--hub-orange);margin-inline:6px}.hub-footer small{font-size:9px}
:root .hub-page .empty-state{background:var(--hub-panel);border:1px solid var(--hub-line);border-radius:18px;padding:36px 24px}
:root .hub-page a:focus-visible,:root .hub-page button:focus-visible{outline:2px solid #f66b24;outline-offset:4px}
:root .hub-page #module-dialog{max-height:85svh;overflow:auto}
@media(max-width:1100px){
  :root .hub-page .breadcrumb{display:none}:root .hub-page .hub-header{gap:24px}
  .hub-hero{min-height:400px}.hub-hero h1{font-size:44px}
  :root .hub-page .module-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:820px;margin-inline:auto}
  :root .hub-page .section-heading h2{font-size:27px}
}
@media(max-width:800px){
  :root .hub-page .hub-header,:root .hub-page .hub-main{padding-inline:24px}
  :root .hub-page .module-grid{gap:16px}:root .hub-page .module-card{padding:22px}
  :root .hub-page .section-heading{align-items:stretch;flex-direction:column;gap:18px}:root .hub-page .search-box{width:100%}
  :root .hub-page .filter-row{flex-wrap:wrap;gap:10px}:root .hub-page .result-count{margin-left:0}
  .hub-hero h1{font-size:38px}.hub-feature{flex-wrap:wrap}.hub-feature>a{margin-left:62px}
  :root .hub-page .topbar-right{gap:12px}.hub-nav-link{font-size:12px}
}
@media(max-width:600px){
  :root .hub-page .hub-header{height:84px;padding-inline:20px;gap:12px}:root .hub-page .hub-main{padding-inline:20px}.hub-nav-link{display:none}
  .hub-hero{grid-template-columns:1fr;gap:0;padding-block:16px 28px;min-height:0}.hub-hero-copy{padding-block:24px 10px}
  .hub-hero h1{font-size:clamp(36px,9vw,48px)}.hub-hero .eyebrow{margin-bottom:20px}.hub-hero-copy>p:not(.eyebrow){font-size:13px}
  .hub-hero-meta{font-size:9px;gap:9px;flex-wrap:wrap;margin-top:20px}.hub-hero-art{width:100%;max-width:360px;justify-self:center;margin-top:8px}
  .hub-feature{padding:18px;gap:12px;margin-bottom:36px}.hub-feature-icon{width:36px;height:36px;border-radius:10px}.hub-feature>div:nth-child(2){flex:1;min-width:180px}.hub-feature h2{font-size:16px}
  .hub-feature>a{margin:4px 0 0;border-top:1px solid var(--hub-line);padding-top:14px;width:100%;display:flex;align-items:center}.hub-feature>a>span{margin-left:auto}.hub-feature>a small{display:none}
  :root .hub-page .section-heading h2{font-size:26px;letter-spacing:-.8px}:root .hub-page .filter-chips button{font-size:11px;padding:9px 10px;min-height:40px}
  :root .hub-page .module-grid{grid-template-columns:1fr;gap:16px;max-width:400px}:root .hub-page .module-card{padding:24px}:root .hub-page .module-art{height:140px}.optical-icon{width:140px;height:140px}
  :root .hub-page .hub-footer{flex-wrap:wrap;gap:20px;margin-top:36px}.hub-footer>span{font-size:8px}.hub-footer small{width:100%}
}
@media(prefers-reduced-motion:reduce){:root .hub-page .module-card,.optical-icon,:root .hub-page .card-action>svg{transition:none}:root .hub-page .module-card:hover,.module-card:hover .optical-icon,:root .hub-page .card-action:hover>svg{transform:none}}

:root .hub-page .module-type{font-family:Inter,Arial,sans-serif}
:root[data-theme="dark"] .hub-page .optical-glyph{color:#12298c}
:root[data-theme="dark"] .hub-page .optical-glyph svg{filter:drop-shadow(0 1px 0 #ffffff65)}

/* The illustration is also a native module action for pointer, touch and keyboard. */
:root .hub-page .module-art:focus-visible{outline-offset:-5px}
.module-art:focus-visible .optical-icon{transform:perspective(600px) translateY(-3px) rotateY(-8deg) scale(1.035)}
:root .hub-page .module-art:active .optical-icon{transform:perspective(600px) scale(.96)}
@media(prefers-reduced-motion:reduce){
  :root .hub-page .module-art .optical-icon{transform:none!important;transition:none}
}

/* Cards lead to a concise introduction before launching any tools. */
:root .hub-page .module-card-link{display:flex;flex:1;flex-direction:column;min-width:0;color:inherit;text-decoration:none;border-radius:14px}
:root .hub-page .module-card-link:focus-visible{outline-offset:6px}
.module-card-link:focus-visible .optical-icon{transform:perspective(600px) translateY(-3px) rotateY(-8deg) scale(1.035)}
@media(prefers-reduced-motion:reduce){.module-card-link:focus-visible .optical-icon{transform:none}}

/* Keep the welcome message close to the header without crowding it. */
:root body.hub-page .hub-main .hub-hero{padding-top:24px}
:root .hub-page .hub-hero-copy>.hub-tagline{font-weight:500;color:var(--brand-link);margin-bottom:14px}
@media(max-width:800px){:root body.hub-page .hub-main .hub-hero{padding-top:20px}}
@media(max-width:600px){:root body.hub-page .hub-main .hub-hero{padding-top:12px}}
