/* TrekAI landing: phone screen replicas.
   Every screen is the real app screen drawn at its real size (390 x 829 dp,
   Design System v3, Plus Jakarta Sans, Material icons) and scaled by
   256/390 into the phone's 256 x 544 screen. Generated by
   tool/landing_screens/build.py; edit that script, not the HTML in index.html. */

.ap {
  --g: #2F5D50; --g-tint: #E2E8E6; --bg: #F3F1EB; --surface: #fff; --soft: #E9EEE9;
  --line: #D6DDD7; --ink: #17201C; --muted: #68736D; --acc: #B86F3D; --acc-soft: #F2E4DA;
  --danger: #C9564D; --horizon: #F0A468; --on-horizon: #1C2745;
  position: absolute; left: 0; top: 0; width: 390px; height: 829px; overflow: hidden;
  transform: scale(.656410); transform-origin: 0 0;
  background: var(--bg); color: var(--ink);
  font: 400 14px/normal 'Plus Jakarta Sans', system-ui, sans-serif;
  letter-spacing: 0; text-align: left;
  -webkit-user-select: none; user-select: none; -webkit-font-smoothing: antialiased;
}
.ap *, .ap *::before, .ap *::after { box-sizing: border-box; }
.ap b, .ap strong { font-weight: 600; }
.ap h3, .ap p { margin: 0; font: inherit; }
.ap img { display: block; }
.ap svg { display: block; flex: none; fill: currentColor; overflow: visible; }

/* status bar (the OS draws it; light or dark icons over the screen) */
.ap .sb { position: absolute; left: 0; right: 0; top: 0; height: 30px; display: flex; align-items: center;
  justify-content: space-between; padding: 0 22px 0 26px; font-size: 12px; font-weight: 600; z-index: 30; }
.ap .sb-r { display: flex; align-items: center; gap: 4px; }
.ap .sb-light { color: #fff; }
.ap .sb-dark { color: var(--ink); }

/* app bar (ProfileFlowAppBar): back arrow, title, subtitle, actions */
.ap .ab { position: absolute; left: 0; right: 0; top: 30px; height: 56px; display: flex; align-items: center; padding: 0 4px; }
.ap .ab-b, .ap .ab-a { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; color: var(--g); flex: none; }
.ap .ab-a { width: 40px; }
.ap .ab-t { flex: 1; min-width: 0; display: flex; flex-direction: column; padding-left: 4px; }
.ap .ab-h { font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--g); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap .ab-s { font-size: 12px; font-weight: 500; line-height: 1.3; color: var(--muted); }

/* bottom navigation (TrekAiBottomNavigation) */
.ap .nav { position: absolute; left: 0; right: 0; bottom: 0; height: 66px; display: flex; z-index: 20;
  background: rgba(243, 241, 235, .95); border-top: 1px solid rgba(214, 221, 215, .3); box-shadow: 0 -2px 12px rgba(0, 0, 0, .08); }
.ap .nv { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); }
.ap .nv-c { width: 28px; height: 27px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.ap .nv-l { font-size: 12px; font-weight: 500; }
.ap .nv.on { color: var(--g); }
.ap .nv.on .nv-c { width: 32px; height: 32px; background: var(--g-tint); }
.ap .nv.on .nv-l { font-weight: 600; }

/* scrolling body above a bottom bar */
.ap .body { position: absolute; left: 0; right: 0; top: 0; bottom: 66px; overflow: hidden; }

/* ------------------------------------------------ Explore (trails_tab / explore_page) */
.ap .ex-hero { position: relative; height: 390px; }
.ap .ex-photo { position: absolute; inset: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 62%, rgba(0,0,0,.886) 70%, rgba(0,0,0,.62) 78%, rgba(0,0,0,.31) 86%, rgba(0,0,0,.09) 93%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0, #000 62%, rgba(0,0,0,.886) 70%, rgba(0,0,0,.62) 78%, rgba(0,0,0,.31) 86%, rgba(0,0,0,.09) 93%, transparent 100%); }
.ap .ex-photo img { width: 100%; height: 100%; object-fit: cover; }
.ap .ex-photo::before, .ap .ex-photo::after { content: ""; position: absolute; inset: 0; }
.ap .ex-photo::before { background: linear-gradient(180deg, rgba(10,16,13,.55), transparent 30%); }
.ap .ex-photo::after { background: linear-gradient(0deg, rgba(10,16,13,.62), rgba(10,16,13,.34) 34%, transparent 62%); }
.ap .ex-logo { position: absolute; left: 16px; top: 28px; height: 48px; display: flex; align-items: center; gap: 7.5px; color: #fff; }
.ap .ex-logo b { font-size: 24px; font-weight: 600; }
.ap .ex-bell { position: absolute; right: 16px; top: 30px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(243, 241, 235, .85); color: var(--g); display: flex; align-items: center; justify-content: center; }
.ap .ex-head { position: absolute; left: 16px; right: 16px; top: 208px; color: #fff; }
.ap .ex-head h3 { font-size: 24px; font-weight: 600; line-height: 1.25; letter-spacing: -.68px; text-shadow: 0 1px 14px rgba(10,16,13,.35); }
.ap .ex-head p { margin-top: 2px; font-size: 16px; font-weight: 500; line-height: 23.5px; letter-spacing: .3px; color: rgba(255,255,255,.92); text-shadow: 0 1px 10px rgba(10,16,13,.4); }
.ap .ex-search { position: absolute; left: 16px; right: 16px; top: 310px; height: 56px; padding: 6px 6px 6px 16px; display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; color: var(--muted);
  box-shadow: 0 10px 28px -8px rgba(23,32,28,.22), 0 1px 3px rgba(23,32,28,.04); }
.ap .ex-search > span:first-of-type { flex: 1; font-size: 16px; font-weight: 400; white-space: nowrap; }
.ap .ex-filter { width: 44px; height: 44px; border-radius: 12px; background: var(--g); color: #fff; display: flex; align-items: center; justify-content: center; margin-left: 4px; }
.ap .chips { display: flex; gap: 8px; padding: 0 16px; width: 100%; overflow: visible; white-space: nowrap; }
.ap .chp { display: flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 99px; background: var(--bg);
  border: 1px solid rgba(214,221,215,.61); box-shadow: 0 3px 6px rgba(60,52,38,.08); color: var(--acc); }
.ap .chp b { font-size: 12px; font-weight: 600; color: var(--ink); letter-spacing: .3px; }
.ap .ex-sec { display: flex; align-items: center; justify-content: space-between; height: 28px; padding: 0 16px; margin: 16px 0 12px; }
.ap .ex-sec b { font-size: 18px; font-weight: 600; letter-spacing: .3px; }
.ap .ex-sec span { font-size: 12px; font-weight: 500; letter-spacing: .1px; color: var(--acc); }
.ap .fcs { position: relative; height: 410px; }
.ap .fc { position: absolute; top: 0; width: 322px; height: 402px; border-radius: 16px; overflow: hidden; background: #141D36;
  box-shadow: 0 12px 28px rgba(20,29,54,.26); }
.ap .fc-1 { left: 16px; }
.ap .fc-2 { left: 350px; }
.ap .fc-img, .ap .fc-blur { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ap .fc-blur { filter: blur(14px); transform: scale(1.1);
  -webkit-mask-image: linear-gradient(0deg, #000 0, #000 31%, transparent 62%); mask-image: linear-gradient(0deg, #000 0, #000 31%, transparent 62%);
  clip-path: inset(38% 0 0 0); }
.ap .fc-tint { position: absolute; left: 0; right: 0; bottom: 0; height: 68%;
  background: linear-gradient(0deg, rgba(20,29,54,.94), rgba(20,29,54,.72) 55%, rgba(20,29,54,0)); }
.ap .fc-badge { position: absolute; left: 14px; top: 14px; height: 34px; padding: 0 12px; display: flex; align-items: center; gap: 6px;
  background: rgba(20,29,54,.34); border: 1px solid rgba(255,255,255,.34); border-radius: 12px; color: #fff; }
.ap .fc-badge b { font-size: 14px; font-weight: 600; white-space: nowrap; letter-spacing: .3px; }
.ap .fc-fav { position: absolute; right: 12px; top: 9px; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(20,29,54,.34); border: 1px solid rgba(255,255,255,.34); color: #fff; }
.ap .fc-info { position: absolute; left: 18px; right: 18px; top: 238px; color: #fff; }
.ap .fc-loc { height: 20px; display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; letter-spacing: .3px; color: rgba(255,255,255,.9); }
.ap .fc-name { margin-top: 10px; font-size: 32px; font-weight: 700; line-height: 1.1; letter-spacing: -.5px; }
.ap .fc-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.ap .fc-diff { position: absolute; right: 0; top: 33px; height: 28px; padding: 0 10px; display: flex; align-items: center; border-radius: 8px;
  background: var(--horizon); color: var(--on-horizon); font-size: 12px; font-weight: 600; }
.ap .fc-stats { display: flex; align-items: center; margin-top: 10px; font-size: 14px; font-weight: 600; letter-spacing: .3px; white-space: nowrap; }
.ap .fc-stats i { width: 3px; height: 3px; margin: 0 8px; border-radius: 50%; background: rgba(255,255,255,.6); }


/* ------------------------------------------------ Trail detail (trail_detail_page) */
.ap .td-top { position: absolute; left: 0; right: 0; top: 0; height: 86px; background: rgba(243,241,235,.94); border-bottom: 1px solid var(--line); z-index: 10; }
.ap .td-bb { position: absolute; top: 36px; width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--line); z-index: 10; margin-left: 0; }
.ap .td-prog { position: absolute; left: 0; bottom: -1px; width: 65px; height: 2px; background: var(--g); }
.ap .td-desc::after { content: ""; position: absolute; right: 0; bottom: 0; width: 70px; height: 25.6px; background: linear-gradient(90deg, rgba(243,241,235,0), var(--bg)); }
.ap .td-tag { position: absolute; top: 193px; height: 32px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.ap .td-card { position: absolute; left: 16px; right: 16px; top: 249px; height: 301px; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: 0 6px 18px -6px rgba(23,32,28,.10), 0 1px 2px rgba(23,32,28,.05); }
.ap .td-slope { position: absolute; left: 227px; top: 266px; width: 133px; height: 26px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--acc-soft); color: transparent; font-size: 12px; }
.ap .td-facts { position: absolute; left: 0; right: 0; top: 244px; height: 57px; display: flex; border-top: 1px solid var(--line); }
.ap .td-facts > div { flex: 1; border-left: 1px solid var(--line); }
.ap .td-facts > div:first-child { border-left: 0; }
.ap .td-chart { position: absolute; left: 0; top: 0; width: 390px; height: 829px; pointer-events: none; }
.ap .td-peak-tip { position: absolute; left: 281px; top: 301px; width: 63px; height: 23px; border-radius: 8px; background: var(--g); color: #fff; font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.ap .td-chip { position: absolute; left: 277px; top: 583px; width: 93px; height: 24px; border-radius: 8px; background: var(--soft); }
.ap .td-jr { top: 620px; height: 240px; }
.ap .td-facts-j { top: 0; height: 61px; border-top: 0; border-bottom: 1px solid var(--line); }
.ap .td-dot { position: absolute; left: 31px; top: 705px; width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #2F5D50 0 11px, #E2E8E6 11.5px); }
.ap .td-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 104px; background: linear-gradient(0deg, var(--bg), var(--bg) 36%, rgba(243,241,235,0)); }
.ap .td-dl { position: absolute; left: 16px; top: 760px; width: 56px; height: 56px; border-radius: 14px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 6px 18px -6px rgba(23,32,28,.10), 0 1px 2px rgba(23,32,28,.05); }
.ap .td-cta { position: absolute; left: 84px; right: 16px; top: 760px; height: 56px; border-radius: 14px; background: var(--g); box-shadow: 0 14px 26px -10px rgba(47,93,80,.7); }

/* generic positioned text / icon (coordinates come from the Flutter widget dump) */
.ap .tx { position: absolute; white-space: nowrap; z-index: 6; left: calc(var(--x) * 1px); top: calc(var(--y) * 1px); font-size: calc(var(--s) * 1px);
  font-weight: var(--w); line-height: calc(var(--l) * 1px); width: calc(var(--wd) * 1px); letter-spacing: calc(var(--ls) * 1px); }
.ap .tx.tw { white-space: normal; }
.ap .tx.tc { text-align: center; } .ap .tx.tr { text-align: right; }
.ap .ico { position: absolute; display: block; z-index: 6; left: calc(var(--x) * 1px); top: calc(var(--y) * 1px); }
.ap .g { color: var(--g); } .ap .m { color: var(--muted); } .ap .a { color: var(--acc); } .ap .w { color: #fff; }
.ap .dg { color: #0F4D31; } .ap .ar { color: rgba(31,122,77,.47); }

/* ------------------------------------------------ Voting results (voting_pages) */
.ap .vt-card { position: absolute; left: 16px; right: 16px; background: #fff; border: 1px solid rgba(214,221,215,.3); border-radius: 20px; box-shadow: 0 4px 16px -2px rgba(23,32,28,.04), 0 1px 3px rgba(23,32,28,.02); }
.ap .vt-part { top: 103px; height: 125px; }
.ap .vt-seg { position: absolute; left: 16px; right: 16px; top: 48px; display: flex; gap: 5px; }
.ap .vt-seg i { flex: 1; height: 7px; border-radius: 4px; background: var(--line); }
.ap .vt-seg i.on { background: var(--g); }
.ap .vt-tot { top: 281px; height: 132px; }
.ap .vt-bar { position: absolute; left: 16px; right: 16px; height: 4px; background: #E9EEE9; overflow: hidden; }
.ap .vt-b1 { top: 44px; } .ap .vt-b2 { top: 94px; }
.ap .vt-fill { display: block; height: 100%; background: var(--g); transform-origin: 0 50%; transform: scaleX(var(--w)); }
.ap .vt-own { top: 464px; height: 90px; }
.ap .vt-out { position: absolute; left: 16px; right: 16px; top: 571px; height: 52px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.ap .vt-note { position: absolute; left: 16px; right: 16px; top: 641px; height: 64px; background: var(--soft); border: 1px solid var(--line); border-radius: 16px; }
.ap .vt-btn { position: absolute; left: 16px; right: 16px; top: 761px; height: 52px; border-radius: 20px; background: var(--g); }

/* ------------------------------------------------ Trip workspace overview (Tổng quan) */
.ap .ws-hero { position: absolute; left: 0; top: 0; width: 390px; height: 282px; border-radius: 0 0 28px 28px; overflow: hidden; background: #2F5D50; }
.ap .ws-ridge { position: absolute; inset: 0; width: 100%; height: 100%; }
.ap .ws-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,0) 30%, rgba(0,0,0,.5)); }
.ap .ws-circ { position: absolute; width: 40px; height: 40px; border-radius: 50%; background: rgba(243,241,235,.85); color: var(--g); display: flex; align-items: center; justify-content: center; }
.ap .ws-dot { position: absolute; top: 6px; right: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 2px var(--bg); }
.ap .ws-edit { left: 340px; top: 87px; width: 34px; height: 34px; }
.ap .ws-chips { position: absolute; left: 20px; top: 159px; display: flex; gap: 8px; }
.ap .ws-chip { height: 24px; padding: 0 10px; display: flex; align-items: center; gap: 4px; border-radius: 20px; background: rgba(0,0,0,.26); border: 1px solid rgba(255,255,255,.38); color: #fff; }
.ap .ws-chip.on { background: rgba(243,241,235,.9); border-color: transparent; color: var(--g); }
.ap .ws-chip b { font-size: 12px; font-weight: 600; }
.ap .ws-hero h3 { position: absolute; left: 20px; right: 20px; top: 191px; font-size: 32px; font-weight: 700; line-height: 1.15; color: #fff; white-space: nowrap; }
.ap .ws-date { position: absolute; left: 20px; top: 238px; display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.7); }
.ap .ws-date span { font-size: 14px; font-weight: 500; color: #fff; }
.ap .ws-pulse { position: absolute; left: 16px; right: 16px; top: 302px; height: 130px; }
.ap .ws-pl small, .ap .ws-pr small { display: block; font-size: 12px; color: var(--muted); }
.ap .ws-pl { position: absolute; left: 0; top: 6px; }
.ap .ws-pl > div { display: flex; align-items: flex-end; gap: 6px; margin-top: -1px; }
.ap .ws-days { font-size: 32px; font-weight: 700; line-height: 1.1; color: var(--g); }
.ap .ws-u { font-size: 14px; font-weight: 600; color: var(--acc); padding-bottom: 2px; }
.ap .ws-h { font-size: 14px; color: var(--muted); padding-bottom: 2px; }
.ap .ws-pr { position: absolute; right: 0; top: 13px; text-align: right; }
.ap .ws-pr b { display: block; font-size: 14px; font-weight: 600; }
.ap .ws-trail { position: absolute; left: 16px; right: 16px; top: 369px; height: 28px; }
.ap .ws-solid { position: absolute; left: 0; width: 148px; top: 13px; height: 3px; border-radius: 2px; background: var(--g); }
.ap .ws-dash { position: absolute; left: 164px; right: 22px; top: 14px; height: 0; border-top: 2px dashed rgba(104,115,109,.28); }
.ap .ws-hiker { position: absolute; left: 134px; top: 0; width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle, #2F5D50 0 10px, #89A39C 10.5px); color: #fff; display: flex; align-items: center; justify-content: center; }
.ap .ws-flag { position: absolute; right: 0; top: 4px; color: var(--acc); }
.ap .ws-tl { position: absolute; left: 0; right: 0; top: 100px; display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--muted); }
.ap .ws-h2 { position: absolute; left: 16px; top: 433px; font-size: 18px; font-weight: 600; line-height: 34px; }
.ap .ws-card { position: absolute; left: 16px; right: 16px; height: 77px; background: #fff; border: 1px solid rgba(214,221,215,.3); border-radius: 20px; overflow: hidden;
  box-shadow: 0 4px 16px -2px rgba(23,32,28,.04), 0 1px 3px rgba(23,32,28,.02); display: flex; align-items: center; padding: 0 12px 0 16px; gap: 12px; }
.ap .ws-lvw { position: absolute; inset: 0; overflow: hidden; }
.ap .ws-lv { position: absolute; left: 0; top: 0; width: 356px; height: 76px; }
.ap .ws-lv i { position: absolute; left: 0; top: 0; height: 76px; background: linear-gradient(90deg, #EEF1F0, #C5D1CE); }
.ap .ws-lv svg { position: absolute; left: 0; top: 0; }
.ap .ws-ic { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.85); color: var(--g); display: flex; align-items: center; justify-content: center; }
.ap .ws-ic0 { background: rgba(226,232,230,.35); }
.ap .ws-ct { position: relative; flex: 1; display: flex; flex-direction: column; }
.ap .ws-ct b { font-size: 16px; font-weight: 600; }
.ap .ws-ct span { font-size: 14px; color: var(--muted); margin-top: 1px; }
.ap .ws-ct span i { font-style: normal; color: var(--g); font-weight: 500; }
.ap .ws-ct .ws-sub1 { color: var(--ink); font-weight: 400; }
.ap .ws-card em { position: relative; font-style: normal; font-size: 16px; font-weight: 600; color: var(--g); }
.ap .ws-chev { position: relative; color: var(--muted); margin-left: 4px; }
.ap .ws-ai { position: absolute; left: 16px; right: 16px; top: 745px; height: 104px; padding: 14px 14px 14px 16px; display: flex; align-items: flex-start; gap: 12px; border-radius: 20px;
  background: linear-gradient(135deg, #FFE9DB, #F2E4DA); border: 1px solid rgba(184,111,61,.24); }
.ap .ws-ai > div { flex: 1; }
.ap .ws-ai b { display: block; font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.ap .ws-ai-i { flex: none; width: 44px; height: 44px; margin-top: 11px; border-radius: 50%; background: var(--acc-soft); color: var(--acc); display: flex; align-items: center; justify-content: center; }
.ap .ws-scope { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.ap .ws-scope span { display: flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 20px; background: rgba(255,255,255,.78); color: var(--acc); font-size: 12px; font-weight: 600; }
.ap .ws-ai-go { flex: none; width: 36px; height: 36px; margin-top: 18px; border-radius: 50%; background: var(--g); color: #fff; display: flex; align-items: center; justify-content: center; }


/* ProfileFlowAppBar */
.ap .pf-ab { top: 0; height: 86px; padding: 30px 0 0; border-bottom: 1px solid rgba(214,221,215,.2); background: var(--bg); }
.ap .pf-ab .ab-b { width: 56px; height: 56px; }
.ap .pf-ab .ab-a { width: 48px; height: 56px; }
.ap .pf-ab.ab-c .ab-t { align-items: center; padding-left: 0; }

/* ------------------------------------------------ Offline data (Profile > Ngoại tuyến) */
.ap .of-hero { position: absolute; left: 20px; right: 20px; top: 94px; height: 180px; border-radius: 20px; background: var(--soft); border: 1px solid var(--line); text-align: center; }
.ap .of-big { position: absolute; left: 50%; top: 24px; margin-left: -28px; width: 56px; height: 56px; border-radius: 50%; background: var(--g); color: #fff; display: flex; align-items: center; justify-content: center; }
.ap .of-hero h3 { position: absolute; left: 0; right: 0; top: 96px; font-size: 24px; font-weight: 600; line-height: 30px; }
.ap .of-hero p { position: absolute; left: 0; right: 0; top: 134px; font-size: 14px; line-height: 20px; color: var(--muted); }
.ap .of-h { position: absolute; left: 24px; top: 293px; font-size: 18px; font-weight: 600; line-height: 36px; }
.ap .of-card { position: absolute; width: 167px; height: 115px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.ap .of-ic { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; background: var(--soft); color: var(--g); }
.ap .of-ic.em { background: var(--acc-soft); color: var(--acc); }
.ap .of-ok { position: absolute; right: 16px; top: 24px; width: 28px; height: 28px; border-radius: 50%; background: var(--g); color: #fff; display: flex; align-items: center; justify-content: center; }
.ap .of-card b { position: absolute; left: 16px; top: 80px; font-size: 14px; font-weight: 600; line-height: 18px; }
.ap .of-sync { position: absolute; left: 24px; right: 24px; top: 600px; height: 44px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); }
.ap .of-sync span { font-size: 14px; line-height: 20px; }
.ap .of-sync b { font-size: 14px; font-weight: 600; color: var(--g); margin-right: 12px; }


/* ------------------------------------------------ Emergency hub (Khẩn cấp) */
.ap .em-top { position: absolute; left: 16px; right: 16px; top: 42px; height: 48px; display: flex; align-items: center; gap: 12px; }
.ap .em-back { width: 48px; height: 48px; border-radius: 50%; background: var(--soft); color: var(--ink); display: flex; align-items: center; justify-content: center; flex: none; }
.ap .em-top > b { flex: 1; font-size: 24px; font-weight: 600; line-height: 1.3; }
.ap .em-pill { height: 32px; padding: 0 12px; display: flex; align-items: center; gap: 6px; border-radius: 999px; background: #fff; border: 1px solid var(--acc); color: var(--acc); }
.ap .em-pill i { font-style: normal; font-size: 12px; color: var(--ink); }
.ap .em-calls { position: absolute; left: 16px; right: 16px; top: 106px; height: 56px; display: flex; gap: 12px; }
.ap .em-call, .ap .em-med { height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.ap .em-call { flex: 1; background: var(--g); color: #fff; }
.ap .em-med { width: 112px; background: var(--soft); color: var(--ink); gap: 8px; }
.ap .em-call b, .ap .em-med b { font-size: 16px; font-weight: 600; line-height: 1.3; }
.ap .em-dis { position: absolute; left: 16px; right: 16px; top: 182px; font-size: 14px; line-height: 20.3px; color: var(--muted); }
.ap .em-h { position: absolute; left: 16px; top: 243px; font-size: 18px; font-weight: 600; line-height: 1.3; }
.ap .em-tile { position: absolute; width: 173px; height: 86px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; display: flex; flex-direction: column; justify-content: space-between; }
.ap .em-tic { width: 40px; height: 40px; border-radius: 50%; background: var(--soft); color: var(--acc); display: flex; align-items: center; justify-content: center; margin: -1px 0 0 -1px; }
.ap .em-tile b { font-size: 16px; font-weight: 600; line-height: 1.3; margin: 0 0 -1px -1px; white-space: nowrap; }
.ap .em-link { position: absolute; left: 16px; right: 16px; top: 681px; height: 60px; padding: 0 16px; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; color: var(--acc); }
.ap .em-link b { flex: 1; font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.ap .em-link svg:last-child { color: var(--muted); }


/* ------------------------------------------------ Settlement tab (TripBudgetPage > Quyết toán) */
.ap .pf-left { height: 86px; }
.ap .sl-seg { position: absolute; left: 16px; right: 16px; top: 98px; height: 46px; background: var(--soft); border: 1px solid rgba(214,221,215,.6); border-radius: 16px; }
.ap .sl-seg i { position: absolute; left: 239px; top: 4px; width: 113px; height: 36px; border-radius: 12px; background: var(--g); }
.ap .sl-note { position: absolute; left: 16px; right: 16px; top: 156px; height: 48px; background: #ECEDE9; border: 1px solid rgba(214,221,215,.6); border-radius: 16px; }
.ap .sl-hero { position: absolute; left: 16px; right: 16px; top: 216px; height: 148px; border-radius: 28px; overflow: hidden; background: linear-gradient(135deg, #E3F5EC, #BCEDDC); border: 1px solid rgba(31,122,77,.18); }
.ap .sl-c { position: absolute; right: -34px; top: -34px; width: 130px; height: 130px; border-radius: 50%; background: rgba(255,255,255,.35); }
.ap .sl-chip { position: absolute; left: 37px; top: 235px; width: 131px; height: 27px; border-radius: 14px; background: rgba(255,255,255,.88); }
.ap .sl-card { position: absolute; left: 16px; right: 16px; background: #fff; border: 1px solid rgba(214,221,215,.3); border-radius: 20px; box-shadow: 0 4px 16px -2px rgba(23,32,28,.04), 0 1px 3px rgba(23,32,28,.02); overflow: hidden; }
.ap .sl-fund { top: 378px; height: 98px; }
.ap .sl-fund i { position: absolute; top: 56px; width: 1px; height: 28px; background: #EDF0EE; }
.ap .sl-div { position: absolute; left: 14px; right: 14px; top: 68px; height: 1px; background: #EDF0EE; }
.ap .sl-av { position: absolute; width: 36px; height: 36px; border-radius: 50%; background: #FFDBC7; }
.ap .sl-av.mint { background: #BCEDDC; }
.ap .sl-tile { position: absolute; width: 36px; height: 36px; border-radius: 10px; background: #EBF0EF; }
.ap .sl-avs { position: absolute; left: 276px; top: 749px; width: 60px; height: 28px; }
.ap .sl-avs i { position: absolute; top: 0; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 12px; font-weight: 600; color: var(--g); box-shadow: 0 0 0 2px #fff; }


/* ------------------------------------------------ Memories (Kỷ niệm) */
.ap .mm-seg { position: absolute; left: 16px; right: 16px; top: 134px; height: 46px; background: var(--soft); border: 1px solid rgba(214,221,215,.6); border-radius: 16px; }
.ap .mm-seg i { position: absolute; left: 4px; top: 4px; width: 172px; height: 36px; border-radius: 12px; background: var(--g); }
.ap .mm-t { position: absolute; width: 116.5px; height: 116.5px; object-fit: cover; border-radius: 12px; background: var(--soft); }
.ap .mm-recap { position: absolute; left: 16px; right: 16px; top: 751px; height: 300px; border-radius: 28px; background: var(--g); }
.ap .mm-chip { position: absolute; left: 34px; top: 773px; width: 142px; height: 28px; border-radius: 14px; border: 1px solid rgba(255,255,255,.35); }
.ap .mm-fab { position: absolute; left: 242px; top: 757px; width: 132px; height: 56px; border-radius: 16px; background: var(--g);
  box-shadow: 0 3px 5px -1px rgba(0,0,0,.2), 0 6px 10px rgba(0,0,0,.14), 0 1px 18px rgba(0,0,0,.12); z-index: 7; }

/* ------------------------------------------------ static final state (screens reveal as a whole with the phone, see motion.css) */
.ap .td-line { stroke-dasharray: 1; stroke-dashoffset: 0; }
.ap .td-area { position: absolute; left: 0; top: 0; width: 390px; height: 829px; background: linear-gradient(180deg, rgba(47,93,80,.3) 335px, rgba(47,93,80,0) 425px); }
.ap .td-dots circle, .ap .td-peak { transform-box: fill-box; transform-origin: center; }
.ap .ws-solid { transform-origin: 0 50%; }
.ap .vt-seg i { transform-origin: 0 50%; }
.ap .of-ok, .ap .of-big-i { transform-origin: 50% 50%; }

/* a stray rule so the old mock-up helpers never leak into the replicas */
.ap [data-st] { will-change: auto; }

