@font-face{font-family:PrimeVintage;src:url('/personality-display.ttf') format('truetype');font-display:swap;font-weight:400;font-style:normal}
:root{--trip-gold:#92651c;--trip-rust:#884325;--trip-plum:#70536b;--trip-glow:#f5e8ca;--trip-answer:#e8efe4}
:root[data-appearance=dark]{--trip-gold:#efd098;--trip-rust:#efb390;--trip-plum:#d5b5d0;--trip-glow:#362d20;--trip-answer:#27362c}
.patient-app-brand.trip-welcome{display:flex;align-items:center;justify-content:center;gap:14px;padding:12px 24px;min-height:76px;max-width:1120px;margin:auto;background:transparent;border:0}
.trip-welcome .prime-owner-logo{flex:0 0 auto}.trip-welcome .prime-owner-logo img{width:72px;height:72px;object-fit:contain}.trip-welcome-copy{display:flex;flex-direction:column;align-items:flex-start;position:relative;gap:3px}.trip-welcome-copy>strong{font:650 13px/1.4 system-ui,sans-serif;letter-spacing:.04em;text-transform:uppercase;color:var(--studio-muted)}
.trip-welcome .trip-lettering{font:400 clamp(17px,2vw,22px)/1.25 PrimeVintage,Georgia,serif;letter-spacing:-.025em;color:var(--trip-gold);text-wrap:balance;max-width:710px;text-shadow:0 1px 0 var(--studio-surface)}.trip-flourish{display:block;position:relative;width:150px;height:8px;margin-top:3px;border-top:1px solid var(--trip-rust);border-radius:60%}.trip-flourish::after{content:'';display:block;position:absolute;top:1px;left:15px;width:165px;height:5px;border-top:1px solid var(--trip-plum);border-radius:70%;opacity:.7}
.trip-laugh{max-width:740px;margin:14px auto 36px;padding:23px 26px 19px;border:1px solid var(--studio-line);border-radius:24px;background:var(--studio-surface);color:var(--studio-ink);box-shadow:0 5px 18px #00000008;position:relative;overflow:hidden}.trip-laugh::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--trip-rust),var(--trip-gold),var(--trip-plum))}.trip-laugh-heading{display:flex;gap:12px;align-items:center}.trip-sun{color:var(--trip-gold);font-size:30px}.trip-kicker{font:650 10px/1.5 system-ui,sans-serif;letter-spacing:.15em;text-transform:uppercase;margin:0;color:var(--studio-muted)}.trip-laugh h2{font:400 25px/1.3 PrimeVintage,Georgia,serif;margin:1px 0 8px;color:var(--studio-ink)}[data-joke-setup]{font-size:17px;line-height:1.55;margin:16px 0 10px;text-wrap:pretty}.trip-reveal{color:var(--trip-gold);background:var(--studio-raised);border:1px solid var(--studio-line);padding:7px 15px;border-radius:24px;min-height:44px;font-weight:600}[data-joke-answer]{line-height:1.5;font-size:17px;background:var(--trip-answer);padding:13px 16px;border-radius:14px;margin:10px 0;animation:trip-answer-in .18s ease-out}.trip-laugh-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid var(--studio-line);margin-top:18px;padding-top:10px}.trip-laugh-bottom small{font-size:12px;color:var(--studio-muted)}[data-joke-next]{border:0;background:transparent;padding:7px 6px;color:var(--trip-gold);font-size:14px;white-space:nowrap;min-height:44px}.trip-laugh[aria-busy=true]{opacity:.8}
.trip-provider{display:flex;align-items:center;gap:8px;max-width:370px;border-inline-start:1px solid var(--studio-line);padding-inline-start:14px;margin-inline:10px;color:var(--studio-ink);font-size:12px;line-height:1.35;flex:0 1 370px}.trip-provider[hidden]{display:none}.trip-provider-mark{color:var(--trip-gold);font-size:19px}.trip-provider-copy{min-width:0;max-width:245px}.trip-provider-title{font-family:PrimeVintage,Georgia,serif;font-size:17px;font-weight:400;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.trip-provider-reflection{display:block;color:var(--studio-muted);font-size:10px;max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.trip-provider button{font:inherit;border:1px solid var(--studio-line);background:var(--studio-raised);border-radius:50%;width:44px;height:44px;min-height:44px;padding:0;flex:0 0 44px}.trip-provider details{position:relative;border:0!important;background:none!important;flex:0 0 auto}.trip-provider summary{list-style:none;padding:8px;cursor:pointer;border:1px solid var(--studio-line);border-radius:20px;min-height:44px;min-width:44px}.trip-provider-menu{position:absolute;right:0;top:42px;width:285px;background:var(--studio-surface);color:var(--studio-ink);border:1px solid var(--studio-line);box-shadow:var(--studio-shadow);border-radius:16px;z-index:80;padding:16px}.trip-provider-menu p{font-size:12px;white-space:normal}.trip-provider-menu button{border-radius:9px;width:auto;padding:6px 10px;min-height:44px;margin-top:8px}.trip-provider-menu label{display:block;font-size:12px}.trip-provider-menu select{max-width:100%;width:100%;font-size:13px}.trip-provider-hidden{flex-basis:auto;max-width:70px}.trip-provider-hidden .trip-provider-copy,.trip-provider-hidden .trip-provider-mark{display:none}
.trip-library{color:var(--studio-ink);background:var(--studio-surface);border:1px solid var(--studio-line);border-radius:24px;padding:24px;width:min(1000px,94vw);max-height:88dvh;overflow:auto;box-shadow:var(--studio-shadow)}.trip-library::backdrop{background:#10172288;backdrop-filter:blur(3px)}.trip-library header{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.trip-library h2{margin:0;font-size:25px}.trip-library p{line-height:1.5}.trip-library-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin:18px 0}.trip-library-tools label{display:flex;flex-direction:column;gap:5px;font-size:12px}.trip-library button{padding:8px 14px}.trip-library-list{display:grid;gap:10px}.trip-library-row{padding:16px;border:1px solid var(--studio-line);border-radius:15px;background:var(--studio-raised)}.trip-library-row strong{display:block;line-height:1.45}.trip-library-row p{margin:7px 0}.trip-library-row footer{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.trip-library-state{font-size:11px;font-weight:650;text-transform:uppercase;letter-spacing:.06em;color:var(--studio-muted)}.trip-library-form{padding:20px;border:1px solid var(--studio-line);border-radius:16px;display:grid;gap:12px;margin:18px 0}.trip-library-form label{display:grid;gap:5px;font-size:13px}.trip-library-form textarea{min-height:70px;width:100%;padding:10px}.trip-library-form label.trip-check{display:flex;align-items:center;gap:8px}.trip-library-form input[type=checkbox]{width:22px;height:22px;min-height:22px}.trip-library .trip-editor-actions{display:flex;gap:10px;flex-wrap:wrap}.trip-library [role=alert]:empty,.trip-library [role=status]:empty{display:none}
@keyframes trip-answer-in{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1100px){.trip-provider{max-width:295px;flex-basis:295px;margin-inline:4px;padding-inline-start:10px}.trip-provider-copy{max-width:165px}.trip-provider-reflection{max-width:165px}}
@media(max-width:750px){.patient-app-brand.trip-welcome{padding:17px 16px 10px;gap:15px;justify-content:flex-start}.trip-welcome .prime-owner-logo img{width:60px;height:60px}.trip-welcome .trip-lettering{font-size:20px}.trip-welcome-copy>strong{font-size:13px;letter-spacing:.04em}.trip-laugh{margin:12px 14px 25px;padding:20px}.trip-provider{flex-basis:180px;max-width:220px;border:0;padding:0}.trip-provider-reflection{display:none}.trip-provider-title{font-size:15px;max-width:135px}.trip-provider button{width:44px;height:44px;min-height:44px;flex-basis:44px}}
@media(max-width:480px){.patient-app-brand.trip-welcome{flex-direction:row;align-items:center;gap:12px;padding:10px 16px;min-height:72px}.trip-welcome-copy{align-items:flex-start;text-align:left}.trip-welcome .prime-owner-logo img{width:56px;height:56px}.trip-welcome .trip-lettering{font-size:17px;max-width:330px;line-height:1.25}.trip-flourish{height:5px}.trip-welcome-copy>strong{font-size:13px}.trip-laugh h2{font-size:23px}.trip-laugh-bottom{align-items:flex-start}.trip-laugh-bottom small{max-width:145px}.trip-provider{max-width:180px;flex-basis:180px}.trip-provider-copy{max-width:100px}.trip-provider-title{max-width:100px}.trip-library{padding:18px}.trip-library-tools>*{max-width:100%}}
@media(prefers-reduced-motion:reduce){[data-joke-answer]{animation:none}.trip-laugh{transition:none}}

.trip-welcome~.checkin-page .checkin-heading>.checkin-mark.prime-owner-logo{display:none!important}.trip-welcome~.checkin-page{padding-top:4px}
.trip-library[aria-busy=true] .trip-library-list{opacity:.6}
/* Keep the personal detail inside the existing header at narrow widths. */
.has-private-music .app-top .top-right{min-width:0}
@media(min-width:541px){.patient-app-brand.trip-welcome{padding-inline-end:170px}.trip-welcome .prime-owner-logo{width:64px!important;height:64px!important}}
@media(max-width:1100px){.has-private-music .app-top .wordmark>span:not(.prime-owner-logo){display:none}.has-private-music .app-top .top-right{font-size:0;gap:5px}.has-private-music .app-top .connection-dot{display:none}.has-private-music .app-top .studio-appearance{flex:0 0 110px;width:110px}.has-private-music .trip-provider{flex:1 1 245px;max-width:245px;min-width:0}.has-private-music .trip-provider-copy{max-width:140px}.has-private-music .trip-provider-reflection{display:none}.has-private-music .app-top .top-right .button{font-size:11px;min-height:44px;margin-left:0}.has-private-music .trip-provider-title{max-width:140px;font-size:15px}}
@media(max-width:800px){.has-private-music .app-top{padding-inline:10px}.has-private-music .app-top .wordmark{gap:6px;font-size:14px;flex-shrink:0}.has-private-music .trip-provider{max-width:220px;flex-basis:220px}.has-private-music .trip-provider-title{max-width:112px}.has-private-music .trip-provider-mark{display:none}.has-private-music .trip-provider{padding-inline-start:5px;margin-inline:0}}
@media(max-width:580px){.has-private-music .app-top .wordmark{font-size:0;gap:0}.has-private-music .app-top .wordmark strong{display:none}.has-private-music .app-top .wordmark .prime-owner-logo{width:40px!important;height:40px!important}.has-private-music .app-top .studio-appearance{width:88px;flex-basis:88px;font-size:11px}.has-private-music .trip-provider{max-width:160px;flex-basis:150px;gap:4px}.has-private-music .trip-provider-title{max-width:88px;font-size:13px}.has-private-music .trip-provider>[data-private-next]{display:none}.has-private-music .trip-provider-menu{position:fixed;right:10px;top:82px;width:min(300px,calc(100vw - 20px));max-height:calc(100dvh - 100px);overflow:auto}.has-private-music .trip-provider-hidden{flex-basis:48px;max-width:48px}}

@media print{.trip-provider,.trip-laugh,.trip-library,.trip-welcome,.trip-provider-menu{display:none!important}}

/* Keep a failed personal preference visible without widening the clinical header. */
.trip-provider[data-private-failure] summary,.trip-provider[data-private-failure] [data-private-show]{position:relative}
.trip-provider[data-private-failure] summary::after,.trip-provider[data-private-failure] [data-private-show]::after{content:"!";position:absolute;right:0;top:0;display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#a53128;color:#fff;font:700 11px/1 sans-serif}
.trip-provider-menu .trip-provider-error{padding:8px;border:1px solid currentColor;border-radius:8px;color:var(--studio-ink);font-weight:600}

.studio-ready #studio-actions .studio-private-music-error{order:1;flex:0 0 auto;margin:0;padding:6px 10px;border:1px solid var(--studio-line);border-radius:8px;background:var(--studio-raised);color:var(--studio-ink);font-size:12px;line-height:1.35;overflow-wrap:anywhere}
