/* ============================================================
 * InSync365 Tables — generic list-screen shell
 * ------------------------------------------------------------
 * Shared sticky-thead, pager, empty-state, and cards-fallback
 * rules used by every list screen in the app. Per-screen CSS
 * (e.g. redesign-projectslist.css) only defines the cell-specific
 * rendering (status pills, color stripes, probability bars, …).
 *
 * Sticky thead — three rules that MUST appear together:
 *   1. .pl-tablecard uses overflow: clip (NOT hidden).
 *      hidden creates a scroll context that traps sticky inside
 *      the card; clip only clips overflow, no scroll context.
 *   2. table.pl-table uses border-collapse: separate;
 *      border-spacing: 0;. With collapse the thead bottom border
 *      vanishes when pinned.
 *   3. thead th uses position: sticky; top: var(--is-topbar-h);
 *      with an opaque background and a small lift shadow.
 *      Never use top: 0 — the thead would slide under the topbar.
 *
 * Cards fallback — at <= 1439.98px the table is hidden and a
 * card list takes over. Both blocks render in markup; CSS toggles
 * which one is visible. Inside cards, the meta-grid drops from
 * 4 cols → 2 cols (≤760px) → 1 col (≤420px).
 * ============================================================ */

/* ── Card shell ─────────────────────────────────────────────── */
.pl-tablecard {
    background: var(--is-bg-surface);
    border: 1px solid var(--is-border-1);
    border-radius: var(--is-radius-md);
    box-shadow: var(--is-shadow-1);
    overflow: clip;
}

/* ── Toolbar ────────────────────────────────────────────────── */
.pl-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--is-border-1);
    gap: 12px;
}

.pl-toolbar__left {
    display: flex;
    align-items: center;
    gap: 12px;
    font: 500 13px var(--is-font-sans);
    color: var(--is-fg-2);
}

    .pl-toolbar__left b {
        color: var(--is-fg-1);
        font-weight: 700;
    }

.pl-toolbar__right {
    display: flex;
    align-items: center;
    gap: 8px;
    font: 500 12px var(--is-font-sans);
    color: var(--is-fg-3);
}

.pl-pagesize {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .pl-pagesize select {
        height: 30px;
        padding: 0 24px 0 8px;
        border: 1px solid var(--is-border-2);
        border-radius: 6px;
        background: #fff;
        font: 600 12px var(--is-font-sans);
        color: var(--is-fg-1);
        appearance: none;
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M3 5l3 3 3-3' stroke='%2376767E' fill='none' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
        background-repeat: no-repeat;
        background-position: right 6px center;
    }

/* ── Table — base + sticky thead (3-rule pattern) ───────────── */
table.pl-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

.pl-table thead th {
    position: sticky;
    top: var(--is-topbar-h);
    z-index: 3;
    background: var(--is-bg-surface-3);
    font: 600 11px var(--is-font-sans);
    color: var(--is-fg-3);
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--is-border-1);
    white-space: nowrap;
    user-select: none;
    box-shadow: 0 1px 0 var(--is-border-1), 0 2px 6px rgba(20, 28, 50, .04);
}

    .pl-table thead th .pl-th {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        cursor: pointer;
    }

        .pl-table thead th .pl-th i {
            font-size: 10px;
            opacity: 0;
            transition: opacity .15s, color .15s;
            color: var(--is-fg-3);
        }

        .pl-table thead th .pl-th:hover i {
            opacity: .6;
        }

        .pl-table thead th .pl-th.is-sorted i {
            opacity: 1;
            color: var(--is-action-blue);
        }

.pl-table tbody tr {
    transition: background .12s;
}

    .pl-table tbody tr:hover {
        background: rgba(0, 123, 255, .04);
    }

    .pl-table tbody tr + tr {
        border-top: 1px solid var(--is-border-1);
    }

.pl-table tbody td {
    padding: 14px 12px;
    vertical-align: middle;
    font: 500 13px var(--is-font-sans);
    color: var(--is-fg-1);
}

    .pl-table tbody td.is-num {
        font-variant-numeric: tabular-nums;
    }

    .pl-table tbody td.is-muted {
        color: var(--is-fg-3);
    }

.pl-table .is-actions {
    text-align: right;
    white-space: nowrap;
}

/* ── Action group ──────────────────────────────────────────── */
.pl-actions {
    display: inline-flex;
    gap: 4px;
}

    .pl-actions button {
        width: 30px;
        height: 30px;
        border-radius: 6px;
        border: 1px solid transparent;
        background: transparent;
        color: var(--is-fg-2);
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        transition: background .12s, color .12s, border-color .12s;
    }

        .pl-actions button:hover {
            background: var(--is-bg-surface-3);
            color: var(--is-fg-1);
            border-color: var(--is-border-1);
        }

        .pl-actions button.is-danger:hover {
            background: rgba(199, 59, 59, .08);
            color: var(--is-danger);
            border-color: rgba(199, 59, 59, .25);
        }

/* ── Pagination footer ─────────────────────────────────────── */
.pl-pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-top: 1px solid var(--is-border-1);
    background: var(--is-bg-surface);
    gap: 16px;
    flex-wrap: wrap;
}

.pl-pager__info {
    font: 500 12px var(--is-font-sans);
    color: var(--is-fg-3);
}

    .pl-pager__info b {
        color: var(--is-fg-1);
        font-weight: 700;
    }

.pl-pager__pages {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

.pl-pager button {
    height: 32px;
    min-width: 32px;
    padding: 0 10px;
    border-radius: 6px;
    border: 1px solid var(--is-border-2);
    background: #fff;
    font: 600 12px var(--is-font-sans);
    color: var(--is-fg-2);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .pl-pager button:hover:not(:disabled) {
        background: var(--is-bg-surface-3);
        color: var(--is-fg-1);
    }

    .pl-pager button.is-active {
        background: var(--is-brand-blue);
        border-color: var(--is-brand-blue);
        color: #fff;
    }

    .pl-pager button:disabled {
        opacity: .35;
        cursor: not-allowed;
    }

.pl-pager__ellipsis {
    padding: 0 4px;
    color: var(--is-fg-3);
}

/* ── Empty state ───────────────────────────────────────────── */
.pl-empty {
    text-align: center;
    padding: 60px 24px;
}

    .pl-empty i {
        font-size: 28px;
        color: var(--is-fg-3);
        margin-bottom: 12px;
    }

    .pl-empty h3 {
        font: 700 16px var(--is-font-sans);
        margin: 0 0 6px;
        color: var(--is-fg-1);
    }

    .pl-empty p {
        font: 500 13px var(--is-font-sans);
        color: var(--is-fg-3);
        margin: 0 0 16px;
    }

/* ── Buttons (used in empty state, page header, etc.) ──────── */
.pl-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 14px;
    border-radius: var(--is-radius-sm);
    font: 600 13px var(--is-font-sans);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}

.pl-btn--primary {
    background: var(--is-brand-blue);
    color: #fff;
}

    .pl-btn--primary:hover {
        background: var(--is-brand-blue-700);
    }

.pl-btn--ghost {
    background: #fff;
    color: var(--is-fg-1);
    border-color: var(--is-border-3);
}

    .pl-btn--ghost:hover {
        background: var(--is-bg-surface-3);
    }

.pl-iconbtn {
    width: 38px;
    height: 38px;
    align-self: center;
    border-radius: var(--is-radius-sm);
    border: 1px solid var(--is-border-3);
    background: #fff;
    color: var(--is-fg-2);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: background .15s, color .15s, border-color .15s;
    box-sizing: border-box;
    padding: 0;
}

    .pl-iconbtn:hover {
        background: var(--is-bg-surface-3);
        color: var(--is-fg-1);
    }

.pl-iconbtn--brand {
    background: var(--is-brand-blue);
    border-color: var(--is-brand-blue);
    color: #fff;
}

    .pl-iconbtn--brand:hover {
        background: var(--is-brand-blue-700);
        color: #fff;
    }

/* ── Cards-fallback shell (≤1439.98px swap target) ─────────── */
.pl-cards-wrap {
    display: none;
}

.pl-table-wrap {
    display: block;
}

/* Card layout — single column, full width. Same data as the
   table row, just rearranged so each field has room to breathe. */
.pl-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
}

.pl-card {
    position: relative;
    padding-left: 12px;
    background: #fff;
    border: 1px solid var(--is-border-1);
    border-radius: var(--is-radius-md);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: border-color .12s, box-shadow .12s;
}

    .pl-card:hover {
        border-color: var(--is-border-2);
        box-shadow: var(--is-shadow-1);
    }

    .pl-card::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: var(--pl-card-color, var(--is-border-2));
    }

.pl-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 14px 8px 12px;
}

.pl-card__title {
    font: 700 15px/1.25 var(--is-font-sans);
    color: var(--is-fg-1);
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    flex: 1;
}

    .pl-card__title a {
        color: inherit;
        text-decoration: none;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        white-space: nowrap;
    }

        .pl-card__title a:hover {
            color: var(--is-brand-blue);
        }

.pl-card__sub {
    font: 500 12px var(--is-font-sans);
    color: var(--is-fg-3);
    padding: 0 14px 12px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

    .pl-card__sub i {
        font-size: 10px;
    }

.pl-card__sub-sep {
    width: 3px;
    height: 3px;
    border-radius: 999px;
    background: var(--is-border-2);
}

/* Meta grid — default 4 cols, drops to 2 below 760px, 1 below 420px.
   Per-screen modifier .pl-card__meta--3col gives a 3-col layout for
   screens that have fewer fields (e.g. non-GMC project view). */
.pl-card__meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px 24px;
    padding: 12px 14px 12px 12px;
    border-top: 1px dashed var(--is-border-1);
}

.pl-card__meta--3col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 760px) {
    .pl-card__meta,
    .pl-card__meta--3col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .pl-card__meta,
    .pl-card__meta--3col {
        grid-template-columns: 1fr;
    }
}

.pl-card__field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.pl-card__field-label {
    font: 500 10px var(--is-font-sans);
    color: var(--is-fg-3);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.pl-card__field-value {
    font: 500 13px var(--is-font-sans);
    color: var(--is-fg-1);
    min-width: 0;
}

.pl-card__field--full {
    grid-column: 1 / -1;
}

.pl-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-top: 1px dashed var(--is-border-1);
    background: var(--is-bg-surface);
}

.pl-card__foot-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font: 500 11px var(--is-font-sans);
    color: var(--is-fg-3);
}

/* ── Responsive: swap table ↔ cards at 1440px ──────────────── */
@media (max-width: 1439.98px) {
    .pl-table-wrap {
        display: none;
    }

    .pl-cards-wrap {
        display: block;
    }
}

/* ============================================================
   InSync365 — Generic table / list / grid shell
   ------------------------------------------------------------
   Use these classes on EVERY data grid in the app instead of
   hand-rolling per-screen CSS. Screen-specific styling (custom
   columns, badges, etc.) layers ON TOP via its own namespace.

   Layout contract:
     <section class="is-tablecard">
       <div class="is-tablecard__toolbar"> … left + right groups … </div>
       <div class="is-tablescroll">     ← scroll wrapper for narrow viewports
         <table class="is-table">
           <thead> … </thead>           ← auto-pinned to viewport top
           <tbody> … </tbody>
         </table>
       </div>
       <div class="is-pager"> … </div>
     </section>

   The three sticky-thead rules (do NOT change without testing):
     1. .is-tablecard uses overflow: clip — NOT hidden.
        `hidden` creates a scroll context and traps the sticky thead.
     2. .is-table uses border-collapse: separate; border-spacing: 0;
        With `collapse`, the thead's bottom border disappears when pinned.
     3. .is-table thead th uses position: sticky; top: var(--is-topbar-h);
        and an OPAQUE background. Topbar var defined in colors_and_type.css.

   Column overflow contract:
     • Tables use `table-layout: fixed` + a `<colgroup>` to lock widths.
     • Every TD has `overflow: hidden` so over-long content can NEVER
       spill into the next column.
     • TD's direct children get `min-width: 0` so flex/grid items can
       actually shrink below their content width.
     • For a SOFT ellipsis on long text, wrap the text in a
       `<span class="is-trunc">…</span>` (block + ellipsis utility).
     • To allow a cell to wrap multiple lines instead, opt out with
       `<td class="is-td--wrap">…</td>`.

   See: preview/components-sticky-table.html
   ============================================================ */


/* ── Card shell ───────────────────────────────────────────── */
.is-tablecard {
    background: var(--is-bg-surface);
    border: 1px solid var(--is-border-1);
    border-radius: var(--is-radius-md);
    box-shadow: var(--is-shadow-1);
    overflow: clip; /* NOT hidden — would trap sticky thead */
}


/* ── Toolbar (row count, page-size, view-mode toggle) ─────── */
.is-tablecard__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--is-border-1);
}

.is-tablecard__toolbar-left,
.is-tablecard__toolbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    font: 500 13px var(--is-font-sans);
    color: var(--is-fg-2);
}

    .is-tablecard__toolbar-left b {
        color: var(--is-fg-1);
        font-weight: 700;
    }

.is-tablecard__toolbar-right {
    color: var(--is-fg-3);
    font-size: 12px;
}


/* ── Page-size selector (used in toolbar) ─────────────────── */
.is-pagesize {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .is-pagesize select {
        height: 30px;
        padding: 0 24px 0 8px;
        border: 1px solid var(--is-border-2);
        border-radius: var(--is-radius-sm);
        background: #fff;
        font: 600 12px var(--is-font-sans);
        color: var(--is-fg-1);
        appearance: none;
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M3 5l3 3 3-3' stroke='%2376767E' fill='none' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
        background-repeat: no-repeat;
        background-position: right 6px center;
    }


/* ── View-mode switch (Table ↔ Cards) ─────────────────────── */
.is-modeswitch {
    display: inline-flex;
    padding: 3px;
    background: var(--is-bg-surface-3);
    border-radius: 8px;
    border: 1px solid var(--is-border-1);
}

    .is-modeswitch button {
        background: transparent;
        border: 0;
        padding: 0 10px;
        height: 28px;
        border-radius: 5px;
        font: 600 12px var(--is-font-sans);
        color: var(--is-fg-2);
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

        .is-modeswitch button.is-on {
            background: #fff;
            color: var(--is-fg-1);
            box-shadow: var(--is-shadow-1);
        }


/* ── Optional horizontal scroll wrapper (narrow viewports) ── */
.is-tablescroll {
    overflow-x: auto;
}


/* ── Table ────────────────────────────────────────────────── */
.is-table {
    width: 100%;
    border-collapse: separate; /* required for sticky-thead bottom border */
    border-spacing: 0;
    table-layout: fixed;
    font: var(--is-body);
}

    /* Sticky thead — pinned just under the topbar */
    .is-table thead th {
        position: sticky;
        top: var(--is-topbar-h);
        z-index: 3;
        background: var(--is-bg-surface-3); /* MUST be opaque */
        font: 600 11px var(--is-font-sans);
        color: var(--is-fg-3);
        text-transform: uppercase;
        letter-spacing: .05em;
        padding: 10px 12px;
        text-align: left;
        border-bottom: 1px solid var(--is-border-1);
        white-space: nowrap;
        user-select: none;
        box-shadow: 0 1px 0 var(--is-border-1), 0 2px 6px rgba(20, 28, 50, .04);
    }

        /* Sortable header label */
        .is-table thead th .is-th {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            cursor: pointer;
        }

            .is-table thead th .is-th i {
                font-size: 10px;
                opacity: 0;
                transition: opacity .15s, color .15s;
                color: var(--is-fg-3);
            }

            .is-table thead th .is-th:hover i {
                opacity: .6;
            }

            .is-table thead th .is-th.is-sorted i {
                opacity: 1;
                color: var(--is-action-blue);
            }

    /* Body rows */
    .is-table tbody tr {
        transition: background .12s;
    }

        .is-table tbody tr:hover {
            background: rgba(0, 123, 255, .04);
        }

        .is-table tbody tr + tr td {
            border-top: 1px solid var(--is-border-1);
        }

    .is-table tbody td {
        padding: 14px 12px;
        vertical-align: middle;
        font: 500 13px var(--is-font-sans);
        color: var(--is-fg-1);
        /* ─── COLUMN OVERFLOW PROTECTION ─────────────────────────
     With `table-layout: fixed` the column width is enforced by
     <colgroup>, but inline-block / flex children can still spill
     into the next column if their content is wider than the cell.
     Clipping at the TD is the only reliable backstop.

     Pair this with `.is-td__inner` / `.is-trunc` (below) on the
     inner element when you want a SOFT ellipsis instead of a hard
     cut. Opt out per-cell with `<td class="is-td--wrap">` when the
     content genuinely needs to wrap to multiple lines.
     ─────────────────────────────────────────────────────── */
        overflow: hidden;
    }
        /* Make any direct child of a TD shrinkable.
   Flex items default to min-width:auto which prevents them from
   honoring the table column width — fix that here. */
        .is-table tbody td > * {
            min-width: 0;
            max-width: 100%;
        }

        .is-table tbody td.is-num {
            font-variant-numeric: tabular-nums;
        }

        .is-table tbody td.is-muted {
            color: var(--is-fg-3);
        }

    .is-table .is-actions {
        text-align: right;
        white-space: nowrap;
    }

/* Ellipsis utility — apply to the text element inside a cell.
   Works on <span>, <div>, <a>, etc. Requires display: block / inline-block. */
.is-trunc {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Opt-out: allow this cell's content to wrap to multiple lines instead
   of being clipped. Use sparingly — only for free-form text columns. */
.is-table tbody td.is-td--wrap {
    overflow: visible;
    white-space: normal;
}

    .is-table tbody td.is-td--wrap > * {
        max-width: none;
    }


/* ── Empty state ──────────────────────────────────────────── */
.is-tableempty {
    text-align: center;
    padding: 60px 24px;
}

    .is-tableempty i {
        font-size: 28px;
        color: var(--is-fg-3);
        margin-bottom: 12px;
    }

    .is-tableempty h3 {
        font: 700 16px var(--is-font-sans);
        margin: 0 0 6px;
        color: var(--is-fg-1);
    }

    .is-tableempty p {
        font: 500 13px var(--is-font-sans);
        color: var(--is-fg-3);
        margin: 0 0 16px;
    }


/* ── Pagination footer ────────────────────────────────────── */
.is-pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-top: 1px solid var(--is-border-1);
    background: var(--is-bg-surface);
    gap: 16px;
    flex-wrap: wrap;
}

.is-pager__info {
    font: 500 12px var(--is-font-sans);
    color: var(--is-fg-3);
}

    .is-pager__info b {
        color: var(--is-fg-1);
        font-weight: 700;
    }

.is-pager__pages {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

.is-pager button {
    height: 32px;
    min-width: 32px;
    padding: 0 10px;
    border-radius: var(--is-radius-sm);
    border: 1px solid var(--is-border-2);
    background: #fff;
    font: 600 12px var(--is-font-sans);
    color: var(--is-fg-2);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .is-pager button:hover:not(:disabled) {
        background: var(--is-bg-surface-3);
        color: var(--is-fg-1);
    }

    .is-pager button.is-active {
        background: var(--is-brand-blue);
        border-color: var(--is-brand-blue);
        color: #fff;
    }

    .is-pager button:disabled {
        opacity: .35;
        cursor: not-allowed;
    }

.is-pager__ellipsis {
    padding: 0 4px;
    color: var(--is-fg-3);
}


/* ── Row action group ─────────────────────────────────────── */
.is-rowactions {
    display: inline-flex;
    gap: 4px;
}

    .is-rowactions button {
        width: 30px;
        height: 30px;
        border-radius: var(--is-radius-sm);
        border: 1px solid transparent;
        background: transparent;
        color: var(--is-fg-2);
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        transition: background .12s, color .12s, border-color .12s;
    }

        .is-rowactions button:hover {
            background: var(--is-bg-surface-3);
            color: var(--is-fg-1);
            border-color: var(--is-border-1);
        }

        .is-rowactions button.is-danger:hover {
            background: rgba(199, 59, 59, .08);
            color: var(--is-danger);
            border-color: rgba(199, 59, 59, .25);
        }


/* ── Card list (responsive fallback for tables) ───────────── */
/* Use .is-cards as the container; each row becomes a .is-cards__item.
   Per-screen CSS controls the inner layout of each card. */
.is-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 12px;
    padding: 14px;
}

.is-cards__item {
    background: #fff;
    border: 1px solid var(--is-border-1);
    border-radius: var(--is-radius-md);
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color .12s, box-shadow .12s;
}

    .is-cards__item:hover {
        border-color: var(--is-border-2);
        box-shadow: var(--is-shadow-1);
    }

.is-cards__item-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.is-cards__item-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    padding-top: 8px;
    border-top: 1px dashed var(--is-border-1);
}

.is-cards__field {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.is-cards__field-label {
    font: 500 10px var(--is-font-sans);
    color: var(--is-fg-3);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.is-cards__field-value {
    font: 500 13px var(--is-font-sans);
    color: var(--is-fg-1);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.is-cards__item-foot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-top: 4px;
    border-top: 1px dashed var(--is-border-1);
}
