body.review-build {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #17283d;
  background-color: #f7f4ed;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.review-build *,
body.review-build *::before,
body.review-build *::after {
  box-sizing: border-box;
}

body.review-build .container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.25rem;
  width: 100%;
}

body.review-build .review-notice-banner {
  background-color: #102d4c;
  color: #f7f4ed;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  border-bottom: 2px solid #2564a4;
}

body.review-build .notice-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

body.review-build .notice-tag {
  background-color: #2564a4;
  color: #ffffff;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 0.5rem;
}

body.review-build .site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #dfd8ca;
  padding: 0.75rem 0;
}

body.review-build .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
}

body.review-build .brand-link {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #153d68;
}

body.review-build .brand-mark-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

body.review-build .brand-wordmark {
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

body.review-build .hero-section {
  padding: 2.5rem 0 1.5rem;
}

body.review-build .eyebrow {
  color: #22588a;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.5rem 0;
}

body.review-build .hero-title {
  font-family: Georgia, "Times New Roman", serif;
  color: #153d68;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 0.75rem 0;
  font-weight: normal;
}

body.review-build .hero-lead {
  color: #17283d;
  font-size: 1.0625rem;
  max-width: 720px;
  margin: 0;
}

body.review-build .journey-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
  margin-bottom: 3rem;
}

@media (max-width: 860px) {
  body.review-build .journey-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

body.review-build .card {
  background: #ffffff;
  border: 1px solid #dfd8ca;
  border-radius: 8px;
  padding: 1.5rem;
}

body.review-build .sticky-card {
  position: sticky;
  top: 1.5rem;
}

@media (max-width: 860px) {
  body.review-build .sticky-card {
    position: static;
  }
}

body.review-build h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: #153d68;
  font-size: 1.35rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

body.review-build .lines-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

body.review-build .line-row {
  background: #fbf9f4;
  border: 1px solid #dfd8ca;
  border-radius: 4px;
  padding: 1rem;
  display: grid;
  grid-template-columns: 1.2fr 100px 1.5fr auto;
  gap: 0.75rem;
  align-items: end;
}

@media (max-width: 640px) {
  body.review-build .line-row {
    grid-template-columns: 1fr 1fr;
  }
  body.review-build .line-row .field-framing {
    grid-column: 1 / -1;
  }
  body.review-build .line-row .field-actions {
    grid-column: 1 / -1;
  }
}

body.review-build .form-group {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.35rem;
}

body.review-build label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #17283d;
}

body.review-build .field-note {
  font-weight: normal;
  color: #22588a;
  font-size: 0.75rem;
}

body.review-build .field-desc {
  font-size: 0.8125rem;
  color: #22588a;
  margin: 0.25rem 0 0.75rem 0;
}

body.review-build select,
body.review-build input[type="text"],
body.review-build input[type="email"],
body.review-build input[type="number"],
body.review-build textarea {
  min-height: 48px;
  padding: 0.5rem 0.75rem;
  border: 1px solid #dfd8ca;
  border-radius: 4px;
  font-size: 0.9375rem;
  font-family: inherit;
  color: #17283d;
  background-color: #ffffff;
  width: 100%;
}

body.review-build textarea {
  min-height: 80px;
  resize: vertical;
}

body.review-build select:focus-visible,
body.review-build input:focus-visible,
body.review-build textarea:focus-visible,
body.review-build button:focus-visible,
body.review-build a:focus-visible {
  outline: 3px solid #2564a4;
  outline-offset: 2px;
}

body.review-build [aria-invalid="true"] {
  border-color: #b3261e;
  background-color: #fff8f8;
}

body.review-build .inline-error {
  color: #b3261e;
  font-size: 0.8125rem;
  margin-top: 0.25rem;
  display: block;
}

body.review-build .alert-box {
  background-color: #fdf2f2;
  border: 1px solid #b3261e;
  border-radius: 4px;
  color: #b3261e;
  padding: 0.875rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
}

body.review-build .form-fieldset {
  border: 1px solid #dfd8ca;
  border-radius: 4px;
  padding: 1.25rem;
  margin: 0 0 1.5rem 0;
}

body.review-build .fieldset-legend {
  font-weight: 700;
  color: #153d68;
  padding: 0 0.5rem;
  font-size: 0.9375rem;
}

body.review-build .radio-group,
body.review-build .checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0.5rem 0;
}

body.review-build .radio-label,
body.review-build .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: normal;
  cursor: pointer;
  min-height: 24px;
}

body.review-build .radio-label input,
body.review-build .checkbox-label input {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  accent-color: #2564a4;
}

body.review-build .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.5rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

body.review-build .btn-primary {
  background-color: #153d68;
  color: #ffffff;
}

body.review-build .btn-primary:hover:not(:disabled) {
  background-color: #102d4c;
}

body.review-build .btn-secondary {
  background-color: #ffffff;
  color: #153d68;
  border-color: #153d68;
}

body.review-build .btn-secondary:hover:not(:disabled) {
  background-color: #f7f4ed;
}

body.review-build .btn-remove {
  background-color: transparent;
  color: #b3261e;
  border: 1px solid #dfd8ca;
  padding: 0.5rem 0.75rem;
}

body.review-build .btn-remove:hover:not(:disabled) {
  background-color: #fdf2f2;
  border-color: #b3261e;
}

body.review-build .btn-disabled,
body.review-build .btn:disabled {
  background-color: #e3e8ee;
  color: #6b7c93;
  border-color: #dfd8ca;
  cursor: not-allowed;
}

body.review-build .action-row {
  margin-top: 1.5rem;
}

body.review-build .summary-notice {
  font-size: 0.8125rem;
  color: #22588a;
  margin-top: 0;
  margin-bottom: 1rem;
}

body.review-build .summary-status-badge {
  display: inline-block;
  background: #fdf2f2;
  color: #b3261e;
  border: 1px solid #b3261e;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

body.review-build .summary-item-card {
  border-bottom: 1px solid #dfd8ca;
  padding: 0.75rem 0;
}

body.review-build .summary-item-card:last-of-type {
  border-bottom: 2px solid #153d68;
}

body.review-build .summary-row {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .75rem;
  overflow-wrap: anywhere;
  justify-content: space-between;
  font-size: 0.875rem;
  margin: 0.25rem 0;
}

body.review-build .summary-total {
  font-weight: 700;
  font-size: 1.05rem;
  color: #153d68;
  padding-top: 0.5rem;
}

body.review-build .price-confirm {
  background: #f7f4ed;
  border: 1px dashed #2564a4;
  padding: 0.75rem;
  border-radius: 4px;
  font-size: 0.875rem;
  color: #153d68;
  margin: 1rem 0;
  text-align: center;
  font-weight: 600;
}

body.review-build .cta-explanation {
  font-size: 0.75rem;
  color: #22588a;
  margin-top: 0.5rem;
  line-height: 1.4;
}

body.review-build .placeholder-text {
  color: #22588a;
  font-size: 0.875rem;
  line-height: 1.5;
}

body.review-build .readiness-card {
  background: #ffffff;
  border: 1px solid #dfd8ca;
  border-left: 5px solid #2564a4;
  border-radius: 4px;
  padding: 1.5rem;
  margin-bottom: 3rem;
}

body.review-build .readiness-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1.25rem;
  margin: 1rem 0;
}

body.review-build .readiness-item {
  background: #fbf9f4;
  border: 1px solid #dfd8ca;
  border-radius: 4px;
  padding: 1rem;
}

body.review-build .readiness-item h3 {
  margin: 0 0 0.35rem 0;
  font-size: 0.9375rem;
  color: #153d68;
}

body.review-build .readiness-item p {
  margin: 0;
  font-size: 0.8125rem;
  color: #17283d;
  line-height: 1.4;
}

body.review-build .external-store-link {
  color: #2564a4;
  font-weight: 600;
  text-decoration: underline;
}

body.review-build .site-footer {
  background: #102d4c;
  color: #f7f4ed;
  padding: 1.5rem 0;
  font-size: 0.8125rem;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  body.review-build * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body.review-build .sample-email-group, body.review-build .store-return { margin-top: 1rem; }
body.review-build .notes-group { margin-bottom: 1.5rem; }
body.review-build #summary-content:focus { outline: 2px solid #2564a4; outline-offset: 8px; }
@media (max-width: 480px) {
  body.review-build .line-row { grid-template-columns: minmax(0, 1fr); }
  body.review-build .card { padding: 1rem; }
}
.field-photo { grid-column: 1 / -1; }
.field-photo input[type="file"] { width: 100%; max-width: 100%; min-height: 48px; font-size: .85rem; }
.submission-status { white-space: pre-line; overflow-wrap: anywhere; padding: 1rem; background: #f0f5fa; border-left: 3px solid #2564a4; }
/* Collection editor: bounded pages keep large photo batches light. */
.batch-picker { padding: 1.4rem; background: #f7f4ed; border: 1px dashed #8c9eb0; border-radius: 12px; margin: 1rem 0; }
.batch-picker-title { display: block; font-size: 1.1rem; font-weight: 700; color: #153d68; margin-bottom: .75rem; }
.batch-picker input { max-width: 100%; padding: .65rem 0; }
.batch-defaults { display: grid; grid-template-columns: 1.2fr .75fr 1.3fr; gap: .75rem; align-items: end; margin: 1.5rem 0 .75rem; }
.batch-defaults .form-group { margin: 0; }
.batch-defaults .btn { grid-column: 1 / -1; justify-self: start; }
.photo-list { border-top: 1px solid #dbe1e7; margin-top: 1.5rem; }
.photo-row { display: grid; grid-template-columns: minmax(0,1fr) 6rem 4.5rem 6rem 2.5rem; gap: .6rem; padding: 1rem 0; border-bottom: 1px solid #e2e7ec; align-items: end; }
.photo-row .photo-identity { align-self: center; min-width: 0; }
.photo-name { display: block; overflow-wrap: anywhere; font-size: .88rem; font-weight: 650; color: #17283d; }
.photo-meta { display: block; font-size: .75rem; color: #586a7b; margin-top: .25rem; }
.photo-row label { display: block; font-size: .72rem; margin-bottom: .3rem; color: #586a7b; }
.photo-row select,.photo-row input { width: 100%; min-width: 0; padding: .5rem .35rem; font-size: .84rem; border: 1px solid #b7c4d0; border-radius: 4px; background: #fff; color: #17283d; }
.photo-remove { min-width: 2.4rem; min-height: 2.4rem; border: 1px solid #c2ccd7; border-radius: 4px; background: white; color: #153d68; font-size: 1.2rem; cursor: pointer; }
.batch-pagination { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: 1rem; font-size: .85rem; }
.batch-pagination .btn { padding: .6rem .8rem; }
.batch-totals { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1rem 0 1.3rem; border-bottom: 1px solid #dbe1e7; }
.batch-totals span { display: block; font-size: .8rem; color: #586a7b; margin-bottom: .3rem; }
.batch-totals strong { font-size: 2rem; font-weight: 500; color: #153d68; }
.batch-price { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 0 .5rem; }
.batch-price strong { font-size: 1.7rem; color: #153d68; }
.batch-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.batch-actions .btn { flex: 1 1 auto; }
.batch-progress { border-top: 1px solid #dbe1e7; margin-top: 1.4rem; padding-top: 1.3rem; }
.batch-progress label { font-size: .9rem; font-weight: 650; }
.batch-progress progress { width: 100%; height: 10px; margin-top: .75rem; accent-color: #20558c; }
.batch-reference { overflow-wrap: anywhere; font-family: ui-monospace,monospace; font-size: .8rem; }
.synthetic-fixture-notice { background: #f7efb4; color: #3b340f; margin: 0; padding: .75rem; text-align: center; font-weight: bold; }
[hidden] { display: none !important; }
@media(max-width:700px) {
  .batch-defaults { grid-template-columns: 1fr 1fr; }
  .batch-defaults .form-group:last-of-type { grid-column: 1 / -1; }
  .photo-row { grid-template-columns: 1fr 1fr 1fr 2.5rem; }
  .photo-row .photo-identity { grid-column: 1 / -1; }
  .batch-price strong { font-size: 1.5rem; }
}

.photo-controls{display:contents}.batch-picker.drag-over{outline:3px solid #1e5c8a;background:#edf5fa}.photo-order{color:#66717e;font-size:.75rem}

#resume-notice{background:#edf4fa;border-color:#b6ccde;color:#173d60}.photo-remove{font-size:.72rem;overflow-wrap:anywhere}

.photo-preview{margin-top:.6rem;display:flex;flex-direction:column;gap:.35rem}
.photo-preview-stage{display:inline-flex;align-items:center;justify-content:center;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:4px;padding:6px;max-width:192px;box-sizing:border-box}
.photo-preview-canvas{display:block;max-width:100%;max-height:140px;background:#ffffff;box-shadow:0 1px 3px rgba(0,0,0,0.12);border:1px solid #dbe1e7}
.photo-preview-caption{font-size:.72rem;color:#64748b;line-height:1.25}
.photo-preview-advisory{font-size:.75rem;font-weight:500;line-height:1.3}
.photo-preview-status-good{color:#166534}
.photo-preview-status-caution{color:#92400e}
.photo-preview-status-low{color:#b91c1c}
.photo-preview-status-unknown{color:#64748b}
.photo-preview-fallback{font-size:.75rem;color:#64748b;font-style:italic;margin-top:.4rem;background:#f8fafc;border:1px dashed #cbd5e1;padding:.4rem .6rem;border-radius:4px}
@media(max-width:320px){.photo-preview-stage{max-width:100%}.photo-preview-canvas{max-width:100%}}

/* Keep controls together below the image, with readable actions at every width. */
.photo-row{grid-template-columns:minmax(0,1fr) minmax(0,.6fr) minmax(0,1.6fr) auto}
.photo-row .photo-identity{grid-column:1 / -1}
.photo-remove{white-space:nowrap;overflow-wrap:normal;min-width:0;padding:.5rem .55rem;line-height:1.25;align-self:end}
@media(max-width:420px){.photo-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
body.review-build .journey-grid > *,body.review-build .form-fieldset,.batch-defaults > *{min-width:0}
.batch-picker input{width:100%;min-width:0}
@media(max-width:420px){
  body.review-build .form-fieldset{padding:.75rem}
  .batch-picker{padding:.75rem}
  .batch-defaults{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}

/* Progressive disclosure & compact mobile layout */
.print-settings-details {
  border: 1px solid #dfd8ca;
  border-radius: 4px;
  background: #fbf9f4;
  margin: 1.25rem 0 0.75rem;
}

.print-settings-summary-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  background: #ffffff;
  border-bottom: 1px solid transparent;
  min-height: 48px;
  list-style: none;
}

.print-settings-summary-bar::-webkit-details-marker {
  display: none;
}

.print-settings-summary-bar::after {
  content: "▾";
  font-size: 0.85rem;
  color: #2564a4;
  margin-left: auto;
  transition: transform 0.18s ease;
}

.print-settings-details[open] .print-settings-summary-bar {
  border-bottom-color: #dfd8ca;
}

.print-settings-details[open] .print-settings-summary-bar::after {
  transform: rotate(180deg);
}

.settings-summary-label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #153d68;
}

.settings-summary-value {
  font-size: 0.8125rem;
  color: #516173;
  font-weight: 500;
}

.print-settings-details .batch-defaults {
  padding: 1rem 1rem 0.5rem;
  margin: 0;
}

.print-settings-details .field-desc {
  padding: 0 1rem 1rem;
  margin: 0;
}

.device-progress-details {
  margin: 0.75rem 0;
  border: 1px solid #dfd8ca;
  border-radius: 4px;
  background: #fbf9f4;
  padding: 0.5rem 0.75rem;
}

.device-progress-summary {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #22588a;
  cursor: pointer;
  min-height: 48px;
  display: flex;
  align-items: center;
}

.device-progress-details[open] .device-progress-summary {
  margin-bottom: 0.5rem;
}

.notes-details {
  margin: 1rem 0 1.5rem;
  border: 1px solid #dfd8ca;
  border-radius: 4px;
  background: #ffffff;
  padding: 0.75rem 1rem;
}

.notes-summary {
  font-size: 0.875rem;
  font-weight: 600;
  color: #153d68;
  cursor: pointer;
  min-height: 48px;
  display: flex;
  align-items: center;
}

.notes-details[open] .notes-summary {
  margin-bottom: 0.75rem;
}

.request-help-section {
  margin: 2rem 0;
}

/* Shared kit: readable controls and compact photo-first entry. */
body.review-build .container { padding-left: 24px; padding-right: 24px; }
body.review-build .hero-section { padding-top: 24px; padding-bottom: 20px; }
body.review-build .hero-title { font-size: 2.5rem; line-height: 1.04; }
body.review-build .hero-lead { max-width: 48rem; margin: 12px 0 8px; }
body.review-build .btn, body.review-build summary,
body.review-build select, body.review-build input:not([type=checkbox]):not([type=radio]),
body.review-build .radio-label { min-height: 48px; }
body.review-build input, body.review-build select, body.review-build textarea { font-size: 16px; }
body.review-build :focus-visible { outline: 3px solid #153d68; outline-offset: 3px; }
.device-progress-summary::after { content: ' +'; margin-left: auto; }
.device-progress-details[open] .device-progress-summary::after { content: ' −'; }
@media(prefers-reduced-motion: reduce) { .print-settings-summary-bar::after { transition: none; } }

body.review-build .card { border-radius: 4px; }
.batch-picker { border-radius: 4px; }
.batch-picker input::file-selector-button {
  min-height: 48px; border: 1px solid #153d68; border-radius: 4px;
  padding: 10px 16px; background: #153d68; color: #fff; font: inherit;
  font-weight: 600; cursor: pointer; margin-right: 12px;
}
@media(max-width: 600px) {
  body.review-build .hero-section { padding-top: 20px; padding-bottom: 16px; }
  body.review-build .hero-lead { font-size: 16px; }
  body.review-build .card { padding: 16px; }
}
