/* The client app on williamgomez.com: search, homes, saved homes, account. */
body.in-app { background: #f7f7f7; }
body.in-app .nav { position: sticky; top: 0; background: rgba(11, 10, 9, .96); backdrop-filter: blur(12px); }
#app-view { min-height: 70vh; }
.sa-wrap { max-width: 1180px; margin: 0 auto; padding: 34px 28px 80px; }
.sa-narrow { max-width: 640px; }
.sa-title { margin: 0 0 22px; font: 400 clamp(38px, 5vw, 56px)/1.05 var(--serif); }
.sa-note, .sa-hint { color: var(--muted); font-size: 14.5px; }
.btn-line-dark { border: 1px solid var(--line); color: var(--fg); background: #fff; }
.btn-line-dark:hover { border-color: var(--gold); }
.sa-link { border: 0; background: none; padding: 0; color: var(--gold); font: 700 14px var(--sans); cursor: pointer; }

/* search */
.sa-search { display: flex; flex-direction: column; height: calc(100vh - 84px); }
.sa-filters { display: flex; gap: 8px; flex-wrap: wrap; padding: 12px 20px; background: #fff; border-bottom: 1px solid var(--line); }
.sa-filters select, .sa-q { border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 600 13.5px var(--sans); color: var(--fg); padding: 10px 14px; }
.sa-q { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 220px; color: var(--muted); }
.sa-q input { flex: 1; border: 0; outline: none; font: 500 14.5px var(--sans); background: none; color: var(--fg); }
.sa-split { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(380px, 46%) 1fr; }
.sa-list { overflow-y: auto; padding: 16px 20px 40px; }
.sa-count { margin: 0 0 12px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.sa-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.sa-map { position: relative; background: #f2f2f2; }
.sa-map .sa-note { padding: 30px; }
.sa-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.sa-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(35, 31, 32, .1); }
.sa-photo { position: relative; aspect-ratio: 16 / 10; display: flex; align-items: flex-end; padding: 12px 14px;
  background: radial-gradient(circle at 80% 10%, #20414b 0%, #231f20 65%); color: #bfe7f1; font: 400 20px var(--serif); }
.sa-photo::before { content: ""; position: absolute; left: 50%; top: 42%; width: 46px; height: 34px; transform: translate(-50%, -50%); opacity: .35;
  background: linear-gradient(135deg, transparent 50%, #4bb9d4 50%) left top / 50% 45% no-repeat, linear-gradient(225deg, transparent 50%, #4bb9d4 50%) right top / 50% 45% no-repeat, linear-gradient(#4bb9d4, #4bb9d4) center bottom / 70% 55% no-repeat; }
.sa-photo.small { aspect-ratio: auto; width: 150px; min-height: 110px; border-radius: 14px; font-size: 16px; }
.sa-heart { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: #a19c9d; font-size: 17px; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .2); }
.sa-heart.on { color: #c4433a; }
.sa-info { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 2px; }
.sa-info b { font: 400 26px var(--serif); }
.sa-info span { font-size: 13.5px; font-weight: 600; }
.sa-info small { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sa-empty { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 34px 28px; text-align: center; grid-column: 1 / -1; }
.sa-empty h3 { margin: 0 0 8px; font: 400 32px var(--serif); }
.sa-empty p { color: var(--muted); max-width: 520px; margin: 0 auto 18px; }

/* one home */
.sa-back { display: inline-block; margin-bottom: 14px; color: var(--muted); font-weight: 700; font-size: 14px; text-decoration: none; }
.sa-hero-photo { position: relative; aspect-ratio: 21 / 9; border-radius: 24px; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px 30px; color: #bfe7f1; font: 400 34px var(--serif); background: radial-gradient(circle at 80% 0%, #20414b 0%, #231f20 65%); }
.sa-hero-photo small { font: 600 12px var(--sans); color: rgba(244, 240, 232, .5); margin-top: 6px; }
.sa-home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; margin-top: 26px; align-items: start; }
.sa-price { margin: 0; font: 400 52px/1 var(--serif); }
.sa-facts { margin: 8px 0 4px; font-size: 16px; font-weight: 700; }
.sa-addr { margin: 0 0 10px; font: 600 18px var(--sans); color: var(--muted); }
.sa-est { font-size: 14.5px; color: var(--muted); }
.sa-dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px 20px; margin: 22px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sa-dl dt { font: 700 10.5px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sa-dl dd { margin: 3px 0 0; font-weight: 700; }
.sa-home h3 { font: 400 26px var(--serif); margin: 22px 0 8px; }
.sa-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sa-table td { padding: 10px 0; border-top: 1px solid var(--line); }
.sa-table td:last-child { text-align: right; font-weight: 700; }
.sa-courtesy { font-size: 12px; color: var(--muted); }
.sa-flag { background: #fff6e6; border: 1px solid #cdeaf2; padding: 10px 14px; border-radius: 12px; font-size: 14px; }
.sa-side { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 14px; }
.sa-save { width: 100%; }
.sa-note-box { display: flex; flex-direction: column; gap: 6px; font: 700 11px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sa-note-box textarea, .sa-showing textarea, .sa-showing select, .sa-form input, .sa-form select, .sa-saved textarea { font: 500 15px var(--sans); color: var(--fg); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; outline: none; letter-spacing: 0; text-transform: none; width: 100%; }
.sa-note-box textarea:focus, .sa-saved textarea:focus, .sa-form input:focus { border-color: var(--gold); }
.sa-note-box small { font: 500 12px var(--sans); letter-spacing: 0; text-transform: none; }
.sa-showing { background: var(--ivory); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.sa-showing h3 { margin: 0; }

/* saved homes */
.sa-saved { display: flex; flex-direction: column; gap: 12px; }
.sa-saved-item { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 18px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 14px; }
.sa-saved-main { display: flex; flex-direction: column; gap: 2px; }
.sa-saved-main b { font: 400 26px var(--serif); }
.sa-saved-main a { color: var(--muted); font-size: 13.5px; }
.sa-saved-main textarea { margin-top: 8px; }
.sa-saved-main small { color: var(--muted); font-size: 12px; min-height: 1em; }
.sa-saved-actions { display: flex; flex-direction: column; gap: 8px; }
.sa-saved-actions .btn { padding: 11px 18px; }

/* forms and the sign-in window */
.sa-form { display: flex; flex-direction: column; gap: 12px; }
.sa-form label { display: flex; flex-direction: column; gap: 6px; font: 700 11px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sa-form h3 { margin: 12px 0 0; font: 400 26px var(--serif); }
.sa-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sa-check { flex-direction: row !important; align-items: flex-start; gap: 10px !important; font: 500 13px var(--sans) !important; letter-spacing: 0 !important; text-transform: none !important; }
.sa-check input { width: auto !important; margin-top: 3px; accent-color: #2f97b1; }
.sa-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.sa-scrim { position: absolute; inset: 0; background: rgba(11, 10, 9, .55); backdrop-filter: blur(4px); }
.sa-dialog { position: relative; width: min(440px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 26px; padding: 30px 28px; box-shadow: 0 40px 100px rgba(0, 0, 0, .35); animation: pop .2s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.sa-dialog h2 { margin: 0 0 8px; font: 400 38px/1.05 var(--serif); }
.sa-dialog .btn { width: 100%; margin-top: 4px; }
.sa-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--ivory); cursor: pointer; }
.sa-err { margin: 0; color: #b8432f; font-size: 13.5px; min-height: 1em; }
.sa-switch { text-align: center; font-size: 14px; color: var(--muted); margin: 16px 0 0; }
.sa-fine { font-size: 11.5px; color: var(--muted); text-align: center; margin: 10px 0 0; }
#sa-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; z-index: 110; background: #231f20; color: #f7f7f7; padding: 12px 18px; border-radius: 14px; font: 600 14px var(--sans); transition: .25s; pointer-events: none; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
#sa-toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .sa-search { height: auto; }
  .sa-split { grid-template-columns: 1fr; }
  .sa-map { height: 46vh; order: -1; }
  .sa-list { overflow: visible; }
  .sa-home-grid { grid-template-columns: 1fr; }
  .sa-side { position: static; }
  .sa-hero-photo { aspect-ratio: 16 / 10; }
  .sa-saved-item { grid-template-columns: 1fr; }
  .sa-photo.small { width: 100%; }
  .sa-saved-actions { flex-direction: row; }
  .sa-wrap { padding: 22px 18px 70px; }
  .sa-price { font-size: 42px; }
}
.sa-hero-photo:not(.has-photo) { aspect-ratio: auto; min-height: 220px; max-height: 280px; }

/* showing tours */
.sa-tour-list { display: flex; flex-direction: column; gap: 12px; }
.sa-tour-card { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 14px 18px; color: var(--fg); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.sa-tour-card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(35, 31, 32, .08); }
.sa-tour-card.past { opacity: .62; }
.sa-tour-date { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 64px; border-radius: 16px; background: #231f20; color: #4bb9d4; font: 700 11px var(--sans); text-transform: uppercase; letter-spacing: .12em; }
.sa-tour-date b { font: 400 28px/1 var(--serif); color: #f7f7f7; letter-spacing: 0; }
.sa-tour-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sa-tour-main b { font: 400 24px var(--serif); }
.sa-tour-main small { color: var(--muted); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sa-tour-go { font-weight: 700; color: var(--gold); font-size: 14px; }
.sa-tour-sum { margin: -12px 0 14px; font-weight: 700; color: var(--muted); }
.sa-tour-msg { background: var(--ivory); border-radius: 18px; padding: 16px 18px; margin: 0 0 20px; font-size: 15.5px; line-height: 1.5; }
.sa-tour-msg small { font: 700 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sa-tour-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.sa-tour-map { position: sticky; top: 104px; height: min(70vh, 620px); border-radius: 22px; overflow: hidden; background: #f2f2f2; border: 1px solid var(--line); }
.sa-tline { list-style: none; margin: 0 0 18px; padding: 0; position: relative; }
.sa-tline::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: repeating-linear-gradient(#d8cfbf 0 6px, transparent 6px 11px); }
.sa-tp { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding: 6px 0; }
.sa-tp > div { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.sa-tp.end > div { background: none; border: 0; padding: 6px 0; }
.sa-tp small { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.sa-tp b { font: 400 22px/1.2 var(--serif); }
.sa-tp span:not(.sa-tp-dot) { color: var(--muted); font-size: 13.5px; }
.sa-tp-dot { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #231f20; color: #bfe7f1; font: 700 14px var(--sans); border: 3px solid #f7f7f7; }
.sa-tp.end .sa-tp-dot { background: #4bb9d4; color: #231f20; }
.sa-leg { padding: 2px 0 2px 50px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.sa-st { font-style: normal; padding: 2px 8px; border-radius: 999px; background: #efefef; }
.sa-st.confirmed { background: #e3f3e8; color: #23704a; }
.sa-st.requested { background: #fff2dc; color: #8a5a12; }
.sa-tdl { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px 14px; margin: 8px 0 4px; }
.sa-tdl dt { font: 700 10px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sa-tdl dd { margin: 2px 0 0; font-weight: 700; font-size: 14px; }
.sa-tnote { margin: 6px 0 0; padding: 10px 12px; background: var(--ivory); border-radius: 12px; font-size: 14px; }
.sa-tacts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.sa-tacts .btn { padding: 9px 14px; font-size: 13px; }
.sa-react { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.sa-react button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 12px; font: 700 12.5px var(--sans); color: var(--fg); cursor: pointer; }
.sa-react button.on { background: #231f20; border-color: #231f20; color: #f7f7f7; }
.sa-react button[data-r="love"].on { background: #c4433a; border-color: #c4433a; }
.sa-react-note { margin-top: 6px; font: 500 14px var(--sans); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; width: 100%; resize: vertical; }
.sa-pin { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #231f20; color: #bfe7f1; font: 700 13px var(--sans); border: 3px solid #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .3); }
.sa-pin.end { background: #4bb9d4; color: #231f20; }
@media (max-width: 900px) {
  .sa-tour-grid { grid-template-columns: 1fr; }
  .sa-tour-map { position: relative; top: 0; height: 52vh; }
  .sa-tour-card { grid-template-columns: 56px minmax(0, 1fr); }
  .sa-tour-go { display: none; }
}

/* My move: the client portal */
.pt-wrap { max-width: 1180px; }
.pt-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.pt-head .sa-title { margin-bottom: 4px; }
.pt-count { display: flex; flex-direction: column; align-items: center; padding: 16px 26px; border-radius: 22px; background: #231f20; color: #f7f7f7; box-shadow: 0 20px 50px rgba(11, 10, 9, .25); }
.pt-count b { font: 400 54px/1 var(--serif); background: linear-gradient(135deg, #dff3f8, #4bb9d4 50%, #2f97b1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pt-count span { font: 700 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #4bb9d4; }
.pt-count small { font-size: 12.5px; color: rgba(244, 240, 232, .6); margin-top: 2px; }
.pt-note { background: linear-gradient(135deg, #fff8e8, #eef8fb); border: 1px solid #cdeaf2; border-radius: 20px; padding: 16px 20px; margin-bottom: 18px; }
.pt-note span { font: 800 10.5px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #1d7a93; }
.pt-note p { margin: 6px 0 0; font: 400 21px/1.4 var(--serif); }
.pt-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 20px; align-items: start; }
.pt-main, .pt-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pt-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.pt-card h2 { margin: 0 0 4px; font: 400 28px var(--serif); }
.pt-steps { list-style: none; margin: 16px 0 0; padding: 0; position: relative; }
.pt-steps::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: #e8e8e8; }
.pt-step { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding: 6px 0; }
.pt-dot { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 800 13px var(--sans); background: #efefef; color: #a19c9d; border: 3px solid #fff; }
.pt-step.done .pt-dot { background: #23704a; color: #fff; }
.pt-step.current .pt-dot { background: #231f20; color: #bfe7f1; box-shadow: 0 0 0 6px rgba(75, 185, 212, .35); animation: pt-pulse 2s ease-in-out infinite; }
@keyframes pt-pulse { 50% { box-shadow: 0 0 0 10px rgba(75, 185, 212, .12); } }
.pt-step-head { all: unset; cursor: pointer; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 6px; }
.pt-step-head b { font: 600 16px var(--sans); }
.pt-step.upcoming .pt-step-head b { color: var(--muted); font-weight: 500; }
.pt-step.done .pt-step-head b { color: var(--muted); }
.pt-step-head em { font-style: normal; font: 700 12px var(--sans); color: #1d7a93; background: #faf3e3; padding: 2px 8px; border-radius: 999px; }
.pt-step-head i { font-style: normal; font: 800 10.5px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #fff; background: #231f20; padding: 3px 9px; border-radius: 999px; }
.pt-step p { margin: 6px 0 4px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.pt-check { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; }
.pt-check li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.pt-tick { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #d8cfbf; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff; }
.pt-check li.done .pt-tick { background: #23704a; border-color: #23704a; }
.pt-check li.asked .pt-tick { border-color: #c98b2b; }
.pt-check b { font: 600 14.5px var(--sans); color: var(--fg); }
.pt-check a { display: block; color: var(--gold); font-size: 13px; }
.pt-asked { display: block; color: #9a5a12; font-size: 12.5px; font-weight: 600; }
.pt-up { cursor: pointer; padding: 9px 14px; font-size: 13px; }
.pt-other { display: flex; gap: 8px; margin-top: 12px; }
.pt-other input { flex: 1; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font: 500 14px var(--sans); }
.pt-person { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.pt-person.small { border-top: 1px solid var(--line); }
.pt-wm { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #231f20; color: #bfe7f1; font: 400 18px var(--serif); }
.pt-person.small .pt-wm { width: 34px; height: 34px; font-size: 15px; background: #efefef; color: #6f6a6b; }
.pt-person b { display: block; font-weight: 700; }
.pt-person small { color: var(--muted); font-size: 12.5px; }
.pt-acts { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 10px; }
.pt-acts .btn { padding: 10px 16px; font-size: 13.5px; }
.pt-next { list-style: none; margin: 10px 0; padding: 0; }
.pt-next li { display: flex; flex-direction: column; padding: 8px 0; border-top: 1px solid var(--line); }
.pt-next b { font-size: 13px; color: #1d7a93; }
.pt-next small { color: var(--muted); }
.pt-thread { max-height: 340px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
.pt-msg { max-width: 86%; padding: 10px 13px; border-radius: 16px 16px 16px 4px; background: #efefef; align-self: flex-start; }
.pt-msg.client { align-self: flex-end; background: #231f20; color: #f7f7f7; border-radius: 16px 16px 4px 16px; }
.pt-msg p { margin: 0; white-space: pre-wrap; font-size: 14.5px; }
.pt-msg time { display: block; margin-top: 4px; font-size: 11px; opacity: .6; }
.pt-send { display: flex; gap: 8px; align-items: flex-end; }
.pt-send textarea { flex: 1; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; font: 500 14.5px var(--sans); resize: vertical; }
.pt-tools { display: flex; flex-direction: column; }
.pt-tools a { padding: 9px 0; border-top: 1px solid var(--line); color: var(--fg); font-weight: 600; text-decoration: none; }
.pt-tools a:hover { color: var(--gold); }
.pt-goal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pt-goal { cursor: pointer; }
.pt-goal input { position: absolute; opacity: 0; }
.pt-goal span { display: flex; flex-direction: column; gap: 2px; padding: 16px; border-radius: 18px; border: 2px solid var(--line); background: #fff; transition: .15s; text-transform: none; letter-spacing: 0; }
.pt-goal span b { font: 400 22px var(--serif); color: var(--fg); }
.pt-goal span small { font: 500 13px var(--sans); color: var(--muted); }
.pt-goal input:checked + span { border-color: #2f97b1; background: #fbf5e8; box-shadow: 0 10px 26px rgba(47, 151, 177, .18); }
.pt-goal input:focus-visible + span { outline: 2px solid #2f97b1; }
.pt-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.pt-tabs a { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--fg); font: 700 13.5px var(--sans); background: #fff; }
.pt-tabs a.on { background: #231f20; color: #f7f7f7; border-color: #231f20; }
.pt-result { margin: 18px 0 8px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 8px 20px; }
.pt-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.pt-row:first-child { border-top: 0; }
.pt-row b { white-space: nowrap; }
.pt-row.strong { font-size: 17px; border-top: 2px solid #231f20; }
.pt-row.strong b { font: 400 28px var(--serif); }
.pt-calc small.sa-hint { font: 500 12px var(--sans); letter-spacing: 0; text-transform: none; }
@media (max-width: 900px) {
  .pt-grid { grid-template-columns: 1fr; }
  .pt-goal-grid { grid-template-columns: 1fr; }
  .pt-check li { grid-template-columns: 26px minmax(0, 1fr); }
  .pt-check li .pt-up { grid-column: 2; justify-self: start; }
}
.pt-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 14px 0; }
.pt-stats div { background: #faf6ee; border-radius: 14px; padding: 12px; display: flex; flex-direction: column; }
.pt-stats b { font: 400 26px var(--serif); }
.pt-stats span { font: 700 10.5px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pt-sub { margin: 16px 0 6px; font: 700 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pt-sub small { text-transform: none; letter-spacing: 0; font-weight: 600; color: #1d7a93; }
.pt-fb, .pt-apps, .pt-alerts, .pt-searches { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.pt-fb li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.pt-stars { color: #2f97b1; letter-spacing: 1px; }
.pt-fb p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.pt-offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.pt-offer { border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.pt-offer b { font: 400 26px var(--serif); }
.pt-offer span { font-weight: 700; font-size: 13px; }
.pt-offer small { color: var(--muted); font-size: 12.5px; }
.pt-offer i { font-style: normal; font: 800 10.5px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.pt-offer.accepted { border-color: #23704a; background: #f1faf4; }
.pt-offer.accepted i { color: #23704a; }
.pt-apps li, .pt-searches li { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); }
.pt-apps li div, .pt-searches li div { display: flex; flex-direction: column; min-width: 0; }
.pt-apps small, .pt-searches small { color: var(--muted); font-size: 12.5px; }
.pt-apps p { margin: 4px 0 0; font-size: 13.5px; }
.pt-status { font-style: normal; white-space: nowrap; font: 800 11px var(--sans); padding: 5px 10px; border-radius: 999px; background: #efefef; color: #6f6a6b; }
.pt-status.s-approved { background: #e3f3e8; color: #23704a; }
.pt-status.s-sent { background: #e8eefc; color: #3b5bb5; }
.pt-status.s-not { background: #fbe9e6; color: #a5402f; }
.pt-alerts a { display: flex; flex-direction: column; padding: 10px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--fg); }
.pt-alerts b { font: 400 22px var(--serif); }
.pt-alerts small { color: #1d7a93; font-size: 12px; }
.pt-searches .sa-check { white-space: nowrap; }
.pt-card .btn { margin-top: 12px; }
.pt-apply-dialog { width: min(640px, 100%); }
.sa-savesearch { padding: 9px 16px; font-size: 13px; }
@media (max-width: 700px) { .pt-stats { grid-template-columns: 1fr 1fr; } .pt-fb li { grid-template-columns: 1fr; } .pt-searches li { flex-wrap: wrap; } }
