  /* Layout: full-width bands (header, hero, footer) with a centered content column; dashboard is accounts row, then transfer form beside transactions. */
  :root {
    --bg: #f3f8f4;
    --surface: #ffffff;
    --fg: #14202e;
    --muted: #5a697b;
    --line: #dbe2ea;
    --brand: #123d2b;
    --brand-fg: #ffffff;
    --brand-soft: #c9d9ea;
    --hero-from: #123d2b;
    --hero-to: #28764d;
    --accent: #23834f;
    --accent-hover: #17683d;
    --accent-fg: #ffffff;
    --accent-mark: #b7e3c4;
    --danger: #b3261e;
    --success: #1b7a4b;
    --focus: #70bd8c;
    --shadow: 0 1px 3px rgba(11, 37, 69, 0.08), 0 6px 18px rgba(11, 37, 69, 0.06);
    --font-display: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  }

  * { box-sizing: border-box; }
  [hidden] { display: none !important; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font: 16px/1.55 var(--font-body);
  }
  body::before {
    content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
    z-index: 10; background: var(--brand);
  }
  h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; }
  p { margin: 0; }
  .container {
    max-width: 1100px; margin-inline: auto;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }

  /* Header */
  .site-header { background: var(--brand); color: var(--brand-fg); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9; }
  .header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 14px; }
  .logo { color: var(--brand-fg); text-decoration: none; font: 700 1.25rem var(--font-display); letter-spacing: 0.01em; }
  .logo span { color: var(--accent-mark); }
  nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
  nav a { color: var(--brand-soft); text-decoration: none; font-size: 0.95rem; }
  nav a:hover { color: var(--brand-fg); }

  /* Buttons */
  .btn {
    font: 600 1rem var(--font-body);
    border: 2px solid transparent; border-radius: 8px; padding: 9px 18px;
    cursor: pointer; transition: background 0.15s, opacity 0.15s;
  }
  .btn-primary { background: var(--accent); color: var(--accent-fg); }
  .btn-primary:hover { background: var(--accent-hover); }
  .btn-outline { background: transparent; color: inherit; border-color: currentColor; }
  .btn-outline:hover { opacity: 0.8; }
  .btn-lg { padding: 14px 28px; font-size: 1.1rem; }
  .btn:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

  /* Hero */
  .hero { background: linear-gradient(135deg, var(--hero-from), var(--hero-to)); color: #fff; padding-block: 80px; }
  .hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.12; margin-bottom: 16px; }
  .hero p { font-size: 1.15rem; margin-bottom: 28px; color: #cfe0f2; max-width: 46ch; }
  .hero .btn-primary { background: #fff; color: #0b2545; }
  .hero .btn-primary:hover { background: #dcecf7; }

  /* Sections & cards */
  .section { padding-block: 44px; }
  .section h2 { margin-bottom: 20px; font-size: 1.6rem; }
  .grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 20px; margin-bottom: 24px; }
  .grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 20px; }
  .grid-2 > *, .grid-3 > * { min-width: 0; }
  .card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 22px; }
  .card h3 { margin-bottom: 10px; font-size: 1.1rem; }
  .card p { color: var(--muted); }

  .account .type { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
  .account .number { color: var(--muted); font-size: 0.9rem; font-variant-numeric: tabular-nums; }
  .account .balance { font: 700 1.9rem var(--font-display); margin-top: 8px; font-variant-numeric: tabular-nums; }

  /* Forms */
  label { display: block; margin: 12px 0 4px; font-weight: 600; font-size: 0.9rem; }
  input, select, textarea {
    width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px;
    font: 1rem var(--font-body); background: var(--bg); color: var(--fg);
  }
  form .btn { margin-top: 16px; }
  .form-msg { min-height: 1.4em; margin-top: 10px; font-size: 0.9rem; }
  .form-msg.error { color: var(--danger); }
  .form-msg.success { color: var(--success); }
  .hint { color: var(--muted); font-size: 0.85rem; }
  code { background: var(--bg); border: 1px solid var(--line); padding: 1px 6px; border-radius: 4px; font-size: 0.85em; }

  /* Profile details */
  .details { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 14px 20px; margin: 0; }
  .details > div { min-width: 0; }
  .details dt { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
  .details dd { margin: 2px 0 0; overflow-wrap: anywhere; }
  .link-btn { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; text-decoration: underline; cursor: pointer; }
  .link-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
  dialog { max-height: calc(100dvh - 32px); overflow-y: auto; }

  /* Table */
  .table-wrap { overflow-x: auto; }
  .tx-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
  .tx-table th, .tx-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; }
  .tx-table th { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
  .tx-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .credit { color: var(--success); }
  .debit { color: var(--danger); }

  /* Dialog */
  dialog {
    border: 1px solid var(--line); border-radius: 12px; padding: 28px;
    width: min(400px, calc(100% - 32px)); margin: auto;
    background: var(--surface); color: var(--fg); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  }
  dialog::backdrop { background: rgba(7, 16, 26, 0.65); }
  dialog h3 { margin-bottom: 8px; }
  .dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 10px; }

  /* Footer */
  .site-footer { margin-top: 40px; padding-block: 24px; background: var(--brand); color: var(--brand-soft); font-size: 0.9rem; text-align: center; }

  @media (max-width: 560px) {
    nav { gap: 10px; }
    .hero { padding-block: 56px; }
  }
  @media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

  .profile-card { margin-bottom: 20px; }

  .about-text { max-width: 65ch; color: var(--muted); }

  /* PIN, OTP and confirmation dialogs */
  .btn-sm { padding: 6px 12px; font-size: 0.9rem; }
  .profile-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
  .tx-summary { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; margin: 12px 0; overflow-wrap: anywhere; }
  .code-input { font: 600 1.4rem var(--font-display); letter-spacing: 0.35em; text-align: center; font-variant-numeric: tabular-nums; }
  .warn { color: var(--muted); font-size: 0.9rem; }
  .link-btn:disabled { color: var(--muted); text-decoration: none; cursor: default; }

/* ---- Application status, final confirmation pop-up, footer link ---- */
.status-card { margin-bottom: 20px; border-left: 4px solid var(--accent); }
.status-card p { margin-bottom: 12px; max-width: 70ch; }
.footer-link { color: var(--brand-soft); margin-left: 10px; }
#finalDialog { width: min(440px, calc(100% - 32px)); }
.final-amount { font: 700 2rem var(--font-display); margin: 12px 0 4px; font-variant-numeric: tabular-nums; }
.final-details { display: grid; gap: 10px; margin: 12px 0 0; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 14px; }
.final-details dt { color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.final-details dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.badge-ok { display: inline-block; margin-left: 4px; font-size: 0.75rem; font-weight: 600; color: var(--success); }

/* ---- Admin console ---- */
.login-card { max-width: 420px; margin-inline: auto; }
.login-card h2 { margin-bottom: 6px; }
.who { color: var(--brand-soft); font-size: 0.9rem; overflow-wrap: anywhere; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { opacity: 0.88; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.tab { background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 14px; font: 600 0.95rem var(--font-body); color: var(--muted); cursor: pointer; }
.tab:hover { color: var(--fg); }
.tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px; margin-bottom: 20px; }
.stat-title { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.stat-value { font: 700 1.6rem var(--font-display); margin-top: 6px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stat-sub { color: var(--muted); font-size: 0.85rem; margin-top: 2px; }
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar input { flex: 1 1 260px; }
.toolbar select { flex: 0 0 180px; width: auto; }
.users-table td, .tx-table td { vertical-align: top; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; text-transform: capitalize; border: 1px solid var(--line); background: var(--bg); color: var(--muted); }
.badge-active { color: var(--success); border-color: var(--success); }
.badge-pending { color: #9a6700; border-color: #c9962c; }
.badge-suspended, .badge-rejected { color: var(--danger); border-color: var(--danger); }
dialog.wide { width: min(760px, calc(100% - 32px)); }
.ud-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.ud-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ud-actions .btn, .ud-account .btn { margin-top: 0; }
#userDialog h4 { margin: 18px 0 8px; font: 600 0.95rem var(--font-display); }
.ud-account { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.ud-balance { font: 700 1.5rem var(--font-display); font-variant-numeric: tabular-nums; }
.switch { display: flex; align-items: center; gap: 10px; margin: 16px 0 6px; font-weight: 600; cursor: pointer; }
.switch input { width: 20px; height: 20px; flex: none; accent-color: var(--accent); }
.settings-card p { margin-bottom: 8px; max-width: 70ch; }
.cf-text { color: var(--muted); margin: 6px 0 14px; }
#confirmDialog { width: min(440px, calc(100% - 32px)); }

/* ---- Account hold, ID verification ---- */
textarea { resize: vertical; min-height: 84px; }
.status-hold { border-left-color: var(--danger); }
.hold-message { margin: 12px 0 4px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line); border-left: 4px solid var(--danger); border-radius: 8px; overflow-wrap: anywhere; white-space: pre-wrap; }
#holdDialog { width: min(460px, calc(100% - 32px)); }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.card-head .btn { margin-top: 0; }
.id-status { margin-bottom: 4px; }
.id-verified { color: var(--success) !important; font-weight: 600; }
.id-rejected { color: var(--danger) !important; }
input[type="file"] { padding: 8px; }
.copy-list { margin: 0 0 8px; display: grid; gap: 10px; }
.copy-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.copy-row > div { min-width: 0; }
.copy-row dt { color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.copy-row dd { margin: 2px 0 0; overflow-wrap: anywhere; user-select: text; white-space: pre-wrap; }
.copy-row .btn { margin-top: 0; flex: none; }
.badge-hold { color: #9a6700; border-color: #c9962c; }

/* ---- Admin: ID review, emailed codes ---- */
.ud-box { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.ud-id-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; }
.ud-id-row > div:first-child { min-width: 0; flex: 1 1 240px; }
.ud-id-row .ud-actions { margin-top: 10px; }
.ud-id-row a.btn { text-decoration: none; display: inline-block; }
.id-preview { max-width: 220px; max-height: 180px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.ud-account-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.otp-code { font: 700 1.05rem var(--font-display); letter-spacing: 0.12em; font-variant-numeric: tabular-nums; }
.badge-verified, .badge-used { color: var(--success); border-color: var(--success); }
.badge-expired, .badge-cancelled { color: var(--danger); border-color: var(--danger); }
#holdDialog textarea, #occDialog textarea { width: 100%; }

/* NovaTrust demo additions */
.brand-mark{width:34px;height:34px;vertical-align:middle;fill:none;stroke:#b7e3c4;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;margin-right:6px}.dashboard-tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--line);margin:20px 0}.dashboard-tabs .tab{border:1px solid var(--line);border-radius:8px 8px 0 0}.dashboard-tabs .tab.active{background:#e8f4eb}.notice-card{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:16px 0;border-left:4px solid var(--success)}.notice-card p{color:var(--muted)}.terms-check{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:14px}.terms-check input{width:auto}.hero{background:linear-gradient(120deg,#123d2b,#28764d)}

.profile-edit-form{border-top:1px solid var(--line);margin-top:16px;padding-top:14px;max-width:620px}.profile-edit-form h4{margin:0 0 8px;font:600 1rem var(--font-display)}


/* NovaTrust light-green and white visual system */
:root { color-scheme: light; --bg:#f4fbf5; --surface:#ffffff; --fg:#173b27; --muted:#607968; --line:#d7eadb; --brand:#e8f6e9; --brand-fg:#17472a; --brand-soft:#3e7650; --brand-soft:#3e7650; --hero-from:#eaf8ec; --hero-to:#ccebd1; --accent:#398b50; --accent-hover:#28733e; --accent-fg:#ffffff; --accent-mark:#398b50; --success:#287a43; --focus:#75bd83; --shadow:0 2px 8px rgba(36,91,50,.07),0 8px 24px rgba(36,91,50,.05); }
.site-header { background:#e8f6e9; color:#17472a; border-bottom:1px solid #d7eadb; }
.logo, nav a { color:#17472a; } nav a:hover { color:#28733e; }
.hero { background:linear-gradient(135deg,#f2fbf3,#d8f0dc); color:#17472a; } .hero p { color:#54745d; } .hero .btn-primary { background:#398b50; color:#fff; } .hero .btn-primary:hover { background:#28733e; }
.site-footer { background:#e8f6e9; color:#3e7650; border-top:1px solid #d7eadb; }
.profile-heading { display:flex; align-items:center; gap:18px; margin-bottom:18px; } .profile-avatar { width:88px; height:88px; border-radius:50%; flex:0 0 88px; overflow:hidden; display:grid; place-items:center; background:#dff2e2; color:#28733e; font-size:1.6rem; font-weight:700; border:3px solid #b9dfc0; } .profile-avatar img { width:100%; height:100%; object-fit:cover; } .photo-upload { display:flex; flex-wrap:wrap; align-items:center; gap:8px; } .photo-upload input { max-width:260px; background:#fff; } .photo-upload .form-msg { flex-basis:100%; margin:0; }
.deposit-details { display:grid; gap:12px; margin-top:18px; } .deposit-account { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; padding:16px; border:1px solid var(--line); border-radius:10px; background:#f7fcf7; } .deposit-account strong { display:block; font:600 1.15rem var(--font-display); letter-spacing:.06em; } .sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

.deposit-admin-details { display:grid; gap:10px; margin:12px 0 22px; } .deposit-detail-row { display:grid; grid-template-columns:minmax(120px,1fr) minmax(120px,2fr) auto; align-items:center; gap:10px; padding:12px; background:#f7fcf7; border:1px solid var(--line); border-radius:8px; } .deposit-detail-row strong { overflow-wrap:anywhere; }


/* Welcome photography and card-request experience */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-photo-strip { position:absolute; inset:0; z-index:-1; display:flex; }
.hero-photo { position:absolute; inset:0; background-size:cover; background-position:center; opacity:0; animation:bankingSlides 18s infinite; }
.hero-photo-one { background-image:linear-gradient(90deg,rgba(5,35,29,.82),rgba(5,35,29,.28)),url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80'); animation-delay:0s; }
.hero-photo-two { background-image:linear-gradient(90deg,rgba(5,35,29,.82),rgba(5,35,29,.28)),url('https://images.unsplash.com/photo-1444653614773-995cb1ef9efa?auto=format&fit=crop&w=1800&q=80'); animation-delay:6s; }
.hero-photo-three { background-image:linear-gradient(90deg,rgba(5,35,29,.82),rgba(5,35,29,.28)),url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?auto=format&fit=crop&w=1800&q=80'); animation-delay:12s; }
.hero-content { position:relative; z-index:1; }
@keyframes bankingSlides { 0%,29%,100% {opacity:0; transform:scale(1.02)} 5%,24% {opacity:1; transform:scale(1.08)} }
.card-services { margin: 0 0 1.25rem; }
.card-request-form { display:flex; align-items:end; gap:1rem; flex-wrap:wrap; }
.card-request-form label { min-width:100%; }
.card-request-form select { min-width:220px; }
.card-request-row { display:flex; gap:.75rem; align-items:center; flex-wrap:wrap; border-top:1px solid var(--line,#dce7e2); padding:.8rem 0; }
.card-request-row small { color:var(--muted,#64748b); }
.request-status { text-transform:capitalize; font-weight:600; }
.status-pending { color:#9a6700; } .status-approved { color:#16804a; } .status-rejected { color:#b42318; }
@media (prefers-reduced-motion: reduce) { .hero-photo { animation:none; opacity:0; } .hero-photo-one { opacity:1; } }

.hero h1, .hero p { color:#fff !important; text-shadow:0 2px 18px rgba(0,0,0,.25); }
.hero .btn-primary { background:#fff !important; color:#17472a !important; }
.hero-photo-strip { pointer-events:none; }

/* NovaTrust welcome experience: people, branch interiors, global money and services */
.hero-photo { animation-duration:30s; }
.hero-photo-one { background-image:linear-gradient(90deg,rgba(5,35,29,.84),rgba(5,35,29,.2)),url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=1800&q=85'); animation-delay:0s; }
.hero-photo-two { background-image:linear-gradient(90deg,rgba(5,35,29,.84),rgba(5,35,29,.2)),url('https://images.unsplash.com/photo-1441986300917-64674bd600d8?auto=format&fit=crop&w=1800&q=85'); animation-delay:-24s; }
.hero-photo-three { background-image:linear-gradient(90deg,rgba(5,35,29,.84),rgba(5,35,29,.2)),url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?auto=format&fit=crop&w=1800&q=85'); animation-delay:-18s; }
.hero-photo-four { background-image:linear-gradient(90deg,rgba(5,35,29,.84),rgba(5,35,29,.2)),url('https://images.unsplash.com/photo-1579621970563-ebec7560ff3e?auto=format&fit=crop&w=1800&q=85'); animation-delay:-12s; }
.hero-photo-five { background-image:linear-gradient(90deg,rgba(5,35,29,.84),rgba(5,35,29,.2)),url('https://images.unsplash.com/photo-1565514020179-026b92b84bb6?auto=format&fit=crop&w=1800&q=85'); animation-delay:-6s; }
@keyframes bankingSlides { 0%,18% {opacity:1;transform:scale(1.02)} 20%,100% {opacity:0;transform:scale(1.1)} }
.hero-highlights { display:flex; flex-wrap:wrap; gap:10px; margin:22px 0 26px; }
.hero-highlights span { color:#fff; border:1px solid rgba(255,255,255,.42); background:rgba(255,255,255,.12); backdrop-filter:blur(8px); padding:9px 13px; border-radius:999px; font-size:.88rem; }
.global-currency-band { overflow:hidden; background:#f1faf2; border-block:1px solid #dcefe0; padding:16px 0; }
.global-currency-track { display:flex; width:max-content; gap:14px; animation:currencyDrift 32s linear infinite; }
.global-currency-track span { display:inline-flex; align-items:center; gap:8px; padding:10px 16px; border:1px solid #d7eadb; border-radius:999px; background:white; color:#225d38; font-weight:600; white-space:nowrap; }
@keyframes currencyDrift { to { transform:translateX(-50%); } }
.card-request-form > div { display:grid; gap:6px; }
.virtual-card { width:min(100%,360px); min-height:190px; border-radius:18px; padding:20px; margin:14px 0 4px; color:#fff; display:flex; flex-direction:column; justify-content:space-between; background:linear-gradient(135deg,#154d37,#278a59 60%,#9bcf8e); box-shadow:0 12px 28px #143b292b; }
.virtual-card.mastercard { background:linear-gradient(135deg,#142e4e,#246b91 60%,#69b8c4); }
.virtual-card-brand,.virtual-card-foot { display:flex; justify-content:space-between; gap:12px; font-size:.76rem; letter-spacing:.08em; }
.virtual-card-number { font:600 1.15rem ui-monospace,monospace; letter-spacing:.09em; }
.virtual-card-foot { font-size:.65rem; align-items:end; }
.customer-files-card { margin-bottom:1.25rem; }
@media (prefers-reduced-motion:reduce) { .global-currency-track { animation:none; } .hero-photo { animation:none; opacity:0; } .hero-photo-one { opacity:1; } }

/* ---- cards ---- */
.my-cards { display:grid; gap:18px; margin:12px 0 8px; }
.my-card { display:grid; grid-template-columns:minmax(260px,360px) 1fr; gap:18px; align-items:start; }
.my-card.is-closed .virtual-card { filter:grayscale(1); opacity:.55; }
.my-card-info { display:flex; flex-direction:column; gap:6px; padding-top:14px; }
.my-card-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:8px; }
.card-frame-box { min-height:240px; }
.card-frame { width:100%; height:260px; border:0; border-radius:12px; background:transparent; }
.sim-row { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin:8px 0 14px; }
.sim-row input { max-width:160px; }
.card-dlg-actions { justify-content:flex-start; flex-wrap:wrap; }
.sandbox-card-body { margin:0; padding:12px; background:transparent; }
.sandbox-card-body .virtual-card { margin:0 0 8px; }
@media (max-width:640px) { .my-card { grid-template-columns:1fr; } }

/* =====================================================================
   NovaTrust v2 — refined visual layer (overrides the rules above)
   Pine ink + emerald, with brass reserved for the cards.
   ===================================================================== */
:root {
  --bg:#f2f6f3; --surface:#fff; --fg:#10241b; --muted:#587064; --line:#dce6df;
  --pine:#0b2e22; --pine-2:#124a37; --accent:#0f8b5f; --accent-hover:#0b6f4c; --accent-fg:#fff;
  --brass:#c39a4a; --tint:#e7f2ec; --danger:#b3261e; --success:#0f7a50; --focus:#4fb88f;
  --radius:14px; --radius-sm:10px;
  --shadow:0 1px 2px rgba(11,46,34,.06),0 10px 28px -12px rgba(11,46,34,.18);
  --font-display:"Bricolage Grotesque","Manrope",system-ui,sans-serif;
  --font-body:"Manrope",system-ui,-apple-system,"Segoe UI",sans-serif;
}
body { background:var(--bg); font-size:15.5px; line-height:1.6; -webkit-font-smoothing:antialiased; }
h1,h2,h3,h4 { letter-spacing:-.015em; }
.section h2 { font-size:1.75rem; font-weight:700; margin-bottom:22px; }
body::before { background:var(--pine); }

/* header */
.site-header { background:rgba(255,255,255,.86); backdrop-filter:saturate(1.4) blur(14px); border-bottom:1px solid var(--line); color:var(--pine); }
.header-inner { padding-block:10px; }
.logo { color:var(--pine); font:800 1.2rem var(--font-display); letter-spacing:-.02em; display:inline-flex; align-items:center; gap:8px; }
.brand-mark { stroke:var(--accent); margin:0; width:32px; height:32px; }
nav { gap:10px; }
nav a { color:var(--muted); font-weight:600; padding:6px 10px; border-radius:8px; }
nav a:hover { color:var(--pine); background:var(--tint); }
.who { color:var(--muted); }

/* buttons */
.btn { border-radius:var(--radius-sm); border-width:1.5px; font:700 .95rem var(--font-body); padding:9px 18px; transition:background .15s,border-color .15s,box-shadow .15s,transform .1s; }
.btn:active { transform:translateY(1px); }
.btn-primary { background:var(--accent); box-shadow:0 6px 16px -8px var(--accent); }
.btn-primary:hover { background:var(--accent-hover); }
.btn-outline { color:var(--pine); border-color:#b8cdc1; background:#fff; }
.btn-outline:hover { opacity:1; border-color:var(--accent); color:var(--accent-hover); }
.btn-lg { padding:14px 28px; font-size:1.05rem; border-radius:12px; }
.btn-sm { padding:6px 12px; font-size:.85rem; }

/* hero: photo wash in pine, copy left, the two cards fanned right */
.hero { background:var(--pine); padding-block:84px 92px; }
.hero-photo-one,.hero-photo-two,.hero-photo-three,.hero-photo-four,.hero-photo-five { background-blend-mode:normal; }
.hero-photo-strip::after { content:""; position:absolute; inset:0; background:linear-gradient(100deg,rgba(7,30,22,.9) 20%,rgba(7,30,22,.55) 60%,rgba(7,30,22,.35)); }
.hero-content { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:40px; align-items:center; }
.hero h1 { font:800 clamp(2.3rem,5.2vw,3.7rem)/1.04 var(--font-display); letter-spacing:-.03em; }
.hero p { max-width:44ch; font-size:1.1rem; }
.hero-highlights span { font-weight:600; background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.28); }
.hero .btn-primary { background:#fff !important; color:var(--pine) !important; box-shadow:0 10px 30px -10px rgba(0,0,0,.5); }
.hero-card { position:relative; min-height:300px; }
.hero-card .virtual-card { position:absolute; width:min(100%,340px); margin:0; }
.hero-card .virtual-card.visa { top:0; left:6%; transform:rotate(-6deg); z-index:1; }
.hero-card .virtual-card.mastercard { top:96px; left:26%; transform:rotate(5deg); z-index:2; box-shadow:0 30px 50px -20px rgba(0,0,0,.6); }

/* the card face: used in the hero, the dashboard and the admin */
.virtual-card { border-radius:20px; padding:20px 22px; position:relative; overflow:hidden; isolation:isolate;
  background:radial-gradient(120% 90% at 100% 0,rgba(255,255,255,.22),transparent 55%),linear-gradient(135deg,#0b2e22,#157352 65%,#3aa37c);
  box-shadow:0 22px 40px -22px rgba(11,46,34,.7),inset 0 0 0 1px rgba(255,255,255,.14); }
.virtual-card.mastercard { background:radial-gradient(120% 90% at 100% 0,rgba(255,255,255,.2),transparent 55%),linear-gradient(135deg,#1b2433,#2b4468 60%,#4c7aa8); }
.virtual-card::before { content:""; position:absolute; inset:0; z-index:-1; opacity:.5;
  background:repeating-radial-gradient(circle at 0 100%,rgba(255,255,255,.07) 0 1px,transparent 1px 9px); }
.virtual-card-brand { font:700 .72rem var(--font-body); letter-spacing:.1em; }
.virtual-card-number { font:600 1.2rem ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.1em; text-shadow:0 1px 0 rgba(0,0,0,.25); }
.virtual-card-foot { font-size:.64rem; letter-spacing:.08em; }
.virtual-card::after { content:""; position:absolute; left:22px; top:54px; width:38px; height:28px; border-radius:6px;
  background:linear-gradient(135deg,#f0d896,#b88a38); box-shadow:inset 0 0 0 1px rgba(0,0,0,.2); }
.virtual-card { padding-top:20px; }
.my-card .virtual-card { margin:0; }

/* cards & surfaces */
.card { border-radius:var(--radius); border-color:var(--line); box-shadow:var(--shadow); padding:24px; }
.card h3 { font-weight:700; font-size:1.08rem; }
.account { position:relative; overflow:hidden; }
.account::before { content:""; position:absolute; inset:0 0 auto; height:4px; background:linear-gradient(90deg,var(--accent),var(--brass)); }
.account .type { text-transform:none; letter-spacing:0; font-size:.88rem; color:var(--accent-hover); font-weight:700; }
.account .balance { font:800 2.1rem var(--font-display); letter-spacing:-.03em; }
.status-card { border-left-width:5px; }
.notice-card { border-left-color:var(--accent); background:var(--tint); }
.deposit-account,.deposit-detail-row,.ud-box,.ud-account,.copy-row,.tx-summary,.final-details { background:#f7faf8; border-radius:var(--radius-sm); }

/* forms */
label { font-size:.86rem; font-weight:700; color:#2b4438; }
input,select,textarea { border:1.5px solid #cbd9d0; border-radius:var(--radius-sm); background:#fff; padding:10px 12px; transition:border-color .15s,box-shadow .15s; }
input:hover,select:hover,textarea:hover { border-color:#a9c0b2; }
input:focus,select:focus,textarea:focus { outline:0; border-color:var(--accent); box-shadow:0 0 0 4px rgba(15,139,95,.16); }
.code-input { font:800 1.5rem var(--font-display); }

/* tables: quiet header, no all-caps */
.tx-table th,.details dt,.final-details dt,.copy-row dt,.stat-title { text-transform:none; letter-spacing:0; font-size:.82rem; font-weight:700; color:var(--muted); }
.tx-table th { border-bottom:1.5px solid var(--line); }
.tx-table td { border-bottom:1px solid #edf2ee; }
.tx-table tbody tr:hover { background:#f7faf8; }
.badge { border-radius:999px; padding:3px 11px; font-weight:700; background:#fff; }
.badge-active,.badge-verified,.badge-used { background:#e5f5ec; }
.badge-pending,.badge-hold { background:#fbf3df; }
.badge-suspended,.badge-rejected,.badge-expired,.badge-cancelled { background:#fbe9e7; }

/* tabs */
.dashboard-tabs { gap:6px; border:0; background:#e6eee9; padding:5px; border-radius:12px; display:inline-flex; margin:20px 0; max-width:100%; overflow-x:auto; }
.dashboard-tabs .tab { border:0; border-radius:9px; padding:8px 16px; color:var(--muted); white-space:nowrap; }
.dashboard-tabs .tab:hover { color:var(--pine); }
.dashboard-tabs .tab.active { background:#fff; color:var(--pine); box-shadow:0 1px 3px rgba(11,46,34,.15); }
.tabs .tab.active { color:var(--accent-hover); border-bottom-color:var(--accent); }
.stat-grid .card { padding:18px 20px; }
.stat-value { font:800 1.75rem var(--font-display); letter-spacing:-.02em; }

/* dialogs */
dialog { border:0; border-radius:20px; padding:30px; box-shadow:0 30px 80px -20px rgba(7,30,22,.55); }
dialog::backdrop { background:rgba(7,30,22,.6); backdrop-filter:blur(3px); }
dialog[open] { animation:dlgIn .18s ease-out; }
@keyframes dlgIn { from { opacity:0; transform:translateY(8px) scale(.985); } }
.final-amount { font:800 2.2rem var(--font-display); letter-spacing:-.03em; }

/* currency band, footer, misc */
.global-currency-band { background:#fff; border-color:var(--line); }
.global-currency-track span { background:var(--bg); border-color:var(--line); color:var(--pine-2); font-weight:700; }
.site-footer { background:var(--pine); color:#9fbdae; border:0; padding-block:30px; margin-top:56px; }
.footer-link { color:#cfe6da; }
.link-btn { color:var(--accent-hover); font-weight:600; }
.about-text { font-size:1.05rem; }
.profile-avatar { background:var(--tint); color:var(--accent-hover); border-color:#bfe0cf; }
#features .card { transition:transform .15s,box-shadow .15s; }

@media (max-width:820px) {
  .hero-content { grid-template-columns:1fr; }
  .hero-card { min-height:250px; order:2; }
  .hero-card .virtual-card.mastercard { top:80px; left:16%; }
}
@media (max-width:560px) {
  .hero { padding-block:56px 64px; }
  .card { padding:18px; }
  dialog { padding:22px; }
  .hero-card .virtual-card { width:min(88%,320px); }
}
@media (prefers-reduced-motion:reduce) { dialog[open] { animation:none; } }

/* v2 fixes: card layout, hero card spacing, small-screen header */
.virtual-card { min-height:200px; justify-content:flex-start; }
.virtual-card-number { margin-top:auto; padding-top:44px; }
.virtual-card-foot { margin-top:14px; }
.virtual-card::after { top:50px; }
.hero-card { min-height:340px; }
.hero-card .virtual-card.mastercard { top:120px; left:24%; }
.logo { white-space:nowrap; }
@media (max-width:820px) {
  .hero-card { min-height:300px; overflow:hidden; padding-bottom:8px; }
  .hero-card .virtual-card.visa { left:2%; }
  .hero-card .virtual-card.mastercard { top:100px; left:12%; }
}
@media (max-width:560px) {
  .header-inner { gap:8px; }
  .logo { font-size:1rem; }
  .logo span { display:none; }
  nav a.nav-public { display:none; }
  nav { flex-wrap:nowrap; gap:6px; }
  nav .btn { padding:7px 12px; }
  .hero-card .virtual-card { width:min(80%,300px); }
}
@media (max-width:560px){.virtual-card-number{letter-spacing:.04em;font-size:1.05rem}}

/* v2 polish */
.site-footer a { color:#cfe6da; text-underline-offset:3px; }
.site-footer a:hover { color:#fff; }
input[type="file"] { padding:6px; background:#f7faf8; }
input[type="file"]::file-selector-button { font:700 .85rem var(--font-body); border:0; border-radius:8px; padding:7px 12px; margin-right:10px; background:var(--tint); color:var(--pine-2); cursor:pointer; }
input[type="file"]::file-selector-button:hover { background:#d5eadf; }
.card-request-form { margin-top:8px; }

/* N monogram logo */
.brand-mark { fill:none; stroke:none; width:36px; height:36px; border-radius:11px; box-shadow:0 6px 14px -6px rgba(11,74,53,.7); flex:none; }
.logo span { color:var(--accent); }

/* Trust badges and clearly-labelled sample feedback */
.trust-badges { list-style:none; margin:0 0 34px; padding:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr)); gap:14px; }
.trust-badges li { display:flex; gap:12px; align-items:center; background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:14px 16px; }
.trust-badges svg { width:40px; height:40px; flex:none; padding:9px; border-radius:12px; background:linear-gradient(135deg,#1fa070,#0b4a35); fill:none; stroke:#fff; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.trust-badges strong { display:block; font-size:.95rem; }
.trust-badges span { color:var(--muted); font-size:.85rem; }
.feedback-title { font-size:1.15rem; margin-bottom:4px; }
.feedback-grid { margin-top:14px; }
.feedback { margin:0; border-top:3px solid var(--brass); }
.feedback blockquote { margin:0 0 14px; font:600 1.02rem/1.5 var(--font-display); }
.feedback figcaption { color:var(--muted); font-size:.85rem; }

.feedback figcaption { display:flex; align-items:center; gap:10px; }
.fb-avatar { width:38px; height:38px; border-radius:50%; display:grid; place-items:center; flex:none; color:#fff; font:800 1rem var(--font-display); box-shadow:inset 0 0 0 2px rgba(255,255,255,.35); }
.fb-a { background:linear-gradient(135deg,#1fa070,#0b4a35); }
.fb-b { background:linear-gradient(135deg,#c39a4a,#8a6a28); }
.fb-c { background:linear-gradient(135deg,#2b4468,#4c7aa8); }

/* Clothes deposit sample feature */
.cloth-card { margin-top:20px; }
.cloth-form { display:grid; grid-template-columns:140px 1fr auto; gap:14px; align-items:end; }
.cloth-form .btn { margin-top:0; }
.cloth-form label { margin-top:0; }
@media (max-width:640px) { .cloth-form { grid-template-columns:1fr; } }
#clothAdminBody input { min-width:130px; }

/* statements, payees, settings */
.stmt-form,.payee-form { display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:12px; align-items:end; }
.stmt-form .btn,.payee-form .btn { margin-top:0; }
.stmt-form label,.payee-form label { margin-top:0; }
.stmt-search { grid-column:span 2; }
.stmt-summary { display:flex; flex-wrap:wrap; gap:8px 22px; padding:12px 14px; margin:6px 0 12px; background:var(--tint); border-radius:var(--radius-sm); }
.stmt-actions { display:flex; gap:10px; margin-top:14px; }
.sec-list { list-style:none; margin:10px 0 0; padding:0; display:grid; gap:0; }
.sec-list li { display:flex; justify-content:space-between; gap:12px; padding:9px 0; border-bottom:1px solid #edf2ee; }
#savePayeeBtn { margin-top:6px; font-size:.85rem; }
@media print {
  .site-header,.site-footer,.dashboard-tabs,.stmt-form,.stmt-actions,#cardsSection,#page-overview,#page-deposit,#page-transfer,#page-settings,#page-privacy { display:none !important; }
  body { background:#fff; }
  .card { box-shadow:none; border:0; }
}

/* account tiers */
.tier-head { display:flex; align-items:center; gap:10px; margin-bottom:6px; }
.tier-head h3 { margin:0; }
.tier-badge { display:inline-block; padding:3px 12px; border-radius:999px; font:800 .85rem var(--font-display); color:#fff; background:#587064; }
.tier-badge.tier-basic { background:linear-gradient(135deg,#6b7f75,#47594f); }
.tier-badge.tier-standard { background:linear-gradient(135deg,#1fa070,#0b4a35); }
.tier-badge.tier-premium { background:linear-gradient(135deg,#d6ad5a,#8a6a28); }
.tier-meter { height:8px; border-radius:99px; background:#e3ece6; overflow:hidden; margin:10px 0 6px; }
.tier-meter span { display:block; height:100%; background:linear-gradient(90deg,#1fa070,#c39a4a); border-radius:99px; }
.tier-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:16px; }
.tier-form label { display:block; margin-top:10px; }
.tier-form .btn { margin-top:14px; }
.tier-pick { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.tier-pick select { width:auto; min-width:150px; }

/* "Money sent" pop-up */
.sent-dialog { text-align:center; max-width:420px; width:calc(100% - 32px); }
.sent-check { width:76px; height:76px; margin:0 auto 6px; }
.sent-check svg { width:100%; height:100%; fill:none; stroke-linecap:round; stroke-linejoin:round; }
.sent-check circle { stroke:#bfe6d3; stroke-width:3; fill:#e5f5ec; }
.sent-check path { stroke:var(--accent); stroke-width:4.5; stroke-dasharray:44; stroke-dashoffset:44; animation:sentTick .5s .15s ease-out forwards; }
@keyframes sentTick { to { stroke-dashoffset:0; } }
.sent-dialog h3 { font:800 1.5rem var(--font-display); margin:6px 0 14px; color:var(--accent); }
.sent-to-label { margin:0; color:var(--muted); font-size:.9rem; }
.sent-name { margin:2px 0 6px; font:800 1.9rem/1.15 var(--font-display); letter-spacing:-.02em; color:var(--pine); overflow-wrap:anywhere; }
.sent-amount { margin:0 0 14px; font:700 1.35rem var(--font-display); font-variant-numeric:tabular-nums; }
.sent-details { display:grid; gap:8px; margin:0; padding:14px 16px; text-align:left; background:#f7faf8; border:1px solid var(--line); border-radius:12px; }
.sent-details div { display:flex; justify-content:space-between; gap:14px; }
.sent-details dt { color:var(--muted); font-size:.85rem; font-weight:700; text-transform:none; letter-spacing:0; }
.sent-details dd { margin:0; font-weight:700; text-align:right; overflow-wrap:anywhere; }
.sent-foot { margin:14px 0 4px; }
.sent-dialog .dialog-actions { justify-content:center; }
@media (prefers-reduced-motion:reduce) { .sent-check path { animation:none; stroke-dashoffset:0; } }

/* Sending abroad */
.quote-line { margin:6px 0 0; padding:10px 12px; background:#eef8f2; border:1px solid #cfe9db; border-radius:10px; color:var(--pine); font-weight:600; }
.sent-gets { margin:-6px 0 14px; color:var(--accent); font-size:1.05rem; }
.sent-gets strong { font-family:var(--font-display); font-size:1.2rem; }
.fx-input { width:9rem; padding:6px 8px; }
.fx-add { display:flex; flex-wrap:wrap; gap:12px; align-items:flex-end; margin-top:16px; }
.fx-add label { margin:0; }
.card.spaced { margin-top:20px; }

/* Profile page and the top-right photo */
.dash-head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:8px; }
.dash-head h2 { margin:0; }
.head-avatar { flex:0 0 52px; width:52px; height:52px; padding:0; border-radius:50%; overflow:hidden; display:grid; place-items:center; cursor:pointer;
  background:var(--tint,#e5f5ec); color:var(--accent-hover,#0b6b49); font:800 1.05rem var(--font-display); border:3px solid #fff; box-shadow:0 0 0 2px var(--accent),0 6px 16px rgba(11,46,34,.18); }
.head-avatar img { width:100%; height:100%; object-fit:cover; }
.head-avatar:hover { box-shadow:0 0 0 2px var(--brass,#c39a4a),0 6px 16px rgba(11,46,34,.22); }
.head-avatar:focus-visible { outline:3px solid var(--brass,#c39a4a); outline-offset:3px; }

.profile-hero { position:relative; margin-bottom:20px; background:#fff; border:1px solid var(--line); border-radius:18px; overflow:hidden; box-shadow:0 8px 24px rgba(11,46,34,.08); }
.profile-hero-cover { height:110px; background:linear-gradient(120deg,var(--pine,#0b2e22) 0%,#0f6a49 55%,var(--accent,#0f8b5f) 100%); }
.profile-hero-body { display:flex; align-items:flex-end; gap:20px; padding:0 24px 22px; margin-top:-46px; flex-wrap:wrap; }
.profile-avatar-lg { width:112px; height:112px; flex:0 0 112px; border:5px solid #fff; box-shadow:0 6px 18px rgba(11,46,34,.2); font-size:2.2rem; background:var(--tint,#e5f5ec); }
.profile-hero-text { min-width:0; padding-bottom:4px; }
.profile-hero-text h3 { margin:0; font:800 1.6rem var(--font-display); letter-spacing:-.02em; overflow-wrap:anywhere; }
.profile-hero-text p { margin:2px 0 10px; }
.profile-chips { display:flex; flex-wrap:wrap; gap:8px; }
.profile-chip { padding:5px 12px; border-radius:999px; background:#eef6f1; border:1px solid #d3e8dc; font-weight:700; font-size:.85rem; color:var(--pine,#0b2e22); }
.profile-chip .tier-badge { margin:0; }
.profile-chip:has(.chip-ok) { background:#e5f5ec; border-color:#bfe6d3; color:var(--accent-hover,#0b6b49); }

.profile-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; align-items:start; }
.profile-panel h4 { margin:0 0 6px; font:800 1.1rem var(--font-display); }
.profile-panel .details { margin:12px 0 0; }
.profile-panel .details div { padding:10px 0; border-bottom:1px solid var(--line); }
.profile-panel .details div:last-child { border-bottom:0; }
.profile-panel .profile-edit-form { border:0; margin:0; padding:0; max-width:none; }
.profile-pw-note { margin-top:14px; }
@media (max-width:760px) {
  .profile-grid { grid-template-columns:1fr; }
  .profile-hero-body { padding:0 18px 18px; }
  .head-avatar { flex-basis:44px; width:44px; height:44px; }
}
.profile-panel .details { grid-template-columns:1fr; gap:0; }

.profile-col { display:grid; gap:20px; align-content:start; min-width:0; }
.profile-hero-body { align-items:flex-start; margin-top:0; }
.profile-avatar-lg { margin-top:-56px; }
.profile-hero-text { padding:16px 0 0; }
@media (max-width:760px) { .profile-avatar-lg { margin-top:-56px; } }

.sent-save { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin:14px 0 4px; }
.sent-save-msg { min-height:1.2em; margin:4px 0 8px; }
@media print { .sent-save, .sent-save-msg { display:none; } }


/* Processing screen */
.process-dialog { text-align:center; max-width:380px; width:calc(100% - 32px); }
.process-dialog::backdrop { background:rgba(11,46,34,.55); backdrop-filter:blur(3px); }
.process-spinner { width:64px; height:64px; margin:4px auto 12px; border-radius:50%; border:6px solid #d6ece0; border-top-color:var(--accent); animation:procSpin .9s linear infinite; }
.process-spinner.done { animation:none; border-color:var(--accent); background:var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 52'%3E%3Cpath d='M15 27l8 8 14-16' fill='none' stroke='white' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat; }
@keyframes procSpin { to { transform:rotate(360deg); } }
.process-dialog h3 { margin:0 0 4px; font:800 1.4rem var(--font-display); }
.process-steps { list-style:none; margin:18px auto 16px; padding:0; display:grid; gap:10px; text-align:left; max-width:260px; }
.process-steps li { position:relative; padding-left:34px; color:var(--muted); font-weight:600; }
.process-steps li::before { content:""; position:absolute; left:0; top:1px; width:20px; height:20px; border-radius:50%; border:2px solid #c9d8cf; box-sizing:border-box; }
.process-steps li.active { color:var(--ink,#14202e); }
.process-steps li.active::before { border-color:var(--accent); border-top-color:transparent; animation:procSpin .8s linear infinite; }
.process-steps li.done { color:var(--accent-hover,#0b6b49); }
.process-steps li.done::before { border-color:var(--accent); background:var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 52'%3E%3Cpath d='M13 27l9 9 17-19' fill='none' stroke='white' stroke-width='7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat; }
.process-bar { height:8px; border-radius:99px; background:#e3eee7; overflow:hidden; }
.process-bar span { display:block; height:100%; width:0; background:linear-gradient(90deg,var(--accent),#37b887); border-radius:99px; transition:width .6s ease; }
@media (prefers-reduced-motion:reduce) { .process-spinner, .process-steps li.active::before { animation:none; } .process-bar span { transition:none; } }

/* Small loading indicators */
.top-loader { position:fixed; inset:0 0 auto 0; height:3px; z-index:1000; overflow:hidden; opacity:0; pointer-events:none; transition:opacity .2s; }
.top-loader.on { opacity:1; }
.top-loader span { position:absolute; top:0; bottom:0; left:-40%; width:40%; background:linear-gradient(90deg,transparent,var(--accent),#37b887,transparent); animation:topSlide 1s ease-in-out infinite; }
@keyframes topSlide { to { left:100%; } }
.btn.is-busy { position:relative; color:transparent !important; pointer-events:none; }
.btn.is-busy::after { content:""; position:absolute; left:50%; top:50%; width:16px; height:16px; margin:-8px 0 0 -8px; border-radius:50%; border:2.5px solid rgba(255,255,255,.55); border-top-color:#fff; animation:procSpin .7s linear infinite; }
.btn-outline.is-busy::after, .link-btn.is-busy::after { border-color:rgba(15,139,95,.3); border-top-color:var(--accent); }
.link-btn.is-busy { color:transparent !important; position:relative; }

/* Notifications */
.notices-card { margin-bottom:20px; padding:18px 20px; }
.notices-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px; }
.notices-head h3 { margin:0; font:800 1.1rem var(--font-display); }
.notices-list { list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.notice { display:flex; align-items:center; gap:14px; padding:12px 14px; border-radius:12px; border:1px solid var(--line); background:#f7faf8; }
.notice-good { background:#eef8f2; border-color:#cfe9db; }
.notice-bad { background:#fdf3f1; border-color:#f1cfc8; }
.notice-icon { flex:0 0 30px; height:30px; display:grid; place-items:center; border-radius:50%; font-weight:800; color:#fff; background:var(--accent); }
.notice-bad .notice-icon { background:#c0392b; }
.notice-text { flex:1; min-width:0; display:grid; gap:2px; }
.notice-text span { color:var(--muted); font-size:.92rem; overflow-wrap:anywhere; }
.notice-clear { flex:0 0 34px; height:34px; border-radius:50%; border:1px solid transparent; background:transparent; font-size:1.4rem; line-height:1; color:var(--muted); cursor:pointer; position:relative; }
.notice-clear:hover { background:#fff; border-color:var(--line); color:var(--ink,#14202e); }
.notice-clear:focus-visible { outline:3px solid var(--brass,#c39a4a); outline-offset:2px; }
.notice-clear.is-busy { color:transparent; }
.notice-clear.is-busy::after { content:""; position:absolute; left:50%; top:50%; width:16px; height:16px; margin:-8px 0 0 -8px; border-radius:50%; border:2.5px solid #cfe0d6; border-top-color:var(--accent); animation:procSpin .7s linear infinite; }
@media (prefers-reduced-motion:reduce) { .top-loader span, .btn.is-busy::after, .notice-clear.is-busy::after { animation:none; } }

/* Admin clothes deposits */
.cloth-admin-form { display:grid; grid-template-columns:2fr 1.2fr 1fr 80px; gap:12px; align-items:end; margin:14px 0 4px; }
.cloth-admin-form .cloth-admin-note { grid-column:1 / 4; }
.cloth-admin-form button { grid-column:4; }
.cloth-actions { white-space:nowrap; display:flex; gap:6px; }
.cloth-items { width:4.5rem; }
@media (max-width:760px) { .cloth-admin-form { grid-template-columns:1fr 1fr; } .cloth-admin-form .cloth-admin-note, .cloth-admin-form button { grid-column:1 / -1; } }

.cloth-admin-form { grid-template-columns:2fr 1.2fr 1fr; }
.cloth-admin-form .cloth-admin-note { grid-column:1 / 3; }
.cloth-admin-form button { grid-column:3; }
@media (max-width:760px) { .cloth-admin-form { grid-template-columns:1fr 1fr; } .cloth-admin-form .cloth-admin-note, .cloth-admin-form button { grid-column:1 / -1; } }

/* Account status per account, and opening another account */
.acct-tier-list { list-style:none; margin:12px 0 0; padding:0; display:grid; gap:8px; }
.acct-tier-list li { display:flex; gap:10px; align-items:center; flex-wrap:wrap; font-size:.92rem; }
.open-account-row { display:grid; grid-template-columns:1fr 1.4fr auto; gap:12px; align-items:end; }
.open-account-row label { margin:0; }
@media (max-width:720px) { .open-account-row { grid-template-columns:1fr; } }
.acct-tier-pick { display:flex; gap:6px; align-items:center; font-size:.85rem; margin:0; }
.limits-form { margin-top:18px; }
.limits-row, .limits-pick { display:flex; gap:12px; align-items:end; flex-wrap:wrap; }
.limits-row label, .limits-pick label { margin:0; max-width:160px; }

/* Support chat */
.chat-widget { position:fixed; right:18px; bottom:18px; z-index:60; display:flex; flex-direction:column; align-items:flex-end; gap:10px; }
.chat-fab { position:relative; border:0; border-radius:999px; padding:12px 20px; font:700 .95rem var(--font-display, inherit); color:#fff; background:linear-gradient(135deg,#1fa070,#0b4a35); box-shadow:0 8px 24px rgba(11,74,53,.35); cursor:pointer; }
.chat-badge { position:absolute; top:-6px; right:-4px; min-width:22px; height:22px; border-radius:11px; background:#c62828; color:#fff; font-size:.75rem; line-height:22px; text-align:center; padding:0 5px; }
.chat-panel { width:min(360px, calc(100vw - 36px)); max-height:min(540px, 75vh); display:flex; flex-direction:column; background:#fff; border-radius:14px; box-shadow:0 14px 44px rgba(0,0,0,.25); overflow:hidden; }
.chat-head { display:flex; justify-content:space-between; align-items:center; padding:12px 14px; background:#0b4a35; color:#fff; }
.chat-close { background:none; border:0; color:#fff; font-size:1.5rem; line-height:1; cursor:pointer; }
.chat-warn { margin:0; padding:8px 14px; font-size:.78rem; background:#fff7e0; color:#6b5200; }
.chat-log { flex:1; min-height:180px; overflow-y:auto; padding:12px; display:flex; flex-direction:column; gap:8px; background:#f4f8f5; }
.chat-msg { max-width:85%; padding:8px 11px; border-radius:12px; font-size:.92rem; overflow-wrap:anywhere; white-space:pre-wrap; }
.chat-msg small { display:block; margin-top:3px; font-size:.7rem; opacity:.7; }
.chat-me { align-self:flex-end; background:#0b6b4c; color:#fff; border-bottom-right-radius:3px; }
.chat-staff { align-self:flex-start; background:#fff; border:1px solid #d5e3da; border-bottom-left-radius:3px; }
.chat-form { display:flex; gap:8px; padding:10px; border-top:1px solid #e2ece6; align-items:flex-end; }
.chat-form textarea { flex:1; resize:none; margin:0; }
.chat-panel .form-msg { margin:0; padding:0 12px 8px; }
/* admin chat */
.admin-chat { display:grid; grid-template-columns:280px 1fr; gap:16px; }
.chat-threads { list-style:none; margin:0; padding:0; display:grid; gap:6px; align-content:start; }
.chat-threads button { width:100%; text-align:left; padding:10px 12px; border:1px solid #d5e3da; background:#fff; border-radius:10px; cursor:pointer; }
.chat-threads button.is-active { border-color:#0b6b4c; background:#eef7f1; }
.chat-threads .unread-dot { float:right; background:#c62828; color:#fff; border-radius:10px; padding:0 7px; font-size:.75rem; }
.admin-chat .chat-log { min-height:320px; max-height:55vh; border-radius:10px; }
@media (max-width:760px) { .admin-chat { grid-template-columns:1fr; } }

.chat-photo { display:block; margin-bottom:6px; }
.chat-photo img { display:block; max-width:100%; max-height:220px; border-radius:8px; background:#e3ece6; }
.chat-form .chat-attach { align-self:flex-end; }
