/* The owner's tally. tally's own design system (client/app/app.css): warm paper, near-black ink, one accent (vermilion),
   series blue; dark mode is its own palette. The components the generated screen uses (ui.js) are app.css's. */
@font-face { font-family: "Tally Funk"; src: url("/app/fonts/TallyFunk.woff2") format("woff2"); font-display: swap; }

:root {
  --bg: #f4efe4; --surface: #fffdf8; --raised: #ffffff; --ink: #16140f; --ink2: #4b463c; --muted: #8b8476; --line: #e3dccd; --soft: #efe8da;
  --accent: #e8431f; --accent-ink: #ffffff; --accent-soft: #fde3da;
  --series: #2459c9; --series-2: #93acdf;
  --good: #1d7a46; --warn: #b26a00; --bad: #c4321c; --nodata: #d9d2c3;
  --shadow: 0 1px 0 rgba(22, 20, 15, .04), 0 8px 24px -12px rgba(22, 20, 15, .18);
  --funk: "Tally Funk", ui-rounded, system-ui, sans-serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r: 14px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12110e; --surface: #1b1a16; --raised: #22211c; --ink: #f2ede2; --ink2: #c9c2b3; --muted: #8f887a; --line: #302e27; --soft: #26241e;
    --accent: #ff6a45; --accent-ink: #16140f; --accent-soft: #3a1f17;
    --series: #7aa2ff; --series-2: #3c5590;
    --good: #4cc483; --warn: #e2a33a; --bad: #ff6b55; --nodata: #34322b;
    --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 10px 30px -14px rgba(0, 0, 0, .6);
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--sans); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column; position: relative; }
h1, h2, h3, h4, h5, p, ol { margin: 0; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.funk { font-family: var(--funk); font-weight: 400; letter-spacing: -.01em; }
.muted { color: var(--muted); } .small { font-size: 12.5px; color: var(--muted); }

/* the owner shell: their business, ES · EN, nothing else */
.top { background: var(--bg); color: var(--ink); display: flex; align-items: center; gap: 12px; padding: 12px 16px; position: sticky; top: 0; z-index: 5;
  border-bottom: 1px solid var(--line); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  background: color-mix(in srgb, var(--bg) 88%, transparent); }
.mark { font: 400 22px/1 var(--funk); letter-spacing: -.01em; color: var(--ink); }
.mark::after { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-left: 3px; vertical-align: 2px; }
.biz { font: 600 14px/1.2 var(--sans); color: var(--ink2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.owner { font: 600 10px/1 var(--mono); text-transform: uppercase; border: 1px solid var(--accent); color: var(--accent); padding: 4px 6px; border-radius: 99px; }
main { flex: 1; width: 100%; max-width: 980px; margin: 0 auto; padding: 18px 16px; }

.state { text-align: center; padding: 48px 8px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; justify-items: center; }
.state h1 { font: 400 34px/1.02 var(--funk); max-width: 520px; }
.state p { color: var(--ink2); max-width: 460px; }
.dots { font: 700 28px/1 var(--mono); letter-spacing: .3em; color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--bg); font: 600 15px/1.1 var(--sans); cursor: pointer; text-decoration: none; touch-action: manipulation; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.wa { background: #25D366; border-color: #25D366; color: #0b2614; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.state .btn { width: 100%; max-width: 340px; }
.btn.small { min-height: 38px; font-size: 13px; padding: 8px 14px; margin: 14px auto 0; display: flex; max-width: 300px; }
.field, .lib input, .lib select { width: 100%; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-size: 16px; }
.linkbtn { background: none; border: 0; padding: 10px 2px; font: 500 14px/1 var(--sans); color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* the generated screen (ui.js), in app.css's components */
.tv { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.ph { display: grid; gap: 4px; margin: 2px 0 4px; }
.ph h1 { font-size: clamp(34px, 8vw, 52px); line-height: .98; }
.ph p { color: var(--ink2); font-size: 16px; max-width: 640px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); min-width: 0; }
.card h2 { font: 600 12px var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--ink2); margin: 0 0 12px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card h2 .muted { text-transform: none; letter-spacing: 0; font-weight: 400; }
.sect { display: grid; gap: 12px; } .secth { font: 400 26px/1 var(--funk); margin-top: 8px; }
.grid { display: grid; gap: 14px; } .g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 720px) { .g2, .g3 { grid-template-columns: minmax(0, 1fr); } }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; box-shadow: var(--shadow); min-width: 0; }
.tile .k { color: var(--ink2); font-size: 12.5px; font-weight: 500; }
.tile .v { font-size: 30px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin-top: 2px; }
.tile .s { color: var(--muted); font-size: 12px; margin-top: 2px; }
.tile.hero { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tile.hero .v { font-size: 38px; }
.tile.hero .k, .tile.hero .s { color: color-mix(in srgb, var(--bg) 70%, var(--ink)); }
.tile.hero .spark path.l { stroke: var(--accent); } .tile.hero .spark path.a { fill: color-mix(in srgb, var(--accent) 22%, transparent); }
.delta { font-size: 12px; font-weight: 600; white-space: nowrap; }
.delta.up { color: var(--good); } .delta.down { color: var(--bad); } .delta.flat { color: var(--muted); }
.tile.hero .delta.up { color: #7fe0a6; } .tile.hero .delta.down { color: #ff9c8a; }
.spark { display: block; width: 100%; height: 38px; margin-top: 6px; }
.spark path.l { fill: none; stroke: var(--series); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.spark path.a { fill: color-mix(in srgb, var(--series) 14%, transparent); }
.bch { display: grid; grid-template-columns: auto 1fr; gap: 8px; height: var(--h); padding-bottom: 20px; }
.bch .yax { position: relative; min-width: 22px; }
.bch .yax span { position: absolute; right: 0; transform: translateY(50%); font-size: 10px; color: var(--muted); }
.bch .plot { position: relative; display: flex; align-items: stretch; justify-content: center; gap: 2px; border-bottom: 1px solid var(--line); }
.bch .gl { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--line); pointer-events: none; }
.bch .col { position: relative; flex: 1 1 0; max-width: 56px; display: flex; align-items: flex-end; justify-content: center; border-radius: 6px 6px 0 0; outline: none; }
.bch .col:hover, .bch .col:focus-visible { background: color-mix(in srgb, var(--series) 8%, transparent); }
.bch .col b { display: block; width: 78%; min-width: 2px; background: var(--series); border-radius: 4px 4px 0 0; transition: background .12s; }
.bch .col:hover b, .bch .col:focus-visible b { background: var(--accent); }
.bch .xl { position: absolute; top: 100%; margin-top: 4px; font-size: 10px; color: var(--muted); white-space: nowrap; pointer-events: none; }
.goalnum b { font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.goalbar { height: 10px; border-radius: 99px; background: var(--soft); margin: 10px 0 8px; overflow: hidden; }
.goalbar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.good-note { color: var(--good); font-weight: 600; margin-top: 8px; }
.gform { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) auto; gap: 10px; align-items: end; margin-top: 12px; }
.gform label { display: grid; gap: 4px; font-size: 12.5px; color: var(--ink2); }
@media (max-width: 620px) { .gform { grid-template-columns: minmax(0, 1fr); } }
.insight { display: grid; grid-template-columns: 4px minmax(0, 1fr); gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; box-shadow: var(--shadow); }
.insight > i { border-radius: 4px; background: var(--series); }
.insight.good > i { background: var(--good); } .insight.warn > i { background: var(--warn); } .insight.bad > i { background: var(--bad); }
.insight b { display: block; font-size: 16px; } .insight span { color: var(--ink2); }
.acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.diag { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }
.diag p { margin-top: 6px; } .diag ol { margin: 10px 0 0 18px; display: grid; gap: 4px; }
.stars { color: #d49a00; font-size: 17px; letter-spacing: 1px; }
.place .q { display: block; font-size: 17px; margin-bottom: 8px; }
.placefind:not(:empty) { margin-top: 14px; display: grid; gap: 10px; }
.placelist { display: grid; gap: 6px; }
.placeopt { text-align: left; display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; }
.placeopt:hover { border-color: var(--ink); }
.card table { width: 100%; border-collapse: collapse; } .card td { padding: 7px 0; border-bottom: 1px solid var(--soft); } .card td.n { text-align: right; }
.connect { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; background: var(--surface); border: 1px dashed color-mix(in srgb, var(--ink) 30%, var(--line)); border-radius: var(--r); padding: 14px 16px; }
.connect .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; font: 700 13px/1 var(--mono); color: var(--ink2); }
.connect b { display: block; } .connect span { color: var(--ink2); font-size: 14px; }
@media (max-width: 520px) { .connect { grid-template-columns: 44px minmax(0, 1fr); } .connect .btn { grid-column: 1 / -1; } }
.tnote { color: var(--ink2); }
.askbox { display: grid; gap: 10px; padding: 16px; border-radius: var(--r); background: var(--soft); border: 1px solid var(--line); }
.ask { display: flex; gap: 8px; } .ask .askq, .ask .field { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; color: var(--ink2); cursor: pointer; }
.chips button:hover { border-color: var(--ink); color: var(--ink); }
.askans { background: var(--surface); border-radius: 12px; padding: 12px 14px; display: grid; gap: 4px; }
.askans b { font-size: 13px; color: var(--muted); font-weight: 500; }
.askans.busy { color: var(--muted); }

/* panels: notebook photo, Google Sheets, Clip */
.lib { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px; margin-bottom: 16px; display: grid; gap: 10px; max-width: 560px; }
.lib h2 { font: 400 28px/1.05 var(--funk); } .lib h3 { font: 600 15px/1.2 var(--sans); margin-top: 6px; }
.lib label { display: grid; gap: 4px; font-size: 12.5px; color: var(--ink2); }
.lib .chk { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--ink); } .lib .chk input { width: auto; }
.orow { display: grid; grid-template-columns: 1fr 110px 40px; gap: 6px; margin-bottom: 6px; }
.ox { border: 1px solid var(--line); border-radius: 10px; background: transparent; font-size: 18px; cursor: pointer; }
.lib .warn { color: var(--bad); font-weight: 600; }
.act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: center; }
.act a, .act span { font: 600 14px/1 var(--sans); padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; cursor: pointer; }
.act :first-child { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.list div { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--soft); font-size: 14.5px; }
.list div:last-child { border: 0; }
.mono-mail code { font: 600 13px/1.4 var(--mono); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; word-break: break-all; display: inline-block; }

.note { background: var(--ink); color: var(--bg); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; font: 600 14px/1.4 var(--sans); }
.keep { margin-top: 18px; border: 1px dashed var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 10px; justify-items: start; }
.keep p { color: var(--ink2); font-size: 14.5px; }
.extras { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 10px; }
.foot { text-align: center; padding: 18px 16px 28px; font-size: 12px; color: var(--muted); }

/* ── Tally as an app (S5): safe areas, the install sheet, notifications, pull to refresh ─────────────────────────── */
button, .btn, .act a { touch-action: manipulation; }
.top { padding-top: max(12px, env(safe-area-inset-top)); padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); -webkit-user-select: none; user-select: none; }
main { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
.foot { padding-bottom: max(28px, calc(env(safe-area-inset-bottom) + 12px)); }
.is-app body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.is-app input, .is-app select, .is-app textarea, .is-app code, .is-app .lib, .is-app .askans { -webkit-user-select: text; user-select: text; }
.noscroll, .noscroll body { overflow: hidden; }

.sync { font: 500 11px/1 var(--sans); color: var(--muted); white-space: nowrap; }
.sync.busy::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--accent); animation: pulse 1s ease-in-out infinite; vertical-align: 1px; }
.sync.off { color: var(--warn); }
@keyframes pulse { 50% { opacity: .25; } }

.pushcard { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px 14px; align-items: start; transition: opacity .35s ease, transform .35s ease; }
.pushcard .pc-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.pushcard .pc-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pushcard h5 { margin: 2px 0 4px; font: 600 17px/1.2 var(--sans); }
.pushcard p { color: var(--ink2); }
.pushcard .pc-act { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.pushcard.last { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pushcard.last p { color: color-mix(in srgb, var(--bg) 75%, var(--ink)); }
.pushcard.last .btn { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.pushcard.done { border-color: var(--good); }
.pushcard.done .pc-ico { background: var(--good); color: #fff; }
.pushcard.fade { opacity: 0; transform: translateY(-6px); }

.sheet-bg { position: fixed; inset: 0; z-index: 50; background: rgba(22, 20, 15, 0); transition: background .25s ease; display: flex; align-items: flex-end; justify-content: center; }
.sheet-bg.in { background: rgba(22, 20, 15, .45); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.sheet { width: 100%; max-width: 520px; max-height: 88vh; overflow: auto; background: var(--surface); color: var(--ink); border-radius: 18px 18px 0 0;
  padding: 10px 20px max(20px, calc(env(safe-area-inset-bottom) + 12px)); display: grid; gap: 12px;
  transform: translateY(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); outline: none; overscroll-behavior: contain; }
.sheet-bg.in .sheet { transform: translateY(0); }
.sheet .grab { width: 40px; height: 5px; border-radius: 3px; background: var(--muted); opacity: .4; justify-self: center; margin-bottom: 4px; }
.sheet h3 { font: 400 30px/1.02 var(--funk); }
.sheet p { color: var(--ink2); }
.sheet .btn { width: 100%; }
.steps { list-style: none; padding: 0; display: grid; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.steps li { display: grid; grid-template-columns: 22px 40px minmax(0, 1fr); gap: 10px; align-items: center; padding: 12px; border-bottom: 1px solid var(--soft); line-height: 1.35; }
.steps li:last-child { border-bottom: 0; background: var(--accent-soft); }
.steps .n { font: 600 12px/1 var(--mono); color: var(--muted); }
.steps .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; color: #0A84FF; overflow: hidden; }
.steps .ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.steps .ico svg circle { fill: currentColor; stroke: none; }
.steps .ico img { width: 40px; height: 40px; display: block; }
.steps b { font-weight: 700; }
.sheet.with-hint { padding-bottom: max(64px, calc(env(safe-area-inset-bottom) + 52px)); }
.hint { position: fixed; z-index: 51; bottom: calc(env(safe-area-inset-bottom) + 8px); font: 900 34px/1 var(--sans); color: var(--accent); animation: nudge 1.1s ease-in-out infinite; pointer-events: none; }
.hint.mid { left: 50%; margin-left: -10px; } .hint.right { right: max(22px, env(safe-area-inset-right)); }
@keyframes nudge { 50% { transform: translateY(8px); } }

.device { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 16px; display: grid; gap: 8px; }
.device h4 { font: 600 12px var(--sans); text-transform: uppercase; letter-spacing: .07em; color: var(--ink2); }
.dev-row { display: flex; align-items: center; gap: 10px; font: 600 16px/1.2 var(--sans); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; } .dot.on { background: var(--good); box-shadow: 0 0 0 3px color-mix(in srgb, var(--good) 25%, transparent); }
.dev-act { display: flex; flex-wrap: wrap; gap: 8px; } .dev-act .btn.small { margin: 4px 0 0; }

.flash { animation: flash 1.6s ease-out 1; }
@keyframes flash { 0%, 30% { box-shadow: 0 0 0 3px var(--accent); } 100% { box-shadow: var(--shadow); } }

.ptr { position: fixed; z-index: 4; left: 50%; top: calc(max(12px, env(safe-area-inset-top)) + 40px); width: 34px; height: 34px; margin-top: 6px; border-radius: 50%;
  background: var(--ink); color: var(--bg); display: grid; place-items: center; opacity: 0; transform: translate(-50%, 0); pointer-events: none; }
.ptr svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ptr.ready { background: var(--accent); color: var(--accent-ink); }
.ptr.spin { opacity: 1 !important; transform: translate(-50%, 48px) !important; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: translate(-50%, 48px) rotate(360deg); } }

/* ES · EN */
.langsw { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); flex: none; }
.langsw button { border: 0; background: none; padding: 5px 10px; border-radius: 999px; cursor: pointer; color: var(--ink2); font: 600 12px/1 var(--sans); min-height: 28px; }
.langsw button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.langsw.busy { opacity: .5; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .sheet, .sheet-bg, .pushcard { transition: none; } .hint, .flash, .sync.busy::before { animation: none; } .ptr.spin { animation-duration: 2s; }
}

/* /entrar */
.enter { display: grid; gap: 18px; width: 100%; max-width: 340px; text-align: left; }
.enter form { display: grid; gap: 10px; } .enter label { font-size: 13px; color: var(--ink2); }
.enter .placeopt { text-decoration: none; padding: 14px; background: var(--surface); }

/* Google's button, as Google draws it (white, its own mark), on /crear and /entrar */
.btn.gbtn { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; background: #fff; color: #1f1f1f; border: 1px solid #747775; font-weight: 600; }
.btn.gbtn:hover { background: #f7f9fc; }

/* /crear: an application becomes a tally */
.create .carry { width: 100%; max-width: 340px; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; display: grid; gap: 2px; overflow-wrap: anywhere; }
.create .carry span { color: var(--ink2); }
.create .or { display: flex; align-items: center; gap: 12px; color: var(--ink2); font-size: 14px; } .create .or::before, .create .or::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.create .mailfirst #mail { order: -2; } .create .mailfirst .or { order: -1; }
.create .enter label { font-size: 15px; font-weight: 600; color: var(--ink); } .create .err { color: var(--bad); font-size: 14px; } .create #terms { max-width: 340px; font-size: 14px; }

/* "Tu aplicación" (tenant.js appCard): where the owner's application stands, above their tally */
.appcard { margin: 0 0 14px; }
.appcard .appsteps { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 12px; padding: 0; }
.appcard .appsteps li { font: 600 12px/1 var(--sans); padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.appcard .appsteps li.done { color: var(--ink2); background: var(--soft); }
.appcard .appsteps li.now { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.appcard p { margin: 0 0 12px; color: var(--ink2); }
.appcard p:last-child { margin-bottom: 0; }
