:root{--bg:#f3f6f5;--ink:#192e32;--muted:#78888b;--line:#e5ecea;--blue:#087f76;--soft:#e4f3ed;--wall:#eef3ef}body.dark{--bg:#101c23;--card:#17272e;--ink:#e7eeed;--muted:#92a7aa;--line:#2a3b41;--blue:#57c6ae;--soft:#213e3c;--wall:#102127}svg{width:22px;height:22px;display:block}button{transition:background .15s}button:hover{filter:brightness(.96)}.app-header{height:76px;padding:0 30px;background:var(--card)}.brand .mark{border-radius:13px;background:#087f76}.brand b{font-size:16px;letter-spacing:-.4px}.brand small{font-size:8px;letter-spacing:1.8px}.header-note{color:var(--muted);font-size:12px}.header-profile{padding:0;width:38px;height:38px;border-radius:50%;background:var(--soft)}.is-workspace .header-note{display:none}.is-workspace{height:100dvh;overflow:hidden}.is-workspace main{max-width:none;margin:0;padding:0;height:calc(100dvh - 76px)}.is-workspace #workspace{height:100%;padding-left:88px;position:relative}.is-workspace .workspace-head,.is-workspace footer{display:none}.is-workspace #live-area{height:100%}.live-toolbar{position:absolute;left:0;top:0;bottom:0;width:88px;display:flex;flex-direction:column;background:var(--card);border:0;border-right:1px solid var(--line);padding:24px 10px 14px}.live-toolbar nav{display:flex;flex-direction:column;width:100%;gap:14px}.live-toolbar nav button{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 4px;font-size:10px;border-radius:14px}.live-toolbar nav button svg{width:23px;height:23px}.live-toolbar nav .selected{background:var(--soft);color:var(--blue)}.sync-control{flex-direction:column;text-align:center;gap:6px}.sync-control button{padding:10px}.sync-control span{font-size:8px;line-height:1.4}.live-chat-grid{height:100%;min-height:0;border:0;border-radius:0;grid-template-columns:330px minmax(0,1fr)}.live-inbox{display:flex;flex-direction:column;padding:28px 12px 12px}.live-inbox-heading{padding:0 12px}.live-inbox-heading .eyebrow{font-size:8px;letter-spacing:1.5px}.live-inbox h2{font-size:29px;letter-spacing:-1px;margin-top:5px;display:flex;align-items:center;gap:10px}#chat-count{font-size:11px;letter-spacing:0;background:var(--soft);border-radius:20px;padding:3px 8px;color:var(--blue)}#live-new-chat{background:var(--blue);color:var(--card);border-radius:50%;padding:11px}.inbox-search{display:flex;align-items:center;background:var(--bg);margin:24px 10px 14px;padding:0 12px;border-radius:12px;color:var(--muted)}.inbox-search svg{width:18px;flex-shrink:0}.live-inbox .inbox-search input{border:0;margin:0;background:transparent;padding:12px 8px;font-size:12px}.chat-filters{display:flex;gap:6px;padding:0 10px 16px}.chat-filters button{font-size:11px;padding:6px 13px;border-radius:20px;background:var(--bg);color:var(--muted)}.chat-filters button.active{color:var(--blue);background:var(--soft)}#live-conversations{flex:1;max-height:none;overflow:auto}.live-conversation{gap:12px;padding:13px 10px;border-radius:12px;margin:2px 0;min-height:76px}.live-avatar{width:44px;height:44px;border-radius:50%;font-size:12px;background:#e6e9f5;color:#626c9b}.company-avatar{background:var(--soft);color:var(--blue)}.conversation-info{flex:1;min-width:0}.conversation-title,.conversation-preview{display:flex;align-items:center;justify-content:space-between;gap:8px}.live-conversation b{font-size:13px;max-width:none;min-width:0;font-weight:650}.conversation-title time{font-size:9px;color:var(--muted);font-weight:400;flex-shrink:0}.live-conversation small{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:5px}.unread-dot,#nav-unread{height:7px;width:7px;border-radius:50%;background:var(--blue);flex-shrink:0}.unread b{font-weight:750}.unread time{color:var(--blue)}#nav-unread{position:absolute;top:10px;right:16px}.inbox-bottom{display:flex;align-items:center;justify-content:center;gap:8px;color:var(--muted);font-size:10px;padding:18px 0 5px}.inbox-bottom svg{width:15px}.live-chat{height:100%;min-height:0;background:var(--wall);background-image:radial-gradient(var(--line) 1px,transparent 1px);background-size:24px 24px}.live-chat-heading{background:var(--card);padding:17px 26px;align-items:center;min-height:80px}.chat-heading-copy{flex:1;min-width:0}.live-chat-heading h2{font-size:15px;letter-spacing:-.3px}.live-chat-heading p{font-size:10px;margin-top:3px}.live-chat-heading button{padding:8px;color:var(--muted)}#live-messages{height:auto;min-height:0;max-height:none;padding:14px 32px 24px;flex:1}.message-day{text-align:center;margin:14px 0 22px}.message-day span{display:inline-block;background:var(--card);color:var(--muted);font-size:10px;border-radius:8px;padding:5px 12px;box-shadow:0 2px 5px #152c3010}.live-message{max-width:78%;margin:9px 0;align-items:flex-end;gap:8px}.live-message>.live-avatar{width:28px;height:28px;font-size:9px;margin-bottom:1px}.live-message.mine{margin-left:auto;justify-content:flex-end}.live-bubble{background:var(--card);margin:0;padding:10px 13px 6px;border-radius:14px 14px 14px 3px;box-shadow:0 1px 2px #153d3310;white-space:normal;min-width:90px;font-size:13px;line-height:1.6}.live-message.mine .live-bubble{background:#d9f1e5;border-radius:14px 14px 3px 14px;color:#193c34}.dark .live-message.mine .live-bubble{background:#245147;color:#e8f6ef}.message-author{font-size:10px;color:var(--blue);display:block;margin-bottom:3px}.message-text{white-space:pre-wrap;overflow-wrap:anywhere}.message-meta{display:flex;justify-content:flex-end;align-items:center;gap:5px;color:var(--muted);font-size:8px;margin-top:3px}.message-meta svg{width:13px;height:13px}.composer-wrap{padding:12px 24px 10px;background:var(--wall);position:relative}#live-message-form{display:flex;align-items:center;gap:10px;background:var(--card);border:1px solid var(--line);border-radius:30px;padding:6px;margin:0;box-shadow:0 3px 15px #102b2505}#live-message-form textarea{min-height:30px;max-height:120px;padding:5px 0;line-height:20px}#emoji-toggle{color:var(--muted);padding:8px}#live-send{border-radius:50%;padding:11px;background:#087f76;color:white}#live-send svg{width:19px;height:19px}.compose-hint{text-align:center;color:var(--muted);font-size:8px;padding-top:7px}#emoji-tray{position:absolute;bottom:90px;left:24px;display:flex;background:var(--card);border:1px solid var(--line);box-shadow:0 5px 20px #142e3218;border-radius:20px;padding:5px}#emoji-tray button{font-size:23px;padding:8px}.live-empty svg{margin:0 auto 14px;width:30px;height:30px;opacity:.5}.live-empty strong{display:block;font-size:13px;font-weight:600}.live-empty p{font-size:11px}.chat-empty{padding-top:80px}.is-workspace #workspace-status:empty,.is-workspace #live-status:empty{display:none;margin:0}.is-workspace #workspace-status:not(:empty),.is-workspace #live-status:not(:empty){position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:var(--card);border:1px solid var(--line);padding:12px 20px;border-radius:12px;z-index:30;box-shadow:0 4px 30px #142e3220;max-width:90vw}.is-workspace #live-stars{height:100%;overflow:auto;padding:36px 44px}.page-title h2{font-size:30px;margin:5px 0}.page-title p{margin:4px 0 20px;font-size:12px}.live-star-hero{display:flex;align-items:center;gap:24px;background:var(--soft);border:1px solid var(--line);border-radius:20px;padding:28px;margin:22px 0}.star-orbit{background:#fff4cc;color:#ad8126;padding:22px;border-radius:50%}.star-orbit svg{width:35px;height:35px}.live-star-hero h2{font-size:26px;margin:8px 0}.live-star-hero p{font-size:12px;margin:0}.card{border-radius:18px}.live-stars-grid h2{font-size:19px}.is-workspace .account-grid{height:100%;overflow:auto;display:block;margin:0;padding:36px 44px}.is-workspace #business-panel{max-width:900px;margin:auto}.business-picker{max-width:300px;margin-bottom:28px}.member-copy{flex:1}.member .member-actions{display:flex;gap:6px;align-items:center}.member .member-actions button{font-size:10px;padding:8px}.member-avatar{width:40px;height:40px;border-radius:50%;background:var(--soft);color:var(--blue);display:grid;place-items:center;flex-shrink:0;font-size:12px;font-weight:700}.invite-heading{display:flex;align-items:center;gap:16px;margin-top:36px;border-top:1px solid var(--line);padding-top:28px}.invite-heading>span{padding:14px;background:var(--soft);border-radius:15px}.invite-heading h2{font-size:22px;margin:0}.invite-heading p{margin:4px 0}.is-workspace #profile-panel{max-width:540px;margin:auto;overflow:hidden;padding:0 30px 28px}.profile-cover{height:90px;background:linear-gradient(120deg,#0b716a,#4da58d);margin:0 -30px}.profile-person{text-align:center;margin-top:-35px;position:relative}.profile-big-avatar{width:76px;height:76px;border:5px solid var(--card);border-radius:50%;display:grid;place-items:center;margin:auto;background:var(--soft);font-size:23px;font-weight:700;color:var(--blue)}.profile-person h2{margin:8px 0 0;font-size:25px}.profile-person p{font-size:12px;margin:4px 0 10px}.theme{margin:30px 0 0;padding:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);gap:14px}.theme>span:nth-child(2){flex:1}.theme small{display:block;font-weight:400;color:var(--muted);font-size:10px;margin-top:3px}.theme input{appearance:none;width:40px;height:24px;border-radius:20px;background:var(--line);padding:3px;border:0;cursor:pointer}.theme input:before{content:'';display:block;width:18px;height:18px;border-radius:50%;background:white;transition:transform .2s}.theme input:checked{background:#087f76}.theme input:checked:before{transform:translateX(16px)}.profile-links a,.profile-links button{display:flex;align-items:center;justify-content:space-between;width:100%;text-decoration:none;font-size:12px;padding:18px 0;color:var(--muted)}.profile-links #logout{color:#b85c5c}.profile-links svg{width:18px}.dark .live-avatar:not(.company-avatar){background:#354052;color:#c2c8ed}input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible{outline-color:#65b9a980}.is-workspace[data-live-view=team] #live-area,.is-workspace[data-live-view=profile] #live-area{height:0}
@media(max-width:1050px) and (min-width:751px){.live-chat-grid{grid-template-columns:290px minmax(0,1fr)}.live-message{max-width:90%}.live-stars-grid{grid-template-columns:1fr}}
@media(max-width:750px){.app-header{height:68px;padding:0 20px}.brand .mark{width:36px;height:36px;border-radius:11px;font-size:12px}.brand b{font-size:14px}.header-note{display:none}.is-workspace main{height:calc(100dvh - 68px)}.is-workspace #workspace{padding:0 0 calc(68px + env(safe-area-inset-bottom))}.live-toolbar{position:fixed;left:0;right:0;top:auto;bottom:0;width:auto;height:calc(68px + env(safe-area-inset-bottom));padding:4px 12px env(safe-area-inset-bottom);border:0;border-top:1px solid var(--line);z-index:20}.live-toolbar nav{flex-direction:row;justify-content:space-around;gap:2px}.live-toolbar nav button{width:70px;padding:8px 5px 6px;gap:3px;font-size:9px;border-radius:12px}.live-toolbar nav button svg{width:22px;height:22px}.sync-control{display:none!important}.live-chat-grid{grid-template-columns:1fr;min-height:0}.live-inbox{padding:20px 10px 5px}.live-inbox-heading{padding:0 12px}.live-inbox-heading .eyebrow{display:none}.live-inbox h2{font-size:29px;margin:0}.inbox-search{margin-top:20px}.live-conversation{padding:12px;min-height:76px}.live-conversation b{max-width:none;font-size:14px}.live-conversation small{font-size:12px}.conversation-title time{font-size:9px}.live-avatar{width:46px;height:46px}.inbox-bottom{padding:12px}.chat-open .app-header,.chat-open .live-toolbar{display:none}.chat-open main{height:100dvh}.chat-open #workspace{padding-bottom:0}.live-chat-heading{min-height:72px;padding:12px 14px;gap:10px}.live-chat-heading .live-avatar{width:38px;height:38px}#live-back{padding:5px 0;display:block}.live-chat-heading h2{font-size:14px}.live-chat-heading p{font-size:9px}.live-chat-heading button{padding:6px}#live-messages{padding:10px 12px 20px;max-height:none;height:auto}.live-message{max-width:89%;margin:8px 0}.live-message>.live-avatar{width:24px;height:24px;font-size:8px}.live-bubble{font-size:13px;padding:8px 11px 5px}.composer-wrap{padding:9px 10px calc(8px + env(safe-area-inset-bottom))}.compose-hint{font-size:7px}.is-workspace #live-stars,.is-workspace .account-grid{padding:24px 16px}.page-title h2{font-size:27px}.live-star-hero{padding:20px;gap:14px}.live-star-hero h2{font-size:21px}.star-orbit{padding:13px}.star-orbit svg{width:26px;height:26px}.live-star-hero .eyebrow{font-size:8px;letter-spacing:1px}.live-stars-grid{grid-template-columns:1fr}.card{padding:22px}.is-workspace #workspace-status:not(:empty),.is-workspace #live-status:not(:empty){bottom:82px;font-size:11px;min-width:230px}.member{flex-wrap:wrap;gap:10px}.member .member-actions{margin-left:auto}.member b{font-size:12px}.member p{font-size:10px}.member-avatar{width:34px;height:34px}.invite-heading h2{font-size:18px}.live-chat-grid.conversation-open .live-chat{display:flex}.live-chat{display:none}.live-chat-grid.conversation-open .live-inbox{display:none}}
#emoji-tray{display:block;width:300px;max-width:calc(100vw - 30px);padding:14px;bottom:90px}.emoji-heading{font-size:11px;color:var(--muted);margin:0 0 8px 5px}.emoji-grid{display:grid;grid-template-columns:repeat(8,1fr)}#emoji-tray button{font-size:22px;padding:5px;min-width:0}#photo-add{font-size:25px;padding:3px 6px;color:var(--muted)}#photo-preview{display:flex;gap:12px;align-items:center;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:10px;margin:0 0 10px}#photo-preview img{width:62px;height:62px;object-fit:cover;border-radius:8px}#photo-preview span{flex:1;min-width:0}#photo-preview b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}#photo-preview small{font-size:10px;color:var(--muted)}#photo-remove{font-size:24px;padding:4px 10px}.chat-photo{display:block;padding:0;margin:0 0 7px;max-width:300px;width:100%;overflow:hidden;border-radius:9px}.chat-photo img{display:block;max-width:100%;max-height:320px;min-width:100px;object-fit:contain}.message-reactions{position:relative;display:flex;align-items:center;flex-wrap:wrap;gap:4px;margin-top:5px}.message-reactions button{padding:3px 7px;border-radius:14px;background:var(--card);border:1px solid var(--line);font-size:14px;line-height:20px}.message-reactions button[aria-pressed=true]{border-color:var(--blue);background:var(--soft)}.message-reactions small{font-size:10px;color:var(--muted)}.message-reactions .add-reaction{display:flex;align-items:center;padding:3px 5px;background:transparent;color:var(--muted);border-color:transparent}.add-reaction svg{width:15px;height:15px}.add-reaction span{font-size:10px}.reaction-picker{display:flex;flex-wrap:wrap;gap:3px;width:215px;background:var(--card);padding:7px;border:1px solid var(--line);border-radius:20px;box-shadow:0 5px 15px #152e3220}.reaction-picker button{font-size:20px;border:0;padding:4px}.photo-loading{display:block;padding:20px;font-size:11px}#photo-viewer{padding:12px;max-width:95vw;max-height:95dvh;background:var(--card);color:var(--ink);border:0;border-radius:15px}#photo-viewer::backdrop{background:#071c26dd}#photo-viewer img{display:block;max-width:85vw;max-height:80dvh;object-fit:contain}#photo-close{display:block;margin-left:auto;font-size:26px} @media(max-width:750px){#live-message-form{gap:4px}.chat-photo{max-width:240px}}
/* Hold-to-react, with an iPhone-style floating reaction strip. */
.live-bubble{-webkit-touch-callout:none;user-select:none;touch-action:pan-y}.live-bubble:focus-visible{outline:2px solid var(--blue);outline-offset:4px}.message-reactions:has(>.reaction-picker[hidden]):not(:has(>button)){margin-top:0}.reaction-picker{position:fixed;z-index:80;display:flex;flex-wrap:nowrap;justify-content:space-around;gap:0;padding:8px 6px;border-radius:32px;box-shadow:0 8px 32px #142e3238;animation:reaction-pop .15s ease-out}.reaction-picker button{padding:5px;font-size:25px;line-height:30px;border-radius:50%;background:transparent}.reaction-picker button:hover,.reaction-picker button:focus-visible{background:var(--soft);transform:scale(1.15)}.reaction-active{outline:2px solid #72bba988;outline-offset:3px}@keyframes reaction-pop{from{opacity:0;transform:translateY(8px) scale(.94)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.reaction-picker{animation:none}}
/* Reactions belong below the message, outside its colored bubble. */
.message-stack{min-width:0;max-width:100%;display:flex;flex-direction:column;align-items:flex-start}.mine .message-stack{align-items:flex-end}.message-stack>.message-reactions{margin:4px 2px 0;min-height:0}.message-stack>.message-reactions:has(>.reaction-picker[hidden]):not(:has(>button)){margin:0}.message-stack>.live-bubble{max-width:100%}.live-message>.live-avatar{align-self:flex-start;margin-top:6px}.message-reactions>button{box-shadow:0 1px 3px #142e3210}.mine .message-reactions{justify-content:flex-end}
.is-workspace #live-schedule{height:100%;overflow:auto;padding:32px 36px}.schedule-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.schedule-heading>button{white-space:nowrap}.schedule-controls{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:10px}.schedule-controls>div{display:flex;align-items:center;gap:10px}.schedule-controls>div>button:first-child,.schedule-controls>div>button:nth-child(3){font-size:25px;padding:4px 12px}.schedule-controls b{font-size:14px}.schedule-controls label{margin:0;display:flex;align-items:center;gap:10px}.schedule-controls select{width:130px;margin:0}#schedule-summary{display:flex;gap:24px;padding:20px 0;color:var(--muted);font-size:12px}#schedule-summary b{font-size:20px;color:var(--ink);margin-right:4px}#schedule-days{display:grid;grid-template-columns:repeat(7,minmax(130px,1fr));gap:10px;overflow-x:auto;padding-bottom:18px}.schedule-day{background:var(--card);border:1px solid var(--line);border-radius:15px;min-height:270px;overflow:hidden}.schedule-day.today{border-color:var(--blue)}.schedule-day-heading{padding:14px;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:3px}.schedule-day-heading span{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:1px}.schedule-day-heading b{font-size:15px}.schedule-day-heading small{font-size:9px;color:var(--blue)}.day-shifts{padding:8px}.shift-card{display:block;text-align:left;width:100%;background:var(--bg);padding:12px 10px;border:1px solid var(--line);border-left:3px solid #8a9faa;border-radius:10px;margin-bottom:8px;color:var(--ink);font-size:11px}.shift-card.my-shift{background:var(--soft);border-left-color:var(--blue)}.shift-card b,.shift-card span,.shift-card small{display:block}.shift-card b{font-size:12px;margin-bottom:8px}.shift-card b small{display:inline;color:var(--blue);font-size:9px}.shift-card small{font-size:9px;font-weight:400;color:var(--muted);margin-top:5px}.shift-card p{font-size:10px;margin:9px 0;white-space:pre-wrap;overflow-wrap:anywhere}.edit-shift-label{color:var(--blue)!important}.no-shifts{font-size:11px;text-align:center;padding:20px 0;color:var(--muted)}#shift-dialog{background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:20px;padding:26px;width:540px;max-width:94vw;max-height:90dvh}#shift-dialog::backdrop{background:#102b32a0}.shift-times{display:grid;grid-template-columns:1fr 1fr;gap:12px}#shift-cancel{color:#b75555}#shift-close{font-size:24px;padding:0 8px}.live-toolbar nav{gap:8px}@media(max-width:750px){.is-workspace #live-schedule{padding:22px 16px}.schedule-heading{align-items:flex-start}.schedule-heading .page-title p{max-width:220px}.schedule-heading>button{font-size:10px;padding:10px}.schedule-controls{flex-direction:column;align-items:stretch;gap:12px}.schedule-controls>div{gap:3px;justify-content:space-between}.schedule-controls b{font-size:12px}.schedule-controls .secondary{font-size:10px;padding:8px}.schedule-controls label{justify-content:flex-end;font-size:11px}#schedule-summary{gap:12px;flex-wrap:wrap;font-size:10px}#schedule-summary b{font-size:17px}#schedule-days{display:block;overflow:visible}.schedule-day{min-height:0;margin-bottom:12px;display:grid;grid-template-columns:78px minmax(0,1fr)}.schedule-day-heading{border-bottom:0;border-right:1px solid var(--line);padding:14px 10px}.schedule-day-heading b{font-size:13px}.no-shifts{padding:6px;margin:6px}.shift-card{margin:0 0 6px}.shift-card:last-child{margin:0}.shift-times{grid-template-columns:1fr;gap:0}.live-toolbar nav button{width:61px}.live-toolbar nav{gap:0}.live-toolbar{padding-left:5px;padding-right:5px}}
#schedule-status:empty{display:none}#schedule-status{margin:10px 0}#schedule-summary{padding-top:12px}.schedule-controls{margin-top:0}
#team-sections{display:flex;align-items:center;gap:6px;height:58px;padding:10px 36px;border-bottom:1px solid var(--line);background:var(--card)}#team-sections button{padding:8px 16px;color:var(--muted);border-radius:20px}#team-sections .selected{background:var(--soft);color:var(--blue)}.is-workspace[data-live-view=stars] #live-stars{height:calc(100% - 58px)}.is-workspace[data-live-view=team] #live-area,.is-workspace[data-live-view=manage] #live-area{height:58px}.is-workspace[data-live-view=team] .account-grid,.is-workspace[data-live-view=manage] .account-grid{height:calc(100% - 58px)}body[data-live-view=team] [data-member]{display:none}.profile-back{display:block;text-align:left;padding:15px 0}.is-workspace #profile-panel .profile-cover{height:70px}#business-settings>h2{margin-top:0}#business-settings .team-branding-panel{margin-bottom:24px}.live-inbox-heading{padding-top:4px}.live-toolbar nav{gap:16px}#team-members-container:empty{display:none}@media(max-width:750px){#team-sections{padding:10px 14px;gap:4px}#team-sections button{font-size:11px;padding:8px 13px}.live-toolbar nav button{width:90px}.live-toolbar nav{justify-content:space-around;gap:6px}}
