/* Keyword phrase entry for speaker-program SEO. */
.keyword-select{position:relative;margin-top:.42rem}
.keyword-select-control{display:flex;align-items:center;gap:.35rem;min-height:42px;padding:.25rem .45rem;border:1px solid #cfd9e3;border-radius:4px;background:#fff;box-shadow:none;cursor:text}
.keyword-select-tags{display:flex;flex-wrap:wrap;gap:.3rem}
.keyword-select-tag{display:inline-flex;align-items:center;gap:.35rem;padding:.24rem .36rem .24rem .55rem;border:1px solid #ccd6e2;border-radius:.3rem;background:#f4f7fa;color:#314e6e!important;font-size:.78rem;font-weight:500}
.keyword-select-tag button,.keyword-select-clear{border:0;background:transparent;color:#61758a!important;line-height:1}
.keyword-select-tag button{padding:0;font-size:1rem}
.keyword-select-clear{margin-left:auto;padding:0;font-size:1.25rem}
.keyword-select-control input[type=text]{display:block!important;flex:1 1 155px;width:auto!important;min-width:155px;margin:0!important;padding:.2rem!important;border:0!important;box-shadow:none!important;outline:0!important;background:transparent!important;color:#344054!important;font-size:.83rem!important;font-weight:400!important}
.keyword-select-control.is-open,.keyword-select-control:focus-within{border-color:#405369;box-shadow:none}
.keyword-select-control input[type=text]::placeholder{color:#697a8f!important;opacity:1}
.keyword-select-menu{position:absolute;z-index:19;top:100%;left:0;right:0;padding:.45rem;border:1px solid #cfd9e3;border-top:0;border-radius:0 0 4px 4px;background:#fff;box-shadow:0 12px 25px rgba(32,43,57,.14)}.keyword-select:has(.keyword-select-menu:not([hidden])) .keyword-select-control{border-bottom-color:transparent;border-radius:4px 4px 0 0}
.keyword-select-menu>p{margin:.25rem .4rem .45rem;color:#697a8f;font-size:.72rem;font-weight:800;text-transform:uppercase}
.keyword-select-menu button{display:block;width:100%;margin:0;padding:.55rem .6rem;border:0;border-radius:.4rem;background:#fff;color:#344054;text-align:left;font-size:.84rem}
.keyword-select-menu button:hover{background:#f2f4f7}
.keyword-select-actions{display:flex;align-items:center;gap:.7rem;margin-top:.55rem}.keyword-select-ai{border:1px solid #b8c8f1;border-radius:4px;background:#f5f7ff;color:#485ac8;padding:.35rem .55rem;font-size:.75rem;font-weight:750}.keyword-select-actions small{color:#697a8f;font-size:.74rem;font-weight:400}.keyword-ai-results{margin-top:.65rem;padding:.75rem .8rem;border:1px solid #cbd6fb;border-radius:5px;background:#f7f8ff}.keyword-ai-results>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:.6rem;color:#384bb8;font-size:.8rem}.keyword-ai-results>div:first-child button{border:0;background:transparent;color:#61758a;font-size:1.1rem}.keyword-ai-results p{margin:.3rem 0 .55rem;color:#52647a;font-size:.76rem}.keyword-ai-results [data-keyword-ai-options]{display:flex;flex-wrap:wrap;gap:.4rem}.keyword-ai-results [data-keyword-ai-options] button{border:1px solid #c8d5e5;border-radius:4px;background:#fff;color:#314e6e;padding:.35rem .5rem;font-size:.76rem;text-align:left}.keyword-ai-results [data-keyword-ai-options] button:hover{background:#edf4fb}@media(max-width:620px){.keyword-select-actions{align-items:flex-start;flex-direction:column}}
/* Keep the AI helper visually independent from broad member-form button rules. */
.keyword-select-actions{display:flex!important;align-items:center!important;gap:.7rem!important;margin:.55rem 0 0!important}
.keyword-select-ai{display:inline-flex!important;align-items:center!important;gap:.3rem!important;width:auto!important;margin:0!important;border:1px solid #b8c8f1!important;border-radius:4px!important;background:#f5f7ff!important;box-shadow:none!important;color:#485ac8!important;padding:.38rem .62rem!important;font-size:.76rem!important;font-weight:750!important;line-height:1.2!important;text-transform:none!important}
.keyword-select-ai:hover,.keyword-select-ai:focus{background:#eaf0ff!important;border-color:#879bed!important;color:#3149b8!important}
.keyword-select-actions small{margin:0!important;color:#697a8f!important;font-size:.74rem!important;font-weight:400!important;line-height:1.35!important}
.keyword-ai-results{margin:.65rem 0 0!important;padding:.8rem .9rem!important;border:1px solid #cbd6fb!important;border-radius:6px!important;background:#f7f8ff!important;box-shadow:none!important}
.keyword-ai-results>div:first-child{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:.6rem!important;margin:0!important;color:#384bb8!important;font-size:.82rem!important;line-height:1.2!important}
.keyword-ai-results>div:first-child button{display:block!important;width:auto!important;min-width:0!important;margin:0!important;border:0!important;border-radius:3px!important;background:transparent!important;box-shadow:none!important;color:#61758a!important;padding:.05rem .25rem!important;font-size:1.15rem!important;font-weight:400!important;line-height:1!important}
.keyword-ai-results p{margin:.35rem 0 .65rem!important;color:#52647a!important;font-size:.77rem!important;font-weight:400!important;line-height:1.35!important}
.keyword-ai-results [data-keyword-ai-options]{display:flex!important;flex-wrap:wrap!important;gap:.4rem!important;margin:0!important}
.keyword-ai-results [data-keyword-ai-options] button{display:inline-flex!important;align-items:center!important;width:auto!important;min-width:0!important;margin:0!important;border:1px solid #c8d5e5!important;border-radius:4px!important;background:#fff!important;box-shadow:none!important;color:#314e6e!important;padding:.37rem .52rem!important;font-size:.77rem!important;font-weight:500!important;line-height:1.2!important;text-align:left!important;text-transform:none!important}
.keyword-ai-results [data-keyword-ai-options] button:hover,.keyword-ai-results [data-keyword-ai-options] button:focus{border-color:#91acd0!important;background:#edf4fb!important;color:#1f466c!important}
@media(max-width:620px){.keyword-select-actions{align-items:flex-start!important;flex-direction:column!important;gap:.4rem!important}}

.program-keywords-field .keyword-select{margin-top:0}.keyword-select-help{display:block;margin-top:.38rem;color:#697a8f;font-size:.74rem;font-weight:400;line-height:1.35}

.program-keywords-field .program-writing-label{margin-bottom:.42rem}.program-keywords-field .keyword-select-help{display:flex;margin-top:.38rem;color:#7b8a9a;font-size:.74rem;line-height:1.35}.program-keywords-field .keyword-select-help span{display:block}
