:root {
  color-scheme: dark;
  --review-bg: #04111d;
  --review-panel: #091b2a;
  --review-line: rgba(139, 188, 220, .2);
  --review-text: #f4f8fb;
  --review-muted: #93a9b9;
  --review-blue: #25a8ff;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--review-text); background: radial-gradient(circle at 80% 0%, #0d2b41 0, var(--review-bg) 42%); font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
button, a { font: inherit; }
.capture-review-app { width: min(1680px, calc(100% - 40px)); margin: 0 auto; padding-bottom: 56px; }
.review-topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 92px; border-bottom: 1px solid var(--review-line); background: rgba(4,17,29,.91); backdrop-filter: blur(16px); }
.review-brand { display: flex; align-items: center; gap: 16px; color: var(--review-text); text-decoration: none; font-weight: 800; }
.review-brand .delivrone-systems-brand { width: 138px; height: 50px; object-fit: contain; }
.review-actions { display: flex; align-items: center; gap: 12px; }
.review-actions button { min-height: 42px; border: 1px solid var(--review-line); border-radius: 12px; padding: 0 16px; color: var(--review-text); background: rgba(255,255,255,.04); cursor: pointer; }
.super-admin-pill { border: 1px solid rgba(255,105,105,.42); border-radius: 999px; padding: 8px 12px; color: #ff9292; background: rgba(255,105,105,.08); font-size: .76rem; font-weight: 850; text-transform: uppercase; }
.review-hero { padding: 54px 0 30px; }
.review-hero h1 { margin: 8px 0 10px; font-size: clamp(2.3rem, 5vw, 5rem); letter-spacing: -.055em; }
.review-hero > p:not(.eyebrow, .review-status) { max-width: 780px; color: var(--review-muted); font-size: 1.05rem; line-height: 1.55; }
.eyebrow { margin: 0; color: var(--review-blue); font-size: .78rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.review-status { color: #71d5ff; font-weight: 750; }
.review-status.error { color: #ff9292; }
.capture-gallery { display: grid; gap: 32px; }
.line-section { border: 1px solid var(--review-line); border-radius: 24px; padding: 24px; background: rgba(8,27,42,.8); box-shadow: 0 18px 60px rgba(0,0,0,.16); }
.line-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.line-heading h2 { margin: 3px 0 0; font-size: 1.65rem; }
.line-heading p { margin: 0; color: var(--review-muted); }
.set-section + .set-section { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--review-line); }
.set-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; }
.set-heading h3 { margin: 0; font-size: 1.1rem; }
.set-pill { border-radius: 999px; padding: 6px 10px; color: #8bd8ff; background: rgba(37,168,255,.1); font-size: .72rem; font-weight: 850; }
.set-heading time { color: var(--review-muted); font-size: .78rem; }
.capture-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.capture-card { min-width: 0; border: 1px solid var(--review-line); border-radius: 15px; padding: 0; overflow: hidden; color: var(--review-text); text-align: left; background: #06131f; cursor: zoom-in; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.capture-card:hover, .capture-card:focus-visible { transform: translateY(-3px); border-color: rgba(37,168,255,.68); box-shadow: 0 14px 36px rgba(0,0,0,.3); outline: none; }
.capture-card img { display: block; width: 100%; aspect-ratio: 1282 / 767; object-fit: cover; background: #02080d; }
.capture-card-info { display: grid; gap: 4px; padding: 12px 13px 14px; }
.capture-card-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.capture-card-info span { color: var(--review-muted); font-size: .75rem; }
.empty-set { border: 1px dashed var(--review-line); border-radius: 14px; padding: 20px; color: var(--review-muted); }
.capture-viewer { width: min(1500px, calc(100% - 28px)); max-width: none; height: min(94vh, 1050px); max-height: none; border: 1px solid var(--review-line); border-radius: 22px; padding: 0; color: var(--review-text); background: #020910; box-shadow: 0 28px 100px rgba(0,0,0,.72); }
.capture-viewer::backdrop { background: rgba(0,5,10,.88); backdrop-filter: blur(8px); }
.viewer-shell { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; }
.viewer-header { display: flex; justify-content: space-between; gap: 20px; padding: 18px 22px; border-bottom: 1px solid var(--review-line); }
.viewer-header h2 { margin: 2px 0 4px; }
.viewer-header p { margin: 0; color: var(--review-muted); font-size: .8rem; }
.viewer-close { width: 44px; height: 44px; border: 1px solid var(--review-line); border-radius: 12px; color: var(--review-text); background: rgba(255,255,255,.05); font-size: 1.6rem; cursor: pointer; }
.viewer-image-wrap { position: relative; display: grid; place-items: center; min-height: 0; padding: 16px 76px; overflow: hidden; }
.viewer-image-wrap img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 10px 40px rgba(0,0,0,.45); }
.viewer-arrow { position: absolute; top: 50%; z-index: 2; width: 48px; height: 64px; transform: translateY(-50%); border: 1px solid var(--review-line); border-radius: 14px; color: white; background: rgba(3,16,27,.8); font-size: 2.2rem; cursor: pointer; }
.viewer-arrow.previous { left: 14px; }
.viewer-arrow.next { right: 14px; }
.viewer-footer { display: flex; justify-content: space-between; gap: 24px; padding: 14px 22px; border-top: 1px solid var(--review-line); color: var(--review-muted); font-size: .78rem; }
.viewer-footer p { max-width: 85%; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 1100px) {
  .capture-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .capture-review-app { width: min(100% - 22px, 1680px); }
  .review-topbar { min-height: 72px; }
  .review-brand .delivrone-systems-brand { width: 94px; height: 38px; }
  .review-brand span, .super-admin-pill { display: none; }
  .review-hero { padding-top: 36px; }
  .line-section { padding: 16px; border-radius: 18px; }
  .line-heading { align-items: flex-start; flex-direction: column; }
  .capture-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .capture-card-info { padding: 9px; }
  .capture-viewer { height: 96vh; width: calc(100% - 12px); }
  .viewer-image-wrap { padding: 10px 44px; }
  .viewer-arrow { width: 36px; height: 52px; }
  .viewer-arrow.previous { left: 4px; }
  .viewer-arrow.next { right: 4px; }
  .viewer-footer p { display: none; }
}
