/* Shared browsing only: choosing an idea retains the existing action handlers. */
.rethink-idea-carousel{--idea-accent:var(--tp-green,#6941b3);--idea-line:var(--tp-line,#ded2ec);display:block!important;min-width:0;max-width:100%}
.rethink-carousel-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;min-width:0}
.rethink-carousel-toolbar>h2{margin:0!important}
.rethink-carousel-controls{display:flex;align-items:center;gap:7px;margin-left:auto;flex-shrink:0}
.rethink-carousel-controls[hidden]{display:none!important}
.rethink-carousel-count{font-size:11px;letter-spacing:.04em;color:var(--tp-muted,#75568f);font-variant-numeric:tabular-nums;margin-right:5px}
#guest-idea-shelf .rethink-carousel-arrow,.tpc .rethink-carousel-arrow{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;min-height:38px;padding:0!important;margin:0!important;border:1px solid var(--idea-line);border-radius:50%;background:transparent;color:var(--idea-accent);box-shadow:none;flex-shrink:0}
#guest-idea-shelf .rethink-carousel-arrow:disabled,.tpc .rethink-carousel-arrow:disabled{opacity:.3;cursor:default}
.rethink-carousel-arrow>span{display:block;width:8px;height:8px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg);margin-left:-3px}
.rethink-carousel-arrow>.is-previous{transform:rotate(-135deg);margin-left:3px}
.rethink-carousel-track{display:grid;grid-auto-flow:column;grid-auto-columns:min(340px,calc(100% - 28px));gap:12px;overflow-x:auto;overflow-y:hidden;max-width:100%;min-width:0;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:var(--idea-line) transparent;padding:3px 2px 12px;scroll-padding-inline:2px;-webkit-overflow-scrolling:touch}
.rethink-carousel-track:focus-visible{outline:2px solid var(--idea-accent);outline-offset:2px;border-radius:16px}
.rethink-carousel-track>.rethink-carousel-card{scroll-snap-align:start;min-width:0;overflow-wrap:anywhere}
.rethink-carousel-track>.rethink-carousel-card:only-child{width:100%}
.rethink-carousel-track:has(>.rethink-carousel-card:only-child){grid-auto-columns:min(340px,100%)}
#guest-work .guest-ideas .rethink-carousel-card>p{max-height:9em;overflow-y:auto;scrollbar-width:thin;overscroll-behavior-y:contain}
.tpc-ideas-modal .rethink-carousel-card>p{max-height:9em;overflow-y:auto}
.rethink-carousel-track+.tpc-closed-ideas{margin-top:14px}
@media(max-width:600px){.rethink-carousel-track{grid-auto-columns:calc(100% - 28px)}#guest-idea-shelf .rethink-carousel-arrow,.tpc .rethink-carousel-arrow{width:40px;height:40px;min-height:40px}}
@media(prefers-reduced-motion:reduce){.rethink-carousel-track{scroll-behavior:auto}}
/* A shallow shelf below the composer keeps the conversation itself spacious. */
.rethink-idea-shelf{flex:0 0 auto;min-width:0;margin-top:8px}
.rethink-idea-shelf[hidden]{display:none!important}
.rethink-idea-shelf .rethink-carousel-toolbar{margin-bottom:4px;min-height:32px}
.rethink-carousel-label,#guest-idea-shelf h2{font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--tp-muted,#75568f);margin:0}
.rethink-idea-shelf .rethink-carousel-track{grid-auto-columns:min(300px,calc(100% - 24px));gap:10px;padding:2px 1px 6px}
.rethink-idea-shelf .rethink-carousel-card{padding:10px 12px;border-radius:13px}
.rethink-idea-shelf .rethink-carousel-card h3,.rethink-idea-shelf .rethink-carousel-card h4{font-size:13px;font-weight:600;line-height:18px;margin:0 0 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#guest-idea-shelf h3{color:#442563}
.rethink-idea-shelf .rethink-carousel-card>p{display:block;height:34px;max-height:34px;overflow-y:auto;white-space:normal;line-height:17px;font-size:12px;margin:0 0 6px;scrollbar-width:thin;overscroll-behavior-y:contain}
.rethink-idea-shelf .rethink-carousel-card>p:focus-visible{outline:2px solid var(--idea-accent);outline-offset:2px;border-radius:3px}
#guest-idea-shelf .rethink-carousel-card>button,.rethink-idea-shelf .tpc-suggestion>button{display:inline-flex;align-items:center;min-height:34px;padding:5px 10px;border:0;border-radius:8px;font-size:12px;font-weight:600;line-height:20px;background:var(--tp-soft,#6941b3);color:var(--tp-green,#fff);margin:0 4px 0 0}
#guest-idea-shelf .rethink-carousel-card>.guest-separate{color:#6941b3;background:transparent;font-weight:500}
.rethink-idea-shelf .tpc-card-mark,.rethink-idea-shelf .tpc-closed-ideas,.rethink-idea-shelf .tpc-suggestion>.tpc-visual-preview{display:none}
.rethink-idea-shelf .tpc-suggestions{margin:0}
#guest-idea-shelf .rethink-carousel-arrow,.rethink-idea-shelf .rethink-carousel-arrow{width:32px;height:32px;min-height:32px}
.tpc-ideas-modal .rethink-carousel-card>p{display:block;max-height:14em;overflow-y:auto;-webkit-line-clamp:unset}
@media(max-height:550px){.rethink-idea-shelf .rethink-carousel-card>p{display:none}.rethink-idea-shelf .rethink-carousel-card{padding:7px 10px}.rethink-idea-shelf{margin-top:4px}}
