.knowledge-map-home .km-hero-actions{display:flex;flex-wrap:wrap;align-items:flex-start;gap:14px}
.knowledge-map-home .home-action-option{flex:0 1 auto;min-width:0;max-width:290px}
.knowledge-map-home .home-action-option .km-button{display:inline-flex;justify-content:center;width:auto;box-sizing:border-box;height:44px;min-height:44px;padding:0 17px;gap:10px;border-radius:11px;line-height:1.3}
.knowledge-map-home .home-action-caption{margin:10px 0 0;color:var(--km-muted,#667891);font-size:12px;line-height:1.8}
.knowledge-map-home .km-hero-actions .home-ai-button{background:var(--km-polish-soft,#edf4ff);color:var(--km-blue,#1677ff);border:1px solid var(--km-polish-line,#cbdcff);box-shadow:none;scroll-margin-top:120px}
.knowledge-map-home .km-hero-actions .home-ai-button:hover{background:var(--km-polish-soft,#edf4ff);border-color:var(--km-blue,#1677ff)}
.knowledge-map-home .km-hero-actions .home-ai-button,.knowledge-map-home .km-hero-actions .home-ai-button *{color:var(--km-blue,#1677ff)!important;-webkit-text-fill-color:var(--km-blue,#1677ff)}
.knowledge-map-home .home-ai-button:focus-visible{outline:3px solid var(--km-blue,#1677ff);outline-offset:4px}
.knowledge-map-home .home-action-option .km-button::after{content:'';display:block;flex:0 0 23px;width:23px;height:23px;border-radius:50%;background-color:rgb(255 255 255 / 18%);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 12h10m-4-4 4 4-4 4'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;background-size:20px;transition:transform .18s ease}
.knowledge-map-home .home-action-option .home-ai-button::after{background-color:var(--km-blue,#1677ff);background-size:20px}
@media(hover:hover){.knowledge-map-home .home-action-option .km-button:hover::after{transform:translateX(3px)}}
@media(prefers-reduced-motion:reduce){.knowledge-map-home .home-action-option .km-button::after{transition:none;transform:none!important}}
@media(max-width:620px){.knowledge-map-home .km-hero-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.knowledge-map-home .home-action-option{max-width:none}.knowledge-map-home .home-action-option .km-button{width:100%;height:42px;min-height:42px;padding:0 7px;gap:5px;font-size:clamp(10px,2.8vw,13px);white-space:nowrap;border-radius:10px}.knowledge-map-home .home-action-option .km-button::after{font-size:15px}.knowledge-map-home .home-action-caption{font-size:11px;line-height:1.65;margin-top:8px;text-align:left}.knowledge-map-home .km-hero-actions .km-stats{grid-column:1 / -1}}
/* Keep the paired hero actions equal, independent of their label lengths. */
.knowledge-map-home .km-hero-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.knowledge-map-home .home-action-option{width:100%;max-width:none}
.knowledge-map-home .home-action-option .km-button{width:100%;justify-content:space-between}
.knowledge-map-home .km-hero-actions .km-stats{grid-column:1 / -1}
@media(max-width:620px){.knowledge-map-home .km-hero-actions{gap:10px}}
@media(min-width:621px){.knowledge-map-home .km-hero-actions{grid-template-columns:repeat(2,minmax(0,230px));column-gap:14px}}
/* Captions use the column width without stretching their buttons. */
@media(min-width:621px){.knowledge-map-home .km-hero-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.knowledge-map-home .home-action-option .km-button{width:min(230px,100%)}.knowledge-map-home .home-action-caption{white-space:nowrap;font-size:clamp(9px,.83vw,12px);letter-spacing:-.02em}}
