[hidden]{display:none!important}dialog{max-width:min(26rem,90vw);border-radius:1rem}output{display:block;white-space:pre-wrap}:root{color-scheme:dark;background:#101213;color:#efece5;font:17px/1.55 system-ui}main{max-width:31rem;margin:5vh auto;padding:1.5rem}header{font-weight:700;letter-spacing:.03em}header small{float:right;font-weight:400;color:#d4bd94}h1{line-height:1.1;font-size:clamp(2rem,8vw,3rem)}label{display:block}textarea{box-sizing:border-box;width:100%;margin:1rem 0;padding:1rem;border:1px solid #666158;border-radius:.8rem;background:#191c1e;color:inherit;font:inherit}button{font:inherit;border:1px solid #6a6257;padding:.5rem .9rem;border-radius:1.2rem;background:#191c1e;color:inherit;margin:.4rem .25rem .4rem 0}button.primary{background:#ddc59c;color:#171613}button:disabled{opacity:.5}section{border-top:1px solid #393b39;margin-top:1.3rem;padding-top:.8rem}small{color:#bbb7af}
body{margin:0}main{box-sizing:border-box;width:100%;max-width:36rem;padding:max(1.25rem,env(safe-area-inset-top)) 1.25rem max(1.25rem,env(safe-area-inset-bottom))}header{display:flex;justify-content:space-between;gap:1rem;align-items:baseline}header small{float:none;text-align:right}button{min-height:44px;cursor:pointer}button:disabled{cursor:default}button:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #ddc59c;outline-offset:4px}textarea{resize:vertical}#notice:empty{display:none}#connections{margin-bottom:1.5rem}.connection{padding:1rem;background:#191c1e;border:1px solid #393b39;border-radius:1rem;margin:.75rem 0}.connection button{display:inline-block}.message{max-width:85%;width:fit-content;padding:.8rem 1rem;border-radius:1rem;white-space:pre-wrap;overflow-wrap:anywhere;background:#23282b}.message.sent{margin-left:auto;background:#333127}.message.received{margin-right:auto}.message-report{display:block;font-size:.8rem;border:0;background:transparent;color:#c8bdab;padding:.25rem 0;margin:0;border-radius:.2rem}#chat{border:0}#chatHeading{outline:none}#messages:empty::before{content:'You’re connected. Say hello.';color:#bbb7af}#chatForm{border-top:1px solid #393b39;padding-top:1rem}#chatForm textarea{margin:.5rem 0}dialog{padding:1.25rem;border:1px solid #6a6257;background:#191c1e;color:inherit}dialog::backdrop{background:#0009}dialog input[type=checkbox]{width:1.1rem;height:1.1rem;vertical-align:middle}summary{cursor:pointer;padding:.8rem 0}details{margin-top:1rem}h2{font-size:1.25rem}@media(max-width:420px){main{margin:1rem auto}h1{font-size:2.4rem}.message{max-width:90%}}
#currentStory,#extraCurrentStory{margin:1rem 0;padding:1rem;border-left:3px solid #ddc59c;background:#191c1e;border-radius:0 .8rem .8rem 0;white-space:pre-wrap;overflow-wrap:anywhere}
#damascus{position:fixed;inset:-120px 0 auto;width:100%;height:calc(100vh + 240px);height:calc(100lvh + 240px);pointer-events:none;z-index:0;mask-image:linear-gradient(#000 0%,#000b 55%,#0003 100%);-webkit-mask-image:linear-gradient(#000 0%,#000b 55%,#0003 100%)}
main{position:relative;z-index:1}h1,header,label,#notice{ text-shadow:0 2px 12px #101213,0 0 4px #101213 }
a{color:#ddc59c;text-underline-offset:.2em}a:focus-visible,input:focus-visible{outline:2px solid #ddc59c;outline-offset:4px}.consent{font-size:.9rem;margin:1rem 0;line-height:1.5}.consent input{width:1.1rem;height:1.1rem;vertical-align:middle;margin-right:.4rem}.availability{font-size:.85rem;color:#c8c2b8}footer{border-top:1px solid #393b39;padding-top:1rem;margin-top:1.5rem;font-size:.9rem}#accountPanel{background:#191c1edb;border:1px solid #393b39;border-radius:1rem;padding:1rem}#searchAccountHelp{font-size:.9rem;color:#ddc59c}

#accountPanel{border:0;background:transparent;padding:0;margin-top:2rem}#accountWelcome{margin:3.5rem 0 2rem}#accountWelcome h1{font-size:clamp(2.5rem,9vw,3.7rem);letter-spacing:-.045em;line-height:1.08;margin-bottom:1.3rem}#accountWelcome p{color:#c9c5bd;font-size:1.08rem;max-width:25rem}#accountState{font-size:.9rem;color:#bcb7ae}#accountHelp{font-size:.85rem}#savedSearchList:empty{display:none}.account-actions{display:flex;flex-wrap:wrap;gap:.5rem}.account-actions button{margin:0;min-height:48px;padding:.65rem 1.3rem}#accountWelcome:not([hidden])~.account-actions{margin-top:1.5rem}#accountWelcome:not([hidden])~.account-actions button{flex:1}footer{color:#a7a298;border:0;font-size:.8rem;margin-top:2.5rem}footer a{color:inherit}#workspace #home>h1{font-size:2rem}#workspace #home>p{color:#c9c5bd}

/* Account and conversation navigation */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
main{max-width:40rem}#accountPanel:has(#accountMenu:not([hidden])){margin:0}#accountPanel:has(#accountMenu:not([hidden])) #accountState{display:none}#accountMenu{position:absolute;right:1.25rem;top:max(1.25rem,env(safe-area-inset-top));margin:0;z-index:3}
#accountMenu>summary,#settings>summary{color:#c8c3b9;font-size:.86rem;padding:.15rem .35rem}
#home{padding-top:1rem}#home>h1{letter-spacing:-.045em}#home>section{padding-top:1rem}#form>label:first-child{font-weight:600}
.connection{display:flex;align-items:center;justify-content:space-between;gap:.7rem;padding:.35rem .6rem .35rem 1rem;border-color:#353737;border-radius:14px}.connection:has(.thread-link){padding:0}
.thread-link{width:100%;display:flex!important;align-items:center;gap:.8rem;min-height:68px;border:0;border-radius:14px;background:transparent;font-weight:600;text-align:left;padding:.6rem 1rem;margin:0}
.thread-link:before,.monogram{content:'m';display:inline-grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#37362e;color:#ead7b6;font:bold 20px/1 system-ui}
.thread-link:after{content:'›';color:#aaa69e;font:24px/1 system-ui;margin-left:auto}
.overflow{position:relative;margin:0}.menu-items{display:grid;padding:.3rem;min-width:10rem;background:#202222;border:1px solid #454541;border-radius:14px;box-shadow:0 12px 30px #0005}
.overflow>.menu-items,#accountMenu>.menu-items{position:absolute;right:0;top:100%;z-index:6}.menu-items button{margin:0;border:0;background:transparent;text-align:left;font-size:.9rem;border-radius:9px}.menu-items button:hover,.thread-link:hover,.icon-btn:hover{background:#ffffff0c}
#settings{margin-top:1.1rem}#settings .menu-items{max-width:20rem}#pushStatus:empty{display:none}
body:has(#workspace:not([hidden]) #chat:not([hidden])) main{width:100%;max-width:45rem;padding:0;margin:0 auto;height:100vh;height:100dvh;display:flex;flex-direction:column}
body:has(#workspace:not([hidden]) #chat:not([hidden])) :is(main>header,#accountPanel,#settings,main>footer){display:none}
body:has(#chat:not([hidden])) #notice:not(:empty){margin:0;padding:.3rem 1rem;background:#1a1c1c;font-size:.84rem}
#workspace:has(#chat:not([hidden])){flex:1;display:flex;min-height:0;flex-direction:column}
#chat:not([hidden]){display:flex;flex-direction:column;flex:1;min-height:0;margin:0;padding:0;background:#141616f5;isolation:isolate}
.thread-bar{display:flex;align-items:center;gap:.4rem;padding:max(.55rem,env(safe-area-inset-top)) .65rem .55rem;border-bottom:1px solid #353734;background:#191b1b;position:relative;z-index:2}
.thread-title{display:flex;align-items:center;gap:.65rem;flex:1}.thread-title small{display:block;font-size:.73rem;line-height:1.5;color:#b2afa7}.thread-title h2{font-size:1rem;letter-spacing:-.015em;margin:0;line-height:1.3}
.icon-btn,summary.icon-btn{display:inline-grid;place-items:center;flex:none;width:44px;height:44px;padding:0;margin:0;border:none;color:inherit;border-radius:50%;background:transparent;line-height:1;list-style:none}
summary.icon-btn{font-size:25px;letter-spacing:1px;font-weight:700;cursor:pointer}summary.icon-btn::-webkit-details-marker{display:none}.icon-btn svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#messages{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:1.25rem clamp(.85rem,4vw,1.65rem);scrollbar-width:thin}
#messages:empty::before{content:'Say hello';margin:auto;color:#a5a59e;font-size:.9rem}
.message{position:relative;flex:none;line-height:1.45;font-size:1rem;max-width:min(80%,34rem);padding:.58rem .88rem;margin:0;border-radius:19px;box-sizing:border-box}
.message.sent{color:#231e17;background:#dac49f;border-bottom-right-radius:6px}.message.received{background:#2b2e2e;color:#f1f1eb;border-bottom-left-radius:6px}.message.sent+.received,.message.received+.sent{margin-top:.45rem}
#messages .message-report{display:none}#chat:has(#reportModeBar:not([hidden])) .message-report{display:block;color:#f2d3ac}
#reportModeBar{font-size:.85rem;padding:.35rem 1rem;background:#2e2c27}#reportModeBar button{margin:0;border:0;background:none;color:#e4ca9f}
.thread-bottom{border-top:1px solid #333632;padding:.65rem max(.8rem,env(safe-area-inset-right)) max(.7rem,env(safe-area-inset-bottom)) max(.8rem,env(safe-area-inset-left));background:#191b1b}
#chatStatus{margin:0 0 .45rem;color:#c8c4ba;font-size:.82rem}#chatStatus:empty{display:none}
#chatForm{display:flex;align-items:flex-end;gap:.4rem;border:1px solid #40423f;background:#252827;border-radius:25px;padding:4px;margin:0}
#chatForm textarea{flex:1;min-width:0;resize:none;border:0;background:transparent;outline:none;margin:0;padding:9px 6px 8px 13px;line-height:1.35;min-height:39px;max-height:116px;border-radius:20px;font-size:16px}
#chatForm:focus-within{border-color:#958974}#sendChat{background:#ddc59c;color:#201d17;width:39px;height:39px;min-height:39px}#sendChat:disabled{background:#383b38;color:#8e9089;opacity:1}
@media(min-width:760px){body:has(#workspace:not([hidden]) #chat:not([hidden])) main{height:calc(100dvh - 3rem);max-height:59rem;margin:1.5rem auto}#chat:not([hidden]){border:1px solid #393b37;border-radius:20px;overflow:hidden;box-shadow:0 20px 70px #0004}}

/* Keep email entry visible on a phone without scrolling past the welcome. */
.account-actions:not(:has(button:not([hidden]))){display:none;margin:0!important}
#emailSignIn,#emailSignIn .cl-cardBox{width:100%;max-width:100%}
@media(max-width:600px){#emailSignIn .cl-card{padding:1.25rem;gap:1.25rem}#emailSignIn .cl-form{gap:1rem}#emailSignIn .cl-footer{padding:.75rem 1.25rem}#emailSignIn input{font-size:16px}}
@media(max-width:600px){body:not(:has(#workspace:not([hidden]))) main{margin:.5rem auto}#accountPanel{margin-top:1.25rem}#accountWelcome{margin:1.5rem 0 1rem}#accountWelcome h1{font-size:2.5rem;margin:.5rem 0 1rem}#accountWelcome p{font-size:1rem;margin:.5rem 0}#accountHelp{font-size:.78rem;margin-top:.8rem}#emailSignIn{margin-top:1rem}}

/* Explain the encounter and the email step without adding another gate. */
#accountWelcome{margin:2rem 0 1.25rem}
#accountWelcome h1{margin-top:0}
#accountWelcome .landing-assurance{font-size:.83rem;color:#ddc59c;margin-top:.8rem}
#accountHelp .email-explanation{font-size:.78rem;line-height:1.6;color:#bcb7ae;margin:.9rem 0}
#howItWorks{border-top:1px solid #ffffff1c;margin-top:1rem;font-size:.86rem}
#howItWorks summary{font-weight:600;color:#e8d6b6;padding:.9rem 0}
#howItWorks ol{padding-left:1.2rem;margin:.15rem 0 1rem;color:#d7d2ca}
#howItWorks li{padding:.25rem 0 .25rem .2rem}
#howItWorks p,#howItWorks small{color:#bcb7ae;font-size:.78rem}
#landingDemo{display:block;width:100%;max-height:30rem;background:#101213;border-radius:1rem;margin:1rem 0 .5rem}
@media(max-width:600px){#accountWelcome{margin:1.15rem 0 .9rem}#accountWelcome h1{font-size:2.35rem;margin-bottom:.8rem}#accountWelcome p{font-size:.95rem;line-height:1.55}#accountState{font-size:.82rem;margin:.8rem 0}.landing-assurance{line-height:1.4}#emailSignIn{margin-top:.6rem}}
