:root {
  color-scheme: light;
  --ink: #193758;
  --muted: #53677a;
  --aegean: #164b9a;
  --line: #d6dfe7;
  --paper: #faf9f5;
  --sea: #245cac;
  --terra: #b35e40;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.5 "Avenir Next",
    Inter,
    system-ui,
    sans-serif;
}
.wrap {
  width: min(1160px, calc(100% - 80px));
  margin: auto;
}
header {
  border-bottom: 1px solid var(--line);
  background: #fffefa;
}
.bar {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font:
    600 22px Georgia,
    serif;
}
.icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  mask: var(--icon) center/contain no-repeat;
  background: currentColor;
}
.brand-mark {
  display: block;
  flex: none;
  width: 32px;
  height: 32px;
  background: var(--aegean);
  mask: url("/icons/ledger-mark.svg") center / contain no-repeat;
}
.profile {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}
.avatar {
  border-radius: 50%;
  width: 29px;
  height: 29px;
  display: inline-grid;
  place-items: center;
  background: #e4edf9;
  color: var(--aegean);
  font-weight: 650;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
button,
select,
input,
textarea {
  font: inherit;
  color: inherit;
}
button,
select {
  cursor: pointer;
}
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--line);
  padding: 9px 15px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 14px;
}
button:hover {
  filter: brightness(0.95);
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button:focus-visible,
select:focus-visible,
input:focus-visible,
a:focus-visible,
textarea:focus-visible {
  outline: 3px solid #d58355;
  outline-offset: 2px;
}
.primary {
  background: var(--aegean);
  color: white;
  border-color: var(--aegean);
  padding: 11px 17px;
}
.intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 34px 0 24px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 9px;
}
.intro .eyebrow {
  color: var(--muted);
}
.dash {
  height: 2px;
  width: 24px;
  background: var(--terra);
}
h1,
h2,
p {
  margin: 0;
}
h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
h1 {
  font-size: clamp(38px, 4.8vw, 64px);
  letter-spacing: -0.055em;
  line-height: 1.12;
  margin-top: 5px;
}
h2 {
  font-size: 26px;
  letter-spacing: -0.035em;
}
.overview {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 20px;
}
.balance,
.shares {
  border-radius: 12px;
  overflow: hidden;
}
.balance {
  color: #fff;
  background: linear-gradient(110deg,#113975,#1c519b);
  border-bottom: 7px solid #b7d2ed;
}
.balance-content,
.shares {
  padding: 24px 28px;
}
.balance .eyebrow {
  color: #d1e8e3;
}
.balance #owes {
  font-size: 17px;
  margin: 18px 0 1px;
}
.balance strong {
  font:
    normal clamp(44px, 4.8vw, 64px) / 1.08 Georgia,
    serif;
  letter-spacing: -0.045em;
}
.forecast {
  margin-top: 18px;
  border-top: 1px solid #ffffff38;
  padding-top: 11px;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
}
.shares {
  border: 1px solid var(--line);
  background: #fff;
}
.subhead,
.total {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.subhead .icon {
  color: #738982;
}
#shares {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10em), 1fr));
  gap: 10px;
  margin: 12px 0 0;
}
.family-cost {
  padding: 12px;
  border-top: 3px solid var(--accent);
  border-radius: 6px;
  background: color-mix(in srgb, var(--accent) 9%, white);
  overflow-wrap: anywhere;
}
.family-cost dt { font-weight: 650; }
.family-cost dd {
  margin: 4px 0 0;
  font: 500 clamp(25px, 3vw, 40px)/1.12 Georgia, serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.04em;
}
.splitbar {
  display: flex;
  margin: 14px 0;
  background: #cf8a62;
  border-radius: 4px;
  height: 6px;
  overflow: hidden;
}
.splitbar div {
  height: 100%;
  background: var(--sea);
}
.total {
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.total b {
  color: var(--ink);
  font-size: 16px;
}
.ledger {
  margin: 26px 0 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.ledger-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
  gap: 8px;
}
.tabs {
  display: flex;
  gap: 23px;
}
.tabs button {
  padding: 19px 0 15px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  color: var(--muted);
  background: none;
}
.tabs button[aria-pressed="true"] {
  color: var(--aegean);
  border-bottom-color: var(--aegean);
}
.tabs span {
  background: #e9eff8;
  border-radius: 10px;
  font-size: 11px;
  padding: 1px 7px;
}
.filter {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 7px;
  gap: 4px;
}
.filter .icon {
  width: 14px;
}
.filter select {
  font-size: 12px;
  background: none;
  border: 0;
}
.listrow {
  display: grid;
  grid-template-columns:
    minmax(200px, 2.4fr)
    0.65fr 0.7fr 0.9fr repeat(
      var(--family-count, 2),
      minmax(65px, 0.85fr)
    ) 32px;
  gap: 12px;
  align-items: center;
  padding: 13px 20px;
  border-bottom: 1px solid #e6ebe6;
  font-size: 14px;
}
.listrow:last-child {
  border-bottom: none;
}
.colheads {
  background: #edf2f8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 10px;
  padding-bottom: 10px;
}
.activity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.activity b {
  overflow-wrap: anywhere;
}
.activity small,
.value small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}
.tile {
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #e8f0ed;
  color: #286463;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.tile .icon {width: 23px; height: 23px;}
.tile.stay {
  background: #faeade;
  color: #985d3e;
}
.tile.activity-icon {
  background: #f2edda;
  color: #84702d;
}
.tile.flights {
  background: #e7eef6;
  color: #41678b;
}
.value {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.status {
  font-size: 11px;
  line-height: 1.4;
  padding: 4px 9px;
  justify-self: start;
  white-space: nowrap;
  border: 0;
  border-radius: 16px;
}
.paid {
  background: #e2efe6;
  color: #2b6446;
}
.unpaid {
  background: #fbedd7;
  color: #85561b;
}
.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.iconbtn {
  border: 0;
  background: none;
  padding: 8px;
  color: var(--muted);
}
.iconbtn .icon {
  width: 17px;
  height: 17px;
}
.mobile-label {
  display: none;
}
.empty {
  padding: 42px;
  text-align: center;
  color: var(--muted);
}
.empty button {
  margin: 14px auto 0;
}
.welcome {
  padding: 65px 0;
}
.welcome p {
  margin: 15px 0;
}
.error,
#error {
  color: #9d3829;
}
.hint,
small {
  font-size: 13px;
  color: var(--muted);
}
dialog {
  width: min(470px, 94vw);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  max-height: 90dvh;
}
dialog::backdrop {
  background: #193e44aa;
}
form {
  display: grid;
  gap: 12px;
}
.dialog-head,
.dialog-actions,
.checks {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dialog-head {
  justify-content: space-between;
}
.dialog-actions {
  justify-content: flex-end;
}
.danger {
  margin-right: auto;
  color: #a04131;
  background: none;
  border: 0;
  padding: 8px 0;
}
label {
  font-size: 13px;
  font-weight: 600;
  display: block;
}
input:not([type="checkbox"]),
textarea,
form select {
  display: block;
  width: 100%;
  border-radius: 6px;
  border: 1px solid #afc1b9;
  background: #fff;
  padding: 8px;
  margin-top: 4px;
  font-size: 16px;
}
textarea {
  resize: vertical;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.checks {
  background: #f3f6f1;
  border-radius: 6px;
  padding: 9px;
}
.checks input {
  accent-color: var(--aegean);
}
#notice {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 8px;
  background: var(--ink);
  color: white;
  padding: 9px 17px;
  z-index: 4;
}
#notice:empty,
.error:empty,
#error:empty {
  display: none;
}
@media (max-width: 850px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .listrow {
    grid-template-columns:
      minmax(145px, 2fr)
      0.55fr 0.7fr 0.9fr repeat(
        var(--family-count, 2),
        minmax(60px, 0.8fr)
      ) 25px;
    gap: 6px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .tile {
    width: 30px;
    height: 32px;
  }
  .overview {
    gap: 12px;
  }
  .balance-content,
  .shares {
    padding: 20px;
  }
  .activity {
    gap: 7px;
  }
}
@media (max-width: 650px) {
  .bar {
    height: 54px;
  }
  .intro {
    margin: 22px 0 16px;
    align-items: center;
    gap: 6px;
  }
  .eyebrow {
    font-size: 9px;
  }
  h1 {
    font-size: 36px;
  }
  .intro .primary {
    padding: 9px;
    font-size: 12px;
  }
  .overview {
    grid-template-columns: 1fr;
  }
  .balance-content {
    padding: 18px 20px;
  }
  .balance #owes {
    margin-top: 9px;
  }
  .forecast {
    margin-top: 10px;
  }
  .shares {
    padding: 14px 18px;
  }
  .shares h2 {
    font-size: 22px;
  }
  #shares { grid-template-columns: repeat(auto-fit, minmax(min(100%, 115px), 1fr)); gap: 8px; }
  .family-cost { padding: 10px 8px; }
  .family-cost dt { font-size: 14px; }
  .splitbar {
    margin: 10px 0;
  }
  .ledger {
    margin: 16px 0;
  }
  .ledger-head {
    padding: 0 10px;
  }
  .tabs {
    gap: 10px;
  }
  .tabs button {
    font-size: 13px;
    gap: 4px;
  }
  .filter {
    padding: 2px;
  }
  .filter .icon {
    display: none;
  }
  .listrow {
    grid-template-columns: 1fr auto auto;
    gap: 5px 10px;
    padding: 14px;
  }
  .colheads {
    display: none;
  }
  .activity {
    grid-column: 1 / 3;
    grid-row: 1;
  }
  .edit {
    grid-row: 1;
    grid-column: 3;
  }
  .payer {
    grid-column: 1;
    grid-row: 2;
    font-size: 12px;
  }
  .status {
    grid-column: 2;
    grid-row: 2;
  }
  .sum {
    grid-column: 3;
    grid-row: 2;
  }
  .value.family {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--muted);
  }
  .mobile-label {
    display: inline;
    font-size: 12px;
  }
  .payer .mobile-label {
    color: var(--muted);
  }
  .dialog-actions {
    gap: 7px;
  }
  dialog {
    padding: 18px;
  }
  .profile {
    gap: 5px;
  }
}
.transfers .listrow {
  grid-template-columns: minmax(200px, 2.4fr) 0.7fr 0.7fr 0.9fr 1.5fr 32px;
}
.repay-note {
  color: var(--muted);
  overflow-wrap: anywhere;
  font-size: 13px;
}
@media (max-width: 650px) {
  .transfers .listrow {
    grid-template-columns: 1fr auto auto;
  }
  .payer-to:before {
    content: "To · ";
  }
  .payer-to {
    font-size: 12px;
  }
  .repay-note {
    grid-column: 1/-1;
  }
  .repay-note:empty {
    display: none;
  }
}
#vendorTotals {
  display: block;
  margin-top: 3px;
  font-size: 12px;
}
.brand,
.intro .primary {
  white-space: nowrap;
}

#ledger {
  overflow-x: auto;
}

/* A continuous meander, like the painted rim of a Greek ceramic. */
:root {
  --meander: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='12' viewBox='0 0 36 12'%3E%3Cpath fill='none' stroke='%23164b9a' stroke-width='2' d='M-1 10H8V2H30V10H15V6H24M30 2H37'/%3E%3C/svg%3E");
}
body[data-theme] header::after { content:''; display:block; height:12px; background:none; opacity:.75; }
body[data-theme=greece] header::after {background:var(--meander) repeat-x center}
.brand { color:var(--aegean); }
.postcard {
  color:white;
  border-radius:12px;
}

.intro.postcard {
  align-items:start; flex-direction:column; gap:18px;
  padding:clamp(22px,3vw,40px); margin:26px 0 18px;
}
.postcard h1 {line-height:1.04; text-shadow:0 1px 12px #122d5530;}
.postcard h1 em {font-weight:400;}
.intro.postcard .eyebrow {color:#f4e3c6;}
.postcard .dash {background:#e1bb80;}
.postcard .primary {background:#fffefa;color:#174780;border-color:white;}

.dialog-head {border-bottom:2px solid #cbdbee;padding-bottom:12px;color:var(--aegean);}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 24px); }
  .bar { gap: 12px; }
  .brand { font-size: 20px; gap: 7px; }
  .brand-mark { width: 28px; height: 28px; }
  .profile { min-width: 0; }
  .profile:has(.preview-label) {
    display: grid; grid-template-columns: auto minmax(0,1fr);
    column-gap: 6px; row-gap: 0; line-height: 1.15;
  }
  .profile .avatar { flex-shrink: 0; }
  .profile:has(.preview-label) .avatar { grid-row: span 2; }
  .profile-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .preview-label { font-size: 11px; white-space: nowrap; }
  .intro.postcard { margin: 12px 0; padding: 18px; gap: 12px; }
  .postcard { background-position: center, 62% 57%; }
  .postcard h1 { max-width: 100%; font-size: clamp(30px,8vw,42px); }
  .postcard h1 em { white-space: nowrap; }
  .intro.postcard .primary { padding: 9px 14px; font-size: 14px; }
  button, .filter select, .checks label { min-height: 44px; }
  .iconbtn { min-width: 44px; }
  .ledger-head { flex-wrap: wrap; gap: 0 8px; padding: 0 12px; }
  .filter { border: 0; padding: 0; }
  .filter select { font-size: 14px; max-width: 100%; }
  .listrow, .transfers .listrow { grid-template-columns: minmax(0,1fr) auto auto; }
  .payer, .payer-to, .value.family span { overflow-wrap: anywhere; min-width: 0; }
  .value.family { font-size: 14px; gap: 10px; }
  .activity small, .value small, .mobile-label { font-size: 12px; }
  .edit { justify-self: end; }
  .status {
    border: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent;
    background-clip: padding-box; border-radius: 20px; padding-inline: 10px; font-size: 12px;
  }
  .total { gap: 12px; }
  .total b { white-space: nowrap; }
  dialog {
    inset: auto 0 0; margin: 0 auto; width: 100%; max-width: 500px;
    max-height: 94dvh; padding: 0 16px; border-radius: 16px 16px 0 0;
    overscroll-behavior: contain;
  }
  form { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .dialog-head, .dialog-actions { position: sticky; z-index: 1; background: white; }
  .dialog-head { top: 0; padding: 9px 0 6px; }
  .dialog-actions {
    bottom: 0; flex-wrap: wrap; gap: 6px; border-top: 1px solid var(--line);
    padding: 8px 0 max(8px,env(safe-area-inset-bottom));
  }
  .dialog-actions button { padding-inline: 10px; }
  .dialog-actions .danger { padding-inline: 0; }
  .grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .grid label, .grid input, .grid select { min-width: 0; }
  form select, form input:not([type=checkbox]) { min-height: 44px; }
  .checks { padding: 0 8px; flex-wrap: wrap; gap: 0 12px; }
  .checks label { display: inline-flex; align-items: center; gap: 4px; }
}
@media (max-width: 370px) {
  .ledger-head { padding-inline: 8px; }
  .tabs { gap: 8px; }
  .tabs span { padding-inline: 4px; }
  .filter select { font-size: 13px; }
}

.entry-fields { display: grid; gap: 12px; min-width: 0; }
#hideKeyboard { display: none; }

@media (max-width: 650px), (pointer: coarse) and (max-height: 650px) {
  #editor[open] {
    position: fixed;
    inset: var(--visible-top, 0px) 0 auto;
    margin: 0 auto;
    width: 100%;
    max-width: 650px;
    height: var(--visible-height, 100dvh);
    max-height: none;
    padding: 0 16px;
    border-radius: 0;
    overflow: hidden;
  }
  #editor form { height: 100%; grid-template-rows: auto minmax(0,1fr) auto; gap: 0; }
  #editor .entry-fields { overflow-y: auto; overscroll-behavior: contain; align-content: start; padding: 10px 3px; }
  #editor .dialog-head, #editor .dialog-actions { position: static; }
  #editor .dialog-head { gap: 4px; padding: 4px 0; }
  #editor .dialog-head h2 { margin-right: auto; font-size: 23px; }
  #editor .dialog-actions { padding: 6px 0 max(6px,env(safe-area-inset-bottom)); }
  #editor.typing #hideKeyboard { display: inline-flex; padding: 4px 6px; min-height: 44px; border: 0; font-size: 13px; color: var(--aegean); }
  #editor #close, #editor .dialog-actions button { min-height: 44px; }
}

.lobby-head,.trip-nav {display:flex;align-items:center;justify-content:space-between;gap:12px;margin:26px 0 18px}
#tripCards {display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:16px;margin:18px 0}
.trip-card {border:1px solid var(--line);border-radius:12px;overflow:hidden;background:white}

.trip-card-body {padding:16px 20px 20px}.trip-card h2 {margin:4px 0 12px;overflow-wrap:anywhere}
.trip-nav a,.trip-card a {color:var(--aegean);font-weight:650}
.trip-nav {margin-bottom:0}.trip-nav+.intro.postcard {margin-top:10px}
#accessButton {margin:4px 0 24px}
#tripDialog {padding:18px;overflow-y:auto}
#tripDialog .dialog-head {margin-bottom:16px}
#tripDialog form {margin-top:14px}
.people-list {list-style:none;padding:0;margin:0}
.people-list li {display:flex;gap:8px;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:9px 0;overflow-wrap:anywhere}
.people-list small {display:block}
#lobbyMessage:empty {display:none}
body[data-theme=portugal] {--aegean:#176051;--sea:#236d65;--ink:#213e3b;--paper:#fbf7ee;--line:#dddcd1}
body[data-theme=portugal] header::after {background:repeating-conic-gradient(from 45deg,#236d65 0 25%,#fcf6e8 0 50%) center/16px 16px}
body[data-theme=portugal] .postcard {background:linear-gradient(90deg,#103c36ee, #173e33a6 45%,transparent),url("/assets/portugal.jpg") center 48%/cover}
body[data-theme=portugal] .balance {background:linear-gradient(110deg,#164e47,#27766a);border-color:#dfaa73}
#tripDialog {max-height:90dvh}

.photo-credit {display:none} body[data-theme] .photo-credit {display:inline-block;color:var(--muted);font-size:12px;margin-bottom:16px}


/* The shared dashboard uses the proportions and fine rules of a printed ledger. */
body:not([data-theme]) {
  --ink: #25372f;
  --muted: #56645d;
  --paper: #f6f4ef;
  --line: #d5dad2;
  --aegean: #305646;
}
body:not([data-theme]) header { background: #fffefa; }
body:not([data-theme]) .brand {
  color: var(--ink);
  font: 650 21px/1.2 "Avenir Next", system-ui, sans-serif;
  letter-spacing: -.045em;
}
body:not([data-theme]) .avatar { background: #e3ebe3; }
body:not([data-theme]) .primary { background: var(--aegean); border-color: var(--aegean); }
body:not([data-theme]) .dialog-head { border-color: var(--line); }
.welcome {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 28px 0;
  padding: clamp(28px,6vw,76px);
  border-radius: 12px;
  color: #fffef6;
  background: #243e33;
}
.welcome::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 43%;
  background: repeating-radial-gradient(ellipse at 120% 135%, transparent 0 31px, #d2c3a54d 32px, transparent 33px 47px);
  mask-image: linear-gradient(90deg, transparent, black 45%);
  pointer-events: none;
}
.welcome h1 { font-size: clamp(40px,6vw,76px); letter-spacing: -.055em; }
.welcome p { margin: 10px 0 24px; color: #e4eae2; }
.lobby-head { padding: 14px 0 22px; border-bottom: 1px solid var(--line); }
.lobby-head h1 { margin: 0; font-size: clamp(36px,5vw,56px); }
.trip-card { background: #fffefa; border-radius: 8px; }
.trip-card-body { padding: 20px; }
.trip-card-body small { color: var(--muted); font-variant-numeric: tabular-nums; }
.trip-card h2 { font-size: 30px; margin: 4px 0 18px; }
.trip-card-actions { border-top: 1px solid var(--line); padding-top: 8px; }
@media(max-width:650px) {
  .welcome { margin: 16px 0; padding: 28px 20px; }
  .lobby-head { margin: 16px 0; padding: 8px 0 16px; }
  .trip-card-body { padding: 14px 16px; }
}

body[data-theme=greece] .intro.postcard {
  display:grid;
  grid-template-columns:minmax(180px, .8fr) minmax(0, 1.8fr);
  grid-template-rows:auto auto;
  align-content:center;
  gap:16px 20px;
  background:#173c70;
  position:relative;
  isolation:isolate;
  overflow:hidden;
}
body[data-theme=greece] .intro.postcard > div:first-child {grid-column:1;grid-row:1;overflow-wrap:anywhere}
body[data-theme=greece] .intro.postcard .primary {grid-column:1;grid-row:2;justify-self:start}
.greece-views {display:grid;grid-template-columns:1fr 1fr;gap:3px;position:absolute;inset:0 0 0 37%;background:#fff9eb}
.greece-views img {width:100%;height:100%;min-width:0;min-height:0;object-fit:cover}
.greece-views img:last-child {object-position:center 42%}
@media(max-width:650px) {
  body[data-theme=greece] .intro.postcard {display:flex;gap:10px;padding:16px 16px 0}
  .greece-views {order:1;position:static;width:calc(100% + 32px);height:clamp(100px,29vw,150px);margin:4px -16px 0}
}

.trip-card-actions {display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.delete-trip {color:#983e35;background:transparent;border:none;font-size:13px}
.confirm-delete {background:#973831;color:white;border-color:#973831}
