:root{--navy:#071b36;--navy2:#0d294c;--blue:#1267ed;--bg:#f3f7fc;--text:#0b1b37;--muted:#71809a;--line:#e4ebf4;--purple:#7c3aed;--green:#22a447;--orange:#ff8a1f;--red:#ed3153}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Arial;color:var(--text);background:var(--bg)}a{text-decoration:none;color:inherit}.app{display:grid;grid-template-columns:245px 1fr;min-height:100vh}.side{background:linear-gradient(180deg,var(--navy),#092541);color:#fff;padding:28px 16px;position:fixed;inset:0 auto 0 0;width:245px;display:flex;flex-direction:column}.logo{font-weight:900;font-size:22px;text-align:center;margin-bottom:30px}.logo small{display:block;font-size:10px;letter-spacing:2px;font-weight:600}.menu a{display:flex;gap:12px;align-items:center;padding:12px 14px;border-radius:11px;margin:4px 0;color:#d7e2f1}.menu a:hover,.menu a.active{background:linear-gradient(90deg,#1474ff,#1262dc);color:#fff}.sidefoot{margin-top:auto;color:#a9bdd3;font-size:12px}.main{grid-column:2;padding:22px;max-width:1500px;width:100%;margin:auto}.topbar{height:54px;display:flex;align-items:center;gap:16px;margin-bottom:16px}.search{background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 16px;max-width:430px;flex:1;color:var(--muted)}.user{margin-left:auto;display:flex;align-items:center;gap:10px}.avatar{width:42px;height:42px;border-radius:50%;object-fit:cover;background:#dbe9fb;display:grid;place-items:center;font-weight:800;color:#1859a8}.hero{background:linear-gradient(110deg,#064187,#0a65bd 60%,#07376b);border-radius:20px;color:#fff;padding:28px 34px;min-height:190px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 12px 35px #0b5ca52a}.hero h1{font-size:34px;margin:0 0 6px}.hero p{margin:0;line-height:1.5;color:#e7f1ff}.verse{font-family:Georgia,serif;font-style:italic;font-size:20px;text-align:right;max-width:330px}.ministries{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:16px 0}.mcard,.panel{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 5px 18px #1c47730c}.mcard{padding:14px;display:flex;align-items:center;gap:12px}.mico{width:52px;height:52px;border-radius:13px;display:grid;place-items:center;color:#fff;font-size:25px}.purple{background:linear-gradient(135deg,#9348ee,#6425d8)}.green{background:linear-gradient(135deg,#54c85a,#15943b)}.orange{background:linear-gradient(135deg,#ffa73c,#f27600)}.red{background:linear-gradient(135deg,#fa4d6c,#d91d43)}.mcard b{display:block}.mcard small{color:var(--muted)}.cols{display:grid;grid-template-columns:2fr 1fr;gap:16px}.panel{padding:18px;margin-bottom:16px}.panel h2{font-size:17px;margin:0 0 14px}.next{border:1px solid var(--line);border-radius:14px;padding:15px;display:grid;grid-template-columns:82px 1fr;gap:16px}.datebox{background:#edf4ff;border-radius:12px;text-align:center;padding:8px;color:#1267ed}.datebox strong{display:block;font-size:32px}.tag{display:inline-block;border-radius:7px;padding:5px 8px;font-size:10px;font-weight:800;background:#efe7ff;color:#6d28d9}.roles{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:12px}.role{background:#f7f9fc;border-radius:10px;padding:10px;font-size:12px}.role b{display:block}.listitem{display:grid;grid-template-columns:60px 1fr auto;align-items:center;gap:12px;border-top:1px solid var(--line);padding:13px 4px}.listitem:first-of-type{border-top:0}.listitem .day{font-size:22px;font-weight:800;color:#1267ed}.muted{color:var(--muted);font-size:13px}.event{display:flex;gap:12px;padding:12px 0;border-top:1px solid var(--line)}.event:first-of-type{border-top:0}.pilldate{width:48px;height:48px;border-radius:12px;background:#edf4ff;color:#1267ed;display:grid;place-items:center;font-weight:800}.bottom{display:none}.loginbody{min-height:100vh;display:grid;grid-template-columns:1.1fr .9fr;background:#fff}.loginbrand{background:linear-gradient(145deg,#061b36,#0756a0);color:#fff;padding:8vw;display:flex;flex-direction:column;justify-content:center}.loginbrand h1{font-size:48px;margin:0}.loginbrand p{max-width:470px;line-height:1.6}.loginbox{display:grid;place-items:center;padding:30px}.formcard{width:min(420px,100%)}.formcard h2{font-size:32px}.field{margin:14px 0}.field label{display:block;font-size:13px;font-weight:700;margin-bottom:6px}.field input{width:100%;padding:14px;border:1px solid #d6dfeb;border-radius:11px;font-size:15px}.btn{border:0;background:#1267ed;color:#fff;padding:13px 18px;border-radius:10px;font-weight:800;cursor:pointer}.btnwide{width:100%}.alert{padding:11px;border-radius:9px;background:#fff0f1;color:#c12b3e;font-size:13px}.profilehead{text-align:center}.profilebig{width:96px;height:96px;border-radius:50%;margin:auto;background:#dbe9fb;display:grid;place-items:center;font-size:30px;font-weight:900}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;background:#fff}th,td{text-align:left;padding:12px;border-bottom:1px solid var(--line);font-size:13px}th{color:#60708a}.mobileTitle{display:none}@media(max-width:900px){.app{display:block;padding-bottom:76px}.side{display:none}.main{padding:0 14px 18px}.topbar{background:#fff;margin:0 -14px 12px;padding:8px 14px;height:64px;position:sticky;top:0;z-index:5}.search{display:none}.user span{display:none}.mobileTitle{display:block;font-weight:900}.hero{border-radius:0;margin:0 -14px 14px;min-height:155px;padding:22px}.hero h1{font-size:27px}.verse{display:none}.ministries{grid-template-columns:repeat(2,1fr)}.mcard{padding:11px}.mico{width:44px;height:44px}.cols{grid-template-columns:1fr}.roles{grid-template-columns:repeat(2,1fr)}.bottom{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);z-index:20;padding:8px 4px max(8px,env(safe-area-inset-bottom))}.bottom a{text-align:center;font-size:10px;color:#5f708b}.bottom a b{display:block;font-size:20px;margin-bottom:2px}.bottom a.active{color:#1267ed}.loginbody{display:block;background:linear-gradient(180deg,#062b58,#fff 45%);padding:38px 18px}.loginbrand{background:transparent;padding:30px 10px;text-align:center;min-height:270px}.loginbrand h1{font-size:35px}.loginbrand p{margin:auto}.loginbox{background:#fff;border-radius:22px;padding:25px}.formcard h2{font-size:26px}.listitem{grid-template-columns:52px 1fr}.listitem>div:last-child{display:none}}

.monthbar{display:flex;align-items:center;justify-content:center;gap:20px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:12px 18px;margin:16px 0;text-align:center}.monthbar h2{margin:2px 0;font-size:20px}.monthbar small{font-size:10px;font-weight:800;color:var(--muted);letter-spacing:1px}.monthbar.compact{margin:0 0 14px;border:0;padding:0}.monthnav{width:40px;height:40px;border-radius:12px;background:#edf4ff;color:var(--blue);display:grid;place-items:center;font-size:25px;font-weight:800}.mcard{position:relative}.mcard .arrow{margin-left:auto}.mcard.selected{outline:2px solid #1267ed;background:#f7fbff}.scheduleCard{display:grid;grid-template-columns:62px 1fr 20px;gap:13px;align-items:center;padding:14px 4px;border-top:1px solid var(--line)}.scheduleCard:first-of-type{border-top:0}.daybox{width:56px;min-height:58px;border-radius:12px;background:#edf4ff;color:#1267ed;display:flex;flex-direction:column;align-items:center;justify-content:center}.daybox strong{font-size:24px;line-height:1}.daybox span{font-size:9px;font-weight:800;margin-top:5px}.scheduleMain>b{display:block;margin:5px 0}.chips{display:flex;gap:6px;flex-wrap:wrap}.chips span{background:#f4f7fb;border:1px solid #e8eef6;border-radius:7px;padding:4px 7px;font-size:11px;color:#53647d}.arrow{font-size:25px;color:#8da0ba}.empty{padding:25px;border:1px dashed #cbd7e7;border-radius:14px;background:#f9fbfe;color:#61738e;text-align:center}.ministryScale{display:grid;grid-template-columns:70px 1fr;gap:14px;padding:16px 0;border-top:1px solid var(--line)}.ministryScale h3{margin:0 0 10px}.assignmentGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.assignment{background:#f7f9fc;border:1px solid var(--line);border-radius:10px;padding:9px}.assignment b,.assignment span{display:block;font-size:12px}.assignment span{color:var(--muted);margin-top:3px}.formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.span2{grid-column:1/-1}.field select{width:100%;padding:14px;border:1px solid #d6dfeb;border-radius:11px;font-size:15px;background:#fff}.actions{display:flex;gap:8px;align-items:center}.btn.secondary{background:#edf2f8;color:#40516a}.success{padding:12px 14px;border-radius:11px;background:#eaf8ee;color:#17733a;margin-bottom:14px}.rowactions{display:flex;gap:6px;align-items:center}.rowactions form{margin:0}.mini{border:0;border-radius:7px;padding:7px 9px;background:#eaf2ff;color:#1267ed;font-size:12px;cursor:pointer}.mini.danger{background:#fff0f2;color:#c92c48}.rolebadge{display:inline-block;padding:5px 8px;border-radius:8px;font-size:11px;font-weight:800}.rolebadge.admin{background:#efe7ff;color:#6d28d9}.rolebadge.lider{background:#e9f7ee;color:#188443}.rolebadge.membro{background:#edf4ff;color:#1267ed}.check{display:flex;gap:8px;align-items:center;padding:8px 0}.sectionhead{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.sectionhead h2{margin-bottom:4px}@media(max-width:900px){.monthbar{margin:12px 0}.scheduleCard{grid-template-columns:56px 1fr}.scheduleCard .arrow{display:none}.assignmentGrid{grid-template-columns:1fr 1fr}.formgrid{grid-template-columns:1fr}.span2{grid-column:auto}.tablewrap{margin:0 -8px}.hero{margin-top:0}.ministries{gap:9px}.mcard small{font-size:11px}.rowactions{flex-direction:column;align-items:flex-start}}@media(max-width:430px){.assignmentGrid{grid-template-columns:1fr}.ministries{grid-template-columns:1fr 1fr}.mcard{align-items:flex-start}.mcard .arrow{display:none}}
/* V4 - agrupamento por função e correção de Minha Escala */
.assignment span{line-height:1.45}.myScheduleList{display:flex;flex-direction:column}.myScheduleItem{display:grid;grid-template-columns:72px minmax(0,1fr);gap:16px;align-items:center;padding:16px 4px;border-top:1px solid var(--line)}.myScheduleItem:first-child{border-top:0}.myDate{width:64px;min-height:68px;border-radius:14px;background:#edf4ff;color:var(--blue);display:flex;flex-direction:column;align-items:center;justify-content:center}.myDate strong{font-size:27px;line-height:1}.myDate span{font-size:10px;font-weight:800;margin-top:5px}.myInfo{min-width:0}.myInfo h3{margin:7px 0 4px;font-size:15px;line-height:1.3}.myInfo p{margin:0;color:#61738e;font-size:12px}.myInfo p b{color:#40516a}.myInfo small{display:block;margin-top:5px;color:var(--muted)}@media(max-width:600px){.mySchedulePanel{padding:14px}.myScheduleItem{grid-template-columns:60px minmax(0,1fr);gap:11px;padding:14px 0}.myDate{width:56px;min-height:62px}.myDate strong{font-size:24px}.myInfo h3{font-size:14px}.myInfo .tag{font-size:9px;padding:4px 6px}}
.ministryChecks{display:flex;flex-wrap:wrap;gap:10px 18px;padding:12px;border:1px solid #dbe5f1;border-radius:12px;background:#f8fbff}.ministryChecks .check{min-width:180px}.eventChips{display:grid;gap:8px;margin-top:18px}.eventChip{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #dbe5f1;border-radius:10px;background:#f8fbff}.eventChip form{margin:0}
/* V6 - navegação, identidade da igreja e telas compactas */
.brand{min-height:86px;display:flex;align-items:center;gap:12px;color:#fff;padding:8px 10px;margin-bottom:14px}.brand img{display:block;max-width:180px;max-height:74px;object-fit:contain;margin:auto}.brandMark{width:42px;height:42px;border-radius:13px;background:#1474ff;display:grid;place-items:center;font-size:22px}.brand small{display:block;font-size:9px;letter-spacing:2px;color:#9fb7d2}.brand strong{display:block;font-size:14px;line-height:1.2}.menu a svg,.bottom a svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}.topbar{height:66px;margin-bottom:10px}.pageTitle{display:flex;flex-direction:column}.pageTitle b{font-size:18px}.pageTitle small{font-size:11px;color:var(--muted);margin-top:2px}.mobileMenu{display:none;border:0;background:transparent;font-size:22px}.ministriesTop{margin-top:0}.ministriesTop .ministries{margin-top:10px}.ministryHero{padding:16px 18px}.ministryHero h2{margin-bottom:4px}.settingsGrid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.logoPreview{min-height:160px;border:1px dashed #bfd0e5;border-radius:14px;background:#f8fbff;display:grid;place-items:center;padding:18px}.logoPreview img{max-width:260px;max-height:130px;object-fit:contain}.leaderBox{padding:10px 12px;border-radius:11px;background:#f5f8fc;border:1px solid var(--line);margin-top:8px}.leaderBox label{font-size:12px;font-weight:700}.eventAdminOnly{border-left:4px solid #1267ed}.hint{font-size:11px;color:var(--muted);line-height:1.5}.field input[type=file]{background:#fff}.check.disabled{opacity:.5}.permissionNote{background:#eef5ff;border-radius:10px;padding:10px 12px;font-size:12px;color:#40516a;margin:8px 0 14px}
@media(max-width:900px){.topbar{position:relative;margin:0 -14px 10px;padding:8px 14px;height:58px}.pageTitle{display:none}.mobileTitle{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:78vw}.ministriesTop{margin-top:2px}.panel{margin-bottom:12px}.settingsGrid{grid-template-columns:1fr}.bottom{grid-template-columns:repeat(4,1fr)}.bottom a svg{display:block;margin:0 auto 3px;width:20px;height:20px}.bottom a span{display:block}.ministryScale{grid-template-columns:58px 1fr;padding:12px 0}.assignmentGrid{gap:7px}}
.mico svg{width:27px;height:27px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
/* V7 - visual, identificação do usuário, avisos e refinamento dos ícones */
:root{--shadow:0 10px 30px rgba(18,54,93,.07)}
.side{box-shadow:8px 0 28px rgba(4,25,52,.08)}.brand{border-bottom:1px solid rgba(255,255,255,.08);padding-bottom:18px}.userSide{display:flex;align-items:center;gap:10px;padding:11px;margin:0 0 14px;border-radius:14px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.08)}.userAvatar{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,#e9f3ff,#b9d7ff);color:#0753a8;font-weight:900}.userSide b{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:145px}.userSide small{display:block;color:#a9bdd3;font-size:10px;margin-top:2px}.menu a{min-height:44px}.menu a svg{width:20px;height:20px;stroke-width:1.9}.panel,.mcard,.monthbar{box-shadow:var(--shadow)}.mcard{transition:.18s ease}.mcard:hover{transform:translateY(-2px);border-color:#cbdcf1}.mico{box-shadow:0 7px 18px rgba(24,72,120,.15)}.serviceAlert{display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:13px;margin:14px 0;padding:14px 16px;border:1px solid #f2d889;background:linear-gradient(90deg,#fff9e8,#fffdf6);border-radius:16px;box-shadow:var(--shadow)}.serviceAlertIcon{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:#fff0b8;font-size:21px}.serviceAlert b{color:#6c4d00}.serviceAlert p{margin:4px 0 0;color:#745f29;font-size:12px}.serviceAlert>a{padding:9px 12px;border-radius:9px;background:#fff;color:#8b6500;font-weight:800;font-size:12px;border:1px solid #f1d67b}.alert{border:1px solid #ffd2d8;font-weight:600}.success{border:1px solid #c9ecd4}.topbar{border-bottom:1px solid rgba(219,229,241,.8);margin-left:-4px;margin-right:-4px}.main{padding-top:14px}
@media(max-width:900px){.serviceAlert{grid-template-columns:42px 1fr}.serviceAlert>a{grid-column:2;justify-self:start}.main{padding-top:0}.userSide{display:none}}

/* V8 - navegação simplificada, ícones renovados e Ministério de Recepção */
.hero{min-height:150px}.hero>div:first-child{max-width:720px}.ministryFive{grid-template-columns:repeat(5,minmax(0,1fr))}.cyan{background:linear-gradient(135deg,#16b8c8,#087c9b)}.mcard{min-width:0}.mcard>div:last-child{min-width:0}.mcard b{font-size:14px}.mcard small{display:block;line-height:1.35;margin-top:3px}.sidefoot{display:none}.bottom{grid-template-columns:repeat(3,1fr)}
@media(max-width:1100px){.ministryFive{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.ministryFive{grid-template-columns:repeat(2,1fr)}.hero{min-height:135px}.bottom{grid-template-columns:repeat(3,1fr)}}
@media(max-width:430px){.ministryFive{grid-template-columns:1fr 1fr}.mcard b{font-size:13px}.mcard small{font-size:10px}}

/* V9 - conteúdo no topo e Minha Escala renovada */
.main{margin:0 auto;align-self:start;padding-top:12px;min-height:100vh}
.topbar{height:48px;margin-bottom:8px}
.pageTitle b{font-size:16px}.pageTitle small{font-size:10px}
.hero{min-height:120px;padding:22px 28px;border-radius:17px}.hero h1{font-size:29px}
.monthbar{margin:12px 0}.ministries{margin:12px 0}
.myScheduleHeader{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px;padding:18px 20px;border-radius:16px;background:linear-gradient(110deg,#0b4f9b,#1267ed);color:#fff}
.myScheduleHeader h2{margin:0 0 4px;font-size:21px}.myScheduleHeader p{margin:0;color:#e8f2ff;font-size:12px}.myScheduleCount{min-width:88px;text-align:center;padding:10px 14px;border-radius:13px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.18)}.myScheduleCount strong{display:block;font-size:24px}.myScheduleCount span{font-size:10px;text-transform:uppercase;letter-spacing:.7px}
.mySchedulePanel>.monthbar.compact{background:#f8fbff;border:1px solid var(--line);padding:10px 14px;border-radius:13px;margin-bottom:8px}
.myScheduleItem{border:1px solid var(--line);border-radius:14px;padding:12px;margin:9px 0;background:#fff;box-shadow:0 5px 18px rgba(18,54,93,.04)}.myScheduleItem:first-child{border-top:1px solid var(--line)}
@media(max-width:900px){.main{margin:0;padding-top:0}.topbar{height:52px}.hero{min-height:110px;padding:20px}.hero h1{font-size:25px}.myScheduleHeader{padding:15px}.myScheduleCount{min-width:72px}.mySchedulePanel>.monthbar.compact{padding:9px}}
@media(max-width:520px){.myScheduleHeader{align-items:flex-start}.myScheduleHeader h2{font-size:18px}.myScheduleCount{padding:8px 10px}.myScheduleCount strong{font-size:20px}}

/* V10 - notificações flutuantes */
.toastStack{position:fixed;top:18px;right:18px;z-index:9999;width:min(430px,calc(100vw - 32px));display:grid;gap:10px;pointer-events:none}.toast{pointer-events:auto;position:relative;display:grid;grid-template-columns:40px 1fr 28px;gap:11px;align-items:start;padding:14px 12px 14px 14px;border-radius:15px;background:#fff;box-shadow:0 18px 50px rgba(13,35,65,.20);border:1px solid #e5ebf3;animation:toastIn .22s ease-out}.toastIcon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;font-size:18px;font-weight:900}.toastTitle{font-size:14px;font-weight:900;margin:1px 0 3px}.toastText{font-size:12px;line-height:1.45;color:#53637c}.toastClose{border:0;background:transparent;color:#71809a;font-size:22px;line-height:22px;cursor:pointer;border-radius:8px;padding:1px}.toastClose:hover{background:#f1f5fa;color:#14233d}.toast.error{border-left:4px solid #e83855}.toast.error .toastIcon{background:#fff0f3;color:#d72745}.toast.success{border-left:4px solid #20a65a}.toast.success .toastIcon{background:#eaf9f0;color:#168448}.toast.warning{border-left:4px solid #e9a400}.toast.warning .toastIcon{background:#fff7dc;color:#a97600}@keyframes toastIn{from{opacity:0;transform:translateY(-10px) translateX(8px)}to{opacity:1;transform:none}}@media(max-width:900px){.toastStack{top:10px;right:10px;left:10px;width:auto}.toast{grid-template-columns:36px 1fr 26px;padding:12px}.toastIcon{width:34px;height:34px}}

/* V11 - calendário mensal e retorno do menu Ministérios */
.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin-top:12px}.calWeek{text-align:center;padding:8px 4px;font-size:10px;font-weight:900;letter-spacing:.7px;color:#71809a}.calDay{position:relative;min-height:118px;border:1px solid #e2eaf4;border-radius:13px;background:#fff;padding:9px;overflow:hidden}.calDay.blank{background:#f7f9fc;border-style:dashed;opacity:.55}.calDay.today{outline:2px solid #1267ed;outline-offset:-2px}.calDay.hasScale{background:linear-gradient(180deg,#fff,#f7fbff);border-color:#bfd7f5}.calNum{font-size:14px;font-weight:900;color:#53637c;margin-bottom:6px}.today .calNum{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:#1267ed;color:#fff}.calEvent{margin-top:5px;padding:6px 7px;border-radius:8px;background:#edf4ff;border-left:3px solid #1267ed;line-height:1.25}.calEvent b,.calEvent span,.calEvent small{display:block;overflow:hidden;text-overflow:ellipsis}.calEvent b{font-size:10px;color:#174e92}.calEvent span{font-size:10px;color:#344966;margin-top:2px}.calEvent small{font-size:9px;color:#71809a;margin-top:2px}.calendarEmpty{text-align:center;color:#71809a;font-size:12px;padding:13px 0 2px}.ministryCalendar .calDay{min-height:132px}.ministryCalendar .calEvent{background:#f5f1ff;border-left-color:#7c3aed}.ministryCalendar .calEvent b{color:#6425d8}
@media(max-width:900px){.calendar{gap:4px}.calDay,.ministryCalendar .calDay{min-height:88px;padding:6px;border-radius:9px}.calWeek{font-size:8px;padding:5px 1px}.calNum{font-size:12px}.calEvent{padding:4px;margin-top:3px}.calEvent b{font-size:8px}.calEvent span{font-size:8px}.calEvent small{display:none}.today .calNum{width:22px;height:22px}.bottom{grid-template-columns:repeat(4,1fr)}}
@media(max-width:560px){.calendar{gap:2px}.calDay,.ministryCalendar .calDay{min-height:70px;padding:4px}.calEvent span{display:none}.calEvent{border-left-width:2px}.calEvent b{white-space:nowrap}.mySchedulePanel{padding:10px}.myScheduleHeader{margin-bottom:9px}.ministryHero{padding:12px}.ministries.ministryFive{grid-template-columns:1fr 1fr}}

/* V12 */
.loginChurchLogo{max-width:190px;max-height:105px;object-fit:contain;object-position:left center;margin-bottom:28px;display:block}.groupedDay{cursor:default}.eventTitle{font-size:15px;margin-bottom:9px;display:block}.ministryLine{padding:7px 0;border-top:1px dashed #e4ebf4}.ministryLine:first-of-type{border-top:0}.ministryLine .tag{margin-bottom:5px}.mySchedulePanel .calEvent b{font-size:12px}.mySchedulePanel .calEvent span{font-size:11px}.mySchedulePanel .calEvent small{font-size:10px}.mySchedulePanel .calNum{font-size:15px}
@media(max-width:900px){.mySchedulePanel .calEvent b{font-size:10px}.mySchedulePanel .calEvent span{font-size:9px}.mySchedulePanel .calEvent small{font-size:9px}}

/* V13 - submenu Gerenciar Escalas */
.menuGroup{margin:2px 0}.menuParent{width:100%;min-height:44px;display:flex;align-items:center;gap:12px;padding:0 14px;border:0;border-radius:11px;background:transparent;color:#d9e6f5;font:inherit;cursor:pointer;text-align:left}.menuParent svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}.menuParent span{flex:1}.menuParent:hover,.menuParent.active{background:rgba(255,255,255,.08);color:#fff}.menuChevron{font-size:17px;transition:.18s transform}.menuGroup.open .menuChevron{transform:rotate(180deg)}.submenu{display:none;padding:5px 0 5px 31px}.menuGroup.open .submenu{display:grid;gap:3px}.submenu a{min-height:36px!important;padding:8px 11px!important;border-radius:9px!important;font-size:12px!important;color:#b9cce1!important}.submenu a:before{content:'';width:6px;height:6px;border-radius:50%;background:#6f8dab;flex:0 0 auto}.submenu a:hover,.submenu a.active{background:rgba(18,103,237,.24)!important;color:#fff!important}.submenu a.active:before{background:#5ca0ff}.managementIntro{display:flex;align-items:center;justify-content:space-between;gap:14px}.managementIntro h2{margin:0 0 4px}.managementIntro p{margin:0}.managementBadge{padding:8px 11px;border-radius:10px;background:#edf4ff;color:#1267ed;font-size:11px;font-weight:800}

/* V14 - listas por culto, filtros e paginação */
.ministryEvents{display:grid;gap:12px;margin-top:14px}.ministryEvent{display:grid;grid-template-columns:72px 1fr;gap:14px;padding:15px;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:0 5px 18px rgba(18,54,93,.04)}.eventDateBox{height:68px;border-radius:13px;background:#edf4ff;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#1267ed}.eventDateBox strong{font-size:25px;line-height:1}.eventDateBox span{font-size:9px;font-weight:900;margin-top:5px}.eventHead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.eventHead h3{margin:0;font-size:16px}.eventHead p{margin:4px 0 0;font-size:11px;color:#71809a}.functionGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:11px}.functionBox{padding:9px 11px;border-radius:10px;background:#f6f9fd;border:1px solid #e3ebf5}.functionBox b{display:block;font-size:11px;color:#172b49}.functionBox span{display:block;margin-top:3px;font-size:11px;color:#53637c;line-height:1.35}.filterbar{display:grid;grid-template-columns:minmax(190px,1.4fr) repeat(4,minmax(125px,.8fr)) auto;gap:10px;align-items:end;padding:13px;margin:12px 0 15px;border:1px solid var(--line);border-radius:13px;background:#f8fbff}.filterbar label{display:block;font-size:10px;font-weight:800;color:#53637c;margin-bottom:5px}.filterbar input,.filterbar select{width:100%;min-height:39px}.filterActions{display:flex;gap:7px;align-items:center}.filterActions .btn{white-space:nowrap}.usersFilter{grid-template-columns:minmax(220px,1.5fr) minmax(150px,.8fr) minmax(180px,1fr) auto}.eventFilter{grid-template-columns:minmax(240px,1.6fr) minmax(150px,.7fr) minmax(130px,.6fr) auto}.paginationBar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:14px;padding-top:12px;border-top:1px solid var(--line);font-size:11px;color:#71809a}.pagination{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.pagination a{display:grid;place-items:center;min-width:34px;height:34px;padding:0 9px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#53637c;font-weight:700}.pagination a:hover,.pagination a.active{background:#1267ed;color:#fff;border-color:#1267ed}
@media(max-width:1100px){.filterbar{grid-template-columns:repeat(3,1fr)}.filterActions{grid-column:auto}.functionGrid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.filterbar,.usersFilter,.eventFilter{grid-template-columns:1fr}.filterActions{display:grid;grid-template-columns:1fr 1fr}.ministryEvent{grid-template-columns:54px 1fr;padding:10px;gap:9px}.eventDateBox{height:56px}.eventDateBox strong{font-size:20px}.eventHead{display:block}.eventHead .tag{display:inline-block;margin-top:7px}.functionGrid{grid-template-columns:1fr}.paginationBar{align-items:flex-start;flex-direction:column}.pagination{width:100%}}
/* V15 - Login com foco na logo e Minha Escala em lista */
.loginbrand>div{width:100%;max-width:520px}.loginbrand .loginChurchLogo{max-width:300px;max-height:180px;width:auto;height:auto;object-fit:contain;object-position:left center;margin:0 0 28px}.loginbrand>div>p{margin-top:0}.myScheduleList{grid-template-columns:68px 1fr}.myScheduleList .scheduleMain>b{font-size:16px;margin:7px 0 8px}.myScheduleList .chips span{font-size:12px;padding:6px 8px}.myScheduleList .chips strong{color:#324967}@media(max-width:900px){.loginbrand .loginChurchLogo{max-width:220px;max-height:130px;margin:0 auto 22px;object-position:center}.myScheduleList{grid-template-columns:58px 1fr}.myScheduleList .scheduleMain>b{font-size:15px}}

/* V16 - notificações flutuantes */
.toastStack{top:24px;right:24px;width:min(470px,calc(100vw - 40px))}
.toast{min-height:116px;grid-template-columns:58px 1fr 34px;gap:16px;align-items:center;padding:20px 16px 20px 18px;border-radius:20px;border:1px solid #e8edf4;box-shadow:0 24px 65px rgba(12,34,64,.24);overflow:hidden}
.toast:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;border-radius:20px 0 0 20px;background:#1fa75b}
.toastIcon{width:52px;height:64px;border-radius:15px;font-size:29px;font-weight:800}
.toastTitle{font-size:20px;font-weight:900;letter-spacing:-.25px;margin:0 0 6px;color:#17304f}
.toastText{font-size:14px;line-height:1.5;color:#697890}
.toastClose{align-self:start;margin-top:-3px;font-size:30px;line-height:30px;color:#7d8ba0;padding:2px 6px}
.toast.success:before{background:#20a65a}.toast.success .toastIcon{background:#ecfaf2;color:#15904b}
.toast.error:before{background:#e83855}.toast.error .toastIcon{background:#fff0f3;color:#d72745}
.toast.warning:before{background:#e9a400}.toast.warning .toastIcon{background:#fff7dc;color:#a97600}
.toast.info:before{background:#1877e8}.toast.info .toastIcon{background:#edf5ff;color:#1267d9}
.toastLeaving{animation:toastOut .22s ease-in forwards}@keyframes toastOut{to{opacity:0;transform:translateX(20px)}}
@media(max-width:900px){.toastStack{top:12px;left:12px;right:12px;width:auto}.toast{min-height:100px;grid-template-columns:48px 1fr 30px;gap:12px;padding:16px 12px 16px 15px;border-radius:17px}.toastIcon{width:44px;height:54px;font-size:24px}.toastTitle{font-size:17px}.toastText{font-size:13px}.toastClose{font-size:27px}}

/* V17 - leitura ampliada e impressão */
.ministryEvent .eventHead h3{font-size:18px}.ministryEvent .eventHead p{font-size:13px}.ministryEvent .functionBox b{font-size:13px}.ministryEvent .functionBox span{font-size:13px}.myScheduleList .scheduleMain>b{font-size:18px}.myScheduleList .tag{font-size:11px}.myScheduleList .chips span{font-size:13px;padding:7px 9px}.myScheduleList .daybox strong{font-size:27px}.printActions{display:flex;gap:8px;justify-content:flex-end;align-items:center;margin:0 0 12px;flex-wrap:wrap}.printActions .btn{display:inline-flex;align-items:center;gap:7px}.printMenu{position:relative}.printMenu summary{list-style:none}.printMenu summary::-webkit-details-marker{display:none}.printDropdown{position:absolute;right:0;top:calc(100% + 6px);z-index:20;width:220px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 35px rgba(12,34,64,.16);padding:6px}.printDropdown a{display:block;padding:10px 11px;border-radius:8px;font-size:12px}.printDropdown a:hover{background:#edf4ff;color:#1267ed}.printOnly{display:none}
@media(max-width:700px){.ministryEvent .eventHead h3{font-size:16px}.ministryEvent .functionBox b,.ministryEvent .functionBox span{font-size:12px}.myScheduleList .scheduleMain>b{font-size:16px}.myScheduleList .chips span{font-size:12px}}
@media print{body{background:#fff!important;color:#000}.side,.topbar,.printActions,.monthnav,.ministriesTop,.noPrint{display:none!important}.app{display:block!important}.main{display:block!important;max-width:none!important;margin:0!important;padding:0!important}.panel{box-shadow:none!important;border:0!important;padding:0!important;margin:0!important}.myScheduleHeader{background:none!important;color:#000!important;padding:0 0 12px!important;border-radius:0!important;border-bottom:2px solid #000}.myScheduleHeader p{color:#444!important}.myScheduleCount{display:none!important}.monthbar{border:0!important;background:none!important;padding:8px 0 14px!important}.monthbar small{display:none}.monthbar h2{font-size:17px!important}.scheduleCard,.ministryEvent{break-inside:avoid;box-shadow:none!important;border:1px solid #bbb!important;margin-bottom:9px!important}.printOnly{display:block!important}.printTitle{text-align:center;margin:0 0 16px;font-size:20px}.ministryScheduleList{padding:0!important}.ministryEvents{gap:8px}.functionBox{background:#fff!important;border-color:#ccc!important}.eventDateBox,.daybox{background:#fff!important;border:1px solid #bbb!important;color:#000!important}@page{size:A4;margin:12mm}}

/* V18 - Repertório do Louvor */
.songList{display:grid;gap:12px;margin-top:16px}.songCard{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:14px;align-items:center;padding:16px;border:1px solid #e5eaf1;border-radius:16px;background:#fff}.songOrder{width:44px;height:44px;border-radius:13px;background:#fff3e6;color:#b85c00;display:grid;place-items:center;font-weight:800;font-size:18px}.songMain{min-width:0}.songMain b{display:block;font-size:16px;color:#14243a}.songMeta{display:flex;gap:8px;flex-wrap:wrap;margin-top:7px}.songMeta span{font-size:12px;background:#f2f5f9;border-radius:999px;padding:5px 9px;color:#516071}.songNote{margin-top:8px;color:#66758a;font-size:13px}.youtubeBtn{display:inline-flex;align-items:center;gap:7px;text-decoration:none;border-radius:10px;padding:9px 12px;background:#f5f7fb;color:#1e3350;font-weight:700;font-size:13px}.repertoireBox{margin-top:14px;border:1px solid #f1dfc9;background:#fffaf4;border-radius:14px;padding:13px 15px}.repertoireBox summary{cursor:pointer;font-weight:800;color:#8b4a00;list-style:none}.repertoireBox summary::-webkit-details-marker{display:none}.repertoireMini{display:grid;gap:8px;margin-top:10px}.repertoireMiniRow{display:flex;align-items:flex-start;gap:10px;flex-wrap:wrap}.repertoireMiniRow strong{min-width:22px;color:#a65b00}.repertoireMiniRow a{font-weight:800;color:#b91c1c;text-decoration:none}.accessHint{padding:11px 13px;border-radius:12px;background:#f5f8fc;color:#526276;font-size:13px;margin-top:12px}@media(max-width:720px){.songCard{grid-template-columns:44px minmax(0,1fr)}.songCard>.rowactions{grid-column:1/-1}.youtubeBtn{width:100%;justify-content:center}}

/* V19 - cards visuais, Minha Escala e repertório separado */
.ministries.ministryFive{gap:16px;margin-top:24px}.ministries.ministryFive .mcard{min-height:132px;padding:34px 18px 18px;align-items:flex-start;position:relative;overflow:visible;border-radius:18px}.ministries.ministryFive .mico{position:absolute;top:-22px;left:18px;width:58px;height:58px;border-radius:15px;border:5px solid #fff;box-sizing:content-box}.ministries.ministryFive .mico svg{width:30px;height:30px}.ministries.ministryFive .mcard>div:nth-child(2){padding-top:10px}.ministries.ministryFive .mcard b{font-size:16px;line-height:1.2}.ministries.ministryFive .mcard small{font-size:13px;line-height:1.4;margin-top:6px}.ministries.ministryFive .mcard .arrow{position:absolute;right:13px;top:12px;font-size:20px}.mySchedulePanel{max-width:none}.myScheduleHeader{margin-bottom:14px}.myScheduleList{grid-template-columns:78px minmax(0,1fr);gap:18px;padding:17px 12px;border:1px solid #e5edf7;border-radius:16px;margin:10px 0;background:#fff;box-shadow:0 5px 18px rgba(18,54,93,.04)}.myScheduleList .daybox{width:68px;min-height:70px;border-radius:15px}.myScheduleList .daybox strong{font-size:30px}.myScheduleList .daybox span{font-size:10px}.myScheduleList .scheduleMain{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.myScheduleList .scheduleMain>b{font-size:18px;margin:6px 0 9px}.myScheduleList .chips{width:100%}.myScheduleList .chips span{font-size:13px;padding:8px 10px}.repertoireFilter{grid-template-columns:minmax(190px,1.2fr) minmax(210px,1.3fr) minmax(130px,.7fr) minmax(110px,.6fr) minmax(100px,.5fr) auto}.repertoireEvent{margin-top:18px;padding:16px;border:1px solid var(--line);border-radius:17px;background:#fbfdff}.repertoireEventHead{display:flex;align-items:center;gap:14px;padding-bottom:10px;border-bottom:1px solid #e8eef6}.repertoireEventHead .eventDateBox{width:64px;height:64px;flex:0 0 64px}.repertoireEventHead h3{margin:0;font-size:18px}.repertoireEventHead p{margin:5px 0 0;color:#71809a;font-size:12px}.repertoireEvent .songList{margin-top:12px}.repertoireFormPanel{max-width:1050px}.menuGroup.open .submenu{display:block}
@media(max-width:1100px){.ministries.ministryFive{grid-template-columns:repeat(3,minmax(0,1fr))}.repertoireFilter{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.ministries.ministryFive{grid-template-columns:1fr 1fr;gap:30px 10px;margin-top:32px}.ministries.ministryFive .mcard{min-height:126px;padding:32px 13px 13px}.ministries.ministryFive .mico{left:13px;width:50px;height:50px}.ministries.ministryFive .mico svg{width:26px;height:26px}.ministries.ministryFive .mcard b{font-size:14px}.ministries.ministryFive .mcard small{font-size:11px}.myScheduleList{grid-template-columns:62px minmax(0,1fr);gap:11px;padding:12px 8px}.myScheduleList .daybox{width:58px;min-height:62px}.myScheduleList .daybox strong{font-size:25px}.myScheduleList .scheduleMain>b{font-size:16px}.repertoireFilter{grid-template-columns:1fr}.repertoireEvent{padding:11px}.repertoireEventHead h3{font-size:16px}}

/* V19.1 - ajuste visual conforme modelo aprovado */
.ministries.ministryFive{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin:38px 0 18px;padding-top:10px;overflow:visible}
.ministries.ministryFive .mcard{height:150px;min-height:150px;padding:48px 18px 18px!important;display:block!important;position:relative;overflow:visible;border-radius:18px;background:#fff;border:1px solid #dfe8f3;box-shadow:0 8px 24px rgba(21,54,91,.07)}
.ministries.ministryFive .mico{position:absolute!important;top:-31px!important;left:50%!important;transform:translateX(-50%);width:64px!important;height:64px!important;border-radius:17px!important;border:6px solid var(--bg)!important;box-sizing:content-box!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important}
.ministries.ministryFive .mico svg{display:block;width:32px!important;height:32px!important;min-width:32px;min-height:32px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ministries.ministryFive .mcard>div:nth-child(2){padding:0!important;margin:0!important}
.ministries.ministryFive .mcard b{display:block;font-size:16px;line-height:1.22;margin:0 0 7px;font-weight:800}
.ministries.ministryFive .mcard small{display:block;font-size:13px;line-height:1.4;color:var(--muted);margin:0;max-width:145px}
.ministries.ministryFive .mcard .arrow{display:none!important}
.ministries.ministryFive .mcard:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(21,54,91,.11)}
.ministries.ministryFive .mcard.selected{outline:2px solid #1267ed;outline-offset:1px}
.cyan{background:linear-gradient(135deg,#22b7c8,#078ca4)}

/* Minha Escala: data à esquerda e informações ao lado */
.mySchedulePanel .myScheduleList{display:grid!important;grid-template-columns:78px minmax(0,1fr)!important;align-items:center!important;gap:18px!important;padding:16px 14px!important;margin:10px 0!important;text-align:left!important}
.mySchedulePanel .myScheduleList .daybox{grid-column:1!important;grid-row:1!important;margin:0!important;align-self:center!important}
.mySchedulePanel .myScheduleList .scheduleMain{grid-column:2!important;grid-row:1!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;text-align:left!important;margin:0!important;width:100%!important}
.mySchedulePanel .myScheduleList .tag{align-self:flex-start!important}
.mySchedulePanel .myScheduleList .scheduleMain>b{font-size:18px!important;line-height:1.25!important;margin:7px 0 9px!important}
.mySchedulePanel .myScheduleList .chips{justify-content:flex-start!important;width:100%!important}
.mySchedulePanel .myScheduleList .chips span{font-size:13px!important;padding:7px 9px!important}

@media(max-width:1150px){.ministries.ministryFive{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:46px}}
@media(max-width:700px){.ministries.ministryFive{grid-template-columns:repeat(2,minmax(0,1fr));gap:44px 10px;margin-top:40px}.ministries.ministryFive .mcard{height:142px;min-height:142px;padding:43px 13px 13px!important}.ministries.ministryFive .mico{width:56px!important;height:56px!important;top:-29px!important}.ministries.ministryFive .mico svg{width:28px!important;height:28px!important}.ministries.ministryFive .mcard b{font-size:14px}.ministries.ministryFive .mcard small{font-size:11px}.mySchedulePanel .myScheduleList{grid-template-columns:62px minmax(0,1fr)!important;gap:12px!important;padding:12px 9px!important}.mySchedulePanel .myScheduleList .scheduleMain>b{font-size:16px!important}}

/* V19.2 - folha nova para eliminar cache e aplicar fielmente o layout solicitado */
.ministries.ministryFive{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:16px!important;
  margin:48px 0 18px!important;
  padding:0!important;
  overflow:visible!important;
}
.ministries.ministryFive>a.mcard{
  display:block!important;
  position:relative!important;
  height:150px!important;
  min-height:150px!important;
  padding:48px 20px 18px!important;
  border:1px solid #dfe8f3!important;
  border-radius:18px!important;
  background:#fff!important;
  overflow:visible!important;
  box-shadow:0 8px 24px rgba(21,54,91,.07)!important;
  text-align:left!important;
}
.ministries.ministryFive>a.mcard>.mico{
  position:absolute!important;
  top:-34px!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  width:64px!important;
  height:64px!important;
  min-width:64px!important;
  min-height:64px!important;
  padding:0!important;
  margin:0!important;
  border:6px solid var(--bg)!important;
  border-radius:17px!important;
  box-sizing:content-box!important;
  display:grid!important;
  place-items:center!important;
}
.ministries.ministryFive>a.mcard>.mico svg{
  width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;
  display:block!important;fill:none!important;stroke:#fff!important;stroke-width:1.8!important;
  stroke-linecap:round!important;stroke-linejoin:round!important;
}
.ministries.ministryFive>a.mcard>div:nth-child(2){padding:0!important;margin:0!important}
.ministries.ministryFive>a.mcard b{font-size:16px!important;line-height:1.25!important;margin:0 0 7px!important;font-weight:800!important}
.ministries.ministryFive>a.mcard small{font-size:13px!important;line-height:1.4!important;margin:0!important;color:var(--muted)!important}
.ministries.ministryFive>a.mcard>.arrow{display:none!important}

.mySchedulePanel .scheduleCard.myScheduleList{
  display:grid!important;
  grid-template-columns:78px minmax(0,1fr)!important;
  align-items:center!important;
  justify-items:stretch!important;
  gap:18px!important;
  padding:16px 14px!important;
  margin:10px 0!important;
  text-align:left!important;
}
.mySchedulePanel .scheduleCard.myScheduleList>.daybox{
  grid-column:1!important;position:static!important;transform:none!important;margin:0!important;
  width:68px!important;min-height:70px!important;justify-self:start!important;
}
.mySchedulePanel .scheduleCard.myScheduleList>.scheduleMain{
  grid-column:2!important;position:static!important;transform:none!important;margin:0!important;
  width:100%!important;max-width:none!important;text-align:left!important;align-items:flex-start!important;
}
.mySchedulePanel .scheduleCard.myScheduleList>.scheduleMain .tag{align-self:flex-start!important}
.mySchedulePanel .scheduleCard.myScheduleList>.scheduleMain .chips{justify-content:flex-start!important}
@media(max-width:1150px){.ministries.ministryFive{grid-template-columns:repeat(3,minmax(0,1fr))!important;row-gap:52px!important}}
@media(max-width:700px){
 .ministries.ministryFive{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:50px 10px!important;margin-top:46px!important}
 .ministries.ministryFive>a.mcard{height:142px!important;min-height:142px!important;padding:44px 13px 13px!important}
 .ministries.ministryFive>a.mcard>.mico{width:56px!important;height:56px!important;min-width:56px!important;min-height:56px!important;top:-30px!important}
 .ministries.ministryFive>a.mcard>.mico svg{width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important}
 .mySchedulePanel .scheduleCard.myScheduleList{grid-template-columns:62px minmax(0,1fr)!important;gap:12px!important;padding:12px 9px!important}
 .mySchedulePanel .scheduleCard.myScheduleList>.daybox{width:58px!important;min-height:62px!important}
}
.bellBtn{margin-left:auto;position:relative;width:42px;height:42px;border:1px solid #dfe8f3;border-radius:13px;background:#fff;display:grid;place-items:center;text-decoration:none;font-size:20px}.bellBtn span{position:absolute;right:-5px;top:-6px;background:#e53935;color:#fff;border:2px solid #fff;border-radius:20px;min-width:21px;height:21px;padding:0 5px;font-size:10px;font-weight:800;display:grid;place-items:center}.noticeRow{display:grid;grid-template-columns:12px 1fr;gap:12px;padding:16px;border-bottom:1px solid #edf1f6;text-decoration:none;color:inherit}.noticeRow.unread{background:#f3f8ff}.noticeDot{width:9px;height:9px;border-radius:50%;background:#cbd5e1;margin-top:6px}.noticeRow.unread .noticeDot{background:#2563eb}.noticeRow p{margin:4px 0;color:#53657a}.noticeRow small{color:#8796a8}.swapCard{display:flex;gap:18px;justify-content:space-between;align-items:center;padding:16px 0;border-bottom:1px solid #e9eef5}.swapCard p{margin:5px 0}.swapForm{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.swapForm select,.swapForm input{min-width:170px}.leaderGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0}.leaderStat{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:18px}.leaderStat strong{font-size:30px;display:block}.leaderStat span{color:#64748b;font-size:13px}.warningRow{background:#fff7ed!important}.unavailableHint{color:#b45309;font-weight:700;font-size:12px}.lyricsBox{white-space:pre-wrap;background:#f8fafc;border-radius:10px;padding:10px;margin-top:8px;font-size:13px}.copyBox{display:flex;gap:8px;align-items:end;flex-wrap:wrap}.copyBox .field{min-width:220px}.historyTag{font-size:12px;color:#64748b;margin-top:5px}@media(max-width:850px){.leaderGrid{grid-template-columns:repeat(2,1fr)}.swapCard{align-items:flex-start;flex-direction:column}.swapForm{justify-content:flex-start}}

/* V20.1 - Biblioteca Letras/Cifras */
.lyricsPage{white-space:pre-wrap;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:17px;line-height:1.75;background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;padding:24px;margin-top:22px;color:#172033;overflow:auto}.songMeta{display:flex;gap:10px;align-items:center;flex-wrap:wrap}@media print{.side,.topbar,.btn,.actions{display:none!important}.main{margin:0!important}.panel{box-shadow:none!important;border:0!important}.lyricsPage{font-size:14px;border:0;padding:0}}

/* V20.6 - Repertório do Louvor por culto */
.repCultoGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px;margin-top:18px}.repCultoCard{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid #dbe5f2;border-radius:16px;background:#fff;text-decoration:none;color:#10233f;transition:.15s}.repCultoCard:hover{border-color:#2563eb;box-shadow:0 8px 22px rgba(37,99,235,.08);transform:translateY(-1px)}.repCultoDate{min-width:58px;text-align:center;background:#eef5ff;border-radius:13px;padding:9px 6px}.repCultoDate strong{display:block;font-size:23px;color:#1764e8}.repCultoDate span{font-size:10px;font-weight:800;text-transform:uppercase}.repCultoInfo{min-width:0;flex:1}.repCultoInfo b{display:block;font-size:15px}.repCultoInfo small{color:#6b7c96}.repCultoArrow{font-size:22px;color:#1764e8}.repHeader{display:flex;justify-content:space-between;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:18px}.repHeaderActions{display:flex;gap:8px;flex-wrap:wrap}.repSongRow{display:grid;grid-template-columns:48px minmax(180px,2fr) minmax(120px,1.2fr) 80px minmax(130px,1fr) auto;gap:12px;align-items:center;padding:12px 14px;border:1px solid #dbe5f2;border-radius:13px;background:#fff;margin-bottom:8px}.repSongRow .num{font-size:20px;font-weight:800;color:#1764e8;text-align:center}.repSongRow .music b{display:block}.repSongRow .music small{color:#6b7c96}.repSongRow .labelMini{font-size:10px;text-transform:uppercase;color:#7a8ba5;font-weight:800;display:block;margin-bottom:2px}.repSongActions{display:flex;gap:6px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.repSongActions form{margin:0}.libraryPickerResults{border:1px solid #dbe5f2;border-radius:12px;max-height:250px;overflow:auto;margin-top:6px;display:none;background:#fff}.libraryPickerResults.show{display:block}.libraryOption{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid #eef2f7;background:#fff;padding:11px 12px;cursor:pointer}.libraryOption:hover{background:#f4f8ff}.libraryOption b{display:block}.libraryOption small{color:#6b7c96}@media(max-width:900px){.repSongRow{grid-template-columns:42px 1fr}.repSongRow>div:not(.num):not(.music){grid-column:2}.repSongActions{justify-content:flex-start}}

/* V20.7 - Repertorio visual refinado */
.repCultoGrid{grid-template-columns:1fr!important}.repCultoCard{min-height:82px;padding:13px 16px!important}.repCultoDate{min-width:64px!important}.repCultoInfo b{font-size:16px!important;margin-bottom:5px}.repHero{padding:4px 0 2px}.repHero h2{font-size:22px!important;margin:12px 0 5px!important}.inlineSongForm{display:none;background:#f7faff;border:1px solid #d9e6f6;border-radius:15px;padding:16px;margin:12px 0 18px}.inlineSongForm.show{display:block}.inlineSongTitle{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:8px}.inlineSongTitle b{display:block;font-size:16px}.inlineSongTitle small{display:block;color:#71809a;margin-top:3px}.repListHead{display:flex;justify-content:space-between;align-items:center;margin:20px 2px 9px;padding-bottom:8px;border-bottom:1px solid #e6edf6}.repListHead b{font-size:13px;letter-spacing:.08em}.repListHead span{font-size:12px;color:#71809a}.repSongRow{grid-template-columns:52px minmax(220px,2.1fr) 72px minmax(130px,1fr) auto!important;padding:11px 13px!important;margin-bottom:7px!important}.repSongRow .music small{display:block;margin-top:2px}.libraryTableWrap{overflow:auto;border:1px solid #e0e8f3;border-radius:14px;margin-top:14px}.libraryTable{min-width:760px}.libraryTable th{background:#f7f9fc;font-size:11px;text-transform:uppercase;letter-spacing:.04em}.libraryTable td{vertical-align:middle}.libraryTable th:nth-child(1){width:34%}.libraryTable th:nth-child(2){width:27%}.libraryTable th:nth-child(3){width:8%}.libraryTable th:nth-child(4){width:31%}.tomBadge{display:inline-grid;place-items:center;min-width:34px;height:30px;padding:0 8px;background:#edf4ff;color:#1267ed;border-radius:8px;font-weight:800}.libraryTable .rowactions{flex-direction:row!important;align-items:center!important;flex-wrap:wrap}.libraryTable .rowactions form{margin:0}.filterbar{align-items:end}@media(max-width:900px){.repSongRow{grid-template-columns:42px 1fr!important}.repSongRow>div:not(.num):not(.music){grid-column:2}.inlineSongTitle{align-items:center}.libraryTableWrap{border:0}.libraryTable{min-width:0}.libraryTable thead{display:none}.libraryTable,.libraryTable tbody,.libraryTable tr,.libraryTable td{display:block;width:100%}.libraryTable tr{border:1px solid #e0e8f3;border-radius:12px;padding:11px;margin-bottom:9px;background:#fff}.libraryTable td{border:0;padding:4px}.libraryTable td:first-child{font-size:16px}.libraryTable .rowactions{margin-top:5px}}

/* V20.18.1 — correção responsiva. Desktop protegido. */
.mobileDrawer,.mobileDrawerOverlay,.mobileBottomOff{display:none!important}
@media (max-width:900px){
 body{padding-bottom:0!important}
 .bottom,.mobileBottomOff{display:none!important}
 .main{padding:14px 12px 28px}
 .mobileMenu{display:inline-flex!important;align-items:center;justify-content:center}
 .topbar{min-height:66px;padding:10px 13px}
 .topbar .mobileTitle{font-size:19px}
 .mobileDrawerOverlay{display:none!important;position:fixed;inset:0;background:rgba(5,22,43,.48);z-index:1998}
 .mobileDrawerOverlay.open{display:block!important}
 .mobileDrawer{display:block!important;position:fixed;left:0;top:0;bottom:0;width:min(86vw,340px);background:#fff;z-index:1999;transform:translateX(-105%);transition:transform .22s ease;box-shadow:12px 0 38px rgba(7,24,46,.2);overflow:auto;padding-bottom:env(safe-area-inset-bottom)}
 .mobileDrawer.open{transform:translateX(0)}
 .mobileDrawerHead{position:sticky;top:0;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 16px 12px;border-bottom:1px solid #e6edf6;z-index:2}
 .mobileDrawerHead b{font-size:17px;color:#0a2345}.mobileDrawerHead button{width:38px;height:38px;border:0;border-radius:12px;background:#f0f5fb;font-size:26px;color:#17365f}
 .mobileDrawer nav{padding:9px}.mobileDrawer nav a{display:flex;align-items:center;gap:12px;padding:12px 11px;margin:2px 0;border-radius:12px;color:#294665;text-decoration:none;font-weight:650}.mobileDrawer nav a.active{background:#eaf3ff;color:#0868ef}.mobileDrawer nav svg{width:22px;height:22px;flex:0 0 22px}.drawerEmoji{width:22px;text-align:center}
 .mobileDrawerLabel{padding:14px 11px 5px;color:#8291a7;text-transform:uppercase;font-size:11px;font-weight:800;letter-spacing:.08em}
 body.drawerOpen{overflow:hidden}
 .stats,.kpis,.dashboard-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
 .stat,.kpi,.statcard{padding:13px 10px!important;min-height:102px!important}
 .stat strong,.kpi strong,.statcard strong{font-size:28px!important}
 .stat p,.kpi p,.statcard p{font-size:12px!important;line-height:1.3!important}
 .hero,.bluehero{padding:19px 16px!important;border-radius:19px!important}.hero h1,.hero h2,.bluehero h1,.bluehero h2{font-size:25px!important}.hero p,.bluehero p{font-size:15px!important}
 .monthnav,.month-nav{padding:11px!important}.monthnav h2,.month-nav h2{font-size:22px!important}
 .ministry-grid,.cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 .card{min-width:0;padding:14px!important}.card h3{font-size:17px}.card p{font-size:13px}
 .printbtn,.btn-print{width:auto!important;padding:10px 14px!important;font-size:14px!important}
 .tablewrap,.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}
 .formgrid,.form-grid{grid-template-columns:1fr!important}
}
@media(max-width:560px){
 .main{padding:10px 9px 24px}
 .stats,.kpis,.dashboard-stats{gap:6px!important}
 .stat,.kpi,.statcard{padding:10px 8px!important;min-height:90px!important}
 .stat strong,.kpi strong,.statcard strong{font-size:25px!important}
 .stat p,.kpi p,.statcard p{font-size:10.8px!important}
 .hero,.bluehero{padding:16px 13px!important}.hero h1,.hero h2,.bluehero h1,.bluehero h2{font-size:22px!important}
 .card{padding:12px!important}.card h3{font-size:15px}.card p{font-size:12px}
}
@media(max-width:370px){.stats,.kpis,.dashboard-stats,.ministry-grid,.cards{grid-template-columns:1fr!important}.stat,.kpi,.statcard{min-height:auto!important}}
@media(min-width:901px){.mobileDrawer,.mobileDrawerOverlay,.mobileBottomOff{display:none!important}}

/* V20.18.2 — isolamento definitivo do menu mobile */
#mobileDrawerTemplate{display:none!important}
#mobileDrawerMount:empty{display:none!important}
.mobileDrawer svg,.mobileDrawer nav svg{width:22px!important;height:22px!important;max-width:22px!important;max-height:22px!important;min-width:22px!important;min-height:22px!important}
@media(min-width:901px){
 #mobileDrawerMount,.mobileDrawer,.mobileDrawerOverlay,.mobileBottomOff{display:none!important}
 #mobileDrawerMount *{display:none!important}
}

/* V20.18.3 — correção dos ícones gigantes no celular */
@media(max-width:900px){
 #mobileDrawerMount{position:relative!important;width:0!important;height:0!important}
 #mobileDrawerMount .mobileDrawer{width:min(86vw,340px)!important;height:auto!important}
 #mobileDrawerMount svg,
 #mobileDrawerMount .mobileDrawer svg,
 #mobileDrawerMount .mobileDrawer nav a svg{
   display:block!important;
   width:22px!important;height:22px!important;
   min-width:22px!important;min-height:22px!important;
   max-width:22px!important;max-height:22px!important;
   flex:0 0 22px!important;
   position:static!important;
   transform:none!important;
 }
 #mobileDrawerMount svg path,
 #mobileDrawerMount svg circle,
 #mobileDrawerMount svg rect,
 #mobileDrawerMount svg line,
 #mobileDrawerMount svg polyline{
   vector-effect:non-scaling-stroke;
 }
}

/* V20.18.4 — menu mobile sem SVG: elimina definitivamente ícones gigantes */
.mobileDrawer .mIcon{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 width:22px!important;height:22px!important;min-width:22px!important;max-width:22px!important;
 font-size:18px!important;line-height:1!important;flex:0 0 22px!important;color:currentColor!important;
}
#mobileDrawerMount > svg,#mobileDrawerMount > img{display:none!important;width:0!important;height:0!important}

/* V20.18.5 — navegação mobile refeita do zero */
.mNav,.mNavOverlay{display:none!important}
@media(min-width:901px){
 .mNav,.mNavOverlay{display:none!important}
}
@media(max-width:900px){
 .bottom,.mobileBottomOff,#mobileDrawerMount,.mobileDrawer,.mobileDrawerOverlay,.moreSheet,.moreOverlay{display:none!important}
 .mobileMenu{display:inline-flex!important;align-items:center!important;justify-content:center!important}
 .mNavOverlay{position:fixed!important;inset:0!important;background:rgba(5,22,43,.48)!important;z-index:9998!important}
 .mNavOverlay.open{display:block!important}
 .mNav{
   display:block!important;position:fixed!important;top:0!important;left:0!important;bottom:0!important;
   width:min(86vw,340px)!important;background:#fff!important;z-index:9999!important;
   transform:translateX(-105%)!important;transition:transform .2s ease!important;
   overflow-y:auto!important;box-shadow:12px 0 38px rgba(7,24,46,.22)!important;
   padding:0 0 calc(12px + env(safe-area-inset-bottom))!important;
   font-size:15px!important;
 }
 .mNav.open{transform:translateX(0)!important}
 .mNavHead{position:sticky!important;top:0!important;z-index:2!important;background:#fff!important;
   display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;
   padding:16px 14px 12px!important;border-bottom:1px solid #e4ebf4!important}
 .mNavHead strong{font-size:16px!important;color:#0a2345!important}
 .mNavHead button{display:inline-flex!important;align-items:center!important;justify-content:center!important;
   width:38px!important;height:38px!important;border:0!important;border-radius:10px!important;
   background:#eef4fb!important;color:#17365f!important;font-size:26px!important;line-height:1!important}
 .mNavLinks{display:block!important;padding:8px!important}
 .mNavLinks a{display:flex!important;align-items:center!important;gap:11px!important;
   padding:11px 10px!important;margin:2px 0!important;border-radius:11px!important;
   color:#294665!important;text-decoration:none!important;font-weight:650!important;line-height:1.25!important}
 .mNavLinks a>span{display:inline-flex!important;align-items:center!important;justify-content:center!important;
   width:22px!important;height:22px!important;min-width:22px!important;font-size:17px!important;line-height:1!important}
 .mNavGroup{padding:13px 10px 4px!important;color:#8796aa!important;font-size:10.5px!important;
   font-weight:800!important;text-transform:uppercase!important;letter-spacing:.08em!important}
 body.mNavOpen{overflow:hidden!important}
 body{padding-bottom:0!important}
}

/* V20.18.6 — menu lateral corrigido */
#mNav,#mNavOverlay{display:none!important}
@media(max-width:900px){
 #mNavOverlay{position:fixed!important;inset:0!important;z-index:2147483645!important;background:rgba(5,22,43,.48)!important}
 #mNavOverlay.open{display:block!important}
 #mNav{
  display:block!important;position:fixed!important;z-index:2147483646!important;
  top:0!important;bottom:0!important;left:0!important;width:min(86vw,340px)!important;
  background:#fff!important;overflow-y:auto!important;overflow-x:hidden!important;
  transform:translateX(-110%)!important;transition:transform .22s ease!important;
  box-shadow:12px 0 38px rgba(7,24,46,.22)!important;padding:0!important;margin:0!important;
 }
 #mNav.open{transform:translateX(0)!important}
 #mNav .mNavHead{display:flex!important;align-items:center!important;justify-content:space-between!important;
  padding:16px 14px 12px!important;border-bottom:1px solid #e4ebf4!important;background:#fff!important}
 #mNav .mNavHead strong{font-size:16px!important;color:#0a2345!important}
 #mNav .mNavHead button{display:flex!important;align-items:center!important;justify-content:center!important;
  width:38px!important;height:38px!important;border:0!important;border-radius:10px!important;background:#eef4fb!important;
  font-size:25px!important;line-height:1!important;color:#17365f!important}
 #mNav .mNavLinks{display:block!important;padding:8px!important}
 #mNav .mNavLinks a{display:flex!important;align-items:center!important;gap:11px!important;width:auto!important;
  padding:11px 10px!important;margin:2px 0!important;border-radius:11px!important;color:#294665!important;
  text-decoration:none!important;font-size:14px!important;font-weight:650!important;line-height:1.25!important}
 #mNav .mNavLinks a>span{display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:22px!important;height:22px!important;min-width:22px!important;font-size:17px!important;line-height:1!important}
 #mNav .mNavGroup{display:block!important;padding:13px 10px 4px!important;color:#8796aa!important;
  font-size:10.5px!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.08em!important}
 .bottom,.mobileBottomOff,#mobileDrawerMount,.mobileDrawer,.mobileDrawerOverlay,.moreSheet,.moreOverlay{display:none!important}
 .mobileMenu{display:inline-flex!important}
 body.mNavOpen{overflow:hidden!important}
}
@media(min-width:901px){#mNav,#mNavOverlay{display:none!important}}

/* V20.18.7 — estado do menu controlado inline/JS, independente do cache CSS */
@media(max-width:900px){
 #mNav{transition:transform .22s ease!important;margin:0!important;padding:0 0 calc(12px + env(safe-area-inset-bottom))!important}
 #mNav .mNavHead{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:16px 14px 12px!important;border-bottom:1px solid #e4ebf4!important;background:#fff!important}
 #mNav .mNavHead button{width:38px!important;height:38px!important;border:0!important;border-radius:10px!important;background:#eef4fb!important;font-size:25px!important}
 #mNav .mNavLinks{display:block!important;padding:8px!important}
 #mNav .mNavLinks a{display:flex!important;align-items:center!important;gap:11px!important;padding:11px 10px!important;margin:2px 0!important;border-radius:11px!important;color:#294665!important;text-decoration:none!important;font-size:14px!important;font-weight:650!important}
 #mNav .mNavLinks a>span{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:22px!important;height:22px!important;min-width:22px!important;font-size:17px!important}
 #mNav .mNavGroup{padding:13px 10px 4px!important;color:#8796aa!important;font-size:10.5px!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.08em!important}
 .bottom,.mobileBottomOff,#mobileDrawerMount,.mobileDrawer,.mobileDrawerOverlay,.moreSheet,.moreOverlay{display:none!important}
 .mobileMenu{display:inline-flex!important}
}
