/* Noyo partner page. The look is Version 3 (approved Oct 17): same colors, type and spacing.
   Plain CSS, no build step. Nothing inline: the server's content-security-policy is "self" only. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-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;
}

:root {
  --navy: #12355b;
  --teal: #1f7a8c;
  --tint: #eef6f7;
  --sand: #f6f1e9;
  --line: #e3e8ec;
  --ink: #1b1b1b;
  --mute: #667;
  --green: #1e9e5a;
  --amber: #e8a33d;
  --red: #c0392b;
  --field: #ccd5dc;
  --ghost: #c9d4dc;
  --row: #f0f2f4;
  --pad: 18px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: #fff; }
body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
}
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; text-align: inherit; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus { outline: none; }
:focus-visible { outline: 3px solid rgba(31, 122, 140, .45); outline-offset: 2px; }
#app:focus, #app:focus-visible { outline: none; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.offscreen { position: fixed; left: -9999px; top: 0; opacity: 0; }

/* ---------- screen frame ---------- */
.scr {
  max-width: 560px;
  margin: 0 auto;
  padding: calc(10px + var(--safe-t)) calc(var(--pad) + var(--safe-r)) calc(28px + var(--safe-b)) calc(var(--pad) + var(--safe-l));
}
body.has-tabs .scr { padding-bottom: calc(112px + var(--safe-b)); }
body.has-banner .scr { padding-top: 10px; }
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0 12px; min-height: 34px; }
.logo { font-weight: 800; color: var(--navy); font-size: 17px; letter-spacing: -0.2px; }
.logo i { font-style: normal; color: var(--teal); }
.logo.big { font-size: 28px; }
.av { position: relative; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 13px; text-align: center; }
.av::after { content: ""; position: absolute; inset: -5px; }
.hi { font-size: 22px; font-weight: 800; color: var(--navy); line-height: 1.2; }
.h20 { font-size: 20px; }
.h21 { font-size: 21px; }
.small { font-size: 12.5px; color: var(--mute); }
.center { text-align: center; }
.grow { flex: 1; min-width: 0; }
.t15 { display: block; font-size: 15px; }
.t16 { display: block; font-size: 16px; }
.mb3 { margin-bottom: 3px; }
.mb8 { margin-bottom: 8px; }
.mb10 { margin-bottom: 10px; }
.mb12 { margin-bottom: 12px; }
.mt4 { margin-top: 4px; }
.mt10 { margin-top: 10px; }
.mt12 { margin-top: 12px; }
.lh15 { line-height: 1.5; }
.lh16 { line-height: 1.6; }
.why { margin: 5px 0 11px; line-height: 1.5; }
.empty { padding: 14px 0; line-height: 1.5; }
.wrapword { overflow-wrap: anywhere; }

.back {
  display: inline-flex; align-items: center; gap: 4px;
  min-height: 44px; margin: -5px 0 -5px -8px; padding: 0 8px;
  font-size: 12.5px; font-weight: 700; color: var(--teal);
}
.back .chev { font-size: 15px; line-height: 1; margin-top: -1px; }

/* ---------- buttons ---------- */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; min-height: 44px;
  text-align: center; background: var(--navy); color: #fff; font-weight: 700;
  border-radius: 14px; padding: 13px; font-size: 15px; line-height: 1.25;
  transition: transform .08s ease, opacity .08s ease;
}
.btn.teal { background: var(--teal); }
.btn.green { background: var(--green); }
.btn.ghost { background: #fff; color: var(--navy); border: 1.5px solid var(--ghost); }
.btn:active { transform: scale(.985); opacity: .88; }
.btn[disabled], .btn.busy { opacity: .6; pointer-events: none; }
.btn .em { font-size: 15px; }
.soft {
  display: flex; align-items: center; justify-content: center;
  min-height: 44px; width: fit-content; max-width: 100%;
  margin: 10px auto 0; padding: 10px 18px;
  border-radius: 12px; background: var(--tint);
  color: var(--teal); font-weight: 600; font-size: 14px; text-align: center;
}
.soft.left { margin-left: 0; }
.soft:active { opacity: .8; }
.soft[disabled] { opacity: .6; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.row2.one { grid-template-columns: 1fr; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 8px; }
.pair:first-child { margin-top: 0; }
.pair .btn { padding: 10px 6px; font-size: 13px; }
.next-part { margin-top: 16px; }

/* ---------- chips, dots, labels ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 4px; flex: none;
  font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 20px;
  background: var(--tint); color: var(--teal); white-space: nowrap;
}
.chip.green { background: #e3f5ea; color: var(--green); }
.chip.amber { background: #fff3df; color: #a8670d; }
.chip.grey { background: #eef1f3; color: #556; }
button.chip { position: relative; min-height: 28px; padding: 5px 11px; font-size: 12px; }
button.chip::after { content: ""; position: absolute; inset: -8px -4px; }
.chip .caret { width: 8px; height: 5px; }
.dot {
  width: 24px; height: 24px; border-radius: 50%; flex: none;
  display: inline-grid; place-items: center;
  color: #fff; font-size: 13px; font-weight: 800; line-height: 1;
}
.dot svg { width: 13px; height: 13px; }
.dot.g { background: var(--green); }
.dot.b { background: var(--teal); }
.dot.o { background: #c5ccd2; }
.dot.a { background: var(--amber); }
.dot.r { background: var(--red); }
.dot .emo { font-size: 12px; }
.lab { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--teal); text-transform: uppercase; }
.new { color: var(--red); font-weight: 800; font-size: 11px; }
.sec { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin: 14px 0 7px; }

/* ---------- cards ---------- */
.card { display: block; border: 1.5px solid var(--line); border-radius: 16px; padding: 13px; margin-bottom: 10px; background: #fff; }
a.card, button.card { width: 100%; text-align: left; }
a.card:active, button.card:active { background: #f7f9fa; }
.card.c11 { padding: 11px; }
.card.tint { background: var(--tint); border-color: #c6e1e5; }
.card.sand { background: var(--sand); border-color: #eadfcd; }
.card.navy { background: var(--navy); color: #fff; border: 0; }
.card b { font-weight: 700; }
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.next-t { font-size: 17px; font-weight: 800; margin: 3px 0 9px; line-height: 1.25; }
.next-sub { font-size: 12.5px; opacity: .85; margin: -4px 0 2px; }
.tiles { margin-bottom: 0; }
.tile { margin: 0; min-height: 96px; }
.tile .ti { display: block; font-size: 22px; line-height: 1.25; margin-bottom: 2px; }
.tile b { display: block; font-size: 14px; }
.tile .small { display: block; }
.rowcard { display: flex; gap: 11px; align-items: center; margin: 8px 0 0; }
.rowcard .ti { font-size: 22px; line-height: 1; }
.rowcard b { display: block; }
.rowcard .small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.go { color: var(--teal); font-weight: 800; font-size: 16px; }
.from { margin-top: 8px; }
.from .small { display: block; margin-top: 3px; line-height: 1.5; }
.clamp4 { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- lists ---------- */
.item {
  display: flex; gap: 11px; align-items: flex-start;
  width: 100%; min-height: 44px; padding: 10px 0;
  border-bottom: 1px solid var(--row); text-align: left;
}
a.item:active, button.item:active { background: #f7f9fa; }
.item b { display: block; font-size: 14.5px; }
.item .small { display: block; }
.item .ti { font-size: 20px; line-height: 24px; width: 24px; text-align: center; flex: none; }
.chev2 { align-self: center; color: #b4bec6; font-size: 20px; line-height: 1; margin-left: 4px; }
.one-line { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- forms ---------- */
.field, .in {
  display: block; width: 100%;
  border: 1.5px solid var(--field); border-radius: 12px;
  padding: 11px 12px; margin: 4px 0 10px;
  font-size: 16px; color: #222; background: #fff;
  -webkit-appearance: none; appearance: none;
}
.field { padding: 13px; margin: 0 0 10px; }
.field:focus, .in:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(31, 122, 140, .15); }
.in::placeholder, .field::placeholder { color: #9aa; }
textarea.in { min-height: 76px; line-height: 1.4; resize: vertical; }
input[type="date"].in { min-height: 46px; }
.fl { display: block; font-size: 12.5px; font-weight: 700; color: #445; }
.msg { min-height: 0; font-size: 13.5px; color: var(--red); font-weight: 600; line-height: 1.4; }
.msg:not(:empty) { margin: -2px 0 12px; }
.check { position: relative; display: flex; align-items: center; gap: 10px; font-size: 14px; margin: 4px 0 14px; min-height: 44px; cursor: pointer; line-height: 1.3; }
.check input { position: absolute; left: -11px; top: 50%; width: 44px; height: 44px; margin: 0; opacity: 0; transform: translateY(-50%); cursor: pointer; }
.box { width: 22px; height: 22px; flex: none; border-radius: 6px; background: var(--teal); border: 1.8px solid var(--teal); color: #fff; display: grid; place-items: center; }
.box svg { width: 14px; height: 14px; }
.check input:not(:checked) + .box { background: #fff; border-color: #b8c2ca; }
.check input:not(:checked) + .box svg { visibility: hidden; }
.check input:focus-visible + .box { outline: 3px solid rgba(31, 122, 140, .45); outline-offset: 2px; }
.rec { color: var(--green); font-weight: 700; }
.pwrow { position: relative; }
.pwrow .field { padding-right: 76px; }
.showpw { position: absolute; right: 4px; top: 4px; min-height: 44px; min-width: 64px; padding: 0 10px; border-radius: 10px; color: var(--teal); font-weight: 700; font-size: 14px; text-align: center; }

/* ---------- sign in ---------- */
.gate { padding-top: calc(48px + var(--safe-t)); }
.brand { text-align: center; margin-bottom: 28px; }
.brand .small { margin-top: 6px; }
.gate .hi { font-size: 24px; margin-bottom: 4px; }
.gate .lede { margin-bottom: 18px; }
.gate .after { text-align: center; margin-top: 24px; line-height: 1.5; font-size: 12.5px; color: var(--mute); }
.gate .after.ok { color: var(--ink); font-size: 13.5px; }
.loading { padding-top: 140px; text-align: center; }

/* ---------- step ---------- */
.tight { margin-bottom: 0; }
.place-line { margin-top: 1px; }
.donebox { display: flex; flex-direction: column; gap: 10px; }
.donerow { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--green); font-size: 15px; }
.photo-ok { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; font-weight: 700; color: var(--green); }
.donebox .photo-ok { justify-content: flex-start; }
.thumb { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; border: 1px solid var(--line); }

/* ---------- show me how ---------- */
.parts {
  display: flex; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  margin: 0 calc(-1 * (var(--pad) + var(--safe-r))) 0 calc(-1 * (var(--pad) + var(--safe-l)));
}
.parts::-webkit-scrollbar { display: none; }
.part {
  flex: 0 0 100%; min-width: 0;
  scroll-snap-align: start; scroll-snap-stop: always;
  padding: 0 calc(var(--pad) + var(--safe-r)) 4px calc(var(--pad) + var(--safe-l));
}
.mapwrap { position: relative; }
.mapimg { width: 100%; height: auto; border-radius: 14px; border: 1.5px solid var(--line); background: #eef1f3; }
.osm { position: absolute; right: 8px; bottom: 6px; font-size: 9px; color: #445; background: rgba(255, 255, 255, .78); padding: 1px 5px; border-radius: 6px; }
.drive { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 8px 2px 12px; }
.drive b { color: var(--navy); font-size: 15px; }
.ptitle { font-size: 21px; font-weight: 800; color: var(--navy); margin-bottom: 5px; line-height: 1.2; }
.pbody { font-size: 14.5px; line-height: 1.5; color: #334; margin-bottom: 12px; }

/* ---------- done ---------- */
.done { text-align: center; padding-top: 34px; }
.bigcheck { width: 96px; height: 96px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; }
.bigcheck svg { width: 54px; height: 54px; }
.done h1 { font-size: 26px; font-weight: 800; color: var(--navy); line-height: 1.2; }
.done .sub { margin: 8px 0 22px; font-size: 14px; }
.done .photo { margin-bottom: 22px; }
.done .photo-ok { margin-bottom: 22px; }
.upnext { text-align: left; }

/* ---------- clients ---------- */
.visits .lab { margin-bottom: 1px; }
.visit + .visit { border-top: 1px solid #c6e1e5; margin-top: 12px; padding-top: 12px; }
.dl { font-size: 12.5px; color: #334; line-height: 1.8; margin-top: 2px; }
.dl div { display: flex; gap: 6px; }
.dl .k { flex: none; width: 18px; text-align: center; }
.dl a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.cnote { font-size: 12.5px; color: #334; line-height: 1.5; margin-top: 2px; overflow-wrap: anywhere; }
.wait { margin-top: 6px; line-height: 1.5; }

/* ---------- notes ---------- */
.note-title { font-size: 18px; font-weight: 800; color: var(--navy); margin-top: 0; }
.note-title::placeholder { font-weight: 700; }
.tools { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.tbtn {
  position: relative;
  width: 44px; height: 40px; border: 1.5px solid var(--field); border-radius: 9px;
  display: grid; place-items: center; font-size: 15px; color: var(--navy); background: #fff;
}
.tbtn::after { content: ""; position: absolute; inset: -2px 0; }
.tbtn[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.tbtn svg { width: 20px; height: 20px; }
.tbtn .serif { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 17px; }
.tbtn[disabled] { opacity: .5; }
.editor-wrap { position: relative; }
.editor {
  min-height: 300px; margin: 0 0 2px; padding: 12px;
  font-size: 16px; line-height: 1.55; color: #222;
  overflow-wrap: anywhere; -webkit-user-select: text; user-select: text;
}
.editor:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(31, 122, 140, .15); }
.editor h3 { font-size: 17px; font-weight: 800; color: var(--navy); margin: 2px 0; line-height: 1.35; }
.editor ul, .editor ol { padding-left: 22px; margin: 2px 0; }
.editor p { margin: 0; }
.ph { position: absolute; left: 14px; top: 13.5px; font-size: 16px; color: #9aa; pointer-events: none; }

/* ---------- money ---------- */
.bignum { font-size: 38px; font-weight: 800; color: var(--navy); line-height: 1.2; }
.money-card { text-align: center; }
.cost { display: block; }

/* ---------- from tommy ---------- */
.msgtext { font-size: 16px; line-height: 1.55; color: #333; white-space: pre-line; overflow-wrap: anywhere; }

/* ---------- bottom tabs ---------- */
.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  background: #fff; border-top: 1px solid var(--line);
  padding: 0 var(--safe-r) max(12px, var(--safe-b)) var(--safe-l);
}
.tabs-in { max-width: 560px; height: 62px; margin: 0 auto; display: flex; justify-content: space-around; align-items: center; }
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 64px; min-height: 50px; font-size: 11px; color: #889; }
.tab .ic { display: grid; place-items: center; height: 24px; margin-bottom: 2px; font-size: 20px; line-height: 1; }
.tab .ic svg { width: 22px; height: 22px; }
.tab .dollar { font-weight: 800; font-size: 21px; }
.tab[aria-current="page"] { color: var(--navy); font-weight: 700; }

/* ---------- toast, banner, sheet ---------- */
.toast {
  position: fixed; left: 16px; right: 16px; z-index: 40;
  bottom: calc(24px + var(--safe-b));
  max-width: 528px; margin: 0 auto;
  display: flex; gap: 10px; align-items: center;
  background: #15171a; color: #fff; border-radius: 14px; padding: 13px 15px;
  font-size: 13.5px; line-height: 1.35;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
  opacity: 0; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: none; }
body.has-tabs .toast { bottom: calc(90px + var(--safe-b)); }
.banner {
  position: sticky; top: 0; z-index: 30;
  background: #fff3df; color: #7a4a06; border-bottom: 1px solid #f1dcb5;
  font-size: 13px; font-weight: 600; line-height: 1.4; text-align: center;
  padding: calc(9px + var(--safe-t)) calc(18px + var(--safe-r)) 9px calc(18px + var(--safe-l));
}
.dim { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .35); }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 51;
  max-width: 560px; max-height: 88vh; overflow-y: auto; margin: 0 auto;
  background: #fff; border-radius: 22px 22px 0 0; box-shadow: 0 -10px 30px rgba(0, 0, 0, .18);
  padding: 16px calc(18px + var(--safe-r)) calc(26px + var(--safe-b)) calc(18px + var(--safe-l));
}
.grab { width: 40px; height: 5px; border-radius: 3px; background: #ccc; margin: 0 auto 12px; }
.sheet h2 { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 2px; }
.opt {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; min-height: 48px; padding: 13px 4px;
  border-bottom: 1px solid #eef1f3; font-size: 15px; text-align: left;
}
.opt[aria-checked="true"] { color: var(--navy); font-weight: 800; }
.opt .tick svg { width: 18px; height: 18px; color: var(--navy); }
.dates { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; margin-top: 12px; }

/* phone on its side: a shorter tab bar, so more of the screen is left for the page */
@media (max-height: 500px) and (orientation: landscape) {
  .tabs { padding-bottom: max(4px, var(--safe-b)); }
  .tabs-in { height: 48px; }
  .tab { flex-direction: row; gap: 7px; min-height: 44px; font-size: 13px; }
  .tab .ic { margin-bottom: 0; }
  body.has-tabs .scr { padding-bottom: calc(80px + var(--safe-b)); }
  body.has-tabs .toast { bottom: calc(64px + var(--safe-b)); }
  .gate { padding-top: calc(20px + var(--safe-t)); }
  .done { padding-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
