/* The report check at /v and /verify. Dark site panels outside, the report's ivory and gold for the signed values. */
.check-panel { background:var(--raised); border:1px solid var(--line); border-radius:14px; padding:18px 22px; }
.check-form { margin:30px 0 10px; }
.check-form[hidden],.check-result[hidden] { display:none; }
.check-form label { display:block; font-weight:650; margin-bottom:8px; }
.check-field { display:flex; gap:10px; }
.check-field input { flex:1; min-width:0; min-height:52px; padding:10px 16px; border:1px solid #627084; border-radius:12px; background:var(--bg); color:var(--ink); font:inherit; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:1.05rem; letter-spacing:.04em; text-transform:uppercase; }
.check-field input::placeholder { color:#6f7b8c; }
.check-field input[aria-invalid="true"] { border-color:#ff8a8f; }
.check-field input:focus-visible,.check-field button:focus-visible,.check-again:focus-visible,.photo-open:focus-visible,.seal-details summary:focus-visible,.photo-viewer button:focus-visible,.photo-viewer-stage:focus-visible { outline:3px solid var(--teal); outline-offset:3px; }
.answer-title:focus { outline:none; }
.check-field button,.check-again { min-height:52px; padding:10px 24px; border:1px solid var(--gold); border-radius:12px; background:var(--gold); color:var(--bg); font:inherit; font-weight:700; cursor:pointer; }
.check-field button:hover,.check-again:hover { background:#ffda66; }
.check-help { margin:8px 0 0; color:var(--muted); font-size:.9rem; }
.check-error { margin:8px 0 0; color:#ffb3b6; font-size:.95rem; font-weight:600; }
.check-status { margin:24px 0 0; color:var(--muted); }
.check-status:empty { display:none; }
.check-result { margin-top:28px; }

.answer { display:flex; gap:18px; align-items:flex-start; padding:22px 24px; border:1px solid var(--line); border-left-width:4px; border-radius:16px; background:var(--raised); }
.answer-icon { flex:none; display:grid; place-items:center; width:44px; height:44px; border-radius:50%; font-size:1.3rem; font-weight:800; line-height:1; }
.answer-label { margin:0; color:var(--muted); font-size:.72rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; }
.answer-title { margin:2px 0 6px; font-size:1.7rem; line-height:1.2; border-radius:4px; }
.answer-text { margin:0; color:var(--ink); }
.answer-good { border-left-color:var(--teal); }.answer-good .answer-icon { background:var(--teal); color:var(--bg); }
.answer-test { border-left-color:var(--gold); background:repeating-linear-gradient(135deg,var(--raised) 0 18px,#232a1d 18px 36px); }.answer-test .answer-icon { background:var(--gold); color:var(--bg); }
.answer-bad { border-left-color:#ff6b70; }.answer-bad .answer-icon { background:#ff6b70; color:var(--bg); }.answer-bad .answer-title { color:#ffb3b6; }
.answer-neutral { border-left-color:#8591a2; }.answer-neutral .answer-icon { background:#3a4554; color:var(--ink); }

.test-banner { margin:16px 0 0; padding:14px 18px; border:2px dashed var(--gold); border-radius:12px; color:var(--ink); background:#fac4290f; }
.test-banner strong { color:var(--gold); text-transform:uppercase; letter-spacing:.06em; }
.online-line { margin:16px 0 0; padding:12px 18px; border-radius:12px; background:var(--raised); color:var(--muted); }
.online-line strong { color:var(--ink); }
.online-differs,.online-unavailable { border:1px solid #fac42966; }

.photos { margin-top:26px; }
.photos h3,.compare h3 { margin-top:0; }
.photos-help { color:var(--muted); font-size:.95rem; }
.photo-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.photo { margin:0; min-width:0; }
.photo-open { position:relative; display:block; width:100%; padding:10px; border:1px solid var(--line); border-radius:14px; background:#0d131b; cursor:zoom-in; }
.photo-open img { width:100%; max-height:440px; aspect-ratio:5 / 7; object-fit:contain; border-radius:6px; }
.photo-zoom { position:absolute; right:16px; bottom:16px; padding:4px 10px; border-radius:999px; background:#090e14d9; color:var(--ink); font-size:.8rem; font-weight:650; }
.photo figcaption { margin-top:8px; color:var(--gold); font-size:.78rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; text-align:center; }
.photo-note { margin:4px 0 0; color:var(--muted); font-size:.85rem; line-height:1.5; text-align:center; }
.photo-note.photo-match,.photo-viewer-status.photo-match { color:#7fe3d1; }.photo-note.photo-mismatch,.photo-viewer-status.photo-mismatch { color:#ffb3b6; font-weight:650; }
.photo-missing { padding:24px 12px; border:1px dashed var(--line); border-radius:14px; color:var(--muted); text-align:center; }

.values { container-type:inline-size; position:relative; margin-top:26px; padding:clamp(18px,4.5cqw,34px); color:#14202e; background:#fbf8f1; border:2px solid #b8892b; border-radius:8px; }
.values::before { content:""; position:absolute; inset:5px; border:.6px solid #b8892b; border-radius:4px; pointer-events:none; }
.values.is-test { background:repeating-linear-gradient(135deg,#fbf8f1 0 22px,#f3ead2 22px 44px); }
.values-test-tag { position:absolute; top:-14px; right:20px; margin:0; padding:3px 12px; border-radius:999px; background:var(--gold); color:var(--bg); font-size:.78rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.values-head { display:grid; grid-template-columns:auto 1fr; gap:26px; align-items:start; }
.values-stamp { display:flex; flex-direction:column; align-items:center; justify-content:center; width:142px; height:142px; border-radius:50%; background:#1f3a64; color:#fbf8f1; box-shadow:inset 0 0 0 5px #1f3a64,inset 0 0 0 6.5px #c9a24b; text-align:center; }
.values-stamp-label { font-size:.66rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:#e9d39b; }
.values-stamp-range { font-family:Georgia,"Times New Roman",serif; font-size:2.5rem; font-weight:600; line-height:1.1; }
.values-stamp-likely { font-size:.78rem; }
.values-identity { min-width:0; }
.values .values-eyebrow { margin:0 0 6px; color:#8a6408; font-size:.72rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase; }
.values-title { margin:0; font-family:Georgia,"Times New Roman",serif; font-size:1.6rem; font-weight:600; line-height:1.2; overflow-wrap:anywhere; }
.values-title.is-empty { color:#737a87; font-style:italic; }
.values-number { margin:4px 0 0; color:#4e5966; }
.values-suggested { margin:2px 0 12px; color:#737a87; font-size:.85rem; }
.values-list { margin:0; font-size:.98rem; line-height:1.5; }
.values-list > div { display:flex; gap:12px; padding:3px 0; }
.values-list dt { flex:none; width:8.5em; color:#737a87; }
.values-list dd { margin:0; min-width:0; overflow-wrap:anywhere; }
.values h4 { margin:26px 0 12px; font-family:Georgia,"Times New Roman",serif; font-size:1.2rem; }
.overview { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); text-align:center; }
.overview-cell { padding:4px 10px; }
.overview-cell + .overview-cell { border-left:1px solid #b8892b55; }
.overview-cell strong { display:block; font-family:Georgia,"Times New Roman",serif; font-size:1.05rem; }
.overview-cell span,.overview-cell em { display:block; margin-top:4px; color:#4e5966; font-size:.92rem; line-height:1.35; }
.overview-cell em { font-style:normal; font-weight:650; }
.status-clear { color:#0d806b; }.status-notConfirmed { color:#b25a0c; }.status-damaged { color:#c42d3b; }
.overview-cell em.status-notConfirmed { color:#b25a0c; }.overview-cell em.status-damaged { color:#c42d3b; }
.rows { margin-top:4px; }
.rows-group { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px 22px; margin-bottom:14px; }
.rows-group h5 { grid-column:1 / -1; margin:0; font-size:.95rem; }
.rows-face { min-width:0; }
.rows-face-title { margin:0 0 2px; color:#8a6408; font-size:.72rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; }
.rows-face ul { list-style:none; margin:0; padding:0; }
.rows-face li { display:flex; justify-content:space-between; gap:12px; margin:0; padding:4px 0; border-bottom:1px solid #b8892b33; font-size:.92rem; line-height:1.4; }
.rows-face .row-name { color:#14202e; }
.rows-face .row-status { font-weight:650; }
.rows-face li.status-clear .row-status::before { content:"✓ "; content:"✓ " / ""; }
.rows-face li.status-damaged .row-status::before { content:"✕ "; content:"✕ " / ""; }
.rows-face li.status-notConfirmed .row-status::before { content:"? "; content:"? " / ""; }

.compare { margin-top:30px; padding:22px 24px; border:1px solid var(--line); border-radius:16px; background:var(--raised); }
.compare-list { margin:0; padding-left:22px; }
.compare-list li { margin-block:8px; overflow-wrap:anywhere; }
.compare-note { margin:14px 0 0; color:var(--muted); font-size:.95rem; }
.seal-details { margin-top:18px; border:1px solid var(--line); border-radius:14px; padding:4px 20px; }
.seal-details summary { padding:12px 0; font-weight:650; cursor:pointer; border-radius:4px; }
.seal-details dl { margin:0 0 14px; font-size:.9rem; }
.seal-details dl > div { display:grid; grid-template-columns:minmax(9em,auto) 1fr; gap:4px 14px; padding:4px 0; border-top:1px solid var(--line); }
.seal-details dt { color:var(--muted); }
.seal-details dd { margin:0; min-width:0; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; overflow-wrap:anywhere; }
.caveats { margin:22px 0 0; padding:16px 20px 16px 40px; border-left:3px solid var(--gold); border-radius:0 12px 12px 0; background:var(--raised); }
.caveats li { margin-block:4px; }
.check-again { margin-top:22px; }
.check-about { margin-top:44px; padding-top:8px; border-top:1px solid var(--line); }
.check-about li { color:var(--muted); }
.check-about li strong { color:var(--ink); }

body.photo-viewer-open { overflow:hidden; }
.photo-viewer { position:fixed; inset:0; width:calc(100vw - 48px); height:calc(100dvh - 48px); max-width:none; max-height:none; margin:auto; padding:0; overflow:hidden; border:1px solid #627084; border-radius:18px; background:#05080c; color:var(--ink); }
.photo-viewer[open] { display:flex; flex-direction:column; }
.photo-viewer::backdrop { background:#03070ee6; }
.photo-viewer-bar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px 18px; padding:12px 16px; border-bottom:1px solid var(--line); background:var(--panel); }
.photo-viewer-heading { min-width:0; }
.photo-viewer-heading h2 { margin:0; font-size:1.1rem; }
.photo-viewer-status { margin:2px 0 0; color:var(--muted); font-size:.85rem; line-height:1.4; }
.photo-viewer-actions { display:flex; gap:8px; margin-left:auto; }
.photo-viewer-actions button { min-width:44px; min-height:44px; padding:6px 12px; border:1px solid #627084; border-radius:10px; background:var(--bg); color:var(--ink); font:inherit; font-size:1rem; font-weight:650; cursor:pointer; }
.photo-viewer-actions button:hover { background:var(--raised); }
.photo-viewer-stage { flex:1; display:flex; min-height:0; overflow:auto; overscroll-behavior:contain; touch-action:none; cursor:zoom-in; user-select:none; -webkit-user-select:none; }
.photo-viewer.is-zoomed .photo-viewer-stage { cursor:grab; }
.photo-viewer-stage img { flex:none; margin:auto; max-width:none; -webkit-user-drag:none; }

@media (max-width:560px) {
  main.check { padding:24px 16px; }
  .check-field button { padding-inline:18px; }
  .answer { display:block; padding:16px 18px; }
  .answer-icon { float:left; width:32px; height:32px; margin:2px 12px 4px 0; font-size:1rem; }
  .answer-title { font-size:1.4rem; }
  .values-head { grid-template-columns:1fr; gap:18px; }
  .values-stamp { width:118px; height:118px; margin-inline:auto; }
  .values-stamp-range { font-size:2.1rem; }
  .values-list dt { width:7.5em; }
  .overview { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 0; }
  .overview-cell:nth-child(3) { border-left:0; }
  .rows-group { grid-template-columns:1fr; }
  .compare { padding:18px; }
  .seal-details dl > div { grid-template-columns:1fr; }
  .photo-viewer { width:100vw; height:100dvh; border:0; border-radius:0; }
  .photo-viewer-actions { width:100%; }
  .photo-viewer-close { margin-left:auto; }
}
@media print {
  .check-form,.check-again,.photo-viewer,.photo-zoom { display:none !important; }
  .answer,.compare,.online-line,.test-banner,.caveats,.seal-details { background:white; color:#17212a; border-color:#ccc; }
}

/* The homepage's example report (GG-DEMO-0001): its photos are illustrations, shown without the zoom check. */
.photo-example { padding:10px; border:1px solid var(--line); border-radius:14px; background:#0d131b; }
.photo-example img { display:block; width:100%; max-height:440px; aspect-ratio:5 / 7; object-fit:contain; border-radius:6px; }
