:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#253349;background:#f5f7fb;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button,.button{cursor:pointer;border:0;border-radius:9px;padding:11px 16px;background:#eeb735;color:#3e2d08;font-weight:650;text-decoration:none;display:inline-block}button:hover{filter:brightness(.96)}button.secondary,.button.secondary{background:#edf1f6;color:#405069}button.danger{background:#ffeded;color:#a42b32}.layout{display:grid;grid-template-columns:230px 1fr;min-height:100vh}aside{background:white;border-right:1px solid #e5e9ef;padding:24px 16px;display:flex;flex-direction:column;gap:6px}.brand{font-size:20px;font-weight:800;color:#253349;margin-bottom:27px;display:flex;gap:10px;align-items:center}.brand span{background:#173c42;color:#eeb735;width:38px;height:38px;display:grid;place-items:center;border-radius:12px}.brand small{display:block;font-size:11px;font-weight:400;color:#85909e;margin-top:5px}nav{display:grid;gap:4px}nav button{text-align:left;background:transparent;color:#69778a;font-weight:500;display:flex;gap:10px;padding:12px}nav button.active{background:#fff1c9;color:#705208;font-weight:700}.sidefoot{margin-top:auto;padding-top:30px;color:#768195;font-size:12px;line-height:1.8}main{padding:30px 40px;max-width:1600px;width:100%}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:32px;font-size:12px;color:#8390a2}.pill{display:inline-block;background:#eaf4ef;color:#35825d;border-radius:20px;padding:6px 10px;font-size:11px;font-weight:700}.heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}h1{font-size:27px;letter-spacing:-.7px;margin:0 0 8px}h2{font-size:19px;margin:0 0 20px}h3{font-size:15px;margin:0 0 12px}p{color:#7b8797;line-height:1.65;margin:0 0 16px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:26px}.stat,.panel,.card{background:#fff;border:1px solid #e8ecf2;border-radius:14px;padding:22px;box-shadow:0 3px 15px #25334904}.stat strong{display:block;font-size:34px;margin:12px 0 8px}.stat small{color:#85909e}.stat .icon{float:right;background:#fff3d2;border-radius:9px;padding:9px;color:#b28212}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.dashboard-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:22px}.panel{margin-bottom:22px}.card p{font-size:12px;margin-bottom:10px}.card .actions{margin-top:16px}.network-title{display:flex;gap:9px;align-items:center;margin:26px 0 15px}.dot{width:10px;height:10px;border-radius:50%;background:var(--color,#eeb735)}.toolbar{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}.toolbar input{min-width:230px;flex:1}.tablewrap{overflow:auto;background:#fff;border-radius:12px;border:1px solid #e8ecf2}table{border-collapse:collapse;width:100%;font-size:13px}th{text-align:left;background:#fafbfd;color:#8893a3;font-size:11px;text-transform:uppercase;letter-spacing:.5px}th,td{padding:15px 16px;border-bottom:1px solid #edf0f4}tr:last-child td{border:0}td button{padding:6px 9px;font-size:12px}.actions{display:flex;gap:7px;flex-wrap:wrap}.empty{text-align:center;padding:50px 20px;color:#8792a2}.empty strong{display:block;color:#405069;margin-bottom:10px;font-size:17px}input,select,textarea{border:1px solid #dbe1e9;background:#fff;border-radius:8px;padding:11px;color:#253349;width:100%}input[type=checkbox]{width:auto;accent-color:#d5a42b}textarea{min-height:90px;resize:vertical}label{display:block;font-size:12px;font-weight:600;margin-bottom:7px}form .field{margin-bottom:17px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.full{grid-column:1/-1}dialog{border:0;border-radius:16px;padding:28px;width:min(620px,94vw);max-height:90vh;color:#253349;box-shadow:0 20px 100px #10232e40}dialog::backdrop{background:#18253375}dialog header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}dialog header h2{margin:0}dialog footer{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.checkrow{display:flex;align-items:center;gap:12px;padding:10px;border-bottom:1px solid #eee}.checkrow label{margin:0;flex:1}.login{max-width:440px;margin:8vh auto;background:#fff;border-radius:20px;border:1px solid #e5e9ef;padding:36px}.login .brand{margin-bottom:30px}.login h1{font-size:23px}.login button{width:100%}.public{max-width:1100px;margin:auto;padding:35px 25px}.public .brand{margin-bottom:50px}.public .card{padding:27px}.public .card button{width:100%;margin-top:10px}.back{margin-bottom:22px}.bar{display:flex;align-items:center;gap:14px;margin:18px 0}.bar label{width:95px;margin:0}.bar i{display:block;height:11px;border-radius:8px;background:var(--color,#eeb735);min-width:2px}.bar div{flex:1;background:#f1f4f8;border-radius:8px}.muted{color:#8792a2}#toast{position:fixed;bottom:25px;right:25px;background:#173c42;color:white;padding:15px 22px;border-radius:10px;display:none;z-index:99}.error{color:#b02e3a;margin-top:12px;font-size:13px}details{background:#fff;border:1px solid #e5e9ef;border-radius:10px;margin:12px 0;padding:20px}summary{cursor:pointer;font-weight:700}details p{margin:16px 0 0}.report{display:none}.qr{width:200px}.mobile-menu{display:none}@media(max-width:1050px){main{padding:25px}.stats{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}}@media(max-width:900px){.layout{grid-template-columns:1fr}aside{padding:12px;position:static}.brand{margin:0 0 12px}nav{display:flex;overflow:auto}nav button{white-space:nowrap;padding:10px}.sidefoot{display:none}main{padding:22px 16px}.grid{grid-template-columns:1fr}.heading{align-items:flex-start}.heading h1{font-size:23px}.stat{padding:17px}.stat strong{font-size:29px}.topbar{margin-bottom:22px}.formgrid{grid-template-columns:1fr}.full{grid-column:auto}.login{margin:5vh 15px}.stats{gap:10px}}@media print{body>*{display:none!important}body .report{display:block!important;background:white;color:black}.report>section{break-before:page;padding:15px}.report>section:first-child{break-before:auto}.report h1{font-size:22px}.report article{break-inside:avoid;border-bottom:1px solid #ddd;padding:16px 0}.report p{color:black}.report table{font-size:11px}@page{size:A4;margin:15mm}}

/* Identidade padrão KoinnectChurch */
.brand{display:flex;flex-direction:column;align-items:flex-start;gap:0;max-width:100%}.brand-logo{display:block;width:198px;max-width:100%;height:auto}.brand small{margin-top:-9px;margin-left:43px;color:#768195;font-size:11px;letter-spacing:.2px}.login .brand-logo,.public .brand-logo{width:260px}.login .brand small,.public .brand small{margin-left:56px;margin-top:-12px;font-size:12px}

.church-identity{display:flex;align-items:center;gap:12px;min-width:0}.church-identity img{width:52px;height:52px;object-fit:contain;flex-shrink:0}.church-identity strong{display:block;font-size:15px;color:#253349;overflow-wrap:anywhere}.church-identity small{display:block;margin-top:4px;font-size:11px;color:#8390a2}.church-identity button{font-size:11px;padding:7px 10px}.church-settings{max-width:650px}.church-preview{margin-bottom:24px;border:1px dashed #dbe1e9;border-radius:10px;padding:16px;background:#fafbfd}.church-preview>img{max-width:180px;max-height:100px;object-fit:contain}.public-church{margin:0 0 24px}.report-identity{margin-bottom:20px}.report-identity img{width:75px;height:75px}.report-identity strong{font-size:20px}@media(max-width:900px){.topbar{gap:12px;align-items:flex-start;flex-wrap:wrap}.church-identity{flex-wrap:wrap}.church-identity strong{font-size:14px}}@media print{.report-identity{display:flex!important;align-items:center;gap:16px;break-inside:avoid}.report-identity img{width:75px;height:75px;object-fit:contain}.report-identity strong{color:#000}}

/* KoinnectChurch: assinatura horizontal */
.brand small{margin:0;width:100%;text-align:center}.login .brand small,.public .brand small{margin:0;width:260px;max-width:100%;text-align:center}

/* Layout adaptável: conteúdo sem largura mínima implícita. */
.layout{grid-template-columns:230px minmax(0,1fr)}main,#content,.panel,.card,.stat,.owner,.field,.formgrid>*{min-width:0}img{max-width:100%}.heading>div,.church-identity>div{min-width:0}.card,.panel,td,.error,.empty{overflow-wrap:anywhere}.mobile-navigation>summary{display:none}.mobile-navigation:not([open])>nav,.mobile-navigation:not([open])>.sidefoot{display:grid}.mobile-navigation>.sidefoot{display:block}.mobile-navigation{border:0;margin:0;padding:0;background:transparent}.mobile-navigation summary{list-style:none}.mobile-navigation summary::-webkit-details-marker{display:none}
@media screen and (max-width:900px){
.layout{grid-template-columns:minmax(0,1fr)}aside{padding:14px 16px}.brand{margin-bottom:12px}.mobile-navigation>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid #dbe1e9;border-radius:9px;color:#173c42;min-height:44px}.mobile-navigation summary span{font-size:12px;color:#69778a;text-align:right}.mobile-navigation:not([open])>nav,.mobile-navigation:not([open])>.sidefoot{display:none}.mobile-navigation[open]>nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;margin-top:10px}.mobile-navigation nav button{white-space:normal;text-align:left;min-height:44px;align-items:center}.mobile-navigation nav a{grid-column:1/-1}.mobile-navigation[open]>.sidefoot{display:block;padding-top:14px}.sidefoot button{min-height:44px;margin-top:8px}.heading{flex-direction:column;align-items:stretch;gap:12px}.heading>button,.heading>.button{width:100%}.toolbar{display:grid;grid-template-columns:minmax(0,1fr)}.toolbar input,.toolbar select,.owner .toolbar select{min-width:0;width:100%;max-width:100%}.toolbar button,.toolbar .button{width:100%;text-align:center}input,select,textarea{font-size:16px;min-width:0}button,.button{min-height:44px;white-space:normal}input[type=checkbox]{min-width:20px;min-height:20px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat{padding:14px}.stat strong{font-size:28px}.stat .icon{padding:5px}.panel,.card{padding:18px}.topbar{align-items:stretch}.topbar>div{max-width:100%}.church-identity{width:100%}.church-identity>div{flex:1}.church-identity button{min-height:44px}.login{padding:24px;margin:24px 12px;max-width:440px}.public{padding:20px 14px}.public .brand{margin-bottom:24px}.public .card{padding:18px}.checkrow{flex-wrap:wrap;padding:12px 0}.checkrow label{min-width:0;overflow-wrap:anywhere}.checkrow .actions{width:100%}.actions{gap:8px}.actions button,.actions .button{flex:1;text-align:center}.bar{gap:8px}.bar label{width:75px;overflow-wrap:anywhere}.bar div{min-width:0}dialog{padding:20px 16px;width:calc(100% - 24px);max-height:calc(100dvh - 32px);overflow:auto}dialog header{gap:12px}dialog header h2{min-width:0;overflow-wrap:anywhere}dialog header button{flex-shrink:0}dialog footer{flex-wrap:wrap}dialog footer button{flex:1;min-width:100px}.formgrid{grid-template-columns:minmax(0,1fr)}#toast{left:12px;right:12px;bottom:12px;overflow-wrap:anywhere}
/* Tabelas viram fichas com os rótulos dos cabeçalhos. */
.tablewrap{overflow:visible;background:transparent;border:0;border-radius:0}.tablewrap table,.tablewrap tbody{display:block;width:100%}.tablewrap thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.tablewrap tr{display:block;background:white;border:1px solid #e5e9ef;border-radius:12px;margin-bottom:12px;padding:8px 14px}.tablewrap td{display:grid;grid-template-columns:minmax(75px,32%) minmax(0,1fr);gap:12px;padding:10px 0;align-items:start;font-size:14px;border-bottom:1px solid #edf0f4;overflow-wrap:anywhere}.tablewrap td:before{content:attr(data-label);font-size:11px;font-weight:700;color:#69778a}.tablewrap td:last-child{border-bottom:0}.tablewrap td[colspan]{display:block}.tablewrap td[colspan]:before{display:none}.tablewrap td .actions{grid-column:2;min-width:0}.owner header{align-items:flex-start}.owner header>.actions{width:100%}.owner .stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.owner .stat{font-size:12px;padding:12px}.owner .stat strong{font-size:25px}.owner .muted{overflow-wrap:anywhere}
}
@media screen and (max-width:360px){.stats{grid-template-columns:minmax(0,1fr)}.owner .stats{grid-template-columns:minmax(0,1fr)}.mobile-navigation[open]>nav{grid-template-columns:minmax(0,1fr)}}

/* Gráficos do dashboard */
.chart-note{font-size:12px;margin-bottom:16px}.chart-empty{padding:28px 0;text-align:center}.line-chart{width:100%;height:auto;display:block;max-height:320px}.line-chart text,.donut-chart text{font-family:inherit;font-size:12px;fill:#69778a}.chart-data{padding:12px;font-size:12px}.chart-data ul{padding-left:18px}.donut-layout{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.donut-chart{width:200px;max-width:100%;height:auto;flex-shrink:0}.donut-chart .donut-total{font-size:32px;font-weight:700;fill:#173c42}.donut-legend{list-style:none;padding:0;margin:0;flex:1;min-width:140px}.donut-legend li{display:flex;gap:8px;align-items:center;padding:9px 0;overflow-wrap:anywhere}.donut-legend li>span:nth-child(2){flex:1;min-width:0}.donut-legend .dot{flex-shrink:0}.donut-legend small{font-weight:400;color:#69778a}.attendance-ranking{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 30px}.attendance-ranking li{min-width:0}.ranking-label{display:flex;justify-content:space-between;gap:12px;margin-bottom:7px}.ranking-label strong{min-width:0;overflow-wrap:anywhere}.ranking-label span{color:#147d80;font-weight:700}.ranking-track{height:12px;background:#edf1f6;border-radius:8px;overflow:hidden}.ranking-track i{height:100%;display:block;background:#147d80;border-radius:8px}.attendance-ranking small{display:block;color:#69778a;margin-top:6px;overflow-wrap:anywhere}@media screen and (max-width:900px){.attendance-ranking{grid-template-columns:minmax(0,1fr)}.donut-layout{justify-content:center}.donut-legend{flex-basis:100%}.line-chart text{font-size:14px}}

/* Grupos: cartões selecionáveis por rede */
.group-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 176px 176px;background:white;padding:16px;border:1px solid #e8ecf2;border-radius:12px;box-shadow:0 5px 12px #25334908}.group-toolbar input{min-width:0}.group-network{margin-bottom:28px}.group-network .network-title h3{margin:0;text-transform:uppercase}.network-symbol{color:var(--color,#173c42);background:white;border:1px solid #e5e9ef;border-radius:9px;padding:6px;font-size:22px}.group-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.group-card{background:white;border:1px solid #ced9e8;border-radius:12px;min-width:0;padding:17px 12px;display:flex;flex-direction:column;align-items:center;gap:8px;color:#17304d;font-weight:400;box-shadow:none;text-align:center;overflow-wrap:anywhere}.group-card:hover{background:#fffaf0;filter:none;border-color:#f4a000}.group-card:focus-visible{outline:3px solid #147d80;outline-offset:3px}.group-card strong{font-size:14px}.group-icon{display:grid;place-items:center;width:56px;height:56px;border:2px solid #f4a000;border-radius:12px;color:#f4a000;background:#fff5de;margin-bottom:3px}.group-icon svg{width:27px;height:27px}.group-meta{font-size:12px;color:#536b8d}.group-status{border-radius:20px;padding:4px 12px;font-size:11px}.group-status.active{background:#f4a000;color:#17304d}.group-status.inactive{background:#edf1f6;color:#536b8d}.group-details dl{margin:0}.group-details dl>div{padding:12px 0;border-bottom:1px solid #edf0f4}.group-details dt{font-size:12px;color:#69778a;margin-bottom:4px}.group-details dd{margin:0;overflow-wrap:anywhere}@media screen and (max-width:1200px){.group-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media screen and (max-width:900px){.group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.group-toolbar{grid-template-columns:minmax(0,1fr)}}@media screen and (max-width:400px){.group-grid{grid-template-columns:minmax(0,1fr)}}

.member-contact{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}.member-contact>span{overflow-wrap:anywhere}.member-chat{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex-shrink:0;color:#168348;background:#eaf7ee;border:1px solid #c5e6d0;border-radius:10px;text-decoration:none}.member-chat svg{width:23px;height:23px}.member-chat:hover{background:#d8f2e1}.member-chat:focus-visible{outline:3px solid #147d80;outline-offset:3px}

.drive-settings{border:1px solid #e5e9ef;border-radius:12px;padding:18px;margin:20px 0}.drive-settings .actions{margin-top:12px}.meeting-photos{padding-left:20px;overflow-wrap:anywhere}.meeting-photos li{margin:8px 0}.meeting-photos a{color:#147d80}.meeting-photos a:focus-visible{outline:2px solid #147d80}

/* Série de Estudos: biblioteca de PDFs */
.studies-page .heading h1{display:flex;align-items:center;gap:10px}.studies-page .heading h1:before{content:'♧';color:#f4a000;font-size:26px}.studies-page .heading>button{background:#f4a000;color:#17304d}.study-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}.study-card{min-width:0;background:#fafdff;border-radius:14px;padding:20px;box-shadow:0 5px 12px #25334908;border:1px solid #eef2f6;overflow-wrap:anywhere}.study-title{display:flex;align-items:center;gap:12px;margin-bottom:12px}.study-title h3{font-size:15px;font-weight:600;min-width:0;margin:0;color:#17304d}.study-file-icon{width:40px;height:40px;display:grid;place-items:center;flex-shrink:0;border-radius:12px;background:#fff3dc;color:#f4a000}.study-file-icon svg{width:21px;height:21px}.study-card p{font-size:13px;color:#536b8d;margin-bottom:12px}.study-network{display:block;color:#69778a;margin-bottom:12px}.study-actions{display:flex;align-items:center;gap:8px}.study-actions svg{width:18px;height:18px;flex-shrink:0}.study-view{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;gap:12px;background:#f4a000;color:#17304d;padding:9px 12px;font-size:12px;min-height:40px}.study-action-icon{width:40px;min-height:40px;display:flex;justify-content:center;align-items:center;flex-shrink:0;padding:8px;border:1px solid #ced9e8;background:#fafdff!important;border-radius:9px;color:#17304d}.study-delete{color:#ef6262}.study-actions a:focus-visible,.study-actions button:focus-visible{outline:3px solid #147d80;outline-offset:3px}@media screen and (max-width:1100px){.study-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media screen and (max-width:900px){.study-grid{grid-template-columns:minmax(0,1fr)}.study-view,.study-action-icon{min-height:44px}.study-action-icon{width:44px}.study-card{padding:20px}.study-actions{gap:8px}}

.studies-page .heading h1:before{content:none}.study-heading-icon{width:24px;height:24px;color:#f4a000;flex-shrink:0}

/* Inscrições: status e ações rápidas */
.registration-header-actions{display:flex;gap:8px;flex-shrink:0}.registration-header-actions button{font-size:12px;min-height:40px;border:1px solid #ced9e8;background:#f5f8fc;color:#17304d}.registrations-page .heading{align-items:flex-start}.registration-link{display:flex;align-items:center;gap:12px;padding:16px}.registration-link label{margin:0;white-space:nowrap;color:#536b8d;font-weight:400}.registration-link input{flex:1;min-width:0;background:#edf2f8;border:0;font-family:monospace;font-size:13px}.registration-icon{padding:8px;width:40px;min-height:40px;background:transparent!important;color:#17304d}.registration-tabs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:20px 0}.registration-tabs>strong{font-size:13px;font-weight:500}.registration-tabs>strong span{color:#e79400;font-weight:700}.registration-tabs button{font-size:12px;min-height:36px;padding:9px 12px;border:1px solid #ced9e8}.registration-tabs button.selected{background:#f4a000;color:#17304d;border-color:#f4a000}.registration-network{border:1px solid #ced9e8;border-radius:9px;font-size:11px;padding:4px 10px;display:inline-block}.registration-status.pendente{background:#e4ecf5;color:#17304d}.registration-status.aprovada{background:#eaf7ee;color:#168348}.registration-status.rejeitada{background:#ffeded;color:#a42b32}.registration-actions{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.registration-actions .member-chat,.registration-action{display:inline-flex;justify-content:center;align-items:center;width:40px;min-height:40px;padding:8px;border:0;background:transparent;border-radius:9px}.registration-actions .member-chat{color:#f4a000}.registration-action svg{width:20px;height:20px}.registration-action.approve{color:#168348}.registration-action.reject{color:#ef6262}.registration-actions a:hover,.registration-actions button:hover{background:#edf2f8;filter:none}.registration-actions a:focus-visible,.registration-actions button:focus-visible{outline:3px solid #147d80;outline-offset:2px}@media screen and (max-width:900px){.registration-header-actions{flex-wrap:wrap;width:100%}.registration-header-actions button{flex:1;min-height:44px}.registration-link{display:grid;grid-template-columns:minmax(0,1fr) 44px 44px;gap:8px}.registration-link label{grid-column:1/-1}.registration-link input{font-size:16px;width:100%}.registration-tabs>strong{width:100%}.registration-tabs button{min-height:44px}.registration-actions .member-chat,.registration-action{width:44px;min-height:44px}.registrations-page .tablewrap td{min-width:0}}

.users-page .heading h1{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.users-count{display:inline-block;border-radius:12px;padding:6px 12px;font-size:12px;font-weight:500;background:#e4ecf5;letter-spacing:0}.users-page .heading>button{background:#f4a000;color:#17304d}.users-notice{display:flex;gap:14px;align-items:flex-start;padding:20px;background:#fafdff}.users-notice>span{color:#f4a000;font-size:24px;flex-shrink:0}.users-notice p{font-size:13px;color:#536b8d;margin:0}.users-notice strong{color:#17304d}.user-email{font-weight:600;color:#17304d;overflow-wrap:anywhere}.user-role{display:inline-block;border-radius:20px;padding:5px 12px;font-size:11px;background:#e4ecf5;color:#17304d}.user-role.admin{background:#f4a000}.user-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.user-icon{background:transparent;display:flex;align-items:center;justify-content:center;width:40px;min-height:40px;padding:8px;color:#17304d}.user-icon svg{width:20px;height:20px}.user-remove{color:#ef6262}.user-icon:hover{background:#edf2f8;filter:none}.user-icon:focus-visible{outline:3px solid #147d80;outline-offset:2px}@media screen and (max-width:900px){.user-icon{width:44px;min-height:44px}.users-notice{padding:16px}}

/* Ajuda e suporte */
.help-page .heading h1{display:flex;align-items:center;gap:10px}.help-page .heading h1:before{content:'?';color:#f4a000;border:2px solid #f4a000;width:23px;height:23px;display:grid;place-items:center;border-radius:50%;font-size:15px;flex-shrink:0}.help-search{padding:16px}.help-search input{background:#fafdff;border-color:#ced9e8}.help-guide{padding:18px;background:#fafdff}.help-section{border:0;border-bottom:1px solid #ced9e8;border-radius:0;margin:0;padding:0;background:transparent}.help-section:last-child{border-bottom:0}.help-section summary{display:flex;align-items:center;justify-content:space-between;padding:20px 0;gap:12px;font-size:15px;font-weight:600;list-style:none;color:#17304d;min-height:44px}.help-section summary::-webkit-details-marker{display:none}.help-section summary>span{color:#536b8d}.help-section[open] summary>span{transform:rotate(180deg)}.help-items{padding:0 0 16px}.help-items article{padding-left:13px;border-left:2px solid #ffd58c;margin:0 0 12px}.help-items article:last-child{margin-bottom:0}.help-items h3{font-size:13px;font-weight:600;margin:0 0 4px;color:#17304d}.help-items p{font-size:13px;color:#536b8d;margin:0;line-height:1.6}.help-page [hidden]{display:none!important}.help-section summary:focus-visible{outline:3px solid #147d80;outline-offset:3px;border-radius:6px}@media screen and (max-width:900px){.help-guide{padding:16px}.help-search{padding:14px}.help-items p{font-size:14px}}

/* Ícones do menu: traço uniforme e identificação por texto */
nav button{align-items:center}.menu-icon{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;flex:0 0 20px;color:inherit}.menu-icon svg{display:block;width:18px;height:18px}nav button.active .menu-icon{color:inherit}

/* Visualização e impressão do relatório de encontros */
.report-preview{padding:20px 12px;background:#e6e8ea;min-height:100vh}.report-preview-toolbar{display:flex;justify-content:space-between;gap:12px;max-width:794px;margin:0 auto 16px;flex-wrap:wrap}.report-sheet{max-width:794px;margin:auto;background:white;box-shadow:0 3px 18px #10232e18;color:#111a30}.report-banner{display:flex;align-items:center;gap:20px;background:#101627;color:white;padding:24px 44px;border-bottom:6px solid #d9b128}.report-banner img{width:70px;height:70px;object-fit:contain;background:transparent;border-radius:0}.report-banner strong{display:block;font-size:23px;overflow-wrap:anywhere}.report-banner small{display:block;font-size:12px;color:#e4bd31;margin-top:10px}.report-body{padding:26px 52px}.report-body h1{font-size:19px;letter-spacing:-.3px;margin-bottom:8px}.report-issued,.report-address{font-size:11px;color:#627798!important;margin:0 0 6px;line-height:1.6}.report-body h2{font-size:18px;margin:0 0 5px}.report-leader{font-size:11px;color:#111a30!important;margin-bottom:18px}.report-network-name{background:var(--network-color,#387ef5);color:white;padding:7px 12px;font-size:14px;margin-bottom:14px}.report-summary{background:#f3f6f9;display:flex;justify-content:space-between;gap:12px;padding:12px 8px;font-size:11px;flex-wrap:wrap}.report-meeting{padding:0 0 24px}.report-meeting h4{font-size:11px;color:#627798;margin:7px 0}.report-people{padding-left:24px;font-size:11px;line-height:1.7;margin:0 0 10px}.report-notes{font-size:11px;color:#111a30!important;white-space:pre-wrap;overflow-wrap:anywhere}.report-group{margin-bottom:22px}@media screen and (max-width:900px){.report-body{padding:22px 18px}.report-banner{padding:20px 18px;gap:14px}.report-banner strong{font-size:20px}.report-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.report-summary b{grid-column:1/-1}.report-preview-toolbar button{flex:1}}@media print{.report .report-network{padding:0;break-before:page}.report .report-network:first-child{break-before:auto}.report .report-banner{print-color-adjust:exact;-webkit-print-color-adjust:exact}.report .report-body{padding:20px 10px}.report .report-meeting{border:0;break-inside:auto;padding:0 0 22px}.report .report-summary,.report .report-network-name{print-color-adjust:exact;-webkit-print-color-adjust:exact;break-inside:avoid}.report .report-body h1{font-size:19px}.report .report-body h2{break-after:avoid}.report .report-people{break-inside:auto}}

.dashboard-stats{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;align-items:start}.dashboard-stats .stat{min-width:0;padding:16px;font-size:12px;min-height:140px;overflow-wrap:anywhere}.dashboard-stats .stat strong{font-size:30px;margin:14px 0 8px}.dashboard-stats .icon{display:flex;align-items:center;justify-content:center;background:#fff4df;border:1px solid #ffe3ac;color:#f59e0b;padding:7px;border-radius:10px;margin-left:5px}.dashboard-stats .icon svg{width:19px;height:19px}.dashboard-stats small{font-size:11px}.absence-details{padding:0;margin:12px 0 0;border:0;background:transparent}.absence-details summary{font-size:11px;color:#405069;min-height:32px}.absence-details ol{padding-left:18px;margin:8px 0 0}.absence-details li{font-size:11px;padding:6px 0}.absence-details li span{display:block;color:#69778a;margin-top:4px}.absence-empty{font-size:11px;margin:10px 0 0}@media(max-width:1400px){.dashboard-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:900px){.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dashboard-stats .stat{padding:14px}.ranking-label{flex-wrap:wrap;gap:6px}}@media(max-width:360px){.dashboard-stats{grid-template-columns:minmax(0,1fr)}}

.network-image{width:38px;height:38px;object-fit:contain;flex-shrink:0;border-radius:8px;background:#fff;border:1px solid #e5e9ef;padding:2px}.network-image-preview{display:block;width:90px;height:90px;object-fit:contain;margin:8px 0 12px;border:1px solid #e5e9ef;border-radius:10px;padding:4px}

/* Ações compactas e encontros semanais */
.heading h1{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.record-actions,.meeting-actions{display:flex;gap:4px;align-items:center;flex-wrap:nowrap}.record-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;min-height:44px;padding:10px;background:transparent;color:#17304d;border:0;box-shadow:none}.record-icon svg{width:19px;height:19px}.record-remove{color:#ef6262}.record-icon:hover{background:#edf2f8;filter:none}.record-icon:focus-visible{outline:3px solid #147d80;outline-offset:2px}.record-actions .member-chat{color:#f4a000}.meeting-stats{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.meeting-stats .stat{padding:16px;font-size:12px}.meeting-stats strong{font-size:24px}.meeting-filters{padding:16px}.meeting-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.meeting-filter-grid>*{width:100%;min-width:0}.meeting-export{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px;padding-top:12px;border-top:1px solid #d5deeb}.meeting-export button{display:inline-flex;align-items:center;gap:8px}.meeting-export svg{width:18px;height:18px}.meeting-conversions{display:inline-block;padding:3px 10px;border-radius:12px;background:#f4a000;color:#17304d}.meeting-note{display:block;max-width:360px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.meetings-page .tablewrap td{font-size:12px}.meeting-actions .actions{margin:0}.meeting-stats .stat{min-width:0}@media(max-width:1000px){.meeting-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.meeting-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.meeting-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.meeting-filter-grid{grid-template-columns:1fr}.meeting-note{max-width:100%;white-space:normal;overflow-wrap:anywhere}.meeting-export button{flex:1;justify-content:center}.meeting-actions{justify-content:flex-end}.meeting-stats .stat:last-child{grid-column:1/-1}}

.contact-actions{display:flex;align-items:center;gap:8px}.contact-actions .member-chat{color:#f4a000;background:#fafdff;border:1px solid #ced9e8;border-radius:9px;width:44px;height:44px}.contact-actions .member-chat svg{width:20px;height:20px}.contact-actions .member-chat:hover{background:#fff3dc}

.communications-page .heading{margin-bottom:20px}.communication-panel{padding:20px;background:#fafdff}.communication-panel textarea{min-height:150px;background:#fafdff}.communication-buttons{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 22px}.communication-buttons button{display:inline-flex;align-items:center;gap:8px;min-height:44px}.communication-buttons svg,.communication-open svg{width:18px;height:18px}.communication-buttons button:disabled{opacity:.5;cursor:default}.communication-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.communication-list-heading strong{display:flex;align-items:center;gap:8px;font-size:13px}.communication-list-heading svg{width:18px;height:18px}.communication-list-heading button{background:transparent;font-size:12px}.communication-leaders{max-height:280px;overflow:auto;border:1px solid #d5deeb;border-radius:10px;padding:0 10px}.communication-leader{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #d5deeb;padding:8px 0}.communication-leader:last-child{border-bottom:0}.communication-leader label{display:flex;align-items:center;gap:12px;margin:0;flex:1;min-width:0;cursor:pointer;min-height:44px}.communication-leader input{flex-shrink:0}.communication-leader label span{min-width:0}.communication-leader strong,.communication-leader small{display:block;overflow-wrap:anywhere}.communication-leader small{font-size:12px;font-weight:400;color:#536b8d;margin-top:4px}.communication-open{display:flex;align-items:center;justify-content:center;color:#f4a000;min-width:44px;min-height:44px;border-radius:8px}.communication-open:hover{background:#fff3dc}.communication-open:focus-visible{outline:3px solid #147d80}.communication-hint{font-size:12px;margin:12px 0 0;color:#536b8d}.communication-history summary{cursor:pointer;margin-bottom:16px;color:#536b8d}@media(max-width:900px){.communication-panel{padding:16px}.communication-buttons button{flex:1;justify-content:center}.communication-list-heading{align-items:center}.communication-leaders{max-height:340px}}

/* Identidade: logo e legenda compartilham o mesmo eixo central. */
.brand{width:198px;max-width:100%;align-items:center;gap:0}.brand .brand-logo{width:100%;height:auto;margin:0 0 -7%}.brand small{width:100%;margin:0;text-align:center;line-height:1.4;white-space:nowrap}.login .brand,.public .brand{width:260px;max-width:100%}.login .brand .brand-logo,.public .brand .brand-logo{width:100%}.login .brand small,.public .brand small{width:100%;margin:0;text-align:center}

/* Celular: navegação vertical e controles confortáveis para toque. */
@media screen and (max-width:900px){
.layout>aside{padding:12px 16px;border-bottom:1px solid #dbe1e9;border-right:0}.layout>aside>.brand{margin:0 auto 12px}.mobile-navigation[open]>nav{display:flex;flex-direction:column;gap:4px;max-height:55dvh;overflow-y:auto;overscroll-behavior:contain;padding:6px 0}.mobile-navigation nav button,.mobile-navigation nav a{width:100%;display:flex;align-items:center;gap:12px;padding:12px 14px;min-height:48px;font-size:15px;flex-shrink:0;text-align:left}.mobile-navigation nav .menu-icon{flex-shrink:0}.mobile-navigation summary{font-size:15px}.mobile-navigation summary span{font-size:13px}.mobile-navigation .sidefoot{border-top:1px solid #dbe1e9;margin-top:10px;padding-top:10px}.layout main{padding:18px 12px}.topbar{flex-wrap:wrap;gap:10px;margin-bottom:20px}.topbar>div{width:100%}.topbar>div:last-child{display:flex;align-items:center;justify-content:space-between}.church-identity{flex-wrap:wrap;gap:10px}.church-identity strong{font-size:14px}.church-identity img{width:44px;height:44px;object-fit:contain}.heading h1{font-size:23px;letter-spacing:-.3px}.heading p{font-size:13px}.panel,.card{padding:16px}.tablewrap tr{padding:8px 12px}.tablewrap td{grid-template-columns:minmax(80px,30%) minmax(0,1fr);gap:10px}.tablewrap td .actions{grid-column:auto;justify-content:flex-end;flex-wrap:wrap}.record-actions,.meeting-actions{flex-wrap:wrap;justify-content:flex-end}.record-actions .record-icon{flex:0 0 44px}.owner header{flex-wrap:wrap;gap:14px}.owner header>.brand{margin-bottom:0}.owner header>.actions{display:flex;flex-wrap:wrap}.owner td[data-label="Ações"]{display:block}.owner td[data-label="Ações"]:before{display:block;margin-bottom:10px}.owner td[data-label="Ações"] button{margin:4px;min-height:44px}dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);padding:18px 14px}dialog header h2{font-size:20px}dialog .stats{grid-template-columns:repeat(2,minmax(0,1fr))}.formgrid{gap:0}.formgrid .field{margin-bottom:14px}input,select,textarea{font-size:16px;min-height:44px}textarea{min-height:120px}.donut-chart{width:170px}.group-grid{gap:12px}.report-preview-toolbar{flex-wrap:wrap;padding:10px}.report-preview-toolbar button{flex:1;min-height:44px}.communication-leaders{max-height:45dvh}
}
@media screen and (max-width:380px){.tablewrap td{grid-template-columns:minmax(0,1fr);gap:6px}.tablewrap td .actions,.meeting-actions{justify-content:flex-start}.dashboard-stats{grid-template-columns:minmax(0,1fr)}.group-grid{grid-template-columns:minmax(0,1fr)}}

/* Escolha pública de grupos */
.public-group-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:stretch}.public .public-group-card{display:flex;flex-direction:column;padding:28px;background:#fafdff;border:0;border-radius:16px;box-shadow:0 8px 18px #2533490a}.public-group-card h2{font-size:23px;color:#17304d;margin:4px 0 16px;line-height:1.3}.public-group-card p{display:flex;align-items:flex-start;gap:8px;font-size:16px;line-height:1.5;margin:0 0 10px}.public-group-card svg{width:21px;height:21px;flex-shrink:0;margin-top:2px}.public-group-time{color:#71829b}.public-group-address{color:#405069}.public-group-address svg,.public-group-map{color:#f4a000}.public-group-map{display:flex;align-items:flex-start;gap:8px;font-size:16px;font-weight:600;text-decoration:none;margin:0 0 20px;min-height:32px;overflow-wrap:anywhere}.public-group-map:hover{text-decoration:underline}.public-group-map:focus-visible{outline:3px solid #147d80;outline-offset:3px}.public .public-group-card button{margin-top:auto;min-height:46px;background:#f4a000;color:#17304d;font-size:16px;font-weight:600;box-shadow:0 2px 4px #25334920}.public-group-card p:last-of-type{margin-bottom:20px}@media screen and (max-width:600px){.public-group-grid{grid-template-columns:minmax(0,1fr);gap:16px}.public .public-group-card{padding:24px}.public-group-card h2{font-size:21px}.public-group-map{min-height:44px;align-items:center}.public-group-card button{padding:12px}}

.church-module-menu{width:100%}.church-module-menu h2{display:flex;align-items:center;gap:10px;font-size:14px;margin:16px 0 6px;padding:10px;color:#17304d}.church-module-menu h2 svg{width:19px;height:19px}.group-module-menu{margin:10px 0;padding:0;border:0;border-radius:0;background:transparent;width:100%}.group-module-menu>summary{display:flex;align-items:center;gap:10px;padding:12px;color:#536b8d;font-size:14px;font-weight:500}.module-arrow{margin-left:auto}.group-module-menu[open] .module-arrow{transform:rotate(180deg)}.group-module-menu>div{display:grid;gap:4px}.church-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.church-shortcuts{display:flex;gap:12px;flex-wrap:wrap}.church-module-menu>button{width:100%}.mobile-navigation>nav{width:100%}@media screen and (max-width:900px){.mobile-navigation .group-module-menu>summary{display:flex;padding:12px 14px;min-height:48px;border:0}.mobile-navigation .group-module-menu>summary span{font-size:15px;text-align:left}.mobile-navigation[open]>nav>.church-module-menu,.mobile-navigation[open]>nav>.group-module-menu{flex-shrink:0}.group-module-menu>div{display:flex;flex-direction:column}.church-module-menu h2{padding:12px 14px}.church-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.church-shortcuts button{flex:1}}@media screen and (max-width:360px){.church-stats{grid-template-columns:minmax(0,1fr)}}

.ministries-module-menu{margin:6px 0;padding:0;border:0;background:transparent}.ministries-module-menu>summary{display:flex;align-items:center;gap:10px;min-height:44px;padding:12px;color:#536b8d;font-size:14px;font-weight:500}.ministries-module-menu>div{display:grid;gap:4px;padding-left:8px}.ministries-module-menu[open]>summary .module-arrow{transform:rotate(180deg)}.ministries-module-menu .ministry-pending{display:flex;align-items:center;gap:10px;width:100%;text-align:left;cursor:default;color:#69778a;background:transparent;opacity:1}.ministry-pending small{margin-left:auto;font-size:10px;font-weight:400;white-space:nowrap}.ministries-module-menu>summary:focus-visible{outline:3px solid #147d80;outline-offset:2px}@media screen and (max-width:900px){.mobile-navigation .ministries-module-menu>summary{display:flex;border:0;padding:12px 14px;min-height:48px}.mobile-navigation .ministries-module-menu>summary span{font-size:15px;text-align:left}.ministries-module-menu>div{padding-left:8px}.mobile-navigation .ministry-pending small{font-size:11px}}

/* Mesmo eixo para ícones e textos dos itens e títulos do menu. */
.mobile-navigation nav button,.mobile-navigation .church-module-menu>h2,.mobile-navigation .group-module-menu>summary,.mobile-navigation .ministries-module-menu>summary{display:flex;align-items:center;gap:10px;width:100%;padding:12px;min-height:44px;line-height:20px;font-size:14px;box-sizing:border-box}.mobile-navigation .church-module-menu>h2{margin:10px 0 4px}.mobile-navigation .menu-icon{width:20px;height:20px;flex:0 0 20px}.mobile-navigation .menu-icon svg{width:18px;height:18px;display:block}.mobile-navigation .module-arrow{flex:0 0 auto;width:auto}.mobile-navigation nav button{justify-content:flex-start}@media screen and (max-width:900px){.mobile-navigation nav button,.mobile-navigation .church-module-menu>h2,.mobile-navigation .group-module-menu>summary,.mobile-navigation .ministries-module-menu>summary{padding:12px 14px;gap:12px;min-height:48px;font-size:15px}}

/* Ritmo uniforme entre itens, títulos e módulos do menu. */
.mobile-navigation>nav{gap:4px}.mobile-navigation .church-module-menu,.mobile-navigation .group-module-menu,.mobile-navigation .ministries-module-menu{margin:0;padding:0}.mobile-navigation .church-module-menu{display:grid;gap:4px}.mobile-navigation .church-module-menu>h2{margin:0}.mobile-navigation .group-module-menu>div,.mobile-navigation .ministries-module-menu>div{gap:4px}.mobile-navigation nav button,.mobile-navigation nav>a,.mobile-navigation .church-module-menu>h2,.mobile-navigation .group-module-menu>summary,.mobile-navigation .ministries-module-menu>summary{min-height:40px;padding-top:10px;padding-bottom:10px;margin:0}.mobile-navigation .group-module-menu[open]>summary,.mobile-navigation .ministries-module-menu[open]>summary{margin-bottom:4px}.mobile-navigation nav>a{display:flex;align-items:center;padding-left:12px;padding-right:12px;line-height:20px}.mobile-navigation .sidefoot{padding-top:16px}@media screen and (max-width:900px){.mobile-navigation[open]>nav{gap:4px;padding-top:6px}.mobile-navigation nav button,.mobile-navigation nav>a,.mobile-navigation .church-module-menu>h2,.mobile-navigation .group-module-menu>summary,.mobile-navigation .ministries-module-menu>summary{min-height:44px;padding-top:12px;padding-bottom:12px}.mobile-navigation .church-module-menu>h2{margin:0}.mobile-navigation nav>a{padding-left:14px;padding-right:14px}}

/* Igreja expansível com o mesmo alinhamento dos demais módulos. */
.mobile-navigation .church-navigation-menu{display:block;width:100%;margin:0;padding:0;border:0;border-radius:0;background:transparent}.mobile-navigation .church-navigation-menu>summary{display:flex;align-items:center;gap:10px;width:100%;min-height:40px;padding:10px 12px;margin:0;line-height:20px;font-size:14px;font-weight:500;color:#536b8d;box-sizing:border-box;cursor:pointer;list-style:none}.church-navigation-menu>summary::-webkit-details-marker{display:none}.church-navigation-menu>div{display:grid;gap:4px}.church-navigation-menu[open]>summary{margin-bottom:4px}.church-navigation-menu[open]>summary .module-arrow{transform:rotate(180deg)}.church-navigation-menu>summary:focus-visible{outline:3px solid #147d80;outline-offset:2px}@media screen and (max-width:900px){.mobile-navigation .church-navigation-menu>summary{padding:12px 14px;gap:12px;min-height:44px;font-size:15px}.church-navigation-menu>div{display:flex;flex-direction:column}}

/* Dashboard Igreja: mesmos dados e recortes em todos os indicadores. */
.church-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:end}.church-filters .field{margin:0;min-width:0}.church-filters input,.church-filters select{width:100%;min-width:0;box-sizing:border-box}.church-filters .full{grid-column:1/-1;margin:0}.church-card-group{margin:22px 0}.church-card-group>h2{font-size:18px;margin:0 0 12px}.church-metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.church-metric-card{display:flex;flex-direction:column;align-items:flex-start;position:relative;text-align:left;background:#fafdff;color:#17304d;border:1px solid #e0e7ef;min-width:0;padding:20px;box-shadow:0 3px 10px #25334908;font-weight:400;line-height:1.4}.church-metric-card>span:not(.icon){padding-right:24px}.church-metric-card:hover{background:#f0f8f8;border-color:#147d80}.church-metric-card:focus-visible{outline:3px solid #147d80;outline-offset:3px}.church-metric-card strong{font-size:30px;line-height:1.3;margin:8px 0}.church-metric-card small{color:#536b8d}.church-metric-card .icon{position:absolute;top:16px;right:12px;color:#af7400;background:#fff5dd;border:1px solid #ffe0a6;border-radius:10px;padding:5px}.church-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.church-chart-grid>.panel{min-width:0;margin:0;padding:20px}.church-chart-grid h2,.church-recent h2{font-size:18px}.church-chart-grid svg{max-width:100%;height:auto}.church-chart-grid .donut-layout{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.church-chart-grid .donut-chart{width:190px;flex:0 1 190px}.church-chart-grid .donut-legend{flex:1;min-width:150px}.church-recent{margin-top:16px;min-width:0}.church-person-details{display:grid;grid-template-columns:140px minmax(0,1fr);gap:10px}.church-person-details dt{font-weight:600}.church-person-details dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.church-person-history li{margin:10px 0;overflow-wrap:anywhere}.church-person-history small{display:block;color:#536b8d}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.church-filters label{color:#17304d}.church-filters .muted,.church-card-group .chart-note,.church-chart-grid .chart-note{color:#536b8d}@media(max-width:1100px){.church-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.church-filters{grid-template-columns:minmax(0,1fr);gap:12px}.church-filters input,.church-filters select,.church-filters button{font-size:16px;min-height:44px}.church-chart-grid{grid-template-columns:minmax(0,1fr)}.church-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.church-metric-card{padding:16px 12px;min-height:128px}.church-metric-card>span:not(.icon){font-size:13px;padding-right:18px}.church-metric-card .icon{top:12px;right:7px;padding:3px}.church-metric-card .icon svg{width:16px;height:16px}.church-metric-card strong{font-size:28px}.church-chart-grid>.panel{padding:16px}.church-person-details{grid-template-columns:minmax(0,1fr);gap:4px}.church-person-details dd{margin-bottom:10px}.church-chart-grid .donut-layout{flex-direction:column;align-items:stretch}.church-chart-grid .donut-chart{width:180px;align-self:center;flex-basis:auto}.church-chart-grid .donut-legend{min-width:0}.church-recent .tablewrap{max-width:100%}}@media(max-width:360px){.church-metric-grid{grid-template-columns:minmax(0,1fr)}}

.church-metric-card .icon svg{display:block;width:20px;height:20px}@media(max-width:600px){.church-metric-card .icon svg{width:16px;height:16px}}

.church-dashboard-report .church-metric-card{text-align:left}.church-dashboard-report .report-body{padding:28px}.church-dashboard-report .church-chart-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.church-dashboard-report .tablewrap{overflow:visible}.church-dashboard-report .church-metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media print{.church-dashboard-report .church-card-group,.church-dashboard-report .church-chart-grid>section{break-inside:avoid}.church-dashboard-report .panel,.church-dashboard-report .stat{box-shadow:none;padding:12px}.church-dashboard-report .stat strong{font-size:24px}.church-dashboard-report .church-chart-grid{gap:12px}.church-dashboard-report .chart-note{font-size:10px}.church-dashboard-report .report-body{padding:16px}.church-dashboard-report th,.church-dashboard-report td{padding:8px}.church-dashboard-report .tablewrap table{display:table}.church-dashboard-report .tablewrap thead{display:table-header-group}.church-dashboard-report .tablewrap tr{display:table-row}.church-dashboard-report .tablewrap td{display:table-cell}.church-dashboard-report .tablewrap td:before{display:none}}
@media screen and (max-width:600px){.church-dashboard-report .church-chart-grid{grid-template-columns:1fr}.church-dashboard-report .church-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.church-dashboard-report .report-body{padding:12px}}

.church-report-section{margin:24px 0;break-inside:avoid}.church-report-section h2{font-size:17px;margin-bottom:10px}.church-report-table{width:100%;table-layout:fixed}.church-report-table th:first-child{width:78%}.church-report-table th,.church-report-table td{padding:9px 12px}.church-report-table tbody th{font-size:13px;font-weight:400;text-transform:none;letter-spacing:normal;color:#253349;background:white}.church-report-table td,.church-report-table thead th:last-child{text-align:right}.church-report-note{font-size:11px;margin-top:20px}
@media print{.church-report-table tr{break-inside:avoid}.church-report-table thead{display:table-header-group}}

.event-calendar-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:20px}.event-calendar-header h2{margin:0}.event-calendar-header .actions{align-items:center}.event-calendar-header strong{text-transform:capitalize;min-width:140px;text-align:center}.event-calendar-week,.event-calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.event-calendar-week span{text-align:center;font-size:12px;color:#69778a;padding:10px}.event-calendar-days{border-top:1px solid #e5e9ef;border-left:1px solid #e5e9ef}.event-day{min-width:0;min-height:105px;padding:6px;border-right:1px solid #e5e9ef;border-bottom:1px solid #e5e9ef;background:#fff}.event-day.outside{background:#f5f7fb;color:#8893a3}.event-day.selected{background:#fff4d5;box-shadow:inset 0 0 0 2px #d8a329}.event-day.is-today .event-day-number{background:#173c42;color:#fff}.event-day-number{background:transparent;color:inherit;padding:5px 7px;position:relative;min-height:32px}.calendar-event{display:block;width:100%;text-align:left;background:#e9f3f1;color:#173c42;font-size:11px;padding:6px;margin:4px 0;white-space:normal;overflow-wrap:anywhere;line-height:1.3;font-weight:600}.calendar-event span{font-weight:400}.calendar-event.cancelled{text-decoration:line-through;background:#f2f3f5;color:#69778a}.calendar-event.completed{background:#fff1c9;color:#705208}.event-day-count{display:none}.event-view-tabs{margin-bottom:18px}.event-calendar .chart-note{margin:15px 0 0}
@media(max-width:600px){.event-calendar{padding:10px}.event-calendar-header{display:block}.event-calendar-header h2{margin-bottom:12px}.event-calendar-header .actions{gap:5px}.event-calendar-header strong{min-width:120px;font-size:13px}.event-calendar-week span{font-size:10px;padding:7px 0}.event-day{padding:2px;min-height:62px}.event-day-number{width:100%;font-size:12px;padding:4px 1px;min-height:44px}.event-day-count{display:block;width:16px;height:16px;margin:1px auto 0;border-radius:50%;background:#eeb735;color:#3e2d08;font-size:10px;line-height:16px}.calendar-event{display:none}.event-calendar .chart-note{font-size:12px}}

.event-calendar-header .actions button{flex:0 0 auto;width:auto;min-width:40px;white-space:nowrap;word-break:normal}.event-view-tabs{display:flex}.event-view-tabs button{flex:0 0 auto;width:auto}

.event-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.event-overview-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:20px;align-items:start}.event-chart-heading{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:12px;flex-wrap:wrap}.event-chart-heading h2{margin:0}.event-chart-heading select{width:auto;max-width:100%}.event-graphs{min-width:0}.event-overview-grid .event-calendar-header{display:block}.event-overview-grid .event-calendar-header h2{margin-bottom:12px}.event-overview-grid .donut-chart{width:150px}.event-overview-grid .event-day{min-height:85px}@media(max-width:1100px){.event-overview-grid{grid-template-columns:1fr}.event-graphs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}@media(max-width:600px){.event-summary,.event-graphs{grid-template-columns:1fr}.event-overview-grid{gap:0}.event-chart-heading select{width:100%}}

.event-form-builder{margin:24px 0;padding-top:18px;border-top:1px solid #e5e9ef}.event-question{border:1px solid #dbe1e9;border-radius:10px;padding:16px;margin:16px 0;min-width:0}.event-question legend{font-weight:650;color:#173c42}.event-question input,.event-question select,.event-question textarea{margin-bottom:12px}.event-question-required{display:flex;gap:8px;align-items:center}.event-question-required input{margin:0}.event-registration-response dd{white-space:pre-wrap;overflow-wrap:anywhere}

nav details.weeks-module-menu{margin:0;padding:0;border:0;border-radius:0;background:transparent}nav .weeks-module-menu summary{display:flex;align-items:center;gap:10px;padding:10px 12px;cursor:pointer;font-weight:500;color:#69778a}nav .weeks-module-menu>div{padding-left:10px}.weeks-module-menu .module-arrow{margin-left:auto}

[data-weeks-details]+a svg{width:18px;height:18px;vertical-align:middle}

/* Financial module: same spacing and brand colors as the existing modules. */
.finance-module-menu>summary{display:flex;align-items:center;gap:10px;padding:10px 12px;cursor:pointer;list-style:none}.finance-module-menu>div{padding-left:12px}.finance-stats{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.finance-filter{margin-bottom:16px}.finance-reference{color:var(--muted,#64748b)}.finance-bar{display:grid;grid-template-columns:minmax(100px,1fr) 2fr minmax(90px,1fr);gap:8px;align-items:center;margin:12px 0;font-size:.85rem}.finance-bar-track{height:14px;background:#edf2f4;border-radius:8px;overflow:hidden}.finance-bar-track i{display:block;height:100%;background:#14868b;border-radius:8px}.finance-bar b{text-align:right}.finance-print table{font-size:.85rem}.finance-print h1{color:#155e63}.finance-print .stats{margin-bottom:16px}.finance-print progress{width:100%}
@media(max-width:600px){.finance-filter{grid-template-columns:1fr}.finance-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-stats strong{font-size:1.2rem}.finance-bar{grid-template-columns:1fr 1.5fr}.finance-bar b{grid-column:2}.finance-print h1{font-size:1.2rem}}
@media print{body:has(.finance-print)>*{visibility:hidden}body:has(.finance-print) dialog[open],body:has(.finance-print) dialog[open] *{visibility:visible}body:has(.finance-print) dialog[open]{position:absolute;inset:0;width:100%;max-width:none;max-height:none;border:0;overflow:visible;box-shadow:none;padding:0}body:has(.finance-print) dialog footer,body:has(.finance-print) dialog>header{display:none!important}.finance-print{color:#111;background:#fff}.finance-print .tablewrap{overflow:visible}.finance-print table{width:100%;display:table}.finance-print thead{display:table-header-group}.finance-print tr{display:table-row;break-inside:avoid}.finance-print td,.finance-print th{display:table-cell}.finance-print td:before{display:none}.finance-print .stats{display:flex;flex-wrap:wrap}.finance-print .stat{box-shadow:none;border:1px solid #ddd;min-width:150px}@page{size:A4;margin:14mm}}

.finance-church-logo{max-width:120px;max-height:80px;object-fit:contain}

@media print{body:has(.finance-print)>dialog[open]{display:block!important;height:auto;max-height:none}body:has(.finance-print) dialog::backdrop{display:none}.finance-print p{color:#333}}

.mobile-navigation .finance-module-menu{display:block;margin:0;padding:0;border:0;border-radius:0;background:transparent}.mobile-navigation .finance-module-menu>summary{display:flex;align-items:center;gap:10px;width:100%;min-height:40px;padding:10px 12px;margin:0;line-height:20px;font-size:14px;font-weight:500;color:#536b8d;list-style:none}.finance-module-menu>div{display:grid;gap:4px;padding-left:8px}.finance-module-menu[open]>summary{margin-bottom:4px}.finance-module-menu[open]>summary .module-arrow{transform:rotate(180deg)}.finance-module-menu>summary:focus-visible{outline:3px solid #147d80;outline-offset:2px}.finance-stats{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.finance-stats strong{font-size:clamp(1rem,2vw,1.55rem);white-space:nowrap;overflow-wrap:normal}.finance-filter-wrap{margin:0 0 16px;padding:0;border:0;background:transparent}.finance-filter-wrap>summary{padding:12px 0;color:#536b8d}.finance-filter-wrap .finance-filter{margin-bottom:0}
@media(max-width:600px){.finance-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-stats strong{font-size:1.1rem}.mobile-navigation .finance-module-menu>summary{padding:12px 14px;gap:12px;min-height:44px;font-size:15px}.finance-module-menu>div{display:flex;flex-direction:column}}

.church-dashboard-filter-panel{padding:0;overflow:hidden}.church-dashboard-filter-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:14px 20px;cursor:pointer;list-style:none;color:#17304d;font-weight:650}.church-dashboard-filter-panel>summary::-webkit-details-marker{display:none}.church-dashboard-filter-panel>summary:focus-visible{outline:3px solid #147d80;outline-offset:-3px}.church-dashboard-filter-panel .church-filter-arrow{transition:transform .15s;font-size:20px;line-height:1}.church-dashboard-filter-panel[open] .church-filter-arrow{transform:rotate(180deg)}.church-dashboard-filter-panel .church-filters{margin:0;border:0;border-radius:0;box-shadow:none;border-top:1px solid #e8ecf2}@media(max-width:600px){.church-dashboard-filter-panel>summary{padding:14px 16px}.church-dashboard-filter-panel .church-filters{padding:16px}}

/* Controles compactos para celulares, preservando área de toque. */
@media screen and (max-width:600px){
 main{padding:16px 12px}.topbar{margin-bottom:16px}.heading{gap:10px;margin-bottom:16px;flex-wrap:wrap}.heading h1{font-size:23px}.heading button,.heading .button{min-height:44px;padding:10px 12px}
 .panel,.card{padding:16px;border-radius:12px;margin-bottom:16px}.field{min-width:0}.field label{font-size:12px;line-height:1.35;margin-bottom:5px}input,select,textarea{max-width:100%;min-width:0;font-size:16px}input:not([type=checkbox]):not([type=radio]),select{min-height:44px;padding:9px 10px}
 .church-dashboard-filter-panel>summary{min-height:44px;padding:10px 14px}.church-dashboard-filter-panel .church-filters,.church-filters,.finance-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}.church-filters .field,.finance-filter .field{margin:0;min-width:0}.church-filters .field:first-child{grid-column:1/-1}.church-dashboard-filter-panel .church-filters .muted{display:none}.church-filters>button{grid-column:1/-1;min-height:44px;padding:9px 12px}.church-filters .full{grid-column:1/-1}.finance-filter-wrap>summary{min-height:44px;padding:10px 12px;font-size:14px;background:#fff;border:1px solid #e8ecf2;border-radius:10px}.finance-filter button{min-height:44px;padding:9px 10px;font-size:14px}.finance-filter .field:last-of-type{grid-column:1/-1}
 .toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:14px}.toolbar>input{grid-column:1/-1;min-width:0;width:100%}.toolbar>select{width:100%;min-width:0}.toolbar>button,.toolbar>.button{min-height:44px;padding:9px 10px;font-size:13px}.event-view-tabs{display:flex}.event-view-tabs button{flex:1}.event-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:16px}.event-summary .stat{padding:12px 9px;min-width:0}.event-summary .stat>span,.event-summary .stat>small{font-size:11px;line-height:1.4;display:block}.event-summary .stat strong{font-size:24px;margin:8px 0}.event-overview-grid .event-day{min-height:62px}.event-chart-heading select{width:auto;min-width:0;max-width:100%}.event-calendar-header .actions{display:flex;flex-wrap:wrap;gap:6px}.event-calendar-header .actions button{min-width:44px;min-height:44px;padding:8px 10px}
 dialog{width:calc(100% - 16px);max-width:calc(100% - 16px);max-height:90dvh;padding:16px;border-radius:12px}dialog .formgrid{gap:12px}dialog footer{display:flex;flex-wrap:wrap;gap:8px}dialog footer button{flex:1;min-height:44px}.record-actions{gap:8px}.record-actions button,.record-actions a{min-width:44px;min-height:44px}
}
@media screen and (max-width:360px){.finance-filter .field{grid-column:1/-1}.event-summary .stat{padding:10px 7px}.event-summary .stat strong{font-size:22px}}
@media screen and (max-width:600px){.church-dashboard-filter-panel.panel{padding:0}.church-dashboard-filter-panel .church-filters .field:first-child,.church-dashboard-filter-panel .church-filters>button{grid-column:auto}.church-dashboard-filter-panel .church-filters>button{align-self:end;font-size:13px}.finance-filter .field:last-of-type{grid-column:auto}.church-dashboard-filter-panel .church-filters{gap:10px}.church-dashboard-filter-panel>summary{font-size:14px}}
.menu-icon .weeks-menu-image{display:block;width:24px;height:24px;object-fit:contain;flex:none}
.menu-icon.weeks-menu-icon{position:relative;overflow:hidden;width:20px;height:20px;flex:0 0 20px}.menu-icon.weeks-menu-icon .weeks-menu-image{position:absolute;width:31.5px;height:33.75px;max-width:none;max-height:none;left:-6.875px;top:-5.75px;object-fit:contain}

/* Filtros simples no padrão da listagem de participantes. */
.church-filters{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding:0;border:0;background:transparent;box-shadow:none}.church-filters>.field{margin:0}.church-filters>.field>label{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.church-filters>.field input,.church-filters>.field select{height:40px;min-height:40px;padding:8px 12px;border-radius:8px}.church-filter-period{grid-column:1/-1;margin:0;padding:0;background:transparent;border:0}.church-filter-period>summary{min-height:40px;padding:10px 2px;font-size:13px;cursor:pointer;color:#536b8d}.church-filter-period-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:8px 0}.church-filter-period-fields>.field{min-width:0;margin:0}.church-filter-period-fields>.full,.church-filter-period-fields>button{grid-column:1/-1}.church-dashboard-filter-panel .church-filters{padding:10px 12px;border-top:1px solid #e8ecf2;background:transparent;grid-template-columns:minmax(0,1fr);gap:8px}.church-dashboard-filter-panel .church-filters>.field{grid-column:1/-1}.church-dashboard-filter-panel.panel{border:0;box-shadow:none;background:transparent}.church-dashboard-filter-panel>summary{padding:10px 0}.church-dashboard-filter-panel .church-filters{border:0;padding:0}.church-filter-period-fields .muted{display:none}
@media screen and (max-width:600px){.church-filters,.church-dashboard-filter-panel .church-filters{grid-template-columns:minmax(0,1fr);gap:6px;padding:0}.church-filters>.field select{font-size:16px;min-height:44px;height:44px;padding:8px 10px}.church-filter-period>summary{min-height:44px}.church-filter-period-fields button{min-height:44px}.church-dashboard-filter-panel>summary{padding:10px 0}.church-dashboard-filter-panel .church-filters>.field:first-child{grid-column:1/-1}}

.subscription-warning{display:grid;gap:6px;border:1px solid #ebcc7f;background:#fff6df;color:#714d03;padding:14px 16px;border-radius:10px;margin:0 0 18px;line-height:1.5}.subscription-warning.expired{background:#fff0f0;border-color:#e6afb3;color:#8b2631}.subscription-warning span{font-size:13px}@media(max-width:600px){.subscription-warning{padding:12px;margin-bottom:14px}.subscription-warning span{font-size:12px}}

/* October 2026: compact mobile calendar with visible event names. */
.public-network-logo{display:block;width:64px;height:64px;object-fit:contain;margin:0 0 12px;border-radius:12px}
.public-network-strip{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;margin:16px 0}.public-network-strip figure{margin:0;max-width:100px;text-align:center}.public-network-strip img{width:52px;height:52px;object-fit:contain}.public-network-strip figcaption{font-size:12px;overflow-wrap:anywhere}
.visitor-timeline{display:grid;gap:12px;margin-top:16px}.visitor-timeline .panel{margin:0;padding:16px}.visitor-timeline p{white-space:pre-wrap;overflow-wrap:anywhere}.church-complete-report{margin-top:20px}.church-complete-report table{width:100%;overflow-wrap:anywhere}.church-complete-report h2{margin-top:28px}
@media(max-width:600px){.event-calendar{padding:10px}.event-calendar-days{gap:3px}.event-day{min-height:88px;padding:3px;min-width:0}.event-day-number{padding:3px;min-height:28px}.event-calendar-days .calendar-event{display:block;width:100%;font-size:10px;line-height:1.25;white-space:normal;overflow-wrap:anywhere;text-align:left;padding:4px 3px;margin-top:3px;border-radius:5px;max-height:none;height:auto}.event-calendar-header{gap:8px;flex-wrap:wrap}.event-calendar-header h2{font-size:16px}.event-calendar-header .actions{gap:4px}.event-calendar-header .actions button{padding:5px 8px}.event-calendar-header strong{font-size:12px}.church-complete-report .report-body{padding:14px}.church-complete-report table{font-size:11px}.church-complete-report th,.church-complete-report td{padding:7px 4px}}
@media print{.report-meeting{break-after:page;page-break-after:always;break-inside:auto}.report-group:last-child .report-meeting:last-child{break-after:auto;page-break-after:auto}.report-group+.report-group{break-before:page;page-break-before:always}.church-complete-report h2{break-after:avoid}.church-complete-report tr{break-inside:avoid}}

.visitor-agenda-shortcut{display:flex;align-items:center;justify-content:space-between;gap:16px}.visitor-agenda-shortcut p{margin:4px 0 0;font-size:13px}.visitor-agenda-controls{display:grid;gap:12px;margin-bottom:20px}.account-actions{margin-top:12px}.account-actions summary{cursor:pointer;margin-bottom:8px}@media(max-width:600px){.visitor-agenda-shortcut{align-items:stretch;flex-direction:column;gap:10px}.visitor-agenda-shortcut button{width:100%}}

.report-pages{display:grid;gap:28px}.report-pages .report-encounter-page{width:100%;min-height:700px}.report-pages .report-meeting{padding-bottom:0}@media print{.encounter-report .report-encounter-page{box-shadow:none;max-width:none;min-height:0;break-before:page;page-break-before:always;margin:0}.encounter-report .report-encounter-page:first-child{break-before:auto;page-break-before:auto}.encounter-report .report-meeting{break-after:auto;page-break-after:auto}.encounter-report .report-banner{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* Identidade da igreja nas etapas da inscrição pública de Células. */
.public-church-brand{display:flex;align-items:center;gap:20px;padding:24px;background:#fff;border:1px solid #e3e9ee;border-radius:16px;margin:0 0 26px;box-shadow:0 5px 18px #173c4208;text-align:left}
.public-church-brand .public-church-logo{width:88px;height:88px;object-fit:contain;flex-shrink:0;border-radius:10px}
.public-church-brand>div{min-width:0}.public-church-brand strong{display:block;font-size:24px;font-weight:750;line-height:1.3;color:#173c42;overflow-wrap:anywhere}.public-church-brand span{display:block;margin-top:7px;color:#69778a;font-size:14px}
dialog .public-church-brand{padding:16px;gap:14px;margin-bottom:20px}dialog .public-church-brand .public-church-logo{width:60px;height:60px}dialog .public-church-brand strong{font-size:18px}
@media(max-width:600px){.public-church-brand{padding:18px;gap:14px;margin-bottom:22px}.public-church-brand .public-church-logo{width:68px;height:68px}.public-church-brand strong{font-size:19px}.public-church-brand span{font-size:12px}dialog .public-church-brand{padding:12px;gap:12px}dialog .public-church-brand .public-church-logo{width:52px;height:52px}dialog .public-church-brand strong{font-size:16px}}

/* Relatórios da Igreja: estilos próprios, independentes do relatório de indicadores. */
.church-report-filters{display:grid;grid-template-columns:minmax(220px,2fr) repeat(2,minmax(140px,1fr));gap:14px;align-items:end}.church-report-filters .field{margin:0}.church-report-filters button{min-height:44px}
.church-report-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:20px 0 14px}.church-report-actions>span{font-weight:600;color:#173c42}.report-sheet.church-complete-report{max-width:980px;width:100%;margin:0 auto}.church-complete-report .report-body{padding:28px 32px}
.church-report-intro{margin-bottom:24px}.church-report-intro h1{font-size:23px;line-height:1.3;margin:0 0 10px}.church-report-period{font-weight:600;color:#253349!important;margin:0 0 7px}.church-report-basis{font-size:12px;line-height:1.5;color:#627798!important;margin:0}.church-data-section{margin:28px 0}.church-section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;border-bottom:2px solid #e9eef0;padding-bottom:10px;margin-bottom:14px}.church-complete-report .church-section-heading h2{margin:0;font-size:18px}.church-section-heading>span{font-size:12px;color:#627798;white-space:nowrap}
.church-complete-report .church-data-table{display:table;width:100%;table-layout:auto;border-collapse:collapse;margin:0;font-size:13px}.church-data-table th,.church-data-table td{white-space:normal;word-break:normal;overflow-wrap:break-word;vertical-align:top;padding:11px 12px;text-align:left!important;letter-spacing:normal;text-transform:none;font-size:13px;line-height:1.5;border-bottom:1px solid #e4e9ed}.church-data-table thead th{background:#f1f5f7;color:#253349;font-weight:650;width:auto}.church-data-table tbody tr:nth-child(even){background:#fafcfc}.church-data-table.church-people-table th:first-child{width:48%}.church-data-table.church-people-table th:nth-child(2){width:27%}.church-data-table.church-people-table th:nth-child(3){width:25%}.church-data-table.church-metric-table th:first-child{width:75%}.church-data-table.church-metric-table td:last-child,.church-data-table.church-metric-table th:last-child{text-align:right!important;font-variant-numeric:tabular-nums}
.church-report-records{display:grid;gap:16px}.church-report-record{border:1px solid #dce5e7;border-radius:10px;padding:18px;background:#fff}.church-record-title{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin-bottom:15px}.church-record-title h3{font-size:16px;color:#173c42;margin:0;line-height:1.4;overflow-wrap:break-word}.church-record-title>span{font-size:12px;font-weight:600;color:#50676a}.church-record-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;margin:0 0 16px}.church-record-details dt,.church-record-note h4{font-size:12px;font-weight:650;color:#627798;margin:0 0 4px}.church-record-details dd{font-size:13px;margin:0;line-height:1.5;overflow-wrap:break-word;white-space:pre-wrap}.church-record-note{border-top:1px solid #edf1f3;padding-top:12px;margin-top:12px}.church-record-note p{font-size:13px;line-height:1.65;white-space:pre-wrap;overflow-wrap:break-word;word-break:normal;margin:0;color:#253349!important}.church-report-empty{padding:16px;background:#f7f9fa;font-size:13px}.church-report-footer{border-top:1px solid #e4e9ed;margin-top:30px;padding-top:12px;font-size:11px;color:#627798}
@media screen and (max-width:1000px){.church-report-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.church-report-filters .field:first-child{grid-column:1/-1}.church-report-filters button{grid-column:1/-1}}
@media screen and (max-width:600px){.church-report-filters{gap:12px;padding:14px}.church-report-filters label{font-size:12px}.church-report-filters input,.church-report-filters select{font-size:14px}.church-report-actions{align-items:stretch;flex-direction:column}.church-complete-report .report-body{padding:18px 14px}.church-report-intro h1{font-size:20px}.church-section-heading{flex-wrap:wrap;gap:5px}.church-record-title{flex-direction:column;gap:6px}.church-report-record{padding:14px}.church-record-details{grid-template-columns:minmax(0,1fr);gap:12px}.church-people-table thead{display:none}.church-complete-report .church-people-table,.church-people-table tbody,.church-people-table tr{display:block;width:100%}.church-people-table tr{border:1px solid #dce5e7;border-radius:8px;padding:10px 12px;margin:0 0 12px}.church-data-table.church-people-table td{display:grid;grid-template-columns:80px minmax(0,1fr);gap:10px;padding:5px 0;border:0;width:auto}.church-people-table td:before{content:attr(data-report-label);font-weight:600;color:#627798;font-size:12px}.church-data-table.church-metric-table td,.church-data-table.church-metric-table th{padding:9px 7px}}
@media print{.report.church-complete-report{width:100%;max-width:none}.report.church-complete-report .report-body{padding:16px 10px}.church-complete-report .report-banner{print-color-adjust:exact;-webkit-print-color-adjust:exact}.church-data-section{break-inside:auto;margin:20px 0}.church-section-heading{break-after:avoid}.church-complete-report .church-data-table{display:table;table-layout:auto;width:100%}.church-data-table thead{display:table-header-group}.church-data-table tbody{display:table-row-group}.church-data-table tr{display:table-row;break-inside:avoid}.church-data-table td,.church-data-table th{display:table-cell;font-size:11px;padding:8px 10px}.church-data-table td:before{content:none}.church-report-record{break-inside:auto;box-shadow:none;border-color:#d4dce0;padding:14px}.church-record-title{break-after:avoid}.church-record-details{grid-template-columns:repeat(2,minmax(0,1fr));break-inside:avoid}.church-record-note h4{break-after:avoid}.church-record-note p{orphans:3;widows:3}.church-report-footer{font-size:10px}}

/* Seções internas seguem o fluxo; apenas folhas de encontros forçam nova página. */
@media print{
 .report.church-complete-report .church-data-section{break-before:auto;page-break-before:auto;break-after:auto;page-break-after:auto;break-inside:auto;padding:0}
 .report.church-complete-report .church-report-intro{break-after:avoid;page-break-after:avoid}
 .report.church-complete-report .church-report-records{display:block}
 .report.church-complete-report .church-report-record+.church-report-record{margin-top:16px}
 .report.church-dashboard-report .church-report-section{break-before:auto;page-break-before:auto;padding:0}
}

/* Uso prioritário no celular: cabeçalho compacto, dados antes de controles secundários. */
.mobile-label{display:none}.church-directory-search{margin-bottom:12px}.church-list-filter-panel{padding:0;border:0;background:transparent;margin:0 0 14px}.church-list-filter-panel>summary{display:none}.church-list-filter-panel>.church-filters{margin-bottom:0}.church-metric-help{background:transparent;border:0;padding:0;margin:10px 0 0}.church-metric-help summary{font-size:12px;color:#627798;font-weight:500}.church-metric-help p{margin-top:8px}.church-person-status{font-size:12px;display:inline-block;padding:4px 8px;border-radius:6px;background:#edf5f2;color:#287568}.church-person-status.is-inactive{background:#f1f2f5;color:#69778a}
@media screen and (max-width:600px){
 .layout>aside{position:sticky;top:0;z-index:30;padding:10px 14px;background:#fff;border-bottom:1px solid #e3e9ee;min-height:64px}
 .layout>aside>.brand{width:160px;max-width:calc(100% - 100px);margin:0;align-items:center}.layout>aside>.brand .brand-logo{width:100%;height:auto}.layout>aside>.brand small{font-size:9px;line-height:1.2}
 .layout>aside>.mobile-navigation{margin:0;padding:0}.mobile-navigation>summary{position:absolute;top:12px;right:14px;width:82px;min-height:40px;padding:9px 10px;font-size:14px;justify-content:center;gap:5px;background:#f8fafb;border:1px solid #e3e9ee}.mobile-navigation>summary>span{display:none}
 .mobile-navigation[open]>nav{margin-top:12px;max-height:calc(100dvh - 230px);gap:2px;padding:4px 0}.mobile-navigation nav button,.mobile-navigation nav a{font-size:14px;min-height:44px;padding:10px 12px}.mobile-navigation summary{min-height:44px}.mobile-navigation .sidefoot{font-size:11px;line-height:1.5;padding-top:8px!important}.account-actions{margin-top:6px}
 .layout main{padding:14px}.topbar{margin-bottom:16px;gap:0}.topbar>.church-identity{display:flex;flex-wrap:nowrap;align-items:center;gap:10px;width:100%}.topbar .church-identity img{width:36px;height:36px;border-radius:50%;object-fit:contain}.topbar .church-identity strong{font-size:13px;line-height:1.35;font-weight:650}.topbar .church-identity small{display:none}.topbar>div:last-child{display:none}
 #content[data-page^="church"]>.heading{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}#content[data-page^="church"]>.heading>div{min-width:0;flex:1}#content[data-page^="church"]>.heading h1{font-size:22px;line-height:1.2;margin:0;letter-spacing:-.4px}#content[data-page^="church"]>.heading p{display:none}#content[data-page^="church"]>.heading>button{flex:0 0 auto;width:auto;min-height:42px;padding:10px 12px;font-size:12px;white-space:nowrap}.mobile-label{display:inline}.desktop-label{display:none}
 #content[data-page^="church"] .church-directory-search{margin:0 0 10px}#content[data-page^="church"] .church-directory-search input{min-height:44px;height:44px;font-size:16px;padding:10px 12px;border-radius:10px}
 .church-list-filter-panel{background:#fff;border:1px solid #e3e9ee;border-radius:10px;margin:0 0 10px}.church-list-filter-panel>summary{display:flex;align-items:center;gap:8px;min-height:44px;padding:10px 12px;font-size:13px;color:#405069;list-style:none}.church-list-filter-panel>summary::-webkit-details-marker{display:none}.church-list-filter-panel>summary svg{width:16px;height:16px;flex:none}.church-list-filter-panel>summary .church-filter-arrow{margin-left:auto}.church-list-filter-panel[open]>summary .church-filter-arrow{transform:rotate(180deg)}.church-list-filter-panel>summary small{font-size:10px;padding:3px 6px;background:#fff1ce;border-radius:5px;color:#705208}.church-list-filter-panel[open]>.church-filters{padding:12px;border-top:1px solid #edf0f4;gap:10px}.church-list-filter-panel .church-filters .field{grid-column:1/-1}.church-list-filter-panel .church-filter-period>summary{min-height:40px}
 .church-people-list .tablewrap{border:0;background:transparent;overflow:visible}.church-people-list table,.church-people-list tbody{display:block;width:100%}.church-people-list thead{display:none}.church-people-list tr{display:block;margin:0 0 12px;padding:14px;background:#fff;border:1px solid #e3e9ee;border-radius:12px;box-shadow:0 2px 6px #25334904}.church-people-list td{border:0!important;padding:0;display:block;min-height:0;text-align:left;overflow-wrap:break-word}.church-people-list td:before{display:none!important}.church-people-list td:first-child{font-size:16px;line-height:1.4;margin-bottom:8px}.church-people-list td:nth-child(2){display:none}.church-people-list td:nth-child(3),.church-people-list td:nth-child(4){display:inline-block;vertical-align:middle;font-size:13px;color:#69778a;line-height:1.4;margin-right:10px}.church-person-status{font-size:11px;padding:3px 7px}.church-people-list td:last-child{border-top:1px solid #f0f3f5!important;margin-top:10px;padding-top:9px}.church-people-list .record-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}.church-people-list .record-icon{width:44px;height:40px;min-height:40px;min-width:44px;flex:0 0 44px;border:1px solid #e7edf0;border-radius:8px;background:#f8fafb}.church-people-list .record-remove{background:#fff8f8;border-color:#fae7e7}.church-people-list .record-icon svg{width:17px;height:17px}
 .church-dashboard-filter-panel{margin:0 0 14px!important}.church-dashboard-filter-panel>summary{padding:10px 12px;min-height:42px;font-size:13px;background:#fff;border:1px solid #e3e9ee;border-radius:10px}.church-dashboard-filter-panel[open]>.church-filters{padding:12px 0}
 .church-card-group{margin:0 0 18px}.church-card-group>h2{font-size:16px;margin:0 0 10px}.church-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:0}.church-metric-card{min-height:100px;padding:12px;border-radius:12px;justify-content:space-between;line-height:1.25}.church-metric-card>span:not(.icon){font-size:12px;line-height:1.35;padding-right:24px;min-height:32px}.church-metric-card strong{font-size:28px;line-height:1.1;margin:8px 0 0}.church-metric-card small{display:none}.church-metric-card .icon{top:11px;right:9px;border-radius:8px;padding:4px}.church-metric-card .icon svg{width:15px;height:15px}.church-metric-help{margin:8px 0 0}.church-metric-help summary{font-size:11px;min-height:32px;padding:8px 0}.church-metric-help .chart-note{font-size:12px;margin:3px 0 0}.church-chart-grid{gap:12px}.church-chart-grid>.panel{padding:14px;border-radius:12px}.church-chart-grid h2{font-size:16px;margin-bottom:12px}
 .visitor-agenda-shortcut{padding:12px;margin-bottom:12px}.visitor-agenda-shortcut p{font-size:12px}.visitor-agenda-shortcut button{min-height:40px;font-size:13px}
}

@media screen and (max-width:600px){.layout{display:flex;flex-direction:column;min-height:100dvh}.layout>aside{flex:0 0 auto}.layout>main{flex:1 0 auto}.church-people-list .record-icon{height:44px;min-height:44px}}

/* Appearance preference shared by login, app, public forms and the owner panel. */
.theme-toggle{position:fixed;right:12px;bottom:12px;z-index:90;width:42px;height:42px;padding:0;display:grid;place-items:center;font-size:23px;border:1px solid #bac7d5;box-shadow:0 2px 10px #162a4030;border-radius:50%}.password-control{position:relative}.password-control input{padding-right:54px}.login .password-eye{position:absolute;right:2px;top:2px;bottom:2px;width:44px;padding:9px;display:grid;place-items:center;background:transparent}.password-eye svg{width:23px;height:23px}.password-eye:focus-visible,.theme-toggle:focus-visible{outline:3px solid #147d80;outline-offset:2px}.weeks-absence-list{padding-left:22px}.weeks-absence-list li{margin:12px 0}.weeks-absence-list span{display:block;font-size:12px;margin-top:4px}.weeks-presence{border:1px solid #dbe1e9;border-radius:10px;padding:12px}.weeks-meeting-filters{align-items:end}.weeks-meeting-filters>.field{flex:1;min-width:140px}.weeks-meeting-filters select,.weeks-meeting-filters input{min-height:40px}
@media screen{html[data-theme=dark]{background:#111923;color:#e5edf7}html[data-theme=dark] body{background:#111923;color:#e5edf7}html[data-theme=dark] :is(aside,.login,.panel,.card,.stat,.tablewrap,dialog,details,.event-calendar,.event-day,.event-registration-response,.visitor-agenda-shortcut,.church-list-filter-panel){background:#1b2735;color:#e5edf7;border-color:#344457}html[data-theme=dark] :is(h1,h2,h3,strong,label,legend,.church-identity strong,.brand,.empty strong,summary,.donut-total){color:#e5edf7}html[data-theme=dark] :is(p,small,.muted,.chart-note,.chart-empty,.topbar,.sidefoot,.church-identity small,.card p,.stat small,.donut-legend,.ranking-label){color:#b0bdce}html[data-theme=dark] :is(input,select,textarea){background:#13202e;color:#e5edf7;border-color:#485b71}html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#a8b8ca}html[data-theme=dark] :is(th,thead,.event-weekday,.event-weekdays,.church-preview,.event-question){background:#233244;color:#c0cedf;border-color:#344457}html[data-theme=dark] :is(td,th,.checkrow,.event-day,.event-card,.event-registration-response){border-color:#344457}html[data-theme=dark] :is(button.secondary,.button.secondary,.record-icon,.event-day-button){background:#2a3b50;color:#e1ebf7}html[data-theme=dark] :is(nav button,.ministry-pending){color:#b8c8db}html[data-theme=dark] nav button.active{background:#55431d;color:#ffe09a}html[data-theme=dark] :is(.pill,.user-role,.subscription-warning){background:#1a423b;color:#a9e6d1}html[data-theme=dark] .error{color:#ffabb4}html[data-theme=dark] :is(button.danger,.record-remove){color:#ffabb4;background:#4b2935}html[data-theme=dark] a{color:#87d8e0}html[data-theme=dark] a.button{color:#e1ebf7}html[data-theme=dark] :is(.ranking-track,.bar div){background:#344457}html[data-theme=dark] :is(.public-church-brand,.public-church){background:transparent}html[data-theme=dark] :is(.event-other-month,.outside-month){background:#15202d;color:#8c9db1}html[data-theme=dark] :is(.event-calendar-item,.event-chip){background:#334735;color:#c9eccd}html[data-theme=dark] svg text{fill:#d2deed}html[data-theme=dark] .brand-logo{background:transparent;border-radius:0;padding:0;content:url("/assets/koinnectchurch-logo-dark.svg")}html[data-theme=dark] .password-eye{background:transparent}html[data-theme=dark] .theme-toggle{background:#2a3b50;color:#ffe09a;border-color:#5a6d84}}
@media(max-width:600px){.weeks-meeting-filters{display:grid;grid-template-columns:1fr 1fr;gap:8px}.weeks-meeting-filters>.field:first-child{grid-column:1/-1}.weeks-meeting-filters>.field{margin:0;min-width:0}.weeks-meeting-filters input,.weeks-meeting-filters select{padding:9px;font-size:13px}.weeks-presence .checkrow{min-height:44px}.weeks-absence-list span{line-height:1.5}.theme-toggle{bottom:12px;right:12px;width:40px;height:40px}}
@media print{.theme-toggle{display:none!important}html[data-theme=dark],html[data-theme=dark] body{background:white;color:black}}


@media screen{html[data-theme=dark] :is(.public-church-brand,.weeks-presence,.client-menu-picker fieldset,.contract-fields){border-color:#344457}html[data-theme=dark] :is(.public-church-brand span,.church-person-status,.weeks-absence-list span){color:#b0c9d6}html[data-theme=dark] .church-people-list tr{background:#1b2735;border-color:#344457}html[data-theme=dark] :is(.report-sheet,.church-report-record,.church-report-empty){background:#1b2735;color:#e5edf7}html[data-theme=dark] .report-summary{background:#233244;color:#e5edf7}html[data-theme=dark] :is(.church-record-note p,.report-notes,.report-leader){color:#d2deed!important}html[data-theme=dark] .report-banner strong{color:#fff}html[data-theme=dark] .church-dashboard-filter-panel>summary{background:#233244;color:#d2deed}html[data-theme=dark] .event-calendar-day{background:#1b2735;border-color:#344457}}

@media screen{html[data-theme=dark] .mobile-navigation>summary{background:#2a3b50;color:#e5edf7;border-color:#485b71}html[data-theme=dark] .donut-chart .donut-total{fill:#e5edf7}html[data-theme=dark] .line-chart text{fill:#c0cedf}}

@media screen{html[data-theme=dark] .calendar-event{background:#24474c;color:#d2f3ed}html[data-theme=dark] .event-calendar-week{color:#b0bdce}}

/* Transparent vector brand and ministry icon; same optical size in both themes. */


@media print{html[data-theme=dark] .brand-logo{content:url('/assets/koinnectchurch-logo.svg');background:transparent;padding:0}}

/* Preserve every pixel of the original 30 Semanas icon; blend only its white background. */
.weeks-menu-image{mix-blend-mode:multiply;background:transparent}
@media screen{html[data-theme=dark] .weeks-menu-image{content:normal;filter:invert(1);mix-blend-mode:screen;background:transparent}}

/* Shared dark surfaces: tables, report previews and module filters. Print uses the light rules. */
@media screen {
 html[data-theme=dark]{--muted:#b0bdce}
 html[data-theme=dark] :is(.report-preview,.finance-print){background:#1b2735;color:#e5edf7}
 html[data-theme=dark] table{color:#e5edf7}
 html[data-theme=dark] table tbody tr{background:#1b2735;color:#e5edf7}
 html[data-theme=dark] table tbody tr:nth-child(even){background:#233244}
 html[data-theme=dark] table :is(th,td){color:#e5edf7;border-color:#405166}
 html[data-theme=dark] table :is(thead th,tbody th){background:#233244;color:#e5edf7}
 html[data-theme=dark] :is(.church-report-period,.church-report-basis,.report-issued,.report-address,.report-leader,.report-notes){color:#c0cedf!important}
 html[data-theme=dark] :is(.church-report-actions>span,.church-record-title>span,.church-record-details dt,.church-record-note h4,.church-report-footer,.report-meeting h4,.finance-reference){color:#b9c9dc}
 html[data-theme=dark] .finance-print :is(h1,h2,h3,p){color:#e5edf7}
 html[data-theme=dark] :is(.finance-filter-wrap>summary,.church-filter-period>summary){background:#233244;color:#e5edf7;border-color:#405166}
 html[data-theme=dark] :is(.finance-bar-track,.church-record-note,.church-report-footer,.church-section-heading){border-color:#405166}
 html[data-theme=dark] .finance-bar-track{background:#344457}
}

/* Group cards and church people badges must switch both foreground and surface. */
@media screen {
 html[data-theme=dark] .group-card,html[data-theme=dark] .public .public-group-card{background:#1b2735;color:#e5edf7;border-color:#405166}
 html[data-theme=dark] .group-card:hover{background:#233244;border-color:#eeb735}
 html[data-theme=dark] :is(.group-meta,.group-details dt,.public-group-time,.public-group-address){color:#bdcce0}
 html[data-theme=dark] .group-icon{background:#40351d;color:#ffd46a;border-color:#dba824}
 html[data-theme=dark] .group-status.active{background:#eeb735;color:#302205}
 html[data-theme=dark] .group-status.inactive{background:#344457;color:#e0e9f5}
 html[data-theme=dark] .group-details dl>div{border-color:#405166}
 html[data-theme=dark] .public-group-card h2{color:#e5edf7}
 html[data-theme=dark] .church-person-status{background:#24473f;color:#c2f0df}
 html[data-theme=dark] .church-person-status.is-inactive{background:#344457;color:#e0e9f5}
}

@media screen{html[data-theme=dark] .church-person-status:not(.is-inactive){background:#24473f;color:#c2f0df}}

/* Complete dark contrast for directory counters, users and study library. */
@media screen {
 html[data-theme=dark] .tablewrap tr{border-color:#405166}
 html[data-theme=dark] .users-count{background:#344457;color:#e5edf7}
 html[data-theme=dark] .users-notice{background:#1b2735;border-color:#405166}
 html[data-theme=dark] :is(.user-email,.users-notice strong){color:#e5edf7}
 html[data-theme=dark] .users-notice p,html[data-theme=dark] .tablewrap td:before{color:#bdcce0}
 html[data-theme=dark] .user-role.admin{background:#55431d;color:#ffe09a}
 html[data-theme=dark] .user-icon{background:#2a3b50;color:#e1ebf7}
 html[data-theme=dark] .user-remove{background:#4b2935;color:#ffabb4}
 html[data-theme=dark] .user-icon:hover{background:#344b63}
 html[data-theme=dark] .study-card{background:#1b2735;border-color:#405166;color:#e5edf7}
 html[data-theme=dark] .study-title h3{color:#e5edf7}
 html[data-theme=dark] :is(.study-card p,.study-network){color:#bdcce0}
 html[data-theme=dark] .study-file-icon{background:#40351d;color:#ffd46a}
 html[data-theme=dark] .study-actions a.study-view{background:#eeb735;color:#302205}
 html[data-theme=dark] .study-action-icon{background:#2a3b50!important;color:#e1ebf7;border-color:#485b71}
 html[data-theme=dark] .study-delete{background:#4b2935!important;color:#ffabb4}
 html[data-theme=dark] .registration-status.pendente{background:#344457;color:#e5edf7}
 html[data-theme=dark] .registration-status.aprovada{background:#24473f;color:#c2f0df}
 html[data-theme=dark] .registration-status.rejeitada{background:#4b2935;color:#ffabb4}
 html[data-theme=dark] :is(.registration-link label,.communication-hint,.communication-history summary){color:#bdcce0}
 html[data-theme=dark] .registration-link input{background:#13202e;color:#e5edf7}
 html[data-theme=dark] :is(.registration-icon,.registration-header-actions button){background:#2a3b50!important;color:#e1ebf7;border-color:#485b71}
 html[data-theme=dark] :is(.communication-panel,.communication-panel textarea){background:#1b2735;color:#e5edf7}
}

/* Keep the filter trigger's rounded border outside ancestor clipping. */
@media screen {
 .church-dashboard-filter-panel.panel{overflow:visible;border-radius:0}
 .church-dashboard-filter-panel>summary{background-clip:padding-box}
 html[data-theme=dark] .church-dashboard-filter-panel>summary{border-color:#60748a}
}

/* Shared event calendar: Igreja and 30 Semanas. */
@media screen {
 .event-calendar-week{background:#e5f2f0;border-radius:8px 8px 0 0}
 .event-calendar-week span{color:#165d61;font-weight:750}
 .event-calendar-week span:nth-child(7n+1),.event-calendar-week span:nth-child(7n){color:#835900;background:#fff0c6}
 .event-calendar-header :is(#eventPrev,#eventNext,#eventToday){background:#e5f2f0;color:#165d61;border:1px solid #8eb9b4}
 .event-calendar-header #eventToday{background:#ffe6a0;color:#654600;border-color:#d3a83d}
 .event-day.outside{background:#edf3f8;color:#426080}
 .event-day.outside .event-day-number{color:#426080}
 .event-day.is-today .event-day-number{background:#165d61;color:#fff}
 .event-day.selected{box-shadow:inset 0 0 0 2px #b48310}
 html[data-theme=dark] .event-calendar-week{background:#203c40}
 html[data-theme=dark] .event-calendar-week span{color:#91e1d8}
 html[data-theme=dark] .event-calendar-week span:nth-child(7n+1),html[data-theme=dark] .event-calendar-week span:nth-child(7n){background:#46391f;color:#ffda83}
 html[data-theme=dark] .event-calendar-header :is(#eventPrev,#eventNext,#eventToday){background:#204a4b;color:#b3f0e9;border-color:#538d89}
 html[data-theme=dark] .event-calendar-header #eventToday{background:#55431d;color:#ffe09a;border-color:#aa863b}
 html[data-theme=dark] .event-day.outside{background:#142332;color:#a8bfdc}
 html[data-theme=dark] .event-day.outside .event-day-number{color:#a8bfdc}
 html[data-theme=dark] .event-day.is-today .event-day-number{background:#147d80;color:#fff}
 html[data-theme=dark] .event-day.selected{background:#343321;box-shadow:inset 0 0 0 2px #eeb735}
 .event-calendar-header :is(#eventPrev,#eventNext,#eventToday):focus-visible,.event-day-number:focus-visible{outline:3px solid #b48310;outline-offset:2px}
}

/* Original 30 Semanas silhouette, tinted with the same currentColor as menu icons. */
.menu-icon.weeks-menu-icon .weeks-menu-image{visibility:hidden}
.menu-icon.weeks-menu-icon::before{content:"";position:absolute;width:31.5px;height:33.75px;left:-6.875px;top:-5.75px;background:currentColor;-webkit-mask:url('/assets/30-semanas-original-mask.svg') center/contain no-repeat;mask:url('/assets/30-semanas-original-mask.svg') center/contain no-repeat}

.mobile-navigation summary .menu-icon{color:inherit}

/* Escola Bíblica: compact navigation and touch-friendly attendance. */
.ebd-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.ebd-tabs button{flex:0 1 auto;min-height:44px}.ebd-filters{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:12px}.ebd-filters .field{margin:0}.ebd-staff{border:1px solid #dbe1e9;border-radius:10px;margin:0 0 16px;padding:12px}.ebd-staff label{display:flex;align-items:center;gap:8px;min-height:38px}.ebd-roster{display:grid;gap:12px}.ebd-roster fieldset{border:1px solid #dbe1e9;border-radius:10px;margin:0;padding:12px}.ebd-roster legend{font-weight:700;padding:0 6px}.ebd-roster label{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin:0 12px 0 0}.ebd-alert{padding:14px 0;border-bottom:1px solid #dbe1e9}.ebd-alert p{margin:6px 0 12px}.ebd-portal article,.ebd-portal [data-ebd-task]{padding:16px 0;border-bottom:1px solid #dbe1e9}.ebd-portal [data-ebd-task] button{margin:12px 0}.ebd-table{margin-bottom:24px}#ebdReport h2{margin:24px 0 12px}
@media screen and (max-width:600px){.ebd-tabs{display:grid;grid-template-columns:1fr 1fr}.ebd-tabs button{font-size:12px;padding:8px}.ebd-filters{gap:8px}.ebd-filters select{font-size:13px;padding:8px}.ebd-roster label{font-size:12px}.ebd-table td:before{min-width:0}.ebd-page .stats{grid-template-columns:1fr 1fr}}
@media screen{html[data-theme=dark] :is(.ebd-staff,.ebd-roster fieldset,.ebd-alert,.ebd-portal article,.ebd-portal [data-ebd-task]){border-color:#405166}html[data-theme=dark] .ebd-tabs button[aria-pressed=true]{background:#55431d;color:#ffe09a}}
@media print{.ebd-print{padding:0;color:#111;background:white}.ebd-print h2{color:#111;break-after:avoid}.ebd-print .tablewrap{overflow:visible;border:0}.ebd-print table{display:table;width:100%;font-size:10px;table-layout:auto}.ebd-print thead{display:table-header-group;position:static;clip:auto;width:auto;height:auto;white-space:normal}.ebd-print tbody{display:table-row-group}.ebd-print tr{display:table-row;break-inside:avoid;background:white}.ebd-print :is(td,th){display:table-cell;color:#111;padding:6px;border:1px solid #ccc;overflow-wrap:normal}.ebd-print td:before{display:none}.ebd-print p{color:#333}}

.ebd-roster-tools{margin-bottom:16px}.ebd-roster-tools button{margin-top:10px}.ebd-roster [hidden]{display:none}

.leader-identity{display:flex;align-items:center;gap:10px}.leader-avatar{width:40px;height:40px;min-width:40px;object-fit:cover;border-radius:50%;border:1px solid var(--border,#d4dce5)}.leader-avatar-preview{width:72px;height:72px;margin:8px 0}

.kids-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.kids-person{display:flex;align-items:center;gap:10px}.kids-person img{width:48px;height:48px;object-fit:cover;border-radius:50%}.kids-code{display:block;font-size:36px;letter-spacing:8px;text-align:center;padding:16px}#kidsGuardians{grid-column:1/-1}#kidsGuardians fieldset{border:1px solid var(--border,#aab8c9);border-radius:12px;padding:12px;margin:10px 0}#kidsGuardians label{display:block;margin:8px 0}#kidsReportFilters{display:flex;flex-wrap:wrap;align-items:end;gap:10px}#kidsReportFilters .field{flex:1 1 140px;min-width:0}.event-featured{margin:18px 0 24px}.event-featured-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:18px;padding:2px 2px 14px}.event-featured-card{flex:0 0 min(78vw,400px);scroll-snap-align:start;background:var(--surface,#fff);border:1px solid var(--border,#d8e0e8);border-radius:14px;overflow:hidden}.event-featured-card>div:not(.event-cover){padding:14px}.event-featured-card h3{font-size:18px;margin:6px 0}.event-featured-card p{margin:6px 0;overflow-wrap:anywhere}.event-cover{display:block;width:100%;aspect-ratio:2.1;object-fit:cover}.event-cover-fallback{background:linear-gradient(125deg,#07575b,#167d7e);color:#f1c65b;display:grid;place-items:center;font-size:42px}.event-date-label{color:#087b7b;font-size:12px;font-weight:700}.event-upcoming-list{display:grid;gap:14px}.event-upcoming-card{display:grid;grid-template-columns:180px minmax(0,1fr);gap:18px;align-items:start}.event-list-image{width:100%;aspect-ratio:2.1;object-fit:contain;border-radius:10px;background:var(--surface,#fff)}.event-card-content{min-width:0}.event-card-content h2{font-size:18px;margin-top:0}.event-card-content p{overflow-wrap:anywhere}.event-banner-preview{max-width:100%;max-height:180px;object-fit:contain;margin:12px 0}#ticketScan{margin:16px 0}#ticketScan button{margin-top:8px}
@media screen and (max-width:600px){.kids-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px}.kids-tabs button{padding:9px;font-size:12px;min-height:40px}.event-upcoming-card{grid-template-columns:100px minmax(0,1fr);gap:12px;padding:12px}.event-card-content h2{font-size:15px;line-height:1.35}.event-card-content p{font-size:12px;margin:6px 0}.event-card-content .actions{grid-column:1/-1;gap:6px}.event-card-content .actions button{font-size:11px;padding:8px;min-height:36px}.event-featured-card{flex-basis:83vw}.event-summary .stat{min-height:0}.event-summary .stat small{font-size:11px}#kidsReportFilters{display:grid;grid-template-columns:1fr 1fr}#kidsReportFilters button{grid-column:1/-1}}
@media screen{html[data-theme=dark] .event-featured-card{background:#1c2937;border-color:#405166}html[data-theme=dark] .event-date-label{color:#69d4ce}}
@media print{body.printing-kids #app *{visibility:hidden}body.printing-kids #kidsReport,body.printing-kids #kidsReport *{visibility:visible}body.printing-kids #kidsReport{position:absolute;top:0;left:0;width:100%;background:#fff;color:#111;padding:0;border:0}body.printing-kids #kidsReport table{display:table;width:100%;font-size:10px;table-layout:auto}body.printing-kids #kidsReport thead{display:table-header-group;position:static;clip:auto;width:auto;height:auto}body.printing-kids #kidsReport tr{display:table-row;break-inside:avoid}body.printing-kids #kidsReport :is(td,th){display:table-cell;background:white;color:#111;border:1px solid #ccc;padding:6px}body.printing-kids #kidsReport td:before{display:none}}

@media print{.kids-print{padding:0;background:#fff;color:#111}.kids-print .tablewrap{overflow:visible;border:0}.kids-print table{display:table;width:100%;table-layout:auto}.kids-print thead{display:table-header-group;position:static;clip:auto;width:auto;height:auto}.kids-print tr{display:table-row;break-inside:avoid}.kids-print :is(td,th){display:table-cell!important;background:#fff!important;color:#111!important;border:1px solid #ccc;padding:6px;overflow-wrap:normal}.kids-print td:before{display:none}.kids-print p{color:#333!important}}

#ticketVideo{display:block;width:100%;max-height:300px;object-fit:contain;background:#111;border-radius:12px;margin:12px 0}#ticketVideo[hidden]{display:none}

.login>svg,dialog>svg{display:block;max-width:100%;height:auto;margin:12px auto}.event-featured-track{scrollbar-width:none}.event-featured-track::-webkit-scrollbar{display:none}
.kids-tabs button[aria-pressed=true]{background:#eeb735;color:#3e2d08;font-weight:700}

.secretariat-module-menu{margin:4px 0}.secretariat-module-menu>summary{display:flex;align-items:center;gap:10px;cursor:pointer;color:inherit;padding:10px;border-radius:8px;list-style:none}.secretariat-module-menu>div{padding-left:8px}.compact-agenda-filters{border:1px solid #ccd5df;border-radius:10px;margin:16px 0}.compact-agenda-filters>summary{padding:12px;font-weight:600;cursor:pointer}.compact-agenda-filters .panel{margin:0;border:0;background:transparent}.directory-detail{display:block;margin-top:5px;color:#667c91;font-size:12px}.pastoral-notes{white-space:pre-wrap;overflow-wrap:anywhere}
@media screen{html[data-theme=dark] .directory-detail{color:#acbfd4}html[data-theme=dark] .compact-agenda-filters{border-color:#405166}}
@media screen and (max-width:600px){.compact-agenda-filters .formgrid{gap:8px}.compact-agenda-filters input,.compact-agenda-filters select{min-width:0;font-size:13px;padding:9px}.compact-agenda-filters .field{margin-bottom:8px}#directoryFilters{display:grid;grid-template-columns:1fr auto}#directoryFilters>input{grid-column:1/-1;min-width:0}#directoryFilters .field{margin:0}#directoryFilters>button{align-self:end}.secretariat-module-menu>summary{font-size:13px}}
@media print{.secretariat-print{padding:0;background:#fff;color:#111}.secretariat-print .tablewrap{overflow:visible;border:0}.secretariat-print table{display:table;width:100%;table-layout:auto}.secretariat-print thead{display:table-header-group;position:static;clip:auto;width:auto;height:auto}.secretariat-print tr{display:table-row;break-inside:avoid}.secretariat-print :is(td,th){display:table-cell!important;background:#fff!important;color:#111!important;border:1px solid #ccc;padding:6px}.secretariat-print td:before{display:none}}

.directory-cell,.secretariat-cell{min-width:0;overflow-wrap:anywhere}.directory-cell>button,.secretariat-cell>button{margin:3px 4px 3px 0}.directory-cell .directory-detail{overflow-wrap:anywhere}
.compact-agenda-filters{padding:0;background:transparent}

.church-person-identity{display:flex;align-items:center;gap:10px;min-width:0}.church-person-avatar{width:40px;height:40px;object-fit:cover;border-radius:50%;flex:none}.church-person-portrait{width:100px;height:100px;object-fit:cover;border-radius:16px;display:block;margin:10px 0}.birthday-calendar-heading{display:flex;gap:10px;align-items:center;margin-bottom:14px}.birthday-calendar-heading h2{flex:1;margin:0;text-transform:capitalize}.birthday-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.birthday-weekday{text-align:center;padding:8px 0;color:var(--primary,#087e83)}.birthday-calendar .birthday-date{display:flex;flex-direction:column;align-items:stretch;text-align:left;min-width:0;min-height:92px;padding:8px;border:1px solid #b9cecf;background:transparent;color:inherit;border-radius:8px;gap:4px}.birthday-date small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:#087e83;color:white;padding:3px;border-radius:4px;font-size:11px}.birthday-calendar .birthday-date.outside{opacity:.58}.birthday-calendar .birthday-date.today{border:2px solid #0c9595}.birthday-calendar .birthday-date.selected{outline:2px solid #dea817}.birthday-calendar-heading button{min-width:40px}.birthday-calendar .chart-note{margin-bottom:0}@media(max-width:600px){.birthday-calendar{padding:12px}.birthday-calendar-heading{gap:5px}.birthday-calendar-heading h2{font-size:16px}.birthday-calendar .birthday-date{min-height:76px;padding:4px;font-size:13px}.birthday-date small{font-size:10px;padding:2px}.birthday-calendar-grid{gap:3px}.birthday-weekday{font-size:12px}.birthday-calendar-heading button{padding:8px}}

.event-carousel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.event-carousel-heading>div{display:flex;gap:8px}.event-carousel-heading button{min-width:42px;font-size:22px;padding:4px 14px}.event-featured-track{position:relative;overscroll-behavior-x:contain}.report-banner{background:#101627!important;color:#fff!important;border-bottom:6px solid #d9b128;break-inside:avoid;print-color-adjust:exact;-webkit-print-color-adjust:exact}.report-banner strong{color:#fff!important}.report-banner small{color:#e4bd31!important}.report-banner img{flex:none}.report-banner>div{min-width:0}.finance-print .report-banner{margin-bottom:20px}.secretariat-print .report-banner,.kids-print .report-banner,.ebd-print .report-banner{margin-bottom:0}@media print{.report-banner{display:flex!important;break-after:avoid}.report-banner strong{font-size:23px}.report-banner img{width:70px;height:70px}.report-banner small{font-size:12px}}
.sermon-tabs,.sermon-editor-actions,.sermon-pulpit-controls,.sermon-topic-nav{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:14px 0}.sermon-library{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px}.sermon-library h2{font-size:20px;overflow-wrap:anywhere}.sermon-metadata-fields{border:0;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.sermon-rich{min-height:120px;padding:16px;border:1px solid var(--border,#ccd5df);border-radius:10px;background:var(--surface,#fff);color:inherit;line-height:1.8;overflow-wrap:anywhere;outline-offset:3px}.sermon-rich[contenteditable=false]{min-height:0}.sermon-format{display:flex;gap:6px;margin:8px 0;flex-wrap:wrap}.sermon-format button{font-size:12px;padding:7px 10px}.sermon-topic{margin:16px 0}.sermon-topic-heading{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.sermon-topic-heading h2{margin-right:auto}.sermon-topic label,.sermon-private label{display:grid;gap:8px;margin:10px 0}.sermon-topic textarea,.sermon-private textarea{width:100%;min-height:100px}.sermon-private{border-left:4px solid #b79439;padding:16px;background:var(--surface,#fff);color:inherit}.sermon-private summary{font-weight:600;cursor:pointer}.sermon-private pre,.sermon-conflict-grid pre,.sermon-slide-review{white-space:pre-wrap;overflow-wrap:anywhere}.sermon-reference{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.sermon-conflict-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.sermon-conflict-grid pre{max-height:350px;overflow:auto;font-size:12px}.sermon-slide-edit,.sermon-slide-review{padding:16px;border:1px solid var(--border,#aab8c9);border-radius:10px;margin:14px 0}.sermon-slide-edit label{display:grid;gap:8px;margin:8px 0}.sermon-slide-edit textarea{min-height:130px}.sermon-pulpit{padding:22px;border-radius:14px;background:#fbfbf6;color:#16373b}.sermon-pulpit.pulpit-dark{background:#101c29;color:#e7edf4}.sermon-pulpit .panel,.sermon-pulpit .sermon-private{background:inherit;color:inherit}.sermon-reading{line-height:1.8;overflow-wrap:anywhere;max-width:900px;margin:22px auto}.sermon-reading h2{font-size:1.4em;color:inherit}.sermon-reading h3{font-size:1.1em;color:inherit}.sermon-reading p{color:inherit}.sermon-timer{display:flex;gap:12px;align-items:center;flex-wrap:wrap;border-block:1px solid #84969e;padding:14px 0}.sermon-timer input{width:86px}.sermon-timer strong{font-size:32px;padding:6px 12px;border-radius:8px}.sermon-timer [data-level=yellow]{background:#f8d977;color:#432f00}.sermon-timer [data-level=red],.sermon-timer [data-level=exceeded]{background:#9a242d;color:#fff}.sermon-timer [data-level=exceeded]{outline:3px double #b22633;outline-offset:4px}.sermon-pair-code{display:block;font-size:40px;letter-spacing:.18em;text-align:center}.sermon-bible-text{font-size:22px;line-height:1.8;white-space:pre-wrap}.sermon-screen-setup{max-width:500px;padding:24px;margin:40px auto}.sermon-screen-setup label{display:grid;gap:8px;margin:18px 0}.sermon-screen{position:fixed;inset:0;background:#000;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px;z-index:50}.sermon-screen #sermonScreenSlide{width:100%;max-height:83vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4vw;overflow:auto;font-size:clamp(22px,3.4vw,60px);line-height:1.5;text-align:center;overflow-wrap:anywhere}.sermon-screen h1{font-size:1.3em;color:#fff}.sermon-screen p{color:inherit}.sermon-screen #sermonScreenStatus{font-size:13px;color:#c9d5df}.sermon-screen>button{margin:4px;font-size:12px;padding:6px 12px}.sermon-editor-actions #sstate{margin-right:auto}.sermon-library small{display:block}.sermon-pulpit button:focus-visible{outline:3px solid #d9ad28;outline-offset:3px}@media(max-width:600px){.sermon-metadata-fields,.sermon-conflict-grid{grid-template-columns:1fr}.sermon-pulpit{padding:12px}.sermon-pulpit-controls button{flex:1 1 auto}.sermon-editor-actions{gap:6px}.sermon-editor-actions #sstate{flex-basis:100%}.sermon-editor-actions button{font-size:12px;padding:9px}.sermon-timer{gap:8px}.sermon-topic-nav{justify-content:space-between}.sermon-pair-code{font-size:32px}.sermon-screen{padding:10px}}@media(prefers-reduced-motion:reduce){.sermon-pulpit *,.sermon-screen *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.sermon-editor-actions [hidden],#susepptx[hidden]{display:none!important}

html[data-theme="dark"] .sermon-rich,html[data-theme="dark"] .sermon-private{background:#1c2937;color:#e1eaf4;border-color:#405166}html[data-theme="dark"] .sermon-private summary{color:#e1eaf4}.sermon-pulpit.pulpit-dark .sermon-private{background:#101c29;color:#e7edf4}.sermon-pulpit:not(.pulpit-dark) .sermon-private{background:#fbfbf6;color:#16373b}

.weeks-report-meeting{margin:1.2rem 0}.weeks-report-meeting table{width:100%;table-layout:auto} @media print{.weeks-report-meeting+ .weeks-report-meeting{break-before:page}.weeks-report-meeting tr{break-inside:avoid}}

.sermon-visual{position:relative;width:100%;container-type:inline-size;overflow:hidden;color:#000}.sermon-visual-shape{position:absolute;box-sizing:border-box;white-space:pre-wrap;line-height:1.15;overflow:hidden}.sermon-visual img{width:100%;height:100%;object-fit:contain}.sermon-slide-review .sermon-visual{max-width:900px}#sermonScreenSlide:has(.sermon-visual){padding:0}#sermonScreenSlide .sermon-visual{height:100%}

.sermon-visual .sermon-visual-background{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none}

.sermon-visual-shape{display:flex;flex-direction:column;line-height:1.15;overflow-wrap:normal;word-break:normal}.sermon-visual-text{width:100%;flex:0 0 auto;white-space:pre-wrap;line-height:1.15}.sermon-visual-text span{line-height:inherit}#sermonScreenSlide .sermon-visual{height:auto;flex-shrink:0}#sermonScreenSlide:has(.sermon-visual){width:min(100%,calc(74vh * var(--slide-ratio,1.77778)));max-height:74vh;overflow:hidden;flex:0 0 auto}

.sermon-visual-text{transform-origin:center center}

.family-search-results{display:grid;gap:6px;max-height:260px;overflow-y:auto}.family-search-results button{text-align:left;justify-content:flex-start;min-height:44px;white-space:normal}

.family-report-group{margin-block:24px}.family-report-group h2{font-size:18px}.family-report-group table{width:100%;table-layout:auto}.family-report-group th,.family-report-group td{white-space:normal;overflow-wrap:break-word}@media print{.family-report-group h2{break-after:avoid}.family-report-group tr{break-inside:avoid}}

.kids-occupancy-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px;margin-top:20px}.kids-present-count{display:block;font-size:40px;color:var(--primary,#147d80)}.kids-present-count small{font-size:14px}.kids-occupancy-card dl{display:grid;grid-template-columns:1fr auto;gap:12px}.kids-occupancy-card dd{margin:0;font-weight:bold}.kids-room-empty{font-weight:600;color:var(--primary,#147d80)}

/* Turmas compactas, com a mesma grade dos indicadores. */
.kids-occupancy-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:20px;margin-bottom:26px}
.kids-occupancy-card{min-width:0;margin:0;padding:16px}
.kids-occupancy-card h2{font-size:15px;line-height:1.3;margin:0 0 6px;overflow-wrap:anywhere}
.kids-occupancy-card>p{font-size:11px;line-height:1.4;margin:0 0 8px}
.kids-occupancy-card .kids-present-count{font-size:30px;line-height:1.2;margin:10px 0 8px}
.kids-present-count small{display:block;font-size:11px;font-weight:400;line-height:1.4;margin-top:3px}
.kids-departed{font-size:12px;margin-bottom:8px}.kids-occupancy-details{font-size:11px;margin:8px 0}.kids-occupancy-details summary{cursor:pointer}.kids-occupancy-details p{font-size:11px;margin:6px 0}
@media(max-width:1100px){.kids-occupancy-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.kids-occupancy-grid{gap:10px;margin-top:14px}.kids-occupancy-card{padding:12px}.kids-occupancy-card h2{font-size:13px}.kids-occupancy-card .kids-present-count{font-size:26px;margin:8px 0}.kids-occupancy-card>p{font-size:10px}.kids-departed{font-size:11px}}

/* KIDS: indicadores e turmas acessíveis sem uma longa introdução no celular. */
#kidsLiveStatus{font-size:11px;line-height:1.5;margin:0 0 12px}
.kids-dashboard-actions{align-items:center}
@media(max-width:600px){
.kids-heading h1{font-size:24px;margin-bottom:12px}.kids-heading p{display:none}
nav.kids-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:6px;padding-bottom:6px;margin-bottom:12px;scrollbar-width:thin}
nav.kids-tabs button{flex:0 0 auto;min-height:44px;padding:9px 12px;font-size:12px;white-space:nowrap}
.toolbar.kids-dashboard-actions{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr) minmax(0,1fr);gap:6px;margin-bottom:9px}
.kids-dashboard-actions>button{font-size:11px;min-height:44px;padding:8px 5px;line-height:1.3}
#kidsDashboardLive .kids-dashboard-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:14px}
.kids-dashboard-stats .stat{padding:12px 8px;min-width:0;border-radius:12px}
.kids-dashboard-stats .stat>span{display:block;font-size:11px;line-height:1.3;min-height:29px}
.kids-dashboard-stats .stat>strong{font-size:26px;line-height:1.2;margin:6px 0 0}
#kidsDashboardLive .kids-occupancy-grid{margin-top:0}
}

.birthday-message{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:9px}.birthday-message:disabled{opacity:.5;cursor:not-allowed}

@media(max-width:600px){.toolbar.kids-dashboard-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}

.kids-bottom-actions{margin-top:24px;padding-top:20px;border-top:1px solid #dbe1e9}.kids-bottom-actions h2{font-size:16px;margin-bottom:12px}nav.kids-bottom-tabs{display:flex;flex-wrap:wrap;overflow:visible;gap:8px;margin-top:12px}nav.kids-bottom-tabs button{flex:0 1 auto;white-space:normal}@media(max-width:600px){nav.kids-bottom-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.kids-bottom-actions{margin-top:18px;padding-top:16px}}

nav.kids-dashboard-top-tab{display:block;margin-bottom:12px}nav.kids-dashboard-top-tab button{display:block;width:100%;text-align:left;min-height:44px;background:#eeb735;color:#3e2d08;font-weight:700}.kids-dashboard-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.kids-dashboard-actions button{min-width:0;min-height:44px}

.birthday-count{display:none}
.birthday-calendar-people .birthday-date.selected{outline:0;border:2px solid #d6a325;box-shadow:inset 0 0 0 1px #d6a325;background:#d6a32518}
@media(max-width:600px){
.birthday-calendar-people{padding:10px;margin-bottom:14px}
.birthday-calendar-people .birthday-calendar-heading{display:grid;grid-template-columns:44px minmax(0,1fr) 44px 48px;gap:4px;margin-bottom:8px}
.birthday-calendar-people .birthday-calendar-heading h2{font-size:14px;line-height:1.3;text-align:center}
.birthday-calendar-people .birthday-calendar-heading button{min-width:0;min-height:44px;padding:7px;font-size:12px}
.birthday-calendar-people .birthday-weekday{font-size:11px;padding:5px 0}
.birthday-calendar-people .birthday-calendar-grid{gap:3px}
.birthday-calendar-people .birthday-date{position:relative;min-height:53px;padding:5px;gap:2px;font-size:12px}
.birthday-calendar-people .birthday-date small{display:none}
.birthday-calendar-people .birthday-count{display:inline-flex;align-self:center;align-items:center;justify-content:center;min-width:18px;min-height:18px;border-radius:12px;background:#087e83;color:white;font-size:10px;font-weight:700;padding:1px 5px}
.birthday-calendar-people .chart-note{font-size:11px;line-height:1.5;margin-top:10px}
.birthday-batch{padding:12px;margin-bottom:14px}.birthday-batch h2{font-size:15px;margin-bottom:10px}.birthday-batch .actions button{width:100%;min-height:44px;font-size:12px;white-space:normal}
#birthdayReport .report-banner{padding:14px;gap:10px}#birthdayReport .report-banner img{width:42px;height:42px}#birthdayReport .report-banner strong{font-size:15px}#birthdayReport .report-body{padding:12px}#birthdayReport .report-body h2{font-size:16px}
}

.communication-send-queue{display:grid;gap:10px;margin-top:16px}.communication-send-queue .panel{margin:0;padding:14px}.communication-send-queue .checkrow{margin-top:12px}.communication-send-queue small{display:block;margin-bottom:8px}@media(max-width:600px){.communication-send-queue .button,#communicationNext{width:100%;min-height:44px;white-space:normal}}

.finance-report-options{min-width:0}.finance-overdue-option{display:flex;align-items:flex-start;gap:8px;line-height:1.5;margin:12px 0}.finance-overdue-option input{flex:none;margin:2px 0 0}
.finance-report-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px;margin:14px 0}
.finance-report-actions>button{width:100%;min-width:0;min-height:44px;height:auto;white-space:normal;word-break:normal;overflow-wrap:normal;line-height:1.4;padding:11px 14px}
@media(max-width:600px){
.finance-report-options{padding:14px;border-radius:12px}.finance-report-options select{font-size:14px;min-height:44px;padding:10px;width:100%;min-width:0;max-width:100%}
.finance-report-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.finance-report-actions>button{font-size:12px;min-height:48px;line-height:1.4;padding:10px 9px}
.finance-report-actions>button[data-fin-action="report"]{grid-column:1/-1}
.finance-overdue-option{font-size:12px;margin:12px 0}.finance-report-options>p{font-size:12px;line-height:1.6;margin-bottom:0}
}
@media(max-width:380px){.finance-report-actions{grid-template-columns:1fr}}

/* Painel de ocupação das turmas KIDS: leitura rápida em quatro indicadores. */
.kids-occupancy-grid .kids-monitor-card{padding:0;overflow:hidden;border-radius:13px;border:1px solid #b7cfca;align-self:start}
.kids-monitor-header{padding:12px;background:#07585b;border-top:3px solid #eeb735;text-align:center}
.kids-monitor-header h2{color:#fff;font-size:15px;font-weight:750;line-height:1.3;margin:0 0 5px;overflow-wrap:break-word}
.kids-monitor-header p{color:#d6e9e4;font-size:10px;line-height:1.4;margin:0}
.kids-occupancy-card dl.kids-monitor-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px;margin:0;padding:14px 12px}
.kids-monitor-metrics>div{display:flex;align-items:center;justify-content:space-between;gap:5px;min-width:0}
.kids-monitor-metrics dt{font-size:11px;line-height:1.35;overflow-wrap:normal;word-break:normal}
.kids-monitor-metrics dd{font-size:20px;line-height:1.2;font-weight:750;margin:0;flex:none;font-variant-numeric:tabular-nums}
.kids-monitor-present dd{color:#087e83}
.kids-occupancy-card>p.kids-monitor-state{font-size:10px;margin:0;padding:8px 10px;line-height:1.4;border-top:1px solid #dce8e4;text-align:center}
.kids-monitor-state.is-occupied{color:#825900;background:#eeb73515}.kids-monitor-state.is-empty{color:#07675f;background:#087e830c}
.kids-occupancy-card>p.kids-monitor-warning{font-size:10px;margin:0;padding:8px 10px}
html[data-theme=dark] .kids-monitor-header h2{color:#fff}html[data-theme=dark] .kids-monitor-header p{color:#d6e9e4}html[data-theme=dark] .kids-monitor-present dd{color:#6ed6ca}html[data-theme=dark] .kids-monitor-state.is-occupied{color:#f5cb66}html[data-theme=dark] .kids-monitor-state.is-empty{color:#8cddce}
@media(max-width:600px){.kids-monitor-header{padding:10px 7px}.kids-monitor-header h2{font-size:12px}.kids-monitor-header p{font-size:9px}.kids-occupancy-card dl.kids-monitor-metrics{padding:11px 9px;gap:10px 7px}.kids-monitor-metrics>div{display:block}.kids-monitor-metrics dt{font-size:10px}.kids-monitor-metrics dd{font-size:21px;margin-top:3px}.kids-occupancy-card>p.kids-monitor-state{font-size:9px;padding:7px 5px}}
@media(max-width:340px){#kidsDashboardLive .kids-occupancy-grid{grid-template-columns:1fr}.kids-monitor-metrics>div{display:flex}}

.event-card-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px}.event-card-actions button{white-space:normal;word-break:normal;overflow-wrap:normal}.event-checkin-list{display:grid;gap:10px;margin:12px 0 20px;max-height:50vh;overflow-y:auto}.event-checkin-list .event-registration-response{margin:0;padding:12px}.event-checkin-qr summary{cursor:pointer;padding:12px 0;font-weight:700}
@media(max-width:600px){.event-card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px}.event-card-actions button{width:100%;min-width:0;min-height:44px;padding:10px 8px;font-size:12px;line-height:1.35}.event-checkin-list{max-height:48vh}}

.user-module-section{border-bottom:1px solid var(--border,#d8e0e8);padding:8px 0}.user-module-menus{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px;padding:0 0 10px 22px}.user-module-menus .checkrow{font-size:13px;min-height:40px}.user-module-menus:has(input:disabled){opacity:.55}@media(max-width:600px){.user-module-menus{grid-template-columns:1fr;padding-left:16px}}

.event-checkin-report{margin-top:16px}.event-checkin-report table{width:100%;table-layout:auto}.event-checkin-report th:first-child,.event-checkin-report td:first-child{width:48px}.event-checkin-report td{word-break:normal;overflow-wrap:break-word}.event-checkin-report .report-body{padding:20px}@media(max-width:600px){.event-checkin-report .report-body{padding:14px}.event-checkin-report .report-banner{padding:14px;gap:10px}.event-checkin-report .report-banner strong{font-size:16px}.event-checkin-report .report-banner img{width:44px;height:44px}}

@media screen and (max-width:600px){.supervisors-filters{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.supervisors-filters input,.supervisors-filters select{width:100%;min-width:0;max-width:100%;margin:0}.supervisors-table td{grid-template-columns:82px minmax(0,1fr);gap:10px;align-items:center;padding:10px 0;text-align:left}.supervisors-table td:before{align-self:center}.supervisors-table .supervisor-value{grid-column:2;min-width:0;overflow-wrap:anywhere}.supervisors-table .member-contact{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:nowrap}.supervisors-table .member-contact>span{min-width:0;font-size:13px}.supervisors-table .record-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin:0}.supervisors-table .record-icon{min-width:44px;min-height:44px}.supervisors-table .member-chat{width:40px;height:40px;min-width:40px;padding:8px}}

.sermon-projection-controls{position:sticky;top:8px;z-index:15;background:var(--surface,#fff);border:1px solid var(--border,#d8e0e8);padding:12px}.sermon-projection-controls button{margin:3px;padding:10px}.sermon-projection-controls p{font-size:12px;margin:6px 0}.sermon-screen-tools{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);background:#101c29eb;padding:12px;border-radius:12px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s;z-index:60;text-align:center;width:max-content;max-width:95vw}.sermon-screen-tools.is-visible{opacity:1;visibility:visible;pointer-events:auto}.sermon-screen-tools p{margin:0 0 6px}.sermon-projecting #themeToggle,.sermon-projecting .theme-toggle{display:none!important}.sermon-screen #sermonScreenSlide{padding:0;max-height:100vh;overflow:hidden;flex-shrink:0;width:min(100vw,calc(100vh * var(--slide-ratio,1.777778)))}.sermon-screen #sermonScreenSlide:has(.sermon-visual){container-type:inline-size}.sermon-screen{padding:0}.sermon-pulpit.pulpit-dark .sermon-projection-controls{background:#1b2735}@media(max-width:600px){.sermon-projection-controls{top:78px}.sermon-projection-controls button{font-size:12px;padding:9px}.sermon-projection-controls h3{margin:0 0 6px}}

.sermon-screen #sermonScreenSlide:has(.sermon-visual){width:min(100vw,calc(100vh * var(--slide-ratio,1.777778)));max-height:100vh}.sermon-visual-text{transform-origin:top left}.sermon-screen #sermonScreenSlide:not(:has(.sermon-visual)){padding:4%;box-sizing:border-box}

/* Fullscreen projection fills the display without cropping slide content. */
:fullscreen .sermon-screen #sermonScreenSlide,:fullscreen .sermon-screen #sermonScreenSlide:has(.sermon-visual){width:100vw;height:100dvh;max-width:none;max-height:none;aspect-ratio:auto!important;margin:0;padding:0;flex:0 0 auto;border:0;border-radius:0}
:fullscreen .sermon-screen #sermonScreenSlide .sermon-visual{width:100%;height:100%;aspect-ratio:auto!important;margin:0;border:0;border-radius:0}
:fullscreen .sermon-screen #sermonScreenSlide .sermon-visual>img{width:100%;height:100%;object-fit:fill}

.heading.visitor-page-heading{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.visitor-page-heading>div:first-child{flex:1 0 100%;min-width:0}.visitor-page-heading h1{white-space:normal;overflow-wrap:break-word}.visitor-page-heading>button{flex:0 1 auto;min-width:0;max-width:100%;white-space:normal;line-height:1.4}@media(max-width:600px){.heading.visitor-page-heading{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:stretch}.visitor-page-heading>div:first-child{grid-column:1/-1;width:100%}.visitor-page-heading>button{width:100%;min-width:0;margin:0;padding:10px 8px;min-height:44px;font-size:12px}.visitor-page-heading h1{margin-bottom:8px}.visitor-page-heading p{margin-bottom:8px}}

.visitor-directory-header{display:block;width:100%;margin-bottom:20px}.visitor-directory-header>div:first-child{display:block;width:100%;margin:0 0 14px}.visitor-directory-header h1{margin:0 0 8px;white-space:normal}.visitor-directory-header p{margin:0}.visitor-directory-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:100%;clear:both}.visitor-directory-actions>button{position:static;float:none;width:100%;min-width:0;margin:0;white-space:normal;line-height:1.4;min-height:44px}@media(max-width:600px){.visitor-directory-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.visitor-directory-actions>button{font-size:12px;padding:10px 8px}}

.church-people-list .record-actions .member-chat{width:44px;height:40px;flex:0 0 44px}.event-registration-response .member-chat{vertical-align:middle;margin:4px 8px 4px 0}

.visitor-name-pending{color:#b52c3b!important}.record-icon.visitor-contact-pending{color:#b52c3b;background:#fff0f1;border-color:#f2c4ca}html[data-theme=dark] .visitor-name-pending{color:#ff9da8!important}#visitorMessageText{width:100%;min-height:110px;margin:8px 0 12px}

.ministry-section-menu{margin:0;border:0;background:transparent}.ministry-section-menu>summary{display:flex;align-items:center;gap:10px;padding:10px 12px;min-height:40px;cursor:pointer;list-style:none;color:inherit}.ministry-section-menu>summary::-webkit-details-marker{display:none}.ministry-section-menu>div{display:grid;gap:4px;padding-left:12px}.ministry-section-menu[open]>summary .module-arrow{transform:rotate(180deg)}.ministry-sidebar-page .kids-tabs,.ministry-sidebar-page .kids-dashboard-top-tab,.ministry-sidebar-page .ebd-tabs{display:none!important}.ministry-sidebar-page .kids-management-heading{display:none}

/* Compact nested ministries: override the generic padded details card. */
.mobile-navigation nav .ministry-section-menu{display:block;padding:0;margin:0;width:100%;min-width:0;border:0;border-radius:0;background:transparent;box-sizing:border-box}
.mobile-navigation nav .ministries-module-menu>div{padding-left:0;gap:2px;min-width:0}
.mobile-navigation nav .ministry-section-menu>summary{display:grid;grid-template-columns:18px minmax(0,1fr) 12px;align-items:center;gap:9px;padding:10px 12px;margin:0;min-height:40px;width:100%;box-sizing:border-box;font-size:13px;line-height:19px;font-weight:500;color:#536b8d}
.mobile-navigation nav .ministry-section-menu>summary>span:nth-child(2){min-width:0;white-space:normal;overflow-wrap:normal;word-break:normal}
.mobile-navigation nav .ministry-section-menu .menu-icon{width:18px;height:18px;min-width:18px;margin:0}
.mobile-navigation nav .ministry-section-menu>div{padding:0 0 0 10px;margin:0;gap:2px}
.mobile-navigation nav .ministry-section-menu>div>button{padding:9px 12px;min-height:40px;font-size:13px;line-height:19px;align-items:center;gap:9px}
.mobile-navigation nav .ministries-module-menu .weeks-module-menu>summary{font-size:13px;min-height:40px;line-height:19px;padding:10px 12px;margin:0}
html[data-theme=dark] .mobile-navigation nav .ministry-section-menu>summary{color:#bdcce0}
@media(max-width:900px){.mobile-navigation nav .ministry-section-menu>summary,.mobile-navigation nav .ministry-section-menu>div>button{min-height:44px}}

#kidsDashboardLive:fullscreen{display:block;width:100%;height:100%;overflow:auto;background:var(--surface,#f5f7fb);color:inherit;padding:24px;box-sizing:border-box}#kidsDashboardLive:fullscreen>.stats,#kidsDashboardLive:fullscreen>p{display:none}#kidsDashboardLive:fullscreen .kids-occupancy-grid{display:grid;grid-template-columns:repeat(var(--kids-monitor-columns,5),minmax(0,1fr));gap:18px;margin:0;align-items:start}#kidsDashboardLive:fullscreen .kids-monitor-card{width:100%;min-width:0;margin:0}#kidsDashboardLive:fullscreen .kids-monitor-header h2{font-size:clamp(15px,1.5vw,24px)}#kidsDashboardLive:fullscreen .kids-monitor-metrics dd{font-size:clamp(22px,2vw,34px)}html[data-theme=dark] #kidsDashboardLive:fullscreen{background:#101c29}@media(max-width:1100px){#kidsDashboardLive:fullscreen .kids-occupancy-grid{grid-template-columns:repeat(min(3,var(--kids-monitor-columns,3)),minmax(0,1fr))}}@media(max-width:650px){#kidsDashboardLive:fullscreen{padding:12px}#kidsDashboardLive:fullscreen .kids-occupancy-grid{grid-template-columns:repeat(min(2,var(--kids-monitor-columns,2)),minmax(0,1fr));gap:10px}}@media(max-width:360px){#kidsDashboardLive:fullscreen .kids-occupancy-grid{grid-template-columns:minmax(0,1fr)}}

/* Module labels must not inherit the mobile menu's right-aligned caption. */
.mobile-navigation nav .ministry-section-menu>summary>span:nth-child(2){text-align:left;justify-self:start;width:100%;font-size:inherit;line-height:inherit;color:inherit;margin:0}
.mobile-navigation nav .ministry-section-menu>summary>.menu-icon{text-align:left;justify-self:start}
.mobile-navigation nav .ministry-section-menu>summary>.module-arrow{text-align:right;justify-self:end;margin:0;font-size:12px}

.multiplication-flow{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:12px;align-items:center;padding:18px;margin:20px 0;border:1px dashed var(--border,#bcc7d3);border-radius:12px;text-align:center}.multiplication-flow strong,.multiplication-flow small{display:block;overflow-wrap:anywhere}.multiplication-flow small{margin-bottom:8px}.multiplication-flow+form .formgrid{grid-template-columns:1fr}

.group-origin{display:block;max-width:100%;padding:6px 10px;border:1px solid currentColor;border-radius:8px;font-size:12px;line-height:1.45;overflow-wrap:anywhere;color:inherit}.group-origin strong{display:inline;font-size:inherit;color:inherit}

.growth-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:end}.growth-board{display:flex;gap:14px;overflow-x:auto;padding-bottom:16px;align-items:flex-start}.growth-column{flex:0 0 280px;min-width:0;padding:16px}.growth-column h2{font-size:17px}.growth-person{display:flex;flex-direction:column;align-items:flex-start;text-align:left;white-space:normal;width:100%;gap:8px;margin:10px 0;padding:14px;overflow-wrap:anywhere}.growth-history{border-bottom:1px solid var(--border,#ccd5dd);padding:14px 0;overflow-wrap:anywhere}.growth-history small{display:block;margin-top:6px}@media(max-width:650px){.growth-filters{grid-template-columns:1fr 1fr}.growth-filters>label:first-child{grid-column:1/-1}.growth-board{display:block;overflow:visible}.growth-column{margin-bottom:14px}.growth-person{min-height:44px}.growth-column:has(.muted):not(:has(.growth-person)){display:none}}

.growth-column{max-height:65vh;overflow-y:auto}.growth-column h2{position:sticky;top:-16px;background:var(--surface,#fff);padding:10px 0;z-index:1}@media(max-width:650px){.growth-column{max-height:65vh}.growth-filters .field{min-width:0}.growth-filters select{width:100%}}

.growth-filters>.checkrow{display:flex!important;flex-direction:row!important;align-items:center;gap:8px}.growth-filters>.checkrow input{width:18px;min-width:18px;height:18px;margin:0}@media(max-width:650px){.growth-summary{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}.growth-summary .stat{padding:12px;font-size:12px}.growth-summary .stat strong{font-size:26px}.growth-filters>.checkrow{grid-column:1/-1}.growth-filters select{font-size:13px;padding-left:8px}}

/* Quadro da jornada: colunas e cartões */
.growth-board-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:22px 0 12px}.growth-board-toolbar p{font-size:13px;margin:6px 0;color:var(--muted,#718096)}.growth-board-toolbar .actions{flex-wrap:nowrap;white-space:nowrap}.growth-board-toolbar button{min-width:42px}.growth-stage-tabs{display:flex;overflow-x:auto;gap:8px;padding:2px 0 12px;margin-bottom:8px}.growth-stage-tabs button{flex:0 0 auto;white-space:nowrap;font-size:12px;padding:9px 12px;border-radius:20px}.growth-stage-tabs b{margin-left:6px}.growth-board{position:relative;display:flex;gap:16px;overflow-x:auto;overflow-y:hidden;align-items:stretch;padding:0 0 18px;scroll-snap-type:x proximity}.growth-column{flex:0 0 290px;max-height:none;overflow:hidden;padding:0;border:1px solid var(--border,#dce4e8);border-radius:14px;background:var(--surface,#fff);border-top:4px solid var(--stage-color);scroll-snap-align:start}.growth-column-header{padding:16px;border-bottom:1px solid var(--border,#dce4e8);background:color-mix(in srgb,var(--stage-color) 7%,var(--surface,#fff))}.growth-column-header>div{display:flex;align-items:center;gap:8px}.growth-column-header h2{position:static;background:transparent;padding:0;margin:0;font-size:15px;flex:1}.growth-column-header b{display:grid;place-items:center;min-width:28px;height:28px;border-radius:9px;background:var(--surface,#fff);font-size:13px}.growth-column-header small{display:block;margin:7px 0 0 18px;font-size:11px;color:var(--muted,#718096)}.growth-stage-dot{width:9px;height:9px;border-radius:50%;background:var(--stage-color)}.growth-column-body{height:clamp(300px,55vh,650px);overflow-y:auto;padding:10px;background:color-mix(in srgb,var(--stage-color) 3%,var(--surface,#fff))}.growth-person{display:flex;flex-direction:column;width:100%;text-align:left;align-items:stretch;padding:14px;margin:0 0 10px;gap:10px;border:1px solid var(--border,#dce4e8);border-radius:12px;background:var(--surface,#fff);color:var(--text,#24394a);box-shadow:0 2px 5px #142f3c06;cursor:grab;transition:box-shadow .15s,transform .15s;white-space:normal;font-weight:400}.growth-person:hover{box-shadow:0 5px 14px #142f3c18;transform:translateY(-1px);background:var(--surface,#fff)}.growth-person-title{display:flex;gap:9px;align-items:center}.growth-person-title strong{flex:1;font-size:13px;line-height:1.4;overflow-wrap:anywhere}.growth-avatar{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:50%;background:color-mix(in srgb,var(--stage-color) 15%,var(--surface,#fff));color:var(--stage-color);font-weight:700;font-size:12px}.growth-drag{color:var(--muted,#718096);font-size:20px}.growth-person-kind{font-size:10px;align-self:flex-start;border-radius:5px;background:color-mix(in srgb,var(--stage-color) 9%,var(--surface,#fff));color:var(--text,#24394a);padding:4px 7px}.growth-person-time{font-size:11px;color:var(--muted,#718096)}.growth-next-step{font-size:12px;line-height:1.5}.growth-person-owner{display:flex;gap:7px;align-items:center;border-top:1px solid var(--border,#dce4e8);padding-top:10px;font-size:11px;color:var(--muted,#718096)}.growth-person-owner>span:last-child{margin-left:auto}.growth-date{font-size:11px}.growth-overdue{border-left:3px solid #d24646}.growth-overdue .growth-date{color:#c33c3c}.growth-empty{text-align:center;padding:36px 8px;color:var(--muted,#718096);font-size:12px;border:1px dashed var(--border,#dce4e8);border-radius:10px;line-height:1.8}.growth-dragging{opacity:.45}.growth-drop-active{outline:3px solid var(--stage-color);outline-offset:-3px}.growth-drop-active .growth-column-body{background:color-mix(in srgb,var(--stage-color) 13%,var(--surface,#fff))}
@media(max-width:650px){.growth-board{display:flex;overflow-x:auto;gap:12px}.growth-column{display:block!important;flex-basis:85%;max-height:none;margin-bottom:0}.growth-column-body{height:52vh;min-height:280px}.growth-board-toolbar{align-items:flex-start}.growth-board-toolbar .actions{gap:5px}.growth-board-toolbar .actions>span{display:none}.growth-board-toolbar p{font-size:12px}.growth-stage-tabs{margin-bottom:4px}.growth-person{min-height:0}.growth-drag{display:none}.growth-person{cursor:pointer}}

.growth-summary .stat{padding:14px 18px;min-height:0}.growth-summary .stat strong{font-size:26px;margin-top:5px}.growth-column-header{min-height:83px}@media(min-width:651px){.growth-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.growth-filters{padding:16px}}

.kids-push-guardian{padding:14px 0;border-bottom:1px solid var(--border,#dce5ea)}.kids-push-guardian button{margin:4px;white-space:normal}.kids-push-guardian small{display:block}

.cells-push-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.cells-push-leader{gap:10px;flex-wrap:wrap}.cells-push-leader>label{flex:1;min-width:180px}.cells-push-leader button{flex:0 0 auto;white-space:normal;min-height:44px}.cells-push-leaders [hidden]{display:none!important}.cells-push-message{padding:16px;border:1px solid var(--border,#dce5ea);border-radius:10px;white-space:pre-wrap;overflow-wrap:anywhere}.communications-page #message{min-height:120px}.communications-page #messageCount{display:block;margin:8px 0;color:var(--muted,#718096)}@media(max-width:600px){.cells-push-leader>label{min-width:0;width:100%}.cells-push-leader button{width:100%}.cells-push-heading h2{font-size:18px}}

#kidsPushAlertForm #kidsPushMessage{display:block;width:100%;min-height:140px;resize:vertical;box-sizing:border-box;font-size:16px}#kidsPushAlertForm .field{margin:14px 0}#kidsPushAlertForm #sendKidsPush{min-height:44px;width:100%}#writeKidsPushNow{min-height:44px;margin:8px 0}

button.kids-alert-action,button.secondary.kids-alert-action{background:#c73542;color:#fff;border:1px solid #c73542}button.kids-alert-action:hover,button.secondary.kids-alert-action:hover{background:#a82430;border-color:#a82430;color:#fff}button.kids-alert-action:focus-visible{outline:3px solid #ed8790;outline-offset:3px}

button.kids-count-link{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;padding:2px 5px;margin:0;background:transparent;color:inherit;border:0;border-radius:7px;font:inherit;font-weight:inherit;cursor:pointer}button.kids-count-link:hover{background:#147d8018;color:inherit;text-decoration:underline}button.kids-count-link:focus-visible{outline:2px solid #dfa019;outline-offset:2px}.kids-count-list{list-style:none;padding:0;margin:0;max-height:60vh;overflow:auto}.kids-count-list li{padding:12px 8px;border-bottom:1px solid var(--border,#dce5ea);overflow-wrap:anywhere}@media(max-width:600px){button.kids-count-link{min-height:44px;min-width:36px}}
