/* KI Hub Experience 1.7.0 — isolated to owned hub templates. */
.ki-hub-ux{--ki-hub-space:clamp(23px,3.2vw,42px)}
.ki-hub-ux .ki-hub-hero{grid-template-columns:minmax(0,1fr) minmax(0,1.13fr);margin-bottom:28px;background:#f8e9eb;border-color:#e9dde0;border-radius:18px}
.ki-hub-ux .ki-hub-hero>div{display:flex;flex-direction:column;align-items:flex-start;padding:clamp(24px,3.4vw,46px)}
.ki-hub-ux .ki-hub-hero h1{font-size:clamp(32px,4.4vw,56px);line-height:1.09;letter-spacing:-.035em;overflow-wrap:anywhere}
.ki-hub-ux .ki-hub-hero p:not(.ki-kicker){max-width:38ch;font-size:clamp(16px,1.5vw,19px);line-height:1.55;margin-bottom:18px}
.ki-hub-ux .ki-hub-hero .ki-hub-photo img{display:block;width:100%;height:100%;aspect-ratio:2/1;min-height:280px;object-fit:cover}
.ki-hub-ux .ki-hub-hero .ki-button{margin-top:12px}
.ki-hub-preview-label{display:inline-flex;font-size:12px;line-height:1.3;font-weight:750;color:#775320;background:#fff0cc;border:1px solid #e9cea1;border-radius:6px;padding:5px 9px}
.ki-hub-seed{min-width:0;line-height:1.65;margin-bottom:30px}
.ki-hub-seed .ki-hub-intro{max-width:920px;margin:0 auto var(--ki-hub-space);text-align:center}
.ki-hub-seed .ki-hub-intro p{font-size:clamp(17px,1.65vw,21px);line-height:1.65;color:var(--ki-ink);margin:0}
.ki-hub-seed .ki-hub-section{margin:var(--ki-hub-space) 0;min-width:0}
.ki-hub-seed .ki-kicker{font-size:11px;letter-spacing:.11em;margin:0 0 5px;color:var(--ki-teal);font-weight:800}
.ki-hub-seed h2{font-size:clamp(25px,3vw,35px);letter-spacing:-.035em;line-height:1.15;margin:0 0 17px}
.ki-hub-seed .ki-hub-section-head{display:flex;gap:24px;align-items:end;justify-content:space-between;margin-bottom:17px}
.ki-hub-seed .ki-hub-section-head h2{margin-bottom:0}
.ki-hub-seed .ki-hub-section-head>p{font-size:14px;line-height:1.5;margin:0;max-width:43ch;color:var(--ki-muted)}
.ki-hub-seed .ki-hub-start{padding:clamp(18px,2.6vw,32px);background:var(--ki-paper);border:1px solid var(--ki-border);border-radius:16px}
.ki-hub-seed .ki-hub-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:0;margin:0;list-style:none}
.ki-hub-seed .ki-hub-steps li{display:flex;flex-direction:column;gap:13px;border:1px solid #dce8e4;border-radius:12px;background:#f3f8f5;padding:16px;margin:0}
.ki-hub-seed .ki-hub-steps li:nth-child(2n){background:#fbf5ed;border-color:#eadfcf}
.ki-hub-seed .ki-hub-step-number{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;background:var(--ki-teal);color:white;font-size:18px;font-weight:800;line-height:1}
.ki-hub-seed .ki-hub-steps li:nth-child(2n) .ki-hub-step-number{background:#935a24}
.ki-hub-seed .ki-hub-steps p{font-size:15px;line-height:1.55;color:var(--ki-ink);margin:0}
.ki-hub-seed .ki-hub-closing{font-size:15px;line-height:1.65;color:var(--ki-muted);margin:19px 0 0;max-width:960px}
.ki-hub-seed .ki-hub-tools{padding:clamp(17px,2.5vw,29px);background:#edf4f1;border:1px solid #d4e5de;border-radius:16px}
.ki-hub-seed .ki-hub-tool-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ki-hub-seed .ki-hub-tool{display:flex;gap:10px;align-items:flex-start;padding:14px;background:white;border:1px solid #dce4e1;border-radius:11px;text-decoration:none;color:var(--ki-ink);min-width:0}
.ki-hub-seed .ki-hub-tool:hover,.ki-hub-seed .ki-hub-related-card:hover{border-color:var(--ki-berry);box-shadow:0 5px 18px #2026310d}
.ki-hub-seed .ki-hub-route-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;background:#dceee5;color:var(--ki-teal);border-radius:10px}
.ki-hub-seed .ki-hub-route-icon svg{width:22px;height:22px}
.ki-hub-seed .ki-hub-route-text{display:flex;flex-direction:column;gap:5px;min-width:0}
.ki-hub-seed .ki-hub-route-text strong{font-size:15px;line-height:1.24}
.ki-hub-seed .ki-hub-route-text small{font-size:12px;color:var(--ki-muted);line-height:1.4}
.ki-hub-seed .ki-hub-route-action{color:var(--ki-teal);font-weight:750;font-size:12px;margin-top:4px;line-height:1.3}
.ki-hub-seed .ki-hub-guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ki-hub-seed .ki-hub-guide{background:white;border:1px solid var(--ki-border);border-radius:14px;overflow:hidden;display:flex;flex-direction:column;min-width:0}
.ki-hub-seed .ki-hub-guide-photo{display:block;background:var(--ki-mint)}
.ki-hub-seed .ki-hub-guide-photo img{display:block;width:100%;aspect-ratio:2/1;object-fit:cover;border-radius:0}
.ki-hub-seed .ki-hub-guide-body{display:flex;flex-direction:column;align-items:flex-start;padding:18px;flex:1;min-width:0}
.ki-hub-seed .ki-hub-status{font-size:11px;font-weight:780;line-height:1.3;color:var(--ki-teal);background:var(--ki-mint);padding:4px 8px;border-radius:5px;margin-bottom:8px}
.ki-hub-seed .ki-hub-draft{color:#775320;background:#fff0cc}
.ki-hub-seed .ki-hub-guide h3{font-size:clamp(18px,1.7vw,22px);line-height:1.25;margin:0 0 8px;overflow-wrap:anywhere}
.ki-hub-seed .ki-hub-guide h3 a{color:var(--ki-ink);text-decoration:none}
.ki-hub-seed .ki-hub-guide h3 a:hover{text-decoration:underline;color:var(--ki-berry-dark)}
.ki-hub-seed .ki-hub-guide p{font-size:14px;line-height:1.55;color:var(--ki-muted);margin:0 0 15px}
.ki-hub-seed .ki-hub-guide-link{font-size:14px;font-weight:750;color:var(--ki-teal);text-decoration:none;margin-top:auto;padding:9px 0}
.ki-hub-seed .ki-hub-guide-link:hover{text-decoration:underline}
.ki-hub-seed .ki-hub-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.ki-hub-seed .ki-hub-filters button{font:inherit;font-size:13px;font-weight:650;border:1px solid #cad5d1;background:white;color:var(--ki-ink);padding:9px 15px;min-height:40px;border-radius:999px;cursor:pointer}
.ki-hub-seed .ki-hub-filters button[aria-pressed=true]{background:var(--ki-teal);border-color:var(--ki-teal);color:white}
.ki-hub-seed [hidden]{display:none!important}
.ki-hub-seed .ki-hub-empty{display:flex;gap:15px;padding:20px 22px;border:1px dashed #c6cfca;border-radius:14px;background:#f6f8f6;align-items:flex-start}
.ki-hub-seed .ki-hub-empty strong{font-size:17px;color:var(--ki-ink)}
.ki-hub-seed .ki-hub-empty p{font-size:14px;margin:3px 0 0;color:var(--ki-muted)}
.ki-hub-seed .ki-hub-related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ki-hub-seed .ki-hub-related-card{display:flex;flex-direction:column;background:white;border:1px solid var(--ki-border);border-radius:12px;text-decoration:none;color:var(--ki-ink);overflow:hidden;min-width:0}
.ki-hub-seed .ki-hub-related-photo img{display:block;width:100%;aspect-ratio:2/1;object-fit:cover;border-radius:0}
.ki-hub-seed .ki-hub-related-card .ki-hub-route-text{padding:13px 14px}
.ki-hub-seed :is(a,button):focus-visible{outline:3px solid var(--ki-teal);outline-offset:3px}
@media(max-width:1100px){
 .ki-hub-seed .ki-hub-tool-grid,.ki-hub-seed .ki-hub-steps,.ki-hub-seed .ki-hub-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767px){
 .ki-hub-ux .ki-hub-hero{display:flex;flex-direction:column-reverse;margin-bottom:19px;border-radius:14px}
 .ki-hub-ux .ki-hub-hero>div{padding:20px}
 .ki-hub-ux .ki-hub-hero .ki-hub-photo img{aspect-ratio:2.15/1;min-height:0;height:auto;max-height:230px}
 .ki-hub-ux .ki-hub-hero h1{font-size:clamp(30px,8vw,41px)}
 .ki-hub-ux .ki-hub-hero p:not(.ki-kicker){font-size:16px;margin-bottom:10px}
 .ki-hub-seed .ki-hub-intro{text-align:left}
 .ki-hub-seed .ki-hub-section-head{display:block;margin-bottom:13px}
 .ki-hub-seed .ki-hub-section-head>p{margin-top:7px}
 .ki-hub-seed .ki-hub-guide-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
 .ki-hub-seed .ki-hub-guide-body{padding:13px}
 .ki-hub-seed .ki-hub-guide h3{font-size:18px}
 .ki-hub-seed .ki-hub-guide p{font-size:13px}
 .ki-hub-seed .ki-hub-steps{grid-template-columns:1fr;gap:8px}
 .ki-hub-seed .ki-hub-steps li{flex-direction:row;align-items:flex-start;padding:12px}
 .ki-hub-seed .ki-hub-step-number{flex:0 0 34px;width:34px;height:34px;font-size:15px}
 .ki-hub-seed .ki-hub-tool-grid{grid-template-columns:1fr;gap:8px}
 .ki-hub-seed .ki-hub-tool{padding:13px}
}
@media(max-width:479px){.ki-hub-seed .ki-hub-guide-grid{grid-template-columns:1fr}}
@media(max-width:374px){.ki-hub-seed .ki-hub-related-grid{grid-template-columns:1fr}}
@media print{
 .ki-hub-ux .ki-hub-hero .ki-button,.ki-hub-seed .ki-hub-filters,.ki-hub-seed .ki-hub-tools,.ki-hub-seed .ki-hub-related-new{display:none}
 .ki-hub-seed .ki-hub-guide[hidden]{display:flex!important}
 .ki-hub-seed .ki-hub-start,.ki-hub-seed .ki-hub-guide{break-inside:avoid}
}
.ki-hub-ux .ki-hub-hero-actions{display:flex;flex-wrap:wrap;gap:9px}
.ki-hub-ux .ki-hub-hero-actions .ki-button{max-width:100%;white-space:normal}

/* KI 5.0.0: direct access to tools and a local filter for the full SSR catalog. */
.ki-hub-ux #ki-hub-content > section[id$="-suite"]{margin-bottom:32px;scroll-margin-top:24px}
.ki-hub-seed .ki-guide-count{font-size:.92rem;font-weight:700;color:var(--ki-teal);margin:.4rem 0 .7rem}
.ki-hub-seed .ki-hub-find{margin:0 0 18px;padding:14px;background:#f2f7f5;border:1px solid #d5e5df;border-radius:12px}
.ki-hub-find label{font-size:14px;font-weight:700;display:block;margin-bottom:5px}
.ki-hub-find-row{display:flex;gap:8px;align-items:stretch}
.ki-hub-find input{min-width:0;flex:1;background:#fff;border:1px solid #9db9af;border-radius:8px;padding:10px 12px;color:var(--ki-ink);min-height:44px}
.ki-hub-find button{border:1px solid var(--ki-teal);background:#fff;color:var(--ki-teal);border-radius:8px;padding:9px 13px;font-weight:700;min-height:44px}
.ki-hub-find button:disabled{opacity:.55;cursor:default}
.ki-hub-find [role=status]{font-size:13px;margin:6px 0 0;color:var(--ki-text)}
@media(max-width:375px){.ki-hub-find-row{flex-wrap:wrap}.ki-hub-find input,.ki-hub-find button{width:100%;flex-basis:100%}}
