/* Estrutura e telas do Coram Deo */

*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font-body)}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}.hidden{display:none!important}.shell{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--forest);color:white;display:flex;flex-direction:column;gap:28px;padding:28px 16px}.logo{font:700 26px var(--font-editorial);line-height:1.15;padding:0 12px}.logo small{display:block;font:700 10px var(--font-body);letter-spacing:2px;color:#c0d8c3;margin-top:11px}.nav{display:grid;gap:6px}.nav button{display:flex;gap:11px;align-items:center;border:0;background:transparent;color:#dbe8da;text-align:left;padding:13px 15px;border-radius:12px;font-weight:700}.nav button.active,.nav button:hover{background:#426d54;color:white}.aside-bottom{margin-top:auto;font-size:12px;color:#b8cabd;line-height:1.8;padding:10px}.content{padding:32px clamp(18px,4vw,56px);width:100%;max-width:1550px;margin:0 auto}.top{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:29px}.eyebrow{color:var(--green);text-transform:uppercase;letter-spacing:2px;font-size:11px;font-weight:800}.heading{font:700 clamp(28px,3vw,42px) var(--font-editorial);margin:8px 0}.muted{color:var(--muted);line-height:1.65}.user-pill{border:1px solid var(--line);border-radius:50px;background:var(--card);display:flex;align-items:center;gap:8px;padding:6px 16px 6px 6px;font-weight:800;white-space:nowrap}.card{background:var(--card);padding:24px;border:1px solid var(--line);border-radius:21px;box-shadow:var(--shadow)}.card h2,.card h3{margin:0 0 14px}.card h2{font:700 27px var(--font-editorial)}.card h3{font-size:17px}.stack{display:grid;gap:20px}.two{display:grid;grid-template-columns:1.5fr 1fr;gap:20px}.two-equal{display:grid;grid-template-columns:1fr 1fr;gap:20px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.stat{background:var(--card);padding:20px;border:1px solid var(--line);border-radius:18px}.stat strong{display:block;font:700 35px var(--font-editorial);color:var(--forest);margin:9px 0}.stat span{font-size:12px;color:var(--muted)}.hero{background:linear-gradient(115deg,#345e47,#254634);color:white;position:relative;overflow:hidden;padding:34px;min-height:210px}.hero:after{content:'✦';font-size:210px;position:absolute;right:18px;top:-45px;opacity:.08}.hero .eyebrow,.hero p{color:#d5e6d8}.hero p{max-width:520px;line-height:1.7}.hero h2{font:700 34px var(--font-editorial);margin:13px 0}.btn{border:0;background:var(--green);border-radius:12px;color:white;font-weight:800;padding:12px 17px}.btn:hover{filter:brightness(1.05)}.btn.cream{background:#f6ead0;color:#264b38}.btn.light{background:#e8f0e5;color:#315a44}.btn.ghost{background:transparent;border:1px solid #cad8c9;color:var(--forest)}.btn.small{font-size:12px;padding:9px 12px}.row{display:flex;align-items:center;justify-content:space-between;gap:12px}.wrap{flex-wrap:wrap}.tag{display:inline-block;border-radius:30px;background:#e7f1e6;color:#426c4e;padding:6px 11px;font-size:11px;font-weight:800}.input,textarea,select{width:100%;border:1px solid #d9e1d7;background:white;color:var(--ink);padding:12px 13px;border-radius:11px;outline-color:var(--green)}textarea{min-height:106px;resize:vertical}label{display:block;font-size:12px;font-weight:800;margin-bottom:7px}.field{margin:15px 0}.error{color:#ad3e40;font-size:13px;min-height:18px}.notice{border-radius:13px;background:#f5f0de;color:#706346;font-size:12px;padding:14px;line-height:1.6}.avatar{display:grid;place-items:center;overflow:hidden;width:56px;height:56px;flex-shrink:0;border-radius:15px;background:#e7ecdf}.avatar svg{width:100%;height:100%;image-rendering:pixelated}.avatar.big{width:134px;height:134px}.auth{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 70% 10%,#d5e7d2,transparent 40%),var(--bg)}.authbox{width:min(470px,100%);background:var(--card);padding:35px;border-radius:25px;box-shadow:0 18px 65px #254a351a}.authbox h1{font:700 38px var(--font-editorial);line-height:1.2}.tabs{display:flex;border-radius:13px;background:#edf1e9;padding:5px;gap:3px}.tabs button{flex:1;background:transparent;border:0;border-radius:9px;padding:11px 5px;font-size:12px;font-weight:800;color:#607265}.tabs button.active{background:white;color:var(--forest);box-shadow:0 2px 8px #0001}.section{display:none}.section.visible{display:block}.trail{position:relative;background:linear-gradient(#deeddf 0%,#e9f1d9 57%,#caddb1 100%);border:1px solid #cfdfc6;border-radius:20px;overflow-x:auto;overflow-y:hidden;height:325px;margin-top:16px}.trail-world{position:relative;min-width:100%;height:100%;width:var(--trail-width)}.trail-sky{position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 13% 22%,#ffffffa0 0 22px,transparent 23px),radial-gradient(circle at 73% 15%,#ffffff90 0 17px,transparent 18px)}.trail-path{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.trail-node{position:absolute;z-index:2;transform:translate(-50%,-50%);border:3px solid #709675;background:#fcfff2;border-radius:100px;width:43px;height:43px;display:grid;place-items:center;box-shadow:0 4px 0 #9fbb94;font-weight:800;color:#375740}.trail-node.locked{background:#e5e9dd;border-color:#b9c6b1;color:#879586}.trail-node.done{background:#f3dba4;border-color:#bd934c}.trail-node:hover{scale:1.08}.trail-label{position:absolute;transform:translateX(-50%);width:145px;text-align:center;z-index:2;font-size:11px;font-weight:800;line-height:1.4;color:#416247;pointer-events:none}.trail-people{position:absolute;z-index:4;display:flex;gap:5px;transform:translateX(-50%);align-items:flex-end}.trail-character{position:relative;display:grid;place-items:center;gap:3px;cursor:pointer;min-width:57px;border:0;background:none;padding:0;color:#284b35}.trail-character .avatar{animation:hop 1.35s ease-in-out infinite alternate;border:2px solid #fff;width:53px;height:53px;box-shadow:0 4px 10px #203e2929}.trail-character b{background:#fffef5;border-radius:9px;padding:3px 7px;font-size:10px;box-shadow:0 3px 6px #0001}.thought{position:absolute;bottom:calc(100% + 14px);left:50%;transform:translateX(-50%);background:white;border:1px solid #dfebdc;border-radius:14px;padding:8px 10px;max-width:155px;min-width:78px;white-space:normal;overflow-wrap:anywhere;text-align:center;font-size:11px;box-shadow:0 6px 16px #0002;z-index:5}.thought:after{content:'';position:absolute;bottom:-6px;left:47%;width:10px;height:10px;background:white;transform:rotate(45deg);border-right:1px solid #dfebdc;border-bottom:1px solid #dfebdc}@keyframes hop{to{transform:translateY(-11px)}}@media(prefers-reduced-motion:reduce){.trail-character .avatar{animation:none}}.rank{display:flex;gap:13px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}.rank:last-child{border:0}.rank .rank-index{min-width:30px;font:700 19px var(--font-editorial);color:#aa8d4c}.rank .rank-info{flex:1}.rank button{border:0;background:transparent;text-align:left;font-weight:800;color:var(--ink);padding:0}.rank .xp{font-weight:800;color:var(--green)}.post{padding:16px 0;border-bottom:1px solid var(--line)}.post p{line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.post:last-child{border:0}.member-card{border:1px solid var(--line);padding:15px;border-radius:15px;display:flex;gap:12px;align-items:center;background:#fff}.member-card button{border:0;background:none;text-align:left;color:var(--ink);font-weight:800}.progress{height:9px;background:#e7ede4;border-radius:50px;overflow:hidden;margin:14px 0}.progress>div{height:100%;background:#7aa888;border-radius:50px}.answer{display:block;border:1px solid var(--line);border-radius:11px;padding:13px;margin:10px 0;font-weight:600;font-size:14px;cursor:pointer}.answer:has(input:checked){border-color:var(--green);background:#ecf4e9}.answer input{accent-color:var(--green)}.history-entry{padding:18px 0;border-bottom:1px solid var(--line)}.history-entry:last-child{border:0}.history-entry p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.option-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.option{background:white;border:2px solid var(--line);padding:9px 5px;border-radius:12px;font-size:11px;font-weight:800;color:var(--ink);min-height:64px}.option.selected{border-color:var(--green);background:#edf5ec}.swatch{width:23px;height:23px;border-radius:7px;border:1px solid #0001;margin:0 auto 6px}.chapter-list{display:grid;gap:12px}.chapter-card{padding:17px;border:1px solid var(--line);border-radius:15px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px}.chapter-card:hover{border-color:#b8cbb7}.chapter-card small{color:var(--muted)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 17px}.question-edit{background:#f5f7f1;border:1px solid #e3e9dc;padding:15px;border-radius:14px;margin:14px 0}.video{width:100%;aspect-ratio:16/9;border:0;border-radius:15px}.empty{color:var(--muted);padding:23px;text-align:center;background:#f5f6f0;border-radius:14px}.profile-head{display:flex;gap:22px;align-items:center}.grid-members{display:grid;grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:12px}.page-title-block{flex:1}.admin-banner{background:linear-gradient(120deg,#345b46,#274335);color:white}.admin-banner p{color:#d6e6d9}.admin-banner h2{font:700 29px var(--font-editorial)}.modal-back{position:fixed;inset:0;background:#152b20aa;z-index:20;display:grid;place-items:center;padding:18px}.modal{background:var(--card);border-radius:22px;padding:24px;width:min(740px,100%);max-height:90vh;overflow:auto;box-shadow:0 20px 80px #0004}.modal h2{font:700 27px var(--font-editorial);margin:0}.question-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.field-help{font-size:11px;color:var(--muted);margin-top:5px}.admin-only{display:none!important}.admin-mode .admin-only{display:flex!important}.admin-mode .participant-only{display:none!important}@media(max-width:900px){.shell{grid-template-columns:1fr}.sidebar{padding:14px 18px;gap:13px}.logo{font-size:21px}.logo small,.aside-bottom{display:none}.nav{display:flex;overflow:auto}.nav button{white-space:nowrap;padding:10px;font-size:12px}.content{padding:22px 18px}.two,.two-equal{grid-template-columns:1fr}}@media(max-width:560px){.top{align-items:flex-start}.user-pill{font-size:11px;padding-right:8px}.user-pill .avatar{width:37px;height:37px}.stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.stat{padding:13px}.stat strong{font-size:26px}.card{padding:18px}.form-grid{grid-template-columns:1fr}.option-grid{grid-template-columns:repeat(2,1fr)}.authbox{padding:24px}.profile-head{align-items:flex-start;flex-wrap:wrap}.hero{padding:24px}}

.login-intro{background:#e8efe2;border-radius:14px;padding:14px 16px;color:#365541;margin:20px 0;font-size:14px}
.study-images{display:grid;gap:12px;grid-template-columns:1fr}.study-images img{width:100%;max-height:440px;object-fit:cover;border-radius:17px;border:1px solid var(--line)}
.image-preview img{width:100%;max-width:480px;max-height:230px;object-fit:cover;border-radius:14px;margin-top:10px}
.question-type{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.06em;padding:5px 8px;background:#e6efe0;color:#315b42;border-radius:99px;margin-bottom:10px}
.reflective-answer{min-height:92px;margin:10px 0}.post-question{background:#f5f5ed;border-radius:13px;padding:12px 14px;margin-top:12px}.post-question p{white-space:pre-wrap;margin:9px 0}.post-question small{color:var(--muted)}
.progress-line{margin:16px 0}.progress-line .progress{margin:8px 0}.progress-line .row button{font-weight:700;background:transparent;border:0;color:var(--forest);cursor:pointer}
.stat strong{font-size:clamp(22px,2.6vw,31px)}.authbox .tabs{display:none}
.avatar svg{image-rendering:pixelated}.option .swatch{border:1px solid #7775}
@media(max-width:700px){.study-images img{max-height:250px}}

.group-hero{display:grid;grid-template-columns:1.15fr .95fr;gap:20px}.group-hero .card{height:100%}



.group-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px}.group-mini{background:#f6f9f3;border:1px solid var(--line);border-radius:16px;padding:16px}.group-mini span{display:block;font-size:12px;color:var(--muted);font-weight:700}.group-mini strong{display:block;font:700 28px var(--font-editorial);color:var(--forest);margin:8px 0 6px}.group-mini small{display:block;color:var(--muted);line-height:1.45}
.group-day-wrap{margin-top:18px}.group-day-wrap .progress{margin:10px 0 0}.group-day-wrap small{display:block;color:var(--muted);margin-top:7px}
.video-shell{display:grid;gap:12px}.video-preview{position:relative;border:0;background:#102215;border-radius:18px;overflow:hidden;aspect-ratio:16/9;width:100%;padding:0;display:block}.video-preview img{width:100%;height:100%;object-fit:cover;display:block}.video-overlay{position:absolute;inset:0;background:linear-gradient(180deg,#0000 15%,#00000088 100%);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;padding:18px;text-align:center;color:white}.play-dot{width:74px;height:74px;border-radius:999px;background:#ffffffe6;display:grid;place-items:center;color:#18402f;font-size:31px;box-shadow:0 8px 24px #00000038}.video-overlay b{font-size:18px}.video-actions{display:flex;flex-wrap:wrap;gap:10px}.video-note{font-size:12px;color:var(--muted);line-height:1.55}
.photo-chip{display:inline-flex;gap:7px;align-items:center;background:#eff5ea;color:#355845;border:1px solid var(--line);padding:7px 11px;border-radius:999px;font-size:12px;font-weight:800}
.modal .video-shell{gap:14px}
@media(max-width:980px){.group-hero{grid-template-columns:1fr}.group-summary{grid-template-columns:1fr}}


/* V6 — responsive from 320px up, no horizontal page scrolling */
html{width:100%;max-width:100%;overflow-x:clip}
body{width:100%;max-width:100%;overflow-x:clip}
.shell,.content,.sidebar,.stack,.section,.card,.two,.two-equal,.group-hero,.grid-members,.stats,.top,.row,.modal,.chapter-card{min-width:0}
img,iframe,svg,video{max-width:100%}
.card,.stat,.group-mini,.chapter-card,.question-edit,.post-question,.history-entry{overflow-wrap:anywhere}
.row>*{min-width:0}
.rank-info,.member-card>div,.page-title-block,.group-hero>*,.two>*,.two-equal>*,.group-summary>*{min-width:0}
.nav-symbol{font-size:19px;display:inline-flex;align-items:center;justify-content:center;min-width:20px}
.account-actions{display:flex;align-items:center;gap:7px;flex:0 0 auto;min-width:0}
.mobile-exit{display:none}

@media (max-width: 900px){
 .content{min-width:0;width:100%;max-width:100%;box-sizing:border-box}
 .two,.two-equal{grid-template-columns:minmax(0,1fr)}
 .group-hero{grid-template-columns:minmax(0,1fr)}
}
@media (max-width: 900px){
 html,body{overflow-x:clip}
 .shell{display:block;width:100%;min-height:100dvh}
 .sidebar{position:fixed;bottom:0;left:0;right:0;z-index:12;display:block;width:100%;height:calc(67px + env(safe-area-inset-bottom,0px));padding:5px 5px calc(5px + env(safe-area-inset-bottom,0px));background:#294b3b;box-shadow:0 -6px 20px #152f2433;border-top:1px solid #5c7d66}
 .sidebar .logo,.sidebar .aside-bottom{display:none}
 .nav{width:100%;height:100%;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;overflow:visible;align-items:stretch}
 .nav button{min-width:0;width:100%;height:100%;margin:0;padding:4px 1px;display:flex;flex-direction:column;gap:1px;align-items:center;justify-content:center;border-radius:9px;white-space:normal;text-align:center;font-size:10px;line-height:1.12;font-weight:700;letter-spacing:-.08px;overflow-wrap:anywhere}
 .nav button.active{background:#457157}
 .nav button .nav-symbol{font-size:21px;line-height:1.15;min-height:23px}
 .nav button.nav-exit{display:none}
 .admin-mode .nav{grid-template-columns:repeat(2,minmax(0,1fr));max-width:430px;margin:0 auto}
 .content{width:100%;max-width:100%;padding:18px 13px calc(94px + env(safe-area-inset-bottom,0px));margin:0}
 .top{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:9px;margin-bottom:20px}
 .heading{font-size:clamp(25px,7vw,34px);line-height:1.16;margin:7px 0}
 .eyebrow{font-size:10px;letter-spacing:1.3px;line-height:1.5}
 #page-sub{font-size:13px;line-height:1.45;max-width:35ch}
 .account-actions{align-items:flex-start;gap:5px}
 .user-pill{font-size:10px;padding:3px 7px 3px 3px;gap:4px;max-width:116px;white-space:nowrap}
 .user-pill .avatar{width:30px;height:30px;border-radius:11px}
 #top-name{display:block;min-width:0;max-width:67px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .mobile-exit{display:flex;align-items:center;justify-content:center;background:#e6ece2;border:1px solid #c5d2c5;width:34px;height:36px;flex:0 0 34px;border-radius:12px;color:var(--forest);font-size:19px}
 .card{padding:17px 15px;border-radius:17px;width:100%;max-width:100%}
 .card h2{font-size:clamp(23px,6.3vw,29px);line-height:1.19}
 .card h3{font-size:16px;line-height:1.3}
 .stack{gap:14px;grid-template-columns:minmax(0,1fr)}
 .two,.two-equal{grid-template-columns:minmax(0,1fr);gap:14px}
 .hero{min-height:unset;padding:23px 18px}
 .hero h2{font-size:clamp(26px,7vw,34px)}
 .hero:after{font-size:150px;right:-5px;top:0}
 .btn{max-width:100%;font-size:13px;line-height:1.25;text-align:center;white-space:normal}
 .row{min-width:0}
 .row.wrap{flex-wrap:wrap;gap:9px}
 .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .stat{min-width:0;padding:14px 12px;border-radius:15px}
 .stat strong{font-size:clamp(24px,7vw,31px);line-height:1.18;overflow-wrap:anywhere}
 .stat span{font-size:11px;line-height:1.4}
 .group-hero{grid-template-columns:minmax(0,1fr);gap:12px}
 .group-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .group-mini{min-width:0;padding:12px 11px;border-radius:14px}
 .group-mini:nth-child(3){grid-column:span 2}
 .group-mini strong{font-size:26px;line-height:1.22;overflow-wrap:anywhere}
 .group-mini span,.group-mini small{font-size:11px}
 
 
 
 .group-day-wrap{margin-top:13px}
 .trail{height:auto;overflow:visible;margin-top:14px;padding:13px 9px 13px 6px;border-radius:15px}
 .mobile-path{position:relative;display:grid;gap:0;padding:4px 0}
 .mobile-path:before{content:'';position:absolute;left:25px;top:22px;bottom:30px;width:9px;border-radius:10px;background:repeating-linear-gradient(to bottom,#b0bd91 0 15px,#e4d2a6 15px 23px);z-index:0}
 .mobile-stage{display:grid;grid-template-columns:59px minmax(0,1fr);gap:3px;position:relative;min-width:0;padding:3px 0 14px}
 .mobile-stage:last-child{padding-bottom:0}
 .mobile-stage-rail{position:relative;z-index:1;display:flex;justify-content:center;align-items:flex-start;padding-top:15px}
 .mobile-stage-pin{display:grid;place-items:center;width:43px;height:43px;border:3px solid #6e9272;background:#fffef4;border-radius:50%;box-shadow:0 4px 0 #a3bc91;color:#385740;font-weight:800;font-size:16px}
 .mobile-stage.is-done .mobile-stage-pin{background:#f2daa2;border-color:#b39355}
 .mobile-stage.is-locked .mobile-stage-pin{background:#e5eadf;border-color:#b8c7b3;font-size:15px}
 .mobile-stage-card{min-width:0;padding:14px 12px;background:#ffffffeb;border:1px solid #cfdfc6;border-radius:14px;box-shadow:0 4px 8px #23411d0b}
 .mobile-stage-date{display:flex;gap:6px;flex-wrap:wrap;align-items:center;justify-content:space-between;font-size:10px;font-weight:800;color:#628066}
 .mobile-stage-status{background:#e8f0e4;border-radius:999px;padding:4px 6px;color:#3a6446;font-size:9px}
 .mobile-stage-card h3{margin:8px 0 5px;font-family:var(--font-editorial);font-size:17px;line-height:1.25;color:var(--forest)}
 .mobile-stage-card p{margin:0;font-size:11px;line-height:1.45;color:#748376}
 .mobile-travelers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:12px}
 .mobile-traveler{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0;max-width:100%;background:#f2f7ed;border:1px solid #dfebdb;padding:8px 5px;border-radius:12px;color:var(--forest);font-weight:800;font-size:10px;text-align:center}
 .mobile-traveler .avatar{width:48px;height:48px;border:2px solid white;box-shadow:0 4px 8px #1e392423;animation:hop 1.35s ease-in-out infinite alternate}
 .mobile-traveler-name{max-width:100%;overflow-wrap:anywhere}
 .mobile-thought{display:block;max-width:100%;font-size:10px;font-weight:500;line-height:1.35;background:white;border:1px solid #e0e9db;padding:6px 5px;border-radius:9px;overflow-wrap:anywhere}
 #thought-text{min-width:0}
 #thought-text + .btn{width:100%}
 .field:has(#thought-text) .row{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
 .rank{gap:8px;min-width:0}
 .rank .rank-index{min-width:26px;font-size:16px}
 .rank .avatar{width:42px;height:42px;flex:0 0 42px}
 .rank .rank-info{min-width:0;flex:1 1 auto;font-size:13px}
 .rank .xp{flex:0 0 auto;font-size:12px;white-space:nowrap}
 .rank button{max-width:100%;text-align:left;overflow-wrap:anywhere}
 .post,.post-question{min-width:0}
 .grid-members{grid-template-columns:minmax(0,1fr)}
 .member-card{min-width:0;padding:12px}
 .member-card button{max-width:100%;overflow-wrap:anywhere}
 .form-grid{grid-template-columns:minmax(0,1fr)}
 .question-edit{padding:12px}
 .question-edit .row{gap:5px}
 .question-edit .row .input{flex:1 1 0;width:0;min-width:0}
 .question-edit .row > span{flex:0 0 auto}
 .question-edit .row .btn.small{flex:0 0 auto;padding:8px 11px}
 .option-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .option{min-width:0;overflow-wrap:anywhere}
 .chapter-card{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:8px;padding:14px}
 .chapter-card button{width:100%}
 .chapter-card h3{overflow-wrap:anywhere}
 .admin-banner h2{font-size:25px;line-height:1.25}
 .profile-head{gap:12px}
 .avatar.big{width:92px;height:92px}
 .video-preview{border-radius:13px}
 .video-overlay{gap:7px;padding:10px}
 .video-overlay b{font-size:13px;line-height:1.25}
 .video-overlay span{font-size:11px;line-height:1.3}
 .play-dot{width:53px;height:53px;font-size:22px}
 .video-actions{display:grid;grid-template-columns:minmax(0,1fr)}
 .video-actions .btn{width:100%;display:block}
 .modal-back{inset:0;align-items:stretch;justify-items:stretch;padding:0}
 .modal{width:100%;max-width:100%;height:100dvh;max-height:100dvh;border-radius:0;padding:21px 15px calc(25px + env(safe-area-inset-bottom,0px));overflow-y:auto;overscroll-behavior:contain}
 .modal .row{min-width:0}
 .modal h2{font-size:24px;line-height:1.25}
 .auth{min-height:100dvh;padding:14px}
 .authbox{padding:22px 18px;border-radius:20px;max-width:100%}
 .authbox h1{font-size:31px}
 input,select,textarea{max-width:100%;font-size:16px}
}
@media (max-width: 350px){
 .content{padding-left:10px;padding-right:10px}
 .card{padding:14px 11px}
 .nav button{font-size:9px;letter-spacing:-.2px}
 .nav button .nav-symbol{font-size:19px}
 .user-pill{max-width:89px}
 #top-name{max-width:45px}
 .mobile-stage{grid-template-columns:51px minmax(0,1fr)}
 .mobile-path:before{left:21px}
 .mobile-stage-pin{width:38px;height:38px}
 .mobile-stage-card{padding:11px 9px}
}
@media(prefers-reduced-motion:reduce){.mobile-traveler .avatar{animation:none}}


/* V7 — manual grades, responsive historical search and three-stage trail */
.study-filters,.review-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 18px}.study-filters .filter-item,.review-filters .field{min-width:0;margin:0}.study-filters label,.review-filters label{margin:0 0 6px}.study-filters select,.review-filters select{width:100%;min-width:0}.review-card{min-width:0}.review-form{display:grid;grid-template-columns:150px minmax(0,1fr);gap:14px}.review-form .field{margin:12px 0}.review-card .post-question{background:#f2f6ef;border:1px solid #e0e9dc}.review-card .post-question p{margin:7px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.review-note{margin-top:12px;border-top:1px solid #dbe8d7;padding:12px 0 0;color:#2d6044}.review-feedback{margin-top:8px;color:var(--ink);font-size:13px;line-height:1.6}.review-feedback p{margin:4px 0 0;white-space:pre-wrap}.pending-tag{display:inline-block;margin-top:9px;color:#886123;background:#fcf2d8;font-size:12px;border-radius:8px;padding:7px 9px}.review-mini{margin-top:12px;background:#f1f7ee;border:1px solid #ddeadc;border-radius:9px;padding:11px;font-size:12px;line-height:1.55}.review-mini p{margin:5px 0 0;white-space:pre-wrap}.recent-row{display:flex;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}.recent-row:last-child{border-bottom:0}.recent-row>div{min-width:0}.recent-row small{display:block;color:var(--muted);margin-top:4px}.recent-posts{margin:10px 0}.trail{height:auto;min-height:325px;overflow:hidden}.trail-window{position:relative;width:100%;min-height:330px;padding:0 12px 12px}.trail-window .trail-world{height:280px;min-width:0;overflow:hidden;position:relative}.trail-window .trail-label{max-width:30%;font-size:12px;overflow-wrap:anywhere}.trail-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 5px 2px;position:relative;z-index:3}.trail-count{text-align:center;font-size:12px;color:#4f725c;font-weight:800;min-width:0}.trail-follow{display:block;margin:5px auto 0;border:0;background:transparent;color:#2b5a42;font-size:11px;text-decoration:underline;font-weight:700}.trail-hint{font-size:12px;color:#41614c;padding:9px 5px;line-height:1.5}.trail-away{margin:0 4px;font-size:11px;color:#65816a;text-align:center}.trail-controls .btn{max-width:34%;font-size:12px;padding:9px 10px}
@media(max-width:900px){.admin-mode .nav{grid-template-columns:repeat(3,minmax(0,1fr))}.study-filters,.review-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.study-filters .filter-item:last-child,.review-filters .field:last-child{grid-column:span 2}.review-form{grid-template-columns:minmax(0,1fr);gap:0}.trail{min-height:0;padding:11px 7px}.trail-controls{gap:4px}.trail-controls .btn{font-size:11px;padding:10px 8px}.trail-count{font-size:11px}.review-card .btn{width:100%}}
@media(max-width:370px){.study-filters,.review-filters{grid-template-columns:minmax(0,1fr)}.study-filters .filter-item:last-child,.review-filters .field:last-child{grid-column:auto}.trail-controls .btn{font-size:10px;padding:9px 4px}.trail-count{font-size:10px}}
.home-response{margin:9px 0;border:1px solid var(--line);background:#f8faf5;border-radius:13px;overflow:hidden}.home-response summary{display:flex;gap:9px;align-items:center;flex-wrap:wrap;cursor:pointer;padding:12px}.home-response summary span:not(.tag){font-size:12px;color:var(--muted)}.home-response summary .tag{margin-left:auto}.home-response>div{padding:0 12px 12px}.home-response .post-question{padding:11px}.home-response summary::marker{color:var(--green)}

/* V8: compact three-stop horizontal journey (all viewports) */
.trail{min-height:0;height:auto!important;overflow:visible!important;padding:12px!important;background:#e7f1e6}
.journey-shell{width:100%;min-width:0;display:grid;gap:8px}
.journey-intro{font-size:12px;color:#4f705b;line-height:1.45;padding:2px 5px}
.journey-scene{position:relative;width:100%;min-width:0;isolation:isolate;overflow:visible;background:linear-gradient(180deg,#deebdf 0%,#ecf2e1 57%,#d1dfbb 100%);border:1px solid #c9dcc0;border-radius:18px;min-height:286px;padding:14px 6px 10px}
.journey-scene:before{content:'✦  ·   ✧     ✦';position:absolute;top:4px;left:12px;max-width:calc(100% - 24px);overflow:hidden;color:#f6faf1;font-size:18px;letter-spacing:clamp(6px,4vw,35px);opacity:.9;white-space:nowrap;pointer-events:none}
.journey-road{position:absolute;z-index:0;inset:30% 0 auto;width:100%;height:43%;pointer-events:none}
.journey-stops{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));height:100%;min-height:260px;gap:2px;position:relative;z-index:1}
.journey-stop{position:relative;display:grid;grid-template-rows:94px 55px minmax(66px,auto);align-content:start;justify-items:center;min-width:0;padding:7px 3px 4px;text-align:center}
.journey-people{display:flex;flex-wrap:wrap;align-items:flex-end;align-content:flex-end;justify-content:center;gap:3px;width:100%;min-width:0;height:94px}
.journey-person{position:relative;display:grid;justify-items:center;gap:2px;min-width:0;padding:0;border:0;background:transparent;color:#294b3b;font-size:10px;font-weight:800;max-width:74px;animation:hop 1.6s ease-in-out infinite alternate}
.journey-person .avatar{width:42px;height:42px;border:2px solid #fff;border-radius:12px;box-shadow:0 3px 8px #22403044}
.journey-person-name{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.journey-thought{position:absolute;z-index:8;right:-3px;top:-8px;display:grid;place-items:center;border:1px solid #cad8c6;background:white;border-radius:50%;width:23px;height:23px;font-size:12px;box-shadow:0 2px 5px #0001;cursor:pointer}
.journey-pin-wrap{display:flex;justify-content:center;align-items:center;width:100%;min-width:0}
.journey-pin{display:grid;place-items:center;width:44px;height:44px;border:3px solid #648b68;background:#fffaec;box-shadow:0 4px 0 #9eb692;border-radius:50%;color:#355941;font-size:16px;font-weight:800;position:relative;z-index:2}
.journey-stop.is-done .journey-pin{background:#f5ddb0;border-color:#a1844e}.journey-stop.is-locked .journey-pin{background:#e9ece5;color:#78937e;border-color:#b6c3b6}
.journey-label{display:flex;flex-direction:column;align-items:center;gap:3px;max-width:100%;width:100%;border-radius:10px;padding:7px 3px;background:#ffffffcb;border:1px solid #ffffffbb}
.journey-label strong{font-size:12px;line-height:1.2;overflow-wrap:anywhere}.journey-label small{display:block;color:#69806b;font-size:10px;line-height:1.2;overflow-wrap:anywhere}
.journey-label .journey-reference{color:#456d53;font-weight:800}
.journey-offscreen{font-size:11px;color:#516e57;background:#f5f8ee;padding:9px 12px;border-radius:11px;text-align:center}
.journey-bubble{position:absolute;z-index:10;left:50%;top:-54px;transform:translateX(-50%);width:clamp(150px,35vw,240px);max-width:90vw;padding:12px;background:white;color:#385340;border:1px solid #bdcfb7;border-radius:14px;box-shadow:0 10px 30px #173d2630;text-align:left;font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.journey-bubble b{display:block;margin-bottom:4px}.journey-bubble button{float:right;background:#ecf0e8;border:0;border-radius:6px;font-size:14px}
.journey-bubble.hidden{display:none}
.mural-main .mural-heading h2{margin:6px 0}.mural-main .mural-heading .muted{font-size:13px;max-width:60ch}
.mural-days{display:grid;gap:18px}
.mural-day{border:1px solid #dbe4d8;background:#f8faf6;border-radius:17px;padding:16px;min-width:0}
.mural-day-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid #dfe8dc}
.mural-day-header h3{font-family:var(--font-editorial);font-size:19px;margin:3px 0 0}.mural-day-header small{font-size:12px;color:#6f8173}
.mural-participants{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,265px),1fr));gap:10px}
.mural-person{min-width:0;background:#fff;border:1px solid #e1e8dc;border-radius:14px;padding:14px;box-shadow:0 4px 13px #213c2909}
.mural-person-head{display:flex;align-items:center;gap:10px;padding-bottom:10px;border-bottom:1px solid #edf1e9;margin-bottom:10px}
.mural-person-head .avatar{width:43px;height:43px;flex:0 0 43px}
.mural-person-head button{background:transparent;border:0;color:#304d3b;font-weight:800;padding:0;text-align:left}
.mural-person-head small{display:block;color:#718374;font-size:11px;margin-top:3px}
.mural-person .post-question{margin-top:9px;padding:12px;background:#f5f8f2}
.mural-person .post-question small{font-weight:700;color:#52765a}
.mural-person .post-question p{line-height:1.65;margin:7px 0 0}
.mural-empty-person{background:#f5f6f2;border:1px dashed #d1dcd0;border-radius:12px;padding:11px;color:#829286;font-size:12px}
.mural-objectives{display:grid;gap:9px;margin-top:15px;min-width:0}
.mural-objectives-title{font-size:13px;font-weight:800;color:#355b43;margin:0 0 2px}
.mural-objective-card{border:1px solid #dfe8dd;background:#f8faf6;padding:12px 13px;border-radius:12px;min-width:0}
.mural-objective-head{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
.mural-objective-number{font-size:11px;font-weight:800;color:#52725b}
.mural-objective-result{display:inline-flex;align-items:center;gap:4px;border-radius:99px;padding:5px 9px;font-size:11px;font-weight:800;white-space:nowrap}
.mural-objective-result.correct{color:#236544;background:#e2f1e5;border:1px solid #b8dac2}
.mural-objective-result.incorrect{color:#9a3939;background:#fff0ef;border:1px solid #efc7c4}
.mural-objective-result.pending{color:#756a51;background:#f4eee0;border:1px solid #dfd4b6}
.mural-objective-question{margin:9px 0 0;font-size:13px;line-height:1.55;font-weight:600;overflow-wrap:anywhere;white-space:pre-wrap}
.mural-objective-selected{margin:10px 0 0;padding-top:9px;border-top:1px solid #dde6d9;font-size:12px;line-height:1.5;overflow-wrap:anywhere;color:#425d49}
.mural-objective-selected strong{color:#263d2f}

.admin-cta{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}.admin-cta .btn{min-width:180px}
.admin-day-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:11px;margin-top:15px}
.admin-day-person{border:1px solid #e2e8df;background:#f8faf6;border-radius:13px;padding:13px;min-width:0}
.admin-day-person .head{display:flex;gap:8px;align-items:center;margin-bottom:8px}.admin-day-person .avatar{width:38px;height:38px;flex:0 0 38px}
.admin-day-person .head b{display:block}.admin-day-person .head small{display:block;color:#718472;font-size:11px}
.admin-day-question{padding:10px;margin-top:9px;background:white;border:1px solid #e3e9df;border-radius:12px}
.admin-day-question p{font-size:12px;line-height:1.55;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.admin-day-question .btn{width:100%;margin-top:7px}
.review-day-title{padding:12px 15px;background:#e9f1e7;border-radius:14px;margin:7px 0 0}
.review-day-title h3{margin:5px 0;font-family:var(--font-editorial);font-size:19px}.review-day-title small{color:#708274}
.review-person-heading{display:flex;align-items:center;gap:10px;margin-bottom:12px}.review-person-heading .avatar{width:42px;height:42px}
.review-person-heading b{display:block}.review-person-heading small{display:block;color:#6c7d70}
.review-question{padding:13px;background:#f5f8f1;border:1px solid #e0e8dc;border-radius:12px;margin-bottom:12px;line-height:1.5}
.review-question b{display:block;margin-bottom:8px}.review-question p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}
.review-card .review-form{margin-top:8px}.review-card .grade-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.review-card .btn{white-space:normal}.grade-success{display:inline-block;font-size:12px;color:#315e43;font-weight:800;background:#e1f0e5;padding:8px 10px;border-radius:9px}
@media(max-width:900px){.trail{padding:9px!important}.journey-scene{padding:10px 3px;min-height:255px}.journey-stops{min-height:235px}.journey-stop{grid-template-rows:82px 47px minmax(72px,auto);padding:5px 1px 3px}.journey-people{height:82px;gap:1px}.journey-person{font-size:9px;max-width:45px}.journey-person .avatar{width:32px;height:32px;border-radius:9px}.journey-pin{width:39px;height:39px;font-size:14px}.journey-label{padding:6px 2px}.journey-label strong{font-size:11px}.journey-label small{font-size:9px}.journey-thought{width:20px;height:20px;font-size:11px;right:-4px}.journey-road{inset:27% 0 auto;height:44%}.mural-day{padding:11px}.mural-person{padding:11px}.admin-cta .btn{width:100%}.admin-day-list{grid-template-columns:1fr}}
@media(max-width:365px){.journey-person{max-width:38px;font-size:8px}.journey-person .avatar{width:29px;height:29px}.journey-label strong{font-size:10px}.journey-label small{font-size:8px}.journey-scene{min-height:265px}.journey-stops{min-height:248px}}
@media(prefers-reduced-motion:reduce){.journey-person{animation:none}}


/* V9 — Explorer, Bible calendar, achievements, prayers and discussions */
.quick-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:16px}.quick-links button{border:1px solid #d8e3d5;border-radius:14px;padding:13px 6px;background:#f4f8ef;color:var(--forest);font-weight:800;display:flex;flex-direction:column;gap:7px;align-items:center;font-size:12px}.quick-links button span{font-size:24px}.quick-links button:hover,.feature-card:hover{border-color:#6c9b79;transform:translateY(-1px)}.achievement-peek{margin-top:13px;color:#5b7460;font-size:12px}
.feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.explore-intro{background:linear-gradient(120deg,#e7f0dd,#f6edd9)}.feature-card{border:1px solid var(--line);border-radius:18px;padding:22px 18px;text-align:left;background:var(--card);color:var(--ink);display:flex;flex-direction:column;gap:12px;min-width:0;box-shadow:var(--shadow)}.feature-icon{font-size:31px;color:#467d54;background:#edf4e8;width:60px;height:60px;display:grid;place-items:center;border-radius:17px}.feature-card strong{font:700 23px var(--font-editorial)}.feature-card small{font-size:13px;color:#718276;line-height:1.5;min-height:38px}.feature-next{font-size:12px;font-weight:800;color:#3b7450}
.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:16px 0}.calendar-toolbar h3{margin:0;text-transform:capitalize;text-align:center}.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.calendar-weekdays span{text-align:center;font-size:12px;color:var(--muted);font-weight:800;padding:8px 0}.calendar-day{min-width:0;min-height:72px;border:1px solid #e1e9dd;border-radius:12px;background:#f8faf5;padding:9px 5px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:2px;color:var(--ink)}.calendar-day.blank{visibility:hidden;pointer-events:none}.calendar-day.is-today{outline:2px solid #c99f5a}.calendar-day.selected{box-shadow:inset 0 0 0 2px #427358}.calendar-day .day-number{font-weight:900;font-size:16px}.calendar-day small{font-size:9px;line-height:1.1;text-align:center;word-break:break-word;color:var(--muted)}.calendar-day.done{background:#e0f0e1;border-color:#94b59a}.calendar-day.pending{background:#fff4df;border-color:#d6c499}.calendar-day.future{background:#eaf0e7}.calendar-day.no-study{background:transparent;border-color:#e7e9e2}.calendar-legend{display:flex;flex-wrap:wrap;gap:16px;margin-top:16px;font-size:12px;color:#657d69}.calendar-legend span{display:flex;align-items:center;gap:5px}.dot{width:10px;height:10px;border-radius:100%;display:inline-block}.dot.done{background:#84af8c}.dot.pending{background:#ddba68}.dot.future{background:#abbcab}.calendar-details{display:grid;gap:12px}.calendar-subtitle{font-size:12px;color:var(--muted)}.calendar-status{border:1px solid var(--line);border-radius:14px;padding:13px;background:#f7faf4}.calendar-status .row{align-items:flex-start}.calendar-status b{font-size:14px}.calendar-status small{color:var(--muted);display:block;margin-top:4px}
.achievement-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.achievement{border-radius:18px;border:1px solid var(--line);background:var(--card);padding:17px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:9px;min-width:0}.achievement.locked{opacity:.63;filter:grayscale(.5)}.achievement .emblem{display:grid;place-items:center;width:65px;height:65px;border:3px solid #d3b77c;border-radius:22px;background:linear-gradient(150deg,#fff7df,#f0ddad);font-size:31px;box-shadow:0 5px 0 #e5d7ad}.achievement strong{font-size:14px;color:#345a40}.achievement small{color:#758777;font-size:11px;line-height:1.5}.achievement .ach-status{font-size:10px;font-weight:800;color:#5d8a67}.achievement-summary{padding:12px 0;font-weight:800;color:#3b7450}.badge-row{display:flex;gap:9px;flex-wrap:wrap}.badge-mini{background:#f1ead6;border:1px solid #e0ca91;border-radius:999px;padding:8px 12px;font-size:12px;color:#67532d}.badge-mini.muted{background:#edf0e9;border-color:#d5dfd1;color:#7f8c80}
.prayer-list{display:grid;gap:13px;margin-top:13px}.prayer-note{border:1px solid var(--line);background:#fbfcf8;border-radius:16px;padding:17px;overflow-wrap:anywhere}.prayer-note h4{margin:8px 0;font-size:16px}.prayer-note p{white-space:pre-wrap;line-height:1.6;font-size:14px;margin:10px 0}.prayer-note .note-meta{font-size:11px;color:var(--muted)}.prayer-note.answered{border-color:#c4dcba;background:#f2faf0}.prayer-note .note-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.books-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.book-tile{border:1px solid var(--line);border-radius:16px;background:var(--card);padding:16px;text-align:left;display:grid;gap:10px;min-width:0;color:var(--ink)}.book-tile.selected{border:2px solid #5a8964;background:#f2f8ed;padding:15px}.book-tile strong{font-size:14px}.book-tile small{font-size:11px;color:var(--muted)}.book-tile .progress{margin:0}.book-tile .progress>div{min-width:0}.library-sum{margin-top:12px;padding:14px;border-radius:13px;background:#f1f6ed;color:#4a6752;font-size:13px}.chapter-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;margin-top:14px}.chapter-chip{background:#f3f5ef;border:1px solid #dce5d8;border-radius:10px;min-height:40px;display:grid;place-items:center;color:#607767;font-weight:800}.chapter-chip.read{background:#4d805f;color:white;border-color:#4d805f}.chapter-chip:hover{outline:2px solid #6b9f76}.chapter-selected{margin-top:15px;background:#f5f8f1;border-radius:15px;padding:15px}.chapter-selected h4{margin:0 0 9px}.chapter-selected p{line-height:1.55}
.comment-zone{margin-top:14px;border-top:1px solid #e0e9de;padding-top:12px}.comment-zone .comment-title{font-size:12px;color:#416b4c;font-weight:900}.comment-item{background:#fff;border:1px solid #e3e8de;border-radius:11px;padding:10px;margin:8px 0;font-size:12px}.comment-item b{color:#345a40}.comment-item p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5;margin:5px 0}.comment-controls{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin-top:10px}.comment-controls textarea{flex:1;min-width:170px;min-height:56px;font-size:12px;padding:9px}.comment-controls button{flex:0 0 auto}.comment-empty{font-size:11px;color:#879a8a;margin:6px 0}
@media(max-width:900px){.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.achievement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.books-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.quick-links{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.quick-links button{font-size:10px;padding:10px 3px;gap:4px;border-radius:11px}.quick-links button span{font-size:20px}.feature-grid{gap:9px}.feature-card{padding:16px 12px;border-radius:14px;gap:10px}.feature-card strong{font-size:18px}.feature-card small{font-size:11px;min-height:47px}.feature-icon{width:45px;height:45px;font-size:25px}.achievement-grid{gap:9px}.achievement{padding:12px 8px}.achievement .emblem{width:52px;height:52px;font-size:26px}.books-grid{gap:8px}.book-tile{padding:12px}.book-tile strong{font-size:12px}.chapter-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.calendar-weekdays,.calendar-grid{gap:3px}.calendar-day{min-height:58px;padding:6px 1px;border-radius:9px}.calendar-day .day-number{font-size:14px}.calendar-day small{font-size:8px}.calendar-weekdays span{font-size:10px}.calendar-toolbar h3{font-size:16px}}
@media(max-width:350px){.chapter-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.calendar-day{min-height:52px}}

/* V10 · coleção de 128 medalhas · categorias compactas para mobile */
.medal-sections{display:grid;gap:12px;min-width:0}
.medal-filters{min-width:0}
.medal-category{border:1px solid var(--line);border-radius:17px;background:var(--card);overflow:hidden;min-width:0;box-shadow:0 4px 18px #263b2910}
.medal-category summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;padding:16px;min-height:65px}
.medal-category summary::-webkit-details-marker{display:none}
.medal-category summary:focus-visible{outline:3px solid #81b990;outline-offset:-3px}
.medal-cat-icon{font-size:28px;flex-shrink:0}
.medal-cat-heading{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}
.medal-cat-heading strong{font-size:15px;color:var(--ink)}
.medal-cat-heading small{font-size:12px;color:var(--muted)}
.medal-cat-arrow{font-size:18px;color:var(--muted)}
.medal-category[open] .medal-cat-arrow{transform:rotate(180deg)}
.medal-category .achievement-grid{padding:0 13px 16px;grid-template-columns:repeat(4,minmax(0,1fr))}
.achievement.tier-bronze .emblem{background:linear-gradient(155deg,#f8ebdf,#dab18a);border-color:#b88564}
.achievement.tier-prata .emblem{background:linear-gradient(155deg,#fff,#d8e0e0);border-color:#a8b8bf}
.achievement.tier-ouro .emblem{background:linear-gradient(155deg,#fff9db,#f1cb65);border-color:#cba148}
.achievement.tier-diamante .emblem{background:linear-gradient(155deg,#eefff9,#b5dce0);border-color:#83bbc2}
.achievement.tier-lendaria .emblem{background:linear-gradient(155deg,#f1e5ff,#efcc98);border-color:#b494d0}
.achievement .emblem{position:relative;flex-shrink:0}
.emblem-icon{line-height:1}
.emblem-tier{position:absolute;bottom:-10px;right:-10px;background:#314e3e;color:white;font-size:9px;min-width:21px;height:21px;line-height:21px;text-align:center;border-radius:10px;border:2px solid #fff}
.medal-mini-progress{height:5px;width:100%;background:#e5eae3;border-radius:999px;overflow:hidden;margin-top:auto}
.medal-mini-progress>div{height:100%;background:#779f7b;border-radius:999px}
.achievement.locked{opacity:.74}
.medal-overview{display:grid;gap:9px}
.medal-overview strong{font:700 28px var(--font-editorial);color:var(--forest)}
.medal-overview strong span{font:600 14px var(--font-body);color:var(--muted)}
.medal-overview small{display:block;font-size:12px;color:var(--muted)}
.medal-progress{height:10px;background:#e4eadf;overflow:hidden;border-radius:999px}
.medal-progress>div{height:100%;background:linear-gradient(90deg,#699e76,#dbb765);border-radius:999px}
.achievement-next{border:1px solid var(--line);background:#f7f8f0;border-radius:15px;padding:13px}
.medal-next-title{font-weight:800;font-size:12px;color:#41644c;margin-bottom:10px}
.medal-next-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.medal-next-item{display:flex;align-items:center;gap:9px;min-width:0}
.medal-next-item>span{font-size:23px}
.medal-next-item>div{min-width:0}
.medal-next-item strong,.medal-next-item small{display:block;overflow-wrap:anywhere}
.medal-next-item strong{font-size:12px}
.medal-next-item small{font-size:11px;color:var(--muted);margin-top:3px}
@media(max-width:950px){.medal-category .achievement-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.medal-category .achievement-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.medal-next-list{grid-template-columns:1fr}.medal-category summary{padding:13px}.medal-cat-icon{font-size:25px}.achievement{padding:12px 9px}.achievement .emblem{width:56px;height:56px;font-size:26px}.achievement strong{font-size:12px}.achievement small{font-size:11px}.medal-category .achievement-grid{padding:0 10px 12px}}
@media(max-width:340px){.medal-category .achievement-grid{gap:7px}.achievement{padding:10px 7px}}


/* V11 — Identidade editorial + aventura em pixel art */

:root{
 
 
 
 --terracotta:#b8795b;--paper:#f9f4eb;--olive:#6c826b;
 
 
}
html{scroll-behavior:smooth}
body{font-family:var(--font-body);background:radial-gradient(ellipse 70% 45% at 95% 0,#eae6d9 0,transparent 75%),var(--bg);color:var(--ink);font-size:14px;letter-spacing:-.01em}
button,input,textarea,select{font-family:var(--font-body)}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #b89562;outline-offset:3px}
button{transition:background-color .2s,border-color .2s,transform .18s,box-shadow .2s}
.shell{grid-template-columns:246px minmax(0,1fr)}
.sidebar{background:linear-gradient(163deg,#2a4738 0%,#1e342c 74%);border-right:1px solid #9e956333;gap:36px;padding:32px 14px 22px;position:relative}
.sidebar:before{content:'';height:3px;position:absolute;left:0;right:0;top:0;background:linear-gradient(90deg,transparent,#d1b07a 35%,#d1b07a 65%,transparent)}
.logo{font:600 32px/1.03 var(--font-editorial);padding:9px 13px 27px;color:#fff9ec;letter-spacing:-.6px;border-bottom:1px solid #ffffff26}
.logo .brand-mark{display:grid;place-items:center;width:43px;height:43px;font:25px/1 Georgia,serif;border:1px solid #beab82;color:#e8d5ae;border-radius:12px;margin-bottom:16px;background:#ffffff0b}
.logo small{font:700 9px/1.6 var(--font-body);letter-spacing:2px;color:#c6cfbc;margin-top:12px}
.nav{gap:7px}.nav button{font-weight:700;font-size:12px;letter-spacing:.025em;color:#dce3d8;padding:13px 14px;border-radius:11px}
.nav button:hover{background:#ffffff12;color:#fff8ed}.nav button.active{background:#f5ebd9;color:#234735;box-shadow:inset 3px 0 0 #bf9560}
.nav button.active .nav-symbol{color:#aa774a}
.nav-symbol{font-size:19px;min-width:24px}
.aside-bottom{font:italic 19px/1.35 var(--font-editorial);color:#e4dbcc;padding:18px 13px;border-top:1px solid #ffffff28}
.content{max-width:1380px;padding:35px clamp(20px,4vw,62px) 56px}
.top{padding-bottom:25px;border-bottom:1px solid var(--line);margin-bottom:31px;align-items:center}
.page-title-block{min-width:0}
.eyebrow{color:#936c46;font-size:10px;font-weight:800;letter-spacing:2px;line-height:1.45}
.heading{font:600 clamp(36px,4.3vw,60px)/.98 var(--font-editorial);letter-spacing:-.8px;margin:8px 0 12px;color:var(--forest)}
#page-sub{font-size:13px;max-width:670px}
.muted{color:var(--muted);line-height:1.7}
.user-pill{background:#fffcf5;border:1px solid var(--line);border-radius:100px;padding:5px 15px 5px 5px;box-shadow:0 4px 12px #4a433019;color:var(--forest)}
.user-pill .avatar{border:2px solid #e8dfcf}
.stack{gap:20px}
.card{background:var(--card);border:1px solid var(--line);border-radius:17px;box-shadow:var(--shadow);padding:25px}
.card h2,.card h3{color:var(--forest);letter-spacing:-.3px}
.card h2{font:600 clamp(27px,2.8vw,35px)/1.05 var(--font-editorial);margin-bottom:13px}
.card h3{font:700 16px/1.4 var(--font-body);margin-bottom:12px}
.card > .eyebrow + h2{margin-top:10px}
.btn{background:var(--green);border:1px solid var(--green);border-radius:10px;color:#fffaf1;font-weight:800;font-size:12px;letter-spacing:.01em;padding:12px 17px;box-shadow:0 2px 4px #29493610}
.btn:hover{background:#264b39;border-color:#264b39;filter:none;transform:translateY(-1px)}
.btn.cream{background:#e8c995;border-color:#e8c995;color:#293e31;box-shadow:none}
.btn.cream:hover{background:#f1d6a6;border-color:#f1d6a6}
.btn.light{background:#e9ede4;border-color:#d9e3d7;color:#31513e;box-shadow:none}
.btn.light:hover{background:#dee7d9}
.btn.ghost{background:transparent;color:var(--forest);border:1px solid #cfcbbd;box-shadow:none}
.btn.ghost:hover{background:#f7f2e7}
.tag,.photo-chip,.question-type{border-radius:8px;background:#efe7d8;border:1px solid #e3d6c1;color:#795935;font-size:10px;letter-spacing:.025em;font-weight:800;padding:6px 9px}
.notice,.login-intro,.empty{background:#f2eee5;border:1px solid var(--line);color:#596a5f;border-radius:11px}
.input,input[type="date"],textarea,select{border-radius:10px;border-color:#dcd8cc;background:#fffefa;color:var(--ink)}
input:focus,textarea:focus,select:focus{border-color:#9b7a58}
.field label,label{color:#4b5e50;font-size:12px}
.hero{background:linear-gradient(118deg,#2b4b3b,#213b30 75%);min-height:255px;padding:36px 40px;border:1px solid #315340;box-shadow:0 16px 36px #24433225}
.hero:before{content:'';position:absolute;top:18px;right:21px;bottom:18px;width:31%;border:1px solid #ffffff20;border-radius:120px 120px 8px 8px;pointer-events:none}
.hero:after{content:'✦';position:absolute;font:200px/1 var(--font-editorial);right:8%;top:-31px;color:#c5aa7e;opacity:.14}
.hero .eyebrow{color:#e4c69a}
.hero h2{font:600 clamp(37px,4.3vw,57px)/.95 var(--font-editorial);letter-spacing:-.6px;margin:15px 0}
.hero p{font-size:13px;color:#e1e8dd;line-height:1.7;max-width:530px}
.hero .btn{position:relative;z-index:2;margin-top:12px}
.stat{border-radius:14px;background:var(--card);border:1px solid var(--line);padding:20px 19px;position:relative;overflow:hidden}
.stat:before{content:'';position:absolute;top:0;left:0;width:52px;height:3px;background:#c49c66}
.stat strong{font:600 clamp(30px,3.2vw,41px)/1.05 var(--font-editorial);margin:11px 0;color:var(--forest);letter-spacing:-.7px}
.stat span{font-size:11px;color:var(--muted)}
.progress,.medal-progress{background:#e7e6dd;border-radius:9px;height:8px}
.progress>div,.medal-progress>div{background:linear-gradient(90deg,#4d7960,#b49765);border-radius:9px}
.quick-links button{background:#f5f0e8;border:1px solid #e4dbce;color:var(--forest);border-radius:11px;font-weight:700}
.quick-links button span{color:#9c754b}
.achievement-peek{color:#68785e}
.explore-intro{background:linear-gradient(115deg,#efe9dc,#f7f3ea 72%);position:relative;overflow:hidden}
.explore-intro:after{content:'✧';font:160px var(--font-editorial);color:#c3a77f;opacity:.25;position:absolute;right:24px;top:-60px;pointer-events:none}
.feature-card{background:#fffefa;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:13px;padding:22px;gap:11px}
.feature-card:hover{border-color:#baa47f;transform:translateY(-2px)}
.feature-card strong{font:600 27px/1.05 var(--font-editorial);color:var(--forest)}
.feature-card small{color:var(--muted);font-size:12px}
.feature-icon{font-size:25px;width:54px;height:54px;background:#e8e3d7;color:#8d684c;border:1px solid #dcd1ba;border-radius:10px;box-shadow:4px 4px 0 #e2d7c0}
.feature-next{color:#80603e;font-weight:800}
.group-hero>.card:first-child{background:#faf5ec;border:1px solid #e4dac9}
.group-hero .card h2{font:600 38px/1 var(--font-editorial)!important;color:var(--forest)}
.group-mini{background:#fffdf7;border:1px solid #e3dacb;border-radius:12px}
.group-mini strong{font:600 32px var(--font-editorial);color:var(--forest)}
.group-mini span{font-size:11px;color:#657266}


.journey-scene{background:linear-gradient(180deg,#dfe7df,#edf0e5 60%,#d1dbc6);border:1px solid #c7d6c5;border-radius:13px;box-shadow:inset 0 0 0 4px #ffffff50}
.journey-scene:before{color:#fff;opacity:1}
.journey-pin{background:#fbf0d9;border:3px solid #58795e;border-radius:10px;box-shadow:4px 5px 0 #adc2a5}
.journey-stop.is-done .journey-pin{background:#efd39e;border-color:#ad8552}
.journey-label{background:#fffefaeb;border:1px solid #e4dcc9;border-radius:8px;color:var(--forest)}
.journey-person .avatar,.avatar.big{image-rendering:pixelated;border:2px solid #d2bd91;box-shadow:3px 4px 0 #9eae96;border-radius:8px}
.journey-person{color:#254537}
.journey-control{background:#f7f1e7;border-radius:10px}
.medal-category{border:1px solid var(--line);background:var(--card);border-radius:12px;box-shadow:var(--shadow)}
.medal-category summary{background:#fdfaf3}
.medal-cat-heading strong{color:var(--forest)}
.achievement{border-radius:10px;background:#fffcf5;border:1px solid #e0d8c8;padding:14px 10px}
.achievement.locked{opacity:.67;filter:grayscale(.28)}
.achievement .emblem{border-radius:8px;box-shadow:5px 5px 0 #d9ccb6;width:61px;height:61px}
.achievement.tier-bronze .emblem{background:linear-gradient(135deg,#f6e7d6,#d6b08f)}
.achievement.tier-prata .emblem{background:linear-gradient(135deg,#fff,#d0e0db)}
.achievement.tier-ouro .emblem{background:linear-gradient(135deg,#fff0c2,#efce77)}
.achievement.tier-diamante .emblem{background:linear-gradient(135deg,#effffb,#b5dde6)}
.achievement.tier-lendaria .emblem{background:linear-gradient(135deg,#f8e7ff,#efce9e)}
.emblem-tier{background:#2f4a3b;border-radius:6px}
.medal-overview strong{font:600 35px var(--font-editorial)}
.achievement-next{background:#f6f0e6;border-color:var(--line);border-radius:11px}
.calendar-day,.book-tile,.chapter-chip{background:#fffdf7;border-color:#e3ddd0;border-radius:9px}
.calendar-day.is-today{outline:2px solid #b88e59}
.calendar-day.done,.chapter-chip.read{background:#e3ece1;border-color:#a1b69a}
.calendar-day.pending{background:#f9ead3;border-color:#dcc08b}
.calendar-day.selected{box-shadow:inset 0 0 0 2px #466950}
.calendar-day.future{background:#f5f3ed}
.calendar-day .day-number{font-weight:800}
.book-tile.selected{background:#f1f1e7;border-color:#718d77}
.chapter-chip.read{background:#37634c;color:white}
.prayer-note{background:#fffdf8;border-color:var(--line);border-radius:11px}
.prayer-note.answered{background:#ecf1e9;border-color:#c0d0b8}
.comment-zone{border-color:var(--line)}
.comment-item,.post-question,.mural-person,.mural-day,.review-card,.admin-day-person{background:#fffcf6;border-color:var(--line);border-radius:10px}
.admin-banner{background:linear-gradient(120deg,#294b3a,#20382d);border-color:#365b46}
.admin-banner h2{font:600 38px/1.05 var(--font-editorial)}
.review-day-title{background:#f4ecdd;border-radius:9px}
.review-day-title h3{font-family:var(--font-editorial);font-size:26px}
.modal{border-radius:15px;background:#fffdf8;border:1px solid var(--line)}
.modal h2{font:600 34px/1 var(--font-editorial)}
.question-edit{background:#f8f4eb;border-color:#e5dccf;border-radius:10px}
.video-preview{border-radius:10px}
.play-dot{background:#f9efde;color:#284b39}
/* Login editorial */
.auth{min-height:100dvh;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0;padding:0;background:#f5efe5}
.auth-art{min-height:100dvh;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;padding:clamp(38px,7vw,92px);background:linear-gradient(158deg,#2e4e3c,#1d322a);color:#fff9e9;position:relative;overflow:hidden}
.auth-art:before{content:'';position:absolute;inset:18px;border:1px solid #ffffff20;pointer-events:none}
.auth-art:after{content:'✣';position:absolute;right:-40px;bottom:-150px;font:560px/1 var(--font-editorial);color:#bfa074;opacity:.12;pointer-events:none}
.auth-brand{font:600 20px var(--font-editorial);letter-spacing:.015em;display:flex;gap:12px;align-items:center;z-index:1}
.auth-brand-mark{width:35px;height:35px;border:1px solid #bf9d70;border-radius:8px;display:grid;place-items:center;color:#efdbb6;font:22px Georgia,serif}
.auth-art-main{position:relative;z-index:1;max-width:500px}
.auth-art-kicker{font-size:11px;letter-spacing:2.5px;color:#e1c69a;font-weight:800;margin-bottom:20px}
.auth-art h2{font:500 clamp(50px,6vw,100px)/.9 var(--font-editorial);margin:0;letter-spacing:-1.5px}
.auth-art p{font-size:14px;line-height:1.9;color:#d6dfd4;max-width:380px;margin-top:28px}
.auth-art-verse{z-index:1;font:italic 23px/1.25 var(--font-editorial);color:#e4d5bd;max-width:400px}
.auth-art-verse small{display:block;font:700 9px var(--font-body);text-transform:uppercase;letter-spacing:2px;color:#bca985;margin-top:11px}
.authbox{width:min(470px,calc(100% - 50px));border:1px solid #e2dacc;padding:clamp(28px,4vw,44px);border-radius:15px;box-shadow:0 20px 70px #3c39221b;background:#fffdf8;place-self:center}
.authbox h1{font:600 clamp(39px,4vw,58px)/.94 var(--font-editorial);letter-spacing:-.8px;color:var(--forest);margin:16px 0}
.authbox .login-intro{background:#f6f0e5;border-color:#e3d6c4;color:#4c5a4d;font-size:13px}
.authbox #auth-submit{font-size:13px;padding:14px 20px}
.authbox .notice{font-size:11px;line-height:1.6}
/* Mobile: no horizontal scrolling, comfortable tap targets */
@media(max-width:900px){
 html,body{overflow-x:clip}
 .shell{display:block;width:100%}
 .sidebar{background:linear-gradient(120deg,#243d31,#1d332a);border-top:1px solid #b89a69;border-right:0;box-shadow:0 -6px 18px #21312626;padding:5px 5px calc(5px + env(safe-area-inset-bottom,0px));height:calc(70px + env(safe-area-inset-bottom,0px))}
 .sidebar:before{display:none}
 .nav{gap:2px}
 .nav button{padding:6px 1px;border-radius:8px;letter-spacing:0;font-size:10px;white-space:normal;min-width:0}
 .nav button.active{box-shadow:inset 0 3px 0 #c3a06c;background:#f6ebd9;color:#274b37}
 .nav button .nav-symbol{font-size:21px;line-height:1.05}
 .content{padding:21px 14px calc(106px + env(safe-area-inset-bottom,0px));width:100%;max-width:100%;min-width:0}
 .top{padding-bottom:17px;margin-bottom:20px;align-items:start;min-width:0}
 .heading{font-size:clamp(32px,7.5vw,45px);line-height:.98;margin:8px 0 10px}
 .user-pill{font-size:10px;max-width:120px;overflow:hidden;text-overflow:ellipsis;padding-right:9px}
 .user-pill #top-name{overflow:hidden;text-overflow:ellipsis;max-width:75px}
 .card{padding:19px 17px;border-radius:13px}
 .card h2{font-size:clamp(27px,7vw,33px)}
 .card h3{font-size:15px}
 .hero{padding:28px 24px;min-height:230px}
 .hero h2{font-size:clamp(38px,10vw,54px)}
 .hero:before{right:10px;top:10px;bottom:10px;width:38%}
 .hero:after{right:1%;font-size:155px}
 .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .stat{padding:16px 13px;min-width:0;border-radius:11px}
 .stat strong{font-size:34px;overflow-wrap:anywhere}
 .stat span{font-size:10px}
 .feature-card{padding:17px 13px;min-height:175px;gap:10px;border-radius:11px}
 .feature-card strong{font-size:clamp(22px,6vw,27px)}
 .feature-card small{min-height:0;line-height:1.55}
 .feature-icon{width:46px;height:46px;box-shadow:3px 3px 0 #e2d7c0}
 .group-hero .card h2{font-size:37px!important}
 .group-mini{padding:12px}
 .group-mini strong{font-size:30px}
 .journey-scene{border-radius:10px}
 .journey-person .avatar{border-radius:5px}
 .achievement .emblem{width:53px;height:53px;box-shadow:4px 4px 0 #d9ccb6}
 .auth{grid-template-columns:1fr;min-height:100dvh;padding:0 0 26px;gap:0}
 .auth-art{min-height:180px;padding:22px 25px 19px;gap:25px}
 .auth-art:before{inset:8px}
 .auth-brand{font-size:18px}
 .auth-art-main{max-width:100%}
 .auth-art-kicker{font-size:9px;margin-bottom:7px}
 .auth-art h2{font-size:clamp(38px,10vw,54px);line-height:.9}
 .auth-art p,.auth-art-verse{display:none}
 .authbox{width:calc(100% - 28px);margin:-15px auto 20px;place-self:stretch;position:relative;z-index:2;padding:27px 21px 22px;border-radius:13px}
 .authbox h1{font-size:43px}
 .authbox .notice{font-size:10px}
}
@media(max-width:360px){
 .content{padding-left:10px;padding-right:10px}
 .card{padding:16px 13px}
 .stats{gap:7px}
 .stat{padding:13px 10px}
 .stat strong{font-size:30px}
 .heading{font-size:33px}
 .hero{padding:25px 19px}
 .quick-links{gap:5px}
 .quick-links button{font-size:10px;padding:10px 2px}
 .feature-card{padding:14px 10px}
 .feature-card strong{font-size:22px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}button{transition:none}}
/* Last-mile contrast and mobile navigation fixes */
.card.hero h2,.card.admin-banner h2{color:#fff8e9}
.card.hero h3,.card.admin-banner h3{color:#fff8e9}
.card.admin-banner .eyebrow{color:#e4c99d}
@media(max-width:900px){
 .admin-mode .nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));max-width:100%;width:100%;margin:0}
 .top .eyebrow{font-size:10px;letter-spacing:1.1px;line-height:1.35}
}
@media(max-width:900px){
 .sidebar{position:fixed;left:0;right:0;top:auto;bottom:0;z-index:12;display:block;width:100%;}
}


/* V12 — edição de contas e personalização avançada de avatares */
.member-edit-card{display:flex;flex-direction:column;gap:9px;min-width:0;flex:1}
.member-edit-card button{width:fit-content;max-width:100%;border:1px solid var(--line);background:#f8f8f3;border-radius:10px;padding:9px 12px;font-weight:800;color:var(--forest);cursor:pointer}
.member-edit-card button:hover{background:#e8eee4}
.member-edit-note{font-size:12px;line-height:1.6;color:var(--muted)}
#member-editor-modal .modal{max-width:520px}
#member-editor-modal .field{margin:14px 0}
#member-editor-modal .modal-buttons{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
#member-editor-modal .modal-buttons button{flex:1 1 130px}
.avatar-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.avatar-choice-grid .option{min-width:0;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;min-height:106px;padding:10px 4px;line-height:1.25}
.avatar-choice-grid .option .mini-portrait{width:58px;height:58px;border-radius:12px;overflow:hidden;box-shadow:inset 0 0 0 1px #d7ddcf}
.avatar-choice-grid .option .mini-portrait svg{width:100%;height:100%;image-rendering:pixelated}
.avatar-choice-grid .option.selected{box-shadow:0 0 0 1px #376544}
@media(min-width:750px){.avatar-choice-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:370px){.avatar-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* V13: avisos, notificações, seletor de estudos e relatórios. */
.notify-target{outline:3px solid var(--gold)!important;outline-offset:5px;border-radius:12px;transition:outline .2s}

.account-actions{position:relative}.notify-wrap{position:relative;flex:0 0 auto}.notify-bell{height:44px;width:44px;position:relative;border:1px solid var(--line);background:var(--card);border-radius:50%;color:var(--forest);display:grid;place-items:center}.notify-bell:hover,.notify-bell:focus-visible{outline:2px solid var(--gold)}.notify-counter{position:absolute;right:-4px;top:-4px;min-width:19px;height:19px;border-radius:50%;background:#a54e3b;color:white;font:700 11px var(--font-body);display:grid;place-items:center;padding:0 3px}.notify-panel{position:absolute;top:52px;right:0;width:min(385px,92vw);max-height:min(70vh,600px);overflow:auto;background:var(--card);box-shadow:0 15px 50px #1b2c2080;border:1px solid var(--line);border-radius:19px;padding:16px;z-index:100}.notify-item{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;width:100%;text-align:left;border:1px solid transparent;background:none;border-radius:13px;padding:12px 9px;color:var(--ink)}.notify-item:hover{background:#edf2e8}.notify-item.unread{background:#f2f6ec;border-color:#d7e5cf}.notify-item strong{display:block;font-size:13px;line-height:1.4}.notify-item small{color:var(--muted);line-height:1.55;display:block}.notify-icon{width:31px;height:31px;display:grid;place-items:center;border-radius:10px;background:#e4ebdd;font-size:17px}.notify-list{display:grid;gap:6px}.bulletin{border-left:5px solid var(--gold)!important;background:#fffcf4!important}.bulletin h3{font:700 23px var(--font-editorial)!important;margin:7px 0}.bulletin p{white-space:pre-wrap;line-height:1.7;overflow-wrap:anywhere}.bulletin-editor textarea{min-height:116px}.date-jump{display:flex;align-items:end;gap:9px;flex-wrap:wrap;margin:12px 0}.date-jump label{flex:1 1 150px}.date-jump input{flex:1 1 160px;max-width:280px}.report-filter{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.report-filter .field{margin:0}.report-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:15px 0}.report-metric{padding:16px;border-radius:14px;background:#f3f6ed;border:1px solid var(--line)}.report-metric strong{display:block;color:var(--forest);font:700 25px var(--font-editorial)}.report-metric span{font-size:12px;color:var(--muted);line-height:1.5}.report-person{padding:15px 0;border-bottom:1px solid var(--line)}.report-person:last-child{border-bottom:0}.report-person h3{margin:0 0 12px}.report-table{width:100%;border-collapse:collapse;font-size:13px}.report-table th,.report-table td{padding:8px;border-bottom:1px solid var(--line);text-align:left}.report-insights{padding-left:20px;line-height:1.7}.report-note{font-size:12px;color:var(--muted)}
@media(max-width:900px){.notify-panel{position:fixed;top:64px;right:12px;left:auto;width:min(420px,calc(100vw - 24px));max-height:65vh}.report-filter{grid-template-columns:1fr}.report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.date-jump{align-items:stretch}.date-jump label{flex-basis:100%}.date-jump input{width:100%;max-width:none}.account-actions{gap:6px}}
@media(max-width:350px){.report-metrics{grid-template-columns:1fr}.notify-bell{width:39px;height:39px}.report-table{font-size:11px}}


/* V13.1: aviso compacto do próximo encontro presencial. */
.meeting-reminder{display:flex;align-items:center;justify-content:space-between;gap:13px;padding:15px 19px;border-radius:17px;border:1px solid #d1dfce;background:linear-gradient(110deg,#e8f0e4,#f7f4e9);color:#234634}
.meeting-reminder.hidden{display:none}
.meeting-reminder .meeting-title{font-weight:800;font-size:14px;margin:3px 0 5px}
.meeting-reminder .meeting-date{font-size:13px;color:#425a49}
.meeting-reminder .meeting-count{border-radius:11px;background:#2c5940;color:#fff;padding:10px 12px;font-weight:800;text-align:center;min-width:114px;font-size:13px}
@media(max-width:430px){.meeting-reminder{padding:13px 12px;gap:8px}.meeting-reminder .meeting-count{min-width:94px;font-size:12px;padding:9px 8px}.meeting-reminder .meeting-date{font-size:12px}}

/* V13.2 — mural recolhível e curtidas discretas. */
.reflection-accordion{min-width:0}
.reflection-accordion summary{display:flex;gap:9px;align-items:flex-start;justify-content:space-between;cursor:pointer;list-style:none;min-height:40px;padding:0}
.reflection-accordion summary::-webkit-details-marker{display:none}
.reflection-accordion summary:focus-visible{outline:2px solid #497454;outline-offset:3px;border-radius:4px}
.reflection-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.45;font-size:13px;font-weight:750;color:#496d51}
.reflection-flags{display:flex;gap:5px;flex-wrap:wrap;margin-top:6px}
.reflection-flags span{background:#eaf0e7;border-radius:6px;color:#536d58;padding:4px 6px;font-size:10px;font-weight:600;line-height:1.35}
.reflection-chevron{font-size:17px;flex-shrink:0;color:#648269;transition:transform .15s ease}
.reflection-accordion[open] .reflection-chevron{transform:rotate(180deg)}
.reflection-expanded{border-top:1px solid #e2e9de;margin-top:11px;padding-top:11px}
.reflection-expanded>p{white-space:pre-wrap;line-height:1.6}
.reflection-like-row{display:flex;justify-content:flex-start;align-items:center;margin-top:9px;padding-top:8px;border-top:1px solid #e6ebe2}
.like-button{display:inline-flex;align-items:center;gap:5px;border:1px solid #d3dfd0;color:#486e55;background:#fffdf8;border-radius:999px;padding:6px 10px;cursor:pointer;font:inherit;font-size:11px;font-weight:700;min-height:31px;white-space:nowrap}
.like-button[aria-pressed="true"]{color:#9f4355;border-color:#e2b7bd;background:#fff2f2}
.like-button:disabled{opacity:.5;cursor:default}
.like-button:focus-visible{outline:2px solid #497454;outline-offset:2px}
.comment-actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:8px}
.comment-actions .btn{margin:0}
@media(max-width:420px){.reflection-title{font-size:12px}.reflection-flags span{font-size:10px}.mural-person .post-question{padding:10px}}


/* V13.2 — resumo de desempenho por estudo no alto do mural do grupo. */
.mural-grade-summary{display:grid;grid-template-columns:minmax(105px,0.7fr) minmax(0,2fr);gap:10px;padding:12px;margin:0 0 14px;background:#f0f5ec;border:1px solid #d7e3d2;border-radius:14px}
.mural-grade-main{padding-right:10px;border-right:1px solid #d1decf;display:flex;flex-direction:column;justify-content:center}
.mural-grade-label{font-size:11px;color:#52715a;font-weight:700;line-height:1.3}
.mural-grade-number{display:block;font-family:var(--font-editorial);color:#28503c;font-size:27px;line-height:1.3;font-weight:750;font-variant-numeric:tabular-nums}
.mural-grade-number small{font:600 12px system-ui,sans-serif;color:#617668}
.mural-grade-meta{font-size:10px;line-height:1.5;color:#58725f}
.mural-grade-roster{display:flex;flex-wrap:wrap;align-content:flex-start;gap:5px;margin:6px 0}
.mural-grade-person{font-size:11px;display:inline-flex;gap:5px;align-items:center;border:1px solid #dae4d5;border-radius:20px;background:#fffdf8;padding:5px 8px;max-width:100%;overflow-wrap:anywhere}
.mural-grade-person b{color:#274a36;font-variant-numeric:tabular-nums}
.mural-grade-person.is-pending{color:#637266;background:#f9faf6}
.mural-grade-explainer{grid-column:1/-1;font-size:10px;color:#637a67;line-height:1.5;margin:0}
.mural-person-grade{margin-left:auto;font-weight:750;font-size:11px;white-space:nowrap;color:#315e43;background:#eaf3e7;padding:5px 7px;border-radius:7px}
@media(max-width:370px){.mural-grade-summary{grid-template-columns:minmax(88px,0.7fr) minmax(0,2fr);padding:9px;gap:7px}.mural-grade-main{padding-right:7px}.mural-grade-number{font-size:23px}.mural-grade-person{font-size:10px;padding:4px 6px}}


/* V13.2 — parecer geral por dia, visível junto à média do grupo. */
.day-feedback{background:#fffcf4;border-left:3px solid #84a287;padding:11px 12px;border-radius:6px;margin:0 0 13px;color:#36553e;line-height:1.55;overflow-wrap:anywhere}
.day-feedback strong{display:block;font-size:12px;margin-bottom:4px;color:#27503b}
.day-feedback p{white-space:pre-wrap;margin:0;font-size:13px}
.day-feedback-editor{padding:13px;background:#f4f7ef;border:1px solid #dce6d6;border-radius:12px}
.day-feedback-editor textarea{width:100%;min-height:94px;resize:vertical}
.day-feedback-editor .row{margin-top:8px}
.day-feedback-editor label{font-size:12px;font-weight:700;display:block;margin-bottom:6px}
.day-feedback-editor .field{margin-top:10px}
.report-day-feedback{background:#f7faf5;padding:10px 12px;border-radius:10px;margin:9px 0;border:1px solid #dce6d6;overflow-wrap:anywhere}
.report-day-feedback p{white-space:pre-wrap;margin:6px 0 0}


/* V13.3: mural com resposta aberta e discussões hierarquizadas */
.reflection-card{overflow-wrap:anywhere}
.reflection-question{font-weight:800;color:#345c42;font-size:13px;line-height:1.45;margin-bottom:9px}
.reflection-answer{font-size:14px;line-height:1.7;white-space:pre-wrap;margin:0 0 10px;color:#314737}
.reflection-byline{font-size:11px;color:#66806b;margin-bottom:8px;font-weight:700}
.reflection-like-row{margin-top:10px}
.thread-feedback{border-left:3px solid #91b397;background:#f2f6ee;border-radius:0 10px 10px 0;margin:11px 0 9px;padding:10px 12px;font-size:12px}
.thread-feedback summary,.thread-comment summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:7px;line-height:1.45;font-weight:750}
.thread-feedback summary::-webkit-details-marker,.thread-comment summary::-webkit-details-marker{display:none}
.thread-feedback summary::after,.thread-comment summary::after{content:'⌄';margin-left:auto;flex-shrink:0;color:#66806b}
.thread-feedback[open] summary::after,.thread-comment[open] summary::after{content:'⌃'}
.thread-feedback-body,.thread-comment-body{padding:10px 0 2px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}
.comment-zone{margin-top:10px;padding-top:10px}
.comment-zone .comment-title{font-size:12px;margin-bottom:9px}
.thread-tree{display:grid;gap:6px;margin-top:8px}
.thread-comment{padding:9px 10px;background:#fffdf9;border:1px solid #dfe8dd;border-left:3px solid #bbd3b5;border-radius:8px;font-size:12px;min-width:0}
.thread-comment.is-reply{margin-left:min(14px,4vw);border-left-color:#d9c69e;background:#fffef9}
.thread-target{display:block;font-size:10px;font-weight:600;color:#728478;margin-top:2px}
.thread-comment-body p{white-space:pre-wrap;line-height:1.6;margin:0 0 7px}
.thread-replies{margin-top:7px;padding-left:5px;border-left:1px solid #d9e3d7;display:grid;gap:6px}
.thread-compose{margin-top:8px;background:#f5f8f2;border-radius:9px;padding:9px;min-width:0}
.thread-compose summary{cursor:pointer;color:#477357;font-size:11px;font-weight:800}
.thread-compose textarea{min-height:68px;font-size:12px;margin-top:9px}
.thread-compose .btn{margin-top:7px}
.comment-count{font-size:11px;color:#58705e;font-weight:700}
.mural-person-grade{font-family:var(--font-editorial);font-size:20px;padding:8px 11px;border-radius:10px;min-width:72px;text-align:center}
.mural-person-grade.pending{font:700 11px var(--font-body);white-space:normal}
.mural-grade-summary{padding:18px;gap:16px}
.mural-grade-number{font-size:clamp(36px,4.5vw,52px)}
.mural-grade-person b{font-size:13px}
.day-feedback{background:#f7f9f1;padding:14px 16px;border-left-width:4px}
.day-feedback strong{font-size:14px}.day-feedback p{font-size:14px}
.member-feedback{margin:9px 0;border-radius:9px;background:#f5f2e8;border-left:3px solid #c0a869;padding:10px 12px}
.member-feedback strong{display:block;color:#4e5c42;font-size:12px;margin-bottom:4px}
.member-feedback p{margin:0;white-space:pre-wrap;line-height:1.55;font-size:12px}
.individual-editor{border-top:1px solid #d5dfd1;margin-top:18px;padding-top:15px}
.individual-editor h4{margin:0 0 5px;font-size:15px}
.member-feedback-editor{background:#fffdf8;border:1px solid #dde6d9;padding:12px;margin:10px 0;border-radius:11px}
.member-feedback-editor textarea{min-height:75px}
.member-feedback-editor strong{font-size:13px}
.member-feedback-editor .row{justify-content:flex-start;margin-top:8px}
.thought-publisher{margin-top:16px}
.thought-compose .row input{flex:1 1 210px}
.thought-published{padding:11px 13px;background:#f2f7ed;border:1px solid #d4e3d0;border-radius:12px;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}
.thought-published b{display:block;font-size:12px;margin-bottom:4px;color:#416d51}
.journey-scene{min-height:380px;padding:20px 8px 10px}
.journey-stops{min-height:345px}
.journey-stop{grid-template-rows:160px 64px minmax(76px,auto)}
.journey-people{height:155px;gap:7px}
.journey-person{max-width:84px;font-size:12px}
.journey-person .avatar{width:64px;height:64px;border-radius:15px}
.journey-pin{width:51px;height:51px}
.journey-thought-indicator{position:absolute;right:-5px;top:-6px;background:#fffcf0;border:1px solid #cad7bf;border-radius:50%;padding:3px;font-size:12px;z-index:3}
.journey-thought-wall{padding:11px 12px;background:#f5f8ee;border:1px solid #d9e5d5;border-radius:13px}
.journey-thought-wall h4{font-size:12px;font-weight:800;color:#477053;margin:0 0 8px}
.journey-thought-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:8px}
.journey-thought-card{display:flex;align-items:flex-start;gap:9px;background:#fffefa;border:1px solid #d9e5d6;border-radius:11px;padding:10px;min-width:0}
.journey-thought-card .avatar{width:38px;height:38px;flex:0 0 38px}
.journey-thought-card strong{font-size:12px;display:block;color:#385b43}
.journey-thought-card p{margin:4px 0 0;font-size:12px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:900px){.journey-scene{min-height:360px;padding:12px 4px 7px}.journey-stops{min-height:332px}.journey-stop{grid-template-rows:148px 54px minmax(82px,auto)}.journey-people{height:146px;gap:4px}.journey-person{max-width:60px;font-size:10px}.journey-person .avatar{width:46px;height:46px;border-radius:12px}.journey-pin{width:43px;height:43px}.mural-grade-summary{padding:12px;gap:10px}.mural-person-grade{font-size:18px}}
@media(max-width:365px){.journey-scene{min-height:380px}.journey-stop{grid-template-rows:169px 51px minmax(85px,auto)}.journey-people{height:164px}.journey-person{max-width:51px;font-size:9px}.journey-person .avatar{width:41px;height:41px}.mural-grade-summary{grid-template-columns:1fr}.mural-grade-main{border-right:0;border-bottom:1px solid #d7e0d4;padding-bottom:9px}.mural-person-grade{min-width:59px;padding:6px;font-size:16px}}


/* V13.5 — cores funcionais e leitura comparativa do mural */
:root{--accent-answer-bg:#e1effb;--accent-answer-border:#a3c8e7;--accent-answer-ink:#235479;--accent-feedback-bg:#fff0e4;--accent-feedback-border:#dba783;--accent-comment-bg:#f1eafa;--accent-comment-border:#c6b5df;--accent-note-bg:#fbefcf;--accent-note-border:#dcb967}
/* Tipografia colorida, mas identidade verde e creme preservada. */
.group-mini:nth-child(1){background:#eaf2e8;border-color:#c9dec9}
.group-mini:nth-child(2){background:#edf3fc;border-color:#c9daf0}
.group-mini:nth-child(3){background:#fff4dc;border-color:#eddbaf}
.group-day-wrap{background:#f3f5eb;padding:13px;border:1px solid #e1e8d7;border-radius:13px}
.meeting-reminder{background:#fff1e5!important;border-color:#ebcfb8!important}
.meeting-reminder .meeting-count{background:#a96543;color:#fff}
.day-feedback{background:var(--accent-note-bg);border-left:4px solid var(--accent-note-border);color:#594525}
.day-feedback strong{color:#6b4b17}
.mural-grade-summary{background:#fff8e9;border-color:#e9d8ac}
.mural-grade-number{color:#775313}
.mural-grade-person{background:#fff;box-shadow:0 2px 4px #5e451509}
.reflection-card{background:var(--accent-answer-bg)!important;border-color:var(--accent-answer-border)!important}
.thread-feedback{background:var(--accent-feedback-bg);border-left-color:var(--accent-feedback-border);color:#6e442f}
.thread-feedback summary,.thread-feedback summary::after{color:#6e442f}
.thread-comment{background:var(--accent-comment-bg);border-color:#e1d5ee;border-left-color:var(--accent-comment-border)}
.thread-comment.is-reply{background:#f9f1ff;border-left-color:#ac8dce}
.thread-target{color:#6c567f}
.member-feedback{background:var(--accent-feedback-bg);border-left-color:var(--accent-feedback-border)}
.member-feedback strong{color:#815036}
.journey-scene{background:linear-gradient(180deg,#dce9f5 0%,#e4f0e3 59%,#eff0d9 100%)}
.journey-thought-wall{background:#f1eafa;border-color:#dfd2ee}
.journey-thought-wall h4{color:#654985}
.journey-thought-card{background:#fffefb;border-color:#e0d7e9}
.rank:nth-child(1) .rank-index{color:#9a7228}
.rank:nth-child(2) .rank-index{color:#6e7990}
.rank:nth-child(3) .rank-index{color:#a56e4a}
.rank .xp{background:#e8f2e4;padding:6px 9px;border-radius:9px}
.stat:nth-child(5n + 1){background:#eff5e9;border-color:#d5e5ce}
.stat:nth-child(5n + 2){background:#edf3fb;border-color:#d5e3f5}
.stat:nth-child(5n + 3){background:#f8ebfa;border-color:#e7d8eb}
.stat:nth-child(5n + 4){background:#fff4e7;border-color:#f0dfc8}
.stat:nth-child(5n + 5){background:#faf1d9;border-color:#f0e1b7}
/* Início: estado do estudo e parecer pessoal em destaque. */
.hero-study-status{display:inline-flex;align-items:center;gap:7px;border-radius:999px;background:#fff9e8;color:#75521c;font-size:13px;font-weight:800;padding:8px 13px;margin:1px 0 16px;border:1px solid #e2cc94}
.hero-study-status.is-complete{background:#e4f3e4;color:#275b35;border-color:#a2ceaa}
.hero .btn{display:block;width:fit-content}
.personal-day-feedback{background:#fff7ef;border-color:#e7c8aa;border-left:5px solid #ca966a}
.personal-feedback-head{display:flex;justify-content:space-between;gap:14px;align-items:center}
.personal-feedback-head h2{font-size:clamp(22px,2.5vw,29px);margin:7px 0}
.personal-feedback-head small{font-size:12px;color:#76634e}
.personal-feedback-score{background:#fbe8bd;border:1px solid #e6ca91;border-radius:12px;padding:10px 13px;white-space:nowrap;font:700 clamp(17px,2vw,24px) var(--font-editorial);color:#704d16}
.personal-feedback-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.8;color:#4b443c;padding:13px 0;margin:8px 0 12px;border-bottom:1px solid #e9d9c6}
/* Mural: perguntas alinhadas em blocos; todos respondem à mesma questão na mesma grade. */
.mural-member-roster,.mural-question-answers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:stretch}
.mural-member-roster{margin:14px 0 18px}
.mural-member-overview{min-width:0;padding:12px;border:1px solid #d6e4d4;background:#f2f8ee;border-radius:13px;display:flex;flex-direction:column;gap:9px}
.mural-roster-person{display:flex;align-items:center;gap:8px;min-width:0}
.mural-roster-person>.avatar,.mural-cell-person .avatar{width:34px;height:34px;flex:0 0 34px;border-radius:9px}
.mural-roster-meta{min-width:0;flex:1}
.mural-roster-meta button{background:none;border:none;padding:0;color:#27543e;font-weight:800;max-width:100%;overflow-wrap:anywhere;text-align:left}
.mural-roster-meta small{display:block;font-size:10px;line-height:1.4;color:#607d64;margin-top:3px}
.mural-roster-grade{font:700 26px var(--font-editorial);color:#735019;background:#f9e8bd;border:1px solid #ead7a3;border-radius:10px;padding:8px;text-align:center}
.mural-roster-grade.pending{font:700 12px var(--font-body);color:#647767;background:#e7ede5;border-color:#d8e2d6}
.mural-overall-accordion{background:var(--accent-feedback-bg);border:1px solid #ecd3bf;border-left:3px solid var(--accent-feedback-border);border-radius:9px;font-size:12px;min-width:0}
.mural-overall-accordion summary{display:flex;align-items:center;justify-content:space-between;gap:6px;list-style:none;cursor:pointer;padding:9px;color:#7b4e35;font-weight:800;line-height:1.45}
.mural-overall-accordion summary::-webkit-details-marker{display:none}
.mural-overall-accordion[open] summary span{transform:rotate(180deg)}
.mural-overall-accordion>div{white-space:pre-wrap;overflow-wrap:anywhere;padding:9px 10px 11px;border-top:1px solid #ecd3bf;color:#594737;line-height:1.7}
.mural-question-list{display:grid;gap:15px}
.mural-question-block{min-width:0;background:#fff;border:1px solid #dee6e0;border-radius:14px;padding:13px}
.mural-question-block.is-objective{background:#f5f8f1;border-color:#d8e5d6}
.mural-question-head{background:#f0eff9;padding:12px 14px;margin:-2px -2px 12px;border-radius:10px;border-left:4px solid #a89ac9}
.mural-question-block.is-objective .mural-question-head{background:#eaf2e7;border-left-color:#7eac85}
.mural-question-kind{font-size:11px;color:#76609b;font-weight:800;text-transform:uppercase;letter-spacing:.07em}
.mural-question-block.is-objective .mural-question-kind{color:#3c7546}
.mural-question-head h4{font-size:clamp(13px,1.4vw,16px);color:#293e36;margin:6px 0 0;line-height:1.55}
.mural-answer-cell{background:#fcfdfa;border:1px solid #e1e8dc;border-radius:11px;min-width:0;padding:10px;display:flex;flex-direction:column;gap:9px}
.mural-cell-person{display:flex;gap:7px;align-items:center;min-width:0;font-size:12px;font-weight:800;color:#2c503f}
.mural-cell-person span:last-child{overflow-wrap:anywhere}
.mural-answer-reveal{background:var(--accent-answer-bg);border:1px solid var(--accent-answer-border);border-left:4px solid #5e9bcc;border-radius:10px;min-width:0;overflow:hidden}
.mural-answer-reveal summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:9px;min-height:58px;padding:10px}
.mural-answer-reveal summary::-webkit-details-marker{display:none}
.mural-answer-reveal summary b{display:block;font-size:12px;color:var(--accent-answer-ink)}
.mural-answer-reveal summary small{display:block;color:#4e718c;margin-top:4px;font-size:11px;line-height:1.4}
.mural-reveal-icon{color:#2d6490;font-size:19px;font-weight:800;flex:0 0 auto}
.mural-answer-reveal[open] .mural-reveal-icon{transform:rotate(180deg)}
.mural-answer-body{border-top:1px solid #b9d5ec;padding:10px 12px;background:#f2f8ff}
.mural-answer-body p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.72;margin:0;color:#26495e}
.mural-cell-like{display:flex;justify-content:flex-start}
.mural-answer-cell .thread-feedback{margin:0;padding:9px 10px}
.mural-answer-cell .comment-zone{margin-top:0;padding-top:7px;border-top:1px solid #e6e9e1}
.mural-answer-cell .comment-zone .comment-title{color:#624d81}
.mural-objective-cell{background:#f7faf3;justify-content:space-between}
.mural-objective-state{display:inline-block;border:1px solid transparent;border-radius:999px;padding:7px 9px;font-size:11px;font-weight:800;text-align:center}
.mural-objective-state.correct{background:#deefdf;border-color:#bcdcbf;color:#26673c}
.mural-objective-state.incorrect{background:#fff0eb;border-color:#e9bbb0;color:#9e4737}
.mural-objective-state.pending{background:#f4f0e4;color:#777052}
.mural-answer-cell.is-unanswered{background:#f4f5f1;color:#708276}
.mural-cell-empty{padding:17px 6px;border:1px dashed #d0d8cd;border-radius:9px;font-size:11px;text-align:center;color:#87918b}
.mural-answer-reveal summary:focus-visible,.mural-overall-accordion summary:focus-visible{outline:3px solid #4d84b3;outline-offset:2px}
@media(max-width:1100px){.mural-member-roster,.mural-question-answers{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.mural-member-roster,.mural-question-answers{grid-template-columns:minmax(0,1fr);gap:8px}.mural-question-block{padding:10px}.mural-member-roster{gap:8px}.mural-member-overview{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}.mural-roster-grade{font-size:20px}.mural-overall-accordion{grid-column:1/-1}.mural-answer-cell{padding:9px}.personal-feedback-head{align-items:start}.personal-feedback-score{font-size:16px;padding:8px}}


/* V14 — hierarchy, mobile navigation, activity reader and editor */
.hero-reference{color:#ffdf9d;font-size:17px!important;font-weight:800;margin:4px 0 15px!important;letter-spacing:.015em}
.home-prayer-action{display:flex;gap:10px;align-items:center;flex-wrap:wrap;background:#e6f2e4;padding:12px 14px;border:1px solid #c9dec5;border-radius:15px}
.home-prayer-action .btn:disabled{background:#cedbd0;color:#47634d;opacity:1}
.bulletin{background:#fff0d4!important;border:2px solid #e6c17c!important;color:#44341f;box-shadow:0 10px 23px #9d712e14}
.bulletin h2,.bulletin h3{color:#653b16!important;font-size:clamp(23px,3vw,29px)!important}
.bulletin p{font-size:clamp(16px,2vw,19px)!important;line-height:1.85!important;color:#4a3520!important;white-space:pre-wrap}
.bulletin .eyebrow{color:#83531d}
.admin-filter-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:17px 0}
.admin-filter-row label{min-width:0}.admin-filter-row input,.admin-filter-row select{margin-top:6px}
.chapter-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.chapter-chip{border:1px solid #85ad8f;border-radius:999px;background:#e1f1e4;color:#2b593b;padding:7px 10px;font-size:12px;font-weight:700}
.chapter-chip button{border:0;background:transparent;color:#a34b4b;margin-left:7px;font-weight:800}
.rich-toolbar{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:8px}.rich-preview{background:#fafbf7;padding:13px;border:1px dashed #a5b8a6;border-radius:12px;margin-top:8px;font-size:15px;line-height:1.7;min-height:32px}
.rich-preview h3,.rich-text h3{font-family:var(--font-editorial);color:#345d42}.rich-text p{white-space:pre-wrap;line-height:1.8}.rich-text blockquote{border-left:4px solid #cda765;background:#fff5e4;padding:8px 13px;margin:9px 0}
.bible-reader-body{background:#fefcf6;border:1px solid #e3e8dc;border-radius:14px;padding:16px;max-height:310px;min-height:180px;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;line-height:1.9}
.bible-verse{display:flex;align-items:flex-start;gap:10px;padding:5px 3px;border-bottom:1px solid #eef0e9}.bible-verse strong{color:#719a76;min-width:21px;font-size:12px}
.bible-verse-text{font-family:Georgia,serif;flex:1;min-width:0}.bible-reader-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:12px 0}
.summary-photo-status{padding:12px;background:#edf5f1;border-radius:12px;margin:10px 0}.summary-review-card{background:#fffdf6;border:1px solid #e6dfca;border-radius:13px;padding:14px;margin:11px 0}.summary-review-card img{max-width:100%;max-height:290px;object-fit:contain;border-radius:12px;background:#f3f3ee}.summary-review-card textarea{width:100%;min-height:85px}.summary-label{font-size:12px;font-weight:700;margin-top:10px}
.more-nav-panel{display:none}.nav-more{display:none!important}
.journey-scene{min-height:420px!important;overflow:hidden!important}.journey-people{display:flex!important;flex-wrap:wrap!important;align-items:flex-end!important;align-content:flex-end!important;justify-content:center!important;height:190px!important;max-height:190px!important;gap:4px!important;overflow:visible!important}
.journey-person .avatar{width:43px!important;height:43px!important}.journey-person{max-width:70px}.journey-stops{min-height:390px!important;padding-top:0!important}.journey-stop{grid-template-rows:200px 58px minmax(82px,auto)!important}
#qa .mural-main{margin:0}.qa-shortcut{margin:10px 0}
@media(max-width:900px){
 .sidebar .nav{grid-template-columns:repeat(5,minmax(0,1fr))!important}
 .nav-secondary{display:none!important}.nav-more{display:flex!important}
 .more-nav-panel:not(.hidden){display:flex;position:fixed;bottom:calc(74px + env(safe-area-inset-bottom,0px));left:12px;right:12px;background:#fffdf7;border-radius:18px;border:1px solid #d6e0d3;box-shadow:0 10px 30px #15322133;padding:13px;gap:8px;flex-wrap:wrap;z-index:15}
 .admin-filter-row{grid-template-columns:1fr}
 .admin-mode .nav{grid-template-columns:repeat(4,minmax(0,1fr))!important}.journey-scene{min-height:425px!important;overflow:hidden!important}.journey-stops{min-height:400px!important;padding-top:0!important}.journey-stop{grid-template-rows:215px 56px minmax(84px,auto)!important}.journey-people{height:210px!important;max-height:210px!important;gap:2px!important}.journey-person .avatar{width:41px!important;height:41px!important}
}
@media(max-width:390px){.journey-person .avatar{width:38px!important;height:38px!important}.journey-person-name{font-size:9px!important}.journey-people{gap:1px!important}}

/* Estrutura e telas do Coram Deo */
/* V15.5: foto ORIGINAL do grupo, sem crop ou transformação facial */
.auth{grid-template-columns:minmax(0,1.15fr) minmax(365px,.85fr);background:#f1ede3;gap:0;align-items:stretch}
.auth-art{min-height:100dvh;padding:clamp(22px,3.6vw,54px);gap:15px;justify-content:flex-start;background:linear-gradient(150deg,#193c31,#2e6048);}
.auth-art:after{opacity:.045}.auth-art:before{inset:13px}



.auth-art-main{max-width:750px;margin:10px 0 0}.auth-art h2{font-size:clamp(36px,4.2vw,66px);line-height:1.02}
.auth-art-main p{max-width:590px;margin:8px 0 0;line-height:1.55;font-size:13px}.auth-art-kicker{margin-bottom:6px}
.auth-art-verse{margin-top:auto;font-size:18px;padding-top:18px}
.authbox{width:min(460px,calc(100% - 54px));align-self:center;margin:30px auto;padding:clamp(24px,3vw,40px);box-shadow:0 24px 70px #1f473024;border:1px solid #e4dfd3}
.authbox h1{font-size:clamp(35px,3.3vw,47px);letter-spacing:-.6px}.authbox .btn{min-height:48px}
@media(max-width:900px){
.auth{display:flex;flex-direction:column;min-height:100dvh}
.auth-art{min-height:0;padding:18px 18px 16px;gap:8px}
.auth-art:before{inset:7px}
.auth-brand{font-size:17px}



.auth-art-main{text-align:center;width:100%;margin:4px auto 0}
.auth-art-main .auth-art-kicker{font-size:9px;letter-spacing:1.5px}
.auth-art h2{font-size:clamp(30px,7vw,43px);line-height:1.05}
.auth-art-verse,.auth-art-main p{display:none}
.authbox{width:min(520px,calc(100% - 28px));margin:18px auto 25px;padding:24px 20px}
}
@media(max-width:390px){.auth-art{padding:12px 12px 11px}.auth-brand{font-size:15px}.authbox{padding:21px 17px}.authbox h1{font-size:35px}}

/* Estrutura e telas do Coram Deo */
.v18-legacy-reports{margin-top:15px;border:1px solid #e4e0d7;border-radius:12px;background:#f6f4ef;padding:10px 12px}
.v18-legacy-reports>summary{list-style:none;display:flex;gap:12px;justify-content:space-between;align-items:center;cursor:pointer;padding:10px;color:#58726d;font-size:13px}
.v18-legacy-reports>summary::-webkit-details-marker{display:none}
.v18-legacy-reports>summary:after{content:'+';color:#b57a5b;font-size:21px;font-weight:500}
.v18-legacy-reports[open]>summary:after{content:'−'}
.v18-legacy-reports>summary small{font-size:11px;color:#837e75;margin-left:auto}
.v18-legacy-reports>.card{margin:12px 0 0;box-shadow:none}
@media(max-width:600px){.v18-legacy-reports>summary{align-items:flex-start;flex-wrap:wrap}.v18-legacy-reports>summary small{margin:0}}

/* V17.1 — Relatório qualitativo. Paleta contida: areia, terracota e azul-petróleo. */
.v18-qa-report{background:linear-gradient(120deg,#fffdf9,#f7f4ec);border:1px solid #e5ded1;overflow:hidden;padding:25px}
.v18-qa-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:22px}
.v18-qa-heading h2{font:650 26px/1.18 var(--font-editorial);color:#355a55;margin:8px 0 8px}
.v18-qa-heading p{margin:0;font-size:13px;color:#6e746e;max-width:62ch;line-height:1.6}
.v18-qa-mark{width:55px;height:55px;border-radius:12px;background:#e7edef;display:grid;place-items:center;font-size:26px;flex-shrink:0}
.v18-qa-filters{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.v18-qa-filters .field{margin:0;min-width:0}.v18-qa-filters label{font-size:12px;font-weight:750}
.v18-qa-filters select{margin-top:7px;width:100%}
.v18-chapter-heading{margin:22px 0 12px;display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.v18-chapter-heading h3{font-size:15px;color:#3e5f5b;margin:0 0 3px}.v18-chapter-heading small{color:#8a8276;font-size:11px}
.v18-chapter-heading .row{gap:5px}.v18-chapter-heading button{font-size:11px}
.v18-chapter-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(108px,1fr));gap:7px;max-height:210px;overflow-y:auto;padding:9px;background:#f4f1e9;border:1px solid #e5dfd5;border-radius:11px}
.v18-chapter-chip{display:flex;align-items:center;gap:7px;cursor:pointer;background:#fffdf8;border:1px solid #e1dccc;border-radius:7px;padding:9px 8px;min-height:42px;font-size:12px;transition:border-color .12s,background .12s}
.v18-chapter-chip:has(input:checked){border-color:#578779;background:#e8f1ed}
.v18-chapter-chip:focus-within{outline:2px solid #6b9686;outline-offset:1px}
.v18-chapter-chip input{width:15px;height:15px;accent-color:#386e61;flex-shrink:0}
.v18-chapter-number{font-size:13px;font-weight:850;color:#415954}.v18-chapter-chip small{color:#827f77;margin-left:auto;text-align:right;font-size:9px;line-height:1.2}
.v18-chapter-empty{color:#827e75;font-size:12px;line-height:1.5;padding:14px}
.v18-feedback-control{display:flex;gap:12px;align-items:flex-start;background:#edf2f4;border-left:3px solid #6e919c;border-radius:8px;padding:14px;margin:18px 0;cursor:pointer;color:#3e5a61}
.v18-feedback-control input{accent-color:#517a87;width:18px;height:18px;flex:0 0 18px;margin-top:2px}
.v18-feedback-control span{display:grid;gap:5px}.v18-feedback-control b{font-size:13px}.v18-feedback-control small{font-size:11px;line-height:1.55;color:#5f777d}
.v18-report-actions{display:flex;gap:7px;flex-wrap:wrap}.v18-report-actions button{min-height:39px;font-size:12px}.v18-report-actions button:disabled{opacity:.45;cursor:not-allowed}
.v18-qa-status{font-size:12px;color:#476e65;min-height:17px;margin:13px 0 0;line-height:1.5}.v18-qa-status.error{color:#b45242}
.v18-privacy-tip{font-size:11px;color:#897969;line-height:1.5;margin:4px 0 0}
.v18-report-results{border-top:1px solid #e5ddd0;margin-top:23px;padding-top:21px}
.v18-preview-top{display:flex;justify-content:space-between;gap:10px;align-items:start;flex-wrap:wrap}.v18-preview-top h3{font:650 22px/1.2 Georgia,serif;color:#435a51;margin:7px 0 4px}
.v18-preview-top p{font-size:12px;margin:0}.v18-stamp{color:#7d6553;font-size:10px;font-weight:750;letter-spacing:.03em;background:#f8eadc;padding:7px 9px;border-radius:6px}
.v18-report-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:16px 0}.v18-report-metrics>div{display:grid;gap:2px;background:#fff;border-radius:8px;border:1px solid #ebe5db;padding:12px}.v18-report-metrics strong{font-size:23px;color:#517c71;line-height:1.1}.v18-report-metrics span{font-size:10px;color:#827c71}
.v18-study-result{margin:10px 0;border:1px solid #e3ddd2;background:white;border-radius:9px;overflow:hidden}.v18-study-result>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px}.v18-study-result>summary::-webkit-details-marker{display:none}.v18-study-result>summary b{font-size:13px;color:#385e58}.v18-study-result>summary small{display:block;color:#8b8279;font-size:11px;margin-top:4px}.v18-chevron{font-size:20px;color:#bc805d}.v18-study-result[open] .v18-chevron{transform:rotate(45deg)}
.v18-study-detail{padding:14px;border-top:1px solid #efe9de;font-size:12px}.v18-study-detail>p{font-size:11px;color:#7f7b71}.v18-member-result{margin:8px 0;border:1px solid #e5e8e6;border-radius:7px;background:#f8fbfa}.v18-member-result>summary{cursor:pointer;padding:10px 12px;display:flex;justify-content:space-between;gap:8px}.v18-member-result>summary b{color:#43645d}.v18-member-result>summary span{color:#7d8984;font-size:11px}
.v18-member-detail{padding:5px 11px 10px}.v18-answer-preview{padding:11px 0;border-bottom:1px solid #e7eae5;display:grid;gap:4px}.v18-answer-preview small{font-size:10px;color:#9a795f;white-space:pre-wrap}.v18-answer-preview b{font-size:12px;color:#435855;line-height:1.5}.v18-answer-preview p,.v18-feedback-preview p{margin:0;color:#68726f;font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.v18-feedback-preview{background:#f2f0f9;border-left:3px solid #a394bd;padding:10px 12px;border-radius:5px;margin:9px 0}.v18-feedback-preview b{font-size:11px;color:#685879}
@media(max-width:600px){.v18-qa-report{padding:17px 12px}.v18-qa-heading h2{font-size:23px}.v18-qa-mark{width:42px;height:42px;font-size:22px}.v18-qa-filters{grid-template-columns:1fr}.v18-chapter-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.v18-chapter-chip{gap:4px;padding:8px 5px}.v18-report-actions button{flex:1 1 45%;font-size:11px}.v18-report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v15Style */
.character-svg{display:block;width:100%;height:100%;overflow:visible;transform-origin:center bottom;filter:drop-shadow(0 3px 2px #203b2520)}
.avatar .character-svg{image-rendering:auto!important;shape-rendering:geometricPrecision}
.avatar{overflow:visible!important}
.avatar.big{width:150px!important;height:192px!important;background:transparent!important;border:0!important;box-shadow:none!important}
#avatar-preview{width:170px!important;height:216px!important;background:linear-gradient(160deg,#e5f2e9,#f4e7d2)!important;border-radius:24px!important;padding:10px;box-shadow:0 12px 35px #233a2c19!important}
.mini-portrait .character-svg{height:75px!important;width:65px!important}
.journey-person .avatar{width:76px!important;height:95px!important;background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important;animation:none!important}
.journey-person{animation:none!important;max-width:100%!important;min-width:0;display:flex!important;flex-direction:column;align-items:center;gap:0!important;justify-content:end}
.journey-person-name{font-size:11px!important;font-weight:800!important;color:#244631;background:#fff9edeb;border-radius:9px;padding:2px 3px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.journey-person .character-svg{max-height:100%;width:100%;filter:drop-shadow(0 4px 3px #192f2945)}
.journey-person .character-svg .character-eyes{transform-origin:center center;animation:v15-blink 6s infinite}
@keyframes v15-blink{0%,94%,98%,100%{transform:scaleY(1)}96%{transform:scaleY(.12)}}
.character-svg .character-head{transform-origin:60px 79px}.character-svg .arm-left{transform-origin:42px 91px}.character-svg .arm-right{transform-origin:78px 91px}
.character-svg .leg-left{transform-origin:48px 115px}.character-svg .leg-right{transform-origin:72px 115px}
.character-svg .character-body{transform-origin:60px 133px}.character-svg .character-prop,.character-svg .character-sparkle{pointer-events:none}
.character-svg.motion-pray .character-body{animation:v15-kneel 3.3s ease both}
.character-svg.motion-pray .character-arm{opacity:0}.character-svg.motion-pray .prop-pray{animation:v15-prop-show 3.3s ease both}
.character-svg.motion-pray .arm-left{animation:v15-pray-left 3.3s ease both}.character-svg.motion-pray .arm-right{animation:v15-pray-right 3.3s ease both}
.character-svg.motion-pray .character-head{animation:v15-head-bow 3.3s ease both}.character-svg.motion-pray .leg-left{animation:v15-leg-left 3.3s ease both}.character-svg.motion-pray .leg-right{animation:v15-leg-right 3.3s ease both}
.character-svg.motion-read .arm-left{animation:v15-read-left 3.3s ease both}.character-svg.motion-read .arm-right{animation:v15-read-right 3.3s ease both}.character-svg.motion-read .prop-book{animation:v15-prop-show 3.3s ease both}.character-svg.motion-read .character-head{animation:v15-head-bow 3.3s ease both}
.character-svg.motion-guitar .arm-left{animation:v15-guitar-left 3.3s ease both}.character-svg.motion-guitar .arm-right{animation:v15-strum 3.3s ease both}.character-svg.motion-guitar .prop-guitar{animation:v15-prop-show 3.3s ease both}
.character-svg.motion-wave .arm-right{animation:v15-wave 3.3s ease both}.character-svg.motion-wave .character-head{animation:v15-nod 3.3s ease both}
.character-svg.motion-thumb .arm-right{animation:v15-thumb 3.3s ease both}.character-svg.motion-thumb .prop-thumb{animation:v15-prop-show 3.3s ease both}
.character-svg.motion-praise .arm-right{animation:v15-praise-right 3.3s ease both}.character-svg.motion-praise .arm-left{animation:v15-praise-left 3.3s ease both}.character-svg.motion-praise .character-head{animation:v15-nod 3.3s ease both}
.character-svg.motion-celebrate .arm-right{animation:v15-praise-right 3.3s ease both}.character-svg.motion-celebrate .arm-left{animation:v15-praise-left 3.3s ease both}.character-svg.motion-celebrate .character-body{animation:v15-jump 3.3s ease both}.character-svg.motion-celebrate .character-sparkle{animation:v15-prop-show 3.3s ease both}
@keyframes v15-kneel{0%,10%,93%,100%{transform:translateY(0)}22%,78%{transform:translateY(15px)}}
@keyframes v15-pray-left{0%,10%,93%,100%{transform:rotate(0)}23%,77%{transform:rotate(-68deg)}}
@keyframes v15-pray-right{0%,10%,93%,100%{transform:rotate(0)}23%,77%{transform:rotate(68deg)}}
@keyframes v15-leg-left{0%,10%,93%,100%{transform:rotate(0)}23%,77%{transform:rotate(35deg)}}
@keyframes v15-leg-right{0%,10%,93%,100%{transform:rotate(0)}23%,77%{transform:rotate(-40deg)}}
@keyframes v15-head-bow{0%,10%,93%,100%{transform:rotate(0)}25%,76%{transform:rotate(13deg)}}
@keyframes v15-read-left{0%,10%,93%,100%{transform:rotate(0)}23%,76%{transform:rotate(-48deg)}}
@keyframes v15-read-right{0%,10%,93%,100%{transform:rotate(0)}23%,76%{transform:rotate(48deg)}}
@keyframes v15-guitar-left{0%,10%,93%,100%{transform:rotate(0)}23%,76%{transform:rotate(65deg)}}
@keyframes v15-strum{0%,10%,93%,100%{transform:rotate(0)}23%,38%,57%,75%{transform:rotate(-48deg)}31%,47%,66%{transform:rotate(-67deg)}}
@keyframes v15-prop-show{0%,10%,90%,100%{opacity:0}22%,78%{opacity:1}}
@keyframes v15-wave{0%,10%,93%,100%{transform:rotate(0)}22%,36%,53%,70%{transform:rotate(-149deg)}29%,45%,61%,78%{transform:rotate(-128deg)}}
@keyframes v15-thumb{0%,10%,93%,100%{transform:rotate(0)}22%,78%{transform:rotate(-135deg)}}
@keyframes v15-nod{0%,10%,93%,100%{transform:rotate(0)}25%,40%,55%,70%{transform:rotate(-9deg)}33%,48%,63%,78%{transform:rotate(6deg)}}
@keyframes v15-praise-right{0%,10%,93%,100%{transform:rotate(0)}24%,80%{transform:rotate(-156deg)}}
@keyframes v15-praise-left{0%,10%,93%,100%{transform:rotate(0)}24%,80%{transform:rotate(156deg)}}
@keyframes v15-jump{0%,10%,36%,58%,93%,100%{transform:translateY(0)}28%,50%,75%{transform:translateY(-11px)}}
.v15-journey-scene{position:relative;overflow:hidden!important;min-height:475px!important;background:#dce9e2!important;padding:8px 5px!important}
.v15-journey .journey-stops{z-index:auto!important;min-height:450px!important;height:auto!important;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;align-items:stretch}
.v15-journey .journey-stop{isolation:auto!important;z-index:auto!important;display:grid;grid-template-rows:minmax(290px,1fr) 61px minmax(82px,auto)!important;padding:6px 3px 6px;isolation:isolate;min-width:0;position:relative;overflow:hidden;border-radius:14px}
.v15-journey .journey-backdrop{position:absolute;z-index:0!important;inset:0;overflow:hidden;pointer-events:none}
.v15-journey .scene-art{display:block;position:absolute;width:100%;height:100%;inset:0;max-width:unset;object-fit:cover}
.v15-journey .journey-stop:after{content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(180deg,#fff7dc08 0%,#fff8e83c 52%,#fff9efc9 85%)}
.v15-journey .journey-people{position:relative!important;z-index:4!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));align-content:end!important;align-items:end!important;justify-items:center;gap:3px!important;height:100%!important;max-height:unset!important;width:100%!important;overflow:visible!important;padding-bottom:10px}
.v15-journey .v15-person-wrap{position:relative;display:flex;justify-content:center;min-width:0;max-width:100%}
.v15-journey .journey-pin-wrap,.v15-journey .journey-label{z-index:5!important;position:relative!important}
.v15-journey .journey-road{z-index:3!important;pointer-events:none;top:40%!important;opacity:.95}
.v15-journey .journey-label{min-width:0;max-width:100%;background:#fffaf0ed!important;border-radius:10px;padding:4px 3px!important;overflow-wrap:anywhere}
.v15-journey .journey-label strong{font-size:11px;line-height:1.18}.v15-journey .journey-label small{font-size:10px}
.v15-journey .journey-intro{color:#42624e}
.v15-motion-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:9px}
.v15-move-option{display:grid;grid-template-columns:auto 40px 1fr;align-items:center;gap:8px;background:#f1f6ee;border:1px solid #cddfcd;border-radius:13px;padding:10px;cursor:pointer;margin:0}
.v15-move-option:has(input:checked){border-color:#689a76;background:#e2f0df}
.v15-move-option input{accent-color:#3c7750;transform:scale(1.15)}.v15-move-icon{font-size:27px}.v15-move-option b{display:block;font-size:12px}.v15-move-option small{display:block;color:#5a6b5b;font-size:11px;line-height:1.35;margin-top:4px}
#avatar-controls{max-height:1000px;overflow:auto;padding-right:6px}
.v15-scene-preview{height:155px;border-radius:13px;overflow:hidden;border:1px solid #b9cdb9}.v15-scene-preview svg{width:100%;height:100%}
.v15-preview-full{display:grid;gap:12px}.v15-preview-full h2{margin:4px 0}.v15-preview-full h3{margin:15px 0 3px}.v15-preview-read{max-height:225px;overflow-y:auto;border-radius:12px;background:#f2f7f0;border:1px solid #d9e6d9;padding:12px}.v15-preview-read p{margin:0 0 10px;line-height:1.65}.v15-preview-chapter{margin:4px 0}.v15-preview-image{width:100%;max-height:240px;object-fit:contain;border-radius:13px;background:#f3f4ee}.v15-preview-question{border:1px solid #dfe9df;background:#f7faf5;border-radius:12px;padding:13px;display:grid;gap:9px}.v15-preview-option{padding:7px;border-bottom:1px solid #e8eee3}.v15-preview-scene{height:160px;border-radius:12px;overflow:hidden;position:relative;margin-bottom:12px}.v15-preview-scene .scene-art{width:100%;height:100%}.v15-preview-scene small{position:absolute;bottom:7px;left:10px;background:#fffdeb;padding:4px 8px;border-radius:9px;font-weight:700}
#v14-preview-modal{z-index:160!important}#chapter-modal{z-index:70!important}
.journey-thought-card .avatar{width:49px;height:65px;background:none;border:0;overflow:visible}
@media(max-width:900px){.v15-journey-scene{min-height:550px!important}.v15-journey .journey-stops{min-height:525px!important}.v15-journey .journey-stop{grid-template-rows:minmax(370px,1fr) 61px 90px!important;padding:5px 1px}.v15-journey .journey-people{grid-template-columns:minmax(0,1fr);grid-auto-rows:85px;gap:1px!important;justify-items:center;align-content:end!important;padding-bottom:9px}.journey-person .avatar{width:61px!important;height:70px!important}.journey-person-name{font-size:9px!important}.v15-journey .journey-road{top:46%!important}.v15-journey .journey-label strong{font-size:10px}.v15-journey .journey-label small{font-size:9px}}
@media(max-width:365px){.v15-journey-scene{min-height:535px!important}.journey-person .avatar{width:55px!important;height:66px!important}.v15-journey .journey-people{grid-auto-rows:82px}.v15-journey .journey-stop{grid-template-rows:minmax(358px,1fr) 55px 90px!important}}
@media(prefers-reduced-motion:reduce){.character-svg *{animation:none!important}}

/* v151CSS */
.v151-save-status{font-size:12px;margin:9px 0;color:#47664d;background:#edf5e9;padding:8px 11px;border-radius:10px;line-height:1.4}
.v151-save-status[data-mode="unsaved"]{color:#80501d;background:#fff0d7}
.v151-save-status[data-mode="saving"]{color:#456c7e;background:#e9f3f6}
.v151-summary-inline{margin:16px 0;background:#f7fbf4;border:1px solid #d8e6d4;box-shadow:none;padding:14px}
.v151-photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(112px,1fr));gap:10px;margin:12px 0}
.v151-photo-card{border:1px solid #d4e4d5;background:#f6faf5;border-radius:12px;padding:7px;display:grid;gap:6px}
.v151-photo-card img{width:100%;height:135px;object-fit:contain;border:1px solid #d6ded3;background:#fff;border-radius:9px;cursor:zoom-in}
.v151-photo-card small{color:#576b59;font-size:11px;text-align:center}
.v151-photo-card .btn{font-size:11px;padding:7px}
.v151-photo-message{font-size:12px;color:#48674f}
.v151-bulletin-thread{border-top:1px solid #dce7d9;margin-top:15px;padding-top:11px;display:grid;gap:10px}
.v151-bulletin-thread h4{font-size:14px;margin:0;color:#304c39}
.v151-bulletin-comment{border-left:3px solid #a0baa4;border-radius:10px;background:#ffffffba;padding:10px;display:grid;gap:6px}
.v151-bulletin-comment.v151-reply{margin-left:18px;border-left-color:#dfbf84;background:#fffaf1}
.v151-bulletin-comment header{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:12px}
.v151-bulletin-comment p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}
.v151-bulletin-comment .v151-actions{display:flex;gap:7px;flex-wrap:wrap}
.v151-bulletin-comment button,.v151-bulletin-compose button{font-size:12px;padding:6px 9px}
.v151-bulletin-compose textarea{min-height:68px;max-height:150px;resize:vertical;font-size:14px}
.v151-bible-tools{display:flex;gap:6px;flex-wrap:wrap;align-items:center;background:#eef4e8;border:1px solid #cdddcf;border-radius:12px;padding:8px;margin-top:9px}
.v151-bible-tools button{font-size:12px;padding:8px 11px;min-width:37px;background:white;border:1px solid #bacbbb;border-radius:8px;color:#294d37;cursor:pointer}
.v151-bible-tools button:focus-visible{outline:2px solid #5d8766}
.v151-bible-tools .v151-bible-active{background:#315c41;color:#fff}
.v151-bible-rich{border:1px solid #b8cbb6;border-radius:12px;background:#fffffd;min-height:175px;max-height:390px;overflow-y:auto;padding:13px;display:grid;align-content:start;gap:6px;line-height:1.7;font-size:16px}
.v151-bible-line{display:flex;gap:9px;align-items:baseline;border-bottom:1px dotted #e3ece0;padding:2px 0}
.v151-bible-line.centered{text-align:center;display:block}
.v151-bible-num{font-weight:800;color:#376b4b;user-select:none;display:inline-block;min-width:23px;vertical-align:top}
.v151-bible-body{flex:1;min-height:23px;outline:0;overflow-wrap:anywhere}
.v151-bible-body:focus{background:#f6fbea;box-shadow:0 0 0 2px #bddac4;border-radius:4px}
.v151-bible-edit-help{color:#59705d;font-size:12px;margin:6px 0}
.bible-verse.v151-centered,.v15-preview-read .v151-centered{text-align:center}
.bible-verse.v151-centered{display:block}
.v151-centered .bible-verse-text{display:inline}
@media(max-width:500px){.v151-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v151-bulletin-comment.v151-reply{margin-left:9px}.v151-bible-tools button{min-width:34px;padding:8px}}

/* v152Style */
.v152-notebook .v152-notebook-head{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:flex-start}
.v152-notebook .v152-notebook-head p{margin:0}
.v152-notebook-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 12px}
.v152-notebook-filters label{font-weight:700;min-width:0}
.v152-notebook-filters select{margin-top:7px}
.v152-notebook-entry{background:#fffdf9;border:1px solid #dce7d8;border-radius:15px;padding:16px;margin:10px 0}
.v152-notebook-entry h4{margin:3px 0 7px;font-size:17px;color:#2b5540;font-family:var(--font-editorial)}
.v152-notebook-meta{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin:8px 0}
.v152-notebook-meta .tag{font-size:10px}
.v152-notebook-entry details{margin:10px 0;border-radius:11px;background:#f4f8f1;padding:12px;border:1px solid #e3eadd}
.v152-notebook-entry summary{font-weight:800;color:#325c44;cursor:pointer}
.v152-notebook-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;margin:12px 0 3px;font-size:14px;color:#31483b}
.v152-notebook-entry .v152-feedback{background:#fff3db;border-left:3px solid #cfae72;padding:9px;margin-top:10px;border-radius:6px;white-space:pre-wrap}
.v152-animated-avatar .character-svg{image-rendering:auto!important;shape-rendering:geometricPrecision}
@media(max-width:570px){.v152-notebook-filters{grid-template-columns:1fr}.v152-notebook-entry{padding:12px}}
@media(prefers-reduced-motion:reduce){.v15-animated .character-svg .character-eyes{animation:none!important}}

/* v153CSS */
.v153-head{background:linear-gradient(130deg,#2a5740,#537c61);color:#fffdf4;border-radius:17px;padding:22px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}
.v153-head .eyebrow,.v153-head p{color:#e8f1e4}.v153-head h2{margin:8px 0;color:white;font:500 35px Georgia,serif}.v153-wallet{display:block;color:#fff2bf;font:700 26px var(--font-body)}
.v153-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.v153-item{min-width:0;border-radius:15px;border:1px solid #d9e4d6;background:#fffdf8;padding:16px;display:flex;flex-direction:column;gap:9px}
.v153-emoji{font-size:39px;line-height:1.2;background:#f2f6ec;border-radius:13px;width:66px;height:66px;display:grid;place-items:center}
.v153-item h3{font:600 19px Georgia,serif;color:#294d3b;margin:0}.v153-item small{color:#67776b;line-height:1.5;flex:1}.v153-cost{font-weight:900;color:#93672d;font-size:16px}
.v153-item .btn{width:100%;padding:11px;min-height:40px;font-size:12px}.v153-item button:disabled{opacity:.55;cursor:not-allowed}
.v153-subheading{font:500 26px Georgia,serif;color:#294c38;margin:16px 0 11px}.v153-owned{font-size:11px;color:#416f51;background:#e5f3e2;border-radius:40px;padding:4px 9px;font-weight:800}
.v153-pet-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.v153-hpbar{height:11px;border-radius:20px;background:#e1e7dc;overflow:hidden;margin-top:6px}.v153-hpbar span{display:block;height:100%;border-radius:20px;background:#63a976;transition:width .3s}.v153-hpbar.low span{background:#cd9053}
.v153-inventory-preview{display:flex;gap:20px;align-items:center;justify-content:center;min-height:205px;background:#f0f5ec;border:1px solid #d5e1d3;border-radius:15px;padding:13px}.v153-inventory-preview .avatar{width:150px;height:190px;overflow:visible}.v153-inventory-preview .avatar svg{width:150px;height:190px}
.v153-rules{border:1px solid #e7dfce;background:#faf8f1;border-radius:13px;padding:14px;font-size:12px;line-height:1.7;color:#4d5f50}
.v153-quick{display:flex;gap:9px;flex-wrap:wrap}.v153-quick button{flex:1 1 140px}
.v153-feature{border:1px solid #d4dfd1;background:#f5f9ef;border-radius:12px;padding:18px;color:#335940;text-align:left;font-weight:800;cursor:pointer}
@media(max-width:850px){.v153-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:570px){.v153-pet-card{grid-column:span 2}.v153-pet-card .v153-emoji{flex-shrink:0}}
@media(max-width:440px){.v153-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.v153-item{padding:12px;gap:7px}.v153-emoji{font-size:31px;width:54px;height:54px}.v153-item h3{font-size:17px}.v153-head{padding:17px}.v153-head h2{font-size:30px}}

/* v154Style */
.v154-toast{position:fixed;top:70px;left:50%;transform:translateX(-50%);max-width:min(92vw,480px);z-index:9000;border-radius:13px;padding:12px 18px;background:#265b40;color:white;box-shadow:0 8px 26px #162a243b;font-weight:750;text-align:center;animation:v154-toast-in .25s ease-out}
@keyframes v154-toast-in{from{opacity:0;transform:translate(-50%,-15px)}to{opacity:1;transform:translate(-50%,0)}}
.v154-summary-read{border:1px solid #bad3bd;background:#f4fbf1;padding:13px;border-radius:12px;margin-top:10px}
.v154-summary-read .v154-check{font-size:13px;color:#23633a;font-weight:850}
.v154-summary-read p{white-space:pre-wrap;overflow-wrap:anywhere}
.v154-summary-read details{margin-top:10px;border-top:1px solid #cee0cb;padding-top:10px}
.v154-summary-read details summary{font-weight:750;color:#315b41;cursor:pointer}
.v154-summary-read .v154-review-controls{padding:12px 0 0}
.v154-summary-read .v154-review-controls label{display:block;font-weight:750;margin:10px 0 4px}
.v154-xp-panel{border:1px solid #d0ddce;background:linear-gradient(140deg,#fcfdf9,#f1f8ee);border-radius:17px;padding:20px}
.v154-xp-panel h3{font:500 27px Georgia,serif;color:#284e38;margin:7px 0 10px}
.v154-xp-panel .v154-xp-fields{display:grid;grid-template-columns:1fr 150px;gap:10px}
.v154-xp-history{margin-top:14px;display:grid;gap:6px}
.v154-xp-history article{display:flex;justify-content:space-between;gap:8px;padding:9px;border-radius:8px;background:white;border:1px solid #e0eadb;font-size:12px}
.v154-xp-negative{color:#a13b3b}.v154-xp-positive{color:#287044}
.v154-note{font-size:12px;color:#68796b;line-height:1.6}
.v154-pet-figure{transform-box:fill-box;transform-origin:center bottom;animation:v154-pet-greet 15s ease-in-out infinite}
.v154-pet-rabbit{animation-name:v154-pet-hop}
.v154-pet-owl{animation-name:v154-pet-flap}
.v154-pet-turtle{animation-name:v154-pet-peek}
.v154-pet-fox{animation-name:v154-pet-wiggle}
@keyframes v154-pet-greet{0%,9%,20%,100%{transform:translateY(0) rotate(0deg)}12%{transform:translateY(-3px) rotate(-5deg)}15%{transform:translateY(0) rotate(3deg)}18%{transform:translateY(-2px) rotate(0deg)}}
@keyframes v154-pet-hop{0%,8%,19%,100%{transform:translateY(0) scaleY(1)}11%{transform:translateY(-8px)}14%{transform:translateY(-4px)}17%{transform:translateY(-7px)}}
@keyframes v154-pet-flap{0%,8%,21%,100%{transform:rotate(0deg) translateY(0)}11%{transform:rotate(-12deg) translateY(-4px)}15%{transform:rotate(9deg) translateY(-2px)}18%{transform:rotate(-9deg) translateY(-3px)}}
@keyframes v154-pet-peek{0%,8%,22%,100%{transform:translateX(0)}12%,17%{transform:translateX(3px)}15%{transform:translateX(-1px)}}
@keyframes v154-pet-wiggle{0%,8%,22%,100%{transform:rotate(0deg)}11%,17%{transform:rotate(9deg)}14%,20%{transform:rotate(-8deg)}}
.v154-flag-cloth{transform-box:fill-box;transform-origin:left center;animation:v154-flag-wave 3.8s ease-in-out infinite}
@keyframes v154-flag-wave{0%,100%{transform:skewY(0deg) scaleX(1)}50%{transform:skewY(-3deg) scaleX(.94)}}
@media(max-width:550px){.v154-xp-panel .v154-xp-fields{grid-template-columns:1fr}.v154-xp-history article{flex-direction:column}}
@media(prefers-reduced-motion:reduce){.v154-pet-figure,.v154-flag-cloth{animation:none!important}}

/* v155Css */
.v155-tryon-grid{display:grid;grid-template-columns:minmax(245px,.87fr) minmax(0,1.13fr);gap:20px;margin:16px 0}
.v155-tryon-controls{display:grid;grid-template-columns:1fr 1fr;gap:0 12px;margin-top:12px}
.v155-tryon-stage{background:linear-gradient(160deg,#eff6ee,#e3eddb);border:1px solid #d5e0d0;border-radius:16px;padding:24px 10px;display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:10px;min-width:0}
.v155-tryon-side{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;gap:13px}
.v155-tryon-side .eyebrow{font-size:10px;text-align:center;letter-spacing:.8px}
.v155-tryon-avatar{width:clamp(100px,14vw,185px);height:clamp(150px,20vw,250px);overflow:visible;background:transparent;border:0;display:flex;align-items:center;justify-content:center}
.v155-tryon-avatar svg{width:100%;height:100%;overflow:visible;image-rendering:auto}
.v155-mini-check{grid-column:1/-1;border-top:1px solid #c6d8c4;margin:10px 14px 0;padding-top:14px;display:flex;align-items:center;justify-content:center;gap:11px}
.v155-mini-check .avatar{width:56px;height:65px;flex-shrink:0;overflow:visible;background:#f9fff7}
.v155-mini-check svg{width:100%;height:100%;image-rendering:auto;overflow:visible}
.v155-mini-check b,.v155-mini-check small{display:block}.v155-mini-check small{color:#657c6b;font-size:11px;max-width:230px}
.v155-draft-hint{color:#8a6232;font-size:11px;font-weight:700;line-height:1.5}
@media(max-width:800px){.v155-tryon-grid{grid-template-columns:1fr}.v155-tryon-avatar{width:min(31vw,160px);height:185px}}
@media(max-width:450px){.v155-tryon-controls{grid-template-columns:1fr}.v155-tryon-stage{padding:15px 6px}.v155-tryon-avatar{width:115px;height:170px}}

/* v16Css */
.v16-admin-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}
.v16-admin-metrics>div{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.21);border-radius:13px;padding:13px;min-width:0}
.v16-admin-metrics span{display:block;font-size:12px;line-height:1.5;opacity:.92}.v16-admin-metrics strong{font-size:26px;display:block;overflow-wrap:anywhere}.v16-admin-metrics .v16-next-review{font-size:18px}
.v16-shortcuts,.v16-pending-tabs{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.v16-shortcuts .btn{flex:1 1 150px}.v16-pending-tabs{margin-top:10px}
.v16-page-header{padding-top:24px}.v16-page-header h2{margin:8px 0}
.v16-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.v16-filters label{font-weight:650;font-size:12px}.v16-filters input,.v16-filters select{margin-top:6px}
.v16-review-fold{border:1px solid #d6e3d5;border-radius:14px;background:#fbfdf9;overflow:hidden}.v16-review-fold>summary{padding:17px;cursor:pointer;list-style:none;font-size:14px}.v16-review-fold>summary::-webkit-details-marker{display:none}.v16-review-fold>summary:before{content:'▸';display:inline-block;margin-right:8px;color:#4b8166}.v16-review-fold[open]>summary:before{content:'▾'}.v16-review-fold>summary small{display:block;margin:5px 0 0 23px;font-size:12px;color:#647969}.v16-review-fold-content{padding:0 15px 18px}.v16-review-fold:not([open]) img{display:none}
.v16-collapsible{border:1px solid #d9e4d7;border-radius:16px;background:#f7faf5;padding:0;overflow:hidden}.v16-collapsible>summary{cursor:pointer;list-style:none;padding:17px 19px}.v16-collapsible>summary::-webkit-details-marker{display:none}.v16-collapsible>summary:before{content:'▸';color:#508066;margin-right:9px}.v16-collapsible[open]>summary:before{content:'▾'}.v16-collapsible>summary small{display:block;color:#657c6c;font-size:12px;margin:5px 0 0 19px}.v16-collapsible-inner{padding:0 10px 14px;display:grid;gap:12px}.v16-collapsible-inner>.card{margin:0}
.v16-pet-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}.v16-pet-choice{display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;text-align:center;background:#f5faf3;border:1px solid #dae5d6;border-radius:14px;padding:12px 8px;color:#344d3e;cursor:pointer;min-height:104px}.v16-pet-choice>span{font-size:27px}.v16-pet-choice>b{font-size:13px}.v16-pet-choice>small{font-size:10px;line-height:1.3}.v16-pet-choice.active{outline:2px solid #4d8b69;background:#ebf6e8}.v16-pet-choice:disabled{opacity:.48;cursor:not-allowed}
.v153-pet-art{animation:v16-pet-idle 5.2s ease-in-out infinite;transform-box:fill-box;transform-origin:center bottom}
@keyframes v16-pet-idle{0%,90%,100%{opacity:1;translate:0 0}94%{translate:0 -2px}97%{translate:0 0}}
@media(max-width:740px){.v16-admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.v16-admin-metrics strong{font-size:24px}.v16-filters{grid-template-columns:1fr}.v16-pet-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v17Css */
/* V17: identidade editorial acolhedora, cores funcionais e menos efeitos artificiais */
:root{--v17-clay:#ba7057;--v17-sand:#f6e9da;--v17-blue:#587b89;--v17-blue-light:#e8f0f2;--v17-plum:#796d84}
body{background:var(--bg);letter-spacing:0}
.card{background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:16px}
.card h2,.card h3,.heading{letter-spacing:-.025em}
.card h2{font-family:var(--font-editorial);font-weight:600}
.card h3{font-weight:750}
.section .stack{gap:15px}
.sidebar{background:#304f49}.nav button.active{background:#476e60}
.sidebar .logo{color:#fff8eb}.sidebar .logo small{color:#e9c5a0}
.eyebrow{color:var(--v17-clay);font-weight:800;letter-spacing:1.6px}
.btn{background:#315b51;border-color:#315b51;box-shadow:none}
.btn:hover:not(:disabled){filter:brightness(.96)}
.btn.light{background:#edf1e9;color:#31594b;border-color:#dce6da}
.btn.cream{background:#f4e6d4;color:#533d31;border-color:#f4e6d4}
.tag{background:#f6eee2;color:#776043;border-color:#eadcc7}
#home .hero{background:#f4e6d7;color:#3a443e;border:1px solid #ead6c2;box-shadow:none;min-height:0}
#home .hero:after{display:none}


#home .hero .btn{background:#315e53;color:white;border-color:#315e53}
#home .stats .stat:nth-child(2n),#profile .stats .stat:nth-child(2n){background:#eaf0ef}
#home .stats .stat:nth-child(3n),#profile .stats .stat:nth-child(3n){background:#f9eee3}
#group .group-hero .card:first-child{background:#fffdf8;border-top:4px solid var(--v17-clay)}
#group .group-mini{background:#f2f1ea;border:1px solid #e7e3d7}
#group .group-mini:nth-child(2){background:#eaf0ef;border-color:#d8e5e7}
#group .group-mini:nth-child(3){background:#f7ede3;border-color:#eadbcf}
#group .group-mini strong{color:#3d5f57}
#group 
#group .rank{border-bottom:1px solid #ece8df}
#group .rank-index{color:#a05f48}
.v16-collapsible,.v16-review-fold,.v17-fold{border:1px solid #e6e0d5;background:#fffdfa;border-radius:14px;box-shadow:none}
.v16-collapsible>summary,.v17-fold>summary{background:#f9f4eb}
.v16-collapsible-inner{background:#fffdfa}
.v16-admin-metrics{gap:9px}
.v16-admin-metrics>div{background:#f9f7f1;border:1px solid #e6e0d5;color:#425953}
.v16-admin-metrics>div:nth-child(2){background:#eaf1f0;border-color:#dde8e8}
.v16-admin-metrics>div:nth-child(3){background:#f7ece2;border-color:#efe0d1}
.v16-admin-metrics>div:nth-child(4){background:#f1edf4;border-color:#e6e0e9}
.v16-admin-metrics strong{color:#334d47}.v16-admin-metrics span{color:#6a746f;opacity:1}
#admin .admin-banner{background:#fffdf9;color:#3c514b;border:1px solid #e7e0d3;border-top:4px solid var(--v17-clay);box-shadow:none}
#admin .admin-banner h2{color:#324d45}#admin .admin-banner p{color:#6b716a}
#admin .admin-banner .eyebrow{color:#ab6750}
.v16-page-header,.v17-admin-intro{background:#f5eee5;border-left:4px solid var(--v17-clay)}
.v16-page-header h2,.v17-admin-intro h2{font-family:var(--font-editorial);color:#3c514b}
#study .question-type{background:#e9eef0;color:#587785}
#study .post-question{background:#f7f3ec}
/* Mapa individual: chamada discreta, tipografia e cores suficientes para localizar */
.v17-section-eyebrow{font-size:10px;letter-spacing:1.45px;font-weight:850;color:#a86852;display:flex;align-items:center;gap:8px;text-transform:uppercase}
.v17-kicker-mark{width:8px;height:8px;background:var(--v17-clay);border-radius:50%;display:inline-block;flex:none}
.v17-home-growth{position:relative;background:#fffdf8;border:1px solid #e6d9c9;border-left:4px solid #b86f54;border-radius:13px;padding:15px 18px;box-shadow:0 1px 7px #5143370b}
.v17-home-growth-main{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:12px;margin-top:7px}
.v17-home-growth h3{font:650 21px/1.22 var(--font-editorial);color:#3b4f48;margin:0 0 5px}
.v17-home-growth p{font-size:12px;line-height:1.45;color:#7b7770;margin:0}
.v17-home-growth-list{display:flex;gap:6px;flex-wrap:wrap;max-width:58%;align-items:center}
.v17-mini-point{font-size:11px;color:#6c5651;background:#f9eee8;border:1px solid #f0ddd2;border-radius:6px;padding:6px 9px;font-weight:700}
.v17-home-growth>small{color:var(--muted);display:block;margin-top:7px}
.v17-text-link{font-weight:750;font-size:11px;letter-spacing:.02em;color:#517782;padding:0;background:transparent;border:0;margin-top:11px}
/* Mapa coletivo: boneco em cima, dificuldade embaixo, quatro cartões limpos. */
.v17-group-growth{padding:23px}
.v17-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;flex-wrap:wrap;margin-bottom:20px}
.v17-section-head h2{font:650 26px/1.18 var(--font-editorial);color:#354d47;margin:9px 0 5px}
.v17-section-head p{font-size:13px;color:var(--muted);line-height:1.5;margin:0;max-width:58ch}
.v17-group-count{display:inline-flex;background:#eff0e7;border-radius:6px;color:#686e58;padding:7px 10px;font-size:11px;font-weight:750;white-space:nowrap}
.v17-growth-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.v17-growth-member{background:#faf8f3;border:1px solid #e9e3d9;border-radius:13px;padding:18px 11px 14px;display:flex;align-items:center;flex-direction:column;text-align:center;min-width:0}
.v17-growth-member:nth-child(2){background:#f1f5f4;border-color:#e1e9e9}
.v17-growth-member:nth-child(3){background:#fbf4eb;border-color:#eee3d8}
.v17-growth-member:nth-child(4){background:#f5f2f7;border-color:#e8e2ec}
.v17-member-avatar{width:70px;height:70px;flex:0 0 70px;border:0;background:#fff;border-radius:12px;padding:5px;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 7px #203d3615;overflow:hidden;cursor:pointer}
.v17-member-avatar svg{width:100%;height:100%;image-rendering:pixelated}
.v17-member-name{border:0;background:transparent;padding:11px 0 7px;font-weight:800;font-size:13px;color:#36564d;overflow-wrap:anywhere}
.v17-member-guidance{display:flex;flex-direction:column;gap:7px;align-items:stretch;width:100%;padding-top:8px;border-top:1px solid #e9e5df;min-height:78px}
.v17-guidance-label{font-size:10px;color:#927a66;font-weight:800;letter-spacing:.025em;text-transform:uppercase}
.v17-group-point{font-size:11px;line-height:1.38;color:#4f5e60;display:flex;align-items:flex-start;text-align:left;gap:6px;background:#fffdf9;border:1px solid #ebe6dd;padding:7px 8px;border-radius:7px;overflow-wrap:anywhere}
.v17-small-dot{display:block;flex:0 0 5px;width:5px;height:5px;border-radius:50%;background:#b67759;margin-top:5px}.v17-point-copy{display:grid;gap:3px;min-width:0}.v17-point-copy strong{font-size:10px;line-height:1.4;color:#4b5957;overflow-wrap:anywhere}.v17-point-copy small{font-size:10px;line-height:1.38;color:#737a78;overflow-wrap:anywhere}
.v17-no-points{font-size:11px;color:#8a8881;line-height:1.4}
.v17-member-guidance small{font-size:10px;color:#777b76}
.v17-group-privacy{font-size:11px;line-height:1.4;color:#88877e;margin:16px 0 0}
/* Perfil: observações completas, histórico recolhido */
.v17-profile-point-list{display:grid;gap:10px}
.v17-profile-point{border-left:3px solid #b7775f;padding:10px 14px;background:#fcf7f0;border-radius:0 9px 9px 0}
.v17-profile-point:nth-child(2n){border-color:#668995;background:#f1f6f6}
.v17-profile-point-title{display:flex;align-items:center;flex-wrap:wrap;gap:9px}
.v17-profile-point strong{color:#43554f;font-size:13px}
.v17-profile-point p{font-size:13px;line-height:1.6;color:#515b59;margin:6px 0 4px}
.v17-profile-point small{color:#818179;font-size:11px}
.v17-private-tag{font-size:10px;background:#ede8f1;color:#776585;padding:4px 7px;border-radius:5px}
.v17-resolved{margin-top:17px;border-top:1px solid var(--line);padding-top:10px}.v17-resolved>summary{font-size:12px;font-weight:750;color:#538070;cursor:pointer;padding:10px 0}.v17-resolved .v17-profile-point-list{margin-top:7px}.v17-done{background:#f3f8f3;border-color:#78a587}
.v17-no-active,.v17-empty-list{color:#777d76;background:#f8f6f0;padding:16px;border-radius:10px;font-size:13px}
.v17-fold{margin:0;overflow:hidden}.v17-fold>summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 19px}.v17-fold>summary::-webkit-details-marker{display:none}.v17-fold>summary:after{content:'+';color:#a16652;font-size:20px}.v17-fold[open]>summary:after{content:'−'}.v17-fold>summary span{font-weight:750;color:#41564e;font-size:13px}.v17-fold>summary small{font-size:11px;color:#81857e}.v17-fold-body{padding:12px;display:grid;gap:10px}.v17-fold-body>.card{margin:0;box-shadow:none}.v17-study-aside{align-self:start}
/* Admin: formulário e lista separados, sem empilhar todo o histórico. */
.v17-admin-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:15px;align-items:start}
.v17-growth-editor,.v17-growth-admin-list{min-width:0;padding:22px}
.v17-editor-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:20px}
.v17-editor-title h3{font:650 21px/1.2 var(--font-editorial);margin:8px 0 0}
#v17-growth-form{display:grid;gap:15px}
#v17-growth-form label{font-size:12px;font-weight:750;line-height:1.5;color:#515a55}
#v17-growth-form label .input{margin-top:6px;width:100%}
.v17-form-split{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.v17-form-hint{font-size:11px;line-height:1.5;color:#838178;margin:0;padding:9px 12px;background:#f6f1e9;border-left:2px solid #b9775f}
.v17-save-btn{width:100%;justify-content:center;background:#37665c}
.v17-form-message{font-size:12px;margin:0;min-height:0;color:#3c7462}.v17-form-message.is-error{color:#ac4f43}
#v17-admin-growth-list{max-height:560px;overflow-y:auto;padding-right:5px;display:grid;gap:10px;margin-top:15px}
.v17-admin-point{border:1px solid #eae3d9;border-radius:11px;padding:14px;background:#fdfbf6}
.v17-admin-point-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;flex-wrap:wrap}
.v17-admin-point-top b{font-size:13px;color:#415b50;display:block}.v17-meta{font-size:11px;color:#83796e;display:block;margin-top:3px}
.v17-admin-point p{font-size:13px;color:#59615c;line-height:1.6;margin:10px 0 6px;white-space:pre-wrap}
.v17-admin-point small{color:#827c73;font-size:11px}.v17-admin-point-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}
.v17-status{background:#f7ebe2;color:#ad7053;padding:5px 7px;border-radius:6px;font-size:10px;font-weight:800}.v17-status.done{background:#ebf2e9;color:#5c896a}
.v17-danger-text{color:#9c584f!important}
@media(max-width:980px){.v17-admin-layout{grid-template-columns:1fr}.v17-growth-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.admin-mode .sidebar .nav{grid-template-columns:repeat(5,minmax(0,1fr))!important;max-width:100%;gap:1px}.admin-mode .nav button{font-size:9px;letter-spacing:-.1px}.admin-mode .nav .nav-symbol{font-size:19px}.v17-group-growth{padding:17px 12px}.v17-growth-grid{gap:8px}.v17-growth-member{padding:14px 7px 11px}.v17-member-avatar{width:58px;height:58px;flex-basis:58px}.v17-member-guidance{min-height:68px}.v17-group-point{padding:6px;font-size:10px}.v17-section-head h2{font-size:23px}}
@media(max-width:520px){.admin-mode .top .heading{font-size:25px;letter-spacing:-.045em}.admin-mode .top .page-title-block{max-width:calc(100vw - 167px)}.v17-home-growth-main{display:block}.v17-home-growth-list{margin-top:10px;max-width:100%}.v17-group-growth{padding:17px 12px}.v17-growth-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v17-member-avatar{width:62px;height:62px;flex-basis:62px}.v17-form-split{grid-template-columns:1fr}.v17-section-head{margin-bottom:15px}.v17-group-count{font-size:10px}.v17-fold>summary small{max-width:44%;text-align:right}.v17-growth-editor,.v17-growth-admin-list{padding:17px 13px}}
@media(prefers-reduced-motion:reduce){.v17-member-avatar,.v17-growth-member{animation:none!important;transition:none!important}}

/* v18Styles */
.v18-personal-growth-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:11px 0}
.v18-growth-fold{border:1px solid #e8d6c2;border-radius:12px;background:#fff8f0;min-width:0;overflow:hidden}
.v18-growth-fold.v18-positive{background:#eaf4e8;border-color:#bfd8be}
.v18-growth-fold.v18-improvement{background:#fbf0e7;border-color:#edd3bf}
.v18-growth-fold>summary{display:flex;align-items:center;gap:9px;padding:12px 13px;list-style:none;cursor:pointer;min-height:48px;text-align:left}
.v18-growth-fold>summary::-webkit-details-marker{display:none}
.v18-fold-symbol{display:grid;place-items:center;flex:0 0 23px;height:23px;border-radius:7px;background:#b7d7b5;color:#214d36;font-weight:900}
.v18-improvement .v18-fold-symbol{background:#ecc9af;color:#87502b}
.v18-fold-title{font-size:12px;font-weight:800;color:#365744;flex:1;overflow-wrap:anywhere}
.v18-improvement .v18-fold-title{color:#76523a}
.v18-fold-count{font-size:11px;font-weight:750;color:#637364}
.v18-fold-chevron{font-size:16px;color:#677c6d;transition:transform .15s}
.v18-growth-fold[open] .v18-fold-chevron{transform:rotate(180deg)}
.v18-growth-body{border-top:1px solid #d9e5d6;padding:10px 13px 12px;display:grid;gap:10px;font-size:12px;min-width:0}
.v18-growth-point+ .v18-growth-point{border-top:1px solid #e5e6dc;padding-top:8px}
.v18-growth-point b{display:block;color:#405c49;font-size:12px}
.v18-growth-point p{margin:4px 0;color:#4e6056;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.v18-growth-point small{color:#788278}
.v18-growth-member{gap:4px}.v18-member-folds{width:100%;display:grid;gap:7px;margin-top:8px}.v18-member-folds .v18-growth-fold>summary{padding:9px 6px;gap:5px;min-height:37px}.v18-member-folds .v18-fold-title{font-size:10px}.v18-member-folds .v18-fold-symbol{flex-basis:18px;height:18px;font-size:11px}.v18-member-folds .v18-growth-body{padding:8px;font-size:11px;text-align:left}.v18-member-folds .v18-growth-point b{font-size:10px}.v18-member-folds .v18-growth-point p{font-size:11px}
.v18-growth-resolved{padding-top:8px;border-top:1px solid #d7dccf}.v18-growth-resolved>summary{cursor:pointer;font-weight:750;color:#54775c}.v18-growth-resolved p{white-space:pre-wrap;font-size:11px}
.v17-home-growth{border-left-color:#7baf85}.v17-home-growth .v18-personal-growth-grid{margin-top:9px}
.v18-study-picker{border:1px solid #cbded0;background:#f4f9f3;padding:17px 18px}.v18-picker-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.v18-picker-head h3{font-size:18px;margin:5px 0 0}.v18-pending-count{font-size:11px;font-weight:800;padding:7px 9px;color:#7d5030;background:#ffefd6;border-radius:8px;white-space:nowrap}.v18-picker-buttons{display:flex;gap:8px;align-items:center;margin:13px 0 8px}.v18-picker-buttons select{flex:1;min-width:0;font-size:12px}.v18-picker-buttons .btn{flex:0 0 auto}.v18-picker-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:12px;color:#5b6d61}.v18-pending-jump{border:0;background:transparent;color:#936032;text-decoration:underline;cursor:pointer;font-weight:750;font-size:12px}
.v18-history-manuscript{margin-top:12px;background:#f2f7ef;border:1px solid #d9e6d5;border-radius:10px}.v18-history-manuscript summary{cursor:pointer;font-size:12px;padding:12px;font-weight:750;color:#42684e}.v18-history-manuscript-body{padding:0 13px 12px;font-size:12px;line-height:1.65}.v18-history-manuscript-body p{white-space:pre-wrap;overflow-wrap:anywhere}
.v18-notebook-export{padding:16px;background:#edf4ee;border:1px solid #cee0cf;border-radius:13px;margin:5px 0 17px}.v18-export-top{display:flex;justify-content:space-between;gap:12px;align-items:start}.v18-export-top strong{font-size:15px;color:#2c5d42}.v18-export-top p{font-size:12px;color:#607667;line-height:1.5;margin:5px 0 11px}.v18-export-top>span{font-size:22px}.v18-export-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px}.v18-export-controls label{font-size:12px;font-weight:750;color:#496451}.v18-export-controls select{display:block;width:100%;margin-top:5px}.v18-export-extras{margin:12px 0;border-top:1px solid #ceddcd;padding-top:10px}.v18-export-extras summary{font-size:12px;cursor:pointer;font-weight:750;color:#46634e}.v18-export-extras label{display:block;margin:11px 0;font-size:12px}.v18-export-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.v18-export-actions small{color:#617869;font-size:11px}
@media(max-width:600px){.v18-personal-growth-grid{grid-template-columns:1fr}.v18-picker-buttons{display:grid;grid-template-columns:1fr 1fr}.v18-picker-buttons select{grid-column:1/-1;grid-row:1}.v18-picker-head h3{font-size:16px}.v18-growth-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v18-member-folds{margin-top:7px}.v18-study-picker{padding:13px}.v18-notebook-export{padding:12px}}

/* v201Styles */
.v201-workspace{border:1px solid #c9dacb!important;background:#fbfcf7}
.v201-feedback-head{display:flex;justify-content:space-between;gap:14px;align-items:start;flex-wrap:wrap}
.v201-feedback-head h2{font-size:clamp(22px,2.4vw,30px);margin:6px 0 8px;color:#315d46}
.v201-feedback-head p{max-width:680px}.v201-tools{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0 3px}
.v201-workspace .day-feedback-editor{background:none;border:none;padding:12px 0 0}
.v201-workspace .individual-editor{border-top:1px solid #d9e5d9;margin-top:24px;padding-top:18px}
.v201-workspace .member-feedback-editor{border:1px solid #d8e4d8;border-radius:13px;padding:16px;margin:12px 0;background:#fff}
.v201-answers-detail{border:1px solid #e0e6da;border-radius:10px;margin:12px 0;background:#f7faf4;overflow:hidden}
.v201-answers-detail>summary{padding:12px 14px;cursor:pointer;font-weight:650;color:#365a46;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}
.v201-answers-detail>summary small{font-size:11px;font-weight:400;color:#69826e}
.v201-responses{padding:4px 14px 15px}.v201-response{border-top:1px solid #dce7db;padding:12px 0}
.v201-response small{display:block;color:#647b69;font-size:11px;font-weight:700;margin-bottom:6px}
.v201-response b{display:block;font-size:13px;line-height:1.55}.v201-response p{white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0;font-size:13px;line-height:1.6}
.v201-copy-status{min-height:1.15em;margin:4px 0 0;font-size:12px}
@media(max-width:620px){.v201-workspace{padding:17px 12px!important}.v201-workspace .member-feedback-editor{padding:12px}.v201-tools .btn{flex:1 1 auto}.v201-answers-detail>summary small{display:none}}

/* v202Css */
.v202-report-card{margin:0 0 15px!important;padding:0!important;overflow:hidden;border:1px solid #c6d9c4!important;background:#f6faf4!important}
.v202-report-summary{cursor:pointer;display:flex;gap:12px;align-items:center;padding:19px 21px;list-style:none}.v202-report-summary::-webkit-details-marker{display:none}
.v202-report-summary>b{font-size:16px}.v202-report-summary span:nth-child(2){flex:1;min-width:0;display:grid;gap:5px}
.v202-report-summary b{font-size:15px;color:#345642}.v202-report-summary small{font-size:12px;line-height:1.5;color:#607563}
.v202-report-symbol{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border-radius:12px;background:#dcebdd;color:#3b7154;font-size:24px}
.v202-summary-chevron{font-size:20px;color:#557364;transform:rotate(0);transition:transform .2s}.v202-report-card[open] .v202-summary-chevron{transform:rotate(180deg)}
.v202-report-body{border-top:1px solid #dce8d9;padding:18px 20px 22px}.v202-report-body>.muted{font-size:13px;line-height:1.6;margin:0 0 15px}
.v202-filters{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:10px}.v202-filters label{display:grid;gap:6px;color:#465a4f;font-size:12px;font-weight:700}
.v202-filters .input{width:100%;min-width:0}.v202-check{display:flex;gap:9px;align-items:center;font-size:13px;color:#506458;margin:15px 0}
.v202-report-actions{display:flex;gap:8px;flex-wrap:wrap}.v202-note{font-size:12px;color:#68766f;margin:11px 0 3px}
.v202-review-summary{font-weight:700;font-size:12px;background:#ebf2e6;color:#425e47;border-radius:9px;padding:10px;margin:12px 0}
.v202-preview-fold{margin-top:13px;border:1px solid #d8e4da;border-radius:10px;padding:10px;background:#fff}.v202-preview-fold>summary{cursor:pointer;color:#3c624b;font-size:13px;font-weight:700}
#v202-review-preview{min-height:180px;width:100%;font:12px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;resize:vertical;white-space:pre-wrap;margin-top:10px;background:#fff}
.v202-report-tip{margin-top:13px;font-size:12px;line-height:1.6;color:#576c5d}
@media(max-width:650px){.v202-report-summary{padding:15px 12px;gap:10px}.v202-report-summary small{font-size:11px}.v202-report-body{padding:15px 12px 18px}.v202-filters{grid-template-columns:1fr 1fr}.v202-filters label:first-child{grid-column:1/-1}.v202-report-actions>*{flex:1 1 auto}}

/* v203Css */
.v204-book-toggle{margin:12px 0;border:1px solid #cddfd3;border-radius:12px;background:#f8fbf5;overflow:hidden}.v204-book-toggle>summary{cursor:pointer;list-style:none;color:#2e654d;font-weight:750;font-size:13px;padding:13px 16px;min-height:46px}.v204-book-toggle>summary::-webkit-details-marker{display:none}.v204-book-toggle>.v20-book-fields{margin:0;border:0;border-top:1px solid #d9e6db;border-radius:0}.v204-book-toggle>summary.hidden+.v20-book-fields{border-top:0}
.v203-text-fields{padding:14px;border:1px solid #d8e2d3;border-radius:12px;background:#f4f8ef;margin:12px 0}
.v203-text-fields p{font-size:12px;line-height:1.6;margin:10px 0 0}
.v203-pending-card{padding:19px 21px;background:#fbfcf7;border:1px solid #d2dfcf}
.v203-pending-title{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.v203-pending-title h3{margin:4px 0 0;color:#305e46;font-size:21px}
.v203-pending-list{display:grid;gap:8px;margin-top:12px}.v203-pending-list>button{border:1px solid #dce8d8;background:#fff;padding:12px 15px;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;color:#2d4d3c;width:100%;min-height:52px}
.v203-pending-list>button strong,.v203-pending-list>button small{display:block}.v203-pending-list>button small{margin-top:4px;color:#617268;font-size:12px}.v203-pending-list>button:hover{border-color:#89b098;background:#f5faf3}
.v203-home-secondary,.v203-group-fold{border:1px solid #dce4d9;border-radius:14px;overflow:hidden;background:#fbfcf8}
.v203-home-secondary>summary,.v203-group-fold>summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;padding:14px 18px;font-weight:750;color:#355b47;min-height:48px}
.v203-home-secondary>summary::-webkit-details-marker,.v203-group-fold>summary::-webkit-details-marker{display:none}
.v203-home-secondary[open]>summary,.v203-group-fold[open]>summary{border-bottom:1px solid #e1e9dc}
.v203-home-secondary-body,.v203-group-inner{padding:15px;display:grid;gap:12px}.v203-home-secondary-body>.card,.v203-group-inner>.card{margin:0!important}
.v203-home-secondary-body>.v203-extra-stat{display:inline-block}.v203-home-secondary-body .stat{max-width:300px}.v203-medals{padding:12px;border:1px solid #e6e9df;border-radius:12px;background:#fff}
.v203-group-fold>summary small{font-weight:450;color:#6c8174;font-size:12px;display:block;margin-top:3px}.v203-group-fold .group-hero{margin:0}.v203-group-fold .group-hero>.card{margin:0}
.v203-growth-first{margin-bottom:0}.v203-group-fold .trail{margin:0}.v203-chevron{font-size:18px}
.v203-evaluation-status{padding:14px;background:#eef6eb;border:1px solid #d7e5d3;border-radius:12px;margin:12px 0}
.v203-evaluation-counts{display:flex;gap:8px;flex-wrap:wrap}.v203-evaluation-counts>span{background:#fff;border-radius:8px;padding:8px 12px;color:#496454;font-size:12px}.v203-evaluation-counts strong{font-size:17px;color:#2f6348}
.v203-evaluation-users{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0 0}.v203-evaluation-users button{padding:10px 12px;min-height:44px;border:1px solid #cee0d3;color:#345e48;border-radius:9px;background:#fff;font-size:12px;font-weight:650;cursor:pointer}
.v203-evaluation-waiting{margin:10px 0 0;font-size:12px}.v203-focus{outline:2px solid #6d9b76;outline-offset:4px}
.v203-group-feedback{background:#f7faf4;border:1px solid #dae6d8;padding:16px;border-radius:12px;margin-top:18px}.v203-group-feedback>h3{margin:0 0 7px}
.v203-grading-fold{margin-top:18px;border:1px solid #d0dfd1;border-radius:12px;background:#fbfdf9;overflow:hidden}.v203-grading-fold>summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:52px;padding:13px 15px;list-style:none;color:#315c45}.v203-grading-fold>summary small{display:block;font-size:12px;font-weight:400;margin-top:3px;color:#617665}
.v203-grading-fold>summary::-webkit-details-marker{display:none}.v203-grading-inner{padding:12px 14px;border-top:1px solid #dae6db}.v203-grading-inner .card{box-shadow:none}
.v203-primary-review{background:#335f47;color:#fff}.v203-study-choice{margin-top:12px}
@media(max-width:620px){.v203-pending-card{padding:14px}.v203-group-inner,.v203-home-secondary-body{padding:10px}.v203-group-fold>summary,.v203-home-secondary>summary{padding:12px}.v203-evaluation-status{padding:10px}.v203-evaluation-counts>span{flex:1}.v203-evaluation-users button{flex:1 1 auto}}

/* biblioteca-digital.css */
/* Biblioteca Digital — visual de estante, discreto e otimizado para celulares. */
.digital-banner{border-radius:17px;background:linear-gradient(125deg,#315844,#52765b);padding:27px 27px 29px;color:#faf6e9;position:relative;overflow:hidden}
.digital-banner:after{content:'✣';position:absolute;right:20px;bottom:-48px;color:#ffffff13;font-size:160px}
.digital-banner .eyebrow{color:#d8e3c5;letter-spacing:.17em}
.digital-banner h2{font-family:Georgia,serif;font-weight:600;font-size:clamp(25px,5vw,35px);margin:10px 0 7px}
.digital-banner p{margin:0;color:#e4e8d8;font-size:13px;line-height:1.55;max-width:440px}
.digital-status{font-size:12px;color:#416349;min-height:1px}.digital-error{color:#983b38!important}
.digital-content{display:grid;gap:21px}.digital-shelf{padding:12px 0 0;min-width:0}
.digital-shelf-head{display:flex;justify-content:flex-end;align-items:center;gap:14px;padding:0 10px;color:#80776a;font-size:11px}
.digital-shelf-arrows{display:flex;gap:6px}.digital-shelf-arrows button{border:1px solid #d8d2c1;background:#faf8f1;color:#465a46;border-radius:8px;width:30px;height:30px;font-size:20px;cursor:pointer}
.digital-covers{display:flex;overflow-x:auto;scroll-snap-type:x proximity;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;gap:12px;padding:13px 10px 8px;scrollbar-width:thin;scrollbar-color:#a5b8a2 transparent}
.digital-volume{scroll-snap-align:start;flex:0 0 clamp(83px,22%,135px);min-width:0;background:transparent;border:0;cursor:pointer;display:flex;flex-direction:column;gap:6px;text-align:center;color:#324338;padding:0;align-items:center;position:relative}
.digital-cover{width:100%;height:clamp(123px,32vw,170px);background:#f5f0e5;display:grid;place-items:center;box-shadow:3px 4px 9px #322d2034;border-radius:3px 7px 7px 3px;overflow:hidden;box-sizing:border-box;border-left:4px solid #988368}
.digital-cover img{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;background:#f9f5ec}
.digital-cover-placeholder{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;background:linear-gradient(120deg,#63775d,#3f5c50);color:#fff5da;padding:7px;box-sizing:border-box;overflow:hidden}
.digital-cover-placeholder span{font-size:28px}.digital-cover-placeholder small{font-family:Georgia,serif;font-size:11px;line-height:1.3;max-height:75px;overflow:hidden;overflow-wrap:anywhere}
.digital-volume-title{font-size:10px;line-height:1.25;min-height:26px;max-height:30px;overflow:hidden;text-wrap:balance;font-weight:650}.digital-hidden-badge{color:#925c36;font-size:10px;font-weight:750}
.digital-wood{height:11px;margin:-1px 1px 0;border-radius:3px 3px 8px 8px;background:linear-gradient(180deg,#bda581 0%,#947c5e 65%,#806a50 100%);box-shadow:0 5px 9px #776c5d22}
.digital-title-list{margin:11px 3px 0;border-bottom:1px solid #e6e2d5}.digital-title-list summary{cursor:pointer;list-style:none;padding:8px 5px 13px;font:650 17px Georgia,serif;color:#365d43;display:flex;justify-content:space-between;align-items:center}
.digital-title-list summary::-webkit-details-marker{display:none}.digital-title-list summary small{font:500 11px system-ui;color:#647c66}.digital-title-list summary small:after{content:' ⌄'}
.digital-title-list[open] summary small:after{content:' ⌃'}.digital-title-list>div{padding:3px 0 11px;display:grid;gap:5px}
.digital-title-list>div button{background:#f3f5ec;border:0;border-radius:7px;min-height:42px;text-align:left;padding:9px 12px;color:#34483a;font-size:12px;font-weight:650;cursor:pointer}
.digital-title-list>div button small{display:block;font-size:10px;font-weight:400;color:#728070;padding-top:3px}
.digital-empty,.digital-no-books{padding:24px;text-align:center;color:#8b8576;font-size:12px}
.digital-copyright{font-size:11px;color:#857a69;margin:10px 0 20px}
.digital-admin-intro{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px;background:#f1f4e9;border-radius:12px;border:1px solid #d9e3d1}
.digital-admin-intro strong{font-size:15px;color:#2d5b41}.digital-admin-intro p{margin:5px 0 0;color:#697b69;font-size:12px}
.digital-manager{border:1px solid #d8ded1;border-radius:13px;background:#f9faf5;padding:16px;display:grid;gap:20px}
.digital-admin-section{min-width:0}.digital-admin-section h3{color:#2d5b41;font-size:17px;margin:0 0 12px}.digital-inline{display:flex;align-items:center;gap:8px;margin-bottom:15px}.digital-inline input{min-width:0;flex:1}
.digital-admin-line{display:flex;gap:5px;align-items:center;border-bottom:1px solid #e4e8dd;padding:8px 2px}.digital-admin-line span{flex:1;min-width:0;overflow-wrap:anywhere;font-size:12px;color:#374b39}.digital-admin-line small{display:block;color:#7f8575;font-size:10px;margin-top:2px}
.digital-admin-line button{border:1px solid #d8dfd4;border-radius:6px;color:#3d654c;background:#fff;min-width:28px;min-height:28px;cursor:pointer}
.digital-admin-category{margin-top:17px}.digital-admin-category b{font-size:13px;color:#756347}
.digital-reader{position:fixed;z-index:20000;inset:0;height:100dvh;display:flex;flex-direction:column;background:#fffcf7;color:#253a2c}
body.digital-reading{overflow:hidden!important}.digital-reader-top{min-height:51px;flex:0 0 auto;display:flex;align-items:center;gap:12px;background:#f8f3e7;border-bottom:1px solid #ded9cc;padding:5px max(12px,env(safe-area-inset-left))}
.digital-reader-top strong{font:600 13px Georgia,serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1}
.digital-reader-top small{font-size:10px;max-width:135px;color:#607260;text-align:right;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.digital-reader-close{background:transparent;border:0;color:#3b5243;font-size:22px;cursor:pointer;min-width:35px;min-height:37px}
.digital-reader-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;display:flex;flex-direction:column;background:#fffcf7;scroll-behavior:auto}
.digital-reader-error{padding:30px;text-align:center;color:#9b3a38}
.digital-pdf-wrap{margin:0 auto;padding:10px;min-width:0;max-width:none;box-sizing:border-box}
.digital-pdf-wrap canvas{display:block;max-width:none;box-shadow:0 1px 8px #00000024;background:#fff}
#digital-epub-canvas{flex:1;min-height:0;width:100%;padding:12px 4px;box-sizing:border-box}
.digital-reader-controls{flex:0 0 auto;min-height:54px;padding:6px 8px max(7px,env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:center;gap:10px;border-top:1px solid #ddd9cb;background:#f8f5ec}
.digital-reader-controls button{background:#eaf1e6;border:1px solid #d3dfcf;border-radius:9px;cursor:pointer;font-size:18px;color:#345d40;min-width:38px;min-height:37px}
.digital-reader-controls span{font-size:12px;color:#637562}.digital-control-spacer{flex:0 1 30px}
.digital-editor{position:fixed;z-index:21000;inset:0;display:flex;justify-content:center;align-items:center;background:#182d21a8;padding:12px;box-sizing:border-box}
.digital-editor-panel{background:#fffcf7;border-radius:14px;padding:20px;max-width:525px;width:100%;max-height:96dvh;overflow:auto;color:#354837}
.digital-editor-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.digital-editor-head h3{font-size:19px;color:#315943;margin:0}.digital-editor-head button{font-size:22px;border:0;background:transparent;cursor:pointer}
#digital-book-form{display:grid;gap:11px}#digital-book-form label{display:grid;gap:5px;font-weight:650;font-size:12px}#digital-book-form input[type=file]{padding:9px;max-width:100%}
#digital-book-form textarea{resize:vertical}#digital-book-form label small{font-weight:400;color:#607364;font-size:10px}
#digital-book-form label.digital-publish{display:flex;align-items:center;gap:8px;flex-direction:row}
.digital-editor-actions{display:flex;justify-content:flex-end;gap:9px}.digital-error-pane{padding:20px;color:#9f3a37}.digital-error-pane button{display:block;margin-top:10px}
@media(max-width:520px){.digital-banner{padding:23px 20px 24px}.digital-volume{flex-basis:calc((100% - 27px)/3.4);max-width:calc((100% - 27px)/3.4)}.digital-cover{height:clamp(122px,32vw,155px)}.digital-covers{gap:9px}.digital-admin-intro{flex-direction:column;align-items:start}.digital-reader-top small{max-width:95px}.digital-pdf-wrap{padding:6px}.digital-control-spacer{flex-basis:0}.digital-reader-controls{gap:6px}}
@media(min-width:980px){.digital-volume{flex-basis:135px}.digital-covers{gap:22px}.digital-cover{height:184px}}
/* V20 — leitor com layout ajustável, foco e tela cheia. */
.digital-reader{height:100vh;height:100dvh;box-sizing:border-box;max-width:100vw;overflow:hidden;isolation:isolate}
.digital-reader:fullscreen,.digital-reader:-webkit-full-screen{width:100vw;height:100vh;height:100dvh}
.digital-reader-top{min-height:54px;gap:9px;padding:6px max(10px,env(safe-area-inset-right)) 6px max(10px,env(safe-area-inset-left))}
.digital-reader-top strong{font-size:clamp(12px,2.5vw,16px);white-space:nowrap;text-overflow:ellipsis}
.digital-reader-tool,.digital-settings-close{border:1px solid #d7dfd4;background:#f0f3e9;color:#355b46;border-radius:10px;min-height:39px;min-width:41px;font-size:16px;font-weight:700;cursor:pointer;flex-shrink:0}
.digital-reader-tool:focus-visible,.digital-reader-close:focus-visible,.digital-reader-controls button:focus-visible,.digital-reader-settings button:focus-visible{outline:3px solid #bb9d5a;outline-offset:2px}
.digital-reader-footer{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:4px max(10px,env(safe-area-inset-right)) max(5px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));background:#f8f5ec;border-top:1px solid #e7e1d4;min-height:31px}
.digital-reader-footer small{font-size:10px;color:#6a7a67;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:70%}
.digital-reader-focus,.digital-reader-footer button{border:0;background:transparent;color:#395c47;font-size:11px;cursor:pointer;white-space:nowrap;padding:6px}
.digital-reader-settings{flex:0 0 auto;background:#fcfaf4;padding:14px clamp(12px,3vw,24px);border-bottom:1px solid #dad8ca;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px 18px;align-items:center;box-shadow:0 7px 15px #19312312;max-height:min(65dvh,370px);overflow:auto}
.digital-settings-title{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#294736;font-size:15px}
.digital-settings-close{border:0;background:transparent;font-size:18px}
.digital-reader-settings>label,.digital-fit-wrap label{color:#455c4b;font-size:12px;font-weight:700}
.digital-reader-settings select{width:100%;min-height:42px;border:1px solid #ced9c9;border-radius:9px;padding:9px 10px;background:#fffdf8;color:#253b2e;font-size:13px}
.digital-settings-size{grid-column:1/-1;display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:10px 0;border-top:1px solid #e5e6dc}
.digital-settings-size>div:first-child{display:grid;gap:4px}.digital-settings-size label{font-weight:700;font-size:12px;color:#3c5845}.digital-settings-size small{color:#718071;font-size:11px}
.digital-settings-stepper{display:flex;gap:8px;align-items:center}.digital-settings-stepper button{border-radius:10px;background:#e4ede1;border:1px solid #cbdcc6;min-width:43px;min-height:43px;font-size:18px;color:#31573e;cursor:pointer}
.digital-settings-stepper output{display:inline-block;min-width:52px;font-size:12px;text-align:center;color:#31563c;font-weight:700}
.digital-fit-wrap{grid-column:1/-1;display:flex;gap:10px;align-items:center;justify-content:space-between}.digital-fit-wrap select{max-width:215px}
.digital-settings-tip{grid-column:1/-1;font-size:11px;color:#697b6b;margin:0;line-height:1.5}
.digital-reader-body{min-height:0;overflow:auto;flex:1;align-items:stretch;touch-action:pan-x pan-y;background:#efede7}
.digital-pdf-wrap{display:flex;justify-content:center;align-items:flex-start;gap:12px;min-width:min-content;max-width:none;margin:auto;box-sizing:border-box;padding:12px}
.digital-pdf-wrap.digital-pdf-spread{min-width:100%;margin:auto;justify-content:center}
.digital-pdf-page{position:relative;flex:0 0 auto;background:#ffffff;box-shadow:0 3px 14px #2b322633;max-width:none;min-width:0;display:grid;place-content:start center}
.digital-pdf-page canvas{display:block;max-width:none;background:#fff}
.digital-pdf-scroll-list{display:flex;flex-direction:column;gap:13px;align-items:center;padding:12px 8px 28px;box-sizing:border-box;min-width:max-content;min-height:100%;width:100%}
.digital-pdf-scrolling{align-items:stretch}.digital-pdf-scrolling .digital-pdf-page{width:fit-content;min-width:70%;margin:0 auto}
.digital-page-loading{display:block;padding:55px 12px;color:#748375;font-size:12px;text-align:center}
.digital-reader-controls{gap:6px;flex-wrap:nowrap;min-height:55px;padding:7px max(7px,env(safe-area-inset-left));box-sizing:border-box}
.digital-reader-controls button{flex:0 0 auto;min-height:40px;min-width:42px;font-size:19px;font-weight:600}
.digital-reader-controls output{font-size:11px;color:#4b634c;font-weight:650;min-width:37px;text-align:center}
.digital-pages-input{display:flex;align-items:center;gap:4px;color:#5a725d;font-size:11px;font-weight:700}.digital-pages-input input{width:55px;border:1px solid #cfdbcb;border-radius:8px;background:#fffdfa;color:#304a38;padding:7px 2px;text-align:center;font-size:13px;font-weight:700;min-height:34px;box-sizing:border-box}
.digital-pages-input small{white-space:nowrap;max-width:55px;overflow:hidden;text-overflow:ellipsis}
.digital-epub-info{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:clamp(70px,24vw,190px);font:600 12px Georgia,serif}
#digital-epub-canvas{flex:1;min-height:0;min-width:0;width:100%;height:100%;padding:12px max(8px,3vw);box-sizing:border-box;background:#fffcf7}
.digital-reader.digital-focused .digital-reader-top,.digital-reader.digital-focused .digital-reader-controls,.digital-reader.digital-focused .digital-reader-settings{display:none!important}
.digital-reader.digital-focused .digital-reader-footer{position:absolute;top:max(5px,env(safe-area-inset-top));right:max(8px,env(safe-area-inset-right));z-index:8;min-height:0;background:#f5f2e9e8;border:1px solid #d6dccc;border-radius:11px;padding:3px 5px;box-shadow:0 2px 10px #00000020}
.digital-reader.digital-focused .digital-reader-footer small{display:none}
.digital-reader.digital-focused .digital-reader-body{flex:1}
@media(max-width:600px){.digital-reader-settings{grid-template-columns:1fr;max-height:55dvh}.digital-reader-settings>label{grid-column:1}.digital-reader-settings select{grid-column:1}.digital-settings-size{gap:10px}.digital-reader-controls{gap:4px}.digital-reader-controls button{min-width:37px;min-height:39px}.digital-control-spacer{flex-basis:0}.digital-reader-top{min-height:50px}.digital-reader-top strong{font-size:12px}.digital-pdf-wrap{padding:6px;gap:5px}.digital-pdf-scroll-list{gap:9px;padding:6px 3px}.digital-epub-info{max-width:24vw}}
/* Dias de leitura de livros — visuais discretos para admin e participante */
.v20-book-fields{border:1px solid #d1dfd2;border-radius:13px;background:#f4f8ef;padding:17px;margin:12px 0 18px;display:grid;gap:12px}
.v20-book-fields h3{margin:0;color:#345842;font-size:19px}.v20-book-fields .eyebrow{color:#618469}.v20-book-fields .muted{font-size:12px;margin:0;color:#627466}
.v20-book-row{display:flex;gap:10px;align-items:end}.v20-book-row .field{flex:1;min-width:0}.v20-book-row button{flex:0 0 auto}
.v20-book-study{border:1px solid #d3e1d2;background:#f3f7ef}.v20-assigned-heading{display:flex;gap:13px;align-items:center}.v20-book-icon{width:46px;height:48px;display:grid;place-items:center;border-radius:12px;background:#dcebd7;font-size:24px}.v20-assigned-heading small{font-size:10px;letter-spacing:.12em;color:#687e69;font-weight:800}.v20-assigned-heading h3{margin:3px 0;font:700 23px Georgia,serif;color:#345744}.v20-assigned-heading p{font-weight:700;margin:0;color:#765f41;font-size:14px}.v20-assigned-help{font-size:12px;color:#617364;line-height:1.6}.v20-assigned-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.v20-preview-book{border-radius:10px;background:#f4f8ef;padding:15px;margin-top:12px;color:#3a5b45}.v20-preview-book p{margin:8px 0 0}
@media(max-width:600px){.v20-book-fields{padding:12px}.v20-book-row{flex-direction:column;align-items:stretch}.v20-assigned-heading h3{font-size:19px}.v20-assigned-actions{flex-direction:column}.v20-assigned-actions button{width:100%}}

/* V20.1: contador acessível de posições EPUB, independente da fonte escolhida. */
.digital-epub-counter{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 1 126px;min-width:76px;gap:1px;font-size:10px;color:#556d5b;line-height:1.15;white-space:nowrap}
.digital-counter-value{display:flex;align-items:center;justify-content:center;gap:4px;font-weight:700;font-size:13px;color:#2e5040}
.digital-epub-counter input{box-sizing:border-box;width:46px;max-width:55px;min-height:34px;text-align:center;border:1px solid #c9d4c7;border-radius:8px;background:#fffdf6;color:#253f32;font:700 14px system-ui,sans-serif;padding:2px 3px}
.digital-epub-counter input:disabled{opacity:.65}
.digital-epub-counter input:focus-visible{outline:2px solid #9eab74;outline-offset:1px}
#digital-epub-total{white-space:nowrap;font-size:12px}
@media(max-width:390px){.digital-reader-controls.digital-epub-counter{gap:3px}.digital-epub-counter{min-width:69px;flex-basis:84px}.digital-epub-counter input{width:39px}}

/* V20.3 — progresso de todos os participantes sob cada livro da estante. */
.digital-book-tile{scroll-snap-align:start;flex:0 0 clamp(83px,22%,135px);min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:5px}
.digital-book-tile .digital-volume{scroll-snap-align:none;flex:0 0 auto;max-width:100%;width:100%;}
.digital-readers-progress{display:grid;gap:4px;padding:7px 5px 6px;background:#f8faf5;border:1px solid #e0e8db;border-radius:8px;color:#395a47;min-width:0}
.digital-readers-heading{font-size:9px;line-height:1.3;font-weight:750;color:#526d5a;text-align:center;margin-bottom:2px}
.digital-member-progress{min-width:0}
.digital-member-line{display:flex;justify-content:space-between;align-items:center;gap:3px;color:#45604b;font-size:9px;line-height:1.3;min-width:0}
.digital-member-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1}
.digital-member-line strong{flex:0 0 auto;font-size:9px;color:#2c6046;font-variant-numeric:tabular-nums}
.digital-member-bar{display:block;height:3px;width:100%;background:#e2e9df;border-radius:3px;overflow:hidden;margin-top:2px}
.digital-member-bar>span{display:block;height:100%;background:#528365;border-radius:3px}
.digital-readers-none{font-size:9px;color:#8a9389;text-align:center;line-height:1.4;padding:5px 1px}
@media(max-width:520px){.digital-book-tile{flex-basis:calc((100% - 27px)/3.4);max-width:calc((100% - 27px)/3.4)}.digital-book-tile .digital-volume{flex-basis:auto;max-width:100%}.digital-readers-progress{padding:5px 3px}.digital-member-line{font-size:9px}}
@media(min-width:980px){.digital-book-tile{flex-basis:135px}}

/* quarteto-editorial.css */
/* V20.4 — direção visual editorial: sóbria, legível e coerente entre telas.
   Preserva os fluxos e a identidade do Coram Deo; substitui enfeites por hierarquia. */
:root{
  
  
  
  
  
  
  
  
  
  --terracotta:#a55e43;
  
  
}
html {scroll-behavior:smooth}
body {font-family:var(--font-body);background:var(--bg);color:var(--ink);line-height:1.52}
body .muted{color:var(--muted)}
body .content{max-width:1320px}
body .content .top{border-bottom:1px solid var(--line);padding-bottom:19px;margin-bottom:22px}
body .heading,body .card h2,body .section h2,body .section h3,.logo {font-family:var(--font-editorial)}
body .heading{font-weight:600;font-size:clamp(29px,3.7vw,43px);letter-spacing:-.035em;line-height:1.04}
body .eyebrow{color:#995a43;letter-spacing:.1em;font-size:11px;font-weight:700}
body .card{border-radius:12px;box-shadow:var(--shadow);border:1px solid var(--line);background:var(--card)}
body .section .stack{gap:17px}
body .card h2{font-size:clamp(23px,2.6vw,31px);font-weight:600;letter-spacing:-.025em}
body .card h3{font-size:19px;line-height:1.24;font-weight:600}
body .card p{line-height:1.56}
body .stat{border-radius:9px;box-shadow:none;background:#faf9f3;border-color:var(--line)}
body .tag{border-radius:5px;font-size:11px;letter-spacing:0;background:#e9eee7;color:#25533e}
body .btn{border-radius:8px;background:#2d604e;color:#fffefa;font-weight:650;letter-spacing:0;min-height:42px;box-shadow:none}
body .btn:hover{filter:brightness(.96)}
body .btn:focus-visible,body button:focus-visible,body a:focus-visible,body input:focus-visible,body select:focus-visible,body textarea:focus-visible{outline:3px solid #ac7e4f;outline-offset:3px}
body .btn.light{background:#e6ede4;color:#254e3e}
body .btn.ghost{background:transparent;color:#275342;border:1px solid #a7baaa}
body .btn.cream{background:#f3e6d1;color:#244338}
body .input,body input[type='number'],body select,body textarea{border-color:#adbfb3;border-radius:8px}
body .notice{background:#f7f1e4;border:1px solid #e8ddc8;border-radius:8px;color:#635941}
body .sidebar{background:#244238}
body .sidebar .logo{color:#fcf6e9;font-weight:600;letter-spacing:-.02em}
body .sidebar .logo small{font:600 10px var(--font-body);color:#ddcfb8;letter-spacing:.13em}
body .sidebar .nav button{border-radius:7px;color:#e4eee7;font-weight:550;transition:background .12s ease,color .12s ease}
body .sidebar .nav button:hover{background:#34594a;color:#fff}
body .sidebar .nav button.active{background:#f3eee0;color:#213d32;box-shadow:inset 3px 0 0 #bb8751;font-weight:700}
body .sidebar .nav button.active .nav-symbol{color:#784a2f}
body .user-pill{border-radius:10px;box-shadow:none;padding:5px 11px 5px 5px}
body .hero:after,body .digital-banner:after{display:none}
body #home .hero{border-radius:12px;background:#efe8db;border:1px solid #e0d5c2;color:#263c33;box-shadow:none;min-height:0}
body #home .hero .eyebrow,body #home .hero p{color:#4a604f}
body #home .hero h2{font-family:var(--font-editorial);font-size:clamp(29px,4.2vw,43px);font-weight:600;line-height:1.04;color:#244438}
body .authbox{border-radius:15px;border:1px solid var(--line);box-shadow:0 8px 35px rgba(31,49,36,.08)}
body .authbox h1{font-family:var(--font-editorial);font-weight:600}
body .auth{background:var(--bg)}
/* Biblioteca: atmosfera de acervo, não painel decorativo. */
body .digital-banner{background:transparent;color:var(--ink);border:0;border-bottom:1px solid var(--line);border-radius:0;padding:13px 1px 23px}
body .digital-banner .eyebrow{color:#9a5b41}
body .digital-banner h2{font:600 clamp(31px,4vw,45px)/1.1 var(--font-editorial);margin:10px 0 7px;color:#234438;letter-spacing:-.027em}
body .digital-banner p{color:#52655a;font-size:14px;line-height:1.5;max-width:540px}
.digital-collection-switch{display:flex;gap:2px;border-bottom:1px solid var(--line);align-items:end;padding:0 1px;margin-top:-2px}
.digital-collection-switch button{position:relative;background:none;border:0;border-bottom:3px solid transparent;padding:12px 14px;color:#566b60;font-weight:600;font-size:14px;min-height:44px}
.digital-collection-switch button.selected{border-bottom-color:#a65c41;color:#244438}
.digital-collection-switch button small{font-size:11px;color:#758277;margin-left:4px}
.digital-collection-switch button:focus-visible{outline-offset:-1px}
body .digital-content{gap:17px}
body .digital-shelf{padding-top:2px}
body .digital-shelf-head{padding:0 2px;color:#657063;font-size:12px}
body .digital-shelf-arrows button{background:#fffcf6;color:#25483a;border-color:#b9c7ba;min-width:42px;width:42px;min-height:42px;height:42px;font-size:21px;border-radius:8px}
body .digital-covers{padding:15px 9px 12px;gap:16px}
body .digital-book-tile{gap:8px}
body .digital-cover{border-radius:2px 7px 7px 2px;border-left-color:#927956;box-shadow:2px 5px 10px rgba(25,38,30,.15);background:#e9e1d4}
body .digital-volume-title{color:#263b30;min-height:30px;max-height:42px;font-weight:650;font-size:11px;line-height:1.27}
body .digital-wood{height:8px;border-radius:2px 2px 6px 6px;background:linear-gradient(#b29e80,#8b785c);box-shadow:0 3px 5px rgba(45,41,34,.12)}
body .digital-title-list{border-color:var(--line)}
body .digital-title-list summary{color:#234638;font:600 22px/1.2 var(--font-editorial);padding:15px 5px 13px}
body .digital-title-list summary small{font:550 12px var(--font-body);color:#53675b}
body .digital-title-list>div button{font-size:13px;border:1px solid #dce2d8;background:#fdfcf7;min-height:44px}
body .digital-readers-progress{padding:6px;border:1px solid #d9e3d8;background:#f8f8f0;border-radius:5px;gap:4px}
body .digital-readers-heading{font-size:10px;font-weight:650;letter-spacing:.01em}
body .digital-member-line{font-size:10px;line-height:1.28}
body .digital-member-line strong{font-size:10px}
body .digital-member-bar{height:3px}
body .digital-admin-intro{background:#f5f3e8;border-radius:9px;border-color:#d8dfd6}
body .digital-manager{border-radius:9px;background:#fbfaf5}
body .digital-admin-line button{font-size:12px;min-height:37px;min-width:36px;border-radius:6px}
body .digital-reader{background:#fffcf6}
body .digital-reader-top,body .digital-reader-controls,body .digital-reader-footer{background:#f6f2e8}
body .digital-reader-top strong{font:600 clamp(13px,2.5vw,16px) var(--font-editorial);color:#253f34}
body .digital-reader-controls button{min-height:42px;min-width:42px;border-radius:8px}
body .digital-go-button{font:700 13px var(--font-body);background:#2f634f!important;color:white!important;border-color:#2f634f!important;min-width:44px}
body .digital-go-button:disabled{opacity:.48}
/* Textos em estilo de artigo, sem cartões coloridos ou aparência de dashboard. */
.digital-text-collection{min-width:0;padding:0 1px}
.digital-text-heading{display:flex;justify-content:space-between;gap:15px;align-items:end;margin:10px 0 6px}
.digital-text-heading h3{font:600 28px var(--font-editorial);color:#253f35;margin:7px 0 2px}
.digital-text-heading p{font-size:13px;color:var(--muted);margin:0}
.digital-text-filters{display:flex;gap:5px;margin:15px 0 14px}
.digital-text-filters button{background:transparent;color:#466052;border:1px solid #b9c7bb;border-radius:6px;padding:9px 12px;min-height:40px;font-size:12px;font-weight:600}
.digital-text-filters button.selected{background:#2e5e4b;color:#fff;border-color:#2e5e4b}
.digital-text-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.digital-text-card{background:var(--card);border:1px solid var(--line);border-left:3px solid #b88757;border-radius:7px;padding:19px 19px 16px;min-width:0;display:flex;flex-direction:column;gap:7px}
.digital-text-card-meta{display:flex;gap:10px;color:#995f41;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.digital-text-card h4{font:600 clamp(20px,2.6vw,25px)/1.16 var(--font-editorial);color:#263c30;margin:1px 0 0}
.digital-text-card p{margin:0}.digital-text-author{font-size:12px;color:#596d60}
.digital-text-summary{font-size:13px;color:#53655c;line-height:1.5;margin-top:6px!important;flex:1}
.digital-text-read{background:none;border:0;border-top:1px solid #e0e1d9;text-align:left;color:#2c654b;font-size:13px;font-weight:700;padding:13px 0 0;margin-top:auto;min-height:40px}
.digital-text-read span{margin-left:7px}
.digital-no-texts{color:#617064;font-size:13px}
.digital-text-admin{border-top:1px solid #d5e0d6;padding-top:18px}
.digital-text-admin p{font-size:12px;color:#53655c}
.digital-text-reading{overflow:hidden}
.digital-text-reader{position:fixed;z-index:20000;inset:0;background:#fffcf6;display:flex;flex-direction:column;overflow:hidden}
.digital-text-reader-top{display:flex;gap:20px;align-items:center;justify-content:space-between;min-height:58px;border-bottom:1px solid var(--line);padding:7px max(15px,env(safe-area-inset-left))}
.digital-text-reader-top button,.digital-text-reader-actions button{background:transparent;border:1px solid #cbd6cb;color:#254838;border-radius:7px;min-height:42px;padding:7px 12px;cursor:pointer;font-weight:600}
.digital-text-reader-actions{display:flex;gap:7px;align-items:center}.digital-text-reader-actions output{font-size:12px;color:#576a60;min-width:34px;text-align:center}
.digital-text-reader-content{overflow:auto;flex:1;padding:34px 20px 70px;overscroll-behavior:contain}
.digital-text-reader-masthead,.digital-text-body{max-width:740px;margin:0 auto}
.digital-text-reader-masthead{padding:12px 0 26px;border-bottom:1px solid #d6ded4;margin-bottom:27px}
#digital-text-meta{font-size:11px;letter-spacing:.08em;color:#996344;text-transform:uppercase;font-weight:650}
#digital-text-title{font:600 clamp(29px,5vw,43px)/1.12 var(--font-editorial);letter-spacing:-.02em;margin:9px 0 0;color:#273d32}
.digital-text-body{font:400 1em/1.73 var(--font-editorial);color:#283a30}
.digital-text-body p{font-size:1.1em;margin:0 0 1.2em}.digital-text-body h2,.digital-text-body h3,.digital-text-body h4{line-height:1.25;margin:1.6em 0 .55em;font-weight:650}
.digital-text-lead{font-size:1.18em!important;color:#506655;font-style:italic}
.digital-text-source{border-top:1px solid var(--line);padding-top:17px}.digital-text-source a{color:#2a654e}
.digital-text-editor-panel{max-width:660px}
#digital-text-form{display:grid;gap:12px}
#digital-text-form label{font-size:12px;display:grid;gap:5px;font-weight:650}
#digital-text-form input,#digital-text-form select,#digital-text-form textarea{width:100%;padding:10px;border:1px solid #aabbac;border-radius:7px;background:#fff}
#digital-text-form textarea{resize:vertical;min-height:65px}
#digital-text-body-input{min-height:200px!important}
.digital-text-form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#digital-text-form .digital-publish{display:flex;flex-direction:row;align-items:center;gap:8px}
#digital-text-form .digital-publish input{width:auto}
.digital-editor-note{font-size:12px;color:#5d675f;margin:0}
@media(max-width:900px){
 body .content{padding:17px 15px calc(102px + env(safe-area-inset-bottom,0px))}
 body .content .top{padding-bottom:13px;margin-bottom:16px}
 body .sidebar .nav button{color:#eff4e8;min-height:52px;font-size:11px}
 body .sidebar .nav button.active{background:#f1e8d7;color:#253d32;box-shadow:inset 0 3px 0 #b3864f}
 body .sidebar .nav button.active .nav-symbol,body .sidebar .nav button.active .nav-label{color:#253d32}
 body .sidebar .nav button .nav-label{font-size:11px}
 body .card{padding:19px 16px;border-radius:10px}
 body .heading{font-size:clamp(29px,6.5vw,36px)}
 body .hero{padding:22px 19px}
 /* V20.5.2: o botão de saída é independente do cartão do usuário. */
 body .account-actions{display:flex;align-items:center;gap:12px;min-width:0}
 body .account-actions .user-pill{display:flex;align-items:center;flex:0 1 auto;max-width:160px;min-width:0;padding:5px 10px 5px 5px}
 body .account-actions #top-name{max-width:105px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body .mobile-exit{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:0 0 auto;min-width:73px;height:44px;padding:0 10px;border:1px solid #a9bdb0;border-radius:9px;background:#fffdf8;color:#244237;font-size:13px;font-weight:700;line-height:1}
 body .mobile-exit:hover{background:#e6eee6}
 body .mobile-exit:focus-visible{outline:3px solid #ac7e4f;outline-offset:2px}
}
@media(max-width:540px){
 .digital-text-cards{grid-template-columns:1fr}
 .digital-collection-switch button{padding:10px 9px;font-size:13px}
 .digital-reader-top{gap:5px}
 body .digital-reader-controls{display:flex;flex-wrap:wrap;gap:5px;padding:7px 6px max(7px,env(safe-area-inset-bottom))}
 body .digital-reader-controls button{min-height:42px;min-width:39px}
 body .digital-epub-counter{min-width:78px;flex-basis:auto}
 body .digital-go-button{min-width:41px}
 body .digital-control-spacer{flex:0 1 0}
 body .digital-reader-controls span{font-size:11px}
 .digital-text-reader-content{padding:23px 18px 70px}
 .digital-text-body p{font-size:1.04em}
 .digital-text-reader-top{padding:7px 10px;gap:8px}
 .digital-text-reader-top button{padding:7px 8px;font-size:12px}
 .digital-text-form-row{grid-template-columns:1fr}
}
@media(max-width:365px){body .digital-reader-controls .digital-control-spacer{flex-basis:100%;height:0}body .digital-reader-controls{row-gap:2px}body .digital-text-reader-actions{gap:3px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

/* V20.5.2: em telas estreitas, separar título e controles em linhas próprias,
   evitando que o botão de sair fique comprimido ou seja cortado. */
@media(max-width:440px){
 body .content .top{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
 body .content .top .page-title-block{min-width:0}
 body .content .top .account-actions{width:100%;justify-content:flex-start;gap:12px}
 body .content .top .notify-wrap{flex:0 0 auto}
 body .content .top .user-pill{max-width:calc(100vw - 206px);flex:0 1 auto}
 body .content .top .user-pill #top-name{max-width:calc(100vw - 263px)}
 body .content .top .mobile-exit{margin-left:auto}
}

/* v205-administracao-notas.css */
/* V20.5 — Controles claros, leitura editorial e formulários móveis. */
.v205-workspace,.v205-note-admin,.v205-note-home{background:#fffdf7!important;border:1px solid #d9dfd4!important;box-shadow:none!important;border-radius:15px!important}
.v205-workspace{margin:0 0 16px}.v205-work-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.v205-work-head h2,.v205-note-home h2,.v205-note-admin h2{font-family:var(--font-editorial);color:#29473c;margin:7px 0;font-size:clamp(24px,3vw,32px)}
.v205-work-head p,.v205-note-admin>p{max-width:65ch}.v205-filter-row{display:grid;grid-template-columns:1.4fr 1fr;gap:12px;align-items:end;margin:15px 0}.v205-filter-row>.field{margin:0}.v205-filter-row select,.v205-filter-row input{min-height:46px}
.v205-desk-nav{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #e0e7dd;padding-bottom:15px;margin-top:6px}.v205-desk-nav button{min-height:44px}.v205-tabs{display:flex;gap:8px;margin:18px 0 14px}.v205-tabs .btn{flex:1 1 auto;min-height:46px}.v205-tabs .btn:not(.light){background:#2c604b;color:white}.v205-tabs .btn.light{background:#f3f5ef;color:#344f42;border:1px solid #d5e0d4}
.v205-answer-card,.v205-manuscript,.v205-feedback-card,.v205-note-q{background:#fdfcf9;border:1px solid #dce2d8;border-radius:11px;padding:16px;margin:0 0 12px}.v205-question-top{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#537466;font-size:12px;font-weight:700}.v205-answer-card h3{font-size:15px;line-height:1.5;margin:10px 0 8px;font-family:var(--font-body)}.v205-answer-content{background:#f4f6f0;padding:13px 14px;border-left:3px solid #89a797;border-radius:5px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.v205-grade-row{display:grid;grid-template-columns:minmax(100px,.5fr) minmax(0,1.5fr);gap:10px;margin:13px 0}.v205-grade-row input{max-width:150px}.v205-grade-row .field{margin:0}.v205-grade-row textarea{width:100%}.v205-workspace button:not(:disabled):focus-visible,.v205-note-home button:focus-visible,.v205-question-edit select:focus-visible{outline:3px solid #376b57;outline-offset:3px}
.v205-feedback-card{margin:16px 0 0}.v205-feedback-card h3{margin:0 0 7px;font-size:20px;font-family:var(--font-editorial)}.v205-feedback-card p{font-size:13px}.v205-feedback-card textarea{width:100%;margin:5px 0 12px;min-height:100px}.v205-group-card{background:#f6f7f2}.v205-status{min-height:21px;margin:10px 0 0;color:#2b6950;font-size:13px;font-weight:650}.v205-error{color:#9e3f36}.v205-photo-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px;margin:14px 0}.v205-photo-gallery>div{background:#f4f3ed;border:1px solid #dfe3da;border-radius:8px;padding:8px;text-align:center}.v205-photo-gallery img{height:230px;width:100%;object-fit:contain;display:block;margin-bottom:9px;cursor:zoom-in}.v205-photo-gallery button{min-height:44px}
.v205-photo-modal{position:fixed;inset:0;z-index:100000;background:rgba(15,20,17,.93);display:none;align-items:center;justify-content:center;padding:16px}.v205-photo-modal.visible{display:flex}.v205-photo-frame{display:flex;flex-direction:column;gap:10px;max-height:96dvh;max-width:100%;align-items:flex-end}.v205-photo-frame button{border:1px solid white;border-radius:8px;background:#fff;color:#263d32;min-height:44px;padding:8px 18px}.v205-photo-frame img{max-width:95vw;max-height:85dvh;object-fit:contain;overflow:auto}
.v205-advanced{margin:12px 0 20px;border:1px solid #d4ded5;border-radius:12px;background:#f8f9f5;overflow:hidden}.v205-advanced>summary{cursor:pointer;min-height:50px;padding:14px 16px;color:#436858;font-weight:700}.v205-advanced-inner{padding:10px 12px}.v205-advanced-inner>.card,.v205-advanced-inner>details{margin:8px 0}
.v205-note-home{margin:12px 0}.v205-note-heading{display:flex;justify-content:space-between;align-items:start;gap:12px;flex-wrap:wrap}.v205-note-text{white-space:pre-wrap;line-height:1.8;font-size:15px;max-width:76ch;margin:14px 0 20px}.v205-note-quiz{display:grid;gap:13px}.v205-note-activity{border-top:1px solid #e2e7df;padding:14px 0 0}.v205-note-activity>b{font-size:13px}.v205-note-activity>p{line-height:1.7}.v205-note-option{display:block;background:#f4f6f1;border:1px solid #dce4db;border-radius:9px;padding:12px 14px;margin:9px 0;cursor:pointer}.v205-note-option input{accent-color:#325b48}.v205-note-result{color:#315b45;font-weight:700}.v205-note-complete{background:#edf4ed;padding:13px 15px;border-radius:8px;color:#275b40;font-weight:700}.v205-note-activity .v205-fill-display{margin:12px 0;line-height:2.4}
.v205-fill-template,.v205-note-activity .v205-fill-display{font-size:15px;line-height:2.4;white-space:normal;overflow-wrap:anywhere}.v205-fill-choice,.v205-note-slot{display:inline-block;border:1px solid #b9cabd;border-radius:8px;padding:8px 28px 8px 10px;max-width:95%;min-height:44px;background:#fffdf8;color:#274a3e;font-size:14px;margin:2px 4px}.v205-check{display:flex;align-items:center;gap:8px;color:#456052;font-size:13px}.v205-editor-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:16px 0}.v205-editor-actions button{min-height:44px}.v205-note-q{margin:14px 0}.v205-note-q .field{margin:8px 0}.v205-note-q textarea{width:100%}.v205-note-admin .v205-note-q .v205-question-top{margin-bottom:9px}.v205-note-admin .muted{font-size:13px}.v205-note-admin h2{margin-bottom:8px}
.v205-question-edit .q-option{flex:1}.v205-option-row{display:flex;align-items:center;gap:8px;margin:7px 0}.v205-option-row>span{color:#658276;width:14px}.v205-option-row input{flex:1;min-width:0}.v205-option-row button{min-width:44px;min-height:44px}.v205-slot-editor{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:8px;margin:16px 0}.v205-slot-editor .field{margin:0}
@media(max-width:650px){.v205-workspace,.v205-note-home,.v205-note-admin{padding:15px 13px!important}.v205-filter-row{grid-template-columns:1fr}.v205-desk-nav .btn{padding:10px}.v205-answer-card,.v205-feedback-card,.v205-manuscript,.v205-note-q{padding:12px}.v205-grade-row{grid-template-columns:1fr}.v205-grade-row input{max-width:100%}.v205-photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.v205-photo-gallery img{height:160px}.v205-tabs{margin:10px 0}.v205-note-home h2,.v205-note-admin h2,.v205-work-head h2{font-size:25px}.v205-note-text{font-size:14px}.v205-note-heading .tag{white-space:normal}}

/* V20.5.1 — imagens do mural sem cortes e lacunas proporcionais ao texto. */
#study-image-card #study-images{grid-template-columns:minmax(0,1fr);min-width:0;}
#study-image-card #study-images img{display:block;width:auto!important;max-width:100%;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:center center;margin-inline:auto;border-radius:8px;}
/* O menu de palavra deve ser parte da frase, não um campo de formulário de largura inteira. */
#study-questions .v205-fill-template,
#v205-note-home .v205-fill-display{line-height:1.9!important;overflow-wrap:normal;word-break:normal;}
#study-questions select.v205-fill-choice,
#v205-note-home select.v205-note-slot{
 display:inline-block!important;box-sizing:border-box!important;
 min-width:0!important;max-width:calc(100vw - 85px)!important;
 height:34px!important;min-height:34px!important;
 padding:2px 23px 2px 8px!important;margin:2px 3px!important;
 vertical-align:middle!important;border-radius:6px!important;
 font-family:inherit!important;font-size:16px!important;font-weight:500!important;line-height:1.15!important;
 background-color:#fffdf8!important;color:#274a3e!important;
 text-align:left!important;flex:none!important;
}
#study-questions select.v205-fill-choice:focus-visible,
#v205-note-home select.v205-note-slot:focus-visible{outline:2px solid #2d6850;outline-offset:2px}

/* v21-assistente-ia.css */
/* V21 - UI administrativa editorial, adaptável ao celular. */
#adminAI .v21-intro{padding:18px 4px 8px}#adminAI .v21-intro h2{margin:4px 0;font-family:var(--font-editorial);font-size:clamp(28px,4vw,40px);color:#29483d}#adminAI .v21-intro p{color:#647568;max-width:720px}
#adminAI .v21-tabs{display:flex;overflow-x:auto;gap:8px;padding:4px 0 8px;scrollbar-width:thin}#adminAI .v21-tab{flex-shrink:0;border:1px solid #d3ddd3;background:#f7f8f3;color:#284b3e;border-radius:9px;padding:12px 13px;min-height:44px;cursor:pointer;font:600 13px var(--font-body)}#adminAI .v21-tab.active{background:#2d5643;color:#fff;border-color:#2d5643}#adminAI .v21-panel[hidden]{display:none!important}#adminAI .v21-message{min-height:23px;margin:2px 0;font-size:13px;color:#326b48}#adminAI .v21-error{color:#a84032}#adminAI.v21-busy button{opacity:.65;pointer-events:none}#adminAI .card{margin-bottom:16px}#adminAI textarea{width:100%;resize:vertical;line-height:1.5}#adminAI .v21-count-grid{display:grid;grid-template-columns:minmax(90px,1.6fr) repeat(3,minmax(55px,1fr));gap:8px;align-items:center;margin:14px 0}#adminAI .v21-count-grid>b{text-align:center;font-size:12px;min-width:0}#adminAI .v21-count-grid>b:nth-child(4n+1){text-align:left}#adminAI .v21-count-grid input{width:100%;min-width:0;text-align:center;padding:9px 5px}#adminAI .v21-reference{border:1px solid #dde2d7;border-radius:8px;padding:10px;margin:12px 0}#adminAI .v21-reference summary{cursor:pointer;font-weight:600}#adminAI .v21-reference textarea{margin:8px 0}#adminAI .v21-proposal-item{background:#fafaf6;border:1px solid #e4e5de;border-radius:9px;padding:13px;margin:12px 0}#adminAI .v21-proposal-head{display:flex;gap:8px;align-items:center;justify-content:space-between;margin-bottom:8px}#adminAI .v21-proposal-options{padding-left:24px;margin:5px 0 12px;line-height:1.55}#adminAI .v21-proposal-footer{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}#adminAI .v21-grade-item{border:1px solid #e5e6df;border-radius:10px;padding:14px;margin:13px 0}#adminAI .v21-grade-item .field{margin:9px 0}#adminAI .v21-separator{border-top:1px solid #e0e5dc;margin:22px 0}#adminAI .v21-metric-person{padding-top:14px;border-top:1px solid #e0e5dc;margin-top:14px}#adminAI .v21-table-scroll{overflow-x:auto}#adminAI .v21-table{width:100%;border-collapse:collapse;font-size:13px;min-width:440px}#adminAI .v21-table th,#adminAI .v21-table td{padding:10px 7px;text-align:left;border-bottom:1px solid #e4e7e0}#adminAI .v21-table th{font-weight:600;color:#2f5144}#adminAI .v21-metric-person h4{margin-bottom:4px}#adminAI .v21-panel .btn{min-height:42px}#adminAI label.field{display:block;font-size:13px;font-weight:600;margin:10px 0;color:#315244}#adminAI label.field>input,#adminAI label.field>select,#adminAI label.field>textarea{margin-top:5px}#adminAI .v21-grade-item .btn{margin-top:6px}
@media(max-width:530px){#adminAI .card{padding:16px}#adminAI .v21-tabs{margin:0 -10px;padding-left:10px;padding-right:10px}#adminAI .v21-tab{font-size:12px}#adminAI .v21-count-grid{gap:5px;grid-template-columns:minmax(75px,1.5fr) repeat(3,minmax(47px,1fr))}#adminAI .v21-count-grid>b{font-size:11px}#adminAI .v21-count-grid input{font-size:14px}#adminAI .v21-proposal-footer .btn{width:100%}#adminAI .v21-table{min-width:400px}}

/* V21.1: consumo medido após cada operação. */
#adminAI .v211-meter{border:1px solid #b6cbb9;border-radius:12px;background:#f1f6ef;padding:15px;margin:12px 0 18px;color:#244638;}
#adminAI .v211-meter-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;}
#adminAI .v211-kicker{display:block;font-size:10px;letter-spacing:.09em;font-weight:700;color:#4a6c5b;margin-bottom:5px;}
#adminAI .v211-remaining{font-size:clamp(17px,2.5vw,23px);font-weight:700;line-height:1.25;}
#adminAI .v211-meter-track{height:10px;background:#d2ddd2;border-radius:15px;overflow:hidden;margin:13px 0 9px;}
#adminAI .v211-meter-track>div{height:100%;width:0;background:#4f8061;transition:width .28s ease;}
#adminAI .v211-meter-meta{font-size:12px;font-weight:600;line-height:1.5;}
#adminAI .v211-meter-source{font-size:12px;margin:8px 0;line-height:1.45;color:#567163;}
#adminAI .v211-meter details{border-top:1px solid #d5dfd3;padding-top:9px;margin-top:10px;}
#adminAI .v211-meter summary{font-weight:600;cursor:pointer;min-height:36px;}
#adminAI .v211-table-wrap{overflow-x:auto;max-width:100%;}
#adminAI .v211-table-wrap table{width:100%;border-collapse:collapse;font-size:12px;}
#adminAI .v211-table-wrap th,#adminAI .v211-table-wrap td{padding:8px;text-align:left;border-bottom:1px solid #d9e3d8;}
#adminAI .v211-warning{color:#9b562f;font-weight:600;font-size:12px;}
@media(max-width:400px){#adminAI .v211-meter{padding:12px}#adminAI .v211-meter-top .btn{padding:8px 10px;font-size:12px;}}

/* V21.2: instruções pontuais para IA e banco de palavras. */
#adminAI #v212-generation-instructions,#adminAI #v212-grading-instructions{width:100%;min-height:95px;resize:vertical}#adminAI .v212-answer-bank{background:#f5f7f3;border:1px solid #dce5da;border-radius:8px;padding:12px;margin:10px 0}#adminAI .v212-answer-bank>strong{display:block;margin-bottom:8px;font-size:13px;color:#315944}#adminAI .v212-answer-bank>small{display:block;margin-top:7px;color:#587564}#adminAI .v212-answer-bank ol{columns:2;column-gap:25px}#adminAI .v212-answer-bank li{break-inside:avoid}#adminAI .v21-tabs{scroll-margin-top:16px}

/* V21.2.1: a IA tem aba própria; no celular, nunca cortar botões extras do menu administrativo. */
@media (max-width:900px){
  .admin-mode .sidebar .nav{
    display:flex!important;
    grid-template-columns:none!important;
    flex-wrap:nowrap!important;
    align-items:stretch;
    justify-content:flex-start;
    max-width:100%;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x proximity;
    scrollbar-width:thin;
    gap:2px;
  }
  .admin-mode .sidebar .nav > button.admin-only[data-view]{
    display:flex!important;
    flex:0 0 clamp(65px, 20vw, 90px);
    width:clamp(65px, 20vw, 90px);
    min-width:0;
    scroll-snap-align:start;
  }
  .admin-mode .sidebar .nav > button[data-view="adminAI"] .nav-label{font-weight:800;}
}

/* V21.4 — fila de correções: respostas legíveis, aprovações por questão e resumos compactos. */
#adminAI .v214-summary{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
#adminAI .v214-summary span{background:#f0f4ed;border:1px solid #d8e2d5;border-radius:7px;color:#2d4e3e;padding:9px 12px;font-size:13px}
#adminAI .v214-main-actions{display:flex;gap:9px;flex-wrap:wrap;margin:14px 0}
#adminAI .v214-main-actions .btn{max-width:100%;white-space:normal;text-align:center}
#adminAI .v214-people{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:10px;margin-top:12px}
#adminAI .v214-person{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f7f8f4;border:1px solid #dce2d7;border-radius:8px;padding:14px}
#adminAI .v214-person p{margin:5px 0;font-size:12px}
#adminAI .v214-person small{color:#62786c}
#adminAI .v214-detail{scroll-margin-top:90px}
#adminAI .v214-section-title,#adminAI .v214-question-head{display:flex;gap:8px;justify-content:space-between;align-items:start;flex-wrap:wrap}
#adminAI .v214-question{background:#fcfcfa}
#adminAI .v214-question-head{margin-bottom:12px}
#adminAI .v214-status{font-size:12px;font-weight:650;border-radius:6px;padding:4px 8px;background:#eef1ec;color:#43584c}
#adminAI .v214-draft{background:#fff1d8;color:#805a26}
#adminAI .v214-approved{background:#dfefe1;color:#276040}
#adminAI .v214-prompt,#adminAI .v214-answer{font-size:14px;line-height:1.55;margin:10px 0}
#adminAI .v214-prompt strong,#adminAI .v214-answer strong{font-size:12px;color:#53735f}
#adminAI .v214-prompt p,#adminAI .v214-answer p{margin:4px 0;white-space:pre-wrap;overflow-wrap:anywhere}
#adminAI .v214-answer{padding:12px 13px;background:#f0f4ef;border-radius:7px}
#adminAI .v214-approved-grade{background:#eaf3ea;padding:12px;border-radius:7px;font-size:14px}
#adminAI .v214-approved-grade p{margin:6px 0 0;white-space:pre-wrap}
#adminAI .v214-question-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
#adminAI .v214-edit{display:grid;grid-template-columns:minmax(120px,.4fr) minmax(0,1fr);gap:10px}
#adminAI .v214-complete{color:#276040;font-weight:650}
@media(max-width:630px){#adminAI .v214-main-actions .btn{width:100%}#adminAI .v214-edit{grid-template-columns:1fr}#adminAI .v214-question-actions .btn{width:100%}#adminAI .v214-person{align-items:start;flex-direction:column}#adminAI .v214-person .btn{width:100%}}

/* V21.5 — laboratório de prompts e configuração única do professor. */
#adminAI .v215-test-card .v215-helpers{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 16px}
#adminAI #v215-test-prompt,#adminAI #v215-professor-prompt{font-family:var(--font-body);font-size:13px;line-height:1.55;tab-size:2}
#adminAI .v215-test-result{margin-top:18px;border:1px solid #d5ded5;border-radius:10px;padding:15px;background:#f6f7f3}
#adminAI .v215-result-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
#adminAI .v215-result-head h4{margin:0;font-size:17px;color:#284e3a}
#adminAI #v215-test-output{display:block;min-height:100px;max-height:600px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;background:#fffdfa;border:1px solid #e4e6df;border-radius:7px;padding:14px;line-height:1.55;font:400 14px/1.6 var(--font-body);color:#243d33;user-select:text}
#adminAI .v215-test-result .muted{font-size:12px;margin:9px 0}
@media(max-width:600px){#adminAI .v215-helpers>.btn,#adminAI .v215-result-head>.btn{width:100%}#adminAI .v215-result-head{align-items:stretch;flex-direction:column}#adminAI #v215-test-output{font-size:14px;padding:11px}}

/* V21.6 — opções destrutivas separadas dos botões principais */
.v216-admin-reset{border-top:1px solid var(--line, #ddd);margin-top:18px;padding-top:14px}
.v216-admin-reset summary{cursor:pointer;font-weight:650;line-height:1.5}
.v216-reset-buttons{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.v216-danger{border-color:#b86b62!important;color:#8b2d25!important}
@media(max-width:520px){.v216-reset-buttons{flex-direction:column}.v216-reset-buttons .btn{width:100%;white-space:normal}}

/* V21.6.3: controles de reinicialização sempre visíveis e versões identificáveis */
#adminAI .v216-admin-reset{margin-top:18px;border:1px solid #cadbd0;background:#f7faf7;padding:16px;border-radius:12px;}
#adminAI .v216-admin-reset h4{font-size:16px;color:#2f5642;margin:0 0 6px;line-height:1.4;}
#adminAI .v216-reset-buttons{margin-top:12px;display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:9px;}
#adminAI .v216-reset-buttons .btn{width:100%;white-space:normal;line-height:1.35;min-height:50px;}
#adminAI .v216-danger{border-color:#c17b76!important;color:#8a312b!important;}
.v2163-version-panel{padding:12px 14px;margin-bottom:14px;border:1px solid #bdd4c6;border-radius:11px;background:#f0f7f0;color:#2a503c;}
.v2163-version-panel strong{font-size:14px;}
.v2163-version-panel p{font-size:12px;line-height:1.5;margin:5px 0 0;}
.v2163-version-panel .btn{display:inline-flex;margin-top:8px;}
#adminAI .v2163-outdated{color:#b34336;font-weight:700;}
@media(max-width:520px){#adminAI .v216-reset-buttons{grid-template-columns:1fr}.v2163-version-panel .btn{width:100%;justify-content:center;}}

/* V21.7: importação textual com gabarito oculto */
.v217-import .v217-paste-text{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;line-height:1.6;width:100%;min-height:240px}
.v217-import .eyebrow{letter-spacing:.08em}
.v217-import .form-grid{margin-top:14px}
.v217-import .row{margin:12px 0}
.v21-tabs{display:flex;flex-wrap:wrap;gap:6px}
@media(max-width:480px){.v217-import .row>button{width:100%}.v217-import{padding:14px}}

/* V21.8: as duas tarefas principais são imediatamente reconhecíveis. */
#adminAI .v21-tab.v218-primary{border-color:#8cae99;background:#e8f0e6;color:#28523c;font-weight:750}
#adminAI .v21-tab.v218-primary.active{background:#24533c;border-color:#24533c;color:white}
#adminAI .v21-panel#v21-generate>div#v21-proposals{margin-top:14px}

/* v21-antecipacao.css */
/* Coram Deo — V21.3: aviso e autorização de atividades futuras */
.v213-future-banner{margin:0 0 16px;padding:22px 20px;border:2px solid #9a602f;border-radius:10px;background:#fff4d9;color:#553b23;text-align:center;box-shadow:0 2px 0 #e6cda3}
.v213-upcoming-label{font-weight:900;font-size:clamp(20px,5vw,31px);letter-spacing:.025em;line-height:1.23;text-transform:uppercase}
.v213-upcoming-date{font-size:clamp(31px,8vw,51px);font-weight:900;line-height:1.2;color:#5d3b19;margin:8px 0 12px;text-transform:uppercase}
.v213-future-banner p{font-size:15px;line-height:1.5;margin:6px auto 16px;max-width:620px;color:#544d3c}
.v213-request-button{background:#315f49!important;color:#fff!important;min-height:48px}
#study.v213-future-locked>.two>.stack:first-child>*:not(#v18-study-picker),#study.v213-future-locked>.two>.stack:nth-child(2){display:none!important}
#study.v213-future-locked .two{display:block!important}
.v213-requests,.v213-requests-summary{margin:12px 0 18px;padding:18px!important;border:1px solid #cbdcca;background:#f8fbf5}
.v213-admin-head h3,.v213-requests-summary h3{margin:5px 0;color:#2d563f}
.v213-admin-head p,.v213-requests-summary p{font-size:13px;color:#52665b}
.v213-count{display:inline-block;padding:2px 8px;margin-left:8px;background:#dbead8;border-radius:18px;font-size:13px}
.v213-approval-row{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #d9e5d6;padding:14px 0}
.v213-approval-row strong,.v213-approval-row span{display:block}
.v213-approval-row span{color:#66786e;font-size:12px;margin-top:3px}
.v213-actions{display:flex;gap:8px;flex-shrink:0}
.v213-actions button{min-height:42px}
@media(max-width:540px){.v213-future-banner{padding:19px 12px}.v213-approval-row{align-items:stretch;flex-direction:column}.v213-actions button{flex:1 1 auto}}

/* Estrutura da trilha e dos cartões de progresso */
.card{padding:clamp(16px,2vw,26px)}
.profile-head{flex-wrap:wrap}
.rank{padding:15px 0}
/* Uma trilha inteiramente nova. A fita superior mantém TODOS os oito avatares no mobile. */
.trail.q219-trail{padding:0!important;margin:15px 0 0!important;background:transparent!important;border:0!important;overflow:visible!important;height:auto!important}
.q219-trail-wrap{display:grid;gap:15px;min-width:0}
.q219-trail-head{display:flex;justify-content:space-between;gap:15px;align-items:center;flex-wrap:wrap}
.q219-trail-head h3{font:600 clamp(20px,3vw,26px)/1.18 var(--font-editorial);color:#26375f;margin:0}
.q219-trail-head p{font-size:12px;line-height:1.5;color:#47546d;margin:3px 0 0}
.q219-count{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;background:#fff4e8;color:#8d543f;padding:8px 12px;border-radius:999px;font-size:11px;font-weight:800;border:1px solid #f0d8c4}
.q219-party{border:1px solid #e0e5f2;border-radius:21px;padding:15px;background:linear-gradient(135deg,#fff 0%,#f6f5ff 100%);box-shadow:0 8px 25px #3345780c}
.q219-party-head{font-size:11px;text-transform:uppercase;letter-spacing:.1em;font-weight:800;color:#66729b;margin:0 0 12px}
.q219-party-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px}
.q219-avatar{position:relative;display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0;padding:7px 3px 6px;border:1px solid #e5e7f4;background:#fff;border-radius:15px;color:#2b3558;cursor:pointer;transition:transform .15s,border-color .15s}
.q219-avatar:hover{border-color:#b9bce9;transform:translateY(-2px)}
.q219-avatar-icon{width:clamp(32px,4.2vw,47px);height:clamp(40px,5.3vw,56px);display:flex;align-items:center;justify-content:center;background:#f0edff;border-radius:11px;overflow:hidden;flex-shrink:0}
.q219-avatar-icon .avatar,.q219-stage-person .avatar{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;animation:none!important;overflow:hidden!important;display:block;flex-shrink:0}
.q219-avatar-icon .avatar{height:100%!important;width:100%!important}
.q219-avatar-icon svg,.q219-stage-person svg{display:block;width:100%!important;height:100%!important;max-width:100%;max-height:100%;filter:none!important}
.q219-avatar-name{font-size:10px;font-weight:800;max-width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.q219-avatar-day{font-size:9px;color:#47546d;font-weight:700;white-space:nowrap}
.q219-avatar-indicator{width:8px;height:8px;position:absolute;right:4px;top:4px;border:2px solid white;border-radius:50%;background:#aeb6c5}
.q219-avatar[data-progress="late"] .q219-avatar-indicator{background:#d67653}
.q219-avatar[data-progress="current"] .q219-avatar-indicator,.q219-avatar[data-progress="done"] .q219-avatar-indicator{background:#29936e}
.q219-avatar[data-progress="today"] .q219-avatar-indicator{background:#dca34f}
.q219-route-caption{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#53638b;font-size:11px;font-weight:800;letter-spacing:.035em}
.q219-route-scene{position:relative;border-radius:23px;border:1px solid #e0e5f2;padding:18px;background:linear-gradient(140deg,#e8ecff,#fdf1e6 76%,#fff);overflow:hidden}
.q219-route-scene:before{content:'';position:absolute;inset:0;pointer-events:none;opacity:.4;background-image:radial-gradient(#8e92c4 1px,transparent 1px);background-size:25px 25px;mask-image:linear-gradient(to bottom,#000,transparent 85%)}
.q219-route-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;position:relative;z-index:1;align-items:stretch}
.q219-stage{position:relative;min-width:0;background:#ffffffed;border:1px solid #dbe0ee;border-radius:18px;padding:0;box-shadow:0 8px 24px #2b39721a;overflow:hidden;display:flex;flex-direction:column}
.q219-stage-visual{position:relative;min-height:80px;background:linear-gradient(120deg,#cfdbf2,#f7e4c8);overflow:hidden}
.q219-stage-visual svg{width:100%;height:100%;min-height:80px;max-height:100px;display:block}
.q219-stage-step{position:absolute;top:9px;left:9px;border-radius:999px;background:#1b2948ed;color:#fff;padding:6px 10px;font-size:10px;font-weight:800}
.q219-stage-details{padding:13px 13px 12px;display:grid;gap:3px;flex:1}
.q219-stage-title{font:600 17px/1.16 var(--font-editorial);color:#2a385c;overflow-wrap:anywhere}
.q219-stage-date{font-size:10px;color:#47546d;font-weight:700;line-height:1.4}
.q219-stage-badge{align-self:start;margin:5px 0 0;font-size:10px;padding:5px 8px;border-radius:999px;background:#edf1fd;color:#5967a4;font-weight:800}
.q219-stage-badge.completed{background:#dcf5e9;color:#247455}
.q219-stage-badge.locked{background:#eceff5;color:#47546d}
.q219-stage-crowd{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:9px 10px 12px;background:#f7f8fe;border-top:1px solid #eaecf4;align-content:start;min-height:52px}
.q219-stage-person{min-width:0;display:flex;justify-content:center;align-items:center;background:#fff;border:1px solid #e0e5f1;border-radius:9px;height:41px;padding:2px;cursor:pointer;position:relative}
.q219-stage-person .avatar{width:32px!important;height:37px!important}
.q219-stage-empty{grid-column:1/-1;display:block;text-align:center;color:#526078;font-size:10px;padding:10px 4px}
.q219-trail .trail-controls{margin:0;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}
.q219-trail .trail-count{color:#536186;font-weight:700;text-align:center;font-size:11px}
.q219-trail .trail-controls button{min-width:0}
.q219-legend{display:flex;gap:13px;flex-wrap:wrap;font-size:10px;color:#66718b;align-items:center}
.q219-legend span{display:inline-flex;gap:5px;align-items:center}
.q219-legend i{display:inline-block;width:9px;height:9px;border-radius:50%;background:#27936e}
.q219-legend .late i{background:#d67653}.q219-legend .today i{background:#dca34f}
/* Indicadores individuais para quem está recuperando estudos */
.q219-home-status{display:flex;gap:10px;flex-wrap:wrap;margin:13px 0 0}
.q219-home-status .q219-metric{border-radius:12px;background:#fff;border:1px solid #d9d3c8;padding:10px 12px;min-width:92px}
.q219-home-status b{font-size:20px;display:block;color:#202943;line-height:1.2}
.q219-home-status span{font-size:12px;color:#47546d}
.q219-hero-alert{border-radius:999px;background:#f8e6ce;color:#7b3e2c;padding:6px 10px;font-size:11px;font-weight:800;display:inline-block;margin-top:10px}
.q219-hero-alert.current{background:#dff5e9;color:#285c4d}
.q219-home-next{font-size:12px;color:#eef0ff;margin-top:8px}
.q219-home-next strong{color:#fff}
.q219-home-status+*{margin-top:12px}
.q219-trail-status{font-size:10px;color:#58668d}
/* Mobile: 8 avatares em duas linhas de 4, cenas empilhadas em uma trilha contínua */
@media(max-width:900px){
 .sidebar{background:#1d2948;border-top:1px solid #57638d;box-shadow:0 -8px 30px #202d5860}
 .nav button.active{background:#3e4b79;box-shadow:inset 0 3px 0 #f4be70}
 .content{padding:21px 13px calc(94px + env(safe-area-inset-bottom,0px))}
 .heading{font-size:clamp(28px,7.1vw,38px)}
 .hero{padding:23px 18px;border-radius:22px}
 .hero h2{font-size:clamp(27px,7vw,38px)}
 .q219-route-list{grid-template-columns:1fr;gap:0;padding-left:25px}
 .q219-route-list:before{content:'';position:absolute;left:6px;top:36px;bottom:36px;width:5px;border-radius:6px;background:linear-gradient(#c596cf,#6f83c9,#dcaa77);z-index:0}
 .q219-stage{margin-bottom:15px;overflow:visible;border-radius:17px}
 .q219-stage:before{content:'';position:absolute;left:-27px;top:30px;width:16px;height:16px;border-radius:50%;border:3px solid #fff;background:#6276ca;box-shadow:0 0 0 2px #b6c0eb;z-index:2}
 .q219-stage-visual{border-radius:16px 16px 0 0;min-height:60px;max-height:83px}
 .q219-stage-visual svg{min-height:60px;max-height:83px}
 .q219-route-scene{padding:15px 12px 0 17px}
 .q219-stage-details{padding:12px 12px 9px}
 .q219-stage-title{font-size:17px}
 .q219-stage-crowd{min-height:0;gap:6px}
 .q219-stage-person{height:45px}
 .q219-stage-person .avatar{width:37px!important;height:40px!important}
 .q219-party{padding:12px 10px}
 .q219-party-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
 .q219-avatar{padding:6px 2px 5px;min-height:78px}
 .q219-avatar-icon{width:42px;height:48px}
 .q219-avatar-name{font-size:10px}
 .q219-avatar-day{font-size:9px}
 .q219-trail .trail-controls{display:grid;grid-template-columns:1fr auto 1fr;align-items:center}
 .q219-trail .trail-controls .btn{font-size:10px!important;padding:9px 5px!important}
 .group-hero{gap:13px}
 .group-mini{background:#f5f6fc}
}
@media(max-width:350px){.q219-avatar-icon{width:36px;height:43px}.q219-avatar-name{font-size:9px}.q219-stage-person .avatar{width:30px!important;height:35px!important}.q219-stage-crowd{gap:4px;padding:8px}.q219-route-scene{padding-left:12px;padding-right:9px}}
@media(prefers-reduced-motion:reduce){.q219-avatar{transition:none}.q219-avatar:hover{transform:none}}

.q219-beyond{position:relative;z-index:2;margin-top:14px;padding:12px;background:#ffffffb8;border:1px dashed #bfc6e3;border-radius:14px}
.q219-beyond>strong{display:block;color:#53608c;font-size:11px;margin-bottom:10px}
.q219-beyond-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.q219-beyond-entry{display:flex;align-items:center;gap:7px;min-width:0}
.q219-beyond-entry b,.q219-beyond-entry small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.q219-beyond-entry b{font-size:10px;color:#2f3f70}.q219-beyond-entry small{font-size:9px;color:#47546d}
.q219-beyond-entry .q219-stage-person{flex:0 0 37px;width:37px;height:43px}
@media(max-width:900px){.q219-beyond-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.q219-beyond{margin-bottom:12px}}
@media(max-width:350px){.q219-beyond-grid{grid-template-columns:minmax(0,1fr)}.q219-beyond-entry{padding:3px 0}.q219-beyond-entry .q219-stage-person{flex-basis:35px}}
/* Polimento transversal: cores funcionais e tipografia para além da trilha */
#study .card,#digital .card,#adminAI .card,#admin .card,#group .card,#qa .card{border-color:#e1e5f1}
#group .group-hero>div:first-child{background:linear-gradient(155deg,#fff,#f6f6ff)}
#home .home-prayer-action .btn{background:#c87963}
#study .question-edit{border-radius:17px;background:#f7f8fd}
#study .question-type{background:#e5eafb;color:#485ca5}
#study .answer:has(input:checked){border-color:#7373c0;background:#f1effc}
#group .rank button:hover,#group .member-card button:hover{text-decoration:underline;text-decoration-color:#9a8ac5}
#group .rank .avatar{background:#f0edfd;border:1px solid #e1dff5}
#group .mural-day{background:#f9faff;border-color:#e1e4f1}
#group .mural-person{border-color:#dfe3ef}
#group .mural-objective-card{background:#f3f5ff;border-color:#e1e4f6}
#group .mural-objective-title{color:#465a95}
#adminAI .v21-panel,#adminAI .v21-proposal{--green:#5267b9;--forest:#27385e}
#adminAI .v21-proposal-item{background:#f6f7ff;border-color:#e1e3f2}
#adminAI .v21-busy{cursor:wait}
#admin .admin-banner,#adminReview .admin-banner{background:linear-gradient(120deg,#24345b,#534c84)}
#digital .digital-admin-intro{background:linear-gradient(120deg,#e9edff,#fff5e9)}
#avatar .option.selected{border-color:#5c6fc6;background:#edeefe}
#avatar .avatar-choice-grid .option:hover{border-color:#8d9bd3}
#profile .profile-head .tag{background:#eff0ff;color:#515fa2}
#home .v203-pending-card{background:linear-gradient(135deg,#fff8f0,#faf7ff);border:1px solid #eadace;border-radius:18px}
#home .v203-pending-title h3{color:#594470;font-family:var(--font-editorial)}
#home .v203-pending-list>button{border-color:#e6dfe9;border-radius:12px;color:#2a3458}
#home .v203-home-secondary>summary,#group .v203-group-fold>summary{color:#3e5281}
#home .v203-home-secondary,#group .v203-group-fold{background:#fafaff;border-color:#e3e6f2}
#home .v203-pending-list>button:hover{border-color:#a49dce;background:#f4f1ff}
@media(max-width:900px){.stat{padding:15px 12px}.card{box-shadow:0 9px 28px #2336620a}.nav button .nav-symbol{font-size:21px}.nav .nav-label{font-weight:800}.q219-home-status{gap:7px}.q219-home-status .q219-metric{flex:1 1 70px;min-width:0;padding:9px}}


/* Pares de contraste mantidos por superfície, mesmo com as folhas legadas. */
body #home .hero{background:#f4efe5;color:#202943;padding:clamp(20px,4vw,38px)}
body #home .hero::before{content:none}
body #home .hero h2{font:600 clamp(28px,4vw,44px)/1.13 var(--font-editorial);color:#202943}
body #home .hero p,body #home .hero .eyebrow,body #home .hero .hero-reference{color:#47546d}
body #home .hero p{font-size:15px}
body #home .hero .btn{background:#243860;color:#fff;border-color:#243860}
body .auth-art{background:linear-gradient(150deg,#15274a,#253e67);color:#fff;justify-content:center}
body .auth-art h2{font-family:var(--font-editorial)}
body .auth-art p,body .auth-art small,body .auth-art-kicker{color:#fff}
body #admin .card.admin-banner,body #adminReview .card.admin-banner{background:#21345a;color:#fff}
body #admin .card.admin-banner h2,body #adminReview .card.admin-banner h2,
body #admin .card.admin-banner p,body #adminReview .card.admin-banner p,
body #admin .card.admin-banner .eyebrow,body #adminReview .card.admin-banner .eyebrow{color:#fff}
#group .group-hero{grid-template-columns:minmax(0,1fr)}
#avatar .option-grid .option{display:grid;grid-template-rows:auto auto;justify-items:center;align-content:center;gap:7px;min-height:70px;line-height:1.35;color:#202943}
#avatar .option-grid .option .swatch{display:block;position:static;width:24px;height:24px;margin:0;grid-row:1}
#avatar .option-grid .option .swatch+span{grid-row:2;overflow-wrap:anywhere}
#avatar .option-grid .option>span:only-child{grid-row:1}
.q219-avatar-name{white-space:normal;overflow-wrap:anywhere;font-size:11px}
.q219-avatar-day,.q219-avatar-status{font-size:11px;color:#47546d;line-height:1.2}
.q219-avatar-status{font-weight:700}
.q219-avatar[data-progress="late"] .q219-avatar-status{color:#8a3928}
.q219-beyond-entry>span{min-width:0}
.q219-route-caption{flex-wrap:wrap}
.q219-route-caption label{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0}
.q219-stage-select{width:auto;max-width:min(100%,255px)}
#adminAI .v21-tabs{flex-wrap:wrap;overflow:visible}
#adminAI .v21-tab{font-family:inherit}
#adminAI .v21-tab.active{background:#243860;color:#fff;border-color:#243860}
#adminAI .v21-message:not(:empty),#adminAI .v21-proposal-error:not([hidden]){padding:9px 12px;background:#eaf1fc;color:#23355b;border-radius:8px;line-height:1.45}
#adminAI .v21-message.v21-error,#adminAI .v21-proposal-error:not([hidden]){background:#fff0ec;color:#842c22}
#adminAI .v21-proposal-schedule{border-top:1px solid #dfe3ef;margin-top:14px;padding-top:8px}
#adminAI .v21-proposal-date{display:block;max-width:220px}
#adminAI :focus-visible,.q219-trail :focus-visible,#avatar .option:focus-visible{outline:3px solid #2858a6;outline-offset:2px}
@media(max-width:520px){
 #adminAI .v21-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 #adminAI .v21-tab{white-space:normal;text-align:center}
}

.q219-trail .journey-thought-wall summary{color:#43315f;font-weight:700;cursor:pointer}
.q219-trail .journey-thought-cards{margin-top:10px}
