.invitation-study{--study-ink:#1d211b;--study-muted:#555a4d;--study-line:#e0e2d9;--study-yellow:#f9e94c;--study-yellow-hover:#f1df28;--study-ease:cubic-bezier(0.22,1,0.36,1);--study-paper:#fff;min-height:100svh;background:var(--study-paper);color:var(--study-ink);color-scheme:light;font-family:inherit;line-height:1.55}.invitation-study button,.invitation-study input,.invitation-study textarea{font:inherit}.invitation-study button{cursor:pointer}.invitation-study button:disabled{cursor:default}.invitation-study :is(button,input,textarea):focus-visible{outline:2px solid var(--study-ink);outline-offset:4px}.invitation-masthead{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:76px;padding:0 clamp(20px,5.15vw,82px);border-bottom:1px solid var(--study-line)}.invitation-identity{display:flex;align-items:center;gap:11px;font-size:.875rem;font-weight:650;letter-spacing:-.022em}.invitation-mark{display:inline-grid;flex:0 0 auto;place-items:center;width:32px;height:32px;background:var(--study-yellow);border-radius:8px}.invitation-progress{display:inline-flex;align-items:center;gap:7px;color:var(--study-muted);font-size:.8125rem;white-space:nowrap}.invitation-main{width:min(calc(100% - 40px),668px);margin:0 auto;padding:clamp(46px,7.4vw,100px) 0 64px}.invitation-study h1,.invitation-study h2,.invitation-study p{margin:0}.invitation-study h1{display:inline-block;font-size:clamp(2.25rem,5.8vw,3.65rem);font-weight:640;line-height:1.06;letter-spacing:-.062em;text-wrap:balance}.invitation-study h1:focus{outline:none}.invitation-study .invitation-intro{max-width:55ch;margin-top:21px;color:var(--study-muted);font-size:clamp(1rem,2.5vw,1.125rem)}.invitation-consent{display:grid;gap:12px;margin-top:36px;border-top:1px solid var(--study-line);padding-top:24px}.invitation-consent h2{font-size:1rem;font-weight:700}.invitation-consent p{max-width:70ch;color:var(--study-muted);font-size:.875rem}.invitation-consent-form{display:grid;justify-items:start;gap:20px;margin-top:27px}.invitation-name{display:grid;gap:7px;width:min(100%,320px);font-size:.9375rem;font-weight:600}.invitation-study .invitation-name input{width:100%;min-height:43px;border:1px solid #c6c9bb;border-radius:8px;padding:8px 12px;background:var(--study-paper);color:var(--study-ink);font-size:1rem}.invitation-checkbox{display:inline-flex;align-items:flex-start;gap:12px;line-height:1.45;cursor:pointer;font-size:.9375rem;font-weight:550}.invitation-checkbox input{width:19px;height:19px;flex:0 0 19px;margin:1px 0 0;accent-color:var(--study-ink)}.invitation-primary,.invitation-secondary,.invitation-send{display:inline-flex;align-items:center;justify-content:center;gap:11px;border:1px solid transparent;border-radius:8px;background:var(--study-yellow);color:var(--study-ink);transition:background-color .18s var(--study-ease),border-color .18s var(--study-ease)}.invitation-study .invitation-primary,.invitation-study .invitation-secondary{min-height:43px;padding:9px 15px;font-size:.875rem;font-weight:680}.invitation-primary:hover:not(:disabled),.invitation-send:hover:not(:disabled){background:var(--study-yellow-hover)}.invitation-primary:disabled,.invitation-secondary:disabled,.invitation-send:disabled{background:#f1f1e9;color:#666a60}.invitation-study .invitation-example{margin-top:7px;color:var(--study-muted);font-size:.9rem}.invitation-example,.invitation-writing>.invitation-intro{margin-bottom:12px}.invitation-writing>.invitation-composer{margin-top:25px}.invitation-study .invitation-thread{min-width:0;max-height:min(57vh,455px);margin:25px 0 17px;padding:0}.invitation-study .invitation-thread>div{max-height:min(57vh,455px);scrollbar-gutter:stable}.invitation-study .invitation-thread-content{display:grid;gap:23px;padding:3px 14px 7px 0}.invitation-study .invitation-turn{display:grid;width:100%;max-width:100%;min-width:0;gap:4px;margin:0;scroll-margin-block:10px}.invitation-study .invitation-turn:focus-visible{outline:2px solid var(--study-ink);outline-offset:3px}.invitation-turn-label{color:var(--study-muted);font-size:.75rem;font-weight:650}.invitation-copy,.invitation-turn-heading{display:flex;align-items:center;flex-wrap:wrap;gap:5px 12px}.invitation-study .invitation-copy-button{display:inline-flex;align-items:center;gap:5px;min-height:28px;padding:2px 5px;color:var(--study-muted);font-size:.75rem;font-weight:550}.invitation-copy-button:focus-visible,.invitation-copy-button:hover{color:var(--study-ink);text-decoration:underline;text-underline-offset:3px}.invitation-copy-error{color:#812b27;font-size:.8125rem}.invitation-study .invitation-turn .invitation-turn-text{width:100%;max-width:100%;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--study-ink);font-size:.95rem;white-space:pre-wrap;overflow-wrap:anywhere}.invitation-activity,.invitation-saving{display:inline-flex;align-items:center;gap:7px;color:var(--study-muted);font-size:.8125rem}.invitation-activity>svg,.invitation-saving>svg{flex:0 0 auto}.invitation-activity:not([data-saving])>svg{color:#6b5e05}.invitation-composer{display:grid;gap:7px}.invitation-composer label{font-size:.875rem;font-weight:650}.invitation-field-hint{color:var(--study-muted);font-size:.875rem}.invitation-input-row{position:relative}.invitation-input-row:focus-within{border-radius:8px}.invitation-study .invitation-input-row textarea{display:block;width:100%;min-height:76px;resize:vertical;border:1px solid #c6c9bb;border-radius:8px;padding:13px 13px 61px;background:var(--study-paper);color:var(--study-ink);caret-color:var(--study-ink);font-size:1rem}.invitation-input-row textarea::placeholder{color:var(--study-muted)}.invitation-send{position:absolute;bottom:9px;right:9px;min-width:78px;min-height:44px;padding:0 9px;gap:6px}.invitation-review{display:grid;gap:13px;justify-items:start}.invitation-review p{color:var(--study-muted);font-size:.875rem}.invitation-study .invitation-send{font-size:.8125rem;font-weight:650}.invitation-secondary{border-color:#c8c9c2;background:var(--study-paper)}.invitation-secondary:hover:not(:disabled){background:#f5f5f1;border-color:var(--study-muted)}.invitation-end-writing{margin-top:17px;padding-top:16px;border-top:1px solid var(--study-line)}.invitation-text-action{padding:0;color:var(--study-ink);text-decoration:underline;text-underline-offset:3px;font-weight:550}.invitation-accepted{margin-bottom:34px;border-bottom:1px solid var(--study-line);padding-bottom:22px}.invitation-accepted h2{margin-bottom:9px;font-size:.875rem;font-weight:700}.invitation-accepted p{max-width:64ch;white-space:pre-wrap;overflow-wrap:anywhere}.invitation-setting{margin:26px 0 22px}.invitation-permission-check{width:100%}.invitation-study .invitation-choice{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 10px;margin-top:8px;color:var(--study-muted);font-size:.875rem}.invitation-choice strong{color:var(--study-ink);font-weight:650}.invitation-study .invitation-final-choice{margin-top:20px}.invitation-helper{margin-top:22px;border-top:1px solid var(--study-line);padding-top:17px}.invitation-helper .invitation-thread{margin:0 0 18px}.invitation-confirm{border-top:1px solid var(--study-line);padding-top:18px}@media (prefers-reduced-motion:no-preference){.invitation-stage{animation:invitation-arrive .33s var(--study-ease) both}.invitation-input-row[data-guide=revision] textarea{animation:invitation-caret-guide .62s var(--study-ease)}}@keyframes invitation-arrive{0%{opacity:0;transform:translateY(5px)}}@keyframes invitation-caret-guide{0%{border-color:#716700;box-shadow:0 0 0 3px #f9e94c}}.invitation-study .invitation-error,.invitation-study .invitation-notice{margin-bottom:18px;border-radius:7px;padding:10px 13px;font-size:.875rem}.invitation-error{background:#fff0ef;color:#812b27}.invitation-notice{background:#f3f4ed;color:var(--study-muted)}.invitation-done-icon{display:grid;place-items:center;width:44px;height:44px;margin:0 0 18px;border-radius:11px;background:var(--study-yellow)}.invitation-pilot{display:grid;justify-items:start;gap:10px;margin-top:35px;border-top:1px solid var(--study-line);padding-top:15px;color:var(--study-muted);font-size:.875rem}.invitation-pilot-action,.invitation-pilot-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.invitation-pilot-actions{gap:14px}@media (prefers-reduced-motion:no-preference){.invitation-activity[data-saving]>svg,.invitation-spinner{animation:invitation-spin .85s linear infinite}}@keyframes invitation-spin{to{transform:rotate(1turn)}}@media (max-width:490px){.invitation-masthead{min-height:62px}.invitation-identity,.invitation-progress{font-size:.75rem}.invitation-mark{width:29px;height:29px}.invitation-progress svg{display:none}.invitation-main{padding-top:46px}}@media (pointer:coarse){.invitation-study .invitation-copy-button{min-height:36px}}@media (prefers-reduced-motion:reduce){.invitation-primary,.invitation-secondary,.invitation-send{transition:none}}