/* Uplivra customer portal, on top of the shared stylesheet (app.css).
   Brand System 1.0: Deep #0F2A43, Signal #19B5A5, Current #35C2D6, Ice
   #E9F2F5. Buttons in Signal/Current carry Deep text. The horizontal
   lockup is never shown narrower than 180 px (56 px tall). */

:root { --accent-text: var(--signal-text); --lift: var(--sh-2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --accent-text: var(--current); --lift: var(--sh-2); } }
:root[data-theme="dark"] { --accent-text: var(--current); --lift: var(--sh-2); }

html:not(.js) .js-only, .js .js-hide { display: none !important; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--btn); color: var(--btn-ink); padding: .5rem 1rem; z-index: 100; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--current); outline-offset: 2px; }
button.primary, .button.primary { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); }
button.primary:hover, .button.primary:hover { filter: brightness(1.06); border-color: var(--btn); }
.button.big, button.big { padding: .75rem 1.25rem; font-size: var(--fs-base); border-radius: var(--r-btn); }
.button .ico, button .ico { width: 16px; height: 16px; vertical-align: -3px; margin-right: .3rem; }

/* The logo: one lockup for light backgrounds, one for dark. */
.lockup { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.lk { display: block; height: 56px; width: auto; }
.lk-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lk-light { display: none; } :root:not([data-theme="light"]) .lk-dark { display: block; } }
:root[data-theme="dark"] .lk-light { display: none; } :root[data-theme="dark"] .lk-dark { display: block; }
.on-dark .lk-light { display: none !important; } .on-dark .lk-dark { display: block !important; }

/* ---------- Signed-in: app shell (matches the Uplivra web interface) ---------- */
.side { display: flex; flex-direction: column; }
.side .lockup { padding: 0 .35rem .9rem; margin-bottom: .2rem; border-bottom: 1px solid var(--line); }
.side nav { flex: 1; align-content: start; }
.side-help { margin-top: 1.2rem; padding: .85rem .9rem; border-radius: var(--r-lg); background: var(--accent-soft); font-size: var(--fs-xs); display: grid; gap: .2rem; line-height: 1.45; }
.side-help a { font-weight: 600; overflow-wrap: anywhere; }
.top-title { margin: 0; font-size: var(--fs-md); display: flex; gap: .45rem; align-items: baseline; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-title .sep { color: var(--muted); }
.who { display: flex; align-items: center; gap: .4rem; }
.app-foot { margin-top: auto; padding: 1rem 2rem 1.5rem; font-size: var(--fs-xs); color: var(--muted); border-top: 1px solid var(--line); }
.app-foot a { color: var(--muted); }
.app main { width: 100%; }

.page-head { margin-bottom: 1.25rem; }
.page-head p { margin: .3rem 0 0; }
.page-head .lead-in { color: var(--muted); font-size: var(--fs-md); max-width: 60ch; }
.crumbs { margin: 0 0 .5rem; font-size: var(--fs-sm); color: var(--muted); }
.crumbs a { color: var(--muted); }

/* Welcome band on the overview */
.welcome { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 1.6rem 1.75rem; margin-bottom: 1.25rem; color: var(--ice);
  background: linear-gradient(90deg, color-mix(in srgb, var(--deep) 96%, transparent) 0%, color-mix(in srgb, var(--deep) 78%, transparent) 45%, color-mix(in srgb, var(--deep) 15%, transparent) 100%), url(/static/brand/background.webp) center 62% / cover no-repeat var(--deep);
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.welcome h1 { color: var(--white); font-size: 1.7rem; margin-bottom: .35rem; }
.welcome p { margin: 0; color: var(--on-deep-muted); max-width: 52ch; }
.welcome .actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.welcome .button:not(.primary) { background: color-mix(in srgb, var(--white) 8%, transparent); border-color: color-mix(in srgb, var(--white) 25%, transparent); color: var(--white); }
.welcome .button:not(.primary):hover { background: color-mix(in srgb, var(--white) 16%, transparent); }
.welcome .button.primary { background: var(--signal); border-color: var(--signal); color: var(--deep); }

.tiles.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .tiles.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tile .sub a { font-weight: 600; }

/* License cards */
.lic-list { display: grid; gap: 1rem; margin-bottom: 1.25rem; }
.lic { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.1rem 1.25rem; display: grid; gap: .9rem; box-shadow: var(--shadow); }
.lic-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.lic-id { display: flex; align-items: center; gap: .7rem; }
.lic-id .badge { width: 40px; height: 40px; border-radius: var(--r-btn); display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); }
.lic-id .badge .ico { width: 20px; height: 20px; }
.lic-id h3 { margin: 0; font-size: var(--fs-lg); }
.lic-id h3 a { color: var(--text); text-decoration: none; }
.lic-id h3 a:hover { text-decoration: underline; }
.lic-id p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.lic-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: .6rem 1.25rem; margin: 0; }
.lic-facts dt { font-size: var(--fs-2xs); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.lic-facts dd { margin: .1rem 0 0; font-weight: 600; }
.lic-mods { display: flex; flex-wrap: wrap; gap: .35rem; }
.mod-chip { display: inline-flex; align-items: center; gap: .35rem; font-size: var(--fs-xs); font-weight: 600; padding: .2rem .6rem; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-text); }
.mod-chip.core { background: var(--bg); color: var(--text); border: 1px solid var(--line); }
.lic-actions { display: flex; gap: .5rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: .8rem; }
.lic-actions .button { font-size: var(--fs-sm); padding: .4rem .8rem; }

/* Steps and quick links */
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; counter-reset: step; margin: 0 0 1.25rem; padding: 0; list-style: none; }
@media (max-width: 900px) { .steps-grid { grid-template-columns: 1fr; } }
.steps-grid li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.1rem 1.2rem; counter-increment: step; display: grid; gap: .35rem; align-content: start; }
.steps-grid li::before { content: counter(step); width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--btn); color: var(--btn-ink); font: 800 var(--fs-sm) var(--font-head); }
.steps-grid li strong { font-family: var(--font-head); font-size: var(--fs-base); }
.steps-grid li p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.steps-grid li .button { justify-self: start; margin-top: .35rem; }
.quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
a.quick-card { display: grid; grid-template-columns: auto 1fr; gap: .15rem .8rem; align-items: center; padding: 1rem 1.1rem; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-lg); text-decoration: none; color: var(--text); transition: border-color .15s; }
a.quick-card:hover { border-color: var(--accent); }
.quick-card .qi { grid-row: span 2; width: 40px; height: 40px; border-radius: var(--r-btn); display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); }
.quick-card .qi .ico { width: 20px; height: 20px; }
.quick-card strong { font-family: var(--font-head); }
.quick-card span:last-child { font-size: var(--fs-sm); color: var(--muted); }
.section-title { font-size: var(--fs-lg); margin: 1.5rem 0 .75rem; }

/* Downloads */
.dl-feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.dl-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.2rem; display: grid; gap: .5rem; align-content: start; }
.dl-card.rec { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.dl-card .qi { width: 44px; height: 44px; border-radius: var(--r-lg); display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); }
.dl-card .qi .ico { width: 22px; height: 22px; }
.dl-card h3 { margin: 0; font-size: var(--fs-lg); display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.dl-card p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.dl-card .meta { font-size: var(--fs-xs); color: var(--muted); }
.dl-card .button { justify-self: start; margin-top: .3rem; }
.tag { font: 700 var(--fs-2xs) var(--font); letter-spacing: .08em; text-transform: uppercase; padding: .15rem .5rem; border-radius: var(--r-pill); background: var(--btn); color: var(--btn-ink); }
ol.cmd-steps { margin: .25rem 0 0; padding-left: 1.2rem; display: grid; gap: .6rem; }
ol.cmd-steps pre { margin: .35rem 0 0; }

/* Keys */
.key-box { position: relative; }
pre.key { font-size: var(--fs-xs); white-space: pre-wrap; word-break: break-all; max-height: 11rem; overflow-y: auto; margin: 0 0 .75rem; }
.copy-row { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }

/* ---------- Signed-out: public pages (match uplivra.com) ---------- */
.pub-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .pub-wrap { padding: 0 28px; } }
.pub-head { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.pub-row { display: flex; align-items: center; gap: 1.6rem; min-height: 72px; }
.pub-nav { display: flex; gap: 1.3rem; align-items: center; }
.pub-nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: var(--fs-md); padding: .3rem 0; }
.pub-nav a:hover { color: var(--accent-text); }
.pub-nav a[aria-current="page"] { color: var(--accent-text); box-shadow: inset 0 -2px 0 var(--signal); }
.pub-cta { margin-left: auto; display: flex; gap: .9rem; align-items: center; }
.pub-signin { color: var(--text); text-decoration: none; font-weight: 500; }
.pub-cta .button { border-radius: var(--r-btn); padding: .6rem 1.05rem; }
@media (max-width: 900px) { .pub-nav { display: none; } .pub-row { gap: .8rem; } }
@media (max-width: 420px) { .pub-signin { display: none; } }
.pub-main { min-height: 60vh; }
.pub-main > .pub-wrap > .banner { margin-top: 1rem; }
.pub-main section.pub-sec { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.eyebrow { display: inline-block; font: 700 var(--fs-xs) var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); margin-bottom: .7rem; }
.pub-main h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.12; letter-spacing: -.02em; display: block; margin: 0 0 1rem; }
.pub-main h1 em { font-style: normal; color: var(--accent-text); }
.pub-main h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; display: block; margin: 0 0 .6rem; }
.lead { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--muted); max-width: 46rem; line-height: 1.6; }
.center { text-align: center; } .center .lead { margin-left: auto; margin-right: auto; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.5rem 0 1rem; }
.center .cta-row { justify-content: center; }
.facts { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: var(--fs-md); }
.center .facts { justify-content: center; }
.facts li::before { content: "✓"; color: var(--accent-text); font-weight: 800; margin-right: .45rem; }
.p-hero { position: relative; overflow: hidden; }
.p-hero::before { content: ""; position: absolute; inset: -30% -10% auto; height: 560px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--signal) 20%, transparent), transparent 70%) 20% 20% / 60% 80% no-repeat,
              radial-gradient(closest-side, color-mix(in srgb, var(--current) 18%, transparent), transparent 70%) 85% 0 / 55% 80% no-repeat; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 1.2rem; margin-top: 2rem; text-align: left; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; display: grid; gap: .4rem; align-content: start; box-shadow: var(--lift); }
.plan.featured { border-color: var(--signal); box-shadow: 0 0 0 1px var(--signal) inset, var(--lift); }
.plan h3 { font-size: var(--fs-xl); margin: 0; }
.plan .price { font: 800 2rem/1.1 var(--font-head); margin: .6rem 0 0; }
.plan .per { color: var(--muted); font-size: var(--fs-sm); margin: 0 0 .6rem; }
.plan ul { margin: .3rem 0 1rem; padding-left: 1.1rem; display: grid; gap: .3rem; font-size: var(--fs-md); }
.plan .button { justify-self: start; margin-top: auto; }

.mod-table { width: 100%; border-collapse: collapse; }
.mod-table th { text-align: left; font-size: var(--fs-2xs); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: .6rem .75rem; border-bottom: 1px solid var(--line); }
.mod-table td { padding: .85rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.mod-table tr:last-child td { border-bottom: 0; }
.mod-table td:first-child strong { font-family: var(--font-head); }
.band { background: var(--deep); color: var(--on-deep); position: relative; overflow: hidden; }
.band.pic { background: linear-gradient(90deg, color-mix(in srgb, var(--deep) 95%, transparent), color-mix(in srgb, var(--deep) 60%, transparent)), url(/static/brand/background.webp) center / cover no-repeat var(--deep); }
.band h2 { color: var(--white); } .band .lead, .band .muted { color: var(--on-deep-muted); }
.band .eyebrow { color: var(--signal); }
.band .button:not(.primary) { background: transparent; color: var(--white); border-color: color-mix(in srgb, var(--white) 35%, transparent); }

/* Sign in and create account: brand panel + form */
.auth { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: calc(100vh - 73px); min-height: calc(100dvh - 73px); }
.auth-brand { color: var(--on-deep); padding: clamp(2rem, 5vw, 4rem); display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  background: linear-gradient(180deg, color-mix(in srgb, var(--deep) 55%, transparent), color-mix(in srgb, var(--deep) 92%, transparent)), url(/static/brand/background.webp) 30% center / cover no-repeat var(--deep); }
.auth-brand h2 { color: var(--white); font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.15; margin: 0 0 1rem; }
.auth-brand h2 em { font-style: normal; color: var(--current); }
.auth-brand p { color: var(--on-deep-muted); margin: 0 0 1.2rem; max-width: 34rem; }
.auth-brand ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.auth-brand li { display: flex; gap: .65rem; align-items: flex-start; color: var(--on-deep); }
.auth-brand li .ico { width: 20px; height: 20px; color: var(--signal); flex: none; margin-top: .1rem; }
.auth-brand .quote-small { font-size: var(--fs-xs); color: var(--on-deep-muted); }
.auth-form { padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 3.5rem); display: flex; justify-content: center; align-items: flex-start; }
.auth-inner { width: 100%; max-width: 520px; }
.auth-inner.narrow-in { max-width: 400px; margin-top: 6vh; }
.auth-inner h1 { font-size: 1.9rem; margin-bottom: .4rem; }
.auth-inner > p { margin-top: 0; }
.auth-inner .form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem; box-shadow: var(--lift); margin-top: 1.2rem; }
.auth-inner .form fieldset { border: 0; padding: 0; margin: 0 0 .25rem; }
.auth-inner .form legend { font: 700 var(--fs-xs) var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: .6rem; }
.auth-inner .form fieldset + fieldset { border-top: 1px solid var(--line); padding-top: 1rem; }
.auth-alt { text-align: center; margin-top: 1rem; }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth-brand { min-height: 0; } .auth-brand ul, .auth-brand .quote-small { display: none; } }

/* Public footer */
.pub-foot { border-top: 1px solid var(--line); background: var(--panel); padding: 2.5rem 0 1.5rem; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 1.5rem; }
.foot-grid h2 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: .5rem 0 .6rem; display: block; }
.foot-grid a:not(.lockup) { display: block; color: var(--text); text-decoration: none; font-size: var(--fs-md); padding: .15rem 0; }
.foot-grid a:not(.lockup):hover { color: var(--accent-text); }
.foot-base { border-top: 1px solid var(--line); margin-top: 1.5rem; padding-top: 1rem; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Existing page parts ---------- */
.narrow { max-width: 440px; margin: 2rem auto; display: grid; gap: 1rem; }
.buy-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 1rem; align-items: start; }
@media (max-width: 900px) { .buy-grid { grid-template-columns: 1fr; } }
.quote { position: sticky; top: 5rem; }
.quote h2 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.quote .lines { list-style: none; padding: 0; margin: 0 0 .75rem; display: grid; gap: .4rem; }
.quote .lines li { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--fs-sm); }
.quote .lines li.sub { border-top: 1px solid var(--line); padding-top: .4rem; font-weight: 600; }
.quote .big { font: 800 2rem/1.15 var(--font-head); margin: .5rem 0 .25rem; }
ul.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.facts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); gap: .9rem 1.25rem; margin: 0; }
.facts-grid dt { font-size: var(--fs-2xs); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.facts-grid dd { margin: .15rem 0 0; overflow-wrap: anywhere; font-weight: 500; }
.add-table { width: 100%; }
.add-table input { width: 6.5rem; min-width: 6.5rem; }
.add-table td:first-child { width: 55%; }
.add-table td.num, .add-table th.num { text-align: right; white-space: nowrap; }
.wide-form { max-width: 640px; }
.form fieldset { border: 1px solid var(--line); border-radius: var(--r-btn); padding: .75rem 1rem 1rem; display: grid; gap: .75rem; margin: 0; }
.form legend { font-weight: 600; padding: 0 .35rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; align-items: start; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
label.check input { width: auto; margin-top: .2rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 1.2rem; margin: 2rem 0; }
.tier { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; box-shadow: var(--lift); }
.tier.featured { border-color: var(--signal); box-shadow: 0 0 0 1px var(--signal) inset, var(--lift); }
.tier h3 { margin: 0 0 .3rem; font-size: var(--fs-xl); }
.tier .big { font: 800 2rem/1.1 var(--font-head); color: var(--accent-text); margin: .4rem 0 .1rem; }
.how { counter-reset: how; list-style: none; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.how li { counter-increment: how; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.2rem; }
.how li::before { content: counter(how); display: inline-flex; width: 30px; height: 30px; border-radius: 50%; align-items: center; justify-content: center;
  background: var(--btn); color: var(--btn-ink); font: 800 var(--fs-sm) var(--font-head); margin-bottom: .6rem; }
.review { display: grid; gap: .5rem; margin-bottom: 1rem; border-radius: var(--r-lg); padding: 1.3rem 1.4rem; }
.review header { display: flex; gap: .7rem; align-items: center; flex-wrap: wrap; }
.review header b { font-family: var(--font-head); font-size: var(--fs-lg); }
.review-body { white-space: pre-line; margin: 0; }
.stars { color: var(--st-warning); letter-spacing: .08em; }
.rating-sum { display: inline-flex; align-items: center; gap: .8rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-pill); padding: .5rem 1.1rem; font-weight: 600; }
.comment { border-left: 3px solid var(--line); padding: .25rem .75rem; }
.comment.staff { border-left-color: var(--signal); }
.comment p { margin: .15rem 0; }
.comment-form { display: flex; gap: .5rem; align-items: flex-start; }
.comment-form textarea { flex: 1; }
.hidden-item { opacity: .55; }
.rating { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.legal { max-width: 820px; margin: 2rem auto; line-height: 1.65; padding: clamp(1.25rem, 4vw, 2.5rem); border-radius: var(--r-lg); }
.legal h1 { font-size: 1.9rem; display: block; margin-bottom: .75rem; }
.legal h2 { font-size: var(--fs-xl); margin-top: 1.6rem; display: block; }
.pub-main .card { border-radius: var(--r-lg); }
.plain .ico { width: 16px; height: 16px; vertical-align: -3px; margin-right: .35rem; }
.reviews-list { max-width: 880px; padding-bottom: 3rem; }
.app .reviews-list, .app .pub-wrap { padding-left: 0; padding-right: 0; }
.app .p-hero::before { display: none; }
.app .pub-sec { text-align: left; }
.app .pub-sec h1 { font-size: 1.5rem; }
.app .center .cta-row, .app .center .facts { justify-content: flex-start; }
.app .center .lead { margin-left: 0; }
main.pub-main { max-width: none; padding: 0; margin: 0; }
.pub-foot .lockup .lk { height: 56px; }
/* Plan form: one row per module, name on the left, quantity on the right */
fieldset.mods { gap: 0; }
.mod-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .15rem 1rem; align-items: center; padding: .8rem 0; border-top: 1px solid var(--line); }
fieldset.mods > p.hint:first-of-type + .mod-row, fieldset.mods > .mod-row:first-of-type { border-top: 0; }
.mod-name { font-weight: 600; font-family: var(--font-head); display: grid; }
.mod-name small { font: 400 var(--fs-xs) var(--font); color: var(--muted); }
.mod-row input.short { width: 7rem; }
.mod-row select { max-width: 20rem; }
.mod-row .hint { grid-column: 1 / -1; }
.mod-row.check-row input { justify-self: end; width: 1.2rem; height: 1.2rem; }
.banner p { margin: 0 0 .6rem; }
.banner .actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.auth-brand > div:first-child { position: sticky; top: 110px; }
@media (max-width: 900px) { .auth-brand > div:first-child { position: static; } }
td form.inline + form.inline { margin-left: .9rem; }
.how li { display: grid; align-content: start; gap: .2rem; }
@media (max-width: 640px) {
  .mod-table thead { display: none; }
  .mod-table tr { display: grid; grid-template-columns: 1fr auto; gap: .2rem .6rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .mod-table td { display: block; padding: 0; border: 0; }
  .mod-table td:first-child { grid-column: 1 / -1; }
  .pub-main .card { padding: .9rem 1rem; }
  .welcome { padding: 1.25rem; }
}

/* Very narrow phones (320-400 px): keep the header on one line. The logo
   stays at its minimum size and the theme button gets smaller. */
@media (max-width: 400px) {
  .pub-row { gap: .5rem; }
  .pub-cta { gap: .5rem; }
  .pub-cta [data-theme-toggle] { width: 36px; height: 36px; min-width: 36px; min-height: 36px; }
  .pub-cta .button { padding: .55rem .75rem; }
}
/* Safe areas on phones with notches. */
.pub-wrap { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
@media (min-width: 720px) { .pub-wrap { padding-left: max(28px, env(safe-area-inset-left)); padding-right: max(28px, env(safe-area-inset-right)); } }
.pub-foot { padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)); }
/* Tables that don't fit scroll inside their card, never the page. */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
/* Phones and touch screens: tap targets at least 44 px tall. */
@media (pointer: coarse), (max-width: 720px) {
  .foot-grid a:not(.lockup) { padding: .6rem 0; }
  .pub-signin { padding: .6rem 0; }
  .button, button:not(.link):not(.icon-btn) { min-height: var(--tap); }
  .icon-btn { min-width: var(--tap); min-height: var(--tap); }
  .side nav a { min-height: var(--tap); display: flex; align-items: center; }
  .crumbs a { display: inline-block; padding: .5rem 0; }
}

/* Confidential license key: notice, watermark, auto-hide. */
.notice { border-left: 4px solid var(--deep); }
.legal-list { padding-left: 1.3rem; display: grid; gap: .5rem; margin: .5rem 0 1rem; }
.legal-list li { line-height: 1.55; }
.watermark { font-size: var(--fs-xs); color: var(--muted); margin: .4rem 0 .9rem; user-select: none; overflow-wrap: anywhere; }
.key-reveal.expired pre.key, .key-reveal.expired .copy-btn { display: none; }
/* Partner workflow */
.flow { counter-reset: flow; list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); }
.flow li { counter-increment: flow; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1rem 1.1rem; }
.flow li::before { content: counter(flow); display: inline-flex; width: 26px; height: 26px; border-radius: 50%; align-items: center; justify-content: center;
  background: var(--btn); color: var(--btn-ink); font: 800 var(--fs-sm) var(--font-head); margin-bottom: .4rem; }
.flow li strong { display: block; font-family: var(--font-head); }
.flow li p { margin: .2rem 0 0; color: var(--muted); font-size: var(--fs-sm); }

/* ---------- Customer management ---------- */
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1rem; align-items: start; }
.two-col > .card { margin: 0; }
.two-col + .card, .card + .two-col { margin-top: 1rem; }
.search-row { flex-wrap: wrap; gap: .5rem; margin: .75rem 0 1rem; }
.search-row input[type=search] { flex: 1 1 260px; min-width: 0; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .35rem .75rem; }
.inline-label { display: inline-flex; align-items: center; gap: .4rem; }
ul.timeline { list-style: none; padding: 0; margin: 1rem 0 0; }
ul.timeline li { border-left: 3px solid var(--line); padding: .35rem 0 .5rem .8rem; margin-bottom: .4rem; }
ul.timeline li.open-task { border-left-color: var(--signal); }
ul.timeline p { margin: .2rem 0; white-space: pre-wrap; overflow-wrap: anywhere; }
ul.contacts li { padding: .45rem 0; border-bottom: 1px solid var(--line); }
ul.compact-list { columns: 2 280px; column-gap: 2rem; }
ul.compact-list li { break-inside: avoid; padding: .15rem 0; }
button.danger { border-color: #c0392b; color: #c0392b; }
button.danger:hover { background: #c0392b; color: #fff; }
.quote-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 1rem; }
.quote-logo { height: 32px; display: block; margin-bottom: .6rem; }
.quote-parties { display: grid; gap: .6rem; margin: 0; }
.quote-parties dt { font-size: var(--fs-xs); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.quote-parties dd { margin: 0; }
@media print {
  .side, .top, .app-foot, .noprint, .crumbs, .flash { display: none !important; }
  body, .card { background: #fff !important; color: #000 !important; box-shadow: none !important; }
  .quote-doc { border: 0 !important; }
}
.listing-card { max-width: 560px; }
.listing-logo { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: flex; align-items: center; justify-content: center; min-height: 90px; margin-bottom: .8rem; }
.listing-logo img { max-width: 100%; height: auto; max-height: 100px; }

/* Sign-in security */
.setup-steps { display: grid; gap: 1rem; padding-left: 1.25rem; }
.qr { margin: .75rem 0; }
.qr img { background: #fff; padding: 8px; border-radius: var(--r-lg); border: 1px solid var(--line); }
.setup-key { font-size: 1.1rem; letter-spacing: .08em; }
.code-input { font-family: var(--font-mono, monospace); letter-spacing: .15em; max-width: 14rem; }
.recovery-codes { display: grid; grid-template-columns: repeat(2, minmax(0, 12rem)); gap: .4rem 1.5rem; list-style: none; padding: 0; font-size: 1.05rem; }
@media print { .side, .top, .actions, .page-head, .card:not(.attention) { display: none !important; } }

/* ---- Plan wizard ---- */
.mod-ico { display: block; flex: none; border-radius: 22%; }
.wiz-rail { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0 0 1rem; }
.wiz-rail li { display: none; }
.wiz.stepping .wiz-rail li { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .6rem .3rem .3rem; border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--panel); cursor: pointer; font-size: var(--fs-xs); color: var(--muted); }
.wiz-rail li .mod-ico { width: 24px; height: 24px; }
.wiz-rail li .ico { width: 18px; height: 18px; margin-left: .3rem; }
.wiz-rail li.current { border-color: var(--signal); color: var(--text); box-shadow: 0 0 0 2px var(--accent-soft); font-weight: 600; }
.wiz-rail li.done { color: var(--text); }
.wiz-rail li.added { border-color: var(--signal); }
.wiz-rail li.added::after { content: "✓"; color: var(--signal); font-weight: 700; }
.wiz-step { margin-bottom: 1rem; }
.wiz-head { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: .75rem; }
.wiz-head h2 { margin: 0; font-family: var(--font-head); }
.wiz-head .eyebrow { margin: 0 0 .15rem; font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); font-weight: 700; }
.wiz-head .tagline { margin: .2rem 0 0; color: var(--muted); }
.wiz-head .price-chip { margin-left: auto; flex: none; max-width: 18rem; text-align: right; font-size: var(--fs-xs); font-weight: 600; color: var(--accent-text);
  background: var(--accent-soft); border-radius: var(--r-md); padding: .35rem .6rem; }
.wiz-ico-plain { width: 64px; height: 64px; flex: none; border-radius: 15px; background: linear-gradient(135deg, #173D5C, #0B1E30); color: var(--current);
  display: inline-flex; align-items: center; justify-content: center; }
.wiz-ico-plain .ico { width: 30px; height: 30px; }
.checks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: .35rem 1rem; margin: .75rem 0; }
.checks li { display: flex; gap: .45rem; align-items: flex-start; }
.checks .ico { color: var(--signal); width: 18px; height: 18px; flex: none; margin-top: .15rem; }
.wiz-links { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: .5rem 0 1rem; }
.wiz-links button .ico { width: 16px; height: 16px; margin-right: .3rem; vertical-align: -3px; }
.wiz-count { background: var(--accent-soft); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1rem 1.1rem; }
.wiz-count p { margin: .2rem 0 .5rem; }
.qty-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: .6rem 0; font-weight: 600; }
.qty-row input[type=number] { width: 8rem; font-size: var(--fs-md); }
.qty-row select { min-width: 16rem; }
.qty-row .hint { font-weight: 400; }
.wiz-choose { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .75rem; }
.wiz-nav { position: sticky; bottom: .75rem; z-index: 4; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .6rem .8rem;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 8px 24px rgba(11, 30, 48, .12); }
.bill-choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: .75rem; }
.bill-opt { display: flex; gap: .6rem; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1rem; cursor: pointer; }
.bill-opt:has(input:checked) { border-color: var(--signal); box-shadow: 0 0 0 2px var(--accent-soft); }
.bill-opt span { display: grid; gap: .2rem; }
.bill-opt small { color: var(--muted); }
/* Summary: branded */
.plan-summary { display: grid; gap: 1rem; }
.sum-brand { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1rem 1.2rem; border-radius: var(--r-lg);
  background: linear-gradient(120deg, #0F2A43 0%, #0B1E30 60%, #10384F 100%); color: #E9F2F5; letter-spacing: .06em; font-size: var(--fs-sm); }
.sum-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: .6rem; }
.sum-card { display: flex; align-items: center; gap: .75rem; border: 1px solid var(--line); border-radius: var(--r-lg); padding: .7rem .8rem; background: var(--panel); }
.sum-card.discount { border-style: dashed; }
.sum-text { display: grid; gap: .1rem; min-width: 0; }
.sum-amt { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sum-total { display: grid; gap: .25rem; border-top: 1px solid var(--line); padding-top: .75rem; }
.sum-total .big { font-family: var(--font-head); font-size: var(--fs-xl); font-weight: 800; }
.sum-diff { font-weight: 600; color: var(--accent-text); }
/* Detail and diagram windows */
.wiz-dialog { position: fixed; inset: auto; margin: 0; left: 50%; top: 10%; width: min(720px, calc(100vw - 1rem)); height: min(560px, calc(100vh - 1rem));
  max-width: calc(100vw - 8px); max-height: calc(100vh - 8px); padding: 0; display: none; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-xl, 16px); background: var(--panel); color: var(--text); box-shadow: var(--sh-pop, 0 20px 60px rgba(0,0,0,.35)); }
.wiz-dialog[open] { display: flex; }
.wiz-dialog.full { left: 4px !important; top: 4px !important; width: calc(100vw - 8px) !important; height: calc(100vh - 8px) !important; border-radius: var(--r-lg); }
.wiz-dialog::backdrop { background: rgba(11, 30, 48, .6); }
.dlg-head { display: flex; align-items: center; gap: .75rem; padding: .7rem .8rem .7rem 1.1rem; border-bottom: 1px solid var(--line); cursor: move; user-select: none; touch-action: none; flex: none; }
.dlg-head h3 { margin: 0; flex: 1; min-width: 0; font-family: var(--font-head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dlg-ctrls { display: flex; gap: .25rem; cursor: default; }
.dlg-ctrls .icon-btn { width: 2rem; height: 2rem; font-size: 1.1rem; line-height: 1; display: inline-grid; place-items: center; }
.dlg-body { flex: 1; min-height: 0; overflow: auto; padding: 1rem 1.3rem 1.3rem; overscroll-behavior: contain; }
.dlg-grip { position: absolute; right: 2px; bottom: 2px; width: 18px; height: 18px; cursor: nwse-resize; touch-action: none;
  background: linear-gradient(135deg, transparent 50%, var(--muted, #8894a3) 50%, var(--muted, #8894a3) 58%, transparent 58%, transparent 70%, var(--muted, #8894a3) 70%, var(--muted, #8894a3) 78%, transparent 78%); opacity: .7; }
.wiz-dialog.full .dlg-grip { display: none; }
.dlg-shot, .dlg-diagram { width: 100%; height: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }

/* ---- License cards ---- */
.mod-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: .8rem; margin: .5rem 0; }
.mod-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1rem; background: var(--panel); display: grid; gap: .45rem; align-content: start;
  transition: border-color .15s, box-shadow .15s; }
.mod-card.up { border-color: var(--signal); box-shadow: 0 0 0 2px var(--accent-soft); }
.mod-card.down { border-color: var(--st-warning, #F59E0B); }
.mod-card-head { display: flex; gap: .7rem; align-items: center; }
.mod-card-head h3 { margin: 0; font-size: var(--fs-md); font-family: var(--font-head); }
.mod-card-head p { margin: .1rem 0 0; }
.mod-price { color: var(--muted); margin: 0; }
.mod-delta { font-weight: 700; margin: 0; color: var(--accent-text); }
.mod-card.down .mod-delta { color: var(--st-warning-text, #92400E); }
.mod-change { font-size: var(--fs-md); margin: 0; }
.mod-change .was { color: var(--muted); text-decoration: line-through; }
.stepper { display: inline-flex; align-items: center; gap: .3rem; }
.stepper input { width: 6.5rem; text-align: center; font-size: var(--fs-md); font-weight: 700; }
.stepper .icon-btn { width: 2.2rem; height: 2.2rem; font-size: 1.2rem; font-weight: 700; border: 1px solid var(--line); border-radius: var(--r-md); }
.add-card { border-style: dashed; text-decoration: none; color: var(--text); justify-items: start; }
.add-card .ico { width: 28px; height: 28px; color: var(--signal); }
.add-card:hover { border-color: var(--signal); }
.cards-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 1rem; }
.mod-chip { display: inline-flex; align-items: center; gap: .35rem; }
.mod-chip .mod-ico { width: 18px; height: 18px; border-radius: 5px; }

/* ---- A partner's customer window ---- */
.page-popup .popup-head { display: flex; align-items: center; gap: 1rem; padding: .6rem 1.2rem; border-bottom: 1px solid var(--line); background: var(--panel);
  position: sticky; top: 0; z-index: 5; }
.page-popup .popup-head .lockup img { height: 34px; width: auto; }
.page-popup .popup-head .button { margin-left: auto; }
.page-popup .popup-main { max-width: 1120px; margin: 0 auto; padding: 1.2rem; }
.page-staffwin .popup-head { display: flex; align-items: center; gap: 1rem; padding: .4rem 1rem; border-bottom: 1px solid var(--line); background: var(--panel); }
.page-staffwin .popup-head .lockup img { height: 28px; width: auto; }
.page-staffwin .popup-head .button { margin-left: auto; }
.page-staffwin .popup-main { max-width: none; margin: 0; padding: .6rem 1rem; }
.page-staffwin .term-box { height: calc(100vh - 8rem); height: calc(100dvh - 8rem); }
.lic-manage .lic-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .5rem; }
.lic-manage h2 { margin: 0; }

/* Support tickets */
.filters { gap: .75rem; align-items: flex-end; flex-wrap: wrap; margin-bottom: .75rem; }
dl.kv { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; margin: .75rem 0 0; }
dl.kv dt { color: var(--muted); font-size: var(--fs-sm); }
dl.kv dd { margin: 0; overflow-wrap: anywhere; }
.pre-wrap { white-space: pre-wrap; overflow-wrap: anywhere; }
ol.ticket-msgs { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .75rem; }
ol.ticket-msgs li { border: 1px solid var(--line); border-radius: var(--r-lg); padding: .6rem .9rem; }
ol.ticket-msgs li.staff { border-left: 4px solid var(--accent); background: var(--accent-soft); }
ol.ticket-msgs li p { margin: .2rem 0; }
details.log-part { border: 1px solid var(--line); border-radius: var(--r-lg); padding: .5rem .8rem; margin: 0 0 .6rem; }
details.log-part summary { cursor: pointer; }
table.log-lines { margin-top: .5rem; }
table.log-lines td { vertical-align: top; overflow-wrap: anywhere; }
table.log-lines tr.lvl-ERROR td:nth-child(2) { color: var(--down, #DC2626); font-weight: 600; }
table.log-lines tr.lvl-WARN td:nth-child(2) { color: var(--warn, #D97706); font-weight: 600; }
@media (max-width: 600px) { dl.kv { grid-template-columns: 1fr; } dl.kv dt { margin-top: .4rem; } }
.popup-body form[data-steps] fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
.popup-body form[data-steps] legend { display: none; }
form[data-steps] .pick-list { display: grid; gap: .4rem; margin: .5rem 0; }
.beta-points { padding-left: 1.1rem; margin: 1rem 0; }
.beta-points li { margin: .35rem 0; }
.pub-wrap.narrow { max-width: 46rem; }
.hbars { display: flex; align-items: flex-end; gap: 2px; height: 90px; margin-top: .5rem; }
.hbars span { flex: 1 1 0; min-width: 2px; background: var(--accent); border-radius: 2px 2px 0 0; opacity: .8; }

/* Staff manuals (/admin/docs) */
.staff-docs { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.staff-docs h2 { margin: .25rem 0 .5rem; }
.staff-doc-wrap { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) { .staff-doc-wrap { grid-template-columns: 15rem minmax(0, 1fr); align-items: start; } .staff-doc-toc { position: sticky; top: 1rem; } }
.staff-doc-toc { display: flex; flex-direction: column; gap: .35rem; font-size: var(--fs-sm, .9rem); }
.staff-doc { line-height: 1.6; max-width: 60rem; overflow-wrap: anywhere; }
.staff-doc h2 { margin-top: 2rem; padding-top: .5rem; border-top: 1px solid var(--line, #e2e8f0); }
.staff-doc h2:first-child { margin-top: 0; border-top: 0; }
.staff-doc h3 { margin-top: 1.4rem; }
.staff-doc pre { overflow-x: auto; padding: .75rem 1rem; border-radius: 8px; background: var(--surface-2, rgba(127,127,127,.12)); font-size: .85rem; line-height: 1.45; }
.staff-doc code { font-family: var(--mono, ui-monospace, monospace); font-size: .9em; }
.staff-doc .table { overflow-x: auto; margin: .75rem 0; }
.staff-doc table { width: 100%; border-collapse: collapse; }
.staff-doc th, .staff-doc td { text-align: left; vertical-align: top; padding: .4rem .6rem; border-bottom: 1px solid var(--line, #e2e8f0); }
.staff-doc .callout { margin: 1rem 0; padding: .6rem 1rem; border-left: 4px solid var(--accent, #2563eb); border-radius: 6px; background: var(--surface-2, rgba(127,127,127,.08)); }
.staff-doc .callout.warn { border-left-color: var(--warn, #D97706); }
.staff-doc .callout.tip { border-left-color: var(--up, #16a34a); }
.mod-more { margin: .75rem 0; }
.mod-more > summary { cursor: pointer; font-weight: 600; }
.mod-card.available { border-style: dashed; }
.mod-card [data-remove] { margin-top: .4rem; }
button.link { background: none; border: 0; padding: 0; color: var(--link, #1d4ed8); text-decoration: underline; cursor: pointer; font: inherit; }
button.link.danger { color: #c0392b; }
button.link.danger:hover { background: none; color: #922b21; }

/* Server watch: filter chips (address kinds, sort) */
a.chip { border: 1px solid var(--line, #ccd); text-decoration: none; padding: .15rem .6rem; font-size: var(--fs-sm); }
a.chip.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 600; }

/* Admin › Demo server */
.big-code { font-size: 1.4rem; font-weight: 700; letter-spacing: .02em; padding: .6rem .9rem; border: 1px dashed var(--line); border-radius: var(--r-md); display: inline-block; margin: .25rem 0; }
pre.wrap { white-space: pre-wrap; overflow-wrap: anywhere; }
strong.ok { color: var(--up); }
