.rio-launcher{position:fixed;right:24px;bottom:24px;z-index:38;display:flex;align-items:center;gap:8px;padding:7px 14px 7px 7px;border:1px solid #c5e3ef;border-radius:40px;background:#153b53;color:#fff;box-shadow:0 8px 28px #163e5330;cursor:pointer;min-height:56px;font-family:inherit;font-weight:700;font-size:14px;touch-action:manipulation}.rio-launcher[hidden]{display:none}.rio-launcher>svg{width:44px;height:44px}.rio-launcher i{width:22px;height:22px;display:flex;margin-left:3px}.rio-launcher:focus-visible{outline:3px solid #10a4de;outline-offset:4px}body:has(#modal[open]) .rio-launcher{display:none}
.rio-dialog{position:fixed;inset:auto 20px 20px auto;width:430px;height:min(760px,calc(100dvh - 40px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);padding:0;margin:0;border:1px solid #d1e2ec;border-radius:22px;box-shadow:0 18px 80px #12344a40;background:#f6fafc;color:#153449;overflow:hidden}.rio-dialog::backdrop{background:#0c273634;backdrop-filter:blur(2px)}.rio-shell{display:flex;flex-direction:column;height:100%;min-height:0}.rio-header{display:flex;align-items:center;gap:10px;background:#fff;border-bottom:1px solid #e0eaf0;padding:15px 16px;flex-shrink:0}.rio-header-mascot{height:48px;width:48px;flex:0 0 48px;background:#eef8fc;border-radius:16px}.rio-header-mascot svg{width:100%;height:100%}.rio-header>div{flex:1;min-width:0}.rio-header h2{margin:0;font-size:20px;line-height:1.2;letter-spacing:-.5px}.rio-header h2 span{display:block;font-size:11px;font-weight:500;letter-spacing:0;color:#688294;margin-top:5px}.rio-header p{font-size:11px;color:#37637b;margin:5px 0 0}.rio-header button{border:0;background:#f0f5f8;color:#416174;width:40px;height:40px;display:grid;place-items:center;border-radius:12px;cursor:pointer;font-size:26px;flex-shrink:0}.rio-header button svg{width:19px;height:19px}.rio-status{display:flex;align-items:center;gap:6px;padding:10px 18px;font-size:10px;color:#698291;flex-shrink:0}.rio-status>span{width:6px;height:6px;border-radius:100%;background:#3d9f87}.rio-status b{margin-left:auto;font-size:10px;font-weight:600;color:#557286;background:#e9f1f6;border-radius:20px;padding:4px 8px}.rio-date-filter{padding:0 18px 9px;border-bottom:1px solid #e1ebf0;flex-shrink:0}.rio-date-filter>summary{display:flex;align-items:center;min-height:36px;gap:8px;font-size:11px;color:#526f81;cursor:pointer}.rio-date-filter strong{margin-left:auto;color:#2c647e;font-size:10px;font-weight:600}.rio-date-filter>div{display:flex;gap:10px}.rio-date-filter label{flex:1;font-size:11px;min-width:0}.rio-date-filter input{width:100%;min-height:42px;font-size:14px;padding:8px;border:1px solid #ccdde6;border-radius:8px;background:#fff}.rio-date-filter p{font-size:10px;line-height:1.5;color:#6a8291}.rio-transcript{overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:0;padding:16px 14px;scroll-behavior:smooth}.rio-welcome{text-align:center;padding:6px 6px 0}.rio-welcome>span{width:82px;height:82px;display:inline-block;margin-bottom:12px;background:#eaf6fb;border-radius:28px}.rio-welcome>span svg{width:100%;height:100%}.rio-welcome h3{font-size:21px;letter-spacing:-.5px;line-height:1.25;margin:0 0 10px}.rio-welcome>p{font-size:12px;color:#667f8f;line-height:1.65;max-width:310px;margin:0 auto 18px}.rio-suggestions{display:grid;grid-template-columns:1fr 1fr;gap:8px;text-align:left}.rio-suggestions button{border:1px solid #dbe7ee;background:#fff;color:#35586d;border-radius:12px;padding:11px 12px;text-align:left;font-size:11px;line-height:1.5;min-height:53px;cursor:pointer}.rio-suggestions button:hover{background:#eaf5fc;border-color:#b1d9ec}.rio-welcome .rio-preview-note{font-size:10px;color:#7c909c;margin-top:18px;line-height:1.6}.rio-message{display:flex;gap:8px;margin:0 0 18px;min-width:0}.rio-user{justify-content:flex-end}.rio-user>div{background:#176f97;color:#fff;padding:12px 15px;border-radius:16px 16px 3px 16px;font-size:13px;line-height:1.5;max-width:88%;white-space:pre-wrap;overflow-wrap:anywhere}.rio-avatar{width:28px;height:28px;flex:0 0 28px;margin-top:2px}.rio-avatar svg{width:100%;height:100%}.rio-bubble{background:#fff;border:1px solid #dce8ee;border-radius:3px 16px 16px 16px;padding:13px;min-width:0;flex:1;overflow-wrap:anywhere}.rio-answer-label{font-size:11px;font-weight:750;color:#1c536e;margin-bottom:10px}.rio-answer-label span{font-size:8px;color:#8396a2;font-weight:500;float:right;margin-top:2px}.rio-bubble h3{font-size:15px;line-height:1.35;margin:0 0 8px;color:#1c3c50}.rio-bubble>p{font-size:12px;color:#536c7e;line-height:1.65;margin:0 0 12px;white-space:pre-wrap}.rio-facts{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:12px 0}.rio-facts>div{padding:10px;background:#f0f7fa;border-radius:10px;min-width:0}.rio-facts small{font-size:9px;color:#708796;display:block;line-height:1.35}.rio-facts strong{font-size:15px;line-height:1.4;display:block;margin-top:5px;color:#195d7b;overflow-wrap:anywhere}.rio-rows>div{display:flex;gap:10px;align-items:flex-start;justify-content:space-between;padding:10px 0;border-bottom:1px solid #e8eff3;font-size:11px}.rio-rows>div>span{min-width:0}.rio-rows strong{font-size:11px;display:block}.rio-rows small{font-size:9px;display:block;color:#8496a1;margin-top:4px}.rio-rows b{flex-shrink:0;color:#2c6682;font-size:11px}.rio-answer-scope{font-size:9px;color:#728c9a;line-height:1.6;margin-top:14px;padding-top:10px;border-top:1px solid #e7eff3}.rio-sources{margin-top:8px}.rio-sources summary{font-size:10px;color:#39708b;cursor:pointer;min-height:28px;display:flex;align-items:center}.rio-sources summary::after{content:'+';margin-left:auto}.rio-sources[open] summary::after{content:'−'}.rio-sources p{font-size:9px;color:#6d8595;line-height:1.6;margin:5px 0 9px}.rio-bubble .rio-mode-note{font-size:9px;color:#8999a5;margin:9px 0 0}.rio-error{padding:12px;border:1px solid #eed8cc;border-radius:10px;background:#fff5f0;color:#8b523c;font-size:12px;line-height:1.6;margin-bottom:14px}.rio-error button{border:0;background:none;color:#995433;text-decoration:underline;cursor:pointer;font:inherit}.rio-checking{display:flex;gap:8px;align-items:center;padding:8px;font-size:12px;color:#7b93a1}.rio-checking span{width:7px;height:7px;border-radius:50%;background:#4baccb;animation:rio-pulse 1s ease-in-out infinite alternate}@keyframes rio-pulse{to{opacity:.3;transform:scale(.7)}}.rio-composer{padding:12px 14px max(10px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e0eaf0;flex-shrink:0}.rio-composer>div{display:flex;align-items:flex-end;gap:8px;border:1px solid #cddfe8;border-radius:14px;padding:6px 6px 6px 11px;background:#fcfeff}.rio-composer textarea{resize:none;border:0;background:transparent;box-shadow:none;width:100%;min-height:38px;max-height:112px;line-height:1.6;font-size:14px;color:#284a5e;padding:7px 0;outline:0}.rio-composer>div:focus-within{outline:2px solid #8ac8e1;outline-offset:2px}.rio-composer button{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border:0;border-radius:11px;background:#12749b;color:#fff;cursor:pointer}.rio-composer button svg{width:20px;height:20px}.rio-composer button:disabled{opacity:.4;cursor:default}.rio-composer>p{font-size:9px;color:#8b9ea9;margin:7px 0 0;text-align:center}.rio-dialog :focus-visible{outline:2px solid #2b91b9;outline-offset:2px}
@media(max-width:700px){.rio-launcher{right:14px;bottom:calc(86px + env(safe-area-inset-bottom));padding:5px 10px 5px 4px;min-height:48px;font-size:12px;gap:4px}.rio-launcher>svg{height:38px;width:38px}.rio-launcher i{height:18px;width:18px;margin-left:2px}.rio-dialog{inset:0;width:100%;max-width:none;height:100dvh;max-height:100dvh;border:0;border-radius:0}.rio-header{padding-top:max(13px,env(safe-area-inset-top));padding-bottom:12px}.rio-header button{min-height:44px;min-width:44px}.rio-composer textarea{font-size:16px}.rio-date-filter summary{min-height:40px}.rio-transcript{padding:16px 12px}.rio-bubble{padding:12px}.rio-answer-label span{float:none;display:block;margin-top:4px}.rio-rows>div{flex-wrap:wrap}.rio-suggestions button{min-height:56px;font-size:12px}.rio-status{font-size:11px}.rio-dialog::backdrop{background:#f6fafc}}
@media(prefers-reduced-motion:reduce){.rio-checking span{animation:none}.rio-transcript{scroll-behavior:auto}}

/* Rio uses one quiet, consistent chat mark throughout the workspace. */
.rio-launcher{min-height:48px;padding:11px 16px;gap:9px}.rio-launcher>svg{width:25px;height:25px}.rio-header-mascot{padding:11px;border-radius:14px;color:#246985}.rio-welcome>span{width:64px;height:64px;padding:17px;border-radius:20px;color:#246985}.rio-avatar{padding:4px;color:#527d93}
@media(max-width:700px){.rio-launcher{padding:10px 14px;gap:8px}.rio-launcher>svg{height:23px;width:23px}}
/* Review polish: readable supporting text and consistent touch targets. */
.rio-status{font-size:11px;color:#536c7d}.rio-status b{font-size:11px;color:#435e70}.rio-header h2 span,.rio-header p{font-size:12px;color:#526e81}
.rio-date-filter>summary{min-height:44px;font-size:12px;color:#466478}.rio-date-filter strong{font-size:11px;color:#355c72}.rio-date-filter label{font-size:12px;color:#466478}.rio-date-filter input{min-height:46px}.rio-date-filter p{font-size:11px;color:#536d7f}
.rio-welcome>p{font-size:13px;color:#536d7f}.rio-welcome .rio-preview-note{font-size:11px;color:#5c7485}.rio-suggestions button{font-size:12px;min-height:56px}
.rio-answer-label span{font-size:10px;color:#60778a}.rio-bubble>p{font-size:13px;color:#3e5c70}.rio-facts small{font-size:11px;color:#526d7f}.rio-facts strong{font-size:16px}.rio-answer-scope{font-size:11px;color:#526d7f}.rio-rows small{font-size:11px;color:#5c7485}.rio-rows strong,.rio-rows b{font-size:12px}
.rio-sources summary{min-height:44px;font-size:12px;color:#285f7a}.rio-sources p{font-size:11px;color:#536d7f}.rio-bubble .rio-mode-note{font-size:11px;color:#5c7485}.rio-composer>p{font-size:10px;color:#5b7384}.rio-composer button{width:46px;height:46px;flex-basis:46px}.rio-checking{color:#4b6a7e}.rio-error button{min-height:44px;display:inline-flex;align-items:center;padding:6px 9px;margin-left:2px;border-radius:7px;background:#fff;border:1px solid #dfc1af;text-decoration:none}
.rio-context-filters{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:8px 16px;border-bottom:1px solid #dce8ee;background:#edf5f9;flex-shrink:0}.rio-context-filters:empty{display:none}.rio-filter-chip{display:inline-flex;align-items:center;gap:8px;min-height:36px;max-width:100%;padding:5px 10px;border:1px solid #bfd6e2;background:#fff;color:#315c73;border-radius:20px;font:inherit;font-size:11px;cursor:pointer}.rio-filter-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rio-date-error{font-size:12px;line-height:1.5;padding:8px 10px;background:#fff1ea;color:#8d412c;border-radius:8px;margin:8px 0 2px}.rio-date-error[hidden]{display:none}.rio-new-chat{font-size:11px;white-space:nowrap}
@media(max-width:700px){.rio-context-filters{flex-wrap:nowrap;overflow-x:auto;padding:6px 12px}.rio-filter-chip{flex:0 0 auto;min-height:44px;max-width:230px}.rio-bubble>p{font-size:13px}.rio-header{gap:8px}.rio-header button:has(.rio-new-chat){width:auto;padding:0 10px;gap:5px;display:flex}.rio-header h2 span{font-size:11px}.rio-rows>div{gap:8px}.rio-composer{padding-top:10px}.rio-facts{gap:6px}.rio-facts>div{padding:9px}.rio-status{padding:8px 14px}}
.rio-error>strong{display:block;font-size:12px;margin-bottom:5px}.rio-error>p{margin:6px 0;line-height:1.6}.rio-error>small{display:block;font-size:11px;color:#80513b;line-height:1.5;margin:5px 0 8px}.rio-error>button{margin-left:0}.rio-filter-chip:disabled{opacity:.6;cursor:default}
.rio-header [data-rio-clear]{width:auto;min-width:44px;display:flex;align-items:center;justify-content:center;gap:6px;padding:0 10px}.rio-context-filters>span{font-size:11px;color:#486679;white-space:nowrap}.rio-error strong{overflow-wrap:anywhere}
@media(max-width:360px){.rio-header [data-rio-clear]>svg{display:none}.rio-header [data-rio-clear]{padding:0 8px}.rio-header-mascot{width:42px;height:42px;flex-basis:42px}.rio-header{gap:6px;padding-left:12px;padding-right:12px}}
