.guide{max-width:1100px;padding-top:32px;padding-bottom:72px}.guide-back{margin-bottom:44px;font-size:12px;display:inline-block}.guide-intro{max-width:760px}.guide-eyebrow{color:var(--accent);letter-spacing:.06em;margin-bottom:14px;font-size:11px;font-weight:650;display:block}.guide-intro h1{letter-spacing:-1.3px;margin-bottom:20px;font-size:clamp(30px,4vw,46px);line-height:1.12}.guide-intro>p{max-width:690px;font-size:17px;line-height:1.65}.guide-nav{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:12px 28px;margin-top:24px;padding:24px 0;font-size:12px;display:flex}.guide-section{border-bottom:1px solid var(--line);padding:40px 0;scroll-margin-top:24px}.guide-section h2{letter-spacing:-.5px;margin-bottom:16px;font-size:25px;line-height:1.25}.guide-section>p{max-width:760px;font-size:14px;line-height:1.75}.guide-section>p+p{margin-top:14px}.guide-section h3{margin:0 0 8px;font-size:13px}.guide-pair{grid-template-columns:1fr 1fr;gap:32px;padding:24px 0;display:grid}.guide-pair p{font-size:13px}.guide-section details{max-width:760px;font-size:13px}.guide-section details p{margin-top:12px}.guide-example{border:1px solid var(--line);background:#fff;border-radius:8px;margin:24px 0;padding:24px}.example-controls{flex-wrap:wrap;align-items:end;gap:28px;display:flex}.example-controls fieldset{border:0;margin:0;padding:0}.example-controls legend,.example-controls label{font-size:12px;font-weight:550}.example-controls legend{margin-bottom:8px}.example-controls label{gap:8px;display:grid}.brand-options{gap:6px;display:flex}.brand-options button[aria-pressed=true]{background:#e2e8ee;border-color:#687a8c}.example-origin{margin:20px 0 12px;font-size:12px}.example-swatches{gap:5px;margin:-4px;padding:4px;display:flex;overflow-x:auto}.example-swatches button{border:1px solid #0002;flex-direction:column;flex:1;justify-content:space-between;align-items:start;min-width:76px;height:100px;padding:10px 6px;display:flex}.example-swatches button span{font:10px ui-monospace,monospace}.example-swatches button[aria-pressed=true]{box-shadow:inset 0 0 0 2px}.example-instruction{margin-top:12px;font-size:11px}.example-result{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;margin-top:24px;padding:24px 0;display:flex}.guide-label{color:var(--muted);margin-bottom:10px;font-size:11px;display:block}.example-result code{overflow-wrap:anywhere;font-size:13px}.example-result p{margin-top:10px;font-size:12px}.example-button-preview{text-align:center;color:var(--muted);gap:10px;min-width:170px;font-size:11px;display:grid}.sample-button{border:1px solid #0002;border-radius:6px;padding:12px 28px;font-size:14px;font-weight:600;display:block}.example-contrast{border-top:1px solid var(--line);padding-top:16px;font-size:12px}.guide-example>small{color:var(--muted);margin-top:12px;font-size:11px;display:block}.guide-flow{align-items:center;gap:16px;padding:28px 0;display:flex}.guide-flow>div{border-left:2px solid var(--border);flex:1;min-width:0;padding:18px}.guide-flow span,.guide-flow small{color:var(--muted);font-size:12px;display:block}.guide-flow strong{overflow-wrap:anywhere;margin:10px 0;font-size:14px;display:block}.guide-checklist{max-width:760px;color:var(--muted);padding-left:20px;font-size:14px;line-height:1.7}.guide-checklist li{margin-bottom:18px;padding-left:8px}.guide-checklist strong{color:var(--ink)}.guide-cta{margin-top:24px;font-size:14px;display:inline-block}.guide-reading ul{padding:0;font-size:13px;list-style:none}.guide-reading li{margin:18px 0}.guide-reading li span{color:var(--muted);margin-top:6px;display:block}.guide-reading{border:0}.header-guide{margin-left:auto;padding:12px 0;font-size:12px;text-decoration:none}.header-guide[aria-current=page]{text-decoration:underline}@media (width<=650px){.guide-pair{grid-template-columns:1fr;gap:20px}.guide-section{padding:30px 0}.guide-example{padding:16px}.example-result{flex-direction:column;align-items:stretch}.example-button-preview{text-align:left;justify-items:start}.guide-flow{flex-direction:column;align-items:stretch;gap:4px}.guide-flow>span{align-self:center;transform:rotate(90deg)}.guide-back{margin-bottom:32px}.guide-nav,.example-controls{gap:16px}.guide-section h2{font-size:23px}}@media (width<=520px){.header-guide{margin-left:auto}.app-header>button{margin-left:0}}.guide-intro h1:focus{outline:none}#guide-shades>h3{margin-top:28px;font-size:17px}#guide-shades>details{margin-top:20px}#guide-shades>.guide-checklist{margin-top:24px}.guide-lightness-example{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:1fr 220px;gap:32px;margin:24px 0;padding:24px;display:grid}.guide-lightness-example p{max-width:480px;font-size:13px}.guide-lightness-example label{align-items:center;gap:12px;margin:16px 0;font-size:13px;display:flex}.guide-lightness-example small{font-size:12px}.guide-lightness-swatch{border:1px solid #0002;border-radius:6px;flex-direction:column;justify-content:center;gap:12px;padding:24px;display:flex}.guide-lightness-swatch span{font-family:ui-monospace,monospace}@media (width<=650px){.guide-lightness-example{grid-template-columns:1fr;gap:20px;padding:16px}.guide-lightness-swatch{min-height:150px}}.header-help{padding:12px 0;font-size:12px;text-decoration:none}.header-help[aria-current=page]{text-decoration:underline}:root{font-synthesis:none;--page:#f7f7f6;--surface:#fff;--ink:#252729;--muted:#636b76;--border:#ccd2d9;--line:#e0e4e8;--accent:#0071b2;--control-height:40px;color:var(--ink);background:var(--page);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-underline-offset:3px}button{border:1px solid var(--border);background:var(--surface);color:inherit;min-height:var(--control-height);border-radius:6px;padding:9px 14px;font-size:12px;font-weight:550}button:hover{background:#eff1f3;border-color:#8d98a4}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline-offset:3px;outline:2px solid #246bd4}input,textarea,select{border:1px solid var(--border);background:var(--surface);min-width:0;max-width:100%;color:var(--ink);min-height:var(--control-height);border-radius:6px;padding:9px 12px;font-size:13px}input::placeholder,textarea::placeholder{color:#78818b;opacity:1}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m2 4 4 4 4-4' fill='none' stroke='%23586370' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;padding-right:34px}textarea{resize:vertical}p{color:var(--muted);margin:0;line-height:1.55}h1{letter-spacing:-.4px;margin:0;font-size:20px;font-weight:650}h2{margin:0 0 8px;font-size:14px}.primary{color:#fff;background:#242c36;border-color:#242c36}.primary:hover{color:#fff;background:#3d4754}.muted{color:var(--muted)}.app-header{border-bottom:1px solid var(--line);align-items:center;gap:24px;height:68px;padding:0 40px;display:flex}.wordmark{letter-spacing:-1.5px;align-items:center;gap:5px;font-size:25px;font-weight:750;line-height:1;text-decoration:none;display:flex}.brand-dot{background:var(--accent);border-radius:50%;align-self:flex-end;width:7px;height:7px;margin-bottom:6px}.wordmark-text{display:block;transform:translateY(-1px)}.header-note{color:var(--muted);font-size:12px;line-height:18px}.app-header>button{background:0 0;border:0;font-weight:400}main{max-width:1680px;margin:auto;padding:28px 40px}.toolbar{align-items:center;gap:12px;margin-bottom:28px;display:flex}.toolbar h1{margin-right:auto}.preset{color:var(--muted);align-items:center;gap:10px;font-size:12px;display:flex}.preset select{min-width:170px}.toolbar button[aria-pressed=true]{background:#e2e8ee;border-color:#687a8c}.palette-workspace,.palette-column{min-width:0}.palette-column{scroll-margin-top:100px}.palette-scroll{outline-offset:8px}.palette-grid{flex-direction:column;gap:28px;display:flex}.family-heading{justify-content:space-between;align-items:center;min-height:36px;margin-bottom:10px;display:flex}.column-heading{text-align:left;background:0 0;border:0;border-radius:3px;align-items:center;gap:12px;min-height:34px;padding:0;display:flex}.column-heading>span{text-overflow:ellipsis;max-width:300px;font-size:14px;font-weight:600;overflow:hidden}.column-heading small{color:var(--muted);align-items:center;gap:14px;font:11px ui-monospace,SFMono-Regular,Consolas,monospace;display:flex}.column-heading:hover{color:var(--accent);background:0 0}.column-heading[aria-expanded=true]{color:var(--accent)}.disclosure-icon{border-bottom:1.5px solid;border-right:1.5px solid;width:7px;height:7px;margin:0 3px;display:inline-block;transform:translateY(-2px)rotate(45deg)}.column-heading[aria-expanded=true] .disclosure-icon{transform:translateY(2px)rotate(225deg)}.editor-close{width:32px;min-height:32px;color:var(--muted);background:0 0;border:0;justify-content:center;align-items:center;padding:0;font-size:22px;font-weight:400;display:flex}.editor-close:hover{background:#e8eaed}.palette-column aside{margin:0 0 18px;scroll-margin-top:100px}.editor{border-bottom:1px solid var(--line);grid-template-columns:minmax(150px,200px) minmax(180px,216px) minmax(200px,1fr) auto;align-items:start;gap:10px 28px;padding:8px 0 16px;display:grid}.editor-field{grid-template-rows:28px var(--control-height);min-width:0;display:grid}.editor label{align-items:center;font-size:12px;font-weight:500;line-height:18px;display:flex}.editor-field>input{width:100%}.field-label{align-items:center;gap:10px;padding-bottom:3px;display:flex}.field-label label{gap:8px}.field-label .muted{font-size:11px;font-weight:400}.editor-actions{padding-top:28px;padding-left:8px}.editor-actions .primary{white-space:nowrap;min-width:118px}.editor .help{grid-column:1/-1;font-size:11px}.editor .error{grid-column:1/-1}.editor input{scroll-margin-top:130px}.color-input,.background-control{min-width:0;height:var(--control-height);border:1px solid var(--border);background:var(--surface);border-radius:6px;align-items:center;gap:8px;padding:0 6px;display:flex}.color-input input[type=color],.background-control input[type=color]{cursor:pointer;background:0 0;border:0;border-radius:4px;flex:none;width:26px;height:26px;min-height:26px;padding:0}input[type=color]::-webkit-color-swatch-wrapper{padding:0}input[type=color]::-webkit-color-swatch{border:1px solid #0002;border-radius:4px}input[type=color]::-moz-color-swatch{border:1px solid #0002;border-radius:4px}.color-input input:not([type=color]),.background-control input:not([type=color]){border:0;border-radius:2px;width:100%;height:32px;min-height:32px;padding:4px 2px;font:12px ui-monospace,SFMono-Regular,Consolas,monospace}.error{color:#ae2727;margin:0;font-size:12px}.error:empty{display:none}.swatches{overscroll-behavior-x:contain;scrollbar-width:none;gap:6px;margin:-3px;padding:3px;display:flex;overflow-x:auto}.swatches::-webkit-scrollbar{display:none}.swatch{text-align:left;border:1px solid #0000000d;border-radius:6px;flex-direction:column;flex:1 0 82px;gap:8px;min-width:82px;min-height:94px;padding:10px 8px;font-weight:400;display:flex;position:relative}.swatch:hover{z-index:1;box-shadow:inset 0 0 0 1px}.swatch:focus-visible{outline-offset:-4px;z-index:2;outline-color:currentColor}.swatch-top{justify-content:space-between;align-items:center;gap:3px;min-height:13px;font-size:11px;display:flex}.swatch-top b{font-weight:600}.swatch-top>span{font-size:10px}.swatch-hex{white-space:nowrap;margin-top:auto;font:11px ui-monospace,SFMono-Regular,Consolas,monospace}.comparison-bar{z-index:10;background:var(--surface);border:1px solid var(--line);border-radius:8px;flex-wrap:wrap;gap:8px;margin-bottom:24px;padding:12px 16px;display:flex;position:sticky;top:0}.comparison-settings{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.contrast-prompt{font-size:12px}.comparison-settings label:not(.background-control){color:var(--muted);align-items:center;gap:10px;font-size:12px;display:flex}.comparison-settings .background-control{width:130px}.comparison-settings select{max-width:195px;font-size:12px}.comparison-bar .error{flex-basis:100%}.contrast-help{flex:none;align-items:center;display:inline-flex}.help-trigger{color:#46515e;background:0 0;border:1px solid #b9c0c7;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;min-height:28px;padding:0;font-size:13px;display:inline-flex}.field-label .help-trigger{width:22px;height:22px;min-height:22px;font-size:11px}.contrast-tooltip{width:min(360px,100vw - 24px);color:var(--ink);z-index:100;background:#fff;border:1px solid #d3d9df;border-radius:8px;padding:18px;font-size:12px;line-height:1.55;position:fixed;overflow:auto;box-shadow:0 8px 24px #17243520}.contrast-tooltip>strong{font-size:13px}.contrast-tooltip dl{margin:12px 0}.contrast-tooltip dt{margin-top:12px;font-weight:600}.contrast-tooltip dd{color:#535e69;margin:3px 0 0}.contrast-tooltip p{color:#535e69;font-size:12px}.contrast-tooltip small{color:var(--muted);margin-top:12px;font-size:10px;display:block}.help-panel{border:1px solid var(--line);background:#fff;border-radius:8px;max-width:850px;margin-bottom:24px;padding:18px 20px}.help-panel p{margin-top:8px;font-size:12px}.export-panel{border:1px solid var(--line);background:#fff;border-radius:8px;flex-wrap:wrap;align-items:center;gap:18px;margin-bottom:24px;padding:20px;display:flex}.export-heading{margin-right:auto}.export-title{align-items:center;gap:10px;margin-bottom:6px;display:flex}.export-title h2{margin:0}.export-title .help-trigger{width:24px;height:24px;min-height:24px}.export-panel p{font-size:12px}.export-actions{gap:10px;display:flex}.export-code{border:1px solid var(--line);background:#fafbfc;border-radius:6px;width:100%;min-width:0;overflow:hidden}.export-filename{border-bottom:1px solid var(--line);color:var(--muted);padding:10px 16px;font:11px ui-monospace,SFMono-Regular,Consolas,monospace}.export-code pre{tab-size:2;height:260px;margin:0;padding:16px;font:12px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;overflow:auto}.export-code pre:focus-visible{outline-offset:-3px}.json-key{color:#405e91}.json-string{color:#35664d}.json-value{color:#82532e}@media (width<=520px){.export-panel{gap:14px;padding:16px}.export-actions{width:100%}.export-actions button{flex:1}.export-code pre{height:230px}}summary{cursor:pointer}.notice{background:#fff2d5;margin-bottom:20px;padding:12px}.copy-fallback{align-items:center;gap:10px;margin-bottom:14px;font-size:12px;display:flex}.copy-fallback input{width:95px;font-family:monospace}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;gap:16px;margin-top:34px;padding-top:18px;font-size:11px;display:flex}@media (width<=1050px){.editor{grid-template-columns:minmax(150px,1fr) minmax(180px,1fr);gap:14px 24px}.pins-field{grid-column:1}.editor-actions{grid-column:2;place-self:end}}@media (width<=850px){main{padding:24px}.app-header{gap:16px;padding:0 24px}.header-note{display:none}.toolbar{flex-wrap:wrap}.palette-grid{gap:24px}.swatch{flex-basis:88px}.palette-column aside{scroll-margin-top:160px}.editor input{scroll-margin-top:180px}}@media (width<=520px){main{padding:20px 16px}.app-header{height:64px;padding:0 16px}.app-header>button{margin-left:0}.toolbar{gap:8px;margin-bottom:24px}.toolbar h1{flex-basis:100%;margin-bottom:6px}.toolbar>button{padding:9px 10px}.preset{flex:1;gap:0;font-size:0}.preset select{width:100%;min-width:0;max-width:170px;font-size:12px}.editor{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 14px}.pins-field{grid-column:1/-1}.editor-actions{grid-column:1/-1;justify-self:stretch;padding:0}.editor-actions .primary{width:100%}.editor .help{grid-row:3}.field-label .help-trigger{width:24px;height:24px;min-height:24px}.column-heading>span{max-width:190px}.comparison-bar{padding:12px}.comparison-settings{grid-template-columns:115px minmax(0,1fr) 28px;gap:10px 12px;width:100%;display:grid}.contrast-prompt{grid-column:1/3}.comparison-settings .background-control{width:115px}.comparison-settings label:not(.background-control){grid-column:2/4;gap:6px}.comparison-settings select{max-width:153px;padding-left:8px}.comparison-settings .contrast-help{grid-area:1/3;justify-self:end}footer{flex-direction:column;font-size:10px}}.scale-control{align-items:center;gap:10px;min-width:0;display:flex}.scale-info-content p{margin-top:10px}.scale-info-content a{margin-top:12px;display:inline-block}@media (width<=520px){.scale-control{flex:1;gap:8px}.scale-control .preset{min-width:0}}.help-steps{color:var(--muted);margin:14px 0 18px;padding-left:20px;font-size:12px;line-height:1.6}.help-steps li+li{margin-top:8px}.help-steps strong{color:var(--ink);font-weight:600}.help-panel details{border-top:1px solid var(--line);padding:12px 0}.help-panel details:last-child{padding-bottom:0}.help-panel summary{font-size:12px;font-weight:550;line-height:1.5}.help-resources{padding:0;font-size:12px;line-height:1.5;list-style:none}.help-resources li+li{margin-top:12px}.help-resources span{color:var(--muted);margin-top:3px;display:block}@media (width<=520px){.help-panel{padding:16px}}.reset-workspace{margin-top:16px}.reset-dialog{border:1px solid var(--border);background:var(--surface);width:min(460px,100vw - 32px);max-height:calc(100dvh - 48px);color:var(--ink);border-radius:10px;padding:24px;overflow:auto;box-shadow:0 16px 48px #17243530}.reset-dialog::backdrop{background:#17243566}.reset-dialog h2{margin-bottom:14px;font-size:20px}.reset-dialog p{margin:12px 0;font-size:13px}.reset-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:24px;display:flex}.reset-confirm{color:#fff;background:#a32b26;border-color:#a32b26}.reset-confirm:hover{color:#fff;background:#85221e;border-color:#85221e}.shade-editor{border:1px solid var(--border);background:var(--surface);border-radius:10px;margin:0 0 28px;padding:24px}.shade-editor-heading,.shade-editor-bottom{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;display:flex}.shade-editor h2{margin:0;font-size:16px}.shade-editor h2 span{margin-left:10px;font-size:13px;font-weight:400}.shade-editor p{margin:8px 0 0;font-size:13px}.shade-step-list{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px;margin:24px 0;display:grid}.shade-step{border:1px solid var(--border);background:#f7f7f6;border-radius:8px;min-width:0;padding:12px;position:relative}.shade-step>input{width:calc(100% - 28px);height:36px;padding:6px;font-weight:600}.shade-remove{background:0 0;border:0;width:32px;height:36px;padding:0;font-size:22px;position:absolute;top:12px;right:4px}.shade-step label{color:var(--muted);margin-top:12px;font-size:12px;display:block}.shade-step select{width:100%;height:36px;margin-top:6px;padding-top:4px;padding-bottom:4px}.shade-editor-actions,.shade-add{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.shade-add label,.export-format{align-items:center;gap:10px;font-size:13px;display:flex}.export-format{margin-top:14px}@media (width<=600px){.shade-editor{padding:16px}.shade-editor-heading{align-items:flex-start}.shade-step-list{grid-template-columns:repeat(2,minmax(0,1fr))}.shade-editor-actions{justify-content:flex-end;width:100%}.export-format{flex-direction:column;align-items:flex-start}}.shade-step-list{grid-template-columns:repeat(auto-fill,minmax(112px,1fr))}.shade-step{padding:10px}.shade-step>input{height:36px}.shade-remove{top:10px;right:2px}@media (width<=600px){.shade-step-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:18px 0}}@media (width<=520px){.toolbar .scale-control{flex:1 0 100%;margin-bottom:4px}.toolbar .preset{flex:1}.toolbar .preset select{max-width:none}.toolbar>button{flex:1 0 auto}}.export-input-options{border:0;gap:2px;min-width:0;margin:10px 0 4px;padding:0;display:grid}.export-input-options legend{margin-bottom:4px;font-size:13px;font-weight:600}.export-input-options label{cursor:pointer;align-items:center;gap:8px;min-height:26px;display:flex}.export-input-options input[type=radio]{width:16px;height:16px;min-height:0;accent-color:var(--ink);flex:none;margin:0;padding:0}
