/* ============================================================
   BİYOİST Müşteri Paneli — Bağımsız CSS
   ============================================================ */

/* ── Değişkenler ────────────────────────────────────────── */
:root {
  --primary:       #14b3c4;
  --primary-dk:    #0e8fa0;
  --primary-soft:  #e0f7fa;
  --surface:       #ffffff;
  --surface-2:     #f8fafc;
  --border:        #e2e8f0;
  --text:          #1a202c;
  --text-2:        #4a5568;
  --muted:         #718096;
  --green:         #38a169;
  --green-soft:    #f0fdf4;
  --red:           #e53e3e;
  --red-soft:      #fef2f2;
  --orange:        #dd6b20;
  --orange-soft:   #fffbeb;
  --blue:          #3182ce;
  --blue-soft:     #eff6ff;
  --purple:        #805ad5;
  --purple-soft:   #f5f3ff;
  --cyan-soft:     var(--primary-soft);
  --r:             10px;
  --r-sm:          6px;
  --r-lg:          16px;
  --shadow:        0 4px 20px rgba(0,0,0,.07);
  --shadow-sm:     0 1px 6px rgba(0,0,0,.06);
  --ff:            'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ff-head:       'Sora', 'Inter', sans-serif;
  --ff-mono:       'JetBrains Mono', 'Fira Code', monospace;
  --sidebar-w:     230px;
}
[data-theme="dark"] {
  --surface:     #111827;
  --surface-2:   #1f2937;
  --border:      #374151;
  --text:        #f9fafb;
  --text-2:      #d1d5db;
  --muted:       #9ca3af;
  --shadow:      0 4px 20px rgba(0,0,0,.3);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--ff); color: var(--text); background: var(--surface-2); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--ff); cursor: pointer; }
img { max-width: 100%; display: block; }
.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; }

/* ── Sidebar ─────────────────────────────────────────────── */
.panel-wrap { display: flex; min-height: 100vh; }
.panel-sidebar {
  width: var(--sidebar-w);
  min-width: var(--sidebar-w);
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 0 0 16px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 50;
  transition: transform .25s ease;
}
.ps-brand {
  display: flex;
  align-items: center;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}
.ps-brand__link { display: flex; align-items: center; gap: 6px; }
.ps-brand__name { font-family: var(--ff-head); font-weight: 800; font-size: 1.2rem; color: var(--primary); }
.ps-brand__tag { font-size: .72rem; background: var(--primary-soft); color: var(--primary-dk); padding: 2px 8px; border-radius: 20px; font-weight: 600; }

.ps-user { display: flex; align-items: center; gap: 10px; padding: 10px 14px; margin: 0 10px 12px; background: var(--surface-2); border-radius: var(--r); }
.ps-user__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .88rem; flex-shrink: 0; }
.ps-user__name { font-weight: 600; font-size: .88rem; }
.ps-user__role { font-size: .72rem; color: var(--muted); }

.ps-nav { display: flex; flex-direction: column; gap: 2px; padding: 0 10px; flex: 1; }
.ps-nav__link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: var(--r-sm);
  color: var(--text-2); font-size: .88rem; font-weight: 500;
  transition: background .15s, color .15s;
}
.ps-nav__link svg { flex-shrink: 0; opacity: .7; }
.ps-nav__link:hover { background: var(--surface-2); color: var(--primary); }
.ps-nav__link.is-active { background: var(--primary-soft); color: var(--primary-dk); font-weight: 600; }
.ps-nav__link.is-active svg { opacity: 1; }
.ps-badge { margin-left: auto; background: var(--primary); color: #fff; font-size: .7rem; font-weight: 700; padding: 1px 6px; border-radius: 20px; min-width: 18px; text-align: center; }
.ps-logout-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; margin: 8px 10px 0;
  border-radius: var(--r-sm); border: none; background: none;
  color: var(--muted); font-size: .88rem; font-weight: 500;
  transition: background .15s, color .15s;
}
.ps-logout-btn:hover { background: var(--red-soft); color: var(--red); }
.ps-main-site-link {
  display: flex; align-items: center; gap: 7px;
  padding: 6px 12px; margin: 4px 10px 10px;
  border-radius: var(--r-sm); font-size: .8rem; color: var(--muted);
  text-decoration: none; transition: color .15s;
}
.ps-main-site-link:hover { color: var(--primary); }

/* ── Panel main ──────────────────────────────────────────── */
.panel-main { flex: 1; min-width: 0; padding: 28px 32px; }
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 40; }
.sidebar-toggle {
  display: none; position: fixed; bottom: 24px; left: 20px; z-index: 60;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff; border: none;
  align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(20,179,196,.35);
}

/* ── Auth layout ─────────────────────────────────────────── */
.auth-main { min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 20px 16px 60px; background: var(--surface-2); }
.auth-header { width: 100%; max-width: 520px; padding: 16px 0 0; margin-bottom: 28px; }
.auth-brand { font-family: var(--ff-head); font-weight: 800; font-size: 1.4rem; color: var(--primary); }
.auth-brand span { font-size: 1rem; color: var(--muted); font-weight: 500; margin-left: 6px; }
.auth-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 36px; width: 100%; max-width: 460px; box-shadow: var(--shadow-sm); }
.auth-card--wide { max-width: 680px; }
.auth-card__head { text-align: center; margin-bottom: 24px; }
.auth-card__icon { display: flex; justify-content: center; color: var(--primary); margin-bottom: 14px; }
.auth-card__title { font-family: var(--ff-head); font-weight: 800; font-size: 1.4rem; margin-bottom: 6px; }
.auth-card__sub { color: var(--muted); font-size: .92rem; }
.auth-card__switch { text-align: center; font-size: .88rem; color: var(--muted); margin-top: 18px; }
.auth-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 20px; }
.auth-perk { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--text-2); }
.auth-perk svg { color: var(--primary); flex-shrink: 0; }

/* ── Page layout ─────────────────────────────────────────── */
.page { display: flex; flex-direction: column; gap: 20px; max-width: 880px; }
.page__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.page__title { font-family: var(--ff-head); font-weight: 800; font-size: 1.5rem; }
.page__sub { color: var(--muted); font-size: .92rem; margin-top: 4px; }

/* ── Card ────────────────────────────────────────────────── */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px 22px; }
.card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.card__title { font-family: var(--ff-head); font-weight: 700; font-size: 1rem; }

/* ── Forms ───────────────────────────────────────────────── */
.pf { display: flex; flex-direction: column; gap: 14px; }
.pf--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pf-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; }
.pf-section { border-bottom: 1px solid var(--border); padding-bottom: 20px; margin-bottom: 20px; }
.pf-section--last { border-bottom: none; margin-bottom: 0; }
.pf-section__title { font-family: var(--ff-head); font-weight: 700; font-size: .96rem; margin-bottom: 14px; color: var(--primary-dk); }
.pf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pf-checks { display: flex; flex-direction: column; gap: 8px; }
.pf-submit { padding-top: 4px; }
.pf__group { display: flex; flex-direction: column; gap: 5px; }
.pf__group--full { grid-column: 1 / -1; }
.pf__label { font-size: .85rem; font-weight: 600; color: var(--text-2); }
.pf__input {
  padding: 9px 12px; border: 1.5px solid var(--border); border-radius: var(--r-sm);
  background: var(--surface); color: var(--text); font-family: var(--ff); font-size: .92rem;
  transition: border-color .18s, box-shadow .18s; width: 100%; box-sizing: border-box;
}
.pf__input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.pf__input--sm { padding: 6px 10px; font-size: .85rem; }
textarea.pf__input { resize: vertical; }
select.pf__input { cursor: pointer; }
.pf__wrap { position: relative; }
.pf__wrap .pf__input { padding-right: 38px; }
.pf__eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--muted); padding: 0; line-height: 0; }
.pf__row { display: flex; align-items: center; gap: 10px; }
.pf__row--space { justify-content: space-between; }
.pf__check { display: flex; align-items: flex-start; gap: 8px; font-size: .87rem; cursor: pointer; line-height: 1.5; }
.pf__check input[type="checkbox"] { flex-shrink: 0; margin-top: 2px; accent-color: var(--primary); width: 15px; height: 15px; }
.req { color: var(--primary); }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }

/* Dropzone */
.dropzone { border: 2px dashed var(--border); border-radius: var(--r); padding: 28px; text-align: center; cursor: pointer; position: relative; transition: border-color .2s, background .2s; }
.dropzone:hover, .dropzone--active { border-color: var(--primary); background: var(--primary-soft); }
.dropzone__input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.dropzone__ui { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); pointer-events: none; }
.dropzone__ui svg { color: var(--primary); }
.dropzone__selected { color: var(--primary-dk); font-weight: 600; font-size: .85rem; margin-top: 6px; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: var(--r-sm); font-size: .88rem;
  font-family: var(--ff); font-weight: 600; border: 1.5px solid transparent;
  transition: background .15s, border-color .15s, color .15s, opacity .15s;
  cursor: pointer; white-space: nowrap;
}
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn--primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn--primary:hover { background: var(--primary-dk); border-color: var(--primary-dk); }
.btn--outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn--outline:hover { border-color: var(--primary); color: var(--primary); }
.btn--danger { background: var(--red-soft); color: var(--red); border-color: var(--red); }
.btn--danger:hover { background: var(--red); color: #fff; }
.btn--sm { padding: 5px 12px; font-size: .82rem; }
.btn--lg { padding: 12px 22px; font-size: .96rem; }
.btn--full { width: 100%; justify-content: center; }

/* ── Badges ──────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; padding: 2px 10px;
  border-radius: 20px; font-size: .74rem; font-family: var(--ff-mono);
  font-weight: 600; white-space: nowrap;
}
.badge--muted  { background: var(--surface-2); color: var(--muted); }
.badge--cyan   { background: var(--primary-soft); color: var(--primary-dk); }
.badge--green  { background: var(--green-soft); color: var(--green); }
.badge--red    { background: var(--red-soft); color: var(--red); }
.badge--orange { background: var(--orange-soft); color: var(--orange); }
.badge--blue   { background: var(--blue-soft); color: var(--blue); }
.badge--purple { background: var(--purple-soft); color: var(--purple); }
[data-theme="dark"] .badge--green  { background: rgba(56,161,105,.15); color: #68d391; }
[data-theme="dark"] .badge--red    { background: rgba(229,62,62,.15); color: #fc8181; }
[data-theme="dark"] .badge--orange { background: rgba(221,107,32,.15); color: #f6ad55; }

/* ── Notices ─────────────────────────────────────────────── */
.notice, .flash {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; border-radius: var(--r-sm); font-size: .9rem;
}
.notice--success, .flash--success { background: var(--green-soft); border: 1px solid #86efac; color: #166534; }
.notice--error   { background: var(--red-soft); border: 1px solid #fca5a5; color: #991b1b; }
.notice--warning, .flash--warning { background: var(--orange-soft); border: 1px solid #fcd34d; color: #92400e; }
.notice--info, .flash--info { background: var(--blue-soft); border: 1px solid #93c5fd; color: #1e40af; }
.flash { position: sticky; top: 0; z-index: 10; margin-bottom: 16px; }
.flash__close { margin-left: auto; background: none; border: none; cursor: pointer; font-size: 1rem; color: inherit; opacity: .7; }

/* ── Stats ───────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 18px 16px; display: flex; flex-direction: column; gap: 6px; transition: box-shadow .2s, border-color .2s; }
.stat:hover { box-shadow: var(--shadow); border-color: var(--primary); }
.stat--alert { border-color: var(--primary); }
.stat__icon { color: var(--primary); }
.stat__val { font-family: var(--ff-head); font-size: 1.7rem; font-weight: 800; }
.stat__label { font-size: .8rem; color: var(--muted); }

/* ── Table ───────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.table th { text-align: left; padding: 8px 12px; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--border); }
.table td { padding: 10px 12px; border-bottom: 1px solid var(--border); }
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover td { background: var(--surface-2); }

/* ── Filters ─────────────────────────────────────────────── */
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filter { padding: 5px 14px; border-radius: 20px; border: 1.5px solid var(--border); font-size: .83rem; font-weight: 600; color: var(--muted); transition: all .18s; }
.filter:hover, .filter.is-active { border-color: var(--primary); color: var(--primary-dk); background: var(--primary-soft); }
.filter__cnt { font-family: var(--ff-mono); font-size: .72rem; }

/* ── Project cards ───────────────────────────────────────── */
.project-list { display: flex; flex-direction: column; gap: 10px; }
.project-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; transition: box-shadow .2s; }
.project-card:hover { box-shadow: var(--shadow); }
.project-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.project-card__title { font-family: var(--ff-head); font-weight: 700; }
.project-card__meta { font-size: .8rem; color: var(--muted); margin-top: 3px; }
.project-card__counts { display: flex; gap: 16px; font-size: .82rem; color: var(--muted); }
.project-card__counts span { display: flex; align-items: center; gap: 4px; }
.project-card__actions { display: flex; gap: 8px; }

/* ── Offer card ──────────────────────────────────────────── */
.offer-card { border: 1px solid var(--border); border-radius: var(--r); padding: 16px; margin-bottom: 12px; }
.offer-card:last-child { margin-bottom: 0; }
.offer-card--accepted { border-color: var(--green); background: var(--green-soft); }
.offer-card--rejected { opacity: .65; }
.offer-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.offer-card__title { font-weight: 700; }
.offer-card__date { font-size: .78rem; color: var(--muted); }
.offer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; font-size: .88rem; }
.offer-card__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }

/* ── Timeline ────────────────────────────────────────────── */
.timeline { display: flex; flex-wrap: wrap; gap: 0; margin-top: 12px; }
.timeline__step { display: flex; flex-direction: column; align-items: center; gap: 5px; flex: 1; min-width: 72px; padding: 0 2px 12px; position: relative; }
.timeline__step::before { content: ''; position: absolute; top: 11px; left: 50%; width: 100%; height: 2px; background: var(--border); z-index: 0; }
.timeline__step:last-child::before { display: none; }
.timeline__dot { width: 24px; height: 24px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; z-index: 1; flex-shrink: 0; }
.timeline__step.is-done .timeline__dot { background: var(--primary); border-color: var(--primary); color: #fff; }
.timeline__step.is-done::before { background: var(--primary); }
.timeline__step.is-current .timeline__dot { background: var(--primary-soft); border-color: var(--primary); color: var(--primary-dk); box-shadow: 0 0 0 3px var(--primary-soft); }
.timeline__label { font-size: .66rem; color: var(--muted); text-align: center; line-height: 1.3; }
.timeline__step.is-current .timeline__label { color: var(--primary-dk); font-weight: 700; }
.timeline__step.is-done .timeline__label { color: var(--text-2); }
.timeline__date { font-size: .65rem; color: var(--muted); font-family: var(--ff-mono); }

/* ── Detail grid ─────────────────────────────────────────── */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.detail-item { display: flex; flex-direction: column; gap: 2px; font-size: .9rem; }
.detail-item__label { font-size: .76rem; color: var(--muted); font-family: var(--ff-mono); }

/* ── Messages ────────────────────────────────────────────── */
.msg-layout { display: grid; grid-template-columns: 200px 1fr; gap: 16px; align-items: start; }
.msg-projects { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.msg-projects__title { font-size: .8rem; font-weight: 600; color: var(--muted); padding: 4px 12px; margin-bottom: 6px; }
.msg-project-item { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-radius: var(--r-sm); font-size: .86rem; transition: background .15s; }
.msg-project-item:hover, .msg-project-item.is-active { background: var(--primary-soft); color: var(--primary-dk); }
.msg-project-item__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 130px; }
.msg-thread-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px; display: flex; flex-direction: column; }
.msg-thread-head { font-family: var(--ff-head); font-weight: 700; font-size: .96rem; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.msg-thread { display: flex; flex-direction: column; gap: 10px; max-height: 360px; overflow-y: auto; margin-bottom: 16px; padding: 2px; }
.msg { display: flex; }
.msg--admin { justify-content: flex-start; }
.msg--user  { justify-content: flex-end; }
.msg__bubble { max-width: 78%; padding: 10px 14px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--border); }
.msg--admin .msg__bubble { background: var(--primary-soft); border-color: var(--primary); border-radius: 4px var(--r) var(--r) var(--r); }
.msg--user .msg__bubble { border-radius: var(--r) 4px var(--r) var(--r); }
.msg__sender { font-weight: 700; font-size: .78rem; margin-bottom: 4px; color: var(--primary-dk); }
.msg--user .msg__sender { color: var(--text-2); }
.msg__text { font-size: .9rem; line-height: 1.5; }
.msg__att { display: flex; align-items: center; gap: 4px; font-size: .8rem; margin-top: 6px; }
.msg__date { font-size: .7rem; color: var(--muted); margin-top: 5px; font-family: var(--ff-mono); }
.msg-compose { border-top: 1px solid var(--border); padding-top: 14px; }
.msg-compose__footer { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.msg-attach-label { display: flex; align-items: center; gap: 6px; font-size: .84rem; color: var(--muted); cursor: pointer; padding: 5px 10px; border-radius: var(--r-sm); border: 1.5px solid var(--border); transition: border-color .18s; }
.msg-attach-label:hover { border-color: var(--primary); color: var(--primary); }

/* ── File rows ───────────────────────────────────────────── */
.file-list { display: flex; flex-direction: column; }
.file-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.file-row:last-child { border-bottom: none; }
.file-row__icon { color: var(--primary); flex-shrink: 0; }
.file-row__info { flex: 1; min-width: 0; }
.file-row__name { font-weight: 600; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Profile ─────────────────────────────────────────────── */
.profile-avatar { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.profile-avatar__circle { width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--ff-head); font-size: 1.3rem; font-weight: 800; flex-shrink: 0; }
.profile-avatar__name { font-family: var(--ff-head); font-weight: 700; font-size: 1.05rem; }
.profile-avatar__email { font-size: .85rem; color: var(--muted); margin-top: 3px; }

/* ── Empty state ─────────────────────────────────────────── */
.empty { text-align: center; padding: 48px 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty__icon { width: 56px; height: 56px; background: var(--surface-2); border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center; color: var(--primary); }
.empty h3 { font-family: var(--ff-head); font-size: 1.05rem; }
.empty p { color: var(--muted); max-width: 320px; }

/* ── Misc ────────────────────────────────────────────────── */
.link { color: var(--primary-dk); font-weight: 600; transition: opacity .15s; }
.link:hover { opacity: .75; text-decoration: underline; }
.muted { color: var(--muted); }
.small { font-size: .82rem; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 860px) {
  .panel-sidebar { position: fixed; left: 0; top: 0; height: 100vh; transform: translateX(-100%); }
  .panel-sidebar.is-open { transform: translateX(0); }
  .panel-sidebar.is-open ~ .sidebar-overlay { display: block; }
  .sidebar-toggle { display: flex; }
  .panel-main { padding: 20px 16px 80px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .pf-grid, .pf--grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .msg-layout { grid-template-columns: 1fr; }
  .offer-details { grid-template-columns: 1fr; }
  .auth-perks { grid-template-columns: 1fr; }
  .timeline__label { font-size: .58rem; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .auth-card { padding: 22px 16px; }
  .timeline__step { min-width: 58px; }
}
