body.agent-profile-page{
  --agent-shell-shadow:0 18px 50px rgba(15,23,42,.08);
  --agent-shell-radius:26px;
}
body.agent-profile-page .container{
  width:min(1120px, calc(100% - 32px));
}
body.agent-profile-page .agent-pro-section,
body.agent-profile-page .agent-listings-pro-section,
body.agent-profile-page .agent-reviews-pro-section{
  padding:22px 0 0;
}
body.agent-profile-page .agent-pro-shell,
body.agent-profile-page .agent-listings-shell{
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
  border:1px solid var(--line);
  border-radius:var(--agent-shell-radius);
  box-shadow:var(--agent-shell-shadow);
  overflow:visible;
}
body.agent-profile-page .agent-pro-shell{
  padding:14px;
}
body.agent-profile-page .agent-pro-head{
  display:grid;
  grid-template-columns:minmax(0,1.36fr) minmax(370px,.94fr);
  gap:14px;
  align-items:start;
}
body.agent-profile-page .agent-pro-identity{
  display:grid;
  grid-template-columns:190px minmax(0,1fr);
  gap:14px;
  align-items:start;
  min-width:0;
  padding:4px;
  border-radius:24px;
  background:linear-gradient(90deg, rgba(240,253,250,.9), rgba(255,255,255,0) 54%);
}
body.agent-profile-page .agent-pro-avatar{
  width:180px;
  height:180px;
  border-radius:50%;
  position:relative;
  overflow:visible;
  border:6px solid #fff;
  box-shadow:0 16px 36px rgba(15,23,42,.10);
  background:linear-gradient(135deg,#c7f2ec,#eefbf9);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#0f766e;
  font-size:3.6rem;
  font-weight:800;
  background-size:cover;
  background-position:center;
}
body.agent-profile-page .agent-pro-avatar-check{
  position:absolute;
  right:-6px;
  bottom:12px;
  width:50px;
  height:50px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg,#11b4ab,#0f766e);
  color:#fff;
  font-style:normal;
  font-weight:900;
  font-size:1rem;
  box-shadow:0 0 0 4px #fff, 0 10px 22px rgba(15,118,110,.30);
  z-index:3;
}
body.agent-profile-page .agent-pro-avatar-check::before{
  content:"";
  position:absolute;
  inset:-7px;
  background:linear-gradient(180deg,#18c6bc,#0f766e);
  clip-path:polygon(50% 0%,60% 10%,73% 4%,78% 18%,92% 18%,90% 32%,100% 40%,92% 52%,98% 64%,85% 70%,84% 84%,70% 82%,64% 96%,50% 88%,36% 96%,30% 82%,16% 84%,15% 70%,2% 64%,8% 52%,0 40%,10% 32%,8% 18%,22% 18%,27% 4%,40% 10%);
  z-index:-1;
  filter:drop-shadow(0 8px 16px rgba(15,118,110,.24));
}
body.agent-profile-page .agent-pro-copy{min-width:0;}
body.agent-profile-page .agent-pro-copy h1{
  margin:0 0 4px;
  font-size:clamp(1.85rem,3.4vw,2.75rem);
  line-height:1.02;
  letter-spacing:-.045em;
}
body.agent-profile-page .agent-pro-verified-row,
body.agent-profile-page .agent-pro-rating-row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
}
body.agent-profile-page .agent-pro-verified-row{
  color:#475467;
  font-size:.98rem;
  margin-bottom:8px;
}
body.agent-profile-page .agent-verified-dot{
  width:24px;
  height:24px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#ecfdf3;
  color:#0f766e;
  font-size:.9rem;
  font-weight:800;
}
body.agent-profile-page .agent-pro-rating-row{
  margin-bottom:10px;
  font-size:1rem;
}
body.agent-profile-page .agent-pro-rating-row strong{
  font-size:1.15rem;
}
body.agent-profile-page .agent-pro-bio{
  margin:0 0 10px;
  max-width:620px;
  color:#344054;
  font-size:.98rem;
  line-height:1.45;
}
body.agent-profile-page .agent-pro-stat-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  align-items:stretch;
}
body.agent-profile-page .agent-pro-stat-box{
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  align-items:center;
  gap:10px;
  min-height:74px;
  padding:12px;
  border-radius:18px;
  border:1px solid #dfe8f0;
  background:linear-gradient(180deg,#fff 0%,#f9fbff 100%);
  box-shadow:0 8px 20px rgba(15,23,42,.04);
  overflow:hidden;
}
body.agent-profile-page .agent-pro-stat-icon{
  width:34px;
  height:34px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f0fdfa;
  font-size:1rem;
}
body.agent-profile-page .agent-pro-stat-box strong{
  display:block;
  font-size:clamp(.92rem,1.55vw,1.12rem);
  line-height:1.08;
  letter-spacing:-.03em;
  white-space:normal;
  overflow-wrap:anywhere;
}
body.agent-profile-page .agent-pro-stat-box small{
  display:block;
  margin-top:3px;
  color:#667085;
  font-size:.75rem;
  line-height:1.15;
}
body.agent-profile-page .agent-pro-stat-box > div{min-width:0;}
body.agent-profile-page .agent-pro-contact-card{
  padding:16px 18px;
  border-radius:22px;
  border:1px solid #d9ebe6;
  background:linear-gradient(180deg,#f7fcfb 0%,#fefefe 100%);
  box-shadow:0 12px 28px rgba(15,23,42,.05);
}
body.agent-profile-page .agent-pro-lock-icon{
  width:44px;
  height:44px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#e8f7f3;
  color:#0f766e;
  font-size:1.2rem;
  margin-bottom:8px;
}
body.agent-profile-page .agent-pro-contact-card h2{
  margin:0 0 8px;
  font-size:1.45rem;
  line-height:1.08;
  letter-spacing:-.03em;
}
body.agent-profile-page .agent-pro-contact-card .muted{
  color:#475467;
  line-height:1.35;
  font-size:.98rem;
}
body.agent-profile-page .agent-pro-main-btn,
body.agent-profile-page .agent-pro-alt-btn{
  width:100%;
  justify-content:center;
  margin-top:10px;
  min-height:50px;
  font-size:1.03rem;
}
body.agent-profile-page .agent-pro-main-btn{background:linear-gradient(90deg,#0f766e,#0c8d82);}
body.agent-profile-page .agent-pro-alt-btn{border-width:2px;color:#0f766e;background:#fff;}
body.agent-profile-page .agent-pro-divider{
  display:flex;
  align-items:center;
  gap:10px;
  margin:10px 0;
  color:#98a2b3;
  font-weight:700;
}
body.agent-profile-page .agent-pro-divider::before,
body.agent-profile-page .agent-pro-divider::after{
  content:"";
  height:1px;
  flex:1;
  background:#d7e1ea;
}
body.agent-profile-page .agent-pro-trust-row{
  margin-top:14px;
  color:#98a2b3;
  font-size:.96rem;
}
body.agent-profile-page .agent-pro-contact-list{
  display:grid;
  gap:12px;
  margin-top:16px;
}
body.agent-profile-page .agent-pro-contact-list a{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid #dfe8f0;
  background:#fff;
  font-weight:700;
}
body.agent-profile-page .agent-listings-shell{padding:22px;}
body.agent-profile-page .agent-listings-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
body.agent-profile-page .agent-listings-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:#101828;
  font-size:clamp(1.4rem,2.4vw,2rem);
  font-weight:800;
  letter-spacing:-.03em;
}
body.agent-profile-page .agent-listings-head p{margin:8px 0 0;}
body.agent-profile-page .agent-view-btn{min-width:170px;}
body.agent-profile-page .agent-prop-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}
body.agent-profile-page .agent-prop-link{display:block; color:inherit;}
body.agent-profile-page .agent-prop-card{
  background:linear-gradient(180deg,#ffffff 0%,#fafcff 100%);
  border:1px solid #dfe8f0;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 12px 30px rgba(15,23,42,.05);
  transition:transform .18s ease, box-shadow .18s ease;
  height:100%;
}
body.agent-profile-page .agent-prop-card:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 40px rgba(15,23,42,.08);
}
body.agent-profile-page .agent-prop-media{
  position:relative;
  height:215px;
  background:#eaf1f8;
  background-size:cover;
  background-position:center;
}
body.agent-profile-page .agent-prop-media.has-cover::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(15,23,42,0) 0%,rgba(15,23,42,.06) 55%,rgba(15,23,42,.18) 100%);
}
body.agent-profile-page .agent-prop-placeholder{
  width:100%;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:24px;
  color:#0f172a;
}
body.agent-profile-page .agent-prop-placeholder strong{
  font-size:2rem;
  letter-spacing:-.03em;
}
body.agent-profile-page .agent-prop-placeholder span{
  margin-top:8px;
  font-size:1rem;
  color:#475467;
}
body.agent-profile-page .agent-prop-placeholder.type-house{background:linear-gradient(135deg,#d8f3dc,#eefbf2);}
body.agent-profile-page .agent-prop-placeholder.type-apartment{background:linear-gradient(135deg,#dbeafe,#eef7ff);}
body.agent-profile-page .agent-prop-placeholder.type-land{background:linear-gradient(135deg,#fef3c7,#fff7dc);}
body.agent-profile-page .agent-prop-placeholder.type-hotel{background:linear-gradient(135deg,#fce7f3,#fff3f8);}
body.agent-profile-page .agent-prop-placeholder.type-commercial{background:linear-gradient(135deg,#ede9fe,#f5f3ff);}
body.agent-profile-page .agent-prop-media-badge,
body.agent-profile-page .agent-prop-type-badge{
  position:absolute;
  z-index:2;
  display:inline-flex;
  align-items:center;
  gap:6px;
  border-radius:12px;
  padding:8px 12px;
  font-size:.86rem;
  font-weight:700;
  color:#fff;
  background:rgba(15,23,42,.68);
  backdrop-filter:blur(8px);
}
body.agent-profile-page .agent-prop-media-badge{top:14px;left:14px;}
body.agent-profile-page .agent-prop-type-badge{top:14px;right:14px; background:#0f766e;}
body.agent-profile-page .agent-prop-type-badge.type-apartment{background:#2563eb;}
body.agent-profile-page .agent-prop-type-badge.type-land{background:#d97706;}
body.agent-profile-page .agent-prop-type-badge.type-hotel{background:#db2777;}
body.agent-profile-page .agent-prop-type-badge.type-commercial{background:#7c3aed;}
body.agent-profile-page .agent-prop-body{padding:18px 18px 16px;}
body.agent-profile-page .agent-prop-title-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:14px;
  align-items:start;
}
body.agent-profile-page .agent-prop-title-row h3{
  margin:0;
  font-size:1rem;
  line-height:1.32;
  letter-spacing:-.02em;
}
body.agent-profile-page .agent-prop-price{
  color:#0f766e;
  font-weight:900;
  font-size:1rem;
  white-space:nowrap;
  text-align:right;
}
body.agent-profile-page .agent-prop-location{
  margin:10px 0 14px;
  color:#475467;
}
body.agent-profile-page .agent-prop-meta{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  padding-top:14px;
  border-top:1px solid #e7ecf3;
}
body.agent-profile-page .agent-prop-meta span{
  color:#475467;
  font-size:.9rem;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
body.agent-profile-page .agent-reviews-pro-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:22px;
}
body.agent-profile-page .agent-review-card-pro{border-radius:24px; overflow:hidden;}
body.agent-profile-page .agent-review-card-pro .card-body{padding:24px;}
body.agent-profile-page .agent-review-card-pro h2{margin:8px 0 18px;letter-spacing:-.03em;}
body.agent-profile-page .agent-review-list-pro{display:grid;gap:14px;}
body.agent-profile-page .agent-review-item-pro{
  border:1px solid #e5edf4;
  background:#fbfdff;
  border-radius:18px;
  padding:16px;
}
body.agent-profile-page .agent-review-item-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:10px;
}
body.agent-profile-page .agent-review-form-pro select,
body.agent-profile-page .agent-review-form-pro textarea{
  width:100%;
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px 15px;
  font:inherit;
  background:#fff;
  margin-top:8px;
}
body.agent-profile-page .agent-review-form-pro textarea{min-height:138px;resize:vertical;}
body.agent-profile-page .agent-review-form-pro .btn{margin-top:14px;}
@media (max-width: 1080px){
  body.agent-profile-page .agent-prop-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  body.agent-profile-page .agent-reviews-pro-grid{grid-template-columns:1fr;}
}

@media (max-width: 960px){
  body.agent-profile-page .agent-pro-head{grid-template-columns:1fr;}
  body.agent-profile-page .agent-pro-identity{grid-template-columns:180px minmax(0,1fr);}
  body.agent-profile-page .agent-pro-avatar{width:170px;height:170px;font-size:3.4rem;}
  body.agent-profile-page .agent-pro-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
  body.agent-profile-page .agent-pro-stat-box{padding:11px;min-height:74px;}
}
@media (max-width: 820px){
  body.agent-profile-page .agent-pro-identity{grid-template-columns:1fr;justify-items:start;}
  body.agent-profile-page .agent-pro-avatar{width:180px;height:180px;}
  body.agent-profile-page .agent-pro-avatar-check{right:-2px;bottom:10px;width:48px;height:48px;font-size:1rem;}
  body.agent-profile-page .agent-pro-stat-grid{grid-template-columns:1fr;}
  body.agent-profile-page .agent-listings-head{flex-direction:column;align-items:flex-start;}
  body.agent-profile-page .agent-prop-grid{grid-template-columns:1fr;}
  body.agent-profile-page .agent-prop-meta{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 560px){
  body.agent-profile-page .agent-pro-shell,
  body.agent-profile-page .agent-listings-shell,
  body.agent-profile-page .agent-review-card-pro .card-body{padding:16px;}
  body.agent-profile-page .agent-pro-contact-card{padding:20px;}
  body.agent-profile-page .agent-pro-avatar{width:140px;height:140px;font-size:3.2rem;}
  body.agent-profile-page .agent-pro-avatar-check{width:42px;height:42px;font-size:.95rem;right:-2px;bottom:8px;}
  body.agent-profile-page .agent-pro-copy h1{font-size:2.1rem;}
  body.agent-profile-page .agent-pro-contact-card h2{font-size:1.6rem;}
  body.agent-profile-page .agent-prop-media{height:190px;}
}
body.agent-profile-page .agent-prop-placeholder.type-hostel{background:linear-gradient(135deg,#ccfbf1,#effdf9);}
body.agent-profile-page .agent-prop-type-badge.type-hostel{background:#0d9488;}
