/* App Cristão Outliers — visual: vinho, ouro e papel; serifa Literata para a Palavra, Instrument Sans para a interface. */
:root{
  --ink:#241B2F; --muted:#6F6677; --line:#E7E1E8;
  --wine:#7A1838; --wine-deep:#4E0E24; --gold:#C9A253; --flame:#F0B04A;
  --linen:#F3F0F3; --paper:#FFFFFF; --sage:#2F6B4F; --sage-soft:#E6F1EA; --gold-soft:#FBF0D9;
  --serif:"Literata",Georgia,serif; --sans:"Instrument Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --safe-b:env(safe-area-inset-bottom,0px); --safe-t:env(safe-area-inset-top,0px);
}
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{background:var(--ink);color:var(--ink);font:15px/1.5 var(--sans);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;overscroll-behavior-y:none}
button,input,textarea,select{font:inherit;color:inherit}
button{background:none;border:0;cursor:pointer}
a{color:inherit}
svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px;border-radius:10px}
.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
[hidden]{display:none!important}

.app{position:relative;max-width:480px;height:100%;height:100dvh;margin:0 auto;background:var(--linen);overflow:hidden;display:flex;flex-direction:column}
@media (min-width:520px){.app{height:calc(100dvh - 40px);margin:20px auto;border-radius:28px;box-shadow:0 40px 80px -30px rgba(0,0,0,.7)}}

/* ---------- Boas-vindas e entrar ---------- */
.welcome{position:absolute;inset:0;z-index:30;background:var(--wine-deep);color:#fff;display:none;flex-direction:column;justify-content:space-between;padding:calc(36px + var(--safe-t)) 26px calc(30px + var(--safe-b));overflow-y:auto}
.welcome.on{display:flex}
.welcome::before{content:"";position:absolute;right:-90px;bottom:-130px;width:360px;height:360px;border-radius:50%;background:radial-gradient(circle,rgba(240,176,74,.26),transparent 70%);pointer-events:none}
.welcome>*{position:relative}
.logo{width:54px;height:54px;border-radius:16px;background:#fff;color:var(--wine);display:grid;place-items:center}
.logo svg{width:28px;height:28px;stroke-width:2.6}
.welcome h1,.welcome h2{font:600 34px/1.08 var(--serif);margin-top:24px;max-width:12ch;letter-spacing:-.01em}
.welcome .lede{font-size:16px;color:#E8D3DB;margin-top:12px;max-width:31ch}
.welcome ul{list-style:none;margin-top:22px;display:grid;gap:12px}
.welcome li{display:grid;grid-template-columns:26px 1fr;gap:10px;font-size:15px;color:#F4E7EC}
.welcome li svg{width:22px;height:22px;color:var(--flame)}
.peek{margin-top:24px;border:1px solid rgba(201,162,83,.45);border-radius:20px;padding:16px 18px;background:rgba(255,255,255,.05)}
.peek span{font-size:12.5px;font-weight:700;color:var(--flame)}
.peek p{font:400 17px/1.5 var(--serif);margin-top:6px;color:#fff}
.peek small{display:block;margin-top:8px;color:#D6BCC6;font-size:12.5px}
.welcome .fine{font-size:13px;color:#D6BCC6;text-align:center;margin-top:10px}
.welcome .link{display:block;text-align:center;margin:12px auto 0;font-weight:700;color:#fff;padding:8px}
.welcome .back{display:inline-flex;align-items:center;gap:6px;color:#E8D3DB;font-weight:600;font-size:14px;padding:6px 0}
.welcome .back svg{width:18px;height:18px}
.welcome label.f{display:block;font-size:13.5px;font-weight:600;color:#EAD5DD;margin-top:16px}
.welcome .field{margin-top:6px;background:#fff;border-color:transparent;color:var(--ink)}
.welcome .err{color:#FFD3DC}
.code-in{letter-spacing:.4em;text-align:center;font-size:24px!important;font-weight:700}
.check{display:flex;gap:10px;align-items:flex-start;margin-top:14px;font-size:13.5px;color:#EAD5DD;line-height:1.45;cursor:pointer}
.check input{width:20px;height:20px;margin-top:1px;accent-color:var(--gold);flex:none}
.check a{color:#fff}

/* ---------- Estrutura com abas ---------- */
.shell{flex:1;min-height:0;display:flex;flex-direction:column}
.views{position:relative;flex:1;min-height:0}
.view{position:absolute;inset:0;overflow-y:auto;overflow-x:hidden;padding:calc(10px + var(--safe-t)) 18px 30px;display:none;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.view::-webkit-scrollbar{display:none}
.view.on{display:block}
.tabbar{flex:none;display:grid;grid-template-columns:repeat(5,1fr);background:var(--paper);border-top:1px solid var(--line);padding:6px 4px calc(8px + var(--safe-b))}
.tab{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:11px;font-weight:600;color:#8C8393;padding:5px 0;position:relative}
.tab svg{width:23px;height:23px}
.tab[aria-selected="true"]{color:var(--wine)}
.tab .dot{position:absolute;top:3px;right:calc(50% - 18px);width:8px;height:8px;border-radius:50%;background:#D13A5A;border:2px solid #fff}

.top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 2px 14px}
.top h2{font:600 24px/1.2 var(--serif)}
.top .sub{font-size:13px;color:var(--muted)}
.top-actions{display:flex;align-items:center;gap:6px}
.icon-btn{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;position:relative;color:var(--ink)}
.icon-btn svg{width:22px;height:22px}
.icon-btn .count{position:absolute;top:3px;right:2px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#D13A5A;color:#fff;font-size:11px;font-weight:800;display:grid;place-items:center;border:2px solid var(--linen)}
.me{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:800;font-size:14px}
.pill{font-size:12px;font-weight:700;color:var(--wine);background:#F7E7EC;border-radius:999px;padding:5px 10px;white-space:nowrap}
.flame-pill{white-space:nowrap;display:inline-flex;align-items:center;gap:5px;font-weight:800;font-size:13px;color:#8A5A0B;background:var(--gold-soft);border-radius:999px;padding:5px 10px 5px 8px}
.flame-pill svg{width:16px;height:16px;fill:var(--flame);stroke:none}

/* ---------- Botões e campos ---------- */
.btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:52px;border-radius:16px;font-weight:700;font-size:16px;margin-top:12px;transition:transform .1s,opacity .15s;text-decoration:none}
.btn:active{transform:scale(.985)}
.btn-wine{background:var(--wine);color:#fff}
.btn-gold{background:var(--gold);color:#2B1E05}
.btn-ghost{background:transparent;color:var(--wine);border:1.5px solid #E2C6D0}
.btn-light{background:rgba(255,255,255,.12);color:#fff}
.btn[disabled]{opacity:.45;cursor:not-allowed}
.btn.sm{min-height:42px;font-size:14.5px;border-radius:12px}
.btn svg{width:18px;height:18px}
.field{width:100%;border:1.5px solid var(--line);border-radius:14px;padding:13px 14px;font-size:16px;background:#FCFBFC;color:var(--ink)}
textarea.field{resize:none;min-height:96px;line-height:1.5}
.field:focus{outline:none;border-color:var(--wine)}
.err{font-size:14px;color:#B42318;margin-top:8px}
.err:empty{display:none}
.hint{font-size:12.5px;color:var(--muted);text-align:center;margin-top:8px}
.switch-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 2px;font-size:14.5px}
.switch-row small{display:block;color:var(--muted);font-size:12.5px}
.switch{width:46px;height:28px;border-radius:999px;background:#DCD5DE;position:relative;flex:none;transition:background .2s}
.switch::after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;transition:transform .2s;box-shadow:0 1px 3px rgba(0,0,0,.2)}
.switch[aria-checked="true"]{background:var(--wine)}
.switch[aria-checked="true"]::after{transform:translateX(18px)}
.seg{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;background:#E9E4EA;border-radius:12px;padding:4px}
.seg button{padding:9px 6px;border-radius:9px;font-weight:700;font-size:13.5px;color:var(--muted)}
.seg button[aria-pressed="true"]{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.08)}
.card{background:var(--paper);border-radius:22px;padding:18px}
.empty{text-align:center;padding:30px 18px;color:var(--muted)}
.empty svg{width:40px;height:40px;color:var(--gold);margin-bottom:10px}
.empty strong{display:block;font:600 19px/1.3 var(--serif);color:var(--ink);margin-bottom:6px}
.spin{width:22px;height:22px;border-radius:50%;border:3px solid rgba(0,0,0,.12);border-top-color:var(--wine);animation:spin .8s linear infinite;margin:30px auto}
@keyframes spin{to{transform:rotate(360deg)}}

/* ---------- HOJE ---------- */
.word{background:var(--wine-deep);color:#fff;border-radius:26px;padding:24px 22px 20px;position:relative;overflow:hidden}
.word::after{content:"";position:absolute;right:-60px;top:-60px;width:200px;height:200px;border-radius:50%;background:radial-gradient(circle,rgba(240,176,74,.35),transparent 70%)}
.word .ref{font-size:13px;font-weight:700;color:var(--flame)}
.word blockquote{font:400 22px/1.42 var(--serif);margin-top:10px;position:relative;z-index:1}
.word .who{margin-top:14px;font-size:12.5px;color:#D9C3CC}
.reflect{margin-top:12px}
.reflect h3{font:600 19px/1.3 var(--serif)}
.reflect .time{font-size:12.5px;color:var(--muted);margin-top:2px}
.reflect p{font:400 16.5px/1.72 var(--serif);margin-top:12px;color:#3A3141}
.more{margin-top:10px;font-weight:700;font-size:14px;color:var(--wine);padding:4px 0}
.prayer{margin-top:14px;padding:14px 16px;border-radius:16px;background:#FBF6EF;font:italic 400 16px/1.65 var(--serif);color:#4A3D2A}
.ask{margin-top:12px;border:2px solid var(--gold)}
.ask .lbl{font-size:13px;font-weight:700;color:#8A5A0B}
.ask .q{font:600 19px/1.38 var(--serif);margin-top:6px}
.ask textarea{margin-top:14px}
.anon{display:flex;gap:8px;align-items:center;margin-top:10px;font-size:13.5px;color:var(--muted);cursor:pointer}
.anon input{width:18px;height:18px;accent-color:var(--wine)}
.convo{position:relative;margin-top:22px;min-height:120px}
.convo.closed{min-height:430px;overflow:hidden;border-radius:24px}
.convo-head{display:flex;justify-content:space-between;align-items:baseline;padding:2px 4px 10px}
.convo-head h3{font:600 20px/1.2 var(--serif)}
.convo-head span{font-size:13px;color:var(--muted)}
.torn{text-align:center;font:italic 400 14px/1.4 var(--serif);color:var(--muted);margin:0 0 12px}
.post{background:var(--paper);border-radius:20px;padding:16px;margin-bottom:10px;position:relative}
.post.mine{border:1.5px solid #E2C6D0;background:#FFF9FB}
.post .who{display:flex;align-items:center;gap:10px;padding-right:30px}
.av{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:14px;color:#fff;flex:none}
.post .name{font-weight:700;font-size:14.5px}
.post .name em{font-style:normal;font-size:11.5px;font-weight:700;color:#8A5A0B;background:var(--gold-soft);border-radius:999px;padding:2px 7px;margin-left:6px}
.post .place{font-size:12.5px;color:var(--muted)}
.post p.t{margin-top:10px;font:400 15.5px/1.6 var(--serif);color:#3A3141;white-space:pre-line;overflow-wrap:anywhere}
.post .opt{position:absolute;top:12px;right:10px;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;color:#9A90A0}
.post .opt svg{width:20px;height:20px}
.reacts{display:flex;gap:6px;margin-top:12px;flex-wrap:wrap}
.react{font-size:13px;font-weight:700;padding:7px 12px;border-radius:999px;background:var(--linen);color:#5A5061;transition:background .15s,color .15s}
.react[aria-pressed="true"]{background:var(--wine);color:#fff}
.private{margin-top:10px;font-size:12.5px;color:var(--wine);font-weight:600;display:flex;gap:6px;align-items:flex-start}
.private svg{width:15px;height:15px;margin-top:2px}
.review{margin-top:8px;font-size:12.5px;color:#8a5300}
.end{text-align:center;padding:20px 16px 6px;color:var(--muted)}
.end strong{display:block;font:600 18px/1.3 var(--serif);color:var(--ink)}
.end svg{width:28px;height:28px;color:var(--gold);margin-bottom:6px}
.feed.blur .post{filter:blur(6px);opacity:.7;pointer-events:none;user-select:none}
.veil{position:absolute;inset:44px 0 0 0;display:flex;z-index:2}
.veil .half{flex:1;background:repeating-linear-gradient(90deg,rgba(0,0,0,0) 0 14px,rgba(0,0,0,.16) 14px 18px,rgba(255,255,255,.04) 18px 22px),linear-gradient(180deg,#8A1D41,#5E1028);transition:transform 1.1s cubic-bezier(.7,0,.2,1)}
.veil .half.l{border-right:1px solid rgba(201,162,83,.6)}
.veil .msg{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px;color:#fff;transition:opacity .3s}
.veil .msg svg{width:34px;height:34px;color:var(--gold);margin-bottom:12px}
.veil .msg strong{font:600 20px/1.3 var(--serif)}
.veil .msg span{margin-top:8px;font-size:14px;color:#EBD3DB;max-width:26ch}
.veil.open{pointer-events:none}
.veil.open .msg{opacity:0}
.veil.open .l{transform:translateX(-102%) skewY(-4deg)}
.veil.open .r{transform:translateX(102%) skewY(4deg)}
.fake{background:var(--paper);border-radius:20px;height:130px;margin-bottom:10px}

/* ---------- ORAÇÃO ---------- */
.promise{display:flex;gap:12px;background:var(--sage-soft);color:#1F4B36;border-radius:18px;padding:14px 16px;font-size:13.5px;line-height:1.45}
.promise svg{width:22px;height:22px;margin-top:1px}
.promise b{display:block;font-size:14.5px;margin-bottom:2px}
.req{background:var(--paper);border-radius:20px;padding:16px;margin-top:10px;position:relative}
.req .meta{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--muted);padding-right:28px}
.req .meta b{color:var(--ink);font-size:13.5px}
.tag{font-size:11.5px;font-weight:700;color:#8A5A0B;background:var(--gold-soft);border-radius:999px;padding:2px 8px}
.req p.t{margin-top:8px;font:400 16px/1.6 var(--serif);white-space:pre-line;overflow-wrap:anywhere}
.req .row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}
.req .count{font-size:13px;color:var(--muted)}
.pray{display:inline-flex;align-items:center;gap:7px;font-weight:800;font-size:14px;padding:10px 16px;border-radius:999px;background:var(--wine);color:#fff;white-space:nowrap}
.pray svg{width:17px;height:17px}
.pray.done{background:var(--sage-soft);color:var(--sage)}
.req.answered{border:2px solid #9CCBB0}
.badge-ans{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:800;color:var(--sage);background:var(--sage-soft);border-radius:999px;padding:4px 10px;margin-bottom:8px}
.badge-ans svg{width:14px;height:14px}
.testimony{margin-top:10px;padding:12px 14px;border-radius:14px;background:#F6FAF7;font:italic 400 15px/1.6 var(--serif);color:#2C4A3A}
.teamnote{margin-top:10px;padding:10px 12px;border-radius:12px;background:var(--sage-soft);color:#1F4B36;font-size:13.5px}
.req .acts{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}
.chip{font-size:13px;font-weight:700;padding:8px 12px;border-radius:999px;background:var(--linen);color:#5A5061}
.chip.good{background:var(--sage-soft);color:var(--sage)}
.fab{position:sticky;bottom:4px;z-index:3}
.fab .btn{box-shadow:0 12px 24px -12px rgba(122,24,56,.7)}

/* ---------- CÍRCULO ---------- */
.chips{display:flex;gap:8px;overflow-x:auto;margin:0 -18px 12px;padding:0 18px;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chips button{flex:none;font-weight:700;font-size:13.5px;padding:8px 14px;border-radius:999px;background:var(--paper);color:var(--muted)}
.chips button[aria-pressed="true"]{background:var(--wine);color:#fff}
.circle-hero{text-align:center;padding:22px 20px}
.big-flame{width:86px;height:110px;margin:0 auto;stroke:none}
.big-flame .f1{fill:var(--flame)}.big-flame .f2{fill:#F7D27E}.big-flame .f3{fill:#FFF3D6}
.big-flame.out .f1{fill:#D9D3DB}.big-flame.out .f2{fill:#E8E3E9}.big-flame.out .f3{fill:#F5F2F6}
@media (prefers-reduced-motion:no-preference){.big-flame:not(.out) g{transform-origin:50% 100%;animation:flick 2.6s ease-in-out infinite}}
@keyframes flick{0%,100%{transform:scaleY(1) skewX(0)}40%{transform:scaleY(1.04) skewX(-2deg)}70%{transform:scaleY(.98) skewX(2deg)}}
.circle-hero h3{font:600 21px/1.25 var(--serif);margin-top:8px}
.circle-hero p{color:var(--muted);font-size:14px;margin-top:4px}
.grace{display:inline-flex;margin-top:12px;font-size:12.5px;font-weight:700;color:#8A5A0B;background:var(--gold-soft);border-radius:999px;padding:5px 12px}
.members{padding:6px 16px;margin-top:12px}
.member{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.member:last-child{border:0}
.member .n{flex:1;font-weight:700;font-size:14.5px;min-width:0}
.member .n small{display:block;font-weight:500;color:var(--muted);font-size:12.5px}
.ok{color:var(--sage);width:22px;height:22px}
.covered{color:#8A5A0B;width:22px;height:22px}
.cover{font-weight:800;font-size:13px;padding:8px 12px;border-radius:999px;background:var(--gold-soft);color:#7A4E06;white-space:nowrap}
.invite-row{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:12px}
.invite{display:flex;align-items:center;justify-content:center;gap:8px;font-weight:800;color:#1E6B45;background:#E3F4EA;border-radius:16px;min-height:50px;text-decoration:none}
.invite svg{width:20px;height:20px}
.copy{min-height:50px;padding:0 16px;border-radius:16px;background:var(--paper);font-weight:700;font-size:14px;color:var(--muted)}
.msgs{margin-top:18px}
.msgs h4{font:600 17px/1.3 var(--serif);margin:0 4px 8px}
.bubble{background:var(--paper);border-radius:20px 20px 20px 6px;padding:11px 14px;margin-bottom:8px;max-width:88%}
.bubble.mine{margin-left:auto;border-radius:20px 20px 6px 20px;background:#FFF5F8}
.bubble .from{font-size:12.5px;font-weight:700}
.bubble .from small{font-weight:500;color:var(--muted);margin-left:6px}
.bubble p{font:400 15px/1.55 var(--serif);margin-top:3px;white-space:pre-line;overflow-wrap:anywhere}
.audio{display:flex;align-items:center;gap:10px;margin-top:6px}
.play{width:38px;height:38px;border-radius:50%;background:var(--wine);color:#fff;display:grid;place-items:center;flex:none}
.play svg{width:16px;height:16px;fill:#fff;stroke:none}
.wave{display:flex;align-items:center;gap:3px;height:28px;flex:1;min-width:0;overflow:hidden}
.wave i{display:block;width:3px;flex:none;border-radius:3px;background:#C9A9B4}
.wave i.p{background:var(--wine)}
.audio .t{font-size:12.5px;color:var(--muted);font-variant-numeric:tabular-nums}
.composer{position:sticky;bottom:4px;display:flex;gap:8px;align-items:flex-end;margin-top:10px;background:var(--linen);padding-top:6px}
.composer textarea{flex:1;min-height:46px;max-height:120px;border-radius:23px;padding:11px 16px}
.round{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;flex:none;background:var(--wine);color:#fff}
.round svg{width:20px;height:20px}
.round.rec{background:#D13A5A;animation:pulse 1s infinite}
@keyframes pulse{50%{opacity:.6}}
.recbar{display:flex;align-items:center;gap:10px;flex:1;min-height:46px;border-radius:23px;background:#FFF5F7;padding:0 14px}
.recbar .dot{width:10px;height:10px;border-radius:50%;background:#D13A5A;animation:pulse 1s infinite}
.recbar .t{font-weight:800;font-variant-numeric:tabular-nums;font-size:14px}
.recbar button{font-weight:700;font-size:13px;color:var(--muted)}
.leave{display:block;margin:22px auto 0;font-size:13px;font-weight:600;color:var(--muted);padding:8px}

/* ---------- ESTUDOS ---------- */
.month{display:grid;grid-template-columns:116px 1fr;gap:16px;align-items:center}
.cover-art{aspect-ratio:3/4;border-radius:6px 12px 12px 6px;padding:12px 11px;color:#fff;display:flex;flex-direction:column;justify-content:space-between;box-shadow:inset 6px 0 0 rgba(0,0,0,.18),0 14px 22px -14px rgba(0,0,0,.5);overflow:hidden;position:relative;background-size:cover;background-position:center}
.cover-art b{font:700 16px/1.12 var(--serif)}
.cover-art small{font-size:10.5px;opacity:.85}
.cover-art.img b,.cover-art.img small{display:none}
.month .when{font-size:12.5px;font-weight:700;color:#8A5A0B}
.month h3{font:600 18px/1.25 var(--serif);margin-top:4px}
.month p{font-size:13px;color:var(--muted);margin-top:4px}
.mark{display:flex;gap:8px;align-items:flex-start;margin-top:10px;font-size:12.5px;color:var(--muted);background:var(--paper);border-radius:14px;padding:10px 12px}
.mark svg{width:16px;height:16px;margin-top:1px;color:var(--wine)}
.shelf{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}
.shelf a{text-decoration:none}
.shelf b{display:block;font-size:13.5px;line-height:1.3;margin-top:8px}
.shelf span{font-size:12px;color:var(--muted)}
.h3{font:600 18px/1.3 var(--serif);margin:22px 4px 0}

/* ---------- EBENÉZER ---------- */
.eb-hero blockquote{font:italic 400 15.5px/1.55 var(--serif);color:#4A4052}
.eb-hero cite{display:block;font-style:normal;font-size:12.5px;color:var(--muted);margin-top:6px}
.cairn{display:flex;flex-direction:column-reverse;align-items:center;gap:3px;margin:20px 0 6px;min-height:30px}
.cairn i{display:block;height:20px;border-radius:50% 50% 46% 46%/60% 60% 40% 40%;background:linear-gradient(180deg,#9A8F9F,#6C6372);box-shadow:inset 0 -3px 0 rgba(0,0,0,.18)}
.cairn i.gold{background:linear-gradient(180deg,#E3C47C,#B88F3C)}
.cairn-label{text-align:center;font-weight:700;font-size:13.5px}
.cairn-label small{display:block;font-weight:500;color:var(--muted)}
.stones{margin-top:14px;position:relative;padding-left:22px}
.stones::before{content:"";position:absolute;left:7px;top:8px;bottom:8px;width:2px;background:var(--line)}
.stone{position:relative;background:var(--paper);border-radius:18px;padding:13px 15px;margin-bottom:10px}
.stone::before{content:"";position:absolute;left:-21px;top:16px;width:14px;height:12px;border-radius:50%;background:#8B818F}
.stone.gold::before{background:var(--gold)}
.stone .d{font-size:12px;color:var(--muted);font-weight:600;display:flex;justify-content:space-between}
.stone .d button{font-size:12px;color:var(--muted);font-weight:600}
.stone p{font:400 15px/1.5 var(--serif);margin-top:2px}
.retro{margin-top:14px;background:var(--wine-deep);color:#fff;border-radius:24px;padding:20px}
.retro h3{font:600 19px/1.3 var(--serif)}
.retro p{font-size:13px;color:#E3CBD3;margin-top:4px}
.retro .nums{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px}
.retro .nums div{background:rgba(255,255,255,.08);border-radius:14px;padding:10px 6px;text-align:center}
.retro .nums b{display:block;font:700 24px/1.1 var(--serif);color:var(--flame)}
.retro .nums span{font-size:11.5px;color:#E3CBD3}
.founder{display:flex;align-items:center;gap:12px;margin-top:12px;padding:14px 16px}
.seal{width:46px;height:46px;border-radius:50%;border:2px solid var(--gold);display:grid;place-items:center;font:700 13px/1 var(--serif);color:#8A5A0B;flex:none;background:#fff}
.founder b{display:block;font-size:14.5px}.founder span{font-size:12.5px;color:var(--muted)}
.trust{font-size:12.5px;color:var(--muted);text-align:center;margin-top:12px;line-height:1.5}

/* ---------- Assinatura ---------- */
.paywall{position:absolute;inset:0;z-index:25;background:var(--linen);overflow-y:auto;display:none;padding:calc(14px + var(--safe-t)) 18px calc(28px + var(--safe-b))}
.paywall.on{display:block}
.close{width:38px;height:38px;border-radius:50%;background:var(--paper);display:grid;place-items:center}
.close svg{width:18px;height:18px}
.recap{background:var(--wine-deep);color:#fff;border-radius:26px;padding:22px 20px;margin-top:12px}
.recap h2{font:600 24px/1.2 var(--serif)}
.recap .rows{margin-top:16px;display:grid;gap:12px}
.recap .rows div{display:flex;align-items:center;gap:12px;font-size:15px;color:#F2E2E8}
.recap .rows b{font:700 26px/1 var(--serif);color:var(--flame);min-width:44px;text-align:right}
.plans{margin-top:14px;display:grid;gap:12px}
.plan{display:flex;align-items:center;gap:14px;background:var(--paper);border:2px solid var(--line);border-radius:20px;padding:16px;text-align:left;width:100%;position:relative}
.plan[aria-checked="true"]{border-color:var(--wine);box-shadow:0 0 0 3px #F3DCE4}
.radio{width:22px;height:22px;border-radius:50%;border:2px solid #C9BFCC;flex:none;display:grid;place-items:center}
.plan[aria-checked="true"] .radio{border-color:var(--wine)}
.plan[aria-checked="true"] .radio::after{content:"";width:11px;height:11px;border-radius:50%;background:var(--wine)}
.plan .pn{flex:1}
.plan .pn b{display:block;font-size:16px}
.plan .pn span{font-size:13px;color:var(--muted)}
.plan .pp{text-align:right}
.plan .pp b{display:block;font:700 21px/1.1 var(--serif)}
.plan .pp span{font-size:12px;color:var(--muted)}
.plan .tg{position:absolute;top:-10px;right:16px;font-size:11.5px;font-weight:800;color:#2B1E05;background:var(--gold);border-radius:999px;padding:3px 10px}
.fund{display:flex;gap:12px;align-items:center;margin-top:12px;background:var(--gold-soft);border-radius:18px;padding:14px 16px;font-size:13.5px;color:#5E4206}
.fund b{display:block;font-size:14.5px;color:#3D2A02}
.bar{height:6px;border-radius:6px;background:rgba(0,0,0,.08);margin-top:8px;overflow:hidden}
.bar i{display:block;height:100%;background:var(--gold)}

/* ---------- Folhas (sheet), aviso e crise ---------- */
.sheet-bg{position:absolute;inset:0;background:rgba(36,27,47,.45);opacity:0;pointer-events:none;transition:opacity .2s;z-index:40}
.sheet{position:absolute;left:0;right:0;bottom:0;max-height:88%;overflow-y:auto;background:var(--paper);border-radius:28px 28px 0 0;padding:10px 20px calc(26px + var(--safe-b));transform:translateY(105%);transition:transform .3s cubic-bezier(.2,.8,.2,1);z-index:41}
.sheet.on{transform:none}.sheet-bg.on{opacity:1;pointer-events:auto}
.grab{width:40px;height:5px;border-radius:5px;background:#DDD5DF;margin:0 auto 14px}
.sheet h3{font:600 20px/1.3 var(--serif);margin-bottom:4px}
.sheet p.s{font-size:14px;color:var(--muted)}
.sheet .field{margin-top:12px}
.sheet .seg{margin-top:12px}
.menu-item{display:flex;align-items:center;gap:12px;width:100%;padding:14px 4px;border-bottom:1px solid var(--line);font-size:15px;text-align:left;text-decoration:none}
.menu-item svg{width:20px;height:20px;color:var(--muted)}
.menu-item:last-child{border:0}
.menu-item.danger{color:#B42318}
.menu-item.danger svg{color:#B42318}
.note{display:flex;gap:12px;padding:12px 2px;border-bottom:1px solid var(--line);width:100%;text-align:left}
.note .ic{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;flex:none;background:var(--linen);color:var(--wine)}
.note .ic svg{width:17px;height:17px}
.note.new .ic{background:#F7E7EC}
.note p{font-size:14.5px;line-height:1.45}
.note small{color:var(--muted);font-size:12px}
.toast{position:absolute;left:18px;right:18px;bottom:calc(92px + var(--safe-b));background:var(--ink);color:#fff;border-radius:14px;padding:12px 14px;font-size:14px;font-weight:600;opacity:0;transform:translateY(10px);transition:all .25s;pointer-events:none;z-index:60}
.toast.on{opacity:1;transform:none}
.crisis h3{color:var(--wine)}
.crisis .big{display:flex;align-items:center;gap:12px;margin-top:14px;background:var(--sage-soft);border-radius:16px;padding:14px;color:#1F4B36;font-size:14px}
.crisis .big b{display:block;font:700 28px/1 var(--serif);color:var(--sage)}
.install-steps{margin-top:10px;padding-left:20px;font-size:14px;line-height:1.6}

@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* ---------- MURAL DE MELHORIAS E PESQUISAS ---------- */
.mural-cta{display:flex;gap:12px;align-items:flex-start;width:100%;text-align:left;margin:18px 0 8px;padding:16px;border-radius:18px;background:var(--paper);border:1.5px dashed #E2C6D0;color:var(--ink)}
.mural-cta svg{width:26px;height:26px;flex:none;color:var(--gold);stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mural-cta b{display:block;font:600 16px/1.3 var(--serif);color:var(--wine);margin-bottom:2px}
.mural-cta span{font-size:13.5px;color:var(--muted);line-height:1.45}
.idea{display:grid;grid-template-columns:48px 1fr;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}
.idea:last-child{border-bottom:0}
.vote{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;height:56px;border-radius:14px;border:1.5px solid #E2C6D0;color:var(--wine);background:var(--paper)}
.vote svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.vote b{font-size:15px;line-height:1.1}
.vote[aria-pressed="true"]{background:var(--wine);border-color:var(--wine);color:#fff}
.vote:disabled{opacity:1;border-style:dashed;cursor:default}
.idea .body p{font:400 15.5px/1.5 var(--serif);color:var(--ink)}
.idea .meta{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;margin-top:6px;font-size:12.5px;color:var(--muted)}
.idea .lnk{font-size:12.5px;color:var(--muted);text-decoration:underline;padding:0}
.st{font-size:11.5px;font-weight:800;border-radius:999px;padding:2px 8px;background:var(--linen);color:#5A5061}
.st-planned{background:var(--gold-soft);color:#8A5A0B}.st-doing{background:#F7E7EC;color:var(--wine)}.st-done{background:var(--sage-soft);color:var(--sage)}
.idea .reply{margin-top:8px;padding:10px 12px;border-radius:12px;background:var(--linen);font-size:13.5px;line-height:1.5}
.sim{margin-top:12px;padding:12px 14px;border-radius:14px;background:var(--gold-soft);font-size:14px}
.sim-row{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-top:10px}
.sim-row p{font:400 14.5px/1.45 var(--serif)}
.sim-row .chip{flex:none;background:#fff;color:var(--wine)}
.opts{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.opt{font-size:14px;font-weight:700;padding:10px 14px;border-radius:999px;border:1.5px solid #E2C6D0;background:var(--paper);color:var(--ink);text-align:left}
.opt[aria-pressed="true"]{background:var(--wine);border-color:var(--wine);color:#fff}
