/* =============================================================================
   iFatora Licensing - what the console needs beyond the product's stylesheet
   =============================================================================

   ifatora.css beside this file is the product's own, copied unchanged: the
   tokens, the frame, panels, tables, chips. This file adds only what the
   console has and the product does not, and uses the same tokens - no colour
   literals - so the two stay one design.
   ========================================================================== */

.page { max-width: none; }
.page-foot {
    text-align: center;
    color: var(--ifr-faint);
    font-size: .8rem;
    padding: var(--ifr-6) 0 var(--ifr-2);
}

.brand-sub {
    font-weight: 500;
    font-size: .78rem;
    color: var(--ifr-faint);
    margin-inline-start: 4px;
}

/* The sign-out button sits among links and has to look like one of them. */
.sidebar .sidebar-link {
    width: 100%;
    background: none;
    border: 0;
    color: #9aa5b8;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: .88rem;
    text-align: start;
}
.sidebar .sidebar-link:hover { background: rgba(255, 255, 255, .07); color: #e2e8f0; }
.sidebar .sidebar-link i { font-size: 1.05rem; width: 22px; text-align: center; opacity: .7; }

.topbar-search { position: relative; }
.topbar-search i {
    position: absolute;
    inset-inline-start: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ifr-faint);
    pointer-events: none;
}
.topbar-search input { padding-inline-start: 32px; width: min(340px, 52vw); }
.topbar-user { font-size: .85rem; color: var(--ifr-muted); white-space: nowrap; }
@media (max-width: 575px) { .topbar-user { display: none; } }

/* Codes, fingerprints and versions are read left to right and letter by
   letter - over the phone, often - whatever the page direction. */
.code {
    font-family: ui-monospace, Menlo, Consolas, monospace;
    letter-spacing: .5px;
    direction: ltr;
    unicode-bidi: isolate;
}
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* ---------------------------------------------------------------------------
   Figures across the top of the overview
   --------------------------------------------------------------------------- */
.kpi {
    background: var(--ifr-surface);
    border-radius: var(--ifr-radius-lg);
    box-shadow: var(--ifr-shadow);
    padding: var(--ifr-4);
    display: flex;
    align-items: center;
    gap: var(--ifr-3);
    height: 100%;
    color: inherit;
    text-decoration: none;
}
a.kpi:hover { box-shadow: var(--ifr-shadow-lg); }
.kpi-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    background: var(--ifr-accent-soft);
    color: var(--ifr-accent);
}
.kpi-icon.good { background: var(--ifr-good-soft); color: var(--ifr-good); }
.kpi-icon.warn { background: var(--ifr-warn-soft); color: var(--ifr-warn-ink); }
.kpi-icon.bad  { background: var(--ifr-bad-soft);  color: var(--ifr-bad); }
.kpi-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ifr-ink);
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
.kpi-label { font-size: .8rem; color: var(--ifr-muted); margin-top: 2px; }

/* ---------------------------------------------------------------------------
   Lists inside a panel: one row per thing, the thing on one side and the
   number that makes it urgent on the other.
   --------------------------------------------------------------------------- */
.rows { list-style: none; margin: 0; padding: 0; }
.rows > li { border-bottom: 1px solid var(--ifr-line); }
.rows > li:last-child { border-bottom: 0; }
.rows .row-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ifr-3);
    padding: var(--ifr-3) var(--ifr-4);
    color: inherit;
    text-decoration: none;
}
.rows a.row-link:hover { background: var(--ifr-sunken); }
.rows .row-main { min-width: 0; }
.rows .row-title { font-weight: 600; color: var(--ifr-ink); }
.rows .row-sub {
    font-size: .8rem;
    color: var(--ifr-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rows .row-empty { padding: var(--ifr-4); color: var(--ifr-muted); font-size: .87rem; }

.panel-count {
    font-size: .75rem;
    background: var(--ifr-sunken);
    border: 1px solid var(--ifr-line);
    border-radius: var(--ifr-radius-pill);
    padding: 1px 9px;
    color: var(--ifr-ink-2);
    font-weight: 600;
}

/* A horizontal bar for a share of a total - versions, plans. */
.bar-row { display: grid; grid-template-columns: 9rem 1fr 2.5rem; align-items: center; gap: var(--ifr-3); padding: 6px 0; }
.bar-row .bar-label { font-size: .85rem; color: var(--ifr-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-row .bar-track { height: 8px; background: var(--ifr-sunken); border-radius: var(--ifr-radius-pill); overflow: hidden; }
.bar-row .bar-fill { height: 100%; background: var(--ifr-accent); border-radius: var(--ifr-radius-pill); }
.bar-row .bar-fill.good { background: var(--ifr-good); }
.bar-row .bar-fill.warn { background: var(--ifr-warn); }
.bar-row .bar-num { font-size: .85rem; font-weight: 600; text-align: end; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------------------
   A definition list: label and value, two columns, for "what is this licence"
   --------------------------------------------------------------------------- */
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: var(--ifr-4); margin: 0; }
.facts dt { font-size: .76rem; color: var(--ifr-muted); font-weight: 500; }
.facts dd { margin: 2px 0 0; color: var(--ifr-ink); font-weight: 600; }

/* The activation code, big enough to read out. */
.code-box {
    display: flex;
    align-items: center;
    gap: var(--ifr-2);
    background: var(--ifr-sunken);
    border: 1px dashed var(--ifr-line-strong);
    border-radius: var(--ifr-radius);
    padding: var(--ifr-3) var(--ifr-4);
}
.code-box .code { font-size: 1.35rem; font-weight: 700; color: var(--ifr-ink); flex: 1; text-align: center; }

/* ---------------------------------------------------------------------------
   Plans on the licence form: one card per plan, a radio underneath.
   --------------------------------------------------------------------------- */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: var(--ifr-3); }
.plan-card {
    position: relative;
    border: 1.5px solid var(--ifr-line-strong);
    border-radius: var(--ifr-radius);
    padding: var(--ifr-3) var(--ifr-4);
    cursor: pointer;
    background: var(--ifr-surface);
    transition: border-color .12s, box-shadow .12s;
    margin: 0;
}
.plan-card:hover { border-color: var(--ifr-accent); }
.plan-card input { position: absolute; opacity: 0; pointer-events: none; }
.plan-card .plan-name { font-weight: 700; color: var(--ifr-ink); display: flex; align-items: center; gap: 6px; }
.plan-card .plan-hint { font-size: .78rem; color: var(--ifr-muted); margin-top: 4px; line-height: 1.5; }
.plan-card:has(input:checked) {
    border-color: var(--ifr-accent);
    box-shadow: 0 0 0 3px var(--ifr-accent-soft);
    background: var(--ifr-accent-soft);
}
.plan-card .plan-check { margin-inline-start: auto; color: var(--ifr-accent); visibility: hidden; }
.plan-card:has(input:checked) .plan-check { visibility: visible; }

.feature-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--ifr-2) var(--ifr-4); }
.feature-list .form-check-label .fw-semibold { color: var(--ifr-ink); }

.quick-dates { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.quick-dates .btn { font-size: .75rem; padding: 2px 10px; }

/* ---------------------------------------------------------------------------
   Activity
   --------------------------------------------------------------------------- */
.feed { list-style: none; margin: 0; padding: 0; }
.feed li {
    display: flex;
    gap: var(--ifr-3);
    padding: var(--ifr-3) var(--ifr-4);
    border-bottom: 1px solid var(--ifr-line);
    align-items: flex-start;
}
.feed li:last-child { border-bottom: 0; }
.feed .feed-icon {
    width: 30px; height: 30px;
    border-radius: 50%;
    display: grid; place-items: center;
    flex-shrink: 0;
    background: var(--ifr-sunken);
    color: var(--ifr-muted);
}
.feed .feed-icon.chip-good { background: var(--ifr-good-soft); color: var(--ifr-good); }
.feed .feed-icon.chip-bad  { background: var(--ifr-bad-soft);  color: var(--ifr-bad); }
.feed .feed-icon.chip-info { background: var(--ifr-info-soft); color: var(--ifr-info); }
.feed .feed-body { flex: 1; min-width: 0; font-size: .87rem; }
.feed .feed-time { font-size: .76rem; color: var(--ifr-faint); white-space: nowrap; }

.table-card .table > tbody > tr.row-click { cursor: pointer; }
.muted-row > td { opacity: .6; }

/* =============================================================================
   The frame: a side that holds every screen, a bar across the top, the page
   =============================================================================
   The side is dark and stays put; the page beside it is the light, full
   width the product's own screens have. Folded, the side is its icons; on a
   narrow screen it waits off the edge and slides in over the page.
   ========================================================================== */
:root { --cs-side-w: 252px; --cs-side-folded: 72px; --cs-bar-h: 62px; }

.cs-body { background: var(--ifr-bg, #f4f6fa); }
.cs-body .content { min-height: 0; flex: 1; }
.cs-main {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    margin-inline-start: var(--cs-side-w);
    transition: margin .18s ease;
}

.cs-side {
    position: fixed;
    inset-block: 0;
    inset-inline-start: 0;
    width: var(--cs-side-w);
    z-index: 1040;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, var(--ifr-side, #0f1b2d), #0b1422);
    color: var(--ifr-side-ink, #c5cede);
    border-inline-end: 1px solid rgba(255, 255, 255, .04);
    transition: width .18s ease, transform .2s ease;
}
.cs-brand {
    height: var(--cs-bar-h);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-inline: 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.08rem;
    border-block-end: 1px solid var(--ifr-side-line, rgba(255, 255, 255, .06));
    white-space: nowrap;
    overflow: hidden;
}
.cs-brand:hover { color: #fff; }
.cs-brand img { object-fit: contain; flex-shrink: 0; background: #fff; border-radius: 9px; padding: 3px; }
.cs-brand small { font-weight: 500; font-size: .74rem; color: var(--ifr-side-faint, #6f7d95); margin-inline-start: 4px; }

.cs-nav { flex: 1; overflow-y: auto; padding: 12px 12px 8px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .15) transparent; }
.cs-group + .cs-group { margin-block-start: 14px; }
.cs-group-name {
    padding: 0 10px 6px;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--ifr-side-faint, #6f7d95);
    white-space: nowrap;
}
.cs-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 11px;
    margin-block-end: 2px;
    border-radius: 10px;
    color: var(--ifr-side-ink, #c5cede);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    white-space: nowrap;
    transition: background .12s, color .12s;
}
.cs-link i { font-size: 1.12rem; width: 22px; text-align: center; flex-shrink: 0; opacity: .85; }
.cs-link:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.cs-link.active {
    background: var(--ifr-accent);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 6px 16px -6px var(--ifr-accent);
}
.cs-link.active i { opacity: 1; }
.cs-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ifr-warn, #f59e0b); margin-inline-start: auto; box-shadow: 0 0 0 3px rgba(245, 158, 11, .2); }

.cs-me {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-block-start: 1px solid var(--ifr-side-line, rgba(255, 255, 255, .06));
    background: rgba(255, 255, 255, .03);
}
.cs-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    background: var(--ifr-accent);
    color: #fff;
    font-weight: 700;
    font-size: .9rem;
}
.cs-me-text { min-width: 0; flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.cs-me-name { color: #fff; font-weight: 600; font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-me-mail { color: var(--ifr-side-faint, #6f7d95); font-size: .72rem; direction: ltr; text-align: end; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-out {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 9px;
    background: rgba(255, 255, 255, .06);
    color: var(--ifr-side-ink, #c5cede);
    display: grid;
    place-items: center;
}
.cs-out:hover { background: var(--ifr-bad, #dc2626); color: #fff; }

/* The bar: the menu button, the search, and the one thing done most. */
.cs-bar {
    position: sticky;
    top: 0;
    z-index: 1030;
    height: var(--cs-bar-h);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: var(--ifr-3);
    padding-inline: clamp(12px, 2.5vw, 40px);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(160%) blur(8px);
    border-block-end: 1px solid var(--ifr-line);
}
.cs-toggle {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border: 1px solid var(--ifr-line);
    border-radius: 10px;
    background: var(--ifr-surface);
    color: var(--ifr-ink-2);
    display: grid;
    place-items: center;
    font-size: 1.1rem;
}
.cs-toggle:hover { background: var(--ifr-accent-soft); color: var(--ifr-accent-ink); border-color: transparent; }
.cs-search { flex: 1 1 auto; max-width: 460px; }
.cs-search input { width: 100%; height: 38px; border-radius: 10px; background: var(--ifr-sunken); border-color: transparent; }
.cs-search input:focus { background: var(--ifr-surface); border-color: var(--ifr-accent); }
.cs-bar-tools { margin-inline-start: auto; display: flex; align-items: center; gap: var(--ifr-2); }
.cs-bar-tools .btn-accent { height: 38px; display: inline-flex; align-items: center; gap: 4px; border-radius: 10px; }
.cs-user {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 2px 10px 2px 2px;
    border: 1px solid var(--ifr-line);
    border-radius: 999px;
    background: var(--ifr-surface);
    color: var(--ifr-ink);
    font-size: .86rem;
    font-weight: 600;
}
[dir=rtl] .cs-user { padding: 2px 2px 2px 10px; }
.cs-user .cs-avatar { width: 32px; height: 32px; font-size: .82rem; }
.cs-user:hover { border-color: var(--ifr-line-strong); }
.cs-scrim { display: none; }

/* Folded to its icons (a wide screen). */
@media (min-width: 992px) {
    html.cs-folded .cs-side { width: var(--cs-side-folded); }
    html.cs-folded .cs-main { margin-inline-start: var(--cs-side-folded); }
    html.cs-folded .cs-brand { padding-inline: 0; justify-content: center; }
    html.cs-folded .cs-brand-text,
    html.cs-folded .cs-group-name,
    html.cs-folded .cs-link span,
    html.cs-folded .cs-me-text,
    html.cs-folded .cs-me form { display: none; }
    html.cs-folded .cs-link { justify-content: center; padding: 11px 0; }
    html.cs-folded .cs-dot { position: absolute; top: 7px; inset-inline-end: 12px; }
    html.cs-folded .cs-group + .cs-group { border-block-start: 1px solid var(--ifr-side-line, rgba(255, 255, 255, .06)); padding-block-start: 10px; margin-block-start: 8px; }
    html.cs-folded .cs-me { justify-content: center; padding-inline: 0; }
}
/* A narrow screen: off the edge until asked for. */
@media (max-width: 991.98px) {
    .cs-main { margin-inline-start: 0; }
    .cs-side { width: min(var(--cs-side-w), 84vw); box-shadow: 0 0 40px rgba(0, 0, 0, .35); }
    [dir=rtl] .cs-side { transform: translateX(105%); }
    [dir=ltr] .cs-side { transform: translateX(-105%); }
    html.cs-shown .cs-side { transform: none; }
    html.cs-shown .cs-scrim { display: block; position: fixed; inset: 0; z-index: 1035; background: var(--ifr-scrim, rgba(15, 27, 45, .45)); }
}
@media (max-width: 575.98px) {
    .cs-bar-tools .btn-accent { width: 38px; padding: 0; justify-content: center; }
}

/* =============================================================================
   Signing in
   =============================================================================
   Two halves: what this place is, in the brand's dark, and the form on
   white. On a phone the first half is a band across the top.
   ========================================================================== */
.auth-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    background: var(--ifr-surface);
}
.auth-aside {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--ifr-5);
    padding: clamp(28px, 5vw, 64px);
    color: #fff;
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(79, 124, 255, .45), transparent 60%),
        radial-gradient(700px 480px at -10% 110%, rgba(16, 185, 129, .22), transparent 60%),
        linear-gradient(160deg, #0f1b2d 0%, #141b2d 55%, #1e2742 100%);
}
.auth-aside::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse at 30% 30%, #000 0%, transparent 70%);
    pointer-events: none;
}
.auth-aside > * { position: relative; z-index: 1; }
.auth-brand img { height: 54px; width: auto; }
.auth-pitch h1 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 800; line-height: 1.35; margin: 0 0 var(--ifr-3); }
.auth-pitch p { color: rgba(255, 255, 255, .72); font-size: 1rem; margin: 0 0 var(--ifr-5); max-width: 34em; }
.auth-points { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--ifr-3); }
.auth-points li { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .9); font-size: .93rem; }
.auth-points i {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(255, 255, 255, .1);
    font-size: 1.05rem;
}
.auth-aside-foot { color: rgba(255, 255, 255, .45); font-size: .8rem; }

.auth-side {
    align-items: center;
    padding: clamp(24px, 4vw, 56px);
    background: var(--ifr-surface);
}
.auth-card { width: 100%; max-width: 400px; }
.auth-card h2 { font-size: 1.55rem; font-weight: 800; color: var(--ifr-ink); margin: 0 0 6px; }
.auth-card .auth-lead { color: var(--ifr-muted); margin: 0 0 var(--ifr-5); font-size: .93rem; }
.auth-card .form-label { font-weight: 600; font-size: .86rem; color: var(--ifr-ink-2); }
.auth-field { position: relative; }
.auth-field > i { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); color: var(--ifr-faint); pointer-events: none; }
.auth-field .form-control { height: 48px; padding-inline-start: 42px; border-radius: 12px; background: var(--ifr-sunken); border-color: transparent; }
.auth-field .form-control:focus { background: var(--ifr-surface); border-color: var(--ifr-accent); box-shadow: 0 0 0 4px var(--ifr-accent-soft); }
.auth-eye { position: absolute; inset-inline-end: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: none; color: var(--ifr-muted); border-radius: 9px; }
.auth-eye:hover { background: var(--ifr-line); color: var(--ifr-ink); }
.auth-submit { height: 48px; border-radius: 12px; font-weight: 700; font-size: 1rem; }
.auth-note { display: flex; gap: 8px; align-items: flex-start; margin-top: var(--ifr-4); padding: 10px 12px; border-radius: 10px; background: var(--ifr-sunken); color: var(--ifr-muted); font-size: .8rem; }
.auth-foot { color: var(--ifr-faint); font-size: .8rem; padding-top: var(--ifr-5); text-align: center; }
.auth-code {
    height: 60px !important;
    text-align: center;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: .45em;
    padding-inline: 12px !important;
    font-family: ui-monospace, Menlo, Consolas, monospace;
    direction: ltr;
}
.auth-badge { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--ifr-accent-soft); color: var(--ifr-accent); font-size: 1.6rem; margin-bottom: var(--ifr-4); }
@media (max-width: 899.98px) {
    .auth-page { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
    .auth-aside { padding: 22px 24px; flex-direction: row; align-items: center; }
    .auth-pitch, .auth-aside-foot { display: none; }
    .auth-brand img { height: 40px; }
    .auth-side { align-items: flex-start !important; justify-content: flex-start !important; padding-top: 32px; }
}

/* =============================================================================
   The second step, on "My account"
   ========================================================================== */
.tf-state { display: flex; align-items: center; gap: var(--ifr-3); padding: var(--ifr-3) var(--ifr-4); border-radius: var(--ifr-radius); background: var(--ifr-sunken); }
.tf-state .tf-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; flex-shrink: 0; background: var(--ifr-warn-soft); color: var(--ifr-warn-ink); }
.tf-state.is-on .tf-icon { background: var(--ifr-good-soft); color: var(--ifr-good); }
.tf-state b { display: block; color: var(--ifr-ink); }
.tf-state span { font-size: .84rem; color: var(--ifr-muted); }
.tf-steps { counter-reset: tf; list-style: none; margin: 0; padding: 0; display: grid; gap: var(--ifr-4); }
.tf-steps > li { counter-increment: tf; display: grid; grid-template-columns: 30px 1fr; gap: var(--ifr-3); }
.tf-steps > li::before { content: counter(tf); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ifr-accent); color: #fff; font-weight: 700; font-size: .85rem; }
.tf-steps h3 { font-size: .95rem; font-weight: 700; margin: 3px 0 4px; color: var(--ifr-ink); }
.tf-steps p { font-size: .85rem; color: var(--ifr-muted); margin: 0 0 var(--ifr-2); }
.tf-qr { display: inline-block; padding: 12px; background: #fff; border: 1px solid var(--ifr-line); border-radius: var(--ifr-radius); line-height: 0; }
.tf-qr svg, .tf-qr img { width: 184px; height: 184px; display: block; }
.tf-key { display: inline-flex; align-items: center; gap: var(--ifr-2); padding: 8px 12px; border-radius: 10px; background: var(--ifr-sunken); border: 1px dashed var(--ifr-line-strong); font-weight: 700; }
.tf-codes { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; padding: var(--ifr-4); border-radius: var(--ifr-radius); background: var(--ifr-sunken); border: 1px dashed var(--ifr-line-strong); }
.tf-codes .code { font-weight: 700; font-size: 1rem; text-align: center; color: var(--ifr-ink); }
