/* Portada del portal vecinal */
#inicio {
  --jc-home-ink: #163c32;
  --jc-home-muted: #4c655c;
  --jc-home-line: #d6e1d9;
  color: var(--jc-home-ink);
  background: #f6f8f4;
  background-image: none;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  font: 400 1rem/1.45 Inter,system-ui,sans-serif;
}
#inicio:not(.active) { display: none !important; }
#inicio.active { display: block; }
#inicio .jc-start-wrap {
  box-sizing: border-box;
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: clamp(18px,3.2vw,42px) clamp(16px,4.3vw,56px) max(52px,calc(env(safe-area-inset-bottom) + 34px));
}
#inicio h1, #inicio h2, #inicio p { margin: 0; }
#inicio .jc-start-hero {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 12px; padding: 0 0 clamp(16px,2.4vw,29px); border-bottom: 1px solid var(--jc-home-line);
}
#inicio h1 { font-size: clamp(2rem,4.4vw,3.6rem); line-height: 1.08; font-weight: 720; letter-spacing: -.052em; }
#inicio h2 { font-size: clamp(1.14rem,2.2vw,1.5rem); line-height: 1.22; letter-spacing: -.022em; font-weight: 720; }
#inicio button { cursor: pointer; font: inherit; touch-action: manipulation; }
#inicio button:focus-visible, #inicio summary:focus-visible {
  outline: 3px solid #16805b; outline-offset: 3px;
}
#inicio svg, .jc-start-tab svg { width: 24px; height: 24px; flex: none; }
#inicio .jc-start-chat {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 9px 17px; border: 1px solid #115e48; border-radius: 100px;
  background: #125d48; color: #fff; font-size: .94rem; font-weight: 650;
}
#inicio .jc-start-chat svg { width: 20px; height: 20px; }
#inicio .jc-start-community, #inicio .jc-start-feeds { margin-top: clamp(22px,3.1vw,35px); }
#inicio .jc-start-services, #inicio .jc-start-sections, #inicio .jc-start-feeds { display: grid; gap: 10px; }
#inicio .jc-start-services, #inicio .jc-start-sections { margin-top: 13px; }
#inicio .jc-start-services { grid-template-columns: repeat(4,minmax(0,1fr)); }
#inicio .jc-start-sections { grid-template-columns: repeat(3,minmax(0,1fr)); }
#inicio .jc-start-tile {
  display: flex; align-items: center; gap: 12px; width: 100%; height: 100%;
  border: 1px solid var(--jc-home-line); border-radius: 13px;
  padding: 14px; background: white; color: inherit; text-align: start; white-space: normal;
}
#inicio .jc-start-services .jc-start-tile {
  flex-direction: column; align-items: flex-start; justify-content: flex-start;
  gap: 15px; min-height: 136px; background: #f0f5ed; border-color: #ccdcca;
}
#inicio .jc-start-symbol {
  flex: none; width: 39px; height: 39px; display: inline-grid; place-items: center;
  background: #e9f1e8; color: #28684a; border-radius: 10px;
}
#inicio .jc-start-services .jc-start-symbol { color: #245e41; background: #dcead8; }
#inicio .jc-start-copy { display: flex; flex-direction: column; min-width: 0; gap: 3px; }
#inicio .jc-start-copy strong { font-size: 1rem; line-height: 1.22; font-weight: 670; overflow-wrap: anywhere; }
#inicio .jc-start-copy small, #inicio .jc-start-empty { font-size: .875rem; line-height: 1.4; color: var(--jc-home-muted); font-weight: 450; }
#inicio .jc-start-tower { display: flex; flex-direction: column; min-width: 0; }
#inicio .jc-start-tower-actions { display: grid; gap: 2px; margin-top: 4px; padding: 4px 8px; background: white; border: 1px solid var(--jc-home-line); border-radius: 11px; }
#inicio .jc-start-tower-actions[hidden] { display: none; }
#inicio .jc-start-tower-actions button { text-align: start; }
#inicio .jc-start-new {
  display: inline-flex; align-items: center; align-self: flex-start; gap: 5px;
  font-size: .78rem; font-weight: 650; color: #246348;
}
#inicio .jc-start-new::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #2d8760; }
#inicio .jc-start-feeds { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 16px; }
#inicio .jc-start-feed { min-width: 0; padding: 15px 17px; border-radius: 13px; background: white; border: 1px solid var(--jc-home-line); }
#inicio .jc-start-feed-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 8px; }
#inicio .jc-start-feed-head h2 { font-size: 1.09rem; }
#inicio .jc-start-link { min-height: 40px; padding: 6px 2px; color: #146043; font-size: .875rem; font-weight: 650; background: transparent; border: 0; text-decoration: underline; text-underline-offset: 3px; }
#inicio .jc-start-feeds .jc-start-rows { margin-top: 5px; }
#inicio .jc-start-row {
  display: flex; align-items: center; gap: 10px; min-height: 53px; width: 100%;
  padding: 8px 0; text-align: start; border: 0; border-top: 1px solid #e8eee7; background: white; color: inherit;
}
#inicio .jc-start-row .jc-start-copy { flex: 1; }
#inicio .jc-start-row .jc-start-copy small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#inicio .jc-start-count { min-width: 24px; padding: 2px 6px; background: #e2f1e2; text-align: center; border-radius: 100px; font-size: .81rem; font-weight: 700; }
#inicio .jc-start-empty { margin: 3px 0 4px; }
#inicio .jc-start-status:not(:empty) { margin-top: 16px; color: #70452a; }
@media (hover:hover) {
  #inicio .jc-start-tile:hover { border-color: #8bad98; background: #f7faf5; }
  #inicio .jc-start-services .jc-start-tile:hover { background: #e8f0e3; border-color: #9ab69b; }
  #inicio .jc-start-chat:hover { background: #0c4b38; }
  #inicio .jc-start-row:hover { background: #f7faf5; }
}
@media (max-width:800px) {
  #inicio .jc-start-services, #inicio .jc-start-sections { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #inicio .jc-start-services .jc-start-tile { flex-direction: row; align-items: center; min-height: 82px; gap: 11px; }
}
@media (max-width:600px) {
  #inicio { scrollbar-gutter: auto; }
  #inicio .jc-start-wrap { padding-right: 20px; padding-left: 20px; }
  #inicio .jc-start-services, #inicio .jc-start-sections { gap: 8px; }
  #inicio .jc-start-services .jc-start-tile, #inicio .jc-start-tile { padding: 12px; gap: 9px; flex-direction: column; align-items: flex-start; }
  #inicio .jc-start-symbol { width: 34px; height: 34px; border-radius: 9px; }
  #inicio .jc-start-symbol svg { width: 21px; height: 21px; }
  #inicio .jc-start-copy strong { font-size: .94rem; }
  #inicio .jc-start-feeds { grid-template-columns: minmax(0,1fr); gap: 10px; }
  #inicio .jc-start-row .jc-start-symbol { display: none; }
}
@media (max-width:340px) {
  #inicio .jc-start-wrap { padding-inline: 13px; }
  #inicio .jc-start-chat { padding-inline: 11px; }
}
