/* Cukup app shell: a phone-first column, centred on wider screens. */
html, body { height: 100%; }
body { background: var(--sand); }

.app {
  position: relative;
  max-width: 480px;
  height: 100vh; height: 100dvh;
  margin: 0 auto;
  background: var(--cream);
  display: flex; flex-direction: column;
  overflow: hidden;
}
@media (min-width: 520px) {
  .app { box-shadow: 0 0 0 1px var(--sand); }
}

.screen { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.screen[hidden] { display: none; }

.pad { padding: 24px 20px 0; padding-top: max(24px, env(safe-area-inset-top)); }
.pad-x { padding-left: 16px; padding-right: 16px; }
.top { padding: 24px 16px 12px; padding-top: max(24px, env(safe-area-inset-top)); display: flex; flex-direction: column; gap: 2px; }
.top-row { display: flex; align-items: center; justify-content: space-between; }
.scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 0 16px 16px; -webkit-overflow-scrolling: touch; }
.stack { display: flex; flex-direction: column; gap: 12px; }

.h1 { font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--forest); }
.display { font-family: var(--font-display); font-weight: 700; font-size: 52px; line-height: 1; color: var(--forest); }
.small { font-size: 13px; }
.muted { color: var(--muted); }
.mint { color: var(--mint); }
.peach-text { color: var(--peach); font-size: 14px; }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.grow { flex: 1; }

/* Beranda */
.screen-beranda { overflow-y: auto; }
.beranda-hero { padding: 20px 0 24px; display: flex; flex-direction: column; gap: 10px; }
.bottom-actions { margin-top: auto; padding-top: 24px; padding-bottom: max(28px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; }
.install-hint { background: none; border: none; padding: 8px 0; font: 500 15px var(--font-sans); color: var(--terracotta-text); text-decoration: underline; cursor: pointer; }
.install-hint.is-text { text-decoration: none; font-weight: 400; color: var(--muted); text-align: center; }

/* Ngobrol */
.progress { margin-top: 12px; height: 6px; border-radius: 6px; background: var(--sand); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--terracotta); border-radius: 6px; }
.chat { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; }
.bubble { max-width: 82%; padding: 12px 14px; font-size: 16px; line-height: 1.5; }
.from-cukup { align-self: flex-start; background: var(--white); border: 1px solid var(--sand); border-radius: 18px 18px 18px 6px; }
.from-me { align-self: flex-end; background: var(--forest); color: var(--cream); border-radius: 18px 18px 6px 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1.5px solid var(--forest); background: transparent; color: var(--forest); font: 15px var(--font-sans); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--forest); color: var(--cream); }
.chip.plain { border: 1px solid var(--sand); background: var(--white); color: var(--ink); font-size: 14px; padding: 0 14px; }
.composer { display: flex; gap: 8px; align-items: center; padding: 8px 16px 12px; }
.composer input { flex: 1; height: 48px; padding: 0 16px; border-radius: 24px; border: 1px solid var(--sand); background: var(--white); font: 15px var(--font-sans); color: var(--ink); }
.mic { width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; border: none; background: var(--terracotta); color: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.mic svg { width: 24px; height: 24px; }
.mic.big { width: 80px; height: 80px; }
.mic.big svg { width: 34px; height: 34px; }

/* Ngobrol: quick replies, send, listening */
.quick { padding: 0 16px; display: flex; flex-direction: column; gap: 8px; }
.quick:empty { display: none; }
.quick .chips { padding-bottom: 4px; }
.quick-go { align-self: flex-start; min-height: 44px; padding: 0 20px; font-size: 15px; }
.send { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; border: none; background: var(--forest); color: var(--cream); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.send svg { width: 22px; height: 22px; }
.mic.is-listening { background: var(--forest); box-shadow: 0 0 0 4px var(--peach); }
.from-cukup, .from-me { white-space: pre-line; }

/* Rencana */
.total-card { background: var(--forest); color: var(--cream); border-radius: var(--radius-lg); padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.total { font-size: 30px; font-weight: 500; }
.bar { height: 8px; border-radius: 8px; background: var(--forest-2); overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--peach); border-radius: 8px; }
.segmented { margin: 12px 0 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; background: var(--sand); border-radius: var(--radius-md); padding: 4px; }
.segmented button { height: 44px; border-radius: 10px; border: none; background: transparent; color: var(--ink); font: 15px var(--font-sans); cursor: pointer; }
.segmented button[aria-selected="true"] { background: var(--white); color: var(--forest); font-weight: 700; }
.plan { list-style: none; margin: 0; padding: 4px 0 0; position: relative; display: flex; flex-direction: column; gap: 14px; }
.plan::before { content: ""; position: absolute; left: 20.5px; top: 26px; bottom: 26px; border-left: 3px dashed var(--terracotta); }
.plan li { position: relative; display: flex; gap: 12px; align-items: flex-start; }
.plan .dot { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--forest); color: var(--cream); display: flex; align-items: center; justify-content: center; }
.plan .dot.is-goal { background: var(--terracotta); color: var(--white); }
.plan .dot svg { width: 22px; height: 22px; }
.plan-body { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.plan-head { display: flex; justify-content: space-between; gap: 8px; font-size: 15px; font-weight: 700; }
.plan .num, .journey .num { color: var(--terracotta-text); }
.links { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; font-weight: 500; align-items: center; }
.links a { color: var(--forest); padding: 4px 0; }
.link-cheaper { background: none; border: none; padding: 4px 0; font: 500 13px var(--font-sans); color: var(--terracotta-text); cursor: pointer; }
.vehicles { border: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.vehicles[hidden] { display: none; }
.meals .segmented { margin: 0; }
.meals .segmented label span { font-size: 14px; text-align: center; }
.vehicle input[type="checkbox"] { accent-color: var(--forest); }
.vehicles legend { padding: 0; margin-bottom: 4px; }
.vehicle { display: grid; grid-template-columns: 22px minmax(0, 1fr); grid-template-areas: "radio name" "radio price" "radio note"; gap: 2px 10px; align-items: center; min-height: 52px; padding: 10px 12px; background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius-md); cursor: pointer; }
.vehicle:has(input:checked) { border: 2px solid var(--forest); padding: 9px 11px; }
.vehicle input { grid-area: radio; width: 20px; height: 20px; margin: 0; accent-color: var(--forest); }
.v-name { grid-area: name; font-size: 15px; font-weight: 700; }
.v-note { grid-area: note; font-size: 13px; color: var(--muted); }
.v-price { grid-area: price; font-size: 14px; font-weight: 700; color: var(--forest); }
.days { display: flex; flex-direction: column; gap: 10px; }
.day { background: var(--white); border: 1px solid var(--sand); border-radius: 16px; padding: 14px; }
.day-title { font-weight: 700; margin-bottom: 2px; }
.day-text { line-height: 1.5; }
.day-places { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.day-place { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--cream); border: 1px solid var(--sand); font-size: 13px; color: var(--ink); text-decoration: none; }
.day-place .muted { font-size: 12px; }
.day-empty { background: var(--white); border: 1px dashed var(--sand); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; line-height: 1.5; }
.day-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.bubble.typing { color: var(--muted); letter-spacing: 2px; }
.row-actions { display: flex; gap: 8px; padding-top: 8px; padding-bottom: 12px; }
.row-actions .btn { flex: 1; font-size: 15px; padding: 0 12px; }

/* Patungan */
.code-card { background: var(--forest); color: var(--cream); border-radius: var(--radius-lg); padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.code { font-size: 24px; font-weight: 700; letter-spacing: 0.06em; }
.box { background: var(--white); border: 1px solid var(--sand); border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.box.sand { background: var(--sand); border-color: var(--sand); gap: 6px; }
.box-title { font-size: 14px; font-weight: 700; }
.member { display: flex; align-items: center; gap: 10px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--forest); color: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.avatar.terra { background: var(--terracotta); color: var(--white); }
.avatar.gray { background: var(--muted); color: var(--white); }
.avatar.ring { background: transparent; border: 1.5px solid var(--muted); color: var(--muted); }
.tag { font-size: 12px; padding: 4px 10px; border-radius: 10px; background: var(--sand); color: var(--ink); }
.tag.ghost { background: transparent; border: 1px solid var(--sand); color: var(--muted); }
.expense { display: flex; justify-content: space-between; gap: 12px; }
.expense > span:last-child { font-weight: 500; white-space: nowrap; }

.budget-edit { background: none; border: none; padding: 4px 0; font: 13px var(--font-sans); color: var(--mint); text-align: right; cursor: pointer; }
.budget-pencil { color: var(--peach); font-weight: 700; text-decoration: underline; margin-left: 4px; }
.budget-form { display: flex; gap: 8px; }
.budget-form input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border-radius: var(--radius-md); border: none; background: var(--cream); color: var(--ink); font: 17px var(--font-sans); }
.budget-form .btn { min-height: 48px; padding: 0 18px; font-size: 15px; }

/* Tempat */
#tempat-filter { flex-wrap: nowrap; overflow-x: auto; flex-shrink: 0; padding-bottom: 4px; scrollbar-width: none; }
#tempat-filter .chip { flex-shrink: 0; }
.tempat-tools { display: flex; gap: 8px; flex-shrink: 0; }
.tempat-search, .tempat-region { height: 44px; border: 1px solid var(--sand); border-radius: var(--radius-md); background: var(--white); color: var(--ink); font: 16px var(--font-sans); padding: 0 12px; }
.tempat-search { flex: 1 1 auto; min-width: 0; }
.tempat-region { flex: 0 0 auto; max-width: 42%; }
.places-empty { color: var(--muted); padding: 16px 0; }
.place-photo.cat-keluarga { background: var(--terracotta); }
.places { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.place { background: var(--white); border: 1px solid var(--sand); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.place.is-in { border: 2px solid var(--forest); padding: 13px; }
.place { overflow: hidden; }
.place-photo { margin: -14px -14px 6px; position: relative; aspect-ratio: 16 / 10; background: var(--sand); }
.place.is-in .place-photo { margin: -13px -13px 6px; }
.place-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.place-photo figcaption { position: absolute; right: 6px; bottom: 6px; max-width: calc(100% - 12px); }
.place-photo figcaption a { display: inline-block; font-size: 11px; line-height: 1.3; padding: 3px 7px; border-radius: 6px; background: rgba(34, 51, 42, 0.72); color: #FFFFFF; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.place-photo.is-empty { display: flex; align-items: center; justify-content: center; background: var(--forest); }
.place-photo.is-empty span { font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--cream); }
.place-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.place-name { font-size: 17px; font-weight: 700; color: var(--ink); }
.place-desc { font-size: 14px; color: var(--muted); line-height: 1.5; }
.place-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.place-price { font-weight: 700; color: var(--forest); font-size: 15px; }
.place-actions { display: flex; align-items: center; gap: 14px; }
.place-actions a { font-size: 14px; font-weight: 500; }
.place-add { min-height: 40px; padding: 0 14px; font-size: 14px; }
.plan-pick { color: var(--terracotta-text); font-weight: 500; }
#plan-places { color: var(--ink); }

/* Patungan: forms, members, sheet */
.h2 { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--forest); }
.field { display: flex; flex-direction: column; gap: 6px; border: none; padding: 0; margin: 0; min-width: 0; }
.field > span, .field > legend { font-size: 14px; font-weight: 500; color: var(--ink); padding: 0; margin-bottom: 6px; }
.field > span { margin-bottom: 0; }
.field input, .field select, .inline-form input {
  height: 48px; padding: 0 14px; border-radius: var(--radius-md); border: 1px solid var(--sand);
  background: var(--white); font: 16px var(--font-sans); color: var(--ink); width: 100%; min-width: 0;
}
.field input:focus, .field select:focus, .inline-form input:focus { outline: 2px solid var(--forest); outline-offset: 0; border-color: var(--forest); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.field-error { margin: 0; color: #A32D2D; font-size: 14px; }
.field-error[hidden] { display: none; }
.segmented label { position: relative; display: flex; }
.segmented label input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented label span { flex: 1; display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 10px; font-size: 15px; color: var(--ink); }
.segmented label input:checked + span { background: var(--white); color: var(--forest); font-weight: 700; }
.segmented label input:focus-visible + span { outline: 3px solid var(--terracotta); }
.segmented.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.inline-form { display: flex; gap: 8px; }
.travel-pick { border: none; padding: 0; margin: 12px 0 0; min-width: 0; }
.travel-pick legend { padding: 0; margin-bottom: 4px; }
.travel-pick .segmented { margin: 0; }
.km-form { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.km-form[hidden] { display: none; }
.km-form .inline-form input { flex: 1; min-width: 0; }
.inline-form[hidden] { display: none; }
.inline-form .btn { min-height: 48px; padding: 0 16px; font-size: 15px; flex-shrink: 0; }
.role-select { height: 36px; border-radius: 10px; border: 1px solid var(--sand); background: var(--cream); font: 13px var(--font-sans); color: var(--ink); padding: 0 8px; }
.expense-right { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-weight: 500; white-space: nowrap; }
.trip-row { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 14px; border-radius: var(--radius-md); border: 1px solid var(--sand); background: var(--cream); font: 500 16px var(--font-sans); color: var(--ink); text-align: left; cursor: pointer; }
.share-row { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.share-row input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--forest); margin: 0; }
.share-amount { width: 130px; height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--sand); background: var(--white); font: 15px var(--font-sans); text-align: right; }
.share-amount[hidden] { display: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(34, 51, 42, 0.45); display: flex; align-items: flex-end; z-index: 20; }
.sheet-backdrop[hidden] { display: none; }
.sheet { width: 100%; max-height: 92%; overflow-y: auto; background: var(--cream); border-radius: 24px 24px 0 0; padding: 20px 16px; padding-bottom: max(20px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 14px; }

/* Terjemah */
.lang-row { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); gap: 8px; align-items: center; }
.lang { height: 48px; border-radius: var(--radius-md); border: 1px solid var(--sand); background: var(--white); font: 500 15px var(--font-sans); color: var(--ink); cursor: pointer; }
.lang.is-on { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.swap { width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--sand); color: var(--forest); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.swap svg { width: 20px; height: 20px; }
.bubble.tr { display: flex; flex-direction: column; gap: 6px; max-width: 88%; }
.tr-text { font-family: var(--font-display); font-size: 22px; font-weight: 500; }
.replay { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; background: none; border: none; padding: 4px 0; color: var(--peach); font: 13px var(--font-sans); cursor: pointer; }
.replay svg { width: 16px; height: 16px; }
.note { background: var(--sand); border-radius: var(--radius-md); padding: 10px 12px; font-size: 13px; line-height: 1.5; }
.talk { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 8px 16px 16px; }
.lang-me { display: flex; align-items: center; justify-content: center; cursor: default; }
select.lang { padding: 0 12px; text-align: center; text-align-last: center; appearance: none; -webkit-appearance: none; }
.tr-log { display: flex; flex-direction: column; gap: 10px; }
.tr-log .bubble.tr { max-width: 92%; }
.bubble.tr.from-them { align-self: flex-start; background: var(--white); border: 1px solid var(--sand); color: var(--ink); border-radius: 18px 18px 18px 4px; }
.bubble.tr.from-them .tr-text { color: var(--forest); }
.bubble.tr .tr-orig { font-size: 13px; opacity: .85; }
.bubble.tr .tr-roman { font-size: 14px; font-style: italic; opacity: .9; }
.bubble.tr .tr-warn { font-size: 12px; line-height: 1.4; border-top: 1px solid currentColor; padding-top: 6px; opacity: .85; }
.bubble.tr.is-loading .tr-text { opacity: .6; }
.tr-empty { line-height: 1.5; }
.tr-talk { flex-direction: row; justify-content: space-around; align-items: flex-start; padding-top: 4px; }
.tr-side { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.mic.big.them { background: var(--forest); }
.mic.big.them.is-listening { background: var(--terracotta); }
#terjemah .composer { padding-bottom: 4px; }

/* Tab bar */
.tabbar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--sand); background: var(--white); padding: 8px 0; padding-bottom: max(12px, env(safe-area-inset-bottom)); }
.tabbar[hidden] { display: none; }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 44px; font-size: 12px; color: var(--muted); text-decoration: none; }
.tabbar a svg { width: 24px; height: 24px; }
.tabbar a[aria-current="page"] { color: var(--forest); font-weight: 700; }

/* Toast */
.toast { position: absolute; left: 16px; right: 16px; bottom: 96px; background: var(--ink); color: var(--cream); border-radius: var(--radius-md); padding: 12px 16px; font-size: 15px; text-align: center; z-index: 10; }
.toast[hidden] { display: none; }

/* ===== Laptop and desktop: a website layout =====
   Side menu on the left, content in a wide centred area, two columns where it helps. */
.tabbar .tabbar-logo { display: none; }

@media (min-width: 900px) {
  body { background: var(--cream); }
  .app {
    max-width: none;
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    box-shadow: none;
  }
  .screen { grid-column: 2; grid-row: 1; min-height: 0; }
  .app:has(.tabbar[hidden]) .screen { grid-column: 1 / -1; }

  /* Side menu */
  .tabbar {
    grid-column: 1; grid-row: 1;
    display: flex; flex-direction: column; gap: 4px;
    border-top: none; border-right: 1px solid var(--sand);
    padding: 28px 16px;
  }
  .tabbar .tabbar-logo { display: inline-flex; flex-direction: row; font-size: 26px; color: var(--forest); font-weight: 700; padding: 0 12px 24px; min-height: 0; }
  .tabbar a:not(.tabbar-logo) {
    flex-direction: row; gap: 12px; justify-content: flex-start;
    min-height: 48px; padding: 0 12px; border-radius: var(--radius-md);
    font-size: 16px;
  }
  .tabbar a:not(.tabbar-logo):hover { background: var(--cream); color: var(--forest); }
  .tabbar a[aria-current="page"] { background: var(--sand); }

  /* Every screen: content in a centred column with room to breathe */
  .top, .scroll, .composer, .quick, .row-actions, #pt-actions, .talk {
    width: 100%; max-width: 1040px; margin-left: auto; margin-right: auto;
    padding-left: 40px; padding-right: 40px;
  }
  .top { padding-top: 40px; padding-bottom: 20px; }
  .h1 { font-size: 40px; }
  .scroll { padding-bottom: 32px; }

  /* Ngobrol and Terjemah read best a bit narrower */
  #ngobrol .top, #ngobrol .scroll, #ngobrol .composer, #ngobrol .quick,
  #terjemah .top, #terjemah .scroll, #terjemah .talk, #terjemah .composer { max-width: 800px; }
  .bubble { max-width: 70%; }

  /* Rencana: total on the left (stays in view), journey on the right */
  #rencana .scroll {
    display: grid;
    grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
    column-gap: 32px; align-content: start; align-items: start;
  }
  /* The whole left column (total, travel choice, tabs) stays in view together, so nothing slides under the total. */
  #rencana .plan-side {
    grid-column: 1; grid-row: 1; position: sticky; top: 0; align-self: start;
    max-height: calc(100vh - 140px); overflow-y: auto; padding-bottom: 4px; background: var(--cream);
  }
  #rencana .travel-pick { margin-top: 16px; }
  #rencana .plan-tabs { margin-top: 8px; }
  #view-perjalanan, #view-hari { grid-column: 2; grid-row: 1; }
  #rencana .row-actions { justify-content: flex-end; }
  #rencana .row-actions .btn { flex: 0 0 auto; padding: 0 28px; }
  .plan .dot { width: 56px; height: 56px; }
  .plan .dot svg { width: 26px; height: 26px; }
  .plan::before { left: 26.5px; top: 30px; bottom: 30px; }
  .plan { gap: 22px; }
  .plan-head { font-size: 17px; }

  /* Tempat: cards in a grid */
  .places { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  #tempat-filter { flex-wrap: wrap; }

  /* Patungan: two columns */
  #pt-start { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
  #pt-trip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px; align-items: start; }
  #pt-list { max-width: 560px; }
  #pt-actions { display: flex; justify-content: flex-end; }
  #pt-actions .btn-block { width: auto; padding: 0 28px; }

  /* The add-expense form opens as a centred window instead of a bottom sheet */
  .sheet-backdrop { align-items: center; justify-content: center; }
  .sheet { max-width: 520px; border-radius: 24px; max-height: 88%; padding: 28px; }

  /* Beranda: like the website, journey on the left and words on the right */
  .screen-beranda {
    display: grid; overflow-y: auto;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    grid-template-areas: "logo logo" "journey hero" "journey actions";
    column-gap: 64px; align-items: center;
    max-width: 1120px; width: 100%; margin: 0 auto; padding: 32px 48px 48px;
  }
  .screen-beranda[hidden] { display: none; }
  .screen-beranda .pad { display: contents; }
  .screen-beranda .pad.bottom-actions { display: flex; }
  .screen-beranda .pad > .logo { grid-area: logo; align-self: start; }
  .screen-beranda .beranda-hero { grid-area: hero; align-self: end; padding: 0; }
  .screen-beranda .display { font-size: 72px; }
  .screen-beranda .beranda-hero .muted { font-size: 20px; }
  .screen-beranda .journey { grid-area: journey; justify-self: center; --dot: 80px; gap: 28px; }
  .screen-beranda .journey .title { font-size: 20px; }
  .screen-beranda .journey .desc { font-size: 15px; }
  .screen-beranda .bottom-actions { grid-area: actions; align-self: start; margin-top: 24px; padding: 0; flex-direction: row; flex-wrap: wrap; }
  .screen-beranda .bottom-actions .btn-block { width: auto; padding: 0 28px; }

  .toast { left: auto; right: 32px; bottom: 32px; max-width: 420px; }
}
