/* Phone frames (iPhone and Android) and the app screens drawn inside them. The screens rebuild the app's own components
   (src/components/kit) in HTML at device size: 390 points wide. A frame is scaled as a whole with --scale.
   Screens follow the page's light or dark theme unless they carry .theme-light or .theme-dark. */

.phone { --scale: 0.72; --w: 412; --h: 866; width: calc(var(--w) * var(--scale) * 1px); height: calc(var(--h) * var(--scale) * 1px); flex: none; position: relative; }
.phone-android { --w: 414; --h: 890; }
.device {
  position: absolute; top: 0; left: 0; width: calc(var(--w) * 1px); height: calc(var(--h) * 1px);
  transform: scale(var(--scale)); transform-origin: top left;
}

/* iPhone: titanium band, thin black border, Dynamic Island, home indicator */
.phone-ios .device {
  padding: 4px; border-radius: 68px;
  background: linear-gradient(140deg, #8a9097 0%, #3b4046 18%, #23272b 50%, #3b4046 82%, #8a9097 100%);
  box-shadow: 0 50px 80px -30px rgba(15, 30, 43, 0.45), 0 30px 40px -30px rgba(15, 30, 43, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.phone-ios .bezel { width: 100%; height: 100%; padding: 7px; border-radius: 64px; background: #050607; }
.phone-ios .screen { border-radius: 57px; }
.phone-ios .device::before, .phone-ios .device::after { content: ""; position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #2a2e33, #6b7178); }
.phone-ios .device::before {
  left: -3px; top: 168px; height: 178px;
  background: linear-gradient(180deg, #4a5056 0 34px, transparent 34px 62px, #4a5056 62px 120px, transparent 120px 128px, #4a5056 128px 178px);
}
.phone-ios .device::after { right: -3px; top: 236px; height: 100px; background: #4a5056; }
.island { position: absolute; z-index: 30; top: 11px; left: 50%; width: 124px; height: 36px; margin-left: -62px; border-radius: 20px; background: #000; }
.home-ind { position: absolute; z-index: 30; bottom: 8px; left: 50%; width: 136px; height: 5px; margin-left: -68px; border-radius: 3px; background: var(--s-text); }

/* Android (Pixel-like): flat aluminium sides, even black border, punch-hole camera, gesture bar */
.phone-android .device {
  padding: 3px; border-radius: 54px;
  background: linear-gradient(140deg, #c5ccd3 0%, #7d858d 20%, #5d646b 50%, #7d858d 80%, #c5ccd3 100%);
  box-shadow: 0 50px 80px -30px rgba(15, 30, 43, 0.45), 0 30px 40px -30px rgba(15, 30, 43, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.phone-android .bezel { width: 100%; height: 100%; padding: 9px; border-radius: 51px; background: #050607; }
.phone-android .screen { border-radius: 42px; }
.phone-android .device::before, .phone-android .device::after { content: ""; position: absolute; right: -3px; width: 4px; border-radius: 2px; background: #6b737b; }
.phone-android .device::before { top: 190px; height: 64px; }
.phone-android .device::after { top: 290px; height: 112px; }
.punch { position: absolute; z-index: 30; top: 13px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #000; box-shadow: inset 0 0 0 3px #111, inset 0 0 0 4px #1b2733; }
.gesture { position: absolute; z-index: 30; bottom: 9px; left: 50%; width: 110px; height: 4px; margin-left: -55px; border-radius: 2px; background: var(--s-text); opacity: 0.85; }

/* ---------- The screen and its tokens (src/theme.ts) ---------- */

.screen {
  --s-ground: #f2f5f8; --s-surface: #ffffff; --s-sunken: #e9eef3; --s-text: #0f1e2b; --s-text-2: #566472; --s-text-3: #92a0ae;
  --s-text-brand: #0b5c8f; --s-brand: #0b5c8f; --s-brand-tint: #e2eef7; --s-accent: #c2416a; --s-border: #dbe3ea; --s-border-strong: #6f8091;
  --s-caution: #9a5b00; --s-caution-tint: #fdf1dc; --s-danger: #c0362c; --s-danger-tint: #fde8e5; --s-red: #c0362c; --s-green: #1d7a46;
  --s-m1: #0b5c8f; --s-m1-fg: #fff; --s-m2: #b0d7f3; --s-m2-fg: #0f1e2b; --s-m3: #1d7a46; --s-m3-fg: #fff;
  --s-glass: rgba(255, 255, 255, 0.74); --s-solid: #ffffff;
  --s-shadow-card: 0 10px 28px -10px rgba(15, 30, 43, 0.18), 0 1px 2px rgba(15, 30, 43, 0.05);
  --s-shadow-float: 0 10px 30px -8px rgba(15, 30, 43, 0.2), 0 1px 2px rgba(15, 30, 43, 0.05);
  position: relative; width: 390px; height: 100%; overflow: hidden; isolation: isolate;
  background: var(--s-ground); color: var(--s-text);
  font-family: "Figtree", system-ui, sans-serif; font-weight: 500; font-size: 16px; line-height: 23px;
  -webkit-font-smoothing: antialiased; text-align: left; letter-spacing: 0;
  user-select: none; pointer-events: none;
}
.phone-android .screen { width: 390px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .screen:not(.theme-light) {
    --s-ground: #0f1e2b; --s-surface: #182734; --s-sunken: #2c3a48; --s-text: #f2f5f8; --s-text-2: #b6c1cc; --s-text-3: #566472;
    --s-text-brand: #7cc0ee; --s-brand: #2479b5; --s-brand-tint: #0c2f4a; --s-accent: #e5799a; --s-border: #2c3a48; --s-border-strong: #92a0ae;
    --s-caution: #f2b544; --s-caution-tint: #33260a; --s-danger: #ff8a80; --s-danger-tint: #3d1612; --s-red: #b3261e; --s-green: #1d7a46;
    --s-m1: #1f75b3; --s-glass: rgba(24, 39, 52, 0.74); --s-solid: #182734;
    --s-shadow-card: 0 8px 24px -8px rgba(0, 0, 0, 0.7); --s-shadow-float: 0 12px 30px -8px rgba(0, 0, 0, 0.8);
  }
}
:root[data-theme="dark"] .screen:not(.theme-light), .screen.theme-dark {
  --s-ground: #0f1e2b; --s-surface: #182734; --s-sunken: #2c3a48; --s-text: #f2f5f8; --s-text-2: #b6c1cc; --s-text-3: #566472;
  --s-text-brand: #7cc0ee; --s-brand: #2479b5; --s-brand-tint: #0c2f4a; --s-accent: #e5799a; --s-border: #2c3a48; --s-border-strong: #92a0ae;
  --s-caution: #f2b544; --s-caution-tint: #33260a; --s-danger: #ff8a80; --s-danger-tint: #3d1612; --s-red: #b3261e; --s-green: #1d7a46;
  --s-m1: #1f75b3; --s-glass: rgba(24, 39, 52, 0.74); --s-solid: #182734;
  --s-shadow-card: 0 8px 24px -8px rgba(0, 0, 0, 0.7); --s-shadow-float: 0 12px 30px -8px rgba(0, 0, 0, 0.8);
}

.screen .ic { width: 22px; height: 22px; stroke-width: 1.5; }

/* Status bars */
.screen .sb { position: absolute; z-index: 25; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; color: var(--s-text); }
.screen .sb.light { color: #fff; }
.phone-ios .sb { height: 54px; padding: 4px 34px 0 50px; font: 600 17px/1 -apple-system, "SF Pro Text", "Figtree", system-ui, sans-serif; letter-spacing: -0.2px; }
.phone-ios .sb-icons { display: flex; gap: 7px; align-items: center; }
.phone-android .sb { height: 44px; padding: 6px 26px 0 30px; font: 500 15px/1 "Google Sans", Roboto, "Figtree", system-ui, sans-serif; }
.phone-android .sb-icons { display: flex; gap: 6px; align-items: center; }
.screen .sb svg { fill: currentColor; }

/* Type scale */
.screen .t-hero { font-weight: 700; font-size: 52px; line-height: 56px; letter-spacing: -1.5px; font-variant-numeric: tabular-nums; }
.screen .t-title-lg { font-weight: 700; font-size: 30px; line-height: 36px; letter-spacing: -0.6px; }
.screen .t-title-md { font-weight: 700; font-size: 28px; line-height: 34px; letter-spacing: -0.56px; }
.screen .t-title { font-weight: 700; font-size: 26px; line-height: 32px; letter-spacing: -0.52px; }
.screen .t-amount-lg { font-weight: 700; font-size: 22px; line-height: 28px; font-variant-numeric: tabular-nums; }
.screen .t-heading { font-weight: 600; font-size: 17px; line-height: 22px; }
.screen .t-lead { font-weight: 500; font-size: 15px; line-height: 21px; }
.screen .t-row { font-weight: 600; font-size: 15px; line-height: 20px; }
.screen .t-amount { font-weight: 600; font-size: 15px; line-height: 20px; font-variant-numeric: tabular-nums; }
.screen .t-label { font-weight: 600; font-size: 14px; line-height: 18px; }
.screen .t-caption { font-weight: 500; font-size: 13px; line-height: 18px; }
.screen .t-fine { font-weight: 500; font-size: 12px; line-height: 17px; }
.screen .t-small { font-weight: 600; font-size: 12px; line-height: 16px; }
.screen .t-overline { font-weight: 700; font-size: 12px; line-height: 16px; letter-spacing: 0.6px; text-transform: uppercase; }
.screen .c2 { color: var(--s-text-2); }
.screen .cb { color: var(--s-text-brand); }
.screen .cd { color: var(--s-danger); }
.screen .cc { color: var(--s-caution); }
.screen .cw { color: #fff; }

/* Layout helpers */
.screen .col { display: flex; flex-direction: column; }
.screen .row { display: flex; align-items: center; }
.screen .g2 { gap: 2px; } .g4 { gap: 4px; } .g6 { gap: 6px; } .g10 { gap: 10px; } .g12 { gap: 12px; } .g14 { gap: 14px; } .g16 { gap: 16px; } .g18 { gap: 18px; }
.screen .f1 { flex: 1; min-width: 0; }
.screen .between { justify-content: space-between; }
.screen .end { text-align: right; }

/* The picture header (PlaceScroll): about three quarters as tall as the screen is wide (289 on a 390 phone), and the
   sheet that rises 40 over it (PlaceSheet) with the place tag under the title, and the weather beside it on a trip */
.screen .place { position: relative; height: 289px; background: #cfe6f3 center / cover no-repeat; }
.screen .sheet { position: relative; margin-top: -40px; padding: 24px 16px 0; border-radius: 40px 40px 0 0; background: var(--s-ground); display: flex; flex-direction: column; gap: 16px; }
.screen .sheet-head { padding: 0 4px; display: flex; flex-direction: column; gap: 2px; }
.screen .sheet-head .sub { font-weight: 500; font-size: 14px; line-height: 19px; color: var(--s-text-2); }
.screen .sheet-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.screen .ptag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--s-brand-tint); color: var(--s-text-brand); font-weight: 600; font-size: 13px; line-height: 18px; }
.screen .ptag .ic { width: 14px; height: 14px; stroke-width: 2; }
.screen .wtag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--s-surface); border: 1px solid var(--s-border); color: var(--s-text); font-weight: 600; font-size: 13px; line-height: 18px; }
.screen .wtag .ic { width: 14px; height: 14px; stroke-width: 2; color: var(--s-text-2); }
/* Your channel: the channel's colour where the picture would be, with its sign in the middle (ChannelSign) */
.screen .art-panel { position: relative; height: 289px; background: var(--s-red); }
.screen .art-panel.green { background: var(--s-green); }
.screen .sign { position: absolute; left: 0; right: 0; bottom: 40px; display: flex; align-items: center; justify-content: center; }
.phone-ios .screen .sign { top: 62px; }
.phone-android .screen .sign { top: 52px; }
.screen .sign-ring { width: 136px; height: 136px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); display: grid; place-items: center; }
.screen .sign-dot { width: 92px; height: 92px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--s-red); box-shadow: 0 6px 20px -6px rgba(0, 0, 0, 0.35); }
.screen .art-panel.green .sign-dot { color: var(--s-green); }
.screen .sign-dot .ic { width: 44px; height: 44px; stroke-width: 2; }

/* The round glass buttons at the top (TopBar) */
.screen .topbar { position: absolute; z-index: 20; left: 16px; right: 16px; display: flex; justify-content: space-between; align-items: center; }
.phone-ios .topbar { top: 62px; }
.phone-android .topbar { top: 52px; }
.screen .rbtn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--s-glass); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 6px 16px -6px rgba(15,30,43,0.35); color: var(--s-text); }
.screen .rbtn .ic { width: 20px; height: 20px; stroke-width: 2; }
.phone-android .rbtn { background: var(--s-solid); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: var(--s-shadow-float); }
.screen .pill-total { min-height: 44px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center; background: var(--s-glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 6px 16px -6px rgba(15,30,43,0.35); font-weight: 600; font-size: 14px; }
.phone-android .pill-total { background: var(--s-solid); }

/* Cards and rows */
.screen .card-s { background: var(--s-surface); border-radius: 28px; padding: 4px 18px 6px; }
.screen .card-s.raised { box-shadow: var(--s-shadow-card); }
.screen .card-s .card-title { font-weight: 600; font-size: 17px; line-height: 22px; margin: 12px 0 4px; }
.screen .card-s.titled { padding-top: 0; }
.screen .lrow { display: flex; align-items: center; gap: 12px; padding: 12px 0; min-height: 60px; border-top: 1px solid var(--s-border); }
.screen .lrow:first-child, .screen .card-title + .lrow { border-top: 0; }
.screen .thumb { width: 52px; height: 52px; border-radius: 14px; flex: none; background: #cfe6f3 center / cover no-repeat; }
.screen .letter { width: 44px; height: 44px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--s-sunken); color: var(--s-text-2); font-weight: 600; font-size: 17px; }
.screen .chev { width: 18px !important; height: 18px !important; color: var(--s-text-2); }
.screen .iconc { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--s-brand-tint); color: var(--s-text-brand); }
.screen .iconc.sm { width: 36px; height: 36px; }
.screen .iconc.sm .ic { width: 20px; height: 20px; }
.screen .iconc.danger { background: var(--s-danger-tint); color: var(--s-danger); }
.screen .iconc.md { width: 40px; height: 40px; }

/* Amounts, the allowance meter and badges */
.screen .meter-bar { height: 10px; border-radius: 999px; background: var(--s-sunken); overflow: hidden; }
.screen .meter-bar i { display: block; height: 100%; border-radius: 999px; background: var(--s-brand); }
.screen .meter-bar.danger i { background: var(--s-danger); }
.screen .badge { display: inline-flex; align-items: center; gap: 5px; min-height: 26px; padding: 0 10px; border-radius: 999px; background: var(--s-sunken); color: var(--s-text-2); font-weight: 600; font-size: 12px; line-height: 16px; white-space: nowrap; }
.screen .badge.caution { background: var(--s-caution-tint); color: var(--s-caution); }
.screen .badge.danger { background: var(--s-danger-tint); color: var(--s-danger); }
.screen .badge.ok { background: var(--s-brand-tint); color: var(--s-text-brand); }
.screen .badge .ic { width: 14px; height: 14px; stroke-width: 2; }
.screen .divider { border-top: 1px solid var(--s-border); }
.screen .qty { flex: 1; padding: 12px; border-radius: 22px; background: var(--s-surface); display: flex; flex-direction: column; gap: 2px; }

/* The trip's action tiles; the accent fills only Scan receipt */
.screen .actions { display: flex; gap: 10px; }
.screen .action { flex: 1; border-radius: 22px; padding: 16px 12px; display: flex; flex-direction: column; gap: 12px; background: var(--s-surface); }
.screen .action .iconc { background: var(--s-brand-tint); }
.screen .action.hero { background: var(--s-accent); color: #fff; }
.screen .action.hero .iconc { background: rgba(255, 255, 255, 0.2); color: #fff; }
.screen .action.soon { opacity: 0.5; }

/* Notes */
.screen .note-s { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 22px; background: var(--s-sunken); color: var(--s-text-2); font-weight: 500; font-size: 13px; line-height: 18px; }
.screen .note-s .ic { width: 18px; height: 18px; flex: none; }
.screen .note-s.info { background: var(--s-brand-tint); color: var(--s-text); }
.screen .note-s.info .ic { color: var(--s-text-brand); }

/* Buttons inside the app */
.screen .sbtn { min-height: 56px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--s-brand); color: #fff; font-weight: 600; font-size: 16px; line-height: 20px; box-shadow: 0 10px 24px -10px rgba(11, 92, 143, 0.6); }
.screen .slink { min-height: 44px; display: flex; align-items: center; justify-content: center; color: var(--s-text-brand); font-weight: 600; font-size: 16px; }
.screen .schip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--s-brand-tint); color: var(--s-text-brand); font-weight: 600; font-size: 14px; }
.screen .schip .ic { width: 16px; height: 16px; stroke-width: 2; }
.screen .footer-s { position: absolute; z-index: 15; left: 0; right: 0; bottom: 0; padding: 12px 16px 34px; display: flex; flex-direction: column; gap: 4px; background: linear-gradient(180deg, transparent, var(--s-ground) 22%); }
.phone-android .footer-s { padding-bottom: 26px; }

/* Receipt ticks */
.screen .tick { width: 28px; height: 28px; border-radius: 9px; flex: none; display: grid; place-items: center; border: 2px solid var(--s-border-strong); }
.screen .tick.on { background: var(--s-brand); border: 0; color: #fff; }
.screen .tick .ic { width: 16px; height: 16px; stroke-width: 2.2; }
.screen .irow { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--s-border); }
.screen .irow:first-child { border-top: 0; }
.screen .irow.off .t-row { color: var(--s-text-2); }

/* Tab screens with a big title (TabScroll), and the household band */
.screen .tabhead { padding: 0 20px; display: flex; flex-direction: column; gap: 6px; }
.screen .hh-band { background: var(--s-brand-tint); border-radius: 0 0 40px 40px; padding-bottom: 24px; display: flex; flex-direction: column; gap: 18px; }
.phone-ios .hh-band { padding-top: 114px; }
.phone-android .hh-band { padding-top: 104px; }
.screen .faces { display: flex; gap: 4px; padding: 0 16px; }
.screen .face { width: 66px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.screen .avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 22px; outline: 3px solid var(--s-surface); }
.screen .av1 { background: var(--s-m1); color: var(--s-m1-fg); }
.screen .av2 { background: var(--s-m2); color: var(--s-m2-fg); }
.screen .av3 { background: var(--s-m3); color: var(--s-m3-fg); }
.screen .add-face { width: 70px; height: 70px; border-radius: 50%; border: 2px dashed var(--s-border-strong); display: grid; place-items: center; color: var(--s-text-brand); }
.screen .add-face .ic { width: 24px; height: 24px; }
.screen .ring { position: relative; width: 140px; height: 140px; flex: none; }
.screen .ring svg { position: absolute; inset: 0; }
.screen .ring .mid { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.screen .ring .mid strong { font-weight: 700; font-size: 23px; line-height: 27px; font-variant-numeric: tabular-nums; }

/* The floating tab bar: a glass pill with four icons and Search on its own */
.screen .tabbar { position: absolute; z-index: 20; left: 16px; right: 16px; height: 64px; display: flex; gap: 10px; }
.phone-ios .tabbar { bottom: 24px; }
.phone-android .tabbar { bottom: 22px; }
.screen .tabbar .pill { flex: 1; display: flex; gap: 4px; padding: 8px; border-radius: 999px; background: var(--s-glass); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); box-shadow: var(--s-shadow-float), inset 0 0 0 1px rgba(255,255,255,0.5); }
.screen .tabbar .tab { flex: 1; height: 48px; border-radius: 999px; display: grid; place-items: center; color: var(--s-text-2); }
.screen .tabbar .tab .ic { width: 26px; height: 26px; }
.screen .tabbar .tab.on { background: var(--s-brand-tint); color: var(--s-text-brand); }
.screen .tabbar .search { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--s-glass); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); box-shadow: var(--s-shadow-float), inset 0 0 0 1px rgba(255,255,255,0.5); color: var(--s-text-2); }
.screen .tabbar .search .ic { width: 26px; height: 26px; }
.phone-android .tabbar .pill, .phone-android .tabbar .search { background: var(--s-solid); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: var(--s-shadow-float); }

/* Your channel's cards */
.screen .bullet { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--s-border); }
.screen .bullet:first-of-type { border-top: 0; }
.screen .bullet .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--s-danger); margin-top: 7px; flex: none; }
.screen .num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--s-brand-tint); color: var(--s-text-brand); font-weight: 700; font-size: 14px; flex: none; }

/* A soft scrim at the very top so the status bar reads over pictures */
.screen .top-fade { position: absolute; z-index: 10; top: 0; left: 0; right: 0; height: 60px; background: linear-gradient(180deg, rgba(242, 245, 248, 0.55), transparent); }

/* The camera screens: reading a receipt over a photo of it */
.screen .cam { position: absolute; inset: 0; display: flex; flex-direction: column; background: #0f1e2b; color: #fff; }
.screen .cam-top { padding: 58px 20px 0; display: flex; align-items: center; gap: 12px; }
.screen .cam-btn { background: rgba(255, 255, 255, 0.15); color: #fff; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.screen .paper-wrap { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 14px 24px; overflow: hidden; }
.screen .paper {
  width: 236px; padding: 16px 16px 14px; border-radius: 6px; background: #fbfaf6; color: #2a2d31; transform: rotate(-2deg);
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.7); font: 500 10.5px/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 0.02em;
}
.screen .paper .pc { text-align: center; }
.screen .paper .big { font-size: 17px; font-weight: 800; letter-spacing: 0.24em; line-height: 1.4; }
.screen .paper hr { border: 0; border-top: 1px dashed #9aa3ab; margin: 7px 0; }
.screen .paper .pl { display: flex; justify-content: space-between; gap: 8px; }
.screen .paper .pl.b { font-weight: 800; font-size: 12px; margin-top: 2px; }
.screen .paper .hl { background: rgba(124, 192, 238, 0.38); border-radius: 3px; margin: 0 -4px; padding: 0 4px; }
.screen .paper .bar { height: 24px; margin-top: 9px; background: repeating-linear-gradient(90deg, #2a2d31 0 2px, transparent 2px 3px, #2a2d31 3px 4px, transparent 4px 7px, #2a2d31 7px 10px, transparent 10px 12px); }
.screen .cam-card { margin: 0 12px 34px; padding: 18px; border-radius: 28px; background: var(--s-surface); color: var(--s-text); display: flex; flex-direction: column; gap: 14px; }
.screen .sdot { width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; flex: none; display: grid; place-items: center; }
.screen .sdot.done { background: var(--s-brand); color: #fff; }
.screen .sdot.done .ic { width: 14px; height: 14px; stroke-width: 2.2; }
.screen .sdot.work { border: 2.5px solid var(--s-brand-tint); border-top-color: var(--s-text-brand); }
.screen .sdot.wait { border: 1.5px solid var(--s-border-strong); }

/* Household: a passport that needs attention */
.screen .attn { position: absolute; top: -1px; right: 0; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--s-surface); background: var(--s-caution-tint); color: var(--s-caution); display: grid; place-items: center; font-weight: 700; font-size: 12px; line-height: 1; }
.screen .attention { background: var(--s-caution-tint); border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.screen .mini-btn { align-self: flex-start; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--s-surface); display: inline-flex; align-items: center; font-weight: 600; font-size: 14px; }

/* The Lock Screen with a flight's Live Activity (src/widgets/flight-activity.tsx), over a Bermuda wallpaper */
.screen.lock { background: #0c2f4a center / cover no-repeat; color: #fff; }
.screen .lock-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 20, 32, 0.45) 0%, rgba(8, 20, 32, 0.08) 42%, rgba(8, 20, 32, 0.15) 60%, rgba(8, 20, 32, 0.6) 100%); }
.screen .lock-top { position: absolute; z-index: 5; top: 58px; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25); }
.screen .lock-top .ic { width: 16px; height: 16px; stroke-width: 2; }
.screen .lock-inline { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 600; font-size: 15px; line-height: 20px; opacity: 0.92; }
.screen .lock-date { font-family: -apple-system, "SF Pro Display", "Figtree", system-ui, sans-serif; font-weight: 600; font-size: 20px; line-height: 24px; }
.screen .lock-time { font-family: -apple-system, "SF Pro Display", "Figtree", system-ui, sans-serif; font-weight: 700; font-size: 104px; line-height: 104px; letter-spacing: -3px; opacity: 0.94; }
.screen .la { position: absolute; z-index: 5; left: 12px; right: 12px; bottom: 112px; padding: 16px; border-radius: 26px; display: flex; flex-direction: column; gap: 10px;
  background: rgba(24, 30, 36, 0.62); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.18); }
.screen .la-head { display: flex; justify-content: space-between; align-items: baseline; }
.screen .la-ident { font-weight: 700; font-size: 17px; line-height: 22px; }
.screen .la-status { font-weight: 600; font-size: 15px; line-height: 20px; color: #7cc0ee; }
.screen .la-route { display: flex; align-items: center; gap: 10px; }
.screen .la-end { display: flex; flex-direction: column; }
.screen .la-end.to { align-items: flex-end; text-align: right; }
.screen .la-code { font-weight: 700; font-size: 26px; line-height: 30px; letter-spacing: -0.3px; }
.screen .la-when { font-weight: 600; font-size: 14px; line-height: 18px; font-variant-numeric: tabular-nums; }
.screen .la-city { font-size: 12px; line-height: 16px; color: rgba(255, 255, 255, 0.68); }
.screen .la-mid { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.screen .la-bar { position: relative; width: 100%; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.22); }
.screen .la-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: #7cc0ee; }
.screen .la-bar .ic { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; color: #fff; stroke-width: 1.8; transform: rotate(45deg); }  /* the icon points up-right; along the line it flies right, toward Bermuda */
.screen .la-left { font-weight: 600; font-size: 12px; line-height: 16px; font-variant-numeric: tabular-nums; }
.screen .lock-btn { position: absolute; z-index: 5; bottom: 40px; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(24, 30, 36, 0.45); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: #fff; }
.screen .lock-btn .ic { width: 22px; height: 22px; stroke-width: 1.8; }

/* The trip's card on Trips during the stay (src/components/trip/trip-now.tsx): a panel under the trip, then Scan receipt */
.screen .tc-panel { padding: 16px; border-radius: 22px; background: var(--s-sunken); display: flex; flex-direction: column; gap: 14px; }
.screen .tc-panel.over { background: var(--s-danger-tint); }
.screen .tc-facts { display: flex; justify-content: space-between; gap: 12px; }
.screen .tc-fact { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; line-height: 18px; }
.screen .tc-fact .ic { width: 18px; height: 18px; color: var(--s-text-2); }
.screen .tc-flight { display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--s-border); }
.screen .tc-flight .ic { width: 18px; height: 18px; color: var(--s-text-brand); }
.screen .tc-scan { min-height: 48px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--s-brand); color: #fff; font-weight: 600; font-size: 15px; }
.screen .tc-scan .ic { width: 20px; height: 20px; }
.screen .meter-bar.dark-track { background: color-mix(in srgb, var(--s-text) 12%, transparent); }
