@import './shared.css';
.palette-toolbar{display:grid;grid-template-columns:minmax(180px,1fr) 190px auto auto;gap:15px;align-items:end;margin-bottom:22px}.palette-toolbar .field{margin:0}.palette-toolbar .button{min-height:43px}.swatch-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:25px}.swatch-card{border-radius:15px;overflow:hidden;border:1px solid var(--line);background:white;min-width:0}.swatch{height:174px;position:relative;padding:18px;display:flex;flex-direction:column;justify-content:space-between}.swatch-number{font-size:11px;letter-spacing:2px;font-weight:bold}.swatch-picker{font-size:11px;border:1px solid currentColor;border-radius:7px;padding:6px 10px;align-self:flex-start;position:relative;overflow:hidden;cursor:pointer}.swatch-picker input{opacity:0;position:absolute;inset:0;width:100%;height:100%;cursor:pointer}.swatch-picker:focus-within{outline:3px solid #fff;outline-offset:2px;box-shadow:0 0 0 7px #17251f}.swatch-bottom{padding:15px}.swatch-bottom .field{margin-bottom:9px}.swatch-bottom input[id^=hex]{padding:7px 8px;font-family:monospace;font-size:13px}.lock{display:flex;gap:7px;align-items:center;min-height:32px;font-size:12px;color:var(--muted);cursor:pointer}.lock input{accent-color:#665095}.palette-bottom{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);gap:22px}.theme-preview{padding:26px 32px;min-height:410px;position:relative;overflow:hidden}.theme-nav{display:flex;justify-content:space-between;gap:12px;font-size:11px;font-weight:700;letter-spacing:1px}.theme-content{padding-top:38px;position:relative;z-index:1}.theme-badge{display:inline-block;font-size:10px;font-weight:bold;border-radius:20px;padding:6px 11px}.theme-content h2{font-size:clamp(27px,3.2vw,43px);line-height:1.13;margin:18px 0 13px;letter-spacing:-1.7px;position:relative;z-index:1}.theme-content>p{max-width:310px;font-size:12px;line-height:1.7;position:relative;z-index:1}.theme-content>button{padding:10px 15px;border:0;border-radius:8px;font-size:12px;font-weight:700;position:relative;z-index:1}.theme-shapes{position:absolute;right:-25px;bottom:-45px;width:240px;height:200px;z-index:0;opacity:.65}.theme-shapes i{display:block;position:absolute;border-radius:50%;width:150px;height:150px}.theme-shapes i:nth-child(1){right:0;top:0}.theme-shapes i:nth-child(2){left:0;bottom:0}.theme-shapes i:nth-child(3){width:70px;height:70px;right:0;bottom:0}#contrast-sample{border-radius:11px;padding:16px;text-align:center;border:1px solid var(--line)}#contrast-sample>span{font-size:39px;line-height:1.2;font-weight:700}#contrast-sample p{font-size:12px;margin:5px 0 0}.contrast-ratio{display:flex;align-items:baseline;gap:12px;margin:15px 0}.contrast-ratio strong{font-size:36px;letter-spacing:-1.5px}.contrast-ratio>span{font-size:11px;color:var(--muted)}#contrast-results p{display:flex;justify-content:space-between;gap:10px;font-size:12px;margin:8px 0}#contrast-results strong{font-size:11px}#contrast-results strong[data-pass=true]{color:#285a33}#contrast-results strong[data-pass=false]{color:#894229}.palette-footer{display:grid;grid-template-columns:1.5fr 1fr;gap:25px;margin-top:23px}.palette-footer .project-actions{margin:0 0 9px}.preset-list{display:flex;gap:10px;flex-wrap:wrap}.preset{background:transparent;border:1px solid var(--line);padding:7px;border-radius:9px;font-size:10px;text-align:left;color:var(--ink)}.preset-colors{display:flex;margin-bottom:5px;border-radius:4px;overflow:hidden}.preset-colors i{display:block;width:23px;height:20px}@media(max-width:1000px){.palette-toolbar{grid-template-columns:1fr 1fr}.palette-bottom{grid-template-columns:1fr 310px}.swatch{height:150px;padding:12px}.swatch-bottom{padding:10px}.theme-preview{padding:22px}.theme-shapes{opacity:.3}}@media(max-width:760px){.palette-bottom{grid-template-columns:1fr}.swatch-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.swatch{height:130px}.palette-footer{grid-template-columns:1fr}.theme-shapes{opacity:.45}.theme-content h2{font-size:35px}.contrast-panel .hint{max-width:440px}}@media(max-width:380px){.swatch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.palette-toolbar{gap:10px}.palette-toolbar .button{font-size:11px;padding:9px}.theme-preview{padding:18px}.theme-content h2{font-size:30px}.theme-nav{font-size:9px}}

@media(forced-colors:active){.swatch-picker:focus-within{outline:3px solid Highlight;outline-offset:3px;box-shadow:none}}
