body{padding-bottom:0}main{min-height:55vh;padding-top:10px}.tabs{display:flex;gap:22px;border-bottom:1px solid var(--line);padding:0 0 18px;margin-bottom:24px}.tabs a[aria-current=page]{font-weight:700;color:var(--green);text-decoration:underline;text-underline-offset:8px}#notice:not(:empty){background:#f9e5ca;padding:14px;border-radius:10px;margin-bottom:18px}.pilot-heading{font:700 32px Manrope,sans-serif;letter-spacing:-1px}.pilot-lead{max-width:650px;line-height:1.7;color:var(--muted)}.pilot-filters{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}.pilot-filters label{display:grid;gap:7px;flex:1;min-width:150px}.pilot-filters input,.pilot-filters select{padding:12px;border:1px solid #cdbbce;border-radius:10px;background:white;font:inherit;width:100%}.event p{line-height:1.6}.event h2{font-size:21px}.event a{text-decoration:underline}.event .primary{margin-bottom:5px}.source{font-size:13px;color:var(--muted);overflow-wrap:anywhere}.status-line{font-weight:700}.profile-actions{display:flex;gap:12px;flex-wrap:wrap}.danger{color:#9e2929;border-color:#9e2929}button:disabled{opacity:.5;cursor:not-allowed}.privacy{max-width:720px;line-height:1.8}.empty{text-align:left}.school-grid .event{padding:24px}.muted{color:var(--muted)}footer a{font-size:14px}dialog p{font-size:15px!important}.event-body{font-size:16px}.secondary,.primary,.account,.tabs{font-size:14px}.demo{font-size:12px}.school-tag{color:var(--green);font-size:14px;font-weight:700}@media(max-width:600px){.pilot-heading{font-size:27px}.tabs{gap:20px}.cards{grid-template-columns:1fr}header{padding:23px 18px}.pilot-filters{display:grid;grid-template-columns:1fr}footer{align-items:start}.event-body{padding:22px}}
#login label,dialog form label{display:grid;gap:8px;margin:12px 0}dialog input,dialog select{font:inherit;padding:12px;max-width:100%;width:100%;box-sizing:border-box}dialog{max-height:85vh;overflow:auto}.tabs{flex-wrap:wrap}.group-option textarea{width:100%;font:inherit}details{margin:24px 0;padding:20px;border:1px solid #decfdf;border-radius:12px}
dialog.event-picker{max-width:850px}dialog.event-picker h2{font-size:30px}dialog.event-picker>label{display:grid;gap:8px}.picker-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px;margin:20px 0}.picker-card{padding:20px;border:1px solid #decfdf;border-radius:16px;background:#fffdf8}.picker-card h3{font-size:21px;margin:8px 0}.picker-card button{width:100%}.group-meeting{scroll-margin-top:24px}dialog label[hidden]{display:none}
.agenda-heading{margin:12px 0 16px}.search-toolbar{display:flex;align-items:end;gap:10px}.search-field{display:grid;gap:6px;flex:1;min-width:0}.search-field input{font:inherit;width:100%;min-height:44px;padding:10px 12px;border:1px solid #cdbbce;border-radius:10px;background:#fff}.search-toolbar button{margin:0;min-height:44px;padding:10px 12px;white-space:nowrap}.search-filters{margin:10px 0;padding:0;border:0;border-bottom:1px solid var(--line);border-radius:0}.search-filters summary{padding:12px 0;cursor:pointer;min-height:44px}.search-filters .pilot-filters{margin:0 0 12px;display:grid;grid-template-columns:1fr 1fr}.search-filters .pilot-filters label{min-width:0}.weekend-filter{display:flex;gap:8px;align-items:center;min-height:44px;margin-bottom:8px}#count{margin:12px 0}.agenda-card .event-body{padding:16px}.agenda-card p{margin:8px 0;line-height:1.45}.agenda-card h2{margin:8px 0;line-height:1.3}.agenda-card .school-tag{margin-top:0}.agenda-card .event-details{margin:8px 0;padding:0;border:0;border-radius:0}.event-details summary{cursor:pointer;min-height:44px;display:flex;align-items:center;text-decoration:underline;color:var(--muted);font-size:14px}.event-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.agenda-card .event-actions button{margin:0;min-height:44px;padding:10px 14px}.agenda-card .event-actions .secondary{flex:1}.agenda-card .event-actions .primary{white-space:nowrap}.cards{align-items:start;gap:14px}@media(max-width:600px){header{padding-top:16px;padding-bottom:16px}.tabs{margin-bottom:16px;padding-bottom:12px}.search-toolbar{gap:8px}.search-toolbar button{font-size:14px}.agenda-card .event-body{padding:14px}.agenda-card .event-actions button{padding:10px}.search-filters .pilot-filters{gap:10px}}
.header-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;min-width:0}#greeting{flex-basis:100%;margin:0;text-align:right;font-size:16px;font-weight:700;overflow-wrap:anywhere}#greeting[hidden]{display:none}header{flex-wrap:wrap}.header-actions .account{min-height:44px}.tabs{min-width:0}.event-body,.group-option{overflow-wrap:anywhere}@media(max-width:600px){header{align-items:flex-start;gap:14px}.header-actions{flex:1 1 100%;justify-content:flex-start}.header-actions #greeting{text-align:left}.header-actions .account{font-size:14px;padding:10px 14px}.tabs{gap:12px 18px}.profile-actions button{max-width:100%}footer{flex-wrap:wrap}}
.tabs{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;gap:20px;scrollbar-width:thin}.tabs a{flex:0 0 auto;white-space:nowrap;min-height:44px;display:flex;align-items:center}.samba-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#44235c;color:#fff8ee;border-radius:18px;padding:20px;margin:0 0 18px;overflow:hidden}.samba-banner p{font:700 24px/1.25 Manrope,sans-serif;margin:0 0 8px;max-width:300px}.samba-banner span{font-size:14px;color:#ffcf66}.samba-drum{flex:0 0 92px;width:92px;height:84px;background:#ffcf66;border:5px solid #fff8ee;border-radius:50%;box-shadow:0 8px 0 #ee775d;transform:rotate(-12deg);font:italic 22px/1 Georgia,serif;color:#44235c;display:flex;align-items:center;justify-content:center;text-align:center;position:relative}.samba-drum:after{content:'';position:absolute;width:5px;height:98px;right:6px;top:-14px;background:#44235c;border-radius:4px;transform:rotate(-13deg);box-shadow:8px 0 #ee775d}.samba-banner{animation:samba-enter .35s ease-out}.agenda-card{border-top:3px solid #e3bfd8}@keyframes samba-enter{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.samba-banner{animation:none}}@media(max-width:600px){.tabs{flex-wrap:nowrap;gap:18px;padding-bottom:6px;margin-bottom:16px}.header-actions{gap:8px}header{padding-bottom:10px}.samba-banner{padding:16px;gap:12px}.samba-banner p{font-size:22px}.samba-drum{flex-basis:76px;width:76px;height:72px;font-size:19px}.samba-drum:after{height:82px}}
/* Meu Tamborim: aplicação da identidade definida em docs/17-identidade-meu-tamborim.md. */
.preset-filters,.school-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 16px}.preset-filters button,.school-actions button{margin:0;min-height:44px;padding:10px 14px;max-width:100%;white-space:normal}.preset-filters button[aria-pressed=true]{background:#44235c;color:#fff8ee;border-color:#44235c}.maintenance small{display:block;font-size:12px;font-weight:400;margin-top:3px}.maintenance:disabled{opacity:1;background:#f3ece4;color:#756c73;border-color:#d9cdd5;cursor:not-allowed}.school-actions{margin-bottom:0;align-items:center}@media(max-width:600px){.preset-filters button{flex:1 1 145px}.school-actions button{flex:1 1 140px}.preset-filters{margin-top:8px}}
.samba-banner{background:linear-gradient(115deg,#44235c 72%,#df644e 72%);border:1px solid #44235c;padding:20px 24px;min-height:132px;position:relative}
.samba-banner p{font-weight:700;letter-spacing:-.6px}.samba-banner span{font-family:Georgia,serif;font-style:italic;font-size:18px}
.samba-drum{box-shadow:0 0 0 3px #44235c,0 10px 0 3px #df644e;border-color:#fff3d5;background:#ffcf66}.samba-drum:after{box-shadow:8px 0 #743e78}
.agenda-card{border-top:4px solid var(--school-color,#44235c);border-radius:16px}.agenda-card .school-tag{color:var(--school-color,#44235c);display:flex;align-items:center;gap:8px}.agenda-card .school-tag:before{content:'';width:10px;height:10px;border-radius:50%;background:var(--school-color,#44235c);flex-shrink:0}.agenda-card .school-tag{color:#44235c}
.agenda-card h2{font-family:Manrope,sans-serif;letter-spacing:-.5px}.agenda-card .primary{background:#44235c}.agenda-card .secondary{background:#fff3d5;border-color:#e8c988;color:#44235c}
.pilot-mobile-nav{display:none}.pilot-mobile-nav a[aria-current=page]{color:#44235c;font-weight:700;background:#f0e3ee;border-radius:12px}.pilot-mobile-nav a{min-height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center}.pilot-mobile-nav b{font-size:21px;font-weight:400;line-height:1}.pilot-mobile-nav span{font-size:11px;margin-top:5px}
@media(max-width:600px){body{padding-bottom:calc(76px + env(safe-area-inset-bottom))}.tabs{display:none}.pilot-mobile-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:8px 12px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -4px 18px #44235c0a}.pilot-mobile-nav a{min-width:0}.samba-banner{padding:16px 18px;min-height:116px;margin-bottom:16px}.samba-banner p{font-size:22px;max-width:235px}.samba-banner span{font-size:16px}.samba-drum{flex-basis:72px;width:72px;height:68px}.agenda-card .event-body{padding:14px}.header-actions .account{padding:9px 12px}footer{padding-bottom:24px}}
.date-presets{align-items:center}.date-picker{display:flex;align-items:center;gap:8px;font-size:14px;min-width:0}.date-picker input{min-height:44px;max-width:100%;width:155px;margin:0;padding:8px;border:1px solid #d9cdd5;border-radius:14px;background:#fff8ee;color:#44235c;font:inherit}@media(max-width:600px){.date-presets button{flex:1 1 130px}.date-picker{width:100%;justify-content:space-between}.date-picker input{flex:0 1 180px}}
.notification-consent{box-sizing:border-box;max-width:480px;width:calc(100% - 32px);max-height:85dvh;overflow:auto;padding:24px;border:1px solid #d9cdd5;border-radius:24px;background:#fff8ee;color:#44235c}.notification-consent h2{font:700 28px/1.25 Manrope,sans-serif}.notification-consent p{line-height:1.6}.notification-consent::backdrop{background:#44235c99}.consent-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.consent-actions button{flex:1;min-height:44px}.consent-review-frame{width:100%;height:76dvh;border:1px solid #d9cdd5;border-radius:18px;background:#fff8ee}

/* História: mesma identidade e leitura confortável entre web e Android. */
.school-history{max-width:760px;margin:0 auto;overflow-wrap:anywhere}.history-back{display:inline-flex;align-items:center;min-height:44px;margin-bottom:16px}.school-history .pilot-heading{line-height:1.2}.history-section{padding:20px 0;border-bottom:1px solid var(--line)}.history-section h2{font:700 23px/1.35 Manrope,sans-serif;color:#44235c;margin:0 0 16px}.history-section p{font-size:17px;line-height:1.75;margin:18px 0 4px}.history-source{display:inline-flex;align-items:center;min-height:44px;font-size:14px;max-width:100%}.history-note{line-height:1.65;margin-top:24px}.school-actions a.secondary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;box-sizing:border-box;padding:10px 14px;border:1px solid #d9cdd5;border-radius:14px;background:#fff3d5;color:#44235c;font:inherit;text-decoration:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:600px){.school-history .pilot-heading{font-size:28px;letter-spacing:-.5px}.history-section{padding:18px 0}.school-actions a.secondary{flex:1 1 140px}.history-section p{font-size:16px}}
.legal-page{max-width:760px;overflow-wrap:anywhere}.legal-page p{line-height:1.7}.legal-page h2{font:700 22px/1.35 Manrope,sans-serif;margin-top:28px}.consent-check{display:flex;align-items:flex-start;gap:12px;margin:16px 0;min-height:44px;line-height:1.5}.consent-check input{flex:0 0 22px;width:22px;height:22px;margin:2px 0;accent-color:#44235c}.legal-reading .pilot-heading{font-size:23px}.legal-reading{max-height:40dvh;overflow:auto;padding:12px;background:#fff3d5;border-radius:12px}.legal-dialog .consent-actions{position:sticky;bottom:0;background:#fff8ee;padding:8px 0}.legal-page a.secondary{display:inline-flex;min-height:44px;align-items:center;padding:10px 14px;box-sizing:border-box;max-width:100%}@media(max-width:600px){.legal-dialog{padding:20px}.legal-dialog h2{font-size:25px}.legal-page .pilot-heading{font-size:28px}.legal-dialog .consent-actions button{flex:1 1 140px}}

.editorial-evidence{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;font-size:.85rem}.editorial-result{overflow-wrap:anywhere}
#editorial-data .event{padding:18px}#editorial-data form label{display:grid;gap:8px;margin:16px 0}#editorial-data textarea{width:100%;min-height:90px;padding:12px;border:1px solid var(--line);border-radius:12px;background:white;color:inherit;font:inherit;box-sizing:border-box}
.friend-location-dialog{width:min(720px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box;padding:24px;color:#44235c;background:#fff8ee}
.friend-location-dialog .friend-map{height:320px;width:100%;margin:16px 0;border:2px solid #44235c;border-radius:12px;z-index:0}
.location-actions{display:flex;flex-wrap:wrap;gap:10px}
.location-actions button,.location-people button{min-height:44px}
.location-people{padding-left:0;list-style:none}
.location-people li{margin:12px 0;overflow-wrap:anywhere}
.friend-location-dialog .leaflet-control-zoom a{min-width:44px;min-height:44px;line-height:44px}
.friend-location-dialog .leaflet-container{font-family:'DM Sans',sans-serif}
.friend-location-dialog .leaflet-control-attribution{font-size:11px}
.friend-location-dialog h2{font-size:28px;margin:0 32px 12px 0}
.friend-location-dialog p{margin:10px 0;line-height:1.5}
.friend-location-dialog details{margin:12px 0}
.friend-location-dialog .location-actions button{margin:0}
@media(max-width:480px){.friend-location-dialog{padding:18px}.friend-location-dialog .friend-map{height:280px}.location-actions button{width:auto;flex:1 1 130px;padding:8px}.location-actions [data-share]{flex-basis:100%}}
