/* Agenda do gabinete: calendário legível, navegação direta e azul institucional. */
:root{--bg:#f4f7fb;--ink:#182b45;--muted:#61728a;--blue:#2563d8;--line:#dfe7f1;--surface:#fff;--soft:#edf3fc;--navy:#10213a}
body{font-size:16px;line-height:1.5}button,input,select{touch-action:manipulation}input,select{color:var(--ink)}
.skip-link{position:fixed;top:10px;left:16px;z-index:200;padding:12px 18px;background:var(--blue);color:white;border-radius:8px;transform:translateY(-150%)}.skip-link:focus{transform:translateY(0)}
.sidebar{width:232px;padding:28px 18px;background:#10213a;border-right:1px solid #ffffff09}.app{margin-left:232px}.brand{gap:15px}.brand>span{font-size:13px;letter-spacing:0}.brand small{font-size:11px;letter-spacing:.4px;color:#a5b8d3}.monogram{font-size:30px;letter-spacing:-2px}.workspace-tag{font-size:11px;letter-spacing:.3px;color:#a6bad8;padding:28px 12px 20px}.sidebar nav{gap:7px}.sidebar nav button{min-height:50px;font-size:14px;border-radius:11px;color:#b8c8dd;padding:12px 15px}.sidebar nav button.active{background:#2a5dba;box-shadow:none}.sidebar nav button>span{width:23px}.sidebar nav button small{font-size:10px}.sidebar-foot strong,.sidebar-foot p,.access-info{font-size:12px}.sidebar-foot p{color:#a2b5d0}.sidebar-foot{padding:22px 10px}.avatars span{font-size:11px;width:36px;height:36px}.access-info{min-height:44px}.sidebar nav button.active .ui-icon{fill:currentColor;fill-opacity:.24;stroke-width:2.2}
header{height:76px;padding:0 32px;background:var(--surface)}.breadcrumb{font-size:12px;letter-spacing:.3px;color:var(--muted)}.breadcrumb b{color:var(--ink)}.header-right{gap:14px}.theme-switch button{min-height:36px;font-size:13px}.private-pill,.today-top{font-size:12px;color:var(--muted)}.profile{width:40px;height:40px;font-size:14px}
.preview-note{font-size:12px;line-height:1.6;padding:10px 32px;color:#496385;background:#eaf1fc}.preview-note>span{font-size:11px;letter-spacing:.3px}.page-heading{margin:0 0 24px;align-items:center}.page-heading>.eyebrow,.page-heading>div>.eyebrow{display:none}h1{font-size:32px;letter-spacing:-1px;line-height:1.2;margin:0 0 10px;text-wrap:balance}h1>span{display:none}.page-heading p{font-size:15px;line-height:1.6;color:var(--muted)}main{max-width:1800px;padding:28px 32px 0}.primary,.secondary{font-size:14px;min-height:44px;border-radius:9px;padding:11px 16px;box-shadow:none}.new-activity{min-width:160px}@media(hover:hover) and (pointer:fine){.primary:hover{background:#1e53b9}}.primary:disabled{cursor:wait}.panel{border-color:var(--line);border-radius:15px}
.stats{border:1px solid var(--line);background:var(--surface);border-radius:12px;gap:0;margin-bottom:24px;overflow:hidden}.stats article{border:0;border-right:1px solid var(--line);border-radius:0;background:transparent;padding:15px 22px;align-items:center;gap:14px}.stats article:last-child{border-right:0}.stats small{font-size:12px;letter-spacing:0;text-transform:none;color:var(--muted);font-weight:500}.stats strong{font-size:25px;font-weight:750;letter-spacing:-.5px;margin:0}.stats p{font-size:12px;color:var(--muted);margin:1px 0 0}.stats em{font-size:14px;color:var(--muted)}.stat-icon{width:40px;height:40px;border-radius:10px;flex-shrink:0}
.calendar-layout{grid-template-columns:minmax(0,1fr) 300px;gap:22px}.calendar-toolbar{padding:22px 22px 16px;gap:15px}.month-control{gap:18px}.month-control h2{font-size:22px;letter-spacing:-.6px}.month-control button{width:36px;height:38px;border-radius:7px;color:var(--ink);background:var(--surface)}.month-control .today-btn{min-width:60px;font-size:13px;height:38px}.view-switch{padding:4px;background:var(--soft);border-radius:9px}.view-switch button{font-size:13px;padding:9px 12px;border-radius:6px;color:var(--muted);min-height:38px}.view-switch button.active{background:var(--surface);color:var(--blue);box-shadow:0 1px 4px #17365b15;font-weight:650}.calendar-legend{gap:18px;flex-wrap:wrap;font-size:12px;color:var(--muted);padding:0 22px 18px}.dot{width:7px;height:7px}.weekday{font-size:11px;font-weight:650;padding:12px;color:var(--muted);background:var(--soft);letter-spacing:.3px}.day-cell{min-height:118px;padding:8px;background:var(--surface)}@media(hover:hover) and (pointer:fine){.day-cell:hover{background:var(--soft)}}.day-cell.is-selected{background:#edf4ff;box-shadow:inset 0 0 0 1.5px #85a8e9}.day-cell.outside{background:#f8fafc}.day-number{font-size:13px;font-weight:600;width:28px;height:28px;line-height:28px;color:var(--ink)}.event-chip{font-size:11px;line-height:1.6;padding:5px 6px;min-height:28px;border-radius:5px}.event-chip time{font-size:10px;display:block}.more-events{font-size:11px;color:var(--blue)}.calendar-bottom{font-size:11px;padding:14px 20px;color:var(--muted)}.calendar-bottom b{display:none}
.day-panel{padding:24px;position:sticky;top:20px}.day-panel-heading .eyebrow{font-size:12px;letter-spacing:.3px;color:var(--blue)}.day-panel-heading h2{font-size:25px;margin:8px 0}.day-panel-heading>p{font-size:13px;color:var(--muted);margin-bottom:25px}.agenda-item{padding:0 0 25px 18px}.agenda-item>.time{font-size:13px;color:var(--blue)}.agenda-item button{font-size:15px;line-height:1.5}.agenda-item .location{font-size:13px;line-height:1.6;color:var(--muted)}.status{font-size:11px;font-weight:600;padding:4px 8px;margin-top:8px}.maps-inline{font-size:13px;line-height:1.5;margin-top:10px;min-height:30px;display:inline-flex;align-items:center;color:var(--blue)}.add-day{font-size:14px;min-height:46px;background:var(--soft);color:var(--blue);border-color:#a9bfe3}.route-note p,.route-note strong{font-size:12px;color:var(--muted)}.route-note strong{font-weight:650;color:var(--ink)}.empty{font-size:14px;color:var(--muted);padding:30px 16px}.empty strong{font-size:16px;color:var(--ink)}
.time-scroll{overflow:auto;max-height:560px;border-top:1px solid var(--line)}.time-grid{display:grid;grid-template-columns:52px repeat(var(--days),minmax(0,1fr));min-width:0}.time-grid.week-time{min-width:640px}.time-hours,.time-column{position:relative;height:var(--height)}.time-hours{background:var(--surface)}.time-hours span{position:absolute;right:10px;transform:translateY(-50%);font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.time-column{border-left:1px solid var(--line);background:repeating-linear-gradient(to bottom,transparent 0,transparent 47px,var(--line) 47px,var(--line) 48px)}.time-event{position:absolute;left:5px;right:5px;top:var(--top);height:var(--length);min-height:28px;display:flex;flex-direction:column;justify-content:flex-start;padding:8px;border-radius:7px;background:#e9f1ff;border-left:3px solid #467bdb;color:#214d94;text-align:left;overflow:hidden;gap:2px;font-size:12px;line-height:1.4}.time-event strong{font-size:13px;font-weight:650;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.time-event small{font-size:11px;opacity:.85}.time-event.green{background:#e5f5ee;border-color:#248c6d;color:#1b6450}.time-event.purple{background:#f0eafa;border-color:#8d65bd;color:#68468f}@media(hover:hover) and (pointer:fine){.time-event:hover{filter:brightness(.96)}}.time-head{display:grid;grid-template-columns:52px repeat(var(--days),minmax(0,1fr));padding:12px 0;border-top:1px solid var(--line);background:var(--soft);min-width:0}.time-head span{text-align:center;font-size:12px;color:var(--muted);font-weight:600}.time-head .today-column{color:var(--blue)}.time-head b{display:block;font-size:20px;color:var(--ink)}.time-head .today-column b{color:var(--blue)}.now-line{position:absolute;top:var(--top);left:0;right:0;border-top:2px solid #df6970;pointer-events:none;z-index:2}.now-line:before{content:'';position:absolute;left:-4px;top:-5px;border-radius:50%;width:8px;height:8px;background:#df6970}
.section-heading{padding:26px}.section-heading h2,.map-head h2,.territory-side h2{font-size:24px}.section-heading p,.territory-side>p{font-size:14px;color:var(--muted)}.directory-filters{gap:12px;padding:0 26px 20px}.directory-filters input,.directory-filters select,.map-tools input,.map-tools select{font-size:15px;padding:12px 14px;min-height:46px;background:var(--surface);color:var(--ink);border-color:var(--line);border-radius:9px}.directory-result-info{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 26px 20px;font-size:13px;color:var(--muted)}.directory-result-info button{color:var(--blue);font-size:13px;min-height:36px;padding:4px 8px}.place-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-height:none;overflow:visible}.place-card{padding:22px;display:flex;flex-direction:column;align-items:flex-start;min-width:0;content-visibility:auto;contain-intrinsic-size:300px}.place-card h3{font-size:17px;line-height:1.4;margin:12px 0;overflow-wrap:anywhere}.place-card small{font-size:12px;color:var(--muted)}.place-card p{font-size:14px;line-height:1.6;color:var(--muted)}.place-card .secondary{font-size:13px;width:100%;margin-top:18px}.place-card>br{display:none}.place-card .maps-inline{margin-top:auto;padding-top:12px}.directory-note{font-size:13px}.directory-note p,.directory-note b{font-size:13px;color:var(--muted)}.schedule-row{gap:16px;padding:20px 0;align-items:flex-start}.schedule-date{font-size:12px}.schedule-date b{font-size:25px}.schedule-info button{font-size:16px;line-height:1.5}.schedule-info p{font-size:13px;color:var(--muted)}.schedule-row>.time{font-size:13px;padding-top:4px}.schedule-row>.status{margin-top:2px;white-space:nowrap}.schedule-row,.place-card{content-visibility:auto;contain-intrinsic-size:120px}
.territory-layout{grid-template-columns:minmax(0,1fr) 320px}.map-tools{flex-wrap:wrap}.map-head .eyebrow,.territory-side>.eyebrow{font-size:11px;color:var(--muted);letter-spacing:.4px}.map-zoom button{width:44px;height:44px}.map-key{font-size:12px;color:var(--muted)}.map-help{font-size:13px;color:var(--muted)}.map-source{font-size:11px}.territory-count,.place-selector-list>button{font-size:13px;color:var(--muted)}.place-selector-list small{font-size:11px}.place-selector-list>button{min-height:44px;align-items:center}.map-churches h3{font-size:16px}.map-churches strong{font-size:14px}.map-churches p{font-size:13px;color:var(--muted)}.map-churches .secondary{font-size:13px}.territory-side .schedule-row{flex-wrap:wrap}.territory-side .schedule-info{flex-basis:60%}.territory-side .schedule-date{min-width:34px}.territory-side{padding:24px}
dialog{background:var(--surface)}.dialog-heading{margin-bottom:24px}.dialog-heading .eyebrow{display:none}.dialog-heading h2{font-size:28px;margin:0}.dialog-heading>button{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:var(--soft);flex-shrink:0}.form-notice{font-size:12px;color:var(--muted);background:var(--soft)}.form-error{font-size:14px}.form-error:empty{margin:0}.form-error:focus{outline:none}.form-section{grid-column:1/-1;border-top:1px solid var(--line);padding-top:18px;font-size:13px;font-weight:650;color:var(--muted);margin-top:2px}.place-picker-search{margin-bottom:0}.picker-caption{font-size:12px;color:var(--muted);font-weight:400}.danger{font-size:13px;min-height:44px}.access-detail,.access-detail p,#accessDialog>p{font-size:14px;line-height:1.7;color:var(--muted)}.access-detail b{color:var(--ink)}#toast{font-size:14px;line-height:1.5;padding:14px 20px}.view-heading-help{font-size:12px;color:var(--muted)}footer,footer small,footer>span:first-child{font-size:11px;letter-spacing:0}.new-activity:focus-visible,.sidebar button:focus-visible{outline-offset:4px}select:disabled{opacity:.6}.ui-icon{stroke-width:1.8}.place-card button,.map-churches button{min-height:44px}#territoryMap path:focus-visible{outline:none;stroke:#10345e;stroke-width:3}
html[data-theme=dark]{color-scheme:dark;--bg:#070c14;--surface:#0f1826;--white:#0f1826;--ink:#e1eafa;--muted:#9dadc5;--line:#243146;--soft:#172337;--blue:#7ba8ff;--navy:#090f19}html[data-theme=dark] body{background:radial-gradient(ellipse at 90% 0,#101f3666,transparent 48%),#070c14;color:var(--ink)}html[data-theme=dark] .sidebar{background:linear-gradient(180deg,#101c30,#080e18);border-color:#223049}html[data-theme=dark] .sidebar nav button.active{background:#254d91;color:#e6efff}html[data-theme=dark] header{background:#0b1320}html[data-theme=dark] .panel,html[data-theme=dark] .stats{background:var(--surface);border-color:var(--line)}html[data-theme=dark] .stats article{background:transparent;border-color:var(--line)}html[data-theme=dark] .stats :is(small,p),html[data-theme=dark] .page-heading p{color:var(--muted)}html[data-theme=dark] .primary{background:#3069d5;color:#fff}@media(hover:hover) and (pointer:fine){html[data-theme=dark] .primary:hover{background:#3f7ae6}}html[data-theme=dark] .day-cell{background:var(--surface)}html[data-theme=dark] .day-cell.outside{background:#0a121e}html[data-theme=dark] .day-cell.is-selected{background:#172b49;box-shadow:inset 0 0 0 1.5px #476a9f}html[data-theme=dark] .weekday,html[data-theme=dark] .time-head{background:#101d2e;color:var(--muted)}html[data-theme=dark] .time-hours{background:var(--surface)}html[data-theme=dark] .time-event{background:#1b345b;color:#d0e1ff}html[data-theme=dark] .time-event.green{background:#153a31;color:#b4e4d4}html[data-theme=dark] .time-event.purple{background:#302542;color:#dcc7f5}html[data-theme=dark] .month-control button{background:var(--surface);color:var(--ink);border-color:var(--line)}html[data-theme=dark] .view-switch{background:#090f19}html[data-theme=dark] .view-switch button.active{background:#203550;color:#d7e7ff}html[data-theme=dark] .directory-filters :is(input,select),html[data-theme=dark] .map-tools :is(input,select){background:var(--surface);color:var(--ink);border-color:var(--line)}html[data-theme=dark] .preview-note{background:#111f34;border-color:#223650;color:#a7bbd9}html[data-theme=dark] .form-notice{background:#142235;color:var(--muted)}html[data-theme=dark] dialog{background:var(--surface)}html[data-theme=dark] .territory-stage{background-color:#0b1423}html[data-theme=dark] .add-day{background:#15243a;color:#a6c6ff;border-color:#3e5b85}html[data-theme=dark] .theme-switch{background:#0b1320}html[data-theme=dark] .theme-switch button[aria-pressed=true]{background:#203550}html[data-theme=dark] .form-grid :is(input,select){background:#101d30;border-color:#354861;color:var(--ink)}
@media(min-width:1500px){.day-cell{min-height:135px}.calendar-layout{grid-template-columns:minmax(0,1fr) 320px}}
@media(max-width:1250px){.sidebar{width:200px}.app{margin-left:200px}.brand>span{font-size:11px}.calendar-layout{grid-template-columns:minmax(0,1fr) 270px;gap:16px}.calendar-toolbar{padding:20px 16px 14px}.month-control{gap:12px}.month-control h2{font-size:20px}.event-chip{font-size:10px}.place-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.territory-layout{grid-template-columns:minmax(0,1fr) 280px}.stats article{padding:15px}.stats p{font-size:11px}main{padding:26px 24px 0}}
@media(max-width:1050px){.sidebar{width:80px;padding:24px 12px;align-items:center}.brand>span,.workspace-tag,.sidebar-foot{display:none}.sidebar nav{margin-top:30px}.sidebar nav button{font-size:0;justify-content:center;padding:13px}.sidebar nav button small{display:none}.sidebar nav button>span{width:24px}.sidebar nav .ui-icon{width:24px;height:24px}.app{margin-left:80px}.calendar-layout{grid-template-columns:minmax(0,1fr) 250px;gap:14px}.day-panel{display:block;padding:20px}.day-panel-heading h2{font-size:21px}.territory-layout{grid-template-columns:1fr}.month-control h2{font-size:19px}.calendar-toolbar{flex-direction:column;align-items:stretch}.month-control{justify-content:space-between}.view-switch{align-self:flex-start}.private-pill{display:none}.time-event{padding:5px;font-size:11px}.day-cell{min-height:104px;padding:5px}.calendar-legend{font-size:11px;gap:12px}}
@media(max-width:800px){.calendar-layout{grid-template-columns:1fr}.day-panel{position:static;display:block}.day-panel .route-note{display:none}.day-panel-heading>p{margin-bottom:18px}.stats article{gap:9px}.stat-icon{display:none}.calendar-toolbar{flex-direction:row}.view-switch{align-self:auto}.day-cell{min-height:112px}.day-panel-heading{margin-bottom:18px}.day-panel-heading h2{font-size:25px}.agenda-item{padding-bottom:22px}.place-selector-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.sidebar{inset:auto 0 0;height:auto;min-height:82px;width:100%;padding:7px 12px calc(7px + env(safe-area-inset-bottom));background:#fff;border:0;border-top:1px solid var(--line);box-shadow:0 -6px 26px #1534550b;z-index:40;backdrop-filter:blur(20px)}.sidebar .brand{display:none}.sidebar nav{display:flex;margin:0;gap:4px;width:100%;justify-content:space-around}.sidebar nav button{font-size:11px;font-weight:600;line-height:1.2;display:flex;flex-direction:column;justify-content:center;gap:6px;min-height:66px;min-width:66px;flex:1;padding:8px 3px;border-radius:12px;color:#6b7c93;position:relative}.sidebar nav button>span{width:28px;height:26px;display:grid;place-items:center}.sidebar nav .ui-icon{width:24px;height:24px}.sidebar nav button.active{background:#edf3ff;color:#205bcc;box-shadow:none}.sidebar nav button.active:before{content:'';position:absolute;top:0;width:22px;height:3px;border-radius:0 0 3px 3px;background:currentColor}.sidebar nav button.active .ui-icon{fill:currentColor;fill-opacity:.3;stroke-width:2.2}.sidebar nav button:hover:not(.active){background:#f0f4fa}.app{margin-left:0;padding-bottom:calc(100px + env(safe-area-inset-bottom))}header{height:66px;padding:0 16px}.breadcrumb{font-size:11px}.breadcrumb span{margin:0 5px}.header-right{gap:8px}.theme-switch{padding:3px}.theme-switch button{font-size:0;gap:0;min-height:36px;min-width:36px;padding:7px}.theme-switch .ui-icon{width:18px;height:18px}.profile{width:36px;height:36px;font-size:12px}.today-top{display:none}.preview-note{padding:10px 16px;font-size:11px}.preview-note>span{display:inline;font-size:10px;margin-right:8px;letter-spacing:0}main{padding:24px 16px 0}.page-heading{gap:14px;margin-bottom:20px;align-items:flex-start}h1{font-size:28px;letter-spacing:-.9px;margin-bottom:8px}.page-heading p{font-size:13px;line-height:1.5;max-width:230px}.new-activity{min-width:48px;width:48px;height:48px;min-height:48px;padding:10px;font-size:0;margin:0;border-radius:13px;flex-shrink:0}.new-activity>span .ui-icon{width:24px;height:24px}.stats{margin-bottom:20px;border-radius:10px}.stats article{display:block;padding:12px 10px}.stats small{display:block;font-size:10px;line-height:1.4;min-height:28px;letter-spacing:0}.stats strong{font-size:24px;margin-top:3px}.stats p{font-size:10px;line-height:1.4;min-height:28px}.stats em{font-size:11px}.calendar-toolbar{padding:18px 14px 14px;gap:14px;flex-direction:column;align-items:stretch}.month-control{width:100%;gap:10px}.month-control h2{font-size:20px}.month-control button{width:36px;height:38px}.month-control .today-btn{font-size:12px;min-width:52px}.view-switch{width:100%;align-self:stretch}.view-switch button{font-size:13px;flex:1;min-height:40px;padding:8px}.calendar-legend{padding:0 14px 15px;font-size:10px;gap:10px}.weekday{font-size:10px;letter-spacing:0;padding:10px 5px;text-align:center}.day-cell{min-height:67px;padding:4px 2px;text-align:center}.day-number{font-size:12px;margin:0 auto 5px;width:27px;height:27px;line-height:27px}.calendar-grid:not(.week-grid) .event-chip{display:none}.mobile-event-count{display:flex;align-items:center;justify-content:center;gap:4px;font-size:10px;color:var(--blue);min-height:18px}.mobile-event-count:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}.calendar-grid .more-events{display:none}.calendar-bottom{font-size:10px;padding:12px 14px}.time-scroll{max-height:500px}.time-head{grid-template-columns:42px repeat(var(--days),minmax(0,1fr))}.time-grid{grid-template-columns:42px repeat(var(--days),minmax(0,1fr))}.time-event{left:5px;right:5px;padding:9px;font-size:13px}.time-event strong{font-size:14px}.time-event small{font-size:12px}.time-hours span{font-size:10px}.day-panel{padding:22px 18px;margin-top:0}.day-panel-heading h2{font-size:24px}.day-panel-heading .eyebrow{font-size:11px}.agenda-item button{font-size:15px}.agenda-item .location{font-size:13px}.add-day{min-height:48px;font-size:14px}.section-heading{padding:22px 18px;flex-wrap:wrap;gap:14px}.section-heading h2{font-size:23px}.section-heading p{font-size:13px}.section-heading .secondary{font-size:13px;padding:10px 13px;min-height:44px}.directory-filters{padding:0 18px 14px;flex-direction:column;gap:10px}.directory-filters input,.directory-filters select,.map-tools input,.map-tools select{font-size:16px;width:100%;min-height:48px}.directory-result-info{padding:0 18px 18px;font-size:12px}.place-grid{grid-template-columns:1fr;padding:0 18px 18px}.place-card{padding:20px}.place-card h3{font-size:18px}.place-card p{font-size:14px}.place-card small{font-size:12px}.place-card .secondary{font-size:14px;min-height:46px}.directory-note{padding:16px;margin:0 18px 20px}.directory-note b,.directory-note p{font-size:12px}.activity-directory #activitiesBody{padding:0 18px 18px}.schedule-row{gap:10px;flex-wrap:wrap}.schedule-date{min-width:38px;font-size:11px}.schedule-date b{font-size:23px}.schedule-info button{font-size:15px}.schedule-info p{font-size:12px}.schedule-row>.time{font-size:12px}.schedule-row>.status{font-size:10px}.schedule-list{padding:0 15px 18px}.map-head{padding:22px 18px;flex-wrap:wrap}.map-head h2{font-size:22px}.map-tools{padding:0 18px 16px}.map-key{padding:15px 18px 8px;font-size:11px;gap:10px}.map-help,.map-source{padding-left:18px;padding-right:18px;font-size:12px}.map-source{font-size:10px}.territory-stage{height:470px}.territory-side{padding:22px 18px}.place-selector-list{grid-template-columns:1fr}.place-selector-list>button{font-size:14px}.place-selector-list small{font-size:11px}.map-zoom button{height:44px;width:44px}.dialog-heading h2{font-size:25px}.dialog-heading>button{width:40px;height:40px}.dialog-actions{position:sticky;bottom:-24px;background:var(--surface);padding:16px 0 8px;margin-top:15px;border-top:1px solid var(--line);z-index:2}.dialog-actions>.danger{min-height:40px;margin-bottom:0}.dialog-actions button{font-size:14px}#toast{bottom:calc(96px + env(safe-area-inset-bottom));font-size:13px;width:max-content;max-width:calc(100vw - 32px)}footer{font-size:11px;padding:24px 0}footer small{font-size:10px}html[data-theme=dark] .sidebar{background:linear-gradient(180deg,#111b2aee,#080e18fa);border-top-color:#2a3950;box-shadow:0 -8px 26px #0003}html[data-theme=dark] .sidebar nav button{color:#8fa2bd}html[data-theme=dark] .sidebar nav button.active{background:#1c365d;color:#a5c7ff}html[data-theme=dark] .sidebar nav button:hover:not(.active){background:#172337}}
@media(min-width:601px){.mobile-event-count{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.time-event>span{white-space:nowrap;font-size:10px;flex-shrink:0}.time-event strong{flex-shrink:0}.week-time .time-event{padding:5px;gap:1px}.week-time .time-event strong{font-size:11px;line-height:1.3;-webkit-line-clamp:1}.week-time .time-event small{display:none}.time-head:has(+.week-time){min-width:640px}
.place-card{contain-intrinsic-size:auto 300px}.schedule-row{contain-intrinsic-size:auto 120px}.agenda-item button,.schedule-info button{min-height:44px}.maps-inline{min-height:40px}
@media(max-width:600px){.stats small,.stats p{font-size:11px}.stats small{min-height:32px}.time-event>span{font-size:12px}.week-time .time-event>span{font-size:10px}}

html[data-theme=dark] #loginScreen{background:radial-gradient(ellipse at top left,#10213a88,transparent 65%),#070c14}html[data-theme=dark] .login-card{background:#0f1826;border-color:#243146}

.time-head{position:sticky;top:0;z-index:3}

#dayPanel{scroll-margin-top:18px}#selectedDayTitle:focus{outline:none}.month-control h2,.day-panel-heading h2{text-transform:none}.month-control h2::first-letter{text-transform:uppercase}
