/* Factor de Cambio v6: inicio, publicadas, ideas por día */

/* Logo sobre negro: el logo es blanco con fondo transparente */
.logobox { background: #000; border: 1px solid var(--hair-2); color: var(--stone); }

/* Inicio */
.hello { margin: 8px 0 36px; max-width: 760px; }
.hello .label { color: var(--stone); font-size: 14px; margin-bottom: 14px; }
.hello h1 { font-size: clamp(44px, 6.4vw, 84px); margin-bottom: 18px; }
.hello .lede { font-size: 18px; line-height: 1.55; color: rgba(244,244,244,.78); max-width: 60ch; }
.hello .lede b { color: var(--paper); font-weight: 500; }
.stage-home { min-height: 260px; margin-bottom: 56px; }
.stage .okc, .okc { color: var(--ok); font-weight: 500; }
.hsec { margin-bottom: 56px; }
.hsh { display: flex; align-items: baseline; gap: 16px; justify-content: space-between; margin-bottom: 18px; }
.hsh h2 { font-size: clamp(24px, 2.6vw, 32px); }

.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.wday { text-align: left; background: var(--ink-2); border: 1px solid var(--hair); border-radius: 20px; padding: 16px 14px; min-height: 190px; display: flex; flex-direction: column; gap: 10px; cursor: pointer; transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .2s; }
.wday:hover { transform: translateY(-3px); border-color: var(--hair-2); }
.wday .wtop { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.wday .wd { font-size: 13px; color: var(--stone); }
.wday .dn { font-family: var(--serif); font-size: 30px; line-height: 1; letter-spacing: -.04em; }
.wday .line { height: 2px; width: 22px; border-radius: 2px; background: var(--c); }
.wday .wt { font-size: 14.5px; line-height: 1.35; flex: 1; }
.wday .wfoot { font-size: 12px; color: var(--stone); }
.wday.is-today { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.wday.is-today .wd, .wday.is-today .wfoot { color: #555; }
.wday.is-today .okc { color: #1d7a45; }
.wday.pub:not(.is-today) { opacity: .62; }
.wday.release { box-shadow: inset 0 0 0 1px var(--ph-lan); }

.hcols { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: start; }
.lcardh { border: 1px solid var(--hair); border-radius: 22px; padding: 18px; margin-bottom: 14px; background: var(--ink-2); }
.lhead { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.lcv { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: var(--ink-3); display: grid; place-items: center; flex: none; color: var(--ash); font-size: 18px; }
.lcv img { width: 100%; height: 100%; object-fit: cover; }
.lmeta { display: grid; flex: 1; min-width: 0; }
.lmeta b { font-weight: 500; font-size: 18px; letter-spacing: -.02em; }
.lmeta span { color: var(--stone); font-size: 13.5px; }
.ring circle { fill: none; stroke-width: 5; }
.ring .bg { stroke: var(--hair-2); }
.ring .fg { stroke: var(--low); stroke-linecap: round; transition: stroke-dashoffset .6s; }
.ring.lv-mid .fg { stroke: var(--mid); } .ring.lv-ok .fg { stroke: var(--ok); }
.ring text { fill: var(--paper); font-size: 13px; font-family: var(--sans); }
.todo { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 2px; }
.todo li a, .todo li { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 14px; color: rgba(244,244,244,.82); }
.todo li a { flex: 1; padding: 10px 12px; border-radius: 12px; transition: background .2s; }
.todo li a:hover { background: var(--ink-3); }
.todo li a b { color: var(--paper); font-weight: 500; }
.todo i { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--low); }
.todo i.lv-mid { background: var(--mid); } .todo i.lv-ok { background: var(--ok); }
.todo .go { margin-left: auto; color: var(--stone); font-size: 18px; }
.latebox { border: 1px solid rgba(234, 166, 76, .35); border-radius: 22px; padding: 18px; margin-bottom: 14px; }
.latebox .lbl { font-size: 13.5px; color: var(--mid); }
.latebox li { padding: 8px 0; border-bottom: 1px solid var(--hair); }
.latebox li:last-child { border-bottom: 0; }
.latebox .ld { color: var(--stone); font-size: 13px; width: 52px; flex: none; }
.latebox .lt { flex: 1; cursor: pointer; }
.calm { color: var(--stone); font-size: 14px; margin: 12px 0 0; }

.tiles { display: grid; gap: 10px; }
.tile { position: relative; display: grid; gap: 4px; padding: 18px 44px 18px 20px; border-radius: 20px; border: 1px solid var(--hair); text-decoration: none; background: var(--ink-2); transition: border-color .2s, transform .25s cubic-bezier(.2,.8,.2,1); }
.tile:hover { border-color: var(--hair-2); transform: translateX(3px); }
.tile b { font-weight: 500; font-size: 18px; letter-spacing: -.02em; }
.tile span { color: var(--stone); font-size: 13.5px; }
.tile .go { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; }

/* Publicadas */
.pubbtn.on { border-color: var(--ok); color: var(--ok); }
.cell .pubmark { position: absolute; right: 10px; bottom: 10px; width: 20px; height: 20px; border-radius: 50%; background: var(--ok); color: #062; display: grid; place-items: center; font-size: 12px; font-weight: 700; z-index: 2; }
.cell.pub .t { opacity: .6; }

/* Ideas del día */
.ideas-lbl { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.catchips { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.catchips .tag { text-decoration: none; }
.embeds > div:not(.embed) { flex: 0 0 auto; width: min(340px, 84vw); scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; }
.embeds > div:not(.embed) .embed { width: 100%; }
.ititle { font-size: 13.5px; color: rgba(244,244,244,.82); min-height: 1.4em; }
select#f-fmt { background: var(--ink); border: 1px solid var(--hair-2); border-radius: 12px; padding: 11px 14px; width: 100%; }

@media (max-width: 980px) {
  .week { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .wday { flex: 0 0 150px; scroll-snap-align: start; min-height: 170px; }
  .hcols { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 760px) {
  .tabs a { padding: 12px 1px 11px; font-size: 13px; }
  .tabs { gap: 0; }
  .hello .lede { font-size: 16px; }
  .stage-home { min-height: 0; }
}

/* WhatsApp */
.wabtn::before { content: ''; width: 16px; height: 16px; margin-right: 8px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.3 14.2c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .2-3.3-.7-2.8-1.1-4.6-4-4.7-4.2-.1-.2-1.1-1.5-1.1-2.9s.7-2 1-2.3c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.8 2c.1.2.1.3 0 .5l-.4.6-.4.4c-.1.1-.3.3-.1.6.2.3.8 1.3 1.7 2.1 1.2 1 2.1 1.3 2.4 1.5.3.1.5.1.6-.1l.9-1.1c.2-.3.4-.2.6-.1l1.9.9c.3.1.5.2.5.3.1.2.1.7-.1 1.2z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.3 14.2c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .2-3.3-.7-2.8-1.1-4.6-4-4.7-4.2-.1-.2-1.1-1.5-1.1-2.9s.7-2 1-2.3c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.8 2c.1.2.1.3 0 .5l-.4.6-.4.4c-.1.1-.3.3-.1.6.2.3.8 1.3 1.7 2.1 1.2 1 2.1 1.3 2.4 1.5.3.1.5.1.6-.1l.9-1.1c.2-.3.4-.2.6-.1l1.9.9c.3.1.5.2.5.3.1.2.1.7-.1 1.2z'/%3E%3C/svg%3E") center / contain no-repeat; }
.wabtn { display: inline-flex; align-items: center; text-decoration: none; }
.warow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: -36px 0 56px; }
.warow .hint { color: var(--stone); font-size: 13.5px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--paper); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: inherit; }
input[type=tel] { background: var(--ink); border: 1px solid var(--hair-2); border-radius: 12px; padding: 11px 14px; width: 100%; }
