.color-swatch-button{--swatch:#fff;width:100%;min-height:46px;border:2px solid #cbd6d0;background:#fff;border-radius:9px;padding:5px 8px;display:flex;align-items:center;gap:9px;color:#26332e;box-shadow:0 2px 8px rgba(21,54,43,.08);transition:.16s}
.color-swatch-button:hover{border-color:var(--green);box-shadow:0 0 0 3px rgba(18,104,79,.12)}
.color-swatch-button>span{display:block;width:35px;height:32px;flex:none;border-radius:6px;background:var(--swatch);border:1px solid rgba(0,0,0,.18);box-shadow:inset 0 0 0 1px rgba(255,255,255,.3)}
.color-swatch-button>b{font-size:12px;letter-spacing:.04em}.color-swatch-button.compact{width:128px;min-height:42px}.color-swatch-button.compact>span{width:42px;height:30px}
.color-dialog{border:0;border-radius:14px;padding:0;width:min(480px,92vw);box-shadow:0 28px 90px rgba(0,0,0,.28)}.color-dialog::backdrop{background:rgba(16,27,23,.48)}.color-dialog form{padding:24px}
.color-dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.color-dialog-head small{font-size:10px;color:var(--green);font-weight:700}.color-dialog-head h2{font-size:20px;margin:3px 0 0}.color-dialog-head>button{border:0;background:none;font-size:24px}
.common-colors{display:grid;grid-template-columns:repeat(8,1fr);gap:9px;padding:13px;background:#f3f6f4;border-radius:9px}.common-color{aspect-ratio:1;border:2px solid #fff;border-radius:8px;background:var(--color);box-shadow:0 0 0 1px rgba(0,0,0,.18);position:relative}.common-color:hover,.common-color.active{box-shadow:0 0 0 3px var(--green);transform:scale(1.05)}.common-color.active::after{content:"✓";position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-weight:900;text-shadow:0 1px 3px #000}
.color-custom-row{display:grid;grid-template-columns:70px 1fr 58px;align-items:end;gap:12px;margin:20px 0}.color-custom-row>input[type=color]{width:70px;height:48px;border:1px solid #bcc9c2;border-radius:8px;padding:3px;background:#fff}.color-custom-row label{display:flex;flex-direction:column;gap:6px;font-size:11px;color:#65716c}.color-custom-row label input{height:42px;border:1px solid #cbd6d0;border-radius:7px;padding:0 10px;text-transform:uppercase}.color-current-preview{height:48px;border-radius:8px;background:var(--preview,#fff);border:2px solid #fff;box-shadow:0 0 0 1px #b9c5bf}.color-dialog .dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}
