/* مِنجَز — واجهة عربية من اليمين لليسار، تبدأ من الجوال */
:root {
  --bg: #f2f5fb; --surface: #ffffff; --surface-2: #f6f8fd; --ink: #0f1a33; --ink-2: #44526f; --ink-3: #75829f;
  --line: #e1e7f2; --line-2: #c9d3e6;
  --brand: #1c4fd8; --brand-2: #1640b0; --brand-weak: #e7eefd; --on-brand: #ffffff;
  --ok: #0c7a52; --ok-weak: #e2f5ec; --warn: #935400; --warn-weak: #fff0d3; --bad: #b3232b; --bad-weak: #fde7e8; --info: #1c4fd8;
  --gold: #e8a317;
  --r: 14px; --r-sm: 10px; --shadow: 0 1px 2px rgba(15, 26, 51, .06), 0 6px 18px rgba(15, 26, 51, .05);
  --font: "IBM Plex Sans Arabic", "Noto Sans Arabic", "Segoe UI", Tahoma, system-ui, -apple-system, sans-serif;
  --bottom-h: 64px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a1020; --surface: #121a2e; --surface-2: #17213a; --ink: #e9eef9; --ink-2: #aab6d0; --ink-3: #7f8cab;
    --line: #25304a; --line-2: #34415f; --brand: #6d96ff; --brand-2: #8eb0ff; --brand-weak: #1a2850; --on-brand: #081028;
    --ok: #46d19c; --ok-weak: #0f2c23; --warn: #f0b24a; --warn-weak: #33260c; --bad: #ff8a90; --bad-weak: #3a1519; --info: #6d96ff;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4);
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--font); font-variant-numeric: tabular-nums; min-height: 100vh; }
body.has-bottom { padding-bottom: calc(var(--bottom-h) + env(safe-area-inset-bottom)); }
h1, h2, h3 { margin: 0 0 .5rem; line-height: 1.35; font-weight: 700; }
h1 { font-size: 1.45rem; } h2 { font-size: 1.1rem; } h3 { font-size: 1rem; }
p { margin: 0 0 .75rem; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.i { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -.2em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.num, .ltr { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.ltr { text-align: left; }
.sub, .muted, .hint { color: var(--ink-3); font-size: .88rem; }
.grow { flex: 1; }
.center { text-align: center; }
.hidden { display: none !important; }
.inline { display: inline; margin: 0; }
.row { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack > * + * { margin-top: .9rem; }
.mt { margin-top: 1rem; } .mb { margin-bottom: 1rem; }

/* header */
.top { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top-in { max-width: 1100px; margin: 0 auto; padding: .55rem 1rem; display: flex; align-items: center; gap: .75rem; }
.brand { display: flex; align-items: center; gap: .5rem; min-height: 40px; font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 8px; }
.who { display: flex; flex-direction: column; line-height: 1.25; text-align: end; min-width: 0; }
.who-n { font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 38vw; }
.who-c { font-size: .75rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 38vw; }
.back { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surface-2); color: var(--ink); }
.back .i { width: 1.4em; height: 1.4em; }

/* navigation */
.tabs { background: var(--surface); border-bottom: 1px solid var(--line); display: flex; gap: .25rem; padding: 0 .75rem; overflow-x: auto; scrollbar-width: none; position: sticky; top: 57px; z-index: 15; }
.tabs::-webkit-scrollbar { display: none; }
.tab { display: flex; align-items: center; gap: .4rem; padding: .7rem .8rem; color: var(--ink-2); font-weight: 600; font-size: .92rem; white-space: nowrap; border-bottom: 3px solid transparent; cursor: pointer; list-style: none; }
.tab:hover { text-decoration: none; color: var(--ink); }
.tab.on { color: var(--brand); border-bottom-color: var(--brand); }
.more { position: relative; }
.more summary::-webkit-details-marker { display: none; }
.more-m { position: fixed; inset-inline-start: .75rem; top: 108px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: var(--shadow); padding: .35rem; min-width: 190px; z-index: 30; display: flex; flex-direction: column; }
.more-m a { padding: .6rem .8rem; border-radius: 8px; color: var(--ink); }
.more-m a:hover, .more-m a.on { background: var(--brand-weak); text-decoration: none; }
.bottom { position: fixed; inset-inline: 0; bottom: 0; height: calc(var(--bottom-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--surface); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); z-index: 25; }
.bt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--ink-3); font-size: .75rem; font-weight: 600; }
.bt .i { width: 1.5em; height: 1.5em; }
.bt.on { color: var(--brand); }
.bt:hover { text-decoration: none; }

/* layout */
.wrap { max-width: 680px; margin: 0 auto; padding: 1rem; }
.wrap.wide { max-width: 1100px; }
.grid { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.cols3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid:not(:last-child) { margin-bottom: .9rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem; box-shadow: var(--shadow); margin-bottom: .9rem; }
.card-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: .5rem .75rem; margin-bottom: .6rem; }
.card-h > :first-child { flex: 1 1 11rem; min-width: 0; }
.card-h h2 { margin: 0; }
.card-h .sub { margin: .1rem 0 0; }
.card-a { display: flex; gap: .4rem; flex-wrap: wrap; }
.card.flat { box-shadow: none; }
.card.accent { border-color: var(--brand); background: linear-gradient(180deg, var(--brand-weak), var(--surface) 70%); }
.page-h { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin: .25rem 0 1rem; flex-wrap: wrap; }
.page-h h1 { margin: 0; }

/* stats */
.stat { display: flex; flex-direction: column; gap: .15rem; padding: .85rem .9rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow); min-height: 88px; }
a.stat:hover { text-decoration: none; border-color: var(--brand); transform: translateY(-1px); }
.stat-l { color: var(--ink-2); font-size: .85rem; font-weight: 600; }
.stat-v { font-size: 1.9rem; line-height: 1.1; font-weight: 800; letter-spacing: -.01em; }
.stat-s { color: var(--ink-3); font-size: .78rem; }
.stat.ok .stat-v { color: var(--ok); } .stat.warn .stat-v { color: var(--warn); } .stat.bad .stat-v { color: var(--bad); } .stat.brand .stat-v { color: var(--brand); }
.stat.warn { background: var(--warn-weak); border-color: transparent; } .stat.bad { background: var(--bad-weak); border-color: transparent; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .5rem 1.1rem; border-radius: 12px; border: 1.5px solid transparent; font: 700 1rem var(--font); cursor: pointer; text-align: center; line-height: 1.2; background: var(--surface-2); color: var(--ink); }
.btn:hover { text-decoration: none; filter: brightness(.97); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--brand); color: var(--on-brand); }
.btn.ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn.soft { background: var(--brand-weak); color: var(--brand); }
.btn.good { background: var(--ok); color: #fff; }
.btn.danger { background: var(--bad-weak); color: var(--bad); border-color: transparent; }
.btn.lg { min-height: 58px; font-size: 1.12rem; border-radius: 16px; width: 100%; }
.btn.sm { min-height: 36px; padding: .25rem .75rem; font-size: .88rem; border-radius: 10px; }
.btn[disabled], .btn.off { opacity: .5; pointer-events: none; }
.btn .i { width: 1.2em; height: 1.2em; }

/* badges and notes */
.badge { display: inline-block; padding: .08rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.badge.ok { background: var(--ok-weak); color: var(--ok); border-color: transparent; } .badge.warn { background: var(--warn-weak); color: var(--warn); border-color: transparent; }
.badge.bad { background: var(--bad-weak); color: var(--bad); border-color: transparent; } .badge.info, .badge.brand { background: var(--brand-weak); color: var(--brand); border-color: transparent; }
.badge.muted { opacity: .8; }
.note, .flash { padding: .75rem .95rem; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface-2); margin-bottom: .9rem; font-size: .95rem; }
.note.ok, .flash.ok { background: var(--ok-weak); border-color: transparent; color: var(--ok); } .note.warn, .flash.warn { background: var(--warn-weak); border-color: transparent; color: var(--warn); }
.note.bad, .flash.bad { background: var(--bad-weak); border-color: transparent; color: var(--bad); } .note.info, .flash.info { background: var(--brand-weak); border-color: transparent; color: var(--brand-2); }
.flash { font-weight: 600; }
.empty { text-align: center; padding: 1.5rem .5rem; color: var(--ink-2); }

/* forms */
.field { display: block; margin-bottom: .85rem; }
.field .lbl { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .3rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .6rem .8rem; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--surface); color: var(--ink); font: 400 1rem var(--font); }
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid color-mix(in srgb, var(--brand) 35%, transparent); border-color: var(--brand); }
.field .hint { display: block; margin-top: .25rem; }
.check { display: flex; gap: .65rem; align-items: flex-start; margin-bottom: .75rem; cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: .15rem; accent-color: var(--brand); flex: none; }
.check small { display: block; color: var(--ink-3); }
select.sel { min-height: 44px; padding: .4rem .6rem; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--surface); color: var(--ink); font: 400 .95rem var(--font); max-width: 100%; }
.check.all { padding: .55rem .75rem; margin-bottom: .6rem; background: var(--surface-2); border-radius: var(--r-sm); font-weight: 600; }
.rowchk { display: inline-flex; align-items: center; gap: .55rem; }
.rowchk input { width: 20px; height: 20px; accent-color: var(--brand); flex: none; }
.filters { display: flex; gap: .6rem; flex-wrap: wrap; align-items: flex-end; }
.filters .field { margin: 0; min-width: 130px; flex: 1; }
.filters .btn { align-self: flex-end; }

/* tables */
.tw { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: start; background: var(--surface-2); color: var(--ink-2); font-weight: 700; font-size: .82rem; padding: .55rem .7rem; white-space: nowrap; border-bottom: 1px solid var(--line); }
.table td { padding: .6rem .7rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--surface-2); }
.pager { display: flex; justify-content: space-between; align-items: center; margin: .8rem 0; gap: .5rem; color: var(--ink-3); font-size: .9rem; }

/* progress */
.ring { position: relative; width: 112px; height: 112px; flex: none; }
.ring svg { width: 100%; height: 100%; }
.ring-bg { fill: none; stroke: var(--line); stroke-width: 9; }
.ring-fg { fill: none; stroke: var(--brand); stroke-width: 9; stroke-linecap: round; transition: stroke-dasharray .4s; }
.ring-t { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; }
.ring-t strong { font-size: 1.75rem; font-weight: 800; } .ring-t span { font-size: .75rem; color: var(--ink-3); }
.bar { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.bar.ok i { background: var(--ok); } .bar.warn i { background: var(--gold); } .bar.bad i { background: var(--bad); }

/* employee: day */
.hero { display: flex; gap: 1rem; align-items: center; }
.hero-s { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem .9rem; }
.mini { display: flex; flex-direction: column; line-height: 1.3; }
.mini b { font-size: 1.3rem; font-weight: 800; } .mini span { font-size: .78rem; color: var(--ink-3); }
.kinds { display: flex; flex-direction: column; gap: .4rem; }
.kind { display: flex; align-items: center; gap: .6rem; padding: .7rem .85rem; border-radius: 12px; background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); }
.kind:hover { text-decoration: none; border-color: var(--brand); }
.kind b { margin-inline-start: auto; font-size: 1.05rem; }
.kind span { display: flex; flex-direction: column; gap: .1rem; }
.kind small { display: block; color: var(--ink-3); }
.task { display: flex; align-items: center; gap: .75rem; padding: .75rem .85rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); margin-bottom: .5rem; }
.task:hover { text-decoration: none; border-color: var(--brand); }
.task .t-main { flex: 1; min-width: 0; }
.task .t-name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.task .t-sub { font-size: .82rem; color: var(--ink-3); }
.task.done { opacity: .62; }
.task.reason { opacity: .75; border-style: dashed; }
.task .chev { color: var(--ink-3); }
.group-h { margin: 1.1rem 0 .5rem; font-size: .95rem; color: var(--ink-2); display: flex; align-items: center; gap: .5rem; }
.group-h .badge { margin-inline-start: auto; }

/* employee: client card */
.who-card { text-align: center; padding: 1.2rem 1rem; }
.who-card h1 { font-size: 1.6rem; margin-bottom: .2rem; }
.who-card .call-row { margin-bottom: .75rem; }
.big-num { font-size: 1.9rem; font-weight: 800; letter-spacing: .02em; direction: ltr; unicode-bidi: isolate; display: block; margin: .2rem 0; }
.call-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: .6rem; }
.btn.call { background: var(--ok); color: #fff; min-height: 64px; font-size: 1.2rem; border-radius: 18px; }
.btn.wa { background: #1fa855; color: #fff; min-height: 64px; border-radius: 18px; }
.btn.call.off, .btn.wa.off { background: var(--line-2); color: var(--ink-3); }
.script { background: var(--brand-weak); border-radius: var(--r-sm); padding: .8rem .95rem; color: var(--ink); font-size: .98rem; }
.script b { color: var(--brand); display: block; margin-bottom: .2rem; font-size: .82rem; }
.oc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: .8rem; }
.oc { position: relative; display: block; }
.oc input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.oc span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 58px; padding: .4rem .5rem; border-radius: 14px; border: 2px solid var(--line-2); background: var(--surface); font-weight: 700; font-size: .95rem; line-height: 1.3; }
.oc.pos span { border-color: color-mix(in srgb, var(--ok) 45%, var(--line-2)); } .oc.neg span { border-color: color-mix(in srgb, var(--bad) 40%, var(--line-2)); }
.oc.unr span { border-color: color-mix(in srgb, var(--gold) 55%, var(--line-2)); }
.oc input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--on-brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }
.oc input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.oc.wide { grid-column: 1 / -1; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: .1rem 1.4rem .9rem 0; border-inline-start: 0; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: auto; right: .35rem; top: .55rem; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }
.timeline li::after { content: ""; position: absolute; right: calc(.35rem + 4px); top: 1.2rem; bottom: -.2rem; width: 1px; background: var(--line-2); }
.timeline li:last-child::after { display: none; }
.timeline .tl-t { font-size: .78rem; color: var(--ink-3); }
.gap-box { text-align: center; padding: 1.4rem 1rem; }
.gap-box .reasons { display: grid; gap: .5rem; margin-top: 1rem; }

/* manager */
.alert-row { display: flex; gap: .75rem; align-items: flex-start; padding: .7rem .85rem; border-radius: var(--r-sm); background: var(--warn-weak); color: var(--warn); margin-bottom: .5rem; }
.alert-row p { margin: 0; flex: 1; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); margin-inline-end: .35rem; }
.dot.on { background: var(--ok); } .dot.brk { background: var(--gold); } .dot.off { background: var(--line-2); }
.score { display: inline-grid; place-items: center; min-width: 42px; padding: .1rem .5rem; border-radius: 10px; font-weight: 800; background: var(--surface-2); }
.score.hi { background: var(--ok-weak); color: var(--ok); } .score.mid { background: var(--warn-weak); color: var(--warn); } .score.lo { background: var(--bad-weak); color: var(--bad); }
.flags { display: flex; gap: .35rem; flex-wrap: wrap; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; margin: 0; }
.kv dt { color: var(--ink-3); font-size: .88rem; } .kv dd { margin: 0; font-weight: 600; }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; direction: ltr; unicode-bidi: isolate; background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: .15rem .45rem; font-size: .9rem; word-break: break-all; }
pre.code { padding: .75rem; white-space: pre-wrap; text-align: left; overflow-x: auto; }
.legend { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .85rem; color: var(--ink-2); }
details.fold { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); margin-bottom: .6rem; }
details.fold > summary { padding: .7rem .9rem; cursor: pointer; font-weight: 700; list-style: none; display: flex; align-items: center; gap: .5rem; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > div { padding: 0 .9rem .9rem; }
.auth { max-width: 420px; margin: 8vh auto 2rem; }
.auth .brand-big { display: flex; flex-direction: column; align-items: center; gap: .5rem; margin-bottom: 1.2rem; font-size: 1.6rem; font-weight: 800; }
.auth .brand-big img { border-radius: 18px; box-shadow: var(--shadow); }
.foot { text-align: center; color: var(--ink-3); font-size: .82rem; margin: 1.4rem 0; }

@media (min-width: 760px) {
  .wrap { padding: 1.4rem; }
  .oc-grid { grid-template-columns: repeat(3, 1fr); }
  .tabs { top: 57px; }
}
@media (max-width: 520px) { .grid:not(.two):not(.cols3) > .stat:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 420px) { .hero { flex-direction: column; align-items: stretch; text-align: center; } .ring { margin: 0 auto; } .call-row { grid-template-columns: 1fr; } }
@media print {
  .top, .tabs, .bottom, .btn, .no-print { display: none !important; }
  body { background: #fff; color: #000; } .card { box-shadow: none; break-inside: avoid; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

ul.plain { padding-inline-start: 1.25rem; margin: .2rem 0 1rem; } ul.plain li { margin-bottom: .4rem; }
.card h3 { margin-top: .4rem; }

/* period tabs and trends (reports, comparison) */
.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.seg a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1.1rem; border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: .92rem; }
.seg a:hover { text-decoration: none; color: var(--ink); }
.seg a.on { background: var(--brand); color: var(--on-brand); }
.delta { display: inline-block; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.delta.up { color: var(--ok); } .delta.down { color: var(--bad); } .delta.flat { color: var(--ink-3); }
.code-big { font-size: 2.2rem; font-weight: 700; letter-spacing: .08em; text-align: center; margin: 1rem 0; }

/* tables with many columns become one card per row on a phone (ui.table marks the cells; nothing scrolls sideways) */
@media (max-width: 640px) {
  .tw.cards { border: 0; background: none; overflow: visible; }
  .tw.cards .table, .tw.cards tbody { display: block; }
  .tw.cards thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tw.cards tr { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem .9rem; padding: .75rem .9rem; margin-bottom: .6rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); }
  .tw.cards tbody tr:hover { background: var(--surface); }
  .tw.cards td { display: block; min-width: 0; padding: 0; border: 0; overflow-wrap: anywhere; }
  .tw.cards td::before { content: attr(data-l); display: block; margin-bottom: .1rem; color: var(--ink-3); font-size: .74rem; font-weight: 600; }
  .tw.cards td.t { order: -1; grid-column: 1 / -1; padding-bottom: .45rem; border-bottom: 1px solid var(--line); font-size: 1.02rem; font-weight: 700; }
  .tw.cards td.t::before, .tw.cards td[data-l=""]::before { display: none; }
  .tw.cards td.w, .tw.cards td[data-l=""] { grid-column: 1 / -1; }
  .tw.cards td.e { display: none; }
  .tw.cards .code { font-size: .78rem; }
}
