/* Rental portal. Light "aluminium" look chosen 2026-11-22: soft cool silver, no white glare.
   Same type as the cockpit: IBM Plex Sans Hebrew for words, Barlow for figures. */
@font-face{font-family:Plex;src:url(../fonts/plexheb-300-hebrew.woff2) format('woff2');font-weight:300;font-display:swap;unicode-range:U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:Plex;src:url(../fonts/plexheb-400-hebrew.woff2) format('woff2');font-weight:400;font-display:swap;unicode-range:U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:Plex;src:url(../fonts/plexheb-500-hebrew.woff2) format('woff2');font-weight:500 900;font-display:swap;unicode-range:U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:Plex;src:url(../fonts/plexheb-300-latin.woff2) format('woff2');font-weight:300;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+2212}
@font-face{font-family:Plex;src:url(../fonts/plexheb-400-latin.woff2) format('woff2');font-weight:400;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+2212}
@font-face{font-family:Plex;src:url(../fonts/plexheb-500-latin.woff2) format('woff2');font-weight:500 900;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+2212}
@font-face{font-family:Barlow;src:url(../fonts/barlow-200.woff2) format('woff2');font-weight:100 200;font-display:swap;unicode-range:U+0000-00FF,U+2212}
@font-face{font-family:Barlow;src:url(../fonts/barlow-300.woff2) format('woff2');font-weight:300;font-display:swap;unicode-range:U+0000-00FF,U+2212}
@font-face{font-family:Barlow;src:url(../fonts/barlow-400.woff2) format('woff2');font-weight:400 900;font-display:swap;unicode-range:U+0000-00FF,U+2212}

:root{
  --bg:#ECEEF0; --sheet:#F7F8F9; --sunk:#E1E4E8; --ink:#16191D; --ink2:#4A5159; --ink3:#69717B;
  --hair:rgba(22,25,29,.10); --hair2:rgba(22,25,29,.18);
  --act:#16191D; --act-ink:#F4F6F8; --green:#127848; --greenbg:rgba(23,140,85,.11);
  --amber:#9A5C06; --amberbg:rgba(183,110,11,.12); --red:#B23A22; --redbg:rgba(196,67,42,.10);
  --font:Plex,'IBM Plex Sans Hebrew',system-ui,-apple-system,sans-serif; --fig:Barlow,Plex,system-ui,sans-serif;
  color-scheme:light;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
html,body{margin:0;background:var(--bg);color:var(--ink)}
body{font-family:var(--font);font-size:16px;line-height:1.45;-webkit-font-smoothing:antialiased;direction:rtl}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
[hidden]{display:none!important}
.sr{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;clip:rect(0 0 0 0)}

.app{max-width:520px;margin:0 auto;min-height:100dvh}
.scr{min-height:100dvh;display:flex;flex-direction:column;gap:14px;
  padding:max(12px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}
.owner.scr{padding-bottom:calc(84px + env(safe-area-inset-bottom))}
.loading{color:var(--ink3);text-align:center;margin-top:30vh}
.num{font-family:var(--fig);font-variant-numeric:tabular-nums;direction:ltr;unicode-bidi:isolate}
bdi{unicode-bidi:isolate}
.muted{color:var(--ink3)}
.fine{font-size:13px;color:var(--ink3);margin:0}
.fine.pad{padding:14px 0}
.warn{color:var(--red);font-size:13.5px}
.note{margin:0;background:var(--sheet);border-radius:12px;padding:10px 12px;font-size:14px;color:var(--ink2)}

/* top bar */
.bar{display:flex;align-items:center;justify-content:space-between;min-height:44px}
.mark{display:flex;align-items:center;gap:8px;font-size:13.5px;color:var(--ink2);letter-spacing:.01em}
.mark svg{width:24px;height:24px}
.bar-acts{display:flex;gap:4px}
.link{background:none;border:0;padding:0;width:44px;height:44px;display:grid;place-items:center;color:var(--ink2);border-radius:12px;cursor:pointer}
.link svg{width:22px;height:22px}
.back{display:inline-flex;align-items:center;gap:4px;font-size:14px;color:var(--ink2);min-height:36px;align-self:flex-start}
.back svg{width:18px;height:18px}

.hero{display:flex;flex-direction:column;gap:6px;padding-top:6px}
.hello{font-size:23px;font-weight:500;line-height:1.25;margin:0;letter-spacing:-.005em}
.lede{font-size:15px;color:var(--ink2);margin:0}
.sec{font-size:13px;color:var(--ink3);display:flex;justify-content:space-between;align-items:center;margin-top:6px}
.empty{display:flex;flex-direction:column;gap:12px;padding-top:20vh;text-align:center}

/* price policy */
.policy{background:var(--sheet);border-radius:18px;padding:14px 16px;display:flex;flex-direction:column;gap:8px}
.policy-h{display:flex;align-items:baseline;gap:8px;color:var(--ink2);font-size:14px}
.policy .amt{font-size:34px;font-weight:300;line-height:1;color:var(--ink)}
.policy ul{margin:0;padding:0 18px 0 0;display:flex;flex-direction:column;gap:5px;font-size:14px;color:var(--ink2)}
.policy b{font-weight:500;color:var(--ink)}

/* lists */
.list{background:var(--sheet);border-radius:18px;padding:2px 14px}
.row{display:flex;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--hair);min-height:52px}
.row:last-child{border-bottom:0}
.row.kv{align-items:flex-start;justify-content:space-between}
.row.kv > .h{flex:none;padding-top:1px}
.row.kv > .b{text-align:left}
.log .row.kv > .b{text-align:right;flex:1}
.ic{width:36px;height:36px;flex:none;border-radius:11px;background:var(--sunk);display:grid;place-items:center;color:var(--ink2);overflow:hidden}
.ic svg{width:19px;height:19px}
.ic img{width:100%;height:100%;object-fit:cover}
.tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.h{font-size:12.5px;color:var(--ink3)}
.b{font-size:15px;line-height:1.35;overflow-wrap:anywhere}
.go{flex:none;font-size:13.5px;color:var(--ink);border:1px solid var(--hair2);background:none;border-radius:999px;padding:7px 13px;white-space:nowrap;min-height:36px;cursor:pointer}
.go-i{color:var(--ink3);transform:scaleX(-1);display:grid}
.go-i svg{width:18px;height:18px}
.code{font-family:var(--fig);font-size:24px;letter-spacing:.2em;direction:ltr;unicode-bidi:isolate;margin-top:2px}

/* booking card and time strip */
.card{background:var(--sheet);border-radius:18px;padding:14px 16px;display:flex;flex-direction:column;gap:12px}
.card-top{display:flex;justify-content:space-between;align-items:center;font-size:14px}
.trip{display:grid;grid-template-columns:1fr auto 1fr;align-items:end;gap:10px}
.trip .t{display:flex;flex-direction:column;gap:2px}
.trip .t:last-child{text-align:left}
.trip .k{font-size:12.5px;color:var(--ink3)}
.trip .v{font-size:30px;font-weight:300;line-height:1}
.trip .d{font-size:13px;color:var(--ink2)}
.trip .mid{font-size:12.5px;color:var(--ink3);padding-bottom:4px;text-align:center}

.chip{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;padding:4px 10px;border-radius:999px;white-space:nowrap;background:var(--sunk);color:var(--ink2);vertical-align:middle}
.chip::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.chip.ok{color:var(--green);background:var(--greenbg)}
.chip.due{color:var(--amber);background:var(--amberbg)}
.chip.bad{color:var(--red);background:var(--redbg)}

.tag{position:relative;background:var(--sheet);border-radius:16px;padding:14px 16px 14px 50px;display:flex;flex-direction:column;gap:4px}
.tag::before{content:"";position:absolute;left:16px;top:50%;width:16px;height:16px;margin-top:-8px;border-radius:50%;background:var(--bg);box-shadow:inset 0 0 0 1px var(--hair2)}
.tag .h{font-size:12.5px}
.active-now{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--ink2);flex-wrap:wrap}

.pay{display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--sheet);border-radius:16px;padding:14px 16px}
.pay .amt{font-size:32px;font-weight:300;line-height:1}
.pay .s{display:flex;flex-direction:column;gap:3px;font-size:13px;color:var(--ink2)}

/* forms: 16px text so iPhone Safari does not zoom in */
.f{display:flex;flex-direction:column;gap:6px}
.f > label,.f > .lbl{font-size:13px;color:var(--ink3)}
.in{min-height:50px;width:100%;border-radius:13px;background:var(--sheet);border:1px solid var(--hair);padding:0 14px;font-size:16px;color:var(--ink);-webkit-appearance:none;appearance:none}
.in:focus{border-color:var(--ink2);outline:none}
select.in{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2369717B' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-position:left 16px center;background-size:12px 8px;background-repeat:no-repeat;padding-left:40px}
textarea.in{padding:12px 14px;min-height:80px;resize:vertical;line-height:1.4}
input[type=datetime-local].in{display:flex;align-items:center;text-align:right;direction:ltr}
input[type=datetime-local]::-webkit-date-and-time-value{text-align:right}
.two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.when{background:var(--sheet);border-radius:18px;padding:12px 14px;display:flex;flex-direction:column;gap:10px}
.when .in{background:var(--bg)}
.est{display:flex;flex-direction:column;gap:3px;font-size:14px;color:var(--ink2);padding-inline:2px;min-height:20px}
.terms{display:flex;gap:10px;align-items:flex-start;font-size:14px;color:var(--ink2);line-height:1.45;cursor:pointer}
.terms input{width:22px;height:22px;margin:0;flex:none;accent-color:var(--act)}

.upl{border:1.5px dashed var(--hair2);border-radius:15px;min-height:76px;display:flex;align-items:center;gap:12px;padding:12px 14px;color:var(--ink2);cursor:pointer;position:relative}
.upl .ic{width:52px;height:52px;background:var(--sheet)}
.upl.done{border-style:solid;border-color:var(--hair)}
.upl.done .h{color:var(--green)}
.upl.bad .h{color:var(--red)}
.upl.busy{opacity:.7;pointer-events:none}

/* buttons */
.btn{min-height:52px;border-radius:999px;background:var(--act);color:var(--act-ink);border:0;display:grid;place-items:center;font-size:16px;font-weight:500;width:100%;cursor:pointer;padding:0 18px;text-align:center}
.btn.ghost{background:none;color:var(--ink);box-shadow:inset 0 0 0 1px var(--hair2)}
.btn.sm{min-height:40px;font-size:14px;width:auto}
.btn.google{background:var(--act)}
button[aria-busy=true]{opacity:.6}
button:disabled{cursor:default}
.sticky{position:sticky;bottom:0;margin:4px -16px calc(-24px - env(safe-area-inset-bottom));padding:12px 16px calc(16px + env(safe-area-inset-bottom));
  background:linear-gradient(to top,var(--bg) 72%,rgba(236,238,240,0));display:flex;flex-direction:column;gap:8px;margin-top:auto}
.sticky .fine{text-align:center}
.seg{display:flex;background:var(--sheet);border:1px solid var(--hair);border-radius:999px;padding:3px;gap:2px}
.seg-b{flex:1;border:0;background:none;color:var(--ink2);padding:8px 12px;border-radius:999px;min-height:42px;font-size:14.5px;cursor:pointer}
.seg-b[aria-pressed=true]{background:var(--act);color:var(--act-ink)}
.acts2{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.acts2:has(> :only-child){grid-template-columns:1fr}

details.more{background:var(--sheet);border-radius:16px;padding:0 14px}
details.more > summary{min-height:50px;display:flex;align-items:center;cursor:pointer;font-size:15px;list-style:none}
details.more > summary::-webkit-details-marker{display:none}
details.more > summary::after{content:"+";margin-inline-start:auto;color:var(--ink3);font-size:20px}
details.more[open] > summary::after{content:"−"}
details.more[open]{padding-bottom:14px;display:flex;flex-direction:column;gap:10px}
details.more .in{background:var(--bg)}

/* owner */
.month{display:flex;justify-content:space-between;align-items:flex-end;padding:12px 0;border-block:1px solid var(--hair)}
.month .k{font-size:13px;color:var(--ink3)}
.month .v{font-family:var(--fig);font-size:46px;font-weight:200;line-height:1}
.month .side{display:flex;flex-direction:column;gap:3px;text-align:left;font-size:13px;color:var(--ink2)}
.req{background:var(--sheet);border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:12px}
.req .top{display:flex;gap:10px;align-items:center}
.req .nm{font-size:15.5px;font-weight:500;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.req .meta{font-size:13px;color:var(--ink2)}
.req .acts{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.req .acts button{min-height:44px;border-radius:999px;border:0;font-size:14.5px;cursor:pointer}
.req .acts .yes{background:var(--act);color:var(--act-ink)}
.req .acts .yes.on{background:var(--greenbg);color:var(--green)}
.req .acts .no{background:none;box-shadow:inset 0 0 0 1px var(--hair2);color:var(--ink2)}
.av{width:40px;height:40px;border-radius:50%;background:var(--sunk);display:grid;place-items:center;font-size:15px;font-weight:500;color:var(--ink2);flex:none}
.alert{display:flex;flex-direction:column;gap:2px;background:var(--redbg);color:var(--red);border-radius:14px;padding:12px 14px;font-size:14px}
.photos{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.photos.one{grid-template-columns:1fr}
.ph-box{margin:0;background:var(--sheet);border-radius:14px;padding:10px;display:flex;flex-direction:column;gap:8px;min-height:96px;font-size:12.5px}
.ph-box figcaption{color:var(--ink3)}
.ph-box img{width:100%;border-radius:9px;display:block;background:var(--sunk)}
.ph-box .fine,.expired{font-size:12px;margin:0}
.expired{color:var(--amber)}
.qr{width:180px;height:180px;align-self:center;background:#fff;border-radius:12px;padding:8px}
.secret{font-size:15px;letter-spacing:.08em;background:var(--sheet);padding:10px 12px;border-radius:10px;word-break:break-all;text-align:center}

.nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:center;background:rgba(236,238,240,.94);
  -webkit-backdrop-filter:saturate(1.4) blur(14px);backdrop-filter:saturate(1.4) blur(14px);border-top:1px solid var(--hair);
  padding:4px max(8px,env(safe-area-inset-right)) calc(4px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));z-index:5}
.nav-i{flex:1;max-width:104px;display:flex;flex-direction:column;align-items:center;gap:2px;font-size:11px;color:var(--ink3);padding:6px 0;min-height:52px}
.nav-i svg{width:23px;height:23px}
.nav-i[aria-current=page]{color:var(--ink)}

.toast{position:fixed;left:16px;right:16px;bottom:calc(92px + env(safe-area-inset-bottom));max-width:488px;margin:0 auto;background:var(--act);color:var(--act-ink);
  padding:12px 16px;border-radius:14px;font-size:14.5px;opacity:0;transform:translateY(8px);transition:.2s;pointer-events:none;z-index:9}
.toast.show{opacity:1;transform:none}
.toast.bad{background:var(--red)}
.demo-note{font-size:12px;color:var(--ink3);text-align:center;margin:8px 0 0}
@media (prefers-reduced-motion:reduce){.toast{transition:none}}
