/* GU Rep Prospector. Brand: navy #00437C, green #55BA47. Mobile first. */
:root {
  --navy: #00437C;
  --navy-d: #002f58;
  --green: #55BA47;
  --green-d: #3f9a33;
  --ink: #14212e;
  --muted: #5d6b79;
  --line: #e3e8ee;
  --bg: #f3f6f9;
  --card: #fff;
  --bad: #c23a2b;
  --warn: #b7791f;
  --radius: 14px;
}
* { box-sizing: border-box; }
html, body.gurp { margin: 0; padding: 0; }
body.gurp {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.45;
  -webkit-font-smoothing: antialiased; min-height: 100vh;
}
.gurp a { color: var(--navy); }
.gurp-muted { color: var(--muted); }
.gurp-small { font-size: 13.5px; }
.gurp-link { font-weight: 600; text-decoration: none; }
.gurp-link:hover { text-decoration: underline; }

/* brand */
.gurp-brand { display: flex; align-items: center; gap: 12px; }
.gurp-brand-sm { cursor: pointer; }
.gurp-mark {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 11px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy) 55%, var(--green) 55%, var(--green) 100%);
  color: #fff; font-weight: 800; letter-spacing: .5px; font-size: 15px; flex: none;
}
.gurp-brand-name { font-weight: 800; font-size: 17px; line-height: 1.1; }
.gurp-brand-sub { font-size: 12.5px; opacity: .8; }

/* top bar */
.gurp-top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 16px; padding-top: calc(12px + env(safe-area-inset-top));
  background: var(--navy); color: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.12);
}
.gurp-top .gurp-mark { background: #fff; color: var(--navy); }
.gurp-top-right { display: flex; align-items: center; gap: 12px; }
.gurp-signout { color: #fff !important; opacity: .85; font-size: 14px; white-space: nowrap; }
.gurp-pill { font-size: 12.5px; font-weight: 700; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.14); white-space: nowrap; }
.gurp-pill-warn { background: #f6c443; color: #3a2a00; }
.gurp-pill-bad { background: #ff7a6b; color: #3a0b05; }

/* layout */
.gurp-main { max-width: 760px; margin: 0 auto; padding: 18px 14px 60px; }
.gurp-hero { padding: 18px 2px 8px; }
.gurp-hero h1 { font-size: 26px; line-height: 1.15; margin: 0 0 6px; letter-spacing: -.3px; }
.gurp-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 14px; box-shadow: 0 1px 2px rgba(16,33,48,.04); }
.gurp-section-title { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .7px; color: var(--muted); margin: 22px 2px 10px; }
.gurp-section-title-in { margin: 0 0 10px; }
.gurp-empty { color: var(--muted); padding: 14px 4px; }
.gurp-h1 { font-size: 23px; line-height: 1.2; margin: 0 0 2px; }
.gurp-h2 { font-size: 18px; font-weight: 700; }

/* search */
.gurp-search { display: flex; gap: 8px; margin-top: 14px; }
.gurp-input {
  flex: 1; min-width: 0; font-size: 17px; padding: 14px 16px; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
  -webkit-appearance: none; appearance: none;
}
.gurp-input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(0,67,124,.12); }

/* buttons */
.gurp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 700; font-size: 15px;
  padding: 11px 16px; border-radius: 11px; border: 2px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .06s ease, background .15s ease;
}
.gurp-btn:active { transform: scale(.97); }
.gurp-btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.gurp-btn-primary { background: var(--navy); color: #fff !important; }
.gurp-btn-primary:hover:not([disabled]) { background: var(--navy-d); }
.gurp-btn-accent { background: var(--green); color: #fff !important; }
.gurp-btn-accent:hover:not([disabled]) { background: var(--green-d); }
.gurp-btn-ghost { background: #fff; color: var(--navy) !important; border-color: var(--line); }
.gurp-btn-ghost:hover { border-color: var(--navy); }
.gurp-btn-done { background: #e9f6e7; color: var(--green-d) !important; border-color: #cfeac9; }
.gurp-search .gurp-btn { padding: 0 20px; }
.gurp-back { background: none; border: 0; color: var(--navy); font-weight: 700; font-size: 15px; padding: 4px 2px 12px; cursor: pointer; }
.gurp-more { width: 100%; margin-top: 10px; }

/* results */
.gurp-results { display: grid; gap: 10px; }
.gurp-result { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; cursor: pointer; font: inherit; color: inherit; margin: 0; }
.gurp-result:hover { border-color: var(--navy); }
.gurp-result-body { flex: 1; min-width: 0; }
.gurp-result-name { font-weight: 700; font-size: 16.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gurp-chev { font-size: 26px; color: var(--muted); }

/* logos */
.gurp-logo { position: relative; flex: none; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(135deg, var(--navy), #0b5ea8); color: #fff; font-weight: 800; overflow: hidden; }
.gurp-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 4px; }
.gurp-logo.has-img { border: 1px solid var(--line); }
.gurp-logo-md { width: 48px; height: 48px; font-size: 16px; }
.gurp-logo-lg { width: 68px; height: 68px; font-size: 22px; border-radius: 16px; }

/* company */
.gurp-company-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.gurp-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.gurp-actions .gurp-btn { flex: 1 1 auto; padding: 10px 12px; font-size: 14.5px; }
.gurp-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 14px; }
.gurp-stat { background: var(--bg); border-radius: 11px; padding: 10px 12px; }
.gurp-stat-k { font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.gurp-stat-v { font-weight: 700; font-size: 15.5px; text-transform: capitalize; }
.gurp-desc { margin: 14px 0 0; color: #33414f; }

.gurp-status { border-radius: 12px; padding: 12px 14px; border-left: 5px solid; }
.gurp-status-label { font-weight: 800; font-size: 16px; }
.gurp-status-good { background: #edf8eb; border-color: var(--green); }
.gurp-status-good .gurp-status-label { color: var(--green-d); }
.gurp-status-mine { background: #e8f0f8; border-color: var(--navy); }
.gurp-status-mine .gurp-status-label { color: var(--navy); }
.gurp-status-bad { background: #fdeeec; border-color: var(--bad); }
.gurp-status-bad .gurp-status-label { color: var(--bad); }
.gurp-status-warn { background: #fdf5e6; border-color: var(--warn); }

.gurp-fit { display: grid; gap: 10px; }
.gurp-fit-item { padding: 12px 14px; border-radius: 12px; background: linear-gradient(90deg, rgba(85,186,71,.12), rgba(85,186,71,.03)); border: 1px solid rgba(85,186,71,.3); }
.gurp-fit-service { font-weight: 800; color: var(--green-d); margin-bottom: 2px; }

.gurp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.gurp-chip { font-size: 13px; padding: 5px 10px; border-radius: 999px; background: #e8f0f8; color: var(--navy); font-weight: 600; text-transform: capitalize; }
.gurp-chip-soft { background: var(--bg); color: var(--muted); text-transform: none; }

/* people */
.gurp-people-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.gurp-people-head .gurp-section-title { margin: 0; }
.gurp-hint { margin: 2px 0 10px; }
.gurp-toggle { display: inline-flex; background: var(--bg); border-radius: 10px; padding: 3px; }
.gurp-toggle button { border: 0; background: none; font: inherit; font-weight: 700; font-size: 13.5px; padding: 7px 12px; border-radius: 8px; color: var(--muted); cursor: pointer; }
.gurp-toggle button.on { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.gurp-people { display: grid; }
.gurp-person { display: flex; align-items: center; gap: 12px; padding: 12px 2px; border-top: 1px solid var(--line); }
.gurp-person:first-child { border-top: 0; }
.gurp-person.is-unlocked { background: linear-gradient(90deg, rgba(85,186,71,.07), transparent 60%); }
.gurp-avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #e8f0f8; color: var(--navy); font-weight: 800; font-size: 14px; }
.gurp-person-body { flex: 1; min-width: 0; }
.gurp-person-name { font-weight: 700; }
.gurp-email { display: inline-block; font-weight: 700; color: var(--green-d) !important; word-break: break-all; margin-top: 2px; }
.gurp-tag { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; padding: 2px 6px; border-radius: 6px; background: var(--bg); color: var(--muted); margin-left: 6px; }
.gurp-person-actions .gurp-btn { padding: 9px 12px; font-size: 14px; }

/* alerts, toasts, loading */
.gurp-alert { border-radius: 12px; padding: 12px 14px; margin: 12px 0; font-weight: 600; }
.gurp-alert-bad { background: #fdeeec; color: var(--bad); }
.gurp-alert-warn { background: #fdf5e6; color: #7a4f0b; }
.gurp-toast {
  position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0;
  background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px; font-weight: 600; font-size: 14.5px;
  max-width: calc(100% - 28px); box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: all .25s ease; z-index: 50;
}
.gurp-toast.show { opacity: 1; transform: translate(-50%, 0); }
.gurp-toast-good { background: var(--green-d); }
.gurp-toast-bad { background: var(--bad); }
.gurp-loading { display: flex; align-items: center; gap: 14px; }
.gurp-loading > div:nth-child(2) { flex: 1; }
.gurp-spinner { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--green); animation: gurp-spin .8s linear infinite; }
@keyframes gurp-spin { to { transform: rotate(360deg); } }

/* login */
body.gurp.gurp-login-page { background: radial-gradient(circle at 20% 0%, #0b5ea8 0%, var(--navy) 45%, var(--navy-d) 100%); }
.gurp-login { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 16px; }
.gurp-login-card { width: 100%; max-width: 400px; background: #fff; border-radius: 20px; padding: 28px 24px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.gurp-login-card h1 { font-size: 24px; margin: 22px 0 4px; }
.gurp-login-card form p { margin: 0 0 14px; }
.gurp-login-card label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.gurp-login-card input[type=text], .gurp-login-card input[type=password] {
  width: 100%; font-size: 17px; padding: 13px 14px; border: 2px solid var(--line); border-radius: 12px;
}
.gurp-login-card input[type=text]:focus, .gurp-login-card input[type=password]:focus { outline: none; border-color: var(--navy); }
.gurp-login-card .login-remember label { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; }
.gurp-login-card input[type=submit] {
  width: 100%; font: inherit; font-weight: 800; font-size: 16px; padding: 14px; border: 0; border-radius: 12px; background: var(--green); color: #fff; cursor: pointer;
}
.gurp-login-card input[type=submit]:hover { background: var(--green-d); }
.gurp-foot { color: rgba(255,255,255,.75); font-weight: 600; margin-top: 18px; font-size: 14px; }

@media (min-width: 640px) {
  .gurp-hero h1 { font-size: 32px; }
  .gurp-stats { grid-template-columns: repeat(4, 1fr); }
  .gurp-main { padding-top: 26px; }
}
@media (max-width: 420px) {
  .gurp-pill { font-size: 11.5px; padding: 5px 8px; }
  .gurp-signout { font-size: 12.5px; }
  .gurp-top .gurp-brand-sub { display: none; }
  .gurp-person { flex-wrap: wrap; }
  .gurp-person-actions { width: 100%; padding-left: 54px; }
  .gurp-person-actions .gurp-btn { width: 100%; }
}
.gurp-email-masked { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 700; letter-spacing: 2px; color: #9aa6b2; margin-top: 2px; }

/* team page */
.gurp-top-btn { background: rgba(255,255,255,.14); color: #fff; border: 0; font: inherit; font-weight: 700; font-size: 13.5px; padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.gurp-top-btn.on, .gurp-top-btn:hover { background: #fff; color: var(--navy); }
.gurp-hero-tight { padding-top: 0; }
.gurp-team { display: grid; gap: 0; }
.gurp-member.is-off { opacity: .7; }
.gurp-member-head { display: flex; align-items: flex-start; gap: 12px; }
.gurp-member-body { flex: 1; min-width: 0; }
.gurp-member-body .gurp-small { overflow-wrap: anywhere; }
.gurp-badge { display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; padding: 2px 7px; border-radius: 6px; margin-left: 4px; vertical-align: 2px; }
.gurp-badge-navy { background: #e8f0f8; color: var(--navy); }
.gurp-badge-bad { background: #fdeeec; color: var(--bad); }
.gurp-badge-warn { background: #fdf5e6; color: #7a4f0b; }
.gurp-meter { height: 8px; background: var(--bg); border-radius: 99px; overflow: hidden; margin: 12px 0 4px; }
.gurp-meter-bar { height: 100%; background: var(--green); border-radius: 99px; }
.gurp-meter-bar.warn { background: #e0a526; }
.gurp-meter-bar.full { background: var(--bad); }
.gurp-btn-sm { padding: 7px 12px; font-size: 13.5px; }
.gurp-btn-block { width: 100%; }
.gurp-add { margin-bottom: 14px; border-style: dashed; }
.gurp-edit { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; display: grid; gap: 12px; }
.gurp-field { display: grid; gap: 5px; margin-bottom: 10px; }
.gurp-edit .gurp-field { margin-bottom: 0; }
.gurp-field-label { font-weight: 700; font-size: 14px; }
.gurp-select { font-size: 16px; padding: 11px 12px; }
.gurp-input-sm { max-width: 160px; font-size: 16px; padding: 11px 12px; }
.gurp-row { display: flex; gap: 8px; align-items: center; }
.gurp-row .gurp-input { flex: 1; min-width: 0; }
.gurp-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gurp-switch-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; font-size: 14.5px; }
.gurp-switch { position: relative; flex: none; width: 50px; height: 30px; }
.gurp-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 2; }
.gurp-switch input[disabled] { cursor: not-allowed; }
.gurp-switch-ui { position: absolute; inset: 0; background: #cfd7df; border-radius: 99px; transition: background .15s; }
.gurp-switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .15s; }
.gurp-switch input:checked + .gurp-switch-ui { background: var(--green); }
.gurp-switch input:checked + .gurp-switch-ui::after { transform: translateX(20px); }
.gurp-switch input[disabled] + .gurp-switch-ui { opacity: .5; }
.gurp-setup { border: 2px solid var(--green); background: #f4fbf3; }
.gurp-setup p { margin: 6px 0 12px; }
.gurp-activity-row { padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.gurp-activity-row:first-child { border-top: 0; }
@media (max-width: 460px) {
  .gurp-top .gurp-brand > div { display: none; }
  .gurp-top { padding-left: 12px; padding-right: 12px; }
  .gurp-top-right { gap: 8px; }
}

/* ---------- responsive layout: phone first, then tablet and desktop ---------- */
.gurp-top-name { display: none; font-weight: 600; font-size: 14px; opacity: .9; white-space: nowrap; }
.gurp-cols { display: block; }
.gurp-btn:focus-visible, .gurp-input:focus-visible, .gurp-result:focus-visible, .gurp-back:focus-visible, .gurp-toggle button:focus-visible, .gurp-top-btn:focus-visible { outline: 3px solid rgba(85,186,71,.6); outline-offset: 2px; }

/* tablet */
@media (min-width: 760px) {
  .gurp-top { padding-left: 24px; padding-right: 24px; }
  .gurp-main { padding-left: 24px; padding-right: 24px; }
  .gurp-main-search { max-width: 880px; }
  .gurp-main-search .gurp-results { grid-template-columns: 1fr 1fr; }
  .gurp-main-wide { max-width: 1240px; }
  .gurp-team { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .gurp-team .gurp-member { margin-bottom: 0; }
  .gurp-person-actions .gurp-btn { min-width: 170px; }
}

/* desktop */
@media (min-width: 1024px) {
  .gurp-top-name { display: inline; }
  .gurp-top { padding-left: max(24px, calc((100vw - 1240px) / 2 + 24px)); padding-right: max(24px, calc((100vw - 1240px) / 2 + 24px)); }
  .gurp-main-search .gurp-hero { text-align: center; padding-top: 56px; padding-bottom: 18px; }
  .gurp-main-search .gurp-hero h1 { font-size: 40px; }
  .gurp-main-search .gurp-search { max-width: 640px; margin: 22px auto 0; }
  .gurp-main-search .gurp-input { font-size: 18px; padding: 16px 18px; }
  .gurp-main-search .gurp-search .gurp-btn { padding: 0 28px; font-size: 16px; }

  /* company page: info left, people right */
  .gurp-cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: start; }
  .gurp-col-people > .gurp-card { position: sticky; top: 84px; max-height: calc(100vh - 100px); display: flex; flex-direction: column; }
  .gurp-col-people .gurp-people { overflow-y: auto; margin: 0 -16px; padding: 0 16px; }
  .gurp-company-head .gurp-h1 { font-size: 26px; }
  .gurp-stats { grid-template-columns: repeat(2, 1fr); }

  /* people rows: one line on desktop */
  .gurp-person { padding: 12px 6px; border-radius: 10px; }
  .gurp-person:hover { background: #f7f9fb; }
  .gurp-person.is-unlocked:hover { background: linear-gradient(90deg, rgba(85,186,71,.1), #f7f9fb 60%); }

  /* team page: reps left, add and settings right */
  .gurp-cols-team { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
  .gurp-cols-team .gurp-section-title:first-child { margin-top: 0; }
  .gurp-col-side { position: sticky; top: 84px; }
  .gurp-col-side .gurp-add { margin-top: 0; }
}

@media (min-width: 1280px) {
  .gurp-main-search .gurp-results { grid-template-columns: 1fr 1fr 1fr; }
  .gurp-main-search { max-width: 1100px; }
}
.gurp-ver { color: rgba(255,255,255,.45); font-size: 12px; margin-top: 6px; }
.gurp-btn-danger { background: #fff; color: var(--bad) !important; border-color: #f1c7c1; }
.gurp-btn-danger:hover:not([disabled]) { background: #fdeeec; border-color: var(--bad); }
.gurp-removed-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.gurp-removed-row:first-child { border-top: 0; }

/* city search + address */
.gurp-search { flex-wrap: wrap; }
.gurp-search #gurp-q { flex: 1 1 100%; }
.gurp-search .gurp-input-city { flex: 1 1 0; }
.gurp-search .gurp-btn { min-height: 52px; }
.gurp-result-city { color: var(--ink); font-weight: 600; }
.gurp-ellip { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gurp-address { margin-top: 12px; background: var(--bg); border-radius: 11px; padding: 10px 12px; }
.gurp-address-text { font-weight: 700; font-size: 15.5px; }
@media (min-width: 760px) {
  .gurp-search { flex-wrap: nowrap; }
  .gurp-search #gurp-q { flex: 3 1 0; }
  .gurp-search .gurp-input-city { flex: 2 1 0; }
}
@media (min-width: 1024px) {
  .gurp-main-search .gurp-search { max-width: 820px; }
}

/* company research */
.gurp-sub { font-weight: 800; font-size: 13.5px; margin: 14px 0 6px; }
.gurp-desc-top { margin-top: 0; }
.gurp-list { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; }
.gurp-sources { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.gurp-source { font-size: 12.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--bg); text-decoration: none; }
.gurp-source:hover { text-decoration: underline; }
.gurp-research-foot { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.gurp-linkbtn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--navy); cursor: pointer; text-decoration: underline; }
.gurp-phone { display: inline-block; margin-top: 4px; }
.gurp-card > .gurp-loading { gap: 14px; }

/* people role search */
.gurp-role-search { display: flex; gap: 8px; margin: 8px 0; }
.gurp-role-search .gurp-input-role { flex: 1; min-width: 0; font-size: 16px; padding: 10px 12px; }
.gurp-role-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.gurp-chip-btn { border: 0; cursor: pointer; font-family: inherit; }
.gurp-chip-btn:hover { background: #d7e5f3; }
.gurp-chip-btn.on { background: var(--navy); color: #fff; }
@media (min-width: 1024px) {
  .gurp-col-people > .gurp-card > :not(.gurp-people) { flex: none; }
}

/* search modes, person search, prompt box */
.gurp-modes { margin: 8px 0 4px; }
.gurp-modes button { padding: 8px 16px; font-size: 14.5px; }
.gurp-search-person #gurp-pn { flex: 1 1 100%; }
@media (min-width: 760px) { .gurp-search-person #gurp-pn { flex: 3 1 0; } }
.gurp-card-people { padding-top: 6px; padding-bottom: 6px; }
.gurp-person-co { margin-top: 1px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.gurp-ask-form { display: flex; gap: 8px; align-items: flex-end; margin: 8px 0; }
.gurp-ask-input { flex: 1; min-width: 0; font-size: 16px; padding: 11px 12px; resize: vertical; font-family: inherit; line-height: 1.35; }
.gurp-thread { display: grid; gap: 10px; max-height: 60vh; overflow-y: auto; padding: 4px 2px 8px; }
.gurp-msg { display: grid; gap: 8px; justify-items: start; }
.gurp-msg-me { justify-items: end; }
.gurp-bubble { max-width: 92%; padding: 10px 13px; border-radius: 14px; background: var(--navy); color: #fff; font-size: 15px; white-space: pre-wrap; overflow-wrap: anywhere; }
.gurp-bubble-ai { background: var(--bg); color: var(--ink); }
.gurp-bubble-wait { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.gurp-bubble-wait .gurp-spinner { width: 18px; height: 18px; border-width: 2px; }
.gurp-msg-cards { width: 100%; }
.gurp-msg-cards.gurp-people { border: 1px solid var(--line); border-radius: 12px; padding: 0 10px; background: #fff; }
.gurp-main-search .gurp-ask { text-align: left; }
@media (min-width: 1024px) {
  .gurp-main-search .gurp-modes { margin: 14px auto 6px; }
  .gurp-main-search .gurp-ask, .gurp-main-search .gurp-card-people { max-width: 820px; margin-left: auto; margin-right: auto; }
  .gurp-col-people .gurp-msg-cards { overflow: visible; margin: 0; }
}

/* ---------- Sales Hub ---------- */
.gurp-logo-chip { display: inline-flex; align-items: center; justify-content: center; height: 42px; min-width: 42px; max-width: 150px; padding: 5px 8px; border-radius: 11px; background: #fff; flex: none; }
.gurp-logo-chip img { max-height: 32px; max-width: 134px; width: auto; height: auto; display: block; }
.gurp-logo-hero { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 20px; margin-bottom: 14px; box-shadow: 0 1px 2px rgba(16,33,48,.04); }
.gurp-logo-hero img { max-height: 64px; max-width: 260px; width: auto; height: auto; display: block; }
.gurp-mark-lg { width: 64px; height: 64px; font-size: 22px; border-radius: 16px; margin-bottom: 14px; }
.gurp-login-logo { display: block; max-height: 64px; max-width: 240px; width: auto; height: auto; }
.gurp-login-sub { margin-top: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); opacity: 1; }
.gurp-main-hub { max-width: 980px; }
.gurp-hub-hero { text-align: center; padding: 26px 4px 18px; }
.gurp-hub-hero h1 { font-size: 30px; margin: 0 0 4px; letter-spacing: -.3px; }
.gurp-hub-hero p { margin: 0; }
.gurp-tiles { display: grid; gap: 14px; }
.gurp-tile { display: grid; gap: 6px; text-align: left; font: inherit; color: inherit; cursor: pointer; padding: 22px 20px; border-radius: 18px; border: 2px solid var(--line); background: #fff; box-shadow: 0 1px 2px rgba(16,33,48,.04); transition: transform .08s ease, border-color .15s ease, box-shadow .15s ease; }
.gurp-tile:hover { border-color: var(--navy); box-shadow: 0 8px 24px rgba(0,67,124,.12); transform: translateY(-2px); }
.gurp-tile:active { transform: scale(.99); }
.gurp-tile-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; font-weight: 800; background: #e8f0f8; color: var(--navy); margin-bottom: 6px; }
.gurp-tile-title { font-size: 21px; font-weight: 800; letter-spacing: -.2px; }
.gurp-tile-text { color: var(--muted); font-size: 15px; }
.gurp-tile-go { font-weight: 800; color: var(--navy); margin-top: 6px; }
.gurp-tile-day { background: linear-gradient(135deg, var(--navy) 0%, #0b5ea8 100%); border-color: transparent; color: #fff; }
.gurp-tile-day .gurp-tile-icon { background: rgba(255,255,255,.16); color: #fff; }
.gurp-tile-day .gurp-tile-text { color: rgba(255,255,255,.85); }
.gurp-tile-day .gurp-tile-go { color: #fff; }
.gurp-tile-day:hover { border-color: var(--green); }
.gurp-tile-pro .gurp-tile-icon { background: #e9f6e7; color: var(--green-d); }
@media (min-width: 760px) {
  .gurp-tiles { grid-template-columns: 1fr 1fr; }
  .gurp-tile-team { grid-column: 1 / -1; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 16px; padding: 16px 20px; }
  .gurp-tile-team .gurp-tile-icon { margin: 0; grid-row: 1 / 3; }
  .gurp-tile-team .gurp-tile-go { grid-row: 1 / 3; grid-column: 3; margin: 0; }
  .gurp-hub-hero { padding-top: 44px; }
  .gurp-hub-hero h1 { font-size: 38px; }
}

/* plan my day */
.gurp-main-day { max-width: 880px; }
.gurp-day-form { display: grid; gap: 4px; }
.gurp-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.gurp-check { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 2px solid var(--line); border-radius: 12px; font-weight: 700; font-size: 14.5px; cursor: pointer; background: #fff; user-select: none; }
.gurp-check input { width: 18px; height: 18px; accent-color: var(--green-d); margin: 0; }
.gurp-check.on { border-color: var(--green); background: #f4fbf3; }
.gurp-range { width: 100%; accent-color: var(--navy); height: 32px; margin: 0; }
.gurp-range-ends { display: flex; justify-content: space-between; margin-top: -4px; }
.gurp-home-row { margin-top: 8px; flex-wrap: wrap; }
.gurp-home { max-width: 220px; flex: 0 1 220px !important; }
.gurp-btn-lg { padding: 15px 18px; font-size: 16.5px; margin-top: 6px; }
.gurp-stops { display: grid; }
.gurp-stop { display: flex; align-items: center; gap: 12px; padding: 12px 2px; border-top: 1px solid var(--line); }
.gurp-stop:first-child { border-top: 0; }
.gurp-stop.is-logged { background: linear-gradient(90deg, rgba(85,186,71,.08), transparent 60%); }
.gurp-stop-body { flex: 1; min-width: 0; }
.gurp-stop-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; flex: none; max-width: 52%; }
.gurp-badge-good { background: #e9f6e7; color: var(--green-d); }
.gurp-badge-soft { background: var(--bg); color: var(--muted); }
@media (max-width: 560px) {
  .gurp-stop { flex-direction: column; align-items: stretch; }
  .gurp-stop-actions { max-width: none; justify-content: flex-start; }
  .gurp-stop-actions .gurp-btn { flex: 1 1 auto; }
}

/* logos: wide version normally, the mark alone on small screens */
.gurp-logo-chip .gurp-logo-small { display: none; }
@media (max-width: 560px) {
  .gurp-logo-chip { padding: 4px; }
  .gurp-logo-chip .gurp-logo-wide { display: none; }
  .gurp-logo-chip .gurp-logo-small { display: block; max-height: 34px; }
  .gurp-top .gurp-brand > div { display: block; }
  .gurp-top .gurp-brand-sub { display: none; }
}
.gurp-login-logo { margin: 0 auto; max-height: 76px; max-width: 100%; }
.gurp-login-card .gurp-login-sub { text-align: center; }

/* today's route */
.gurp-rstops { display: grid; }
.gurp-rstop { display: flex; align-items: flex-start; gap: 12px; padding: 14px 2px; border-top: 1px solid var(--line); }
.gurp-rstop:first-child { border-top: 0; }
.gurp-checkbtn { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--navy); background: #fff; color: var(--navy); font: inherit; font-weight: 800; font-size: 17px; cursor: pointer; display: grid; place-items: center; transition: background .15s, transform .06s; }
.gurp-checkbtn:hover:not([disabled]) { background: #e8f0f8; }
.gurp-checkbtn:active:not([disabled]) { transform: scale(.94); }
.gurp-checkbtn.on { background: var(--green); border-color: var(--green); color: #fff; cursor: default; font-size: 22px; }
.gurp-rstop.is-done .gurp-rname { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(93,107,121,.5); }
.gurp-rstop.is-done .gurp-rname .gurp-badge { text-decoration: none; display: inline-block; }
.gurp-outcome { margin-top: 4px; padding: 6px 10px; background: #f4fbf3; border-left: 3px solid var(--green); border-radius: 6px; color: var(--ink); white-space: pre-wrap; }
.gurp-rstop-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.gurp-reorder { display: grid; gap: 4px; flex: none; }
.gurp-reorder button { width: 34px; height: 30px; border: 1px solid var(--line); background: #fff; border-radius: 8px; color: var(--navy); cursor: pointer; font-size: 11px; }
.gurp-reorder button[disabled] { opacity: .3; cursor: default; }
.gurp-overlay { position: fixed; inset: 0; z-index: 60; background: rgba(10,25,40,.55); display: flex; align-items: flex-end; justify-content: center; padding: 0; }
.gurp-modal { width: 100%; max-width: 560px; background: #fff; border-radius: 20px 20px 0 0; padding: 20px 18px calc(18px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 40px rgba(0,0,0,.25); display: grid; gap: 8px; max-height: 92vh; overflow-y: auto; }
.gurp-modal p { margin: 0 0 4px; }
.gurp-modal-actions { justify-content: flex-end; margin-top: 6px; }
.gurp-modal-actions .gurp-btn { flex: 1; padding: 13px 16px; }
body.gurp-noscroll { overflow: hidden; }
@media (min-width: 640px) {
  .gurp-overlay { align-items: center; padding: 20px; }
  .gurp-modal { border-radius: 20px; padding: 24px; }
  .gurp-modal-actions .gurp-btn { flex: 0 0 auto; }
}
.gurp-people-head .gurp-row { flex-wrap: wrap; }
@media (max-width: 560px) { .gurp-people-head .gurp-row { width: 100%; } .gurp-people-head .gurp-row .gurp-btn { flex: 1 1 auto; } }

/* daily check-in pop-up */
.gurp-modal-ci { padding: 0; gap: 0; display: flex; flex-direction: column; max-width: 640px; max-height: 94vh; overflow: hidden; }
.gurp-ci-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 18px 12px; border-bottom: 1px solid var(--line); }
.gurp-ci-kicker { font-weight: 800; text-transform: uppercase; letter-spacing: .7px; font-size: 12px; }
.gurp-ci-x { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--bg); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
.gurp-ci-body { overflow-y: auto; padding: 14px 18px; display: grid; gap: 18px; -webkit-overflow-scrolling: touch; }
.gurp-ci-q { display: grid; gap: 7px; }
.gurp-ci-qh { font-weight: 800; font-size: 15.5px; }
.gurp-ci-input { font-size: 16px; padding: 11px 12px; width: 100%; }
.gurp-ci-chip { font-size: 14.5px; padding: 8px 14px; text-transform: none; }
.gurp-ci-chip.on.hot { background: var(--bad); }
.gurp-ci-chip.on.warm { background: #c98a12; }
.gurp-ci-chip.on.cold { background: #1a86c7; }
.gurp-ci-people { display: grid; gap: 10px; }
.gurp-ci-person { display: grid; gap: 8px; padding: 10px; border: 1px dashed #c9d2dc; border-radius: 10px; }
.gurp-ci-person-fields, .gurp-ci-two { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.gurp-ci-foot { border-top: 1px solid var(--line); padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); display: grid; gap: 8px; background: #fff; }
.gurp-ci-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; }
.gurp-ci-tags .gurp-badge { margin-left: 0; }
.gurp-outcome.is-skip { background: var(--bg); border-left-color: #b6c0cb; color: var(--muted); }
@media (max-width: 480px) { .gurp-ci-person-fields, .gurp-ci-two { grid-template-columns: 1fr; } }

/* ---------- clean look: logos sit straight on the page, no boxes ---------- */
.gurp-top { background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 2px 10px rgba(16,33,48,.05); }
.gurp-top .gurp-mark { background: linear-gradient(135deg, var(--navy) 0%, var(--navy) 55%, var(--green) 55%, var(--green) 100%); color: #fff; }
.gurp-top .gurp-brand-name { color: var(--navy); }
.gurp-top .gurp-brand > div { border-left: 1px solid var(--line); padding-left: 12px; }
.gurp-logo-chip { background: none; padding: 0; border-radius: 0; height: 40px; min-width: 0; max-width: 210px; }
.gurp-logo-chip img { max-height: 30px; max-width: 210px; }
.gurp-signout { color: var(--navy) !important; opacity: 1; }
.gurp-top-btn { background: #e8f0f8; color: var(--navy); }
.gurp-top-btn.on, .gurp-top-btn:hover { background: var(--navy); color: #fff; }
.gurp-pill { background: #e8f0f8; color: var(--navy); }
.gurp-logo-hero { background: none; border: 0; box-shadow: none; padding: 0; margin-bottom: 18px; }
.gurp-logo-hero img { max-height: 84px; max-width: min(420px, 86vw); }
.gurp-login-logo { max-height: 84px; }
@media (max-width: 560px) {
  .gurp-logo-chip { padding: 0; height: 38px; }
  .gurp-logo-chip .gurp-logo-small { max-height: 38px; }
  .gurp-top .gurp-brand > div { border-left: 0; padding-left: 0; }
}
.gurp-hub-foot { text-align: center; margin-top: 26px; display: grid; gap: 4px; justify-items: center; }
.gurp-recent-head { margin: 22px 2px 10px; }
.gurp-recent-head .gurp-section-title { margin: 0; }
