/* ==========================================================================
   Platform page · 6 — A field app that tells officers what to do next
   "Tap through it", one moment at a time:
       heading + sub                       ┌──────────┐
       ▬ ▭ ▭ ▭ ▭   five-part progress      │  phone   │  one glowing target
       Tasks come to the officer           │ (.is-hot)│  per moment
       the point this moment proves        │          │
       [Next →]                            └──────────┘
   The phone is the home page's device (story.css .fp-*), re-scoped here
   as .fa-*. Moments, screens and timing: js/platform/field.js.
   Prefixed .fa- and scoped to .fa.
   ========================================================================== */

/* A dark band in both themes, like the home platform section: its own
   tokens, a soft gradient mesh and grain. The phone keeps the page theme's
   own screen (light screen on the dark band in the light theme). */
.fa {
  --fa-bg:     #071735;
  --fa-glow-a: rgba(55,138,221,0.28);
  --fa-glow-b: rgba(21,101,192,0.20);
  --fa-glow-c: rgba(79,209,176,0.08);

  --text-primary:   #F1F6FD;
  --text-secondary: #A9BBD6;
  --text-muted:     #7A8DAB;
  --surface:        #0B1F42;
  --surface-raised: #0B1F42;
  --border:         rgba(255,255,255,0.09);
  --border-strong:  rgba(255,255,255,0.18);
  --accent:         #6FB1F2;
  --accent-text:    #9DC9F6;
  --accent-soft:    rgba(111,177,242,0.14);
  --accent-line:    rgba(157,201,246,0.45);
  --good:           #5AD8B6;
  --good-soft:      rgba(90,216,182,0.14);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(80px, 10vw, 136px) var(--page-px);
  background: var(--fa-bg);
  color: var(--text-secondary);
}
:root[data-theme="dark"] .fa {
  --fa-bg:     #030B1C;
  --fa-glow-a: rgba(55,138,221,0.24);
  --fa-glow-b: rgba(21,101,192,0.18);
}
.fa::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 60% at 80% 35%, var(--fa-glow-a), transparent 70%),
    radial-gradient(ellipse 45% 50% at 5% 95%, var(--fa-glow-b), transparent 70%),
    radial-gradient(ellipse 30% 35% at 60% 80%, var(--fa-glow-c), transparent 70%);
}
.fa::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* the phone's screen: light theme gets the light app back */
.fa-screen {
  --ph-screen: #FFFFFF;
  --ph-card:   #F5F8FC;
  --ph-line:   rgba(13,27,42,0.08);
  --text-primary:   #0D1B2A;
  --text-secondary: #4A5568;
  --text-muted:     #8A95A3;
  --surface:        #FFFFFF;
  --border:         rgba(0,0,0,0.08);
  --border-strong:  rgba(0,0,0,0.14);
  --accent:      var(--blue-600);
  --accent-text: var(--blue-700);
  --accent-soft: var(--blue-50);
  --accent-line: var(--blue-200);
  --good:      #12806A;
  --good-soft: #DDF3EC;
}
:root[data-theme="dark"] .fa-screen {
  --ph-screen: #0B1F42;
  --ph-card:   #10294F;
  --ph-line:   rgba(255,255,255,0.08);
  --text-primary:   #EEF4FC;
  --text-secondary: #A7B6CC;
  --text-muted:     #7C8BA3;
  --surface:        #061530;
  --border:         rgba(255,255,255,0.08);
  --border-strong:  rgba(255,255,255,0.18);
  --accent:      var(--blue-400);
  --accent-text: var(--blue-200);
  --accent-soft: rgba(55,138,221,0.16);
  --accent-line: rgba(147,190,240,0.45);
  --good:      #4FD1B0;
  --good-soft: rgba(79,209,176,0.14);
}

.fa-inner { max-width: var(--container); margin: 0 auto; }
.fa-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.fa-head { display: flex; flex-direction: column; gap: 14px; }
.fa-title { font-size: var(--fs-section-title); font-weight: 600; line-height: 1.12; letter-spacing: -0.03em; text-wrap: balance; }
.fa-title em { font-style: normal; color: var(--accent); }
.fa-sub { font-size: var(--fs-section-sub); line-height: 1.6; color: var(--text-secondary); }

/* ─── The story: progress, one caption, next ──────────────────────────── */
.fa-story { margin-top: clamp(32px, 4vw, 48px); }
.fa-prog { display: flex; gap: 6px; max-width: 360px; }
.fa-seg {
  flex: 1;
  height: 20px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.fa-seg span {
  display: block;
  height: 3px;
  background: var(--border-strong);
  border-radius: 3px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.fa-seg:hover span { transform: scaleY(1.7); }
.fa-seg.is-done span { background: var(--accent-line); }
.fa-seg.is-on span { background: var(--accent); }
.fa-seg:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

/* the captions share one cell, so switching never moves the layout */
.fa-caps { display: grid; margin-top: 18px; }
.fa-cap { grid-area: 1 / 1; }
html.has-js .fa-cap { opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.3s ease, transform 0.35s var(--ease-out), visibility 0s linear 0.3s; }
html.has-js .fa-cap.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 0.35s ease 0.08s, transform 0.4s var(--ease-out) 0.08s, visibility 0s; }
html:not(.has-js) .fa-cap + .fa-cap { grid-area: auto; margin-top: 18px; }
.fa-cap-title { font-family: var(--font-display); font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; letter-spacing: -0.02em; color: var(--text-primary); }
.fa-cap-text { max-width: 480px; margin-top: 8px; font-size: 15.5px; line-height: 1.65; color: var(--text-secondary); }

.fa-next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding: 10px 14px 10px 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.fa-next .ti { font-size: 16px; transition: transform 0.25s var(--ease-out); }
.fa-next:hover { color: var(--accent-text); border-color: var(--accent-line); }
.fa-next:hover .ti { transform: translateX(3px); }
.fa-next:active { transform: scale(0.97); }
.fa-next.is-replay .ti { transform: none; }
.fa-next.is-replay:hover .ti { transform: rotate(-120deg); }
.fa-next:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
html:not(.has-js) .fa-next, html:not(.has-js) .fa-prog { display: none; }

/* ─── Stage: the phone on a soft halo ─────────────────────────────────── */
.fa-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 0 8px;
}
.fa-hint { position: relative; margin-top: 22px; font-size: 12.5px; color: var(--text-muted); }

/* ─── Phone (the home page's device) ──────────────────────────────────── */
.fa-device {
  position: relative;
  z-index: 2;
  width: 284px;
  height: 584px;
  padding: 7px;
  background: #0C0F14;
  border-radius: 42px;
  box-shadow:
    0 0 0 1.5px #3A414B,
    0 0 0 3px #1A1E24,
    0 40px 80px -30px rgba(0,0,0,0.7),
    0 18px 36px -18px rgba(0,0,0,0.5);
}
:root[data-theme="dark"] .fa-device { box-shadow: 0 0 0 1.5px #4A5462, 0 0 0 3px #1A1E24, 0 40px 80px -30px rgba(0,0,0,0.8); }
.fa-btn { position: absolute; right: -4.5px; width: 3px; background: #2A2F37; border-radius: 0 2px 2px 0; }
.fa-btn--vol   { top: 110px; height: 64px; }
.fa-btn--power { top: 190px; height: 40px; }
.fa-screen {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--ph-screen);
  border-radius: 35px;
  color: var(--text-primary);
}
.fa-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 32%);
  pointer-events: none;
}
.fa-camera {
  position: absolute;
  top: 11px; left: 50%;
  z-index: 4;
  width: 10px; height: 10px;
  margin-left: -5px;
  background: #050607;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px #15191F;
}
.fa-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 32px;
  padding: 4px 20px 0 22px;
  font-size: 11.5px;
  font-weight: 500;
}
.fa-status-icons { display: flex; align-items: center; gap: 5px; }
.fa-status-icons .ti { font-size: 15px; }
.fa-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 10px; }
.fa-bars i { display: block; width: 3px; background: currentColor; border-radius: 1px; transition: opacity 0.3s ease; }
.fa-bars i:nth-child(1) { height: 3px; }
.fa-bars i:nth-child(2) { height: 5.5px; }
.fa-bars i:nth-child(3) { height: 8px; }
.fa-bars i:nth-child(4) { height: 10px; }
.fa-bars.is-off i { opacity: 0.22; }

/* heads-up notification */
.fa-push {
  position: absolute;
  top: 36px; left: 9px; right: 9px;
  z-index: 6;
  padding: 10px 14px 12px;
  background: var(--ph-screen);
  border-radius: 20px;
  box-shadow: 0 10px 28px -8px rgba(10,47,107,0.35), 0 0 0 1px var(--ph-line);
  transform: translateY(-130%);
  opacity: 0;
  transition: transform 0.45s var(--ease-out), opacity 0.3s ease;
  pointer-events: none;
}
:root[data-theme="dark"] .fa-push { background: #15305E; box-shadow: 0 10px 28px -8px rgba(0,0,0,0.6); }
.fa-push.is-shown { transform: none; opacity: 1; pointer-events: auto; cursor: pointer; }
.fa-push { display: block; width: auto; font: inherit; text-align: left; color: inherit; border: 0; }
.fa-push-meta { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: 10px; color: var(--text-muted); }
.fa-push b { display: block; font-size: 12px; font-weight: 600; line-height: 1.35; }

.fa-top { display: flex; justify-content: space-between; align-items: center; padding: 6px 16px 8px; }
.fa-app-title { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.4px; }
.fa-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  font-size: 10.5px;
  font-weight: 600;
  border-radius: 99px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.fa-pill-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.fa-pill[data-state="online"]  { background: var(--good-soft); color: var(--good); }
.fa-pill[data-state="offline"] { background: var(--warn-soft); color: var(--warn); }
.fa-pill[data-state="syncing"] { background: var(--accent-soft); color: var(--accent-text); }
.fa-pill[data-state="syncing"] .fa-pill-dot { animation: fa-blink 0.7s ease-in-out infinite alternate; }
@keyframes fa-blink { from { opacity: 0.35; } to { opacity: 1; } }

/* the app's screens */
.fa-app {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 2px 14px 14px;
  scrollbar-width: none;
  animation: fa-screen-in 0.28s var(--ease-out);
}
.fa-app::-webkit-scrollbar { display: none; }
.fa-app.is-swap { animation: none; }
@keyframes fa-screen-in { from { opacity: 0; transform: translateY(6px); } }

.fa-card { margin-top: 8px; padding: 11px 12px; background: var(--ph-card); border-radius: 12px; }
.fa-sum { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 11.5px; color: var(--text-secondary); }
.fa-sum b { color: var(--text-primary); font-weight: 600; }
.fa-meter { height: 6px; margin-top: 8px; overflow: hidden; background: var(--ph-line); border-radius: 99px; }
.fa-meter span { display: block; height: 100%; background: var(--good); border-radius: 99px; transition: width 0.5s var(--ease-out); }
.fa-meter .is-dl { width: 0; background: var(--accent); animation: fa-dl 1.3s var(--ease-out) forwards; }
@keyframes fa-dl { to { width: 100%; } }

.fa-rows { display: flex; flex-direction: column; gap: 7px; margin-top: 10px; }
.fa-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 10px 11px;
  font: inherit;
  text-align: left;
  color: inherit;
  background: var(--ph-screen);
  border: 1px solid var(--ph-line);
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.2s ease, transform 0.15s ease;
}
.fa-row:hover:not(:disabled) { border-color: var(--accent-line); }
.fa-row:active:not(:disabled) { transform: scale(0.98); }
.fa-row:disabled { background: var(--ph-card); border-color: transparent; cursor: default; }
.fa-row:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.fa-rows li.is-new .fa-row { animation: fa-row-in 0.5s var(--ease-out) both; border-color: var(--accent-line); }
@keyframes fa-row-in { from { opacity: 0; transform: translateY(-10px); } }
.fa-chip { flex: none; min-width: 58px; margin-top: 1px; padding: 3px 6px; font-size: 10px; font-weight: 600; text-align: center; border-radius: 6px; }
.fa-chip--collect { background: var(--accent-soft); color: var(--accent-text); }
.fa-chip--disb    { background: var(--good-soft);   color: var(--good); }
.fa-chip--ptp     { background: var(--warn-soft);   color: var(--warn); }
.fa-chip--ver     { background: var(--text-primary); color: var(--surface); }
.fa-chip--alert   { background: var(--ph-card); color: var(--text-secondary); box-shadow: inset 0 0 0 1px var(--ph-line); }
.fa-rbody { min-width: 0; flex: 1; }
.fa-rbody b     { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.25; }
.fa-rbody small { display: block; font-size: 10.5px; line-height: 1.35; color: var(--text-muted); }
.fa-state { display: inline-block; margin-top: 4px; font-family: var(--font-mono); font-size: 10px; font-weight: 500; }
.fa-state--due    { color: var(--accent-text); }
.fa-state--saved  { color: var(--warn); }
.fa-state--synced { color: var(--good); }

.fa-alert { margin-top: 8px; padding: 10px 12px; background: var(--ph-screen); border: 1px solid var(--ph-line); border-left: 3px solid var(--ph-line); border-radius: 10px; }
.fa-alert.is-unread { background: var(--accent-soft); border-color: transparent; border-left-color: var(--accent); }
.fa-alert b { display: block; font-size: 12.5px; font-weight: 600; }
.fa-alert p { margin-top: 2px; font-size: 11.5px; line-height: 1.4; color: var(--text-primary); }
.fa-alert small { display: block; margin-top: 2px; font-size: 10px; color: var(--text-muted); }

.fa-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 8px;
  padding: 6px 10px;
  font: inherit;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent-text);
  text-decoration: none;
  background: transparent;
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.fa-ghost:hover:not(:disabled) { background: var(--accent-soft); }
.fa-ghost:active:not(:disabled) { transform: scale(0.97); }
.fa-ghost:disabled { opacity: 0.4; cursor: default; }
.fa-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.fa-btns .fa-ghost { margin-top: 0; }

.fa-step { display: flex; align-items: center; gap: 9px; margin-top: 7px; padding: 9px 11px; font-size: 12px; font-weight: 600; background: var(--ph-screen); border: 1px solid var(--ph-line); border-radius: 10px; }
.fa-step .c { display: grid; place-items: center; flex: none; width: 18px; height: 18px; font-size: 11px; color: #FFFFFF; background: var(--good); border-radius: 50%; }
.fa-rows-apply .fa-step { animation: fa-row-in 0.4s var(--ease-out) both; animation-delay: calc(var(--i) * 70ms); }

.fa-tag { flex: none; padding: 2px 8px; font-size: 10px; font-weight: 600; border-radius: 99px; background: var(--ph-card); color: var(--text-muted); }
.fa-tag--ok   { background: var(--good-soft); color: var(--good); }
.fa-tag--warn { background: var(--warn-soft); color: var(--warn); }
.fa-list-title { margin: 14px 0 2px; font-size: 10.5px; font-weight: 700; color: var(--text-muted); }
.fa-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 6px; padding: 9px 11px; font-size: 11.5px; background: var(--ph-screen); border: 1px solid var(--ph-line); border-radius: 10px; }
.fa-item b { display: block; font-weight: 600; }
.fa-item small { display: block; font-size: 10px; color: var(--text-muted); }
.fa-item--block { display: block; }
.fa-note { margin-top: 10px; font-size: 10.5px; line-height: 1.45; color: var(--text-muted); }
.fa-card .fa-item { background: var(--ph-screen); }
.fa-menu-title { font-size: 12px; font-weight: 600; }

.fa-tabs { display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px 6px 2px; border-top: 1px solid var(--ph-line); }
.fa-tab {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 4px 0;
  font-size: 9.5px;
  color: var(--text-muted);
  border-radius: 10px;
  transition: color 0.15s ease;
}
.fa-tab b { font-weight: 500; }
.fa-tab .ti { font-size: 18px; }
.fa-tab.is-on { color: var(--accent-text); }
.fa-tab[data-act] { cursor: pointer; }
.fa-badge {
  position: absolute;
  top: 0; left: calc(50% + 5px);
  display: grid;
  place-items: center;
  min-width: 15px; height: 15px;
  padding: 0 4px;
  font-size: 9px;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--fa-red);
  border-radius: 99px;
  animation: fa-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.fa-badge[hidden] { display: none; }
@keyframes fa-pop { from { transform: scale(0); } }
.fa-gesture { flex: none; width: 96px; height: 4px; margin: 5px auto 8px; background: var(--text-primary); border-radius: 4px; opacity: 0.35; }

/* ─── The target: one glowing thing to tap per moment ───────────────────
   Scoped to .fa: other sections use .is-hot for their own states.        */
.fa .is-hot { position: relative; z-index: 2; animation: fa-hot 1.6s ease-in-out infinite; }
@keyframes fa-hot {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent), 0 0 0 1.5px var(--accent); }
  50%      { box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 0%, transparent), 0 0 0 1.5px var(--accent); }
}
.fa-tab.is-hot { color: var(--accent-text); }
.fa-pressed { transform: scale(0.96); transition: transform 0.12s ease; }

/* ─── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .fa-grid { grid-template-columns: minmax(0, 1fr); }
  .fa-side { display: contents; }
  .fa-head  { order: 1; }
  .fa-stage { order: 2; }
  .fa-story { order: 3; margin-top: 0; }
  .fa-prog { max-width: none; }
}
@media (max-width: 400px) {
  .fa-device { width: 268px; height: 556px; }
}

@media (prefers-reduced-motion: reduce) {
  .fa-push, .fa-cap, .fa-meter span, .fa-seg span { transition: none !important; }
  .fa-app, .fa-rows li.is-new .fa-row, .fa-rows-apply .fa-step, .fa-badge, .fa-item.is-new { animation: none !important; }
  .fa .is-hot { animation: none; box-shadow: 0 0 0 2px var(--accent); }
  .fa-meter .is-dl { animation: none; width: 100%; }
}

/* the banner keeps its own placement while it's the target */
.fa-push.is-hot { position: absolute; z-index: 6; }
/* application checks before they're ticked */
.fa-step .c { transition: background-color 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.fa-step.is-todo .c { color: transparent; background: transparent; box-shadow: inset 0 0 0 1.5px var(--border-strong); transform: scale(0.85); }
.fa-step.is-todo { color: var(--text-secondary); }
/* sync: items leaving the queue fold away */
.fa-item.is-out { animation: fa-out 0.4s var(--ease-out) forwards; }
@keyframes fa-out { to { opacity: 0; transform: translateX(12px); height: 0; margin: 0; padding-block: 0; border-width: 0; } }
.fa-item.is-new { animation: fa-row-in 0.45s var(--ease-out) both; border-color: var(--good); }

/* autoplay's finger: a soft touch dot that travels to the target and taps */
.fa-touch {
  position: absolute;
  left: 0; top: 0;
  z-index: 8;
  width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  background: rgba(13, 27, 42, 0.16);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.85), 0 4px 12px -4px rgba(13, 27, 42, 0.35);
  opacity: 0;
  transform: translate(var(--x, 0px), var(--y, 0px));
  transition: transform 0.65s cubic-bezier(0.45, 0, 0.2, 1), opacity 0.25s ease;
  pointer-events: none;
}
:root[data-theme="dark"] .fa-touch { background: rgba(255, 255, 255, 0.22); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5), 0 4px 12px -4px rgba(0, 0, 0, 0.5); }
.fa-touch.is-on { opacity: 1; }
.fa-touch::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
}
.fa-touch.is-press { animation: fa-press 0.3s ease-out; }
.fa-touch.is-press::after { animation: fa-ripple 0.5s ease-out; }
@keyframes fa-press  { 50% { scale: 0.8; } }
@keyframes fa-ripple { from { opacity: 0.8; transform: scale(0.6); } to { opacity: 0; transform: scale(1.9); } }

/* alerts: one grouped list, like the phone's own notifications.
   Unread is a dot and a heavier title, not a tinted, barred card. */
.fa-alerts {
  margin-top: 4px;
  background: var(--ph-screen);
  border: 1px solid var(--ph-line);
  border-radius: 14px;
  overflow: hidden;
}
.fa-al { display: flex; align-items: flex-start; gap: 10px; padding: 12px 12px 12px 11px; }
.fa-al + .fa-al { border-top: 1px solid var(--ph-line); }
.fa-al-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px; height: 30px;
  font-size: 16px;
  border-radius: 50%;
}
.fa-al-ico--good   { color: var(--good); background: var(--good-soft); }
.fa-al-ico--accent { color: var(--accent-text); background: var(--accent-soft); }
.fa-al-ico--muted  { color: var(--text-muted); background: var(--ph-card); }
.fa-al-body { flex: 1; min-width: 0; }
.fa-al-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.fa-al-top b { min-width: 0; font-size: 12.5px; font-weight: 500; line-height: 1.3; color: var(--text-primary); }
.fa-al-top small { flex: none; font-size: 10px; color: var(--text-muted); }
.fa-al.is-unread .fa-al-top b { font-weight: 700; }
.fa-al.is-unread .fa-al-top small { display: inline-flex; align-items: center; gap: 5px; color: var(--accent-text); font-weight: 600; }
.fa-al.is-unread .fa-al-top small::after { content: ''; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
.fa-al-body p { margin-top: 2px; font-size: 11.5px; line-height: 1.4; color: var(--text-secondary); }
.fa-al-act {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  padding: 6px 12px;
  font: inherit;
  font-size: 11.5px;
  font-weight: 600;
  color: #FFFFFF;
  background: var(--accent);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}
.fa-al-act .ti { font-size: 13px; }
