/* /quantum-shield/: the one part the page kit has no piece for, a bar chart
   of one input's size under each signature scheme (the proposal's figure).
   Everything else on the page is the kit. One series: Quantum Shield's row
   in gold, the others grey; every bar names its value in text, so nothing
   is told by colour alone and the list reads as a table without the bars. */
.qs-chart { padding:24px 0 0; }
.qs-chart-title { margin:0 24px 4px; font-size:17px; font-weight:500; line-height:1.4; letter-spacing:-.02em; color:var(--text); }
.qs-chart-sub { margin:0 24px 22px; font-size:14px; line-height:1.6; color:#8f9185; }
.qs-bars { display:grid; gap:12px; margin:0; padding:0 24px 24px; list-style:none; }
.qs-bars li { display:grid; grid-template-columns:minmax(0,15rem) minmax(0,1fr); gap:6px 18px; align-items:center; }
.qs-name { font-size:14.5px; line-height:1.4; text-align:right; color:#b9bbb0; }
.qs-bars .is-us .qs-name { color:var(--text); }
/* The bars share the track's first 78%, so the longest leaves room for its
   value; on a narrow phone the value drops under its bar rather than run
   off the page. The track's left edge is the baseline every bar starts from. */
.qs-track { display:flex; flex-wrap:wrap; align-items:center; gap:4px 10px; min-width:0; min-height:24px; border-left:1px solid #3a3b33; }
.qs-bar { flex:none; width:calc(var(--w) * .78); min-width:2px; height:22px; border-radius:0 4px 4px 0; background:#55574d; }
.qs-bars .is-us .qs-bar { background:var(--bitcoin-orange); }
.qs-value { flex:none; font:13px/1.4 var(--font-mono); font-variant-numeric:tabular-nums; white-space:nowrap; color:#b9bbb0; }
.qs-bars .is-us .qs-value { color:var(--text); }
@media(max-width:700px) {
  .qs-chart { padding-top:20px; }
  .qs-chart-title, .qs-chart-sub { margin-left:20px; margin-right:20px; }
  .qs-bars { gap:16px; padding:0 20px 20px; }
  .qs-bars li { grid-template-columns:minmax(0,1fr); }
  .qs-name { text-align:left; }
}

/* The Quantum Risk Report's mockups: four screens of a sample wallet, each
   in the kit's phone (.kit-phone), drawn in HTML so every figure is text.
   Sized in em from the screen's own width (cqw), so a screen scales as one
   picture at any column width. Nothing in them is a link or a button: they
   show, they don't act. BTC orange marks what is exposed and the dark ink
   what sits behind hashes, always named in words beside it; gold is the
   one action on each screen. */
.qs-screens { padding-top:12px; }
.qs-screens .qs-chart-title, .qs-screens .qs-chart-sub { margin-left:0; margin-right:0; }
.qs-screens .qs-chart-sub { max-width:760px; margin-bottom:8px; }
/* The four screens read left to right as one path, a gold chevron in each
   gap; each screen's step above it, what to tap under it, and the tap
   itself marked on the screen (.is-tap) with a fingertip's ring. */
.qs-screen-list { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:48px 44px; margin:28px 0 0; padding:0; list-style:none; }
.qs-screen-list>li { position:relative; display:flex; flex-direction:column; align-items:center; }
.qs-screen-list>li+li::before { content:""; position:absolute; top:52%; left:-28px; width:12px; height:12px; border-top:2px solid var(--bitcoin-orange); border-right:2px solid var(--bitcoin-orange); transform:rotate(45deg); }
.qs-step { width:100%; max-width:290px; margin:0; font-size:17px; font-weight:500; line-height:1.4; letter-spacing:-.02em; color:var(--text); }
.qs-step span { display:inline-grid; place-items:center; width:26px; height:26px; margin-right:10px; border:1px solid var(--bitcoin-orange-dark); border-radius:50%; font:500 13px/1 var(--font-mono); color:var(--bitcoin-orange); vertical-align:1px; }
.qs-phone { width:100%; max-width:290px; margin:18px 0 0; }
.qs-phone .kit-phone-screen { container-type:inline-size; }
.qs-phone figcaption { color:#979a8d; }
.qs-phone figcaption strong { font-weight:500; color:var(--text); }
@media(max-width:1100px) { .qs-screen-list { grid-template-columns:repeat(2,minmax(0,1fr)); } .qs-screen-list>li:nth-child(odd)::before { display:none; } }
@media(max-width:620px) { .qs-screen-list { grid-template-columns:minmax(0,1fr); } .qs-screen-list>li+li::before { display:none; } }
@media(max-width:991px) { .qs-step { text-align:center; } }

.qs-ui { --qs-text:#111; --qs-muted:#6b6d63; --qs-hair:#e8e8e2; --qs-exposed:#f7931a; --qs-covered:#2a2b25;
  display:flex; flex-direction:column; aspect-ratio:390/808; overflow:hidden; padding:.3em 1.15em 1.15em;
  font:400 11px/1.35 -apple-system,BlinkMacSystemFont,"Inter","Segoe UI",sans-serif; font-size:4.1cqw;
  letter-spacing:-.005em; color:var(--qs-text); text-align:left; }
.qs-ui p { margin:0; }
.qs-ui ul { margin:0; padding:0; list-style:none; }
.qs-ui li { margin:0; padding-left:0; }
.qs-ui small { display:block; font-size:.8em; line-height:1.35; color:var(--qs-muted); }
.qs-addr, .qs-amt, .qs-balance, .qs-setting { font-family:var(--font-mono); font-variant-numeric:tabular-nums; letter-spacing:-.02em; }

.qs-nav { display:flex; align-items:center; gap:.6em; min-height:3.1em; }
.qs-nav-title { flex:1; font-size:1.36em; font-weight:700; letter-spacing:-.02em; }
.qs-nav>i:first-child { width:1.2em; font-size:1.15em; }
.qs-nav>i:first-child+.qs-nav-title { font-size:1.07em; font-weight:600; text-align:center; }
.qs-nav>span:empty { width:1.2em; }
.qs-nav>.bi-gear { font-size:1.2em; color:var(--qs-muted); }

.qs-ui .qs-label { margin-top:.9em; font-size:.86em; font-weight:500; color:var(--qs-muted); }
.qs-ui .qs-balance { margin-top:.1em; font-size:2.1em; font-weight:600; line-height:1.1; }
.qs-balance span { margin-left:.4em; font:500 .5em/1 -apple-system,BlinkMacSystemFont,"Inter",sans-serif; color:var(--qs-muted); }
.qs-pair { display:grid; grid-template-columns:1fr 1fr; gap:.6em; margin-top:.9em; }
.qs-ghost { display:flex; align-items:center; justify-content:center; gap:.4em; height:2.6em; border:1px solid #dcdcd5; border-radius:.8em; font-size:.93em; font-weight:600; }

.qs-card { margin-top:.9em; padding:.95em; border:1px solid #ecece6; border-radius:1.05em; background:#f5f5f1; }
.qs-card-head { display:flex; align-items:center; justify-content:space-between; font-weight:600; }
.qs-card-head i { margin-right:.4em; }
.qs-ui .qs-card-title { margin-bottom:.25em; font-size:.93em; font-weight:600; }
.qs-badge { padding:.2em .65em; border-radius:999px; font-size:.8em; font-weight:700; line-height:1.2; }
.qs-badge.is-high { background:var(--qs-exposed); }
.qs-badge.is-low { background:rgba(232,181,60,.3); }
.qs-ui .qs-line { margin:.55em 0 .7em; font-size:.97em; line-height:1.38; }
.qs-ui .qs-line strong { font-size:1.2em; }
/* Parts of a whole, not progress: the exposed part and the protected part
   are two pieces with a gap between them, each named with its amount. */
.qs-meter { display:flex; gap:.2em; height:.5em; }
.qs-meter span { width:var(--share); border-radius:999px; background:var(--qs-exposed); }
.qs-meter span[style*="--share:0%"] { display:none; }
.qs-meter::after { content:""; flex:1; border-radius:999px; background:var(--qs-covered); }
.qs-ui .qs-legend { display:flex; gap:1em; margin-top:.45em; font-size:.78em; color:var(--qs-muted); }
.qs-legend .qs-dot { width:.6em; height:.6em; margin-right:.35em; }
.qs-summary .qs-badge { margin-right:.25em; vertical-align:.1em; }
.is-tap { position:relative; }
/* A fingertip on the label: a translucent dot and its ripple, centred,
   the words still readable through it. */
.is-tap::after { content:""; position:absolute; top:50%; left:50%; width:2.3em; height:2.3em; margin:-1.15em 0 0 -1.15em; border-radius:50%; background:rgba(17,17,17,.2); box-shadow:0 0 0 .35em rgba(17,17,17,.1),0 0 0 .75em rgba(17,17,17,.05); pointer-events:none; }
.qs-cta { display:flex; align-items:center; justify-content:center; height:3.15em; margin-top:.9em; border-radius:.85em; background:var(--bitcoin-orange); font-weight:650; }
.qs-more { display:flex; align-items:center; justify-content:center; gap:.25em; margin-top:.7em; font-size:.9em; font-weight:600; }
.qs-more i { font-size:.8em; }

.qs-activity li { display:grid; grid-template-columns:2.3em minmax(0,1fr) auto; align-items:center; gap:.2em; padding:.5em 0; border-top:1px solid var(--qs-hair); font-size:.93em; font-weight:500; }
.qs-activity li:first-child { margin-top:.3em; border-top:0; }
.qs-activity i { display:grid; place-items:center; width:1.95em; height:1.95em; border-radius:50%; background:#f0f0eb; font-size:.95em; }
.qs-activity .qs-amt { font-size:.92em; }

.qs-summary { margin-top:.4em; }
.qs-ui .qs-group { display:flex; justify-content:space-between; margin:1em 0 .2em; font-size:.9em; font-weight:600; }
.qs-dot { display:inline-block; width:.65em; height:.65em; margin-right:.45em; border-radius:50%; }
.qs-dot.is-exposed { background:var(--qs-exposed); }
.qs-dot.is-protected { background:var(--qs-covered); }
.qs-coins li { display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:.5em; padding:.42em 0; border-top:1px solid var(--qs-hair); font-size:.88em; }
.qs-coins li:first-child { border-top:0; }
.qs-coins small { grid-column:1/-1; margin-top:.15em; font-size:.88em; }
.qs-coins .is-dust .qs-addr, .qs-coins .is-dust .qs-amt { color:var(--qs-muted); }
.qs-ask { margin:1em 0 .9em; }
.qs-ask p { font-size:.93em; font-weight:600; line-height:1.3; }
.qs-ask small { margin-top:.3em; }
.qs-ask .qs-pair { margin-top:.7em; }
.qs-ask .qs-ghost { height:2.3em; background:#fff; }
.qs-ask .qs-ghost.is-picked { border-color:var(--qs-covered); background:var(--qs-covered); color:#fff; }

.qs-ui .qs-lead { margin-bottom:0; }
.qs-ui .qs-plan { margin-top:.2em; }
.qs-ui .qs-total { display:flex; justify-content:space-between; padding-top:.5em; border-top:1px solid #d9d9d2; font-size:.88em; font-weight:600; }
.qs-skip { margin-top:.5em; }
.qs-ui .qs-settings { margin-top:.75em; }
.qs-settings li { display:flex; align-items:center; justify-content:space-between; gap:.6em; padding:.55em 0; border-bottom:1px solid var(--qs-hair); font-size:.9em; font-weight:500; }
.qs-settings small { margin-top:.1em; font-weight:400; }
.qs-setting { flex:none; font-size:.92em; font-weight:600; white-space:nowrap; }
.qs-setting i { font-size:.8em; color:var(--qs-muted); }
.qs-switch { position:relative; flex:none; width:2.55em; height:1.55em; border-radius:999px; background:#d9d9d2; }
.qs-switch::after { content:""; position:absolute; top:.15em; left:.15em; width:1.25em; height:1.25em; border-radius:50%; background:#fff; box-shadow:0 1px 2px rgba(0,0,0,.25); }
.qs-switch.is-on { background:var(--bitcoin-orange); }
.qs-switch.is-on::after { left:auto; right:.15em; }
.qs-ui .qs-note { display:flex; gap:.45em; margin:.75em 0 .9em; padding:.6em .7em; border-radius:.7em; background:rgba(247,147,26,.12); font-size:.82em; line-height:1.35; }
.qs-note strong { font-weight:650; }
.qs-ui>.qs-cta:last-child { margin-top:auto; }
.qs-ui .qs-on { display:flex; align-items:center; gap:.55em; margin-top:.85em; font-size:.9em; font-weight:600; }
