/* Stayreed v0.1 — reed green ink on pale water; the timeline is the one bold element. */
:root {
  --water: #f1f5f2;
  --paper: #ffffff;
  --ink: #1d2b24;
  --reed: #2f5d45;
  --reed-soft: #dfeae3;
  --line: #d3dcd5;
  --muted: #5d6c64;
  --airbnb: #FF5A5F;   /* Airbnb brand colour ("Rausch") */
  --booking: #003580;  /* Booking.com brand dark blue */
  --vrbo: #6a4c9c;
  --other: #5f7a6c;
  --direct: #a97c14;
  --block: #8d958f;
  --clash: #b3261e;
  --day: 34px;
  --label: 190px;
  --serif: "Sitka Text", "Sitka Small", Charter, "Bitstream Charter", Cambria, Georgia, serif;
  --sans: system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--water); color: var(--ink); font: 15px/1.5 var(--sans); }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0; }
h1 { font-size: 2rem; letter-spacing: -0.01em; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.15rem; }
h4 { font-size: .95rem; margin: 0 0 .2rem; }
.muted { color: var(--muted); }
.small { font-size: .85rem; margin: 0 0 .6rem; }
a { color: var(--reed); }
:focus-visible { outline: 3px solid #7fb197; outline-offset: 2px; }

button, input, select { font: inherit; color: inherit; }
button { white-space: nowrap; }
button { cursor: pointer; border-radius: 6px; padding: .45rem .9rem; border: 1px solid transparent; }
.primary { background: var(--reed); color: #fff; }
.primary:hover { background: #244a37; }
.ghost { background: transparent; border-color: var(--line); }
.ghost:hover { background: var(--reed-soft); }
.danger { color: var(--clash); }
input, select { border: 1px solid var(--line); border-radius: 6px; padding: .45rem .6rem; background: var(--paper); width: 100%; }
label { display: grid; gap: .25rem; font-size: .9rem; color: var(--muted); }
.error { color: var(--clash); min-height: 1.2em; margin: .2rem 0; font-size: .9rem; }

/* Top bar */
.top { display: flex; justify-content: space-between; align-items: center; padding: .8rem clamp(1rem, 3vw, 2rem);
       background: var(--paper); border-bottom: 1px solid var(--line); gap: 1rem; flex-wrap: wrap; }
.mark { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--serif); font-size: 1.35rem;
        font-weight: 600; color: var(--reed); text-decoration: none; }
.top-actions { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }

/* Log in */
.auth { display: grid; place-items: center; padding: 3rem 1rem; }
.auth-card { width: min(34rem, 100%); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 2rem; }
.lede { color: var(--muted); max-width: 60ch; }
.tabs { display: flex; gap: .25rem; margin: 1.2rem 0 1rem; border-bottom: 1px solid var(--line); }
.tabs button { border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: none; padding: .5rem .2rem; margin-right: 1rem; color: var(--muted); }
.tabs button[aria-selected="true"] { border-bottom-color: var(--reed); color: var(--ink); font-weight: 600; }
#authForm { display: grid; gap: .8rem; }

/* App layout */
#appView { padding: 1.2rem clamp(1rem, 3vw, 2rem) 3rem; display: grid; gap: 1.2rem; max-width: 1400px; margin: 0 auto; }
.panel, .board { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 1.2rem 1.4rem; }
.panel > p.muted { margin: .3rem 0 1rem; max-width: 70ch; }
.panel-head, .board-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.range { display: flex; gap: .4rem; }

/* Double bookings */
.clashes { border: 2px solid var(--clash); background: #fdf1f0; border-radius: 10px; padding: 1rem 1.4rem; }
.clashes h2 { color: var(--clash); }
.clashes ul { margin: .5rem 0 0; padding-left: 1.2rem; }

/* Legend */
.legend { display: flex; gap: 1rem; flex-wrap: wrap; margin: .8rem 0; font-size: .85rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: .35rem; }
.legend i { width: 14px; height: 10px; border-radius: 3px; display: inline-block; }
.sw-airbnb { background: var(--airbnb); } .sw-booking { background: var(--booking); } .sw-vrbo { background: var(--vrbo); }
.sw-other { background: var(--other); } .sw-direct { background: var(--direct); }
.sw-block { background: repeating-linear-gradient(135deg, var(--block) 0 3px, #b9beba 3px 6px); }

/* Timeline */
.timeline-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.timeline { display: grid; position: relative; min-width: max-content; }
.tl-row { display: grid; grid-template-columns: var(--label) 1fr; border-top: 1px solid var(--line); }
.tl-row:first-child { border-top: 0; }
.tl-label { position: sticky; left: 0; z-index: 3; background: var(--paper); padding: .55rem .8rem; border-right: 1px solid var(--line);
            font-family: var(--serif); font-size: 1rem; display: flex; align-items: center; }
.tl-days, .tl-track { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: var(--day); }
.tl-head .tl-label { font-family: var(--sans); font-size: .8rem; color: var(--muted); }
.tl-day { text-align: center; font-size: .72rem; color: var(--muted); padding: .3rem 0; line-height: 1.2; border-left: 1px solid transparent; }
.tl-day b { display: block; font-size: .9rem; color: var(--ink); font-weight: 600; }
.tl-day.month-start { border-left-color: var(--line); }
.tl-day.today b { color: #fff; background: var(--reed); border-radius: 999px; width: 1.6em; margin: 0 auto; }
.tl-cell { height: 46px; border-left: 1px solid #eef2ef; }
.tl-cell.weekend { background: #f6f8f6; }
.tl-cell.today { background: var(--reed-soft); }
.bar { position: absolute; top: 9px; height: 28px; border-radius: 5px; color: #fff; font-size: .75rem; padding: 0 .45rem;
       display: flex; align-items: center; white-space: nowrap; overflow: hidden; border: 0; z-index: 1;
       /* half-day offsets: guests arrive in the afternoon and leave in the morning */ }
.bar:hover { filter: brightness(1.08); }
.bar.airbnb { background: var(--airbnb); }
.bar.booking { background: var(--booking); }
.bar.vrbo { background: var(--vrbo); }
.bar.other { background: var(--other); }
.bar.direct { background: var(--direct); }
.bar.block { background: repeating-linear-gradient(135deg, var(--block) 0 6px, #a5aca7 6px 12px); }
.bar.clash { outline: 3px solid var(--clash); outline-offset: 1px; z-index: 2; }
.clash-zone { position: absolute; top: 4px; bottom: 4px; z-index: 0; border-radius: 4px;
              background: repeating-linear-gradient(45deg, rgba(179, 38, 30, .22) 0 5px, transparent 5px 10px); }
.empty { color: var(--muted); padding: 1rem 0 0; }

/* Detail panel */
.detail { position: fixed; right: 1rem; bottom: 1rem; width: min(24rem, calc(100% - 2rem)); background: var(--paper);
          border: 1px solid var(--line); border-radius: 10px; padding: 1.2rem; z-index: 10; box-shadow: 0 10px 30px rgba(29, 43, 36, .18); }
.detail .close { float: right; }
.detail dl { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; margin: .8rem 0; }
.detail dt { color: var(--muted); }
.detail dd { margin: 0; overflow-wrap: anywhere; }

/* Forms */
.grid-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .8rem; align-items: end; }
.grid-form .wide { grid-column: 1 / -1; }
.inline-form { display: flex; gap: .5rem; flex: 1; max-width: 32rem; }

/* Properties */
.property { border-top: 1px solid var(--line); padding: 1.1rem 0 .4rem; }
.property:first-child { border-top: 0; }
.property > header { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .8rem; }
.property > header div { display: flex; gap: .4rem; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.feed-row, .export-row { display: grid; grid-template-columns: 8.2rem 1fr auto; gap: .5rem; align-items: center; margin-bottom: .5rem; }
.feed-row .status { grid-column: 2 / -1; font-size: .8rem; margin-top: -.3rem; }
.status.ok { color: var(--reed); }
.status.bad { color: var(--clash); }
.platform { font-weight: 600; font-size: .9rem; display: flex; align-items: center; gap: .4rem; }
.platform i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.export-row input { font-size: .8rem; color: var(--muted); background: var(--water); }
.feed-actions { display: flex; gap: .3rem; }

@media (max-width: 760px) {
  :root { --label: 120px; --day: 30px; }
  .cols { grid-template-columns: 1fr; gap: 1rem; }
  .feed-row, .export-row { grid-template-columns: 1fr auto; }
  .feed-row .platform, .export-row .platform { grid-column: 1 / -1; }
  .feed-row .status { grid-column: 1 / -1; }
  h1 { font-size: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Email links: forgot password, new password, email check */
.link { background: none; border: 0; padding: .2rem 0; color: var(--reed); text-decoration: underline; justify-self: start; }
.stack { display: grid; gap: .8rem; }
.stack > p:first-child { margin: 0; color: var(--muted); }
.note { color: var(--reed); min-height: 1.2em; margin: .4rem 0 0; font-size: .9rem; }
.banner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
          background: var(--reed-soft); border: 1px solid #b9d0c1; border-radius: 10px; padding: .8rem 1.4rem; }
.banner p { margin: 0; }

/* ---------- Tabs and report screens (Woody merged in, 27 Nov 2026) ---------- */
.tabbar { display: flex; gap: .25rem; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: .3rem; position: sticky; top: .5rem; z-index: 5; overflow-x: auto; }
.tabbar button { border: 0; background: none; padding: .55rem 1rem; border-radius: 7px; color: var(--muted); font-weight: 600; }
.tabbar button:hover { background: var(--reed-soft); color: var(--ink); }
.tabbar button[aria-current="true"] { background: var(--reed); color: #fff; }
.banner.warn { background: #fff6e5; border-color: #f0d9a6; color: #7a4d00; }
.filters { display: flex; flex-wrap: wrap; gap: .7rem; align-items: end; padding: .9rem 1.1rem; }
.filters label { min-width: 120px; }
.filters label.grow { flex: 1 1 220px; }
.filters select:disabled { opacity: .5; }
.period { margin-bottom: .8rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .7rem; }
.card { border: 1px solid var(--line); border-radius: 8px; padding: .8rem .9rem; display: grid; gap: .1rem; }
.card .k { font-size: .8rem; color: var(--muted); }
.card .v { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); }
.card .s { font-size: .78rem; color: var(--muted); }
.note { font-size: .85rem; color: var(--muted); margin: .6rem 0 0; max-width: 90ch; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 1.2rem; align-items: start; }
.grid2 > div { display: grid; gap: 1.2rem; }
.scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .9rem; }
th, td { text-align: left; padding: .45rem .55rem; border-bottom: 1px solid #e8eee9; white-space: nowrap; }
th { font-size: .78rem; color: var(--muted); font-weight: 600; }
th button { all: unset; cursor: pointer; }
th button:hover { color: var(--reed); }
td.n, th.n { text-align: right; font-variant-numeric: tabular-nums; }
td.wrap { white-space: normal; max-width: 320px; }
tr.total td { font-weight: 700; color: var(--ink); border-top: 2px solid var(--line); }
tr.row { cursor: pointer; }
tr.row:hover { background: var(--reed-soft); }
tr.detailrow td { background: #f7faf8; white-space: normal; }
.dgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .4rem 1.2rem; margin: .4rem 0; }
.dgrid dt { font-size: .75rem; color: var(--muted); }
.dgrid dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.detail .dgrid { grid-template-columns: 1fr 1fr; }
.pill { display: inline-block; border-radius: 999px; padding: .05rem .55rem; font-size: .75rem; font-weight: 600; color: #fff; background: var(--other); }
.pill.airbnb { background: var(--airbnb); } .pill.booking { background: var(--booking); } .pill.vrbo { background: var(--vrbo); }
.pill.direct { background: var(--direct); } .pill.block { background: var(--block); }
.pill.st-confirmed { background: var(--reed); } .pill.st-cancelled { background: #8a9692; } .pill.st-needs_details { background: #9a5b00; }
.hday { font-size: 1.5rem; margin-bottom: .4rem; }
.sec { font-family: var(--sans); font-size: .85rem; font-weight: 700; color: var(--muted); margin: 1.1rem 0 .5rem; }
.scard { display: grid; gap: .15rem; width: 100%; text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: .7rem .9rem; margin-bottom: .5rem; cursor: pointer; }
.scard:hover { background: var(--reed-soft); }
.scard .shead { display: flex; justify-content: space-between; gap: .5rem; align-items: center; }
.scard .shead b { font-family: var(--serif); font-size: 1.05rem; color: var(--ink); }
.scard .sub { font-size: .88rem; }
.scard .money { font-size: .82rem; color: var(--muted); }
.free { border: 1px dashed var(--reed); background: var(--reed-soft); border-radius: 8px; padding: .7rem .9rem; margin-bottom: .5rem; }
.btnrow { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.small-btn { padding: .2rem .6rem; font-size: .8rem; }
#overviewView, #listView, #costsView, #todayView { display: grid; gap: 1.2rem; }
@media (max-width: 760px) {
  .tabbar { position: fixed; bottom: 0; left: 0; right: 0; top: auto; border-radius: 0; border-width: 1px 0 0; justify-content: space-between; padding-bottom: calc(.3rem + env(safe-area-inset-bottom)); }
  .tabbar button { padding: .55rem .5rem; font-size: .8rem; }
  #appView { padding-bottom: 5rem; }
  .grid2 { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
}

.device { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; padding: .45rem 0; border-bottom: 1px solid #e8eee9; }
.device span:first-child { font-weight: 600; color: var(--ink); }

.cx-plans { margin-top: 1rem; padding-top: .9rem; border-top: 1px dashed var(--line); }
.cx-planlist { list-style: none; padding: 0; margin: .3rem 0 .6rem; }
.cx-planlist li { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: .4rem .1rem; border-bottom: 1px solid var(--line); font-size: .92rem; }
.cx-prices { margin-top: 1rem; padding-top: .9rem; border-top: 1px dashed var(--line); }
.cx-prices .cx-row label.cx-close { display: flex; white-space: nowrap; flex-direction: row; align-items: center; gap: .4rem; align-self: flex-end; padding-bottom: .55rem; }
.cx-lines .cx-line + .cx-line { margin-top: .5rem; }
.cx-log { margin-top: .8rem; } .cx-log summary { cursor: pointer; color: var(--muted, #667); font-size: .9rem; }
.cx-loglist { list-style: none; padding: 0; margin: .4rem 0 0; font-size: .82rem; }
.cx-loglist li { padding: .3rem 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.cx-loglist code { font-size: .78rem; color: #555; }
.cx-special { list-style: none; padding: 0; margin: .6rem 0 0; }
.cx-special li { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: .45rem .1rem; border-bottom: 1px solid var(--line); font-size: .92rem; }
.cx-special li.closed span { color: #c92a2a; }
.cx-box { margin-top: 1rem; padding-top: .9rem; border-top: 1px dashed var(--line); }
.cx-row { display: flex; gap: .8rem; align-items: end; flex-wrap: wrap; }
.cx-row label { max-width: 12rem; }

/* ---------- Home screen of big tiles, sections you enter (28 Nov 2026) ---------- */
#tabbar { display: none; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.tile { display: grid; gap: .35rem; text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
        padding: 1.4rem 1.5rem 1.3rem; cursor: pointer; min-height: 9.5rem; align-content: start; transition: border-color .15s, transform .15s; }
.tile:hover { border-color: var(--reed); transform: translateY(-2px); }
.tile:active { transform: translateY(0); }
.tile-title { font-family: var(--sans); font-weight: 700; color: var(--reed); font-size: 1rem; }
.tile-big { font-family: var(--serif); font-size: 2.1rem; color: var(--ink); line-height: 1.1; }
.tile-small { color: var(--muted); font-size: .9rem; }
.tile.small { min-height: 6.5rem; }
.crumbs { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.crumbs h1 { font-size: 1.7rem; }
.back { background: var(--paper); border: 1px solid var(--line); font-weight: 600; color: var(--reed); padding: .55rem 1rem; }
.back:hover { background: var(--reed-soft); }
.filterbox { padding: .2rem 1.1rem; }
.filterbox summary { cursor: pointer; padding: .7rem 0; list-style: none; display: flex; gap: .6rem; align-items: baseline; }
.filterbox summary::-webkit-details-marker { display: none; }
.filterbox summary .ftitle { font-weight: 700; color: var(--reed); }
.filterbox summary .ftitle::before { content: "▸ "; }
.filterbox[open] summary .ftitle::before { content: "▾ "; }
.filterbox .filters { padding: 0 0 1rem; border: 0; }
.prop-toggle { display: flex; width: 100%; align-items: center; gap: 1rem; background: none; border: 0; border-radius: 8px; padding: .9rem .4rem; text-align: left; cursor: pointer; }
.prop-toggle:hover { background: var(--reed-soft); }
.prop-title { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); font-weight: 600; }
.prop-meta { flex: 1; font-size: .88rem; }
.chev { font-size: 1.4rem; color: var(--muted); transition: transform .15s; }
.prop-toggle[aria-expanded="true"] .chev { transform: rotate(90deg); }
.prop-body { padding: .4rem .4rem 1rem; }
.property { padding: 0; }
.property + .property { border-top: 1px solid var(--line); }

/* Platform labels: brand colour + small mark */
.pill { display: inline-flex; align-items: center; gap: .35rem; padding: .15rem .6rem .15rem .35rem; font-size: .78rem; }
.pill .mark { display: inline-grid; place-items: center; width: 1.05rem; height: 1.05rem; border-radius: 4px; background: #fff; font-style: normal; font-weight: 800; font-size: .7rem; line-height: 1; }
.pill.booking .mark::before { content: "B."; color: var(--booking); font-family: Arial, sans-serif; letter-spacing: -.5px; }
.pill.airbnb .mark { background: transparent; }
.pill.direct .mark::before { content: "✓"; color: var(--direct); }
.pill.block .mark { display: none; }
.pill.vrbo .mark::before { content: "V"; color: var(--vrbo); }
.pill.other .mark { display: none; }
@media (max-width: 760px) {
  .tiles { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .tile { min-height: 7.5rem; padding: 1rem; }
  .tile-big { font-size: 1.5rem; }
  .crumbs h1 { font-size: 1.35rem; }
}

.prop-body .prop-name { display: none; }
.prop-body > header { justify-content: flex-end; }

/* ---------- Properties on the home screen + property page (28 Nov 2026) ---------- */
.pcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.2rem; }
.pcard { display: grid; grid-template-rows: auto 1fr; padding: 0; overflow: hidden; text-align: left; background: var(--paper);
         border: 1px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .15s, transform .15s; }
.pcard:hover { border-color: var(--reed); transform: translateY(-2px); }
.pphoto { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--reed-soft); }
.pphoto.none { display: grid; place-items: center; color: var(--muted); font-size: .9rem; }
.pbody { display: grid; gap: .45rem; padding: 1rem 1.2rem 1.2rem; }
.pname { font-family: var(--serif); font-size: 1.45rem; color: var(--ink); font-weight: 600; }
.pline { font-size: .92rem; }
.pnums { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: .88rem; color: var(--muted); }
.pnums b { color: var(--ink); font-size: 1.05rem; }
.pplats { display: flex; gap: .35rem; flex-wrap: wrap; }
.state { display: inline-block; border-radius: 999px; padding: .05rem .55rem; font-size: .75rem; font-weight: 700; margin-right: .25rem; }
.state.busy { background: #fde8e4; color: #a23a2a; }
.state.free { background: var(--reed-soft); color: var(--reed); }
.home-sec { font-size: 1.1rem; margin: 1.6rem 0 .6rem; color: var(--muted); font-family: var(--sans); font-weight: 600; }
.tiles.six { grid-template-columns: repeat(6, 1fr); }
.tile.mini { min-height: 5.2rem; padding: .9rem 1rem; }
.tile.mini .tile-small { font-size: .82rem; }
.phero { position: relative; border-radius: 14px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.phero img { width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; display: block; }
.phero-text { padding: .9rem 1.2rem; }
.filebtn { cursor: pointer; display: inline-flex; align-items: center; padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); font-size: .95rem; }
.filebtn:hover { background: var(--reed-soft); }
#propertyView { display: grid; gap: 1.2rem; }
/* Airbnb mark: the official shape (Simple Icons, CC0) drawn in white */
.pill.airbnb .mark { background: #fff; -webkit-mask: url(/brand-airbnb.svg) center / contain no-repeat; mask: url(/brand-airbnb.svg) center / contain no-repeat; border-radius: 0; }
@media (max-width: 1100px) { .tiles.six { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .tiles.six { grid-template-columns: 1fr 1fr; } .pcards { grid-template-columns: 1fr; } .phero img { aspect-ratio: 16 / 9; } }
.pcards { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.pcard { grid-template-rows: auto auto; align-content: start; white-space: normal; }
.tile, .scard { white-space: normal; }
.pphoto { aspect-ratio: 4 / 3; height: auto; max-height: none; }
.pnums { gap: .3rem 1.2rem; }

.phero img { aspect-ratio: 3 / 1; }

/* ---------- Property strip on the home screen: 3 visible, arrows for more; All properties page (28 Nov 2026) ---------- */
.pstrip-wrap { position: relative; }
.pstrip { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 1.2rem) / 3); gap: 1.2rem;
          overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pstrip::-webkit-scrollbar { display: none; }
.pstrip > .pcard { scroll-snap-align: start; }
.parrow { position: absolute; top: 38%; z-index: 3; width: 2.6rem; height: 2.6rem; border-radius: 50%; padding: 0;
          background: var(--paper); border: 1px solid var(--line); font-size: 1.6rem; line-height: 1; color: var(--reed);
          box-shadow: 0 4px 14px rgba(29, 43, 36, .15); }
.parrow:hover { background: var(--reed-soft); }
.parrow.left { left: -1.1rem; } .parrow.right { right: -1.1rem; }
.allprops { display: flex; justify-content: flex-end; margin-top: .7rem; }
.pcards.small { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .9rem; }
.pcard.compact .pphoto { aspect-ratio: 3 / 2; }
.pcard.compact .pbody { padding: .7rem .8rem .8rem; gap: .3rem; }
.pcard.compact .pname { font-size: 1.1rem; }
.pcard.compact .pline, .pcard.compact .pnums { font-size: .8rem; }
.pcard.compact .pnums b { font-size: .9rem; }
#allPropsView { display: grid; gap: 1rem; }
@media (max-width: 760px) {
  .pstrip { grid-auto-columns: 86%; }
  .parrow { display: none; }   /* on phones you swipe */
}

/* ---------- Left menu with section colours (28 Nov 2026, like the reservation system's side menu) ---------- */
:root {
  --c-home: #2f7a55;        /* reed green */
  --c-today: #d48806;       /* amber */
  --c-reservations: #2563a8;/* lake blue */
  --c-calendar: #7c4dba;    /* violet */
  --c-overview: #0f8c7a;    /* teal (Money) */
  --c-costs: #b0306e;       /* plum */
  --c-settings: #5b6770;    /* slate */
  --sec: var(--c-home);
}
body[data-sec="today"] { --sec: var(--c-today); }
body[data-sec="reservations"] { --sec: var(--c-reservations); }
body[data-sec="calendar"] { --sec: var(--c-calendar); }
body[data-sec="overview"] { --sec: var(--c-overview); }
body[data-sec="costs"] { --sec: var(--c-costs); }
body[data-sec="settings"] { --sec: var(--c-settings); }

body.in > header.top { display: none; }
body.in #appView { margin-left: 250px; max-width: 1300px; padding-top: 1.6rem; }
.side { position: fixed; inset: 0 auto 0 0; width: 250px; background: #183326; color: #fff; display: flex; flex-direction: column;
        padding: 1.4rem .9rem 1.1rem; z-index: 20; }
.side-logo { display: flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font-family: var(--serif);
             font-size: 1.35rem; font-weight: 600; padding: 0 .6rem 1.2rem; border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 1rem; }
.side-logo img { filter: brightness(0) invert(1); }
.side-nav { display: grid; gap: .3rem; }
.side-item { --c: var(--c-home); display: flex; align-items: center; gap: .8rem; width: 100%; text-align: left; border: 0;
             background: none; color: rgba(255,255,255,.8); padding: .7rem .8rem; border-radius: 10px; font-size: .98rem; font-weight: 600;
             border-left: 4px solid var(--c); }
.side-item svg { width: 21px; height: 21px; fill: none; stroke: var(--c); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none;
                 filter: brightness(1.45); }
.side-item:hover { background: rgba(255,255,255,.07); color: #fff; }
.side-item[aria-current="true"] { background: var(--c); color: #fff; }
.side-item[aria-current="true"] svg { stroke: #fff; filter: none; }
.side-item[data-sec="today"] { --c: var(--c-today); } .side-item[data-sec="reservations"] { --c: var(--c-reservations); }
.side-item[data-sec="calendar"] { --c: var(--c-calendar); } .side-item[data-sec="overview"] { --c: var(--c-overview); }
.side-item[data-sec="costs"] { --c: var(--c-costs); } .side-item[data-sec="settings"] { --c: var(--c-settings); }
.side-foot { margin-top: auto; display: grid; gap: .35rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.12); }
.side-name { color: rgba(255,255,255,.65); font-size: .85rem; padding: 0 .6rem .3rem; }
.side-small { background: none; border: 0; color: rgba(255,255,255,.8); text-align: left; padding: .45rem .6rem; border-radius: 8px; font-size: .88rem; }
.side-small:hover { background: rgba(255,255,255,.07); color: #fff; }

/* the section colour on the page itself */
.crumbs h1 { color: var(--sec); border-left: 6px solid var(--sec); padding-left: .7rem; }
body.in #appView .panel, body.in #appView .board { border-top: 3px solid var(--sec); }
.tile.mini { border-left: 5px solid var(--c, var(--line)); }
.tile.mini[data-go="today"] { --c: var(--c-today); } .tile.mini[data-go="reservations"] { --c: var(--c-reservations); }
.tile.mini[data-go="calendar"] { --c: var(--c-calendar); } .tile.mini[data-go="overview"] { --c: var(--c-overview); }
.tile.mini[data-go="costs"] { --c: var(--c-costs); } .tile.mini[data-go="settings"] { --c: var(--c-settings); }
.tile.mini .tile-title { color: var(--c, var(--reed)); }
.pcard { border-top: 4px solid var(--c-home); }

@media (max-width: 900px) {
  body.in #appView { margin-left: 0; padding-bottom: 5.5rem; }
  .side { inset: auto 0 0 0; width: auto; height: auto; flex-direction: row; padding: .35rem .3rem calc(.35rem + env(safe-area-inset-bottom)); }
  .side-logo, .side-foot { display: none; }
  .side-nav { grid-auto-flow: column; grid-auto-columns: 1fr; width: 100%; gap: .15rem; }
  .side-item { flex-direction: column; gap: .2rem; padding: .45rem .1rem; font-size: .68rem; border-left: 0; border-top: 3px solid var(--c); border-radius: 8px; justify-content: center; text-align: center; }
  body.in > header.top { display: flex; }
}

/* ---------- Poppins (Google Fonts, SIL Open Font License), kept inside Stayreed; for the name "Stayreed" (her choice, 28 Nov 2026) ---------- */
/* Fonts of the family look, served by Stayreed itself (SIL Open Font License): Bricolage Grotesque, Figtree, Lexend.
   Google Fonts is blocked by the security setting, so these files live in /fonts. */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/fonts/bricolage-grotesque-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/fonts/bricolage-grotesque-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 300 900; font-display: swap; src: url(/fonts/figtree-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 300 900; font-display: swap; src: url(/fonts/figtree-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/lexend-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/lexend-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/poppins-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/poppins-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/poppins-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/poppins-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Adriatic colours (her choice, 28 Nov 2026): sea blue, sun yellow, coral, sea green on dark navy ---------- */
:root {
  --navy: #14323f;
  --reed: #1e6fa8;          /* main buttons and links: sea blue (was reed green) */
  --reed-soft: #e4eef6;
  --water: #f2f5f7;
  --ink: #15262e;
  --line: #d5dee4;
  --c-home: #2a9d8f;        /* sea green */
  --c-today: #e9a426;       /* sun yellow */
  --c-reservations: #1e6fa8;/* sea blue */
  --c-calendar: #5b5fc7;    /* evening blue-violet */
  --c-overview: #e4572e;    /* coral (Money) */
  --c-costs: #b5446e;       /* sea-urchin plum */
  --c-settings: #64748b;    /* slate */
}
.primary { background: var(--reed); } .primary:hover { background: #185b8a; }
.side { background: var(--navy); }
.side-logo img { filter: none; }
.side-logo span, .mark, .auth .mark { font-family: 'Poppins', system-ui, sans-serif; font-weight: 600; letter-spacing: -.01em; }
.mark { color: var(--navy); }
body[data-sec="today"] .crumbs h1 { color: #b27a0c; }   /* yellow is too light for text: darker shade for the title */
.side-item[data-sec="today"] svg { filter: brightness(1.1); }
.side-item[aria-current="true"][data-sec="today"] { color: #14323f; }
.side-item[aria-current="true"][data-sec="today"] svg { stroke: #14323f; }
.tile.mini[data-go="today"] .tile-title { color: #b27a0c; }
.pcard { border-top-color: var(--c-home); }

.bootmsg { text-align: center; color: var(--muted); padding: 4rem 1rem; font-size: 1.05rem; }

/* ---------- Notifications (28 Nov 2026) ---------- */
:root { --c-notifications: #0e7490; }   /* deep sea cyan */
body[data-sec="notifications"] { --sec: var(--c-notifications); }
.side-item[data-sec="notifications"] { --c: var(--c-notifications); }
.badge { margin-left: auto; background: #e4572e; color: #fff; border-radius: 999px; font-size: .72rem; padding: .05rem .45rem; min-width: 1.3rem; text-align: center; }
.note-item { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.note-item h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.note-item ul { margin: 0 0 .6rem; padding-left: 1.1rem; color: var(--muted); }
.note-ic { width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--c-notifications); }
.note-item.costs .note-ic { background: var(--c-costs); } .note-item.clash .note-ic { background: var(--clash); } .note-item.details .note-ic { background: var(--c-today); }
.switch { display: flex; gap: .8rem; align-items: flex-start; color: var(--ink); font-size: .98rem; cursor: pointer; }
.switch input { width: 1.2rem; height: 1.2rem; margin-top: .15rem; accent-color: var(--c-notifications); }
#notifyView { display: grid; gap: 1rem; }
@media (max-width: 900px) { .side-item .badge { position: absolute; margin: 0 0 0 1.2rem; } .side-item { position: relative; } }

/* ---------- Messages (28 Nov 2026) ---------- */
:root { --c-messages: #2f9e44; }   /* fresh green */
body[data-sec="messages"] { --sec: var(--c-messages); }
.side-item[data-sec="messages"] { --c: var(--c-messages); }
.inbox { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 1rem; align-items: start; }
.thread-list { display: grid; gap: .4rem; max-height: 75vh; overflow-y: auto; }
.thread { display: grid; gap: .15rem; text-align: left; white-space: normal; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: .6rem .75rem; cursor: pointer; }
.thread:hover { background: var(--reed-soft); }
.thread.open { border-color: var(--c-messages); box-shadow: inset 3px 0 0 var(--c-messages); }
.thread.unread b { color: var(--c-messages); }
.thread .shead { display: flex; justify-content: space-between; gap: .4rem; align-items: center; }
.thread .sub, .twhen { font-size: .8rem; color: var(--muted); }
.tlast { font-size: .88rem; color: var(--ink); }
.twhen .badge { font-style: normal; margin-left: .3rem; }
.convo { display: grid; gap: .8rem; min-height: 50vh; }
.convo-head { display: flex; gap: .8rem; align-items: baseline; flex-wrap: wrap; }
.bubbles { display: grid; gap: .5rem; max-height: 55vh; overflow-y: auto; padding: .3rem; }
.bubble { max-width: 75%; padding: .55rem .8rem; border-radius: 14px; background: #eef2f5; }
.bubble p { margin: 0 0 .2rem; white-space: pre-wrap; }
.bubble span { font-size: .72rem; color: var(--muted); }
.bubble.property { justify-self: end; background: #e3f3e6; }
.bubble.system { justify-self: center; background: #fff6e5; font-size: .85rem; }
.reply { display: grid; gap: .5rem; }
.reply textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: .6rem; font: inherit; resize: vertical; }
.reply button { justify-self: end; }
@media (max-width: 900px) { .inbox { grid-template-columns: 1fr; } }

/* ======================================================================================================
   GRAPHITE (her choice, 28 Nov 2026: "more premium, fewer colours, no round toy look").
   Charcoal menu, white/near-white pages, ONE accent (deep teal), 4px corners, sans-serif headings.
   Platform labels: neutral chip with the brand mark in the brand colour. This block overrides the older
   colour rules above; delete it to go back.
   ====================================================================================================== */
:root {
  --navy: #15171c; --water: #f7f7f8; --paper: #ffffff; --ink: #1b1d22; --muted: #6b6f78; --line: #e3e4e8;
  --reed: #1f7a70; --reed-soft: #e8f3f1; --accent: #2a9d8f;
  --c-home: var(--accent); --c-today: var(--accent); --c-reservations: var(--accent); --c-calendar: var(--accent);
  --c-overview: var(--accent); --c-costs: var(--accent); --c-settings: var(--accent); --c-notifications: var(--accent); --c-messages: var(--accent);
  --serif: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 4px;
}
body { background: var(--water); }
h1, h2, h3 { font-weight: 600; letter-spacing: -.005em; }

/* corners: small everywhere, round only where round means something (dots, counters) */
button, input, select, textarea, .auth-card, .panel, .board, .clashes, .timeline-wrap, .card, .scard, .free, .tabbar, .tabbar button,
.tile, .tile.mini, .prop-toggle, .pcard, .phero, .filebtn, .thread, .bubble, .reply textarea, .side-item, .side-small, .back, .state,
.pill, .cx-box input, .cx-prices input, .cx-plans input { border-radius: var(--r) !important; }
.bar { border-radius: 3px; }

/* menu: charcoal, grey items, the open section marked by a thin teal bar */
.side { background: var(--navy); padding-top: 1.5rem; }
.side-logo { border-bottom-color: rgba(255,255,255,.08); }
.side-item { border-left: 2px solid transparent !important; color: #a6a9b2; font-weight: 500; padding: .62rem .8rem; }
.side-item svg { stroke: #8b8f99 !important; filter: none !important; width: 19px; height: 19px; stroke-width: 1.7; }
.side-item:hover { background: rgba(255,255,255,.05); color: #fff; }
.side-item[aria-current="true"], .side-item[aria-current="true"][data-sec] { background: #1f2229 !important; color: #fff !important; border-left-color: var(--accent) !important; }
.side-item[aria-current="true"] svg { stroke: #fff !important; }
.side-foot { border-top-color: rgba(255,255,255,.08); }
.badge { background: var(--accent); }

/* page titles and boxes: no coloured stripes */
.crumbs h1, body[data-sec] .crumbs h1 { color: var(--ink) !important; border-left: 0; padding-left: 0; }
body.in #appView .panel, body.in #appView .board { border-top: 1px solid var(--line); }
.tile.mini, .tile.mini[data-go] { border-left: 1px solid var(--line); }
.tile.mini .tile-title, .tile.mini[data-go] .tile-title, .tile-title { color: var(--muted) !important; font-weight: 600; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .08em; }
.tile, .pcard { transition: border-color .15s; }
.tile:hover, .pcard:hover { transform: none; border-color: #c9ccd3; }
.tile-big { font-weight: 600; }
.pcard { border-top: 1px solid var(--line) !important; }
.pname { font-weight: 600; font-size: 1.2rem; }
.home-sec { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.panel, .board, .tile, .pcard, .phero, .card, .scard { box-shadow: none; }

/* platform labels: neutral chip + brand mark */
.pill, .pill.airbnb, .pill.booking, .pill.vrbo, .pill.direct, .pill.block, .pill.other { background: #f1f2f4; color: var(--ink); border: 1px solid var(--line); font-weight: 500; }
.pill.airbnb .mark { background: var(--airbnb); }
.pill .mark { background: transparent; }
.pill.block .mark, .pill.other .mark { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: var(--block); }
.pill.st-confirmed, .pill.st-cancelled, .pill.st-needs_details { background: #f1f2f4; color: var(--muted); }
.pill.st-needs_details { color: #9a5b00; }
.state.busy { background: #f6ecea; color: #9b3b2c; } .state.free { background: var(--reed-soft); color: var(--reed); }

/* buttons */
.primary { background: var(--reed); } .primary:hover { background: #18625a; }
.ghost:hover, .back:hover, .filebtn:hover, .thread:hover { background: #f1f2f4; }
.back { color: var(--ink); }
.thread.open { border-color: var(--accent); box-shadow: inset 2px 0 0 var(--accent); }
.thread.unread b { color: var(--reed); }
.bubble { background: #f1f2f4; } .bubble.property { background: var(--reed-soft); }
.note-ic, .note-item.costs .note-ic, .note-item.clash .note-ic, .note-item.details .note-ic { background: var(--ink); }
.note-item.clash .note-ic { background: var(--clash); }
:focus-visible { outline-color: var(--accent); }
@media (max-width: 900px) {
  .side-item { border-top: 2px solid transparent !important; border-left: 0 !important; }
  .side-item[aria-current="true"] { border-top-color: var(--accent) !important; }
}

/* Guest check-in in the booking details (28 Nov 2026) */
.ci-host { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.ci-link { display: flex; gap: .5rem; align-items: center; margin: .4rem 0 .8rem; }
.ci-guests .ci-g { font-size: .88rem; padding: .45rem 0; border-bottom: 1px solid var(--line); }

/* Clear save confirmation in Settings (28 Nov 2026) */
.status.box { margin: .7rem 0 0; padding: .65rem .85rem; border: 1px solid; border-radius: 4px; font-weight: 600; font-size: .95rem; }
.status.ok.box { background: var(--reed-soft); border-color: var(--reed); color: var(--reed); }
.status.bad.box { background: #f6ecea; border-color: var(--clash); color: #9b3b2c; }
button.primary.is-saved, button.primary.is-saved:hover { background: var(--reed-soft); color: var(--reed); border: 1px solid var(--reed); }

.looks { border: 1px solid var(--line); padding: .6rem .9rem; margin: .4rem 0; }
.looks legend { font-weight: 600; font-size: .9rem; padding: 0 .3rem; }
.looks label { display: flex; gap: .5rem; align-items: baseline; padding: .25rem 0; }
.looks a { margin-left: auto; }

#lsForm { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1rem; max-width: 52rem; margin-top: .8rem; }
#lsForm label { display: flex; flex-direction: column; gap: .2rem; font-size: .85rem; }
#lsForm .wide { grid-column: 1 / -1; }
#lsForm textarea, #lsForm input { font: inherit; padding: .4rem .5rem; border: 1px solid var(--line); border-radius: 4px; }

#lsForm { max-width: 60rem; } #lsForm textarea, #lsForm input { width: 100%; box-sizing: border-box; } #lsForm textarea { min-height: 6rem; resize: vertical; }
#lsProp { max-width: 24rem; }

/* Master listing groups and ticks (29 Nov 2026) */
#lsForm .ls-group { margin: 1.2rem 0 .1rem; font-size: 1rem; border-bottom: 1px solid var(--line); padding-bottom: .2rem; }
#lsForm small.muted { color: #6b7780; font-weight: 400; }
#lsForm select { font: inherit; padding: .4rem .5rem; border: 1px solid var(--line); border-radius: 4px; width: 100%; box-sizing: border-box; }
#lsForm .ls-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: .25rem .8rem; margin-top: .3rem; }
#lsForm .ls-check { flex-direction: row; align-items: center; gap: .3rem; }
#lsForm .ls-check input { width: auto; }

/* ======================================================================================================
   FAMILY LOOK (Gorana, 29 Nov 2026): Setout, Platty and Stayreed share one look. Menu = dark sea blue #0F2A33,
   square corners everywhere, Bricolage Grotesque (headings, the name) + Figtree (text). Stayreed's OWN colour
   is the single setting --brand-accent below (buttons, links, the menu marker). Platform colours (Airbnb,
   Booking.com, Vrbo) are untouched. Overrides the Graphite block above; delete this block to go back.
   ====================================================================================================== */
:root {
  --brand-accent: #D48806; --brand-accent-dark: #B97705; --brand-accent-soft: #FBF0DC; /* sun amber, Gorana's choice 29 Nov 2026 */
  --brand-accent-text: #8A5600; /* darker amber for links and text on white (amber itself is too light to read) */
  --navy: #0F2A33; --ink: #0F2A33; --r: 0;
  --reed: var(--brand-accent-text); --reed-soft: var(--brand-accent-soft); --accent: var(--brand-accent);
  --serif: 'Bricolage Grotesque', Figtree, 'Segoe UI', system-ui, sans-serif;
  --sans: Figtree, 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
}
body { font-family: var(--sans); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -.015em; }
.side-logo span, .mark, .auth .mark { font-family: Lexend, var(--serif); font-weight: 600; letter-spacing: -.01em; } /* the name Stayreed in Lexend (Gorana's pick 29 Nov 2026) */
.primary, .primary:hover, button.primary.is-saved:hover { border-color: transparent; }
.primary, button.primary { background: var(--brand-accent); color: var(--ink); font-weight: 600; } /* dark text: white on amber is hard to read */
.primary:hover { background: var(--brand-accent-dark); color: var(--ink); }
.side-item[aria-current="true"], .side-item[aria-current="true"][data-sec] { background: rgba(255,255,255,.07) !important; }
/* square corners everywhere; round only where round means something (status dots, counters, today's date) */
*, *::before, *::after { border-radius: 0 !important; }
.tl-day.today b, .platform i, .note-ic, .pill .mark, .pill.block .mark, .pill.other .mark, .badge { border-radius: 50% !important; }
.badge { border-radius: 999px !important; }
/* ---------- Calendar: the look of Airbnb's calendar, phone and computer (Gorana, 1 Dec 2026: "exactly like Airbnb").
   The one place with rounded shapes, as on Airbnb: round flat pictures, rounded days, dark reservation pills. ---------- */
[data-view~="calendar"] .board-head, [data-view~="calendar"] .legend, [data-view~="calendar"] .timeline-wrap { display: none !important; }
[data-view~="calendar"].board { border: 0 !important; padding: 0 !important; background: transparent; }
.mcal { --mc-day: 5.6rem; display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); column-gap: .8rem; align-items: start; }
.mc-top { display: contents; }
.mc-pick { grid-column: 1; grid-row: 1 / span 3; position: sticky; top: 1rem; display: flex; flex-direction: column; gap: .7rem; align-self: start; }
.mc-title { grid-column: 2; grid-row: 1; position: sticky; top: 0; z-index: 6; background: #f7f7f7; font-size: 2rem; font-weight: 700; color: #222; letter-spacing: -.01em; height: 3.2rem; display: flex; align-items: center; }
.mc-wk { grid-column: 2; grid-row: 2; position: sticky; top: 3.2rem; z-index: 6; background: #f7f7f7; display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: .8rem; color: #717171; height: 2rem; align-items: center; border-bottom: 1px solid #ebebeb; }
.mc-list { grid-column: 2; grid-row: 3; padding: 0 0 8rem; }
.mc-thumb { flex: 0 0 auto; width: 3.4rem; height: 3.4rem; padding: 0; border: 2px solid transparent; background: #ececec; overflow: hidden; display: grid; place-items: center; font-weight: 600; color: #222; opacity: .65; }
.mc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mc-thumb.on { border-color: #222; opacity: 1; }
.mc-month { padding-top: .4rem; }
.mc-h { font-size: 1.3rem; font-weight: 700; color: #222; margin: 1.6rem .2rem .7rem; }
.mc-week { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); }
.mc-day { position: relative; height: var(--mc-day); margin: 2px; border: 1px solid #ddd; background: #fff; padding: .4rem .5rem; font-size: .9rem; color: #222; font-weight: 600; }
.mc-day.empty { border-color: transparent; background: transparent; }
.mc-day.past { background: #f7f7f7; color: #9a9a9a; border-color: #ebebeb; }
.mc-day.past .mc-n { text-decoration: line-through; font-weight: 500; }
.mc-day.today .mc-n { display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.6rem; margin: -.2rem 0 0 -.3rem; background: #222; color: #fff; }
.mc-day.blocked { background: #ebebeb; border-color: #e0e0e0; color: #8a8a8a; }
.mc-day.blocked::after { content: ""; position: absolute; top: -1px; right: -1px; width: 1rem; height: 1rem; background: linear-gradient(225deg, #fff 50%, #c9c9c9 50%); }
.mc-bar { position: absolute; top: 2.55rem; height: 2rem; margin: 0; padding: 0 .4rem 0 .25rem; border: 0; background: #222; color: #fff; display: flex; align-items: center; gap: .4rem; overflow: hidden; z-index: 2; font-size: .85rem; font-weight: 600; text-align: left; cursor: pointer; }
.mc-bar:hover { background: #000; }
.mc-bar.clash { outline: 2px solid #b3261e; outline-offset: 0; }
.mc-av { flex: 0 0 auto; width: 1.5rem; height: 1.5rem; display: grid; place-items: center; font-style: normal; font-size: .75rem; font-weight: 700; color: #fff; border: 1.5px solid #fff; }
.mc-av.airbnb { background: var(--airbnb); } .mc-av.booking { background: var(--booking); } .mc-av.vrbo { background: var(--vrbo); }
.mc-av.other { background: var(--other); } .mc-av.direct { background: var(--direct); } .mc-av.block { background: var(--block); }
.mc-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-today { position: fixed; left: calc(50% + 7rem); bottom: 1.6rem; transform: translateX(-50%); z-index: 7; background: #fff; color: #222; border: 0; padding: .75rem 1.3rem; font-weight: 600; font-size: .95rem; box-shadow: 0 2px 10px rgba(0,0,0,.28); cursor: pointer; }
.mc-today::before { content: "\2193\00a0"; }
/* the shapes Airbnb uses (the family look keeps square corners everywhere else) */
.mcal .mc-day, .mcal .mc-bar { border-radius: 8px !important; }
.mcal .mc-bar.cont { border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }
.mcal .mc-bar.more { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }
.mcal .mc-thumb, .mcal .mc-av, .mcal .mc-today, .mcal .mc-day.today .mc-n { border-radius: 999px !important; }
.mcal .mc-day.blocked::after { border-top-right-radius: 8px !important; }

@media (max-width: 760px) {
  .mcal { --mc-day: 4.1rem; display: block; margin: 0 -1.4rem; }
  .mc-top { display: block; position: sticky; top: 0; z-index: 6; background: #fff; padding: .6rem 1rem 0; border-bottom: 1px solid #ebebeb; }
  .mc-pick { position: static; flex-direction: row; overflow-x: auto; padding-bottom: .55rem; gap: .6rem; }
  .mc-thumb { width: 2.6rem; height: 2.6rem; }
  .mc-title { position: static; background: transparent; font-size: 1.6rem; height: auto; padding: .1rem 0 .5rem; display: block; }
  .mc-wk { position: static; background: transparent; font-size: .72rem; height: auto; border: 0; padding: .15rem 0 .45rem; }
  .mc-list { padding: 0 .5rem 8rem; }
  .mc-h { font-size: 1.15rem; margin: 1.3rem .4rem .6rem; }
  .mc-day { margin: 2px; padding: .3rem .4rem; font-size: .8rem; }
  .mc-day.today .mc-n { min-width: 1.45rem; height: 1.45rem; margin: -.15rem 0 0 -.25rem; }
  .mc-bar { top: 1.75rem; height: 1.7rem; font-size: .78rem; gap: .3rem; padding: 0 .3rem 0 .2rem; }
  .mc-av { width: 1.3rem; height: 1.3rem; font-size: .7rem; }
  .mc-today { left: 50%; bottom: 5.4rem; }
  body[data-sec="calendar"] #crumbs { display: none !important; }
  body[data-sec="calendar"] .detail { left: 0; right: 0; bottom: 4.1rem; width: auto; max-height: 68vh; overflow: auto; border: 0; border-radius: 16px 16px 0 0 !important; box-shadow: 0 -6px 24px rgba(0,0,0,.22); z-index: 8; }
}

/* 2 Dec 2026: wide tables (Reservations, Costs) must scroll inside their own box, not make the whole page wider than the phone (that zoomed the page out and stretched the footer menu) */
#overviewView, #listView, #costsView, #todayView { grid-template-columns: minmax(0, 1fr); }
#appView, #appView .panel, #appView section { min-width: 0; max-width: 100%; }
html, body { overflow-x: clip; }

/* 2 Dec 2026 (Gorana): phone footer = 5 always-visible buttons with a small text under each: Home, Calendar, Listings, Messages, Menu.
   Menu (hamburger) opens a sheet with every section, including those five. */
.phone-only { display: none; }
.qbar, .menu-scrim { display: none; }
@media (max-width: 900px) {
  .phone-only { display: flex; }
  .qbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); background: #14323f; padding: .3rem .3rem calc(.3rem + env(safe-area-inset-bottom)); box-shadow: 0 -2px 10px rgba(0,0,0,.18); }
  body.in .qbar { display: grid; }
  .qbar-item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; min-width: 0; padding: .4rem 0 .3rem; border: 0; border-top: 3px solid transparent; border-radius: 8px; background: transparent; color: #b9c6cc; font: inherit; font-size: .68rem; font-weight: 500; cursor: pointer; }
  .qbar-item svg { width: 1.45rem; height: 1.45rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .qbar-item span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .qbar-item[aria-current="true"] { color: #fff; border-top-color: #f2b33d; background: rgba(255,255,255,.08); }
  .qbar-item .badge { position: absolute; top: .05rem; left: 50%; margin: 0; transform: translateX(.45rem); }
  /* the full menu: a sheet above the bar */
  .side { position: fixed; inset: auto 0 calc(4.1rem + env(safe-area-inset-bottom)) 0; width: auto; height: auto; max-height: calc(100vh - 8rem); overflow-y: auto; display: none; flex-direction: column; padding: 1rem .8rem .8rem; border-radius: 16px 16px 0 0; box-shadow: 0 -8px 28px rgba(0,0,0,.3); z-index: 29; }
  body.menu-open .side { display: flex; }
  .side[hidden] { display: none !important; }
  .side-logo { display: none; }
  .side-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: row; grid-auto-columns: auto; gap: .45rem; width: 100%; }
  .side-item { flex-direction: column; justify-content: center; gap: .3rem; padding: .8rem .2rem; font-size: .78rem; text-align: center; min-width: 0; position: relative; background: rgba(255,255,255,.06); }
  .side-item .badge { position: absolute; top: .3rem; left: 50%; margin: 0; transform: translateX(.6rem); }
  .side-foot { display: grid; margin-top: .9rem; }
  .menu-scrim { position: fixed; inset: 0; z-index: 28; background: rgba(8,20,26,.45); }
  .menu-scrim:not([hidden]) { display: block; }
}

/* Sync calendars button: circular-arrows icon, spins while syncing (2 Dec 2026) */
.sync-btn { display: inline-flex; align-items: center; gap: .5rem; }
.sync-ic { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.syncing .sync-ic { animation: sync-spin 1s linear infinite; }
@keyframes sync-spin { to { transform: rotate(360deg); } }

/* Menu footer (2 Dec 2026): sync, then "Signed in as <name>", then a Log out button with a sign */
.side-acct { display: grid; gap: .1rem; padding: .7rem .6rem .2rem; margin-top: .3rem; border-top: 1px solid rgba(255,255,255,.12); }
.side-acct-label { font-size: .72rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .04em; }
.side-acct .side-name { padding: 0; font-size: .95rem; color: #fff; font-weight: 600; }
.side-logout { display: flex; align-items: center; justify-content: center; gap: .55rem; margin-top: .4rem; padding: .65rem .8rem; border: 1px solid rgba(255,138,112,.55); border-radius: 10px; background: transparent; color: #ffb4a2; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
.side-logout:hover { background: rgba(255,138,112,.12); color: #ffd0c4; }
.lo-ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Property card platforms: one short line, works with 10 platforms (2 Dec 2026) */
.pplats { display: flex; align-items: center; gap: .5rem; flex-wrap: nowrap; min-width: 0; }
.pdots { display: inline-flex; align-items: center; flex: none; }
.pdot { width: .8rem; height: .8rem; border-radius: 50%; background: var(--other); border: 2px solid var(--paper, #fff); margin-left: -.25rem; box-sizing: content-box; }
.pdot:first-child { margin-left: 0; }
.pdot.airbnb { background: var(--airbnb); } .pdot.booking { background: var(--booking); } .pdot.vrbo { background: var(--vrbo); } .pdot.direct { background: var(--direct); }
.pmore { margin-left: .3rem; font-size: .72rem; font-weight: 600; color: var(--muted, #6b6f78); }
.pcount { font-size: .8rem; color: var(--muted, #6b6f78); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Profile entry in the menu + Profile screen (2 Dec 2026, Gorana: "maybe we can have a profile in the menu") */
body[data-sec="profile"] { --sec: var(--c-settings); }
.side-profile { display: flex; align-items: center; gap: .7rem; width: 100%; margin-top: .3rem; padding: .7rem .6rem; border: 0; border-top: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: transparent; color: #fff; font: inherit; text-align: left; cursor: pointer; }
.side-profile:hover { background: rgba(255,255,255,.07); }
.side-profile[aria-current="true"] { background: rgba(255,255,255,.12); }
.av { display: inline-grid; place-items: center; flex: none; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: #f2b33d; color: #14323f; font-weight: 700; font-size: 1.05rem; }
.av.big { width: 3.6rem; height: 3.6rem; font-size: 1.6rem; }
.pf-text { display: grid; min-width: 0; flex: 1; }
.pf-text b, .side-profile .side-name { padding: 0; color: #fff; font-size: .95rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-text small { color: rgba(255,255,255,.6); font-size: .75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-go { width: 1.1rem; height: 1.1rem; flex: none; fill: none; stroke: rgba(255,255,255,.6); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pf-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.pf-head h2 { margin: 0 0 .15rem; }
.pf-row { display: flex; gap: 1rem; justify-content: space-between; padding: .65rem 0; border-top: 1px solid var(--line); }
.pf-k { color: var(--muted, #6b6f78); }
.pf-v { font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.pf-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.pf-logout { margin-top: 0; }
.side-logout.pf-logout { color: #b3402a; border-color: rgba(179,64,42,.5); }
.side-logout.pf-logout:hover { background: rgba(179,64,42,.08); color: #8f2f1d; }
.pf { max-width: 36rem; }

/* Reservation details: sections, money rows, (i) explanations (2 Dec 2026, Gorana: "visually more clear", explanation behind a little info sign) */
.dsec { margin: 1.1rem 0 .35rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #6b6f78); }
.detail h3 + div > .dsec:first-child, .dsec:first-child { margin-top: .5rem; }
.money { border: 1px solid var(--line); border-radius: 8px; padding: .2rem .8rem; }
.mrow { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-top: 1px solid var(--line); }
.mrow:first-child { border-top: 0; }
.mk { color: var(--ink); display: inline-flex; align-items: center; gap: .4rem; }
.mv { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mrow.total { background: var(--reed-soft, #eef5f1); margin: .2rem -.8rem; padding: .6rem .8rem; border-top: 0; font-size: 1.05rem; font-weight: 700; }
.mrow.total .mv { font-size: 1.15rem; }
.info-i { display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; padding: 0; border: 1px solid var(--muted, #6b6f78); border-radius: 50%; background: transparent; color: var(--muted, #6b6f78); font: italic 700 .72rem/1 Georgia, serif; cursor: pointer; }
.info-i:hover, .info-i.open { background: var(--muted, #6b6f78); color: #fff; }
.info-text { margin: 0 0 .4rem; padding: .5rem .7rem; background: #f4f6f8; border-left: 3px solid #1e6fa8; border-radius: 4px; font-size: .85rem; color: var(--ink); }
.dnotes { padding: .6rem .8rem; background: #fbf7ec; border: 1px solid #efe2bd; border-radius: 8px; font-size: .9rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.detail .dgrid, tr.detailrow .dgrid { margin: .2rem 0; }

/* Guest instructions link field in Settings > Properties */
.guide-box { margin: 1rem 0; }
.guide-row { display: flex; gap: .6rem; }
.guide-row input { flex: 1; min-width: 0; }

/* Passport marks on Today, alert form on Notifications (2 Dec 2026) */
.ci-chip { display: inline-block; margin-top: .3rem; padding: .1rem .55rem; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.ci-chip.ok { background: #e3f4e8; color: #1f6b3a; }
.ci-chip.warn { background: #fdecd2; color: #8a5a00; }
.alert-form { display: grid; gap: .6rem; max-width: 36rem; }
.alert-form input[name=emails] { width: 100%; box-sizing: border-box; }
.note-item.checkin .note-ic { background: #2f9e44; }

/* Host: read guests from document photos (4 Dec 2026) */
.ph-wrap { margin-top: .9rem; }
.ph-panel { margin-top: .6rem; padding: .8rem; border: 1px solid var(--line); border-radius: 4px; }
.ph-row { margin: .8rem 0; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: 4px; }
.ph-row legend { font-size: .85rem; font-weight: 600; padding: 0 .3rem; }
.ph-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem .8rem; margin: .5rem 0; }
.ph-grid label { display: flex; flex-direction: column; gap: .15rem; font-size: .85rem; min-width: 0; }
.ph-grid input, .ph-grid select { width: 100%; box-sizing: border-box; }
.ph-tag { font-size: .72rem; min-height: 1em; color: #666; }
.ph-grid .from input, .ph-grid .from select { border-color: #3d8a5a; background: #eef7f1; }
.ph-grid .from .ph-tag { color: #2f6e47; }
.ph-grid .assumed input, .ph-grid .assumed select { border-color: #d28b2c; background: #fff4e2; }
.ph-grid .assumed .ph-tag { color: #9a5d0c; }
.ph-grid .todo input, .ph-grid .todo select { border-color: #e0b84a; background: #fff8db; }
.ph-grid .todo .ph-tag { color: #8a6a00; }
@media (max-width: 600px) { .ph-grid { grid-template-columns: 1fr; } }
