.welcome{width:min(100%,760px);margin:108px auto 0}.welcome h1{font-size:36px;font-weight:500;line-height:1.35;letter-spacing:-.02em;text-wrap:balance;overflow-wrap:anywhere}.welcome-description{margin-top:16px;color:var(--rv-muted);font-size:16px;line-height:1.6;word-break:keep-all;overflow-wrap:anywhere}.welcome-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:32px}.welcome-actions .work-primary,.welcome-secondary{min-height:48px;height:auto;padding:12px 24px;border-radius:24px;font-size:14px;white-space:normal}.welcome-actions .work-primary{min-width:180px}.welcome-secondary{color:var(--rv-text);background:transparent}.welcome-steps{list-style:none;padding:0;margin:72px 0 32px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}.welcome-steps h2{display:flex;gap:8px;font-size:14px;font-weight:500;line-height:1.6}.welcome-steps h2 span{font-variant-numeric:tabular-nums}.welcome-steps p{margin-top:8px;font-size:13px;line-height:1.6;color:var(--rv-muted);word-break:keep-all;overflow-wrap:anywhere}.welcome-privacy{margin-top:32px;font-size:12px;line-height:1.7;color:var(--rv-muted)}.guide-launcher{position:fixed;z-index:12;right:24px;bottom:max(24px,env(safe-area-inset-bottom));display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:10px 16px;border:1px solid var(--rv-border-strong);border-radius:24px;background:var(--rv-surface);color:var(--rv-secondary);font-size:13px;font-weight:500;cursor:pointer;box-shadow:0 8px 24px #00000026}.guide-launcher:hover{background:var(--rv-hover)}@media (max-width:600px){.guide-launcher{right:16px;bottom:max(16px,env(safe-area-inset-bottom))}}.new-study-page{min-width:0;width:100%;max-width:696px;padding:48px 48px 64px;margin:0 auto}.new-study-back{display:inline-flex;min-height:44px;align-items:center;gap:8px;color:var(--rv-muted);font-size:13px;margin-bottom:16px}.new-study-page h1{font-size:32px;line-height:1.35;font-weight:500;letter-spacing:-.02em}.new-study-intro{font-size:15px;line-height:1.6;color:var(--rv-muted);margin:16px 0 24px}.new-study-form{display:flex;flex-direction:column;gap:24px}.new-study-name{gap:8px}.new-study-formats>.label,.new-study-name .label{font-size:13px;font-weight:500}.new-study-name input{border-radius:12px;min-height:48px;width:100%;font-size:16px;background:var(--rv-field)}.new-study-formats{display:flex;flex-direction:column;gap:12px}.new-study-format{width:100%;margin:0}.new-study-format .radio__content{width:100%;min-height:76px;padding:16px;border:1px solid var(--rv-border-strong);border-radius:12px;background:var(--rv-surface);align-items:center;gap:12px;cursor:pointer}.new-study-format[data-selected=true] .radio__content{border-color:var(--rv-link);background:var(--rv-selected)}.new-study-format .label{display:flex;flex-direction:column;gap:4px;min-width:0;padding:0}.new-study-format strong{font-size:15px;font-weight:500;line-height:1.5}.new-study-format .label>span{color:var(--rv-muted);font-size:13px;font-weight:400;line-height:1.6;word-break:keep-all;overflow-wrap:anywhere}.new-study-format .radio__control{flex-shrink:0}.new-study-ai-note{color:var(--rv-muted);font-size:12px;line-height:1.7}.new-study-ai-note a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:3px;color:var(--rv-link)}.new-study-footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.new-study-footer p{color:var(--rv-muted);font-size:12px;line-height:1.7}.new-study-footer .work-primary{min-height:48px;min-width:144px;border-radius:24px}@media (max-width:600px){.welcome{margin-top:40px}.welcome h1{font-size:30px}.welcome-description{font-size:15px}.welcome-actions{flex-direction:column}.welcome-steps{grid-template-columns:1fr;gap:24px;margin-top:48px}.new-study-page{padding:8px 24px 40px}.new-study-back{margin-bottom:16px}.new-study-page h1{font-size:28px}.new-study-format .radio__content{min-height:84px}.new-study-footer{flex-direction:column;align-items:stretch}}.study-start-page [hidden]{display:none!important}.study-start-header-actions{display:flex;align-items:center;gap:4px;flex-shrink:0}.study-start-header-actions button{width:44px;min-width:44px;height:44px;padding:0}.study-start-header .rv-header-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.study-start-history-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.study-start-history .study-start-history-heading h1{font-size:22px}.study-start-history .rv-select{max-width:320px;margin-bottom:14px}.study-start-history h2{color:var(--rv-muted);font-size:12px;font-weight:500;margin:28px 0 8px}.study-start-history-row{display:flex;gap:8px;align-items:center;min-width:0}.study-start-history-row>button:last-child{min-width:44px;min-height:44px}.study-start-history-item{display:flex;flex:1;flex-direction:column;align-items:flex-start!important;gap:4px;min-width:0;height:auto!important;padding:14px 12px!important;text-align:left}.study-start-history-item>span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.study-start-history-item small{font-size:12px;color:var(--rv-muted);white-space:normal;overflow-wrap:anywhere}.study-start-history-actions{display:flex;flex-wrap:wrap;gap:4px;padding:0 12px 12px}.study-start-history-actions button{min-height:44px}.study-start-page{max-width:none;margin:0;padding:0;height:var(--study-viewport,100dvh);min-height:0;display:flex;flex-direction:column;overflow:hidden}.study-start-header{display:flex;flex:none;justify-content:space-between;align-items:center;gap:16px;min-height:76px;padding:16px 40px;border-bottom:1px solid var(--rv-border)}.study-start-header .new-study-back{display:flex;flex-wrap:wrap;gap:12px;margin:0;min-width:0;overflow-wrap:anywhere}.study-start-header .new-study-back>span:last-child{color:var(--rv-text)}:root .study-start-page>.study-start-header.rv-topbar{position:static}.study-start-modes{flex:none}.study-start-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scroll-padding-block:24px}.study-start-content,.study-start-welcome{width:min(100% - 80px,704px);margin:0 auto;padding:32px 0}.study-start-agent-mark{width:42px;height:42px;border-radius:13px;display:flex;align-items:center;justify-content:center;color:var(--rv-link);background:var(--rv-selected);margin-bottom:24px}.study-start-page h1{margin:0;font-size:36px;line-height:1.55;font-weight:500;letter-spacing:-.025em;word-break:keep-all;overflow-wrap:anywhere}.study-start-welcome>p{margin-top:24px;font-size:16px;line-height:1.65;color:var(--rv-muted);word-break:keep-all;overflow-wrap:anywhere}.study-start-welcome>.study-start-dock{margin-top:36px}.study-start-dock{flex:none;min-width:0;background:var(--rv-page)}.study-start-dock.is-docked{border-top:1px solid var(--rv-border-strong);padding:24px 40px max(16px,env(safe-area-inset-bottom))}.study-start-dock-inner{max-width:704px;margin:0 auto;display:grid;gap:12px}.study-start-composer{display:flex;flex-direction:column;gap:8px;width:100%;padding:14px 12px 12px;background:var(--rv-surface);border:1px solid var(--rv-input-border);border-radius:22px;transition:border-color .15s ease-out}.study-start-composer>label{color:var(--rv-muted);font-size:11px;font-weight:500;line-height:1.55;padding-inline:8px}.study-start-composer textarea{display:block;width:100%;min-height:50px;max-height:140px;padding:0 8px;border:0;outline:none;border-radius:0;resize:none;background:transparent;color:var(--rv-text);font:inherit;font-size:16px;line-height:1.55;box-shadow:none;overflow-y:auto}.study-start-composer textarea:focus-visible:not([data-focused]){outline:none}.study-start-composer textarea::placeholder{color:var(--rv-muted);opacity:1}.study-start-composer-tools{display:flex;justify-content:space-between;align-items:center;gap:12px}.study-start-composer-tools button{min-height:44px;height:44px;border-radius:13px}.study-start-composer .study-start-attach{display:flex;gap:8px;min-width:44px;padding:0 10px;background:transparent;color:var(--rv-muted);font-size:13px}.study-start-composer .study-start-send{min-width:44px;width:44px;padding:0;background:var(--rv-text);color:var(--rv-page);opacity:1;transition:transform .1s ease-out,background-color .15s ease-out}.study-start-composer .study-start-send:disabled{background:var(--rv-raised);color:var(--rv-muted);opacity:1}.study-start-composer .study-start-send:not(:disabled):active{transform:scale(.96)}.study-start-chevron,.study-start-plus,.study-start-spark,.study-start-up{display:inline-block;flex-shrink:0;width:20px;height:20px;background:currentColor;mask:var(--study-icon) center/contain no-repeat}.study-start-spark{--study-icon:url(/icons/study-ai.svg);color:var(--rv-link)}.study-start-plus{--study-icon:url(/icons/study-plus.svg)}.study-start-up{--study-icon:url(/icons/study-send.svg)}.study-start-chevron{--study-icon:url(/icons/chevron-right.svg);width:16px;height:16px}.study-start-suggestions{margin-top:28px}.study-start-suggestions>p{color:var(--rv-muted);font-size:12px;margin-bottom:16px}.study-start-suggestions>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.study-start-suggestions button{justify-content:space-between;align-items:center;gap:10px;min-width:0;min-height:76px;height:auto;padding:16px;border:1px solid var(--rv-border-strong);border-radius:14px;color:var(--rv-text);background:var(--rv-surface);text-align:left;white-space:normal;word-break:keep-all;overflow-wrap:anywhere;font-size:13px;line-height:1.6}.study-start-page .study-start-privacy{font-size:12px;color:var(--rv-muted);line-height:1.65}.study-start-title{display:grid;gap:8px;margin-bottom:32px}.study-start-title h1{font-size:22px}.study-start-status,.study-start-title p{color:var(--rv-muted);font-size:13px;line-height:1.6}.study-start-transcript{display:flex;flex-direction:column;gap:32px}.study-start-transcript+.loading-feedback{margin-top:32px}.study-start-message{width:100%;min-width:0;color:var(--rv-text);overflow-wrap:anywhere;word-break:keep-all;font-size:17px;line-height:1.65}.study-start-message.participant{align-self:flex-end;width:fit-content;max-width:82%;padding:18px 24px;border-radius:18px;background:var(--rv-raised)}.study-start-message .chat-message-label{display:flex;align-items:center;gap:12px;margin:0 0 16px;color:var(--rv-text);font-size:13px;font-weight:500;line-height:1.5}.study-start-message.participant .chat-message-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.study-start-message .chat-message-content{margin:0;font-size:17px;font-weight:400;line-height:1.7;white-space:pre-wrap;color:var(--rv-text)}.study-start-thought{display:flex;align-items:center;gap:12px;min-height:44px;margin-block:20px;color:var(--rv-link);font-size:13px;line-height:1.6}.study-start-thought .study-start-spark{animation:study-thought-breathe 1.8s ease-in-out infinite}@keyframes study-thought-breathe{50%{opacity:.45}}.study-start-recommendation{display:grid;gap:16px;margin-top:28px;padding:24px;border:1px solid var(--rv-border-strong);border-radius:18px;background:var(--rv-surface);line-height:1.65;overflow-wrap:anywhere}.study-start-recommendation-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:12px;color:var(--rv-muted)}.study-start-method{padding:4px 12px;border-radius:8px;background:var(--rv-selected);color:var(--rv-selected-text)}.study-start-recommendation h2{margin:0;font-size:23px;font-weight:500}.study-start-recommendation small,.study-start-recommendation>p{color:var(--rv-muted);font-size:14px}.study-start-recommendation dl{display:grid;grid-template-columns:80px minmax(0,1fr);gap:12px 0;margin:0;font-size:14px}.study-start-recommendation dt{color:var(--rv-muted)}.study-start-recommendation dd{margin:0}.study-start-recommendation .work-button{justify-self:start}.study-start-error{margin-block:16px;padding:16px 20px;border:1px solid var(--rv-border-strong);border-radius:14px;background:var(--rv-surface);font-size:14px;line-height:1.65}.study-start-error strong{color:var(--rv-error);font-weight:500}.study-start-error p{margin-top:6px}.study-start-error button{margin-top:12px}.study-start-attachments{display:flex;flex-wrap:wrap;gap:8px;padding-inline:8px}.study-start-attachment{display:inline-flex;align-items:center;gap:4px;max-width:100%;padding:0 0 0 12px;border:1px solid var(--rv-border-strong);border-radius:10px;background:var(--rv-raised);color:var(--rv-muted);font-size:12px}.study-start-attachment>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.study-start-upload-spinner{display:inline-block;flex-shrink:0;width:14px;height:14px;border:1.5px solid var(--rv-border-strong);border-top:1.5px solid;border-radius:50%;animation:study-upload-spin .8s linear infinite}@keyframes study-upload-spin{to{transform:rotate(1turn)}}.study-start-attachment button{min-width:44px;min-height:44px;padding:0}.study-start-direct{display:grid;gap:24px}.study-start-direct .new-study-intro{margin:0 0 8px}.study-start-kind{display:flex;flex-wrap:wrap;gap:12px;min-width:0;border:0;padding:0}.study-start-kind legend{padding:0 0 12px;font-size:13px;color:var(--rv-muted)}.study-start-kind button{flex:1;min-height:44px;border-radius:12px}.study-start-kind button[aria-pressed=true]{color:var(--rv-selected-text);background:var(--rv-selected);border-color:var(--rv-link)}.study-start-field{display:grid;gap:12px;min-width:0;font-size:13px;color:var(--rv-muted)}.study-start-field textarea{width:100%;min-height:112px;padding:16px 20px;border:1px solid var(--rv-input-border);border-radius:16px;background:var(--rv-surface);color:var(--rv-text);font-size:16px;line-height:1.65;resize:vertical}.study-start-direct-attach{justify-self:start;min-height:44px}.study-start-direct-actions{display:flex;flex-wrap:wrap;gap:12px}.study-start-direct-actions button{min-height:44px;height:auto;border-radius:12px;white-space:normal}.study-start-saved-link{display:inline-flex;align-items:center;min-height:44px;margin-top:20px;color:var(--rv-link);text-decoration:underline;text-underline-offset:3px}@media (max-width:768px){.study-start-page{height:calc(var(--study-viewport,100dvh) - 64px)}.study-start-header{min-height:64px;padding:10px 24px}.study-start-header .new-study-back{gap:6px;font-size:12px}.study-start-content,.study-start-welcome{width:calc(100% - 48px);padding:24px 0}.study-start-page h1{font-size:29px;line-height:1.5}.study-start-title h1{font-size:19px}.study-start-welcome>p{font-size:15px}.study-start-dock.is-docked{padding:16px 16px max(12px,env(safe-area-inset-bottom))}.study-start-message.participant{max-width:90%;padding:16px}.study-start-message .chat-message-content{font-size:16px}.study-start-suggestions>div{grid-template-columns:1fr;gap:8px}.study-start-suggestions button{min-height:54px}.study-start-recommendation{padding:20px}.study-start-recommendation h2{font-size:21px}.study-start-recommendation dl{grid-template-columns:1fr;gap:4px}.study-start-recommendation dd{margin-bottom:8px}.study-start-direct-actions{display:grid}.study-start-direct-actions button{width:100%}}@media (max-width:360px){.study-start-header{padding-inline:16px}.study-start-content,.study-start-welcome{width:calc(100% - 32px)}.study-start-page h1{font-size:25px}.study-start-title h1{font-size:18px}.study-start-kind{flex-direction:column}}@media (prefers-reduced-motion:reduce){.study-start-page *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.tutorial-backdrop{padding:0;background:var(--rv-page)}.tutorial-container,.tutorial-dialog.modal__dialog{width:100%;max-width:none;padding:0}.tutorial-dialog.modal__dialog{position:relative;display:block;height:100dvh;max-height:100dvh;border:0;border-radius:0;overflow:hidden;background:var(--rv-page)}.tutorial-dialog iframe{display:block;width:100%;height:100%;border:0}.tutorial-close{position:absolute;z-index:2;right:24px;top:10px;width:44px;height:44px}.tutorial-close .modal__close-trigger{position:static;width:44px;height:44px}.tutorial-error,.tutorial-loading{position:absolute;inset:80px 24px 24px;display:grid;place-content:center;gap:16px;text-align:center;background:var(--rv-page);color:var(--rv-text)}@media(max-width:760px){.tutorial-close{right:16px;top:7px}}.study-start-message .transcript-chunk{animation:consultation-appear .22s cubic-bezier(.23,1,.32,1) both}@keyframes consultation-appear{0%{opacity:.55}to{opacity:1}}@media(prefers-reduced-motion:reduce){.study-start-message .transcript-chunk{animation:none}}