.nav-settings-menu{min-width:300px;max-height:75vh;overflow-y:auto;overscroll-behavior:contain}
.nav-settings-group>summary{padding:12px;border-radius:8px;cursor:pointer;font-size:.83rem;font-weight:800;color:var(--teal-900)}
.nav-settings-group[open]>summary{background:var(--teal-50)}
.nav-settings-group>div{display:grid;padding:3px 0 7px 13px}
.nav-settings-group a{display:block;padding:9px 12px;border-radius:8px;color:var(--ink);font-size:.81rem;text-decoration:none;line-height:1.5}
.nav-settings-group a:hover,.nav-settings-group a.is-active{background:var(--teal-50);color:var(--teal-900)}
.service-toolbar,.service-date-form,.service-refresh-actions{display:flex;align-items:end;gap:10px;flex-wrap:wrap}
.service-toolbar{justify-content:space-between;margin:22px 0 14px}
.service-date-form label{display:grid;gap:6px;font-size:.8rem;font-weight:700}
.service-date-form input{padding:9px;border:1px solid var(--line);border-radius:8px;background:#fff}
.service-selection{font-size:.81rem;line-height:1.7}
.service-refresh-status{font-size:.8rem;color:var(--muted);min-height:1.4em}
.service-refresh-status.is-error,.service-state-error{color:#a72c35}
.service-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:20px 0 24px}
.service-kpis article{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px 20px;display:grid;gap:8px}
.service-kpis span{font-size:.8rem;color:var(--muted)}
.service-kpis strong{font-size:1.9rem;color:var(--teal-900)}
.service-days{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.service-day{padding:0;overflow:hidden;min-width:0}
.service-day>header{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f5f8f7;padding:20px 22px;border-bottom:1px solid var(--line)}
.service-day.is-today>header{background:var(--teal-50)}
.service-day h2{font-size:1.3rem;margin:0}.service-day .eyebrow{margin:0 0 5px}
.service-day-count{display:grid;place-items:center;min-width:33px;height:33px;border-radius:50%;background:#fff;color:var(--teal-900);font-weight:750}
.service-events{list-style:none;margin:0;padding:8px 20px}
.service-event{position:relative;display:grid;grid-template-columns:50px 30px minmax(0,1fr);gap:10px;padding:17px 0;border-bottom:1px solid var(--line)}
.service-event:last-child{border:0}.service-event time{font-size:.78rem;font-weight:800;padding-top:5px;line-height:1.5;color:var(--muted)}
.service-event-icon{display:grid;place-items:center;border-radius:9px;width:30px;height:30px;background:#e8f1f4;color:#37647c}
.service-event-icon .icon{width:17px;height:17px}
.service-event.is-tasks .service-event-icon{background:#f0ebfa;color:#7651a8}.service-event.is-agenda .service-event-icon{background:#f9efd9;color:#8c691e}.service-event.is-deadlines .service-event-icon{background:#f9e8e7;color:#a84946}
.service-event-kind{display:block;font-size:.69rem;color:var(--muted);margin:0 0 5px}
.service-event-title{display:block;font-weight:800;font-size:.91rem;line-height:1.5;color:var(--ink);text-decoration:none;overflow-wrap:anywhere}
a.service-event-title:hover{text-decoration:underline;color:var(--teal-900)}
.service-event p{font-size:.77rem;line-height:1.6;color:var(--muted);margin:6px 0;overflow-wrap:anywhere}
.service-event small{font-size:.73rem;color:var(--muted)}
.service-event .status{font-size:.67rem;display:inline-block;margin-top:6px}
.service-priority{font-size:.7rem;background:#f9e8e7;color:#a84946;border-radius:5px;padding:3px 6px;margin:6px}
.service-overdue{margin-bottom:22px;padding:0;border-color:#ecd5d1}.service-overdue>summary{padding:17px 20px;display:flex;align-items:center;gap:10px;color:#a84946;cursor:pointer}
.service-overdue>summary span{margin-left:auto;font-weight:800}
.service-overdue .service-events{max-height:360px;overflow:auto}
.service-empty{padding:20px;margin:0;color:var(--muted);font-size:.86rem;line-height:1.7}
.service-calendar-state{padding:20px;margin:24px 0;border:1px solid var(--line);border-radius:12px;background:#fff;font-size:.82rem}
.service-calendar-state p{line-height:1.7}.service-delete-form{margin-top:24px}
.category-resolution-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
@media(max-width:1120px){.app-header .nav-toggle{display:block}.app-header .app-nav{position:absolute;top:calc(100% + 1px);right:12px;display:none;width:min(340px,calc(100vw - 24px));align-items:stretch;padding:10px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:var(--shadow);max-height:80vh;overflow-y:auto}.app-header .app-nav.is-open{display:grid}.app-header .nav-dropdown-menu{position:static;box-shadow:none;min-width:0;max-height:none}.app-header .app-nav>a{padding:11px}}
@media(max-width:760px){.service-days{grid-template-columns:1fr}.service-kpis{gap:8px}.service-kpis article{padding:13px 10px}.service-kpis span{font-size:.72rem}.service-kpis strong{font-size:1.5rem}.service-event{grid-template-columns:44px 28px minmax(0,1fr);gap:8px}.service-events{padding:4px 12px}.service-toolbar{align-items:start}.category-resolution-list{grid-template-columns:1fr}}
