/* Pantallas de formulario de Habittel (publicar propiedad, mis publicaciones). Todo aislado bajo .hbp. Generado desde los CSS de los residentes. */
.hbp{--deep:#12343b;--teal:#1f5963;--sand:#d6c3a5;--cream:#f7f4ee;--ink:#1c2526;--muted:#5c6b6d;--line:rgba(18,52,59,.14);font-family:Figtree,system-ui,sans-serif;color:var(--ink);}
.hbp .narrow{max-width: 860px;}.hbp .pagehead{padding-top: 34px;}.hbp .pagehead h1{font-size: 34px;
  margin: 0 0 6px;
  letter-spacing: -1px;
  color: var(--deep);}.hbp .sub{color: var(--muted);
  margin: 0 0 24px;}.hbp .small{width: auto !important;
  padding: 10px 18px !important;
  font-size: 15px !important;}.hbp .back{border: 0;
  background: none;
  color: var(--deep);
  font:
    600 15px Figtree,
    sans-serif;
  cursor: pointer;
  padding: 22px 0 8px;}.hbp .back:hover{color: var(--teal);}.hbp .empty{grid-column: 1/-1;
  padding: 40px 0;
  text-align: center;}.hbp .empty h3{font:
    600 20px Sora,
    sans-serif;
  margin: 0 0 6px;
  color: var(--deep);}.hbp .empty p{color: var(--muted);
  margin: 0 0 18px;}
.hbp .fd{margin-bottom: 16px;}.hbp .fd > label{display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--deep);}.hbp .fd input:not([type="checkbox"]),.hbp .fd textarea,.hbp .fd select{width: 100%;}.hbp .fd input:not([type="checkbox"]),.hbp .fd textarea{padding: 13px 16px;
  border: 1.5px solid rgba(18, 52, 59, 0.2);
  border-radius: 14px;
  background: #fff;
  font:
    400 16px Figtree,
    sans-serif;
  color: var(--ink);
  outline: 0;}.hbp .fd select{padding: 13px 12px;}.hbp .fd input:not([type="checkbox"]):focus,.hbp .fd textarea:focus,.hbp .fd select:focus{border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(31, 89, 99, 0.15);}.hbp .fd.bad input:not([type="checkbox"]),.hbp .fd.bad textarea,.hbp .fd.bad select{border-color: #b3402f;}.hbp .er{color: #b3402f;
  font-size: 13px;
  margin-top: 5px;}.hbp .two{display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;}.hbp .four{display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;}.hbp .pw{position: relative;}.hbp .pw input{padding-right: 84px !important;}.hbp .pw button{position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: none;
  color: var(--teal);
  font:
    600 13px Figtree,
    sans-serif;
  cursor: pointer;
  padding: 8px 10px;}.hbp .row{display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 4px 0 20px;
  font-size: 14px;
  gap: 12px;
  flex-wrap: wrap;}.hbp .row label,.hbp .terms label{display: flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;}.hbp input[type="checkbox"]{accent-color: var(--teal);
  width: 17px;
  height: 17px;}.hbp .af a{color: var(--teal);
  font-weight: 600;}.hbp .af a:hover{text-decoration: underline;}.hbp .terms label{font-size: 14px;
  font-weight: 400;
  align-items: flex-start;
  color: var(--ink);}.hbp .sbtn{width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 15px;
  background: var(--teal);
  color: #fff;
  font:
    600 17px Figtree,
    sans-serif;
  cursor: pointer;}.hbp .sbtn:hover{background: var(--deep);}.hbp .or{display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--muted);
  font-size: 14px;}.hbp .or:before,.hbp .or:after{content: "";
  flex: 1;
  height: 1px;
  background: var(--line);}.hbp .gbtn{width: 100%;
  border: 1.5px solid rgba(18, 52, 59, 0.2);
  background: #fff;
  border-radius: 14px;
  padding: 13px;
  font:
    600 16px Figtree,
    sans-serif;
  color: var(--deep);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;}.hbp .gbtn:hover{border-color: var(--teal);}.hbp .gbtn b{display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sand);
  font-size: 13px;}.hbp .sw{text-align: center;
  margin-top: 24px;
  color: var(--muted);}.hbp .fs{margin-top: 16px;
  font-weight: 500;
  color: var(--deep);}.hbp .fs:not(:empty){background: rgba(31, 89, 99, 0.1);
  border-radius: 12px;
  padding: 12px 14px;}.hbp .seg{display: flex;
  gap: 4px;
  background: #fff;
  border: 1.5px solid rgba(18, 52, 59, 0.2);
  border-radius: 14px;
  padding: 4px;}.hbp .seg button{flex: 1;
  border: 0;
  background: none;
  padding: 10px;
  border-radius: 10px;
  font:
    600 14px Figtree,
    sans-serif;
  color: var(--muted);
  cursor: pointer;}.hbp .seg button[aria-pressed="true"]{background: var(--teal);
  color: #fff;}.hbp .str{display: flex;
  gap: 4px;
  margin-top: 8px;}.hbp .str i{flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--line);}.hbp .fd small{display: block;
  margin-top: 5px;
  font-size: 13px;
  color: var(--muted);}.hbp .drop{display: block;
  border: 2px dashed rgba(18, 52, 59, 0.3);
  border-radius: 14px;
  padding: 22px;
  text-align: center;
  color: var(--teal);
  font-weight: 600;
  cursor: pointer;
  background: rgba(214, 195, 165, 0.2);}.hbp .fd > label.drop{font-size: 15px;
  margin: 0;}.hbp .pth{display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;}.hbp .pt{position: relative;
  width: 88px;
  height: 66px;
  border-radius: 10px;
  overflow: hidden;}.hbp .pt img{width: 100%;
  height: 100%;
  object-fit: cover;}.hbp .pt button{position: absolute;
  top: 3px;
  right: 3px;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: rgba(247, 244, 238, 0.92);
  cursor: pointer;
  line-height: 1;}
.hbp .geo-registration{margin-top: 6px;}.hbp .geo-hint{margin: -4px 0 10px;
  color: var(--muted);
  font-size: 14px;}.hbp .geo-map,.hbp .geo-map.hb-real-map{position: relative;
  inset: auto;
  width: 100%;
  height: 340px;
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #e0d2b6;}.hbp .geo-registration > .gbtn{margin-bottom: 8px;}.hbp .geo-consent{display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  color: var(--deep);
  font-weight: 500;}.hbp .geo-consent input{flex: 0 0 auto;
  margin-top: 4px;
  accent-color: var(--teal);}.hbp .geo-registration .er:not(:empty){display: block;}.hbp .hb-registration-marker{border: 0;
  background: none;}.hbp .hb-registration-marker span{display: block;
  width: 24px;
  height: 24px;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: #1f5963;
  box-shadow: 0 2px 8px rgba(18, 52, 59, 0.4);
  transform: rotate(-45deg);}.hbp .dgrid{display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.8fr);
  gap: 44px;
  align-items: start;
  padding-bottom: 28px;}.hbp .big{aspect-ratio: 16/10;
  border-radius: 24px;}.hbp .thumbs{display: flex;
  gap: 10px;
  margin-top: 10px;}.hbp .th{width: 96px;
  aspect-ratio: 4/3;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: none;}.hbp .th.on{border-color: var(--teal);}.hbp .th > *{display: block;
  width: 100%;
  height: 100%;}.hbp .dhead{margin-top: 22px;}.hbp .dhead h1{font-size: 30px;
  margin: 8px 0 2px;
  letter-spacing: -0.8px;
  color: var(--deep);}.hbp .tag2{background: var(--teal);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 999px;}.hbp .dmain h2{font-size: 19px;
  margin: 26px 0 8px;
  color: var(--deep);}.hbp .dfe,.hbp .sv{display: flex;
  flex-wrap: wrap;
  gap: 10px;}.hbp .dfe{margin: 16px 0 0;}.hbp .dfe span,.hbp .sv span{background: rgba(214, 195, 165, 0.42);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--deep);}.hbp .dside{position: sticky;
  top: 112px;
  border-left: 1px solid var(--line);
  padding-left: 32px;}.hbp .dprice{font:
    700 34px Sora,
    sans-serif;
  color: var(--deep);
  margin-bottom: 18px;}.hbp .dprice small{font: 400 15px Figtree;
  color: var(--muted);}.hbp .dside .sbtn,.hbp .dside .gbtn{margin-bottom: 10px;}.hbp .agm{display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);}.hbp .agm .mark{height: auto;}.hbp .agm b{display: block;
  color: var(--deep);}.hbp .agm span{font-size: 14px;
  color: var(--muted);}.hbp .dact{display: flex;
  gap: 10px;}.hbp .dact button{flex: 1;
  border: 1.5px solid rgba(18, 52, 59, 0.2);
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  font:
    600 14px Figtree,
    sans-serif;
  color: var(--deep);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;}.hbp .dact button.on{color: #b3402f;
  border-color: #b3402f;}.hbp .dact button.on svg{fill: currentColor;}.hbp .simh{font-size: 22px;
  margin: 16px 0 20px;
  color: var(--deep);}.hbp .mark{display: inline-flex;
  align-items: center;
  gap: 10px;
  font:
    700 21px Sora,
    sans-serif;
  color: var(--c);
  height: 80px;}
.hbp .done{text-align: center;
  padding: 70px 0 40px;}.hbp .okic{width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(31, 89, 99, 0.12);
  color: var(--teal);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;}.hbp .done h1{font-size: 32px;
  margin: 0 0 8px;
  color: var(--deep);}.hbp .done p{color: var(--muted);
  margin: 0 0 24px;}.hbp .acts{display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;}.hbp .acts .sbtn,.hbp .acts .gbtn{width: auto;
  padding: 13px 24px;}

/* ---- Mis publicaciones ---- */
.hbp .hbm-wrap{max-width:1200px;margin:0 auto;padding:34px 32px 60px;}
.hbp .hbm-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:22px;}
.hbp .hbm-head h1{font:600 34px Sora,sans-serif;letter-spacing:-1px;color:var(--deep);margin:0 0 6px;}
.hbp .hbm-head .sbtn{width:auto;display:inline-block;text-decoration:none;padding:13px 26px;}
.hbp .hbm-msg{padding:12px 16px;border-radius:14px;margin:0 0 16px;font-weight:500;}
.hbp .hbm-msg.ok{background:rgba(31,89,99,.12);color:var(--teal);}
.hbp .hbm-msg.err{background:#f6e0dc;color:#b3402f;}
.hbp .hbm-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:22px;}
.hbp .hbm-stats div{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px 18px;display:grid;gap:2px;}
.hbp .hbm-stats b{font:700 26px Sora,sans-serif;color:var(--deep);}
.hbp .hbm-stats span{color:var(--muted);font-size:14px;}
.hbp .hbm-tools{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin-bottom:22px;}
.hbp .hbm-tools input{flex:1;min-width:220px;padding:12px 16px;border:1.5px solid rgba(18,52,59,.2);border-radius:999px;background:#fff;font:400 16px Figtree,sans-serif;}
.hbp .hbm-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:28px 24px;}
.hbp .hbm-card[hidden]{display:none;}
.hbp .hbm-im{position:relative;aspect-ratio:4/3;border-radius:18px;overflow:hidden;background:#ece7dc;}
.hbp .hbm-im img{width:100%;height:100%;object-fit:cover;display:block;}
.hbp .hbm-tag{position:absolute;left:12px;top:12px;background:var(--cream);color:var(--deep);font-size:12px;font-weight:600;padding:4px 11px;border-radius:999px;}
.hbp .hbm-tag.hbm-inactive{background:#f1e3c3;}
.hbp .hbm-tag.hbm-draft{background:#e6e2da;color:var(--muted);}
.hbp .hbm-price{font:700 21px Sora,sans-serif;margin-top:12px;}
.hbp .hbm-card h3{font:600 15px Figtree,sans-serif;margin:2px 0;color:var(--ink);}
.hbp .hbm-card h3 a{color:inherit;}
.hbp .hbm-loc{color:var(--muted);font-size:14px;margin:0 0 8px;}
.hbp .hbm-acts{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px;}
.hbp .hbm-acts .gbtn{width:auto;display:inline-block;text-decoration:none;}
.hbp .hbm-del{color:#b3402f;}
.hbp .hbm-empty,.hbp .hbm-none{background:#fff;border:1px dashed rgba(18,52,59,.25);border-radius:22px;padding:48px 24px;text-align:center;color:var(--muted);}
.hbp .hbm-empty h3{font:600 22px Sora,sans-serif;color:var(--deep);margin:0 0 8px;}
.hbp .hbm-empty .sbtn{width:auto;display:inline-block;text-decoration:none;margin-top:14px;}
@media(max-width:800px){.hbp .hbm-stats{grid-template-columns:repeat(2,1fr);}.hbp .hbm-wrap{padding:24px 16px 48px;}}

/* ---- Centro de ayuda (FAQ) ---- */
.hbp .faq details{border-bottom:1px solid var(--line);padding:16px 0;}
.hbp .faq summary{font-weight:600;cursor:pointer;color:var(--deep);font-size:17px;}
.hbp .faq p{color:var(--muted);margin:10px 0 0;}

/* ---- Agencias ---- */
.hbp .agq{max-width:420px;}
.hbp .agq input{border-radius:999px;}
.hbp .agrow{display:grid;grid-template-columns:auto 1fr auto;gap:22px;align-items:center;padding:20px 0;border-bottom:1px solid var(--line);}
.hbp .agrow[hidden]{display:none;}
.hbp .agrow .mark{display:inline-flex;align-items:center;height:auto;}
.hbp .agrow .mark i{width:56px;height:56px;border-radius:50%;background:var(--c,var(--teal));color:#fff;font:700 24px Sora,sans-serif;font-style:normal;display:grid;place-items:center;}
.hbp .agrow .aglogo{width:56px;height:56px;border-radius:50%;object-fit:cover;background:#fff;border:1px solid var(--line);}
.hbp .agrow h3{margin:0;font:600 19px Sora,sans-serif;color:var(--deep);}
.hbp .agrow p{margin:2px 0 0;color:var(--muted);}
.hbp .agrow .gbtn{width:auto;display:inline-block;text-decoration:none;}
.hbp .agver{font:600 12px Figtree,sans-serif;color:var(--teal);background:rgba(31,89,99,.12);border-radius:999px;padding:3px 10px;margin-left:6px;vertical-align:middle;}
@media(max-width:640px){.hbp .agrow{grid-template-columns:auto 1fr;}.hbp .agrow .gbtn{grid-column:1 / -1;text-align:center;}}

/* Centrado del contenido de las pantallas (.wrap / .narrow no estaban definidos fuera de la hoja original) */
.hbp .wrap{max-width:1200px;margin-left:auto;margin-right:auto;}
.hbp .wrap.narrow{max-width:860px;}

/* ---- sugerencias de dirección ---- */
.hbp .hbp-sug{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:600;background:#fbf8f2;border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 44px rgba(18,52,59,.22);padding:6px;max-height:280px;overflow:auto;}
.hbp .hbp-sug[hidden]{display:none;}
.hbp .hbp-sug button{display:block;width:100%;text-align:left;border:0;background:none;padding:10px 12px;border-radius:10px;font:400 14px Figtree,sans-serif;color:var(--ink);cursor:pointer;}
.hbp .hbp-sug button:hover,.hbp .hbp-sug button:focus{background:rgba(214,195,165,.38);}

/* ---- casillas de venta (Infonavit / remate) ---- */
.hbp .hbp-sale{display:flex;gap:22px;flex-wrap:wrap;}
.hbp .hbp-sale[hidden],.hbp .hbp-check[hidden]{display:none;}
.hbp .hbp-check{display:inline-flex;align-items:center;gap:9px;}
.hbp .hbp-check input{width:18px;height:18px;accent-color:var(--teal);}
.hbp .hbp-check label{margin:0;font-weight:500;cursor:pointer;}

/* Mi cuenta: pestañas, favoritas y estadísticas */
.hbp .hb-tabs{display:inline-flex;gap:4px;background:#fff;padding:4px;border-radius:14px;box-shadow:0 4px 14px rgba(18,52,59,.08);margin:0 0 24px;}
.hbp .hb-tabs a{padding:9px 16px;border-radius:10px;font:600 15px Figtree,sans-serif;color:var(--muted);text-decoration:none;}
.hbp .hb-tabs a[aria-current="page"]{background:var(--teal);color:#fff;}
.hbp .hbm-price small{font:400 13px Figtree,sans-serif;color:var(--muted);}
.hbp .hbm-mst{margin:6px 0 0;font-size:13px;color:var(--muted);}
.hbp .hbm-mst b{color:var(--deep);}
.hbp .hbf-card{position:relative;min-width:0;}
.hbp .hbf-card > a{display:block;color:var(--ink);text-decoration:none;}
.hbp .hbf-heart{position:absolute;top:10px;right:10px;width:34px;height:34px;border:0;border-radius:50%;background:rgba(247,244,238,.94);color:#b3402f;display:grid;place-items:center;cursor:pointer;box-shadow:0 3px 10px rgba(0,0,0,.18);padding:0;}
.hbp .hbf-heart svg{fill:currentColor;}
.hbp .hbf-heart:disabled{opacity:.5;}
.hbp .hbm-empty .sbtn{display:inline-block;width:auto;}

/* Propiedad publicada */
.hbp.hb-done{text-align:center;padding:70px 0 80px;}
.hbp .okic{width:76px;height:76px;border-radius:50%;background:rgba(31,89,99,.12);color:var(--teal);display:grid;place-items:center;margin:0 auto 18px;}
.hbp.hb-done h1{font:700 32px Sora,sans-serif;margin:0 0 8px;color:var(--deep);}
.hbp.hb-done p{color:var(--muted);margin:0 0 24px;}
.hbp .acts{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;}
.hbp .acts a{display:inline-block;width:auto;padding:13px 24px;border-radius:14px;font:600 16px Figtree,sans-serif;text-decoration:none;}
.hbp .acts .sbtn{background:var(--teal);color:#fff;}
.hbp .acts .gbtn{background:#fff;color:var(--deep);border:1.5px solid rgba(18,52,59,.2);}
