/* Shared viewport shell. Inner spacing is deliberate; there is no outer app margin. */
html.hfdv-portal-document{margin:0!important;padding:0!important;min-height:100%;width:100%;scroll-padding-top:12px}
body.hfdv-portal-page{margin:0!important;padding:0!important;width:100%;max-width:none;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;background:#f3f5f5}
body.hfdv-portal-page #hfdv-portal-main{display:block;flex:1 0 auto;width:100%;max-width:none;margin:0;padding:0}
.hfdv{display:block;width:100%;max-width:none;min-width:0;margin:0;padding:0}
.hfdv .hfdv-layout{width:100%;max-width:none;min-height:100vh;min-height:100dvh;grid-template-columns:264px minmax(0,1fr);border:0;border-radius:0;box-shadow:none;overflow:visible}
body.hfdv-portal-page .hfdv-layout{min-height:100vh;min-height:100dvh}
.hfdv .hfdv-sidebar{min-width:0;padding:24px 16px 16px;gap:0}
.hfdv .hfdv-brand{margin:0 0 24px;padding:0 8px;min-height:44px}
.hfdv .hfdv-sidebar nav{display:flex;flex-direction:column;gap:4px;overflow:visible;max-height:none;width:100%;min-width:0}
.hfdv .hfdv-sidebar nav .hfdv-btn,.hfdv .hfdv-user .hfdv-btn{display:flex;align-items:center;justify-content:flex-start;width:100%;min-height:42px;border:0;box-shadow:none;white-space:normal;text-align:left;padding:10px 12px;color:#d8e3e9;background:transparent;font-size:13px;text-decoration:none}
.hfdv .hfdv-sidebar nav .hfdv-btn:hover,.hfdv .hfdv-user .hfdv-btn:hover{background:#244859;color:#fff}
.hfdv .hfdv-sidebar nav .hfdv-btn.is-active{background:#315367;box-shadow:inset 3px 0 #d8a44b;color:#fff}
.hfdv .hfdv-nav-group{margin:0;border:0;padding:0;min-width:0}
.hfdv .hfdv-nav-group>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:46px;margin:0;padding:10px 12px;border-radius:5px;font-size:13px;font-weight:650;line-height:1.5;cursor:pointer;color:#d8e3e9;background:transparent}
.hfdv .hfdv-nav-group>summary::-webkit-details-marker{display:none}
.hfdv .hfdv-nav-group>summary::after{content:'›';font:22px/1 system-ui,sans-serif;transform:none;position:static;width:auto;height:auto;color:#b0c0c9}
.hfdv .hfdv-nav-group[open]>summary::after{transform:rotate(90deg)}
.hfdv .hfdv-nav-group>summary:hover,.hfdv .hfdv-nav-group.has-current>summary{background:#244859;color:#fff}
.hfdv .hfdv-nav-group>summary:focus-visible{outline:3px solid #d8a44b;outline-offset:1px}
.hfdv .hfdv-nav-items{display:grid;gap:3px;margin:3px 0 10px 8px;padding-left:7px;border-left:1px solid #537081}
.hfdv .hfdv-user{padding:24px 12px 0;overflow-wrap:anywhere}
.hfdv .hfdv-user .hfdv-btn{margin:12px -10px 0;width:calc(100% + 20px)}
.hfdv .hfdv-account-link{border-top:1px solid #537081;padding-top:8px;margin-top:8px}
.hfdv .hfdv-main{display:flex;flex-direction:column;width:100%;min-width:0;min-height:100vh;min-height:100dvh}
.hfdv .hfdv-top{margin:0;min-height:76px;width:100%;align-items:center;padding:16px clamp(18px,2.5vw,40px)}
.hfdv .hfdv-content{flex:1 0 auto;min-width:0;width:100%;max-width:none;margin:0;padding:28px clamp(18px,2.5vw,40px) 36px}
.hfdv .hfdv-content>*{max-width:100%}
.hfdv .hfdv-heading{flex-wrap:wrap;align-items:flex-start;margin-bottom:26px}
.hfdv .hfdv-heading>div:first-child{flex:1 1 320px;min-width:0}
.hfdv .hfdv-heading .hfdv-actions{flex:0 1 auto;max-width:100%}
.hfdv .hfdv-heading h1{overflow-wrap:anywhere}
.hfdv .hfdv-actions .hfdv-btn{white-space:normal}
.hfdv .hfdv-footer,.hfdv-public-footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;width:100%;margin:0;padding:16px clamp(18px,2.5vw,40px);border-top:1px solid #dce3e5;background:#fff;color:#61717d;font:12px/1.5 system-ui,sans-serif}
.hfdv .hfdv-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;padding:18px;margin:0 0 22px}
.hfdv .hfdv-filters>.hfdv-field{flex:1 1 160px;min-width:min(100%,160px);max-width:100%}
.hfdv .hfdv-filters>.hfdv-field:first-child{flex-basis:210px}
.hfdv .hfdv-filters>.hfdv-btn{flex:0 0 auto}
.hfdv .hfdv-room-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr))}
.hfdv .hfdv-card{min-width:0;margin-bottom:22px}
.hfdv .hfdv-empty{margin:0 0 22px;padding:32px 20px}
.hfdv .hfdv-table-wrap{width:100%;max-width:100%;margin-bottom:18px;overscroll-behavior-x:contain}
.hfdv .hfdv-section-title{margin-top:24px}
/* A native control, with theme icon pseudo-elements explicitly removed. */
.hfdv label.hfdv-check{display:flex!important;position:relative;align-items:flex-start!important;gap:12px!important;width:auto;min-width:0;min-height:24px;margin:0;padding:0!important;text-indent:0;font-size:14px;line-height:1.6;cursor:pointer}
.hfdv input[type=checkbox]{appearance:auto!important;-webkit-appearance:checkbox!important;display:inline-block!important;position:static!important;flex:0 0 20px!important;width:20px!important;height:20px!important;min-width:20px!important;max-width:20px!important;min-height:20px!important;max-height:20px!important;margin:2px 0 0!important;padding:0!important;transform:none!important;opacity:1!important;clip:auto!important;clip-path:none!important;border-radius:3px;box-shadow:none;accent-color:#153e56;vertical-align:top}
.hfdv input[type=checkbox]::before,.hfdv input[type=checkbox]::after,.hfdv label.hfdv-check::before,.hfdv label.hfdv-check::after,.hfdv .hfdv-check>span::before,.hfdv .hfdv-check>span::after{content:none!important;display:none!important}
.hfdv .hfdv-check>span{display:block!important;position:static!important;flex:1 1 auto;min-width:0;margin:0!important;padding:0!important;text-indent:0!important;overflow-wrap:anywhere}
.hfdv .hfdv-form{align-items:start;column-gap:24px;row-gap:20px}
.hfdv .hfdv-form-footer{flex-wrap:wrap}
.hfdv .hfdv-dialog{max-height:92vh;max-height:92dvh;overscroll-behavior:contain}
.hfdv-public-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:0;padding:22px clamp(18px,2.5vw,40px);background:#153344;color:#eaf0f1;font:14px/1.5 system-ui,sans-serif}
.hfdv-public-header a{font-weight:700;color:inherit;text-decoration:none}
.hfdv-public-header,.hfdv-public-footer{box-sizing:border-box;min-width:0}
.hfdv-public-header span{font-size:12px}
body.hfdv-portal-page #hfdv-portal-main.hfdv-public-main{display:flex;flex-direction:column;justify-content:center}
.hfdv.hfdv-auth{display:grid;place-items:center;width:100%;max-width:none;min-height:0;margin:0;padding:28px 18px}
.hfdv .hfdv-auth-card{width:min(100%,520px);margin:0 auto}
.hfdv:has(>.hfdv-guest){padding:28px 18px}
.hfdv .hfdv-guest{width:min(100%,740px);max-width:740px;margin:0 auto}
@media(max-width:1050px){
 .hfdv .hfdv-layout{grid-template-columns:230px minmax(0,1fr)}
 .hfdv .hfdv-heading{flex-direction:row}.hfdv .hfdv-heading>div:first-child{flex-basis:100%}
}
@media(max-width:760px){
 .hfdv .hfdv-layout{display:flex;flex-direction:column;min-height:100dvh}
 .hfdv .hfdv-sidebar{padding:12px 16px;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px 16px}
 .hfdv .hfdv-brand{order:-2;flex:1 1 180px;margin:0;min-height:38px;font-size:16px;padding:0}
 .hfdv .hfdv-brand small{max-width:none}.hfdv .hfdv-brand b{width:32px;height:36px;font-size:24px}
 .hfdv .hfdv-menu-toggle{display:block;order:-1;margin:0;padding:8px 10px;min-height:44px;font-size:12px;white-space:normal}
 .hfdv .hfdv-sidebar nav{display:none!important;flex-basis:100%;max-height:65dvh;overflow:auto;flex-direction:column;padding:6px 2px}
 .hfdv .hfdv-sidebar.is-menu-open nav{display:flex!important;flex-direction:column;overflow:auto;max-height:65dvh}
 .hfdv .hfdv-sidebar nav .hfdv-btn{min-height:44px;width:100%}
 .hfdv .hfdv-user{display:none}.hfdv .hfdv-main{min-height:0;flex:1}
 .hfdv .hfdv-top{min-height:60px;flex-wrap:wrap;gap:10px;padding:12px 16px;font-size:11px}
 .hfdv .hfdv-content{flex:1;padding:22px 16px 28px}
 .hfdv .hfdv-heading>div:first-child{flex-basis:100%}.hfdv .hfdv-heading{gap:14px}
 .hfdv .hfdv-filters{gap:12px;padding:14px}.hfdv .hfdv-filters>.hfdv-field,.hfdv .hfdv-filters>.hfdv-field:first-child{flex-basis:100%;min-width:0}
 .hfdv .hfdv-form{grid-template-columns:minmax(0,1fr);gap:18px}
 .hfdv .hfdv-check{grid-column:1/-1}.hfdv .hfdv-inline{flex-wrap:wrap}
 .hfdv .hfdv-dialog,.hfdv .hfdv-dialog-wide{width:96vw;max-height:94dvh;margin:auto}
 .hfdv .hfdv-form-footer{position:static;z-index:auto}
 .hfdv .hfdv-chapter-grid,.hfdv .hfdv-year-grid{grid-template-columns:minmax(0,1fr)}
 .hfdv-public-header{padding:16px}.hfdv-public-header span{display:none}
}
@media print{.hfdv .hfdv-layout,.hfdv .hfdv-main{display:block;min-height:0}.hfdv .hfdv-footer,.hfdv-public-header,.hfdv-public-footer{display:none!important}.hfdv .hfdv-content{padding:0}.hfdv .hfdv-table-wrap{overflow:visible}}
.hfdv .hfdv-std-tabs{margin-bottom:24px}.hfdv .hfdv-table td>.hfdv-btn+.hfdv-btn{margin:4px 0 4px 6px}.hfdv .hfdv-table td>.hfdv-btn{white-space:normal}.hfdv .hfdv-table small{overflow-wrap:anywhere}
/* Checked and disabled selectors also defeat themes that render an icon ligature. */
.hfdv .hfdv-check input[type=checkbox]:checked::before,.hfdv .hfdv-check input[type=checkbox]:checked::after,.hfdv .hfdv-form input[type=checkbox]:checked::before,.hfdv .hfdv-form input[type=checkbox]:checked::after,.hfdv .hfdv-form input[type=checkbox]:disabled::before,.hfdv .hfdv-form input[type=checkbox]:disabled::after{content:none!important;display:none!important}
/* FDV identity. The supplied image is kept unchanged, including its transparency. */
.hfdv .hfdv-brand,.hfdv-public-header .hfdv-brand{display:flex;align-items:center;gap:14px;font:700 22px/1.2 system-ui,-apple-system,sans-serif;letter-spacing:normal}
.hfdv .hfdv-brand>img,.hfdv-public-header .hfdv-brand>img{display:block;flex:0 0 56px;width:56px;height:56px;max-width:56px;object-fit:contain;border:0;border-radius:5px;background:#fff;margin:0;padding:0}
.hfdv .hfdv-brand>span,.hfdv-public-header .hfdv-brand>span{font:inherit;color:inherit;letter-spacing:normal}
.hfdv-public-header .hfdv-brand{margin:0;padding:0;color:#eaf0f1}
.hfdv-public-header .hfdv-brand>span{display:block}
@media(max-width:760px){.hfdv .hfdv-brand>img,.hfdv-public-header .hfdv-brand>img{flex-basis:44px;width:44px;height:44px;max-width:44px}.hfdv .hfdv-brand,.hfdv-public-header .hfdv-brand{font-size:20px;gap:12px}}
