@import url(fonts/fonts.css);
:root{color-scheme:light;--bg:#FAF9F5;--surface:#FEFDFB;--soft:#F2F0EB;--hover:#F2F0EB;--line:#EAE7E0;--hair:#F0EDE7;--line2:#DAD6CC;--focus:#B9B4A9;--text:#1F1E1B;--muted:#67645C;--pri:#1F1E1B;--onpri:#FFFFFF;--accent:#4C5FE8;--acsoft:#EEF0FE;--ok:#15803D;--oksoft:#E8F6EC;--warn:#A16207;--warnsoft:#FBF3DC;--bad:#C2362B;--badsoft:#FCEBE9;--shadow:0 8px 28px rgba(31,30,27,.12);--dim:#A8A49A;--faint:#76726A;--peach:#FDF6F1;--peach-line:#F5E6DA;--peach-ink:#8A6249}
:root[data-theme=dark]{color-scheme:dark;--bg:#0B0B0D;--surface:#131316;--soft:#1B1B1F;--hover:#1D1D21;--line:#26262B;--hair:#1F1F24;--line2:#3B3B42;--focus:#55555D;--text:#F7F7F8;--muted:#A3A3AD;--pri:#F7F7F8;--onpri:#18181B;--accent:#8E9BFF;--acsoft:#20233B;--ok:#4ADE80;--oksoft:#12281A;--warn:#FACC15;--warnsoft:#2A2410;--bad:#F87171;--badsoft:#2E1616;--shadow:0 12px 36px rgba(0,0,0,.6);--dim:#5F5F67;--faint:#80808A;--peach:#211A16;--peach-line:#2E241E;--peach-ink:#CDA98F}
*{box-sizing:border-box}
[hidden]{display:none!important}
html,body{height:100%}
body{margin:0;background:var(--bg);color:var(--text);font:400 14px/1.5 Geist,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none;-moz-font-feature-settings:"kern";-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
a{color:inherit}
button{font-family:inherit;cursor:pointer}
h1,h2,h3{margin:0;font-weight:600;letter-spacing:-.015em}
:focus-visible{outline:2px solid var(--focus);outline-offset:1px}
.vh{position:absolute;left:-9999px}
/* The hidden player the editor opens for a moment to read a YouTube video's length: never seen, heard or clicked */
.vprobe{position:fixed;left:-9999px;top:0;width:320px;height:180px;border:0;opacity:0;pointer-events:none}
.shell{display:flex;min-height:100vh;background:var(--bg)}
/* The frame: one bar across the top, lined up with the chat's header, and a rail of icons down the left */
/* Every dropdown (select.in) shows this arrow, in the admin and the Webmaster alike: set it here only. */
/* --rpop: the corners of every dropdown list and floating panel (Publish, History), one size so they match. */
:root{--rpop:10px;--barh:52px;--railw:80px;--navw:var(--railw);--select-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888891' stroke-opacity='.55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")}
.frame{flex:1;min-width:0;display:flex;flex-direction:column}
.fbody{flex:1;display:flex;align-items:flex-start}
.topbar{position:sticky;top:0;z-index:41;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;height:var(--barh);padding:0;background:var(--surface);border-bottom:1px solid var(--line);container:bar/inline-size}
.tleft,.tmid,.tright{display:flex;align-items:center;min-width:0}
.tleft{gap:2px}
.tmid{gap:8px}
.tright{justify-content:flex-end;gap:8px;padding-right:12px} /* padding here, so the middle sits in the bar's exact centre */
.tbrand{flex:0 1 auto;display:flex;align-items:center;min-width:0;max-width:240px;margin-right:8px;color:var(--text);font-weight:600;letter-spacing:-.01em;text-decoration:none}
.tmark{flex:none;display:flex;justify-content:center;width:var(--railw)}
.tbrand .pn{margin-left:-17px} /* the site name 10px from its mark; the mark stays centred over the side menu (owner, 2026-11-06) */
.tcrumb{display:flex;align-items:center;gap:7px;min-width:0;margin:0;font-size:14px;font-weight:400;letter-spacing:0;color:var(--text);opacity:.5;white-space:nowrap}
.tcrumb .pn{font-weight:400}
.tleft>.bd{flex:none;margin-left:12px}
.rail{position:sticky;top:var(--barh);z-index:40;flex:none;display:flex;flex-direction:column;align-items:center;width:var(--railw);height:calc(100vh - var(--barh));padding:14px 0;gap:10px;background:var(--surface);border-right:1px solid var(--line)}
.rnav,.rfoot{display:flex;flex-direction:column;align-items:center;gap:14px}
.rfoot{margin-top:auto}
.ri{flex:none;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;background:none;border:0;border-radius:9px;color:var(--muted);text-decoration:none;transition:background .12s,color .12s}
.ri:hover,.ri[aria-expanded=true]{background:var(--hover);color:var(--text)}
.ri.on{background:var(--soft);color:var(--text)}
/* A menu item is its icon in a square with its name under it; the whole item is the hover area, only the square lights up */
a.ri{flex-direction:column;gap:5px;width:72px;height:auto;border-radius:0}
a.ri:hover,a.ri.on{background:none}
.rk{display:flex;align-items:center;justify-content:center;width:42px;height:36px;border-radius:8px;transition:background .12s}
a.ri:hover .rk{background:var(--hover)}a.ri.on .rk{background:var(--soft)}
.rl{font-size:11px;line-height:1.2;letter-spacing:.01em;opacity:.7;transition:opacity .12s}
a.ri:hover .rl,a.ri.on .rl{opacity:1;color:color-mix(in srgb,var(--text) 45%,var(--muted))}a.ri.on .rl{font-weight:500}
.ri .av{width:30px;height:30px;font-size:12px;letter-spacing:.02em}.ri.me{margin-top:10px}
.rsep{flex:none;width:32px;height:1px;margin:2px 0;background:var(--line)}
.tip{position:fixed;top:0;left:0;z-index:96;padding:6px 10px;background:var(--pri);color:var(--onpri);border-radius:5px;font-size:13px;font-weight:500;line-height:1.3;white-space:nowrap;pointer-events:none;box-shadow:var(--shadow);opacity:0;transform:translateX(-3px);transition:opacity .12s,transform .12s}
.tip.left{transform:translateX(3px)}
.tip.top{transform:translateY(3px)}
.tip.on{opacity:1;transform:none}
.tip.glide{transition:opacity .12s,transform .12s,left .16s cubic-bezier(.2,.7,.2,1),top .16s cubic-bezier(.2,.7,.2,1)}
.tip:before{content:"";position:absolute;width:8px;height:8px;background:inherit;border-radius:1px;transform:rotate(45deg)}
.tip.right:before{left:-3px;top:calc(var(--ay,50%) - 4px)}
.tip.left:before{right:-3px;top:calc(var(--ay,50%) - 4px)}
.tip.top:before{bottom:-3px;left:calc(var(--ax,50%) - 4px)}
.tip.bottom{transform:translateY(-3px)}
.tip.bottom:before{top:-3px;left:calc(var(--ax,50%) - 4px)}
/* A long tooltip (a photo's full name, say) wraps at 260px with more room around the words, and has no arrow */
.tip.long{max-width:260px;padding:8px 12px;line-height:1.4;white-space:normal}
.tip.long:before{display:none}
.navtip{position:fixed;top:0;left:0;z-index:96;display:flex;align-items:center;height:36px;padding:0 12px;overflow:hidden;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:7px;box-shadow:var(--shadow);font-size:14px;font-weight:500;white-space:nowrap;pointer-events:none;opacity:0;transform:translate(calc(var(--x) - 6px),var(--y));transition:opacity .16s ease,transform .24s cubic-bezier(.2,.8,.2,1),width .24s cubic-bezier(.2,.8,.2,1)}.navtip.on{opacity:1;transform:translate(var(--x),var(--y))}.navtip.still{transition:none}.navtip span{display:inline-block;flex:none}
@media(prefers-reduced-motion:reduce){.tip,.navtip{transition:none}}
.pop.mepop{position:fixed;top:auto;right:auto;bottom:10px;left:calc(var(--railw) + 8px);width:240px}
.mehead{display:flex;align-items:center;gap:9px;margin-bottom:4px;padding:6px 6px 9px;border-bottom:1px solid var(--line)}
.resizer{position:absolute;top:0;right:-5px;bottom:0;z-index:45;width:10px;cursor:col-resize;touch-action:none}
.resizer:after{content:"";position:absolute;top:0;bottom:0;left:4px;width:2px;background:var(--accent);opacity:0;transition:opacity .12s}
.resizer:hover:after,.resizer:focus-visible:after,.resizing .resizer:after{opacity:1}
.resizer:focus-visible{outline:0}
.resizing{cursor:col-resize;user-select:none;-webkit-user-select:none}
.resizing iframe{pointer-events:none}
.mark{flex:none;display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:7px;background:var(--pri);color:var(--onpri);font-size:13px;font-weight:600;text-decoration:none}
a.mark{color:var(--onpri)}
.pn{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cap{padding:16px 4px 6px;font-size:12.5px;font-weight:500;color:var(--muted)}
.cap:first-child{padding-top:0}
.srow{display:flex;align-items:center;gap:10px;width:100%;min-height:34px;padding:0 9px;background:none;border:0;border-radius:7px;color:var(--muted);font:inherit;font-weight:500;text-decoration:none;text-align:left;transition:background .12s,color .12s}
.srow:hover{background:var(--hover);color:var(--text)}
.sl,.nl{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sc{display:flex}
.av{flex:none;display:flex;align-items:center;justify-content:center;width:32px;height:32px;background:var(--accent);color:#fff;border-radius:50%;font-weight:600}
.av.big2{width:64px;height:64px;font-size:26px}
.who{min-width:0}
.who b,.who small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.25}
.who b{font-weight:500}
.who small{font-size:12px;color:var(--muted)}
.prof{display:flex;align-items:center;gap:14px}
.prof b{display:block;font-size:17px;font-weight:600}
.prof small{color:var(--muted);font-size:14px}
.av img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}
.av{outline:1px solid rgba(31,30,27,.08);outline-offset:-1px}
.av:has(img){background:var(--soft)}
.av[class*=" g"]{color:color-mix(in srgb,var(--text) 75%,transparent)}
.av.g0{background:linear-gradient(135deg,#F4E9DA,#E9D8C2)}.av.g1{background:linear-gradient(135deg,#F5E5DF,#EAD3CA)}.av.g2{background:linear-gradient(135deg,#E7ECDF,#D8E0CB)}.av.g3{background:linear-gradient(135deg,#F2E3D7,#E5CDB8)}
.av.g4{background:linear-gradient(135deg,#E4E8EC,#D4DBE1)}.av.g5{background:linear-gradient(135deg,#EFEBE2,#E1DACC)}.av.g6{background:linear-gradient(135deg,#F0E4E7,#E2D1D6)}.av.g7{background:linear-gradient(135deg,#EEEAD8,#E1DBC0)}
:root[data-theme=dark] .av{outline-color:rgba(255,255,255,.1)}
:root[data-theme=dark] .av.g0{background:linear-gradient(135deg,#3A3129,#2E2721)}:root[data-theme=dark] .av.g1{background:linear-gradient(135deg,#3B2D2B,#2F2422)}:root[data-theme=dark] .av.g2{background:linear-gradient(135deg,#2D3329,#242A21)}:root[data-theme=dark] .av.g3{background:linear-gradient(135deg,#3A2E26,#2E241E)}
:root[data-theme=dark] .av.g4{background:linear-gradient(135deg,#2B3137,#23282D)}:root[data-theme=dark] .av.g5{background:linear-gradient(135deg,#35322C,#2B2924)}:root[data-theme=dark] .av.g6{background:linear-gradient(135deg,#372D31,#2C2427)}:root[data-theme=dark] .av.g7{background:linear-gradient(135deg,#35332B,#2B2923)}
.av.av-sm{width:28px;height:28px;font-size:11.5px}
.person{display:flex;align-items:center;gap:10px}
.avwrap{position:relative;flex:none}
.avpen{position:absolute;right:-3px;bottom:-3px;display:flex;align-items:center;justify-content:center;width:26px;height:26px;padding:0;background:var(--surface);border:1px solid var(--line2);border-radius:50%;color:var(--text);box-shadow:0 1px 2px rgba(0,0,0,.14);transition:background .12s,border-color .12s}
.avpen:hover{background:var(--hover);border-color:var(--muted)}
.pmsep{height:1px;margin:4px 6px;background:var(--line)}
.pmenu button.d,.pmenu button.d svg{color:var(--bad)}
.modal.crop{max-width:400px}
.cstage{position:relative;width:100%;max-width:320px;aspect-ratio:1;margin:4px auto 0;overflow:hidden;border-radius:12px;background:var(--soft);cursor:grab;touch-action:none;user-select:none}
.cstage.moving{cursor:grabbing}
.cstage img{position:absolute;top:0;left:0;max-width:none;pointer-events:none}
.cring{position:absolute;inset:0;border-radius:50%;box-shadow:0 0 0 999px rgba(9,9,11,.55);outline:1px solid rgba(255,255,255,.85);pointer-events:none}
.czoom{display:flex;align-items:center;gap:6px;max-width:320px;margin:12px auto 16px}
.czoom input{flex:1;min-width:0;height:22px;margin:0 4px;background:none;cursor:pointer;-webkit-appearance:none;appearance:none}
.czoom input:focus-visible{outline:0}
.czoom input::-webkit-slider-runnable-track{height:3px;border-radius:2px;background:linear-gradient(to right,var(--text) var(--fill,0%),var(--line) var(--fill,0%))}
.czoom input::-webkit-slider-thumb{width:14px;height:14px;margin-top:-5.5px;border:0;border-radius:50%;background:var(--text);box-shadow:0 0 0 3px var(--surface);transition:transform .15s,box-shadow .15s;-webkit-appearance:none;appearance:none}
.czoom input:hover::-webkit-slider-thumb,.czoom input:active::-webkit-slider-thumb{transform:scale(1.15);box-shadow:0 0 0 3px var(--surface),0 2px 8px rgba(0,0,0,.22)}
.czoom input:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 3px var(--surface),0 0 0 5px var(--focus)}
.czoom input::-moz-range-track{height:3px;border:0;border-radius:2px;background:var(--line)}
.czoom input::-moz-range-progress{height:3px;border-radius:2px;background:var(--text)}
.czoom input::-moz-range-thumb{width:14px;height:14px;border:0;border-radius:50%;background:var(--text);box-shadow:0 0 0 3px var(--surface);transition:transform .15s,box-shadow .15s}
.czoom input:hover::-moz-range-thumb,.czoom input:active::-moz-range-thumb{transform:scale(1.15);box-shadow:0 0 0 3px var(--surface),0 2px 8px rgba(0,0,0,.22)}
.czoom input:focus-visible::-moz-range-thumb{box-shadow:0 0 0 3px var(--surface),0 0 0 5px var(--focus)}
.flyo{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:360px}
.opt{display:block;padding:0;background:none;border:0;color:var(--muted);text-align:left}
.opt:hover{color:var(--text)}
.thumb{display:block;height:74px;padding:9px;border-radius:9px;border:1px solid var(--line2);overflow:hidden}
.thumb i{display:block;width:60%;height:7px;border-radius:3px;margin-bottom:8px}
.thumb u{display:block;height:5px;border-radius:3px;margin-bottom:6px}
.tl{background:#FEFDFB}.tl i{background:#1F1E1B}.tl u{background:#EAE7E0}
.td{background:#131316}.td i{background:#F7F7F8}.td u{background:#2B2B31}
.optn{display:flex;align-items:center;gap:6px;margin-top:7px;font-weight:500}
:root:not([data-theme=dark]) .o-l .thumb,:root[data-theme=dark] .o-d .thumb{box-shadow:0 0 0 2px var(--accent);border-color:transparent}
:root:not([data-theme=dark]) .o-l,:root[data-theme=dark] .o-d{color:var(--text)}
.content{flex:1;min-width:0;align-self:stretch}
.hacts{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.page{max-width:1120px;margin:0 auto;padding:24px 28px 56px}
.note{color:var(--muted);margin:0}
/* Blocks on a screen always sit 16px apart; a block's own margin (like .sh) still wins. */
:where(.page,.sets>:last-child)>:where(*+*){margin-top:16px}
:where(.page,.sets>:last-child)>br{display:none}
.page>.note,.sets>:last-child>.note{margin-top:12px}
.page>.note:first-child,.sets>:last-child>.note:first-child{margin-top:0}
.b{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:0 11px;background:var(--surface);border:1px solid var(--line2);border-radius:7px;color:var(--text);font:inherit;font-weight:500;text-decoration:none;white-space:nowrap;transition:background .12s,border-color .12s,opacity .12s}
.b:hover{background:var(--hover)}
.b.p{background:var(--pri);border-color:var(--pri);color:var(--onpri)}
.b.p:hover{opacity:.88;background:var(--pri)}.b.s{background:var(--soft);border-color:var(--soft)}.b.s:hover{background:var(--line);border-color:var(--line)}
.b.g{background:none;border-color:transparent;color:var(--muted)}
.b.g:hover{background:var(--hover);color:var(--text)}
.b.d{color:var(--bad)}
.b:disabled{opacity:.45;cursor:default}
.b.icon{width:34px;padding:0}
.b.wide{width:100%;min-height:40px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:12px;overflow:hidden}
.pad{padding:16px}
.sh{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:26px 0 10px}
.sh:first-child{margin-top:0}
.sh h2{font-size:14px}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.stat{display:flex;flex-direction:column;padding:14px 16px;background:var(--surface);border:1px solid var(--line);border-radius:12px}
.stat small{display:block;margin-top:2px;font-size:13px;color:var(--muted)}
.stat b{order:-1;display:flex;align-items:center;gap:8px;font-size:20px;font-weight:600;letter-spacing:-.02em}
.stat span{display:block;margin-top:10px;font-size:12px;font-weight:400;color:var(--muted);opacity:.7}
.dot{width:8px;height:8px;border-radius:50%;background:var(--ok)}
.li .dot{display:inline-block;margin-right:8px;vertical-align:1px}.dot.off{background:var(--line2)}
/* Two-or-more choices drawn as radio rows, as in the fee editor and PayPal's "How to connect". */
.pcs{display:grid;gap:8px;max-width:640px;margin:6px 0 14px}.pcs.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.pc{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 12px;background:var(--surface);border:1px solid var(--line2);border-radius:9px;color:var(--text);font:inherit;font-weight:500;text-align:left}
.pc:hover{background:var(--hover)}.pc.on{background:color-mix(in srgb,var(--accent) 5%,var(--surface));border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
.pc>i{flex:none;width:16px;height:16px;border:1.5px solid var(--muted);border-radius:50%}.pc.on>i{border:5px solid var(--accent)}
.pc.tall{align-items:flex-start}.pc.tall>i{margin-top:2px}.pc b{display:block;font-weight:500}.pc small{display:block;color:var(--muted);font-size:12.5px;font-weight:400;line-height:1.4}
.sline{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--line)}.sline b{display:block;font-weight:500}.sline small{display:block;color:var(--muted);font-size:12.5px}
.explain{padding:14px 16px;background:var(--soft);border-radius:12px;color:var(--text)}
.bd.after{margin-left:8px}.note.fine{margin-top:8px;font-size:12.5px}
.two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.tasks{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:12px}
.task{display:flex;flex-direction:column;justify-content:space-between;gap:14px;min-height:104px;padding:14px;background:var(--soft);border:1px solid transparent;border-radius:10px;color:var(--text);line-height:1.3;text-decoration:none;font-weight:500;transition:background .12s}
.task:hover{background:var(--line)}.task:active{background:var(--line2)}
.task svg{display:block;flex:none;color:var(--text)}.task .ttop{display:flex;align-items:flex-start;justify-content:space-between}.task .cue{display:flex;color:var(--text);opacity:.4;transition:opacity .15s,transform .15s}.task:hover .cue{opacity:1;transform:translate(1px,-1px)}
.li{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px;padding:10px 16px;border-bottom:1px solid var(--line);text-decoration:none}
.li:last-child{border-bottom:0}
a.li:hover{background:var(--hover)}
.li b{display:block;font-weight:500}
.li small{display:block;font-size:13px;color:var(--muted)}
.li .r{flex:none;font-size:13px;color:var(--muted)}
.li .acts2{display:flex;flex:none;gap:6px;align-items:center}
.mrow{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:16px;width:100%;padding:13px 16px;background:none;border:0;border-bottom:1px solid var(--line);color:var(--text);font:inherit;text-align:left}.mrow:last-child{border-bottom:0}.mrow:hover{background:var(--hover)}.mrow small{display:block;font-size:13px;color:var(--muted)}.mrow .r{color:var(--muted)}
.mhead{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:16px;padding:9px 16px;border-bottom:1px solid var(--line);color:var(--muted);font-size:12.5px;font-weight:500}
.mlist{max-width:640px}.mlist .chead2{padding:14px 16px 12px;border-bottom:1px solid var(--line)}.mlist .chead2 small{display:block;font-size:13px;color:var(--muted)}
.mi{display:flex;align-items:center;gap:4px;min-height:48px;padding:4px 8px 4px 12px;border-bottom:1px solid var(--line);cursor:pointer;user-select:none}.mi:hover{background:color-mix(in srgb,var(--hover) 45%,var(--surface))}.mi .ic.hov{width:40px;height:40px}.mi .grip:active{cursor:grabbing}.mi .grip{flex:none}.mi b{flex:1;min-width:0;padding:0 2px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mi.dragging{opacity:.4}.mi.before{box-shadow:inset 0 2px 0 var(--accent)}.mi.after{box-shadow:inset 0 -2px 0 var(--accent)}.mi.inside{background:var(--acsoft);box-shadow:inset 3px 0 0 var(--accent)}
.mi .tw{flex:none;width:22px;height:26px}.mi .tw svg{transition:transform .12s}.mi .tw.open svg{transform:rotate(90deg)}.mi .tw0{flex:none;width:18px}.mi:hover .ic.hov,.mi:focus-within .ic.hov{visibility:visible}
.catlist{margin-bottom:16px;overflow:hidden}.catlist .mi .bd{flex:none}
.addrow{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;padding:0 16px;background:none;border:0;border-bottom:1px solid var(--line);color:var(--accent);font:inherit;font-weight:500;text-align:left}.addrow:last-child{border-bottom:0}.addrow:hover{background:var(--hover)}
.chosen{display:flex;align-items:center;gap:9px;min-height:40px;margin-top:6px;padding:0 4px 0 10px;border:1px solid var(--line2);border-radius:8px}.chosen b{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.chosen>svg,.chosen .bd{flex:none}.chosen .ic{flex:none;margin-left:auto}
.linkpick .search{max-width:none;margin-top:6px}.linkpick .pop{position:static;max-height:none;margin-top:8px;box-shadow:none}.linkpick .pg .pgl{display:flex;align-items:center;gap:9px;min-width:0}.linkpick .pg .pgr{display:flex;align-items:center;gap:4px;font-size:12.5px;font-weight:400}
.linkpick .pg.back{color:var(--text);justify-content:flex-start;gap:8px;border-bottom:1px solid var(--line);border-radius:7px 7px 0 0;margin-bottom:4px}.linkpick .typein{display:flex;gap:8px;margin-top:8px}.linkpick .typein .in{margin:0}.linkpick .typein .b{flex:none}
/* Menu item icons (Settings › Menus and the page toolbar's pen), in the item window's Name field.
   .icbox: a square at the start of the field, as tall as .in, dashed and showing + until an icon is picked; it opens
   the Icons window. With an icon, "Show" under the name picks the name, the icon or both. */
.namerow{display:flex;gap:8px;margin-top:6px}.namerow .in{margin:0}
.icbox{flex:none;display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;padding:0;background:var(--surface);border:1px solid var(--line2);border-radius:8px;color:var(--text)}
.icbox:hover{background:var(--hover)}.icbox.empty{border-style:dashed;color:var(--muted)}
.icgrid{display:grid;gap:4px}
.icrow{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;font-weight:400}.icrow .seg{width:210px}
.micon{flex:none;display:block;object-fit:contain;color:var(--text)} /* an icon drawn as on the website, in the words' colour */
.mi .micon{margin:0 4px 0 2px}
/* The Icons window: a menu item's icon, built like Your photos (.modal.wide.pklib). Search under the title, the icons as a
   grid of square .ic tiles: uploaded icons above a line (.icsep), then the social logos and Google's Material Symbols.
   Upload sits by the title; the footer has Cancel on the left and Remove icon on the right. A wrong file says so in a
   toast; no list of file types. Button words never wrap in a window's footer. */
.icwin .phead2{flex-direction:column;align-items:stretch;flex-wrap:nowrap;gap:12px}
.icwin .ichead{display:flex;align-items:center;justify-content:space-between;gap:8px}.icwin .ichead h2{margin:0}
.icwin .icsep{height:1px;margin:10px 0;background:var(--line)} /* your own icons above it, the set below */
.icwin .search{flex:none;max-width:none}
.icwin .icgrid{grid-template-columns:repeat(auto-fill,minmax(56px,1fr));gap:4px}
.icwin .icgrid .ic{width:auto;height:56px;border-radius:10px;color:var(--text)}
.icwin .icgrid .ic.on{background:var(--hover);box-shadow:inset 0 0 0 1.5px var(--pri)}
.icwin .pfoot .b,.mact .b{white-space:nowrap}
.icwin .pright{display:flex;gap:8px;margin-left:auto}

.empty{padding:28px 16px;text-align:center;color:var(--muted)}
.scroll{overflow-x:auto}
.tb{width:100%;border-collapse:collapse}
.tb th{padding:9px 16px;border-bottom:1px solid var(--line);font-size:13px;font-weight:500;color:var(--muted);text-align:left;white-space:nowrap}
.tb td{padding:11px 16px;border-bottom:1px solid var(--line);white-space:nowrap}
.tb tr:last-child td{border-bottom:0}
.tb tbody tr:hover{background:var(--hover)}
.tb .m{color:var(--muted)}
.tb .ra{text-align:right}
.tb a{text-decoration:none;font-weight:500}
.tb td.wrapcell{white-space:normal}
.bd{display:inline-flex;align-items:center;gap:6px;padding:2px 8px;border-radius:6px;background:var(--soft);color:var(--muted);font-size:12.5px;font-weight:500;white-space:nowrap}
.bd.ok{background:var(--oksoft);color:var(--ok)}
.bd.warn{background:var(--warnsoft);color:var(--warn)}
.bd.ac{background:var(--acsoft);color:var(--accent)}
.bd.bad{background:var(--badsoft);color:var(--bad)}
.seg{display:inline-flex;padding:2px;background:var(--soft);border-radius:8px}
.seg button{min-height:30px;padding:0 11px;background:none;border:0;border-radius:6px;color:var(--muted);font:inherit;font-weight:500}
.seg button:hover{color:var(--text)}
.seg button.on{background:var(--surface);color:var(--text);box-shadow:0 1px 2px rgba(0,0,0,.14)}
.lb{display:block;margin-bottom:14px;font-weight:500}
.in{display:block;width:100%;margin-top:6px;padding:8px 10px;background:var(--surface);border:1px solid var(--line2);border-radius:8px;color:var(--text);font:400 14px/1.4 Geist,sans-serif}
.in:focus{outline:0;border-color:var(--focus)}
.in.auto{width:auto;min-width:200px;margin:0}
.search{position:relative;display:block;flex:1 1 220px;max-width:320px}
.search svg{position:absolute;left:10px;top:9px;color:var(--muted)}
.search .in{margin:0;padding-left:32px}
.tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.g2{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
.sw{position:relative;flex:none;width:36px;height:16px;padding:0;background:var(--line2);border:0;border-radius:8px;transition:background .28s ease} /* a short, low track with an oval knob, black when on (owner, 2026-11-05: shorter) */
.sw i{position:absolute;top:2px;left:2px;width:22px;height:12px;background:#fff;border-radius:6px;box-shadow:0 1px 2px rgba(0,0,0,.25);transition:transform .32s cubic-bezier(.3,1.3,.5,1),background .28s ease} /* slides with a soft settle, both ways */
.sw.on{background:var(--pri)}
.sw.on i{transform:translateX(10px);background:var(--surface)}
.scrim{position:fixed;inset:0;z-index:85;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(9,9,11,.45)}
.modal{width:100%;max-width:440px;max-height:90vh;overflow:auto;overflow-wrap:break-word;padding:20px;background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}
.modal.wide{max-width:720px}
.modal h2{font-size:16px;margin-bottom:6px}
.modal p{margin:0 0 16px;color:var(--muted)}
.mact{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:6px}
.msg{min-height:20px;margin:0 0 10px;color:var(--bad);font-weight:500}
.scrim.under{z-index:83}
.drawer{position:fixed;top:0;right:0;bottom:0;z-index:84;width:420px;max-width:100%;padding:20px;background:var(--surface);border-left:1px solid var(--line);box-shadow:var(--shadow);overflow:auto}
.drawer h2{font-size:16px;margin-bottom:16px}
.toast{position:fixed;left:50%;bottom:22px;z-index:90;transform:translateX(-50%);max-width:calc(100vw - 32px);padding:9px 14px;background:var(--pri);color:var(--onpri);border-radius:9px;font-weight:500;box-shadow:var(--shadow)}
.update{position:fixed;left:50%;bottom:22px;z-index:90;display:flex;align-items:center;gap:12px;transform:translateX(-50%);max-width:calc(100vw - 32px);padding:8px 8px 8px 14px;background:var(--pri);color:var(--onpri);border-radius:10px;font-weight:500;box-shadow:var(--shadow)}
.linkbox{display:flex;gap:6px;margin-bottom:14px}
.linkbox .in{margin:0;font-size:13px}
.codes{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:0 0 16px;padding:12px;background:var(--soft);border-radius:9px;font:500 13.5px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace}
.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px}

/* Assistant */
.ask{display:inline-flex;align-items:center;justify-content:center;gap:3px;flex:none;height:34px;margin-left:8px;padding:0 8px 0 7px;overflow:hidden;background:none;border:0;border-radius:8px;color:var(--text);font:inherit;white-space:nowrap;transition:opacity .2s ease,background .15s ease} /* 2px more than the bar's 8px gap keeps it clear of Publish */
.ask:hover{background:var(--hover)}
.askarrow{display:flex;opacity:.4;transition:opacity .15s ease,transform .2s cubic-bezier(.2,.8,.2,1)}.ask:hover .askarrow{opacity:.7;transform:translateX(-2px)}
.askarrow svg{stroke-width:1.5}.ask>svg{stroke-width:1.8}.rail .ri svg{stroke-width:1.5}
.ask.on .askarrow{transform:scaleX(-1)}.ask.on:hover .askarrow{transform:scaleX(-1) translateX(-2px)}
.chat{position:sticky;top:0;z-index:36;flex:none;align-self:flex-start;width:0;height:100vh;overflow:hidden;background:var(--surface);transition:width .3s cubic-bezier(.22,.8,.3,1)}
.chatopen .chat{width:var(--chatw,420px)}
.resizing .chat{transition:none}
.chatin{position:relative;display:flex;flex-direction:column;width:var(--chatw,420px);height:100%;border-left:1px solid var(--line)}
.resizer.chatgrab{left:0;right:auto}
.resizer.chatgrab:after{left:0}
.chathead{position:relative;flex:none;display:flex;align-items:center;gap:2px;height:var(--barh);padding:0 8px 0 8px;border-bottom:1px solid var(--line)}
.chatname{flex:0 1 auto;min-width:0;display:flex;align-items:center;gap:4px;min-height:32px;padding:0 6px;background:none;border:0;border-radius:7px;color:var(--text);font:inherit;font-weight:500;text-align:left}
.chatname:hover,.chatname[aria-expanded=true]{background:var(--hover)}
.chatname .pn{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:clip}.chatname .pn.fade{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 48px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 48px),transparent)}
.chatname svg{flex:none;color:var(--text);transition:transform .18s}
.chatname[aria-expanded=true] svg{transform:rotate(180deg)}
.chathead .grow{min-width:24px}
.vline{flex:none;width:1px;height:20px;margin:0 6px;background:var(--line)}
.pop.chatlist{top:calc(100% - 2px);left:8px;right:8px;display:flex;flex-direction:column;min-height:340px;max-height:min(500px,calc(100dvh - 120px));overflow:hidden;padding:4px;border-radius:12px}
.pop.chatlist[hidden]{display:none}
.hsearch{flex:none;display:flex;align-items:center;gap:8px;height:40px;margin:0 0 4px;padding:0 10px;border-bottom:1px solid var(--hair);color:var(--muted)}
.hsearch[hidden]{display:none}
.hsearch input{flex:1;min-width:0;height:100%;padding:0;background:none;border:0;outline:0;color:var(--text);font:inherit;font-size:14px;-webkit-appearance:none;appearance:none}
.hsearch input::placeholder{color:var(--dim)}
.hsearch input::-webkit-search-cancel-button{display:none}
.hlist{flex:1;min-height:0;display:flex;flex-direction:column;overflow-y:auto;padding:0 0 4px}
.hgroup{padding:12px 10px 4px;font-size:12px;font-weight:500;color:var(--faint)}
.hgroup:first-child{padding-top:6px}
.hnone,.hempty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px 32px 32px;text-align:center}
.hnone{color:var(--muted);font-size:13.5px}
.hico{display:flex;align-items:center;justify-content:center;width:46px;height:46px;margin-bottom:14px;background:var(--soft);border-radius:12px;color:var(--muted)}
.hempty b{font-size:15px;font-weight:500}
.hempty p{max-width:250px;margin:6px 0 0;font-size:13.5px;line-height:1.5;color:var(--muted)}
.chatrow{position:relative;display:flex;align-items:center;gap:2px;min-height:36px;border-radius:7px}
.chatrow:hover,.chatrow.on{background:var(--soft)}
.chatrow>.pn{flex:1;min-width:0;min-height:36px;padding:0 10px;overflow:hidden;background:none;border:0;color:var(--text);font:inherit;font-size:14px;font-weight:400;text-align:left;white-space:nowrap;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent)}
.chatrow.on>.pn{font-weight:500}
.chatrow .cwhen{flex:none;width:66px;padding-right:10px;font-size:12px;color:var(--faint);text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.chatrow .ic{position:absolute;right:4px;width:28px;height:28px;visibility:hidden}
.chatrow:hover .ic,.chatrow .ic:focus-visible{visibility:visible}
.chatrow:hover .cwhen,.chatrow:focus-within .cwhen{visibility:hidden}
@media(hover:none){.chatrow .ic{visibility:visible}.chatrow .cwhen{visibility:hidden}}
.pill{display:inline-flex;align-items:center;gap:6px;max-width:100%;min-height:30px;padding:0 9px;background:var(--acsoft);border-radius:8px;color:var(--accent);font-size:13px;font-weight:500}
.pill svg{flex:none}
.pill button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:22px;height:22px;margin-right:-5px;padding:0;background:none;border:0;border-radius:6px;color:inherit}
.chatbody{flex:1;min-height:0;overflow-y:auto;padding:24px 10px 150px 20px;scrollbar-gutter:stable}
.chatstart{margin-bottom:12px;font-size:16px;font-weight:500}
.chatfoot{position:absolute;left:16px;right:16px;bottom:calc(16px + env(safe-area-inset-bottom));z-index:2}
.chatfoot:before{content:'';position:absolute;left:-16px;right:-6px;bottom:100%;height:28px;background:linear-gradient(color-mix(in srgb,var(--surface) 0%,transparent),var(--surface));pointer-events:none}
.chatin:after{content:'';position:absolute;left:0;right:0;bottom:0;z-index:1;height:calc(16px + env(safe-area-inset-bottom));background:var(--surface)}
.aibox{padding:12px 10px 8px 14px;background:var(--surface);border:1px solid var(--line2);border-radius:16px;transition:border-color .15s} /* no shadow: a quiet box */
.aibox:focus-within{border-color:var(--focus)}
.dropping .aibox{border-color:var(--accent);background:var(--acsoft)}
.aiin{display:block;width:100%;min-height:44px;max-height:180px;padding:0 6px 0 0;background:none;border:0;outline:0;resize:none;overflow-y:auto;color:var(--text);font:400 14px/1.5 Geist,sans-serif}
.aiin::placeholder{color:var(--dim)}
.aitray{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.aitray:not(:empty){margin-bottom:8px}
.aipic{position:relative;width:56px;height:56px;border-radius:9px;background:var(--soft)}
.aipic img{display:block;width:100%;height:100%;object-fit:cover;border-radius:9px}
.aifile{display:inline-flex;align-items:center;gap:6px;max-width:100%;min-height:34px;padding:0 9px;background:var(--soft);border-radius:9px;font-size:13px;font-weight:500}
.aifile svg{flex:none}
.aifile.busy{animation:pulse 1s ease-in-out infinite alternate}
.aifile button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:22px;height:22px;margin-right:-4px;padding:0;background:none;border:0;border-radius:6px;color:inherit}
.aipic.busy{animation:pulse 1s ease-in-out infinite alternate}
@keyframes pulse{to{opacity:.45}}
.aipic button{position:absolute;top:-5px;right:-5px;display:flex;align-items:center;justify-content:center;width:18px;height:18px;padding:0;background:var(--pri);color:var(--onpri);border:0;border-radius:50%}
.aifoot{display:flex;align-items:center;justify-content:space-between;height:32px;margin-top:6px}
.aiadd{display:flex;align-items:center;justify-content:center;width:30px;height:30px;margin-left:-6px;padding:0;background:none;border:0;border-radius:8px;color:var(--muted)}
.aiadd:hover{background:var(--hover);color:var(--text)}
.pop.addmenu{top:auto;bottom:calc(100% + 6px);left:0;right:auto;width:190px}
.addmenu button,.mepop [role=menuitem]{display:flex;align-items:center;gap:9px;width:100%;min-height:36px;padding:0 9px;background:none;border:0;border-radius:7px;color:var(--text);font:inherit;font-weight:500;text-align:left}
.addmenu button:hover,.mepop [role=menuitem]:hover,.mepop [role=menuitem]:focus-visible{background:var(--hover)}
.mepop [role=menuitem]{text-decoration:none}
.mepop svg{flex:none;color:var(--muted)}
.aioffer{width:100%;margin-top:14px;padding:12px;background:color-mix(in srgb,var(--bg) 40%,var(--surface));border:1px solid var(--line);border-radius:14px}
.aioffer .mdid{margin-top:0}
.aipair{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}
.aishot{position:relative;display:block}
.aishot img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:9px}
.aishot i{position:absolute;left:6px;top:6px;padding:1px 7px;background:rgba(9,9,11,.66);border-radius:6px;color:#fff;font-size:12px;font-style:normal}
.aigo{display:flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0;background:var(--pri);color:var(--onpri);border:0;border-radius:9px}
.aigo[hidden]{display:none}
.aigo:disabled{opacity:.35;cursor:default}
/* One round: your message, then the answer, with more room above each of your messages */
.msg2{display:flex;flex-direction:column;align-items:flex-start;margin-top:8px}
.msg2.me{align-items:flex-end;margin-top:36px}
.msg2:first-child{margin-top:0}
.mabout{margin-bottom:6px;font-size:12.5px;color:var(--muted)}
.aim{max-width:85%;padding:10px 14px;border-radius:16px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}
/* Copy and the time, under your message on the right, only while you point at it */
.mmeta{display:flex;align-items:center;justify-content:flex-end;gap:2px;height:32px;margin-top:2px;opacity:0;transition:opacity .15s}
.msg2.me:hover .mmeta,.mmeta:focus-within{opacity:1}
@media(hover:none){.mmeta{opacity:1}}
.mwhen{padding:0 6px;font-size:12px;color:var(--faint);font-variant-numeric:tabular-nums;white-space:nowrap;cursor:default}
.ic.sm{width:28px;height:28px;color:var(--faint)}
.ic.sm:hover{background:var(--hover);color:var(--text)}
/* The answer, set like a written reply */
.rich{max-width:100%;padding-left:2px;font-size:14.5px;line-height:1.62;color:var(--text);overflow-wrap:anywhere}
.rich p{margin:0 0 10px}
.rich>:last-child{margin-bottom:0}
.rich b{font-weight:600}
.rich ul{margin:0 0 12px;padding:0;list-style:none}
.rich li{position:relative;margin:5px 0;padding-left:20px}
.rich li:before{content:'';position:absolute;left:6px;top:.7em;width:5px;height:5px;border-radius:50%;background:var(--focus)}
.msg2.it .macts{height:34px;margin:6px 0 0 -6px;opacity:0;transition:opacity .15s}
.msg2.it:hover .macts,.msg2.it.last .macts,.msg2.it .macts:focus-within{opacity:1}
@media(hover:none){.msg2.it .macts{opacity:1}}
.asep{width:1px;height:16px;margin:0 4px;background:var(--line)}
.aim.it.wait{margin-top:8px}
/* Something went wrong: red words, no box, and the next step */
.merrline{display:flex;align-items:flex-start;gap:9px;padding-left:2px;color:var(--bad);font-size:14.5px;line-height:1.55}
.merrline svg{flex:none;margin-top:3px}
.merrline small{display:block;margin-top:2px;font-size:13px;color:var(--muted)}
.merracts{display:flex;gap:6px;margin:10px 0 0 27px}
.b.sm{min-height:30px;padding:0 10px;font-size:13px;gap:6px}
.b.sm svg{color:var(--muted)}
/* Photo versions made in this chat */
.vers{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 12px}
.vers .vl{margin-right:2px;font-size:12px;color:var(--muted)}
.vthumb{position:relative;display:block;width:34px;height:42px;padding:0;background:var(--soft);border:0;border-radius:4px;cursor:pointer;opacity:.7;transition:opacity .15s}
.vthumb:hover,.vthumb.on{opacity:1}
.vthumb.on:after{content:'';position:absolute;z-index:1;inset:0;border:1px solid color-mix(in srgb,var(--text) 50%,transparent);border-radius:4px}
.vthumb img{display:block;width:100%;height:100%;object-fit:cover;border-radius:4px}
.vthumb b{position:absolute;z-index:2;right:-6px;bottom:-6px;display:flex;align-items:center;justify-content:center;min-width:16px;height:16px;padding:0 4px;background:var(--surface);border:1px solid var(--line2);border-radius:8px;font-size:10px;font-weight:600;line-height:1;color:var(--text)}
.oldv{display:flex;align-items:center;gap:10px;width:100%;margin-top:12px;padding:8px;border:1px solid var(--line);border-radius:12px;font-size:13px;color:var(--muted)}
.oldv img{display:block;width:30px;height:38px;object-fit:cover;border-radius:6px}
/* Every other scrollbar in the admin and the Webmaster: a slim rounded thumb with no track, darker under the pointer.
   A page can tint it with --sb-thumb and --sb-hover. Lists that hide their scrollbar (scrollbar-width:none) still do. */
@supports selector(::-webkit-scrollbar){
  ::-webkit-scrollbar{width:12px;height:12px}
  ::-webkit-scrollbar-track,::-webkit-scrollbar-corner{background:transparent}
  ::-webkit-scrollbar-thumb{min-height:40px;background:var(--sb-thumb,var(--line2));background-clip:padding-box;border:3px solid transparent;border-radius:12px}
  ::-webkit-scrollbar-thumb:hover{background-color:var(--sb-hover,var(--focus))}
}
@supports not selector(::-webkit-scrollbar){html{scrollbar-width:thin;scrollbar-color:var(--line2) transparent}}
/* Slim scrollbars in the chat, the box and the list of chats, showing while you're there */
.chatbody::-webkit-scrollbar,.aiin::-webkit-scrollbar,.hlist::-webkit-scrollbar{width:10px}
.chatbody::-webkit-scrollbar-track,.aiin::-webkit-scrollbar-track,.hlist::-webkit-scrollbar-track{background:transparent;margin:6px 0}
.chatbody::-webkit-scrollbar-thumb,.aiin::-webkit-scrollbar-thumb,.hlist::-webkit-scrollbar-thumb{min-height:40px;background:transparent;background-clip:padding-box;border:3px solid transparent;border-radius:10px}
.chat:hover .chatbody::-webkit-scrollbar-thumb,.aibox:hover .aiin::-webkit-scrollbar-thumb,.chatlist:hover .hlist::-webkit-scrollbar-thumb{background-color:var(--line2)}
.chatbody::-webkit-scrollbar-thumb:hover,.aiin::-webkit-scrollbar-thumb:hover,.hlist::-webkit-scrollbar-thumb:hover{background-color:var(--focus)!important}
@supports not selector(::-webkit-scrollbar){.chatbody,.aiin,.hlist{scrollbar-width:thin;scrollbar-color:var(--line2) transparent}}
.aim.me{background:var(--soft);color:var(--text)} /* your messages in a light bubble; the Assistant answers in plain text */
.aim.it{max-width:100%;padding-left:2px;padding-right:0;background:none}
.aim.wait{display:inline-block;color:var(--muted)}
.mdid{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.b.undo{min-height:26px;padding:0 8px;font-size:12.5px;border-radius:7px}
.macts{display:flex;flex-wrap:wrap;align-items:center;gap:2px;margin-top:4px}
.macts .ic:hover{background:var(--hover);color:var(--text)}
.mlink{display:inline-flex;align-items:center;gap:4px;min-height:32px;padding:0 8px;border-radius:7px;color:var(--muted);font-size:13px;font-weight:500;text-decoration:none}
.mlink:hover{background:var(--hover);color:var(--text)}
.mlink.here,.mlink.here:hover{background:none;color:var(--muted);cursor:default}
.mgone{padding:0 6px;color:var(--muted);font-size:13px}
.aim+.mabout{margin:4px 0 0}
.aimpics{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;margin-bottom:4px}
.aimpics img{display:block;width:120px;height:84px;object-fit:cover;border-radius:8px}
.aimfiles{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;margin-bottom:4px;max-width:88%}
.aichips{display:flex;flex-wrap:wrap;gap:6px}
.aichips button{min-height:30px;padding:4px 10px;background:var(--surface);border:1px solid var(--line2);border-radius:9px;color:var(--text);font:inherit;font-size:13px;text-align:left}
.aichips button:hover{background:var(--hover)}

/* When a change affects other places: one quiet question at the top */
.ripple{position:absolute;top:12px;left:50%;z-index:30;transform:translateX(-50%);display:flex;align-items:center;gap:10px;width:max-content;max-width:calc(100% - 32px);padding:6px 6px 6px 12px;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);animation:rin .16s ease-out}
.ripple.float{position:fixed;top:72px;left:calc(var(--navw,248px) + (100vw - var(--navw,248px)) / 2)}
@keyframes rin{from{opacity:0;transform:translate(-50%,-4px)}}
.rlead{flex:none;display:flex;color:var(--accent)}
.rlead.ok{color:var(--ok)}
.rtext{min-width:0}
.rtext b{font-weight:500}
.rplaces{display:flex;flex-wrap:wrap;gap:4px;margin-top:3px}
.ract{flex:none;display:flex;align-items:center;gap:4px}
.rcard{max-width:88%;margin-top:6px;padding:10px 12px;border:1px solid var(--line);border-radius:11px}
.rcard p{margin:0 0 6px}
.rcard .rplaces{margin:0 0 4px}
@media(max-width:620px){.ripple{flex-wrap:wrap;width:auto;left:16px;right:16px;transform:none;animation:none}.ract{margin-left:auto}}

/* OpenRouter routing */
.mpanel{position:sticky;top:var(--barh);flex:none;align-self:flex-start;width:0;height:calc(100vh - var(--barh));overflow:hidden;background:var(--surface);transition:width .3s cubic-bezier(.22,.8,.3,1)}
.mpanel.on{width:720px}
.mpin{display:flex;flex-direction:column;width:720px;max-width:100vw;height:100%;border-left:1px solid var(--line)}
.mpin .rhead{justify-content:flex-start;padding-left:18px}
.mpin .rhead h2{white-space:nowrap}
.mchip{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px;padding:6px 9px;background:var(--surface);border:1px solid var(--line2);border-radius:8px;color:var(--text);font:inherit;text-align:left}
.mchip:hover{background:var(--hover);border-color:var(--muted)}
.mchip b{font-weight:500;font-size:14px;color:var(--text)}
.rtag{flex:none;padding:0 5px;border:1px solid var(--line);border-radius:5px;font-size:12px;font-weight:400;color:var(--muted)}
.rid{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;color:var(--muted)}
.rstatus{flex:none;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:var(--muted)}
.rstatus.bad{color:var(--bad)}
.rbody{flex:1;min-height:0;overflow:auto;padding:4px 18px 20px}
.ctl{display:grid;grid-template-columns:128px minmax(0,1fr);gap:12px;align-items:center;padding:11px 0;border-bottom:1px solid var(--line)}
.ctlab{display:flex;align-items:center;gap:5px;font-weight:500}
.rctlin{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0} /* OpenRouter routing rows (routing.js); .ctlin is the receipts' side-by-side */
.info{display:inline-flex;flex:none;align-items:center;justify-content:center;width:18px;height:18px;padding:0;background:none;border:0;border-radius:50%;color:var(--muted);cursor:help}
.info:hover{color:var(--text)}
.in.num{display:inline-block;width:84px;margin:0;padding:6px 9px}
.rdim{color:var(--muted)}
.rtick{display:flex;flex-wrap:wrap;align-items:center;gap:8px;cursor:pointer}
.rtick .in.num{width:60px}
.rversions{display:flex;flex-wrap:wrap;gap:6px 18px}
.rtick input[type=checkbox],.rco input[type=checkbox]{width:16px;height:16px;margin:0;accent-color:var(--pri);cursor:pointer}
.rsummary{margin:12px 0 18px;font-size:13px;color:var(--muted)}
.rbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:10px}
.rbar h3{font-size:14px}
.in.rfind{flex:0 1 200px;width:auto;min-width:0;margin:0}
.rcount{flex:1;min-width:150px;font-size:13px;color:var(--muted)}
.rtable{overflow-x:auto;border:1px solid var(--line);border-radius:10px}
.rwide{min-width:640px}
.rrow{display:grid;grid-template-columns:28px minmax(0,1fr) 70px 70px 62px 70px 66px;align-items:center;gap:4px;padding:4px 10px;border-bottom:1px solid var(--line)}
.rhead2{min-height:34px;font-size:12.5px;font-weight:500;color:var(--muted)}
.rco{min-height:40px;font-size:13.5px;cursor:pointer}
.rco:last-child{border-bottom:0}
.rco.on{background:var(--acsoft)}
.rco:hover{background:var(--hover)}
.rsort{padding:0;background:none;border:0;color:inherit;font:inherit;text-align:right;white-space:nowrap}
.rsort:hover,.rsort.on{color:var(--text)}
.rsort .sarr{margin-left:4px;opacity:.45;font-size:10px}.rsort.on .sarr{opacity:1} /* the arrows are API calls' own */
.rversions .ib{margin-left:-4px}
.rleft .rsort{text-align:left}
.rnum{text-align:right;font-variant-numeric:tabular-nums}
.rnum.fits{color:var(--ok)}
.rnum.over{color:var(--bad)}
.rname{display:flex;align-items:center;gap:5px;min-width:0}
.rname b{font-weight:500}
.rdot{flex:none;width:7px;height:7px;border-radius:50%;background:var(--ok)}
.rdot.down{background:var(--bad)}
.ptext.rnone{padding:12px 10px;margin:0}

/* Sign-in */
.auth{position:relative;min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px 24px 72px;background:var(--bg)}
.acard{width:100%;max-width:372px}
.brandrow{display:flex;align-items:center;gap:10px;margin-bottom:26px;font-weight:600;letter-spacing:-.01em}
.acard h1{font-size:22px;margin-bottom:4px}
.acard .note{margin-bottom:20px}
.acard .b{width:100%;min-height:40px}
.acard .b+.b{margin-top:8px}
.steps{display:flex;gap:6px;margin-bottom:18px}
.steps i{flex:1;height:3px;border-radius:2px;background:var(--line)}
.steps i.on{background:var(--pri)}
.code{text-align:center;letter-spacing:.42em;font-size:20px;font-weight:500}
.alink{display:block;margin-top:12px;padding:6px 0;background:none;border:0;color:var(--muted);font:inherit;text-align:center;width:100%}
.alink:hover{color:var(--text)}
.afoot{position:absolute;left:24px;right:24px;bottom:18px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;font-size:13px;color:var(--muted)}
.qr{display:block;width:176px;height:176px;margin:0 auto 12px;border-radius:9px;background:#fff}
.secret{display:block;margin-bottom:14px;text-align:center;overflow-wrap:anywhere;color:var(--muted)}

/* Editors */
.app{position:relative;display:flex;height:calc(100vh - var(--barh));background:var(--bg);overflow:hidden}
.panel{position:relative;z-index:35;flex:none;width:280px;display:flex;flex-direction:column;background:var(--surface);border-right:1px solid var(--line)}
.pscroll{flex:1;overflow:auto;padding:0 10px 14px}
.phead{position:relative;flex:none;display:flex;align-items:center;gap:6px;min-height:52px;padding:8px 10px;border-bottom:1px solid var(--line);margin-bottom:10px}
.phead h2{font-size:14px}
.pagepick{flex:1;min-width:0;display:flex;align-items:center;gap:8px;min-height:36px;padding:0 8px 0 10px;background:var(--surface);border:1px solid var(--line2);border-radius:8px;color:var(--text);font:inherit;font-weight:600;letter-spacing:-.01em;text-align:left;transition:background .12s,border-color .12s}
.pagepick:hover{background:var(--hover);border-color:var(--muted)}
.pagepick .pn{flex:1}
.pagepick svg{flex:none;color:var(--text);opacity:.45}
.ppl{flex:none;font-size:12.5px;font-weight:400;letter-spacing:0;color:var(--muted);opacity:.75}
.ic.boxed{width:36px;height:36px;color:var(--text);border:1px solid var(--line2);border-radius:7px;background:var(--surface)}
.ic.boxed:hover{background:var(--hover);border-color:var(--muted)}
.pop{position:absolute;top:calc(100% - 4px);left:10px;right:10px;z-index:50;max-height:60vh;overflow:auto;padding:4px;background:var(--surface);border:1px solid var(--line);border-radius:var(--rpop);box-shadow:var(--shadow)}
.cdot{flex:none;width:7px;height:7px;border-radius:50%;background:var(--warn)}
.pg.addpg{justify-content:flex-start;gap:8px;margin-top:4px;border-top:1px solid var(--line);border-radius:0 0 7px 7px}
.ic{flex:none;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;background:none;border:0;border-radius:7px;color:var(--muted);font:inherit}
.ic:hover,.ic.on{background:var(--hover);color:var(--text)}
.ic:disabled{opacity:.32;cursor:default;background:none;color:var(--muted)}
/* The list of sections, an accordion: no box and no indent. The open one sits on a light warm band with a little more room,
   and its settings fold open while the last one folds shut. Customize's groups open on the same band. */
.row{position:relative;margin:0 -10px;transition:background-color .35s ease,box-shadow .35s ease,padding .42s cubic-bezier(.3,.9,.25,1)}
.row.open{padding:10px 0 8px;background:color-mix(in srgb,var(--bg) 70%,var(--surface));box-shadow:inset 0 1px 0 var(--sepline),inset 0 -1px 0 var(--sepline)}
/* A thin line between sections, fainter than the panel's edge; the open band draws its own edges. */
.pscroll{--sepline:color-mix(in srgb,var(--hair) 70%,var(--surface))}
.row+.row::before{content:"";position:absolute;z-index:1;top:0;left:0;right:0;height:1px;background:var(--sepline);pointer-events:none}
.row.open+.row::before,.row.open::before,.row.lifting::before,.row.lifting+.row::before{display:none}
.row.dragging{opacity:.4}
.rowtop{position:relative;display:flex;align-items:center;gap:6px;min-height:46px;padding:0 10px;transition:background-color .15s}
.row:not(.open) .rowtop:hover{background:color-mix(in srgb,var(--hover) 45%,var(--surface))}
/* A section's grip takes its icon's place on hover, so nothing new appears beside the actions (owner, 2026-11-06) */
.rowtop .grip{position:absolute;z-index:3;left:6px;top:50%;width:28px;height:28px;margin:0;border-radius:7px;transform:translateY(-50%);opacity:0}
.rowtop:hover .grip,.rowtop .grip:focus-visible{opacity:1}
.rowtop:hover .rk svg,.rowtop:focus-within .rk svg{opacity:0}
@media(hover:none){.rowtop .grip{opacity:1}.rowtop .rk svg{opacity:0}}
.nm{flex:1;display:flex;align-items:center;gap:8px;min-width:0;min-height:46px;padding:0;background:none;border:0;color:var(--text);font:inherit;font-weight:500;text-align:left}
.row[data-sid] .nm{position:absolute;inset:0;width:100%;min-height:0;cursor:pointer}
.row[data-sid] .nm:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}
.row[data-sid] .pn{position:relative;flex:1;min-width:0;font-weight:500;pointer-events:none}
.rowtop .rk{position:relative;flex:none;display:flex;width:auto;height:auto;border-radius:0;background:none;color:var(--dim);pointer-events:none;transition:color .2s}
.rowtop .rk svg{stroke-width:1.35}
.rowtop:hover .rk,.row.open .rk{color:var(--faint)}
.row.off .pn,.row.off .rk{opacity:.45}
.rchev{position:relative;flex:none;display:flex;color:var(--dim);pointer-events:none;transition:transform .38s cubic-bezier(.3,.9,.3,1),color .2s}
.row.open .rchev{transform:rotate(180deg);color:var(--text)}
.row .hid{position:relative;pointer-events:none}
/* Hide in a section's heading, right by the arrow: shown on hover or while it's open, over a soft fade at the end of the name.
   Duplicate and Delete sit at the foot of the open section (.secacts). */
.racts{--rb:color-mix(in srgb,var(--hover) 45%,var(--surface));position:absolute;z-index:2;top:50%;right:30px;display:flex;align-items:center;padding-left:14px;opacity:0;pointer-events:none;transform:translateY(-50%);transition:opacity .18s ease;background:linear-gradient(90deg,color-mix(in srgb,var(--rb) 0%,transparent),var(--rb) 20px)}
.row.open .racts{--rb:color-mix(in srgb,var(--bg) 70%,var(--surface))}
.rowtop:hover .racts,.row.open .racts,.racts:focus-within{opacity:1;pointer-events:auto}
@media(hover:none){.racts{display:none}.row.open .racts{display:flex}}
button.ra{display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;background:none;border:0;border-radius:7px;color:var(--muted);transition:background .12s,color .12s} /* only the section buttons: table cells use .ra too */
button.ra:hover{background:var(--hover);color:var(--text)}button.ra.del:hover{background:var(--badsoft);color:var(--bad)}
.fold{display:grid;grid-template-rows:0fr;transition:grid-template-rows .42s cubic-bezier(.3,.9,.25,1)}
.row.open .fold{grid-template-rows:1fr}
.foldin{min-height:0;overflow:hidden}
.grip{flex:none;display:flex;align-items:center;justify-content:center;width:24px;height:26px;margin:0 -2px;border-radius:6px;cursor:grab;color:var(--muted);opacity:.5;touch-action:none;transition:opacity .15s,color .15s,background .15s}.grip path{transition:transform .2s cubic-bezier(.2,.8,.2,1)}.row:hover .grip,.mi:hover .grip,.grip:focus-visible{opacity:1}.grip:hover{color:var(--text);background:var(--soft)}.grip:hover path:first-child,.row.lifting .grip path:first-child{transform:translateY(-1.5px)}.grip:hover path:last-child,.row.lifting .grip path:last-child{transform:translateY(1.5px)}.row.lifting{position:relative;z-index:5;background:var(--surface);border-color:var(--line2);box-shadow:0 10px 28px rgba(31,30,27,.14)}.row.lifting .grip{cursor:grabbing;opacity:1;color:var(--text)}.row.shifting,.row.settling{transition:transform .22s cubic-bezier(.2,.8,.2,1)}body.reordering,body.reordering *{cursor:grabbing!important;user-select:none}@media(prefers-reduced-motion:reduce){.row.shifting,.row.settling,.grip path{transition:none}}
.hid{flex:none;display:flex;padding:0 6px;color:var(--muted)}
.ic.hov{width:26px;height:26px;visibility:hidden}
.row:hover .ic.hov,.row.sel .ic.hov,.ic.hov:focus-visible{visibility:visible}
.more{padding:6px 14px 12px}
.row[data-sid] .more{opacity:0;transform:translateY(-6px);transition:opacity .2s ease,transform .3s ease}
.row[data-sid].open .more{opacity:1;transform:none;transition:opacity .3s ease .12s,transform .38s cubic-bezier(.3,.9,.25,1) .08s}
.lab{display:block;font-size:12.5px;font-weight:500;line-height:1.3;color:var(--muted);margin:16px 0 8px}
.more .lab:first-child{margin-top:0}
.more .seg{display:flex}
.more .seg button{flex:1}
.more .in{margin-top:0;min-height:38px;border-color:color-mix(in srgb,var(--line) 50%,var(--line2));font-weight:500}
.more .in+.in{margin-top:6px}
/* Choices with a sliding highlight */
.seg.slide{position:relative;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);padding:3px;border-radius:9px;isolation:isolate}
.seg.slide .sgk{position:absolute;z-index:0;top:3px;bottom:3px;left:3px;width:calc((100% - 6px) / var(--n));transform:translateX(calc(var(--i) * 100%));background:var(--surface);border-radius:7px;box-shadow:0 1px 2px rgba(0,0,0,.10),0 0 0 .5px rgba(0,0,0,.06);transition:transform .34s cubic-bezier(.3,1.15,.4,1)}
.seg.slide button,.seg.slide button.on{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:32px;padding:0 6px;background:none;box-shadow:none;white-space:nowrap;transition:color .2s}
.seg.slide button.on{color:var(--text)}
.seg .sw{flex:none;width:14px;height:14px;border-radius:4px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14),0 0 0 1px rgba(31,30,27,.08)}
/* A section's Background: a field showing the chosen Look colour, and the list of colours opening in place under it
   (the panel's fold clips pop-ups). Swatches are the Customize .swatch, smaller. */
.more .in.bgpick{display:flex;align-items:center;gap:9px;text-align:left;cursor:pointer}
.bgpick .bgname{flex:1;min-width:0}
.bgpick svg{color:var(--muted);transition:transform .2s}
.bgpick[aria-expanded="true"] svg{transform:rotate(180deg)}
.more .pop.bgpop{position:static;max-height:none;margin-top:6px;box-shadow:none}
.bgpop .pg .pgl{display:flex;align-items:center;gap:9px}
.bgpop .pg svg{color:var(--text)}
.bgpick .swatch,.bgpop .swatch,.bgpop .pg:hover .swatch{width:16px;height:16px;border:0;cursor:inherit;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--text) 14%,transparent)}
@media(prefers-reduced-motion:reduce){.row,.fold,.rchev,.row[data-sid] .more,.seg.slide .sgk{transition:none}}
.photo{display:flex;align-items:center;gap:12px;width:100%;padding:5px 10px 5px 5px;background:var(--surface);border:1px solid color-mix(in srgb,var(--line) 50%,var(--line2));border-radius:10px;color:var(--text);font:inherit;font-weight:500;text-align:left;transition:background .15s,border-color .15s}
.photo:hover{background:var(--hover);border-color:var(--focus)}
.photo .phw{flex:1}.photo>svg{flex:none;opacity:.4}
.photo img,.noph{flex:none;display:flex;align-items:center;justify-content:center;width:52px;height:38px;object-fit:cover;border-radius:6px;background:var(--soft);color:var(--muted)}
.acts{display:flex;align-items:center;gap:6px;margin-top:4px;padding-top:14px;border-top:1px solid var(--hair)}
.act{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 10px;background:var(--surface);border:1px solid color-mix(in srgb,var(--line) 50%,var(--line2));border-radius:7px;color:var(--text);font:inherit;font-size:13px;font-weight:500;white-space:nowrap}
.act:hover{background:var(--hover)}
.act.del{margin-left:auto;width:32px;padding:0;justify-content:center;background:none;border-color:transparent;color:var(--muted)}
.act.del:hover{background:var(--badsoft);color:var(--bad)}
/* Add a section: an outline button, centred, with a full-size plus */
.addbtn{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:36px;margin-top:14px;padding:0 12px;background:var(--surface);border:1px solid color-mix(in srgb,var(--line) 50%,var(--line2));border-radius:7px;color:var(--text);font:inherit;font-size:13.5px;font-weight:500;transition:background .12s}
.addbtn:hover{background:var(--hover)}
.addbtn svg{flex:none;stroke-width:1.8}
/* The foot of an open section: a quiet "+ section below" in line with the settings above (faint background, no border,
   muted words), and Duplicate and Delete as icons on the right (owner, 2026-11-06). The panel's own "Add a section" stays as above. */
.secacts{display:flex;align-items:center;justify-content:space-between;margin-top:28px}
.more .secacts .addbtn{flex:none;width:auto;min-height:30px;margin:0 0 0 -8px;padding:0 10px 0 8px;gap:6px;background:color-mix(in srgb,var(--soft) 70%,transparent);border:0;color:var(--muted);font-size:12.5px;white-space:nowrap}
.more .secacts .addbtn:hover{background:var(--soft);color:var(--text)}
.secic{display:flex;align-items:center;gap:2px;margin-right:-6px}
/* A Videos section's videos in the panel: click one to show it on the page; change and delete on hover */
.vlist{display:flex;flex-direction:column;gap:2px;margin:0 0 8px}
.vrow{display:flex;align-items:center;gap:2px;padding-right:4px;border-radius:8px;transition:background .12s}
.vrow:hover,.vrow.on{background:var(--hover)}
.vrpick{flex:1;min-width:0;display:flex;align-items:center;gap:10px;min-height:44px;padding:4px 6px;background:none;border:0;border-radius:8px;color:var(--text);font:inherit;font-size:13.5px;text-align:left;cursor:pointer}
.vrpick img,.vrpick .vrnone{flex:none;width:52px;height:29px;object-fit:cover;border-radius:4px;background:#2B3F35}
/* A long video title stays on one line and fades into the row at the right, no dots (owner, 2026-11-06) */
.vrt{flex:1 1 auto;min-width:0;overflow:hidden;white-space:nowrap;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 36px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 36px),transparent)}
.vrow .ic{display:none;width:28px;height:28px}
.vrow:hover .ic,.vrow.on .ic,.vrow:focus-within .ic{display:inline-flex}
.vrow .ic:hover{background:var(--line)}
/* Add a video: white with the fields' faint edge, only as wide as its words, centred (owner, 2026-11-06) */
.b.vaddb{display:flex;align-items:center;justify-content:center;gap:7px;width:fit-content;min-height:36px;margin-left:auto;margin-right:auto;padding:0 14px;font-size:13.5px}
.b.s.vaddb{background:var(--surface);border-color:color-mix(in srgb,var(--line) 50%,var(--line2))}
.b.s.vaddb:hover{background:var(--hover)}
.b.vaddb svg{flex:none;stroke-width:1.8}
.pg{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:34px;margin-bottom:1px;padding:0 10px;background:none;border:0;border-radius:7px;color:var(--muted);font:inherit;font-weight:500;text-align:left}
.pg:hover{background:var(--hover);color:var(--text)}
.pg.on{background:var(--soft);color:var(--text)}
.kinds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.kind{display:block;padding:0 0 8px;background:none;border:1px solid var(--line);border-radius:10px;color:var(--text);font:inherit;text-align:center;overflow:hidden}
.kind:hover{border-color:var(--line2);background:var(--hover)}
.kind b{display:block;padding:0 6px;font-size:13px;font-weight:500}
.sk{display:block;width:100%;height:auto;padding:8px 8px 4px;color:var(--muted)}
.ptext{margin:0 0 12px;padding:0 4px;color:var(--muted);font-size:13.5px}
.ver{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 4px;border-bottom:1px solid var(--line)}
.ver:last-child{border-bottom:0}
.ver b{display:block;font-weight:500}
.ver span{font-size:13px;color:var(--muted)}
.pubacts{display:grid;gap:8px;margin-top:10px;padding:0 4px}
.pubacts .b{min-height:40px}
.rpanel.pubfloat{position:fixed;width:min(380px,calc(100vw - 24px));max-height:calc(100dvh - var(--ptop) - 12px)}
.chatopen .rpanel.pubfloat{right:calc(var(--chatw,420px) + 12px)}
.pubhead{justify-content:flex-start;gap:4px}
.pubhead h2{flex:1}
.pubhead.backed{padding-left:8px}
.pstate{display:flex;align-items:center;gap:8px;margin:0 4px 10px}
.pubopen.tree{margin:2px 8px 10px 16px;padding-left:12px} /* a line from the item down to its last change, bending into it */
.pubopen.tree>*{position:relative}.pubopen.tree>*:before{content:"";position:absolute;left:-12px;top:0;bottom:0;border-left:1px solid var(--line2)}
.pubopen.tree>*:last-child:before{bottom:auto;height:18px;width:9px;border-bottom:1px solid var(--line2);border-bottom-left-radius:8px}
.pubrow{display:flex;align-items:center;gap:9px;width:100%;min-height:50px;padding:7px 8px;background:none;border:0;border-radius:9px;color:var(--text);font:inherit;text-align:left}
.pubrow:hover{background:var(--hover)}
.pubrow b{display:block;font-weight:500;line-height:1.3;white-space:normal;overflow-wrap:anywhere}
.pubrow small{flex:none;display:block;font-size:12.5px;color:var(--muted);white-space:normal}
.pubrow .pn{flex:1;white-space:normal}
.pubopen{margin:2px 8px 10px}
.publive{display:flex;align-items:center;gap:7px;margin-bottom:10px;padding:9px 11px;background:var(--oksoft,#E8F4EC);border-radius:9px;color:var(--ok,#1F6B3A);font-weight:500}
.publive svg{flex:none}
.publive a{margin-left:auto;color:inherit;font-size:13px}
.pubback{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 0}
.pubback .pn{white-space:normal}
.ditem{display:block;width:100%;padding:8px;background:none;border:0;border-radius:9px;color:var(--text);font:inherit;text-align:left}
button.ditem:hover{background:var(--hover)}
.dwhere{display:flex;flex-wrap:wrap;gap:0 6px;font-size:13px;color:var(--muted)}
.dwhere b{font-weight:500;color:var(--text)}
.dnote{margin:2px 0 0;font-size:13.5px;color:var(--muted);overflow-wrap:anywhere}
.ddetails{margin:6px 0 0;padding:0 0 0 16px;font-size:13px;line-height:1.5;color:var(--muted)}
.dlinks{display:flex;flex-wrap:wrap;gap:4px;margin:4px 0 0 -8px}
.dold,.dnew{display:flex;gap:8px;margin-top:4px;padding:5px 8px;border-radius:7px;font-size:13.5px;line-height:1.4}
.dold{background:var(--badsoft)}
.dnew{background:var(--oksoft)}
.dlab{flex:none;width:42px;font-size:12.5px;color:var(--muted)}
.dtext{min-width:0;white-space:pre-wrap;overflow-wrap:anywhere}
.dold mark{background:none;color:var(--bad);text-decoration:line-through}
.dnew mark{background:none;color:var(--ok);font-weight:500}
.dphotos{display:flex;align-items:center;gap:10px;margin-top:6px;color:var(--muted)}
.dphotos img,.dphotos .noph{flex:none;display:flex;align-items:center;justify-content:center;width:96px;height:68px;object-fit:cover;border-radius:7px;background:var(--soft)}
.work{position:relative;flex:1;min-width:0;display:flex;flex-direction:column;background:var(--bg);container-type:inline-size}
.grow{flex:1}
.status{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:var(--muted)}
.tleft .status{margin-left:8px}
.status.bad{color:var(--bad)}
.seg.icons button{display:inline-flex;align-items:center;justify-content:center;width:34px;padding:0}
.cnt{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--onpri);color:var(--pri);font-size:12px;font-weight:600}
.stage{position:relative;flex:1;min-height:0;display:flex;justify-content:center;overflow:hidden;background:var(--bg)}
.stage.fit{justify-content:flex-start}
.stage iframe{flex:none;display:block;width:100%;height:100%;border:0;background:#0F191C;transform-origin:0 0}
.stage.phone{padding:16px}
.stage.phone iframe{width:390px;max-width:100%;border-radius:18px;box-shadow:0 0 0 1px var(--line2)}
.rpanel{--ptop:60px;position:absolute;top:var(--ptop);right:12px;z-index:39;display:flex;flex-direction:column;width:min(360px,calc(100% - 24px));max-height:calc(100% - var(--ptop) - 12px);overflow:hidden;background:var(--surface);border:1px solid var(--line);border-radius:var(--rpop);box-shadow:var(--shadow);animation:floatin .14s ease-out}
@keyframes floatin{from{opacity:0;transform:translateY(-6px)}}
@media(prefers-reduced-motion:reduce){.rpanel{animation:none}}
.rhead{flex:none;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;padding:6px 8px 6px 16px;border-bottom:1px solid var(--line)}
.rhead h2{font-size:14px}
.rscroll{flex:1;min-height:0;overflow:auto;padding:14px 12px 16px}
.step{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:36px;padding:6px 8px;background:none;border:0;border-radius:7px;color:var(--text);font:inherit;text-align:left}
.step:hover{background:var(--hover)}
.step small{flex:none;font-size:12.5px;color:var(--muted)}
.step.on{background:var(--soft);font-weight:500}
.step.later{color:var(--muted);opacity:.6}
.step .pn{white-space:normal;overflow-wrap:anywhere}
.box{position:absolute;z-index:30;visibility:hidden;display:flex;flex-wrap:wrap;align-items:center;gap:2px;max-width:calc(100cqw - 16px);padding:4px;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);white-space:nowrap}
.box .where{padding:0 8px;font-size:13px;font-weight:500}
.box .where i{font-style:normal;font-weight:400;color:var(--muted);margin-left:6px}
.box button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;min-width:40px;padding:0 10px;background:none;border:0;border-radius:8px;color:var(--text);font:inherit;font-size:13px;font-weight:500}
/* Icon-only toolbar buttons: no side padding, so the bigger icon keeps the button 40 x 40. */
.box button:has(>svg:only-child){padding:0}
.box button:hover{background:var(--hover)}
.box .sep{width:1px;height:22px;background:color-mix(in srgb,var(--text) 25%,transparent);margin:0 4px} /* toolbar dividers: the words' colour at 25%, clearly visible in light and dark (owner, 2026-11-06) */
/* Words beside or instead of an icon where an icon alone wouldn't say what it does: Edit video, Change poster */
.box button.boxtx{gap:7px;padding:0 12px;font-size:14px}
.picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:14px}
.picker button{padding:0;border:2px solid transparent;border-radius:8px;background:var(--soft);overflow:hidden}
.picker button:hover{border-color:var(--line2)}
.picker img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.upl{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;aspect-ratio:4/3;border:1px dashed var(--line2);border-radius:8px;color:var(--muted);font-size:13px;font-weight:500;text-align:center;cursor:pointer}
.upl:hover,.upl:focus-within{background:var(--hover);color:var(--text)}
.phead2{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}
.phead2 h2{margin:0}
.pickbody{min-height:300px}
.pfields{display:grid;gap:8px;margin-bottom:10px}
.prow{display:flex;gap:8px}
.prow .in{flex:1;min-width:0;margin:0}
.prow .b{flex:none;min-width:92px}
.modal p.pfind{margin:0 0 10px;font-size:13.5px;color:var(--muted)}.modal p.pmore{margin:0 0 6px;min-height:20px;font-size:13px;color:var(--muted);text-align:center}
.modal p.pfind:empty{display:none}
.modal p.pfind.bad{color:var(--bad)}
.picker .pfound{position:relative;display:block;text-align:left}
.picker .pfound.on{border-color:var(--text)}
.pfound span{position:absolute;left:0;right:0;bottom:0;padding:12px 7px 4px;background:linear-gradient(transparent,rgba(9,9,11,.62));color:#fff;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.picker .pmake{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:100%;aspect-ratio:4/3;padding:8px;background:none;border:1px dashed var(--line2);color:var(--muted);font:inherit;font-size:13px;font-weight:500;text-align:center}
.picker .pmake:hover{background:var(--hover);color:var(--text)}
.pfoot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}
.pfoot .mact{margin:0}
.pcredit{font-size:13px;color:var(--muted)}
.pcredit a{color:inherit}
.mleft{margin-right:auto}
/* The top bar gives way as it narrows: the save line first, then the Assistant's words, then the website's name */
@container bar (max-width:1100px){.tleft .status{display:none}}
@container bar (max-width:900px){.tbrand .pn{display:none}}
@container bar (max-width:760px){.ll{display:none}.tmid{gap:4px}.tmid .seg button{padding:0 8px}.tmid .seg.icons button{width:30px}}

/* Writing a post: every post in the top bar, with previous and next either side */
.postbar{display:flex;align-items:center;gap:4px;min-width:0}
.postpick{flex:0 1 auto;width:auto;max-width:320px}
.postpick .pn{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pickwrap{position:relative;display:flex;align-items:center;min-width:0}
.pickwrap .pop{top:calc(100% + 6px);left:50%;right:auto;width:400px;max-width:calc(100vw - 24px);max-height:60vh;transform:translateX(-50%)}
.pop .pg.post{justify-content:flex-start;gap:10px;min-height:52px;padding:6px 8px}
.pg.post img,.pg.post .nothumb{flex:none;width:52px;height:36px;object-fit:cover;border-radius:5px;background:var(--soft)}
.pg.post .pt{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.3}
.pg.post .pt b{font-weight:500;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pg.post .pt small{font-size:12.5px;font-weight:400;color:var(--muted)}
@container bar (max-width:1100px){.postpick{max-width:220px}.tright .ll{display:none}.tright a.b:has(.ll){width:34px;padding:0;justify-content:center}}
@container bar (max-width:760px){.postpick .ppl{display:none}.postpick{max-width:150px}}

/* Writing a post: same letters as the website */
.pedit{display:flex;height:calc(100vh - var(--barh));overflow:hidden} /* the settings stay put while the post scrolls */
.opts{position:relative;z-index:15;flex:none;width:300px;min-width:0;display:flex;flex-direction:column;background:var(--surface);border-right:1px solid var(--line)}
.opts .phead{margin-bottom:0;padding:8px 16px}
.oscroll{flex:1;min-height:0;overflow:auto;padding:16px}
.ogrp{margin-bottom:16px;padding-bottom:2px;border-bottom:1px solid var(--line)}
.ogrp:last-child{margin-bottom:0;padding-bottom:0;border-bottom:0}
.opts .lb{font-size:13px;color:var(--muted)}
.opts .lb .in{color:var(--text)}
.opts .pfoot2{padding:12px 16px}
.goog{margin-top:6px;padding:12px;border:1px solid var(--line);border-radius:9px;font-size:13px;font-weight:400;color:var(--muted)}
.goog b{display:block;font-weight:500;font-size:14px;color:var(--accent)}
.warnb{margin-top:12px;padding:10px 12px;background:var(--warnsoft);color:var(--warn);border-radius:9px;font-size:13px}
.pwork{position:relative;flex:1;min-width:0;overflow:auto;background:#0F191C}
.paper{min-height:100%;background:var(--night,#0F191C);color:var(--mist,#E4EAE7);font:300 19px/1.75 var(--body,Spectral),Georgia,serif} /* the website's own look and post rules are added to it by post.js */
.b.back{padding:0 10px 0 8px}
.pwork.phone{padding:16px;background:var(--bg)} /* the post at a phone's width, in the website's phone sizes */
.pwork.phone .paper{width:390px;max-width:100%;min-height:0;margin:0 auto;border-radius:18px;overflow:hidden;box-shadow:0 0 0 1px var(--line2)}
.tbox{visibility:visible;z-index:31} /* the menu beside the words, built like the page editor's */
.tbox button.on{background:var(--soft)}
.tbox b{font-weight:600}
.tbox i{font-style:italic}
.tb tbody tr.rowlink{cursor:pointer}.tb .gripcell{width:34px;padding-right:0}.tb tr .grip{opacity:0}.tb tr:hover .grip,.tb .grip:focus-visible{opacity:1}@media(hover:none){.tb tr .grip{opacity:.6}}.tb tr.dragging{opacity:.4}.tb tr.before td{box-shadow:inset 0 2px 0 var(--accent)}.tb tr.after td{box-shadow:inset 0 -2px 0 var(--accent)}
.kick{font:400 13px/1.3 Jost,sans-serif;letter-spacing:.24em;text-transform:uppercase;color:#D5B57C}
.change{position:absolute;top:16px;right:16px;z-index:3;font:500 14px/1.5 Geist,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;opacity:.55;transition:opacity .2s ease} /* an admin button, not the website's letters */
.ph:hover .change,.change:focus-visible,.change[aria-expanded="true"]{opacity:1}.change svg path{stroke-width:1.2}@media(hover:none){.change{opacity:1}}
/* The post's own pieces in the editor; the website's post rules draw the rest */
.pwork .paper .post-head{padding-top:64px}
.pedit .pwork.phone .paper .post-head{padding-top:40px}
.paper h1,.paper .sum{outline:none}
.body{outline:none;min-height:240px}
.paper .post-meta .kick{font:inherit;letter-spacing:inherit;color:var(--gold,#D5B57C)}
.paper .post-meta .kick:empty+i{display:none}
.paper .ph{position:relative;display:block;width:fit-content;max-width:100%;margin:0 auto}
.paper .ph .change{top:14px;right:14px}
.paper .ph.empty{width:100%;min-height:220px;border:1px dashed color-mix(in srgb,var(--mist,#E4EAE7) 22%,transparent);border-radius:calc(var(--radius-photo,8px) * 3)}
.paper .ph.empty img{display:none}
.paper .ph.empty .change{top:50%;left:50%;right:auto;opacity:1;transform:translate(-50%,-50%)}
.paper .post-nav a{cursor:pointer}
.paper .post-nav{padding-bottom:72px}
.body figure{margin:1.6em 0;cursor:pointer}
.body figure.on img{outline:2px solid var(--accent);outline-offset:3px}
.sum:empty:before,.body:empty:before{content:attr(data-hint);color:#7E8E8B}

/* Library */
.masonry{display:flex;gap:12px;align-items:flex-start}
.mcol{flex:1;min-width:0;display:grid;gap:12px}
.tile{position:relative;min-width:0}
.tile .pic{display:block;width:100%;padding:0;border:0;border-radius:10px;background:var(--soft);overflow:hidden;outline:2px solid transparent;outline-offset:2px;transition:outline-color .12s}
.tile .pic img{display:block;width:100%;height:auto}
.tile .pic:hover{outline-color:transparent}
.tile.on .pic{outline-color:var(--text)}
.tile .t-rep,.tile .t-big,.tile .t-del{position:absolute;z-index:1;box-shadow:0 1px 2px rgba(0,0,0,.14);opacity:0;pointer-events:none;transition:opacity .15s,background .12s,color .12s}
.tile .t-rep{top:10px;left:10px;min-height:36px}
.tile .t-big{top:10px;right:10px}
.tile .t-del{bottom:10px;right:10px}
.tile:hover .t-rep,.tile:hover .t-big,.tile:focus-within .t-rep,.tile:focus-within .t-big{opacity:1;pointer-events:auto}
.tile:hover .t-del,.tile:focus-within .t-del{opacity:.55;pointer-events:auto}
.tile .t-del:hover,.tile .t-del:focus-visible{opacity:1;color:var(--bad)}
@media(hover:none){.tile.on .t-rep,.tile.on .t-big,.ftile .t-rep,.ftile .t-big{opacity:1;pointer-events:auto}.tile.on .t-del,.ftile .t-del{opacity:.55;pointer-events:auto}} /* on a phone a tap on a photo shows its buttons */
.folder{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:22px 14px}
.ftile{display:flex;flex-direction:column;gap:10px}
.fdoc{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;aspect-ratio:4/3;background:var(--surface);border:1px solid var(--line);border-radius:10px;color:var(--muted);transition:border-color .12s}
.ftile:hover .fdoc,.ftile:focus-within .fdoc{border-color:var(--line2)}
.fname{min-width:0;padding:0 2px}
.fname b{display:block;overflow:hidden;font-weight:500;text-overflow:ellipsis;white-space:nowrap}
.fname small{display:block;font-size:13px;color:var(--muted)}
.scrim:has(>.modal.viewer){padding:0}
.modal.shots.viewer{flex-direction:row;align-items:stretch;gap:0;width:100%;height:100%}
.vstage{position:relative;flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:68px 72px 24px}
.vstage img{display:block;max-width:100%;max-height:calc(100% - 34px);border-radius:10px}
.vdots{display:flex;align-items:center;justify-content:center;height:20px}.vdot{flex:none;display:flex;align-items:center;justify-content:center;width:15px;height:20px;padding:0;background:none;border:0;border-radius:6px;cursor:pointer;transition:width .35s cubic-bezier(.2,.8,.2,1),opacity .3s,transform .3s}.vdot::after{content:"";display:block;width:7px;height:7px;border-radius:4px;background:rgba(255,255,255,.38);transition:width .35s cubic-bezier(.2,.8,.2,1),background .3s}.vdot:hover::after{background:rgba(255,255,255,.7)}.vdot.on{width:32px}.vdot.on::after{width:22px;background:#fff}.vdot.far{transform:scale(.6);opacity:.7}.vdot.out{width:0;opacity:0;pointer-events:none}.vdot:focus-visible{outline:2px solid #fff;outline-offset:1px}@media(prefers-reduced-motion:reduce){.vdot,.vdot::after{transition:none}}
.shotx.vclose,.shotx.vprev,.shotx.vnext{position:absolute}
.shotx.vclose{top:16px;right:16px;left:auto}
.shotx.vprev,.shotx.vnext{top:50%;width:48px;height:48px;transform:translateY(-50%);background:transparent;opacity:.5;transition:background .25s ease,opacity .25s ease}.shotx.vprev svg,.shotx.vnext svg{stroke-width:1.75}.shotx.vprev.near,.shotx.vnext.near{background:rgba(255,255,255,.12);opacity:1}.shotx.vprev:hover,.shotx.vnext:hover{background:rgba(255,255,255,.22);opacity:1}@media(hover:none){.shotx.vprev,.shotx.vnext{background:rgba(255,255,255,.12);opacity:1}}
.shotx.vprev{left:16px;right:auto}
.shotx.vnext{right:16px}
.vside{flex:none;display:flex;flex-direction:column;width:300px;background:var(--surface);color:var(--text)}
.vside .phead{margin-bottom:0;padding:8px 16px}
.vbody{flex:1;min-height:0;overflow:auto;padding:20px 16px}
.vbody>b{display:block;font-weight:600;overflow-wrap:anywhere}
.vbody>.note{margin:2px 0 22px;font-size:13px}
.vbody>.status{display:block}
.vbody>.status:empty{display:none}
.vfoot{flex:none;display:grid;gap:10px;padding:14px 16px;border-top:1px solid var(--line)}
.vfoot>.note{font-size:12.5px}
.vacts{display:flex;gap:8px}
.vacts .b{flex:1}
@media(max-width:700px){.masonry,.mcol{gap:8px}.tile .t-rep{top:8px;left:8px}.tile .t-big{top:8px;right:8px}.tile .t-del{bottom:8px;right:8px}.folder{grid-template-columns:repeat(2,minmax(0,1fr))}.modal.shots.viewer{flex-direction:column;overflow:auto}.vstage{flex:none;padding:68px 16px 16px}.vstage img{max-height:60dvh}.vside{width:100%}.vbody{flex:none;overflow:visible}}

/* Two-level areas */
.two-nav{display:flex;align-items:stretch;min-height:calc(100vh - var(--barh))}
.subnav{flex:none;width:216px;background:var(--bg);border-right:1px solid var(--line)}
.subin{position:sticky;top:var(--barh);padding:16px 10px}
.subin h1{font-size:16px;padding:0 10px 12px}
.sg{padding:8px 0}
.sg+.sg{border-top:1px solid var(--line)}
.subnav button{display:block;width:100%;min-height:34px;padding:0 10px;background:none;border:0;border-radius:7px;color:var(--muted);font:inherit;font-weight:500;text-align:left}
.subnav button:hover{background:var(--hover);color:var(--text)}
.subnav button.on{background:var(--soft);color:var(--text)}
.sm{flex:1;min-width:0}
.keycard{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 16px;align-items:center;padding:14px 16px;border-bottom:1px solid var(--line)}
.keycard:last-child{border-bottom:0}
.keycard b{font-weight:500}
.keycard small{display:block;color:var(--muted);font-size:13px}
.kacts{display:flex;flex-wrap:wrap;gap:6px;align-items:center;justify-content:flex-end}
.meter{height:8px;border-radius:4px;background:var(--soft);overflow:hidden;margin:10px 0 6px}
.meter i{display:block;height:100%;background:var(--accent);border-radius:4px}
.big{font-size:24px;font-weight:600;letter-spacing:-.02em}
.sets{display:grid;grid-template-columns:180px minmax(0,1fr);gap:24px;align-items:start}
.sub{position:sticky;top:76px;display:grid;gap:2px}
.sub button{min-height:32px;padding:0 10px;background:none;border:0;border-radius:7px;color:var(--muted);font:inherit;font-weight:500;text-align:left}
.sub button:hover{background:var(--hover);color:var(--text)}
.sub button.on{background:var(--soft);color:var(--text)}
/* Customize: the website's look, at the bottom of the page list */
.pfoot2{flex:none;padding:8px 10px;border-top:1px solid var(--line)}
.lsum{flex:none;margin-left:auto;max-width:52%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:12.5px;font-weight:400}
.lchips{display:flex;flex-wrap:wrap;gap:6px}
.lchip{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 10px 0 6px;background:var(--surface);border:1px solid var(--line2);border-radius:8px;color:var(--text);font:inherit;font-size:13px;font-weight:500}
.lchip:hover{background:var(--hover)}
.lchip.on{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.lchip i{width:16px;height:16px;border:1px solid var(--line2);border-radius:5px}
.crow{display:flex;align-items:center;gap:10px;min-height:38px;padding:0 4px;border-radius:7px;cursor:pointer}
.crow:hover{background:var(--hover)}
.crow b{flex:1;font-weight:500}
.crow small{color:var(--muted);font-size:12.5px;font-variant-numeric:tabular-nums}
.cpick{flex:none;width:26px;height:26px;padding:0;background:none;border:1px solid var(--line2);border-radius:7px;cursor:pointer;overflow:hidden}
.cpick::-webkit-color-swatch-wrapper{padding:0}
.cpick::-webkit-color-swatch{border:0;border-radius:6px}
.cpick::-moz-color-swatch{border:0;border-radius:6px}
.linkb{padding:0;background:none;border:0;color:inherit;font:inherit;font-weight:500;text-decoration:underline;text-underline-offset:3px}
.b.lreset{margin-top:12px}
.fontb{display:block;width:100%;min-height:40px;margin-bottom:6px;padding:0 12px;background:var(--surface);border:1px solid var(--line);border-radius:8px;color:var(--text);font-size:17px;text-align:left}
.fontb.on{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.lock{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:24px;color:var(--muted)}

@media(hover:none){.ic.hov{visibility:visible}}
@media(pointer:coarse){.ri.me{width:44px;height:44px}.b,.srow,.seg button,.subnav button,.sub button{min-height:44px}.aiin,.in{font-size:16px}} /* a phone zooms the whole page into any box with smaller words */
@media(max-width:1000px){.tasks{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1200px){ /* too narrow to sit side by side: these slide over the page instead of crushing it */
.chat{position:fixed;top:0;right:0;z-index:62;height:100vh;height:100dvh;box-shadow:var(--shadow)}
}
@media(max-width:860px){
.app{flex-direction:column;height:auto;min-height:100vh;overflow:visible}
/* On a phone the rail lies along the bottom and the top bar wraps */
.fbody{display:block}
.content{padding-bottom:calc(66px + env(safe-area-inset-bottom))}
.rail{position:fixed;top:auto;right:0;bottom:0;left:0;z-index:45;flex-direction:row;justify-content:space-around;width:auto;height:auto;gap:0;padding:4px 4px calc(4px + env(safe-area-inset-bottom));border-right:0;border-top:1px solid var(--line)}
.rnav,.rfoot{display:contents}
.rail .ri{flex:1 1 0;min-width:0;max-width:72px}.rail .ri.me{flex:none;width:40px}.rk{width:40px;height:30px;border-radius:10px}.rl{font-size:10px;letter-spacing:0;white-space:nowrap}
.rsep{display:none}.ri.me{margin-top:0}
.pop.mepop{right:8px;bottom:calc(70px + env(safe-area-inset-bottom));left:auto}
.toast,.update{bottom:calc(78px + env(safe-area-inset-bottom))}
.topbar{display:flex;flex-wrap:wrap;height:auto;min-height:var(--barh);padding:6px 10px 6px 0;gap:6px 8px}
.tleft{flex:1 1 auto}
.tright{flex-wrap:wrap;padding-right:0}
.tmid{order:3;width:100%;justify-content:center}
.tmid:empty{display:none}
.tmark{width:48px}
.tbrand .pn{display:none}
.chat{position:fixed;top:0;right:0;z-index:80;height:100vh;height:100dvh}
.chatopen .chat{width:100%}
.chatin{width:100%}
.chatgrab{display:none}
.chatopen .toast,.chatopen .update{bottom:150px}
.mpanel{position:fixed;top:0;right:0;z-index:60;height:100vh;height:100dvh}
.mpanel.on{width:100%}
.mpin{width:100%}
.ctl{grid-template-columns:1fr}
.page{padding:16px}
.stats{grid-template-columns:repeat(2,minmax(0,1fr))}
.two,.g2,.sets,.look{grid-template-columns:1fr}
.sub{position:static}
.sub{display:flex;flex-wrap:wrap}
.picker{grid-template-columns:repeat(2,minmax(0,1fr))}
.panel{width:100%;border-right:0;border-bottom:1px solid var(--line)}
.rpanel{position:fixed;top:12px;left:12px;right:12px;z-index:60;width:auto;max-height:calc(100dvh - 24px)}
.rpanel.pubfloat{top:12px;left:12px;right:12px;width:auto;max-height:calc(100dvh - 24px)}
.chatopen .rpanel.pubfloat{right:12px}
.pscroll{flex:none;max-height:32vh}
.work{overflow:hidden}
.box{flex-wrap:wrap;max-width:calc(100vw - 16px);white-space:normal}
.stage{height:70vh;flex:none}.tleft .status{display:none}.box .where{display:none}
.pedit{flex-direction:column;height:auto;overflow:visible}
.pwork{overflow:visible}
.opts{order:2;width:auto;border-right:0;border-top:1px solid var(--line)}
.two-nav{flex-direction:column;min-height:0}
.subnav{width:100%;border-right:0;border-bottom:1px solid var(--line)}
.subin{position:static;display:flex;flex-wrap:wrap;gap:4px;padding:8px}
.subin h1,.subnav .cap{display:none}
.sg{display:contents}
.subnav button{width:auto;min-height:44px}
.keycard{grid-template-columns:1fr}
.kacts{justify-content:flex-start}
}

/* Dropdowns: a quiet arrow, set in from the edge, in every list on every screen */
select.in{-webkit-appearance:none;appearance:none;padding-right:36px;background-image:var(--select-arrow);background-repeat:no-repeat;background-position:right 13px center;background-size:15px}
.sg .cap{padding-left:10px;padding-right:10px;font-size:11.5px;font-weight:400;color:var(--muted);opacity:.6} /* lines up with the items under it */
/* While the AI works */
.spinner{flex:none;display:inline-block;width:15px;height:15px;border:2px solid var(--line2);border-top-color:var(--text);border-radius:50%;animation:spin .75s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.spinner{animation-duration:2.4s}}
.aim.it.wait{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.wline{display:inline-flex;align-items:center;gap:9px}
.asteps{list-style:none;margin:0 0 8px;padding:0 0 0 2px;display:flex;flex-direction:column;gap:7px;font-size:13.5px;line-height:1.4;color:var(--text)}
.aim .asteps{margin:0}
.asteps li{display:flex;align-items:flex-start;gap:9px;white-space:normal}
.asteps .sti{flex:none;display:flex;align-items:center;justify-content:center;width:16px;height:16px;margin-top:1px;border:1.5px solid var(--line2);border-radius:50%;transition:background .2s,border-color .2s}
.asteps li.done .sti{background:var(--text);border-color:var(--text);color:var(--surface)}.asteps li.done .stt{opacity:.5}
.asteps li.failed .sti{background:var(--badsoft);border-color:var(--bad);color:var(--bad)}
.asteps li.part .sti{background:var(--warnsoft);border-color:var(--warn)}
.asteps li.answered .sti{border-style:dashed}
.asteps li.todo{color:var(--muted)}
.asteps li.failed .stt{color:var(--bad)}
.mnote{align-self:center;max-width:90%;margin:2px auto 6px;font-size:12.5px;line-height:1.4;color:var(--muted);text-align:center}
.astages{list-style:none;margin:0;padding:0 0 0 2px;display:flex;flex-direction:column;gap:9px;font-size:13.5px;line-height:1.4;color:var(--text)}
.astages>li{display:grid;grid-template-columns:16px 1fr;column-gap:9px;align-items:start;white-space:normal}
.astages>li>.asteps{grid-column:2;margin:8px 0 0}
.astages>li.todo{color:var(--muted)}
.astages>li.done .sti{background:var(--text);border-color:var(--text);color:var(--surface)}.astages>li.done>.stt{opacity:.5}
.astages .sti{display:flex;align-items:center;justify-content:center;width:16px;height:16px;margin-top:1px;border:1.5px solid var(--line2);border-radius:50%}
.astages li.now>.sti,.asteps li.now>.sti{border-color:transparent}
.sti .spinner{width:15px;height:15px;border-width:2px}
/* The chat's steps, as a stepper: each circle joined to the next by a thin, faint line (--focus).
   Done: a soft grey circle with no outline and a tick in a darker shade of it (--muted). Under way (the spinner) and not
   started (a ring of long dashes) are the same size, a little smaller, on the same line. Light and dark follow the variables. */
.asteps{gap:0;margin:0 0 16px}
.asteps li{position:relative;gap:11px;padding:0 0 16px}.asteps li:last-child{padding-bottom:0}
.asteps li:not(:last-child)::before{content:'';position:absolute;left:9.5px;top:22px;bottom:2px;width:1px;background:var(--focus);opacity:.55}
.asteps .sti{width:20px;height:20px;margin-top:-1px;border-color:transparent}
.asteps .stt{padding-top:1px}
.asteps li.done .sti{background:var(--line);border-color:transparent;color:var(--muted)}
.asteps li.done .sti svg{width:12px;height:12px;stroke-width:2.2}
.asteps li.todo .sti{border:0;background:repeating-conic-gradient(var(--focus) 0 22deg,transparent 22deg 36deg);
  -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 1px),#000 calc(100% - 1px));mask:radial-gradient(farthest-side,transparent calc(100% - 1px),#000 calc(100% - 1px))}
.asteps li.todo .sti,.asteps li.now .sti{width:16px;height:16px;margin:1px 2px 0}
.asteps li.now .sti .spinner{width:16px;height:16px;border-width:1.5px}
/* Change photo */
.pmenu{position:fixed;z-index:60;min-width:190px;padding:4px;background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow)}
.pmenu button{display:flex;align-items:center;gap:10px;width:100%;min-height:36px;padding:0 10px;background:none;border:0;border-radius:7px;color:var(--text);font:inherit;font-weight:500;text-align:left;white-space:nowrap}
.pmenu button:hover,.pmenu button:focus-visible{background:var(--hover)}
.pmenu svg{flex:none;color:var(--muted)}
.scrim:has(>.modal.wide){align-items:flex-start;padding-top:64px}
.modal.wide{display:flex;flex-direction:column;max-width:760px;height:min(640px,calc(100dvh - 96px));overflow:hidden}
.modal.wide .pickbody{flex:1;min-height:0;overflow:auto;padding:2px 2px 8px}
.modal.wide .pfoot{flex:none;padding-top:12px;border-top:1px solid var(--line)}
.pickbody textarea.in{margin:0 0 10px;resize:none}
.pickbody .aichips{margin-bottom:14px}
.pickbody .prow{margin-bottom:12px}
.pworking{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;height:100%;min-height:260px;color:var(--muted);text-align:center}
.pworking .spinner{width:24px;height:24px}
.pmade{display:flex;flex-direction:column;align-items:center;gap:12px}
.pmade img{display:block;max-width:100%;max-height:calc(min(640px,100dvh - 96px) - 200px);border-radius:10px}
.pagain{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
@media (max-width:640px){.scrim:has(>.modal.wide){padding:16px}.modal.wide{height:calc(100dvh - 32px)}}
/* A photo in the chat, seen large */
button.aishot{width:100%;padding:0;background:none;border:0;cursor:zoom-in}
.scrim:has(>.modal.shots){align-items:center;background:rgba(9,9,11,.84)}
.modal.shots{display:flex;flex-direction:column;align-items:center;gap:14px;width:auto;max-width:none;max-height:none;padding:0;overflow:visible;background:none;border:0;box-shadow:none}
.modal.shots>img{display:block;max-width:calc(100vw - 48px);max-height:calc(100dvh - 120px);border-radius:10px}
.shotx{position:fixed;top:16px;right:16px;display:flex;align-items:center;justify-content:center;width:38px;height:38px;padding:0;background:rgba(255,255,255,.12);border:0;border-radius:50%;color:#fff}
.shotx:hover{background:rgba(255,255,255,.22)}
/* The toolbar on the page */
.box button:disabled{opacity:.32;cursor:default;background:none}
.box button.boxai{gap:7px;padding:0 12px;font-size:14px}
.box .boxai[aria-expanded=true]{background:var(--soft)}
.boxask{flex:0 0 100%;width:340px;max-width:100%;padding:8px 5px 5px}
.boxask .in{margin:0 0 8px}
.boxask .aichips{margin-bottom:8px}
.box .boxask .aichips button{min-height:28px;padding:3px 9px;border:1px solid var(--line2);font-size:12.5px;font-weight:400}

.boxask small{display:block;font-size:12.5px;line-height:1.4;color:var(--muted)}
/* Ask AI: its own card under the toolbar, a little narrower than it. It drops in from the toolbar and folds back up. */
.askcard{position:absolute;z-index:30;top:0;left:0;width:400px;padding:16px 16px 14px;background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);
  opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-10px) scale(.98);transform-origin:calc(100% - 60px) 0;clip-path:inset(0 0 92% 0 round 14px);
  transition:opacity .2s ease,transform .38s cubic-bezier(.2,.9,.25,1),clip-path .42s cubic-bezier(.2,.9,.25,1),visibility 0s linear .42s}
.askcard.on{opacity:1;visibility:visible;pointer-events:auto;transform:none;clip-path:inset(0 0 0 0 round 14px);
  transition:opacity .22s ease,transform .42s cubic-bezier(.2,.9,.25,1),clip-path .46s cubic-bezier(.2,.9,.25,1),visibility 0s}
.askf{padding:0 0 8px;border-bottom:1px solid var(--hair);transition:border-color .2s}
.askf:focus-within{border-bottom-color:var(--line)}
.askin{display:block;width:100%;height:84px;min-height:84px;margin:0;padding:0;background:none;border:0;outline:0;resize:none;color:var(--text);font:400 14px/21px Geist,-apple-system,sans-serif}
.askin::placeholder{color:var(--dim)}
.askfoot{display:flex;justify-content:flex-end;height:30px;margin-top:4px}
.askcard .aichips{margin-top:12px;opacity:0;transform:translateY(-4px);transition:opacity .2s ease,transform .3s ease}
.askcard.on .aichips{opacity:1;transform:none;transition:opacity .3s ease .14s,transform .4s cubic-bezier(.2,.9,.25,1) .1s}
.askcard .aichips button{min-height:28px;padding:0 10px;background:var(--soft);border:0;border-radius:7px;color:var(--text);font-size:12.5px;font-weight:500}
.askcard .aichips button:hover{background:var(--line)}
@media(prefers-reduced-motion:reduce){.askcard,.askcard.on,.askcard .aichips{transition:none}}
/* Image models */
.rrow.imgrow{grid-template-columns:minmax(0,1fr) 72px 58px 58px 76px;min-width:520px;min-height:46px}
.imgrow.rhead2{min-height:34px}
.imgrow .rname{display:flex;flex-direction:column;align-items:flex-start;gap:0}
.imgrow.on{background:var(--soft)}
.imgrow.slow{color:var(--muted)}
.imgrow .b{min-height:28px;padding:0 10px}
@container (max-width:640px){.box .boxai span,.box .where i{display:none}}
.mpanel .rstatus{margin-left:auto}
.boxask small{white-space:normal}
@media (max-width:640px){.pickbody .prow{flex-wrap:wrap}.pickbody .prow .in{flex:1 0 100%}.pickbody .prow .b{flex:1}.phead2 .seg{display:flex;width:100%}.phead2 .seg button{flex:1 1 auto;padding:0 6px;white-space:nowrap;font-size:13px}}
.in.auto.num{min-width:0;width:96px}
@media (max-width:640px){.pcs.two{grid-template-columns:minmax(0,1fr)}}
.linkpick .pnote{padding:8px 10px}.mact .b.d:first-child{margin-right:auto}
.mlist>*+*{margin-top:16px}

/* Super admin: Channels and its pages on a branch line, small (i) buttons, and the photo models list */
.subnav .branch{display:flex;flex-direction:column;gap:4px;margin:4px 0 6px 18px;padding-left:12px}
.subnav .branch>button{position:relative;font-size:13.5px;font-weight:400}.subnav .branch>button.on{font-weight:500}
.subnav .branch>button:before{content:"";position:absolute;left:-12px;top:0;bottom:0;border-left:1px solid var(--line2)}
.subnav .branch>button+button:before{top:-4px}
.subnav .branch>button:last-child:before{bottom:auto;height:calc(50% + 4px);width:10px;border-bottom:1px solid var(--line2);border-bottom-left-radius:8px}
.lt{display:flex;align-items:center;gap:6px;min-width:0}h2.lt{display:flex}
@media(min-width:861px){.li .hacts{flex-wrap:nowrap;flex:none}}
.ib{display:inline-flex;align-items:center;justify-content:center;flex:none;width:22px;height:22px;padding:0;background:none;border:0;border-radius:50%;color:var(--muted);opacity:.55;cursor:pointer;transition:opacity .15s,background .15s}
.ib:hover,.ib[aria-expanded="true"]{opacity:1;background:var(--soft)}
.itip{position:fixed;z-index:97;width:max-content;max-width:300px;padding:10px 12px;background:var(--pri);color:var(--onpri);border-radius:6px;box-shadow:var(--shadow);font-size:13px;font-weight:400;line-height:1.45}
.itip:before{content:"";position:absolute;top:-4px;left:calc(var(--ax,16px) - 4px);width:9px;height:9px;background:inherit;border-radius:1px;transform:rotate(45deg)}
.itip.up:before{top:auto;bottom:-4px}
.mtab{overflow:hidden}.mr{display:grid;grid-template-columns:30px minmax(0,1fr) 110px 128px;align-items:center;gap:8px;min-height:54px;padding:6px 16px;border-bottom:1px solid var(--line)}.mr:last-child{border-bottom:0}
.mr.mh{min-height:38px;color:var(--muted);font-size:12.5px;font-weight:500}.mr:not(.mh):hover{background:var(--hover)}
.mname{min-width:0}.mname b{display:block;font-weight:500}.mname small{display:block;color:var(--muted);font-size:12.5px}.mr.off .mname,.mr.off .num{opacity:.5}
.mr .num{text-align:right;font-variant-numeric:tabular-nums;color:var(--muted)}.mr .num small{display:block;font-size:12px}.mr .num.over{color:var(--bad)}.mr .mact{display:flex;justify-content:flex-end}
.mkdef{min-height:30px;opacity:0;transition:opacity .15s}.mr:hover .mkdef,.mkdef:focus-visible{opacity:1}@media(hover:none){.mkdef{opacity:1}}
.cbx{display:flex;align-items:center;justify-content:center;width:18px;height:18px;padding:0;background:var(--surface);border:1.5px solid var(--line2);border-radius:5px;color:transparent;cursor:pointer}
.cbx svg{stroke-width:3}.cbx.on{background:var(--pri);border-color:var(--pri);color:var(--onpri)}.cbx:disabled{opacity:.45;cursor:default}
.capin{display:inline-flex;align-items:center;gap:6px;color:var(--muted)}.capin .in{width:72px;margin:0;text-align:right}

/* The Assistant asks first: a short question, up to three answers (its suggestion first and black, the others grey), and the typing box for anything else */
.chathead .chatx{display:none}
@media(max-width:860px){.chathead .chatx{display:inline-flex}}
/* The Assistant's cards under a reply share one shape, always the chat's full width:
   - a question: a dim outline, a quiet line of context, the short question, its answers in a row at the bottom
     (the one it suggests first and black, the others grey);
   - what it couldn't do after trying every way and asking: a soft peach card (--peach, --peach-line, --peach-ink). */
.qcard{width:100%;margin-top:2px;padding:14px 14px 12px;border:1px solid var(--line);border-radius:11px}
.qcard p{margin:0;line-height:1.45}
.qcard .qlead{color:var(--muted);font-size:12.5px}
.qcard .qq{font-size:13px;font-weight:500}
.qcard .qlead+.qq{margin-top:12px}
.qcard .qacts{margin-top:12px}
.qcard.asked .qq{color:var(--muted);font-weight:400}
.qcard .rplaces{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 0}
.anote{width:100%;margin-top:12px;padding:11px 13px;background:var(--peach);border:1px solid var(--peach-line);border-radius:11px;color:var(--peach-ink);font-size:13px;line-height:1.45}
.msg2:has(>.qcard){margin:18px 0 24px}
.qacts{display:flex;flex-wrap:wrap;gap:8px}
.qacts .b{min-height:32px;padding:0 12px;font-size:13px}
/* Under the toolbar: a line, then the question. It never makes the toolbar wider, and the toolbar never gets wide */
.box{max-width:min(600px,calc(100cqw - 16px))}
.boxq{position:relative;flex:0 0 100%;width:0;margin:3px 0 0;padding:16px 0 12px;white-space:normal;contain:inline-size}
.boxq:before{content:"";position:absolute;top:0;left:-3px;right:-3px;height:1px;background:var(--line)}
.boxq>*{margin-left:9px;margin-right:9px}
.boxq p{margin-top:0;margin-bottom:16px;font-size:14.5px;font-weight:500;line-height:1.45}
.boxq .qacts{margin-bottom:10px}
.boxq .qacts:last-child{margin-bottom:0}
.boxq .in{width:calc(100% - 18px);margin:0 9px}
.box .qacts .b{min-height:34px;padding:0 12px;border-radius:7px;font-size:13.5px}
.box .qacts .b.p,.box .qacts .b.p:hover{background:var(--pri);color:var(--onpri)}
.box .qacts .b.s{background:var(--soft)}
.box .qacts .b.s:hover{background:var(--line)}
.box .qacts .b.g{color:var(--muted)}
.qwait{display:flex;align-items:center;gap:9px;color:var(--muted)}

/* Create your own: the prompt box on top, ideas under it, the photo below */
.pickbody.making{display:flex;flex-direction:column}
.mkbox{flex:none;margin:2px 0 10px;padding:10px 10px 10px 14px;background:var(--surface);border:1px solid var(--line2);border-radius:14px;box-shadow:0 2px 12px rgba(31,30,27,.06)}.mkbox:focus-within{border-color:var(--muted)}
.mktext{display:block;width:100%;min-height:48px;padding:2px 0 8px;background:none;border:0;outline:0;resize:none;color:var(--text);font:400 14.5px/1.5 Geist,-apple-system,sans-serif}.mktext::placeholder{color:var(--muted)}
.mkrow{display:flex;align-items:center;gap:8px}.mkgo{margin-left:auto}
.mkmodel{position:relative}.mkpick{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 8px 0 10px;background:var(--soft);border:0;border-radius:7px;color:var(--text);font:inherit;font-size:13px;font-weight:500}
.mkpick:hover:not(:disabled){background:var(--line)}.mkpick:disabled{cursor:default}.mkpick small{color:var(--muted);font-weight:400}.mkpick svg{opacity:.45}
.mkmenu{position:absolute;left:0;top:calc(100% + 6px);z-index:5;width:300px;padding:4px;background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow)}
.mkmenu button{display:flex;align-items:center;gap:8px;width:100%;min-height:36px;padding:6px 10px;background:none;border:0;border-radius:7px;color:var(--text);font:inherit;text-align:left}.mkmenu button:hover{background:var(--hover)}
.mkmenu .mkn{flex:1;min-width:0}.mkmenu small{color:var(--muted);font-size:12.5px}.mkmenu .tick{display:flex;width:16px}
.mkchips{flex:none;display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.mkchips button{min-height:32px;padding:0 12px;background:var(--surface);border:1px solid var(--line2);border-radius:16px;color:var(--text);font:inherit;font-size:13px}.mkchips button:hover{background:var(--hover)}
.mkstage{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:4px 0 8px}
.mkframe{--r:1.5;position:relative;width:100%;max-width:560px;aspect-ratio:var(--r);max-height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:12px}
.mkframe img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.mkx{position:absolute;top:10px;right:10px;z-index:2;display:flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0;background:rgba(0,0,0,.42);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:0;border-radius:50%;color:#fff;cursor:pointer;opacity:.8;transition:opacity .15s,background .15s}.mkx:hover,.mkx:focus-visible{opacity:1;background:rgba(0,0,0,.6)} /* takes the photo off the stage */
.mkempty{display:flex;flex-direction:column;align-items:center;gap:10px;color:var(--text);font-size:13.5px;opacity:.1}
.mkframe.busy{background:var(--soft)}.mkframe.busy:after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.45) 50%,transparent 70%);background-size:220% 100%;animation:mkshine 1.3s linear infinite}
@keyframes mkshine{from{background-position:160% 0}to{background-position:-60% 0}}
.mkwork{position:absolute;left:50%;bottom:14px;z-index:2;display:flex;align-items:center;gap:10px;padding:5px 5px 5px 12px;background:var(--surface);border-radius:9px;box-shadow:var(--shadow);color:var(--text);white-space:nowrap;transform:translateX(-50%)}
.mkwork .spinner{width:14px;height:14px}
.mkdots{display:flex;align-items:center;gap:6px}.mkdot{width:7px;height:7px;padding:0;background:var(--line2);border:0;border-radius:4px;cursor:pointer;transition:width .25s ease,background .25s ease}.mkdot.on{width:22px;background:var(--text)}
@media(prefers-reduced-motion:reduce){.mkframe.busy:after{animation:none}}
/* Usage and limit: the dates in the top bar, their calendar, the spending chart and page numbers */
.rangewrap{position:relative;flex:none}
.rangeb{gap:7px;padding:0 9px 0 10px;font-weight:500}
.rangeb svg{color:var(--muted)}
.pop.rangepop{top:calc(100% + 6px);left:auto;right:0;width:224px;max-height:none}
.rangepop .pg svg{color:var(--text)}
.pop.rangepop.calon{width:300px;padding:12px}
.calhead{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.calhead b{font-weight:600}
.calgrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));row-gap:2px}
.calgrid .wd{display:flex;align-items:center;justify-content:center;height:28px;font-size:12px;font-weight:500;color:var(--muted)}
.calgrid button{height:34px;padding:0;background:none;border:0;border-radius:7px;color:var(--text);font:inherit;font-size:13px;font-variant-numeric:tabular-nums}
.calgrid button:hover{background:var(--hover)}
.calgrid button:disabled{color:var(--muted);opacity:.35;cursor:default;background:none}
.calgrid button.blank{visibility:hidden}
.calgrid button.mid{background:var(--soft);border-radius:0}
.calgrid button.edge{background:var(--pri);color:var(--onpri)}
.calgrid button.edge.a.span{border-radius:7px 0 0 7px}
.calgrid button.edge.b.span{border-radius:0 7px 7px 0}
.calgrid button.today:not(.edge){font-weight:600}
.calfoot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}
.calfoot .note{font-size:13px;white-space:nowrap}
.usage>*+*{margin-top:16px}
.usage>.sh{margin:26px 0 10px}
.usage>.sh:first-child{margin-top:0}
.usage>.sh+*{margin-top:0}
.sh .note{font-size:13px}
.limrow{display:flex;align-items:center;justify-content:space-between;gap:12px}
.limrow .note{font-size:13px}
.chart{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:10px;padding-top:6px}
.yax{display:flex;flex-direction:column;justify-content:space-between;height:170px;margin:-7px 0;font-size:11.5px;color:var(--muted);text-align:right;font-variant-numeric:tabular-nums}
.plot{display:flex;align-items:flex-end;gap:6px;height:170px;border-bottom:1px solid var(--line2);background:linear-gradient(to bottom,var(--line) 1px,transparent 1px) 0 0/100% 50%}
.bar{flex:1;min-width:0;height:100%;display:flex;align-items:flex-end;justify-content:center}
.bar i{display:block;width:100%;max-width:44px;background:var(--accent);opacity:.75;border-radius:4px 4px 0 0;transition:opacity .12s}
.bar:hover i{opacity:1}
.xl{display:flex;gap:6px;margin-top:6px}
.xl span{flex:1;min-width:0;display:flex;justify-content:center;font-size:11.5px;color:var(--muted);white-space:nowrap}
.pager{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
.pager .note{font-size:13px;font-variant-numeric:tabular-nums}
.pnums{display:flex;flex-wrap:wrap;align-items:center;gap:4px}
.pnums .b{gap:4px}
.pnums .b svg{color:var(--muted)}
.pnum{min-width:34px;height:34px;padding:0 6px;background:none;border:1px solid transparent;border-radius:7px;color:var(--muted);font:inherit;font-weight:500;font-variant-numeric:tabular-nums}
.pnum:hover{background:var(--hover);color:var(--text)}
.pnum.on{background:var(--surface);border-color:var(--line2);color:var(--text)}
.pnum:disabled{background:none;color:var(--muted);cursor:default}
@media(max-width:640px){.tleft>.bd{display:none}}

/* Change photo: a big window, the search bar on top, photos in their own shapes going under it */
.scrim:has(>.modal.photopick){padding-top:32px}
.modal.wide.photopick{max-width:1120px;height:calc(100dvh - 64px);padding-bottom:16px}
.modal.photopick .pickbody:not(.making){display:flex;flex-direction:column;overflow:hidden;padding:0}
.pkscroll{--pad:20px;--inset:0px;position:relative;flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;margin:0 calc(0px - var(--pad));padding:12px calc(var(--pad) + var(--inset) - var(--sbw,0px)) 8px calc(var(--pad) + var(--inset))}.pkscroll.inset{--inset:14px} /* the scrollbar sits in the right padding, so the photos line up with the search bar */
.pkscroll,.modal.photopick .pickbody{scrollbar-width:thin;scrollbar-color:var(--line2) transparent}
.pkscroll::-webkit-scrollbar,.modal.photopick .pickbody::-webkit-scrollbar{width:12px}
.pkscroll::-webkit-scrollbar-track,.modal.photopick .pickbody::-webkit-scrollbar-track{background:transparent}
.pkscroll::-webkit-scrollbar-thumb,.modal.photopick .pickbody::-webkit-scrollbar-thumb{background:var(--line2);border:4px solid var(--surface);border-radius:8px}
.pkscroll::-webkit-scrollbar-thumb:hover{background:var(--focus)}
.sbar{position:relative;flex:none}
.sbar .in{margin:0;height:46px;padding:0 80px 0 16px;background:var(--soft);border-color:transparent;border-radius:11px;font-size:15px;-webkit-appearance:none;appearance:none}.sbar .in:focus{border-color:transparent;background:color-mix(in srgb,var(--soft) 55%,var(--line))}
.sbar .in::-webkit-search-cancel-button,.sbar .in::-webkit-search-decoration{-webkit-appearance:none;appearance:none;display:none}
.sbar .sgo{position:absolute;top:50%;right:6px;display:flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;background:none;border:0;border-radius:7px;color:var(--muted);transform:translateY(-50%);transition:background .12s,color .12s}
.sbar .sgo:hover{background:var(--hover);color:var(--text)}
.sbar .sclear{position:absolute;top:50%;right:46px;display:flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;background:color-mix(in srgb,var(--muted) 45%,transparent);border:0;border-radius:50%;color:var(--surface);transform:translateY(-50%);transition:background .12s}
.sbar .sclear:hover{background:var(--muted)}
.sbar .sclear svg{stroke-width:2.8}
.sbar .sclear[hidden]{display:none}
.photopick .pfind{margin:0 0 10px}
.pidle{flex:1;display:flex;align-items:center;justify-content:center}
.photopick .masonry{gap:10px}.photopick .mcol{gap:10px}
.photopick .tile .pic{cursor:pointer}
.photopick .upl{aspect-ratio:4/3}
/* A video's poster, From the video: its own pictures (cover and three moments), two to a row, 16:9, chosen with a ring.
   The small ones above Create with AI's box are the same pictures to start from. */
.vstills{flex:1;min-height:0;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:14px;padding:2px}
.vstill{display:flex;flex-direction:column;gap:8px;padding:0;background:none;border:0;color:var(--text);text-align:left;cursor:pointer}
.vstill img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:10px;background:var(--soft);transition:box-shadow .2s}
.vstill:hover img{box-shadow:0 0 0 2px var(--line2)}
.vstill.on img{box-shadow:0 0 0 2px var(--pri)}
.vstn{font-size:12.5px;color:var(--muted)}
.vstill.sm{width:96px;flex:none}
.vstill.sm img{border-radius:7px}
.vstill:disabled{cursor:default;opacity:.5}
.vstill.sm{position:relative}
.vstill.sm.on img{box-shadow:0 0 0 2px var(--pri)}
/* The tick on a chosen picture, everywhere (owner, 2026-11-06): a black circle, a white tick and a thin white ring inside
   it (dark mode: the reverse), so it shows on light and dark pictures alike. --tk sets its size. */
.vtick{--tk:20px;position:absolute;top:5px;right:5px;z-index:2;display:grid;place-items:center;width:var(--tk);height:var(--tk);border-radius:50%;background:var(--pri);color:var(--onpri);box-shadow:inset 0 0 0 1.5px var(--onpri),0 1px 3px rgba(0,0,0,.28);pointer-events:none}
/* the same circle, empty: a picture that can be ticked */
.vring{--tk:20px;position:absolute;top:5px;right:5px;z-index:2;width:var(--tk);height:var(--tk);border-radius:50%;background:rgba(0,0,0,.12);box-shadow:inset 0 0 0 1.5px #FFFFFF,0 1px 3px rgba(0,0,0,.28);pointer-events:none}
/* the picture on Create's stage opens full screen on a click */
.mkzoom{position:absolute;inset:0;padding:0;background:none;border:0;cursor:zoom-in}
.vfrom{flex:none;margin:0 0 12px}
.vfrom .lab{margin:0 0 8px}
.vfromrow{display:flex;flex-wrap:wrap;gap:8px}
.pfoot .pleft .b svg{margin-right:2px}
/* Your photos, opened from the box: a second window, each photo in its own shape, the slim bar on the window's edge */
.scrim:has(>.modal.pklib){align-items:center;padding-top:20px}
.modal.wide.pklib{max-width:640px;height:min(520px,calc(100dvh - 96px))}
.pklib .phead2{margin-bottom:14px}
.modal.wide.pklib .pickbody{margin:0 -20px;padding:2px 20px 12px;overflow:auto}
.pklib .pickbody::-webkit-scrollbar{width:10px}
.pklib .pickbody::-webkit-scrollbar-track{background:transparent;margin:6px 0}
.pklib .pickbody::-webkit-scrollbar-thumb{min-height:40px;background:transparent;background-clip:padding-box;border:3px solid transparent;border-radius:10px}
.pklib:hover .pickbody::-webkit-scrollbar-thumb{background-color:var(--line2)}
.pklib .pickbody::-webkit-scrollbar-thumb:hover{background-color:var(--focus)!important}
@supports not selector(::-webkit-scrollbar){.pklib .pickbody{scrollbar-width:thin;scrollbar-color:var(--line2) transparent}}
.pklibcols{columns:3;column-gap:10px}
.pklibpic{display:block;width:100%;margin:0 0 10px;padding:0;overflow:hidden;background:var(--soft);border:0;border-radius:8px;break-inside:avoid;cursor:pointer;transition:box-shadow .2s}
.pklibpic:hover{box-shadow:0 0 0 2px var(--line2)}
.pklibpic img{display:block;width:100%;height:auto}
/* The video window's poster: large, with a very faint edge and "Change poster" on it; the title and channel under it (owner, 2026-11-06) */
.vposter{margin:2px 0 6px}
.vpframe{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:9px;background:var(--soft)}
.vpframe img,.vpframe .nothumb{display:block;width:100%;height:100%;object-fit:cover}
.vpframe::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--text) 10%,transparent);pointer-events:none}
.vpframe .b{position:absolute;z-index:1;right:10px;bottom:10px;box-shadow:0 1px 3px rgba(0,0,0,.18)}
.vptext{display:flex;flex-direction:column;gap:1px;margin-top:10px;line-height:1.35}
.vptext b{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vptext small{font-size:12.5px;color:var(--muted)}
.modal.viewer.solo .vstage img{max-height:calc(100% - 92px)}
.vuse{flex:none;margin-top:2px}.b.p.vuse{min-height:38px;padding:0 16px;background:#fff;border-color:#fff;color:#18181B}.b.p.vuse:hover{background:#fff;opacity:.88}
@media(max-width:700px){.scrim:has(>.modal.photopick){padding:8px}.modal.wide.photopick{height:calc(100dvh - 16px);padding:14px 14px 12px}.pkscroll{--pad:14px;padding-top:10px}.photopick .masonry,.photopick .mcol{gap:8px}}
/* Tile buttons: no border, the same size; tabs in the middle; Large or Small at the foot */
.tile .ic.boxed,.tile .ic.boxed:hover{border-color:transparent}
.modal.photopick .phead2{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
.modal.photopick .phead2 .seg{grid-column:2}
.pleft{display:flex;align-items:center;gap:14px;min-width:0}
.seg.sizes button{min-height:28px;padding:0 10px;font-size:13px}
.seg.sizes[hidden]{display:none}
.pkfade{position:sticky;top:-12px;z-index:2;height:34px;margin:-12px calc(0px - var(--pad) - var(--inset)) -22px;background:linear-gradient(var(--surface),color-mix(in srgb,var(--surface) 0%,transparent));opacity:0;pointer-events:none;transition:opacity .2s}
.pkscroll.scrolled .pkfade{opacity:1}
/* Soft boxes with no border, for searching and describing */
.search .in,.photopick .mkbox{background:var(--soft);border-color:transparent;box-shadow:none}
.search .in:focus,.photopick .mkbox:focus-within{border-color:transparent;background:color-mix(in srgb,var(--soft) 55%,var(--line))}
/* Create your own: the photo takes the room there is */
.photopick .mkstage{container-type:size}
.photopick .mkframe{max-width:none;width:min(100%,calc((100cqh - 36px) * var(--r)))}
@media(max-width:640px){.modal.photopick .phead2{display:flex}.pkscroll.inset{--inset:6px}.pleft .pcredit{display:none}}
/* The filter button at the top right of the photo window, and its menu */
.modal.photopick .phead2{position:relative}
.pfright{grid-column:3;justify-self:end;display:flex}
.pfilter{position:relative;width:36px;height:36px;color:var(--muted)}
.pfilter[hidden]{display:none}
.pfilter.on{background:var(--hover);color:var(--text)}
.pfilter.set{color:var(--text)}
.pfilter.set::after{content:"";position:absolute;top:7px;right:7px;width:7px;height:7px;border-radius:50%;background:var(--text);box-shadow:0 0 0 2px var(--surface)}
.fmenu{position:absolute;right:0;top:calc(100% + 4px);z-index:6;width:290px;max-height:min(70vh,540px);overflow:auto;padding:4px;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}
.fmenu[hidden]{display:none}
.fmenu>b{display:block;padding:10px 10px 4px;font-size:12px;font-weight:500;color:var(--muted)}
.fmenu>b:first-child{padding-top:6px}
.fmenu [role=menuitemradio]{display:flex;align-items:center;gap:8px;width:100%;min-height:36px;padding:6px 10px;background:none;border:0;border-radius:7px;color:var(--text);font:inherit;text-align:left}
.fmenu [role=menuitemradio]:hover{background:var(--hover)}
.fmenu .tick{display:flex;flex:none;width:16px}.fmenu .mkn{flex:1;min-width:0}
.frow{display:flex;align-items:center}.frow [role=menuitemradio]{flex:1}.frow small{flex:none;padding-right:10px;color:var(--muted);font-size:12.5px}
.swatches{display:flex;flex-wrap:wrap;align-items:center;gap:9px;padding:6px 10px 10px}
.swatch{flex:none;width:24px;height:24px;padding:0;border:1px solid color-mix(in srgb,var(--text) 14%,transparent);border-radius:50%;transition:box-shadow .12s}
.sw0{flex:none;height:24px;padding:0 9px;background:none;border:1px solid var(--line2);border-radius:12px;color:var(--text);font:inherit;font-size:12.5px}
.swatch.on,.sw0.on{box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--text)}
.c-black_and_white{background:linear-gradient(135deg,#fff 50%,#1b1b1b 50%)}.c-black{background:#1b1b1b}.c-white{background:#fff}.c-yellow{background:#EFC547}.c-orange{background:#EE8E3E}.c-red{background:#D9483B}
.c-purple{background:#8A5BC6}.c-magenta{background:#C9399A}.c-green{background:#4AA36A}.c-teal{background:#27A0A0}.c-blue{background:#3A78D4}
.fclear{display:block;width:100%;margin-top:4px;padding:10px;background:none;border:0;border-top:1px solid var(--line);border-radius:0 0 8px 8px;color:var(--text);font:inherit;font-weight:500;text-align:left}
.fclear:hover{background:var(--hover)}
@media(max-width:640px){.modal.photopick .phead2{flex-wrap:wrap}.modal.photopick .phead2 h2{flex:1}.modal.photopick .pfright{order:2}.modal.photopick .phead2 .seg{order:3}.fmenu{top:44px;width:min(290px,calc(100vw - 48px))}}
/* Chosen filters as pills, Select and Delete beside the filter button */
.pfright{align-items:center;gap:8px;min-width:0;flex-wrap:wrap;justify-content:flex-end}
.fpill{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 7px 0 10px;background:var(--soft);border:0;border-radius:8px;color:var(--text);font:inherit;font-size:13px;font-weight:500;white-space:nowrap;transition:background .12s}
.fpill:hover{background:var(--line)}
.fpill svg{color:var(--muted)}
.fpill .swatch{width:12px;height:12px}
.pfright .b{min-height:34px}
/* Selecting photos: the empty circle at the top left (as .vring), black with a white tick once chosen (as .vtick) */
.tile .selc{position:absolute;top:10px;left:10px;z-index:2;width:22px;height:22px;border-radius:50%;background:rgba(0,0,0,.12);box-shadow:inset 0 0 0 1.5px #FFFFFF,0 1px 3px rgba(0,0,0,.28);pointer-events:none}
.tile.picked .selc{background:var(--pri);box-shadow:inset 0 0 0 1.5px var(--onpri),0 1px 3px rgba(0,0,0,.28)}
.tile.picked .selc::after{content:"";position:absolute;left:8px;top:5px;width:5px;height:9px;border:solid var(--onpri);border-width:0 1.8px 1.8px 0;transform:rotate(45deg)}
.tile.picked .pic{outline-color:var(--text)}
.tile.choosing .t-big,.tile.choosing .t-del,.tile.locked .t-big,.tile.locked .t-del{display:none}
.tile.locked .pic{opacity:.4;cursor:not-allowed}
/* Filter panel, second pass: segmented choices, clean round swatches, a funnel you can see */
.fmenu{width:480px;padding:6px 6px 8px} /* wide enough for the colours in one row with room between them (owner, 2026-11-06) */
.fmenu>b{padding:12px 10px 6px}
.fmenu .seg{display:flex;margin:0 10px 4px}
.fmenu .seg button{flex:1 1 auto;min-height:32px;padding:0 10px;white-space:nowrap}
.swatches{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:12px;padding:6px 12px 10px}
.swatch{width:26px;height:26px;border:0;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--text) 14%,transparent);cursor:pointer}
.swatch.on{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--text) 14%,transparent),0 0 0 2px var(--surface),0 0 0 3.5px var(--text)}
.swatch:hover:not(.on){box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--text) 14%,transparent),0 0 0 2px var(--surface),0 0 0 3.5px var(--line2)}
.c-any{background:conic-gradient(#D9483B,#EE8E3E,#EFC547,#4AA36A,#27A0A0,#3A78D4,#8A5BC6,#C9399A,#D9483B)}
.c-black_and_white{background:linear-gradient(90deg,#fff 50%,#1b1b1b 50%)}
.fpill .swatch{width:12px;height:12px;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--text) 14%,transparent)}
.pfilter{color:var(--text)}
.pfilter svg{stroke-width:1.8}
@media(max-width:640px){.fmenu{width:calc(100vw - 48px);overflow-x:hidden}.swatches{display:grid;grid-template-columns:repeat(6,1fr);justify-items:center;gap:12px 0}.modal.photopick .fmenu .seg{width:auto;margin:0 6px 4px}.fmenu .seg button{flex:1 1 0;min-width:0;padding:0 4px;font-size:13px}}
/* Chosen filters sit beside the buttons on a wide window, and on their own row under the header when it's narrower */
.pfright{flex-wrap:nowrap}
.fpills,.pfacts{display:flex;align-items:center;gap:8px}
.fpills[hidden]{display:none}
@media(max-width:1100px){.modal.photopick .pfright{display:contents}.modal.photopick .pfacts{grid-column:3;grid-row:1;justify-self:end}.modal.photopick .fpills{grid-column:1/-1;grid-row:2;justify-self:end;flex-wrap:wrap;justify-content:flex-end;margin-top:-4px}}
@media(max-width:640px){.modal.photopick .pfacts{order:2}.modal.photopick .fpills{order:4;width:100%;margin-top:0}}
/* ===== The photo windows: Poster (a video's poster) and Change photo, the same design (owner, 2026-11-06) =====
   Canvas page 1, boards 14 (Poster) and 15 (the ripple); page 4, board 1 (Change photo). Side by side, 1040px wide, 70px from the top, one fixed
   height on every tab. Its ground is the page's own background, a shade off white, so the white boxes in it stand out. */
.scrim:has(>.modal.vpk){align-items:flex-start;padding-top:70px}
.modal.wide.photopick.vpk{max-width:1040px;height:min(680px,calc(100dvh - 140px));background:var(--bg)}
/* The title row: Poster on the left; on the right the filter (Image library, Find photos) and a thin, dim close that
   does what Cancel does. The tabs sit on their own line close under it. */
.modal.photopick.vpk .phead2{display:flex;flex-wrap:wrap;align-items:center;row-gap:8px;margin-bottom:16px}
.modal.photopick.vpk .phead2 h2{flex:1;display:flex;align-items:center;min-height:36px}
.modal.photopick.vpk .phead2 .pfright{display:flex;flex-wrap:nowrap;align-items:center;gap:4px;margin-right:-6px}
.pkfwrap{position:relative;display:flex}
.pkfwrap .fmenu{top:calc(100% + 6px);right:0;z-index:8}
.pkx{width:36px;height:36px;color:var(--muted);opacity:.75}
.pkx:hover{background:var(--hover);color:var(--text);opacity:1}
/* Tabs: full width, four equal parts, a 20px icon with each word, the white knob slides (.seg.slide); a little taller */
.modal.photopick.vpk .phead2>.seg.pktabs{order:3;display:grid;flex:1 1 100%;width:100%}
.seg.slide.pktabs button,.seg.slide.pktabs button.on{flex:none;gap:8px;min-height:38px;font-size:13.5px}
.seg.pktabs button svg{flex:none}
.seg.pktabs button span{overflow:hidden;text-overflow:ellipsis}
/* The body: the other tabs scroll up and down inside it, never sideways */
.modal.wide.photopick.vpk .pickbody{flex:1 1 0;min-height:0;overflow-x:hidden}
.modal.photopick.vpk .pickbody.making{display:flex;overflow:hidden;padding:0}
/* Video thumbnails: the cover and three moments, two to a row; the chosen one gets the tick, the others a touch faint */
.vpk .vstills{padding-bottom:14px;overflow-x:hidden}
.vpk .vstills .vstill{position:relative}
.vpk .vstills .vstill img{opacity:.9;transition:opacity .15s}
.vpk .vstills .vstill:hover img,.vpk .vstills .vstill.on img{opacity:1;box-shadow:none}
.vpk .vstills .vstill .vtick{--tk:22px;top:10px;right:10px}
.vpk .vstillw .t-big{right:auto;left:10px} /* See it larger moves to the left, clear of the tick */
/* While the video's pictures load: the spinner above, only the words faint */
.pkload{display:flex;flex-direction:column;align-items:center;gap:12px;color:var(--text);font-size:13.5px}
.pkload .spinner{width:20px;height:20px}
.pkloadt{opacity:.45}
/* Image library and Find photos: four columns; the chosen photo gets the tick, not a ring; See it larger on the left */
.vpk .tile.on .pic{outline-color:transparent}
.vpk .tile .vtick{--tk:22px;top:10px;right:10px}
.vpk .tile .t-big{right:auto;left:10px}
.vpk .sbar .in,.vpk .sbar .in:focus{background:var(--surface);border:1px solid var(--line2);border-radius:8px}
.vpk .sbar .in:focus{border-color:var(--focus)}
/* Create with AI: the words and pictures on the left, the poster on the right; the left never scrolls as a whole */
.pkcols{display:grid;grid-template-columns:340px minmax(0,1fr);gap:28px;flex:1;min-height:0;padding:2px 0 14px}
.pkleft{display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:0 2px 2px}
.pkleft>.pkunder,.pkleft>.pkrefs,.pkleft>.pfind{flex:none}
.pkleft>.pfind:empty{display:none}
.pkleft>.pfind{margin:12px 0 0}
/* The prompt box (the chat's .aibox, .aiin, .aifoot): it grows line by line until the column is full, then only it
   scrolls. Its bar sits on its right edge; scrolled words run up to its top edge; at the bottom they fade into the bar
   under them, the fade flush on it so nothing shows below. */
.pkbox{display:flex;flex-direction:column;flex:0 1 auto;min-height:0;margin:0;padding:0 3px 8px 0;border-radius:10px}
.pkfield{position:relative;display:flex;flex-direction:column;flex:0 1 auto;min-height:79px;overflow:hidden}
.pkfield::after{content:"";position:absolute;left:0;right:12px;bottom:0;z-index:1;height:28px;background:linear-gradient(color-mix(in srgb,var(--surface) 0%,transparent),var(--surface));pointer-events:none;opacity:0;transition:opacity .15s}
.pkfield.fbot::after{opacity:1}
.pkbox .aiin{flex:1 1 auto;min-height:0;max-height:none;padding:12px 11px 8px 14px;line-height:21px;field-sizing:content}
.pkbox .aiin::-webkit-scrollbar{width:10px}
.pkbox .aiin::-webkit-scrollbar-track{margin:10px 0}
.pkbox .aiin::-webkit-scrollbar-thumb{min-height:32px;border:3px solid transparent;background-clip:padding-box;background-color:var(--line2)}
.pkbox .aifoot{flex:none;margin-top:0;padding:0 8px 0 14px}
/* Add a photo opens below its button */
.pkadd{position:relative}
.pkadd .pop.addmenu{inset:calc(100% + 6px) auto auto -6px;width:210px;border-radius:6px}
.pkadd .addmenu button,.pkadd .addmenu label{border-radius:4px}
.pkadd .addmenu label{display:flex;align-items:center;gap:9px;width:100%;min-height:36px;padding:0 9px;color:var(--text);font-weight:500;cursor:pointer}
.pkadd .addmenu label:hover{background:var(--hover)}
/* Under the box: the count on the left (red at the limit, where typing stops), the model on the right, no price */
.pkunder{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:30px;margin-top:6px}
.pkcount{padding-left:3px;font-size:12.5px;color:var(--muted);font-variant-numeric:tabular-nums}
.pkcount.full{color:var(--bad);font-weight:500}
.pkmodel .mkpick{padding:0 2px 0 6px;background:none;font-weight:400;opacity:.9;transition:opacity .15s}
.pkmodel .mkpick:hover:not(:disabled){background:none;opacity:1}
.pkmodel .mkmenu{left:auto;right:0}
/* References: four across, squares cut from the middle of each picture; the ones not ticked a little faint, with the
   empty circle; ticked and empty circles the same size in the same place */
.vfrom.pkrefs{margin:18px 0 0}
.pkrefs .lab{margin:0 0 8px}
.pkrefs .vfromrow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.pkref.vstill.sm{position:relative;width:auto;flex:none}
.pkref .vstimg{display:block;aspect-ratio:1;overflow:hidden;border-radius:6px;background:var(--soft);opacity:.7;transition:opacity .15s}
.pkref:hover .vstimg,.pkref.on .vstimg{opacity:1}
.vpk .pkref.vstill img,.vpk .pkref.vstill:hover img,.vpk .pkref.vstill.on img{width:100%;height:100%;aspect-ratio:auto;object-fit:cover;border-radius:0;box-shadow:none}
.pkref .vtick,.pkref .vring{--tk:16px;top:6px;right:6px}
/* The poster: no ground around it; as wide as its column, in its own shape, top aligned with the box. --pkroom is the
   height it may take, leaving room for the versions under it. */
.pkright{--pkroom:calc(100cqh - 64px);position:relative;container-type:size;display:flex;flex-direction:column;align-items:center;min-height:0}
.pkph{position:relative;width:min(100cqw,var(--pkroom) * 1.778);aspect-ratio:16/9;overflow:hidden;border-radius:8px}
.pkph canvas{display:block;width:100%;height:100%;color:var(--text)} /* the ripple, drawn in the text colour on nothing */
.pkph.idle{display:flex;align-items:center;justify-content:center;border:1px dashed var(--line2)}
.pkphx{display:flex;flex-direction:column;align-items:center;gap:10px;font-size:13.5px;color:var(--muted)}
.pkshot{position:relative;width:fit-content;max-width:100%;overflow:hidden;border-radius:8px;line-height:0}
.pkshot>img{display:block;width:auto;height:auto;max-width:100cqw;max-height:var(--pkroom)}
.pkshot .mkzoom{z-index:1}
.pkbig{position:absolute;top:10px;right:10px;z-index:2;box-shadow:0 1px 2px rgba(0,0,0,.14);opacity:0;pointer-events:none;transition:opacity .15s,background .12s}
.pkshot:hover .pkbig,.pkshot:focus-within .pkbig{opacity:1;pointer-events:auto}
@media(hover:none){.pkbig{opacity:1;pointer-events:auto}}
/* Versions: once there are two, a small square of each under the poster; the one on show has a thin ring, the others are
   a little faint; a new one being made waits at the end as a softly shining square */
.pkthumbs{display:flex;justify-content:center;gap:8px;margin-top:12px}
.pkthumb{position:relative;flex:none;width:44px;height:44px;padding:0;overflow:hidden;background:var(--soft);border:0;border-radius:6px;opacity:.55;outline:1.5px solid transparent;outline-offset:2px;cursor:pointer;transition:opacity .15s,outline-color .15s}
.pkthumb img{display:block;width:100%;height:100%;object-fit:cover}
.pkthumb:hover:not(:disabled){opacity:1}
.pkthumb:disabled{cursor:default}
.pkthumb.on{opacity:1;outline-color:var(--text)}
.pkthumb.wait{opacity:1;background:linear-gradient(100deg,var(--soft) 30%,color-mix(in srgb,var(--surface) 80%,var(--soft)) 50%,var(--soft) 70%);background-size:250% 100%;animation:mkshine 1.6s linear infinite}
/* Narrower windows: the two columns stack and the body scrolls; on phones the tabs show their icons alone */
@media(max-width:900px){
  .scrim:has(>.modal.vpk){padding:16px}
  .modal.wide.photopick.vpk{height:calc(100dvh - 32px)}
  .modal.photopick.vpk .pickbody.making{overflow-y:auto}
  .pkcols{grid-template-columns:minmax(0,1fr);gap:20px;flex:none;min-height:auto}
  .pkleft{overflow:visible}
  .pkbox .aiin{max-height:231px}
  .pkright{--pkroom:56vh;container-type:inline-size}
}
@media(max-width:560px){.seg.pktabs button span{display:none}} /* phones: the icons alone; each tab keeps its name for screen readers */
@media(prefers-reduced-motion:reduce){.pkthumb.wait{animation:none}}

/* Every pop-up ends in a footer: a line across its whole width, Cancel on the left, the other buttons on the right (owner, 2026-11-04) */
.modal>.mact{margin:20px -20px -20px;padding:14px 20px;border-top:1px solid var(--line)}
.mact .cx{order:-1;margin-right:auto}
.modal>.mact .b.d:first-child{margin-right:0}
.modal.wide .pfoot{margin:0 -20px -20px;padding:14px 20px}

/* Receipts: the receipt drawn like its PDF, sized by its box so it shrinks with the window */
.rpbox{width:100%;min-width:0;container-type:inline-size}
.rpaper{--u:calc(100cqw / 612);position:relative;width:100%;aspect-ratio:612/792;padding:calc(52 * var(--u)) calc(72 * var(--u)) 0;overflow:hidden;background:#fff;color:#595959;border:1px solid var(--line);border-radius:4px;box-shadow:0 1px 2px rgba(31,30,27,.06),0 10px 30px rgba(31,30,27,.08);font:400 calc(10 * var(--u))/calc(13.5 * var(--u)) Helvetica,Arial,sans-serif;letter-spacing:0}
.rpaper .r-biz{color:var(--r-accent);font-size:calc(14 * var(--u));line-height:calc(18 * var(--u));font-weight:700}
.rpaper .r-who{margin-top:calc(22 * var(--u))}
.rpaper .r-name{display:block;color:var(--r-ink);font-size:calc(11.5 * var(--u));line-height:calc(15 * var(--u));font-weight:700}
.rpaper .r-rule{height:calc(1.25 * var(--u));margin-top:calc(19 * var(--u));background:var(--r-accent)}
.rpaper .r-title{margin-top:calc(14 * var(--u));color:var(--r-ink);font-size:calc(20 * var(--u));line-height:calc(23 * var(--u));font-weight:700}
.rpaper .r-sub{line-height:calc(14 * var(--u))}
.rpaper .r-info{margin:calc(47 * var(--u)) 0 0} /* the table runs margin to margin, as in the PDF */
.rpaper .r-head{padding-bottom:calc(3 * var(--u));border-bottom:calc(.6 * var(--u)) solid #A6A6A6;font-size:calc(8 * var(--u));line-height:calc(10 * var(--u));font-weight:700;margin-bottom:calc(6 * var(--u))}
.rpaper .r-row{display:grid;grid-template-columns:calc(115 * var(--u)) 1fr;align-items:baseline;min-height:calc(14.5 * var(--u))}
.rpaper .r-lab{font-size:calc(7.5 * var(--u));font-weight:700}
.rpaper .r-val{color:var(--r-accent);font-size:calc(10.5 * var(--u));line-height:calc(14.5 * var(--u))}
.rpaper .r-val.r-plain{color:#262626}.rpaper .r-val.r-amt{font-weight:700}
.rpaper .r-end{margin-top:calc(3 * var(--u));border-top:calc(.6 * var(--u)) solid #D9D9D9}
.rpaper .r-note,.rpaper .r-thanks{margin:calc(8 * var(--u)) 0 0;font-size:calc(8.5 * var(--u));line-height:calc(12 * var(--u))}
.rpaper .r-note{font-style:italic}.rpaper .r-thanks{margin-top:0}
.rpaper .r-foot{position:absolute;left:calc(72 * var(--u));right:calc(72 * var(--u));bottom:calc(30 * var(--u));padding-top:calc(4 * var(--u));border-top:calc(.5 * var(--u)) solid #E5E5E5;color:#7F7F7F;font-size:calc(7 * var(--u));line-height:calc(9 * var(--u));text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rpaper .r-fill{display:inline-block;padding:0 calc(5 * var(--u));border-radius:calc(4 * var(--u));background:#EEF0FE;color:#4C5FE8;font:500 calc(9.5 * var(--u))/1.6 Geist,-apple-system,sans-serif;cursor:help}
/* Changing the words: a soft outline on hover, a clear one while typing; an empty line shows what it's for */
.rpaper .r-ed{border-radius:2px;outline:1.5px dashed transparent;outline-offset:2px;cursor:text;transition:outline-color .12s}
.rpaper .r-ed:hover{outline-color:#B9C2F5}.rpaper .r-ed:focus{outline:2px solid #4C5FE8;background:rgba(76,95,232,.04)}
.rpaper.editing .r-ed:empty::before{content:attr(data-empty);color:#A6A6A6;font-style:italic;font-weight:400}
.rno{font-weight:500;font-variant-numeric:tabular-nums}
.rowacts{display:inline-flex;align-items:center;gap:6px}
.g2in{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.rcell{display:flex;flex-direction:column;line-height:1.3}.rcell small{font-size:12px;color:var(--muted)}.rcell small.rsent{color:var(--ok)}

/* Payments: the menu down the left, a little narrower than Settings', so the tables have room beside the chat (owner, 2026-11-04) */
.subnav.slim{width:172px}
.cell2{display:flex;flex-direction:column;line-height:1.3}.cell2 small{font-size:12px;color:var(--muted)}.cell2 small.bad{color:var(--bad)}.cell2 small.warn{color:var(--warn)}
.stats.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.sect{margin:26px 0 10px;font-size:14px;font-weight:600}.sect:first-child{margin-top:0}
.subt{margin:-6px 0 10px;font-size:13px;color:var(--muted);opacity:.85}
.pad2{padding:14px 16px}
.li .lt2{color:var(--muted)}
.li .sub2,.rline .sub2{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.explain.bad{margin-bottom:16px;background:var(--badsoft);color:var(--bad)}
.tb .rowacts{justify-content:flex-end}
/* Edit and Delete, or a choice's ×, show when the row is pointed at (or reached by keyboard) */
tr.hov .show,.li.hov .show{opacity:0;transition:opacity .15s}
tr.hov:hover .show,tr.hov:focus-within .show,.li.hov:hover .show,.li.hov:focus-within .show{opacity:1}
@media(pointer:coarse){tr.hov .show,.li.hov .show{opacity:1}}
.addchoice{display:flex;justify-content:center;padding:8px;border-top:1px solid var(--line)}
.li.addline .in{flex:1;margin:0}
/* Next receipt: what the number does, and a used one caught as it's typed */
.li.top{align-items:flex-start}
.li .rt{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.in.nextno{width:130px;margin:0;text-align:right;font-variant-numeric:tabular-nums}
.nmsg{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--muted);text-align:right}.nmsg .bad{color:var(--bad)}
.li select.in{width:auto;max-width:300px;margin:0}
/* Send a receipt, Design and Email: what you change on the left with no box, thin dim lines between; the result on the right */
/* Every Payments page uses the page's full width; here the controls take a narrow column and the receipt or email the rest */
.ctlwrap{container-type:inline-size}
.ctlin{display:grid;grid-template-columns:minmax(240px,280px) minmax(0,1fr);gap:36px;align-items:start}
@container (max-width:640px){.ctlin{grid-template-columns:minmax(0,1fr)}}
.rctl{min-width:0}
.rctl>.lb,.rctl>.g2in,.rctl>.rline{margin:0;padding:14px 0;border-bottom:1px solid var(--hair)}
.rctl>:first-child{padding-top:0}.rctl>.lb:last-child,.rctl>.rline:last-child,.rctl>.g2in:last-child{border-bottom:0}
.rctl .g2in .lb{margin:0}
.rctl .lb small{display:block;font-weight:400;font-size:12.5px;color:var(--muted)}
.rline{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:34px}.rline b{font-weight:500}
/* Receipt design: Colours and the parts in an accordion like the Website's sections; opening one folds the other shut */
.racc{--sepline:color-mix(in srgb,var(--hair) 70%,var(--surface))}
.racc .row{margin:0}.racc .rowtop{padding:0 10px}
.racc .nm{cursor:pointer}
.racc .more{padding:2px 10px 12px}
.racc .rline{min-height:34px;font-weight:400}
.racc .rown{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.racc .li{display:block;min-height:0;padding:0;border:0}
/* Each part's row is its switch: a soft grey on hover, like the menu on the left */
.racc .rline.tog{margin:0 -8px;padding:0 8px;border-radius:7px;cursor:pointer;transition:background-color .15s ease}
.racc .rline.tog:hover{background:var(--hover)}
.racc .lsum{display:flex;align-items:center;gap:4px}.racc .rdot{width:14px;height:14px;border-radius:4px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.12)}
/* Moving the table's rows: a grip beside each row's switch, shown on hover; the lifted row floats over the rest */
.rorder>[data-key]{position:relative;border-radius:7px}
.racc .rline>span:first-child{flex:1;min-width:0} /* the name always starts at the left edge, lined up with the rows above */
.racc .rline .hacts{display:flex;align-items:center;gap:4px}
.racc .rorder .grip{width:22px;height:24px;margin:0 2px 0 0;padding:0;background:none;border:0;opacity:0}
.racc .rorder>[data-key]:hover .grip,.racc .rorder .grip:focus-visible,.rorder>.lifting .grip{opacity:1}
@media(hover:none){.racc .rorder .grip{opacity:.6}}
.rorder>.lifting{z-index:5;background:var(--surface);box-shadow:0 8px 22px rgba(31,30,27,.14)}
.rorder>.lifting .rline.tog:hover{background:none}
.raddrow{display:flex;justify-content:center;padding-top:8px}
/* Under the receipt: Reset on the left, Download sample on the right */
/* Full screen: the button sits at the receipt's top right and shows on hover; the window shows it as large as the screen allows */
.rpbox{position:relative}
.rpbox .rpbig{position:absolute;z-index:1;top:10px;right:10px;box-shadow:0 1px 2px rgba(0,0,0,.14);opacity:0;pointer-events:none;transition:opacity .15s,background .12s,color .12s}
.rpbox:hover .rpbig,.rpbox:focus-within .rpbig{opacity:1;pointer-events:auto}
@media(hover:none){.rpbox .rpbig{opacity:1;pointer-events:auto}}
.modal.rfull{max-width:min(900px,calc((100dvh - 150px) * 612 / 792 + 42px));max-height:none;overflow:visible}
.rpfull{container-type:inline-size}.rpfull .rpaper{box-shadow:none}
/* The lines that fill in, on the Design page: realistic words; a click says where they come from */
.rpaper button.r-sample{padding:0;background:none;border:0;border-radius:2px;font:inherit;text-align:left;cursor:pointer;text-decoration:underline dotted color-mix(in srgb,currentColor 45%,transparent);text-underline-offset:calc(3 * var(--u))}
.rpaper button.r-sample:hover{text-decoration-color:currentColor;background:rgba(76,95,232,.06)}
.pmenu.rabout{width:280px;padding:6px}
.rabout p{margin:6px 8px 8px;font-size:13px;line-height:1.45;color:var(--muted);white-space:normal}
.rabout .rchoices{padding-top:4px;border-top:1px solid var(--line)}
.rabout button{align-items:flex-start;min-height:0;padding:8px 10px;white-space:normal}
.rabout .rcheck{flex:none;display:flex;width:15px;height:18px;align-items:center;color:var(--text)}
.rabout .rpick{display:flex;flex-direction:column;gap:2px;min-width:0}.rabout .rpick small{font-weight:400;font-size:12.5px;color:var(--muted)}
.rpbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}
/* The part a row points at lights up on the receipt: a soft blue wash and outline that fade in */
.rpaper .r-ed,.rpaper .r-row{transition:outline-color .15s,background-color .15s,box-shadow .15s}
.rpaper .hl,.rpaper .r-ed.hl{outline:1.5px solid #4C5FE8;outline-offset:2px;border-radius:3px;background:rgba(76,95,232,.07)}
.ctlprev{min-width:0}
.hist{display:inline-flex;gap:2px}
.hist .b:disabled{opacity:.35;cursor:default;background:none}
.cswatch{width:24px;height:24px;padding:0;border:0;border-radius:6px;background:none;cursor:pointer}
.cswatch::-webkit-color-swatch-wrapper{padding:0}.cswatch::-webkit-color-swatch{border:1px solid rgba(0,0,0,.12);border-radius:6px}.cswatch::-moz-color-swatch{border:1px solid rgba(0,0,0,.12);border-radius:6px}
/* The receipt email as clients see it: always light, like the receipt */
.mailbox{overflow:hidden;background:#fff;color:#1F2937;border:1px solid var(--line);border-radius:12px;box-shadow:0 1px 2px rgba(31,30,27,.06),0 10px 30px rgba(31,30,27,.08);font-family:-apple-system,Helvetica,Arial,sans-serif}
.mailbox .mailtop{padding:18px 22px 14px;border-bottom:1px solid #EEF0F2}.mailbox .mailtop h3{margin:0 0 12px;font-size:17px;color:#111;overflow-wrap:anywhere}
.mailbox .from{display:flex;align-items:center;gap:10px}.mailbox .mav{display:flex;flex:none;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#2F5F98;color:#fff;font-weight:600}
.mailbox .from b{display:block;font-size:13.5px;color:#111}.mailbox .from small{display:block;color:#6B7280;font-size:12px}
.mailbox .mb{padding:18px 22px 22px;font-size:14.5px;line-height:1.6}
.mbody{min-height:120px;white-space:pre-wrap;overflow-wrap:anywhere;border-radius:3px;outline:1.5px dashed transparent;outline-offset:6px;cursor:text;transition:outline-color .12s}
.mbody:hover{outline-color:#B9C2F5}.mbody:focus{outline:2px solid #4C5FE8}
.tagf{display:inline-block;padding:0 6px;border-radius:5px;background:#EEF0FE;color:#4C5FE8;font:500 13px/1.6 Geist,sans-serif;white-space:nowrap;vertical-align:baseline;user-select:all}
.mailbox .att{display:flex;align-items:center;gap:12px;max-width:280px;margin-top:16px;padding:9px 12px;border:1px solid #E6E8EB;border-radius:10px}
.mailbox .pdf{flex:none;display:flex;align-items:center;justify-content:center;width:30px;height:36px;border-radius:5px;background:#D93F33;color:#fff;font-size:10px;font-weight:700}
.mailbox .att b{display:block;font-weight:500;font-size:13.5px;color:#111}.mailbox .att small{color:#6B7280;font-size:12px}
.chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.chip{min-height:28px;padding:0 9px;background:var(--surface);border:1px solid var(--line2);border-radius:7px;color:var(--text);font:500 13px Geist,sans-serif}.chip:hover{background:var(--hover)}
/* Payment methods › Stripe and PayPal: switch it on or off on top, then the account in boxes like Receipt settings */
.enable{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px;padding:14px 16px;background:var(--soft);border-radius:12px}
.enable b{display:block;font-weight:600}.enable small{display:block;font-size:13px;color:var(--muted)}
.phero{display:flex;align-items:center;gap:16px;margin-bottom:6px}
.phero .pname{flex:1;min-width:0}.phero h2{font-size:20px}.phero small{display:block;font-size:13px;color:var(--muted)}
.plogo{flex:none;display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:13px}
.plogo svg{width:26px;height:26px}
.plogo.stripe{background:#635BFF}.plogo.stripe svg{fill:#fff}
.plogo.paypal{background:#fff;border:1px solid var(--line)}.plogo.paypal svg{fill:#003087}
.keybox{display:flex;align-items:center;gap:14px;padding:12px 16px}
.kic{flex:none;display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;background:var(--acsoft);color:var(--accent)}
.kmid{flex:1;min-width:0}.kval{display:block;font:500 14px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kval i{font-style:normal;color:var(--dim);letter-spacing:.05em}
.kmid small{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:4px;font-size:12.5px;color:var(--muted)}.kmid .bd{padding:0 6px;font-size:11.5px}
.krep{display:grid;gap:8px;padding:12px 16px 14px;border-top:1px solid var(--line)}.krep .in{margin:0}.krep .hacts{justify-content:flex-end}.krep small{font-size:12.5px;color:var(--muted)}
.pc:disabled{cursor:default;opacity:.7}
@media(max-width:860px){.subnav.slim .branch{display:contents}.subnav.slim .branch>button:before{display:none}.subnav.slim{width:100%}.ctlprev{position:static}.stats.three{grid-template-columns:repeat(2,minmax(0,1fr))}.li.top{flex-wrap:wrap}.li .rt{align-items:flex-start}.nmsg{text-align:left}}
.sw:disabled{opacity:.45;cursor:default}
.cell2 small.rsent{color:var(--ok)}
.li .sub2 b{display:inline}
@media(max-width:860px){.subnav.slim .sg>button:has(+ .branch){display:none}} /* on a phone the parts are enough: Receipts and Payment methods open their first part anyway */
.pad2 .pcs{max-width:none}
/* The video window: the video found from the link, before it's saved */
.vprev{display:flex;align-items:center;gap:10px;min-height:52px;margin:0 0 4px;padding:6px 8px;background:var(--bg);border:1px solid var(--line);border-radius:9px}
.vprev img,.vprev .nothumb{flex:none;width:64px;height:36px;object-fit:cover;border-radius:5px;background:#2B3F35}
.vprev .pt{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.3}
.vprev .pt b{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vprev .pt small{font-size:12.5px;color:var(--muted)}
.modal p.verr{margin:0 0 4px;font-size:13px;color:var(--bad)}
/* Notes for the Assistant */
.ntext{flex:1;min-width:0}
.ntext .nt{display:block;line-height:1.45;white-space:pre-wrap}
.ntext small{display:block;margin-top:2px;font-size:12.5px;color:var(--muted)}

/* Webmaster: a website's name with its pills */
.wsname{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.wsname b{font-size:15px;font-weight:600}
