.identity-color-field{display:grid;align-content:start;gap:6px;min-width:0}
.identity-color-field>label{font-size:var(--text-small);font-weight:600;color:var(--ink)}
.identity-color-line{display:grid;grid-template-columns:40px minmax(0,1fr) 38px;align-items:center;min-height:42px;padding:0 2px;border:var(--border-width) solid var(--border);border-radius:var(--radius-sm);background:var(--surface)}
.identity-color-line:focus-within{outline:var(--focus-width) solid var(--interactive-focus);outline-offset:2px}
.identity-color-line:has([aria-invalid=true]){border-color:var(--error)}
.identity-color-line .identity-hex[type=text]{min-width:0;width:100%;margin:0;border:0;box-shadow:none;padding:0 var(--space-1);height:38px;min-height:0;border-radius:0;background:transparent;font:var(--weight-medium) var(--text-small)/var(--leading-caption) var(--mono);letter-spacing:.025em;color:var(--ink);outline:0}
.identity-color-btn,.identity-logo-swatch{display:inline-grid;place-items:center;min-width:36px;min-height:38px;padding:var(--space-1);border:0;border-radius:var(--radius-sm);font:inherit;color:var(--muted);background:transparent}
.identity-color-btn:hover,.identity-logo-swatch:hover{background:var(--soft);color:var(--ink)}
.identity-color-btn>i,.identity-logo-swatch>i{display:block;width:24px;height:24px;border-radius:var(--radius-sm);box-shadow:var(--elevation-1)}
.identity-color-help,.identity-color-error{margin:0;font-size:var(--text-caption);line-height:1.45;color:var(--muted)}
.identity-color-error{color:var(--error)}
.identity-picker-panel{display:grid;gap:9px;margin-top:3px;padding:var(--space-3);border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);min-width:0;max-width:100%;overflow:hidden}
.identity-picker-panel hex-color-picker{display:flex;width:100%;min-width:0;height:130px;--hue-height:18px}
.identity-picker-panel hex-color-picker::part(saturation){border-radius:var(--radius-sm) var(--radius-sm) 0 0}
.identity-picker-panel hex-color-picker::part(hue){border-radius:0 0 var(--radius-sm) var(--radius-sm)}
.identity-picker-panel hex-color-picker::part(saturation-pointer),.identity-picker-panel hex-color-picker::part(hue-pointer){width:18px;height:18px}
.identity-palette-head{display:flex;align-items:center;justify-content:space-between;gap:5px;flex-wrap:wrap;font-size:var(--text-caption);font-weight:600}
.identity-palette-head button{min-height:30px;padding:3px 6px;color:var(--accent);font-size:var(--text-xs);font-weight:600}
.identity-logo-swatches{display:flex;flex-wrap:wrap;gap:2px;color:var(--muted);font-size:var(--text-caption)}
.identity-logo-swatch{min-width:32px;min-height:32px}
@media(max-width:650px){.identity-color-line{grid-template-columns:44px minmax(0,1fr) 44px}.identity-color-btn,.identity-logo-swatch{min-height:44px}.identity-picker-panel hex-color-picker{height:154px}}
