/* Shared baseline for EVERY page (landing, hair, nails). Link it FIRST, before
   the page's own stylesheet, so an app can still override a specific control.

   Why this file exists — the nails "buttons look live" bug (human report
   2026-10-20): the disabled state was written twice, differently.
     hair/style.css   button:disabled { … }   element selector -> every control greyed
     nails/styles.css .btn:disabled  { … }    class selector, plus a one-off
                                              #generate:disabled patch
   #downloadBtn, .viewZoomBtn, #delSelBtn, #delAllBtn, #ovDownload carry no .btn
   class, so on nails a DISABLED control rendered at full opacity with a normal
   pointer cursor. Combined with the ghost photo being left at full opacity after
   an advisory run, the result slot looked like it held a finished generation.
   The JS state machine was correct in both apps (disabled on submit, enabled only
   inside #showResult) — only the styling diverged here. The ghost half of that
   report was fixed separately in P63: Result is cleared, not frozen, when a run
   ends on an advisory outcome.

   One rule, three pages, so the shells cannot drift on this again. */
button:disabled { opacity: 0.45; cursor: not-allowed; }

/* P132: the honesty line under the generating spinner. It lives HERE, not in
   app.css, because hair does not load app.css - the rule was missing there and
   the note rendered as an unstyled paragraph BESIDE the photo (human report:
   'Hair shows the note at the side!?'). base.css loads in all three apps. */
.ghost-note { position: absolute; left: 0; right: 0; width: fit-content;
  margin: 0 auto; top: calc(50% + 44px); max-width: 92%; padding: 7px 14px; border-radius: 14px;
  background: rgba(22, 20, 28, .72); color: #f4f2f7; backdrop-filter: blur(4px);
  text-align: center; font-size: 15px; line-height: 1.4; pointer-events: none; }
/* P133b: the break is chosen by the COPY, not by the browser - a natural break
   after the comma beats 'don't / be angry' (human report) and beats an orphan. */
.ghost-note span { display: block; }

/* P137 (S21: a picked photo is sometimes unreadable - NotReadableError on every
   read AND on decode). Both file inputs were 'hidden' (display:none) while the
   Android picker ran; a display:none element can be pruned and the content://
   grant dies with it. Keep the input RENDERED and off-screen instead - same
   invisible result for the user, a live element for the picker. */
.offscreen-input { position: absolute; left: -10000px; top: 0; width: 1px; height: 1px;
  opacity: 0; overflow: hidden; }

/* P143: reversible picker fallback - a text link, not a second big button. */
.linkBtn { background: none; border: 0; padding: 0; font: inherit; color: var(--accent);
  text-decoration: underline; cursor: pointer; }
