/* One-Hour Photo (ROADMAP-Calcs-PinPin.md PP66) — the photo and its two buttons first (on top on a phone, so the preview
   and Save share the first screen), the looks beside it. Everything else is the core stylesheet. */
.fc { display: grid; gap: 1.2rem; }
@media (min-width: 900px) { .fc { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; } .fc-main { position: sticky; top: 1rem; } }
.fc .chqt-answer { margin: 0 0 .5rem; }
.fc-stage { position: relative; background: var(--chqt-cream, #f6f2fa); border-radius: 12px; padding: 8px; }
/* the photo keeps its shape and fits the screen: a phone's first screen holds it AND the Save button */
.fc-canvas { display: block; width: auto; height: auto; max-width: 100%; max-height: 52vh; margin: 0 auto; border-radius: 6px; touch-action: pan-y; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; cursor: pointer; }
@media (max-width: 600px) { .fc-canvas { max-height: 34vh; } .fc .chqt-answer { font-size: 26px; } .fc .chqt-answer small { font-size: 14px; margin-top: 2px; } .fc-stage { padding: 6px; } }
.fc-before { position: absolute; right: 14px; bottom: 14px; min-height: 44px; padding: 4px 14px; font: inherit; font-size: 14px; font-weight: 600; border-radius: 22px; border: 0; background: rgba(25, 19, 32, .72); color: #fff; cursor: pointer; -webkit-user-select: none; user-select: none; }
.fc-before[aria-pressed="true"] { background: var(--chqt-accent, #b3124e); }
.fc-before:focus-visible { outline: 3px solid var(--chqt-accent, #b3124e); outline-offset: 2px; }
.fc-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: .6rem; }
.fc-act .chqt-btn { flex: 1 1 140px; }
.fc-act .chqt-btn:disabled { opacity: .55; cursor: default; }
.fc-status { margin: .5rem 0 0; min-height: 1.4em; }
.fc-done { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: .6rem; padding: 10px 12px; border-radius: 10px; background: var(--chqt-cream, #f6f2fa); }
.fc-done-msg { flex-basis: 100%; margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.fc-done .chqt-hint { flex-basis: 100%; margin: 0; }
.fc-notes { margin: .5rem 0 0; padding-left: 1.1rem; font-size: .95rem; }
.fc-strip { list-style: none; display: flex; gap: 8px; overflow-x: auto; margin: .7rem 0 0; padding: 2px 2px 6px; -webkit-overflow-scrolling: touch; }
.fc-thumb { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 84px; min-height: 44px; padding: 3px; border: 2px solid transparent; border-radius: 8px; background: none; font: inherit; font-size: 11px; color: inherit; cursor: pointer; }
.fc-thumb canvas { max-width: 76px; max-height: 76px; border-radius: 4px; }
.fc-thumb span { max-width: 76px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-thumb[aria-pressed="true"] { border-color: var(--chqt-accent, #b3124e); }
.fc-bad .fc-thumb { cursor: default; opacity: .7; }
.fc-looks { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.fc-look { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px 8px; min-height: 44px; border: 2px solid var(--chqt-line, #ddd5e6); border-radius: 10px; background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: var(--chqt-ink, #191320); cursor: pointer; text-align: center; line-height: 1.2; }
.fc-look canvas { width: 96px; height: 72px; border-radius: 6px; background: var(--chqt-cream, #f6f2fa); }
.fc-look small { font-weight: 400; font-size: 12px; color: var(--chqt-muted, #4c4658); }
.fc-look[aria-pressed="true"] { border-color: var(--chqt-accent, #b3124e); box-shadow: 0 0 0 1px var(--chqt-accent, #b3124e); }
.fc-look:focus-visible { outline: 3px solid var(--chqt-accent, #b3124e); outline-offset: 2px; }
.fc-range { width: 100%; min-height: 44px; font-size: 16px; accent-color: var(--chqt-accent, #b3124e); }
.fc-range:disabled { opacity: .45; }
.fc-gone { margin: .2rem 0 .8rem; }
@media (max-width: 460px) { .chqt[data-tool="film-camera-filter"] .chqt-lede { display: none; } .fc-looks { grid-template-columns: repeat(3, minmax(0, 1fr)); } .fc-look canvas { width: 100%; height: auto; aspect-ratio: 4 / 3; } }
