/* Hello Fleet theme: page base (Twenty Twenty-Five used to provide this) */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:#f7f9fc;color:#16213e;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.5}
a{color:#0b65c6}
button,input,select,textarea{font:inherit}
img{max-width:100%;height:auto}
[hidden]{display:none!important}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hf-skip:focus{clip:auto;width:auto;height:auto;margin:0;left:12px;top:12px;z-index:100000;background:#fff;color:#101936;padding:10px 14px;border-radius:10px;box-shadow:0 12px 32px rgba(16,25,54,.12);white-space:normal}
.hf-portal{display:block}

/* ---- Plugin styles (hello-group-fleet 1.0.12), kept as they were ---- */
:root{--hgf-blue:#168df2;--hgf-pink:#ec168a;--hgf-green:#78be20;--hgf-orange:#ff9700;--hgf-navy:#101936;--hgf-text:#16213e;--hgf-muted:#69748a;--hgf-line:#e8edf5;--hgf-bg:#f7f9fc;--hgf-shadow:0 14px 36px rgba(16,25,54,.08)}
body:has(.hgf-app),body:has(.hgf-auth-screen){background:var(--hgf-bg)}
.hgf-app,.hgf-auth-screen,.hgf-wrap{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--hgf-text)}
.hgf-app{max-width:1380px;margin:0 auto;display:grid;grid-template-columns:220px 1fr;min-height:88vh;background:#fff;border-radius:0 0 22px 22px;box-shadow:var(--hgf-shadow);overflow:hidden}
.hgf-sidebar{background:#fff;border-right:1px solid var(--hgf-line);padding:24px 18px}.hgf-main{background:linear-gradient(180deg,#fff 0%,#fbfcff 100%);padding:36px 46px;min-width:0}.hgf-logo{text-align:center;line-height:1;margin-bottom:28px;font-weight:900;letter-spacing:.5px}.hgf-logo>span{font-size:40px;display:inline-block}.hgf-logo small,.hgf-logo b{display:block;color:#38445d;letter-spacing:6px;font-size:12px;margin-top:5px}.hgf-logo b{font-size:16px;letter-spacing:3px;margin-top:8px}.hgf-l1{color:#75bd25}.hgf-l2{color:#0d75bc}.hgf-l3{color:#7b178f}.hgf-l4{color:#ee1688}.hgf-l5{color:#0e9de5}.hgf-sidebar nav a{display:flex;align-items:center;gap:12px;padding:13px 14px;border-radius:10px;text-decoration:none;color:#25304c!important;font-weight:700;font-size:14px;margin:7px 0;transition:.18s}.hgf-sidebar nav a:hover,.hgf-sidebar nav a.active{background:var(--hgf-blue);color:#fff!important;box-shadow:0 10px 22px rgba(22,141,242,.22)}.hgf-nav-ico{width:21px;height:21px;display:inline-flex}.hgf-nav-ico svg{width:21px;height:21px;fill:currentColor}
.hgf-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:28px}.hgf-page-head h1,.hgf-form-head h1{font-size:30px;line-height:1.2;margin:0 0 8px;color:var(--hgf-navy)}.hgf-page-head p,.hgf-form-head p{margin:0;color:var(--hgf-muted);font-weight:600}.hgf-user-chip{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--hgf-line);border-radius:999px;padding:8px 14px;box-shadow:0 8px 20px rgba(16,25,54,.05);font-weight:800}.hgf-avatar,.hgf-profile-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--hgf-blue),#32c7ff);color:#fff;font-weight:900}
.hgf-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:26px}.hgf-action{position:relative;min-height:170px;border-radius:16px;padding:26px 22px;color:#fff!important;text-decoration:none;overflow:hidden;box-shadow:0 12px 26px rgba(0,0,0,.13);transition:.18s}.hgf-action:hover{transform:translateY(-3px)}.hgf-action svg{width:58px;height:58px;fill:#fff;opacity:.95;margin-bottom:18px}.hgf-action strong{display:block;font-size:17px;text-transform:uppercase;letter-spacing:.7px;margin-bottom:8px}.hgf-action span{display:block;font-size:14px;line-height:1.5;font-weight:700;opacity:.95}.hgf-action em{position:absolute;right:18px;bottom:18px;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.92);color:inherit;font-style:normal;font-weight:900}.hgf-action.blue{background:linear-gradient(135deg,#0877df,var(--hgf-blue))}.hgf-action.pink{background:linear-gradient(135deg,#e80c77,#ff2aa0)}.hgf-action.green{background:linear-gradient(135deg,#63af17,#98d83b)}.hgf-action.orange{background:linear-gradient(135deg,#ff8a00,#ffb000)}
.hgf-info-grid,.hgf-grid,.hgf-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:20px 0}.hgf-card,.hgf-hero{background:#fff;border:1px solid var(--hgf-line);border-radius:18px;padding:24px;box-shadow:var(--hgf-shadow);margin-bottom:20px}.hgf-metric{display:flex;align-items:center;gap:18px}.hgf-metric h3{margin:0 0 5px;color:var(--hgf-navy)}.hgf-metric p{margin:0;color:var(--hgf-muted);font-weight:600}.hgf-round{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:900;flex:0 0 auto}.hgf-round svg{width:30px;height:30px;fill:#fff}.hgf-round.blue{background:var(--hgf-blue)}.hgf-round.pink{background:var(--hgf-pink)}.hgf-round.green{background:var(--hgf-green)}
.hgf-topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.hgf-back-pill{display:inline-flex;align-items:center;background:#fff;border:1px solid var(--hgf-line);border-radius:8px;padding:10px 14px;color:var(--hgf-navy)!important;text-decoration:none;font-weight:800;box-shadow:0 6px 18px rgba(16,25,54,.04)}.hgf-top-user{color:var(--hgf-muted);font-weight:800}.hgf-form-head{margin-bottom:22px}.hgf-form h3{color:var(--hgf-navy);margin:24px 0 12px}.hgf-form label{display:block;font-weight:800;margin:14px 0 8px;color:#202b49}.hgf-form input,.hgf-form textarea,.hgf-form select{width:100%;padding:13px 14px;border:1px solid #dfe6f0;border-radius:9px;box-sizing:border-box;background:#fff;font:inherit;color:var(--hgf-text);outline:none}.hgf-form input:focus,.hgf-form textarea:focus,.hgf-form select:focus{border-color:var(--hgf-blue);box-shadow:0 0 0 4px rgba(22,141,242,.1)}.hgf-fields-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.hgf-checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;background:#f8fbff;border:1px solid var(--hgf-line);border-radius:14px;padding:14px}.hgf-checks label{margin:0;font-weight:700;background:#fff;border:1px solid var(--hgf-line);border-radius:10px;padding:12px}.hgf-checks input,.hgf-accept input{width:auto;margin-right:8px}.hgf-upload-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.hgf-upload-card{border:2px dashed #cdd8e8!important;border-radius:16px;padding:18px!important;background:#fbfdff;text-align:center;cursor:pointer;min-height:120px;display:flex!important;flex-direction:column;align-items:center;justify-content:center;transition:.18s}.hgf-upload-card:before{content:"＋";width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:rgba(22,141,242,.1);color:var(--hgf-blue);font-size:26px;margin-bottom:9px}.hgf-upload-card span{font-weight:900}.hgf-upload-card small{color:var(--hgf-muted);font-weight:700;margin-top:4px}.hgf-upload-card input{position:absolute;opacity:0;pointer-events:none}.hgf-upload-card.hgf-file-selected{border-color:var(--hgf-green)!important;background:#f3fbeb}.hgf-upload-card.hgf-file-selected:before{content:"✓";background:var(--hgf-green);color:#fff}.hgf-form-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.hgf-btn{display:inline-flex;align-items:center;justify-content:center;background:var(--hgf-navy);color:#fff!important;border:0;border-radius:12px;padding:14px 20px;text-decoration:none;cursor:pointer;font-weight:900;margin:8px 8px 8px 0;min-height:48px;box-shadow:0 10px 20px rgba(16,25,54,.14);letter-spacing:.2px}.hgf-btn:hover{filter:brightness(.96);transform:translateY(-1px)}.hgf-btn-primary{background:linear-gradient(135deg,#0574dc,#168df2)!important;color:#fff!important}.hgf-btn-gps{background:linear-gradient(135deg,#68b91e,#95d336)!important;color:#fff!important;border:0!important}.hgf-btn-soft,.hgf-btn-light{background:#ffffff!important;color:var(--hgf-navy)!important;border:2px solid #b7cef0!important;box-shadow:0 8px 18px rgba(16,25,54,.08)}.hgf-muted{color:var(--hgf-muted)}.hgf-notice{background:#ecfdf3;border:1px solid #12b76a;color:#064e3b;border-radius:12px;padding:12px 14px;margin:12px 0;font-weight:800}.hgf-policy{background:#f8fbff;border:1px solid var(--hgf-line);border-radius:14px;padding:18px;max-height:280px;overflow:auto}.hgf-policy-tabs{display:flex;gap:20px;border-bottom:1px solid var(--hgf-line);margin:10px 0 22px}.hgf-policy-tabs span{padding:12px 0;color:var(--hgf-blue);font-weight:900;border-bottom:3px solid var(--hgf-blue)}.hgf-accept{display:flex!important;align-items:center;background:#fbfdff;border:1px solid var(--hgf-line);border-radius:12px;padding:14px!important}.hgf-profile-row{display:flex;align-items:center;gap:14px;padding:16px;background:#fbfdff;border:1px solid var(--hgf-line);border-radius:16px;margin-bottom:18px}.hgf-profile-row p{margin:5px 0 0;color:var(--hgf-muted)}.hgf-profile-avatar{width:72px;height:72px;font-size:30px}
.hgf-auth-screen{min-height:88vh;display:grid;grid-template-columns:1fr 440px;align-items:center;gap:38px;max-width:1120px;margin:0 auto;padding:44px 20px}.hgf-auth-brand{background:#fff;border:1px solid var(--hgf-line);border-radius:24px;padding:44px;box-shadow:var(--hgf-shadow);text-align:center}.hgf-auth-brand h1{font-size:38px;color:var(--hgf-navy);margin:20px 0 10px}.hgf-auth-brand p{color:var(--hgf-muted);font-weight:700;font-size:17px}.hgf-auth-card{background:#fff;border:1px solid var(--hgf-line);border-radius:24px;padding:30px;box-shadow:var(--hgf-shadow)}.hgf-auth-card h2{margin:0 0 18px;color:var(--hgf-navy)}.hgf-auth-card .login-username label,.hgf-auth-card .login-password label{font-weight:800}.hgf-auth-card input[type=text],.hgf-auth-card input[type=password]{width:100%;padding:13px;border:1px solid #dfe6f0;border-radius:10px}.hgf-auth-card .button{background:var(--hgf-blue);border:0;color:#fff;border-radius:10px;padding:12px 18px;font-weight:900}.hgf-auth-link a{color:var(--hgf-blue);font-weight:900}.hgf-wrap{max-width:1100px;margin:30px auto;padding:0 16px}
@media(max-width:1100px){.hgf-app{grid-template-columns:1fr}.hgf-sidebar{border-right:0;border-bottom:1px solid var(--hgf-line);padding:16px;position:relative}.hgf-sidebar .hgf-logo{margin-bottom:12px}.hgf-sidebar nav{display:flex;gap:8px;overflow:auto;padding-bottom:4px}.hgf-sidebar nav a{white-space:nowrap;margin:0}.hgf-main{padding:26px 22px}.hgf-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hgf-info-grid,.hgf-grid,.hgf-stats{grid-template-columns:1fr}.hgf-auth-screen{grid-template-columns:1fr;max-width:640px}.hgf-auth-brand{padding:26px}}
@media(max-width:720px){.hgf-app{box-shadow:none;border-radius:0}.hgf-main{padding:20px 14px}.hgf-page-head{display:block}.hgf-user-chip{margin-top:14px;width:max-content}.hgf-page-head h1,.hgf-form-head h1{font-size:24px}.hgf-action-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hgf-action{min-height:150px;padding:18px 14px}.hgf-action svg{width:46px;height:46px}.hgf-action strong{font-size:13px}.hgf-action span{font-size:12px}.hgf-card{padding:18px;border-radius:16px}.hgf-fields-2,.hgf-checks,.hgf-upload-grid{grid-template-columns:1fr}.hgf-form-actions .hgf-btn,.hgf-btn{width:100%;margin-right:0}.hgf-topbar{align-items:flex-start;gap:10px;flex-direction:column}.hgf-auth-screen{padding:18px}.hgf-auth-card,.hgf-auth-brand{border-radius:18px;padding:22px}.hgf-logo>span{font-size:34px}.hgf-sidebar nav a{font-size:13px;padding:10px 12px}}


/* v1.0.4 clean-up */
.hgf-main{background:linear-gradient(180deg,#ffffff 0%,#fbfcff 100%)}
.hgf-card,.hgf-hero,.hgf-auth-card,.hgf-auth-brand{border-color:#e8eef8;box-shadow:0 12px 32px rgba(16,25,54,.07)}
.hgf-page-head{padding:2px 0 4px}.hgf-page-head h1{font-weight:900;letter-spacing:-.3px}.hgf-page-head p{font-size:15px}.hgf-sidebar nav a{border:1px solid transparent}.hgf-sidebar nav a:not(.active):hover{border-color:#dce8f8;background:#f7fbff;color:#0b65c6!important;box-shadow:none}.hgf-action{border-radius:20px;min-height:165px}.hgf-action strong{font-weight:950}.hgf-info-grid{align-items:stretch}.hgf-form h3{padding-top:8px;border-top:1px solid #edf2fa}.hgf-form h3:first-of-type{border-top:0}.hgf-form input,.hgf-form textarea,.hgf-form select{min-height:48px}.hgf-upload-card{background:#ffffff!important}.hgf-upload-card:hover{border-color:#168df2!important;background:#f7fbff!important}.hgf-location-status,.hgf-submit-status{font-weight:800;background:#f8fbff;border:1px solid #e5edf8;border-radius:10px;padding:10px 12px}.hgf-form-actions{border-top:1px solid #edf2fa;padding-top:18px}.hgf-back-pill:hover{background:#f7fbff;color:#0b65c6!important}.hgf-policy-tabs span:nth-child(2){color:#ee1688;border-bottom-color:#ee1688}.hgf-notice{box-shadow:0 8px 18px rgba(18,183,106,.08)}
@media(max-width:1100px){.hgf-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:860px){.hgf-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.hgf-sidebar nav a{min-width:max-content}.hgf-action-grid{grid-template-columns:1fr 1fr}.hgf-action{min-height:138px}.hgf-action em{width:30px;height:30px}.hgf-form-actions{gap:8px}.hgf-btn{min-height:50px;font-size:15px}}
@media(max-width:430px){.hgf-action-grid{grid-template-columns:1fr}.hgf-action{min-height:126px}.hgf-action svg{margin-bottom:10px}.hgf-sidebar{padding:12px}.hgf-main{padding:16px 12px}}


/* v1.0.6 device optimization + driver admin-bar removal polish */
html:has(.hgf-app),html:has(.hgf-auth-screen){margin-top:0!important;overflow-x:hidden}
body:has(.hgf-app),body:has(.hgf-auth-screen){margin-top:0!important;overflow-x:hidden}
body:has(.hgf-app) #wpadminbar,body:has(.hgf-auth-screen) #wpadminbar{display:none!important}
.hgf-app *, .hgf-auth-screen *, .hgf-wrap *, .hgf-app *:before, .hgf-auth-screen *:before, .hgf-wrap *:before, .hgf-app *:after, .hgf-auth-screen *:after, .hgf-wrap *:after{box-sizing:border-box}
.hgf-app img,.hgf-auth-screen img,.hgf-wrap img{max-width:100%;height:auto}
.hgf-main{width:100%;max-width:100%;overflow-x:hidden}.hgf-card,.hgf-hero,.hgf-auth-card{max-width:100%;overflow-wrap:anywhere}.hgf-scroll-table{max-width:100%;-webkit-overflow-scrolling:touch}.hgf-scroll-table table{min-width:760px}.hgf-form input,.hgf-form textarea,.hgf-form select{font-size:16px}.hgf-btn,.hgf-back-pill,.hgf-action{-webkit-tap-highlight-color:transparent;touch-action:manipulation}.hgf-btn:focus,.hgf-back-pill:focus,.hgf-action:focus,.hgf-sidebar nav a:focus{outline:3px solid rgba(22,141,242,.3);outline-offset:3px}.hgf-form-actions{position:relative;z-index:2}.hgf-btn-primary,.hgf-btn-gps{border:2px solid transparent!important}.hgf-btn-primary{box-shadow:0 10px 24px rgba(22,141,242,.28)!important}.hgf-btn-gps{box-shadow:0 10px 24px rgba(120,190,32,.28)!important}.hgf-sidebar{position:relative;z-index:5}.hgf-topbar{position:relative;z-index:4}
@media(max-width:1200px){.hgf-app{max-width:100%;margin:0;border-radius:0;min-height:100vh}.hgf-main{padding:28px}.hgf-action-grid{gap:14px}.hgf-info-grid,.hgf-grid,.hgf-stats{gap:14px}}
@media(max-width:900px){.hgf-sidebar{position:sticky;top:0;background:#fff;z-index:20}.hgf-sidebar nav{display:grid;grid-auto-flow:column;grid-auto-columns:max-content;gap:8px;overflow-x:auto;padding-bottom:4px;-webkit-overflow-scrolling:touch;scrollbar-width:thin}.hgf-sidebar nav a{white-space:nowrap;margin:0}.hgf-logo{margin-bottom:14px}.hgf-page-head{margin-bottom:20px}.hgf-fields-2{grid-template-columns:1fr}.hgf-upload-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hgf-checks{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.hgf-main{padding:16px 12px}.hgf-auth-screen{min-height:100vh;padding:14px 10px}.hgf-auth-brand{display:none}.hgf-auth-card{padding:20px;border-radius:18px}.hgf-page-head h1,.hgf-form-head h1{font-size:22px}.hgf-page-head p,.hgf-form-head p{font-size:14px}.hgf-action-grid{grid-template-columns:1fr;gap:12px}.hgf-action{display:grid;grid-template-columns:56px 1fr 34px;align-items:center;gap:12px;min-height:112px;padding:18px}.hgf-action svg{margin:0;width:48px;height:48px}.hgf-action strong{font-size:14px;margin-bottom:4px}.hgf-action span{font-size:12px}.hgf-action em{position:static}.hgf-info-grid,.hgf-grid,.hgf-stats{grid-template-columns:1fr}.hgf-metric{align-items:flex-start}.hgf-upload-grid,.hgf-checks{grid-template-columns:1fr}.hgf-upload-card{min-height:108px}.hgf-form-actions{display:grid;grid-template-columns:1fr;gap:10px}.hgf-form-actions .hgf-btn,.hgf-btn{width:100%;min-height:52px;margin:0}.hgf-back-pill{width:100%;justify-content:center}.hgf-user-chip{width:100%;justify-content:center}.hgf-sidebar{padding:10px}.hgf-sidebar nav a{font-size:12px;padding:10px}.hgf-policy{max-height:none}.hgf-card{padding:16px;margin-bottom:14px}.hgf-form label{margin-top:12px}.hgf-admin-shell{padding:0 8px}.hgf-admin-card,.hgf-admin-page-head,.hgf-admin-hero{padding:14px;border-radius:16px}.hgf-admin-table{font-size:13px}}
@media(max-width:380px){.hgf-main{padding:14px 10px}.hgf-logo>span{font-size:30px}.hgf-action{grid-template-columns:46px 1fr 30px;padding:14px}.hgf-action svg{width:40px;height:40px}.hgf-round{width:48px;height:48px}.hgf-profile-avatar{width:58px;height:58px}.hgf-form input,.hgf-form textarea,.hgf-form select{padding:12px}}
@supports not selector(:has(*)){body.hgf-driver-portal{margin-top:0!important;overflow-x:hidden}body.hgf-driver-portal #wpadminbar{display:none!important}}

/* v1.0.7 mobile-first layout rebuild */
.hgf-app{isolation:isolate}.hgf-sidebar nav a .hgf-nav-label{display:inline-block}.hgf-main > .hgf-card:first-child,.hgf-main > form.hgf-card{margin-top:0}
.hgf-form-head{padding-bottom:10px;border-bottom:1px solid #edf2fa}.hgf-form h3{font-size:17px}.hgf-location-status,.hgf-submit-status{line-height:1.35}.hgf-card p{line-height:1.55}.hgf-action-grid{align-items:stretch}.hgf-action{display:flex;flex-direction:column;justify-content:space-between}.hgf-action svg{flex:0 0 auto}.hgf-action strong,.hgf-action span{position:relative;z-index:1}.hgf-action:after{content:"";position:absolute;right:-28px;top:-28px;width:110px;height:110px;border-radius:999px;background:rgba(255,255,255,.14)}
@media(max-width:980px){
  .hgf-app{display:block;min-height:100dvh;background:#f7f9fc;box-shadow:none;padding-bottom:92px;overflow:visible}
  .hgf-main{padding:18px 14px 96px;background:#f7f9fc!important;min-height:calc(100dvh - 78px)}
  .hgf-sidebar{position:fixed!important;left:10px;right:10px;bottom:10px;top:auto!important;padding:8px!important;border:1px solid rgba(219,231,245,.98)!important;border-radius:24px;background:rgba(255,255,255,.96)!important;box-shadow:0 18px 45px rgba(16,25,54,.20);z-index:9999;backdrop-filter:blur(12px)}
  .hgf-sidebar .hgf-logo{display:none!important}
  .hgf-sidebar nav{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;overflow:visible!important;padding:0!important}
  .hgf-sidebar nav a{min-width:0!important;width:100%;height:64px;margin:0!important;padding:7px 3px!important;border-radius:18px!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:5px;white-space:normal!important;text-align:center;font-size:10.5px!important;line-height:1.05;font-weight:900;box-shadow:none!important;color:#2e3b58!important;border:1px solid transparent!important}
  .hgf-sidebar nav a.active{background:linear-gradient(135deg,#0877df,#168df2)!important;color:#fff!important;border-color:transparent!important;box-shadow:0 10px 20px rgba(22,141,242,.28)!important}
  .hgf-sidebar nav a:not(.active):hover{background:#f5f9ff!important;color:#0877df!important}
  .hgf-sidebar nav a.hgf-logout-link{display:none!important}
  .hgf-nav-ico{width:23px!important;height:23px!important;display:grid!important;place-items:center;flex:0 0 auto}.hgf-nav-ico svg{width:23px!important;height:23px!important}.hgf-nav-label{display:block!important;max-width:100%;overflow:hidden;text-overflow:ellipsis}
  .hgf-page-head{background:#fff;border:1px solid #e8edf5;border-radius:22px;padding:16px;margin-bottom:14px;box-shadow:0 10px 24px rgba(16,25,54,.06);display:block}.hgf-page-head h1{font-size:23px!important;letter-spacing:-.2px}.hgf-page-head p{font-size:14px!important}.hgf-user-chip{margin-top:12px;width:auto;display:inline-flex;padding:7px 12px}.hgf-avatar{width:32px;height:32px}.hgf-topbar{background:#fff;border:1px solid #e8edf5;border-radius:20px;padding:10px;margin-bottom:14px;box-shadow:0 10px 24px rgba(16,25,54,.06);display:grid!important;grid-template-columns:1fr;gap:8px}.hgf-top-user{display:none}.hgf-back-pill{width:100%;border-radius:14px;min-height:46px;justify-content:center;background:#f7fbff!important;border-color:#dce8f8!important;color:#0877df!important}
  .hgf-card,.hgf-hero{border-radius:22px!important;padding:17px!important;margin-bottom:14px!important;box-shadow:0 10px 26px rgba(16,25,54,.07)!important}.hgf-form-head h1{font-size:24px!important}.hgf-form-head p{font-size:14px!important}.hgf-form h3{margin:20px 0 10px!important;padding-top:16px!important;font-size:16px!important}.hgf-fields-2{grid-template-columns:1fr!important;gap:0!important}.hgf-form label{font-size:14px;margin:12px 0 7px}.hgf-form input,.hgf-form textarea,.hgf-form select{border-radius:14px!important;min-height:52px!important;padding:14px!important;font-size:16px!important;background:#fff!important}.hgf-form textarea{min-height:112px!important}.hgf-upload-grid{grid-template-columns:1fr!important;gap:10px!important}.hgf-upload-card{min-height:96px!important;border-radius:18px!important;align-items:flex-start!important;text-align:left!important;padding:15px!important;position:relative;padding-left:74px!important}.hgf-upload-card:before{position:absolute;left:15px;top:50%;transform:translateY(-50%);margin:0!important}.hgf-upload-card span{font-size:15px}.hgf-upload-card small{font-size:12px}.hgf-checks{display:grid!important;grid-template-columns:1fr!important;background:transparent!important;border:0!important;padding:0!important;gap:8px!important}.hgf-checks label{border-radius:14px!important;padding:14px!important;display:flex!important;align-items:center;gap:9px;background:#fff!important}.hgf-checks input{width:20px!important;height:20px!important;margin:0!important;flex:0 0 auto}.hgf-form-actions{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;border-top:1px solid #edf2fa!important;padding-top:16px!important}.hgf-form-actions .hgf-btn,.hgf-btn{width:100%!important;margin:0!important;border-radius:16px!important;min-height:54px!important;font-size:15px!important}.hgf-btn-gps{background:linear-gradient(135deg,#0a7f2f,#78be20)!important}.hgf-btn-primary{background:linear-gradient(135deg,#054db7,#168df2)!important}.hgf-location-status,.hgf-submit-status{font-size:13px;border-radius:14px!important;margin-top:10px!important}.hgf-policy-tabs{gap:10px;overflow:auto}.hgf-policy{max-height:none!important;border-radius:16px!important;font-size:14px}.hgf-accept{border-radius:16px!important;align-items:flex-start!important}.hgf-profile-row{border-radius:18px!important;align-items:center}.hgf-profile-avatar{width:58px!important;height:58px!important;font-size:24px!important}
}
@media(max-width:640px){
  .hgf-main{padding:12px 10px 94px!important}.hgf-action-grid{grid-template-columns:1fr!important;gap:10px!important}.hgf-action{min-height:104px!important;border-radius:22px!important;padding:16px!important;display:grid!important;grid-template-columns:52px 1fr 32px!important;align-items:center!important;gap:12px!important}.hgf-action svg{width:46px!important;height:46px!important;margin:0!important}.hgf-action strong{font-size:15px!important;margin:0 0 4px!important}.hgf-action span{font-size:12.5px!important;line-height:1.25!important}.hgf-action em{position:static!important;width:32px!important;height:32px!important}.hgf-info-grid,.hgf-grid,.hgf-stats{grid-template-columns:1fr!important;gap:10px!important}.hgf-metric{gap:12px!important}.hgf-round{width:48px!important;height:48px!important}.hgf-round svg{width:25px!important;height:25px!important}.hgf-metric h3{font-size:16px}.hgf-metric p{font-size:13px}.hgf-sidebar{left:8px;right:8px;bottom:8px;border-radius:22px!important}.hgf-sidebar nav a{height:60px!important;font-size:9.5px!important;border-radius:16px!important}.hgf-nav-ico,.hgf-nav-ico svg{width:21px!important;height:21px!important}.hgf-auth-screen{display:block!important;min-height:100dvh!important;padding:14px 10px!important;background:#f7f9fc}.hgf-auth-brand{display:block!important;padding:22px!important;margin-bottom:12px!important;border-radius:22px!important}.hgf-auth-brand h1{font-size:25px!important;margin:10px 0 6px}.hgf-auth-brand p{font-size:14px!important}.hgf-auth-card{border-radius:22px!important;padding:18px!important}.hgf-auth-card h2{font-size:22px!important}.hgf-logo>span{font-size:30px!important}.hgf-logo small{letter-spacing:4px}.hgf-logo b{letter-spacing:2px}.hgf-auth-card input[type=text],.hgf-auth-card input[type=password],.hgf-auth-card input[type=email]{min-height:52px;border-radius:14px!important;font-size:16px!important}.hgf-auth-card .button{width:100%;min-height:52px;border-radius:16px!important;font-size:15px!important}.hgf-wrap{margin:12px auto!important;padding:0 10px!important}.hgf-wrap .hgf-card{padding:18px!important;border-radius:22px!important}.hgf-admin-shell table.widefat{display:block;overflow-x:auto;white-space:nowrap}.hgf-admin-thumb{width:58px!important;height:48px!important}
}
@media(max-width:390px){
  .hgf-sidebar nav a{font-size:8.8px!important;height:58px!important;padding:6px 1px!important}.hgf-action{grid-template-columns:46px 1fr 30px!important;padding:14px!important}.hgf-action svg{width:40px!important;height:40px!important}.hgf-page-head,.hgf-card,.hgf-hero{border-radius:18px!important}.hgf-main{padding-left:8px!important;padding-right:8px!important}.hgf-form-head h1,.hgf-page-head h1{font-size:21px!important}.hgf-upload-card{padding-left:66px!important}.hgf-upload-card:before{width:38px;height:38px;left:13px}.hgf-sidebar{left:6px;right:6px;bottom:6px;padding:6px!important}
}


/* v1.0.8 mobile dashboard text cleanup */
@media(max-width:980px){
  .hgf-action{overflow:hidden!important;}
  .hgf-action strong,.hgf-action span{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;word-break:normal!important;hyphens:none!important;}
}
@media(max-width:640px){
  .hgf-action{min-height:124px!important;grid-template-columns:48px minmax(0,1fr) 30px!important;padding:16px 14px!important;}
  .hgf-action strong{font-size:14px!important;line-height:1.18!important;}
  .hgf-action span{font-size:12px!important;line-height:1.28!important;display:block!important;}
}
@media(max-width:390px){
  .hgf-action{min-height:120px!important;grid-template-columns:42px minmax(0,1fr) 28px!important;}
  .hgf-action strong{font-size:13.5px!important;}
  .hgf-action span{font-size:11.8px!important;}
}


/* v1.0.9 mobile dashboard + accident field alignment fixes */
@media(max-width:980px){
  .hgf-action-grid{gap:14px!important;}
  .hgf-action{
    overflow:visible!important;
    min-height:150px!important;
    padding:22px 18px!important;
    align-content:center!important;
  }
  .hgf-action strong,
  .hgf-action span{
    max-width:100%!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
  }
  .hgf-action strong{line-height:1.22!important;}
  .hgf-action span{line-height:1.38!important;}
  .hgf-form input[type=date],
  .hgf-form input[type=time]{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    -webkit-appearance:none!important;
    appearance:none!important;
    text-align:left!important;
    line-height:1.3!important;
  }
  .hgf-fields-2 > label{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    display:block!important;
  }
}
@media(max-width:640px){
  .hgf-action-grid{gap:14px!important;}
  .hgf-action{
    min-height:142px!important;
    grid-template-columns:50px minmax(0,1fr) 30px!important;
    padding:22px 18px!important;
    gap:14px!important;
  }
  .hgf-action strong{font-size:15px!important;line-height:1.24!important;margin-bottom:5px!important;}
  .hgf-action span{font-size:12.5px!important;line-height:1.38!important;}
}
@media(max-width:390px){
  .hgf-action{
    min-height:146px!important;
    grid-template-columns:44px minmax(0,1fr) 28px!important;
    padding:20px 16px!important;
    gap:12px!important;
  }
  .hgf-action strong{font-size:14.5px!important;line-height:1.24!important;}
  .hgf-action span{font-size:12px!important;line-height:1.36!important;}
}


/* v1.0.10 mobile dashboard card layout fix
   Keeps the card subtitle inside the block by forcing icon/title/subtitle/arrow into proper grid areas. */
@media (max-width: 640px) {
  .hgf-action-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .hgf-action {
    display: grid !important;
    grid-template-columns: 58px minmax(0, 1fr) 40px !important;
    grid-template-rows: auto auto !important;
    grid-template-areas:
      "icon title arrow"
      "icon subtitle arrow" !important;
    column-gap: 16px !important;
    row-gap: 4px !important;
    align-items: center !important;
    min-height: 136px !important;
    padding: 24px 22px !important;
    overflow: hidden !important;
  }

  .hgf-action svg {
    grid-area: icon !important;
    width: 52px !important;
    height: 52px !important;
    margin: 0 !important;
    align-self: center !important;
  }

  .hgf-action strong {
    grid-area: title !important;
    display: block !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    overflow: visible !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }

  .hgf-action span {
    grid-area: subtitle !important;
    display: block !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    overflow: visible !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }

  .hgf-action em {
    grid-area: arrow !important;
    position: static !important;
    width: 38px !important;
    height: 38px !important;
    align-self: center !important;
    justify-self: end !important;
  }

  .hgf-fields-2,
  .hgf-form .hgf-fields-2 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .hgf-fields-2 > label {
    width: 100% !important;
    max-width: 100% !important;
    margin: 12px 0 7px !important;
  }

  .hgf-form input[type="date"],
  .hgf-form input[type="time"] {
    width: 100% !important;
    min-height: 52px !important;
    padding: 14px !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    appearance: none !important;
  }
}

@media (max-width: 390px) {
  .hgf-action {
    grid-template-columns: 50px minmax(0, 1fr) 36px !important;
    column-gap: 14px !important;
    min-height: 132px !important;
    padding: 22px 18px !important;
  }

  .hgf-action svg {
    width: 46px !important;
    height: 46px !important;
  }

  .hgf-action strong {
    font-size: 14px !important;
    letter-spacing: .6px !important;
  }

  .hgf-action span {
    font-size: 12.5px !important;
  }
}
/* ---- Hello Fleet theme additions ---- */

/* Headings moved to a proper outline (h3 -> h2) keep their old look */
.hgf-auth-brand h1,.hgf-auth-card h2{font-weight:400;letter-spacing:-.2px}
.hgf-form .hf-h3{color:var(--hgf-navy);margin:24px 0 12px;padding-top:8px;border-top:1px solid #edf2fa;font-size:17px;line-height:1.3}
.hgf-form h2.hf-h3:first-of-type{border-top:0}
.hf-metric-title{margin:0 0 5px;color:var(--hgf-navy);font-size:18px;line-height:1.3;font-weight:800}
.hgf-form-head .hf-h1,.hf-h1{font-size:30px;line-height:1.2;margin:0 0 8px;color:var(--hgf-navy)}
.hf-small{font-size:13px}

/* Readable links and tabs (WCAG AA on white) */
.hgf-auth-link a,.hf-auth-forgot a{color:#0b65c6}
.hf-auth-forgot{margin:6px 0 0;font-weight:700}
.hgf-sidebar nav a.active{background:#0b6fd6}
.hgf-auth-card .button{background:#0b6fd6}
.hgf-auth-card .button:hover{background:#0a5bb0}
.hgf-sidebar nav a:not(.active):hover{color:#0a5bb0!important}

/* Checkboxes and radios inside forms stay checkbox-sized on phones */
.hgf-form input[type=checkbox],.hgf-form input[type=radio]{width:20px!important;height:20px!important;min-height:0!important;padding:0!important;margin:0 8px 0 0;flex:0 0 auto;accent-color:#0b6fd6;border-radius:4px!important}
.hgf-form input[type=radio]{border-radius:50%!important}

/* Upload cards: keep the hidden file input inside its card (it used to widen the page) */
.hgf-upload-card{position:relative;overflow:hidden}
.hgf-upload-card input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;pointer-events:none}
.hgf-location-status:empty,.hgf-submit-status:empty{display:none}

/* Notices */
.hgf-notice-error{background:#fff1f0;border-color:#f04438;color:#7a1a12;box-shadow:none}

/* Guard / one-off cards */
.hgf-wrap .hf-guard{max-width:560px;margin:48px auto;text-align:center}
.hf-guard .hgf-logo{margin-bottom:14px}
.hf-guard-title{font-size:24px;line-height:1.25;color:var(--hgf-navy);margin:0 0 8px}
.hf-guard p{color:var(--hgf-muted);font-weight:600}
.hf-guard .hgf-btn{margin:14px 0 0}
.hf-unit-card{text-align:left}
.hf-unit-card .hgf-form-head{text-align:left}
.hf-unit-options{border:0;padding:0;margin:8px 0 18px;display:grid;gap:10px}
.hgf-form .hf-unit-option{display:flex;align-items:center;gap:6px;margin:0;border:1px solid var(--hgf-line);border-radius:14px;padding:16px;background:#fff;cursor:pointer;font-size:17px;min-height:56px}
.hgf-form .hf-unit-option:hover{border-color:#b9d3f2}
.hgf-form .hf-unit-option:has(input:checked){border-color:#0b6fd6;background:#f2f8ff;box-shadow:0 0 0 3px rgba(22,141,242,.12)}

/* Unit tag in the dashboard chip */
.hf-unit-tag{font-style:normal;background:#f3e8f7;color:#5d1170;border-radius:999px;padding:2px 9px;font-size:12px;margin-left:4px;font-weight:800;white-space:nowrap}

/* Policy metric card is a link */
a.hf-metric-link{text-decoration:none;color:inherit;transition:border-color .18s,box-shadow .18s}
a.hf-metric-link:hover{border-color:#cfe0f5}
a.hf-metric-link p{color:var(--hgf-muted)}

/* Policy strip on the inspection and accident forms */
.hf-policy-strip{display:flex;align-items:center;gap:14px;border:1px solid var(--hgf-line);border-radius:14px;padding:12px 14px;margin:0 0 6px}
.hf-policy-strip.is-ok{background:#f3fbeb;border-color:#cfe8b4}
.hf-policy-strip.is-missing{background:#fff4f9;border-color:#f7c4de}
.hf-policy-strip__ico{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;background:var(--hgf-green)}
.hf-policy-strip.is-missing .hf-policy-strip__ico{background:var(--hgf-pink)}
.hf-policy-strip__ico svg{width:20px;height:20px;fill:#fff}
.hf-policy-strip__txt{flex:1;min-width:0}
.hf-policy-strip__txt strong{display:block;color:var(--hgf-navy);font-size:15px}
.hf-policy-strip__txt span{display:block;color:#5b667c;font-size:13.5px;font-weight:600}
.hf-policy-strip__link{font-weight:900;color:#0b65c6;white-space:nowrap;padding:10px 0}

/* Policies page */
.hgf-policy-tabs button,.hgf-policy-tabs a{appearance:none;-webkit-appearance:none;background:none;border:0;border-bottom:3px solid transparent;padding:12px 2px;margin:0 0 -1px;color:#5b667c;font-weight:900;font-size:15px;cursor:pointer;text-decoration:none;white-space:nowrap;min-height:44px}
.hgf-policy-tabs [aria-selected=true]:nth-child(1),.hgf-policy-tabs [aria-current=page]:nth-child(1){color:#0b65c6;border-bottom-color:var(--hgf-blue)}
.hgf-policy-tabs [aria-selected=true]:nth-child(2),.hgf-policy-tabs [aria-current=page]:nth-child(2){color:#c4127a;border-bottom-color:#ee1688}
.hgf-policy-tabs [aria-selected=true]:nth-child(3){color:#3c7a0e;border-bottom-color:var(--hgf-green)}
.hgf-policy-tabs button:focus-visible,.hgf-policy-tabs a:focus-visible{outline:3px solid rgba(22,141,242,.35);outline-offset:2px;border-radius:6px}
.hf-tabpanel{padding-top:2px}
.hf-tabpanel+.hf-tabpanel{margin-top:22px}
.js-tabs .hf-tabpanel+.hf-tabpanel{margin-top:0}
.hf-policy-card .hgf-policy{max-height:420px}
.hgf-policy:focus-visible{outline:3px solid rgba(22,141,242,.3);outline-offset:2px}
.hf-policy-meta{color:#5b667c;font-weight:700;font-size:14px;margin:0 0 12px}
.hf-doc-link{display:flex;align-items:center;gap:12px;border:1px solid var(--hgf-line);border-radius:14px;padding:12px 14px;margin:0 0 14px;text-decoration:none;color:var(--hgf-navy);background:#fbfdff;transition:border-color .18s}
.hf-doc-link:hover{border-color:var(--hgf-blue);background:#f7fbff}
.hf-doc-link__ico{width:42px;height:42px;border-radius:10px;background:#d1157a;display:grid;place-items:center;flex:0 0 auto}
.hf-doc-link__ico svg{width:22px;height:22px;fill:#fff}
.hf-doc-link strong{display:block}
.hf-doc-link small{display:block;color:#5b667c;font-weight:600;overflow-wrap:anywhere}
.hf-copies{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.hf-copies li{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border:1px solid var(--hgf-line);border-radius:14px;padding:12px 14px;background:#fff}
.hf-copies li>div{flex:1;min-width:180px}
.hf-copies strong{display:block;color:var(--hgf-navy)}
.hf-copies span{color:#5b667c;font-size:13.5px;font-weight:600}
.hf-copies a{font-weight:800;color:#0b65c6;padding:10px 0}
.hf-pill{display:inline-flex;align-items:center;border-radius:999px;padding:4px 10px;font-size:12px!important;font-weight:800;background:#eef2f7;color:#3b475e!important;white-space:nowrap}
.hf-pill.is-ok{background:#e6f5d8;color:#2d650a!important}
.hf-pill.is-off{background:#fde8e8;color:#9b1c1c!important}
.hf-pill.is-warn{background:#fff2cc;color:#7a4700!important}

/* Signature pad */
.hf-sign{margin:16px 0 6px}
.hf-sign__label{display:block;font-weight:800;margin:0 0 8px;color:#202b49}
.hf-sign__pad{position:relative;height:210px;border:2px dashed #cdd8e8;border-radius:16px;background:#fff;overflow:hidden;touch-action:none}
.hf-sign__pad.is-signed{border-style:solid;border-color:#0b6fd6}
.hf-sign__pad canvas{position:absolute;inset:0;width:100%;height:100%;display:block;cursor:crosshair;touch-action:none}
.hf-sign__line{position:absolute;left:24px;right:24px;bottom:48px;border-bottom:2px solid #dfe6f0;pointer-events:none}
.hf-sign__hint{position:absolute;left:24px;bottom:18px;color:#69748a;font-weight:700;font-size:13px;pointer-events:none;transition:opacity .2s}
.hf-sign__pad.is-signed .hf-sign__hint{opacity:0}
.hf-sign__bar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:6px}
.hf-sign__btns{display:flex;gap:14px;flex-wrap:wrap;justify-content:flex-end}
.hf-sign__clear{background:none;border:0;color:#0b65c6;font-weight:800;cursor:pointer;padding:10px 4px;min-height:44px}
.hf-sign-form.is-missing-sign .hf-sign__pad{border-color:#f04438}
.hf-signed{display:flex;gap:18px;align-items:flex-start;flex-wrap:wrap}
.hf-signed__txt{flex:1;min-width:220px}
.hf-signed__txt p{color:var(--hgf-muted);font-weight:600;margin:0}
.hf-signed__img{display:block;max-width:280px;width:100%;height:auto;margin-top:12px;border-bottom:2px solid var(--hgf-navy)}
.hf-signed .hgf-btn{margin:0}

/* Account */
.hf-account-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}
.hf-account-actions .hgf-btn{margin:0}

/* Unit reports */
.hf-chips{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 6px}
.hf-chips a{display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;border-radius:999px;border:1px solid var(--hgf-line);text-decoration:none;color:var(--hgf-navy);font-weight:800;font-size:14px;background:#fff}
.hf-chips a:hover{border-color:#b9d3f2}
.hf-chips a.is-on{background:#0b6fd6;border-color:#0b6fd6;color:#fff}
.hf-view-tabs{margin-top:12px}
.hf-filter{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin:6px 0 16px}
.hf-filter label{display:flex;flex-direction:column;gap:6px;font-weight:800;font-size:14px;margin:0}
.hf-filter input{padding:10px 12px;border:1px solid #dfe6f0;border-radius:10px;min-height:46px;font-size:16px;background:#fff}
.hf-filter .hgf-btn{margin:0;min-height:46px}
.hf-table-wrap{overflow-x:auto;border:1px solid var(--hgf-line);border-radius:14px;position:relative}
.hf-table{width:100%;border-collapse:collapse;font-size:14px}
.hf-table th{background:#f8fbff;text-align:left;padding:12px;color:#334155;font-weight:800;white-space:nowrap}
.hf-table td{padding:12px;border-top:1px solid var(--hgf-line);vertical-align:middle}
.hf-row-link{font-weight:800;color:#0b65c6;white-space:nowrap}
@media(max-width:720px){
  .hf-table-wrap{overflow:visible;border:0}
  .hf-table thead{display:none}
  .hf-table,.hf-table tbody,.hf-table tr,.hf-table td{display:block;width:100%}
  .hf-table tr{border:1px solid var(--hgf-line);border-radius:14px;padding:8px 14px;margin-bottom:10px;background:#fff}
  .hf-table td{border:0;padding:6px 0;display:flex;justify-content:space-between;align-items:center;gap:12px;text-align:right}
  .hf-table td::before{content:attr(data-label);color:#5b667c;font-weight:700;text-align:left}
  .hf-row-link{display:block;padding:8px 0}
  .hf-filter label{flex:1 1 140px}
  .hf-filter input{width:100%}
}

/* Phones: seven nav items for supervisors */
@media(max-width:980px){
  .hgf-back-pill{color:#0a5bb0!important}
  .hgf-sidebar nav.hf-nav-7{grid-template-columns:repeat(7,minmax(0,1fr))!important}
  .hf-policy-strip{flex-wrap:wrap}
  .hf-policy-strip__txt{flex:1 1 calc(100% - 60px)}
  .hf-policy-strip__link{flex:1 0 100%;margin-left:56px;padding:4px 0 6px}
  .hf-sign__pad{height:190px}
  .hgf-wrap .hf-guard{margin:20px auto}
  .hf-account-actions{display:grid;grid-template-columns:1fr}
}
@media(max-width:640px){
  .hf-metric-title{font-size:16px}
  .hgf-form-head .hf-h1,.hf-h1{font-size:22px}
  .hgf-policy-tabs{gap:16px!important}
  .hgf-policy-tabs button{font-size:14px}
}
@media(max-width:390px){
  .hgf-sidebar nav.hf-nav-7 a{font-size:8.2px!important}
}

/* Plain pages (anything that is not a portal screen) */
.hf-page{max-width:860px;margin:0 auto;padding:28px 16px 48px}
.hf-page__head{text-align:center;margin-bottom:18px}
.hf-page__brand{text-decoration:none;display:inline-block}
.hf-page__brand .hgf-logo{margin:0}
.hf-page__body h1{font-size:30px;line-height:1.2;color:var(--hgf-navy);margin:0 0 14px}
.hf-prose{line-height:1.65}
.hf-prose>*{margin-block:0 0 1em}

@media (prefers-reduced-motion:reduce){
  .hgf-action,.hgf-btn,.hgf-sidebar nav a,.hgf-upload-card,.hf-doc-link{transition:none!important}
  .hgf-action:hover,.hgf-btn:hover{transform:none!important}
}
