:root{
  --color-background-agenda:#F6F4F1;
  --color-background-scrim:rgba(0,0,0,.28);
  --color-text-primary:#0e0e0e;
  --color-text-secondary:#626f70;
  --color-text-muted:#7e8786;
  --color-border-subtle:#eeeae3;
  --color-background-card:#f7f8f4;
  --color-background-subtle:#f4f4f0;
  --color-background-preview:#e2e2e2;
  --color-border-calendar:#e5e5ea;
  --color-text-calendar-muted:#8e8e93;
  --color-event-yellow-background:#fff2cf;
  --color-event-yellow-text:#9a6700;
  --color-event-blue-background:#e8f0ff;
  --color-event-blue-text:#2563cf;
  --color-event-purple-background:#f1e8fa;
  --color-event-purple-text:#8a45ad;
  --color-event-orange-background:#ffe8d9;
  --color-event-orange-text:#a3450f;
  --color-calendar-selected:#ff4a6d;
  --color-calendar-now:#ff0004;
  --color-payment-start:#15c236;
  --color-payment-end:#0060a5;
  --color-swipe-background:#ded8cc;
  --color-swipe-text:#62573f;
  --color-toast-background:#242424;
  --color-notification-start:#ff5071;
  --color-notification-end:#ffa302;
  --color-border-input:#dedbd5;
  --color-border-input-subtle:#ddd;
  --color-control-selected:#ddd8cd;
  --color-border-calendar-subtle:#f5f5f5;
  --color-control-accent:#111;
  --color-shadow-card:#1a1f260d;
  --color-shadow-voice:#1a1f261a;
  --color-shadow-pill:#00000012;
  --color-shadow-sheet:#0001;
  --color-shadow-phone:#0002;
  --color-backdrop:#0005;
  --color-fade-transparent:#fff0;
  --color-background-canvas:#fff;
}
@font-face{font-family:Lora;font-weight:400;src:url(assets/lora-400.ttf)}@font-face{font-family:Lora;font-weight:500;src:url(assets/lora-500.ttf)}@font-face{font-family:DM;font-weight:400;src:url(assets/dm-sans-400.ttf)}@font-face{font-family:DM;font-weight:500;src:url(assets/dm-sans-500.ttf)}@font-face{font-family:Inter;font-weight:400;src:url(assets/inter-400.ttf)}@font-face{font-family:Inter;font-weight:500;src:url(assets/inter-500.ttf)}@font-face{font-family:Inter;font-weight:600;src:url(assets/inter-600.ttf)}*{box-sizing:border-box}html,body{margin:0;height:100%;overscroll-behavior:none}body{background:var(--color-background-preview);color:var(--color-text-primary);font-family:Inter,-apple-system,BlinkMacSystemFont,Arial,sans-serif}button,input,textarea{font:inherit}button{border:0;cursor:pointer;color:inherit;-webkit-tap-highlight-color:transparent}*:focus,*:focus-visible{outline:none!important}button:active{filter:brightness(.96)}[hidden]{display:none!important}.phone{position:relative;margin:auto;width:100%;max-width:430px;height:100dvh;background:var(--color-background-canvas);overflow:hidden}.viewport{height:100%;overflow:auto;overscroll-behavior:contain;scrollbar-width:none;touch-action:pan-y}.viewport::-webkit-scrollbar{display:none}header{background:var(--color-background-canvas);position:relative;z-index:2;padding-top:8px}.toolbar{height:44px;margin:0 16px;display:flex;justify-content:space-between}.pill{background:var(--color-background-canvas);border-radius:30px;box-shadow:0 8px 24px var(--color-shadow-pill);display:flex;align-items:center;justify-content:center}.month{font-size:18px;gap:8px;padding:0 16px 0 14px}.month span{font-size:27px;font-weight:400}.tools{width:162px;padding:0 7px;justify-content:space-between}.tools button,.bottom .pill button{width:44px;height:44px;background:transparent;display:grid;place-items:center}.tools img,.bottom img{width:24px;height:24px;object-fit:contain}.week{display:grid;grid-template-columns:repeat(7,1fr);padding:13px 16px 5px;border-bottom:1px solid var(--color-border-calendar)}.day{display:flex;flex-direction:column;align-items:center;gap:7px}.day small{font-size:11px;font-weight:600;line-height:14px}.day span{width:38px;height:38px;display:grid;place-items:center;font-size:20px}.day.active span{background:var(--color-calendar-selected);color:var(--color-background-canvas);border-radius:50%;font-weight:600}.day:nth-last-child(-n+2){color:var(--color-text-calendar-muted)}.date{height:38px;padding:10px 10px 0 73px;font-size:15px;font-weight:600;border-bottom:1px solid var(--color-border-calendar-subtle);white-space:nowrap}.schedule{height:724px;position:relative}.hour{position:absolute;left:23px;right:0;font-size:11px;color:var(--color-text-calendar-muted);height:1px;line-height:12px}.hour span{position:absolute;top:-6px}.hour:after{content:'';position:absolute;height:1px;background:var(--color-border-calendar);left:40px;right:0}.event{position:absolute;left:69px;right:4px;border-radius:4px;background:var(--color-event-yellow-background);color:var(--color-event-yellow-text);font-size:13px;line-height:16px;font-weight:600;padding:3px 6px 3px 10px;text-align:left;overflow:hidden}.event:before{position:absolute;content:'';left:4px;top:4px;bottom:4px;width:3px;border-radius:2px;background:currentColor}.event.blue{background:var(--color-event-blue-background);color:var(--color-event-blue-text)}.event.purple{background:var(--color-event-purple-background);color:var(--color-event-purple-text)}.event.orange{background:var(--color-event-orange-background);color:var(--color-event-orange-text)}.now{position:absolute;top:375px;left:57px;right:0;height:2px;background:var(--color-calendar-now);pointer-events:none}.now span{position:absolute;right:100%;top:-8px;white-space:nowrap;background:var(--color-calendar-now);color:var(--color-background-canvas);border-radius:10px;font-size:12px;font-weight:600;padding:1px 5px}.bottom{position:absolute;z-index:3;bottom:0;left:0;right:0;height:78px;padding:3px 27px 27px;display:flex;justify-content:space-between;background:linear-gradient(var(--color-fade-transparent),var(--color-background-canvas) 30%)}.bottom>.pill:first-child{padding:0 16px;font-size:17px}.bottom>.pill:last-child{width:128px;padding:0 14px;justify-content:space-between}.triage{background:var(--color-background-agenda);padding:0 16px 32px;min-height:100%;overflow:hidden}.summary{display:flex;align-items:center;justify-content:space-between;height:88px;padding:0 8px 14px}.summary h1,.empty h1{font:400 32px/42px Lora,Georgia,serif;margin:8px 0 0}.summary p{font:11px/16px DM,Arial,sans-serif;color:var(--color-text-secondary);margin:0}.voice{width:44px;height:44px;flex-shrink:0;background:var(--color-background-canvas);border-radius:50%;box-shadow:0 2px 12px var(--color-shadow-voice);display:grid;place-items:center;margin-top:5px}.voice img{width:22px;height:22px}.card-wrap{position:relative;margin-bottom:14px;border-radius:16px;background:transparent;transition:height .24s,margin .24s;touch-action:pan-y}.swipe-label{position:absolute;inset:0;display:flex;justify-content:space-between;align-items:center;padding:18px;font:500 13px DM,Arial,sans-serif;color:var(--color-swipe-text);border-radius:16px;visibility:hidden}.card-wrap.dragging .swipe-label{visibility:visible}.card{position:relative;padding:18px 16px;background:var(--color-background-canvas);border:.5px solid var(--color-border-subtle);border-radius:16px;box-shadow:0 4px 14px var(--color-shadow-card);display:flex;flex-direction:column;gap:12px;touch-action:pan-y;will-change:transform}.card-head{display:flex;gap:10px;align-items:center;min-height:44px}.progress{width:44px;height:44px;flex-shrink:0;position:relative;display:grid;place-items:center}.progress img.ring{position:absolute;inset:1px;width:42px;height:42px}.progress img.emoji{position:relative;width:28px;height:28px;object-fit:contain}.progress .native-emoji{font:28px/40px -apple-system,Arial,sans-serif;position:relative}.progress .badge{position:absolute;right:-3px;bottom:-2px;width:18px;height:18px}.head-text{min-width:0;flex:1}.card h2{font:500 18px/25px Lora,Georgia,serif;letter-spacing:-.3px;margin:0 0 5px}.card .meta{font:11px/16px DM,Arial,sans-serif;color:var(--color-text-muted);margin:0}.card .description{font:400 13px/20px Lora,Georgia,serif;color:var(--color-text-secondary);margin:0}.actions{display:flex;gap:8px;height:42px}.action{min-height:42px;padding:6px 10px;border-radius:999px;background:var(--color-text-primary);color:var(--color-background-canvas);font:500 13px/18px DM,Arial,sans-serif;box-shadow:0 2px 7px var(--color-shadow-card);display:flex;align-items:center;justify-content:center;gap:8px}.actions>.action{flex:1}.action.secondary{background:var(--color-background-canvas);border:.75px solid var(--color-border-subtle);color:var(--color-text-primary)}.action.gradient{background:linear-gradient(100deg,var(--color-payment-start),var(--color-payment-end));color:var(--color-background-canvas)}.more{width:42px;height:42px;flex-shrink:0;border:.75px solid var(--color-border-subtle);border-radius:50%;background:var(--color-background-canvas);box-shadow:0 2px 7px var(--color-shadow-card);display:grid;place-items:center}.more img{width:24px;height:24px}.listing-row{display:flex;overflow-x:auto;gap:10px;scroll-snap-type:x mandatory;touch-action:pan-x pan-y;scrollbar-width:none}.listing{flex:0 0 286px;border-radius:12px;background:var(--color-background-subtle);padding:14px;display:flex;flex-direction:column;gap:10px;scroll-snap-align:start}.listing>img{width:100%;height:116px;object-fit:contain;border-radius:8px}.listing h3{font:17px/22px Lora,Georgia,serif;margin:0}.listing p{font:12px/18px Lora,Georgia,serif;color:var(--color-text-secondary);margin:0;white-space:pre-line}.listing small{font:11px/16px DM,Arial,sans-serif;color:var(--color-text-muted)}.listing button{align-self:flex-start;min-width:160px;min-height:36px}.all{width:100%;margin-top:4px}.empty{text-align:center;padding:40px 12px}.empty p{color:var(--color-text-secondary);font-size:14px;margin-bottom:24px}.empty button{width:100%;margin:10px 0}.toast{position:absolute;z-index:8;bottom:max(24px,env(safe-area-inset-bottom));left:16px;right:16px;background:var(--color-toast-background);color:var(--color-background-canvas);padding:14px 16px;border-radius:16px;box-shadow:0 6px 30px var(--color-shadow-phone);display:flex;align-items:center;justify-content:space-between;font:14px/20px DM,Arial,sans-serif}.toast button{color:var(--color-background-canvas);background:none;text-decoration:underline;font-weight:600;padding:4px 8px}.back-edge{position:absolute;z-index:4;left:0;top:0;bottom:0;width:15px;touch-action:pan-y}dialog{border:0;border-radius:24px 24px 0 0;position:fixed;top:auto;bottom:0;margin:0 auto;width:min(100%,430px);padding:28px 24px max(24px,env(safe-area-inset-bottom));max-height:85dvh;overflow:auto;color:var(--color-text-primary);box-shadow:0 -4px 30px var(--color-shadow-sheet)}dialog::backdrop{background:var(--color-backdrop)}dialog .close{position:absolute;top:8px;right:12px;width:36px;height:36px;background:var(--color-background-subtle);border-radius:50%;font-size:26px;color:var(--color-text-secondary)}dialog h2{font:500 24px/32px Lora,Georgia,serif;margin:10px 30px 14px 0}dialog p{font:14px/22px DM,Arial,sans-serif;color:var(--color-text-secondary)}dialog .action{width:100%;margin-top:10px;min-height:46px}dialog label{display:flex;gap:12px;padding:14px 0;align-items:center;font:15px/22px DM,Arial,sans-serif}dialog input[type=radio],dialog input[type=checkbox]{accent-color:var(--color-control-accent);width:18px;height:18px}dialog textarea{display:block;resize:vertical;width:100%;min-height:100px;padding:12px;border:1px solid var(--color-border-input);border-radius:12px;font:16px/23px DM,Arial,sans-serif}body.in-triage .bottom{display:none}@media(min-width:600px){body{display:grid;place-items:center}.phone{height:min(874px,calc(100dvh - 40px));max-width:402px;border-radius:32px;box-shadow:0 20px 70px var(--color-shadow-phone)}dialog{bottom:20px;border-radius:24px;width:386px}}@media(max-width:360px){.date{font-size:13px;padding-left:62px}.summary h1{font-size:28px}.card h2{font-size:17px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Inline secondary actions belong to the originating card, never a modal. */
.inline-actions{display:flex;flex-direction:column;gap:12px;width:100%;padding:0}.inline-actions .action{width:100%;min-height:42px}.snooze-options{border-top:1px solid var(--color-border-subtle);padding-top:12px}.more[aria-expanded=true] img{transform:rotate(180deg)}.more img{transition:transform .18s}.flow-sheet{border-radius:32px 32px 0 0;padding:20px 24px 24px;width:min(100%,402px);max-height:calc(100dvh - 62px);height:610px;overflow:hidden}.flow-sheet::before{content:'';position:absolute;width:40px;height:4px;border-radius:999px;background:var(--color-border-subtle);top:8px;left:calc(50% - 20px)}.flow-sheet.payment{height:570px}.flow-sheet.large{height:calc(100dvh - 62px);max-height:812px}.flow-sheet .close{top:20px;right:24px;width:42px;height:42px;font-size:23px}.flow-sheet #sheet-body{height:100%;display:flex;flex-direction:column}.flow-sheet h2{font:500 18px/25px Lora,Georgia,serif;margin:0 54px 12px 0;min-height:42px;display:flex;align-items:center}.flow-content{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:12px;padding:8px 0;scrollbar-width:none}.flow-panel{display:block;flex-shrink:0;background:var(--color-background-card);padding:16px;border-radius:16px;text-align:left}.flow-panel small,.field-label{display:block;font:11px/16px DM,Arial,sans-serif;color:var(--color-text-muted);margin:0 0 8px}.flow-panel h3,.supplier-option h3{font:500 18px/25px Lora,Georgia,serif;margin:0 0 8px}.flow-panel p,.flow-note{font:13px/20px Lora,Georgia,serif!important;color:var(--color-text-secondary);margin:0}.flow-panel input{width:100%;border:0;border-bottom:1px solid var(--color-border-input-subtle);background:transparent;padding:8px 0;font-size:16px}.flow-actions{display:flex;flex-direction:column;gap:8px;flex-shrink:0;padding-top:12px}.flow-actions .action{margin:0;min-height:42px}.flow-actions button:disabled{opacity:.4;cursor:default}.face-id{width:100%;height:36px;object-fit:contain}.demo-label{text-align:center;font:11px/14px DM,Arial,sans-serif;color:var(--color-text-muted)}.flow-subtitle{font:500 18px/25px Lora,Georgia,serif;color:var(--color-text-secondary);margin:0}.supplier-gallery{display:flex;gap:12px;overflow-x:auto;flex-shrink:0;scroll-snap-type:x mandatory;padding-bottom:8px}.supplier-option{display:flex;flex-direction:column;gap:12px;background:var(--color-background-card);border-radius:16px;padding:16px;flex:0 0 300px;scroll-snap-align:start}.supplier-option>img{width:268px;height:190px;object-fit:contain}.supplier-option h3,.supplier-option p{margin:0}.supplier-option p{font:13px/20px Lora,Georgia,serif;color:var(--color-text-primary)}.supplier-option small{font:11px/16px DM,Arial,sans-serif;color:var(--color-text-secondary)}.supplier-option .action{margin:0;min-height:42px}.listing-photo{width:100%;height:240px;object-fit:contain;border-radius:16px}.field-label+textarea{flex-shrink:0}.flow-panel p{white-space:normal}@media(min-width:600px){.flow-sheet{bottom:20px;width:402px;max-height:calc(100dvh - 82px)}}

/* Context actions extend the active card over the feed without reflowing it. */
.phone{isolation:isolate}.menu-scrim{position:absolute;inset:0;z-index:5;background:var(--color-background-scrim);width:100%;height:100%;border-radius:inherit;cursor:default}.card-wrap.menu-open{z-index:6}.card-wrap.menu-open::after{content:'';position:absolute;z-index:0;inset:0 0 auto;height:calc(100% + 90px);border:.5px solid var(--color-border-subtle);border-radius:16px;background:var(--color-background-canvas);box-shadow:0 4px 14px var(--color-shadow-card)}.card-wrap.menu-open:has(.inline-actions .action:nth-child(3))::after{height:calc(100% + 136px)}.card-wrap.menu-open .card{z-index:1;background:transparent;border-color:transparent;box-shadow:none}.inline-actions{position:absolute;top:calc(100% - 14px);left:16px;right:16px;width:auto;gap:4px;z-index:2;padding:0;background:none}.inline-actions .action{flex-shrink:0}.snooze-options{border:0;padding:0}.more[aria-expanded=true] img{transform:none}.back-edge{z-index:7}

/* The top request uses the primary action unless its action is a payment gradient. */
#cards>.card-wrap:first-child .actions>.action:not(.gradient){background:var(--color-text-primary);border-color:var(--color-text-primary);color:var(--color-background-canvas)}
.card-wrap.menu-open .actions>.action:not(.gradient){background:var(--color-text-primary);border-color:var(--color-text-primary);color:var(--color-background-canvas)}
#cards:has(.card-wrap.menu-open){padding-bottom:150px}

/* Completion screen follows the shared All caught up design. */
.in-triage.all-clear .phone,.in-triage.all-clear header{background:var(--color-background-agenda)}
.in-triage.all-clear .toolbar,.in-triage.all-clear .week,.all-clear .summary{display:none}
.in-triage.all-clear .triage{min-height:calc(100% - 8px);padding:24px}
.empty{padding:0;text-align:center;cursor:pointer;user-select:none;-webkit-user-select:none}.empty-positive{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;width:100%;height:601px;padding-top:111px;overflow:hidden}.relaxed-face{display:block;width:153.6px;height:153.6px;margin:0}.empty h1{margin:0;font:400 32px/42px Lora,Georgia,serif}.empty-return{display:block;color:var(--color-text-muted);font:500 13px/18px DM,Arial,sans-serif}
.voice-sheet .flow-content{align-items:center;justify-content:center}.voice-sheet .flow-panel{width:100%}.voice-sheet .close{padding:0;overflow:hidden;background:var(--color-background-subtle)}.voice-sheet .close img{display:block;width:42px;height:42px}.voice-orb{width:156px;height:156px;flex-shrink:0}.voice-orb img{display:block;width:156px;height:156px}.voice-sheet .voice-state{width:100%;font:500 18px/25px Lora,Georgia,serif;color:var(--color-text-secondary);margin:0;text-align:center}.voice-sheet .voice-hint{width:100%;font:400 13px/20px Lora,Georgia,serif;color:var(--color-text-secondary);margin:0;text-align:center}.voice-sheet .flow-actions{padding-top:12px}.voice-controls{display:flex;justify-content:space-between;width:100%}.voice-controls button{width:60px;height:60px;border-radius:50%;background:transparent;padding:0;overflow:hidden}.voice-controls img{display:block;width:60px;height:60px}.voice-controls #voice-end{background:var(--color-background-subtle)}.voice-controls #voice-end img{width:42px;height:42px;margin:9px}.voice-controls [aria-pressed=true]{background:var(--color-control-selected);box-shadow:inset 0 0 0 2px var(--color-text-secondary)}.voice-controls [aria-pressed=true] img{opacity:.45}
@media(max-height:700px){.empty-positive{height:calc(100dvh - 98px);padding-top:55px}.voice-sheet .flow-content{justify-content:flex-start}}

@media(display-mode:standalone),(display-mode:fullscreen){body{display:block}.phone{height:100dvh;max-width:none;border-radius:0;box-shadow:none}.bottom{height:calc(51px + max(27px, env(safe-area-inset-bottom)));padding-bottom:max(27px,env(safe-area-inset-bottom))}.triage{padding-bottom:max(32px,env(safe-area-inset-bottom))}.flow-sheet,dialog{bottom:0;padding-bottom:max(24px,env(safe-area-inset-bottom))}}

.complete-icon{padding:0;background:transparent;border:0}

.flow-sheet.access .flow-content{padding-top:8px}.flow-sheet.access .access-context{background:var(--color-background-canvas)}.flow-sheet.access .panel-button{width:100%;border:0;cursor:pointer}.flow-sheet.access .token-panel{display:flex;flex-direction:column;gap:8px}.flow-sheet.access .token-panel input{height:37px;padding:6px 8px;border:1px solid var(--color-border-subtle);border-radius:10px;background:var(--color-background-canvas);font:11px/16px DM,Arial,sans-serif;color:var(--color-text-primary)}.flow-sheet.access .token-panel input::placeholder{color:var(--color-text-muted);opacity:.3}.flow-sheet.access .token-panel p{font:11px/16px DM,Arial,sans-serif!important}.flow-sheet.access .flow-actions{padding-top:12px}

[data-id="access"] .progress{overflow:hidden}[data-id="access"] .progress img.ring{left:1.5px;top:.5px}.progress img.access-artwork{position:absolute;left:1px;top:1px}

.progress .access-emoji{position:absolute;left:11.5px;top:-.5px;width:27px;height:37px;font:600 20px/43.75px Inter,-apple-system,sans-serif}

.card-wrap:has(.complete-icon) .card{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}

.native-notification{position:absolute;z-index:20;top:10px;left:10px;right:10px;min-height:82px;padding:10px 12px;display:flex;align-items:flex-start;gap:10px;text-align:left;border:1px solid rgba(255,255,255,.72);border-radius:20px;background:rgba(247,247,247,.9);box-shadow:0 9px 28px rgba(0,0,0,.18);backdrop-filter:blur(22px) saturate(1.35);-webkit-backdrop-filter:blur(22px) saturate(1.35);animation:notification-in .32s cubic-bezier(.2,.8,.2,1)}.native-notification>img{width:42px;height:42px;border-radius:10px;flex:none}.native-notification>span{display:grid;grid-template-columns:1fr auto;min-width:0;flex:1}.native-notification strong,.native-notification small{font:600 13px/17px Inter,-apple-system,sans-serif}.native-notification small{color:var(--color-text-muted);font-weight:400}.native-notification b,.native-notification em{grid-column:1/3}.native-notification b{font:600 15px/20px Inter,-apple-system,sans-serif;margin-top:2px}.native-notification em{font:400 13px/18px Inter,-apple-system,sans-serif;color:var(--color-text-secondary);font-style:normal}@keyframes notification-in{from{opacity:0;transform:translateY(-110%)}to{opacity:1;transform:translateY(0)}}

/* Shared in-app notification from the Figma notification component. */
.toast{left:24px;right:24px;min-height:40px;padding:11px 16px;border-radius:20px;background:linear-gradient(90deg,var(--color-notification-start),var(--color-notification-end));box-shadow:none;font:500 13px/18px DM,Arial,sans-serif}.toast button{padding:0 0 0 16px;text-decoration:none;font:500 13px/18px DM,Arial,sans-serif}

/* Voice review follows the full-width 402 px mobile sheet from Figma. */
.flow-sheet.voice-sheet{max-width:none}

/* The voice prompt floats directly on the sheet and the orb stays visibly alive. */
.voice-sheet .flow-content>.flow-panel:first-child{background:transparent;padding:0}
.voice-orb img{animation:voice-gradient 4.8s ease-in-out infinite alternate;transform-origin:center}
@keyframes voice-gradient{0%{filter:hue-rotate(0deg) saturate(1);transform:scale(.97) rotate(-3deg)}50%{filter:hue-rotate(12deg) saturate(1.08);transform:scale(1.025) rotate(2deg)}100%{filter:hue-rotate(-10deg) saturate(1.04);transform:scale(.99) rotate(5deg)}}
@media(prefers-reduced-motion:reduce){.voice-orb img{animation:none}}

/* Pull to create, with both calendar rows removed from the decision feed. */
.in-triage #header{display:none}
.in-triage .phone{background:var(--color-background-agenda)}
.triage{position:relative;padding-top:env(safe-area-inset-top);--pull-distance:0px}
.pull-idea{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:var(--pull-distance);min-height:0;padding:0;overflow:hidden;background:transparent;color:var(--color-text-muted);font:500 15px/20px DM,Arial,sans-serif;opacity:clamp(0,calc(var(--pull-distance) / 45px),1)}
.pull-plus{font:24px/24px DM,Arial,sans-serif;transition:transform .15s}
.pull-ready .pull-idea{color:var(--color-text-primary)}
.pull-ready .pull-plus{transform:rotate(90deg)}
.pull-idea:focus-visible{height:52px;opacity:1}
.composer-sheet{height:auto;min-height:380px;padding-bottom:max(24px,env(safe-area-inset-bottom));overflow:auto}
.composer-sheet .flow-content{flex:none;overflow:visible}
.composer-sheet .composer-context{border-left:2px solid var(--color-border-input);border-radius:0;padding:2px 0 2px 14px;background:transparent}
.composer-context h3{font-size:16px;line-height:23px;margin-bottom:6px}
.composer-context p{max-height:84px;overflow:auto}
.composer-sheet textarea{min-height:130px;resize:none;background:var(--color-background-card);border:0;border-radius:16px;padding:16px}
.composer-sheet .field-label{padding:0;margin:0}
.composer-note{font:12px/18px DM,Arial,sans-serif!important;color:var(--color-text-muted);margin:0}
.composer-sheet .flow-actions{flex-direction:row;align-items:center;gap:12px}
.composer-sheet .flow-actions .action{flex:1}
.composer-sheet .flow-actions .record-button{flex:0 0 48px;width:48px;height:48px;border-radius:50%;padding:12px}
.record-button svg{width:22px;height:22px;flex-shrink:0}
.record-button[aria-pressed=true]{background:var(--color-control-selected);color:var(--color-text-primary)}
.voice-status{min-height:18px;margin:0;font:12px/18px DM,Arial,sans-serif;color:var(--color-text-muted)}
@media(min-width:600px){.composer-sheet{border-radius:28px}}

/* Lift to talk: the whole lower shelf is a voice entry target. */
.composer-sheet .flow-actions:empty{display:none}
.composer-stage{position:relative;min-height:300px;flex-shrink:0}
.composer-writing{display:flex;flex-direction:column;gap:10px;padding-bottom:110px;transition:opacity .24s,transform .3s}
.composer-writing textarea{height:174px;padding-bottom:60px;margin-bottom:12px}
.composer-writing #composer-text-send{position:absolute;left:12px;right:12px;top:140px;width:auto;min-height:40px;margin:0}
.composer-sheet button:disabled{opacity:.4;cursor:default}
.lift-panel{position:absolute;bottom:0;left:-24px;right:-24px;background:#eee8ff;border-radius:28px 28px 0 0;padding:0 24px;transform:translateY(calc(-1 * var(--lift-drag,0px)));transition:height .3s ease;overflow:hidden}
.lift-entry{width:100%;height:108px;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:var(--color-text-primary);touch-action:none;user-select:none}
.lift-grip{width:36px;height:3px;border-radius:4px;background:#b7a8d0;margin-bottom:2px}
.lift-entry strong{font:500 18px/25px Lora,Georgia,serif}
.lift-entry small{font:12px/16px DM,Arial,sans-serif;color:var(--color-text-muted)}
.lift-wave{height:56px;display:flex;align-items:center;justify-content:center;gap:4px;color:#9370df}
.lift-wave i{display:block;width:4px;height:var(--bar);border-radius:4px;background:currentColor}
.lift-entry .lift-wave{height:22px;gap:3px}
.lift-entry .lift-wave i{height:calc(var(--bar) * .45);width:3px}
.lift-entry .lift-wave i:nth-child(n+8){display:none}
.voice-expanded .composer-writing{opacity:0;transform:translateY(-25px);pointer-events:none}
.voice-expanded .lift-panel{height:100%;padding-top:20px;animation:lift-open .3s ease-out}
#lift-recording{text-align:center}
#lift-recording h3{font:400 24px/32px Lora,Georgia,serif;margin:0 0 10px}
#lift-recording .voice-status{margin:8px 0;min-height:20px}
.lift-actions{display:flex;gap:10px;margin-top:14px}
.lift-actions .action{width:100%;margin:0;min-height:56px}
.composer-sheet .composer-note{margin:0 -24px -8px;padding:12px 24px;background:#eee8ff;font-size:11px!important;text-align:center}
.is-recording #lift-recording .lift-wave i{animation:lift-wave .8s ease-in-out infinite alternate;animation-delay:var(--delay)}
@keyframes lift-wave{from{transform:scaleY(.35)}to{transform:scaleY(1)}}
@keyframes lift-open{from{height:108px}to{height:100%}}
@media(prefers-reduced-motion:reduce){.is-recording #lift-recording .lift-wave i,.voice-expanded .lift-panel{animation:none}}
.composer-sheet{padding-bottom:0}
.composer-sheet .flow-content{padding-bottom:0}
.composer-sheet .composer-note{margin-top:-12px;margin-bottom:0;padding-bottom:max(20px,env(safe-area-inset-bottom))}
