/* =========================================================
   POT MONEY 2026 — PRIVATE SUBMISSION RETRIEVAL
   Refined typography, clearer hierarchy and responsive layout
   ========================================================= */

:root {
  --ink: #2d241e;
  --ink-soft: #514336;
  --muted: #827463;
  --muted-light: #9b8d7d;
  --gold: #b77b3d;
  --gold-deep: #98632f;
  --gold-light: #e7c795;
  --line: #e8ddcf;
  --paper: #fffdf9;
  --cream: #f6f1e9;
  --dark: #292019;
  --success-bg: #edf4ed;
  --success: #527b56;
  --danger: #a94e43;
  --shadow: 0 18px 55px rgba(66, 48, 29, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: #f7f3ed;
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}
button {
  -webkit-tap-highlight-color: transparent;
}

.ambient {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}
.ambient--top {
  width: 520px;
  height: 520px;
  top: -220px;
  right: -180px;
  background: radial-gradient(
    circle,
    rgba(218, 184, 137, 0.22),
    transparent 68%
  );
}
.ambient--bottom {
  width: 420px;
  height: 420px;
  left: -220px;
  bottom: -180px;
  background: radial-gradient(
    circle,
    rgba(165, 122, 74, 0.12),
    transparent 68%
  );
}

.topbar {
  min-height: 84px;
  padding: 0 clamp(22px, 6vw, 92px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(115, 87, 58, 0.12);
  background: rgba(255, 253, 249, 0.76);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}
.brand__mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--dark);
  color: var(--gold-light);
  font-size: 20px;
}
.brand__copy strong,
.brand__copy small {
  display: block;
}
.brand__copy strong {
  font-size: 13px;
  letter-spacing: 2.2px;
}
.brand__copy small {
  margin-top: 4px;
  color: var(--muted-light);
  font-size: 9px;
  letter-spacing: 1.35px;
}
.back-link {
  color: #786753;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease;
}
.back-link:hover {
  color: var(--gold);
}

.shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.intro {
  max-width: 700px;
  padding: 72px 0 38px;
}
.eyebrow,
.step-kicker {
  color: #a96f35;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
}
.eyebrow > span {
  width: 24px;
  height: 1px;
  background: #c99a60;
}
.intro__year {
  margin: 27px 0 11px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 2.6px;
}
.intro h1,
.panel h2,
.results-heading h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  letter-spacing: -1.5px;
}
.intro h1 {
  font-size: clamp(46px, 6vw, 68px);
  line-height: 1.04;
}
.intro h1 em,
.panel h2 em,
.side-note h3 em,
.results-heading h2 em {
  color: #a66f37;
  font-weight: 500;
}
.intro__copy {
  max-width: 610px;
  margin: 20px 0 26px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}
.trust-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: #796b5b;
  font-size: 12px;
}
.trust-row b {
  margin-right: 6px;
  color: #a96f35;
  font-size: 12px;
}
.trust-row i {
  width: 25px;
  height: 1px;
  background: #d9c7ae;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(270px, 0.65fr);
  align-items: stretch;
  gap: 22px;
}
.panel {
  min-height: 470px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid #e9dfd2;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 36px;
}
.panel__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: #f5ecdf;
  color: #a66f37;
  font-size: 20px;
}
.secure-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8d7d6c;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
}
.secure-label > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #77a17c;
}
.panel h2 {
  margin: 11px 0 15px;
  font-size: clamp(36px, 4vw, 47px);
  line-height: 1.08;
}
.panel-copy {
  max-width: 490px;
  margin: 0 0 29px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.panel-copy strong {
  color: #5c4937;
}

.panel label:not(.search-box) {
  display: block;
  margin: 0 0 10px;
  color: #655747;
  font-size: 12px;
  font-weight: 700;
}
.input-shell {
  height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 15px;
  border: 1px solid #e4d8c8;
  background: #fff;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.input-shell > span {
  color: #b18758;
  font-size: 17px;
}
.input-shell input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font:
    14px "DM Sans",
    Arial,
    sans-serif;
}
.input-shell:focus-within,
.otp-inputs input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(189, 135, 72, 0.11);
}
.primary-btn {
  width: 100%;
  min-height: 56px;
  margin-top: 18px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: linear-gradient(110deg, #e4c18e, #bd8748);
  color: #2c2118;
  box-shadow: 0 9px 22px rgba(165, 112, 51, 0.14);
  cursor: pointer;
  font:
    700 13px "DM Sans",
    Arial,
    sans-serif;
  transition:
    transform 0.2s ease,
    filter 0.2s ease,
    opacity 0.2s ease;
}
.primary-btn:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}
.primary-btn:disabled {
  cursor: wait;
  opacity: 0.58;
  transform: none;
}
.primary-btn b {
  font-size: 21px;
  font-weight: 400;
}
.form-note {
  margin: 14px 0 0;
  color: #968675;
  font-size: 11px;
}
.feedback {
  min-height: 19px;
  margin-top: 12px;
  color: var(--danger);
  font-size: 13px;
  line-height: 1.55;
}
.feedback.success {
  color: #4e805b;
}

.otp-inputs input {
  width: 100%;
  height: 62px;
  padding: 0 0 0 13px;
  border: 1px solid #e4d8c8;
  outline: 0;
  background: #fff;
  color: var(--ink);
  text-align: center;
  font:
    700 25px "DM Sans",
    Arial,
    sans-serif;
  letter-spacing: 13px;
}
.otp-actions {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.text-btn {
  padding: 5px 0;
  border: 0;
  background: none;
  color: #977044;
  cursor: pointer;
  font:
    600 12px "DM Sans",
    Arial,
    sans-serif;
}
.text-btn:hover {
  text-decoration: underline;
}

.side-note {
  min-height: 470px;
  padding: 39px 34px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--dark);
  color: #f5eadb;
}
.side-note::after {
  content: "✦";
  position: absolute;
  top: 48px;
  right: -25px;
  color: rgba(224, 188, 139, 0.055);
  font-size: 180px;
  pointer-events: none;
}
.side-note__ornament {
  margin-bottom: 27px;
  color: #d9b47f;
  font-size: 25px;
}
.side-note__kicker {
  color: #d8b27d;
  font-size: 10px;
  letter-spacing: 1.8px;
}
.side-note h3 {
  margin: 18px 0;
  font:
    500 35px/1.2 "Playfair Display",
    Georgia,
    serif;
}
.side-note h3 em {
  color: #e0b77f;
}
.side-note p {
  max-width: 275px;
  margin: 0;
  color: #c4b4a3;
  font-size: 13px;
  line-height: 1.85;
}
.side-note__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #bda88f;
  font-size: 9px;
  letter-spacing: 1.2px;
}
.side-note__bottom span:first-child {
  color: #e3c18e;
  font:
    23px "Playfair Display",
    Georgia,
    serif;
}

.results {
  margin-top: 58px;
  padding-bottom: 40px;
}
.results-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 25px;
}
.results-heading h2 {
  margin: 8px 0 5px;
  font-size: clamp(36px, 4vw, 43px);
}
.results-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.secondary-btn {
  min-height: 43px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #ddcbb2;
  background: var(--paper);
  color: #715b43;
  cursor: pointer;
  font:
    700 12px "DM Sans",
    Arial,
    sans-serif;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}
.secondary-btn:hover {
  border-color: #c9a77d;
  background: #fbf6ef;
}
.lock-icon {
  font-size: 17px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.stat-card {
  min-height: 139px;
  padding: 22px 24px;
  border: 1px solid #ece2d6;
  background: var(--paper);
}
.stat-card__label {
  display: block;
  color: #927f6b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.3px;
}
.stat-card strong {
  display: block;
  margin: 10px 0 4px;
  color: var(--ink);
  font:
    600 35px "Playfair Display",
    Georgia,
    serif;
  line-height: 1.15;
}
.stat-card small {
  color: #968675;
  font-size: 12px;
}
.stat-card--total {
  border-color: var(--dark);
  background: var(--dark);
}
.stat-card--total .stat-card__label,
.stat-card--total small {
  color: #c7b49c;
}
.stat-card--total strong {
  color: #e5bd82;
}

.records-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 42px 0 17px;
}
.records-toolbar h3 {
  margin: 6px 0 0;
  font:
    500 28px "Playfair Display",
    Georgia,
    serif;
}
.search-box {
  width: min(360px, 100%);
  min-height: 46px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e2d6c7;
  background: #fff;
}
.search-box > span {
  color: #a77b4b;
  font-size: 23px;
  line-height: 1;
}
.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  font:
    13px "DM Sans",
    Arial,
    sans-serif;
}
.search-box:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(189, 135, 72, 0.09);
}

.record-list {
  display: grid;
  gap: 14px;
}
.record-card {
  padding: 24px 26px;
  border: 1px solid #e9dfd2;
  background: var(--paper);
  box-shadow: 0 5px 18px rgba(66, 48, 29, 0.025);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.record-card:hover {
  border-color: #d8c4aa;
  box-shadow: 0 9px 25px rgba(66, 48, 29, 0.055);
}
.record-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.record-code {
  color: #80572f;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.35px;
  overflow-wrap: anywhere;
}
.record-meta {
  margin-top: 7px;
  color: #8f806f;
  font-size: 13px;
  line-height: 1.5;
}
.status-pill {
  flex: 0 0 auto;
  padding: 8px 11px;
  background: var(--success-bg);
  color: var(--success);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-align: center;
}
.record-data {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
  padding-top: 19px;
  border-top: 1px solid #eee5da;
}
.record-data span {
  display: block;
  margin-bottom: 8px;
  color: #9a8977;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.8px;
}
.record-data strong {
  display: block;
  color: #4e4033;
  font-size: 16px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.record-data .amount strong {
  color: #a46d34;
  font:
    600 21px "Playfair Display",
    Georgia,
    serif;
}
.empty-state {
  padding: 35px 20px;
  border: 1px dashed #d9c7ae;
  background: var(--paper);
  color: #998a79;
  text-align: center;
}
.empty-state > span {
  display: block;
  margin-bottom: 8px;
  color: #b17d43;
  font-size: 27px;
}
.empty-state strong {
  display: block;
  color: var(--ink-soft);
  font-size: 16px;
}
.empty-state p {
  margin: 7px 0 0;
  font-size: 13px;
}
.results-footnote {
  margin-top: 20px;
  color: #938473;
  font-size: 11px;
  line-height: 1.6;
}
.results-footnote span {
  margin-right: 5px;
  color: #b17d43;
}
.footer {
  width: min(1120px, calc(100% - 48px));
  margin: 25px auto 0;
  padding: 23px 0 31px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  border-top: 1px solid rgba(115, 87, 58, 0.14);
}
.footer span {
  color: #977044;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
}
.footer small {
  color: #a29382;
  font-size: 11px;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid rgba(189, 135, 72, 0.42);
  outline-offset: 3px;
}

@media (max-width: 820px) {
  .workspace {
    grid-template-columns: 1fr;
  }
  .panel {
    min-height: auto;
  }
  .side-note {
    min-height: 350px;
  }
  .side-note p {
    max-width: 480px;
  }
}

@media (max-width: 640px) {
  .topbar {
    min-height: 72px;
    padding: 0 18px;
  }
  .brand__mark {
    width: 36px;
    height: 36px;
  }
  .brand__copy strong {
    font-size: 11px;
  }
  .brand__copy small {
    font-size: 8px;
  }
  .back-link {
    font-size: 11px;
  }
  .shell {
    width: calc(100% - 32px);
  }
  .intro {
    padding: 48px 0 29px;
  }
  .intro h1 {
    font-size: clamp(43px, 11vw, 57px);
  }
  .intro__copy {
    font-size: 14px;
  }
  .trust-row {
    gap: 9px;
    font-size: 11px;
  }
  .trust-row i {
    width: 12px;
  }
  .panel {
    padding: 27px 22px;
  }
  .panel__top {
    margin-bottom: 30px;
  }
  .panel h2 {
    font-size: 39px;
  }
  .side-note {
    padding: 30px 26px;
  }
  .results {
    margin-top: 43px;
  }
  .results-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .results-heading h2 {
    font-size: 37px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .stat-card {
    min-height: 120px;
    padding: 19px 21px;
  }
  .stat-card strong {
    font-size: 33px;
  }
  .records-toolbar {
    align-items: stretch;
    flex-direction: column;
    margin-top: 34px;
  }
  .search-box {
    width: 100%;
  }
  .record-card {
    padding: 19px 18px;
  }
  .record-code {
    font-size: 14px;
  }
  .record-meta {
    font-size: 12px;
  }
  .record-data {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }
  .record-data .amount {
    grid-column: 1 / -1;
  }
  .record-data strong {
    font-size: 16px;
  }
  .record-data .amount strong {
    font-size: 22px;
  }
  .footer {
    width: calc(100% - 32px);
  }
}

@media (max-width: 380px) {
  .back-link {
    font-size: 10px;
  }
  .brand {
    gap: 8px;
  }
  .brand__copy small {
    letter-spacing: 0.8px;
  }
  .panel {
    padding: 23px 18px;
  }
  .secure-label {
    font-size: 8px;
  }
  .record-top {
    gap: 10px;
  }
  .status-pill {
    padding: 7px 8px;
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
   RETRIEVE PAGE — TYPOGRAPHY ENHANCEMENT
   Version 1.2.0 | Larger, clearer text throughout
   ========================================================= */

/* Global reading comfort */
body {
  font-size: 16px;
}

/* Header */
.brand__copy strong {
  font-size: 15px;
}

.brand__copy small {
  font-size: 10px;
}

.back-link {
  font-size: 14px;
}

/* Intro section */
.eyebrow,
.step-kicker {
  font-size: 12px;
}

.intro__year {
  font-size: 12px;
}

.intro__copy {
  font-size: 17px;
  line-height: 1.8;
}

.trust-row,
.trust-row b {
  font-size: 14px;
}

/* Verification panel */
.secure-label {
  font-size: 11px;
}

.panel-copy {
  font-size: 16px;
  line-height: 1.8;
}

.panel label:not(.search-box) {
  font-size: 14px;
  margin-bottom: 11px;
}

.input-shell {
  min-height: 60px;
}

.input-shell input {
  font-size: 16px;
}

.primary-btn {
  min-height: 60px;
  font-size: 15px;
}

.form-note {
  font-size: 13px;
  line-height: 1.6;
}

.feedback {
  font-size: 14px;
  line-height: 1.6;
}

/* OTP */
.otp-inputs input {
  height: 68px;
  font-size: 29px;
}

.text-btn {
  font-size: 14px;
}

/* Side information panel */
.side-note__kicker {
  font-size: 11px;
}

.side-note h3 {
  font-size: 39px;
}

.side-note p {
  font-size: 15px;
  line-height: 1.85;
}

.side-note__bottom {
  font-size: 10px;
}

.side-note__bottom span:first-child {
  font-size: 25px;
}

/* Results heading */
.results-heading h2 {
  font-size: clamp(39px, 4vw, 47px);
}

.results-heading p {
  font-size: 15px;
}

.secondary-btn {
  min-height: 48px;
  font-size: 14px;
}

/* Summary statistic cards */
.stat-card {
  min-height: 150px;
  padding: 25px 26px;
}

.stat-card__label {
  font-size: 12px;
}

.stat-card strong {
  font-size: 40px;
}

.stat-card small {
  font-size: 14px;
  line-height: 1.5;
}

/* Submission toolbar and search */
.records-toolbar h3 {
  font-size: 31px;
}

.records-toolbar .step-kicker {
  font-size: 12px;
}

.search-box {
  min-height: 52px;
}

.search-box input {
  font-size: 15px;
}

/* Submission cards */
.record-card {
  padding: 27px 29px;
}

.record-code {
  font-size: 18px;
  line-height: 1.4;
}

.record-meta {
  font-size: 15px;
  line-height: 1.6;
}

.status-pill {
  padding: 10px 13px;
  font-size: 12px;
}

/* Set counts and amount */
.record-data {
  gap: 18px;
  margin-top: 25px;
  padding-top: 22px;
}

.record-data span {
  margin-bottom: 9px;
  font-size: 12px;
}

.record-data strong {
  font-size: 19px;
}

.record-data .amount strong {
  font-size: 25px;
}

/* Empty state and results note */
.empty-state {
  padding: 42px 22px;
}

.empty-state strong {
  font-size: 18px;
}

.empty-state p {
  font-size: 15px;
  line-height: 1.6;
}

.results-footnote {
  font-size: 13px;
  line-height: 1.7;
}

/* Footer */
.footer span {
  font-size: 12px;
}

.footer small {
  font-size: 13px;
}

/* Tablet adjustments */
@media (max-width: 820px) {
  .side-note p {
    font-size: 15px;
  }

  .record-data span {
    font-size: 12px;
  }

  .record-data strong {
    font-size: 18px;
  }
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .brand__copy strong {
    font-size: 12px;
  }

  .brand__copy small {
    font-size: 9px;
  }

  .back-link {
    font-size: 12px;
  }

  .eyebrow,
  .step-kicker {
    font-size: 11px;
  }

  .intro__year {
    font-size: 11px;
  }

  .intro__copy {
    font-size: 15px;
  }

  .trust-row,
  .trust-row b {
    font-size: 12px;
  }

  .secure-label {
    font-size: 9px;
  }

  .panel-copy {
    font-size: 15px;
  }

  .panel label:not(.search-box) {
    font-size: 14px;
  }

  .input-shell {
    min-height: 58px;
  }

  .input-shell input {
    font-size: 16px;
  }

  .primary-btn {
    min-height: 58px;
    font-size: 14px;
  }

  .form-note {
    font-size: 12px;
  }

  .feedback {
    font-size: 13px;
  }

  .otp-inputs input {
    height: 64px;
    font-size: 27px;
  }

  .text-btn {
    font-size: 13px;
  }

  .side-note__kicker {
    font-size: 10px;
  }

  .side-note h3 {
    font-size: 36px;
  }

  .side-note p {
    font-size: 14px;
  }

  .side-note__bottom {
    font-size: 9px;
  }

  .results-heading h2 {
    font-size: 38px;
  }

  .results-heading p {
    font-size: 14px;
  }

  .secondary-btn {
    min-height: 46px;
    font-size: 13px;
  }

  .stat-card {
    min-height: 130px;
    padding: 21px 22px;
  }

  .stat-card__label {
    font-size: 11px;
  }

  .stat-card strong {
    font-size: 37px;
  }

  .stat-card small {
    font-size: 13px;
  }

  .records-toolbar h3 {
    font-size: 28px;
  }

  .records-toolbar .step-kicker {
    font-size: 11px;
  }

  .search-box {
    min-height: 50px;
  }

  .search-box input {
    font-size: 14px;
  }

  .record-card {
    padding: 21px 19px;
  }

  .record-code {
    font-size: 16px;
  }

  .record-meta {
    font-size: 13px;
  }

  .status-pill {
    padding: 8px 9px;
    font-size: 10px;
  }

  .record-data {
    gap: 17px 13px;
  }

  .record-data span {
    font-size: 11px;
  }

  .record-data strong {
    font-size: 18px;
  }

  .record-data .amount strong {
    font-size: 24px;
  }

  .empty-state strong {
    font-size: 17px;
  }

  .empty-state p {
    font-size: 14px;
  }

  .results-footnote {
    font-size: 12px;
  }

  .footer span {
    font-size: 11px;
  }

  .footer small {
    font-size: 12px;
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .secure-label {
    font-size: 8px;
  }

  .record-code {
    font-size: 15px;
  }

  .record-data span {
    font-size: 10px;
  }

  .record-data strong {
    font-size: 17px;
  }

  .record-data .amount strong {
    font-size: 22px;
  }
}

/* =========================================================
   ADDITIONAL SUBMISSION PANEL
========================================================= */
.additional-entry-panel {
  margin-top: 22px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid #dfc9a9;
  background: linear-gradient(135deg, #fffdf9 0%, #fbf5eb 100%);
  box-shadow: 0 10px 30px rgba(66, 48, 29, 0.045);
}
.additional-entry-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.additional-entry-heading h3 {
  margin: 7px 0 7px;
  color: var(--ink);
  font:
    500 clamp(25px, 3vw, 32px) "Playfair Display",
    Georgia,
    serif;
}
.additional-entry-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.additional-entry-mark {
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: var(--dark);
  color: var(--gold-light);
  font-size: 26px;
}
.additional-employee {
  display: grid;
  gap: 5px;
  margin: 21px 0;
  padding: 16px 18px;
  border-left: 3px solid var(--gold);
  background: #f5eee3;
}
.additional-employee strong {
  color: #4b3827;
  font-size: 16px;
}
.additional-employee span {
  color: #7e6e5c;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.additional-set-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.additional-set-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 17px;
  border: 1px solid #e7dac8;
  background: #fff;
}
.additional-set-card > span {
  color: #a16d37;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
}
.additional-set-card > strong {
  min-height: 36px;
  color: #5a4938;
  font-size: 13px;
}
.additional-set-card input {
  width: 100%;
  min-height: 46px;
  padding: 7px 12px;
  border: 1px solid #d9c9b5;
  background: #fffdf9;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
}
.additional-set-card input:focus {
  outline: 0;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(189, 135, 72, 0.12);
}
.additional-set-card input:disabled {
  background: #f1eee9;
  color: #a49a8e;
  cursor: not-allowed;
}
.additional-set-card small {
  color: #958574;
  font-size: 11px;
  line-height: 1.45;
}
.additional-entry-declaration {
  margin-top: 18px;
  padding: 14px 16px;
  background: #f6f1e9;
}
.additional-entry-declaration label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #665746;
  font-size: 13px;
  line-height: 1.65;
  cursor: pointer;
}
.additional-entry-declaration input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: #a66f37;
}
.additional-entry-total {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 17px;
  padding: 17px 19px;
  background: var(--dark);
}
.additional-entry-total div {
  display: grid;
  gap: 5px;
}
.additional-entry-total span {
  color: #c8b69f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
}
.additional-entry-total strong {
  color: #e5bd82;
  font:
    600 25px "Playfair Display",
    Georgia,
    serif;
}
.additional-entry-actions {
  margin-top: 13px;
}
#additionalEntryFeedback {
  min-height: 18px;
  margin: 0 0 7px;
  color: var(--danger);
  font-size: 13px;
  line-height: 1.5;
}
#additionalEntryFeedback.success {
  color: var(--success);
}
.additional-entry-actions .primary-btn {
  margin-top: 0;
}
@media (max-width: 640px) {
  .additional-entry-panel {
    padding: 21px 17px;
  }
  .additional-set-grid {
    grid-template-columns: 1fr;
  }
  .additional-set-card > strong {
    min-height: 0;
  }
  .additional-entry-total {
    flex-direction: column;
  }
}

/* =========================================================
   PREMIUM CENTERED DIALOGS — ADDITIONAL SUBMISSIONS
   No browser-native confirm(), alert(), or external modal dependency.
   ========================================================= */

.pm-dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(31, 24, 19, 0.66);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 220ms ease,
    visibility 220ms ease;
}

.pm-dialog-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.pm-dialog {
  position: relative;
  width: min(100%, 530px);
  max-height: min(88vh, 760px);
  overflow-y: auto;
  padding: 38px 42px 34px;
  border: 1px solid rgba(207, 174, 132, 0.62);
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(224, 194, 153, 0.17),
      transparent 34%
    ),
    #fffdf9;
  box-shadow: 0 28px 90px rgba(15, 10, 7, 0.32);
  transform: translateY(18px) scale(0.975);
  transition: transform 260ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.pm-dialog-overlay.is-visible .pm-dialog {
  transform: translateY(0) scale(1);
}

.pm-dialog::before {
  content: "";
  position: absolute;
  top: 0;
  left: 42px;
  right: 42px;
  height: 3px;
  background: linear-gradient(90deg, #e8c994, #a86d35, #e8c994);
}

.pm-dialog__header {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 23px;
}

.pm-dialog__emblem {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid #e8d7bd;
  border-radius: 50%;
  background: #f7efe3;
  color: #a66f37;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
}

.pm-dialog--success .pm-dialog__emblem {
  border-color: #d5e3d4;
  background: #edf4ed;
  color: #527b56;
}

.pm-dialog--error .pm-dialog__emblem {
  border-color: #ecd5d0;
  background: #fbefed;
  color: #a94e43;
}

.pm-dialog__kicker {
  color: #a16d37;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

.pm-dialog__close {
  width: 34px;
  height: 34px;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #8e7d6b;
  cursor: pointer;
  font-size: 27px;
  line-height: 1;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.pm-dialog__close:hover {
  background: #f4ede3;
  color: #392b20;
}

.pm-dialog__title {
  margin: 0;
  color: #30241c;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(29px, 4vw, 37px);
  font-weight: 500;
  letter-spacing: -0.7px;
  line-height: 1.16;
}

.pm-dialog__description {
  margin: 13px 0 24px;
  color: #827463;
  font-size: 14px;
  line-height: 1.8;
}

.pm-dialog__details {
  margin: 0 0 26px;
  padding: 5px 18px;
  border: 1px solid #ece1d3;
  background: #faf6ef;
}

.pm-dialog__detail-row {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid #e9dfd2;
}

.pm-dialog__detail-row:last-child {
  border-bottom: 0;
}

.pm-dialog__detail-row span {
  color: #8a7a68;
  font-size: 12px;
  line-height: 1.5;
}

.pm-dialog__detail-row strong {
  color: #4c3a2a;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}

.pm-dialog__detail-row.is-emphasis {
  margin: 0 -18px;
  padding: 15px 18px;
  background: #30241c;
}

.pm-dialog__detail-row.is-emphasis span {
  color: #d4c0a6;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.pm-dialog__detail-row.is-emphasis strong {
  color: #e7c18a;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
}

.pm-dialog__actions {
  display: flex;
  flex-direction: row-reverse;
  gap: 11px;
}

.pm-dialog__button {
  min-height: 51px;
  padding: 0 21px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  transition:
    transform 160ms ease,
    filter 160ms ease,
    background 160ms ease;
}

.pm-dialog__button:hover {
  transform: translateY(-1px);
}

.pm-dialog__button--primary {
  flex: 1 1 auto;
  background: linear-gradient(110deg, #e5c28f, #bd8748);
  color: #302319;
  box-shadow: 0 8px 20px rgba(165, 112, 51, 0.16);
}

.pm-dialog__button--primary:hover {
  filter: brightness(1.045);
}

.pm-dialog__button--secondary {
  flex: 0 0 auto;
  border-color: #dfd0bd;
  background: #fffdf9;
  color: #705a43;
}

.pm-dialog__button--secondary:hover {
  background: #f8f1e7;
}

.pm-dialog__button:focus-visible,
.pm-dialog__close:focus-visible {
  outline: 3px solid rgba(189, 135, 72, 0.42);
  outline-offset: 3px;
}

@media (max-width: 560px) {
  .pm-dialog-overlay {
    padding: 15px;
  }

  .pm-dialog {
    padding: 31px 23px 24px;
  }

  .pm-dialog::before {
    left: 23px;
    right: 23px;
  }

  .pm-dialog__header {
    margin-bottom: 19px;
  }

  .pm-dialog__title {
    font-size: 30px;
  }

  .pm-dialog__description {
    font-size: 13px;
  }

  .pm-dialog__details {
    padding-right: 13px;
    padding-left: 13px;
  }

  .pm-dialog__detail-row.is-emphasis {
    margin-right: -13px;
    margin-left: -13px;
    padding-right: 13px;
    padding-left: 13px;
  }

  .pm-dialog__actions {
    flex-direction: column-reverse;
  }

  .pm-dialog__button {
    width: 100%;
    min-height: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pm-dialog-overlay,
  .pm-dialog,
  .pm-dialog__button,
  .pm-dialog__close {
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   PREMIUM SUBMISSION PROGRESS DIALOG
   ========================================================= */
.pm-dialog--loading {
  width: min(100%, 490px);
  padding-bottom: 39px;
}

.pm-dialog--loading .pm-dialog__header {
  margin-bottom: 25px;
}

.pm-dialog__emblem--loading {
  animation: pm-progress-emblem 2.4s ease-in-out infinite;
}

.pm-dialog__progress {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 62px;
  margin-top: 26px;
  padding: 15px 18px;
  border: 1px solid #eadcc9;
  background: #faf5ed;
  color: #745c43;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15px;
}

.pm-dialog__spinner {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  border: 2px solid #e8d7bd;
  border-top-color: #a66f37;
  border-right-color: #bd8748;
  border-radius: 50%;
  animation: pm-progress-spin 0.8s linear infinite;
}

@keyframes pm-progress-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pm-progress-emblem {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pm-dialog__spinner,
  .pm-dialog__emblem--loading {
    animation-duration: 2.5s !important;
  }
}

/* =========================================================
   SUBMISSION DATE AND TIME
   ========================================================= */
.record-date {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
  color: #9a7954;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15px;
  line-height: 1.5;
}

.record-date::before {
  content: "◷";
  color: #b77b3d;
  font-size: 16px;
  line-height: 1;
}

@media (max-width: 640px) {
  .record-date {
    font-size: 12px;
  }
}

/* =========================================================
   OTP RESEND COOLDOWN — ELEGANT LIVE COUNTDOWN
   ========================================================= */
.pm-otp-cooldown {
  --pm-cooldown-progress: 1;
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  margin-top: 13px;
  padding: 13px 15px;
  overflow: hidden;
  border: 1px solid rgba(183, 123, 61, 0.24);
  border-radius: 13px;
  background: linear-gradient(115deg, #fffaf2 0%, #f7eee1 100%);
  box-shadow: 0 7px 20px rgba(69, 46, 25, 0.055);
  color: #66513a;
  animation: pmCooldownEnter 260ms ease both;
}

.pm-otp-cooldown::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: var(--pm-cooldown-width, 0%);
  height: 2px;
  background: linear-gradient(90deg, #b77b3d, #e5c28d);
  transition: width 220ms linear;
}

.pm-otp-cooldown__clock {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(183, 123, 61, 0.25);
  border-radius: 50%;
  background: #fffdf9;
  color: #a56d34;
  font-size: 21px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(69, 46, 25, 0.06);
  animation: pmCooldownRotate 3s linear infinite;
}

.pm-otp-cooldown__copy {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 5px 12px;
  min-width: 0;
}

.pm-otp-cooldown__label {
  color: #78664f;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.pm-otp-cooldown__time {
  color: #87582d;
  font-size: 17px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 1.3px;
  white-space: nowrap;
}

.pm-otp-cooldown.is-ready {
  border-color: rgba(82, 123, 86, 0.24);
  background: linear-gradient(115deg, #f5faf3 0%, #edf5eb 100%);
}

.pm-otp-cooldown.is-ready .pm-otp-cooldown__clock {
  border-color: rgba(82, 123, 86, 0.22);
  color: #527b56;
  animation: none;
}

.pm-otp-cooldown.is-ready .pm-otp-cooldown__time {
  color: #527b56;
  font-size: 12px;
  letter-spacing: 0.8px;
}

#resendOtpButton.is-cooling-down {
  opacity: 0.58;
  cursor: not-allowed;
  text-decoration: none;
}

#resendOtpButton:disabled {
  cursor: not-allowed;
}

@keyframes pmCooldownEnter {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pmCooldownRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 520px) {
  .pm-otp-cooldown {
    gap: 10px;
    padding: 11px 12px;
  }

  .pm-otp-cooldown__clock {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
    font-size: 19px;
  }

  .pm-otp-cooldown__label {
    font-size: 11px;
  }

  .pm-otp-cooldown__time {
    font-size: 16px;
  }
}

/* POT MONEY 2026 — employee cancellation request controls */
.record-cancellation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  padding-top: 17px;
  border-top: 1px solid rgba(157, 119, 75, 0.18);
}
.cancellation-request-button {
  appearance: none;
  border: 1px solid #c99a5a;
  border-radius: 3px;
  padding: 11px 17px;
  background: #fffaf2;
  color: #8a5b2d;
  font:
    700 11px/1.3 "DM Sans",
    sans-serif;
  letter-spacing: 0.045em;
  cursor: pointer;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}
.cancellation-request-button:hover {
  background: #34251b;
  color: #f7e8d1;
  transform: translateY(-1px);
}
.cancellation-request-button:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}
.cancellation-request-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border-radius: 3px;
  font:
    700 10px/1.4 "DM Sans",
    sans-serif;
  letter-spacing: 0.035em;
}
.cancellation-request-note.is-pending {
  background: #fbf1df;
  color: #93672f;
}
.cancellation-request-note.is-approved {
  background: #eaf2e9;
  color: #4f7e54;
}
.cancellation-request-note.is-rejected {
  background: #f8ece9;
  color: #a45d51;
}
.pm-cancellation-dialog {
  width: min(520px, calc(100vw - 32px));
}
.pm-cancellation-label {
  display: block;
  margin: 22px 0 8px;
  color: #765638;
  font:
    700 10px/1.4 "DM Sans",
    sans-serif;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.pm-cancellation-reason {
  display: block;
  width: 100%;
  min-height: 125px;
  box-sizing: border-box;
  resize: vertical;
  border: 1px solid #dfd0bd;
  border-radius: 3px;
  padding: 13px 14px;
  background: #fffdf9;
  color: #30251d;
  font:
    500 13px/1.6 "DM Sans",
    sans-serif;
  outline: none;
}
.pm-cancellation-reason:focus {
  border-color: #b47a3d;
  box-shadow: 0 0 0 3px rgba(180, 122, 61, 0.12);
}
.pm-cancellation-counter {
  margin-top: 6px;
  text-align: right;
  color: #9c8b79;
  font:
    500 10px/1.4 "DM Sans",
    sans-serif;
}
.pm-cancellation-error {
  min-height: 18px;
  margin: 7px 0 0;
  color: #a34f43;
  font:
    600 11px/1.5 "DM Sans",
    sans-serif;
}
@media (max-width: 640px) {
  .record-cancellation {
    justify-content: stretch;
  }
  .cancellation-request-button,
  .cancellation-request-note {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .pm-cancellation-dialog .pm-dialog__actions {
    flex-direction: column-reverse;
  }
  .pm-cancellation-dialog .pm-dialog__button {
    width: 100%;
  }
}

/* =========================================================
   POT MONEY 2026 — DISTINCT SUBMISSION STATUS COLORS
========================================================= */

/* Confirmed submission */
.status-pill.status-confirmed {
  background: #e8f2ed;
  color: #367653;
  border: 1px solid #cce2d5;
}

/* Cancelled submission */
.status-pill.status-cancelled {
  background: #faeaea;
  color: #a94e50;
  border: 1px solid #edcccc;
}

/* Pending cancellation */
.status-pill.status-pending {
  background: #fff3dc;
  color: #996b20;
  border: 1px solid #ecd9ae;
}

/* Cancellation decision labels */
.cancellation-request-note.is-pending {
  background: #fff3dc;
  color: #996b20;
  border: 1px solid #ecd9ae;
}

.cancellation-request-note.is-approved {
  background: #e9eff9;
  color: #456a9c;
  border: 1px solid #d0dced;
}

.cancellation-request-note.is-rejected {
  background: #faeaea;
  color: #a94e50;
  border: 1px solid #edcccc;
}

/* =========================================================
   POT MONEY 2026 — EXPANDED DESKTOP WORKSPACE
   Fixes unused right-side space after email verification.
   ========================================================= */

/* Give the page more room on desktop */
@media (min-width: 821px) {
  .shell {
    width: min(1380px, calc(100% - 64px));
  }

  .footer {
    width: min(1380px, calc(100% - 64px));
  }
}

/* Expand the workspace when the verification panel is hidden */
.workspace.workspace--expanded {
  grid-template-columns: minmax(0, 1fr);
}

.workspace.workspace--expanded .side-note {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 360px;
  padding: clamp(35px, 4vw, 55px);
}

.workspace.workspace--expanded .side-note h3 {
  font-size: clamp(38px, 4vw, 48px);
}

.workspace.workspace--expanded .side-note p {
  max-width: 650px;
  font-size: 15px;
  line-height: 1.9;
}

/* Preserve the original mobile layout */
@media (max-width: 820px) {
  .shell {
    width: calc(100% - 32px);
  }

  .workspace.workspace--expanded .side-note {
    min-height: 320px;
  }
}

.lock-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-family: "Segoe UI Emoji", sans-serif;
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}

/* Compact navigation link to the separate live summary page. */
.retrieve-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.summary-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid rgba(183, 119, 54, 0.3);
  border-radius: 3px;
  color: #a96d32;
  background: rgba(255, 250, 242, 0.72);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.35px;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}
.summary-link:hover {
  background: #fff8ed;
  border-color: rgba(183, 119, 54, 0.55);
  transform: translateY(-1px);
}
@media (max-width: 640px) {
  .retrieve-nav {
    gap: 8px;
  }
  .summary-link {
    padding: 8px 9px;
    font-size: 10px;
  }
  .back-link {
    font-size: 11px;
  }
}
