.fhm-app{--fhm-bg:#0c1424;--fhm-card:#141f33;--fhm-line:#27354b;--fhm-text:#eef3fc;--fhm-muted:#9babbe;--fhm-accent:#36b7a9;display:grid;grid-template-columns:242px minmax(0,1fr);background:var(--fhm-bg);color:var(--fhm-text);min-height:82vh;font:14px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;border-radius:16px;overflow:hidden}.fhm-app *{box-sizing:border-box}.fhm-app a{text-decoration:none}.fhm-sidebar{background:#101b2e;border-right:1px solid var(--fhm-line);padding:24px 12px;display:flex;flex-direction:column}.fhm-brand{display:flex;align-items:center;gap:11px;margin:4px 12px 42px}.fhm-brand-icon{background:#164f53;color:#8ce5d9;border-radius:10px;padding:9px;font-size:25px}.fhm-brand strong,.fhm-brand small,.fhm-sidebar-foot strong,.fhm-sidebar-foot small{display:block}.fhm-brand strong{letter-spacing:1px;font-size:13px}.fhm-brand small{font-size:10px;color:var(--fhm-accent);letter-spacing:2px}.fhm-nav-title,.fhm-eyebrow{color:var(--fhm-accent);letter-spacing:2px;font-size:10px;font-weight:800}.fhm-nav-title{margin:0 17px 12px}.fhm-sidebar nav a{display:flex;align-items:center;gap:12px;padding:13px 15px;color:#afbdcf;border-radius:9px;margin:2px 0;font-weight:600}.fhm-sidebar nav a span{font-size:20px}.fhm-sidebar nav a:hover,.fhm-sidebar nav a.active{color:#e8fdfa;background:#173d45}.fhm-sidebar-foot{display:flex;gap:10px;border-top:1px solid var(--fhm-line);margin-top:auto;padding:20px 8px 0;align-items:center;min-width:0}.fhm-sidebar-foot small{color:var(--fhm-muted);font-size:11px}.fhm-avatar{background:#27566b;color:white;padding:9px 14px;border-radius:50%}.fhm-main{min-width:0}.fhm-topbar{display:flex;align-items:center;justify-content:space-between;padding:22px 34px;border-bottom:1px solid var(--fhm-line);font-size:11px;font-weight:700;letter-spacing:1px;color:#8092ad}.fhm-topbar a{color:#d3e0ee}.fhm-content{padding:36px;min-height:65vh}.fhm-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.fhm-heading h1{font-size:29px;line-height:1.3;margin:6px 0;font-weight:750;color:#fff}.fhm-heading p{margin:0;color:var(--fhm-muted)}.fhm-btn{display:inline-flex;align-items:center;justify-content:center;border:0!important;background:var(--fhm-accent)!important;color:#092528!important;padding:11px 17px!important;white-space:nowrap;font-size:13px!important;font-weight:750!important;line-height:1.4!important;border-radius:8px!important;cursor:pointer}.fhm-btn:hover{filter:brightness(1.12)}.fhm-secondary{background:#24344b!important;color:#e8f2fa!important}.fhm-actions{display:flex;gap:9px;align-items:center}.fhm-actions form{margin:0}.fhm-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:28px}.fhm-stat,.fhm-panel{background:var(--fhm-card);border:1px solid var(--fhm-line);border-radius:12px}.fhm-stat{padding:22px}.fhm-stat span,.fhm-stat strong{display:block}.fhm-stat span{color:var(--fhm-muted);font-size:12px}.fhm-stat strong{font-size:32px;margin-top:4px;color:white}.fhm-panel{padding:0;overflow:hidden}.fhm-panel-head{display:flex;align-items:center;justify-content:space-between;padding:21px 22px;border-bottom:1px solid var(--fhm-line)}.fhm-panel-head h2{font-size:17px;color:#fff;margin:0}.fhm-panel-head p{color:var(--fhm-muted);font-size:12px;margin:3px 0 0}.fhm-panel-head a,.fhm-link{color:#7ae1d5}.fhm-table-wrap{overflow:auto}.fhm-app table{width:100%;border-collapse:collapse;color:#dce7f3;font-size:12px;margin:0}.fhm-app th{background:#192840;color:#a6bbd2;text-transform:uppercase;letter-spacing:.5px;font-size:10px;text-align:left;padding:15px;white-space:nowrap}.fhm-app td{padding:16px 15px;border-top:1px solid var(--fhm-line);vertical-align:top;min-width:85px}.fhm-app td strong,.fhm-app td small{display:block}.fhm-app td small{color:var(--fhm-muted);margin-top:3px}.fhm-app code{color:#9bd7e3;font-size:11px;background:none;padding:0;white-space:normal}.fhm-badge{display:inline-block;border-radius:20px;padding:3px 9px;font-size:11px;white-space:nowrap;background:#254158;color:#b0dffc}.fhm-deployed{background:#18493d;color:#88e9c7}.fhm-repair{background:#53332b;color:#ffc0a5}.fhm-not_deployed{background:#293e56;color:#c2d7ee}.fhm-row-actions{white-space:nowrap}.fhm-row-actions a,.fhm-delete button{color:#6ee2d6!important;font:inherit!important;border:0!important;background:transparent!important;padding:0!important;cursor:pointer}.fhm-delete{display:inline;margin-left:12px}.fhm-delete button{color:#f3a9ad!important}.fhm-preview{max-width:280px;white-space:normal;overflow-wrap:anywhere}.fhm-empty{text-align:center;padding:40px!important;color:var(--fhm-muted)}.fhm-toolbar{padding:20px;display:flex;gap:12px}.fhm-app input,.fhm-app textarea,.fhm-app select{border:1px solid #35465e!important;background:#0e192a!important;color:#eff6ff!important;border-radius:7px!important;min-width:0;font:inherit!important;padding:11px 12px!important;box-shadow:none!important}.fhm-toolbar input{flex:1}.fhm-table-foot{color:var(--fhm-muted);padding:13px 20px;font-size:11px}.fhm-form-panel{padding:24px}.fhm-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.fhm-field{display:flex;flex-direction:column;gap:7px;color:#c4d5e7;font-size:12px;font-weight:650}.fhm-field input,.fhm-field select{width:100%;min-height:43px}.fhm-field textarea{width:100%;resize:vertical}.fhm-full{grid-column:1/-1}.fhm-form-actions{display:flex;align-items:center;gap:20px;border-top:1px solid var(--fhm-line);padding-top:20px;margin-top:25px}.fhm-form-actions a{color:var(--fhm-muted)}.fhm-info{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;padding:15px;background:#173042;border:1px solid #2d525c;color:#a0ddda;border-radius:9px;margin-bottom:23px}.fhm-notice{background:#1d4e40;border:1px solid #2c8067;color:#b2f5d6;padding:12px 18px;border-radius:8px;margin-bottom:18px}.fhm-notice.error{background:#60332b;border-color:#ac5745;color:#ffddc9}.fhm-footer{display:flex;justify-content:space-between;color:#7086a1;padding:22px 35px;font-size:11px}.fhm-login{max-width:440px;padding:35px;margin:35px auto;background:#152237;color:#edf5fc;border-radius:14px}.fhm-login label{display:block;margin:14px 0}.fhm-login input[type=text],.fhm-login input[type=password]{display:block;width:100%;padding:10px}.fhm-tv-only{display:none}.fhm-app.fhm-is-tv .fhm-tv-only{display:block}.fhm-app.fhm-is-tv .fhm-player-only{display:none}@media(max-width:950px){.fhm-app{grid-template-columns:1fr}.fhm-sidebar{padding:12px}.fhm-brand{margin:0 6px 12px}.fhm-nav-title,.fhm-sidebar-foot{display:none}.fhm-sidebar nav{display:flex;overflow-x:auto}.fhm-sidebar nav a{white-space:nowrap;font-size:12px;padding:9px}.fhm-content{padding:20px}.fhm-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.fhm-heading{align-items:flex-start;flex-wrap:wrap}.fhm-footer{padding:18px}}@media(max-width:560px){.fhm-stats,.fhm-fields{grid-template-columns:1fr}.fhm-heading h1{font-size:24px}.fhm-actions,.fhm-toolbar{flex-wrap:wrap}.fhm-toolbar input{flex-basis:100%}.fhm-topbar{padding:16px 20px}.fhm-footer span{display:none}.fhm-content{padding:14px}.fhm-form-panel{padding:16px}}

/* AdNet Field Operations — dark branded interface (v1.1) */
.fhm-app{--fhm-bg:#0b0e13;--fhm-card:#171c25;--fhm-line:#303640;--fhm-text:#f5f7fa;--fhm-muted:#a0a9b6;--fhm-accent:#f47737;background:var(--fhm-bg);border:1px solid #252c35;border-radius:18px;box-shadow:0 24px 70px #0506083d}
.fhm-sidebar{background:linear-gradient(180deg,#121821 0%,#10141c 65%,#111820 100%);border-color:#29313c;padding-top:30px}
.fhm-brand{margin-bottom:47px;gap:12px}
.fhm-brand-icon{width:43px;height:43px;flex-shrink:0;display:flex;justify-content:center;align-items:center;position:relative;background:linear-gradient(145deg,#ff944d,#f2692d);box-shadow:0 7px 24px #e66b2d39;border-radius:12px;padding:0}
.fhm-symbol-screen{width:24px;height:17px;border:2.5px solid #171c25;border-radius:3px;transform:translateY(-2px)}
.fhm-symbol-stand{position:absolute;width:13px;height:2px;background:#171c25;bottom:9px;border-radius:4px}.fhm-symbol-stand:before{content:'';position:absolute;left:5px;bottom:1px;width:2px;height:5px;background:#171c25}
.fhm-brand .fhm-adnet-name{font-size:22px;font-weight:850;letter-spacing:-.8px;color:#fff;line-height:1.1}.fhm-brand-dot,.fhm-login-brand span{color:#f47737}.fhm-brand small{color:#a8b2bf;letter-spacing:1.7px;font-size:9px;font-weight:700;margin-top:5px}
.fhm-nav-title,.fhm-eyebrow{color:#f48c50}.fhm-sidebar nav a{color:#b4bdca;transition:background .15s,color .15s}.fhm-sidebar nav a:hover,.fhm-sidebar nav a.active{background:#32271f;color:#ffab74}.fhm-sidebar nav a.active{box-shadow:inset 3px 0 #f47737}.fhm-sidebar-foot{border-color:#303640}.fhm-avatar{background:#573621;color:#ffe4d5;font-weight:800}
.fhm-topbar{background:#11161e;border-color:#2b323e;color:#a9b2bf}.fhm-topbar a{color:#f5a879}.fhm-content{background:radial-gradient(ellipse 70% 40% at 100% 0%,#6c331e26,transparent),#0b0e13}.fhm-heading h1{letter-spacing:-.7px}.fhm-heading p{color:#a6b0bc}.fhm-btn{background:linear-gradient(125deg,#fb8d46,#ed6d31)!important;color:#171311!important;box-shadow:0 5px 17px #e96e2830}.fhm-secondary{background:#2a313c!important;color:#eff3f7!important;box-shadow:none}
.fhm-stat,.fhm-panel{background:#171c25;border-color:#303640}.fhm-stat{position:relative;overflow:hidden}.fhm-stat:before{content:'';position:absolute;left:0;top:20px;bottom:20px;width:3px;background:#e47a3b;border-radius:0 3px 3px 0}.fhm-stat strong{letter-spacing:-1px}.fhm-panel-head{border-color:#303640}.fhm-panel-head a,.fhm-link,.fhm-row-actions a,.fhm-delete button{color:#ffaa76!important}.fhm-app th{background:#222934;color:#aab4c3}.fhm-app table{color:#e2e7ef}.fhm-app td{border-color:#2b323e}.fhm-app code{color:#ffd2ae}.fhm-deployed{background:#164536;color:#a8f7d5}.fhm-not_deployed{background:#263953;color:#c9ddfa}.fhm-repair{background:#573126;color:#ffcab1}.fhm-app input,.fhm-app textarea,.fhm-app select{border-color:#444c59!important;background:#10151d!important;color:#f5f7fa!important}.fhm-app input:focus,.fhm-app textarea:focus,.fhm-app select:focus{outline:2px solid #f4773766;outline-offset:1px;border-color:#e9874a!important}.fhm-field{color:#c9d1dc}.fhm-info{background:#302820;border-color:#69503a;color:#ffcca7}.fhm-login{background:#171c25;border:1px solid #343a44;box-shadow:0 18px 55px #0005}.fhm-login-brand{font-size:34px;font-weight:850;letter-spacing:-1.4px}.fhm-login h2{color:#fff}.fhm-login p{color:#bbc4cf}.fhm-login input{background:#111720;color:#fff;border:1px solid #434b57;border-radius:7px}.fhm-footer{background:#11161e;border-top:1px solid #29313a;color:#9ca6b4}.fhm-footer span{color:#7e8b9c}
@media(max-width:950px){.fhm-sidebar{padding-top:14px}.fhm-brand{margin-bottom:13px}}

/* v1.2: Full-screen standalone app, responsive all screens */
html:has(body.fhm-standalone-page),body.fhm-standalone-page{margin:0!important;padding:0!important;width:100%;min-height:100%;background:#0b0e13;color:#f5f7fa}
body.fhm-standalone-page #fhm-page-root{width:100%;max-width:none;min-height:100vh;margin:0;padding:0}
body.fhm-standalone-page .fhm-app{width:100%;max-width:none;min-height:100vh;border:0;border-radius:0;box-shadow:none;overflow:visible;grid-template-columns:clamp(220px,18vw,270px) minmax(0,1fr)}
body.fhm-standalone-page .fhm-main{display:flex;flex-direction:column;min-width:0;min-height:100vh}
body.fhm-standalone-page .fhm-content{flex:1;width:100%;min-width:0;padding:clamp(16px,2.4vw,40px)}
body.fhm-standalone-page .fhm-panel,body.fhm-standalone-page .fhm-table-wrap{max-width:100%;min-width:0}
body.fhm-standalone-page .fhm-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
body.fhm-standalone-page .fhm-toolbar select{max-width:100%}
body.fhm-standalone-page .fhm-login{width:min(92vw,460px);margin:clamp(30px,8vh,100px) auto}
body.fhm-standalone-page .fhm-login *{box-sizing:border-box}
body.fhm-standalone-page .fhm-login input{max-width:100%}
body.fhm-standalone-page .fhm-login input[type=submit]{background:#f47737;color:#15191e;padding:12px 20px;border:0;border-radius:8px;cursor:pointer}
@media(max-width:1000px){body.fhm-standalone-page .fhm-app{grid-template-columns:minmax(0,1fr)}body.fhm-standalone-page .fhm-sidebar{padding:12px 15px}body.fhm-standalone-page .fhm-sidebar nav{max-width:100%;overflow-x:auto}body.fhm-standalone-page .fhm-main{min-height:calc(100vh - 115px)}}
@media(max-width:650px){body.fhm-standalone-page .fhm-content{padding:14px 12px}body.fhm-standalone-page .fhm-topbar{gap:10px;padding:14px 12px;letter-spacing:0;font-size:10px}body.fhm-standalone-page .fhm-footer{padding:15px 12px}body.fhm-standalone-page .fhm-heading{gap:12px}body.fhm-standalone-page .fhm-actions{width:100%;align-items:stretch}body.fhm-standalone-page .fhm-actions .fhm-btn{flex:1}body.fhm-standalone-page .fhm-stats{gap:10px}body.fhm-standalone-page .fhm-stat{padding:14px}body.fhm-standalone-page .fhm-stat strong{font-size:26px}body.fhm-standalone-page .fhm-form-actions{flex-wrap:wrap}body.fhm-standalone-page .fhm-toolbar>*{max-width:100%}}
@media(max-width:390px){body.fhm-standalone-page .fhm-stats{grid-template-columns:1fr}body.fhm-standalone-page .fhm-topbar span{overflow-wrap:anywhere}}

/* v1.3: Official user-supplied AdNet logo and distraction-free workspace. */
body.fhm-standalone-page{margin-top:0!important;padding-top:0!important}
body.fhm-standalone-page #wpadminbar{display:none!important}
html:has(body.fhm-standalone-page){margin-top:0!important}
.fhm-brand{display:flex;flex-direction:column;align-items:flex-start;gap:0;margin:0 9px 32px}
.fhm-logo-img{display:block;width:180px;max-width:100%;height:auto;object-fit:contain}
.fhm-brand-caption{display:block;margin-top:-12px;padding-left:42px;color:#aeb8c6;letter-spacing:1.7px;font-size:9px;font-weight:700}
.fhm-login-logo{display:flex;justify-content:center;margin:0 auto 8px}
.fhm-login-logo .fhm-logo-img{width:180px}
@media(max-width:950px){.fhm-brand{margin:0 6px 12px}.fhm-brand-caption{margin-top:-12px}}

/* v1.4 — phone-first layout improvements, scoped to the app */
.fhm-menu-toggle{display:none!important}
.fhm-app,.fhm-main,.fhm-panel,.fhm-heading,.fhm-content{min-width:0}
.fhm-app button,.fhm-app a,.fhm-login input[type=submit]{touch-action:manipulation}
.fhm-app input,.fhm-app select,.fhm-app textarea{max-width:100%}
.fhm-app .fhm-preview{overflow-wrap:anywhere}
@media(max-width:760px){
 body.fhm-standalone-page .fhm-app{display:flex;flex-direction:column;width:100%;min-height:100dvh}
 body.fhm-standalone-page .fhm-sidebar{position:relative;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:12px 14px;gap:8px;z-index:5}
 .fhm-sidebar .fhm-brand{margin:0!important;min-width:0;max-width:calc(100% - 112px)}
 .fhm-sidebar .fhm-logo-img{width:136px;max-width:100%;height:auto}
 .fhm-sidebar .fhm-brand-caption{font-size:8px;margin-top:-9px;padding-left:31px}
 .fhm-app .fhm-menu-toggle{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;min-height:44px;border-radius:9px;background:#262d38!important;border:1px solid #46505c!important;color:#f5f7fa!important;padding:10px 13px!important;font:700 13px/1.2 inherit;cursor:pointer}
 .fhm-sidebar .fhm-nav-title,.fhm-sidebar .fhm-sidebar-foot{display:none}
 .fhm-sidebar nav{display:none!important;flex:0 0 100%;width:100%;max-width:100%;overflow:visible!important;flex-direction:column;padding-top:8px;border-top:1px solid #303640}
 .fhm-app.fhm-menu-open .fhm-sidebar nav{display:flex!important}
 .fhm-sidebar nav a{width:100%;min-height:46px;padding:11px 13px!important;white-space:normal!important;font-size:14px!important}
 body.fhm-standalone-page .fhm-main{flex:1;min-height:0;width:100%}
 body.fhm-standalone-page .fhm-topbar{padding:12px 14px;gap:10px;flex-wrap:wrap;font-size:10px}
 body.fhm-standalone-page .fhm-content{padding:16px 12px 22px;min-height:0}
 .fhm-heading{display:flex;flex-direction:column;align-items:stretch!important;gap:14px;margin-bottom:18px}
 .fhm-heading h1{font-size:clamp(22px,6vw,29px);line-height:1.2;overflow-wrap:anywhere}
 .fhm-heading .fhm-btn,.fhm-heading>.fhm-link{align-self:stretch;text-align:center}
 .fhm-actions{width:100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:9px}
 .fhm-actions form,.fhm-actions .fhm-btn{width:100%;min-width:0}
 .fhm-app .fhm-btn{min-height:44px;white-space:normal;text-align:center}
 .fhm-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}
 .fhm-stat{padding:14px!important}.fhm-stat strong{font-size:clamp(24px,6vw,32px)}
 .fhm-panel-head{flex-wrap:wrap;gap:8px;padding:16px}
 .fhm-toolbar{padding:14px;display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
 .fhm-toolbar input,.fhm-toolbar select,.fhm-toolbar button{width:100%;min-height:44px}
 .fhm-fields{grid-template-columns:1fr!important;gap:15px}
 .fhm-form-panel{padding:16px!important}
 .fhm-field input,.fhm-field select,.fhm-field textarea{min-height:44px;font-size:16px!important}
 .fhm-field textarea{min-height:105px}
 .fhm-form-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
 .fhm-form-actions .fhm-btn{width:100%}
 .fhm-app .fhm-table-wrap{overflow:visible!important;padding:10px;max-width:100%}
 .fhm-app .fhm-table-wrap table,.fhm-app .fhm-table-wrap tbody,.fhm-app .fhm-table-wrap tr,.fhm-app .fhm-table-wrap td{display:block;width:100%;min-width:0}
 .fhm-app .fhm-table-wrap thead{display:none}
 .fhm-app .fhm-table-wrap tr{border:1px solid #39414d;border-radius:11px;background:#111720;margin:0 0 12px;overflow:hidden;padding:5px 10px}
 .fhm-app .fhm-table-wrap td{display:grid;grid-template-columns:minmax(90px,37%) minmax(0,1fr);gap:10px;align-items:start;border:0!important;border-bottom:1px solid #2d3540!important;padding:10px 3px!important;overflow-wrap:anywhere;white-space:normal!important}
 .fhm-app .fhm-table-wrap tr td:last-child{border-bottom:0!important}
 .fhm-app .fhm-table-wrap td:before{content:attr(data-label);color:#b4bdca;font-weight:750;line-height:1.45;font-size:11px;letter-spacing:.1px;overflow-wrap:anywhere}
 .fhm-app .fhm-table-wrap td.fhm-empty{display:block;padding:25px 8px!important}
 .fhm-app .fhm-table-wrap td.fhm-empty:before{display:none}
 .fhm-app .fhm-table-wrap .fhm-preview{max-width:none;min-width:0}
 .fhm-app .fhm-row-actions{white-space:normal;display:flex!important;flex-wrap:wrap;gap:8px 12px;align-items:center}
 .fhm-app .fhm-row-actions:before{flex:0 0 37%;margin-right:0}
 .fhm-app .fhm-row-actions .fhm-delete{margin-left:0}
 .fhm-footer{flex-wrap:wrap;gap:4px;padding:15px 12px!important}
 .fhm-footer span{display:block!important}
 body.fhm-standalone-page .fhm-login{width:calc(100% - 24px);margin:30px auto;padding:24px 18px;max-width:440px}
 body.fhm-standalone-page .fhm-login input{font-size:16px}
}
@media(max-width:380px){.fhm-stats{grid-template-columns:1fr!important}.fhm-app .fhm-table-wrap td{grid-template-columns:minmax(74px,35%) minmax(0,1fr)}.fhm-app .fhm-row-actions:before{flex-basis:35%}}
@media(min-width:761px) and (max-width:1050px){body.fhm-standalone-page .fhm-content{padding:22px}.fhm-fields{gap:14px}.fhm-heading{flex-wrap:wrap}}

/* v2.6 — Support Records responsive filters */
.fhm-support-filters{padding:20px;margin-bottom:18px;overflow:visible}
.fhm-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.fhm-filter-grid .fhm-field{min-width:0}
.fhm-filter-grid input,.fhm-filter-grid select{width:100%;height:44px}
.fhm-filter-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
@media(max-width:1000px){.fhm-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.fhm-support-filters{padding:14px}.fhm-filter-grid{grid-template-columns:minmax(0,1fr)}.fhm-filter-actions .fhm-btn{flex:1}}

/* v2.7 Hardware purchase age */
.fhm-age-badge{display:inline-flex;gap:6px;align-items:center;font-weight:750;border:1px solid;border-radius:999px;padding:5px 10px;white-space:nowrap}
.fhm-age-green{color:#79e2ac;background:rgba(24,161,92,.12);border-color:rgba(40,201,121,.4)}
.fhm-age-red{color:#ff8d94;background:rgba(229,62,81,.12);border-color:rgba(229,62,81,.45)}
.fhm-age-unknown{color:#aeb7c6;font-size:12px}.fhm-age-preview{display:flex;align-items:center;min-height:44px}

/* v2.8 hardware inventory actions: keep delete visible and tappable. */
.fhm-app .fhm-row-actions .fhm-delete{display:inline-flex!important;align-items:center;margin:0 0 0 10px!important;vertical-align:middle;position:relative;z-index:1}
.fhm-app .fhm-row-actions .fhm-delete-button{display:inline-flex!important;align-items:center;min-height:34px;padding:5px 9px!important;color:#ffb0a8!important;background:#4b2328!important;border:1px solid #a64b4e!important;border-radius:6px!important;cursor:pointer!important;pointer-events:auto!important}
.fhm-app .fhm-row-actions .fhm-delete-button:hover{background:#712c32!important}
@media(max-width:700px){.fhm-app .fhm-row-actions .fhm-delete{margin:0!important}}

/* v2.9: Hide only dashboard recent support activity on mobile.
   Full Support Records page and all report data stay accessible. */
@media screen and (max-width:760px) {
  .fhm-app .fhm-dashboard-recent-support { display:none!important; }
}
/* v3.4 location screen layout editor */
.fhm-layout-panel{margin:24px 0 10px;padding:20px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:rgba(255,255,255,.035)}
.fhm-layout-header h2{margin:0 0 8px;font-size:1.18rem}.fhm-layout-header p,.fhm-layout-hint{opacity:.78;line-height:1.5}
.fhm-screen-row{display:grid;grid-template-columns:minmax(120px,1fr) minmax(120px,1fr) minmax(170px,1.5fr) minmax(170px,1.5fr) auto;gap:12px;align-items:end;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.1)}
.fhm-screen-row label{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:.85rem}
.fhm-screen-row select{width:100%;min-width:0}
.fhm-screen-row button{height:43px}.fhm-layout-panel #fhm-add-screen{margin-top:18px}
@media(max-width:960px){.fhm-screen-row{grid-template-columns:repeat(2,minmax(0,1fr))}.fhm-screen-row button{grid-column:1/-1;justify-self:start}}
@media(max-width:560px){.fhm-layout-panel{padding:12px}.fhm-screen-row{grid-template-columns:1fr;gap:10px}.fhm-screen-row button{grid-column:auto;width:100%}}
/* 3.6: accessible, responsive drag-and-drop store layout designer */
.fhm-designer{display:grid;gap:14px}
.fhm-designer-tools{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.fhm-canvas-wrap{width:100%;overflow:hidden;border-radius:13px;border:1px solid #485366;background:#161d28}
.fhm-canvas{position:relative;width:100%;aspect-ratio:612/408;background-position:center;background-repeat:no-repeat;background-size:100% 100%;touch-action:none;user-select:none}
.fhm-screen-tile{position:absolute;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:visible;background:rgba(12,25,41,.85);border:2px solid #63d0ff;border-radius:4px;box-shadow:0 1px 8px #0009;color:#fff;cursor:move;text-align:center;touch-action:none;min-width:0;min-height:0;font-weight:800;font-size:clamp(8px,1.1vw,14px);line-height:1.25}
.fhm-screen-tile small{font-size:clamp(7px,.85vw,11px);font-weight:500}
.fhm-screen-tile.is-selected{z-index:3;border-color:#ff9c4a;box-shadow:0 0 0 2px #ff9c4a88,0 3px 12px #000b}
.fhm-screen-handle{position:absolute;right:-6px;bottom:-6px;width:20px;height:20px;border:2px solid #fff;background:#ff9c4a;border-radius:4px;cursor:nwse-resize;touch-action:none}
.fhm-designer-tips{color:#aebed0;font-size:13px;line-height:1.5}
.fhm-designer-properties summary{font-weight:700;cursor:pointer;padding:12px 4px}
.fhm-designer-properties .fhm-screen-row{display:none}
.fhm-designer-properties .fhm-screen-row.fhm-row-selected{display:grid;outline:1px solid #ff9c4a;border-radius:8px}
.fhm-background-field{display:grid;gap:10px;margin-top:16px}
.fhm-background-field label{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.fhm-background-field input[type=file]{max-width:100%;width:auto}
.fhm-background-field input[type=checkbox]{width:auto}
@media(max-width:760px){.fhm-screen-tile{font-size:8px}.fhm-screen-tile small{font-size:7px}.fhm-screen-handle{width:16px;height:16px;right:-4px;bottom:-4px}.fhm-canvas{min-width:0}.fhm-designer-properties .fhm-screen-row{padding:12px}}

/* v3.7: clean, image-free store canvas */
.fhm-app .fhm-canvas{background:#121925!important;background-image:none!important;aspect-ratio:3 / 2;background-size:auto; background-position:initial;}
.fhm-app .fhm-canvas-wrap{background:#121925;}
.fhm-app .fhm-screen-tile{aspect-ratio: auto; }

/* 3.8: left hardware thumbnail toolbox and one-to-many connection tree */
.fhm-hierarchy-designer{display:grid;grid-template-columns:minmax(190px,255px) minmax(0,1fr);gap:16px;margin-top:16px;align-items:start}
.fhm-hierarchy-palette{padding:14px;border-radius:12px;background:#111a29;border:1px solid #374358;min-width:0}
.fhm-hierarchy-palette h3{margin:0;font-size:1.05rem;color:#fff}.fhm-hierarchy-palette p,.fhm-hierarchy-help{font-size:13px;color:#bdcce0;line-height:1.5}
.fhm-palette-section{display:grid;gap:8px;margin-top:20px}.fhm-palette-section strong{font-size:.82rem;color:#e5edff}
.fhm-palette-item{width:100%;display:flex;gap:10px;align-items:center;text-align:left;padding:10px;border:1px solid #40506a;border-radius:9px;background:#202b3b;color:white;cursor:grab;font-size:12px;overflow-wrap:anywhere;min-height:50px}
.fhm-palette-item:hover,.fhm-palette-item:focus-visible{border-color:#ff9c4a;background:#29374a}
.fhm-palette-item>span:last-child{min-width:0}
.fhm-thumb-player{display:inline-flex;position:relative;justify-content:center;align-items:center;flex:none;width:46px;height:30px;border:2px solid #a3afbe;border-radius:6px;background:linear-gradient(150deg,#333f52,#151c2b);color:#cfe2fd;font-size:25px}
.fhm-thumb-player i{position:absolute;width:5px;height:5px;border-radius:50%;background:#72dd9b;right:5px;bottom:6px}
.fhm-thumb-display{flex:none;display:block;width:42px;height:25px;aspect-ratio:16/9;border:3px solid #a4bad4;border-radius:4px;background:linear-gradient(120deg,#1c405c,#377397);box-shadow:inset 0 0 0 1px #07121d}
.fhm-type-palette{display:grid;gap:7px}
.fhm-hierarchy-work{min-width:0}.fhm-hierarchy-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.fhm-hierarchy-toolbar strong{color:#fff}.fhm-hierarchy-toolbar span{font-size:13px;color:#b9c9da}
.fhm-hierarchy{min-height:190px;display:grid;gap:20px;padding:20px 12px;border:1px dashed #526886;border-radius:13px;background:#111926;overflow-wrap:anywhere}
.fhm-hierarchy.is-drop-target,.fhm-player-node.is-drop-target{outline:2px dashed #ffa653;outline-offset:2px}
.fhm-hierarchy-empty{color:#bfcbe0;text-align:center;margin:50px 10px}
.fhm-player-group{min-width:0;display:grid;gap:8px}.fhm-player-node{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #47729d;background:#1c3048;border-radius:10px;min-width:0}
.fhm-player-node>div{min-width:0;flex:1}.fhm-player-node strong,.fhm-player-node small{display:block;overflow-wrap:anywhere}.fhm-player-node strong{color:white;font-size:13px}.fhm-player-node small{color:#c0d0e1;font-size:12px}
.fhm-node-add{flex:none;min-height:40px;border:1px solid #777;background:#29394f;color:white;border-radius:8px;cursor:pointer;padding:6px 10px}
.fhm-screen-branches{display:flex;flex-wrap:wrap;gap:12px;padding:16px 0 4px 24px;border-left:2px solid #587089;margin-left:30px}
.fhm-node-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:150px;min-height:128px;padding:10px;background:#1b2839;color:#fff;border:1px solid #536d8c;border-radius:8px;cursor:pointer;overflow-wrap:anywhere;text-align:center}
.fhm-node-screen:before{content:'';position:absolute}.fhm-node-screen.is-selected{outline:2px solid #ff9c4a}
.fhm-node-screen strong{font-size:12px}.fhm-node-screen small{font-size:11px;color:#c2d2e4}
.fhm-diagram-screen{display:block;position:relative;border:3px solid #9abbdd;background:linear-gradient(140deg,#254a72,#467b9e);border-radius:3px}
.fhm-diagram-screen.landscape{width:60px;aspect-ratio:16/9}.fhm-diagram-screen.portrait{height:57px;aspect-ratio:9/16}
.fhm-diagram-screen:after{content:'';position:absolute;bottom:-5px;left:40%;width:20%;height:2px;background:#a1b7cc}
@media(max-width:760px){.fhm-hierarchy-designer{grid-template-columns:1fr}.fhm-hierarchy-palette{order:0}.fhm-hierarchy-work{order:1}.fhm-palette-section>div{display:flex;gap:8px;flex-wrap:wrap}.fhm-palette-item{width:calc(50% - 4px);min-width:130px}.fhm-hierarchy{padding:10px}.fhm-screen-branches{margin-left:16px;padding-left:12px}.fhm-node-screen{width:calc(50% - 6px);min-width:110px}.fhm-player-node{flex-wrap:wrap}}
@media(max-width:380px){.fhm-palette-item{width:100%}.fhm-node-screen{width:100%}}

/* v3.9 simplified hierarchy and searchable screen assignments */
.fhm-hierarchy-palette select{width:100%;margin:8px 0 10px;min-height:44px}
.fhm-hierarchy-palette .fhm-palette-item{margin-top:8px;min-height:58px;font-size:14px;font-weight:700}
.fhm-node-screen-wrap{position:relative;min-width:0}
.fhm-node-screen-wrap>.fhm-node-screen{height:100%;min-height:145px}
.fhm-node-delete{display:grid;place-items:center;width:32px;height:32px;min-width:32px;position:absolute;right:4px;top:4px;z-index:2;border:1px solid #eb707a;border-radius:50%;background:#4c202b;color:#fff;font-size:24px;line-height:1;cursor:pointer}
.fhm-node-delete:hover,.fhm-node-delete:focus-visible{background:#992f3b}
.fhm-player-node{position:relative;padding-right:48px}
.fhm-player-delete{right:8px;top:8px}
.fhm-tv-source-select{display:none!important}
.fhm-tv-lookup{width:100%;min-height:44px}
.fhm-designer-properties .fhm-screen-row{display:none}
.fhm-designer-properties .fhm-screen-row.fhm-row-selected{display:grid}
.fhm-designer-properties .fhm-screen-row.fhm-row-selected .fhm-remove-screen{display:none}
@media(max-width:760px){.fhm-node-screen-wrap{flex:1 1 135px}.fhm-node-screen-wrap>.fhm-node-screen{width:100%}}

/* v4.0: ensure the diagram delete buttons receive mouse and touch events. */
.fhm-app #fhm-hierarchy .fhm-node-screen-wrap{position:relative;isolation:isolate}
.fhm-app #fhm-hierarchy .fhm-node-delete{position:absolute!important;z-index:30!important;pointer-events:auto!important;touch-action:manipulation;display:grid!important;align-items:center;justify-content:center;min-width:40px;width:40px;height:40px;line-height:1!important;padding:0!important;user-select:none;-webkit-user-select:none}
.fhm-app #fhm-hierarchy .fhm-player-node{position:relative;isolation:isolate}
.fhm-app #fhm-hierarchy .fhm-node-delete:focus-visible{outline:3px solid #fff;outline-offset:2px}

/* v4.1: compact remove button; keep the interaction on the button itself. */
.fhm-app #fhm-hierarchy .fhm-node-delete {
 width:27px!important;height:27px!important;min-width:27px!important;
 font-size:18px!important;line-height:1!important;top:5px;right:5px;
 border-radius:50%;cursor:pointer;
}
.fhm-app #fhm-hierarchy .fhm-player-delete{top:7px;right:7px}
.fhm-app #fhm-hierarchy .fhm-player-node{padding-right:44px}

/* v4.2 bulk hierarchy delete controls */
.fhm-app #fhm-hierarchy .fhm-node-check{position:absolute!important;top:8px;right:8px;z-index:50!important;display:block!important;appearance:auto!important;-webkit-appearance:checkbox!important;width:19px!important;height:19px!important;min-width:19px!important;min-height:19px!important;margin:0!important;cursor:pointer!important;accent-color:#e2606b;pointer-events:auto!important;touch-action:manipulation}
.fhm-app #fhm-hierarchy .fhm-node-screen-wrap{position:relative}
.fhm-app #fhm-hierarchy .fhm-player-node{position:relative}
.fhm-bulk-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:10px 0 12px}
.fhm-bulk-toolbar .fhm-btn{min-height:40px}
.fhm-bulk-toolbar .fhm-danger{background:#782f3a;color:white;border:1px solid #ca6b78}
.fhm-bulk-toolbar .fhm-btn:disabled{opacity:.48;cursor:not-allowed}
#fhm-delete-message{font-size:13px;color:#b7d1e6}
@media(max-width:600px){.fhm-bulk-toolbar .fhm-btn{flex:1 1 auto}}

/* v4.4 — on-site support mobile-first improvements, scoped to this form only */
.fhm-support-mobile{max-width:1050px;margin-inline:auto}
.fhm-support-mobile .fhm-fields{gap:18px 20px}
.fhm-support-section-title{display:flex;gap:12px;align-items:center;padding:15px 0 8px;margin-top:8px;border-bottom:1px solid #35404e}
.fhm-support-section-title:first-child{margin-top:0}
.fhm-support-section-title>span{background:#e78043;color:#181a1d;border-radius:9px;min-width:34px;height:34px;display:grid;place-items:center;font-weight:900}
.fhm-support-section-title strong,.fhm-support-section-title small{display:block}
.fhm-support-section-title strong{font-size:16px;color:#fff}
.fhm-support-section-title small{font-size:12px;color:#adb8c5;font-weight:400;margin-top:2px}
.fhm-support-mobile .fhm-field{gap:9px;font-size:13px}
.fhm-support-mobile .fhm-field input,.fhm-support-mobile .fhm-field select,.fhm-support-mobile .fhm-field textarea{min-height:49px;font-size:16px!important}
.fhm-support-mobile .fhm-field textarea{min-height:116px;line-height:1.5}
.fhm-support-mobile #fhm-support-duration{font-size:25px;color:#a2efcb;font-variant-numeric:tabular-nums}
.fhm-support-mobile .fhm-field:has(#fhm-support-duration){background:#18332e;border:1px solid #306954;border-radius:12px;padding:16px}
.fhm-support-quicktime{display:flex;gap:10px;flex-wrap:wrap}
.fhm-support-quicktime .fhm-btn{min-height:44px}
.fhm-support-mobile .fhm-support-actions .fhm-btn{min-height:50px}
@media(max-width:760px){
 .fhm-support-mobile{background:transparent;border:0;padding:0!important;overflow:visible}
 .fhm-support-mobile>.fhm-info{display:grid;gap:7px;padding:12px;font-size:12px}
 .fhm-support-mobile .fhm-fields{grid-template-columns:minmax(0,1fr)!important;gap:15px}
 .fhm-support-mobile .fhm-fields>div:not(.fhm-support-section-title):empty{display:none}
 .fhm-support-section-title{padding:18px 0 10px;margin-top:8px}
 .fhm-support-mobile .fhm-field{background:#191f29;border:1px solid #303b4c;padding:12px;border-radius:12px;min-width:0}
 .fhm-support-mobile .fhm-field input,.fhm-support-mobile .fhm-field select,.fhm-support-mobile .fhm-field textarea{width:100%;max-width:100%}
 .fhm-support-mobile input[type=datetime-local]{min-width:0}
 .fhm-support-quicktime .fhm-btn{flex:1 1 135px;white-space:normal}
 .fhm-support-actions{flex-direction:column;align-items:stretch;gap:12px}
 .fhm-support-actions .fhm-btn{width:100%;font-size:16px!important;min-height:54px}
 .fhm-support-actions>a{text-align:center;padding:12px}
}

/* v4.6: mobile-only dashboard primary action */
@media screen and (max-width:760px) {
.fhm-app .fhm-content:has(.fhm-dashboard-recent-support) {display:flex!important;flex-direction:column;align-items:center;justify-content:center;min-height:clamp(360px,65dvh,850px);padding:22px 18px!important;}
.fhm-app .fhm-content:has(.fhm-dashboard-recent-support) .fhm-stats,.fhm-app .fhm-dashboard-recent-support,.fhm-app .fhm-content:has(.fhm-dashboard-recent-support) .fhm-heading > div {display:none!important;}
.fhm-app .fhm-content:has(.fhm-dashboard-recent-support) .fhm-heading {width:100%;margin:0!important;display:flex!important;align-items:center!important;justify-content:center!important;}
.fhm-app .fhm-content:has(.fhm-dashboard-recent-support) .fhm-heading > .fhm-btn {width:min(100%,390px)!important;min-height:88px!important;padding:22px 20px!important;font-size:20px!important;line-height:1.3!important;text-align:center;white-space:normal!important;border-radius:16px!important;box-shadow:0 8px 24px rgba(0,0,0,.25);}
}

/* v4.8 support visit photo upload and record previews */
.fhm-image-upload{display:flex;flex-direction:column;gap:9px}.fhm-image-upload input[type=file]{max-width:100%;padding:12px;border:1px dashed #526078;border-radius:10px;background:#192333;color:#eff4ff;font-size:16px}.fhm-image-upload input::file-selector-button{background:#f47732;color:#16181e;border:0;border-radius:7px;padding:9px 13px;margin-right:12px;font-weight:700;cursor:pointer}.fhm-support-image-link{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;color:#a6d5ff;text-decoration:none}.fhm-support-thumb{display:block;width:66px;height:56px;object-fit:cover;border:1px solid #54657c;border-radius:7px}.fhm-current-image{display:flex;align-items:flex-start;gap:8px;flex-direction:column;margin:5px 0}.fhm-current-image .fhm-support-thumb{width:140px;height:110px}@media(max-width:760px){.fhm-support-thumb{width:90px;height:70px}.fhm-image-upload input[type=file]{width:100%}}

/* v4.9.1 — readable hardware details links on dark location table */
.fhm-app .fhm-layout-panel .fhm-location-detail-link {color:#a9d8ff!important;text-decoration:underline;text-underline-offset:3px;font-weight:650;}
.fhm-app .fhm-layout-panel .fhm-location-detail-link:hover {color:#ffffff!important;text-decoration-thickness:2px;}
.fhm-app .fhm-layout-panel .fhm-location-detail-link:focus-visible {color:#ffffff!important;outline:2px solid #ff914d;outline-offset:4px;border-radius:2px;}

.fhm-app .fhm-row-actions .fhm-duplicate-action{margin-left:10px;color:#8bcbff!important;font-weight:650}
.fhm-app .fhm-row-actions .fhm-duplicate-action:hover{color:white!important;text-decoration:underline}

/* Reporting charts */
.fhm-report-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.fhm-report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.fhm-report-chart{min-width:0}.fhm-report-chart-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}.fhm-report-chart-head h2{margin:0;font-size:17px;color:#e6f0fa}.fhm-report-chart-head label{font-size:12px;color:#c3d3e4;display:flex;align-items:center;gap:7px}.fhm-chart-type{background:#1b2b3e!important;border:1px solid #58708e!important;color:#fff!important;border-radius:7px;padding:8px;min-width:110px}.fhm-chart-plot{width:100%;min-height:255px}.fhm-chart-plot svg{width:100%;height:auto;display:block}.fhm-chart-legend{display:flex;gap:9px;flex-wrap:wrap;font-size:12px;margin-top:8px;color:#c8d8eb}.fhm-chart-legend span{display:flex;gap:5px;align-items:center}.fhm-chart-dot{width:10px;height:10px;border-radius:3px;display:inline-block}.fhm-report-footnote{font-size:12px;color:#afbed1}@media(max-width:850px){.fhm-report-grid{grid-template-columns:1fr}.fhm-report-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.fhm-chart-plot{min-height:210px}.fhm-report-stats{gap:8px}}

/* Sidebar reporting group */
.fhm-sidebar nav .fhm-nav-section{color:#f48c50;letter-spacing:2px;font-size:10px;font-weight:800;margin:22px 17px 9px;padding-top:14px;border-top:1px solid #303640}
@media(max-width:950px){.fhm-sidebar nav .fhm-nav-section{align-self:center;white-space:nowrap;margin:0 8px;padding:0 8px;border-top:0;border-left:1px solid #303640}}
@media(max-width:760px){.fhm-sidebar nav .fhm-nav-section{align-self:stretch;margin:12px 0 4px;padding:12px 12px 2px;border-left:0;border-top:1px solid #303640}}

.fhm-app .fhm-row-actions .fhm-delete-support-link{display:inline-block;margin-left:12px;color:#ffb8be!important;font-weight:650;cursor:pointer}.fhm-app .fhm-row-actions .fhm-delete-support-link:hover{color:#ffffff!important;text-decoration:underline}.fhm-app .fhm-row-actions .fhm-delete-support-link:focus-visible{outline:2px solid #f48a48;outline-offset:4px}

/* Confirmation dialog rendered above any WordPress/theme stacking context. */
.fhm-delete-confirm-overlay{position:fixed;inset:0;z-index:2147483000;background:rgba(5,10,17,.82);display:flex;align-items:center;justify-content:center;padding:20px}
.fhm-delete-confirm-panel{width:min(100%,430px);background:#1b2736;border:1px solid #577089;border-radius:12px;padding:24px;color:#f2f6fd;box-shadow:0 16px 48px rgba(0,0,0,.5);font-size:16px}
.fhm-delete-confirm-panel h2{color:#fff;font-size:21px;line-height:1.3;margin:0 0 12px}
.fhm-delete-confirm-panel p{color:#c8d5e5;margin:0 0 22px}
.fhm-delete-confirm-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:12px}
.fhm-delete-confirm-actions button{padding:12px 18px;min-height:44px;border-radius:8px;border:1px solid #61758e;color:#fff;background:#303f51;cursor:pointer;font-weight:650}
.fhm-delete-confirm-actions .fhm-confirm-accept{background:#a62a3a;border-color:#c74a59}
.fhm-delete-confirm-actions button:focus-visible{outline:3px solid #ffb46f;outline-offset:3px}
.fhm-delete-confirm-actions button:disabled{opacity:.65;cursor:wait}
