
:root{
  --bg:#f7f3e8; --paper:#fffdf7; --ink:#24221e; --muted:#69645c; --line:#e5decf;
  --context:#2f6f9f; --theme:#c76d1d; --connection:#7652a5; --practice:#2f7d4a;
  --god:#a77a16; --alert:#a94747; --keyword:#b86f16; --dark:#29313a;
}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:var(--bg);color:var(--ink);line-height:1.65}
.topbar{background:#1f2a31;color:#fff;padding:18px 20px;box-shadow:0 2px 10px #0002}
.brand{max-width:980px;margin:auto;display:flex;gap:14px;align-items:center}
.brand-mark{width:42px;height:42px;border-radius:12px;background:#d5ae4e;color:#1f2a31;display:grid;place-items:center;font-size:24px;font-weight:800}
.brand h1{font-size:20px;margin:0}.brand p{margin:1px 0 0;color:#dbe2e6;font-size:13px}
.shell{max-width:980px;margin:auto;padding:24px 16px 48px}
.hero{padding:26px 4px 18px}
.eyebrow{font-size:12px;font-weight:800;letter-spacing:.12em;color:#8a6b23}
.hero h2{font-family:Georgia,serif;font-size:34px;line-height:1.15;margin:8px 0 12px;max-width:820px}
.hero p{color:var(--muted);max-width:780px}
.prayer-card,.selector-card,.legend,.study-block,.version-note,.progress-card,.favorites-card{background:var(--paper);border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 24px #503d1b0b}
.prayer-card{display:flex;gap:16px;padding:22px;margin:14px 0 20px;border-left:6px solid #d5ae4e}
.prayer-card .icon{font-size:28px}.prayer-card h3{margin:0 0 6px}
blockquote{margin:12px 0 0;padding:12px 14px;background:#f8f1dc;border-radius:12px;font-family:Georgia,serif}
.selector-card{padding:16px;display:grid;grid-template-columns:1fr 120px 1.3fr 160px;gap:12px;align-items:end}
.field{display:flex;flex-direction:column;gap:5px}.field label{font-size:12px;font-weight:800;color:var(--muted)}
select,button{height:46px;border-radius:12px;border:1px solid #d7cfbf;padding:0 12px;font-size:16px;background:white}
button{border:0;background:#263b45;color:white;font-weight:800;cursor:pointer}
.version-note{padding:14px 16px;margin-top:12px;color:#5b5449;font-size:14px}
.version-note:empty{display:none}
#study{margin-top:22px;display:grid;gap:16px}
.study-title{background:#263b45;color:white;border-radius:18px;padding:22px}
.study-title h2{font-family:Georgia,serif;font-size:30px;margin:0 0 6px}.study-title p{margin:0;color:#dbe4e8}
.study-block{padding:20px;border-left:6px solid var(--line)}
.study-block h3{margin:0 0 8px;font-size:20px}.study-block h4{margin:16px 0 4px}
.study-block p{margin:7px 0}.study-block ul,.study-block ol{padding-left:22px}
.study-block.context{border-left-color:var(--context)}.study-block.theme{border-left-color:var(--theme)}
.study-block.connection{border-left-color:var(--connection)}.study-block.practice{border-left-color:var(--practice)}
.study-block.god{border-left-color:var(--god)}.study-block.alert{border-left-color:var(--alert)}
.study-block.keyword{border-left-color:var(--keyword)}.study-block.write{border-left-color:#8b7253;background:#fffaf0}
.badge{display:inline-block;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;padding:4px 9px;border-radius:999px;background:#eee;margin-bottom:8px}
.context .badge{background:#e7f1f8;color:#225b81}.theme .badge{background:#fff0df;color:#9a4e0e}
.connection .badge{background:#efe9f7;color:#62428d}.practice .badge{background:#e8f4eb;color:#28673e}
.god .badge{background:#fbf0ce;color:#80600e}.alert .badge{background:#fae7e7;color:#883838}
.keyword .badge{background:#fff0df;color:#95540c}.write .badge{background:#efe8db;color:#66513b}
.word-btn{border:0;background:#fff2d8;color:#7b4d0f;height:auto;padding:2px 6px;border-radius:7px;font:inherit;font-weight:800;text-decoration:underline;text-decoration-style:dotted}
.legend{padding:18px;margin-top:24px}.legend h3{margin:0 0 10px}.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{padding:6px 10px;border-radius:999px;color:white;font-size:12px;font-weight:800}
.chip.context{background:var(--context)}.chip.theme{background:var(--theme)}.chip.connection{background:var(--connection)}
.chip.practice{background:var(--practice)}.chip.god{background:var(--god)}.chip.alert{background:var(--alert)}.chip.keyword{background:var(--keyword)}
.modal{position:fixed;inset:0;background:#0008;display:none;align-items:center;justify-content:center;padding:20px;z-index:1000}
.modal.open{display:flex}.modal-card{position:relative;max-width:540px;width:100%;background:#fffdf7;border-radius:20px;padding:24px;box-shadow:0 18px 60px #0005}
.modal-card h3{font-family:Georgia,serif;font-size:28px;margin:5px 0 8px}.modal-card p{margin:0 0 10px}
.modal-close{position:absolute;right:12px;top:10px;width:38px;height:38px;border-radius:50%;font-size:24px;padding:0}
footer{text-align:center;color:#6e685f;padding:20px 12px 40px;font-size:13px}
@media(max-width:760px){
  .hero h2{font-size:28px}
  .selector-card{grid-template-columns:1fr 1fr}
  .selector-card .field:nth-child(3){grid-column:1/-1}
  .selector-card button{grid-column:1/-1}
  .prayer-card{display:block}.prayer-card .icon{margin-bottom:6px}
}

/* ===== V3: Bíblia completa + estudo ===== */
.chapter-nav{display:grid;grid-template-columns:130px 1fr 130px;gap:10px;align-items:center;margin:14px 0 16px}
.chapter-nav span{text-align:center;font-family:Georgia,serif;font-weight:800;font-size:18px}
.nav-btn{height:42px;background:#fffdf7;color:#263b45;border:1px solid var(--line);box-shadow:none}
.nav-btn:disabled{opacity:.35;cursor:not-allowed}
.bible-wrap{margin-top:4px}
.bible-card{background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:22px;box-shadow:0 8px 24px #503d1b0b;border-top:5px solid #d5ae4e}
.bible-card.loading{color:var(--muted)}
.bible-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:16px}
.bible-heading h2,.bible-card h2{font-family:Georgia,serif;font-size:30px;line-height:1.15;margin:7px 0 0}
.bible-badge{display:inline-block;font-size:11px;font-weight:900;letter-spacing:.08em;padding:4px 9px;border-radius:999px;background:#f4e8c5;color:#745719}
.testament{font-size:12px;color:var(--muted);font-weight:800;text-align:right}
.verses{font-family:Georgia,'Times New Roman',serif;font-size:19px;line-height:1.78}
.verse{margin:0 0 12px}
.verse sup{font-family:Inter,system-ui,sans-serif;font-size:11px;font-weight:900;color:#9a7624;margin-right:7px;vertical-align:super}
.license-card{border-top-color:#9a7624}.error-card{border-top-color:var(--alert)}
.muted{color:var(--muted)}
.study-divider{display:flex;align-items:center;gap:14px;margin:32px 0 18px;color:#8a6b23;font-size:12px;font-weight:900;letter-spacing:.12em}
.study-divider::before,.study-divider::after{content:"";height:1px;background:#d8cfbd;flex:1}
.study-pending{border-left-color:#d5ae4e;background:#fffaf0}
.source-note{max-width:760px;margin:4px auto 0;font-size:11px;color:#817b73}
@media(max-width:760px){
  .chapter-nav{grid-template-columns:96px 1fr 96px;gap:6px}
  .nav-btn{font-size:13px;padding:0 6px}
  .chapter-nav span{font-size:16px}
  .bible-card{padding:18px 16px}
  .bible-heading{display:block}.testament{display:block;text-align:left;margin-top:6px}
  .bible-heading h2,.bible-card h2{font-size:27px}
  .verses{font-size:18px;line-height:1.75}
}


/* ===== V4: Progresso de leitura ===== */
.progress-card{padding:18px;margin:14px 0 4px}
.progress-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}
.progress-heading h3{margin:4px 0 0;font-family:Georgia,serif;font-size:22px;line-height:1.2}
.progress-percent{font-size:26px;color:#8a6b23;line-height:1}
.progress-track{height:12px;border-radius:999px;background:#e9e1d1;overflow:hidden}
.progress-fill{height:100%;width:0;border-radius:inherit;background:#2f7d4a;transition:width .28s ease}
.progress-meta{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:10px 0 14px;color:var(--muted);font-size:13px}
.progress-btn{width:100%;min-height:46px;height:auto;padding:11px 14px;background:#263b45}
.progress-btn.is-complete{background:#2f7d4a}
.progress-note{margin:9px 0 0;color:var(--muted);font-size:11px;line-height:1.45}
@media(max-width:760px){
  .progress-heading h3{font-size:20px}
  .progress-percent{font-size:23px}
  .progress-meta{display:grid;gap:2px}
}


/* ===== V5: Favoritos ===== */
.favorites-card{padding:18px;margin:14px 0 4px}
.favorites-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}
.favorites-heading h3{margin:4px 0 0;font-family:Georgia,serif;font-size:22px;line-height:1.2}
.favorite-count{min-width:42px;height:42px;padding:0 10px;border-radius:999px;background:#f4e8c5;color:#8a6b23;display:grid;place-items:center;font-size:20px;line-height:1}
.favorite-btn{width:100%;min-height:46px;height:auto;padding:11px 14px;background:#263b45}
.favorite-btn.is-favorite{background:#a77a16}
.favorites-list{display:grid;gap:8px;margin-top:12px;max-height:280px;overflow:auto;padding-right:2px}
.favorites-empty{margin:0;padding:12px 14px;border:1px dashed #d8cfbd;border-radius:12px;color:var(--muted);font-size:13px;background:#fffaf0}
.favorite-row{display:grid;grid-template-columns:1fr 42px;gap:7px}
.favorite-open{min-height:42px;height:auto;padding:8px 12px;text-align:left;background:#fffaf0;color:#5d4919;border:1px solid #e5d4a4;font-size:14px}
.favorite-remove{height:42px;padding:0;background:#f3ece0;color:#6e5a46;border:1px solid #dfd3c1;font-size:22px;font-weight:500}
.favorites-note{margin:9px 0 0;color:var(--muted);font-size:11px;line-height:1.45}
@media(max-width:760px){
  .favorites-heading h3{font-size:20px}
  .favorite-count{min-width:38px;height:38px;font-size:18px}
}


/* ===== V6: Busca inteligente ===== */
.search-card{background:var(--paper);border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 24px #503d1b0b;padding:18px;margin:14px 0 4px}
.search-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.search-heading h3{margin:4px 0 0;font-family:Georgia,serif;font-size:22px;line-height:1.2}
.search-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#f4e8c5;color:#8a6b23;font-size:26px;font-weight:800;line-height:1}
.search-intro{margin:10px 0 12px;color:var(--muted);font-size:13px}
.search-box{display:grid;grid-template-columns:1fr 126px;gap:8px}
.search-box input{height:48px;width:100%;border:1px solid #d7cfbf;border-radius:12px;padding:0 14px;background:#fff;font:inherit;font-size:16px;color:var(--ink);outline:none}
.search-box input:focus{border-color:#a77a16;box-shadow:0 0 0 3px #d5ae4e2c}
.search-box button{height:48px;background:#263b45}
.quick-search{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}
.quick-search-btn{height:32px;padding:0 11px;border-radius:999px;background:#f7f0dc;color:#73581b;border:1px solid #e5d4a4;font-size:12px;font-weight:800}
.search-status{margin:11px 0 0;color:var(--muted);font-size:12px}
.search-results{display:grid;gap:9px;margin-top:12px;max-height:560px;overflow:auto;padding-right:2px}
.search-results:empty{display:none}
.search-result{border:1px solid #e4dccd;background:#fffaf0;border-radius:14px;padding:13px}
.search-result-top{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:start}
.search-ref{font-size:11px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:#8a6b23}
.search-result h4{font-family:Georgia,serif;font-size:18px;line-height:1.25;margin:3px 0 0}
.search-result p{margin:8px 0 0;color:#5f594f;font-size:13px;line-height:1.5}
.search-open{height:36px;padding:0 13px;background:#263b45;border-radius:10px;font-size:13px}
.search-tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:9px}
.search-tags span{padding:3px 7px;border-radius:999px;background:#efe8d6;color:#6b5625;font-size:10px;font-weight:800}
@media(max-width:760px){
  .search-heading h3{font-size:20px}
  .search-box{grid-template-columns:1fr}
  .search-box button{width:100%}
  .search-results{max-height:520px}
}


/* ===== V7: Continuar de onde parei ===== */
.continue-card{background:linear-gradient(135deg,#fffaf0 0%,#fffdf7 100%);border:1px solid #e3d7bd;border-left:5px solid #d5ae4e;border-radius:18px;box-shadow:0 8px 24px #503d1b0b;padding:18px;margin:14px 0 4px}
.continue-card.is-empty{border-left-color:#c9c1b3}
.continue-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.continue-heading h3{margin:4px 0 0;font-family:Georgia,serif;font-size:22px;line-height:1.2}
.continue-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#f4e8c5;color:#8a6b23;font-size:25px;font-weight:800;line-height:1}
.continue-text{margin:10px 0 0;color:#5f594f;font-size:14px;line-height:1.5}
.continue-meta{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}
.continue-meta[hidden]{display:none}
.continue-meta span{padding:5px 9px;border-radius:999px;background:#efe8d6;color:#6b5625;font-size:11px;font-weight:800}
.continue-btn{width:100%;min-height:46px;height:auto;margin-top:12px;padding:11px 14px;background:#a77a16;color:#fff}
.continue-btn[hidden]{display:none}
@media(max-width:760px){
  .continue-heading h3{font-size:20px}
  .continue-icon{width:38px;height:38px;font-size:22px}
}


/* ===== V8: Meu Caderno ===== */
.notes-card{background:var(--paper);border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 24px #503d1b0b;padding:18px;margin:14px 0 4px}
.notes-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:8px}
.notes-heading h3{margin:4px 0 0;font-family:Georgia,serif;font-size:22px;line-height:1.2}
.note-count{min-width:42px;height:42px;padding:0 10px;border-radius:999px;background:#e8efe9;color:#2f6e45;display:grid;place-items:center;font-size:20px;line-height:1}
.notes-intro{margin:8px 0 12px;color:var(--muted);font-size:13px;line-height:1.5}
.note-label{display:block;margin:0 0 7px;font-size:12px;font-weight:900;color:#5d554a}
.chapter-note{width:100%;min-height:150px;resize:vertical;border:1px solid #d7cfbf;border-radius:14px;padding:13px 14px;background:#fffdf8;color:var(--ink);font:inherit;font-size:15px;line-height:1.55;outline:none}
.chapter-note:focus{border-color:#a77a16;box-shadow:0 0 0 3px #d5ae4e2c}
.notes-actions{display:grid;grid-template-columns:1fr 100px;gap:8px;margin-top:9px}
.note-save{min-height:44px;height:auto;background:#263b45}
.note-clear{min-height:44px;height:auto;background:#f3ece0;color:#6e5a46;border:1px solid #dfd3c1}
.note-clear:disabled{opacity:.45;cursor:not-allowed}
.note-status{margin:9px 0 0;color:#6a645b;font-size:11px;line-height:1.4}
.notes-list-toggle{width:100%;min-height:40px;height:auto;margin-top:12px;padding:8px 12px;background:#fffaf0;color:#73581b;border:1px solid #e5d4a4;font-size:12px}
.notes-list{display:grid;gap:8px;margin-top:9px;max-height:360px;overflow:auto;padding-right:2px}
.notes-list[hidden]{display:none}
.notes-empty{margin:0;padding:12px 14px;border:1px dashed #d8cfbd;border-radius:12px;color:var(--muted);font-size:13px;background:#fffaf0}
.note-row{display:grid;grid-template-columns:1fr 42px;gap:7px}
.note-open{min-height:52px;height:auto;padding:9px 12px;text-align:left;background:#fffaf0;color:#5d4919;border:1px solid #e5d4a4;font-size:13px;display:grid;gap:3px}
.note-open strong{font-size:13px}
.note-open span{font-weight:500;color:#766b5a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.note-remove{height:52px;padding:0;background:#f3ece0;color:#6e5a46;border:1px solid #dfd3c1;font-size:22px;font-weight:500}
.notes-note{margin:9px 0 0;color:var(--muted);font-size:11px;line-height:1.45}
@media(max-width:760px){
  .notes-heading h3{font-size:20px}
  .note-count{min-width:38px;height:38px;font-size:18px}
  .notes-actions{grid-template-columns:1fr 88px}
}


/* ===== V9: Meus Dados / Backup ===== */
.data-card{background:linear-gradient(180deg,#fffdf8 0%,#faf6ec 100%);border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 24px #503d1b0b;padding:18px;margin:14px 0 4px}
.data-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.data-heading h3{margin:4px 0 0;font-family:Georgia,serif;font-size:22px;line-height:1.2}
.data-shield{min-width:42px;height:42px;border-radius:999px;background:#e8efe9;color:#2f6e45;display:grid;place-items:center;font-size:22px;font-weight:800}
.data-intro{margin:10px 0 12px;color:var(--muted);font-size:13px;line-height:1.5}
.data-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:10px 0 12px}
.data-summary>div{background:#fff;border:1px solid #e4dccd;border-radius:12px;padding:10px 8px;min-width:0;text-align:center}
.data-summary strong{display:block;font-size:19px;line-height:1.1;color:#334b42;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.data-summary strong.data-last{font-size:12px;padding-top:4px}
.data-summary span{display:block;margin-top:4px;font-size:10px;color:#7a7165}
.data-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.data-export,.data-import{min-height:46px;height:auto;padding:10px 12px}
.data-export{background:#263b45}
.data-import{background:#fffaf0;color:#73581b;border:1px solid #dfc98c}
.data-status{margin:10px 0 0;color:#5f655e;font-size:11px;line-height:1.45}
.data-note{margin:7px 0 0;color:var(--muted);font-size:11px;line-height:1.45}
@media(max-width:760px){
  .data-heading h3{font-size:20px}
  .data-shield{min-width:38px;height:38px;font-size:20px}
  .data-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* ===== V10: Plano de Leitura ===== */
.reading-plan-card{background:linear-gradient(145deg,#fffdf7 0%,#f8f1df 100%);border:1px solid #dfd1ad;border-left:5px solid #7c8f78;border-radius:18px;box-shadow:0 8px 24px #503d1b0b;padding:18px;margin:14px 0 4px}
.reading-plan-card.is-inactive{border-left-color:#c9c1b3}
.plan-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.plan-heading h3{margin:4px 0 0;font-family:Georgia,serif;font-size:22px;line-height:1.2}
.plan-today-count{min-width:48px;height:42px;padding:0 10px;border-radius:999px;background:#e8efe9;color:#2f6e45;display:grid;place-items:center;font-size:17px;line-height:1}
.plan-intro{margin:10px 0 12px;color:var(--muted);font-size:13px;line-height:1.5}
.plan-settings{display:grid;grid-template-columns:1fr 150px;gap:8px;align-items:end}
.plan-goal-field{display:grid;gap:6px}
.plan-goal-field label{font-size:12px;font-weight:900;color:#5d554a}
.plan-goal-field select{width:100%;height:46px;border:1px solid #d7cfbf;border-radius:12px;padding:0 12px;background:#fff;font:inherit;font-size:14px;color:var(--ink)}
.plan-start-btn{min-height:46px;height:auto;padding:10px 12px;background:#263b45}
.plan-active[hidden]{display:none}
.plan-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:13px 0 10px}
.plan-summary>div{background:#fff;border:1px solid #e4dccd;border-radius:12px;padding:9px 7px;min-width:0;text-align:center}
.plan-summary strong{display:block;font-size:17px;line-height:1.1;color:#334b42;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.plan-summary span{display:block;margin-top:4px;font-size:9px;color:#7a7165;line-height:1.2}
.plan-today-list{display:grid;gap:7px;margin-top:8px}
.plan-reading-row{width:100%;min-height:54px;height:auto;padding:8px 10px;display:grid;grid-template-columns:32px 1fr 24px;gap:8px;align-items:center;text-align:left;background:#fffaf0;color:#554b3e;border:1px solid #e5d8b8;border-radius:12px}
.plan-reading-row.is-done{background:#eef5ef;border-color:#c8dbc9;color:#385a42}
.plan-reading-check{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#f0e6ca;color:#83661f;font-size:16px;font-weight:900}
.plan-reading-row.is-done .plan-reading-check{background:#d8eadc;color:#2f6e45}
.plan-reading-ref{display:grid;gap:2px;min-width:0}
.plan-reading-ref strong{font-size:14px;line-height:1.2}
.plan-reading-ref small{font-size:10px;font-weight:700;color:#7a7165}
.plan-reading-arrow{font-size:24px;line-height:1;color:#9b8a6d;text-align:right}
.plan-status{margin:10px 0 0;color:#5d665d;font-size:12px;line-height:1.45}
.plan-note{margin:8px 0 0;color:var(--muted);font-size:11px;line-height:1.45}
.plan-complete-bible{display:grid;gap:3px;padding:13px 14px;border:1px solid #c9ddcc;border-radius:12px;background:#eef6ef;color:#35563f}
.plan-complete-bible strong{font-size:14px}
.plan-complete-bible span{font-size:11px}
@media(max-width:760px){
  .plan-heading h3{font-size:20px}
  .plan-settings{grid-template-columns:1fr 120px}
  .plan-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .plan-today-count{min-width:42px;height:38px;font-size:15px}
}

/* ===== V11: Conta e sincronização ===== */
.account-card{background:linear-gradient(145deg,#fffef9 0%,#f1f5f0 100%);border:1px solid #d9dfd4;border-left:5px solid #607b69;border-radius:18px;box-shadow:0 8px 24px #334b420c;padding:18px;margin:14px 0 4px}
.account-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.account-heading h3{margin:4px 0 0;font-family:Georgia,serif;font-size:22px;line-height:1.2}
.account-cloud{min-width:42px;height:42px;border-radius:999px;background:#e5eee7;color:#3f6850;display:grid;place-items:center;font-size:22px}
.account-intro{margin:10px 0 13px;color:var(--muted);font-size:13px;line-height:1.5}
.account-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:10px;padding:4px;background:#edf1ec;border:1px solid #dce3da;border-radius:13px}
.account-tab{height:40px;background:transparent;color:#657069;border:0;font-size:13px}
.account-tab.is-active{background:#fff;color:#314b3c;box-shadow:0 2px 8px #314b3c12}
.account-form{display:grid;gap:7px}
.account-form[hidden]{display:none}
.account-form label{font-size:12px;font-weight:900;color:#565f59;margin-top:2px}
.account-form input{width:100%;min-height:46px;border:1px solid #d4dcd2;border-radius:12px;background:#fff;padding:10px 12px;color:var(--ink);font:inherit;font-size:14px;outline:none}
.account-form input:focus{border-color:#6b8a76;box-shadow:0 0 0 3px #6b8a7624}
.account-form button[type="submit"]{min-height:47px;height:auto;margin-top:4px;background:#2f4b3a}
.account-user{display:grid;gap:11px}
.account-user[hidden]{display:none}
.account-user-row{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#fff;border:1px solid #dce3da;border-radius:14px;padding:12px}
.account-user-row>div{min-width:0;display:grid;gap:3px}
.account-user-row strong{font-size:15px;color:#2d4034;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-user-row span:not(.account-sync-badge){font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-sync-badge{flex:0 0 auto;border-radius:999px;padding:6px 9px;font-size:10px;font-weight:900;background:#e7f2e9;color:#2f6e45}
.account-sync-badge[data-state="working"]{background:#f4ecd2;color:#7a5d18}
.account-sync-badge[data-state="pending"]{background:#fff0dc;color:#8a5d25}
.account-actions{display:grid;grid-template-columns:1fr 90px;gap:8px}
.account-sync-btn,.account-logout-btn{min-height:44px;height:auto;padding:9px 11px}
.account-sync-btn{background:#2f4b3a}
.account-logout-btn{background:#f3ece0;color:#6e5a46;border:1px solid #dfd3c1}
.account-status{margin:10px 0 0;font-size:11px;line-height:1.45;color:#626a64}
.account-status[data-state="ok"]{color:#2f6e45}
.account-status[data-state="error"]{color:#9a473d}
.account-status[data-state="working"]{color:#7a5d18}
.account-note{margin:6px 0 0;color:var(--muted);font-size:11px;line-height:1.45}
@media(max-width:760px){.account-heading h3{font-size:20px}.account-cloud{min-width:38px;height:38px;font-size:20px}.account-actions{grid-template-columns:1fr 82px}}



/* ===== V12: Cadastro somente por convite ===== */
.invite-help{margin:-2px 0 2px;color:#766b5a;font-size:11px;line-height:1.45}
#registerInvite{text-transform:uppercase;letter-spacing:.04em}


/* ===== V13: Licença individual ===== */
#registerInvite{text-transform:uppercase;letter-spacing:.055em;font-weight:800}


/* ===== V14: Exclusão de conta e dados ===== */
.account-delete-link{margin-top:10px;width:100%;min-height:40px;height:auto;background:transparent;color:#9a3f36;border:1px solid #e6c7c2;font-size:12px}
.delete-account-box{margin-top:10px;padding:14px;border:1px solid #e2bbb5;border-radius:14px;background:#fff7f5}
.delete-account-box[hidden]{display:none}
.delete-account-box>strong{display:block;color:#8d3028;font-size:15px}
.delete-account-box>p{margin:6px 0 10px;color:#6f615d;font-size:12px;line-height:1.5}
.delete-account-box label{display:block;margin:7px 0 5px;font-size:12px;font-weight:800;color:#5d554a}
.delete-account-box input[type="password"]{width:100%;min-height:44px;border:1px solid #d9c9c5;border-radius:12px;padding:10px 12px;font:inherit;background:#fff}
.delete-confirm-row{display:flex!important;align-items:flex-start;gap:8px;margin:10px 0!important;font-weight:600!important}
.delete-confirm-row input{margin-top:2px}
.delete-account-actions{display:grid;grid-template-columns:1fr 92px;gap:8px}
.danger-button{min-height:44px;height:auto;background:#9b3f35;color:#fff}
.soft-button{min-height:44px;height:auto;background:#f3ece0;color:#6e5a46;border:1px solid #dfd3c1}
.account-note a{color:#73581b;text-decoration:underline}

.legal-links{margin:8px 0}.legal-links a{color:#73581b;text-decoration:underline;font-weight:700}
