/* Generated by sites/scripts/build-site-css.mjs from the UI kit (ui/src/styles). Don't edit. */
@layer reset, tokens, base, elements, theme, web;
@layer reset {
*,
::before,
::after {
box-sizing: border-box;
margin: 0;
}
html {
-webkit-text-size-adjust: none;
text-size-adjust: none;
}
img,
svg,
video {
display: block;
max-width: 100%;
}
input,
button,
textarea,
select {
font: inherit;
color: inherit;
}
h1,
h2,
h3,
p {
overflow-wrap: break-word;
}
}
@layer tokens {
:root {
color-scheme: light dark;
--font-sans: ui-sans-serif, system-ui, sans-serif;
--font-mono: ui-monospace, "SF Mono", Menlo, monospace;
--text-xs: 0.75rem;
--text-sm: 0.875rem;
--text-base: 1rem;
--text-lg: 1.125rem;
--leading: 1.5;
--leading-xs: 1rem;
--leading-sm: 1.25rem;
--leading-lg: 1.75rem;
--text-xl: 1.25rem;
--text-2xl: 1.5rem;
--text-3xl: 1.875rem;
--text-display: clamp(2.25rem, 1.6rem + 2.4vw, 3rem);
--leading-xl: 1.75rem;
--leading-2xl: 2rem;
--leading-3xl: 2.25rem;
--leading-display: 1.1;
--tracking-tight: -0.01em;
--tracking-tighter: -0.02em;
--tracking-text: normal;
--weight-strong: 600;
--weight-control: var(--weight-strong);
--space-1: 0.25rem;
--space-2: 0.5rem;
--space-3: 0.75rem;
--space-4: 1rem;
--space-5: 1.25rem;
--space-6: 1.5rem;
--space-8: 2rem;
--space-12: 3rem;
--space-16: 4rem;
--space-24: 6rem;
--space-32: 8rem;
--hairline-width: 1px;
--color-hairline: color-mix(in oklab, currentColor 10%, transparent);
--color-hairline-soft: color-mix(in oklab, currentColor 5%, transparent);
--radius-xs: 0.1875rem;
--radius-sm: 0.25rem;
--radius-md: 0.5rem;
--radius-lg: 0.75rem;
--radius-xl: 1rem;
--radius-full: 9999px;
--shadow-cast: 0;
--shadow-halo: transparent;
--shadow-1:
calc(1px * var(--shadow-cast)) 1px 1px 0 light-dark(rgb(0 0 0 / 0.06), rgb(0 0 0 / 0.3)),
calc(2px * var(--shadow-cast)) 2px 4px -1px light-dark(rgb(0 0 0 / 0.07), rgb(0 0 0 / 0.35)),
0 0 0.1875rem var(--shadow-halo);
--shadow-2:
calc(1px * var(--shadow-cast)) 1px 2px 0 light-dark(rgb(0 0 0 / 0.05), rgb(0 0 0 / 0.3)),
calc(3px * var(--shadow-cast)) 3px 8px -2px light-dark(rgb(0 0 0 / 0.09), rgb(0 0 0 / 0.38)),
calc(8px * var(--shadow-cast)) 8px 16px -6px light-dark(rgb(0 0 0 / 0.09), rgb(0 0 0 / 0.4)),
0 0 0.3125rem var(--shadow-halo);
--shadow-3:
calc(1px * var(--shadow-cast)) 1px 2px 0 light-dark(rgb(0 0 0 / 0.06), rgb(0 0 0 / 0.32)),
calc(6px * var(--shadow-cast)) 6px 14px -3px light-dark(rgb(0 0 0 / 0.1), rgb(0 0 0 / 0.45)),
calc(16px * var(--shadow-cast)) 16px 32px -8px light-dark(rgb(0 0 0 / 0.1), rgb(0 0 0 / 0.5)),
0 0 0.375rem var(--shadow-halo);
--shadow-4:
calc(2px * var(--shadow-cast)) 2px 4px 0 light-dark(rgb(0 0 0 / 0.06), rgb(0 0 0 / 0.32)),
calc(12px * var(--shadow-cast)) 12px 28px -6px light-dark(rgb(0 0 0 / 0.14), rgb(0 0 0 / 0.5)),
calc(32px * var(--shadow-cast)) 32px 64px -12px light-dark(rgb(0 0 0 / 0.18), rgb(0 0 0 / 0.6)),
0 0 0.5rem var(--shadow-halo);
--shadow-overlay: var(--shadow-4);
--shadow-popup: var(--shadow-3);
--shadow-card: var(--shadow-2);
--shadow-card-hover: var(--shadow-3);
--control-shadow: var(--shadow-1);
--thumb-shadow: var(--shadow-1);
--thumb-shadow-hover: var(--shadow-1);
--color-canvas: light-dark(#f6f6f7, #111113);
--color-raised: light-dark(#ffffff, #1c1c1f);
--color-text: light-dark(#18181b, #f4f4f5);
--color-text-muted: light-dark(#52525b, #a1a1aa);
--color-text-subtle: light-dark(#5f5f68, #a1a1aa);
--color-border: light-dark(#e4e4e7, #2e2e33);
--color-accent: light-dark(#2563eb, #60a5fa);
--color-danger: light-dark(#c91f3a, #fb5663);
--color-success: light-dark(#15803d, #4ade80);
--color-warning: light-dark(#b45309, #fbbf24);
--color-neutral-fill: light-dark(#18181b, #52525b);
--color-accent-fill: oklch(0.55 0.175 262);
--color-danger-fill: oklch(0.55 0.18 27);
--color-on-fill: #ffffff;
--color-warning-fill: light-dark(#d97706, #f59e0b);
--control-height: 2.25rem;
--control-pad-x: var(--space-3);
--control-font-size: var(--text-sm);
--control-icon: 1rem;
--field-max-lines: 12;
--control-choice: 1rem;
--control-choice-dot: 0.375rem;
--item-height: 2rem;
--command-palette-rows: 10;
--accordion-row: 2.5rem;
--item-gap: 0.125rem;
--sidebar-pad: var(--space-4);
--sidebar-item-height: var(--control-height);
--sidebar-item-gap: var(--space-3);
--tree-muted: 0;
--tree-selected-tint: 12%;
--switch-width: 2rem;
--switch-height: 1.25rem;
--switch-inset: 0.125rem;
--track-height: 0.375rem;
--thumb-size: 1.25rem;
--spinner-sm: 1em;
--spinner-md: 2rem;
--spinner-lg: 3rem;
--table-row-height: 2.75rem;
--table-row-height-dense: var(--item-height);
--table-rule-strong: color-mix(in oklab, currentColor 16%, transparent);
--table-rule: color-mix(in oklab, currentColor 8%, transparent);
--table-stripe: color-mix(in oklab, currentColor 3%, transparent);
--table-hover: color-mix(in oklab, currentColor 6%, transparent);
--avatar-xs: 1.25rem;
--avatar-sm: 1.5rem;
--avatar-md: 2rem;
--avatar-lg: 2.5rem;
--avatar-xl: 4rem;
--avatar-radius-square: 22%;
--avatar-group-gap: 0.125rem;
--term-width: min(50%, 20rem);
--shortcut-keys-width: var(--space-24);
--skeleton-circle: var(--avatar-lg);
--skeleton-last-line: 60%;
--progress-height: var(--space-2);
--meter-height: var(--progress-height);
--toggle-tint: 12%;
--toggle-tint-dark: 20%;
--field-focus-offset: 2px;
--chip-height: 1.75rem;
--tag-field-text-min: 6rem;
--width-prose: 40rem;
--width-wide: 56rem;
--width-page: 72rem;
--space-gutter: clamp(var(--space-4), 4vw, var(--space-8));
--space-section: clamp(var(--space-16), 10vw, var(--space-32));
--color-page: light-dark(#ffffff, #111113);
--color-band: light-dark(#f6f6f7, #1c1c1f);
--color-sidebar: light-dark(#f9f8f7, #18181b);
--color-indigo: light-dark(#4b439c, #b6b8ef);
--color-marigold: #f2b33d;
--color-on-marigold: #18181b;
--stage-indigo: light-dark(rgb(75 67 156 / 0.22), rgb(110 100 220 / 0.34));
--stage-marigold: light-dark(rgb(242 179 61 / 0.4), rgb(242 179 61 / 0.26));
--color-paper: #fcf5ec;
--illustration-spot: 6rem;
--motion-enter: 320ms;
--motion-exit: 180ms;
--motion-sweep: 1.6s;
--motion-quick: 120ms;
--motion-focus: 120ms;
--motion-slide: 240ms;
--motion-popup-enter: 200ms;
--motion-popup-exit: 120ms;
--tooltip-delay: 200ms;
--tooltip-hide-delay: 100ms;
--motion-expand: 240ms;
--motion-collapse: 160ms;
--motion-spin: 800ms;
--spinner-delay: 400ms;
--skeleton-delay: 300ms;
--motion-shimmer: 2s;
--ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
--ease-in: cubic-bezier(0.4, 0, 1, 1);
--ease-in-out: cubic-bezier(0.45, 0, 0.2, 1);
--ease-spring: linear(0, 0.04, 0.138, 0.266, 0.403, 0.537, 0.657, 0.76, 0.845, 0.911, 0.96, 0.995, 1.018,
1.031, 1.037, 1.038, 1.036, 1.032, 1.027, 1.022, 1.017, 1.012, 1.008, 1.005, 1);
--ease-sheet: cubic-bezier(0.32, 0.72, 0, 1);
}
:root[data-mode="light"] {
color-scheme: light;
}
:root[data-mode="dark"] {
color-scheme: dark;
}
@media (pointer: coarse) {
:root {
--control-height: 2.75rem;
--control-pad-x: var(--space-4);
--control-font-size: var(--text-base);
--control-icon: 1.25rem;
--control-choice: 1.25rem;
--item-height: 2.75rem;
--control-choice-dot: 0.5rem;
--accordion-row: 3rem;
--switch-width: 2.75rem;
--switch-height: 1.625rem;
--thumb-size: 1.75rem;
--chip-height: 2.25rem;
}
}
@media (prefers-reduced-motion: reduce) {
:root {
--motion-enter: 150ms;
--motion-exit: 120ms;
--motion-focus: 0ms;
--motion-slide: 0ms;
}
}
}
@layer base {
html {
scrollbar-gutter: stable;
font-family: var(--font-sans);
font-size: var(--text-base);
line-height: var(--leading);
letter-spacing: var(--tracking-text);
color: var(--color-text);
background: var(--color-canvas);
}
:focus-visible {
outline: 2px solid var(--color-accent);
outline-offset: 2px;
}
:where(a, summary) {
border-radius: var(--radius-xs);
}
[data-focus-ring-gliding]:is(:focus-visible, :is(beautiful-card, [data-card]):has(a[data-card-link]:focus-visible), beautiful-tag-field:has(> input:focus-visible)) {
outline-color: transparent !important;
}
:where(beautiful-visually-hidden) {
position: absolute;
inline-size: 1px;
block-size: 1px;
overflow: hidden;
clip-path: inset(50%);
white-space: nowrap;
}
code,
pre {
font-family: var(--font-mono);
}
pre {
font-size: var(--text-sm);
}
@media (pointer: coarse) {
:where(input, select, textarea) {
font-size: max(var(--text-base), 1em);
}
}
}
@layer elements {
:where([data-color], beautiful-badge, beautiful-chip) {
--tint: #71717a;
--tint-ink: light-dark(#3f3f46, #d4d4d8);
--tint-solid: var(--color-neutral-fill);
--tint-on-solid: var(--color-on-fill);
--tint-fill: light-dark(color-mix(in srgb, var(--tint) 12%, transparent), color-mix(in srgb, var(--tint) 15%, transparent));
--tint-edge: light-dark(color-mix(in srgb, var(--tint) 20%, transparent), color-mix(in srgb, var(--tint) 24%, transparent));
}
:where([data-color="accent"]) {
--tint: var(--color-accent);
--tint-ink: color-mix(in oklab, var(--color-accent) 70%, var(--color-text));
--tint-solid: var(--color-accent-fill);
--tint-on-solid: var(--color-on-fill);
}
:where([data-color="red"]) {
--tint: #ef4444;
--tint-ink: light-dark(#991b1b, #fca5a5);
--tint-solid: var(--color-danger-fill);
--tint-on-solid: var(--color-on-fill);
}
:where([data-color="orange"]) {
--tint: #f97316;
--tint-ink: light-dark(#9a3412, #fdba74);
--tint-solid: #fb923c;
--tint-on-solid: #431407;
}
:where([data-color="yellow"]) {
--tint: #eab308;
--tint-ink: light-dark(#854d0e, #fde047);
--tint-solid: #facc15;
--tint-on-solid: #422006;
}
:where([data-color="green"]) {
--tint: #22c55e;
--tint-ink: light-dark(#166534, #86efac);
--tint-solid: #4ade80;
--tint-on-solid: #052e16;
}
:where([data-color="teal"]) {
--tint: #14b8a6;
--tint-ink: light-dark(#115e59, #5eead4);
--tint-solid: #2dd4bf;
--tint-on-solid: #042f2e;
}
:where([data-color="blue"]) {
--tint: #3b82f6;
--tint-ink: light-dark(#1e40af, #93c5fd);
--tint-solid: #2563eb;
--tint-on-solid: #ffffff;
}
:where([data-color="purple"]) {
--tint: #a855f7;
--tint-ink: light-dark(#6b21a8, #d8b4fe);
--tint-solid: #9333ea;
--tint-on-solid: #ffffff;
}
:where([data-color="pink"]) {
--tint: #ec4899;
--tint-ink: light-dark(#9d174d, #f9a8d4);
--tint-solid: #db2777;
--tint-on-solid: #ffffff;
}
}
@layer elements {
:where(p) {
text-wrap: pretty;
}
:where(p[data-size="sm"]) {
font-size: var(--text-sm);
line-height: var(--leading-sm);
}
:where(p[data-size="base"]) {
font-size: var(--text-base);
line-height: var(--leading);
}
:where(p[data-size="lg"]) {
font-size: var(--text-lg);
line-height: var(--leading-lg);
}
:where(p[data-tone="muted"]) {
color: var(--color-text-muted);
}
:where(strong) {
font-weight: var(--weight-strong);
}
:where(p[data-tone="muted"] strong) {
color: var(--color-text);
}
:where(:not(pre) > code) {
padding: 0 var(--space-1);
border: 1px solid color-mix(in oklab, currentColor 14%, transparent);
border-radius: var(--radius-sm);
background: color-mix(in oklab, currentColor 6%, transparent);
font-size: 0.875em;
overflow-wrap: anywhere;
box-decoration-break: clone;
-webkit-box-decoration-break: clone;
}
}
@layer elements {
:where(h1, h2, h3, h4, h5, h6) {
font-weight: var(--weight-strong);
overflow-wrap: break-word;
text-wrap: balance;
}
:where(h1) {
font-size: var(--text-2xl);
line-height: var(--leading-2xl);
letter-spacing: var(--tracking-tight);
}
:where(h2) {
font-size: var(--text-xl);
line-height: var(--leading-xl);
}
:where(h3, h4, h5, h6) {
font-size: var(--text-base);
line-height: var(--leading);
}
:where(:is(h1, h2, h3, h4, h5, h6)[data-size="sm"]) {
font-size: var(--text-base);
line-height: var(--leading);
letter-spacing: normal;
}
:where(:is(h1, h2, h3, h4, h5, h6)[data-size="md"]) {
font-size: var(--text-xl);
line-height: var(--leading-xl);
letter-spacing: normal;
}
:where(:is(h1, h2, h3, h4, h5, h6)[data-size="lg"]) {
font-size: var(--text-2xl);
line-height: var(--leading-2xl);
letter-spacing: var(--tracking-tight);
}
:where(:is(h1, h2, h3, h4, h5, h6)[data-size="xl"]) {
font-size: var(--text-3xl);
line-height: var(--leading-3xl);
letter-spacing: var(--tracking-tight);
}
:where(:is(h1, h2, h3, h4, h5, h6)[data-size="display"]) {
font-size: var(--text-display);
font-weight: 700;
line-height: var(--leading-display);
letter-spacing: var(--tracking-tighter);
}
}
@layer elements {
:where(a:any-link:not([data-button])) {
color: var(--color-accent);
text-decoration-line: underline;
text-decoration-color: color-mix(in oklab, currentColor 40%, transparent);
text-decoration-thickness: max(1px, 0.0625em);
text-underline-offset: 0.2em;
box-decoration-break: clone;
-webkit-box-decoration-break: clone;
-webkit-tap-highlight-color: transparent;
transition: text-decoration-color var(--motion-quick) var(--ease-out);
}
:where(a:any-link:not([data-button])[data-color="neutral"]) {
color: inherit;
}
:where(a:any-link:not([data-button]):active) {
text-decoration-color: currentColor;
}
@media (hover: hover) {
:where(a:any-link:not([data-button]):hover) {
text-decoration-color: currentColor;
}
}
:where(a:any-link:not([data-button])[target="_blank"])::after {
content: "\2060";
content: "\2060" / " (opens in a new tab)";
padding-inline-start: 0.9em;
background: currentColor;
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 11 11 5M6 5h5v5'/%3E%3C/svg%3E")
right center / 0.75em no-repeat;
}
}
@layer elements {
:where(hr) {
color: inherit;
align-self: stretch;
block-size: 0;
border: 0 solid var(--color-hairline);
border-block-start-width: var(--hairline-width);
box-shadow: 0 var(--hairline-width) var(--hairline-lit);
}
:where(hr[data-soft]) {
border-color: var(--color-hairline-soft);
}
:where(hr[aria-orientation="vertical"]) {
align-self: stretch;
inline-size: 0;
block-size: auto;
min-block-size: 1lh;
border-block-start-width: 0;
border-inline-start-width: var(--hairline-width);
box-shadow: calc(var(--hairline-width) * -1) 0 var(--hairline-lit);
}
}
@layer elements {
:where(button, a[data-button]) {
--button-fill: var(--color-neutral-fill);
--button-ink: var(--color-text);
--button-press: scale(0.98);
--button-radius: var(--radius-md);
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
gap: var(--space-2);
min-height: var(--control-height);
padding: calc(var(--space-1) - 1px) calc(var(--control-pad-x) - 1px);
border: 1px solid transparent;
border-radius: var(--button-radius);
color: var(--button-ink);
background: transparent;
font-size: var(--control-font-size);
font-weight: var(--weight-control);
line-height: 1.25rem;
text-align: center;
text-decoration: none;
cursor: pointer;
user-select: none;
touch-action: manipulation;
-webkit-tap-highlight-color: transparent;
transition:
background-color var(--motion-quick) var(--ease-out),
border-color var(--motion-quick) var(--ease-out),
color var(--motion-quick) var(--ease-out),
transform var(--motion-quick) var(--ease-out);
}
:where(button, a[data-button]):where([data-color="accent"]) {
--button-fill: var(--color-accent-fill);
--button-ink: var(--color-accent);
}
:where(button, a[data-button]):where([data-color="danger"]) {
--button-fill: var(--color-danger-fill);
--button-ink: var(--color-danger);
}
:where(button, a[data-button]):where([data-shape="pill"]) {
--button-radius: var(--radius-full);
}
:where(button, a[data-button]) > :where(svg) {
flex: none;
width: var(--control-icon);
height: var(--control-icon);
}
:where(button, a[data-button]):where([data-icon-button]) {
flex: none;
inline-size: var(--control-height);
padding: 0;
}
:where(button, a[data-button]):where([data-variant="primary"]) {
--button-tone: var(--button-fill);
--button-edge: color-mix(in srgb, color-mix(in oklab, var(--button-fill), #000 12%) var(--control-primary-opacity), transparent);
border-color: color-mix(in srgb, var(--button-edge) var(--control-primary-border-opacity), transparent);
color: var(--color-on-fill);
background-color: color-mix(in srgb, var(--button-tone) var(--control-primary-opacity), transparent);
background-clip: var(--control-primary-clip);
backdrop-filter: blur(var(--control-blur)) saturate(var(--control-saturate));
box-shadow: var(--control-shadow);
}
:where(button, a[data-button]):where(:not([data-variant]), [data-variant="secondary"]) {
border-color: var(--control-pane-edge);
background-color: var(--control-fill);
background-image: var(--control-sheen);
backdrop-filter: blur(var(--control-blur)) saturate(var(--control-saturate));
box-shadow: var(--control-shadow);
}
:where(button, a[data-button]):where(:not([data-variant="tertiary"]))::before {
content: var(--control-rim-content);
position: absolute;
top: -1px;
left: -1px;
width: calc((100% + 2px) / var(--control-rim-scale));
height: calc((100% + 2px) / var(--control-rim-scale));
padding: 1px;
border-radius: calc(var(--button-radius) / var(--control-rim-scale));
background: var(--control-hotspot), var(--control-rim);
mask:
linear-gradient(#000 0 0) content-box exclude,
linear-gradient(#000 0 0);
transform: scale(var(--control-rim-scale));
transform-origin: 0 0;
pointer-events: none;
}
:where(button, a[data-button]):where([data-variant="primary"])::before {
background:
var(--control-hotspot),
var(--control-rim),
linear-gradient(color-mix(in srgb, var(--button-edge) calc(100% - var(--control-primary-border-opacity)), transparent) 0 0);
}
@media (hover: hover) {
:where(button, a[data-button]):where([data-variant="primary"]):where(:hover) {
--button-tone: color-mix(in oklab, var(--button-fill), #000 8%);
}
:where(button, a[data-button]):where(:not([data-variant]), [data-variant="secondary"]):where(:hover) {
background-color: color-mix(in oklab, var(--button-ink) 6%, var(--control-fill));
}
:where(button, a[data-button]):where([data-variant="tertiary"]):where(:hover) {
background-color: color-mix(in oklab, var(--button-ink) 8%, transparent);
}
}
:where(button, a[data-button]):where(:active) {
transform: var(--button-press);
}
:where(button, a[data-button]):where([data-variant="primary"]):where(:active) {
--button-tone: color-mix(in oklab, var(--button-fill), #000 16%);
}
:where(button, a[data-button]):where(:not([data-variant]), [data-variant="secondary"]):where(:active) {
background-color: color-mix(in oklab, var(--button-ink) 12%, var(--control-fill));
}
:where(button, a[data-button]):where([data-variant="tertiary"]):where(:active) {
background-color: color-mix(in oklab, var(--button-ink) 14%, transparent);
}
:where(button:disabled) {
opacity: 0.5;
cursor: default;
transform: none;
}
:where(button:disabled):where([data-variant="primary"]) {
--button-tone: var(--button-fill);
}
:where(button:disabled):where(:not([data-variant]), [data-variant="secondary"]) {
background-color: var(--control-fill);
}
:where(button:disabled):where([data-variant="tertiary"]) {
background-color: transparent;
}
:where(button[aria-busy="true"]) {
cursor: progress;
}
:where(button[aria-busy="true"])::after {
content: "";
order: -1;
flex: none;
inline-size: var(--spinner-sm);
block-size: var(--spinner-sm);
background: currentColor;
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.75' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10' pathLength='100' stroke-dasharray='28 100' transform='rotate(-90 12 12)'/%3E%3C/svg%3E") center / contain no-repeat;
animation: spinner-turn var(--motion-spin) linear infinite;
}
@media (prefers-reduced-motion: reduce) {
:where(button, a[data-button]) {
--button-press: none;
}
:where(button[aria-busy="true"])::after {
animation-duration: calc(3 * var(--motion-spin));
}
}
}
@layer elements {
:where(dialog, [popover]:not(beautiful-toaster), beautiful-toaster > beautiful-toast, beautiful-card, [data-card], beautiful-auth-layout > main, beautiful-stacked-layout > main, beautiful-sidebar-layout > main, [data-glint])::before {
content: var(--surface-rim-content);
position: absolute;
top: -1px;
left: -1px;
width: calc((100% + 2px) / var(--surface-rim-scale));
height: calc((100% + 2px) / var(--surface-rim-scale));
padding: 1px;
border-radius: calc(var(--rim-radius) / var(--surface-rim-scale));
background: var(--surface-hotspot), var(--surface-rim);
mask:
linear-gradient(#000 0 0) content-box exclude,
linear-gradient(#000 0 0);
transform: scale(var(--surface-rim-scale));
transform-origin: 0 0;
pointer-events: none;
}
:where(dialog, beautiful-auth-layout > main)::after {
content: "";
position: absolute;
inset: calc(var(--surface-bezel) - 1px);
z-index: -1;
border-radius: max(0px, var(--rim-radius) - var(--surface-bezel) / 2);
background-color: var(--surface-inset-fill);
background-image: var(--surface-inset-sheen);
box-shadow: var(--surface-inset-edge);
pointer-events: none;
}
:where([data-glint]) {
--rim-radius: var(--radius-lg);
position: relative;
}
}
@layer elements {
:where(beautiful-callout) {
--callout-rise: var(--space-2);
--callout-ink: var(--color-accent);
--callout-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='10' cy='10' r='7.25'/%3E%3Cpath d='M10 9.25v4.5'/%3E%3Cpath d='M10 6.4v.01' stroke-width='2'/%3E%3C/svg%3E");
position: relative;
display: grid;
grid-template-columns: var(--leading-sm) minmax(0, 1fr);
align-items: start;
column-gap: var(--space-3);
row-gap: var(--space-1);
padding: calc(var(--space-3) - 1px) calc(var(--space-4) - 1px);
border: 1px solid color-mix(in oklab, var(--callout-ink) var(--callout-edge), var(--control-pane-edge));
border-radius: var(--radius-lg);
color: var(--color-text);
background-color: light-dark(
color-mix(in oklab, var(--callout-ink) var(--callout-tint-light), var(--control-fill)),
color-mix(in oklab, var(--callout-ink) var(--callout-tint-dark), var(--control-fill))
);
background-image: var(--control-sheen);
backdrop-filter: blur(var(--control-blur)) saturate(var(--control-saturate));
box-shadow: var(--callout-shadow);
font-size: var(--text-sm);
line-height: var(--leading-sm);
overflow-wrap: anywhere;
}
:where(beautiful-callout[data-tone="success"]) {
--callout-ink: var(--color-success);
--callout-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10' cy='10' r='7.25'/%3E%3Cpath d='m6.9 10.2 2.2 2.2 4-4.4'/%3E%3C/svg%3E");
}
:where(beautiful-callout[data-tone="warning"]) {
--callout-ink: var(--color-warning);
--callout-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.7 3.75a1.5 1.5 0 0 1 2.6 0l6 10.5a1.5 1.5 0 0 1-1.3 2.25H4a1.5 1.5 0 0 1-1.3-2.25z'/%3E%3Cpath d='M10 8v3.5'/%3E%3Cpath d='M10 14v.01' stroke-width='2'/%3E%3C/svg%3E");
}
:where(beautiful-callout[data-tone="danger"]) {
--callout-ink: var(--color-danger);
--callout-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='10' cy='10' r='7.25'/%3E%3Cpath d='M10 6.25v4.5'/%3E%3Cpath d='M10 13.6v.01' stroke-width='2'/%3E%3C/svg%3E");
}
:where(beautiful-callout[data-tone="neutral"]) {
--callout-ink: var(--color-text-muted);
--callout-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'%3E%3Crect x='3.25' y='3.25' width='13.5' height='13.5' rx='3'/%3E%3Cpath d='M7 8h6M7 11.75h4'/%3E%3C/svg%3E");
}
:where(beautiful-callout:has(> button[data-dismiss])) {
grid-template-columns: var(--leading-sm) minmax(0, 1fr) auto;
}
:where(beautiful-callout)::before {
content: "";
grid-column: 1;
grid-row: 1;
block-size: var(--leading-sm);
background-color: var(--callout-ink);
mask: var(--callout-icon) center / contain no-repeat;
}
:where(beautiful-callout) > :where(*) {
grid-column: 2;
}
:where(beautiful-callout) > :where(strong) {
font-weight: var(--weight-strong);
}
:where(beautiful-callout) > :where(:not(strong) + :is(p, ul, ol)) {
margin-block-start: var(--space-1);
}
:where(beautiful-callout) :where(ul, ol) {
padding-inline-start: var(--space-5);
}
:where(beautiful-callout-actions) {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: var(--space-2);
margin-block-start: var(--space-2);
}
:where(beautiful-callout) > :where(button[data-dismiss]) {
--dismiss-reach: calc((var(--leading-sm) - var(--control-height)) / 2);
--dismiss-top: max(var(--dismiss-reach), calc(1px - var(--space-3)));
grid-column: 3;
grid-row: 1;
inline-size: var(--control-height);
block-size: var(--control-height);
margin-block: var(--dismiss-top) calc(var(--leading-sm) - var(--control-height) - var(--dismiss-top));
margin-inline: 0 max(var(--dismiss-reach), calc(1px - var(--space-4)));
padding: 0;
}
:where(beautiful-callout) > :where(button[data-dismiss])::after {
content: "";
inline-size: var(--control-icon);
block-size: var(--control-icon);
background-color: currentColor;
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='m6 6 8 8M14 6l-8 8'/%3E%3C/svg%3E")
center / contain no-repeat;
}
:where(beautiful-callout)::after {
content: var(--control-rim-content);
position: absolute;
top: -1px;
left: -1px;
width: calc((100% + 2px) / var(--surface-rim-scale));
height: calc((100% + 2px) / var(--surface-rim-scale));
padding: 1px;
border-radius: calc(var(--radius-lg) / var(--surface-rim-scale));
background: var(--control-hotspot), var(--control-rim);
mask:
linear-gradient(#000 0 0) content-box exclude,
linear-gradient(#000 0 0);
transform: scale(var(--surface-rim-scale));
transform-origin: 0 0;
pointer-events: none;
}
:where(beautiful-callout) {
transition:
opacity var(--motion-exit) var(--ease-in),
translate var(--motion-exit) var(--ease-in);
}
:where(beautiful-callout):where([role="status"], [role="alert"]):where(:not([data-leaving])) {
transition:
opacity var(--motion-enter) var(--ease-out),
translate var(--motion-enter) var(--ease-out);
@starting-style {
opacity: 0;
translate: 0 var(--callout-rise);
}
}
:where(beautiful-callout[data-leaving]) {
opacity: 0;
translate: 0 calc(-0.5 * var(--callout-rise));
}
@media (prefers-reduced-motion: reduce) {
:where(beautiful-callout) {
--callout-rise: 0px;
}
}
}
@layer elements {
:where(:is(beautiful-card, [data-card])) {
--card-padding: var(--space-5);
--rim-radius: var(--radius-lg);
--color-text-muted: var(--surface-text-muted);
position: relative;
display: flex;
flex-direction: column;
gap: var(--space-4);
min-inline-size: 0;
padding: var(--card-padding);
overflow: visible;
border: 1px solid var(--card-edge);
border-radius: var(--rim-radius);
color: var(--color-text);
background-color: var(--card-fill);
background-image: var(--card-sheen);
backdrop-filter: var(--card-backdrop);
box-shadow: var(--shadow-card);
font-size: var(--text-sm);
line-height: var(--leading-sm);
overflow-wrap: anywhere;
transition:
border-color var(--motion-quick) var(--ease-out),
box-shadow var(--motion-quick) var(--ease-out);
}
:where(:is(beautiful-card, [data-card]))::before {
background: var(--card-hotspot), var(--card-rim);
}
:where(li[data-card]) {
list-style: none;
}
:where(:is(beautiful-card, [data-card])) > :where(img, picture, video):first-child {
display: block;
inline-size: calc(100% + 2 * var(--card-padding));
max-inline-size: none;
block-size: auto;
aspect-ratio: var(--card-media-ratio, 16 / 9);
margin: calc(-1 * var(--card-padding)) calc(-1 * var(--card-padding)) 0;
border-radius: calc(var(--rim-radius) - 1px) calc(var(--rim-radius) - 1px) 0 0;
object-fit: cover;
overflow: hidden;
}
:where(:is(beautiful-card, [data-card])) > :where(picture):first-child > :where(img) {
display: block;
inline-size: 100%;
block-size: 100%;
object-fit: cover;
}
:where(:is(beautiful-card, [data-card])) > :where(hgroup) {
display: grid;
gap: var(--space-1);
}
:where(:is(beautiful-card, [data-card])) > :where(hgroup) > :where(p) {
color: var(--color-text-muted);
}
:where(:is(beautiful-card, [data-card])) > :where(footer) {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: var(--space-2);
margin-block-start: auto;
}
:where(:is(beautiful-card, [data-card]) a[data-card-link]) {
color: inherit;
text-decoration-color: transparent;
outline: none;
}
:where(:is(beautiful-card, [data-card]) a[data-card-link])::before {
content: "";
position: absolute;
inset: -1px;
border-radius: var(--rim-radius);
}
:where(:is(beautiful-card, [data-card]):has(a[data-card-link]) :is(a:not([data-card-link]), button, input, select, textarea, summary, label, beautiful-input-group, iframe, embed, object, audio[controls], video[controls], [contenteditable], [role="button"], [role="link"], [tabindex]:not([tabindex="-1"])):not(beautiful-input-group *)) {
position: relative;
z-index: 1;
}
:where(:is(beautiful-card, [data-card]):has(a[data-card-link]:focus-visible):not(:has(:is(beautiful-card, [data-card]) a[data-card-link]:focus-visible))) {
outline: 2px solid var(--color-accent);
outline-offset: 2px;
}
@media (hover: hover) {
:where(:is(beautiful-card, [data-card]):has(a[data-card-link]):hover:not(:has(:is(a:not([data-card-link]), button, input, select, textarea, summary, label, beautiful-input-group, iframe, embed, object, audio[controls], video[controls], [contenteditable], [role="button"], [role="link"], [tabindex]:not([tabindex="-1"])):hover))) {
border-color: var(--card-edge-hover);
box-shadow: var(--shadow-card-hover);
}
:where(:is(beautiful-card, [data-card]):hover:not(:has(:is(a:not([data-card-link]), button, input, select, textarea, summary, label, beautiful-input-group, iframe, embed, object, audio[controls], video[controls], [contenteditable], [role="button"], [role="link"], [tabindex]:not([tabindex="-1"])):hover)) a[data-card-link]) {
text-decoration-color: color-mix(in oklab, currentColor 40%, transparent);
}
}
@media (forced-colors: active) {
:where(:is(beautiful-card, [data-card]):has(a[data-card-link]:focus-visible)) {
outline-color: Highlight;
}
}
}
@layer elements {
beautiful-focus-ring {
all: revert-layer;
position: fixed;
display: block;
inset: 0 auto auto 0;
width: 0;
height: 0;
margin: 0;
padding: 0;
overflow: visible;
border: 2px solid var(--color-accent);
background: none;
pointer-events: none;
}
beautiful-focus-ring:not(:popover-open) {
display: none;
}
beautiful-focus-ring::before,
beautiful-focus-ring::after {
content: none;
}
}
@layer elements {
:where(
textarea,
input:not([type]),
input:is(
[type="text"],
[type="email"],
[type="password"],
[type="search"],
[type="tel"],
[type="url"],
[type="number"],
[type="date"],
[type="datetime-local"],
[type="month"],
[type="time"],
[type="week"]
)
) {
display: block;
inline-size: 100%;
min-inline-size: 0;
block-size: var(--control-height);
padding: calc(var(--space-2) - 1px) calc(var(--control-pad-x) - 1px);
border: 1px solid var(--field-edge);
border-radius: var(--radius-md);
color: var(--color-text);
background-color: var(--field-fill);
backdrop-filter: blur(var(--control-blur)) saturate(var(--control-saturate));
box-shadow: var(--field-shadow);
font-size: var(--control-font-size);
line-height: var(--leading-sm);
caret-color: var(--color-accent);
appearance: none;
transition:
border-color var(--motion-quick) var(--ease-out),
background-color var(--motion-quick) var(--ease-out);
&:focus-visible {
outline-offset: var(--field-focus-offset);
}
&::placeholder {
color: var(--color-text-muted);
opacity: 1;
}
@media (hover: hover) {
&:where(:hover:read-write) {
border-color: var(--field-edge-hover);
}
}
&:where([aria-invalid="true"]) {
border-color: var(--color-danger);
}
&:where(:disabled) {
opacity: 0.5;
cursor: default;
}
&:where(:autofill) {
box-shadow:
inset 0 0 0 100vmax var(--field-autofill),
var(--field-shadow);
-webkit-text-fill-color: var(--color-text);
}
}
:where(input)::-webkit-date-and-time-value {
text-align: start;
}
:where(input[type="search"])::-webkit-search-decoration {
appearance: none;
}
:where(input[type="search"])::-webkit-search-cancel-button {
--clear-size: calc(var(--control-height) - 2px);
appearance: none;
flex: none;
inline-size: var(--clear-size);
block-size: var(--clear-size);
margin-block: calc((var(--leading-sm) - var(--clear-size)) / 2);
margin-inline: var(--space-1) calc(1px - var(--control-pad-x));
background-color: var(--color-text-muted);
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='m6 6 8 8M14 6l-8 8'/%3E%3C/svg%3E")
center / var(--control-icon) no-repeat;
cursor: pointer;
}
beautiful-input-group {
position: relative;
display: block;
> :where(svg) {
position: absolute;
inset-block: 0;
z-index: 1;
inline-size: var(--control-icon);
block-size: var(--control-icon);
margin-block: auto;
color: var(--color-text-muted);
pointer-events: none;
}
> :where(svg:first-child) {
inset-inline-start: var(--control-pad-x);
}
> :where(svg:last-child) {
inset-inline-end: var(--control-pad-x);
}
&:has(> svg:first-child) > :where(input) {
padding-inline-start: calc(var(--control-pad-x) * 2 + var(--control-icon) - 1px);
}
&:has(> svg:last-child) > :where(input) {
padding-inline-end: calc(var(--control-pad-x) * 2 + var(--control-icon) - 1px);
}
> :where(button:last-child) {
--button-ink: var(--color-text-muted);
position: absolute;
inset-block: 1px;
inset-inline-end: 1px;
z-index: 1;
inline-size: calc(var(--control-height) - 2px);
min-block-size: 0;
padding: 0;
border-radius: calc(var(--radius-md) - 1px);
outline-offset: -2px;
}
&:has(> button:last-child) > :where(input) {
padding-inline-end: calc(var(--control-height) + var(--space-1));
}
&:has(> input:disabled) > :where(svg) {
opacity: 0.5;
}
}
}
@layer elements {
:where(details) {
interpolate-size: allow-keywords;
}
:where(details > summary) {
display: flex;
align-items: center;
gap: var(--space-1);
inline-size: fit-content;
max-inline-size: calc(100% + 2 * var(--space-2));
min-block-size: var(--control-height);
margin-inline: calc(-1 * var(--space-2));
padding-inline: var(--space-2);
border-radius: var(--radius-md);
color: var(--color-text);
font-size: var(--control-font-size);
font-weight: 500;
list-style: none;
cursor: pointer;
-webkit-tap-highlight-color: transparent;
transition: background-color var(--motion-quick) var(--ease-out);
}
:where(details > summary)::-webkit-details-marker {
display: none;
}
:where(details > summary)::after {
content: "";
flex: none;
inline-size: var(--control-icon);
block-size: var(--control-icon);
background: var(--color-text-muted);
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 6.5 3.5 3.5 3.5-3.5'/%3E%3C/svg%3E")
center / contain no-repeat;
transition: rotate var(--motion-collapse) var(--ease-in);
}
:where(details[open] > summary)::after {
rotate: 180deg;
transition-duration: var(--motion-expand);
transition-timing-function: var(--ease-out);
}
@media (hover: hover) {
:where(details > summary:hover) {
background-color: color-mix(in oklab, var(--color-text) 6%, transparent);
}
:where(details > summary:hover)::after {
background: var(--color-text);
}
}
:where(details > summary:active) {
background-color: color-mix(in oklab, var(--color-text) 9%, transparent);
}
:where(details)::details-content {
box-sizing: border-box;
block-size: 0;
padding-block: 0;
overflow: clip;
overflow-clip-margin: var(--space-3);
opacity: 0;
transition:
block-size var(--motion-collapse) var(--ease-in),
padding-block var(--motion-collapse) var(--ease-in),
opacity var(--motion-collapse) var(--ease-in),
content-visibility var(--motion-collapse) allow-discrete;
}
:where(details[open])::details-content {
block-size: auto;
padding-block: var(--space-1) var(--space-2);
opacity: 1;
transition-property: block-size, padding-block, opacity;
transition-duration: var(--motion-expand);
transition-timing-function: var(--ease-out);
}
@media (prefers-reduced-motion: reduce) {
:where(details)::details-content {
transition-property: opacity, content-visibility;
}
:where(details[open])::details-content {
transition-property: opacity;
}
:where(details > summary)::after {
transition: none;
}
}
}
@layer elements {
:where(beautiful-accordion) {
display: block;
}
:where(beautiful-accordion > details + details) {
border-block-start: var(--hairline-width) solid var(--color-hairline);
}
:where(beautiful-accordion > details > summary) {
justify-content: space-between;
gap: var(--space-3);
inline-size: auto;
max-inline-size: none;
min-block-size: var(--accordion-row);
margin-block: var(--space-1);
font-size: inherit;
}
:where(beautiful-accordion > details[open])::details-content {
padding-block: 0 var(--space-3);
}
}
@layer elements {
:where(beautiful-badge) {
display: inline-flex;
align-items: center;
gap: var(--space-1);
padding-inline: var(--space-2);
border-radius: var(--radius-sm);
font-size: var(--text-xs);
line-height: var(--leading-sm);
font-weight: 500;
font-variant-numeric: tabular-nums;
white-space: nowrap;
color: var(--tint-ink);
background: var(--tint-fill);
box-shadow: inset 0 0 0 1px var(--tint-edge), var(--badge-highlight);
outline: 1px solid transparent;
outline-offset: -1px;
}
:where(beautiful-badge[data-variant="strong"]) {
color: var(--tint-on-solid);
background: var(--tint-solid);
box-shadow: var(--badge-highlight);
}
:where(beautiful-badge[data-dot])::before {
content: "";
flex: none;
inline-size: 0.5em;
block-size: 0.5em;
border-radius: 50%;
background: var(--tint);
}
:where(beautiful-badge[data-variant="strong"][data-dot])::before {
background: currentColor;
}
@media (forced-colors: active) {
:where(beautiful-badge[data-dot])::before {
background: CanvasText;
}
}
:where(beautiful-badge > svg) {
flex: none;
inline-size: 1em;
block-size: 1em;
}
}
@layer elements {
:where(beautiful-table) {
--color-text-muted: var(--surface-text-muted);
--table-pad-x: var(--space-4);
display: block;
max-inline-size: 100%;
overflow-x: auto;
border: 1px solid var(--table-edge);
border-radius: var(--radius-lg);
background-color: var(--table-fill);
background-image: var(--surface-sheen);
backdrop-filter: blur(var(--table-blur)) saturate(var(--surface-saturate));
}
:where(beautiful-table[data-plain], dialog beautiful-table, [popover] beautiful-table, :is(beautiful-card, [data-card]) beautiful-table) {
--color-text-muted: inherit;
margin-inline: calc(-1 * var(--space-1));
padding-inline: var(--space-1);
border: 0;
border-radius: 0;
background: none;
backdrop-filter: none;
}
:where(table:not([data-date-picker] table)) {
inline-size: 100%;
border-collapse: collapse;
font-size: var(--text-sm);
line-height: var(--leading-sm);
font-variant-numeric: tabular-nums;
}
:where(table:not([data-date-picker] table)) > :where(caption) {
padding: var(--space-3) var(--table-pad-x, var(--space-4)) var(--space-1);
font-weight: var(--weight-strong);
text-align: start;
}
:where(table:not([data-date-picker] table)) :where(th, td) {
block-size: var(--table-row-height);
padding: var(--space-2) var(--table-pad-x, var(--space-4));
border-block-end: 1px solid var(--table-rule);
text-align: start;
vertical-align: middle;
}
:where(table:not([data-date-picker] table)) :where(thead) :where(th, td) {
border-block-end-color: var(--table-rule-strong);
}
:where(table:not([data-date-picker] table)) :where(thead th) {
color: var(--color-text-muted);
font-weight: 500;
white-space: nowrap;
}
:where(table:not([data-date-picker] table)) :where(tbody th) {
font-weight: 500;
}
:where(table:not([data-date-picker] table)) > :where(tbody:last-child) > :where(tr:last-child) > :where(th, td) {
border-block-end: 0;
}
:where(table:not([data-date-picker] table)) :where([data-align="end"]) {
text-align: end;
}
:where(beautiful-table[data-dense]) {
--table-pad-x: var(--space-3);
}
:where(beautiful-table[data-dense]) > :where(table) > * > :where(tr) > :where(th, td) {
block-size: var(--table-row-height-dense);
padding-block: var(--space-1);
}
:where(beautiful-table[data-grid]) > :where(table) > * > :where(tr) > :where(th, td) + :where(th, td) {
border-inline-start: 1px solid var(--table-rule);
}
:where(beautiful-table[data-striped]) > :where(table) > :where(tbody) > :where(tr:nth-child(even)) {
background-color: var(--table-stripe);
}
:where(td[data-empty]) {
block-size: calc(2 * var(--table-row-height));
color: var(--color-text-muted);
text-align: center;
}
:where(
beautiful-table[data-plain]:not([data-striped]),
dialog beautiful-table:not([data-striped]),
[popover] beautiful-table:not([data-striped]),
:is(beautiful-card, [data-card]) beautiful-table:not([data-striped]),
:not(beautiful-table)
)
> :where(table:not([data-date-picker] table))
:where(th, td) {
&:where(:first-child) {
padding-inline-start: 0;
}
&:where(:last-child) {
padding-inline-end: 0;
}
}
:where(a[data-row-link]) {
color: inherit;
font-weight: 500;
text-decoration: none;
}
@media (hover: hover) {
:where(tr:has(> :first-child > a[data-row-link])):where(:hover) {
background-color: var(--table-hover);
}
}
:where(th) > :where(button[data-sort]) {
--button-press: none;
gap: var(--space-1);
min-height: 0;
margin-inline: calc(-1 * var(--space-1));
padding: 0 var(--space-1);
border: 0;
border-radius: var(--radius-xs);
color: inherit;
background: none;
box-shadow: none;
backdrop-filter: none;
font: inherit;
text-align: inherit;
white-space: nowrap;
&::before {
content: none;
}
&::after {
content: "";
flex: none;
inline-size: 1em;
block-size: 1em;
background-color: currentColor;
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 6.5 3-3 3 3M5 9.5l3 3 3-3'/%3E%3C/svg%3E")
center / contain no-repeat;
opacity: 0.5;
transition: opacity var(--motion-quick) var(--ease-out);
}
}
:where(th[aria-sort="ascending"], th[aria-sort="descending"]) > :where(button[data-sort]) {
color: var(--color-text);
&::after {
opacity: 1;
}
}
:where(th[aria-sort="ascending"]) > :where(button[data-sort])::after {
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 12.5v-9M4.5 7 8 3.5 11.5 7'/%3E%3C/svg%3E");
}
:where(th[aria-sort="descending"]) > :where(button[data-sort])::after {
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3.5v9M4.5 9 8 12.5 11.5 9'/%3E%3C/svg%3E");
}
@media (hover: hover) {
:where(th) > :where(button[data-sort]:hover) {
color: var(--color-text);
}
}
}
@layer theme.classic {
:root {
--surface-fill: var(--color-raised);
--surface-blur: 0px;
--surface-saturate: 100%;
--surface-edge: var(--color-border);
--surface-text-muted: var(--color-text-muted);
--surface-sheen: none;
--surface-rim: none;
--surface-hotspot: none;
--surface-rim-content: none;
--surface-bezel: 0px;
--surface-inset-fill: transparent;
--surface-inset-sheen: none;
--surface-inset-edge: 0 0 #0000;
--hairline-lit: transparent;
--surface-rim-scale: 1;
--control-rim-scale: var(--surface-rim-scale);
--backdrop-fill: light-dark(rgb(24 24 27 / 0.3), rgb(0 0 0 / 0.6));
--layout-backdrop: var(--color-canvas);
--popup-fill: var(--color-raised);
--popup-blur: 0px;
--tooltip-shortcut: light-dark(#71717a, #8b8b93);
--tooltip-fill: var(--popup-fill);
--tooltip-ink: var(--color-text);
--tooltip-edge: var(--surface-edge);
--popup-scale: 0.96;
--card-fill: var(--color-raised);
--card-sheen: none;
--card-rim: none;
--card-hotspot: none;
--card-backdrop: none;
--card-edge: var(--color-border);
--card-edge-hover: light-dark(#d4d4d8, #3f3f46);
--table-fill: var(--color-raised);
--table-blur: 0px;
--table-edge: var(--color-border);
--control-fill: var(--color-raised);
--control-edge: light-dark(#d4d4d8, #3f3f46);
--control-pane-edge: var(--control-edge);
--item-danger-tint: color-mix(in oklab, var(--color-danger) 10%, transparent);
--item-danger-lit: 25%;
--nav-current-fill: var(--control-fill);
--nav-current-edge: var(--control-pane-edge);
--nav-current-shadow: var(--control-shadow);
--control-primary-border-opacity: 100%;
--control-primary-clip: border-box;
--control-blur: 0px;
--control-saturate: 100%;
--control-sheen: none;
--control-rim: none;
--control-hotspot: none;
--control-hotspot-small: none;
--control-rim-content: none;
--control-primary-opacity: 100%;
--field-fill: light-dark(#ffffff, rgb(255 255 255 / 0.04));
--field-edge: var(--control-edge);
--field-edge-hover: light-dark(#a1a1aa, #52525b);
--field-shadow: inset 0 1px 2px light-dark(rgb(0 0 0 / 0.05), rgb(0 0 0 / 0.25));
--field-autofill: color-mix(in oklab, var(--color-accent) 8%, var(--color-raised));
--field-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2371717a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
--track-fill: light-dark(#e4e4e7, #3f3f46);
--track-shadow: inset 0 1px 1px light-dark(rgb(0 0 0 / 0.06), rgb(0 0 0 / 0.3));
--track-value: var(--color-accent-fill);
--track-value-image: linear-gradient(var(--track-value), var(--track-value));
--thumb-fill: light-dark(#ffffff, #f4f4f5);
--thumb-sheen: none;
--thumb-blur: 0px;
--thumb-edge: 0 0 0 1px light-dark(rgb(0 0 0 / 0.12), rgb(0 0 0 / 0.4));
--progress-sheen: none;
--progress-sweep-sheen: none;
--callout-tint-light: 3%;
--callout-tint-dark: 8%;
--callout-edge: 30%;
--callout-shadow: none;
--badge-highlight: 0 0 #0000;
--skeleton-fill: color-mix(in oklab, var(--color-text) 8%, transparent);
--skeleton-shine: light-dark(rgb(255 255 255 / 0.6), rgb(255 255 255 / 0.06));
--skeleton-shine-angle: 90deg;
--control-choice-edge: #71717a;
--control-choice-edge-hover: light-dark(#52525b, #a1a1aa);
}
@media (min-resolution: 2dppx) {
:root {
--surface-rim-scale: 0.5;
}
}
@media (min-resolution: 3dppx) {
:root {
--surface-rim-scale: 0.3333;
}
}
}
@layer theme.glass {
@supports (backdrop-filter: blur(1px)) {
:root[data-theme="glass"] {
--glass-hot: light-dark(rgb(255 255 255 / 1), rgb(255 255 255 / 0.9));
--glass-light: light-dark(rgb(255 255 255 / 0.85), rgb(255 255 255 / 0.35));
--glass-glow: light-dark(rgb(255 255 255 / 0.6), rgb(255 255 255 / 0.07));
--glass-rim-light: rgb(255 255 255 / 0.35);
--glass-rim-faint: rgb(255 255 255 / 0.03);
--glass-rim-hot: rgb(255 255 255 / 0.9);
--glass-halo: light-dark(rgb(0 0 0 / 0.1), transparent);
--shadow-cast: -0.5;
--shadow-halo: var(--glass-halo);
--surface-fill: light-dark(rgb(255 255 255 / 0.1), rgb(30 30 36 / 0.1));
--surface-bezel: var(--space-3);
--surface-inset-fill: light-dark(rgb(255 255 255 / 0.85), rgb(30 30 36 / 0.85));
--surface-inset-sheen: radial-gradient(
120% 140% at 100% 0%,
light-dark(rgb(255 255 255 / 0.8), transparent),
light-dark(rgb(255 255 255 / 0), transparent) 60%,
light-dark(rgb(0 0 0 / 0.06), transparent) 100%
);
--surface-inset-edge:
inset 0 1px 0 light-dark(rgb(255 255 255 / 0.9), rgb(255 255 255 / 0.14)),
0 0 0 1px light-dark(rgb(0 0 0 / 0.14), rgb(255 255 255 / 0.16));
--surface-text-muted: light-dark(#3f3f46, #e4e4e7);
--color-text-subtle: light-dark(#505058, #a1a1aa);
--surface-blur: 5px;
--surface-saturate: 180%;
--surface-edge: light-dark(rgb(255 255 255 / 0.2), rgb(255 255 255 / 0.06));
--surface-sheen: radial-gradient(min(100%, 24rem) 11rem at calc(100% - min(15%, 4.5rem)) 0, var(--glass-glow), transparent 60%);
--surface-rim: linear-gradient(to bottom, var(--glass-rim-light), var(--glass-rim-faint) 35%, transparent 80%);
--surface-hotspot: radial-gradient(min(35%, 10rem) min(45%, 4rem) at calc(100% - min(25%, 8rem)) 0, var(--glass-rim-hot), transparent);
--surface-rim-content: "";
--backdrop-fill: radial-gradient(
farthest-corner at 100% 0%,
light-dark(rgb(24 24 27 / 0.1), rgb(0 0 0 / 0.3)),
light-dark(rgb(24 24 27 / 0.32), rgb(0 0 0 / 0.3))
);
--layout-backdrop:
radial-gradient(48rem 36rem at 0% 0%, light-dark(#cfe0fd, #1e3a5f), transparent),
radial-gradient(44rem 36rem at 100% 10%, light-dark(#fbd9ec, #3b1d36), transparent),
radial-gradient(40rem 30rem at 70% 100%, light-dark(#e2dcfe, #2e1f4f), transparent),
var(--color-canvas);
--popup-fill: light-dark(rgb(255 255 255 / 0.72), rgb(30 30 36 / 0.72));
--popup-blur: 16px;
--card-fill: light-dark(rgb(255 255 255 / 0.78), rgb(44 44 52 / 0.7));
--card-sheen: var(--control-sheen);
--card-rim: var(--control-rim);
--card-hotspot: var(--control-hotspot);
--card-backdrop: blur(var(--popup-blur)) saturate(var(--surface-saturate));
--card-edge: var(--surface-edge);
--card-edge-hover: light-dark(rgb(255 255 255 / 0.85), rgb(255 255 255 / 0.18));
--table-fill: var(--popup-fill);
--table-blur: var(--popup-blur);
--table-edge: var(--surface-edge);
--control-fill: light-dark(rgb(255 255 255 / 0.7), rgb(24 24 28 / 0.75));
--control-edge: light-dark(rgb(0 0 0 / 0.08), rgb(255 255 255 / 0.1));
--control-pane-edge: light-dark(rgb(255 255 255 / 0.2), rgb(255 255 255 / 0.1));
--control-blur: 12px;
--control-saturate: 180%;
--control-sheen: radial-gradient(
8rem 2.25rem at max(85%, calc(100% - 1rem)) 0%,
light-dark(rgb(255 255 255 / 0.22), rgb(255 255 255 / 0.12)),
transparent 70%
);
--control-rim: linear-gradient(to bottom, var(--glass-rim-light), var(--glass-rim-faint) 50%, transparent);
--control-hotspot: radial-gradient(2.75rem 1.8rem at max(75%, calc(100% - 1.75rem)) 0%, var(--glass-rim-hot), transparent);
--control-hotspot-small: radial-gradient(40% 80% at 75% 0%, var(--glass-rim-hot), transparent);
--control-rim-content: "";
--color-accent: light-dark(#1d4ed8, #93c5fd);
--color-danger: light-dark(#ba022f, #ff9a9b);
--color-success: light-dark(#166534, #86efac);
--color-warning: light-dark(#92400e, #fcd34d);
--color-accent-fill: #1d4ed8;
--color-danger-fill: light-dark(#b91c1c, #dc2626);
--color-warning-fill: light-dark(#b45309, #f59e0b);
--control-primary-opacity: 85%;
--callout-tint-light: 4%;
--callout-tint-dark: 10%;
--callout-shadow: var(--control-shadow);
--field-fill: light-dark(rgb(255 255 255 / 0.62), rgb(16 16 20 / 0.72));
--field-edge: light-dark(rgb(0 0 0 / 0.12), rgb(255 255 255 / 0.1));
--field-edge-hover: light-dark(rgb(0 0 0 / 0.26), rgb(255 255 255 / 0.24));
--field-shadow:
inset calc(1px * var(--shadow-cast, 0)) 1px 3px light-dark(rgb(0 0 0 / 0.1), rgb(0 0 0 / 0.45)),
0 1px 0 light-dark(rgb(255 255 255 / 0.75), rgb(255 255 255 / 0.08));
--toggle-groove: light-dark(rgb(236 236 240 / 0.8), rgb(40 40 46 / 0.72));
--toggle-shadow:
inset calc(1px * var(--shadow-cast, 0)) 1px 3px light-dark(rgb(0 0 0 / 0.1), rgb(0 0 0 / 0.45)),
inset 0 -1px 0 light-dark(rgb(255 255 255 / 0.45), transparent),
0 1px 0 light-dark(transparent, rgb(255 255 255 / 0.08));
--color-hairline: light-dark(color-mix(in oklab, currentColor 10%, transparent), rgb(0 0 0 / 0.5));
--color-hairline-soft: light-dark(color-mix(in oklab, currentColor 5%, transparent), rgb(0 0 0 / 0.3));
--hairline-lit: light-dark(rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.08));
--track-fill: light-dark(rgb(0 0 0 / 0.1), rgb(255 255 255 / 0.14));
--track-shadow:
inset calc(1px * var(--shadow-cast, 0)) 1px 1px light-dark(rgb(0 0 0 / 0.12), rgb(0 0 0 / 0.4)),
0 1px 0 light-dark(rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.06));
--track-value: color-mix(in srgb, var(--color-accent-fill) var(--control-primary-opacity), transparent);
--track-value-image: linear-gradient(
to bottom,
var(--track-value),
color-mix(in oklab, var(--track-value), #fff 22%)
);
--thumb-fill: light-dark(rgb(255 255 255 / 0.5), rgb(24 24 28 / 0.55));
--thumb-blur: 4px;
--thumb-sheen:
radial-gradient(55% 40% at 70% 0%, light-dark(var(--glass-hot), rgb(255 255 255 / 0.2)), transparent),
var(--control-sheen);
--thumb-edge:
inset 0 1px 0 var(--glass-light),
inset 0 -1px 0 light-dark(rgb(0 0 0 / 0.06), rgb(255 255 255 / 0.04)),
0 0 0 1px light-dark(rgb(0 0 0 / 0.12), rgb(255 255 255 / 0.16));
--badge-highlight: inset 0 1px 0 light-dark(rgb(255 255 255 / 0.6), rgb(255 255 255 / 0.1));
--skeleton-shine: light-dark(rgb(255 255 255 / 0.85), rgb(255 255 255 / 0.12));
--skeleton-shine-angle: 115deg;
--control-choice-edge: light-dark(rgb(0 0 0 / 0.5), rgb(255 255 255 / 0.4));
--control-choice-edge-hover: light-dark(rgb(0 0 0 / 0.7), rgb(255 255 255 / 0.6));
--progress-sheen: linear-gradient(to bottom, transparent, rgb(255 255 255 / 0.22));
--progress-sweep-sheen: radial-gradient(50% 100% at 50% 0%, rgb(255 255 255 / 0.3), transparent);
}
}
@supports (backdrop-filter: blur(1px)) {
:root[data-mode="light"][data-theme="glass"] {
--control-rim-scale: 1;
--control-primary-border-opacity: 0%;
--control-primary-clip: padding-box;
}
@media (prefers-color-scheme: light) {
:root[data-theme="glass"]:not([data-mode]) {
--control-rim-scale: 1;
--control-primary-border-opacity: 0%;
--control-primary-clip: padding-box;
}
}
}
@media (prefers-reduced-transparency: reduce) {
:root[data-theme="glass"] {
--surface-fill: revert-layer;
--surface-blur: revert-layer;
--surface-saturate: revert-layer;
--surface-edge: revert-layer;
--surface-text-muted: revert-layer;
--color-text-subtle: revert-layer;
--surface-sheen: revert-layer;
--surface-bezel: revert-layer;
--surface-inset-fill: revert-layer;
--surface-inset-sheen: revert-layer;
--surface-inset-edge: revert-layer;
--surface-rim: revert-layer;
--surface-hotspot: revert-layer;
--surface-rim-content: revert-layer;
--backdrop-fill: revert-layer;
--layout-backdrop: revert-layer;
--popup-fill: revert-layer;
--popup-blur: revert-layer;
--card-fill: revert-layer;
--card-sheen: revert-layer;
--card-rim: revert-layer;
--card-hotspot: revert-layer;
--card-backdrop: revert-layer;
--card-edge: revert-layer;
--card-edge-hover: revert-layer;
--shadow-cast: revert-layer;
--shadow-halo: revert-layer;
--table-fill: revert-layer;
--table-blur: revert-layer;
--table-edge: revert-layer;
--control-fill: revert-layer;
--control-edge: revert-layer;
--control-pane-edge: revert-layer;
--control-primary-border-opacity: revert-layer;
--control-primary-clip: revert-layer;
--control-blur: revert-layer;
--control-saturate: revert-layer;
--control-sheen: revert-layer;
--control-rim: revert-layer;
--control-hotspot: revert-layer;
--control-hotspot-small: revert-layer;
--control-rim-content: revert-layer;
--color-accent: revert-layer;
--color-danger: revert-layer;
--color-success: revert-layer;
--color-warning: revert-layer;
--color-accent-fill: revert-layer;
--color-danger-fill: revert-layer;
--color-warning-fill: revert-layer;
--control-primary-opacity: revert-layer;
--field-fill: revert-layer;
--field-edge: revert-layer;
--field-edge-hover: revert-layer;
--field-shadow: revert-layer;
--toggle-shadow: revert-layer;
--toggle-groove: revert-layer;
--color-hairline: revert-layer;
--color-hairline-soft: revert-layer;
--hairline-lit: revert-layer;
--track-fill: revert-layer;
--track-shadow: revert-layer;
--track-value: revert-layer;
--track-value-image: revert-layer;
--thumb-fill: revert-layer;
--thumb-blur: revert-layer;
--thumb-sheen: revert-layer;
--thumb-edge: revert-layer;
--callout-tint-light: revert-layer;
--callout-tint-dark: revert-layer;
--callout-shadow: revert-layer;
--badge-highlight: revert-layer;
--skeleton-shine: revert-layer;
--skeleton-shine-angle: revert-layer;
--control-choice-edge: revert-layer;
--control-choice-edge-hover: revert-layer;
--progress-sheen: revert-layer;
--progress-sweep-sheen: revert-layer;
}
}
}
@layer theme.modern {
:root:not([data-theme="glass"], [data-theme="classic"]) {
--font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
--tracking-tight: -0.015em;
--tracking-tighter: -0.025em;
--radius-md: 0.375rem;
--radius-lg: 0.5rem;
--radius-xl: 0.75rem;
--color-canvas: light-dark(#f7f7f9, #0f0f11);
--color-raised: light-dark(#ffffff, #18181b);
--color-text: light-dark(#1c1d22, #ededf0);
--color-text-muted: light-dark(#5d5e6b, #9d9ea9);
--color-text-subtle: light-dark(#5d5e6b, #9d9ea9);
--color-border: light-dark(#e7e7ec, #2c2c32);
--color-hairline: light-dark(rgb(28 29 34 / 0.09), rgb(255 255 255 / 0.08));
--color-hairline-soft: light-dark(rgb(28 29 34 / 0.05), rgb(255 255 255 / 0.05));
--color-accent: light-dark(#236ac4, #6ea8f2);
--color-accent-fill: #2a76d2;
--color-neutral-fill: light-dark(#1c1d22, #3a3a42);
--weight-control: 500;
--control-fill: light-dark(#ffffff, #222227);
--control-edge: light-dark(#dcdce3, #37373f);
--control-pane-edge: var(--control-edge);
--nav-current-fill: color-mix(in oklab, var(--color-text) 7%, transparent);
--nav-current-edge: transparent;
--nav-current-shadow: none;
--shadow-card: none;
--shadow-card-hover: none;
--card-edge: var(--color-border);
--card-edge-hover: light-dark(#cfcfd7, #42424b);
--table-edge: var(--color-border);
--field-fill: light-dark(#ffffff, rgb(255 255 255 / 0.03));
--field-edge: var(--control-edge);
--field-edge-hover: light-dark(#b9b9c4, #52525c);
--field-shadow: none;
--track-fill: light-dark(#e3e3e8, #2c2c32);
--track-shadow: none;
--toggle-groove: light-dark(#efeff2, #111114);
--thumb-edge: 0 0 0 1px light-dark(#c4c4ce, rgb(0 0 0 / 0.5));
--toggle-shadow: inset 0 1px 2px light-dark(rgb(0 0 0 / 0.06), rgb(0 0 0 / 0.35));
--toggle-tint-dark: 12%;
--tree-muted: 1;
--tree-selected-tint: 8%;
--control-shadow: none;
--item-danger-tint: color-mix(in oklab, var(--color-text) 9%, transparent);
--item-danger-lit: 0%;
--color-danger: light-dark(#c91f3a, #ff6672);
--tooltip-fill: light-dark(#1f2024, #2e2e35);
--tooltip-ink: #f4f4f6;
--tooltip-edge: transparent;
--tooltip-shortcut: #a3a3ad;
--field-focus-offset: -1px;
--popup-scale: 0.92;
--backdrop-fill: light-dark(rgb(15 15 20 / 0.24), rgb(0 0 0 / 0.6));
--motion-enter: 200ms;
--motion-exit: 140ms;
--motion-quick: 100ms;
--motion-popup-enter: 150ms;
--motion-popup-exit: 100ms;
--ease-spring: var(--ease-out);
}
@media (pointer: fine) {
:root:not([data-theme="glass"], [data-theme="classic"]) {
--control-height: 2rem;
--item-height: 1.875rem;
--accordion-row: 2.25rem;
--table-row-height: 2.5rem;
--sidebar-pad: var(--space-2);
--sidebar-item-height: 1.75rem;
--sidebar-item-gap: var(--space-2);
--item-gap: 1px;
--chip-height: 1.5rem;
}
}
}
@layer web {
:where([data-section]) {
display: grid;
grid-template-columns: minmax(0, 1fr);
gap: var(--space-8);
padding: var(--space-section) var(--space-gutter);
background: var(--color-page);
}
:where([data-section][data-stage]) {
background:
radial-gradient(44rem 30rem at 8% 0%, var(--stage-indigo), transparent 70%),
radial-gradient(36rem 28rem at 96% 100%, var(--stage-marigold), transparent 70%),
var(--color-page);
}
:where([data-section="band"]) {
background: var(--color-band);
}
:where([data-section="bar"]) {
padding-block: var(--space-4);
}
:where([data-section] > :not(img, svg, picture)) {
inline-size: 100%;
max-inline-size: var(--width-page);
margin-inline: auto;
}
:where([data-eyebrow]) {
font-size: var(--text-sm);
line-height: var(--leading-sm);
font-weight: 600;
color: var(--color-indigo);
}
:where(mark) {
padding-inline: var(--space-1);
border-radius: var(--radius-xs);
background: var(--color-marigold);
color: var(--color-on-marigold);
box-decoration-break: clone;
-webkit-box-decoration-break: clone;
}
:where([data-width="prose"]) {
max-inline-size: var(--width-prose);
margin-inline: auto;
}
:where([data-width="wide"]) {
max-inline-size: var(--width-wide);
margin-inline: auto;
}
:where([data-width="page"]) {
max-inline-size: var(--width-page);
margin-inline: auto;
}
:where(beautiful-hero) {
display: grid;
justify-items: start;
gap: var(--space-4);
> :where(p) {
max-inline-size: var(--width-prose);
}
> :where(beautiful-row, [data-row]) {
margin-block-start: var(--space-4);
}
}
:where(beautiful-hero[data-align="center"]) {
justify-items: center;
text-align: center;
> :where(beautiful-row, [data-row]) {
justify-content: center;
}
}
:where(beautiful-row, [data-row]) {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: var(--space-3) var(--space-6);
}
:where(:is(beautiful-row, [data-row])[data-align="between"]) {
justify-content: space-between;
}
:where(beautiful-grid) {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr));
gap: var(--space-8) var(--space-6);
> :where(:not(beautiful-card, [data-card])) {
display: grid;
align-content: start;
gap: var(--space-2);
}
}
:where(beautiful-prose) {
display: block;
font-size: var(--text-lg);
line-height: var(--leading-lg);
> :where(* + *) {
margin-block-start: var(--space-5);
}
> :where(* + h2) {
margin-block-start: var(--space-12);
}
> :where(* + :is(h3, h4)) {
margin-block-start: var(--space-8);
}
> :where(:is(h2, h3, h4) + *) {
margin-block-start: var(--space-3);
}
> :where(* + :is(figure, pre, blockquote)),
> :where(:is(figure, pre, blockquote) + *) {
margin-block-start: var(--space-8);
}
> :where(h2:not([data-size])) {
font-size: var(--text-2xl);
line-height: var(--leading-2xl);
letter-spacing: var(--tracking-tight);
}
> :where(h3:not([data-size])) {
font-size: var(--text-xl);
line-height: var(--leading-xl);
}
> :where(ul, ol) {
padding-inline-start: var(--space-6);
}
:where(li + li) {
margin-block-start: var(--space-2);
}
> :where(blockquote) {
padding-inline-start: var(--space-5);
border-inline-start: 2px solid var(--color-indigo);
font-size: var(--text-xl);
line-height: var(--leading-xl);
}
> :where(pre) {
padding: var(--space-4);
overflow-x: auto;
border: 1px solid var(--color-border);
border-radius: var(--radius-lg);
background: var(--color-raised);
line-height: var(--leading-sm);
}
}
:where(figure[data-illustration]) {
display: grid;
gap: var(--space-3);
> :where(img, svg) {
display: block;
inline-size: 100%;
block-size: auto;
border-radius: var(--radius-xl);
background: var(--color-paper);
}
> :where(figcaption) {
max-inline-size: var(--width-prose);
font-size: var(--text-sm);
line-height: var(--leading-sm);
color: var(--color-text-muted);
}
}
:where(figure[data-illustration="spot"] > :is(img, svg)) {
inline-size: var(--illustration-spot);
border-radius: var(--radius-lg);
}
:where(svg[data-logo]) {
display: block;
block-size: var(--space-8);
inline-size: auto;
}
}
