.sta-keyword-layout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(300px,1fr);gap:24px;align-items:start}.sta-keyword-layout .st-form-card{max-width:none;width:100%;margin:0}.sta-suggestions{min-width:0}.sta-suggestions-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.sta-suggestions-heading h2{margin:5px 0 12px;font-size:22px}.sta-suggestions-eyebrow{color:#635bff;font-size:11px;font-weight:800;letter-spacing:1.4px}.sta-suggestions button{background:#eef2ff;color:#3155c6;border:1px solid #d9e2ff;border-radius:8px;padding:7px 11px;font-weight:700;white-space:nowrap;cursor:pointer;font-size:13px}.sta-suggestions button:hover:enabled{background:#dde6ff}.sta-suggestions button:disabled{opacity:.55;cursor:default}.sta-suggest-status{font-size:13px;color:#586780;line-height:1.6}.sta-suggest-list{padding:0;margin:16px 0;list-style:none;max-height:440px;overflow-y:auto}.sta-suggest-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #edf0f6;padding:13px 0}.sta-suggest-list li div{min-width:0}.sta-suggest-list strong{display:block;font-size:14px;color:#172b4d;overflow-wrap:anywhere}.sta-suggest-list small{display:block;font-size:11px;color:#738098;margin-top:4px;overflow-wrap:anywhere}.sta-suggestions small.st-subtle{display:block;font-size:12px;line-height:1.6}@media(max-width:1050px){.sta-keyword-layout{grid-template-columns:1fr}.sta-suggest-list{max-height:350px}}

.sta-suggestions[aria-busy="true"] .sta-suggest-status::before{content:"";display:inline-block;width:12px;height:12px;margin-right:8px;vertical-align:-2px;border:2px solid #c8d5ef;border-top-color:#3155c6;border-radius:50%;animation:sta-suggest-spin .7s linear infinite}@keyframes sta-suggest-spin{to{transform:rotate(360deg)}}
/* The suggestions column stays visible in loading, empty and error states. */
.sta-keyword-layout > .sta-suggestions,.sta-keyword-layout > .sta-suggestions[hidden]{display:block!important;min-height:340px}
.sta-ai-heading{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.sta-ai-heading h2{margin:5px 0 12px}.sta-ai-live-badge{display:inline-flex;align-items:center;gap:4px;padding:5px 10px;border:1px solid #addd8a;border-radius:999px;background:linear-gradient(125deg,#f0ffdb,#e3ffb8);color:#2d651b;font-size:11px;font-weight:850;letter-spacing:.035em;line-height:1;white-space:nowrap;box-shadow:0 0 0 3px rgba(164,222,92,.12),0 0 17px rgba(139,209,54,.32);animation:sta-ai-glow 2.5s ease-in-out infinite}@keyframes sta-ai-glow{50%{box-shadow:0 0 0 5px rgba(164,222,92,.19),0 0 23px rgba(139,209,54,.5)}}@media(prefers-reduced-motion:reduce){.sta-ai-live-badge{animation:none}}
.sta-ai-live-badge{background:#071e16;border-color:#31ef79;color:#68ff9e;box-shadow:0 0 0 2px rgba(49,239,121,.16),0 0 18px rgba(49,239,121,.55);font-weight:900;letter-spacing:.07em}.sta-ai-live-badge::before{content:"";width:7px;height:7px;border-radius:50%;background:#51ff8f;box-shadow:0 0 9px #51ff8f,0 0 17px #51ff8f;animation:sta-ai-led 1.15s ease-in-out infinite}.sta-suggestions[aria-busy="true"] .sta-ai-live-badge,.sta-project-suggestions[aria-busy="true"] .sta-ai-live-badge{box-shadow:0 0 0 3px rgba(49,239,121,.24),0 0 24px rgba(49,239,121,.75)}@keyframes sta-ai-led{50%{opacity:.18;box-shadow:0 0 2px #51ff8f}}@media(prefers-reduced-motion:reduce){.sta-ai-live-badge::before{animation:none}}
.sta-project-suggestions[aria-busy="true"] [data-suggestion-status]::before{content:"";display:inline-block;width:12px;height:12px;margin-right:8px;vertical-align:-2px;border:2px solid #b7ebc7;border-top-color:#24a850;border-radius:50%;animation:sta-suggest-spin .7s linear infinite}

/* Keep discovery visible on entry and show a clear live signal during AI work. */
.sta-suggestions{display:block!important}
.sta-ai-live-badge{position:relative;background:#062b18;border-color:#33f27b;color:#b6ffd0;box-shadow:0 0 0 1px rgba(50,242,123,.35),0 0 18px rgba(22,223,100,.45)}
.sta-suggestions[aria-busy="true"] .sta-ai-live-badge::after,.sta-project-suggestions[aria-busy="true"] .sta-ai-live-badge::after{content:"";position:absolute;inset:-5px;border:1px solid #3fff85;border-radius:999px;animation:sta-ai-pulse 1.8s ease-out infinite;pointer-events:none}
@keyframes sta-ai-pulse{0%{opacity:.8;transform:scale(.92)}100%{opacity:0;transform:scale(1.32)}}
.sta-suggestions[aria-busy="true"] .sta-suggest-status::before{border-color:#b7ebc7;border-top-color:#24a850}
@media(prefers-reduced-motion:reduce){.sta-suggestions[aria-busy="true"] .sta-ai-live-badge::after,.sta-project-suggestions[aria-busy="true"] .sta-ai-live-badge::after{animation:none}}

/* Keep the live indicator level with the suggestions title. */
.sta-suggestions .sta-ai-heading,.sta-project-suggestions .sta-ai-heading{display:flex;align-items:center;flex-wrap:nowrap;gap:9px}
.sta-suggestions .sta-ai-heading h2,.sta-project-suggestions .sta-ai-heading h2{margin:0;line-height:1.2}
.sta-suggestions .sta-ai-heading .sta-ai-live-badge,.sta-project-suggestions .sta-ai-heading .sta-ai-live-badge{flex:0 0 auto;align-self:center}
@media(max-width:390px){.sta-suggestions .sta-ai-heading h2,.sta-project-suggestions .sta-ai-heading h2{font-size:19px}.sta-suggestions .sta-ai-heading .sta-ai-live-badge,.sta-project-suggestions .sta-ai-heading .sta-ai-live-badge{font-size:10px;padding:5px 8px}}
.sta-suggest-more{display:block;margin:18px auto 12px!important;min-width:140px;padding:11px 24px!important;border-radius:10px!important;font-weight:750!important}.sta-suggest-more[hidden]{display:none!important}.sta-suggest-more:disabled{opacity:.65;cursor:wait}.sta-suggestions[data-has-ideas="true"] .sta-ai-loading{display:none!important}.sta-suggest-list li,.sta-project-suggestions tbody tr{animation:sta-suggest-enter .18s ease-out}@keyframes sta-suggest-enter{from{opacity:.6;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.sta-suggest-list li,.sta-project-suggestions tbody tr{animation:none}}
