/* PrintOut — NYC DOB Construction Site Sign Builder (55" x 36.5") */
:root {
  --navy: #17223D;
  --navy-deep: #062849;
  --navy-2: #223154;
  --olive: #9BC91B;
  --olive-soft: #B3CB6A;
  --olive-dark: #5F7E12;
  --paper: #FAF9F5;
  --card: #FFFFFF;
  --tint: #F4F3EC;
  --line: #E4E2D8;
  --line-strong: #CFCBC0;
  --ink: #17223D;
  --muted: #566075;
  --danger: #B91C1C;
  --radius: 14px;
  --radius-sm: 9px;
  --font: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body.cs-body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font-family: inherit; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 10px 14px; z-index: 1000;
}
.skip:focus { left: 12px; top: 12px; border-radius: 8px; }

.wrap {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Store Bar & Site Header (matches printoutlocal.com) */
.sdbar {
  background: var(--navy);
  color: #D7DFEE;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.sdbar .wrap {
  display: flex;
  justify-content: flex-end;
  padding-top: 6px;
  padding-bottom: 6px;
}
.sdbar .locs { display: flex; gap: 18px; }
.sdbar .locs a {
  text-decoration: none;
  color: #D7DFEE;
  font-weight: 500;
}
.sdbar .locs a:hover { color: #FFFFFF; text-decoration: underline; }

.top.top5 {
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 60;
}
.top.top5 .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
}
.brand img { width: 124px; height: 41px; }
.tnav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.tnav a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.tnav a:hover { color: var(--navy-2); }
.tnav a[aria-current="page"] { border-bottom-color: var(--olive); color: var(--navy); }
.tnav a.mob { display: none; }
.nr { display: flex; align-items: center; gap: 10px; }
.nr a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 15px;
  border-radius: 999px;
  transition: background .15s, color .15s, border-color .15s;
}
.nr .nq { border: 1px solid var(--line-strong); color: var(--navy); background: #fff; }
.nr .nq:hover { border-color: var(--navy); }
.nr .np { background: var(--navy); color: #fff; }
.nr .np:hover { background: var(--navy-2); }

.tmenu {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.tmenu span { width: 18px; height: 2px; background: var(--navy); border-radius: 2px; }

/* Intro */
.cs-intro {
  padding: 26px 0 20px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #FFFFFF 0%, var(--paper) 100%);
}
.cs-crumb { margin-bottom: 10px; }
.cs-crumb a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}
.cs-crumb a:hover { color: var(--navy); text-decoration: underline; }
.cs-intro-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cs-eyebrow {
  margin: 0 0 6px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--olive-dark);
}
.cs-h1 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--navy);
}
.cs-price-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: 12px;
}
.cs-price-num { font-size: 26px; font-weight: 800; color: var(--olive-soft); line-height: 1; }
.cs-price-sub { font-size: 13px; color: #D7DFEE; font-weight: 500; }
.cs-lead {
  margin: 12px 0 0;
  max-width: 740px;
  font-size: 15.5px;
  color: var(--muted);
}

/* Main 2-Column Studio Grid */
.cs-studio { padding: 26px 0 56px; }
.cs-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.92fr);
  gap: 26px;
  align-items: start;
}

/* Sticky Preview Stage */
.cs-stage-col {
  position: sticky;
  top: 84px;
}
.cs-stage-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(23, 34, 61, 0.06);
}
.cs-stage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.cs-stage-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.cs-live-dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--olive);
  box-shadow: 0 0 0 3px rgba(155, 201, 27, 0.25);
}
.cs-dim-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--navy);
  border: 1px solid var(--line);
}
.cs-stage-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.cs-status-pill {
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 999px;
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #E2E8F0;
}
.cs-status-pill.is-ready {
  background: #ECFCCB;
  color: #365314;
  border-color: #BEF264;
}
.cs-btn-ghost {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 8px;
  cursor: pointer;
}
.cs-btn-ghost:hover { border-color: var(--navy); background: var(--tint); }

.cs-canvas-frame {
  background: #E9ECEF;
  border-radius: 10px;
  padding: 10px;
  border: 1px solid var(--line);
}
#sign-canvas {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(6, 40, 73, 0.24);
  background: var(--navy-deep);
}
.cs-stage-foot {
  margin-top: 11px;
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

/* Right Controls Cards */
.cs-controls-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cs-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(23, 34, 61, 0.04);
}
.cs-card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.cs-step-num {
  width: 28px; height: 28px;
  flex: 0 0 28px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--olive-soft);
  font-weight: 800;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.cs-card-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.cs-card-head p {
  margin: 3px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}

/* Upload Dropzones */
.cs-upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cs-dropzone {
  border: 1.5px dashed var(--line-strong);
  border-radius: 12px;
  background: var(--paper);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: border-color .15s, background .15s;
}
.cs-dropzone.is-drag {
  border-color: var(--navy);
  background: #EEF2FF;
}
.cs-dropzone.has-file {
  border-style: solid;
  border-color: #9BC91B;
  background: #FAFCF5;
}
.cs-dz-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.cs-dz-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--navy);
  background: #E8ECF4;
  padding: 2px 7px;
  border-radius: 6px;
}
.cs-dz-dim {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
}
.cs-dz-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
}
.cs-dz-hint {
  font-size: 12.5px;
  color: var(--muted);
  word-break: break-word;
}
.cs-dz-btns {
  display: flex;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.cs-btn-sm {
  font-size: 13px;
  font-weight: 700;
  padding: 8px 13px;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cs-btn-navy { background: var(--navy); color: #fff; }
.cs-btn-navy:hover { background: var(--navy-2); }
.cs-btn-outline { background: #fff; color: var(--navy); border-color: var(--line-strong); }
.cs-btn-outline:hover { border-color: var(--navy); }

.cs-fit-controls {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cs-fit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.cs-zoom-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cs-zoom-row input[type="range"] {
  width: 100%;
  accent-color: var(--navy);
}
.cs-mini-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 3px;
}
.cs-seg-sm {
  display: inline-flex;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2px;
  gap: 2px;
}
.cs-seg-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 6px;
  cursor: pointer;
}
.cs-seg-btn.is-active {
  background: var(--navy);
  color: #fff;
}

.cs-upload-err {
  margin-top: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: var(--danger);
  font-size: 13px;
  font-weight: 600;
}

/* Inputs & Text Details */
.cs-field-group { margin-bottom: 14px; }
.cs-field-group:last-child { margin-bottom: 0; }
.cs-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.cs-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.cs-label-row .cs-label { margin-bottom: 0; }
.cs-link-btn {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}
.cs-link-btn:hover { color: var(--navy); }

.cs-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.cs-pill {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .12s;
}
.cs-pill:hover { border-color: var(--navy); }
.cs-pill.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.cs-input, .cs-textarea, .cs-select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 14.5px;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.cs-textarea {
  resize: vertical;
  min-height: 98px;
  line-height: 1.45;
}
.cs-input:focus, .cs-textarea:focus, .cs-select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(23, 34, 61, 0.12);
}

.cs-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Quantity, Branch & Turnaround */
.cs-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.cs-stepper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 3px;
}
.cs-step-btn {
  width: 34px; height: 34px;
  border: 0;
  border-radius: 7px;
  background: var(--tint);
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cs-step-btn:hover { background: var(--navy); color: #fff; }
.cs-qty-num {
  min-width: 32px;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
}
.cs-qty-price { text-align: right; }
.cs-qty-price strong { display: block; font-size: 18px; font-weight: 800; color: var(--navy); line-height: 1.1; }
.cs-qty-price span { font-size: 12.5px; color: var(--muted); }

.cs-branch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.cs-branch-card {
  text-align: left;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  padding: 12px 13px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.cs-branch-card:hover { border-color: var(--navy); }
.cs-branch-card.is-active {
  border-color: var(--navy);
  background: #F4F7FB;
  box-shadow: 0 0 0 1px var(--navy);
}
.cs-branch-name { font-size: 15px; font-weight: 800; color: var(--navy); }
.cs-branch-addr { font-size: 12.5px; color: var(--muted); }
.cs-branch-tax { font-size: 11.5px; font-weight: 700; color: var(--olive-dark); margin-top: 2px; }

.cs-turnaround-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  margin-bottom: 14px;
}
.cs-turnaround-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.cs-turnaround-title { font-size: 14px; font-weight: 800; color: var(--navy); }
.cs-turnaround-sub { font-size: 12.5px; color: var(--muted); }
.cs-rush-fields {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.cs-rush-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.cs-time-wrap {
  display: grid;
  grid-template-columns: 1fr 78px;
  gap: 6px;
}
.cs-rush-note {
  margin: 8px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}

/* Order Total Box */
.cs-total-box {
  background: #F8F7F2;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.cs-total-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  padding: 5px 0;
}
.cs-total-row.cs-muted { color: var(--muted); }
.cs-total-row.cs-grand {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line-strong);
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
}
.cs-nofee {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--olive-dark);
  margin-left: 6px;
}

/* Contact Info & Stripe */
.cs-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin-bottom: 16px;
}
.cs-span-2 { grid-column: span 2; }

.cs-pay-box {
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #FFFFFF;
  padding: 15px;
  margin-bottom: 14px;
}
.cs-pay-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.cs-pay-head strong { font-size: 14.5px; color: var(--navy); }
.cs-pay-head span {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  background: var(--tint);
  padding: 3px 8px;
  border-radius: 999px;
}
.cs-test-banner {
  margin-bottom: 12px;
  padding: 9px 12px;
  border-radius: 8px;
  background: #FEF3C7;
  border: 1px solid #F59E0B;
  color: #92400E;
  font-size: 12.5px;
}
.cs-stripe-loading {
  font-size: 13.5px;
  color: var(--muted);
  padding: 12px 0;
}

.cs-form-error {
  margin-bottom: 12px;
  padding: 10px 13px;
  border-radius: 9px;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: var(--danger);
  font-size: 13.5px;
  font-weight: 600;
}

.cs-pay-btn {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  padding: 15px 20px;
  cursor: pointer;
  transition: background .15s, transform .08s;
}
.cs-pay-btn:hover { background: var(--navy-2); }
.cs-pay-btn:active { transform: translateY(1px); }
.cs-pay-btn:disabled { opacity: .62; cursor: not-allowed; }
.cs-pay-foot {
  margin: 10px 0 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
}
.cs-pay-foot a { color: var(--navy); font-weight: 700; text-decoration: none; }

/* Paid Confirmation */
.cs-confirmed {
  padding: 8px 2px 4px;
}
.cs-conf-badge {
  display: inline-block;
  background: #ECFCCB;
  color: #365314;
  border: 1px solid #BEF264;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.cs-confirmed h3 {
  margin: 0 0 6px;
  font-size: 21px;
  font-weight: 800;
  color: var(--navy);
}
.cs-conf-sub {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--muted);
}
.cs-conf-details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.cs-conf-details > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
}
.cs-conf-details span { color: var(--muted); }
.cs-conf-details strong { color: var(--navy); text-align: right; word-break: break-all; }
.cs-conf-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cs-conf-help {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.cs-conf-help a { color: var(--navy); font-weight: 700; text-decoration: none; }

/* Proof Modal */
.cs-modal[hidden] { display: none; }
.cs-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cs-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
}
.cs-modal-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px;
  width: min(1140px, 100%);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}
.cs-modal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.cs-modal-body {
  padding: 16px;
  overflow: auto;
  background: #E9ECEF;
}
#modal-proof-img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.22);
}

/* Footer (matches printoutlocal.com) */
.foot5 {
  background: var(--navy);
  color: #D7DFEE;
  padding: 44px 0 28px;
}
.frow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.flock {
  display: flex;
  align-items: center;
  gap: 14px;
}
.flock .bar {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,.22);
}
.flock span { font-size: 13.5px; color: #CBD5E1; }
.fslog .slog {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}
.fslog .slog span { color: var(--olive-soft); }
.fslog .fsub { margin: 4px 0 0; font-size: 13.5px; color: #CBD5E1; }
.fcols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 28px 0;
}
.fcols h4 { margin: 0 0 10px; font-size: 13.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--olive-soft); }
.fcols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.fcols a { text-decoration: none; font-size: 14px; color: #E2E8F0; }
.fcols a:hover { color: #fff; text-decoration: underline; }
.fcols .note { font-size: 12.5px; color: #94A3B8; }
.legal {
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #94A3B8;
}

/* Responsive */
@media (max-width: 1020px) {
  .cs-grid { grid-template-columns: 1fr; }
  .cs-stage-col { position: static; }
  .tnav { display: none; }
  .tnav.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #fff;
    padding: 16px 24px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
    gap: 12px;
  }
  .tnav.is-open a.mob { display: block; }
  .nr { display: none; }
  .tmenu { display: inline-flex; }
}

@media (max-width: 680px) {
  .wrap { padding: 0 15px; }
  .cs-intro { padding: 18px 0 16px; }
  .cs-studio { padding: 16px 0 40px; }
  .cs-stage-card { padding: 12px; }
  .cs-canvas-frame { padding: 6px; }
  .cs-card { padding: 15px; }
  .cs-upload-grid,
  .cs-two-col,
  .cs-branch-grid,
  .cs-rush-grid,
  .cs-contact-grid { grid-template-columns: 1fr; }
  .cs-span-2 { grid-column: auto; }
  .fcols { grid-template-columns: 1fr 1fr; }
}


/* Payment Method Selector (Credit Card vs PrintOut Account) */
.cs-pay-method-wrap { margin: 16px 0 12px; }
.cs-pay-method-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}
.cs-pm-tab {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #17223D;
  cursor: pointer;
  text-align: left;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.cs-pm-tab:hover { border-color: #64748b; }
.cs-pm-tab.is-active {
  border-color: #17223D;
  background: #f4f7ee;
  box-shadow: 0 0 0 2px rgba(157, 193, 83, 0.45);
}
.cs-pm-title { font-size: 14px; font-weight: 700; color: #17223D; }
.cs-pm-sub { font-size: 12px; color: #475569; }
.cs-account-box {
  background: #fafbf6;
  border-color: #cbd9a7;
}
.cs-account-note {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #334155;
}
.cs-account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 600px) {
  .cs-pay-method-tabs, .cs-account-grid { grid-template-columns: 1fr; }
}


/* Brooklyn-only pickup card + 24-Hour Pickup Room checkbox + button math line */
.cs-branch-single { display: block; }
.cs-branch-single .cs-branch-card { width: 100%; }
.cs-pickup24-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.cs-pickup24-label:has(input:checked) {
  border-color: #17223D;
  background: #f4f7ee;
}
.cs-pickup24-chk {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #17223D;
  flex-shrink: 0;
}
.cs-pickup24-label strong {
  display: block;
  font-size: 13.5px;
  color: #17223D;
}
.cs-pickup24-label small {
  display: block;
  font-size: 12px;
  color: #475569;
  margin-top: 2px;
}
.cs-btn-math-line {
  margin: 14px 0 8px;
  text-align: center;
  font-size: 13px;
  color: #334155;
  background: #f8f7f4;
  border: 1px solid #e5e4dc;
  border-radius: 8px;
  padding: 8px 12px;
}
.cs-btn-math-line strong { color: #17223D; }

.cs-new-acct-callout {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 9px;
  background: #ffffff;
  border: 1px dashed #94a3b8;
  font-size: 12.5px;
  line-height: 1.5;
  color: #334155;
}
.cs-new-acct-callout a {
  color: #17223D;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* === 3-Sign Size & Type Picker (v6) === */
.cs-type-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.cs-type-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
  padding: 14px 16px;
  border-radius: 13px;
  border: 2px solid #D8E0EA;
  background: #FFFFFF;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.cs-type-card:hover {
  border-color: #93A6BD;
  background: #F8FAFC;
}
.cs-type-card.is-active {
  border-color: #17223D;
  background: #F4F8EC;
  box-shadow: 0 0 0 3px rgba(157, 193, 83, 0.28);
}
.cs-type-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.cs-type-title {
  font-size: 15px;
  font-weight: 800;
  color: #17223D;
}
.cs-type-price {
  font-size: 16px;
  font-weight: 800;
  color: #17223D;
  background: #E8F3D0;
  padding: 2px 9px;
  border-radius: 999px;
}
.cs-type-card.is-active .cs-type-price {
  background: #17223D;
  color: #FFFFFF;
}
.cs-type-desc {
  font-size: 12.5px;
  color: #526075;
  line-height: 1.35;
}
.cs-canvas-frame.is-portrait {
  display: flex;
  justify-content: center;
  background: #E9EEF5;
  padding: 12px;
}
.cs-canvas-frame.is-portrait canvas {
  width: auto !important;
  max-width: 100%;
  max-height: 540px;
  height: auto;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
}
.cs-upload-grid.is-single {
  grid-template-columns: 1fr !important;
}
@media (max-width: 760px) {
  .cs-type-picker {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
