/* Installation colors are injected before paint. Semantic states never inherit them. */
:root {
  --locus-serif:"Iowan Old Style",Baskerville,Georgia,serif;
  --locus-danger:#a12039; --locus-danger-hover:#80192e;
  --locus-danger-soft:#faf0f1; --locus-danger-border:#e8cbd0;
  --locus-success:#356044; --locus-success-soft:#f0f5ef;
  --locus-warning:#80692b; --locus-warning-soft:#fff8e8;
}

/* Keep native file picking and filename feedback, with the shared button style. */
input[type="file"] { max-width: 100%; color: #68686c; font: 13px/1.5 "Helvetica Neue", Arial, sans-serif; }
input[type="file"]::file-selector-button { min-height: 36px; margin-inline-end: 12px; padding: 7px 12px; border: 1px solid var(--locus-tint-border); border-radius: 4px; background: #fff; color: var(--locus-link); font: 500 12px/1.4 "Helvetica Neue", Arial, sans-serif; cursor: pointer; }
input[type="file"]:not(:disabled)::file-selector-button:hover { border-color: var(--locus-link); background: var(--locus-soft); }
input[type="file"]:focus-visible { outline: 2px solid var(--locus-focus); outline-offset: 3px; }
input[type="file"]:disabled::file-selector-button { opacity: .5; cursor: default; }
