/* Bienvenida (fotos + ficha) e ideas del día. Paleta blanca de nexovant.es (ver app-theme.css). */
body.theme-blanco .onb-head { max-width: 760px; margin-bottom: 22px; }
body.theme-blanco .onb-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; align-items: start; }
body.theme-blanco .onb-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: 0 14px 36px -24px rgba(11, 27, 43, .28); }
body.theme-blanco .onb-card h2 { margin: 4px 0 6px; font: 700 21px/1.25 var(--display); color: #0b1b2b; letter-spacing: -.02em; }
body.theme-blanco .onb-card > p, body.theme-blanco .onb-help { color: #3d4e60; font-size: 14px; line-height: 1.55; margin: 0 0 12px; }
body.theme-blanco .onb-step { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #e6f3fa; color: #0a4f86; font-weight: 800; font-size: 13px; margin-right: 8px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 12px; }
body.theme-blanco .chip { position: relative; display: inline-flex; align-items: center; gap: 6px; border: 1px solid #c9dbe8; background: #fff; color: #0b1b2b; border-radius: 999px; padding: 9px 15px; font: 600 14px/1.1 var(--font); cursor: pointer; }
body.theme-blanco .chip input { position: absolute; opacity: 0; pointer-events: none; }
body.theme-blanco .chip:has(input:checked), body.theme-blanco .chip.selected { background: #0a4f86; border-color: #0a4f86; color: #fff; }
body.theme-blanco .chip:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(10, 111, 168, .3); }
body.theme-blanco .dropzone { display: grid; place-items: center; text-align: center; gap: 6px; border: 2px dashed #9ec3d6; border-radius: 16px; background: #f6fafd; padding: 22px 14px; color: #243446; cursor: pointer; }
body.theme-blanco .dropzone.dragging { background: #e6f3fa; border-color: #0a6fa8; }
body.theme-blanco .dropzone b { font-size: 15px; color: #0b1b2b; }
body.theme-blanco .dropzone small { font-size: 13px; color: #3d4e60; }
body.theme-blanco .dropzone .dz-icon { font-size: 26px; color: #0a6fa8; }
.onb-progress { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 14px 0 6px; font-size: 14px; color: #243446; }
.onb-progress b { color: #0b1b2b; }
.onb-track { height: 8px; border-radius: 99px; background: #e6edf4; overflow: hidden; }
.onb-track span { display: block; height: 100%; background: linear-gradient(90deg, #0c7a96, #1a56b8); border-radius: 99px; transition: width .3s; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; margin-top: 14px; }
.photo-tile { margin: 0; position: relative; border-radius: 12px; overflow: hidden; background: #eef2f6; aspect-ratio: 1; border: 1px solid var(--line, #dde5ec); }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-tile .tag { position: absolute; left: 6px; bottom: 6px; background: rgba(255, 255, 255, .94); color: #0a4f86; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 99px; }
.photo-tile .remove { position: absolute; right: 6px; top: 6px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(11, 27, 43, .7); color: #fff; font-size: 15px; line-height: 1; cursor: pointer; }
.photo-tile.uploading::after { content: 'Subiendo…'; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .7); font-size: 12px; font-weight: 700; color: #0a4f86; }
.photo-tile.empty { display: grid; place-items: center; border-style: dashed; color: #8aa0b4; font-size: 22px; background: #fafcfe; }
body.theme-blanco .onb-field { display: grid; gap: 6px; margin-bottom: 14px; }
body.theme-blanco .onb-field label, body.theme-blanco .onb-field legend { font-weight: 700; font-size: 14px; color: #0b1b2b; padding: 0; }
body.theme-blanco .onb-field small { color: #3d4e60; font-size: 13px; }
body.theme-blanco .onb-field fieldset { border: 0; padding: 0; margin: 0; }
body.theme-blanco .onb-card textarea, body.theme-blanco .onb-card input[type=text], body.theme-blanco .ideas-card textarea {
  width: 100%; box-sizing: border-box; background: #fff; color: #0b1b2b; border: 1px solid rgba(11, 27, 43, .28); border-radius: 12px; padding: 11px 13px; font: 400 16px/1.45 var(--font); resize: vertical;
}
body.theme-blanco .onb-card textarea:focus, body.theme-blanco .onb-card input:focus, body.theme-blanco .ideas-card textarea:focus { border-color: #0a6fa8; box-shadow: 0 0 0 3px rgba(10, 111, 168, .22); outline: none; }
.onb-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }
body.theme-blanco .link-button { background: none; border: 0; color: #0a4f86; font: 600 15px/1 var(--font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 10px 4px; }
.onb-note { font-size: 13px; color: #3d4e60; margin-top: 10px; line-height: 1.5; }
.onb-status { font-size: 14px; color: #0a6fa8; min-height: 1.2em; }
.onb-status.error { color: #9b1c1c; }

/* Recordatorio en el panel */
body.theme-blanco .onb-reminder { display: flex; gap: 16px; align-items: center; background: #fff8e6; border: 1px solid #e3c27a; border-radius: 16px; padding: 14px 18px; margin: 0 0 18px; }
body.theme-blanco .onb-reminder .rm-icon { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: #7a5200; font-size: 20px; border: 1px solid #edd59f; }
body.theme-blanco .onb-reminder p { margin: 2px 0 0; color: #5c4210; font-size: 14px; line-height: 1.5; }
body.theme-blanco .onb-reminder b { color: #3d2a00; font-size: 15px; }
body.theme-blanco .onb-reminder .button { margin-left: auto; flex: none; }
.rm-dots { display: flex; gap: 4px; margin-top: 8px; }
.rm-dots i { width: 22px; height: 6px; border-radius: 99px; background: #edd59f; }
.rm-dots i.on { background: #c58a12; }

/* Ideas del día */
body.theme-blanco .ideas-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; margin: 0 0 20px; box-shadow: 0 14px 36px -24px rgba(11, 27, 43, .28); }
.ideas-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
body.theme-blanco .ideas-head h2 { margin: 4px 0 0; font: 700 23px/1.2 var(--display); color: #0b1b2b; letter-spacing: -.02em; }
body.theme-blanco .ideas-channel { font-size: 12px; font-weight: 700; color: #11603a; background: #e6f6ed; border: 1px solid #8fd3ad; border-radius: 99px; padding: 5px 11px; white-space: nowrap; }
body.theme-blanco .ideas-channel.panel { color: #0a4f86; background: #e6f3fa; border-color: #b9d9ea; }
.ideas-body > * { min-width: 0; }
.ideas-body { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 22px; margin-top: 16px; }
body.theme-blanco .ideas-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: idea; }
body.theme-blanco .ideas-list li { counter-increment: idea; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 11px 12px; border-radius: 12px; background: #f6f8fb; border: 1px solid #e3eaf1; }
body.theme-blanco .ideas-list li::before { content: counter(idea); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: #0a4f86; font-weight: 800; font-size: 13px; border: 1px solid #cfe2ee; }
body.theme-blanco .ideas-list li.chosen { background: #eef7fc; border-color: #9ec3d6; }
body.theme-blanco .ideas-list b { color: #0b1b2b; font-size: 15px; display: block; }
body.theme-blanco .ideas-list span { color: #3d4e60; font-size: 13px; line-height: 1.45; }
.ideas-dates { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; font-size: 12px; color: #3d4e60; align-items: center; }
body.theme-blanco .ideas-dates span { background: #fff; border: 1px solid #dfe7ee; border-radius: 99px; padding: 4px 9px; color: #243446; }
.idea-draft { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 16px; border: 1px solid var(--line, #dde5ec); border-radius: 16px; padding: 14px; background: #fff; }
.idea-media { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 5; background: #eef2f6; }
.idea-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.idea-media .tag { position: absolute; left: 8px; top: 8px; background: rgba(255, 255, 255, .95); color: #11603a; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 99px; }
.idea-media .tag.ai { color: #0a4f86; }
.idea-proposal { display: grid; align-content: center; gap: 10px; padding: 16px; text-align: center; border: 2px dashed #9ec3d6; background: linear-gradient(160deg, #f3f9fd, #eef3fb); aspect-ratio: 4 / 5; border-radius: 12px; }
.idea-proposal .spark { font-size: 30px; color: #0a6fa8; }
.idea-proposal p { margin: 0; font-size: 14px; line-height: 1.5; color: #243446; }
.idea-proposal small { font-size: 12px; color: #3d4e60; }
.idea-copy .eyebrow { margin-bottom: 6px; }
.idea-caption { white-space: pre-wrap; font-size: 15px; line-height: 1.6; color: #0b1b2b; margin: 0 0 12px; }
.idea-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
body.theme-blanco .idea-actions .button { min-height: 42px; padding: 9px 16px; font-size: 14px; }
body.theme-blanco .idea-actions .button-ghost { min-height: 42px; padding: 9px 14px; font-size: 14px; }
body.theme-blanco .idea-actions .quiet { background: none; border: 0; color: #3d4e60; font-size: 14px; text-decoration: underline; cursor: pointer; padding: 8px; }
.idea-meta { font-size: 12px; color: #3d4e60; margin-top: 10px; line-height: 1.5; }
.idea-confirm { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: #fff8e6; border: 1px solid #e3c27a; font-size: 13px; color: #5c4210; display: grid; gap: 8px; }
.idea-done { padding: 14px; border-radius: 14px; background: #e6f6ed; border: 1px solid #8fd3ad; color: #11603a; font-size: 14px; margin-top: 14px; }
.idea-done a { color: #0a4f86; font-weight: 700; }
.ideas-empty { margin-top: 12px; padding: 16px; border-radius: 14px; background: #f6f8fb; border: 1px solid #e3eaf1; color: #243446; font-size: 14px; line-height: 1.55; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.ideas-empty p { margin: 0; flex: 1 1 260px; }

/* Ajustes de las ideas */
body.theme-blanco .ideas-settings .switch-row { display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: start; margin: 8px 0 14px; cursor: pointer; }
.switch { position: relative; width: 46px; height: 26px; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; background: #c7d3de; border-radius: 99px; transition: .2s; }
.switch span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: .2s; }
.switch input:checked + span { background: #0a6fa8; }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { box-shadow: 0 0 0 3px rgba(10, 111, 168, .3); }
body.theme-blanco .ideas-settings .switch-row b { display: block; color: #0b1b2b; font-size: 15px; }
body.theme-blanco .ideas-settings .switch-row small { display: block; margin-top: 2px; color: #3d4e60; font-size: 13px; line-height: 1.45; }
.ideas-settings .row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 6px 0 10px; font-size: 14px; color: #243446; }
body.theme-blanco .day-chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 12px; }
body.theme-blanco .day-chips .chip { width: 40px; height: 40px; padding: 0; justify-content: center; }
body.theme-blanco .ideas-settings .channel { font-size: 13px; color: #243446; background: #f6f8fb; border: 1px solid #e3eaf1; border-radius: 12px; padding: 10px 12px; margin: 4px 0 12px; line-height: 1.5; }
body.theme-blanco .ideas-settings .consent-stamp { font-size: 12px; color: #11603a; }
body.theme-blanco .ideas-settings .warn { font-size: 13px; color: #7a5200; background: #fff8e6; border: 1px solid #e3c27a; border-radius: 12px; padding: 8px 10px; }

@media (max-width: 900px) {
  body.theme-blanco .onb-grid, .ideas-body { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  body.theme-blanco .onb-card, body.theme-blanco .ideas-card { padding: 16px; border-radius: 16px; }
  .idea-draft { grid-template-columns: 1fr; }
  .idea-media, .idea-proposal { aspect-ratio: 4 / 4; }
  body.theme-blanco .onb-reminder { flex-wrap: wrap; }
  body.theme-blanco .onb-reminder .button { margin-left: 0; width: 100%; justify-content: center; }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .onb-actions .button { width: 100%; justify-content: center; }
  .idea-actions .button, .idea-actions .button-ghost { flex: 1 1 auto; justify-content: center; }
}
