/* Result layout blocks (assets/ui.js, docs/agent-platform/result-layout.md §4.3). Loaded after app.css; the .ly rules here override its lines 2784-2870. */
:root{--m-tap:120ms;--m-fade:200ms;--m-enter:320ms;--m-count:600ms;--m-draw:700ms;--m-ease:cubic-bezier(.2,.8,.2,1);--fg3:#C9C9C9;--head:#7D7D7D;--ring:#BDBDBD;--stroke2:#2C2C2C;--hover:#4A4A4A;--underline:#8A8A8A;--link:var(--accent);--link-hi:var(--accent-hi);--link-line:rgba(248,179,0,.45);--chip:#141414;--ok:#4CC38A;--bad:#E5484D;--lift:#333333;--row:#111111;--scrim:rgba(0,0,0,.64);--well:#141414;--ly-gut:0px;--ly-bleed:12px;--ctl:30px;--ctl-sm:26px;--knob:20px}
/* One surface (spec §7d): the result sits on its card; the card's gutter is what a figures strip bleeds into. */
.xbox{--ly-gut:24px}
.rh-res{--ly-gut:18px}
:root[data-screen="phone"] .xbox.ly{--ly-gut:18px}:root[data-screen="phone"] .xbox.ly>.xbox-top{padding-inline:var(--ly-gut)}
.tlbox.lay{margin:0;border:0;border-radius:0;background:none}
.tlbox.lay>.tlin.lay{padding:0}
.xbox>.tlbox.lay>.tlin.lay{padding:2px var(--ly-gut) var(--ly-gut)}
@media (pointer:coarse){:root{--ctl:36px;--ctl-sm:32px}}

.lyout{position:relative;display:flex;flex-direction:column;gap:28px;padding:0;container-type:inline-size}
.lyout.lytabbed{gap:22px}
.lyout a:where(:not(.rcta,.lybadge)){color:var(--link);text-decoration:underline;text-decoration-color:var(--link-line);text-underline-offset:3px}
.lyout a:where(:not(.rcta,.lybadge)):hover{color:var(--link-hi);text-decoration-color:var(--link-hi)}
.lyout a.lycite{display:inline-flex;align-items:center;height:18px;margin:0 2px;padding:0 7px;border:1px solid var(--stroke2);border-radius:999px;font-size:11px;font-weight:500;line-height:1;color:var(--mute);text-decoration:none;vertical-align:1px;white-space:nowrap;transition:color var(--m-tap) var(--m-ease),border-color var(--m-tap) var(--m-ease)}
.lyout a.lycite:hover{color:var(--fg);border-color:var(--hover)}
.lyout a.rcta{display:inline-flex;align-items:center;text-decoration:none}
.lyout .rcta{height:var(--ctl)}
.lyout a.rcta .lyicon{margin:0 -2px 0 6px;opacity:.75}
.lynav{position:relative;display:flex;gap:2px;width:100%;max-width:100%;padding:4px;border:1px solid var(--line);border-radius:14px;background:var(--panel);overflow-x:auto;overscroll-behavior-x:contain;scroll-padding-inline:4px;scrollbar-width:none}
.lynav::-webkit-scrollbar{display:none}
.lyind{position:absolute;top:4px;left:0;height:32px;width:0;border-radius:10px;background:var(--fg);pointer-events:none}
.lynav button{position:relative;flex:1 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:32px;padding:0 14px;border:0;border-radius:10px;background:transparent;color:var(--mute);font-size:13px;font-weight:500;white-space:nowrap;transition:color var(--m-tap) var(--m-ease),transform var(--m-tap) var(--m-ease)}
.lynav button:hover{color:var(--fg)}
.lynav button[aria-selected="true"]{background:transparent;color:var(--ink)}
.lynav button[aria-selected="true"]:hover{color:var(--ink)}
.lynav button .lyicon{margin-left:-2px}
.lynav.lystaged button i{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;border:1px solid currentColor;font-style:normal;font-size:11px;font-variant-numeric:tabular-nums}
.lypanes{position:relative}
.lypane{display:flex;flex-direction:column;gap:22px;min-width:0}
.lypane[hidden]{display:none}
.lyout.lyall .lypane{display:flex}
.lyout.lyall .lypane+.lypane{padding-top:18px;border-top:1px solid var(--hair)}
.lystage{display:flex;align-items:center;gap:10px}
.lystage .lymore{margin-left:auto}
.lytab{margin:0;border:0;border-bottom:1px solid var(--hair);border-radius:0;max-height:none;overflow:auto hidden;overscroll-behavior:auto}
.lytabbed .lytab{max-height:none}
.lytab .rtab th{padding:10px 14px!important;background:var(--card);border-bottom-color:var(--line);font-size:12px;font-weight:500;letter-spacing:0;text-transform:none;color:var(--mute);white-space:normal;vertical-align:bottom}
.lytab .rtab td{padding:13px 14px!important;border-bottom-color:var(--hair);vertical-align:top;white-space:normal;min-width:90px}
.lytab .rtab :is(th,td):first-child{padding-left:0!important}
.lytab .rtab :is(th,td):last-child{padding-right:0!important}
.lytab .rtab td:first-child{min-width:170px}
.lytab .rtab th[data-sortkey]{cursor:pointer;user-select:none}
.lytab .rtab th[data-sortkey]:hover{color:var(--fg)}
.lytab .rtab th[aria-sort="ascending"]::after{content:" ↑";color:var(--fg)}
.lytab .rtab th[aria-sort="descending"]::after{content:" ↓";color:var(--fg)}
.lytab .rtab td.lysel,.lytab .rtab th.lysel{min-width:0;width:36px;padding-right:0!important}
.lytab .rtab td.lyrank{min-width:0;width:40px}
.lytab .rtab td.em{color:var(--dim)}
.lytab .rtab td.lyflag{color:var(--fg2)}
.lytab .rtab tbody tr:hover td{background:var(--row)}
.lytab .rtab :is(th,td).lyract{min-width:0;width:1%;white-space:nowrap;text-align:right}
.lyrowact{height:var(--ctl-sm);padding:0 10px;border:1px solid var(--stroke2);border-radius:999px;background:transparent;color:var(--fg2);font-size:12px;font-weight:600;white-space:nowrap;transition:color var(--m-tap) var(--m-ease),border-color var(--m-tap) var(--m-ease)}
.lyrowact+.lyrowact{margin-left:6px}
.lyrowact:hover:not(:disabled){color:var(--fg);border-color:var(--hover)}
.lyrowact:disabled{opacity:.45;cursor:not-allowed}
.lytab .rtab tr.lyrow-off td:not(.lyract){color:var(--dim);opacity:.55}
:root[data-screen="phone"] .lytab-wide{border:0;border-radius:0;overflow:visible}
:root[data-screen="phone"] .lytab-wide .rtab,:root[data-screen="phone"] .lytab-wide .rtab tbody{display:block}
:root[data-screen="phone"] .lytab-wide .rtab thead{display:none}
:root[data-screen="phone"] .lytab-wide .rtab tbody{display:flex;flex-direction:column;gap:0}
:root[data-screen="phone"] .lytab-wide .rtab tr{display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px 16px;padding:14px 0;border:0;border-top:1px solid var(--hair);border-radius:0;background:none}
:root[data-screen="phone"] .lytab-wide .rtab tr[hidden]{display:none}
:root[data-screen="phone"] .lytab-wide .rtab td{display:block;flex:1 1 calc(50% - 8px);min-width:0!important;padding:0!important;border:0!important;background:transparent!important}
:root[data-screen="phone"] .lytab-wide .rtab td:first-child:not(.lyrank,.lysel),:root[data-screen="phone"] .lytab-wide .rtab td:is(.lyrank,.lysel)+td{flex:1 1 calc(100% - 44px);font-size:15px}
:root[data-screen="phone"] .lytab-wide .rtab td:is(.lyrank,.lysel){flex:none;width:auto}
:root[data-screen="phone"] .lytab-wide .rtab td[data-long]{flex-basis:100%}
:root[data-screen="phone"] .lytab-wide .rtab td.lyract{flex-basis:100%;text-align:left}
:root[data-screen="phone"] .lytab-wide .rtab td[data-label]::before{content:attr(data-label);display:block;margin-bottom:2px;font-size:12px;font-weight:400;color:var(--mute)}
:root[data-screen="phone"] .lytab-wide .rtab td:first-child[data-label]::before,:root[data-screen="phone"] .lytab-wide .rtab td:is(.lyrank,.lysel)+td[data-label]::before{display:none}
:root[data-screen="phone"] .lyout .lyc summary,:root[data-screen="phone"] .lyout .lyc-row{flex-wrap:wrap;row-gap:8px}:root[data-screen="phone"] .lyout .lyc-main{flex:1 1 0}:root[data-screen="phone"] .lyout .lyc-chev{order:2}:root[data-screen="phone"] .lyout .lyc-side{order:3;flex:1 1 100%;max-width:100%;justify-content:flex-start;padding-left:38px}
.chatbox .tlbox.open .tlin.lay{max-height:none}
.lyout .lychart:not(.lychart-spark){max-width:760px}
:root[data-screen="phone"] .lynav button{padding:0 12px}
.lyblock{display:flex;flex-direction:column;gap:12px;min-width:0}
.lyh{display:flex;align-items:baseline;gap:8px;font-size:15px;font-weight:600;line-height:1.35;letter-spacing:-.005em;text-transform:none;color:var(--fg);text-wrap:balance}
.lyh>.lyicon{align-self:center;margin-right:2px;color:var(--mute)}
.lyh em{font-style:normal;font-size:14px;font-weight:400;color:var(--mute);font-variant-numeric:tabular-nums}
.lynote{margin:0;font-size:13px;color:var(--dim)}
.lylbl{display:block;font-size:12px;color:var(--mute);margin-bottom:4px}
.lycall{margin:0;font-size:16px;line-height:1.5;color:var(--fg);text-wrap:pretty}
.lyblock[data-block="lead"] .lycall{font-size:17px;line-height:1.5}
.lycall-sub{margin:0;font-size:13px;color:var(--mute)}
.lybadge{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border:1px solid var(--stroke2);border-radius:999px;background:var(--chip);color:var(--fg2);font-size:12px;font-weight:500;white-space:nowrap;font-variant-numeric:tabular-nums;text-decoration:none}
.lybadge::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--dim);flex:none}
.lybadge:not(.ok,.warn,.bad,.up)::before{display:none}
.lybadge.ok::before{background:var(--ok)}
.lybadge.warn::before{background:transparent;border:1.5px solid currentColor;width:5px;height:5px}
.lybadge.warn{color:var(--fg);border-color:var(--hover)}
.lybadge.bad::before{background:var(--bad)}
.lybadge.up::before{background:var(--accent)}
.lybadge.up{color:var(--accent)}
.lybadge.accent{color:var(--fg)}
.lybadge em{font-style:normal;color:var(--mute)}
.lybadge i{font-style:normal;color:var(--dim);font-size:11px}
.lybadge .lymv{font-weight:600;color:var(--fg)}
a.lybadge:hover{border-color:var(--hover);color:var(--fg)}
.lychips{display:flex;flex-wrap:wrap;gap:6px}
.lypills{display:flex;flex-wrap:wrap;gap:6px}
/* Each figure is its own borderless well (The Outsiders, Canny): an object, never a band of lines glued under the card head. */
.lymetrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:0;border:0;border-radius:0;background:none;overflow:visible}
.lymetric{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"ico lbl" "val val" "sub sub" "dlt dlt" "bar bar";align-content:start;align-items:center;column-gap:10px;min-width:0;padding:14px 16px 16px;border:0;border-radius:14px;background:var(--well);transition:opacity var(--m-fade) var(--m-ease),background-color var(--m-tap) var(--m-ease),outline-color var(--m-tap) var(--m-ease)}
.lymetric:not(:has(>.lyico)){grid-template-columns:minmax(0,1fr);grid-template-areas:"lbl" "val" "sub" "dlt" "bar"}
.lymetric>.lyico{grid-area:ico}
/* A figure that opens rows (drill, facet) lightens on hover and, pressed, takes a lighter well with a thin ring. */
.lyout .lymetric:is([data-drill-target],[data-facet-tile]){outline:1px solid transparent;outline-offset:-1px}
.lyout .lymetric:is([data-drill-target],[data-facet-tile]):hover{background:var(--field)}
.lyout .lymetric:is([data-drill-target],[data-facet-tile])[aria-pressed="true"]{background:var(--field);outline-color:var(--hover)}
.lymetric .lymt{display:contents}
.lymetric .lyml{grid-area:lbl;min-width:0;font-size:13px;font-weight:500;line-height:1.35;color:var(--fg2);overflow-wrap:break-word}
.lymetric .lymt small,.lymetric .lysr{grid-area:sub;margin-top:4px;font-size:12px;line-height:1.4;color:var(--dim)}
.lymetric .lydelta{grid-area:dlt}
.lymetric .lymvw{grid-area:val;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 6px;min-width:0;margin-top:10px;font-size:inherit;color:inherit}
.lymetric .lymvw .lyof{font-size:12px;color:var(--mute)}
.lymetric b.lymv{font-size:28px;font-weight:600;line-height:1.05;letter-spacing:-.02em;color:var(--fg);font-variant-numeric:tabular-nums;white-space:nowrap}
.lymetric b.lyplus{color:var(--ok);font-size:22px}.lymetric b.lyminus{color:var(--bad);font-size:22px}
.lyof{font-style:normal;font-size:12px;font-weight:500;color:var(--mute);white-space:nowrap}
.lymetric>.lybar.lymetric-meter{grid-area:bar;display:block;width:100%;height:4px;margin-top:12px}
.lymetric .lysplitbar{grid-area:bar;display:flex;gap:2px;height:6px;margin-top:12px;border-radius:99px;overflow:hidden}
.lysplitbar i{display:block;height:100%;min-width:2px}
.lysplitbar i.ok{background:var(--ok)}.lysplitbar i.bad{background:var(--bad)}
.lyblock-metrics{container-type:inline-size}
.lyn-1{grid-template-columns:minmax(0,1fr)}.lyn-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lyn-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.lyn-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lyn-5,.lyn-6{grid-template-columns:repeat(3,minmax(0,1fr))}
@container (max-width:560px){.lyn-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container (max-width:640px){.lyn-5,.lyn-6{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container (max-width:480px){.lyn-3{grid-template-columns:repeat(2,minmax(0,1fr))}}
:root[data-screen="phone"] .lymetrics{gap:8px}:root[data-screen="phone"] .lymetric{padding:12px 14px 14px}:root[data-screen="phone"] .lymetric b.lymv{font-size:24px}
/* An odd last tile in a two-up phone grid spans the row as one line (label left, figure right) instead of leaving half a row empty. */
@container (max-width:480px){
.lyn-3>.lymetric:last-child,.lyn-5>.lymetric:last-child{grid-column:1/-1;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"ico lbl val" "sub sub sub" "dlt dlt dlt" "bar bar bar";padding:12px 14px}
.lyn-3>.lymetric:last-child:not(:has(>.lyico)),.lyn-5>.lymetric:last-child:not(:has(>.lyico)){grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"lbl val" "sub sub" "dlt dlt" "bar bar"}
.lyn-3>.lymetric:last-child .lymvw,.lyn-5>.lymetric:last-child .lymvw{margin-top:0;justify-content:flex-end}
}
/* Phone list rows: the rank, compare and chevron columns give their width back to the words. */
:root[data-screen="phone"] .lyout .lyc summary,:root[data-screen="phone"] .lyout .lyc-row{gap:10px}
:root[data-screen="phone"] .lyout .lycards .tld{width:auto;min-width:12px;font-size:12px}
:root[data-screen="phone"] .lyout .lyc-side{padding-left:22px}
:root[data-screen="phone"] .lyout .lyc .lyx-pin{width:var(--ctl-sm);height:var(--ctl-sm)}
.lyfrom{margin:-6px 0 0;display:flex;flex-wrap:wrap;align-items:baseline;gap:0 4px;font-size:13px;color:var(--mute);font-variant-numeric:tabular-nums}
.lyfrom b{font-weight:600;color:var(--fg2)}
.lyfrom-a{padding:6px 0;margin:-6px 0;border:0;background:none;font:inherit;color:inherit;cursor:pointer;text-decoration:underline;text-decoration-color:var(--underline);text-underline-offset:3px}
.lyfrom-a:hover{color:var(--fg);text-decoration-color:var(--fg)}
.lyfrom-s{color:var(--dim)}
.lyblock[data-block="from"]{gap:0}
.lyflash{outline:1px solid var(--hover);outline-offset:6px;border-radius:12px;transition:outline-color var(--m-fade) var(--m-ease)}
.lyfigs{margin-bottom:14px}
.lyout b.lyfig{font-weight:600;color:var(--fg)}
/* A lone figure draws as a one-figure strip: the same lines and type as metrics. */
.lystat{display:flex;align-items:center;gap:18px;padding:16px 0 18px;border:0;border-block:1px solid var(--hair);border-radius:0;background:none}
.lystat>div{display:flex;flex-direction:column;gap:6px;min-width:0}.lystat>div>span{order:-1}
.lystat b{font-size:28px;font-weight:600;line-height:1.05;letter-spacing:-.02em;color:var(--fg);font-variant-numeric:tabular-nums}
.lystat>div>span{font-size:13px;font-weight:500;color:var(--fg2)}
.lystat span{font-size:12px;color:var(--mute)}.lystat small{font-size:12px;color:var(--dim)}
.lystat .lychart{flex:1;min-width:120px;margin:0}
/* A row bleeds into the gutter so its hover and its opened well reach past the text; its hairline stays on the text's measure. */
.lycards{position:relative;list-style:none;margin:0;padding:0;border:0;border-bottom:1px solid var(--hair);border-radius:0;background:none;overflow:visible}
.lycards>.lyc{position:relative;margin-inline:calc(-1 * var(--ly-bleed));padding-inline:var(--ly-bleed);border-radius:14px;transition:background-color var(--m-fade) var(--m-ease)}
.lycards>.lyc::after{content:"";position:absolute;top:0;left:var(--ly-bleed);right:var(--ly-bleed);height:1px;background:var(--hair);pointer-events:none;transition:opacity var(--m-fade) var(--m-ease)}
.lycards>.lyc:has(>details>summary:hover):not(.lyopen){background:var(--row)}
.lycards>.lyc.lyopen{background:var(--well)}
.lycards>.lyc.lyopen+.lyc,.lycards>.lyc+.lyc.lyopen{margin-top:8px}
.lycards>.lyc:is(.lyopen,:has(>details>summary:hover))::after,.lycards>.lyc:is(.lyopen,:has(>details>summary:hover))+.lyc::after{opacity:0}
.lyc summary{list-style:none;cursor:pointer}.lyc summary::-webkit-details-marker{display:none}
.lyc summary,.lyc-row{display:flex;align-items:center;gap:14px;padding:14px 0;min-width:0}
.lycards .tld{width:22px;height:auto;border:0;border-radius:0;background:none;place-items:center start;color:var(--dim);font-size:13px;font-weight:500}
.lyc input[type="checkbox"]{flex:none;width:16px;height:16px;margin:0;accent-color:var(--fg)}
.lyc-main{flex:1 1 60%;min-width:0;display:flex;flex-direction:column;gap:2px}
.lyc-img{flex:none;width:56px;height:56px;border-radius:12px;object-fit:cover;background:var(--field)}
.lyc-main.lyc-thumbed{flex-direction:row;align-items:center;gap:14px}
.lyc-words{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.lyc-title{font-size:16px;font-weight:500;line-height:1.35;color:var(--fg);text-wrap:pretty;overflow-wrap:anywhere}
.lyc-title a{color:inherit;text-decoration:none;text-underline-offset:3px}.lyc-title a:hover{text-decoration:underline;text-decoration-color:var(--fg)}
/* A row's title is the row, not a link in a sentence: it underlines on hover only. The same for a table's link cells. */
.lyout .rtab td a:where(:not(.rcta,.lybadge)){text-decoration:none}.lyout .rtab td a:where(:not(.rcta,.lybadge)):hover{text-decoration:underline}
/* An unranked list has no number column, so its drawer and side line up with the title. */
.lycards-plain .lyc-body,.lycards-plain .lyc-body.open{padding-left:0}
.lycards-plain:is(.lycover,.lygrid) .lyc-side{padding-left:0}
:root[data-screen="phone"] .lyout .lycards-plain .lyc-side{padding-left:0}
.lyc-sub{font-size:13px;color:var(--mute);text-wrap:pretty}
.lyc-open{display:flex;flex-direction:column;gap:8px;margin-top:6px}
.lyc-open .lysec p{margin:0;font-size:13px;line-height:1.5;color:var(--fg3)}
.lyc-side{flex:none;display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end;max-width:40%}
.lyc-chev{flex:none;display:inline-flex;align-self:center;color:var(--dim);transition:transform var(--m-enter) var(--m-spring,var(--m-ease)),color var(--m-tap) var(--m-ease)}
.lyc summary:hover .lyc-chev{color:var(--fg2)}
.lyc summary[aria-expanded="true"] .lyc-chev{transform:rotate(90deg);color:var(--fg2)}
.lymeta-n{font-size:14px;color:var(--fg)}
.lymeta-t{font-size:13px;color:var(--mute);font-variant-numeric:tabular-nums}
.lymeta-bar{display:inline-flex;align-items:center;gap:8px;font-size:13px}
.lybar{display:inline-block;width:56px;height:5px;border-radius:99px;background:var(--line);overflow:hidden;vertical-align:middle;flex:none}
.lybar i{display:block;height:100%;border-radius:inherit;background:var(--mute)}
.lybar.lymeter{width:96px;height:6px}
.lybar.lymeter i{background:var(--chart)}
.lybarc{display:inline-flex;align-items:center;gap:8px}
.lybarc .lyof{margin-left:-2px}
.lystack{display:inline-flex;align-items:center}
.lystack .lyav{width:28px;height:28px;margin-left:-8px;font-size:11px;letter-spacing:-.02em;border-color:var(--card);border-width:2px;background:var(--stroke2);color:var(--fg)}
.lystack .lyav:first-child{margin-left:0}
.lystack .lyav:nth-child(1){z-index:3}.lystack .lyav:nth-child(2){z-index:2}.lystack .lyav:nth-child(3){z-index:1}
.lystack .lyav{position:relative}
.lystack em{margin-left:8px;font-style:normal;font-size:13px;color:var(--mute);white-space:nowrap}
.lystrip{display:flex;flex-wrap:wrap;gap:4px 18px;font-size:13px;line-height:1.5;color:var(--fg2);font-variant-numeric:tabular-nums}
.lystrip em{font-style:normal;color:var(--mute);margin-right:6px}
.lystrip>span{min-width:0;max-width:100%;overflow-wrap:anywhere}
.lylist .lylab{font-style:normal;color:var(--mute)}
/* An opened row's drawer: prose and quotes on the left, its figures on the right on a wide card (Maze), stacked on a phone. */
.lyc-body{display:flex;flex-direction:column;gap:16px;padding:2px 0 20px 36px;border-top:0}
.lyc-body.open{padding:0 0 16px 36px}
.lyc-body.lycols{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
@container (min-width:720px){.lyc-body.lycols{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);column-gap:36px;align-items:start}}
.lyc-col{display:flex;flex-direction:column;gap:16px;min-width:0}
.lyc-body.lycols>.lyc-act{grid-column:1/-1}
:root[data-screen="phone"] .lyc-body,:root[data-screen="phone"] .lyc-body.open{padding-left:0}
.lyc-body p{margin:0;font-size:14px;line-height:1.55;color:var(--fg3)}
.lyc-act{display:flex;gap:10px;flex-wrap:wrap}
.lysec{min-width:0;display:flex;flex-direction:column;gap:6px}
.lysec>.lybadge,.lyblock>.lybadge{align-self:flex-start}
.lyvalline{margin:0;font-size:15px;font-weight:500;color:var(--fg);font-variant-numeric:tabular-nums}
.lyvalline .lysub{font-weight:400}
.lyc-peek{display:flex;flex-wrap:wrap;gap:2px 16px;margin-top:3px;font-size:13px;line-height:1.45;color:var(--fg2);font-variant-numeric:tabular-nums}
.lyc-peek em{font-style:normal;color:var(--mute);margin-right:6px}
.lylist{margin:0;padding-left:18px;font-size:13px;line-height:1.5;color:var(--fg3);display:flex;flex-direction:column;gap:3px}
.lycheck{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:5px;font-size:13px;line-height:1.5;color:var(--fg3)}
.lycheck li{display:flex;gap:10px;align-items:baseline}
.lycheck li i{flex:none;width:6px;height:6px;border-radius:50%;background:var(--dim);position:relative;top:-2px}
.lycheck li.ok i{background:var(--ok)}.lycheck li.bad i{background:var(--bad)}.lycheck li.warn i{background:transparent;border:1px solid var(--ring);width:5px;height:5px}
/* Score parts as Oura's contributors: the name and its figure on one line, a full-width line under them. */
.lybars{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px;font-size:13px;max-width:720px}
.lybars li{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"n v" "bar bar" "sub sub";align-items:baseline;gap:6px 12px}
.lybars .lybars-n{grid-area:n}
.lybars b{grid-area:v;white-space:nowrap;font-variant-numeric:tabular-nums}
.lybars .lybar.lymeter{grid-area:bar;width:100%;height:4px}
.lybars-n{color:var(--fg3);overflow-wrap:anywhere}
.lybars b{font-weight:500;color:var(--fg)}
.lybars b em{font-style:normal;color:var(--dim)}
.lybars .lysub{grid-area:sub;margin-top:-2px}
.lydraft{display:flex;flex-direction:column;gap:8px;padding:14px 16px;border:0;border-radius:14px;background:var(--well)}
.lyopen .lydraft{background:var(--card)}
.lydraft b{font-size:14px;color:var(--fg)}
.lydraft pre{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:14px;line-height:1.55;color:var(--fg3)}
.lydraft .rcta{align-self:flex-start}
.lyflagline{margin:0;font-size:13px;color:var(--mute)}
.lyflagline::before{content:"";display:inline-block;width:5px;height:5px;border-radius:50%;border:1px solid var(--ring);margin:0 8px 2px 0}
.lypeople{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.lyperson{display:grid;grid-template-columns:32px minmax(0,1fr);gap:6px 12px;padding:12px 0;border-top:1px solid var(--hair)}
.lyperson>:not(.lyav){grid-column:2}
.lyperson>.lyav{grid-row:1}
.lyperson:first-child{border-top:0;padding-top:0}
.lyperson-h{display:flex;flex-direction:column;gap:2px}
.lyperson-h b{font-size:14px;font-weight:500;color:var(--fg)}
.lyperson-h b a{color:inherit;text-decoration:underline;text-decoration-color:var(--underline);text-underline-offset:3px}
.lyperson-h span{font-size:13px;color:var(--mute)}
.lyperson-h small{font-size:12px;color:var(--dim)}
.lyfacts{margin:0;display:flex;flex-direction:column}
.lyfacts div{display:flex;gap:16px;padding:7px 0;border-top:1px solid var(--hair);font-size:13px}
.lyfacts div:first-child{border-top:0}
.lyfacts dt{flex:none;width:150px;max-width:42%;color:var(--mute)}.lyfacts dd{margin:0;min-width:0;color:var(--fg2);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.lyfacts dd a{color:inherit;text-decoration:underline;text-decoration-color:var(--underline);text-underline-offset:3px}
.lyfactgroups{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}
/* Each group's rows start under its own heading, level with the group beside it however long that one runs. */
.lyfactgroups>.lygroup{align-content:start;gap:4px;padding:0}
.lygroups{display:flex;flex-direction:column;gap:22px}
.lygroup{min-width:0;padding:0;border:0;border-radius:0;background:none}
.lygroup .lylbl{font-size:14px;color:var(--fg);font-weight:600;margin-bottom:8px}
.lysteps{margin:0;padding-left:22px;font-size:14px;line-height:1.55;color:var(--fg2);display:flex;flex-direction:column;gap:6px}
.lysteps li{overflow-wrap:anywhere}
.lyblock-bullets>.lysteps{list-style:none;gap:0;padding:0;border:0;border-bottom:1px solid var(--hair);border-radius:0;background:none}
.lyblock-bullets>.lysteps>li{position:relative;padding:11px 0 11px 18px;border-top:1px solid var(--hair)}
.lyblock-bullets>.lysteps>li[hidden]{display:none}
.lyblock-bullets>.lysteps>li::before{content:"";position:absolute;left:2px;top:20px;width:5px;height:5px;border-radius:50%;background:var(--dim)}
.lyblock-bullets>.lysteps>li:has(>.lytick){padding-left:0}
.lyblock-bullets>.lysteps>li:has(>.lytick)::before{display:none}
.lyblock-facts>.lyfacts{padding:0;border:0;border-block:1px solid var(--hair);border-radius:0;background:none}
.lyblock-facts>.lyfacts>div{padding:11px 0}
.lysteps a{color:var(--fg2);text-decoration:underline;text-decoration-color:var(--underline);text-underline-offset:3px}
.lyplan{padding:4px 0 0}
.lyplan .tli{padding-bottom:12px}
.lyplan-t{display:flex;flex-direction:column;gap:1px;padding-top:0;overflow-wrap:anywhere}
.lyplan-t small{font-size:12px;color:var(--mute);font-variant-numeric:tabular-nums}
.lyplan-t .done,.lytick .done{color:var(--dim);text-decoration:line-through}
.lyplan-t em{font-style:normal;font-size:12px;color:var(--dim)}
.lytick{display:inline-flex;align-items:baseline;gap:10px;cursor:pointer}
.lytick input{flex:none;width:15px;height:15px;margin:0;position:relative;top:2px;accent-color:var(--fg)}
@media (pointer:coarse){.lyc input[type="checkbox"],.lysel input[type="checkbox"]{width:24px;height:24px}.lytick input{width:20px;height:20px;top:4px}}
.lytl{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.lytl-i{position:relative;display:grid;grid-template-columns:92px 16px 1fr;gap:0 12px;align-items:start;padding:0 0 16px}
.lytl-i:not(:last-child)::before{content:"";position:absolute;left:calc(92px + 12px + 7px);top:14px;bottom:-2px;width:1px;background:var(--stroke2)}
.lytl-w{font-size:12px;color:var(--mute);font-variant-numeric:tabular-nums;padding-top:3px;text-align:right;overflow-wrap:anywhere}
.lytl-dot{width:8px;height:8px;margin:7px 4px;border-radius:50%;background:var(--dim);position:relative;z-index:1}
.lytl-i.done .lytl-dot{background:var(--fg)}
.lytl-i.start .lytl-dot{background:transparent;border:1px solid var(--mute)}
.lytl-t{display:flex;flex-direction:column;align-items:flex-start;gap:4px;font-size:14px;line-height:1.5;color:var(--fg2);min-width:0;overflow-wrap:anywhere}
.lytl-t em{font-style:normal;font-size:12px;color:var(--dim)}
.lytl-t a{color:inherit;text-decoration:underline;text-decoration-color:var(--underline);text-underline-offset:3px}
:root[data-screen="phone"] .lytl-i{grid-template-columns:16px 1fr}:root[data-screen="phone"] .lytl-w{grid-column:2;text-align:left;padding-top:0;order:-1}:root[data-screen="phone"] .lytl-dot{grid-row:1/3}:root[data-screen="phone"] .lytl-i:not(:last-child)::before{left:7px}
.lyquotes{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.lyq{display:flex;flex-direction:column;gap:4px;padding:0;border:0}
.lyq blockquote{margin:0;font-size:14px;line-height:1.55;color:var(--fg2);text-wrap:pretty;overflow-wrap:anywhere}
.lyq footer{font-size:12px;color:var(--mute)}
.lyq footer a{color:inherit;text-decoration:none}.lyq footer a:hover{text-decoration:underline}
.lynotice{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;font-size:13px;line-height:1.5;color:var(--mute)}
.lynotice li{display:flex;gap:10px;align-items:baseline;overflow-wrap:anywhere}
.lynotice li i{flex:none;width:5px;height:5px;border-radius:50%;border:1px solid var(--ring);position:relative;top:-2px}
.lynotice-icon li{align-items:flex-start}
.lyni{flex:none;display:inline-flex;padding-top:3px;color:var(--ring)}
.lycode{display:flex;flex-direction:column;border:0;border-radius:14px;background:var(--well)}
.lycode pre{margin:0;padding:6px 16px 14px;overflow:auto;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;line-height:1.5;color:var(--fg2)}
.lycode .rcta{order:-1;align-self:flex-end;margin:8px 8px 0}
.lypdf{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.lyfacets{display:flex;flex-wrap:wrap;gap:6px}
.lysearch{display:block;width:100%;max-width:320px;height:var(--ctl);margin-bottom:10px;padding:0 13px;border:1px solid var(--stroke2);border-radius:999px;background:transparent;color:var(--fg);font:inherit;font-size:13px}
.lysearch:focus{outline:none;border-color:var(--hover)}
[data-nomatch]{display:none!important}
.lyfacet{height:var(--ctl);padding:0 13px;border:1px solid var(--stroke2);border-radius:999px;background:transparent;color:var(--mute);font-size:13px;font-weight:500;white-space:nowrap;transition:color var(--m-tap) var(--m-ease),border-color var(--m-tap) var(--m-ease),background-color var(--m-tap) var(--m-ease),transform var(--m-tap) var(--m-ease)}
.lyfacet:hover{color:var(--fg);border-color:var(--hover)}
.lyfacet[aria-pressed="true"]{background:var(--fg);border-color:var(--fg);color:var(--panel)}
.lyactions{display:flex;flex-wrap:wrap;gap:8px}
.lyactions .rcta[disabled]{opacity:.45;cursor:not-allowed}
.lyactions .rcta[disabled]:hover{background:transparent;color:var(--fg2);border-color:var(--stroke2)}
.lyoffer-q{margin:0 0 8px;font-weight:600;color:var(--fg)}
.lyoffers{display:flex;flex-direction:column;gap:2px}
.lyoffer{display:flex;align-items:center;gap:12px;min-height:44px;padding:0 12px;border:0;border-radius:10px;background:transparent;color:var(--fg);font:inherit;text-align:left;cursor:pointer}
.lyoffer:hover{background:var(--row)}
.lyoffer[disabled]{opacity:.45;cursor:not-allowed}
.lyoffer-dot{width:18px;height:18px;flex:none;border-radius:50%;border:1.5px solid var(--stroke2)}
.lyrow{display:grid;grid-template-columns:1fr;gap:22px}
@media (min-width:900px){.lyrow{grid-template-columns:1fr 1fr}}
.lygroup{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;padding:6px 0 4px}
.lyclip{overflow:clip}
.lyclip[hidden]{display:none}
.lymore{align-self:flex-start;height:var(--ctl);padding:0 13px;border:1px solid var(--stroke2);border-radius:999px;background:transparent;color:var(--fg2);font-size:12px;font-weight:600;white-space:nowrap;transition:color var(--m-tap) var(--m-ease),border-color var(--m-tap) var(--m-ease),transform var(--m-tap) var(--m-ease)}
/* One press for every control in a result (Apple, Designing Fluid Interfaces): feedback on press, not on release. */
.lyout :is(.lymore,.lyfacet,.rcta,.lynav button,.lytog button,.lyx-btn,.lyx-chip,.lyx-pin,.lywi-reset,.lyscrub-play,.lycar-btn,.lyfrom-a,[data-drill-target],[data-facet-tile]):active:not(:disabled){transform:scale(.97)}
.lyout .rcta{transition:background-color var(--m-tap) var(--m-ease),color var(--m-tap) var(--m-ease),border-color var(--m-tap) var(--m-ease),transform var(--m-tap) var(--m-ease)}
.lymore:hover{color:var(--fg);border-color:var(--hover)}
.lymore[hidden]{display:none}
.lypager{margin-left:auto;align-self:center;display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:500;color:var(--mute);font-variant-numeric:tabular-nums}
.lypager[hidden]{display:none}
.lyh:has(> .lypager:not([hidden])){align-items:center}
.lypager-at{margin-right:2px;white-space:nowrap}
.lypager-b{display:grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid var(--stroke2);border-radius:999px;background:transparent;color:var(--fg2);transition:color var(--m-tap) var(--m-ease),border-color var(--m-tap) var(--m-ease),transform var(--m-tap) var(--m-ease)}
.lypager-prev svg{transform:scaleX(-1)}
.lypager-b:hover:not(:disabled){color:var(--fg);border-color:var(--hover)}
.lypager-b:active:not(:disabled){transform:scale(.94)}
.lypager-b:disabled{opacity:.35;cursor:default}
[data-paged]{display:none!important}
@media (pointer:coarse){.lypager-b{width:36px;height:36px}}
.lysplit{display:flex;flex-direction:column;gap:10px}
.lysplit+.lysplit{margin-top:6px}
.lynum{font-variant-numeric:tabular-nums;color:var(--fg)}
.lysub{display:block;font-size:12px;color:var(--dim);margin-top:2px}
.lyout [data-dim]{opacity:.35;transition:opacity var(--m-fade) var(--m-ease)}
.lyout .rtext{padding:0;font-size:14px;line-height:1.6;color:var(--fg3)}
.lyout .rtext>:not(.rtab-w){max-width:82ch}
.lyout .rtext.lystand>p:first-child{max-width:none;font-size:17px;line-height:1.6;color:var(--fg2)}
.lyout .rtext p+p{margin-top:10px}
.lyout .rtext :is(ul,ol)+p,.lyout .rtext p+:is(ul,ol),.lyout .rtext :is(ul,ol)+:is(h4,h5,h6){margin-top:10px}
.lyout .rtext li+li{margin-top:3px}
.lyempty{padding:12px 16px;border:1px dashed var(--stroke2);border-radius:12px}
.lyblock:has(>.lyh+.lyclip[data-fold]+.lymore),.lysplit:has(>.lyh+.lyclip[data-fold]+.lymore){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0 12px;padding:14px 0 0;border:0;border-top:1px solid var(--hair);border-radius:0;background:none}
.lyblock:has(>.lyh+.lyclip[data-fold]+.lymore)>.lyh{font-size:14px;font-weight:500;color:var(--fg2)}
:is(.lyblock,.lysplit):has(>.lyh+.lyclip[data-fold]+.lymore)>.lyh{grid-area:1/1}
:is(.lyblock,.lysplit):has(>.lyh+.lyclip[data-fold]+.lymore)>.lymore{grid-area:1/2}
:is(.lyblock,.lysplit):has(>.lyh+.lyclip[data-fold]+.lymore)>.lyclip{grid-area:2/1/3/3;padding-top:12px}
.lysplit:has(>.lyh+.lyclip[data-fold]+.lymore)+.lysplit{margin-top:0}
.lyout .rtext h4,.lyout .rtext h5,.lyout .rtext h6{margin:18px 0 6px;font-size:15px;font-weight:600;line-height:1.4;letter-spacing:0;text-transform:none;color:var(--fg)}
.lyout .rtext h4:first-child{margin-top:0}
.lyout .rimgs{padding:0}
.lyblock-images .rimg-a{aspect-ratio:4/3;padding:0;background:var(--well)}
.lyblock-images .rimg-a>img{display:block;width:100%;height:100%;object-fit:cover}
.lyblock-images .rimg-c{font-size:13px;line-height:1.35;color:var(--fg2)}.lyblock-images .rimg-c b{font-weight:500}
:root[data-screen="phone"] .lyblock-images .rimgs{grid-template-columns:repeat(2,minmax(0,1fr))}:root[data-screen="phone"] .lyblock-images .rimg:last-child:nth-child(odd){grid-column:1/-1}:root[data-screen="phone"] .lyblock-images .rimg:last-child:nth-child(odd) .rimg-a{aspect-ratio:16/9}
.xbox.chatbox.ly{animation:none}
/* app.css caps an open result at 600 px (.tlbox.open .tlin); a laid-out result is never capped, in the chat or in My runs. */
.tlbox.lay,.tlin.lay,.tlbox.open>.tlin.lay{overflow:visible;max-height:none}
.tlbox.lay .tlfade,.tlbox.lay .pblur{display:none}
.lyout .rtab a,.lyout .lyfacts a{color:var(--link);text-decoration:underline;text-decoration-color:var(--link-line);text-underline-offset:3px}
.lyout .rtab a:hover,.lyout .lyfacts a:hover{color:var(--link-hi);text-decoration-color:var(--link-hi)}
.lyicon{display:block;flex:none}
.lyico{flex:none;display:inline-grid;place-items:center;width:28px;height:28px;border-radius:8px;background:color-mix(in srgb,var(--fg2) 10%,transparent);color:var(--fg2)}
.lyico.ok{color:var(--ok);background:color-mix(in srgb,var(--ok) 10%,transparent)}
.lyico.bad{color:var(--bad);background:color-mix(in srgb,var(--bad) 10%,transparent)}
.lyico.warn{color:var(--ring);background:color-mix(in srgb,var(--ring) 10%,transparent)}
.lyico.info{color:var(--chart);background:color-mix(in srgb,var(--chart) 10%,transparent)}
.lydelta{display:flex;flex-wrap:wrap;align-items:center;gap:2px 5px;margin-top:6px;font-size:12px;font-weight:500;line-height:1.35;font-variant-numeric:tabular-nums}
.lydelta.up{color:var(--ok)}.lydelta.down{color:var(--bad)}.lydelta.flat{color:var(--mute)}
.lydelta svg{flex:none}
.lydv{white-space:nowrap}
.lydelta em{font-style:normal;font-weight:400;color:var(--mute);margin-left:3px}
/* No side stripes anywhere (Devansh, 2026-10-16): a callout's tone is its tinted icon chip, a row's is its toned badge. */
.lycallout{position:relative;display:flex;align-items:flex-start;gap:14px;padding:16px 18px;border:0;border-radius:14px;background:var(--well);overflow:hidden}
.lycallout-t{display:flex;flex-direction:column;gap:4px;min-width:0;padding-top:2px}
.lycallout-act{margin-top:6px}
.lywork{display:flex;align-items:center;gap:14px;padding:12px 14px;border:1px solid color-mix(in srgb,var(--fg) 10%,transparent);border-radius:14px;background:var(--well)}
.lywork>.lyfav{width:36px;height:36px;padding:7px;border-radius:10px}
.lywork>.lyfav img{width:22px;height:22px}
.lywork-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.lywork-n{margin:0;font-size:15px;font-weight:600;color:var(--fg);display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.lywork-site{font-size:12px;font-weight:500;color:var(--mute)}
.lywork-d{margin:0;font-size:13px;line-height:1.45;color:var(--mute);text-wrap:pretty}
.lywork>.rcta{flex:none}
.lywork>.lylogo:is(.off,.wait)::after{font-size:16px}
@container (max-width:480px){.lywork{flex-wrap:wrap;align-items:flex-start}.lywork-t{flex-basis:calc(100% - 50px)}.lywork>.rcta{margin-left:50px}}
:root[data-screen="phone"] .lywork{flex-wrap:wrap;align-items:flex-start}:root[data-screen="phone"] .lywork-t{flex-basis:calc(100% - 50px)}:root[data-screen="phone"] .lywork>.rcta{margin-left:50px}
.lyattr{display:block;font-size:11px;line-height:1.4;color:var(--dim);overflow-wrap:anywhere}
.lyav{flex:none;display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;border:1px solid var(--line);background:var(--panel);color:var(--fg2);font-size:12px;font-weight:600;letter-spacing:.02em;overflow:hidden;font-style:normal}
.lyav img{display:block;width:100%;height:100%;object-fit:cover}
.lycards-people .lyc-body{padding-left:64px}
:root[data-screen="phone"] .lyout .lycards-people .lyc-side{padding-left:46px}
.lyhero{display:grid;grid-template-columns:minmax(0,1fr);border:0;border-radius:18px;background:var(--well);overflow:hidden}
.lyhero-media{margin:0;padding:8px 8px 0;display:flex;flex-direction:column;gap:6px;min-width:0}
.lyhero-media .lyattr{padding:0 4px}
.lyhero-img{aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:var(--field)}
.lyhero-img img{display:block;width:100%;height:100%;object-fit:cover}
.lyhero-body{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:18px 20px 20px;min-width:0}
.lyhero-t{font-size:20px;font-weight:600;line-height:1.3;letter-spacing:-.01em;color:var(--fg);text-wrap:balance;overflow-wrap:anywhere}
.lyout .lyhero-t a{color:inherit;text-decoration:underline;text-decoration-color:var(--underline);text-underline-offset:3px}
.lyout .lyhero-t a:hover{text-decoration-color:var(--fg)}
.lyhero-s{font-size:14px;line-height:1.5;color:var(--mute);text-wrap:pretty}
.lyhero-facts{margin:6px 0 2px;display:flex;flex-wrap:wrap;gap:8px 24px}
.lyhero-facts div{display:flex;align-items:baseline;gap:8px;min-width:0}
.lyhero-facts dt{font-size:13px;color:var(--mute)}
.lyhero-facts dd{margin:0;font-size:14px;font-weight:500;color:var(--fg);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.lyhero .lyc-act{margin-top:6px}
.lyhero-more{align-self:stretch;display:grid;grid-template-columns:auto 1fr;grid-template-areas:"act more" "clip clip";align-items:center;gap:10px}
.lyhero-more>.lyc-act{grid-area:act;margin-top:0}
.lyhero-more>.lymore{grid-area:more;justify-self:start;height:var(--ctl)}
.lyhero-more>.lyclip{grid-area:clip}
.lyhero-detail{padding:12px 0 0;border-top:1px solid var(--hair)}
.lyhero.lylowres{grid-template-columns:minmax(0,1fr)}
.lyhero-img.lowres{width:120px;height:120px;aspect-ratio:1;flex:none}
.lyhero.lylowres .lyhero-media{padding:18px 20px 0;flex-direction:row}
.lyc-pic.lowres{width:56px;height:56px;aspect-ratio:auto;margin:16px 0 0 18px}
@container (min-width:600px){.lyhero.lyhero-pic{grid-template-columns:40% minmax(0,1fr)}.lyhero-pic .lyhero-media{padding:8px 0 8px 8px}.lyhero-pic .lyhero-img{flex:1 1 auto;aspect-ratio:auto;min-height:200px}.lyhero-pic .lyhero-body{justify-content:center;padding:22px 26px}}
/* Fixed row tracks: flip morphs a list's height, and auto rows would stretch or collapse with it (cards overflow:hidden). */
/* Cards side by side share their row's height, so a short card does not leave a hole beside a tall one. */
.lycards.lycover,.lycards.lygrid{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;grid-auto-rows:max-content;align-content:start;gap:12px;border:0;border-radius:0;background:transparent;overflow:visible}
.lycards:is(.lycover,.lygrid)>.lyc{margin-inline:0;padding-inline:0;border:0;border-radius:16px;background:var(--well);overflow:hidden;transition:transform var(--m-tap) var(--m-ease),background-color var(--m-tap) var(--m-ease)}
.lycards:is(.lycover,.lygrid)>.lyc::after{display:none}
.lycards:is(.lycover,.lygrid)>.lyc :is(summary,.lyc-row){padding:14px 18px}
.lycards:is(.lycover,.lygrid)>.lyc .lyc-body{padding:2px 18px 18px}
.lycards:is(.lycover,.lygrid)>.lyc:hover,.lycards:is(.lycover,.lygrid)>.lyc.lyopen{background:var(--field)}
/* Only a small tile lifts: a cover card (a story with its picture) or an opened one is too big to move, its picture and
   words redrawn a pixel up, and a pointer at its edge would flick it up and down. */
.lycards.lygrid:not(.lycover)>.lyc:not(.lyopen):hover{transform:translateY(-1px)}
.lycover>.lyc[hidden],.lygrid>.lyc[hidden]{display:none}
/* An open card in the agent's own grid (style 'cards'): heading and badges, what it marked open, the rest, and its buttons
   at the foot of every card. Same tokens and flat wells as the rest of the page, text at reading contrast. */
.lycards.lygrid>.lyc.lyc-ocard{display:flex;flex-direction:column;gap:12px;padding:16px 18px 18px}
.lyc-ocard .lyc-ohead{display:flex;flex-direction:column;gap:4px;min-width:0}
.lyc-ocard .lyc-otitle{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px}
.lyc-ocard .lyc-obadges{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px}
.lyc-ocard .lyc-open,.lyc-ocard .lyc-orest{display:flex;flex-direction:column;gap:10px;margin:0}
.lyc-ocard .lysec :is(p,li){font-size:13.5px;line-height:1.55;color:var(--fg2)}
.lyc-ocard .lyc-foot{margin-top:auto;display:flex;flex-wrap:wrap;gap:8px;padding-top:2px}
.lycards.lygrid:not(.lycover)>.lyc.lyc-ocard:hover{transform:none}
/* An opened card takes the whole row and reads top to bottom: its picture a banner, its body the card's full width. */
.lygrid>.lyc:has(>details>summary[aria-expanded="true"]){grid-column:1/-1}
.lygrid>.lyc.lyopen:not(.lylowres)>.lyc-pic{aspect-ratio:5/2}
.lygrid>.lyc.lyopen>.lyc-pic.none,.lygrid>.lyc.lyopen>.lyc-pic.none+.lyattr{display:none}
/* Columns follow the card's own width, not the window's: a narrow card stacks its grid. */
@container (min-width:600px){.lycards.lygrid-2,.lycards.lygrid-3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container (min-width:700px){.lycards.lygrid-3{grid-template-columns:repeat(3,minmax(0,1fr))}}
.lyc-pic{position:relative;margin:8px 8px 0;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:var(--field)}
.lyc-pic img{display:block;width:100%;height:100%;object-fit:cover}
/* A card with no picture beside cards with pictures keeps the same picture box, so the titles line up. */
.lyc-pic.none{display:grid;place-items:center;background:var(--field);color:var(--mute)}
.lycover:not(.lygrid) .lyc-pic.none,.lycover:not(.lygrid) .lyc-pic.none+.lyattr{display:none}
:root[data-screen="phone"] .lycover .lyc-pic.none,:root[data-screen="phone"] .lycover .lyc-pic.none+.lyattr{display:none}
.lycover .lyattr{margin:6px 12px 0}
/* A small picture in the grid sits at its own size inside the same box, never upscaled and never a smaller box. */
.lycover .lyc-pic.lowres{width:auto;height:auto;aspect-ratio:16/9;margin:8px 8px 0;display:grid;place-items:center;background:var(--panel)}
.lycover .lyc-pic.lowres img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}
/* A photo credit takes one line in the grid (the whole credit on hover and once the card opens). */
.lycover>.lyc:not(.lyopen)>.lyattr{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lycover .lyc-row,.lycover summary,.lygrid .lyc-row,.lygrid summary{flex-wrap:wrap;align-items:flex-start;row-gap:10px}
.lycover .lyc-main,.lygrid .lyc-main{flex:1 1 0}
.lycover .lyc-chev,.lygrid .lyc-chev{order:2;align-self:flex-start;margin-top:3px}
.lycover .lyc-side,.lygrid .lyc-side{order:3;flex:1 1 100%;max-width:none;justify-content:flex-start;padding-left:38px}
.lycover .lyc-side:empty,.lygrid .lyc-side:empty{display:none}
.lycar{position:relative;min-width:0}
.lycar-track{list-style:none;margin:0;padding:2px 0 4px;display:flex;gap:12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-left:0;overscroll-behavior-x:contain;scrollbar-width:none}
.lycar-track::-webkit-scrollbar{display:none}
.lycar-i{flex:none;display:flex;width:260px;max-width:85%;scroll-snap-align:start}
.lycar-a{display:flex;flex-direction:column;gap:4px;width:100%;padding:8px 8px 14px;border:0;border-radius:16px;background:var(--well);color:inherit;transition:transform var(--m-tap) var(--m-ease),background-color var(--m-tap) var(--m-ease)}
.lyout a.lycar-a{color:inherit;text-decoration:none}
a.lycar-a:hover{background:var(--field);transform:translateY(-1px)}
.lycar-pic{position:relative;display:block;aspect-ratio:4/3;margin-bottom:8px;border-radius:12px;overflow:hidden;background:var(--field)}
.lycar-pic img{display:block;width:100%;height:100%;object-fit:cover}
.lycar-pic.none{display:grid;place-items:center;background:var(--panel);color:var(--dim)}
.lycar-chip{position:absolute;left:8px;bottom:8px;display:inline-flex;align-items:center;max-width:calc(100% - 16px);height:24px;padding:0 10px;border-radius:999px;background:var(--scrim);color:var(--fg);font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lycar-t{padding:0 6px;font-size:15px;font-weight:500;line-height:1.35;color:var(--fg);overflow-wrap:anywhere}
.lycar-s{padding:0 6px;font-size:13px;line-height:1.45;color:var(--mute)}
.lycar-a .lyattr{padding:2px 6px 0}
.lycar-btn{position:absolute;top:84px;z-index:1;display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid var(--stroke2);border-radius:50%;background:var(--card);color:var(--fg);opacity:0;pointer-events:none;transition:opacity var(--m-fade) var(--m-ease),border-color var(--m-tap) var(--m-ease)}
.lycar-btn[data-car="prev"]{left:-10px}.lycar-btn[data-car="next"]{right:-10px}
.lycar-btn[data-car="prev"] .lyicon{transform:scaleX(-1)}
.lycar:hover .lycar-btn:not(:disabled),.lycar:focus-within .lycar-btn:not(:disabled){opacity:1;pointer-events:auto}
.lycar-btn:hover,.lycar-btn:focus-visible{border-color:var(--lift)}
/* A comparison on hairlines with no box of its own (Assembly): the names head the columns, the labels stay muted. */
.lyvs{display:flex;flex-direction:column;border:0;border-bottom:1px solid var(--hair);border-radius:0;background:none;overflow:visible}
.lyvs-2{--vs-n:2}.lyvs-3{--vs-n:3}
.lyvs-row{display:grid;grid-template-columns:minmax(96px,.7fr) repeat(var(--vs-n),minmax(0,1fr));gap:4px 20px;align-items:baseline;padding:12px 0;border-top:1px solid var(--hair);font-size:14px;line-height:1.45}
.lyvs-head{align-items:start;padding:0 0 16px;border-top:0}
.lyvs-act{align-items:center;padding:14px 0 16px}
.lyvs-v .lybarc{display:inline-flex;align-items:center;gap:8px}
.lyvs-v .lybar.lymeter{width:72px}
.lyvs-l{font-size:13px;color:var(--mute);overflow-wrap:anywhere}
.lyvs-v{min-width:0;color:var(--fg2);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.lyvs-v .lysub{font-size:12px}
.lyvs-v.best{color:var(--chart);font-weight:600}
.lyout .lyvs-v.best a{color:inherit;text-decoration-color:currentColor}
.lyvs-na{color:var(--dim)}
.lyvs-h{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0}
.lyvs-img{width:40px;height:40px;margin-bottom:8px;border-radius:12px;object-fit:cover;background:var(--field)}
.lyvs-h>.lyav{margin-bottom:8px}
.lyvs-t{font-size:16px;font-weight:600;line-height:1.3;color:var(--fg);overflow-wrap:anywhere}
.lyout .lyvs-t a{color:inherit;text-decoration:underline;text-decoration-color:var(--underline);text-underline-offset:3px}
.lyout .lyvs-t a:hover{text-decoration-color:var(--fg)}
.lyvs-s{font-size:13px;line-height:1.4;color:var(--mute)}
.lyvs-h .lychips{margin-top:6px}
.lyvs-act .lyvs-v{display:flex;flex-wrap:wrap;gap:8px}
.lyvs-detail{margin-top:12px;border:0;border-radius:14px;background:var(--well)}
.lyvs-detail>.lyc-body{padding:16px 18px 18px;border-top:0}
.lyvs-dt{font-size:14px;color:var(--fg);font-weight:500}
:root[data-screen="phone"] .lyvs{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
:root[data-screen="phone"] .lyvs-row{display:contents}
:root[data-screen="phone"] .lyvs-l{display:none}
:root[data-screen="phone"] .lyvs-h,:root[data-screen="phone"] .lyvs-v{order:var(--o);padding:6px 0;background:none}
:root[data-screen="phone"] .lyvs-h{padding-top:18px;border-top:1px solid var(--hair)}
:root[data-screen="phone"] .lyvs-h[style*="--o:0"]{border-top:0}
:root[data-screen="phone"] .lyvs-v[data-label]{display:flex;justify-content:space-between;align-items:baseline;gap:16px;font-size:14px;text-align:right}
:root[data-screen="phone"] .lyvs-v[data-label]::before{content:attr(data-label);flex:none;max-width:45%;color:var(--mute);font-size:13px;font-weight:400;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:root[data-screen="phone"] .lyvs-act .lyvs-v{padding-bottom:18px}
:root[data-screen="phone"] .lyvs-t{font-size:15px}
.lysrcs{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));grid-auto-rows:max-content;align-content:start;gap:10px}
.lysrc{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:8px;padding:12px 14px 14px;border:0;border-radius:14px;background:var(--well);transition:transform var(--m-tap) var(--m-ease),background-color var(--m-tap) var(--m-ease)}
.lyout a.lysrc{color:inherit;text-decoration:none}
.lysrc:hover{background:var(--field);transform:translateY(-1px)}
.lysrc[hidden]{display:none}
.lyfav{position:relative;flex:none;display:grid;place-items:center;box-sizing:border-box;width:20px;height:20px;padding:2px;border-radius:4px;background:color-mix(in srgb,var(--fg) 92%,transparent);overflow:hidden}
.lyfav img{display:block;width:16px;height:16px}
.lyfav i{display:none;font-style:normal;font-size:11px;font-weight:600;line-height:1;color:var(--fg2)}
.lyfav.off{background:color-mix(in srgb,var(--fg2) 12%,transparent)}
.lyfav.off img{display:none}
.lyfav.off i{display:block}
/* waiting for the icon: the letter shows; the image stays laid out (a lazy image that is not laid out never loads) */
.lyfav.wait{background:color-mix(in srgb,var(--fg2) 12%,transparent)}.lyfav.wait img{position:absolute;opacity:0}.lyfav.wait i{display:block}
.lylogo:is(.off,.wait)::after{content:attr(data-letter);font-size:11px;font-weight:600;line-height:1;color:var(--fg2)}
.lylogoed{display:flex;align-items:flex-start;gap:10px;min-width:0}
.lylogoed>.lyfav{margin-top:1px}
.lylogoed-t{display:flex;flex-direction:column;align-items:flex-start;gap:2px;flex:1;min-width:0}
.lyc-main>.lylogoed>.lylogoed-t{align-items:stretch}
.lyfacts dt .lylogoed{gap:8px}
.lyfacts dt .lyfav{margin-top:-1px}
.lysrc-h{min-width:0;font-size:12px;color:var(--mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lysrc-t{grid-column:1/-1;font-size:14px;font-weight:500;line-height:1.4;color:var(--fg);overflow-wrap:anywhere}
.lymedia{display:grid;grid-template-columns:minmax(0,1fr);max-width:560px;border:0;border-radius:16px;background:var(--well);overflow:hidden;transition:transform var(--m-tap) var(--m-ease),background-color var(--m-tap) var(--m-ease)}
.lyout a.lymedia{color:inherit;text-decoration:none}
.lymedia:hover{background:var(--field);transform:translateY(-1px)}
.lymedia>.lyicon{display:none}
.lymedia-pic{position:relative;display:block;margin:8px 8px 0;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:var(--field)}
.lymedia-pic img{display:block;width:100%;height:100%;object-fit:cover}
.lymedia-play{position:absolute;left:12px;bottom:12px;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--scrim);color:var(--fg)}
.lymedia-t{display:flex;flex-direction:column;gap:4px;padding:12px 16px 14px;min-width:0}
.lymedia-t .lysrc-h{display:inline-flex;align-items:center;gap:8px}
.lymedia-t b{font-size:15px;font-weight:500;color:var(--fg)}
.lymedia-plain{grid-template-columns:minmax(0,1fr) auto;align-items:center}
.lymedia-plain>.lyicon{display:block;margin-right:16px;color:var(--mute)}
.lybento{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;min-width:0}
@media (min-width:900px){
.lybento{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:10px 22px;align-items:start}
.lybento>.lyblock-metrics{grid-column:1;grid-row:1/span 2;align-self:start}
.lybento>.lyblock-metrics>.lymetrics{grid-template-columns:minmax(0,1fr);grid-auto-rows:auto}
.lybento>.lyblock-chart{display:contents}
.lybento>.lyblock-chart>*{grid-column:2}
.lybento>.lyblock-chart>:not(.lyh,.lychart){grid-column:1/-1;margin-top:12px}
.lybento.lybento-text{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:22px 28px}
.lybento-text>.lyblock-text{grid-column:1;grid-row:1}
.lybento-text>.lyblock-metrics{grid-column:2;grid-row:1}
.lybento-text .rtext.lystand>p:first-child{font-size:16px}
.lybento-media>.lyblock-sources{grid-column:2;grid-row:1;position:sticky;top:16px}
.lybento.lybento-figs{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:22px 28px}
.lybento-figs>.rtext{grid-column:1;grid-row:1}
.lybento-figs>.lyfigs{grid-column:2;grid-row:1;margin:0;grid-template-columns:minmax(0,1fr)}
}
.lystatus .lycall{font-size:15px;color:var(--fg2)}
.lystatus .lycall b{font-weight:600;color:var(--fg)}
@media (prefers-reduced-motion:reduce){.lycards:is(.lycover,.lygrid)>.lyc:hover,a.lycar-a:hover,.lysrc:hover,.lymedia:hover{transform:none}.lyout :is(.lymore,.lyfacet,.rcta,.lynav button,.lytog button,.lyx-btn,.lyx-chip,.lyx-pin,.lywi-reset,.lyscrub-play,.lycar-btn,.lyfrom-a,[data-drill-target],[data-facet-tile]):active:not(:disabled){transform:none}}

/* Interactive blocks wired by ui.js (result-layout.md §3.5): what ui.js itself draws for them. */
.lyout .lydigit{font-size:inherit;color:inherit;white-space:pre}
.lydigit-was{pointer-events:none}.lydigit-was::before{content:attr(data-was)}
.lyruns{display:flex;justify-content:flex-end;margin:-4px 0 12px}
.lyblock:has(> .lyh + .lyruns){position:relative}
.lyblock > .lyh + .lyruns{position:absolute;top:-9px;right:0;margin:0}
.lyvs-h.lyvs-pinned{position:relative;padding-right:40px}
.lyvs-h .lyx-pinw{position:absolute;top:0;right:0}
:root[data-screen="phone"] .lyvs-h .lyx-pinw{top:14px;right:14px}:root[data-screen="phone"] .lyvs-h.lyvs-pinned{padding-right:56px}
.lyscens{position:relative}
/* ── the first tabbed result someone meets: a one-line pointer above the strip, gone on the first tab click or after 8 s (ui.js tabsHint) ── */
.lyhint{display:inline-flex;align-self:flex-start;align-items:center;gap:8px;max-width:100%;margin:0 0 10px;padding:6px 14px 6px 12px;border-radius:18px;background:var(--well);color:var(--fg3);font-size:13px;line-height:1.35;text-wrap:pretty;animation:lyhintIn var(--m-enter) var(--m-ease);transition:opacity var(--m-fade)}
.lyhint b{font-weight:600;color:var(--fg)}
.lyhint svg{flex:none;color:var(--fg);animation:lyhintBob 1.2s ease-in-out 2}
.lyhint.out{opacity:0}
@keyframes lyhintIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
@keyframes lyhintBob{0%,100%{transform:translateY(0)}50%{transform:translateY(3px)}}
@media (prefers-reduced-motion:reduce){.lyhint,.lyhint svg{animation:none}}
/* Prose as a page (ui-prose.js; spec docs/superpowers/specs/2026-10-23-genui-show-everything.md §3): numbered sections
   with chips that take you to each, a contents rail beside long text on a wide card, labelled points as cards, "Label:
   value" lines as a facts grid, steps, checklists, quotes and link rows. Nothing is clipped or folded. */
.lyprose{container-type:inline-size;min-width:0}
.lyp-frame{display:flex;flex-direction:column;gap:20px;min-width:0}
.lyp-body{display:flex;flex-direction:column;gap:30px;min-width:0}
.lyp-open,.lyp-sec{display:flex;flex-direction:column;gap:14px;min-width:0}
.lyp-sec{scroll-margin-top:64px}
.lyp-sec>header{display:flex;align-items:baseline;gap:12px;padding-top:4px}
.lyp-num{flex:none;font-size:12px;font-weight:600;color:var(--mute);font-variant-numeric:tabular-nums;letter-spacing:.02em}
.lyp-sec>header h3{margin:0;font-size:18px;line-height:1.35;font-weight:600;color:var(--fg);text-wrap:balance}
.lyprose p{margin:0;font-size:15px;line-height:1.65;color:var(--fg3)}
.lyprose p.lyp-lead{font-size:18px;line-height:1.5;color:var(--fg)}
.lyprose b{font-weight:600;color:var(--fg)}
.lyp-h{margin:6px 0 -4px;font-size:15px;font-weight:600;color:var(--fg)}
/* Section tabs on a long text, in the page's tab bar (one design with .lynav): a full-width bar, the chosen section a
   white pill, each tab's count after its name. The bar stays at the top of the card while its section scrolls. */
.lyp-nav{position:sticky;top:0;z-index:2;display:flex;gap:2px;width:100%;padding:4px;border:1px solid var(--line);border-radius:14px;background:var(--panel);overflow-x:auto;overscroll-behavior-x:contain;scroll-padding-inline:4px;scrollbar-width:none}
.lyp-nav::-webkit-scrollbar{display:none}
.lyp-nav button{flex:none;display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 14px;border:0;border-radius:10px;background:transparent;color:var(--mute);font:inherit;font-size:13px;font-weight:500;white-space:nowrap;cursor:pointer;transition:background-color var(--m-tap) var(--m-ease),color var(--m-tap) var(--m-ease)}
.lyp-nav button em{font-style:normal;font-size:12px;color:var(--dim);font-variant-numeric:tabular-nums}
.lyp-nav button:hover{color:var(--fg)}
.lyp-nav button[aria-selected="true"]{background:var(--fg);color:var(--ink)}
.lyp-nav button[aria-selected="true"] em{color:var(--dim)}
.lyp-frame{gap:18px}
.lyp-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px}
.lyp-card{display:flex;flex-direction:column;gap:6px;padding:14px 16px 16px;border-radius:14px;background:var(--well);min-width:0}
.lyp-card>b{font-size:15px;line-height:1.35}
.lyp-card>p{font-size:14px;line-height:1.55}
.lyp-facts{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:0;margin:0;border-radius:14px;overflow:hidden;background:var(--well)}
.lyp-facts>div{display:flex;flex-direction:column;gap:4px;padding:12px 16px;min-width:0}
.lyp-facts dt{font-size:12px;color:var(--mute)}
.lyp-facts dd{margin:0;font-size:15px;line-height:1.45;color:var(--fg);overflow-wrap:break-word}
.lyp-points,.lyp-check,.lyp-links{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.lyp-points>li{position:relative;padding:10px 0 10px 18px;border-top:1px solid var(--hair);font-size:15px;line-height:1.6;color:var(--fg3);overflow-wrap:break-word}
.lyp-points>li:first-child{border-top:0;padding-top:2px}
.lyp-points>li::before{content:"";position:absolute;left:2px;top:19px;width:6px;height:6px;border-radius:50%;background:var(--mute)}
.lyp-points>li:first-child::before{top:11px}
.lyp-sub{margin:6px 0 0;padding-left:16px;font-size:14px;line-height:1.55;color:var(--fg3)}
.lyp-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.lyp-steps>li{display:grid;grid-template-columns:28px minmax(0,1fr);gap:12px;align-items:start;font-size:15px;line-height:1.6;color:var(--fg3)}
.lyp-n{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--well);color:var(--fg);font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}
.lyp-step{padding-top:2px;min-width:0;overflow-wrap:break-word}
.lyp-check>li{border-top:1px solid var(--hair)}
.lyp-check>li:first-child{border-top:0}
.lyp-check label{display:grid;grid-template-columns:22px minmax(0,1fr);gap:12px;align-items:start;padding:10px 0;font-size:15px;line-height:1.55;color:var(--fg2);cursor:pointer}
.lyp-check input{width:20px;height:20px;margin:2px 0 0;accent-color:var(--fg)}
.lyp-check li.done span{color:var(--mute);text-decoration:line-through;text-decoration-color:var(--dim)}
.lyp-callout{display:flex;flex-direction:column;gap:6px;padding:16px 18px;border-radius:14px;background:var(--well)}
.lyp-callout>span{align-self:flex-start;padding:2px 9px;border-radius:999px;background:var(--fg);color:var(--panel);font-size:12px;font-weight:600}
.lyp-callout>p{font-size:16px;line-height:1.55;color:var(--fg)}
.lyp-quote{margin:0;padding:14px 18px;border-radius:14px;background:var(--well);font-size:15px;line-height:1.6;color:var(--fg2)}
.lyp-quote::before{content:"\201C";display:block;height:14px;margin-bottom:4px;font-size:28px;line-height:1;color:var(--mute)}
.lyp-links>li{border-top:1px solid var(--hair)}
.lyp-links>li:first-child{border-top:0}
.lyp-links a{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:10px 0;color:var(--fg);text-decoration:none;font-size:15px}
.lyp-links a:hover span{text-decoration:underline}
.lyp-links em{flex:none;font-style:normal;font-size:13px;color:var(--mute)}
.lyp-code{margin:0;padding:14px 16px;border-radius:12px;background:var(--well);overflow-x:auto;font-size:13px;line-height:1.55;color:var(--fg2)}
.lyout-written{display:flex;flex-direction:column;gap:12px;margin-top:28px}
:root[data-screen="phone"] .lyp-cards,:root[data-screen="phone"] .lyp-facts{grid-template-columns:minmax(0,1fr)}
:root[data-screen="phone"] .lyp-sec>header h3{font-size:17px}
:root[data-screen="phone"] .lyprose p.lyp-lead{font-size:17px}
.rtext>.lyprose{max-width:none}
.lyprose .lyp-open>p,.lyprose .lyp-sec>p,.lyprose .lyp-points,.lyprose .lyp-steps,.lyprose .lyp-check{max-width:72ch}
.rtext .lyprose :is(.lyp-steps,.lyp-points,.lyp-check,.lyp-links){margin:0;padding-left:0}
.rtext .lyprose .lyp-points>li{padding-left:18px}
.lyp-panes{min-width:0}
.lyp-sec[hidden]{display:none}
/* People in prose: an initials mark beside each name. Checklist rows carry their owner and due time on the right. */
.lyp-who{display:flex;align-items:center;gap:10px}
.lyp-who .lyav{flex:none}
.lyp-check label{grid-template-columns:22px minmax(0,1fr) auto}
.lyp-side{display:inline-flex;align-items:center;gap:10px;justify-self:end;white-space:nowrap}
.lyp-side em{font-style:normal;font-size:13px;color:var(--mute);font-variant-numeric:tabular-nums}
.lyp-links a{align-items:center}
.lyp-links a>span:not(.lyfav){flex:1 1 auto;min-width:0}
.lyprose .lyout{gap:0}
:root[data-screen="phone"] .lyp-check label{grid-template-columns:22px minmax(0,1fr)}
:root[data-screen="phone"] .lyp-side{grid-column:2;justify-self:start}
/* Result components (spec 2026-10-24-genui-result-components.md): app tokens and the app's own controls only. */
.lyx-pin.lyx-pin-l{display:inline-flex;align-items:center;width:auto;height:30px;gap:7px;padding:0 12px 0 10px;font-size:12px;font-weight:600;color:var(--mute);white-space:nowrap}
.lyx-pin-l .lyx-pin-i{display:inline-grid}
.lyx-pin-l .lyx-pin-i .lyicon{grid-area:1/1}
.lyx-pin-l[aria-pressed="true"]{color:var(--fg)}
.lyc-bar{display:flex;align-items:center;gap:8px;min-width:0}
.lyc-bar-a{display:flex;align-items:center;gap:6px;margin-left:auto}
.lyc-bar .rcta{display:inline-flex;align-items:center;gap:6px}
.lyc-body.lycols>.lyc-bar{grid-column:1/-1}
.lytabs{display:flex;flex-direction:column;min-width:0}
.lytabs .lyp-nav{position:static}
.lytab-pane{padding-top:14px;min-width:0}
.lytab-pane[hidden]{display:none}
.lymsg{border-radius:14px;background:var(--well);overflow:hidden;min-width:0}
.lymsg-row{display:flex;align-items:baseline;gap:12px;padding:10px 16px;border-bottom:1px solid var(--hair);font-size:13px}
.lymsg-row>span{flex:none;width:52px;color:var(--mute)}
.lymsg-row>b{min-width:0;font-weight:600;color:var(--fg);overflow-wrap:anywhere}
.lymsg-b{margin:0;padding:14px 16px 16px;font:inherit;font-size:14px;line-height:1.6;color:var(--fg);white-space:pre-wrap;overflow-wrap:anywhere}
.lymsg-f{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 16px;border-top:1px solid var(--hair);font-size:12px;color:var(--dim)}
.lymsg-steps>.lytab-pane{padding-top:10px}
.lymet{display:flex;flex-direction:column;margin:0;padding:0;list-style:none}
.lymet li{display:flex;gap:10px;padding:10px 0;border-top:1px solid var(--hair)}
.lymet li:first-child{border-top:0;padding-top:0}
.lymet-i{flex:none;display:grid;place-items:center;width:18px;height:18px;margin-top:1px;border-radius:50%;border:1px solid var(--line)}
.lymet .ok .lymet-i{border-color:transparent;background:var(--fg);color:var(--ink)}
.lymet b{display:block;font-size:13px;font-weight:600;color:var(--fg)}
.lymet .no b{font-weight:500;color:var(--mute)}
.lymet small{display:block;margin-top:2px;font-size:13px;line-height:1.5;color:var(--fg2)}
.lymet .no small{color:var(--dim)}
/* The best column's head is one rounded panel (a column band would break at every row's hairline); its values keep their place. */
.lyvs-head>.lyvs-h.lyvs-bestcol{margin-inline:-10px;padding:10px;border-radius:14px;background:var(--well)}
.lyvs-best{display:flex;align-items:center;gap:6px;min-height:18px;font-size:12px;font-weight:500;color:var(--fg2)}
.lyvs-best:not(:empty)::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--ok)}
.lyvs-hasbest .lyvs-head>.lyvs-h{padding-top:10px}
.lyvs-n{display:flex;align-items:center;gap:10px;min-width:0;margin-top:6px}
.lyvs-n>.lyav,.lyvs-n>.lyvs-img{flex:none;margin:0}
.lyvs-nt{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.lyvs-h.lyvs-pinned{padding-right:0}
.lyvs-n .lyx-pinw{position:static;flex:none}
.lyvs-open{margin-top:10px}
.lywn{display:flex;flex-direction:column;gap:12px}
.lyoc{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 16px;border:1px solid var(--line);border-radius:18px;background:var(--well)}
.lyoc>*{grid-column:1/-1}
.lyoc>.lyoc-h{grid-column:1;grid-row:1}
.lyoc>.lyoc-open{grid-column:2;grid-row:1}
.lyoc-h{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px}
.lyoc-pill{display:inline-flex;align-items:center;gap:6px;height:22px;padding:0 9px;border-radius:999px;background:var(--field);font-size:12px;font-weight:500;color:var(--fg2)}
.lyoc-pill i{width:6px;height:6px;border-radius:50%;background:var(--mute)}
.lyoc.done .lyoc-pill i{background:var(--ok)}
.lyoc-t{font-size:15px;font-weight:600;color:var(--fg)}
.lyoc-s{margin:-4px 0 0;font-size:14px;line-height:1.5;color:var(--fg2);text-wrap:pretty}
.lyoc-body{padding:12px 14px;border-radius:12px;background:var(--row);font-size:14px;line-height:1.6;color:var(--fg2)}
.lyoc-body p{margin:0 0 8px}
.lyoc-body p:last-child{margin:0}
.lyoc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;margin:0}
.lyoc-grid>div{min-width:0;padding:10px 12px;border-radius:12px;background:var(--row)}
.lyoc-grid dt{font-size:12px;color:var(--mute)}
.lyoc-grid dd{margin:2px 0 0;font-size:14px;font-weight:500;color:var(--fg);overflow-wrap:break-word}
.lyoc-grid dd a{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@container (max-width:420px){.lyoc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lyoc-grid>div:last-child:nth-child(odd){grid-column:1/-1}.lyoc>.lyoc-open{grid-column:1/-1;grid-row:auto}.lyoc-open .rcta{width:100%;justify-content:center}}
:root[data-screen="phone"] .lyoc>.lyoc-open{grid-column:1/-1;grid-row:auto}:root[data-screen="phone"] .lyoc-open .rcta{width:100%;justify-content:center}
.lywn-h{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px}
.lywn-h b{font-size:16px;font-weight:600;color:var(--fg)}
.lywn-h span{font-size:13px;color:var(--mute)}
.lywn-bar{display:grid;gap:4px}
.lywn-seg{position:relative;display:block;height:6px;border-radius:3px;background:var(--line)}
.lywn-seg.done{background:var(--fg)}
.lywn-seg.now{background:color-mix(in srgb,var(--fg) 45%,transparent)}
.lywn-dot{position:absolute;right:-1px;top:-2px;box-sizing:content-box;width:6px;height:6px;border:2px solid var(--panel);border-radius:50%;background:var(--fg)}
.lywn-stages{display:flex;flex-direction:column}
/* Wide screen with a mouse: design I. Phone or narrow card: design B (.lywn-tap). */
.lywn-tap{display:none;flex-direction:column}
@media (hover:none){.lywn-hov,.lywn-hsub{display:none}.lywn-tap{display:flex}}
@container (max-width:560px){.lywn-hov,.lywn-hsub{display:none}.lywn-tap{display:flex}}
:root[data-screen="phone"] :is(.lywn-hov,.lywn-hsub){display:none}:root[data-screen="phone"] .lywn-tap{display:flex}
.lywn-hov{position:relative;display:flex;flex-direction:column;gap:6px}
.lywn-hbar{display:grid;gap:6px}
.lywn-hseg{position:relative;height:18px;padding:0;border:0;background:none;display:flex;align-items:center;cursor:pointer}
.lywn-hseg i{display:block;width:100%;height:6px;border-radius:3px;background:var(--line);transition:height var(--m-tap) var(--m-ease)}
.lywn-hseg.done i{background:var(--fg)}
.lywn-hseg.now i{background:color-mix(in srgb,var(--fg) 45%,transparent)}
.lywn-hseg.sel i,.lywn-hseg:hover i,.lywn-hseg:focus-visible i{height:9px}
.lywn-hseg:focus-visible{outline:none}
.lywn-hseg .lywn-dot{top:0}
.lywn-hlb{display:grid;gap:6px;font-size:11px;color:var(--dim)}
.lywn-hlb span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lywn-hlb .now{color:var(--fg)}
.lywn-card{display:none;position:absolute;top:calc(100% + 8px);left:0;z-index:5;box-sizing:border-box;width:min(320px,100%);padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--well);font-size:13px;color:var(--fg2);line-height:1.5;pointer-events:none}
.lywn.lywn-open .lywn-card{display:block}
.lywn-card b{font-weight:600;color:var(--fg)}
.lywn-st{margin-left:8px;font-size:11px;color:var(--mute)}
.lywn-card small{display:block;font-size:12px;color:var(--mute)}
.lywn-track{display:flex;align-items:center;gap:12px;width:100%;padding:6px 0;margin:-6px 0;border:0;background:none;font:inherit;color:inherit;cursor:pointer}
.lywn-track .lywn-bar{flex:1;min-width:0}
.lywn-count{flex:none;font-size:12px;font-weight:500;color:var(--mute);font-variant-numeric:tabular-nums}
.lywn-cur{display:flex;flex-direction:column;gap:3px;margin-top:14px}
.lywn-cur b{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 8px;font-size:15px;font-weight:600;line-height:1.35;color:var(--fg)}
.lywn-cur b span{font-size:13px;font-weight:500;color:var(--mute)}
.lywn-cur p{margin:0;font-size:13px;line-height:1.5;color:var(--fg2);text-wrap:pretty}
.lywn-then{font-size:12px;color:var(--mute)}
.lywn-more{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;margin-top:10px;padding:6px 0;border:0;background:none;font:inherit;font-size:12px;font-weight:500;color:var(--mute);cursor:pointer;transition:color var(--m-tap) var(--m-ease)}
.lywn-more:hover{color:var(--fg2)}
.lywn-more .lyicon{transition:transform var(--m-tap) var(--m-ease)}
.lywn-shown .lywn-more{color:var(--fg2)}
.lywn-shown .lywn-more .lyicon{transform:rotate(180deg)}
.lywn-list{list-style:none;max-width:560px;margin:4px 0 2px;padding:0}
.lywn-list[hidden]{display:none}
.lywn-li{position:relative;display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:start;gap:12px;padding:7px 0}
.lywn-li::before{content:"";position:absolute;left:10.5px;top:29px;bottom:-7px;width:1px;background:var(--line)}
.lywn-li:last-child::before{display:none}
.lywn-mk{position:relative;z-index:1;display:grid;place-items:center;width:22px;height:22px;border:1px solid var(--line);border-radius:50%;background:var(--panel);font-size:11px;font-weight:600;color:var(--dim);font-variant-numeric:tabular-nums}
.lywn-li.done .lywn-mk{border-color:var(--hover);color:var(--fg2)}
.lywn-li.now .lywn-mk{border-color:var(--fg);background:var(--fg);color:var(--ink)}
.lywn-li.open .lywn-mk{border-color:var(--hover);color:var(--fg2)}
.lywn-ln{display:flex;flex-direction:column;gap:2px;min-width:0;padding-top:2px}
.lywn-ln b{font-size:13px;font-weight:500;line-height:1.35;color:var(--mute)}
.lywn-li.done .lywn-ln b{color:var(--fg2)}
.lywn-li.now .lywn-ln b{font-weight:600;color:var(--fg)}
.lywn-li.open .lywn-ln b{color:var(--fg2)}
.lywn-ln small{font-size:12px;line-height:1.45;color:var(--mute)}
.lywn-sw{padding-top:3px;font-size:11px;color:var(--dim);white-space:nowrap}
.lywn-li.now .lywn-sw,.lywn-li.open .lywn-sw{color:var(--fg2)}
.lywn-g{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:10px;align-items:start}
.lywn-now{padding:14px 16px;border:1px solid var(--hair);border-radius:16px;background:var(--well)}
.lywn-ey{font-size:11px;color:var(--mute)}
.lywn-nr{display:flex;align-items:center;gap:12px;margin-top:2px}
.lywn-nt{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.lywn-nt b{font-size:15px;font-weight:600;color:var(--fg)}
.lywn-nt span{font-size:13px;color:var(--mute);line-height:1.45}
.lywn-go{height:34px;padding:0 16px;font-size:13px}
.lywn-mw{display:grid;gap:8px}
.lywn-row{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border:1px solid var(--hair);border-radius:14px;background:var(--row);color:var(--fg);text-align:left;cursor:pointer;transition:border-color var(--m-fade),background var(--m-fade)}
.lywn-row:hover{border-color:var(--line);background:var(--well)}
.lywn-row:disabled{cursor:default}
.lywn-row>svg{flex:none;margin-left:auto;color:var(--dim)}
.lywn-ic{width:32px;height:32px;flex:none;display:grid;place-items:center;border-radius:10px;background:var(--field);color:var(--fg2)}
.lywn-rt{min-width:0;display:flex;flex-direction:column;gap:1px}
.lywn-rt b{font-size:13px;font-weight:500}
.lywn-rt small{font-size:12px;color:var(--mute)}
.lywn-lock{display:flex;align-items:center;gap:12px;padding:10px 14px;border:1px dashed var(--hair);border-radius:14px;color:var(--dim)}
.lywn-lock>svg{flex:none}
.lywn-lock span{display:flex;flex-direction:column;gap:2px;min-width:0}
.lywn-lock b{font-size:14px;font-weight:500;color:var(--mute)}
.lywn-lock small{font-size:12px;color:var(--dim)}
.lywn-auto{display:flex;flex-direction:column;gap:10px;padding-top:14px;border-top:1px solid var(--hair)}
.lywn-auto .lywn-lab{margin:0}
.lywn-auh{display:flex;align-items:center;justify-content:space-between;gap:12px}
.lywn-ar{display:flex;align-items:flex-start;gap:14px;padding:12px 14px;border-radius:14px;background:var(--row)}
.lywn-at{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.lywn-at b{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;font-size:14px;font-weight:600;color:var(--fg)}
.lywn-at b span{font-size:12px;font-weight:500;color:var(--mute)}
.lywn-at small{font-size:13px;line-height:1.45;color:var(--fg2)}
.lywn-at .lywn-off{font-size:12px;color:var(--dim)}
.lywn-ar:has(.lywn-keep.on) .lywn-off{display:none}
.lywn-run{align-self:flex-start;margin-top:4px;padding:0;border:0;background:none;font:inherit;font-size:12px;font-weight:600;color:var(--fg2);text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:3px;cursor:pointer}
.lywn-run:disabled{cursor:default;color:var(--dim)}
.lywn-keep{flex:none;display:inline-flex;align-items:center;gap:8px;min-height:var(--ctl);padding:0 4px 0 10px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--mute);font:inherit;font-size:12px;font-weight:600;cursor:pointer;transition:border-color var(--m-tap) var(--m-ease),color var(--m-tap) var(--m-ease)}
.lywn-keep:disabled{cursor:default}
.lywn-keep.on{color:var(--fg);border-color:var(--hover)}
.lywn-sw em{font-style:normal}
.lywn-keep .lywn-sw em:first-child,.lywn-keep.on .lywn-sw em:last-child{display:none}
.lywn-keep.on .lywn-sw em:first-child{display:inline}
.lywn-f{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding-top:12px;border-top:1px solid var(--hair)}
.lywn-lab{font-size:12px;color:var(--dim);margin-right:2px}
.lywn-lab~.lywn-lab{margin-left:6px}
.lytg{position:relative;width:26px;height:16px;border-radius:8px;background:var(--line);transition:background var(--m-fade)}
.lytg i{position:absolute;left:2px;top:2px;width:12px;height:12px;border-radius:50%;background:var(--dim);transition:transform var(--m-tap) var(--m-ease),background var(--m-fade)}
.lywn-keep.on .lytg{background:var(--fg)}
.lywn-keep.on .lytg i{transform:translateX(10px);background:var(--well)}
@media (pointer:coarse){.lywn-keep{min-height:44px;padding:0 6px 0 14px;font-size:13px}.lywn-keep .lytg{width:40px;height:24px;border-radius:12px}.lywn-keep .lytg i{top:3px;left:3px;width:18px;height:18px}.lywn-keep.on .lytg i{transform:translateX(16px)}.lywn-run{padding:6px 0}}
@media (max-width:560px){.lywn-g{grid-template-columns:minmax(0,1fr)}.lywn-nr{flex-wrap:wrap}.lywn-go{width:100%;justify-content:center}}
@container (max-width:560px){.lywn-g{grid-template-columns:minmax(0,1fr)}.lywn-nr{flex-wrap:wrap}.lywn-go{width:100%;justify-content:center}.lywn-ar{flex-wrap:wrap}}
:root[data-screen="phone"] .lywn-g{grid-template-columns:minmax(0,1fr)}
:root[data-screen="phone"] .lywn-nr{flex-wrap:wrap}
:root[data-screen="phone"] .lywn-go{width:100%;justify-content:center}
.lyp-cards{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.lyp-cards.lyp-rows{display:flex;flex-direction:column;gap:0}
.lyp-rows>.lyp-card{padding:14px 0;border-radius:0;background:none;border-top:1px solid var(--hair)}
.lyp-rows>.lyp-card:first-child{border-top:0;padding-top:0}
@container (max-width:560px){
  .lyc-bar{flex-wrap:wrap;row-gap:10px}
  .lyc-bar-a{order:1;width:100%;margin-left:0}
  .lyc-bar-a>*{flex:1 1 0;min-width:0;justify-content:center}
  .lyc-bar>.lyx-pin{order:2}
  /* Tabs share the bar's spare width but never shrink below their words; when the words do not fit, the strip scrolls. */
  .lytabs .lyp-nav button{flex:1 0 auto;justify-content:center;padding:0 10px;font-size:12px}
    }
/* Phone scale: one step down for result text. */
:root[data-screen="phone"] .lyout .lyh{font-size:14px}
:root[data-screen="phone"] .lyc-title{font-size:15px}
:root[data-screen="phone"] .lyc-sub,:root[data-screen="phone"] .lyc-body p,:root[data-screen="phone"] .lyfacts,:root[data-screen="phone"] .lymet small,:root[data-screen="phone"] .lylist{font-size:13px}
:root[data-screen="phone"] .lymsg-b{font-size:13px}
:root[data-screen="phone"] .lyvs-t{font-size:15px}
:root[data-screen="phone"] .lycall{font-size:15px}
/* A filter chip with a long value wraps inside the card instead of running past it. */
.lyfacets .lyfacet{max-width:100%;height:auto;min-height:var(--ctl);padding-block:5px;white-space:normal;text-align:left;line-height:1.35}
/* One person in a section: photo, linked name and title on one line, their other facts under it. */
.lyperson1{display:flex;align-items:center;gap:12px;min-width:0}
.lyperson1+*{margin-top:10px}

/* ================= Gen UI kit v2 (specs/2026-10-28-genui-v2-components.md) =================
   The Gravity AI design system kit: 33 basic components, the result shell, master tabs and the
   scrollers, from "Gravity Gen UI components.html" (final v5 state) and "Gravity Gen UI Rules"
   (2026-10-26). Every rule is scoped to the result root so page chrome never picks it up. */

/* tokens: the Figma variables by name; err and check are the rules doc's new variables */
:root{
  --base:#050505;--half:#0A0A0A;--l1:#111111;--l2:#181818;--l3:#1C1C1C;--l4:#2A2A2A;--l5:#404040;
  --st-light:#1C1C1C;--st:#2A2A2A;--st-heavy:#404040;
  --c1:#E5E5E5;--c2:#A3A3A3;--c3:#737373;--cdis:#404040;--cinv:#111111;
  --primary:#F8B300;--primary-hover:#FFCC33;--amber-1000:#2E2100;
  --success:#52D68C;--success-bg:#072A16;--success-st:#125E31;
  --err:#FF7A7A;--err-bg:#3A0E0E;--err-st:#7A1F1F;
  --info:#3B82F6;--info-bg:#07111F;--info-st:#0F254D;--info-soft:#7FA9F5;
  --check:#F5F5F5;
  --r-s:4px;--r-reg:8px;--r-m:12px;--r-l:16px;--r-xl:24px;--r-round:360px;
  --g-s:4px;--g-m:8px;--g-l:16px;--g-xl:24px;--g-xxl:40px;
  --mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
}

/* icons: Fluent System Icons, regular weight — fill paths carry .i; the Lucide vocabulary keeps .lyicon */
.lyout .i{width:16px;height:16px;flex:none;fill:currentColor;stroke:none}
.lyout .i.sm{width:14px;height:14px}
.lyout .i.lg{width:20px;height:20px}
.lyout .i.xl{width:24px;height:24px}

/* the result shell: header, summary, body, footer actions */
.lyout .rs{display:flex;flex-direction:column;border:1px solid var(--st);border-radius:var(--r-xl);background:var(--half);overflow:hidden;min-width:0}
.lyout .rs-h{display:flex;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid var(--st-light);flex-wrap:wrap;row-gap:12px}
.lyout .rs-h .bd{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.lyout .rs-h .nm{font-size:15px;font-weight:600;color:var(--c1);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lyout .rs-h .mt{font-size:12px;color:var(--c3);display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.lyout .rs-a{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.lyout .rs-a .btn{height:32px;font-size:13px}
.lyout .rs-b{padding:22px 20px;display:flex;flex-direction:column;gap:24px;min-width:0}
.lyout .rs-blk{display:flex;flex-direction:column;gap:12px;min-width:0}
.lyout .rs-f{display:flex;flex-direction:column;gap:12px;padding:16px 20px;border-top:1px solid var(--st-light);background:var(--base)}
@media (max-width:760px){.lyout .rs-b{padding:18px 16px}.lyout .rs-h,.lyout .rs-f{padding-left:16px;padding-right:16px}.lyout .rs-a{order:5;width:100%}}

/* button: primary is yellow text on grey, one per block; reconnect is always red */
.lyout .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;padding:0 18px;border-radius:var(--r-m);border:1px solid transparent;font-size:14px;font-weight:600;white-space:nowrap;transition:background .15s,color .15s,border-color .15s,transform .1s;text-decoration:none;cursor:pointer;font-family:inherit}
.lyout .btn:active:not(:disabled){transform:scale(.97)}
.lyout .btn.sm{height:32px;padding:0 12px;font-size:13px;border-radius:var(--r-reg)}
.lyout .btn.lg{height:48px;padding:0 24px;font-size:16px}
.lyout .btn.pri{background:var(--l3);color:var(--primary);border-color:transparent}
.lyout .btn.pri:hover{background:var(--l4);color:var(--primary-hover)}
.lyout .btn.sec{background:var(--l3);color:var(--c1);border-color:transparent}
.lyout .btn.sec:hover{background:var(--l4)}
.lyout .btn.ghost{background:transparent;color:var(--c2)}
.lyout .btn.ghost:hover{background:var(--l1);color:var(--c1)}
.lyout .btn.link{height:auto;padding:0;background:none;border:0;color:var(--primary);font-weight:500}
.lyout .btn.link:hover{color:var(--primary-hover)}
.lyout .btn.dng{background:var(--err-bg);border-color:var(--err-st);color:var(--err)}
.lyout .btn.dng:hover{background:#4a1212}
.lyout .btn:disabled{background:var(--l2);border-color:transparent;color:var(--cdis);cursor:default}
.lyout .btn.ico{width:40px;padding:0}
.lyout .btn.ico.sm{width:32px}
.lyout .btn.done{background:var(--success-bg);border-color:var(--success-st);color:var(--success)}
.lyout .btn .tl{width:18px;height:18px;border-radius:5px}
@media (pointer:coarse){.lyout .btn:not(.link){min-height:44px}.lyout .btn.ico{min-width:44px}}
@media (prefers-reduced-motion:reduce){.lyout .btn:active:not(:disabled){transform:none}.lyout .bdg.live .d,.lyout .tnudge{animation:none}}
.lyout .xr.open .btn.pri,.lyout .xr.open .btn.sec,.lyout .ap-f .btn.sec,.lyout .ap-f .btn.pri,.lyout .tg-l .mail .btn.sec,.lyout .tg-l .mail .btn.pri{background:var(--l4)}
.lyout .xr.open .btn.pri:hover,.lyout .xr.open .btn.sec:hover{background:var(--l5)}

/* badge: a status word with a dot; the word carries the meaning */
.lyout .bdg{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border-radius:var(--r-round);font-size:12px;font-weight:500;white-space:nowrap;border:1px solid var(--st);background:var(--l1);color:var(--c2);font-variant-numeric:tabular-nums;text-decoration:none}
.lyout .bdg .d{width:6px;height:6px;border-radius:50%;background:var(--c3)}
.lyout .bdg.live{background:var(--success-bg);border-color:var(--success-st);color:var(--success)}
.lyout .bdg.live .d{background:var(--success);box-shadow:0 0 0 3px rgba(82,214,140,.18);animation:lypulse 2s ease-in-out infinite}
@keyframes lypulse{50%{box-shadow:0 0 0 5px rgba(82,214,140,.05)}}
.lyout .bdg.run{background:var(--amber-1000);border-color:#5a4100;color:var(--primary)}
.lyout .bdg.run .d{background:var(--primary)}
.lyout .bdg.err{background:var(--err-bg);border-color:#8a2424;color:var(--err)}
.lyout .bdg.err .d{background:#ff5c5c}
.lyout .bdg.inf{background:var(--info-bg);border-color:var(--info-st);color:var(--info-soft)}
.lyout .bdg.inf .d{background:var(--info)}
.lyout .bdg.solid{background:var(--primary);border-color:var(--primary);color:var(--cinv);font-weight:700}
.lyout .bdg.cnt{min-width:20px;height:20px;padding:0 6px;justify-content:center;background:var(--l4);border:0;color:var(--c1);font-weight:600}
.lyout .bdg.cnt.y{background:var(--primary);color:var(--cinv)}
.lyout .bdg.sq{border-radius:var(--r-s);height:20px;padding:0 6px;font-size:11px;font-weight:600}
.lyout .tagov .bdg,.lyout .tagov .chip{background:rgba(5,5,5,.72);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-color:rgba(255,255,255,.1);color:#f2f2f2}
.lyout .tagov .bdg.solid{background:var(--primary);color:var(--cinv);border-color:var(--primary)}
.lyout .tagov .bdg.err{background:var(--err-bg);border-color:#a32b2b;color:#ff8a8a}

/* chip: tags, filters with counts, follow-ups */
.lyout .chips{display:flex;flex-wrap:wrap;gap:6px}
.lyout .chip{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:var(--r-round);border:1px solid var(--st);background:transparent;color:var(--c2);font-size:13px;font-weight:500;white-space:nowrap;transition:background .15s,color .15s,border-color .15s}
.lyout .chip.sm{height:24px;padding:0 9px;font-size:12px}
.lyout .chip em{font-style:normal;color:var(--c3);font-variant-numeric:tabular-nums}
.lyout .chip .tl{width:18px;height:18px;border-radius:5px}
.lyout .chip button.x{display:grid;place-items:center;margin-right:-4px;padding:0;border:0;background:none;color:var(--c3)}
.lyout .chip button.x:hover{color:var(--c1)}
.lyout button.chip:hover{background:var(--l1);color:var(--c1)}
.lyout .chip.on{background:var(--c1);border-color:var(--c1);color:var(--cinv)}
.lyout .chip.on em{color:var(--l5)}
.lyout .chip.y{border-color:transparent;background:var(--amber-1000);color:var(--primary)}

/* tabs and the segmented toggle; master tabs are the focused v5 bar */
.lyout .tabs{display:flex;gap:24px;border-bottom:1px solid var(--st-light);overflow-x:auto;scrollbar-width:none}
.lyout .tabs::-webkit-scrollbar{display:none}
.lyout .tabs button{display:inline-flex;align-items:center;gap:7px;height:42px;padding:0;border:0;border-bottom:2px solid transparent;background:none;color:var(--c3);font-size:14px;font-weight:500;margin-bottom:-1px;white-space:nowrap;cursor:pointer;font-family:inherit}
.lyout .tabs button:hover{color:var(--c1)}
.lyout .tabs button.on{color:var(--c1);border-bottom-color:var(--primary)}
.lyout .tabs button .bdg.cnt{height:18px;min-width:18px;font-size:11px}
.lyout .tabs.big{gap:4px;padding:4px;border:1px solid var(--st);border-radius:14px;background:var(--base);box-shadow:inset 0 1px 0 rgba(255,255,255,.03);border-bottom:1px solid var(--st)}
.lyout .tabs.big .lyind{display:none}
.lyout .tabs.big button{height:40px;padding:0 14px;border:0;margin:0;border-bottom:0;border-radius:10px;color:var(--c2);font-weight:500;transition:background .15s,color .15s}
.lyout .tabs.big button:hover{background:var(--l2);color:var(--c1)}
.lyout .tabs.big button.on,.lyout .tabs.big button[aria-selected="true"]{background:var(--l3);color:var(--primary);font-weight:600;box-shadow:0 0 0 1px var(--l4)}
.lyout .tabs.big button.on .bdg.cnt:not(.y),.lyout .tabs.big button[aria-selected="true"] .bdg.cnt:not(.y){background:var(--l5);color:var(--c1)}
.lyout .pane{display:flex;flex-direction:column;gap:22px}
.lyout .seg-c{display:inline-flex;gap:2px;padding:3px;border-radius:var(--r-m);background:var(--l1);border:1px solid var(--st-light)}
.lyout .seg-c button{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 14px;border:0;border-radius:9px;background:transparent;color:var(--c2);font-size:13px;font-weight:500;transition:background .15s,color .15s;cursor:pointer;font-family:inherit}
.lyout .seg-c button:hover{color:var(--c1)}
.lyout .seg-c button.on{background:var(--l4);color:var(--c1)}
.lyout .seg-c button:disabled{opacity:.4;cursor:default}
@media (max-width:760px){.lyout .tabs.big button{padding:0 12px;height:38px}}

/* logo tile and avatar */
.lyout .tl{flex:none;width:28px;height:28px;border-radius:var(--r-reg);background:var(--l2);border:0;display:grid;place-items:center;overflow:hidden}
.lyout .tl i{display:block;width:64%;height:64%;background-position:center;background-size:contain;background-repeat:no-repeat}
.lyout .tl.sm{width:20px;height:20px;border-radius:6px}
.lyout .tl.lg{width:36px;height:36px;border-radius:10px}
.lyout .tl.xl{width:56px;height:56px;border-radius:var(--r-l)}
.lyout .tl.txt{color:var(--c2);font-size:11px;font-weight:700}
.lyout .tl.full{background:none}
.lyout .tl.full i{width:100%;height:100%;border-radius:inherit}
.lyout .tstack{display:flex;align-items:center}
.lyout .tstack>.tl{box-shadow:0 0 0 2px var(--half)}
.lyout .tstack>.tl+.tl{margin-left:-6px}
.lyout .rs-h .tstack>.tl{width:30px;height:30px}
.lyout .av{flex:none;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--l4);color:var(--c1);font-size:12px;font-weight:600;border:2px solid var(--half);background-size:cover;background-position:center}
.lyout .av.xs{width:20px;height:20px;font-size:11px;border-width:1.5px}
.lyout .av.sm{width:24px;height:24px;font-size:11px}
.lyout .av.lg{width:44px;height:44px;font-size:15px}
.lyout .av.xl{width:64px;height:64px;font-size:20px}
.lyout .av.a1{background:#3a2e14;color:#f3c45a}
.lyout .av.a2{background:#14283a;color:#8ab8f0}
.lyout .av.a3{background:#173326;color:#7fd8a8}
.lyout .av.a4{background:#331a2a;color:#e59ac4}
.lyout .av.plus{background:var(--l2);color:var(--c2)}
.lyout .stack{display:flex}
.lyout .stack>*+*{margin-left:-8px}

/* checkbox, radio, switch: checked is #F5F5F5 with a dark tick */
.lyout .ctl{display:inline-flex;align-items:center;gap:10px;font-size:14px;color:var(--c1);cursor:pointer}
.lyout .cb{width:18px;height:18px;border-radius:5px;border:1.5px solid var(--l5);display:grid;place-items:center;color:var(--cinv);flex:none;transition:background .15s,border-color .15s}
.lyout .cb .i{width:12px;height:12px;opacity:0}
.lyout .ctl.on .cb{background:var(--check);border-color:var(--check);color:#0a0a0a}
.lyout .ctl.on .cb .i{opacity:1}
.lyout .rd{width:18px;height:18px;border-radius:50%;border:1.5px solid var(--l5);display:grid;place-items:center;flex:none}
.lyout .rd::after{content:"";width:8px;height:8px;border-radius:50%;background:var(--cinv);transform:scale(0);transition:transform .15s}
.lyout .ctl.on .rd{background:var(--primary);border-color:var(--primary)}
.lyout .ctl.on .rd::after{transform:scale(1)}
.lyout .tg{width:36px;height:20px;border-radius:var(--r-round);background:var(--l4);position:relative;flex:none;transition:background .2s}
.lyout .tg::after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:var(--c1);transition:transform .2s var(--m-ease)}
.lyout .ctl.on .tg{background:var(--primary)}
.lyout .ctl.on .tg::after{transform:translateX(16px);background:var(--cinv)}
.lyout .ctl.off{color:var(--cdis);cursor:default}
.lyout .ctl.off .cb{border-color:var(--l4)}

/* input and slider */
.lyout .inp{display:flex;align-items:center;gap:10px;height:44px;padding:0 14px;border-radius:var(--r-m);border:1px solid var(--st);background:var(--half);color:var(--c3);transition:border-color .15s}
.lyout .inp:focus-within{border-color:var(--st-heavy)}
.lyout .inp input{flex:1;min-width:0;border:0;background:none;outline:none;color:var(--c1);font-size:14px;font-family:inherit}
.lyout .inp input::placeholder{color:var(--c3)}
.lyout .inp.err{border-color:var(--err-st)}
.lyout .sld{position:relative;height:20px;min-width:120px}
.lyout .sld input{position:absolute;inset:0;width:100%;margin:0;opacity:0;cursor:pointer}
.lyout .sld .rl{position:absolute;left:0;right:0;top:8px;height:4px;border-radius:var(--r-round);background:var(--l4)}
.lyout .sld .fl{position:absolute;left:0;top:8px;height:4px;border-radius:var(--r-round);background:var(--primary)}
.lyout .sld .kn{position:absolute;top:1px;width:18px;height:18px;margin-left:-9px;border-radius:50%;background:var(--c1);box-shadow:0 0 0 4px var(--half);pointer-events:none}

/* summary: the first thing in every result, no label */
.lyout .sum{display:flex;flex-direction:column;gap:14px;min-width:0}
.lyout .sum p{margin:0;font-size:17px;line-height:26px;color:var(--c2);letter-spacing:-.015em;text-wrap:pretty}
.lyout .sum p b{color:var(--c1);font-weight:600}
.lyout .sum p em{font-style:normal;color:var(--primary);font-weight:600}
.lyout .sum.sep{padding-bottom:22px;border-bottom:1px solid var(--st-light)}
.lyout .sum .strip{padding-top:14px;border-top:1px solid var(--st-light)}
.lyout .strip{display:flex;flex-wrap:wrap;gap:6px 22px;font-size:13px;color:var(--c3)}
.lyout .strip span b{color:var(--c1);font-weight:600;font-variant-numeric:tabular-nums;margin-right:4px}
.lyout .ans{font-size:15px;line-height:1.7;color:var(--c2);min-width:0}
.lyout .ans p{margin:0 0 10px}
.lyout .ans p:last-child{margin:0}
.lyout .ans b{color:var(--c1);font-weight:600}
.lyout .ans ul{margin:4px 0 10px;padding-left:18px;display:flex;flex-direction:column;gap:4px}

/* callout: dark card, tinted icon square, one line and one sub line */
.lyout .note{display:flex;align-items:center;gap:12px;padding:12px;border-radius:14px;background:var(--l1);border:1px solid var(--st-light);min-width:0;flex-wrap:wrap}
.lyout .note .ni{flex:none;width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:var(--l3);color:var(--c2)}
.lyout .note .ni .i{width:20px;height:20px}
.lyout .note .nb{flex:1;min-width:180px;display:flex;flex-direction:column;gap:1px}
.lyout .note .nb b{font-size:14px;font-weight:600;color:var(--c1)}
.lyout .note .nb span{font-size:13px;color:var(--c3)}
.lyout .note .btn{flex:none}
.lyout .note.warn .ni{background:var(--amber-1000);color:var(--primary)}
.lyout .note.ok .ni{background:var(--success-bg);color:var(--success)}
.lyout .note.err{border-color:#4a1414}
.lyout .note.err .ni{background:var(--err-bg);color:var(--err)}
.lyout .note.info .ni{background:var(--info-bg);color:var(--info-soft)}

/* number and delta */
.lyout .num{font-variant-numeric:tabular-nums;font-weight:600;color:var(--c1);letter-spacing:-.02em;white-space:nowrap}
.lyout .num .u{font-weight:500;color:var(--c3);font-size:.62em;margin-left:3px;letter-spacing:0}
.lyout .num .pre{font-weight:500;color:var(--c3);margin-right:2px}
.lyout .num.xl{font-size:40px;line-height:1}
.lyout .num.l{font-size:28px;line-height:1.1}
.lyout .num.m{font-size:20px}
.lyout .num.s{font-size:15px}
.lyout .num.y{color:var(--primary)}
.lyout .num.na{font-weight:400;font-style:italic;color:var(--c3);font-size:14px;letter-spacing:0}
.lyout .dlt{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--c3)}
.lyout .dlt.up{color:var(--success)}
.lyout .dlt.dn{color:var(--err)}
.lyout .dlt .ar{font-size:11px}

/* key-value */
.lyout .kv{display:flex;flex-direction:column;min-width:0}
.lyout .kv>div{display:grid;grid-template-columns:minmax(110px,38%) 1fr;gap:16px;align-items:center;padding:11px 0;border-top:1px solid var(--st-light);font-size:14px}
.lyout .kv>div:first-child{border-top:0}
.lyout .kv dt,.lyout .kv .k{color:var(--c3);display:flex;align-items:center;gap:7px}
.lyout .kv .v{color:var(--c1);min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.lyout .kv.box{padding:4px 16px;border-radius:var(--r-l);background:var(--l1);border:1px solid var(--st-light)}
.lyout .kvg{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:16px 20px}
.lyout .kvg>div{display:flex;flex-direction:column;gap:3px}
.lyout .kvg .k{font-size:12px;color:var(--c3)}
.lyout .kvg .v{font-size:15px;font-weight:500;color:var(--c1)}

/* source pill, citation, file */
.lyout .src{display:inline-flex;align-items:center;gap:7px;height:28px;padding:0 10px 0 4px;border-radius:var(--r-round);background:var(--l1);border:1px solid var(--st-light);color:var(--c2);font-size:12px;text-decoration:none;white-space:nowrap;max-width:100%}
.lyout .src:hover{background:var(--l2);color:var(--c1)}
.lyout .src .fav{width:20px;height:20px;border-radius:50%;background:var(--l4);display:grid;place-items:center;font-size:11px;font-weight:700;color:var(--c1);flex:none;overflow:hidden}
.lyout .src .fav img{width:100%;height:100%;object-fit:cover}
.lyout .src .ext{color:var(--c3);flex:none}
.lyout .cite{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:5px;background:var(--l3);color:var(--c2);font-size:11px;font-weight:600;vertical-align:1px;text-decoration:none}
.lyout .cite:hover{background:var(--l4);color:var(--c1)}
.lyout .file{display:flex;align-items:center;gap:12px;padding:10px 10px 10px 12px;border-radius:var(--r-m);border:1px solid var(--st);background:var(--l1);min-width:0}
.lyout .file .ft{flex:none;width:36px;height:42px;border-radius:6px;display:grid;place-items:end center;padding-bottom:5px;font-size:11px;font-weight:700;color:#fff;position:relative}
.lyout .file .ft.pdf{background:#7a1f1f}
.lyout .file .ft.csv{background:#14532d}
.lyout .file .ft.doc{background:#1e3a8a}
.lyout .file .bd{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.lyout .file .bd b{font-size:14px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--c1)}
.lyout .file .bd span{font-size:12px;color:var(--c3)}

/* stat card: label with icon, big number, delta or sparkline */
.lyout .stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px}
.lyout .stat{display:flex;flex-direction:column;gap:12px;padding:16px;border-radius:var(--r-l);border:1px solid var(--st-light);background:var(--half);min-width:0}
.lyout .stat .lb{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:500;color:var(--c2)}
.lyout .stat .lb .i{width:14px;height:14px;color:var(--c3)}
.lyout .stat .ft{display:flex;align-items:center;justify-content:space-between;gap:8px}
.lyout .stat.hero{padding:20px;gap:14px}
.lyout .stat.hero .num{font-size:44px}
.lyout .spark{width:88px;height:28px;flex:none}
.lyout .spark polyline{fill:none;stroke:var(--success);stroke-width:1.75;stroke-linejoin:round;stroke-linecap:round}
.lyout .spark circle{fill:var(--success)}
.lyout .spark.neg polyline{stroke:var(--err)}
.lyout .spark.neg circle{fill:var(--err)}

/* list, numbered mark */
.lyout .ls{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;min-width:0}
.lyout .ls>li{display:flex;gap:12px;align-items:flex-start;padding:9px 0;font-size:14px;line-height:1.5;color:var(--c1)}
.lyout .ls>li .bd{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.lyout .ls>li .sb{font-size:13px;color:var(--c3);display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.lyout .ls>li .rt{flex:none;font-size:13px;color:var(--c3);font-variant-numeric:tabular-nums}
.lyout .ls>li .tl{margin-top:1px}
.lyout .ls.bul>li::before{content:"";flex:none;width:5px;height:5px;margin:9px 3px 0;border-radius:50%;background:var(--c3)}
.lyout .nmk{flex:none;width:24px;height:24px;border-radius:50%;border:1px solid var(--st);display:grid;place-items:center;font-size:12px;font-weight:600;color:var(--c2);font-variant-numeric:tabular-nums}

/* checklist: the timeline layout with a checkbox instead of the dot */
.lyout .cl{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;min-width:0}
.lyout .cl>li{display:grid;grid-template-columns:20px minmax(0,1fr) auto auto;gap:0 14px;align-items:start;padding-bottom:18px}
.lyout .cl>li:last-child{padding-bottom:0}
.lyout .cl>li .ctl{align-self:start;margin-top:2px}
.lyout .cl .bd{display:flex;flex-direction:column;gap:4px;min-width:0}
.lyout .cl .tt{font-size:14px;font-weight:500;color:var(--c1);line-height:22px;display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px}
.lyout .cl li.dn .tt{color:var(--c3);text-decoration:line-through;text-decoration-color:var(--l5)}
.lyout .cl .tt .bdg{height:20px;font-size:11px;padding:0 8px}
.lyout .cl .ds{font-size:13px;color:var(--c3);display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px}
.lyout .cl .wh{font-size:12px;color:var(--c3);white-space:nowrap;text-align:right;line-height:22px}
.lyout .cl .ct{display:flex;justify-content:flex-end;align-self:center}
.lyout .own{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--c2)}
.lyout .sect{display:flex;flex-direction:column;gap:12px}
.lyout .sect+.sect{border-top:1px solid var(--st-light);padding-top:28px;margin-top:8px}
.lyout .tl2-g{font-size:13px;font-weight:600;color:var(--c1);padding-bottom:20px}
.lyout .tl2-g span{font-weight:400;color:var(--c3);margin-left:6px}
.lyout .cat-m{font-size:13px;color:var(--c3);margin-bottom:18px}

/* item row: leading visual, title, sub, main action on the right even when closed */
.lyout .xrs{display:flex;flex-direction:column;min-width:0}
.lyout .xr{border-radius:var(--r-l);border:1px solid transparent;transition:background .2s,border-color .2s;min-width:0}
.lyout .xr+.xr{border-top-color:var(--st-light);border-radius:0}
.lyout .xr-h{display:flex;align-items:center;gap:14px;width:100%;padding:12px 14px;text-align:left;color:inherit;cursor:pointer;min-width:0;border-radius:var(--r-l);border:0;background:none;font-family:inherit}
.lyout .xr-h:hover{background:var(--l1)}
.lyout .xr-h .bd{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.lyout .xr-h .tt{font-size:15px;font-weight:500;color:var(--c1);display:flex;align-items:center;gap:8px;min-width:0}
.lyout .xr-h .tt span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lyout .xr-h .sb{font-size:13px;color:var(--c3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lyout .xr-h .rt{flex:none;display:flex;align-items:center;gap:12px}
.lyout .xr-h .rk{flex:none;width:18px;font-size:13px;font-weight:600;color:var(--c3);font-variant-numeric:tabular-nums}
.lyout .xr-h .chv{color:var(--c3);transition:transform .25s var(--m-ease)}
.lyout .xr-b{display:none;flex-direction:column;border-top:1px solid var(--st);background:var(--half);border-radius:0 0 15px 15px}
.lyout .xr.open{background:var(--l1);border-color:var(--st)!important;border-radius:var(--r-l)!important;margin:6px 0}
.lyout .xr.open .xr-h:hover{background:none}
.lyout .xr.open .chv{transform:rotate(180deg)}
.lyout .xr.open .xr-b{display:flex}
.lyout .xr.open+.xr{border-top-color:transparent}
/* a row's sections: lyxsec, never the site's .xsec heading (app.css spaces that down, in small grey caps) */
.lyout .lyxsec{display:flex;flex-direction:column;gap:14px;padding:16px;min-width:0}
.lyout .lyxsec+.lyxsec{border-top:1px solid var(--st-light)}
.lyout .lyxsec .lab{font-size:13px;font-weight:500;color:var(--c3)}
.lyout .lyxsec .kv>div{padding:9px 0}
.lyout .lyxsec .kv>div:first-child{padding-top:0}
.lyout .lyxsec .kv>div:last-child{padding-bottom:0}
.lyout .lyxsec .ls>li{padding:6px 0}
.lyout .xr-h .th{flex:none}
@media (max-width:760px){.lyout .xr-h{flex-wrap:wrap}.lyout .xr-h .rt{width:100%;padding-left:34px;justify-content:flex-start}}

/* timeline row: dot, title, description with badge, time and action on the right */
.lyout .tl2{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;min-width:0}
.lyout .tl2>li{display:grid;grid-template-columns:20px minmax(0,1fr) auto auto;gap:0 14px;align-items:center;position:relative;padding-bottom:20px}
.lyout .tl2>li::before{content:"";position:absolute;left:9.5px;top:22px;bottom:-2px;width:1px;background:var(--st)}
.lyout .tl2>li:last-child{padding-bottom:0}
.lyout .tl2>li:last-child::before{display:none}
.lyout .tl2 .dt{align-self:start;width:11px;height:11px;margin:5px 4.5px 0;border-radius:50%;border:1.5px solid var(--l5);background:var(--half);position:relative;z-index:1}
.lyout .tl2 li.dn .dt{background:var(--c2);border-color:var(--c2)}
.lyout .tl2 li.now .dt{background:var(--primary);border-color:var(--primary);box-shadow:0 0 0 4px rgba(248,179,0,.15)}
.lyout .tl2 li.fail .dt{background:#ff5c5c;border-color:#ff5c5c}
.lyout .tl2 .bd{display:flex;flex-direction:column;gap:4px;min-width:0}
.lyout .tl2 .tt{font-size:14px;font-weight:500;color:var(--c1)}
.lyout .tl2 li.dn .tt{color:var(--c2)}
.lyout .tl2 .ds{font-size:13px;color:var(--c3);display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px}
.lyout .tl2 .ds .bdg{height:20px;font-size:11px;padding:0 8px}
.lyout .tl2 .wh{font-size:12px;color:var(--c3);font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right}
.lyout .tl2 .ct{display:flex;justify-content:flex-end}
@media (max-width:760px){.lyout .tl2>li{grid-template-columns:20px minmax(0,1fr) auto}.lyout .tl2 .ct{grid-column:2/-1;justify-content:flex-start;margin-top:10px}}

/* itinerary stop: time, line and dot, body; key stops carry a photo block */
.lyout .stop{display:grid;grid-template-columns:52px 20px minmax(0,1fr);gap:0 12px;position:relative}
.lyout .stop time{font-size:12px;color:var(--c3);font-variant-numeric:tabular-nums;padding-top:3px;text-align:right}
.lyout .stop .ln{position:relative}
.lyout .stop .ln::before{content:"";position:absolute;left:9px;top:20px;bottom:-4px;width:1px;background:var(--st)}
.lyout .stop:last-child .ln::before{display:none}
.lyout .stop .ln i{display:block;width:11px;height:11px;margin:5px 4px 0;border-radius:50%;border:1.5px solid var(--l5);background:var(--half);position:relative}
.lyout .stop.key .ln i{background:var(--primary);border-color:var(--primary)}
.lyout .stop .bd{display:flex;flex-direction:column;gap:4px;padding-bottom:20px;min-width:0}
.lyout .stop .bd b{font-size:14px;font-weight:500;color:var(--c1)}
.lyout .stop .bd span{font-size:13px;color:var(--c3)}
.lyout .stop .wide{margin-top:8px;display:grid;grid-template-columns:140px minmax(0,1fr);gap:12px;align-items:center;padding:8px;border-radius:var(--r-m);background:var(--l1);border:1px solid var(--st-light)}
.lyout .stop .wide .pic{aspect-ratio:16/10;width:100%;border-radius:8px}
.lyout .stop .wide p{margin:0;font-size:13px;color:var(--c2);line-height:1.5}
@media (max-width:760px){.lyout .stop{grid-template-columns:44px 20px minmax(0,1fr)}.lyout .stop .wide{grid-template-columns:1fr}}

/* table: first column left, the rest centred; no scrollbar, a fade and a moving arrow */
.lyout .tw{overflow:hidden;border:1px solid var(--st-light);border-radius:var(--r-l)}
.lyout .tsw{position:relative}
.lyout .tws{overflow-x:auto;scrollbar-width:none;scroll-behavior:smooth}
.lyout .tws::-webkit-scrollbar{display:none}
.lyout .tsw::after,.lyout .tsw::before{content:"";position:absolute;top:0;bottom:0;width:28px;pointer-events:none;transition:opacity .25s;z-index:3}
.lyout .tsw::after{right:0;background:linear-gradient(90deg,rgba(0,0,0,0),rgba(0,0,0,.55))}
.lyout .tsw::before{left:0;background:linear-gradient(270deg,rgba(0,0,0,0),rgba(0,0,0,.55));opacity:0}
.lyout .tsw.mid::before,.lyout .tsw.end::before,.lyout .tsw.lft::before{opacity:1}
.lyout .tsw.end::after,.lyout .tsw.end::before{opacity:0}
.lyout .tnudge{position:absolute;right:12px;top:50%;z-index:2;width:30px;height:30px;margin-top:-15px;border-radius:50%;border:1px solid var(--st);background:var(--l3);color:var(--c1);display:grid;place-items:center;animation:lynudge 1.6s ease-in-out infinite;transition:opacity .25s;padding:0;cursor:pointer}
.lyout .tsw.end .tnudge{opacity:0;pointer-events:none}
.lyout .tnudge.l{left:12px;right:auto;animation:none;opacity:0;pointer-events:none}
.lyout .tsw.lft .tnudge.l{opacity:1;pointer-events:auto}
@keyframes lynudge{0%,100%{transform:translateX(0)}50%{transform:translateX(5px)}}
.lyout .tb2{width:100%;border-collapse:collapse;font-size:14px;min-width:880px}
.lyout .tb2 th{background:var(--l1);font-size:12px;font-weight:500;color:var(--c3);padding:12px 22px;border-bottom:1px solid var(--st-light);white-space:nowrap;text-align:center}
.lyout .tb2 td{padding:14px 22px;border-bottom:1px solid var(--st-light);color:var(--c2);vertical-align:middle;text-align:center;white-space:nowrap}
.lyout .tb2 th.l,.lyout .tb2 td.l{text-align:left}
.lyout .tb2 th.cbx,.lyout .tb2 td.cbx{width:48px;padding-right:0}
.lyout .tb2 th button{display:inline-flex;align-items:center;gap:4px;padding:0;border:0;background:none;color:inherit;font-weight:inherit;cursor:pointer;font-family:inherit}
.lyout .tb2 th.on{color:var(--c1)}
.lyout .tb2 tbody tr:hover td{background:var(--l1)}
.lyout .tb2 tr:last-child td{border-bottom:0}
.lyout .tb2 .nm{display:flex;align-items:center;gap:12px;min-width:0}
.lyout .tb2 .nm b{display:block;font-weight:500;color:var(--c1)}
.lyout .tb2 .nm span{display:block;font-size:12px;color:var(--c3)}
.lyout .tfoot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;font-size:13px;color:var(--c3);border-top:1px solid var(--st-light);background:var(--l1)}

/* comparison: one column per option, best value in yellow, heart to shortlist */
.lyout .cmp2{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.lyout .cmpc{display:flex;flex-direction:column;border:1px solid var(--st-light);border-radius:var(--r-l);overflow:hidden;background:var(--half);transition:border-color .2s;min-width:0}
.lyout .cmpc.pick,.lyout .cmpc.sl{background:var(--l1)}
.lyout .cmpc.sl{border-color:#5a4100}
.lyout .cmpc .hd{display:flex;flex-direction:column;gap:10px;padding:10px;border-bottom:1px solid var(--st-light)}
.lyout .cmpc .hd .pic{aspect-ratio:1;width:100%;border-radius:10px;position:relative;background-color:#e9e5df}
.lyout .cmpc.campus .hd .pic{aspect-ratio:4/3;background-color:var(--l2)}
.lyout .cmpc .hd b{font-size:14px;font-weight:600;line-height:1.3;min-height:36px;padding:0 4px;color:var(--c1)}
.lyout .cmpc .hd .sub{font-size:12px;color:var(--c3);padding:0 4px;margin-top:-6px;line-height:1.4}
.lyout .cmpc.logo .lgo{position:relative;aspect-ratio:1;width:100%;border-radius:10px;background:var(--l2);display:grid;place-items:center}
.lyout .cmpc.logo .lgo .tl.xl{width:56px;height:56px}
.lyout .cmpc .c{padding:10px 14px;border-bottom:1px solid var(--st-light);font-size:14px;color:var(--c2);display:flex;flex-direction:column;gap:1px;height:60px;justify-content:center}
.lyout .cmpc .c small{font-size:11px;color:var(--c3)}
.lyout .cmpc .c.best{color:var(--primary);font-weight:600}
.lyout .cmpc .ft{padding:12px;margin-top:auto}
.lyout .cmpc .ft .btn{width:100%}
.lyout .cmpc .ft:has(.btn+.btn){display:flex;gap:8px}.lyout .cmpc .ft:has(.btn+.btn) .btn{flex:1 1 0;min-width:0}
.lyout .slbtn{position:absolute;right:8px;top:8px;z-index:1;width:30px;height:30px;border-radius:50%;border:0;display:grid;place-items:center;background:rgba(5,5,5,.66);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:#f2f2f2;cursor:pointer;padding:0}
.lyout .slbtn .i{width:16px;height:16px}
.lyout .slbtn .h1{display:none}
.lyout .slbtn.on .h0{display:none}
.lyout .slbtn.on .h1{display:grid}
.lyout .slbtn.on{background:rgba(5,5,5,.66);color:var(--primary)}
.lyout .cmp-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.lyout .muted{color:var(--c3);font-size:13px}
.lyout .hstack{display:flex;align-items:center;gap:8px;flex-wrap:wrap}

/* horizontal scroller: stat cards and comparison columns */
.lyout .hs{position:relative;min-width:0}
.lyout .hs-t{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 20px) / 2.5);gap:10px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;scroll-behavior:smooth}
.lyout .hs-t::-webkit-scrollbar{display:none}
.lyout .hs-t>*{scroll-snap-align:start;min-width:0}
.lyout .hs::after{content:"";position:absolute;top:0;bottom:0;right:-1px;width:88px;background:linear-gradient(90deg,transparent,var(--half) 78%);pointer-events:none;transition:opacity .2s}
.lyout .hs.end::after{opacity:0}
.lyout .hs-n,.lyout .hs-p{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:34px;height:34px;border-radius:50%;border:1px solid var(--st);background:var(--l3);color:var(--c1);display:grid;place-items:center;transition:opacity .2s;padding:0;cursor:pointer}
.lyout .hs-n{right:6px}
.lyout .hs-p{left:6px;opacity:0;pointer-events:none}
.lyout .hs.mid .hs-p,.lyout .hs.end .hs-p{opacity:1;pointer-events:auto}
.lyout .hs.end .hs-n{opacity:0;pointer-events:none}
.lyout .hs-n:hover,.lyout .hs-p:hover{background:var(--l4)}
.lyout .hs.cmp .hs-t{grid-auto-columns:calc((100% - 20px) / 2.45)}
.lyout .hs.cmp .hs-n,.lyout .hs.cmp .hs-p{top:96px}
@media (max-width:760px){.lyout .hs-t{grid-auto-columns:calc((100% - 10px) / 1.4)}.lyout .hs.cmp .hs-t{grid-auto-columns:calc((100% - 10px) / 1.35)}}

/* chart and bar list: one chart, one point, in its own box */
.lyout .bx{display:flex;flex-direction:column;gap:18px;padding:18px;border-radius:var(--r-l);border:1px solid var(--st-light);background:var(--half);min-width:0}
.lyout .blab{display:flex;align-items:baseline;gap:8px;font-size:14px;font-weight:600;color:var(--c1)}
.lyout .blab span{font-size:13px;font-weight:400;color:var(--c3)}
.lyout .cbox{display:flex;flex-direction:column;gap:18px;padding:18px;border-radius:var(--r-l);border:1px solid var(--st-light);background:var(--half);min-width:0}
.lyout .legend{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:12px;color:var(--c2)}
.lyout .legend span{display:inline-flex;align-items:center;gap:6px}
.lyout .legend i{width:10px;height:3px;border-radius:2px;background:var(--c3)}
.lyout .legend i.a{background:var(--primary)}
.lyout .legend i.sq{height:10px;border-radius:3px}
.lyout .hb{display:flex;flex-direction:column;gap:12px;min-width:0}
.lyout .hb>div{display:grid;grid-template-columns:110px 1fr 56px;gap:12px;align-items:center;font-size:13px;color:var(--c2)}
.lyout .hb>div .bar{height:20px;border-radius:6px;background:var(--l3);position:relative;overflow:hidden}
.lyout .hb>div .bar i{position:absolute;inset:0 auto 0 0;border-radius:6px;background:var(--l5)}
.lyout .hb>div .bar i.y{background:var(--primary)}
.lyout .hb>div b{text-align:right;font-weight:600;color:var(--c1);font-variant-numeric:tabular-nums}
.lyout .range{display:flex;flex-direction:column;gap:12px;min-width:0}
.lyout .range>div{display:grid;grid-template-columns:110px 1fr 90px;gap:12px;align-items:center;font-size:13px;color:var(--c2)}
.lyout .range .trk{position:relative;height:8px;border-radius:var(--r-round);background:var(--l2)}
.lyout .range .trk i{position:absolute;top:0;bottom:0;border-radius:var(--r-round);background:var(--c3)}
.lyout .range .trk i.y{background:var(--primary)}
.lyout .range b{font-size:12px;color:var(--c1);font-weight:500;text-align:right;font-variant-numeric:tabular-nums}
@media (max-width:760px){.lyout .hb>div{grid-template-columns:84px 1fr 48px}.lyout .range>div{grid-template-columns:84px 1fr 76px}}

/* donut */
.lyout .donut{width:150px;height:150px;flex:none}
.lyout .donut .trk{fill:none;stroke:var(--l2)}
.lyout .donut .sg{fill:none;stroke-linecap:butt}
.lyout .donut .sg.a{stroke:var(--primary)}
.lyout .donut .sg.b{stroke:var(--c2)}
.lyout .donut .sg.c{stroke:var(--l5)}
.lyout .donut .dv{fill:var(--c1);font-size:20px;font-weight:600;font-family:inherit}
.lyout .donut .dl{fill:var(--c3);font-size:11px;font-family:inherit}
.lyout .dn-wrap{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.lyout .dn-wrap .kv{flex:1;min-width:180px}

/* quote */
.lyout .qgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.lyout .qt{display:flex;flex-direction:column;gap:12px;padding:16px;border-radius:var(--r-l);border:1px solid var(--st-light);background:var(--half);min-width:0}
.lyout .qt blockquote{margin:0;font-size:15px;line-height:1.6;color:var(--c1)}
.lyout .qt .by{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--c3)}
.lyout .qt .by b{color:var(--c1);font-weight:500}
.lyout .qt .by .tl{margin-left:auto}
@media (max-width:760px){.lyout .qgrid{grid-template-columns:1fr}}
/* master-result parts drawn from data: the states the reference never shows (no picture, a note without a photo) */
.lyout .cmpc .hd .nopic{position:relative;min-height:46px}
.lyout .cmpc .hd .nopic .tagov{left:0;top:8px}
.lyout .cmpc .hd .nopic .slbtn{right:0}
.lyout .feat.nopic{grid-template-columns:1fr}
.lyout .feat .tagov.in{position:static}
.lyout .stop .wide.np{grid-template-columns:1fr}
.lyout .itin>.seg-c{margin-bottom:20px;max-width:100%;overflow-x:auto;scrollbar-width:none}
.lyout .itin>.seg-c::-webkit-scrollbar{display:none}
.lyout .itin>.seg-c button{flex:none}
.lyout .tws .lytab{overflow:visible}
.lyout .tws .rtab-w{max-height:none;overflow:visible;margin:0;border:0}
.lyout .lyxsec p.muted{margin:0}
/* kit table drawn from data: as wide as its content (the reference's 880 px floor is for its own wide demo), the
   first column left; the footer's Show all is a plain link-weight button */
.lyout .tws .tb2{min-width:100%;width:max-content}
.lyout .tb2 :is(th,td):first-child,.lyout .tb2 :is(th,td).lysel+:is(th,td){text-align:left}
.lyout .tb2 :is(th,td).lysel{width:48px;padding-right:0}
/* Row steps (row_actions) in the kit table: the same last column and greyed "Removed" row as .lytab. */
.lyout .tb2 :is(th,td).lyract{width:1%;white-space:nowrap;text-align:right}
.lyout .tb2 tr.lyrow-off td:not(.lyract){color:var(--c3);opacity:.55}
.lyout .tw{min-width:0}
/* filter chips: the pressed one reads as the kit's selected chip */
.lyout .chips.lyfacets .chip,.lyout [data-kit-filter] .chip{cursor:pointer;font-family:inherit}
.lyout [data-kit-filter] .chip[aria-pressed="true"]{background:var(--c1);border-color:var(--c1);color:var(--cinv)}
.lyout [data-kit-filter]{margin-bottom:12px}
.lyout .files{display:flex;flex-direction:column;gap:8px}
.lyout .xdet{gap:18px}
.lyout .xdet>.lyblock{min-width:0}
.lyout .chips.lyfacets .chip[aria-pressed="true"]{background:var(--c1);border-color:var(--c1);color:var(--cinv)}
.lyout .chips.lyfacets .chip[aria-pressed="true"] em{color:var(--l5)}
/* checklist: no lines between items, a divider between groups */
.lyout .cl-w .tl2-g:not(:first-child){border-top:1px solid var(--st-light);padding-top:16px;margin-top:18px}
.lyout .notes{display:flex;flex-direction:column;gap:8px}
.lyout .lyblock>.strip+.chips{margin-top:10px}
.lyout .cmpc .c .cv{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.lyout .cmpc .c .cv .bdg{max-width:100%}
/* app.css has its own .ls (a loading line), .tw (a panel) and .hs (a sidebar row): kit blocks of the same name
   take none of their layout, padding, colour or hover */
.lyout .ls{align-items:stretch;gap:0;font-size:inherit;animation:none}
.lyout .tw{padding:0}
.lyout .hs{display:block;align-items:normal;gap:0;width:auto;padding:0;border-radius:0;background:none;color:inherit;font-size:inherit;text-align:inherit}
.lyout .hs:hover{background:none;color:inherit}
.lyout .tfoot .lymore{margin:0;padding:0;border:0;background:none;color:var(--c1);font-weight:500;cursor:pointer}
.lyout .tfoot span:empty{display:none}
.lyout .tfoot:has(span:empty){justify-content:flex-end}
.lyout .lgo .tagov{left:8px;top:8px}
.lyout .noph .btn{margin-top:4px}
/* the what-if calculator in a v2 result reads as the kit's .calc: one box, sliders left, the answer in a well right */
.lyout .rs .lywi-grid{padding:18px;border:1px solid var(--st-light);border-radius:var(--r-l);background:var(--half)}
.lyout .rs .lywi-out{background:var(--l1);border-radius:var(--r-m)}
.lyout .rs .lywi-lab,.lyout .rs .lywi-lead-lab,.lyout .rs .lywi-stats dt{color:var(--c2)}
.lyout .rs .lywi-val,.lyout .rs .lywi-stats dd{color:var(--c1)}
.lyout .rs .lywi-big{color:var(--primary);font-size:28px}
.lyout .rs .lywi-rail{background:var(--l4)}
.lyout .rs .lywi-fill{background:var(--primary)}
.lyout .rs .lywi-knob{background:var(--c1);border-color:var(--l3)}
.lyout .rs .lywi-stats>div{border-top-color:var(--st-light)}

/* code */
.lyout .code{border-radius:var(--r-l);border:1px solid var(--st-light);background:var(--base);overflow:hidden}
.lyout .code-h{display:flex;align-items:center;gap:8px;padding:8px 8px 8px 14px;border-bottom:1px solid var(--st-light);font-size:12px;color:var(--c3)}
.lyout .code-h .end{margin-left:auto}
.lyout .code pre{margin:0;padding:14px;overflow-x:auto;font:13px/1.65 var(--mono);color:var(--c2);letter-spacing:0}

/* image card, featured card, gallery */
.lyout .pic{border-radius:var(--r-m);overflow:hidden;background-color:var(--l2);background-position:center;background-size:cover;background-repeat:no-repeat;position:relative}
.lyout .pgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}
.lyout .pcard{display:flex;flex-direction:column;gap:8px;min-width:0}
.lyout .pcard .pic{aspect-ratio:4/3;width:100%;margin-bottom:4px}
.lyout .pcard .hd{display:flex;align-items:center;gap:8px;min-width:0}
.lyout .pcard .hd .tt{font-size:15px;font-weight:600;color:var(--c1);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lyout .pcard .hd .num{margin-left:auto}
.lyout .pcard .sb{font-size:13px;color:var(--c3)}
.lyout .tagov{position:absolute;left:10px;top:10px;display:flex;gap:6px;flex-wrap:wrap;z-index:1}
.lyout .tagov.bl{top:auto;bottom:10px}
.lyout .feat{display:grid;grid-template-columns:1.25fr 1fr;border-radius:var(--r-l);overflow:hidden;border:1px solid var(--st-light);background:var(--l1);min-width:0}
.lyout .feat .pic{position:relative;border-radius:0;min-height:260px;height:100%}
.lyout .feat .bd{padding:20px;display:flex;flex-direction:column;gap:12px;min-width:0}
.lyout .feat .ey{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:var(--primary)}
.lyout .feat h4{margin:0;font-size:22px;font-weight:600;letter-spacing:-.025em;line-height:1.2;color:var(--c1)}
.lyout .feat .sb{font-size:14px;color:var(--c2);margin-top:-6px}
.lyout .feat .bd>.btn{align-self:stretch;width:100%}
.lyout .g2{display:grid;grid-template-columns:2fr 1fr;gap:12px;align-items:stretch}
.lyout .lgal{display:grid;grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr;gap:8px;height:250px;min-width:0}
.lyout .lgal .big{grid-row:span 2;position:relative;height:100%;border-radius:var(--r-m)}
.lyout .lgal .cnt{position:absolute;right:10px;top:10px;z-index:1}
.lyout .lgal .nav{position:relative;height:100%;border-radius:var(--r-m);border:0;padding:0;cursor:pointer;overflow:hidden;background-color:var(--l2);background-position:center;background-size:cover;background-repeat:no-repeat}
.lyout .lgal .nav span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:6px;background:rgba(5,5,5,.48);color:#f2f2f2;font-size:13px;font-weight:600;transition:background .2s}
.lyout .lgal .nav:hover span{background:rgba(5,5,5,.66)}
.lyout .noph{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;height:160px;border-radius:var(--r-m);background:var(--l2);color:var(--c3);font-size:13px;text-align:center}
.lyout .th{flex:none;position:relative;overflow:hidden;border-radius:var(--r-m);background-color:var(--l2);background-position:center;background-size:cover;background-repeat:no-repeat;border:1px solid var(--st-light)}
.lyout .th.m{width:88px;height:64px}
.lyout .th.noimg{display:grid;place-items:center;color:var(--c3);background:var(--l2)}
@media (max-width:760px){.lyout .pgrid{grid-template-columns:1fr}.lyout .feat{grid-template-columns:1fr}.lyout .feat .pic{min-height:200px}.lyout .g2{grid-template-columns:1fr}.lyout .lgal{height:200px}}

/* draft: editable in place, placeholders in yellow, nothing sends until approved */
.lyout .dr{display:flex;flex-direction:column;border-radius:var(--r-l);border:1px solid var(--st);background:var(--half);overflow:hidden;min-width:0}
.lyout .dr-h{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid var(--st-light)}
.lyout .dr-m{display:flex;flex-direction:column;padding:4px 16px;border-bottom:1px solid var(--st-light);font-size:13px}
.lyout .dr-m>div{display:flex;gap:10px;padding:7px 0}
.lyout .dr-m>div+div{border-top:1px solid var(--st-light)}
.lyout .dr-m>div>span:first-child{width:52px;color:var(--c3);flex:none}
.lyout .dr-m>div>span:last-child{min-width:0;overflow-wrap:anywhere}
.lyout .dr-b{padding:16px;font-size:14px;line-height:1.65;color:var(--c1);white-space:pre-line;outline:none;min-width:0}
.lyout .dr-b[contenteditable="true"]{background:var(--l1);box-shadow:inset 0 0 0 1px var(--st-heavy)}
.lyout .dr-b .var{background:var(--amber-1000);color:var(--primary);border-radius:4px;padding:0 4px}
.lyout .dr-f{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 14px;border-top:1px solid var(--st-light);background:var(--l1)}
.lyout .dr-f .lysp{flex:1}

/* chat thread: earlier messages fold, long ones clamp, the draft reply is marked */
.lyout .chat{display:flex;flex-direction:column;gap:8px;padding:16px;min-width:0}
.lyout .bub{max-width:80%;padding:10px 14px;border-radius:16px;font-size:14px;line-height:1.5;color:var(--c1)}
.lyout .bub.in{background:var(--l2);border-bottom-left-radius:6px;align-self:flex-start}
.lyout .bub.out{background:#1e1e1e;border:1px solid var(--st);border-bottom-right-radius:6px;align-self:flex-end}
.lyout .bub small{display:block;margin-top:4px;font-size:11px;color:var(--c3)}
.lyout .bub .lbl{display:flex;align-items:center;gap:6px;margin-bottom:4px;font-size:11px;color:var(--primary);font-weight:600}
.lyout .bub .clamp{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.lyout .bub.open .clamp{display:block}
.lyout .bub .mo{display:inline-block;margin-top:4px;padding:0;border:0;background:none;color:var(--c1);font-size:12px;font-weight:600;cursor:pointer;font-family:inherit}
.lyout .earlier{align-self:center;display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px;border-radius:var(--r-round);border:0;background:var(--l2);color:var(--c2);font-size:12px;cursor:pointer;font-family:inherit}
.lyout .earlier:hover{background:var(--l3);color:var(--c1)}

/* message card: one message per card, next step on the right */
.lyout .tg-g{display:flex;flex-direction:column;min-width:0}
.lyout .tg-g+.tg-g{border-top:1px solid var(--st-light);margin-top:16px;padding-top:16px}
.lyout .tg-gh{display:flex;align-items:center;gap:10px;width:100%;padding:0 0 12px;border:0;background:none;color:var(--c1);font-size:14px;font-weight:600;text-align:left;cursor:pointer;font-family:inherit}
.lyout .tg-gh .dotc{width:8px;height:8px;border-radius:50%}
.lyout .tg-gh .n{color:var(--c3);font-weight:400}
.lyout .tg-gh .chv{margin-left:auto;color:var(--c3);transition:transform .25s var(--m-ease)}
.lyout .tg-g.shut .tg-gh .chv{transform:rotate(-90deg)}
.lyout .tg-g.shut .tg-l{display:none}
.lyout .tg-l{display:flex;flex-direction:column;gap:8px;min-width:0}
.lyout .mail{display:flex;gap:12px;padding:14px;align-items:center;min-width:0;border:1px solid var(--st-light);border-radius:14px;background:var(--l1)}
.lyout .mail+.mail{border-top:1px solid var(--st-light)}
.lyout .mail .bd{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.lyout .mail .t1{display:flex;align-items:center;gap:8px;font-size:14px;min-width:0}
.lyout .mail .t1 b{font-weight:600;white-space:nowrap;color:var(--c1)}
.lyout .mail .t1 span{color:var(--c2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lyout .mail .t1 time{margin-left:0;flex:none;font-size:12px;color:var(--c3)}
.lyout .mail .sj{font-size:14px;color:var(--c1)}
.lyout .mail p{margin:1px 0 0;font-size:13px;color:var(--c3);line-height:1.45}
.lyout .mail .chips{margin-top:6px}
.lyout .mail .ma{flex:none;display:flex;gap:6px;align-items:center}
@media (max-width:760px){.lyout .mail{flex-wrap:wrap}.lyout .mail .ma{width:100%;padding-left:44px}}

/* post card: image and caption the agent made, edit and approve in place */
.lyout .posts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.lyout .post{display:flex;flex-direction:column;border:1px solid var(--st-light);border-radius:var(--r-l);background:var(--half);min-width:0;position:relative}
.lyout .post .pic{aspect-ratio:1;width:100%;border-radius:15px 15px 0 0}
.lyout .post .bd{padding:12px;display:flex;flex-direction:column;gap:8px;flex:1}
.lyout .post .cap{margin:0;font-size:13px;line-height:1.5;color:var(--c2);border-radius:8px;outline:none}
.lyout .post .cap[contenteditable="true"]{background:var(--l1);box-shadow:0 0 0 1px var(--st-heavy);padding:8px;color:var(--c1)}
.lyout .post .ft{display:flex;align-items:center;gap:8px;padding:10px 12px;border-top:1px solid var(--st-light)}
.lyout .post .ft .k{font-size:12px;color:var(--c3);flex:1}
.lyout .post .ok-t{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--success);height:32px;padding:0 4px}
.lyout .post .menu{position:absolute;right:12px;bottom:52px;z-index:5;display:flex;flex-direction:column;min-width:170px;padding:6px;border-radius:12px;background:var(--l3);border:1px solid var(--st);box-shadow:0 16px 40px rgba(0,0,0,.55)}
.lyout .post .menu button{display:flex;align-items:center;gap:10px;height:36px;padding:0 10px;border:0;border-radius:8px;background:none;color:var(--c1);font-size:13px;text-align:left;cursor:pointer;font-family:inherit}
.lyout .post .menu button:hover{background:var(--l4)}
.lyout .post .menu button .i{color:var(--c2)}
.lyout .imged{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:rgba(5,5,5,.66);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);border-radius:15px 15px 0 0}
.lyout .imged .btn{background:rgba(28,28,28,.92);color:#f2f2f2;min-width:150px}
.lyout .imged .btn .i{color:var(--primary)}
.lyout .btn.ico.ed{color:var(--c2)}
.lyout .btn.ico.ed.on{background:var(--l4);color:var(--c1)}
@media (max-width:760px){.lyout .posts{grid-template-columns:1fr}}

/* approval queue */
.lyout .apq{display:flex;flex-direction:column;gap:12px;min-width:0}
.lyout .ap{border:1px solid var(--st-light);border-radius:var(--r-l);overflow:hidden;background:var(--half);min-width:0}
.lyout .ap-h{display:flex;align-items:center;gap:10px;padding:10px 10px 10px 14px;font-size:13px;color:var(--c3);border-bottom:1px solid var(--st-light);flex-wrap:wrap}
.lyout .ap-h b{color:var(--c1);font-weight:500}
.lyout .ap-h .lysp{flex:1}
.lyout .ap .chat{padding:14px}
.lyout .ap-f{display:flex;align-items:center;gap:8px;padding:10px 14px;border-top:1px solid var(--st-light);background:var(--l1)}
.lyout .ap-f .lysp{flex:1}
.lyout .ap.done .chat{opacity:.5}

/* run progress: done, now, next */
.lyout .runl{display:flex;flex-direction:column;gap:2px;min-width:0}
.lyout .runl>div{display:flex;align-items:center;gap:12px;padding:8px 0;font-size:14px;color:var(--c2)}
.lyout .runl>div .rt{margin-left:auto;font-size:12px;color:var(--c3);font-variant-numeric:tabular-nums}
.lyout .runl .st{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;flex:none}
.lyout .runl .st.dn{background:var(--l2);color:var(--success)}
.lyout .runl .st.dn .i{width:13px;height:13px}
.lyout .runl .st.now .spin{width:14px;height:14px;border-top-color:var(--primary)}
.lyout .runl .st.td{border:1.5px dashed var(--l5)}
.lyout .runl .now{color:var(--c1)}
.lyout .spin{width:16px;height:16px;border-radius:50%;border:2px solid var(--l5);border-top-color:var(--c1);animation:lyspin .8s linear infinite}
@keyframes lyspin{to{transform:rotate(360deg)}}

/* empty state and skeleton */
.lyout .empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:32px 20px;border-radius:var(--r-l);border:1px dashed var(--st);background:var(--l1)}
.lyout .empty img{width:52px;height:48px;object-fit:contain;opacity:.9}
.lyout .empty b{font-size:16px;font-weight:600;color:var(--c1)}
.lyout .empty p{margin:0;font-size:14px;color:var(--c2);max-width:44ch}
.lyout .empty .row{display:flex;gap:10px;justify-content:center;margin-top:6px;flex-wrap:wrap}
.lyout .skl{border-radius:var(--r-s);background:linear-gradient(90deg,var(--l2) 0%,var(--l3) 50%,var(--l2) 100%);background-size:200% 100%;animation:lyshim 1.6s linear infinite}
@keyframes lyshim{to{background-position:-200% 0}}

/* question: one question, clear options */
.lyout .ask{display:flex;flex-direction:column;gap:12px;padding:16px;border-radius:var(--r-l);border:1px solid var(--st);background:var(--l1);min-width:0}
.lyout .ask .q{font-size:15px;font-weight:600;color:var(--c1)}
.lyout .opt{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:var(--r-m);border:1px solid var(--st);background:var(--half);cursor:pointer;font-size:14px;transition:border-color .15s;color:var(--c1)}
.lyout .opt:hover{border-color:var(--st-heavy)}
.lyout .opt.on{border-color:var(--primary)}
.lyout .opt span.s{margin-left:auto;font-size:12px;color:var(--c3)}

/* answers chips, calculator, action bar */
.lyout .yans{display:flex;flex-direction:column;gap:10px;padding:14px 16px;border-radius:var(--r-l);background:var(--l1);border:1px solid var(--st-light)}
.lyout .yans .row{gap:6px}
.lyout .yans .t{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:var(--c3)}
.lyout .yans .chip{background:var(--l2);border-color:transparent;color:var(--c1)}
.lyout .calc{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:18px;border-radius:var(--r-l);border:1px solid var(--st-light);background:var(--half);min-width:0}
.lyout .calc .ins{display:flex;flex-direction:column;gap:18px;min-width:0}
.lyout .calc .f{display:flex;flex-direction:column;gap:8px}
.lyout .calc .f .h{display:flex;justify-content:space-between;font-size:13px;color:var(--c2)}
.lyout .calc .f .h b{color:var(--c1);font-weight:600;font-variant-numeric:tabular-nums}
.lyout .calc .out{display:flex;flex-direction:column;gap:12px;padding:16px;border-radius:var(--r-m);background:var(--l1);min-width:0}
.lyout .calc .out .lb{font-size:12px;color:var(--c3)}
@media (max-width:760px){.lyout .calc{grid-template-columns:1fr}}
.lyout .ab{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.lyout .ab .lysp{flex:1}

/* change alert: before → after */
.lyout .chg{display:flex;flex-direction:column;border:1px solid var(--st-light);border-radius:var(--r-l);overflow:hidden;min-width:0}
.lyout .chg>div{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) auto;gap:14px;align-items:center;padding:14px 16px}
.lyout .chg>div+div{border-top:1px solid var(--st-light)}
.lyout .chg .who{display:flex;align-items:center;gap:12px;min-width:0}
.lyout .chg .who b{display:block;font-size:14px;font-weight:500;color:var(--c1)}
.lyout .chg .who div>span{display:block;font-size:12px;color:var(--c3)}
.lyout .chg .ba{display:flex;align-items:center;gap:8px;font-variant-numeric:tabular-nums;font-size:14px}
.lyout .chg .ba s{color:var(--c3);text-decoration-color:var(--l5)}
.lyout .chg .ba .i{color:var(--c3)}
.lyout .chg .ba b{font-weight:600;color:var(--c1)}
.lyout .chg .same{color:var(--c3);font-size:13px}
@media (max-width:760px){.lyout .chg>div{grid-template-columns:1fr auto}.lyout .chg .ba{grid-column:1/-1;order:3}}

/* divider */
.lyout .divider{height:1px;background:var(--st-light);width:100%}

/* The kit's look (Gravity Gen UI components.html) for results drawn in the v2 shell: the block drawers keep their markup,
   the surfaces and colours are the kit's. Stat cards are bordered with the label above the number; bars are grey and yellow
   marks only the best value; link buttons are the kit's dark pill with yellow text. */
.lyshelled .lymetrics{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}
.lyshelled .lymetric{background:var(--half);border:1px solid var(--st-light);border-radius:var(--r-l);padding:16px}
.lyshelled .lymetric .lyml{font-size:12px;font-weight:500;color:var(--c2)}
.lyshelled .lymetric .lymvw{margin-top:12px}
.lyshelled .lymetric .lymv{font-size:32px;font-weight:600;line-height:1.1;letter-spacing:-.02em;color:var(--c1)}
.lyshelled .lymetric small{color:var(--c3)}
.lyshelled .lybar{background:var(--l3)}
.lyshelled .lybar i,.lyshelled .lybar.lymeter i{background:var(--c2)}
.lyshelled .lyvs-v.best{color:var(--primary)}
.lyshelled .rcta{background:var(--l3);border-color:transparent;color:var(--primary);font-weight:600}
.lyshelled .rcta:hover{background:var(--l4);border-color:transparent;color:var(--primary-hover)}
.lyshelled .lyrowact{background:var(--l3);border-color:transparent;color:var(--c2)}
.lyshelled .lyrowact:hover:not(:disabled){background:var(--l4);border-color:transparent;color:var(--c1)}
.lyshelled .lymore{color:var(--c2)}
.lyshelled .lytab .rtab{width:100%}
.lyshelled .lytab .rtab td{min-width:120px;overflow-wrap:normal;word-break:normal}
.lyshelled .lytab .rtab td a{color:var(--c1);text-decoration:none}
.lyshelled .lytab .rtab td a:hover{text-decoration:underline}
.lyout .rtext>.lyprose{max-width:none}
.lyshelled .lyhd,.lyout .lyhd{margin:0 0 4px;font-size:16px;font-weight:600;color:var(--c1)}
.lyout .lypts{margin:4px 0 8px;padding-left:18px;color:var(--c2);display:flex;flex-direction:column;gap:4px}
.lyout .lylab{color:var(--c3);font-weight:500}
.lyout .rtext p+p{margin-top:6px}
.lyshelled .lypl{display:block;margin-bottom:1px;font-weight:600;color:var(--c1)}
.lyshelled .lylist{gap:8px}
.lyshelled .lyc .lybar.lymeter{width:120px;height:6px}
.lyshelled .lyc .lynum{font-size:15px;font-weight:600;color:var(--c1)}
.lyvs-run{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px}
.lyvs-run>.lyh{flex:1 1 auto;min-width:0;margin:0}
.lyblock-versus.lyvs-follow,.lyblock-comparison.lyvs-follow{margin-top:14px;padding-top:14px;border-top:1px solid var(--stroke2)}
.lypager-big .lypager-at{color:var(--fg2)}
.lypager-big .lypager-b{width:40px;height:40px;border-color:var(--fg3);color:var(--fg)}
.lypager-big .lypager-b:hover:not(:disabled){background:var(--fg);color:#000;border-color:var(--fg)}
.lyblock-versus[data-gpaged],.lyblock-comparison[data-gpaged]{display:none}
/* An agent's table (2026-11-03, result-layout.md §3.2): a mail link and a row's own sites as small marks, the last
   column (the row's steps and its detail chevron) pinned to the right edge while the table scrolls sideways, and the
   full-width detail row a row opens. */
.lyout .rtab td.lyicons{white-space:nowrap}
.lyout .rtab .lyemail{position:relative;display:inline-grid;place-items:center;width:28px;height:26px;margin:-3px 0;border-radius:7px;vertical-align:middle;text-decoration:none!important}
.lyout .rtab .lyemail:hover{background:var(--row)}
.lyout .rtab .lyemail i{display:block;width:17px;height:13px;background:center/contain no-repeat}
.lyout .rtab .lyemail .lyicon{color:var(--fg2)}
.lyout .lymk{position:absolute;right:0;bottom:1px;display:grid;place-items:center;width:11px;height:11px;border-radius:50%;box-shadow:0 0 0 2px var(--card)}
.lyout .lymk svg{width:9px;height:9px}
.lyout .lymk.ok{background:var(--ok);color:#04130B}
.lyout .lymk.warn{background:#F5A524}
.lyout .lymk.guess{right:2px;bottom:3px;width:7px;height:7px;background:var(--dim)}
.lyout .rtab td .lylinks{display:inline-flex;align-items:center;gap:2px;margin:-3px 0;vertical-align:middle}
.lyout .rtab td .lylinks a.lylk{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:7px;color:var(--mute);text-decoration:none}
.lyout .rtab td .lylinks a.lylk:hover{color:var(--fg);background:var(--row);text-decoration:none}
.lytab .rtab :is(th,td).lyract{position:sticky;right:0;z-index:1;background:var(--card);box-shadow:inset 1px 0 0 var(--hair)}
.lytab .rtab tbody tr:hover td.lyract{background:var(--row)}
.lyout .tb2 :is(th,td).lyract{padding-left:14px;position:sticky;right:0;z-index:1;background:var(--card,#0d0d0d);box-shadow:inset 1px 0 0 var(--hair,rgba(255,255,255,.08))}
@media (max-width:560px){.lyout .tb2 :is(th,td).lyract{position:static;box-shadow:none}}
/* The row's name stays where it is while the other columns scroll (with checkboxes, the box beside it too); its words
   wrap rather than widen it. The row's steps are its last column and scroll with it: nothing sits over the cells. */
.lyout .tb2 :is(th,td):is(:first-child:not(.lysel,.lyx-pinc),.lysel+*,.lyx-pinc+*){position:sticky;left:0;z-index:2;background:var(--half);box-shadow:inset -1px 0 0 var(--st-light);white-space:normal;min-width:200px;max-width:300px}
.lyout .tb2 :is(th,td):is(.lysel,.lyx-pinc){position:sticky;left:0;z-index:2;background:var(--half)}
.lyout .tb2 :is(th,td):is(.lysel+*){left:48px}
.lyout .tb2 :is(th,td):is(.lyx-pinc+*){left:44px}
/* A cell with a second line (a person's role and how we know them) wraps it rather than widening its column */
.lyout .tb2 td:has(>.lysub){white-space:normal;min-width:160px;max-width:280px}
.lyout .tb2 thead th:is(:first-child,.lysel+*,.lyx-pinc+*){background:var(--l1)}
.lyout .tb2 tbody tr:hover td:is(:first-child,.lysel,.lysel+*,.lyx-pinc,.lyx-pinc+*){background:var(--l1)}
:root[data-screen="phone"] .lytab-wide .rtab :is(th,td).lyract{position:static;box-shadow:none}
.lyout .lydtog{display:inline-grid;place-items:center;width:var(--ctl-sm);height:var(--ctl-sm);padding:0;border:1px solid var(--stroke2);border-radius:999px;background:transparent;color:var(--fg2);vertical-align:middle;cursor:pointer;transition:color var(--m-tap) var(--m-ease),border-color var(--m-tap) var(--m-ease)}
.lyout .lydtog:hover{color:var(--fg);border-color:var(--hover)}
.lyout .lydtog svg{transition:transform var(--m-tap) var(--m-ease)}
.lyout .lydtog[aria-expanded="true"] svg{transform:rotate(180deg)}
.lyout .lydtog-sp{display:inline-block;width:var(--ctl-sm);vertical-align:middle}
.lyout .lyract>*+:is(.lydtog,.lydtog-sp){margin-left:6px}
.lyout .rtab tr[data-open]>td{border-bottom-color:transparent}
.lyout .rtab tr.lydet>td{padding-top:0!important;text-align:left;white-space:normal;vertical-align:top;font-weight:400;color:inherit}
.lyout .rtab tbody tr.lydet:hover>td{background:transparent}
.lyout .lydet-b{position:sticky;left:0;max-width:min(82ch,calc(100cqw - 40px));font-size:13px;line-height:1.55;color:var(--fg3)}
.lyout .lydet-b p{margin:0}
.lyout .lydet-b p+p{margin-top:6px}
/* Row insights (LeadScope ICP plan 8b): the why-now cell, and a row that opens to Why them, Why now, Why this person
   and Recent activity, each a card, set for reading: 14.5px/1.6, short lines, space between parts */
.lyout .tb2 td{line-height:1.45}
.lyout .tb2 .lysub{font-size:12.5px;line-height:1.4;margin-top:3px}
.lyout .rtab td.lysigc{text-align:left;white-space:normal;min-width:190px;max-width:260px}
.lyout .lysig{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.lyout .lysig-t{display:inline-block;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;padding:2px 8px;border-radius:6px;background:var(--info-bg);color:var(--info-soft);border:1px solid var(--info-st)}
.lyout .lysig-h{color:var(--c1);font-weight:500;line-height:1.4}
.lyout .lysig-m{font-size:12px;color:var(--c3)}
.lyout .lysig-none{font-size:13px;font-style:italic;color:var(--c3)}
.lyout .lydet-b:has(.lyins){max-width:min(1120px,calc(100cqw - 24px));font-size:14.5px;line-height:1.6;color:var(--c2)}
.lyout .lyins{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;padding:6px 0 14px}
.lyout .lyins-s{background:var(--l1);border:1px solid var(--st-light);border-radius:var(--r-m);padding:16px 18px;min-width:0}
.lyout .lyins-s h4{margin:0 0 10px;font-size:11.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--c3)}
.lyout .lyins-s p{margin:0 0 10px;max-width:62ch}
.lyout .lyins-s p:last-child{margin-bottom:0}
.lyout .lyins-facts{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
.lyout .lyins-f{font-size:12.5px;padding:2px 10px;border-radius:var(--r-round);background:var(--l3);color:var(--c1)}
.lyout .lyins-checks,.lyout .lyins-acts{list-style:none;margin:10px 0 0;padding:0}
.lyout .lyins-checks li{display:flex;gap:10px;padding:4px 0;font-size:14px}
.lyout .lyins-m{flex:none;width:14px;text-align:center;font-weight:600}
.lyout .lyins-m.ok{color:var(--success)}.lyout .lyins-m.no{color:var(--err)}.lyout .lyins-m.q{color:var(--primary)}
.lyout .lyins-sigrow{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:8px}
.lyout .lyins-conf{font-size:11.5px;font-weight:600;padding:2px 8px;border-radius:var(--r-round)}
.lyout .lyins-conf.c-high{background:var(--success-bg);color:var(--success)}
.lyout .lyins-conf.c-medium{background:var(--amber-1000);color:var(--primary)}
.lyout .lyins-big{font-size:16px;font-weight:600;color:var(--c1);margin:2px 0 8px}
.lyout .lyins-meta{display:flex;flex-wrap:wrap;gap:14px;font-size:13px;color:var(--c3);margin-top:10px}
.lyout .lyins-meta a,.lyout .lyins-acts a{color:var(--c1);text-decoration:none;font-weight:500}
.lyout .lyins-meta a:hover,.lyout .lyins-acts a:hover{text-decoration:underline}
.lyout .lyins-acts li{padding:8px 0;border-top:1px solid var(--st-light)}
.lyout .lyins-acts li:first-child{border-top:0;padding-top:0}
.lyout .lyins-k{font-size:11px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--c3);margin-right:8px}
.lyout .lyins-d{font-size:12.5px;color:var(--c3);margin-top:2px}
@media (max-width:760px){.lyout .lyins{grid-template-columns:1fr}}
.lyout .rtab tr[hidden]+tr.lydet,.lyout .rtab tr[data-paged]+tr.lydet{display:none!important}
:root[data-screen="phone"] .lytab-wide .rtab tr.lydet>td{flex-basis:100%}
.lyshelled .lydet-b{color:var(--c2)}
.lyshelled .lydtog{background:var(--l3);border-color:transparent;color:var(--c2)}
.lyshelled .lydtog:hover{background:var(--l4);color:var(--c1)}

/* ── board (result-layout.md §3): records in lanes. Columns scroll sideways and the next one peeks, so a narrow screen
   still reads as a pipeline; a card opens a drawer in the top layer (<dialog>), which brings its own focus and Escape. */
.bd{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(232px,1fr);align-items:start;gap:10px;overflow-x:auto;scroll-snap-type:x proximity;scroll-padding-left:2px;padding:2px 2px 10px;outline:none}
.bd:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:20px}
.bd-lane{display:flex;flex-direction:column;gap:8px;min-width:0;padding:8px;border-radius:20px;background:#0E0E0E;scroll-snap-align:start;--lane:#8C8C8C}
.bd-blue{--lane:#6EA8FE}.bd-amber{--lane:var(--accent)}.bd-green{--lane:#52D68C}.bd-violet{--lane:#B69CFF}.bd-grey{--lane:#8C8C8C}
.bd-lh{display:flex;align-items:center;gap:8px;margin:0;padding:6px 8px 4px;font-size:14px;font-weight:600;line-height:1.3;color:var(--fg)}
.bd-lh i{width:8px;height:8px;border-radius:50%;background:var(--lane)}
.bd-lh span{margin-left:auto;font-size:13px;font-weight:500;font-variant-numeric:tabular-nums;color:var(--mute)}
.bd-cards{display:flex;flex-direction:column;gap:8px}
.bd-card{position:relative;display:flex;flex-direction:column;gap:10px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#141414;transition:border-color .15s ease-out,background-color .15s ease-out,translate .15s ease-out;animation:rise .45s cubic-bezier(.2,.8,.2,1) both}
@media (hover:hover){.bd-card:hover{border-color:#3D3D3D;background:#181818;translate:0 -1px}}
.bd-open{position:absolute;inset:0;z-index:1;border:0;border-radius:12px;background:none;cursor:pointer;outline:none}
.bd-open:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.bd-top{display:flex;align-items:center;gap:10px;min-width:0}
.bd-top>.lyfav,.bd-dh>.lyfav{width:36px;height:36px;padding:7px;border-radius:10px;flex:none}
.bd-top>.lyfav img,.bd-dh>.lyfav img{width:22px;height:22px}
.bd-top>.lylogo:is(.off,.wait)::after,.bd-dh>.lylogo:is(.off,.wait)::after{font-size:15px}
.bd-tt{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1}
.bd-tt b{font-size:15px;font-weight:600;line-height:1.3;color:var(--fg);overflow-wrap:anywhere}
.bd-sub{font-size:13px;line-height:1.3;color:var(--mute);overflow-wrap:anywhere}
.bd-ring{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--fg);background:radial-gradient(closest-side,#141414 78%,transparent 80%),conic-gradient(var(--lane) calc(var(--pct)*1%),#2A2A2A 0)}
.bd-tag{align-self:flex-start;padding:2px 8px;border-radius:999px;font-size:12px;font-weight:600;line-height:1.5;color:#FFB86B;background:rgba(255,184,107,.12)}
.bd-track{position:relative;display:flex;justify-content:space-between;align-items:center;--t:var(--lane)}
.bd-track::before,.bd-track::after{content:"";position:absolute;left:5px;height:2px;top:50%;margin-top:-1px;border-radius:2px}
.bd-track::before{right:5px;background:#2A2A2A}
.bd-track::after{width:calc((100% - 10px)*var(--far));background:var(--t);transform-origin:left;animation:bd-grow .6s cubic-bezier(.16,1,.3,1) both}
.bd-track i{position:relative;z-index:1;width:10px;height:10px;border-radius:50%;background:#141414;box-shadow:inset 0 0 0 2px #3A3A3A}
.bd-track i.on{background:var(--t);box-shadow:none}
.bd-track i.wait{background:#141414;box-shadow:inset 0 0 0 2px var(--t)}
@keyframes bd-grow{from{scale:0 1}}
.bd-line{margin:0;font-size:13px;line-height:1.35;color:var(--fg2)}
.bd-go{position:relative;z-index:2;display:flex}
.bd-go .lyrowact{flex:1;height:36px;padding:0 14px;border:0;border-radius:10px;background:#262626;color:var(--fg);font-size:14px;font-weight:600;cursor:pointer;transition:background-color .15s ease-out,scale .15s ease-out}
.bd-go .lyrowact:hover{background:#303030}
.bd-card.hot{border-color:color-mix(in srgb,var(--accent) 45%,var(--line))}
.bd-card.hot .bd-go .lyrowact,.bd-drawer .bd-go .lyrowact{background:var(--accent);color:#111}
.bd-card.hot .bd-go .lyrowact:hover,.bd-drawer .bd-go .lyrowact:hover{background:var(--accent-hi)}
.bd-go .lyrowact:active{scale:.96}
.bd-go .lyrowact:focus-visible{outline:2px solid var(--fg);outline-offset:2px}
.bd-drawer{position:fixed;inset:8px 8px 8px auto;width:min(560px,calc(100vw - 16px));height:auto;max-width:none;max-height:none;margin:0;padding:0;border:1px solid #1F1F1F;border-radius:20px;background:#0B0B0B;color:var(--fg);box-shadow:-30px 0 80px rgba(0,0,0,.55);overflow:hidden;overscroll-behavior:contain}
.bd-drawer[open]{display:flex;flex-direction:column;animation:slidein .32s cubic-bezier(.2,.8,.2,1) both}
.bd-drawer::backdrop{background:rgba(0,0,0,.5)}
.bd-dh{display:flex;align-items:center;gap:12px;padding:16px 16px 14px 20px;border-bottom:1px solid var(--hair)}
.bd-dt{display:flex;flex-direction:column;min-width:0;flex:1}
.bd-dt b{font-size:18px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}
.bd-dt span{font-size:14px;color:var(--mute);overflow-wrap:anywhere}
.bd-dn{display:flex;gap:2px;flex:none}
.bd-ic{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:10px;background:none;color:var(--mute);cursor:pointer;transition:background-color .15s ease-out,color .15s ease-out}
.bd-ic:hover{background:#1C1C1C;color:var(--fg)}
.bd-ic:focus-visible{outline:2px solid var(--accent)}
.bd-db{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:16px;padding:18px 20px 24px}
.bd-state{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0;font-size:14px;font-weight:600;color:var(--fg)}
.bd-state .bd-dot{width:8px;height:8px;border-radius:50%;background:var(--accent)}
.bd-state span{width:3px;height:3px;border-radius:50%;background:var(--dim)}
.bd-state em{font-style:normal;font-weight:400;color:var(--mute)}
.bd-flag{margin:0;padding:10px 12px;border-radius:12px;font-size:14px;line-height:1.45;color:#FFD3A3;background:rgba(255,184,107,.1)}
.bd-drawer .bd-go .lyrowact{height:44px;border-radius:12px;font-size:15px}
.bd-more{display:flex;flex-wrap:wrap;gap:8px;padding-top:4px}
.bd-drawer .bd-more .lyrowact,.bd-drawer .bd-more a{display:inline-flex;align-items:center;height:36px;padding:0 14px;border:1px solid #2E2E2E;border-radius:12px;background:none;color:#E6E6E6;font-size:14px;font-weight:500;text-decoration:none;cursor:pointer;transition:background-color .15s ease-out}
.bd-drawer .bd-more .lyrowact:hover,.bd-drawer .bd-more a:hover{background:#1C1C1C}
.bd-feed{display:flex;flex-direction:column;margin:0;padding:0;list-style:none}
.bd-feed li{position:relative;display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:10px;padding:0 0 16px;font-size:14px;line-height:1.4}
.bd-feed li:not(:last-child)::before{content:"";position:absolute;left:4px;top:14px;bottom:-5px;width:2px;background:#232323}
.bd-feed i{margin-top:5px;width:10px;height:10px;border-radius:50%;background:#5A5A5A}
.bd-feed .hot i{background:#52D68C}
.bd-feed .next i{background:none;box-shadow:inset 0 0 0 2px #4A4A4A}
.bd-feed .t{min-width:0;color:var(--fg);overflow-wrap:anywhere}
.bd-feed .next .t{color:var(--mute)}
.bd-feed small{display:block;margin-top:2px;font-size:13px;color:var(--mute)}
.bd-feed .w{font-size:13px;font-variant-numeric:tabular-nums;color:var(--dim);white-space:nowrap}
@media (prefers-reduced-motion:reduce){.bd-card,.bd-drawer[open],.bd-track::after{animation:none}.bd-card{transition:none}}
.bd-strip{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.bd-strip button{display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 12px;border:1px solid var(--line);border-radius:999px;background:none;color:var(--fg2);font-size:13px;font-weight:500;cursor:pointer;transition:background-color .15s ease-out,border-color .15s ease-out,scale .15s ease-out}
.bd-strip button:hover{background:#161616;border-color:#3D3D3D}
.bd-strip button:active{scale:.96}
.bd-strip button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.bd-strip i{width:8px;height:8px;border-radius:50%;background:var(--lane)}
.bd-strip b{font-weight:600;font-variant-numeric:tabular-nums;color:var(--fg)}
.bd-rest summary{padding:8px;border-radius:10px;font-size:13px;font-weight:500;color:var(--mute);text-align:center;cursor:pointer;list-style:none;transition:background-color .15s ease-out,color .15s ease-out}
.bd-rest summary::-webkit-details-marker{display:none}
.bd-rest summary:hover{background:#181818;color:var(--fg)}
.bd-rest[open] summary{display:none}
.lyout .lydetf{display:grid;grid-template-columns:minmax(96px,max-content) minmax(0,1fr);gap:7px 18px;margin:0;padding-inline:14px}
.lyout .lydetf dt{font-weight:600;color:var(--fg2)}
.lyout .lydetf dd{margin:0}
.lyout .lydetf dd.wide{grid-column:1/-1}
@media (max-width:520px){.lyout .lydetf{grid-template-columns:minmax(0,1fr);gap:2px}.lyout .lydetf dd{margin-bottom:8px}}
.pq-wrap{display:flex;flex-direction:column;gap:14px;min-width:0}
.pq-top{display:flex;flex-direction:column;gap:8px}
.pq-ctl{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.pq-mode{display:inline-flex;gap:2px;padding:3px;border:1px solid var(--line);border-radius:12px}
.pq-seg{height:30px;padding:0 13px;border:0;border-radius:9px;background:transparent;color:var(--mute);font:inherit;font-size:13px;font-weight:500;cursor:pointer}
.pq-seg[aria-pressed="true"]{background:var(--fg);color:var(--ink)}
.pq-wrap select{height:var(--ctl);max-width:100%;padding:0 10px;border:1px solid var(--stroke2);border-radius:10px;background:var(--panel);color:var(--fg);font:inherit;font-size:13px}
.pq-job select{max-width:min(420px,100%)}
.pq-about{margin:0;font-size:13px;color:var(--mute)}
.pq-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.pq-prog{display:flex;flex-direction:column;gap:7px}
.pq-prog-t{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:13px;color:var(--mute)}
.pq-prog-t b{font-weight:600;color:var(--fg)}
.pq-bar{display:block;height:5px;border-radius:999px;background:var(--line);overflow:hidden}
.pq-bar i{display:block;height:100%;width:0;border-radius:inherit;background:var(--chart,var(--fg));transition:width .2s ease-out}
.pq-skills{font-size:13px;color:var(--fg3)}
.pq-skills summary{cursor:pointer;color:var(--mute)}
.pq-skills p{margin:6px 0 0}
.pq-nav{display:flex;gap:2px;padding:4px;border:1px solid var(--line);border-radius:14px;overflow-x:auto;scrollbar-width:none}
.pq-nav button{flex:none;height:32px;padding:0 12px;border:0;border-radius:10px;background:transparent;color:var(--mute);font:inherit;font-size:13px;font-weight:500;white-space:nowrap;cursor:pointer}
.pq-nav button em{font-style:normal;font-size:12px;color:var(--dim);font-variant-numeric:tabular-nums}
.pq-nav button:hover{color:var(--fg)}
.pq-nav button[aria-selected="true"]{background:var(--fg);color:var(--ink)}
.pq-filters{display:flex;flex-wrap:wrap;gap:8px}
.pq-filter{display:inline-flex;align-items:center;gap:6px;min-width:0;font-size:12px;color:var(--mute)}
.pq-filter select{max-width:190px}
.pq-list{display:flex;flex-direction:column;gap:8px}
.pq{border:1px solid var(--line);border-radius:14px;overflow:hidden}
.pq[hidden]{display:none}
.pq.open{border-color:var(--stroke2)}
.pq-head{display:flex;flex-direction:column;gap:7px;width:100%;padding:13px 15px;border:0;background:transparent;color:var(--fg);font:inherit;text-align:left;cursor:pointer}
.pq-head:hover{background:var(--hover-bg,rgba(127,127,127,.06))}
.pq-title{font-size:14.5px;font-weight:500;line-height:1.45}
.pq-facts{display:flex;flex-wrap:wrap;align-items:center;gap:5px 6px}
.pq-tag{padding:2px 8px;border:1px solid var(--line);border-radius:999px;font-size:11.5px;color:var(--mute)}
.pq-state{margin-left:auto;font-size:11.5px;color:var(--dim)}
.pq-state[data-state="prepared"]{color:var(--ok,#4caf7d)}
.pq-state[data-state="needs_revision"]{color:var(--warn,#d9a441)}
.pq-body{display:flex;flex-direction:column;gap:12px;padding:0 15px 15px;font-size:14px;line-height:1.6;color:var(--fg2);min-width:0}
.pq-body[hidden]{display:none}
.pq-body p{margin:0}
.pq-body p+p{margin-top:8px}
.pq-body ul{margin:4px 0 0;padding-left:18px}
.pq-why{font-size:13px;color:var(--mute)}
.pq-hints{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.pq-hint{padding:8px 11px;border-radius:10px;background:rgba(127,127,127,.07);font-size:13.5px}
.pq-yours{display:flex;flex-direction:column;gap:5px;font-size:12.5px;color:var(--mute)}
.pq-yours textarea{width:100%;min-height:92px;max-height:50vh;padding:10px 12px;border:1px solid var(--stroke2);border-radius:10px;background:transparent;color:var(--fg);font:inherit;font-size:14px;line-height:1.55;resize:vertical;box-sizing:border-box}
.pq-yours textarea:focus,.pq-wrap select:focus{outline:none;border-color:var(--hover)}
.pq-acts{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.pq-btn{min-height:var(--ctl-sm);padding:4px 12px;border:1px solid var(--stroke2);border-radius:999px;background:transparent;color:var(--fg2);font:inherit;font-size:12.5px;font-weight:600;cursor:pointer}
.pq-btn:hover:not(:disabled){color:var(--fg);border-color:var(--hover)}
.pq-btn:disabled{opacity:.45;cursor:not-allowed}
.pq-btn[hidden]{display:none}
.pq-btn[aria-pressed="true"]{background:var(--fg);border-color:var(--fg);color:var(--ink)}
.pq-btn[aria-pressed="true"]:hover:not(:disabled){color:var(--ink)}
.pq-main{min-height:var(--ctl);padding:6px 16px;background:var(--fg);border-color:var(--fg);color:var(--ink)}
.pq-status{margin-left:auto}
.pq-reveal,.pq-fb{display:flex;flex-direction:column;gap:12px;padding:12px 14px;border-radius:12px;background:rgba(127,127,127,.07);min-width:0}
.pq-reveal[hidden]{display:none}
.pq-reveal h4,.pq-fb h4{margin:0 0 4px;font-size:12.5px;font-weight:600;color:var(--fg)}
.pq-fb b{color:var(--fg)}
.pq-scores{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:12.5px;color:var(--mute)}
.pq-code{margin:6px 0 0;padding:10px 12px;border-radius:10px;background:rgba(0,0,0,.28);font:12.5px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace;overflow-x:auto;white-space:pre}
.pq-note{margin:0;font-size:12.5px;color:var(--mute)}
.pq-note[hidden],.pq-none[hidden],.pq-more[hidden]{display:none}
.pq-none{margin:0;font-size:13px;color:var(--mute)}
.pq-empty{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:22px 18px;border:1px dashed var(--stroke2);border-radius:14px}
.pq-empty h3{margin:0;font-size:15px;font-weight:600}
.pq-empty p{margin:0;font-size:13.5px;color:var(--mute);max-width:64ch}
@media (max-width:520px){.pq-head,.pq-body{padding-inline:12px}.pq-status{margin-left:0;width:100%}.pq-status select{width:100%}.pq-filter{flex:1 1 100%}.pq-filter select{flex:1;max-width:none}.pq-job,.pq-job select{width:100%;max-width:none}}
.pr-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:8px;margin-top:8px}
.pr{display:flex;flex-direction:column;gap:7px;min-width:0;padding:11px 13px;border:1px solid var(--line);border-radius:12px}
.pr[hidden]{display:none}
.pr-t{font-size:13.5px;font-weight:500;line-height:1.4;color:var(--fg);text-decoration:underline;text-decoration-color:var(--stroke2);text-underline-offset:3px}
.pr-f{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11.5px;color:var(--dim)}
.pq-free{color:var(--ok,#4caf7d)}
.pr-panel{display:flex;flex-direction:column;gap:8px}
.pr-panel[hidden],[data-p-panel][hidden],.pq-filters[hidden],.pq-cat-res[hidden],.pq-learn[hidden]{display:none}
.pq-learn{display:flex;flex-direction:column;gap:8px}
.pp{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;counter-reset:pp}
.pp-s{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:11px 13px;border:1px solid var(--line);border-radius:12px;counter-increment:pp}
.pp-s.done{opacity:.6}
.pp-h{display:flex;flex-wrap:wrap;align-items:center;gap:7px;font-size:14px;color:var(--fg)}
.pp-h b::before{content:counter(pp) ". "}
.pp-h b{font-weight:600}
.pp-l{font-size:13px;color:var(--fg2);text-decoration:underline;text-decoration-color:var(--stroke2);text-underline-offset:3px}
.pp-q{padding:0;border:0;background:none;color:var(--mute);font:inherit;font-size:12.5px;text-align:left;cursor:pointer}
.pp-q:hover{color:var(--fg)}
.pr-w{margin:0;font-size:12.5px;line-height:1.45;color:var(--mute)}
