/* v2 design system: one minimalist app on every screen size, themed per role.
   Loaded last; overrides styles.css + app-shell.css. body[data-role] = guest | client | freelancer | admin. */
:root {
  --bg: #f6f6f3;
  --surface: #ffffff;
  --surface-2: #f1f1ed;
  --ink: #0f0f11;
  --ink-2: #4b4b53;
  --ink-3: #8b8b94;
  --line: #ececE8;
  --line-2: #e2e2dd;
  --accent: #5b4cff;
  --accent-soft: #eeecff;
  --accent-ink: #3f31d9;
  --red: #e5372b;
  --red-soft: #fdecea;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(15, 15, 17, .04), 0 2px 10px rgba(15, 15, 17, .035);
  --shadow-lg: 0 24px 60px rgba(15, 15, 17, .16);
  --side: 248px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
body[data-role="freelancer"] { --accent: #0e8f6a; --accent-soft: #e3f5ee; --accent-ink: #0a6e51; }
body[data-role="admin"] { --accent: #2f6fed; --accent-soft: #e8efff; --accent-ink: #1f55c4; }
body { background: var(--bg); letter-spacing: -.005em; }
::selection { background: var(--accent-soft); }

/* ---------- Surfaces ---------- */
.card { border: 0; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--surface); }
.app-mode .card:active, .app-mode .list-item:active, .app-mode .ios-row:active, .app-mode .thread:active { background: var(--surface-2); }
.ios-group { border: 0; box-shadow: var(--shadow); border-radius: var(--radius); }
.ios-row { border-bottom-color: var(--line); }
.ios-ico { background: var(--accent-soft); color: var(--accent); border-radius: 10px; }
.note { border-radius: 14px; background: var(--accent-soft); color: var(--accent-ink); }
.note.warn { background: var(--amber-soft); color: var(--amber); }
.note.bad { background: var(--red-soft); color: #b42318; }
.note.plain { background: var(--surface-2); color: var(--ink-2); }
.chip { border-radius: 999px; background: var(--surface-2); border: 0; }
.chip-accent { background: var(--accent-soft); color: var(--accent); }
.verified { color: var(--accent); }
.status { border-radius: 999px; font-weight: 650; letter-spacing: -.005em; }

/* ---------- Buttons ---------- */
.btn { border-radius: 14px; font-weight: 650; letter-spacing: -.01em; transition: transform .12s var(--ease), background .15s, opacity .15s; }
.btn-lg { height: 52px; font-size: 16px; border-radius: 16px; }
.btn-dark { background: var(--ink); }
.btn-accent, .btn-go { background: var(--accent); color: #fff; border: 0; }
.btn-go:hover { background: var(--accent-ink); }
.btn-ghost { background: var(--surface); border: 1px solid var(--line-2); }
.btn-soft { background: var(--accent-soft); color: var(--accent-ink); border: 0; }
.btn-danger { background: var(--red-soft); color: #b42318; border: 0; }
.btn:active { transform: scale(.97); }
.input, .textarea, .select, select.input { border-radius: 14px; border-color: var(--line-2); background: var(--surface); }
.input:focus, .textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); outline: 0; }
.seg label { border-radius: 14px; }

/* ---------- App bar ---------- */
.abar { background: rgba(246, 246, 243, .86); }
.abar-root .abar-title { font-size: 32px; letter-spacing: -.04em; }
.abar-home .logo { font-size: 22px; letter-spacing: -.045em; }
.logo-mark::after { background: var(--accent); }
.abar .avatar-btn .avatar { box-shadow: 0 0 0 2px var(--surface); }
.dot-badge { background: var(--red); }
.badge { background: var(--red); }

/* ---------- Tab bar (phones) ---------- */
.tabbar { background: rgba(255, 255, 255, .92); border-top-color: var(--line); }
.tabbar a { color: #a2a2aa; font-weight: 600; }
.tabbar a.on { color: var(--accent); }
.tabbar a.center .tb-ico { background: var(--accent); border-radius: 14px; box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 35%, transparent); }
.tabbar .side-brand, .tabbar .side-foot { display: none; }

/* ---------- Home / Today ---------- */
.hello { font-size: 32px; letter-spacing: -.045em; }
.hello-sub { color: var(--ink-3); font-size: 15px; margin-top: 2px; }
.hero-card { position: relative; overflow: hidden; border-radius: 24px; padding: 20px; color: #fff; background: var(--ink); box-shadow: var(--shadow-lg); margin-top: 18px; }
.hero-card::after { content: ''; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 70%, transparent), transparent 70%); opacity: .55; pointer-events: none; }
.hero-card .eyebrow-s { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.hero-card h3 { font-size: 22px; font-weight: 800; letter-spacing: -.03em; margin: 6px 0 4px; }
.hero-card .meta { color: rgba(255, 255, 255, .72); font-size: 14px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.hero-card .meta span { display: inline-flex; align-items: center; gap: 5px; }
.hero-card .btn { background: #fff; color: var(--ink); margin-top: 16px; }
.hero-card .btn.btn-go { background: var(--accent); color: #fff; }
.hero-card .row .btn { margin-top: 16px; }
.hero-card .count { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 34px; letter-spacing: -.04em; margin-top: 8px; }
.hero-card.live { background: linear-gradient(135deg, var(--accent-ink), var(--accent)); }
.hero-card.live::after { background: radial-gradient(circle, rgba(255, 255, 255, .5), transparent 70%); opacity: .25; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #3ee08f; display: inline-block; box-shadow: 0 0 0 0 rgba(62, 224, 143, .7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(62, 224, 143, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 224, 143, 0); } }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.kpi { background: var(--surface); border-radius: 18px; padding: 14px; box-shadow: var(--shadow); min-width: 0; }
.kpi b { display: block; font-size: 19px; letter-spacing: -.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi span { font-size: 12px; color: var(--ink-3); font-weight: 500; }
.task { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); }
.task .t-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.task .t-ico.warn { background: var(--amber-soft); color: var(--amber); }
.task .t-ico.bad { background: var(--red-soft); color: var(--red); }
.task .grow { flex: 1; min-width: 0; }
.task b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.task small { color: var(--ink-3); font-size: 13px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.empty-s { text-align: center; padding: 26px 16px; color: var(--ink-3); background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); font-size: 14px; }
.empty-s .ico { width: 44px; height: 44px; border-radius: 14px; margin: 0 auto 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.seg-tabs { display: flex; gap: 4px; background: var(--surface-2); border-radius: 14px; padding: 4px; margin: 4px 0 16px; overflow-x: auto; scrollbar-width: none; }
.seg-tabs::-webkit-scrollbar { display: none; }
.seg-tabs a, .seg-tabs button { flex: 1; text-align: center; border: 0; background: none; border-radius: 10px; padding: 8px 12px; font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; cursor: pointer; }
.seg-tabs .on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.seg-tabs .n { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; margin-left: 4px; }

/* ---------- Badges (trust) ---------- */
.trust-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tbadge { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 650; background: var(--surface-2); color: var(--ink-3); }
.tbadge.on { background: var(--accent-soft); color: var(--accent-ink); }

/* ---------- Contract: schedule, live session, timesheet ---------- */
.k-head { padding: 6px 0 4px; }
.k-head h1 { font-size: 26px; font-weight: 800; letter-spacing: -.035em; margin: 10px 0 4px; }
.sched { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); margin: 14px 0; }
.sched > div { background: var(--surface); padding: 12px 14px; min-width: 0; }
.sched span { font-size: 12px; color: var(--ink-3); display: block; }
.sched b { font-size: 14.5px; display: block; }
.sched .full { grid-column: 1 / -1; }
.live-card { border-radius: 22px; padding: 18px; background: var(--surface); box-shadow: var(--shadow); margin: 14px 0; }
.live-card.on { background: linear-gradient(135deg, var(--accent-ink), var(--accent)); color: #fff; }
.live-card.on .muted { color: rgba(255, 255, 255, .72); }
.live-card .timer { font-size: 40px; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1.1; margin: 4px 0; }
.live-card .btn-row { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.live-card .btn-row .btn { flex: 1; min-width: 140px; }
.live-card.on .btn-ghost { background: rgba(255, 255, 255, .16); color: #fff; border-color: transparent; }
.live-card.on .btn-dark { background: #fff; color: var(--ink); }
.vtag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 9px; background: var(--accent-soft); color: var(--accent-ink); }
.vtag.no { background: var(--amber-soft); color: var(--amber); }
.live-card.on .vtag { background: rgba(255, 255, 255, .2); color: #fff; }
.code-digits { display: flex; justify-content: center; gap: 10px; margin: 18px 0 10px; }
.code-digits span { width: 62px; height: 78px; border-radius: 18px; background: var(--surface-2); display: grid; place-items: center; font-size: 42px; font-weight: 800; font-variant-numeric: tabular-nums; }
.code-bar { height: 5px; border-radius: 3px; background: var(--surface-2); overflow: hidden; margin: 8px auto 0; max-width: 280px; }
.code-bar i { display: block; height: 100%; background: var(--accent); transition: width 1s linear; }
.code-input { width: 100%; height: 72px; text-align: center; font-size: 40px; font-weight: 800; letter-spacing: .5em; padding-left: .5em; border-radius: 18px; border: 2px solid var(--line-2); background: var(--surface-2); font-variant-numeric: tabular-nums; }
.code-input:focus { border-color: var(--accent); outline: 0; background: var(--surface); }
.ot-chips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 12px 0; }
.ot-chips label { position: relative; }
.ot-chips input { position: absolute; opacity: 0; }
.ot-chips span { display: flex; flex-direction: column; align-items: center; padding: 10px 2px; font-size: 14.5px; border-radius: 14px; background: var(--surface-2); font-weight: 700; cursor: pointer; }
.ot-chips span small { font-weight: 500; color: var(--ink-3); font-size: 10.5px; white-space: nowrap; }
.ot-chips input:checked + span { background: var(--accent); color: #fff; }
.ot-chips input:checked + span small { color: rgba(255, 255, 255, .8); }
.tsheet .row-s { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.tsheet .row-s:last-child { border-bottom: 0; }
.tsheet .row-s .grow { flex: 1; min-width: 0; }
.tsheet small { color: var(--ink-3); font-size: 12.5px; }
.sum-strip { display: flex; gap: 16px; padding: 12px 16px; background: var(--surface-2); font-size: 13px; color: var(--ink-2); flex-wrap: wrap; }
.sum-strip b { color: var(--ink); }

/* ---------- Calendar ---------- */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 10px; }
.cal-head b { font-size: 18px; letter-spacing: -.02em; }
.cal { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); padding: 10px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-grid .dow { font-size: 11px; font-weight: 700; color: var(--ink-3); text-align: center; padding: 4px 0 6px; }
.cal-grid button { aspect-ratio: 1; border: 0; background: none; border-radius: 12px; font-weight: 600; font-size: 14px; position: relative; cursor: pointer; color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
.cal-grid button.out { color: #c7c7cc; }
.cal-grid button.today { color: var(--accent); }
.cal-grid button.sel { background: var(--ink); color: #fff; }
.cal-grid button.off { background: repeating-linear-gradient(135deg, var(--surface-2) 0 4px, transparent 4px 8px); }
.cal-grid button.sel.off { background: var(--ink); }
.cal-grid .dots { display: flex; gap: 3px; height: 5px; }
.cal-grid .dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.cal-grid .dots i.due { background: var(--amber); }
.cal-grid button.sel .dots i { background: #fff; }
.agenda { display: grid; gap: 8px; margin-top: 14px; }
.ev { display: flex; gap: 12px; align-items: stretch; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow); padding: 12px 14px; }
.ev .bar { width: 4px; border-radius: 2px; background: var(--accent); flex: none; }
.ev.due .bar { background: var(--amber); }
.ev.off .bar { background: var(--ink-3); }
.ev .time { width: 62px; flex: none; font-size: 13px; font-weight: 700; }
.ev .time small { display: block; color: var(--ink-3); font-weight: 500; }
.ev .grow { flex: 1; min-width: 0; }
.day-h { font-size: 13px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; margin: 16px 4px 4px; }

/* ---------- Notifications ---------- */
.nlist { display: grid; gap: 2px; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.nitem { display: flex; gap: 12px; padding: 14px 16px; align-items: flex-start; position: relative; }
.nitem + .nitem { border-top: 1px solid var(--line); }
.nitem .n-ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2); flex: none; }
.nitem.unread .n-ico { background: var(--accent-soft); color: var(--accent); }
.nitem.unread::after { content: ''; position: absolute; right: 16px; top: 20px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.nitem .grow { flex: 1; min-width: 0; padding-right: 14px; }
.nitem b { font-size: 14.5px; display: block; }
.nitem p { font-size: 13.5px; color: var(--ink-2); margin-top: 2px; }
.nitem small { font-size: 12px; color: var(--ink-3); }

/* ---------- Verification ---------- */
.vstep { display: flex; gap: 14px; padding: 16px; align-items: flex-start; }
.vstep + .vstep { border-top: 1px solid var(--line); }
.vstep .v-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-3); flex: none; }
.vstep.done .v-ico { background: var(--accent); color: #fff; }
.vstep.wait .v-ico { background: var(--amber-soft); color: var(--amber); }
.vstep .grow { flex: 1; min-width: 0; }
.vstep form { margin-top: 10px; display: flex; gap: 8px; }
.vstep form .input { flex: 1; min-width: 0; }
.id-preview { width: 100%; max-width: 360px; border-radius: 14px; margin-top: 10px; background: var(--surface-2); }

/* ---------- Admin console ---------- */
body[data-role="admin"] .kpis { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.queue { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.queue a { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); }
.queue a b { font-size: 24px; letter-spacing: -.03em; display: block; color: var(--ink); }
.queue a > span:last-child > span { font-size: 13px; color: var(--ink-3); }
.queue .q-ico { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.queue .hot .q-ico { background: var(--red-soft); color: var(--red); }
.idcard { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 16px; }
.idcard .id-img { width: 180px; aspect-ratio: 1.58; border-radius: 12px; background: var(--surface-2); object-fit: cover; cursor: zoom-in; }

/* ---------- Modals: centred cards on wide screens, sheets on phones ---------- */
.modal { border-radius: 24px; box-shadow: var(--shadow-lg); }
.modal-bg { background: rgba(15, 15, 17, .38); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: fadeIn .2s ease; }
.toast { border-radius: 14px; background: var(--ink); }

/* ---------- Wide screens: sidebar app layout (no website chrome) ---------- */
@media (min-width: 900px) {
  body.app-mode { padding-left: var(--side); }
  .app-mode .tabbar { top: 0; bottom: 0; right: auto; width: var(--side); flex-direction: column; justify-content: flex-start; gap: 2px; padding: 18px 12px; border-top: 0; border-right: 1px solid var(--line); background: var(--surface); }
  .app-mode .tabbar .side-brand { display: flex; padding: 6px 12px 22px; }
  .app-mode .tabbar a { flex: none; flex-direction: row; justify-content: flex-start; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 12px; font-size: 14.5px; color: var(--ink-2); }
  .app-mode .tabbar a:hover { background: var(--surface-2); }
  .app-mode .tabbar a.on { background: var(--accent-soft); color: var(--accent-ink); }
  .app-mode .tabbar a.center .tb-ico { width: auto; height: auto; background: none; box-shadow: none; color: inherit; border-radius: 0; }
  .app-mode .tabbar a.center { background: var(--accent); color: #fff; margin: 8px 0; }
  .app-mode .tabbar .badge { position: static; margin-left: auto; }
  .app-mode .tabbar .side-foot { display: flex; margin-top: auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; }
  .app-mode .tabbar .side-foot:hover { background: var(--surface-2); }
  .app-mode .tabbar .side-foot .grow { flex: 1; min-width: 0; font-size: 13.5px; }
  .app-mode.no-tabs main, .app-mode main { padding-bottom: 60px; }
  .app-mode.has-dock main { padding-bottom: 130px; }
  .app-mode main, .app-mode .abar, .app-mode .offline-bar { max-width: 860px; margin-left: auto; margin-right: auto; }
  .app-mode .abar { padding-left: 16px; padding-right: 16px; background: rgba(246, 246, 243, .9); }
  .app-mode .abar-root .abar-title { padding-left: 0; }
  body[data-role="admin"].app-mode main, body[data-role="admin"].app-mode .abar { max-width: 1180px; }
  .app-mode #dock { left: var(--side); background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; pointer-events: none; padding-bottom: 20px; }
  .app-mode #dock > * { max-width: 560px; margin: 0 auto; pointer-events: auto; background: rgba(255, 255, 255, .96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: 20px; padding: 12px; box-shadow: var(--shadow-lg); }
  .app-mode #dock > .composer { max-width: 760px; }
  .app-mode .modal-bg { align-items: center; padding: 24px; }
  .app-mode .modal { max-width: 520px; border-radius: 24px; padding: 24px; animation: popUp .25s var(--ease); }
  .app-mode .modal::before { display: none; }
  .app-mode .toast { bottom: 28px; left: calc(50% + var(--side) / 2); }
  .app-mode .grid-2c, .app-mode .grid-2 { grid-template-columns: 1fr 1fr; }
  .app-mode .stat-row { grid-template-columns: repeat(4, 1fr); }
  .app-mode .qgrid { max-width: 520px; }
  .app-mode .portfolio { margin: 0; gap: 6px; }
  .app-mode .portfolio .item { border-radius: 12px; }
  /* Detail pages: keep one readable column; the side card flows below the content. */
  .app-mode .profile-grid { grid-template-columns: 1fr; }
  body[data-role="admin"] .tabbar { background: #111114; border-right-color: #111114; }
  body[data-role="admin"] .tabbar a { color: #a3a3ad; }
  body[data-role="admin"] .tabbar a:hover { background: #1d1d22; }
  body[data-role="admin"] .tabbar a.on { background: #26262d; color: #fff; }
  body[data-role="admin"] .tabbar .logo { color: #fff; }
  body[data-role="admin"] .tabbar .side-foot { color: #d6d6dc; }
  body[data-role="admin"] .tabbar .side-foot:hover { background: #1d1d22; }
}
@keyframes popUp { from { transform: translateY(12px) scale(.98); opacity: 0; } }
@media (max-width: 899px) { .desk-only { display: none !important; } }
@media (min-width: 900px) { .phone-only { display: none !important; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (max-width: 899px) { .app-mode.no-tabs .tabbar { display: none; } }
.live-card.on .btn-go { background: #fff; color: var(--accent-ink); }
.live-card.on .note.warn { background: rgba(255, 255, 255, .95); }
@media (min-width: 900px) { .app-mode .tabbar .side-brand { font-size: 20px; font-weight: 800; letter-spacing: -.04em; color: var(--ink); gap: 10px; } .app-mode .tabbar .side-brand:hover { background: none; } }
@media (min-width: 900px) { body[data-role="admin"] .tabbar .logo-mark { background: #fff; } body[data-role="admin"] .tabbar .side-brand { color: #fff; } }
#hireWhen .three, #jobWhen .three { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
#hireWhen .three > :first-child, #jobWhen .three > :first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { #hireWhen .three, #jobWhen .three { grid-template-columns: 1.4fr 1fr 1fr; } #hireWhen .three > :first-child, #jobWhen .three > :first-child { grid-column: auto; } }
.ms-row { display: grid; grid-template-columns: 1fr 110px 36px; gap: 8px; margin-bottom: 8px; align-items: center; }
.fav-btn { flex: 0 0 auto !important; width: auto; padding: 0 14px; gap: 6px; }
.fav-btn.on { color: #e5372b; border-color: #f6c9c5; background: #fff5f4; }
.note.bad .btn-danger { background: #fff; }
.note > svg { flex: none; margin-top: 2px; }
@media (max-width: 899px) { #dock .fav-btn .fav-l { display: none; } #dock .fav-btn { width: 48px; padding: 0; justify-content: center; } #dock .cta-row .btn-lg { min-width: 0; } }
.rel-chip { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 650; white-space: nowrap; }
.rel-chip.good { background: var(--accent-soft); color: var(--accent-ink); }
.rel-chip.plain { background: var(--surface-2); color: var(--ink-3); }
.rel-chip.warn { background: var(--amber-soft); color: var(--amber); }
.rel-chip.bad { background: var(--red-soft); color: #b42318; }
.rel-line.warn { color: var(--amber); } .rel-line.bad { color: #b42318; }
.app-mode .profile-id .row.wrap-row { justify-content: center; }
.safety-bar { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.safety-bar .btn { flex: 1; min-width: 130px; background: var(--surface-2); color: var(--ink); border: 0; }
.safety-bar .btn.sos { background: var(--red-soft); color: #b42318; }
.live-card.on .safety-bar .btn, .hero-card .safety-bar .btn { background: rgba(255, 255, 255, .16); color: #fff; margin-top: 0; }
.live-card.on .safety-bar .btn.sos, .hero-card .safety-bar .btn.sos { background: #e5372b; color: #fff; }
.sos-call { height: 60px; font-size: 17px; background: #e5372b !important; color: #fff !important; }
.sos-card { box-shadow: 0 0 0 2px #f6c9c5, var(--shadow); }
.safety-bar .btn svg, .btn svg { flex: none; }
