html,body{margin:0;width:100%;height:100%;background:#eaf5f6;color:#123d46;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}body{height:var(--app-height,100dvh);display:flex;flex-direction:column;box-sizing:border-box;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}*{box-sizing:border-box}.app-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px max(18px,env(safe-area-inset-right)) 12px max(18px,env(safe-area-inset-left));background:#075161;color:#fff}.app-brand{font-size:25px;font-weight:800;color:#fff;text-decoration:none;letter-spacing:-.5px}.app-brand span{font-weight:400;font-size:16px;letter-spacing:0}.app-header nav{display:flex;gap:9px}.app-header button{font:inherit;font-size:13px;border:1px solid #ffffff70;border-radius:20px;padding:7px 12px;background:transparent;color:white;cursor:pointer}.app-header button:hover{background:#ffffff20}.app-header button:focus-visible{outline:3px solid #06cfb2}.app-status:empty{display:none}.app-status,.install-help{margin:0;padding:10px 18px;background:#fff4cf;font-size:13px}.install-help{background:#fff;max-height:32dvh;overflow:auto;flex-shrink:0}.install-help summary{cursor:pointer;font-weight:650}.install-help pre{white-space:pre-wrap;font:12px/1.5 ui-monospace,monospace;overflow-wrap:anywhere}.install-help button{font:inherit;border:1px solid #c5dce0;border-radius:8px;padding:6px 10px;background:#eaf5f6;color:#075161;cursor:pointer}main{flex:1;min-height:0;display:flex;padding:18px;max-width:1500px;width:100%;margin:auto}cohouse-chat{display:block;flex:1;min-height:0;height:100%;--chat-height:100%;--chat-radius:18px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important}@media(max-width:1023px){main{padding:0}.app-header{padding-top:10px;padding-bottom:10px}.app-brand{font-size:22px}.app-brand span{font-size:13px}.app-header nav{gap:5px}.app-header button{font-size:12px;padding:6px 9px}cohouse-chat{--chat-radius:0px}}@media(display-mode:standalone){#install-app{display:none}}
.app-header nav{flex-wrap:wrap;justify-content:flex-end;align-items:center}
.app-header nav a{font-size:13px;border:1px solid #ffffff70;border-radius:20px;padding:7px 12px;color:white;text-decoration:none;white-space:nowrap}
.app-header nav a:focus-visible{outline:3px solid #06cfb2}
.app-icon-definitions{position:absolute;width:0;height:0;overflow:hidden}
/* The conversation already provides its own title and Back navigation. */
body:has(cohouse-chat[conversation-open]) .app-header{display:none}
.install-sheet{position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:560px;max-height:calc(100dvh - 24px);overflow:auto;border:0;border-radius:24px 24px 0 0;padding:32px 24px max(24px,env(safe-area-inset-bottom));background:#fff;color:#123d46;text-align:center;box-shadow:0 -8px 40px #123d4633;font:16px/1.5 system-ui,sans-serif}
.install-sheet::backdrop{background:#07516180}
.install-sheet img{border-radius:14px}.install-sheet h2{font-size:28px;margin:16px 0 8px;color:#075161}.install-sheet p{margin:12px 0 24px}
.install-sheet button,.install-landing button{font:inherit;cursor:pointer}.install-sheet button:focus-visible,.install-landing button:focus-visible{outline:3px solid #075161;outline-offset:3px}
.install-sheet-close{position:absolute;right:8px;top:8px;width:44px;height:44px;border:0;background:transparent;color:#557783;font-size:26px!important}
.install-sheet-confirm{display:block;width:100%;min-height:48px;border:0;border-radius:8px;padding:12px;background:#00d9ae;color:#123d46;font-weight:700!important}
.install-sheet-continue{border:0;background:transparent;color:#075161;min-height:44px;margin-top:12px;text-decoration:underline}
#install-sheet-status:empty{display:none}#install-sheet-status{font-size:14px;margin:16px 0 0}
.install-landing{margin:auto;text-align:center;padding:24px;font-size:18px}.install-landing button{border:1px solid #075161;border-radius:8px;background:white;color:#075161;padding:10px 16px}
