.web-color-trigger{display:inline-block!important;width:60px;min-width:60px;height:48px;min-height:48px;padding:7px;background:var(--swatch)!important;border:5px solid #c9b7c3!important;border-radius:12px;touch-action:manipulation;box-shadow:inset 0 0 0 1px #5555}
.web-color-dialog{box-sizing:border-box;width:min(410px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:20px;overflow:auto;overscroll-behavior:contain;z-index:2147483647;border:1px solid #a78599;border-radius:20px;background:var(--surface,#fff);color:var(--text,#353038)}
.web-color-dialog::backdrop{background:#0006}.web-color-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.web-color-head h2{font-size:20px;margin:0}.web-color-head button{min-height:44px;min-width:44px}.web-color-sv{height:clamp(120px,29vh,210px);position:relative;touch-action:none;border-radius:12px;background-image:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,transparent);cursor:crosshair;outline-offset:3px}.web-color-cursor{width:18px;height:18px;border:2px solid white;box-shadow:0 0 0 1px #222;border-radius:50%;position:absolute;transform:translate(-50%,-50%);pointer-events:none}.web-color-hue{display:block;margin:16px 0 12px}.web-color-hue input{display:block;width:100%;min-height:36px;touch-action:pan-x;accent-color:#a56585;background:linear-gradient(to right,red,#ff0,#0f0,#0ff,#00f,#f0f,red)}.web-color-value{display:flex;align-items:center;gap:14px}.web-color-sample{width:48px;height:48px;border:1px solid #bbb;border-radius:10px}.web-color-value label{flex:1}.web-color-value input{display:block;width:100%;box-sizing:border-box;min-height:44px;font-size:18px}.web-color-error{min-height:20px;margin:4px 0;color:#c63853;font-size:12px}.web-color-swatches{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.web-color-swatches button{height:40px;min-height:40px;padding:0;border:1px solid #9998;border-radius:8px}.web-color-hint{font-size:12px;margin:12px 0}.web-color-actions{display:flex;justify-content:flex-end;gap:12px}.web-color-actions button{min-height:46px;min-width:90px}.all-files-choice{font-size:12px;min-height:40px;padding:8px;margin:5px 0}.import-summary{white-space:pre-wrap}
@media(prefers-color-scheme:dark){.web-color-dialog{background:#2b252e;color:#f2eaf0}}

.export-report{margin:20px 0;padding:20px;border:1px solid #b990a7;border-radius:16px;background:var(--surface,#fff);overflow-wrap:anywhere}.export-report h2{font-size:22px}.export-report li{margin:6px 0}.export-report [hidden]{display:none}
