@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Newsreader:opsz,wght@6..72,500;6..72,600&display=swap');

:root {
  --f-ink: #18332f;
  --f-muted: #647873;
  --f-paper: #f2f5ef;
  --f-card: #fbfcf8;
  --f-line: #d7e1d9;
  --f-teal: #176d62;
  --f-teal-dark: #10564d;
  --f-teal-soft: #e2f0e9;
  --f-amber: #936020;
  --f-amber-soft: #fbf0dc;
  --f-red: #a54137;
  --f-red-soft: #fae9e5;
  --f-shadow: 0 10px 30px rgba(31, 65, 57, .055);
}

* { box-sizing: border-box; }
body.forwarding-page {
  margin: 0;
  min-height: 100dvh;
  background: var(--f-paper);
  color: var(--f-ink);
  font: 15px/1.55 "DM Sans", sans-serif;
}
.f-shell { max-width: 1240px; margin: 0 auto; padding: 28px 30px 72px; }
.f-topbar { display:flex; justify-content:space-between; align-items:center; gap:18px; padding: 15px 20px; background:var(--f-card); border:1px solid var(--f-line); border-radius:14px; box-shadow:var(--f-shadow); }
.f-brand { display:flex; gap:13px; align-items:center; color:var(--f-ink); text-decoration:none; }
.f-mark { display:grid; place-items:center; width:38px; height:38px; border-radius:11px; background:#dcece4; color:var(--f-teal); font:500 16px "DM Mono",monospace; }
.f-brand strong { display:block; font-size:14px; letter-spacing:.01em; }
.f-brand small { display:block; color:var(--f-muted); font-size:12px; }
.f-nav { display:flex; align-items:center; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.f-nav a, .f-button, .f-button-link { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:39px; padding:9px 14px; border:1px solid var(--f-line); border-radius:9px; background:#fff; color:var(--f-ink); font:600 13px "DM Sans",sans-serif; text-decoration:none; cursor:pointer; transition:background .16s, transform .16s, border-color .16s; }
.f-nav a:hover, .f-button:hover, .f-button-link:hover { background:#edf4ef; border-color:#aac7ba; }
.f-button:active, .f-button-link:active { transform:translateY(1px); }
.f-button--primary, .f-button-link--primary { background:var(--f-teal); border-color:var(--f-teal); color:#fff; }
.f-button--primary:hover, .f-button-link--primary:hover { background:var(--f-teal-dark); border-color:var(--f-teal-dark); }
.f-button--danger { color:var(--f-red); border-color:#e8c4bd; background:#fff9f7; }
.f-button--danger:hover { background:var(--f-red-soft); }
.f-button:disabled { opacity:.52; cursor:not-allowed; }
.f-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin:42px 2px 24px; }
.f-eyebrow { margin:0 0 8px; color:var(--f-teal); font:500 11px "DM Mono",monospace; letter-spacing:.12em; text-transform:uppercase; }
.f-heading h1 { margin:0; font:500 clamp(32px,5vw,48px)/1.08 "Newsreader",serif; letter-spacing:-.035em; }
.f-heading p { margin:10px 0 0; max-width:670px; color:var(--f-muted); }
.f-heading-actions { display:flex; flex-wrap:wrap; gap:9px; }
.f-flashes { margin:18px 0; }
.f-flash { padding:12px 15px; margin-bottom:9px; border:1px solid #bbd6ca; border-radius:10px; background:var(--f-teal-soft); color:#245c4d; }
.f-grid { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(280px,.85fr); gap:18px; align-items:start; }
.f-stack { display:grid; gap:18px; }
.f-card { min-width:0; padding:22px; background:var(--f-card); border:1px solid var(--f-line); border-radius:14px; box-shadow:var(--f-shadow); }
.f-card-head { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; margin-bottom:17px; }
.f-card h2 { margin:0; font:600 20px/1.2 "Newsreader",serif; }
.f-card h3 { margin:0; font-size:15px; }
.f-card-head p, .f-help { margin:6px 0 0; color:var(--f-muted); font-size:13px; }
.f-status { display:inline-flex; align-items:center; gap:7px; padding:5px 9px; border:1px solid var(--f-line); border-radius:100px; background:#f3f6f1; color:var(--f-muted); font:500 11px "DM Mono",monospace; white-space:nowrap; text-transform:uppercase; letter-spacing:.04em; }
.f-status:before { content:""; width:7px; height:7px; border-radius:50%; background:#879892; }
.f-status--good { background:var(--f-teal-soft); color:#245c4d; border-color:#c3dfd0; }.f-status--good:before {background:#3b9178}
.f-status--warn { background:var(--f-amber-soft); color:#795321; border-color:#ead8b7; }.f-status--warn:before {background:#c28a37}
.f-status--bad { background:var(--f-red-soft); color:#8d3b34; border-color:#ebc9c2; }.f-status--bad:before {background:#c75d50}
.f-notice { padding:13px 15px; border-left:3px solid #bf8b42; border-radius:0 9px 9px 0; background:var(--f-amber-soft); color:#664a25; font-size:13px; }
.f-notice strong { color:#513917; }
.f-notice--danger { border-color:#c75d50; background:var(--f-red-soft); color:#783931; }
.f-notice--info { border-color:#4b9685; background:#e8f2eb; color:#315d52; }
.f-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
.f-stat { padding:13px 14px; border:1px solid var(--f-line); border-radius:10px; background:#f5f8f3; }
.f-stat strong { display:block; font:500 24px/1.1 "DM Mono",monospace; color:var(--f-teal-dark); }
.f-stat span { display:block; margin-top:5px; color:var(--f-muted); font-size:11px; text-transform:uppercase; letter-spacing:.06em; }
.f-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.f-field { min-width:0; margin-bottom:15px; }
.f-field label, .f-label { display:block; margin-bottom:6px; color:#405c55; font-size:12px; font-weight:700; letter-spacing:.035em; }
.f-field input:not([type=checkbox]), .f-field select, .f-field textarea, .f-input, .f-select, .f-textarea { width:100%; min-height:42px; padding:10px 12px; border:1px solid #cbd9d0; border-radius:8px; background:#fff; color:var(--f-ink); font:14px "DM Sans",sans-serif; }
.f-field textarea, .f-textarea { min-height:108px; resize:vertical; }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus, .f-input:focus, .f-select:focus, .f-textarea:focus, .f-button:focus-visible, .f-nav a:focus-visible { outline:3px solid #90c6b4; outline-offset:2px; }
.f-field input[aria-invalid="true"] { border-color:var(--f-red); }
.f-inline { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.f-checkbox { display:flex; align-items:flex-start; gap:9px; color:var(--f-ink); font-size:13px; }
.f-checkbox input { width:17px; height:17px; margin:2px 0 0; accent-color:var(--f-teal); }
.f-form-actions { display:flex; align-items:center; flex-wrap:wrap; gap:9px; margin-top:9px; }
.f-mono { font-family:"DM Mono",monospace; font-size:12px; }
.f-muted { color:var(--f-muted); }
.f-account-list { display:grid; gap:10px; }
.f-account { padding:15px; border:1px solid var(--f-line); border-radius:11px; background:#fff; }
.f-account-top { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.f-account-email { overflow-wrap:anywhere; font-weight:700; }
.f-account-meta { margin-top:7px; color:var(--f-muted); font-size:12px; }
.f-account-actions { display:flex; align-items:center; flex-wrap:wrap; gap:7px; margin-top:13px; }
.f-account-actions form { display:inline-flex; gap:6px; align-items:center; }
.f-account-actions select { width:auto; min-height:34px; padding:6px 8px; }
.f-mini { padding:6px 9px; min-height:34px; font-size:12px; }
.f-table-wrap { width:100%; overflow-x:auto; border:1px solid var(--f-line); border-radius:10px; }
.f-table { width:100%; border-collapse:collapse; background:#fff; font-size:13px; }
.f-table th, .f-table td { padding:11px 12px; text-align:left; vertical-align:top; border-bottom:1px solid #e7ede8; }
.f-table th { color:var(--f-muted); background:#f4f7f2; font:500 10px "DM Mono",monospace; text-transform:uppercase; letter-spacing:.08em; white-space:nowrap; }
.f-table tr:last-child td { border-bottom:0; }
.f-table td { overflow-wrap:anywhere; }
.f-table td strong { color:var(--f-ink); }
.f-empty { padding:24px 14px; border:1px dashed #bdcec2; border-radius:10px; text-align:center; color:var(--f-muted); }
.f-empty strong { display:block; margin-bottom:4px; color:var(--f-ink); }
.f-rule-line { max-width:340px; color:var(--f-muted); font-size:12px; }
.f-pager { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-top:15px; }
.f-pill { display:inline-block; padding:3px 7px; border-radius:100px; background:#e8efe9; color:#42645a; font:500 10px "DM Mono",monospace; text-transform:uppercase; }
.f-section-kicker { margin:0 0 12px; color:var(--f-muted); font:500 11px "DM Mono",monospace; text-transform:uppercase; letter-spacing:.08em; }
.f-divider { height:1px; margin:18px 0; background:var(--f-line); border:0; }
.f-condition { display:grid; grid-template-columns:minmax(135px,1fr) minmax(120px,.8fr) minmax(140px,1.2fr) auto; gap:8px; align-items:center; margin:9px 0; padding:10px; border:1px solid var(--f-line); border-radius:9px; background:#fff; }
.f-condition select, .f-condition input { width:100%; min-width:0; min-height:38px; padding:8px; border:1px solid #cbd9d0; border-radius:7px; background:#fff; color:var(--f-ink); font:13px "DM Sans",sans-serif; }
.f-condition input:focus, .f-condition select:focus { outline:3px solid #90c6b4; outline-offset:1px; }
.f-scope-accounts { display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:7px; padding:10px; border:1px solid var(--f-line); border-radius:9px; background:#fff; }
.f-result { border:1px solid var(--f-line); border-radius:11px; padding:18px; background:#fff; }
.f-result-decision { font:500 28px/1.1 "Newsreader",serif; text-transform:capitalize; }
.f-result-list { display:grid; gap:8px; margin:12px 0 0; padding:0; list-style:none; }
.f-result-list li { display:flex; justify-content:space-between; gap:12px; padding:9px 0; border-bottom:1px solid #e7ede8; }
.f-result-list li:last-child { border-bottom:0; }
.f-footer-note { margin:20px 2px 0; color:var(--f-muted); font-size:12px; }
.f-required { color:var(--f-red); }
@media (max-width:850px) { .f-grid { grid-template-columns:1fr; } .f-heading { align-items:flex-start; flex-direction:column; } }
@media (max-width:600px) {
  .f-shell { padding:13px 12px 48px; }
  .f-topbar { align-items:flex-start; flex-direction:column; padding:13px; }
  .f-nav { justify-content:flex-start; width:100%; }
  .f-nav a { flex:1 1 auto; }
  .f-heading { margin:30px 2px 19px; }
  .f-card { padding:16px; }
  .f-form-grid { grid-template-columns:1fr; gap:0; }
  .f-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .f-condition { grid-template-columns:1fr 1fr; }
  .f-condition input { grid-column:1 / 2; }
  .f-condition button { grid-column:2; grid-row:2; }
  .f-account-top { flex-direction:column; }
  .f-table th, .f-table td { padding:9px; }
  .f-pager { align-items:flex-start; flex-direction:column; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior:auto !important; transition:none !important; } }
