
:root{
  --fhf-bg:#f4f6f8;--fhf-card:#fff;--fhf-line:#e8ebef;--fhf-ink:#262a2e;--fhf-muted:#6f6f6f;
  --fhf-red:#c8102e;--fhf-red-soft:#fff0f2;--fhf-green:#1f9d68;--fhf-amber:#d97706;
  --fhf-sidebar:264px;--fhf-topbar:66px;--fhf-radius:12px;--fhf-shadow:0 2px 8px rgba(15,23,42,.05);
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--fhf-ink);background:var(--fhf-bg)}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
.fhf-body{background:var(--fhf-bg)}
.fhf-shell{min-height:100vh}
.fhf-sidebar{position:fixed;inset:0 auto 0 0;width:var(--fhf-sidebar);background:#fff;border-right:1px solid var(--fhf-line);z-index:50;display:flex;flex-direction:column}
.fhf-brand{height:var(--fhf-topbar);display:flex;align-items:center;gap:12px;padding:0 18px;border-bottom:1px solid var(--fhf-line)}
.fhf-mark{width:38px;height:38px;border-radius:10px;background:var(--fhf-red);color:#fff;display:grid;place-items:center;font-weight:800;font-size:14px;box-shadow:0 4px 10px rgba(200,16,46,.16)}
.fhf-brand-copy{display:grid;line-height:1.1}.fhf-brand-copy strong{font-size:15px}.fhf-brand-copy small{font-size:11px;color:var(--fhf-muted);margin-top:4px}
.fhf-sidebar-close{display:none;margin-left:auto;border:0;background:#f5f6f7;border-radius:50%;width:34px;height:34px;font-size:20px}
.fhf-nav-caption{padding:22px 20px 8px;color:#a1a6ad;font-weight:700;font-size:10px;letter-spacing:.12em}
.fhf-main-nav{display:grid;gap:3px;padding:0 12px}
.fhf-main-nav button{height:44px;border:0;background:transparent;border-radius:8px;display:flex;align-items:center;gap:12px;padding:0 12px;color:#555b63;font-size:13px;text-align:left;transition:.16s}
.fhf-main-nav button:hover{background:#f7f8f9;color:#20242a}.fhf-main-nav button.active{background:var(--fhf-red-soft);color:var(--fhf-red);font-weight:700}
.fhf-nav-icon{width:24px;height:24px;display:grid;place-items:center;font-size:15px;color:inherit}
.fhf-sidebar-bottom{margin-top:auto;padding:14px}
.fhf-principle{background:#f8f9fb;border:1px solid var(--fhf-line);border-radius:10px;padding:13px;display:grid;gap:5px}.fhf-principle span{font-size:9px;letter-spacing:.1em;color:#8b929b;font-weight:800}.fhf-principle b{font-size:12px}.fhf-principle small{font-size:10.5px;line-height:1.4;color:var(--fhf-muted)}
.fhf-sidebar-backdrop{display:none}

.fhf-workspace{min-height:100vh;margin-left:var(--fhf-sidebar)}
.fhf-appbar{height:var(--fhf-topbar);position:sticky;top:0;z-index:40;background:#fff;border-bottom:1px solid var(--fhf-line);display:flex;align-items:center;justify-content:space-between;padding:0 24px}
.fhf-appbar-left,.fhf-appbar-right{display:flex;align-items:center;gap:14px}.fhf-menu-toggle{display:none;border:0;background:#f7f8f9;width:38px;height:38px;border-radius:9px}
.fhf-search{height:38px;width:min(360px,34vw);display:flex;align-items:center;gap:9px;background:#f7f8f9;border:1px solid transparent;border-radius:9px;padding:0 12px;color:#8b929b}
.fhf-search:focus-within{background:#fff;border-color:#d9dde3}.fhf-search input{border:0;outline:0;background:transparent;width:100%;font-size:12px;color:#272b30}.fhf-search input::placeholder{color:#a0a6ad}
.fhf-version{font-size:10px;color:#9aa0a6;background:#f6f7f8;border-radius:999px;padding:5px 8px}
.fhf-user-menu{display:flex;align-items:center;gap:9px}.fhf-avatar{width:36px;height:36px;border-radius:50%;background:#22272e;color:#fff;display:grid;place-items:center;font-weight:700}.fhf-user-copy{display:grid;line-height:1.15}.fhf-user-copy strong{font-size:12px}.fhf-user-copy small{font-size:10px;color:var(--fhf-muted);margin-top:3px}

.fhf-main{min-height:calc(100vh - var(--fhf-topbar))}
.fhf-page-head{background:#fff;border-bottom:1px solid var(--fhf-line);padding:22px 28px 20px}.fhf-breadcrumb{font-size:10px;color:#8d949c;margin-bottom:7px}.fhf-breadcrumb span{margin:0 3px}.fhf-page-head h1{font-size:24px;line-height:1.1;margin:0;color:#24282d}.fhf-page-head p{font-size:11.5px;color:var(--fhf-muted);margin:7px 0 0}
.fhf-content{padding:24px 28px 90px;max-width:1600px;margin:0 auto;width:100%}
.fhf-loading{background:#fff;border:1px solid var(--fhf-line);border-radius:var(--fhf-radius);padding:24px;color:var(--fhf-muted)}

.fhf-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}
.fhf-card{background:var(--fhf-card);border:1px solid var(--fhf-line);box-shadow:var(--fhf-shadow);border-radius:var(--fhf-radius);padding:18px;min-height:116px;display:flex;flex-direction:column;justify-content:space-between}
.fhf-card small{color:var(--fhf-muted);font-size:11px}.fhf-card strong{font-size:24px;line-height:1.1;color:#20242a}.fhf-card.attention{border-left:4px solid var(--fhf-red)}
.fhf-section{background:#fff;border:1px solid var(--fhf-line);box-shadow:var(--fhf-shadow);border-radius:var(--fhf-radius);padding:20px;margin-bottom:18px}.fhf-section h2{font-size:16px;margin:0 0 12px}.fhf-section-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.fhf-section-head h2{margin:0}.fhf-note{color:var(--fhf-muted);font-size:11.5px;line-height:1.55;margin:6px 0 0}
.fhf-action,.fhf-secondary{border-radius:8px;padding:9px 13px;font-size:11px;font-weight:700;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.fhf-action{background:var(--fhf-red);color:#fff;border:1px solid var(--fhf-red)}.fhf-action:hover{filter:brightness(.96)}.fhf-secondary{background:#fff;color:#30353b;border:1px solid #d9dde3}.fhf-secondary:hover{background:#f7f8f9}
.fhf-quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.fhf-quick button{min-height:82px;border:1px solid var(--fhf-line);background:#fff;border-radius:10px;padding:15px;text-align:left;font-weight:700;font-size:12px;color:#2f343a}.fhf-quick button:hover{border-color:#d4d9df;background:#fafbfc}
.fhf-focus{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.fhf-focus>div{background:#f8f9fb;border:1px solid var(--fhf-line);border-radius:9px;padding:14px;font-size:11.5px;font-weight:700}

.fhf-term{background:#fff;border:1px solid var(--fhf-line);border-radius:10px;padding:18px;margin:14px 0}.fhf-term.current{border-left:4px solid var(--fhf-red)}.fhf-term-head{display:flex;justify-content:space-between;gap:16px}.fhf-term h3{font-size:16px;margin:3px 0}.fhf-term p{color:var(--fhf-muted);font-size:11px;margin:0}.fhf-kicker{font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:#8b929b;font-weight:800}.fhf-access-badge{background:#f5f6f7;border:1px solid var(--fhf-line);border-radius:999px;padding:6px 9px;font-size:9.5px;font-weight:700}
.fhf-member-list{margin-top:14px;border-top:1px solid var(--fhf-line)}.fhf-member-row{display:grid;grid-template-columns:1.4fr 1fr auto;gap:14px;align-items:center;padding:11px 0;border-bottom:1px solid var(--fhf-line)}.fhf-member-row span{display:block;color:var(--fhf-muted);font-size:10px;margin-top:3px}
.fhf-mini,.fhf-icon-action{border:1px solid #d9dde3;background:#fff;border-radius:7px;padding:6px 8px;font-size:10px;font-weight:700}.fhf-mini.primary{background:#2f343a;color:#fff;border-color:#2f343a}.fhf-mini.danger,.fhf-icon-action.danger{color:#b42318;border-color:#f4c4cb}

.fhf-meeting-list{display:grid;gap:10px}.fhf-meeting-card{width:100%;background:#fff;border:1px solid var(--fhf-line);border-radius:10px;padding:16px;display:flex;justify-content:space-between;align-items:center;text-align:left}.fhf-meeting-card:hover{background:#fafbfc;border-color:#d8dce2}.fhf-meeting-card h3{font-size:14px;margin:4px 0}.fhf-meeting-card p{font-size:10.5px;color:var(--fhf-muted);margin:0}.fhf-meeting-stats{display:grid;gap:3px;text-align:right;font-size:9.5px;color:#858b93}
.fhf-meeting-head{padding:0 0 18px}.fhf-meeting-head h2{font-size:22px;margin:4px 0}.fhf-meeting-head p{font-size:11px;color:var(--fhf-muted)}.fhf-back{border:0;background:transparent;color:var(--fhf-red);font-size:11px;font-weight:700;padding:0 0 9px}
.fhf-agenda{display:grid;gap:10px;margin-top:14px}.fhf-agenda-item{background:#fff;border:1px solid var(--fhf-line);border-left:4px solid #c9ced5;border-radius:10px;overflow:hidden;box-shadow:none!important}.fhf-agenda-item:has(.fhf-type.decision){border-left-color:#dc3545}.fhf-agenda-item:has(.fhf-type.discussion){border-left-color:#2f80ed}.fhf-agenda-item:has(.fhf-type.information){border-left-color:#17a2b8}.fhf-agenda-item:has(.fhf-type.followup){border-left-color:#f59e0b}.fhf-agenda-item:has(.fhf-type.framework){border-left-color:#7c3aed}
.fhf-agenda-toggle{width:100%;display:grid!important;grid-template-columns:36px minmax(0,1fr) 26px!important;gap:10px;align-items:center;border:0;background:#fff;padding:13px 14px;text-align:left}.fhf-agenda-toggle:hover{background:#fafbfc}.fhf-agenda-number{width:28px;height:28px;border-radius:50%;background:#f1f3f5;display:grid;place-items:center;font-size:10px;font-weight:800}.fhf-agenda-title{display:flex;align-items:center;gap:8px;min-width:0}.fhf-agenda-title h3{font-size:12px;margin:0}.fhf-type{font-size:7.5px;font-weight:800;text-transform:uppercase;border-radius:999px;padding:4px 7px;background:#eef3ff;color:#2f6ad9}.fhf-type.decision{background:#fff0f2;color:#b42318}.fhf-type.framework{background:#f4efff;color:#6d43b5}.fhf-type.followup{background:#fff7e6;color:#ad6700}.fhf-type.information{background:#eaf9fb;color:#15748a}.fhf-chevron{font-size:19px;color:#8c9299;text-align:center}.fhf-agenda-body{padding:2px 16px 18px 60px!important}.fhf-agenda-item.is-collapsed .fhf-agenda-body{display:none!important}
.fhf-agenda-block,.fhf-board-question,.fhf-decision-block,.fhf-attachments{border-radius:8px;padding:12px 14px;margin-top:10px;background:#f8f9fa;border:1px solid #edf0f3}.fhf-board-question{background:#eff6ff;border-left:3px solid #3b82f6}.fhf-decision-block{background:#eef9f2;border-left:3px solid #22a06b}.fhf-preserve{white-space:pre-wrap}.fhf-agenda-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:11px}

.fhf-form-row{display:grid;grid-template-columns:130px 1fr 1fr auto;gap:9px}.fhf-form-row input,.fhf-filters input,.fhf-filters select,.fhf-modal input,.fhf-modal select,.fhf-modal textarea{width:100%;border:1px solid #d9dde3;border-radius:8px;padding:9px 10px;background:#fff;outline:none}.fhf-form-row input:focus,.fhf-filters input:focus,.fhf-filters select:focus,.fhf-modal input:focus,.fhf-modal select:focus,.fhf-modal textarea:focus{border-color:#adb5bd;box-shadow:0 0 0 3px rgba(173,181,189,.15)}
.fhf-filters{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:9px;margin-top:14px}.fhf-member-line{display:grid;grid-template-columns:1.4fr 1fr .85fr auto;gap:14px;align-items:center;padding:11px 0;border-bottom:1px solid var(--fhf-line)}.fhf-member-line span{display:block;font-size:10px;color:var(--fhf-muted);margin-top:2px}.fhf-pill{display:inline-block!important;border-radius:999px;padding:5px 7px;background:#f1f3f5;color:#626870!important;font-size:8px!important;font-weight:800;text-transform:uppercase}.fhf-pill.ok{background:#eaf8f1;color:#177245!important}.fhf-pill.warn{background:#fff7e8;color:#ad6700!important}

.fhf-modal-backdrop{position:fixed;inset:0;background:rgba(24,34,48,.45);z-index:100;display:grid;place-items:center;padding:18px}.fhf-modal{width:min(590px,100%);max-height:88vh;overflow:auto;background:#fff;border-radius:12px;box-shadow:0 22px 70px rgba(0,0,0,.18);padding:20px}.fhf-modal form{display:grid;gap:12px}.fhf-modal label{display:grid;gap:5px;font-size:10px;font-weight:700}.fhf-icon-btn{border:0;background:#f2f3f4;width:32px;height:32px;border-radius:50%;font-size:18px}.fhf-error{color:#b42318;font-size:11px;font-weight:700}
.fhf-empty{border:1px dashed #d9dde3;border-radius:9px;background:#fafbfc;padding:18px;color:var(--fhf-muted);font-size:11px}.fhf-empty.compact{padding:12px}
.fhf-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.fhf-status-grid>div{background:#f8f9fa;border:1px solid var(--fhf-line);border-radius:9px;padding:13px}.fhf-status-grid small,.fhf-status-grid span{display:block;color:var(--fhf-muted);font-size:9px}.fhf-status-grid strong{display:block;font-size:12px;margin:5px 0}
.fhf-audit>div{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;padding:10px 0;border-bottom:1px solid var(--fhf-line);font-size:10.5px}.fhf-audit span,.fhf-audit time{color:var(--fhf-muted);font-size:9.5px}
.fhf-mobile-nav{display:none}

@media(max-width:1199px){.fhf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fhf-quick{grid-template-columns:repeat(2,minmax(0,1fr))}.fhf-focus{grid-template-columns:1fr}.fhf-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){
  .fhf-sidebar{transform:translateX(-101%);transition:transform .2s ease;box-shadow:14px 0 40px rgba(0,0,0,.12)}body.fhf-menu-open .fhf-sidebar{transform:translateX(0)}.fhf-sidebar-close{display:block}
  .fhf-sidebar-backdrop{display:block;position:fixed;inset:0;background:rgba(17,24,39,.35);z-index:45;opacity:0;pointer-events:none;transition:.2s}body.fhf-menu-open .fhf-sidebar-backdrop{opacity:1;pointer-events:auto}
  .fhf-workspace{margin-left:0}.fhf-menu-toggle{display:grid;place-items:center}.fhf-search{width:min(360px,45vw)}
}
@media(max-width:700px){
  :root{--fhf-topbar:58px}.fhf-appbar{padding:0 12px}.fhf-search{display:none}.fhf-version,.fhf-user-copy{display:none}.fhf-avatar{width:34px;height:34px}
  .fhf-page-head{padding:16px 16px 14px}.fhf-page-head h1{font-size:21px}.fhf-content{padding:14px 12px 92px}
  .fhf-grid{grid-template-columns:1fr 1fr;gap:9px}.fhf-card{min-height:94px;padding:13px}.fhf-card strong{font-size:19px}.fhf-card small{font-size:9.5px}
  .fhf-section{padding:15px;border-radius:10px}.fhf-section-head{display:block}.fhf-section-head .fhf-action{margin-top:10px}
  .fhf-form-row,.fhf-filters,.fhf-member-line,.fhf-member-row,.fhf-status-grid,.fhf-audit>div{grid-template-columns:1fr}
  .fhf-term-head{display:block}.fhf-term-actions{justify-content:flex-start;margin-top:10px}
  .fhf-meeting-card{display:block}.fhf-meeting-stats{text-align:left;margin-top:10px;display:flex;gap:8px;flex-wrap:wrap}
  .fhf-agenda-toggle{grid-template-columns:32px minmax(0,1fr) 24px!important;padding:11px 10px}.fhf-agenda-title{align-items:flex-start;flex-direction:column;gap:4px}.fhf-agenda-body{padding:0 10px 13px!important}
  .fhf-mobile-nav{position:fixed;z-index:44;left:0;right:0;bottom:0;height:70px;background:#fff;border-top:1px solid var(--fhf-line);display:grid;grid-template-columns:repeat(5,1fr);padding:5px max(6px,env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left))}
  .fhf-mobile-nav button{border:0;background:transparent;color:#747b83;border-radius:8px;display:grid;place-items:center;gap:1px;padding:4px;font-size:14px}.fhf-mobile-nav button b{font-size:8.5px}.fhf-mobile-nav button.active{color:var(--fhf-red);background:var(--fhf-red-soft)}
}
@media(max-width:420px){.fhf-grid{grid-template-columns:1fr 1fr}.fhf-quick{grid-template-columns:1fr 1fr}.fhf-card strong{font-size:17px}}

/* v0.9.1 — closer Jampack polish. Strongly scope typography to prevent WP theme bleed. */
#fhf-app,#fhf-app button,#fhf-app input,#fhf-app select,#fhf-app textarea,#fhf-app table{
  font-family:"DM Sans","Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;
}
#fhf-app{font-size:14px;color:#262a2e}
#fhf-app h1,#fhf-app h2,#fhf-app h3,#fhf-app h4,#fhf-app strong,#fhf-app b{font-family:inherit!important}
#fhf-app svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#fhf-app .fhf-nav-icon svg{width:20px;height:20px}
#fhf-app .fhf-nav-icon svg path:first-child:not(:only-child){}

.fhf-sidebar{width:276px}
.fhf-workspace{margin-left:276px}
.fhf-brand{height:66px;padding:0 17px;border-color:#eeeeee}
.fhf-mark{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#c8102e,#e34159);box-shadow:none;position:relative}
.fhf-mark:after{content:"";position:absolute;inset:5px;border:2px solid rgba(255,255,255,.65);border-radius:50%}
.fhf-mark span{position:relative;z-index:1;font-size:10px}
.fhf-brand-copy strong{font-size:16px;font-weight:700;letter-spacing:-.02em}
.fhf-brand-copy small{font-size:11px;color:#777}
.fhf-nav-caption{padding:22px 22px 10px;color:#9b9b9b;font-size:11px;text-transform:none;letter-spacing:0;font-weight:500}
.fhf-main-nav{padding:0 8px;gap:4px}
.fhf-main-nav button{height:48px;border-radius:10px;padding:0 15px;color:#2f343a;font-size:14px;font-weight:500}
.fhf-main-nav button.active{background:rgba(200,16,46,.08);color:#a90d26;box-shadow:inset 0 0 0 2px rgba(200,16,46,.12)}
.fhf-main-nav button:hover:not(.active){background:#f7f7f7}
.fhf-nav-icon{width:24px;color:#2f343a}.fhf-main-nav button.active .fhf-nav-icon{color:#a90d26}
.fhf-principle{background:#fff;border-color:#ececec;border-radius:12px;padding:15px}
.fhf-principle span{color:#a1a1a1}.fhf-principle b{font-size:12px}.fhf-principle small{font-size:10.5px}

.fhf-appbar{height:66px;padding:0 28px;border-color:#ededed}
.fhf-search{width:300px;height:40px;border:1px solid #dedede;background:#fff;border-radius:7px;padding:0 11px;box-shadow:0 1px 2px rgba(0,0,0,.02)}
.fhf-search svg{width:16px!important;height:16px!important;color:#8a8a8a}
.fhf-search input{font-size:13px}
.fhf-search kbd{font:600 11px inherit;color:#7a7a7a;border:1px solid #ddd;border-radius:5px;padding:2px 7px;background:#fafafa}
.fhf-top-icon{width:34px;height:34px;border:0;background:transparent;border-radius:50%;display:grid;place-items:center;color:#262a2e;position:relative}
.fhf-top-icon:hover{background:#f5f5f5}.fhf-top-icon svg{width:18px!important;height:18px!important}
.fhf-dot{position:absolute;width:7px;height:7px;border-radius:50%;background:#7fd36b;right:5px;top:5px;border:1.5px solid #fff}
.fhf-version{background:#f5f5f5;color:#8a8a8a;font-size:10px}
.fhf-avatar{width:36px;height:36px;background:#2d3135;font-size:13px}
.fhf-user-copy strong{font-size:12px}.fhf-user-copy small{font-size:10px}

.fhf-page-head{padding:28px 34px 22px;border-color:#ededed}
.fhf-breadcrumb{font-size:11px;color:#999;margin-bottom:8px}
.fhf-page-head h1{font-size:28px;font-weight:700;letter-spacing:-.03em}
.fhf-page-head p{font-size:13px;margin-top:7px}
.fhf-content{padding:28px 34px 100px;max-width:none}
.fhf-section,.fhf-panel,.fhf-card{border-color:#eaeaea;box-shadow:none}
.fhf-section{border-radius:10px}
.fhf-action{background:#c8102e;border-color:#c8102e}
.fhf-secondary{border-color:#ddd}
.fhf-card{border-radius:9px}

.fhf-welcome{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}
.fhf-welcome h2{font-size:29px;letter-spacing:-.035em;margin:0 0 4px;font-weight:700}
.fhf-welcome p{margin:0;color:#6f6f6f;font-size:14px}
.fhf-period-chip{border:1px solid #dedede;border-radius:7px;padding:9px 14px;display:flex;gap:14px;align-items:center;background:#fff}
.fhf-period-chip span{font-size:11px;color:#888}.fhf-period-chip b{font-size:12px}
.fhf-dashboard-tabs{display:flex;gap:30px;border-bottom:1px solid #e7e7e7;margin-bottom:28px}
.fhf-dashboard-tabs button{border:0;background:transparent;padding:0 0 12px;font-size:13px;color:#333;position:relative}
.fhf-dashboard-tabs button.active{color:#a90d26}.fhf-dashboard-tabs button.active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:#c8102e}

.fhf-dash-layout{display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:22px}
.fhf-dash-main,.fhf-dash-side{display:grid;gap:22px;align-content:start}
.fhf-panel{background:#fff;border:1px solid #e8e8e8;border-radius:9px}
.fhf-panel-head{height:58px;padding:0 20px;border-bottom:1px solid #ececec;display:flex;align-items:center;justify-content:space-between}
.fhf-panel-head h3{font-size:14px;margin:2px 0 0;font-weight:600}
.fhf-eyebrow{font-size:9.5px;color:#969696;letter-spacing:.08em;font-weight:700}
.fhf-more{border:0;background:transparent;font-weight:700;color:#555;font-size:14px;padding:5px 8px}
.fhf-metrics-row{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid #ececec}
.fhf-metrics-row>div{padding:22px 20px;border-right:1px solid #ececec}.fhf-metrics-row>div:last-child{border-right:0}
.fhf-metrics-row span{display:block;font-size:11px;color:#777;margin-bottom:8px}.fhf-metrics-row b{display:block;font-size:25px;letter-spacing:-.03em;margin-bottom:3px}.fhf-metrics-row small{font-size:9.5px;color:#9b9b9b}
.fhf-strategy-visual{display:grid;grid-template-columns:280px 1fr;gap:28px;padding:24px 20px}
.fhf-strategy-copy h3{font-size:18px;margin:5px 0 7px}.fhf-strategy-copy p{font-size:11.5px;line-height:1.55;color:#6f6f6f;margin:0}
.fhf-strategy-bars{display:grid;gap:16px;align-content:center}.fhf-strategy-line{display:flex;justify-content:space-between;font-size:10.5px;margin-bottom:6px}.fhf-strategy-line span{font-weight:600}.fhf-strategy-line b{color:#777;font-size:10px}
.fhf-progress{height:8px;background:#edf0f2;border-radius:10px;overflow:hidden}.fhf-progress i{height:100%;display:block;background:linear-gradient(90deg,#b20e29,#dc4960);border-radius:10px}
.fhf-admin-links{display:grid;grid-template-columns:1fr 1fr;padding:8px 18px 18px}
.fhf-admin-links button{display:grid;grid-template-columns:38px 1fr 20px;gap:12px;align-items:center;border:0;background:transparent;text-align:left;padding:13px 8px;border-bottom:1px solid #efefef}
.fhf-admin-links button:nth-last-child(-n+2){border-bottom:0}.fhf-admin-links button:hover{background:#fafafa}
.fhf-link-icon{width:34px;height:34px;border-radius:8px;display:grid;place-items:center;font-weight:700}.fhf-link-icon.red{background:#fff0f2;color:#b42318}.fhf-link-icon.blue{background:#edf4ff;color:#2563eb}.fhf-link-icon.amber{background:#fff7e6;color:#ad6700}.fhf-link-icon.green{background:#eaf8f1;color:#177245}
.fhf-admin-links b{display:block;font-size:11.5px;margin-bottom:3px}.fhf-admin-links small{display:block;font-size:9.5px;color:#929292}.fhf-admin-links em{font-style:normal;font-size:20px;color:#aaa}
.fhf-next-meeting{text-align:center;padding-bottom:20px}.fhf-next-meeting .fhf-panel-head{text-align:left}.fhf-meeting-orb{width:108px;height:108px;border-radius:50%;margin:25px auto 17px;background:conic-gradient(#c8102e 0 68%,#f0f0f0 68% 100%);display:grid;place-items:center;position:relative}.fhf-meeting-orb:before{content:"";position:absolute;inset:11px;background:#fff;border-radius:50%}.fhf-meeting-orb span{position:relative;font-size:25px}.fhf-next-meeting>strong{font-size:17px;display:block}.fhf-next-meeting>p{font-size:10.5px;color:#808080;padding:0 24px;line-height:1.45}.fhf-outline-btn{border:1px solid #dcdcdc;background:#fff;border-radius:7px;padding:8px 15px;font-size:10.5px;font-weight:600}
.fhf-memory-card{padding:20px}.fhf-memory-card h3{font-size:16px;margin:6px 0 8px}.fhf-memory-card p{font-size:10.5px;line-height:1.55;color:#747474;margin:0 0 14px}.fhf-memory-card button{border:0;background:transparent;color:#a90d26;font-size:10.5px;font-weight:700;padding:0}

@media(max-width:1150px){.fhf-dash-layout{grid-template-columns:1fr}.fhf-dash-side{grid-template-columns:1fr 1fr}.fhf-strategy-visual{grid-template-columns:1fr}.fhf-metrics-row{grid-template-columns:1fr 1fr}.fhf-metrics-row>div:nth-child(2){border-right:0}.fhf-metrics-row>div:nth-child(-n+2){border-bottom:1px solid #ececec}}
@media(max-width:900px){.fhf-sidebar{width:276px}.fhf-workspace{margin-left:0}.fhf-content{padding-left:20px;padding-right:20px}.fhf-page-head{padding-left:20px;padding-right:20px}}
@media(max-width:700px){
  .fhf-welcome{align-items:flex-start}.fhf-welcome h2{font-size:24px}.fhf-period-chip{display:none}.fhf-dashboard-tabs{gap:20px;overflow-x:auto}.fhf-dashboard-tabs button{white-space:nowrap}
  .fhf-dash-side{grid-template-columns:1fr}.fhf-metrics-row{grid-template-columns:1fr 1fr}.fhf-metrics-row>div{padding:16px 14px}.fhf-metrics-row b{font-size:21px}
  .fhf-strategy-visual{padding:18px 15px}.fhf-admin-links{grid-template-columns:1fr;padding:7px 12px 14px}.fhf-admin-links button:nth-last-child(-n+2){border-bottom:1px solid #efefef}.fhf-admin-links button:last-child{border-bottom:0}
  .fhf-next-meeting{display:none}
}

/* v0.9.2 — reading polish + official shield */
.fhf-mark{
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
  width:42px!important;
  height:46px!important;
  display:grid!important;
  place-items:center!important;
  overflow:visible!important;
}
.fhf-mark:after{display:none!important}
.fhf-mark img{
  display:block;
  width:38px;
  height:44px;
  object-fit:contain;
}

/* Body text gets one visual step larger without making navigation/UI oversized */
.fhf-section,
.fhf-panel,
.fhf-meeting-head,
.fhf-agenda-body,
.fhf-minutes-preview{
  font-size:15px;
}
.fhf-section p,
.fhf-panel p,
.fhf-agenda-body p,
.fhf-minutes-preview p{
  line-height:1.58;
}
.fhf-note{
  font-size:12.5px;
  line-height:1.6;
}

/* Preserve deliberate line and paragraph breaks in entered meeting text */
.fhf-preserve,
.fhf-minutes-preview p,
.fhf-agenda-block p,
.fhf-board-question p,
.fhf-decision-block p{
  white-space:pre-wrap!important;
  overflow-wrap:anywhere;
}

/* Minutes need stronger document-like hierarchy */
.fhf-minutes-preview{
  line-height:1.58;
  color:#262a2e;
}
.fhf-minutes-preview h3{
  font-size:16px;
  line-height:1.35;
  margin:22px 0 8px;
}
.fhf-minutes-preview h3:first-child{margin-top:0}
.fhf-minutes-preview strong{
  font-weight:700;
}

/* Agenda reading text slightly larger, while controls remain compact */
.fhf-agenda-body{
  line-height:1.58;
}
.fhf-agenda-block,
.fhf-board-question,
.fhf-decision-block{
  font-size:14.5px;
}
.fhf-agenda-title h3{
  font-size:13px;
}

/* Sidebar brand spacing adjusted for shield */
.fhf-brand{gap:14px}

/* v0.9.3 — minutes spacing correction */
.fhf-minutes-preview{
  font-size:15px;
  line-height:1.48;
}
.fhf-minutes-preview p{
  white-space:pre-wrap!important;
  margin:0 0 12px!important;
  line-height:1.48!important;
}
.fhf-minutes-preview p br{
  line-height:1;
}
.fhf-minutes-preview h3{
  margin:18px 0 7px!important;
  font-size:16px;
  line-height:1.3;
}
.fhf-minutes-preview h3:first-child{
  margin-top:0!important;
}
.fhf-agenda-block p,
.fhf-board-question p,
.fhf-decision-block p{
  margin:4px 0 0!important;
  line-height:1.5!important;
}

/* v0.9.5 — FH typography + stronger meeting overview */
#fhf-app,
#fhf-app button,
#fhf-app input,
#fhf-app select,
#fhf-app textarea,
#fhf-app table{
  font-family:"Titillium Web","Segoe UI",Arial,sans-serif!important;
}
#fhf-app h1,
#fhf-app h2,
#fhf-app h3,
#fhf-app h4,
#fhf-app .fhf-brand-copy strong,
#fhf-app .fhf-page-head h1,
#fhf-app .fhf-panel-head h3,
#fhf-app .fhf-welcome h2,
#fhf-app .fhf-meeting-card h3{
  font-family:"Montserrat","Segoe UI",Arial,sans-serif!important;
}

/* Meeting list: date is now a primary visual anchor */
.fhf-meeting-overview{
  gap:12px;
}
.fhf-meeting-card-date{
  display:grid!important;
  grid-template-columns:94px minmax(0,1fr) auto;
  gap:20px;
  align-items:center;
  min-height:132px;
  padding:18px 22px!important;
}
.fhf-date-block{
  align-self:stretch;
  border-right:1px solid #ececec;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  padding-right:20px;
  line-height:1;
}
.fhf-date-block strong{
  font-family:"Montserrat","Segoe UI",Arial,sans-serif!important;
  font-size:46px;
  line-height:.9;
  letter-spacing:-.06em;
  color:#20242a;
}
.fhf-date-block span{
  font-family:"Montserrat","Segoe UI",Arial,sans-serif!important;
  color:#c8102e;
  font-size:12px;
  font-weight:800;
  letter-spacing:.10em;
  margin-top:8px;
}
.fhf-date-block small{
  color:#969ba1;
  font-size:10px;
  margin-top:5px;
}
.fhf-meeting-card-copy{
  min-width:0;
}
.fhf-meeting-card-date .fhf-kicker{
  display:block;
  margin-bottom:7px;
}
.fhf-meeting-card-date h3{
  font-size:24px!important;
  line-height:1.12;
  letter-spacing:-.025em;
  margin:0 0 8px!important;
}
.fhf-meeting-card-date p{
  font-size:13px!important;
  line-height:1.4;
}
.fhf-meeting-card-date .fhf-meeting-stats{
  min-width:115px;
  padding-left:16px;
  border-left:1px solid #ececec;
  font-size:11px;
  gap:6px;
}

/* Body copy: Titillium can comfortably run a little larger */
.fhf-agenda-body,
.fhf-minutes-preview,
.fhf-section p,
.fhf-panel p{
  font-family:"Titillium Web","Segoe UI",Arial,sans-serif!important;
}
.fhf-agenda-body,
.fhf-minutes-preview{
  font-size:15.5px;
}

@media(max-width:700px){
  .fhf-meeting-card-date{
    grid-template-columns:68px minmax(0,1fr);
    gap:13px;
    min-height:112px;
    padding:14px!important;
  }
  .fhf-date-block{
    padding-right:13px;
  }
  .fhf-date-block strong{
    font-size:36px;
  }
  .fhf-meeting-card-date h3{
    font-size:18px!important;
  }
  .fhf-meeting-card-date .fhf-meeting-stats{
    grid-column:1/-1;
    border-left:0;
    border-top:1px solid #ececec;
    padding:10px 0 0;
    min-width:0;
  }
}

/* v0.9.6 — document/header balance + meeting edit */
.fhf-meeting-head-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}
.fhf-meeting-head-top .fhf-back{
  padding-bottom:0;
}

/* v0.10.0 — mobile/navigation/readability/PWA polish */

/* Remove the dashboard's extra subnavigation completely. */
.fhf-dashboard-tabs{display:none!important}

/* Meeting detail readability: the working surface must not feel like microcopy. */
.fhf-meeting-head h2{
  font-size:30px!important;
  line-height:1.15!important;
}
.fhf-meeting-head p{
  font-size:14px!important;
  line-height:1.45!important;
}
.fhf-meeting-head .fhf-kicker{
  font-size:11px!important;
}
.fhf-section h2{
  font-size:20px!important;
}
.fhf-section .fhf-note{
  font-size:13.5px!important;
}
.fhf-agenda-toggle{
  min-height:64px!important;
}
.fhf-agenda-title h3{
  font-size:15px!important;
}
.fhf-type{
  font-size:9px!important;
  padding:5px 8px!important;
}
.fhf-agenda-number{
  width:32px!important;
  height:32px!important;
  font-size:12px!important;
}
.fhf-agenda-body{
  font-size:16px!important;
  line-height:1.55!important;
}
.fhf-agenda-block,
.fhf-board-question,
.fhf-decision-block,
.fhf-attachments{
  font-size:15px!important;
}
.fhf-mini,
.fhf-secondary,
.fhf-action{
  font-size:12px!important;
}

/* Mobile menu: black, high-contrast and unmistakable. */
@media(max-width:900px){
  .fhf-menu-toggle{
    display:grid!important;
    place-items:center!important;
    width:42px!important;
    height:42px!important;
    background:#111827!important;
    color:#fff!important;
    border-radius:10px!important;
    border:0!important;
    font-size:20px!important;
    font-weight:800!important;
    box-shadow:0 2px 6px rgba(0,0,0,.14)!important;
  }
}

/* Same SVG icon style on mobile bottom navigation as desktop sidebar. */
.fhf-mobile-icon{
  width:23px;
  height:23px;
  display:grid;
  place-items:center;
}
.fhf-mobile-icon svg{
  width:21px!important;
  height:21px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.7!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.fhf-mobile-nav button{
  font-size:13px!important;
}
.fhf-mobile-nav button b{
  font-size:9px!important;
  font-weight:700!important;
}

/* Respect the Salvation Army shield in the in-app brand too. */
.fhf-mark{
  width:46px!important;
  height:52px!important;
  padding:5px!important;
}
.fhf-mark img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
}

/* Mobile meeting-detail text should remain comfortably readable. */
@media(max-width:700px){
  .fhf-meeting-head h2{font-size:25px!important}
  .fhf-meeting-head p{font-size:13px!important}
  .fhf-section h2{font-size:18px!important}
  .fhf-agenda-title h3{font-size:14px!important}
  .fhf-agenda-body{font-size:15px!important}
  .fhf-agenda-block,
  .fhf-board-question,
  .fhf-decision-block,
  .fhf-attachments{font-size:14px!important}
}

/* v0.11.0 — decisions & governance follow-up */
.fhf-decision-filters{grid-template-columns:1.5fr 1fr 1fr}
.fhf-decision-card{
  background:#fff;
  border:1px solid var(--fhf-line);
  border-left:4px solid #94a3b8;
  border-radius:12px;
  padding:19px 20px;
  margin-bottom:14px;
}
.fhf-decision-card.overdue{border-left-color:#d97706}
.fhf-decision-card.done{border-left-color:#16a34a;opacity:.82}
.fhf-decision-card-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}
.fhf-decision-card-head h3{font-size:17px;margin:7px 0 0}
.fhf-decision-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;color:var(--fhf-muted);font-size:11px}
.fhf-decision-text{font-size:15px;line-height:1.55;margin:15px 0;white-space:pre-wrap}
.fhf-decision-followup{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding-top:14px;border-top:1px solid var(--fhf-line)}
.fhf-decision-followup>div{background:#f8f9fb;border:1px solid var(--fhf-line);border-radius:9px;padding:11px 12px}
.fhf-decision-followup span{display:block;font-size:10px;color:var(--fhf-muted);margin-bottom:4px}
.fhf-decision-followup b{font-size:12px}
.fhf-followup-note{margin-top:12px;padding:12px 14px;background:#eff6ff;border-left:3px solid #3b82f6;border-radius:8px}
.fhf-followup-note b{font-size:11px}.fhf-followup-note p{margin:5px 0 0;white-space:pre-wrap}
.fhf-decision-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:13px}

@media(max-width:700px){
  .fhf-decision-filters{grid-template-columns:1fr}
  .fhf-decision-card{padding:15px}
  .fhf-decision-card-head{display:block}
  .fhf-decision-card-head .fhf-mini{margin-top:10px}
  .fhf-decision-followup{grid-template-columns:1fr}
  .fhf-decision-actions{justify-content:stretch}
  .fhf-decision-actions button{width:100%}
}

/* v0.12.0 — approvals */
.fhf-metric-action{cursor:pointer}.fhf-metric-action:hover{background:#fafafa}
.fhf-approval-notice{margin-top:15px;border-left:4px solid #2563eb;background:#eff6ff;border-radius:8px;padding:12px 14px}
.fhf-approval-notice b{font-size:12px}.fhf-approval-notice p{font-size:12px;margin:4px 0 0}
.fhf-approval-list{display:grid;gap:15px}
.fhf-approval-card{background:#fff;border:1px solid var(--fhf-line);border-left:4px solid #f59e0b;border-radius:12px;padding:20px}
.fhf-approval-card.approved{border-left-color:#16a34a}.fhf-approval-card.changes{border-left-color:#dc2626}
.fhf-approval-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.fhf-approval-head h3{font-size:18px;margin:8px 0 0}
.fhf-approval-progress{text-align:center;border:1px solid var(--fhf-line);background:#f8f9fb;border-radius:9px;padding:8px 12px;min-width:78px}
.fhf-approval-progress b{display:block;font-size:18px}.fhf-approval-progress span{font-size:9px;color:var(--fhf-muted)}
.fhf-document-preview{margin:15px 0;border:1px solid var(--fhf-line);border-radius:9px;overflow:hidden}
.fhf-document-preview summary{cursor:pointer;padding:11px 13px;background:#f8f9fb;font-size:12px;font-weight:700}
.fhf-document-content{padding:17px;font-size:14px;line-height:1.55;max-height:520px;overflow:auto}.fhf-document-content p{white-space:pre-wrap}
.fhf-approver-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.fhf-approver{display:grid;grid-template-columns:27px 1fr;gap:9px;border:1px solid var(--fhf-line);border-radius:9px;padding:10px;background:#fff}
.fhf-approver-state{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#f1f3f5;color:#777;font-weight:800}
.fhf-approver.approved .fhf-approver-state{background:#eaf8f1;color:#177245}.fhf-approver.changes_requested .fhf-approver-state{background:#fff0f2;color:#b42318}
.fhf-approver b{display:block;font-size:11.5px}.fhf-approver small{font-size:9.5px;color:var(--fhf-muted)}.fhf-approver p{font-size:10.5px;margin:5px 0 0;white-space:pre-wrap}
.fhf-my-approval{margin-top:15px;padding:14px;background:#f8f9fb;border:1px solid var(--fhf-line);border-radius:9px}
.fhf-my-approval h4{font-size:14px;margin:0 0 4px}.fhf-my-approval>p{font-size:11px;color:var(--fhf-muted);margin:0 0 9px}
.fhf-my-approval textarea{width:100%;border:1px solid #d9dde3;border-radius:8px;padding:10px;resize:vertical}
.fhf-approval-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}
@media(max-width:700px){.fhf-approval-card{padding:14px}.fhf-approval-head{display:block}.fhf-approval-progress{display:inline-block;margin-top:9px}.fhf-approver-grid{grid-template-columns:1fr}.fhf-approval-actions{display:grid;grid-template-columns:1fr}}

/* v0.12.1 — standalone FH Forening login */
.fhf-login-body{min-height:100vh;margin:0;background:#fff;overflow-x:hidden}
.fhf-login-shell{min-height:100vh;display:grid;grid-template-columns:minmax(360px,42%) minmax(0,58%)}
.fhf-login-brand{position:relative;background:radial-gradient(circle at 18% 15%,rgba(255,255,255,.13),transparent 28%),linear-gradient(145deg,#a90d26 0%,#c8102e 52%,#8e0a20 100%);color:#fff;display:flex;align-items:center;justify-content:center;padding:58px;overflow:hidden}
.fhf-login-brand:before{content:"";position:absolute;width:470px;height:470px;border:1px solid rgba(255,255,255,.10);border-radius:50%;right:-210px;top:-150px}
.fhf-login-brand:after{content:"";position:absolute;width:280px;height:280px;border:1px solid rgba(255,255,255,.08);border-radius:50%;left:-130px;bottom:-100px}
.fhf-login-brand-inner{position:relative;z-index:1;max-width:430px}
.fhf-login-brand-inner>img{width:82px;height:96px;object-fit:contain;display:block;margin-bottom:30px;filter:drop-shadow(0 7px 16px rgba(0,0,0,.16))}
.fhf-login-brand-inner>span{font-family:"Montserrat","Segoe UI",Arial,sans-serif;display:block;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.72);margin-bottom:8px}
.fhf-login-brand-inner h1{font-family:"Montserrat","Segoe UI",Arial,sans-serif;font-size:44px;line-height:1.03;letter-spacing:-.045em;margin:0 0 16px;color:#fff}
.fhf-login-brand-inner>p{font-family:"Titillium Web","Segoe UI",Arial,sans-serif;font-size:18px;line-height:1.55;color:rgba(255,255,255,.83);margin:0}
.fhf-login-principle{margin-top:46px;padding:17px 18px;border:1px solid rgba(255,255,255,.18);border-radius:12px;background:rgba(255,255,255,.08);backdrop-filter:blur(8px);display:grid;gap:5px}
.fhf-login-principle small{font-size:9px;letter-spacing:.12em;color:rgba(255,255,255,.60);font-weight:800}.fhf-login-principle b{font-size:14px}.fhf-login-principle span{font-size:12px;color:rgba(255,255,255,.72)}
.fhf-login-panel{background:#f7f8fa;display:flex;align-items:center;justify-content:center;padding:48px 7vw}
.fhf-login-card{width:min(440px,100%)}
.fhf-login-mobile-logo{display:none}
.fhf-login-copy{margin-bottom:30px}.fhf-login-copy .fhf-eyebrow{color:#c8102e}
.fhf-login-copy h2{font-family:"Montserrat","Segoe UI",Arial,sans-serif!important;font-size:34px;line-height:1.1;letter-spacing:-.035em;margin:7px 0 9px;color:#20242a}
.fhf-login-copy p{font-size:15px;line-height:1.5;color:#71767c;margin:0}
.fhf-login-form{display:grid;gap:18px}.fhf-login-form>label{display:grid;gap:7px;font-size:12px;font-weight:700;color:#3f454c}
.fhf-login-field{height:52px;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #dfe3e7;border-radius:9px;padding:0 13px;transition:border-color .15s,box-shadow .15s}
.fhf-login-field:focus-within{border-color:#9ba2aa;box-shadow:0 0 0 4px rgba(17,24,39,.05)}
.fhf-login-field svg{width:19px!important;height:19px!important;flex:0 0 19px;fill:none!important;stroke:#7d858e!important;stroke-width:1.7!important}
.fhf-login-field input{flex:1;min-width:0;height:100%;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;font-size:15px!important;color:#23272c;padding:0!important}
.fhf-password-toggle{border:0;background:transparent;color:#60676e;font-size:11px;font-weight:700;padding:5px;cursor:pointer}
.fhf-login-error{background:#fff0f2;border:1px solid #f5c2ca;border-left:4px solid #c8102e;color:#9f1026;border-radius:8px;padding:10px 12px;font-size:12px;line-height:1.45}
.fhf-login-submit{height:52px;border:0;border-radius:9px;background:#c8102e;color:#fff;display:flex;align-items:center;justify-content:center;gap:12px;font-size:14px;font-weight:800;cursor:pointer;box-shadow:0 7px 16px rgba(200,16,46,.18)}
.fhf-login-submit:hover{background:#ad0d27}.fhf-login-submit:disabled{opacity:.65;cursor:wait}.fhf-login-submit b{font-size:20px;line-height:1}
.fhf-login-links{display:flex;justify-content:center;gap:9px;align-items:center;margin-top:20px;font-size:12px;color:#a1a6ac}.fhf-login-links a{color:#5d646b;text-decoration:none;font-weight:700}.fhf-login-links a:hover{color:#c8102e}
.fhf-login-security{text-align:center;font-size:10.5px;line-height:1.45;color:#9aa0a6;margin:22px auto 0;max-width:390px}
@media(max-width:820px){
  .fhf-login-shell{grid-template-columns:1fr}.fhf-login-brand{display:none}
  .fhf-login-panel{min-height:100vh;padding:36px 22px 50px;align-items:center;background:linear-gradient(#fff 0 150px,#f7f8fa 150px)}
  .fhf-login-card{background:#fff;border:1px solid #e6e9ec;border-radius:16px;box-shadow:0 15px 40px rgba(15,23,42,.08);padding:28px 22px 24px}
  .fhf-login-mobile-logo{display:flex;align-items:center;gap:12px;margin-bottom:28px}
  .fhf-login-mobile-logo img{width:46px;height:54px;object-fit:contain}
  .fhf-login-mobile-logo span{font-family:"Montserrat","Segoe UI",Arial,sans-serif;font-size:18px;font-weight:800;letter-spacing:-.025em}
  .fhf-login-copy h2{font-size:28px}
}

/* v0.13.0 — document archive & board memory */
.fhf-document-toolbar{display:grid;grid-template-columns:1.7fr repeat(3,1fr);gap:9px;margin-top:16px}
.fhf-document-toolbar input,.fhf-document-toolbar select,.fhf-memory-searchbox input{
  width:100%;border:1px solid #d9dde3;border-radius:8px;padding:10px;background:#fff
}
.fhf-doc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.fhf-doc-card{display:grid;grid-template-columns:56px 1fr;gap:14px;text-align:left;background:#fff;border:1px solid var(--fhf-line);border-radius:11px;padding:17px;min-height:132px}
.fhf-doc-card:hover{background:#fafbfc;border-color:#d8dde2}
.fhf-doc-icon{width:48px;height:48px;border-radius:10px;background:#fff0f2;color:#b42318;display:grid;place-items:center;font-family:"Montserrat",sans-serif;font-size:21px;font-weight:800}
.fhf-doc-icon.large{width:62px;height:62px;font-size:26px}
.fhf-doc-meta{display:flex;gap:8px;flex-wrap:wrap;color:#8a9096;font-size:10px}
.fhf-doc-card h3{font-size:16px;margin:6px 0 5px}.fhf-doc-card p{font-size:11px;color:var(--fhf-muted);margin:0;line-height:1.4}
.fhf-doc-foot{display:flex;justify-content:space-between;align-items:center;margin-top:12px;font-size:10px;color:var(--fhf-muted)}

.fhf-memory-search{background:#172033;color:#fff;border-radius:12px;padding:20px;margin-bottom:18px;display:grid;grid-template-columns:minmax(230px,.8fr) 1.2fr;gap:24px;align-items:center}
.fhf-memory-search .fhf-eyebrow{color:#aeb7c3}.fhf-memory-search h3{font-size:18px;margin:5px 0}.fhf-memory-search p{font-size:11.5px;line-height:1.5;color:#c2c8d0;margin:0}
.fhf-memory-searchbox{display:flex;gap:8px}.fhf-memory-searchbox input{background:#fff}.fhf-memory-searchbox button{border:0;background:#c8102e;color:#fff;border-radius:8px;padding:10px 13px;font-weight:700;white-space:nowrap}
#fhf-memory-results{grid-column:1/-1}
.fhf-memory-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;border-top:1px solid rgba(255,255,255,.12);padding-top:15px}
.fhf-memory-columns h4{font-size:11px;color:#fff;margin:0 0 7px}.fhf-memory-hit{width:100%;display:block;text-align:left;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);color:#fff;border-radius:8px;padding:10px;margin-bottom:7px}
.fhf-memory-hit b{display:block;font-size:11.5px}.fhf-memory-hit span{display:block;font-size:9.5px;color:#bac2cc;margin-top:3px}.fhf-memory-hit p{margin-top:6px;font-size:10.5px;color:#d4dae1;white-space:pre-wrap}

.fhf-doc-detail-head{margin-bottom:18px}.fhf-doc-detail-title{display:flex;align-items:center;gap:15px}.fhf-doc-detail-title h2{font-size:26px;margin:5px 0}.fhf-doc-detail-title p{margin:0;color:var(--fhf-muted)}
.fhf-doc-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:18px}
.fhf-document-content.standalone{max-height:none;border:1px solid var(--fhf-line);border-radius:9px;background:#fff;margin-top:14px}
.fhf-doc-relations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.fhf-doc-relations>div{background:#f8f9fb;border:1px solid var(--fhf-line);border-radius:8px;padding:10px}.fhf-doc-relations span{display:block;font-size:9px;color:var(--fhf-muted)}.fhf-doc-relations b{font-size:11px}
.fhf-doc-files{display:grid;gap:7px}.fhf-doc-file{display:grid;grid-template-columns:28px 1fr;gap:9px;align-items:center;border:1px solid var(--fhf-line);background:#fff;border-radius:8px;padding:9px;text-align:left}.fhf-doc-file>span{width:26px;height:26px;border-radius:6px;background:#f1f3f5;display:grid;place-items:center}.fhf-doc-file b{font-size:10.5px;display:block}.fhf-doc-file small{font-size:9px;color:var(--fhf-muted)}
.fhf-version-list>div{padding:9px 0;border-bottom:1px solid var(--fhf-line)}.fhf-version-list b{display:block;font-size:11px}.fhf-version-list span{font-size:9.5px;color:var(--fhf-muted)}

@media(max-width:1000px){.fhf-doc-detail-grid{grid-template-columns:1fr}.fhf-doc-detail-grid>aside{display:grid;grid-template-columns:1fr 1fr;gap:12px}}
@media(max-width:700px){
  .fhf-document-toolbar{grid-template-columns:1fr}
  .fhf-doc-grid{grid-template-columns:1fr}
  .fhf-memory-search{grid-template-columns:1fr;padding:16px}
  .fhf-memory-searchbox{display:grid}
  .fhf-memory-columns{grid-template-columns:1fr}
  .fhf-doc-detail-title{align-items:flex-start}.fhf-doc-detail-title h2{font-size:21px}
  .fhf-doc-detail-grid>aside{grid-template-columns:1fr}
  .fhf-doc-relations{grid-template-columns:1fr}
}

/* v0.14.0 members & dues */
.fhf-member-controls{display:grid;grid-template-columns:1fr 180px;gap:9px;margin-top:14px}.fhf-member-controls input,.fhf-member-controls select,.fhf-snapshot-controls input{border:1px solid var(--fhf-line);border-radius:8px;padding:10px;background:#fff}
.fhf-member-snapshot{background:#fff;border:1px solid var(--fhf-line);border-radius:11px;padding:17px;margin-bottom:14px}.fhf-snapshot-controls{display:flex;justify-content:space-between;gap:14px;align-items:center}.fhf-snapshot-controls h3{margin:4px 0;font-size:17px}.fhf-snapshot-controls>div:last-child{display:flex;gap:7px}.fhf-snapshot-controls button{border:0;background:#20242a;color:#fff;border-radius:8px;padding:9px 13px}
.fhf-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:14px}.fhf-stat-grid.one{grid-template-columns:1fr 1fr}.fhf-stat{background:#f7f8fa;border:1px solid #eceff2;border-radius:9px;padding:13px}.fhf-stat span{display:block;font-size:10px;color:var(--fhf-muted)}.fhf-stat b{display:block;font-family:"Montserrat",sans-serif;font-size:25px;margin-top:3px}.fhf-stat b.small{font-size:16px}.fhf-stat.attention{border-left:4px solid #c8102e}
.fhf-member-table{background:#fff;border:1px solid var(--fhf-line);border-radius:11px;overflow:hidden}.fhf-member-row{display:grid;grid-template-columns:1.6fr .8fr .7fr .7fr .9fr 65px;gap:9px;align-items:center;padding:11px 14px;border-bottom:1px solid var(--fhf-line);font-size:11px}.fhf-member-row.head{background:#f7f8fa;color:var(--fhf-muted);font-size:9px;font-weight:700;text-transform:uppercase}.fhf-member-row b{display:block}.fhf-member-row small{display:block;color:var(--fhf-muted);font-size:9px}
.fhf-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.fhf-member-profile{display:grid;grid-template-columns:1fr 1fr;gap:16px}.fhf-profile-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.fhf-profile-facts>div{background:#f8f9fa;border:1px solid var(--fhf-line);border-radius:8px;padding:10px}.fhf-profile-facts span{display:block;font-size:9px;color:var(--fhf-muted)}.fhf-profile-facts b{font-size:11px}
@media(max-width:800px){.fhf-member-row{grid-template-columns:1fr auto}.fhf-member-row.head{display:none}.fhf-member-row>span{display:none}.fhf-member-profile{grid-template-columns:1fr}.fhf-stat-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.fhf-member-controls,.fhf-form-grid{grid-template-columns:1fr}.fhf-snapshot-controls{display:grid}.fhf-snapshot-controls>div:last-child{display:grid;grid-template-columns:1fr 1fr}.fhf-snapshot-controls button{grid-column:1/-1}}

/* v0.14.1 — Danish membership language, CSV import, agenda subpoints */
.fhf-import-help{background:#f8f9fb;border:1px solid var(--fhf-line);border-radius:9px;padding:12px 14px;margin-bottom:14px}
.fhf-import-help b{font-size:12px}.fhf-import-help p{font-size:11px;color:var(--fhf-muted);margin:5px 0}
.fhf-import-result{background:#eef9f2;border-left:4px solid #16a34a;border-radius:8px;padding:12px;margin-top:10px}
.fhf-import-result p{margin:4px 0}.fhf-import-result details{margin-top:8px}
.fhf-agenda-subitem{margin-left:42px;border-left-width:3px;background:#fbfcfd}
.fhf-agenda-subitem .fhf-agenda-toggle{background:#fbfcfd}
.fhf-agenda-subitem .fhf-agenda-number{border-radius:8px;width:40px}
@media(max-width:700px){
  .fhf-agenda-subitem{margin-left:16px}
  .fhf-agenda-subitem .fhf-agenda-number{width:36px}
}

/* v0.14.2 — automatic member group */
.fhf-auto-field{
  min-height:42px;
  display:flex;
  align-items:center;
  border:1px dashed #cfd5dc;
  background:#f8f9fb;
  color:#6f7780;
  border-radius:8px;
  padding:9px 10px;
  font-size:12px;
}

/* v0.14.3 — address fields */
.fhf-member-address{
  margin-top:10px;
  background:#f8f9fa;
  border:1px solid var(--fhf-line);
  border-radius:8px;
  padding:10px;
}
.fhf-member-address span{display:block;font-size:9px;color:var(--fhf-muted)}
.fhf-member-address b{font-size:11px}

/* v0.15.0 — membership type + general assembly */
.fhf-stat-grid.five{grid-template-columns:repeat(5,1fr)}
.fhf-stat-grid.six{grid-template-columns:repeat(6,1fr)}
.fhf-ga-list{display:grid;gap:11px}.fhf-ga-card{display:grid;grid-template-columns:78px 1fr 115px;gap:18px;align-items:center;text-align:left;background:#fff;border:1px solid var(--fhf-line);border-radius:11px;padding:15px 18px}.fhf-ga-card:hover{background:#fafbfc}
.fhf-ga-date{border-right:1px solid var(--fhf-line);text-align:center;padding-right:15px}.fhf-ga-date b{display:block;font-family:"Montserrat",sans-serif;font-size:34px;line-height:1}.fhf-ga-date span{display:block;color:#c8102e;font-weight:800;font-size:11px;margin-top:4px}.fhf-ga-date small{font-size:9px;color:var(--fhf-muted)}
.fhf-ga-card h3{font-size:17px;margin:5px 0}.fhf-ga-card p{font-size:10.5px;color:var(--fhf-muted);margin:0}.fhf-ga-stats{text-align:right}.fhf-ga-stats b{display:block;font-size:22px}.fhf-ga-stats span,.fhf-ga-stats small{display:block;font-size:9px;color:var(--fhf-muted)}
.fhf-ga-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:16px}.fhf-ga-head h2{font-size:27px;margin:5px 0}.fhf-ga-head p{color:var(--fhf-muted);margin:0}
.fhf-ga-search{width:100%;border:1px solid var(--fhf-line);border-radius:8px;padding:10px;margin:12px 0}
.fhf-ga-voter-list{display:grid;gap:7px}.fhf-ga-voter{display:grid;grid-template-columns:30px 1fr auto;gap:10px;align-items:center;width:100%;text-align:left;background:#fff;border:1px solid var(--fhf-line);border-radius:9px;padding:10px}.fhf-ga-voter.present{background:#f0faf4;border-color:#bde7cb}.fhf-check{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#f1f3f5;font-weight:800}.fhf-ga-voter.present .fhf-check{background:#177245;color:#fff}.fhf-ga-voter b{display:block;font-size:11.5px}.fhf-ga-voter small{display:block;font-size:9.5px;color:var(--fhf-muted);margin-top:2px}
@media(max-width:1000px){.fhf-stat-grid.five,.fhf-stat-grid.six{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.fhf-ga-card{grid-template-columns:64px 1fr}.fhf-ga-stats{grid-column:1/-1;text-align:left;border-top:1px solid var(--fhf-line);padding-top:8px}.fhf-ga-head{display:block}.fhf-ga-head .fhf-action{margin-top:10px}.fhf-stat-grid.five,.fhf-stat-grid.six{grid-template-columns:1fr 1fr}.fhf-ga-voter{grid-template-columns:30px 1fr}.fhf-ga-voter>.fhf-pill{grid-column:2}}

/* v0.16.0 — elections & candidates */
.fhf-election-list{display:grid;gap:12px}
.fhf-election-card{border:1px solid var(--fhf-line);border-radius:11px;padding:15px;background:#fff}
.fhf-election-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}
.fhf-election-head h3{font-size:17px;margin:5px 0}.fhf-election-head p{font-size:11px;color:var(--fhf-muted);margin:0}
.fhf-candidate-list{display:grid;gap:7px;margin-top:13px}
.fhf-candidate{display:grid;grid-template-columns:1fr 150px 90px;gap:10px;align-items:center;border:1px solid var(--fhf-line);border-radius:8px;padding:10px;background:#fff}
.fhf-candidate.elected{background:#eef9f2;border-color:#bde7cb}
.fhf-candidate.withdrawn{opacity:.55}
.fhf-candidate b{display:block;font-size:11.5px}.fhf-candidate small{font-size:9.5px;color:var(--fhf-muted)}
.fhf-candidate-result{text-align:right}.fhf-candidate-result span{display:block;font-size:10px;color:var(--fhf-muted)}.fhf-candidate-result b{display:inline-block;margin-top:3px;color:#177245;font-size:10px;letter-spacing:.06em}
.fhf-election-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid var(--fhf-line)}
.fhf-checkline{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:8px!important}
.fhf-checkline input{width:auto!important}
@media(max-width:700px){
  .fhf-election-head{display:block}.fhf-election-head>.fhf-pill{display:inline-block;margin-top:8px}
  .fhf-candidate{grid-template-columns:1fr auto}.fhf-candidate>button{grid-column:1/-1;width:100%}
  .fhf-candidate-result{min-width:90px}.fhf-election-actions{display:grid;grid-template-columns:1fr}.fhf-election-actions button{width:100%}
}

/* v0.17.0 — election lifecycle + prepared KUR */
.fhf-election-actions .danger{color:#b42318;border-color:#efc4cb}
.fhf-cancelled-note{font-size:10.5px;color:#8b2a36;background:#fff4f5;border:1px solid #f2d2d7;border-radius:7px;padding:8px 10px;flex:1}
.fhf-term .pending-constitution{background:#fbfcfe}
.fhf-term .pending-constitution strong:after{content:" · kommende";font-size:9px;color:var(--fhf-muted);font-weight:600}
.fhf-icon-action.fhf-activate-term{background:#eef9f2;border-color:#bde7cb;color:#177245}

/* v0.17.1 — compact dashboard header + delete general assembly */
.fhf-page-header{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
}
.fhf-page-heading{min-width:0}
.fhf-page-header-right{display:flex;align-items:center;justify-content:flex-end;min-width:max-content}
.fhf-active-period{
  display:flex;
  align-items:center;
  gap:14px;
  background:#fff;
  border:1px solid var(--fhf-line);
  border-radius:10px;
  padding:12px 16px;
  min-height:52px;
}
.fhf-active-period span{font-size:11px;color:var(--fhf-muted)}
.fhf-active-period b{font-family:"Montserrat",sans-serif;font-size:13px}
.fhf-dashboard-hero{display:none!important}
.fhf-secondary.danger{color:#b42318;border-color:#efc4cb}
@media(max-width:700px){
  .fhf-page-header{align-items:flex-start;display:grid;grid-template-columns:1fr}
  .fhf-page-header-right{justify-content:flex-start}
  .fhf-active-period{min-height:auto;padding:9px 12px}
}

/* v0.17.2 — dashboard header cleanup */
.fhf-page-header{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
}
.fhf-page-heading{
  min-width:0;
}
.fhf-page-header-right{
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
}
.fhf-active-period{
  display:flex;
  align-items:center;
  gap:14px;
  background:#fff;
  border:1px solid var(--fhf-line);
  border-radius:10px;
  padding:11px 15px;
  min-height:50px;
  box-shadow:0 1px 2px rgba(15,23,42,.02);
}
.fhf-active-period span{
  font-size:10.5px;
  color:var(--fhf-muted);
  white-space:nowrap;
}
.fhf-active-period b{
  font-family:"Montserrat",sans-serif;
  font-size:13px;
  white-space:nowrap;
}
.fhf-dashboard-hero,
.fhf-dashboard-top,
.fhf-welcome-strip{
  display:none!important;
}
@media(max-width:700px){
  .fhf-page-header{
    display:grid;
    grid-template-columns:1fr;
    align-items:start;
  }
  .fhf-page-header-right{
    justify-content:flex-start;
  }
}

/* v0.18.0 — FHVA profile photo + light/dark/system themes */
.fhf-avatar.has-image{overflow:hidden;background:#eef0f2}
.fhf-avatar.has-image img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.fhf-theme-icon{width:18px;height:18px}

/* Dark palette is applied at the token level first. */
html[data-fhf-theme="dark"]{
  color-scheme:dark;
  --fhf-bg:#11151a;
  --fhf-card:#181d23;
  --fhf-line:#2b323a;
  --fhf-ink:#f0f3f5;
  --fhf-muted:#9aa3ad;
  --fhf-red:#e02b49;
  --fhf-red-soft:#321820;
  --fhf-green:#38b980;
  --fhf-amber:#f0a13a;
  --fhf-shadow:0 2px 10px rgba(0,0,0,.18);
}
html[data-fhf-theme="dark"] body,
html[data-fhf-theme="dark"] .fhf-body,
html[data-fhf-theme="dark"] .fhf-workspace,
html[data-fhf-theme="dark"] .fhf-main{background:var(--fhf-bg);color:var(--fhf-ink)}
html[data-fhf-theme="dark"] .fhf-sidebar,
html[data-fhf-theme="dark"] .fhf-appbar,
html[data-fhf-theme="dark"] .fhf-page-head,
html[data-fhf-theme="dark"] .fhf-card,
html[data-fhf-theme="dark"] .fhf-section,
html[data-fhf-theme="dark"] .fhf-term,
html[data-fhf-theme="dark"] .fhf-meeting-card,
html[data-fhf-theme="dark"] .fhf-member-table,
html[data-fhf-theme="dark"] .fhf-member-snapshot,
html[data-fhf-theme="dark"] .fhf-document-content.standalone,
html[data-fhf-theme="dark"] .fhf-doc-card,
html[data-fhf-theme="dark"] .fhf-doc-file,
html[data-fhf-theme="dark"] .fhf-ga-card,
html[data-fhf-theme="dark"] .fhf-ga-voter,
html[data-fhf-theme="dark"] .fhf-election-card,
html[data-fhf-theme="dark"] .fhf-candidate,
html[data-fhf-theme="dark"] .fhf-modal-card,
html[data-fhf-theme="dark"] .fhf-active-period{
  background:var(--fhf-card)!important;
  color:var(--fhf-ink);
  border-color:var(--fhf-line)!important;
}
html[data-fhf-theme="dark"] .fhf-page-head h1,
html[data-fhf-theme="dark"] .fhf-card strong,
html[data-fhf-theme="dark"] .fhf-section h2,
html[data-fhf-theme="dark"] .fhf-term h3,
html[data-fhf-theme="dark"] .fhf-meeting-card h3,
html[data-fhf-theme="dark"] .fhf-ga-card h3,
html[data-fhf-theme="dark"] .fhf-election-head h3,
html[data-fhf-theme="dark"] .fhf-user-copy strong,
html[data-fhf-theme="dark"] .fhf-brand-copy strong{color:var(--fhf-ink)}
html[data-fhf-theme="dark"] .fhf-main-nav button{color:#c1c8d0}
html[data-fhf-theme="dark"] .fhf-main-nav button:hover{background:#1d232a;color:#fff}
html[data-fhf-theme="dark"] .fhf-main-nav button.active{background:var(--fhf-red-soft);color:#ff6b81}
html[data-fhf-theme="dark"] .fhf-search,
html[data-fhf-theme="dark"] .fhf-principle,
html[data-fhf-theme="dark"] .fhf-focus>div,
html[data-fhf-theme="dark"] .fhf-stat,
html[data-fhf-theme="dark"] .fhf-profile-facts>div,
html[data-fhf-theme="dark"] .fhf-member-address,
html[data-fhf-theme="dark"] .fhf-auto-field,
html[data-fhf-theme="dark"] .fhf-import-help,
html[data-fhf-theme="dark"] .fhf-doc-relations>div{
  background:#1d232a!important;
  color:var(--fhf-ink);
  border-color:var(--fhf-line)!important;
}
html[data-fhf-theme="dark"] input,
html[data-fhf-theme="dark"] select,
html[data-fhf-theme="dark"] textarea,
html[data-fhf-theme="dark"] .fhf-login-field{
  background:#171c22!important;
  color:#eef2f5!important;
  border-color:#343c45!important;
}
html[data-fhf-theme="dark"] input::placeholder,
html[data-fhf-theme="dark"] textarea::placeholder{color:#737d87}
html[data-fhf-theme="dark"] .fhf-secondary,
html[data-fhf-theme="dark"] .fhf-mini,
html[data-fhf-theme="dark"] .fhf-icon-action,
html[data-fhf-theme="dark"] .fhf-top-icon,
html[data-fhf-theme="dark"] .fhf-menu-toggle{
  background:#1d232a!important;
  color:#e7ebef!important;
  border-color:#343c45!important;
}
html[data-fhf-theme="dark"] .fhf-secondary:hover,
html[data-fhf-theme="dark"] .fhf-mini:hover{background:#252c34!important}
html[data-fhf-theme="dark"] .fhf-version{background:#20262d;color:#9fa8b1}
html[data-fhf-theme="dark"] .fhf-avatar:not(.has-image){background:#eceff2;color:#20252a}
html[data-fhf-theme="dark"] .fhf-mobile-nav{background:#171c22;border-color:var(--fhf-line)}
html[data-fhf-theme="dark"] .fhf-mobile-nav button{color:#aeb6bf}
html[data-fhf-theme="dark"] .fhf-mobile-nav button.active{background:#242b33;color:#fff}
html[data-fhf-theme="dark"] .fhf-agenda-item,
html[data-fhf-theme="dark"] .fhf-agenda-toggle,
html[data-fhf-theme="dark"] .fhf-agenda-subitem,
html[data-fhf-theme="dark"] .fhf-agenda-subitem .fhf-agenda-toggle{background:#181d23!important;border-color:var(--fhf-line)!important;color:var(--fhf-ink)}
html[data-fhf-theme="dark"] .fhf-document-content,
html[data-fhf-theme="dark"] .fhf-minutes,
html[data-fhf-theme="dark"] .fhf-case-block{color:var(--fhf-ink)}
html[data-fhf-theme="dark"] .fhf-ga-voter.present,
html[data-fhf-theme="dark"] .fhf-candidate.elected{background:#183026!important;border-color:#285b42!important}
html[data-fhf-theme="dark"] .fhf-member-note{background:#2d1a20;color:#f0d9df}
html[data-fhf-theme="dark"] .fhf-login-panel{background:#11151a}
html[data-fhf-theme="dark"] .fhf-login-card{background:#181d23;border-color:#2b323a;box-shadow:0 15px 40px rgba(0,0,0,.28)}
html[data-fhf-theme="dark"] .fhf-login-copy h2{color:#f0f3f5}
html[data-fhf-theme="dark"] .fhf-login-copy p,
html[data-fhf-theme="dark"] .fhf-login-security{color:#929ca6}
html[data-fhf-theme="dark"] .fhf-login-links a{color:#c4cbd2}

/* PDF/document print views remain light regardless of app theme. */
@media print{
  html[data-fhf-theme="dark"],
  html[data-fhf-theme="dark"] body{color-scheme:light;background:#fff!important;color:#111!important}
}

/* Mobile keeps the real profile photo visible while conserving width. */
@media(max-width:700px){
  .fhf-user-copy{display:none}
  .fhf-user-menu{gap:0}
  .fhf-avatar{width:34px;height:34px}
}

/* v0.18.1 — restored Decisions + Documents + Approval label */
.fhf-decision-controls,.fhf-document-toolbar{display:grid;grid-template-columns:1fr 180px;gap:9px;margin-top:14px}
.fhf-document-toolbar{grid-template-columns:1fr 180px 180px}
.fhf-decision-controls input,.fhf-decision-controls select,.fhf-document-toolbar input,.fhf-document-toolbar select{border:1px solid var(--fhf-line);border-radius:8px;padding:10px;background:#fff}
.fhf-decision-list{display:grid;gap:12px}
.fhf-decision-card{background:var(--fhf-card);border:1px solid var(--fhf-line);border-radius:11px;padding:16px;display:grid;grid-template-columns:1fr auto;gap:16px;box-shadow:var(--fhf-shadow)}
.fhf-decision-card.overdue{border-left:4px solid var(--fhf-red)}
.fhf-decision-meta{display:flex;gap:8px;align-items:center;font-size:9.5px;color:var(--fhf-muted)}
.fhf-decision-card h3{font-size:16px;margin:8px 0}.fhf-decision-text{font-size:12px;line-height:1.55}
.fhf-decision-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}
.fhf-decision-facts>div{background:#f8f9fa;border:1px solid var(--fhf-line);border-radius:8px;padding:9px}.fhf-decision-facts span{display:block;font-size:9px;color:var(--fhf-muted)}.fhf-decision-facts b{font-size:10.5px}
.fhf-decision-note{margin-top:10px;background:#f8f9fa;border-left:3px solid #c8102e;padding:10px;border-radius:6px;font-size:11px;line-height:1.5}.fhf-decision-note b{display:block;margin-bottom:4px}
.fhf-decision-actions{display:flex;flex-direction:column;gap:8px;min-width:120px}.fhf-overdue-label{color:#b42318;font-weight:700}
.fhf-pill.open{background:#fff4e5;color:#9a5b00}.fhf-pill.progress{background:#eef5ff;color:#275ea8}.fhf-pill.deferred{background:#f2f2f2;color:#666}.fhf-pill.done{background:#eef9f2;color:#177245}

.fhf-doc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.fhf-doc-card{display:grid;grid-template-columns:52px 1fr;gap:14px;text-align:left;background:#fff;border:1px solid var(--fhf-line);border-radius:11px;padding:16px}
.fhf-doc-icon{width:46px;height:46px;border-radius:9px;background:#fff0f2;color:#b42318;display:grid;place-items:center;font-size:20px;font-weight:800}
.fhf-doc-meta{display:flex;gap:8px;flex-wrap:wrap;color:var(--fhf-muted);font-size:9.5px}.fhf-doc-card h3{font-size:15px;margin:6px 0}.fhf-doc-card p{font-size:10.5px;color:var(--fhf-muted);margin:0}.fhf-doc-foot{display:flex;justify-content:space-between;margin-top:10px;font-size:9.5px;color:var(--fhf-muted)}
.fhf-doc-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px}.fhf-doc-files{display:grid;gap:7px}.fhf-doc-file{display:grid;grid-template-columns:28px 1fr;gap:9px;align-items:center;border:1px solid var(--fhf-line);background:#fff;border-radius:8px;padding:9px;text-align:left}.fhf-doc-file b{display:block;font-size:10.5px}.fhf-doc-file small{font-size:9px;color:var(--fhf-muted)}
.fhf-version-list>div{padding:9px 0;border-bottom:1px solid var(--fhf-line)}.fhf-version-list b{display:block;font-size:11px}.fhf-version-list span{font-size:9.5px;color:var(--fhf-muted)}

html[data-fhf-theme="dark"] .fhf-decision-facts>div,
html[data-fhf-theme="dark"] .fhf-decision-note,
html[data-fhf-theme="dark"] .fhf-doc-card,
html[data-fhf-theme="dark"] .fhf-doc-file{background:#1d232a!important;border-color:var(--fhf-line)!important}

@media(max-width:800px){
  .fhf-decision-controls,.fhf-document-toolbar{grid-template-columns:1fr}
  .fhf-decision-card{grid-template-columns:1fr}
  .fhf-decision-actions{display:grid;grid-template-columns:1fr 1fr}
  .fhf-decision-facts{grid-template-columns:1fr}
  .fhf-doc-grid{grid-template-columns:1fr}
  .fhf-doc-detail-grid{grid-template-columns:1fr}
}

/* v0.18.2 — meeting lifecycle + correct subpoint hierarchy */
.fhf-meeting-head-top .fhf-actions{display:flex;gap:8px;align-items:center}
.fhf-cancelled-meeting{margin-top:12px;background:#fff4f5;border:1px solid #f1ccd2;border-left:4px solid #c8102e;border-radius:8px;padding:10px 12px;max-width:760px}
.fhf-cancelled-meeting b{font-size:11px;color:#a61b31}.fhf-cancelled-meeting p{margin:4px 0 0;font-size:11px;line-height:1.5}
.fhf-agenda-subitem{margin-left:52px}
html[data-fhf-theme="dark"] .fhf-cancelled-meeting{background:#2d1a20;border-color:#5f2934;color:#f1dfe4}
@media(max-width:700px){
  .fhf-meeting-head-top .fhf-actions{display:grid;grid-template-columns:1fr}
  .fhf-agenda-subitem{margin-left:18px}
}

/* v0.18.3 — readable typography across FH Forening */
.fhf-body,.fhf-app-shell{font-size:15px;line-height:1.5}
.fhf-note,.fhf-card p,.fhf-section p,.fhf-meeting-card p,.fhf-ga-card p,.fhf-election-head p{font-size:13px;line-height:1.5}
.fhf-main-nav button,.fhf-mobile-nav button{font-size:14px}
.fhf-page-head h1{font-size:31px}.fhf-page-head p{font-size:14px}
.fhf-section h2{font-size:22px}.fhf-section h3,.fhf-card h3,.fhf-meeting-card h3,.fhf-ga-card h3{font-size:17px}
.fhf-kicker,.fhf-eyebrow,.fhf-section-label{font-size:11px}
.fhf-agenda-toggle{font-size:15px}.fhf-agenda-number{font-size:13px}.fhf-agenda-type,.fhf-tag{font-size:10px}
.fhf-agenda-body,.fhf-agenda-body p,.fhf-textblock{font-size:14px;line-height:1.55}
.fhf-mini,.fhf-secondary,.fhf-action,.fhf-icon-action{font-size:13px}
.fhf-member-row,.fhf-decision-text,.fhf-document-content{font-size:14px}
.fhf-member-row b,.fhf-candidate b,.fhf-doc-card h3{font-size:14px}
.fhf-member-row small,.fhf-candidate small,.fhf-doc-card p,.fhf-doc-meta,.fhf-doc-foot{font-size:12px}
.fhf-profile-facts span,.fhf-stat span,.fhf-decision-facts span{font-size:11px}
.fhf-profile-facts b,.fhf-decision-facts b{font-size:13px}
.fhf-modal-card label{font-size:13px}.fhf-modal-card input,.fhf-modal-card select,.fhf-modal-card textarea{font-size:15px;line-height:1.45}
.fhf-user-copy strong{font-size:13px}.fhf-user-copy small{font-size:11px}
@media(max-width:700px){
  .fhf-body,.fhf-app-shell{font-size:16px}
  .fhf-page-head h1{font-size:27px}
  .fhf-section h2{font-size:21px}
  .fhf-agenda-toggle{font-size:15px}
  .fhf-agenda-body,.fhf-agenda-body p{font-size:15px}
}

/* v0.20.0 — constitution workflow */
.fhf-constitution-state{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0 14px}
.fhf-constitution-state>div{display:grid;grid-template-columns:30px 1fr;column-gap:8px;align-items:center;border:1px solid var(--fhf-line);border-radius:9px;padding:10px;background:#fafbfc}
.fhf-constitution-state span{grid-row:1/3;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#eef1f5;font-family:"Montserrat",sans-serif;font-weight:800}
.fhf-constitution-state b{font-size:12px}.fhf-constitution-state small{font-size:10px;color:var(--fhf-muted)}
.fhf-constitution-done{display:flex;gap:10px;align-items:center;margin:10px 0 14px;background:#eef9f2;border:1px solid #bde7cb;border-radius:9px;padding:10px 12px}
.fhf-constitution-done b{color:#177245}.fhf-constitution-done span{font-size:11px;color:var(--fhf-muted)}
.fhf-constitution-done .fhf-mini{margin-left:auto}
.fhf-constitution-members{display:grid;gap:7px;margin:12px 0 16px}
.fhf-constitution-member{display:grid;grid-template-columns:1fr 210px;gap:12px;align-items:center;border:1px solid var(--fhf-line);border-radius:8px;padding:10px;background:#fff}
.fhf-constitution-member b{display:block;font-size:13px}.fhf-constitution-member small{display:block;color:var(--fhf-muted);font-size:10px;margin-top:2px}
.fhf-startup-preview{margin:14px 0;background:#f8f9fa;border-left:4px solid var(--fhf-red);border-radius:8px;padding:12px 14px}
.fhf-startup-preview b{font-size:12px}.fhf-startup-preview ol{margin:8px 0 0;padding-left:20px}.fhf-startup-preview li{margin:4px 0;font-size:12px}
html[data-fhf-theme="dark"] .fhf-constitution-state>div,
html[data-fhf-theme="dark"] .fhf-constitution-member,
html[data-fhf-theme="dark"] .fhf-startup-preview{background:#1d232a!important;border-color:var(--fhf-line)!important}
html[data-fhf-theme="dark"] .fhf-constitution-done{background:#183026;border-color:#285b42}
@media(max-width:700px){
  .fhf-constitution-state{grid-template-columns:1fr}
  .fhf-constitution-member{grid-template-columns:1fr}
  .fhf-constitution-member select{width:100%}
  .fhf-constitution-done{align-items:flex-start;flex-wrap:wrap}
  .fhf-constitution-done .fhf-mini{margin-left:0;width:100%}
}

/* v0.20.1 — annual KUR governance cycle */
.fhf-year-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:10px 0 14px}.fhf-cycle{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:9px}.fhf-cycle span{padding:6px 9px;border-radius:18px;background:#fff;border:1px solid var(--fhf-line);font-family:"Montserrat",sans-serif;font-size:11px;font-weight:700}.fhf-cycle i{font-style:normal;color:var(--fhf-muted)}.fhf-startup-preview p{font-size:12px;margin:9px 0 0;color:var(--fhf-muted)}@media(max-width:700px){.fhf-year-plan-grid{grid-template-columns:1fr}.fhf-cycle i{display:none}.fhf-cycle span{width:100%;border-radius:7px}}

/* v0.21.0 — focus areas & action plan */
.fhf-focus-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:end;margin-top:14px}
.fhf-focus-toolbar label{display:grid;gap:4px;font-size:12px}.fhf-focus-toolbar select{min-width:220px}
.fhf-focus-count{text-align:right}.fhf-focus-count b{display:block;font-family:"Montserrat";font-size:24px}.fhf-focus-count span,.fhf-focus-count small{display:block;color:var(--fhf-muted);font-size:11px}
.fhf-focus-list{display:grid;gap:14px}.fhf-focus-card{background:var(--fhf-card);border:1px solid var(--fhf-line);border-left:5px solid #cfd5dc;border-radius:12px;padding:18px;box-shadow:var(--fhf-shadow)}
.fhf-focus-card.ok,.fhf-focus-card.achieved{border-left-color:#177245}.fhf-focus-card.attention{border-left-color:#d98a00}.fhf-focus-card.decision{border-left-color:var(--fhf-red)}
.fhf-focus-card-head{display:flex;justify-content:space-between;gap:14px;align-items:start}.fhf-focus-card h3{font-size:20px;margin:5px 0}
.fhf-focus-status{font-size:11px;font-weight:800;border-radius:20px;padding:6px 10px;background:#f1f3f5;white-space:nowrap}.fhf-focus-status.ok,.fhf-focus-status.achieved{background:#eef9f2;color:#177245}.fhf-focus-status.attention{background:#fff4e5;color:#9a5b00}.fhf-focus-status.decision{background:#fff0f2;color:#b42318}
.fhf-focus-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.fhf-focus-grid>div{background:#f8f9fa;border:1px solid var(--fhf-line);border-radius:9px;padding:12px}.fhf-focus-grid .wide{grid-column:1/-1}.fhf-focus-grid span{display:block;font-size:10px;color:var(--fhf-muted);font-weight:800;text-transform:uppercase;letter-spacing:.04em}.fhf-focus-grid p{margin:5px 0 0;font-size:14px;line-height:1.5}
.fhf-focus-meta{display:flex;gap:18px;flex-wrap:wrap;margin-top:12px;font-size:12px;color:var(--fhf-muted)}.fhf-focus-meta b{color:var(--fhf-ink)}
.fhf-focus-history{display:grid;gap:6px;margin-top:13px;border-top:1px solid var(--fhf-line);padding-top:12px}.fhf-focus-history>div{display:grid;grid-template-columns:42px 155px 1fr;gap:10px;align-items:start}.fhf-focus-history b{font-family:"Montserrat";font-size:12px}.fhf-focus-history span{font-size:11px;font-weight:800}.fhf-focus-history span.ok,.fhf-focus-history span.achieved{color:#177245}.fhf-focus-history span.attention{color:#9a5b00}.fhf-focus-history span.decision{color:#b42318}.fhf-focus-history p{font-size:12px;margin:0}
.fhf-focus-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:14px}.fhf-focus-actions .danger{margin-left:auto}
.fhf-quarter-picker{border:1px solid var(--fhf-line);border-radius:9px;padding:11px 12px;margin:10px 0}.fhf-quarter-picker legend{font-size:12px;font-weight:700;padding:0 5px}.fhf-quarter-picker label{display:inline-flex!important;align-items:center;gap:5px;margin-right:15px}.fhf-quarter-picker input{width:auto!important}
.fhf-strategy-focus{width:100%;border:0;background:transparent;text-align:left;padding:8px 0;border-bottom:1px solid var(--fhf-line);cursor:pointer}.fhf-strategy-focus:last-child{border-bottom:0}.fhf-strategy-focus small{display:block;color:var(--fhf-muted);font-size:11px;margin-top:3px}.fhf-strategy-line b{font-size:10px}.fhf-strategy-line b.ok,.fhf-strategy-line b.achieved{color:#177245}.fhf-strategy-line b.attention{color:#9a5b00}.fhf-strategy-line b.decision{color:#b42318}
.fhf-link-icon.purple{background:#f5efff;color:#7047b8}
html[data-fhf-theme="dark"] .fhf-focus-grid>div{background:#1d232a!important;border-color:var(--fhf-line)!important}
html[data-fhf-theme="dark"] .fhf-focus-status.neutral{background:#242b33;color:#c8d0d8}
html[data-fhf-theme="dark"] .fhf-strategy-focus{color:var(--fhf-ink)}
@media(max-width:700px){
  .fhf-focus-toolbar{display:grid;grid-template-columns:1fr}.fhf-focus-count{text-align:left}
  .fhf-focus-card-head{display:grid}.fhf-focus-grid{grid-template-columns:1fr}.fhf-focus-grid .wide{grid-column:auto}
  .fhf-focus-history>div{grid-template-columns:40px 1fr}.fhf-focus-history p{grid-column:1/-1}
  .fhf-focus-actions{display:grid;grid-template-columns:1fr 1fr}.fhf-focus-actions .danger{margin-left:0}
}

/* v0.22.0 — KUR årshjul & budgetrammer */
.fhf-gov-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:16px}.fhf-yearwheel{display:grid;gap:12px}.fhf-quarter{border:1px solid var(--fhf-line);border-radius:11px;overflow:hidden}.fhf-quarter-head{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:#f5f6f8}.fhf-quarter-head b{font-family:"Montserrat";font-size:16px}.fhf-quarter-head span{font-size:11px;color:var(--fhf-muted)}.fhf-wheel-item{display:grid;grid-template-columns:52px 1fr 28px;gap:10px;align-items:center;padding:10px 12px;border-top:1px solid var(--fhf-line)}.fhf-wheel-item time{font-family:"Montserrat";font-size:11px;color:var(--fhf-red);font-weight:800}.fhf-wheel-item b,.fhf-wheel-item small{display:block}.fhf-wheel-item b{font-size:13px}.fhf-wheel-item small{font-size:11px;color:var(--fhf-muted)}.fhf-empty.compact{padding:10px 12px}.fhf-budget-list{display:grid;gap:9px}.fhf-budget-row{display:grid;grid-template-columns:1fr auto 28px;gap:10px;align-items:start;border:1px solid var(--fhf-line);border-radius:10px;padding:12px}.fhf-budget-row b,.fhf-budget-row small{display:block}.fhf-budget-row small{color:var(--fhf-muted);font-size:11px}.fhf-budget-row p{font-size:12px;margin:5px 0 0}.fhf-budget-row strong{font-family:"Montserrat";font-size:15px;color:var(--fhf-red);white-space:nowrap}
html[data-fhf-theme="dark"] .fhf-quarter-head{background:#1d232a}
@media(max-width:900px){.fhf-gov-grid{grid-template-columns:1fr}}@media(max-width:600px){.fhf-wheel-item{grid-template-columns:44px 1fr 24px}.fhf-budget-row{grid-template-columns:1fr auto}.fhf-budget-row .fhf-mini{grid-column:2}}

/* v0.23.0 — KUR-årsplan & mødecockpit */
.fhf-meeting-cockpit{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:14px}.fhf-meeting-cockpit>div{background:var(--fhf-card);border:1px solid var(--fhf-line);border-radius:11px;padding:12px}.fhf-meeting-cockpit span,.fhf-meeting-cockpit small{display:block;color:var(--fhf-muted);font-size:10px}.fhf-meeting-cockpit span{font-family:"Montserrat";font-weight:800;letter-spacing:.04em}.fhf-meeting-cockpit b{display:block;font-family:"Montserrat";font-size:22px;margin:4px 0}
@media(max-width:800px){.fhf-meeting-cockpit{grid-template-columns:1fr 1fr}}@media(max-width:480px){.fhf-meeting-cockpit{grid-template-columns:1fr}}

/* v0.24.0 — komplet generalforsamlingsflow */
.fhf-ga-workflow{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin:14px 0}.fhf-ga-workflow>div{display:flex;align-items:center;gap:7px;border:1px solid var(--fhf-line);border-radius:9px;padding:9px;background:var(--fhf-card)}.fhf-ga-workflow span{width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:#e9edf1;font-weight:800;font-size:11px}.fhf-ga-workflow b{font-size:11px}.fhf-ga-workflow .done span{background:#e8f7ee;color:#177245}.fhf-ga-workflow .done{border-color:#b9dfc8}.fhf-ga-prep-actions{display:flex;gap:8px;flex-wrap:wrap}.fhf-ga-final-banner{border:1px solid #b9dfc8;background:#eef9f2;border-radius:11px;padding:14px;margin:12px 0;color:#145c38}.fhf-ga-final-banner b,.fhf-ga-final-banner span,.fhf-ga-final-banner small{display:block}.fhf-ga-officers{display:grid;grid-template-columns:1fr 1fr;gap:10px}.fhf-ga-officers>div{border:1px solid var(--fhf-line);border-radius:9px;padding:12px}.fhf-ga-officers span{display:block;font-size:10px;color:var(--fhf-muted);text-transform:uppercase;font-weight:800}.fhf-ga-officers b{font-size:15px}.fhf-ga-agenda{display:grid;gap:9px}.fhf-ga-agenda-item{display:grid;grid-template-columns:42px 1fr auto;gap:12px;border:1px solid var(--fhf-line);border-radius:10px;padding:13px}.fhf-ga-agenda-no{font-family:"Montserrat";font-size:19px;font-weight:800;color:var(--fhf-red)}.fhf-ga-agenda-item h3{font-size:16px;margin:3px 0}.fhf-ga-agenda-item p{white-space:normal;margin:5px 0;font-size:13px}.fhf-ga-question,.fhf-ga-outcome,.fhf-ga-minutes{margin-top:9px;border-radius:8px;padding:9px 10px}.fhf-ga-question{background:#fff7e8;border-left:3px solid #d98a00}.fhf-ga-outcome{background:#eef9f2;border-left:3px solid #177245}.fhf-ga-minutes{background:#f5f6f8;border-left:3px solid #87909b}.fhf-ga-question b,.fhf-ga-question span,.fhf-ga-outcome b,.fhf-ga-minutes b{display:block}.fhf-ga-agenda-actions{display:flex;gap:5px;align-items:start;flex-wrap:wrap;max-width:190px}
html[data-fhf-theme="dark"] .fhf-ga-question{background:#332a18}html[data-fhf-theme="dark"] .fhf-ga-outcome{background:#183025}html[data-fhf-theme="dark"] .fhf-ga-minutes{background:#1d232a}
@media(max-width:900px){.fhf-ga-workflow{grid-template-columns:repeat(3,1fr)}}@media(max-width:600px){.fhf-ga-workflow{grid-template-columns:1fr 1fr}.fhf-ga-agenda-item{grid-template-columns:32px 1fr}.fhf-ga-agenda-actions{grid-column:2;max-width:none}.fhf-ga-officers{grid-template-columns:1fr}}

/* v0.25.0 — overgang mellem siddende og kommende KUR */
.fhf-handover{display:grid;grid-template-columns:1fr 42px 1fr;gap:10px;align-items:center;margin-top:14px}
.fhf-handover>div:not(.fhf-handover-arrow){border:1px solid var(--fhf-line);border-radius:10px;padding:12px;background:#f8f9fa}
.fhf-handover span,.fhf-handover small{display:block}.fhf-handover span{font-size:10px;color:var(--fhf-muted);font-weight:800;letter-spacing:.04em}.fhf-handover b{display:block;font-family:"Montserrat";font-size:16px;margin:3px 0}.fhf-handover small{font-size:11px;color:var(--fhf-muted);line-height:1.4}
.fhf-handover-arrow{text-align:center;font-size:23px;color:var(--fhf-red);font-weight:800}
html[data-fhf-theme="dark"] .fhf-handover>div:not(.fhf-handover-arrow){background:#1d232a}
@media(max-width:650px){.fhf-handover{grid-template-columns:1fr}.fhf-handover-arrow{transform:rotate(90deg)}}

/* v0.25.1 — mobile nav simplification + polished KPI hierarchy */
@media(max-width:700px){
  .fhf-mobile-nav{
    grid-template-columns:repeat(4,1fr)!important;
  }
  .fhf-mobile-nav [data-view="kur"],
  .fhf-mobile-nav [data-go="kur"]{
    display:none!important;
  }
}

/* Dashboard KPI polish */
.fhf-stat-grid .fhf-stat,
.fhf-pulse-grid .fhf-stat,
.fhf-leadership-grid .fhf-stat{
  min-height:132px;
  padding:18px 20px;
}
.fhf-stat-grid .fhf-stat > span,
.fhf-pulse-grid .fhf-stat > span,
.fhf-leadership-grid .fhf-stat > span{
  font-size:13px;
  line-height:1.25;
  color:var(--fhf-muted);
}
.fhf-stat-grid .fhf-stat > b,
.fhf-pulse-grid .fhf-stat > b,
.fhf-leadership-grid .fhf-stat > b{
  display:block;
  font-family:"Montserrat",sans-serif;
  font-size:34px;
  line-height:1;
  letter-spacing:-.03em;
  margin:16px 0 10px;
  font-weight:800;
}
.fhf-stat-grid .fhf-stat > small,
.fhf-pulse-grid .fhf-stat > small,
.fhf-leadership-grid .fhf-stat > small{
  font-size:11.5px;
  line-height:1.35;
  color:var(--fhf-muted);
}

@media(max-width:700px){
  .fhf-stat-grid .fhf-stat,
  .fhf-pulse-grid .fhf-stat,
  .fhf-leadership-grid .fhf-stat{
    min-height:150px;
    padding:20px 22px;
  }
  .fhf-stat-grid .fhf-stat > span,
  .fhf-pulse-grid .fhf-stat > span,
  .fhf-leadership-grid .fhf-stat > span{
    font-size:14px;
  }
  .fhf-stat-grid .fhf-stat > b,
  .fhf-pulse-grid .fhf-stat > b,
  .fhf-leadership-grid .fhf-stat > b{
    font-size:42px;
    margin:18px 0 12px;
  }
  .fhf-stat-grid .fhf-stat > small,
  .fhf-pulse-grid .fhf-stat > small,
  .fhf-leadership-grid .fhf-stat > small{
    font-size:12px;
  }
}

/* Give the pulse card more visual breathing room without changing information density */
.fhf-dashboard-pulse,
.fhf-leadership-card{
  border-radius:16px;
}

/* v0.25.2 — dashboard KPI polish using the actual dashboard markup */
.fhf-governance-panel{
  overflow:hidden;
}
.fhf-governance-panel .fhf-panel-head{
  padding-bottom:18px;
}
.fhf-governance-panel .fhf-panel-head h3{
  font-size:24px;
  letter-spacing:-.02em;
}
.fhf-governance-panel .fhf-metrics-row{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border-top:1px solid var(--fhf-line);
  border-bottom:1px solid var(--fhf-line);
}
.fhf-governance-panel .fhf-metrics-row>div{
  min-width:0;
  min-height:164px;
  padding:24px 24px 22px;
  border-right:1px solid var(--fhf-line);
  background:var(--fhf-card);
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}
.fhf-governance-panel .fhf-metrics-row>div:last-child{
  border-right:0;
}
.fhf-governance-panel .fhf-metrics-row>div>span{
  display:block;
  font-size:14px;
  line-height:1.3;
  color:var(--fhf-muted);
  font-weight:500;
}
.fhf-governance-panel .fhf-metrics-row>div>b{
  display:block;
  font-family:"Montserrat",sans-serif;
  font-size:48px;
  line-height:.95;
  letter-spacing:-.045em;
  font-weight:800;
  color:var(--fhf-ink);
  margin:20px 0 14px;
}
.fhf-governance-panel .fhf-metrics-row>div>small{
  display:block;
  margin-top:auto;
  font-size:12.5px;
  line-height:1.35;
  color:var(--fhf-muted);
}
.fhf-governance-panel .fhf-metric-action{
  cursor:pointer;
  transition:background .16s ease,transform .16s ease;
}
.fhf-governance-panel .fhf-metric-action:hover{
  background:#fafbfc;
}
.fhf-governance-panel .fhf-strategy-visual{
  padding-top:24px;
}
.fhf-governance-panel .fhf-strategy-copy h3{
  font-size:25px;
  letter-spacing:-.025em;
}
.fhf-governance-panel .fhf-strategy-copy p{
  font-size:14px;
  line-height:1.55;
}

/* Mobile: 2 x 2 KPI dashboard with stronger number hierarchy */
@media(max-width:700px){
  .fhf-governance-panel{
    border-radius:18px;
  }
  .fhf-governance-panel .fhf-panel-head{
    padding:22px 22px 18px;
  }
  .fhf-governance-panel .fhf-panel-head h3{
    font-size:23px;
  }
  .fhf-governance-panel .fhf-metrics-row{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .fhf-governance-panel .fhf-metrics-row>div{
    min-height:178px;
    padding:24px 22px 22px;
  }
  .fhf-governance-panel .fhf-metrics-row>div:nth-child(2n){
    border-right:0;
  }
  .fhf-governance-panel .fhf-metrics-row>div:nth-child(-n+2){
    border-bottom:1px solid var(--fhf-line);
  }
  .fhf-governance-panel .fhf-metrics-row>div>span{
    font-size:15px;
    line-height:1.25;
  }
  .fhf-governance-panel .fhf-metrics-row>div>b{
    font-size:54px;
    line-height:.92;
    margin:22px 0 15px;
  }
  .fhf-governance-panel .fhf-metrics-row>div>small{
    font-size:12.5px;
  }
  .fhf-governance-panel .fhf-strategy-visual{
    padding:24px 22px 26px;
  }
  .fhf-governance-panel .fhf-strategy-copy h3{
    font-size:25px;
  }
}

/* Keep dark mode clean */
html[data-fhf-theme="dark"] .fhf-governance-panel .fhf-metric-action:hover{
  background:#1d232a;
}

/* v0.26.0 — mobile bottom navigation */
@media(max-width:700px){
  .fhf-mobile-nav{
    grid-template-columns:repeat(4,1fr)!important;
  }
  .fhf-mobile-nav [data-view="kur"],
  .fhf-mobile-nav [data-go="kur"]{
    display:flex!important;
  }
  .fhf-mobile-nav [data-view="members"],
  .fhf-mobile-nav [data-go="members"]{
    display:none!important;
  }
}

/* v0.26.0 — KUR representative-role polish */
.fhf-term{
  border-radius:15px;
  overflow:hidden;
}
.fhf-term-head{
  padding-bottom:16px;
}
.fhf-kur-rep-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin:14px 0;
}
.fhf-kur-rep-card{
  border:1px solid var(--fhf-line);
  border-radius:12px;
  background:var(--fhf-card);
  overflow:hidden;
}
.fhf-kur-rep-head{
  padding:13px 14px;
  background:#f7f8fa;
  border-bottom:1px solid var(--fhf-line);
}
.fhf-kur-rep-head>div{
  display:flex;
  gap:10px;
  align-items:center;
}
.fhf-kur-rep-head>div>span{
  width:32px;
  height:32px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#fff0f2;
  color:var(--fhf-red);
  font-family:"Montserrat",sans-serif;
  font-weight:800;
}
.fhf-kur-rep-head h4{
  margin:0;
  font-family:"Montserrat",sans-serif;
  font-size:14px;
}
.fhf-kur-rep-head p{
  margin:2px 0 0;
  color:var(--fhf-muted);
  font-size:10.5px;
}
.fhf-kur-rep-members{
  display:grid;
}
.fhf-kur-person{
  display:grid;
  grid-template-columns:38px 1fr auto;
  gap:10px;
  align-items:center;
  padding:12px 14px;
  border-bottom:1px solid var(--fhf-line);
}
.fhf-kur-person:last-child{
  border-bottom:0;
}
.fhf-kur-avatar{
  width:36px;
  height:36px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#eef1f5;
  font-family:"Montserrat",sans-serif;
  font-weight:800;
}
.fhf-kur-person-copy b,
.fhf-kur-person-copy span{
  display:block;
}
.fhf-kur-person-copy b{
  font-size:13.5px;
}
.fhf-kur-person-copy span{
  color:var(--fhf-muted);
  font-size:11px;
  margin-top:2px;
}
.fhf-kur-person.inactive{
  opacity:.58;
}
html[data-fhf-theme="dark"] .fhf-kur-rep-head{
  background:#1d232a;
}
html[data-fhf-theme="dark"] .fhf-kur-avatar{
  background:#242b33;
}
@media(max-width:1050px){
  .fhf-kur-rep-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:700px){
  .fhf-kur-rep-grid{grid-template-columns:1fr}
  .fhf-kur-person{grid-template-columns:38px 1fr}
  .fhf-kur-person .fhf-row-actions{grid-column:2}
}

/* Meeting publication badge / draft distinction */
.fhf-meeting-head .fhf-kicker{
  letter-spacing:.04em;
}

/* v0.26.1 — mobile bottom navigation alignment */
@media(max-width:700px){
  .fhf-mobile-nav{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    align-items:stretch!important;
  }
  .fhf-mobile-nav button{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    min-width:0!important;
    padding:11px 4px 10px!important;
    text-align:center!important;
  }
  .fhf-mobile-nav button .fhf-mobile-icon{
    display:grid!important;
    place-items:center!important;
    width:28px!important;
    height:28px!important;
    margin:0!important;
    flex:0 0 28px!important;
  }
  .fhf-mobile-nav button .fhf-mobile-icon svg{
    width:27px!important;
    height:27px!important;
    display:block!important;
  }
  .fhf-mobile-nav button b{
    display:block!important;
    width:100%!important;
    margin:0!important;
    font-size:12px!important;
    line-height:1.1!important;
    text-align:center!important;
  }
  .fhf-mobile-nav [data-view="members"],
  .fhf-mobile-nav [data-go="members"]{
    display:none!important;
  }
}

/* Representation and function are separate concepts */
.fhf-form-help{
  margin:-4px 0 10px;
  font-size:11.5px;
  line-height:1.45;
  color:var(--fhf-muted);
}
.fhf-kur-rep-card.warning{
  border-color:#e7b24d;
}
.fhf-kur-rep-card.warning .fhf-kur-rep-head{
  background:#fff8e8;
}
.fhf-kur-rep-card.warning .fhf-kur-rep-head>div>span{
  background:#fff0c2;
  color:#8a5700;
}
html[data-fhf-theme="dark"] .fhf-kur-rep-card.warning .fhf-kur-rep-head{
  background:#332a18;
}

/* v0.26.2 — more breathing room below mobile bottom navigation */
@media(max-width:700px){
  .fhf-mobile-nav{
    padding-bottom:calc(14px + env(safe-area-inset-bottom, 0px))!important;
  }
  .fhf-mobile-nav button{
    padding-bottom:12px!important;
  }
}

/* v0.26.3 — lift mobile navigation buttons away from the screen edge */
@media(max-width:700px){
  .fhf-mobile-nav{
    height:92px!important;
    padding:
      6px
      max(8px,env(safe-area-inset-right,0px))
      calc(18px + env(safe-area-inset-bottom,0px))
      max(8px,env(safe-area-inset-left,0px))!important;
    align-items:start!important;
  }
  .fhf-mobile-nav button{
    align-self:start!important;
    height:62px!important;
    min-height:62px!important;
    padding:7px 4px 6px!important;
    margin:0!important;
    justify-content:center!important;
  }

  /* Keep page content clear of the taller fixed navigation. */
  .fhf-main,
  .fhf-content,
  #fhf-content{
    padding-bottom:104px!important;
  }
}

/* v0.27.0 — KUR member presentation: people first, mandate structure retained */
.fhf-kur-representation{
  display:grid;
  gap:22px;
  margin-top:20px;
}
.fhf-kur-rep-section{
  border:1px solid var(--fhf-line);
  border-radius:20px;
  background:var(--fhf-card);
  overflow:hidden;
}
.fhf-kur-rep-title{
  padding:18px 20px;
  border-bottom:1px solid var(--fhf-line);
  background:color-mix(in srgb,var(--fhf-card) 92%,var(--fhf-bg));
}
.fhf-kur-rep-title>div{
  display:flex;
  align-items:center;
  gap:13px;
}
.fhf-kur-rep-count{
  width:42px;height:42px;border-radius:50%;
  display:grid;place-items:center;
  flex:0 0 42px;
  background:var(--fhf-red-soft,#fff0f1);
  color:var(--fhf-red,#d22630);
  font:700 17px/1 Montserrat,sans-serif;
}
.fhf-kur-rep-title h4{
  margin:0 0 3px;
  font:600 17px/1.25 Montserrat,sans-serif;
}
.fhf-kur-rep-title p{
  margin:0;color:var(--fhf-muted);
  font-size:14px;line-height:1.35;
}
.fhf-kur-profile-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  padding:16px;
}
.fhf-kur-profile-card{
  position:relative;
  min-height:245px;
  padding:27px 18px 23px;
  border:1px solid var(--fhf-line);
  border-radius:18px;
  background:var(--fhf-card);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  box-shadow:0 7px 24px rgba(20,27,38,.035);
}
.fhf-kur-profile-card.inactive{opacity:.62}
.fhf-kur-profile-photo{
  position:relative;
  width:104px;height:104px;
  border-radius:50%;
  overflow:hidden;
  display:grid;place-items:center;
  margin-bottom:19px;
  background:var(--fhf-bg);
  border:4px solid var(--fhf-card);
  box-shadow:0 0 0 1px var(--fhf-line),0 8px 24px rgba(20,27,38,.08);
}
.fhf-kur-profile-photo img{
  width:100%;height:100%;object-fit:cover;display:block;
}
.fhf-kur-profile-photo i{
  display:none;
  font:700 35px/1 Montserrat,sans-serif;
  font-style:normal;
  color:var(--fhf-text);
}
.fhf-kur-profile-photo.is-fallback i{display:block}
.fhf-kur-profile-copy h5{
  margin:0 0 7px;
  font:700 17px/1.3 Montserrat,sans-serif;
}
.fhf-kur-profile-copy p{
  margin:0;
  color:var(--fhf-muted);
  font-size:15px;line-height:1.35;
}
.fhf-kur-person-state{
  display:inline-flex;
  margin-top:10px;
  padding:5px 9px;
  border-radius:999px;
  background:var(--fhf-bg);
  color:var(--fhf-muted);
  font-size:11px;font-weight:700;
}
.fhf-person-menu{
  position:absolute;top:12px;right:12px;z-index:3;
}
.fhf-person-menu summary{
  list-style:none;cursor:pointer;
  width:36px;height:36px;border-radius:10px;
  display:grid;place-items:center;
  color:var(--fhf-muted);font-weight:800;letter-spacing:1px;
}
.fhf-person-menu summary::-webkit-details-marker{display:none}
.fhf-person-menu summary:hover{background:var(--fhf-bg);color:var(--fhf-text)}
.fhf-person-menu-pop{
  position:absolute;right:0;top:40px;
  width:170px;padding:6px;
  border:1px solid var(--fhf-line);
  border-radius:12px;background:var(--fhf-card);
  box-shadow:0 16px 42px rgba(20,27,38,.14);
}
.fhf-person-menu-pop button{
  width:100%;border:0;background:transparent;
  text-align:left;padding:10px;border-radius:8px;
  color:var(--fhf-text);font:600 12px/1.2 Titillium Web,sans-serif;
  cursor:pointer;
}
.fhf-person-menu-pop button:hover{background:var(--fhf-bg)}
.fhf-person-menu-pop button.danger{color:var(--fhf-red,#d22630)}
.fhf-kur-rep-section.warning{border-color:#e7b24d}

@media(max-width:1000px){
  .fhf-kur-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .fhf-kur-representation{gap:18px;margin-top:16px}
  .fhf-kur-rep-section{border-radius:18px}
  .fhf-kur-rep-title{padding:16px}
  .fhf-kur-rep-title h4{font-size:16px}
  .fhf-kur-rep-title p{font-size:13px}
  .fhf-kur-profile-grid{
    grid-template-columns:1fr;
    gap:12px;
    padding:12px;
  }
  .fhf-kur-profile-card{
    min-height:220px;
    padding:24px 16px 22px;
    border-radius:16px;
  }
  .fhf-kur-profile-photo{
    width:96px;height:96px;
    margin-bottom:17px;
  }
  .fhf-kur-profile-copy h5{font-size:18px}
  .fhf-kur-profile-copy p{font-size:15px}
}

/* v0.27.1 — KUR cards: two columns, no active-period stripe */
.fhf-term.current{
  border-left:1px solid var(--fhf-line)!important;
}

/* Two member cards per row gives a better people overview than one oversized card. */
.fhf-kur-profile-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
@media(max-width:700px){
  .fhf-kur-profile-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    padding:10px!important;
  }
  .fhf-kur-profile-card{
    min-height:190px!important;
    padding:20px 9px 17px!important;
  }
  .fhf-kur-profile-photo{
    width:78px!important;
    height:78px!important;
    margin-bottom:14px!important;
  }
  .fhf-kur-profile-photo i{
    font-size:28px!important;
  }
  .fhf-kur-profile-copy h5{
    font-size:14px!important;
    line-height:1.25!important;
  }
  .fhf-kur-profile-copy p{
    font-size:12px!important;
    line-height:1.3!important;
  }
  .fhf-kur-person-state{
    font-size:9.5px!important;
    padding:4px 7px!important;
  }
  .fhf-person-menu{
    top:7px!important;
    right:7px!important;
  }
  .fhf-person-menu summary{
    width:30px!important;
    height:30px!important;
  }
}

/* v0.27.2 — remove redundant KUR introduction card */
.fhf-handover-wrap{
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

/* v0.28.0 — meeting lifecycle and live meeting mode */
.fhf-meeting-phase{display:flex;justify-content:space-between;gap:18px;align-items:center;margin:0 0 16px;padding:16px 18px;border:1px solid var(--fhf-line);border-radius:14px;background:var(--fhf-card)}
.fhf-meeting-phase span{display:block;font:800 11px/1.2 Montserrat,sans-serif;letter-spacing:.06em;color:var(--fhf-muted);margin-bottom:5px}
.fhf-meeting-phase b{display:block;font-size:14px;line-height:1.45;font-weight:600}
.fhf-meeting-phase.live{border-left:4px solid var(--fhf-red)}
.fhf-meeting-phase.done{opacity:.86}
body.fhf-meeting-mode .fhf-meeting-cockpit{display:none}
body.fhf-meeting-mode .fhf-meeting-head{position:sticky;top:0;z-index:8;background:var(--fhf-bg);padding-top:8px}
body.fhf-meeting-mode .fhf-agenda-item{box-shadow:0 7px 22px rgba(20,27,38,.04)}
body.fhf-meeting-mode .fhf-agenda-actions{padding-top:12px}
@media(max-width:700px){
  .fhf-meeting-phase{align-items:stretch;flex-direction:column;padding:15px}
  .fhf-meeting-phase .fhf-secondary{width:100%}
  body.fhf-meeting-mode .fhf-meeting-head{top:0}
}

/* v0.28.1 — post-meeting minute drafting */
.fhf-meeting-phase.done{border-left:4px solid #68717d}
.fhf-meeting-phase.done + .fhf-section .fhf-agenda-actions{padding-top:12px}

/* v0.29.0 — board-level decision follow-up */
.fhf-decision-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 16px}
.fhf-decision-overview>div{padding:15px 16px;border:1px solid var(--fhf-line);border-radius:13px;background:var(--fhf-card)}
.fhf-decision-overview span{display:block;font:700 10px/1.2 Montserrat,sans-serif;letter-spacing:.06em;color:var(--fhf-muted)}
.fhf-decision-overview b{display:block;margin-top:6px;font:800 28px/1 Montserrat,sans-serif}
.fhf-governance-hint{display:flex;flex-direction:column;gap:4px;padding:13px 15px;margin:0 0 16px;border-radius:12px;background:var(--fhf-bg);border:1px solid var(--fhf-line)}
.fhf-governance-hint b{font:700 13px/1.3 Montserrat,sans-serif}
.fhf-governance-hint span{font-size:13px;line-height:1.4;color:var(--fhf-muted)}
@media(max-width:700px){
 .fhf-decision-overview{grid-template-columns:repeat(2,minmax(0,1fr))}
 .fhf-decision-overview b{font-size:25px}
}

/* v0.30.0 — Q-meeting follow-up suggestions */
.fhf-followup-suggestions{margin:0 0 16px;border:1px solid var(--fhf-line);border-radius:16px;background:var(--fhf-card);overflow:hidden}
.fhf-followup-suggestions-head{display:flex;justify-content:space-between;gap:20px;padding:18px 20px;border-bottom:1px solid var(--fhf-line)}
.fhf-followup-suggestions-head span{font:800 10px/1.2 Montserrat,sans-serif;letter-spacing:.07em;color:var(--fhf-red)}
.fhf-followup-suggestions-head h3{margin:5px 0 4px;font:700 17px/1.3 Montserrat,sans-serif}
.fhf-followup-suggestions-head p{margin:0;color:var(--fhf-muted);font-size:13px}
.fhf-followup-count{min-width:78px;text-align:center;font:800 29px/1 Montserrat,sans-serif}
.fhf-followup-count small{display:block;margin-top:5px;font:600 10px/1.2 Titillium Web,sans-serif;color:var(--fhf-muted)}
.fhf-followup-suggestion-list{padding:8px 14px}
.fhf-followup-suggestion{display:grid;grid-template-columns:24px 1fr;gap:10px;align-items:start;padding:12px 6px;border-bottom:1px solid var(--fhf-line);cursor:pointer}
.fhf-followup-suggestion:last-child{border-bottom:0}.fhf-followup-suggestion input{margin-top:3px}
.fhf-followup-line{display:flex;justify-content:space-between;gap:12px;align-items:center}
.fhf-followup-line>b{font:700 14px/1.3 Montserrat,sans-serif}.fhf-followup-line span{white-space:nowrap;font-size:9px;font-weight:800;letter-spacing:.04em;color:var(--fhf-muted)}
.fhf-followup-suggestion.requires .fhf-followup-line span{color:var(--fhf-red)}
.fhf-followup-suggestion p{margin:4px 0 0;color:var(--fhf-muted);font-size:12px}
.fhf-followup-suggestions-foot{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px 20px;background:var(--fhf-bg)}
.fhf-followup-suggestions-foot>span{font-size:12px;color:var(--fhf-muted)}
@media(max-width:700px){.fhf-followup-suggestions-head,.fhf-followup-suggestions-foot{flex-direction:column;align-items:stretch}.fhf-followup-count{text-align:left}.fhf-followup-line{align-items:flex-start;flex-direction:column;gap:4px}.fhf-followup-suggestions-foot .fhf-action{width:100%}}

/* v0.30.1 — FHVA profile menu and shared logout */
details.fhf-user-menu{position:relative}
details.fhf-user-menu>summary{display:flex;align-items:center;gap:10px;list-style:none;cursor:pointer;border-radius:12px;padding:4px 6px}
details.fhf-user-menu>summary::-webkit-details-marker{display:none}
details.fhf-user-menu>summary:hover{background:var(--fhf-bg)}
.fhf-user-chevron{font-size:16px;color:var(--fhf-muted);transition:transform .15s ease}
details.fhf-user-menu[open] .fhf-user-chevron{transform:rotate(180deg)}
.fhf-user-dropdown{position:absolute;right:0;top:calc(100% + 9px);z-index:30;width:230px;padding:8px;border:1px solid var(--fhf-line);border-radius:14px;background:var(--fhf-card);box-shadow:0 18px 48px rgba(20,27,38,.16)}
.fhf-user-dropdown-ident{display:flex;flex-direction:column;padding:9px 10px 11px;border-bottom:1px solid var(--fhf-line);margin-bottom:5px}
.fhf-user-dropdown-ident strong{font:700 13px/1.3 Montserrat,sans-serif}
.fhf-user-dropdown-ident small{margin-top:3px;color:var(--fhf-muted);font-size:12px}
.fhf-logout-btn{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;border:0;background:transparent;color:var(--fhf-text);padding:10px;border-radius:9px;cursor:pointer;font:600 13px/1.2 Titillium Web,sans-serif;text-align:left}
.fhf-logout-btn:hover{background:var(--fhf-bg)}
.fhf-logout-btn:disabled{opacity:.55;cursor:wait}
.fhf-logout-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:700px){
 .fhf-user-copy{display:none}
 .fhf-user-chevron{display:none}
 .fhf-user-dropdown{position:fixed;right:12px;top:66px;width:min(260px,calc(100vw - 24px))}
}

/* v0.30.3 — login typography and polish */
.fhf-login-body,.fhf-login-body button,.fhf-login-body input{font-family:"Titillium Web","Segoe UI",Arial,sans-serif!important}
.fhf-login-body{font-size:16px;color:#20242a;-webkit-font-smoothing:antialiased}
.fhf-login-body *{box-sizing:border-box}
.fhf-login-card{position:relative}
.fhf-login-mobile-logo span,.fhf-login-copy h2,.fhf-login-form>label,.fhf-login-submit,.fhf-login-links a,.fhf-login-copy .fhf-eyebrow{font-family:"Montserrat","Segoe UI",Arial,sans-serif!important}
.fhf-login-copy .fhf-eyebrow{display:block;font-size:11px;font-weight:800;letter-spacing:.12em}
.fhf-login-copy h2{font-weight:600!important}
.fhf-login-copy p{font-family:"Titillium Web","Segoe UI",Arial,sans-serif!important}
.fhf-login-form>label{font-size:12px!important;font-weight:700!important}
.fhf-login-field{height:56px;border-radius:11px}
.fhf-login-field input{font-family:"Titillium Web","Segoe UI",Arial,sans-serif!important;font-size:16px!important;font-weight:500}
.fhf-password-toggle{font-family:"Montserrat","Segoe UI",Arial,sans-serif!important;font-size:11px!important;font-weight:700!important;border-radius:7px!important;padding:8px 7px!important}
.fhf-password-toggle:hover{background:#f1f3f5!important}
.fhf-login-submit{height:54px;border-radius:11px;font-size:13px!important}
.fhf-login-links a{font-size:11px!important;font-weight:700!important}
.fhf-login-security{font-family:"Titillium Web","Segoe UI",Arial,sans-serif!important;font-size:11px!important;line-height:1.55!important}
.fhf-login-theme{position:absolute;right:0;top:0;width:38px;height:38px;border:1px solid #e4e7eb;border-radius:10px;background:#fff;color:#555d66;display:flex;align-items:center;justify-content:center;cursor:pointer}
.fhf-login-theme svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
@media(max-width:820px){
 .fhf-login-panel{padding:24px 18px max(34px,env(safe-area-inset-bottom));background:linear-gradient(#fff 0 132px,#f5f7f9 132px)}
 .fhf-login-card{width:min(430px,100%);padding:26px 24px 23px!important;border-radius:18px!important}
 .fhf-login-mobile-logo{padding-right:46px;margin-bottom:30px!important}
 .fhf-login-mobile-logo img{width:46px!important;height:54px!important}
 .fhf-login-mobile-logo span{font-size:17px!important;font-weight:700!important}
 .fhf-login-copy{margin-bottom:26px!important}
 .fhf-login-copy h2{font-size:30px!important;line-height:1.08!important;margin:8px 0!important}
 .fhf-login-copy p{font-size:15px!important;line-height:1.45!important}
 .fhf-login-form{gap:17px!important}.fhf-login-field{height:55px!important}
 .fhf-login-links{margin-top:18px!important;gap:8px!important}.fhf-login-security{margin-top:19px!important}
}
@media(max-width:380px){.fhf-login-panel{padding-left:12px;padding-right:12px}.fhf-login-card{padding-left:18px!important;padding-right:18px!important}.fhf-login-copy h2{font-size:27px!important}.fhf-login-links{flex-wrap:wrap}.fhf-login-links>span{display:none}}
html[data-theme="dark"] .fhf-login-body{background:#11151a;color:#eef1f4}
html[data-theme="dark"] .fhf-login-panel{background:#151a20}
html[data-theme="dark"] .fhf-login-card{background:#1b2027;border-color:#303741;box-shadow:0 18px 45px rgba(0,0,0,.25)}
html[data-theme="dark"] .fhf-login-copy h2{color:#f3f5f7}
html[data-theme="dark"] .fhf-login-copy p,html[data-theme="dark"] .fhf-login-security{color:#9ca5af}
html[data-theme="dark"] .fhf-login-form>label{color:#d8dde3}
html[data-theme="dark"] .fhf-login-field{background:#151a20;border-color:#343c46}
html[data-theme="dark"] .fhf-login-field input{color:#f2f4f6!important}
html[data-theme="dark"] .fhf-login-field svg{stroke:#9da6b0!important}
html[data-theme="dark"] .fhf-password-toggle{color:#c5cbd2}
html[data-theme="dark"] .fhf-password-toggle:hover{background:#252c34!important}
html[data-theme="dark"] .fhf-login-links a{color:#c9ced4}
html[data-theme="dark"] .fhf-login-theme{background:#222830;border-color:#343c46;color:#d9dee4}
@media(max-width:820px){html[data-theme="dark"] .fhf-login-panel{background:linear-gradient(#11151a 0 132px,#151a20 132px)}}

/* v0.30.4 — dashboard active period belongs to page header */
.fhf-period-chip-header{width:auto!important;min-width:150px;display:flex!important;align-items:center;justify-content:center;gap:10px;padding:9px 13px!important;margin:0!important;border:1px solid var(--fhf-line);border-radius:11px;background:var(--fhf-card);box-shadow:none}
.fhf-period-chip-header span{font-size:11px!important;color:var(--fhf-muted);white-space:nowrap}
.fhf-period-chip-header b{font:700 12px/1.2 Montserrat,sans-serif!important;white-space:nowrap}
#fhf-page-header-right{display:flex;align-items:center;justify-content:flex-end}
@media(max-width:700px){
 #fhf-page-header-right{justify-content:flex-start;margin-top:12px}
 .fhf-period-chip-header{min-width:0;padding:7px 10px!important;border-radius:9px}
 .fhf-period-chip-header span{font-size:10px!important}
 .fhf-period-chip-header b{font-size:11px!important}
}

/* v0.30.5 — desktop readability, period dropdown and focus icons */
@media(min-width:701px){
 .fhf-app small,.fhf-app .fhf-note,.fhf-app p,.fhf-app .fhf-strategy-focus small,.fhf-app .fhf-wheel-item small,.fhf-app .fhf-budget-row small,.fhf-app .fhf-handover small{font-size:13px!important}
 .fhf-app .fhf-eyebrow,.fhf-app .fhf-kicker{font-size:12px!important}
 .fhf-app .fhf-strategy-line b{font-size:12px!important}
}
.fhf-period-select{display:flex;align-items:center;gap:9px;border:1px solid var(--fhf-line);background:var(--fhf-card);border-radius:10px;padding:7px 9px 7px 12px;min-width:175px}
.fhf-period-select>span{font-size:12px;font-weight:600;color:var(--fhf-muted);white-space:nowrap}
.fhf-period-select select{border:0!important;background:transparent!important;box-shadow:none!important;padding:3px 5px!important;min-height:0!important;width:auto!important;font:700 13px/1.3 Montserrat,sans-serif!important;color:var(--fhf-ink)!important}
.fhf-period-chip-header{display:none!important}
.fhf-strategy-bars{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px!important}
.fhf-strategy-focus{display:flex!important;gap:12px!important;align-items:flex-start!important;border:1px solid var(--fhf-line)!important;border-radius:12px!important;padding:14px!important;background:var(--fhf-card)!important;min-width:0}
.fhf-strategy-focus:last-child{border-bottom:1px solid var(--fhf-line)!important}
.fhf-strategy-icon,.fhf-focus-card-icon{width:44px;height:44px;flex:0 0 44px;border-radius:11px;background:#fff1f3;color:var(--fhf-red);display:grid;place-items:center}
.fhf-strategy-icon svg,.fhf-focus-card-icon svg,.fhf-icon-choice svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.fhf-strategy-copy{min-width:0;flex:1}.fhf-strategy-line{display:flex;gap:8px;justify-content:space-between;align-items:flex-start}.fhf-strategy-line>span{font:700 13px/1.35 Montserrat,sans-serif}.fhf-strategy-focus small{line-height:1.45!important;margin-top:7px!important}
.fhf-focus-title-with-icon{display:flex;gap:12px;align-items:center}
.fhf-icon-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:7px}
.fhf-icon-choice{display:flex!important;flex-direction:column;align-items:center!important;justify-content:center;gap:5px!important;border:1px solid var(--fhf-line);border-radius:10px;padding:10px 6px!important;cursor:pointer;background:var(--fhf-card)}
.fhf-icon-choice input{position:absolute;opacity:0;pointer-events:none;width:1px!important}.fhf-icon-choice span{width:34px;height:34px;color:var(--fhf-muted);display:grid;place-items:center}.fhf-icon-choice small{font-size:12px!important;color:var(--fhf-muted)}
.fhf-icon-choice:has(input:checked){border-color:var(--fhf-red);background:#fff1f3;box-shadow:0 0 0 1px var(--fhf-red)}.fhf-icon-choice:has(input:checked) span,.fhf-icon-choice:has(input:checked) small{color:var(--fhf-red)}
@media(max-width:1050px){.fhf-strategy-bars{grid-template-columns:1fr!important}}
@media(max-width:700px){.fhf-period-select{min-width:0;width:max-content;max-width:100%}.fhf-icon-picker{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* v0.30.6 — prevent section labels from being clipped in card headers */
.fhf-app .fhf-card,
.fhf-app .fhf-panel {
  overflow: visible;
}

.fhf-app .fhf-card-head,
.fhf-app .fhf-panel-head {
  position: relative;
  overflow: visible;
  padding-top: 18px;
}

.fhf-app .fhf-card-head .fhf-eyebrow,
.fhf-app .fhf-card-head .fhf-kicker,
.fhf-app .fhf-panel-head .fhf-eyebrow,
.fhf-app .fhf-panel-head .fhf-kicker {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  margin: 0 0 6px !important;
  display: block;
  line-height: 1.25 !important;
}

.fhf-app .fhf-card-head h2,
.fhf-app .fhf-card-head h3,
.fhf-app .fhf-panel-head h2,
.fhf-app .fhf-panel-head h3 {
  margin-top: 0 !important;
}

/* Dashboard-specific header: keep FORNINGENS PULS fully inside the card. */
.fhf-app .fhf-dashboard-pulse .fhf-eyebrow,
.fhf-app .fhf-dashboard-pulse .fhf-kicker {
  position: static !important;
  transform: none !important;
}

/* Generic safety for the compact labels used elsewhere on dashboard. */
.fhf-app .fhf-eyebrow,
.fhf-app .fhf-kicker {
  min-height: 1em;
  overflow: visible;
}


/* v0.30.7 — strict readable type scale + real dashboard header fix */

/* The sidebar navigation is 14px. This is now the minimum for readable UI copy.
   Tiny decorative symbols/icons are deliberately excluded. */
#fhf-app .fhf-brand-copy small,
#fhf-app .fhf-nav-caption,
#fhf-app .fhf-principle span,
#fhf-app .fhf-principle b,
#fhf-app .fhf-principle small,
#fhf-app .fhf-search input,
#fhf-app .fhf-version,
#fhf-app .fhf-user-copy strong,
#fhf-app .fhf-user-copy small,
#fhf-app .fhf-breadcrumb,
#fhf-app .fhf-page-head p,
#fhf-app .fhf-card small,
#fhf-app .fhf-note,
#fhf-app .fhf-action,
#fhf-app .fhf-secondary,
#fhf-app .fhf-quick button,
#fhf-app .fhf-focus > div,
#fhf-app .fhf-term p,
#fhf-app .fhf-kicker,
#fhf-app .fhf-eyebrow,
#fhf-app .fhf-access-badge,
#fhf-app .fhf-member-list span,
#fhf-app .fhf-member-row span,
#fhf-app .fhf-member-line span,
#fhf-app .fhf-mini,
#fhf-app .fhf-meeting-card p,
#fhf-app .fhf-meeting-stats,
#fhf-app .fhf-meeting-head p,
#fhf-app .fhf-back,
#fhf-app .fhf-agenda-number,
#fhf-app .fhf-agenda-title h3,
#fhf-app .fhf-type,
#fhf-app .fhf-pill,
#fhf-app .fhf-modal label,
#fhf-app .fhf-error,
#fhf-app .fhf-empty,
#fhf-app .fhf-status-grid small,
#fhf-app .fhf-status-grid span,
#fhf-app .fhf-audit,
#fhf-app .fhf-audit span,
#fhf-app .fhf-audit time,
#fhf-app .fhf-period-chip span,
#fhf-app .fhf-period-chip b,
#fhf-app .fhf-dashboard-tabs button,
#fhf-app .fhf-metrics-row span,
#fhf-app .fhf-metrics-row small,
#fhf-app .fhf-strategy-copy p,
#fhf-app .fhf-strategy-line,
#fhf-app .fhf-strategy-line b,
#fhf-app .fhf-strategy-focus small,
#fhf-app .fhf-admin-links b,
#fhf-app .fhf-admin-links small,
#fhf-app .fhf-next-meeting > p,
#fhf-app .fhf-outline-btn,
#fhf-app .fhf-memory-card p,
#fhf-app .fhf-memory-card button,
#fhf-app .fhf-period-select > span,
#fhf-app .fhf-period-select select,
#fhf-app .fhf-icon-choice small,
#fhf-app .fhf-meeting-phase span,
#fhf-app .fhf-decision-overview span,
#fhf-app .fhf-governance-hint span,
#fhf-app .fhf-followup-suggestions-head span,
#fhf-app .fhf-followup-suggestions-head p,
#fhf-app .fhf-followup-count small,
#fhf-app .fhf-followup-line span,
#fhf-app .fhf-followup-suggestion p,
#fhf-app .fhf-followup-suggestions-foot > span,
#fhf-app .fhf-kur-profile-copy p,
#fhf-app .fhf-kur-person-state {
  font-size:14px !important;
  line-height:1.4;
}

/* Actual clipping fix: remove the old fixed 58px panel-header height. */
#fhf-app .fhf-panel-head {
  height:auto !important;
  min-height:78px !important;
  padding:14px 20px 13px !important;
  box-sizing:border-box !important;
  display:flex !important;
  align-items:flex-start !important;
  overflow:visible !important;
}

#fhf-app .fhf-governance-panel {
  overflow:hidden; /* keep rounded card edges */
}

#fhf-app .fhf-governance-panel .fhf-panel-head {
  padding:14px 20px 13px !important;
}

#fhf-app .fhf-panel-head > div {
  min-width:0;
  display:block;
}

#fhf-app .fhf-panel-head .fhf-eyebrow {
  position:static !important;
  inset:auto !important;
  transform:none !important;
  display:block !important;
  margin:0 0 4px !important;
  padding:0 !important;
  height:auto !important;
  min-height:0 !important;
  overflow:visible !important;
  visibility:visible !important;
  opacity:1 !important;
}

#fhf-app .fhf-governance-panel .fhf-panel-head h3 {
  margin:0 !important;
  line-height:1.15 !important;
}

@media(max-width:700px){
  #fhf-app .fhf-mobile-nav button b{
    font-size:14px !important;
  }
}

/* v0.32.0 membership register */
.fhf-member-controls{display:grid!important;grid-template-columns:minmax(220px,2fr) repeat(4,minmax(130px,1fr));gap:10px}
.fhf-member-controls input,.fhf-member-controls select{min-width:0}
.fhf-application-list,.fhf-relation-list{display:grid;gap:8px}
.fhf-application,.fhf-relation-list>div{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:12px 14px;border:1px solid var(--fhf-line);border-radius:10px;background:var(--fhf-card)}
.fhf-application>div:first-child,.fhf-relation-list span{display:grid;gap:3px}.fhf-application strong{color:var(--fhf-red)}
.fhf-form-details{margin:14px 0;border:1px solid var(--fhf-line);border-radius:10px;padding:12px}.fhf-form-details summary{font-weight:700;cursor:pointer;margin-bottom:10px}
.fhf-checkline{display:flex!important;align-items:center!important;gap:8px!important}.fhf-checkline input{width:auto!important}
@media(max-width:1000px){.fhf-member-controls{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.fhf-member-controls{grid-template-columns:1fr}.fhf-application{align-items:flex-start;flex-direction:column}}

/* v0.32.7 – kompakt medlemsfilter */
.fhf-member-searchbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}
.fhf-member-searchbar input{margin:0}
.fhf-member-filters[hidden]{display:none!important}
.fhf-member-filters{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:12px;margin-top:14px}
.fhf-filter-toggle[aria-expanded="true"]{border-color:#d31332;color:#b70d28;background:#fff4f6}
@media(max-width:760px){.fhf-member-filters{grid-template-columns:1fr}.fhf-member-searchbar{grid-template-columns:minmax(0,1fr) auto}.fhf-filter-toggle span{display:none}}

/* v0.32.8 – medlem quick view */
.fhf-member-row-clickable{cursor:pointer;transition:background-color .15s ease,transform .15s ease}
.fhf-member-row-clickable:hover{background:#fafbfc}
.fhf-member-row-clickable:focus-visible{outline:2px solid #d31332;outline-offset:-2px}
.fhf-member-chevron{font-size:30px;line-height:1;color:#7b8189;text-align:right}
.fhf-member-quickview{width:100%}
@media(max-width:760px){
  .fhf-member-row.head{display:none}
  .fhf-member-row-clickable{
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:8px 12px;
    min-height:78px;
    padding:15px 16px!important
  }
  .fhf-member-row-clickable>span:not(.fhf-member-chevron){display:none}
  .fhf-member-row-clickable .fhf-member-chevron{display:flex;align-items:center;justify-content:flex-end}
  .fhf-member-row-clickable b{font-size:inherit}
  .fhf-member-row-clickable small{display:block;margin-top:4px}
  /* Backdrop positions the sheet; .fhf-modal is the actual card. */
  .fhf-modal-backdrop{place-items:end center!important;padding:0!important}
  .fhf-modal{width:100%!important;max-width:none!important;max-height:88dvh!important;margin:0!important;border-radius:24px 24px 0 0!important;overflow:auto!important;padding:22px 18px calc(22px + env(safe-area-inset-bottom))!important}
}

/* v0.33.0 – UX-first generalforsamling og dokumentarkiv */
.fhf-ga-workflow{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:18px 0 22px}
.fhf-ga-workflow .fhf-ga-step{appearance:none;width:100%;display:flex;align-items:center;gap:8px;text-align:left;border:1px solid var(--fhf-line);border-radius:12px;padding:11px 12px;background:var(--fhf-card);color:inherit;cursor:pointer;transition:.18s ease}
.fhf-ga-workflow .fhf-ga-step:hover{border-color:#c9ced5;transform:translateY(-1px)}
.fhf-ga-workflow .fhf-ga-step.active{border-color:#efb8c1;background:#fff4f6;box-shadow:0 5px 18px rgba(211,19,50,.08)}
.fhf-ga-workflow .fhf-ga-step.active span{background:var(--fhf-red);color:#fff}
.fhf-ga-workflow .fhf-ga-step.done:not(.active) span{background:#e8f7ee;color:#177245}
.fhf-ga-workflow .fhf-ga-step.done:not(.active){border-color:#c8e5d3}
.fhf-ga-panel{display:none}.fhf-ga-panel.active{display:block;animation:fhfPanelIn .18s ease}
@keyframes fhfPanelIn{from{opacity:.35;transform:translateY(4px)}to{opacity:1;transform:none}}
.fhf-ga-summaryline{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.fhf-ga-summaryline span{border:1px solid var(--fhf-line);background:var(--fhf-card);border-radius:999px;padding:8px 12px;font-size:12px;color:var(--fhf-muted)}
.fhf-ga-summaryline b{color:var(--fhf-text);font-size:14px}
.fhf-ga-stats-detail{margin-bottom:16px}.fhf-ga-snapshot-action{display:grid;grid-template-columns:1fr auto;align-items:center;gap:14px}
.fhf-ga-snapshot-action .fhf-governance-warning{grid-column:1/-1}.fhf-ga-finalize-card{max-width:760px}
.fhf-ga-finalize-card .fhf-action{margin-top:16px}.fhf-ga-more{min-width:48px;color:#a72a2a!important}
.fhf-doc-card .fhf-pill{font-weight:800}.fhf-doc-card{transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.fhf-doc-card:hover{transform:translateY(-1px);box-shadow:0 8px 22px rgba(20,28,38,.06)}
@media(max-width:900px){.fhf-ga-workflow{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){
 .fhf-ga-workflow{display:flex;overflow-x:auto;gap:8px;margin:14px -4px 18px;padding:4px 4px 8px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
 .fhf-ga-workflow .fhf-ga-step{flex:0 0 152px;min-height:58px;scroll-snap-align:start}
 .fhf-ga-workflow .fhf-ga-step b{font-size:12px}
 .fhf-ga-summaryline{gap:6px}.fhf-ga-summaryline span{padding:7px 10px}
 .fhf-ga-stats-detail{display:none!important}
 .fhf-ga-snapshot-action{grid-template-columns:1fr}.fhf-ga-snapshot-action .fhf-secondary{width:100%}
 .fhf-ga-head{align-items:flex-start}.fhf-ga-head .fhf-actions{flex-wrap:nowrap}
 .fhf-document-toolbar{gap:10px}
}

/* v0.33.1 – mobile governance polish */
.fhf-ga-step-context{display:none;align-items:baseline;gap:8px;margin:-8px 0 18px;color:var(--fhf-muted)}
.fhf-ga-step-context span{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.fhf-ga-step-context b{font-size:14px;color:var(--fhf-text)}
.fhf-ga-overflow{display:flex;justify-content:flex-end;margin:-12px 0 14px}
.fhf-ga-overflow[hidden]{display:none!important}
.fhf-ga-more{color:var(--fhf-text)!important}
.fhf-ga-step:focus-visible{outline:3px solid rgba(211,19,50,.18);outline-offset:2px}
@media(max-width:600px){
  .fhf-ga-step-context{display:flex}
  .fhf-ga-workflow{scrollbar-width:none}
  .fhf-ga-workflow::-webkit-scrollbar{display:none}
  .fhf-ga-workflow .fhf-ga-step{flex-basis:142px;padding:10px 11px}
  .fhf-ga-workflow .fhf-ga-step span{flex:0 0 28px;width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#f1f3f5;font-weight:800}
  .fhf-ga-workflow .fhf-ga-step.active{box-shadow:none}
  .fhf-ga-overflow{margin-top:-8px}
  .fhf-doc-grid{grid-template-columns:1fr!important}
  .fhf-doc-card{min-height:0!important}
  .fhf-doc-copy h3{font-size:20px!important;line-height:1.18!important}
  .fhf-doc-meta{gap:6px!important;flex-wrap:wrap}
  .fhf-document-toolbar{grid-template-columns:1fr!important}
}

/* v0.33.2 – bestyrelsesflow: Dashboard → Møder → Beslutninger */

/* Dashboard should scan like an attention queue, not a second menu */
.fhf-dashboard .fhf-stat-grid,
.fhf-dashboard-grid{gap:12px!important}
.fhf-dashboard .fhf-section{margin-bottom:14px}
.fhf-dashboard .fhf-quick-links,
.fhf-quick-links{gap:10px!important}
@media(max-width:760px){
  .fhf-dashboard .fhf-quick-links,
  .fhf-quick-links{display:grid!important;grid-template-columns:1fr 1fr!important}
}

/* Period selector becomes contextual rather than a dominant card */
.fhf-period-select,.fhf-period-card{
  box-shadow:none!important;
  border-radius:12px!important;
}
@media(max-width:760px){
 .fhf-period-select,.fhf-period-card{padding:10px 12px!important}
}

/* Meeting list: make title/date/status the primary scan path */
.fhf-meeting-card,.fhf-meeting-row{
  position:relative;border-radius:16px!important;transition:transform .15s ease,box-shadow .15s ease
}
.fhf-meeting-card:hover,.fhf-meeting-row:hover{transform:translateY(-1px);box-shadow:0 5px 18px rgba(25,31,40,.07)}
.fhf-meeting-card h3,.fhf-meeting-row h3{margin-bottom:5px!important}
.fhf-meeting-card .fhf-meta,.fhf-meeting-row .fhf-meta{line-height:1.4}

/* Meeting detail: agenda/referat should visually outrank secondary KUR context */
.fhf-meeting-detail .fhf-stat-grid,
.fhf-meeting-context .fhf-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.fhf-agenda-row{padding:16px!important}
.fhf-agenda-row h3{margin:0 0 7px!important}
.fhf-agenda-row+.fhf-agenda-row{margin-top:10px}

/* Minutes: readable document rhythm instead of an undifferentiated wall */
.fhf-minutes,.fhf-minutes-content{line-height:1.65!important}
.fhf-minutes h3,.fhf-minutes-content h3{
  margin:24px 0 8px!important;padding-top:18px;border-top:1px solid #eceef1
}
.fhf-minutes h3:first-child,.fhf-minutes-content h3:first-child{border-top:0;padding-top:0;margin-top:0}

/* Decisions are institutional memory: compact, searchable records */
.fhf-decision-card,.fhf-decision-row{
  border-radius:15px!important;padding:16px!important
}
.fhf-decision-card h3,.fhf-decision-row h3{margin:0 0 6px!important}
.fhf-decision-card .fhf-meta,.fhf-decision-row .fhf-meta{display:flex;gap:8px;flex-wrap:wrap}
.fhf-decision-card+.fhf-decision-card,.fhf-decision-row+.fhf-decision-row{margin-top:10px}

/* Technical states never need to visually dominate */
.fhf-pill,.fhf-status{font-weight:750;letter-spacing:0!important;text-transform:none!important}

@media(max-width:760px){
 .fhf-meeting-detail .fhf-stat-grid,
 .fhf-meeting-context .fhf-stat-grid{display:flex!important;gap:8px!important;overflow-x:auto}
 .fhf-meeting-detail .fhf-stat,
 .fhf-meeting-context .fhf-stat{min-width:145px!important;min-height:auto!important;padding:12px!important}
 .fhf-agenda-row{padding:14px!important}
 .fhf-decision-card,.fhf-decision-row{padding:14px!important}
}

/* v0.33.3 – Godkendelser + Dokumenter */
.fhf-approval-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border:1px solid #e7e9ed;border-radius:14px;background:#fafbfc}
.fhf-approval-summary strong{font-size:20px}
.fhf-approval-people{display:grid;gap:8px;margin-top:14px}
.fhf-approval-person{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px 13px;border:1px solid #e8eaee;border-radius:12px;background:#fff}
.fhf-approval-person b,.fhf-approval-person small{display:block}.fhf-approval-person .fhf-status{white-space:nowrap}
.fhf-document-card{cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.fhf-document-card:hover{transform:translateY(-1px);box-shadow:0 5px 18px rgba(25,31,40,.07);border-color:#dfe2e7!important}
.fhf-document-card:active{transform:none}
.fhf-document-card .fhf-document-title{font-weight:800;font-size:18px}
.fhf-document-card .fhf-document-meta{display:flex;flex-wrap:wrap;gap:7px 12px;margin-top:6px}
.fhf-document-card .fhf-document-status{margin-top:11px}
.fhf-document-card .fhf-document-progress{margin-top:8px;font-weight:700}
.fhf-document-card .fhf-document-progressbar{height:6px;background:#eceef1;border-radius:99px;overflow:hidden;margin-top:7px}
.fhf-document-card .fhf-document-progressbar>span{display:block;height:100%;background:#cf202f;border-radius:99px}
@media(max-width:760px){.fhf-approval-summary{align-items:flex-start}.fhf-approval-person{padding:10px 12px}.fhf-document-card{padding:15px!important}.fhf-document-card .fhf-document-title{font-size:17px}}

/* v0.33.4 – KUR + Medlemmer som samlet personoplevelse */
.fhf-board-grid,.fhf-kur-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px!important}
.fhf-board-card,.fhf-kur-member{
  min-height:0!important;padding:14px!important;border-radius:15px!important;
  display:grid!important;grid-template-columns:52px minmax(0,1fr);gap:12px!important;align-items:center!important
}
.fhf-board-card img,.fhf-kur-member img,.fhf-board-avatar{
  width:52px!important;height:52px!important;min-width:52px!important;border-radius:50%!important;object-fit:cover!important
}
.fhf-board-card h3,.fhf-kur-member h3{margin:0 0 3px!important;font-size:17px!important;line-height:1.25!important}
.fhf-board-card p,.fhf-kur-member p{margin:2px 0!important;line-height:1.35!important}
.fhf-board-card .fhf-actions,.fhf-kur-member .fhf-actions{grid-column:1/-1;margin-top:5px!important}
.fhf-board-card .fhf-pill,.fhf-kur-member .fhf-pill{display:inline-flex;width:max-content;margin-top:5px}
.fhf-member-row-clickable{min-height:68px!important}
.fhf-member-row-clickable>div:first-child{min-width:0}
.fhf-member-row-clickable b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fhf-member-row-clickable small{color:#6f747c}
.fhf-member-ajax-modal .fhf-profile-facts{gap:0!important;border-radius:15px!important;overflow:hidden}
.fhf-member-ajax-modal .fhf-profile-facts>div{min-height:68px}
.fhf-member-ajax-modal .fhf-member-address{padding:14px 0}
.fhf-member-modal-actions .danger{margin-left:auto}
@media(max-width:760px){
 .fhf-board-grid,.fhf-kur-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 .fhf-board-card,.fhf-kur-member{
   display:flex!important;flex-direction:column!important;text-align:center!important;
   padding:12px 8px!important;gap:7px!important
 }
 .fhf-board-card img,.fhf-kur-member img,.fhf-board-avatar{
   width:58px!important;height:58px!important;min-width:58px!important
 }
 .fhf-board-card h3,.fhf-kur-member h3{font-size:16px!important}
 .fhf-board-card p,.fhf-kur-member p{font-size:15px!important}
 .fhf-board-card .fhf-actions,.fhf-kur-member .fhf-actions{width:100%}
 .fhf-member-row-clickable{min-height:64px!important;padding:12px 14px!important}
 .fhf-member-ajax-modal .fhf-profile-facts{grid-template-columns:1fr 1fr!important}
 .fhf-member-ajax-modal .fhf-profile-facts>div{padding:12px!important;min-height:64px}
 .fhf-member-modal-actions{display:grid!important;grid-template-columns:1fr!important}
 .fhf-member-modal-actions .danger{margin-left:0}
}

/* v0.33.5 hotfix – modal integrity */
.fhf-modal .fhf-section-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important}
.fhf-modal .fhf-section-head h2{font-size:24px!important;line-height:1.15!important;margin:0!important}
.fhf-modal .fhf-icon-btn{flex:0 0 auto}.fhf-modal form{margin-top:16px}
.fhf-modal form>label{font-size:14px!important;line-height:1.3!important;gap:7px!important}
.fhf-modal input,.fhf-modal select,.fhf-modal textarea{font-size:16px!important;min-height:48px}
.fhf-modal .fhf-check{display:flex!important;align-items:flex-start!important;gap:10px!important}
.fhf-modal .fhf-check input[type="checkbox"]{width:22px!important;height:22px!important;min-height:22px!important;flex:0 0 22px}
.fhf-member-quick-head{margin-bottom:18px}.fhf-member-ajax-modal .fhf-profile-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px!important}
.fhf-member-ajax-modal .fhf-profile-facts>div{padding:12px!important;border:1px solid var(--fhf-line);border-radius:10px;background:#fafbfc}
.fhf-member-ajax-modal .fhf-profile-facts span,.fhf-member-address span{display:block;color:var(--fhf-muted);font-size:12px;margin-bottom:4px}
.fhf-member-ajax-modal .fhf-profile-facts b,.fhf-member-address b{font-size:14px}.fhf-member-address{margin-top:10px;padding:12px!important;border:1px solid var(--fhf-line);border-radius:10px}
.fhf-quick-section{border-top:1px solid var(--fhf-line);margin-top:18px;padding-top:18px}.fhf-quick-section h3{margin:0;font-size:18px}
.fhf-profile-facts-compact{margin-top:10px}.fhf-member-modal-actions{display:flex;gap:10px;margin-top:20px;padding-top:18px;border-top:1px solid var(--fhf-line)}
@media(max-width:760px){.fhf-modal .fhf-section-head{display:flex!important}.fhf-modal .fhf-section-head h2{font-size:22px!important}.fhf-member-modal-actions{display:grid!important;grid-template-columns:1fr 1fr!important}}

/* v0.33.6 – generalforsamling som guidet 6-trins arbejdsflow */
.fhf-ga-flow-nav{position:sticky;bottom:calc(82px + env(safe-area-inset-bottom));z-index:24;display:grid;grid-template-columns:minmax(110px,1fr) auto minmax(110px,1fr);align-items:center;gap:12px;margin:20px 0 4px;padding:12px;background:rgba(255,255,255,.96);border:1px solid var(--fhf-line);border-radius:18px;box-shadow:0 12px 35px rgba(20,27,35,.12);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.fhf-ga-flow-nav>button{min-height:48px;margin:0!important}.fhf-ga-flow-nav #fhf-ga-prev{justify-self:start}.fhf-ga-flow-nav #fhf-ga-next{justify-self:end}
.fhf-ga-flow-progress{text-align:center;min-width:92px}.fhf-ga-flow-progress span{display:block;font-weight:800;font-size:13px;color:var(--fhf-text)}.fhf-ga-flow-progress small{display:block;margin-top:2px;color:var(--fhf-muted);font-size:11px;white-space:nowrap}
.fhf-ga-panel:not(.active){display:none!important}.fhf-ga-panel.active{animation:fhfGaPanelIn .18s ease-out}@keyframes fhfGaPanelIn{from{opacity:.45;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(max-width:760px){.fhf-ga-flow-nav{bottom:calc(76px + env(safe-area-inset-bottom));grid-template-columns:1fr auto 1fr;gap:7px;margin-left:-2px;margin-right:-2px;padding:8px;border-radius:16px}.fhf-ga-flow-nav>button{min-height:44px;padding:10px 12px!important;font-size:13px!important}.fhf-ga-flow-progress{min-width:64px}.fhf-ga-flow-progress small{display:none}}


/* v0.33.7 — focused meeting treatment */
.fhf-meeting-work-sheet{display:grid;gap:18px}.fhf-work-handle{display:none}.fhf-work-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.fhf-work-head h2{margin:4px 0 0;font-size:26px;line-height:1.15}.fhf-work-step,.fhf-work-section>span,.fhf-work-section-head>span,.fhf-work-question span{font-size:11px;font-weight:850;letter-spacing:.08em;color:#8b9199}.fhf-work-question{padding:16px;border-radius:16px;background:#eef5ff;border-left:4px solid #2f80ed;display:grid;gap:6px}.fhf-work-question b{font-size:17px;line-height:1.4}.fhf-work-section{display:grid;gap:9px;padding-top:2px}.fhf-work-section+.fhf-work-section{border-top:1px solid var(--fhf-line);padding-top:18px}.fhf-work-section-head{display:flex;align-items:center;justify-content:space-between}.fhf-text-action{border:0;background:transparent;color:#087cf0;font-weight:800;padding:6px}.fhf-work-note{background:#20262d;color:#f7f8fa;border-radius:14px;padding:14px;line-height:1.55}.fhf-work-note a{color:#8fc5ff}.fhf-work-note strong,.fhf-work-note b{color:#fff}.fhf-work-empty{border:1px dashed #d9dde3;border-radius:14px;padding:18px;color:#858b92;text-align:center}.fhf-work-decision{background:#edf8f1;border-left:4px solid #1e9b62;border-radius:14px;padding:15px;font-weight:700;line-height:1.5}.fhf-work-section small{display:block;color:#6f757c}.fhf-work-files{display:grid;gap:8px}.fhf-work-file{display:flex;align-items:center;gap:10px;width:100%;border:1px solid var(--fhf-line);background:#fff;border-radius:12px;padding:12px;text-align:left}.fhf-work-file b{color:#087cf0}.fhf-work-primary{width:100%;min-height:52px}.fhf-work-principle{display:grid;gap:3px;padding:14px 16px;border-radius:14px;background:#f6f7f8;color:#5e646b}.fhf-work-principle b{color:var(--fhf-ink)}
@media(max-width:720px){.fhf-modal-overlay:has(.fhf-meeting-work-sheet){align-items:flex-end!important;padding:0!important}.fhf-modal:has(.fhf-meeting-work-sheet){width:100%!important;max-width:none!important;max-height:88dvh!important;border-radius:24px 24px 0 0!important;padding:10px 20px calc(24px + env(safe-area-inset-bottom))!important;overflow:auto!important}.fhf-work-handle{display:block;width:44px;height:5px;border-radius:99px;background:#d9dde2;margin:0 auto 5px}.fhf-work-head h2{font-size:23px}.fhf-work-question b{font-size:16px}.fhf-work-section{font-size:15px}}
html[data-fhf-theme="dark"] .fhf-work-question{background:#172437}html[data-fhf-theme="dark"] .fhf-work-note{background:#20262d;color:#f7f8fa}html[data-fhf-theme="dark"] .fhf-work-principle{background:#20262d}.fhf-work-file,html[data-fhf-theme="dark"] .fhf-work-file{background:var(--fhf-card);color:var(--fhf-ink)}html[data-fhf-theme="dark"] .fhf-work-decision{background:#142a20}
/* v0.33.9 — beslutningsprotokol */
.fhf-decision-controls{grid-template-columns:minmax(0,1fr) 190px 170px}
.fhf-decision-source{margin:-2px 0 12px;color:var(--fhf-muted);font-size:12px;line-height:1.45}
.fhf-decision-source b{color:var(--fhf-text)}
@media(max-width:760px){.fhf-decision-controls{grid-template-columns:1fr}.fhf-decision-source{font-size:11.5px}}

/* v0.34.0 – beslutningslivscyklus */
.fhf-decision-history{margin-top:12px;padding:12px 14px;border:1px solid #e1e4e8;border-radius:12px;background:#f6f7f9;display:grid;gap:3px}
.fhf-decision-history b{font-size:13px}.fhf-decision-history span{font-size:14px;color:#555d66}
.fhf-decision-actions{flex-wrap:wrap}

/* v0.34.2 — kompakt mobil bundnavigation
   Bevidst override af ældre nav-regler: mindre højde, roligere aktiv markering,
   bedre ikon/tekst-hierarki og korrekt iPhone safe-area. */
@media (max-width:760px){
  #fhf-app .fhf-mobile-nav{
    height:auto!important;
    min-height:64px!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    align-items:center!important;
    gap:4px!important;
    padding:6px max(8px,env(safe-area-inset-right,0px))
            calc(6px + env(safe-area-inset-bottom,0px))
            max(8px,env(safe-area-inset-left,0px))!important;
    background:rgba(255,255,255,.97)!important;
    border-top:1px solid rgba(20,27,38,.09)!important;
    box-shadow:0 -8px 24px rgba(20,27,38,.055)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
  }
  #fhf-app .fhf-mobile-nav button{
    height:52px!important;
    min-height:52px!important;
    align-self:center!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:3px!important;
    margin:0!important;
    padding:5px 3px 4px!important;
    border-radius:13px!important;
    color:#727b85!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  #fhf-app .fhf-mobile-nav button .fhf-mobile-icon{
    width:24px!important;height:24px!important;flex:0 0 24px!important;
  }
  #fhf-app .fhf-mobile-nav button .fhf-mobile-icon svg{
    width:23px!important;height:23px!important;stroke-width:1.8!important;
  }
  #fhf-app .fhf-mobile-nav button b{
    width:auto!important;
    font-size:10.5px!important;
    line-height:1!important;
    font-weight:750!important;
    letter-spacing:-.01em!important;
  }
  #fhf-app .fhf-mobile-nav button.active{
    color:var(--fhf-red)!important;
    background:var(--fhf-red-soft)!important;
  }
  #fhf-app .fhf-mobile-nav button.active b{font-weight:800!important}
  #fhf-app .fhf-main,
  #fhf-app .fhf-content,
  #fhf-app #fhf-content{
    padding-bottom:calc(78px + env(safe-area-inset-bottom,0px))!important;
  }
  #fhf-app .fhf-ga-flow-nav{
    bottom:calc(68px + env(safe-area-inset-bottom,0px))!important;
  }
}

/* v0.34.3 – demografisk bestyrelsesoverblik */
.fhf-demographics{overflow:hidden}.fhf-demo-total{font-weight:800;color:var(--fhf-muted)}
.fhf-demo-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:16px}
.fhf-demo-card{border:1px solid var(--fhf-line);border-radius:16px;padding:16px;background:var(--fhf-card);min-width:0}
.fhf-demo-card-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:15px}.fhf-demo-card h4{margin:0 0 3px;font-size:17px}.fhf-demo-card p{margin:0;color:var(--fhf-muted)}
.fhf-age-wrap{display:grid;grid-template-columns:170px 1fr;gap:18px;align-items:center}
.fhf-donut{width:160px;height:160px;border-radius:50%;display:grid;place-items:center;position:relative}
.fhf-donut:after{content:"";position:absolute;inset:28px;border-radius:50%;background:var(--fhf-card)}
.fhf-donut>div{position:relative;z-index:1;text-align:center;display:grid}.fhf-donut b{font-size:28px;line-height:1}.fhf-donut span{font-size:12px;color:var(--fhf-muted);margin-top:5px}
.fhf-age-legend{display:grid;gap:6px}.fhf-age-legend button{display:grid;grid-template-columns:10px 1fr auto;gap:9px;align-items:center;border:0;background:transparent;padding:5px;text-align:left;color:inherit;border-radius:9px}
.fhf-age-legend button:hover{background:var(--fhf-bg)}.fhf-age-legend i{width:9px;height:9px;border-radius:50%}.fhf-age-legend .c1 i{background:#cf202f}.fhf-age-legend .c2 i{background:#f2a23a}.fhf-age-legend .c3 i{background:#4b78c2}.fhf-age-legend .c4 i{background:#5a9b76}
.fhf-age-legend span{display:grid}.fhf-age-legend small{color:var(--fhf-muted)}.fhf-age-legend strong{font-size:17px}
.fhf-data-note,.fhf-map-note{font-size:12px!important;margin-top:12px!important;padding-top:10px;border-top:1px solid var(--fhf-line)}
.fhf-gender-bars{display:grid;gap:14px}.fhf-gender-bars>div>span{display:flex;justify-content:space-between;margin-bottom:6px}.fhf-gender-bars i,.fhf-city-bars i{display:block;height:8px;border-radius:99px;background:var(--fhf-bg);overflow:hidden}.fhf-gender-bars em,.fhf-city-bars em{display:block;height:100%;border-radius:99px;background:var(--fhf-red)}
.fhf-gender-bars>div:nth-child(2) em{background:#596f9e}.fhf-demo-kpis{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}.fhf-demo-kpis>div{padding:12px;border-radius:12px;background:var(--fhf-bg);display:grid}.fhf-demo-kpis span{font-size:12px;color:var(--fhf-muted)}.fhf-demo-kpis b{font-size:22px}
.fhf-denmark-map{height:250px;position:relative;max-width:330px;margin:0 auto}.fhf-denmark-map svg{width:100%;height:100%;fill:var(--fhf-bg);stroke:#b8c0c8;stroke-width:.8}
.fhf-map-bubble{position:absolute;transform:translate(-50%,-50%);border:2px solid #fff;border-radius:50%;background:rgba(207,32,47,.78);color:#fff;display:grid;place-items:center;min-width:16px;min-height:16px;padding:0;box-shadow:0 3px 10px rgba(20,27,38,.18)}
.fhf-map-bubble span{font-size:9px;font-weight:850}.fhf-city-bars{display:grid;gap:10px}.fhf-city-bars button{display:grid;grid-template-columns:minmax(105px,1fr) 1.4fr 28px;gap:10px;align-items:center;border:0;background:transparent;padding:3px 0;text-align:left;color:inherit}.fhf-city-bars small{color:var(--fhf-muted)}.fhf-city-bars b{text-align:right}
@media(max-width:900px){.fhf-demo-grid{grid-template-columns:1fr}.fhf-age-wrap{grid-template-columns:150px 1fr}.fhf-donut{width:145px;height:145px}}
@media(max-width:520px){.fhf-demo-grid{padding:12px;gap:10px}.fhf-demo-card{padding:14px}.fhf-age-wrap{grid-template-columns:125px 1fr;gap:12px}.fhf-donut{width:120px;height:120px}.fhf-donut:after{inset:22px}.fhf-donut b{font-size:24px}.fhf-city-bars button{grid-template-columns:minmax(90px,1fr) 1fr 25px}.fhf-denmark-map{height:220px}}

/* v0.34.4 – officielle arbejdsgrene, kort og medlemsperioder */
.fhf-denmark-map{display:block!important;position:relative!important;min-height:250px!important}
.fhf-denmark-map .fhf-denmark-svg{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:1!important;visibility:visible!important;z-index:1!important}
.fhf-denmark-map .fhf-map-bubble{z-index:2!important}
.fhf-prior-membership{grid-column:1/-1;border:1px solid var(--fhf-line);border-radius:14px;padding:14px;background:var(--fhf-bg)}
.fhf-prior-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.fhf-prior-head>div{display:grid;gap:2px}.fhf-prior-head small{color:var(--fhf-muted)}
.fhf-prior-row{display:grid;grid-template-columns:1fr 1fr 44px;gap:10px;align-items:end;margin-top:10px}.fhf-prior-row label{margin:0!important}.fhf-prior-row .fhf-icon-btn{margin-bottom:2px}
@media(max-width:520px){.fhf-prior-head{align-items:flex-start;flex-direction:column}.fhf-prior-row{grid-template-columns:1fr 1fr 40px}.fhf-denmark-map{min-height:220px!important}}

/* v0.34.5 – tydeligt lys/mørkt vektorkort */
.fhf-denmark-map{max-width:360px!important;height:330px!important;border-radius:18px;background:#f7f8fa;overflow:hidden;border:1px solid var(--fhf-line)}
.fhf-denmark-svg{padding:16px;box-sizing:border-box}
.fhf-denmark-svg .fhf-map-land{fill:#e5e9ed;stroke:#9da8b2;stroke-width:3;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.fhf-map-bubble{box-shadow:0 2px 8px rgba(0,0,0,.22),0 0 0 2px rgba(255,255,255,.9)!important}
[data-theme="dark"] .fhf-denmark-map,.dark .fhf-denmark-map{background:#171b20}
[data-theme="dark"] .fhf-denmark-svg .fhf-map-land,.dark .fhf-denmark-svg .fhf-map-land{fill:#2b3239;stroke:#65717c}
@media(prefers-color-scheme:dark){
 body:not([data-theme="light"]) .fhf-denmark-map{background:#171b20}
 body:not([data-theme="light"]) .fhf-denmark-svg .fhf-map-land{fill:#2b3239;stroke:#65717c}
}
@media(max-width:520px){.fhf-denmark-map{height:290px!important}}

/* v0.34.6 – auditerbar stemmeret og roligt geografisk kort */
.fhf-stat-button{appearance:none;width:100%;text-align:left;font:inherit;color:inherit;cursor:pointer}
.fhf-stat-button small{display:block;margin-top:14px;font-size:12px;font-weight:700;color:var(--fhf-red,#c8102e)}
.fhf-vote-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0 24px}
.fhf-vote-summary>div{padding:16px;border:1px solid var(--fhf-line);border-radius:14px;background:var(--fhf-soft,#f5f6f7)}
.fhf-vote-summary span,.fhf-vote-summary b{display:block}.fhf-vote-summary b{font-size:28px;margin-top:6px}
.fhf-vote-section{margin-top:18px}.fhf-vote-section summary{font-weight:800;cursor:pointer;margin-bottom:10px}
.fhf-vote-row{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:12px 0;border-bottom:1px solid var(--fhf-line)}
.fhf-vote-row div span{display:block;color:var(--fhf-muted);font-size:13px;margin-top:3px}.fhf-vote-row strong{text-align:right;font-size:13px}
.fhf-denmark-map{height:390px!important;max-width:420px!important;background:#f5f7f9!important;border:1px solid #dfe4e8!important}
.fhf-denmark-svg{padding:14px!important}
.fhf-denmark-svg .fhf-map-land{fill:#e7ebee!important;stroke:#9ca8b3!important;stroke-width:1.6!important;stroke-linejoin:round!important}
.fhf-denmark-svg .fhf-map-detail{fill:none;stroke:#c2cad1;stroke-width:1;stroke-linecap:round;opacity:.65}
[data-theme="dark"] .fhf-denmark-map,.dark .fhf-denmark-map{background:#171b20!important;border-color:#343c44!important}
[data-theme="dark"] .fhf-denmark-svg .fhf-map-land,.dark .fhf-denmark-svg .fhf-map-land{fill:#2b3239!important;stroke:#788590!important}
[data-theme="dark"] .fhf-denmark-svg .fhf-map-detail,.dark .fhf-denmark-svg .fhf-map-detail{stroke:#4d5963}
@media(max-width:600px){.fhf-vote-summary{grid-template-columns:1fr 1fr}.fhf-denmark-map{height:330px!important}}

/* v0.34.7 – OpenFreeMap / MapLibre */
.fhf-denmark-map{position:relative;height:390px!important;max-width:none!important;width:100%!important;padding:0!important;overflow:hidden;border-radius:18px;background:#e9eef2!important;border:1px solid var(--fhf-line,#dfe4e8)!important}
.fhf-denmark-map .maplibregl-canvas{position:absolute;inset:0}
.fhf-denmark-map .maplibregl-ctrl-attrib{font-size:10px}
.fhf-denmark-map .maplibregl-popup-content{border-radius:12px;padding:10px 12px;font-family:inherit;box-shadow:0 8px 30px rgba(0,0,0,.15)}
.fhf-map-error{display:grid;place-items:center;height:100%;padding:30px;text-align:center;color:var(--fhf-muted)}
@media(max-width:600px){.fhf-denmark-map{height:320px!important}}

/* v0.34.8 – dashboard polish */
.fhf-nav-label{display:none!important}

/* Bestyrelseshukommelse: undgå smalle, høje dokument-/GF-kort på laptop */
@media (min-width: 900px){
  .fhf-memory-grid,
  .fhf-board-memory-grid,
  .fhf-dashboard-memory{
    align-items:stretch;
  }
}
/* Existing memory section uses a broad content row; let feature cards breathe. */
@media (min-width: 1050px) and (max-width: 1550px){
  .fhf-memory-grid,
  .fhf-board-memory-grid{
    grid-template-columns:minmax(300px,1.15fr) minmax(250px,.85fr)!important;
  }
  .fhf-memory-actions,
  .fhf-memory-links{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:14px!important;
    min-width:0!important;
  }
  .fhf-memory-actions > *,
  .fhf-memory-links > *{
    min-width:0!important;
    width:100%!important;
  }
}
/* Generic safeguard for the two dashboard shortcut cards seen in the leadership-memory panel. */
@media (min-width: 900px) and (max-width: 1450px){
  .fhf-pulse-memory .fhf-quick-card,
  .fhf-board-memory .fhf-quick-card{
    min-width:220px!important;
  }
}
.fhf-denmark-map{isolation:isolate}
.fhf-map-status{position:absolute;left:16px;right:16px;bottom:16px;z-index:5;padding:10px 12px;border-radius:10px;background:rgba(255,255,255,.92);color:#8b1e2d;font-weight:700;font-size:13px;box-shadow:0 4px 18px rgba(0,0,0,.08)}

/* v0.34.9 – medlemskort */
.fhf-map-legend{position:absolute;left:14px;bottom:14px;z-index:4;background:rgba(255,255,255,.94);border:1px solid rgba(30,41,59,.12);box-shadow:0 4px 16px rgba(15,23,42,.08);border-radius:10px;padding:8px 10px;font-size:12px;font-weight:650;color:#475569;display:flex;align-items:center;gap:7px}
.fhf-map-legend span{width:12px;height:12px;border-radius:50%;background:#c8102e;border:2px solid #fff;box-shadow:0 0 0 1px rgba(200,16,46,.25)}
[data-theme="dark"] .fhf-map-legend,.dark .fhf-map-legend{background:rgba(24,28,34,.94);color:#e5e7eb;border-color:rgba(255,255,255,.12)}

/* v0.34.12 – robuste medlemsmarkører oven på MapLibre/Positron */
.fhf-member-map-marker{
  appearance:none;-webkit-appearance:none;border:3px solid #fff;border-radius:999px;
  background:#cf2033;color:#fff;font:800 13px/1 inherit;display:flex;align-items:center;
  justify-content:center;box-shadow:0 3px 12px rgba(20,27,36,.28);
  cursor:pointer;padding:0;min-width:30px;min-height:30px;
}
.fhf-member-map-marker:hover,.fhf-member-map-marker:focus-visible{
  transform:scale(1.08);outline:3px solid rgba(207,32,51,.22);outline-offset:2px;
}

/* v0.34.13 — dashboard refinement */
.fhf-board-memory{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(420px,1.2fr);gap:24px;align-items:center;padding:22px 24px;border-top:1px solid var(--fhf-line)}
.fhf-board-memory-copy h3{font:500 25px/1.22 Montserrat,sans-serif;margin:7px 0 8px;color:var(--fhf-ink)}
.fhf-board-memory-copy p{margin:0;max-width:520px;color:var(--fhf-muted);font-size:12px;line-height:1.55}
.fhf-board-memory-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;min-width:0}
.fhf-memory-action{display:grid;grid-template-columns:42px minmax(0,1fr) 18px;align-items:center;gap:12px;min-width:0;padding:16px;border:1px solid var(--fhf-line);border-radius:14px;background:var(--fhf-card);text-align:left;cursor:pointer;color:var(--fhf-ink);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.fhf-memory-action:hover{transform:translateY(-1px);box-shadow:0 8px 22px rgba(20,27,36,.07);border-color:#d7dce2}
.fhf-memory-icon{width:42px;height:42px;border-radius:11px;background:#fff1f3;color:var(--fhf-red);display:grid;place-items:center;font-size:18px}
.fhf-memory-text{min-width:0}.fhf-memory-text b{display:block;font:700 13px/1.3 Montserrat,sans-serif;margin-bottom:5px}.fhf-memory-text small{display:block;color:var(--fhf-muted);font-size:10.5px;line-height:1.45}
.fhf-memory-arrow{font-size:24px;color:#a1a7ae;justify-self:end}
.fhf-page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:16px;padding-bottom:16px}
.fhf-page-head>div:first-child{min-width:0}.fhf-page-header-right{flex:0 0 auto;align-self:center}
.fhf-page-head .fhf-breadcrumb{margin-bottom:4px}.fhf-page-head p{margin-top:5px}
.fhf-period-select{margin:0}
.fhf-demo-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.fhf-city-card{grid-column:1/-1}
@media(max-width:1100px){
 .fhf-board-memory{grid-template-columns:1fr}
 .fhf-board-memory-actions{grid-template-columns:1fr 1fr}
}
@media(max-width:700px){
 .fhf-page-head{align-items:flex-end;padding:14px 16px;gap:10px}
 .fhf-page-head .fhf-breadcrumb{display:none}
 .fhf-page-head p{display:none}
 .fhf-page-head h1{font-size:21px}
 .fhf-period-select{min-width:0;padding:6px 7px 6px 9px;gap:5px}
 .fhf-period-select>span{display:none}
 .fhf-period-select select{font-size:11px!important;max-width:150px}
 .fhf-board-memory{padding:18px 16px;gap:16px}
 .fhf-board-memory-copy h3{font-size:20px}
 .fhf-board-memory-actions{grid-template-columns:1fr}
 .fhf-memory-action{padding:13px}
 .fhf-demo-grid{grid-template-columns:1fr!important}
 .fhf-city-card{grid-column:auto}
}
html[data-fhf-theme="dark"] .fhf-memory-action{background:#1d232a;border-color:var(--fhf-line)}
html[data-fhf-theme="dark"] .fhf-memory-icon{background:#342127}

/* v0.34.19 — compact member actions + attendance state */
.fhf-member-icon-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.fhf-member-icon-actions .fhf-icon-action{
  width:46px;height:46px;min-width:46px;padding:0!important;
  display:inline-flex;align-items:center;justify-content:center;
  border-radius:13px;font-size:24px;line-height:1;font-weight:700
}
.fhf-member-icon-actions .fhf-icon-action-primary{font-size:27px}
.fhf-ga-voter.not-present{
  background:#f5f6f7!important;border-color:#dde1e5!important;color:#25292d!important;
}
.fhf-ga-voter.not-present .fhf-check{
  background:#e3e6e9!important;color:#8a9096!important;border-color:#d6dadd!important;
}
.fhf-ga-voter.not-present .fhf-pill{
  background:#e9ecef!important;color:#6e747a!important;border-color:transparent!important;
}
.fhf-ga-voter.present{
  background:#edf9f1!important;border-color:#a8dfb9!important;
}
.fhf-ga-voter.present .fhf-check{
  background:#4d804b!important;color:#fff!important;border-color:#4d804b!important;
}
.fhf-ga-voter.present .fhf-pill.ok{
  background:#e7f7ec!important;color:#477447!important;
}
@media(max-width:700px){
 .fhf-member-icon-actions{gap:7px}
 .fhf-member-icon-actions .fhf-icon-action{width:44px;height:44px;min-width:44px}
}

/* v0.34.20 — explicit attendance visual state */
#fhf-ga-voters .fhf-ga-voter.not-present,
#fhf-ga-voters button.fhf-ga-voter.not-present{
  background:#f3f4f6!important;
  border:1px solid #d9dee3!important;
  box-shadow:none!important;
}
#fhf-ga-voters .fhf-ga-voter.not-present .fhf-check{
  background:#dfe3e7!important;border-color:#d1d6db!important;color:transparent!important;
}
#fhf-ga-voters .fhf-ga-voter.not-present .fhf-pill{
  background:#e5e7ea!important;color:#6c737a!important;
}
#fhf-ga-voters .fhf-ga-voter.present,
#fhf-ga-voters button.fhf-ga-voter.present{
  background:#eaf8ef!important;
  border:1px solid #9eddb3!important;
  box-shadow:inset 4px 0 0 #4f8652!important;
}
#fhf-ga-voters .fhf-ga-voter.present .fhf-check{
  background:#4f8652!important;border-color:#4f8652!important;color:#fff!important;
}

/* v0.34.21 — remove obsolete sidebar section heading */
.fhf-sidebar .fhf-nav-section-label,
.fhf-sidebar .fhf-sidebar-section-label,
.fhf-sidebar .fhf-nav-label,
.fhf-drawer .fhf-nav-section-label,
.fhf-drawer .fhf-sidebar-section-label { display:none !important; }

/* v0.34.23 — sidebar rhythm after removal of obsolete nav caption */
.fhf-sidebar .fhf-nav{
  padding-top: 24px !important;
}
@media (max-width: 900px){
  .fhf-drawer .fhf-nav{
    padding-top: 22px !important;
  }
}

/* v0.34.24 — actual sidebar nav spacing (correct selector) */
#fhf-app .fhf-sidebar > .fhf-main-nav{
  padding-top: 24px !important;
}
@media (max-width:900px){
  #fhf-app .fhf-sidebar > .fhf-main-nav{
    padding-top: 24px !important;
  }
}

/* v0.34.26 — members + meetings workspace polish */
.fhf-member-workspace-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.fhf-member-workspace-head h2{margin-bottom:5px}.fhf-member-workspace-count{font:700 12px/1.2 Montserrat,sans-serif;color:var(--fhf-muted);margin-top:7px}.fhf-member-icon-actions{flex-wrap:nowrap}.fhf-member-icon-actions .fhf-icon-action{width:42px;height:42px!important;padding:0!important;display:grid!important;place-items:center;border-radius:10px!important;font-size:20px!important}.fhf-member-icon-actions .fhf-icon-action-primary{box-shadow:0 6px 16px rgba(200,16,46,.14)}
.fhf-member-searchbar{display:flex;gap:9px}.fhf-member-searchbar input{flex:1}.fhf-filter-toggle{white-space:nowrap}.fhf-member-filters{grid-column:1/-1;display:grid;grid-template-columns:repeat(5,minmax(120px,1fr)) auto;gap:8px;padding:12px;background:var(--fhf-soft);border:1px solid var(--fhf-line);border-radius:12px}.fhf-member-filters[hidden]{display:none}.fhf-member-row-clickable{cursor:pointer;transition:background .16s ease,border-color .16s ease}.fhf-member-row-clickable:hover{background:var(--fhf-soft)}.fhf-member-chevron{font-size:24px!important;color:var(--fhf-muted)!important;text-align:right}
.fhf-meeting-overview-shell{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:18px;align-items:start}.fhf-meeting-overview-main{min-width:0}.fhf-meeting-overview-side{position:sticky;top:88px;display:grid;gap:12px}.fhf-meeting-side-card{background:var(--fhf-card);border:1px solid var(--fhf-line);border-radius:14px;padding:16px}.fhf-meeting-side-card span{font:800 10px/1.2 Montserrat,sans-serif;letter-spacing:.07em;color:var(--fhf-muted)}.fhf-meeting-side-card h3{font-size:16px;margin:8px 0 5px}.fhf-meeting-side-card p{font-size:12px;line-height:1.5;color:var(--fhf-muted);margin:0}.fhf-meeting-card-date{display:grid!important;grid-template-columns:76px minmax(0,1fr) auto!important;gap:18px!important;align-items:center!important;padding:15px 18px!important;border-radius:14px!important}.fhf-date-block{width:64px;height:64px;border-radius:12px;background:var(--fhf-soft);display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;align-items:center;text-align:center;overflow:hidden}.fhf-date-block strong{grid-row:1/-1;font:800 25px/1 Montserrat,sans-serif;display:grid;place-items:center}.fhf-date-block span{font:800 9px/1 Montserrat,sans-serif;text-transform:uppercase;align-self:end}.fhf-date-block small{font-size:9px;align-self:start;color:var(--fhf-muted)}.fhf-meeting-card-copy h3{font-size:16px!important;margin:4px 0 5px!important}.fhf-meeting-card-copy p{font-size:12px!important}.fhf-meeting-stats b{color:var(--fhf-text);font-size:10px}.fhf-meeting-list{gap:9px!important}
@media(max-width:1000px){.fhf-member-filters{grid-template-columns:repeat(3,1fr)}.fhf-meeting-overview-shell{grid-template-columns:1fr}.fhf-meeting-overview-side{position:static;grid-template-columns:1fr 1fr}.fhf-meeting-card-date{grid-template-columns:70px minmax(0,1fr)!important}.fhf-meeting-card-date .fhf-meeting-stats{grid-column:2;display:flex!important;gap:10px;text-align:left!important}}
@media(max-width:700px){.fhf-member-workspace-head{align-items:center}.fhf-member-workspace-head .fhf-note{display:none}.fhf-member-icon-actions{gap:5px!important}.fhf-member-icon-actions .fhf-icon-action{width:38px;height:38px!important}.fhf-member-searchbar{display:grid;grid-template-columns:1fr auto}.fhf-member-filters{grid-template-columns:1fr 1fr}.fhf-meeting-overview-side{display:none}.fhf-meeting-card-date{grid-template-columns:58px minmax(0,1fr)!important;gap:12px!important;padding:13px!important}.fhf-date-block{width:54px;height:58px}.fhf-date-block strong{font-size:21px}.fhf-meeting-card-date .fhf-meeting-stats{grid-column:1/-1;padding-left:70px}.fhf-meeting-card-copy .fhf-kicker{font-size:9px!important}}
@media(max-width:480px){.fhf-member-filters{grid-template-columns:1fr}.fhf-filter-toggle span{display:none}.fhf-meeting-card-date .fhf-meeting-stats{padding-left:0}}

/* v0.34.27 — lighter members + human meeting cards */
.fhf-section:has(.fhf-member-workspace-head){background:transparent!important;border:0!important;box-shadow:none!important;padding:4px 2px 14px!important}
.fhf-member-workspace-head{padding:0!important;border:0!important}.fhf-member-controls{margin-top:14px}.fhf-member-searchbar{max-width:760px}
.fhf-member-filters{background:transparent!important;border:0!important;border-top:1px solid var(--fhf-line)!important;border-radius:0!important;padding:14px 0 0!important}
.fhf-member-table{background:var(--fhf-card);border:1px solid var(--fhf-line);border-radius:14px;overflow:hidden}.fhf-member-row{border:0!important;border-bottom:1px solid var(--fhf-line)!important;border-radius:0!important;box-shadow:none!important}.fhf-member-row:last-child{border-bottom:0!important}.fhf-member-row.head{background:transparent!important;color:var(--fhf-muted)}.fhf-member-row-clickable:hover{background:#f8f9fa!important}
.fhf-meeting-card-clean{display:block!important;width:100%;padding:0!important;text-align:left!important;overflow:hidden;background:var(--fhf-card)!important;border:1px solid var(--fhf-line)!important;border-radius:14px!important}
.fhf-meeting-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px 20px 12px}.fhf-meeting-card-top h3{font-size:19px!important;margin:5px 0 0!important}.fhf-meeting-state{font:800 10px/1 Montserrat,sans-serif;padding:7px 9px;border-radius:99px;background:var(--fhf-soft);color:var(--fhf-muted);white-space:nowrap}
.fhf-meeting-meta-row{display:flex;gap:22px;align-items:center;flex-wrap:wrap;padding:0 20px 17px}.fhf-meta-item{display:inline-flex;align-items:center;gap:7px;color:var(--fhf-ink);font-size:13px}.fhf-meta-item svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;color:#555d65}.fhf-meta-item b{font-weight:700}
.fhf-meeting-people{min-height:54px;border-top:1px solid var(--fhf-line);background:#f6f7f8;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 20px}.fhf-people-stack{display:flex;align-items:center;padding-left:7px}.fhf-person-avatar,.fhf-person-more{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#e4e8eb;border:2px solid #fff;margin-left:-7px;overflow:hidden;font-size:11px;font-weight:800;color:#4d555d}.fhf-person-avatar img{width:100%;height:100%;object-fit:cover}.fhf-person-avatar.is-present{box-shadow:0 0 0 2px #7cc68f}.fhf-person-more{background:#fff}.fhf-people-empty{font-size:12px;color:var(--fhf-muted)}.fhf-meeting-counts{display:flex;gap:14px;color:var(--fhf-muted);font-size:11px;font-weight:700}
@media(max-width:700px){.fhf-meeting-card-top{padding:15px 15px 10px}.fhf-meeting-meta-row{padding:0 15px 14px;gap:13px}.fhf-meeting-people{padding:9px 15px}.fhf-meeting-counts span:last-child{display:none}.fhf-member-workspace-head{align-items:flex-start}.fhf-member-workspace-count{margin-top:3px}}
\n\n/* v0.34.28 — lighter member quick view: facts without card fatigue */\n.fhf-member-ajax-modal .fhf-profile-facts{\n  display:grid!important;grid-template-columns:1fr 1fr!important;gap:0 28px!important;\n  border:0!important;border-radius:0!important;overflow:visible!important;background:transparent!important;\n}\n.fhf-member-ajax-modal .fhf-profile-facts>div{\n  min-height:0!important;padding:13px 0!important;background:transparent!important;border:0!important;\n  border-bottom:1px solid var(--fhf-line)!important;border-radius:0!important;\n}\n.fhf-member-ajax-modal .fhf-profile-facts span{margin-bottom:5px!important;font-size:11px!important}\n.fhf-member-ajax-modal .fhf-profile-facts b{font-size:14px!important;line-height:1.35}\n.fhf-member-ajax-modal .fhf-member-address{\n  margin-top:0!important;padding:13px 0!important;background:transparent!important;border:0!important;\n  border-bottom:1px solid var(--fhf-line)!important;border-radius:0!important;\n}\n.fhf-member-ajax-modal .fhf-member-address span{font-size:11px!important}\n@media(max-width:620px){\n .fhf-member-ajax-modal .fhf-profile-facts{grid-template-columns:1fr!important}\n}\n
/* v0.34.29 — consolidated minutes editor */
.fhf-minutes-editor{display:grid;gap:0;border-top:1px solid var(--fhf-line);margin-top:8px}.fhf-minutes-editor-item{padding:22px 0;border-bottom:1px solid var(--fhf-line)}.fhf-minutes-editor-title{display:flex;align-items:center;gap:10px;margin-bottom:14px}.fhf-minutes-editor-title span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--fhf-soft);font-weight:800}.fhf-minutes-editor-title b{font-size:16px}.fhf-minutes-editor-item label{margin-top:10px}.fhf-sticky-actions{position:sticky;bottom:0;padding:14px 0;background:var(--fhf-card);border-top:1px solid var(--fhf-line)}

/* v0.34.32 — demographics respond to the available dashboard width sooner.
   The app has a persistent sidebar, so a desktop viewport can still leave the
   content column too narrow for two useful demographic cards side by side. */
@media (max-width: 1180px){
  .fhf-demographics .fhf-demo-grid{
    grid-template-columns:minmax(0,1fr)!important;
  }
  .fhf-demographics .fhf-city-card{
    grid-column:auto!important;
  }
}

/* v0.34.33 — styled agenda attachments + dedicated full-screen meeting workspace */
.fhf-file-picker{display:block;margin:18px 0 8px;border:1.5px dashed #cfd5dc;border-radius:14px;background:#f8fafb;padding:22px;cursor:pointer;transition:.18s ease}.fhf-file-picker:hover{border-color:#c8102e;background:#fff7f8}.fhf-file-picker input[type=file]{display:block;width:100%;margin-top:12px;padding:10px;background:#fff;border:1px solid #dfe3e8;border-radius:9px;font:inherit;color:var(--fhf-ink)}.fhf-file-picker strong{display:block;font-size:15px}.fhf-file-picker span{display:block;margin-top:4px;font-size:12px;color:var(--fhf-muted)}
.fhf-live-shell{position:fixed;inset:0;z-index:100000;background:#f4f6f8;display:grid;grid-template-columns:minmax(250px,31%) 1fr;color:#20252b}.fhf-live-nav{background:#fff;border-right:1px solid #dde2e7;display:flex;flex-direction:column;min-width:0;overflow:hidden}.fhf-live-nav-head{padding:24px 22px 18px;border-bottom:1px solid #e7eaee}.fhf-live-nav-head span{font-size:10px;font-weight:800;letter-spacing:.11em;color:#8a9098}.fhf-live-nav-head h2{font-size:20px;margin:5px 0 4px}.fhf-live-nav-head p{font-size:12px;color:#777f87;margin:0}.fhf-live-agenda{overflow:auto;padding:12px;display:grid;gap:6px}.fhf-live-agenda button{border:0;background:transparent;border-radius:10px;padding:11px 12px;display:grid;grid-template-columns:30px 1fr;gap:10px;text-align:left;align-items:start;color:#59616a}.fhf-live-agenda button:hover{background:#f4f5f7}.fhf-live-agenda button.active{background:#fff0f2;color:#a8172d}.fhf-live-agenda button.done .fhf-live-num{background:#eaf6ee;color:#287846}.fhf-live-num{width:28px;height:28px;border-radius:50%;background:#eef1f4;display:grid;place-items:center;font-size:11px;font-weight:800}.fhf-live-agenda b{display:block;font-size:13px;line-height:1.3}.fhf-live-agenda small{display:block;font-size:10px;margin-top:3px;color:#9298a0}.fhf-live-nav-foot{margin-top:auto;padding:14px;border-top:1px solid #e7eaee}.fhf-live-main{min-width:0;display:flex;flex-direction:column;height:100vh}.fhf-live-top{height:68px;flex:0 0 68px;background:#fff;border-bottom:1px solid #e1e5e9;display:flex;align-items:center;justify-content:space-between;padding:0 24px}.fhf-live-top strong{font-size:13px}.fhf-live-top-actions{display:flex;gap:8px}.fhf-live-content{overflow:auto;padding:28px clamp(22px,5vw,72px) 110px;max-width:1050px;width:100%;margin:0 auto}.fhf-live-kicker{font-size:10px;font-weight:800;letter-spacing:.1em;color:#c8102e}.fhf-live-content h1{font-size:30px;line-height:1.15;margin:6px 0 20px}.fhf-live-question,.fhf-live-brief,.fhf-live-editor{background:#fff;border:1px solid #e0e4e8;border-radius:14px;padding:18px 20px;margin:14px 0}.fhf-live-question{background:#f2f7ff;border-left:4px solid #3b82f6}.fhf-live-question span,.fhf-live-editor label>span,.fhf-live-brief>span{display:block;font-size:10px;font-weight:800;letter-spacing:.08em;color:#8b929a;margin-bottom:7px}.fhf-live-editor{display:grid;gap:18px}.fhf-live-editor label{display:block}.fhf-live-editor textarea{width:100%;min-height:130px;resize:vertical;border:1px solid #d7dce2;border-radius:10px;padding:13px;font:inherit;line-height:1.5;background:#fff;color:#20252b}.fhf-live-editor textarea:focus{outline:2px solid rgba(200,16,46,.15);border-color:#c8102e}.fhf-live-bottom{position:absolute;right:0;bottom:0;width:69%;min-height:76px;background:rgba(255,255,255,.96);border-top:1px solid #dde2e7;display:flex;align-items:center;justify-content:space-between;padding:12px 24px;backdrop-filter:blur(8px)}.fhf-live-bottom .fhf-actions{display:flex;gap:8px}.fhf-live-save-state{font-size:11px;color:#7c838b}.fhf-live-attachments{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.fhf-live-attachments button{border:1px solid #dfe3e7;background:#fff;border-radius:8px;padding:8px 10px;font:inherit;font-size:11px}
html[data-fhf-theme="dark"] .fhf-live-shell{background:#11161b;color:#eef1f4}html[data-fhf-theme="dark"] .fhf-live-nav,html[data-fhf-theme="dark"] .fhf-live-top,html[data-fhf-theme="dark"] .fhf-live-bottom,html[data-fhf-theme="dark"] .fhf-live-question,html[data-fhf-theme="dark"] .fhf-live-brief,html[data-fhf-theme="dark"] .fhf-live-editor{background:#181d23;border-color:#30363d;color:#eef1f4}html[data-fhf-theme="dark"] .fhf-live-agenda button{color:#c5cbd2}html[data-fhf-theme="dark"] .fhf-live-agenda button.active{background:#341820;color:#ffccd5}html[data-fhf-theme="dark"] .fhf-live-editor textarea{background:#11161b;color:#eef1f4;border-color:#3a4149}
@media(max-width:760px){.fhf-live-shell{grid-template-columns:1fr}.fhf-live-nav{display:none}.fhf-live-content{padding:20px 16px 100px}.fhf-live-content h1{font-size:24px}.fhf-live-top{padding:0 14px}.fhf-live-bottom{width:100%;padding:10px 14px}.fhf-live-bottom .fhf-actions{gap:5px}.fhf-live-bottom button{padding:8px 10px;font-size:11px}}
\n\n/* v0.34.34 — meeting workspace polish and visual agenda hierarchy */
.fhf-live-shell{grid-template-columns:360px minmax(0,1fr);background:#f5f6f8}
.fhf-live-nav{box-shadow:8px 0 28px rgba(20,27,38,.035)}
.fhf-live-nav-head{padding:26px 24px 20px}.fhf-live-nav-head h2{font-size:22px;letter-spacing:-.02em}.fhf-live-nav-head p{margin-top:7px;line-height:1.45}
.fhf-live-agenda{padding:14px 12px 22px;gap:3px}
.fhf-live-agenda button{position:relative;min-height:52px;padding:10px 12px;grid-template-columns:32px minmax(0,1fr);gap:11px;border:1px solid transparent;transition:background .15s ease,border-color .15s ease,transform .15s ease}
.fhf-live-agenda button.is-root{margin-top:5px}.fhf-live-agenda button.is-root b{font-size:13px;font-weight:800;color:#3f474f}.fhf-live-agenda button.is-root .fhf-live-num{background:#edf0f3;color:#5d6670}
.fhf-live-agenda button.is-subitem{margin-left:25px;width:calc(100% - 25px);padding-left:13px}
.fhf-live-agenda button.is-subitem:before{content:"";position:absolute;left:-14px;top:-5px;bottom:-5px;width:1px;background:#e1e5e9}
.fhf-live-agenda button.is-subitem:after{content:"";position:absolute;left:-14px;top:25px;width:11px;height:1px;background:#e1e5e9}
.fhf-live-agenda button.is-subitem .fhf-live-num{width:27px;height:27px;border-radius:8px;background:#f3f5f6;color:#77808a;font-size:10px}
.fhf-live-agenda button.is-subitem b{font-size:12px;font-weight:700}.fhf-live-agenda button.is-subitem small{font-size:9px}
.fhf-live-agenda button:hover{background:#f7f8f9;border-color:#edf0f2}.fhf-live-agenda button.active{background:#fff1f3;border-color:#f5ccd3;box-shadow:0 3px 12px rgba(200,16,46,.05)}
.fhf-live-agenda button.active b{color:#a8172d}.fhf-live-agenda button.active .fhf-live-num{background:#c8102e!important;color:#fff!important}.fhf-live-agenda button.done:not(.active) .fhf-live-num{background:#e8f5ec!important;color:#2f7a49!important}
.fhf-live-main{background:#f5f6f8}.fhf-live-top{height:64px;flex-basis:64px;padding:0 30px;box-shadow:0 1px 0 rgba(0,0,0,.02)}.fhf-live-top strong{font-size:12px;color:#626a73}
.fhf-live-content{padding:40px clamp(30px,5vw,76px) 120px;max-width:1120px}.fhf-live-kicker{font-size:11px}.fhf-live-content h1{font-size:34px;letter-spacing:-.025em;margin:7px 0 25px}
.fhf-live-question,.fhf-live-brief,.fhf-live-editor{border-radius:12px;box-shadow:0 2px 8px rgba(20,27,38,.025)}
.fhf-live-editor{padding:22px 24px;gap:22px}.fhf-live-editor textarea{min-height:145px;background:#fff;border-color:#dce1e6}.fhf-live-editor textarea:hover{border-color:#c8cfd6}
.fhf-live-bottom{left:360px;right:0;width:auto;min-height:72px;padding:11px 30px}.fhf-live-nav-foot{padding:14px 18px}.fhf-live-nav-foot button{width:100%}
html[data-fhf-theme="dark"] .fhf-live-main{background:#11161b}html[data-fhf-theme="dark"] .fhf-live-agenda button.is-subitem:before,html[data-fhf-theme="dark"] .fhf-live-agenda button.is-subitem:after{background:#30363d}html[data-fhf-theme="dark"] .fhf-live-agenda button.is-root b{color:#d6dbe0}
@media(max-width:1050px){.fhf-live-shell{grid-template-columns:310px minmax(0,1fr)}.fhf-live-bottom{left:310px}.fhf-live-content{padding-left:30px;padding-right:30px}.fhf-live-agenda button.is-subitem{margin-left:18px;width:calc(100% - 18px)}}
@media(max-width:760px){.fhf-live-shell{grid-template-columns:1fr}.fhf-live-nav{display:none}.fhf-live-bottom{left:0;width:100%}.fhf-live-content{padding:22px 16px 100px}.fhf-live-content h1{font-size:26px}.fhf-live-top{padding:0 14px}}


/* v0.34.35 — meeting mode polish */
.fhf-live-shell,.fhf-live-shell button,.fhf-live-shell input,.fhf-live-shell select,.fhf-live-shell textarea,
.fhf-modal-backdrop,.fhf-modal-backdrop button,.fhf-modal-backdrop input,.fhf-modal-backdrop select,.fhf-modal-backdrop textarea{
  font-family:"Titillium Web","Segoe UI",Arial,sans-serif!important;
}
.fhf-live-shell h1,.fhf-live-shell h2,.fhf-live-shell h3,.fhf-live-shell b,.fhf-live-shell strong,
.fhf-live-shell .fhf-live-kicker,.fhf-live-shell .fhf-live-num,.fhf-live-shell .fhf-live-question>span,
.fhf-live-shell .fhf-live-editor label>span,.fhf-live-shell .fhf-live-brief>span,.fhf-live-shell .fhf-live-files-head>span,
.fhf-live-shell .fhf-live-decision-head>div>span{
  font-family:"Montserrat","Segoe UI",Arial,sans-serif!important;
}
.fhf-live-nav-head h2{font-weight:700}.fhf-live-agenda b{font-family:"Montserrat","Segoe UI",Arial,sans-serif!important;font-weight:650}
.fhf-live-content h1{font-family:"Montserrat","Segoe UI",Arial,sans-serif!important;font-weight:600;letter-spacing:-.035em}
.fhf-live-editor textarea{font-family:"Titillium Web","Segoe UI",Arial,sans-serif!important;font-size:16px;line-height:1.55}
.fhf-live-files{margin:14px 0;background:#fff;border:1px solid #e0e4e8;border-radius:12px;padding:17px 20px;box-shadow:0 2px 8px rgba(20,27,38,.025)}
.fhf-live-files-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.fhf-live-files-head>span{font-size:10px;font-weight:800;letter-spacing:.08em;color:#8b929a}.fhf-live-files-head small{color:#8b929a;font-size:11px}
.fhf-live-attachments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0}.fhf-live-attachments button{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:center;text-align:left;border:1px solid #e1e5e9;background:#fafbfc;border-radius:10px;padding:10px 12px;color:#30353b}.fhf-live-attachments button:hover{background:#fff;border-color:#c9d0d7}.fhf-live-attachments button b,.fhf-live-attachments button small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fhf-live-attachments button b{font-size:12px}.fhf-live-attachments button small{font-size:10px;color:#858d96;margin-top:2px}.fhf-file-icon{width:32px;height:32px;border-radius:8px;background:#fff0f2;color:#c8102e;display:grid;place-items:center;font-weight:800}
.fhf-live-decision-wrap{border-top:1px solid #e7eaee;padding-top:18px}.fhf-live-decision-head{display:flex;align-items:center;justify-content:space-between;gap:18px}.fhf-live-decision-head>div>span{display:block;font-size:10px;font-weight:800;letter-spacing:.08em;color:#8b929a}.fhf-live-decision-head small{display:block;font-size:11px;color:#858d96;margin-top:4px}.fhf-live-outcome-label{display:none!important;margin-top:12px}.fhf-live-decision-wrap.is-open .fhf-live-outcome-label{display:block!important}.fhf-live-decision-wrap.is-open .fhf-live-decision-head{margin-bottom:2px}
/* Live mode sits at z-index 100000; its dialogs must sit above it. */
body:has(#fhf-live-shell) .fhf-modal-backdrop{z-index:100100!important}
html[data-fhf-theme="dark"] .fhf-live-files{background:#181d23;border-color:#30363d}html[data-fhf-theme="dark"] .fhf-live-attachments button{background:#11161b;border-color:#30363d;color:#eef1f4}html[data-fhf-theme="dark"] .fhf-live-decision-wrap{border-color:#30363d}
@media(max-width:900px){.fhf-live-attachments{grid-template-columns:1fr}}

/* v0.34.36 – mødetilstand: beslutning + bestyrelsesopfølgning */
.fhf-live-decision-fields{display:grid;gap:16px;margin-top:10px}
.fhf-live-decision-fields label{display:grid;gap:7px}
.fhf-live-decision-fields label>span{font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted,#68717d)}
.fhf-live-followup-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,.42fr);gap:14px}
.fhf-live-followup-grid input{width:100%;min-height:48px;border:1px solid var(--line,#dfe3e8);border-radius:12px;background:var(--surface,#fff);padding:0 14px;font:inherit;color:inherit;box-sizing:border-box}
.fhf-live-governance-note{display:flex;gap:8px 14px;align-items:baseline;padding:12px 14px;border-radius:12px;background:rgba(30,41,59,.045);font-size:13px;color:var(--muted,#68717d)}
.fhf-live-governance-note b{color:var(--text,#222831);white-space:nowrap}
@media(max-width:900px){.fhf-live-followup-grid{grid-template-columns:1fr}.fhf-live-governance-note{display:grid}}
/* v0.34.37 – mødetilstand: sagsgrundlag + flere beslutninger */
.fhf-live-case{margin:18px 0;padding:18px 20px;border:1px solid var(--fhf-line,#dfe4ea);border-radius:14px;background:#fff}
.fhf-live-case>span,.fhf-live-decisions .fhf-live-decision-head>div>span{display:block;font-size:12px;font-weight:800;letter-spacing:.08em;color:#7b8490;margin-bottom:8px}
.fhf-live-decisions{margin-top:28px;padding-top:22px;border-top:1px solid var(--fhf-line,#dfe4ea)}
.fhf-live-decision-list{display:grid;gap:10px;margin-top:16px}
.fhf-live-decision-card{display:grid;grid-template-columns:34px 1fr;gap:12px;padding:15px;border:1px solid var(--fhf-line,#dfe4ea);border-radius:12px;background:#fff}
.fhf-live-decision-no{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#f8e9ec;color:#c91f35;font-weight:800}
.fhf-live-decision-card b{font-weight:650;line-height:1.45}
.fhf-live-decision-meta{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:10px;color:#66717e;font-size:13px}
.fhf-live-new-decision{margin-top:16px;padding:18px;border:1px solid #dfe4ea;border-radius:14px;background:#f8fafb}
.fhf-live-new-decision[hidden]{display:none!important}
.fhf-live-new-decision textarea{min-height:110px}
@media(max-width:760px){.fhf-live-followup-grid{grid-template-columns:1fr}.fhf-live-decision-head{align-items:flex-start;gap:12px;flex-direction:column}}

/* v0.34.38 – explicit meeting treatment state and optional discussion */
.fhf-live-discussion-section{border-bottom:1px solid #e3e7eb;padding-bottom:20px}
.fhf-live-discussion-box[hidden]{display:none!important}.fhf-live-discussion-box{margin-top:14px}
.fhf-live-discussion-preview{margin-top:14px;padding:14px 16px;background:#f7f8fa;border-radius:10px;line-height:1.55}
html[data-fhf-theme="dark"] .fhf-live-discussion-preview{background:#11161b}

/* v0.34.39 meeting discussion/decision polish */
.fhf-live-discussion-box .fhf-actions{margin-top:12px;justify-content:flex-end}
.fhf-live-decision-id{display:block;margin-bottom:5px;color:#7b8490;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
/* v0.34.40 – edit decisions directly in meeting mode */
.fhf-live-decision-body{min-width:0;flex:1}.fhf-live-decision-card-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:8px}.fhf-live-edit-decision{padding:8px 12px;font-size:13px;white-space:nowrap}.fhf-live-decision-text{font-weight:650;line-height:1.55}.fhf-live-edit-decision-box{margin-top:16px;padding-top:16px;border-top:1px solid var(--fhf-border,#e2e7ec)}.fhf-live-edit-decision-box textarea{min-height:120px}
@media(max-width:720px){.fhf-live-decision-card-head{align-items:flex-start;flex-direction:column}.fhf-live-edit-decision{width:100%}}
/* v0.34.41 — decision contacts + meeting decision actions */
.fhf-live-decision-actions{display:flex;align-items:center;gap:8px}.fhf-icon-btn.danger{color:#c91f35;border-color:#f0c8cf;background:#fff}.fhf-icon-btn.danger:hover{background:#fff1f3}.fhf-followup-contacts{grid-column:1/-1;display:grid;gap:8px}.fhf-followup-contacts>span,.fhf-decision-contacts>small{font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted,#68717d)}.fhf-contact-picker{display:flex;flex-wrap:wrap;gap:8px}.fhf-contact-chip{display:flex!important;grid-template-columns:none!important;align-items:center;gap:8px;padding:7px 11px!important;border:1px solid #dfe4ea;border-radius:999px;background:#fff;cursor:pointer;font-size:13px;font-weight:650;text-transform:none!important;letter-spacing:0!important;color:#27313a!important}.fhf-contact-chip input{position:absolute;opacity:0;pointer-events:none}.fhf-contact-chip i{display:none;font-style:normal;color:#257542}.fhf-contact-chip.is-selected{border-color:#9bd2ae;background:#eef9f1}.fhf-contact-chip.is-selected i{display:inline}.fhf-contact-avatar{width:28px;height:28px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#eef1f4;flex:0 0 28px}.fhf-contact-avatar img{width:100%;height:100%;object-fit:cover}.fhf-decision-contacts{margin-top:12px}.fhf-decision-contacts>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:7px}.fhf-decision-contacts>div>span{display:flex;align-items:center;gap:6px;background:#f5f7f8;border-radius:999px;padding:5px 9px 5px 5px;font-size:12px}.fhf-decision-contacts img,.fhf-decision-contacts b{width:25px;height:25px;border-radius:50%;object-fit:cover;display:grid;place-items:center;background:#e8ecef}.fhf-decision-contacts em{font-style:normal}.fhf-my-followups .fhf-followup-dashboard-list{display:grid;border-top:1px solid var(--fhf-line,#e4e8ec)}.fhf-followup-dashboard-list button{border:0;border-bottom:1px solid var(--fhf-line,#e4e8ec);background:transparent;padding:14px 18px;display:flex;justify-content:space-between;align-items:center;text-align:left;gap:20px;cursor:pointer}.fhf-followup-dashboard-list button:last-child{border-bottom:0}.fhf-followup-dashboard-list span{display:grid;gap:3px}.fhf-followup-dashboard-list small{color:#747d87}.fhf-followup-dashboard-list em{font-style:normal;color:#68717d;white-space:nowrap}
html[data-fhf-theme="dark"] .fhf-contact-chip{background:#151a20;border-color:#343b43;color:#eef1f4!important}html[data-fhf-theme="dark"] .fhf-contact-chip.is-selected{background:#15301f;border-color:#397b50}html[data-fhf-theme="dark"] .fhf-decision-contacts>div>span{background:#1b2128}

/* v0.34.43 — people-first attendance, point guests and recorded votes */
.fhf-attendance-groups{display:grid;gap:22px}.fhf-attendance-group{padding:0 0 20px;border-bottom:1px solid var(--fhf-line)}
.fhf-attendance-group-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:12px}.fhf-attendance-group-head h3{margin:0;font:700 17px/1.2 Montserrat,sans-serif}.fhf-attendance-group-head p{margin:3px 0 0;color:var(--fhf-muted);font-size:12px}.fhf-attendance-group-head>span{font-weight:800}
.fhf-attendance-avatars{display:flex;flex-wrap:wrap;gap:10px}.fhf-attendance-person{border:1px solid transparent;background:transparent;border-radius:14px;padding:7px;cursor:pointer;opacity:.5}.fhf-attendance-person.selected{opacity:1;background:#eef8f1;border-color:#acd7b9}.fhf-select-avatar{display:flex;align-items:center;gap:8px}.fhf-select-avatar img,.fhf-select-avatar>b{width:34px;height:34px;border-radius:50%;object-fit:cover;display:grid;place-items:center;background:#e7eaed}.fhf-select-avatar em{font-style:normal;font-size:12px;font-weight:700}.fhf-attendance-substitutes{display:grid;gap:10px;margin:18px 0}
.fhf-live-guests,.fhf-live-votes{margin:24px 0;padding:20px 0;border-top:1px solid var(--fhf-line);border-bottom:1px solid var(--fhf-line)}.fhf-guest-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.fhf-guest-chips>span{display:flex;align-items:center;gap:7px;padding:8px 10px;border-radius:999px;background:#f1f3f5}.fhf-guest-chips small{color:var(--fhf-muted)}.fhf-guest-chips button{border:0;background:transparent;font-size:18px;cursor:pointer}.fhf-guest-add{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.fhf-guest-add .fhf-actions{grid-column:1/-1}
.fhf-vote-card{padding:15px 0;border-top:1px solid var(--fhf-line)}.fhf-vote-card>div:first-child{display:flex;justify-content:space-between;gap:12px}.fhf-vote-card small{color:var(--fhf-muted)}.fhf-vote-result{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:12px 0}.fhf-vote-result>div{padding:10px;border-radius:12px;background:#f6f7f8}.fhf-vote-result>div>span{font-size:10px;font-weight:800;letter-spacing:.08em}.fhf-vote-result>div>div{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.fhf-vote-result .fhf-select-avatar em{display:none}.fhf-vote-result .fhf-select-avatar img,.fhf-vote-result .fhf-select-avatar>b{width:28px;height:28px}
.fhf-vote-editor{margin-top:14px;padding:16px;border-radius:14px;background:#f7f8f9}.fhf-vote-people{display:grid;gap:8px;margin:12px 0}.fhf-vote-person{display:flex;align-items:center;justify-content:space-between;gap:12px}.fhf-vote-person>div{display:flex;gap:5px}.fhf-vote-person button{border:1px solid var(--fhf-line);background:#fff;border-radius:999px;padding:6px 10px;cursor:pointer}.fhf-vote-person button.selected{background:#263238;color:#fff;border-color:#263238}
@media(max-width:700px){.fhf-guest-add{grid-template-columns:1fr}.fhf-vote-result{grid-template-columns:1fr}.fhf-vote-person{align-items:flex-start;flex-direction:column}}
html[data-fhf-theme="dark"] .fhf-attendance-person.selected,html[data-fhf-theme="dark"] .fhf-vote-result>div,html[data-fhf-theme="dark"] .fhf-vote-editor,html[data-fhf-theme="dark"] .fhf-guest-chips>span{background:#222a30}html[data-fhf-theme="dark"] .fhf-vote-person button{background:#1d2328;color:#e8ecef}

/* v0.34.44 — clearer meeting case material + vote editor feedback */
.fhf-live-source-card{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr);
  gap:14px;
  align-items:start;
  margin:18px 0!important;
  padding:18px 20px!important;
  border:1px solid #dfe4e8!important;
  border-radius:15px!important;
  background:#fff!important;
  box-shadow:0 1px 2px rgba(25,35,45,.03);
}
.fhf-live-source-card .fhf-live-source-icon{
  width:36px;height:36px;border-radius:10px;
  display:grid;place-items:center;
  background:#f0f2f4;color:#48525a;
  font:800 20px/1 Montserrat,sans-serif;
}
.fhf-live-source-card>div:last-child>span{
  display:block;margin:1px 0 8px;
  font:800 11px/1.2 Montserrat,sans-serif;
  letter-spacing:.08em;color:#68727a;
}
.fhf-live-source-card .fhf-preserve{
  font-size:15px;line-height:1.62;color:#20272c;
}
.fhf-live-question-card{
  border-color:#e4c4c4!important;
  background:#fffafa!important;
}
.fhf-live-question-card .fhf-live-source-icon{
  background:#f8e8e8;color:#8d2626;
}
.fhf-live-question-card>div:last-child>span{color:#8d2626}
.fhf-vote-warning{
  margin:10px 0 0;padding:10px 12px;border-radius:10px;
  background:#fff7e7;color:#72551a;
}
.fhf-vote-empty{
  display:flex;flex-direction:column;gap:5px;
  padding:16px;border:1px dashed #c9d0d5;border-radius:12px;
  background:#fff;color:#343b40;
}
.fhf-vote-empty span{font-size:13px;color:#707980}
html[data-fhf-theme="dark"] .fhf-live-source-card,
html[data-fhf-theme="dark"] .fhf-vote-empty{background:#1d2328!important;border-color:#374149!important}
html[data-fhf-theme="dark"] .fhf-live-source-card .fhf-preserve,
html[data-fhf-theme="dark"] .fhf-vote-empty{color:#eef1f3}
html[data-fhf-theme="dark"] .fhf-live-question-card{background:#2b2021!important;border-color:#624043!important}

/* v0.34.45 */
.fhf-attendance-picker{margin:18px 0 22px;padding:16px;border:1px solid #e0e5e9;border-radius:16px;background:#f8f9fa}
.fhf-attendance-roster{display:grid;gap:8px;margin-top:12px}
.fhf-attendance-roster-person{display:grid;grid-template-columns:42px minmax(140px,1fr) auto;gap:12px;align-items:center;padding:10px 12px;border:1px solid #e4e8eb;border-radius:12px;background:#fff}
.fhf-attendance-name{display:flex;flex-direction:column}.fhf-attendance-name small{color:#7a838a}
.fhf-attendance-status-buttons{display:flex;gap:6px}.fhf-attendance-status-buttons button{border:1px solid #d8dee2;background:#fff;border-radius:999px;padding:7px 11px;font-weight:700}
.fhf-attendance-status-buttons .active.present{background:#e9f7ed;border-color:#9bd7aa;color:#326e40}.fhf-attendance-status-buttons .active.absent{background:#fff4e8;border-color:#edc794;color:#85571d}.fhf-attendance-status-buttons .active.excused{background:#f0f2f4;border-color:#cbd1d5;color:#505a61}
.fhf-attendance-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.fhf-attendance-group{min-height:125px;padding:14px;border:1px solid #e1e6e9;border-radius:14px;background:#fff}
.fhf-attendance-group-head{display:flex;justify-content:space-between;gap:12px}.fhf-attendance-group-head h3{margin:0 0 3px}.fhf-attendance-group-head p{margin:0;color:#788188;font-size:12px}.fhf-attendance-group-head>span{font-weight:800}
.fhf-attendance-avatars{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.fhf-attendance-chip{width:58px;text-align:center}.fhf-attendance-chip .fhf-avatar{width:42px;height:42px;margin:auto}.fhf-attendance-chip span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;margin-top:3px}.fhf-attendance-empty{color:#929aa0;font-size:12px}.fhf-attendance-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}
.fhf-vote-editor{margin-top:16px;padding:20px;border:1px solid #dfe4e8;border-radius:16px;background:#fff}.fhf-vote-editor-head>span{font-size:10px;font-weight:800;letter-spacing:.09em;color:#9b2630}.fhf-vote-editor-head h3{margin:5px 0 4px;font-size:22px}.fhf-vote-editor-head p{margin:0 0 18px;color:#707980}.fhf-vote-title-field{display:block;margin-bottom:18px}.fhf-vote-title-field>span{display:block;margin-bottom:7px;font-weight:800;font-size:12px}.fhf-vote-title-field input{box-sizing:border-box;width:100%;min-height:46px;padding:10px 12px;border:1px solid #cfd6db;border-radius:10px;font:inherit}
.fhf-vote-person{display:grid;grid-template-columns:minmax(160px,1fr) auto;align-items:center;gap:12px;padding:11px 12px;border:1px solid #e2e6e9;border-radius:12px;background:#fafbfb;margin-bottom:8px}.fhf-vote-person-id{display:flex;align-items:center;gap:10px}.fhf-vote-person-id .fhf-avatar{width:38px;height:38px}.fhf-vote-choice{display:flex;gap:6px}.fhf-vote-choice button{min-width:82px;padding:8px 10px;border:1px solid #d6dce0;border-radius:9px;background:#fff;font-weight:800}.fhf-vote-choice button.selected[data-choice="for"]{background:#e7f6eb;border-color:#8dce9d;color:#2f6d3e}.fhf-vote-choice button.selected[data-choice="against"]{background:#fbeaec;border-color:#e0a0a6;color:#8d2932}.fhf-vote-choice button.selected[data-choice="abstain"]{background:#eef1f3;border-color:#bbc3c8;color:#4d575e}
@media(max-width:850px){.fhf-attendance-groups{grid-template-columns:1fr}.fhf-attendance-roster-person{grid-template-columns:38px 1fr}.fhf-attendance-status-buttons{grid-column:1/-1}.fhf-vote-person{grid-template-columns:1fr}.fhf-vote-choice{display:grid;grid-template-columns:repeat(3,1fr)}.fhf-vote-choice button{min-width:0}}

/* v0.34.46 — compact meeting-mode action toolbar */
.fhf-live-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:18px}
.fhf-live-title-row h1{margin-bottom:0}
.fhf-live-quick-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end;position:sticky;top:12px;z-index:5}
.fhf-live-quick-actions button{position:relative;width:42px;height:42px;border:1px solid #d9dfe3;border-radius:11px;background:#fff;color:#343a3f;font-size:18px;font-weight:800;display:grid;place-items:center;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.03)}
.fhf-live-quick-actions button:hover{border-color:#c9142d;color:#c9142d;background:#fff7f8}
.fhf-live-quick-actions button span{position:absolute;right:-5px;top:-6px;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:#c9142d;color:#fff;font:700 10px/18px Arial;text-align:center}
.fhf-section-action-fallback{display:none!important}
.fhf-live-guests:empty{display:none}
.fhf-live-guest-list{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}
.fhf-live-guest-chip{display:inline-flex;align-items:center;gap:7px;padding:7px 9px;border:1px solid #dfe4e7;border-radius:999px;background:#fff}
.fhf-live-guest-chip small{color:#7a838a}.fhf-live-guest-chip button{border:0;background:transparent;cursor:pointer;color:#8a9298}
.fhf-guest-add{padding:16px;border:1px solid #dfe4e7;border-radius:14px;background:#fff;margin-bottom:16px}
.fhf-guest-add label{display:block;margin-bottom:10px}.fhf-guest-add label>span{display:block;font-size:11px;font-weight:800;color:#68727a;margin-bottom:5px}
.fhf-guest-add input{box-sizing:border-box;width:100%;min-height:42px;border:1px solid #d3d9dd;border-radius:9px;padding:9px 11px;font:inherit}
.fhf-live-runtime-error{max-width:620px;margin:12vh auto;padding:28px;border:1px solid #e0e4e7;border-radius:18px;background:#fff;box-shadow:0 14px 40px rgba(0,0,0,.08)}
.fhf-live-runtime-error b{font-size:22px}.fhf-live-runtime-error p{color:#6e777d;margin:8px 0 20px}
@media(max-width:900px){
 .fhf-live-title-row{display:block}
 .fhf-live-quick-actions{justify-content:flex-start;margin-top:14px;position:static}
}

/* v0.34.47 */
.fhf-attendance-roster-person .fhf-avatar,.fhf-attendance-chip .fhf-avatar{flex:0 0 auto;overflow:hidden;border-radius:50%;background:#eef1f3}
.fhf-attendance-roster-person .fhf-avatar img,.fhf-attendance-chip .fhf-avatar img{width:100%;height:100%;object-fit:cover;display:block}


/* v0.34.49 — attendance roster cleanup */
.fhf-attendance-roster-person>.fhf-select-avatar{width:38px;height:38px;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:#eef1f3}
.fhf-attendance-roster-person>.fhf-select-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.fhf-attendance-roster-person>.fhf-select-avatar>b{width:100%;height:100%;display:grid;place-items:center;background:#eef1f3;font-size:13px}
.fhf-attendance-roster-person>.fhf-select-avatar em{display:none!important}
.fhf-attendance-name{min-width:0}
.fhf-attendance-name b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fhf-attendance-substitutes:empty{display:none}
.fhf-attendance-substitutes{margin:18px 0 0;padding-top:16px;border-top:1px solid #e1e6e9}

/* v0.34.51 — tydeligere afstemningsopgørelse i mødetilstand */
.fhf-live-votes .fhf-vote-card{position:relative;padding:18px 0 20px}
.fhf-live-votes .fhf-vote-card>div:first-child{padding-right:230px;min-height:54px;align-items:flex-start}
.fhf-live-votes .fhf-vote-card>div:first-child>b{font-family:"Montserrat",Arial,sans-serif;font-size:17px;font-weight:800;line-height:1.25}
.fhf-live-votes .fhf-vote-card>div:first-child>small{display:none}
.fhf-live-votes .fhf-vote-result{position:absolute;right:0;top:14px;display:flex;justify-content:flex-end;gap:10px;margin:0}
.fhf-live-votes .fhf-vote-result>div{min-width:92px;padding:9px 12px;border:1px solid #e1e5e9;background:#fff;text-align:center}
.fhf-live-votes .fhf-vote-result>div>span{font-family:"Montserrat",Arial,sans-serif;font-size:16px;font-weight:900;letter-spacing:0;line-height:1;color:#20262d}
.fhf-live-votes .fhf-vote-result>div>div{justify-content:center;min-height:28px;margin-top:8px}
.fhf-live-votes .fhf-vote-result>div:first-child{border-color:#b9dec4;background:#f0faf3}
.fhf-live-votes .fhf-vote-result>div:first-child>span{color:#286b3b}
.fhf-live-votes .fhf-vote-result>div:nth-child(2){border-color:#edc4c9;background:#fff4f5}
.fhf-live-votes .fhf-vote-result>div:nth-child(2)>span{color:#9c2633}
@media(max-width:900px){.fhf-live-votes .fhf-vote-card>div:first-child{padding-right:0;min-height:0}.fhf-live-votes .fhf-vote-result{position:static;justify-content:flex-start;margin:12px 0}.fhf-live-votes .fhf-vote-result>div{flex:1}}
@media(max-width:700px){.fhf-live-votes .fhf-vote-result{display:grid;grid-template-columns:repeat(3,1fr)}.fhf-live-votes .fhf-vote-result>div{min-width:0}.fhf-live-votes .fhf-vote-result>div>span{font-size:14px}}


/* v0.34.52 — responsive vote layout: title and tally never compete for width */
@media(max-width:1180px){
 .fhf-live-votes .fhf-vote-card>div:first-child{padding-right:0!important;min-height:0!important;display:block!important}
 .fhf-live-votes .fhf-vote-card>div:first-child>b{display:block;max-width:100%;overflow-wrap:anywhere;word-break:normal}
 .fhf-live-votes .fhf-vote-result{position:static!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin:14px 0 10px!important}
 .fhf-live-votes .fhf-vote-result>div{min-width:0!important}
}
@media(max-width:520px){
 .fhf-live-votes .fhf-vote-result{grid-template-columns:1fr!important}
 .fhf-live-votes .fhf-vote-result>div{display:grid;grid-template-columns:72px 1fr;align-items:center;text-align:left!important}
 .fhf-live-votes .fhf-vote-result>div>div{justify-content:flex-start!important;margin-top:0!important}
}

/* v0.34.53 — compact agenda navigation in meeting mode */
.fhf-live-agenda{gap:2px!important;padding:8px 10px!important}
.fhf-live-agenda button{padding:7px 9px!important;gap:8px!important;border-radius:8px!important}
.fhf-live-agenda button.is-root{margin-top:2px!important;margin-bottom:1px!important}
.fhf-live-agenda button.is-subitem{padding-top:6px!important;padding-bottom:6px!important;margin-top:0!important;margin-bottom:0!important}
.fhf-live-agenda button.is-subitem:before{top:-2px!important;bottom:-2px!important}
.fhf-live-agenda button.is-subitem:after{top:20px!important}
.fhf-live-agenda b{line-height:1.18!important}
.fhf-live-agenda small{margin-top:1px!important;line-height:1.15!important}
.fhf-live-num{width:25px!important;height:25px!important}
.fhf-live-agenda button.is-subitem .fhf-live-num{width:25px!important;height:25px!important}

/* v0.34.54 — dense agenda, normal type size, collapsible groups */
.fhf-live-agenda{gap:0!important;padding:7px 10px!important}.fhf-live-agenda button{grid-template-columns:18px 28px minmax(0,1fr)!important;gap:7px!important;padding:5px 8px!important}.fhf-live-agenda button.is-root{margin:0!important}.fhf-live-agenda button.is-subitem{padding-top:4px!important;padding-bottom:4px!important;margin-top:0!important;margin-bottom:0!important}.fhf-live-agenda b{font-size:13px!important;line-height:1.25!important}.fhf-live-agenda button.is-subitem b{font-size:12px!important;line-height:1.25!important}.fhf-live-agenda small{font-size:10px!important;line-height:1.2!important;margin-top:1px!important}.fhf-live-agenda button.is-subitem small{font-size:9px!important}.fhf-live-num,.fhf-live-agenda button.is-subitem .fhf-live-num{width:26px!important;height:26px!important}.fhf-live-group-toggle,.fhf-live-group-spacer{width:18px;height:26px;display:grid;place-items:center;align-self:start}.fhf-live-group-toggle{font-size:20px;line-height:1;color:#6f7780;font-weight:700;cursor:pointer;border-radius:5px}.fhf-live-group-toggle:hover{background:#eef1f4;color:#20252b}.fhf-live-agenda button.is-group-hidden{display:none!important}.fhf-live-agenda button.is-subitem{margin-left:18px!important;width:calc(100% - 18px)!important}.fhf-live-agenda button.is-subitem:before{left:-9px!important}.fhf-live-agenda button.is-subitem:after{left:-9px!important;top:17px!important;width:8px!important}
/* v0.34.60: separate decisions on meeting detail */
.fhf-detail-decision-list{display:grid;gap:12px;margin-top:10px}.fhf-detail-decision{border:1px solid #e2e6ea;border-radius:14px;padding:16px;background:#fff}.fhf-detail-decision-head{display:flex;align-items:center;gap:10px;margin-bottom:10px}.fhf-detail-decision-head small{font-weight:800;color:#77808a;letter-spacing:.04em}.fhf-detail-decision-head .edit-specific-decision{margin-left:auto}.fhf-detail-decision-no{width:30px;height:30px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#f9e9ec;color:#d20a2e;font-weight:800}.fhf-detail-decision p{margin:0}.fhf-detail-decision-meta{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:10px;color:#69727c;font-size:.92rem}
@media(max-width:700px){.fhf-detail-decision-head{flex-wrap:wrap}.fhf-detail-decision-head .edit-specific-decision{margin-left:0;width:100%}}
/* v0.34.61 — presenter and per-decision detail */
.fhf-agenda-presenter,.fhf-live-presenter{display:flex;align-items:center;gap:7px;margin-top:8px;color:var(--fhf-muted);font-size:11px}.fhf-agenda-presenter>span,.fhf-live-presenter>span{font-size:9px;font-weight:800;letter-spacing:.08em}.fhf-agenda-presenter .fhf-avatar,.fhf-live-presenter .fhf-avatar{width:24px;height:24px}.fhf-agenda-presenter b,.fhf-live-presenter b{color:var(--fhf-text);font-size:11px}.fhf-presenter-picker{margin:14px 0}.fhf-presenter-picker>span{display:block;font-weight:800;font-size:12px}.fhf-presenter-picker>p{margin:3px 0 9px;color:var(--fhf-muted);font-size:11px}.fhf-presenter-people{display:flex;flex-wrap:wrap;gap:7px}.fhf-presenter-person{display:flex;align-items:center;gap:7px;border:1px solid var(--fhf-line);background:#fff;border-radius:999px;padding:6px 10px;cursor:pointer}.fhf-presenter-person .fhf-avatar{width:25px;height:25px}.fhf-presenter-person.active{border-color:#d51030;background:#fff1f3;box-shadow:0 0 0 1px #d51030 inset}

/* v0.34.62 – decision replacement relation */
.fhf-decision-replacement-preview{margin:14px 0 18px;padding:16px;border:1px solid #e1e5ea;border-radius:14px;background:#f7f8fa;display:grid;gap:7px}.fhf-decision-replacement-preview small{font-size:11px;font-weight:800;letter-spacing:.06em;color:#7b8490}.fhf-decision-replacement-preview b{font-size:15px}.fhf-decision-replacement-preview span{font-size:12px;color:#69727d}.fhf-decision-replacement-preview .fhf-preserve{font-size:14px;color:#252a30}
/* v0.34.67 – beslutningsfiltre */
.fhf-decision-toggle{display:inline-flex!important;align-items:center;gap:8px;min-height:42px;padding:0 12px;border:1px solid #dfe3e8;border-radius:10px;background:#fff;font-weight:700;white-space:nowrap}.fhf-decision-toggle input{width:18px;height:18px;margin:0}.fhf-decision-controls{align-items:center}
@media(max-width:760px){.fhf-decision-toggle{width:100%;box-sizing:border-box}.fhf-decision-controls{display:grid;grid-template-columns:1fr}}

/* v0.34.68 — unified search field + document approval action */
#fhf-app .fhf-search{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  height:44px!important;
  padding:0 12px!important;
  border:1px solid #d9dde3!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
#fhf-app .fhf-search:focus-within{border-color:#d20f2f!important;box-shadow:0 0 0 3px rgba(210,15,47,.08)!important}
#fhf-app .fhf-search svg{flex:0 0 18px!important;width:18px!important;height:18px!important}
#fhf-app .fhf-search input,
#fhf-app .fhf-search input[type="search"]{
  appearance:none!important;-webkit-appearance:none!important;
  flex:1 1 auto!important;min-width:0!important;width:auto!important;height:100%!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
  outline:0!important;background:transparent!important;box-shadow:none!important;
  font-size:14px!important;color:var(--fhf-ink)!important;
}
#fhf-app .fhf-search input:focus{border:0!important;outline:0!important;box-shadow:none!important}
#fhf-app .fhf-search input::-webkit-search-decoration,#fhf-app .fhf-search input::-webkit-search-cancel-button{display:none}
#fhf-app .fhf-search kbd{flex:0 0 auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:28px!important;height:28px!important;padding:0 8px!important;border:1px solid #d9dde3!important;border-radius:7px!important;background:#f7f8f9!important;color:#69717b!important;font-size:12px!important;font-weight:700!important;line-height:1!important}
#fhf-app .fhf-doc-head-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
@media(max-width:700px){#fhf-app .fhf-doc-head-actions{width:100%;justify-content:flex-start}}

/* v0.34.69 — restore members workspace + KUR term action layout */
.fhf-term-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.fhf-term-actions .fhf-icon-action{width:auto!important;height:auto!important;min-height:34px;padding:7px 11px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:12px!important;line-height:1.1!important;white-space:nowrap}.fhf-term-actions .fhf-access-badge{white-space:nowrap}
@media(max-width:700px){.fhf-term-actions{justify-content:flex-start}.fhf-term-actions .fhf-icon-action{min-height:32px}}

/* v0.34.70 — coexist cleanly with the WordPress admin toolbar. */
body.admin-bar.fhf-body{--fhf-wp-adminbar:32px}
body.admin-bar.fhf-body .fhf-sidebar{top:var(--fhf-wp-adminbar)}
body.admin-bar.fhf-body .fhf-appbar{top:var(--fhf-wp-adminbar)}
body.admin-bar.fhf-body .fhf-user-dropdown{top:calc(66px + var(--fhf-wp-adminbar))}
/* Meeting mode is an application fullscreen surface, but must not hide behind WP while logged in. */
body.admin-bar.fhf-body .fhf-live-shell{top:var(--fhf-wp-adminbar)}
body.admin-bar.fhf-body .fhf-live-main{height:calc(100vh - var(--fhf-wp-adminbar));height:calc(100dvh - var(--fhf-wp-adminbar))}
body.admin-bar.fhf-body .fhf-live-bottom{bottom:0}
@media screen and (max-width:782px){
  body.admin-bar.fhf-body{--fhf-wp-adminbar:46px}
}

/* v0.34.73 — mobile navigation position + compact responsive polish */
@media(max-width:700px){
  /* App route changes are SPA transitions; give each page a clean visual start. */
  html{scroll-behavior:auto!important}

  /* The header should not consume nearly half the first viewport on phones. */
  #fhf-app .fhf-page-head{
    padding:16px 18px 13px!important;
  }
  #fhf-app .fhf-page-head .fhf-breadcrumb,
  #fhf-app .fhf-page-head #fhf-page-subtitle{
    display:none!important;
  }
  #fhf-app .fhf-page-head h1{
    font-size:24px!important;
    line-height:1.1!important;
  }
  #fhf-app .fhf-page-head-inner,
  #fhf-app .fhf-page-head-row{
    align-items:center!important;
    gap:10px!important;
  }
  #fhf-app #fhf-page-header-right{
    margin-top:0!important;
    margin-left:auto!important;
    justify-content:flex-end!important;
  }
  #fhf-app .fhf-period-chip-header,
  #fhf-app .fhf-period-select{
    min-width:0!important;
    max-width:180px!important;
    padding:7px 9px!important;
  }

  /* Search remains useful, but less dominant on mobile. */
  #fhf-app .fhf-appbar{
    gap:10px!important;
    padding:0 12px!important;
  }
  #fhf-app .fhf-search{
    display:flex!important;
    flex:1 1 auto!important;
    width:auto!important;
    min-width:0!important;
    height:42px!important;
  }
  #fhf-app .fhf-search input{
    min-width:0!important;
    font-size:13px!important;
  }

  /* KUR member cards: two columns are fine, but avoid oversized portrait tiles. */
  #fhf-app .fhf-term .fhf-board-grid,
  #fhf-app .fhf-kur-member-grid{
    gap:10px!important;
  }

  /* Decision filters should read as controls, not four huge cards. */
  #fhf-app .fhf-decision-controls,
  #fhf-app .fhf-decision-filter-panel{
    gap:9px!important;
  }
  #fhf-app .fhf-decision-controls input,
  #fhf-app .fhf-decision-controls select{
    min-height:44px!important;
  }

  /* Member toolbar: preserve touch targets while reducing vertical bulk. */
  #fhf-app .fhf-member-workspace-head{
    gap:10px!important;
  }
  #fhf-app .fhf-member-workspace-count{
    line-height:1.15!important;
  }
}
@media(max-width:430px){
  #fhf-app .fhf-page-head h1{font-size:22px!important}
  #fhf-app .fhf-period-chip-header,
  #fhf-app .fhf-period-select{max-width:155px!important}
}

/* v0.34.74 notification center */
.fhf-appbar-right{position:relative}.fhf-notification-badge{position:absolute;transform:translate(8px,-10px);min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--fhf-red);color:#fff;font:800 10px/18px Montserrat,Arial;text-align:center;box-shadow:0 0 0 2px var(--fhf-surface,#fff)}
.fhf-notification-panel{position:absolute;z-index:10020;right:96px;top:54px;width:min(390px,calc(100vw - 24px));max-height:min(620px,75vh);overflow:auto;background:#fff;border:1px solid var(--fhf-line);border-radius:18px;box-shadow:0 20px 55px rgba(17,24,39,.18);color:#20242a}.fhf-notify-head{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;padding:17px 18px;background:#fff;border-bottom:1px solid var(--fhf-line)}.fhf-notify-head b{display:block;font:800 17px/1.2 Montserrat,Arial}.fhf-notify-head small{display:block;color:var(--fhf-muted);margin-top:3px}.fhf-notify-head button{border:0;background:#f3f4f6;border-radius:999px;width:32px;height:32px;font-size:20px}.fhf-notify-list{padding:7px}.fhf-notify-item{width:100%;border:0;background:#fff;display:grid;grid-template-columns:38px 1fr;gap:10px;text-align:left;padding:12px;border-radius:12px;cursor:pointer;color:inherit}.fhf-notify-item:hover{background:#f7f8fa}.fhf-notify-item.is-new{background:#fff7f8}.fhf-notify-item.needs-action{border-left:3px solid var(--fhf-red)}.fhf-notify-icon{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#f8e9ec;color:var(--fhf-red);font-weight:900}.fhf-notify-item b,.fhf-notify-item small,.fhf-notify-item time{display:block}.fhf-notify-item b{font:700 13px/1.3 Montserrat,Arial}.fhf-notify-item small{color:#5f6670;margin-top:4px;line-height:1.35}.fhf-notify-item time{color:#9298a1;font-size:10px;margin-top:5px}.fhf-notify-seenall{width:100%;border:0;border-top:1px solid var(--fhf-line);background:#fff;padding:13px;font-weight:700;cursor:pointer}.fhf-notify-empty{padding:30px 18px;text-align:center;color:var(--fhf-muted)}
@media(max-width:700px){.fhf-notification-panel{position:fixed;left:12px;right:12px;top:calc(76px + var(--wp-admin--admin-bar--height,0px));width:auto;max-height:70vh}.fhf-notification-badge{transform:translate(7px,-9px)}}

/* v0.34.75 — mobile appbar must never push the user profile off-screen. */
@media(max-width:700px){
  #fhf-app .fhf-appbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;padding:0 10px!important;overflow:visible!important}
  #fhf-app .fhf-appbar-left{min-width:0!important;gap:8px!important}
  #fhf-app .fhf-appbar-right{min-width:max-content!important;flex:0 0 auto!important;gap:4px!important}
  #fhf-app .fhf-menu-toggle{flex:0 0 42px!important;width:42px!important;height:42px!important}
  #fhf-app .fhf-search{min-width:0!important;max-width:none!important;width:100%!important;height:42px!important;padding:0 9px!important}
  #fhf-app .fhf-search kbd{display:none!important}
  #fhf-app .fhf-top-icon{width:34px!important;height:34px!important;flex:0 0 34px!important}
  #fhf-app .fhf-user-menu{display:block!important;flex:0 0 auto!important;margin:0!important}
  #fhf-app .fhf-user-menu summary{padding:0!important;min-width:38px!important;display:flex!important;align-items:center!important}
  #fhf-app .fhf-user-menu .fhf-avatar{display:grid!important;width:38px!important;height:38px!important;flex:0 0 38px!important}
  #fhf-app .fhf-user-menu .fhf-user-chevron{display:none!important}
}
@media(max-width:430px){
  #fhf-app .fhf-appbar{gap:6px!important;padding:0 8px!important}
  #fhf-app .fhf-appbar-left{gap:6px!important}
  #fhf-app .fhf-search{padding:0 8px!important}
  #fhf-app .fhf-search input{font-size:12px!important}
  #fhf-app .fhf-appbar-right{gap:2px!important}
  #fhf-app .fhf-top-icon{width:32px!important;height:32px!important;flex-basis:32px!important}
  #fhf-app .fhf-user-menu .fhf-avatar{width:36px!important;height:36px!important;flex-basis:36px!important}
}

/* v0.34.76 — final dark-mode contrast layer */
html[data-fhf-theme="dark"]{
 --fhf-dark-surface:#181d23;--fhf-dark-surface-2:#1d232a;
 --fhf-dark-text:#f2f4f6;--fhf-dark-muted:#a7b0ba;--fhf-dark-border:#343c45;
}
html[data-fhf-theme="dark"] .fhf-section,
html[data-fhf-theme="dark"] .fhf-card,
html[data-fhf-theme="dark"] .fhf-approval-card,
html[data-fhf-theme="dark"] .fhf-approval-progress,
html[data-fhf-theme="dark"] .fhf-approver,
html[data-fhf-theme="dark"] .fhf-my-approval,
html[data-fhf-theme="dark"] .fhf-document-preview,
html[data-fhf-theme="dark"] .fhf-document-content,
html[data-fhf-theme="dark"] .fhf-profile-facts>div,
html[data-fhf-theme="dark"] .fhf-member-address,
html[data-fhf-theme="dark"] .fhf-modal-card,
html[data-fhf-theme="dark"] .fhf-modal-sheet,
html[data-fhf-theme="dark"] .fhf-decision-card,
html[data-fhf-theme="dark"] .fhf-meeting-card{
 background:var(--fhf-dark-surface)!important;color:var(--fhf-dark-text)!important;
 border-color:var(--fhf-dark-border)!important;
}
html[data-fhf-theme="dark"] .fhf-approval-notice{
 background:#172437!important;color:var(--fhf-dark-text)!important;
 border-color:var(--fhf-dark-border)!important;border-left-color:#4b8df8!important;
}
html[data-fhf-theme="dark"] .fhf-approval-card{border-left-color:#f0a13a!important}
html[data-fhf-theme="dark"] .fhf-approval-card.approved{border-left-color:#38b980!important}
html[data-fhf-theme="dark"] .fhf-approval-card.changes{border-left-color:#ef5268!important}
html[data-fhf-theme="dark"] .fhf-section h1,
html[data-fhf-theme="dark"] .fhf-section h2,
html[data-fhf-theme="dark"] .fhf-section h3,
html[data-fhf-theme="dark"] .fhf-section h4,
html[data-fhf-theme="dark"] .fhf-approval-card h3,
html[data-fhf-theme="dark"] .fhf-approval-card h4,
html[data-fhf-theme="dark"] .fhf-modal-card h1,
html[data-fhf-theme="dark"] .fhf-modal-card h2,
html[data-fhf-theme="dark"] .fhf-modal-card h3,
html[data-fhf-theme="dark"] .fhf-profile-facts b,
html[data-fhf-theme="dark"] .fhf-member-address b,
html[data-fhf-theme="dark"] .fhf-approver b{color:var(--fhf-dark-text)!important}
html[data-fhf-theme="dark"] .fhf-note,
html[data-fhf-theme="dark"] .fhf-section p,
html[data-fhf-theme="dark"] .fhf-section small,
html[data-fhf-theme="dark"] .fhf-approval-card p,
html[data-fhf-theme="dark"] .fhf-approval-card small,
html[data-fhf-theme="dark"] .fhf-profile-facts span,
html[data-fhf-theme="dark"] .fhf-member-address span{color:var(--fhf-dark-muted)!important}
html[data-fhf-theme="dark"] .fhf-pill{background:#2a3139!important;color:#dce2e7!important}
html[data-fhf-theme="dark"] .fhf-pill.ok{background:#173426!important;color:#79d7a6!important}
html[data-fhf-theme="dark"] .fhf-pill.warn{background:#3a2a13!important;color:#ffc66d!important}
html[data-fhf-theme="dark"] .fhf-modal-card input,
html[data-fhf-theme="dark"] .fhf-modal-card select,
html[data-fhf-theme="dark"] .fhf-modal-card textarea{
 background:#11161b!important;color:var(--fhf-dark-text)!important;border-color:var(--fhf-dark-border)!important;
}
html[data-fhf-theme="dark"] .fhf-agenda-item,
html[data-fhf-theme="dark"] .fhf-agenda-toggle,
html[data-fhf-theme="dark"] .fhf-agenda-subitem,
html[data-fhf-theme="dark"] .fhf-meeting-foot,
html[data-fhf-theme="dark"] .fhf-meeting-attendees{
 background:var(--fhf-dark-surface)!important;color:var(--fhf-dark-text)!important;border-color:var(--fhf-dark-border)!important;
}
/* Bottom navigation stays light intentionally: strong, stable navigation contrast. */
html[data-fhf-theme="dark"] .fhf-mobile-nav{background:#f7f7f8!important;border-color:#dfe3e7!important}
html[data-fhf-theme="dark"] .fhf-mobile-nav button{color:#6e7882!important}
html[data-fhf-theme="dark"] .fhf-mobile-nav button.active{background:#35141c!important;color:#ef3152!important}

/* v0.34.77 — dark mode: remove remaining light islands and restore contrast */
html[data-fhf-theme="dark"] #fhf-app .fhf-panel,
html[data-fhf-theme="dark"] #fhf-app .fhf-governance-panel,
html[data-fhf-theme="dark"] #fhf-app .fhf-governance-panel .fhf-panel-head,
html[data-fhf-theme="dark"] #fhf-app .fhf-board-memory,
html[data-fhf-theme="dark"] #fhf-app .fhf-board-memory-actions,
html[data-fhf-theme="dark"] #fhf-app .fhf-memory-action{
  background:var(--fhf-dark-surface)!important;
  color:var(--fhf-dark-text)!important;
  border-color:var(--fhf-dark-border)!important;
}
html[data-fhf-theme="dark"] #fhf-app .fhf-governance-panel .fhf-panel-head h3,
html[data-fhf-theme="dark"] #fhf-app .fhf-board-memory-copy h3,
html[data-fhf-theme="dark"] #fhf-app .fhf-memory-action b,
html[data-fhf-theme="dark"] #fhf-app .fhf-governance-panel .fhf-metrics-row>div>b{
  color:var(--fhf-dark-text)!important;
}
html[data-fhf-theme="dark"] #fhf-app .fhf-governance-panel .fhf-metrics-row>div,
html[data-fhf-theme="dark"] #fhf-app .fhf-decision-overview>div{
  background:var(--fhf-dark-surface)!important;
  border-color:var(--fhf-dark-border)!important;
}
html[data-fhf-theme="dark"] #fhf-app .fhf-decision-controls input,
html[data-fhf-theme="dark"] #fhf-app .fhf-decision-controls select,
html[data-fhf-theme="dark"] #fhf-app .fhf-decision-toggle{
  background:#11161b!important;
  color:var(--fhf-dark-text)!important;
  border-color:var(--fhf-dark-border)!important;
}
html[data-fhf-theme="dark"] #fhf-app .fhf-decision-toggle span{color:var(--fhf-dark-text)!important}
html[data-fhf-theme="dark"] #fhf-app .fhf-decision-toggle input{accent-color:var(--fhf-red)}
html[data-fhf-theme="dark"] #fhf-app .fhf-document-preview,
html[data-fhf-theme="dark"] #fhf-app .fhf-document-preview summary,
html[data-fhf-theme="dark"] #fhf-app .fhf-document-content{
  background:#11161b!important;
  color:var(--fhf-dark-text)!important;
  border-color:var(--fhf-dark-border)!important;
}
html[data-fhf-theme="dark"] #fhf-app .fhf-approval-progress{
  background:#11161b!important;
  color:var(--fhf-dark-text)!important;
  border-color:var(--fhf-dark-border)!important;
}
html[data-fhf-theme="dark"] #fhf-app .fhf-approval-progress b{color:var(--fhf-dark-text)!important}
html[data-fhf-theme="dark"] #fhf-app .fhf-eyebrow{color:#aab2bb!important}
html[data-fhf-theme="dark"] #fhf-app .fhf-more{color:#c8ced5!important}
html[data-fhf-theme="dark"] #fhf-app input::placeholder,
html[data-fhf-theme="dark"] #fhf-app textarea::placeholder{color:#737d87!important;opacity:1!important}

/* v0.34.78 — meeting agenda dark-mode polish */
html[data-fhf-theme="dark"] #fhf-app .fhf-agenda-item{
  background:#181d23!important;
  border-color:#343c45!important;
  border-left-color:#3b444e!important;
}
html[data-fhf-theme="dark"] #fhf-app .fhf-agenda-toggle{
  background:#181d23!important;
  color:#f2f4f6!important;
}
html[data-fhf-theme="dark"] #fhf-app .fhf-agenda-toggle:hover{background:#1d232a!important}
html[data-fhf-theme="dark"] #fhf-app .fhf-agenda-title h3{color:#f2f4f6!important}
html[data-fhf-theme="dark"] #fhf-app .fhf-agenda-number{
  background:#252c34!important;
  color:#d8dee5!important;
  border:1px solid #3a434d!important;
}
html[data-fhf-theme="dark"] #fhf-app .fhf-agenda-subitem .fhf-agenda-number{
  background:#20262d!important;
  color:#bfc7cf!important;
}
html[data-fhf-theme="dark"] #fhf-app .fhf-agenda-item:has(.fhf-type.decision){border-left-color:#c94b59!important}
html[data-fhf-theme="dark"] #fhf-app .fhf-agenda-item:has(.fhf-type.information){border-left-color:#31889b!important}
html[data-fhf-theme="dark"] #fhf-app .fhf-agenda-item:has(.fhf-type.framework){border-left-color:#8468b8!important}
html[data-fhf-theme="dark"] #fhf-app .fhf-agenda-item:has(.fhf-type.followup){border-left-color:#b98535!important}
html[data-fhf-theme="dark"] #fhf-app .fhf-agenda-item:has(.fhf-type.discussion){border-left-color:#4d7fb9!important}
html[data-fhf-theme="dark"] #fhf-app .fhf-type{border:1px solid transparent!important}
html[data-fhf-theme="dark"] #fhf-app .fhf-type.decision{background:#3a2025!important;color:#ff9ba5!important;border-color:#5a2b34!important}
html[data-fhf-theme="dark"] #fhf-app .fhf-type.information{background:#173039!important;color:#7ed2e3!important;border-color:#24505b!important}
html[data-fhf-theme="dark"] #fhf-app .fhf-type.framework{background:#29213a!important;color:#c4acec!important;border-color:#41345c!important}
html[data-fhf-theme="dark"] #fhf-app .fhf-type.followup{background:#362b18!important;color:#e9bc6b!important;border-color:#514024!important}
html[data-fhf-theme="dark"] #fhf-app .fhf-type.discussion{background:#1c2b3d!important;color:#9dc6f5!important;border-color:#2d4662!important}
html[data-fhf-theme="dark"] #fhf-app .fhf-chevron{color:#8f99a4!important}
html[data-fhf-theme="dark"] #fhf-app .fhf-agenda-body,
html[data-fhf-theme="dark"] #fhf-app .fhf-agenda-block{color:#dce2e7!important}

/* v0.34.79 — agenda point / minutes work sheet: real dark mode */
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-modal-backdrop{background:rgba(3,7,11,.68)!important}
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-modal:has(.fhf-meeting-work-sheet){
  background:#171c22!important;color:#f2f4f6!important;border-color:#343c45!important;
}
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-meeting-work-sheet{color:#f2f4f6!important}
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-work-handle{background:#4a535d!important}
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-work-head h2{color:#f4f6f8!important}
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-work-step,
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-work-section>span,
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-work-section-head>span,
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-work-question span{color:#aab3bd!important}
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-work-section,
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-work-section+.fhf-work-section{border-color:#343c45!important}
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-work-empty{
  background:#12171c!important;color:#aab3bd!important;border-color:#414a54!important;
}
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-work-note{
  background:#20262d!important;color:#edf1f4!important;border:1px solid #343c45!important;
}
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-work-question{
  background:#172332!important;color:#eef4fb!important;border-left-color:#4d91df!important;
}
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-work-question b{color:#f1f5f9!important}
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-work-file{
  background:#12171c!important;color:#e8edf1!important;border-color:#343c45!important;
}
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-detail-decision{
  background:#1d232a!important;color:#f0f3f5!important;border-color:#3a434d!important;
}
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-detail-decision-head small{color:#aab3bd!important}
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-detail-decision-no{
  background:#3b2027!important;color:#ff8da0!important;border:1px solid #5b2d38!important;
}
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-detail-decision p,
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-detail-decision .fhf-preserve{color:#f0f3f5!important}
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-detail-decision-meta{color:#b6bec7!important}
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-decision-contacts>small{color:#aab3bd!important}
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-decision-contacts>div>span{
  background:#12171c!important;color:#eef2f5!important;border-color:#3a434d!important;
}
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-decision-contacts em{color:#eef2f5!important}
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-work-principle{
  background:#20262d!important;color:#aeb7c0!important;border:1px solid #343c45!important;
}
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-work-principle b{color:#f1f4f6!important}
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-text-action{color:#69adff!important}
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-mini{background:#252c34!important;color:#eef2f5!important;border-color:#414a54!important}
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-icon-btn{background:#252c34!important;color:#eef2f5!important;border-color:#414a54!important}

/* v0.34.80 — mobile bottom navigation follows dark mode, including iOS safe area. */
@media(max-width:820px){
  html[data-fhf-theme="dark"] .fhf-mobile-nav{
    background:#151a20!important;
    border-top-color:#303842!important;
    box-shadow:0 -10px 28px rgba(0,0,0,.24)!important;
  }
  html[data-fhf-theme="dark"] .fhf-mobile-nav button{
    background:transparent!important;
    color:#9aa4af!important;
  }
  html[data-fhf-theme="dark"] .fhf-mobile-nav button svg{
    color:currentColor!important;
    stroke:currentColor!important;
  }
  html[data-fhf-theme="dark"] .fhf-mobile-nav button b{color:inherit!important}
  html[data-fhf-theme="dark"] .fhf-mobile-nav button.active{
    background:#35131d!important;
    color:#ef3657!important;
  }
  html[data-fhf-theme="dark"] body{background:#0f1419!important}
}

/* v0.34.81 — dark mobile nav specificity fix.
   The v0.34.2 mobile rules use #fhf-app and therefore outranked v0.34.80. */
@media(max-width:820px){
  html[data-fhf-theme="dark"] #fhf-app .fhf-mobile-nav{
    background:#151a20!important;
    border-top:1px solid #303842!important;
    box-shadow:0 -10px 28px rgba(0,0,0,.24)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
  }
  html[data-fhf-theme="dark"] #fhf-app .fhf-mobile-nav button{
    background:transparent!important;
    color:#9aa4af!important;
  }
  html[data-fhf-theme="dark"] #fhf-app .fhf-mobile-nav button .fhf-mobile-icon,
  html[data-fhf-theme="dark"] #fhf-app .fhf-mobile-nav button .fhf-mobile-icon svg{
    color:currentColor!important;
    stroke:currentColor!important;
  }
  html[data-fhf-theme="dark"] #fhf-app .fhf-mobile-nav button b{color:inherit!important}
  html[data-fhf-theme="dark"] #fhf-app .fhf-mobile-nav button.active{
    background:#35131d!important;
    color:#ef3657!important;
  }
}

/* v0.34.82 — KUR-rum */
.fhf-dialog-hero{display:flex;justify-content:space-between;gap:24px;align-items:flex-start}
.fhf-dialog-tabs{display:flex;gap:8px;margin:0 0 16px}
.fhf-dialog-tabs button{border:1px solid var(--fhf-line,#e3e7ea);background:transparent;border-radius:999px;padding:9px 14px;font-weight:800}
.fhf-dialog-tabs button.active{background:#171b20;color:#fff;border-color:#171b20}
.fhf-dialog-tabs b{margin-left:5px;opacity:.7}
.fhf-discussion-card{width:100%;display:flex;justify-content:space-between;text-align:left;gap:24px;padding:20px 0;border:0;border-bottom:1px solid var(--fhf-line,#e6e9ec);background:transparent;color:inherit}
.fhf-discussion-card h3{margin:4px 0 7px;font-size:20px}.fhf-discussion-card p{margin:0;max-width:760px}
.fhf-discussion-meta{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:13px}.fhf-discussion-meta .fhf-avatar{width:30px;height:30px}
.fhf-discussion-meta em{font-style:normal;background:#fff0f2;color:#b4203b;border-radius:999px;padding:5px 8px}
.fhf-discussion-title{display:flex;align-items:center;gap:12px}.fhf-discussion-title .fhf-avatar{width:46px;height:46px}.fhf-discussion-title h2{margin:2px 0}
.fhf-discussion-body{font-size:16px;line-height:1.65;margin:22px 0}.fhf-agenda-request-btn{border:1px solid #b51e39;color:#b51e39;background:transparent;border-radius:10px;padding:10px 13px;font-weight:800}
.fhf-comment{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid var(--fhf-line,#e6e9ec)}.fhf-comment .fhf-avatar{width:38px;height:38px;flex:0 0 38px}.fhf-comment p{margin:4px 0 0}
.fhf-request-status,.fhf-agenda-request-card{border-left:3px solid #c51f3c;padding:12px 14px;margin:10px 0;background:rgba(197,31,60,.04)}
.fhf-request-status{display:flex;flex-direction:column;gap:3px}.fhf-agenda-request-card{display:flex;justify-content:space-between;gap:20px;align-items:center}
.fhf-request-people{display:flex;gap:14px;align-items:center;font-size:13px}.fhf-request-people span{display:flex;gap:6px;align-items:center}.fhf-request-people .fhf-avatar{width:26px;height:26px}
.fhf-presenter-picker{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 18px}.fhf-presenter-picker button{display:flex;align-items:center;gap:7px;border:1px solid var(--fhf-line,#dce1e5);background:transparent;color:inherit;border-radius:999px;padding:5px 10px 5px 5px}.fhf-presenter-picker button.active{border-color:#c51f3c;box-shadow:0 0 0 2px rgba(197,31,60,.12)}.fhf-presenter-picker .fhf-avatar{width:32px;height:32px}
.fhf-poll-card{padding:18px 0;border-bottom:1px solid var(--fhf-line,#e6e9ec)}.fhf-poll-head h3{margin:4px 0}.fhf-poll-option{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;gap:14px;align-items:center;padding:11px 0;border-top:1px solid var(--fhf-line,#e6e9ec)}.fhf-poll-option>div:first-child{display:flex;flex-direction:column}.fhf-poll-counts{display:flex;gap:9px}.fhf-poll-answer{display:flex;gap:5px}.fhf-poll-answer button{border:1px solid var(--fhf-line,#dce1e5);background:transparent;color:inherit;border-radius:8px;padding:7px 9px}.fhf-poll-answer button.active.yes{background:#e7f7ef;border-color:#5dbb8a}.fhf-poll-answer button.active.maybe{background:#fff4d9;border-color:#d8a53a}.fhf-poll-answer button.active.no{background:#fde9ec;border-color:#df7182}
html[data-fhf-theme="dark"] .fhf-dialog-tabs button{border-color:#343c45;color:#dce2e7}html[data-fhf-theme="dark"] .fhf-dialog-tabs button.active{background:#35141c;color:#ff6b83;border-color:#713043}
html[data-fhf-theme="dark"] .fhf-discussion-meta em{background:#35141c;color:#ff8ca0}html[data-fhf-theme="dark"] .fhf-request-status,html[data-fhf-theme="dark"] .fhf-agenda-request-card{background:#21191d}
html[data-fhf-theme="dark"] .fhf-poll-answer button.active.yes{background:#173426;color:#79d7a6}html[data-fhf-theme="dark"] .fhf-poll-answer button.active.maybe{background:#3a2a13;color:#ffc66d}html[data-fhf-theme="dark"] .fhf-poll-answer button.active.no{background:#3a1920;color:#ff8ca0}
@media(max-width:700px){.fhf-dialog-hero,.fhf-agenda-request-card{flex-direction:column}.fhf-discussion-card{flex-direction:column;gap:10px}.fhf-discussion-meta{white-space:normal;flex-wrap:wrap}.fhf-poll-option{grid-template-columns:1fr}.fhf-poll-answer button{flex:1}.fhf-poll-answer{display:flex}.fhf-request-people{align-items:flex-start;flex-direction:column}}

/* v0.34.83 — Font Awesome iconography + approval attachments */
.fhf-action i,.fhf-secondary i,.fhf-panel-head i,.fhf-demo-card-head i,.fhf-metrics-row i,.fhf-eyebrow i{margin-right:.42em}
.fhf-link-icon i,.fhf-memory-icon i{font-size:1em;line-height:1}
.fhf-approval-attachments{margin:14px 0;padding:14px;border:1px solid var(--fhf-line,#e3e7ea);border-radius:12px}
.fhf-approval-attachments>b{display:block;margin-bottom:9px}
.fhf-approval-attachments>div{display:flex;flex-wrap:wrap;gap:8px}
.fhf-approver-state i{margin:0}
html[data-fhf-theme="dark"] .fhf-approval-attachments{border-color:#303842;background:#151a20}

/* v0.34.84 — polished decision cards */
.fhf-decision-card{padding:20px 16px 16px 16px!important;gap:22px!important;border-radius:15px!important}
.fhf-decision-main{min-width:0}.fhf-decision-meta{gap:7px!important}.fhf-decision-card h3{font-size:18px!important;line-height:1.25;margin:10px 0 5px!important;font-weight:700}.fhf-decision-source{font-size:10px;color:var(--fhf-muted);margin-bottom:20px}.fhf-decision-source b{color:inherit}.fhf-decision-text{font-size:13px!important;line-height:1.62!important;max-width:920px;margin-bottom:15px}
.fhf-decision-facts-polished{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin-top:14px!important}.fhf-decision-facts-polished>div{min-height:58px;padding:10px 12px!important;display:flex;flex-direction:column;justify-content:center}.fhf-decision-facts-polished>div>span{font-size:9.5px!important;margin-bottom:4px}.fhf-decision-facts-polished>div>b{font-size:11px!important}.fhf-decision-facts-polished .is-overdue{border-color:rgba(200,16,46,.35)!important;background:rgba(200,16,46,.045)!important}.fhf-decision-facts-polished .is-overdue b,.fhf-decision-facts-polished .is-overdue small{color:#b42318}.fhf-decision-facts-polished .is-overdue small{font-size:9px;margin-top:2px;font-weight:700}.fhf-decision-facts-polished .is-overdue i{font-size:9px;margin-right:3px}
.fhf-decision-contact-chips{display:flex;gap:6px;flex-wrap:wrap}.fhf-decision-contact-chips>span{display:inline-flex;align-items:center;gap:6px;background:var(--fhf-card);border:1px solid var(--fhf-line);border-radius:999px;padding:3px 8px 3px 3px;max-width:100%}.fhf-decision-contact-chips img,.fhf-decision-contact-chips>span>b{width:22px;height:22px;border-radius:50%;object-fit:cover;display:grid;place-items:center}.fhf-decision-contact-chips em{font-size:10px;font-style:normal;white-space:nowrap}
.fhf-decision-actions-polished{min-width:170px!important;align-self:start;gap:8px!important}.fhf-decision-actions-polished>button{min-height:39px}.fhf-decision-actions-polished .fhf-action{order:2}.fhf-decision-more{position:relative;order:3}.fhf-decision-more summary{list-style:none;cursor:pointer;border:1px solid var(--fhf-line);border-radius:8px;min-height:38px;padding:8px 12px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:13px;font-weight:700;background:var(--fhf-card)}.fhf-decision-more summary::-webkit-details-marker{display:none}.fhf-decision-more-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:30;width:230px;padding:6px;background:var(--fhf-card);border:1px solid var(--fhf-line);border-radius:10px;box-shadow:0 12px 30px rgba(0,0,0,.14);display:grid;gap:3px}.fhf-decision-more-menu button{border:0;background:transparent;color:inherit;text-align:left;border-radius:7px;padding:10px 11px;font:inherit;font-size:11px;cursor:pointer}.fhf-decision-more-menu button:hover{background:rgba(127,127,127,.09)}.fhf-decision-more-menu button.danger{color:#b42318}
html[data-fhf-theme="dark"] .fhf-decision-facts-polished .is-overdue{background:#2b191e!important;border-color:#713043!important}html[data-fhf-theme="dark"] .fhf-decision-facts-polished .is-overdue b,html[data-fhf-theme="dark"] .fhf-decision-facts-polished .is-overdue small{color:#ff8ca0}html[data-fhf-theme="dark"] .fhf-decision-contact-chips>span{background:#171d23!important}
@media(max-width:800px){.fhf-decision-facts-polished{grid-template-columns:1fr!important}.fhf-decision-actions-polished{display:grid!important;grid-template-columns:1fr 1fr!important;min-width:0!important}.fhf-decision-more{grid-column:1/-1}.fhf-decision-more-menu{left:0;right:auto;width:min(100%,280px)}}

/* v0.34.85 — compact decision register + detail modal */
.fhf-decision-list-compact{display:grid;gap:0!important;background:var(--fhf-card);border:1px solid var(--fhf-line);border-radius:14px;overflow:hidden}
.fhf-decision-row{position:relative;display:flex;align-items:center;gap:18px;padding:17px 20px;border:0;border-bottom:1px solid var(--fhf-line);background:transparent;cursor:pointer;transition:background .16s ease;color:inherit}
.fhf-decision-row:last-child{border-bottom:0}.fhf-decision-row:hover,.fhf-decision-row:focus-visible{background:rgba(127,127,127,.055);outline:none}.fhf-decision-row.overdue{box-shadow:inset 3px 0 0 #d41435}
.fhf-decision-row-copy{min-width:0;flex:1}.fhf-decision-row-top{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:10px;color:var(--fhf-muted)}.fhf-decision-row-top .fhf-pill{padding:4px 8px}.fhf-decision-row h3{font-size:16px;margin:6px 0 5px;line-height:1.25}.fhf-decision-row-text{margin:0;color:var(--fhf-text);font-size:13px;line-height:1.45;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:900px}.fhf-decision-row-foot{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:9px;font-size:11px;color:var(--fhf-muted)}.fhf-decision-row-foot>span{display:flex;align-items:center;gap:5px}.fhf-decision-row-foot .is-overdue{color:#c51f3c;font-weight:700}.fhf-decision-row-contact img,.fhf-decision-row-contact>b{width:22px;height:22px;border-radius:50%;object-fit:cover;display:inline-grid;place-items:center;background:#e9edf0;font-size:9px}.fhf-decision-row-arrow{font-size:29px;font-weight:300;color:var(--fhf-muted);line-height:1}
.fhf-decision-detail-modal{min-width:0}.fhf-decision-detail-modal h2{margin:7px 0 4px}.fhf-decision-detail-text{font-size:15px;line-height:1.65;padding:18px 0;border-top:1px solid var(--fhf-line);border-bottom:1px solid var(--fhf-line)}.fhf-decision-detail-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:8px 0 18px}.fhf-decision-detail-meta>div{padding:12px 16px 12px 0;display:flex;flex-direction:column;gap:4px}.fhf-decision-detail-meta>div+div{padding-left:16px;border-left:1px solid var(--fhf-line)}.fhf-decision-detail-meta span{font-size:10px;color:var(--fhf-muted)}.fhf-decision-detail-meta b{font-size:13px}.fhf-decision-detail-meta .is-overdue b,.fhf-decision-detail-meta .is-overdue small{color:#c51f3c}.fhf-decision-modal-actions{display:flex;align-items:center;gap:8px;padding-top:15px;border-top:1px solid var(--fhf-line)}.fhf-decision-modal-actions .fhf-decision-more{margin-left:auto}
html[data-fhf-theme="dark"] .fhf-decision-list-compact{background:#171e26;border-color:#303945}html[data-fhf-theme="dark"] .fhf-decision-row{border-color:#303945}html[data-fhf-theme="dark"] .fhf-decision-row:hover,html[data-fhf-theme="dark"] .fhf-decision-row:focus-visible{background:#1d252e}html[data-fhf-theme="dark"] .fhf-decision-row-contact>b{background:#2a333d;color:#f2f4f6}
@media(max-width:700px){.fhf-decision-list-compact{border-left:0;border-right:0;border-radius:0}.fhf-decision-row{padding:15px 14px}.fhf-decision-row-text{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.fhf-decision-row-foot{gap:8px 12px}.fhf-decision-row-arrow{font-size:24px}.fhf-decision-detail-meta{grid-template-columns:1fr}.fhf-decision-detail-meta>div,.fhf-decision-detail-meta>div+div{padding:10px 0;border-left:0;border-bottom:1px solid var(--fhf-line)}.fhf-decision-modal-actions{display:grid;grid-template-columns:1fr}.fhf-decision-modal-actions .fhf-decision-more{margin-left:0}.fhf-decision-more-menu{left:0;right:auto}}

/* v0.34.86 — calmer decision list: more breathing room and readable type */
.fhf-decision-list-compact{border-radius:16px}
.fhf-decision-row{align-items:center;gap:22px;padding:23px 24px;min-height:112px}
.fhf-decision-row-copy{padding-right:8px}
.fhf-decision-row-top{gap:9px;font-size:11.5px;line-height:1.35}
.fhf-decision-row-top .fhf-pill{padding:5px 9px;font-size:12px;line-height:1.2}
.fhf-decision-row h3{font-size:19px!important;line-height:1.3!important;margin:7px 0 7px!important;font-weight:650}
.fhf-decision-row-text{font-size:14px;line-height:1.55;max-width:940px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fhf-decision-row-foot{gap:12px 18px;margin-top:13px;font-size:12.5px;line-height:1.4}
.fhf-decision-row-foot>span{gap:7px}
.fhf-decision-row-contact img,.fhf-decision-row-contact>b{width:25px;height:25px;font-size:10px}
.fhf-decision-row-arrow{font-size:25px;opacity:.72;margin-left:auto;padding-left:6px}
.fhf-decision-row.overdue{box-shadow:inset 3px 0 0 #d41435}
.fhf-decision-detail-modal h2{font-size:23px;line-height:1.3}
.fhf-decision-detail-text{font-size:16px;line-height:1.7}
.fhf-decision-detail-meta span{font-size:12px}.fhf-decision-detail-meta b{font-size:14px}
@media(max-width:700px){
  .fhf-decision-row{padding:20px 17px;min-height:0;gap:12px}
  .fhf-decision-row h3{font-size:18px!important;margin:7px 0!important}
  .fhf-decision-row-text{font-size:14px;line-height:1.5}
  .fhf-decision-row-top{font-size:11px}
  .fhf-decision-row-foot{font-size:12px;margin-top:12px;gap:9px 13px}
  .fhf-decision-row-arrow{font-size:22px;padding-left:0}
}

/* v0.34.87 — flatter decision list + clickable overview filters */
.fhf-decision-list-compact{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  overflow:visible!important;
}
.fhf-decision-list-compact .fhf-decision-row{
  background:transparent!important;
  border-radius:0!important;
  border-left:0!important;
  border-right:0!important;
  border-top:0!important;
  border-bottom:1px solid var(--fhf-line,#dfe4e8)!important;
  box-shadow:none!important;
  margin:0!important;
}
.fhf-decision-list-compact .fhf-decision-row:first-child{
  border-top:1px solid var(--fhf-line,#dfe4e8)!important;
}
.fhf-decision-list-compact .fhf-decision-row.overdue{
  border-left:3px solid #d80b2f!important;
  padding-left:13px!important;
}
.fhf-decision-list-compact .fhf-decision-row:hover{
  background:rgba(20,27,34,.025)!important;
}
.fhf-decision-overview button{
  appearance:none;
  -webkit-appearance:none;
  width:100%;
  text-align:left;
  font:inherit;
  color:inherit;
  cursor:pointer;
  border:1px solid var(--fhf-line,#dfe4e8);
  background:var(--fhf-card,#fff);
  border-radius:14px;
  padding:15px 16px;
  transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease,background .16s ease;
}
.fhf-decision-overview button:hover{
  border-color:#c3cbd2;
  transform:translateY(-1px);
}
.fhf-decision-overview button.active{
  border-color:#c8102e;
  box-shadow:0 0 0 2px rgba(200,16,46,.10);
}
.fhf-decision-overview button.active span{color:#a90d28}
.fhf-decision-overview button span{display:block;font-weight:800;letter-spacing:.05em}
.fhf-decision-overview button b{display:block;margin-top:5px;font-size:28px;line-height:1}
html[data-fhf-theme="dark"] .fhf-decision-list-compact .fhf-decision-row:hover{background:rgba(255,255,255,.025)!important}
html[data-fhf-theme="dark"] .fhf-decision-overview button{background:#171e26;border-color:#303945}
html[data-fhf-theme="dark"] .fhf-decision-overview button:hover{border-color:#485360}
html[data-fhf-theme="dark"] .fhf-decision-overview button.active{border-color:#e72749;box-shadow:0 0 0 2px rgba(231,39,73,.13)}
html[data-fhf-theme="dark"] .fhf-decision-overview button.active span{color:#ff6b83}

/* v0.34.88 — decision list surface + Font Awesome theme control */
.fhf-decision-list-compact{
  background:#fff!important;
  border:0!important;
  border-radius:0!important;
}
html[data-fhf-theme="dark"] .fhf-decision-list-compact{
  background:#171e26!important;
}
.fhf-decision-list-compact .fhf-decision-row{
  background:transparent!important;
}
html[data-fhf-theme="dark"] .fhf-decision-list-compact .fhf-decision-row{
  background:transparent!important;
}
#fhf-theme-toggle i{
  font-size:18px;
  line-height:1;
  width:20px;
  text-align:center;
}

/* v0.34.91 — centred statistic tiles */
.fhf-stat{
  text-align:center;
}
.fhf-stat span{
  text-align:center;
}
.fhf-stat b{
  text-align:center;
  font-family:"Montserrat",sans-serif;
  font-weight:900;
}

/* v0.34.92 — Montserrat Black statistic numbers */
.fhf-stat b,
.fhf-metrics-row b,
.fhf-decision-overview b,
.fhf-meeting-cockpit b{
  font-family:"Montserrat",Arial,sans-serif!important;
  font-weight:900!important;
}

/* v0.34.93 — load Montserrat in the live app, not only generated documents */
#fhf-app .fhf-governance-panel .fhf-metrics-row > div > b,
#fhf-app .fhf-stat-grid .fhf-stat > b,
#fhf-app .fhf-decision-overview > button > b,
#fhf-app .fhf-meeting-cockpit > div > b{
  font-family:"Montserrat",Arial,sans-serif!important;
  font-weight:900!important;
  font-synthesis:none;
}

/* v0.34.94 — simplified centred dashboard metrics */
#fhf-app .fhf-governance-panel .fhf-metrics-row > div{
  text-align:center!important;
  align-items:center!important;
  justify-content:center!important;
}
#fhf-app .fhf-governance-panel .fhf-metrics-row > div > b{
  order:1;
  margin:0 0 13px!important;
  text-align:center!important;
}
#fhf-app .fhf-governance-panel .fhf-metrics-row > div > span{
  order:2;
  display:block;
  width:100%;
  text-align:center!important;
}
#fhf-app .fhf-governance-panel .fhf-metrics-row > div > small{
  display:none!important;
}

/* v0.34.95 — aligned dashboard metrics + larger icons */
#fhf-app .fhf-governance-panel .fhf-metrics-row > div{
  justify-content:flex-start!important;
  padding-top:28px!important;
}
#fhf-app .fhf-governance-panel .fhf-metrics-row > div > b{
  flex:0 0 auto;
  min-height:58px;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:center!important;
  width:100%;
  margin:0 0 10px!important;
}
#fhf-app .fhf-governance-panel .fhf-metrics-row > div > span{
  flex:0 0 auto;
}
#fhf-app .fhf-governance-panel .fhf-metrics-row > div > span i{
  font-size:18px!important;
  line-height:1!important;
  vertical-align:-1px;
  margin-right:.48em!important;
}

/* v0.34.96 — dashboard metric icon on its own line */
#fhf-app .fhf-governance-panel .fhf-metrics-row > div > span i{
  display:block!important;
  width:100%!important;
  margin:0 0 7px!important;
  text-align:center!important;
}

/* v0.34.97 — icon-only dashboard metrics */
#fhf-app .fhf-governance-panel .fhf-metrics-row > div > span{
  line-height:1!important;
}
#fhf-app .fhf-governance-panel .fhf-metrics-row > div > span i{
  display:block!important;
  width:100%!important;
  margin:0!important;
  font-size:28px!important;
  line-height:1!important;
  text-align:center!important;
}

/* v0.34.98 — completed meetings become an archive/read view */
.fhf-completed-meeting-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 18px}
.fhf-completed-meeting-summary>div{background:var(--fhf-card);border:1px solid var(--fhf-line);padding:14px 16px;text-align:center}
.fhf-completed-meeting-summary span{display:block;color:var(--fhf-muted);font-size:11px;font-weight:700}
.fhf-completed-meeting-summary b{display:block;margin-top:5px;font-family:"Montserrat",Arial,sans-serif;font-weight:900;font-size:23px}
.fhf-completed-decision-list{border-top:1px solid var(--fhf-line)}
.fhf-completed-decision-list>article{padding:16px 2px;border-bottom:1px solid var(--fhf-line);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:start}
.fhf-completed-decision-list p{margin:5px 0 0;font-size:14px;line-height:1.5}
.fhf-completed-decision-meta{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end;color:var(--fhf-muted);font-size:12px}
.fhf-completed-document-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.fhf-document-button{border:1px solid var(--fhf-line);background:var(--fhf-card);padding:15px;text-align:left;display:grid;grid-template-columns:30px 1fr auto;gap:10px;align-items:center}
.fhf-document-button>i{font-size:20px;color:var(--fhf-red)}.fhf-document-button span b,.fhf-document-button span small{display:block}.fhf-document-button span small{color:var(--fhf-muted);margin-top:3px}.fhf-document-button em{font-size:22px;color:var(--fhf-muted);font-style:normal}
.fhf-completed-admin{margin-top:14px;border-top:1px solid var(--fhf-line);padding-top:12px}.fhf-completed-admin summary{cursor:pointer;font-weight:700;color:var(--fhf-muted)}
html[data-fhf-theme="dark"] .fhf-completed-meeting-summary>div,html[data-fhf-theme="dark"] .fhf-document-button{background:#171e26;border-color:#303945}
@media(max-width:700px){.fhf-completed-meeting-summary{grid-template-columns:1fr 1fr}.fhf-completed-decision-list>article{grid-template-columns:1fr}.fhf-completed-decision-meta{justify-content:flex-start}.fhf-completed-document-actions{grid-template-columns:1fr}}

/* v0.35.00 — remove duplicate in-page page introductions */
#fhf-app .fhf-page-actions-only{padding-top:0!important;padding-bottom:12px!important}
#fhf-app .fhf-page-actions-only .fhf-section-head{justify-content:flex-end!important;margin-bottom:0!important}
#fhf-app .fhf-page-actions-only .fhf-section-head>div:empty{display:none!important}

/* v0.35.01 — compact page workspaces and Font Awesome member actions */
#fhf-app .fhf-member-icon-actions .fhf-icon-action i{
  font-size:20px!important;
  line-height:1!important;
}
#fhf-app .fhf-member-icon-actions .fhf-icon-action{
  min-width:44px;
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
#fhf-app .fhf-document-workspace{
  padding-top:18px!important;
  padding-bottom:18px!important;
}
#fhf-app .fhf-document-toolbar{
  align-items:center;
}
#fhf-app .fhf-document-toolbar .fhf-doc-new-inline{
  white-space:nowrap;
  min-height:42px;
}
#fhf-app .fhf-dialog-toolbar{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  margin:0 0 14px;
}
@media(max-width:700px){
  #fhf-app .fhf-document-toolbar .fhf-doc-new-inline{width:100%}
  #fhf-app .fhf-dialog-toolbar .fhf-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}
}

/* v0.35.03 — KUR-room discussion polish */
#fhf-app .fhf-dialog-panel{
  background:var(--fhf-card,#fff);
  border-top:1px solid var(--fhf-line,#e3e7ea);
  border-bottom:1px solid var(--fhf-line,#e3e7ea);
}
#fhf-app .fhf-discussion-card{
  padding:18px 16px!important;
  background:transparent!important;
  align-items:center;
  cursor:pointer;
}
#fhf-app .fhf-discussion-card:hover{background:rgba(20,27,34,.025)!important}
#fhf-app .fhf-discussion-main{min-width:0;flex:1}
#fhf-app .fhf-discussion-meta{flex:0 0 auto}
#fhf-app .fhf-discussion-arrow{margin-left:8px;color:var(--fhf-muted,#727980);font-size:12px}
#fhf-app .fhf-discussion-title{
  display:block!important;
  margin-top:22px;
}
#fhf-app .fhf-discussion-title .fhf-eyebrow{display:block;margin-bottom:6px}
#fhf-app .fhf-discussion-title h2{margin:0 0 12px!important}
#fhf-app .fhf-discussion-author{display:flex;align-items:center;gap:9px;color:var(--fhf-muted,#727980)}
#fhf-app .fhf-discussion-author .fhf-avatar{width:34px;height:34px;flex:0 0 34px}
#fhf-app .fhf-discussion-author b{color:inherit;font-size:13px}
#fhf-app .fhf-discussion-body{border-top:1px solid var(--fhf-line,#e3e7ea);padding-top:20px;margin-top:20px}
#fhf-app .fhf-agenda-request-btn i{margin-right:6px}
#fhf-app .fhf-discussion-conversation h3{margin-bottom:16px}
#fhf-app .fhf-comment-head{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}
#fhf-app .fhf-comment-head small{color:var(--fhf-muted,#727980);font-size:11px}
#fhf-app .fhf-comment-compose{margin-top:18px;padding-top:16px;border-top:1px solid var(--fhf-line,#e3e7ea)}
#fhf-app .fhf-comment-compose label{display:block;font-weight:700;margin-bottom:7px}
#fhf-app .fhf-comment-compose textarea{width:100%;min-height:110px;resize:vertical;margin:0 0 10px}
html[data-fhf-theme="dark"] #fhf-app .fhf-dialog-panel{background:#171e26;border-color:#303945}
html[data-fhf-theme="dark"] #fhf-app .fhf-discussion-card:hover{background:rgba(255,255,255,.025)!important}
@media(max-width:700px){
  #fhf-app .fhf-discussion-card{padding:16px 14px!important;gap:12px!important}
  #fhf-app .fhf-discussion-meta{width:100%;display:grid;grid-template-columns:auto 1fr auto auto;white-space:normal}
  #fhf-app .fhf-discussion-meta em{grid-column:2/-1;justify-self:start}
  #fhf-app .fhf-discussion-arrow{justify-self:end}
  #fhf-app .fhf-discussion-detail{padding:18px 16px!important}
  #fhf-app .fhf-discussion-title h2{font-size:25px!important;line-height:1.15}
  #fhf-app .fhf-discussion-body{font-size:15px!important}
  #fhf-app .fhf-agenda-request-btn{width:100%;min-height:46px}
}

/* v0.35.04 — KUR-rum as an elegant conversation thread */
#fhf-app .fhf-chat-view{max-width:900px;margin:0 auto;padding-bottom:104px}
#fhf-app .fhf-chat-topicbar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;background:var(--fhf-card,#fff);border:1px solid var(--fhf-line,#e3e7ea);padding:15px 18px;margin-bottom:18px}
#fhf-app .fhf-chat-topicbar .fhf-back{margin:0;white-space:nowrap}
#fhf-app .fhf-chat-topic{text-align:center;min-width:0}
#fhf-app .fhf-chat-topic .fhf-eyebrow{display:block;margin:0 0 2px}
#fhf-app .fhf-chat-topic h2{margin:0!important;font-size:18px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#fhf-app .fhf-chat-topic small{display:block;margin-top:2px;color:var(--fhf-muted,#747b83);font-size:11px}
#fhf-app .fhf-chat-more{width:38px;height:38px;border:0;border-radius:50%;background:transparent;color:var(--fhf-text,#22292f);font-size:18px;cursor:pointer}
#fhf-app .fhf-chat-more:hover{background:rgba(0,0,0,.05)}
#fhf-app .fhf-chat-thread{padding:8px 14px 28px;display:flex;flex-direction:column;gap:18px}
#fhf-app .fhf-chat-message{display:flex;align-items:flex-end;gap:9px;max-width:78%}
#fhf-app .fhf-chat-message.is-other{align-self:flex-start}
#fhf-app .fhf-chat-message.is-own{align-self:flex-end;justify-content:flex-end}
#fhf-app .fhf-chat-message>.fhf-avatar{width:38px;height:38px;flex:0 0 38px;margin-bottom:18px}
#fhf-app .fhf-chat-stack{min-width:0;display:flex;flex-direction:column}
#fhf-app .fhf-chat-message.is-own .fhf-chat-stack{align-items:flex-end}
#fhf-app .fhf-chat-name{font-size:11px;color:var(--fhf-muted,#747b83);margin:0 0 4px 10px}
#fhf-app .fhf-chat-bubble{padding:11px 15px;border-radius:20px;background:#fff;border:1px solid #e7eaed;font-size:14px;line-height:1.45;box-shadow:0 1px 2px rgba(0,0,0,.025)}
#fhf-app .fhf-chat-bubble p{margin:0}.fhf-chat-bubble p+p{margin-top:7px}
#fhf-app .fhf-chat-message.is-own .fhf-chat-bubble{background:#202830;color:#fff;border-color:#202830;border-bottom-right-radius:6px}
#fhf-app .fhf-chat-message.is-other .fhf-chat-bubble{border-bottom-left-radius:6px}
#fhf-app .fhf-chat-message.is-opening .fhf-chat-bubble{border-left:3px solid var(--fhf-red,#d20a2e)}
#fhf-app .fhf-chat-time{font-size:10px;color:var(--fhf-muted,#858b91);margin:4px 8px 0}
#fhf-app .fhf-chat-system{align-self:center;display:flex;align-items:center;gap:7px;max-width:80%;padding:7px 11px;border-radius:999px;background:rgba(210,10,46,.07);color:var(--fhf-muted,#747b83);font-size:11px;text-align:center}
#fhf-app .fhf-chat-system i{color:var(--fhf-red,#d20a2e)}
#fhf-app .fhf-chat-empty{align-self:center;color:var(--fhf-muted,#747b83);font-size:12px;padding:18px}
#fhf-app .fhf-chat-composer{position:sticky;bottom:calc(var(--fhf-mobile-nav-h,0px) + env(safe-area-inset-bottom,0px));z-index:18;display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:9px;align-items:end;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid var(--fhf-line,#e3e7ea);padding:10px 12px;margin:0 10px;border-radius:18px;box-shadow:0 8px 28px rgba(22,28,34,.08)}
#fhf-app .fhf-chat-composer textarea{width:100%;min-height:42px!important;max-height:120px;border:0!important;background:#f2f4f6!important;border-radius:14px!important;padding:11px 13px!important;margin:0!important;resize:none;line-height:20px;box-shadow:none!important}
#fhf-app .fhf-chat-composer button{width:44px;height:44px;border:0;border-radius:50%;background:var(--fhf-red,#d20a2e);color:#fff;font-size:16px;display:grid;place-items:center;cursor:pointer}
#fhf-app .fhf-chat-composer button:disabled{opacity:.55}
html[data-fhf-theme="dark"] #fhf-app .fhf-chat-topicbar{background:#171e26;border-color:#303945}
html[data-fhf-theme="dark"] #fhf-app .fhf-chat-more{color:#f2f4f6}
html[data-fhf-theme="dark"] #fhf-app .fhf-chat-message.is-other .fhf-chat-bubble{background:#1b232c;border-color:#303945;color:#f2f4f6}
html[data-fhf-theme="dark"] #fhf-app .fhf-chat-message.is-own .fhf-chat-bubble{background:#e72749;border-color:#e72749;color:#fff}
html[data-fhf-theme="dark"] #fhf-app .fhf-chat-composer{background:rgba(23,30,38,.94);border-color:#303945}
html[data-fhf-theme="dark"] #fhf-app .fhf-chat-composer textarea{background:#10161d!important;color:#f2f4f6!important}
@media(max-width:700px){
 #fhf-app .fhf-chat-view{margin:0 -14px;padding-bottom:90px}
 #fhf-app .fhf-chat-topicbar{border-left:0;border-right:0;margin-bottom:8px;padding:12px 14px}
 #fhf-app .fhf-chat-topicbar .fhf-back{font-size:0;width:36px;height:36px;padding:0}
 #fhf-app .fhf-chat-topicbar .fhf-back::before{content:'‹';font-size:30px;line-height:32px}
 #fhf-app .fhf-chat-topic h2{font-size:16px!important}
 #fhf-app .fhf-chat-thread{padding:14px 16px 24px;gap:16px}
 #fhf-app .fhf-chat-message{max-width:88%}
 #fhf-app .fhf-chat-message>.fhf-avatar{width:34px;height:34px;flex-basis:34px}
 #fhf-app .fhf-chat-bubble{font-size:14px;padding:10px 13px}
 #fhf-app .fhf-chat-composer{position:fixed;left:8px;right:8px;bottom:calc(72px + env(safe-area-inset-bottom,0px));margin:0;z-index:60}
}

/* v0.35.05 — compact chat header + proper governance bottom sheet */
#fhf-app .fhf-chat-topicbar{position:relative}
#fhf-app .fhf-chat-back{display:inline-flex!important;align-items:center;gap:7px;color:var(--fhf-red,#d20a2e)!important;font-weight:800!important}
#fhf-app .fhf-chat-back i{font-size:13px}
#fhf-app .fhf-chat-more-wrap{position:relative;display:flex;justify-content:flex-end}
#fhf-app .fhf-chat-menu{position:absolute;right:0;top:44px;z-index:75;min-width:220px;background:var(--fhf-card,#fff);border:1px solid var(--fhf-line,#e3e7ea);border-radius:12px;padding:6px;box-shadow:0 14px 36px rgba(22,28,34,.14)}
#fhf-app .fhf-chat-menu[hidden]{display:none!important}
#fhf-app .fhf-chat-menu button{width:100%;display:flex;align-items:center;gap:10px;border:0;background:transparent;border-radius:8px;padding:11px 12px;text-align:left;font-weight:700;color:var(--fhf-text,#22292f);cursor:pointer}
#fhf-app .fhf-chat-menu button:hover{background:rgba(210,10,46,.06);color:var(--fhf-red,#d20a2e)}
#fhf-app .fhf-chat-menu button i{color:var(--fhf-red,#d20a2e)}
#fhf-app .fhf-chat-composer.is-suspended{visibility:hidden!important;pointer-events:none!important}
#fhf-modal-root .fhf-agenda-request-modal{padding-bottom:4px}
#fhf-modal-root .fhf-agenda-request-modal .fhf-section-head{margin-bottom:14px!important}
#fhf-modal-root .fhf-agenda-request-modal form{display:grid;gap:14px}
#fhf-modal-root .fhf-agenda-request-modal #req-save{width:100%;min-height:48px;margin-top:2px}
#fhf-modal-root .fhf-agenda-sheet-handle{display:none}
html[data-fhf-theme="dark"] #fhf-app .fhf-chat-menu{background:#171e26;border-color:#303945;box-shadow:0 14px 38px rgba(0,0,0,.35)}
html[data-fhf-theme="dark"] #fhf-app .fhf-chat-menu button{color:#f2f4f6}
@media(max-width:700px){
 #fhf-app .fhf-chat-topicbar{grid-template-columns:38px minmax(0,1fr) 42px!important;padding:10px 12px!important;min-height:82px}
 #fhf-app .fhf-chat-topicbar .fhf-chat-back{width:38px!important;height:38px!important;font-size:0!important;justify-content:center;padding:0!important}
 #fhf-app .fhf-chat-topicbar .fhf-chat-back::before{content:none!important}
 #fhf-app .fhf-chat-topicbar .fhf-chat-back i{font-size:19px!important}
 #fhf-app .fhf-chat-topicbar .fhf-chat-back span{display:none!important}
 #fhf-app .fhf-chat-topic .fhf-eyebrow{font-size:10px!important;letter-spacing:.12em}
 #fhf-app .fhf-chat-topic h2{font-size:17px!important;line-height:1.2!important}
 #fhf-app .fhf-chat-more{background:#f3f4f5;width:40px;height:40px}
 #fhf-app .fhf-chat-menu{position:fixed;left:14px;right:14px;top:auto;bottom:calc(82px + env(safe-area-inset-bottom));min-width:0;padding:8px;border-radius:16px;z-index:80}
 #fhf-modal-root .fhf-modal-backdrop{z-index:1000!important;background:rgba(18,24,31,.48)!important;align-items:flex-end!important;place-items:end center!important;padding:0!important}
 #fhf-modal-root .fhf-modal{width:100%!important;max-width:none!important;max-height:82dvh!important;border-radius:24px 24px 0 0!important;padding:10px 18px calc(22px + env(safe-area-inset-bottom))!important;overflow:auto!important}
 #fhf-modal-root .fhf-agenda-sheet-handle{display:block;width:42px;height:5px;border-radius:999px;background:#d8dce0;margin:0 auto 12px}
 #fhf-modal-root .fhf-agenda-request-modal .fhf-section-head h2{font-size:22px!important}
}

/* v0.35.06 — Lounge mobile polish from annotated review */
#fhf-app .fhf-dialog-toolbar .fhf-actions{
  gap:10px!important;
}
#fhf-app .fhf-discussion-card{
  padding-left:14px!important;
  padding-right:14px!important;
}
#fhf-app .fhf-chat-message.is-own{
  padding-right:8px;
}
#fhf-app .fhf-chat-message.is-own .fhf-chat-stack{
  max-width:100%;
}
@media(max-width:700px){
  /* Give the two Lounge creation actions visible breathing room. */
  #fhf-app .fhf-dialog-toolbar .fhf-actions{
    gap:8px!important;
  }

  /* Keep discussion summaries aligned close to the Lounge content edge. */
  #fhf-app .fhf-discussion-card{
    padding-left:8px!important;
    padding-right:8px!important;
  }
  #fhf-app .fhf-discussion-main{
    width:100%;
  }

  /* The formal-board action belongs to the ellipsis menu, not a bottom action bar. */
  #fhf-app .fhf-chat-menu{
    position:absolute!important;
    left:auto!important;
    right:0!important;
    top:46px!important;
    bottom:auto!important;
    width:230px!important;
    min-width:230px!important;
    border-radius:14px!important;
    z-index:90!important;
  }

  /* Own opening/reply bubbles stand on their own without repeating avatar/name. */
  #fhf-app .fhf-chat-message.is-own{
    max-width:82%!important;
    padding-right:4px;
  }
}
\n/* v0.35.07 — tighter Lounge detail + sender avatar */\n@media(max-width:700px){\n  /* Remove the generic mobile content top padding between the Lounge page header and thread header. */\n  #fhf-app .fhf-content:has(.fhf-chat-view){\n    padding-top:0!important;\n  }\n  #fhf-app .fhf-chat-view{\n    margin-top:0!important;\n  }\n  /* Sender avatar sits beside own messages without bringing the redundant name back. */\n  #fhf-app .fhf-chat-message.is-own{\n    max-width:88%!important;\n    padding-right:0!important;\n  }\n  #fhf-app .fhf-chat-message.is-own>.fhf-avatar{\n    display:block!important;\n    width:34px!important;\n    height:34px!important;\n    flex:0 0 34px!important;\n    margin:0 0 18px 0!important;\n  }\n}\n
/* v0.35.08 — Lounge spacing + simple messenger presentation */
@media(max-width:700px){
  /* Cancel the generic 14px mobile content top padding for Lounge detail. */
  #fhf-app .fhf-chat-view{margin-top:-14px!important}
  #fhf-app .fhf-chat-thread{padding-top:16px!important}

  /* Simple messenger layout: avatar + bubble + timestamp. */
  #fhf-app .fhf-chat-name{display:none!important}
  #fhf-app .fhf-chat-message{gap:8px!important;max-width:88%!important}
  #fhf-app .fhf-chat-message>.fhf-avatar{display:block!important;width:34px!important;height:34px!important;flex:0 0 34px!important;margin-bottom:18px!important}
  #fhf-app .fhf-chat-message.is-own{padding-right:0!important}
  #fhf-app .fhf-chat-time{margin-top:4px!important}
}

/* v0.35.09 — structural Lounge detail layout (no CSS compensation hacks) */
#fhf-app #fhf-content.fhf-chat-mode{
  padding-top:0!important;
}
#fhf-app #fhf-content.fhf-chat-mode .fhf-chat-view{
  margin-top:0!important;
}
#fhf-app .fhf-chat-avatar{
  width:38px!important;
  height:38px!important;
  flex:0 0 38px!important;
  border-radius:50%!important;
  overflow:hidden!important;
  margin-bottom:18px!important;
}
#fhf-app .fhf-chat-avatar img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}
#fhf-app .fhf-chat-avatar>em{
  display:none!important;
}
@media(max-width:700px){
  #fhf-app #fhf-content.fhf-chat-mode{
    padding-top:0!important;
  }
  #fhf-app #fhf-content.fhf-chat-mode .fhf-chat-view{
    margin-top:0!important;
  }
  #fhf-app .fhf-chat-avatar{
    width:34px!important;
    height:34px!important;
    flex-basis:34px!important;
  }
  #fhf-app .fhf-chat-message.is-own{
    max-width:88%!important;
  }
}

/* v0.35.10 — Lounge becomes a social room rather than an admin register */
body.fhf-lounge-active #fhf-page-header-right{display:none!important}
body.fhf-lounge-active #fhf-page-subtitle{display:none!important}
#fhf-app .fhf-lounge-welcome{padding:4px 0 26px;border-bottom:1px solid var(--fhf-line);display:flex;justify-content:space-between;align-items:flex-end;gap:28px}
#fhf-app .fhf-lounge-welcome>div:first-child>span{font-size:13px;font-weight:800;color:var(--fhf-red,#c8102e)}
#fhf-app .fhf-lounge-welcome h2{font-size:29px;line-height:1.15;margin:5px 0 7px;letter-spacing:-.02em}
#fhf-app .fhf-lounge-welcome p{margin:0;color:var(--fhf-muted);font-size:14px}
#fhf-app .fhf-lounge-actions{display:flex;gap:9px;flex:0 0 auto}
#fhf-app .fhf-lounge-actions button{border:1px solid var(--fhf-line);border-radius:999px;min-height:43px;padding:0 16px;display:flex;align-items:center;gap:8px;font-weight:800;background:var(--fhf-card);color:var(--fhf-ink)}
#fhf-app .fhf-lounge-actions .fhf-lounge-start{background:var(--fhf-red,#c8102e);border-color:var(--fhf-red,#c8102e);color:#fff}
#fhf-app .fhf-lounge-actions i{font-size:16px}
#fhf-app .fhf-lounge-feed{margin-top:26px}
#fhf-app .fhf-lounge-section-head{display:flex;justify-content:space-between;align-items:center;margin:0 0 7px;padding:0 3px}
#fhf-app .fhf-lounge-section-head h3{font-size:16px;margin:0}
#fhf-app .fhf-lounge-section-head>span{font-size:12px;color:var(--fhf-muted)}
#fhf-app .fhf-lounge-discussions{border-top:1px solid var(--fhf-line)}
#fhf-app .fhf-lounge-thread{width:100%;border:0;border-bottom:1px solid var(--fhf-line);background:transparent;color:inherit;display:grid;grid-template-columns:42px minmax(0,1fr) 16px;gap:12px;text-align:left;padding:17px 4px;align-items:start}
#fhf-app .fhf-lounge-thread:hover{background:rgba(20,27,34,.025)}
#fhf-app .fhf-lounge-thread-avatar .fhf-select-avatar{width:42px;height:42px}
#fhf-app .fhf-lounge-thread-avatar .fhf-select-avatar em{display:none}
#fhf-app .fhf-lounge-byline{display:flex;gap:5px;align-items:baseline;flex-wrap:wrap;font-size:11px;color:var(--fhf-muted)}
#fhf-app .fhf-lounge-byline b{font-size:12px;color:var(--fhf-ink)}
#fhf-app .fhf-lounge-thread h4{font-size:18px;margin:4px 0 4px;font-weight:700}
#fhf-app .fhf-lounge-thread p{margin:0;color:var(--fhf-muted);font-size:13px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#fhf-app .fhf-lounge-thread-foot{display:flex;gap:14px;align-items:center;margin-top:9px;color:var(--fhf-muted);font-size:11px}
#fhf-app .fhf-lounge-thread-foot .is-formal{color:var(--fhf-red,#c8102e);font-weight:700}
#fhf-app .fhf-lounge-chevron{align-self:center;color:var(--fhf-muted);font-size:11px}
#fhf-app .fhf-lounge-empty{display:flex;align-items:center;gap:12px;padding:22px 4px;border-bottom:1px solid var(--fhf-line);color:var(--fhf-muted)}
#fhf-app .fhf-lounge-empty>i{font-size:22px}
#fhf-app .fhf-lounge-empty>div{display:flex;flex-direction:column;gap:2px}
#fhf-app .fhf-lounge-empty b{color:var(--fhf-ink);font-size:13px}
#fhf-app .fhf-lounge-empty span{font-size:12px}
#fhf-app .fhf-lounge-poll{padding:17px 4px;border-top:1px solid var(--fhf-line)}
#fhf-app .fhf-lounge-poll-head{display:flex;gap:11px;align-items:flex-start;margin-bottom:10px}
#fhf-app .fhf-lounge-poll-icon{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:rgba(200,16,46,.08);color:var(--fhf-red,#c8102e);flex:0 0 38px}
#fhf-app .fhf-lounge-poll-head h4{font-size:17px;margin:0 0 3px}
#fhf-app .fhf-lounge-poll-head p{font-size:12px;color:var(--fhf-muted);margin:0}
#fhf-app .fhf-lounge-poll-option{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 0;border-top:1px solid var(--fhf-line)}
#fhf-app .fhf-lounge-poll-date{display:flex;flex-direction:column;gap:2px}
#fhf-app .fhf-lounge-poll-date>b{font-size:13px}
#fhf-app .fhf-lounge-poll-date small,#fhf-app .fhf-lounge-poll-date span{font-size:11px;color:var(--fhf-muted)}
#fhf-app .fhf-lounge-poll-date span i{font-size:9px}
html[data-fhf-theme="dark"] #fhf-app .fhf-lounge-thread:hover{background:rgba(255,255,255,.025)}
html[data-fhf-theme="dark"] #fhf-app .fhf-lounge-actions button{background:#171e26;border-color:#303945}
html[data-fhf-theme="dark"] #fhf-app .fhf-lounge-actions .fhf-lounge-start{background:#c8102e;border-color:#c8102e;color:#fff}
@media(max-width:700px){
 body.fhf-lounge-active #fhf-page-head{padding-bottom:15px!important}
 #fhf-app .fhf-lounge-welcome{display:block;padding:0 0 20px}
 #fhf-app .fhf-lounge-welcome h2{font-size:24px;margin-top:4px}
 #fhf-app .fhf-lounge-welcome p{font-size:12px;max-width:310px}
 #fhf-app .fhf-lounge-actions{display:grid;grid-template-columns:1fr 1fr;margin-top:17px;gap:8px}
 #fhf-app .fhf-lounge-actions button{justify-content:center;padding:0 10px;min-height:46px;font-size:13px}
 #fhf-app .fhf-lounge-feed{margin-top:22px}
 #fhf-app .fhf-lounge-thread{grid-template-columns:38px minmax(0,1fr) 12px;gap:10px;padding:15px 0}
 #fhf-app .fhf-lounge-thread-avatar .fhf-select-avatar{width:38px;height:38px}
 #fhf-app .fhf-lounge-byline span{font-size:10px}
 #fhf-app .fhf-lounge-thread h4{font-size:17px}
 #fhf-app .fhf-lounge-thread p{font-size:12px}
 #fhf-app .fhf-lounge-poll{padding-left:0;padding-right:0}
 #fhf-app .fhf-lounge-poll-option{grid-template-columns:1fr;gap:8px}
 #fhf-app .fhf-lounge-poll-option .fhf-poll-answer{display:grid;grid-template-columns:repeat(3,1fr)}
}

/* v0.35.11 — Font Awesome mobile navigation */
#fhf-app .fhf-mobile-nav .fhf-mobile-icon i{
  font-size:23px;
  line-height:1;
  display:block;
}

/* v0.35.12 — functional global search */
#fhf-app .fhf-search{position:relative;overflow:visible!important}
#fhf-app .fhf-global-search-results{position:absolute;z-index:10020;top:calc(100% + 8px);left:0;width:min(520px,calc(100vw - 24px));max-height:min(520px,70vh);overflow:auto;background:var(--fhf-card,#fff);border:1px solid var(--fhf-line,#e1e4e8);border-radius:14px;box-shadow:0 18px 48px rgba(15,23,42,.18);padding:7px}
#fhf-app .fhf-global-search-results[hidden]{display:none!important}
#fhf-app .fhf-global-search-result{width:100%;display:grid;grid-template-columns:32px minmax(0,1fr) 16px;gap:10px;align-items:center;border:0;background:transparent;color:var(--fhf-text,#20242a);text-align:left;padding:10px;border-radius:9px;cursor:pointer}
#fhf-app .fhf-global-search-result:hover,#fhf-app .fhf-global-search-result:focus{background:var(--fhf-soft,#f4f5f7);outline:0}
#fhf-app .fhf-global-search-result>i:first-child{font-size:17px;text-align:center;color:#c8102e}
#fhf-app .fhf-global-search-result>i:last-child{font-size:10px;color:var(--fhf-muted,#8b929b)}
#fhf-app .fhf-global-search-result span{min-width:0;display:grid;gap:2px}
#fhf-app .fhf-global-search-result b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#fhf-app .fhf-global-search-result small{font-size:10.5px;color:var(--fhf-muted,#737b86)}
#fhf-app .fhf-global-search-state{padding:18px 14px;display:grid;gap:4px;font-size:12px;color:var(--fhf-muted,#737b86)}
#fhf-app .fhf-global-search-state b{color:var(--fhf-text,#20242a)}
html[data-fhf-theme="dark"] #fhf-app .fhf-global-search-results{background:#171e26;border-color:#303945;box-shadow:0 18px 48px rgba(0,0,0,.45)}
html[data-fhf-theme="dark"] #fhf-app .fhf-global-search-result{color:#f2f4f6}
html[data-fhf-theme="dark"] #fhf-app .fhf-global-search-result:hover,html[data-fhf-theme="dark"] #fhf-app .fhf-global-search-result:focus{background:#222b35}
@media(max-width:700px){#fhf-app .fhf-global-search-results{position:fixed;top:62px;left:12px;right:12px;width:auto;max-height:60vh}}

/* v0.35.14 — guardian handwritten signature */
#fhf-app .fhf-signature-admin{display:grid;gap:6px}#fhf-app .fhf-signature-admin>span{font-size:12px;font-weight:800;color:var(--muted,#667085);text-transform:uppercase;letter-spacing:.04em}#fhf-app .fhf-signature-admin img,#fhf-app .fhf-signature-preview{display:block;max-width:240px;max-height:90px;object-fit:contain;background:#fff;border:1px solid #dfe3e8;border-radius:8px;padding:6px}#fhf-app .fhf-signature-preview-small{max-width:150px;max-height:56px;margin-top:8px}
/* v0.35.18 — duplicate resolution */
#fhf-app .fhf-duplicate-compare{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}
#fhf-app .fhf-duplicate-compare>div{display:grid;gap:5px;padding:14px;border:1px solid var(--fhf-line);border-radius:12px;background:var(--fhf-card)}
#fhf-app .fhf-duplicate-compare small{font-size:11px;font-weight:800;letter-spacing:.08em;color:var(--fhf-muted)}
#fhf-app .fhf-duplicate-compare span{font-size:13px;color:var(--fhf-muted)}
@media(max-width:700px){#fhf-app .fhf-duplicate-compare{grid-template-columns:1fr}}

/* v0.35.19 – Sagsdialog */
#fhf-app .fhf-case-comments{margin-top:24px;padding-top:18px;border-top:1px solid var(--fhf-border,#d8dce2)}
#fhf-app .fhf-case-comments h3{margin:0 0 6px}
#fhf-app .fhf-case-comment{padding:12px 0;border-bottom:1px solid var(--fhf-border,#d8dce2)}
#fhf-app .fhf-case-comment-author{display:flex;align-items:center;gap:8px;font-size:13px}
#fhf-app .fhf-case-comment-author img{width:28px;height:28px;border-radius:50%;object-fit:cover}
#fhf-app .fhf-case-comment-author small{margin-left:auto;opacity:.65}
#fhf-app .fhf-case-comment p{margin:8px 0 0}
#fhf-app .fhf-case-comment-form{margin-top:14px;display:grid;gap:10px}
#fhf-app .fhf-case-comment-form textarea{width:100%;box-sizing:border-box}
#fhf-app .fhf-case-comment-error{color:#c52a39}

/* 0.35.21: dagsordensrækkefølge */
#fhf-app .fhf-agenda-move{display:inline-flex;align-items:center;gap:5px;flex-wrap:wrap;margin-right:8px}
#fhf-app .fhf-agenda-parent{max-width:220px;min-height:34px;border:1px solid var(--fhf-border,#d5d9df);border-radius:7px;padding:4px;background:var(--fhf-card,#fff);color:inherit}

/* 0.35.22 drag handle for agenda */
#fhf-app .fhf-agenda-item{position:relative}
#fhf-app .fhf-drag-handle{position:absolute;left:6px;top:18px;z-index:3;border:0;background:transparent;color:#7b8795;font-size:25px;cursor:grab;touch-action:none;user-select:none;padding:5px 8px}
#fhf-app .fhf-agenda-item:has(>.fhf-drag-handle)>.fhf-agenda-toggle{padding-left:49px}
#fhf-app .fhf-drag-handle:active{cursor:grabbing}
#fhf-app .fhf-is-dragging{opacity:.5}
#fhf-app .fhf-drop-target{outline:3px dashed #d21b36;outline-offset:2px}

/* v0.35.23 – compact follow-up accordion */
#fhf-app details.fhf-followup-suggestions>summary.fhf-followup-suggestions-head{cursor:pointer;align-items:center;border-bottom:0;list-style:none;user-select:none}
#fhf-app details.fhf-followup-suggestions>summary::-webkit-details-marker{display:none}
#fhf-app details.fhf-followup-suggestions[open]>summary{border-bottom:1px solid var(--fhf-line)}
#fhf-app .fhf-followup-chevron{color:var(--fhf-muted);transition:transform .18s ease;font-size:16px}
#fhf-app details.fhf-followup-suggestions[open] .fhf-followup-chevron{transform:rotate(180deg)}
#fhf-app .fhf-followup-count{margin-left:auto}
#fhf-app .fhf-followup-suggestions-head{flex-direction:row;align-items:center}
@media(max-width:700px){#fhf-app .fhf-followup-suggestions-head{flex-direction:row;align-items:center;gap:10px}#fhf-app .fhf-followup-suggestions-head h3{font-size:14px}#fhf-app .fhf-followup-suggestions-head p{display:none}#fhf-app .fhf-followup-count{min-width:42px;font-size:22px}#fhf-app .fhf-followup-count small{font-size:9px}}

/* v0.35.24: compact approval accordion */
#fhf-app .fhf-approval-card{padding:0;overflow:hidden}
#fhf-app .fhf-approval-collapse{display:block}
#fhf-app .fhf-approval-toggle{list-style:none;display:flex;align-items:center;gap:16px;cursor:pointer;padding:18px 20px}
#fhf-app .fhf-approval-toggle::-webkit-details-marker{display:none}
#fhf-app .fhf-approval-toggle::marker{content:""}
#fhf-app .fhf-approval-toggle .fhf-approval-head{flex:1;min-width:0;align-items:center}
#fhf-app .fhf-approval-toggle .fhf-approval-head h3{margin-top:8px}
#fhf-app .fhf-approval-chevron{color:var(--fhf-muted,#667085);transition:transform .18s}
#fhf-app .fhf-approval-collapse[open] .fhf-approval-chevron{transform:rotate(180deg)}
#fhf-app .fhf-approval-body{padding:0 20px 20px}
#fhf-app .fhf-approval-toggle:focus-visible{outline:2px solid #d21f35;outline-offset:-3px}
@media(max-width:700px){
#fhf-app .fhf-approval-toggle{padding:14px;gap:10px}
#fhf-app .fhf-approval-body{padding:0 14px 14px}
#fhf-app .fhf-approval-toggle .fhf-approval-head{display:flex}
#fhf-app .fhf-approval-toggle .fhf-approval-progress{display:block;margin-top:0}
}

/* v0.35.26 */
#fhf-app .fhf-ga-drag{cursor:grab;user-select:none;touch-action:none;font-size:22px;color:#7a8290;padding:8px;align-self:start}
#fhf-app .fhf-ga-drag:active{cursor:grabbing}
@media(min-width:761px){#fhf-app .fhf-ga-flow-nav{bottom:0!important;margin-bottom:0!important;position:sticky}#fhf-app .fhf-ga-panel{padding-bottom:10px}}

/* v0.35.27 – compact, aligned KUT agenda with indented children */
#fhf-app .fhf-ga-agenda{display:flex;flex-direction:column;gap:10px}
#fhf-app .fhf-ga-agenda-group{display:flex;flex-direction:column;gap:7px;min-width:0}
#fhf-app .fhf-ga-agenda-children{display:flex;flex-direction:column;gap:7px;margin-left:62px;padding-left:18px;border-left:2px solid var(--fhf-line,#e0e4e9)}
#fhf-app .fhf-ga-agenda-item{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:start;column-gap:14px;row-gap:0;padding:13px 16px;min-height:0;box-sizing:border-box}
#fhf-app .fhf-ga-agenda-item:has(> .fhf-ga-drag){grid-template-columns:22px 44px minmax(0,1fr) auto}
#fhf-app .fhf-ga-agenda-item > div:nth-last-child(2){min-width:0}
#fhf-app .fhf-ga-agenda-item .fhf-ga-agenda-no{line-height:1.4;white-space:nowrap}
#fhf-app .fhf-ga-agenda-item h3{margin:2px 0 0;font-size:16px;line-height:1.35}
#fhf-app .fhf-ga-agenda-actions{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px;max-width:none;grid-column:auto}
#fhf-app .fhf-ga-agenda-actions .fhf-mini{white-space:nowrap}
#fhf-app .fhf-ga-drag{padding:4px 0;line-height:1.2;display:flex;align-items:center;justify-content:center}
@media(max-width:900px){
 #fhf-app .fhf-ga-agenda-children{margin-left:30px;padding-left:12px}
 #fhf-app .fhf-ga-agenda-item:has(> .fhf-ga-drag){grid-template-columns:20px 38px minmax(0,1fr)}
 #fhf-app .fhf-ga-agenda-item:not(:has(> .fhf-ga-drag)){grid-template-columns:38px minmax(0,1fr)}
 #fhf-app .fhf-ga-agenda-actions{grid-column:3;justify-content:flex-start;margin-top:8px}
 #fhf-app .fhf-ga-agenda-item:not(:has(> .fhf-ga-drag)) .fhf-ga-agenda-actions{grid-column:2}
}
@media(max-width:600px){
 #fhf-app .fhf-ga-agenda-children{margin-left:16px;padding-left:9px}
 #fhf-app .fhf-ga-agenda-item{padding:11px 10px;column-gap:8px}
 #fhf-app .fhf-ga-agenda-item:has(> .fhf-ga-drag){grid-template-columns:18px 33px minmax(0,1fr)}
 #fhf-app .fhf-ga-agenda-item:not(:has(> .fhf-ga-drag)){grid-template-columns:33px minmax(0,1fr)}
 #fhf-app .fhf-ga-agenda-item h3{font-size:14px}
}

/* 0.35.28 — KUT uses the same visual agenda pattern as KUR meetings */
#fhf-app .fhf-ga-agenda-group{gap:8px}
#fhf-app .fhf-ga-agenda-children{margin-left:46px;padding-left:16px;border-left:2px solid var(--fhf-line,#e0e4e9)}
#fhf-app .fhf-ga-agenda-item.fhf-agenda-item{display:block;position:relative;padding:0;min-height:0;overflow:hidden;border-radius:10px;border:1px solid var(--fhf-line,#e0e4e9);border-left:4px solid #c9ced5;background:var(--fhf-card,#fff)}
#fhf-app .fhf-ga-agenda-item:has(.fhf-type.decision){border-left-color:#dc3545}
#fhf-app .fhf-ga-agenda-item:has(.fhf-type.discussion){border-left-color:#2f80ed}
#fhf-app .fhf-ga-agenda-toggle.fhf-agenda-toggle{width:100%;display:grid!important;grid-template-columns:36px minmax(0,1fr) 26px!important;align-items:center;gap:10px;text-align:left;padding:13px 14px;border:0;background:transparent;color:inherit;cursor:pointer}
#fhf-app .fhf-ga-agenda-item:has(>.fhf-ga-drag)>.fhf-ga-agenda-toggle{padding-left:49px}
#fhf-app .fhf-ga-agenda-item .fhf-ga-drag{position:absolute;top:8px;left:9px;z-index:2;cursor:grab;line-height:1.4}
#fhf-app .fhf-ga-agenda-item .fhf-agenda-number{width:30px;height:30px;border-radius:50%;background:#f1f3f5;color:#262c35;display:grid;place-items:center;font-size:12px;font-weight:800;font-family:inherit}
#fhf-app .fhf-ga-agenda-item .fhf-agenda-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}
#fhf-app .fhf-ga-agenda-item .fhf-agenda-title strong{font-size:14px;font-weight:600;overflow-wrap:anywhere}
#fhf-app .fhf-ga-agenda-item .fhf-ga-agenda-details{padding:6px 16px 16px 60px!important}
#fhf-app .fhf-ga-agenda-item.is-collapsed .fhf-ga-agenda-details{display:none!important}
#fhf-app .fhf-ga-agenda-item .fhf-ga-agenda-actions{display:flex;justify-content:flex-start;flex-wrap:wrap;gap:8px;margin-top:14px}
#fhf-app .fhf-ga-agenda-item .fhf-chevron{transition:transform .15s}
#fhf-app .fhf-ga-agenda-item:not(.is-collapsed) .fhf-chevron{transform:rotate(180deg)}
html[data-fhf-theme="dark"] #fhf-app .fhf-ga-agenda-item.fhf-agenda-item{background:#171e26;border-color:#303945}
html[data-fhf-theme="dark"] #fhf-app .fhf-ga-agenda-item:has(.fhf-type.decision){border-left-color:#c94b59}
html[data-fhf-theme="dark"] #fhf-app .fhf-ga-agenda-item:has(.fhf-type.discussion){border-left-color:#4d7fb9}
@media(max-width:700px){#fhf-app .fhf-ga-agenda-children{margin-left:16px;padding-left:10px}#fhf-app .fhf-ga-agenda-item .fhf-agenda-title{gap:6px}#fhf-app .fhf-ga-agenda-item .fhf-agenda-title strong{font-size:12px}#fhf-app .fhf-ga-agenda-item .fhf-ga-agenda-details{padding:5px 12px 14px 14px!important}}

/* KUT: Orientering er neutral og adskilt fra drøftelse. */
#fhf-app .fhf-ga-agenda-item:has(.fhf-type.orientation){border-left-color:#8b929b}
#fhf-app .fhf-ga-agenda-item .fhf-type.orientation{background:#eef0f2;color:#545c66}
html[data-fhf-theme="dark"] #fhf-app .fhf-ga-agenda-item:has(.fhf-type.orientation){border-left-color:#858d98}
html[data-fhf-theme="dark"] #fhf-app .fhf-ga-agenda-item .fhf-type.orientation{background:#30343b;color:#d0d5db;border-color:#4b515a}

/* SMS administration */
#fhf-app .fhf-sms-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}#fhf-app .fhf-sms-grid section{min-width:0}#fhf-app .fhf-sms-grid label{display:block;margin:12px 0}#fhf-app .fhf-sms-grid select,#fhf-app .fhf-sms-grid textarea,#fhf-app .fhf-sms-grid input:not([type=checkbox]){width:100%;max-width:100%;box-sizing:border-box}#fhf-app .fhf-sms-list{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:9px 0;border-bottom:1px solid var(--fhf-border,#ddd)}#fhf-app .fhf-sms-list b{flex:1}#fhf-app .fhf-sms-auto{margin:14px 0}#fhf-app .fhf-sms-auto textarea{width:100%}#fhf-app .fhf-sms-history>div{display:flex;gap:15px;flex-wrap:wrap;padding:9px 0;border-bottom:1px solid var(--fhf-border,#ddd)}.fhf-sms-picker{max-height:45vh;overflow:auto;display:grid;gap:6px;padding:10px}.fhf-sms-picker label{display:flex;gap:10px;align-items:center}@media(max-width:760px){#fhf-app .fhf-sms-grid{grid-template-columns:1fr}}

/* FH Forening v0.35.36 – SMS workspace and compact searchable list editor */
#fhf-app .fhf-sms-main .fhf-sms-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
#fhf-app .fhf-sms-main h2,#fhf-app .fhf-sms-automation h2,#fhf-app .fhf-sms-history-section h2{font-size:22px;margin:0 0 5px}
#fhf-app .fhf-sms-provider-indicator{display:inline-flex;gap:9px;align-items:center;border:1px solid var(--fhf-line,#e2e6ea);border-radius:30px;padding:9px 13px;font-size:12px;font-weight:700;white-space:nowrap}
#fhf-app .fhf-sms-indicator-dot{display:inline-block;border-radius:50%;width:8px;height:8px;background:#1e9b63}
#fhf-app .fhf-sms-columns{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:32px}
#fhf-app .fhf-sms-columns>section{min-width:0}
#fhf-app .fhf-sms-compose>label,#fhf-app .fhf-sms-field-head>label{font-size:13px;display:block;margin:5px 0 8px;font-weight:750}
#fhf-app .fhf-sms-compose select,#fhf-app .fhf-sms-compose textarea,#fhf-app .fhf-sms-optout select,#fhf-app .fhf-sms-template textarea{width:100%;max-width:100%;box-sizing:border-box;border:1px solid var(--fhf-line,#d7dce4);border-radius:9px;padding:11px 12px;background:var(--fhf-card,#fff);color:inherit;font-size:14px;line-height:1.45}
#fhf-app .fhf-sms-compose textarea{min-height:136px;resize:vertical}
#fhf-app .fhf-sms-field-head{display:flex;align-items:center;justify-content:space-between;margin-top:18px}
#fhf-app .fhf-sms-muted{font-size:12px!important;color:var(--fhf-muted,#68717f);line-height:1.5}
#fhf-app .fhf-sms-merge-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0}
#fhf-app .fhf-sms-merge-controls>span{font-size:12px;color:var(--fhf-muted,#68717f)}
#fhf-app .fhf-sms-token{border:1px solid var(--fhf-line,#d8dee7);background:transparent;color:inherit;padding:7px 12px;font-size:12px;border-radius:22px;cursor:pointer;font-weight:600}
#fhf-app .fhf-sms-token:hover{border-color:#c8102e;color:#c8102e}
#fhf-app .fhf-sms-send-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0 4px}
#fhf-app .fhf-sms-preview{margin-top:16px;border:1px solid var(--fhf-line,#dce0e5);border-radius:12px;padding:16px;background:var(--fhf-card,#fff)}
#fhf-app .fhf-sms-preview[hidden]{display:none!important}
#fhf-app .fhf-sms-preview-title{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:13px}
#fhf-app .fhf-sms-preview-title span{color:var(--fhf-muted,#657080)}
#fhf-app .fhf-sms-preview-sample{margin-top:12px;max-width:560px}
#fhf-app .fhf-sms-preview-sample>span{font-size:12px;color:var(--fhf-muted,#657080)}
#fhf-app .fhf-sms-preview-sample p{background:#ecf6ef;border-radius:15px 15px 15px 4px;padding:12px 15px;margin:7px 0 0!important;font-size:14px;white-space:pre-wrap;color:#263b30}
#fhf-app .fhf-sms-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:13px}
#fhf-app .fhf-sms-section-head h2,#fhf-app .fhf-sms-section-head h3{margin:0}
#fhf-app .fhf-sms-list-row{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid var(--fhf-line,#e1e4e8)}
#fhf-app .fhf-sms-list-mark{height:40px;width:40px;display:grid;place-items:center;flex-shrink:0;border-radius:11px;background:#fff0f2;color:#c8102e}
#fhf-app .fhf-sms-list-desc{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
#fhf-app .fhf-sms-list-desc b{font-size:14px;overflow-wrap:anywhere}
#fhf-app .fhf-sms-list-desc span{font-size:12px;color:var(--fhf-muted,#68717f)}
#fhf-app .fhf-sms-small-button{border:1px solid var(--fhf-line,#e1e5e9);border-radius:9px;width:37px;height:37px;background:transparent;color:inherit;cursor:pointer;display:grid;place-items:center;flex-shrink:0}
#fhf-app .fhf-sms-small-button:hover{color:#c8102e;border-color:#c8102e}
#fhf-app .fhf-sms-optout{margin-top:20px;border-top:1px solid var(--fhf-line,#e1e5e9);padding-top:13px}
#fhf-app .fhf-sms-optout summary{font-size:13px;font-weight:700;cursor:pointer}
#fhf-app .fhf-sms-optout select{margin:12px 0 10px}
#fhf-app .fhf-sms-empty{padding:18px 8px;font-size:13px!important;color:var(--fhf-muted,#68717f)!important}
#fhf-app .fhf-sms-automation #fhf-sms-automation-form{display:grid;gap:10px}
#fhf-app .fhf-sms-template{display:grid;grid-template-columns:175px minmax(0,1fr);align-items:center;gap:15px;padding:12px 0;border-bottom:1px solid var(--fhf-line,#e1e5e9)}
#fhf-app .fhf-sms-template .fhf-sms-checkbox-label{display:flex;align-items:center;gap:9px;font-size:13px;cursor:pointer}
#fhf-app .fhf-sms-template .fhf-sms-checkbox-label input[type=checkbox]{width:17px;height:17px;min-width:17px;appearance:auto;accent-color:#c8102e}
#fhf-app .fhf-sms-template-foot{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:8px}
#fhf-app .fhf-sms-history-row{display:grid;grid-template-columns:165px minmax(110px,1fr) 110px 95px;gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid var(--fhf-line,#e1e5e9);font-size:12px}
#fhf-app .fhf-sms-ok{color:#23865b}
#fhf-app .fhf-sms-failed{color:#c8102e}
#fhf-modal-root .fhf-modal:has(.fhf-sms-list-modal){width:min(680px,96vw);max-height:88dvh;overflow:hidden;padding:0!important;display:flex;flex-direction:column}
#fhf-modal-root .fhf-sms-list-modal{display:flex;flex-direction:column;min-height:0;overflow:hidden;max-height:88dvh;color:inherit}
#fhf-modal-root .fhf-sms-modal-head{display:flex;align-items:start;justify-content:space-between;padding:22px 24px 12px;gap:12px;flex-shrink:0}
#fhf-modal-root .fhf-sms-modal-head h2{font-size:22px;color:inherit;margin:0 0 5px;font-weight:700}
#fhf-modal-root .fhf-sms-modal-head p{margin:0;font-size:13px;color:var(--fhf-muted,#68717f)}
#fhf-modal-root .fhf-sms-close{width:34px;height:34px;border:0;border-radius:50%;background:#eef0f3;color:#303942;font-size:22px;cursor:pointer;flex-shrink:0}
#fhf-modal-root #fhf-sms-list-form{display:flex;flex-direction:column;min-height:0;gap:0}
#fhf-modal-root #fhf-sms-list-form .fhf-sms-modal-name{display:flex;flex-direction:column;font-size:13px;font-weight:700;gap:6px;padding:0 24px 13px}
#fhf-modal-root .fhf-sms-modal-name input{font-size:15px;padding:11px 13px;width:100%;box-sizing:border-box}
#fhf-modal-root .fhf-sms-pick-header{display:flex;gap:12px;align-items:center;padding:0 24px 9px}
#fhf-modal-root .fhf-sms-pick-header strong{font-size:12px;white-space:nowrap;color:#bd1230}
#fhf-modal-root .fhf-sms-searchbox{display:flex;align-items:center;gap:8px;border:1px solid #d8dde5;border-radius:10px;padding:0 12px;flex:1;min-width:0}
#fhf-modal-root .fhf-sms-searchbox i{font-size:13px;color:#8c959f}
#fhf-modal-root .fhf-sms-searchbox input{width:100%;border:0!important;box-shadow:none!important;outline:0!important;font-size:14px;padding:11px 0;background:transparent}
#fhf-modal-root .fhf-sms-picker-toolbar{padding:5px 24px 10px;display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:12px;color:var(--fhf-muted,#6a7580)}
#fhf-modal-root .fhf-sms-picker-toolbar span{margin-right:auto}
#fhf-modal-root .fhf-sms-picker-toolbar button{background:none;border:0;padding:0;color:#c8102e;font-size:12px;cursor:pointer;font-weight:650}
#fhf-modal-root .fhf-sms-pick-list{min-height:90px;max-height:min(47dvh,430px);overflow-y:auto;padding:0 14px 8px 24px;display:block}
#fhf-modal-root .fhf-sms-pick-list label.fhf-sms-member-row{display:flex!important;align-items:center!important;gap:14px!important;padding:11px 9px!important;border-bottom:1px solid #edf0f3;cursor:pointer;min-height:50px;margin:0;grid-template-columns:none!important;font-size:13px;text-align:left}
#fhf-modal-root .fhf-sms-member-row input[type="checkbox"]{display:block!important;appearance:auto!important;box-sizing:border-box!important;width:19px!important;height:19px!important;min-width:19px!important;max-width:19px!important;margin:0!important;padding:0!important;border:1px solid #adb5bd!important;border-radius:4px!important;flex:0 0 19px!important;accent-color:#c8102e;cursor:pointer}
#fhf-modal-root .fhf-sms-member-text{display:flex;flex-direction:column;align-items:flex-start;gap:3px;flex:1;min-width:0;line-height:1.3}
#fhf-modal-root .fhf-sms-member-text strong{font-size:14px;font-weight:650;word-break:break-word}
#fhf-modal-root .fhf-sms-member-text small{font-size:12px;color:#77818e}
#fhf-modal-root .fhf-sms-no-phone{font-size:11px;color:#b56b29;white-space:nowrap}
#fhf-modal-root .fhf-sms-modal-footer{display:flex;gap:9px;align-items:center;justify-content:flex-end;padding:14px 24px;border-top:1px solid #e9edf0;background:inherit}
#fhf-modal-root #fhf-sms-list-error{font-size:12px;color:#bc2538;flex:1}
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-sms-list-modal{background:#1f252e;color:#ebeff5}
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-sms-member-row{border-color:#39424a!important}
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-sms-searchbox{border-color:#4b515f}
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-sms-modal-footer{border-color:#39424a}
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-sms-close{background:#424957;color:#f1f4f9}
html[data-fhf-theme="dark"] #fhf-app .fhf-sms-preview-sample p{background:#253c33;color:#e5f2eb}
@media(max-width:780px){#fhf-app .fhf-sms-columns{grid-template-columns:1fr;gap:25px}#fhf-app .fhf-sms-template{grid-template-columns:1fr;gap:6px}#fhf-app .fhf-sms-history-row{grid-template-columns:repeat(2,minmax(0,1fr))}#fhf-modal-root .fhf-sms-modal-head{padding:18px 16px 12px}#fhf-modal-root #fhf-sms-list-form .fhf-sms-modal-name{padding:0 16px 13px}#fhf-modal-root .fhf-sms-pick-header{padding:0 16px 9px}#fhf-modal-root .fhf-sms-picker-toolbar{padding:5px 16px 10px}#fhf-modal-root .fhf-sms-pick-list{padding:0 12px 6px 16px}#fhf-modal-root .fhf-sms-modal-footer{padding:12px 16px}}
@media(max-width:780px){#fhf-modal-root .fhf-modal:has(.fhf-sms-list-modal){overflow:hidden!important;padding:0!important}}
#fhf-modal-root .fhf-sms-member-row input[type="checkbox"]{min-height:19px!important;max-height:19px!important}
#fhf-app .fhf-sms-template .fhf-sms-checkbox-label input[type="checkbox"]{min-height:17px!important;max-height:17px!important}


/* v0.35.37 – FH Motion UX: shared, restrained feedback and motion system */
:root{--fhf-motion-fast:140ms;--fhf-motion-medium:210ms;--fhf-motion-slow:260ms;--fhf-motion-ease:cubic-bezier(.2,.7,.2,1)}
#fhf-app button:not(:disabled),#fhf-modal-root button:not(:disabled){-webkit-tap-highlight-color:transparent;transition-property:background-color,color,border-color,box-shadow,filter,transform;transition-duration:var(--fhf-motion-fast);transition-timing-function:var(--fhf-motion-ease)}
#fhf-app button:not(:disabled):active,#fhf-modal-root button:not(:disabled):active{transform:scale(.985)}
#fhf-app button:focus-visible,#fhf-modal-root button:focus-visible,#fhf-app a:focus-visible,#fhf-modal-root a:focus-visible{outline:2px solid var(--fhf-red,#c8102e);outline-offset:3px}
#fhf-app button:disabled,#fhf-modal-root button:disabled{cursor:progress;opacity:.65}
@media(hover:hover) and (pointer:fine){
 #fhf-app .fhf-action:hover:not(:disabled),#fhf-modal-root .fhf-action:hover:not(:disabled){filter:brightness(1.06);box-shadow:0 4px 13px rgba(200,16,46,.16)}
 #fhf-app .fhf-meeting-card:hover,#fhf-app .fhf-document-card:hover{box-shadow:0 5px 15px rgba(15,23,42,.06)}
}
/* Page content enters once after an actual DOM replacement, without transforms that could break sticky/fixed elements. */
#fhf-content.fhf-motion-page-enter{animation:fhf-page-reveal 175ms var(--fhf-motion-ease) both}
@keyframes fhf-page-reveal{from{opacity:.65}to{opacity:1}}
/* Dialog on desktop, sheet on mobile. Opening is purely visual and never blocks clicks. */
#fhf-modal-root>.fhf-modal-backdrop{animation:fhf-modal-backdrop-in 180ms ease-out both}
#fhf-modal-root>.fhf-modal-backdrop>.fhf-modal{animation:fhf-modal-card-in 210ms var(--fhf-motion-ease) both}
#fhf-modal-root>.fhf-modal-backdrop.fhf-motion-closing{animation:fhf-modal-backdrop-out 170ms ease-in both;pointer-events:none}
#fhf-modal-root>.fhf-modal-backdrop.fhf-motion-closing>.fhf-modal{animation:fhf-modal-card-out 170ms ease-in both}
@keyframes fhf-modal-backdrop-in{from{opacity:0}to{opacity:1}}
@keyframes fhf-modal-backdrop-out{from{opacity:1}to{opacity:0}}
@keyframes fhf-modal-card-in{from{opacity:.65;transform:translateY(9px) scale(.985)}to{opacity:1;transform:none}}
@keyframes fhf-modal-card-out{from{opacity:1;transform:none}to{opacity:.55;transform:translateY(5px) scale(.99)}}
@media(max-width:760px){
 #fhf-modal-root>.fhf-modal-backdrop>.fhf-modal{animation:fhf-modal-sheet-in var(--fhf-motion-slow) var(--fhf-motion-ease) both}
 #fhf-modal-root>.fhf-modal-backdrop.fhf-motion-closing>.fhf-modal{animation:fhf-modal-sheet-out 170ms ease-in both}
}
@keyframes fhf-modal-sheet-in{from{opacity:.7;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes fhf-modal-sheet-out{from{opacity:1;transform:none}to{opacity:.6;transform:translateY(24px)}}
/* Native details: opening content gains context without changing existing state or scrolling. */
#fhf-app details[open]>.fhf-approval-body,#fhf-app details[open]>.fhf-followup-suggestion-list,#fhf-app details[open]>.fhf-followup-suggestions-foot{animation:fhf-disclosure-in 190ms ease-out both}
@keyframes fhf-disclosure-in{from{opacity:.4;transform:translateY(-4px)}to{opacity:1;transform:none}}
/* Live status for long-running mutations – shown only when request lasts >360 ms. */
#fhf-mutation-status{position:fixed;top:calc(var(--fhf-topbar,66px) + 11px);right:16px;z-index:20000;border:1px solid var(--fhf-line,#e5e7eb);box-shadow:0 7px 22px rgba(0,0,0,.09);background:var(--fhf-card,#fff);color:var(--fhf-ink,#252a30);border-radius:999px;padding:9px 14px;font-size:12px;font-weight:700;display:flex;align-items:center;gap:10px;pointer-events:none}
#fhf-mutation-status[hidden]{display:none!important}
.fhf-motion-spinner{height:14px;width:14px;border:2px solid rgba(127,127,127,.25);border-top-color:var(--fhf-red,#c8102e);border-radius:50%;display:inline-block;animation:fhf-spin .75s linear infinite}
@keyframes fhf-spin{to{transform:rotate(360deg)}}
#fhf-toast-region{position:fixed;bottom:20px;right:20px;z-index:20001;max-width:min(400px,calc(100vw - 28px));pointer-events:none}
.fhf-motion-toast{display:grid;grid-template-columns:24px minmax(0,1fr) 24px;gap:9px;align-items:center;border:1px solid var(--fhf-line,#e5e7eb);border-left:3px solid var(--fhf-red,#c8102e);padding:12px 13px;border-radius:12px;background:var(--fhf-card,#fff);color:var(--fhf-ink,#222);box-shadow:0 8px 25px rgba(12,20,28,.14);font-size:13px;line-height:1.35;pointer-events:auto;animation:fhf-toast-in 190ms var(--fhf-motion-ease) both}
.fhf-motion-toast.success{border-left-color:#258d61}.fhf-motion-toast.error{border-left-color:#c8102e}
.fhf-motion-toast>span:first-child{font-size:17px;color:var(--fhf-red,#c8102e)}
.fhf-motion-toast.success>span:first-child{color:#258d61}
.fhf-motion-toast button{border:0;background:none;color:inherit;font-size:22px;line-height:1;cursor:pointer;padding:0}
@keyframes fhf-toast-in{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}
@media(max-width:700px){#fhf-toast-region{left:14px;right:14px;bottom:calc(84px + env(safe-area-inset-bottom,0px));max-width:none}#fhf-mutation-status{top:calc(var(--fhf-topbar,58px) + 8px);right:10px}}
/* If the user requests reduced motion, state changes are immediate; focus and feedback remain visible. */
@media(prefers-reduced-motion:reduce){
 :root{--fhf-motion-fast:0ms;--fhf-motion-medium:0ms;--fhf-motion-slow:0ms}
 #fhf-app *,#fhf-app *::before,#fhf-app *::after,#fhf-modal-root *,#fhf-modal-root *::before,#fhf-modal-root *::after,
 #fhf-toast-region *,#fhf-mutation-status *,#fhf-content.fhf-motion-page-enter{
  animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important
 }
}

/* Activity indicator on the actual action button, shown only during slow requests. */
#fhf-app button.fhf-motion-working,#fhf-modal-root button.fhf-motion-working{pointer-events:none;cursor:progress}
#fhf-app button.fhf-motion-working::after,#fhf-modal-root button.fhf-motion-working::after{content:'';width:11px;height:11px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;display:inline-block;margin-inline-start:8px;vertical-align:middle;animation:fhf-spin .7s linear infinite;opacity:.85;flex-shrink:0}

/* v0.35.38 – Members UX phase 2: legible contact information and quick missing-phone filter */
#fhf-app .fhf-member-row{grid-template-columns:minmax(180px,1.5fr) minmax(85px,.75fr) minmax(75px,.65fr) minmax(122px,1fr) minmax(94px,.8fr) minmax(110px,.95fr) 28px;gap:12px;align-items:center}
#fhf-app .fhf-member-row .fhf-member-phone-cell{font-size:13px;color:var(--fhf-text);overflow-wrap:anywhere}
#fhf-app .fhf-member-phone-empty{display:inline-flex;align-items:center;gap:6px;color:#b42339!important;font-weight:650;font-size:12px}
#fhf-app .fhf-member-phone-mobile{display:none}
#fhf-app .fhf-member-fastbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:14px 0 10px}
#fhf-app .fhf-member-phone-quick{display:inline-flex;align-items:center;gap:9px;border:1px solid var(--fhf-line);background:var(--fhf-card);color:var(--fhf-text);border-radius:999px;padding:8px 13px;font-size:13px;font-weight:600;cursor:pointer;transition:background-color .14s ease,border-color .14s ease}
#fhf-app .fhf-member-phone-quick strong{min-width:22px;min-height:22px;display:grid;place-items:center;border-radius:50%;background:var(--fhf-soft);font-size:12px}
#fhf-app .fhf-member-phone-quick.active,#fhf-app .fhf-member-phone-quick[aria-pressed=true]{border-color:#bc233d;background:#fff0f3;color:#a51431}
#fhf-app .fhf-member-phone-quick:focus-visible{outline:3px solid #e77e8e;outline-offset:2px}
#fhf-app .fhf-member-results{color:var(--fhf-muted);font-size:13px;font-weight:550}
#fhf-app .fhf-member-filters{grid-template-columns:repeat(6,minmax(115px,1fr)) auto}
@media(max-width:1100px){#fhf-app .fhf-member-row{grid-template-columns:minmax(145px,1.45fr) minmax(75px,.7fr) minmax(70px,.7fr) minmax(110px,1fr) minmax(80px,.75fr) minmax(85px,.8fr) 20px;gap:7px;padding-left:10px;padding-right:10px}#fhf-app .fhf-member-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){#fhf-app .fhf-member-row.fhf-member-row-clickable{grid-template-columns:minmax(0,1fr) auto!important;gap:8px 12px}#fhf-app .fhf-member-row-clickable .fhf-member-phone-cell{display:none!important}#fhf-app .fhf-member-row-clickable .fhf-member-phone-mobile{display:inline-flex!important;align-items:center;gap:6px;margin-top:7px;font-size:13px;font-weight:550;color:var(--fhf-text)}#fhf-app .fhf-member-results{font-size:12px}#fhf-app .fhf-member-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){#fhf-app .fhf-member-filters{grid-template-columns:1fr}}
html[data-fhf-theme=dark] #fhf-app .fhf-member-phone-quick.active{background:#44202b;color:#ffd7df;border-color:#db6580}
html[data-fhf-theme=dark] #fhf-app .fhf-member-phone-empty{color:#ff899d!important}
@media(prefers-reduced-motion:reduce){#fhf-app .fhf-member-phone-quick{transition:none!important}}

/* v0.35.39: modtagerbaseret frem for telefonbaseret SMS-fletning */
#fhf-app .fhf-sms-shared-note{padding:10px 12px;margin:12px 0;border-radius:9px;background:var(--fhf-surface-secondary,#f6f7f9);border:1px solid var(--fhf-line,#e0e4e9);font-size:13px;line-height:1.5}
#fhf-app .fhf-sms-shared-details{margin:10px 0;font-size:13px}
#fhf-app .fhf-sms-shared-details>summary{cursor:pointer;font-weight:650;padding:5px 0}
#fhf-app .fhf-sms-shared-list>div{display:flex;gap:12px;align-items:flex-start;flex-wrap:wrap;padding:7px 0;border-bottom:1px solid var(--fhf-line,#dce0e5)}
#fhf-app .fhf-sms-shared-list strong{font-weight:600}
#fhf-app .fhf-sms-shared-list span{color:var(--fhf-muted,#657080)}

/* FH Forening v0.35.40 – KUT, valg og kontrollerede afstemninger */
.fhf-tally-overview{display:flex;flex-wrap:wrap;gap:8px 12px;margin:10px 0 13px}
.fhf-tally-overview>span{display:inline-flex;gap:4px;align-items:center;background:var(--fhf-bg-soft,#f6f7f9);border:1px solid var(--fhf-border,#e6e9ef);border-radius:9px;padding:6px 10px;font-size:12px;line-height:1.3}
.fhf-tally-overview>span b{font-weight:800;font-size:14px;font-variant-numeric:tabular-nums}
.fhf-ga-approved{font-size:12px;color:#177447;display:flex;gap:7px;align-items:center;margin:8px 0}
.fhf-ga-resolution-area{margin-top:28px;padding-top:16px;border-top:1px solid var(--fhf-border,#e3e8f0)}
.fhf-ga-resolution-area .fhf-section-head h3{margin:0 0 4px;font-size:16px}
.fhf-ga-resolution{margin-top:12px}
.fhf-ga-minutes-link{margin-top:18px;background:var(--fhf-card,#fff);border:1px solid var(--fhf-border,#e2e8f0);border-radius:15px;padding:17px 20px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.fhf-ga-minutes-link b{font-weight:800}.fhf-ga-minutes-link p{margin:3px 0 0}
.fhf-ga-minutes-link button{white-space:nowrap}
.fhf-ga-confirm{display:grid;gap:12px}.fhf-ga-confirm p{margin:0}
.fhf-ga-confirm .fhf-checkline{display:flex!important;align-items:center!important;gap:10px!important;padding:12px!important;border:1px solid var(--fhf-border,#e2e8f0)!important;border-radius:10px!important;cursor:pointer}
.fhf-ga-confirm .fhf-checkline input[type="checkbox"]{width:18px!important;height:18px!important;flex:0 0 18px!important;margin:0!important;accent-color:#c8102e}
@media(max-width:720px){.fhf-ga-minutes-link{flex-direction:column;align-items:stretch}.fhf-ga-minutes-link button{width:100%}.fhf-election-head{gap:10px}.fhf-election-actions{flex-wrap:wrap}.fhf-tally-overview>span{font-size:11px}}
@media(prefers-reduced-motion:reduce){.fhf-tally-overview,.fhf-ga-minutes-link{animation:none!important;transition:none!important}}


/* v0.35.41 – Member detail: full record, iOS scroll container and persistent actions. */
/* Generic dialogs render in document.body so workspace stacking contexts cannot
   place the fixed bottom navigation above a dialog. */
body > #fhf-modal-root > .fhf-modal-backdrop{
  z-index:110000!important;
  overscroll-behavior:contain;
}
#fhf-modal-root .fhf-modal:has(.fhf-member-ajax-modal){
  display:flex!important;flex-direction:column!important;
  width:min(820px,calc(100vw - 24px))!important;
  height:min(90dvh,850px)!important;max-height:90dvh!important;
  overflow:hidden!important;padding:0!important;
  background:var(--fhf-card,#fff);
}
#fhf-modal-root .fhf-member-ajax-modal{display:flex;flex-direction:column;min-height:0;height:100%;width:100%;overflow:hidden;color:var(--fhf-ink,#262a2e)}
#fhf-modal-root .fhf-member-ajax-modal > .fhf-member-quick-head{
  flex:0 0 auto;padding:20px 22px 16px;margin:0!important;
  border-bottom:1px solid var(--fhf-line,#e8ebef);background:var(--fhf-card,#fff)
}
#fhf-modal-root .fhf-member-quick-head >div{min-width:0}
#fhf-modal-root .fhf-member-quick-head h2{overflow-wrap:anywhere}
#fhf-modal-root .fhf-member-record-body{
  flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;
  -webkit-overflow-scrolling:touch;overscroll-behavior:contain;
  padding:4px 22px 25px;touch-action:pan-y;
}
#fhf-modal-root .fhf-member-record-body:focus{outline:none}
#fhf-modal-root .fhf-member-record-body:focus-visible{outline:2px solid var(--fhf-red,#c8102e);outline-offset:-3px}
#fhf-modal-root .fhf-member-record-section{padding:18px 0 20px;border-bottom:1px solid var(--fhf-line,#e8ebef)}
#fhf-modal-root .fhf-member-record-section:last-child{border:0}
#fhf-modal-root .fhf-member-record-section h3{font-size:16px;margin:0 0 12px;font-weight:700;color:inherit}
#fhf-modal-root .fhf-member-record-section .fhf-section-head h3{margin:0}
#fhf-modal-root .fhf-member-record-section .fhf-section-head{margin-bottom:12px}
#fhf-modal-root .fhf-member-ajax-modal .fhf-profile-facts{margin:0;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;overflow:visible!important;border-radius:0!important}
#fhf-modal-root .fhf-member-ajax-modal .fhf-member-fact{
  min-width:0;min-height:0!important;background:var(--fhf-bg,#f8f9fa)!important;
  padding:13px 14px!important;border-radius:11px!important;
  border:1px solid var(--fhf-line,#e8ebef)!important
}
#fhf-modal-root .fhf-member-ajax-modal .fhf-member-fact-wide{grid-column:1 / -1}
#fhf-modal-root .fhf-member-ajax-modal .fhf-member-fact span{display:block;font-size:12px;margin-bottom:7px;color:var(--fhf-muted,#68717f)!important}
#fhf-modal-root .fhf-member-ajax-modal .fhf-member-fact b{display:block;font-size:14px;line-height:1.45;overflow-wrap:anywhere;white-space:pre-wrap;font-weight:650;color:inherit}
#fhf-modal-root .fhf-member-ajax-modal .fhf-member-fact .fhf-member-value-missing{color:var(--fhf-muted,#75808b)!important;font-weight:400;font-style:italic}
#fhf-modal-root .fhf-member-ajax-modal .fhf-signature-preview{display:block;max-width:100%;height:auto;max-height:100px;object-fit:contain}
#fhf-modal-root .fhf-member-modal-actions{
  display:flex!important;grid-template-columns:none!important;flex:0 0 auto;
  margin:0!important;padding:12px 22px calc(12px + env(safe-area-inset-bottom,0px))!important;
  background:var(--fhf-card,#fff);border-top:1px solid var(--fhf-line,#e8ebef)!important;
  gap:10px;align-items:center;justify-content:flex-end;
}
#fhf-modal-root .fhf-member-modal-actions #editmember{flex:1 1 auto;min-height:47px;font-size:14px}
#fhf-modal-root .fhf-member-modal-actions #deletemember{flex:0 0 auto;min-height:47px}
@media(max-width:760px){
 #fhf-modal-root .fhf-modal:has(.fhf-member-ajax-modal){
  width:100%!important;max-width:none!important;
  height:92dvh!important;max-height:92dvh!important;
  border-radius:22px 22px 0 0!important;padding:0!important;
 }
 #fhf-modal-root .fhf-member-ajax-modal > .fhf-member-quick-head{padding:18px 16px 14px}
 #fhf-modal-root .fhf-member-record-body{padding:2px 16px 16px}
 #fhf-modal-root .fhf-member-ajax-modal .fhf-profile-facts{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 #fhf-modal-root .fhf-member-modal-actions{padding:12px 16px calc(13px + env(safe-area-inset-bottom,0px))!important}
 #fhf-modal-root .fhf-member-modal-actions #deletemember{font-size:12px}
}
@media(max-width:350px){#fhf-modal-root .fhf-member-ajax-modal .fhf-profile-facts{grid-template-columns:1fr!important}}
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-member-ajax-modal{color:#eef2f6}
html[data-fhf-theme="dark"] #fhf-modal-root .fhf-member-ajax-modal .fhf-member-fact{background:#242b33!important;border-color:#3c444d!important}
