.studio-color-field{border:0;min-width:0;margin:12px 0;padding:0}.studio-color-field legend{margin-bottom:5px;font-size:12px}.studio-color-sources section{margin:12px 0}.studio-color-sources h3{font:inherit;margin:0 0 6px;font-weight:600}.studio-color-field p{color:var(--muted);margin:5px 0;font-size:12px}.studio-color-swatches{flex-wrap:wrap;gap:6px;display:flex}.studio-color-swatches button{overflow-wrap:anywhere;text-align:start;align-items:center;gap:6px;max-width:100%;display:inline-flex}.studio-color-swatch{border:1px solid var(--ink);border-radius:3px;flex:0 0 18px;width:18px;height:18px;display:inline-block}.studio-color-inputs{grid-template-columns:38px minmax(0,1fr);gap:8px;display:grid}.studio-color-field :focus-visible{outline:2px solid var(--accent-ink);outline-offset:-2px}.studio-color-field [role=alert]{color:var(--studio-danger-ink,var(--ink))}@media (max-width:768px){.studio-color-inputs{grid-template-columns:44px minmax(0,1fr)}}.pdf-studio .studio-color-field{flex-direction:column;gap:8px;display:flex}.pdf-studio .studio-color-field .studio-color-custom{order:0}.pdf-studio .studio-color-field .studio-color-brand-row{order:1;gap:8px;display:flex}.pdf-studio .studio-color-field .studio-color-sources{order:2}.pdf-studio .studio-color-brand-row button{border:1px solid var(--border-input);border-radius:999px;width:20px;min-width:20px;height:20px;min-height:20px;padding:0;overflow:hidden}.pdf-studio .studio-color-brand-row .studio-color-swatch{border:0;border-radius:999px;width:100%;height:100%;display:block}.pdf-studio .studio-color-brand-row .studio-color-swatch-name{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.pdf-studio .studio-color-inputs{grid-template-columns:34px minmax(0,1fr)}.pdf-studio .studio-color-inputs input[type=color]{width:34px;height:34px;padding:2px}.pdf-studio .studio-color-field :focus-visible{outline:2px solid var(--accent-ink);outline-offset:-2px}@media (pointer:coarse),(max-width:768px){.pdf-studio .studio-color-brand-row button{width:44px;height:44px;min-height:44px}}.studio-color-chooser{border:1px solid var(--line);background:var(--panel);justify-content:space-between;align-items:center;gap:8px;width:100%;min-height:44px;display:flex}.studio-color-chooser svg{flex:none;width:16px;height:16px}.studio-color-chooser[aria-expanded=true] svg{transform:rotate(180deg)}.studio-color-source-options[hidden]{display:none}
