/* O&L Time - Files (Nov 15, 2026). Color = left edge per person (Luke's convention): Luke blue, Judy orange. */
.circ.files { --c1:#3a7fb8; --c2:#1b4a72; --glow:58,127,184; }
[data-theme="dark"] .circ.files { --c1:#5b9bd1; --c2:#24598a; }

.fl-pick { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.fl-drop { display: flex; align-items: center; gap: 14px; padding: 22px 18px; border: 2px dashed var(--line); border-radius: 14px;
  background: var(--bg); cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.fl-drop:hover, .fl-drop.over { border-color: var(--acc); background: var(--accbg); }
.fl-drop-ic { flex: none; width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--acc); color: #fff; }
[data-theme="dark"] .fl-drop-ic { color: #0f2236; }
.fl-drop-ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.fl-drop-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fl-drop-big { font-weight: 600; font-size: 16px; color: var(--ink); }
.fl-drop-sub { font-size: 13px; color: var(--mut); }

.fl-noterow { margin-top: 12px; }
.fl-notelab { display: block; font-size: 12.5px; color: var(--mut); margin-bottom: 4px; }
#filesNote { width: 100%; box-sizing: border-box; font-size: 16px; min-height: 44px; padding: 8px 10px; border-radius: 8px; }

.fl-uploads:empty { display: none; }
.fl-uploads { margin-top: 12px; }
.fl-job { border: 1px solid var(--line); border-left: 5px solid var(--acc); border-radius: 10px; padding: 10px 12px; margin: 8px 0; background: var(--bg); }
.fl-job.done { border-left-color: var(--ok); }
.fl-job.err { border-left-color: var(--stop); }
.fl-job-top { display: flex; align-items: center; gap: 10px; }
.fl-job-name { flex: 1; min-width: 0; font-weight: 600; overflow-wrap: anywhere; line-height: 1.3; }
.fl-job-st { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--mut); white-space: nowrap; }
.fl-job.done .fl-job-st { color: var(--ok); }
.fl-bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; margin-top: 8px; }
.fl-fill { height: 100%; width: 0; background: var(--acc); border-radius: 999px; transition: width .25s ease; }
.fl-job.done .fl-fill { background: var(--ok); }
.fl-job-sub { font-size: 12.5px; color: var(--mut); margin-top: 6px; font-variant-numeric: tabular-nums; }
.fl-job.err .fl-job-sub { color: var(--ink); }

.fl-head { font-size: 12px; color: var(--mut); font-weight: 600; letter-spacing: .3px; margin: 18px 2px 4px; }
.fl-empty { padding: 14px 4px; }
.fl-row { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-left: 5px solid var(--acc); border-radius: 10px;
  padding: 10px 10px 10px 12px; margin: 8px 0; background: var(--bg); }
.fl-row.judy { border-left-color: var(--acc2); }
.fl-ext { flex: none; min-width: 44px; padding: 4px 6px; box-sizing: border-box; border-radius: 6px; text-align: center; font-size: 11px; font-weight: 700;
  letter-spacing: .4px; background: var(--accbg); color: var(--ink); }
.fl-row.judy .fl-ext { background: var(--mgbg); }
.fl-mid { flex: 1; min-width: 0; }
.fl-name { font-weight: 600; overflow-wrap: anywhere; line-height: 1.3; }
.fl-sub { font-size: 12.5px; color: var(--mut); margin-top: 2px; font-variant-numeric: tabular-nums; }
.fl-note { font-size: 14px; color: var(--ink); margin-top: 4px; overflow-wrap: anywhere; }
.fl-ask { font-size: 14px; font-weight: 600; margin-top: 6px; color: var(--ink); }
.fl-acts { flex: none; display: flex; gap: 8px; align-items: center; }
.fl-icon { width: 44px; height: 44px; border-radius: 50%; padding: 0; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; text-decoration: none; box-sizing: border-box; }
.fl-icon:hover { border-color: var(--acc); color: var(--acc); }
.fl-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fl-dl { background: var(--acc); border-color: var(--acc); color: #fff; }
.fl-dl:hover { color: #fff; filter: brightness(1.08); }
[data-theme="dark"] .fl-dl, [data-theme="dark"] .fl-dl:hover { color: #0f2236; }
.fl-rm:hover { border-color: var(--stop); color: var(--stop); }
.fl-yes, .fl-no { min-height: 44px; padding: 8px 14px; border-radius: 8px; font-weight: 600; cursor: pointer; }
.fl-yes { background: var(--stop); border: 1px solid var(--stop); color: #fff; }
.fl-no { background: var(--card); border: 1px solid var(--line); color: var(--ink); }
.fl-err { margin: 8px 0; padding: 10px 12px; border-radius: 8px; border-left: 3px solid var(--stop); background: var(--bg); color: var(--ink); font-size: 14px; }
.fl-foot { margin-top: 10px; font-size: 12px; }
.fl-icon:focus-visible, .fl-yes:focus-visible, .fl-no:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; }
.fl-drop:has(+ .fl-pick:focus-visible) { border-color: var(--acc); outline: 3px solid var(--acc); outline-offset: 2px; }

@media (max-width: 480px) {
  .fl-drop { padding: 18px 14px; }
  .fl-row { flex-wrap: wrap; }
  .fl-ext { display: none; }
  .fl-acts { width: 100%; justify-content: flex-end; }
  .fl-row:not(:has(.fl-ask)) .fl-acts { width: auto; }
}
@media (prefers-reduced-motion: reduce) { .fl-drop, .fl-fill { transition: none; } }

/* Header on small phones (Nov 15, 2026): the Files circle makes 5 for Luke. Below 420px the circles tighten
   (the ::after ring keeps each tap target 44px) and, when the Private circle shows (Luke only), his name hides
   so the light/dark switch stays on screen. Judy keeps her name. */
@media (max-width: 420px) {
  .circs { gap: 7px; margin-right: 4px; }
  .circ { width: 37px; height: 37px; }
  .circ svg { width: 18px; height: 18px; }
  .circ::after { inset: -4px; }
  .circs:has(#tabPriv:not(.hide)) ~ #whoami { display: none; }
}
