:root{--navy:#0b1f3a;--ink:#1a1d1f;--muted:#6b7280;--border:#e5e7eb;--bg:#f3f4f6;--white:#fff;--primary:#377DFF;--serif:Georgia,"Times New Roman",Times,serif;--sans:"Segoe UI",system-ui,-apple-system,Arial,sans-serif}
*{box-sizing:border-box;margin:0;padding:0}body{font-family:var(--sans);background:var(--bg);color:var(--ink);line-height:1.45}a{color:inherit;text-decoration:none}button,input,select{font:inherit}
.top{background:var(--white);border-bottom:1px solid var(--border);padding:14px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:10px;font-family:var(--serif);font-weight:700;font-size:18px}
.brand .mark{width:36px;height:36px;border-radius:10px;background:var(--navy);display:grid;place-items:center;color:#fff;font-size:12px;font-weight:700}
.nav a{margin-left:12px;font-size:13px;font-weight:600;color:#374151} .nav a:hover{color:var(--primary)}
.wrap{max-width:none;width:100%;margin:0;padding:28px 28px 56px}
h1{font-family:var(--serif);font-size:32px;letter-spacing:-.02em;margin-bottom:8px}
.lede{color:var(--muted);font-size:15px;margin-bottom:22px;max-width:640px}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}
.card{background:var(--white);border:1px solid var(--border);border-radius:14px;padding:18px;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.card h2{font-size:18px;margin:8px 0 6px}.card p{font-size:13px;color:var(--muted);margin-bottom:14px}
.card .ico{width:40px;height:40px;border-radius:10px;background:#e8f0fe;color:var(--primary);display:grid;place-items:center;font-weight:700}
.btn{display:inline-flex;align-items:center;gap:6px;padding:10px 14px;border-radius:10px;border:none;background:var(--primary);color:#fff;font-size:13px;font-weight:650;cursor:pointer}
.btn.ghost{background:#fff;color:var(--ink);border:1px solid var(--border)}
.form{background:var(--white);border:1px solid var(--border);border-radius:14px;padding:20px;max-width:640px}
.field{display:flex;flex-direction:column;gap:4px;margin-bottom:12px}
.field label{font-size:12px;font-weight:700;color:#4b5563}
.field input,.field select{padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:#fff}
.row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-width:640px){.row{grid-template-columns:1fr}}
.results{display:flex;flex-direction:column;gap:12px;margin-top:8px}
.hit{display:grid;grid-template-columns:56px 1fr auto;gap:12px;align-items:center;background:var(--white);border:1px solid var(--border);border-radius:14px;padding:14px}
.hit img,.hit .ph{width:56px;height:56px;border-radius:12px;object-fit:cover;background:#e5e7eb}
.hit h3{font-size:15px;margin-bottom:2px}.hit .meta{font-size:12px;color:var(--muted)}
.hit .price{font-weight:700;font-size:14px;color:var(--navy);white-space:nowrap}
.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.foot{margin-top:28px;font-size:12px;color:var(--muted)}
.chip{display:inline-block;padding:2px 8px;border-radius:999px;background:#e8f0fe;color:#1d4ed8;font-size:11px;font-weight:650;margin-right:4px}

/* shared header and directory components for the richer search views */
.topbar{position:sticky;top:0;z-index:20;height:72px;background:#fff;border-bottom:1px solid var(--border);display:grid;grid-template-columns:minmax(200px,260px) 1fr auto;align-items:center;padding:0 20px;gap:16px}.topbar .brand{font-family:inherit;font-size:inherit;display:flex}.topbar .brand .mark{width:40px;height:40px;border-radius:10px;background:var(--navy);display:grid;place-items:center;color:#fff}.topbar .brand .name{font-family:var(--serif);font-size:18px;font-weight:700;display:block}.topbar .brand .sub{font-family:var(--sans);font-size:10px;color:var(--muted);font-weight:400;display:block;white-space:nowrap}.top-nav{display:flex;align-items:center;justify-content:center;gap:4px}.top-nav a{margin:0;font-size:13px;font-weight:600;color:#374151;padding:8px 10px;border-radius:8px}.top-nav a:hover{background:#f3f4f6;color:#374151}.top-utils{display:flex;align-items:center;gap:6px}.top-utils a{width:34px;height:34px;border-radius:8px;display:grid;place-items:center;color:#4b5563}.top-utils a:hover{background:#f3f4f6}.top-utils svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.6}
.breadcrumb{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:#526071;margin-bottom:22px}.breadcrumb:hover{text-decoration:underline}.eyebrow{font-size:11px;letter-spacing:.11em;text-transform:uppercase;color:var(--primary);font-weight:800;margin-bottom:8px}.search-card{background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:0 5px 18px rgba(16,24,40,.04)}.form-layout{display:grid;grid-template-columns:minmax(0,780px) 250px;gap:20px;align-items:start;margin-top:26px}.form-card{padding:24px}.form-card h2{margin-bottom:5px}.form-note{font-size:13px;color:var(--muted);margin-bottom:22px}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 16px}.field.full{grid-column:1/-1}.form-card .field{margin-bottom:0}.field label em{font-style:normal;color:#98a2b3;font-weight:500}.form-card .field input,.form-card .field select{width:100%;font-size:14px;padding:11px 12px;outline:none}.form-card .field input:focus,.form-card .field select:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(55,125,255,.12)}.actions{display:flex;align-items:center;gap:12px;margin-top:24px}.actions .btn{min-height:42px}.form-aside{padding:19px}.form-aside h3{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#98a2b3;margin-bottom:11px}.form-aside p{font-size:13px;color:#536071}.tip-list{list-style:none;margin-top:15px;display:grid;gap:11px}.tip-list li{font-size:12px;color:#536071;padding-left:16px;position:relative}.tip-list li:before{content:"";position:absolute;left:0;top:7px;width:6px;height:6px;border-radius:50%;background:var(--primary)}.footer-note{text-align:center;font-size:12px;color:#98a2b3;margin-top:34px}.results-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-top:26px;margin-bottom:18px}.results-head .count{font-size:13px;color:var(--muted)}.refine{font-size:13px;font-weight:750;color:var(--navy);text-decoration:underline;text-underline-offset:3px;white-space:nowrap}.results-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.result-card{padding:19px;background:#fff;border:1px solid var(--border);border-radius:14px}.result-card h2{font-size:17px;margin-bottom:6px}.result-card h2 a:hover{color:var(--primary)}.result-meta{display:flex;flex-wrap:wrap;gap:6px 15px;color:var(--muted);font-size:12px}.rate{margin-top:16px;display:flex;justify-content:space-between;align-items:baseline;border-top:1px solid #edf0f4;padding-top:13px}.rate strong{font-size:16px;color:var(--navy)}.tag{font-size:11px;font-weight:700;color:#3567c8;background:#edf3ff;padding:4px 8px;border-radius:99px}.profile-card{display:grid;grid-template-columns:58px 1fr;gap:14px;align-items:start}.avatar{width:58px;height:58px;border-radius:50%;object-fit:cover;background:#dbe3ef}.profile-card h2{margin-top:1px}.profile-card .bio{font-size:12px;color:var(--muted);margin-top:8px}.profile-card .role{color:#3567c8;font-size:12px;font-weight:750;margin-top:2px}.office-card{display:grid;grid-template-columns:46px 1fr;gap:13px}.office-mark{width:46px;height:46px;border-radius:11px;display:grid;place-items:center;background:#eaf1ff;color:var(--navy);font-size:18px;font-weight:800}.office-card h2{font-family:var(--serif);font-size:19px}.office-card .office-type{font-size:12px;color:#3567c8;font-weight:700;margin-top:2px}.office-details{font-size:12px;color:var(--muted);margin-top:12px;line-height:1.7}.office-details strong{color:#475467;font-weight:700}
@media(max-width:960px){.topbar{grid-template-columns:minmax(190px,1fr) auto;height:68px}.top-nav{display:none}.form-layout{grid-template-columns:1fr}.form-aside{display:none}}@media(max-width:650px){.topbar{padding:0 12px}.top-utils a:nth-child(-n+3){display:none}.topbar .brand .sub{display:none}.wrap{padding:26px 16px 44px}.fields{grid-template-columns:1fr}.field.full{grid-column:auto}.actions{align-items:stretch;flex-direction:column}.actions .btn{width:100%}.results-grid{grid-template-columns:1fr}.results-head{align-items:flex-start;flex-direction:column;gap:8px}.results-head .refine{order:-1}}
