.dw-directorIdentity{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:18px}.dw-directorIdentity>div{min-width:0}.dw-directorIdentity h2{margin:4px 0 0}.dw-liveClock{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:9px;color:#ffffffc2;font-size:12px;font-weight:500;line-height:1.5}.dw-liveClock [data-director-time]{font-variant-numeric:tabular-nums}.dw-clockDivider{opacity:.45}.dw-settingsPrimary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border:1px solid #e7d19f57;border-radius:12px;background:#ffffff12;color:#fff;padding:9px 13px;font:inherit;cursor:pointer;white-space:nowrap}.dw-settingsPrimary b{font-size:10px}.dw-settingsIcon{width:17px;height:17px;border:2px solid currentColor;border-radius:50%;position:relative;opacity:.9}.dw-settingsIcon:after{content:"";position:absolute;inset:4px;border:1.5px solid currentColor;border-radius:50%}.dw-directorHeaderActions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:13px 30px 18px;border-top:1px solid #ffffff14;background:#ffffff05}.dw-headerAction{min-height:42px;border:1px solid #ffffff28;border-radius:11px;background:#ffffff0f;color:#fff;padding:9px 12px;font:inherit;font-size:10px;font-weight:800;cursor:pointer}.dw-headerAction:hover{background:#ffffff18}
.dw-field{display:grid;gap:7px;margin:0;font-size:10px;font-weight:900;color:#596a76}.dw-field input,.dw-field textarea{width:100%;box-sizing:border-box;border:1px solid #d9e1e7;border-radius:10px;padding:10px;font:inherit;background:#fff}.dw-segment{display:flex;border:1px solid #d9e1e7;border-radius:10px;overflow:hidden;background:#fff}.dw-segment button{flex:1;border:0;border-inline-start:1px solid #e4e9ed;background:#fff;padding:9px 12px;font:inherit;font-size:10px;font-weight:800;cursor:pointer;color:#657684}.dw-segment button:first-child{border-inline-start:0}.dw-segment button.active{background:#0a2133;color:#fff}.dw-eventFeed{display:grid;gap:8px;padding:16px 20px}.dw-eventFeed article{padding:12px 13px;border:1px solid #dde4e9;border-radius:11px;background:#fff}.dw-eventFeed strong{display:block;color:#0a2133;font-size:11px}.dw-eventFeed p{margin:5px 0;color:#4d5f6c;font-size:10px;line-height:1.6}.dw-eventFeed small{color:#82909a;font-size:9px}
.dw-recordDialog{box-sizing:border-box;max-width:calc(100vw - 24px);max-height:calc(100dvh - 28px);overscroll-behavior:contain;border:0;border-radius:18px;padding:0;overflow:auto}.dw-recordDialog::backdrop{background:#06131f7a;backdrop-filter:blur(3px)}.dw-recordDialog>.dw-dialogHead{position:sticky;top:0;z-index:4;background:#fff;padding:18px 20px 14px;border-bottom:1px solid #e4e9ed;display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.dw-recordDialog>.dw-dialogActions{position:sticky;bottom:0;z-index:4;background:#fff;padding:12px 20px calc(12px + env(safe-area-inset-bottom));margin:0;border-top:1px solid #e4e9ed}.dw-dialogHead [data-close]{flex:0 0 38px;width:38px;height:38px;display:grid;place-items:center;border:1px solid #d9e1e7;border-radius:10px;background:#f6f8fa;color:#0a2133;font-size:24px;line-height:1;cursor:pointer}.dw-settingsDialog{width:min(900px,calc(100vw - 24px))}.dw-settingsBody{display:grid;gap:14px;padding:16px 20px 22px}.dw-settingsGroup{border:1px solid #d9e1e7;border-radius:14px;background:#f8fafb;padding:14px}.dw-settingsGroup h4{margin:0 0 10px;color:#0a2133;font-size:13px}.dw-settingsGroup>p{margin:0 0 10px;color:#657684;font-size:10px;line-height:1.7}.dw-settingsGrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.dw-assetsGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dw-assetField{display:grid;gap:7px;padding:10px;border:1px solid #dde4e9;border-radius:11px;background:#fff;color:#596a76;font-size:10px;font-weight:800}.dw-assetField input{width:100%;font:inherit;font-size:9px}.dw-assetField>small{font-size:8px;color:#82909a}.dw-assetPreview{height:92px;border:1px dashed #cfd9e0;border-radius:9px;background:#f7f9fb;display:grid;place-items:center;overflow:hidden}.dw-assetPreview img{display:block;max-width:100%;max-height:100%;object-fit:contain}.dw-assetPreview small{color:#8a98a3;font-size:9px}.directorAnalyticsDialog{width:min(900px,calc(100vw - 24px))}.dwa-loading{min-height:220px;display:grid;place-items:center;gap:9px;color:#0a2133}.dwa-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:16px 20px}.dwa-kpis article{padding:14px;border:1px solid #d9e1e7;border-top:3px solid #c4a15b;border-radius:12px;background:#fff}.dwa-kpis span,.dwa-kpis small{display:block;color:#657684;font-size:9px}.dwa-kpis strong{display:block;color:#06131f;font-size:25px;margin:5px 0}.dwa-tableWrap{overflow:auto;margin:0 20px 14px;border:1px solid #d9e1e7;border-radius:12px}.dwa-table{width:100%;border-collapse:collapse}.dwa-table th,.dwa-table td{padding:10px 11px;border-bottom:1px solid #edf1f4;text-align:right;font-size:10px}.dwa-table th{background:#f4f7f9;color:#596a76}.dwa-note{margin:0 20px 14px;padding:11px;border-radius:10px;background:#f6f8fa;border:1px solid #dde4e9;color:#596a76;font-size:10px;line-height:1.7}
@media(max-width:700px){.dw-directorIdentity{grid-template-columns:1fr;align-items:start}.dw-settingsPrimary{width:100%}.dw-directorHeaderActions{grid-template-columns:1fr 1fr 1fr;padding:10px 14px 14px}.dw-recordDialog,.directorAnalyticsDialog,.dwrb-dialog{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 18px)!important;margin:auto!important;border-radius:18px!important}.dw-recordDialog>.dw-dialogHead{padding:14px 14px 12px}.dw-dialogHead h3{font-size:18px;line-height:1.4}.dw-recordDialog>.dw-dialogActions{padding:10px 14px calc(10px + env(safe-area-inset-bottom));display:flex;flex-wrap:wrap}.dw-settingsBody{padding:12px 14px 18px}.dw-settingsGrid,.dw-assetsGrid{grid-template-columns:1fr}.dw-assetPreview{height:78px}.dwa-kpis{grid-template-columns:1fr 1fr;padding:12px}.dwa-tableWrap{margin:0 12px 12px}.dw-eventFeed{padding:12px 14px}}
@media(max-width:390px){.dw-directorHeaderActions{grid-template-columns:1fr}.dw-recordDialog,.directorAnalyticsDialog,.dwrb-dialog{width:calc(100vw - 10px)!important;max-width:calc(100vw - 10px)!important}}
@media(prefers-reduced-motion:reduce){.dw-headerAction{transition:none!important}}
/* Build 112 — Director settings mobile input/keyboard stability */
.dw-settingsDialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;overscroll-behavior:contain}
.dw-settingsDialog>.dw-settingsBody{min-height:0;overflow:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;scroll-padding-block:18px 96px}
.dw-settingsDialog>.dw-dialogHead,.dw-settingsDialog>.dw-dialogActions{position:relative;inset:auto;z-index:6}
@media(max-width:700px){
  .dw-settingsDialog{height:min(760px,calc(100dvh - 16px))!important;max-height:calc(100dvh - 16px)!important}
  .dw-settingsDialog .dw-field input,.dw-settingsDialog .dw-field textarea,.dw-settingsDialog .dw-assetField input{font-size:16px!important;line-height:1.35;min-height:46px}
  .dw-settingsDialog .dw-field textarea{min-height:110px}
  .dw-settingsDialog>.dw-settingsBody{padding-bottom:18px;scroll-padding-bottom:110px}
  .dw-settingsDialog>.dw-dialogActions{display:grid;grid-template-columns:1fr 1fr;gap:10px;background:#fff;box-shadow:0 -10px 30px #06131f14}
  .dw-settingsDialog>.dw-dialogActions .dw-button{min-height:46px;margin:0}
}

/* Build 115 — Director activity/report detail modal stability */
.dw-recordDetailDialog{box-sizing:border-box!important;height:auto!important;min-height:0!important;overflow:hidden!important;background:#fff!important}
.dw-recordDetailDialog[open]{display:block!important}
.dw-recordDetailDialog>.dw-detailSheet{display:grid!important;grid-template-rows:auto minmax(0,1fr) auto;inline-size:100%;max-block-size:calc(100dvh - 24px);min-block-size:0;background:#fff}
.dw-recordDetailDialog .dw-detailSheetHead{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:16px 18px 13px;border-bottom:1px solid #e4e9ed;background:#fff;position:relative;z-index:2}
.dw-recordDetailDialog .dw-detailSheetHead h3{margin:3px 0 0;color:#0a2133;font-size:18px;line-height:1.45}
.dw-recordDetailDialog .dw-detailSheetHead p{margin:5px 0 0;color:#657684;font-size:10px}
.dw-recordDetailDialog .dw-detailSheetBody{min-height:0!important;max-height:none!important;overflow:auto!important;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;background:#fff}
.dw-recordDetailDialog .dw-dialogActions{position:relative!important;bottom:auto!important;background:#fff;z-index:2}
.dw-recordDetailDialog .dw-dialogClose{flex:0 0 38px;width:38px;height:38px;display:grid;place-items:center;border:1px solid #d9e1e7;border-radius:10px;background:#f6f8fa;color:#0a2133;font-size:24px;line-height:1;cursor:pointer}
@media(max-width:700px){
  .dw-recordDetailDialog{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;margin:auto!important;border-radius:18px!important}
  .dw-recordDetailDialog>.dw-detailSheet{max-block-size:calc(100dvh - 16px)!important}
  .dw-recordDetailDialog .dw-detailSheetHead{padding:14px}
  .dw-recordDetailDialog .dw-detailSheetBody{max-height:calc(100dvh - 150px)!important}
  .dw-recordDetailDialog .dw-detailGrid{padding:12px 14px 14px!important;grid-template-columns:1fr!important}
  .dw-recordDetailDialog .dw-dialogActions{padding:10px 14px calc(10px + env(safe-area-inset-bottom))!important}
  .dw-recordDetailDialog .dw-dialogActions .dw-button{width:100%;min-height:46px}
}

/* Build 117 — single-owner in-page record viewer; no native dialog/navigation */
html.dw-inline-record-open,html.dw-inline-record-open body{overflow:hidden!important}
.dw-inlineRecordOverlay[hidden]{display:none!important}
.dw-inlineRecordOverlay{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;padding:max(10px,env(safe-area-inset-top)) 10px max(10px,env(safe-area-inset-bottom));background:rgba(6,19,31,.32);backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.dw-inlineRecordPanel{direction:rtl;width:min(760px,calc(100vw - 20px));max-height:calc(100dvh - 20px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;border:1px solid #d9e1e7;border-radius:20px;background:#fff;box-shadow:0 28px 80px rgba(6,19,31,.34)}
.dw-inlineRecordHead{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:18px;border-bottom:1px solid #e4e9ed;background:#fff}
.dw-inlineRecordHead span{color:#9a7429;font-size:10px;font-weight:900}.dw-inlineRecordHead h3{margin:4px 0 0;color:#0a2133;font-size:20px;line-height:1.45}.dw-inlineRecordHead p{margin:5px 0 0;color:#657684;font-size:10px}
.dw-inlineRecordClose{flex:0 0 42px;width:42px;height:42px;display:grid;place-items:center;border:1px solid #d9e1e7;border-radius:12px;background:#f6f8fa;color:#0a2133;font-size:26px;line-height:1;cursor:pointer}
.dw-inlineRecordBody{min-height:0;overflow:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;background:#fff}
.dw-inlineRecordActions{padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #e4e9ed;background:#fff}.dw-inlineRecordActions .dw-button{min-width:150px}
@media(max-width:700px){.dw-inlineRecordOverlay{padding:8px}.dw-inlineRecordPanel{width:100%;max-height:calc(100dvh - 16px);border-radius:18px}.dw-inlineRecordHead{padding:14px}.dw-inlineRecordHead h3{font-size:18px}.dw-inlineRecordBody .dw-detailGrid{grid-template-columns:1fr!important;padding:12px 14px 14px!important}.dw-inlineRecordActions .dw-button{width:100%;min-height:46px}}

/* Build 118 — Director record action responsiveness and save state */
#directorWorkspaceRoot .dw-actionBtn{touch-action:manipulation;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none}
#directorWorkspaceRoot .dw-actionBtn.is-busy{opacity:.68;cursor:progress;pointer-events:none}
#dwRecordEditDialog [data-save][aria-busy="true"]{display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:progress;opacity:.9}
.dw-saveSpinner{display:inline-block;width:14px;height:14px;border:2px solid currentColor;border-inline-start-color:transparent;border-radius:50%;animation:dwSaveSpin .65s linear infinite}
@keyframes dwSaveSpin{to{transform:rotate(360deg)}}
#dwRecordEditDialog button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}

/* Build 119 — Phase 5 comprehensive report workspace */
#dwReportBuilder .dwrb-layout{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:14px;min-height:0}
#dwReportBuilder .dwrb-main{min-width:0}.dwrb-saved{border:1px solid #dce4ea;border-radius:14px;background:#f7f9fb;padding:12px;overflow:auto;max-height:62vh}.dwrb-saved h4{margin:0 0 10px;color:#0a2133}.dwrb-savedItem{width:100%;display:flex;justify-content:space-between;gap:8px;text-align:right;background:#fff;color:#0a2133;border:1px solid #dce4ea;border-radius:10px;padding:10px;margin-bottom:7px}.dwrb-savedItem span{display:block}.dwrb-savedItem b,.dwrb-savedItem small{display:block}.dwrb-savedItem small,.dwrb-savedItem time{font-size:9px;color:#6b7a87}.dwrb-history{margin-top:14px;border-top:1px solid #dce4ea;padding-top:10px}.dwrb-history>div{padding:7px 0;border-bottom:1px solid #e6ebef}.dwrb-history span,.dwrb-history small{display:block}.dwrb-history small,.dwrb-emptyMini{font-size:9px;color:#6b7a87}.dwrb-actions{position:sticky;bottom:0;background:#fff;z-index:3}.dwrb-issue{background:#8b6a25!important}
@media(max-width:780px){#dwReportBuilder .dwrb-layout{grid-template-columns:1fr}.dwrb-saved{max-height:190px}.dwrb-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:8px}.dwrb-actions .dw-button{width:100%;min-height:44px}}

/* Build 120 — Phase 5 comprehensive report AAA runtime shell */
#dwReportBuilder.dwrb-dialog{width:min(1180px,calc(100vw - 32px))!important;max-width:min(1180px,calc(100vw - 32px))!important;height:min(820px,calc(100dvh - 30px))!important;max-height:calc(100dvh - 30px)!important;padding:0!important;overflow:hidden!important;border:1px solid #d5dee5!important;border-radius:24px!important;background:#fff!important;box-shadow:0 34px 100px rgba(6,19,31,.34)!important}
#dwReportBuilder[open]{display:grid!important;grid-template-rows:minmax(0,1fr)}
#dwReportBuilder::backdrop{background:rgba(6,19,31,.62)!important;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
#dwReportBuilder #dwrbForm{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;background:#f4f7f9}
#dwReportBuilder .dwrb-head{position:relative!important;top:auto!important;padding:22px 24px 18px!important;background:linear-gradient(135deg,#071d2d,#0d3d5c)!important;color:#fff!important;border-bottom:0!important}
#dwReportBuilder .dwrb-head h3{margin:5px 0 4px;color:#fff;font-size:24px;line-height:1.35}#dwReportBuilder .dwrb-head p{margin:0;color:#d8e5ed;font-size:11px;line-height:1.7}.dwrb-kicker{color:#e0bd69;font-size:10px;font-weight:900}
#dwReportBuilder .dwrb-head .dw-dialogClose{background:#ffffff12;color:#fff;border-color:#ffffff2b}
#dwReportBuilder .dwrb-layout{min-height:0;overflow:hidden;padding:16px 18px 18px;background:#f4f7f9}
#dwReportBuilder .dwrb-main{min-height:0;overflow:auto;-webkit-overflow-scrolling:touch;padding-inline-end:3px}.dwrb-saved{max-height:none!important;height:100%;background:#fff!important;box-shadow:0 8px 28px rgba(15,35,50,.06)}.dwrb-asideTitle{padding-bottom:10px;border-bottom:1px solid #e7ecef;margin-bottom:10px}.dwrb-asideTitle span{display:block;color:#9a7429;font-size:9px;font-weight:900}.dwrb-asideTitle h4{margin:4px 0 0!important;font-size:14px!important}
#dwReportBuilder .dwrb-grid section{background:#fff;border:1px solid #dce4ea;border-radius:16px;padding:15px;box-shadow:0 8px 26px rgba(15,35,50,.045)}#dwReportBuilder .dwrb-grid section h4{margin:0 0 12px;color:#0a2133;font-size:13px}#dwReportBuilder input,#dwReportBuilder select,#dwReportBuilder textarea{font-size:14px;min-height:44px;border-radius:11px}
#dwReportBuilder .dwrb-choices{display:grid;gap:7px;max-height:310px;overflow:auto}.dwrb-choice{border:1px solid #e0e7ec;border-radius:11px;background:#fbfcfd;padding:10px;transition:.15s ease}.dwrb-choice:has(input:checked){border-color:#1d659a;background:#eef6fb}.dwrb-choice input{min-height:auto!important}
#dwReportBuilder .dwrb-actions{position:relative!important;bottom:auto!important;display:flex;gap:8px;justify-content:flex-start;flex-wrap:wrap;padding:12px 18px calc(12px + env(safe-area-inset-bottom))!important;box-shadow:0 -10px 30px rgba(6,19,31,.08)}
#dwReportBuilder .dwrb-loading{height:100%;min-height:420px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;padding:28px 34px;background:linear-gradient(135deg,#071d2d,#0e4668);color:#fff}.dwrb-loadingMark{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:#ffffff12;border:1px solid #ffffff22}.dwrb-loading strong{display:block;font-size:20px}.dwrb-loading p{margin:7px 0 0;color:#d7e5ee;font-size:11px}.dwrb-loading .dw-dialogClose{align-self:start;background:#ffffff12;color:#fff;border:1px solid #ffffff2b}
#dwReportBuilder .dwrb-errorState{height:100%;display:grid;place-items:center;align-content:center;gap:10px;padding:30px;text-align:center;background:#fff}.dwrb-errorState strong{font-size:20px;color:#0a2133}.dwrb-errorState p{max-width:620px;color:#657684;line-height:1.8}
@media(max-width:780px){#dwReportBuilder.dwrb-dialog{width:calc(100vw - 12px)!important;max-width:calc(100vw - 12px)!important;height:calc(100dvh - 14px)!important;max-height:calc(100dvh - 14px)!important;border-radius:20px!important}#dwReportBuilder .dwrb-head{padding:16px 15px 13px!important}#dwReportBuilder .dwrb-head h3{font-size:20px}#dwReportBuilder .dwrb-layout{padding:10px;overflow:auto;display:block}.dwrb-saved{height:auto;max-height:185px!important;margin-bottom:10px}#dwReportBuilder .dwrb-main{overflow:visible}.dwrb-actions{grid-template-columns:1fr 1fr!important}.dwrb-loading{grid-template-columns:1fr!important;text-align:center;justify-items:center;padding:24px 18px!important}.dwrb-loading .dw-dialogClose{position:absolute;inset-inline-start:18px;top:18px}}

/* Build 179 — header actions are a dedicated row, never overlay the period controls */
#directorWorkspaceRoot .dw-directorHeaderActions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;clear:both!important}
#directorWorkspaceRoot .dw-headerAction{width:100%!important;min-width:0!important;max-width:100%!important;white-space:normal!important;line-height:1.35!important}
@media(max-width:700px){#directorWorkspaceRoot .dw-directorHeaderActions{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:430px){#directorWorkspaceRoot .dw-directorHeaderActions{grid-template-columns:1fr!important}}

/* Build 180 — modal chrome containment */
#directorateSettingsDialog,#directorateUpdatesDialog{box-sizing:border-box!important;border:1px solid #d9e1e7!important;overflow:hidden!important;background:#fff!important}
#directorateSettingsDialog>.dw-dialogHead,#directorateUpdatesDialog>.dw-dialogHead{box-sizing:border-box!important;width:100%!important;min-width:0!important;padding:18px 24px 14px!important;align-items:flex-start!important}
#directorateSettingsDialog>.dw-dialogHead>div,#directorateUpdatesDialog>.dw-dialogHead>div{min-width:0!important;flex:1 1 auto!important}
#directorateSettingsDialog>.dw-dialogHead [data-close],#directorateUpdatesDialog>.dw-dialogHead [data-close]{position:static!important;inset:auto!important;flex:0 0 40px!important;width:40px!important;height:40px!important;margin:0!important;transform:none!important;box-sizing:border-box!important}
@media(max-width:700px){#directorateSettingsDialog>.dw-dialogHead,#directorateUpdatesDialog>.dw-dialogHead{padding:14px 16px 12px!important}}

/* Director updates feed: bounded mobile scroll + lazy paging. */
.dw-updatesDialog{max-height:min(86dvh,820px)!important;overflow:hidden!important;display:flex;flex-direction:column}
.dw-updatesDialog .dw-dialogHead{flex:0 0 auto}
.dw-updatesToolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 18px;border-bottom:1px solid #e5ebf0;background:#fff;flex:0 0 auto}
.dw-updatesToolbar>span{font-size:11px;font-weight:900;color:#667085}
.dw-updatesToolbar .dw-button-danger{background:#fff!important;color:#a52a22!important;border:1px solid #e6b9b5!important;min-height:38px;padding:8px 12px}
.dw-updatesDialog .dw-eventFeed{overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;min-height:0;flex:1 1 auto;padding:14px 18px;scrollbar-gutter:stable}
.dw-updatesDialog .dw-eventFeed article{margin-bottom:10px}
.dw-updatesFooter{padding:10px 18px 14px;border-top:1px solid #e5ebf0;background:#fff;flex:0 0 auto}
.dw-updatesFooter .dw-button{width:100%;min-height:42px}
@media(max-width:760px){
 .dw-updatesDialog{width:calc(100vw - 24px)!important;max-width:none!important;height:min(82dvh,760px)!important;max-height:82dvh!important;margin:auto!important}
 .dw-updatesDialog .dw-dialogHead{padding:16px!important}
 .dw-updatesDialog .dw-eventFeed{padding:12px!important}
 .dw-updatesToolbar,.dw-updatesFooter{padding-inline:12px}
}

/* Phase 5.7 desktop navigation rail — reference layout. Mobile footer remains unchanged. */


/* Phase 5.7 FINAL desktop reference rail — mobile footer untouched. */
