.system-main{max-width:1504px;margin:auto;padding:0 40px 70px}.system-heading{display:flex;justify-content:space-between;align-items:center;padding:48px 0 34px;gap:32px}.system-heading .eyebrow{margin:0 0 17px}.system-heading h1{font-size:clamp(2.9rem,5.1vw,5rem);letter-spacing:-.065em;margin:0 0 17px;line-height:1.02}.system-heading>div>p:last-child{margin:0;color:var(--muted);font-size:1.02rem}.system-heading-note{display:flex;align-items:center;gap:18px;color:var(--muted);font-size:.85rem;line-height:1.6}.mini-mark{font-size:4rem;color:var(--blue)}.seed-bar{background:#ebeedd;border:1px solid #d1d6bd;border-radius:15px;padding:22px 25px 15px;display:grid;grid-template-columns:190px 205px auto 240px;gap:15px 22px;align-items:end}.seed-bar label,.system-select,.seed-color>label{font-size:.76rem;font-weight:600;display:flex;flex-direction:column;gap:8px}.seed-color>div{display:flex;align-items:center;gap:9px;background:white;border:1px solid #838a76;border-radius:7px;padding:6px 10px}.seed-color input[type=color]{width:34px;height:32px;padding:0;border:0;background:transparent;flex-shrink:0}.seed-color input:not([type=color]){border:0;width:100%;min-width:0;font-family:monospace;font-size:1rem;background:white;color:#20221e}.seed-color>label{margin-bottom:8px}.system-select select{width:100%;min-width:0;margin:0;font-size:.85rem;min-height:46px}.seed-bar .button{height:46px;padding:10px 22px;justify-content:center;white-space:nowrap}.seed-bar>p{grid-column:1/-1;margin:0;color:#4d5442;font-size:.76rem}.project-actions{display:flex;justify-content:space-between;gap:16px;padding:20px 0;border-bottom:1px solid var(--line);margin-bottom:28px}.project-actions>div{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.quiet-button{background:transparent;border:1px solid transparent;padding:9px 10px;min-height:40px;border-radius:6px;font-size:.8rem;color:#33362e;font-weight:500;cursor:pointer}.quiet-button:hover{background:#e9ebdf}.quiet-button:disabled{opacity:.5;cursor:default}.quiet-button[aria-pressed=true]{background:#242720;color:#fff}.small-button{padding:10px 18px;font-size:.8rem;min-height:40px}.system-workspace{display:grid;grid-template-columns:264px minmax(0,1fr);gap:28px;align-items:start}.system-editor{border:1px solid #d3d6ca;background:#fff;border-radius:12px;padding:21px 20px}.editor-title h2{font-size:1.4rem;letter-spacing:-.035em;margin:0 0 15px}.segmented{display:flex;border:1px solid #cbd0c1;border-radius:7px;background:#f2f3ee;padding:3px;gap:3px;width:max-content;max-width:100%}.segmented button{border:0;background:transparent;padding:8px 13px;min-height:35px;cursor:pointer;border-radius:4px;color:#4b5042;font-size:.77rem;font-weight:500;white-space:nowrap}.segmented button[aria-pressed=true]{background:#252820;color:white}.editor-description{font-size:.77rem;color:#646b5a;margin:16px 0 22px;line-height:1.6}.core-tokens{display:grid;gap:17px}.token-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}.token-heading label{font-size:.8rem;font-weight:600}.lock-token{font-size:.66rem;line-height:1.1;padding:5px 7px;border:1px solid #d8dbd0;background:#fff;border-radius:5px;cursor:pointer;min-height:26px;color:#59604e}.lock-token[aria-pressed=true]{background:#e7edcf;border-color:#8b995f;color:#303f0d}.token-input{display:flex;align-items:center;gap:10px;padding:7px 10px;border:1px solid #909684;border-radius:7px}.token-input input[type=color]{width:34px;height:32px;flex-shrink:0;border:0;padding:0;background:transparent;cursor:pointer}.token-input input:not([type=color]){border:0;background:transparent;min-width:0;width:100%;font-family:monospace;font-size:.88rem;color:#20251b}.field-error{font-size:.75rem;color:#9d282c;display:block;line-height:1.5}.field-error:empty{display:none}.field-error:not(:empty){margin-top:6px}input[aria-invalid=true]{outline:2px solid #9d282c;outline-offset:2px}.more-tokens{border-top:1px solid #d8dbd0;margin-top:22px;padding-top:18px}.more-tokens summary{font-size:.77rem;font-weight:600;cursor:pointer}.more-tokens summary span{display:block;font-size:.7rem;font-weight:400;color:#626b55;margin:4px 0 0 14px}.more-tokens[open] .core-tokens{margin-top:20px}.derived-labels{display:flex;flex-direction:column;gap:6px;margin-top:20px;font-size:.68rem;color:#515847;line-height:1.5}.derived-labels code{font-size:.68rem}.system-editor>.caption{font-size:.71rem;margin-bottom:0;line-height:1.65}.canvas-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:18px}.compact-select select{font-size:.78rem;min-height:42px;padding:8px 26px 8px 10px;background:#f9faf5;border-color:#c1c7b4}.theme-previews{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.theme-previews.single-theme{grid-template-columns:minmax(0,1fr);max-width:850px;margin-inline:auto}.theme-card{min-width:0}.theme-caption{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:11px;font-size:.75rem;font-weight:600}.theme-caption>span:first-child{display:flex;align-items:center;gap:6px}.theme-dot{width:10px;height:10px;border-radius:50%;display:inline-block;border:1px solid #77816a;background:#fff}.theme-dot.dark{background:#252820}.check-badge{font-size:.62rem;white-space:nowrap;background:#e5eddc;border:1px solid #c2d6b5;color:#31522d;padding:4px 6px;border-radius:5px;font-weight:500}.check-badge.needs-work{background:#f7e8dc;border-color:#dcb899;color:#7d3d16}.demo-site{background:var(--p-background);color:var(--p-text);border:1px solid #757b6533;border-radius:10px;overflow:hidden;min-height:690px;font-size:14px}.demo-site[data-theme=dark]{color-scheme:dark}.demo-site[data-theme=light]{color-scheme:light}.demo-top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 23px;border-bottom:1px solid var(--p-border);font-size:.69rem}.demo-top strong{font-size:.8rem;letter-spacing:-.02em}.demo-tag{background:var(--p-accent);color:var(--p-on-accent);padding:5px 7px;border-radius:5px;font-size:.62rem;white-space:nowrap}.demo-landing,.demo-dashboard,.demo-article{padding:29px 24px 18px}.demo-overline{color:var(--p-muted);font-size:.59rem;text-transform:uppercase;letter-spacing:.12em;font-weight:650;margin:0 0 17px}.demo-site h3{font-size:clamp(1.8rem,2.55vw,2.7rem);line-height:1.07;letter-spacing:-.06em;font-weight:500;margin:0 0 19px}.demo-site h3 em{font-family:Georgia,serif;letter-spacing:-.055em}.demo-deck{font-size:.84rem;line-height:1.65;margin:0 0 20px}.demo-button{display:inline-flex;align-items:center;justify-content:space-between;gap:22px;padding:11px 15px;background:var(--p-primary);color:var(--p-on-primary);border:0;border-radius:6px;font-size:.75rem;font-weight:600;min-height:42px;cursor:pointer}.demo-button:hover{background:var(--p-primary-hover)}.demo-site :is(button,input,a):focus-visible{outline:3px solid var(--p-focus);outline-offset:4px}.demo-site input:not([type=checkbox]){display:block;width:100%;margin:8px 0 16px;padding:11px;background:var(--p-surface);color:var(--p-text);border:1px solid var(--p-border);border-radius:5px;min-height:42px;font:inherit;font-size:.78rem}.demo-site input::placeholder{color:var(--p-muted);opacity:1}.demo-site label{font-size:.72rem;color:var(--p-text)}.demo-site a{color:var(--p-link);font-size:.74rem;line-height:1.5;text-underline-offset:3px;text-decoration:underline}.demo-muted{color:var(--p-muted);font-size:.76rem;line-height:1.65}.demo-card{background:var(--p-surface);color:var(--p-text);padding:20px;border-radius:8px;margin:22px 0 0}.demo-card h4{font-size:1.32rem;font-weight:500;letter-spacing:-.045em;line-height:1.2;margin:17px 0 10px}.demo-card .demo-tag{display:inline-block}.demo-art{height:75px;display:flex;align-items:center;justify-content:center;margin-top:24px;overflow:hidden}.demo-art span{width:76px;height:76px;border-radius:50%;background:var(--p-primary)}.demo-art span:nth-child(2){border-radius:0;transform:rotate(45deg);background:var(--p-accent);margin-left:-14px}.demo-art span:nth-child(3){background:var(--p-text);border-radius:50% 50% 0 0;margin-left:-11px;transform:rotate(20deg)}.demo-feedback{font-size:.64rem;color:var(--p-muted);line-height:1.6;margin:17px 0 0;min-height:20px}.demo-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:25px 0}.demo-metrics>div{padding:17px 12px;background:var(--p-surface);border-radius:7px;display:flex;flex-direction:column;gap:5px}.demo-metrics small,.demo-metrics span{font-size:.65rem;color:var(--p-muted)}.demo-metrics strong{font-size:2rem;letter-spacing:-.05em;font-weight:500}.demo-chart{height:155px;display:flex;align-items:flex-end;justify-content:space-around;gap:14px;padding:20px 0 0;margin-bottom:27px}.demo-chart>div{height:100%;width:28%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:7px}.demo-chart span{background:var(--p-primary);width:65%;border-radius:5px 5px 0 0}.demo-chart>div:nth-child(2) span{background:var(--p-accent)}.demo-chart small{font-size:.55rem;white-space:nowrap;color:var(--p-muted)}.demo-checkbox{display:flex;gap:8px;align-items:center}.demo-checkbox input{accent-color:var(--p-primary);width:17px;height:17px}.demo-dashboard>.demo-button{margin-top:22px}.demo-rule{border-top:1px solid var(--p-border);margin:22px 0}.demo-article>p:not(.demo-overline){font-size:.81rem;line-height:1.85}.demo-article blockquote{margin:20px 0;padding:12px 16px;border-left:3px solid var(--p-primary);font-family:Georgia,serif;font-style:italic;font-size:1.15rem;line-height:1.4}.quality-strip{margin-top:20px;border-radius:8px;background:#ecefe2;padding:17px 20px;display:flex;justify-content:space-between;align-items:center;gap:20px}.audit-status{display:block;font-size:.91rem;font-weight:600;color:#304d24}.audit-status.has-failures{color:#903d1f}.quality-strip p{font-size:.73rem;color:#5b6450;margin:5px 0 0}.quality-strip .text-link{font-size:.77rem;white-space:nowrap}.comparison-panel{border-top:1px dashed #879475;margin-top:32px;padding-top:23px}.comparison-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:24px}.comparison-title h3{font-size:1.5rem;margin:9px 0 0;letter-spacing:-.04em}.comparison-title .eyebrow{margin:0}.system-section{padding-top:48px;margin-top:48px;border-top:1px solid var(--line);scroll-margin-top:20px}.system-section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px}.system-section h2{font-size:clamp(2.25rem,3.6vw,3.5rem);line-height:1.05;margin:15px 0 0;letter-spacing:-.055em}.system-section .eyebrow{margin:0}.check-actions{display:flex;align-items:flex-end;gap:15px;flex-wrap:wrap}.check-actions .button{font-size:.82rem;padding:12px 18px;min-height:46px}.section-explainer{max-width:820px;color:#626858;font-size:.9rem;line-height:1.75;margin:26px 0}.check-filters{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.check-filters>span{font-size:.8rem;color:#646b5a}.system-check-table{min-width:790px;background:#fff;font-size:.82rem}.system-check-table th,.system-check-table td{padding:14px 18px}.system-check-table th:first-child{min-width:230px}.system-check-table th small{display:block;text-transform:uppercase;letter-spacing:.08em;font-size:.59rem;color:#646b5a;font-weight:400;margin-bottom:3px}.system-check-table td:last-child{font-size:.74rem;font-weight:600}.pair-dot{display:inline-block;width:13px;height:13px;border:1px solid #77777755;border-radius:50%;vertical-align:middle}.system-check-table code{font-size:.72rem}.clear-checks{padding:25px;background:#edf2e7;color:#305124}.clear-checks p{margin:7px 0 0;font-size:.84rem}.system-details{border-top:1px solid #d3d8c8;margin-top:22px;padding-top:20px}.system-details summary{font-size:.9rem;font-weight:600;cursor:pointer;min-height:30px}.system-details>p{font-size:.82rem;color:#606853;line-height:1.7}.brand-ramp{display:flex;overflow-x:auto;gap:3px;padding:5px 0 10px}.brand-ramp button{min-width:84px;flex:1;border:0;border-radius:6px;display:flex;flex-direction:column;justify-content:space-between;min-height:105px;padding:12px 7px;cursor:pointer}.brand-ramp button span{font-size:.9rem}.brand-ramp small{font-family:monospace;font-size:.67rem}.system-export{display:grid;grid-template-columns:1fr 1.25fr;gap:65px;align-items:start}.system-export>div>p:not(.eyebrow){font-size:.88rem;line-height:1.8;color:#616853}.system-export .system-select{max-width:350px;margin-top:24px}.scale-option{display:flex;align-items:center;gap:8px;font-size:.78rem;margin:15px 0;color:#4f5844}.scale-option input{width:17px;height:17px;accent-color:#3448c5}.system-export textarea{resize:vertical;width:100%;min-height:470px;background:#22261e;color:#eef2e4;border:1px solid #585f4e;border-radius:12px;padding:25px;font-family:monospace;font-size:.76rem;line-height:1.8;white-space:pre;overflow:auto}.system-method{max-width:850px;margin:55px auto 0;padding-top:32px;border-top:1px solid #d3d8c8}.system-method h2{font-size:1.8rem;letter-spacing:-.04em}.system-method p{font-size:.84rem;line-height:1.8;color:#5c644f}.system-method a{font-size:.85rem}.studio-dialog{background:#f8f9f4;color:#242720;border:1px solid #b9c2a8;border-radius:16px;max-width:670px;width:calc(100% - 32px);max-height:85vh;padding:32px;box-shadow:0 18px 90px #0003}.studio-dialog::backdrop{background:#10170888}.studio-dialog h2{font-size:2.3rem;letter-spacing:-.05em;margin:15px 0 20px}.studio-dialog p,.studio-dialog li{font-size:.88rem;line-height:1.7}.studio-dialog ul{padding-left:21px}.dialog-close{position:absolute;right:15px;top:12px;font-size:1.5rem}.dialog-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.repair-change-list>div{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:10px 0;border-bottom:1px solid #d4dbc9;font-size:.77rem}.repair-change-list code{font-size:.73rem;white-space:nowrap}.repair-swatches{display:flex;gap:4px}.repair-swatches i{display:block;width:20px;height:20px;border-radius:4px;border:1px solid #8886}.studio-dialog textarea{display:block;width:100%;padding:14px;border:1px solid #7a8765;border-radius:7px;background:white;color:#242720;font-family:monospace;margin:8px 0 15px;resize:vertical}.studio-dialog label{font-size:.8rem;font-weight:600}.system-main .button:disabled{opacity:.5;cursor:default}.system-main .caption{line-height:1.65}.studio-dialog .eyebrow{margin-top:0}.system-main [hidden]{display:none!important}
@media(min-width:1450px){.system-workspace{grid-template-columns:280px minmax(0,1fr);gap:34px}.demo-site h3{font-size:3rem}.demo-landing,.demo-dashboard,.demo-article{padding:35px 28px 22px}.demo-site{min-height:730px}}
@media(max-width:1150px){.seed-bar{grid-template-columns:170px 190px 1fr}.seed-preset{grid-column:1/3;flex-direction:row;align-items:center;gap:16px}.seed-preset select{flex:1}.seed-bar>p{grid-column:1/-1}.system-heading-note{display:none}.system-main{padding-inline:28px}.system-workspace{grid-template-columns:230px minmax(0,1fr);gap:20px}.system-editor{padding:18px 15px}.theme-previews{gap:12px}.demo-landing,.demo-dashboard,.demo-article{padding:23px 17px 16px}.demo-top{padding:17px}.demo-top .demo-tag{display:none}.demo-site h3{font-size:2rem}.demo-card{padding:15px}.theme-caption{flex-wrap:wrap}.canvas-toolbar{flex-wrap:wrap}.segmented button{padding-inline:10px}.system-section-heading{align-items:flex-start}.check-actions{flex-direction:column;align-items:stretch}.system-export{gap:35px}.demo-art span{width:59px;height:59px}}
@media(max-width:850px){.system-workspace{grid-template-columns:1fr}.system-editor{padding:20px}.editor-title{display:flex;align-items:center;justify-content:space-between;gap:15px}.editor-title h2{margin:0}.editor-description{margin:13px 0 17px}.core-tokens{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 16px}.more-tokens[open] .core-tokens{margin-top:20px}.more-tokens summary span{display:inline;margin-left:10px}.derived-labels{flex-direction:row;flex-wrap:wrap;gap:10px;margin-top:15px}.system-editor>.caption{margin-top:8px}.demo-site h3{font-size:2.6rem}.demo-site{min-height:725px}.system-export{grid-template-columns:1fr 1fr}.seed-bar{gap:15px}.canvas-toolbar{margin-top:7px}.system-heading{padding-top:35px}.project-actions{margin-bottom:18px}.system-section-heading{flex-direction:column}.check-actions{flex-direction:row;align-items:flex-end;gap:12px;width:100%}.system-section{padding-top:34px;margin-top:34px}}
@media(max-width:550px){.system-main{padding:0 20px 45px}.system-heading{padding:28px 0 23px}.system-heading h1{font-size:2.9rem}.system-heading .eyebrow{font-size:.65rem;margin-bottom:13px}.system-heading>div>p:last-child{font-size:.88rem}.seed-bar{grid-template-columns:1fr 1fr;padding:17px 15px 14px;gap:13px 12px;border-radius:10px}.seed-bar .button{grid-column:1/-1}.seed-preset{grid-column:1/-1;display:block!important;font-size:.7rem!important}.seed-preset select{margin-top:7px}.seed-bar>p{font-size:.67rem;line-height:1.65}.seed-bar label,.seed-color>label{font-size:.66rem}.seed-color input[type=color]{width:25px;height:30px}.seed-color input:not([type=color]){font-size:.83rem}.seed-color>div{gap:6px;padding-inline:7px}.seed-bar select{font-size:.76rem;padding-right:20px}.project-actions{flex-direction:column;gap:7px;padding:12px 0}.project-actions>div{gap:3px;justify-content:space-between}.quiet-button{padding:8px 7px;font-size:.71rem}.system-editor{padding:17px 15px}.core-tokens{grid-template-columns:1fr 1fr;gap:12px}.token-heading label{font-size:.7rem}.token-input{padding:6px 7px;gap:6px}.token-input input[type=color]{width:28px;height:28px}.token-input input:not([type=color]){font-size:.78rem}.lock-token{font-size:.58rem;padding:4px;min-height:25px}.token-heading{gap:4px}.editor-title h2{font-size:1.25rem}.editor-description{font-size:.71rem}.canvas-toolbar{gap:8px}.canvas-toolbar .segmented{width:100%;justify-content:space-between}.canvas-toolbar .segmented button{flex:1}.compact-select{width:100%}.compact-select select{width:100%;font-size:.77rem}.theme-previews{grid-template-columns:1fr;gap:23px}.theme-caption{flex-wrap:nowrap;font-size:.77rem}.check-badge{font-size:.65rem}.demo-site{min-height:0}.demo-site h3{font-size:2.75rem}.demo-landing,.demo-dashboard,.demo-article{padding:28px 23px 18px}.demo-top{padding:19px 23px}.demo-top .demo-tag{display:block}.demo-card{padding:19px}.demo-art span{width:74px;height:74px}.demo-art{height:83px}.quality-strip{padding:16px;align-items:flex-start;flex-direction:column;gap:12px}.quality-strip .text-link{font-size:.75rem}.audit-status{font-size:.85rem}.system-section h2{font-size:2.5rem}.check-actions{flex-direction:column;align-items:stretch}.check-actions .system-select{width:100%}.section-explainer{font-size:.82rem}.check-filters{gap:8px;align-items:flex-start;flex-direction:column}.check-filters>span{font-size:.72rem;margin:3px 0}.system-check-table th,.system-check-table td{padding:12px 14px}.system-export{grid-template-columns:1fr;gap:22px}.system-export textarea{min-height:300px;padding:18px;font-size:.72rem}.system-export .system-select{max-width:none}.system-export .export-actions{flex-direction:row}.system-export .button{padding:12px 17px;font-size:.82rem}.system-method{margin-top:35px}.system-method h2{font-size:1.6rem}.studio-dialog{padding:25px 20px}.studio-dialog h2{font-size:2rem}.dialog-actions{flex-direction:column}.repair-change-list>div{flex-wrap:wrap;gap:7px}.repair-change-list>div>span:first-child{width:100%}.comparison-title{align-items:flex-start}.comparison-title h3{font-size:1.3rem}.brand-ramp button{min-width:78px}.system-details summary{font-size:.83rem}}
@media(prefers-reduced-motion:reduce){.system-main *{scroll-behavior:auto!important;transition:none!important}}

.project-actions{position:sticky;top:0;z-index:6;background:#f7f7f2}.mobile-workspace-switch{display:none}
@media(max-width:550px){.mobile-workspace-switch{display:flex;width:100%;margin-bottom:20px}.mobile-workspace-switch button{flex:1}.system-workspace[data-mobile-view=preview] .system-editor{display:none}.system-workspace[data-mobile-view=edit] .system-canvas{display:none}}

.system-details .matrix{min-width:1500px}

.brand-provenance{padding:16px 2px 0;font-size:.73rem;color:#525b46}.brand-provenance>div{display:flex;gap:9px 22px;flex-wrap:wrap;margin-top:8px}.brand-provenance span{display:flex;align-items:center;gap:6px}.brand-provenance code{font-size:.73rem}.brand-provenance i{width:12px;height:12px;display:inline-block;border-radius:3px;border:1px solid #7775}.demo-button:hover{text-decoration:underline;text-underline-offset:3px}

#checks,#export{scroll-margin-top:85px}@media(max-width:550px){#checks,#export{scroll-margin-top:130px}}

.mobile-workspace-switch{scroll-margin-top:120px}

#state-notice input{display:block;width:100%;padding:12px;margin-top:10px;border:1px solid #7c8966;border-radius:6px;color:#242720;background:white}
