/* ==========================================================
   CERCA — MI HOGAR V1
   ========================================================== */
#cercaHomePlaceV1,
#cercaHomePlaceEditV1{
  font-family:inherit;
  box-sizing:border-box;
}
#cercaHomePlaceV1 *,
#cercaHomePlaceEditV1 *{
  box-sizing:border-box;
}
html.ch1-lock{
  overflow:hidden!important;
}
.ch1-view{
  position:fixed;
  inset:0;
  z-index:2147481200;
  color:#eaf6fa;
  background:
    radial-gradient(circle at 88% 0%,rgba(56,189,248,.08),transparent 28%),
    radial-gradient(circle at 0% 46%,rgba(34,197,94,.045),transparent 26%),
    #050a0f;
  opacity:0;
  pointer-events:none;
  transform:translateY(8px);
  transition:opacity .16s ease,transform .16s ease;
}
.ch1-view.show{
  opacity:1;
  pointer-events:auto;
  transform:none;
}
.ch1-top{
  height:calc(58px + env(safe-area-inset-top,0px));
  padding:
    calc(8px + env(safe-area-inset-top,0px))
    12px 8px;
  position:absolute;
  inset:0 0 auto;
  z-index:20;
  display:grid;
  grid-template-columns:40px 1fr 40px;
  gap:9px;
  align-items:center;
  background:rgba(5,10,15,.95);
  border-bottom:1px solid rgba(255,255,255,.055);
  backdrop-filter:blur(18px);
}
.ch1-top > button{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.06);
  background:rgba(255,255,255,.028);
  color:#d8edf2;
}
.ch1-top > button .material-icons-round{font-size:20px}
.ch1-top > div{
  display:flex;
  flex-direction:column;
  min-width:0;
}
.ch1-top small{
  color:#687f89;
  font-size:.42rem;
  font-weight:900;
  letter-spacing:.11em;
}
.ch1-top strong{font-size:.76rem}
.ch1-scroll{
  position:absolute;
  inset:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  padding:
    calc(70px + env(safe-area-inset-top,0px))
    11px
    calc(94px + env(safe-area-inset-bottom,0px));
  scrollbar-width:none;
}
.ch1-scroll::-webkit-scrollbar{display:none}

.ch1-setup-hero{
  margin-top:6px;
  padding:22px 16px 17px;
  text-align:center;
  border-radius:20px;
  border:1px solid rgba(56,189,248,.09);
  background:linear-gradient(145deg,rgba(56,189,248,.05),rgba(255,255,255,.018));
}
.ch1-house-icon{
  width:58px;
  height:58px;
  margin:0 auto 10px;
  display:grid;
  place-items:center;
  border-radius:19px;
  color:#6ddaf7;
  background:rgba(56,189,248,.08);
  border:1px solid rgba(56,189,248,.12);
}
.ch1-house-icon .material-icons-round{font-size:29px}
.ch1-house-icon.compact{
  width:39px;
  height:39px;
  margin:0;
  border-radius:12px;
}
.ch1-house-icon.compact .material-icons-round{font-size:20px}
.ch1-setup-hero > small{
  color:#69818b;
  font-size:.43rem;
  font-weight:900;
  letter-spacing:.12em;
}
.ch1-setup-hero h1{
  margin:4px 0 5px;
  font-size:1rem;
}
.ch1-setup-hero p{
  max-width:320px;
  margin:0 auto;
  color:#738991;
  font-size:.5rem;
  line-height:1.42;
}
.ch1-setup-hero > button{
  min-height:45px;
  margin-top:14px;
  padding:0 14px;
  border-radius:13px;
  border:1px solid rgba(56,189,248,.13);
  background:rgba(56,189,248,.08);
  color:#bcecf7;
  font-size:.51rem;
  font-weight:850;
}
.ch1-setup-hero > button .material-icons-round{
  font-size:16px;
  vertical-align:-3px;
  margin-right:4px;
}
.ch1-setup-points{
  margin-top:14px;
  display:flex;
  justify-content:center;
  gap:9px;
  flex-wrap:wrap;
}
.ch1-setup-points span{
  color:#667e88;
  font-size:.4rem;
}
.ch1-setup-points i{
  font-size:13px;
  vertical-align:-3px;
  margin-right:2px;
  color:#6bd4ee;
  font-style:normal;
}
.ch1-info-card{
  margin-top:9px;
  padding:11px;
  display:grid;
  grid-template-columns:28px 1fr;
  gap:8px;
  border-radius:14px;
  border:1px solid rgba(34,197,94,.07);
  background:rgba(34,197,94,.02);
}
.ch1-info-card > .material-icons-round{font-size:18px;color:#4ade80}
.ch1-info-card strong{font-size:.52rem}
.ch1-info-card p{
  margin:3px 0 0;
  color:#617a69;
  font-size:.42rem;
  line-height:1.4;
}

.ch1-home-card{
  padding:11px;
  border-radius:16px;
  border:1px solid rgba(56,189,248,.09);
  background:rgba(56,189,248,.025);
}
.ch1-home-head{
  display:grid;
  grid-template-columns:40px minmax(0,1fr) 32px;
  gap:8px;
  align-items:center;
}
.ch1-home-head > div:nth-child(2){
  min-width:0;
}
.ch1-home-head small{
  display:block;
  color:#69828c;
  font-size:.39rem;
  font-weight:900;
  letter-spacing:.09em;
}
.ch1-home-head strong{
  display:block;
  margin-top:2px;
  font-size:.62rem;
}
.ch1-home-head p{
  margin:2px 0 0;
  color:#647c86;
  font-size:.42rem;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ch1-home-head > button{
  width:31px;
  height:31px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.05);
  background:rgba(255,255,255,.025);
  color:#75909a;
}
.ch1-home-head > button .material-icons-round{font-size:16px}
.ch1-home-meta{
  margin-top:8px;
  padding-top:7px;
  border-top:1px solid rgba(255,255,255,.04);
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  color:#66808b;
  font-size:.4rem;
}
.ch1-home-meta i{
  font-size:13px;
  vertical-align:-3px;
  margin-right:2px;
  color:#55cdec;
  font-style:normal;
}

.ch1-status-card{
  margin-top:9px;
  padding:12px;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  gap:9px;
  align-items:start;
  border-radius:16px;
  border:1px solid rgba(34,197,94,.09);
  background:rgba(34,197,94,.025);
}
.ch1-status-card.attention{
  border-color:rgba(234,179,8,.12);
  background:rgba(234,179,8,.03);
}
.ch1-status-card.alert{
  border-color:rgba(239,68,68,.14);
  background:rgba(239,68,68,.035);
}
.ch1-status-icon{
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border-radius:10px;
  color:#4ade80;
  background:rgba(34,197,94,.07);
}
.ch1-status-card.attention .ch1-status-icon{
  color:#facc15;
  background:rgba(234,179,8,.07);
}
.ch1-status-card.alert .ch1-status-icon{
  color:#fb7185;
  background:rgba(239,68,68,.08);
}
.ch1-status-icon .material-icons-round{font-size:18px}
.ch1-status-card small{
  display:block;
  color:#71858d;
  font-size:.38rem;
  font-weight:900;
  letter-spacing:.08em;
}
.ch1-status-card h2{
  margin:2px 0 0;
  font-size:.63rem;
}
.ch1-status-card p{
  margin:3px 0 0;
  color:#6a8089;
  font-size:.43rem;
}

.ch1-section{
  margin-top:9px;
  padding:12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.05);
  background:rgba(255,255,255,.018);
}
.ch1-heading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:9px;
  margin-bottom:9px;
}
.ch1-heading small{
  display:block;
  color:#657d87;
  font-size:.39rem;
  font-weight:900;
  letter-spacing:.09em;
}
.ch1-heading h2{
  margin:2px 0 0;
  font-size:.68rem;
}
.ch1-heading p{
  margin:2px 0 0;
  color:#667c85;
  font-size:.42rem;
  line-height:1.35;
}
.ch1-count{
  min-width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:10px;
  color:#7edcf4;
  background:rgba(56,189,248,.06);
  font-size:.5rem;
  font-weight:900;
}
.ch1-category-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:4px;
}
.ch1-cat{
  min-height:61px;
  padding:5px 2px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  text-align:center;
  border-radius:11px;
  border:1px solid rgba(255,255,255,.04);
  background:rgba(255,255,255,.015);
}
.ch1-cat.has{
  border-color:rgba(245,158,11,.08);
  background:rgba(245,158,11,.02);
}
.ch1-cat .material-icons-round{font-size:16px;color:#69848f}
.ch1-cat.has .material-icons-round{color:#f59e0b}
.ch1-cat strong{font-size:.5rem}
.ch1-cat small{color:#5e747e;font-size:.33rem}
.ch1-events{
  margin-top:7px;
  display:flex;
  flex-direction:column;
  gap:5px;
}
.ch1-event{
  padding:8px;
  display:grid;
  grid-template-columns:31px minmax(0,1fr);
  gap:7px;
  align-items:center;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.045);
  background:rgba(255,255,255,.014);
}
.ch1-event-icon{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:9px;
  color:#f59e0b;
  background:rgba(245,158,11,.055);
}
.ch1-event-icon .material-icons-round{font-size:16px}
.ch1-event-copy{min-width:0}
.ch1-event-copy > div{
  display:flex;
  gap:5px;
  flex-wrap:wrap;
  color:#667d87;
  font-size:.34rem;
}
.ch1-event-copy strong{
  display:block;
  margin-top:2px;
  font-size:.5rem;
}
.ch1-event-copy p{
  margin:2px 0 0;
  color:#5f7680;
  font-size:.39rem;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ch1-empty{
  min-height:61px;
  padding:9px;
  display:grid;
  grid-template-columns:28px minmax(0,1fr);
  gap:8px;
  align-items:center;
  border-radius:12px;
  border:1px dashed rgba(34,197,94,.08);
}
.ch1-empty > .material-icons-round{font-size:18px;color:#4ade80}
.ch1-empty > div{display:flex;flex-direction:column}
.ch1-empty strong{font-size:.49rem}
.ch1-empty small{
  margin-top:2px;
  color:#61786a;
  font-size:.39rem;
  line-height:1.35;
}

.ch1-weather-card{
  margin-top:9px;
  padding:11px;
  display:grid;
  grid-template-columns:34px minmax(0,1fr) 30px;
  gap:8px;
  align-items:center;
  border-radius:15px;
  border:1px solid rgba(56,189,248,.075);
  background:rgba(56,189,248,.022);
}
.ch1-weather-icon{
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border-radius:10px;
  color:#5bd5f5;
  background:rgba(56,189,248,.07);
}
.ch1-weather-icon .material-icons-round{font-size:18px}
.ch1-weather-card > div:nth-child(2){min-width:0}
.ch1-weather-card small{
  display:block;
  color:#63808b;
  font-size:.36rem;
  font-weight:900;
  letter-spacing:.08em;
}
.ch1-weather-card strong{
  display:block;
  margin-top:2px;
  font-size:.52rem;
}
.ch1-weather-card p{
  margin:2px 0 0;
  color:#607984;
  font-size:.4rem;
}
.ch1-weather-card > button{
  width:29px;
  height:29px;
  border-radius:9px;
  border:1px solid rgba(255,255,255,.04);
  background:rgba(255,255,255,.018);
  color:#68808a;
}
.ch1-weather-card > button .material-icons-round{font-size:16px}

.ch1-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
}
.ch1-actions button{
  min-height:67px;
  padding:7px;
  border-radius:12px;
  border:1px solid rgba(56,189,248,.055);
  background:rgba(56,189,248,.018);
  color:#d9ebef;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
}
.ch1-actions .material-icons-round{font-size:19px;color:#57d0ef}
.ch1-actions strong{font-size:.49rem}
.ch1-actions small{color:#617984;font-size:.38rem}

.ch1-monitor-list{
  display:flex;
  flex-direction:column;
  gap:5px;
}
.ch1-monitor{
  min-height:43px;
  padding:7px 8px;
  display:grid;
  grid-template-columns:26px 1fr 38px;
  gap:7px;
  align-items:center;
  border-radius:11px;
  border:1px solid rgba(255,255,255,.04);
}
.ch1-monitor > .material-icons-round{font-size:16px;color:#6e8a95}
.ch1-monitor strong{font-size:.48rem}
.ch1-monitor input{display:none}
.ch1-monitor i{
  width:34px;
  height:20px;
  position:relative;
  border-radius:999px;
  background:#17252c;
}
.ch1-monitor i::after{
  content:'';
  width:14px;
  height:14px;
  position:absolute;
  left:3px;
  top:3px;
  border-radius:50%;
  background:#68808a;
  transition:.15s ease;
}
.ch1-monitor input:checked + i{
  background:rgba(56,189,248,.18);
}
.ch1-monitor input:checked + i::after{
  left:17px;
  background:#67d8f4;
}
.ch1-radius-inline{
  margin-top:8px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.ch1-radius-inline > span{
  color:#687f89;
  font-size:.42rem;
  font-weight:850;
}
.ch1-radius-inline > div{
  display:flex;
  gap:4px;
}
.ch1-radius-inline button{
  min-height:28px;
  padding:0 8px;
  border-radius:9px;
  border:1px solid rgba(255,255,255,.05);
  background:rgba(255,255,255,.018);
  color:#718994;
  font-size:.4rem;
}
.ch1-radius-inline button.active{
  color:#a9e8f7;
  border-color:rgba(56,189,248,.12);
  background:rgba(56,189,248,.06);
}

.ch1-privacy-card{
  margin-top:9px;
  padding:10px;
  display:grid;
  grid-template-columns:27px minmax(0,1fr) auto;
  gap:7px;
  align-items:center;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.045);
}
.ch1-privacy-card > .material-icons-round{font-size:17px;color:#4ade80}
.ch1-privacy-card strong{font-size:.48rem}
.ch1-privacy-card p{
  margin:2px 0 0;
  color:#5e7666;
  font-size:.38rem;
  line-height:1.35;
}
.ch1-privacy-card button{
  min-height:29px;
  padding:0 7px;
  border-radius:8px;
  border:1px solid rgba(239,68,68,.07);
  background:rgba(239,68,68,.025);
  color:#b9878d;
  font-size:.38rem;
}

/* Editor */
.ch1-layer{
  position:fixed;
  inset:0;
  z-index:2147481400;
  display:flex;
  align-items:flex-end;
  background:rgba(0,0,0,.58);
  backdrop-filter:blur(5px);
  opacity:0;
  pointer-events:none;
  transition:opacity .16s ease;
}
.ch1-layer.show{
  opacity:1;
  pointer-events:auto;
}
.ch1-sheet{
  width:100%;
  max-height:90vh;
  overflow-y:auto;
  padding:8px 12px calc(15px + env(safe-area-inset-bottom,0px));
  border-radius:22px 22px 0 0;
  border-top:1px solid rgba(255,255,255,.07);
  background:#071017;
  color:#e9f5f9;
  transform:translateY(24px);
  transition:transform .16s ease;
}
.ch1-layer.show .ch1-sheet{transform:none}
.ch1-handle{
  width:38px;
  height:4px;
  margin:0 auto 9px;
  border-radius:999px;
  background:#263a44;
}
.ch1-sheet header{
  display:grid;
  grid-template-columns:minmax(0,1fr) 35px;
  gap:8px;
  align-items:start;
}
.ch1-sheet header small{
  color:#667e89;
  font-size:.39rem;
  font-weight:900;
  letter-spacing:.1em;
}
.ch1-sheet header h2{margin:2px 0 0;font-size:.75rem}
.ch1-sheet header button{
  width:33px;
  height:33px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.05);
  background:rgba(255,255,255,.025);
  color:#849da7;
}
.ch1-sheet header button .material-icons-round{font-size:17px}
.ch1-field{
  margin-top:9px;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.ch1-field > span{
  color:#687f89;
  font-size:.4rem;
  font-weight:800;
}
.ch1-field input,
.ch1-field textarea{
  width:100%;
  border:1px solid rgba(255,255,255,.06);
  outline:0;
  border-radius:11px;
  background:#08141a;
  color:#e4f1f4;
  font-family:inherit;
  font-size:.5rem;
}
.ch1-field input{
  height:39px;
  padding:0 9px;
}
.ch1-field textarea{
  padding:9px;
  resize:none;
}
.ch1-location-methods{
  margin-top:8px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
}
.ch1-location-methods button{
  min-height:60px;
  padding:7px;
  display:grid;
  grid-template-columns:25px minmax(0,1fr);
  gap:6px;
  align-items:center;
  text-align:left;
  border-radius:12px;
  border:1px solid rgba(56,189,248,.06);
  background:rgba(56,189,248,.018);
  color:#d5e9ee;
}
.ch1-location-methods > button > .material-icons-round{font-size:17px;color:#57d1f2}
.ch1-location-methods button > div{display:flex;flex-direction:column}
.ch1-location-methods strong{font-size:.45rem}
.ch1-location-methods small{margin-top:2px;color:#607985;font-size:.36rem;line-height:1.25}
.ch1-selected{
  margin-top:8px;
  min-height:55px;
  padding:8px;
  display:grid;
  grid-template-columns:28px minmax(0,1fr);
  gap:7px;
  align-items:center;
  border-radius:12px;
  border:1px dashed rgba(56,189,248,.08);
}
.ch1-selected > .material-icons-round{font-size:18px;color:#59d1f1}
.ch1-selected > div{display:flex;flex-direction:column}
.ch1-selected strong{font-size:.48rem}
.ch1-selected small{margin-top:2px;color:#607984;font-size:.38rem;line-height:1.3}
.ch1-radius{
  margin-top:9px;
}
.ch1-radius > small{
  color:#657e88;
  font-size:.38rem;
  font-weight:900;
  letter-spacing:.09em;
}
.ch1-radius > div{
  margin-top:5px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:5px;
}
.ch1-radius button{
  min-height:33px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.05);
  background:rgba(255,255,255,.018);
  color:#708995;
  font-size:.42rem;
}
.ch1-radius button.active{
  color:#b0eaf7;
  border-color:rgba(56,189,248,.13);
  background:rgba(56,189,248,.06);
}
.ch1-save{
  width:100%;
  min-height:43px;
  margin-top:10px;
  border-radius:12px;
  border:1px solid rgba(56,189,248,.12);
  background:rgba(56,189,248,.08);
  color:#c8edf5;
  font-size:.49rem;
  font-weight:850;
}
.ch1-save:disabled{opacity:.35}
.ch1-save .material-icons-round{
  font-size:16px;
  vertical-align:-3px;
  margin-right:3px;
}
.ch1-privacy{
  margin:8px 3px 0;
  color:#58706a;
  text-align:center;
  font-size:.37rem;
  line-height:1.4;
}
.ch1-spin{animation:ch1Spin 1s linear infinite}
@keyframes ch1Spin{to{transform:rotate(360deg)}}

@media(min-width:700px){
  .ch1-scroll{
    left:50%;
    width:520px;
    transform:translateX(-50%);
  }
  .ch1-sheet{
    max-width:520px;
    margin:0 auto;
  }
}
@media(max-width:365px){
  .ch1-scroll{padding-left:8px;padding-right:8px}
  .ch1-section{padding:10px}
  .ch1-category-grid{gap:3px}
  .ch1-cat small{font-size:.3rem}
}


/* ==========================================================
   CERCA_V617 · MI HOGAR V2 · REGRESO + TRAFICO
   ========================================================== */
.ch2-return-card{
  margin:14px 16px;
  padding:16px;
  border-radius:22px;
  background:var(--surface,#fff);
  border:1px solid rgba(120,120,120,.18);
  box-shadow:0 10px 30px rgba(0,0,0,.07);
}
.ch2-return-head{display:flex;gap:12px;align-items:flex-start}
.ch2-return-head>span{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:rgba(54,112,255,.10)}
.ch2-return-head div{min-width:0;flex:1}
.ch2-return-head small,.ch2-traffic small{font-size:11px;font-weight:800;letter-spacing:.08em;opacity:.65}
.ch2-return-head strong,.ch2-traffic strong{display:block;font-size:17px;line-height:1.25;margin-top:2px}
.ch2-return-head p,.ch2-traffic p{margin:5px 0 0;font-size:13px;line-height:1.45;opacity:.74}
.ch2-traffic{margin-top:14px;padding:13px;border-radius:17px;background:rgba(120,120,120,.07)}
.ch2-traffic-badge{display:inline-flex;align-items:center;min-height:24px;padding:0 9px;border-radius:999px;font-size:10px;font-weight:900;letter-spacing:.06em;margin-bottom:7px;background:rgba(60,160,90,.13)}
.ch2-return-card.moderate .ch2-traffic-badge{background:rgba(232,166,33,.17)}
.ch2-return-card.heavy .ch2-traffic-badge{background:rgba(220,70,70,.14)}
.ch2-return-card.loading .ch2-traffic-badge{animation:ch2Pulse 1.15s ease-in-out infinite}
.ch2-return-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:13px}
.ch2-return-actions button{min-height:44px;border:0;border-radius:14px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:7px;background:rgba(120,120,120,.09);color:inherit}
.ch2-return-actions button:last-child{background:rgba(54,112,255,.13)}
.ch2-return-actions .material-icons-round{font-size:19px}
.ch2-radius-section .ch1-heading p{max-width:32rem}
@keyframes ch2Pulse{50%{opacity:.48}}


/* ==========================================================
   CERCA_V618 · MI HOGAR REDISEÑO COMPACTO / DARK SAFE
   Corrige tarjeta blanca y elimina repetición visual de V617.
   ========================================================== */
#cercaHomePlaceV1 .ch3-dashboard{
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:14px 14px calc(30px + env(safe-area-inset-bottom,0px));
  color:#edf8fb;
}
#cercaHomePlaceV1 .ch3-dashboard *{box-sizing:border-box}
#cercaHomePlaceV1 .ch3-home-card,
#cercaHomePlaceV1 .ch3-state-card,
#cercaHomePlaceV1 .ch3-return-card,
#cercaHomePlaceV1 .ch3-activity-card,
#cercaHomePlaceV1 .ch3-quiet-card,
#cercaHomePlaceV1 .ch3-weather-card,
#cercaHomePlaceV1 .ch3-quick-card,
#cercaHomePlaceV1 .ch3-radius-card,
#cercaHomePlaceV1 .ch3-privacy-card{
  width:100%;
  margin:0;
  border:1px solid rgba(116,214,239,.09);
  background:linear-gradient(180deg,#081923 0%,#06131b 100%);
  color:#edf8fb;
  box-shadow:0 12px 32px rgba(0,0,0,.16);
}
#cercaHomePlaceV1 .ch3-home-card{
  min-height:116px;
  padding:16px;
  border-radius:22px;
  display:grid;
  grid-template-columns:52px minmax(0,1fr) 40px;
  gap:12px;
  align-items:start;
}
#cercaHomePlaceV1 .ch3-home-icon{
  width:52px;height:52px;border-radius:17px;
  display:grid;place-items:center;
  background:rgba(52,210,242,.08);
  border:1px solid rgba(52,210,242,.12);
  color:#5bd9f4;
}
#cercaHomePlaceV1 .ch3-home-icon .material-icons-round{font-size:26px}
#cercaHomePlaceV1 .ch3-home-copy{min-width:0}
#cercaHomePlaceV1 .ch3-home-copy small,
#cercaHomePlaceV1 .ch3-section-head small,
#cercaHomePlaceV1 .ch3-state-card small,
#cercaHomePlaceV1 .ch3-weather-card small,
#cercaHomePlaceV1 .ch3-radius-card small{
  display:block;
  color:#6ecfe5;
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
}
#cercaHomePlaceV1 .ch3-home-copy>strong{
  display:block;margin-top:3px;font-size:18px;line-height:1.15;color:#f6fcff;
}
#cercaHomePlaceV1 .ch3-home-copy>p{
  margin:4px 0 0;color:#78909a;font-size:12px;line-height:1.35;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
#cercaHomePlaceV1 .ch3-home-meta{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}
#cercaHomePlaceV1 .ch3-home-meta span{
  display:inline-flex;align-items:center;gap:5px;
  min-height:26px;padding:0 8px;border-radius:999px;
  background:#07141c;border:1px solid rgba(255,255,255,.05);
  color:#8da5ae;font-size:11px;
}
#cercaHomePlaceV1 .ch3-home-meta i{font-size:14px;color:#52d4ee}
#cercaHomePlaceV1 .ch3-icon-btn{
  width:40px;height:40px;border-radius:13px;border:1px solid rgba(255,255,255,.06);
  background:#07141c;color:#78929d;display:grid;place-items:center;
}
#cercaHomePlaceV1 .ch3-icon-btn .material-icons-round{font-size:19px}
#cercaHomePlaceV1 .ch3-state-card{
  min-height:88px;padding:14px;border-radius:20px;
  display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:11px;align-items:center;
}
#cercaHomePlaceV1 .ch3-state-icon{
  width:42px;height:42px;border-radius:14px;display:grid;place-items:center;
  background:rgba(45,197,111,.08);color:#42dc8a;
}
#cercaHomePlaceV1 .ch3-state-card.attention .ch3-state-icon{background:rgba(242,176,58,.10);color:#f4bd55}
#cercaHomePlaceV1 .ch3-state-card.alert .ch3-state-icon{background:rgba(240,81,81,.10);color:#ff7373}
#cercaHomePlaceV1 .ch3-state-card strong{display:block;margin-top:3px;font-size:15px;color:#f1f9fc}
#cercaHomePlaceV1 .ch3-state-card p{margin:4px 0 0;font-size:12px;line-height:1.4;color:#78909a}
#cercaHomePlaceV1 .ch3-state-count{
  min-width:30px;height:30px;padding:0 8px;border-radius:10px;display:grid;place-items:center;
  background:#07141c;color:#72d8ec;font-size:12px;font-weight:900;
}
#cercaHomePlaceV1 .ch3-return-card{
  padding:16px;border-radius:24px;
  background:
    radial-gradient(circle at 96% 6%,rgba(44,191,230,.10),transparent 32%),
    linear-gradient(180deg,#071c28 0%,#06131c 100%);
  border-color:rgba(72,206,238,.14);
}
#cercaHomePlaceV1 .ch3-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
#cercaHomePlaceV1 .ch3-section-head h2{margin:4px 0 0;font-size:20px;line-height:1.18;color:#f7fcff}
#cercaHomePlaceV1 .ch3-section-head p{margin:5px 0 0;font-size:12px;line-height:1.45;color:#7f969f}
#cercaHomePlaceV1 .ch3-section-head.compact h2{font-size:17px}
#cercaHomePlaceV1 .ch3-return-icon{
  flex:0 0 auto;width:42px;height:42px;border-radius:14px;display:grid;place-items:center;
  background:rgba(49,205,239,.08);color:#59d7f1;font-size:21px;
}
#cercaHomePlaceV1 .ch3-traffic-strip{
  margin-top:14px;padding:13px 14px;border-radius:18px;
  display:grid;grid-template-columns:minmax(100px,.85fr) 1.15fr;gap:12px;align-items:center;
  background:#051018;border:1px solid rgba(255,255,255,.05);
}
#cercaHomePlaceV1 .ch3-eta strong{display:block;font-size:28px;line-height:1;color:#f5fbfd}
#cercaHomePlaceV1 .ch3-eta span{display:block;margin-top:5px;color:#667f89;font-size:10px}
#cercaHomePlaceV1 .ch3-traffic-info{min-width:0;padding-left:12px;border-left:1px solid rgba(255,255,255,.06)}
#cercaHomePlaceV1 .ch3-traffic-badge{
  display:inline-flex;align-items:center;min-height:22px;padding:0 8px;border-radius:999px;
  background:rgba(45,197,111,.10);color:#71e5a4;font-size:9px;font-weight:900;letter-spacing:.06em;
}
#cercaHomePlaceV1 .ch3-return-card.moderate .ch3-traffic-badge{background:rgba(242,176,58,.11);color:#f1c26b}
#cercaHomePlaceV1 .ch3-return-card.heavy .ch3-traffic-badge{background:rgba(240,81,81,.11);color:#ff8585}
#cercaHomePlaceV1 .ch3-return-card.loading .ch3-traffic-badge{animation:ch2Pulse 1.15s ease-in-out infinite}
#cercaHomePlaceV1 .ch3-traffic-info strong{display:block;margin-top:6px;font-size:14px;color:#e8f5f8}
#cercaHomePlaceV1 .ch3-traffic-info small{display:block;margin-top:2px;font-size:10px;color:#6d8690}
#cercaHomePlaceV1 .ch3-traffic-message{display:grid;grid-template-columns:22px minmax(0,1fr);gap:8px;align-items:start;margin-top:11px}
#cercaHomePlaceV1 .ch3-traffic-message>.material-icons-round{font-size:18px;color:#58d3ee;margin-top:1px}
#cercaHomePlaceV1 .ch3-traffic-message p{margin:0;font-size:11px;line-height:1.45;color:#728a94}
#cercaHomePlaceV1 .ch3-traffic-message strong{color:#a9c1ca}
#cercaHomePlaceV1 .ch3-return-actions{display:grid;grid-template-columns:1.25fr .75fr;gap:9px;margin-top:14px}
#cercaHomePlaceV1 .ch3-return-actions button{
  min-height:44px;border-radius:14px;border:1px solid rgba(255,255,255,.06);
  background:#07141c;color:#9bb0b8;font-size:12px;font-weight:850;
  display:flex;align-items:center;justify-content:center;gap:7px;
}
#cercaHomePlaceV1 .ch3-return-actions button.primary{
  background:rgba(41,197,229,.11);border-color:rgba(41,197,229,.16);color:#baf1fb;
}
#cercaHomePlaceV1 .ch3-return-actions .material-icons-round{font-size:18px}
#cercaHomePlaceV1 .ch3-activity-card{padding:15px;border-radius:22px}
#cercaHomePlaceV1 .ch3-activity-count{
  min-width:31px;height:31px;padding:0 8px;border-radius:10px;display:grid;place-items:center;
  background:#07141c;color:#6ed5eb;font-size:12px;font-weight:900;
}
#cercaHomePlaceV1 .ch3-events{display:flex;flex-direction:column;gap:7px;margin-top:11px}
#cercaHomePlaceV1 .ch3-events .ch1-event{
  margin:0;padding:10px;border-radius:14px;background:#061119;border:1px solid rgba(255,255,255,.04);
}
#cercaHomePlaceV1 .ch3-link-btn{
  width:100%;min-height:40px;margin-top:10px;border-radius:12px;border:1px solid rgba(53,203,235,.08);
  background:rgba(53,203,235,.04);color:#79d9ec;font-size:11px;font-weight:800;
  display:flex;align-items:center;justify-content:center;gap:3px;
}
#cercaHomePlaceV1 .ch3-link-btn .material-icons-round{font-size:17px}
#cercaHomePlaceV1 .ch3-quiet-card{
  padding:14px;border-radius:20px;display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:10px;align-items:center;
}
#cercaHomePlaceV1 .ch3-quiet-card>.material-icons-round{
  width:38px;height:38px;border-radius:13px;display:grid;place-items:center;background:rgba(45,197,111,.08);color:#43da88;font-size:20px;
}
#cercaHomePlaceV1 .ch3-quiet-card strong{display:block;font-size:13px;color:#eaf6f9}
#cercaHomePlaceV1 .ch3-quiet-card p{margin:3px 0 0;color:#6f8790;font-size:10px;line-height:1.35}
#cercaHomePlaceV1 .ch3-quiet-card button{
  min-height:34px;padding:0 9px;border-radius:10px;border:1px solid rgba(53,203,235,.09);
  background:rgba(53,203,235,.04);color:#73d4e8;font-size:10px;font-weight:800;
}
#cercaHomePlaceV1 .ch3-weather-card{
  min-height:84px;padding:13px 14px;border-radius:20px;display:grid;
  grid-template-columns:40px minmax(0,1fr) 24px;gap:10px;align-items:center;text-align:left;
  font-family:inherit;
}
#cercaHomePlaceV1 .ch3-weather-icon{
  width:40px;height:40px;border-radius:13px;display:grid;place-items:center;
  background:rgba(74,142,255,.08);color:#78aef8;font-size:20px;
}
#cercaHomePlaceV1 .ch3-weather-card strong{display:block;margin-top:3px;font-size:13px;color:#ecf7fa}
#cercaHomePlaceV1 .ch3-weather-card p{margin:3px 0 0;font-size:10px;line-height:1.35;color:#708892}
#cercaHomePlaceV1 .ch3-weather-card>span:last-child{color:#53707b;font-size:19px}
#cercaHomePlaceV1 .ch3-quick-card{padding:14px;border-radius:20px}
#cercaHomePlaceV1 .ch3-quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:10px}
#cercaHomePlaceV1 .ch3-quick-actions button{
  min-height:65px;border-radius:14px;border:1px solid rgba(255,255,255,.05);background:#061119;color:#8ca3ad;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;
}
#cercaHomePlaceV1 .ch3-quick-actions .material-icons-round{font-size:20px;color:#5dcfe8}
#cercaHomePlaceV1 .ch3-quick-actions strong{font-size:10px}
#cercaHomePlaceV1 .ch3-radius-card{
  padding:13px 14px;border-radius:18px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;
}
#cercaHomePlaceV1 .ch3-radius-card>div:first-child>strong{display:block;margin-top:3px;font-size:12px;color:#e8f4f7}
#cercaHomePlaceV1 .ch3-radius-buttons{display:flex;gap:5px}
#cercaHomePlaceV1 .ch3-radius-buttons button{
  min-width:54px;height:32px;padding:0 8px;border-radius:10px;border:1px solid rgba(255,255,255,.05);
  background:#061119;color:#6f8791;font-size:10px;font-weight:800;
}
#cercaHomePlaceV1 .ch3-radius-buttons button.active{
  border-color:rgba(52,207,239,.17);background:rgba(52,207,239,.08);color:#9ae6f5;
}
#cercaHomePlaceV1 .ch3-privacy-card{
  min-height:70px;padding:12px 13px;border-radius:18px;display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:9px;align-items:center;
  box-shadow:none;
}
#cercaHomePlaceV1 .ch3-privacy-card>.material-icons-round{color:#66818c;font-size:18px}
#cercaHomePlaceV1 .ch3-privacy-card strong{display:block;font-size:11px;color:#9eb3bb}
#cercaHomePlaceV1 .ch3-privacy-card p{margin:2px 0 0;font-size:9px;line-height:1.35;color:#58717b}
#cercaHomePlaceV1 .ch3-privacy-card button{
  min-height:31px;padding:0 9px;border-radius:9px;border:1px solid rgba(255,255,255,.05);background:#061119;color:#748b94;font-size:9px;
}
@media(max-width:380px){
  #cercaHomePlaceV1 .ch3-dashboard{padding-left:10px;padding-right:10px}
  #cercaHomePlaceV1 .ch3-home-card{grid-template-columns:46px minmax(0,1fr) 36px;padding:13px}
  #cercaHomePlaceV1 .ch3-home-icon{width:46px;height:46px}
  #cercaHomePlaceV1 .ch3-return-card{padding:14px}
  #cercaHomePlaceV1 .ch3-traffic-strip{grid-template-columns:1fr 1fr;padding:11px}
  #cercaHomePlaceV1 .ch3-radius-card{grid-template-columns:1fr}
  #cercaHomePlaceV1 .ch3-radius-buttons{width:100%}
  #cercaHomePlaceV1 .ch3-radius-buttons button{flex:1}
}


/* ==========================================================
   CERCA_V620 · MI HOGAR CONTEXTUAL
   EN CASA = vigilancia; FUERA = regreso + tráfico.
   ========================================================== */
#cercaHomePlaceV1 .ch4-at-home-card{
  display:grid;
  grid-template-columns:54px minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  padding:18px;
  border-radius:24px;
  border:1px solid rgba(71,215,239,.20);
  background:
    radial-gradient(circle at 100% 0,rgba(42,211,230,.12),transparent 38%),
    linear-gradient(145deg,rgba(8,39,50,.96),rgba(4,25,34,.98));
  box-shadow:0 16px 36px rgba(0,0,0,.16);
}
#cercaHomePlaceV1 .ch4-at-home-icon{
  width:54px;height:54px;border-radius:18px;display:grid;place-items:center;
  background:rgba(39,201,224,.12);border:1px solid rgba(65,217,239,.18);
  color:#52d4ee;
}
#cercaHomePlaceV1 .ch4-at-home-icon .material-icons-round{font-size:27px}
#cercaHomePlaceV1 .ch4-at-home-copy{min-width:0}
#cercaHomePlaceV1 .ch4-at-home-copy small{
  display:block;color:#6ed8ec;font-size:11px;font-weight:900;letter-spacing:.12em;margin-bottom:4px
}
#cercaHomePlaceV1 .ch4-at-home-copy strong{
  display:block;color:#f5fbff;font-size:20px;line-height:1.14;font-weight:900
}
#cercaHomePlaceV1 .ch4-at-home-copy p{
  margin:7px 0 0;color:#9cb0bb;font-size:13px;line-height:1.45
}
#cercaHomePlaceV1 .ch4-at-home-badge{
  align-self:start;white-space:nowrap;padding:7px 10px;border-radius:999px;
  background:rgba(53,211,139,.12);border:1px solid rgba(53,211,139,.18);
  color:#66e4a3;font-size:10px;font-weight:900;letter-spacing:.08em
}
@media(max-width:430px){
  #cercaHomePlaceV1 .ch4-at-home-card{grid-template-columns:46px minmax(0,1fr);padding:15px}
  #cercaHomePlaceV1 .ch4-at-home-icon{width:46px;height:46px;border-radius:15px}
  #cercaHomePlaceV1 .ch4-at-home-badge{grid-column:2;justify-self:start;margin-top:-2px}
}
