/* Shared by the hub, FY26, usage and sign-in screens. Keep browser zoom enabled. */
html{min-height:100%;scroll-padding-bottom:calc(16px + env(safe-area-inset-bottom))}
body{min-height:100vh;min-height:100dvh}
img,video,canvas,svg{max-width:100%}
.sidebar,body>aside{padding-top:max(30px,env(safe-area-inset-top));padding-left:max(25px,env(safe-area-inset-left));padding-bottom:max(24px,env(safe-area-inset-bottom));overflow-y:auto}
body:has(#send-code){padding: max(24px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left))}
body:has(#send-code)>main{padding:24px}
dialog{box-sizing:border-box;max-width:calc(100vw - 32px - env(safe-area-inset-left) - env(safe-area-inset-right));max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow:auto;overscroll-behavior:contain;overflow-wrap:anywhere}
dialog form,dialog label,dialog input,dialog select,dialog textarea{min-width:0;max-width:100%}
dialog input:not([type=checkbox]):not([type=radio]),dialog select,dialog textarea{font-size:16px;min-height:44px}
dialog button,dialog a{min-height:44px}
.hub-install{display:block;max-width:100%;margin:18px 0 0;padding:12px 16px;min-height:48px;border:1px solid #b49a69;border-radius:4px;background:#111112;color:white;font:600 15px/1.4 Arial,sans-serif;cursor:pointer;white-space:normal}
.hub-install[hidden]{display:none!important}.hub-install-dialog{width:440px;background:#f3f2f0;color:#1c1b1c;border:1px solid #b49a69;padding:24px;font:16px/1.6 Arial,sans-serif}.hub-install-dialog::backdrop{background:#0009}.hub-install-dialog button{padding:10px 20px;font:inherit;cursor:pointer}.hub-install-dialog p{color:#48464a}.hub-install-dialog h2{font:26px Georgia,serif}
@media screen and (max-width:700px),screen and (max-width:1024px) and (pointer:coarse),screen and (max-width:1024px) and (max-height:600px){
 body{font-size:16px;overflow-wrap:anywhere}
 .sidebar.mobile-nav-ready,aside.mobile-nav-ready{padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) 16px max(16px,env(safe-area-inset-left));overflow:visible}
 main,body>main{margin-left:0;min-width:0;max-width:100%;padding:18px max(16px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}
 .district-label,.side-label,.sidebar h2,.sidebar>p,aside>h2,aside>p{display:none}
 .sidebar-bottom,.side-bottom{display:block;margin-top:16px;padding-top:0;border:0}.sidebar-bottom>:not(.hub-install),.side-bottom>:not(.hub-install){display:none}
 .hub-install{margin-top:12px;width:100%}
 main>* ,#content>*,.panel>*,.heading>*{min-width:0}
 .heading,.section-head,footer,.legend,.team-pagination,.compare-inputs{flex-wrap:wrap;gap:12px;height:auto}
 header{gap:12px;min-height:60px;height:auto;padding:16px 0;flex-wrap:wrap}
 h1{font-size:30px}.summary,.metrics,.grid-two,.cards{grid-template-columns:minmax(0,1fr)}
 button,a.secondary,.member-link,summary{min-height:44px;touch-action:manipulation}
 input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px!important;min-height:44px;min-width:0;max-width:100%}
 input[type=checkbox],input[type=radio]{width:24px;height:24px;flex-shrink:0}label:has(input[type=checkbox]),label:has(input[type=radio]){min-height:44px;align-content:center}
 .panel-label,.metric-label,.metric .quantity,.filter-note,.section-head p,.scope,.note,.mini{font-size:13px;line-height:1.5}
 .panel,.card{padding:16px}.form-grid{grid-template-columns:1fr}.financial-year-switch{flex-wrap:wrap}
 .presentation-generate-controls label{min-width:0;width:100%}
 .team-presentation-dialog{padding:0;max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));width:calc(100vw - 24px);display:flex;flex-direction:column;overflow:auto}
 .team-presentation-dialog:fullscreen{width:100vw;height:100dvh;max-height:100dvh;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}
 .team-presentation-dialog:not([open]){display:none}
 .presentation-toolbar,.presentation-controls{flex-wrap:wrap;padding:12px;flex-shrink:0;gap:10px}
 .presentation-stage{min-height:0;max-height:none;overflow:visible;padding:10px}
 .presentation-slide{min-height:0;padding:20px 14px}.presentation-slide header{display:block}.presentation-slide header h2{font-size:26px}
 .deck-metrics,.deck-evidence-columns{grid-template-columns:1fr;gap:18px}
 .deck-chart svg{min-width:0!important;height:auto}.deck-chart{overflow:visible}
 .presentation-slide:has(.deck-table-wrap) .deck-table,.deck-table{min-width:0!important;table-layout:fixed!important;width:100%;font-size:14px}
 .deck-table th,.deck-table td{overflow-wrap:anywhere;padding:8px 4px!important}
 .hub-signout{margin:0!important;padding:16px max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}
 .hub-signout button{font-size:16px;min-height:48px}
}
@media screen and (min-width:540px) and (max-width:1024px) and (pointer:coarse){.summary,.metrics,.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media print{.hub-install,.hub-install-dialog{display:none!important}}
