/* Ludoq — the teammate button + panel (AI core decisions A2 Outbox, A8 where the AI lives · Nov 27).
   Loaded by js/shell.js on every app page. Design System v1 tokens only; one blue; spring motion; reduced motion = instant. */

/* ───────── the button, bottom right ───────── */
.lq-fab{position:fixed;right:var(--space-24);bottom:calc(var(--space-24) + var(--lq-lift, 0px));z-index:var(--z-panel);width:44px;height:44px;display:grid;place-items:center;padding:0;border-radius:var(--radius-full);
  background:var(--bg-surface);color:var(--fg-default);box-shadow:inset 0 0 0 1px var(--border-subtle),var(--shadow-md);
  transition:transform var(--dur-spring-fast) var(--spring-snappy),opacity var(--dur) var(--ease),box-shadow var(--dur-fast) var(--ease),bottom var(--dur-spring) var(--spring-soft)}
.lq-fab:hover{transform:scale(1.06);box-shadow:inset 0 0 0 1px var(--border-field),var(--shadow-lg)}
.lq-fab:active{transform:scale(.94);transition-duration:var(--dur-fast)}
.lq-fab:focus-visible{outline:var(--focus-width) solid var(--focus-color);outline-offset:var(--focus-offset)}
.lq-fab-mark{display:grid;place-items:center;width:24px;height:24px}
.lq-fab-mark .sl-logo{width:24px;height:24px}
.lq-fab-n{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;padding:0 var(--space-4);border-radius:var(--radius-full);background:var(--inv-bg);color:var(--inv-fg);
  font:600 var(--fs-12)/18px var(--font-sans);text-align:center;box-shadow:0 0 0 2px var(--bg-canvas);pointer-events:none}   /* ds-allow: L4 — the bubble overhangs the button */
.lq-fab[data-tip]::after{white-space:nowrap}
/* the popover is open: the launcher stays under it as its anchor (open box, Lidd is out); phones: the sheet covers it */
@media (max-width:600px){html.lq-open .lq-fab{opacity:0;pointer-events:none}}
/* never on a toast, a bulk bar or a milestone card */
html:has(.bulk.show) .lq-fab{bottom:calc(var(--space-24) + 44px + var(--space-12))}
html:has(.toast-stack:not(.dsx-static) .toast) .lq-fab{bottom:calc(var(--space-24) + 56px + var(--space-12))}
html:has(.moment) .lq-fab{opacity:0;pointer-events:none}
html.embed .lq-fab,html.pub-view .lq-fab,html.modal-open .lq-fab{display:none}
@media (min-width:1100px){html:has(.toast-stack:not(.dsx-static) .toast) .lq-fab{bottom:var(--space-24)}}   /* wide: toasts sit centred, far from the corner */
/* Nov 27 evening: the end of every page scrolls clear of the button (last row's Add / ⋯ at the right edge) */
@media (min-width:761px){html:has(.lq-fab) .shell:not(.full)>.sh-main{padding-bottom:72px}}
html:has(.lq-fab) .ibx-rows{padding-bottom:calc(var(--space-24) + 56px)}   /* Inbox scrolls in its own list */
@media (max-width:760px){
  .lq-fab{right:var(--space-16);bottom:calc(var(--space-16) + env(safe-area-inset-bottom) + var(--lq-lift, 0px))}
  html.has-tabbar .lq-fab{bottom:calc(58px + var(--space-12) + env(safe-area-inset-bottom) + var(--lq-lift, 0px))}   /* above the tab bar */
  html.has-tabbar:has(.bulk.show) .lq-fab{bottom:calc(58px + var(--space-12) + 44px + var(--space-12) + env(safe-area-inset-bottom) + var(--lq-lift, 0px))}
  html.has-tabbar:has(.toast-stack:not(.dsx-static) .toast) .lq-fab{bottom:calc(58px + var(--space-12) + 56px + var(--space-12) + env(safe-area-inset-bottom) + var(--lq-lift, 0px))}
  html:has(.shell.sb-open) .lq-fab{opacity:0;pointer-events:none}
  /* Ludoq AI (ask.html) is the full view of the same chat: on phones the button only covered its composer */
  html:has(.shell[data-page="ask"]) .lq-fab{display:none}
  /* Nov 27 evening: the end of every list scrolls clear of the button (rows' ⋯ menus at the right edge) */
  html.has-tabbar:has(.lq-fab) .sh-main{padding-bottom:calc(64px + 56px + env(safe-area-inset-bottom))}
}

/* ───────── the panel (inside <aside class="cp">) ───────── */
.cp .lp-head{gap:var(--space-8);padding:0 var(--space-8) 0 var(--space-16);border-bottom:0}
.cp .lp-head .title{flex:none;gap:var(--space-8);font:600 var(--fs-14)/20px var(--font-sans);color:var(--fg-default)}
.lp-mark{display:grid;place-items:center;width:20px;height:20px}
.lp-mark .sl-logo{width:18px;height:18px}
.cp .lp-ctx{min-width:0;max-width:200px;padding:0 var(--space-8);flex:0 1 auto}
.lp-tabs.utabs{flex:none;gap:var(--space-20);height:40px;padding:0 var(--space-16)}
.lp-tabs.utabs>button{height:40px;font:500 var(--fs-13)/20px var(--font-sans)}
.lp-pane{flex:1;min-height:0;display:flex;flex-direction:column}
.lp-pane[hidden]{display:none}
.lp-pane.lp-chat>.cp-body{flex:1}
.lp-priv{display:inline-flex;align-items:center;gap:var(--space-4);color:var(--fg-muted)}
.lp-priv .ic{width:12px;height:12px;color:var(--icon-muted)}

/* phone (≤600): the popover becomes a bottom sheet (content height, up to 88% of the screen) */
@media (max-width:600px){
  .shell>.cp,.shell .cp{top:auto;left:0;right:0;bottom:0;width:100%;height:min(80dvh,640px);max-height:none;border-radius:var(--radius-dialog) var(--radius-dialog) 0 0;opacity:1;
    transform:translateY(100%);transform-origin:50% 100%;transition:transform var(--dur-spring) var(--spring-soft),visibility 0s var(--dur-spring)}
  .shell.cp-open>.cp,.shell.cp-open .cp{transform:none;transition:transform var(--dur-spring) var(--spring-soft),visibility 0s}
}
@media (max-width:760px){
  .cp .lp-head{position:relative;padding-top:var(--space-8);height:calc(var(--tb-h) + var(--space-8))}
  .cp .lp-head::before{content:"";position:absolute;left:50%;top:var(--space-6);width:36px;height:4px;margin-left:-18px;border-radius:var(--radius-full);background:var(--border-field)}   /* the sheet grabber */
  .cp .lp-head .ib.sm{width:36px;height:36px}   /* ds-allow: L13 — phone tap target */
  .lp-tabs.utabs>button{height:44px}
  .lp-tabs.utabs{height:44px}
  .cp .cp-input{padding-bottom:calc(var(--space-12) + env(safe-area-inset-bottom))}
  .cp .lqo-meter{padding-bottom:calc(var(--space-14) + env(safe-area-inset-bottom))}
}

/* ───────── the Outbox list (panel tab + Inbox › Outbox) ───────── */
.lqo{flex:1;min-height:0;display:flex;flex-direction:column}
.lqo-list{flex:1;min-height:0;overflow-y:auto;padding:var(--space-12) var(--space-16) var(--space-16);scrollbar-width:thin;scrollbar-color:var(--border-field) transparent}
.lqo-grp+.lqo-grp{margin-top:var(--space-20)}
.lqo-gh{display:flex;align-items:center;gap:var(--space-8);min-height:28px}
.lqo-src{flex:1;min-width:0;display:flex;align-items:center;gap:var(--space-6);font:var(--type-caption-strong);color:var(--fg-muted)}
.lqo-src .ic{flex:none;color:var(--icon-muted)}
.lqo-src>a,.lqo-src>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:inherit}
.lqo-src>a:hover{color:var(--fg-default);text-decoration:underline;text-underline-offset:2px}
.lqo-all{flex:none}
.lqo-items{display:flex;flex-direction:column;gap:var(--space-8);margin-top:var(--space-6)}
.lqo-item{display:grid;grid-template-columns:28px minmax(0,1fr);gap:var(--space-10);padding:var(--space-12);border-radius:var(--radius-card);background:var(--bg-surface);box-shadow:inset 0 0 0 1px var(--border-subtle);
  animation:lqoIn var(--dur-spring) var(--spring-soft) both}
.lqo-ic{display:grid;place-items:center;width:28px;height:28px;border-radius:var(--radius-item);background:var(--bg-subtle);color:var(--icon-default)}
.lqo-item.is-done{background:transparent;padding-top:var(--space-10);padding-bottom:var(--space-10)}
.lqo-item.is-done .lqo-row{margin-top:var(--space-2)}
.lqo-item.is-done .lqo-ic{color:var(--pos-dot);background:var(--pos-weak)}
.lqo-item.is-done .lqo-t{color:var(--fg-muted)}
.lqo-b{min-width:0}
.lqo-t{font:500 var(--fs-14)/20px var(--font-sans);color:var(--fg-default);overflow-wrap:anywhere}
.lqo-d{margin-top:var(--space-2);font:var(--type-body-sm);color:var(--fg-muted);overflow-wrap:anywhere}
.lqo-sub{margin:var(--space-6) 0 0;padding:0 0 0 var(--space-16);font:var(--type-body-sm);color:var(--fg-muted)}
.lqo-sub li{list-style:disc}
.lqo-sub li.more{list-style:none;margin-left:calc(var(--space-16) * -1);color:var(--fg-muted)}
.lqo-row{display:flex;align-items:center;gap:var(--space-4);margin-top:var(--space-10);min-height:28px}
.lqo-sp{flex:1}
.lqo-cost,.lqo-state,.lqo-free{display:inline-flex;align-items:center;gap:var(--space-4);font:var(--type-caption);color:var(--fg-muted);font-variant-numeric:tabular-nums}
.lqo-cost .ic{color:var(--icon-muted)}
.lqo-state{color:var(--fg-default)}
.lqo-state .ic{color:var(--pos-dot)}
.lqo-edit .input{width:100%}
.lqo-edit textarea.input{margin-top:var(--space-6);resize:vertical;min-height:64px}
.lqo-paused{flex:none;display:flex;gap:var(--space-10);margin:var(--space-12) var(--space-16) 0;padding:var(--space-12);border-radius:var(--radius-card);background:var(--bg-subtle);box-shadow:inset 0 0 0 1px var(--border-subtle)}
.lqo-paused>.ic{flex:none;margin-top:var(--space-2);color:var(--icon-default)}
.lqo-paused b{display:block;font:500 var(--fs-13)/18px var(--font-sans);color:var(--fg-default)}
.lqo-paused p{margin:var(--space-2) 0 var(--space-8);font:var(--type-caption);color:var(--fg-muted)}
.lqo-meter{flex:none;padding:var(--space-12) var(--space-16) var(--space-14);border-top:1px solid var(--border-subtle)}
.lqo-mt{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-8);font:var(--type-caption);color:var(--fg-muted)}
.lqo-mt b{font:500 var(--fs-12)/16px var(--font-sans);color:var(--fg-default)}
.lqo-meter .meter{margin:var(--space-6) 0}
.lqo-meter small{display:block;font:var(--type-caption);color:var(--fg-muted)}
.lqo-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:var(--space-6);padding:var(--space-48) var(--space-16)}
.lqo-empty-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:var(--radius-card);background:var(--bg-subtle);color:var(--icon-muted)}
.lqo-empty h3{margin-top:var(--space-4);font:var(--type-title-sm);color:var(--fg-default)}
.lqo-empty p{max-width:300px;font:var(--type-body-sm);color:var(--fg-muted)}
.lqo-skel{display:flex;flex-direction:column;gap:var(--space-8)}
.lqo-skel i{display:block;height:84px;border-radius:var(--radius-card);background:var(--bg-subtle);animation:pulse var(--dur-pulse, 1.6s) var(--ease) infinite}
@keyframes lqoIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

/* reduced motion: instant */
@media (prefers-reduced-motion:reduce){.lq-fab,.shell .cp,.lqo-item{transition:none!important;animation:none!important}.lqo-skel i{animation:none}}
html.reduce-motion .lq-fab,html.reduce-motion .shell .cp,html.reduce-motion .lqo-item{transition:none!important;animation:none!important}
html.reduce-motion .lqo-skel i{animation:none}
.lqo-empty-t{display:flex;flex-direction:column;align-items:inherit;gap:var(--space-2)}
/* Ludoq positioning (Nov 28): the empty Ready for you = one line + the capture box (js/capture-box.js) */
.lqo-empty.is-capture{align-items:stretch;text-align:left;gap:var(--space-12);padding:var(--space-8) 0 var(--space-16)}
.lqo-empty-l{margin:0;font:var(--type-body-sm);color:var(--fg-muted)}
.lqo-row [data-share-step] .ic{width:14px;height:14px}

/* ───────── Calm spec §7 (Nov 28): the page-aware bar "Ask Ludoq about this page" ─────────
   Ink on the surface, audio-lines mark, no AI glyph, no count, no blue. 32px capsule on desktop; 44px circle (icon) on phones. */
.lq-fab.lq-ask{width:auto;height:32px;display:inline-flex;align-items:center;gap:var(--space-6);padding:0 var(--space-12) 0 var(--space-10);
  border-radius:var(--radius-full);font:500 var(--fs-13)/20px var(--font-sans);color:var(--fg-default);white-space:nowrap;
  box-shadow:inset 0 0 0 1px var(--border-subtle),var(--shadow-sm,var(--shadow-md))}
.lq-fab.lq-ask:hover{transform:none;background:var(--bg-row-hover,var(--bg-hover));box-shadow:inset 0 0 0 1px var(--border-field),var(--shadow-md)}
.lq-fab.lq-ask:active{transform:scale(.97)}
.lq-ask-ic{display:grid;place-items:center;width:16px;height:16px;color:var(--fg-default)}
.lq-ask-ic .ic{width:16px;height:16px}
html:has(.qr-pill) .lq-fab.lq-ask{opacity:0;pointer-events:none}   /* the quick record pill owns the bottom while it shows */
@media (max-width:760px){
  .lq-fab.lq-ask{width:44px;height:44px;padding:0;justify-content:center}
  .lq-ask-l{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .lq-ask-ic,.lq-ask-ic .ic{width:20px;height:20px}
  html.has-tabbar .lq-fab.lq-ask{display:none}   /* phones: the tab bar's Ask is the entry; nothing floats over the rows */
  html.has-tabbar:has(.lq-fab.lq-ask) .sh-main{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
}
@media (prefers-reduced-motion:reduce){.lq-fab.lq-ask,.lq-fab.lq-ask:active{transition:none;transform:none}}
html.reduce-motion .lq-fab.lq-ask,html.reduce-motion .lq-fab.lq-ask:active{transition:none;transform:none}
/* calm spec §0 (QA Nov 28): the group header reads "From 'Acme kickoff' · 22 h ago" (grey; the title links to the recording) */
.lqo-from{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:var(--type-caption);color:var(--fg-muted)}
.lqo-from a{color:inherit;text-decoration:underline;text-decoration-color:var(--border-control);text-underline-offset:2px}
.lqo-from a:hover{color:var(--fg-default)}
/* Founder decision (Nov 28): the page-aware launcher is a compact ink round button; the hover label carries the words */
@media (min-width:761px){
  .lq-fab.lq-ask.lq-round{width:40px;height:40px;padding:0;justify-content:center;background:var(--fg-default);color:var(--bg-surface);box-shadow:var(--shadow-md)}
  .lq-fab.lq-ask.lq-round:hover{background:var(--fg-default);box-shadow:var(--shadow-lg,var(--shadow-md))}
  .lq-fab.lq-ask.lq-round .lq-ask-ic{color:inherit;width:18px;height:18px}
  .lq-fab.lq-ask.lq-round .lq-ask-ic .ic{width:18px;height:18px}
  .lq-fab.lq-ask.lq-round .lq-ask-l{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
}
.lqo-more{margin:var(--space-4) 0 0 var(--space-8)}   /* §C4: top 3 per source, then Show more */
/* declutter R4 (Nov 28): one visible action per prepared item — the tinted Apply; Dismiss and Edit on hover / focus (always on touch) */
@media (hover:hover){
  .lqo-item .lqo-row :is([data-lqo="dismiss"],[data-lqo="edit"]){opacity:0;transition:opacity var(--dur-fast) var(--ease)}
  .lqo-item:is(:hover,:focus-within) .lqo-row :is([data-lqo="dismiss"],[data-lqo="edit"]){opacity:1}
}

/* ───────── Lidd (founder order Nov 29): the launcher box + the character in the Ask popover (js/lidd.js) ─────────
   Ink and paper follow the theme; the hole under the lid is a mid ink. One blue (thinking dots), red only for the error marks. */
.lidd-mark,.lidd-full,.lidd-fly{--lidd-ink:var(--fg-default);--lidd-pap:var(--bg-surface);--lidd-hole:color-mix(in srgb,var(--fg-default) 74%,var(--bg-surface))}
:is(.lidd-mark,.lidd-full) .f-ink{fill:var(--lidd-ink)}
:is(.lidd-mark,.lidd-full) .s-ink{stroke:var(--lidd-line,var(--lidd-ink))}
:is(.lidd-mark,.lidd-full) .f-pap{fill:var(--lidd-pap)}
:is(.lidd-mark,.lidd-full) .s-pap{stroke:var(--lidd-pap)}
:is(.lidd-mark,.lidd-full) .f-hole{fill:var(--lidd-hole)}
:is(.lidd-mark,.lidd-full) .s-hole{stroke:var(--lidd-hole)}
.lidd-full .s-red{stroke:var(--danger-fg)}
.lidd-full .f-blue{fill:var(--accent)}
.lidd-full[data-state="done"] .s-red{stroke:var(--accent)}   /* done: the tick is the one blue, not red */
.lidd-full{display:block;width:100%;height:100%;overflow:visible}

/* the launcher: the cube itself is the button (44px target), on a soft contact shadow — no circle */
.lq-fab.lq-ask.lq-lidd{width:52px;height:52px;padding:0;justify-content:center;background:transparent;color:var(--fg-default);box-shadow:none;border-radius:var(--radius-full)}
.lq-fab.lq-ask.lq-lidd:hover{background:transparent;box-shadow:none}
.lq-fab.lq-ask.lq-lidd:active{transform:none}   /* the press is a squash of Lidd himself (below), not a shrink of the target */
.lq-fab.lq-lidd .lq-ask-ic{width:38px;height:42px;color:inherit}
.lq-fab.lq-lidd[data-tip]:is(:hover,:focus-visible)::after{pointer-events:none}   /* the label never extends the hover: leaving the cube ends the attentive state */
.lq-fab.lq-lidd .lq-ask-l{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* motion (Nov 29 evening): idle blink + glance + gaze are js/lidd.js liddLife(); hover / focus = "attentive", press = squash.
   Transforms + opacity only; one house curve; the attentive step is --dur-medium (≈260 ms), the press --dur-micro */
.lidd-mark{display:block;width:30px;height:34px;overflow:visible;transform-origin:50% 98%;transition:transform var(--dur-medium) var(--ease-ui)}
.lidd-mark .lm-shadow{fill:var(--fg-default);opacity:.14;transform-box:fill-box;transform-origin:50% 50%;transition:transform var(--dur-medium) var(--ease-ui),opacity var(--dur-medium) var(--ease-ui)}
.lidd-mark .lm-lid{transform-box:fill-box;transform-origin:0 50%;transition:transform var(--dur-medium) var(--ease-ui)}
.lidd-mark .lm-wide{transform-box:fill-box;transform-origin:50% 50%;transition:transform var(--dur-medium) var(--ease-ui)}
.lidd-mark .lm-eyes{transform-box:fill-box;transform-origin:50% 50%;transition:opacity var(--dur-fast) var(--ease)}
.lidd-mark :is(.lm-look,.lm-lean){will-change:transform}
/* attentive: the lid lifts a little, the eyes open a touch wider, the contact shadow deepens (pointer hover or keyboard focus) */
@media (hover:hover){
  .lq-lidd:hover .lidd-mark .lm-lid{transform:translateY(-1.5px) rotate(-7deg)}
  .lq-lidd:hover .lidd-mark .lm-wide{transform:scale(1.06,1.2)}
  .lq-lidd:hover .lidd-mark .lm-shadow{opacity:.24;transform:scaleX(1.06)}
}
.lq-lidd:focus-visible .lidd-mark .lm-lid{transform:translateY(-1.5px) rotate(-7deg)}
.lq-lidd:focus-visible .lidd-mark .lm-wide{transform:scale(1.06,1.2)}
.lq-lidd:focus-visible .lidd-mark .lm-shadow{opacity:.24;transform:scaleX(1.06)}
/* press: a quick squash on the ground, then the lid lifts and Lidd jumps out (js/shell.js openCopilot) */
.lq-lidd:active .lidd-mark{transform:scale(1.03,.96);transition-duration:var(--dur-micro)}
.lq-lidd:active .lidd-mark .lm-shadow{transform:scaleX(1.1);opacity:.22;transition-duration:var(--dur-micro)}
.lq-lidd.is-open .lidd-mark .lm-lid{transform:translate(-1px,-6px) rotate(-20deg)}   /* the lid lifts */
.lq-lidd.is-open .lidd-mark .lm-shadow{transform:scaleX(.9);opacity:.14}
.lq-lidd.is-open .lidd-mark .lm-wide{transform:none}
.lq-lidd.is-out .lidd-mark .lm-eyes{opacity:0}   /* Lidd is out (in the popover): an empty open box */
@keyframes lidd-blink{0%,94%,100%{transform:none}96.5%{transform:scaleY(.12)}}

/* phones: Lidd's head is the tab bar's Ask icon (js/shell.js renderTabbar) — ink follows the tab colour (muted, black when current) */
.tb-lidd-ic{display:grid;place-items:center;width:22px;height:22px}
.tb-lidd .lidd-mark{width:20px;height:23px;--lidd-ink:currentColor;--lidd-hole:color-mix(in srgb,currentColor 74%,var(--bg-surface))}
.tb-lidd .lidd-mark .lm-shadow{display:none}
.tb-lidd[aria-current="page"] .lidd-mark{--lidd-ink:var(--fg-default)}
/* dark: the cube keeps its ink body with a light outline; the eyes and edge lines invert to light (the window) */
[data-theme="dark"] :is(.lidd-mark,.lidd-full,.lidd-fly){--lidd-ink:var(--lidd-ink-d);--lidd-line:var(--lidd-line-d);--lidd-pap:var(--lidd-pap-d);--lidd-hole:var(--lidd-hole-d)}
[data-theme="dark"] .lidd-mark .lm-shadow{fill:var(--lidd-ink-d);opacity:.5}
[data-theme="dark"] .tb-lidd .lidd-mark{--lidd-ink:var(--lidd-ink-d);--lidd-line:currentColor}
[data-theme="dark"] .tb-lidd[aria-current="page"] .lidd-mark{--lidd-line:var(--fg-default)}

/* the popover header: Lidd stands in the top-left corner, feet on the header's bottom edge */
.cp .lp-head{height:56px;padding-left:var(--space-12)}
.lp-lidd{flex:none;align-self:center;height:28px;aspect-ratio:42/48}
.lp-lidd.is-away{visibility:hidden}
.lp-lidd .lidd-full{animation:lidd-swap var(--dur-spring-fast) var(--spring-bounce)}
.lidd-full[data-state="idle"] g[transform]>rect{transform-box:fill-box;transform-origin:50% 50%;animation:lidd-blink calc(var(--dur-pulse) * 4) infinite}
.lidd-full[data-state="think"] .f-blue{animation:lidd-dot var(--dur-pulse) infinite}
.lidd-full[data-state="think"] circle:nth-of-type(2){animation-delay:calc(var(--dur-pulse) / 6)}
.lidd-full[data-state="think"] circle:nth-of-type(3){animation-delay:calc(var(--dur-pulse) / 3)}
@keyframes lidd-swap{from{transform:translateY(3px) scale(.94)}to{transform:none}}
@keyframes lidd-dot{0%,100%{opacity:.25}40%{opacity:1}}
.lidd-fly{position:fixed;z-index:calc(var(--z-popover) + 1);pointer-events:none;will-change:transform}

@media (prefers-reduced-motion:reduce){
  .lidd-mark .lm-eyes,.lidd-full g[transform]>rect,.lidd-full .f-blue,.lp-lidd .lidd-full{animation:none!important}
  .lidd-mark,.lidd-mark *{transition:none!important}
  .lq-lidd:is(:hover,:focus-visible,:active,.is-open) .lidd-mark :is(.lm-lid,.lm-wide,.lm-shadow),.lq-lidd:active .lidd-mark{transform:none!important}   /* no lift, no squash */
  .lq-lidd.is-out .lidd-mark .lm-eyes{opacity:1}
  .shell .cp{transform:none!important}
}
html.reduce-motion .lidd-mark .lm-eyes,html.reduce-motion .lidd-full g[transform]>rect,html.reduce-motion .lidd-full .f-blue,html.reduce-motion .lp-lidd .lidd-full{animation:none!important}
html.reduce-motion .lidd-mark,html.reduce-motion .lidd-mark *{transition:none!important}
html.reduce-motion .lq-lidd:is(:hover,:focus-visible,:active,.is-open) .lidd-mark :is(.lm-lid,.lm-wide,.lm-shadow),html.reduce-motion .lq-lidd:active .lidd-mark{transform:none!important}
html.reduce-motion .lq-lidd.is-out .lidd-mark .lm-eyes{opacity:1}
html.reduce-motion .shell .cp{transform:none!important}
.lp-lidd>.lidd-mark,.lidd-fly>.lidd-mark{display:block;width:100%;height:100%}   /* Nov 30: head-only box fills its slot so the jump lands exactly */
.lq-fab[hidden]{display:none!important}
