.palette-action{justify-content:center;margin-top:20px;display:flex}.palette-layout{grid-template-columns:minmax(0,1fr) 320px}.palette-page .editor-workspace:not([data-ready]) .editor-layout{display:grid}.palette-page .editor-preview{grid-row:2;position:static}.palette-extraction{grid-area:1/1/auto/-1;width:100%}.palette-page .editor-controls{grid-row:2}.palette-page .editor-controls[hidden]{display:none}.palette-page .editor-stage{justify-content:center}#palette-placeholder{color:var(--muted);text-align:center;font-size:14px}#palette-preview{object-fit:contain;max-width:100%;max-height:100%;display:block}.palette-page .editor-controls h2{margin:0;font-size:15px;font-weight:500}.palette-count{align-items:center;gap:12px;margin-top:16px;font-size:14px;display:flex}.palette-count>span{margin-right:auto}.palette-count .editor-apply{width:44px;height:44px;margin:0;padding:0;font-size:20px}.palette-count output{text-align:center;font-variant-numeric:tabular-nums;min-width:2ch}.palette-copy-status{min-height:22px;color:var(--green)}.palette-copy-fallback{margin-top:12px}.palette-copy-fallback textarea{width:100%;color:inherit;background:0 0;border:1px solid;border-radius:10px;padding:10px;font-size:16px}.palette-colors{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px;display:grid}.palette-color{min-width:0;color:var(--green);background:#fdfdf9;border:1px solid #dfe3d6;border-radius:12px;flex-direction:column;padding:0;display:flex;overflow:hidden}.palette-color:hover{border-color:#8b9f5f}.palette-color>span{width:100%;height:64px;display:block}.palette-color code{text-align:center;width:100%;padding:10px 6px 4px;font-size:14px;display:block}.palette-color small{padding:0 6px 10px;font-size:12px}.palette-page .editor-apply:disabled{opacity:.5}:root[data-theme=dark] .palette-color{background:#202923;border-color:#46523e}@media (width<=700px) and (height>=501px),(width<=599px),(pointer:coarse) and (height<=500px){.palette-layout{margin-top:24px}.palette-page .editor-layout{flex-direction:column;gap:12px;display:flex}.palette-page .editor-workspace:not([data-ready]) .editor-layout{display:flex}.palette-page .editor-preview{width:100%}.palette-page .editor-stage{height:clamp(144px,32svh,300px);padding:16px}.palette-page .editor-controls{width:100%;max-width:460px;margin:0 auto}.palette-extraction .palette-action{margin-top:0}}
