/* ═══════════════════════════════════════════════════════════════
   deck.css — الـ shell المشترك لكلّ الدروس (لا يُنسخ داخل الدرس)
   الدرس يربطه بـ <link rel="stylesheet" href="../../shared/deck.css">
   CSS خاص بدرس واحد يوضع في <style> داخل الدرس نفسه.
   ═══════════════════════════════════════════════════════════════ */

@font-face {
    font-family: "IBM Plex Sans Arabic";
    src: url("../fonts/IBMPlexSansArabic-Regular.ttf") format("truetype");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Sans Arabic";
    src: url("../fonts/IBMPlexSansArabic-Medium.ttf") format("truetype");
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Sans Arabic";
    src: url("../fonts/IBMPlexSansArabic-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Sans Arabic";
    src: url("../fonts/IBMPlexSansArabic-Bold.ttf") format("truetype");
    font-weight: 700;
    font-display: swap;
}
/* Space Grotesk أولاً: الأرقام والحروف اللاتينية تُرسم به، والعربية تسقط إلى IBM Plex */
@font-face {
    font-family: "Space Grotesk";
    src: url("../fonts/SpaceGrotesk.ttf") format("truetype");
    font-weight: 300 700;
    font-display: swap;
}
@font-face {
    font-family: "JetBrains Mono";
    src: url("../fonts/JetBrainsMono.ttf") format("truetype");
    font-weight: 100 800;
    font-display: swap;
}

:root {
    --char: #111114;
    --iron: #26262b;
    --ash: #b4b4bd;
    --fog: #e7e7ea;
    --white: #fcfcfd;
    --spark-400: #9581ec;
    --spark-500: #6e56cf;
    --spark-600: #5e48be;
    --spark-700: #4c39a0;
    --success: #3fcf8e;
    --error: #e5484d;
    --warn: #e2a03f;

    --bg: var(--char);
    --bg-raised: var(--iron);
    --bg-code: #0b0b0e;
    --text: var(--white);
    --text-muted: var(--ash);
    --border: var(--iron);
    --accent: var(--spark-500);
    --accent-text: var(--spark-400);
    --on-accent: var(--white);
    --wire-off: #3a3a42;

    /* ألوان تلوين الكود */
    --tk-key: #9581ec;
    --tk-str: #7fdcae;
    --tk-num: #f0b86e;
    --tk-com: #6f6f7b;
    --tk-fn: #8cc8ff;
    --tk-tag: #ff9b8a;

    --font: "Space Grotesk", "IBM Plex Sans Arabic", system-ui, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, monospace;
    --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}
html,
body {
    height: 100%;
}
html {
    color-scheme: dark;
}
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.7;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}
button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}
a {
    color: var(--accent-text);
}
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 8px;
}
.ltr {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
}
.num {
    font-variant-numeric: tabular-nums;
}
.accent {
    color: var(--accent-text);
}
.nosel {
    user-select: none;
    -webkit-user-select: none;
}

/* ───────── Deck ───────── */
.deck {
    position: fixed;
    inset: 0 0 72px 0;
}
.slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 16px 24px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-56px);
    transition:
        opacity 0.55s var(--ease),
        transform 0.7s var(--ease),
        visibility 0s linear 0.7s;
}
.slide.past {
    transform: translateX(56px);
}
.slide.active {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition:
        opacity 0.55s var(--ease) 0.08s,
        transform 0.7s var(--ease) 0.08s,
        visibility 0s;
}
.inner {
    width: 100%;
    max-width: 1080px;
    margin: auto;
}
.inner.narrow {
    max-width: 780px;
}

/* ظهور متتابع */
.slide .r {
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity 0.5s var(--ease),
        transform 0.6s var(--ease);
}
.slide.active .r {
    opacity: 1;
    transform: none;
}
.slide.active .r:nth-child(1) { transition-delay: 0.15s; }
.slide.active .r:nth-child(2) { transition-delay: 0.24s; }
.slide.active .r:nth-child(3) { transition-delay: 0.33s; }
.slide.active .r:nth-child(4) { transition-delay: 0.42s; }
.slide.active .r:nth-child(5) { transition-delay: 0.51s; }
.slide.active .r:nth-child(n + 6) { transition-delay: 0.6s; }

/* ───────── Typography ───────── */
.eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--accent-text);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}
h1 {
    font-size: clamp(40px, 7.5vw, 84px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
h2 {
    font-size: clamp(28px, 4.2vw, 44px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}
h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}
p.lead {
    font-size: clamp(17px, 1.8vw, 20px);
    color: var(--text-muted);
    max-width: 60ch;
}
p.lead b.w,
.w {
    color: var(--text);
    font-weight: 600;
}
p + p {
    margin-top: 12px;
}
.hint {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 16px;
}
.card {
    background: var(--bg-raised);
    border-radius: 20px;
    padding: 24px;
}
.rule {
    margin-top: 20px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid var(--border);
    border-inline-start: 3px solid var(--accent);
    font-size: 15px;
    color: var(--text-muted);
}
.rule b {
    color: var(--text);
    font-weight: 600;
}
.rule.warn {
    border-inline-start-color: var(--warn);
}

/* كود داخل السطر */
code {
    font-family: var(--mono);
    font-variant-ligatures: none;
    font-size: 0.88em;
    padding: 1px 7px;
    border-radius: 6px;
    background: var(--bg-raised);
    color: var(--fog);
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
    line-height: 1.5;
    max-width: 100%;
    overflow-wrap: anywhere;
}
.card code,
.rule code,
.sum li code,
.opt code {
    background: var(--bg);
}

/* ───────── Cover ───────── */
.cover {
    text-align: center;
}
.cover .brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    color: var(--text-muted);
    font-size: 18px;
    text-decoration: none;
}
.cover .brand img {
    display: block;
    border-radius: 10px;
}
.cover .brand:hover {
    color: var(--text);
}
.cover .meta {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}
.chip {
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--bg-raised);
    color: var(--text-muted);
    text-decoration: none;
}
a.chip:hover {
    color: var(--text);
}
.typer {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    margin: 0 auto 32px;
    padding: 14px 22px;
    border-radius: 16px;
    background: var(--bg-raised);
    font-family: var(--mono);
    font-size: clamp(14px, 2.2vw, 20px);
    direction: ltr;
    text-align: left;
    white-space: pre;
    overflow: hidden;
    min-height: 58px;
    font-variant-ligatures: none;
}
.typer::after {
    content: "";
    width: 2px;
    height: 1.2em;
    margin-left: 2px;
    background: var(--accent);
    animation: blink 1s steps(1) infinite;
}
@keyframes blink {
    50% {
        opacity: 0;
    }
}
.start {
    margin-top: 40px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--on-accent);
    font-weight: 600;
    transition:
        background 0.2s,
        transform 0.2s;
}
.start:hover {
    background: var(--spark-600);
}
.start:active {
    transform: scale(0.97);
    background: var(--spark-700);
}

/* ───────── Goals ───────── */
.goals {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}
.goal {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 20px;
    border-radius: 16px;
    background: var(--bg-raised);
    text-align: start;
    width: 100%;
    transition: transform 0.3s var(--ease);
}
.goal:hover {
    transform: translateX(-4px);
}
.goal .n {
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-weight: 600;
    font-size: 15px;
    background: var(--bg);
    color: var(--accent-text);
    transition:
        background 0.3s,
        color 0.3s;
}
.goal.done .n {
    background: var(--accent);
    color: var(--on-accent);
}
.goal .t {
    padding-top: 3px;
}

/* ───────── Layout ───────── */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: center;
}
.grid2,
.grid3 {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 860px) {
    .split {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
    .grid3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 560px) {
    .grid2,
    .grid3 {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* بطاقة قابلة للنقر (تفتح/تختار) */
.pick {
    display: block;
    width: 100%;
    text-align: start;
    padding: 16px 18px;
    border-radius: 16px;
    background: var(--bg-raised);
    border: 2px solid transparent;
    transition:
        border-color 0.25s,
        background 0.25s,
        transform 0.2s;
}
.pick:hover {
    border-color: var(--wire-off);
}
.pick.on {
    border-color: var(--accent);
    background: #2b2840;
}
.pick h3 {
    margin-bottom: 4px;
}
.pick p {
    font-size: 15px;
    color: var(--text-muted);
}

/* تبويبات مقسّمة */
.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 5px;
    border-radius: 14px;
    background: var(--bg-raised);
    width: fit-content;
    max-width: 100%;
}
.tabs button {
    padding: 7px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    transition:
        background 0.2s,
        color 0.2s;
}
.tabs button:hover {
    color: var(--text);
}
.tabs button[aria-selected="true"] {
    background: var(--accent);
    color: var(--on-accent);
}

/* قائمة خطوات */
.steps {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    list-style: none;
    counter-reset: st;
}
.steps li {
    position: relative;
    padding: 12px 16px;
    padding-inline-start: 52px;
    border-radius: 14px;
    background: var(--bg-raised);
    color: var(--text-muted);
    transition:
        background 0.3s,
        color 0.3s;
}
.steps li::before {
    counter-increment: st;
    content: counter(st);
    position: absolute;
    inset-inline-start: 14px;
    top: 12px;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 600;
    background: var(--bg);
    color: var(--accent-text);
}
.steps li.on {
    color: var(--text);
    background: #2b2840;
}
.steps li.on::before {
    background: var(--accent);
    color: var(--on-accent);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 999px;
    background: var(--bg-raised);
    font-size: 15px;
    font-weight: 600;
    transition:
        background 0.2s,
        opacity 0.2s;
}
.card .btn:not(.primary) {
    background: var(--bg);
}
.btn:hover:not([disabled]) {
    background: var(--wire-off);
}
.btn.primary {
    background: var(--accent);
    color: var(--on-accent);
}
.btn.primary:hover:not([disabled]) {
    background: var(--spark-600);
}
.btn[disabled] {
    opacity: 0.4;
    cursor: default;
}
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

/* ───────── Code blocks ───────── */
pre.code,
.ed {
    font-family: var(--mono);
    font-size: 15px;
    line-height: 1.65;
    direction: ltr;
    text-align: left;
    tab-size: 2;
    font-variant-ligatures: none;
}
pre.code {
    padding: 16px 18px;
    border-radius: 14px;
    background: var(--bg-code);
    border: 1px solid var(--border);
    overflow-x: auto;
    white-space: pre;
}
.tk-key { color: var(--tk-key); }
/* isolate: النص العربي داخل "..." لا يقلب مكان علامات التنصيص */
.tk-str { color: var(--tk-str); unicode-bidi: isolate; }
.tk-num { color: var(--tk-num); }
.tk-com { color: var(--tk-com); font-style: italic; }
.tk-fn { color: var(--tk-fn); }
.tk-tag { color: var(--tk-tag); }

/* ───────── Playground (محرّر يعمل) ───────── */
.play {
    border-radius: 16px;
    background: var(--bg-code);
    border: 1px solid var(--border);
    overflow: hidden;
    text-align: start;
}
.play-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px 8px 14px;
    border-bottom: 1px solid var(--border);
    background: #16161a;
}
.play-head .file {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--text-muted);
    direction: ltr;
}
.play-head .row {
    gap: 6px;
}
.play-head .btn {
    padding: 5px 12px;
    font-size: 13px;
}
.ed {
    position: relative;
    max-height: 340px;
    overflow: auto;
}
.ed-in {
    position: relative;
    min-width: 100%;
    width: max-content;
}
.ed pre,
.ed textarea {
    margin: 0;
    padding: 14px 16px;
    border: 0;
    font: inherit;
    line-height: inherit;
    white-space: pre;
    tab-size: 2;
}
.ed pre {
    pointer-events: none;
    min-height: 3.6em;
}
.ed textarea {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    resize: none;
    background: transparent;
    color: transparent;
    caret-color: var(--white);
    outline: none;
    overflow: hidden;
}
.ed textarea::selection {
    background: rgba(149, 129, 236, 0.35);
}
.out {
    border-top: 1px solid var(--border);
    padding: 10px 16px;
    min-height: 44px;
    max-height: 180px;
    overflow: auto;
    font-family: var(--mono);
    font-size: 14px;
    direction: ltr;
    text-align: left;
    color: var(--fog);
}
.out:empty::before {
    content: "▶ اضغط «تشغيل» لترى النتيجة";
    font-family: var(--font);
    color: var(--text-muted);
    direction: rtl;
    display: block;
    text-align: right;
    font-size: 13px;
}
.out .ln {
    white-space: pre-wrap;
    word-break: break-word;
    padding: 2px 0;
    border-bottom: 1px solid #1c1c21;
    animation: rise 0.35s var(--ease);
}
.out .ln.err {
    color: #ff8a8d;
}
.out .ln.info {
    color: var(--text-muted);
    font-family: var(--font);
    font-size: 13px;
    direction: rtl;
    text-align: right;
}
.view {
    display: block;
    width: 100%;
    height: 200px;
    border: 0;
    border-top: 1px solid var(--border);
    background: #fff;
}

.view.tall {
    height: 330px;
}

/* ───────── Quiz ───────── */
.q {
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 600;
    margin: 8px 0 24px;
}
.opts {
    display: grid;
    gap: 12px;
}
.opt {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 16px;
    text-align: start;
    background: var(--bg-raised);
    border: 2px solid transparent;
    transition:
        border-color 0.25s,
        background 0.25s,
        transform 0.2s;
}
.opt:hover:not([disabled]) {
    border-color: var(--accent);
}
.opt:active:not([disabled]) {
    transform: scale(0.99);
}
.opt .k {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--bg);
    font-weight: 600;
    font-size: 15px;
    flex: none;
}
.opt[disabled] {
    cursor: default;
}
.opt.right {
    border-color: var(--success);
}
.opt.right .k {
    background: var(--success);
    color: var(--char);
}
.opt.wrong {
    border-color: var(--error);
    animation: shake 0.4s;
}
.opt.wrong .k {
    background: var(--error);
    color: var(--white);
}
@keyframes shake {
    20%,
    60% {
        transform: translateX(-6px);
    }
    40%,
    80% {
        transform: translateX(6px);
    }
}
.explain {
    margin-top: 20px;
    padding: 18px 20px;
    border-radius: 16px;
    background: var(--bg-raised);
    color: var(--text-muted);
    font-size: 15px;
    display: none;
}
.explain.show {
    display: block;
    animation: rise 0.5s var(--ease);
}
.explain b {
    color: var(--success);
}
@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
}

/* ───────── Drill (تدريب عشوائي) ───────── */
.drill {
    text-align: center;
}
.drill .score {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 16px;
}
.drill .q {
    margin-bottom: 14px;
}
.drill pre.code {
    margin: 0 auto 16px;
    max-width: 560px;
}
.drill .opts {
    text-align: start;
}
.drill .feedback {
    min-height: 1.7em;
    margin-top: 14px;
    font-size: 15px;
    color: var(--text-muted);
}
.drill .next-q {
    margin-top: 8px;
    visibility: hidden;
}
.drill .next-q.show {
    visibility: visible;
}

/* ───────── Summary ───────── */
.sum {
    display: grid;
    gap: 12px;
    margin-top: 8px;
}
.sum li {
    list-style: none;
    position: relative;
    padding: 14px 18px;
    padding-inline-start: 40px;
    border-radius: 14px;
    background: var(--bg-raised);
    font-size: 16px;
}
.sum li::before {
    content: "";
    position: absolute;
    inset-inline-start: 18px;
    top: 24px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}
.tag {
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--wire-off);
    color: var(--text);
    transition:
        background 0.25s,
        border-color 0.25s,
        color 0.25s;
}
.tag:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--on-accent);
}

/* ───────── Bottom bar ───────── */
.bar {
    position: fixed;
    inset: auto 0 0 0;
    height: 72px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 16px;
}
.bar .nav {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex: none;
    display: grid;
    place-items: center;
    background: var(--bg-raised);
    transition:
        background 0.2s,
        opacity 0.2s;
}
.bar .nav:hover:not([disabled]) {
    background: var(--accent);
}
.bar .nav[disabled] {
    opacity: 0.3;
    cursor: default;
}
.bar .nav svg {
    width: 20px;
    height: 20px;
}
.bar .home {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex: none;
    display: grid;
    place-items: center;
    color: var(--text-muted);
}
.bar .home:hover {
    color: var(--text);
    background: var(--bg-raised);
}
.dots {
    flex: 1;
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
}
.dot {
    box-sizing: content-box;
    height: 6px;
    width: 6px;
    border: 9px solid transparent;
    background-clip: content-box;
    border-radius: 999px;
    background-color: var(--wire-off);
    margin: 0 -6px;
    transition:
        width 0.45s var(--ease),
        background-color 0.3s;
    padding: 0;
}
.dot.seen {
    background-color: var(--spark-700);
}
.dot.cur {
    width: 28px;
    background-color: var(--accent);
}
.count {
    font-size: 13px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    direction: ltr;
    min-width: 44px;
    text-align: center;
}
@media (max-width: 520px) {
    .count,
    .bar .home {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
    }
}

/* ───────── Responsive (shared shell) — يبقى آخر شيء ───────── */
.dots,
.split > * {
    min-width: 0;
}
@media (max-width: 520px) {
    .bar {
        gap: 10px;
        padding: 0 12px;
    }
    .dots {
        gap: 3px;
    }
    .dot,
    .dot.cur {
        flex: 1 1 0;
        min-width: 0;
        max-width: 22px;
        width: auto;
        height: 4px;
        margin: 0;
        border-width: 10px 0;
        border-radius: 0;
    }
    .dot.cur {
        flex-grow: 2.5;
        max-width: 40px;
    }
    pre.code,
    .ed {
        font-size: 13px;
    }
}
@media (max-height: 820px) and (min-width: 861px) {
    .deck {
        bottom: 60px;
    }
    .bar {
        height: 60px;
    }
    .slide {
        padding-top: 20px;
        padding-bottom: 12px;
    }
    .eyebrow {
        margin-bottom: 8px;
    }
    h2 {
        font-size: clamp(26px, 5vh, 40px);
        margin-bottom: 10px;
    }
    p.lead {
        font-size: min(clamp(17px, 1.8vw, 20px), 2.6vh);
    }
    .rule {
        margin-top: 14px;
        padding: 12px 16px;
    }
    .steps {
        gap: 6px;
        margin-top: 12px;
    }
    .steps li {
        padding-top: 8px;
        padding-bottom: 8px;
    }
    .steps li::before {
        top: 8px;
    }
    .ed {
        max-height: 34vh;
    }
}
@media (max-height: 500px) {
    .deck {
        bottom: 56px;
    }
    .bar {
        height: 56px;
    }
    .bar .nav {
        width: 40px;
        height: 40px;
    }
    .slide {
        padding-top: 16px;
        padding-bottom: 12px;
    }
}

/* ───────── جدول (.tbl داخل .tbl-wrap للتمرير الأفقي) ───────── */
.tbl-wrap {
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid var(--border);
}
.tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}
.tbl th,
.tbl td {
    padding: 10px 14px;
    text-align: start;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
.tbl th {
    background: var(--bg-raised);
    color: var(--text);
    font-weight: 600;
}
.tbl td {
    color: var(--text-muted);
}
.tbl tr:last-child td {
    border-bottom: 0;
}
.tbl code {
    white-space: nowrap;
}
