/* Combustível submission PWA
   Aesthetic: industrial-utilitarian calm. A fuel-pump display you can trust.
   Sunlight-readable, one question per screen, giant touch targets. */

:root {
  --green: #1B8B3D;
  --green-dark: #146B2F;
  --green-pale: #E4F3E8;
  --ink: #15201A;
  --ink-soft: #4A5A50;
  --paper: #F6F5F0;        /* warm off-white, kind in sunlight */
  --card: #FFFFFF;
  --line: #DDE3DC;
  --amber: #C77700;
  --amber-pale: #FFF3E0;
  --red: #B3261E;
  --red-pale: #FCEEED;
  --radius: 14px;
  --font: 'Barlow', sans-serif;
  --font-cond: 'Barlow Condensed', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html, body { height: 100%; }
body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.45;
}

.hidden { display: none !important; }
.center { text-align: center; }

.screen {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 20px;
  max-width: 480px;
  margin: 0 auto;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn-primary {
  font-family: var(--font);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.02em;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 18px;
  width: 100%;
  min-height: 60px;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease;
}
.btn-primary:active { transform: scale(0.98); background: var(--green-dark); }
.btn-primary:disabled { background: #B9C7BC; cursor: default; }

.btn-ghost {
  font-family: var(--font);
  font-weight: 600;
  font-size: 16px;
  background: none;
  border: none;
  color: var(--ink-soft);
  padding: 10px 12px;
  cursor: pointer;
}
.btn-ghost.block { display: block; width: 100%; margin-top: 4px; }
a.btn-ghost { text-decoration: none; display: inline-flex; align-items: center; }
.home-head-actions { display: flex; align-items: center; gap: 4px; }

/* ── Login ───────────────────────────────────────────── */
#screen-login { justify-content: center; }
.login-box { display: flex; flex-direction: column; gap: 14px; padding-bottom: 12vh; }
.pump-mark { font-size: 56px; text-align: center; }
.app-title {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 40px;
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--green);
}
.login-sub { text-align: center; color: var(--ink-soft); margin-top: -10px; margin-bottom: 14px; }
.login-box input {
  font-family: var(--font);
  font-size: 19px;
  padding: 16px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  width: 100%;
}
.login-box input:focus { outline: none; border-color: var(--green); }
.login-box label { display: block; margin-bottom: 6px; font-weight: 600; }

/* ── Home ────────────────────────────────────────────── */
.home-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.hello { font-weight: 800; font-size: 24px; }
.hello-sub { color: var(--ink-soft); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }

.btn-mega {
  font-family: var(--font);
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 26px 24px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(27, 139, 61, 0.28);
  transition: transform 120ms ease;
}
.btn-mega:active { transform: scale(0.98); }
.mega-plus {
  font-size: 44px;
  font-weight: 600;
  background: rgba(255,255,255,0.18);
  border-radius: 14px;
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.recent { margin-top: 30px; }
.recent-title { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.recent-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
}
.recent-plate { font-family: var(--font-cond); font-weight: 800; font-size: 18px; letter-spacing: 0.04em; }
.recent-meta { color: var(--ink-soft); font-size: 13px; }

/* ── Wizard ──────────────────────────────────────────── */
.wiz-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.dots { display: flex; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background 150ms; }
.dot.on { background: var(--green); }
.dot.done { background: #9CC9AA; }

/* No flex:1 here - the Continuar button must flow directly under the
   active step's input, not sit at the bottom where the Android keyboard
   covers it. */
.wiz-body { display: flex; flex-direction: column; justify-content: flex-start; padding-top: 3vh; }
.step { display: none; animation: rise 220ms ease; }
.step.active { display: block; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.q { font-weight: 800; font-size: 27px; line-height: 1.2; margin-bottom: 14px; }
.hint { color: var(--ink-soft); margin: -6px 0 16px; font-size: 15px; }

.wiz-foot { padding-top: 16px; padding-bottom: 40vh; } /* bottom padding keeps content scrollable above the keyboard */

/* choices (tank, category, fill type) */
.choice-list { display: flex; flex-direction: column; gap: 10px; }
.choice {
  font-family: var(--font);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  min-height: 62px;
  font-size: 19px;
  cursor: pointer;
  text-align: left;
  transition: border-color 120ms, background 120ms;
}
.choice.selected { border-color: var(--green); background: var(--green-pale); }
.choice-main { font-weight: 800; }
.choice-sub { font-size: 14px; color: var(--ink-soft); }

/* big numeric input - pump display feel */
.big-num {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 52px;
  letter-spacing: 0.05em;
  text-align: center;
  width: 100%;
  padding: 14px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.big-num:focus { outline: none; border-color: var(--green); }
.big-num::placeholder { color: #C9D2CB; }
.plate-input { text-transform: uppercase; font-size: 42px; }

.big-text {
  font-family: var(--font);
  font-weight: 600;
  font-size: 24px;
  width: 100%;
  padding: 16px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.big-text:focus { outline: none; border-color: var(--green); }

.field-group { margin-bottom: 18px; }
.field-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.litres-wrap { position: relative; }
.litres-unit {
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-cond); font-weight: 800; font-size: 30px; color: var(--ink-soft);
}

.suggest { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.suggest button {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.04em;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  cursor: pointer;
  text-align: left;
}
.suggest button b { color: var(--green); }

.model-chip {
  margin-top: 12px;
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-dark);
  font-weight: 600;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 15px;
}

.field-error {
  margin-top: 12px;
  background: var(--red-pale);
  color: var(--red);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 600;
}
.field-error.warn { background: var(--amber-pale); color: var(--amber); }

/* ── Confirm ─────────────────────────────────────────── */
#screen-confirm { justify-content: center; }
.confirm-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.summary { margin: 18px 0 22px; }
.summary > div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.summary dt { color: var(--ink-soft); font-size: 15px; }
.summary dd { font-weight: 800; font-size: 16px; text-align: right; }

/* ── Photo ───────────────────────────────────────────── */
#screen-photo { justify-content: center; }
.photo-card { display: flex; flex-direction: column; gap: 16px; }
.photo-drop {
  display: flex; align-items: center; justify-content: center;
  min-height: 220px;
  background: var(--card);
  border: 2px dashed #A9BBAD;
  border-radius: 18px;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  color: var(--ink-soft);
  cursor: pointer;
  overflow: hidden;
}
.photo-drop img { width: 100%; height: 260px; object-fit: cover; border-radius: 16px; }

/* ── Sending ─────────────────────────────────────────── */
#screen-sending { justify-content: center; align-items: center; }
.sending-box { text-align: center; color: var(--ink-soft); font-weight: 600; }
.spinner {
  width: 46px; height: 46px; margin: 0 auto 14px;
  border: 4px solid var(--line); border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Result ticket ───────────────────────────────────── */
#screen-result { justify-content: center; gap: 18px; }
.ticket {
  background: var(--card);
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: 0 8px 24px rgba(21, 32, 26, 0.12);
  text-align: center;
  animation: rise 300ms ease;
}
.ticket-top {
  font-family: var(--font-cond);
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 15px;
  color: var(--green);
}
.ticket-no-label { margin-top: 18px; color: var(--ink-soft); font-size: 15px; }
.ticket-no {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 64px;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}
.ticket-tear {
  margin: 18px -22px;
  border-top: 2px dashed var(--line);
}
.t-result-row { display: flex; justify-content: space-between; padding: 7px 4px; font-size: 16px; }
.t-result-row dt { color: var(--ink-soft); }
.t-result-row dd { font-weight: 800; }
.t-verdict {
  margin-top: 12px;
  border-radius: 12px;
  padding: 14px;
  font-weight: 800;
  font-size: 18px;
}
.t-verdict.ok { background: var(--green-pale); color: var(--green-dark); }
.t-verdict.warn { background: var(--amber-pale); color: var(--amber); }
.t-verdict.bad { background: var(--red-pale); color: var(--red); }
.t-baseline { margin-top: 10px; color: var(--ink-soft); font-size: 15px; }

/* ── Single-page form (DEC-C-018) ─────────────────────
   Summary-overlay aesthetic Hugo approved: compact label/control rows
   on one card, everything visible, no step navigation. */
/* two-tier form header: prominent Voltar pill on top, title heading below */
.form-head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
.form-title { font-weight: 800; font-size: 20px; line-height: 1.18; color: var(--ink); }
.btn-back {
  font-family: var(--font); font-weight: 700; font-size: 16px;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  background: var(--green-pale); color: var(--green-dark);
  border: none; border-radius: 12px; padding: 11px 18px 11px 13px; cursor: pointer;
}
.btn-back:active { background: #D2E9D9; transform: scale(0.98); }
.back-chevron { font-size: 22px; line-height: 1; font-weight: 800; margin-top: -1px; }

.sp-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 8px 16px 16px;
}
.sp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  min-height: 52px;
}
.sp-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  flex-shrink: 0;
}
.sp-control {
  font-family: var(--font);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  padding: 10px 12px;
  width: 58%;
  min-height: 46px;
}
.sp-control:focus { outline: none; border-color: var(--green); }
select.sp-control { appearance: auto; }
.sp-plate { font-family: var(--font-cond); font-weight: 800; letter-spacing: 0.04em; font-size: 19px; }
.sp-input.sp-num {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 22px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.sp-subnote {
  text-align: right;
  font-size: 13px;
  color: var(--green-dark);
  font-weight: 600;
  padding: 4px 2px 0;
}
.sp-msg { margin: 8px 0 2px; font-size: 14px; padding: 10px 12px; }
.missing-guidance {
  background: var(--bg);
  color: var(--ink-soft);
  font-weight: 600;
}

.sp-seg { display: flex; gap: 8px; width: 58%; }
.seg-btn {
  font-family: var(--font);
  flex: 1;
  font-weight: 700;
  font-size: 15px;
  padding: 11px 6px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
}
.seg-btn.selected { border-color: var(--green); background: var(--green-pale); color: var(--green-dark); }

.sp-divider {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-dark);
  padding: 16px 0 6px;
}

.photo-compact { min-height: 110px; margin-bottom: 14px; font-size: 17px; }
.photo-compact img { height: 150px; }
.photo-wait {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600; color: var(--amber);
}
.spinner-sm {
  width: 22px; height: 22px; margin: 0;
  border-width: 3px; flex-shrink: 0;
  display: inline-block;
  border: 3px solid var(--line); border-top-color: var(--amber);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

/* ── Searchable picker sheet (plate + driver type-ahead) ── */
.sp-picker {
  text-align: left;
  color: #9AA89D;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}
.sp-picker.picked { color: var(--ink); }
.sp-picker::after {
  content: "▾";
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  color: var(--ink-soft); font-size: 14px;
}

.picker {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(21, 32, 26, 0.45);
  display: flex; align-items: flex-end;
}
.picker-sheet {
  background: var(--card);
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  border-radius: 18px 18px 0 0;
  height: 72dvh;
  display: flex; flex-direction: column;
  animation: sheetUp 200ms ease;
}
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0.6; } to { transform: none; opacity: 1; } }
.picker-head {
  display: flex; gap: 8px; align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.picker-head input {
  flex: 1;
  font-family: var(--font);
  font-weight: 600;
  font-size: 17px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}
.picker-head input:focus { outline: none; border-color: var(--green); }
.picker-list { flex: 1; overflow-y: auto; padding: 6px 8px 24px; }
.picker-item {
  font-family: var(--font);
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid #F0F2EF;
  padding: 15px 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  min-height: 54px;
}
.picker-item:active { background: var(--green-pale); }
.picker-item.picker-plate {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: 0.04em;
}
.picker-sub { font-family: var(--font); font-weight: 400; font-size: 14px; color: var(--ink-soft); letter-spacing: 0; }
.picker-empty { padding: 30px 10px; text-align: center; color: var(--ink-soft); }

/* pump label note + fill detail sheet */
.sp-label-note { font-size: 11px; font-weight: 600; letter-spacing: 0.03em; color: var(--amber); text-transform: none; }
.recent-item.clickable { cursor: pointer; }
.recent-item.clickable:active { background: var(--green-pale); }
.recent-item.voided .recent-plate, .recent-item.voided .recent-meta { text-decoration: line-through; color: #B9C2BB; }
.recent-by { display: block; font-size: 12px; color: var(--ink-soft); }
.detail-head { justify-content: space-between; }
.detail-title { font-family: var(--font-cond); font-weight: 800; font-size: 22px; letter-spacing: 0.04em; }
.detail-body { flex: 1; overflow-y: auto; padding: 6px 16px 30px; }
.detail-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.detail-row dt { color: var(--ink-soft); }
.detail-row dd { font-weight: 700; text-align: right; }
.detail-photo { width: 100%; border-radius: 12px; border: 1px solid var(--line); margin-top: 14px; }
.btn-danger-block {
  font-family: var(--font); width: 100%; margin-top: 16px;
  background: var(--red); color: #fff; border: none; border-radius: var(--radius);
  padding: 15px; font-size: 17px; font-weight: 800; cursor: pointer;
}
.detail-voided-note { margin-top: 14px; padding: 12px; border-radius: 10px; background: #F2F2F0; color: var(--ink-soft); font-size: 14px; }

/* install banner (add-to-home) */
.install-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  background: var(--green); color: #fff;
  box-shadow: 0 -3px 14px rgba(0,0,0,0.18);
}
.install-icon { font-size: 22px; flex: none; }
.install-text { flex: 1; font-size: 14px; font-weight: 600; line-height: 1.3; }
.install-go {
  flex: none; font-family: var(--font); font-weight: 800; font-size: 15px;
  background: #fff; color: var(--green-dark); border: none;
  border-radius: 10px; padding: 10px 16px; cursor: pointer;
}
.install-x {
  flex: none; background: transparent; color: #fff; border: none;
  font-size: 18px; line-height: 1; padding: 8px; cursor: pointer; opacity: 0.85;
}

/* two-button home: HC (comercial) vs HL (logística) — DEC-C-023 */
.cta-label { font-family: var(--font-cond); font-weight: 800; font-size: 15px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.mega-pair { display: flex; gap: 14px; }
.mega-pair .btn-mega { flex: 1; flex-direction: column; align-items: center;
  justify-content: center; gap: 8px; text-align: center; padding: 30px 12px; }
.mega-co { font-size: 23px; font-weight: 800; line-height: 1.1; }
.mega-tag { font-family: var(--font-cond); font-weight: 800; font-size: 14px;
  letter-spacing: 0.12em; background: rgba(255,255,255,0.22); border-radius: 8px; padding: 2px 11px; }
.btn-mega-hl { background: var(--green); box-shadow: 0 6px 18px rgba(27,139,61,0.28); }
.btn-mega-hc { background: #1A4E8A; box-shadow: 0 6px 18px rgba(26,78,138,0.28); }

/* supplier fuel receipt: a distinct inbound action below the two fill paths */
.btn-receipt-home {
  font-family: var(--font); display: flex; align-items: center; gap: 14px;
  width: 100%; margin-top: 14px; padding: 16px 18px; text-align: left;
  color: #6F3E00; background: var(--amber-pale);
  border: 2px solid #E3A03C; border-radius: 16px; cursor: pointer;
  box-shadow: 0 4px 12px rgba(199, 119, 0, 0.14);
}
.btn-receipt-home:active { transform: scale(0.98); background: #FFE7BE; }
.btn-receipt-home strong { display: block; font-size: 19px; line-height: 1.15; }
.btn-receipt-home small { display: block; margin-top: 3px; font-size: 14px; color: #8A580D; }
.receipt-home-icon {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--amber); color: #fff; font-size: 28px; font-weight: 800;
}

/* supplier receipt one-page form */
.receipt-form { padding-top: 14px; }
.receipt-section-title {
  color: #7A4900; font-size: 13px; font-weight: 800; letter-spacing: 0.09em;
  text-transform: uppercase; padding: 4px 0 10px;
}
.receipt-section-title.receipt-after {
  border-top: 2px solid #F1D19C; margin-top: 16px; padding-top: 18px;
}
.receipt-field { margin-bottom: 14px; }
.receipt-field label {
  display: block; margin-bottom: 6px; color: var(--ink);
  font-size: 15px; font-weight: 700; line-height: 1.25;
}
.receipt-field label small { color: var(--ink-soft); font-size: 13px; font-weight: 600; }
.receipt-field input, .receipt-field select, .receipt-field textarea {
  font-family: var(--font); width: 100%; min-height: 50px; padding: 12px 13px;
  color: var(--ink); background: var(--paper); border: 1.5px solid var(--line);
  border-radius: 10px; font-size: 18px; font-weight: 600;
}
.receipt-field input[type="number"] {
  font-family: var(--font-cond); text-align: right; font-size: 23px;
  font-weight: 800; font-variant-numeric: tabular-nums;
}
.receipt-field textarea { min-height: 72px; resize: vertical; font-size: 16px; }
.receipt-field input:focus, .receipt-field select:focus, .receipt-field textarea:focus {
  outline: none; border-color: var(--amber);
}
.receipt-help { display: block; margin-top: 5px; color: var(--ink-soft); font-size: 13px; }
.receipt-summary {
  margin: 18px 0; padding: 15px; border: 1px solid #E8C486;
  border-radius: 13px; background: #FFFBF4;
}
.receipt-summary-main {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 10px; border-bottom: 1px dashed #E8C486; font-size: 17px;
}
.receipt-summary-main strong {
  font-family: var(--font-cond); color: var(--ink); font-size: 29px;
  font-variant-numeric: tabular-nums;
}
.receipt-summary-line { padding-top: 10px; color: var(--ink-soft); font-size: 15px; }
.receipt-pill {
  display: inline-block; border-radius: 999px; padding: 2px 9px;
  font-weight: 800; font-variant-numeric: tabular-nums;
}
.receipt-pill.ok { color: var(--green-dark); background: var(--green-pale); }
.receipt-pill.warn { color: var(--amber); background: var(--amber-pale); }
.receipt-pill.bad { color: var(--red); background: var(--red-pale); }
.receipt-capacity-warning {
  margin-top: 12px; padding: 10px 12px; border-radius: 10px;
  color: var(--amber); background: var(--amber-pale); font-weight: 800;
}
.receipt-all-ok, .receipt-contact {
  margin-top: 12px; border-radius: 10px; padding: 10px 12px; font-weight: 800;
}
.receipt-all-ok { color: var(--green-dark); background: var(--green-pale); }
.receipt-contact { color: var(--red); background: var(--red-pale); }
.receipt-photo { border-color: #D6A85B; background: #FFFBF4; }
.receipt-comments { margin-top: 14px; }
.receipt-declaration {
  display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 18px;
  padding: 13px; border-radius: 11px; background: #F1F4F0;
  color: var(--ink); font-size: 15px; font-weight: 700; cursor: pointer;
}
.receipt-declaration input { width: 23px; height: 23px; flex: none; accent-color: var(--green); }
.receipt-ticket .ticket-top { color: var(--amber); }
#screen-receipt-result { justify-content: center; gap: 18px; }

/* defined header buttons (Gestão / Sair) — obvious, tappable */
.hdr-btn {
  font-family: var(--font); font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; white-space: nowrap;
  background: #fff; color: var(--ink-soft);
  border: 1.5px solid var(--line); border-radius: 10px;
  padding: 8px 14px; cursor: pointer; text-decoration: none;
}
.hdr-btn:active { transform: scale(0.97); }
.hdr-btn-accent { background: var(--green-pale); border-color: var(--green); color: var(--green-dark); }
.home-head-actions { display: flex; align-items: center; gap: 8px; }
