/* DeepSync components. Colours, fonts and sizes come from tokens.css; nothing here names a colour of its own. */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: var(--fs-body)/1.55 var(--font); -webkit-font-smoothing: antialiased; }
:lang(ar) body, body:lang(ar) { font-family: var(--font-ar); line-height: 1.7; }
a { color: var(--link); text-underline-offset: .18em; }
h1, h2, h3 { color: var(--heading); line-height: 1.25; font-weight: 700; }
h1 { font-size: var(--fs-h1); margin: .1rem 0 .35rem; letter-spacing: -.01em; }
h2 { font-size: var(--fs-h2); margin: 0 0 .8rem; }
h3 { font-size: var(--fs-h3); margin: 0 0 .5rem; }
:lang(ar) h1 { letter-spacing: 0; }
p { margin: 0 0 .8rem; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.sprite { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.quiet { color: var(--muted); }
.small { font-size: var(--fs-small); }
.tiny { font-size: .75rem; }
.warn-text { color: var(--warn); }
[dir="rtl"] .flip { transform: scaleX(-1); }
.skip { position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 50; padding: .6rem 1rem; border-radius: var(--radius-btn); background: var(--brand); color: var(--on-brand); }
.skip:focus { top: 1rem; }

/* ------------------------------------------------------------------ the shell: side menu, top bar, page */
body.with-side { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); background: linear-gradient(to right, var(--nav) var(--side-w), var(--bg) 0); }
[dir="rtl"] body.with-side { background: linear-gradient(to left, var(--nav) var(--side-w), var(--bg) 0); }
.frame { min-width: 0; display: flex; flex-direction: column; min-height: 100vh; }
main { width: 100%; max-width: 1200px; margin: 0 auto; padding: var(--space-5) var(--space-5) var(--space-6); flex: 1; outline: none; }
.bare main { max-width: 1100px; }
.legal { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--space-5) var(--space-5); text-align: center; }

.side { position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: var(--space-4);
  padding: var(--space-4) var(--space-3); background: var(--nav); color: var(--on-nav); }
.side-top { display: flex; align-items: center; justify-content: space-between; padding: var(--space-1) var(--space-2) var(--space-2); }
.brand { display: inline-flex; align-items: center; border-radius: 8px; }
.brand img { display: block; height: 2rem; width: auto; }
.side :focus-visible { outline-color: var(--on-nav); }
.side-nav { display: grid; gap: 2px; }
.side-link { display: flex; align-items: center; gap: var(--space-3); min-height: 2.6rem; padding: .45rem var(--space-3); border-radius: var(--radius-btn);
  color: var(--nav-muted); text-decoration: none; font-weight: 600; font-size: .95rem; position: relative; }
.side-link .ico { flex: none; opacity: .9; }
.side-label { flex: 1; min-width: 0; }
a.side-link:hover { background: var(--nav-hover); color: var(--on-nav); }
.side-link.on { background: var(--nav-on); color: var(--on-nav); }
.side-link.on::before { content: ''; position: absolute; inset-inline-start: -.75rem; top: .55rem; bottom: .55rem; width: 4px; border-radius: 0 4px 4px 0; background: var(--accent); }
[dir="rtl"] .side-link.on::before { border-radius: 4px 0 0 4px; }
.side-link.on .ico { color: var(--accent); opacity: 1; }
.side-link.soon { opacity: .55; cursor: default; }
.soon-tag { font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; padding: .05rem .45rem; border-radius: var(--radius-pill); border: 1px solid currentColor; }
:lang(ar) .soon-tag { text-transform: none; letter-spacing: 0; font-size: .75rem; }
.side-head { margin: var(--space-4) var(--space-3) var(--space-1); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--nav-muted); }
:lang(ar) .side-head { text-transform: none; letter-spacing: 0; font-size: .8rem; }
.side-foot { margin: auto var(--space-3) 0; font-size: .8rem; color: var(--nav-muted); display: grid; gap: var(--space-2); }
.gold-rule { display: block; width: 2rem; height: 3px; border-radius: 3px; background: var(--gold); }
.icon-btn.side-close, .scrim { display: none; }

.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: var(--space-3); min-height: 4rem; padding: var(--space-2) var(--space-5);
  background: color-mix(in srgb, var(--card) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bare .topbar { background: var(--bar); color: var(--on-bar); border-bottom: 0; }
.bare .topbar :focus-visible { outline-color: var(--on-bar); }
.top-tools { margin-inline-start: auto; display: flex; align-items: center; gap: var(--space-2); }
.icon-btn.menu-btn { display: none; }
.icon-btn { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: var(--radius-btn); color: inherit; text-decoration: none; }
.icon-btn:hover { background: var(--surface-2); }
.side .icon-btn:hover { background: var(--nav-hover); }
.chip-btn { font: inherit; font-size: var(--fs-small); font-weight: 600; padding: .4rem .8rem; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; }
.chip-btn:hover { border-color: var(--brand); }
.bare .chip-btn { background: transparent; color: var(--on-bar); border-color: rgba(255, 255, 255, .45); }

/* Search */
.search { position: relative; flex: 1; max-width: 28rem; }
.search .ico { position: absolute; inset-inline-start: .8rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { padding-inline-start: 2.4rem; border-radius: var(--radius-pill); background: var(--surface-2); border-color: transparent; }
.search input:focus { background: var(--card); border-color: var(--brand); }

/* Pop-up menus (company switcher, account) */
.pop { position: relative; }
.pop > summary { list-style: none; cursor: pointer; }
.pop > summary::-webkit-details-marker { display: none; }
.pop-menu { position: absolute; z-index: 30; top: calc(100% + .4rem); inset-inline-start: 0; min-width: 16rem; max-height: 70vh; overflow-y: auto; display: grid; gap: 2px; padding: var(--space-2);
  background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-hover); }
.pop-menu.end { inset-inline-start: auto; inset-inline-end: 0; }
.pop-item { display: flex; align-items: center; gap: var(--space-3); width: 100%; padding: .55rem var(--space-3); border: 0; border-radius: var(--radius-btn); background: none;
  font: inherit; color: var(--text); text-decoration: none; text-align: start; cursor: pointer; }
.pop-item:hover { background: var(--surface-2); }
.pop-item.on { background: var(--brand-soft); font-weight: 600; }
.pop-item.all { color: var(--link); border-top: 1px solid var(--line); border-radius: 0 0 var(--radius-btn) var(--radius-btn); margin-top: var(--space-1); }
.pop-note { padding: .4rem var(--space-3); margin: 0; }
.pop-who { display: grid; padding: var(--space-2) var(--space-3) var(--space-3); border-bottom: 1px solid var(--line); margin-bottom: var(--space-1); overflow-wrap: anywhere; }
.switch-btn { display: flex; align-items: center; gap: var(--space-3); padding: .35rem var(--space-3) .35rem .35rem; border: 1px solid var(--line); border-radius: var(--radius-btn); background: var(--card); max-width: 17rem; }
.switch-btn:hover { border-color: var(--brand); }
.switch-text { display: grid; min-width: 0; line-height: 1.2; }
.switch-text b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.switch-btn .ico { color: var(--muted); margin-inline-start: .35rem; }
.chev { flex: none; color: var(--muted); transition: transform .15s; }
.pop[open] .chev { transform: rotate(180deg); }
.avatar-btn { display: block; border-radius: 50%; }
.avatar { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: .85rem;
  box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--gold); }
.theme-pick { display: grid; gap: var(--space-1); padding: var(--space-2) var(--space-3); margin: 0; }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 3px; border-radius: var(--radius-btn); background: var(--surface-2); }
.segmented button { display: inline-flex; align-items: center; justify-content: center; gap: .3rem; padding: .35rem .4rem; border: 0; border-radius: 8px; background: none; color: var(--muted); font: inherit; font-size: .8rem; cursor: pointer; }
.segmented button[aria-pressed="true"] { background: var(--card); color: var(--text); font-weight: 600; box-shadow: var(--shadow); }

/* ------------------------------------------------------------------ building blocks */
.inline { display: inline; margin: 0; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--link); cursor: pointer; text-decoration: underline; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 2.6rem; padding: .5rem 1.05rem; border-radius: var(--radius-btn);
  border: 1px solid var(--line-strong); background: var(--card); color: var(--text); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, box-shadow .15s; }
.btn:hover { border-color: var(--brand); }
.btn.primary { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.btn.primary:hover { box-shadow: var(--shadow-hover); filter: brightness(1.06); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--link); }
.btn.ghost:hover { background: var(--surface-2); }
.btn.danger { color: var(--danger); border-color: var(--danger); }
.btn.danger:hover { background: var(--danger-soft); }
.btn.small { min-height: 2.1rem; padding: .3rem .75rem; font-size: var(--fs-small); }
.btn.wide { width: 100%; min-height: 3rem; font-size: 1.05rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; box-shadow: none; filter: none; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--space-5); margin: var(--space-5) 0; }
.card > :last-child { margin-bottom: 0; }
.card.narrow { max-width: 34rem; margin-inline: auto; }
.card-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-2); margin-bottom: var(--space-3); }
.card-head h2 { margin: 0; }
.flash { display: flex; gap: var(--space-2); align-items: flex-start; padding: .75rem 1rem; border-radius: var(--radius-btn); background: var(--ok-soft); color: var(--ok); border: 1px solid color-mix(in srgb, currentColor 25%, transparent); }
.flash.error { background: var(--danger-soft); color: var(--danger); }
.flash.warn { background: var(--warn-soft); color: var(--warn); }
.flash.info { background: var(--info-soft); color: var(--info-text); }
.badge { display: inline-block; padding: .05rem .55rem; border-radius: var(--radius-pill); background: var(--surface-2); color: var(--muted); font-size: .78rem; font-weight: 600; }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
/* Status chips: the dot carries the colour as well as the words, never the colour alone */
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .12rem .6rem; border-radius: var(--radius-pill); font-size: .78rem; font-weight: 600; white-space: nowrap;
  background: var(--surface-2); color: var(--muted); }
.chip .dot { width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; }
.chip.ok { background: var(--ok-soft); color: var(--ok); }
.chip.info { background: var(--info-soft); color: var(--info-text); }
.chip.warn { background: var(--warn-soft); color: var(--warn); }
.chip.dev .dot { background: none; border: 2px solid currentColor; width: .55rem; height: .55rem; }
.crumbs { margin: 0 0 .5rem; font-size: var(--fs-small); }
.crumbs a { text-decoration: none; }
.page-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); margin-bottom: var(--space-4); }
.page-head > div { min-width: 0; }
.page-head p { margin: 0; }
.page-head > .actions { margin-inline-start: auto; }
.page-head .co-logo, .page-head .co-mono { width: 3.5rem; height: 3.5rem; font-size: 1.1rem; }
.eyebrow { margin: 0 0 .2rem; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
:lang(ar) .eyebrow { letter-spacing: 0; text-transform: none; font-size: .85rem; }

/* Forms */
.stack { display: grid; gap: var(--space-4); margin-bottom: var(--space-4); }
ul.plain { list-style: none; margin: 0; padding: 0; }
ul.plain > li { justify-content: space-between; padding-block: .25rem; border-bottom: 1px solid var(--line); }
ul.plain > li:last-child { border-bottom: 0; }
label { display: grid; gap: .35rem; font-weight: 600; }
label.check { display: flex; align-items: center; gap: .6rem; font-weight: 400; }
.hint { font-weight: 400; font-size: var(--fs-small); color: var(--muted); }
input, textarea, select { font: inherit; min-height: 2.75rem; padding: .55rem .8rem; border: 1px solid var(--line-strong); border-radius: var(--radius-btn); background: var(--card); color: var(--text); width: 100%;
  transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 6rem; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 30%, transparent); }
input[aria-invalid="true"] { border-color: var(--danger); }
input[type=checkbox], input[type=radio] { width: 1.15rem; height: 1.15rem; min-height: 0; accent-color: var(--brand); }
input::placeholder { color: var(--muted); opacity: 1; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius-btn); padding: .6rem .9rem; display: grid; gap: .5rem; }
legend { font-weight: 600; padding: 0 .3rem; }
.icons { display: flex; flex-wrap: wrap; gap: .8rem; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.25rem; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
code { background: var(--surface-2); padding: .1rem .35rem; border-radius: 6px; font-size: .9em; }
.secret-once { font-size: 1rem; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
table.list { width: 100%; border-collapse: collapse; background: var(--card); }
.table-wrap table.list { border-radius: 0; }
table.list th, table.list td { text-align: start; padding: .75rem 1rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.list th { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; background: var(--surface-2); }
:lang(ar) table.list th { text-transform: none; letter-spacing: 0; font-size: .85rem; }
table.list tbody tr:last-child td { border-bottom: 0; }
table.list tbody tr:hover { background: color-mix(in srgb, var(--surface-2) 50%, transparent); }

/* Sign-in */
.signin { max-width: 26rem; margin: 2.5rem auto; text-align: center; display: grid; gap: .9rem; justify-items: center; background: var(--card);
  border: 1px solid var(--line); border-radius: 22px; padding: 2rem 1.75rem; box-shadow: var(--shadow-hover); position: relative; overflow: hidden; }
.signin::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--teal), var(--sky)); }
.signin h1 { margin: 0; }
.signin .stack { width: 100%; text-align: start; }
.signin-logo img { display: block; width: 13.75rem; max-width: 100%; height: auto; }

/* ------------------------------------------------------------------ companies and apps */
.co-cards { list-style: none; padding: 0; margin: var(--space-4) 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: var(--space-4); }
.co-card { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-5); min-height: 6.5rem; background: var(--card); border: 1px solid var(--line);
  border-top: 5px solid var(--co, var(--accent)); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--text); transition: box-shadow .15s, transform .15s; }
.co-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-1px); }
.co-logo { width: 3rem; height: 3rem; object-fit: contain; border-radius: var(--radius-icon); background: #fff; flex: none; }
.co-mono { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: var(--radius-icon); background: var(--co, var(--navy)); color: #fff; font-weight: 700; flex: none; }
.co-mono.sm { width: 2rem; height: 2rem; border-radius: 8px; font-size: .75rem; }
.co-name { display: grid; min-width: 0; }
.co-name b { color: var(--heading); }

.app-tiles { list-style: none; padding: 0; margin: var(--space-4) 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: var(--space-4); }
.app-tiles li { display: grid; gap: .35rem; justify-items: start; align-content: start; }
.app-tile { width: 100%; display: grid; gap: .45rem; justify-items: start; align-content: start; padding: var(--space-5); min-height: 9.5rem; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--text); transition: box-shadow .15s, transform .15s, border-color .15s; }
.app-tile b { font-size: 1.1rem; color: var(--heading); }
a.app-tile:hover { border-color: var(--accent); box-shadow: var(--shadow-hover); transform: translateY(-1px); }
.app-tile.off { opacity: .72; }
.app-ico { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: var(--radius-icon); background: var(--brand-soft); color: var(--brand); flex: none; }
.app-ico.lg { width: 4rem; height: 4rem; border-radius: var(--radius-lg); }

/* Dashboard */
.stats { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: var(--space-4); margin: var(--space-4) 0 var(--space-5); }
.stat { display: flex; gap: var(--space-4); align-items: center; padding: var(--space-4) var(--space-5); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.stat .app-ico { background: var(--surface-2); color: var(--heading); }
.stat b { display: block; font-size: 1.6rem; line-height: 1.1; color: var(--heading); font-variant-numeric: tabular-nums; }
.stat.attention .app-ico { background: var(--warn-soft); color: var(--warn); }
.grid-2 { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--space-5); align-items: start; }
.grid-2 > .card { margin: 0; }
.rows { list-style: none; margin: 0; padding: 0; display: grid; }
.rows > li { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
.rows > li:last-child { border-bottom: 0; }
.rows .grow { flex: 1; min-width: 10rem; display: grid; }
.row-note { flex-basis: 100%; margin: 0; }
.chips { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-2); }
.empty { text-align: center; padding: var(--space-6) var(--space-4); color: var(--muted); }
.empty .app-ico { margin: 0 auto var(--space-3); }

/* Marketplace */
.market { list-style: none; padding: 0; margin: var(--space-4) 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: var(--space-4); }
.market-card { display: grid; grid-template-rows: auto 1fr auto; gap: var(--space-3); height: 100%; padding: var(--space-5); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.market-card header { display: flex; gap: var(--space-3); align-items: flex-start; }
.market-card header > div { display: grid; gap: .25rem; justify-items: start; min-width: 0; }
.market-card h2 { font-size: 1.1rem; margin: 0; }
.market-card h2 a { color: inherit; text-decoration: none; }
.market-card h2 a:hover { text-decoration: underline; }
.market-card footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2); padding-top: var(--space-3); border-top: 1px solid var(--line); }
.price { font-weight: 700; color: var(--heading); }
.features { margin: 0; padding: 0; list-style: none; display: grid; gap: .45rem; }
.features li { display: flex; gap: .5rem; align-items: flex-start; }
.features svg { flex: none; color: var(--brand); margin-top: .2rem; }
.for-company { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin: 0; }
.for-company select { width: auto; min-width: 12rem; }

/* Design page */
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: var(--space-3); list-style: none; padding: 0; margin: 0; }
.swatch { border: 1px solid var(--line); border-radius: var(--radius-btn); overflow: hidden; background: var(--card); }
.swatch i { display: block; height: 4rem; background: var(--sw); border-bottom: 1px solid var(--line); }
.swatch span { display: grid; padding: .5rem .65rem; font-size: .8rem; }
.type-scale > * { margin: 0 0 .4rem; }
.demo-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; margin-bottom: var(--space-4); }

/* ------------------------------------------------------------------ smaller screens */
@media (max-width: 960px) {
  body.with-side, [dir="rtl"] body.with-side { display: block; background: var(--bg); }
  .icon-btn.menu-btn { display: inline-grid; }
  .side { position: fixed; inset-block: 0; inset-inline-start: 0; z-index: 40; width: min(var(--side-w), 85vw); height: 100%; display: none; box-shadow: var(--shadow-hover); }
  .side:target { display: flex; }
  .side:target ~ .scrim { display: block; position: fixed; inset: 0; z-index: 35; background: rgba(11, 20, 36, .45); }
  .icon-btn.side-close { display: inline-grid; color: var(--on-nav); }
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  main { padding: var(--space-4) 16px var(--space-5); }
  .legal { padding: 0 16px var(--space-4); }
  .topbar { flex-wrap: wrap; padding: var(--space-2) 16px; gap: var(--space-2); }
  .with-side .search { order: 5; flex-basis: 100%; max-width: none; }
  .switcher { flex: 1; min-width: 0; }
  .switch-btn { max-width: none; }
  .brand img { height: 1.75rem; }
  h1 { font-size: 1.4rem; }
  .facts { grid-template-columns: 1fr; }
  .facts dd { margin-bottom: .4rem; }
  .pop-menu { position: fixed; inset-inline: 12px; top: 4.2rem; min-width: 0; }
  .market, .co-cards, .app-tiles { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
  .stat { flex-direction: column; align-items: flex-start; gap: var(--space-2); padding: var(--space-3) var(--space-4); }
  .stat .app-ico { width: 2.4rem; height: 2.4rem; }
  table.list th, table.list td { padding: .6rem .7rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
