/* Public, synthetic guide aligned with the accepted SPA workspace. */
.demo-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.demo-icon { width: 1.2rem; height: 1.2rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.demo-sidebar { height: 100dvh; background: var(--demo-surface); box-shadow: none; backdrop-filter: none; }
.demo-nav { margin-top: 1.35rem; overflow: visible; }
.demo-nav > p { color: var(--demo-muted); }
.demo-nav a:last-child { margin-top: .9rem; }
.demo-sidebar-status { margin-top: auto; padding: 1.5rem .25rem 0; }
.demo-sidebar-status h2 { display: flex; align-items: center; justify-content: space-between; margin: 0 0 .65rem; color: var(--demo-muted); font-size: .8125rem; font-weight: 400; }
.demo-sidebar-status h2 strong { color: var(--demo-ink-soft); font-weight: 650; }
.demo-ksef-strip { position: relative; display: flex; align-items: center; gap: .6rem; min-height: 3.25rem; margin-top: .5rem; padding: .35rem .6rem; border: 1px solid #c5cee1; border-left: 3px solid #488bc4; border-radius: .5rem; background: #f5f8fc; color: #488bc4; }
.demo-ksef-strip--allowed { border-color: #b8d8c6; border-left-color: var(--demo-success); background: #f3faf6; color: var(--demo-success); }
.demo-ksef-strip > span:not(.demo-status-tip) { display: grid; min-width: 0; color: var(--demo-ink); }
.demo-ksef-strip strong, .demo-ksef-strip small { font-size: .8125rem; line-height: 1.5; }
.demo-ksef-strip small { color: var(--demo-ink-soft); }
.demo-status-compact { display: none; }
.demo-status-tip { position: absolute; z-index: 100; left: calc(100% + .75rem); bottom: 0; display: none; width: max-content; max-width: 17rem; padding: .65rem .75rem; border: 1px solid var(--demo-border); border-radius: .5rem; background: var(--demo-ink); color: #fff; font-size: .8125rem; line-height: 1.5; pointer-events: none; box-shadow: var(--demo-shadow-sm); }
.demo-ksef-strip:hover .demo-status-tip, .demo-ksef-strip:focus .demo-status-tip { display: block; }
.demo-sidebar-lock { display: flex; align-items: start; gap: .65rem; margin: 1.5rem .5rem 1.25rem; color: var(--demo-muted); font-size: .8125rem; }
.demo-sidebar-lock svg { width: 1rem; height: 1rem; margin-top: .15rem; }
.demo-sidebar__footer { position: relative; flex: none; min-height: 3.5rem; margin-top: 0; padding: .75rem .65rem 0; border-top: 1px solid var(--demo-border); color: var(--demo-muted); font-size: .8125rem; }
.demo-sidebar-switch { position: absolute; right: -2rem; top: 1.25rem; display: grid; width: 2rem; height: 2rem; place-items: center; padding: 0; border: 1px solid var(--demo-border-strong); border-radius: 50%; background: var(--demo-surface); color: var(--demo-ink-soft); cursor: pointer; box-shadow: 0 3px 10px rgb(54 22 43 / 10%); }
.demo-sidebar-switch:hover { color: var(--demo-red-dark); border-color: var(--demo-red-dark); }
.demo-sidebar-switch svg { width: 1rem; height: 1rem; }
.demo-company-picker { display: flex; align-items: center; gap: .6rem; min-width: 0; padding: .3rem .7rem; border: 1px solid var(--demo-border); border-radius: .68rem; background: var(--demo-soft); text-align: left; cursor: pointer; }
.demo-company-picker > span:first-of-type { display: grid; min-width: 0; }
.demo-company-picker small { color: var(--demo-ink-soft); font-size: .8125rem; }
.demo-company-picker strong { font-size: .875rem; white-space: nowrap; }
.demo-company-picker > .demo-icon { color: var(--demo-red-dark); }
.demo-guide-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin: -.5rem 0 1.5rem; color: var(--demo-purple-dark); font-size: .8125rem; }
.demo-guide-actions > :is(a, button) { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .8125rem; }
.demo-stat-card { color: var(--demo-ink); text-decoration: none; transform-style: preserve-3d; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .demo-stat-card:hover { transform: perspective(750px) rotateX(2deg) rotateY(-2deg) translateY(-3px); box-shadow: 0 15px 35px rgb(54 22 43 / 12%); border-color: var(--demo-border-strong); }
}
.demo-stat-card:focus-visible { outline-offset: 4px; }
.demo-table-wrap tbody tr[data-demo-linked-row] { cursor: pointer; }
.demo-table-wrap tbody tr[data-demo-linked-row]:hover { background: var(--demo-soft); box-shadow: inset 3px 0 var(--demo-purple); }
.demo-table-wrap tbody tr[data-demo-linked-row]:focus-within { background: var(--demo-soft-violet); }
.demo-table-wrap tbody td:first-child strong { display: block; }
.demo-invoice-toolbar { display: grid; gap: 1rem; margin-bottom: 1rem; padding: 1rem; border: 1px solid var(--demo-border); border-radius: 1rem; background: var(--demo-surface); }
.demo-invoice-toolbar > section { min-width: 0; }
.demo-invoice-toolbar :is(button, select, label, p) { font-size: .8125rem; }
.demo-invoice-toolbar p { display: flex; align-items: center; gap: .4rem; min-height: 1.75rem; margin: .25rem 0 0; color: var(--demo-muted); line-height: 1.5; }
.demo-month-picker { display: flex; align-items: center; gap: .5rem; height: 52px; }
.demo-month-picker > button { min-height: 44px; border: 1px solid var(--demo-border); border-radius: .7rem; background: var(--demo-surface); cursor: pointer; }
.demo-month-picker > button:first-child, .demo-month-picker > button:last-child { width: 44px; flex: none; font-size: 1.25rem; }
.demo-month-picker > button:nth-child(2) { display: grid; flex: 1; gap: .1rem; border-color: transparent; text-align: left; }
.demo-month-picker small { font-size: .8125rem; color: var(--demo-ink-soft); }
.demo-month-picker strong { font-size: .9375rem; }
.demo-help { display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; padding: 0; border: 0; background: transparent; color: var(--demo-muted); cursor: pointer; }
.demo-toolbar-selection, .demo-toolbar-export { border-top: 1px dashed var(--demo-border-strong); padding-top: 1rem; }
.demo-toolbar-selection { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 52px auto; gap: .25rem .75rem; align-content: start; }
.demo-select-visible { grid-area: 1 / 1; display: flex; align-items: center; gap: .6rem; margin: 0; font-weight: 650; cursor: pointer; }
.demo-select-visible input, [data-demo-row-checkbox] { width: 1.2rem; height: 1.2rem; accent-color: var(--demo-purple); cursor: pointer; }
.demo-invoice-toolbar .demo-toolbar-selection p { grid-area: 2 / 1; align-self: start; margin: 0; }
.demo-toolbar-selection-actions { grid-area: 1 / 2 / 3 / 3; display: flex; flex-direction: column; align-items: stretch; gap: .25rem; }
.demo-toolbar-selection-actions > button { min-height: 40px; padding: .4rem .75rem; }
.demo-invoice-toolbar button:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.demo-toolbar-export > div { display: flex; align-items: center; gap: .5rem; min-height: 52px; }
.demo-toolbar-export label { flex: 1; min-width: 0; }
.demo-toolbar-export select { width: 100%; min-height: 44px; padding: .5rem .6rem; border: 1px solid var(--demo-border-strong); border-radius: .65rem; background: var(--demo-surface); color: var(--demo-ink); font-family: inherit; }
.demo-toolbar-export > div > button { flex: none; min-height: 44px; padding: .5rem .75rem; }
.demo-toolbar-export p > .demo-text-button { min-height: 1.75rem; padding: 0; color: var(--demo-muted); font-weight: 400; }
.demo-selection-cell { width: 44px; }
.demo-selection-cell label { display: grid; min-width: 32px; min-height: 44px; place-items: center; cursor: pointer; }
.demo-empty-list { margin: 0; padding: 2rem 1rem; color: var(--demo-muted); font-size: .875rem; text-align: center; }
.demo-purchase-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(265px, .4fr); align-items: start; gap: 1rem; }
.demo-party-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.demo-party-grid h3 { font-size: 1rem; }
.demo-party-grid p:not(.demo-kicker) { color: var(--demo-muted); font-size: .875rem; }
.demo-purchase-summary > strong { display: block; font-size: 1.6rem; letter-spacing: -.04em; }
.demo-purchase-summary dl { margin: 1.25rem 0; }
.demo-purchase-summary dl > div { display: flex; justify-content: space-between; gap: .5rem; margin: .75rem 0; font-size: .875rem; }
.demo-purchase-summary dt { color: var(--demo-muted); }
.demo-purchase-summary dd { margin: 0; text-align: right; font-weight: 650; }
.demo-purchase-summary > p:last-child { color: var(--demo-muted); font-size: .8125rem; }
.demo-settings-groups { display: grid; gap: 2rem; }
.demo-settings-groups section > h3 { margin: 0 0 1rem; font-size: 1rem; }
.demo-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.demo-settings-grid > :is(a, button) { display: flex; align-items: center; gap: .85rem; padding: 1.25rem; border: 1px solid var(--demo-border); border-radius: 1rem; background: var(--demo-surface); color: var(--demo-ink); text-align: left; font-family: inherit; cursor: pointer; }
.demo-settings-grid > :is(a, button):hover { border-color: var(--demo-border-strong); background: var(--demo-soft); }
.demo-settings-grid .demo-icon { width: 2.6rem; height: 2.6rem; padding: .6rem; border-radius: .7rem; background: var(--demo-soft-violet); color: var(--demo-purple); }
.demo-settings-grid > :is(a, button) > span:first-of-type { display: grid; flex: 1; gap: .3rem; }
.demo-settings-grid strong { font-size: .9375rem; }
.demo-settings-grid small { font-size: .8125rem; color: var(--demo-muted); }
.demo-import-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.demo-import-steps article > span { display: grid; width: 2rem; height: 2rem; place-items: center; border-radius: 50%; background: var(--demo-soft-violet); color: var(--demo-purple); font-weight: 700; }
.demo-import-steps h3 { margin: .8rem 0 .4rem; font-size: 1rem; }
.demo-import-steps p { margin: 0; color: var(--demo-muted); font-size: .875rem; }
.demo-import-example { display: flex; flex-wrap: wrap; align-items: end; gap: 1.25rem; }
.demo-import-example > div { flex: 1 1 12rem; }
.demo-import-example h3 { margin: .6rem 0 .2rem; font-size: 1rem; }
.demo-import-example p { margin: 0; color: var(--demo-muted); font-size: .8125rem; }
.demo-segmented { display: flex; gap: .25rem; margin: 0; padding: 0; border: 0; }
.demo-segmented legend, .demo-price-field { margin-bottom: .4rem; color: var(--demo-ink-soft); font-size: .8125rem; }
.demo-segmented label { position: relative; cursor: pointer; }
.demo-segmented input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.demo-segmented span { display: grid; min-height: 44px; place-items: center; padding: .5rem .8rem; border: 1px solid var(--demo-border); border-radius: .6rem; font-size: .875rem; }
.demo-segmented input:checked + span { color: var(--demo-purple-dark); border-color: var(--demo-purple); background: var(--demo-soft-violet); }
.demo-segmented input:focus-visible + span { outline: 3px solid var(--demo-purple); outline-offset: 3px; }
.demo-price-field { display: grid; gap: .4rem; margin: 0; }
.demo-price-field input { width: 9rem; min-height: 44px; padding: .5rem .7rem; border: 1px solid var(--demo-border-strong); border-radius: .6rem; background: var(--demo-surface); font-size: .875rem; }
.demo-muted-note { color: var(--demo-muted); font-size: .8125rem; }
@media (min-width: 1061px) {
    .demo-app.is-sidebar-compact { grid-template-columns: 80px minmax(0, 1fr); }
    .is-sidebar-compact .demo-sidebar { padding-inline: .75rem; }
    .is-sidebar-compact .demo-sidebar__brand-row { justify-content: center; padding: 0; }
    .is-sidebar-compact :is(.demo-brand-copy, .demo-nav > p, .demo-nav a > span, .demo-sidebar-lock, .demo-sidebar__footer > span, .demo-sidebar-status h2 > span) { display: none; }
    .is-sidebar-compact .demo-nav { margin-top: 2rem; }
    .is-sidebar-compact .demo-nav a { justify-content: center; min-height: 3rem; padding: .7rem; }
    .is-sidebar-compact .demo-sidebar-status { padding-inline: .125rem; }
    .is-sidebar-compact .demo-sidebar-status h2 { justify-content: center; }
    .is-sidebar-compact .demo-ksef-strip { justify-content: center; padding: .5rem; }
    .is-sidebar-compact .demo-ksef-strip > span:not(.demo-status-tip), .is-sidebar-compact .demo-status-expanded { display: none; }
    .is-sidebar-compact .demo-status-compact { display: block; width: 16px; height: 16px; }
    .is-sidebar-compact .demo-stop { width: 14px; height: 14px; }
    .is-sidebar-compact .demo-sidebar__footer { margin-top: 1.25rem; }
    .is-sidebar-compact .demo-sidebar-switch { right: -1.75rem; }
    .is-sidebar-compact .demo-sidebar-switch svg { transform: rotate(180deg); }
}
@media (min-width: 1440px) {
    .demo-invoice-toolbar { grid-template-columns: minmax(18.5rem, 1fr) minmax(20rem, 1.05fr) minmax(18rem, 1fr); gap: 1.25rem; }
    .demo-toolbar-selection, .demo-toolbar-export { border-top: 0; border-left: 1px dashed var(--demo-border-strong); padding-top: 0; padding-left: 1.25rem; }
}
@media (min-width: 1280px) and (max-width: 1439px) {
    .is-sidebar-compact .demo-invoice-toolbar { grid-template-columns: minmax(18.5rem, 1fr) minmax(20rem, 1.05fr) minmax(18rem, 1fr); gap: 1.25rem; }
    .is-sidebar-compact :is(.demo-toolbar-selection, .demo-toolbar-export) { border-top: 0; border-left: 1px dashed var(--demo-border-strong); padding-top: 0; padding-left: 1.25rem; }
}
@media (max-width: 1060px) {
    .demo-sidebar { overflow-y: auto; }
    .demo-sidebar-switch { display: none; }
    .demo-status-tip { left: 0; bottom: calc(100% + .4rem); max-width: min(17rem, 75vw); }
    .demo-purchase-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-height: 720px) {
    .demo-sidebar { overflow-y: auto; }
    .demo-sidebar-switch { right: 0; }
}
@media (max-width: 800px) {
    .demo-import-steps, .demo-settings-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .demo-company-picker { display: none; }
    .demo-party-grid { grid-template-columns: minmax(0, 1fr); }
    .demo-guide-actions { margin-top: -.75rem; }
    .demo-toolbar-selection-actions > button, .demo-toolbar-export p > .demo-text-button { min-height: 44px; }
    .demo-invoice-toolbar .demo-help { width: 44px; height: 44px; }
    .demo-import-example { align-items: stretch; }
    .demo-import-example > button { width: 100%; }
}
@media print {
    .demo-guide-actions, .demo-symbols { display: none !important; }
}

/* Keep the detail arrow at one shared inset on every result table. */
.demo-table-wrap td:has(> .demo-row-button) { width: 1%; padding-inline: .5rem 2rem; }
.demo-table-wrap .demo-row-button { margin-left: auto; }

.demo-workspace { container: demo-workspace / inline-size; }
.demo-topbar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.demo-topbar__actions { justify-self: end; }
.demo-topbar .demo-menu-button { flex: none; width: 2.75rem; height: 2.75rem; }
.demo-topbar__title > div { min-width: 0; }
.demo-topbar__title h1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-topbar .demo-home-button {
    justify-self: center; min-height: 44px; padding: .45rem 1rem; gap: .5rem;
    color: #fff; background: var(--demo-red-dark); border-color: var(--demo-red-dark); box-shadow: none;
}
.demo-topbar .demo-home-button:hover { background: #641736; color: #fff; }
.demo-topbar .demo-home-button:focus-visible { outline: 3px solid var(--demo-purple); outline-offset: 3px; }
@container demo-workspace (max-width: 55rem) {
    .demo-topbar__actions { max-width: 100%; }
    .demo-topbar__actions .demo-avatar, .demo-company-picker > .demo-icon, .demo-topbar__title p { display: none; }
    .demo-company-picker { max-width: 100%; gap: .35rem; padding-inline: .45rem; }
    .demo-company-picker strong, .demo-topbar__title h1 { white-space: normal; text-wrap: balance; }
}
@container demo-workspace (max-width: 45rem) {
    .demo-company-picker small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
.demo-guide-actions { flex-wrap: wrap; }
.demo-dashboard-period { display: grid; gap: 0; text-align: left; }
.demo-dashboard-period small, .demo-attention small { color: var(--demo-muted); font-size: .8125rem; font-weight: 400; }
.demo-attention ul { margin: 0; padding: 0; list-style: none; }
.demo-attention li { display: grid; gap: .2rem; padding: .85rem 0; border-top: 1px solid var(--demo-border); }
.demo-attention li a, .demo-document-host .paper-toolbar a { color: var(--demo-red-dark); font-weight: 650; }
.demo-document-host {
    --iq-text: var(--demo-ink); --iq-ink-soft: var(--demo-ink-soft); --iq-muted: var(--demo-muted);
    --iq-surface: var(--demo-surface); --iq-border: var(--demo-border); --iq-accent: var(--demo-red-dark);
    --iq-soft-violet: #f8edf3; --iq-table-heading-bg: #f8f5f7; --iq-canvas: var(--demo-canvas);
    min-width: 0;
}
.demo-document-host .iq-document-layout { display: grid; align-items: start; gap: 1rem; }
.demo-document-host .iq-document-main { display: grid; grid-area: paper; gap: 1rem; min-width: 0; }
.demo-document-host .iq-document-sidebar { display: grid; grid-area: aside; align-content: start; gap: 1rem; }
.demo-document-host .demo-card h2 { margin: 0; font-size: 1.08rem; line-height: 1.4; }
.demo-document-host .demo-card p { color: var(--demo-muted); font-size: .875rem; }
.demo-document-host .demo-card dl { margin-block: .85rem; }
.demo-document-host .demo-card dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: .65rem; padding-block: .2rem; font-size: .875rem; }
.demo-document-host .demo-card dd { margin: 0; font-weight: 650; }
.demo-document-host .iq-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
@media (max-width: 640px) {
    .demo-topbar { padding-inline: .5rem; column-gap: .375rem; }
    .demo-topbar__title > div { display: none; }
    .demo-topbar .demo-home-button { padding-inline: .55rem; white-space: nowrap; font-size: .875rem; }
}

.demo-topbar .demo-home-button svg { color: inherit; flex: none; }
/* The guide's legacy list tables scroll on phones. A document lays out each line inside its paper. */
.demo-document-host .iq-invoice-paper table { min-width: 0; }
.demo-document-host .paper-lines :is(th, td) { text-transform: none; letter-spacing: normal; white-space: normal; }
.demo-document-host .paper-lines tbody th { background: transparent; }
.demo-document-host .paper-lines tbody tr:hover { background: transparent; }
.demo-document-host .paper-details :is(th, td) { white-space: normal; text-transform: none; letter-spacing: normal; }
/* A newly opened details element must fit before Firefox recalculates its container query. */
.demo-document-host .iq-invoice-paper .paper-details table { width: 100%; }
.demo-document-host .paper-details :is(th, td) { padding-inline: .25rem; }
.demo-document-host .paper-details tr > :first-child { padding-inline-start: 0; }
.demo-document-host .paper-details tr > :last-child { padding-inline-end: 0; }
@container invoice-paper (max-width: 27rem) {
    .demo-document-host .paper-details .iq-amount-value { white-space: nowrap; }
}
@media (min-width: 27rem) {
    @container invoice-paper (width > 27rem) {
        .demo-document-host .iq-invoice-paper .paper-details table { width: auto; }
        .demo-document-host .paper-details :is(th, td) { padding-inline: .6rem; }
        .demo-document-host .paper-details tr > :last-child { padding-inline-end: .6rem; }
    }
}
.demo-connection .demo-card h3 { margin-top: 0; }
.demo-connection .demo-card dl { display: grid; gap: .65rem; margin: 1rem 0; }
.demo-connection .demo-card dl > div { display: flex; justify-content: space-between; gap: .75rem; font-size: .875rem; }
.demo-connection .demo-card dt { color: var(--demo-muted); }
.demo-connection .demo-card dd { margin: 0; text-align: end; }

.demo-page-heading, .demo-heading-actions, .demo-card__heading, .demo-filterbar { flex-wrap: wrap; }
.demo-heading-actions { align-items: stretch; }
.demo-heading-actions > .demo-chip { align-self: center; }
.demo-page-heading > :is(a, button), .demo-heading-actions > :is(a, button) { flex: none; max-width: 100%; }
.demo-card__heading { row-gap: .45rem; }
.demo-filterbar > button { flex: none; }
.demo-stat-card p { white-space: normal; overflow: visible; }
.demo-approval-card > button { padding-inline: .5rem; }

@media (min-width: 641px) {
    .demo-page-heading > div:first-child { flex: 1 1 18rem; }
}
@media (max-width: 640px) {
    .demo-heading-actions :is(.demo-primary-button, .demo-secondary-button) { flex: 1 0 auto; text-align: center; }
    .demo-heading-actions:has(> .demo-chip) {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
    }
    .demo-heading-actions > .demo-chip { grid-column: 1 / -1; }
}
@container demo-workspace (40rem < width <= 67rem) {
    .demo-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container demo-workspace (max-width: 44rem) {
    .demo-filterbar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
    .demo-filterbar label { grid-column: 1 / -1; margin: 0; }
    .demo-filterbar input { width: 100%; min-width: 0; }
    .demo-filterbar > button { min-height: 2.75rem; padding-inline: .35rem; }
}
@container demo-workspace (34rem < width <= 44rem) {
    .demo-filterbar:has([data-demo-state]) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.demo-integrations-grid > article { container: integration-card / inline-size; min-width: 0; }
.demo-api-card__meta > div { padding-inline: .5rem; }
.demo-api-card__meta :is(code, strong) { overflow: visible; white-space: normal; overflow-wrap: anywhere; }
.demo-webhook-card li { grid-template-columns: auto minmax(0, 1fr) auto; row-gap: .2rem; }
@container integration-card (width > 30rem) {
    .demo-api-card__meta { grid-template-columns: repeat(3, auto); }
    .demo-api-card__meta > div:not(:last-child) { border-bottom: 0; border-inline-end: 1px solid rgba(255,255,255,.12); }
}
@container integration-card (max-width: 30rem) {
    .demo-api-card__meta { grid-template-columns: 1fr; }
    .demo-api-card__meta > div {
        display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: .5rem;
        border: 0;
    }
    .demo-api-card__meta > div + div { border-top: 1px solid rgba(255,255,255,.12); }
    .demo-api-card__meta :is(code, strong) { margin: 0; text-align: end; }
}
@container integration-card (max-width: 20rem) {
    .demo-webhook-card li { grid-template-columns: auto minmax(0, 1fr); }
    .demo-webhook-card time { grid-column: 2; }
}
