/* Compact, persistent keyword workbench. Scoped to the keyword source only. */
.competitor-picker .keyword-current{display:contents}
.competitor-picker .keyword-current>span,.competitor-picker .keyword-current>small{display:none}
.product-clue-modal.competitor-picker.competitor-keyword-list-v2 .competitor-picker-main{
  display:grid;grid-template-columns:252px minmax(0,1fr);grid-template-rows:64px 48px minmax(0,1fr);
  column-gap:20px;align-content:stretch;height:100%;padding:0 20px 0;overflow:hidden
}
.competitor-keyword-list-v2 .clue-keyword-panel{
  grid-column:1;grid-row:1 / span 3;position:relative;align-self:stretch;
  display:flex;flex-direction:column;min-height:0;height:100%;
  padding:22px 12px 12px 0;border-bottom:0;border-right:1px solid #e6ebf2;background:#fff
}
.competitor-keyword-list-v2 .clue-keyword-heading{display:block;margin:0 4px 13px}
.competitor-keyword-list-v2 .clue-keyword-heading>.clue-keyword-heading-top{display:flex;align-items:center;justify-content:space-between;gap:6px}
.competitor-keyword-list-v2 .clue-keyword-heading strong{display:block;color:#1f2f48;font-size:14px;font-weight:600;white-space:nowrap}
.competitor-keyword-list-v2 .clue-keyword-heading-actions{display:flex;flex:none}
.competitor-keyword-list-v2 .clue-keyword-heading-actions .product-clue-btn{min-height:28px;padding:5px 7px;border-radius:6px;font-size:11px;white-space:nowrap}
.competitor-keyword-list-v2 .clue-keyword-heading em{display:inline-flex;align-items:center;justify-content:center;min-width:25px;height:20px;margin-left:5px;padding:0 5px;border-radius:6px;background:#edf3ff;color:#3767df;font-size:11px;font-style:normal;font-weight:600}
.competitor-keyword-list-v2 .clue-keyword-heading>span{display:block;margin-top:7px;color:#7d8da6;font-size:11px;line-height:1.4}
.competitor-keyword-list-v2 .clue-keyword-filter{display:flex;align-items:center;gap:8px;min-height:34px;margin:0 4px 10px;padding:0 10px;border:1px solid #dfe6f0;border-radius:8px;color:#8795a9}
.competitor-keyword-list-v2 .clue-keyword-filter:focus-within{border-color:#5d85ed;box-shadow:0 0 0 2px #5d85ed1c}
.competitor-keyword-list-v2 .clue-keyword-filter input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#263953;font-size:12px}
.competitor-keyword-list-v2 .clue-keyword-message{margin:0 4px 8px;padding:8px;border-radius:7px;background:#f5f8fc;color:#60728f;font-size:11px;line-height:1.45}
.competitor-keyword-list-v2 .clue-keyword-cards{display:flex;flex-direction:column;gap:6px;min-height:0;overflow-y:auto;padding:0 4px 4px 1px}
.competitor-keyword-list-v2 .clue-keyword-card{flex:0 0 auto;display:block;width:100%;padding:10px 11px;border:1px solid #e2e8f1;border-radius:8px;background:#fff;box-shadow:none}
.competitor-keyword-list-v2 .clue-keyword-card:hover{border-color:#9eb8fb;background:#f8faff}
.competitor-keyword-list-v2 .clue-keyword-card.selected{border-color:#6c91f6;background:#edf3ff;box-shadow:inset 3px 0 #416df1}
.competitor-keyword-list-v2 .clue-keyword-card>strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;min-height:0;padding:0;color:#243551;font-size:12px;line-height:18px;font-weight:600;overflow:hidden;white-space:normal;overflow-wrap:anywhere}
.competitor-keyword-list-v2 .clue-keyword-card>small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;min-height:0;margin:3px 0 0;color:#627592;font-size:11px;line-height:16px;overflow:hidden;overflow-wrap:anywhere;white-space:normal}
.competitor-keyword-list-v2 .clue-keyword-metrics{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0 0;padding:7px 0 0;border-top:1px solid #e5ebf7;white-space:nowrap}
.competitor-keyword-list-v2 .clue-keyword-metrics>span+span{padding:0;border:0}
.competitor-keyword-list-v2 .clue-keyword-metrics small{display:block;color:#73839b;font-size:11px;line-height:15px}
.competitor-keyword-list-v2 .clue-keyword-metrics b{display:block;margin:2px 0 0;color:#263b5b;font-size:12px;font-weight:600;line-height:17px}
.competitor-keyword-list-v2 .clue-keyword-more{flex:none;margin:7px 4px 0;padding:7px 5px;border:1px solid #e1e8f4;border-radius:7px;background:#fff;font-size:11px}
.competitor-keyword-list-v2 .keyword-filter-empty{margin:18px 6px;color:#8492a7;text-align:center;font-size:12px}
.product-clue-modal.competitor-picker.competitor-keyword-list-v2 .product-clue-picker-source-tools.is-keyword{
  grid-column:2;grid-row:1;display:flex;align-items:center;gap:10px;height:64px;min-height:0;
  margin:0;padding:6px 0;background:#fff;border:0;border-bottom:1px solid #e8edf5
}
.competitor-keyword-list-v2 .is-keyword .product-clue-picker-source-hint{display:none}
.competitor-keyword-list-v2 .keyword-current{display:flex;flex:1;flex-direction:column;gap:2px;min-width:0}
.competitor-keyword-list-v2 .keyword-current>span{display:none}
.product-clue-modal.competitor-picker.competitor-keyword-list-v2 .is-keyword .product-clue-picker-keyword{
  display:block!important;flex:none;width:100%;min-width:0;max-width:none;height:25px;margin:0;padding:0;border:0;outline:0;background:transparent;color:#20324d;font-size:18px;font-weight:650
}
.competitor-keyword-list-v2 .keyword-current>small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#7a8dab;font-size:11px;line-height:15px;overflow-wrap:anywhere;white-space:normal}
.competitor-keyword-list-v2 [data-picker-keyword-refresh]{flex:none;background:#fff}
.competitor-keyword-list-v2 [data-picker-discover]{flex:none}
.competitor-keyword-list-v2 .clue-keyword-result-heading{grid-column:2;grid-row:2;justify-content:flex-start;gap:12px;height:48px;min-height:0;padding:6px 285px 6px 0}
.competitor-keyword-list-v2 .clue-keyword-result-heading strong{color:#394b68;font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.competitor-keyword-list-v2 .clue-keyword-result-heading button{flex:none;font-size:11px;white-space:nowrap}
.product-clue-modal.competitor-picker.competitor-keyword-list-v2 .product-clue-picker-controls{
  grid-column:2;grid-row:2;justify-self:end;align-self:center;position:static;top:auto;left:auto;z-index:auto;height:36px;min-height:0;width:270px;margin:0;padding:0;border:0;background:transparent
}
.product-clue-modal.competitor-picker.competitor-keyword-list-v2 .product-clue-picker-search{width:100%;height:34px}
.competitor-keyword-list-v2 [data-picker-content]{grid-column:2;grid-row:3;min-width:0;min-height:0;overflow:auto}
.product-clue-modal.competitor-picker.competitor-picker-c.competitor-keyword-list-v2 [data-picker-content] .product-clue-picker-table thead th{top:0;z-index:4}
@media(max-width:1100px){
  .product-clue-modal.competitor-picker.competitor-keyword-list-v2 .competitor-picker-main{grid-template-columns:225px minmax(0,1fr);grid-template-rows:64px 36px 48px minmax(0,1fr);column-gap:12px}
  .competitor-keyword-list-v2 .clue-keyword-result-heading{padding-right:0;grid-row:2}
  .product-clue-modal.competitor-picker.competitor-keyword-list-v2 .product-clue-picker-controls{grid-row:3;justify-self:stretch;width:auto;margin:0 0 6px}
  .competitor-keyword-list-v2 [data-picker-content]{grid-row:4}
  .competitor-keyword-list-v2 .clue-keyword-panel{grid-row:1 / span 4}
}
@media(max-width:760px){
  .product-clue-modal.competitor-picker.competitor-keyword-list-v2 .competitor-picker-main{display:block;height:100%;padding:0 12px 14px;overflow:auto}
  .competitor-keyword-list-v2 .clue-keyword-panel{position:static;height:auto;max-height:230px;border-right:0;border-bottom:1px solid #e6ebf2}
  .competitor-keyword-list-v2 .clue-keyword-cards{max-height:115px}
  .product-clue-modal.competitor-picker.competitor-keyword-list-v2 .product-clue-picker-source-tools.is-keyword{flex-wrap:wrap}
  .competitor-keyword-list-v2 .keyword-current{flex-basis:100%}
  .competitor-keyword-list-v2 .clue-keyword-result-heading{padding:8px 0}
  .product-clue-modal.competitor-picker.competitor-keyword-list-v2 .product-clue-picker-controls{width:100%}
}
