/* =====================================================================
   app.css — 1:1 replica of the Beeylo Flutter UI, in CSS.

   Every number here is copied from the real widget source in
   beeylo_demo/lib. The app's ScreenUtil design baseline is
   iPhone 17 (393 x 852 logical px, see lib/utils/responsive.dart), so a
   Dart value of `14.sp` / `18.r` / `13.w` maps to exactly 14 / 18 / 13
   CSS px inside a .phone-screen that is 393 x 852 px. The whole phone is
   then scaled with a single transform, which keeps the replica exact at
   any viewport size.

   Source map (widget -> block below):
     topbar_v2.dart .................... .app-topbar
     home_v2/home_search_bar.dart ...... .app-search
     home_v2/home_notification_bar.dart  .app-notifbar
     home_page_v2.dart _Section ........ .app-section
     home_page_v2.dart _CountPill ...... .app-countpill
     home_v2/stack_wrap.dart ........... .imp-card  (Important slider)
     home_v2/action_required_row.dart .. .upd-card  (Updates rows)
     home_v2/week_ahead_row.dart ....... .agenda-row
     home_v2/agenda_dropdown.dart ...... .agenda-panel
     home_page_v2.dart _EmptyHomeBlock . .empty-*
     ticket_detail_page_v3.dart ........ .td-*
     ticket_detail_v2/details_section .. .td-detail-row
   ===================================================================== */

/* ---------- phone shell ---------- */

.phone-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}

.phone {
  position: absolute;
  top: 0;
  width: 413px; /* 393 screen + 2 x 10 bezel */
  height: 892px;
  transform: scale(var(--k, 1));
  transform-origin: top center;
  border-radius: 62px;
  background: linear-gradient(150deg, #4a4c52 0%, #17181c 38%, #0a0a0c 100%);
  /* one soft, warm shadow only. A heavier one reads as a grey box the
     moment any ancestor clips it. */
  box-shadow:
    0 2px 0 0 rgba(255, 255, 255, 0.2) inset,
    0 0 0 1.5px #05060a,
    0 18px 34px -16px rgba(72, 58, 26, 0.26),
    0 5px 12px -6px rgba(72, 58, 26, 0.14);
}

.phone-screen {
  position: absolute;
  inset: 10px;
  width: 393px;
  height: 872px;
  border-radius: 52px;
  overflow: hidden;
  background: #f8f8f9;
  /* Same font resolution order as the app: SF Pro Text on Apple
     platforms, Inter elsewhere (see home_search_bar.dart). */
  font-family: -apple-system, "SF Pro Text", "SF Pro Display", "Inter",
    system-ui, sans-serif;
  color: #111;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

/* dynamic island */
.phone-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 124px;
  height: 36px;
  background: #000;
  border-radius: 100px;
  z-index: 40;
}
.phone-island::after {
  content: "";
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0b0b14;
  box-shadow: inset 0 0 0 2px #23232c;
}

.phone-btn {
  position: absolute;
  background: #202126;
  border-radius: 3px;
}
.phone-btn.mute {
  left: -2px;
  top: 132px;
  width: 3px;
  height: 30px;
}
.phone-btn.volup {
  left: -3px;
  top: 182px;
  width: 4px;
  height: 58px;
}
.phone-btn.voldn {
  left: -3px;
  top: 252px;
  width: 4px;
  height: 58px;
}
.phone-btn.power {
  right: -3px;
  top: 212px;
  width: 4px;
  height: 92px;
}

/* iOS status bar */
.ios-status {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 59px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: #111;
  z-index: 30;
  pointer-events: none;
}
.ios-status .ios-right {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ios-status svg {
  display: block;
}
.ios-status.on-dark {
  color: #fff;
}

/* the scrollable app body starts below the status bar (59px safe area) */
.app-body {
  position: absolute;
  inset: 59px 0 0 0;
  overflow: hidden;
}
/* the lock/home screen fills the whole display, status bar included */
.app-body.push {
  inset: 0;
}

/* ---------- topbar (topbar_v2.dart) ---------- */

.app-topbar {
  background: #f8f8f9;
  padding: 10px 20px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app-topbar .brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.app-topbar .brand img.mark {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.app-topbar .brand img.word {
  height: 17px;
  width: auto;
  object-fit: contain;
}
.app-topbar .actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tb-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #111;
}
.tb-icon svg {
  display: block;
}
.tb-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: #e6e6e6;
}

/* ---------- notification / agenda bar (home_notification_bar.dart) ---------- */

.app-notifbar {
  padding: 0 20px;
}
.notif-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.06);
  padding: 11px 10px 11px 12px;
  display: flex;
  align-items: center;
}
.notif-card .avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex: none;
}
.notif-card .txt {
  flex: 1;
  min-width: 0;
  margin-left: 12px;
}
.notif-card .t {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  line-height: 1.25;
  letter-spacing: -0.14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.notif-card .s {
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 400;
  color: #888;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.notif-card .circ-btn {
  margin-left: 10px;
}
.notif-card .circ-btn + .circ-btn {
  margin-left: 8px;
}

/* dots indicator (_DotsIndicator) */
.notif-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 8px;
}
.notif-dots i {
  display: block;
  margin: 0 3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(245, 180, 0, 0.3);
}
.notif-dots i.on {
  width: 7px;
  height: 7px;
  background: #f5b400;
}

/* ---------- CircleIconButton (ticket_detail_v2/circle_icon_button.dart) ---------- */

.circ-btn {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e2e2e2;
  display: grid;
  place-items: center;
  color: #555;
}
.circ-btn.active {
  border-color: #f5b400;
  color: #f5b400;
}
.circ-btn svg {
  display: block;
}

/* square-ish check button in action_required_row.dart (_IconButton):
   7px padding + 16px icon = 30x30, radius 22 */
.sq-btn {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #e2e2e2;
  display: grid;
  place-items: center;
  color: #333;
}

/* ---------- search bar (home_search_bar.dart) ---------- */

.app-search {
  margin: 0 20px;
  background: #fff;
  border-radius: 34px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
  padding: 5px 8px 5px 15px;
  display: flex;
  align-items: center;
}
.app-search .glass {
  width: 16px;
  height: 16px;
  flex: none;
  color: #8a8a8a;
}
.app-search .hint {
  margin-left: 10px;
  flex: 1;
  font-size: 12.5px;
  line-height: 1.25;
  color: #a8a8a8;
  padding: 8px 0;
}
.app-search .spacer {
  width: 34px;
  height: 34px;
  flex: none;
}

/* ---------- section header (home_page_v2.dart _Section) ---------- */

.app-section {
  padding-top: 16px;
}
.app-section > .head {
  padding: 0 20px 12px;
  display: flex;
  align-items: center;
}
.app-section > .head h3 {
  font-family: "Open Sans", -apple-system, system-ui, sans-serif;
  font-size: 21px;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.44px;
  line-height: 1.1;
}
.app-countpill {
  margin-left: 10px;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  border-radius: 8px;
  background: #f2f2f2;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #555;
  letter-spacing: -0.14px;
}
.app-section > .body {
  padding: 0 20px;
}

/* ---------- Important slider (home_v2/stack_wrap.dart) ---------- */

.imp-rail {
  display: flex;
  gap: 12px; /* StackWrap._gap */
  overflow: hidden;
}
.imp-card {
  position: relative;
  flex: none;
  width: 334px; /* clamp(393 * 0.85, 300, 360) */
  height: 204px; /* _cardHeightFor, strip + button worst case */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
  padding: 18px 20px; /* _cardPaddingVertical / _cardPaddingHorizontal */
  display: flex;
  flex-direction: column;
  color: #fff;
}
/* decorative rings (_CardCircles): oversized circle, 1.5px white border */
.imp-card .ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.13);
  pointer-events: none;
}
.imp-card > * {
  position: relative;
}

.imp-head {
  display: flex;
  align-items: center;
}
.imp-head .avatar {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  flex: none;
}
.imp-head .meta {
  flex: 1;
  min-width: 0;
  margin-left: 10px;
}
.imp-head .co {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.13px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.imp-head .tm {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: -0.12px;
  line-height: 1.2;
}
/* _DarkCardIconButton */
.dark-btn {
  width: 30px;
  height: 30px;
  flex: none;
  margin-left: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.92);
}

.imp-title {
  margin-top: 16px; /* _headerToTitleGap */
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.18px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.imp-spacer {
  flex: 1;
}

/* _ActionButton */
.imp-action {
  background: #fff;
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #111;
  letter-spacing: -0.14px;
  line-height: 1.2;
}
.imp-action svg {
  width: 16px;
  height: 16px;
  flex: none;
}

/* _MessageStrip + _StripBadge + _StripRow */
.imp-stripbadge {
  align-self: flex-end;
  margin-bottom: 2px;
  padding: 1px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 9.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: -0.08px;
  line-height: 1.1;
}
.imp-strip {
  height: 52px; /* 2 x _stripRowHeight (26) */
  overflow: hidden;
  border-radius: 6px;
}
.imp-strip .row {
  height: 26px;
  display: flex;
  align-items: center;
  padding: 0 2px;
}
.imp-strip .row .dot {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}
.imp-strip .row .lbl {
  flex: 1;
  min-width: 0;
  margin-left: 9px;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: -0.12px;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.imp-strip .row .tm {
  margin-left: 8px;
  font-size: 10.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: -0.1px;
  line-height: 1.15;
}

/* ---------- Updates card (home_v2/action_required_row.dart) ---------- */

.upd-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.upd-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
  padding: 14px 12px 14px 14px;
}
.upd-head {
  display: flex;
  align-items: center;
}
.upd-head .avatar {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  flex: none;
}
.upd-head .co {
  flex: 1;
  min-width: 0;
  margin-left: 8px;
  font-size: 12.5px;
  font-weight: 400;
  color: #555;
  letter-spacing: -0.13px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.upd-head .tm {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 400;
  color: #9a9a9a;
  letter-spacing: -0.12px;
  line-height: 1.2;
}
.upd-title {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #111;
  letter-spacing: -0.15px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.upd-foot {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.upd-foot .grow {
  flex: 1;
}
/* _CtaPill */
.cta-pill {
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 22px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 400;
  color: #111;
  letter-spacing: -0.13px;
  line-height: 1.2;
  white-space: nowrap;
}
.cta-pill svg {
  width: 14px;
  height: 14px;
  flex: none;
}

/* swipe-to-done reveal (home_page_v2.dart _buildUpdatesSwipeRow) */
.upd-swipe {
  position: relative;
}
.upd-swipe .reveal {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: #eef7ee;
  color: #1b8b3f;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 26px;
}
.upd-swipe .sliding {
  position: relative;
}

/* ---------- agenda (week_ahead_row.dart + agenda_dropdown.dart) ---------- */

/* dimmed home behind the dropdown (showGeneralDialog barrier 0x33000000) */
.agenda-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  pointer-events: none;
  z-index: 1;
}
.agenda-panel {
  position: relative;
  z-index: 2;
  margin: 0 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  padding-bottom: 4px;
}
.agenda-panel > h4 {
  font-family: "Open Sans", -apple-system, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.34px;
  line-height: 1.2;
  padding: 14px 16px 6px;
}
.agenda-row {
  display: flex;
  align-items: center;
  padding: 16px 12px;
}
.agenda-row + .agenda-row {
  border-top: 0.5px solid rgba(0, 0, 0, 0.1);
}
.agenda-row .date {
  width: 32px;
  flex: none;
  text-align: center;
}
.agenda-row .date .dow {
  font-size: 10.5px;
  font-weight: 600;
  color: #888;
  letter-spacing: 0.4px;
  line-height: 1.1;
}
.agenda-row .date .d {
  margin-top: 2px;
  font-size: 17px;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.36px;
  line-height: 1.1;
}
.agenda-row .date .mon {
  margin-top: 2px;
  font-size: 9px;
  font-weight: 600;
  color: #aaa;
  letter-spacing: 0.6px;
  line-height: 1;
}
.agenda-row .avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex: none;
  margin-left: 12px;
}
.agenda-row .txt {
  flex: 1;
  min-width: 0;
  margin-left: 10px;
}
.agenda-row .txt .t {
  font-size: 13px;
  font-weight: 600;
  color: #111;
  letter-spacing: -0.16px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.agenda-row .txt .sub {
  margin-top: 3px;
  display: flex;
  align-items: center;
}
.agenda-row .txt .sub span {
  flex: 1;
  min-width: 0;
  font-size: 11.5px;
  font-weight: 400;
  color: #888;
  letter-spacing: -0.13px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.agenda-row .txt .sub b {
  margin-left: 8px;
  flex: none;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 500;
  color: #111;
  letter-spacing: -0.12px;
  line-height: 1.2;
}
.agenda-row .txt .sub b.blue {
  background: #fafcff;
}
.agenda-row .txt .sub b.green {
  background: #f9fcf9;
}
.agenda-row .txt .sub b.peach {
  background: #fffaf5;
}

/* AgendaEmptyRow */
.agenda-empty {
  display: flex;
  align-items: center;
  padding: 16px 12px;
}
.agenda-empty .ic {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: #fcf1e5;
  color: #c87a4a;
  display: grid;
  place-items: center;
}
.agenda-empty .txt {
  margin-left: 10px;
}
.agenda-empty .t {
  font-size: 13px;
  font-weight: 600;
  color: #111;
  letter-spacing: -0.16px;
  line-height: 1.2;
}
.agenda-empty .s {
  margin-top: 3px;
  font-size: 11.5px;
  font-weight: 400;
  color: #888;
  letter-spacing: -0.13px;
  line-height: 1.2;
}

/* ---------- empty home (home_page_v2.dart _EmptyHomeBlock) ---------- */

.empty-block {
  padding: 4px 20px 24px;
}
.empty-hero {
  text-align: center;
}
.empty-hero .disc {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  border-radius: 50%;
  background: #f5b400;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 0 28px 4px rgba(245, 180, 0, 0.18);
}
.empty-hero h4 {
  margin-top: 18px;
  font-size: 22px;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.empty-hero p {
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 400;
  color: #8a8a8a;
  letter-spacing: -0.13px;
  line-height: 1.4;
}
.white-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.explore-head {
  padding: 4px 4px 2px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #9a9a9a;
  line-height: 1.2;
}
.discovery-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 14px;
  display: flex;
  align-items: center;
}
.discovery-card .ic {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: #f4f5f7;
  color: #111;
  display: grid;
  place-items: center;
}
.discovery-card .txt {
  flex: 1;
  min-width: 0;
  margin-left: 12px;
}
.discovery-card .t {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  letter-spacing: -0.15px;
  line-height: 1.2;
}
.discovery-card .s {
  margin-top: 3px;
  font-size: 12.5px;
  font-weight: 400;
  color: #888;
  letter-spacing: -0.13px;
  line-height: 1.2;
}

/* ---------- ticket detail v3 ---------- */

.td-top {
  padding: 10px 20px 8px;
}
.td-back {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: grid;
  place-items: center;
  color: #111;
}
.td-card {
  margin: 0 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
  padding: 16px;
}
.td-head {
  display: flex;
  align-items: center;
}
.td-head .avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex: none;
}
.td-head .meta {
  flex: 1;
  min-width: 0;
  margin-left: 10px;
}
.td-head .co {
  font-size: 13px;
  font-weight: 600;
  color: #111;
  letter-spacing: -0.13px;
  line-height: 1.2;
}
.td-head .dt {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 400;
  color: #9a9a9a;
  letter-spacing: -0.12px;
  line-height: 1.2;
}
.td-head .circ-btn {
  margin-left: 6px;
}
.td-head .circ-btn:first-of-type {
  margin-left: 8px;
}
.td-title {
  margin-top: 14px;
  font-size: 16px;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.22px;
  line-height: 1.3;
}
.td-summary {
  margin-top: 10px;
  padding: 12px;
  border-radius: 10px;
  background: #f4f5f7;
  font-size: 13.5px;
  font-weight: 400;
  color: #333;
  letter-spacing: -0.13px;
  line-height: 1.45;
}
.td-summary p + p {
  margin-top: 1.45em;
}
.td-summary ul {
  list-style: none;
}
.td-summary li {
  padding-left: 14px;
  position: relative;
}
.td-summary li::before {
  content: "\2022";
  position: absolute;
  left: 2px;
}
.td-primary {
  margin-top: 12px;
  background: #f5b400;
  border: 1px solid #e0a300;
  border-radius: 10px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  letter-spacing: -0.14px;
  line-height: 1.2;
}
.td-primary svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.td-secondary {
  margin-top: 8px;
  display: flex;
  gap: 6px;
}
.td-pill {
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 22px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #111;
  letter-spacing: -0.12px;
  line-height: 1.2;
  white-space: nowrap;
}
.td-pill svg {
  width: 14px;
  height: 14px;
  flex: none;
}
/* _CollapsibleBlock header */
.td-collapse {
  margin-top: 10px;
  padding: 6px 0;
  display: flex;
  align-items: center;
}
.td-collapse .t {
  font-size: 12.5px;
  font-weight: 600;
  color: #222;
  letter-spacing: -0.13px;
  line-height: 1.2;
}
.td-collapse .s {
  margin-left: 6px;
  font-size: 12px;
  font-weight: 400;
  color: #8a8a8a;
  letter-spacing: -0.12px;
  line-height: 1.2;
}
.td-collapse .chev {
  margin-left: auto;
  color: #8a8a8a;
  transform: rotate(180deg);
}
/* details_section.dart DetailsList */
.td-detail-row {
  display: flex;
  align-items: flex-start;
  padding: 13px 0;
}
.td-detail-row:first-of-type {
  padding-top: 0;
}
.td-detail-row + .td-detail-row {
  border-top: 1px solid #f0f0f0;
}
.td-detail-row .lbl {
  width: 110px;
  flex: none;
  font-size: 13px;
  color: #111;
  letter-spacing: -0.135px;
  line-height: 1.3;
}
.td-detail-row .val {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 500;
  color: #111;
  letter-spacing: -0.135px;
  line-height: 1.3;
}

/* ---------- lock screen + iOS push (screenshot 3) ---------- */

.lock-wall {
  position: absolute;
  inset: -14%;
  background:
    radial-gradient(90% 60% at 22% 12%, #3a5f95 0%, transparent 58%),
    radial-gradient(80% 55% at 88% 22%, #24406b 0%, transparent 62%),
    radial-gradient(120% 80% at 38% 98%, #6d8f70 0%, transparent 58%),
    linear-gradient(162deg, #2b4a78 0%, #3f6479 46%, #728f6c 100%);
  filter: blur(26px);
}
/* the home screen behind the banner is out of focus, the way iOS renders
   it when a notification takes over: readable as "a phone", not as icons */
.lock-apps {
  position: absolute;
  inset: 168px 40px auto 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px 22px;
  filter: blur(13px) saturate(0.72);
  opacity: 0.62;
}
.lock-apps i {
  display: block;
  aspect-ratio: 1;
  border-radius: 19px;
}
.lock-chrome {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 28px;
  color: rgba(255, 255, 255, 0.82);
  z-index: 5;
}
/* the notification banner itself stays perfectly sharp */
.ios-push {
  border-radius: 22px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  background: rgba(238, 240, 243, 0.72);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  backdrop-filter: blur(28px) saturate(1.6);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.22);
}
.ios-push .icon {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 9px;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.ios-push .icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.ios-push .body {
  flex: 1;
  min-width: 0;
}
.ios-push .row1 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.ios-push .app {
  font-size: 14px;
  font-weight: 600;
  color: #1c1c1e;
  letter-spacing: -0.2px;
}
.ios-push .when {
  font-size: 13px;
  font-weight: 400;
  color: #6b6b70;
}
.ios-push .msg {
  margin-top: 1px;
  font-size: 14px;
  font-weight: 400;
  color: #1c1c1e;
  line-height: 1.3;
  letter-spacing: -0.15px;
}

/* ---------- lifted element ----------
   One element pulled out of the screen, magnified and floated over the
   device, the way the App Store screenshots do it. It lives inside
   .phone (not .phone-screen) so it rides the same transform and every
   coordinate below is an app design pixel. It is allowed to bleed past
   the device edges; the slide card clips it. */

.lift {
  position: absolute;
  left: 50%;
  top: var(--lt, 300px);
  width: var(--lw, 353px);
  margin-left: calc(var(--lw, 353px) / -2);
  z-index: 35;
  pointer-events: none;
  font-family: -apple-system, "SF Pro Text", "Inter", system-ui, sans-serif;
  color: #111;
  text-align: left;
  /* scale first, then nudge sideways (transforms read right to left) */
  transform: translateX(var(--ldx, 0px)) scale(var(--lz, 1.4));
  transform-origin: center center;
  filter: drop-shadow(0 14px 22px rgba(52, 40, 12, 0.2))
    drop-shadow(0 3px 6px rgba(52, 40, 12, 0.1));
}
/* the float shadow above replaces the component's own resting shadow,
   otherwise the magnified copy looks muddy */
.lift .upd-card,
.lift .imp-card,
.lift .white-card,
.lift .agenda-panel,
.lift .ios-push,
.lift .notif-card {
  box-shadow: none;
}
.lift .td-summary {
  /* the in-app block has no radius edge against white; give the floating
     copy the rounder, softer shape it has in the screenshots */
  border-radius: 14px;
  padding: 14px;
}

/* ---------- brand avatars ---------- */

.brandlogo {
  display: grid;
  place-items: center;
  color: #fff;
  overflow: hidden;
}
.brandlogo svg {
  width: 62%;
  height: 62%;
  display: block;
}
.bg-sky {
  background: #2f6fe0;
}
.bg-parcel {
  background: #f2621f;
}
.bg-fresh {
  background: #1da34e;
}
.bg-cloud {
  background: #6c63e8;
}
.bg-bright {
  background: #199c4a;
}
.bg-dental {
  background: #29a9e8;
}
.bg-studio {
  background: #e0218a;
}
.bg-city {
  background: #1652d0;
}
.bg-user {
  background: #d9b48f;
}

/* the agenda panel is cloned into a .lift; drop its page margins there */
.lift .agenda-panel {
  margin: 0;
}
