/* Shared component appearance. Provider adapters own connection evidence. */
/* Auth error copy inherits the auth sans face; only brand marks use mono. */



/* AD-UI-01: connection actions stay within their card at narrow widths. */
.ad-button--shrink{box-sizing:border-box;min-inline-size:0;max-inline-size:100%;overflow-wrap:anywhere}
/* Recovery owns the general settings status while a receipt or conflict is open. */






/* Shared task surfaces: media, instructions and progress controls. */



[data-ad-controls] .ad-card--inset-media :is(img,video) { background:var(--bg); border-radius:calc(var(--radius) * 0.5); }
/* Recovery thumb: default. Keep the readable label and surface boundary. */

/* Tiktok creator: default. Keep the readable label and surface boundary. */

/* Product card: default. Keep the readable label and surface boundary. */
[data-ad-controls] :is(.ad-card--metadata,.ad-card--metadata-children small) { color:var(--muted); font-size:var(--text-sm); line-height:1.4; }
/* Inline error: error. Keep the readable label and surface boundary. */

/* Preview card: default. Keep the existing reading face and scale. */

/* Manage channels: default. Keep the existing content arrangement. */

/* Saved post: default. Keep the readable label and surface boundary. */

/* Step number: default. Keep the readable label and surface boundary. */
.ad-badge--wizard-number { border:var(--control-stroke) solid var(--border); border-radius:var(--radius-round); font-size:var(--text-sm); color:var(--muted); }
/* Step number: default. Keep the readable label and surface boundary. */

/* Connection settings: default. Keep the readable label and surface boundary. */



/* Step actions: default. Keep the readable label and surface boundary. */

/* Skip link: default. Keep the readable label and surface boundary. */
[data-ad-controls] .ad-nav-item--accent-fill { background:var(--accent); color:var(--bg); }
/* Is busy: loading. Retain the existing motion and visibility state. */
[data-ad-controls] .ad-button--busy::before { content:""; inline-size:16px; block-size:16px; border:var(--note-stroke) solid currentColor; border-right-color:transparent; border-radius:var(--radius-round); animation:ad-control-busy 1s linear infinite; }
/* Loading motion: shared waiting indicators retain their existing cycle. */
@keyframes ad-control-busy { /* To: default. Retain the existing motion and visibility state. */
to { transform:rotate(360deg); } }
/* Compact controls: shared labels retain their published narrow reading state. */
/* Connection layout: keep the status and its quiet action together on small screens. */
@media(max-width:600px) {
 /* Step actions: default. Keep the readable label and surface boundary. */
[data-ad-controls] .ad-card--mobile-rule { border-block-start:var(--control-stroke) solid var(--border); }
 /* Expanded: default. Keep the readable label and surface boundary. */

}



/* Shared image/evidence selectors adapt the existing canonical surfaces. */

/* Task kicker: default. Keep the readable label and surface boundary. */
[data-ad-controls] .ad-card--kicker { color:var(--accent); font:700 var(--text-2xs)/1.4 var(--mono); letter-spacing:.11em; text-transform:uppercase; }
/* Detail facts: default. Keep the existing reading face and scale. */
[data-ad-controls] :is(.ad-card--technical-term,.ad-card--technical-facts dt) { font:500 var(--text-2xs)/1.4 var(--mono); text-transform:uppercase; letter-spacing:.07em; }
/* Plan card: default. Keep the existing reading face and scale. */

/* Consent choice: default. Keep the existing reading face and scale. */

/* Attention: default. Keep the readable label and surface boundary. */

/* Empty state icon: default. Outline the illustration beside the first action. */
.ad-empty--icon { border:var(--control-stroke) solid var(--border); border-radius:var(--radius); color:var(--muted); }


/* Compact: default. Keep the readable label and surface boundary. */

/* Empty state: default. Keep the readable label and surface boundary. */



/* Card placeholder: loading. Show progress while content is being read. */
.ad-card--placeholder { border-radius:var(--radius); background:linear-gradient(90deg,var(--surface),var(--surface2),var(--surface)); background-size:200% 100%; animation:ad-skeleton 1.4s ease infinite; }
/* Loading motion: shared waiting indicators retain their existing cycle. */
@keyframes ad-skeleton { /* To: default. Keep the readable label and surface boundary. */
to { background-position:-200% 0; } }
/* Busy: loading. Keep the existing content arrangement. */


/* Attestation selected and success banner: share the accent boundary and fill. */
.ad-card--attestation:has(input:checked),
.ad-banner:where([data-tone=success]) { border-color:var(--accent); background:var(--accent-soft); }
/* Integrated surface adapters from CSS lane 1. */
/* Proposal for the NUC to merge into artdrop-components.css before rendering.
 * Shared legacy content adapters, never a second native control system.
 * Scope keeps these declarations from affecting sibling page migrations.
 */
/* css/ai-connections.css / workspace */
/* Copy connection row: default. Keep the readable label and surface boundary. */

/* Copy advanced: default. Keep the readable label and surface boundary. */

/* Copy advanced: default. Keep the readable label and surface boundary. */

/* css/copy-recovery.css / workspace */
/* Copy recovery list: default. Keep the readable label and surface boundary. */

/* import css/ux-app-tokens.css */


/* css/ux-review.css / workspace */
/* Task review panel: default. Keep the readable label and surface boundary. */

/* Task review panel: default. Keep the existing content arrangement. */

/* Task review panel: default. Keep the existing content arrangement. */

/* Task source rule: default. Keep the readable label and surface boundary. */

/* Task rule comparison: default. Keep the existing reading face and scale. */

/* Step5 upload zone: disabled. Keep the existing content arrangement. */


/* Task restore error: error. Keep the existing reading face and scale. */

/* Task voice rule choice: default. Keep the existing content arrangement. */

/* Step5 upload zone: error. Keep the readable label and surface boundary. */


/* Drop sub dim: default. Keep the existing reading face and scale. */

/* Task review panel: default. Keep the existing reading face and scale. */


/* Task source rule: default. Keep the existing reading face and scale. */






/* Edit field label: default. Keep the existing reading face and scale. */

/* Task voice rule choice: default. Keep the existing reading face and scale. */

/* Voice rule label: default. Keep the existing reading face and scale. */


/* Drop zone status: default. Retain the existing motion and visibility state. */

/* Drop status error: error. Keep the readable label and surface boundary. */

/* Drop status fading: default. Keep the existing content arrangement. */

/* Shopify review prompt: default. Keep the readable label and surface boundary. */



/* Shopify review link: default. Keep the readable label and surface boundary. */

/* Shopify review dismiss: default. Keep the readable label and surface boundary. */

/* css/wizard-steps.css / workspace */
/* Wizard steps help: default. Keep the readable label and surface boundary. */

/* Step num: default. Keep the existing reading face and scale. */

/* css/wizard-validation.css / workspace */

/* css/provider-tooltips.css / workspace */
/* Template info: default. Keep the readable label and surface boundary. */

/* Template info: hover. Keep the readable label and surface boundary. */

/* Template info: keyboard focus. Keep the readable label and surface boundary. */

/* Template tip: default. Keep the readable label and surface boundary. */


/* css/voice-rules-save.css / workspace */
/* Err: error. Keep the readable label and surface boundary. */

/* Ok: default. Keep the readable label and surface boundary. */

/* Voice save spinner: default. Retain the existing motion and visibility state. */

/* css/store-form-validation.css / workspace */


/* Stores modal: error. Keep the readable label and surface boundary. */

/* Copy connections: error. Keep the readable label and surface boundary. */

/* Task form success: default. Keep the readable label and surface boundary. */

/* css/upload-destination-review.css / workspace */
/* Task destination summary: default. Keep the readable label and surface boundary. */

/* Task destination receipts: default. Keep the readable label and surface boundary. */

/* Task destination summary: default. Keep the existing reading face and scale. */

/* Task destination receipts: default. Keep the existing reading face and scale. */

/* Task destination list: default. Keep the readable label and surface boundary. */

/* Task destination list: default. Keep the existing content arrangement. */

/* Task destination receipt: default. Keep the existing content arrangement. */


/* Task destination store: default. Keep the readable label and surface boundary. */

/* Task destination receipt: default. Keep the readable label and surface boundary. */

/* Task destination summary: default. Keep the existing content arrangement. */

/* Task destination receipts: default. Keep the existing content arrangement. */

/* Task destination list: default. Keep the existing content arrangement. */

/* Task destination receipt: default. Keep the existing reading face and scale. */

/* Task destination summary: default. Keep the existing reading face and scale. */

/* Task destination receipts: default. Keep the existing reading face and scale. */

/* css/mac-personal-connections.css / workspace */

/* Mac personal connection other: default. Keep the readable label and surface boundary. */

/* import css/coarse-pointer.css */


/* css/auto-utils.css / workspace */

/* Task content: default. Keep the readable label and surface boundary. */

/* Task content: default. Keep the existing reading face and scale. */

/* Task content: default. Keep the readable label and surface boundary. */


/* Task content: default. Keep the readable label and surface boundary. */

/* Task content: default. Retain the existing motion and visibility state. */




/* Task content: default. Keep the readable label and surface boundary. */


















/* css/app_sidebar.css / workspace */
/* Sidebar: default. Keep the readable label and surface boundary. */

/* Sidebar logo: default. Keep the readable label and surface boundary. */

/* Wordmark: default. Keep the readable label and surface boundary. */

/* Wordmark: default. Keep the readable label and surface boundary. */

/* Tm: default. Keep the readable label and surface boundary. */

/* Tm: default. Keep the existing reading face and scale. */

/* Version: default. Keep the readable label and surface boundary. */

/* License badge: default. Keep the readable label and surface boundary. */

/* Sidebar help link: default. Keep the readable label and surface boundary. */

/* Sidebar help link: hover. Keep the existing content arrangement. */

/* Sidebar legal: default. Keep the readable label and surface boundary. */

/* Sidebar legal: default. Keep the readable label and surface boundary. */

/* Sidebar legal: hover. Keep the readable label and surface boundary. */

/* Sidebar user: default. Keep the readable label and surface boundary. */

/* Sidebar user icon: default. Keep the readable label and surface boundary. */

/* Sidebar user email: default. Keep the readable label and surface boundary. */

/* Sidebar logout: default. Retain the existing motion and visibility state. */

/* Sidebar logout: hover. Keep the readable label and surface boundary. */

/* Sidebar logout icon: default. Keep the existing content arrangement. */


/* css/chart-widths.css / workspace *//* css/copy-import-review.css / workspace */


/* css/copy-credit-purchase.css / workspace */
/* Drop credit review: default. Keep the readable label and surface boundary. */

/* Drop credit review: default. Keep the readable label and surface boundary. */

/* css/billing-clarity.css / workspace */
/* embedded workspace 1 */
/* Shared content: default. Keep the readable label and surface boundary. */


/* Page header: default. Keep the existing reading face and scale. */

/* Page header: default. Keep the readable label and surface boundary. */


/* Card: default. Keep the readable label and surface boundary. */

/* Field: default. Keep the readable label and surface boundary. */

/* Field label: default. Keep the readable label and surface boundary. */

/* Wizard error: error. Keep the readable label and surface boundary. */

/* Wizard error: error. Keep the readable label and surface boundary. */


/* Dot: default. Keep the readable label and surface boundary. */

/* Dot green: default. Keep the readable label and surface boundary. */

/* Dot yellow: default. Keep the readable label and surface boundary. */

/* Dot red: default. Keep the readable label and surface boundary. */

/* Dot grey: default. Keep the readable label and surface boundary. */

/* Expiry warn bar: default. Keep the readable label and surface boundary. */


/* Status text: default. Keep the readable label and surface boundary. */

/* Running: default. Keep the readable label and surface boundary. */

/* Error: error. Keep the readable label and surface boundary. */

/* Drag over: default. Keep the readable label and surface boundary. */

/* Card illustration: upload guidance retains its accent symbol and display size. */
.ad-card--illustration { font-size:var(--text-3xl); color:var(--accent); }
/* Card medium heading: file selection retains its quiet weight and strong ink. */
.ad-card--heading-medium { font-size:var(--text-lg); color:var(--white); }





/* Upload item: default. Retain the existing motion and visibility state. */

/* Q thumb: default. Keep the readable label and surface boundary. */


/* Q name: default. Keep the readable label and surface boundary. */

/* Q sep: default. Keep the readable label and surface boundary. */

/* Q status: default. Keep the existing reading face and scale. */

/* Upload progress row: default. Keep the existing content arrangement. */

/* Done: default. Keep the readable label and surface boundary. */

/* Error: error. Keep the readable label and surface boundary. */

/* Waiting: default. Keep the readable label and surface boundary. */

/* Log viewer: default. Keep the readable label and surface boundary. */



/* Warn: default. Keep the readable label and surface boundary. */

/* Error: error. Keep the readable label and surface boundary. */

/* Ok: default. Keep the readable label and surface boundary. */


/* Live: default. Keep the readable label and surface boundary. */

/* Reconnecting: default. Keep the readable label and surface boundary. */



/* Thumb: default. Keep the readable label and surface boundary. */

/* Ptitle: default. Keep the existing reading face and scale. */



/* Is editing: default. Keep the readable label and surface boundary. */


/* Edit field label: default. Keep the readable label and surface boundary. */

/* Edit field hint: default. Keep the readable label and surface boundary. */





/* Step num: default. Keep the existing reading face and scale. */


/* Wizard lead: default. Keep the readable label and surface boundary. */

/* Wizard intro p: default. Keep the readable label and surface boundary. */


/* Why note: default. Keep the readable label and surface boundary. */

/* Field hint: default. Keep the readable label and surface boundary. */

/* Field hint: default. Keep the readable label and surface boundary. */

/* Field hint: default. Keep the readable label and surface boundary. */

/* Field hint: default. Keep the readable label and surface boundary. */

/* Provider affiliate link: default. Keep the readable label and surface boundary. */

/* Provider affiliate link: default. Keep the readable label and surface boundary. */

/* A: default. Keep the existing content arrangement. */

/* A hover: hover. Keep the existing content arrangement. */


/* Req: default. Keep the readable label and surface boundary. */

/* Badge optional: default. Keep the readable label and surface boundary. */

/* Req: default. Keep the existing content arrangement. */

/* Badge optional: default. Keep the existing content arrangement. */

/* Badge blue: default. Keep the readable label and surface boundary. */





/* Hint md loose: default. Keep the readable label and surface boundary. */


/* Ok: default. Keep the readable label and surface boundary. */

/* Err: error. Keep the readable label and surface boundary. */



/* Text muted: default. Keep the readable label and surface boundary. */

/* Text muted: hover. Keep the readable label and surface boundary. */










/* Copy warning banner: default. Keep the readable label and surface boundary. */

/* Demo banner: default. Keep the readable label and surface boundary. */

/* Demo banner active: selected. Keep the readable label and surface boundary. */

/* Demo banner expired: default. Keep the readable label and surface boundary. */

/* Demo banner text: default. Keep the readable label and surface boundary. */

/* Demo banner text: default. Keep the existing reading face and scale. */





/* Unsaved modal overlay: default. Keep the readable label and surface boundary. */




/* Conn row: default. Keep the readable label and surface boundary. */



/* Ok: default. Keep the readable label and surface boundary. */

/* Err: error. Keep the readable label and surface boundary. */




/* Toggle slider: default. Retain the existing motion and visibility state. */

/* Toggle slider: default. Retain the existing motion and visibility state. */

/* Toggle slider: selected. Keep the readable label and surface boundary. */

/* Toggle slider: selected. Keep the readable label and surface boundary. */


/* Copy review card: default. Keep the readable label and surface boundary. */

/* Copy review target: default. Keep the readable label and surface boundary. */

/* Copy review target: default. Keep the readable label and surface boundary. */

/* Disabled: disabled. Retain the existing motion and visibility state. */

/* Service card body: default. Retain the existing motion and visibility state. */


/* Icon: default. Keep the existing reading face and scale. */

/* License hero: default. Keep the existing reading face and scale. */

/* License hero: default. Keep the readable label and surface boundary. */


/* Toast: default. Retain the existing motion and visibility state. */

/* Show: default. Keep the existing content arrangement. */

/* Ok: default. Keep the readable label and surface boundary. */

/* Err: error. Keep the readable label and surface boundary. */

/* Warn: default. Keep the readable label and surface boundary. */

/* Divider: default. Keep the readable label and surface boundary. */


/* Loading: loading. Keep the readable label and surface boundary. */

/* Ok: default. Keep the readable label and surface boundary. */

/* Err: error. Keep the readable label and surface boundary. */


/* Tpl label: default. Keep the readable label and surface boundary. */



/* Quick save bar: default. Keep the readable label and surface boundary. */



/* Log viewer full: default. Keep the readable label and surface boundary. */

/* Webkit scrollbar track: default. Keep the readable label and surface boundary. */

/* Webkit scrollbar thumb: default. Keep the readable label and surface boundary. */
















/* Template sub label: default. Keep the readable label and surface boundary. */

/* Template modal overlay: default. Keep the readable label and surface boundary. */




/* Done: default. Keep the readable label and surface boundary. */

/* Template step num: default. Keep the readable label and surface boundary. */

/* Template step num: selected. Keep the readable label and surface boundary. */

/* Template step num: default. Keep the readable label and surface boundary. */

/* Template step sep: default. Keep the readable label and surface boundary. */

/* Template step sep: default. Keep the readable label and surface boundary. */


/* Template modal subtitle: default. Keep the readable label and surface boundary. */






/* Template selection tag: default. Keep the readable label and surface boundary. */

/* Template ph tag: default. Keep the readable label and surface boundary. */


/* Template variant row: default. Keep the readable label and surface boundary. */

/* Template variant row: hover. Keep the readable label and surface boundary. */


/* Template v price: default. Keep the existing reading face and scale. */

/* Template picker: default. Keep the existing reading face and scale. */

/* Template modal title: default. Keep the existing reading face and scale. */

/* Template modal subtitle: default. Keep the readable label and surface boundary. */

/* Template field: default. Keep the readable label and surface boundary. */






















/* Template modal footer: default. Keep the readable label and surface boundary. */



/* Template advanced: default. Keep the readable label and surface boundary. */

/* Template advanced: hover. Keep the readable label and surface boundary. */

/* Template advanced: default. Retain the existing motion and visibility state. */

/* Template fabric panel: default. Keep the readable label and surface boundary. */

/* Template fabric preview img: default. Keep the readable label and surface boundary. */

/* Template spinner: default. Retain the existing motion and visibility state. */

/* Voice spinner: default. Retain the existing motion and visibility state. */

/* Voice spinner lg: default. Retain the existing motion and visibility state. */

/* Voice spinner: default. Keep the readable label and surface boundary. */

/* Voice msg busy: loading. Keep the readable label and surface boundary. */


/* Voice msg attachment: default. Keep the readable label and surface boundary. */

/* Voice msg thumb: default. Keep the readable label and surface boundary. */


/* Copy assist preview: default. Keep the readable label and surface boundary. */

/* Copy pf label: default. Keep the readable label and surface boundary. */

/* Copy pf value: default. Keep the readable label and surface boundary. */


/* Voice source tabs: default. Keep the readable label and surface boundary. */

/* Voice upload zone: default. Retain the existing motion and visibility state. */

/* Voice upload zone: hover. Keep the readable label and surface boundary. */

/* Drag over: default. Keep the readable label and surface boundary. */


/* Card toggle: hover. Keep the readable label and surface boundary. */

/* Card toggle icon: default. Retain the existing motion and visibility state. */

/* Card collapsible: default. Retain the existing motion and visibility state. */





/* Pending state label: loading. Keep the existing reading face and scale. */

/* Pending title: loading. Keep the existing content arrangement. */

/* Pending sub: loading. Keep the existing content arrangement. */



/* Voice chat image: default. Keep the readable label and surface boundary. */

/* Voice msg: default. Keep the readable label and surface boundary. */

/* Voice msg role: default. Keep the readable label and surface boundary. */

/* Voice msg ai: default. Keep the readable label and surface boundary. */

/* Voice msg user: default. Keep the readable label and surface boundary. */

/* Voice msg: default. Keep the readable label and surface boundary. */

/* Voice msg tag: default. Keep the readable label and surface boundary. */

/* Voice msg copy label: default. Keep the readable label and surface boundary. */

/* Voice drop zone: default. Retain the existing motion and visibility state. */

/* Voice drop zone: hover. Keep the readable label and surface boundary. */

/* Drag over: default. Keep the readable label and surface boundary. */



/* Voice preview img: default. Keep the readable label and surface boundary. */

/* Voice label: default. Keep the readable label and surface boundary. */


/* Voice col label: default. Keep the readable label and surface boundary. */

/* Voice copy text: default. Keep the readable label and surface boundary. */

/* Voice copy sm: default. Keep the readable label and surface boundary. */

/* Voice diff add: default. Keep the readable label and surface boundary. */



/* Voice rule row: default. Keep the readable label and surface boundary. */

/* Voice rule label: default. Keep the readable label and surface boundary. */


/* Doc upload zone: default. Retain the existing motion and visibility state. */

/* Doc upload zone: hover. Keep the readable label and surface boundary. */

/* Drag over: default. Keep the readable label and surface boundary. */


/* Doc file size: default. Keep the readable label and surface boundary. */

/* Sr only: default. Keep the readable label and surface boundary. */








/* Starter packs: default. Keep the readable label and surface boundary. */





/* Starter pack type: default. Keep the readable label and surface boundary. */





























































































































































/* Analytics score num: default. Keep the existing reading face and scale. */

/* Healthy: default. Keep the readable label and surface boundary. */

/* Good: default. Keep the readable label and surface boundary. */

/* Poor: default. Keep the readable label and surface boundary. */





/* Analytics bar track: default. Keep the readable label and surface boundary. */

/* Analytics bar fill: default. Retain the existing motion and visibility state. */

/* Warn: default. Keep the readable label and surface boundary. */

/* Danger: error. Keep the readable label and surface boundary. */





/* Analytics kpi value: default. Keep the readable label and surface boundary. */

/* Analytics kpi label: default. Keep the readable label and surface boundary. */

/* Analytics section label: default. Keep the readable label and surface boundary. */


/* Analytics top product: default. Keep the readable label and surface boundary. */




/* Analytics type table: default. Keep the readable label and surface boundary. */

/* Analytics type table: default. Keep the readable label and surface boundary. */

/* Analytics type table: default. Keep the readable label and surface boundary. */

/* Analytics type table: default. Keep the readable label and surface boundary. */



/* Analytics bucket label: default. Keep the readable label and surface boundary. */

/* Stars: default. Keep the readable label and surface boundary. */

/* Dead: default. Keep the readable label and surface boundary. */

/* Price: default. Keep the readable label and surface boundary. */


/* Analytics product row: default. Keep the readable label and surface boundary. */



/* Analytics show more: hover. Keep the existing content arrangement. */


/* Analytics price signal: default. Keep the readable label and surface boundary. */






/* Analytics rec item: default. Keep the readable label and surface boundary. */

/* Analytics rec dot: default. Keep the readable label and surface boundary. */

/* High: default. Keep the readable label and surface boundary. */

/* Medium: default. Keep the readable label and surface boundary. */

/* Low: default. Keep the readable label and surface boundary. */

/* Analytics rec priority: default. Keep the existing reading face and scale. */

/* High: default. Keep the readable label and surface boundary. */

/* Medium: default. Keep the readable label and surface boundary. */

/* Low: default. Keep the readable label and surface boundary. */












/* Analytics no shopify: default. Keep the readable label and surface boundary. */














/* Voice rule label: default. Keep the readable label and surface boundary. */



/* Skip link: default. Keep the readable label and surface boundary. */



























/* Key detect toast: default. Keep the readable label and surface boundary. */

/* Key detect toast: default. Keep the readable label and surface boundary. */

/* Assistant badge: default. Retain the existing motion and visibility state. */

/* Visible: default. Keep the existing content arrangement. */

/* Assistant panel: default. Retain the existing motion and visibility state. */


/* Assistant title: default. Keep the readable label and surface boundary. */

/* Assistant context pill: default. Keep the readable label and surface boundary. */

/* Assistant messages: default. Keep the existing content arrangement. */

/* Assistant messages: default. Keep the readable label and surface boundary. */

/* Assistant messages: default. Keep the readable label and surface boundary. */

/* Assistant msg: default. Keep the readable label and surface boundary. */

/* User: default. Keep the readable label and surface boundary. */

/* Bot: default. Keep the readable label and surface boundary. */

/* Streaming: default. Keep the existing content arrangement. */


/* Assistant typing: default. Keep the readable label and surface boundary. */

/* Assistant typing: default. Keep the readable label and surface boundary. */

/* Assistant typing: default. Keep the existing content arrangement. */

/* Assistant typing: default. Keep the existing content arrangement. */




/* First drop overlay: default. Keep the readable label and surface boundary. */

/* First drop card: default. Keep the readable label and surface boundary. */

/* First drop card: default. Keep the readable label and surface boundary. */

/* First drop step: default. Keep the readable label and surface boundary. */

/* First drop step: default. Keep the readable label and surface boundary. */

/* First drop step num: default. Keep the readable label and surface boundary. */

/* First drop divider: default. Keep the readable label and surface boundary. */





/* Update banner: default. Keep the readable label and surface boundary. */

/* Update banner: default. Keep the readable label and surface boundary. */


























/* Shopify connection details: default. Keep the existing reading face and scale. */

/* Shopify setup guide: default. Keep the existing reading face and scale. */

/* Shopify connection details: keyboard focus. Keep the readable label and surface boundary. */

/* Shopify setup guide: keyboard focus. Keep the readable label and surface boundary. */

/* Shopify manual setup: default. Keep the readable label and surface boundary. */

/* Shopify manual setup: default. Keep the readable label and surface boundary. */

/* Shopify setup guide: default. Keep the readable label and surface boundary. */

/* Shopify setup values: default. Keep the existing reading face and scale. */

/* Shopify setup values: default. Keep the existing content arrangement. */


/* Pinterest shopping summary: default. Keep the existing reading face and scale. */


/* Pinterest shopping flow: default. Keep the readable label and surface boundary. */


/* Pinterest shopping advanced: default. Keep the readable label and surface boundary. */

/* Pinterest shopping advanced: default. Keep the readable label and surface boundary. */


/* Bp item row: default. Keep the readable label and surface boundary. */


/* Bp item status: default. Keep the readable label and surface boundary. */

/* Success: default. Keep the readable label and surface boundary. */

/* Failed: error. Keep the readable label and surface boundary. */

/* Pending: loading. Keep the readable label and surface boundary. */

/* Processing: default. Keep the readable label and surface boundary. */

/* Skipped: default. Keep the readable label and surface boundary. */

/* Spinner sm: default. Retain the existing motion and visibility state. */

/* Store row: default. Keep the readable label and surface boundary. */


/* Store line item: default. Keep the readable label and surface boundary. */

/* Tiktok connect summary: default. Keep the readable label and surface boundary. */


/* Tiktok warehouse needed: default. Keep the readable label and surface boundary. */

/* Tiktok warehouse needed: default. Keep the readable label and surface boundary. */

/* Tiktok warehouse needed: keyboard focus. Keep the readable label and surface boundary. */

/* Stores routing field: default. Keep the existing reading face and scale. */

/* Field label: default. Keep the existing reading face and scale. */


/* Stores publish option: selected. Keep the readable label and surface boundary. */

/* Stores publish store: default. Keep the existing reading face and scale. */

/* Stores publish store: disabled. Keep the existing content arrangement. */

/* embedded workspace 2 */
/* Storage picker: default. Keep the readable label and surface boundary. */


/* embedded workspace 3 */


/* css/affiliate-stats.css / affiliate */

















/* css/chart-widths.css / kpis */


/* embedded kpis 1 */



















/* css/oauth-error.css / oauth-error */






/* css/oauth-token.css / oauth-token */










/* import css/fonts.css */


/* import css/site-base.css */











/* site.css / error */


/* css/auto-utils.css / error */



/* css/purchase-return.css / checkout */



















/* embedded checkout-unverified 1 */




/* The existing drag event uses a class, so adapt it to the shared upload. */

/* Card drop target: a native action retains its recessed surface and field ink. */
.ad-card--drop-target[role=button] { border-color:var(--control-border); background:var(--surface2); color:var(--control-text); }/* Shared adapters for existing recovery, navigation and destructive names.
 * Native buttons and fields always retain the canonical owner above. */



/* Template info: default. Keep the readable label and surface boundary. */

/* Template info: hover. Keep the readable label and surface boundary. */

/* Template info: disabled. Keep the readable label and surface boundary. */

/* Stores publish option: selected. Keep the readable label and surface boundary. */

/* Starter pack type: default. Keep the readable label and surface boundary. */

/* Cfg error: error. Keep the readable label and surface boundary. */



/* Repeated choices and connection utilities are secondary. The shared
 * progression, first review and store-save action retain primary emphasis.
 * Keep legacy generated class strings stable for the English lock. */

/* Button primary: hover. Keep the readable label and surface boundary. */



/* Merchant theme: use the validated palette and type supplied by its renderer. */
[data-ad-storefront="templates"] {
  background:var(--artist-bg); color:var(--artist-text); font-family:var(--font-body);
}
/* Shared content: default. Keep the readable label and surface boundary. */
[data-ad-storefront="engine"] {
  background:var(--sf-bg); color:var(--sf-text); font-family:var(--sf-body);
}
/* Shared content: default. Keep the existing reading face and scale. */
[data-ad-storefront] :is(h1,h2,h3,h4,h5,h6) { font-family:var(--font-heading,var(--sf-heading)); }
/* Store footer: default. Keep the readable label and surface boundary. */

/* Store header: default. Keep the readable label and surface boundary. */
[data-ad-storefront] .ad-card--merchant-rule-end { border-bottom:var(--control-stroke) solid color-mix(in srgb,var(--artist-text,var(--sf-text)) 20%,transparent); }
/* Store footer: default. Keep the readable label and surface boundary. */
[data-ad-storefront] .ad-card--merchant-rule-start { border-top:var(--control-stroke) solid color-mix(in srgb,var(--artist-text,var(--sf-text)) 20%,transparent); }
/* Store footer: default. Keep the readable label and surface boundary. */
[data-ad-storefront] :is(.ad-card--merchant-ink,.ad-card--merchant-links>a:not(.ad-button),.ad-card--merchant-rule-start a) { color:var(--artist-text,var(--sf-text)); }
/* Shared store card: default. Keep the readable label and surface boundary. */

/* Shared store card: hover. Keep the readable label and surface boundary. */

/* Store card__image wrap: default. Keep the readable label and surface boundary. */

/* Store card__price: default. Keep the readable label and surface boundary. */

/* Store cart summary__total: default. Keep the existing reading face and scale. */

/* Store card__price  compare: default. Keep the readable label and surface boundary. */
.ad-card--struck { text-decoration:line-through; }
/* Store card__body: default. Keep the existing content arrangement. */

/* Store product__main image: default. Keep the readable label and surface boundary. */

/* Product tag: default. Keep the readable label and surface boundary. */

/* Store admin__section: default. Keep the readable label and surface boundary. */

/* Summary row: default. Keep the readable label and surface boundary. */

/* Store toast: default. Keep the readable label and surface boundary. */
[data-ad-controls] .ad-dialog--scrim { background:var(--color-modal-scrim); }
/* Store toast: default. Keep the readable label and surface boundary. */

/* Store toast  visible: default. Keep the existing content arrangement. */
[data-ad-controls] .ad-banner--visibility-toggle:not(.ad-banner--toast-visible),
.ad-card--calm-connection .ad-button[aria-hidden=true],
.ad-card--connection-disconnect:has(.ad-card--connection-confirm:not([hidden])) > [data-disconnect],
.ad-card--calm-connection .ad-card--connection-reason:empty { visibility:hidden; }
/* Theme toggle: default. Keep the existing content arrangement. */

/* Store hero: default. Keep the readable label and surface boundary. */

/* Hero bg: default. Keep the readable label and surface boundary. */

/* Store hero__bg: default. Keep the existing content arrangement. */
.ad-card--dim-media { filter:brightness(.4); }
/* Store hero__content: default. Keep the existing content arrangement. */

/* Store header__nav  open: default. Keep the readable label and surface boundary. */

/* Store menu toggle: default. Keep the existing content arrangement. */

/* Nav toggle: default. Keep the readable label and surface boundary. */
[data-ad-controls] .ad-button--menu-lines span { display:block; width:20px; height:2px; background:currentColor; }
/* Theme toggle: default. Keep the existing content arrangement. */

/* Quick view btn: default. Keep the existing content arrangement. */

/* Gallery main: default. Keep the existing content arrangement. */
[data-ad-controls] .ad-card--zoomable { cursor:zoom-in; }
/* Zoomed: default. Keep the existing content arrangement. */
[data-ad-controls] .ad-card--zoomable.ad-card--zoomed { cursor:zoom-out; }
/* Zoomed: default. Retain the existing motion and visibility state. */
[data-ad-controls] .ad-card--zoomable.ad-card--zoomed img { transform:scale(2); }
/* Store product__thumb  active: selected. Keep the readable label and surface boundary. */
[data-ad-controls] .ad-card--outlined-choice { outline:var(--note-stroke) solid var(--accent); outline-offset:calc(var(--sp-xs) * 0.5); }
/* Store variants__label: default. Keep the existing reading face and scale. */

/* Store admin__color swatch: default. Keep the readable label and surface boundary. */

/* Dragover: default. Keep the existing content arrangement. */

/* Dragover: default. Keep the readable label and surface boundary. */

/* Save status: default. Keep the readable label and surface boundary. */

/* Save status: error. Keep the readable label and surface boundary. */

/* Icon: default. Keep the existing reading face and scale. */

/* Card amount: confirmed totals retain their strong success reading tone. */
.ad-card--amount { font-size:var(--text-2xl); font-weight:var(--weight-strong); color:var(--success); }

/* Light artist pages still need a dark surface under white outline labels.
 * Primary, selected, hover and disabled selectors retain their higher specificity. */



/* Success icon: default. Keep the readable label and surface boundary. */

/* Success icon: default. Keep the existing content arrangement. */

/* Store header__cart count: default. Keep the readable label and surface boundary. */



/* Integrated surface adapters from CSS lane 3. */
/* Proposed additions to static/css/artdrop-components.css. Merge into the
 * shared owner before visual acceptance. No page should link this proposal. */

/* Existing auth and consent renderer hooks, including dynamically inserted
 * cookie markup, consume the same shared banner and action contract. */

/* Consent actions stay secondary when a view already has its primary task. */

/* Cookie banner link: default. Keep the readable label and surface boundary. */

/* Explicit spinners are used by forms whose aria-busy state lives on the
 * form. Button-owned aria-busy continues to use the existing shared spinner. */

/* Is error: error. Keep the readable label and surface boundary. */

/* Is success: default. Keep the readable label and surface boundary. */

/* Code field and card count: exact identifiers share the same mono face. */

/* Wordmarks retain the published DM Mono exception while instructions,
 * headings and controls inherit the common sans face. Existing footer HTML
 * is reused across the app, so its brand hooks are shared adapters. */

/* Tm: default. Keep the readable label and surface boundary. */

/* Tm: default. Keep the existing reading face and scale. */
[data-ad-controls] :is(.ad-nav-item--brand,.ad-nav-item--wordmark) :where(.ad-nav-item--trademark) { font-size:var(--brand-mark-size); }
/* Help list: default. Keep the existing content arrangement. */

/* Card arrow list: each instruction keeps its visible accent marker. */
.ad-card--arrow-list :where(li)::before { content:'\2192'; color:var(--accent); }
/* Login divider: default. Keep the readable label and surface boundary. */
[data-ad-controls] .ad-card--split-rule::before,
[data-ad-controls] .ad-card--split-rule::after { content:''; border-block-start:var(--control-stroke) solid var(--control-border); }
/* Divider: default. Keep the readable label and surface boundary. */

/* Read-only purchase receipts reuse the panel and step-number components.
 * The surrounding document layout remains page-owned. */






/* System colors: shared controls retain readable labels and visible boundaries. */
@media (forced-colors:active) {
  /* Cookie banner: system colors. Keep the readable label and surface boundary. */

  /* Is success: system colors. Keep the readable label and surface boundary. */
[data-ad-controls] .ad-banner--status:is(.ad-card--connection-status:where([data-status-tone=bad]),
.ad-card--danger-ink,.ad-card--success) { color:CanvasText; }
  /* Divider: system colors. Keep the readable label and surface boundary. */

}
/* Existing stable English locators refer to these class hooks. Fold these
 * aliases into the existing panel, pill and notice selector lists. */

/* User chip: default. Keep the readable label and surface boundary. */



/* Card: error. Keep the readable label and surface boundary. */


/* Existing receipt hooks fold into the shared panel and numbered-step rules. */

/* Step dot: default. Keep the readable label and surface boundary. */

/* Card confirmation: the completion symbol follows its shared accent. */
.ad-card--confirmation > :where(svg) { stroke:var(--accent); }
/* Step dot: default. Keep the existing reading face and scale. */




/* Flat card: unframed sections share the same square, borderless surface. */
.ad-card--flat { border:0; border-radius:0; }
/* Bare control and dialog: transparent wrappers have no frame or shadow. */
.ad-button--bare,.ad-dialog--bare { border:0; border-radius:0; box-shadow:none; background:transparent; }
/* Native control reset: custom grid buttons retain their authored appearance. */

/* Adapters from static/css/ux-review.css. */

/* Task review panel: default. Keep the existing content arrangement. */

/* Task review artwork: default. Keep the existing content arrangement. */

/* Task review panel: keyboard focus. Keep the readable label and surface boundary. */


/* Task source rule: default. Keep the readable label and surface boundary. */

/* Task rule comparison: default. Keep the existing reading face and scale. */

/* Step5 ai preview: keyboard focus. Keep the readable label and surface boundary. */

/* Task source files: default. Keep the existing content arrangement. */

/* Step5 upload zone: disabled. Keep the existing content arrangement. */

/* Copy rules heading: keyboard focus. Keep the readable label and surface boundary. */


/* Task restore error: error. Keep the existing reading face and scale. */

/* Edit input: error. Keep the readable label and surface boundary. */

/* Task voice rule choice: default. Keep the existing content arrangement. */

/* Task voice rule choice: keyboard focus. Keep the readable label and surface boundary. */

/* Copy candidate fields: keyboard focus. Keep the readable label and surface boundary. */

/* Step5 upload zone: error. Keep the readable label and surface boundary. */


/* Template tpl rows wizard: default. Keep the readable label and surface boundary. */

/* Tpl header label: default. Keep the readable label and surface boundary. */

/* Drop sub dim: default. Keep the existing reading face and scale. */

/* Drop zone locked: default. Keep the existing content arrangement. */


/* Drop zone status: default. Retain the existing motion and visibility state. */

/* Drop status error: error. Keep the readable label and surface boundary. */

/* Drop status fading: default. Keep the existing content arrangement. */

/* Shopify review prompt: default. Keep the readable label and surface boundary. */

/* Shopify review title: default. Keep the readable label and surface boundary. */

/* Shopify review copy: default. Keep the readable label and surface boundary. */

/* Shopify review link: default. Keep the readable label and surface boundary. */

/* Shopify review dismiss: default. Keep the readable label and surface boundary. */

/* Adapters from static/i18n_app.css. */




/* Shared i18n review status: default. Keep the readable label and surface boundary. */

/* Shared i18n review error: error. Keep the readable label and surface boundary. */

/* Shared i18n spinner: default. Retain the existing motion and visibility state. */

/* Loading motion: shared waiting indicators retain their existing cycle. */
@keyframes ad-i18n-spin { /* To: default. Retain the existing motion and visibility state. */
to { transform: rotate(360deg); } }
/* Reduced motion: shared loading controls stop continuous animation. */

/* Shared i18n beta notice: default. Keep the readable label and surface boundary. */

/* Shared i18n beta notice: default. Keep the readable label and surface boundary. */

@media (max-width: 600px) {
/* Shared i18n beta notice: default. Keep the readable label and surface boundary. */

}
/* Adapters from static/css/founder_images.css. */
























/* Adapters from static/css/store-form-validation.css. */


/* Copy connections: error. Keep the readable label and surface boundary. */

/* Task store feedback: keyboard focus. Keep the readable label and surface boundary. */

/* Task form success: default. Keep the readable label and surface boundary. */


/* Adapters from static/css/table-exports.css. */






/* Adapters from static/css/ai-connections.css. */

/* Copy advanced: default. Keep the readable label and surface boundary. */

/* Copy advanced: default. Keep the readable label and surface boundary. */
/* Adapters from static/css/copy-import-review.css. */


/* Adapters from static/css/pinterest_reviewed_publishing.css. */


/* Pinterest direct preview: default. Keep the readable label and surface boundary. */

/* Pinterest direct preview: default. Keep the readable label and surface boundary. */

/* Pinterest direct preview copy: default. Keep the readable label and surface boundary. */


/* Pinterest direct board retry: default. Keep the readable label and surface boundary. */

/* Why note: default. Keep the readable label and surface boundary. */

/* Pinterest direct card: error. Keep the readable label and surface boundary. */

/* Field error: error. Keep the readable label and surface boundary. */

/* Adapters from static/css/processing-status.css. */





















/* Adapters from static/css/affiliate-stats.css. */

















/* Adapters from static/css/feedback.css. */

/* Shared feedback: default. Keep the existing reading face and scale. */

/* Shared feedback: error. Keep the readable label and surface boundary. */

/* Shared feedback error: error. Keep the readable label and surface boundary. */

/* Shared feedback success: default. Keep the readable label and surface boundary. */
[data-ad-controls] .ad-card--status-ink[data-state=success],
[data-ad-controls] .ad-card--positive-ink,
.ad-card--positive-ink,
.ad-banner--success-text { color: var(--success); }
/* Dialog and button focus rings: keep the accent outline around keyboard targets. */
:is(.ad-dialog--focus-ring,.ad-button--focus-ring):where(:focus-visible), .ad-dialog--focus-ring :where(:focus-visible) { outline:var(--status-stroke) solid var(--accent); outline-offset:calc(var(--sp-xs) * 0.75); }
/* Button progress ring: retain the narrow circular edge and one second cycle. */

/* Progress rings retain the authored narrow edge. */
.ad-button--progress-ring { border:var(--note-stroke) solid currentColor; border-right-color:transparent; border-radius:var(--radius-round); animation:ad-feedback-spin 1s linear infinite; }
/* Faster waiting indicators retain their original short cycle. */
.ad-button--quick-spin { animation:ad-i18n-spin 800ms linear infinite; }
/* Shared feedback: default. Keep the existing content arrangement. */

@keyframes ad-feedback-spin {/* To: default. Retain the existing motion and visibility state. */
to{transform:rotate(360deg)}}
/* Reduced motion: shared loading controls stop continuous animation. */
@media(prefers-reduced-motion:reduce) {
/* Shared feedback spinner: reduced motion. Retain the existing motion and visibility state. */
.ad-button--spinner,
.ad-button--quick-spin,
[data-ad-controls] .ad-button--busy::before,
.ad-card--placeholder,
.ad-button--progress-ring { animation: none; }
}
/* Adapters from static/css/mac-personal-connections.css. */

/* Mac personal connection other: default. Keep the readable label and surface boundary. */

/* Adapters from static/css/voice-rules-save.css. */

/* Err: error. Keep the readable label and surface boundary. */

/* Ok: default. Keep the readable label and surface boundary. */

/* Voice save spinner: default. Retain the existing motion and visibility state. */

@keyframes voice-rules-save-spin { /* To: default. Retain the existing motion and visibility state. */
to { transform: rotate(360deg); } }

/* Adapters from static/css/catalog-maintenance.css. */





/* Adapters from static/css/coarse-pointer.css. */

/* Adapters from static/css/copy-recovery.css. */

/* Copy recovery list: default. Keep the readable label and surface boundary. */

/* Adapters from static/css/upload-destination-review.css. */

/* Task destination receipts: default. Keep the existing reading face and scale. */

/* Task destination list: default. Keep the readable label and surface boundary. */

/* Task destination receipt: default. Keep the existing content arrangement. */

/* Task destination note: default. Keep the existing reading face and scale. */

/* Task destination receipt: default. Keep the readable label and surface boundary. */

/* Task destination list: default. Keep the existing content arrangement. */

/* Task destination list: keyboard focus. Keep the readable label and surface boundary. */

/* Task destination receipt: default. Keep the existing reading face and scale. */

/* Adapters from static/css/wizard-validation.css. */
















/* Adapters from founder_admin/public/admin.css. */



























/* Existing JS creates these disclosures and download anchors by class name.
 * Their geometry and appearance match the canonical action, with no new JS. */






/* Card technical copy: exact identifiers use the shared mono face. */
.ad-card--caption-code { font-family:var(--mono); }

/* Evidence choice buttons keep the shared action contract and card layout. */

/* Artwork item: selected. Keep the readable label and surface boundary. */
[data-ad-controls] .ad-card--selectable[aria-current=true] { border-color:var(--accent); outline:var(--control-stroke) solid var(--accent); }
/* Card action menu: outline the native disclosure without changing its label. */
.ad-card--action-menu > :where(summary) { border:var(--control-stroke) solid var(--control-border); border-radius:var(--control-radius); cursor:pointer; list-style:none; }
/* Card action menu: hide the browser marker beside the visible action label. */
.ad-card--action-menu > :where(summary)::-webkit-details-marker,
.ad-card--connection-account:empty,
.ad-card--connection-reason:empty,
.ad-card--connection-confirm[hidden],.ad-card--upload [hidden] { display:none; }
/* Card action menu: available links share a readable raised surface. */
.ad-card--action-menu > :where(a) { border:var(--control-stroke) solid var(--control-border); background:var(--surface2); color:var(--control-text); text-decoration:none; }
/* Card action menu: round the first link at the start of the list. */
.ad-card--action-menu > :where(a:first-of-type) { border-radius:var(--radius) var(--radius) 0 0; }
/* Card action menu: close the list with one boundary between its links. */
.ad-card--action-menu > :where(a:last-of-type) { border-block-start:0; border-radius:0 0 var(--radius) var(--radius); }


/* System colors: shared controls retain readable labels and visible boundaries. */
@media(forced-colors:active) {
 /* Export menu: system colors. Keep the readable label and surface boundary. */

 /* Artwork item: system colors. Keep the readable label and surface boundary. */
[data-ad-controls] .ad-card--selectable[aria-current=true],
.ad-card--upload:focus-visible > .ad-card--upload-target { outline-color:Highlight; }
}

/* Common file, color and busy controls share the standard action geometry. */
[data-ad-controls] input[type=file] { inline-size:100%; max-inline-size:100%; color:var(--control-text); font:inherit; }
/* Input   file selector button: default. Keep the readable label and surface boundary. */
[data-ad-controls] input[type=file]::file-selector-button { min-block-size:var(--control-height); padding:var(--control-padding-block) var(--control-padding-inline); margin-inline-end:var(--sp-sm); border:var(--control-stroke) solid var(--control-border); border-radius:var(--control-radius); background:transparent; color:var(--control-text); font:inherit; cursor:pointer; }
/* Input  disabled  file selector button: disabled. Keep the readable label and surface boundary. */
[data-ad-controls] input[type=file]:disabled::file-selector-button { color:var(--control-disabled-text); border-color:var(--control-disabled-border); cursor:not-allowed; }
/* Input: default. Keep the readable label and surface boundary. */
[data-ad-controls] input[type=color] { min-width:44px; min-height:44px; cursor:pointer; min-block-size:var(--control-height); padding:var(--sp-xs); border:var(--control-stroke) solid var(--control-border); border-radius:var(--control-radius); background:var(--bg); }

/* Attestation control: error. Keep the readable label and surface boundary. */
[data-ad-controls] .ad-card--invalid-group:has([aria-invalid=true]) { border:var(--note-stroke) solid var(--danger); }
/* Cert field error: error. Keep the readable label and surface boundary. */



/* Recorded publishing routes use the common read-only card and action contract. */








/* Existing-listing review composes canonical fields, choices and status errors. */







/* The connection row uses the same status pill beside its channel heading. */


/* Cards: ordinary task surfaces share one border, background and text palette. */
.ad-card {
 min-inline-size:0; background:var(--surface); color:var(--text); overflow-wrap:anywhere;
}
/* Card frame: flat sections retain their earlier shared border reset. */
.ad-card:where(:not(.ad-card--flat)),
.ad-card--framed,
.ad-card--framed-images :where(img) { border:var(--control-stroke) solid var(--border); border-radius:var(--radius); }
/* Card small: compact groups keep the shared small corner radius. */
.ad-card--small:where(:not(.ad-card--framed,.ad-card--framed-images img)) { border-radius:var(--radius-sm); }
/* Card legend: native groups retain their compact, strongly emphasized name. */
.ad-card--legend { color:var(--control-text); font-size:var(--text-xs); font-weight:var(--weight-strong); }
/* Card labels and table headings: retain medium emphasis without changing their size. */
.ad-card--legend-medium,
.ad-card--emphasis,
.ad-table--emphasis :where(th) { font-weight:var(--weight-medium); }
/* Card recessed: nested editors use the canvas surface in either theme. */
.ad-card--recessed { background:var(--bg); }
/* Card header: separate the title and actions from the content below. */
.ad-card--header { border-block-end:var(--control-stroke) solid var(--border); background:var(--surface); }
/* Card workspace: embedded editors own their content wrapping. */
.ad-card--workspace { overflow-wrap:normal; }
/* Card canvas: artwork remains on the neutral black preview surface. */
.ad-card--canvas { background:var(--color-black); }
/* Card and popover: raised work surfaces share one shadow. */
.ad-card--raised { box-shadow:var(--shadow); }
/* Card: an invisible nonprinting edge guide follows the existing surface geometry. */
.ad-card--edge-guide::after { content:none; border:var(--control-stroke) solid var(--color-white); mix-blend-mode: difference; pointer-events:none; }
/* Card: dashed edge guides distinguish the artwork boundary from the print edge. */

/* Card: the focused editor reveals its nonprinting edge guide. */
.ad-card--edge-guide-visible::after { content:""; }
/* Card: strong boundaries and hovered choices use the shared control contrast. */
.ad-card--border-control,.ad-card--strong,.ad-card--choice:where(:hover),.ad-table--strong :where(tr) { border-color:var(--control-border); }
/* Card: a product image rests on the quieter shared surface. */

/* Card overlay: live results retain the raised reading surface. */
.ad-card--overlay { background:var(--surface-overlay); }
/* Card: the current step has a distinct border without changing its layout. */

/* Card choice and select trigger: the pointer identifies a selectable control. */

/* Card: a selected native input uses the selection palette rather than primary fill. */
.ad-card--choice:has(:checked) { border-color:var(--selection-border); background:var(--selection-bg); color:var(--selection-text); }
/* Card: keyboard focus surrounds the complete choice without hiding its input. */

/* Badges: status words share a quiet surface and allow long labels to wrap. */
.ad-badge {
 display:inline-flex; align-items:center; max-inline-size:100%; min-inline-size:0;
 margin:0; padding:var(--sp-xs) var(--sp-sm); border:var(--control-stroke) solid var(--control-border);
 border-radius:var(--radius-round); background:var(--surface2); color:var(--text-dim);
 font-size:var(--text-sm); font-weight:600; line-height:1.5; white-space:normal;
 word-break:normal; overflow-wrap:break-word; hyphens:auto;
}
/* Badge: ready and completed states retain the readable green palette. */
.ad-badge--success { border-color:var(--accent); background:var(--accent-soft); color:var(--accent); }
/* Badge: a waiting or paused state uses amber and its explicit status words. */
.ad-badge--warning { border-color:var(--warning); background:var(--warning-soft); color:var(--warning); }
/* Badge: a stopped or failed state uses danger color and a readable label. */
.ad-badge--danger { border-color:var(--danger); background:var(--danger-soft); color:var(--danger); }
/* Card connection status: plain words and one small icon without a capsule. */
.ad-card--connection-status { display:inline-flex; align-items:center; gap:var(--sp-xs); max-inline-size:100%; min-inline-size:0; margin:0; border:0; background:none; color:var(--text-dim); font-size:var(--text-sm); font-weight:600; line-height:1.5; overflow-wrap:break-word; }
/* Card connection status icon: retain the text color and a small fixed size. */
.ad-card--connection-status-icon { flex:none; inline-size:1.15em; block-size:1.15em; }
/* Banners: a recorded result stays readable beside its explanation and action. */
.ad-banner {
 display:block; inline-size:100%; min-inline-size:0; box-sizing:border-box;
 padding:var(--sp-lg); border-width:var(--control-stroke); border-style:solid;
 border-radius:var(--radius); color:var(--text); overflow-wrap:anywhere;
}
/* Banner default: success retains its earlier shared attestation colors. */
.ad-banner:where(:not([data-tone=success])) { border-color:var(--control-border); background:var(--surface); }
/* Banner paragraphs: keep space between an outcome, its detail and its action. */
.ad-banner:where(:not(.ad-banner--ruled,.ad-banner--note)) :where(p) { margin:0 0 var(--sp-sm); line-height:1.5; }
/* Banner title: words identify the result independently of color. */
.ad-banner--title { font-weight:700; }
/* Banner: success keeps the action label readable on a subtle brand tint. */

/* Banner: information keeps the shared blue boundary and subtle tint. */
.ad-banner:where([data-tone=info]) { border-color:var(--info); background:var(--info-soft); }
/* Banner: a warning keeps its words visible against the shared amber tint. */
.ad-banner:where([data-tone=warning]) { border-color:var(--warning); background:var(--warning-soft); }
/* Banner: an accompanying symbol stays beside the message without shrinking. */
.ad-banner--with-icon { display:flex; align-items:flex-start; gap:var(--sp-md); }
/* Banner icon: align to the first message line and keep its intrinsic shape. */
.ad-banner--with-icon :where(svg) { inline-size:var(--control-choice-size); block-size:var(--control-choice-size); flex-shrink:0; }
/* Banner: failure uses its alert role as well as its explicit danger tone. */
.ad-banner:where([data-tone=danger],[role=alert]) { border-color:var(--danger); background:var(--danger-soft); }
/* Banner note: keep the native text element and its existing composition. */
.ad-banner--note { display:revert; inline-size:auto; font-size:var(--text-sm); overflow-wrap:inherit; }
/* Banner note: information uses a leading boundary and a readable blue tint. */
.ad-banner--note:where(:not(.ad-banner--ruled,[role=alert])) {
 border:0; border-inline-start:var(--note-stroke) solid var(--info);
 border-radius:0; background:var(--info-soft);
}
/* Card popover: explanations use a raised surface and readable body text. */
.ad-card--popover {
 background:var(--surface2); font-family:var(--sans);
 font-size:var(--text-sm); font-weight:var(--weight-regular); line-height:var(--copy-body-leading);
 cursor:text; scrollbar-gutter:stable; box-shadow:var(--shadow); letter-spacing:normal; text-transform:none;
}
/* Card heading: compact titles retain emphasis above their explanation. */
.ad-card--heading-small { color:var(--control-text); font-size:var(--text-sm); font-weight:var(--weight-strong); line-height:var(--copy-heading-leading); }
/* Card label: technical facts keep the shared mono face and compact rhythm. */
:where(.ad-card--label) { font-family:var(--mono); font-size:var(--text-xs); font-weight:var(--weight-strong); line-height:var(--copy-compact-leading); }
/* Card caption: small names, identifiers and counts share one reading size. */
.ad-card--caption { font-size:var(--text-caption); }
/* Card caption and select indicator: secondary facts and symbols stay readable. */

/* Card caption: native strong text keeps the emphasized name and compact rhythm. */
.ad-card--caption:where(strong) { color:var(--control-text); line-height:var(--copy-compact-leading); }
/* Card description: secondary copy retains its surrounding reading rhythm. */
:where(.ad-card--description) { color:var(--text-dim); font-size:var(--text-sm); }
/* Card hint and supporting banner: short information uses compact reading rhythm. */
:where(.ad-card--hint),.ad-banner--support { color:var(--text-dim); font-size:var(--text-sm); line-height:var(--copy-compact-leading); }
/* Ruled banner: one leading boundary identifies a compact recorded result. */
.ad-banner--ruled {
 border:0; border-inline-start:var(--status-stroke) solid var(--control-border);
 border-radius:0; padding:0; overflow-wrap:inherit;
}
/* Quiet ruled banner: pending checks use the recessed surface and secondary text. */
.ad-banner--quiet { background:var(--bg); color:var(--text-dim); }
/* Tinted banner: idle status leaves the surrounding surface visible. */
.ad-banner--tinted { background:transparent; }
/* Ruled banner: preparation uses an information boundary. */
.ad-banner--ruled:where([data-state=preparing]) { border-inline-start-color:var(--info); }
/* Tinted banner: preparation keeps its information wash. */
.ad-banner--tinted:where([data-state=preparing]) { background:var(--info-soft); }
/* Tinted banner: a confirmed result keeps its success wash. */

/* Tinted banner: a refusal keeps its danger wash and explicit words. */
.ad-banner--tinted:where([data-state=error],[data-state=blocked]) { background:var(--danger-soft); }
/* Ruled banner success: the leading boundary confirms the named result. */
.ad-banner--ruled:where([data-state=success],[data-state=ready]) { border-inline-start-color:var(--success); }
/* Ruled banner refusal: the leading boundary and readable words identify the problem. */
.ad-banner--ruled:where([data-state=error],[data-state=blocked]) { border-inline-start-color:var(--danger); }
/* Ruled banner refusal: full messages keep strong text and compact hints keep their reading tone. */

/* Card headings, proof states, previews and disclosure states. */
/* Card heading: compact work surfaces retain their title size and emphasis. */
.ad-card--heading { color:var(--control-text); font-size:var(--text-lg); font-weight:var(--weight-strong); line-height:var(--copy-heading-leading); }
/* Card wordmark: the published brand keeps its mono lettering in either theme. */
.ad-card--wordmark { color:var(--color-brand-wordmark-dark); font-family:'DM Mono',monospace; font-size:calc(var(--text-md) * 1.375); font-weight:500; letter-spacing:.05em; text-decoration:none; }
/* Card wordmark: the product name accent remains part of the brand. */
.ad-card--wordmark :where(span,sup) { color:var(--color-brand-wordmark-accent-dark); }
/* Card wordmark: the trademark stays smaller than the name. */
.ad-card--wordmark :where(sup) { font-size:50%; }
/* Card wordmark: the light canvas uses the published dark lettering. */
:where([data-theme=light]) .ad-card--wordmark { color:var(--color-brand-wordmark-light); }
/* Card wordmark: its light theme accent remains legible on the canvas. */
:where([data-theme=light]) .ad-card--wordmark :where(span,sup) { color:var(--color-brand-wordmark-accent-light); }
/* Card wordmark: the smallest supported viewport retains its existing compact lettering. */

/* Card viewer: artwork is reviewed against a neutral canvas in either theme. */
.ad-card--viewer { border-radius:0; color:var(--color-text-muted-dark); background:var(--color-black); }
/* Card thumbnail: images and unavailable image placeholders share one frame. */
.ad-card--thumbnail { border-radius:var(--radius-sm); background:var(--color-black); }
/* Card thumbnail: pending images remain distinct from loaded artwork. */
.ad-card--thumbnail:where(.ad-card--pending) { border:var(--control-stroke) solid var(--border); background:linear-gradient(110deg,transparent 35%,var(--accent-bg2) 50%,transparent 65%),var(--color-black); background-size:200% 100%; }
/* Card preview: transparent compositions reveal the neutral checkerboard. */
.ad-card--transparency:where([data-background-kind=transparent]) { background-color:var(--color-white); background-image:conic-gradient(var(--color-transparency-tile) 25%,var(--color-white) 0 50%,var(--color-transparency-tile) 0 75%,var(--color-white) 0); background-size:var(--sp-lg) var(--sp-lg); }
/* Card proof cell: review images keep their exact unframed print geometry. */
/* Shared component states: these roles use the same declarations. */
.ad-button--native,
.ad-card--proof-cell { appearance:none; }
/* Card proof: locks keep a double boundary alongside their explicit label. */
.ad-card--proof-cell:where([data-locked=true]:not(:focus-visible)) { outline:calc(2 * var(--control-stroke)) double var(--control-border); outline-offset:calc(-2 * var(--control-stroke)); background:var(--warn-bg); }
/* Card proof: selected sources and current arrangements keep a visible inset boundary. */
.ad-card--proof:where([aria-pressed=true],[aria-selected=true],[data-current=true],[aria-current=true]) { border-color:var(--accent); box-shadow:inset 0 0 0 var(--control-stroke) var(--accent); }
/* Card disclosure: the summary keeps its reading emphasis and pointer cue. */
.ad-card--disclosure > :where(summary) { color:var(--control-text); font-size:var(--text-xs); font-weight:var(--weight-medium); cursor:pointer; }
/* Card disclosure: open summaries retain their selected tint. */
.ad-card--disclosure:where([open]) > :where(summary) { background-color:var(--accent-bg2); }
/* Card divider: nested sections share one thin top boundary. */

/* Badge proof: technical state words use the shared small mono face. */
.ad-badge--proof { font-family:var(--mono); font-size:var(--text-caption); font-weight:var(--weight-strong); line-height:var(--copy-compact-leading); }
/* Badge proof: selected cells show the selection palette beside their label. */
.ad-badge--proof:where([data-state-key=selected]) { border-color:var(--selection-border); color:var(--selection-text); background-color:var(--selection-bg); }
/* Badge proof: locked cells add a second boundary. */
.ad-badge--proof:where([data-state-key=locked]) { border-style:double; }
/* Banner editor: the active saved record keeps its accent boundary and tint. */
.ad-banner--editing { border-block:var(--control-stroke) solid var(--accent); background:var(--accent-bg2); }
/* Banner editor: an outdated saved record keeps the amber warning palette. */
.ad-banner--editing:where([data-state=stale]) { border-block-color:var(--warn); background-color:var(--warn-bg); }
/* Banner result: completed output retains a green boundary and readable status. */
.ad-banner--result { border:var(--control-stroke) solid var(--success); border-radius:var(--radius-sm); color:var(--text); background:var(--accent-bg2); }
/* Banner result: partial output keeps the explicit failure palette. */
.ad-banner--result:where([data-status=partial]) { border-color:var(--danger); color:var(--danger); background:var(--danger-bg); }
/* Card proof: system colors preserve selected and locked boundaries without shadows. */
@media (forced-colors:active) {
 /* Proof selection: system highlight remains visible beside its explicit state label. */
 .ad-card--proof:where([aria-pressed=true],[aria-selected=true],[data-current=true],[aria-current=true]),.ad-card--proof-cell:where([data-locked=true]) { border-color:Highlight; box-shadow:none; }
}

/* Cards, badges and banners: keep boundaries and labels in system colors. */
@media (forced-colors:active) {
 /* Card, badge and banner: keep outlines visible in the system palette. */
/* Shared component states: these roles use the same declarations. */
[data-ad-controls] :is(.ad-card--system-colors,.ad-empty--icon),
.ad-card--confirmation,
.ad-card--choice:has(:checked),
.ad-card--action-menu > :where(summary,a),
:is(.ad-card,.ad-badge,.ad-banner,.ad-empty):where(:not(.ad-banner--tinted)) { border-color:CanvasText; background:Canvas; color:CanvasText; }
 /* Card: the current step remains distinguishable without brand colors. */
 .ad-card:where([data-current=true],[data-state=Ready]), .ad-card--choice:where(:has(:checked)) { outline:var(--focus-width) solid Highlight; }
}

/* Toggles: native radio and checkbox labels share one readable target. */
.ad-toggle {
 display:flex; align-items:flex-start; gap:var(--sp-md); min-block-size:var(--control-height);
 padding-block:var(--sp-md); cursor:pointer; color:var(--text);
}
/* Toggle input: align the native choice with the first line of its label. */
.ad-toggle :where(input) { margin-block:var(--sp-xs); margin-inline:0; }
/* Toggle content: long labels use the remaining width without moving the input. */
.ad-toggle--content { flex:1 1 auto; min-inline-size:0; }
/* Toggle title and group legend: identify the choice without changing its font. */

/* Toggle help: separate the explanation from the choice name. */
.ad-toggle--help { display:block; margin-block-start:var(--sp-sm); color:var(--muted); }
/* Toggle: disabled choices remain legible beside their plain reason. */
.ad-toggle:where(.ad-toggle--disabled,:has(:disabled)) { color:var(--control-disabled-text); cursor:not-allowed; }
/* Connection row: the same compact layout in every workspace. */
.ad-card--connection-row { display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:auto; gap:var(--sp-sm) var(--sp-md); min-inline-size:0; padding:var(--sp-md); }
/* Connection identity and reason: retain the first column. */
.ad-card--connection-identity { grid-column:1; min-inline-size:0; }
/* Connection heading: wrap name and status together. */
.ad-card--connection-heading { display:flex; flex-wrap:wrap; align-items:center; gap:var(--sp-sm) var(--sp-md); min-inline-size:0; }
/* Connection title: allow long names. */
:where(.ad-card--connection-heading) h3 { flex-basis:auto; min-inline-size:0; overflow-wrap:anywhere; gap:var(--sp-sm); }
/* Connection reason: wrap external error text. */
.ad-card--connection-reason { grid-column:1; min-inline-size:0; overflow-wrap:anywhere; }
/* Connection action: retain canonical control geometry. */
.ad-card--connection-action { grid-column:1; justify-self:start; align-self:center; margin:0; max-inline-size:100%; }
/* Connection hint: retain a full-width entry row. */
.ad-card--connection-hint { grid-column:1/-1; margin:var(--sp-sm) 0 0; }
/* Connection account: long store names stay inside the row. */
.ad-card--connection-account { min-inline-size:0; overflow-wrap:anywhere; white-space:normal; }
/* Connection rows: widen the action column on larger screens. */
@media (min-width:768px) {
 /* Connection columns: retain the original Studio action width. */
 .ad-card--connection-row { grid-template-columns:minmax(0,1fr) minmax(calc(var(--sp-lg) * 7),calc(var(--sp-md) * 13)); }
 /* Connection action: align beside identity and reason. */
 .ad-card--connection-action { grid-column:2; grid-row:1/3; justify-self:stretch; }
}

/* Card group: native fieldsets keep the shared boundary and readable inset. */
.ad-card--group { margin:0; padding:var(--sp-lg); font:inherit; }
/* Card detail: a revealed explanation or saved product uses the quieter surface. */
.ad-card--inset { padding:var(--sp-lg); background:var(--surface2); }
/* Card title: identify a group without changing the surrounding type size. */
.ad-card--title, :where(.ad-dialog--title) { margin:0; font:inherit; font-weight:var(--weight-label); }
/* Card copy: keep saved facts and receipts flush with the content column. */
:is(.ad-card--copy,.ad-dialog--copy,.ad-input--copy) { margin:0; font:inherit; }
/* Card symbol: keep a channel symbol visible beside its name. */
.ad-card--icon { inline-size:var(--control-icon-size); block-size:var(--control-icon-size); flex-shrink:0; color:var(--accent); }
/* Card symbol: an unavailable connection keeps a quiet but readable symbol. */

/* Card number: align currency and charge figures without changing their text. */
.ad-card--number { font-variant-numeric:tabular-nums; }
/* Card value: recorded results use the shared readable mono face and text color. */
.ad-card--value { color:var(--control-text); font-family:var(--mono); font-size:var(--text-sm); }
/* Card code: saved settings are technical facts inside the shared inset surface. */
.ad-card--code { font:var(--text-sm)/1.5 var(--mono); padding:var(--sp-md); }

/* Dialogs: native modal surfaces share one readable boundary and palette. */
.ad-dialog,
.ad-input--group :where(label) { color:var(--text); font:inherit; }
/* Dialog frame: bare wrappers retain their earlier shared transparent reset. */
.ad-dialog:where(:not(.ad-dialog--bare)) { padding:var(--sp-xl); border:var(--control-stroke) solid var(--control-border); border-radius:var(--radius); background:var(--surface); box-shadow:var(--shadow); }
/* Dialog: the backdrop separates the active task from the underlying page. */
.ad-dialog::backdrop { background:var(--dialog-backdrop); }
/* Dialog: the transparent wrapper retains the page tint behind its review card. */
.ad-dialog--bare::backdrop { background:var(--dialog-backdrop-muted); }
/* Dialog and choice card: system colors preserve boundaries and native selection. */
@media (forced-colors:active) {
 /* Dialog: retain its readable surface in the system palette. */
 .ad-dialog { border-color:CanvasText; background:Canvas; color:CanvasText; box-shadow:none; }
}
/* Empty state: a dashed boundary separates guidance from saved results. */
.ad-empty { border:var(--control-stroke) dashed var(--border); border-radius:var(--radius); }

/* Tables: data cells share readable alignment and text with the surrounding form. */
.ad-table { border-collapse:collapse; font:inherit; text-align:start; }
/* Table caption: identify the data without changing its text size. */
.ad-table :where(caption) { text-align:start; font-weight:var(--weight-label); }
/* Table cell: retain the reading order and the shared text face. */
.ad-table :where(th,td) { text-align:start; vertical-align:top; font:inherit; }
/* Table heading: distinguish the column labels against the card surface. */
.ad-table :where(thead th) { background:var(--surface); font-weight:var(--weight-label); }
/* Responsive table: stacked records retain a visible boundary. */

/* Responsive table: narrow cells share a record boundary rather than separate lines. */
:where([data-ad-controls]) fieldset,
.ad-table--responsive :where(th,td) { border:0; }
/* Responsive table: wide cells retain their individual row boundaries. */
@container ad-variants (min-width:650px) {
 /* Table cell: a wide record is separated by the shared thin boundary. */
 .ad-table--responsive :where(th,td) { border-block-end:var(--control-stroke) solid var(--border); }
 /* Table row: the cell edges supply its boundary at the wide size. */
 .ad-table--responsive :where(tr) { border:0; }
}
/* Ruled table cells: consistent inset and a readable line separate records. */
.ad-table--ruled :where(th,td) { padding:var(--sp-sm); border-block-end:var(--control-stroke) solid var(--control-border); word-break:normal; overflow-wrap:break-word; hyphens:auto; }
/* Table match: mark only records whose exact comparison basis is confirmed. */
.ad-table--matched { border-inline-start:var(--focus-width) solid var(--accent); }
/* Table label: repeat the original column name beside a stacked cell value. */
.ad-table--labelled :where(td)::before { content:attr(data-label); display:block; font-weight:var(--weight-label); }
/* Table: preserve record boundaries in the system high contrast palette. */
@media (forced-colors:active) {
 /* Table cell and record: use the visible system boundary. */
 .ad-table :where(th,td,tr) { border-color:CanvasText; }
}
/* Card reading size: detailed product choices retain the ordinary form text size. */
.ad-card--reading { font:var(--text-md)/1.5 var(--sans); }

/* Buttons: secondary actions share one outline, label and target size. */
.ad-button, :where([data-ad-controls]) button:not(:where(.ad-nav-item)) {
 box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center; gap:var(--control-gap);
 min-inline-size:var(--control-height); min-block-size:var(--control-height); max-inline-size:100%;
 padding:var(--control-padding-block) var(--control-padding-inline);
 border:var(--control-stroke) solid var(--button-outline); border-radius:var(--control-radius);
 background:transparent; color:var(--control-text); font:inherit; font-weight:600; line-height:1.3;
 text-decoration:none; white-space:normal; word-break:normal; overflow-wrap:break-word; hyphens:manual;
 cursor:pointer; opacity:1; list-style:none;
}
/* Button icon: keep the icon beside the first line when its label wraps. */
.ad-button :where(svg), :where([data-ad-controls]) button:not(:where(.ad-nav-item)) :where(svg) {
 inline-size:var(--control-icon-size); block-size:var(--control-icon-size); flex-shrink:0;
}
/* Button: hover raises the surface without implying a selected state. */

/* Primary button: emphasize the current task, with alternatives kept secondary. */

/* Tertiary button: underline the action without a visible box. */
.ad-button--tertiary { border-color:transparent; text-decoration:underline; text-underline-offset:var(--focus-offset); }
/* Danger button: destructive actions keep a muted red outline until they are hovered or focused. */
.ad-button.ad-button--danger:where(:not(:disabled,[aria-disabled=true])) { border-color:color-mix(in srgb,var(--danger) 70%,var(--surface)); color:var(--danger); }
/* Danger button: hover and keyboard focus fill the action red. */
.ad-button.ad-button--danger:where(:not(:disabled,[aria-disabled=true]):is(:hover,:focus-visible)) { background:var(--danger); border-color:var(--danger); color:var(--surface); }

/* Icon button: square padding keeps a compact action's target usable. */
.ad-button--icon { padding-inline:var(--control-padding-block); }
/* Segmented control: choices wrap together without a fixed label width. */
.ad-segments { display:flex; flex-wrap:wrap; gap:var(--sp-xs); }
/* Tabs and chips: available unselected choices remain quiet until hover. */
.ad-tab:where(:not(:hover,:disabled,[aria-disabled=true])),
.ad-chip:where(:not(:hover,:disabled,[aria-disabled=true])),
:where(.ad-segments) .ad-button:where(:not(:hover,:disabled,[aria-disabled=true])) {
 border-color:transparent; background:transparent; box-shadow:none;
}
/* Button selection: ARIA state keeps its own fill through hover and focus. */
.ad-button:where([aria-pressed=true],[aria-selected=true],[aria-checked=true],[aria-current=page],[aria-current=step]):where(:not(:disabled,[aria-disabled=true])) {
 background:var(--selection-bg); border-color:var(--selection-border); color:var(--selection-text);
 box-shadow:none; opacity:1;
}
/* Button: disabled labels remain legible and never look like available actions. */
/* Disabled controls: labels retain one readable tone, boundary and idle pointer. */
.ad-button:where(:disabled,[aria-disabled=true]),
:where([data-ad-controls]) button:not(:where(.ad-nav-item)):where(:disabled,[aria-disabled=true]),
:is(.ad-input,.ad-select,.ad-textarea,.ad-checkbox,.ad-radio):where(:disabled,[aria-disabled=true]),
[data-ad-controls] :is(input,select,textarea):disabled { background:var(--surface); border-color:var(--control-disabled-border); color:var(--control-disabled-text); cursor:not-allowed; opacity:1; }

/* Button: pending saves share a visible indicator while retaining their label. */
.ad-button--pending::before {
 content:""; border:var(--spinner-stroke) solid currentColor;
 border-right-color:transparent; border-radius:var(--radius-round);
 animation:ad-control-busy var(--pending-duration) linear infinite;
}
/* Button: loading adds a small spinner without replacing its label. */
.ad-button:where([aria-busy=true])::before,
:where([data-ad-controls]) button:not(:where(.ad-nav-item)):where([aria-busy=true])::before {
 content:""; flex:0 0 var(--sp-lg); inline-size:var(--sp-lg); block-size:var(--sp-lg);
 border:var(--spinner-stroke) solid currentColor; border-inline-end-color:transparent;
 border-radius:var(--radius-round); animation:ad-control-busy var(--busy-duration) linear infinite;
}
/* Button: system colors preserve filled actions and nested labels in high contrast. */
@media (forced-colors:active) {
 /* Selected buttons: keep the system highlight behind nested labels. */
.ad-button:where([aria-pressed=true],[aria-selected=true],[aria-checked=true],[aria-current=page],[aria-current=step]):where(:not(.ad-button--primary,:disabled,[aria-disabled=true])) { background:Highlight; border-color:Highlight; color:HighlightText; forced-color-adjust:none; }
 /* Button: a disabled action follows the system's disabled palette. */
 .ad-button:where(:disabled,[aria-disabled=true]),
 :where([data-ad-controls]) button:not(:where(.ad-nav-item)):where(:disabled,[aria-disabled=true]) {
  background:Canvas; border-color:GrayText; color:GrayText;
 }
}

/* Inputs, selects and textareas: one dark field, border and target size. */
:is(.ad-input,.ad-select,.ad-textarea),
:where([data-ad-controls]) :where(input:not([type=checkbox],[type=radio],[type=hidden],[type=range],[type=color],[type=file],[type=submit],[type=button]),select,textarea) {
 display:block; inline-size:100%; min-inline-size:0; min-block-size:var(--control-height);
 padding:var(--control-padding-block) var(--sp-md);
 border:var(--control-stroke) solid var(--control-border); border-radius:var(--control-radius);
 background:var(--bg); color:var(--control-text); font:inherit; opacity:1;
}
/* Inputs and textareas: hints remain readable without looking entered. */
:is(.ad-input,.ad-textarea)::placeholder,
[data-ad-controls] :is(input,textarea)::placeholder { color:var(--text-dim); opacity:1; }
/* Textarea: users can increase the writing area vertically. */
.ad-textarea, [data-ad-controls] textarea { resize:vertical; }
/* Checkbox and radio: native selection with the shared accent and target geometry. */
:is(.ad-checkbox,.ad-radio), [data-ad-controls] :is(input[type=checkbox],input[type=radio]) {
 inline-size:var(--control-choice-size); block-size:var(--control-choice-size); flex-shrink:0; accent-color:var(--accent);
}
/* Fields: disabled labels and borders stay legible and do not invite input. */


/* Input hint: readable supporting text stays distinct from an entered value. */
.ad-input--hint { color:var(--muted); font-size:var(--text-sm); line-height:var(--field-hint-leading); }
/* Input hint: inline symbols share the supporting text size and baseline. */
.ad-input--hint :where(svg) { inline-size:1em; block-size:1em; display:inline-block; vertical-align:-0.125em; }
/* Form error and required marker: pair the warning color with explicit words. */


/* Input hint: compact field help keeps the shared secondary text and reading rhythm. */
.ad-input--hint-compact { color:var(--text-dim); font-size:var(--text-xs); line-height:1.5; }
/* Dialog title: short confirmation headings retain their readable scale. */
.ad-dialog--title { font-size:calc(var(--text-md) * 1.375); line-height:1.3; }
/* Select trigger: the visible native disclosure uses the same field paint as a select. */
.ad-select--trigger { display:flex; align-items:center; justify-content:space-between; gap:var(--control-gap); cursor:pointer; list-style:none; }
/* Select: the popup uses a visible border and the shared canvas. */
.ad-select--popup {
 border:var(--control-stroke) solid var(--control-border);
 border-radius:var(--radius-sm); background:var(--bg); scrollbar-gutter:stable;
}
/* Select option: each choice has a quiet surface and a visible label. */
.ad-select--option:where(:not([aria-pressed=true],[aria-selected=true])) {
 border:var(--control-stroke) solid transparent; border-radius:var(--radius-sm);
 color:var(--text); background:var(--surface); cursor:pointer;
}
/* Select option: the selected choice keeps its accent border. */

/* Select option: keyboard movement marks the active choice inside its border. */
.ad-select--option:where([data-active=true]) {
 outline:calc(2 * var(--control-stroke)) solid var(--accent);
 outline-offset:calc(-2 * var(--control-stroke)); background:var(--accent-bg2);
 box-shadow:0 0 0 var(--focus-width) var(--accent-bg2);
}
/* Select: system colors preserve popup and option labels in high contrast. */
@media (forced-colors:active) {
 /* Select popup and option: use the system canvas and text palette. */
 .ad-select--trigger,.ad-select--popup,.ad-select--option { background:Canvas; color:CanvasText; }
}

/* Navigation item: one row geometry for links and native buttons. */
.ad-nav-item {
  display:flex; align-items:center; justify-content:flex-start;
  inline-size:100%; min-inline-size:var(--control-height); min-block-size:var(--control-height);
  gap:var(--control-gap); padding:var(--control-padding-block) var(--sp-lg);
  border:var(--control-stroke) solid transparent; border-radius:var(--control-radius);
  background:transparent; color:var(--control-text); font:inherit;
  font-weight:600; line-height:1.3; text-align:start; text-decoration:none;
  white-space:normal; overflow-wrap:normal; cursor:pointer; user-select:none;
}
/* Navigation item: hover keeps the unselected row quiet. */
.ad-button:where(:not(:disabled,[aria-disabled=true],[aria-pressed=true],[aria-selected=true],[aria-checked=true],[aria-current=page],[aria-current=step]):hover),
:where([data-ad-controls]) button:not(:where(.ad-nav-item)):where(:not(:disabled,[aria-disabled=true],[aria-pressed=true],[aria-selected=true],[aria-checked=true],[aria-current=page],[aria-current=step]):hover) {background:var(--surface2);border-color:var(--accent);}
/* Navigation item: hover adds a faint brand tint without a border. */
.ad-nav-item:not([aria-current=page]):hover {background:color-mix(in srgb,var(--accent) 8%,var(--surface));}
/* Navigation item and toggle: keyboard focus uses the same visible ring. */
.ad-card--choice:where(:has(:focus-visible)),
.ad-nav-item:focus-visible,
.ad-toggle:where(:has(input:focus-visible)) {outline:var(--focus-width) solid var(--accent);outline-offset:var(--focus-offset);}
/* Navigation item: the current destination uses the selected fill. */
.ad-nav-item[aria-current=page] {background:color-mix(in srgb,var(--accent) 18%,var(--surface));color:var(--accent);font-weight:700;}
/* Navigation item: every destination reserves the same icon slot. */
.ad-nav-item--icon {display:inline-flex;align-items:center;justify-content:center;inline-size:var(--control-icon-size);flex-shrink:0;}
/* Navigation item: icon size and stroke are independent of the link tag. */
.ad-nav-item--icon svg {inline-size:var(--control-icon-size);block-size:var(--control-icon-size);stroke-width:1.5;}
/* Navigation item: compact rails center icons while the shell hides labels. */
@media (max-width:1023px) {
 /* Navigation item: the collapsed rail fits a full touch target. */
 .ad-nav-item {justify-content:center;padding-inline:0;}
 /* Navigation item: an expanded rail restores the label's inset. */
 .ad-nav-item[data-nav-expanded=true] {justify-content:flex-start;padding-inline:var(--sp-lg);}
}
/* Navigation item: selected and focus states follow the system palette. */
@media (forced-colors:active) {
 /* Navigation item: preserve the selected system fill under nested labels. */
 .ad-nav-item[aria-current=page] {forced-color-adjust:none;}
 /* Navigation item: keep accent text readable without a forced backplate. */
 [data-ad-controls] .ad-nav-item--accent-fill {background:Canvas;color:LinkText;forced-color-adjust:none;}
}

/* Record variants: controls, cards, public paper, status and navigation. */

/* Button: reusable record variants. */
/* Button spinner: loading ring. */

/* Button paper link: default reading rhythm. */
.ad-button--paper-link { line-height:1.4; color:var(--certificate-text-accent, var(--color-paper-link)); }
/* Button paper link: keyboard focus. */
:is(.ad-button--paper-link,.ad-card--paper-disclosure):focus-visible { outline:var(--focus-width) solid var(--certificate-ink, var(--color-paper-ink-blue)); outline-offset:var(--sp-xs); }


/* Input: reusable record variants. */
/* Input search group: default reading text. */
.ad-input--search-group > :where(label), .ad-input--field > :where(label), .ad-card--source > :where(label), .ad-card--asset > :where(label), .ad-card--options > :where(legend) { color: var(--text); font-family: var(--mono); font-size: calc(var(--text-md) * 0.72); font-weight: var(--weight-label); }
/* Input label: default reading text. */
.ad-input--label-record { color: var(--text); font-size: calc(var(--text-md) * 0.86); font-weight: var(--weight-label); }
/* Input optional: default reading text. */
.ad-input--optional { color: var(--muted); font-family: var(--sans); font-size: calc(var(--text-md) * 0.7); font-weight: 450; letter-spacing: normal; }
/* Input legal: default reading text. */
.ad-input--legal { color: var(--muted); font-size: calc(var(--text-md) * 0.77); }
/* Input color: default reading text. */
.ad-input--color :where(input[type="text"]) { font-family: var(--mono); font-size: calc(var(--text-md) * 0.76); text-transform: uppercase; }

/* Segments: reusable record variants. */
/* Segments framed: default surface and boundary. */
/* Shared component states: these roles use the same declarations. */
.ad-segments--framed { background: var(--surface); border: var(--control-stroke) solid var(--border); border-radius: var(--radius); }

/* Card: reusable record variants. */
/* Card reading compact: default reading text. */
.ad-card--reading-compact { font: var(--text-base)/var(--copy-body-leading) var(--sans); text-rendering: optimizeLegibility; }
/* Card reading title: default reading text. */
.ad-card--reading-title { color: var(--text); font-size: clamp(calc(var(--text-md) * 2.0), 4vw, calc(var(--text-md) * 2.75)); font-weight: var(--weight-label); letter-spacing: -0.045em; line-height: 1.2; }
/* Card reading section: default reading text. */
.ad-card--reading-section { color: var(--text); font-size: clamp(calc(var(--text-md) * 1.45), 2.5vw, calc(var(--text-md) * 1.8)); font-weight: 620; letter-spacing: -0.025em; line-height: 1.2; }
/* Card reading heading: default reading text. */
.ad-card--reading-heading { color: var(--text); font-size: calc(var(--text-md) * 1.02); font-weight: 630; line-height: 1.2; }
/* Card lead: default reading text. */
.ad-card--lead { color: var(--text-soft); font-size: calc(var(--text-md) * 1.0); }
/* Card eyebrow: default reading text. */
.ad-card--eyebrow-record { color: var(--accent); font-family: var(--mono); font-size: calc(var(--text-md) * 0.7); font-weight: var(--weight-strong); letter-spacing: 0.16em; text-transform: uppercase; }
/* Card section heading: default foreground. */
.ad-card--section-heading :where(p), .ad-banner--inline { color: var(--text-soft); }
/* Card option list: default reading text. */
.ad-card--option-list :where(small) { color: var(--muted); font-size: calc(var(--text-md) * 0.75); line-height: 1.4; }
/* Card record title: default reading text. */
.ad-card--record-title, .ad-card--issue :where(h3) { font-size: calc(var(--text-md) * 1.08); }
/* Card record code: default reading text. */
.ad-card--record-code, .ad-card--record-reference { color: var(--muted); font-family: var(--mono); font-size: calc(var(--text-md) * 0.72); }
/* Card facts: default surface and boundary. */
.ad-card--facts :where(div), .ad-card--stat { background: var(--surface-raised); border-radius: var(--radius-xs); }
/* Card facts: default reading text. */
.ad-card--facts :where(dt), .ad-card--stat :where(dt) { color: var(--muted); font-family: var(--mono); font-size: calc(var(--text-md) * 0.62); letter-spacing: 0.04em; text-transform: uppercase; }
/* Card facts: default reading text. */
.ad-card--facts :where(dd), .ad-card--stat :where(dd), .ad-card--review-facts :where(dt), .ad-badge--verification, .ad-card--guidance { font-size: calc(var(--text-md) * 0.8); }
/* Card aside: default surface and boundary. */

/* Card heading: default reading text. */
.ad-card--heading :where(h3) { font-size: calc(var(--text-md) * 1.05); }
/* Card heading: default reading text. */
.ad-card--heading :where(p) { color: var(--muted); font-size: calc(var(--text-md) * 0.85); }
/* Card balance: default surface and boundary. */
.ad-card--balance, .ad-card--disclosures, .ad-card--asset { background: var(--surface-raised); border: var(--control-stroke) solid var(--border); border-radius: var(--radius-sm); }
/* Card balance label: default reading text. */
.ad-card--balance-label { color: var(--text-soft); font-size: calc(var(--text-md) * 0.78); font-weight: var(--weight-medium); }
/* Card balance total: default reading text. */
.ad-card--balance-total { color: var(--text); font-family: var(--mono); font-size: calc(var(--text-md) * 1.35); font-weight: var(--weight-strong); }
/* Card symbol: default surface and boundary. */
.ad-card--symbol, .ad-dialog--symbol { background: var(--accent-soft); border-radius: var(--radius-sm); color: var(--accent); }
/* Card disclosures: default reading text. */
.ad-card--disclosures > :where(legend) { color: var(--accent); font-family: var(--mono); font-size: calc(var(--text-md) * 0.72); font-weight: var(--weight-label); }
/* Card choice symbol: default surface and boundary. */
.ad-card--choice-symbol { background: var(--surface-soft); border-radius: calc(var(--radius) - var(--control-stroke)); color: var(--text-soft); }
/* Card source: default surface and boundary. */
.ad-card--source { background: var(--color-detail-wash); border: var(--control-stroke) solid var(--border); border-radius: var(--radius-sm); }
/* Card review list: default surface and boundary. */
.ad-card--review-list :where(li) { border-bottom: var(--control-stroke) solid var(--border); color: var(--text-soft); }
/* Card review list: default foreground. */
.ad-card--review-list :where(summary), .ad-card--review-issuer :where(summary) { color: var(--accent); cursor: pointer; text-decoration: underline; }
/* Card review issuer: default surface and boundary. */
/* Shared component states: these roles use the same declarations. */
[data-ad-controls] .ad-card--ruled-bottom,
.ad-card--review-issuer,
.ad-table--mapping :where(td) { border-bottom: var(--control-stroke) solid var(--border); }
/* Card approval: default surface and boundary. */
.ad-card--approval { background: linear-gradient(145deg, var(--surface), var(--color-approval-wash)); border-color: var(--color-approval-border); }
/* Card action bar: default surface and boundary. */
.ad-card--action-bar { backdrop-filter: blur(16px); background: var(--color-action-bar-surface); border: var(--control-stroke) solid var(--border-strong); border-radius: var(--radius); box-shadow: var(--shadow); }
/* Card preview title: default reading text. */
.ad-card--preview-title { font-size: calc(var(--text-md) * 0.89); }
/* Card preview caption: default reading text. */
.ad-card--preview-caption { color: var(--muted); font-size: calc(var(--text-md) * 0.7); }
/* Card document: default surface and boundary. */
.ad-card--document-paper { background: var(--color-paper-warm); border: var(--control-stroke) solid var(--color-paper-border); border-radius: var(--radius-sm); color: var(--color-paper-ink); }
/* Card embedded document: default surface and boundary. */
.ad-card--embedded-document { background: var(--color-white); border: 0; border-radius: var(--radius-xs); }
/* Card document actions: default reading text. */
.ad-card--document-actions :where(p) { color: var(--muted); font-size: calc(var(--text-md) * 0.73); line-height: 1.45; }
/* Card print options: default surface and boundary. */
.ad-card--print-options, .ad-banner--validation :where(li + li) { border-top: var(--control-stroke) solid var(--border); }
/* Card print options: default reading text. */
.ad-card--print-options :where(summary) { color: var(--text); cursor: pointer; font-weight: var(--weight-strong); }
/* Card print options: default reading text. */
.ad-card--print-options > :where(p) { color: var(--muted); font-size: calc(var(--text-md) * 0.76); line-height: 1.45; }
/* Card document brand: default reading text. */
.ad-card--document-brand { border-bottom: calc(var(--control-stroke) * 2) solid currentColor; font-family: var(--mono); font-size: calc(var(--text-md) * 0.66); font-weight: var(--weight-strong); letter-spacing: 0.07em; text-transform: uppercase; }
/* Card document record: default reading text. */
.ad-card--document-record :where(h4) { color: inherit; font-family: Georgia, serif; font-size: clamp(calc(var(--text-md) * 1.12), 3vw, calc(var(--text-md) * 1.55)); font-weight: 500; line-height: 1.2; }
/* Card document record: default reading text. */
.ad-card--document-record :where(p) { color: inherit; font-size: calc(var(--text-md) * 0.74); }
/* Card document statement: default reading text. */
.ad-card--document-statement { font-family: Georgia, serif; font-size: calc(var(--text-md) * 0.78); line-height: 1.5; }
/* Card document disclosure: default reading text. */
.ad-card--document-disclosure { border-top: var(--control-stroke) solid currentColor; font-size: calc(var(--text-md) * 0.65); line-height: 1.4; opacity: 0.84; }
/* Card document signing: default reading text. */
.ad-card--document-signing { border-top: var(--control-stroke) solid currentColor; font-size: calc(var(--text-md) * 0.62); letter-spacing: 0.04em; text-transform: uppercase; }
/* Card document draft: default reading text. */
.ad-card--document-draft { border: var(--control-stroke) dashed currentColor; font-size: calc(var(--text-md) * 0.64); line-height: 1.35; opacity: 0.78; }
/* Card document palette: default reading text. */
.ad-card--document-palette { border-top: var(--control-stroke) solid currentColor; font-size: calc(var(--text-md) * 0.58); opacity: 0.82; }
/* Card qr placeholder: default surface and boundary. */
.ad-card--qr-placeholder { background: transparent; border: var(--control-stroke) solid currentColor; opacity: 0.38; }
/* Card qr placeholder: default surface and boundary. */
.ad-card--qr-placeholder :where(span) { border: var(--control-stroke) solid currentColor; }
/* Card issue: default surface and boundary. */
.ad-card--issue { background: linear-gradient(135deg, var(--surface), var(--color-issue-wash)); border: var(--control-stroke) solid var(--color-approval-border); border-radius: var(--radius); }
/* Card issue: default reading text. */
.ad-card--issue :where(p) { color: var(--text-soft); font-size: calc(var(--text-md) * 0.83); }
/* Card asset preview: default reading text. */
.ad-card--asset-preview { background: var(--page); border: var(--control-stroke) dashed var(--border-strong); border-radius: var(--radius-sm); color: var(--muted); font-size: calc(var(--text-md) * 0.76); }
/* Card thumbnail: default surface and boundary. */
.ad-card--thumbnail-record { background: var(--page); border: var(--control-stroke) solid var(--border-strong); border-radius: var(--radius-xs); }
/* Card thumbnail: default surface and boundary. */
.ad-card--thumbnail :where(span) { background: var(--text-soft); border-radius: calc(var(--radius) * 125); }
/* Card thumbnail quiet: default surface and boundary. */
.ad-card--thumbnail-quiet :where(span:nth-child(1)), .ad-card--thumbnail-centered :where(span:nth-child(3)), .ad-card--thumbnail-classic :where(span:nth-child(3)) { background-color: var(--accent); }
/* Card thumbnail compact: default surface and boundary. */
.ad-card--thumbnail-compact :where(span:nth-child(1)), .ad-card--thumbnail-classic :where(span:nth-child(1)) { background: var(--text); border-radius: 0; }
/* Card thumbnail compact: default surface and boundary. */
.ad-card--thumbnail-compact :where(span:nth-child(2)), .ad-card--thumbnail-compact :where(span:nth-child(3)), .ad-card--thumbnail-classic :where(span:nth-child(2)) { background: var(--page); }
/* Card: wide layout variant. */
@media (min-width: 1440px) {
/* Card aside: boundary beside a wide record. */
.ad-card--aside { border-block-start: 0; border-inline-start: var(--control-stroke) solid var(--border); }
}
/* Card paper reader: default surface and boundary. */
.ad-card--paper-reader { color-scheme:light; background:var(--certificate-paper, var(--color-paper-cream)); color:var(--certificate-ink, var(--color-paper-ink-blue)); }
/* Card paper main: default surface and boundary. */
.ad-card--paper-main { background:var(--certificate-paper, var(--color-paper-cream)); border:var(--control-stroke) solid var(--color-paper-border-warm); border-radius:calc(var(--radius) * 2); }
/* Card paper heading: default reading rhythm. */
.ad-card--paper-heading { line-height:1.2; }
/* Card paper primary: default surface and boundary. */
.ad-card--paper-primary { border-color:var(--certificate-primary, var(--color-paper-ink-blue)); }
/* Card paper artwork: default surface and boundary. */
.ad-card--paper-artwork { background:var(--certificate-paper, var(--color-paper-cream)); border-radius:calc(var(--radius-sm) * 2); }
/* Card paper disclosure: default reading rhythm. */
.ad-card--paper-disclosure { line-height:1.4; cursor:pointer; }
/* Card record: hover boundary and surface. */
.ad-card--record:hover { background: var(--color-surface-hover); border-color: var(--border-strong); }
/* Card document: quiet document layout. */
.ad-card--document:where([data-layout="quiet"]) :where(.ad-card--document-brand) { background: transparent; border-bottom: var(--control-stroke) solid currentColor; border-radius: 0; }
/* Card document: editorial document typography. */
.ad-card--document:where([data-typography="editorial"]) :where(.ad-card--document-record h4) { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 500; }
/* Card document: title emphasis in the document. */
.ad-card--document:where([data-artwork-emphasis="title"]) :where(.ad-card--document-record h4) { font-size: calc(var(--text-base) * 1.24); }
/* Card document: detail emphasis in the document. */
.ad-card--document:where([data-artwork-emphasis="details"]) :where(.ad-card--document-record h4) { font-size: calc(var(--text-base) * 0.95); }
/* Card document: rendered artifact surface. */
.ad-card--document:where(.ad-card--rendered) { background: var(--surface-raised); color: var(--text); }

/* Badge: reusable record variants. */
/* Badge dot: default surface and boundary. */
.ad-badge--dot { background: var(--warning); border-radius: 50%; box-shadow: 0 0 0 calc(var(--control-stroke) * 4) var(--warning-soft); }
/* Badge verified: default reading text. */
.ad-badge--verified { color: var(--success); font-weight: 620; }
/* Badge unverified: default foreground. */
.ad-card--connection-status:where([data-status-tone=warn]),
.ad-badge--unverified { color: var(--warning); }
/* Badge number: default reading text. */
.ad-badge--number { border: var(--control-stroke) solid var(--border-strong); border-radius: 50%; color: var(--accent); font-family: var(--mono); font-size: calc(var(--text-md) * 0.7); font-weight: var(--weight-strong); }
/* Badge registration: default reading text. */
.ad-badge--registration { border: var(--control-stroke) solid currentColor; border-radius: var(--sp-xs); font-size: calc(var(--text-md) * 0.62); font-weight: var(--weight-strong); }
/* Badge paper: default reading text. */
.ad-badge--paper { border:var(--control-stroke) solid currentColor; border-radius:calc(var(--radius) * 125); font-size:calc(var(--text-md) * 0.78); letter-spacing:0.04em; color:var(--certificate-text-accent, var(--color-paper-link)); }
/* Badge paper status: default foreground. */
.ad-badge--paper-status { text-transform:uppercase; letter-spacing:0.06em; }
/* Badge access: available access indicator. */
.ad-badge--access:where(.ad-badge--active) :where(.ad-badge--dot) { background: var(--success); box-shadow: 0 0 0 calc(var(--control-stroke) * 4) var(--color-success-halo); }
/* Badge access: read only access indicator. */
.ad-badge--access:where(.ad-badge--readonly) :where(.ad-badge--dot) { background: var(--info); box-shadow: 0 0 0 calc(var(--control-stroke) * 4) var(--info-soft); }
/* Badge unregistered: unverified registration text. */
.ad-badge--unregistered { border: 0; border-radius: 0; font-weight: 500; }
/* Badge registered: verified registration text. */
.ad-badge--registered { background: var(--color-registration-wash); font-weight: 750; }

/* Banner: reusable record variants. */
/* Banner code: default reading text. */
.ad-banner--code { font-family: var(--mono); font-size: calc(var(--text-md) * 0.74); }
/* Banner inline: default foreground. */
.ad-banner--inline :where(svg), .ad-banner--education > :where(svg) { color: var(--info); }
/* Banner file: default reading text. */
.ad-banner--file { background: var(--color-batch-wash); border: var(--control-stroke) solid var(--color-batch-border); border-radius: var(--radius-sm); color: var(--success); font-size: calc(var(--text-md) * 0.79); }
/* Banner education: default surface and boundary. */
.ad-banner--education { background: var(--info-soft); border: var(--control-stroke) solid var(--color-education-border); border-radius: var(--radius-sm); }
/* Banner education: default reading text. */
.ad-banner--education :where(p), .ad-table--mapping :where(td:first-child), .ad-dialog--heading :where(p) { color: var(--text-soft); font-size: calc(var(--text-md) * 0.82); }
/* Banner links: default reading text. */
.ad-banner--links :where(a) { font-size: calc(var(--text-md) * 0.77); font-weight: 620; }
/* Banner validation: default surface and boundary. */
.ad-banner--validation { background: var(--surface); border: calc(var(--control-stroke) * 2) solid var(--danger); border-radius: var(--radius-sm); }
/* Banner validation: default reading text. */

/* Banner paper: default surface and boundary. */
.ad-banner--paper { background:var(--certificate-paper, var(--color-paper-cream)); color:var(--certificate-ink, var(--color-paper-ink-blue)); border:var(--control-stroke) solid var(--certificate-primary, var(--color-paper-ink-blue)); border-radius:calc(var(--radius-sm) * 2); }

/* Dialog: reusable record variants. */
/* Dialog heading: default reading text. */
.ad-dialog--heading :where(h2) { font-size: calc(var(--text-md) * 1.3); }
/* Dialog danger symbol: default surface and boundary. */
.ad-dialog--danger-symbol { background: var(--danger-soft); color: var(--danger); }
/* Dialog record: default reading text. */
.ad-dialog--record { background: var(--surface-raised); border-radius: var(--radius-sm); color: var(--text-soft); font-family: var(--mono); font-size: calc(var(--text-md) * 0.76); }

/* Table: reusable record variants. */
/* Table mapping: default reading text. */
.ad-table--mapping :where(th) { background: var(--surface-raised); border-bottom: var(--control-stroke) solid var(--border); color: var(--muted); font-family: var(--mono); font-size: calc(var(--text-md) * 0.68); letter-spacing: 0.045em; text-transform: uppercase; }
/* Table frame: default surface and boundary. */
.ad-table--frame { border: var(--control-stroke) solid var(--border); border-radius: var(--radius-sm); }
/* Table mapping: default surface and boundary. */
.ad-table--mapping :where(tr:last-child td) { border-bottom: 0; }
/* Table mapping: default reading text. */
.ad-table--mapping :where(.ad-input--mapping-required) { color: var(--accent); font-size: calc(var(--text-md) * 0.7); }

/* Pagination: reusable record variants. */
/* Pagination record: default reading text. */
.ad-pagination--record > :where(span) { color: var(--text-soft); font-family: var(--mono); font-size: calc(var(--text-md) * 0.75); }
/* Pagination step: default reading text. */
.ad-pagination--step > :where(span) { border: var(--control-stroke) solid var(--border-strong); border-radius: 50%; font-family: var(--mono); font-size: calc(var(--text-md) * 0.72); font-weight: var(--weight-strong); }
/* Pagination step: default reading text. */
.ad-pagination--step :where(strong), .ad-input--upload-state { font-size: calc(var(--text-md) * 0.79); }
/* Pagination line: default surface and boundary. */
.ad-pagination--line { background: var(--border-strong); }
/* Pagination current: completed progress step. */
.ad-pagination--current, .ad-pagination--complete { color:revert; }
/* Pagination current: current progress step. */
.ad-pagination--current > :where(span) { background:var(--accent); border-color:var(--accent); color:var(--accent-ink); }
/* Pagination complete: completed progress step. */
.ad-pagination--complete > :where(span) { background: var(--color-completion-wash); border-color: var(--success); color: var(--success); }

/* Nav item: reusable record variants. */
/* Nav item skip: default reading text. */
.ad-nav-item--skip { background:var(--surface); border-radius: var(--radius-sm); color: var(--accent-ink); font-weight: var(--weight-strong); text-decoration: none; transition: transform 150ms ease; }
/* Nav item skip: keyboard focus. */
.ad-nav-item--skip:focus { color: var(--accent-ink); }

/* Empty: reusable record variants. */
/* Empty loading: default surface and boundary. */
.ad-empty--loading { background: var(--surface); border: var(--control-stroke) dashed var(--border-strong); border-radius: var(--radius); color: var(--text-soft); }
/* Empty record: default surface and boundary. */
.ad-empty--record { background: var(--surface); border: var(--control-stroke) dashed var(--border-strong); border-radius: var(--radius); }
/* Empty record: default reading text. */
.ad-empty--record :where(h3) { font-size: calc(var(--text-md) * 1.15); }
/* Card typography: registry headings retain their existing reading scale. */
.ad-card--page-title { font-size:var(--text-title); line-height:1.2; letter-spacing:-.03em; }
/* Responsive heading: preserve complete words when text is enlarged. */
.ad-card--title-responsive { font-size:clamp(var(--text-xl),5vw,var(--text-title)); overflow-wrap:normal; hyphens:manual; }
/* Card section title: compact evidence groups retain their existing scale. */
.ad-card--section-title { font-size:calc(var(--text-lg) + var(--sp-md) / 4); line-height:1.3; }
/* Card item title: recorded names retain the ordinary body size. */
.ad-card--item-title { font-size:var(--text-md); line-height:1.4; }
/* Card eyebrow: identify a private tool without competing with its heading. */
.ad-card--eyebrow { text-transform:uppercase; letter-spacing:.09em; font-size:var(--text-2xs); color:var(--muted); }
/* Input label: emphasize the name while retaining the shared reading size. */
.ad-input--label { font-weight:var(--weight-medium); font-size:var(--text-sm); }
/* Card disclosure: a native summary announces its expandable content. */
.ad-card--disclosure { color:var(--accent); cursor:pointer; font-size:var(--text-sm); }
/* Card record: retained facts start with one quiet dividing line. */

/* Card status title: a live reading has the existing compact accent heading. */
.ad-card--status-title { color:var(--accent); font-size:var(--text-section); }
/* Card success copy: an explicit result keeps the readable accent tone. */

/* Button spinner: form owned pending state retains the label beside it. */
.ad-button--spinner { border:var(--spinner-stroke) solid currentColor; border-inline-end-color:transparent; border-radius:var(--radius-round); animation:ad-control-busy var(--busy-duration) linear infinite; }
/* Button record spinner: retain the record accent after the common ring. */
.ad-button--spinner-record { border-color:var(--border-strong); border-top-color:var(--accent); }
/* Navigation text link: long labels wrap within a full touch target. */
.ad-nav-item--text { min-block-size:var(--control-height); display:inline-flex; align-items:center; text-underline-offset:.2em; }
/* Skip link: keyboard focus places the whole link on screen above page content. */
.ad-nav-item--accent-fill:focus { position:fixed; inset-block-start:var(--sp-md); inset-inline-start:var(--sp-md); z-index:1000; max-inline-size:calc(100% - var(--sp-md) * 2); padding:var(--sp-sm) var(--sp-lg); }

/* Navigation symbol: outline icons inherit the current readable label color. */
[data-ad-controls] .ad-card--outline-symbols svg,
.ad-nav-item--symbol { stroke:currentColor; fill:none; stroke-width:2; }

/* Card page title: a wider content column retains the registry display size. */
@media (min-width:421px) {
 /* Card page title: keep the original display scale above compact layouts. */
 .ad-card--page-title { font-size:calc(var(--text-2xl) + var(--sp-md) / 2); }
}
/* Card metric: recorded counters retain their accent and numeric emphasis. */
.ad-card--metric { color:var(--accent); font-size:var(--text-md); font-weight:var(--weight-strong); font-family:var(--mono); }
/* Card secondary text: preserve the surrounding text size with a quiet tone. */

/* Table quiet row: separate live readings without a strong grid. */
.ad-table--quiet-row { border-block-end:var(--control-stroke) solid var(--surface2); }

/* Card disclosure sign: a closed native detail announces that it can expand. */
.ad-card--disclosure-sign::before { content:'+'; margin-inline-end:var(--sp-sm); }
/* Card disclosure sign: an open native detail announces that it can collapse. */
:where(details[open]) > .ad-card--disclosure-sign::before { content:'-'; }

/* Card report title: preserve the compact accent heading used by saved reports. */
.ad-card--report-title { color:var(--accent); font-size:calc(var(--text-md) * 1.375); }
/* Card statistic label: short measured names keep their compact uppercase rhythm. */
.ad-card--stat-label { font-size:var(--text-2xs); text-transform:uppercase; letter-spacing:.04em; }
/* Card statistic term: measured names retain the existing readable border tone. */
.ad-card--term-ink { color:var(--control-border); }
/* Card statistic value: confirmed totals retain the accent and strong emphasis. */
.ad-card--stat-value { color:var(--accent); font-size:var(--text-section); font-weight:var(--weight-strong); }
/* Card statistic large value: summary dashboards retain the slightly larger scale. */
.ad-card--stat-value-large { font-size:calc(var(--text-md) * 1.375); }
/* Card statistic detail: a denominator stays quiet beside the primary total. */
.ad-card--stat-detail { color:var(--muted); font-size:var(--text-2xs); font-weight:var(--weight-regular); }
/* Card report heading: divide the named data groups without a separate surface. */
.ad-card--report-heading { font-size:var(--text-sm); color:var(--text); border-block-end:var(--control-stroke) solid var(--border); }
/* Table report: retained data keeps its compact text and existing row boundaries. */

/* Table report cells: retain the quiet separator between saved records. */
.ad-table--row-dividers :where(th,td),
.ad-table--responsive :where(tr),
.ad-table--report :where(th,td),
.ad-card--receipt-row:where(:not(:last-child)),
.ad-card--ruled-end { border-block-end:var(--control-stroke) solid var(--border); }
/* Table report heading: identify the columns with compact readable emphasis. */
.ad-table--report :where(th) { color:var(--control-border); font-weight:var(--weight-medium); font-size:var(--text-2xs); text-transform:uppercase; }
/* Card subdued copy: historical context retains the quieter reading tone. */
.ad-card--subdued { color:var(--text-dimmer); }
/* Card success bar: a recorded positive count has a compact rounded end. */
.ad-card--bar { background:var(--accent); border-radius:calc(var(--radius-xs) * 2 / 3); }
/* Card failure bar: an explicit failure count retains its warning wash. */
.ad-card--bar-danger { background:var(--danger-bg2); border-radius:calc(var(--radius-xs) * 2 / 3); }
/* Card daily copy: retain the compact scale alongside the recorded chart values. */
.ad-card--daily-copy { font-size:var(--text-2xs); color:var(--text-dim); }
/* Card halo: the receipt keeps its decorative brand wash behind the content. */
.ad-card--halo { background:radial-gradient(ellipse,var(--accent-bg5) 0%,transparent 70%); filter:blur(calc(var(--text-title) * 2)); }
/* Card confirmation: recorded completion and numbered instructions share one symbol. */
.ad-card--confirmation { border:var(--control-stroke) solid var(--accent); border-radius:var(--radius-round); background:var(--accent-bg2); color:var(--accent); }
/* Card confirmation number and reference: the step identifier retains its compact reading scale. */
.ad-card--confirmation-number,
.ad-card--reference { font-size:var(--text-sm); font-family:var(--mono); }
/* Card receipt labels: published confirmation kickers retain their technical face. */
.ad-card--receipt-label { font-family:var(--mono); letter-spacing:.2em; text-transform:uppercase; color:var(--lime); }
/* Card display: confirmation headings retain their responsive published scale. */
.ad-card--display { font-family:var(--sans); font-size:clamp(var(--text-4xl),6vw,calc(var(--text-3xl) * 2)); font-weight:900; letter-spacing:-.02em; line-height:1.05; }
/* Card introduction: supporting confirmation copy retains its open reading rhythm. */
.ad-card--intro { font-size:var(--text-lg); color:var(--muted); line-height:1.75; }
/* Card step title: name the next action at the existing emphasized reading size. */
.ad-card--step-title { font-size:var(--text-base); font-weight:var(--weight-medium); }
/* Card step explanation: instructions retain their compact reading rhythm. */
.ad-card--step-description { font-size:var(--text-xs); color:var(--muted); line-height:1.6; }
/* Card inline code: exact identifiers retain their technical face and brand wash. */
.ad-card--inline-code { font-family:var(--mono); font-size:var(--text-xs); color:var(--lime); background:var(--lime-dim); border-radius:calc(var(--radius-xs) * 2 / 3); }
/* Card footnote: receipt support context keeps its compact technical face. */
.ad-card--footnote { font-family:var(--mono); font-size:var(--text-xs); color:var(--text-faint); }
/* Card pending title: an unconfirmed receipt retains its ordinary page heading. */
.ad-card--pending-title { font-size:var(--text-title); font-weight:800; line-height:1.2; }
/* Card pending copy: explain the unresolved outcome at the original reading size. */
.ad-card--pending-copy { color:var(--muted); line-height:1.75; font-size:var(--text-md); }

/* Card small copy: compact report context keeps the published label size. */
.ad-card--small-copy { font-size:var(--text-xs); }
/* Card secondary ink: context retains its current size and subdued text tone. */
.ad-card--caption:where(:not(strong)),
.ad-select--indicator,
:where(.ad-card--secondary-ink) { color:var(--text-dim); }
/* Card footnote link: support remains secondary to the confirmed next step. */
.ad-card--footnote :where(a) { color:var(--muted); text-decoration:underline; text-underline-offset:.15em; }
/* Card footnote link: hovering keeps the existing readable emphasis. */


/* Card compact headings: task names and explanations inherit their container size. */

/* Card task heading: retained destination names keep their existing emphasis. */

/* Card step: the leading rule separates adjacent prerequisites. */
.ad-card--step { border-inline-start:var(--note-stroke) solid var(--border); }
/* Card drop target: uploads retain their stronger boundary on the recessed surface. */
.ad-card--drop-target { border-width:var(--note-stroke); border-color:var(--control-border); }
/* Input group label: comparison fields retain their container's text face. */

/* Visually hidden content and skip links until keyboard focus: retain the accessible name without occupying the visual flow or leaving a sliver at any text size. */
.ad-nav-item--accent-fill:where(:not(:focus)),
.ad-visually-hidden { position:absolute; inline-size:1px; block-size:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }

/* Card outcome title: connection receipts retain their existing compact display size. */

/* Card outcome copy: connection refusals retain a readable explanatory rhythm. */
.ad-card--outcome-copy { font-size:var(--text-md); line-height:1.6; }
/* Card result detail: saved connection context keeps its original reading tone. */
.ad-card--result-detail { font-size:var(--text-base); color:var(--text-dim); }
/* Card separator: a quiet boundary separates credentials from their instructions. */
.ad-card--separator { border:0; border-block-start:var(--control-stroke) solid var(--control-border); }
/* Card document: standalone explanatory pages retain their published body tone. */
.ad-card--document { color:var(--white); font-family:var(--sans); line-height:1.6; }
/* Navigation bar: standalone documents keep the translucent reading surface. */
.ad-nav-item--bar { background:color-mix(in srgb,var(--bg) 85%,transparent); backdrop-filter:blur(var(--sp-md)); border-block-end:var(--control-stroke) solid var(--border); }
/* Navigation skip label: standalone document shortcuts retain their technical face. */
.ad-nav-item--skip-mono { font-family:var(--mono); font-size:var(--text-xs); text-decoration:none; }
/* Card error display: preserve the published large scale without changing its line rhythm. */
.ad-card--error-display { font-family:var(--sans); font-size:clamp(var(--text-4xl),6vw,calc(var(--text-3xl) * 2)); font-weight:900; }
/* Card soft copy: standalone context retains its original white reading tone. */
.ad-card--soft-copy { color:color-mix(in srgb,var(--white) 78%,transparent); }
/* Card auth copy: error kickers and skip links use the shared sans reading face. */



/* Card strong ink: names remain readable against the dark surface. */


/* Card warning copy: preserve the explicit warning tone alongside its words. */



/* Card body: explanations retain the ordinary shared reading size. */


/* Card compact body: retained values keep their existing compact scale. */


/* Card heading body: compact section names retain their existing scale. */


/* Card compact caption: technical labels retain their existing small scale. */
.ad-card--caption-size { font-size:var(--text-2xs); }

/* Card tiny copy: bounded inline diagnostics retain their original compact scale. */
.ad-card--tiny-copy { font-size:var(--text-3xs); }

/* Card medium emphasis: retained values keep their published intermediate weight. */
.ad-card--weight-medium { font-weight:500; }

/* Card strong emphasis: names and values retain their existing strong weight. */
/* Shared component states: these roles use the same declarations. */
.ad-banner--validation :where(dt),
.ad-card--paper-main :where(dt),
.ad-card--weight-strong { font-weight:var(--weight-strong); }


/* Card rounded content: previews share the ordinary component corner. */
[data-ad-controls] :is(.ad-card--rounded,.ad-card--rounded-images img),
.ad-card--rounded { border-radius:var(--radius); }


/* Card softer surface: secondary content uses the shared recessed contrast. */
.ad-card:where(.ad-card--media,.ad-card--choice),
.ad-card--soft-surface { background:var(--surface2); }

/* Card body rhythm: ordinary descriptions retain their existing line spacing. */


/* Card pointer: an available disclosure or choice advertises its action. */


/* Card document: very wide reading areas retain the published larger body size. */
@media (min-width:1920px) {
 /* Card document: preserve the existing first large display reading step. */
 .ad-card--document { font-size:var(--text-subsection); }
}
/* Card document: the largest reading area retains the existing final text size. */
@media (min-width:2560px) {
 /* Card document: preserve the existing largest display reading step. */
 .ad-card--document { font-size:var(--text-lg); }
}

/* Card drop target: a dashed edge identifies a place to choose or drop a file. */
.ad-card--edge-guide-dashed::after,
.ad-card--drop-target-dashed { border-style:dashed; }
/* Card step and drop target: active choices retain the shared accent boundary. */

/* Card drop target: active dragging has its own wash rather than the hover fill. */
.ad-banner--tinted:where([data-state=ready],[data-state=success]),
.ad-card--drop-target:where(.ad-card--dragging,[data-state=dragging]) { background:var(--accent-soft); }
/* Card drop target: a pending upload keeps its existing waiting pointer. */
.ad-card--drop-target:where([aria-disabled=true]) { cursor:wait; }
/* Invalid fields and cards: one danger boundary accompanies the linked error words. */
[data-ad-controls] :is(input,select,textarea).ad-input--invalid,
.ad-button--danger:where(:not(:disabled,[aria-disabled=true]):hover),
.ad-card:where([data-state=failed],[data-state=partial],[data-state=invalid],[data-alert=true]),
.ad-card--drop-target:where([aria-invalid=true]),
:is(.ad-input,.ad-select,.ad-textarea,.ad-checkbox,.ad-radio)[aria-invalid=true],
[data-ad-controls] :is(input,select,textarea)[aria-invalid=true] { border-color:var(--danger); }

/* Button spinner accent: standalone loading keeps its existing brand colored segment. */
.ad-button--spinner-accent { border-color:var(--border); border-block-start-color:var(--accent); }

/* Navigation trademark: retain the wordmark symbol's existing half sized reading scale. */
.ad-nav-item--trademark { color:var(--accent); font-size:var(--text-3xs); }


/* Card page headings: retain the compact page title and supporting reading rhythm. */
.ad-card--page-headings :where(h1) { font-size:var(--text-xl); font-weight:var(--weight-label); letter-spacing:-0.02em; }
/* Card page explanation: secondary text retains its open line rhythm. */
.ad-card--page-headings :where(p),.ad-card--hero-reading :where(p) { color:var(--muted); line-height:1.6; }
/* Card section headings: saved workspace groups retain their uppercase names. */
.ad-card--section-headings :where(h3) { font-size:var(--text-lg); font-weight:var(--weight-label); color:var(--control-text); letter-spacing:0.05em; text-transform:uppercase; }
/* Input technical labels: existing setting names retain their compact mono face. */
.ad-input--technical-labels :where(label,.ad-input--label) { font-size:var(--text-xs); font-weight:var(--weight-medium); color:var(--text); font-family:var(--mono); letter-spacing:0.03em; }

/* Card prose: explanations and list items retain the shared reading rhythm. */
.ad-card--body-leading,
.ad-card--prose :where(p,li) { line-height:1.5; }
/* Card boundary: unfilled native groups use the same strong edge as fields. */
.ad-card--bordered { border:var(--control-stroke) solid var(--control-border); }
/* Card code inheritance: comparisons keep the containing text face and size. */
[data-ad-controls] .ad-card--inherit-font,
.ad-card--compact-headings :where(h2,h3,p):where(:not(.ad-toggle--label)),
.ad-card--code-inherit :where(pre) { font:inherit; }
/* Card inherited ink: nested destination facts keep the current reading color. */
.ad-card--inherit-ink { color:inherit; }
/* Card receipt headings: group names retain the existing compact display size. */

/* Card receipt headings: file names retain the smaller section scale. */
.ad-card--heading-body,
.ad-card--receipt-headings :where(h3) { font-size:var(--text-lg); }
/* Card native disclosure: show the expandable pointer without changing its layout. */
.ad-card--choice,
.ad-card--pointer,
.ad-card--native-disclosures :where(summary) { cursor:pointer; }

/* Card ruled list: recovery records keep a quiet separator before each result. */

/* Card marker: a native disclosure keeps its accent direction indicator. */

/* Card selectable facts: exact saved values remain easy to select and copy. */
.ad-card--selectable-facts :where(code) { user-select:all; }
/* Card selectable facts: names keep their existing medium emphasis. */

/* Card ordinary headings: compact connection summaries keep their body scale. */
.ad-card--body-size,
.ad-card--ordinary-headings :where(h4) { font-size:var(--text-md); }
/* Card strong copy: emphasized setup instructions keep their ordinary reading ink. */

/* Card quiet disclosure: secondary advanced options retain the compact reading size. */
.ad-card--quiet-disclosure > :where(summary) { cursor:pointer; color:var(--muted); font-size:var(--text-sm); }
/* Card quiet disclosure: an expanded option has the ordinary reading ink. */

/* Input ordinary labels: routing choices retain their surrounding sans face. */
.ad-input--ordinary-labels > :where(label,.ad-input--label) { font-family:var(--sans); letter-spacing:normal; }
/* Toggle store label: a routed destination uses the ordinary form reading face. */
.ad-toggle--store-label { font-family:var(--sans); font-size:var(--text-sm); font-weight:var(--weight-medium); line-height:1.5; letter-spacing:normal; cursor:pointer; }
/* Toggle store label: unavailable destinations keep their existing idle pointer. */
.ad-toggle--store-label:where(:has(input:disabled)),
.ad-card--upload[aria-disabled=true] > .ad-card--upload-target { cursor:default; }
/* Card storage choices: native storage labels retain their ordinary text and pointer. */
.ad-card--storage-choices :where(label) { max-inline-size:100%; cursor:pointer; font-size:var(--text-base); color:var(--text); }

/* Card compact disclosure: connection options retain their smaller summary text. */


/* Card log: technical activity retains its compact monospace reading surface. */
.ad-card--log { background:var(--surface2); border-radius:var(--radius); font-family:var(--mono); font-size:var(--text-xs); line-height:1.7; }
/* Banner toast: transient outcomes retain a readable surface before their timer starts. */
.ad-banner--toast { background:var(--surface); border:var(--control-stroke) solid var(--border); border-radius:var(--radius-md); font-size:var(--text-base); font-weight:var(--weight-medium); opacity:0; transition:opacity 0.25s, transform 0.25s; }
/* Banner toast: a current outcome remains visible until its existing dismissal timer. */

/* Banner toast: a confirmed result retains its success edge and words. */
.ad-banner--toast:where([data-tone=success]) { border-color:var(--accent); color:var(--accent); }
/* Banner toast: an explicit failure retains its danger edge and words. */
.ad-banner--toast:where([data-tone=danger]) { border-color:var(--danger); color:var(--danger); }
/* Banner toast: a warning retains its amber edge and words. */
.ad-banner--toast:where([data-tone=warning]) { border-color:var(--warn); color:var(--warn); }
/* Badge flash: accepted upload details keep their compact technical face. */
.ad-badge--flash { font-family:var(--mono); font-size:var(--text-xs); border-radius:calc(var(--radius) * 0.75); transition:opacity .3s; color:var(--accent); background:color-mix(in srgb,var(--accent) 15%,transparent); border:var(--control-stroke) solid var(--accent); opacity:1; }
/* Badge flash: refused uploads retain their explicit danger message. */
.ad-badge--flash:where([data-tone=danger]) { color:var(--danger); background:color-mix(in srgb,var(--danger) 15%,transparent); border-color:var(--danger); }
/* Badge flash: dismissal fades the message before its existing removal timer. */
.ad-badge--fading { opacity:0; }
/* Badge process: recent outcomes retain their compact technical label and corner. */
.ad-badge--process { font-size:var(--text-xs); font-family:var(--mono); border-radius:calc(var(--radius) * 0.375); }
/* Badge process: recorded completion retains its success tint. */
.ad-badge--process:where([data-tone=success]) { color:var(--accent); background:var(--accent-soft); }
/* Badge process: recorded failure retains its danger tint. */

/* Badge process: waiting and skipped results retain their quiet reading tint. */
.ad-badge--process:where([data-tone=pending]) { color:var(--muted); background:var(--surface2); }
/* Badge process: work in progress retains its explicit amber label. */


/* Card regular emphasis: step identifiers retain their quiet numeric weight. */
.ad-card--weight-regular { font-weight:var(--weight-regular); }

/* Card unmarked list: instruction and record lists supply their own labels. */
.ad-card--unmarked-list { list-style:none; }

/* Card supplemental copy: upload requirements retain their full visibility. */

/* Card instructions: multi step connection guidance keeps its open reading rhythm. */
.ad-card--instructions { line-height:1.75; font-size:var(--text-sm); }
/* Card copyable token: exact configuration values retain their technical reading surface. */
.ad-card--copyable-token { background:var(--white-03); border:var(--control-stroke) solid color-mix(in srgb,var(--white) 12%,transparent); border-radius:var(--radius-md); font-family:var(--mono); font-size:var(--text-2xs); line-height:1.55; user-select:all; }
/* Card dismissible row: existing removal transitions retain the queue continuity. */
.ad-card--dismissible { transition:opacity 0.4s, transform 0.4s; }
/* Card framed content: images and nested choices keep their existing quiet boundary. */

/* Card small media: upload thumbnails retain their existing tighter corner. */
[data-ad-controls] .ad-card--small-images img,
.ad-card--media-small:where(:not(.ad-card--framed,.ad-card--framed-images img)) { border-radius:calc(var(--radius) * 0.5); }
/* Card separator label: decorative separators remain quiet and cannot be selected. */
.ad-card--separator-label { color:var(--border); user-select:none; }
/* Card progress row: native upload progress uses the shared accent. */
.ad-card--progress-row :where(progress) { accent-color:var(--accent); }
/* Card loose hint: setup introductions retain their smaller secondary reading size. */
.ad-card--hint-loose { color:var(--muted); font-size:var(--text-sm); line-height:1.6; }
/* Card base hint: supporting setup copy retains its ordinary form reading size. */
.ad-card--base-hint-loose { font-size:var(--text-base); color:var(--muted); line-height:1.6; }
/* Card compact lead: setup guidance retains the original body rhythm. */
.ad-card--lead-compact { color:var(--muted); font-size:var(--text-base); line-height:1.55; }
/* Card explanation: explanatory paragraphs retain the published quiet white ink. */
.ad-card--explanation { color:var(--white-60); font-size:var(--text-sm); line-height:1.7; }
/* Input long hint: detailed form help and provider disclosures retain their compact rhythm. */
.ad-input--long-hint { color:var(--white-55); font-size:var(--text-xs); line-height:1.6; }
/* Input long hint: emphasized words retain their stronger reading tone. */
.ad-input--long-hint :where(b) { color:var(--white-85); font-weight:var(--weight-label); }
/* Input long hint: exact values retain their compact technical face. */
.ad-input--long-hint :where(code) { background:var(--white-06); border-radius:var(--radius-xs); font-size:var(--text-xs); color:var(--white-65); font-family:var(--mono); }
/* Input long hint: helpful links retain their existing accent tone. */

/* Card divider: separate saved groups without adding a surrounding frame. */
.ad-card--divider { border:0; border-block-start:var(--control-stroke) solid var(--border); }
/* Card final row: the last saved record needs no trailing separator. */
.ad-card--row-end:where(:last-child) { border-block-end:0; }
/* Card tight corner: compact stored rows retain the existing small corner. */
.ad-card--corner-tight { border-radius:var(--radius-xs); }
/* Card pending copy: availability changes retain their existing short fade. */
.ad-card--availability-fade { transition:opacity .25s; }
/* Card hero symbol: account status retains the published display size. */
.ad-card--hero-symbol { font-size:var(--text-5xl); }
/* Card hero heading: the account name retains the compact display scale. */
.ad-card--outcome-title,
.ad-card--receipt-headings :where(h2),
.ad-card--hero-reading :where(h2) { font-size:var(--text-xl); }
/* Card notice: a raised request retains its published reading surface and corner. */
.ad-card--notice { border-radius:calc(var(--radius) * 1.5); box-shadow:0 var(--sp-lg) calc(var(--sp-xs) * 10) color-mix(in srgb,var(--bg) 45%,transparent); font-size:var(--text-sm); line-height:1.5; }

/* Card score: measured health keeps the published large technical display. */
.ad-card--score { font-size:var(--text-6xl); font-weight:900; font-family:var(--mono); line-height:1; }
/* Card meter track: available range keeps its quiet rounded surface. */
.ad-card--meter-track { background:var(--surface2); border-radius:var(--radius-xs); }
/* Card meter track: an idle range retains the stronger separator tone. */

/* Card meter fill: confirmed progress retains its accent and width transition. */
.ad-card--meter-fill { background:var(--accent); border-radius:var(--radius-xs); transition:width 0.4s ease; }
/* Card meter and status dot: warnings retain the explicit amber tone. */

/* Card meter and status dot: failures retain the explicit danger tone. */

/* Card numeric summary: recorded counters retain their original strong scale. */
.ad-card--numeric-summary { font-size:var(--text-2xl); font-weight:var(--weight-strong); font-family:var(--mono); color:var(--text); }
/* Metric and priority labels: short measured names share one technical face and quiet default ink. */
.ad-card--metric-label,.ad-table--metrics :where(th),
.ad-badge--priority { font-family:var(--mono); font-size:var(--text-xs); text-transform:uppercase; letter-spacing:0.06em; color:var(--muted); }

/* Card wide metric label: section names retain their slightly wider tracking. */
.ad-card--metric-label-wide { font-size:var(--text-xs); color:var(--muted); font-family:var(--mono); text-transform:uppercase; letter-spacing:0.08em; }
/* Table metrics: compact saved measurements share the ordinary small reading size. */
.ad-table--report,
.ad-card--body-small,
.ad-card--compact-disclosure > :where(summary),
.ad-table--metrics { font-size:var(--text-sm); }
/* Table metrics: a quiet rule separates each saved measurement row. */
/* Shared component states: these roles use the same declarations. */
.ad-card--aside,
[data-ad-controls] .ad-card--ruled-start,
.ad-card--record,
.ad-card--ruled-start,
.ad-card--ruled-list :where(li),
.ad-table--metrics :where(td) { border-block-start:var(--control-stroke) solid var(--border); }
/* Table metrics: the first row needs no leading rule. */
.ad-table--metrics :where(tr:first-child td) { border-block-start:0; }
/* Badge bucket: grouped measurements retain their compact uppercase label. */
.ad-badge--bucket { font-size:var(--text-xs); font-family:var(--mono); text-transform:uppercase; letter-spacing:0.08em; border-radius:var(--radius-xs); }
/* Badge bucket: confirmed strong results keep their success wash and words. */
.ad-badge--bucket:where([data-tone=success]) { background:var(--accent-bg5); color:var(--accent); }
/* Badge bucket: weak recorded results keep their danger wash and words. */
.ad-badge--process:where([data-tone=danger]),
.ad-badge--bucket:where([data-tone=danger]) { background:var(--danger-bg); color:var(--danger); }
/* Badge bucket: cautionary recorded results keep their amber wash and words. */
.ad-badge--process:where([data-tone=warning]),
.ad-badge--bucket:where([data-tone=warning]) { background:var(--warn-bg); color:var(--warn); }
/* Badge priority dot: the recorded priority keeps its small round signal. */
[data-ad-controls] .ad-card--round-images img,
.ad-badge--priority-dot,
.ad-badge--status-dot { border-radius:var(--radius-round); }
/* Badge priority dot: high priority keeps its explicit danger tone. */
.ad-card--meter-danger,
.ad-badge--dot-danger,
.ad-badge--priority-dot:where([data-priority=high]) { background:var(--danger); }
/* Badge priority dot: medium priority keeps its explicit warning tone. */
.ad-card--meter-warning,
.ad-badge--dot-warning,
.ad-badge--priority-dot:where([data-priority=medium]) { background:var(--warn); }
/* Badge priority dot: low priority keeps its quiet secondary tone. */
.ad-badge--priority-dot:where([data-priority=low]) { background:var(--muted); }
/* Badge priority: the explicit priority word retains its technical face. */

/* Badge priority: high priority retains the readable danger ink. */
[data-ad-controls] .ad-card--status-ink[data-state=error],
.ad-card--danger-ink,
.ad-card--connection-status:where([data-status-tone=bad]),
[data-ad-controls] [data-ad-error],
.ad-form-error,
.ad-input--required,
.ad-badge--priority:where([data-priority=high]) { color:var(--danger); }
/* Badge priority: medium priority retains the readable warning ink. */
.ad-card--warning-ink,
.ad-badge--priority:where([data-priority=medium]) { color:var(--warn); }
/* Secondary labels: supporting details retain the quieter reading ink. */
[data-ad-controls] :is(.ad-card--muted,.ad-card--technical-facts dt,.ad-card--muted-paragraphs>p,.ad-input--muted-labels label,.ad-card--muted-spans span),
.ad-card:where([data-state=Unavailable],[data-state="Coming soon"]) :where(.ad-card--icon),
:where(.ad-card--muted),
.ad-table--muted-heading :where(th),
.ad-input--group :where(p) { color:var(--muted); }
/* Card status and hints share the readable compact secondary text treatment. */
.ad-card--faint-copy,
.ad-card--dim-label,
.ad-card--hint-content :where(p) { color:var(--muted); font-size:var(--text-sm); }
/* Navigation hover: available text actions retain their underline on interaction. */

/* Badge status dot: confirmed connection activity retains its quiet success halo. */
.ad-badge--dot-success { background:var(--accent); box-shadow:0 0 calc(var(--sp-xs) * 1.5) var(--accent); }
/* Badge status dot: stopped activity retains its quiet boundary tone without a halo. */
.ad-badge--dot-idle { background:var(--border); box-shadow:none; }
/* Navigation light symbol: existing setup symbols retain their finer outline. */
.ad-nav-item--symbol-light { stroke-width:1.5; }
/* Compact controls: shared labels retain their published narrow reading state. */
@media (max-width:640px) {
 /* Card score: narrow reading areas retain the original smaller display scale. */
 .ad-card--score { font-size:var(--text-4xl); }
}

/* Card message: conversation text retains its ordinary size and rounded boundary. */
.ad-card--message { border-radius:var(--radius); font-size:var(--text-sm); line-height:1.55; }
/* Card incoming message: responses retain their quiet surface and leading corner. */
.ad-card--message-incoming { background:var(--surface2); border:var(--control-stroke) solid var(--border); color:var(--text); border-end-start-radius:var(--radius-xs); }
/* Card outgoing message: submitted copy retains its accent wash and readable ink. */
.ad-card--message-outgoing { background:var(--accent-bg2); border:var(--control-stroke) solid color-mix(in srgb,var(--accent) 25%,transparent); color:var(--text); border-end-end-radius:var(--radius-xs); }
/* Card quiet message: embedded previews retain the lighter white wash. */
.ad-card--message-quiet { background:var(--white-03); }
/* Card faint message: compact conversations retain their softer outgoing wash. */
.ad-card--message-faint { background:var(--accent-bg5); border-color:color-mix(in srgb,var(--accent) 20%,transparent); color:var(--white-85); }
/* Card round message: wider conversation cards retain four equal corners. */
.ad-card--message-round { border-radius:calc(var(--radius) * 1.25); }
/* Card message heading: preview names retain their ordinary reading size and ink. */
.ad-card--message :where(h4) { font-size:var(--text-md); color:var(--text); }
/* Card message role: sender names retain their compact technical caption. */
.ad-card--message-role { font-family:var(--mono); font-size:var(--text-2xs); letter-spacing:0.1em; text-transform:uppercase; color:var(--muted); }
/* Card caption kicker: generated field names retain their compact technical face. */
.ad-card--caption-kicker { font-family:var(--mono); font-size:var(--text-2xs); letter-spacing:0.08em; text-transform:uppercase; color:var(--muted); }
/* Badge message tag: generated tags retain their compact rounded secondary surface. */
.ad-badge--message-tag { font-family:var(--mono); font-size:var(--text-2xs); border-radius:calc(var(--radius) * 12.375); background:var(--white-06); color:var(--muted); }
/* Card working message: pending copy retains its existing low accent wash. */
.ad-card--working-message { background:var(--accent-bg4); border:var(--control-stroke) solid color-mix(in srgb,var(--accent) 15%,transparent); border-radius:var(--radius); }
/* Card attachment: selected artwork retains the quiet inset boundary. */
.ad-card--attachment { background:color-mix(in srgb,var(--white) 2%,transparent); border:var(--control-stroke) solid var(--border); border-radius:var(--radius); }
/* Card medium media: selected image thumbnails retain the existing six pixel corner. */

/* Card framed images: submitted artwork retains its quiet preview boundary. */

/* Card loose reading: generated descriptions retain their open line rhythm. */
.ad-card--reading-loose { line-height:1.6; }
/* Card quiet white: compact generated context retains its existing white reading tone. */
.ad-card--quiet-white { color:color-mix(in srgb,var(--white) 70%,transparent); }
/* Card column label: generated fields retain their uppercase technical heading. */
.ad-card--column-label { font-size:var(--text-sm); text-transform:uppercase; letter-spacing:0.1em; color:var(--control-text); font-family:var(--mono); border-block-end:var(--control-stroke) solid var(--border); }
/* Card added text: a recorded addition retains the existing subtle accent highlight. */
.ad-card--added-text { background:var(--accent-bg5); border-radius:calc(var(--radius) * 0.25); }
/* Badge counter: unread context retains its small hidden indicator until announced. */
.ad-badge--counter { border-radius:var(--radius-round); background:var(--danger); border:var(--note-stroke) solid var(--bg); opacity:0; transition:opacity 0.3s; }
/* Badge counter: unread context reveals the existing indicator. */
.ad-card--unfaded,
.ad-banner--toast-visible,
.ad-badge--counter-visible { opacity:1; }
/* Card drawer: the edge panel retains its separating rule and quiet shadow. */
.ad-card--drawer { background:var(--surface); border-inline-start:var(--control-stroke) solid var(--border); box-shadow:calc(var(--sp-xs) * -1) 0 var(--sp-3xl) color-mix(in srgb,var(--bg) 40%,transparent); }
/* Card technical title: compact conversation headings retain their accent face. */
.ad-card--technical-title { font-size:var(--text-base); font-weight:var(--weight-label); color:var(--accent); font-family:var(--mono); letter-spacing:0.04em; }
/* Badge context: the current conversation context retains its compact accent wash. */
.ad-badge--context { background:var(--accent-bg); border:var(--control-stroke) solid color-mix(in srgb,var(--accent) 15%,transparent); border-radius:calc(var(--radius) * 2.5); font-size:var(--text-xs); font-family:var(--mono); color:var(--accent); }
/* Card scrollable: long conversation history uses the supported narrow scrollbar palette. */
.ad-card--scrollable { scrollbar-width:thin; scrollbar-color:var(--border) transparent; }
/* Card typing: the three waiting dots retain their shared muted circular appearance. */
.ad-card--typing :where(span) { border-radius:var(--radius-round); background:var(--muted); }
/* Card typing: the second dot retains its original stagger. */
.ad-card--typing :where(span:nth-child(2)) { animation-delay:0.2s; }
/* Card typing: the third dot retains its original stagger. */
.ad-card--typing :where(span:nth-child(3)) { animation-delay:0.4s; }
/* Input preview label: proposed field names retain their compact technical face. */
.ad-input--preview-label { font-size:var(--text-xs); color:var(--muted); font-family:var(--mono); text-transform:uppercase; letter-spacing:0.04em; }
/* Card preview value: proposed copy retains its quiet inset reading surface. */
.ad-card--preview-value { font-size:var(--text-sm); color:var(--text); line-height:1.5; background:var(--white-03); border-radius:var(--radius-xs); }
/* Tab strip: source choices retain the shared quiet baseline. */
.ad-tab--strip { border-block-end:var(--note-stroke) solid var(--border); }
/* Card expandable heading: an available disclosure retains its accent on hover. */

/* Card disclosure icon: expanded content retains its short directional transition. */
.ad-card--disclosure-icon { color:var(--muted); font-size:var(--text-base); transition:transform 0.2s; }
/* Card roomy corner: introductory cards retain their published larger corner. */
.ad-card--roomy-corner { border-radius:calc(var(--radius) * 1.5); }
/* Card dialog heading: introductions retain the smaller emphasized heading. */
.ad-card--dialog-headings :where(h2) { font-size:var(--text-lg); font-weight:var(--weight-label); color:var(--control-text); }
/* Card instruction step: numbered guidance retains the published reading rhythm. */
.ad-card--instruction-step { font-size:var(--text-md); color:var(--text); line-height:1.7; }
/* Card instruction step: key actions retain their accent emphasis. */

/* Badge step number: tutorial steps retain their compact filled circular identifier. */
.ad-badge--step-number { background:var(--accent); color:var(--bg); font-size:var(--text-xs); font-weight:var(--weight-strong); border-radius:var(--radius-round); line-height:calc(var(--text-md) * 1.375); }
/* Dialog scrim: unsaved changes retain the published background dimming. */

/* Dialog heavy scrim: introductory guidance retains the stronger published dimming. */
.ad-dialog--scrim-heavy { background:color-mix(in srgb,var(--bg) 85%,transparent); }
/* Dialog soft scrim: embedded pickers retain the lighter published dimming. */
.ad-dialog--scrim-soft { background:color-mix(in srgb,var(--bg) 70%,transparent); }
/* Card state label: explicit recovery state names retain their small uppercase emphasis. */
.ad-card--state-label { font-size:var(--text-sm); font-weight:var(--weight-label); text-transform:uppercase; }
/* Compact controls: shared labels retain their published narrow reading state. */
@media (max-width:640px) {
 /* Card drawer: narrow conversations have no separating side rule. */
 .ad-card--drawer { border-inline-start:0; }
 /* Card instruction step: narrow introductions retain their smaller reading size. */
 .ad-card--instruction-step { font-size:var(--text-sm); }
}

/* Banner form error: blocked setup keeps its explicit danger edge and message. */
.ad-banner--form-error { border:var(--control-stroke) solid var(--danger); border-inline-start-width:var(--status-stroke); border-radius:var(--radius-sm); background:color-mix(in srgb,var(--danger) 10%,transparent); color:var(--danger); font-size:var(--text-base); font-weight:var(--weight-medium); line-height:1.45; }
/* Banner form error: recovery links remain readable within their error message. */
.ad-banner--form-error :where(a) { color:inherit; text-decoration:underline; background:none; border:none; cursor:pointer; font:inherit; }
/* Banner warning strip: account caution retains its existing lower edge and words. */
.ad-banner--warning-strip { background:var(--warn-bg); border-block-end:var(--control-stroke) solid var(--warn); font-size:var(--text-sm); color:var(--warn); }
/* Badge requirement: required configuration keeps its small lowercase label. */

/* Badge optional: optional configuration keeps its small uppercase label. */
.ad-badge--optional { font-size:var(--text-xs); color:var(--muted); font-weight:var(--weight-regular); background:var(--white-06); border-radius:var(--radius-xs); text-transform:uppercase; letter-spacing:0.05em; }
/* Badge information: technical context retains its existing blue label wash. */
.ad-badge--information { background:var(--info-soft); color:var(--info); font-size:var(--text-xs); border-radius:var(--radius-xs); }
/* Banner detailed error: unavailable copy retains its detailed danger explanation. */
.ad-banner--detailed-error { background:var(--danger-bg); border:var(--control-stroke) solid color-mix(in srgb,var(--danger) 30%,transparent); border-radius:var(--radius-md); font-size:var(--text-base); color:var(--danger); line-height:1.6; }
/* Banner compact result: account notices retain their original six pixel corner. */
.ad-card--media-medium,
.ad-banner--compact-result { border-radius:var(--radius-md); }
/* Banner success boundary: available trials retain their accent wash and quiet edge. */
.ad-banner--success-bordered { background:var(--accent-bg2); border:var(--control-stroke) solid color-mix(in srgb,var(--accent) 25%,transparent); }
/* Banner danger boundary: expired trials retain their explicit danger edge. */
.ad-banner--danger-bordered { background:var(--danger-bg); border:var(--control-stroke) solid var(--danger); }
/* Card result caption: account notices retain their compact secondary reading tone. */
.ad-card--result-caption { font-size:var(--text-xs); color:color-mix(in srgb,var(--white) 70%,transparent); }
/* Card result caption: notice links retain their existing medium emphasis. */
:is(.ad-toggle--label,.ad-toggle--legend,.ad-table--label,.ad-table--term),
.ad-card--compact-headings :where(h2,h3),
.ad-card--selectable-facts :where(dt),
.ad-card--result-caption :where(a) { font-weight:var(--weight-label); }
/* Card accent boundary: a current review retains its existing emphasized edge. */
.ad-card--accent-boundary { border:var(--control-stroke) solid var(--accent); }
/* Card strong headings: reviewed destination names retain their existing strong ink. */
:where(.ad-card--white-ink),
.ad-card--control-ink,
.ad-card--strong-headings :where(h4) { color:var(--control-text); }
/* Card accent notice: detected configuration retains its small raised reading surface. */
.ad-card--accent-notice { background:var(--bg3,var(--surface2)); border:var(--control-stroke) solid var(--lime); border-radius:calc(var(--radius) * 1.25); }
/* Card accent notice: explanations retain the compact strong reading tone. */
.ad-card--accent-notice :where(p) { font-size:var(--text-xs); color:var(--control-text); }
/* Banner accent strip: available updates retain their original accent reading strip. */
.ad-banner--accent-strip { background:var(--lime-dim); border-block-end:var(--control-stroke) solid var(--lime); font-size:var(--text-xs); color:var(--control-text); }
/* Banner accent strip: the available download retains its emphasized link. */
.ad-banner--accent-strip :where(a) { color:var(--lime); font-weight:var(--weight-label); }
/* Banner warning box: missing destination details retain their amber boundary. */
.ad-banner--warning-box { border:var(--control-stroke) solid var(--warn); border-radius:var(--radius-sm); background:var(--warn-bg); }
/* Banner warning box: recovery links remain explicit and underlined. */
.ad-banner--warning-box :where(a) { color:var(--accent); text-decoration:underline; text-underline-offset:calc(var(--sp-xs) * 0.5); }
/* Card muted links: secondary support retains its quieter underlined link tone. */
.ad-card--muted-links :where(a) { color:var(--muted); text-decoration:underline; }
/* Card muted links: hover retains the existing readable emphasis. */

/* Banner starter: suggested starting points retain their quiet accent edge. */

/* Card accent kicker: suggested categories retain their compact technical face. */
.ad-card--accent-kicker { font-family:var(--mono); font-size:var(--text-2xs); letter-spacing:0.08em; text-transform:uppercase; color:var(--lime); }
/* Input rule label: saved rule categories retain their uppercase technical face. */
.ad-input--rule-label { font-family:var(--mono); text-transform:uppercase; font-size:var(--text-xs); color:var(--text); line-height:1.5; }
/* Input rule label: an ordinary native choice retains its explicit sans face. */
.ad-card--copy-sans,
.ad-input--rule-label:where(.ad-card--copy-sans) { font-family:var(--sans); }
/* Card linked copy: ordinary inline links retain their quiet unboxed appearance. */
.ad-card--linked,
.ad-card--linked-copy :where(a:not(.ad-button,.ad-nav-item)) { text-decoration:none; }
/* Card linked copy: ordinary inline links retain their underline on hover. */


/* Input template label: saved template names retain the ordinary compact form face. */
.ad-input--template-label { cursor:pointer; font-family:var(--sans); font-size:var(--text-xs); color:var(--muted); user-select:none; }
/* Input technical caption: print setting names retain their compact uppercase face. */
.ad-input--technical-caption { font-size:var(--text-2xs); color:var(--muted); font-family:var(--mono); text-transform:uppercase; letter-spacing:0.04em; }
/* Card picker step: acknowledged choices retain their ordinary text ink. */
/* Shared component states: these roles use the same declarations. */
.ad-banner--ruled:where([data-state=error],[data-state=blocked]):where(:not(.ad-banner--support)),
[data-ad-controls] .ad-card--text-headings h2,
[data-ad-controls] .ad-card--text-details :where(.ad-card--text),
.ad-card--footnote :where(a:hover),
:where(.ad-card--text),
.ad-card--strong-copy :where(strong),
.ad-card--quiet-disclosure:where([open]) > :where(summary),
.ad-card--muted-links :where(a:hover),
.ad-card--picker-step:where([data-state=done]) { color:var(--text); }
/* Badge picker number: unavailable steps retain their quiet circular boundary. */
.ad-badge--picker-number { border-radius:var(--radius-round); font-size:var(--text-sm); font-weight:var(--weight-strong); border:var(--note-stroke) solid var(--border); color:var(--muted); }
/* Badge picker number: current and acknowledged steps retain their accent circle. */
/* Primary task action: open inline editors take precedence over the outer task. */
.ad-button--task-primary:not(:disabled):not([aria-disabled=true]):where(:not(.ad-card--command:has(.ad-card--editor:not([hidden])) > .ad-card--actions > *,.ad-card--editor[hidden] *)),
.ad-card:where([data-current=true]) :where(.ad-badge--wizard-number), .ad-button--current-step:where(:not(:disabled,[aria-disabled=true])), .ad-button--primary:where(:not(:disabled,[aria-disabled=true],.ad-card--choices *)), .ad-card--picker-step:where([data-state=active],[data-state=done]) :where(.ad-badge--picker-number) { border-color:var(--accent); color:var(--bg); background:var(--accent); }
/* Primary buttons in forced colors: the system button face with a heavy text-colored border. */
@media (forced-colors:active) {
 /* Primary button: distinct from the selected fill. */
 .ad-button--primary:where(:not(:disabled,[aria-disabled=true],.ad-card--choices *)) { background:ButtonFace; border:var(--note-stroke) solid ButtonText; color:ButtonText; forced-color-adjust:none; }
}
/* Badge picker number: an acknowledged step retains its larger checkmark scale. */
.ad-card--body-base,
.ad-card--picker-step:where([data-state=done]) :where(.ad-badge--picker-number) { font-size:var(--text-base); }
/* Card step separator: waiting transitions retain their quiet boundary tone. */
.ad-card--meter-track-idle,
.ad-card--step-separator { background:var(--border); }
/* Card step separator: an acknowledged prerequisite retains its accent transition. */
.ad-card--picker-step:where([data-state=done]) + :where(.ad-card--step-separator) { background:var(--accent); }
/* Card subheading copy: picker explanations retain their compact secondary rhythm. */
.ad-card--subheading-copy { font-size:var(--text-sm); color:var(--white-55); line-height:1.5; }
/* Badge technical: selected records and print positions retain their quiet inset label. */
.ad-badge--technical { font-size:var(--text-xs); font-family:var(--mono); background:var(--surface2); border:var(--control-stroke) solid var(--border); border-radius:var(--radius-xs); color:var(--muted); }
/* Input compact technical: short provider fields retain their current label tone. */
.ad-input--compact-technical { font-size:var(--text-xs); font-weight:var(--weight-medium); color:var(--text-dim); }
/* Card surface: document frames and separated actions keep the ordinary reading surface. */
[data-ad-controls] .ad-card--surface,
[data-ad-storefront] :is(button,.ad-button),
.ad-card--picker-content :where(.ad-card--record),
.ad-card--surface { background:var(--surface); }
/* Card technical disclosure: optional print settings retain their compact uppercase label. */
.ad-card--technical-disclosure > :where(summary) { cursor:pointer; font-family:var(--mono); font-size:var(--text-2xs); text-transform:uppercase; letter-spacing:0.04em; color:var(--muted); user-select:none; }
/* Card technical disclosure: available print settings retain their accent hover. */

/* Card technical disclosure: the native reveal retains its small directional marker. */
.ad-card--technical-disclosure > :where(summary)::before { content:"▸"; transition:transform 0.15s; }
/* Card faint rule: optional fabric guidance retains its quiet leading separator. */
.ad-card--faint-rule { border-block-start:var(--control-stroke) solid var(--white-06); }
/* Card editing: an open product editor retains its active boundary. */
[data-ad-controls] .ad-card--accent-hover:hover,
[data-ad-controls] .ad-card--drop-area.ad-card--dragging,
.ad-card:where([data-current=true],[data-state=Ready]),
.ad-select--option:where([aria-selected=true]),
.ad-card--step:where([data-state=current],[data-state=done]),
.ad-card--drop-target:where(:hover,.ad-card--dragging,[data-state=dragging]),
.ad-card--editing { border-color:var(--accent); }
/* Card hover tint: selectable media retains its faint accent wash and boundary. */
.ad-card--hover-tint:where(:hover) { border-color:var(--accent); background:var(--accent-bg3); }
/* Card tight reading: recovery titles retain their published compact line rhythm. */
.ad-card--tight-leading { line-height:1.35; }
/* Card detail reading: retained source guidance keeps its published line rhythm. */
.ad-card--detail-leading { line-height:1.45; }
/* Compact controls: shared labels retain their published narrow reading state. */
@media (max-width:600px) {
 /* Input compact technical: narrow provider fields retain their original smaller scale. */
 .ad-input--compact-technical { font-size:var(--text-2xs); }
}
/* Compact controls: shared labels retain their published narrow reading state. */
@media (max-width:640px) {
 /* Card page headings: narrow workspaces retain the published title scale. */
 .ad-card--page-headings :where(h1) { font-size:var(--text-2xl); line-height:1.15; }
 /* Card responsive title: narrow introductions retain the original compact scale. */
 .ad-card--responsive-title { font-size:var(--text-lg); }
 /* Card picker step: narrow progress labels retain the original compact scale. */
 .ad-card--picker-step { font-size:var(--text-2xs); }
}

/* Navigation rail: retain the shared reading surface and separating rule. */
.ad-nav-item--rail { background:var(--app-sidebar-surface,var(--surface)); border-inline-end:var(--control-stroke) solid var(--app-sidebar-border,var(--border)); font-family:var(--app-sidebar-sans,var(--sans)); }
/* Navigation brand block: separate the wordmark from the destination list. */
.ad-nav-item--brand-block { border-block-end:var(--control-stroke) solid var(--app-sidebar-border,var(--border)); }
/* Navigation wordmark: the sidebar copy keeps the natural line height of its published face. */
.ad-nav-item--wordmark { line-height:normal; }
/* Brand wordmark: retain its authored face, weight, scale and spacing in one rule. */
[data-ad-controls] :is(.ad-nav-item--brand,.ad-nav-item--wordmark) { font-family:'DM Mono',monospace; font-weight:500; font-size:calc(var(--text-md) * 1.375); color:var(--text); letter-spacing:.05em; text-decoration:none; }
/* Navigation wordmark: the second word retains its existing accent. */
[data-ad-controls] .ad-card--accent-summary summary,
[data-ad-controls] .ad-nav-item--brand :is(span,.ad-nav-item--trademark),
[data-ad-controls] :where(.ad-card--accent-symbols > svg),
[data-ad-controls] :where(.ad-card--accent-links a),
.ad-card--connection-status:where([data-status-tone=ok]),
.ad-card--success,
.ad-card--accent-marker > :where(summary)::marker,
.ad-input--long-hint :where(a),
.ad-card--expandable-heading:where(:hover) :where(h3),
.ad-card--instruction-step :where(strong),
.ad-card--technical-disclosure > :where(summary:hover),
.ad-nav-item--wordmark :where(span) { color:var(--accent); }
/* Navigation version: installed version and entitlement retain their small technical face. */
.ad-nav-item--version { font-size:var(--text-xs); color:var(--app-sidebar-muted,var(--muted)); font-family:var(--app-sidebar-mono,var(--mono)); }
/* Navigation help: support retains its quiet technical action label. */
.ad-nav-item--help { display:inline-flex; align-items:center; min-block-size:var(--control-height); font-size:var(--text-xs); color:var(--app-sidebar-accent,var(--accent)); text-decoration:none; font-family:var(--app-sidebar-mono,var(--mono)); }
/* Navigation help: hover retains its explicit underline. */
.ad-nav-item--underline-hover:where(:hover),
.ad-card--linked-copy :where(a:not(.ad-button,.ad-nav-item):hover),
.ad-nav-item--help:where(:hover) { text-decoration:underline; }
/* Navigation legal: the owner retains the compact published reading rhythm. */
.ad-nav-item--legal { font-size:var(--text-2xs); color:var(--app-sidebar-muted,var(--muted)); font-family:var(--app-sidebar-mono,var(--mono)); line-height:1.5; }
/* Navigation legal: the owner link retains the surrounding secondary tone. */
.ad-nav-item--legal :where(a) { display:inline-flex; align-items:center; min-block-size:var(--control-height); color:inherit; text-decoration:none; }
/* Navigation legal: hover retains its stronger readable ink and underline. */
.ad-nav-item--legal :where(a:hover) { color:var(--app-sidebar-white,var(--white)); text-decoration:underline; }
/* Navigation account: the signed in identity retains its small inset surface. */
.ad-nav-item--account { background:var(--white-03); border:var(--control-stroke) solid var(--app-sidebar-border,var(--border)); border-radius:var(--radius-md); font-size:var(--text-xs); font-family:var(--app-sidebar-mono,var(--mono)); color:var(--app-sidebar-muted,var(--muted)); }
/* Navigation account icon: identity retains its fine accent outline. */
.ad-nav-item--account-icon { color:var(--app-sidebar-accent,var(--accent)); stroke-width:1.5; }
/* Navigation account name: the exact signed in address retains its readable tone. */
.ad-nav-item--account-name { color:var(--app-sidebar-text-primary,var(--text-primary,var(--app-sidebar-muted,var(--muted)))); }
/* Navigation signout: the compact account action retains its quiet default label. */
.ad-nav-item--signout { border-radius:calc(var(--radius) * 0.5); color:var(--app-sidebar-muted,var(--muted)); text-decoration:none; transition:background .15s,color .15s; }
/* Navigation signout: hover retains its explicit danger wash. */
.ad-nav-item--signout:where(:hover) { background:color-mix(in srgb,var(--danger) 10%,transparent); color:var(--app-sidebar-danger,var(--danger)); }
/* Compact controls: shared labels retain their published narrow reading state. */
@media (max-width:375px) {
 /* Navigation wordmark: the narrowest rail retains its published smaller scale. */
/* Shared component states: these roles use the same declarations. */
.ad-card--wordmark,
[data-ad-controls] .ad-nav-item--brand,
.ad-nav-item--wordmark { font-size:var(--text-lg); }
}
/* Compact controls: shared labels retain their published narrow reading state. */
@media (max-width:1023px) {
 /* Navigation menu: the existing compact toggle retains its unboxed appearance. */
 .ad-nav-item--menu { background:none; border:none; color:var(--app-sidebar-muted,var(--muted)); cursor:pointer; border-radius:var(--radius-md); }
 /* Navigation menu: hover and keyboard focus retain the same readable surface. */
 .ad-nav-item--menu:where(:hover,:focus-visible) { color:var(--app-sidebar-text,var(--text)); background:var(--app-sidebar-surface2,var(--surface2)); }
 /* Navigation menu: the existing menu symbol retains its outline weight. */
 .ad-nav-item--menu :where(svg) { stroke-width:1.75; }
 /* Navigation rail: compact identity has no separate account frame. */
 .ad-nav-item--rail:where(:not([data-rail-expanded=true])) :where(.ad-nav-item--account) { background:none; border:none; }
 /* Navigation rail: the expanded reading surface retains its separating shadow. */
 .ad-nav-item--rail:where([data-rail-expanded=true]) { box-shadow:var(--sp-xs) 0 var(--sp-2xl) color-mix(in srgb,var(--bg) 45%,transparent); }
}
/* Compact controls: shared labels retain their published narrow reading state. */
@media (max-width:600px) {
 /* Navigation drawer: the closed compact panel leaves no visible boundary. */
 .ad-nav-item--rail-drawer:where(:not([data-rail-expanded=true])) { border:0; }
}
/* Print controls: recorded labels retain their published print appearance. */
@media print {
 /* Card currency: the product printout retains its configured currency suffix. */
 .ad-card--currency-value::after { content:var(--artist-currency); }
}
/* css170(8) additions */
/* Footer card: a quiet boundary and secondary reading text. */
.ad-card--footer { border-block-start: var(--control-stroke) solid var(--border); color: var(--muted); font: inherit; font-size: var(--text-caption); line-height: 1.6; }
/* Footer link: retain the inherited ink and a visible underline. */
.ad-nav-item--footer-link { color: inherit; text-decoration: underline; text-underline-offset: var(--focus-offset); }
/* Footer link: keyboard focus uses the inherited high contrast ink. */
.ad-nav-item--footer-link:focus-visible { outline: var(--spinner-stroke) solid currentColor; outline-offset: var(--focus-offset); }

/* Card disclosure: the summary has one accent and native pointer state. */
.ad-card--accent-disclosure :where(summary) { cursor:pointer; color:var(--accent); }

/* Accent fill: navigation shortcuts retain their strong reading contrast. */
/* Loading: explicit waiting controls share the progress ring and faster cycle. */

/* Notice boundaries and surfaces compose with ordinary radius and reading roles. */
.ad-banner--notice-boundary { border:var(--control-stroke) solid var(--color-language-notice-border); }
/* Notice surface: keep the reviewed reading contrast. */
.ad-banner--notice-surface { background:var(--color-language-notice-surface); }
/* Notice text: short status messages retain their compact reading rhythm. */
.ad-card--reading-notice { color:var(--control-text); font-size:calc(var(--text-md) * 0.78); line-height:1.35; }
/* Review shadow: raise temporary notices above the surrounding workspace. */
.ad-card--review-shadow { box-shadow:0 var(--sp-sm) calc(var(--sp-xs) * 7) var(--color-review-shadow); }
/* Accent edges pair a subdued frame with a stronger leading boundary. */
.ad-card--accent-edge { border:var(--control-stroke) solid color-mix(in srgb,var(--accent) 36%,var(--border)); border-left:var(--status-stroke) solid var(--accent); }
/* Accent wash: preserve a quiet emphasis behind reviewed content. */
.ad-card--accent-wash { background:color-mix(in srgb,var(--accent) 4%,var(--surface2)); }
/* Action label: small standalone controls retain their existing sans emphasis. */
.ad-button--label { font:600 var(--text-sm) var(--sans); cursor:pointer; }

/* Merchant surfaces and ink compose independently across both storefront renderers. */
[data-ad-storefront] :is(.ad-card--merchant-surface,.ad-card--merchant-rule-end,.ad-card--merchant-rule-start) { background:var(--artist-bg,var(--sf-bg)); }
/* Merchant rules: the validated text palette supplies their quiet boundary. */
[data-ad-storefront] :is(.ad-card--merchant-rule-end,.ad-card--merchant-rule-start) { border-color:color-mix(in srgb,var(--artist-text,var(--sf-text)) 20%,transparent); }
/* Linked cards retain their unadorned product title and bounded media. */

/* Controls and hero content share the readable control ink independently of their surface. */

/* Artwork behind a reading overlay covers its frame without changing its source. */
.ad-card--cover-background { background-image:var(--artist-hero,none); background-size:cover; background-position:center; }

/* Brand names retain their authored medium weight independently of navigation wordmarks. */

/* Readable secondary details keep their scale when used inside ordinary content. */
.ad-nav-item--accent-link { color:var(--accent); text-decoration:underline; }

/* Outline-only symbols retain the native stroke width of their artwork. */
[data-ad-controls] .ad-card--outline-only svg { stroke:currentColor; fill:none; }

/* Connection cards share one stable skeleton across Settings, setup and Templates. */
.ad-card.ad-card--calm-connection {
 display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:auto auto auto;
 align-items:center; gap:var(--sp-xs) var(--sp-md); border:0; padding:0;
 background:transparent; margin-block-end:var(--sp-sm); min-inline-size:0;
}
/* Connection layout: keep controls aligned and reserve only the nearby result line. */
.ad-card--calm-connection :where(h3,.ad-card--connection-account,.ad-card--connection-status,.ad-card--connection-reason) { margin:0; min-inline-size:0; }
/* Connection layout: keep controls aligned and reserve only the nearby result line. */
.ad-card--calm-connection h3 { grid-column:1; grid-row:1; }
/* Connection layout: keep controls aligned and reserve only the nearby result line. */
.ad-card--calm-connection .ad-card--connection-account { grid-column:1; grid-row:2; min-block-size:1.5em; overflow-wrap:anywhere; }
/* Connection layout: keep controls aligned and reserve only the nearby result line. */
.ad-card--calm-connection .ad-card--connection-status { grid-column:2; grid-row:1; white-space:nowrap; }
/* Connection layout: keep controls aligned and reserve only the nearby result line. */
.ad-card--calm-connection .ad-card--connection-reason { grid-column:1/-1; grid-row:3; block-size:1.5em; overflow:auto; line-height:1.5; }
/* Connection card: expand a long reason without an internal scroll area. */
.ad-card--calm-connection-full-reason .ad-card--connection-reason { block-size:auto; min-block-size:1.5em; overflow:visible; }
/* Connection layout: keep controls aligned and reserve only the nearby result line. */
.ad-card--calm-connection .ad-button { grid-column:2; grid-row:2; inline-size:auto; min-inline-size:9rem; margin:0; white-space:nowrap; }
/* Connection layout: keep controls aligned and reserve only the nearby result line. */

/* Connection layout: keep controls aligned and reserve only the nearby result line. */
.ad-card--connection-field-row { display:flex; align-items:center; gap:var(--sp-sm); }
/* Connection layout: keep controls aligned and reserve only the nearby result line. */
.ad-card--connection-field-row input { min-inline-size:0; flex:1; }
/* Connection layout: keep controls aligned and reserve only the nearby result line. */
.ad-card--connection-field-row .ad-button { flex:none; white-space:nowrap; }
/* Connection layout: keep controls aligned and reserve only the nearby result line. */
.ad-card--connection-maintenance { display:flex; flex-wrap:wrap; align-items:start; gap:var(--sp-xs) var(--sp-md); margin-block-start:var(--sp-md); }
/* Connection layout: keep controls aligned and reserve only the nearby result line. */
.ad-card--connection-disconnect { position:relative; }
/* Connection confirmation: keep cancellation inline without moving the original control. */
.ad-card--connection-confirm { display:flex; align-items:center; flex-wrap:wrap; gap:var(--sp-sm); }
/* Connection confirmation: keep cancellation inline without moving the original control. */

/* Connection confirmation: keep cancellation inline without moving the original control. */
.ad-card--connection-confirm > span,
.ad-card--upload-tools > details[open],.ad-card--upload-sheet-content > p { flex-basis:100%; }
/* Connection layout: keep controls aligned and reserve only the nearby result line. */
.ad-card--connection-field-message { min-block-size:1.4em; block-size:1.4em; margin:var(--sp-xs) 0 0; line-height:1.4; overflow:auto; }
/* Connection confirmation: keep cancellation inline without moving the original control. */
.ad-card--connection-disconnect .ad-card--connection-confirm { min-inline-size:0; max-inline-size:100%; background:var(--surface); }
/* Connection confirmation: keep cancellation inline without moving the original control. */

/* Connection layout: keep controls aligned and reserve only the nearby result line. */
.ad-card--connection-disconnect .ad-button,
.ad-card--connection-cleanup .ad-button { white-space:nowrap; }
/* Connection layout: keep controls aligned and reserve only the nearby result line. */
.ad-card--connection-maintenance > .ad-card--connection-field-message { flex-basis:100%; margin:0; }
/* Connection layout: keep controls aligned and reserve only the nearby result line. */
.ad-card--connection-save-message { block-size:1.5em; overflow:auto; }
/* Connection layout: keep controls aligned and reserve only the nearby result line. */
.ad-card--connection-save-message p { margin:0; min-block-size:1.5em; }
/* Connection layout: keep controls aligned and reserve only the nearby result line. */

/* Template groups use the same separation with details open or closed. */
.ad-card--provider-body > details + .ad-card--provider-templates,
/* Connection layout: keep controls aligned and reserve only the nearby result line. */
.ad-card--provider-body > details ~ .ad-card--provider-templates { margin-block-start:var(--sp-lg); }
/* Template actions: keep every control the same width and touch height on small screens. */
.ad-card--template-actions .ad-button { white-space:nowrap; min-inline-size:max-content; }
/* Connection layout: keep the status and its quiet action together on small screens. */
@media(max-width:600px) {
 /* Template actions: keep every control the same width and touch height on small screens. */
 .ad-card.ad-card--calm-connection { grid-template-columns:minmax(0,1fr) auto; grid-template-rows:auto auto auto auto auto; }
 /* Connection layout: keep controls aligned and reserve only the nearby result line. */
 .ad-card--calm-connection :is(h3,.ad-card--connection-account) { grid-column:1/-1; }
 /* Connection layout: keep controls aligned and reserve only the nearby result line. */
 .ad-card--calm-connection .ad-card--connection-status { grid-column:1; grid-row:3; }
 /* Connection layout: keep controls aligned and reserve only the nearby result line. */
 .ad-card--calm-connection .ad-card--connection-reason { grid-row:4; }
 /* Connection layout: keep controls aligned and reserve only the nearby result line. */
 .ad-card--calm-connection .ad-button { grid-column:1/-1; grid-row:5; inline-size:100%; }
 /* Connection check: keep a mobile recheck beside its status as a quiet action. */
 .ad-card--calm-connection .ad-button[data-quiet-check] { grid-column:2; grid-row:3; inline-size:auto; min-inline-size:0; border:0; background:transparent; color:var(--accent); padding-inline:0; text-decoration:underline; }
 /* Template actions: keep every control the same width and touch height on small screens. */
 .ad-card--template-record .ad-card--template-actions { display:grid; grid-template-columns:minmax(0,1fr); gap:var(--sp-sm); }
 /* Template actions: keep every control the same width and touch height on small screens. */
 .ad-card--template-record :is(.ad-card--template-actions .ad-button,details > summary.ad-button) { inline-size:100%; min-inline-size:0; min-block-size:44px; margin-inline:0; }
}
/* Compact templates share a text column and one control of each kind. */
.ad-card--template-compact { display:grid; grid-template-columns:minmax(0,1fr); gap:var(--sp-md); align-items:center; padding:var(--sp-lg); margin:0; min-inline-size:0; }
/* Compact row copy carries its title, metadata and conditional state. */
.ad-card--template-copy { display:grid; gap:var(--sp-xs); min-inline-size:0; overflow-wrap:anywhere; }
/* Compact template copy and upload removal actions use the shared spacing rather than document margins. */
:where(.ad-card--template-compact,.ad-card--template-summary) :where(h3,p),
.ad-card--template-compact .ad-card--template-preview,
.ad-card--upload .ad-card--upload-files button { margin:0; }
/* Phone edit actions fill the available row. */
:where(.ad-card--template-compact) .ad-button { inline-size:100%; }
/* Set summaries separate their name, membership and usage. */
.ad-card--template-summary { display:grid; gap:var(--sp-sm); }
/* Wide compact row columns. */
@media (min-width:768px) {
 /* Wide list rows align preview, copy, price, toggle and edit. */
 .ad-card--template-compact { grid-template-columns:var(--preview-thumbnail) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) auto; }
 /* Missing previews leave the same text column. */
 :where(.ad-card--template-compact) .ad-card--template-copy { grid-column:2; }
 /* Wide edit actions retain the shared natural button measure. */
 :where(.ad-card--template-compact) .ad-button { inline-size:auto; }
}
/* Phone compact row tracks. */
@media (max-width:767px) {
 /* Phone previews share the first track with title and metadata. */
 .ad-card--template-compact { grid-template-columns:var(--sp-5xl) minmax(0,1fr); }
 /* Phone previews use the smaller shared spacing token. */
 .ad-card--template-compact .ad-card--template-preview { inline-size:var(--sp-5xl); }
 /* Copy stays in the second track when there is no preview. */
 :where(.ad-card--template-compact) .ad-card--template-copy { grid-column:2; }
 /* Price and controls follow across the full row. */
 :where(.ad-card--template-compact) > :where(p,.ad-toggle,.ad-button) { grid-column:1 / -1; }
}

/* Settings rows provide one full-width navigation target outside the application rail. */
.ad-nav-item--settings-row { display:grid; grid-template-columns:var(--control-icon-size) minmax(0,1fr) var(--control-icon-size); align-items:center; gap:var(--sp-md); min-block-size:var(--control-height); padding:var(--sp-lg); border:var(--control-stroke) solid var(--control-border); border-radius:var(--radius); color:var(--text); text-decoration:none; background:var(--surface); }
/* Settings section names and their current values remain in reading order. */
.ad-nav-item--settings-row-content { display:grid; min-inline-size:0; gap:var(--sp-xs); }
/* Settings row titles use the navigation reading face rather than card display type. */
.ad-nav-item--settings-row :where(.ad-card--label) { font-family:var(--sans); font-weight:var(--weight-medium); font-size:var(--text-base); }
/* Settings metadata keeps one line, with the full value retained in its title attribute. */
.ad-nav-item--settings-row-value { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--muted); font-size:var(--text-sm); }
/* Settings row symbols use the shared control dimensions. */
.ad-nav-item--settings-row :where(svg) { inline-size:var(--control-icon-size); block-size:var(--control-icon-size); }

/* Card: the shared upload composition contains a target and quiet disclosures. */
.ad-card--upload { display:block; inline-size:100%; padding:0; border:0; background:transparent; }
/* Card: one reading axis and a generous ready target use shared spacing tokens. */
.ad-card--upload > .ad-card--upload-target { box-sizing:border-box; display:grid; align-content:center; align-items:start; justify-items:start; gap:var(--sp-sm); min-block-size:320px; padding:var(--sp-lg); border:var(--spinner-stroke) dashed var(--accent); border-radius:var(--radius-lg); background:var(--surface2); cursor:pointer; text-align:start; }
/* Card: the ready and dragging Drop Zone centers its icon, heading and picker line in the dashed box. */
.ad-card--upload:is([data-state=ready],[data-state=dragging]) > .ad-card--upload-target { align-items:center; justify-items:center; text-align:center; }
/* Card: the ready picker line and its format hint wrap around the same center. */
.ad-card--upload:is([data-state=ready],[data-state=dragging]) .ad-card--upload-target [id$="-guidance"] { justify-content:center; }
/* Card: the downward image marker stays subordinate to the task heading. */
.ad-card--upload-target > :where(i,svg) { inline-size:40px; block-size:40px; color:var(--accent); stroke-width:1.5; }
/* Card: state changes settle before focus, including under reduced motion. */
.ad-card--upload-target,.ad-card--upload-target * { transition-property:none; animation-name:none; }
/* Card: a section label reports selection without competing with the page title. */
.ad-card--upload .ad-card--upload-target > h2 { margin:0; font-family:var(--sans); font-size:var(--text-lg); font-weight:var(--weight-medium); line-height:var(--copy-compact-leading); letter-spacing:normal; text-wrap:balance; }
/* Card: format guidance remains body copy, with no orphaned conjunction. */
.ad-card--upload-target p:not([data-upload-error]) { margin:0; color:var(--muted); font:var(--weight-regular) var(--text-sm)/var(--copy-body-leading) var(--sans); }
/* Button: tertiary actions use the shared action label and full touch target. */
.ad-card--upload :is(button,summary,a).ad-button--tertiary { min-inline-size:44px; min-block-size:44px; margin:0; padding-inline:0; font:var(--weight-medium) var(--text-sm)/var(--copy-compact-leading) var(--sans); }
/* Card: picker and format hint wrap on the same reading axis. */
.ad-card--upload-target [id$="-guidance"] { display:flex; flex-wrap:wrap; align-items:center; gap:0 var(--sp-sm); }
/* Card: a solid border and accent wash confirm the active drop target. */
.ad-card--upload[data-state=dragging] > .ad-card--upload-target { border-style:solid; background:var(--accent-soft); }
/* Card: keyboard focus marks the target and interactive descendants. */
.ad-card--upload:focus-visible { outline:0; }
/* Card: keyboard navigation outlines the complete upload target. */
.ad-card--upload:focus-visible > .ad-card--upload-target { outline:var(--focus-width) solid var(--accent); outline-offset:var(--sp-xs); }
/* Card: inner controls and validation retain their own visible focus. */
.ad-card--upload-target :focus-visible { outline:var(--focus-width) solid var(--accent); outline-offset:var(--spinner-stroke); }
/* Card: selections contract to content, with bounded scrolling for large batches. */
.ad-card--upload-selection { align-self:stretch; inline-size:100%; min-block-size:0; max-block-size:224px; overflow:auto; scrollbar-gutter:stable; text-align:start; }
/* Card: selected, checking and repair states keep the same compact reading order. */
.ad-card--upload:is([data-state=selected],[data-state=checking],[data-state=invalid],[data-state=blocked],[data-state=unavailable]) > .ad-card--upload-target { min-block-size:0; padding:var(--sp-lg); }
/* Card: selected and locked states use the compact image marker. */
.ad-card--upload:is([data-state=selected],[data-state=checking],[data-state=invalid],[data-state=blocked],[data-state=unavailable]) .ad-card--upload-target > :where(i,svg) { inline-size:32px; block-size:32px; }
/* Card: each file is one name, one factual size and one quiet removal action. */
.ad-card--upload .ad-card--upload-files { display:grid; gap:0; margin:0; padding:0; list-style:none; }
/* Card: file facts and their action align in three wrapping columns. */
.ad-card--upload-files > li { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:0 var(--sp-md); min-block-size:44px; border-block-start:var(--control-stroke) solid var(--border); overflow-wrap:anywhere; }
/* Card: filenames remain ordinary sans reading text. */
.ad-card--upload-file-name { min-inline-size:0; color:var(--text); font:var(--weight-regular) var(--text-sm)/var(--copy-body-leading) var(--sans); }
/* Card: only the factual size span uses technical mono text. */
.ad-card--upload-file-size { color:var(--muted); font:var(--weight-regular) var(--text-xs)/var(--copy-body-leading) var(--mono); white-space:nowrap; }
/* Card: errors follow their file and retain visible focus and actionable words. */
.ad-card--upload-files [data-upload-error] { grid-column:1 / -1; grid-row:2; margin:0 0 var(--sp-sm); }
/* Card: tertiary disclosures align with the target content. */
.ad-card--upload .ad-card--upload-tools { display:flex; flex-wrap:wrap; align-items:flex-start; gap:0 var(--sp-xl); margin-block-start:var(--sp-xs); padding-inline:var(--sp-lg); text-align:start; }
/* Card: disclosure panels can shrink within the upload width. */
.ad-card--upload-tools > details { min-inline-size:0; }
/* Card: expanded guidance stays subordinate to the file task. */
.ad-card--upload-tools p { margin:0; color:var(--muted); font-size:var(--text-sm); }
/* Card: details-sheet and destination actions share the existing wrapping layout. */
.ad-card--upload-sheet-content,
.ad-card--destination-line,
.ad-card--destination-line > p { display:flex; flex-wrap:wrap; align-items:center; gap:var(--sp-xs) var(--sp-lg); margin:0; padding:0; }
/* Card: long destination names wrap within the reading width. */
.ad-card--destination-line > p > span { min-inline-size:0; overflow-wrap:anywhere; }
/* Button: destination actions align with their adjacent text. */
.ad-card--destination-line > :where(button),.ad-card--destination-line > details > summary { padding-inline:0; }
/* Button: destination actions retain natural width on narrow screens. */
.ad-card--destination-line > button.ad-button { inline-size:auto; flex:none; }
/* Card: system colors preserve drop-target visibility in forced colors. */
@media (forced-colors:active) {
 /* Card: target borders use the system control ink. */
 .ad-card--upload > .ad-card--upload-target { border-color:ButtonText; }
}

/* Banner: page outcomes retain the normal gap from surrounding headings. */
.ad-banner--separated { margin-block:var(--sp-2xl); }

/* Card: comparison terms and body values share spacing without a list indent. */
.ad-card--comparison-facts { display:grid; gap:var(--sp-sm); margin:0; }
/* Card: comparison values wrap in their column without the browser indent. */
.ad-card--comparison-facts > dd { margin:0; overflow-wrap:anywhere; }
/* Card: separate each following comparison term from the preceding value. */
.ad-card--comparison-facts > dd + dt { margin-block-start:var(--sp-md); }
