/* EBS00013 — scoped home/reports; mobile overflow repairs retain other navigation. */
.e13-home{max-width:1050px;margin:10px auto 30px}.e13-home-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 22px}.e13-home-grid button,.e13-choices button{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:68px;padding:18px 22px;border:1px solid #dce4ee;border-left:6px solid var(--e13-tone,#185bb1);border-radius:9px;background:#fff;color:#123656;text-align:left;font:650 18px/1.35 system-ui;box-shadow:0 3px 12px #17375b08;cursor:pointer}.e13-home-grid button:hover,.e13-choices button:hover{background:#f0f6ff}.e13-home-grid button:focus-visible,.e13 button:focus-visible{outline:3px solid #3279bd;outline-offset:3px}.e13-home-grid button span{font-size:25px;font-weight:400;color:#67809a}.e13-brand{display:flex;align-items:center;gap:12px;margin:0 0 22px}.e13-brand img{width:48px;height:48px;object-fit:contain}.e13-brand b{display:block;color:#123656;font-size:22px}.e13-brand small{display:block;color:#52667e}.e13{color:#17324f;min-width:0}.e13 h1{margin:8px 0 22px;font-size:27px}.e13 h2{font-size:21px}.e13 button,.e13 input,.e13 select{font:inherit}.e13-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.e13-choices button{font-size:16px;min-height:60px}.e13-back{border:0;background:transparent;color:#165baf;padding:8px 0;cursor:pointer}.e13-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;background:#fff;padding:20px;border:1px solid #dce4ee;border-radius:12px}.e13-filters label{font-size:14px;display:flex;flex-direction:column;gap:7px;min-width:0}.e13-filters input,.e13-filters select{min-height:44px;border:1px solid #c8d5e3;border-radius:7px;padding:8px;width:100%;min-width:0;box-sizing:border-box;background:#fff}.e13-actions{display:flex;flex-wrap:wrap;gap:9px;margin:16px 0;align-items:center}.e13 button.btn{min-height:44px;white-space:normal}.e13-result{padding:20px;background:#fff;border:1px solid #dce4ee;border-radius:12px;margin-top:20px;min-width:0}.e13-table-wrap{overflow-x:auto;max-width:100%;overscroll-behavior-x:contain}.e13 table{border-collapse:collapse;width:100%;font-size:13px}.e13 th,.e13 td{padding:11px;border:1px solid #dbe3ed;text-align:left;vertical-align:top;white-space:pre-wrap;overflow-wrap:anywhere;min-width:90px;max-width:460px}.e13 th{background:#edf3fa;color:#17375b}.e13 th button{font-weight:700;color:inherit;cursor:pointer;border:0;background:transparent;text-align:left}.e13-note,.e13-meta{color:#5c7085;font-size:13px;line-height:1.6}.e13-pager{display:flex;align-items:center;gap:12px;margin-top:14px}.e13-search{max-width:320px;min-height:44px;padding:10px;border:1px solid #cad6e3;border-radius:7px}.e13-error{padding:16px;color:#8a2637;background:#fff0f2;border-radius:9px}.e13-matrix th:first-child,.e13-matrix td:first-child{position:sticky;left:0;background:#f2f6fb;z-index:1;min-width:150px}.e13-ledger-link{display:inline-block;padding:12px;border:1px solid #cddcec;border-radius:8px;color:#165baf}
/* All existing dialogs get an accessible scrollport, including on desktop. */
.modal{overflow-y:auto!important;align-items:flex-start!important;overscroll-behavior:contain}.modal>.modal-card240,.modal>.modal-card,.modal>.modal-box,.modal>.mt251-dialog,.modal>.modal-body,.modal>section,.modal>.panel{max-height:calc(var(--e13-vh,100dvh) - 24px)!important;overflow-y:auto!important;min-height:0!important;box-sizing:border-box;max-width:100%}
.ebs3-dialog,.ebs6-dialog,.ebs8-sheet{max-height:calc(var(--e13-vh,100dvh) - 24px)!important;overflow-y:auto!important;min-height:0!important}.ebs3-dialog-body,#ebs8-root{min-height:0;overflow-y:auto}.e13-report-iframe{border:0;width:100%;height:700px}
@media(max-width:760px){
 html{overflow-x:clip}body{min-width:0!important}.main,.main240,.main241,#main{min-width:0!important;max-width:100%;box-sizing:border-box;padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))!important}.layout,.layout240,.layout241{min-width:0;max-width:100%}
 .e13-home{margin:0 0 12px}.e13-home-grid,.e13-choices{grid-template-columns:1fr;gap:9px}.e13-home-grid button{min-height:51px;padding:12px 17px;font-size:17px;border-left-width:5px}.e13-brand{margin-bottom:16px}.e13-brand img{width:40px;height:40px}.e13-brand b{font-size:19px}.e13-brand small{font-size:11px}.e13-filters{grid-template-columns:1fr;padding:14px}.e13-result{padding:12px}.e13-actions>*{flex:1 1 120px}.e13 h1{font-size:23px}.e13-search{max-width:none;width:100%}
 .modal,.modal241,.ebs3-overlay,.ebs6-dialog-bg{position:fixed!important;inset:auto 0 auto 0!important;top:var(--e13-top,0px)!important;height:var(--e13-vh,100dvh)!important;max-height:var(--e13-vh,100dvh)!important;padding:10px!important;box-sizing:border-box!important;overflow-y:auto!important;align-items:flex-start!important;z-index:10000!important}
 .modal>div:not(.modal-backdrop),.modal>section,.ebs3-dialog,.ebs6-dialog,.ebs8-sheet{width:100%!important;max-width:100%!important;min-width:0!important;max-height:calc(var(--e13-vh,100dvh) - 20px)!important;height:auto!important;overflow-y:auto!important;box-sizing:border-box!important;padding-bottom:calc(20px + env(safe-area-inset-bottom,0px))!important;margin:auto!important}
 .modal form,.modal .form-grid240,.modal .formgrid,.modal .form-grid,.ebs6-detail-grid{min-width:0!important;max-width:100%!important}.modal .form-grid240,.modal .formgrid,.modal .form-grid{grid-template-columns:minmax(0,1fr)!important}.modal .span2{grid-column:1!important}.modal input,.modal select,.modal textarea,.ebs6-dialog input,.ebs6-dialog textarea{max-width:100%!important;min-width:0!important;font-size:16px!important;box-sizing:border-box!important}.modal .actions,.modal .mt251-actions,.ebs6-btns{display:flex!important;flex-wrap:wrap!important;gap:8px!important}.modal .actions button,.modal .mt251-actions button{flex:1 1 120px;min-height:44px!important;white-space:normal!important}
 .mt251-modal>.mt251-dialog{height:auto!important;display:block!important;overflow-y:auto!important}.mt251-modal #mt251Content{overflow:visible!important;flex:none!important}.mt251-modal .mt251-footer{position:static!important;margin-top:16px!important}.mt251-progress{overflow-x:auto;max-width:100%}
 .table-wrap,.ebs6-table-wrap,.ebs8-table-wrap,.table-scroll{max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch}.table-wrap table{max-width:none}.page-head,.page-head240{flex-wrap:wrap!important}.page-head>*{min-width:0}.actions,.toolbar{flex-wrap:wrap}.btn{min-height:44px}button,input,select,textarea{touch-action:manipulation}textarea{scroll-margin-bottom:100px}
 #ebs8-overlay{top:var(--e13-top,0px)!important;height:var(--e13-vh,100dvh)!important;bottom:auto!important}#ebs8-overlay .ebs8-sheet{max-height:calc(var(--e13-vh,100dvh) - 20px)!important}
}
#e13Alerts{position:relative;width:fit-content;margin:0 0 12px auto;display:flex;gap:6px;align-items:center;z-index:1;background:#fff;padding:6px;border:1px solid #ced9e7;border-radius:12px;box-shadow:0 3px 15px #102f4f24}#e13Alerts button{border:0;background:#edf4fc;color:#174776;border-radius:7px;padding:9px;font:600 13px system-ui;min-height:40px}#e13Alerts strong,.e13-unread{background:#b02b40;color:#fff;border-radius:12px;padding:3px 7px;font-size:12px}#e13Alerts small{font-size:10px;color:#963925}#e13Toast{position:fixed;right:16px;top:16px;width:min(360px,calc(100% - 32px));z-index:9900;background:#123b68;color:#fff;padding:18px;border-radius:12px;box-shadow:0 5px 25px #102f4f44}#e13Toast b,#e13Toast span{display:block;margin-bottom:9px}#e13Toast button{border:1px solid #fff7;background:#fff;color:#17375b;border-radius:6px;padding:9px;margin-right:8px;min-height:44px}@media print{#e13Alerts,#e13Toast{display:none!important}}
@media(max-width:760px){.calendar-title240{display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px!important;gap:6px!important;max-width:100%;align-items:center}.calendar-title240 h2{font-size:19px;min-width:0;text-align:center;margin:8px 0}.calendar-title240 button{min-width:0;width:44px;padding:8px!important}}
/* EBS00016: complete meeting rosters with bounded mobile rendering. */
.mt16-filters{display:flex;flex-wrap:wrap;gap:12px;margin:14px 0}.mt16-filters>label{flex:1 1 220px;min-width:0}.mt16-filters input,.mt16-filters select{display:block;width:100%;min-height:44px;margin-top:5px}.mt251-person-list>.mt16-row{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(130px,180px) minmax(130px,180px);gap:10px;align-items:center}.mt16-row>span,.mt16-row>label{min-width:0;overflow-wrap:anywhere}.mt16-row small{display:block}.mt16-row label{font-size:12px}.mt16-row select{display:block;width:100%;min-height:44px;margin-top:4px}.mt16-pager{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:12px 0}.mt16-pager span{font-size:13px}.mt16-pager button{min-height:44px}@media(max-width:600px){.mt251-person-list>.mt16-row{grid-template-columns:minmax(0,1fr)!important}.mt16-pager button{flex:1 1 70px}.mt16-pager span{text-align:center;flex:1 1 90px}}

/* EBS00016_R1: desktop overlays must sit above the sticky application header. */
@media screen{
 .modal,.modal241,.ebs3-overlay,.ebs6-dialog-bg{z-index:10000!important;position:fixed!important;inset:0!important;box-sizing:border-box!important;overflow-y:auto!important;align-items:flex-start!important;padding:12px!important}
 .modal>.modal-card240,.modal>.modal-card,.modal>.modal-box,.modal>.mt251-dialog,.modal>section,.modal>.panel{margin:0 auto!important;max-height:calc(var(--e13-vh,100dvh) - 24px)!important;min-height:0!important;overflow-y:auto!important}
 .modal>.modal-card240>.page-head,.modal>.mt251-dialog>.mt251-dialog-top{position:sticky!important;top:0!important;background:#fff;z-index:5;padding-top:8px;padding-bottom:8px}
}
@media screen and (max-width:760px){.modal,.modal241,.ebs3-overlay,.ebs6-dialog-bg{top:var(--e13-top,0px)!important;height:var(--e13-vh,100dvh)!important;bottom:auto!important}}

.ticks17{display:flex;flex-wrap:wrap;gap:5px;margin:6px 0}.tick17{border:2px solid transparent;border-radius:7px;padding:9px;min-height:44px;font-size:11px;cursor:pointer}.tick17.green{background:#e5f4e9;color:#155a2f}.tick17.red{background:#fbe8e8;color:#8c2020}.tick17.yellow{background:#fff3c5;color:#705400}.tick17[aria-pressed=true]{border-color:currentColor;font-weight:800}.tick17:disabled{cursor:default;opacity:.7}.e17-table{overflow:auto;max-height:55vh}.e17-table table{border-collapse:collapse;width:100%}.e17-table td,.e17-table th{padding:10px;border:1px solid #d9e2ee;text-align:left;overflow-wrap:anywhere}.e17-table th{position:sticky;top:0;background:#edf3fa}.e17-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.e17-dialog{width:min(1100px,100%)}.e17-dialog select,.e17-dialog input{max-width:100%;min-height:42px}.e17-note{padding:12px;background:#eef4fb}.e17-row-error{color:#982332}

/* EBS00019: compact aligned response and attendance matrices. */
.mt19-list{padding:0!important;overflow:auto!important;max-height:55dvh}
.mt19-matrix{width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px}
.mt19-matrix th,.mt19-matrix td{padding:5px 2px!important;border-bottom:1px solid #e3eaf1;vertical-align:middle}
.mt19-matrix thead th{position:sticky;top:0;background:#f0f5fa;z-index:1;font-size:20px;text-align:center}
.mt19-matrix thead th:first-child{text-align:left;font-size:14px}
.mt19-matrix th:first-child{padding-left:8px!important;overflow-wrap:anywhere;text-align:left}
.mt19-matrix th:not(:first-child),.mt19-matrix td{width:48px;text-align:center}
.mt19-matrix small{display:block;font-weight:normal;font-size:11px}
.mt19-tick{width:42px!important;min-width:42px!important;height:44px!important;min-height:44px!important;padding:0!important;border:1px solid #bcc8d4;border-radius:7px;background:white;font-size:24px;font-weight:800;cursor:pointer;line-height:1}
.mt19-tick[aria-pressed=true].yellow{background:#fff0b4;border:2px solid #997000;color:#795600}
.mt19-tick[aria-pressed=true].red{background:#ffe5e7;border:2px solid #a42e35;color:#a42e35}
.mt19-tick[aria-pressed=true].green{background:#ddf3e6;border:2px solid #247447;color:#247447}
.mt19-tick:focus-visible{outline:3px solid #2769b0;outline-offset:2px}.mt19-tick:disabled{cursor:default;opacity:.7}
.mt19-legend{font-size:13px;line-height:1.5;margin:10px 0}

.mt19-icon{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;vertical-align:middle;font:800 23px/1 Arial,sans-serif}.mt19-icon.yellow{background:#f4c430;border-radius:50%;width:18px;height:18px}.mt19-icon.red{color:#d62839}.mt19-icon.green{background:#27854d;color:white;border-radius:4px;font-size:20px}.mt19-legend .mt19-icon{width:16px;height:16px;font-size:15px}.mt19-legend .mt19-icon.yellow{width:12px;height:12px}

/* EBS00026: colors identify every choice, even before selection. */
.mt19-tick.yellow{background:#ffe69a;border-color:#b78b19;color:#785600}
.mt19-tick.red{background:#ffcbd0;border-color:#c15660;color:#99252e}
.mt19-tick.green{background:#bce7cc;border-color:#439963;color:#195a34}
.mt19-tick[aria-pressed=true]{box-shadow:inset 0 0 0 1px currentColor}
/* EBS00026 scoped meeting layout */
.mt21-home .e13-home-grid{grid-template-columns:1fr}.mt21-home{max-width:1000px;margin:auto}.mt21-tile{background:#fff;border:1px solid #dce4ee;border-left:5px solid #169b9d;border-radius:16px;padding:18px;margin-bottom:12px}.mt21-tile h2{font-size:20px;margin:0 0 10px;color:#183a55}.mt21-tile>.btn{width:100%;margin-top:9px}.mt21-tile details{margin-top:12px}.mt21-tile .mt251-numbers{grid-template-columns:repeat(3,minmax(0,1fr));display:grid;gap:8px}.mt21-tile .mt251-numbers span{display:flex;flex-direction:column;font-size:13px}.mt21-wait{display:block;color:#8c6200;margin-top:8px}.mt21-modal .mt251-dialog{display:flex;flex-direction:column;max-height:calc(var(--e13-vh,100dvh) - 16px);width:min(840px,calc(100vw - 16px));padding:16px;overflow:auto;box-sizing:border-box}.mt21-modal #mt251Content{min-width:0}.mt21-modal .mt251-dialog-top{top:0;flex-shrink:0}.mt21-modal .mt251-footer{position:sticky;bottom:0;background:#fff;z-index:3;display:flex;justify-content:space-between;gap:8px;padding:12px 0 max(12px,env(safe-area-inset-bottom));margin-top:16px;flex-shrink:0}.mt21-modal .mt251-footer .btn{min-height:44px;white-space:normal}.mt21-modal .mt251-progress{overflow-x:auto;display:flex;gap:5px;padding:8px 0}.mt21-modal .mt251-progress span{font-size:12px;flex:0 0 auto}.mt21-modal input,.mt21-modal select,.mt21-modal textarea{font-size:16px;max-width:100%;box-sizing:border-box}.mt21-modal textarea{width:100%;resize:vertical}.mt21-modal .mt251-field{display:flex;flex-direction:column;gap:6px;margin:14px 0}.mt21-modal .mt251-field input,.mt21-modal .mt251-field select{min-height:44px;width:100%}.mt21-modal #mt16Rows{max-height:48dvh;overflow:auto;scroll-behavior:auto}.mt21-modal .mt251-summary{font-size:14px}.mt21-permission{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid #e5eaf0;max-width:600px}.mt21-permission input{width:24px;height:24px}.mt21-filters{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mt21-filters>input,.mt21-filters>details{grid-column:1/-1}.mt21-filters label{display:flex;flex-direction:column;gap:6px}.mt21-filters select,.mt21-filters input{width:100%;min-height:44px}.mt21-person{display:flex;gap:12px;padding:12px;border-bottom:1px solid #e3e8ee;align-items:center}.mt21-person input{width:24px;height:24px;flex-shrink:0}.mt21-person small{display:block;color:#617387}.mt21-modal #people21{min-height:120px;max-height:45dvh;overflow:auto;flex-shrink:0}.mt21-modal details summary{padding:12px 0;cursor:pointer}.mt21-modal .mt252-decision-row{margin:12px 0;padding:12px}.mt21-modal .mt251-dialog-top h2{font-size:22px;overflow-wrap:anywhere}.mt21-modal .mt19-matrix th:first-child{overflow-wrap:anywhere}
@media(max-width:600px){.mt21-modal{padding:4px!important}.mt21-modal .mt251-dialog{width:calc(100vw - 8px);padding:12px;max-height:calc(var(--e13-vh,100dvh) - 8px)}.mt21-modal .mt251-two{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mt21-modal .mt251-progress span:not(.active){display:none}.mt21-modal .mt251-footer .btn{font-size:14px;padding:10px}.mt21-modal .mt251-dialog-top h2{font-size:20px}.mt21-filters{grid-template-columns:1fr}.mt21-tile{padding:14px}.mt21-modal #mt16Rows{max-height:46dvh}.mt21-home .e13-home-grid button{min-height:72px}}

/* EBS00026: flat navigation and compact meeting overview. */
.ebs3-nav-group,.ebs3-drawer-group>h3,.nav-label-231,.nav-group240>span{display:none!important}
.nav-group240,.ebs3-drawer-group{margin-top:0!important;padding-top:0!important;border-top:0!important}
.mt22-summary{margin:16px 0 24px}.mt22-summary h2{font-size:18px}.mt22-summary-row{display:grid;gap:5px;width:100%;text-align:left;background:white;border:1px solid #dbe3ee;border-left:5px solid #169b9d;border-radius:14px;padding:14px;margin:8px 0;color:#183b52;font:inherit;cursor:pointer}.mt22-summary-row small{line-height:1.6}.mt22-summary-row span{font-size:14px}
#decStatus22{white-space:normal;overflow-wrap:anywhere}
.decision-preview22{position:fixed;inset:0;z-index:2147483000;background:#fff;display:flex;flex-direction:column;padding-top:env(safe-area-inset-top)}.decision-tools22{display:flex;flex-wrap:wrap;gap:8px;padding:10px;background:#edf3fa}.decision-tools22 [hidden]{display:none!important}.decision-tools22 [role=status]{width:100%;font-size:14px}.decision-preview22 iframe{width:100%;flex:1;min-height:0;border:0}.decision-tools22 a{text-decoration:none}
.mt22-check{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin:4px 12px 4px 0}.mt22-check input{width:20px;height:20px}#templateForm22 input[name=name],#templateSelect22,#userTemplate22{width:100%;padding:12px;font-size:16px}#templateDiff22{overflow-wrap:anywhere;white-space:normal}

.mt23-summary-card{background:#edf5fd;border:2px solid #2875c8;border-left:7px solid #2875c8;border-radius:18px;padding:18px;margin:14px 0;box-shadow:0 5px 18px #17324f12}.mt23-meeting-title{display:grid;gap:8px;background:none;border:0;text-align:left;color:#17324f;font:inherit;padding:0 0 16px;cursor:pointer;width:100%}.mt23-meeting-title b{font-size:22px}.mt23-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.mt23-counts button{display:grid;gap:5px;text-align:center;border-radius:12px;border:1px solid #b7cee8;min-height:104px;padding:12px 4px;background:#fff;color:#17476f;cursor:pointer;font:inherit}.mt23-counts strong{font-size:29px}.mt23-counts .yes{background:#e2f4e8;color:#155c34;border-color:#92c9a4}.mt23-counts .no{background:#fbe8e8;color:#8b2626;border-color:#dfa0a0}.mt23-counts small{font-size:11px}.mt23-summary-card>p{margin:12px 0 0;font-size:14px}.mt23-place{display:block!important;color:#526b80;font-size:12px;font-weight:400;white-space:normal;overflow-wrap:anywhere}.mt23-roster [data-list23]{min-height:0;overflow:auto}.mt23-roster .mt251-dialog{max-height:calc(var(--e13-vh,100dvh) - 20px)}@media(max-width:420px){.mt23-summary-card{padding:12px}.mt23-counts{gap:5px}.mt23-counts span{font-size:12px}.mt23-meeting-title b{font-size:18px}}
