/* Research Studio 3.2.5 • beginner-friendly idea library and protected example setup */
.rs-setup-onboard.card{position:relative;overflow:hidden;margin-bottom:22px;padding:25px 28px;border:1px solid #b9dadd;background:linear-gradient(119deg,#eaf6f5 0%,#f6fbfb 72%,#fff 100%);border-radius:19px;box-shadow:0 12px 32px rgba(26,83,94,.08)}
.rs-setup-onboard:after{content:"";position:absolute;right:-65px;top:-95px;width:225px;height:225px;border:32px solid rgba(59,164,160,.07);border-radius:50%;pointer-events:none}
.rs-setup-onboard-heading{display:flex;align-items:flex-start;gap:16px;position:relative;z-index:1}
.rs-setup-onboard-icon{display:grid;place-items:center;width:46px;height:46px;flex:0 0 46px;border-radius:15px;color:#fff;font-size:1.35rem;background:linear-gradient(135deg,#155a68,#44a5a0);box-shadow:0 7px 18px rgba(12,87,99,.18)}
.rs-setup-eyebrow{font-size:.68rem;line-height:1.4;font-weight:850;letter-spacing:.13em;color:#397b88}
.rs-setup-onboard h3{margin:5px 0 4px!important;font-size:1.25rem;color:#174251;letter-spacing:-.015em}
.rs-setup-onboard p{font-size:.84rem;color:#5d7b82;line-height:1.7;margin:4px 0 0}
.rs-setup-onboard-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin:20px 0 11px;position:relative;z-index:1}
.rs-setup-onboard-actions .button{min-height:39px;border-radius:10px}
.rs-setup-onboard .rs-setup-fact-note{margin-top:12px;font-size:.74rem;color:#5b7b81;max-width:900px}
.rs-setup-live-message{min-height:0;margin:9px 0 0!important;color:#1f6b74!important;font-size:.8rem!important;font-weight:670}
.rs-setup-how{background:#f9fcfc;border:1px solid #dce9ea;border-radius:13px;margin:0 0 22px;padding:11px 16px;color:#426571}
.rs-setup-how summary{cursor:pointer;font-weight:740;font-size:.83rem}
.rs-setup-how ol{line-height:1.8;font-size:.82rem;padding-left:24px;margin:12px 0 0}
.rs-idea-inline{display:flex;flex-wrap:wrap;align-items:center;gap:8px 13px;margin-top:8px}
.rs-idea-inline small{font-size:.72rem;color:#87969b}
.rs-idea-trigger{border:1px solid #c9e1e2;border-radius:9px;padding:6px 11px;background:#eef8f8;font-size:.77rem;font-weight:740;color:#216575;cursor:pointer}
.rs-idea-trigger:hover{background:#dff3f1;border-color:#92c8ca;box-shadow:0 6px 14px rgba(17,78,89,.07)}
.rs-idea-trigger span{padding-left:3px}
.rs-demo-guard[hidden]{display:none!important}
.rs-demo-guard{position:sticky;top:140px;z-index:36;display:flex;align-items:center;justify-content:space-between;gap:12px 18px;border:2px solid #d2a157;border-radius:14px;padding:14px 17px;background:#fff9ed;box-shadow:0 12px 30px rgba(74,52,16,.12);margin-bottom:20px}
.rs-demo-guard strong{color:#7e5015;font-size:.92rem}
.rs-demo-guard p{margin:4px 0 0;color:#7e653e;font-size:.77rem;line-height:1.55}
.rs-demo-actions{display:flex;gap:9px;flex-wrap:wrap}
.rs-example-mode [data-panel="1"] .card:not(.rs-setup-onboard){border-color:#e6d5b7}
.rs-guided-dialog{width:min(980px,calc(100vw - 32px));max-height:min(88dvh,960px);padding:0;border:1px solid #d5e4e6;border-radius:21px;color:#204351;box-shadow:0 26px 90px rgba(8,43,55,.25);background:#fff;overscroll-behavior:contain}
.rs-guided-dialog::backdrop{background:rgba(12,35,44,.50);backdrop-filter:blur(2px)}
.rs-dialog-inner{display:flex;flex-direction:column;max-height:min(88dvh,960px);min-height:min(520px,80dvh);overflow:hidden}
.rs-dialog-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:25px 28px 17px;border-bottom:1px solid #e5eded;background:linear-gradient(135deg,#f0f9f7,#fff)}
.rs-dialog-header h2{margin:7px 0 5px;font-size:1.38rem;color:#173b49}
.rs-dialog-header p{margin:0;font-size:.84rem;line-height:1.65;color:#66818a}
.rs-dialog-close{border:1px solid #d3e2e4;background:#fff;border-radius:11px;width:36px;height:36px;line-height:1;font-size:1.3rem;color:#536f78;cursor:pointer;flex-shrink:0}
.rs-dialog-close:hover{background:#e9f5f5}
.rs-example-tabs{display:flex;flex-wrap:wrap;gap:8px;padding:14px 27px;background:#fcfdfd;border-bottom:1px solid #edf1f2}
.rs-example-tab{border:1px solid #dce8e9;border-radius:999px;background:#fff;padding:9px 15px;color:#51707b;font-size:.83rem;cursor:pointer;font-weight:650}
.rs-example-tab.active{background:#1d6070;color:#fff;border-color:#1d6070}
.rs-examples-body{flex:1;overflow:auto;padding:16px 27px 24px;scrollbar-width:thin}
.rs-profile-description{font-size:.84rem;color:#4f707a;line-height:1.7;margin:0 0 18px;padding:10px 15px;background:#edf7f7;border-radius:10px}
.rs-example-section{margin:13px 0 24px}
.rs-example-section h3{margin:0 0 12px;font-size:.93rem;color:#165264;border-bottom:1px solid #e3eeee;padding-bottom:8px}
.rs-example-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.rs-example-answer{border:1px solid #e0eaeb;border-radius:12px;padding:11px 13px;min-width:0;background:#fbfdfd}
.rs-example-answer span{display:block;font-size:.71rem;color:#708994;font-weight:780;margin-bottom:5px}
.rs-example-answer p{font-size:.82rem;color:#2b505d;line-height:1.6;margin:0;overflow-wrap:anywhere;white-space:pre-line}
.rs-dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:12px 18px;padding:15px 27px;background:#f7fafb;border-top:1px solid #e4eded;flex-shrink:0}
.rs-dialog-footer>span{font-size:.76rem;color:#66808b;line-height:1.55;max-width:340px}
.rs-dialog-footer>div{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}
.rs-dialog-footer .button{padding:9px 13px;border-radius:10px;font-size:.8rem}
.rs-idea-search-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:14px 27px 0}
.rs-idea-search-row label{font-size:.8rem;font-weight:720;color:#426472}
.rs-idea-search-row input{flex:1;min-width:200px;border-radius:12px;border:1px solid #ccdcdf;background:#fff;padding:10px 13px;outline-offset:2px;font-size:.85rem}
.rs-idea-categories{display:flex;gap:6px;overflow-x:auto;scrollbar-width:thin;padding:15px 27px 13px;border-bottom:1px solid #e6efef;flex-shrink:0}
.rs-category-btn{flex:0 0 auto;border:1px solid #dbe8e9;border-radius:999px;background:#f7fafb;color:#5a7881;padding:7px 12px;font-size:.76rem;font-weight:670;cursor:pointer}
.rs-category-btn.selected{background:#155f71;color:#fff;border-color:#155f71}
.rs-ideas-list{flex:1;overflow-y:auto;padding:18px 27px;scrollbar-width:thin}
.rs-idea-group{margin:0 0 22px}
.rs-idea-group h3{font-size:.85rem;color:#226172;margin:0 0 9px;letter-spacing:.02em}
.rs-idea-option{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid #e1eaeb;background:#fff;padding:12px 14px;border-radius:12px;margin:7px 0}
.rs-idea-option p{margin:0;font-size:.84rem;color:#2b4b57;line-height:1.55;overflow-wrap:anywhere}
.rs-idea-option>div{display:flex;gap:6px;flex-shrink:0}
.rs-pick-btn,.rs-pick-replace{border:1px solid #b6d5da;border-radius:9px;padding:7px 11px;color:#1c6271;background:#eff8f8;font-size:.75rem;cursor:pointer;font-weight:720}
.rs-pick-btn:hover{background:#dff3f4}.rs-pick-replace{background:#fff;color:#69828b;border-color:#dbe4e7}
.rs-undo-idea{border:0;background:transparent;text-decoration:underline;color:#155e6a;font-size:.79rem;cursor:pointer;font-weight:770}
.rs-empty-ideas{padding:22px;text-align:center;background:#f7fafb;border-radius:12px;color:#637b84;font-size:.82rem}
@media(max-width:840px){.rs-demo-guard{top:115px;flex-direction:column;align-items:stretch}.rs-guided-dialog{max-height:94dvh}.rs-dialog-inner{max-height:94dvh}}
@media(max-width:630px){
 .rs-setup-onboard.card{padding:19px 17px}.rs-setup-onboard-heading{gap:10px}.rs-setup-onboard-icon{width:37px;height:37px;flex-basis:37px}.rs-setup-onboard h3{font-size:1.05rem}
 .rs-setup-onboard-actions{gap:7px}.rs-setup-onboard-actions .button{font-size:.78rem}
 .rs-guided-dialog{width:calc(100vw - 16px);max-height:96dvh;border-radius:15px}.rs-dialog-inner{max-height:96dvh;min-height:60dvh}
 .rs-dialog-header{padding:17px 15px 12px}.rs-dialog-header h2{font-size:1.12rem}.rs-dialog-header p{font-size:.75rem}
 .rs-example-tabs{padding:10px 14px;gap:5px}.rs-example-tab{padding:7px 9px;font-size:.72rem}
 .rs-examples-body{padding:12px 14px}.rs-example-grid{grid-template-columns:1fr}
 .rs-dialog-footer{padding:12px 14px;align-items:stretch;flex-direction:column}.rs-dialog-footer>div{justify-content:stretch}.rs-dialog-footer .button{flex:1}
 .rs-idea-search-row{padding:12px 14px 0}.rs-idea-categories{padding:12px 14px}.rs-ideas-list{padding:13px 14px}
 .rs-idea-option{flex-direction:column;align-items:stretch}.rs-idea-option>div{justify-content:flex-end}
 .rs-demo-guard{top:107px;padding:11px 12px}
}
@media(prefers-reduced-motion:reduce){.rs-idea-trigger{transition:none}}
/* Neutralize the generic app footer rules inside guided dialogs. */
.rs-guided-dialog .rs-dialog-footer{width:100%;max-width:none;margin:0;box-sizing:border-box}
