/* ── Google Font ─────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ── Reset ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Design Tokens ───────────────────────────────────────────────── */
:root {
  --font:          'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --clr-bg:        #f0f4f8;
  --clr-surface:   #ffffff;
  --clr-border:    #e3e8ef;
  --clr-border-2:  #cbd5e1;
  --clr-text:      #0f172a;
  --clr-text-2:    #334155;
  --clr-muted:     #64748b;
  --clr-primary:   #2563eb;
  --clr-primary-h: #1d4ed8;
  --clr-primary-bg:#eff6ff;
  --clr-green:     #16a34a;
  --clr-yellow:    #b45309;
  --clr-blue:      #0369a1;
  --clr-orange:    #c2410c;
  --clr-red:       #dc2626;
  --clr-gray:      #475569;
  --radius-sm:     6px;
  --radius:        10px;
  --radius-lg:     14px;
  --shadow-xs:     0 1px 2px rgba(0,0,0,.06);
  --shadow:        0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:     0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.05);
  --shadow-lg:     0 10px 30px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
  --nav-h:         60px;
}

/* ── Base ────────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--clr-bg);
  color: var(--clr-text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--clr-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ── Layout ──────────────────────────────────────────────────────── */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 28px 20px 64px;
}
.container-narrow { max-width: 680px; margin: 0 auto; padding: 28px 20px 64px; }

/* ── Top Navigation ──────────────────────────────────────────────── */
.topnav {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--clr-surface);
  border-bottom: 1px solid var(--clr-border);
  padding: 0 24px;
  height: var(--nav-h);
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 1px 0 var(--clr-border), var(--shadow-xs);
}
.nav-brand {
  font-size: .975rem; font-weight: 700; color: var(--clr-text);
  display: flex; align-items: center; gap: 8px; letter-spacing: -.01em;
}
.nav-brand:hover { text-decoration: none; color: var(--clr-primary); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-user {
  font-size: .82rem; font-weight: 500; color: var(--clr-muted);
  background: var(--clr-bg); padding: 4px 10px; border-radius: 99px;
  border: 1px solid var(--clr-border);
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 18px; border-radius: var(--radius-sm);
  font-family: var(--font); font-size: .875rem; font-weight: 600; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .1s;
  text-decoration: none; white-space: nowrap; line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--clr-primary); color: #fff; border-color: var(--clr-primary);
  box-shadow: 0 1px 2px rgba(37,99,235,.3);
}
.btn-primary:hover { background: var(--clr-primary-h); border-color: var(--clr-primary-h); text-decoration: none; box-shadow: 0 2px 6px rgba(37,99,235,.35); }
.btn-outline {
  background: var(--clr-surface); color: var(--clr-text-2);
  border-color: var(--clr-border-2);
}
.btn-outline:hover { background: var(--clr-bg); border-color: var(--clr-primary); color: var(--clr-primary); text-decoration: none; }
.btn-danger { background: #fff0f0; color: var(--clr-red); border-color: #fecaca; }
.btn-danger:hover { background: #fee2e2; text-decoration: none; }
.btn-sm { padding: 5px 12px; font-size: .78rem; border-radius: var(--radius-sm); }
.btn-lg { padding: 12px 28px; font-size: .975rem; }
.btn-icon { padding: 7px; border-radius: var(--radius-sm); }
.w-full { width: 100%; }

/* ── Forms ───────────────────────────────────────────────────────── */
label {
  display: block; font-size: .8rem; font-weight: 600;
  color: var(--clr-muted); margin: 14px 0 5px;
  text-transform: uppercase; letter-spacing: .04em;
}
input[type=text], input[type=email], input[type=password], input[type=number],
select, textarea {
  width: 100%; padding: 10px 13px;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-family: var(--font); font-size: .9rem;
  background: var(--clr-surface); color: var(--clr-text);
  transition: border-color .15s, box-shadow .15s;
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
textarea { resize: vertical; min-height: 90px; line-height: 1.6; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; cursor: pointer; }
input::placeholder { color: var(--clr-muted); opacity: .6; }

/* ── Alerts ──────────────────────────────────────────────────────── */
.alert {
  padding: 12px 16px; border-radius: var(--radius-sm);
  font-size: .875rem; font-weight: 500; margin-bottom: 16px;
  display: flex; align-items: flex-start; gap: 8px;
}
.alert-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-success { background: #f0fdf4; color: #14532d; border: 1px solid #bbf7d0; }
.alert-info    { background: var(--clr-primary-bg); color: #1e3a8a; border: 1px solid #bfdbfe; }


/* ── Landing Page ────────────────────────────────────────────────── */
body.landing {
  min-height: 100vh; display: flex; flex-direction: column;
  background: linear-gradient(145deg, #0A192F 0%, #112240 50%, #1d3461 100%);
  padding: 0;
}
.landing-card {
  background: var(--clr-surface); border-radius: 20px; padding: 52px 44px;
  text-align: center; max-width: 440px; width: 100%;
  box-shadow: 0 25px 60px rgba(0,0,0,.35);
}
.landing-logo {
  width: 60px; height: 60px; border-radius: 16px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin: 0 auto 20px; box-shadow: 0 4px 14px rgba(37,99,235,.4);
}
.landing-card h1 { font-size: 1.5rem; font-weight: 700; color: var(--clr-text); margin-bottom: 8px; letter-spacing: -.02em; }
.landing-card > p { color: var(--clr-muted); font-size: .925rem; margin-bottom: 36px; line-height: 1.6; }
.landing-btns { display: flex; flex-direction: column; gap: 12px; }
.landing-divider { color: var(--clr-muted); font-size: .8rem; margin: 4px 0; }

/* ── Auth Card ───────────────────────────────────────────────────── */
body.auth-page {
  min-height: 100vh; display: flex; flex-direction: column;
  background: linear-gradient(145deg, #0A192F 0%, #112240 60%, #1d3461 100%);
}
.auth-card {
  background: var(--clr-surface); border-radius: 16px; padding: 40px 38px;
  max-width: 420px; width: 100%;
  box-shadow: var(--shadow-lg); border: 1px solid var(--clr-border);
}
.auth-logo {
  width: 52px; height: 52px; border-radius: 13px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin: 0 auto 18px; box-shadow: 0 3px 10px rgba(37,99,235,.3);
}
.auth-header { text-align: center; margin-bottom: 28px; }
.auth-header h2 { font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.auth-header p { color: var(--clr-muted); font-size: .875rem; margin-top: 5px; }
.auth-footer { text-align: center; margin-top: 20px; font-size: .82rem; color: var(--clr-muted); }
.auth-footer a { color: var(--clr-muted); }
.auth-footer a:hover { color: var(--clr-primary); }
.auth-card .btn-primary { margin-top: 20px; }

/* ── Page Header ─────────────────────────────────────────────────── */
.page-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 14px; margin-bottom: 28px; flex-wrap: wrap; padding-bottom: 20px;
  border-bottom: 1px solid var(--clr-border);
}
.page-header h2 { font-size: 1.45rem; font-weight: 700; letter-spacing: -.02em; color: var(--clr-text); }
.page-header p { font-size: .875rem; color: var(--clr-muted); margin-top: 3px; }
.page-header-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* ── Breadcrumb ──────────────────────────────────────────────────── */
.breadcrumb {
  font-size: .8rem; color: var(--clr-muted); margin-bottom: 16px;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--clr-muted); }
.breadcrumb a:hover { color: var(--clr-primary); }
.breadcrumb-sep { color: var(--clr-border-2); }

/* ── Data Table ──────────────────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-xs);
}
table { width: 100%; border-collapse: collapse; background: var(--clr-surface); }
thead tr { background: #f8fafc; }
th {
  padding: 11px 16px; text-align: left;
  font-size: .72rem; font-weight: 700; color: var(--clr-muted);
  text-transform: uppercase; letter-spacing: .06em;
  border-bottom: 1px solid var(--clr-border);
}
td { padding: 13px 16px; font-size: .875rem; vertical-align: middle; }
tr:not(:last-child) td { border-bottom: 1px solid var(--clr-border); }
tbody tr { transition: background .1s; }
tbody tr:hover td { background: #f8fafc; }
code {
  background: #f1f5f9; color: var(--clr-text-2);
  padding: 2px 7px; border-radius: 4px; font-size: .78rem;
  font-family: 'SF Mono', 'Fira Code', monospace; border: 1px solid var(--clr-border);
}

/* ── Stat Cards (dashboard summary) ─────────────────────────────── */
.stats-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 28px; }
.stat-card {
  background: var(--clr-surface); border: 1px solid var(--clr-border);
  border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-xs);
}
.stat-card .stat-val { font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em; color: var(--clr-text); }
.stat-card .stat-label { font-size: .75rem; color: var(--clr-muted); font-weight: 500; margin-top: 2px; text-transform: uppercase; letter-spacing: .04em; }

/* ── Account Cards Grid ──────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-xs);
}
.card-link {
  display: block; color: var(--clr-text);
  transition: box-shadow .2s, border-color .2s, transform .15s;
}
.card-link:hover {
  box-shadow: var(--shadow-md); border-color: #93c5fd;
  transform: translateY(-1px); text-decoration: none;
}
.card-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 8px; margin-bottom: 14px;
}
.card-name { font-size: .925rem; font-weight: 600; color: var(--clr-text); line-height: 1.4; }
.card-badges { display: flex; gap: 4px; flex-wrap: wrap; flex-shrink: 0; }
.card-meta { font-size: .75rem; color: var(--clr-muted); margin-top: 10px; }

/* ── Section Card ────────────────────────────────────────────────── */
.section-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-xs);
}
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin: 28px 0 14px; gap: 10px;
}
.section-header h3 { font-size: 1rem; font-weight: 700; color: var(--clr-text); }
.section-title { font-size: 1rem; font-weight: 700; margin: 28px 0 14px; color: var(--clr-text); }

/* ── Progress Bar ────────────────────────────────────────────────── */
.progress-wrap { display: flex; align-items: center; gap: 12px; }
.progress-wrap.progress-lg .progress-bar { height: 10px; }
.progress-bar {
  flex: 1; height: 7px; background: #e2e8f0;
  border-radius: 99px; overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--clr-primary), #60a5fa);
  border-radius: 99px;
  transition: width .4s ease;
}
.progress-fill-success { background: linear-gradient(90deg, var(--clr-green), #4ade80); }
.progress-fill-warn    { background: linear-gradient(90deg, #d97706, #fbbf24); }
.progress-label { font-size: .8rem; font-weight: 700; color: var(--clr-primary); min-width: 36px; text-align: right; }


/* ── Badges ──────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 99px;
  font-size: .7rem; font-weight: 700; white-space: nowrap;
  letter-spacing: .02em;
}
.badge-green  { background: #dcfce7; color: #15803d; }
.badge-yellow { background: #fef9c3; color: #92400e; }
.badge-blue   { background: #dbeafe; color: #1d4ed8; }
.badge-orange { background: #ffedd5; color: #9a3412; }
.badge-red    { background: #fee2e2; color: #b91c1c; }
.badge-gray   { background: #f1f5f9; color: #475569; }

/* ── Timeline ────────────────────────────────────────────────────── */
.timeline { display: flex; flex-direction: column; }
.timeline-item { display: flex; gap: 14px; position: relative; padding-bottom: 24px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item:not(:last-child)::before {
  content: ''; position: absolute;
  left: 9px; top: 24px; bottom: 0;
  width: 2px; background: var(--clr-border);
}
.timeline-dot {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  margin-top: 3px; border: 2.5px solid;
}
.timeline-dot.badge-green  { background: #dcfce7; border-color: #16a34a; }
.timeline-dot.badge-yellow { background: #fef9c3; border-color: #ca8a04; }
.timeline-dot.badge-blue   { background: #dbeafe; border-color: #3b82f6; }
.timeline-dot.badge-orange { background: #ffedd5; border-color: #ea580c; }
.timeline-dot.badge-red    { background: #fee2e2; border-color: #ef4444; }
.timeline-dot.badge-gray   { background: #f1f5f9; border-color: #94a3b8; }
.timeline-body { flex: 1; min-width: 0; }
.timeline-meta {
  display: flex; align-items: center; gap: 6px;
  flex-wrap: wrap; margin-bottom: 6px;
}
.timeline-meta .muted { font-size: .75rem; }
.timeline-note {
  font-size: .875rem; color: var(--clr-text-2); line-height: 1.6;
  background: #f8fafc; border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm); padding: 10px 13px; margin-top: 4px;
}
.timeline-actions { display: flex; gap: 6px; margin-left: auto; }

/* ── List Cards (issues / appeals) ──────────────────────────────── */
.list-cards { display: flex; flex-direction: column; gap: 10px; }
.list-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 14px 18px;
  transition: border-color .15s;
}
.list-card:hover { border-color: var(--clr-border-2); }
.list-card-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; margin-bottom: 7px; flex-wrap: wrap;
}
.list-card-title { font-size: .9rem; font-weight: 600; color: var(--clr-text); }
.list-card p { font-size: .85rem; color: var(--clr-text-2); line-height: 1.5; margin-bottom: 4px; }

/* ── Modal ───────────────────────────────────────────────────────── */
dialog {
  border: none; border-radius: var(--radius-lg); padding: 0;
  max-width: 480px; width: calc(100% - 32px);
  box-shadow: 0 25px 60px rgba(0,0,0,.25);
  animation: modal-in .18s ease;
}
dialog::backdrop { background: rgba(15,23,42,.5); backdrop-filter: blur(2px); }
@keyframes modal-in { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-form { padding: 28px; }
.modal-form h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 4px; }
.modal-form p.modal-sub { font-size: .85rem; color: var(--clr-muted); margin-bottom: 4px; }
.modal-divider { height: 1px; background: var(--clr-border); margin: 18px 0; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; }

/* ── Tab Bar ─────────────────────────────────────────────────────── */
.tab-bar {
  display: flex; gap: 2px;
  border-bottom: 2px solid var(--clr-border);
  margin-bottom: 24px; flex-wrap: wrap;
}
.tab-link {
  padding: 10px 18px; font-size: .85rem; font-weight: 600;
  color: var(--clr-muted); border-bottom: 2.5px solid transparent;
  margin-bottom: -2px; text-decoration: none;
  transition: color .15s, border-color .15s;
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.tab-link:hover { color: var(--clr-primary); background: var(--clr-primary-bg); text-decoration: none; }
.tab-link.active { color: var(--clr-primary); border-bottom-color: var(--clr-primary); background: transparent; }
.tab-link-gold.active { color: #92400e; border-bottom-color: #d97706; }
.tab-count {
  background: var(--clr-bg); color: var(--clr-muted);
  font-size: .68rem; font-weight: 700;
  padding: 1px 7px; border-radius: 99px;
  border: 1px solid var(--clr-border);
}
.tab-link.active .tab-count { background: #dbeafe; color: var(--clr-primary); border-color: #bfdbfe; }
.tab-link-gold.active .tab-count { background: #fef9c3; color: #92400e; border-color: #fde68a; }

/* ── Resolved Tab ────────────────────────────────────────────────── */
.resolved-banner {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1px solid #fcd34d; border-radius: var(--radius);
  padding: 16px 20px; font-weight: 600; color: #78350f;
  margin-bottom: 20px; font-size: .9rem;
  display: flex; align-items: center; gap: 10px;
}
.card-resolved {
  border-color: #fcd34d !important;
  background: linear-gradient(135deg, #fffdf5, #fffbeb) !important;
}
.card-resolved:hover { border-color: #f59e0b !important; box-shadow: 0 4px 14px rgba(245,158,11,.18) !important; }
.resolved-checkmark { font-size: 1.25rem; margin-bottom: 6px; }
.progress-gold { background: linear-gradient(90deg, #f59e0b, #fbbf24) !important; }

/* ── Form Helpers ────────────────────────────────────────────────── */
.form-row { display: flex; gap: 14px; flex-wrap: wrap; }
.form-row > div { flex: 1; min-width: 140px; }
.checkbox-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.checkbox-label {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  padding: 6px 12px; border: 1.5px solid var(--clr-border);
  border-radius: 99px; transition: border-color .15s, background .15s;
  font-size: .8rem; font-weight: 500;
}
.checkbox-label:hover { border-color: var(--clr-primary); background: var(--clr-primary-bg); }
.checkbox-label input[type=checkbox] { width: 14px; height: 14px; cursor: pointer; accent-color: var(--clr-primary); }
.search-bar { display: flex; gap: 8px; margin-bottom: 20px; }
.search-bar input { flex: 1; max-width: 400px; }

/* ── Misc Utilities ──────────────────────────────────────────────── */
.muted { color: var(--clr-muted); font-size: .82rem; }
.mt-1  { margin-top: 8px; }
.mt-2  { margin-top: 16px; }
.gap-6 { gap: 6px; }
.flex  { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.empty-state {
  text-align: center; padding: 40px 20px; color: var(--clr-muted);
  font-size: .9rem; border: 1.5px dashed var(--clr-border);
  border-radius: var(--radius); background: var(--clr-surface);
}
.empty-state-icon { font-size: 2rem; margin-bottom: 8px; display: block; opacity: .5; }
.divider { height: 1px; background: var(--clr-border); margin: 24px 0; }
.text-red { color: var(--clr-red) !important; }
.border-red { border-color: #fca5a5 !important; }
.internal-note-label {
  display: inline-flex; align-items: center; gap: 4px;
  background: #fef9c3; color: #78350f; font-size: .72rem; font-weight: 700;
  padding: 2px 8px; border-radius: 99px; border: 1px solid #fde68a;
}
.client-note-label {
  display: inline-flex; align-items: center; gap: 4px;
  background: #eff6ff; color: #1e3a8a; font-size: .72rem; font-weight: 700;
  padding: 2px 8px; border-radius: 99px; border: 1px solid #bfdbfe;
}
.shared-badge { display: inline-flex; align-items: center; gap: 5px; }

/* ── Bulk Toolbar ────────────────────────────────────────────────── */
.bulk-toolbar {
  position: sticky; top: calc(var(--nav-h) + 8px); z-index: 50;
  background: var(--clr-primary); color: #fff;
  padding: 10px 16px; border-radius: var(--radius);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px; flex-wrap: wrap;
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
  animation: modal-in .15s ease;
}
.bulk-toolbar .btn-outline { border-color: rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.1); }
.bulk-toolbar .btn-outline:hover { background: rgba(255,255,255,.2); border-color: #fff; }
.bulk-count-label { font-size: .85rem; font-weight: 600; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 640px) {
  :root { --nav-h: 56px; }
  .container, .container-narrow { padding: 20px 14px 48px; }
  .topnav { padding: 0 16px; }
  .landing-card { padding: 36px 24px; }
  .auth-card { padding: 32px 22px; }
  .page-header { flex-direction: column; align-items: stretch; }
  .page-header-actions { justify-content: flex-start; }
  .cards-grid { grid-template-columns: 1fr; }
  .modal-form { padding: 22px 18px; }
  th, td { padding: 10px 12px; }
  .tab-link { padding: 8px 12px; font-size: .8rem; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .section-header { flex-direction: column; align-items: flex-start; }
  .timeline-actions { margin-left: 0; }
}
@media (max-width: 400px) {
  .landing-btns .btn-lg { padding: 12px 20px; }
}
