/* Approved 03-home-acoes-e-descobertas.png, normalized to the app's existing
   mobile density. The illustration is an asset; all copy and controls are HTML. */
.home-visually-hidden { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.product-ready .home-quick-replies { grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; gap:7px 9px; margin-top:2px; }
.product-ready .home-quick-replies .product-button { justify-self:center; width:fit-content; max-width:100%; min-width:0; min-height:30px; padding:5px 13px; font-size:11px; line-height:1.4; text-align:center; overflow-wrap:anywhere; }
.product-ready .home-quick-replies .product-button:first-child { grid-column:1/-1; }
.product-ready .home-more-ideas { align-self:center; display:inline-flex; justify-content:center; align-items:center; gap:6px; color:var(--io-text-teal, #087c88); padding:7px 10px; min-height:32px; margin:0 0 7px; font:inherit; font-size:11px; background:transparent; border:0; cursor:pointer; }
.home-more-ideas svg { width:16px; height:16px; }
.product-ready .home-draft-status { font-size:11px; line-height:1.5; color:var(--io-text-secondary); margin:0; text-align:center; }
.home-discovery-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.product-ready .home-discovery-heading h2 { margin:0; font-size:var(--io-home-section,11px); font-weight:600; line-height:1.4; }
.home-discovery-heading .product-text-button { border:0; background:transparent; color:var(--io-text-teal, #087c88); font:inherit; font-size:11px; min-height:28px; padding:3px 0 3px 6px; cursor:pointer; }
.product-ready .home-discovery.product-section { margin-top:7px; gap:6px; }
.product-ready [data-home-updates] { display:grid; grid-template-columns:minmax(0,1fr); gap:10px; }
.home-story { position:relative; min-width:0; overflow:hidden; isolation:isolate; border:1px solid var(--io-border); border-radius:11px; background:var(--io-canvas, #f7f3ec); color:var(--io-text); }
.home-story-photo { display:block; width:100%; height:100%; object-fit:cover; }
.home-story-copy { display:flex; flex-direction:column; gap:5px; min-width:0; padding:12px; }
.home-story-label { align-self:flex-start; max-width:100%; color:var(--io-text-secondary); font-size:8px; font-weight:500; line-height:1.35; text-transform:uppercase; border:1px solid currentColor; border-radius:999px; padding:3px 5px; overflow-wrap:anywhere; }
.home-story h3 { margin:0; font-size:14px; font-weight:600; line-height:1.35; letter-spacing:-.015em; overflow-wrap:anywhere; }
.home-story-meta { margin:0; font-size:10px; line-height:1.4; color:var(--io-text-secondary); }
.home-story-actions { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:7px; margin-top:auto; padding-top:3px; }
.product-ready .home-story .product-button { display:inline-flex; align-items:center; justify-content:center; gap:5px; min-height:28px; padding:5px 15px; font-size:11px; font-weight:500; line-height:1.3; border-radius:999px; text-decoration:none; width:fit-content; max-width:100%; text-align:center; }
.home-story .product-button svg { width:15px; height:15px; flex-shrink:0; }
.home-feature { min-height:177px; display:flex; flex-direction:column; justify-content:flex-end; }
.home-feature.has-photo { color:#fff; background:#29251f; }
.home-feature>.home-story-photo { position:absolute; inset:0; z-index:-2; }
.home-feature.has-photo::before { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg,rgba(0,0,0,.15),rgba(0,0,0,.22) 25%,rgba(0,0,0,.78) 100%); }
.home-feature .home-story-copy { min-height:177px; padding:12px; gap:5px; }
.home-feature .home-story-label { margin-bottom:auto; }
.home-feature.has-photo .home-story-label { color:#fff; background:#24211dc4; }
.home-feature .home-story-label.is-live { color:#fff; background:#a4231a; border-color:#a4231a; }
.home-feature h3 { margin-top:20px; font-size:18px; line-height:1.25; font-weight:600; }
.home-feature.has-photo .home-story-meta { color:#f7f3ec; }
.home-feature .home-story-actions { margin-top:1px; }
.home-save { display:grid; place-items:center; width:30px; height:30px; padding:5px; border:1px solid currentColor; border-radius:50%; background:transparent; color:inherit; cursor:pointer; }
.home-save svg { width:16px; height:16px; }
.home-save[aria-pressed="true"] { background:var(--io-gold, #edbb74); color:#25231e; border-color:var(--io-gold, #edbb74); }
.home-save:disabled { opacity:.5; cursor:default; }
.home-compact { display:grid; grid-template-columns:minmax(0,1fr); min-height:107px; }
.home-compact.has-photo { grid-template-columns:33% minmax(0,1fr); }
.home-compact>.home-story-photo { align-self:stretch; height:100%; min-height:107px; }
.home-compact .home-story-copy { padding:10px 11px; }
.home-compact .home-story-label { color:#fff; background:#267743; border-color:transparent; }
.home-compact .home-story-actions { justify-content:flex-end; }
.home-utility .home-story-label { color:#fff; background:#007f8e; border-color:transparent; }
.home-utility .home-story-photo { object-position:48% 50%; }
.home-update-status:empty { display:none; }
.home-update-status, .home-feed-empty { margin:0; color:var(--io-text-secondary); font-size:11px; line-height:1.5; }
.home-feed-empty { padding:14px 0; }
.home-feed-empty p { margin:0 0 5px; }
.home-feed-empty .product-text-button { color:var(--io-text-teal,#087c88); font:inherit; border:0; background:transparent; min-height:28px; cursor:pointer; }
.home-video-dialog { width:min(650px,calc(100% - 24px)); max-height:calc(100dvh - 32px); padding:16px; border:1px solid var(--io-border); border-radius:18px; background:var(--io-canvas,#f7f3ec); color:var(--io-text); font-family:inherit; overflow:auto; }
.home-video-dialog::backdrop { background:rgba(23,22,19,.65); }
.home-video-heading { display:flex; gap:12px; align-items:flex-start; justify-content:space-between; }
.home-video-heading h2 { font-size:17px; line-height:1.4; margin:0 0 12px; overflow-wrap:anywhere; }
.home-video-close { display:grid; place-items:center; width:32px; height:32px; flex:0 0 32px; border:0; background:transparent; color:inherit; cursor:pointer; }
.home-video-close svg { width:20px; height:20px; }
.home-video-dialog iframe { display:block; aspect-ratio:16/9; width:100%; border:0; border-radius:8px; background:#181818; }
.home-video-dialog p { font-size:12px; line-height:1.5; color:var(--io-text-secondary); }
.home-video-actions { display:flex; flex-wrap:wrap; gap:8px; }
.home-video-actions .product-button { min-height:36px; font-size:12px; }
@media (max-width:360px) { .product-ready .home-quick-replies .product-button { font-size:10px; padding-inline:10px; } .home-compact .home-story-copy { padding:9px; } .home-story h3 { font-size:13px; } .home-feature h3 { font-size:16px; } }

/* Match Para ti's approved reading scale at the actual app width. */
#app:has(> .main-home) { container: iollo-home / inline-size; }
@container iollo-home (max-width: 600px) {
  .product-ready .main-question { font-size: 15px; line-height: 1.45; }
  .product-ready .main-home .product-section > h2,
  .product-ready .home-discovery-heading h2 { font-size: 17px; line-height: 1.35; letter-spacing: -.02em; }
  .product-ready .home-quick-replies { gap: 9px; }
  .product-ready .home-quick-replies .product-button,
  .product-ready .home-more-ideas,
  .home-discovery-heading .product-text-button,
  .product-ready .home-story .product-button,
  .product-ready #home-resume .product-button {
    font-size: 13px; line-height: 1.35; min-height: 34px; padding: 6px 10px;
  }
  .product-ready .home-draft-status,
  .home-story-label, .home-story-meta,
  .home-update-status, .home-feed-empty,
  .product-ready #home-resume .product-resume p,
  .product-ready .home-skip,
  .product-ready .main-home .guest-note,
  .product-ready .main-home .link-button { font-size: 13px; line-height: 1.45; }
  .home-story h3,
  .product-ready #home-resume .product-resume h3 { font-size: 15px; line-height: 1.4; }
  .home-feature h3 { font-size: 18px; line-height: 1.35; }
  .home-story-copy { gap: 7px; }
  .product-ready .home-discovery.product-section { margin-top: 12px; gap: 10px; }
  .product-ready [data-home-updates] { gap: 12px; }
  .product-ready #home-resume .product-resume { padding: 10px; }
}
