/* Conecta Igrejas v2.0.1 — demo de apresentação, painel e leitura ampliada */
.sidebar{background:var(--tenant-sidebar,#101011);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#454548 transparent}.brand,.sidebar nav,.church-switcher,.sidebar-verse,.user-mini{flex-shrink:0}
.button.primary{background:var(--tenant-button,var(--orange));border-color:var(--tenant-button,var(--orange))}
.church-logo{width:43px;height:43px;flex:0 0 auto;object-fit:contain;border-radius:11px;background:#fff;padding:4px}
.brand>div:nth-child(2){min-width:0}.brand>div:nth-child(2) small{max-width:145px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.church-switcher{margin:13px 4px 0;padding-bottom:8px}.church-switcher label{display:grid;gap:5px;color:#8f9095;font-size:7px;text-transform:uppercase;letter-spacing:.1em}.church-switcher select{width:100%;height:34px;border:1px solid #343438;border-radius:8px;padding:0 8px;background:#1b1b1e;color:#eee;font-size:8px}
.notification-center{position:relative}.notification-center>summary{list-style:none;cursor:pointer}.notification-center>summary::-webkit-details-marker{display:none}.notification-popover{position:absolute;right:0;top:49px;width:min(390px,calc(100vw - 24px));max-height:520px;overflow:auto;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 20px 50px rgba(0,0,0,.18);z-index:60}.notification-popover>header{display:flex;align-items:center;justify-content:space-between;padding:14px 15px;border-bottom:1px solid var(--line)}.notification-popover>header b{font-size:11px}.notification-popover>header small{color:#999;font-size:7px}.notification-item{margin:0;border-bottom:1px solid #f0f0f0}.notification-item button{width:100%;display:grid;gap:4px;padding:12px 15px;text-align:left;border:0;background:#fff}.notification-item.unread button{background:color-mix(in srgb,var(--orange) 7%,#fff)}.notification-item strong{font-size:9px}.notification-item span{display:-webkit-box;overflow:hidden;color:#666;font-size:8px;line-height:1.45;-webkit-line-clamp:2;-webkit-box-orient:vertical}.notification-item small{color:#a0a0a5;font-size:7px}.notification-empty{padding:28px;text-align:center;color:#999;font-size:9px}
.settings-stack{display:grid;gap:14px}.branding-grid{display:grid;grid-template-columns:170px 1fr;gap:24px;align-items:start}.logo-preview{min-height:150px;display:grid;place-items:center;align-content:center;gap:9px;border:1px dashed #d3d3d7;border-radius:12px;background:#fafafa}.logo-preview img{width:100px;height:100px;object-fit:contain}.logo-preview>span{width:90px;height:90px;display:grid;place-items:center;border-radius:22px;background:var(--orange);color:#fff;font-size:24px;font-weight:800}.logo-preview small{color:#999;font-size:8px}.color-field{display:grid;gap:7px}.color-field>span{font-size:10px;font-weight:700;color:#4e5055}.color-field input[type=color]{width:100%;height:42px;padding:4px;border:1px solid #dcdcdf;border-radius:9px;background:#fff}
.responsibility-fieldset>p{margin:0 0 11px;color:#888;font-size:8px;line-height:1.45}.responsibility-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.responsibility-grid label{display:grid;gap:5px}.responsibility-grid label>span{font-size:8px;font-weight:700}.responsibility-grid select{height:35px;border:1px solid var(--line);border-radius:7px;padding:0 7px;background:#fff;font-size:8px}.permission-grid span small{display:block;margin-top:2px;color:#999;font-size:6px}
.ministry-config-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:18px;border-top:1px solid var(--line)}.ministry-config-list>article{padding:15px;border:1px solid var(--line);border-radius:12px;background:#fff}.ministry-config-list header{display:flex;align-items:center;gap:10px}.ministry-config-list header>i{width:10px;height:45px;flex:0 0 auto;border-radius:7px}.ministry-config-list header>div{min-width:0;flex:1}.ministry-config-list h3{margin:0 0 5px;font-size:11px}.ministry-config-list p{margin:0;color:#888;font-size:7px}.function-chips{display:flex;flex-wrap:wrap;gap:6px;margin:13px 0}.function-chips span{padding:5px 7px;border-radius:20px;background:#f3f3f5;color:#555;font-size:7px}.function-chips small{color:#999;font-size:7px}.inline-function-form{display:grid;grid-template-columns:1fr 58px auto;gap:6px}.inline-function-form input{min-width:0;height:33px;border:1px solid var(--line);border-radius:7px;padding:0 8px;font-size:8px}
.cycle-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:13px}.cycle-toolbar form{flex:1}.cycle-toolbar label{display:grid;gap:6px;color:#64666c;font-size:8px;font-weight:700}.cycle-toolbar select{width:min(500px,100%);height:40px;border:1px solid var(--line);border-radius:9px;padding:0 10px;background:#fff;color:#333;font-size:9px}.cycle-status{padding:7px 10px;border-radius:20px;background:#f0f0f1;color:#666;font-size:8px;font-weight:700}.cycle-status.collecting{background:#edf5fd;color:#2d70ad}.cycle-status.draft{background:#fff2d8;color:#9c6403}.cycle-status.published{background:#eaf9f1;color:#207b4e}
.cycle-availability{padding:0;overflow:hidden}.availability-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:17px;border-top:1px solid var(--line)}.availability-cards article{display:grid;grid-template-columns:45px 1fr auto;align-items:center;gap:11px;padding:12px;border:1px solid var(--line);border-radius:11px}.availability-cards time,.schedule-event-block time{width:42px;height:44px;display:grid;place-items:center;align-content:center;border-radius:9px;background:var(--orange-soft);color:var(--orange)}.availability-cards time b,.schedule-event-block time b{font-size:14px}.availability-cards time small,.schedule-event-block time small{font-size:6px}.availability-cards article>div strong,.availability-cards article>div small{display:block}.availability-cards article>div strong{font-size:9px}.availability-cards article>div small{margin-top:4px;color:#999;font-size:7px}.availability-cards fieldset{display:grid;gap:5px;border:0;padding:0;margin:0}.availability-cards fieldset label{padding:5px 7px;border-radius:7px;font-size:7px;white-space:nowrap}.availability-cards fieldset label.yes{background:#eaf9f1;color:#23794e}.availability-cards fieldset label.no{background:#fff0ef;color:#a23c3a}.availability-notes{margin:0 17px 16px}.cycle-availability>footer,.monthly-schedule>footer{display:flex;align-items:center;justify-content:flex-end;gap:16px;padding:15px 17px;border-top:1px solid var(--line)}
.response-overview{margin-top:14px;padding:0;overflow:hidden}.response-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;padding:0 18px 15px;border-top:1px solid var(--line)}.response-grid>div{display:flex;align-items:center;gap:9px;padding:11px 0;border-bottom:1px solid #f1f1f1}.response-grid>div>span{flex:1}.response-grid b,.response-grid small{display:block}.response-grid b{font-size:8px}.response-grid small{margin-top:3px;color:#999;font-size:7px}.response-grid em{font-style:normal;font-size:7px}.response-grid em.complete{color:var(--green)}.response-grid em.pending{color:#a46500}
.schedule-actions{display:flex;justify-content:flex-end;gap:8px;margin-bottom:13px}.schedule-actions form{margin:0}.open-cycle-card{display:grid;grid-template-columns:1fr 180px 160px auto;align-items:end;gap:14px}.open-cycle-card h2{font-size:13px;margin:0 0 5px}.open-cycle-card p{margin:0;color:#888;font-size:8px;line-height:1.5}.open-cycle-card label{display:grid;gap:6px;font-size:8px;font-weight:700}.open-cycle-card select,.open-cycle-card input{height:40px;border:1px solid var(--line);border-radius:9px;padding:0 9px;background:#fff;font-size:9px}.monthly-schedule{padding:0;overflow:hidden}.schedule-event-list{display:grid;gap:12px;padding:17px;border-top:1px solid var(--line)}.schedule-event-block{border:1px solid var(--line);border-radius:12px;overflow:hidden}.schedule-event-block>header{display:flex;align-items:center;gap:11px;padding:12px;background:#fafafa;border-bottom:1px solid var(--line)}.schedule-event-block>header strong,.schedule-event-block>header span{display:block}.schedule-event-block>header strong{font-size:10px}.schedule-event-block>header span{margin-top:4px;color:#888;font-size:7px}.schedule-slot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:13px}.schedule-slot-grid label{display:grid;gap:6px}.schedule-slot-grid label>span{font-size:8px;font-weight:700}.schedule-slot-grid label>span small{color:#888;font-weight:400}.schedule-slot-grid select{width:100%;border:1px solid var(--line);border-radius:8px;padding:5px;background:#fff;font-size:8px}.monthly-schedule>footer small{margin-right:auto;color:#888;font-size:7px}
.history-filters{display:grid;grid-template-columns:repeat(6,minmax(100px,1fr)) auto auto;align-items:end;gap:9px;margin-bottom:13px}.history-filters label{display:grid;gap:6px;color:#666;font-size:7px;font-weight:700}.history-filters input,.history-filters select{height:36px;min-width:0;border:1px solid var(--line);border-radius:8px;padding:0 8px;background:#fff;font-size:8px}.history-panel{padding:0;overflow:hidden}.history-table-wrap{overflow:auto;border-top:1px solid var(--line)}.history-table{width:100%;min-width:900px;border-collapse:collapse}.history-table th,.history-table td{padding:11px 13px;text-align:left;border-bottom:1px solid #f0f0f0;font-size:8px;vertical-align:top}.history-table th{background:#fafafa;color:#95969a;font-size:7px;text-transform:uppercase;letter-spacing:.05em}.history-table td:first-child{white-space:nowrap;color:#777}.history-table td small{display:block;margin-top:4px;color:#aaa;font-size:6px}.module-pill{display:inline-flex;padding:5px 7px;border-radius:16px;background:var(--orange-soft);color:var(--orange);font-size:7px}.history-table .empty-state{min-height:170px}
@media(max-width:1180px){.history-filters{grid-template-columns:repeat(3,1fr) auto auto}.ministry-config-list{grid-template-columns:1fr}.open-cycle-card{grid-template-columns:1fr 1fr}.open-cycle-card>div{grid-column:1/-1}}
@media(max-width:880px){.notification-popover{right:-80px}.branding-grid{grid-template-columns:1fr}.logo-preview{min-height:130px}.availability-cards{grid-template-columns:1fr}.settings-layout>nav{grid-template-columns:repeat(6,minmax(135px,1fr))}}
@media(max-width:660px){.notification-popover{position:fixed;top:58px;right:8px}.cycle-toolbar{align-items:stretch;flex-direction:column}.cycle-status{align-self:flex-start}.availability-cards article{grid-template-columns:40px 1fr}.availability-cards fieldset{grid-column:1/-1;grid-template-columns:1fr 1fr}.response-grid,.schedule-slot-grid{grid-template-columns:1fr}.schedule-actions{flex-direction:column}.schedule-actions .button{width:100%}.open-cycle-card{grid-template-columns:1fr}.open-cycle-card>div{grid-column:auto}.monthly-schedule>footer{align-items:stretch;flex-direction:column}.monthly-schedule>footer .button{width:100%}.history-filters{grid-template-columns:1fr 1fr}.history-filters .button{width:100%}.responsibility-grid{grid-template-columns:1fr}.ministry-config-list{padding:12px}.inline-function-form{grid-template-columns:1fr 58px}.inline-function-form .button{grid-column:1/-1}.branding-grid .form-grid{grid-template-columns:1fr}.settings-layout>nav{grid-template-columns:repeat(6,minmax(145px,1fr))}}

/* Painel inicial alinhado à apresentação original */
.dashboard-analytics-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(330px,1fr);gap:16px;margin-top:16px}.dashboard-bottom-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(330px,1fr);gap:16px;margin-top:16px}.evolution-panel,.source-panel,.dashboard-list-panel{padding:22px}.period-select{min-width:78px;height:36px;display:grid;place-items:center;border:1px solid var(--line);border-radius:9px;background:#fafafa;color:#707278;font-size:11px}.visitor-chart{margin-top:12px}.visitor-chart svg{display:block;width:100%;height:250px;overflow:visible}.chart-gridline{stroke:#e9e9eb;stroke-width:1}.chart-axis-label{fill:#96989d;font-size:10px}.chart-area{fill:url(#visitorArea)}.chart-line{fill:none;stroke:var(--orange);stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round}.chart-point{fill:#fff;stroke:var(--orange);stroke-width:3}.visitor-chart-months{display:grid;grid-template-columns:repeat(6,1fr);padding:0 2px 0 44px;color:#8b8d92;font-size:11px;text-align:center}.source-content{min-height:270px;display:flex;align-items:center;justify-content:center;gap:34px;padding:24px 5px 5px}.source-donut{width:158px;height:158px;flex:0 0 auto;border-radius:50%;display:grid;place-items:center;position:relative}.source-donut:after{content:"";position:absolute;inset:27px;border-radius:50%;background:#fff}.source-donut>div{position:relative;z-index:1;text-align:center}.source-donut strong,.source-donut span{display:block}.source-donut strong{font-size:30px;line-height:1}.source-donut span{margin-top:7px;color:#909298;font-size:10px}.source-legend{min-width:190px;display:grid;gap:16px}.source-legend>div{display:grid;grid-template-columns:9px 1fr auto;align-items:center;gap:9px}.source-legend i{width:9px;height:9px;border-radius:50%}.source-legend span{color:#65676c;font-size:11px}.source-legend b{font-size:11px}.panel-more{width:42px;height:38px;display:grid;place-items:center;border:2px solid color-mix(in srgb,var(--orange) 22%,#eee);border-radius:11px;color:#777;font-size:14px}.dashboard-list-panel .panel-head{padding-bottom:13px}.dashboard-list-panel .person-row,.dashboard-list-panel .event-row{min-height:67px}.dashboard-people-list .person-row>i{color:#333;font-size:20px;font-style:normal}.dashboard-list-panel .event-row time{width:46px;height:48px}.dashboard-list-panel .event-row time.event-color-2{background:#eaf9f1;color:#1f995b}.dashboard-list-panel .event-row time.event-color-3{background:#edf5fd;color:#337fc2}.trend{margin-right:4px;font-size:10px}.trend.up{color:#109447}.trend.down{color:#c44040}

/* Tipografia legível em zoom de 100% */
.app-body{font-size:14px}.nav-item{height:46px;font-size:14px}.nav-item i{font-size:18px}.nav-item em{font-size:10px}.nav-item em.manual-badge{font-size:10px}.brand>div:nth-child(2) strong{font-size:21px}.brand>div:nth-child(2) small{font-size:10px}.church-switcher label{font-size:10px}.church-switcher select{height:38px;font-size:12px}.sidebar-verse p{font-size:11px}.sidebar-verse strong{font-size:10px}.user-mini strong{font-size:13px}.user-mini small{font-size:10px}.global-search input{font-size:13px}.today small{font-size:10px}.today strong{font-size:12px}.welcome-banner h1{font-size:31px}.welcome-banner p{font-size:13px}.stat-card{min-height:142px;padding:20px}.stat-card p{font-size:12px}.stat-card strong{font-size:32px}.stat-card small{font-size:10px;line-height:1.4}.stat-icon{width:44px;height:44px;font-size:18px}.panel-head h2{font-size:16px}.panel-head p{font-size:11px}.panel-head a{font-size:11px}.page-header h1{font-size:33px}.page-header>div>p:last-child{font-size:13px}.eyebrow{font-size:11px!important}.field>span{font-size:12px}.field input,.field select,.field textarea{font-size:13px}.field small{font-size:11px}.filter-strip>div b{font-size:13px}.filter-strip>div small{font-size:11px}.filter-strip input{font-size:12px}.filter-strip button{font-size:11px}.sync-label{font-size:10px}.table-row,.event-table-row,.volunteer-row,.availability-row{font-size:11px}.table-header{font-size:10px!important}.identity b{font-size:12px}.identity small,.table-row span>small{font-size:10px}.avatar,.avatar.tiny{font-size:11px}.empty-state span,.empty-mini{font-size:11px}.badge{font-size:10px}.mini-stats small{font-size:11px}.mini-stats strong{font-size:22px}.followup-copy strong{font-size:13px}.followup-copy small,.followup-row time,.followup-copy p,.followup-outcome{font-size:11px}.person-row strong,.event-row strong{font-size:12px}.person-row small,.person-row time,.event-row>div small,.event-row em{font-size:10px}.event-row time b{font-size:16px}.event-row time small{font-size:10px}.stats-ribbon small{font-size:11px}.stats-ribbon span{font-size:10px}.team-card h2{font-size:15px}.team-card p,.team-card>div small{font-size:11px}.team-card>div strong{font-size:22px}.schedule-selector label,.schedule-selector select{font-size:12px}.schedule-row strong{font-size:13px}.schedule-row small{font-size:10px}.event-card time small{font-size:10px}.event-card p{font-size:10px}.event-card h2{font-size:14px}.event-card>div>span,.event-card>div>small,.event-card>em{font-size:11px}.template-row strong{font-size:12px}.template-row small,.template-row p{font-size:10px}.phone-preview>header b{font-size:11px}.phone-chat>small,.phone-chat time{font-size:10px}.phone-chat p{font-size:11px}.phone-preview>footer{font-size:10px}.funnel span{font-size:11px}.summary-list span{font-size:12px}.settings-layout>nav a{min-height:47px;font-size:12px}.settings-card h2{font-size:15px}.settings-card>section>p{font-size:11px}.toggle-row span b{font-size:12px}.toggle-row span small{font-size:10px}.recurrence-list b{font-size:12px}.recurrence-list small{font-size:10px}.settings-list-row strong{font-size:13px}.settings-list-row small{font-size:10px}.settings-list-row p{font-size:11px}.status-label{font-size:10px}.permission-fieldset legend{font-size:12px}.permission-grid label{font-size:11px}.permission-grid span small{font-size:10px}.check-line{font-size:12px}.config-card h3{font-size:14px}.config-card p{font-size:11px}.api-notice b{font-size:13px}.api-notice span,.copy-status{font-size:11px}.event-suggestion strong{font-size:12px}.event-suggestion>div small,.event-suggestion>span,.event-suggestion time small{font-size:10px}.notification-popover>header b{font-size:13px}.notification-popover>header small{font-size:10px}.notification-item strong{font-size:12px}.notification-item span{font-size:11px}.notification-item small{font-size:10px}.notification-empty{font-size:11px}.logo-preview small{font-size:11px}.responsibility-fieldset>p,.responsibility-grid label>span{font-size:11px}.responsibility-grid select,.inline-function-form input{font-size:12px}.ministry-config-list h3{font-size:14px}.ministry-config-list p,.function-chips span,.function-chips small{font-size:10px}.cycle-toolbar label,.cycle-status{font-size:11px}.cycle-toolbar select{font-size:12px}.availability-cards time small,.schedule-event-block time small{font-size:10px}.availability-cards article>div strong{font-size:12px}.availability-cards article>div small,.availability-cards fieldset label{font-size:10px}.response-grid b{font-size:11px}.response-grid small,.response-grid em{font-size:10px}.open-cycle-card h2{font-size:16px}.open-cycle-card p,.open-cycle-card label{font-size:11px}.open-cycle-card select,.open-cycle-card input{font-size:12px}.schedule-event-block>header strong{font-size:13px}.schedule-event-block>header span,.schedule-slot-grid label>span,.schedule-slot-grid select{font-size:11px}.monthly-schedule>footer small{font-size:10px}.history-filters label{font-size:10px}.history-filters input,.history-filters select{font-size:11px}.history-table th{font-size:10px}.history-table td{font-size:11px}.history-table td small{font-size:10px}.module-pill{font-size:10px}.modal-head h2{font-size:18px}.modal-head .eyebrow{font-size:10px!important}.modal-note{font-size:11px}

@media(max-width:1180px){.dashboard-analytics-grid,.dashboard-bottom-grid{grid-template-columns:1fr}.source-content{min-height:230px}}
.login-brand small,.login-help{font-size:11px}.install-brand>small,.install-card .form-footnote,.requirement,.security-note{font-size:11px}
@media(max-width:880px){.sidebar{height:100vh;height:100dvh;max-height:100dvh;touch-action:pan-y}.app-body.mobile-menu-open{overflow:hidden}}
@media(max-width:660px){.dashboard-analytics-grid,.dashboard-bottom-grid{grid-template-columns:1fr}.evolution-panel,.source-panel,.dashboard-list-panel{padding:16px}.visitor-chart svg{height:205px}.visitor-chart-months{padding-left:32px;font-size:9px}.source-content{min-height:0;flex-direction:column;gap:23px}.source-legend{width:100%}.dashboard-list-panel .person-row{align-items:flex-start;flex-wrap:wrap;padding:12px 0}.dashboard-list-panel .person-row time{margin-left:46px}.dashboard-people-list .person-row>i{margin-left:auto}.stat-card{min-height:125px}.stat-card strong{font-size:29px}.nav-item{font-size:15px}}
