/* Escudriñad · identidad visual propia: papel marfil, tinta y verde azulado. */
:root {
  --bg: #f6f3ec; --surface: #fffdf8; --surface-2: #efeadf; --ink: #1d2328; --muted: #5d646b;
  --line: #ddd5c6; --accent: #1f5f5b; --accent-ink: #ffffff; --accent-soft: #d9ebe8;
  --ochre: #8a5a14; --ochre-soft: #f4e6cc; --danger: #a12d2d; --ok: #2c6e3f; --focus: #c4790f;
  --reading-size: 19px; --radius: 12px; --shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.05);
  --font-ui: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --font-read: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Noto Serif", "Times New Roman", serif;
  --font-heb: "SBL Hebrew", "Ezra SIL", "Noto Serif Hebrew", "Taamey Frank CLM", "Times New Roman", "FreeSerif", "David", serif;
  --font-grk: "SBL Greek", "Gentium Plus", "Gentium Book Plus", "Noto Serif", "GFS Didot", "Palatino Linotype", "Times New Roman", "FreeSerif", serif;
  --nav-h: 62px;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #16191d; --surface: #1e2227; --surface-2: #262b31; --ink: #e8e4da; --muted: #a3a9ae;
  --line: #353b42; --accent: #7cc4ba; --accent-ink: #0d1f1d; --accent-soft: #1f3836;
  --ochre: #e0b56a; --ochre-soft: #3a3020; --danger: #ef8f8f; --ok: #8fd19e; --focus: #f0b35a;
  --shadow: 0 1px 2px rgba(0,0,0,.4); color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--font-ui); }
body.no-scroll { overflow: hidden; }
a { color: var(--accent); text-underline-offset: 2px; }
h1, h2, h3 { line-height: 1.25; }
h1 { font-size: 1.6rem; margin: .4em 0 .6em; }
h2 { font-size: 1.2rem; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.muted { color: var(--muted); } .small { font-size: .875rem; }
.row { display: flex; gap: 8px; align-items: center; } .row.wrap { flex-wrap: wrap; } .row.end { justify-content: flex-end; }
.grow { flex: 1; min-width: 0; }

/* Formularios y botones */
label { display: block; margin: 0 0 12px; font-weight: 500; }
input, select, textarea { display: block; width: 100%; margin-top: 4px; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-height: 44px; }
textarea { resize: vertical; line-height: 1.5; }
input[type="checkbox"], input[type="radio"] { display: inline-block; width: auto; min-height: 0; margin: 0 6px 0 0; accent-color: var(--accent); }
input[type="range"] { padding: 0; accent-color: var(--accent); }
small { display: block; font-weight: 400; margin-top: 4px; }
fieldset { border: 0; padding: 0; margin: 0 0 12px; } legend { font-weight: 500; margin-bottom: 6px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 4px 16px; } .radio { display: flex; align-items: center; font-weight: 400; margin: 0; min-height: 44px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 8px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 500; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--surface-2); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.danger { color: var(--danger); }
.btn.small { min-height: 36px; padding: 4px 12px; font-size: .9rem; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 0; background: transparent; color: var(--ink); border-radius: 10px; cursor: pointer; font: inherit; font-weight: 600; text-decoration: none; position: relative; }
.icon-btn:hover { background: var(--surface-2); }
.link-btn { background: none; border: 0; padding: 6px 4px; min-height: 36px; color: var(--accent); cursor: pointer; font: inherit; font-size: .9rem; text-decoration: underline; }
.link-btn.danger { color: var(--danger); }
.form-error { color: var(--danger); font-weight: 500; }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: var(--surface-2); color: var(--muted); margin-left: 6px; vertical-align: middle; }
.tag.ok { background: var(--accent-soft); color: var(--accent); } .tag.warn { background: var(--ochre-soft); color: var(--ochre); }
.chip { display: inline-flex; align-items: center; min-height: 32px; padding: 2px 10px; margin: 2px 4px 2px 0; border-radius: 99px; background: var(--surface-2); color: var(--ink); text-decoration: none; font-size: .875rem; }
.chip:hover { background: var(--accent-soft); }
.notice { background: var(--ochre-soft); border-radius: var(--radius); padding: 12px 14px; margin: 12px 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }
.select-all { user-select: all; word-break: break-all; background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }

/* Estructura */
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 16px; padding: 6px 12px; padding-top: max(6px, env(safe-area-inset-top)); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.1rem; min-height: 44px; }
.brand-mark { display: inline-block; width: 32px; height: 32px; border-radius: 9px; }
.top-nav { display: none; gap: 4px; } .top-nav a { padding: 10px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; }
.top-nav a.active { background: var(--accent-soft); color: var(--accent); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--danger); color: #fff; font-size: .7rem; line-height: 18px; text-align: center; }
.avatar-btn { border: 0; background: none; padding: 4px; border-radius: 50%; cursor: pointer; min-height: 44px; min-width: 44px; display: grid; place-items: center; }
.menu-wrap { position: relative; }
.menu { position: absolute; right: 0; top: 48px; min-width: 200px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px; display: flex; flex-direction: column; z-index: 40; }
.menu a, .menu button { text-align: left; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; min-height: 44px; }
.menu a:hover, .menu button:hover { background: var(--surface-2); }
.avatar { border-radius: 50%; object-fit: cover; flex: none; display: inline-block; }
.avatar-initials { display: inline-grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; }
main { outline: none; }
main.with-nav { padding-bottom: calc(var(--nav-h) + 16px + env(safe-area-inset-bottom)); }
.page { max-width: 1100px; margin: 0 auto; padding: 12px 16px 24px; }
.page.narrow { max-width: 720px; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr); height: calc(var(--nav-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--surface); border-top: 1px solid var(--line); }
.bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--muted); text-decoration: none; font-size: .72rem; font-weight: 600; min-height: 44px; }
.bottom-nav a.active { color: var(--accent); }
.bn-icon { font-size: 1.25rem; line-height: 1; }
.offline-banner { background: var(--ochre); color: #fff; text-align: center; padding: 6px 12px; font-weight: 600; font-size: .9rem; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--nav-h) + 16px + env(safe-area-inset-bottom)); z-index: 60; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; box-shadow: var(--shadow); max-width: calc(100vw - 32px); }
.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin: 8px 0 16px; scrollbar-width: none; }
.tabs a { padding: 10px 14px; color: var(--muted); text-decoration: none; font-weight: 600; border-bottom: 3px solid transparent; white-space: nowrap; min-height: 44px; display: flex; align-items: center; }
.tabs a.active { color: var(--accent); border-color: var(--accent); }

/* Estados */
.state { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 32px 16px; color: var(--muted); text-align: center; }
.state.error { color: var(--danger); background: color-mix(in srgb, var(--danger) 8%, transparent); border-radius: var(--radius); }
.state.empty { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }
.spinner { width: 26px; height: 26px; border: 3px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } * { scroll-behavior: auto !important; } }

/* Tarjetas */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 12px; box-shadow: var(--shadow); }
.card-list { list-style: none; padding: 0; margin: 0; }
.card-list.compact .card { padding: 10px 14px; }
.card-link { color: inherit; text-decoration: none; display: block; }
.card-title { margin: 0 0 4px; font-size: 1.15rem; font-family: var(--font-read); }
.excerpt { margin: 0; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; margin: 8px 0 0; }
.unread { border-left: 4px solid var(--accent); }
.notif { display: flex; gap: 12px; align-items: flex-start; } .notif p { margin: 0 0 2px; }

/* Lector */
.reader-layout, .editor-layout { max-width: 1400px; margin: 0 auto; padding: 8px 16px 24px; }
.reader { max-width: 760px; margin: 0 auto; }
.reader-controls { display: grid; gap: 8px; margin: 4px 0 8px; }
.ref-jump { display: flex; gap: 8px; } .ref-jump input { margin: 0; }
.selectors { display: grid; grid-template-columns: 1fr 1.3fr .7fr; gap: 6px; } .selectors select { margin: 0; padding: 8px; }
.reading-opts { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.toggle { display: flex; align-items: center; margin: 0 0 0 8px; min-height: 44px; font-weight: 500; }
.reader-title { font-family: var(--font-read); font-size: 1.9rem; margin: 12px 0 8px; }
.passage { font-family: var(--font-read); font-size: var(--reading-size); line-height: 1.75; }
.verse { padding: 2px 6px; margin: 0 -6px; border-radius: 8px; scroll-margin-top: 80px; }
.verse.selected { background: var(--accent-soft); }
.verse.flash { animation: flash 2s ease-out; } @keyframes flash { from { background: var(--ochre-soft); } to { background: transparent; } }
.verse-line { margin: 0 0 .35em; }
.vnum { font: 700 .62em var(--font-ui); color: var(--accent); background: none; border: 0; padding: 6px 4px; margin: -6px 0; vertical-align: super; cursor: pointer; border-radius: 6px; min-width: 28px; min-height: 28px; }
.vnum:hover { background: var(--accent-soft); }
.vnum-static { font: 700 .62em var(--font-ui); color: var(--accent); vertical-align: super; margin-right: 4px; }
.vmark, .vnote { font-size: .8em; margin-left: 2px; color: var(--ochre); }
.aligned { border-bottom: 1px dotted var(--ochre); cursor: pointer; border-radius: 3px; }
.aligned:hover, .aligned.active { background: var(--ochre-soft); }
.interlinear { display: flex; flex-wrap: wrap; gap: 4px; margin: 2px 0 14px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.iw { display: flex; flex-direction: column; align-items: center; padding: 4px 6px; border: 1px solid transparent; border-radius: 8px; background: none; color: var(--ink); cursor: pointer; min-width: 44px; min-height: 44px; }
.iw:hover, .iw.active { background: var(--ochre-soft); border-color: var(--ochre); }
.iw-orig { font-size: calc(var(--reading-size) * 1.15); line-height: 1.4; }
.lang-hbo .iw-orig, .lang-hbo, [lang="he"] { font-family: var(--font-heb); }
.lang-grc .iw-orig, .lang-grc, [lang="grc"] { font-family: var(--font-grk); }
.iw-tr { font: italic .72rem var(--font-ui); color: var(--muted); }
.iw-gloss { font: .72rem var(--font-ui); color: var(--ink); max-width: 110px; text-align: center; }
.iw-strong { font: 600 .66rem var(--font-ui); color: var(--ochre); }
.chapter-nav { display: flex; justify-content: space-between; margin: 24px 0 8px; }
.attribution { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 8px; font-size: .85rem; color: var(--muted); }

/* Panel lateral / hoja inferior */
.side-panel { position: fixed; left: 0; right: 0; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); z-index: 25; max-height: 68vh; overflow: auto; background: var(--surface); border-top: 1px solid var(--line); border-radius: 18px 18px 0 0; box-shadow: 0 -8px 24px rgba(0,0,0,.15); overscroll-behavior: contain; }
.sheet { padding: 0 16px 16px; }
.sheet-head { position: sticky; top: 0; display: flex; align-items: center; gap: 8px; padding: 8px 0; background: var(--surface); border-bottom: 1px solid var(--line); margin-bottom: 8px; z-index: 1; }
.sheet-head strong { flex: 1; }
.has-panel .reader, .has-panel .editor-main { padding-bottom: 50vh; }
.strong-head { display: flex; align-items: center; gap: 8px; }
.lang-pill { font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.lang-pill.heb { background: var(--ochre-soft); color: var(--ochre); } .lang-pill.grk { background: var(--accent-soft); color: var(--accent); }
.strong-code { font-weight: 700; font-size: 1.1rem; }
.orig-big { font-size: 2rem; margin: 8px 0 4px; line-height: 1.3; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 0 0 8px; } .facts dt { color: var(--muted); font-size: .85rem; } .facts dd { margin: 0; }
.definition { font-family: var(--font-read); font-size: 1.05rem; white-space: pre-line; }
.entry { border-top: 1px solid var(--line); margin-top: 8px; }
.occ-list { padding-left: 18px; columns: 1; } .occ-list li { margin-bottom: 4px; }
.morph { color: var(--muted); }
.verse-tools h3 { margin: 16px 0 6px; font-size: 1rem; }
.notes-list { list-style: none; padding: 0; } .notes-list li { border-left: 3px solid var(--ochre); padding: 4px 10px; margin-bottom: 8px; }
.note-body { white-space: pre-wrap; margin: 0 0 4px; }

/* Editor */
.editor-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.save-status { font-size: .85rem; color: var(--muted); } .save-status.s-saved { color: var(--ok); } .save-status.s-error, .save-status.s-conflict { color: var(--danger); font-weight: 600; } .save-status.s-offline { color: var(--ochre); font-weight: 600; }
.title-input { font-family: var(--font-read); font-size: 1.6rem; font-weight: 600; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; padding: 8px 0; margin-bottom: 8px; }
.rich { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: 12px; }
.toolbar { position: sticky; top: 57px; z-index: 5; display: flex; flex-wrap: wrap; gap: 2px; padding: 4px; border-bottom: 1px solid var(--line); background: var(--surface); border-radius: var(--radius) var(--radius) 0 0; }
.tb-btn { min-width: 40px; min-height: 40px; border: 0; background: none; color: var(--ink); border-radius: 8px; cursor: pointer; font: inherit; font-weight: 600; }
.tb-btn.wide { padding: 0 10px; } .tb-btn:hover { background: var(--surface-2); }
.editor { min-height: 45vh; padding: 12px 16px; outline: none; }
.editor:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--focus); }
.prose { font-family: var(--font-read); font-size: calc(var(--reading-size) - 1px); line-height: 1.7; overflow-wrap: anywhere; }
.prose blockquote, blockquote { border-left: 3px solid var(--accent); margin: 1em 0; padding: 2px 0 2px 14px; color: var(--muted); }
.prose h2 { font-size: 1.35em; } .prose h3 { font-size: 1.15em; }
.prose span[data-ref], .ref-link { color: var(--accent); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
.editor-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.refs-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.small-passage { font-size: 1rem; } .small-passage .hl { background: var(--ochre-soft); }
.conflict-preview { max-height: 40vh; overflow: auto; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin: 8px 0 12px; }

/* Comunidad */
.composer { display: flex; gap: 12px; align-items: flex-start; } .composer textarea { margin: 0 0 8px; }
.post-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 8px; margin-bottom: 8px; }
.author { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-height: 44px; }
.post-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pill { display: inline-flex; align-items: center; min-height: 38px; padding: 4px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: .875rem; cursor: pointer; text-decoration: none; }
.pill.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); font-weight: 600; }
.pill.subtle { color: var(--muted); border-color: transparent; }
.hidden-post { opacity: .75; border-style: dashed; }
.post-study-title { font-family: var(--font-read); }
.post-tools { margin: -4px 0 16px; }
.comments ul { list-style: none; padding: 0; }
.comment { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.comment-head { margin: 0; } .comment-body { margin: 2px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.comment-form { margin-top: 12px; }
.profile-head { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; } .profile-head h1 { margin: 0; } .bio { white-space: pre-wrap; margin: 6px 0 0; }

/* Búsqueda y tablas */
.search-form { display: flex; gap: 8px; } .search-form input { margin: 0; }
.result-list { list-style: none; padding: 0; } .result-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.strong-search { margin-bottom: 16px; } .strong-search .row input, .strong-search .row select { margin: 0; } .strong-search select { width: auto; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .9rem; } th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; } th { background: var(--surface-2); }
.form-inline { display: grid; gap: 8px; grid-template-columns: 1fr; align-items: end; } .form-inline label { margin: 0; }

/* Diálogos */
.dialog-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.45); display: flex; align-items: flex-end; justify-content: center; }
.dialog { background: var(--surface); width: 100%; max-height: 90vh; overflow: auto; border-radius: 18px 18px 0 0; padding: 0 16px 16px; padding-bottom: max(16px, env(safe-area-inset-bottom)); outline: none; }
.dialog-head { position: sticky; top: 0; background: var(--surface); display: flex; justify-content: space-between; align-items: center; padding-top: 6px; } .dialog-head h2 { margin: 8px 0; }

/* Acceso */
.auth { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 16px; }
.auth-card { width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.auth-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.15rem; }
.auth-links { text-align: center; margin: 16px 0 0; font-size: .95rem; }
.auth-foot { font-size: .85rem; margin-top: 16px; }

/* Impresión */
.print-page { max-width: 760px; margin: 0 auto; padding: 16px; } .print-bar { flex-wrap: wrap; margin-bottom: 16px; }
.study-print h1 { font-family: var(--font-read); }
@media print {
  .no-print, .topbar, .bottom-nav, .offline-banner, .toast { display: none !important; }
  body { background: #fff; color: #000; } .print-page { padding: 0; max-width: none; }
  .prose { font-size: 12pt; } a { color: #000; text-decoration: none; }
}

/* Escritorio */
@media (min-width: 700px) {
  .dialog-backdrop { align-items: center; } .dialog { max-width: 520px; border-radius: 18px; } .dialog-wide { max-width: 760px; }
  .form-inline { grid-template-columns: 2fr 1fr 1fr auto; }
  .reader-controls { grid-template-columns: 1fr auto; align-items: center; } .reader-controls .ref-jump { grid-column: 1 / -1; }
  .occ-list { columns: 2; }
}
@media (min-width: 900px) {
  .top-nav { display: flex; } .bottom-nav { display: none; }
  main.with-nav { padding-bottom: 24px; } .toast { bottom: 24px; }
  .topbar { padding: 8px 24px; }
}
@media (min-width: 1100px) {
  .reader-layout.has-panel, .editor-layout.has-panel { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 24px; align-items: start; }
  .reader-layout.has-panel .reader { margin: 0 auto; }
  .side-panel { position: sticky; top: 72px; bottom: auto; left: auto; right: auto; max-height: calc(100vh - 88px); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); z-index: 1; }
  .has-panel .reader, .has-panel .editor-main { padding-bottom: 0; }
  .editor-main { max-width: 820px; margin: 0 auto; width: 100%; }
}
.occ-list li > span { margin-inline-start: 6px; display: inline-block; }

/* Mensajes */
.badge-inline { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 6px; border-radius: 10px; background: var(--danger); color: #fff; font-size: .72rem; font-weight: 700; line-height: 20px; text-align: center; }
.bn-icon { position: relative; }
.bn-badge { position: absolute; top: -6px; right: -12px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--danger); color: #fff; font: 700 .62rem/16px var(--font-ui); }
.bottom-nav { grid-template-columns: repeat(5, 1fr); }
.search-top { display: inline-flex; }
@media (min-width: 900px) { .search-top { display: none; } }
.online-row { display: flex; gap: 12px; overflow-x: auto; padding: 4px 0 12px; }
.online-chip { display: flex; flex-direction: column; align-items: center; gap: 4px; background: none; border: 0; color: var(--ink); cursor: pointer; min-width: 64px; font: inherit; }
.online-av { position: relative; display: inline-block; }
.online-av .dot { position: absolute; right: 1px; bottom: 1px; width: 12px; height: 12px; border-radius: 50%; background: #2fbf5b; border: 2px solid var(--bg); }
.chat-link { display: flex; gap: 12px; align-items: center; color: var(--ink); text-decoration: none; min-height: 48px; }
.chat-last { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.chat-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.chat-page { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; height: calc(100dvh - 57px - var(--nav-h) - env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .chat-page { height: calc(100dvh - 61px); } }
main.with-nav:has(.chat-page) { padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { main.with-nav:has(.chat-page) { padding-bottom: 0; } }
.chat-head { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-bottom: 1px solid var(--line); background: var(--surface); }
.chat-body { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 6px; overscroll-behavior: contain; }
.chat-day { text-align: center; color: var(--muted); font-size: .78rem; margin: 10px 0 4px; }
.chat-day::first-letter { text-transform: uppercase; }
.bubble { max-width: 80%; padding: 8px 12px 4px; border-radius: 16px; overflow-wrap: anywhere; }
.bubble p { margin: 0; white-space: pre-wrap; }
.bubble.mine { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 4px; }
.bubble.theirs { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble-time { display: flex; justify-content: flex-end; align-items: center; gap: 4px; font-size: .68rem; opacity: .75; margin-top: 2px; }
.bubble-del { background: none; border: 0; color: inherit; cursor: pointer; font-size: .7rem; padding: 2px 4px; opacity: .7; }
.seen { align-self: flex-end; font-size: .72rem; color: var(--muted); margin: 0; }
.center { text-align: center; }
.chat-input { display: flex; gap: 8px; align-items: flex-end; padding: 8px 12px; border-top: 1px solid var(--line); background: var(--surface); }
.chat-input textarea { margin: 0; min-height: 44px; max-height: 140px; resize: none; }

.bubble-text { white-space: pre-wrap; }
.bubble.mine .ref-link { color: inherit; }
/* Compartir */
.share-quote { font-family: var(--font-read); }
.share-grid { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 8px 0 12px; }
@media (min-width: 500px) { .share-grid { grid-template-columns: 1fr 1fr; } }
.pick-list { list-style: none; padding: 0; display: grid; gap: 8px; max-height: 45vh; overflow: auto; }
.btn.block { justify-content: flex-start; }
/* Mapas */
.map-page { display: flex; flex-direction: column; height: calc(100dvh - 57px - var(--nav-h) - env(safe-area-inset-bottom)); position: relative; }
@media (min-width: 900px) { .map-page { height: calc(100dvh - 61px); } }
main.with-nav:has(.map-page) { padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { main.with-nav:has(.map-page) { padding-bottom: 0; } }
.map-top { display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: var(--surface); border-bottom: 1px solid var(--line); }
.map-title { margin: 0; border: 0; background: transparent; font-weight: 700; font-size: 1.05rem; flex: 1; min-width: 0; padding: 6px; }
.map-title-ro { padding: 6px; }
.map-toolbar { display: flex; gap: 6px; overflow-x: auto; padding: 6px 10px; background: var(--surface); border-bottom: 1px solid var(--line); scrollbar-width: thin; }
.map-toolbar .btn { flex: none; }
.map-canvas, .map-viewer { position: relative; flex: 1; overflow: hidden; background: #fbfaf6; background-image: radial-gradient(#d9d4c7 1px, transparent 1px); background-size: 24px 24px; touch-action: none; user-select: none; -webkit-user-select: none; }
/* Los mapas se ven siempre sobre el lienzo claro de «Mapa de estudio» (sus colores están pensados para él). */
.map-canvas, .map-viewer { background-color: #f8faf7; background-image: radial-gradient(#d5ddd7 1px, transparent 1px); }
.map-viewer:fullscreen { height: 100%; border-radius: 0; border: 0; }
.map-viewer .map-zoom .icon-btn { background: #ffffff; color: #23352f; border-color: #d5ddd7; }
.map-viewer { height: 60vh; min-height: 320px; border: 1px solid var(--line); border-radius: var(--radius); }
.map-svg { width: 100%; height: 100%; display: block; }
.map-svg.interactive .map-node { cursor: grab; }
.map-canvas.connecting .map-node { cursor: crosshair; }
.map-svg .map-edge { cursor: pointer; }
.map-badge { cursor: pointer; }
.map-zoom { position: absolute; right: 10px; bottom: 10px; display: flex; flex-direction: column; gap: 6px; }
.map-zoom .icon-btn { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 1.2rem; }
.map-hint { position: absolute; left: 10px; bottom: 6px; right: 70px; font-size: .75rem; color: var(--muted); margin: 0; pointer-events: none; }
.map-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 55%; overflow: auto; background: var(--surface); border-top: 1px solid var(--line); border-radius: 16px 16px 0 0; padding: 10px 14px 14px; box-shadow: 0 -8px 24px rgba(0,0,0,.15); z-index: 5; }
@media (min-width: 900px) { .map-panel { left: auto; right: 12px; top: 110px; bottom: 12px; width: 320px; max-height: none; border: 1px solid var(--line); border-radius: var(--radius); } }
.map-panel label.inline { display: inline-flex; flex-direction: column; margin-right: 8px; }
.map-panel label.inline select { width: auto; }
.swatches { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); cursor: pointer; }
.swatch.on { outline: 3px solid var(--focus); outline-offset: 1px; }

/* ---- Resaltados y notas al margen ---- */
:root { --hl-amarillo: #fff1a8; --hl-verde: #cdeec9; --hl-azul: #cfe3fb; --hl-rosa: #fbd3df; --hl-morado: #e2d6f6; }
[data-theme="dark"] { --hl-amarillo: #5a4f17; --hl-verde: #23482a; --hl-azul: #1f3a5a; --hl-rosa: #5a2638; --hl-morado: #3d2f5c; }
.verse.hl .vtext { border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: 0 2px; }
.verse.hl-amarillo .vtext { background: var(--hl-amarillo); } .verse.hl-verde .vtext { background: var(--hl-verde); }
.verse.hl-azul .vtext { background: var(--hl-azul); } .verse.hl-rosa .vtext { background: var(--hl-rosa); } .verse.hl-morado .vtext { background: var(--hl-morado); }
.hl-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.hl-dot { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line); cursor: pointer; padding: 0; }
.hl-dot.on { border-color: var(--ink); box-shadow: 0 0 0 2px var(--surface) inset; }
.hl-dot.hl-amarillo { background: var(--hl-amarillo); } .hl-dot.hl-verde { background: var(--hl-verde); } .hl-dot.hl-azul { background: var(--hl-azul); }
.hl-dot.hl-rosa { background: var(--hl-rosa); } .hl-dot.hl-morado { background: var(--hl-morado); }
.margin-notes { margin: 2px 0 8px; display: grid; gap: 4px; }
.margin-note { text-align: left; font: inherit; font-size: .85rem; color: var(--muted); background: var(--surface-2); border: 0; border-left: 3px solid var(--ochre, #b7862f); border-radius: 6px; padding: 6px 10px; cursor: pointer; white-space: pre-wrap; }
@media (min-width: 1100px) {
  .reader-layout:not(.has-panel) .verse { position: relative; }
  .reader-layout:not(.has-panel) .margin-notes { position: absolute; left: calc(100% + 24px); top: 0; width: 220px; margin: 0; }
}

/* ---- Inicio: hoy ---- */
.today { display: grid; gap: 12px; margin-bottom: 16px; }
@media (min-width: 720px) { .today { grid-template-columns: 1fr 1fr; } }
.today .card h2 { font-size: 1rem; margin: 0 0 6px; }
.daily-text { font-family: var(--font-read, Georgia, serif); font-size: 1.05rem; margin: 4px 0; }

/* ---- Planes ---- */
.plan-days { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.plan-days li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.plan-days li.done { opacity: .65; } .plan-days li.today { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.plan-days .grow { flex: 1; min-width: 0; }
.progress { height: 8px; background: var(--surface-2); border-radius: 99px; overflow: hidden; } .progress > span { display: block; height: 100%; background: var(--accent); }

/* ---- Grupos ---- */
.tabbar { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin: 8px 0 12px; overflow-x: auto; }
.tabbar button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 12px; font: inherit; color: var(--muted); cursor: pointer; white-space: nowrap; }
.tabbar button[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }
.group-tag { display: inline-block; font-size: .78rem; background: var(--accent-soft); color: var(--accent); border-radius: 99px; padding: 2px 8px; }
.post-video { width: 100%; max-height: 70vh; border-radius: 10px; background: #000; }
.templates { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.templates .btn { text-align: left; height: auto; min-height: 72px; white-space: normal; display: block; padding: 12px; line-height: 1.35; }

/* ---- Fondos e ilustraciones (dibujados por ChatGPT/Codex, en /fondos) ---- */
body { position: relative; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: url(/fondos/patron-papel.svg) repeat; background-size: 320px 320px; opacity: .9; }
[data-theme="dark"] body::before { filter: invert(1) hue-rotate(180deg); opacity: .07; }
.hero { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  min-height: 170px; margin: 0 0 16px; padding: 18px 20px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(120deg, var(--accent-soft), var(--ochre-soft)); background-size: cover; background-position: right center; box-shadow: var(--shadow); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--surface) 88%, transparent) 0%, color-mix(in srgb, var(--surface) 55%, transparent) 45%, transparent 75%); pointer-events: none; }
.hero > * { position: relative; }
.hero-text h1 { margin: 0; font-family: var(--font-read); font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: 1.15; }
.hero-text p { margin: 4px 0 0; color: var(--muted); max-width: 46ch; }
.hero-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-small { min-height: 110px; padding: 14px 18px; }
.hero-inicio { background-image: url(/fondos/cabecera-inicio.svg), linear-gradient(120deg, var(--accent-soft), var(--ochre-soft)); }
.hero-lector { background-image: url(/fondos/cabecera-lector.svg), linear-gradient(120deg, var(--ochre-soft), var(--surface-2)); }
.hero-estudios { background-image: url(/fondos/cabecera-estudios.svg), linear-gradient(120deg, var(--ochre-soft), var(--surface-2)); }
.hero-mensajes { background-image: url(/fondos/cabecera-mensajes.svg), linear-gradient(120deg, var(--accent-soft), var(--surface-2)); }
.hero-grupos { background-image: url(/fondos/cabecera-grupos.svg), linear-gradient(120deg, var(--surface-2), var(--accent-soft)); }
.hero-planes { background-image: url(/fondos/cabecera-planes.svg), linear-gradient(120deg, var(--ochre-soft), var(--accent-soft)); }
.hero-mapas { background-image: url(/fondos/cabecera-mapas.svg), linear-gradient(120deg, var(--accent-soft), var(--surface-2)); }
[data-theme="dark"] .hero { border-color: var(--line); }
[data-theme="dark"] .hero::before { background: linear-gradient(90deg, rgba(30,34,39,.93) 0%, rgba(30,34,39,.66) 50%, rgba(30,34,39,.5) 100%); }
@media (max-width: 600px) {
  .hero { min-height: 140px; padding: 14px; border-radius: 14px; background-position: 70% center; }
  .hero::before { background: linear-gradient(0deg, color-mix(in srgb, var(--surface) 90%, transparent) 0%, color-mix(in srgb, var(--surface) 40%, transparent) 70%, transparent 100%); }
}
.empty-art { display: block; width: 180px; max-width: 60%; height: auto; margin: 0 auto 8px; opacity: .9; }
[data-theme="dark"] .empty-art { filter: invert(1) hue-rotate(180deg); opacity: .75; }
.card { background: color-mix(in srgb, var(--surface) 94%, transparent); }

/* ---- Fondo de pantalla elegido (Ajustes → Fondo de la página) ---- */
:root { --fondo-velo: rgba(246, 243, 236, .30); }
[data-theme="dark"] { --fondo-velo: rgba(18, 21, 25, .38); }
html[data-fondo="ninguno"] body::before { display: none; }
html[data-fondo="colinas"] { --fondo-dia: url(/fondos/pagina/fondo-colinas-dia.svg); --fondo-noche: url(/fondos/pagina/fondo-colinas-noche.svg); }
html[data-fondo="galilea"] { --fondo-dia: url(/fondos/pagina/fondo-galilea-dia.svg); --fondo-noche: url(/fondos/pagina/fondo-galilea-noche.svg); }
html[data-fondo="desierto"] { --fondo-dia: url(/fondos/pagina/fondo-desierto-dia.svg); --fondo-noche: url(/fondos/pagina/fondo-desierto-noche.svg); }
html[data-fondo="pergamino"] { --fondo-dia: url(/fondos/pagina/fondo-pergamino-dia.svg); --fondo-noche: url(/fondos/pagina/fondo-pergamino-noche.svg); }
html[data-fondo="estrellas"] { --fondo-dia: url(/fondos/pagina/fondo-estrellas-dia.svg); --fondo-noche: url(/fondos/pagina/fondo-estrellas-noche.svg); }
html[data-fondo="jardin"] { --fondo-dia: url(/fondos/pagina/fondo-jardin-dia.svg); --fondo-noche: url(/fondos/pagina/fondo-jardin-noche.svg); }
html:is([data-fondo="colinas"], [data-fondo="galilea"], [data-fondo="desierto"], [data-fondo="pergamino"], [data-fondo="estrellas"], [data-fondo="jardin"]) body::before {
  background: linear-gradient(var(--fondo-velo), var(--fondo-velo)), var(--fondo-dia) center / cover no-repeat; opacity: 1; filter: none; }
html[data-theme="dark"]:is([data-fondo="colinas"], [data-fondo="galilea"], [data-fondo="desierto"], [data-fondo="pergamino"], [data-fondo="estrellas"], [data-fondo="jardin"]) body::before {
  background: linear-gradient(var(--fondo-velo), var(--fondo-velo)), var(--fondo-noche) center / cover no-repeat; }
/* Con paisaje: el contenido va sobre un panel translúcido para que se lea bien */
html:is([data-fondo="colinas"], [data-fondo="galilea"], [data-fondo="desierto"], [data-fondo="pergamino"], [data-fondo="estrellas"], [data-fondo="jardin"]) :is(.page, .reader-layout > .reader) {
  background: color-mix(in srgb, var(--bg) 84%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-radius: 20px; margin-top: 12px; margin-bottom: 12px; box-shadow: 0 6px 30px rgba(0,0,0,.08); }
html:is([data-fondo="colinas"], [data-fondo="galilea"], [data-fondo="desierto"], [data-fondo="pergamino"], [data-fondo="estrellas"], [data-fondo="jardin"]) .reader-layout > .reader { padding: 12px 16px 20px; }
.fondo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.fondo-opt { display: grid; gap: 6px; padding: 6px; border: 2px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; color: var(--ink); font: inherit; text-align: center; }
.fondo-opt.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.fondo-thumb { display: block; aspect-ratio: 16 / 9; border-radius: 8px; background: var(--bg) center / cover no-repeat; border: 1px solid var(--line); }
.fondo-thumb-papel { background: var(--bg) url(/fondos/patron-papel.svg) repeat; background-size: 80px; }
.fondo-thumb-ninguno { background: var(--bg); }
.fondo-opt { min-width: 0; overflow: hidden; }
.fondo-thumb { width: 100%; box-sizing: border-box; }
@media (max-width: 600px) {
  html:is([data-fondo="colinas"], [data-fondo="galilea"], [data-fondo="desierto"], [data-fondo="pergamino"], [data-fondo="estrellas"], [data-fondo="jardin"]) :is(.page, .reader-layout > .reader) {
    background: color-mix(in srgb, var(--bg) 62%, transparent); margin-left: 6px; margin-right: 6px; }
}

/* ---- Botón ＋ flotante (celular) ---- */
.fab { position: fixed; right: 16px; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 14px); z-index: 35; width: 56px; height: 56px; border-radius: 50%;
  border: 0; background: var(--accent); color: #fff; font-size: 30px; line-height: 1; box-shadow: 0 6px 20px rgba(0,0,0,.25); cursor: pointer; transition: transform .2s; }
.fab.open { transform: rotate(45deg); z-index: 61; }
.fab-sheet-wrap { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.35); animation: fade .15s ease; }
.fab-sheet { position: absolute; right: 12px; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 80px); width: min(300px, calc(100vw - 24px)); background: var(--surface);
  border-radius: 16px; padding: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.3); display: grid; gap: 2px; animation: rise .18s ease; }
.fab-item { display: flex; gap: 12px; align-items: center; text-align: left; padding: 12px 14px; border: 0; background: none; border-radius: 10px; font: inherit; color: var(--ink); cursor: pointer; min-height: 48px; }
.fab-item:hover, .fab-item:focus-visible { background: var(--surface-2); }
.fab-item span { width: 26px; text-align: center; font-size: 1.15rem; }
@media (min-width: 900px) { .fab { display: none; } }
@keyframes fade { from { opacity: 0; } } @keyframes rise { from { opacity: 0; transform: translateY(12px); } }

/* ---- Bienvenida ---- */
.welcome-wrap { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.45); display: grid; place-items: center; padding: 16px; animation: fade .2s ease; }
.welcome { width: min(520px, 100%); background: var(--surface); border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.35); animation: rise .25s ease; }
.welcome-art { height: 170px; background-size: cover; background-position: center; }
.welcome-body { padding: 18px 20px 20px; }
.welcome-body h2 { margin: 0 0 8px; font-family: var(--font-read); }
.welcome-body p { margin: 0 0 14px; line-height: 1.55; }
.welcome-dots { display: flex; gap: 6px; justify-content: center; margin-bottom: 14px; }
.welcome-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); } .welcome-dots span.on { background: var(--accent); width: 22px; border-radius: 99px; }

/* ---- Modo lectura (sin menús) ---- */
html.reading-mode .topbar, html.reading-mode .bottom-nav, html.reading-mode .fab, html.reading-mode .reader-controls, html.reading-mode .reader-search { display: none !important; }
html.reading-mode main.with-nav { padding-bottom: 24px; }
.reading-exit { position: fixed; top: 10px; right: 10px; z-index: 40; opacity: .75; }
.continue-card { display: flex; align-items: center; gap: 10px; }
.chapter-swipe-hint { text-align: center; }

/* ===== Ayuda con IA ===== */
.ai-box { margin: 4px 0 14px; }
.ai-box.open { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 12px 14px; }
.ai-launch { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ai-btn { border-color: var(--accent); color: var(--accent); }
.ai-btn:hover { background: var(--accent-soft); }
.ai-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 4px; }
.ai-box h4 { margin: 14px 0 4px; font-size: .95rem; color: var(--accent); }
.ai-box p { margin: 4px 0 8px; }
.ai-cite { display: inline-block; font-size: .85em; font-weight: 600; padding: 0 6px; margin: 0 2px; border-radius: 6px; background: var(--accent-soft); text-decoration: none; white-space: nowrap; }
.ai-cite.strong { font-family: var(--font-mono, monospace); }
.ai-words, .ai-related, .ai-uses { padding-left: 18px; margin: 4px 0; }
.ai-words li, .ai-related li, .ai-uses li { margin-bottom: 8px; }
.ai-sources { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 8px; }
.ai-sources summary { cursor: pointer; font-weight: 600; min-height: 36px; display: flex; align-items: center; }
.ai-sources ul { padding-left: 18px; font-size: .92rem; }
.ai-sources li { margin-bottom: 6px; }
.ai-disclaimer { background: var(--ochre-soft); color: var(--ink); border-radius: 8px; padding: 8px 10px; font-size: .85rem; margin-top: 10px; }
