/* ITEM 206, lane L1 (2026-10-19): the simple guided version's front door.

   Every rule that CHANGES a screen keys on html.vv-guided, which
   _vvSyncGuidedClass (id-setup.js) sets from localStorage['vv-guided'],
   the switch clerk-init.js caches from clerk-lookup. With the switch off
   the class is absent, only the first block below applies, and it hides
   the guided elements: every screen is today's, byte for byte. */

/* The guided elements, hidden until the switch is on. */
#id-setup-guided,
#upload-saved-strip,
#upload-heading-guided,
#upload-zone-guided,
#rv-dup-title-guided,
#rv-dup-ok,
#unsupported-template-body-guided,
#scan-guided-sub { display: none; }

/* === A2: the four details and the address, once =========================
   One screen, two blocks: today's block hides, the guided block shows. */
html.vv-guided #screen-id-setup .id-setup > :not(#id-setup-guided) { display: none; }
html.vv-guided #id-setup-guided { display: block; }
#id-setup-guided > * { width: 100%; }
#id-setup-guided .id-row { text-align: left; }
#id-setup-guided .idg-address-block .id-row { margin-bottom: 14px; }
#id-setup-guided .idg-address-block .id-row:last-child { margin-bottom: 0; }
#id-setup-guided .idg-block-helper { margin: -2px 0 12px; }
/* Card 3: the Show button, a text button where today's eye icon sits. */
.idg-ssn-show {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  padding: 6px 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--coral);
  cursor: pointer;
}
.idg-ssn-show:hover { text-decoration: underline; }

/* === B1: the upload screen =============================================
   The board's pieces and nothing else: the strip, the heading, the zone,
   the error line, the sample line. Scoped to the signed-in state
   (:not(.needs-id-setup)) so a signed-out landing can never be touched. */
html.vv-guided #screen-landing:not(.needs-id-setup) .landing > h1[data-personalize],
html.vv-guided #screen-landing:not(.needs-id-setup) .upload-zone:not(.upload-zone-guided),
html.vv-guided #screen-landing:not(.needs-id-setup) .scan-hunts,
html.vv-guided #screen-landing:not(.needs-id-setup) .report-pill-lead,
html.vv-guided #screen-landing:not(.needs-id-setup) .report-pill,
html.vv-guided #screen-landing:not(.needs-id-setup) .report-pill-proof,
html.vv-guided #screen-landing:not(.needs-id-setup) .hiw-closer,
html.vv-guided #screen-landing:not(.needs-id-setup) .landing-logotype { display: none; }
html.vv-guided #screen-landing:not(.needs-id-setup) #upload-heading-guided { display: block; }
html.vv-guided #screen-landing:not(.needs-id-setup) #upload-zone-guided { display: block; }
/* The strip is shown by id-setup.js (an inline display) only right after
   the save; its look lives here. */
.upload-saved-strip {
  max-width: clamp(380px, 55vw, 580px);
  margin: 0 auto 18px;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(var(--coral-rgb), 0.10);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}
.upload-zone .upload-zone-acr {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 14px auto 0;
  max-width: 420px;
  line-height: 1.45;
}
.upload-zone .upload-zone-acr a {
  color: var(--coral);
  font-weight: 600;
  text-decoration: none;
}
.upload-zone .upload-zone-acr a:hover { text-decoration: underline; }

/* Card 10: the wrong-PDF sentence, the comma form in place of today's. */
html.vv-guided #unsupported-template-body { display: none; }
html.vv-guided #unsupported-template-body-guided { display: block; }

/* === B4: the reading ====================================================
   While the reading runs (#screen-scanning.vv-reading, set and removed by
   startGuidedReading) the sub shows and the violations label does not. */
#screen-scanning.vv-reading #scan-guided-sub { display: block; }
#screen-scanning.vv-reading .scan-counter { display: none; }
.scan-guided-sub {
  font-size: 15px;
  color: var(--text-secondary);
  margin: -12px 0 24px;
  line-height: 1.45;
}

@media (max-width: 480px) {
  .upload-saved-strip { font-size: 14px; padding: 10px 16px; }
  .upload-zone .upload-zone-acr { font-size: 12px; }
  #screen-landing .upload-heading-guided { font-size: 32px; }
}
