:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#ededed;background:#17191b;color-scheme:dark;--surface:#17191b;--ink:#ededed;--panel:#222528;--line:#3b4146;--muted:#b5bbc0}*{box-sizing:border-box}body{margin:0}header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--line)}main{max-width:720px;margin:7vh auto;padding:24px}h1{font-size:clamp(28px,7vw,38px);font-weight:550;letter-spacing:-1.2px}.eyebrow{font-size:11px;letter-spacing:1.6px;color:#6bb38d}p{color:var(--muted);line-height:1.7}button{font:inherit;border:0;border-radius:999px;padding:13px 24px;background:var(--ink);color:var(--surface);cursor:pointer;min-height:44px}button:disabled{opacity:.5;cursor:wait}button:focus-visible{outline:2px solid #6bb38d;outline-offset:4px}.account,.review{border:1px solid var(--line);border-radius:22px;padding:24px;margin:18px 0;background:var(--panel);overflow-wrap:anywhere}.account h2,.review h2{font-size:20px;font-weight:550;line-height:1.4;margin:12px 0}.review img,.review video{display:block;width:100%;max-height:640px;object-fit:contain;border-radius:14px;background:var(--surface);margin:24px 0}.caption{white-space:pre-wrap;color:var(--ink);font-size:17px}dl{border-top:1px solid var(--line);padding-top:20px;line-height:1.6}dt{font-size:12px;color:var(--muted);margin-top:12px}dd{margin:3px 0 0;overflow-wrap:anywhere}.note{font-size:13px;margin-bottom:0}.back{background:transparent;color:var(--muted);padding-left:0}header button{font-size:13px;padding:9px 16px}[hidden]{display:none!important}@media(max-width:480px){main{margin:22px auto;padding:18px}.account,.review{padding:18px}header{padding:16px 18px}}

.review textarea{display:block;width:100%;min-height:100px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:12px;padding:12px;font:inherit;margin:16px 0}.review button{margin:10px 10px 0 0}.review label{display:block;margin-top:20px;line-height:1.6}.account code{display:block;overflow-wrap:anywhere;margin:16px 0}.account input{display:block;margin:16px 0;font:inherit;padding:12px;max-width:100%}

.creation input[type=file],.creation select{display:block;width:100%;max-width:100%;font:inherit;padding:12px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:12px}.creation-preview img,.creation-preview video{max-height:440px;object-fit:contain}.creation-messages{overflow-wrap:anywhere}.creation button{max-width:100%}.creation [aria-busy=true]{opacity:.8}

/* Quiet Creative Partner; authentication and operator presentation stay unchanged. */
body:has(.quiet-workspace)>header,body:has(.quiet-workspace) main>h1,body:has(.quiet-workspace) main>.eyebrow,body:has(.quiet-workspace) #message,body:has(.quiet-workspace) #back,body:has(.quiet-workspace) #reviews{display:none}
body:has(.quiet-workspace.show-shared) #reviews{display:block}
body:has(.quiet-workspace) main{max-width:720px;margin:0 auto;padding:12px 16px}
.quiet-workspace{--sage:#6bb38d;border:0;background:transparent;padding:0;margin:0;padding-bottom:calc(var(--composer-height,150px) + 36px);font-size:15px}
.workspace-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:0;background:#17191bf5;z-index:2;padding:8px 0}
.quiet-workspace button{margin:0;font-size:14px}.workspace-bar button{background:transparent;color:var(--ink);padding:10px;min-width:44px}.workspace-brand{text-align:center}.workspace-brand strong{font-size:18px;font-weight:550}.workspace-brand small{display:block;color:var(--muted);font-size:11px;margin-top:4px}
.quiet-workspace h2{text-align:center;margin:32px 0 8px}.quiet-workspace>p{text-align:center}

/* One contained composer; viewport positioning belongs to workspace.resize. */
.quiet-workspace .workspace-composer{position:fixed;bottom:calc(10px + max(var(--keyboard-offset,0px),env(safe-area-inset-bottom,0px)));left:50%;transform:translateX(-50%);width:min(688px,calc(100% - 24px));box-sizing:border-box;border:1px solid #414347;border-radius:24px;background:#292b2e;padding:5px 8px 38px;z-index:7;box-shadow:0 -18px 52px 10px #0007,0 -4px 18px #0004}
[data-theme=light] .quiet-workspace .workspace-composer{background:#f1f2f3;border-color:#d1d3d6;box-shadow:0 -18px 52px 10px #0003,0 -4px 18px #0001}
.composer-entry{display:flex;align-items:center;gap:6px}.workspace-composer textarea{flex:1;min-width:0;border:0;background:transparent;min-height:64px;height:64px;max-height:112px;margin:0;padding:12px 3px;resize:none;font-size:16px;line-height:20px}
.composer-entry button{flex-shrink:0;width:44px;height:44px;padding:0;background:transparent;color:var(--ink);font-size:25px}.composer-entry button:last-child{font-size:0;background:var(--sage);color:#17191b}.composer-entry button:last-child::after{content:'↑';font-size:25px}
.composer-controls select{font-size:12px;border:0;background:transparent;padding:6px 8px;width:100%;color:var(--muted)}
.workspace-composer [role=status]{font-size:12px;line-height:1.4;margin:4px 8px 0;max-height:52px;overflow:auto}.workspace-composer [role=status]:empty{display:none}.preview-context{font-size:11px;line-height:1.3;margin:2px 8px 5px;color:var(--muted)}
.customer-request{margin:24px 0 24px 36px;padding:14px 18px;border-radius:20px;background:#303432;white-space:pre-wrap}.customer-request summary{cursor:pointer;list-style:none}.customer-request small{display:block;color:#aeb5b0;font-size:11px;margin-top:6px}.customer-request p{color:var(--ink)}.customer-request img{max-height:140px}.assistant-message{padding:0 8px}
.prepared-post{background:#242826;border-radius:22px;overflow:hidden}.prepared-post img,.prepared-post video{margin:0;border-radius:0;max-height:440px}.prepared-post .caption,.prepared-post h3{padding:0 18px;font-size:15px}.prepared-post .caption{padding-bottom:8px}
.composer-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:6px 0}
.destination-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.destination-tile{min-width:0;background:#292d2b;color:var(--ink);border-radius:16px;padding:10px;text-align:left}.destination-tile img{height:100px;object-fit:cover;margin:0 0 10px;border-radius:10px;pointer-events:none}.destination-tile span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:1.5;margin-top:6px}
.workspace-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.workspace-actions button{background:transparent;border:1px solid var(--line);color:var(--ink);flex:1}.workspace-actions button:first-child{flex-basis:100%;background:var(--sage);color:#17191b;border:0}
.workspace-drawer{position:fixed;inset:0 auto 0 0;margin:0;width:min(340px,88vw);height:100dvh;max-height:none;border:0;background:#242826;padding:20px;color:var(--ink)}.workspace-drawer button{display:block;width:100%;text-align:left;background:transparent;color:var(--ink);border-radius:10px;padding:14px;margin-bottom:8px}.workspace-drawer button:hover{background:#363c38}.drawer-header{display:flex;align-items:center;justify-content:space-between}.drawer-header button{width:44px;font-size:24px;text-align:center}.workspace-drawer::backdrop{background:#0009;backdrop-filter:blur(4px)}
.destination-dialog{position:fixed;z-index:6;padding:0;border:1px solid var(--line);border-radius:22px;background:#222624;color:var(--ink);width:min(620px,calc(100% - 24px));top:14px;bottom:calc(var(--composer-height,150px) + var(--keyboard-offset,0px) + 28px);height:auto;max-height:none;margin:0 auto;overflow:hidden;box-shadow:0 0 0 100vmax #0009}
.destination-dialog[open]{display:flex;flex-direction:column}.destination-header,.destination-footer{flex-shrink:0;padding:10px 14px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.destination-header h2{margin:0;font-size:16px;text-align:left}.destination-header button{background:transparent;color:var(--ink);font-size:24px;padding:0;width:44px}.destination-body{overflow-y:auto;min-height:0;padding:14px;overscroll-behavior:contain}.destination-body>.note:first-child{margin:0 0 12px}.destination-footer button{background:var(--sage);width:100%}.preview-sequence{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain}.preview-sequence img,.preview-sequence video{flex:0 0 100%;width:100%;min-width:0;scroll-snap-align:start;max-height:420px;margin:0;object-fit:contain}.sequence-count{text-align:center;font-size:11px;line-height:1.4;padding:0 8px;color:var(--muted)}
.quiet-workspace.preview-open>:not(.destination-dialog):not(.workspace-composer):not(.preview-backdrop){filter:blur(4px);opacity:.3;pointer-events:none}.quiet-workspace:has(.destination-dialog[open]) .workspace-composer{box-shadow:none}
.publication-panel:not(:empty){padding:18px;background:#242826;border:1px solid var(--line);border-radius:20px}.publication-panel button{margin:8px 0}.publication-panel .caption{font-size:15px}
@media(prefers-reduced-motion:no-preference){.workspace-drawer[open]{animation:drawer-in .15s ease-out}.quiet-workspace[aria-busy=true] .workspace-composer [role=status]::before{content:'● ';animation:preparing 1s ease-in-out infinite alternate}@keyframes preparing{from{color:#788079}to{color:#6bb38d}}@keyframes drawer-in{from{transform:translateX(-100%)}to{transform:translateX(0)}}}

/* Founder phone corrections: bounded composer, original request in place. */
.quiet-workspace .workspace-composer textarea{height:60px;min-height:60px;max-height:60px;overflow-y:auto;padding:10px 3px;font-size:16px;line-height:20px;outline:none}
.quiet-workspace .workspace-composer textarea:focus{box-shadow:inset 0 -2px 0 #6bb38d;border-radius:0}
.quiet-workspace .composer-entry button{width:44px;height:44px;min-height:44px;font-size:20px;padding:0}

.quiet-workspace .destination-toggle{width:44px;height:44px;min-height:44px;padding:0;background:transparent;color:var(--muted);border:1px solid var(--line);font-size:22px}
.quiet-workspace .destination-toggle[aria-pressed=true]{color:var(--ink);background:#455149;border-color:var(--sage)}
.customer-request{margin:16px 0 16px 36px;padding:12px 16px;min-width:0}
.customer-request summary::-webkit-details-marker{display:none}
.customer-request .request-text{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.customer-request[open] .request-text{white-space:pre-wrap;overflow:visible}
.customer-request img{object-fit:contain;max-height:140px}
.assistant-message,.conversation-status:not(:empty){background:#292d2b;border-radius:18px;padding:12px 16px;margin:12px 36px 16px 0;white-space:pre-wrap;font-size:14px;line-height:1.5;color:var(--ink)}
.conversation-status:empty{display:none}
.quiet-workspace .prepared-post{padding:12px}
.quiet-workspace .prepared-post img,.quiet-workspace .prepared-post video{max-height:260px;object-fit:contain;border-radius:12px}
.quiet-workspace .prepared-post .caption{padding:0;font-size:15px}
.quiet-workspace .workspace-actions{gap:4px;margin:12px 0}
.quiet-workspace .workspace-actions button{flex:0 1 auto;border:0;min-height:44px;padding:10px 12px;font-size:13px}
.quiet-workspace .workspace-actions button:first-child{flex-basis:100%;height:46px;padding:10px 16px;font-size:15px}
.quiet-workspace .destination-header button{width:44px;height:44px;min-height:44px;border:0;outline-offset:0;font-size:22px;padding:0}
.quiet-workspace .destination-footer button{height:44px;min-height:44px;padding:10px 14px}
.destination-dialog{bottom:calc(var(--composer-height,130px) + var(--keyboard-offset,0px) + env(safe-area-inset-bottom) + 26px)}
@media(prefers-reduced-motion:no-preference){.quiet-workspace[aria-busy=true]>.conversation-status::before{content:'● ';animation:preparing 1s ease-in-out infinite alternate}}

.destination-toggle svg{width:20px;height:20px;vertical-align:middle}
.quiet-workspace .composer-entry button:last-child{font-size:0}

.quiet-workspace .creation-preview:has(.prepared-post){background:#242826;border-radius:22px;padding:12px;margin-top:16px}
.quiet-workspace .creation-preview .prepared-post{padding:0;background:transparent}
.destination-previews{margin-top:16px}.destination-previews>summary{cursor:pointer;font-size:14px;padding:12px 0;color:var(--ink)}
.quiet-workspace .creation-preview .workspace-actions{margin-bottom:0}

/* Keep platform selection compact without shrinking the touch targets. */


.quiet-workspace .destination-toggle{width:44px;height:44px;border-color:transparent;background:transparent}
.quiet-workspace .destination-toggle[aria-pressed=true]{background:transparent;color:var(--sage);border-color:transparent;box-shadow:inset 0 -2px var(--sage);border-radius:8px}
.conversation-status.save-note{background:transparent;border-radius:0;padding:0 12px;margin:4px 0 8px;font-size:11px;color:var(--muted);text-align:left}
.workspace-composer .preview-context{position:absolute;bottom:100%;left:8px;right:8px;margin:0 0 6px;text-align:center;font-size:11px;line-height:14px;white-space:nowrap}
.destination-dialog{bottom:calc(var(--composer-height,102px) + var(--keyboard-offset,0px) + env(safe-area-inset-bottom) + 44px)}


.quiet-workspace .destination-toggle:focus-visible{outline:2px solid var(--sage);outline-offset:2px}

/* Founder-selected VIS-001: neutral conversation and destination selection on post. */
.quiet-workspace{--line:#505050;--muted:#b9b9b9}
.workspace-composer,.assistant-message,.conversation-status:not(:empty),.destination-dialog,.workspace-drawer,.publication-panel:not(:empty){background:#262626;border-color:#505050}
.customer-request{background:#363636}.customer-request small{color:#b9b9b9}
.quiet-workspace .creation-preview:has(.prepared-post){background:#242424;border:1px solid #4449;padding:14px}
.destination-previews{border-top:1px solid #555;padding-top:8px;margin-top:20px}
.destination-previews>summary{font-weight:600;letter-spacing:.04em}
.destination-tile{background:#292929;border:1px solid #505050}
.destination-grid{gap:12px}.destination-tile strong{display:flex;align-items:center;gap:6px}
.destination-tile strong svg,.destination-toggle svg{width:22px;height:22px;flex-shrink:0}
.facebook-logo{color:#1877f2}.instagram-logo{color:#fff;background:linear-gradient(35deg,#ffcf55,#ef334e,#bd2da3,#6545c1);border-radius:6px;padding:2px}

.quiet-workspace .destination-toggle{display:flex;align-items:center;gap:8px;width:auto;flex:1;padding:8px 10px;border:1px solid #454545;border-radius:14px;color:var(--ink);font-size:13px}
.quiet-workspace .destination-toggle[aria-pressed=true]{background:#333;color:var(--ink);border-color:#595959;box-shadow:none}
.destination-toggle::after{content:'○';margin-left:auto}.destination-toggle[aria-pressed=true]::after{content:'✓'}
.quiet-workspace .workspace-composer textarea:focus{box-shadow:none}
.quiet-workspace button:focus-visible{outline:2px solid #ddd;outline-offset:2px}
.workspace-composer:focus-within{border-color:#aaa}
.destination-footer button{background:#ddd}.workspace-drawer button:hover{background:#363636}

.quiet-workspace .conversation-status.save-note{background:transparent}
.quiet-workspace .destination-footer{border:0;padding:10px 14px}
.quiet-workspace .destination-footer button{background:transparent;color:var(--ink);border:1px solid #666}

.destination-header h2{display:flex;align-items:center;gap:8px}.destination-header h2 svg{width:22px;height:22px;flex-shrink:0}
.quiet-workspace .destination-header button{font-size:30px;background:transparent;box-shadow:none;border:0;outline:none}
.quiet-workspace .destination-header button:focus-visible{outline:1px solid #888;outline-offset:-4px}
.destination-body>.note,.creation-preview>.note{font-size:12px;line-height:1.5;color:#a3a3a3}

.quiet-workspace .destination-header button{border:0;border-radius:0;background:transparent;box-shadow:none;color:#b9b9b9}
.destination-header button svg{display:block;width:26px;height:26px;margin:auto}
.quiet-workspace .destination-header button:focus-visible{outline:1px solid #888;outline-offset:-4px}

/* Quiet destination controls and an inset preview, retaining usable touch targets. */
.quiet-workspace .destination-toggle{border-color:#383838}
.quiet-workspace .destination-toggle[aria-pressed=true]{border-color:#464646}
.quiet-workspace .workspace-actions{justify-content:center}
.quiet-workspace .destination-header button:focus-visible{outline:none;box-shadow:inset 0 -1px #888}
.destination-dialog{--preview-inset:max(8px,calc((100dvh - var(--composer-height,102px) - var(--keyboard-offset,0px) - 58px)*.1));width:min(496px,calc((100% - 24px)*.8));top:calc(14px + var(--preview-inset));bottom:calc(var(--composer-height,102px) + var(--keyboard-offset,0px) + env(safe-area-inset-bottom) + 44px + var(--preview-inset))}
.destination-body{font-size:14px;padding:12px}.destination-header h2{font-size:14px}
.timing-summary{display:flex;flex-direction:column;gap:4px}.timing-line{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.timing-line svg{width:12px;height:12px;flex-shrink:0;color:inherit;background:none;padding:0;border-radius:0}

.assistant-history summary{list-style:none;cursor:pointer}.assistant-history summary::-webkit-details-marker{display:none}.assistant-history .assistant-text{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.assistant-history[open] .assistant-text{white-space:pre-wrap;overflow-wrap:anywhere}.assistant-history small{display:block;color:var(--muted);font-size:11px;margin-top:4px}

.conversation-history{margin:12px 0}.conversation-history>summary{color:var(--muted);font-size:12px;cursor:pointer;padding:8px 0}.conversation-history[hidden]{display:none}
.workspace-activity{position:fixed;z-index:8;left:50%;transform:translateX(-50%);width:min(660px,calc(100% - 40px));bottom:calc(var(--composer-height,102px) + var(--keyboard-offset,0px) + env(safe-area-inset-bottom) + 18px);pointer-events:none}.workspace-activity:has(.conversation-status:empty){display:none}.workspace-activity:has(.save-note){position:static;transform:none;width:auto}.workspace-activity .save-note{box-shadow:none}.workspace-activity .conversation-status{margin:0;padding:8px 12px;font-size:12px;line-height:1.4;max-height:90px;overflow:auto;pointer-events:auto;box-shadow:0 4px 16px #0005}
.quiet-workspace.preview-open>.workspace-activity{filter:none;opacity:1;pointer-events:auto}

.workspace-activity .conversation-status.save-note{box-shadow:none}

/* Compact scheduling, matching the approved manage-schedule reference. */
.destination-tile{background:linear-gradient(155deg,#343434,#2b2b2b);border-color:#414141;box-shadow:inset 0 1px #ffffff08,0 4px 10px #0004}
.quiet-workspace .conversation-toggle{display:block;background:none;border:0;color:var(--muted);font-size:12px;text-align:left;padding:8px 0;margin:8px 0}
.conversation-toggle::before{content:'▸';margin-right:6px}.conversation-toggle[aria-expanded=true]::before{content:'▾'}
.publication-panel:not(:empty){width:calc(100% - 24px);max-width:480px;margin:20px auto;padding:16px;border-color:#3d3d3d;background:#232323;box-shadow:0 5px 20px #0003;scroll-margin-top:76px}
.schedule-post-summary{display:flex;align-items:center;gap:12px;padding:10px;border:1px solid #3e3e3e;border-radius:14px;background:#282828;margin-bottom:16px}
.schedule-post-summary>img{width:76px;height:90px;object-fit:cover;border-radius:10px;flex-shrink:0}.schedule-post-summary>div{min-width:0}.schedule-post-summary .schedule-excerpt{margin:0 0 5px;font-size:13px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.schedule-post-summary small{color:var(--muted);font-size:11px}
.quiet-workspace .schedule-post-summary button{display:block;background:none;color:var(--sage);border:0;padding:6px 0;font-size:12px;min-height:32px;margin:0}
.publication-panel h3{font-size:15px;font-weight:500;margin:12px 0}.schedule-confirm-card,.schedule-state-card{padding:14px;border:1px solid #3b3b3b;border-radius:14px;background:#282828;margin:12px 0}
.schedule-time-row{display:flex;align-items:flex-start;gap:12px;margin:10px 0 16px}.schedule-time-row svg{width:21px;height:21px;flex-shrink:0;margin-top:3px}.schedule-time-row p{margin:3px 0;font-size:13px;line-height:1.5}.schedule-time-row small{font-size:11px;color:var(--muted)}
.schedule-destinations{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0;font-size:12px}.schedule-destinations span{display:flex;align-items:center;gap:6px}.schedule-destinations svg{width:18px;height:18px}
.quiet-workspace .schedule-confirm-card>button{display:block;width:100%;margin:12px 0 0;min-height:44px}.schedule-confirm-card>button:first-of-type{background:var(--sage);color:#17191b;border:0}.quiet-workspace .schedule-confirm-card .cancel-schedule{background:transparent;border:1px solid #d78074;color:#ef9c90}.schedule-confirm-card>button+button{background:none;border:0;color:var(--muted)}
.schedule-footnote{font-size:11px;text-align:center;color:var(--muted);line-height:1.5}.publication-panel>button{display:block;width:100%;min-height:44px;background:none;border:1px solid #444;color:var(--sage)}.quiet-workspace .publication-panel>.schedule-status-check{border:0;color:var(--muted);font-size:11px}

.schedule-open:has(.publication-panel:not(:empty):not([hidden]))>:not(.publication-panel):not(.workspace-composer):not(.workspace-activity):not(.destination-dialog):not(.preview-backdrop){filter:blur(3px);opacity:.35;pointer-events:none}
.schedule-open .publication-panel:not(:empty):not([hidden]){position:fixed;z-index:5;left:50%;transform:translateX(-50%);top:7dvh;bottom:calc(var(--composer-height,102px) + var(--keyboard-offset,0px) + env(safe-area-inset-bottom) + 30px);width:min(440px,calc(100% - 40px));margin:0;overflow-y:auto;overscroll-behavior:contain;box-shadow:0 0 0 100vmax #0007,0 8px 30px #0005}
.schedule-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:13px}.quiet-workspace .schedule-heading button{background:none;border:0;padding:0;width:44px;height:44px;color:#aaa}.schedule-heading svg{width:23px;height:23px}.schedule-heading button:focus-visible{outline:none;box-shadow:inset 0 -1px #888}

.timing-summary .timing-line{flex-wrap:nowrap}.timing-line>span{min-width:0}.timing-line>svg{display:inline-block}

/* Keep the history control reachable while reading the expanded conversation. */
.quiet-workspace .conversation-toggle.is-floating{position:fixed;z-index:4;top:var(--conversation-top,80px);left:max(16px,calc((100vw - 688px)/2));right:auto;width:auto;margin:0;padding:9px 13px;border-radius:18px;background:#303030;box-shadow:0 3px 12px #0005}
.schedule-post-summary{padding:8px;margin-bottom:10px;gap:10px}.schedule-post-summary>img{width:58px;height:64px;margin:0}.schedule-post-summary p{margin-top:0}.schedule-confirm-card,.schedule-state-card{padding:10px 12px;margin:8px 0}.schedule-time-row{margin:6px 0 10px;gap:9px}.schedule-destinations{margin:6px 0}.schedule-heading{margin-bottom:2px}.schedule-post-summary small{line-height:1.3}

/* VIS-004 customer drawer: saved work and existing account routes only. */
.workspace-drawer{box-sizing:border-box;width:min(360px,80vw);max-width:none;height:100dvh;max-height:100dvh;padding:24px 16px max(20px,env(safe-area-inset-bottom));border-radius:0 24px 24px 0;background:#191a1b;overflow:hidden;box-shadow:8px 0 32px #0005}
.workspace-drawer[open]{display:flex;flex-direction:column;gap:20px}
.workspace-drawer .drawer-header{flex:none;gap:12px;padding:0 4px}.drawer-header strong{font-size:22px;letter-spacing:-.4px}
.workspace-drawer svg{width:24px;height:24px;flex:none;color:#c0c3c5}
.workspace-drawer .drawer-header button{width:44px;height:44px;display:grid;place-items:center;padding:0;margin:0;border:0;background:none}
.drawer-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}.workspace-drawer button{border:0;box-shadow:none;margin:0;font-size:15px;font-weight:400;line-height:1.4}
.workspace-drawer .drawer-link{display:flex;align-items:center;gap:18px;min-height:58px;padding:14px 12px;border-radius:16px}.drawer-link>span{display:flex;flex-direction:column;gap:3px}.drawer-link small,.business-copy small{font-size:12px;color:#969a9d}
.workspace-drawer .drawer-new{background:#2a2b2c;margin-bottom:8px}.workspace-drawer .drawer-link:hover,.workspace-drawer .drawer-recent button:hover{background:#303133}
.drawer-history-home{border-top:1px solid #ffffff14;margin-top:18px;padding-top:20px}.drawer-section-header{display:flex;align-items:center;gap:8px}.workspace-drawer .drawer-section-header button{width:36px;padding:6px}.workspace-drawer h3{font-size:16px;font-weight:500;margin:6px 4px 14px;text-align:left}.drawer-history-home h3{font-size:11px;letter-spacing:1.2px;text-transform:uppercase;color:#93979b}
.workspace-drawer .drawer-recent button:nth-of-type(n+4){display:none}.workspace-drawer .drawer-history button[data-draft-id]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;border-radius:14px;padding:13px 12px;margin:3px 0;min-height:46px;background:transparent}.workspace-drawer .drawer-history button[aria-current=true]{background:#2b2c2e}
.drawer-list-hint{color:#969a9d;font-size:12px;margin:0 4px 12px}.workspace-drawer .drawer-business{flex:none;display:flex;align-items:center;gap:12px;border-top:1px solid #ffffff14;border-radius:0;padding:18px 4px 0;text-align:left}.business-avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;flex:none;background:#6bb38d;color:#182019;font-size:16px}.business-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.business-copy>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-drawer .drawer-business>svg{width:18px}
.workspace-drawer [hidden]{display:none!important}.workspace-drawer::backdrop{background:#0008;backdrop-filter:blur(3px)}

/* Balanced icon-only header controls; accessible names remain on the buttons. */
.quiet-workspace .workspace-bar{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;gap:8px}
.quiet-workspace .workspace-bar>button{display:grid;place-items:center;width:48px;height:48px;padding:9px;border:0;background:transparent;color:#b9bdc0}
.workspace-bar>button>svg{width:28px;height:28px}

/* VIS-036 screen 3: the empty customer workspace. */
.workspace-welcome{display:flex;flex-direction:column;align-items:center;text-align:center;padding:clamp(54px,13dvh,120px) 10px 34px;max-width:480px;margin:0 auto}
.welcome-sparkle{width:148px;height:98px;flex:none;margin-bottom:12px}
.quiet-workspace .workspace-welcome h2{font-size:23px;font-weight:500;line-height:1.3;letter-spacing:-.4px;margin:8px 0 14px}
.workspace-welcome>p:not(.welcome-example){font-size:15px;line-height:1.6;max-width:290px;margin:0;color:#b9bdc0}
.workspace-welcome .welcome-example{font-size:13px;line-height:1.5;padding:14px 18px;border-radius:16px;background:#242729;color:#e1e3e4;margin:26px 0 0;max-width:100%}
.workspace-drawer.is-closing::backdrop{background:transparent;backdrop-filter:none;transition:background .18s ease-out,backdrop-filter .18s ease-out}
@media(max-height:560px){.workspace-welcome{padding-top:24px}.welcome-sparkle{width:112px;height:74px}.workspace-welcome .welcome-example{margin-top:16px}}
/* Your posts: dedicated mobile list, preserving the workspace underneath. */
.quiet-workspace.posts-open > :not(.workspace-posts):not(.workspace-drawer):not(.post-retrieval){display:none!important}
.quiet-workspace .workspace-posts{max-width:560px;margin:0 auto;min-height:80dvh;padding:4px 4px 36px}
.posts-header{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;margin:0 0 22px}
.posts-header h2{text-align:center;font-size:21px;margin:0;font-weight:600}
.posts-header button{border:0;background:none;font-size:34px;padding:0;min-height:44px;color:#d1d3d3}
.posts-tabs{display:flex;border:1px solid #45474766;background:#242525;border-radius:28px;padding:3px;margin-bottom:20px}
.posts-tabs button{flex:1;border:0;background:none;color:#d7d7d7;border-radius:25px;padding:12px 2px;min-height:44px;font-size:14px}
.posts-tabs button[aria-selected=true]{background:#6bb38d;color:#151817}
.posts-hint,.posts-note{font-size:14px;color:#aeb1b2;line-height:1.5}.posts-note{font-size:12px}
.posts-list{display:grid;gap:12px}.posts-list h3{font-size:15px;color:#c6c7c7;margin:20px 0 0}
.post-list-card{display:flex;align-items:center;gap:13px;width:100%;text-align:left;border:1px solid #3a3d3e66;border-radius:17px;background:#252728;padding:9px;color:#e9e9e9;min-height:110px}
.post-list-card img{width:100px;height:100px;object-fit:cover;border-radius:11px;flex-shrink:0}
.post-list-copy{display:grid;gap:7px;min-width:0;flex:1}.post-list-copy strong{font-size:15px;font-weight:500;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.post-list-copy small{font-size:12px;line-height:1.4;color:#aeb1b2}.post-list-chevron{font-size:27px;color:#b9bcbc;padding:0 4px}
.posts-empty{color:#9fa3a5;font-size:14px;padding:24px 0}.workspace-posts>button{display:block;margin:24px auto 0;background:none;border:0;color:#b8c3b9;font-size:14px}
.quiet-workspace .post-list-card img{margin:0}
.quiet-workspace .posts-header button{font-size:34px}
.quiet-workspace .post-list-chevron{font-size:27px}
/* Ordered carousel inspection; only the media strip scrolls horizontally. */
.sequence-group{position:relative;min-width:0}
.quiet-workspace .sequence-position{position:absolute;right:12px;top:12px;padding:4px 10px;border-radius:15px;background:#17191bdb;color:#eee;font-size:12px;pointer-events:none;line-height:1.5}
.sequence-dots{display:flex;justify-content:center;flex-wrap:wrap;gap:0;margin:2px 0}
.quiet-workspace .sequence-dot{width:28px;min-height:30px;padding:0;background:transparent;border:0;display:grid;place-items:center}
.sequence-dot::after{content:'';width:7px;height:7px;background:#5c6061;border-radius:50%}
.sequence-dot[aria-current=true]::after{background:#6bb38d}
.sequence-thumbnails{display:flex;gap:8px;overflow-x:auto;padding:3px 2px 7px;overscroll-behavior-x:contain}
.quiet-workspace .sequence-thumbnail{flex:0 0 58px;width:58px;height:58px;min-height:58px;padding:2px;background:transparent;border:1px solid transparent;border-radius:9px}
.quiet-workspace .sequence-thumbnail[aria-current=true]{border-color:#6bb38d;background:#6bb38d22}
.quiet-workspace .sequence-thumbnail img{display:block;width:100%;height:100%;margin:0;border-radius:6px;object-fit:cover}
.quiet-workspace .sequence-group .sequence-count{margin:0 0 9px;font-size:12px;color:#aaa}
.quiet-workspace .preview-sequence:focus-visible{outline:1px solid #6bb38d;outline-offset:2px}
@media(prefers-reduced-motion:reduce){.preview-sequence{scroll-behavior:auto}}

/* Reference scheduling confirmation: neutral panel, calendar rows and soft sage action. */
.schedule-question{font-size:15px;line-height:1.5;margin:18px 4px}
.quiet-workspace .schedule-confirm-card>button:first-of-type:not(.cancel-schedule){background:#6bb38d;color:#121812;border-radius:13px}
.schedule-time-row svg{stroke-linejoin:round;flex-shrink:0}
.schedule-open .publication-panel:not(:empty):not([hidden]){top:auto;max-height:calc(86dvh - var(--composer-height,102px) - var(--keyboard-offset,0px) - env(safe-area-inset-bottom) - 30px)}

.schedule-confirmed-icon{display:inline-grid;place-items:center;width:24px;height:24px;margin-right:9px;border-radius:50%;background:#6bb38d;color:#142014;font-size:16px}

.quiet-workspace .scheduled-badge{width:100%;box-sizing:border-box;background:#6bb38d;color:#152016;border-radius:16px;padding:13px 18px;text-align:center}
.scheduled-badge strong,.scheduled-badge small{display:block}.scheduled-badge strong{font-size:18px;font-weight:600}.scheduled-badge small{font-size:11px;margin-top:3px;color:#354b35}
.quiet-workspace .workspace-actions .post-status-link{display:block;margin:8px auto;background:transparent;border:0;color:#b9bdbc;font-size:12px;min-height:44px;width:auto}
.quiet-workspace .conversation-status.status-toast{color:#dbc28e;background:#302a20;border:1px solid #947645;border-radius:12px;padding:10px 14px}

.quiet-workspace .post-status-link{scroll-margin-bottom:calc(var(--composer-height,102px) + 24px)}

/* Official branding and the customer sign-in surface. */
.brand-wordmark{display:block;width:174px;height:auto;max-width:100%;margin:auto}.drawer-header .brand-wordmark{width:205px;margin:0}.workspace-welcome img.welcome-sparkle{width:82px;height:72px;object-fit:contain}
#auth-brand{display:none}.auth-screen>header{display:none}.auth-screen main{min-height:100svh;max-width:520px;margin:0 auto;padding: max(28px,env(safe-area-inset-top)) 28px max(44px,env(safe-area-inset-bottom));display:flex;flex-direction:column;justify-content:center;background:radial-gradient(ellipse at 50% 40%,#1d2021 0,transparent 70%)}
.auth-screen #auth-brand{display:block;text-align:center;margin:auto 0 48px}.auth-screen h1{margin:0 0 18px}.auth-screen h1 img{display:block;width:100%;height:auto}.auth-tagline{font-size:clamp(18px,4.8vw,24px);line-height:1.4;margin:0}.auth-credit{font-size:14px;margin:26px 0 0}.auth-screen #message{font-size:13px;text-align:center;line-height:1.5;margin:0 0 18px}.auth-screen #login{display:flex;align-items:center;justify-content:center;gap:16px;border-radius:16px;background:#6bb38d;color:#101511;font-size:18px;min-height:56px;width:100%;margin-bottom:12vh}.auth-screen #login svg{width:32px;height:32px;background:white;border-radius:50%;padding:5px;box-sizing:content-box}.auth-screen #clients:empty,.auth-screen #reviews:empty,.auth-screen #detail:empty{display:none}
.auth-screen:has(.auth-verification) #login{display:none}.auth-screen:has(.auth-verification) #auth-brand{margin:28px 0}.auth-screen .auth-verification{background:#242424;border:1px solid #ffffff16;margin:0 0 auto;text-align:center;padding:24px}.auth-verification h2{font-size:21px}.auth-verification input{width:100%;text-align:center;letter-spacing:8px;font-size:24px;border-radius:12px;background:#191b1c;color:#ededed;border:1px solid #ffffff30;min-height:56px}.auth-verification button{display:block;width:100%;margin-top:12px;background:#6bb38d;color:#101511}.auth-verification button:last-child{background:transparent;color:#b5bbc0}.auth-verification code{font-size:15px;user-select:all}.auth-screen:has(.auth-verification) main{justify-content:flex-start}
@media(max-height:550px){.auth-screen #auth-brand{margin:20px 0}.auth-screen #login{margin-bottom:20px}}

/* Existing membership list, presented only when a business choice is needed. */
.business-chooser>header{max-width:620px;margin:auto;border:0;padding:28px 24px;gap:24px}.business-chooser>header .brand-wordmark{margin:0;width:180px}.business-chooser>header button{background:transparent;color:var(--muted);padding:8px}.business-chooser main{max-width:560px;margin:8vh auto;padding:24px}.business-chooser #message{font-size:15px;margin:0 0 28px}.business-chooser #clients h1{font-size:27px;letter-spacing:-.5px;margin:0 0 24px}.business-choice{display:flex;align-items:center;gap:16px;width:100%;text-align:left;padding:20px;margin:12px 0;background:#252628;color:var(--ink);border:1px solid #ffffff12;border-radius:18px}.business-choice .business-avatar{flex-shrink:0;width:44px;height:44px;font-size:16px}.business-choice-name{flex:1;overflow-wrap:anywhere;font-size:17px}.business-choice-arrow{font-size:28px;color:var(--muted)}.business-choice:hover{background:#2d2e30}

/* Compact header: official outlined wordmark, no secondary tagline. */
.quiet-workspace .workspace-bar{padding:2px 0}.workspace-bar .brand-wordmark{width:184px;max-height:30px;object-fit:contain;margin:0 auto;background:transparent;border-radius:0}
.workspace-activity>button{pointer-events:auto;margin-top:8px}.workspace-activity:has(>button:not([hidden])){display:block}
.crop-choices{display:flex;gap:8px;justify-content:center;margin:12px 0}.crop-choices[hidden]{display:none}.crop-choices button{font-size:13px;padding:8px 12px;border:1px solid #ffffff20;border-radius:18px;background:#292929;color:var(--ink)}
.crop-choices button[aria-pressed=true]{border-color:#6bb38d;color:#6bb38d}

/* One transient notice: three seconds readable, then a gentle dissolve. */
.quiet-workspace .status-toast{opacity:1;transition:opacity 1200ms ease}
.quiet-workspace .status-toast.is-dissolving{opacity:0;pointer-events:none}
.quiet-workspace .notice-recovery{font-size:.875rem;color:var(--muted,#b7babb)}
.quiet-workspace .notice-recovery summary{cursor:pointer}
@media(prefers-reduced-motion:reduce){.quiet-workspace .status-toast{transition:none}}

.quiet-workspace .notice-recovery{scroll-margin-bottom:calc(var(--composer-height,102px) + var(--keyboard-offset,0px) + 24px)}
.quiet-workspace .notice-recovery button{background:#9bb9ca;color:#17242c;border:1px solid #9bb9ca;min-height:44px}
.quiet-workspace .notice-recovery button:hover{background:#acc7d5}
.quiet-workspace .notice-recovery button:focus-visible{outline:2px solid #c8dfeb;outline-offset:3px}

/* Expanded recovery is anchored above the composer, not scrolled into place. */
.quiet-workspace .notice-recovery[open]{position:fixed;z-index:9;left:50%;transform:translateX(-50%);bottom:calc(var(--composer-height,102px) + var(--keyboard-offset,0px) + env(safe-area-inset-bottom) + 18px);width:min(620px,calc(100% - 40px));box-sizing:border-box;max-height:calc(100dvh - var(--composer-height,102px) - var(--keyboard-offset,0px) - 110px);overflow:auto;padding:16px;background:#262626;border:1px solid #434343;border-radius:18px;box-shadow:0 8px 28px #0006;animation:recovery-rise 500ms cubic-bezier(.2,.7,.2,1) both}
.quiet-workspace:has(.notice-recovery[open]) .workspace-activity{visibility:hidden}
@keyframes recovery-rise{from{opacity:0;transform:translate(-50%,24px)}to{opacity:1;transform:translate(-50%,0)}}
@media(prefers-reduced-motion:reduce){.quiet-workspace .notice-recovery[open]{animation:none}}
/* Compact post rhythm without changing media framing or action hierarchy. */
.quiet-workspace .prepared-post .caption{margin:8px 0 12px}
.quiet-workspace .sequence-dots{margin:0}
.quiet-workspace .sequence-dot{min-height:24px}
.quiet-workspace .destination-previews{margin-top:12px;padding-top:4px}
.quiet-workspace .destination-previews>summary{padding:8px 0}
.quiet-workspace .workspace-actions{margin:8px 0;row-gap:2px}
.quiet-workspace .workspace-actions button:not(:first-child){min-height:36px;padding:6px 12px}
.quiet-workspace .crop-choices{margin:6px 0;gap:8px}
.quiet-workspace .crop-choices button{min-height:36px;padding:5px 12px;border-radius:14px}

.auth-screen #login{margin-bottom:12px}.auth-screen #switch-account{width:100%;min-height:48px;margin:0 0 12vh;background:transparent;color:#d6dfd3;border:1px solid #687064;border-radius:16px}.auth-screen:has(.auth-verification) #switch-account{margin-bottom:16px}

.working-indicator{display:flex;align-items:center;gap:10px;padding:10px 14px;margin-bottom:8px;border-radius:18px;background:#252a27;color:#e5eee5;font-size:13px;box-shadow:0 4px 16px #0005}.working-indicator[hidden]{display:none}.working-dots{display:flex;gap:5px}.working-dots span{width:6px;height:6px;border-radius:50%;background:#6bb38d;animation:working-pulse 1.2s ease-in-out infinite}.working-dots span:nth-child(2){animation-delay:.16s}.working-dots span:nth-child(3){animation-delay:.32s}.workspace-activity:has(.working-indicator:not([hidden])){display:block}@keyframes working-pulse{0%,70%,100%{opacity:.35;transform:translateY(0)}35%{opacity:1;transform:translateY(-3px)}}@media(prefers-reduced-motion:reduce){.working-dots span{animation:none;opacity:1}}

/* Customer polish: restrained boundaries and the official emblem green. */

.quiet-workspace .workspace-composer:focus-within{border-color:#6bb38d66}
.quiet-workspace .composer-entry button:last-child{background:#6bb38d;color:#17251e}
.workspace-drawer .drawer-business-choice{display:flex;align-items:center;gap:12px;background:#ffffff06;border:1px solid #ffffff0c;border-radius:14px;padding:12px;margin:8px 0;text-align:left}
.workspace-drawer .drawer-business-choice[aria-current=true]{opacity:1;background:#ffffff0c;border-color:#6bb38d55}
.drawer-business-choice .business-avatar{width:36px;height:36px;font-size:13px}
.post-swipe-row{position:relative;overflow:hidden;border-radius:14px;touch-action:pan-y}
.post-swipe-row .post-list-card{position:relative;z-index:1;transition:transform .15s;background:#262626}
.post-swipe-row .draft-delete{position:absolute;right:0;top:0;bottom:0;width:84px;margin:0;background:#8f3838;color:#fff;border-radius:0 14px 14px 0}
@media(prefers-reduced-motion:reduce){.post-swipe-row .post-list-card{transition:none}}

.business-avatar{overflow:hidden}.business-avatar img{width:100%;height:100%;object-fit:cover;margin:0;border-radius:50%}
.business-profile-row{margin:8px 0}.business-profile-row .drawer-business-choice{width:100%;margin:0}
.workspace-drawer .profile-upload-button{background:transparent;color:#adb7b0;font-size:12px;padding:8px 12px;margin:0 0 0 48px;width:auto;text-align:left}
.profile-upload-status{font-size:12px;color:#bbb;margin:0 12px 8px;line-height:1.4}

/* Settings and motion refinement: one brand green, stable card geometry. */
:root{--brand:#6bb38d;--settings-panel:#242729}
.quiet-workspace{--sage:var(--brand)}
.post-swipe-row .post-list-card,.post-swipe-row.delete-revealed .post-list-card{width:100%;padding-right:16px;transform:translateX(var(--swipe-x,0px));transition:transform .2s cubic-bezier(.2,.7,.2,1)}
.post-swipe-row.delete-revealed .post-list-card{transform:translateX(var(--swipe-x,-96px))}
.post-swipe-row.is-swiping .post-list-card{transition:none}
.post-swipe-row{overflow:visible}.workspace-posts{overflow-x:clip}
.post-swipe-row .draft-delete{width:84px;top:8px;bottom:8px;padding:0 10px;border-radius:20px;background:linear-gradient(150deg,#d95662,#bc3648);color:#fff;border:1px solid #8e2c3b;box-shadow:inset 0 1px 1px #ffffff30,inset 0 -2px 3px #70152533;font-size:14px;font-weight:600;display:grid;place-items:center}
.quiet-workspace .workspace-bar>button,.workspace-drawer .drawer-header>button,.workspace-drawer .drawer-settings-button{background:transparent!important;border:0;border-radius:0;box-shadow:none;outline:none;-webkit-tap-highlight-color:transparent}
.quiet-workspace .workspace-bar>button:focus-visible,.workspace-drawer .drawer-header>button:focus-visible,.workspace-drawer .drawer-settings-button:focus-visible{outline:none;box-shadow:inset 0 -2px var(--brand)}
.drawer-footer{display:flex;align-items:center;gap:8px;border-top:1px solid #ffffff14;padding-top:12px;flex:none}
.workspace-drawer .drawer-footer .drawer-business{border:0;padding:4px 0;min-width:0;flex:1}
.workspace-drawer .drawer-settings-button{width:44px;height:44px;flex:none;padding:10px}
.workspace-settings section{padding:16px 0;border-bottom:1px solid #ffffff12}.workspace-settings h4{font-size:14px;margin:0 0 12px;font-weight:500}.workspace-settings p{font-size:12px;line-height:1.5;margin:8px 0}
.workspace-settings .appearance-options{display:flex;gap:6px}.workspace-settings .appearance-options button{width:auto;flex:1;padding:10px 6px;text-align:center;background:var(--settings-panel);border-radius:12px}
.workspace-settings .appearance-options button[aria-pressed=true],.workspace-settings section>button:not(:disabled){background:var(--brand);color:#14251b;border:1px solid #487c60;box-shadow:inset 0 1px 1px #ffffff30,inset 0 -2px 2px #0002}
.workspace-settings .settings-notifications{opacity:.65;cursor:default;padding:0;min-height:24px;font-size:14px}
.workspace-settings input[type=text]{width:100%;font:inherit;color:var(--ink);background:var(--settings-panel);border:1px solid var(--line);border-radius:12px;padding:12px;margin-top:10px}
.workspace-settings label{font-size:14px;margin:0}.workspace-settings .profile-upload-button{margin:8px 0;padding:10px 0;color:var(--ink)}
.workspace-settings .business-avatar{width:64px;height:64px}.workspace-settings .business-avatar img{margin:0}
.profile-crop-dialog{width:min(430px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;border:1px solid var(--line);border-radius:24px;padding:24px;background:var(--panel);color:var(--ink)}
.profile-crop-dialog::backdrop{background:#0009;backdrop-filter:blur(6px)}
.profile-crop-dialog h2{font-size:21px;margin:0}.profile-crop-dialog p{font-size:13px;line-height:1.5}
.profile-crop-dialog canvas{display:block;width:100%;height:auto;aspect-ratio:1;touch-action:none;border-radius:16px;cursor:grab}
.profile-crop-dialog canvas:active{cursor:grabbing}.profile-crop-dialog input[type=range]{display:block;width:100%;margin:22px 0;accent-color:var(--brand)}
.profile-crop-dialog>div{display:flex;gap:10px}.profile-crop-dialog button{flex:1;padding:12px 8px;border-radius:14px}.profile-crop-dialog button:last-child{background:var(--brand);color:#14251b;box-shadow:inset 0 1px #ffffff30,inset 0 -2px #0002}.profile-crop-dialog button:first-child{background:transparent;color:var(--ink);border:1px solid var(--line)}
.quiet-workspace .notice-recovery button{background:var(--brand);border-color:var(--brand);color:#14251b}.quiet-workspace .notice-recovery button:hover{background:#79bf9b}
.posts-tabs button[aria-selected=true],.quiet-workspace .composer-entry button:last-child{background:var(--brand);box-shadow:inset 0 1px 1px #ffffff30,inset 0 -2px 2px #0002}
:root[data-theme=light]{color-scheme:light;color:#1d2c23;background:#f5f7f5;--surface:#f5f7f5;--ink:#1d2c23;--panel:#fff;--line:#d1dad4;--muted:#54645a;--settings-panel:#edf1ee}
[data-theme=light] .brand-wordmark,[data-theme=light] #auth-brand h1 img{content:url('/static/smart-socials-wordmark-light.svg?v=20261107')}
[data-theme=light] .workspace-bar{background:#f5f7f5f5}
[data-theme=light] .workspace-drawer,[data-theme=light] .destination-dialog,[data-theme=light] .publication-panel:not(:empty),[data-theme=light] .auth-verification{background:#fff;border-color:#d1dad4;color:var(--ink)}
[data-theme=light] .assistant-message,[data-theme=light] .conversation-status:not(:empty),[data-theme=light] .post-list-card,[data-theme=light] .business-choice,[data-theme=light] .drawer-new,[data-theme=light] .drawer-business-choice,[data-theme=light] .schedule-post-summary,[data-theme=light] .schedule-confirm-card,[data-theme=light] .schedule-state-card,[data-theme=light] .crop-choices button{background:#edf1ee;border-color:#d1dad4;color:var(--ink)}
[data-theme=light] .drawer-link:hover,[data-theme=light] .drawer-recent button:hover,[data-theme=light] .drawer-business-choice[aria-current=true]{background:#e2eae5}
[data-theme=light] .workspace-drawer svg,[data-theme=light] .workspace-bar>button,[data-theme=light] .drawer-list-hint,[data-theme=light] .drawer-link small,[data-theme=light] .business-copy small,[data-theme=light] .drawer-history-home h3,[data-theme=light] .post-list-status,[data-theme=light] .post-list-copy small,[data-theme=light] .posts-hint,[data-theme=light] .posts-note,[data-theme=light] .posts-tabs button,[data-theme=light] .destination-toggle,[data-theme=light] .schedule-heading button{color:var(--muted)}
[data-theme=light] .drawer-footer,[data-theme=light] .drawer-history-home,[data-theme=light] .workspace-settings section{border-color:var(--line)}
[data-theme=light] .posts-tabs{background:#e3eae5;border-color:var(--line)}[data-theme=light] .posts-tabs button[aria-selected=true]{color:#14251b}
[data-theme=light] .workspace-composer textarea{color:var(--ink)}
[data-theme=light] .auth-screen main{background:none}[data-theme=light] .auth-verification input{background:var(--surface);color:var(--ink);border-color:var(--line)}
[data-theme=light] .workspace-welcome h2,[data-theme=light] .post-list-copy strong,[data-theme=light] .workspace-posts h2,[data-theme=light] .destination-body .caption{color:var(--ink)}
@media(prefers-reduced-motion:reduce){.post-swipe-row .post-list-card{transition:none}}
[data-theme=light] .quiet-workspace{--line:#d1dad4;--muted:#54645a}
[data-theme=light] .workspace-welcome>p:not(.welcome-example){color:var(--muted)}
[data-theme=light] .workspace-welcome .welcome-example,[data-theme=light] .customer-request,[data-theme=light] .destination-tile,[data-theme=light] .quiet-workspace .creation-preview:has(.prepared-post){background:#edf1ee;border-color:var(--line);color:var(--ink)}
[data-theme=light] .customer-request small,[data-theme=light] .posts-header button{color:var(--muted)}
[data-theme=light] .destination-previews{border-color:var(--line)}
.quiet-workspace .workspace-actions button:first-child,.auth-screen #login,.auth-verification button:not(:last-child){box-shadow:inset 0 1px 1px #ffffff30,inset 0 -2px 2px #0002}
@media(prefers-reduced-motion:reduce){.post-swipe-row .post-list-card,.post-swipe-row.delete-revealed .post-list-card{transition:none}}

[data-theme=light] .profile-upload-status{color:var(--muted)}
[data-theme=light] .quiet-workspace .destination-toggle{background:#edf1ee;color:var(--ink);border-color:var(--line)}
[data-theme=light] .quiet-workspace .destination-toggle[aria-pressed=true]{background:#dcece2;color:var(--ink);border-color:var(--brand)}
[data-theme=light] .quiet-workspace .conversation-toggle.is-floating{background:#edf1ee;color:var(--ink)}
[data-theme=light] .destination-body>.note,[data-theme=light] .creation-preview>.note,[data-theme=light] .quiet-workspace .destination-header button{color:var(--muted)}
[data-theme=light] .crop-choices button[aria-pressed=true]{color:#254733;border-color:var(--brand)}
.profile-crop-dialog canvas:focus-visible{outline:2px solid var(--brand);outline-offset:2px}

/* Motion and compact publication hierarchy. */
.quiet-workspace{padding-bottom:calc(var(--composer-height,150px) + var(--activity-height,0px) + 36px);transition:padding-bottom .48s cubic-bezier(.22,.68,.18,1)}
.quiet-workspace .workspace-activity,.quiet-workspace .workspace-activity:has(.save-note){position:fixed;transform:translateX(-50%);width:min(660px,calc(100% - 40px));display:block}
.working-indicator{font-size:15px;padding:12px 16px}.working-dots{gap:6px}.working-dots span{width:8px;height:8px}
.quiet-workspace .creation-preview>.timing-summary{text-align:center}
.quiet-workspace .creation-preview:has(.prepared-post){padding-bottom:6px}
.quiet-workspace .crop-choices{margin:18px 0 8px}
.quiet-workspace .workspace-actions button,.quiet-workspace .publication-panel button{font-weight:700;font-size:16px}
.quiet-workspace .workspace-actions button:first-child{font-size:17px;border-radius:20px;transition:background-color .65s ease,box-shadow .65s ease,opacity .65s ease}
.quiet-workspace .workspace-actions button:first-child:enabled{box-shadow:inset 0 1px 1px #ffffff50,0 0 16px #6bb38d24}
.quiet-workspace button.is-preparing{background:linear-gradient(120deg,#697a70 25%,#c3d6c9 44%,#697a70 62%)!important;background-size:250% 100%!important;background-clip:text!important;-webkit-background-clip:text!important;color:transparent!important;opacity:1;animation:preparation-sheen 2.2s ease-in-out infinite}
@keyframes preparation-sheen{from{background-position:140% 0}to{background-position:-80% 0}}
.quiet-workspace .caption-toggle{background:transparent;border:0;color:var(--muted);font-size:12px;padding:8px 0;min-height:36px}.caption-content .caption{white-space:pre-wrap}
.quiet-workspace .destination-header button:focus:not(:focus-visible){box-shadow:none;outline:none}.quiet-workspace .destination-header button:focus-visible{box-shadow:none;outline:2px solid var(--sage);outline-offset:0}
.schedule-open .publication-panel:not(:empty):not([hidden]){top:4dvh;bottom:auto;max-height:calc(92dvh - var(--composer-height,102px) - var(--keyboard-offset,0px));background:#202422;padding:10px 14px 16px}
.schedule-heading{margin:0 0 4px}.quiet-workspace .schedule-heading button{height:34px;min-height:34px}
.schedule-post-summary,.schedule-confirm-card,.schedule-state-card{background:#2c312e;border-color:#414b45;box-shadow:0 4px 14px #0003;border-radius:18px}
.schedule-time-row small{opacity:.7;font-style:italic}
.quiet-workspace .schedule-confirm-card>button{margin:22px 0 10px;min-height:48px;border-radius:20px!important}
.quiet-workspace .scheduled-badge{border-radius:23px}.scheduled-badge strong,.publication-panel .schedule-state-card h3{font-size:20px;font-weight:750}
.schedule-destinations{display:flex;flex-direction:column;gap:8px;min-width:0;width:100%}
.schedule-destinations .destination-line,.destination-line{display:flex;align-items:center;gap:7px;min-width:0;max-width:100%;white-space:nowrap;overflow:hidden;font-size:13px;text-align:left}
.destination-line>strong,.destination-line>svg{flex-shrink:0}.destination-line>svg{width:18px;height:18px}.destination-line .destination-name{display:block;min-width:0;overflow:hidden;white-space:nowrap;color:var(--muted);font-weight:400;mask-image:linear-gradient(to right,#000 calc(100% - 18px),transparent);padding-right:18px}
[data-theme=light] .schedule-open .publication-panel:not(:empty):not([hidden]){background:#e3eae5}
[data-theme=light] .schedule-post-summary,[data-theme=light] .schedule-confirm-card,[data-theme=light] .schedule-state-card{background:#f9fbf9;box-shadow:0 4px 14px #233a2012}
.posts-tabs{position:relative;isolation:isolate}.posts-tabs:before{content:'';position:absolute;z-index:-1;left:3px;top:3px;bottom:3px;width:calc((100% - 6px)/3);background:#6bb38d;border-radius:25px;transform:translateX(calc(var(--selected-tab,0)*100%));transition:transform .36s cubic-bezier(.22,.9,.3,1.08);box-shadow:inset 0 1px 1px #ffffff30,inset 0 -2px 2px #0002}
.quiet-workspace .posts-tabs button[aria-selected=true]{font-weight:750;background:transparent;box-shadow:none}
.post-swipe-row .post-swipe-action{position:absolute;right:0;top:8px;bottom:8px;width:84px;margin:0;padding:0 8px;border-radius:20px;background:linear-gradient(150deg,#7bbd9a,#579a78);color:#14251b;border:1px solid #477a60;box-shadow:inset 0 1px 1px #ffffff30;font-size:14px;font-weight:700}
@media(prefers-reduced-motion:reduce){.quiet-workspace,.posts-tabs:before,.quiet-workspace .workspace-actions button:first-child{transition:none}.quiet-workspace button.is-preparing{animation:none}}
.destination-tile .destination-line{display:flex;-webkit-line-clamp:unset;-webkit-box-orient:initial;margin-top:6px;line-height:1.5}.destination-tile .destination-line .destination-name{display:block;-webkit-line-clamp:unset;-webkit-box-orient:initial;margin:0;line-height:1.5}
.working-indicator{box-sizing:border-box;overflow:hidden}
/* Stable platform slots, neutral slate surfaces and compact caption controls. */

.quiet-workspace .creation-preview:has(.prepared-post){background:#202123;border-color:#3e4043}
.schedule-open .publication-panel:not(:empty):not([hidden]){background:#202123;border-color:#414347;overscroll-behavior:contain}
.schedule-post-summary,.schedule-confirm-card,.schedule-state-card{background:#2b2d30;border-color:#414347}
.working-indicator{background:#292b2e}.caption-rail{position:relative;display:flex;align-items:center;min-height:30px}
.quiet-workspace .caption-rail .caption-toggle{display:flex;align-items:center;gap:5px;padding:3px 0;min-height:30px;font-style:italic;font-weight:400;font-size:11px;color:#a7a9ad;z-index:1}
.caption-rail .sequence-dots{position:absolute;left:50%;transform:translateX(-50%);width:auto;margin:0!important}.caption-chevron{font-style:normal;font-size:15px}
.destination-dialog{outline:none}.quiet-workspace .destination-header button{outline:none!important;box-shadow:none!important}.quiet-workspace .destination-header button:focus-visible{outline:1px dotted #a7a9ad!important;outline-offset:-6px}
.quiet-workspace:has(.prepared-post){padding-bottom:calc(var(--composer-height,150px) + 140px)}
[data-theme=light] .quiet-workspace .creation-preview:has(.prepared-post),[data-theme=light] .schedule-open .publication-panel:not(:empty):not([hidden]){background:#e4e5e7;border-color:#cdd0d3}
[data-theme=light] .schedule-post-summary,[data-theme=light] .schedule-confirm-card,[data-theme=light] .schedule-state-card,[data-theme=light] .destination-tile{background:#f3f4f5;border-color:#d0d2d5}
[data-theme=light] .caption-rail .caption-toggle{color:#62666c}

/* Immediate photo previews and conversational hierarchy. */
.creation-preview.upload-strip{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;padding:8px 0}
.creation-preview.upload-strip>img{flex:0 0 100%;min-width:0;width:100%;height:260px;object-fit:contain;scroll-snap-align:start;margin:0;border-radius:16px}
.quiet-workspace .assistant-message,.quiet-workspace .customer-request{box-sizing:border-box;position:relative;width:70%;max-width:70%;margin:14px auto 16px 0;overflow-wrap:anywhere}
.quiet-workspace .customer-request{margin-left:auto;margin-right:0}
.quiet-workspace .assistant-message:before,.quiet-workspace .customer-request:before{content:'';position:absolute;bottom:12px;left:-6px;width:14px;height:14px;background:inherit;transform:rotate(45deg);border-radius:3px}
.quiet-workspace .customer-request:before{left:auto;right:-6px}
.quiet-workspace .latest-reply{animation:reply-arrive .28s ease-out}
@keyframes reply-arrive{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
.quiet-workspace .creation-preview>.timing-summary{opacity:.45}
.quiet-workspace button.is-preparing{background:#7b9b88!important;color:#25372d!important;background-clip:border-box!important;-webkit-background-clip:border-box!important;box-shadow:none!important;opacity:1;animation:none}
.quiet-workspace button.is-preparing .preparing-label{background:linear-gradient(135deg,#25372d 30%,#e2eee6 48%,#25372d 66%);background-size:260% 100%;background-clip:text;-webkit-background-clip:text;color:transparent;animation:preparation-sheen 2.2s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){.quiet-workspace .latest-reply,.quiet-workspace button.is-preparing .preparing-label{animation:none}}

/* Phone composer and media workflow refinement. */
.creation-preview.upload-strip>.upload-slot{position:relative;flex:0 0 100%;height:260px;scroll-snap-align:start;background:#25272a;border-radius:16px;overflow:hidden;display:grid;place-items:center}
.upload-slot>img{width:100%;height:100%;object-fit:contain;margin:0}.photo-placeholder{position:absolute;inset:0;display:grid;place-items:center;color:var(--ink);opacity:.1;font-size:14px}.photo-placeholder[hidden]{display:none}

.quiet-workspace button.is-preparing .preparing-label{animation-duration:3.8s}
.quiet-workspace .destination-previews .crop-choices{margin:12px 0 4px}
.quiet-workspace .assistant-message:before,.quiet-workspace .customer-request:before{border-radius:3px 3px 6px 3px}
.workspace-actions{position:relative}.publish-unavailable{position:absolute;z-index:8;bottom:calc(100% + 10px);left:0;right:0;padding:12px 16px;border-radius:16px;background:#36383c;color:#eee;box-shadow:0 5px 20px #0005;font-size:13px;animation:reply-arrive .2s ease-out}.publish-unavailable p{margin:0 0 8px}.quiet-workspace .publish-unavailable button{font-size:13px;min-height:32px;padding:5px 12px}

.photo-crop-dialog canvas{height:auto!important;max-height:55dvh;object-fit:contain;touch-action:none}.photo-crop-dialog{max-height:90dvh;overflow:auto}.photo-order{display:flex;gap:8px;overflow-x:auto;margin-top:12px;padding:6px 0}.photo-order button{flex:0 0 56px;width:56px;padding:3px;touch-action:none;background:#383b40;cursor:grab}.photo-order img{width:50px;height:54px;object-fit:cover;margin:0;pointer-events:none}.photo-order .is-dragging{opacity:.65;transform:scale(1.05);cursor:grabbing}.quiet-workspace .conversation-toggle{background:#425e50;color:#dceae2;border-color:#64816f}.conversation-history{overflow-anchor:none}

.quiet-workspace .conversation-toggle{opacity:.95}.quiet-workspace .assistant-message,.quiet-workspace .customer-request{width:var(--bubble-width,75%);max-width:80%;min-width:70%}

.quiet-workspace{overflow-anchor:none}

/* Five-column reorder grid; held photo follows the pointer above its moving neighbours. */
.quiet-workspace .photo-order{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;overflow:visible;padding:6px 0}
.quiet-workspace .photo-order button{width:100%;min-width:0;min-height:0;aspect-ratio:1;padding:3px;border-radius:12px;touch-action:none}
.photo-order img{width:100%;height:100%;aspect-ratio:1;object-fit:cover;border-radius:9px}
.quiet-workspace .photo-order .is-dragging{opacity:.18;transform:none}
.photo-drag-ghost{z-index:10000;pointer-events:none;padding:3px;border:0;border-radius:12px;background:#383b40;box-shadow:0 8px 22px #0006;will-change:transform;margin:0}
.photo-drag-ghost img{width:100%;height:100%;object-fit:cover;border-radius:9px;margin:0}

.quiet-workspace .conversation-toggle,.quiet-workspace .conversation-toggle.is-floating{padding:5px 16px;min-height:0;line-height:20px;border-radius:999px;background:#425e50;color:#dceae2;opacity:.95}

/* Retrieval and review share the visible space above the composer. */

.quiet-workspace .composer-entry{align-items:flex-start}.quiet-workspace .composer-entry>button{margin-top:3px}.quiet-workspace .composer-entry textarea{padding-top:13px}
.schedule-open .publication-panel:not(:empty):not([hidden]){top:var(--panel-middle,45dvh);bottom:auto;transform:translate(-50%,-50%);max-height:var(--panel-space,70dvh);box-sizing:border-box;animation:review-arrive .4s ease-out}
@keyframes review-arrive{from{opacity:0}to{opacity:1}}
.post-retrieval{position:fixed;z-index:20;left:50%;top:45dvh;transform:translate(-50%,-50%);padding:16px 24px;border-radius:24px;background:#7b9b88;white-space:nowrap}
.post-retrieval .preparing-label{background:linear-gradient(135deg,#25372d 30%,#e2eee6 48%,#25372d 66%);background-size:260% 100%;background-clip:text;-webkit-background-clip:text;color:transparent;animation:preparation-sheen 3.8s ease-in-out infinite}
.quiet-workspace.is-retrieving>:not(.post-retrieval):not(.workspace-bar){visibility:hidden!important}.quiet-workspace.is-retrieving>.post-retrieval{display:block!important}
.post-retrieval[hidden]{display:none}.workspace-activity .conversation-status{box-sizing:border-box;overflow:hidden}

@media(prefers-reduced-motion:reduce){.post-retrieval .preparing-label,.schedule-open .publication-panel:not(:empty):not([hidden]){animation:none}}

/* Align the attachment glyph with the composer text baseline. */
.workspace-composer .composer-entry>button:first-child{transform:translateY(-4px)}

/* Final phone polish: preserve the attachment target while enlarging its glyph. */
.quiet-workspace .composer-entry>button:first-child{font-size:25px}
.schedule-time-row p{margin:0;line-height:1.25}
.schedule-time-row small{display:block;line-height:1.2;margin-top:1px}
.quiet-workspace .caption-rail .caption-toggle{justify-content:flex-start;text-align:left;flex:0 0 auto;white-space:nowrap;margin:0;overflow:visible}
.caption-chevron{flex:none;display:inline-flex;align-items:center;justify-content:center;width:14px;height:20px;line-height:1}

/* Light-mode history and consistently fitted reorder thumbnails. */
[data-theme=light] .workspace-drawer .drawer-history button[aria-current=true],
[data-theme=light] .workspace-drawer .drawer-recent button:hover{background:#e4e6e9}
.quiet-workspace .photo-order>button{position:relative;overflow:hidden;margin:0;padding:0;aspect-ratio:1;align-self:start}
.quiet-workspace .photo-order>button>img,.photo-drag-ghost>img{position:absolute;inset:3px;width:calc(100% - 6px);height:calc(100% - 6px);max-height:none;margin:0;display:block;object-fit:cover;border-radius:9px}
[data-theme=light] .quiet-workspace .photo-order>button,[data-theme=light] .photo-drag-ghost{background:#cfd2d7}

/* Plans overview: compact hierarchy from VIS-034; existing composer untouched. */
.quiet-workspace.plans-open > :not(.workspace-plans):not(.plans-return-drawer){display:none!important}
.quiet-workspace .workspace-plans{max-width:460px;margin:0 auto;padding:4px 0 20px}
.plans-header{position:relative;display:flex;align-items:center;justify-content:center;min-height:52px;margin-bottom:14px}
.quiet-workspace .plans-header h2{font-size:17px;font-weight:650;letter-spacing:-.3px;margin:0}
.quiet-workspace .plans-header button{position:absolute;left:-7px;padding:0;width:44px;font-size:29px;background:transparent;color:var(--ink)}
.plan-summary,.plan-balance,.plan-links{background:#24272b;border:1px solid #353a40;border-radius:17px;box-shadow:0 3px 12px #0002;overflow:hidden}
.plan-summary{padding:19px 18px 14px}.plan-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.plan-heading h3{margin:0;font-size:20px;font-weight:700;letter-spacing:-.4px}
.plan-badge{font-size:11px;font-weight:550;color:var(--muted);background:#ffffff08;padding:5px 9px;border-radius:99px;white-space:nowrap}.plan-badge.is-active{background:#6bb38d1c;color:#8bcca9}.plan-badge.is-active:before{content:'✓';margin-right:4px}
.plan-summary .plan-price{margin:10px 0 2px;line-height:1.25;color:var(--ink);font-size:19px}.plan-price strong{font-weight:700}.plan-price span{font-weight:500}.plan-summary .plan-included{margin:0;font-size:12px;line-height:1.5;color:var(--muted)}
.plan-summary .plan-tax{border-top:1px solid var(--line);padding-top:11px;margin:13px 0 0;font-size:11px;line-height:1.4;color:var(--muted)}
.plan-balance{margin-top:12px;padding:0 15px}.plan-balance-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:14px 0}.plan-balance-row+.plan-balance-row{border-top:1px solid var(--line)}.plan-balance-row span{font-size:13px;font-weight:500}.plan-balance-row small{display:block;font-size:10px;line-height:1.5;color:var(--muted);margin-top:4px}.plan-balance-row strong{font-size:17px;line-height:1.25;font-weight:650;white-space:nowrap}.plan-balance-row:last-child small{color:#8bcca9}
.plan-order{font-size:10px;margin:9px 3px 13px;line-height:1.4;color:var(--muted)}.quiet-workspace .plan-topup{width:100%;border-radius:12px;background:var(--sage);color:#11241a;font-size:14px;font-weight:700;min-height:45px;padding:11px 12px;box-shadow:inset 0 1px 1px #ffffff30,0 2px 8px #0002}.quiet-workspace .plan-topup:disabled{opacity:.65;cursor:default}
.plan-purchase-note{text-align:center;font-size:10px;margin:7px 0 18px;line-height:1.4}.plan-links{padding:0 12px}.quiet-workspace .plan-links button{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;padding:10px 2px;background:transparent;color:var(--ink);border-radius:0;font-size:12px;font-weight:500;text-align:left}.plan-links button+button{border-top:1px solid var(--line)}.plan-links svg{width:18px;height:18px;color:var(--muted)}.plan-chevron{margin-left:auto;color:var(--muted);font-size:20px}.plan-links button:disabled{opacity:.6;cursor:default}.plan-message{font-size:11px;line-height:1.6;text-align:center;margin:15px 8px 0;color:var(--muted)}.quiet-workspace .plan-retry{display:block;margin:8px auto 0;background:transparent;color:var(--ink);font-size:12px;padding:8px 16px}
[data-theme=light] .plan-summary,[data-theme=light] .plan-balance,[data-theme=light] .plan-links{background:#fff;border-color:#dce0e4;box-shadow:0 3px 12px #00000006}[data-theme=light] .plan-badge{background:#eef0f2}[data-theme=light] .plan-badge.is-active{background:#e3f0e9;color:#31674b}[data-theme=light] .plan-balance-row:last-child small{color:#42755a}

.quiet-workspace.plans-open{padding-bottom:env(safe-area-inset-bottom,0px)}

body:has(.plans-open){overflow-x:clip}

/* Founder morning refinements: diffuse neutral shadow and Settings-only picture edit. */

.quiet-workspace .composer-entry>button:first-child{font-size:28.75px}
.workspace-drawer:not([data-page=settings]) .profile-upload-button{display:none}
.workspace-drawer .workspace-settings .profile-upload-button{background:transparent;color:var(--ink);border-radius:10px;padding:10px 12px;margin-left:-12px}
[data-theme=light] .workspace-drawer .workspace-settings .profile-upload-button:hover{background:#e4e6e9}

/* Quieter secondary actions and softly dismissible destination previews. */
.quiet-workspace .destination-body .caption{font-size:13.5px;line-height:1.45}
.quiet-workspace .workspace-actions .post-secondary-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:14px;font-weight:400;min-height:44px;color:var(--muted)}
.post-secondary-action svg{width:16px;height:16px;flex:none}
.preview-backdrop{display:none;position:fixed;inset:0;z-index:5;background:#0009;touch-action:none}
.preview-open>.preview-backdrop{display:block}
.quiet-workspace .destination-dialog{box-shadow:0 14px 45px #0004}

/* Return reveals a stationary drawer, without a second entrance animation. */
.workspace-drawer.returning-from-plans[open],.workspace-drawer.plans-return-drawer[open]{animation:none}
.plans-return-drawer{z-index:1;pointer-events:none}
.plans-open>.workspace-plans{position:relative;z-index:2;background:var(--surface);min-height:100dvh}
.workspace-drawer .drawer-link:focus:not(:focus-visible){outline:none;box-shadow:none}
.workspace-drawer .drawer-link:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.quiet-workspace .plan-topup,.quiet-workspace .plan-topup:disabled{background:var(--brand);color:#14251b;opacity:1}
.plan-badge.is-active,[data-theme=light] .plan-badge.is-active{background:color-mix(in srgb,var(--brand) 18%,transparent);color:var(--brand)}
.plan-balance-row:last-child small,[data-theme=light] .plan-balance-row:last-child small{color:var(--brand)}

.workspace-drawer .drawer-settings-button{width:48px;height:48px;padding:10px;display:grid;place-items:center}
.workspace-drawer .drawer-settings-button svg{width:28px;height:28px;overflow:visible}
/* A quiet, business-scoped photo library; media remains outside the conversation. */
.photo-library,.library-viewer{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:100%;height:100dvh;max-width:760px;max-height:100dvh;border:0;border-radius:0;background:var(--surface);color:var(--ink);padding:0;overflow:auto;overscroll-behavior:contain;}
.photo-library[open],.library-viewer[open]{display:flex;flex-direction:column;}
.photo-library::backdrop,.library-viewer::backdrop{background:rgba(12,16,20,.7)}
.photo-library header,.library-viewer header{display:flex;align-items:center;gap:16px;padding:calc(14px + env(safe-area-inset-top)) 18px 12px;flex-shrink:0;}
.photo-library header button,.library-viewer header button{background:none;border:0;font-size:30px;min-width:44px;min-height:44px;}
.photo-library h2{font-size:23px;margin:0;font-weight:700}.photo-library header small{opacity:.6}.library-info,.library-status{margin:6px 22px;font-size:14px;}.library-status:empty{display:none}.library-content{padding:0 16px 20px;flex:1}.library-content h3{font-size:15px;font-weight:600;margin:22px 4px 10px;}
.library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;}.library-photo{position:relative;aspect-ratio:1;min-width:0;}.library-photo>button:first-child{padding:0;display:block;width:100%;height:100%;border:0;border-radius:12px;overflow:hidden;background:var(--surface-2,var(--surface));}.library-photo img{display:block;width:100%;height:100%;object-fit:cover}.library-photo [aria-pressed=true]{outline:3px solid var(--brand);outline-offset:-3px}.library-badge{position:absolute;top:7px;right:7px;display:grid;place-items:center;min-width:23px;height:23px;background:var(--brand);color:#10271b;border-radius:50%;font-size:13px;font-weight:700}.library-badge:empty{background:#20252b44;box-shadow:inset 0 0 0 1.5px #fff9}.library-photo .library-expand{position:absolute;bottom:0;right:0;width:44px;height:44px;border:0;background:linear-gradient(135deg,transparent,#0009);color:white;font-size:25px;border-radius:0 0 12px 0;padding:0;}
.photo-library footer{position:sticky;bottom:0;padding:16px 20px calc(16px + env(safe-area-inset-bottom));background:var(--surface);box-shadow:0 -12px 32px #0002;}.photo-library footer button{width:100%;background:var(--brand);color:#10271b;border:0;border-radius:24px;min-height:48px;font-weight:700;font-size:16px}.photo-library>button{margin:12px 20px;}.photo-library button:disabled{opacity:.5}.library-viewer header{justify-content:space-between}.library-photo-stage{flex:1;min-height:0;display:grid;place-items:center;overflow:hidden;touch-action:none;}.library-photo-stage img{width:100%;height:100%;min-height:0;object-fit:contain;user-select:none}.library-viewer input{margin:20px 24px;accent-color:var(--brand)}.library-viewer-actions{display:flex;justify-content:space-evenly;gap:10px;padding:12px 18px calc(20px + env(safe-area-inset-bottom));}.library-viewer-actions button{min-height:44px;border-radius:22px;}.attachment-choices{border:0;border-radius:24px;padding:20px;background:var(--surface);color:var(--ink);max-width:340px;width:calc(100% - 48px)}.attachment-choices[open]{display:grid;gap:12px}.attachment-choices button{min-height:48px;border-radius:24px}.photo-crop-dialog p[role=alert]:empty{display:none}
@media(prefers-reduced-motion:no-preference){.photo-library[open],.library-viewer[open]{animation:library-enter 350ms ease-out}@keyframes library-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}}

.photo-library header button,.library-viewer header button{color:var(--ink)}

.photo-library header{justify-content:flex-start}.photo-library header>div{flex:1}.library-viewer-actions button{padding:10px 16px;font-size:14px}

/* Quiet feedback and clear horizontal browsing. */
.quiet-workspace .conversation-status.status-toast{color:var(--ink);background:var(--panel);border:1px solid var(--line);box-shadow:0 4px 16px #0002;}
.quiet-workspace .conversation-status.save-note{display:none}
.quiet-workspace .attachment-choices{position:absolute;bottom:calc(100% + 12px);left:0;margin:0;display:grid;gap:8px;width:min(320px,calc(100vw - 40px));padding:14px;border:1px solid var(--line);border-radius:22px;box-shadow:0 10px 36px #0003;z-index:12;}
.quiet-workspace .attachment-choices button{background:var(--panel);color:var(--ink);font-size:15px;min-height:46px;}
.quiet-workspace .attachment-choices button:last-child{background:transparent;color:var(--muted)}
.photo-library:focus{outline:none}
body:has(.photo-crop-dialog[open]) .library-viewer-actions,body:has(.photo-crop-dialog[open]) .photo-library footer{visibility:hidden}
.is-carousel .preview-sequence{gap:8px;padding-right:28px;scrollbar-width:none;}
.is-carousel .preview-sequence>img,.is-carousel .preview-sequence>video{flex-basis:100%;width:100%;}
.preview-sequence::-webkit-scrollbar,.creation-preview.upload-strip::-webkit-scrollbar{display:none}
.creation-preview.upload-strip{scrollbar-width:none;}
.creation-preview.upload-strip:has(.upload-slot:nth-child(2))>.upload-slot{flex-basis:calc(100% - 32px)}
.quiet-workspace .upload-position{margin:2px 8px 8px;text-align:right;font-size:12px;line-height:1.4;color:var(--muted);opacity:.75;}
.quiet-workspace .sequence-position{background:#17191b99;font-size:11px;font-weight:400;padding:3px 8px;}

.post-retrieval .loading-spinner{display:inline-block;width:18px;height:18px;margin-right:10px;vertical-align:middle;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:loading-spin 1.1s linear infinite}
.photo-library[aria-busy="true"] .library-content{pointer-events:none;opacity:.7}
@keyframes loading-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.post-retrieval .loading-spinner{animation:none}}

.upload-slot{position:relative}.photo-loading{position:absolute;inset:0;display:grid;place-items:center;padding:16px;background:var(--panel);color:var(--muted);font-size:13px;text-align:center}

.library-upload-progress{position:fixed;bottom:calc(env(safe-area-inset-bottom) + 120px);left:50%;transform:translateX(-50%);z-index:45;max-width:85vw;padding:10px 16px;border-radius:18px;background:var(--surface-raised,#30343b);color:var(--ink);box-shadow:0 6px 24px #0002;font-size:13px;pointer-events:none}

.library-remove{display:block;margin:16px auto;background:transparent;color:var(--muted);font-size:13px}
/* Touch-return focus should not draw browser-blue rings on media or drawer shells. */
.workspace-drawer:focus,.photo-crop-dialog:focus{outline:none}
.quiet-workspace .preview-sequence [tabindex],.quiet-workspace .preview-sequence,.quiet-workspace .photo-order button{outline:none;-webkit-tap-highlight-color:transparent}
.quiet-workspace .preview-sequence [tabindex]:focus-visible,.quiet-workspace .preview-sequence:focus-visible,.quiet-workspace .photo-order button:focus-visible{outline:2px solid var(--brand);outline-offset:-3px}
.workspace-drawer{-webkit-tap-highlight-color:transparent}

/* Keep library upload progress clear of the attachment menu and composer. */
.library-upload-progress{top:calc(env(safe-area-inset-top) + 78px);bottom:auto;background:var(--panel);max-width:calc(100vw - 32px);font-size:12px}

.plan-consent{margin-top:18px;padding:18px;border-radius:18px;background:var(--panel);font-size:.9rem;line-height:1.5}.plan-consent label{display:flex;gap:10px;align-items:flex-start}.plan-consent input{width:auto;flex:none}.plan-consent button{margin-top:14px}

/* Billing consent: clear checkout hierarchy and quiet, touch-friendly decline. */
.quiet-workspace .plan-consent{border:1px solid var(--line);box-shadow:0 8px 24px #0002}
.quiet-workspace .plan-consent .plan-checkout{display:block;width:100%;min-height:48px;padding:13px 18px;border:1px solid #dce2e8;border-radius:16px;background:#e8edf2;color:#20262d;font-size:16px;font-weight:700;line-height:1.35;box-shadow:inset 0 1px 0 #fff8,0 3px 10px #0002}
.quiet-workspace .plan-consent .plan-checkout:disabled{opacity:.45;cursor:default}
.quiet-workspace .plan-consent .plan-decline{display:block;width:100%;min-height:44px;margin:6px 0 0;padding:10px 6px;border:0;background:transparent;box-shadow:none;color:var(--muted);font-size:13px;font-weight:400;text-decoration:underline;text-underline-offset:3px;line-height:1.45}
[data-theme=light] .quiet-workspace .plan-consent .plan-checkout{background:#303840;border-color:#303840;color:#fff}

/* Expand in document flow without programmatic viewport scrolling. */
.quiet-workspace .plan-consent{box-sizing:border-box;overflow:hidden;overflow-anchor:none}
.quiet-workspace .workspace-plans{overflow-anchor:none}

/* Approved consent motion; soft brand halo and separation from billing links. */
.quiet-workspace .plan-consent{margin-bottom:18px}
.quiet-workspace .plan-consent .plan-checkout{box-shadow:inset 0 1px 0 #fff8,0 3px 10px #0002,0 0 18px 3px color-mix(in srgb,var(--brand) 28%,transparent)}

/* Scoped to active existing-account MFA; leave workspace and normal login intact. */
.auth-screen:has(.auth-verification) main{justify-content:flex-start;padding-top:12px;min-height:0}
.auth-screen:has(.auth-verification) #auth-brand{margin:8px 0 14px}
.auth-screen:has(.auth-verification) #auth-brand h1{margin:0}
.auth-screen:has(.auth-verification) #auth-brand h1 img{width:180px;max-width:65%;height:auto}
.auth-screen:has(.auth-verification) .auth-tagline,.auth-screen:has(.auth-verification) .auth-credit{display:none}
.auth-screen:has(.auth-verification) #message{margin:0 0 10px}
.auth-screen:has(.auth-verification) #switch-account{margin:0 0 10px;min-height:40px;padding:8px}
.auth-screen .auth-verification{padding:16px;margin:0;background:var(--panel);color:var(--ink)}
.auth-screen .auth-verification h2{font-size:20px;margin:0 0 12px}
.auth-screen .auth-verification input{font-size:20px;min-height:48px;scroll-margin-top:12px}
.auth-screen .auth-verification button{min-height:44px;padding:10px 16px}

.onboarding-welcome{width:min(100%,480px);margin:0 auto;padding:26px 22px calc(28px + env(safe-area-inset-bottom));color:var(--ink)}
.onboarding-badge{display:inline-flex;border:1px solid var(--line);border-radius:999px;padding:9px 14px;font-size:13px;color:var(--brand,#6bb38d);margin:0 0 30px;background:var(--panel)}
.onboarding-welcome h1{font-size:36px;line-height:1.1;letter-spacing:-1px;margin:0 0 16px;max-width:340px}
.onboarding-intro{font-size:18px;line-height:1.5;color:var(--muted);margin:0 0 28px}
.onboarding-next{padding:23px;border:1px solid var(--line);border-radius:22px;background:var(--panel);box-shadow:0 14px 35px #0002}
.onboarding-eyebrow{font-size:11px;letter-spacing:1.6px;color:var(--muted);margin:0 0 20px}
.onboarding-next h2{font-size:23px;line-height:1.25;margin:0 0 12px;letter-spacing:-.3px}
.onboarding-next p:not(.onboarding-eyebrow){font-size:15px;line-height:1.6;color:var(--muted)}
.onboarding-action{display:flex;align-items:center;justify-content:center;min-height:52px;width:100%;border:0;border-radius:15px;background:var(--brand,#6bb38d);color:#101511;font-size:16px;font-weight:650;text-decoration:none;padding:14px 16px;margin-top:24px;box-shadow:inset 0 1px 1px #ffffff35,inset 0 -2px 2px #0002}
.onboarding-timing{font-size:13px;line-height:1.6;text-align:center;color:var(--muted);margin:25px 10px 18px}
.onboarding-receipt{display:block;text-align:center;font-size:13px;color:var(--muted);text-underline-offset:4px;padding:12px}
.onboarding-business{text-align:center;font-size:12px;color:var(--muted);margin:24px 0 0}
@media(prefers-reduced-motion:no-preference){.onboarding-welcome{animation:onboarding-arrive .5s ease-out}@keyframes onboarding-arrive{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}}

/* Recovery controls retain the existing wordmark appearance. */
.workspace-bar button.workspace-brand{background:transparent;border:0;padding:0;box-shadow:none;min-width:0;width:auto;cursor:pointer}
.workspace-refresh-hint{position:absolute;top:100%;left:50%;transform:translateX(-50%);white-space:nowrap;padding:8px 14px;border-radius:20px;background:var(--surface,#fff);color:var(--ink,#334155);font-size:14px;box-shadow:0 3px 14px #0002;pointer-events:none}

/* Ordinary swipes scroll; only a deliberate hold picks up a photo. */
.photo-order button,.quiet-workspace .photo-order button{touch-action:auto;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.photo-order::before{content:attr(data-hint);grid-column:1/-1;font-size:12px;color:var(--muted);line-height:1.5}
.photo-drag-ghost{outline:2px solid #6bb38d;outline-offset:2px}

/* Soft swipe reveal with vertically stacked, accessible actions. */
.post-swipe-row.has-stacked-actions .post-list-card{min-height:120px}
.post-swipe-row .post-list-card,.post-swipe-row.delete-revealed .post-list-card{transition:transform .46s cubic-bezier(.22,.8,.2,1);transform:translateX(var(--swipe-x,0px))}
.post-swipe-row.delete-revealed .post-list-card{transform:translateX(var(--swipe-x,-116px))}
.post-swipe-row.is-swiping .post-list-card{transition:none}
.post-swipe-actions{position:absolute;inset:6px 0 6px auto;width:104px;display:flex;flex-direction:column;gap:6px;opacity:0;transform:scale(.94);transform-origin:right center;transition:opacity .25s ease,transform .46s cubic-bezier(.22,.8,.2,1);pointer-events:none}
.post-swipe-row.delete-revealed .post-swipe-actions,.post-swipe-row.is-swiping .post-swipe-actions{opacity:1;transform:scale(1)}
.post-swipe-row.delete-revealed .post-swipe-actions{pointer-events:auto}
.post-swipe-row .post-swipe-actions>button{position:static;flex:1;width:100%;min-height:44px;margin:0;padding:6px 10px;border-radius:16px;font-size:13px;line-height:1.2}
@media(prefers-reduced-motion:reduce){.post-swipe-row .post-list-card,.post-swipe-row.delete-revealed .post-list-card,.post-swipe-actions{transition:none}}

.support-dialog .support-full-report>button{width:auto;min-height:44px;background:transparent;color:var(--ink);padding:8px 0;text-align:left;text-decoration:underline;box-shadow:none}

/* Show the exact prepared photograph at its own ratio, without a padded fixed-height box. */
.quiet-workspace .prepared-post .preview-sequence>img,.preview-sequence>img{height:auto;max-height:none;align-self:flex-start}

.boost-trigger{margin:12px 0;border:1px solid var(--sage);background:transparent;color:var(--ink);border-radius:18px;padding:10px 20px}.boost-trigger[hidden]{display:none}.boost-dialog{width:min(420px,calc(100% - 32px));border:1px solid #505050;border-radius:22px;background:#262626;color:var(--ink);padding:24px;box-sizing:border-box}.boost-dialog::backdrop{background:#0009;backdrop-filter:blur(4px)}.boost-dialog h2{font-size:21px;margin:0 0 16px}.boost-dialog p{line-height:1.5}.boost-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:20px}.boost-actions button:first-child{background:transparent;color:var(--ink);border:1px solid #505050}

/* Publication outcomes use one Details surface; temporary work keeps the existing indicator. */
.notification-bell{position:relative;width:44px;height:44px;padding:10px;background:transparent;color:var(--ink)}
.notification-bell svg{width:24px;height:24px}.notification-dot{position:absolute;right:8px;top:6px;width:7px;height:7px;border-radius:50%;background:#82b5ff}.notification-dot[hidden]{display:none}
.notification-drawer{border-radius:24px 0 0 24px!important;left:auto!important;right:0!important;margin-left:auto!important;transform-origin:right center}.notification-drawer[open]{animation:notification-enter .3s ease-out}.notification-list{padding:20px;overflow-y:auto}.notification-drawer .notification-item{display:flex;flex-direction:column;align-items:flex-start;gap:7px;text-align:left;width:100%;padding:18px;margin-bottom:12px;border:1px solid #555;background:transparent;color:var(--ink);border-radius:16px}.notification-item.is-unread{border-left:3px solid #82b5ff}.notification-item small{opacity:.75}
.publication-details-dialog{max-height:85dvh;overflow-y:auto;box-shadow:0 18px 70px #0008}.publication-detail-row{padding:14px 0;border-bottom:1px solid #555}.publication-detail-row h3{font-size:16px;margin:0 0 8px}.publication-detail-row small,.publication-detail-row a{display:block;margin-top:10px}.publication-detail-row a{color:#9ac4ff}.publication-details-dialog .boost-actions{flex-wrap:wrap}
.post-swipe-row.has-detail-action .post-list-card{min-height:166px}.post-swipe-row.delete-revealed .post-list-card{transform:translateX(var(--swipe-x,116px))}.post-swipe-actions{inset:6px auto 6px 0;transform-origin:left center}.post-swipe-actions .post-details-action{background:#2761a0;color:#fff}.post-details-action small{display:block;font-size:10px;margin-top:3px}.post-swipe-actions button:disabled{opacity:.4}.post-details-action.needs-attention{box-shadow:inset 0 0 0 2px #add0ff}
[data-theme=light] .publication-details-dialog{background:#fff;color:#242424}[data-theme=light] .notification-item{color:#242424;border-color:#cbd1d8}[data-theme=light] .publication-detail-row{border-color:#d9dfe6}
@keyframes notification-enter{from{transform:translateX(100%)}to{transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){.notification-drawer[open]{animation:none}}

[data-theme=light] .publication-detail-row a{color:#245b91}

.publication-details-dialog{position:fixed;padding-top:48px}.publication-details-dialog .publication-dismiss{position:absolute;right:10px;top:8px;width:40px;height:40px;padding:0;background:transparent;color:inherit;font-size:28px;line-height:1;border:0;border-radius:0;box-shadow:none}.publication-details-dialog .boost-actions{display:flex;gap:12px}.publication-details-dialog .boost-actions>button{flex:1 1 0;min-width:0;padding:12px 8px;text-align:center}

/* Manual suggestions: three quiet position dots, no automatic cycling. */
.composer-hint-carousel{touch-action:pan-y;user-select:none;min-height:48px;display:flex;align-items:center;justify-content:center;text-align:center}.composer-hint-dots{display:flex;justify-content:center;gap:0;margin-top:4px}.composer-hint-dots[hidden]{display:none}.workspace-welcome .composer-hint-dots .composer-hint-dot{position:relative;width:32px;min-width:32px;height:32px;min-height:32px;padding:0;margin:0;border:0;border-radius:0;box-shadow:none;background:transparent;color:inherit}.composer-hint-dot:after{content:'';position:absolute;left:13px;top:13px;width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.28;transition:opacity .2s}.composer-hint-dot[aria-pressed=true]:after{opacity:.85}
.post-swipe-row.delete-revealed .post-list-card{transform:translateX(var(--swipe-x,-116px))}.post-swipe-actions{inset:6px 0 6px auto;transform-origin:right center}
.notification-drawer.is-closing{animation:notification-exit .26s cubic-bezier(.4,0,.8,.2) forwards}.notification-drawer.is-closing::backdrop{animation:notification-backdrop-exit .26s ease forwards}
@keyframes notification-exit{from{transform:translateX(0)}to{transform:translateX(100%)}}@keyframes notification-backdrop-exit{to{background:transparent;backdrop-filter:blur(0)}}
@media(prefers-reduced-motion:reduce){.notification-drawer.is-closing,.notification-drawer.is-closing::backdrop{animation:none}.composer-hint-dot:after{transition:none}}

.composer-hint-swipe-area{touch-action:pan-y;width:100%;box-sizing:border-box}.workspace-welcome .composer-hint-dots .composer-hint-dot{width:24px;min-width:24px}.composer-hint-dot:after{left:9px}
/* The adjacent Help and Bug actions remain flat in either appearance. */
.workspace-drawer .workspace-settings section:has(>button+button)>button:not(:disabled){box-shadow:none;background-image:none}
.workspace-drawer .workspace-settings section:has(>button+button)>button+button{margin-top:12px}

/* Welcome emblem: directional edge light, soft halo and grounded depth. */
.welcome-emblem-tile{position:relative;isolation:isolate;display:grid;place-items:center;flex:none;width:124px;height:124px;margin:0 0 22px;border-radius:50%;background:linear-gradient(145deg,#33383b 0%,#24272b 48%,#1c1f22 100%);box-shadow:inset 0 1px 1px #ffffff42,inset 1px 0 1px #ffffff12,0 16px 30px -12px #0009,0 4px 10px #0003}
.welcome-emblem-tile::before{content:'';position:absolute;z-index:-1;inset:-42px;border-radius:50%;filter:blur(12px);background:radial-gradient(ellipse at 40% 32%,#b6c9cf18,transparent 68%);pointer-events:none}
.workspace-welcome .welcome-emblem-tile img.welcome-sparkle{width:70px;height:70px;margin:0;object-fit:contain;background:transparent;border-radius:0;box-shadow:none;filter:drop-shadow(0 2px 3px #0003)}
[data-theme=light] .welcome-emblem-tile{background:linear-gradient(145deg,#fbfdfb,#e6ebe7 55%,#dce3de);box-shadow:inset 0 1px 1px #fff,inset 1px 0 1px #fff9,0 18px 34px -15px #263e3542,0 4px 10px #263e3512}
[data-theme=light] .welcome-emblem-tile::before{background:radial-gradient(ellipse at 40% 32%,#fff9,transparent 68%)}
/* Keep depth attached to the composer, with a wider, less concentrated falloff. */
.quiet-workspace .workspace-composer{box-shadow:0 12px 20px -5px #0009,0 -6px 22px -8px #0003,0 -14px 78px 18px #0004}
.quiet-workspace .workspace-composer::before{content:'';position:absolute;z-index:-1;pointer-events:none;left:-90px;right:-90px;top:-65px;height:160px;background:radial-gradient(ellipse at 50% 100%,#0003,transparent 72%)}
.quiet-workspace .workspace-composer::after{
 content:'';position:absolute;top:100%;left:-12px;right:-12px;height:calc(40px + env(safe-area-inset-bottom,0px));pointer-events:none;
 background:var(--surface);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
 -webkit-mask-image:linear-gradient(to bottom,#000e 0 10px,#000a 55%,transparent);mask-image:linear-gradient(to bottom,#000e 0 10px,#000a 55%,transparent);
}
[data-theme=light] .quiet-workspace .workspace-composer{box-shadow:0 12px 20px -5px #23352c38,0 -6px 24px -8px #23352c12,0 -14px 78px 18px #23352c17}
[data-theme=light] .quiet-workspace .workspace-composer::before{background:radial-gradient(ellipse at 50% 100%,#23352c12,transparent 72%)}
.quiet-workspace:has(.destination-dialog[open]) .workspace-composer{box-shadow:none}
.quiet-workspace:has(.destination-dialog[open]) .workspace-composer::before{display:none}
@media(max-width:600px){.quiet-workspace .workspace-composer::before{left:-12px;right:-12px}.welcome-emblem-tile{width:112px;height:112px;margin-bottom:18px}}
@media(max-height:640px){.welcome-emblem-tile{width:80px;height:80px;margin-bottom:10px}.workspace-welcome .welcome-emblem-tile img.welcome-sparkle{width:50px;height:50px}.workspace-welcome{padding-top:24px}}

.quiet-workspace .workspace-composer textarea{font-family:inherit}

/* Embedded onboarding keeps the customer in the signed-in workspace. */
.onboarding-calendar{display:block;width:100%;height:720px;border:0;border-radius:16px;background:#fff;margin-top:20px;color-scheme:light}
.onboarding-appointment{font-size:1.25rem;font-weight:650;line-height:1.5}
.onboarding-check{margin-top:14px;font-size:.9rem}
@media(max-width:600px){.onboarding-calendar{height:780px;border-radius:12px}.onboarding-appointment{font-size:1.1rem}}

/* Proposed timing is one conversational decision, using the existing bubble and theme. */
.quiet-workspace .time-proposal{text-align:left;padding:16px 18px;line-height:1.5;color:var(--ink)}
.time-proposal-question{display:block;font-size:16px;font-weight:700}
.quiet-workspace .time-proposal-date{margin:14px 0 10px;color:var(--ink);font-size:14px;font-weight:600;line-height:1.5}
.time-proposal-times{display:grid;gap:12px;margin:12px 0 18px}
.time-proposal-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:15px}
.time-proposal-row strong{white-space:nowrap;font-size:17px}
.time-proposal-zone{display:block;color:var(--muted);font-size:12px;margin-top:3px}
.quiet-workspace .time-proposal-choose{background:var(--sage);color:#17191b;font-weight:700;border-radius:20px;min-height:44px;padding:10px 18px;width:auto;max-width:100%}
.quiet-workspace .time-proposal-hint{margin:12px 0 0;font-size:13px;color:var(--muted);line-height:1.5}
.has-time-proposal .creation-preview>.timing-summary,.has-time-proposal .workspace-actions>button:first-child,.has-time-proposal .workspace-actions>.schedule-instead{display:none}

/* Welcome content shares the existing notification drawer and card tokens. */
.notification-drawer .welcome-notification-open{display:flex;flex-direction:column;gap:7px;align-items:flex-start;text-align:left;border:0;padding:0;background:none;color:inherit;box-shadow:none;width:100%}.welcome-notification-open span{font-weight:400}.notification-drawer .welcome-notification-delete{align-self:flex-end;background:none;color:inherit;box-shadow:none;padding:6px 10px;font-size:13px}.welcome-notification-error:empty{display:none}.welcome-notification-error{margin:0;font-size:13px}

/* Destination guidance: quiet, compact and shared with the current app palette. */
.mixed-media-dialog{width:min(420px,calc(100vw - 36px));max-height:calc(100dvh - 48px);margin:auto;padding:22px;border:1px solid var(--line);border-radius:24px;background:var(--panel);color:var(--ink);box-shadow:0 20px 70px #0005;overflow-y:auto}
.mixed-media-dialog::backdrop{background:#0007;backdrop-filter:blur(5px)}
.mixed-media-header{display:flex;align-items:flex-start;gap:12px;position:sticky;top:-22px;background:var(--panel);padding:4px 0 10px;z-index:1}
.mixed-media-header h2{font-size:20px;line-height:1.3;font-weight:600;letter-spacing:-.35px;margin:0;flex:1}
.mixed-media-dialog .mixed-media-close{flex:none;width:32px;min-height:32px;padding:0;margin:-5px -5px 0 0;background:transparent;color:var(--muted);font-size:25px;box-shadow:none}
.mixed-media-dialog p{font-size:15px;line-height:1.6;margin:4px 0 20px;color:var(--muted)}
.mixed-media-actions{display:grid;gap:8px}
.mixed-media-actions button{margin:0;width:100%;min-height:46px;font-size:15px;padding:11px 16px}
.mixed-media-actions .mixed-media-continue{background:var(--sage,#6bb38d);color:#17191b;font-weight:600}
.mixed-media-actions .mixed-media-change{background:transparent;color:var(--ink);box-shadow:none}

.preview-mentions {margin:1rem 0}
.preview-mentions input {display:block;width:100%;margin:.5rem 0;padding:.65rem;font:inherit}
.preview-mentions a {display:block;overflow-wrap:anywhere;margin-block:.5rem}

.quiet-workspace .latest-reply:has(.mention-question){width:min(100%,24rem);max-width:100%;box-sizing:border-box}
.mention-question .mention-candidates{display:grid;gap:4px;margin-top:6px}
.mention-question button.mention-choice{display:flex;align-items:center;gap:9px;text-align:left;min-height:44px;padding:4px 9px;border-radius:9px}
.mention-avatar{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:50%;overflow:hidden;background:var(--surface);color:var(--ink)}
.mention-avatar img{width:100%;height:100%;object-fit:cover}
.mention-question p:empty{display:none}

dialog.reel-music-dialog{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;border:0;padding:0;background:transparent;color:white;overflow:auto}
.reel-music-dialog::backdrop{background:rgba(8,12,18,.79);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.music-stage{width:min(100%,640px);min-height:100%;box-sizing:border-box;margin:auto;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:20px;padding:56px 0}
.music-stage h2{color:white;font-size:1.45rem;text-align:center;margin:0 18px}
.reel-music-dialog button{cursor:pointer}
.reel-music-dialog .music-close{position:absolute;right:16px;top:12px;color:white;background:transparent;font-size:28px;border:none;width:44px;height:44px}
.music-search{display:flex;align-items:center;width:min(84%,380px);padding:4px 7px 4px 16px;box-sizing:border-box;background:#ffffff18;border:1px solid #ffffff42;border-radius:28px}
.music-search input{width:100%;min-width:0;color:white;font:inherit;background:none;border:0;outline-offset:3px}
.music-search input::placeholder{color:#ddd}.music-search button,.music-controls button{color:white;background:transparent;border:0;min-width:44px;min-height:44px}
.music-search .voice-microphone{position:static;color:white}.music-search .voice-microphone-icon{width:19px;height:19px}
.music-rail{--cover:clamp(115px,34vw,165px);box-sizing:border-box;width:100%;display:flex;gap:22px;padding:12px calc((100% - var(--cover))/2);overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;mask-image:linear-gradient(90deg,transparent,#000 22%,#000 78%,transparent)}
.music-rail::-webkit-scrollbar{display:none}
.music-rail .music-tile{display:flex;align-items:stretch;flex-direction:column;flex:0 0 var(--cover);width:var(--cover);padding:0;color:white;border:0;background:transparent;text-align:left;scroll-snap-align:center;opacity:.48;transform:scale(.88);filter:blur(.65px);transition:opacity .18s,transform .18s,filter .18s}
.music-rail .music-tile.centered{opacity:1;transform:none;filter:none}
.music-cover{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:1;border-radius:12px;overflow:hidden;background:#3f4850;color:white;font-size:28px}
.music-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.music-play{position:absolute;bottom:6px;right:6px;border-radius:100%;background:#181c23b8;color:white;width:27px;height:27px;display:grid;place-items:center;font-size:12px}
.music-tile strong{margin-top:9px;font-size:15px;line-height:1.25}.music-tile small{margin-top:3px;font-size:13px;color:#d1d4d5}
.music-controls{display:flex;align-items:center;gap:12px}.music-controls[hidden]{display:none}.music-controls button{font-size:22px}.music-controls button:nth-child(2){font-size:15px;font-weight:600;border-radius:22px;background:#eef5f2;color:#172822;padding:0 21px}
.music-status{color:#eee;text-align:center;margin:0 20px}.music-status:empty{display:none}
@media(prefers-reduced-motion:reduce){.music-rail .music-tile{transition:none}}
.reel-music-dialog .music-cover img{inset:0;margin:0;min-height:100%;max-height:none;border-radius:0}
.reel-music-dialog .music-search .mic-stop-shape{display:none}.reel-music-dialog .music-search .is-recording .mic-stop-shape{display:block}

.flowing-status-spoken{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

.quiet-workspace .mention-review section{margin-bottom:10px}
.quiet-workspace .mention-review small{display:block;color:var(--muted)}
.quiet-workspace .mention-review button{color:var(--ink);background:var(--surface);border:1px solid var(--line)}
.quiet-workspace .mention-review button[aria-pressed=true],.quiet-workspace .mention-review .mention-confirm{background:color-mix(in srgb,var(--brand) 18%,var(--surface));border-color:var(--brand)}
.quiet-workspace .mention-review button[aria-pressed=true]::before{content:'✓'}

.mention-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
