@import './forced-colors.css';
/* Recommended application layer; intentional accessibility/reading adaptations. */
* { box-sizing: border-box; }
html { scrollbar-gutter:stable; color-scheme: var(--design-color-scheme,light); }
body { margin: 0; color: var(--text-regular); background: var(--background-surface-light); font: 400 1rem/1.5 var(--design-body-family,var(--font-family-secondary)); letter-spacing: normal; }
h1,h2,h3 { font-family: var(--design-heading-family,var(--font-family-brand)); font-weight: 400; line-height: 1.2; color: var(--text-strong); overflow-wrap: anywhere; }
h1 { line-height:1.1; font-size: clamp(2rem,5vw,var(--design-title-size,3.5rem)); letter-spacing:var(--design-heading-tracking,normal); }
h2 { font-size: clamp(1.5rem,3vw,2rem); }
button,input,select,textarea { font: inherit; }
button,a,input,select,summary { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--border-focused); outline-offset: 3px; }
a { color: var(--link-text-default); text-underline-offset: .2em; }
label { cursor: pointer; }
input:disabled,label:has(input:disabled) { cursor: not-allowed; }
.pl-button { --_r:var(--design-radius-button,100px); min-height: 44px; max-width:100%; min-width:0; white-space: normal; letter-spacing: normal; font-family:inherit; }
.pl-button.pl-button--lg { font-size:1rem; line-height:1.5; }
.pl-button.pl-button--md,.pl-button.pl-button--sm,.pl-button.pl-button--xs { font-size:var(--design-text-small,.875rem); line-height:1.5; }
.pl-button__label { min-width:0; overflow-wrap:anywhere; }
.pl-button::before { --_glow-room:0px; }
.pl-button--icon { min-width: 44px; min-height: 44px; }
.pl-field { min-width: 0; width: 100%; }
.pl-field__label,.pl-field__hint { letter-spacing: normal; }
.pl-field .pl-field__label,.pl-field .pl-field__hint { font-size:var(--design-text-small,.875rem); line-height:1.5; }
.pl-field .pl-field__input { font-size:1rem; line-height:1.5; }
.pl-field__input { border-radius:var(--design-radius-input,8px); width: 100%; min-width: 0; min-height: 44px; letter-spacing: normal; }
.pl-checkbox,.pl-radio,.pl-toggle { min-height: 44px; gap: 12px; }
.pl-checkbox__label,.pl-radio__label,.pl-toggle__label { letter-spacing: normal; }
.pl-checkbox,.pl-radio,.pl-toggle { min-width:0; max-width:100%; font-family:var(--design-body-family); }
.pl-checkbox__label,.pl-radio__label,.pl-toggle__label { min-width:0; white-space:normal; overflow-wrap:anywhere; font-size:var(--design-text-small,.875rem); line-height:1.5; color:var(--text-regular); }
.pl-checkbox__box,.pl-radio__dot { flex:none; }
.pl-checkbox__box,.pl-radio__dot,.pl-toggle__switch { --_border:var(--border-strong); }
.pl-checkbox__input:disabled + .pl-checkbox__box,.pl-radio__input:disabled + .pl-radio__dot,.pl-toggle__switch:disabled { opacity:.55; }
.pl-checkbox,.pl-radio { position: relative; }
code,pre { font-family: var(--font-family-code); }
pre { overflow-x: auto; max-width: 100%; }
.ds-shell { width: min(100% - 32px,var(--design-content-width,1120px)); margin: auto; padding-block: 32px 72px; }
.ds-header,.ds-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.ds-header { justify-content: space-between; border-bottom: 1px solid var(--border-light); padding-bottom: 24px; }
.ds-section { padding-block: var(--design-section-gap,24px); border-bottom: 1px solid var(--border-light); }
.ds-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,280px),1fr)); gap: 32px; }
.ds-stack { display: grid; gap: 16px; align-content: start; }
.ds-panel { border: 1px solid var(--border-regular); border-radius: var(--design-radius-card,12px); box-shadow:var(--design-shadow-panel,none); padding:var(--design-panel-padding,24px); min-width: 0; background: var(--background-surface-regular); }
.ds-intro { max-width: 65ch; }
.ds-status { min-height: 1.5em; }
.ds-skip { position: absolute; inset: 8px auto auto 8px; transform: translateY(-200%); background: var(--background-surface-light); padding: 8px; }
.ds-skip:focus { transform: none; }
.ds-tabs { display: flex; flex-wrap: wrap; gap: 16px; padding-block: 16px; }
fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
legend { margin-bottom: 8px; font-weight: 500; }
.ds-progress { display:flex; align-items:center; gap:12px; }
summary { min-height:44px; padding-block:10px; cursor:pointer; }
@media (prefers-reduced-motion:reduce) {
 *,*::before,*::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}
@media (forced-colors:active) {
 .pl-button { --_bg:ButtonFace!important; --_fg:ButtonText!important; --_icon:ButtonText!important; --_border:ButtonText!important; border:1px solid ButtonText; }
 .pl-button:disabled { --_fg:GrayText!important; --_icon:GrayText!important; --_border:GrayText!important; border-color:GrayText; }
 .pl-button .pl-button__label { color:var(--_fg); background-image:none; }
 .pl-checkbox__box,.pl-radio__dot { border:1px solid CanvasText; }
 .pl-checkbox__input,.pl-radio__input { position:static; opacity:1; width:24px; height:24px; }
 .pl-checkbox__box,.pl-radio__dot { display:none; }
 .pl-toggle__switch { appearance:auto; width:24px; height:24px; background:revert; box-shadow:none; border:revert; }
 .pl-toggle__switch::before { display:none; }
 .pl-toggle__switch:focus-visible { outline:3px solid Highlight; outline-offset:3px; }
 .pl-progress-det__bar { stroke:Highlight; }
 .pl-progress-det__track { stroke:CanvasText; }
}

/* Explicit user preference mirrors the device reduced-motion safeguard. */
html[data-motion="reduce"] *,html[data-motion="reduce"] *::before,html[data-motion="reduce"] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html[data-motion="reduce"]{--design-press-offset:0px}
@media(prefers-reduced-motion:reduce){:root{--design-press-offset:0px}}
.pl-field .pl-field__control{--_border:var(--border-strong);border-radius:var(--design-radius-input,8px);padding:6px 12px;min-height:56px}

.ds-workspace-link{width:min(100% - 32px,var(--design-content-width,1120px));margin:16px auto;padding:0}.ds-workspace-link a{display:inline-flex;align-items:center;min-height:44px}
