/* export-guides.css - the export guides' rules, shared by the status page, the console and the public guide pages
   (web/export-guides.js draws the markup; design/export-guides-1103, cut down 2026-11-04). Every color is a token the
   page sets on .xg: --xg-fg, --xg-dim, --xg-faint, --xg-gold, --xg-gold-deep, --xg-line, --xg-line2, --xg-pane,
   --xg-serif - the console sets its own, the sign-up site its candle and cream. The text is the page's own: the guides
   inherit the page's font and keep the console's sizes and weights (Max, 2026-11-04: "the text seems like a different
   font"). The motion is the console's (D-MOTION-1, design/console-motion-1101): a block fades in where it stands on the
   house cascade, a head rises 240 ms, the rail's thumb slides on the spring, a ring breathes three times then rests, and
   nothing moves a box. Reduce Motion cuts every animation here. */
.xg{--xg-fg:var(--ivory,#F1EBDD);--xg-dim:var(--dim,#98A1B4);--xg-faint:var(--faint,#7B8498);--xg-gold:var(--gold2,#E8CE93);--xg-gold-deep:var(--gold,#C8A45C);
  --xg-line:rgba(255,255,255,.07);--xg-line2:rgba(var(--gold-rgb,200,164,92),.38);--xg-glass:rgba(17,23,34,.92);--xg-pane:#0D1424;
  --xg-serif:var(--serif,ui-serif,"New York",Georgia,serif);
  --xg-ease:cubic-bezier(.2,.8,.2,1);--xg-spring:cubic-bezier(.34,1.4,.44,1);
  --xg-shot-bg:#FFFFFF;--xg-shot-fg:#1F2430;--xg-shot-dim:#6B7280;--xg-shot-line:#E5E7EB;--xg-shot-bar:#F3F4F6;--xg-shot-accent:#2563EB;--xg-shot-field:#FFFFFF;--xg-shot-soft:#EEF2FF;--xg-shot-edge:#D1D5DB;--xg-shot-on:#FFFFFF;
  color:var(--xg-fg);font-family:inherit;font-size:14px;font-weight:400;line-height:1.5;text-wrap:pretty}
.xg *,.xg *::before,.xg *::after{box-sizing:border-box}
.xg button{font-family:inherit;font-size:inherit;color:inherit;background:none;border:0;cursor:pointer;-webkit-tap-highlight-color:transparent;text-align:left}
.xg button:focus-visible,.xg a:focus-visible,.xg textarea:focus-visible{outline:2px solid var(--xg-gold);outline-offset:2px}
.xg h2,.xg h3,.xg h4,.xg p{margin:0}

/* ---- the rows: one line a system, how it comes as plain words at the row's end, never a button on a row ---- */
.xg-lead{color:var(--xg-dim);font-size:14px;line-height:1.55;margin:0 0 14px;max-width:64ch}
.xg-lead b{color:var(--xg-fg);font-weight:600}
.xg-groups{display:grid;gap:18px}
.xg-group h4{font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;color:var(--xg-gold-deep);font-weight:600;margin:0 0 4px;display:flex;align-items:center;gap:10px}
.xg-group h4::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,var(--xg-line2),transparent)}
.xg-rows{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(400px,100%),1fr));gap:0 32px}
.xg-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;column-gap:12px;width:100%;padding:9px 2px;border-bottom:1px solid var(--xg-line);color:inherit}
@media(hover:hover){.xg-row:hover .xg-top b{color:var(--xg-gold)}.xg-row:hover .xg-way{color:var(--xg-fg)}}
.xg-row:active{opacity:.8}
.xg-mark{width:28px;height:28px;border-radius:7px;display:grid;place-items:center;font-family:var(--xg-serif);font-size:11.5px;letter-spacing:.04em;color:var(--xg-gold);background:rgba(var(--gold-rgb,200,164,92),.1);border:1px solid var(--xg-line2);flex:none}
.xg-body{min-width:0;display:grid;gap:1px}
.xg-top{display:flex;align-items:baseline;gap:3px 9px;min-width:0;flex-wrap:wrap}
.xg-top b{font-size:14px;font-weight:600;color:var(--xg-fg);min-width:0;transition:color .15s}
.xg-yours{font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--xg-gold-deep);font-weight:600;white-space:nowrap}
.xg-body small{font-size:12.5px;color:var(--xg-dim);line-height:1.4;display:block}
.xg-way{font-size:13px;white-space:nowrap;color:var(--xg-dim);justify-self:end;transition:color .15s}
.xg-way.connect{color:var(--xg-gold);font-weight:600}
/* a system already done (Max, 2026-11-04): the check and the word at the row's end, the row's line under the name saying what came over */
.xg-way.done{display:inline-flex;align-items:center;gap:5px;color:var(--xg-gold);font-weight:600}
.xg-row.done .xg-mark{color:#161005;background:linear-gradient(140deg,var(--gold-top,#E3C57F),var(--gold-foot,#AE8A44));border-color:transparent}
.xg-did{margin-left:auto;width:16px;height:16px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(140deg,var(--gold-top,#E3C57F),var(--gold-foot,#AE8A44));color:#161005;flex:none}
.xg-did.big{width:26px;height:26px;margin:0}
.xg-done{display:flex;align-items:flex-start;gap:12px;border:1px solid var(--xg-line2);border-radius:12px;padding:13px 16px;margin:0 0 18px;background:rgba(var(--gold-rgb,200,164,92),.08)}
.xg-done b{display:block;font-size:14.5px;line-height:1.5;color:var(--xg-fg);font-weight:600}
.xg-done p{font-size:13px;line-height:1.5;color:var(--xg-dim);margin-top:2px}
.xg-way-words.done{color:var(--xg-gold)}
/* the steps of a done system fold under one line, and open on a press */
.xg-fold{margin:0 0 22px;border-top:1px solid var(--xg-line);padding-top:12px}
.xg-fold summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:600;color:var(--xg-gold);padding:4px 0 8px}
.xg-fold summary::-webkit-details-marker{display:none}
.xg-fold summary::after{content:"›";font-size:16px;line-height:1;transition:transform .15s}
.xg-fold[open] summary::after{transform:rotate(90deg)}
.xg-fold summary:focus-visible{outline:2px solid var(--xg-gold);outline-offset:2px}
.xg-fold .xg-steps{margin-top:6px;margin-bottom:0}
/* More guides: the systems few chapters ran on, under one button at the foot of the list and of the rail
   (web/export-guides.js, Max 2026-12-02). The chevron turns as the block opens */
.xg-rest-t,.xg-rail-rest{display:inline-flex;align-items:center;gap:9px;font-size:13.5px;font-weight:600;color:var(--xg-dim);padding:6px 2px;cursor:pointer;transition:color .15s}
.xg-rest-t::before,.xg-rail-rest::before{content:"";width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);transition:transform .25s var(--xg-ease,ease);flex:none}
.xg-rest-t[aria-expanded="true"]::before,.xg-rail-rest[aria-expanded="true"]::before{transform:rotate(45deg)}
.xg-rest-t:focus-visible,.xg-rail-rest:focus-visible{outline:1.5px solid var(--xg-gold);outline-offset:3px;border-radius:6px}
@media(hover:hover){.xg-rest-t:hover,.xg-rail-rest:hover{color:var(--xg-fg)}}
/* the list sets its own display (.xg-rows is a grid), which beats the browser's rule for the hidden attribute; a page
   without a [hidden] rule of its own (quorum.rsvp/guides/export) showed the list open before More guides was pressed */
.xg-rest[hidden]{display:none}
.xg-rest:not([hidden]){animation:xgFade .3s both}
.xg-rows.xg-rest{margin-top:2px}
.xg-rail-rest{width:100%;font-size:12.5px;padding:12px 10px 6px;position:relative;z-index:1;white-space:nowrap}

/* ---- the sheet: the rail of systems and the guide ---- */
.xg-sh{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:0}
/* the rail pins while the guide scrolls and keeps no flat fill of its own: the pane shows through (a pinned band's rule on the console, tests/e2e/admin-05-sheets-security) */
.xg-rail{border-right:1px solid var(--xg-line);padding:14px 10px;position:relative;align-self:start;position:sticky;top:0;max-height:100%;overflow:auto;scrollbar-width:thin}
.xg-rh{font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:var(--xg-gold-deep);font-weight:600;padding:12px 10px 5px;white-space:nowrap}
.xg-rh:first-of-type{padding-top:2px}
.xg-rail-row{display:flex;align-items:center;gap:9px;width:100%;padding:7px 10px;border-radius:9px;color:var(--xg-dim);font-size:13px;position:relative;z-index:1;transition:color .15s}
.xg-rail-row.on{color:var(--xg-gold)}
@media(hover:hover){.xg-rail-row:hover{color:var(--xg-fg)}}
/* a system's name is one line in the rail (Max, 2026-11-04: the photo sites' name wrapped to five) */
.xg-rail-name{min-width:0;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.xg-m{width:22px;height:22px;border-radius:6px;display:grid;place-items:center;font-family:var(--xg-serif);font-size:10.5px;color:var(--xg-gold);background:rgba(var(--gold-rgb,200,164,92),.1);border:1px solid var(--xg-line2);flex:none}
.xg-dot{margin-left:auto;width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.18);flex:none}
.xg-dot.connect{background:var(--xg-gold-deep)}.xg-dot.link{background:#9FB6D8}
.xg-thumb{position:absolute;left:10px;right:10px;border-radius:9px;background:rgba(var(--gold-rgb,200,164,92),.13);z-index:0;pointer-events:none;top:0;height:0}
.xg-gbody{min-width:0;padding:24px 28px 32px}

/* ---- a guide: the name, one sentence on the whole account, the facts, then the steps ---- */
.xg-head{display:grid;gap:8px;margin-bottom:20px;padding-right:36px}
.xg-eb{font-size:10.5px;letter-spacing:.18em;text-transform:uppercase;color:var(--xg-gold-deep);font-weight:600}
.xg-way-words{color:var(--xg-dim)}.xg-way-words.connect{color:var(--xg-gold)}
.xg-title{font-family:var(--xg-serif);font-size:26px;font-weight:500;line-height:1.15;text-wrap:balance}
.xg-glead{font-size:14.5px;line-height:1.55;color:var(--xg-fg);max-width:64ch}
.xg-facts{display:flex;flex-wrap:wrap;gap:2px 0;font-size:13px;line-height:1.5;color:var(--xg-dim)}
.xg-facts span:not(:last-child)::after{content:"·";margin:0 7px;color:var(--xg-faint)}
.xg-claude-open{color:var(--xg-gold);font-size:13.5px;font-weight:600;padding:2px 0;justify-self:start;margin-top:2px}
.xg-claude-open[aria-expanded="true"]{color:var(--xg-fg)}
.xg-cnx{border:1px solid var(--xg-line2);border-radius:12px;padding:13px 16px;margin:0 0 18px;background:rgba(var(--gold-rgb,200,164,92),.06);display:grid;gap:6px}
.xg-ct{display:flex;align-items:center;gap:10px 16px;flex-wrap:wrap}
.xg-ct p{flex:1;min-width:240px;font-size:14px;line-height:1.5;color:var(--xg-fg)}
.xg-cnote{font-size:12.5px;color:var(--xg-faint);line-height:1.5}
.xg-btn{padding:7px 13px;border-radius:9px;font-size:13.5px;line-height:20px;font-weight:600;display:inline-flex;align-items:center;gap:6px;white-space:nowrap;transition:.15s;flex:none;text-decoration:none}
.xg-btn.gold{background:linear-gradient(140deg,var(--gold-top,#E3C57F),var(--gold-foot,#AE8A44));color:#161005}
.xg-btn.ghost{border:1px solid var(--xg-line2);color:var(--xg-gold)}
.xg-btn.dim{border:1px solid rgba(255,255,255,.12);color:var(--xg-dim)}
.xg-btn:active{transform:scale(.97)}
.xg-or{display:flex;align-items:center;gap:12px;font-size:10.5px;letter-spacing:.18em;text-transform:uppercase;color:var(--xg-faint);font-weight:600;margin:4px 0 16px}
.xg-or::before,.xg-or::after{content:"";flex:1;height:1px;background:var(--xg-line)}
.xg-steps{display:grid;gap:16px;margin:0 0 22px}
.xg-step{display:grid;grid-template-columns:28px minmax(0,1fr);gap:12px}
.xg-sn{width:26px;height:26px;border-radius:50%;border:1px solid var(--xg-line2);display:grid;place-items:center;font-family:var(--xg-serif);font-size:12.5px;color:var(--xg-gold);background:rgba(var(--gold-rgb,200,164,92),.08)}
.xg-sc{min-width:0;display:grid;gap:6px}
.xg-say-row{display:flex;align-items:center;gap:8px 14px;flex-wrap:wrap;min-height:26px}
.xg-say{flex:1;min-width:220px;font-size:14.5px;line-height:1.5;color:var(--xg-fg)}
.xg-say b{font-weight:600;color:var(--xg-fg)}
.xg-note{font-size:13px;color:var(--xg-dim);line-height:1.5}
.xg-shot-wrap{margin-top:4px}
.xg-acts{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.xg-acts.left{margin-top:6px}
.xg-trouble{border-top:1px solid var(--xg-line);padding-top:14px;margin:0 0 20px;display:grid;gap:7px}
.xg-trouble h3{font-size:10.5px;letter-spacing:.18em;text-transform:uppercase;color:var(--xg-gold-deep);font-weight:600;margin-bottom:2px}
.xg-trouble p{font-size:13.5px;line-height:1.5;color:var(--xg-dim)}
.xg-trouble p b{color:var(--xg-fg);font-weight:600}
.xg-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--xg-line);padding-top:12px}
.xg-foot button{display:inline-flex;align-items:center;gap:8px;color:var(--xg-gold);font-size:13.5px;font-weight:600;padding:6px 2px}
.xg-foot button small{display:block;font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--xg-faint);font-weight:600}
.xg-foot button .r{text-align:right}

/* ---- the Claude panel ---- */
.xg-claude{margin:0 0 18px}
.xg-claude[hidden]{display:none}
.xg-claude-in{border:1px solid var(--xg-line2);border-radius:12px;padding:14px 16px;display:grid;gap:12px;background:rgba(var(--gold-rgb,200,164,92),.04);animation:xgUnfold .24s var(--xg-ease)}
@keyframes xgUnfold{from{opacity:0;transform:translateY(-4px)}}
.xg-claude-lead{font-size:13.5px;line-height:1.55;color:var(--xg-dim)}
.xg-claude-lead b{color:var(--xg-fg);font-weight:600}
.xg-claude-sys{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:2px 14px}
.xg-check{display:flex;align-items:center;gap:8px;font-size:13.5px;color:var(--xg-fg);cursor:pointer;padding:3px 0}
.xg-check input{width:16px;height:16px;accent-color:var(--gold-n,#C8A45C);margin:0;flex:none}
.xg-prompt{width:100%;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12.5px;line-height:1.5;color:var(--xg-fg);background:rgba(255,255,255,.04);border:1px solid var(--xg-line);border-radius:10px;padding:12px;resize:vertical;min-height:160px}
.xg-copied{font-size:13px;color:var(--xg-gold);display:inline-flex;align-items:center;gap:6px;opacity:0;transition:opacity .2s}
.xg-copied.on{opacity:1}
.xg-copied svg path{stroke-dasharray:22;stroke-dashoffset:22;animation:xgTick .5s var(--xg-ease) forwards}
@keyframes xgTick{to{stroke-dashoffset:0}}

/* ---- a drawing of the screen: a light window in the other app's own face, the control ringed and numbered, the word
   Drawing in its bar; a picture of Quorum's own page is dark ---- */
.xg-shot{border-radius:10px;overflow:hidden;border:1px solid rgba(255,255,255,.14);background:var(--xg-shot-bg);color:var(--xg-shot-fg);font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;font-size:11.5px;line-height:1.4;max-width:520px;position:relative;box-shadow:0 12px 32px rgba(0,0,0,.35)}
.xg-shot.phone{max-width:280px}
.xg-shot.dark{--xg-shot-bg:#0D1424;--xg-shot-fg:#F1EBDD;--xg-shot-dim:#98A1B4;--xg-shot-line:rgba(255,255,255,.1);--xg-shot-bar:rgba(255,255,255,.07);--xg-shot-accent:var(--gold2-n,#E8CE93);--xg-shot-field:rgba(255,255,255,.06);--xg-shot-soft:rgba(var(--gold2-rgb,232,206,147),.14);--xg-shot-edge:rgba(255,255,255,.2);--xg-shot-on:#161005}
.xg-win{height:26px;display:flex;align-items:center;gap:6px;padding:0 10px;background:var(--xg-shot-bar);border-bottom:1px solid var(--xg-shot-line)}
.xg-win i{width:9px;height:9px;border-radius:50%;background:#D1D5DB}
.xg-win span{margin-left:8px;flex:1;height:14px;border-radius:7px;background:var(--xg-shot-field);border:1px solid var(--xg-shot-line);font-size:9.5px;line-height:12px;padding:0 8px;color:var(--xg-shot-dim);overflow:hidden;white-space:nowrap}
.xg-drawn{flex:none;font-style:normal;font-size:8.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--xg-shot-dim);margin-left:4px}
.xg-app{display:flex;align-items:center;gap:14px;padding:8px 14px;border-bottom:1px solid var(--xg-shot-line);min-width:0}
.xg-app>b{font-size:12px;font-weight:700;color:var(--xg-shot-fg);white-space:nowrap}
.xg-tabs{display:flex;gap:12px;color:var(--xg-shot-dim);font-weight:500;flex-wrap:wrap;min-width:0}
.xg-tabs span{padding:4px 0;border-bottom:2px solid transparent;position:relative;white-space:nowrap}
.xg-tabs span.on{color:var(--xg-shot-accent);border-bottom-color:var(--xg-shot-accent)}
.xg-right{margin-left:auto;display:flex;gap:8px;align-items:center;flex:none}
.xg-sbody{display:grid;grid-template-columns:auto minmax(0,1fr);min-height:140px}
.xg-sbody.noside{grid-template-columns:1fr}
.xg-side{width:112px;border-right:1px solid var(--xg-shot-line);padding:10px 8px;display:grid;gap:4px;align-content:start;background:var(--xg-shot-bar)}
.xg-side span{padding:5px 8px;border-radius:6px;color:var(--xg-shot-dim);font-weight:500;position:relative}
.xg-side span.on{background:var(--xg-shot-soft);color:var(--xg-shot-accent)}
.xg-main{padding:12px 14px;display:grid;gap:8px;align-content:start;position:relative;min-width:0}
.xg-hd{display:flex;align-items:center;gap:10px;min-width:0}
.xg-hd b{font-size:13px;font-weight:700;min-width:0;overflow-wrap:anywhere}
.xg-srow{display:grid;grid-template-columns:minmax(0,1fr) 60px 60px;gap:10px;align-items:center}
.xg-srow i{display:block;height:8px;border-radius:4px;background:var(--xg-shot-bar)}
.xg-srow i.w{width:70%}
.xg-srow b{display:block;height:8px;border-radius:4px;background:var(--xg-shot-line)}
.xg-srow.head{font-weight:700;color:var(--xg-shot-dim)}
.xg-sbtn{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:6px;border:1px solid var(--xg-shot-edge);background:var(--xg-shot-field);color:var(--xg-shot-fg);font-weight:600;font-size:11px;position:relative;white-space:nowrap}
.xg-sbtn.pri{background:var(--xg-shot-accent);color:var(--xg-shot-on);border-color:var(--xg-shot-accent)}
.xg-sbtn.pick{border-color:var(--xg-shot-accent);background:var(--xg-shot-soft)}
.xg-form.wide .xg-sbtn{justify-content:flex-start}
.xg-slink{color:var(--xg-shot-accent);font-weight:600;text-decoration:underline;position:relative;white-space:nowrap}
.xg-menu{position:absolute;right:14px;top:44px;background:var(--xg-shot-bg);border:1px solid var(--xg-shot-line);border-radius:8px;box-shadow:0 10px 30px rgba(0,0,0,.14);padding:4px;display:grid;min-width:170px;z-index:2}
.xg-menu span{padding:6px 10px;border-radius:5px;color:var(--xg-shot-fg);position:relative}
.xg-menu span.pick{background:var(--xg-shot-soft);color:var(--xg-shot-accent);font-weight:600}
.xg-menu.dialog{right:auto;left:50%;top:40px;transform:translateX(-50%);min-width:240px;padding:12px;gap:8px}
.xg-menu.dialog>b{font-size:12px;padding:0}
.xg-menu.dialog .xg-sbtn{justify-self:end}
/* a drawing with a window over its page is tall enough to show the window's button (2026-11-16: the Share window's
   Copy link and Stripe's Export were cut off under the drawing's edge at every width) */
.xg-main:has(> .xg-menu.dialog){min-height:240px}
.xg-menu.static{position:static;box-shadow:none;margin-top:4px;max-width:220px;transform:none}
.xg-menu.static>b{padding:4px 10px;font-size:11px}
.xg-form{display:grid;gap:8px;max-width:300px}
.xg-form.wide{max-width:none}
.xg-form label{display:grid;gap:3px;font-size:10.5px;color:var(--xg-shot-dim);font-weight:600}
.xg-fld{height:24px;border:1px solid var(--xg-shot-edge);border-radius:5px;background:var(--xg-shot-field);padding:0 8px;line-height:22px;color:var(--xg-shot-fg);font-weight:500;font-size:11px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.xg-opts{display:grid;gap:5px}
.xg-opts span{display:flex;align-items:center;gap:7px;color:var(--xg-shot-fg);position:relative;font-weight:500}
.xg-opts span::before{content:"";width:11px;height:11px;border-radius:50%;border:1.5px solid var(--xg-shot-edge);flex:none}
.xg-opts span.pick::before{border-color:var(--xg-shot-accent);box-shadow:inset 0 0 0 3px var(--xg-shot-bg);background:var(--xg-shot-accent)}
/* the ring: the setup guide's, around the control, three breaths then rest (D-MOTION-1 rule 3) */
.ring{position:relative;z-index:1}
.ring::after{content:"";position:absolute;inset:-6px;border-radius:9px;border:1.5px solid rgba(var(--gold2-rgb,232,206,147),.95);box-shadow:0 0 0 5px rgba(var(--gold-rgb,200,164,92),.18),0 0 24px rgba(var(--gold-rgb,200,164,92),.45);pointer-events:none;animation:xgBreath 2.2s ease-in-out 3}
@keyframes xgBreath{50%{box-shadow:0 0 0 9px rgba(var(--gold-rgb,200,164,92),.08),0 0 30px rgba(var(--gold-rgb,200,164,92),.55)}}
.xg-n{position:absolute;right:-15px;top:-15px;width:20px;height:20px;border-radius:50%;background:var(--gold-n,#C8A45C);color:#161005;font-family:var(--xg-serif);font-size:11px;font-weight:700;line-height:20px;text-align:center;box-shadow:0 2px 8px rgba(0,0,0,.35);z-index:3}
/* a real picture of the screen keeps a caption under it */
.xg-cap{font-size:12.5px;color:var(--xg-faint);margin-top:6px;line-height:1.5}
.xg-pic{position:relative;margin:0;max-width:520px;border-radius:10px;overflow:hidden;border:1px solid rgba(255,255,255,.14);box-shadow:0 12px 32px rgba(0,0,0,.35)}
.xg-pic img{display:block;width:100%;height:auto}
.xg-ring-box{position:absolute;border-radius:9px;border:1.5px solid rgba(var(--gold2-rgb,232,206,147),.95);box-shadow:0 0 0 5px rgba(var(--gold-rgb,200,164,92),.18),0 0 24px rgba(var(--gold-rgb,200,164,92),.45);animation:xgBreath 2.2s ease-in-out 3}

/* ---- motion: the console's arrive on a guide's first paint; a guide replaced fades down first ---- */
.xg-g.mo-in [data-mo-arrive]{animation:xgFade .54s var(--xg-ease) both}
@keyframes xgFade{from{opacity:0}}
.xg-g.mo-in .mo-head{animation:xgRise .24s var(--xg-ease) both}
@keyframes xgRise{from{opacity:0;transform:translateY(6px)}}
.xg-g.mo-out{animation:xgOut .22s var(--xg-ease) both}
@keyframes xgOut{to{opacity:0;transform:translateY(4px)}}
.xg-g.mo-in .xg-sn.pop{animation:xgPop .5s var(--xg-ease) both}
@keyframes xgPop{40%{box-shadow:0 0 0 3px rgba(var(--gold-rgb,200,164,92),.22);filter:brightness(1.3)}}

/* ---- the phone: the rail is a row of chips above the guide ---- */
@media(max-width:900px){
  .xg-sh{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}
  .xg-rail{border-right:0;border-bottom:1px solid var(--xg-line);display:flex;gap:6px;overflow-x:auto;padding:12px 14px 10px;scrollbar-width:none;position:relative;max-height:none}
  .xg-rail::-webkit-scrollbar{display:none}
  .xg-rh{display:none}
  .xg-rail-row{flex:none;width:auto;padding:7px 11px;border-radius:999px;border:1px solid rgba(255,255,255,.1);font-size:12.5px}
  .xg-rail-row.on{border-color:var(--xg-line2);background:rgba(var(--gold-rgb,200,164,92),.13)}
  .xg-dot,.xg-thumb{display:none}
  /* the rare systems' chips follow the button in the same row */
  .xg-rail-rest{flex:none;width:auto;padding:7px 11px;border-radius:999px;border:1px solid rgba(255,255,255,.1)}
  .xg-rail .xg-rest:not([hidden]){display:contents}
  .xg-gbody{padding:18px 16px 30px}
  .xg-head{padding-right:30px;gap:7px}
  .xg-title{font-size:23px}
  .xg-step{grid-template-columns:26px minmax(0,1fr);gap:10px}
  .xg-sn{width:24px;height:24px;font-size:12px}
  .xg-say{min-width:0;flex-basis:100%}
  /* the facts stack, one a line, with no dot between them; a drawn screen's tabs flow under its name instead of one a line */
  .xg-facts{display:grid;gap:1px}
  .xg-facts span:not(:last-child)::after{content:none}
  .xg-app{flex-wrap:wrap;gap:6px 14px}
  .xg-shot{max-width:100%}
}
@media(prefers-reduced-motion:reduce){.xg *,.xg *::before,.xg *::after{animation:none!important;transition:none!important}}

/* ---- the console (web/admin-export-guides.js): the rail and the guide span the sheet's width, the console's tokens color
   the guides ---- */
.xg-console{--xg-fg:var(--ivory);--xg-dim:var(--dim);--xg-faint:var(--faint);--xg-gold:var(--gold2);--xg-gold-deep:var(--gold);--xg-line:rgba(255,255,255,.07);--xg-line2:var(--line2);--xg-pane:#0D1424}
#sheet-body .xg-console .xg-sh{margin:0 -30px -34px;min-height:70vh}
#sheet-body .xg-console .xg-rail{top:-4px;max-height:calc(88vh - 90px)}
/* the old system's sign-in under the file box (web/admin-old-system-sync.js): the status page's line, in the console's tokens */
.su-old{margin:0;font-size:13px;line-height:1.6;color:var(--dim);text-align:center;text-wrap:pretty}
.su-old-open{padding:0;font:inherit;font-weight:600;color:var(--gold2);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.su-old-open:focus-visible{outline:1.5px solid var(--gold);outline-offset:2px}
.su-old small{display:block;font-size:11px;color:var(--faint);margin-top:2px}
@media(max-width:900px){#sheet-body .xg-console .xg-sh{margin:0 -16px -30px}}
