/* Pomi design system: the catalog (design/SYSTEM.md).
   One closed set of components, after A2UI's basic catalog. A screen is composed from these classes and the tokens in
   polish.css; it does not bring a look of its own. The helpers that write this markup are `Y` in app.js (window.PomiUI).

   1. Layout is invisible: .y-col .y-row .y-list and a tab panel have no margin and no padding.
   2. Every visible leaf has one outer margin, --leaf. So two leaves are always 16px apart and a leaf is always 8px
      from its container's edge, however deep the nesting.
   3. A surface and a card pad by --leaf as well, so content sits 16px inside the screen edge and inside a card's outline.
   4. Text and icons take their colour from where they stand. Only a caption or a sub line is muted, by a token. */

/* ---- layout: no margin, no padding ---- */
.y-surface{display:flex;flex-direction:column;box-sizing:border-box;padding:var(--leaf)}
.y-surface>*{flex:none}
.y-col,.y-row,.y-list,.y-list>li,.y-tabpanel{display:flex;box-sizing:border-box;min-width:0;margin:0;padding:0;border:0;list-style:none}
.y-col,.y-list,.y-list>li,.y-tabpanel{flex-direction:column}
.y-row{flex-direction:row;align-items:center}
.y-row.y-top{align-items:flex-start}
.y-row.y-between{justify-content:space-between}
.y-row.y-wrap{flex-wrap:wrap}
.y-grow{flex:1;min-width:0}
:is(.y-surface,.y-col,.y-row,.y-list,.y-tabpanel,.y-tabs,.y-card,.y-btn,.y-text,.y-field,.y-chips)[hidden]{display:none!important}

/* A row that is a link or a button answers a press; it stays a layout piece (no margin, no padding of its own). */
.y-row.y-tap{width:100%;border:0;background:none;color:inherit;font:inherit;text-align:start;text-decoration:none;cursor:pointer;transition:transform var(--t-med) var(--ease-out)}
.y-row.y-tap:active{transform:scale(.98)}
.y-row.y-tap:focus-visible{outline:2px solid var(--a);outline-offset:-2px;border-radius:var(--r-sm)}
/* The row of a List (Y.item): lead, words, trail. Its words keep one line each for a heading and may wrap for a sub line. */
.y-item>.y-text>.y-heading{font-size:var(--fs-body);line-height:24px;text-wrap:balance}
/* Rows of a List are told apart by space alone: one leaf more between rows than between the leaves of a row. */
.y-list:not(.yx-steps)>li+li{margin-top:var(--leaf)}
.y-item>.y-caption{flex:none;white-space:nowrap}
.y-item>.y-icon:not(.y-tile){flex:none}
/* A row that opens another screen ends in a quiet chevron. A row whose question opens in place (confirmInline) wraps
   through the Confirm-in-place extension (.yx-confirm), so the question takes its own line under the row. */
.y-item>.y-icon.y-end{color:var(--g3)}
/* A section of a list screen: a label, then its content, in one surface. Sections are one leaf apart. */
.y-section{margin-top:var(--leaf)}
/* ---- the leaf margin ---- */
.y-text,.y-icon,.y-image,.y-card,.y-btn,.y-field,.y-check,.y-chips,.y-divider,.y-tabs,.yx-badge,.yx-fold{margin:var(--leaf)}

/* ---- Text: body by default; a leaf may hold the lines of one thought (a label over its title), 4px apart ---- */
.y-text{display:block;min-width:0;color:inherit;font-size:var(--fs-body);line-height:24px;font-weight:400;overflow-wrap:anywhere;text-wrap:pretty}
.y-text>:is(.y-title,.y-heading,.y-body,.y-sub,.y-caption,.y-label){display:block;margin:0}
.y-text>:is(.y-title,.y-heading,.y-body,.y-sub,.y-caption,.y-label)+:is(.y-title,.y-heading,.y-body,.y-sub,.y-caption,.y-label){margin-top:4px}
.y-title{font-size:var(--fs-title);line-height:28px;font-weight:700;letter-spacing:-.01em;text-wrap:balance}
.y-heading{font-size:var(--fs-head);line-height:24px;font-weight:600}
.y-body{font-size:var(--fs-body);line-height:24px;font-weight:400}
.y-sub{font-size:var(--fs-sub);line-height:20px;font-weight:400;color:var(--g4)}
.y-label{font-size:15px;line-height:20px;font-weight:600;color:var(--g4)}
.y-caption{font-size:var(--fs-cap);line-height:18px;font-weight:400;color:var(--g3);font-variant-numeric:tabular-nums}
.y-clamp,.y-text>.y-clamp{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.y-text.y-pre{white-space:pre-wrap}
.y-text a{color:var(--a-link);text-decoration:underline;text-underline-offset:3px}
/* On a fill that sets its own colour, every line follows it. */
:is(.y-btn.y-primary,.yx-badge) :is(.y-sub,.y-caption){color:inherit}

/* ---- Icon: 24px, the colour of the words beside it. Image: icon, avatar, feature, header ---- */
.y-icon{display:inline-flex;flex:none;align-items:center;justify-content:center;width:24px;height:24px;color:inherit;line-height:0}
.y-icon.y-tile{width:40px;height:40px;border-radius:var(--r-md);background:var(--g1)}
.y-image{display:block;flex:none;max-width:100%;object-fit:cover;border-radius:var(--r-md);background:var(--g2);line-height:0}
.y-image.y-icon-size{width:24px;height:24px;border-radius:var(--r-xs)}
.y-image.y-avatar{width:40px;height:40px;border-radius:50%;background:none;overflow:hidden}
.y-image.y-avatar.y-small{width:28px;height:28px}
/* One square thumbnail size everywhere (owner, 2026-11-29): 48, the same as a list row's yx-xthumb. */
.y-image.y-thumb{width:48px;height:48px}
.y-image.y-feature{width:100px;height:100px}
.y-image.y-header{width:100%;height:200px}

/* ---- Card: an outline, not a fill. One child (a column or a row) ---- */
.y-card{display:flex;flex-direction:column;box-sizing:border-box;min-width:0;padding:var(--leaf);border:1px solid var(--outline);border-radius:var(--r-card);background:transparent;color:inherit}
/* A piece inside sits 16px from the outline: its corner is the card's minus that inset. */
.y-card :is(.y-field>input,.y-field>textarea){border-radius:calc(var(--r-card) - 16px)}

/* ---- Divider ---- */
.y-divider{flex:none;height:1px;border:0;background:var(--g2)}

/* ---- Button: default (a quiet filled shape), primary (one per screen), borderless (reads as a link) ----
   A button is a filled shape and a field is an outlined one (owner, 2026-11-28), so the two are never mistaken: the
   default button is filled in --g1 with no outline, the primary in the accent. A primary that waits for its fields is
   pale (--a-off) and fills once they are filled. */
.y-btn{display:inline-flex;flex:none;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;min-height:44px;padding:0 16px;border:1px solid transparent;border-radius:var(--r-pill);background:var(--g1);color:var(--ink);font:inherit;font-size:15px;line-height:20px;font-weight:600;text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer;-webkit-user-select:none;user-select:none;transition:transform var(--t-med) var(--ease-out),background-color var(--t-fast) var(--ease),opacity var(--t-fast) var(--ease)}
a.y-btn:active{transform:scale(.96)}
.y-btn:not(:disabled):active{background:var(--g2)}
.y-btn:disabled{opacity:.5;cursor:default}
/* A button does not fill a block by itself: it is told to take what is left after its margin. */
.y-btn.y-block{display:flex;flex:1 1 auto;align-self:stretch;width:-webkit-fill-available;width:stretch}
.y-btn.y-primary{min-height:48px;border-color:transparent;background:var(--a);color:var(--on-fill);font-size:var(--fs-body)}
.y-btn.y-primary:not(:disabled):active{background:var(--a-press)}
.y-btn.y-primary:disabled{opacity:1;background:var(--a-off)}
.y-btn.y-borderless{justify-content:flex-start;padding:0;border-color:transparent;background:none;color:var(--a-link);text-align:start;white-space:normal}
.y-btn.y-borderless:not(:disabled):active{background:none;opacity:.6}
.y-btn.y-danger{color:var(--danger-text)}
/* Tonal (extension): the button that leads its own card where the screen's primary is somewhere else (an offer on
   Home): the accent's soft fill under the accent's words. Waiting for its fields it is the default's grey, half as strong. */
.y-btn.yx-tonal{min-height:48px;background:var(--a-soft);color:var(--a-text);font-size:var(--fs-body)}
.y-btn.yx-tonal:not(:disabled):active{background:var(--a-tint-press)}
.y-btn.yx-tonal:disabled{background:var(--g1);color:var(--g3);opacity:1}
/* A card's button that waits for its fields ([data-needs-fields]) is pale while a required choice of its card is not
   made, and fills once every one is: read from the fields themselves, so it cannot fall out of step with them. */
[data-card]:has(select:required:invalid) .y-btn[data-needs-fields]{background:var(--a-off);cursor:default}
/* A full-width link under a full-width button stands centred under it. */
.y-btn.y-borderless.y-block{justify-content:center;text-align:center}
/* In a List row: 36px seen, 44px to touch, so the words beside it keep their room. */
.y-btn.y-small{position:relative;min-height:36px;padding:0 14px;border-radius:var(--r-pill);font-size:var(--fs-sub)}
.y-btn.y-small::after{content:'';position:absolute;inset:-4px 0}
/* A small link keeps a link's edge: its words start where the leaf does, so alone in a row it lines up with the text over it. */
.y-btn.y-small.y-borderless{padding:0}
.y-btn>.y-icon{margin:0;width:20px;height:20px}
.y-btn>.y-icon.y-end{margin-left:auto;width:16px;height:16px;color:var(--g3)}
.y-btn.y-borderless>.y-icon.y-end{margin-left:0;color:inherit}

/* ---- TextField: a label over its field ---- */
.y-field{display:flex;flex-direction:column;gap:8px;min-width:0}
.y-field>label{font-size:var(--fs-cap);line-height:18px;color:var(--g4)}
.y-field>:is(input,textarea){box-sizing:border-box;width:100%;min-height:48px;margin:0;padding:12px;border:1px solid var(--line-strong);border-radius:var(--r-md);background:var(--surface);color:var(--ink);font:inherit;font-size:var(--fs-body);line-height:24px}
.y-field>textarea{min-height:96px;resize:vertical}
.y-field>:is(input,textarea):focus-visible{outline:0;border-color:var(--a);box-shadow:inset 0 0 0 1px var(--a)}

/* ---- CheckBox, and ChoicePicker as chips (one choice: radios; several: checkboxes) ---- */
.y-check{display:flex;align-items:center;gap:8px;min-height:44px;font-size:var(--fs-body);line-height:24px;cursor:pointer}
.y-check>input{flex:none;width:20px;height:20px;margin:0;accent-color:var(--a)}
.y-chips{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.y-chip{position:relative;display:inline-flex;align-items:center;gap:4px;box-sizing:border-box;min-height:36px;padding:0 12px;border:1px solid var(--outline);border-radius:var(--r-pill);background:transparent;color:var(--g4);font-size:var(--fs-sub);line-height:20px;font-weight:600;cursor:pointer;-webkit-user-select:none;user-select:none;transition:transform var(--t-med) var(--ease-out),background-color var(--t-fast) var(--ease)}
.y-chip::after{content:'';position:absolute;inset:-4px 0}
.y-chip>input{position:absolute;width:1px;height:1px;margin:0;opacity:0;pointer-events:none}
.y-chip>.y-icon{margin:0;width:20px;height:20px}
.y-chip:active{transform:scale(.96)}
.y-chip:has(input:checked),.y-chip[aria-pressed="true"],.y-chip[aria-current="true"]{border-color:transparent;background:var(--a-tint);color:var(--a-text)}
button.y-chip{font-family:inherit}
/* A chip may be a link (a page in another language): no underline, and aria-current="true" marks the chosen one. */
a.y-chip{text-decoration:none}
.y-chip:focus-visible{outline:2px solid var(--a);outline-offset:2px}
.y-chip:has(input:focus-visible){outline:2px solid var(--a);outline-offset:2px}

/* ---- Tabs: the headers in a row, the chosen one bold over an accent line; one panel shows ---- */
.y-tabs{display:flex;gap:20px;min-width:0;overflow-x:auto;scrollbar-width:none;box-shadow:inset 0 -1px 0 var(--g2)}
.y-tabs::-webkit-scrollbar{display:none}
.y-tab{position:relative;flex:none;display:inline-flex;align-items:center;gap:4px;min-height:44px;padding:0;border:0;background:none;color:var(--g3);font:inherit;font-size:15px;line-height:20px;font-weight:600;white-space:nowrap;cursor:pointer}
.y-tab[hidden]{display:none}
.y-tab[aria-selected="true"]{color:var(--ink)}
.y-tab[aria-selected="true"]::after{content:'';position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--a)}
.y-tab>.y-caption{font-weight:600}
.y-tab:focus-visible{outline:2px solid var(--a);outline-offset:-2px;border-radius:var(--r-xs)}

/* ---- Modal: the bottom sheet (.sheet over its scrim, styles.css and polish.css) is the catalog's Modal. Its content
        is a .y-surface, so the same leaves and the same margin apply inside it. ---- */

/* ================= extensions =================
   What a context adds on top of the catalog. Named yx-*, built from tokens and catalog pieces, never a change to a
   .y-* rule. Each is listed in design/SYSTEM.md with the context that owns it. */

/* Bar (chrome): the one top bar of every screen (topBar in app.js). A row --bar-h tall on the page colour over a hairline,
   padded by the leaf like a surface, so its first and last pieces line up with the content under it. It holds catalog
   pieces: icon buttons (back, settings), Pomi's row (her face, her name, a chevron to her profile), or the screen's title
   over its caption. The screen drawn after it starts under it. */
.yx-bar{position:relative;z-index:3;display:flex;flex:none;align-items:center;box-sizing:border-box;height:var(--bar-h);padding:0 max(var(--leaf),env(safe-area-inset-right,0px)) 0 max(var(--leaf),env(safe-area-inset-left,0px));background:var(--bg);color:var(--ink);box-shadow:0 .5px 0 var(--g2)}
.yx-bar~.yx-screen{top:var(--bar-h)}
.yx-bar.yx-clear{box-shadow:none;transition:box-shadow var(--t-fast) var(--ease),background-color var(--t-fast) var(--ease)}
.yx-bar.yx-clear[data-scrolled]{box-shadow:0 .5px 0 var(--g2)}
/* A screen below the places (nav): a clear bar (its line only once the screen moves), the way back as a round button on
   --g1, and the title in the middle, small: the screen's own title is the large one under it. */
.yx-bar.yx-sub>.y-btn.yx-bar-btn[data-back]{background:var(--g1);border-radius:50%}
.yx-bar.yx-sub>.y-btn.yx-bar-btn[data-back]:active{background:var(--g2)}
.yx-bar.yx-sub>.y-text{position:absolute;left:50%;max-width:calc(100% - 128px);margin:0;align-items:center;text-align:center;transform:translateX(-50%);pointer-events:none}
.yx-bar.yx-over{position:absolute;top:0;left:0;right:0;background:transparent}
.yx-bar.yx-over~.yx-screen{top:0;padding-top:var(--bar-h)}
.yx-bar.yx-over[data-scrolled]{background:color-mix(in srgb,var(--bg) 84%,transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
.yx-bar>.y-text{min-width:0}
.yx-bar>.y-text>*{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
/* Its icon button: borderless, in the bar's ink, 40px seen and 44 to touch, so the icon sits 16px in from the edge. */
.y-btn.yx-bar-btn{position:relative;width:40px;min-height:40px;height:40px;margin:0;padding:0;justify-content:center;color:inherit}
.y-btn.yx-bar-btn::after{content:'';position:absolute;inset:-2px}
.yx-bar-btn>.y-icon{width:24px;height:24px}
.yx-bar>.yx-bar-end{margin-left:auto}
/* Pomi's row: as wide as what it holds, the chevron beside her name. */
.y-row.y-tap.yx-bar-pomi{width:auto;min-width:0;min-height:44px}
.yx-bar-pomi>.y-icon{margin-left:0;color:var(--g3)}

/* Springs (extension Motion): "stiffness damping", the shared presets of the motion library our moving pieces are
   modelled on. A piece starts from one of these and adds its own only when it truly needs a different feel. */
:root{--spring-ticket-tilt:220 18;--spring-ticket-flip:170 15;--spring-ticket-lift:300 18;--spring-ticket-print:300 18;--spring-progress-line:160 22;--spring-progress-fill:260 24;--spring-progress-check:140 20;--spring-progress-pop:500 14;--spring-stepper-roll:260 24;--spring-stepper-kick:600 14;--spring-stepper-push:500 16;--spring-star-fill:300 24;--spring-star-pop:520 13;--spring-like-squash:520 13;--spring-like-fill:300 26;--spring-follow:900 50;--spring-settle:280 22;--spring-soft:260 24;--spring-lead:620 36;--spring-trail:190 19;--spring-pop:520 16;--spring-fade:420 32;--spring-expand:240 21;--spring-expand-in:260 28;--spring-expand-move:300 26;--spring-expand-fade:300 30;--spring-deck-return:280 16;--spring-deck-fling:70 17;--spring-deck-depth:260 22;--stagger:45}
/* Dust (extension Dust): the one spring of the "Dust delete" motion it is modelled on, the list closing the gap a
   forgotten memory leaves. */
:root{--spring-dust:260 22}
/* A forgotten memory's row while it turns to dust (memoryDust): its words give way to the canvas of grains drawn over
   its own box, so nothing outside the row moves until its place in the list closes. */
[data-dust]{position:relative}
[data-dust]>canvas.yx-dust{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
/* Roll (app.js Roll): its own springs, the designbookmark Word roll and Number stepper values. The width of the slot a
   word rolls in; each letter rolling out and in; the one roll spring of a number. */
:root{--spring-roll-width:320 30;--spring-roll-letter:420 26;--spring-roll-number:260 24}
/* The slot clips top and bottom only, so a letter or digit rolling past the line disappears; its width is set by Roll on
   a spring, so the words after it move over instead of jumping. What leaves is drawn from data-ch (never the text). */
.yx-roll{position:relative;display:inline-block;vertical-align:baseline;white-space:pre;font-variant-numeric:tabular-nums;clip-path:inset(0 -.5em)}
.yx-roll-in,.yx-roll-ch{display:inline-block;white-space:pre;will-change:transform,opacity}
.yx-roll-out{position:absolute;left:0;top:0;white-space:pre;will-change:transform,opacity}
.yx-roll-out[data-ch]::before,.yx-roll-out>[data-ch]::before{content:attr(data-ch)}
/* A count rolls inside its own pill, as the stepper's number does inside its box. */
.yx-tabbar-count:has(>.yx-roll){overflow:hidden}
.yx-tabbar-count>.yx-roll{vertical-align:top}
/* Morph island's own (Home, what Pomi is doing): width 380 24, stiffer than height 300 22, so a change lands sideways and
   then drops; the pop that answers a change 520 18; the corner at most 32px (half the height while it is short). */
:root{--island-w:380 24;--island-h:300 22;--island-pop:520 18;--island-radius:32}
/* Loading to done (Button, pressMotion): the "Loading to success" motion's own springs, its values. */
:root{--spring-press-width:300 22;--spring-press-label:400 30;--spring-press-spin:300 28;--spring-press-word:220 20;--spring-press-fill:200 30;--spring-press-check:120 20}

/* Tab bar (chrome): a capsule floating over the screen's foot (the glass of a pane), not a strip across it. The three
   places are links; the one on screen (aria-current="page") opens to show its word beside its icon on a --a-soft
   highlight, the others close to their icons. tabMotion (app.js) moves it on springs: the highlight follows the place,
   the words open and close, the icon pops when reached. A count sits on the icon on --danger. */
.yx-tabbar{--orb-fill:rgb(255 255 255/.9);--orb-rim:rgb(255 255 255/.7);--hl-x:0px;--hl-w:0px;position:absolute;left:50%;bottom:calc(env(safe-area-inset-bottom,0px) + 10px);width:min(80%,420px);z-index:3;display:flex;align-items:center;gap:4px;box-sizing:border-box;padding:8px;border:1px solid var(--orb-rim);border-radius:var(--r-pill);background:var(--orb-fill);box-shadow:0 10px 28px -10px rgb(0 0 0/.2),0 0 0 .5px rgb(0 0 0/.06);transform:translateX(-50%)}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.yx-tabbar{--orb-fill:rgb(255 255 255/.62);-webkit-backdrop-filter:blur(18px) saturate(1.6);backdrop-filter:blur(18px) saturate(1.6)}}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .yx-tabbar{--orb-fill:color-mix(in srgb,var(--surface) 92%,transparent);--orb-rim:rgb(255 255 255/.1)}}
:root[data-theme="dark"] .yx-tabbar{--orb-fill:color-mix(in srgb,var(--surface) 92%,transparent);--orb-rim:rgb(255 255 255/.1)}
/* The highlight under the place on screen: where and how wide is set by tabMotion (springs); without it, the place on
   screen draws its own. */
.yx-tabbar::before{content:'';position:absolute;top:8px;left:0;width:var(--hl-w);height:44px;border-radius:var(--r-pill);background:var(--a-soft);transform:translateX(var(--hl-x));pointer-events:none}
.yx-tabbar>a{position:relative;z-index:1;flex:1 1 auto;display:flex;align-items:center;justify-content:center;box-sizing:border-box;height:44px;padding:0 14px;border-radius:var(--r-pill);color:var(--g3);text-decoration:none;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;transition:color var(--t-fast) var(--ease)}
.yx-tabbar>a>.y-icon{position:relative;margin:0;will-change:transform}
.yx-tabbar-label{display:block;box-sizing:border-box;overflow:hidden;width:0;opacity:0;font-size:14px;line-height:20px;font-weight:600;letter-spacing:0;white-space:nowrap}
.yx-tabbar>a[aria-current="page"]{color:var(--a-text)}
.yx-tabbar:not([data-moving])>a[aria-current="page"]{background:var(--a-soft)}
.yx-tabbar:not([data-moving])>a[aria-current="page"]>.yx-tabbar-label{width:auto;opacity:1;padding-left:8px}
.yx-tabbar>a[aria-current="page"] [data-body]{fill-opacity:.38}
.yx-tabbar>a:not([aria-current="page"]):active{color:var(--g4)}
.yx-tabbar-count{position:absolute;top:2px;left:30px;z-index:1;box-sizing:border-box;min-width:18px;height:18px;padding:0 4px;border-radius:var(--r-pill);background:var(--danger);color:var(--on-fill);font-size:11px;line-height:18px;font-weight:600;text-align:center;font-variant-numeric:tabular-nums;box-shadow:0 0 0 2px var(--bg)}

/* Under a row (Connect): what a row with a tile holds or opens (a code to send, a form, a line that says what happened)
   lines up under the row's words, past the tile and its margins. A piece not rebuilt yet keeps its inside and takes the
   leaf margin. */
.yx-row-more{display:flex;flex-direction:column;min-width:0;padding-left:calc(40px + 2 * var(--leaf))}
.yx-row-more>*{margin:var(--leaf);max-width:none}
.yx-row-more>:empty{margin:0}
.yx-row-more>.y-btn{align-self:flex-start}
/* A provider's own rows (Connect: Google's sending and Gmail mailboxes, other mailboxes) are a List under its row's words:
   words only, so what one of them opens lines up under its own words. An add row ends in a plus in the accent. */
.yx-row-more>.yx-subrows{margin:0}
.yx-subrows .yx-row-more{padding-left:0}
.yx-subrows>li[hidden]{display:none}
.y-item>.y-icon.yx-add{color:var(--a-text);transition:transform var(--t-med) var(--ease-out)}
.y-item[aria-expanded="true"]>.y-icon.yx-add{transform:rotate(45deg)}
/* A service's own mark leading its row (Connect): the official art in the tile's place, its corners and colours its own. */
.y-icon.y-tile.yx-brand-tile{background:none}
.yx-brand-tile>img{display:block;width:40px;height:40px}
.yx-brand-tile>[data-dark]{display:none}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .yx-brand-tile>[data-dark]{display:block}:root:not([data-theme="light"]) .yx-brand-tile>[data-light]{display:none}}
:root[data-theme="dark"] .yx-brand-tile>[data-dark]{display:block}:root[data-theme="dark"] .yx-brand-tile>[data-light]{display:none}

/* State (tasks): what state a piece of work is in, as words with a mark. */
.yx-badge{display:inline-flex;flex:none;align-items:center;gap:8px;min-height:28px;padding:4px 12px 4px 8px;border-radius:var(--r-pill);background:var(--g1);color:var(--g4);font-size:var(--fs-cap);line-height:18px;font-weight:600;font-variant-numeric:tabular-nums}
.yx-badge-mark{flex:none;width:16px;height:16px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center}
.yx-badge-mark::after{content:'';width:8px;height:8px;border-radius:50%;background:currentColor}
.yx-badge-mark:has(svg)::after{content:none}
.yx-badge[data-phase="done"]{background:var(--a-soft);color:var(--a-text)}
.yx-badge[data-phase="done"] .yx-badge-mark{background:var(--a);color:var(--on-fill)}
.yx-badge[data-phase="running"] .yx-badge-mark{color:var(--a)}
.yx-badge[data-phase="running"] .yx-badge-mark::after{animation:task-live-pulse 1.4s var(--ease) infinite}
.yx-badge[data-phase="needs"]{background:var(--a-soft);color:var(--a-text)}
.yx-badge[data-phase="failed"]{background:var(--danger-soft);color:var(--danger-text)}
.yx-badge[data-phase="failed"] .yx-badge-mark{background:var(--danger);color:var(--on-fill)}
.yx-badge[data-phase="stopped"] .yx-badge-mark{color:var(--g3)}

/* Steps (tasks): a List whose rows have a mark on a rail. The row is a .y-row; its words are Text leaves. */
.yx-step-rail{flex:none;align-self:stretch;display:flex;flex-direction:column;align-items:center;width:20px;margin:var(--leaf) 0 0 var(--leaf)}
.yx-step-mark{flex:none;box-sizing:border-box;width:20px;height:20px;margin:4px 0;border-radius:50%;display:flex;align-items:center;justify-content:center}
.yx-step-mark::after{content:none;width:8px;height:8px;border-radius:50%;background:var(--a)}
.yx-step-line{flex:1;width:2px;margin-bottom:-8px;background:var(--g2)}
.yx-steps>li:last-child .yx-step-line{display:none}
.yx-steps>li[data-step="done"] .yx-step-mark{background:var(--a);color:var(--on-fill)}
.yx-steps>li[data-step="done"] .yx-step-line{background:var(--a-tint-press)}
.yx-steps>li[data-step="cur"] .yx-step-mark{border:2px solid var(--a)}
.yx-steps>li[data-step="cur"] .yx-step-mark::after{content:''}
.yx-steps>li[data-step="todo"] .yx-step-mark{border:2px solid var(--g2)}
.yx-steps>li[data-step="todo"] .y-heading{color:var(--g3);font-weight:400}
/* A finished step's time at the row's end, on its title's line. */
.yx-steps .yx-step-when{flex:none;line-height:24px;white-space:nowrap}
.yx-steps>li[data-step="fail"] .yx-step-mark{background:var(--g2);color:var(--ink)}
.yx-steps>li[data-step="unknown"] .yx-step-mark{border:2px solid var(--g3);color:var(--ink);font-size:11px;line-height:16px;font-weight:700}
.yx-steps .y-heading{font-size:15px;line-height:20px}

/* Facts: label and value, one pair a line (an approval's details, an answer card's rows). A leaf. */
.yx-facts{display:grid;grid-template-columns:minmax(64px,30%) minmax(0,1fr);gap:8px 16px;align-items:baseline;margin:var(--leaf);padding:0;border:0;min-width:0}
.yx-facts dt{font-size:var(--fs-sub);line-height:20px;color:var(--g3)}
.yx-facts dd{margin:0;min-width:0;font-size:var(--fs-sub);line-height:20px;color:inherit;overflow-wrap:anywhere}
.yx-facts dd a{color:var(--a-link)}
.yx-facts dd small{display:block;font-size:var(--fs-cap);line-height:18px;color:var(--g3)}
/* A value that can be changed here: its 바꾸기 (a small borderless button) sits at the row's end, on the value's line; it
   still takes 44px to touch. */
.yx-facts dd:has(>[data-name-edit]),.yx-facts dd:has(>[data-revise-edit]){display:flex;align-items:baseline;justify-content:space-between;gap:8px}
/* A row's editor opens right under it, across both columns, its leaves lined up with the labels. */
.yx-facts>dd.yx-facts-under{grid-column:1/-1;margin:0 calc(-1 * var(--leaf));font-size:var(--fs-body)}
.yx-facts>dd.yx-facts-under:has(>[hidden]){display:none}
.yx-facts dd>.y-btn.y-small{margin:0;min-height:20px;line-height:20px}
.yx-facts dd>.y-btn.y-small::after{inset:-12px -8px}
/* A status line takes no room until it says something. */
.y-text[role="status"]:empty{display:none}

/* Form code (chat forms): the number a person matches on their phone, at display size so it reads at a glance. A line
   of a Text leaf, over what to do with it. */
.yx-form-code{display:block;font-size:40px;line-height:48px;font-weight:700;letter-spacing:.04em;font-variant-numeric:tabular-nums}
/* Form error (chat forms): a status line that says a request did not go through, in the danger words. */
.y-text.yx-form-error{color:var(--danger-text)}
/* Form select (chat forms): a choice from a long list (a saved shop's times, the party size) is a TextField whose control
   is a native select; it looks like the field's input. The catalog has no Select. */
.y-field>.yx-form-select{box-sizing:border-box;width:100%;min-height:48px;margin:0;padding:12px;border:1px solid var(--line-strong);border-radius:var(--r-md);background:var(--surface);color:var(--ink);font:inherit;font-size:var(--fs-body);line-height:24px}
.y-card .y-field>.yx-form-select{border-radius:calc(var(--r-card) - 16px)}
.y-field>.yx-form-select:focus-visible{outline:0;border-color:var(--a);box-shadow:inset 0 0 0 1px var(--a)}

/* Live shot (live browser card): the page Pomi is on, from its top left, in a 16:9 frame held from the first draw (a
   skeleton while it loads), so its arrival moves nothing. A leaf. */
.yx-live-shot{display:block;margin:var(--leaf);aspect-ratio:16/9;overflow:hidden;border-radius:var(--r-md);background:var(--g2)}
.yx-live-shot[hidden]{display:none}
.yx-live-shot>img{display:block;width:100%;height:100%;object-fit:cover;object-position:top left}

/* Fold: a disclosure for lines that are read once (a task's background). A leaf; its summary reads as a borderless button. */
.yx-fold{min-width:0;font-size:var(--fs-sub);line-height:20px;color:var(--g4)}
.yx-fold>summary{display:flex;align-items:center;gap:4px;min-height:44px;list-style:none;color:var(--a-link);font-size:15px;line-height:20px;font-weight:600;cursor:pointer;-webkit-user-select:none;user-select:none}
.yx-fold>summary::-webkit-details-marker{display:none}
.yx-fold>summary>svg{flex:none;transition:transform var(--t-med) var(--ease-out)}
.yx-fold[open]>summary>svg{transform:rotate(90deg)}
.yx-fold>:is(ul,p){margin:0;padding:0 0 0 20px;overflow-wrap:anywhere}
.yx-fold>ul>li+li{margin-top:4px}
.yx-fold>ul>li>span:first-child{color:var(--g3)}

/* Dock (task screen): the one control pinned over the bottom of a scrolling screen. */
.yx-dock{position:absolute;left:var(--leaf);right:var(--leaf);bottom:calc(20px + env(safe-area-inset-bottom,0px));z-index:3}

/* Error words (forms): a status line that says something failed is in --danger-text words; the words still say what. */
.yx-error{color:var(--danger-text)}

/* Layer (live view): a full-screen layer over the app on --surface, inside the safe areas. Its rows are surfaces of
   catalog pieces; what it shows between them takes the rest of the height. */
.yx-layer{position:fixed;inset:0;z-index:1000;display:flex;flex-direction:column;box-sizing:border-box;padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px);background:var(--surface);color:var(--ink)}
/* Viewport (live view): the picture of a page that is open somewhere else, centred on --g1 in the rest of a layer. A press
   on it goes to that page, so the picture takes no drag or selection here. What happens instead of a page is a surface
   (.y-surface.yx-viewport-over) laid over it, its leaves centred. */
.yx-viewport{position:relative;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;background:var(--g1);outline:0}
.yx-viewport>img{display:block;max-width:100%;max-height:100%;outline:1px solid var(--img-outline);outline-offset:-1px;user-select:none;-webkit-user-select:none;-webkit-user-drag:none;touch-action:none;cursor:default}
.yx-viewport>img[hidden]{display:none}
.yx-viewport-over{position:absolute;inset:0;align-items:center;justify-content:center;text-align:center;background:color-mix(in srgb,var(--g1) 92%,transparent)}
.yx-viewport-over>*{max-width:320px}
.yx-viewport-over>form{width:100%;text-align:start}

/* ---- the public page (owner: landing, app/landing): the frame of a page that is not the app ---- */
/* Display: the one promise of the page at the display size, alone or under its label in one Text leaf. In Japanese and
   Chinese its phrases (the spans in it) do not break inside. */
.yx-display{display:block;margin:0;font-size:32px;line-height:42px;font-weight:700;letter-spacing:-.02em;text-wrap:balance}
.y-text>*+.yx-display{margin-top:4px}
.yx-display:is(:lang(ja),:lang(zh))>span{display:inline-block}
@media (min-width:900px){.yx-display{font-size:44px;line-height:56px}}
/* Masthead: the page's header; it stays at the top over the page's colour, inside the safe area. Its row is the brand
   (picture and name) and the languages; under 380px the name is said to a screen reader only, and under 340px the
   picture gives its room too, so the languages keep one line. */
.yx-masthead{position:sticky;top:0;z-index:10;padding-top:env(safe-area-inset-top,0px);background:color-mix(in oklch,var(--bg) 86%,transparent);-webkit-backdrop-filter:saturate(1.8) blur(12px);backdrop-filter:saturate(1.8) blur(12px)}
@media (max-width:379px){.yx-masthead .y-row>.y-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}}
@media (max-width:339px){.yx-masthead .y-avatar{display:none}}
/* Column: the page's one column, centred, 1080px at most; yx-reading narrows it to 680px for reading. */
.yx-column{box-sizing:border-box;width:100%;max-width:1080px;margin-inline:auto}
.yx-column.yx-reading{max-width:680px}
/* Hero: the promise and its picture. They arrive once; from 900px they stand side by side. */
.yx-hero>*{animation:yx-rise var(--t-slow) var(--ease-out) both}
.yx-hero>*+*{animation-delay:160ms}
@keyframes yx-rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media (min-width:900px){.yx-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:64px;align-items:center;padding:48px 0}}
/* Phone: a picture of the app at a phone's proportions, in a card's outline, with its caption under it (a figure, a
   leaf). In it, the promo video over a drawing of the same chat made of catalog pieces (bubbles that are leaves here, a
   card), which shows when there is no video. data-video="wait" keeps the video out of sight until it has a picture. */
.yx-phone{display:flex;flex-direction:column;align-items:center;margin:var(--leaf)}
.yx-phone>div{position:relative;box-sizing:border-box;display:flex;flex-direction:column;width:min(280px,74vw);aspect-ratio:390/844;overflow:hidden;isolation:isolate;border:1px solid var(--outline);border-radius:calc(var(--r-card) * 2);background:var(--bg)}
.yx-phone video{position:absolute;inset:0;z-index:1;width:100%;height:100%;object-fit:cover;transition:opacity var(--t-slow) var(--ease-out)}
.yx-phone[data-video="wait"] video{opacity:0}
.yx-phone video[hidden]{display:none}
.yx-phone .y-col.y-grow{justify-content:flex-end;min-height:0;overflow:hidden}
.yx-phone .y-col.y-grow>*{animation:yx-rise var(--t-slow) var(--ease-out) both}
.yx-phone .y-col.y-grow>:nth-child(2){animation-delay:500ms}
.yx-phone .y-col.y-grow>:nth-child(3){animation-delay:1000ms}
.yx-phone .y-col.y-grow>:nth-child(4){animation-delay:1500ms}
.yx-phone .y-col.y-grow>:nth-child(5){animation-delay:2200ms}
.yx-phone .yx-bubble{margin:var(--leaf)}

/* Section fold (memory): a section that starts folded. The section is a details whose summary is its label row (the
   label, a count as a caption, a yx-chev); the rows under it are the section's List. */
.yx-fold-section>summary{list-style:none}
.yx-fold-section>summary::-webkit-details-marker{display:none}
/* Chevron (memory): the mark after words that open something in place. It turns when what it opens is open. */
.yx-chev{display:inline-flex;vertical-align:middle;color:var(--g3);transform:rotate(90deg);transition:transform var(--t-med) var(--ease-out)}
[aria-expanded="true"]>.yx-chev,[open]>summary>.yx-chev{transform:rotate(-90deg)}
/* Text line button (memory): a line of a Text leaf that answers a press (the words that turn into a field, the source
   line that opens its original words). It keeps the line's look; a press shows only as the focus ring. */
.yx-tap-line{width:100%;padding:0;border:0;background:none;text-align:start;cursor:pointer}
.yx-tap-line:focus-visible{outline:2px solid var(--a);outline-offset:4px;border-radius:var(--r-xs)}
/* Confirm in place (destructive actions): the hold of a red button and its question (confirmInline). Closed, it is a
   row's trail; open, it takes a line of its own under the row, the question then the two buttons. */
.yx-confirm{display:flex;flex-direction:column;align-items:flex-end}
/* The open question: its words, then the two buttons sharing the line; the red one filled, as the last word. */
[data-confirm-box]{flex:1 1 100%;min-width:0;align-self:stretch}
[data-confirm-box]>.y-row>.y-btn{flex:1 1 0%;min-width:0}
[data-confirm-box] .y-btn.y-danger{background:var(--danger);color:var(--on-fill)}
[data-confirm-box] .y-btn.y-danger:not(:disabled):active{background:var(--danger-text)}
/* A memory being changed: deleting above, the foot's pair below; while deleting asks, its pair is the foot's. */
[data-memory-actions]>.yx-confirm{align-items:stretch}
[data-memory-foot]>.y-btn{flex:1 1 0%;min-width:0}
[data-memory-actions]:has([data-confirm-box]:not([hidden]))>[data-memory-foot]{display:none}
.y-row:has(>.yx-confirm>[role="group"]:not([hidden])){flex-wrap:wrap}
.y-row:has(>.yx-confirm>[role="group"]:not([hidden]))>.y-grow{flex-basis:auto}
.yx-confirm:has(>[role="group"]:not([hidden])){flex-basis:100%}

/* Fill (call screen): a column that fills the stage; the screen in it (.yx-screen) takes the height left under the rows above. */
.yx-fill{position:absolute;inset:0}
.yx-fill>.yx-screen{position:relative;inset:auto;flex:1;min-height:0}
/* Split (call screen): a column whose regions scroll on their own. The one that grows (y-grow) takes what is left; each
   yx-split-cap is held to a share of the height. */
.yx-split{display:flex;flex-direction:column;overflow:hidden}
.yx-split>:is(.y-grow,.yx-split-cap){min-height:0;overflow-y:auto;overscroll-behavior:contain}
.yx-split>.yx-split-cap{flex:0 1 auto;max-height:min(40vh,40%,16rem)}
@supports (height:1dvh){.yx-split>.yx-split-cap{max-height:min(40dvh,40%,16rem)}}
/* Sticky (call screen): a piece that stays at the top of its scrolling screen, on the page's colour. */
.yx-sticky{position:sticky;top:0;z-index:2;background:var(--bg)}
/* Screen-reader words (call screen): words a screen reader says that are not drawn, such as the speaker of a line in a
   run of the same speaker. */
.yx-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Caret (call screen): a line still being heard ends in a thin accent bar. */
/* Step progress (extension Step progress, app.js stepProgressHtml/stepProgress): a task's steps as 24px dots in a row, a
   4px track between the first and the last dot's centres, and its fill (the same line, scaled to the step reached; a
   value the script sets, --progress). Done: --a with its check in --on-fill; current: --surface ringed in --a, its number
   in --a-text; to come: --g1 with its number in --g3; failed: --danger-soft with its cross. The current step's words under it. */
.yx-progress{margin:var(--leaf)}
.yx-progress-track{position:relative;height:24px}
.yx-progress-track::before,.yx-progress-fill{content:'';position:absolute;left:12px;right:12px;top:10px;height:4px;border-radius:var(--r-pill);background:var(--g2)}
.yx-progress-fill{background:var(--a);transform:scaleX(var(--progress,0));transform-origin:0 50%}
.yx-progress-dots{position:relative;display:flex;justify-content:space-between}
.yx-progress-dot{display:grid;place-items:center;box-sizing:border-box;width:24px;height:24px;border-radius:50%;background:var(--g1);color:var(--g3);font-size:12px;font-weight:600;line-height:16px;font-variant-numeric:tabular-nums}
.yx-progress-dot>b{font-weight:inherit}
.yx-progress-dot[data-k="done"]{background:var(--a);color:var(--on-fill)}
.yx-progress-dot[data-k="cur"]{background:var(--surface);color:var(--a-text);box-shadow:inset 0 0 0 2px var(--a)}
.yx-progress-dot[data-k="fail"]{background:var(--danger-soft);color:var(--danger-text)}
.yx-progress-check{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.yx-progress-check>path{stroke-dasharray:1;stroke-dashoffset:0}
@supports (corner-shape:squircle){:is(.yx-progress-dot,.yx-progress-fill,.yx-progress-track::before){corner-shape:round}}
/* Parallax ticket (extension Parallax ticket): a confirmed booking as a ticket. The band says it is confirmed, the place and
   its time are the ticket's face, the stub past the perforation holds the party and the name, the back holds the rest.
   Depth comes from the layers parting as it tilts (ui-doc.js ticketMotion); no glare, no gradient. */
.yx-ticket-stage{display:flex;flex-direction:column;gap:8px;margin:var(--leaf);perspective:900px}
.yx-ticket-stage>[data-ticket-hint]{align-self:center;margin:0}
.yx-ticket{position:relative;display:grid;width:100%;margin:0;padding:0;border:0;border-radius:var(--r-card);background:none;color:inherit;font:inherit;text-align:start;transform-style:preserve-3d;-webkit-tap-highlight-color:transparent;touch-action:pan-y}
button.yx-ticket{cursor:pointer}
button.yx-ticket:focus-visible{outline:2px solid var(--a);outline-offset:4px}
.yx-ticket-side{grid-area:1/1;position:relative;display:flex;flex-direction:column;min-width:0;border-radius:var(--r-card);background:var(--surface);box-shadow:var(--shadow-border),var(--shadow-med);overflow:hidden;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.yx-ticket-side[data-ticket-side="back"]{justify-content:flex-start;gap:16px;padding:20px;transform:rotateY(180deg)}
.yx-ticket-side[data-ticket-side="back"]>.y-heading{margin:0}
.yx-ticket-side[data-ticket-side="back"]>.yx-facts{margin:0}
.yx-ticket-layer{will-change:transform}
.yx-ticket-band{margin:-8px -8px 0;padding:18px 28px 10px;background:var(--a-soft)}
.yx-ticket-band>.y-caption{margin:0;color:var(--a-text);font-weight:600}
.yx-ticket-main{display:flex;flex-direction:column;gap:2px;padding:16px 20px 20px}
.yx-ticket-main>*{margin:0}
.yx-ticket-main>.y-heading{margin-bottom:12px}
.yx-ticket-when{display:block;color:var(--ink);font-size:var(--fs-title);font-weight:700;line-height:1.2;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.yx-ticket-stub{position:relative;display:flex;flex-wrap:wrap;gap:8px 24px;padding:16px 20px 20px;border-top:2px dashed var(--g2)}
.yx-ticket-stub>.y-text{display:flex;flex-direction:column;gap:2px;margin:0;min-width:0}
.yx-ticket-stub>.y-text>*{margin:0}
/* The perforation's two notches, cut from the ticket in the page's own colour. */
.yx-ticket-stub::before,.yx-ticket-stub::after{content:'';position:absolute;top:-9px;width:16px;height:16px;border-radius:50%;background:var(--bg);box-shadow:inset 0 0 0 1px var(--g2)}
.yx-ticket-stub::before{left:-8px}
.yx-ticket-stub::after{right:-8px}
@media (prefers-reduced-motion: reduce){.yx-ticket-layer{will-change:auto}}
@supports (corner-shape:squircle){:is(.yx-ticket,.yx-ticket-side){corner-shape:round}}
.yx-caret{display:inline-block;width:2px;height:16px;margin-left:4px;vertical-align:-2px;background:var(--a)}
/* Marked row (call screen): the row a pressed choice points to (aria-current), on the accent tint. */
.yx-marked{background:var(--a-soft);border-radius:var(--r-sm)}

.y-text[data-sign-out-status]:empty{display:none}
/* Sign-in (extension, owner: sign-in): another company's button keeps that company's colour. Each is the screen's primary
   in shape and size; only the fill is theirs. */
.y-btn.y-primary.yx-line,.y-btn.y-primary.yx-line:not(:disabled):active{background:var(--line-green)}
/* Outside a primary, LINE's mark (an icon) keeps LINE's green, as LINE's guidelines ask: the landing page's share link. */
.y-icon.yx-line{color:var(--line-green)}
.y-btn.y-primary.yx-apple,.y-btn.y-primary.yx-apple:not(:disabled):active{background:var(--apple-fill);color:var(--on-apple)}

/* ---- answer cards (app/ui-doc.js) ----
   A result document (yx-doc, its slot) is a column of answer cards: in the chat they stand 4px apart under Pomi's words;
   on the task screen's 결과 tab they take the screen's width, one leaf apart. */
.yx-doc{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}
.yx-doc>*{max-width:100%}
[data-task-result]>.yx-doc{margin:var(--leaf);gap:16px}
[data-task-result]>.yx-doc>*{box-sizing:border-box;width:100%;max-width:none}
/* ---- answer cards (extensions, owner: answer cards) ----
   Every other piece of an answer card is the catalog's: steps are yx-steps, facts yx-facts, how-to steps, points and
   sources are a List of rows, words are Text. These add what the catalog has no piece for; scripts and tests find the
   pieces by data-ui-* hooks.
   Answer card: a catalog card (y-card) as wide as a card in the chat; a mail or an event from the person's own account is
   one too (data-record), its words a button that opens the mail when the screen can. A value carries where it came from
   (data-p): a value Pomi worked out is underlined in dots and tagged (yx-tag); words a page did not show as written are
   quiet. A row of a list leads with its rank (yx-rank), ends in its one number (yx-metric) and a chevron (yx-chev), and
   what it opens lines up under its words (yx-rank-more); its chevron (yx-row-chev) is drawn by the rule, no picture. A fact's source number is a small reference (yx-ref). A tag is a
   short label on --g1 (a caution's on --warn-bg). A card a LINE link points to is marked for a moment (data-linked).
   Gallery: photos in a row that swipes one at a time, a leaf of the card like any image; its count and the page's badge
   sit on the photo, and small default buttons step through it where a pointer can hover. */
.yx-gallery{position:relative;flex:none;margin:var(--leaf);overflow:hidden;border-radius:calc(var(--r-card) - 16px);background:var(--g1)}
.yx-gallery-track{display:flex;max-height:320px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;outline-offset:-2px}
.yx-gallery-track::-webkit-scrollbar{display:none}
.yx-gallery-track>.y-image{flex:0 0 100%;width:100%;height:100%;margin:0;border-radius:0;scroll-snap-align:start;scroll-snap-stop:always;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}
.yx-gallery-badge,.yx-gallery-count{position:absolute;z-index:1;padding:4px 8px;border-radius:var(--r-pill);font-size:var(--fs-cap);line-height:18px;font-weight:600;font-variant-numeric:tabular-nums;pointer-events:none}
.yx-gallery-badge{left:8px;top:8px;background:var(--a-soft);color:var(--a-text)}
.yx-gallery-count{right:8px;bottom:8px;background:oklch(0 0 0/.55);color:var(--on-fill)}
.yx-gallery-count:empty{display:none}
.yx-gallery>.y-btn{position:absolute;top:calc(50% - 18px);z-index:1;margin:0;padding:0 8px;opacity:0}
.yx-gallery-prev{left:8px}
.yx-gallery-next{right:8px}
.yx-gallery>.y-btn:focus-visible{opacity:1}
@media (hover:hover){.yx-gallery:hover>.y-btn{opacity:1}}
@media (hover:none){.yx-gallery>.y-btn{display:none}}
/* Table: a comparison, a leaf that scrolls sideways. The label column stays while the things scroll under it, and the
   next one shows at the edge until the last is in view. Cells read as facts do (yx-facts): labels quiet, values in the
   words' colour, 8px around each; a head is a Text leaf under an optional photo. Its rows keep a hairline, because a
   table is read across them. */
.yx-table{flex:none;min-width:0;margin:var(--leaf);overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;outline-offset:-2px;-webkit-mask-image:linear-gradient(90deg,black calc(100% - 28px),transparent);mask-image:linear-gradient(90deg,black calc(100% - 28px),transparent)}
.yx-table[data-end]{-webkit-mask-image:none;mask-image:none}
.yx-table::-webkit-scrollbar{display:none}
.yx-table>table{margin-right:28px;border-collapse:separate;border-spacing:0}
.yx-table :is(th,td){padding:8px;text-align:start;vertical-align:top;font-size:var(--fs-sub);line-height:20px;font-weight:400;overflow-wrap:anywhere}
.yx-table thead th{padding:0}
.yx-table thead .y-heading{font-size:15px;line-height:20px}
.yx-table tbody :is(th,td){border-top:1px solid var(--g2)}
.yx-table td,.yx-table thead th:not(:first-child){min-width:106px;max-width:124px;font-variant-numeric:tabular-nums}
.yx-table th[scope=row],.yx-table thead th:first-child{position:sticky;left:0;z-index:1;box-sizing:border-box;width:76px;min-width:76px;max-width:76px;padding-left:0;background:var(--bg);color:var(--g3);box-shadow:1px 0 0 var(--g2)}
.yx-table tr[data-k="price"] td{font-size:var(--fs-body);line-height:24px;font-weight:600;white-space:nowrap}
/* Note: words that explain what they follow, after a mark, on the quiet fill; a caution has its own mark and the caution
   fill. A leaf. */
.yx-note{display:flex;align-items:flex-start;gap:8px;min-width:0;margin:var(--leaf);padding:8px 12px;border-radius:var(--r-md);background:var(--g1);color:var(--g4);font-size:var(--fs-sub);line-height:20px;overflow-wrap:anywhere}
.yx-note[data-tone="caution"]{background:var(--warn-bg);color:var(--warn-ink)}
.yx-note>.y-icon{margin:0;width:20px;height:20px}

/* ---- chat (extensions, owner: chat) ----
   Bubble: words on a fill. Pomi's on the quiet fill, the person's on the accent; the side is a data variant (data-from="me"
   or "them"), like yx-note[data-tone]. Body text; the bubble's own round corner.
   Composer: the one field of the chat, on the quiet fill, with its round send button (yx-composer-send). Over the tab bar
   in a task's chat; the last row of the chat's frame (yx-chat) in the main one. Both are built on tokens only. */
.yx-bubble{max-width:min(280px,calc(100% - 48px));margin:0;padding:12px 16px;border:0;border-radius:var(--r-bub);font-size:var(--fs-body);line-height:24px;white-space:pre-wrap;overflow-wrap:anywhere;text-wrap:pretty}
.yx-bubble[data-from="me"]{align-self:flex-end;background:var(--a);color:var(--on-fill);transform-origin:100% 100%}
.yx-bubble[data-from="them"]{align-self:flex-start;background:var(--g1);color:var(--ink);transform-origin:0 100%}
.yx-bubble b{font-weight:600}
html[lang=ja] .yx-bubble{word-break:auto-phrase;line-height:1.6}
.yx-composer{position:absolute;left:16px;right:16px;bottom:calc(var(--tab-h) + 12px);z-index:3;display:flex;align-items:center;gap:8px;box-sizing:border-box;min-height:48px;margin:0;padding:4px 4px 4px 20px;border:0;border-radius:var(--r-sheet);background:var(--g1);color:var(--g3);font-size:var(--fs-body);transition:box-shadow var(--t-fast) var(--ease),background-color var(--t-fast) var(--ease)}
.yx-composer:focus-within{background:var(--surface);box-shadow:inset 0 0 0 2px var(--a)}
.yx-chat>.yx-composer{position:relative;left:auto;right:auto;bottom:auto;flex:none;margin:4px 16px 12px}
.yx-composer textarea{box-sizing:border-box;flex:1;min-width:0;height:24px;min-height:24px;max-height:24px;margin:0;padding:0;border:0;outline:0;resize:none;overflow-y:auto;font:inherit;font-size:var(--fs-body);line-height:24px;color:var(--ink);background:transparent}
.yx-composer textarea::placeholder{color:var(--g3)}
.yx-composer-send{position:relative;flex:none;display:flex;align-items:center;justify-content:center;width:40px;height:40px;margin:0;padding:0;border:0;border-radius:50%;background:var(--a);color:var(--on-fill);cursor:pointer}
.yx-composer-send::after{content:'';position:absolute;inset:-2px}
.yx-composer-send>svg{margin-top:-1px}
.yx-composer-send:disabled{opacity:1;background:var(--a-off);cursor:default}
.yx-composer-send[hidden]{display:none}
/* Code (extension Code, otpCode in app.js): a code typed by hand as one box per character, on the designbookmark "OTP
   code" springs. Boxes are filled fields (--g1, --r-md, 48 by 56px, narrower when the card is) in a row 8px apart; the real
   input lies over them, clear, so it keeps its keyboard, paste and code suggestion. The box the next character goes to
   has the --a focus ring and a caret; a taken code closes into one --a pill with --on-fill words. */
:root{--spring-otp-digit:520 16;--spring-otp-fade:400 28;--spring-otp-active:300 26;--spring-otp-merge:260 24;--spring-otp-done:220 28}
.yx-otp{position:relative;min-height:56px}
.yx-otp-row{position:relative;display:inline-flex;max-width:100%;gap:8px;height:56px;vertical-align:top}
.yx-otp-box{position:relative;flex:0 1 auto;width:48px;min-width:0;display:grid;place-items:center;border-radius:var(--r-md);background:var(--g1);color:var(--ink);font-size:24px;line-height:1;font-weight:700;font-variant-numeric:tabular-nums}
.yx-otp-ch{display:block;will-change:transform,opacity}
.yx-otp-car{position:absolute;left:50%;top:16px;width:2px;height:24px;margin-left:-1px;border-radius:var(--r-xs);background:var(--a);animation:yx-otp-blink 1.1s steps(1) infinite}
.yx-otp-car[hidden]{display:none}
@keyframes yx-otp-blink{0%{opacity:1}60%{opacity:0}}
.yx-otp-ok{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:8px;color:var(--on-fill);font-size:var(--fs-body);font-weight:700;opacity:0;pointer-events:none}
.yx-otp>input.yx-otp-input{position:absolute;inset:0;z-index:1;box-sizing:border-box;width:100%;height:56px;min-height:0;margin:0;padding:0;border:0;opacity:0;background:transparent;color:transparent;caret-color:transparent;font-size:16px;cursor:text}
.yx-otp>input.yx-otp-input:disabled{cursor:default}
@media (prefers-reduced-motion: reduce){.yx-otp-car{animation:none}}
/* Photos and videos (docs/chat-media.md). Attach: a borderless round button at the composer's start, the field's own
   inset. Tray: the picked files over the composer, a row of square thumbnails that scrolls sideways, each with its progress
   or failure in words and a small button to take it out. Chat media: a sent message's photos on the person's side, over its
   bubble, as wide as a bubble; several sit two to a row as squares, one keeps its shape. */
/* Goo (extension Goo, gooAttach in app.js): the attach button opens a menu of drops that pour out of it, fused by the
   #pomi-goo filter, on the designbookmark "Goo menu" springs. Drops are --g2 with --ink icons (the grey of a
   free-standing object, as the island); the plus turns into a close mark on its own --g2 drop. The radius is 130 (the source has 112 for four drops around the plus; here three share a quarter turn, and at 112 they stay fused at rest). A drop's name shows over it
   on hover, on the toast fill. The layers hang over the composer and take no touches; only open drops do. */
:root{--goo-out:230 15;--goo-in:520 34;--goo-release:300 12;--goo-radius:130;--goo-stagger:45;--goo-blur:10}
.yx-goo-defs{position:absolute;width:0;height:0;overflow:hidden}
.yx-composer>.yx-goo{position:relative;z-index:5;flex:none;width:40px;height:40px;margin:0 0 0 -16px}
.yx-goo>.yx-composer-attach{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:40px;height:40px;margin:0;padding:0;border:0;border-radius:50%;background:transparent;color:var(--g4);cursor:pointer}
.yx-goo>.yx-composer-attach::after{content:'';position:absolute;inset:-2px}
.yx-goo>.yx-composer-attach>svg{will-change:transform}
.yx-goo[data-open]>.yx-composer-attach{color:var(--ink)}
.yx-goo-layer,.yx-goo-ui{position:absolute;left:-50px;top:-160px;width:240px;height:210px;pointer-events:none}
.yx-goo-layer{filter:url(#pomi-goo)}
.yx-goo-blob{position:absolute;left:0;top:0;border-radius:var(--r-pill);background:var(--g2);transform:scale(0);will-change:transform}
.yx-goo-drop{position:absolute;left:0;top:0;display:grid;place-items:center;width:48px;height:48px;margin:0;padding:0;border:0;border-radius:var(--r-pill);background:none;color:var(--ink);cursor:pointer;opacity:0;touch-action:none;outline:none;transition:none}
.yx-goo[data-open] .yx-goo-drop{pointer-events:auto}
.yx-goo-drop:focus-visible{box-shadow:0 0 0 2px var(--a)}
.yx-goo-tip{position:absolute;left:50%;bottom:calc(100% + 8px);padding:4px 10px;border-radius:var(--r-pill);background:var(--toast);color:var(--on-fill);font-size:var(--fs-cap);line-height:18px;font-weight:600;white-space:nowrap;pointer-events:none;opacity:0;transform:translate(-50%,4px) scale(.9);transition:opacity var(--t-fast) var(--ease),transform var(--t-med) var(--ease-pop)}
.yx-goo-drop.yx-hover>.yx-goo-tip,.yx-goo-drop:focus-visible>.yx-goo-tip{opacity:1;transform:translate(-50%,0) scale(1)}
.yx-media-tray{flex:none;display:flex;gap:8px;margin:0 16px 4px;padding:4px 0;overflow-x:auto;scrollbar-width:none}
.yx-media-tray[hidden]{display:none}
.yx-media-thumb{position:relative;flex:none;width:64px;height:64px;border-radius:var(--r-md);background:var(--g1);overflow:hidden}
.yx-media-thumb>.y-image{display:block;width:100%;height:100%;object-fit:cover;border-radius:0}
.yx-media-thumb[data-state="uploading"]>.y-image{opacity:.6}
.yx-media-kind{position:absolute;left:6px;bottom:4px;color:var(--on-fill);font-size:var(--fs-cap);line-height:1}
.yx-media-progress{position:absolute;left:6px;right:6px;bottom:6px;width:auto;height:4px;margin:0;accent-color:var(--a)}
.yx-media-failed{position:absolute;left:0;right:0;bottom:0;padding:2px 4px;background:var(--danger-soft);color:var(--danger-text);font-size:var(--fs-cap);line-height:1.3}
.yx-media-remove{position:absolute;top:2px;right:2px;display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin:0;padding:0;border:0;border-radius:50%;background:var(--scrim);color:var(--on-fill);cursor:pointer}
.yx-media-remove::after{content:'';position:absolute;inset:-6px}
.yx-chat-media{align-self:flex-end;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;width:min(280px,calc(100% - 48px));margin:0}
.yx-chat-media[data-count="one"]{grid-template-columns:1fr}
.yx-chat-media-item{display:block;width:100%;max-height:320px;object-fit:cover;border-radius:var(--r-bub);background:var(--g1)}
.yx-chat-media[data-count="many"]>.yx-chat-media-item{aspect-ratio:1}
/* In the chat a live task card stands where Pomi's other cards stand: under her bubbles, as wide as they are (the chat
   card's edge, .yx-chat-card). Its slot and the box under the conversation are layout and take no room of their own. */
.yx-chat-col>:is([data-task-slot],#browser-activity)>.y-card{width:min(560px,calc(100% - 40px - 2 * var(--leaf)));margin:0 var(--leaf) 0 calc(var(--leaf) + 40px)}
.yx-chat-col>:is([data-task-slot],#browser-activity)>.y-card+.y-card{margin-top:var(--leaf)}

/* ================= motion =================
   The keyframes every piece moves by (design/SYSTEM.md, Motion): transform and opacity only, on the tokens' spring.
   Reduced motion turns them all off (the base rule in polish.css). */
@keyframes task-live-pulse{0%,100%{opacity:1}50%{opacity:.3}}
@keyframes pomi-typing{0%,100%{opacity:.35}50%{opacity:1}}
@keyframes pomi-typing-wave{
  0%,100%{background:var(--g3);box-shadow:10px 0 0 color-mix(in oklch,var(--g3) 45%,transparent),20px 0 0 color-mix(in oklch,var(--g3) 45%,transparent)}
  33%{background:color-mix(in oklch,var(--g3) 45%,transparent);box-shadow:10px 0 0 var(--g3),20px 0 0 color-mix(in oklch,var(--g3) 45%,transparent)}
  66%{background:color-mix(in oklch,var(--g3) 45%,transparent);box-shadow:10px 0 0 color-mix(in oklch,var(--g3) 45%,transparent),20px 0 0 var(--g3)}
}
@keyframes pomi-skel{0%,100%{opacity:1}50%{opacity:.55}}
@keyframes pomi-toast-in{from{opacity:0;transform:translateY(12px) scale(.98);filter:blur(4px)}to{opacity:1;transform:none;filter:blur(0)}}
@keyframes pomi-spin{to{transform:rotate(360deg)}}
@keyframes pomi-msg-in{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}
@keyframes pomi-fade-up{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes pomi-pop-in{from{opacity:0;transform:scale(.85)}to{opacity:1;transform:none}}
@keyframes pomi-screen-in{from{opacity:.6;transform:translateX(var(--enter-x,0px)) translateY(var(--enter-y,0px))}to{opacity:1;transform:none}}
@keyframes pomi-content-in{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:none}}
@keyframes pomi-ring-in{from{outline-offset:6px;outline-color:transparent}}
@keyframes pomi-layer-in{from{opacity:0;transform:translateY(24px) scale(.98)}to{opacity:1;transform:none}}
/* The stage dims while its owner is checked, and comes back at once. */
#stage,[data-home-owner-view]{transition:opacity var(--t-med) var(--ease)}
#stage[aria-hidden="true"],[data-home-owner-view][aria-hidden="true"]{transition:none}
/* A layer comes up 24px and from .98 on the spring. */
.yx-layer{animation:pomi-layer-in var(--t-slow) var(--ease-out) both}
/* An asking control hides while its question is open, whatever display its own class gives it. */
[data-confirm-ask][hidden]{display:none}
/* With reduced motion a press does not scale (pages without polish.css's base, the landing and the vault, too). */
@media (prefers-reduced-motion: reduce){:is(.y-btn,.y-chip,.y-row.y-tap):active{transform:none}}
/* Continuous corners (polish.css sets every element to a squircle): circles, pills and bubbles stay round. :is() so it
   holds on any page whatever the order its stylesheets load in. */
.yx-island-words{flex:1 1 auto}
@supports (corner-shape:squircle){:is(.yx-island-dot,.y-btn,.yx-tabbar,.yx-tabbar>a,.yx-tabbar::before,.yx-bubble,.yx-tabbar-count,.y-image.y-avatar,.y-chip,.yx-badge,.yx-badge-mark,.yx-step-mark,.yx-gallery-count,.yx-gallery-badge,.yx-deck-stamp,[data-saved-shop-image]){corner-shape:round}}

/* ================= the app's frame (extensions, owner: chrome) =================
   App: the page's one frame (index.html #ph), the whole window up to 480px wide; on a wider window it stands on the quiet
   fill with a hairline. Stage: where a screen is drawn (#stage), under the top safe area. Screen: what scrolls in the
   stage (data-screen); after the top bar it starts under it, over the tab bar it ends above it (yx-tabbed), over the
   chat's composer it ends above that (yx-composing). Safe end: room at a screen's foot so its last piece clears the
   bottom safe area. Glyph: one of the app's stroked drawings inside an Icon or a button, sized by its own width and
   height; a mark in a badge or a step is drawn heavier. */
.yx-app{position:relative;width:100%;max-width:480px;height:100vh;height:100dvh;overflow:hidden;background:var(--bg)}
@media (min-width:481px){.yx-app{box-shadow:0 0 0 .5px var(--g2)}}
.yx-stage{position:absolute;left:0;right:0;top:env(safe-area-inset-top,0px);bottom:0}
.yx-screen{position:absolute;inset:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:none;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.yx-screen::-webkit-scrollbar{display:none}
.yx-screen:focus{outline:none}
.yx-screen.yx-tabbed{bottom:var(--tab-h)}
/* The bar floats 10px up and is 62px tall: the last row ends a row's gap (24px) above it, not 8px. */
.yx-screen.yx-tabbed:not(.yx-composing){bottom:0;padding-bottom:calc(var(--tab-h) + 2 * var(--leaf))}
.yx-screen.yx-composing{bottom:88px}
.yx-screen.yx-tabbed.yx-composing{bottom:calc(var(--tab-h) + 64px)}
.yx-screen.yx-tabbed.yx-composing.yx-over-quote{bottom:calc(var(--tab-h) + 106px)}
.yx-safe-end{height:calc(88px + env(safe-area-inset-bottom,0px))}
.yx-glyph{flex:none;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
.yx-glyph [data-body]{fill:currentColor;fill-opacity:.3;stroke:none}
.yx-glyph [data-detail]{fill:currentColor;stroke:none}
:is(.yx-badge-mark,.yx-step-mark)>.yx-glyph{stroke-width:2.8}
/* In the phone apps (html[data-native], set by native-bridge.js) the page feels like the app it lives in: no rubber-band
   of the whole page, no text selection on controls, the frame the whole screen. Android paints the frame once more in a
   shade the eye cannot tell apart (data-repaint), so old pixels go. */
html[data-native],html[data-native] body{overscroll-behavior:none;-webkit-text-size-adjust:100%;text-size-adjust:100%;background:var(--bg)}
html[data-native] body{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}
html[data-native] :is(button,a,[role=button],.yx-tabbar,.yx-bar,.y-item){-webkit-user-select:none;user-select:none;touch-action:manipulation}
html[data-native] :is(input,textarea,[contenteditable="true"],.yx-bubble){-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}
html[data-native] .yx-app{max-width:none;box-shadow:none}
html[data-native="android"] .yx-app[data-repaint]{background-color:color-mix(in srgb,var(--bg) 99%,var(--g3))}
/* Toast: a line that says what happened, over the tab bar, on the toast fill; it arrives once. */
.yx-toast{position:absolute;left:16px;right:16px;bottom:calc(var(--tab-h) + 16px);z-index:40;padding:16px;border-radius:var(--r-lg);background:var(--toast);color:var(--on-fill);font-size:15px;line-height:20px;box-shadow:var(--shadow-med);animation:pomi-toast-in var(--t-slow) var(--ease-out) both}
/* Outline: the shape of what is coming while a screen loads (yx-loading on the screen, a .yx-skel for each piece). */
.yx-screen.yx-loading{display:flex;flex-direction:column;gap:12px;padding:20px 16px}
.yx-skel{display:block;border-radius:var(--r-md);background:var(--g1);animation:pomi-skel 1.2s ease-in-out infinite}
.yx-skel-title{width:96px;height:32px}
.yx-skel-line{width:60%;height:16px;border-radius:var(--r-pill)}
.yx-skel-block{height:72px;border-radius:var(--r-card)}
.yx-skel-bub{width:62%;height:64px;border-radius:var(--r-bub)}
.yx-skel-me{align-self:flex-end;width:48%;height:44px}
/* Kept view: the screen left behind, shown again while its new one is read; nothing on it answers a press. */
.yx-stale{display:contents}
.yx-stale :is(button,a,input,select,textarea,[role=button],[data-go]){pointer-events:none}
/* Checking: while the stage is held back (its owner being checked), one quiet pill over it says so. */
.yx-checking{display:none}
#stage[aria-hidden="true"]+.yx-checking[data-show]{display:block;position:absolute;left:24px;right:24px;top:42%;width:max-content;max-width:calc(100% - 48px);margin:0 auto;box-sizing:border-box;padding:8px 16px;border-radius:var(--r-pill);background:var(--g1);color:var(--g4);font-size:13px;line-height:18px;white-space:nowrap;animation:pomi-content-in var(--t-med) var(--ease-out) both}
/* A new screen arrives on the spring, from where its tab sits (--enter-x, --enter-y set by app.js); content that takes a
   loading outline's place fades in. */
.yx-screen-in{animation:pomi-screen-in var(--t-med) var(--ease-out) both}
.yx-content-in{animation:pomi-content-in var(--t-med) var(--ease-out) both}
@supports (corner-shape:squircle){:is(.yx-skel-line,.yx-skel-bub,#stage[aria-hidden="true"]+.yx-checking[data-show]){corner-shape:round}}

/* ================= cleanup areas (2026-11-26) =================
   Each area of the last pass adds its extensions between its own two markers. */
/* ==== area: chat frame ==== */
/* Chat (owner: chat): the chat's frame between the bar and the tab bar. The conversation's screen takes what is left over
   the lines under it (the composer's status, a line about a request, the "later" buttons) and the composer. */
.yx-chat{position:absolute;top:var(--bar-h);bottom:var(--tab-h);left:0;right:0;display:flex;flex-direction:column;min-height:0;background:var(--bg)}
.yx-chat>.yx-screen.yx-composing{position:relative;inset:auto;flex:1;min-height:0}
.yx-chat>.y-btn{flex:none;align-self:flex-end;margin:0 16px 4px}
/* Chat note (owner: chat): the chat's one system line, in the column or under it (the composer's status, Google not read,
   what happened to a request with what can be done about it): a caption in --g3, centred like the time between runs, its
   buttons centred under it. It is not anyone's message, so it stands on neither side. */
.yx-chat-note{flex:none;padding:0 var(--leaf);text-align:center}
.yx-chat-note.y-col{align-items:center}
.yx-chat-note .y-row{justify-content:center}
.yx-chat-col>.yx-chat-note{align-self:center;max-width:calc(100% - 80px);padding:0;margin-top:16px}
/* Chat column (owner: chat): the conversation, one column padded like a surface. Every piece in it stands one leaf in, so
   a bubble, a card and a Text leaf share the edge 16px inside the screen. Runs: pieces of one side follow 4px apart, a
   new run starts 16px below; Pomi's side (her bubbles, her cards, a result's cards and the brief's records) stands 40px in
   and its first piece carries her face once (::before). */
.yx-chat-col{display:flex;flex-direction:column;gap:4px;padding:16px var(--leaf) 20px}
/* Chat's first run (owner: chat): an empty conversation holds Pomi, small, with her first sentence in her bubble over her,
   in the middle of the screen. It goes the moment anything else stands in the column (a sent bubble, a reply, a card). */
.yx-chat-empty{position:absolute;inset:0;align-items:center;justify-content:center;padding:var(--leaf);text-align:center;pointer-events:none}
.yx-chat-empty>.yx-pomi-say{text-wrap:balance}
.yx-chat-empty>.yx-pomi-stage{width:100%;height:136px;margin:0}
.yx-chat-empty>.yx-pomi-stage>img{height:120px}
.yx-chat-col:has(>:not(.yx-chat-empty,#browser-activity,[hidden])) >.yx-chat-empty,.yx-chat-col:has(>#browser-activity>*) >.yx-chat-empty{display:none}
/* One width for everything of hers that is not a bubble (owner, 2026-11-28): a card, a result document and a brief all
   start where her bubbles start and end at the column's edge (560px at most), so their outlines line up down the chat.
   A document's cards give up their own side margins and fill it; its words keep a bubble's width, a comparison its own. */
.yx-chat-col>:is(.yx-chat-card,.yx-doc,.yx-brief,.y-card[data-card]){box-sizing:border-box;width:min(560px,calc(100% - 40px - 2 * var(--leaf)))}
.yx-chat-col>.y-card[data-card]{margin-left:calc(var(--leaf) + 40px)}
.yx-chat-col>.yx-doc{align-items:stretch}
.yx-chat-col>.yx-doc>.yx-answer{width:auto;margin-inline:0}
.yx-chat-col>.yx-doc>:is(.yx-bubble,.yx-answer[data-ui-card="table"]){align-self:flex-start}
.yx-chat-col>.yx-doc .yx-carousel-slide>.y-card{margin:0}
.yx-chat-col>.yx-doc .yx-carousel-track{margin-right:calc(-2 * var(--leaf));padding-right:calc(2 * var(--leaf))}
.yx-chat-col>:where(:not([data-task-slot],#browser-activity)){margin-left:var(--leaf);margin-right:var(--leaf)}
.yx-chat-col>:is(.yx-bubble[data-from="them"],.yx-chat-card,.yx-doc,.yx-brief,.yx-chat-typing:not([hidden])){position:relative;margin-left:calc(var(--leaf) + 40px);max-width:calc(100% - 40px - 2 * var(--leaf))}
.yx-chat-col>:is(.yx-bubble[data-from="them"],.yx-chat-card,.yx-doc,.yx-brief,.yx-chat-typing:not([hidden])):not(:is(.yx-bubble[data-from="them"],.yx-chat-card,.yx-doc,.yx-brief)+*){margin-top:16px}
.yx-chat-col>:is(.yx-bubble[data-from="them"],.yx-chat-card,.yx-doc,.yx-brief,.yx-chat-typing:not([hidden])):not(:is(.yx-bubble[data-from="them"],.yx-chat-card,.yx-doc,.yx-brief)+*)::before{content:'';position:absolute;left:-40px;top:0;width:32px;height:32px;border-radius:50%;background:var(--pomi-av) center/cover no-repeat}
.yx-chat-col>:is(.yx-bubble[data-from="them"],.yx-chat-typing:not([hidden])):not(:is(.yx-bubble[data-from="them"],.yx-chat-card,.yx-doc,.yx-brief)+*){border-top-left-radius:6px}
.yx-chat-col>.yx-bubble[data-from="me"]:not(.yx-bubble[data-from="me"]+*){margin-top:16px;border-top-right-radius:6px}
.yx-chat-col>:is(.yx-chat-card,.yx-doc,.yx-brief){transform-origin:0 100%}
.yx-chat-col>:first-child{margin-top:0!important}
/* A time between runs: a caption in the middle, with room under it. */
.yx-chat-col>.yx-chat-time{align-self:center;padding:8px 0 4px}
.yx-chat-col>.yx-chat-time+*{margin-top:8px!important}
/* Where a message came by (LINE), a caption on its side, held under its bubble (4px, the run's gap) and on the bubble's
   edge: Pomi's starts where her bubbles start. */
.yx-chat-source{align-self:flex-start}
.yx-chat-source[data-chat-source="me"]{align-self:flex-end}
.yx-chat-col>.yx-chat-source{margin-top:0;margin-bottom:0}
.yx-chat-col>.yx-chat-source[data-chat-source="them"]{margin-left:calc(var(--leaf) + 40px)}
/* A caption over a card of Pomi's (a reworked research card): they share the card's edge. */
.yx-chat-group>.y-text{margin:0 0 4px}
/* Inside a bubble: a button under the words, at the bubble's inset corner; the onboarding question in semibold; the facts
   Pomi can look at as Text leaves one under another. */
.yx-bubble .y-btn{margin:12px 0 0;border-radius:var(--r-pill)}
/* A bubble is already the grey a default button is filled with: there the button stands on the surface. */
.yx-bubble .y-btn:not(.y-primary,.y-borderless){background:var(--surface)}
.yx-bubble>.y-text{margin:0}
.yx-bubble>.y-text+.y-text{margin-top:12px}
.yx-bubble-ask{padding:12px;font-weight:600}
.yx-bubble-ask>.y-btn{font-weight:600}
.yx-bubble-facts{width:min(100%,320px);padding:16px;white-space:normal}
.yx-bubble-facts>.y-text>.y-body{white-space:pre-wrap}
/* The person's message on its way: quieter until the conversation has it, with what is being checked under it. */
.yx-bubble[data-own-pending]{opacity:.72}
.yx-bubble[data-own-checking]::after{content:attr(data-own-checking);display:block;margin-top:4px;font-size:12px;line-height:16px;opacity:.85}
.yx-bubble[data-from="them"] .yx-md-code{background:color-mix(in oklch,var(--g2) 70%,transparent)}
/* Chat card (owner: chat): the frame of a card Pomi puts in the chat (data-chat-card): an outline, as the catalog's card,
   300px wide on her side. What is inside belongs to the card; a column of leaves pads as a card does, and a piece inside
   takes the inset corner. */
.yx-chat-card{display:block;align-self:flex-start;box-sizing:border-box;width:300px;padding:12px;border:1px solid var(--outline);border-radius:var(--r-card);background:transparent;box-shadow:none;color:inherit}
.yx-chat-card:has(>.y-col){padding:var(--leaf)}
.yx-chat-card :is(.y-field>input,.y-field>textarea,.y-field>.yx-form-select){border-radius:calc(var(--r-card) - 16px)}
/* Chat reference (owner: chat): the task a message is about, a quiet tile over the bubble, on the bubble's side; it opens
   the task. */
.yx-chat-ref{display:block;align-self:flex-start;box-sizing:border-box;max-width:280px;padding:8px 12px;border-radius:var(--r-md);background:var(--g1);color:var(--g4);font-size:var(--fs-cap);line-height:18px;text-align:start;text-decoration:none;cursor:pointer;-webkit-user-select:none;user-select:none;transition:transform var(--t-med) var(--ease-out),background-color var(--t-fast) var(--ease)}
.yx-chat-ref[data-task-quote="me"]{align-self:flex-end}
.yx-chat-ref:active{transform:scale(.96)}
/* Chat quote (owner: chat): in a task's chat, the task the next message is about, over the composer, with a way to drop it. */
.yx-chat-quote{position:absolute;left:16px;right:16px;bottom:calc(var(--tab-h) + 60px);z-index:3;display:flex;align-items:center;gap:8px;box-sizing:border-box;padding:8px 12px;border-radius:var(--r-md);background:var(--g1);color:var(--g3);font-size:var(--fs-cap);line-height:18px}
.yx-chat-quote>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.yx-chat-quote>button{position:relative;display:flex;flex:none;align-items:center;justify-content:center;min-width:44px;min-height:44px;margin:-12px -12px -12px 0;padding:0;border:0;background:transparent;color:var(--g3);font:inherit;font-size:20px;cursor:pointer}
/* Typing (owner: chat): Pomi writing back, three dots taking turns in a bubble of her cream; the words stay for a screen
   reader. It pops in once per wait (yx-pop-in). */
.yx-chat-typing:not([hidden]){align-self:flex-start;display:inline-flex;align-items:center;box-sizing:border-box;height:40px;padding:0 16px;border-radius:var(--r-bub);background:var(--cream);color:transparent;font-size:0;line-height:0;transform-origin:0 100%}
.yx-chat-typing:not([hidden])::after{content:'';width:6px;height:6px;margin-right:20px;border-radius:50%;background:var(--g3);box-shadow:10px 0 0 var(--g3),20px 0 0 var(--g3);animation:pomi-typing-wave 1.05s ease-in-out infinite}
.yx-chat-typing.yx-pop-in:not([hidden]){animation:pomi-pop-in var(--t-med) var(--ease-pop) both}
/* Held reply (owner: chat): while the chat checks that a reply still belongs to this session, a quiet bubble-shaped
   outline stands in its place on Pomi's side (the words stay for a screen reader). */
.yx-chat-col>.yx-chat-held{position:relative;align-self:flex-start;box-sizing:border-box;width:min(62%,240px);height:44px;margin-left:calc(var(--leaf) + 40px);padding:0;overflow:hidden;border-radius:var(--r-bub);background:var(--g1);color:transparent;font-size:0;line-height:0;animation:pomi-skel 1.2s ease-in-out infinite}
.yx-chat-col>.yx-chat-held+.yx-chat-held{width:min(44%,170px)}
/* The conversation's rows on their way: the bubbles' outline, as when the chat first opens. */
.yx-chat-loading{display:flex;flex-direction:column;gap:12px}
/* Checking (owner: chat): a small pill over the bottom edge of the conversation while the server has not answered for a
   while; it takes no height of its own. In a task's chat it stands in the gap over the quote. */
.yx-chat-checking{display:flex;align-items:center;gap:8px;box-sizing:border-box;width:fit-content;max-width:calc(100% - 40px);height:28px;padding:0 12px;border-radius:var(--r-pill);background:var(--overlay);box-shadow:var(--shadow-low);color:var(--g3);font-size:var(--fs-cap);line-height:18px;font-weight:600;white-space:nowrap;pointer-events:none;z-index:3;animation:pomi-toast-in var(--t-med) var(--ease)}
.yx-chat-checking[hidden]{display:none!important}
.yx-chat-checking::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--a);animation:pomi-typing 1.2s ease-in-out infinite}
.yx-chat>.yx-chat-checking{position:relative;align-self:center;margin:-36px 0 8px}
.yx-stage>.yx-chat-checking{position:absolute;left:0;right:0;margin:0 auto;height:24px;bottom:calc(var(--tab-h) + 99px)}
/* Arrival (owner: chat): only what is new moves, once. A message comes up a little (the next two a beat later), a live
   task card fades up. */
.yx-msg-in{animation:pomi-msg-in var(--t-slow) var(--ease-out) both}
.yx-msg-in+.yx-msg-in{animation-delay:50ms}
.yx-msg-in+.yx-msg-in+.yx-msg-in{animation-delay:100ms}
.yx-card-in{animation:pomi-fade-up var(--t-slow) var(--ease-out) both}
/* Starter (owner: chat): the chat's example requests, a List whose rows arrive one after another. */
.yx-screen-in .yx-starter>li{animation:pomi-fade-up var(--t-slow) var(--ease-out) both}
.yx-screen-in .yx-starter>li:nth-child(2){animation-delay:40ms}
.yx-screen-in .yx-starter>li:nth-child(3){animation-delay:80ms}
/* Call lines (owner: chat): what is said on a call, in a region that scrolls on its own inside the call's approval card;
   each line is a Text leaf of who spoke over the words, Pomi's at the end. */
.yx-call-lines{display:flex;flex-direction:column;gap:8px;box-sizing:border-box;max-height:230px;margin:var(--leaf);padding:8px;overflow:auto;overscroll-behavior:contain;border-radius:calc(var(--r-card) - 16px);background:var(--g1)}
.yx-call-lines>.y-text{margin:0}
.yx-call-line{align-self:flex-start;max-width:90%;padding:8px;border-radius:var(--r-xs);background:var(--surface);white-space:pre-wrap}
.yx-call-line[data-speaker="agent"]{align-self:flex-end;background:var(--g2)}
/* Transcript (extension Transcript, chat-call-card.js and the call screen): a call as two sides. Pomi's lines stand at the
   end in her tint (--a-soft, --a-text), the person's own in --a, the other party's at the start on --surface in the chat
   card's --g1 well and on --g1 on the call screen. Who spoke is said once per run (the rest kept for screen readers),
   runs a leaf apart and lines of one run 4px. A line still being heard ends in the caret and reads quieter until it is
   final. Text only. */
.yx-transcript{display:flex;flex-direction:column;gap:4px;margin:0;padding:0;list-style:none}
.yx-transcript>li{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0;margin:0}
.yx-transcript>li:is([data-speaker="agent"],[data-speaker="user"]){align-items:flex-end}
.yx-transcript>li:has(>.y-caption:first-child:not(.yx-sr)),.yx-transcript>li:not([data-call-same-speaker]):has(>[data-call-speaker]){margin-top:8px}
.yx-transcript>li:first-child{margin-top:0}
.yx-transcript>li>.y-caption{padding:0 8px}
.yx-transcript-words,.yx-transcript>li[data-call-line] .y-row>.y-text.y-grow{box-sizing:border-box;max-width:85%;margin:0;padding:8px 12px;border-radius:var(--r-bub);background:var(--surface);color:var(--ink);font-size:var(--fs-sub);line-height:20px;white-space:pre-wrap;overflow-wrap:anywhere}
.yx-transcript>li[data-call-line] .y-row>.y-text.y-grow{flex:0 1 auto;background:var(--g1)}
/* On the call screen a line's time is a caption beside its words on the inner side, for both speakers alike: after the
   other party's words, before Pomi's and the person's own. The row sits a leaf in, under who spoke. */
.yx-transcript>li[data-call-line] .y-row{box-sizing:border-box;align-items:flex-end;gap:8px;width:100%;padding:0 var(--leaf)}
.yx-transcript>li[data-call-line]:is([data-speaker="agent"],[data-speaker="user"]) .y-row{flex-direction:row-reverse}
.yx-transcript>li[data-call-line] .y-row>time{flex:none;margin:0 0 4px}
.yx-transcript>li[data-call-line] [data-call-speaker]{margin:0;padding:0 8px}
.yx-transcript>li[data-speaker="agent"] :is(.yx-transcript-words,.y-row>.y-text.y-grow){background:var(--a-soft);color:var(--a-text)}
.yx-transcript>li[data-speaker="user"] :is(.yx-transcript-words,.y-row>.y-text.y-grow){background:var(--a);color:var(--on-fill)}
.yx-transcript>li:is([data-partial],[data-call-partial])[data-speaker="other"] :is(.yx-transcript-words,.y-row>.y-text.y-grow){color:var(--g4)}
.yx-transcript>li[data-speaker="user"] .yx-caret{background:var(--on-fill)}
@supports (corner-shape:squircle){:is(.yx-transcript-words,.yx-transcript>li[data-call-line] .y-row>.y-text.y-grow){corner-shape:round}}
/* Call record (extension Call record): once the phone network says a call ended, its facts: shop, when, how long and how it
   ended, and the outcome the server verified as a tag, or Pomi's own sentence. */
[data-chat-call-record]>.y-text,[data-chat-call-record] .y-row{margin-top:0}
[data-chat-call-outcome]>.yx-tag,[data-call-outcome-head] .yx-tag{margin:0 8px 0 0}
[data-chat-call-outcome][data-kind="booked"]>.yx-tag,.yx-tag[data-call-outcome="booked"]{background:var(--a-soft);color:var(--a-text)}
/* A cancel the shop confirmed is done too, in a done colour of its own, never the accent a booking takes (owner via tomo-22, #612). */
[data-chat-call-outcome][data-kind="cancelled"]>.yx-tag,.yx-tag[data-call-outcome="cancelled"]{background:var(--ok-soft);color:var(--ok-text)}
/* Face (owner: chat): Pomi's picture inside an avatar. In the chat's bar it turns to what she is doing; motion is
   decoration, her words and the status lines say the same. */
.yx-face{display:block;border-radius:50%;object-fit:cover}
@media (prefers-reduced-motion: no-preference){
  .yx-stage:not([inert])>[data-chat-bar][data-pomi-turn="asking"] .yx-face{content:url("motion/pomi-asking.webp")}
  .yx-stage:not([inert])>[data-chat-bar]:is([data-pomi-turn="working"],[data-pomi-turn="idle"][data-pomi-task]) .yx-face{content:url("motion/pomi-working.webp")}
}
/* Inline marks (owner: chat): the few marks in Pomi's own words (inline-md.js): bold, a heading line, italics, struck
   words, code. */
.yx-md-b,.yx-md-h{font-weight:700}
.yx-md-h{display:inline-block;margin-bottom:4px}
.yx-md-i{font-style:italic}
.yx-md-s{text-decoration:line-through;color:var(--g3)}
.yx-md-link{color:var(--a-link);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.yx-md-code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.9em;padding:0 4px;border-radius:var(--r-xs);background:var(--g2);overflow-wrap:anywhere}
/* Originals (owner: chat): the words a row was read from, kept as written, under it. */
.yx-originals{white-space:pre-wrap;overflow-wrap:anywhere}
/* In the phone apps the words of a conversation stay selectable: bubbles (above, the app's frame) and the originals. */
html[data-native] .yx-originals{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}
@media (prefers-reduced-motion: reduce){
  .yx-msg-in,.yx-card-in,.yx-chat-typing.yx-pop-in:not([hidden]),.yx-screen-in .yx-starter>li,.yx-chat-col>.yx-chat-held,.yx-chat-checking,.yx-chat-checking::before{animation:none}
  .yx-chat-ref:active{transform:none}
}
@supports (corner-shape:squircle){:is(.yx-bubble,.yx-composer,.yx-composer-send,.yx-chat-typing:not([hidden]),.yx-chat-col>.yx-chat-held,.yx-chat-checking,.yx-face){corner-shape:round}}
/* ==== end: chat frame ==== */

/* ==== area: chat cards ==== */
/* The insides of Pomi's cards in the chat (and on the task screen where it draws the same ones) are catalog pieces; these
   add what the catalog has no piece for. Their parts are found by data hooks, never by these classes.
   Brief: the records Pomi brings up (assistantBriefHtml) and a page she read for the person (the Mercari page's card), a
   column of outlined cards under her words. In the chat it stands in her column, on the edge her bubbles start from, and
   each card fills that column up to 560px, so a phone gets a card as wide as its bubbles and a tablet a card that still
   reads as one. A record that opens (a mail) answers a press. */
.yx-brief{display:flex;flex-direction:column;box-sizing:border-box;align-self:stretch;min-width:0;max-width:100%;margin-block:4px 12px}
.yx-brief [role="button"]{cursor:pointer}
.yx-brief [role="button"]:focus-visible{outline:2px solid var(--a);outline-offset:-2px}
/* The records a result document draws for the brief (its doc slot, answer cards' yx-doc) stand 12px apart, each as wide
   as the brief. */
.yx-brief>.yx-doc{display:grid;gap:12px;min-width:0}
.yx-brief>.yx-doc>*{max-width:100%}
.yx-chat-col>.yx-brief>:not(.yx-doc),.yx-chat-col>.yx-brief>.yx-doc>:not(.yx-carousel){box-sizing:border-box;max-width:560px}
.yx-chat-col>.yx-brief>.yx-doc>.yx-answer{width:auto}
/* Her bubbles have no margin of their own, so in her column a brief's cards and its line of words give up theirs at the
   sides: a card's outline starts exactly where a bubble's fill does. */
.yx-chat-col>.yx-brief :is(.yx-doc>.y-card,.yx-carousel-slide>.y-card){margin:0}
.yx-chat-col>.yx-brief>:is(.y-card,.y-text),.yx-chat-col>.yx-brief>.y-col>.y-card{margin-inline:0}
/* Carousel (owner: chat cards): cards that come one after another (mails), swiped one at a time. The track scrolls
   sideways and holds each card at its start (scroll snap), the next card shows at the edge, and under it a dot per card
   marks the place (the one in view in --a); where a pointer hovers, two small default buttons move it. A slide is as wide
   as the track less the 24px the next card shows in, 560px at most, and every card is as tall as the tallest. In the chat
   the track runs on to the screen's edge. */
.yx-carousel{display:flex;flex-direction:column;min-width:0}
.yx-carousel-track{display:flex;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;outline-offset:2px}
.yx-carousel-track::-webkit-scrollbar{display:none}
.yx-carousel-slide{flex:0 0 min(560px,calc(100% - 24px));display:flex;min-width:0;scroll-snap-align:start;scroll-snap-stop:always}
.yx-carousel-slide>.y-card{flex:1;width:auto;max-width:none}
/* Things a search found, side by side: every card is as tall as the tallest, so what can be done with each stands on
   one line at the foot, and a card with no photo leaves no hole (its words start at the top). */
.yx-carousel[data-carousel-of="item"] .yx-answer>[data-ui-info]{flex:1}
/* Mails are read one at a time and have no foot of actions: each card is as tall as its own words, and the track as tall
   as the one shown (ui-doc.js), so a short mail beside a long one is not drawn with an empty half under it. */
.yx-carousel[data-carousel-of="mail"] .yx-carousel-track{align-items:flex-start;overflow-y:hidden;transition:height var(--t-med) var(--ease)}
.yx-carousel[data-carousel-of="item"] .yx-answer [data-ui-acts]{margin-top:auto}
.yx-carousel[data-carousel-of="item"] .yx-gallery-track{max-height:220px}
[data-task-result]>.yx-doc>.yx-carousel .yx-carousel-track{margin-inline:calc(-2 * var(--leaf));padding-inline:calc(2 * var(--leaf));scroll-padding-inline:calc(2 * var(--leaf))}
[data-task-result]>.yx-doc>.yx-carousel .yx-carousel-slide>.y-card{margin:0}
.yx-chat-col>.yx-brief .yx-carousel-track{margin-right:calc(-2 * var(--leaf));padding-right:calc(2 * var(--leaf))}
.yx-carousel-foot{display:flex;align-items:center;justify-content:space-between;min-height:24px;margin-top:8px}
.yx-carousel-dots{display:flex;gap:8px;padding:0 4px}
.yx-carousel-dots>i{width:8px;height:8px;border-radius:50%;background:var(--line-strong);transition:background-color var(--t-fast) var(--ease)}
.yx-carousel-dots>i[data-on]{background:var(--a)}
@supports (corner-shape:squircle){.yx-carousel-dots>i{corner-shape:round}}
.yx-carousel-nav{display:flex;gap:8px}
.yx-carousel-nav>.y-btn{margin:0;padding:0 8px}
@media (hover:none){.yx-carousel-nav{display:none}}
/* Photo: a listing's own photo shown whole, as wide as the card and at most 240px tall, on the image fill. A leaf. */
.y-image.yx-photo{box-sizing:border-box;width:100%;max-width:calc(100% - 2 * var(--leaf));height:auto;max-height:240px;aspect-ratio:4/3;object-fit:contain;outline:1px solid var(--img-outline);outline-offset:-1px}
/* Link line: a link that opens only through the card's own guarded action is written as a button; it reads as the links
   of its Text leaf do. */
.yx-link{padding:0;border:0;background:none;color:var(--a-link);font:inherit;text-align:start;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.yx-link:focus-visible{outline:2px solid var(--a);outline-offset:2px;border-radius:var(--r-xs)}
/* Numbered lines: a Text leaf whose lines are numbered (a research card's sources). The numbers hang inside the leaf's
   start; the items are 8px apart. */
ol.y-text.yx-numbered{padding-left:20px}
.yx-numbered>li+li{margin-top:8px}
/* Waiting: an approval's answer that was pressed waits for the server (aria-busy). It keeps its look and a spinner turns
   after its words; the other answer goes quiet as a disabled button. */
.y-btn.yx-await[aria-busy="true"]:disabled{opacity:1;cursor:progress}
.y-btn.y-primary.yx-await[aria-busy="true"]:disabled{background:var(--a)}
.y-btn.yx-await[aria-busy="true"]::after{content:'';flex:none;display:inline-block;width:14px;height:14px;margin-left:8px;vertical-align:-2px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:pomi-spin .8s linear infinite}
/* Loading to done (Button, pressMotion in app.js): a primary that waits for the server morphs inside its own box. Its
   clip closes it into a circle with a spinner and opens into a pill with a check and the done word;
   the label stays in flow so the box never changes. The springs move transform, opacity and the clip only. */
.y-btn.y-primary.yx-press[data-press],.y-btn.y-primary.yx-press[data-press]:disabled{position:relative;isolation:isolate;background:transparent;opacity:1;cursor:progress}
.y-btn.y-primary.yx-press[data-press="done"]{cursor:default}
.y-btn.yx-await.yx-press[aria-busy="true"]::after{content:none}
.yx-press-fill{position:absolute;inset:-1px;z-index:-1;border-radius:inherit;background:var(--a)}
.yx-press-label{display:inline-flex;align-items:center;gap:8px}
.yx-press-spin{position:absolute;left:50%;top:50%;width:22px;height:22px;margin:-11px 0 0 -11px;border-radius:50%;opacity:0;background:conic-gradient(from 0deg,transparent 0 10%,var(--on-fill) 85%,transparent 85%);-webkit-mask:radial-gradient(circle closest-side,transparent 68%,#000 72%);mask:radial-gradient(circle closest-side,transparent 68%,#000 72%)}
.yx-press-done{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:6px;opacity:0;color:var(--on-fill);white-space:nowrap}
.yx-press-done svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
/* Live state (live browser card): the state now, under the request in the card's head, as wide as its words. Long words
   wrap inside the head instead of running past the card's edge; the clock keeps to one line. */
.yx-badge.yx-live-state{align-self:flex-start;box-sizing:border-box;max-width:calc(100% - 2 * var(--leaf))}
/* The running state stays one line: where its words do not fit beside the clock they end in an ellipsis (the whole line
   is the step under it and the card's live words), never a second line with the clock left far at the side. */
.yx-live-state>span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
/* Under the head's fold chevron (24px with its leaf on each side, top-aligned beside the title) the state may run on to
   the card's inner edge: the room beside the title is free at the state's height. */
.y-item:has(>.yx-chev) .yx-badge.yx-live-state{max-width:calc(100% - 2 * var(--leaf) + 24px + 2 * var(--leaf))}
.yx-live-state>span:nth-child(3){flex:none;white-space:nowrap}
/* Agent steps (extension Agent steps, agentStepsHtml in app.js; Kokonut UI "AI Loading State", MIT): the live browser
   card's steps while Pomi works, open until folded. A 16px mark per step: a check in --a that draws itself (.3s after
   .05s) when a step is new and done, a ring on --g2 whose --a arc turns (.8s) while it runs. A 1px rail on --g2 joins the
   marks and fills with --a-tint-press (.5s) as a step completes. The running step's words are --ink with a soft wave
   (1.6s, letters .05s apart), done words --g4, and its time once it is known on the right in --g3. Under the running step
   her notes, at most three in view with their numbers in --g3, the oldest fading behind a mask. Only rows marked new
   move; all of it is still under reduced motion. */
:root{--agent-ease:cubic-bezier(.23,1,.32,1)}
.yx-agent-steps{margin:0 var(--leaf) var(--leaf);padding:0 var(--leaf)}
.y-list.yx-agent-steps>li{position:relative;display:flex;flex-direction:row;gap:12px;padding-top:14px}
.y-list.yx-agent-steps>li:first-child{padding-top:6px}
.yx-agent-rail{position:absolute;top:34px;bottom:-10px;left:7.5px;width:1px;overflow:hidden;background:var(--g2)}
.yx-agent-steps>li:first-child>.yx-agent-rail{top:26px}
.yx-agent-fill{display:block;width:100%;height:100%;background:var(--a-tint-press);transform-origin:top;transform:scaleY(0)}
.yx-agent-steps>li[data-step="done"] .yx-agent-fill{transform:none}
.yx-agent-mark{position:relative;flex:none;display:flex;align-items:center;justify-content:center;width:16px;height:20px}
.yx-agent-mark>svg{width:14px;height:14px;fill:none;stroke-linecap:round;stroke-linejoin:round}
.yx-agent-check{stroke:var(--a);stroke-width:1.75}
.yx-agent-check>path{stroke-dasharray:1 1;stroke-dashoffset:0}
.yx-agent-spin>circle{stroke:var(--g2);stroke-width:1.5}
.yx-agent-spin>path{stroke:var(--a);stroke-width:1.5}
.yx-agent-body{flex:1;min-width:0}
.yx-agent-top{display:flex;align-items:baseline;gap:8px}
.yx-agent-steps .yx-agent-label{min-width:0;flex:0 1 auto;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:15px;line-height:20px;font-weight:600;color:var(--ink);transition:color .2s var(--agent-ease)}
.yx-agent-steps>li[data-step="done"] .yx-agent-label{color:var(--g4);font-weight:400}
.yx-wave{white-space:pre}
/* The wave's letters .05s apart (the Kokonut stagger); past the fortieth, together. */
.yx-wave:nth-child(2){animation-delay:.05s}.yx-wave:nth-child(3){animation-delay:.10s}.yx-wave:nth-child(4){animation-delay:.15s}.yx-wave:nth-child(5){animation-delay:.20s}.yx-wave:nth-child(6){animation-delay:.25s}.yx-wave:nth-child(7){animation-delay:.30s}.yx-wave:nth-child(8){animation-delay:.35s}.yx-wave:nth-child(9){animation-delay:.40s}.yx-wave:nth-child(10){animation-delay:.45s}.yx-wave:nth-child(11){animation-delay:.50s}.yx-wave:nth-child(12){animation-delay:.55s}.yx-wave:nth-child(13){animation-delay:.60s}.yx-wave:nth-child(14){animation-delay:.65s}.yx-wave:nth-child(15){animation-delay:.70s}.yx-wave:nth-child(16){animation-delay:.75s}.yx-wave:nth-child(17){animation-delay:.80s}.yx-wave:nth-child(18){animation-delay:.85s}.yx-wave:nth-child(19){animation-delay:.90s}.yx-wave:nth-child(20){animation-delay:.95s}.yx-wave:nth-child(21){animation-delay:1.00s}.yx-wave:nth-child(22){animation-delay:1.05s}.yx-wave:nth-child(23){animation-delay:1.10s}.yx-wave:nth-child(24){animation-delay:1.15s}.yx-wave:nth-child(25){animation-delay:1.20s}.yx-wave:nth-child(26){animation-delay:1.25s}.yx-wave:nth-child(27){animation-delay:1.30s}.yx-wave:nth-child(28){animation-delay:1.35s}.yx-wave:nth-child(29){animation-delay:1.40s}.yx-wave:nth-child(30){animation-delay:1.45s}.yx-wave:nth-child(31){animation-delay:1.50s}.yx-wave:nth-child(32){animation-delay:1.55s}.yx-wave:nth-child(33){animation-delay:1.60s}.yx-wave:nth-child(34){animation-delay:1.65s}.yx-wave:nth-child(35){animation-delay:1.70s}.yx-wave:nth-child(36){animation-delay:1.75s}.yx-wave:nth-child(37){animation-delay:1.80s}.yx-wave:nth-child(38){animation-delay:1.85s}.yx-wave:nth-child(39){animation-delay:1.90s}.yx-wave:nth-child(40){animation-delay:1.95s}.yx-wave:nth-child(n+41){animation-delay:2s}
:is(.yx-agent-steps,.yx-plan)[data-folding]{overflow:hidden}
.yx-agent-time{flex:none;margin-left:auto;color:var(--g3);font-size:var(--fs-cap);line-height:18px;font-variant-numeric:tabular-nums}
.yx-agent-log{position:relative;overflow:hidden;margin-top:4px;color:var(--g4);font-size:var(--fs-cap)}
.yx-agent-log[data-lines="1"]{height:24px}
.yx-agent-log[data-lines="2"]{height:48px}
.yx-agent-log[data-lines="3"]{height:72px}
.yx-agent-log[data-masked]{-webkit-mask-image:linear-gradient(to bottom,rgb(0 0 0/.25),rgb(0 0 0/1) 70%);mask-image:linear-gradient(to bottom,rgb(0 0 0/.25),rgb(0 0 0/1) 70%)}
.yx-agent-line{display:flex;align-items:center;gap:8px;height:24px}
.yx-agent-n{flex:none;width:16px;text-align:right;color:var(--g3);font-variant-numeric:tabular-nums;user-select:none}
.yx-agent-note{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}

/* Task list (extension Task list, taskPlanHtml in app.js; SmoothUI "AI task list", MIT): the agent's own plan in the live
   card, on --g1 with --r-md, its name and the count done/all from the rows. A 14px box per part (--g3 rim; done --ok with
   a .12 fill and a drawn check, .2s; failed --danger with a drawn cross); a subtask one step in. A done row goes quiet:
   .65, a pixel lower (.25s). The running row alone carries a travelling underline (1.4s). */
.yx-plan{margin:var(--leaf);padding:12px;border-radius:var(--r-md);background:var(--g1)}
.yx-plan-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:6px}
.yx-plan-head>.y-label{color:var(--ink)}
.yx-plan-count{color:var(--g3);font-size:var(--fs-cap);line-height:18px;font-variant-numeric:tabular-nums}
.yx-plan-list{margin:0;padding:0;list-style:none}
.yx-plan-row{position:relative;display:flex;align-items:flex-start;gap:8px;padding:4px 0;color:var(--ink);font-size:15px;line-height:1.375}
.yx-plan-row[data-sub]{padding-left:20px}
.yx-plan-row[data-plan="done"],.yx-plan-row[data-plan="skipped"]{opacity:.65;transform:translateY(1px)}
.yx-plan-title{flex:1;min-width:0;overflow-wrap:anywhere}
.yx-plan-box{flex:none;width:14px;height:14px;margin-top:3px;fill:none;stroke-linecap:round;stroke-linejoin:round}
.yx-plan-box>rect{stroke:var(--g3);stroke-width:1.4;fill:var(--ok);fill-opacity:0;transition:stroke .2s,fill-opacity .2s}
.yx-plan-box>path{stroke-width:1.8;stroke-dasharray:1 1;stroke-dashoffset:0;display:none}
.yx-plan-row[data-plan="done"] rect{stroke:var(--ok);fill-opacity:.12}
.yx-plan-row[data-plan="done"] .yx-plan-tick{display:inline;stroke:var(--ok)}
.yx-plan-row[data-plan="failed"] rect{stroke:var(--danger);fill:var(--danger)}
.yx-plan-row[data-plan="failed"] .yx-plan-cross{display:inline;stroke:var(--danger)}
@media (prefers-reduced-motion: no-preference){
  .yx-agent-steps>li[data-new][data-step="done"] .yx-agent-check>path{animation:yx-draw .3s var(--agent-ease) .05s both}
  .yx-agent-steps>li[data-new] .yx-agent-mark>svg{animation:yx-mark-in .18s var(--agent-ease) both}
  .yx-agent-steps>li[data-new][data-step="done"] .yx-agent-fill{animation:yx-rail-fill .5s var(--agent-ease) both}
  .yx-agent-spin{animation:yx-spin .8s linear infinite}
  .yx-agent-steps>li[data-step="cur"] .yx-wave{animation:yx-wave 1.6s ease-in-out infinite both}
  .yx-agent-steps>li[data-new] .yx-agent-time{animation:yx-fade .2s var(--agent-ease) both}
  .yx-agent-line[data-new]{animation:yx-fade .2s var(--agent-ease) both}
  .yx-agent-log-in[data-new]{animation:yx-log-up .3s var(--agent-ease) both}
  .yx-plan-row[data-new] .yx-plan-box>path{animation:yx-draw .2s var(--agent-ease) both}
  .yx-plan-row[data-new][data-plan="done"]{animation:yx-plan-quiet .25s var(--ease-out) both}
  .yx-plan-row[data-plan="running"]::after{content:'';position:absolute;left:0;right:0;bottom:0;height:1px;opacity:.5;pointer-events:none;background-image:linear-gradient(90deg,transparent 0%,currentColor 50%,transparent 100%);background-size:50% 100%;animation:yx-underline 1.4s cubic-bezier(.645,.045,.355,1) infinite}
}
@keyframes yx-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes yx-mark-in{from{opacity:0;filter:blur(2px)}to{opacity:1;filter:none}}
@keyframes yx-rail-fill{from{transform:scaleY(0)}to{transform:none}}
@keyframes yx-spin{to{transform:rotate(1turn)}}
@keyframes yx-wave{50%{opacity:.3}}
@keyframes yx-fade{from{opacity:0}to{opacity:1}}
@keyframes yx-log-up{from{transform:translateY(24px)}to{transform:none}}
@keyframes yx-plan-quiet{from{opacity:1;transform:none}to{opacity:.65;transform:translateY(1px)}}
@keyframes yx-underline{from{background-position-x:0%}to{background-position-x:200%}}
/* Google credit (owner: chat cards): "Google Maps" under places Google gave, in the font and colours Google's rules ask for. */
/* ==== end: chat cards ==== */

/* ==== area: answer cards and records ==== */
.yx-answer{width:min(320px,100%);min-width:0;overflow-wrap:anywhere}
/* A comparison is read across, so its card takes the room the chat gives it, up to the table's own width: on an iPad
   (1210px) six things stand side by side instead of two in a 320px card (2026-11-27). A phone's column still scrolls. */
.yx-answer[data-ui-card="table"]{width:fit-content;max-width:100%}
/* Expand list (extension Expand list, ui-doc.js expandList; the designbookmark Expand card): what a search found as rows,
   each its own catalog card 8px from the next, as lines of one list are. A row is a picture (a 48px photo, or the rank on
   --g1 where there is none), the name over a sub line, the one number and a chevron. Opened, the photos lead the card at
   the inset corner and the picture leaves the row, so the name sits at the edge; the rest is the card's leaves. The
   motion (expandMotion) draws the room, the photo's way from the picture and the fade; the rules here are both ends. */
.yx-xlist{display:flex;flex-direction:column}
.yx-xlist-rows{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}
.yx-xlist-rows>.yx-xrow{margin-block:0;overflow:hidden}
.yx-xrow-photo{display:flex;flex-direction:column}
.yx-xrow-photo[hidden]{display:none}
.yx-xrow-photo>.yx-gallery{transform-origin:0 0}
.yx-xthumb{flex:none;width:48px;height:48px;border-radius:calc(var(--r-card) - 16px)}
.y-item>.yx-xthumb.yx-rank{display:flex;align-items:center;justify-content:center;width:48px;margin-right:var(--leaf);background:var(--g1);color:var(--g4);font-size:var(--fs-sub);font-weight:600;line-height:20px}
.yx-xrow[data-open]:has(.yx-xrow-photo [data-gallery]) .yx-xthumb{display:none}
.yx-xrow-more{min-width:0}
.yx-xrow [data-ui-row-sub]{-webkit-line-clamp:1}
.yx-xrow[data-open] [data-ui-row-sub]{display:none}
.yx-xrow-more [data-ui-acts]{margin-top:4px}
/* Swipe deck (extension Swipe deck, ui-doc.js deck; the designbookmark Swipe deck): the things to pick from as a stack of
   cards on --surface (a card is filled here only because cards lie on each other), the top one held by a finger
   sideways while the chat still scrolls up and down. The stack is one grid cell, so it is as tall as its tallest card,
   with room under it for the two that peek. Without motion only the top card shows. The stamps say what a throw does,
   in words, as it is thrown. Under it, skip and save as buttons. */
.yx-deck{display:flex;flex-direction:column;width:min(360px,100%)}
.yx-deck-stack[hidden],.yx-deck-bar[hidden]{display:none}
.yx-deck-stack{display:grid;margin:var(--leaf);padding-bottom:32px;touch-action:pan-y;outline-offset:4px;-webkit-user-select:none;user-select:none}
.yx-deck-stack>.yx-deck-card{grid-area:1/1;position:relative;margin:0;background:var(--surface);box-shadow:var(--shadow-border);cursor:grab;will-change:transform}
.yx-deck-stack>.yx-deck-card[data-dragging]{cursor:grabbing}
.yx-deck-stack:not([data-motion])>.yx-deck-card:not([data-top]){visibility:hidden}
.yx-deck-photo{width:auto;aspect-ratio:4/3;margin:var(--leaf);border-radius:calc(var(--r-card) - 16px);pointer-events:none;-webkit-user-drag:none}
.yx-deck-card .yx-metric{margin-top:var(--leaf)}
.yx-deck-stamp{position:absolute;top:24px;padding:4px 12px;border-radius:var(--r-pill);font-size:var(--fs-sub);font-weight:700;line-height:20px;opacity:0;pointer-events:none}
.yx-deck-stamp[data-stamp="save"]{left:24px;background:var(--a);color:var(--on-fill);transform:rotate(-10deg)}
.yx-deck-stamp[data-stamp="skip"]{right:24px;background:var(--toast);color:var(--on-fill);transform:rotate(10deg)}
.yx-deck-bar>.y-btn{flex:1}
/* Number stepper (extension Number stepper, app.js bookingControls): a party size between − and +, the number rolling
   between them in its own clipped line; it stands where its select was, which stays the value the card sends. */
.yx-stepper{align-items:center;justify-content:space-between;gap:8px;margin:var(--leaf);margin-top:0}
.yx-stepper>.yx-stepper-btn{flex:none;width:44px;margin:0;padding:0;font-size:22px;line-height:1}
.yx-stepper-num{position:relative;flex:1;height:28px;margin:0;overflow:hidden;text-align:center;font-size:var(--fs-head);font-weight:600;line-height:28px;font-variant-numeric:tabular-nums}
.yx-stepper-num>span{position:absolute;inset:0}
.yx-stepper-was{opacity:0}
.yx-stepper-num[data-empty]{color:var(--g3);font-weight:400;font-size:var(--fs-sub)}
/* Wheel picker (extension Wheel picker, app.js bookingControls): the times as a drum of 44px rows, three in view, that
   scrolls and snaps; the middle row is the chosen one, under a quiet band; the rows lean back by their distance. */
.yx-wheel-box{position:relative;margin:var(--leaf);margin-top:0;border-radius:var(--r-md);background:var(--g1)}
.yx-wheel-box::before{content:'';position:absolute;left:8px;right:8px;top:44px;height:44px;border-radius:calc(var(--r-md) - 8px);background:var(--surface);box-shadow:var(--shadow-border);pointer-events:none}
.yx-wheel{position:relative;height:132px;overflow-y:auto;overscroll-behavior:contain;scroll-snap-type:y mandatory;scrollbar-width:none;perspective:400px;outline-offset:2px}
.yx-wheel::-webkit-scrollbar{display:none}
.yx-wheel-pad{height:44px}
.yx-wheel-row{height:44px;display:flex;align-items:center;justify-content:center;scroll-snap-align:center;font-size:var(--fs-body);font-variant-numeric:tabular-nums;color:var(--ink);cursor:pointer;-webkit-user-select:none;user-select:none}
.yx-wheel-row[data-empty]{color:var(--g3)}
.yx-wheel-row[aria-selected="true"]{font-weight:600}
/* Star rating (extension Star rating, ui-doc.js starsLeaf/starMotion): a page's rating as five stars, each filled to its
   share in --star over --g2 (the last in part, cut by a clip the script sets), the number beside them. Read only. */
.y-text.yx-stars-row{display:flex;align-items:center;gap:8px}
.yx-stars{display:inline-flex;gap:2px;flex:none}
.yx-star{position:relative;display:block;width:16px;height:16px}
.yx-star>svg{position:absolute;inset:0;display:block}
.yx-star-empty{fill:var(--g2)}
.yx-star-full{fill:var(--star)}
.yx-stars-row>.y-sub{font-variant-numeric:tabular-nums}
/* Like burst (extension Like burst, ui-doc.js likeBurst): the deck's save button leads with a heart that fills and bursts
   when a card is kept; eight small dots in Pomi's own colours, on the button's words colour. */
.yx-like{position:relative;overflow:visible}
.yx-like path{fill:currentColor;fill-opacity:0}
.yx-burst{position:absolute;left:50%;top:50%;width:0;height:0;pointer-events:none}
.yx-burst>i{position:absolute;left:-3px;top:-3px;width:6px;height:6px;border-radius:50%;opacity:0}
.yx-burst>i:nth-child(4n+1){background:var(--butter)}
.yx-burst>i:nth-child(4n+2){background:var(--on-fill)}
.yx-burst>i:nth-child(4n+3){background:var(--a-soft)}
.yx-burst>i:nth-child(4n){background:var(--star)}
@media (prefers-reduced-motion: reduce){.yx-deck-stack>.yx-deck-card{will-change:auto}}
@media (min-width:768px){.yx-answer[data-ui-card="table"] .yx-table :is(td,thead th:not(:first-child)){max-width:180px}}
.yx-answer .y-title{font-variant-numeric:tabular-nums}
.yx-answer [data-p="computed"]{text-decoration:underline dotted var(--g3);text-underline-offset:3px}
.yx-answer :is(dd,span,td,p)[data-p="said"],.yx-answer [data-p="none"]{color:var(--g3)}
.yx-answer .y-heading[data-p="said"]{color:var(--g4)}
.yx-answer [data-ui-tags]>*+*::before{content:' · '}
.yx-answer [data-ui-quote]>b{font-weight:600;color:var(--g3);margin-right:4px}
.yx-answer .yx-facts dd>small{display:block;margin-top:2px}
.yx-answer [data-ui-record-words][data-record-open]{cursor:pointer;border-radius:calc(var(--r-card) - 8px)}
.yx-answer [data-ui-record-words][data-record-open]:focus-visible{outline:2px solid var(--a);outline-offset:-2px}
/* Three lines (records): a mail's subject is read whole; only one longer than three lines is cut. */
.y-text>.yx-clamp-3{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.yx-answer [data-ui-record-meta]>b{font-weight:600;color:var(--g4)}
/* A name too long for its line fills the line and is cut after two; a balanced wrap would leave both lines short. */
.yx-answer .y-item>.y-text>.y-heading{text-wrap:wrap}
.yx-metric{flex:none;font-size:var(--fs-body);font-variant-numeric:tabular-nums}
.yx-metric>small{margin-right:4px;font-size:11px;color:var(--star)}
.y-item>.yx-rank{flex:none;width:16px;margin-right:0;line-height:24px;text-align:center}
.y-item>.yx-row-chev{width:16px;margin-left:0}
.yx-row-chev::after{content:'';width:8px;height:8px;border:solid var(--g3);border-width:0 2px 2px 0;transform:translateY(-2px) rotate(45deg);transition:transform var(--t-med) var(--ease-out)}
[aria-expanded="true"]>.yx-row-chev::after{transform:translateY(2px) rotate(-135deg)}
.yx-rank-more{padding-left:calc(var(--leaf) + 16px)}
.yx-rank-more[hidden]{display:none}
.yx-tag{display:inline-block;margin-left:4px;padding:0 4px;border-radius:var(--r-xs);background:var(--g1);color:var(--g3);font-size:11px;line-height:16px;font-weight:600;letter-spacing:0;vertical-align:1px;text-decoration:none;white-space:nowrap}
[data-ui-tags]>.yx-tag:first-child,[data-pick-book]>.yx-tag:first-child{margin-left:0}
.yx-tag[data-tone="caution"]{background:var(--warn-bg);color:var(--warn-ink)}
.yx-ref{display:inline-block;min-width:16px;height:16px;margin-left:4px;padding:0 4px;border-radius:var(--r-xs);background:var(--a-soft);color:var(--a-text);font-style:normal;font-size:11px;line-height:16px;font-weight:700;text-align:center;vertical-align:2px}
[data-entity][data-linked],.yx-doc[data-linked]{outline:2px solid var(--a);outline-offset:3px;border-radius:var(--r-card);transition:outline-color var(--t-med) var(--ease)}
/* ==== end: answer cards and records ==== */

/* ==== area: mail ==== */
/* Layer scroll (mail viewer): the part of a layer between its rows that scrolls on its own. It is a surface of leaves and
   takes the rest of the layer's height; the layer already keeps it inside the safe areas. */
.yx-layer-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;outline:0}
/* Mail (mail viewer): a mail's own text, as Text leaves. Its lists indent under their marks, one leaf apart from the
   paragraphs and their items 8px apart; a link of a suspicious mail is words with a dotted underline in the quiet ink until
   it is pressed (pressing it only asks); in the phone apps the words can be selected and copied. */
/* The mail's headers (yx-facts) keep their labels as narrow as the longest label, so a value starts right after it. */
.yx-mail .yx-facts{grid-template-columns:max-content minmax(0,1fr);gap:4px 12px}
.yx-mail :is(ol,ul).y-text{padding-left:20px}
.yx-mail :is(ol,ul).y-text>li+li{margin-top:8px}
.yx-mail .y-text [role="button"]{color:var(--g4);text-decoration:underline dotted;text-underline-offset:3px;cursor:pointer}
.yx-mail .y-text [role="button"]:focus-visible{outline:2px solid var(--a);outline-offset:2px;border-radius:var(--r-xs)}
html[data-native] .yx-mail{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}
/* Measure (mail viewer): a surface of a layer whose leaves keep a reading width, 680px, in the middle of a wider screen,
   so the row at the top, the mail under it and the question at the foot share one left edge. */
.y-surface.yx-measure{padding-inline:max(var(--leaf),calc(50% - 340px - var(--leaf)))}
/* Mail address (mail viewer): the whole address a suspicious mail's link leads to, held to four lines that scroll, so the
   two buttons under it stay on screen. */
.yx-mail-address{max-height:80px;overflow-y:auto;overscroll-behavior:contain}
/* More of a text (mail proposal): the rest of a long text, one press away. Closed, a borderless "show all" stands on its
   own line after the first part; open, the press goes and the rest follows in the same words, as if never cut. */
.yx-more{display:inline}
.yx-more>summary{display:flex;align-items:center;min-height:44px;list-style:none;color:var(--a-link);font-size:15px;line-height:20px;font-weight:600;white-space:normal;cursor:pointer;-webkit-user-select:none;user-select:none}
.yx-more>summary::-webkit-details-marker{display:none}
.yx-more>summary:focus-visible{outline:2px solid var(--a);outline-offset:2px;border-radius:var(--r-xs)}
.yx-more[open]>summary{display:none}
/* What a row opens (Connect's mailboxes, the other-mailbox form): the Under-a-row extension takes the hidden attribute like a
   catalog piece, and a column or a row in it is layout (no margin), so its leaves line up under the row's words. */
.yx-row-more[hidden]{display:none}
.yx-row-more>:is(.y-col,.y-row){margin:0}
/* ==== end: mail ==== */

/* ==== area: home, profile and memory ==== */
/* Pomi's stage (Home): the box her still picture stands in, and where app/pomi-stage.js draws her (yx-pomi-gl, the canvas)
   between two layers of flat props (yx-pomi-prop, data-prop="back"|"front", holding yx-pomi-mark sparks, data-mark="star"
   |"dot", placed by --mark-x, --mark-y, --mark-size). No card and no fill, so it stands on the page in both themes. The
   whole box is the way into her room. Until the first frame is drawn (data-live), or without WebGL, the still picture
   breathes at the bottom; then it gives way and keeps its room. data-paused stops the sparks while she is out of sight. */
.yx-pomi-stage{position:relative;display:grid;place-items:center;height:240px;margin:8px 16px 0;overflow:hidden;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.yx-pomi-stage[role=button]{cursor:pointer}
.yx-pomi-stage:focus-visible{outline:2px solid var(--a);outline-offset:-4px;border-radius:var(--r-sheet)}
.yx-pomi-stage>img{display:block;width:auto;height:192px;margin-bottom:16px;-webkit-user-select:none;user-select:none;pointer-events:none;transform-origin:50% 100%}
.yx-pomi-stage>:is(.yx-pomi-gl,.yx-pomi-prop){position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:0;transition:opacity var(--t-med) var(--ease)}
.yx-pomi-prop{will-change:transform}
.yx-pomi-stage[data-live]>:is(.yx-pomi-gl,.yx-pomi-prop){opacity:1}
.yx-pomi-stage>:not(.yx-pomi-gl,.yx-pomi-prop){transition:opacity var(--t-med) var(--ease),visibility 0s}
.yx-pomi-stage[data-live]>:not(.yx-pomi-gl,.yx-pomi-prop){opacity:0;visibility:hidden;transition:opacity var(--t-med) var(--ease),visibility 0s var(--t-med)}
/* A kept view (.yx-stale) is a copy with no picture drawn in it: her kept frame stands in, else her still picture. */
.yx-stale .yx-pomi-stage:not([data-frame])>:is(.yx-pomi-gl,.yx-pomi-prop){display:none}
.yx-stale .yx-pomi-stage[data-live]:not([data-frame])>:not(.yx-pomi-gl,.yx-pomi-prop){opacity:1;visibility:visible}
/* With her frame kept (data-frame, app.js keptHtml) the copy shows that picture where the canvas was, at once. */
.yx-stale .yx-pomi-stage>*{transition:none}
.yx-pomi-mark{position:absolute;left:var(--mark-x);top:var(--mark-y);display:block;width:var(--mark-size);height:var(--mark-size);overflow:visible}
.yx-pomi-mark[data-mark="star"]{fill:var(--butter)}
.yx-pomi-mark[data-mark="dot"]{fill:var(--a-tint-press)}
.yx-pomi-prop[data-prop="back"] .yx-pomi-mark{opacity:.9}

/* Home's top (yx-home-top): Pomi's stage over the day and her one sentence, in the middle, with the room's soft light
   behind her (the accent, her butter, the accent's tint, as behind the memory graph) running on a little under what
   comes next, so the pane under her has light to stand on. What follows lies over the light. */
.yx-home-top{position:relative;display:flex;flex-direction:column;text-align:center}
.yx-home-top{--home-glow-2:color-mix(in srgb,var(--butter) 36%,transparent)}
/* In the dark her butter turns olive on the near-black page, so the second light is the accent's, quieter, as on sign-in. */
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .yx-home-top{--home-glow-2:color-mix(in srgb,var(--a) 14%,transparent)}}
:root[data-theme="dark"] .yx-home-top{--home-glow-2:color-mix(in srgb,var(--a) 14%,transparent)}
.yx-home-top::before{content:"";position:absolute;inset:0 -16px -96px;background:radial-gradient(40% 30% at 26% 30%,color-mix(in srgb,var(--a) 22%,transparent),transparent),radial-gradient(38% 30% at 78% 58%,var(--home-glow-2),transparent),radial-gradient(46% 38% at 50% 44%,var(--a-tint),transparent);filter:blur(24px);pointer-events:none}
.yx-home-top>*{position:relative}
.yx-home-top~*{position:relative}
.yx-home-top>.yx-pomi-stage{height:216px}
.yx-home-top[data-compact]>.yx-pomi-stage{height:136px}
.yx-home-top[data-compact]>.yx-pomi-stage>img{height:120px}
/* Morph island (Home, what Pomi is doing): one pill in the grey of a free-standing object (--g2, theme aware) holding a
   line per task: a mark (the ring, a running dot in the accent, a still dot while it repeats or waits), the request and
   its site, the latest thing under it when there is one. It is its content's size; while it morphs (data-moving, app.js
   homeIsland) its size is the springs' and the old and new content lie over it (data-abs), the old blurring out
   (data-island-out, data-off) while the new comes in. Under reduced motion only the opacity moves. */
.yx-island{position:relative;display:block;box-sizing:border-box;width:calc(100% - 2 * var(--leaf));max-width:calc(100% - 2 * var(--leaf));margin:var(--leaf);overflow:hidden;border-radius:var(--r-card);background:var(--g1);color:var(--ink);text-decoration:none;transform-origin:0 50%;cursor:pointer;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}
.yx-island:not([data-moving]){min-height:56px}
.yx-island[data-moving]{will-change:width,height,transform}
.yx-island:focus-visible{outline:2px solid var(--a);outline-offset:2px}
.yx-island-c{display:flex;flex-direction:column;box-sizing:border-box;max-width:100%;gap:16px;padding:16px 20px;transform-origin:0 50%;transition:opacity .35s ease .09s,filter .35s ease .09s,transform .6s cubic-bezier(.16,1,.3,1) .09s}
.yx-island-c[data-abs]{position:absolute;left:0;top:0;max-width:none}
.yx-island-c[data-off]{opacity:0;filter:blur(6px);transform:scale(.9);pointer-events:none;transition:opacity .14s ease,filter .14s ease,transform .2s ease}
.yx-island-task{display:flex;align-items:flex-start;gap:12px;min-width:0}
.yx-island-task>.yx-ring{flex:none;width:24px;height:24px}
.yx-island-dot{flex:none;box-sizing:border-box;width:10px;height:10px;margin:7px;border-radius:50%;background:var(--g3)}
.yx-island-dot[data-run]{background:var(--a);animation:pomi-island-run 1.6s ease-in-out infinite}
@keyframes pomi-island-run{50%{opacity:.35;transform:scale(.75)}}
.yx-island-words{display:flex;flex-direction:column;min-width:0}
/* A running task's step and clock (2/3 · 0:43) at the end of its title's line. */
.yx-island-when{flex:none;margin:0 0 0 auto;line-height:24px;white-space:nowrap}
.yx-island-title{overflow:hidden;font-size:var(--fs-body);line-height:24px;font-weight:600;white-space:nowrap;text-overflow:ellipsis}
.yx-island-site{font-weight:400;color:var(--g4)}
.yx-island-sub,.yx-island-more{overflow:hidden;color:var(--g4);font-size:var(--fs-sub);line-height:20px;white-space:nowrap;text-overflow:ellipsis}
.yx-island-more{padding-left:36px}
@media (prefers-reduced-motion: reduce){.yx-island-c,.yx-island-c[data-off]{filter:none;transform:none}.yx-island-dot[data-run]{animation:none}}
/* Agenda (Home, today): rows read as a day's agenda. The time leads in a 44px column (the heading's weight, tabular
   figures), a 3px rail stands beside it as tall as the row's words (the accent tint; the next one, data-next, in the
   accent), then the words. Everything else in the list (what a row opens, a row's buttons, the row that shows the rest)
   starts in the words' column, so the list has two edges only: the times' and the words'. */
.yx-agenda>.y-item{align-items:stretch}
.yx-agenda-time{flex:none;width:44px;color:var(--ink);font-size:var(--fs-sub);line-height:24px;font-weight:600;font-variant-numeric:tabular-nums}
.yx-agenda-rail{flex:none;width:3px;margin:var(--leaf);border-radius:var(--r-pill);background:var(--a-tint-press)}
.yx-agenda-rail[data-next]{background:var(--a)}
.yx-agenda>.y-row:not(.y-item){margin-left:calc(47px + 4 * var(--leaf))}
/* A row that opens ends in a quiet chevron, turned while it is open. What it opens stays shut with it: the line it was
   read from, then its buttons (tickets.js: adding to the calendar, a small default button, before the link to the post). */
.yx-agenda>.y-item>.yx-chev{align-self:center;margin:var(--leaf)}
.yx-agenda>.y-item[aria-expanded="true"]>.yx-chev{transform:rotate(-90deg)}
.yx-agenda>.yx-originals:empty{display:none}
.yx-agenda>.yx-originals[hidden]+[data-ticket-home-actions],.yx-agenda>.yx-originals[hidden]+[data-ticket-home-actions]+[data-ticket-calendar-status]{display:none}
.yx-agenda>[data-ticket-home-actions]>.y-btn:not(.y-borderless){order:-1}
.yx-agenda>:is(.y-text,.yx-originals){margin-left:calc(47px + 5 * var(--leaf))}
/* Banner (Home's promotion): one thing with one way on is not a card with a link in it: the whole of it is the press,
   a row on the accent's soft fill with a chevron at its end. */
.y-item.yx-banner{box-sizing:border-box;width:auto;margin:var(--leaf);padding:var(--leaf);border-radius:var(--r-card);background:var(--a-soft);color:var(--ink);text-decoration:none}
.yx-banner>.y-icon{color:var(--a-text)}
/* Pane: the one card that leads a screen (what waits for the person on Home and in the task list; connecting Google on
   a Home with nothing on it): a catalog Card as a pane of the room's frosted glass (a barely tinted fill and hairline, --orb-fill
   and --orb-rim, one wide soft shadow, what is behind it blurred), so it stands over the lists, which have no outline. */
.yx-pane{--orb-fill:rgb(255 255 255/.86);--orb-rim:rgb(255 255 255/.7);border-color:var(--orb-rim);background:var(--orb-fill);box-shadow:0 8px 24px -8px rgb(0 0 0/.14),0 0 0 .5px rgb(0 0 0/.06)}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.yx-pane{--orb-fill:rgb(255 255 255/.5);-webkit-backdrop-filter:blur(16px) saturate(1.6);backdrop-filter:blur(16px) saturate(1.6)}}
@media (prefers-color-scheme:dark){
  .yx-pane{--orb-fill:color-mix(in srgb,var(--surface) 90%,transparent);--orb-rim:rgb(255 255 255/.14)}
  @supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.yx-pane{--orb-fill:rgb(255 255 255/.08)}}
}
/* Pomi on her profile (#/profile): her line in a bubble (yx-pomi-say) over her stage (yx-pomi-stage, as on Home: her still
   picture, then her 3D figure), which answers a press (a heart rises, yx-pomi-heart at --heart-x), then her name over what
   she is as a Text leaf. No fill: she stands on the page, as on Home. */
.yx-pomi-hero{position:relative;display:flex;flex-direction:column;align-items:center;color:var(--ink);text-align:center}
.yx-pomi-say{--orb-fill:rgb(255 255 255/.86);--orb-rim:rgb(255 255 255/.7);position:relative;z-index:2;box-sizing:border-box;max-width:min(100%,300px);margin:var(--leaf) var(--leaf) 0;padding:8px 16px;border:1px solid var(--orb-rim);border-radius:var(--r-lg);background:var(--orb-fill);box-shadow:0 8px 24px -8px rgb(0 0 0/.14),0 0 0 .5px rgb(0 0 0/.06);color:var(--ink);font-size:var(--fs-body);line-height:24px;text-wrap:balance;translate:var(--say-x,0) 0;transition:translate var(--t-med) var(--ease)}
/* Her bubble is the same glass as a memory's (--orb-fill, --orb-rim), and it goes where she goes: --say-x, in pixels
   from the middle, written as she walks. Its tail is the lower half of a turned square of the same glass. */
.yx-pomi-say::after{content:"";position:absolute;left:calc(50% - 6px);bottom:-7px;width:12px;height:12px;background:var(--orb-fill);border:1px solid var(--orb-rim);border-radius:0 0 var(--r-xs) 0;box-sizing:border-box;transform:rotate(45deg);clip-path:polygon(100% 0,100% 100%,0 100%)}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.yx-pomi-say{--orb-fill:rgb(255 255 255/.5);-webkit-backdrop-filter:blur(16px) saturate(1.6);backdrop-filter:blur(16px) saturate(1.6)}}
@media (prefers-color-scheme:dark){
  .yx-pomi-say{--orb-fill:color-mix(in srgb,var(--surface) 90%,transparent);--orb-rim:rgb(255 255 255/.14)}
  @supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.yx-pomi-say{--orb-fill:rgb(255 255 255/.08)}}
}
/* Sheet: a panel that rises from the foot of the app over a scrim, for one thing looked at closer (a memory). The panel
   is a surface of catalog leaves with the sheet's corners at its top, over the bottom safe area; a press on the scrim
   closes it. It lies over the stage, the docked button and the tab bar. */
.yx-sheet{position:absolute;inset:0;z-index:30;display:flex;flex-direction:column;justify-content:flex-end;background:var(--scrim)}
.yx-sheet .yx-tap-line{color:inherit;font:inherit;font-size:var(--fs-title);line-height:28px;font-weight:700}
.yx-sheet .yx-originals{-webkit-user-select:text;user-select:text}
/* Its head is one row: the caption and the cross that closes it. The words stand close under it; while the memory is
   changed its row goes after the lines it was read from, so they stay in sight over the field. */
.yx-sheet [data-sheet-caption]{align-self:center}
.yx-sheet [data-id]>.y-text{margin-top:0}
.yx-sheet [data-id][data-memory-open]{order:1}
.yx-sheet>.y-surface{box-sizing:border-box;width:100%;padding:calc(2 * var(--leaf)) var(--leaf) calc(var(--leaf) + env(safe-area-inset-bottom,0px));border-radius:var(--r-sheet) var(--r-sheet) 0 0;background:var(--surface);box-shadow:var(--shadow-med)}
/* A sheet opened on springs from script (bottomSheet: the other ways in on sign-in) is drawn hidden with its screen and
   moves by script only. Its handle is a short line at the top (--g2), the grip for a swipe down with the head row. */
.yx-sheet[hidden]{display:none}
.yx-sheet.yx-signin-sheet,.yx-sheet.yx-signin-sheet>.y-surface{animation:none}
.yx-sheet>.y-surface:focus{outline:none}
.yx-sheet-handle{display:flex;justify-content:center;height:24px;margin:calc(-2 * var(--leaf)) calc(-1 * var(--leaf)) 0;padding-top:8px;box-sizing:border-box;touch-action:none;cursor:grab}
.yx-sheet-handle::before{content:"";width:36px;height:4px;border-radius:var(--r-pill);background:var(--g2)}
.yx-sheet [data-sheet-head]{touch-action:none}
.yx-signin-sheet>.y-surface{will-change:transform}
.yx-signin-sheet>.y-surface>.y-text.yx-signin-terms{margin-top:calc(2 * var(--leaf))}
.yx-signin-sheet [data-sheet-head]{padding-inline-start:var(--leaf)}
.yx-pomi-scene{position:relative;display:grid;align-items:center;align-self:stretch;height:216px;transition:height var(--t-med) var(--ease)}
.yx-pomi-scene>.yx-pomi-stage{z-index:1;height:216px;margin:0}
[data-y-tabs="profile"]>.y-tabs{margin-inline:calc(2 * var(--leaf))}
/* Pomi's room, 추억: she steps back (data-compact: her stage at Home's 136px) and brings up one line at a time in her own
   bubble (made from the diary's rows and what she watches, profile.recall.*; a press on her brings up the next). */
.yx-pomi-hero[data-compact] .yx-pomi-scene,.yx-pomi-hero[data-compact] .yx-pomi-scene>.yx-pomi-stage{height:136px}
/* 추억 as her diary (yx-diary, owner 2026-11-29: one plain diary, nothing 잡스러운): each day is a small caption heading
   over its lines, no rows, boxes, counts or chevrons. A thing she knows is its words as body text (16/26), a button that
   opens its sheet; a thing done together (yx-diary-done) is its name (semibold, a failed one says so as a caption) over
   one line of what it left (14/20 --g4, two lines at most; a booking's place, time and party in --a-text, or a site's
   result line; nothing that only repeats its name), a link to its task. A press shows as a soft --g1 ground. */
.yx-diary{display:flex;flex-direction:column;gap:20px;padding:8px calc(var(--leaf) * 2) 0}
.yx-diary-day{display:flex;flex-direction:column;gap:4px}
.yx-diary-day>h3{margin:0;color:var(--g3);font-weight:600}
.yx-diary-day>ul{display:flex;flex-direction:column;margin:0;padding:0;list-style:none}
.yx-diary-line{display:block;width:100%;margin:0 -8px;padding:6px 8px;box-sizing:content-box;border:0;border-radius:var(--r-sm);background:none;color:var(--ink);font:inherit;font-size:var(--fs-body);line-height:26px;text-align:start;overflow-wrap:anywhere;word-break:keep-all;cursor:pointer;transition:background var(--t-fast) var(--ease)}
@media (hover:hover){.yx-diary-line:hover{background:var(--g1)}}
.yx-diary-line[aria-pressed="true"]{background:var(--a-tint)}
.yx-diary-line:focus-visible{outline:2px solid var(--a);outline-offset:0}
.yx-diary-done{display:flex;flex-direction:column;gap:2px;text-decoration:none}
.yx-diary-words{display:flex;align-items:baseline;gap:8px}
.yx-diary-words>b{font-weight:600}
.yx-diary-words>.y-caption{color:var(--g3)}
.yx-diary-sub{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:14px;line-height:20px;color:var(--g4)}
.yx-diary-sub[data-keep="ticket"]{color:var(--a-text)}

.yx-pomi-heart{position:absolute;top:16%;left:var(--heart-x,46%);z-index:1;display:block;color:var(--a);pointer-events:none}
.yx-pomi-heart path{fill:currentColor}

/* Points (profile): what a quest gives, a mark inside its heading in the caption size on the accent tint (the acorn in its
   own colours); once its quest is done it goes quiet, the acorn too. The bond's total is a caption with the acorn before its words. */
.yx-points{display:inline-flex;align-items:center;gap:2px;padding:0 8px;border-radius:var(--r-pill);background:var(--a-soft);color:var(--a-text);font-size:var(--fs-cap);line-height:18px;font-weight:600;font-variant-numeric:tabular-nums;vertical-align:middle}
/* The acorn's drawing stands a little inside its box: pulled back so the pill's two ends look alike. */
.yx-points>.yx-glyph{margin-left:-2px}
[data-done] .yx-points{background:var(--g1);color:var(--g3)}
[data-done] .yx-points>.yx-glyph{filter:grayscale(1);opacity:.7}
/* Bond (profile): the screen's headline, a card of its own under Pomi and over the lists (which have no outline): a large
   ring (the tasks' Ring at 56px, with the stage's number of five in it) beside the stage's name as the title over what
   is left. With no reading it holds one status line. */
.yx-bond{flex-direction:row;align-items:center}
.yx-bond-ring{position:relative;flex:none;display:grid;place-items:center;width:56px;height:56px;margin:var(--leaf)}
.yx-bond-ring>.yx-ring{grid-area:1/1}
.yx-bond-ring>span{grid-area:1/1;color:var(--ink);font-size:var(--fs-sub);line-height:20px;font-weight:700;font-variant-numeric:tabular-nums}
/* Tick (profile): the round mark that leads a quest, drawn like a step's mark (yx-step-mark) without its rail: a --g2
   ring until done, then the accent with a check ([data-done] on its row). */
.yx-tick{flex:none;display:grid;place-items:center;box-sizing:border-box;width:24px;height:24px;margin:var(--leaf);border-radius:50%;box-shadow:inset 0 0 0 2px var(--g2);color:transparent}
.yx-tick>.yx-glyph{stroke-width:3}
[data-done] .yx-tick{background:var(--a);box-shadow:none;color:var(--on-fill)}
/* Group label (profile): the label of a group inside a section (one-time quests, wishes) stands
   one row's distance under the rows before it, like a section's own label. */
.yx-group-label{margin-top:calc(3 * var(--leaf))}
/* Edit in place (memory): what a row or a tile opens into where its words were: the field (a TextField) and a row of its
   actions (save, cancel, then deleting, which asks once more in place). Its leaves line up with the words' lines. */
.yx-edit{display:flex;flex-direction:column;min-width:0;margin:calc(-1 * var(--leaf)) calc(-1 * var(--leaf)) 0}
.yx-edit:not(:first-child){margin-top:0}
/* Deleting stands at the end of the actions' row; once it asks, its question takes a line of its own (yx-confirm). */
.yx-edit .yx-confirm{flex:1 1 0%;min-width:0}

@media (prefers-reduced-motion:no-preference){
  .yx-pomi-stage>img{animation:yx-pomi-breathe 1.8s ease-in-out infinite alternate}
  .yx-pomi-prop[data-prop="back"] .yx-pomi-mark{animation:yx-pomi-twinkle 3.6s var(--ease) infinite alternate}
  .yx-pomi-prop[data-prop="back"] .yx-pomi-mark:nth-child(2n){animation-duration:4.4s;animation-delay:-1.3s}
  .yx-pomi-prop[data-prop="back"] .yx-pomi-mark:nth-child(3n){animation-delay:-2.2s}
  .yx-pomi-stage[data-paused] .yx-pomi-mark{animation-play-state:paused}
  .yx-sheet{animation:yx-sheet-scrim var(--t-med) var(--ease) both}
  .yx-sheet>.y-surface{animation:yx-sheet-rise var(--t-med) var(--ease-out) both}
  /* The profile arrives once (data-entering on its first draw): her line, the earned hearts, the meter, the done quests. */
  [data-entering] .yx-pomi-say{animation:yx-pomi-pop var(--t-slow) var(--ease-out) .15s both}
  [data-entering] [data-quest][data-done] .yx-tick{animation:yx-pomi-pop var(--t-slow) var(--ease-out) .45s both}
}
@keyframes yx-pomi-twinkle{from{opacity:.35;transform:scale(.82) rotate(-6deg)}to{opacity:.95;transform:scale(1) rotate(6deg)}}
@keyframes yx-pomi-breathe{from{transform:scale(1,1)}to{transform:scale(1.012,.988)}}
@keyframes yx-sheet-scrim{from{background:transparent}}
@keyframes yx-sheet-rise{from{transform:translateY(100%)}}
@keyframes yx-pomi-pop{from{opacity:0;transform:scale(.4)}to{opacity:1;transform:scale(1)}}
/* Circles and pills stay round where the app draws squircles. */
@supports (corner-shape:squircle){:is(.yx-points,.yx-tick){corner-shape:round}}
/* ==== end: home, profile and memory ==== */

/* ==== area: sign-in ==== */
/* Spring dropdown (extension Spring dropdown, springDropdown in app.js): a compact picker. The trigger (an optional icon,
   the value, a chevron) is 44px tall; the menu drops down from it over the page (it takes no room, so nothing moves),
   anchored at the trigger's end (yx-dd-end) or start, or up from it when there is no room below (data-dd-up); its height is a spring with a little overshoot, its rows fall in
   one after another, the highlight stretches between rows (a stiff leading edge, a soft trailing one), the picked row's
   check draws itself and the new value rolls up into the trigger. Rows are 44px. Springs are the Spring Dropdown
   study's, exactly (--spring-dd-*, the highlight's lead is --spring-lead). */
:root{--spring-dd-menu:300 23;--spring-dd-chev:300 18;--spring-dd-fade:400 34;--spring-dd-press:500 18;--spring-dd-roll:340 26;--spring-dd-row:300 24;--spring-dd-tick:260 26;--spring-dd-hl:400 32;--spring-dd-trail:200 20}
.yx-dd{position:relative;display:inline-flex}
.yx-dd-trig{position:relative;display:inline-flex;align-items:center;gap:6px;box-sizing:border-box;min-height:44px;margin:0;padding:0 8px 0 12px;border:0;border-radius:var(--r-pill);background:transparent;color:var(--g4);font:inherit;font-size:var(--fs-sub);line-height:20px;font-weight:600;cursor:pointer;-webkit-tap-highlight-color:transparent;will-change:transform}
.yx-dd-trig:disabled{cursor:default;opacity:.6}
.yx-dd-trig>.y-icon{width:20px;height:20px;margin:0;color:var(--g3)}
.yx-dd-val{position:relative;display:inline-grid;height:44px;overflow:hidden}
.yx-dd-slot{grid-area:1/1;display:flex;align-items:center;white-space:nowrap;will-change:transform,opacity}
.yx-dd-chev{display:grid;place-items:center;width:16px;height:16px;color:var(--g3);transform:rotate(90deg);will-change:transform}
.yx-dd-menu{position:absolute;top:calc(100% + 4px);left:0;z-index:30;box-sizing:border-box;min-width:max(100%,200px);height:0;padding:6px;overflow:hidden;border-radius:var(--r-lg);background:var(--surface);box-shadow:0 0 0 1px var(--outline),var(--shadow-med);transform-origin:0 0;visibility:hidden;opacity:0;will-change:transform,height,opacity}
.yx-dd-end>.yx-dd-menu{left:auto;right:0;transform-origin:100% 0}
.yx-dd[data-dd-up]>.yx-dd-menu{top:auto;bottom:calc(100% + 4px);transform-origin:0 100%}
.yx-dd-end[data-dd-up]>.yx-dd-menu{transform-origin:100% 100%}
.yx-dd-opt{position:relative;z-index:1;display:flex;align-items:center;gap:8px;box-sizing:border-box;width:100%;height:44px;margin:0;padding:0 10px 0 12px;border:0;border-radius:var(--r-sm);background:transparent;color:var(--ink);font:inherit;font-size:var(--fs-body);line-height:20px;font-weight:500;text-align:start;white-space:nowrap;cursor:pointer;will-change:transform,opacity}
.yx-dd-opt:disabled{cursor:default}
.yx-dd-name{flex:1 1 auto}
.yx-dd-note{color:var(--g3);font-variant-numeric:tabular-nums}
.yx-dd-tick{display:grid;place-items:center;width:18px;height:18px;color:var(--a-text)}
.yx-dd-tick .yx-glyph{stroke-width:2.4}
.yx-dd-tick path{stroke-dasharray:22;stroke-dashoffset:22}
.yx-dd-opt[aria-selected="true"]{color:var(--a-text)}
.yx-dd-hl{position:absolute;left:6px;right:6px;top:0;border-radius:var(--r-sm);background:var(--a-soft);opacity:0;pointer-events:none;will-change:transform,height}
@supports (corner-shape:squircle){:is(.yx-dd-menu,.yx-dd-opt,.yx-dd-hl){corner-shape:round}}

/* Sign-in (owner: sign-in): the first screen (#/start) and the steps after it (the other account, the phone step). The
   screen is a column padded by two leaves at the sides, so its leaves sit 24px in from the edge; its foot (the ways in, a
   step's buttons) stands at the bottom over the safe area. The pieces are the catalog's: the face is the round avatar at
   the feature size, Pomi's name is the Display line over her promise, the ways in are block buttons (one primary, in the
   provider's colour where it is theirs), the languages a row of chips, the notes captions, the fields TextFields. */
.yx-screen.yx-signin{display:flex;flex-direction:column;padding:calc(2 * var(--leaf)) calc(2 * var(--leaf)) 0}
.yx-signin-foot{margin-top:auto;padding-bottom:max(24px,env(safe-area-inset-bottom,0px))}
/* The first screen's hero: Pomi's face, her name and her promise, centred in the room above the ways in. */
.yx-signin-hero{flex:1 0 auto;align-items:center;justify-content:center;padding-top:calc(2 * var(--leaf));text-align:center}
.yx-signin-hero>.y-text{max-width:340px;text-wrap:balance}
/* The first screen (owner, 2026-11-28): Pomi herself in the room's soft light (Home's), not a face in a circle; the
   languages small at the top, out of the way of the ways in; Google a full-size button like the others. */
.yx-signin-hero{position:relative}
/* Quiet stage (owner, 2026-11-29, look B): the light behind Pomi is the theme's own quiet fill, so the violet stays in Pomi and the marker and LINE's green is the one saturated block on screen. */
.yx-signin-hero::before{content:"";position:absolute;inset:-24px -32px 0;background:radial-gradient(48% 40% at 50% 40%,var(--g1),transparent);filter:blur(24px);pointer-events:none}
.yx-signin-hero>*{position:relative}
.yx-signin .yx-pomi-stage{width:100%;height:220px;margin:0}
.yx-signin .yx-pomi-stage>img{height:176px}
.yx-signin-hero .yx-display{font-size:29px;line-height:40px;font-weight:800;letter-spacing:-.035em;word-break:keep-all}
/* Marker (the first screen's title): what Pomi does, under a highlighter stroke in the accent's soft tone that is drawn
   across it (--mark 0 to 1, sweepMarker); the words stay ink. The stroke sits on the lower half of the glyphs and passes
   them by 2px a side (a negative margin takes that back, so the line does not move); on dark it is a brighter, thinner
   stroke of the lifted accent, so it reads as ink on the words and not as a selected block. */
:root{--spring-marker:70 17}
.yx-marker{--mark:1;--mark-ink:color-mix(in srgb,var(--a) 30%,transparent);--mark-top:56%;--mark-end:92%;margin:0 -2px;padding:0 2px;background:linear-gradient(transparent var(--mark-top),var(--mark-ink) var(--mark-top),var(--mark-ink) var(--mark-end),transparent var(--mark-end)) no-repeat 0 0/calc(var(--mark) * 100%) 100%;-webkit-box-decoration-break:clone;box-decoration-break:clone}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .yx-marker{--mark-ink:color-mix(in srgb,var(--a) 62%,transparent);--mark-top:66%;--mark-end:90%}}
:root[data-theme="dark"] .yx-marker{--mark-ink:color-mix(in srgb,var(--a) 62%,transparent);--mark-top:66%;--mark-end:90%}
.yx-signin-hero .yx-display>span{display:block}
.yx-signin-hero .yx-display:is(:lang(ja),:lang(zh)){font-size:23px;line-height:34px;letter-spacing:-.02em}
.yx-signin-hero>.y-text{max-width:none}
/* The top of a sign-in screen: the language picker (extension Spring dropdown) at the right, in a 44px row of its own. */
.y-row.yx-signin-top{justify-content:flex-end;min-height:44px;margin:calc(-1 * var(--leaf)) calc(-1 * var(--leaf)) 0}
/* Ways (sign-in, owner 2026-11-29): the ways in are one column of full-width buttons, each in its company's own button
   form (LINE first, then Apple, then Google), all one height (52) and one corner (--r-md), the mark at the left and the
   words in the middle. LINE: LINE's green with its white mark and the thin line after it, pressed under black (LINE's
   guideline: the green is never changed); Apple: black, white in dark, Apple's mark; Google: neutral, its multicolour G
   (from the official art in app/brand/, light or dark by theme), never Pomi's violet. None is the primary. */
.y-col.yx-signin-ways{gap:0;margin:0}
.y-btn.yx-way{position:relative;min-height:52px;padding:0 56px;overflow:hidden;border-radius:var(--r-md);font-size:var(--fs-body);font-weight:600}
.y-btn.yx-way::after{content:"";position:absolute;inset:0;background:rgb(0 0 0/0);pointer-events:none;transition:background-color var(--t-fast) var(--ease)}
.y-btn.yx-way:not(:disabled):active{transform:none}
.y-btn.yx-way:not(:disabled):active::after{background:rgb(0 0 0/.12)}
.yx-way-mark{position:absolute;left:16px;top:50%;display:grid;place-items:center;width:24px;height:24px;margin-top:-12px}
.yx-way-mark>svg{display:block}
.yx-way-mark>.y-icon{margin:0;width:24px;height:24px;display:grid;place-items:center}
.yx-way.yx-apple .yx-way-mark svg{width:22px;height:22px;margin-top:-2px}
.yx-way-name{position:relative}
.y-btn.yx-way.yx-line,.y-btn.yx-way.yx-line:not(:disabled):active{background:var(--line-green);color:#fff}
.yx-way.yx-line .yx-way-mark{left:14px;width:28px;height:28px;margin-top:-14px}
.yx-way.yx-line::before{content:"";position:absolute;left:56px;top:0;bottom:0;width:1px;background:rgb(0 0 0/.08)}
.y-btn.yx-way.yx-line:not(:disabled):active::after{background:rgb(0 0 0/.3)}
.y-btn.yx-way.yx-apple,.y-btn.yx-way.yx-apple:not(:disabled):active{background:var(--apple-fill);color:var(--on-apple)}
.y-btn.yx-way.yx-google,.y-btn.yx-way.yx-google:not(:disabled):active{border-color:var(--gsi-rim);background:var(--gsi-fill);color:var(--gsi-ink)}
.yx-way.yx-google .yx-way-mark{width:20px;height:20px;margin-top:-10px;overflow:hidden;left:17px}
.yx-way.yx-google .yx-way-mark>img{display:block;flex:none;width:41.4px;height:41.4px;margin:-10.7px}
.yx-way.yx-google .yx-way-mark>[data-dark]{display:none}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .yx-way.yx-google .yx-way-mark>[data-dark]{display:block}:root:not([data-theme="light"]) .yx-way.yx-google .yx-way-mark>[data-light]{display:none}}
:root[data-theme="dark"] .yx-way.yx-google .yx-way-mark>[data-dark]{display:block}:root[data-theme="dark"] .yx-way.yx-google .yx-way-mark>[data-light]{display:none}
/* Under the ways in: one quiet line, what continuing agrees to, its two pages as links in the line's own colour. */
.yx-signin .yx-pomi-mark[data-mark="star"]{fill:var(--line-strong)}
.yx-signin .yx-pomi-mark[data-mark="dot"]{fill:var(--g2)}
.yx-signin [data-signin-more]{color:var(--g4)}
.y-text.yx-signin-terms{color:var(--g3);text-align:center;text-wrap:balance}
.yx-signin-terms a{white-space:nowrap;color:inherit;text-decoration:underline;text-underline-offset:3px}
/* Under the hero, the notes under the ways in are centred under the block buttons. */
.yx-signin-hero~.yx-signin-foot>.y-text{text-align:center}
/* Pomi's own words on a sign-in step (the number, the step that ran out, a way in that is not there): her chat's
   bubbles with her face, as in the chat; the field and its buttons follow right under them, not at the foot of the room.
   A bubble with nothing to say yet (the step's status) takes no room. */
.yx-signin-chat .yx-chat-col{padding:8px 0 4px;margin:0 calc(-1 * var(--leaf))}
.yx-signin-chat .yx-signin-foot{margin-top:var(--leaf)}
.yx-signin .yx-chat-col>.yx-bubble:empty{display:none}
.yx-signin-hero~.yx-signin-foot>.yx-chat-col{padding:0 0 4px;margin:0 calc(-1 * var(--leaf))}
/* A phone number (Tel): one outlined field, the country code picker (Spring dropdown, Japan first) at its start, then
   the national number. Its hint is a quiet example, never mistaken for a typed number. A number that was sent is held
   while its code is typed: its words go quiet and the picker is off. */
.yx-tel{position:relative;display:flex;align-items:stretch;box-sizing:border-box;min-height:48px;border:1px solid var(--line-strong);border-radius:var(--r-md);background:var(--surface)}
.yx-tel:has(input:focus-visible){border-color:var(--a);box-shadow:inset 0 0 0 1px var(--a)}
.yx-tel>input{flex:1 1 auto;min-width:0;box-sizing:border-box;margin:0;padding:12px 12px 12px 8px;border:0;border-radius:0 var(--r-md) var(--r-md) 0;background:transparent;color:var(--ink);font:inherit;font-size:var(--fs-body);line-height:24px;outline:0}
.yx-tel>input::placeholder{color:var(--g3);opacity:1}
.yx-tel>input[readonly]{color:var(--g3)}
.yx-signin .y-field>input[readonly]{color:var(--g3)}
.yx-dd.yx-tel-cc{flex:none}
.yx-tel-cc>.yx-dd-trig{height:100%;min-height:46px;padding:0 8px 0 12px;border-radius:var(--r-md) 0 0 var(--r-md);background:transparent;font-size:var(--fs-body);font-weight:500}
.yx-tel-cc>.yx-dd-trig::after{content:"";position:absolute;right:0;top:12px;bottom:12px;width:1px;background:var(--g2)}
/* ==== end: sign-in ==== */

/* ==== area: task screen ==== */
/* Task row (tasks): a task as the List's row (taskRowHtml, on Home and in 진행). Its tile takes the colours of the task's
   state (data-phase, the same as the state badge's); its one line stays on one line; a state that is news there
   ("못 했어요", "중단됨") leads the line in semibold, in the danger words when it failed. */
.yx-task-row .y-tile{transition:background-color var(--t-fast) var(--ease),color var(--t-fast) var(--ease)}
.yx-task-row[data-phase="needs"] .y-tile{background:var(--a-soft);color:var(--a-text)}
.yx-task-row[data-phase="running"] .y-tile{color:var(--g4)}
.yx-task-row[data-phase="failed"] .y-tile{background:var(--danger-soft);color:var(--danger-text)}
.yx-task-row:is([data-phase="stopped"],[data-phase="done"]) .y-tile{color:var(--g4)}
.yx-task-row .y-sub{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yx-task-row strong{font-weight:600;color:var(--g4)}
.yx-task-row[data-phase="failed"] strong{color:var(--danger-text)}
/* Ring (tasks): how far a running task is, at the end of its row: the rail in the line colour, the part done in the accent. */
.yx-ring>circle{stroke:var(--g2)}
.yx-ring>circle+circle{stroke:var(--a)}
/* Cover (task screen): when a task cannot be read, a panel over the whole app on the page colour, inside the safe areas,
   says so; its surface (what happened, one primary to try again, a way back) stands in the middle, 320px at most. */
.yx-cover{position:absolute;inset:0;z-index:20;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:max(var(--leaf),env(safe-area-inset-top,0px)) max(var(--leaf),env(safe-area-inset-right,0px)) max(var(--leaf),env(safe-area-inset-bottom,0px)) max(var(--leaf),env(safe-area-inset-left,0px));background:var(--bg);color:var(--ink)}
.yx-cover>.y-surface{width:100%;max-width:320px}
/* ==== end: task screen ==== */

/* ==== area: connect, tickets and the X page ==== */
/* Under a row (Connect), continued: what a row opens can be closed (hidden), and a layout piece in it (the HotPepper and
   Instagram forms, a row of buttons, an account's actions) takes no margin of its own, so its leaves line up with the
   row's words like every other leaf. */
.yx-row-more[hidden]{display:none}
.yx-row-more>:is(.y-col,.y-row,.y-list){margin:0}
/* Code (Connect): a code the person sends somewhere else (the LINE code), a line of a Text leaf. One press selects all of
   it, in the phone apps too; its digits keep one width. */
.yx-code{-webkit-user-select:all;user-select:all;font-variant-numeric:tabular-nums;letter-spacing:.02em}
html[data-native] .yx-code{-webkit-user-select:all;user-select:all;-webkit-touch-callout:default}
/* ==== end: connect, tickets and the X page ==== */
/* Stop task: the stop button and its note stand in the middle of the task screen, under what is running (owner, 2026-11-29). */
.yx-task-stop{align-items:center;text-align:center}
.y-text.yx-task-hint{text-align:center}
