@font-face{font-family:FFH-Montserrat;src:url('/shared/assets/Montserrat-Regular.ttf') format('truetype');font-display:swap;font-weight:400}
@font-face{font-family:FFH-Montserrat;src:url('/shared/assets/Montserrat-Medium.ttf') format('truetype');font-display:swap;font-weight:500}
@font-face{font-family:FFH-Montserrat;src:url('/shared/assets/Montserrat-SemiBold.ttf') format('truetype');font-display:swap;font-weight:600}
@font-face{font-family:FFH-Montserrat;src:url('/shared/assets/Montserrat-Bold.ttf') format('truetype');font-display:swap;font-weight:700}
@font-face{font-family:FFH-Oswald;src:url('/shared/assets/oswald.bold.ttf') format('truetype');font-display:swap;font-weight:700}
:root{--ffh-red:#E10600;--ffh-ink:#1F2328;--ffh-steel:#6B6F76;--ffh-surface:#ECECEC;--ffh-white:#FFFFFF;--ffh-border:#dce0e3;--ffh-radius:15px;--ffh-shadow:0 12px 34px rgba(31,35,40,.07);color-scheme:light}
*{box-sizing:border-box}body.ffh-portal{margin:0;background:#f5f5f5;color:var(--ffh-ink);font:400 14px/1.6 FFH-Montserrat,Montserrat,sans-serif}
.ffh-portal button,.ffh-portal input,.ffh-portal select,.ffh-portal textarea{font:inherit}
.ffh-portal a{color:inherit;text-decoration:none}.ffh-portal a:focus-visible,.ffh-portal button:focus-visible,.ffh-portal input:focus-visible{outline:3px solid #76689a;outline-offset:3px}
.ffh-wrap{width:min(1180px,calc(100% - 48px));margin-inline:auto}
.ffh-topbar{background:var(--ffh-ink);color:#fff;border-top:5px solid var(--ffh-red);position:relative;z-index:5}
.ffh-headrow{display:flex;justify-content:space-between;align-items:center;min-height:87px;gap:26px}
.ffh-brand{display:flex;align-items:center;gap:23px;min-width:0;color:#fff!important}.ffh-brand img{width:184px;max-height:59px;object-fit:contain}
.ffh-brand-title{font:700 21px/1.1 FFH-Oswald,sans-serif;letter-spacing:.035em;color:#fff;white-space:nowrap}
.ffh-brand-title small{display:block;font:500 10px/1.8 FFH-Montserrat,sans-serif;letter-spacing:.04em;color:#ccc;margin-top:3px}
.ffh-nav{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:wrap}
.ffh-nav a{font-weight:600;color:#e7e7e7;padding:10px 12px;border-radius:8px;font-size:12px;transition:background .15s}
.ffh-nav a:hover,.ffh-nav a:focus-visible{background:rgba(255,255,255,.12);color:#fff}
.ffh-main{min-height:calc(100vh - 180px);padding:42px 0 70px}.ffh-page-heading{margin-bottom:27px}.ffh-page-heading h1{font:700 clamp(30px,4vw,43px)/1.14 FFH-Oswald,sans-serif;text-transform:uppercase;letter-spacing:.012em;margin:8px 0 5px}.ffh-page-heading p{color:var(--ffh-steel);margin:0}
.ffh-eyebrow{font-size:11px;font-weight:700;letter-spacing:.17em;color:var(--ffh-red)}
.ffh-hero{display:flex;align-items:center;justify-content:space-between;padding:35px 43px;border-radius:var(--ffh-radius);background:linear-gradient(110deg,#1F2328,#343940);color:#fff;overflow:hidden;position:relative;min-height:190px}
.ffh-hero .ffh-eyebrow{color:#ff6d68}.ffh-hero h2{font:700 clamp(30px,4.2vw,49px)/1.05 FFH-Oswald,sans-serif;text-transform:uppercase;margin:12px 0}.ffh-hero p{margin:0;max-width:590px;color:#d2d6d9;font-size:13px}
.ffh-hero>img{position:absolute;right:40px;top:18px;height:165px;width:165px;opacity:.12;pointer-events:none}
.ffh-section-title{display:flex;justify-content:space-between;align-items:end;gap:15px;margin:42px 0 17px}.ffh-section-title h2{font:700 25px/1.2 FFH-Oswald,sans-serif;text-transform:uppercase;margin:0}.ffh-section-title p{font-size:12px;color:var(--ffh-steel);margin:0}.ffh-count{font:700 13px FFH-Montserrat,sans-serif;vertical-align:middle;display:inline-flex;align-items:center;justify-content:center;color:#fff;background:var(--ffh-red);border-radius:999px;min-width:26px;height:26px;padding:0 7px;margin-left:4px}
.ffh-modgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.ffh-module{display:flex;align-items:flex-start;gap:16px;position:relative;background:#fff;border:1px solid var(--ffh-border);border-radius:var(--ffh-radius);padding:23px 20px;min-height:152px;transition:transform .18s,border-color .18s,box-shadow .18s}
.ffh-module:hover{transform:translateY(-3px);border-color:var(--ffh-red);box-shadow:var(--ffh-shadow)}.ffh-module-symbol{flex:none;width:48px;height:48px;border-radius:12px;background:#fce8e7;color:var(--ffh-red);display:flex;align-items:center;justify-content:center;font:700 25px FFH-Oswald,sans-serif}
.ffh-module-copy{min-width:0}.ffh-module-label{color:var(--ffh-steel);letter-spacing:.1em;font-size:9px;font-weight:700}.ffh-module h3{font-size:14px;font-weight:700;margin:3px 0 6px}.ffh-module p{font-size:11px;color:#626870;line-height:1.6;margin:0}.ffh-module-arrow{position:absolute;right:17px;top:15px;color:var(--ffh-steel);font-size:19px}
.ffh-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.ffh-shortcut{display:flex;flex-direction:column;gap:3px;background:#fff;padding:17px;border:1px solid var(--ffh-border);border-radius:10px;min-height:80px}.ffh-shortcut:hover{border-color:var(--ffh-red)}.ffh-shortcut span{font-weight:700;font-size:12px}.ffh-shortcut small{font-size:10px;color:var(--ffh-steel)}
.ffh-card{background:#fff;border:1px solid var(--ffh-border);border-radius:var(--ffh-radius);padding:28px;box-shadow:0 2px 7px rgba(0,0,0,.02)}.ffh-card h2{font:700 25px FFH-Oswald,sans-serif;text-transform:uppercase;margin:0 0 6px}.ffh-card>p{color:var(--ffh-steel);font-size:12px;margin:0 0 20px}.ffh-auth{max-width:470px;margin:30px auto 0}.ffh-form{display:grid;gap:16px}.ffh-form label{font-size:12px;font-weight:700;display:grid;gap:7px}.ffh-form input,.ffh-form select,.ffh-form textarea{background:#fff;border:1px solid #c7ccd1;border-radius:8px;min-height:44px;padding:11px 13px;width:100%;color:var(--ffh-ink);outline-color:var(--ffh-red)}.ffh-form textarea{min-height:90px}
.ffh-button{border:0;background:var(--ffh-red);color:#fff;padding:12px 17px;border-radius:9px;cursor:pointer;font-weight:700;font-size:12px}.ffh-button:hover{background:#b90400}.ffh-button--secondary{background:#fff;color:var(--ffh-ink);border:1px solid var(--ffh-border)}.ffh-button--secondary:hover{background:#ececec}.ffh-error,.ffh-success{padding:13px;border-radius:8px;background:#fff1f0;color:#9e100a;border-left:3px solid var(--ffh-red);font-size:12px}.ffh-success{background:#edf9ee;border-left-color:#277e3a;color:#206030}
.ffh-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.ffh-details{display:grid;grid-template-columns:135px 1fr;gap:9px 16px;font-size:12px}.ffh-details dt{color:var(--ffh-steel)}.ffh-details dd{font-weight:600;margin:0;overflow-wrap:anywhere}
.ffh-table-wrap{overflow-x:auto;background:white;border:1px solid var(--ffh-border);border-radius:12px}.ffh-table{width:100%;border-collapse:collapse;min-width:650px;font-size:12px}.ffh-table th{text-align:left;background:#f4f4f4;font-weight:700;white-space:nowrap}.ffh-table td,.ffh-table th{padding:12px;border-bottom:1px solid #e9e9e9;vertical-align:middle}.ffh-table tr:last-child td{border-bottom:0}.ffh-table input[type=number]{width:72px}.ffh-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.ffh-muted{color:var(--ffh-steel);font-size:12px}.ffh-empty{grid-column:1/-1;padding:22px;background:white;border:1px dashed var(--ffh-border);border-radius:12px}.ffh-stack{display:grid;gap:18px}.ffh-tag{display:inline-block;background:#ececec;padding:3px 8px;border-radius:6px;font-size:11px}
.ffh-footer{border-top:1px solid var(--ffh-border);padding:22px 0;color:var(--ffh-steel);font-size:10px;background:#fff}.ffh-footer .ffh-wrap{display:flex;justify-content:space-between;gap:15px}
@media(max-width:950px){.ffh-modgrid{grid-template-columns:repeat(2,1fr)}.ffh-shortcuts{grid-template-columns:repeat(2,1fr)}.ffh-headrow{align-items:flex-start;flex-direction:column;gap:4px;padding:17px 0}.ffh-nav{justify-content:flex-start}.ffh-brand-title{font-size:18px}}
@media(max-width:620px){.ffh-wrap{width:min(100% - 30px,1180px)}.ffh-brand img{width:135px}.ffh-brand-title{font-size:15px}.ffh-nav{gap:0}.ffh-nav a{font-size:11px;padding:8px}.ffh-modgrid,.ffh-shortcuts,.ffh-profile-grid{grid-template-columns:1fr}.ffh-main{padding-top:28px}.ffh-hero{padding:27px 24px}.ffh-hero>img{right:-35px;opacity:.06}.ffh-section-title{align-items:start;flex-direction:column;gap:6px}.ffh-card{padding:22px}.ffh-module{min-height:122px}.ffh-footer .ffh-wrap{display:block}}


/* FFH V6: complete shared portal shell and responsive navigation */
.ffh-wide{width:calc(100% - 44px);max-width:none;margin-inline:auto}
.ffh-topbar{width:100%;box-shadow:0 4px 14px rgba(31,35,40,.10)}
.ffh-headrow{min-height:94px;gap:22px;align-items:center}
.ffh-brand{gap:24px}.ffh-brand img{width:238px;max-height:70px;object-fit:contain}
.ffh-brand-title{font-size:clamp(22px,1.7vw,30px)}.ffh-brand-title small{font-size:12px;margin-top:6px}
.ffh-navrow{background:#282d33;border-top:1px solid rgba(255,255,255,.1)}
.ffh-navrow-inner{min-height:59px;display:flex;align-items:center;gap:18px;justify-content:space-between}
.ffh-nav{flex:1;display:flex;justify-content:flex-start;gap:6px;align-items:center;flex-wrap:wrap}
.ffh-nav a{color:#f4f4f4;font-size:clamp(12px,.9vw,15px);padding:12px 14px;border-radius:8px;line-height:1.2;white-space:nowrap}
.ffh-nav a:hover,.ffh-nav a:focus-visible{background:#41464e}
.ffh-person{display:flex;align-items:center;justify-content:flex-end;gap:20px;min-width:0}
.ffh-person-link{display:flex;align-items:center;gap:11px;color:white!important;padding:6px;border-radius:10px;max-width:350px}
.ffh-person-link:hover{background:#32373d}.ffh-person-link strong{display:block;font-weight:700;font-size:15px;max-width:230px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
.ffh-person-link small{display:block;color:#bec3c8;font-size:11px}
.ffh-avatar{display:block;width:47px;height:47px;flex:none;border-radius:50%;background:#fff;object-fit:cover;border:2px solid #f0f0f0}
.ffh-logout{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border:1px solid #E10600;background:#E10600;color:#fff!important;border-radius:10px;padding:12px 19px;font-weight:700;font-size:14px;text-decoration:none}
.ffh-logout:hover{background:#bd0500;color:#fff!important}
.ffh-module-ident{flex:none;display:flex;gap:8px;align-items:center;padding:4px 20px 4px 0;border-right:1px solid #555}
.ffh-module-ident span{color:#ff9e9c;font-size:10px;letter-spacing:.12em;font-weight:700}.ffh-module-ident strong{font-weight:700;font-size:15px;color:white}
.ffh-subnav-links{display:flex;gap:3px;flex-wrap:wrap;align-items:center}
.ffh-leave{display:inline-flex;align-items:center;gap:7px;flex:none;justify-content:center;text-decoration:none!important;border:1px solid #f4f4f4;color:#fff!important;padding:11px 14px;border-radius:10px;font-weight:700;font-size:12px;background:rgba(255,255,255,.08)}
.ffh-leave:hover{background:#E10600;border-color:#E10600}.ffh-leave span{font-weight:500;color:#ececec}
.ffh-avatar-preview{margin:16px 0}.ffh-avatar-preview img{width:108px;height:108px;object-fit:cover;border-radius:50%;border:3px solid #ececec}
.ffh-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.ffh-footer .ffh-wide{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
@media(max-width:1320px){.ffh-navrow-inner{flex-wrap:wrap;padding:9px 0}.ffh-module-nav{order:3;flex-basis:100%}.ffh-headrow{min-height:86px}}
@media(max-width:760px){.ffh-wide{width:calc(100% - 24px)}.ffh-headrow{flex-direction:column;align-items:flex-start;padding:14px 0;gap:14px}.ffh-brand img{width:166px}.ffh-brand-title{font-size:21px}.ffh-person{width:100%;justify-content:space-between}.ffh-person-link strong{font-size:13px}.ffh-avatar{width:41px;height:41px}.ffh-logout{font-size:12px;padding:9px 13px}.ffh-navrow-inner{align-items:flex-start}.ffh-module-ident{border:0}.ffh-leave{width:100%}.ffh-nav a{font-size:12px;padding:9px}.ffh-profile-grid{grid-template-columns:1fr}}

/* V7 visual preferences */
.ffh-brand img{width:auto;max-width:272px;max-height:85px;min-height:56px;object-fit:contain}
.ffh-section-title>p{display:none!important}
.ffh-landing-lead{margin-top:-14px;margin-bottom:22px;color:var(--ffh-steel)}
.ffh-module-symbol img{width:100%;height:100%;object-fit:contain;border-radius:10px}
.ffh-footer .ffh-footer-inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(80px,240px) minmax(0,1fr);align-items:center;gap:18px}
.ffh-footer-inner>span:last-child{text-align:right}
.ffh-footer-center{text-align:center}.ffh-footer-center img{display:inline-block;max-width:210px;max-height:62px;width:auto;height:auto;object-fit:contain}
.ffh-settings-nav{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}.ffh-settings-nav a{display:inline-block;padding:11px 14px;border:1px solid var(--ffh-border);border-radius:9px;font-weight:700;background:#fff}.ffh-settings-nav a:hover{border-color:var(--ffh-red)}
.ffh-form fieldset{padding:15px;border:1px solid var(--ffh-border);border-radius:11px}.ffh-form legend{font-weight:700;padding:0 8px}
@media(max-width:760px){.ffh-brand img{max-width:205px;max-height:72px}.ffh-footer .ffh-footer-inner{grid-template-columns:1fr;text-align:center}.ffh-footer-inner>span:last-child{text-align:center}}

/* Registrierung: kein horizontales Scrollen, auch bei kleinen Smartphone-Displays */
.ffh-auth-register{max-width:780px;width:100%;margin-inline:auto}
.ffh-register-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ffh-register-grid>label{min-width:0}
.ffh-register-entry{margin:18px 0 0;font-size:13px!important;text-align:center;color:var(--ffh-ink)!important}
.ffh-register-entry a{color:var(--ffh-red);font-weight:700}
.ffh-info-note{border-left:3px solid var(--ffh-red);background:#f5f5f5;padding:13px 14px;border-radius:6px;font-size:12px;line-height:1.6}
.ffh-registration-honeypot{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
.ffh-button--link{display:inline-flex;justify-content:center;align-items:center;text-decoration:none}
@media(max-width:620px){.ffh-register-grid{grid-template-columns:minmax(0,1fr)}.ffh-auth-register{max-width:100%}.ffh-form{min-width:0}.ffh-card{overflow-wrap:anywhere}}

/* Sitzungsübersicht: auch auf dem Mobiltelefon ohne abgeschnittene Gerätetexte */
.ffh-profile-sessions{margin-top:20px}
.ffh-session-list{display:flex;flex-direction:column;gap:0}
.ffh-session-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;padding:15px 0;border-bottom:1px solid var(--ffh-border)}
.ffh-session-details{min-width:0;max-width:100%;overflow-wrap:anywhere}
.ffh-session-details strong{font-size:13px;display:block}
.ffh-session-details small{display:block;font-size:11px;margin-top:6px;color:var(--ffh-steel);line-height:1.5}
.ffh-session-current{display:inline-block;padding:3px 7px;background:#e9f5ea;color:#175a27;border-radius:7px;font-size:11px}
.ffh-session-bottom{margin-top:18px}
@media(max-width:620px){.ffh-session-row>form,.ffh-session-row button,.ffh-session-bottom button{width:100%}}

/* v8: compact login checkbox, no full-width checkboxes inherited from forms. */
.ffh-form label.ffh-checkline{display:inline-flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:9px;width:fit-content;max-width:100%;font-size:12px;cursor:pointer;line-height:1.4}
.ffh-form .ffh-checkline input[type="checkbox"]{display:block;width:17px!important;min-width:17px;max-width:17px;height:17px;min-height:0!important;max-height:17px;margin:0;padding:0;accent-color:#E10600;flex:0 0 17px}
.ffh-form .ffh-checkline span{display:inline;font-weight:600}.ffh-form .ffh-checkline small{font-weight:400;color:#6B6F76;font-size:11px}
.ffh-form input[readonly]{background:#f1f2f3;color:#1F2328;cursor:default}
@media(max-width:410px){.ffh-form .ffh-checkline{align-items:flex-start}.ffh-form .ffh-checkline input{margin-top:2px!important}.ffh-form .ffh-checkline small{display:block}}

/* Settings are grouped under one accessible dropdown. */
.ffh-nav-dropdown{position:relative;z-index:30;color:white;min-width:0}
.ffh-nav-dropdown summary{list-style:none;font-weight:700;color:#fff;cursor:pointer;border-radius:8px;padding:12px 14px;font-size:14px;white-space:nowrap}
.ffh-nav-dropdown summary::-webkit-details-marker{display:none}
.ffh-nav-dropdown summary::after{content:' ▾';color:#b8bec4}
.ffh-nav-dropdown[open] summary,.ffh-nav-dropdown summary:hover{background:#444b52}
.ffh-nav-dropdown-panel{position:absolute;right:0;top:100%;width:max-content;min-width:205px;max-width:min(300px,calc(100vw - 30px));background:#282d33;padding:7px;border:1px solid #505861;border-radius:0 0 12px 12px;box-shadow:0 14px 24px #0004;display:flex;flex-direction:column}
.ffh-nav-dropdown-panel a{display:block;padding:12px 13px!important;font-size:13px!important}
.ffh-module-ident{background:#343b43;padding:8px 14px;border-radius:10px;border:1px solid #555;gap:10px}
.ffh-module-ident span{font-size:10px;color:#ffaaaa}.ffh-module-ident strong{font-size:15px}
.ffh-brand picture{display:block;flex:0 0 auto}.ffh-brand picture img{display:block;width:auto;max-width:270px;max-height:77px}
.ffh-footer-center img{display:block;margin:auto;max-width:190px;max-height:64px}
.ffh-portal :is(img,svg,video,iframe){max-width:100%}
@media(max-width:760px){.ffh-navrow-inner{display:flex;flex-wrap:wrap}.ffh-nav{width:100%;min-width:0;max-width:100%;overflow:visible}.ffh-nav-dropdown-panel{left:0;right:auto}.ffh-module-ident{max-width:100%;overflow-wrap:anywhere}.ffh-brand picture img{max-width:58px;max-height:58px;width:58px;height:58px;object-fit:contain}.ffh-brand{gap:10px}.ffh-brand-title{white-space:normal;overflow-wrap:anywhere}.ffh-brand-title small{font-size:10px}.ffh-headrow{width:calc(100% - 28px)}.ffh-hero h2{overflow-wrap:anywhere}.ffh-table-wrap{max-width:100%}}

/* Final polish: transparent logo cropped without modifying original artwork. */
.ffh-brand picture img{width:auto;max-width:300px;max-height:84px;min-height:0;object-fit:contain}
.ffh-section-title>p{display:none}
.ffh-hero>img{object-fit:contain;opacity:.14}
@media(max-width:760px){
  .ffh-brand picture img{max-width:58px;max-height:58px;width:58px;height:58px}
  .ffh-topbar,.ffh-main,.ffh-footer{max-width:100%}
  .ffh-navrow-inner,.ffh-subnav-links,.ffh-person-link{min-width:0;max-width:100%}
  .ffh-person-link strong{max-width:clamp(120px,35vw,260px)}
  .ffh-main,.ffh-card{overflow-wrap:anywhere}
}


/* FFH V9: settings dropdown is actually a dropdown, not part of the menu flow. */
.ffh-topbar .ffh-nav-dropdown{display:inline-flex;align-items:center;flex:0 0 auto;position:relative;align-self:stretch;z-index:200}
.ffh-topbar .ffh-nav-dropdown summary{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 14px;font:700 clamp(12px,.9vw,15px)/1.3 FFH-Montserrat,Montserrat,system-ui,sans-serif;white-space:nowrap;color:#fff;cursor:pointer}
.ffh-topbar .ffh-nav-dropdown:not([open])>.ffh-nav-dropdown-panel{display:none!important}
.ffh-topbar .ffh-nav-dropdown[open]>.ffh-nav-dropdown-panel{display:flex!important;flex-direction:column!important;position:absolute!important;top:calc(100% - 1px)!important;left:0!important;right:auto!important;min-width:240px;max-width:min(360px,calc(100vw - 24px));height:auto!important;background:#282d33!important;color:#fff!important;border:1px solid #555d65;border-radius:0 0 12px 12px;box-shadow:0 16px 32px #0005;z-index:999999!important;padding:9px!important;overflow:visible!important}
.ffh-topbar .ffh-nav-dropdown-panel a{display:block!important;width:100%!important;min-height:37px!important;font-size:14px!important;line-height:1.4!important;padding:10px 12px!important;white-space:normal!important}
.ffh-navrow,.ffh-navrow-inner,.ffh-topbar{overflow:visible!important}
/* Header: natural logo dimensions, no clipping, consistent module identity */
.ffh-module-ident{display:flex!important;align-items:center;min-width:0;flex:0 1 auto;border:1px solid rgba(255,255,255,.16);background:#333a42;padding:7px 15px;border-radius:12px;gap:12px!important}
.ffh-module-icon{width:38px;height:38px;flex:0 0 38px;background:#444c55;border-radius:10px;display:grid;place-items:center;overflow:hidden;padding:7px}
.ffh-module-icon img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;display:block}
.ffh-module-identity{display:flex;flex-direction:column;gap:1px;min-width:0}
.ffh-module-identity small{display:block!important;font:700 9px/1.2 FFH-Montserrat,Montserrat,system-ui!important;color:#ffb3b0!important;letter-spacing:.075em}
.ffh-module-identity strong{display:block;font:700 clamp(14px,1.1vw,19px)/1.25 FFH-Montserrat,Montserrat,system-ui!important;color:#fff!important;overflow-wrap:anywhere}
.ffh-module-identity em{font:700 10px/1.3 FFH-Montserrat,sans-serif;color:#fff;background:#E10600;border-radius:6px;padding:2px 7px;align-self:flex-start;font-style:normal}
/* Guaranteed proportional footer logo even when external file has huge intrinsic dimensions */
.ffh-footer .ffh-footer-center{min-width:0;display:flex;align-items:center;justify-content:center}
.ffh-footer .ffh-footer-logo-frame{width:190px;max-width:100%;height:66px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.ffh-footer .ffh-footer-logo-frame img{max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain!important;display:block!important}
/* Status administration: labels, edit row responsive */
.ffh-legacy-admin .ffh-status-edit{display:flex!important;flex-direction:column;gap:3px;min-width:120px;max-width:310px;font-size:11px;font-weight:700}
.ffh-legacy-admin .ffh-status-edit input{font:500 13px FFH-Montserrat,sans-serif;max-width:100%;min-width:80px;width:100%;padding:7px 8px;border:1px solid #cbd0d5;border-radius:6px;color:#1F2328;background:white}
.ffh-icon-edit small{display:block;color:#6B6F76;font-size:11px}
.ffh-warning{padding:12px 16px;border-left:4px solid #b77700;background:#fff8e7;color:#614700;border-radius:7px}
@media(max-width:760px){.ffh-topbar .ffh-nav-dropdown{align-self:auto}.ffh-topbar .ffh-nav-dropdown summary{font-size:13px}.ffh-topbar .ffh-nav-dropdown[open]>.ffh-nav-dropdown-panel{min-width:min(270px,calc(100vw - 24px));left:0!important}.ffh-module-ident{max-width:100%}.ffh-footer .ffh-footer-logo-frame{width:156px;height:58px}}

/* V10: consistent tab navigation in browser and installed PWA */
.ffh-topbar .ffh-nav>a.ffh-applications-active{background:#4a535d!important;color:#fff!important;box-shadow:inset 0 -3px #E10600;font-weight:700!important}
.ffh-topbar .ffh-nav-dropdown summary{font-family:FFH-Montserrat,Montserrat,system-ui,sans-serif!important;font-weight:700!important;font-size:clamp(12px,.9vw,15px)!important;line-height:1.2!important;min-height:43px!important;padding:12px 14px!important;gap:8px}
.ffh-topbar .ffh-nav-dropdown summary::after{content:''!important;display:inline-block;width:7px;height:7px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg) translateY(-2px);margin-left:5px;vertical-align:middle;flex:none}
.ffh-topbar .ffh-nav-dropdown[open] summary::after{transform:rotate(225deg) translate(-2px,-2px)}
.ffh-form [hidden], .ffh-portal [hidden]{display:none!important}
.ffh-icon-preview{display:inline-grid;place-items:center;width:58px;height:58px;border:1px solid #ccd1d6;background:#f3f3f3;border-radius:12px;color:#E10600;font-size:23px}
.ffh-icon-preview img{width:48px;height:48px;max-width:100%;max-height:100%;object-fit:contain}
.ffh-icon-edit{min-width:175px}
.ffh-icon-edit input[type=file]{max-width:100%;font-size:11px}
.ffh-module-symbol{overflow:hidden}
.ffh-module-symbol img{width:100%;height:100%;object-fit:contain}
.ffh-maintenance-form{max-width:610px;margin-bottom:22px;background:#f4f5f6;padding:15px;border-radius:10px}
.ffh-main,.ffh-card,.ffh-footer{min-width:0}
.ffh-nav-dropdown-panel{z-index:1000}
.ffh-topbar .ffh-nav-dropdown{min-width:max-content}
@media(max-width:720px){
 .ffh-topbar .ffh-nav{gap:5px;align-items:flex-start;flex-wrap:wrap;overflow:visible}
 .ffh-topbar .ffh-nav>a,.ffh-topbar .ffh-nav-dropdown summary{font-size:12px!important;padding:11px 10px!important;white-space:normal!important}
 .ffh-topbar .ffh-nav-dropdown[open] .ffh-nav-dropdown-panel{left:auto!important;right:0!important;max-width:min(290px,calc(100vw - 24px))!important}
 .ffh-module{min-width:0}
 .ffh-card,.ffh-modgrid{max-width:100%;overflow-wrap:anywhere}
 .ffh-table-wrap{width:100%;overflow:auto;-webkit-overflow-scrolling:touch}
}

/* V10: compact status/link editor without cutting off forms on mobile. */
.ffh-link-edit{display:flex;flex-direction:column;gap:8px;min-width:170px}
.ffh-link-edit label{display:flex;flex-direction:column;gap:4px;font-weight:700;font-size:11px}
.ffh-link-edit input{width:100%;max-width:310px;min-width:140px;border:1px solid #cbd0d5;border-radius:7px;padding:8px;font:500 12px FFH-Montserrat,sans-serif}
.ffh-legacy-admin .grid{max-width:100%;min-width:0}
.ffh-legacy-admin .grid>.card,.ffh-legacy-admin .grid>div,.ffh-legacy-admin .card{min-width:0}
.ffh-legacy-admin .card-b{overflow-x:auto}
.ffh-legacy-admin .card-b>.row{display:grid;grid-template-columns:1fr;gap:23px;min-width:0}
.ffh-legacy-admin .card-b>.row>div{min-width:0;max-width:100%}
.ffh-legacy-admin .table{width:100%;min-width:680px}
.ffh-legacy-admin .ffh-settings-nav{margin-bottom:20px}
.ffh-icon-fallback{color:#fff!important;font:700 24px FFH-Oswald,sans-serif!important;letter-spacing:normal!important}
.ffh-maintenance-screen{max-width:580px;margin:8vh auto;background:#fff;border:1px solid #dce0e3;border-top:5px solid #E10600;border-radius:12px;padding:30px;color:#1F2328;font:400 16px FFH-Montserrat,sans-serif}
.ffh-maintenance-screen a{display:inline-block;background:#E10600;color:#fff;border-radius:7px;padding:12px 15px;text-decoration:none;font-weight:700}

.ffh-admin-create{background:#f5f5f5;border:1px solid #dce0e3;border-radius:10px;margin:0 0 20px;max-width:100%}
.ffh-admin-create>summary{font-weight:700;font-size:13px;cursor:pointer;padding:14px 16px;list-style:inside disclosure-closed}
.ffh-admin-create[open]>summary{border-bottom:1px solid #dce0e3}
.ffh-admin-create>.form{padding:17px}
.ffh-maintenance-form .ffh-checkline input[type=checkbox]{appearance:none;-webkit-appearance:none;width:48px!important;height:26px!important;max-height:none!important;min-width:48px!important;flex:0 0 48px!important;border:1px solid #888;border-radius:99px;background:#c6cbd0;position:relative;cursor:pointer;transition:background .15s}
.ffh-maintenance-form .ffh-checkline input[type=checkbox]::before{content:'';position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:transform .15s}
.ffh-maintenance-form .ffh-checkline input[type=checkbox]:checked{background:#E10600;border-color:#E10600}
.ffh-maintenance-form .ffh-checkline input[type=checkbox]:checked::before{transform:translateX(21px)}
