/* A local color studio. All interface styles are scoped to the tool page. */
.cp-page{--cp-ui-ink:#24283a;--cp-ui-muted:#686b7b;--cp-ui-line:#e5e4ea;--cp-ui-soft:#f7f6f9;max-width:1400px;color:var(--cp-ui-ink)}
.cp-heading{margin:12px 0 27px;align-items:flex-end}.cp-heading .eyebrow{font-size:10px;letter-spacing:2px;color:#6b60a4}.cp-heading h1{font-size:35px;letter-spacing:-1px}.cp-heading p:not(.eyebrow){color:var(--cp-ui-muted);max-width:790px;font-size:14px;line-height:1.85}.cp-heading-note{display:flex;align-items:flex-end;flex-direction:column;gap:10px;flex-shrink:0}.cp-heading-note>span:last-child{font-size:10px;color:var(--cp-ui-muted)}
.cp-workbench{border:1px solid #dcdae5;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 10px 40px #24283a07;isolation:isolate}.cp-workbench:focus-visible{outline:3px solid #7762c0;outline-offset:4px}.cp-workbench h2,.cp-workbench h3,.cp-workbench h4{color:inherit}.cp-workbench button,.cp-workbench select,.cp-workbench input,.cp-workbench textarea{color:var(--cp-ui-ink)}.cp-workbench button{border:1px solid var(--cp-ui-line);border-radius:8px;background:#fff;font-size:12px;min-height:36px;padding:7px 12px;transition:background .16s,border-color .16s,box-shadow .16s}.cp-workbench button:hover{background:#f7f6fa;border-color:#c6c2d8}.cp-workbench button:focus-visible,.cp-workbench input:focus-visible,.cp-workbench select:focus-visible,.cp-workbench summary:focus-visible,.cp-workbench textarea:focus-visible{outline:3px solid #7762c0;outline-offset:3px}.cp-workbench button:disabled{opacity:.5;cursor:default}.cp-workbench svg{display:block;width:16px;height:16px;flex-shrink:0}
.cp-studio-bar{display:flex;justify-content:space-between;gap:20px;align-items:center;min-height:69px;padding:17px 23px;border-bottom:1px solid var(--cp-ui-line);background:#fff}.cp-studio-brand{display:flex;gap:11px;align-items:center;min-width:0}.cp-studio-brand strong{font-size:12px;letter-spacing:1.5px;font-weight:750;white-space:nowrap}.cp-studio-brand>span:last-child{font-size:11px;color:var(--cp-ui-muted);padding-left:15px;border-left:1px solid var(--cp-ui-line)}.cp-brand-mark{display:flex;transform:rotate(-16deg);width:30px;height:25px;position:relative;flex-shrink:0}.cp-brand-mark i{width:13px;height:22px;border-radius:4px;border:1px solid #fff;position:absolute;top:0}.cp-brand-mark i:nth-child(1){background:#ffd082;left:0;transform:rotate(-18deg)}.cp-brand-mark i:nth-child(2){background:#85ceb3;left:9px}.cp-brand-mark i:nth-child(3){background:#7166d9;left:17px;transform:rotate(18deg)}.cp-top-actions{display:flex;gap:8px;align-items:center;flex-shrink:0}.cp-top-actions #cp-share{font-size:11px}.cp-top-actions #cp-share span{margin-left:6px}.cp-top-actions .cp-quiet{border-color:transparent;background:transparent;color:var(--cp-ui-muted)}
.cp-workspace{display:grid;grid-template-columns:240px minmax(0,1fr)}.cp-control-panel{background:#fbfafc;border-right:1px solid var(--cp-ui-line);padding:25px 21px}.cp-section-kicker{display:flex;align-items:center;gap:9px;margin-bottom:20px}.cp-section-kicker>span{font:10px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace;color:#8b839e;border:1px solid #dcd9e5;border-radius:5px;padding:3px 5px}.cp-section-kicker h2{font-size:13px;font-weight:650;margin:0;letter-spacing:-.2px}.cp-base-picker{display:grid;grid-template-columns:52px minmax(0,1fr);grid-template-rows:auto auto;gap:7px 10px;align-items:center}.cp-color-label{grid-column:1/-1;font-size:11px;color:var(--cp-ui-muted);margin-bottom:1px}.cp-base-picker #cp-color{width:52px;height:42px;border:1px solid #d6d1e5;border-radius:9px;padding:3px;background:#fff;cursor:pointer;grid-row:2/4}.cp-base-picker #cp-color::-webkit-color-swatch-wrapper{padding:0}.cp-base-picker #cp-color::-webkit-color-swatch{border:0;border-radius:5px}.cp-base-picker #cp-color::-moz-color-swatch{border:0;border-radius:5px}.cp-hex-label{font-size:9px;color:var(--cp-ui-muted);line-height:1.1}.cp-hex-wrap{position:relative;min-width:0}.cp-hex-wrap input{width:100%;padding:5px 24px 5px 9px;min-height:30px;border:1px solid #d9d5e2;border-radius:7px;background:#fff;letter-spacing:.5px;font:12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;text-transform:uppercase}.cp-hex-wrap>span{position:absolute;right:9px;top:50%;transform:translateY(-50%);font-size:12px;color:#9c95ae;pointer-events:none}.cp-input-hint{font-size:10px;color:var(--cp-ui-muted);line-height:1.7;margin:10px 0}.cp-error{font-size:11px;line-height:1.6;background:#fff0f1;color:#a42439;padding:9px 10px;border:1px solid #f2c6ce;border-radius:7px;overflow-wrap:anywhere}.cp-presets{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;margin:12px 0 21px}.cp-presets button{min-height:30px;padding:4px;background:transparent;border:1px solid transparent;display:grid;place-items:center}.cp-presets button:hover,.cp-presets button[aria-pressed=true]{background:#fff;border-color:#c5bed7}.cp-presets span{width:19px;height:19px;display:block;border-radius:50%;background:var(--cp-preset);box-shadow:inset 0 0 0 1px #00000012}.cp-field{display:block;margin:16px 0 0}.cp-field>span,.cp-control-label{display:block;font-size:11px;color:#525565;margin-bottom:7px;font-weight:550}.cp-field select{border:1px solid #d9d5e2;border-radius:8px;background:#fff;width:100%;padding:10px 8px;font-size:11px;min-height:40px}.cp-workbench .cp-primary-action{background:#292735;border:1px solid #292735;color:#fff;font-weight:600;font-size:12px;min-height:39px}.cp-workbench .cp-primary-action:hover{background:#454054;border-color:#454054}.cp-control-panel>.cp-primary-action{width:100%;margin-top:19px}.cp-control-panel>.cp-primary-action>span{font-size:16px;margin-right:3px}.cp-setting-note{color:var(--cp-ui-muted);font-size:10px;line-height:1.8;margin:12px 0 0}.cp-control-divider{border-top:1px solid var(--cp-ui-line);margin:26px 0 23px}.cp-segmented{display:flex;gap:3px;padding:3px;border:1px solid #e0dce9;border-radius:9px;background:#f1eff5}.cp-segmented button{border:1px solid transparent;background:transparent;color:var(--cp-ui-muted);padding:6px 10px;flex:1;min-width:0;min-height:32px;font-size:11px}.cp-segmented button[aria-pressed=true]{background:#fff;color:var(--cp-ui-ink);border-color:#ddd8e8;box-shadow:0 2px 3px #24283a05}.cp-segmented button>span{margin-right:3px}.cp-template-label{margin-top:18px}.cp-template-options{display:flex;flex-direction:column;gap:5px}.cp-template-options button{min-height:34px;font-size:11px;text-align:left;border-color:transparent;background:transparent;padding:7px 10px;color:#656477;position:relative}.cp-template-options button[aria-pressed=true]{background:#ebe8f4;border-color:#ddd7ed;color:#4e4478;font-weight:600}.cp-template-options button[aria-pressed=true]:after{content:'✓';float:right;color:#685b96}.cp-workflow-note{padding:15px 0 0;margin-top:25px;border-top:1px solid var(--cp-ui-line);display:flex;gap:9px;color:var(--cp-ui-muted)}.cp-workflow-note>span{color:#8c7bae;font-size:17px;line-height:1.5}.cp-workflow-note strong{font-size:10px;color:#5e566f;font-weight:650}.cp-workflow-note p{font-size:10px;line-height:1.8;margin:5px 0 0}
.cp-stage{padding:25px 25px 24px;min-width:0}.cp-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}.cp-section-heading h2{margin:0;font-size:15px;letter-spacing:-.3px;font-weight:650}.cp-overline{font-size:8px;letter-spacing:1.5px;font-weight:650;color:#8b839e;margin:0 0 5px;line-height:1.5}.cp-card-controls{display:flex;gap:7px;align-items:center;flex-shrink:0}.cp-format-label{font-size:10px;color:var(--cp-ui-muted)}.cp-card-controls select{font-size:10px;padding:6px 6px;border:1px solid var(--cp-ui-line);background:#fff;border-radius:6px;min-height:31px;max-width:90px}.cp-workbench .cp-text-button{font-size:10px;min-height:31px;padding:5px 7px;border-color:transparent;background:transparent;color:#716584}.cp-workbench .cp-text-button:hover{background:#f4f1f9}.cp-swatches{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.cp-swatch{border:1px solid var(--cp-ui-line);border-radius:11px;min-width:0;overflow:hidden;background:#fff;box-shadow:0 2px 6px #24283a03}.cp-swatch-color{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:109px;overflow:hidden}.cp-workbench button.cp-swatch-color{padding:0;min-height:109px;border:0;border-radius:0;font-size:11px;font-weight:600;transition:filter .14s}.cp-workbench button.cp-swatch-color:hover{filter:none}.cp-swatch-color:after{content:'复制';font-size:10px;position:absolute;right:9px;bottom:8px;padding:2px 5px;border-radius:4px;background:#00000012;opacity:0;transition:opacity .15s;pointer-events:none}.cp-swatch-color:hover:after,.cp-swatch-color:focus-visible:after{opacity:1}.cp-swatch-body,.cp-swatch-info{padding:12px 10px 8px;min-width:0}.cp-swatch h3,.cp-swatch-name{font-size:10px;font-weight:600;margin:0 0 4px;line-height:1.5;color:#716981}.cp-swatch-hex,.cp-swatch code,.cp-swatch-value{font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.2px;overflow-wrap:anywhere}.cp-swatch-actions{display:flex;align-items:center;gap:4px;padding:0 8px 9px}.cp-swatch-edit{width:28px;height:28px;min-width:28px;padding:3px;border:1px solid var(--cp-ui-line);border-radius:6px;cursor:pointer;background:white}.cp-swatch-edit::-webkit-color-swatch-wrapper{padding:0}.cp-swatch-edit::-webkit-color-swatch{border:0;border-radius:3px}.cp-swatch-edit::-moz-color-swatch{border:0;border-radius:3px}.cp-workbench .cp-swatch-lock{padding:4px;min-height:28px;min-width:28px;border-color:transparent;background:transparent;font-size:12px;display:flex;align-items:center;justify-content:center;color:#7c738c}.cp-workbench .cp-swatch-lock[aria-pressed=true]{background:#efeaf9;color:#5a437d;border-color:#e1d5f4}.cp-workbench .cp-swatch-use{padding:4px 5px;min-height:28px;margin-left:auto;border-color:transparent;background:transparent;font-size:9px;color:#726680;white-space:nowrap}.cp-workbench .cp-swatch-use:hover{border-color:#e0d8ee;background:#f5f0fb}.cp-swatch[data-locked=true]{border-color:#b8a9d2}.cp-loading{grid-column:1/-1;min-height:160px;display:grid;place-items:center;font-size:12px;color:var(--cp-ui-muted);border:1px dashed var(--cp-ui-line);border-radius:10px;margin:0}.cp-card-hint{font-size:10px;color:var(--cp-ui-muted);margin:11px 0 0}.cp-scale-section{margin-top:24px;padding:17px 0 20px;border-top:1px solid #f0edf5;border-bottom:1px solid #f0edf5}.cp-scale-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}.cp-scale-heading h2{font-size:11px;font-weight:600;margin:0}.cp-scale-heading h2 span{font:9px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace;color:#8d859c;margin-left:8px}.cp-scale-heading p{font-size:9px;color:var(--cp-ui-muted);margin:0}.cp-scale{display:grid;grid-template-columns:repeat(11,minmax(0,1fr));gap:3px;min-width:0}.cp-chip{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0}.cp-workbench .cp-chip{border:0;padding:0;background:none;font-size:9px;min-height:54px;border-radius:5px;color:var(--cp-ui-muted)}.cp-chip>span:first-child,.cp-chip-color{display:block;width:100%;height:30px;border-radius:4px;box-shadow:inset 0 0 0 1px #00000007}.cp-chip code,.cp-chip-hex{font:7px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;color:#6f677d;white-space:nowrap}.cp-chip-label{font-size:9px;font-variant-numeric:tabular-nums}.cp-chip:first-child>span:first-child{border-radius:6px 3px 3px 6px}.cp-chip:last-child>span:first-child{border-radius:3px 6px 6px 3px}.cp-chip:hover{filter:none}
.cp-preview-section{margin-top:23px}.cp-mode-badge{font-size:10px;color:#746989;padding:4px 8px;border:1px solid #e2dcec;border-radius:5px;background:#faf8fd;white-space:nowrap}.cp-preview-frame{border:1px solid #d9d5e2;border-radius:12px;overflow:hidden;box-shadow:0 5px 18px #24283a06}.cp-browser-bar{height:32px;display:flex;align-items:center;padding:0 12px;gap:12px;border-bottom:1px solid #e8e4ef;background:#f7f5fa;color:#8c859a}.cp-browser-dots{display:flex;gap:4px;flex-shrink:0}.cp-browser-dots i{width:5px;height:5px;border-radius:50%;background:#d4cedf}.cp-browser-url{font:8px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.2px;flex:1;text-align:center}.cp-browser-icon{font-size:12px}.cp-preview{--cp-bg:#f7f7fc;--cp-surface:#fff;--cp-text:#252337;--cp-muted:#6f6b85;--cp-primary:#635bff;--cp-on-primary:#fff;--cp-accent:#e8b768;--cp-on-accent:#352717;--cp-border:#b3aeca;background:var(--cp-bg);color:var(--cp-text);padding:23px 30px 17px;transition:background-color .18s,color .18s}.cp-preview-nav{display:flex;align-items:center;gap:20px;min-height:29px;margin-bottom:35px}.cp-preview-logo{display:flex;gap:7px;align-items:center;font-size:16px;letter-spacing:-.5px}.cp-preview-logo>span{color:var(--cp-primary);font-size:20px}.cp-preview-logo strong{font-weight:700}.cp-preview-nav-links{display:flex;gap:18px;margin-left:auto;font-size:9px;color:var(--cp-muted)}.cp-preview-nav-chip{border:1px solid var(--cp-border);font-size:8px;padding:5px 8px;border-radius:5px;white-space:nowrap}.cp-preview-nav-chip>span{margin-left:5px}.cp-preview-content{display:grid;grid-template-columns:1.1fr 1fr;gap:30px;align-items:center;min-height:279px}.cp-preview-eyebrow{display:inline-block;background:var(--cp-accent);color:var(--cp-on-accent);font-size:8px;line-height:1.5;font-weight:600;border-radius:4px;padding:4px 7px;margin-bottom:13px}.cp-preview-copy h3{font-size:30px;line-height:1.4;letter-spacing:-1px;margin:0 0 12px;font-weight:700;text-wrap:balance}.cp-preview-copy>p{font-size:11px;line-height:1.9;color:var(--cp-muted);max-width:330px;margin:0 0 20px}.cp-preview-actions{display:flex;gap:8px;flex-wrap:wrap}.cp-workbench #cp-preview-primary{background:var(--cp-primary);color:var(--cp-on-primary);border-color:var(--cp-primary);padding:8px 11px;border-radius:6px;font-size:10px;min-height:33px;cursor:default;box-shadow:0 3px 8px #00000007}.cp-workbench #cp-preview-primary>span{margin-left:8px}.cp-workbench #cp-preview-secondary{background:var(--cp-surface);border-color:var(--cp-border);color:var(--cp-text);padding:8px 11px;border-radius:6px;font-size:10px;min-height:33px;cursor:default}.cp-preview-trust{display:flex;align-items:center;gap:9px;margin-top:20px;font-size:8px;color:var(--cp-muted)}.cp-preview-avatars{display:flex;gap:0;padding-right:0}.cp-preview-avatars i{font-size:7px;line-height:20px;text-align:center;font-style:normal;border:2px solid var(--cp-bg);width:22px;height:22px;display:block;border-radius:50%;margin-left:-5px;background:var(--cp-accent);color:var(--cp-on-accent)}.cp-preview-avatars i:first-child{margin-left:0;background:var(--cp-primary);color:var(--cp-on-primary)}.cp-preview-avatars i:last-child{background:var(--cp-surface);color:var(--cp-text);border-color:var(--cp-border)}.cp-preview-feature{padding:19px;background:var(--cp-surface);border:1px solid var(--cp-border);border-radius:11px;box-shadow:0 10px 22px #00000004;min-width:0}.cp-preview-feature-top{display:flex;justify-content:space-between;gap:9px;align-items:center;margin-bottom:14px}.cp-preview-feature-symbol{font-size:20px;color:var(--cp-primary)}.cp-preview-tag{font-size:8px;padding:4px 7px;border-radius:4px;background:var(--cp-accent);color:var(--cp-on-accent);font-weight:600}.cp-preview-feature h4{font-size:14px;letter-spacing:-.2px;margin:0 0 7px;line-height:1.6}.cp-preview-feature>p{font-size:9px;color:var(--cp-muted);line-height:1.8;margin:0 0 15px}.cp-preview-metrics{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:9px}.cp-preview-metrics strong{display:block;font:600 21px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.5px}.cp-preview-metrics span{display:block;font-size:8px;color:var(--cp-muted);margin-top:3px}.cp-preview-progress{height:4px;border-radius:4px;background:var(--cp-bg);overflow:hidden;margin:13px 0 17px}.cp-preview-progress>span{width:86%;display:block;height:100%;background:var(--cp-primary);border-radius:4px}.cp-preview-form{display:flex;flex-direction:column;gap:5px;padding-top:12px;border-top:1px solid var(--cp-border)}.cp-preview-form label{font-size:8px;color:var(--cp-muted)}.cp-workbench .cp-preview-form input{min-width:0;width:100%;border:1px solid var(--cp-border);background:var(--cp-bg);color:var(--cp-text);font-size:9px;border-radius:5px;padding:8px 8px;min-height:32px}.cp-preview-form-meta{font-size:7px;color:var(--cp-muted);line-height:1.6}.cp-preview-bottom{display:flex;justify-content:space-between;gap:12px;font-size:7px;color:var(--cp-muted);border-top:1px solid var(--cp-border);margin-top:28px;padding-top:13px}.cp-preview-bottom>span:first-child{display:flex;align-items:center;gap:5px}.cp-preview-bottom i{width:4px;height:4px;border-radius:50%;background:var(--cp-primary);display:inline-block}.cp-preview-caption{font-size:10px;line-height:1.8;color:var(--cp-ui-muted);margin:11px 0 0}.cp-preview[data-cp-view=commerce] .cp-preview-feature-symbol{font-size:24px}.cp-preview[data-cp-view=b2b] .cp-preview-feature{border-radius:7px}.cp-preview[data-cp-view=b2b] .cp-preview-actions button{border-radius:4px}
.cp-specification-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:24px;margin:27px 0 0}.cp-token-panel,.cp-contrast-panel{min-width:0}.cp-specification-grid .cp-section-heading{margin-bottom:12px;gap:8px}.cp-specification-grid .cp-section-heading h2{font-size:13px}.cp-section-small{font-size:8px;color:var(--cp-ui-muted);white-space:nowrap}.cp-role-list{border:1px solid var(--cp-ui-line);border-radius:10px;overflow:hidden}.cp-token-row{display:flex;align-items:center;gap:8px;padding:9px 11px;border-bottom:1px solid #eeebf3;font-size:10px;min-height:38px;min-width:0;position:relative}.cp-token-row:last-child{border-bottom:0}.cp-workbench button.cp-token-row{border:0;border-bottom:1px solid #eeebf3;border-radius:0;display:flex;align-items:center;width:100%;text-align:left;font-size:10px;background:#fff;padding:9px 11px}.cp-workbench button.cp-token-row:last-child{border-bottom:0}.cp-workbench button.cp-token-row:hover{background:#faf8fd}.cp-token-dot,.cp-token-row>.cp-dot,.cp-token-row>i,.cp-role-dot{width:15px;height:15px;min-width:15px;display:block;border-radius:4px;box-shadow:inset 0 0 0 1px #00000012}.cp-token-label,.cp-token-name{font-size:10px;font-weight:550;min-width:0;flex:1}.cp-token-row code{font:9px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;color:#746984;white-space:nowrap;margin-left:auto}.cp-token-row small{font-size:8px;color:var(--cp-ui-muted)}.cp-token-row button{font-size:9px;min-height:25px;padding:3px 6px}.cp-token-row>.cp-copy-icon{color:#8a7d9f;font-size:11px;margin-left:3px}.cp-checks{display:flex;flex-direction:column;gap:6px}.cp-check{padding:10px 11px;border:1px solid var(--cp-ui-line);border-radius:8px;background:#fff;display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:10px;min-width:0}.cp-check-label{font-size:10px;font-weight:550;flex:1;min-width:70px}.cp-check-pair{display:flex;gap:0;min-width:24px;flex-shrink:0}.cp-check-pair>span{width:16px;height:16px;display:block;border:1px solid #00000014;border-radius:4px}.cp-check-pair>span+span{margin-left:-5px;transform:translateY(4px)}.cp-check-ratio,.cp-ratio{font:600 11px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:nowrap;margin-left:auto;color:#4f465f}.cp-check-result{font-size:9px;white-space:nowrap;min-width:51px;text-align:right}.cp-pass{color:#286b49;font-size:9px;background:#eef7f1;border:1px solid #d4e8d9;padding:2px 5px;border-radius:4px;white-space:nowrap}.cp-fail{color:#a63440;font-size:9px;background:#fff1f3;border:1px solid #efcbd1;padding:2px 5px;border-radius:4px;white-space:nowrap}.cp-check-detail,.cp-check small{flex-basis:100%;font-size:9px;color:var(--cp-ui-muted);line-height:1.6;margin:0}.cp-contrast-note{font-size:9px;color:var(--cp-ui-muted);line-height:1.85;margin:11px 0 0}.cp-matrix-details{margin-top:21px;padding-top:15px;border-top:1px solid #efeaf5;font-size:10px;color:#6d617e}.cp-matrix-details summary{cursor:pointer;font-size:10px;color:#5d536b;list-style-position:inside}.cp-matrix-details summary>span{font:9px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;margin-left:8px;color:#92859f}.cp-matrix-details>p{font-size:9px;color:var(--cp-ui-muted);margin:9px 0 0;line-height:1.7}.cp-matrix{overflow-x:auto;margin-top:14px;max-width:100%;border-radius:8px}.cp-matrix table{border-collapse:collapse;width:100%;font-size:9px;text-align:center;table-layout:fixed;border:1px solid #e8e2ef}.cp-matrix th,.cp-matrix td{border:1px solid #e8e2ef;padding:8px 5px;min-width:55px;line-height:1.5;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.cp-matrix th{background:#faf7fd;font-weight:500;color:#6f617f;font-size:8px}.cp-matrix .cp-pass,.cp-matrix .cp-fail{display:inline-block;border:0;font-size:8px;padding:2px 4px}.cp-matrix-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:1px;background:#e8e2ef;border:1px solid #e8e2ef;border-radius:8px;overflow:hidden}.cp-matrix-grid>div{padding:8px 4px;font-size:9px;text-align:center;background:#fff}
.cp-export-panel{margin-top:22px;border:1px solid #e4dfec;background:#faf8fd;border-radius:11px;padding:17px 18px}.cp-export-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.cp-export-heading h2{font-size:13px;margin:0 0 4px;font-weight:650}.cp-export-heading>div>p:last-child{font-size:10px;color:var(--cp-ui-muted);line-height:1.7;margin:0}.cp-export-actions{display:flex;gap:6px;flex-shrink:0}.cp-workbench .cp-export-actions button{font-size:10px;min-height:34px;padding:6px 9px}.cp-code-details{margin-top:15px;border-top:1px solid #e9e2f2;padding-top:11px}.cp-code-details summary{cursor:pointer;color:#70617f;font-size:10px;list-style-position:inside}.cp-code-label{display:block;font-size:10px;color:var(--cp-ui-muted);margin-top:13px}.cp-code{resize:vertical;width:100%;min-height:180px;max-height:540px;font:10px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;background:#fff;border:1px solid #ded6eb;border-radius:8px;padding:12px;tab-size:2;margin-top:6px}.cp-code-details>p{font-size:9px;color:var(--cp-ui-muted);line-height:1.8;margin:9px 0 0}.cp-status-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--cp-ui-line);padding:11px 21px;background:#fbfafc;color:var(--cp-ui-muted);font-size:10px}.cp-status-bar #cp-status{min-width:0;overflow-wrap:anywhere}.cp-status-bar>span:last-child{font:9px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;color:#8b7e9b;white-space:nowrap}.cp-workspace-note{font-size:10px;line-height:1.8;color:var(--cp-ui-muted);margin:13px 0 0}.cp-guide{margin-top:22px;gap:65px}.cp-guide .prose h2{font-size:18px;color:var(--cp-ui-ink)}.cp-guide .prose p{font-size:13px;color:#636778}.cp-guide .related{position:relative}.cp-noscript{border:1px solid #dcd5e9;border-radius:8px;padding:15px;font-size:13px;background:#faf8fd}
@media(min-width:1300px){.cp-stage{padding:28px 30px}.cp-workspace{grid-template-columns:258px minmax(0,1fr)}.cp-control-panel{padding:28px 24px}.cp-swatch-color,.cp-workbench button.cp-swatch-color{height:119px;min-height:119px}.cp-preview{padding:25px 37px 20px}.cp-preview-copy h3{font-size:36px}.cp-preview-content{gap:40px;min-height:290px}.cp-preview-feature{padding:23px}.cp-preview-copy>p{font-size:12px}.cp-preview-nav{margin-bottom:36px}.cp-preview-nav-links{font-size:10px}.cp-preview-feature>p{font-size:10px}.cp-preview-metrics span{font-size:9px}.cp-preview-feature h4{font-size:16px}}
@media(max-width:1100px){.cp-heading h1{font-size:30px}.cp-heading-note>span:last-child{display:none}.cp-workspace{grid-template-columns:213px minmax(0,1fr)}.cp-control-panel{padding:22px 16px}.cp-stage{padding:22px 18px}.cp-card-controls{gap:5px}.cp-format-label{display:none}.cp-swatches{gap:6px}.cp-swatch-body,.cp-swatch-info{padding:10px 7px 7px}.cp-swatch-hex,.cp-swatch code,.cp-swatch-value{font-size:11px}.cp-swatch-actions{padding:0 5px 7px;gap:2px}.cp-workbench .cp-swatch-use{font-size:8px;padding:4px 2px}.cp-workbench .cp-swatch-lock{min-width:23px;padding:3px}.cp-swatch-edit{width:23px;min-width:23px}.cp-preview{padding:20px 20px 16px}.cp-preview-content{gap:20px;grid-template-columns:1.05fr 1fr}.cp-preview-copy h3{font-size:25px}.cp-preview-copy>p{font-size:10px}.cp-preview-feature{padding:14px}.cp-preview-nav{margin-bottom:28px;gap:13px}.cp-preview-nav-links{gap:12px}.cp-preview-actions{gap:5px}.cp-workbench #cp-preview-primary,.cp-workbench #cp-preview-secondary{padding:7px 8px;font-size:9px}.cp-preview-trust{font-size:7px;gap:6px}.cp-specification-grid{gap:17px}.cp-check{padding:9px 8px;gap:6px}.cp-check-label{font-size:9px}.cp-check-ratio,.cp-ratio{font-size:10px}.cp-pass,.cp-fail{font-size:8px;padding:2px 4px}.cp-export-heading{align-items:flex-start;flex-direction:column;gap:12px}.cp-export-actions{width:100%}.cp-export-actions button{flex:1}.cp-studio-brand>span:last-child{display:none}.cp-chip code,.cp-chip-hex{display:none}.cp-token-row{padding:8px 8px;gap:6px}.cp-workbench button.cp-token-row{padding:8px 8px;gap:6px}.cp-token-row code{font-size:8px}.cp-token-label,.cp-token-name{font-size:9px}}
@media(max-width:850px){.cp-heading{align-items:flex-start;flex-direction:column;gap:12px}.cp-heading-note{align-items:flex-start}.cp-workspace{grid-template-columns:1fr}.cp-control-panel{border-right:0;border-bottom:1px solid var(--cp-ui-line);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 17px;padding:20px}.cp-control-panel>.cp-section-kicker:first-child{grid-column:1/-1;margin-bottom:15px}.cp-base-picker{grid-column:1}.cp-input-hint{grid-column:1;grid-row:3;margin:7px 0}.cp-error{grid-column:1/-1;grid-row:4;margin:5px 0}.cp-presets{grid-column:1;margin:3px 0 0}.cp-control-panel>.cp-field[for=cp-scheme]{grid-column:2;grid-row:2;margin:0}.cp-control-panel>.cp-field[for=cp-style]{grid-column:3;grid-row:2;margin:0}.cp-control-panel>.cp-primary-action{grid-column:2;grid-row:3/5;margin:0;align-self:center}.cp-setting-note{grid-column:3;grid-row:3/5;margin:5px 0;align-self:center}.cp-control-divider{display:none}.cp-control-panel>.cp-section-kicker:nth-of-type(2){grid-column:1/-1;margin:20px 0 13px;padding-top:17px;border-top:1px solid var(--cp-ui-line)}.cp-control-panel>.cp-control-label:not(.cp-template-label){grid-column:1;margin:0 0 6px}.cp-segmented{grid-column:1;align-self:start}.cp-template-label{grid-column:2/4;grid-row:7;margin:0 0 6px}.cp-template-options{grid-column:2/4;grid-row:8;flex-direction:row}.cp-template-options button{flex:1;min-width:0;text-align:center;border:1px solid #e4deed;font-size:10px;min-height:37px}.cp-template-options button[aria-pressed=true]:after{display:none}.cp-workflow-note{display:none}.cp-stage{padding:23px}.cp-swatch-color,.cp-workbench button.cp-swatch-color{height:111px;min-height:111px}.cp-swatch-body,.cp-swatch-info{padding:12px 10px 8px}.cp-swatch-actions{padding:0 8px 10px;gap:3px}.cp-workbench .cp-swatch-use{font-size:9px;padding:4px}.cp-swatch-edit{width:27px;min-width:27px}.cp-workbench .cp-swatch-lock{min-width:27px}.cp-preview-content{gap:30px;min-height:284px}.cp-preview{padding:23px 30px 17px}.cp-preview-copy h3{font-size:30px}.cp-preview-feature{padding:19px}.cp-preview-copy>p{font-size:11px}.cp-preview-nav-links{gap:16px}.cp-specification-grid{gap:24px}.cp-check-label{font-size:10px}.cp-token-label,.cp-token-name{font-size:10px}.cp-token-row code{font-size:9px}.cp-guide{gap:30px}}
@media(max-width:600px){.cp-page{padding:0 15px}.cp-heading{margin:6px 0 21px;gap:13px}.cp-heading h1{font-size:27px}.cp-heading p:not(.eyebrow){font-size:13px;line-height:1.85}.cp-heading .eyebrow{font-size:9px;letter-spacing:1.8px}.cp-workbench{border-radius:13px}.cp-studio-bar{padding:14px 15px;min-height:61px;gap:8px}.cp-studio-brand{gap:8px}.cp-studio-brand strong{font-size:10px;letter-spacing:1px}.cp-brand-mark{width:28px;transform:rotate(-16deg) scale(.88)}.cp-top-actions{gap:3px}.cp-top-actions #cp-share{font-size:9px;padding:5px 7px;min-height:31px}.cp-top-actions #cp-share>span{margin-left:2px}.cp-top-actions #cp-reset{font-size:9px;padding:5px 5px;min-height:31px}.cp-control-panel{padding:18px 16px;grid-template-columns:1fr 1fr;gap:0 13px}.cp-control-panel>.cp-section-kicker:first-child{margin-bottom:14px}.cp-section-kicker h2{font-size:12px}.cp-base-picker{grid-column:1/-1;grid-row:2;grid-template-columns:49px minmax(0,1fr);gap:5px 11px}.cp-color-label{font-size:10px;margin:0}.cp-hex-label{font-size:9px}.cp-base-picker #cp-color{width:49px;height:44px}.cp-hex-wrap input{font-size:16px;min-height:32px;padding:4px 24px 4px 9px}.cp-input-hint{grid-column:1/-1;grid-row:3;margin:6px 0 0;font-size:10px}.cp-error{grid-column:1/-1;grid-row:4}.cp-presets{grid-column:1/-1;grid-row:5;margin:7px 0 15px;display:flex;gap:8px}.cp-presets button{min-height:31px;min-width:31px}.cp-presets span{width:21px;height:21px}.cp-control-panel>.cp-field[for=cp-scheme]{grid-column:1;grid-row:6}.cp-control-panel>.cp-field[for=cp-style]{grid-column:2;grid-row:6}.cp-field>span,.cp-control-label{font-size:10px}.cp-field select{font-size:11px;min-height:39px;padding:8px 5px}.cp-control-panel>.cp-primary-action{grid-column:1;grid-row:7;margin:14px 0 0;min-height:39px;align-self:start;font-size:11px}.cp-setting-note{grid-column:2;grid-row:7;margin:12px 0 0;font-size:9px;line-height:1.8;align-self:start}.cp-control-panel>.cp-section-kicker:nth-of-type(2){grid-column:1/-1;grid-row:8;margin:20px 0 12px;padding-top:17px}.cp-control-panel>.cp-control-label:not(.cp-template-label){grid-column:1;grid-row:9}.cp-segmented{grid-column:1;grid-row:10}.cp-segmented button{font-size:10px;padding:6px 7px}.cp-template-label{grid-column:2;grid-row:9}.cp-template-options{grid-column:2;grid-row:10;gap:3px}.cp-template-options button{font-size:8px;padding:5px 2px;min-height:38px;line-height:1.6}.cp-stage{padding:20px 15px}.cp-section-heading{gap:8px;margin-bottom:13px}.cp-section-heading h2{font-size:13px}.cp-overline{font-size:7px;letter-spacing:1.2px}.cp-card-controls{gap:3px}.cp-card-controls select{font-size:9px;min-height:30px;padding:4px 3px;max-width:69px}.cp-workbench #cp-unlock{font-size:9px;padding:4px 5px;white-space:nowrap}.cp-swatches{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.cp-swatch:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto}.cp-swatch:last-child .cp-swatch-color{grid-row:1/3;height:100%;min-height:106px}.cp-swatch:last-child .cp-swatch-body,.cp-swatch:last-child .cp-swatch-info{grid-column:2;grid-row:1;align-self:center;padding:13px 14px 4px}.cp-swatch:last-child .cp-swatch-actions{grid-column:2;grid-row:2;padding:2px 11px 12px;align-self:end}.cp-swatch-color,.cp-workbench button.cp-swatch-color{height:100px;min-height:100px}.cp-swatch-body,.cp-swatch-info{padding:11px 11px 6px}.cp-swatch-hex,.cp-swatch code,.cp-swatch-value{font-size:13px}.cp-swatch h3,.cp-swatch-name{font-size:10px}.cp-swatch-actions{padding:0 8px 9px;gap:5px}.cp-swatch-edit{width:30px;min-width:30px;height:30px}.cp-workbench .cp-swatch-lock{min-height:30px;min-width:30px}.cp-workbench .cp-swatch-use{font-size:10px;min-height:30px;padding:4px 7px}.cp-swatch-color:after{opacity:.8;font-size:9px}.cp-card-hint{font-size:9px;line-height:1.8}.cp-scale-section{margin-top:20px;padding:15px 0 17px}.cp-scale-heading{gap:8px;align-items:flex-start;margin-bottom:10px}.cp-scale-heading h2{font-size:10px}.cp-scale-heading h2 span{font-size:8px;margin-left:5px}.cp-scale-heading p{font-size:8px;max-width:106px;line-height:1.6;text-align:right}.cp-scale{gap:2px}.cp-workbench .cp-chip{font-size:8px;min-height:49px}.cp-chip>span:first-child,.cp-chip-color{height:29px}.cp-chip-label{font-size:8px}.cp-preview-section{margin-top:20px}.cp-mode-badge{font-size:9px;padding:3px 6px}.cp-preview-frame{border-radius:9px}.cp-browser-bar{height:27px;padding:0 9px}.cp-browser-url{font-size:7px}.cp-preview{padding:17px 17px 14px}.cp-preview-nav{gap:10px;margin-bottom:27px}.cp-preview-logo{font-size:14px}.cp-preview-logo>span{font-size:18px}.cp-preview-nav-links{display:none}.cp-preview-nav-chip{margin-left:auto;font-size:8px;padding:4px 6px}.cp-preview-content{grid-template-columns:1fr;gap:22px;min-height:0}.cp-preview-eyebrow{font-size:8px;margin-bottom:11px}.cp-preview-copy h3{font-size:30px;line-height:1.45;margin-bottom:11px}.cp-preview-copy>p{font-size:11px;line-height:1.85;margin-bottom:16px;max-width:none}.cp-preview-actions{gap:7px}.cp-workbench #cp-preview-primary,.cp-workbench #cp-preview-secondary{font-size:10px;padding:8px 12px;min-height:36px}.cp-preview-trust{font-size:8px;margin-top:15px}.cp-preview-feature{padding:17px;border-radius:9px}.cp-preview-feature-top{margin-bottom:11px}.cp-preview-feature h4{font-size:15px}.cp-preview-feature>p{font-size:10px;margin-bottom:12px}.cp-preview-metrics strong{font-size:22px}.cp-preview-metrics span{font-size:9px}.cp-preview-progress{margin:11px 0 14px}.cp-preview-form label{font-size:9px}.cp-workbench .cp-preview-form input{font-size:10px;padding:8px;min-height:34px}.cp-preview-form-meta{font-size:8px}.cp-preview-bottom{margin-top:22px;padding-top:11px;font-size:7px;gap:9px}.cp-preview-caption{font-size:9px;line-height:1.8}.cp-specification-grid{grid-template-columns:1fr;gap:24px;margin-top:23px}.cp-specification-grid .cp-section-heading h2{font-size:13px}.cp-section-small{font-size:9px}.cp-token-row,.cp-workbench button.cp-token-row{padding:10px 12px;font-size:11px;min-height:40px}.cp-token-label,.cp-token-name{font-size:11px}.cp-token-row code{font-size:10px}.cp-check{padding:11px 12px;gap:9px;min-height:44px}.cp-check-label{font-size:11px}.cp-check-ratio,.cp-ratio{font-size:12px}.cp-pass,.cp-fail{font-size:9px;padding:2px 6px}.cp-check-detail,.cp-check small{font-size:10px}.cp-contrast-note{font-size:10px}.cp-matrix-details{font-size:11px;margin-top:21px}.cp-matrix-details summary{font-size:11px}.cp-matrix-details>p{font-size:10px}.cp-matrix th,.cp-matrix td{padding:7px 3px;font-size:9px}.cp-matrix th{font-size:7px}.cp-export-panel{padding:16px 13px;margin-top:21px}.cp-export-heading h2{font-size:13px}.cp-export-heading>div>p:last-child{font-size:10px}.cp-export-actions{gap:5px}.cp-workbench .cp-export-actions button{font-size:10px;min-height:37px;padding:6px 7px}.cp-code-details summary{font-size:11px}.cp-code{font-size:11px}.cp-code-details>p{font-size:10px}.cp-status-bar{padding:10px 15px;font-size:10px;align-items:flex-start;gap:7px;flex-direction:column}.cp-status-bar>span:last-child{font-size:8px}.cp-workspace-note{font-size:10px;line-height:1.85}.cp-guide{margin-top:18px;gap:7px}.cp-guide .prose h2{font-size:17px}.cp-guide .prose p{font-size:13px}.cp-guide .prose details p{font-size:13px}}
@media(max-width:360px){.cp-page{padding:0 12px}.cp-studio-bar{padding:13px 11px}.cp-studio-brand strong{font-size:9px}.cp-studio-brand{gap:5px}.cp-top-actions #cp-share{font-size:8px;padding:5px}.cp-top-actions #cp-reset{font-size:8px;padding:5px 3px}.cp-control-panel{padding:17px 12px;gap:0 10px}.cp-stage{padding:19px 12px}.cp-section-heading{align-items:flex-start}.cp-card-controls{flex-wrap:wrap;justify-content:flex-end;max-width:125px}.cp-preview{padding:15px 13px 13px}.cp-preview-copy h3{font-size:27px}.cp-swatch-actions{gap:3px;padding:0 6px 8px}.cp-workbench .cp-swatch-use{font-size:9px;padding:4px}.cp-preview-bottom{flex-direction:column;gap:6px}.cp-export-actions{flex-wrap:wrap}.cp-export-actions .cp-primary-action{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.cp-workbench button,.cp-swatch-color,.cp-preview{transition:none}}

/* Palette card details and all five colors appear in the live composition. */
.cp-swatch-title-row{display:flex;align-items:center;justify-content:space-between;gap:4px;min-width:0;margin-bottom:4px}.cp-swatch-title-row h3{margin:0}.cp-swatch-title-row>span{font-size:8px;color:#766387;background:#f1ecf8;border-radius:3px;padding:1px 4px;white-space:nowrap}.cp-preview{--cp-support:#dcd7f5;--cp-on-support:#332752;--cp-neutral:#332c46;--cp-on-neutral:#fff;--cp-secondary:#7469bc;--cp-on-secondary:#fff;--cp-link:#574cd5;--cp-focus-ring:#635bff}.cp-preview-logo>span{display:grid;place-items:center;width:23px;height:23px;font-size:17px;background:var(--cp-neutral);color:var(--cp-on-neutral);border-radius:6px}.cp-preview-nav-links{color:var(--cp-link)}.cp-workbench #cp-preview-secondary{background:var(--cp-secondary);color:var(--cp-on-secondary);border-color:var(--cp-secondary)}.cp-preview-demoart{display:grid;grid-template-columns:24px 1fr;align-items:center;gap:0 8px;padding:12px;margin:12px 0 15px;background:var(--cp-support);color:var(--cp-on-support);border-radius:7px}.cp-preview-demoart>span{grid-row:1/3;font-size:24px;line-height:1}.cp-preview-demoart strong{font-size:10px;font-weight:600;line-height:1.7}.cp-preview-demoart small{font-size:7px;line-height:1.6}.cp-preview[data-template=commerce] .cp-preview-feature-symbol{font-size:24px}.cp-preview[data-template=b2b] .cp-preview-feature{border-radius:7px}.cp-preview[data-template=b2b] .cp-preview-actions button{border-radius:4px}.cp-preview input:focus-visible{outline-color:var(--cp-focus-ring)}
.cp-workbench .cp-preview-form input{border-color:var(--cp-focus-ring)}
.cp-workbench .cp-matrix-cell{display:block;width:100%;min-height:38px;min-width:60px;border:0;border-radius:4px;padding:5px 3px;background:#fff;font:10px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;color:#655670}.cp-workbench .cp-matrix-cell:hover{background:#f4effa}.cp-workbench .cp-matrix-cell[aria-pressed=true]{outline:2px solid #8d7aa5;outline-offset:0;background:#f3edf9}.cp-matrix-head{font-size:8px;font-weight:500;color:#6d5f7c;line-height:1.7}.cp-matrix-head>span{display:block;width:17px;height:17px;border-radius:4px;box-shadow:inset 0 0 0 1px #00000012;margin:0 auto 3px}.cp-matrix table.cp-matrix-table{min-width:408px}.cp-matrix-table td{padding:3px}.cp-contrast-sample{border:1px solid #e6e0ed;border-radius:8px;padding:18px 16px;font-size:17px;font-weight:600;line-height:1.8;margin-top:13px;min-height:71px;overflow-wrap:anywhere}.cp-pair-detail{font-size:10px;color:#6a5b78;line-height:1.9}.cp-guide .prose .cp-reference-note{font-size:11px;line-height:1.9;margin-top:22px}
.cp-dialog{width:min(530px,calc(100vw - 34px));max-height:calc(100vh - 50px);overflow:auto;background:#fff;color:#292638;border:1px solid #ddd4e9;border-radius:16px;box-shadow:0 22px 90px #2019303b;padding:24px}.cp-dialog::backdrop{background:#211b35a6;backdrop-filter:blur(3px)}.cp-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.cp-dialog-heading h2{font-size:20px;letter-spacing:-.5px;margin:0}.cp-dialog-heading>button{width:32px;height:32px;border:1px solid #e3ddeb;border-radius:7px;background:#faf7fd;color:#6d5c80;font-size:20px;line-height:1;padding:0;cursor:pointer}.cp-dialog>p{font-size:12px;color:#6c6576;line-height:1.85;margin:16px 0}.cp-dialog>label{font-size:11px;color:#70647d;display:block;margin-bottom:6px}.cp-dialog textarea{width:100%;min-height:160px;max-height:380px;resize:vertical;border:1px solid #d9cfe7;border-radius:8px;background:#faf8fc;color:#473b56;padding:12px;font:11px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}.cp-dialog textarea:focus-visible,.cp-dialog button:focus-visible{outline:3px solid #7762c0;outline-offset:3px}
@media(max-width:850px){.cp-control-panel{grid-template-areas:'start start start' 'base scheme style' 'hint generate note' 'presets generate note' 'error error error' 'view view view' 'mode-label template-label template-label' 'mode templates templates';grid-template-rows:auto}.cp-control-panel>.cp-section-kicker:first-child{grid-area:start}.cp-base-picker{grid-area:base}.cp-input-hint{grid-area:hint}.cp-presets{grid-area:presets}.cp-error{grid-area:error}.cp-control-panel>.cp-field[for=cp-scheme]{grid-area:scheme}.cp-control-panel>.cp-field[for=cp-style]{grid-area:style}.cp-control-panel>.cp-primary-action{grid-area:generate}.cp-setting-note{grid-area:note}.cp-control-panel>.cp-preview-controls-title{grid-area:view;margin:20px 0 13px;padding-top:17px;border-top:1px solid var(--cp-ui-line)}.cp-control-panel>.cp-control-label:not(.cp-template-label){grid-area:mode-label}.cp-segmented{grid-area:mode}.cp-template-label{grid-area:template-label}.cp-template-options{grid-area:templates}}
@media(max-width:600px){.cp-control-panel{grid-template-areas:'start start' 'base base' 'hint hint' 'presets presets' 'error error' 'scheme style' 'generate note' 'view view' 'mode-label template-label' 'mode templates';grid-template-rows:auto}.cp-control-panel>.cp-preview-controls-title{margin:20px 0 12px}.cp-preview-demoart{margin:11px 0 13px;padding:11px}.cp-preview-demoart strong{font-size:11px}.cp-preview-demoart small{font-size:8px}.cp-workbench .cp-matrix-cell{min-height:41px;font-size:10px}.cp-contrast-sample{font-size:17px;padding:16px 13px}.cp-pair-detail{font-size:10px}.cp-dialog{padding:20px;border-radius:13px}.cp-dialog textarea{font-size:12px}}

/* Dynamic DOM generated by the studio controller. */
.cp-swatch-role{position:absolute;top:10px;left:11px;font-size:9px;font-weight:550;line-height:1.5}.cp-swatch-aa{font-size:37px;font-weight:650;letter-spacing:-2px;line-height:1}.cp-swatch-copy-hint{position:absolute;bottom:8px;right:9px;font-size:8px;line-height:1.5;opacity:0;transition:opacity .15s}.cp-workbench .cp-swatch-color:after{content:none}.cp-swatch-color:hover .cp-swatch-copy-hint,.cp-swatch-color:focus-visible .cp-swatch-copy-hint{opacity:1}.cp-swatch-body .cp-swatch-hex{display:block;min-height:23px;font-size:11px;line-height:1.7;overflow-wrap:anywhere;word-break:break-word}.cp-swatch-title-row .cp-swatch-lock{font-size:8px;min-height:22px;min-width:34px;padding:2px 4px;line-height:1.6;border-radius:4px}.cp-swatch-body .cp-swatch-actions{padding:7px 0 0;gap:5px}.cp-swatch-edit-label{display:flex;gap:5px;align-items:center;font-size:8px;color:#7c718c;cursor:pointer}.cp-swatch-edit-label>span{line-height:1.4}.cp-swatch-edit-label .cp-swatch-edit{width:22px;height:25px;min-width:22px;border-radius:5px;padding:3px}.cp-workbench .cp-swatch-use{font-size:8px;padding:4px 3px;min-height:25px}.cp-workbench .cp-chip{padding:7px 2px 6px;justify-content:center;gap:4px;min-height:52px;box-shadow:inset 0 0 0 1px #00000008}.cp-chip>strong{font-size:10px;line-height:1.4;font-weight:600}.cp-chip>code{font-size:7px;line-height:1.5;color:inherit}.cp-chip:first-child{border-radius:7px 4px 4px 7px}.cp-chip:last-child{border-radius:4px 7px 7px 4px}.cp-workbench .cp-check.cp-pass,.cp-workbench .cp-check.cp-fail{padding:10px 11px;background:#fff;color:var(--cp-ui-ink);border:1px solid var(--cp-ui-line);border-radius:8px;white-space:normal}.cp-check-colors{display:grid;place-items:center;width:27px;height:27px;min-width:27px;font-size:11px;font-weight:600;line-height:1.2;border:1px solid #00000010;border-radius:5px}.cp-check-name{font-size:10px;font-weight:550;flex:1;min-width:62px;line-height:1.7}.cp-check-badge{font-size:8px;padding:2px 5px;border-radius:4px;white-space:nowrap}.cp-check.cp-pass .cp-check-badge{background:#eef7f1;border:1px solid #d4e8d9;color:#286b49}.cp-check.cp-fail .cp-check-badge{background:#fff1f3;border:1px solid #efcbd1;color:#a63440}.cp-workbench .cp-token-copy{font-size:8px;min-height:25px;padding:3px 5px;border-color:#e6deef;color:#78668a;border-radius:5px}.cp-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1100px){.cp-swatch-aa{font-size:33px}.cp-swatch-role{font-size:8px;left:8px}.cp-swatch-title-row{gap:2px}.cp-swatch-title-row h3{font-size:9px}.cp-swatch-title-row .cp-swatch-lock{font-size:7px;min-width:29px;padding:2px 3px}.cp-swatch-body .cp-swatch-hex{font-size:10px}.cp-swatch-edit-label>span{display:none}.cp-check-name{font-size:9px}.cp-workbench .cp-check.cp-pass,.cp-workbench .cp-check.cp-fail{padding:9px 8px;gap:6px}.cp-check-colors{width:25px;height:25px;min-width:25px}}
@media(max-width:850px){.cp-swatch-title-row h3{font-size:10px}.cp-swatch-title-row .cp-swatch-lock{font-size:8px;min-width:34px}.cp-swatch-body .cp-swatch-hex{font-size:11px}.cp-check-name{font-size:10px}}
@media(max-width:600px){.cp-swatch-copy-hint{font-size:8px;opacity:1}.cp-swatch-aa{font-size:39px}.cp-swatch-role{left:11px;font-size:9px}.cp-swatch-body .cp-swatch-hex{font-size:12px;min-height:24px}.cp-swatch-title-row .cp-swatch-lock{font-size:8px;min-height:24px}.cp-swatch-body .cp-swatch-actions{padding:7px 0 0;gap:5px}.cp-swatch-edit-label>span{display:inline;font-size:9px}.cp-swatch-edit-label .cp-swatch-edit{width:27px;height:29px;min-width:27px}.cp-workbench .cp-swatch-use{font-size:9px;min-height:29px;padding:4px 5px}.cp-swatch:last-child .cp-swatch-body{grid-column:2;grid-row:1/3;padding:11px 12px;align-self:center}.cp-swatch:last-child .cp-swatch-actions{padding:7px 0 0;grid-column:auto;grid-row:auto}.cp-swatch:last-child .cp-swatch-color{min-height:122px}.cp-workbench .cp-chip{min-height:49px;padding:5px 1px}.cp-chip>strong{font-size:8px}.cp-workbench .cp-check.cp-pass,.cp-workbench .cp-check.cp-fail{padding:11px 12px;gap:8px}.cp-check-name{font-size:10px}.cp-check-ratio{font-size:11px}.cp-check-badge{font-size:8px}.cp-check-colors{width:28px;height:28px;min-width:28px}.cp-workbench .cp-token-copy{font-size:9px;min-height:27px}}
