/* Calendar agenda and touch layouts — v0.9.6.1 */
.mobile-summary-overview{display:none}.meeting-summary-details>.pagination{border:1px solid var(--line);background:#fff;border-radius:8px;margin-top:18px}
.cal-agenda{padding:24px;background:#fff}.agenda-day{display:grid;grid-template-columns:62px minmax(0,1fr);gap:18px;padding-bottom:23px}.agenda-date{align-self:start;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#71819a;border-radius:12px;min-height:66px;min-width:44px}.agenda-date:hover{background:#f2f5fa}.agenda-date>span{font-size:12px}.agenda-date strong{font-size:25px;font-weight:550;line-height:1.1}.agenda-today .agenda-date{color:var(--accent-ink)}.agenda-today .agenda-date strong{display:grid;place-items:center;background:var(--brand-mark);color:var(--on-accent);width:36px;height:36px;border-radius:50%;font-size:21px}.agenda-events{display:flex;flex-direction:column;gap:10px}.agenda-events .cal-event{padding:14px 17px;border-radius:11px;border-left-width:4px}.agenda-events .cal-event-line{font-size:16px;gap:12px}.agenda-events .cal-event time{font-size:13px;min-width:43px}.agenda-events .cal-event-meta{font-size:12px;margin-top:6px}.agenda-events .cal-event-state{font-size:11px;margin-top:3px;opacity:.85}.agenda-empty{font-size:13px;color:#8190a4;min-height:70px;display:flex;align-items:center;line-height:1.6}.agenda-end{border-top:1px solid var(--line);padding:18px 0 0;margin-top:4px;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:11px;color:#8693a7}.agenda-end .secondary{height:40px;font-size:12px}.agenda-month-empty{text-align:center;padding:40px 18px;color:#74839a}.agenda-month-empty>.lucide{display:block;width:30px;height:30px;margin:0 auto 16px}.agenda-month-empty strong{display:block;font-size:15px;font-weight:600}.agenda-month-empty p{font-size:12px;line-height:1.7;margin-top:10px}
@media(max-width:700px){
 body[data-view=calendar]{background:#f5f7fb}
 body[data-view=calendar] .page-intro{padding:19px 16px 14px;align-items:center}
 body[data-view=calendar] .page-intro .eyebrow,body[data-view=calendar] .page-intro p,body[data-view=calendar] .page-intro .intro-actions{display:none}
 body[data-view=calendar] .page-intro h1{font-size:22px;letter-spacing:-.6px}
 body[data-view=calendar] .topbar .role-control select{font-size:16px;max-width:140px;min-height:40px}
 body[data-view=calendar] .topbar{height:48px}
 body[data-view=calendar] .topbar .breadcrumb{font-size:11px;min-width:0}
 body[data-view=calendar] .sidebar nav{padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -3px 18px #283b5010}
 body[data-view=calendar] .sidebar nav .nav-item{min-height:52px;min-width:44px;border-radius:12px}
 body[data-view=calendar] .sidebar nav .nav-item>span{font-size:10px}
 body[data-view=calendar] .sidebar nav .nav-item.active{background:var(--brand-soft)}
 body[data-view=calendar] .sidebar nav .nav-item>.lucide{width:20px;height:20px}
 .meeting-page{margin:0 12px calc(82px + env(safe-area-inset-bottom))}
 .meeting-page>.meeting-summary{padding:14px;background:white;border:1px solid #e5eaf2;border-radius:14px;margin-bottom:16px}
 .meeting-summary-heading{padding:0;display:block}
 .meeting-summary-heading h2{font-size:15px;letter-spacing:-.3px}
 .meeting-summary-heading h2 span{font-size:12px;margin-left:5px}
 .meeting-summary-heading p{display:none}
 .mobile-summary-overview{display:block}
 .mobile-summary-period{font-size:11px;line-height:1.5;color:#7c8a9e;margin-top:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .mobile-summary-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:13px 0 3px}
 .mobile-summary-metrics button{display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:0 12px;min-height:51px;border-right:1px solid #edf0f5;color:#465d7e}
 .mobile-summary-metrics button:first-child{padding-left:0}.mobile-summary-metrics button:last-child{border-right:0}
 .mobile-summary-metrics span{font-size:11px;color:#6b7d94;white-space:nowrap}
 .mobile-summary-metrics strong{font-size:23px;font-weight:650;line-height:1.15}.mobile-summary-metrics strong small{font-size:11px;font-weight:450;margin-left:4px;color:#8694a6}
 .mobile-summary-metrics .is-alert strong,.mobile-summary-metrics .is-alert strong small{color:#C62828}
 .mobile-summary-toggle{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:44px;margin-top:10px;border-top:1px solid #edf0f5;font-size:12px;font-weight:500;color:#72839b}
 .mobile-summary-toggle .lucide{width:15px;height:15px}
 .meeting-summary:not(.summary-open) .meeting-summary-details{display:none}
 .meeting-summary-details{margin-top:10px}.meeting-summary-details .meeting-list{gap:12px}
 .meeting-summary-details .meeting-item{padding:15px;border-radius:10px;box-shadow:none}
 .meeting-summary-details .meeting-card-top{gap:8px}.meeting-summary-details .meeting-card-top .brand-chip,.meeting-summary-details .customer-number{font-size:11px}
 .meeting-summary-details .meeting-item h2{margin:13px 0 8px}.meeting-summary-details .meeting-item h2 button{font-size:17px;min-height:44px}
 .meeting-summary-details .meeting-item .meeting-date{font-size:14px}.meeting-summary-details .meeting-owner{margin:9px 0 12px;font-size:12px}
 .meeting-summary-details .meeting-card-actions{margin-top:12px;gap:8px}.meeting-summary-details .meeting-card-actions button{flex:1;min-height:44px;font-size:13px}
 .meeting-summary-details>.pagination{font-size:11px;padding:10px 8px;margin-top:12px;gap:6px}
 .meeting-summary-details .pagination button{min-width:44px;min-height:44px;padding:7px}
 .calendar-panel.is-mobile-calendar{border-radius:16px;overflow:visible;border:1px solid #e1e7f0;background:white;scroll-margin-top:8px}
 .mobile-cal-toolbar{position:sticky;top:0;z-index:12;background:#fff;border-radius:16px 16px 0 0;border-bottom:1px solid #e9edf3;padding:8px 10px 9px;box-shadow:0 3px 6px #172b4d04}
 .mobile-cal-top{display:flex;align-items:center;gap:5px;min-width:0}.mobile-cal-top>.secondary{min-width:44px;height:44px;border-color:#e2e8f2;font-size:13px;border-radius:12px;font-weight:550}
 .mobile-cal-title{display:flex;gap:5px;align-items:center;flex:1;min-width:0;height:44px;font-size:18px;letter-spacing:-.5px;font-weight:650;color:#293d5a;padding:0 4px;text-align:left;white-space:nowrap}
 .mobile-cal-title>.lucide{width:16px;height:16px;flex-shrink:0;color:#7d8ba0}
 .mobile-cal-top>.icon-button,.mobile-cal-views>.icon-button{position:relative;min-width:44px;height:44px;width:44px;border-radius:12px;color:#647894}
 .mobile-cal-top>.icon-button.active{background:var(--brand-soft);color:var(--accent-ink)}.mobile-cal-top .lucide{width:19px;height:19px}
 .filter-active-dot{position:absolute;right:9px;top:8px;width:6px;height:6px;border-radius:50%;background:var(--accent-ink)}
 .mobile-cal-views{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-top:6px}
 .mobile-cal-views .cal-view-switch{flex:1;justify-content:space-around;padding:2px;gap:0;border-radius:12px;background:#f3f6fa}
 .mobile-cal-views .cal-view-switch button{flex:1;min-width:0;min-height:44px;padding:0 8px;font-size:13px;border-radius:9px;color:#7a899f}
 .mobile-cal-views .cal-view-switch button[aria-pressed=true]{color:var(--accent-ink);background:var(--brand-soft);box-shadow:none;font-weight:650}
 .mobile-cal-scope{display:flex;align-items:center;gap:7px;width:100%;padding:9px 14px;min-height:44px;color:#8190a5;text-align:left;border-bottom:1px solid #edf0f5;font-size:11px}
 .mobile-cal-scope>.lucide{width:13px;height:13px;flex-shrink:0}.mobile-cal-scope>span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1}.mobile-cal-scope>b{font-size:11px;font-weight:500;color:#405b7e;white-space:nowrap}
 .mobile-cal-filters{background:#f9fbfe;border-bottom:1px solid #e1e8f1;padding:12px}
 .mobile-cal-filters .cal-tools{padding:0;gap:12px;display:block}.mobile-cal-filters .cal-owner-legend{display:flex;flex-wrap:nowrap;overflow:auto;padding-bottom:6px;margin-bottom:9px;gap:6px;scrollbar-width:thin;overscroll-behavior-x:contain}
 .mobile-cal-filters .cal-owner{min-height:44px;font-size:13px;flex-shrink:0;padding:0 11px;border:1px solid #e4eaf3;border-radius:10px;background:#fff;gap:7px}.mobile-cal-filters .cal-owner.selected{border-color:var(--accent-ink);background:var(--brand-soft)}
 .mobile-cal-filters .cal-owner .owner-dot{width:8px;height:8px}
 .mobile-cal-filters .cal-search{display:flex;min-height:46px;width:100%;max-width:none;border-radius:10px;background:white;padding:0 10px;margin:0;box-sizing:border-box}
 .mobile-cal-filters .cal-search input{font-size:16px;min-width:0;width:100%;height:44px;color:#405471}
 .mobile-cal-filters .cal-filter-row{border:0;background:none;padding:12px 0 0;display:block}.mobile-cal-filters .cal-filter-row>span{display:none}.mobile-cal-filters .cal-filter-row>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.mobile-cal-filters .cal-filter-row label{font-size:12px;display:flex;align-items:center;flex:1;gap:9px;color:#72839b}
 .mobile-cal-filters .cal-filter-row select{font-size:16px;max-width:none;width:100%;min-width:0;min-height:44px;border-radius:9px;padding:8px;margin:0;flex:1}.mobile-cal-filters .text-action{font-size:12px;min-height:44px;white-space:normal}
 .mobile-date-panel{padding:14px;background:#f8fafd;border-bottom:1px solid var(--line)}.mobile-date-panel>span{display:block;font-size:12px;margin-bottom:8px;color:#77879d}.mobile-date-panel .cal-date-picker input{height:46px;width:100%;flex:1;font-size:16px;border-radius:10px;min-width:0}.mobile-date-panel .cal-date-picker .lucide{display:none}
 .calendar-surface{overflow:hidden;border-radius:0 0 12px 12px}
 .cal-agenda{padding:18px 12px 10px}.agenda-day{grid-template-columns:42px minmax(0,1fr);gap:10px;padding-bottom:17px}.agenda-date{gap:5px;min-height:64px;min-width:42px;border-radius:9px;padding:5px 0}.agenda-date>span{font-size:11px}.agenda-date strong{font-size:24px}.agenda-today .agenda-date strong{width:34px;height:34px;font-size:21px}
 .agenda-events{gap:9px}.agenda-events .cal-event{padding:11px 12px;border-radius:11px;min-height:86px;box-shadow:none}.agenda-events .cal-event-line{font-size:16px;gap:8px;align-items:baseline}.agenda-events .cal-event time{font-size:13px;min-width:38px;font-weight:500}.agenda-events .cal-event strong{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.45}.agenda-events .cal-event-meta{font-size:12px;margin-top:5px;white-space:normal;overflow-wrap:anywhere}.agenda-events .cal-event-state{font-size:11px;margin-top:3px;line-height:1.5}.agenda-empty{font-size:12px;min-height:65px;padding:0 4px;line-height:1.7}.agenda-end{padding-top:14px;font-size:10px}.agenda-end .secondary{min-height:44px;font-size:12px;border-radius:10px}.agenda-month-empty{padding:32px 12px}
 .is-mobile-calendar .cal-weekdays{padding:12px 0;font-size:11px;border-top:0}.is-mobile-calendar .cal-day{min-height:68px;padding:2px;border-color:#edf1f6}.is-mobile-calendar .cal-day-heading{display:block;padding:0}.is-mobile-calendar .cal-day-number{display:block;width:100%;height:44px;min-height:44px;border-radius:10px;font-size:14px}.is-mobile-calendar .cal-day-events{display:none}.is-mobile-calendar .cal-mobile-dots{padding:5px 0;gap:3px;min-height:15px}.is-mobile-calendar .cal-mobile-dots .owner-dot{width:5px;height:5px}.is-mobile-calendar .cal-more{display:none}.is-mobile-calendar .cal-day-count{display:none}
 .is-mobile-calendar .cal-year{padding:12px;gap:18px 12px}.is-mobile-calendar .cal-mini-title{min-height:44px;padding:7px 2px;font-size:14px}.is-mobile-calendar .cal-mini-title span{font-size:10px}.is-mobile-calendar .cal-mini-day{font-size:11px;height:30px}.is-mobile-calendar .cal-mini-grid .cal-weekdays{padding:6px 0;font-size:9px}
 .mobile-day-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));padding:9px 8px;border-bottom:1px solid #edf1f6}.mobile-day-strip button{display:flex;flex-direction:column;align-items:center;gap:7px;min-height:55px;min-width:0;color:#8190a6;border-radius:12px;padding:5px 0}.mobile-day-strip span{font-size:11px}.mobile-day-strip strong{font-size:17px;font-weight:550;display:grid;place-items:center;width:29px;height:29px;border-radius:50%}.mobile-day-strip button[aria-pressed=true]{color:var(--accent-ink);background:var(--brand-faint)}.mobile-day-strip button[aria-pressed=true] strong{color:var(--on-accent);background:var(--brand-mark)}
 .is-mobile-calendar .cal-day-caption{font-size:11px;padding:12px;gap:5px}.is-mobile-calendar .cal-day-caption>span:last-child{font-size:10px}
 .is-mobile-calendar .cal-time-scroll{max-height:65dvh;overflow-x:hidden;overscroll-behavior-y:auto}.is-mobile-calendar .cal-time-grid{min-width:0;width:100%}.is-mobile-calendar .cal-time-head,.is-mobile-calendar .cal-hour-row{grid-template-columns:47px minmax(0,1fr)}
 .is-mobile-calendar .cal-time-head{z-index:1}.is-mobile-calendar .cal-time-head>span{font-size:9px;padding:15px 5px}.is-mobile-calendar .cal-time-head>div{padding:12px;font-size:12px}.is-mobile-calendar .cal-time-head .owner-dot{display:none}.is-mobile-calendar .cal-time-head small{font-size:11px}
 .is-mobile-calendar .cal-hour-row>time{font-size:11px;padding:7px 5px}.is-mobile-calendar .cal-hour-row{min-height:60px}.is-mobile-calendar .cal-hour-cell{padding:6px 9px;gap:8px}
 .is-mobile-calendar .cal-hour-cell .cal-event{padding:11px 12px;border-radius:10px;min-height:84px}.is-mobile-calendar .cal-hour-cell .cal-event-line{font-size:15px;gap:8px}.is-mobile-calendar .cal-hour-cell .cal-event time{font-size:12px}.is-mobile-calendar .cal-hour-cell .cal-event-meta{font-size:12px;white-space:normal}.is-mobile-calendar .cal-hour-cell .cal-event-state{font-size:11px}.is-mobile-calendar .cal-hour-cell .cal-event strong{white-space:normal;overflow-wrap:anywhere}
 .is-mobile-calendar .cal-footer{padding:13px 12px;font-size:10px;color:#7f8da3;border-top:1px solid #edf1f6;gap:7px}.is-mobile-calendar .cal-footer>span:last-child{font-size:10px;line-height:1.6}.meeting-footer-note{font-size:10px;line-height:1.8;margin:13px 3px 0;color:#8492a8}
 .meeting-due-strip{margin:0 12px 14px;padding:12px;font-size:12px}.meeting-due-strip>strong{font-size:12px}.meeting-due-strip button{min-height:44px;font-size:11px;flex:1;justify-content:space-between}
 body[data-view=calendar] dialog{width:100%;max-width:100%;max-height:90dvh;margin:auto 0 0;position:fixed;inset:auto 0 0;border-radius:22px 22px 0 0;border:0;padding:20px 18px 0;overflow:auto;overscroll-behavior:contain;box-shadow:0 -10px 50px #172b4d26}
 body[data-view=calendar] dialog::before{content:'';display:block;margin:-9px auto 12px;width:34px;height:4px;background:#d8dfe8;border-radius:4px}
 body[data-view=calendar] .modal-head h2{font-size:19px;line-height:1.5}body[data-view=calendar] .modal-head>.icon-button{min-width:44px;height:44px}
 body[data-view=calendar] .modal-sub{font-size:12px;margin-bottom:16px}
 body[data-view=calendar] dialog .field{font-size:16px;min-height:46px;border-radius:10px;padding:11px 12px}body[data-view=calendar] dialog textarea.field{min-height:130px;line-height:1.65}
 body[data-view=calendar] dialog .form-label{font-size:13px;color:#596f8a}body[data-view=calendar] dialog .checkbox-field{font-size:14px;min-height:44px;line-height:1.5}body[data-view=calendar] dialog input[type=checkbox]{width:20px;height:20px}
 body[data-view=calendar] .modal-footer{position:sticky;bottom:0;background:#fff;display:flex;gap:9px;margin:20px -18px 0;padding:14px 18px calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--line);box-shadow:0 -3px 14px #172b4d07;z-index:2}
 body[data-view=calendar] .modal-footer button{min-height:48px;font-size:14px;flex:1;border-radius:11px;padding:0 12px;white-space:normal}
 body[data-view=calendar] .meeting-modal-overview{padding:14px;border-radius:12px;font-size:13px}body[data-view=calendar] .meeting-modal-overview strong{font-size:15px}body[data-view=calendar] .meeting-modal-overview p{font-size:12px;line-height:1.6}
 body[data-view=calendar] dialog .summary-box,body[data-view=calendar] dialog .read-only-note,body[data-view=calendar] dialog .history-group{font-size:13px;line-height:1.75}body[data-view=calendar] dialog .meeting-history-item{font-size:13px}
 body[data-view=calendar] .toast{bottom:calc(80px + env(safe-area-inset-bottom));font-size:13px;line-height:1.6}
 .mobile-summary-overview button:focus-visible,.mobile-day-strip button:focus-visible{outline:2px solid var(--accent-ink);outline-offset:1px}
}
@media(max-width:360px){.mobile-cal-title{font-size:16px}.mobile-cal-toolbar{padding-left:6px;padding-right:6px}.mobile-cal-views .cal-view-switch button{padding:0 3px;font-size:12px}.mobile-cal-top>.icon-button,.mobile-cal-views>.icon-button{min-width:44px;width:44px}.mobile-summary-metrics button{padding:0 7px}.mobile-summary-metrics span{font-size:11px}.agenda-day{gap:7px;grid-template-columns:44px minmax(0,1fr)}.agenda-date{min-width:44px}.agenda-events .cal-event{padding:10px}.agenda-events .cal-event-line{font-size:15px;gap:5px}.agenda-events .cal-event time{font-size:12px;min-width:35px}body[data-view=calendar] .topbar .role-control select{max-width:125px;font-size:16px}body[data-view=calendar] .topbar{padding-left:12px;padding-right:12px}}

@media(max-width:700px){.is-mobile-calendar .cal-day.is-selected:not(.is-today) .cal-day-number{background:var(--brand-soft);color:var(--accent-ink);font-weight:650;box-shadow:inset 0 0 0 1px var(--brand-line)}body[data-view=calendar] dialog .form-error:not(:empty){padding:12px;background:#fff2f1;color:#b42323;border-radius:9px;font-size:13px;line-height:1.6}}
