/* Every file picker of the dashboard: a button in the dashboard's own look, not the browser's (Meg, 2026-10-31: "i hate the outdated choose files button") */
input[type="file"] { max-width: 100%; font: inherit; font-size: 0.9375rem; color: var(--soft); cursor: pointer; }
input[type="file"]::file-selector-button { min-height: 2.5rem; margin-right: 0.875rem; padding: 0 1.125rem; border: 1.5px solid var(--navy); border-radius: 999px; background: var(--white); color: var(--navy); font: inherit; font-weight: 500; cursor: pointer; }
input[type="file"]:hover::file-selector-button { background: var(--navy); color: var(--cream); }

/* (README 108) The shared piece of std-file.js, on the public site, the participant's pages and the dashboard: her button, "No file yet", the names chosen
   with Remove. The real input lies over the button, see-through, so a press, a tap or the keyboard reaches it; its focus shows on the button. */
.fpk { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.875rem; max-width: 100%; min-width: 0; }
.fpk__btn { position: relative; display: inline-flex; flex: none; max-width: 100%; vertical-align: middle; }
.fpk__btn input[type="file"].fpk__input { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; min-height: 0; max-width: none; margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; font-size: 1rem; }
.fpk__face { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0 1.25rem; border: 1.5px solid var(--navy, #17233C); border-radius: 999px;
  background: var(--paper, #FFFDF8); color: var(--navy, #17233C); font: 500 0.9375rem/1.2 var(--sans, "Jost", sans-serif); text-align: center; white-space: normal; overflow-wrap: anywhere; }
.fpk__btn:hover .fpk__face { background: var(--navy, #17233C); color: var(--cream, #F7F2E8); }
.fpk__input:focus-visible + .fpk__face { outline: 3px solid var(--coral, #D96955); outline-offset: 2px; }
.fpk__input:disabled + .fpk__face { opacity: 0.55; }
.fpk__input:disabled { cursor: not-allowed; }
.fpk__input[aria-invalid="true"] + .fpk__face { border-color: #9B2F1D; }
.fpk__none { font: 400 0.9375rem/1.3 var(--sans, "Jost", sans-serif); color: var(--soft, var(--ink-soft, #5F5A52)); }
.fpk__none[hidden], .fpk__list:empty { display: none; }
.fpk__list { flex: 1 1 100%; display: grid; gap: 0.35rem; margin: 0; padding: 0; list-style: none; min-width: 0; }
.fpk__item { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; min-width: 0; font: 400 0.9375rem/1.35 var(--sans, "Jost", sans-serif); color: var(--ink, #252525); }
.fpk__name { min-width: 0; overflow-wrap: anywhere; }
.fpk__off { padding: 0.25rem 0; border: 0; background: none; color: var(--navy, #17233C); font: 500 0.875rem/1.2 var(--sans, "Jost", sans-serif); text-decoration: underline; text-underline-offset: 0.15em; cursor: pointer; }
.fpk__off:hover { color: var(--coral-deep, #B84A36); }
.fpk__off:focus-visible { outline: 3px solid var(--coral, #D96955); outline-offset: 2px; border-radius: 4px; }
@media print { .fpk__btn, .fpk__off { display: none; } }
