.sticker-colors-dialog{width:min(1040px,calc(100vw - 24px));max-height:calc(100dvh - 28px);padding:0;border:1px solid var(--border);border-radius:22px;color:var(--fg);background:var(--bg-card,#fff);margin:auto}.sticker-colors-dialog::backdrop{background:#1b243c80;backdrop-filter:blur(9px)}.sticker-colors-dialog *{box-sizing:border-box}.sticker-colors-dialog header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid var(--border)}.sticker-colors-dialog h2{font-size:22px;margin:7px 0}.sticker-colors-dialog header span{font-size:13px;color:var(--fg-muted)}.sticker-colors-dialog button,.sticker-colors-dialog input{font:inherit;color:inherit}.sticker-colors-dialog button{min-height:40px;padding:8px 12px;border:1px solid var(--border);border-radius:10px;background:var(--bg-soft,#f3f5f9);cursor:pointer}.sticker-colors-dialog button:disabled{opacity:.4;cursor:default}.sc-body{padding:20px 24px;overflow:auto;max-height:calc(100dvh - 148px);overscroll-behavior:contain}.sc-work{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(240px,1fr);gap:24px}.sc-selection-tools,.sc-color-row,.sc-swatches,.sc-history{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.sc-selection-tools output{font-size:12px;color:var(--fg-muted)}.sc-art,.sc-preview{background-color:#f4f5f7;background-image:conic-gradient(#dfe3ea 25%,transparent 0 50%,#dfe3ea 0 75%,transparent 0);background-size:18px 18px;border-radius:16px;position:relative;overflow:hidden;margin:14px 0}.sc-art{height:360px}.sc-preview{height:210px;display:grid;place-items:center}.sc-preview canvas{width:100%;height:100%;object-fit:contain}.sc-art .ms-vector-surface{position:absolute;inset:0;width:100%;height:100%}.sc-parts{display:flex;gap:8px;flex-wrap:wrap;max-height:120px;overflow:auto}.sc-parts label{display:flex;gap:5px;align-items:center;min-height:36px;font-size:12px;padding:7px 9px;border:1px solid var(--border);border-radius:8px}.sticker-colors-dialog fieldset{border:1px solid var(--border);border-radius:12px;margin:0 0 16px;padding:12px}.sticker-colors-dialog legend{font-size:13px}.sc-color-row input[type=color]{width:52px;height:40px;border:0;background:none;cursor:pointer}.sc-color-row input[type=text]{width:110px;min-height:40px;background:var(--bg-soft);border:1px solid var(--border);border-radius:8px;padding:8px}.sc-swatches{margin-top:12px}.sc-swatches button,.wk-color-swatches button{background:var(--swatch)!important;width:27px;min-height:27px;height:27px;padding:0;border:1px solid #8691a666;border-radius:8px;box-shadow:inset 0 0 0 2px #ffffff60}.sc-history{border-top:1px solid var(--border);padding-top:14px}.sc-history button{font-size:12px}.sticker-colors-dialog footer{display:flex;gap:20px;justify-content:space-between;align-items:flex-end;border-top:1px solid var(--border);margin-top:22px;padding-top:18px}.sticker-colors-dialog footer label{display:grid;gap:8px;font-size:13px;flex:1;max-width:350px}.sticker-colors-dialog footer input{width:100%;padding:10px;border:1px solid var(--border);border-radius:10px;background:var(--bg-soft)}.sticker-colors-dialog .sc-primary{background:var(--accent,#536986);color:#fff}.sticker-colors-dialog [data-sc-status]{font-size:13px;min-height:22px;line-height:1.6}.sticker-colors-dialog button:focus-visible{outline:2px solid var(--fg);outline-offset:2px}.wk-color-swatches{display:flex;gap:6px;flex-wrap:wrap}.wk-color-hex{width:90px!important;font:12px monospace!important}.wk-shape-color{flex-wrap:wrap!important;padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--bg-soft)}.wk-shape-color input[type=color]{cursor:pointer}.sc-art .is-chosen{filter:drop-shadow(0 0 2px #536986)}.sc-art .ms-vector-surface:has(.is-chosen) [data-ms-part]:not(.is-chosen){opacity:.45}
@media(max-width:700px){.sc-work{grid-template-columns:1fr}.sc-art{height:290px}.sc-preview{height:160px}.sc-body{padding:16px}.sticker-colors-dialog footer{align-items:stretch;flex-direction:column}.sticker-colors-dialog footer label{max-width:none}.sc-swatches button{width:32px;height:32px}.sc-history button{flex:1}.wk-color-swatches button{min-width:30px;min-height:30px}}
