/* ==========================================================================
   FinMinion header + slide-in navigation dock — extracted from the role-dashboards
   template (header.topbar.fm-head and the .sd dock). Scoped under .fm-tpl.
   Markup lives in Components/Layout/MainLayout.razor.
   ========================================================================== */
.fm-tpl { --topbar-h: 64px; }
.fm-tpl a.sd-item { text-decoration: none; }
.fm-tpl .topbar{height:var(--topbar-h);background:var(--surface);border-bottom:1px solid var(--border);display:flex;align-items:center;gap:.85rem;padding:0 1.2rem;position:sticky;top:env(safe-area-inset-top,0px);z-index:30;}
.fm-tpl .icon-btn{width:36px;height:36px;border-radius:9px;border:1px solid var(--border);background:var(--surface);color:var(--text-muted);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;position:relative;transition:all var(--ease);}
.fm-tpl .icon-btn:hover{background:var(--navy-tint-soft);color:var(--navy-700);border-color:var(--navy-tint);}
.fm-tpl .icon-btn .dot{position:absolute;top:-4px;right:-4px;min-width:15px;height:15px;padding:0 3px;border-radius:20px;background:var(--red);color:#fff;font-size:.58rem;font-weight:800;display:flex;align-items:center;justify-content:center;border:2px solid var(--surface);}
.fm-tpl .user-chip{display:flex;align-items:center;gap:.55rem;padding:.25rem .55rem .25rem .25rem;border-radius:999px;border:1px solid var(--border);cursor:pointer;position:relative;}
.fm-tpl .user-chip:hover{background:var(--navy-tint-soft);}
.fm-tpl #btnCollapse{border-radius:11px;background:var(--navy-900);border-color:var(--navy-900);color:#fff;width:40px;height:40px}
.fm-tpl #btnCollapse:hover{background:var(--navy-800);border-color:var(--navy-800);color:#fff}
.fm-tpl #btnMobileNav{display:none!important}
@media(max-width:991px){
.fm-tpl #btnCollapse{display:none!important}
}
.fm-tpl #btnCollapse{display:none!important}
@media(min-width:992px){
.fm-tpl #btnCollapse{display:inline-flex!important;align-items:center;justify-content:center}
.fm-tpl #btnCollapse .icon{transition:transform .25s ease}
}
@media(max-width:991px){
.fm-tpl #btnCollapse{display:none!important}
}
@media(prefers-reduced-motion:reduce){
.fm-tpl #btnCollapse .icon{transition:none!important;animation:none!important}
}
.fm-tpl .topbar{height:66px;padding:0 1.4rem;gap:.8rem;background:rgba(255,255,255,.96);border-bottom:1px solid #e3eaf0;box-shadow:0 2px 9px rgba(15,42,65,.025)}
.fm-tpl .icon-btn{border-radius:10px;background:#fff;border-color:#e2e9ef;color:#587084}
.fm-tpl .icon-btn:hover{background:#f1f6f9;border-color:#cedde8;color:#1d5c8b}
.fm-tpl .topbar #btnCollapse{width:37px;height:37px;background:#f2f6f9;border:1px solid #e1e9ef;color:#47677f}
.fm-tpl .topbar #btnCollapse:hover{background:#e7f0f6;color:#143e61}
.fm-tpl .user-chip{border-radius:11px;background:#fff;border-color:#e4eaf0}
.fm-tpl .topbar .avatar{border-radius:9px!important}
.fm-tpl .icon-btn:focus-visible{outline:3px solid rgba(211,161,66,.55);outline-offset:2px}
@media(max-width:991px){
.fm-tpl .topbar{height:60px;padding-inline:1rem}
}
@media(max-width:560px){
.fm-tpl .topbar{height:56px;padding-inline:.75rem;gap:.48rem}
}
.fm-tpl .topbar{background:rgba(255,253,249,.97);border-bottom-color:#e7e0d6;box-shadow:0 2px 9px rgba(47,37,43,.025)}
.fm-tpl .icon-btn{background:#fffdf9;border-color:#e7e0d6;color:#71636c}
.fm-tpl .icon-btn:hover{background:#f3eef2;border-color:#d4c7d0;color:#644c5c}
.fm-tpl .user-chip{background:#fffdf9;border-color:#e7e0d6}
.fm-tpl .topbar{background:rgba(255,255,255,.85)!important;backdrop-filter:blur(10px);border-bottom:1px solid var(--fx-line)!important}
.fm-tpl .icon-btn .dot{background:#ef4444!important}
.fm-tpl .topbar{background:#fff!important;backdrop-filter:none!important;height:64px!important;border-bottom:1px solid #e1e6ef!important;box-shadow:0 1px 0 rgba(11,20,38,.02)!important}
.fm-tpl .topbar .search input{background:#f3f5f9!important;border:1px solid #e1e6ef!important}
.fm-tpl .topbar .icon-btn{border:1px solid #e1e6ef!important;background:#fff!important;color:#3a4560!important}
.fm-tpl .topbar .icon-btn .dot{background:#c9a94f!important;color:#0b1426!important;border-color:#fff!important}
.fm-tpl .topbar{position:sticky;height:72px!important;padding:0 1.4rem!important;gap:.8rem!important;background:linear-gradient(105deg,rgba(255,255,255,.98),rgba(246,248,252,.96))!important;border-bottom:1px solid #e1e7f0!important;box-shadow:0 8px 24px rgba(20,40,65,.055)!important;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
.fm-tpl .topbar:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:linear-gradient(90deg,transparent 2%,rgba(211,170,77,.12) 13%,rgba(211,170,77,.72) 27%,rgba(106,151,193,.48) 60%,rgba(106,151,193,.08) 88%,transparent 100%);pointer-events:none}
.fm-tpl .topbar #btnCollapse,
.fm-tpl .topbar #btnMobileNav{width:39px;height:39px;border:1px solid #dbe3ee!important;border-radius:12px!important;background:linear-gradient(145deg,#fff,#f1f5fa)!important;color:#294866!important;box-shadow:0 3px 8px rgba(24,49,77,.06);transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.fm-tpl .topbar #btnCollapse:hover,
.fm-tpl .topbar #btnMobileNav:hover{transform:translateY(-1px);background:#fff!important;box-shadow:0 7px 15px rgba(24,49,77,.1)}
.fm-tpl .topbar .search{width:min(410px,38vw);margin-left:.2rem}
.fm-tpl .topbar .search input{height:42px;padding-left:2.45rem;border:1px solid #e1e7f0!important;border-radius:13px!important;background:#fff!important;box-shadow:0 3px 10px rgba(20,40,65,.04);font-size:.82rem!important;transition:border-color .18s,box-shadow .18s}
.fm-tpl .topbar .search>.icon{left:.88rem;color:#b18c43}
.fm-tpl .topbar .search input:focus{border-color:#bd9a53!important;box-shadow:0 0 0 4px rgba(201,169,79,.13),0 4px 12px rgba(20,40,65,.055)!important}
.fm-tpl .topbar .icon-btn:not(#btnCollapse):not(#btnMobileNav){width:39px;height:39px;border:1px solid #e2e8f0!important;border-radius:12px!important;background:linear-gradient(145deg,#fff,#f7f9fc)!important;color:#435d78!important;box-shadow:0 3px 8px rgba(24,49,77,.045)}
.fm-tpl .topbar .icon-btn:not(#btnCollapse):not(#btnMobileNav):hover{background:#fff!important;color:#183b5e!important;border-color:#d1dce8!important;box-shadow:0 7px 15px rgba(24,49,77,.09)}
.fm-tpl .topbar .icon-btn .dot{top:-4px;right:-4px;min-width:18px;height:18px;padding:0 4px;background:linear-gradient(135deg,#f0d584,#d6ae59)!important;color:#2a3545!important;border:2px solid #fff!important;box-shadow:0 2px 5px rgba(19,39,63,.12);font-size:.58rem}
.fm-tpl .topbar #userChip{min-height:42px;padding:.28rem .58rem .28rem .32rem;border:1px solid #dce4ed!important;border-radius:13px!important;background:#fff!important;box-shadow:0 3px 9px rgba(24,49,77,.055);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.fm-tpl .topbar #userChip:hover{transform:translateY(-1px);border-color:#d7c18f!important;box-shadow:0 8px 18px rgba(24,49,77,.09)}
.fm-tpl .topbar #userChip>.avatar{width:32px;height:32px;border-radius:10px!important;background:linear-gradient(145deg,#244c70,#132b46)!important;color:#f5e4b5;box-shadow:0 3px 8px rgba(19,43,70,.18)}
.fm-tpl .topbar #userChip>.icon{color:#8794a6!important}
.fm-tpl .topbar #userMenu{top:50px!important;border:1px solid #e2e8f0!important;border-radius:14px!important;box-shadow:0 18px 42px rgba(18,38,62,.17)!important}
@media(max-width:991px){
.fm-tpl .topbar{height:64px!important;padding-inline:1rem!important}
.fm-tpl .topbar .search{display:none}
}
@media(max-width:560px){
.fm-tpl .topbar{height:58px!important;padding-inline:.7rem!important;gap:.45rem!important}
.fm-tpl .topbar #btnCollapse,
.fm-tpl .topbar #btnMobileNav,
.fm-tpl .topbar .icon-btn:not(#btnCollapse):not(#btnMobileNav){width:36px;height:36px}
.fm-tpl .topbar>div[style*="margin-left:auto"]>div[style*="width:1px"]{display:none!important}
.fm-tpl .topbar #userChip{min-height:36px;padding:.2rem!important;background:transparent!important;border-color:transparent!important;box-shadow:none!important}
.fm-tpl .topbar #userChip>div:nth-child(2),
.fm-tpl .topbar #userChip>.icon{display:none}
.fm-tpl .topbar #userChip>.avatar{width:34px;height:34px}
}
@media(prefers-reduced-motion:reduce){
.fm-tpl .topbar .icon-btn,
.fm-tpl .topbar #userChip{transition:none!important}
}
.fm-tpl .rd-role{display:inline-flex;align-items:center;gap:2px;padding:3px;border:1px solid var(--border);border-radius:11px;background:var(--surface-2)}
.fm-tpl .rd-role-cap{font-size:.55rem;font-weight:800;letter-spacing:.09em;color:var(--text-soft);padding:0 .5rem 0 .4rem}
.fm-tpl .rd-role button{border:0;background:transparent;color:var(--text-muted);font:inherit;font-size:.72rem;font-weight:800;padding:.42rem .7rem;border-radius:8px;cursor:pointer;white-space:nowrap;transition:background .15s,color .15s}
.fm-tpl .rd-role button:hover{color:var(--text)}
@media(max-width:1100px){
.fm-tpl .rd-role-cap{display:none}
}
@media(max-width:860px){
.fm-tpl .rd-role button{padding:.4rem .5rem;font-size:.66rem}
}
.fm-tpl header.topbar.fm-head{position:sticky!important;top:0;z-index:40;height:74px!important;padding:0 1.5rem!important;gap:.9rem!important;display:flex;align-items:center;border:0!important;
  background:radial-gradient(900px 140px at 12% -40%,rgba(227,205,148,.22),transparent 70%),linear-gradient(100deg,#08142b 0%,#12203f 52%,#1b3560 100%)!important;
  box-shadow:0 12px 32px rgba(8,20,43,.24)!important;color:#fff}
.fm-tpl header.topbar.fm-head::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:linear-gradient(90deg,transparent,#e3cd94 18%,#c9a548 50%,#e3cd94 82%,transparent)}
.fm-tpl .fm-head .icon-btn{width:40px;height:40px;border-radius:12px!important;background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.14)!important;color:#e9eef7!important;box-shadow:none!important;position:relative;transition:background .16s,transform .16s}
.fm-tpl .fm-head .icon-btn:hover{background:rgba(255,255,255,.14)!important;transform:translateY(-1px)}
.fm-tpl .fm-head .icon-btn .icon{color:#e9eef7}
.fm-tpl .fm-head .icon-btn .dot{top:-5px!important;right:-5px!important;border:2px solid #12203f!important}
.fm-tpl .fh-brand{display:flex;align-items:center;gap:.65rem;flex:none}
.fm-tpl .fh-mark{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;font-weight:900;font-size:.85rem;letter-spacing:.02em;color:#14213d;background:linear-gradient(145deg,#f3e2ad,#c9a548);box-shadow:0 6px 16px rgba(201,165,72,.35),inset 0 1px 0 rgba(255,255,255,.6)}
.fm-tpl .fh-brand b{display:block;color:#fff;font-size:1rem;font-weight:800;letter-spacing:-.02em;line-height:1.1}
.fm-tpl .fh-brand small{display:block;color:#e3cd94;font-size:.62rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase;margin-top:.15rem}
.fm-tpl .fh-sep{width:1px;height:30px;background:linear-gradient(180deg,transparent,rgba(255,255,255,.28),transparent);flex:none}
.fm-tpl .fm-head .fh-search{flex:1 1 260px;min-width:220px;max-width:440px;margin:0 auto 0 .6rem;position:relative;display:flex;align-items:center}
.fm-tpl .fm-head .fh-search .icon{position:absolute;left:.9rem;width:16px;height:16px;color:#93a4c0}
.fm-tpl .fm-head .fh-search input{width:100%;height:42px;padding:0 3rem 0 2.5rem;border-radius:13px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.07);color:#fff;font:inherit;font-size:.8rem;outline:0;transition:all .16s}
.fm-tpl .fm-head .fh-search input::placeholder{color:#8c9db9}
.fm-tpl .fm-head .fh-search input:focus{background:rgba(255,255,255,.12);border-color:#e3cd94;box-shadow:0 0 0 3px rgba(227,205,148,.18)}
.fm-tpl .fm-head .fh-search kbd{position:absolute;right:.7rem;font:inherit;font-size:.62rem;font-weight:800;color:#b8c4d8;border:1px solid rgba(255,255,255,.2);border-radius:6px;padding:.1rem .4rem;background:rgba(255,255,255,.06)}
.fm-tpl .fh-right{margin-left:auto;display:flex;align-items:center;gap:.6rem;flex:none}
.fm-tpl .fm-head .rd-role{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.14);border-radius:13px;padding:3px}
.fm-tpl .fm-head .rd-role-cap{color:#93a4c0}
.fm-tpl .fm-head .rd-role button{color:#b8c4d8;border-radius:10px}
.fm-tpl .fm-head .rd-role button:hover{color:#fff}
.fm-tpl .rd-role .sm{display:none}
.fm-tpl .fh-fy{font-size:.66rem;font-weight:800;letter-spacing:.06em;color:#e3cd94;border:1px solid rgba(227,205,148,.35);background:rgba(227,205,148,.08);border-radius:20px;padding:.4rem .75rem;white-space:nowrap}
.fm-tpl .fh-ws{display:flex;align-items:center;gap:.6rem;padding:.3rem .8rem .3rem .35rem;border-radius:13px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.05);min-width:0}
.fm-tpl .fh-ws-av{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;font-size:.68rem;font-weight:900;color:#fff;background:linear-gradient(145deg,#3b82c4,#1c63ab);flex:none}
.fm-tpl .fh-ws b{display:block;color:#fff;font-size:.76rem;font-weight:800;line-height:1.15;white-space:nowrap;max-width:150px;overflow:hidden;text-overflow:ellipsis}
.fm-tpl .fh-ws small{display:block;color:#93a4c0;font-size:.62rem;font-weight:700;white-space:nowrap}
.fm-tpl header.topbar.fm-head #userChip{min-height:46px;padding:.28rem .7rem .28rem .3rem!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:14px!important;background:rgba(255,255,255,.08)!important;box-shadow:none!important;color:#fff;position:relative;display:flex;align-items:center;gap:.6rem;cursor:pointer}
.fm-tpl header.topbar.fm-head #userChip:hover{background:rgba(255,255,255,.15)!important;border-color:#e3cd94!important;transform:none}
.fm-tpl header.topbar.fm-head #userChip>.avatar{width:36px;height:36px;border-radius:11px!important;background:linear-gradient(145deg,#f3e2ad,#c9a548)!important;color:#14213d!important;box-shadow:none;font-weight:900}
.fm-tpl header.topbar.fm-head #userChip .cell-sub{color:#e3cd94!important;font-size:.63rem;font-weight:800}
.fm-tpl header.topbar.fm-head #userChip>div>div:first-child{color:#fff}
.fm-tpl header.topbar.fm-head #userChip>.icon{color:#b8c4d8!important}
@media(min-width:992px){
.fm-tpl .fh-mark{display:none}
}
@media(max-width:1550px){
.fm-tpl .fh-fy,
.fm-tpl .rd-role-cap{display:none}
}
@media(max-width:1350px){
.fm-tpl .fh-ws{display:none}
}
@media(max-width:1180px){
.fm-tpl .fh-fy,
.fm-tpl .rd-role-cap{display:none}
}
@media(max-width:991px){
.fm-tpl header.topbar.fm-head{height:66px!important;padding:0 1rem!important}
.fm-tpl .fm-head .fh-search,
.fm-tpl .fh-sep{display:none}
}
@media(max-width:640px){
.fm-tpl header.topbar.fm-head{padding:0 .6rem!important;gap:.4rem!important}
.fm-tpl .fh-brand>div{display:none}
.fm-tpl .fm-head .icon-btn{width:36px;height:36px}
.fm-tpl .rd-role .lg{display:none}
.fm-tpl .rd-role .sm{display:inline}
.fm-tpl .fm-head .rd-role button{padding:.38rem .5rem;font-size:.64rem}
.fm-tpl header.topbar.fm-head #userChip>div:not(.avatar):not(#userMenu),
.fm-tpl header.topbar.fm-head #userChip>.icon{display:none}
.fm-tpl header.topbar.fm-head #userChip{padding:.25rem!important;min-height:0}
.fm-tpl .fh-right{gap:.35rem}
}
.fm-tpl header.topbar.fm-head label.search.fh-search{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;height:auto!important;width:auto}
.fm-tpl header.topbar.fm-head .fh-search input{background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important;box-shadow:none!important;border-radius:13px!important;height:42px!important}
.fm-tpl header.topbar.fm-head .fh-search input:focus{background:rgba(255,255,255,.13)!important;border-color:#e3cd94!important;box-shadow:0 0 0 3px rgba(227,205,148,.2)!important}
@media(max-width:1280px){
.fm-tpl header.topbar.fm-head .fh-sep{display:none!important}
}
@media(max-width:1100px){
.fm-tpl header.topbar.fm-head .fh-search{min-width:140px}
.fm-tpl header.topbar.fm-head .fh-brand>div small{display:none}
}
.fm-tpl header.topbar.fm-head .icon-btn{background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.16)!important;color:#e9eef7!important;border-radius:12px!important;box-shadow:none!important}
.fm-tpl header.topbar.fm-head .icon-btn:hover{background:rgba(255,255,255,.16)!important}
.fm-tpl header.topbar.fm-head .icon-btn svg,
.fm-tpl header.topbar.fm-head .icon-btn .icon{stroke:#e9eef7!important;color:#e9eef7!important}
.fm-tpl header.topbar.fm-head button.icon-btn:not(#x):not(#y):not(#z){background:rgba(255,255,255,.1)!important;background-image:none!important;border-color:rgba(255,255,255,.18)!important}
.fm-tpl header.topbar.fm-head button.icon-btn:not(#x):not(#y):not(#z) svg{stroke:#f3e2ad!important}
.fm-tpl #btnMobileNav{display:none!important}
.fm-tpl header.topbar.fm-head{height:68px!important;padding:0 1.6rem!important;gap:1.1rem!important}
.fm-tpl header.topbar.fm-head .fh-sep,
.fm-tpl header.topbar.fm-head .fh-search,
.fm-tpl header.topbar.fm-head .fh-fy,
.fm-tpl header.topbar.fm-head .fh-ws,
.fm-tpl header.topbar.fm-head #roleSwitch,
.fm-tpl header.topbar.fm-head #btnMobileNav{display:none!important}
.fm-tpl header.topbar.fm-head .fh-mark{display:grid!important;width:36px;height:36px;border-radius:11px}
.fm-tpl header.topbar.fm-head .fh-brand{gap:.7rem}
.fm-tpl header.topbar.fm-head .fh-brand small{display:none}
.fm-tpl header.topbar.fm-head .fh-right{margin-left:0;gap:.55rem}
.fm-tpl header.topbar.fm-head #userChip{min-height:0;padding:.2rem!important;border-radius:50%!important;border-color:rgba(255,255,255,.2)!important}
.fm-tpl header.topbar.fm-head #userChip>div:not(.avatar):not(#userMenu),
.fm-tpl header.topbar.fm-head #userChip>.icon{display:none!important}
.fm-tpl header.topbar.fm-head #userChip>.avatar{width:34px;height:34px;border-radius:50%!important}
.fm-tpl header.topbar.fm-head .icon-btn{border-radius:50%!important;border-color:transparent!important;background:transparent!important}
.fm-tpl header.topbar.fm-head .icon-btn:hover{background:rgba(255,255,255,.12)!important}
@media(max-width:991px){
.fm-tpl header.topbar.fm-head{height:62px!important;padding:0 .9rem!important;gap:.7rem!important}
.fm-tpl header.topbar.fm-head .fh-right{margin-left:auto}
}
@media(max-width:560px){
.fm-tpl header.topbar.fm-head .fh-brand>div{display:none}
}
.fm-tpl header.topbar.fm-head #btnCollapse{display:inline-flex!important;align-items:center;gap:.6rem;width:auto!important;height:40px!important;padding:0 1.05rem 0 .9rem!important;border-radius:999px!important;background:linear-gradient(145deg,#f3e2ad,#d9b451)!important;border:0!important;color:#14213d!important;font:800 .8rem 'DM Sans',sans-serif;letter-spacing:.03em;box-shadow:0 6px 16px rgba(201,165,72,.35)!important;cursor:pointer;transform:none}
.fm-tpl header.topbar.fm-head #btnCollapse:hover{filter:brightness(1.05)}
.fm-tpl .dk-burger{position:relative;width:18px;height:12px;display:block}
.fm-tpl .dk-burger i{position:absolute;left:0;height:2px;border-radius:2px;background:#14213d;transition:transform .35s cubic-bezier(.65,0,.25,1),opacity .2s,width .3s,top .3s}
.fm-tpl .dk-burger i:nth-child(1){top:0;width:100%}
.fm-tpl .dk-burger i:nth-child(2){top:5px;width:62%}
.fm-tpl .dk-burger i:nth-child(3){top:10px;width:100%}
.fm-tpl #btnCollapse.open .dk-burger i:nth-child(1){top:5px;transform:rotate(45deg)}
.fm-tpl #btnCollapse.open .dk-burger i:nth-child(2){opacity:0}
.fm-tpl #btnCollapse.open .dk-burger i:nth-child(3){top:5px;transform:rotate(-45deg)}
@media(max-width:560px){
.fm-tpl header.topbar.fm-head #btnCollapse{padding:0!important;width:40px!important;justify-content:center}
.fm-tpl #btnCollapse .dk-lbl{display:none}
}
.fm-tpl .dk-scrim{position:fixed;inset:0;z-index:180;background:linear-gradient(90deg,rgba(8,20,43,.5),rgba(8,20,43,.1) 60%);opacity:0;visibility:hidden;transition:opacity .35s,visibility 0s linear .35s}
.fm-tpl .dk-scrim.open{opacity:1;visibility:visible;transition:opacity .35s,visibility 0s}
.fm-tpl .sd{position:fixed;z-index:200;left:14px;top:80px;bottom:14px;width:252px;max-width:calc(100vw - 28px);display:flex;flex-direction:column;overflow:hidden;
  border-radius:30px;background:linear-gradient(160deg,rgba(18,32,63,.92),rgba(8,20,43,.94));backdrop-filter:blur(20px) saturate(160%);-webkit-backdrop-filter:blur(20px) saturate(160%);
  border:1px solid rgba(255,255,255,.14);box-shadow:0 30px 70px rgba(4,12,28,.55),inset 0 1px 0 rgba(255,255,255,.12);
  transform:translateX(-125%) scale(.92);transform-origin:0 0;opacity:0;visibility:hidden;transition:transform .35s cubic-bezier(.4,0,1,1),opacity .2s,visibility 0s linear .35s}
.fm-tpl .sd.open{transform:none;opacity:1;visibility:visible;transition:transform .6s cubic-bezier(.34,1.45,.5,1),opacity .25s,visibility 0s}
.fm-tpl .sd-list{flex:1;overflow-y:auto;overflow-x:hidden;padding:12px 10px 6px}
.fm-tpl .sd-list::-webkit-scrollbar{width:4px}
.fm-tpl .sd-list::-webkit-scrollbar-thumb{background:rgba(255,255,255,.2);border-radius:4px}
.fm-tpl .sd-gl{padding:12px 10px 6px;font:800 .56rem 'DM Sans',sans-serif;letter-spacing:.18em;text-transform:uppercase;color:#7f93b3;opacity:0;transition:opacity .3s}
.fm-tpl .sd.open .sd-gl{opacity:1;transition:opacity .5s ease calc(.15s + var(--i)*.03s)}
.fm-tpl .sd-gl:first-child{padding-top:4px}
.fm-tpl .sd-item{position:relative;width:100%;display:flex;align-items:center;gap:12px;padding:5px 10px 5px 5px;border:0;border-radius:18px;background:none;color:#c9d6ea;text-align:left;cursor:pointer;font-family:inherit;
  transform-origin:0 50%;opacity:0;transform:translateX(-26px)}
.fm-tpl .sd.open .sd-item{opacity:1;transform:scale(var(--s,1));transition:opacity .4s ease calc(.1s + var(--i)*.03s),transform .55s cubic-bezier(.34,1.45,.5,1) calc(.1s + var(--i)*.03s),background .2s,color .2s}
.fm-tpl .sd.open.mag .sd-item{transition:transform .12s ease-out,background .2s,color .2s,opacity .2s}
.fm-tpl .sd-ic{width:42px;height:42px;flex:none;border-radius:14px;display:grid;place-items:center;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);transition:background .2s,color .2s,box-shadow .2s}
.fm-tpl .sd-ic svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.fm-tpl .sd-nm{flex:1;min-width:0;font:700 .84rem 'DM Sans',sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fm-tpl .sd-bd{font:800 .6rem 'DM Sans',sans-serif;padding:.12rem .5rem;border-radius:99px;background:rgba(240,173,40,.2);color:#ffd36e}
.fm-tpl .sd-item:hover,
.fm-tpl .sd-item:focus-visible{background:rgba(255,255,255,.08);color:#fff;outline:none}
.fm-tpl .sd-item:hover .sd-ic,
.fm-tpl .sd-item.cur .sd-ic{background:linear-gradient(145deg,#f3e2ad,#d9b451);color:#14213d;border-color:transparent;box-shadow:0 8px 20px rgba(217,180,81,.4)}
.fm-tpl .sd-item:focus-visible .sd-ic{outline:2px solid #f3e2ad;outline-offset:2px}
.fm-tpl .sd-item.cur{color:#fff}
.fm-tpl .sd-item.cur::after{content:"";position:absolute;right:12px;top:50%;width:6px;height:6px;margin-top:-3px;border-radius:50%;background:#e3cd94}
.fm-tpl .sd-item.cur .sd-bd{margin-right:14px}
.fm-tpl .sd-foot{flex-shrink:0;padding:10px 14px 14px;border-top:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.03)}
.fm-tpl .sd-me{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.fm-tpl .sd-av{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;font:800 .68rem Manrope,sans-serif;color:#14213d;background:linear-gradient(145deg,#f3e2ad,#c9a548)}
.fm-tpl .sd-me b{display:block;color:#fff;font-size:.78rem;line-height:1.2}
.fm-tpl .sd-me span{font-size:.66rem;color:#93a4c0}
.fm-tpl .sd-out{margin-left:auto;border:1px solid rgba(255,255,255,.2);background:none;color:#ffb3c0;font:800 .68rem 'DM Sans',sans-serif;border-radius:99px;padding:.4rem .7rem;cursor:pointer}
.fm-tpl .sd-out:hover{background:rgba(214,69,95,.2)}
.fm-tpl .sd-foot .rd-role{display:flex;width:100%;background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.14);border-radius:14px}
.fm-tpl .sd-foot .rd-role button{flex:1;justify-content:center;color:#b8c4d8;font-size:.66rem;padding:.4rem .2rem}
.fm-tpl .sd-foot .rd-role button:hover{color:#fff}
.fm-tpl .sd-foot .rd-role-cap{display:none!important}
.fm-tpl .sd-foot .rd-role .lg{display:none}
.fm-tpl .sd-foot .rd-role .sm{display:inline}
@media(max-width:700px){
.fm-tpl .sd{left:8px;top:70px;bottom:8px;width:min(290px,calc(100vw - 16px))}
}
@media(prefers-reduced-motion:reduce){
.fm-tpl .sd,
.fm-tpl .sd-item,
.fm-tpl .sd-gl,
.fm-tpl .dk-scrim{transition:none!important}
.fm-tpl .sd-item,
.fm-tpl .sd-gl{opacity:1;transform:none}
}
.fm-tpl header.topbar.fm-head{top:12px!important;margin:12px 18px 0!important;height:64px!important;padding:0 .8rem 0 .7rem!important;gap:1rem!important;border-radius:22px!important;
  background:linear-gradient(120deg,rgba(9,20,42,.92),rgba(20,38,74,.9))!important;-webkit-backdrop-filter:blur(18px) saturate(150%);backdrop-filter:blur(18px) saturate(150%);
  border:1px solid rgba(255,255,255,.12)!important;box-shadow:0 18px 40px rgba(8,20,43,.28),inset 0 1px 0 rgba(255,255,255,.1)!important;overflow:visible;
  transition:top .3s,margin .3s,height .3s,box-shadow .3s,border-radius .3s}
.fm-tpl header.topbar.fm-head::after{left:26px;right:26px;bottom:-1px;height:1px;background:linear-gradient(90deg,transparent,rgba(227,205,148,.9),transparent);opacity:.75;background-size:200% 100%;animation:hdrSheen 6s linear infinite}
.fm-tpl header.topbar.fm-head .fh-mark{box-shadow:0 0 0 3px rgba(227,205,148,.18),0 8px 20px rgba(201,165,72,.45),inset 0 1px 0 rgba(255,255,255,.6)}
.fm-tpl header.topbar.fm-head .fh-brand b{letter-spacing:-.03em}
.fm-tpl header.topbar.fm-head .icon-btn{width:40px;height:40px}
.fm-tpl header.topbar.fm-head .icon-btn .dot{animation:hdrDot 2s ease-in-out infinite}
.fm-tpl header.topbar.fm-head #userChip{border:0!important;background:none!important}
.fm-tpl header.topbar.fm-head #userChip::after{content:"";position:absolute;right:1px;bottom:1px;width:10px;height:10px;border-radius:50%;background:#34d399;border:2px solid #14264a}
.fm-tpl header.topbar.fm-head #userChip>.avatar{box-shadow:0 0 0 2px #14264a,0 0 0 4px #e3cd94!important;transition:transform .3s cubic-bezier(.34,1.45,.5,1)}
.fm-tpl header.topbar.fm-head #userChip:hover>.avatar{transform:scale(1.08) rotate(-4deg)}
.fm-tpl header.topbar.fm-head #btnCollapse{position:relative;overflow:hidden}
.fm-tpl header.topbar.fm-head #btnCollapse::before{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.65) 50%,transparent 70%);transform:translateX(-120%);transition:transform .7s}
.fm-tpl header.topbar.fm-head #btnCollapse:hover::before{transform:translateX(120%)}
@media(max-width:991px){
.fm-tpl header.topbar.fm-head{margin:8px 10px 0!important;top:8px!important;height:58px!important}
}
.fm-tpl .sd{top:100px!important}
@media(max-width:700px){
.fm-tpl .sd{top:80px!important}
}
.fm-tpl .sd-list{position:relative}
.fm-tpl .sd-item:hover,
.fm-tpl .sd-item:focus-visible{background:none!important}
.fm-tpl .sd-item{z-index:1}
.fm-tpl .sd-item.cur::before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:4px;border-radius:0 4px 4px 0;background:#e3cd94;box-shadow:0 0 12px rgba(227,205,148,.8)}
.fm-tpl .sd::before{content:"";position:absolute;inset:0;pointer-events:none;z-index:3;background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.16) 50%,transparent 65%);transform:translateX(-130%)}
.fm-tpl .sd.open::before{transform:translateX(130%);transition:transform 1s ease .15s}
.fm-tpl .sd-item{overflow:hidden}
@media(prefers-reduced-motion:reduce){
.fm-tpl header.topbar.fm-head::after{animation:none!important;transition:none!important}
}
.fm-tpl header.topbar.fm-head::after,
.fm-tpl header.topbar.fm-head .icon-btn .dot{animation:none!important}
.fm-tpl header.topbar.fm-head #btnCollapse::before{display:none!important}
.fm-tpl .sd::before,
.fm-tpl .sd.open::before{display:none!important}
.fm-tpl header.topbar.fm-head #userChip:hover>.avatar{transform:none}
.fm-tpl header.topbar.fm-head{
  background:linear-gradient(180deg,rgba(255,255,255,.86),rgba(255,255,255,.74))!important;
  -webkit-backdrop-filter:blur(20px) saturate(170%);backdrop-filter:blur(20px) saturate(170%);
  border:1px solid rgba(255,255,255,.9)!important;
  box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 14px 34px rgba(20,38,74,.10),0 2px 6px rgba(20,38,74,.05)!important;color:#14213d}
.fm-tpl header.topbar.fm-head::after{left:40px;right:40px;bottom:0;height:1px;opacity:1;background:linear-gradient(90deg,transparent,rgba(201,165,72,.55),transparent)}
.fm-tpl header.topbar.fm-head .fh-brand b{color:#0e1c3a!important;font-size:1.05rem}
.fm-tpl header.topbar.fm-head .fh-mark{background:linear-gradient(145deg,#12203f,#22406f);color:#f3e2ad;box-shadow:0 8px 18px rgba(18,32,63,.28),inset 0 1px 0 rgba(255,255,255,.2)}
.fm-tpl header.topbar.fm-head button.icon-btn:not(#x):not(#y):not(#z):not(#w){background:transparent!important;border:0!important;color:#3a4a68!important;box-shadow:none!important}
.fm-tpl header.topbar.fm-head button.icon-btn:not(#x):not(#y):not(#z):not(#w):hover{background:#eef1f8!important}
.fm-tpl header.topbar.fm-head button.icon-btn:not(#x):not(#y):not(#z):not(#w) svg{stroke:#3a4a68!important;color:#3a4a68!important}
.fm-tpl header.topbar.fm-head .icon-btn .dot{border:2px solid #fff!important;top:2px!important;right:2px!important}
.fm-tpl header.topbar.fm-head #userChip::after{border-color:#fff}
.fm-tpl header.topbar.fm-head #userChip>.avatar{box-shadow:0 0 0 2px #fff,0 0 0 4px #e3cd94!important}
.fm-tpl header.topbar.fm-head button#btnCollapse.icon-btn:not(#x):not(#y):not(#z):not(#w){
  display:inline-flex!important;align-items:center;gap:.65rem;width:auto!important;height:42px!important;padding:0 1.15rem 0 1rem!important;border-radius:999px!important;
  background:linear-gradient(145deg,#12203f,#22406f)!important;color:#fff!important;border:0!important;
  font:800 .82rem 'DM Sans',sans-serif;letter-spacing:.04em;box-shadow:0 10px 22px rgba(18,32,63,.32),inset 0 1px 0 rgba(255,255,255,.18)!important;
  transition:transform .25s cubic-bezier(.34,1.45,.5,1),box-shadow .25s}
.fm-tpl header.topbar.fm-head button#btnCollapse.icon-btn:not(#x):not(#y):not(#z):not(#w):hover{background:linear-gradient(145deg,#182b52,#2a4c82)!important;transform:translateY(-2px);box-shadow:0 14px 26px rgba(18,32,63,.36),inset 0 1px 0 rgba(255,255,255,.2)!important}
.fm-tpl header.topbar.fm-head #btnCollapse .dk-lbl{color:#fff!important}
.fm-tpl header.topbar.fm-head #btnCollapse .dk-burger i{background:#e3cd94!important}
@media(max-width:560px){
.fm-tpl header.topbar.fm-head button#btnCollapse.icon-btn:not(#x):not(#y):not(#z):not(#w){padding:0!important;width:42px!important;justify-content:center}
}
.fm-tpl header.topbar.fm-head{
  background:none!important;border:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  height:60px!important;margin:14px 20px 0!important;padding:0!important;gap:.8rem!important;overflow:visible;pointer-events:none}
.fm-tpl header.topbar.fm-head::after{display:none!important}
.fm-tpl header.topbar.fm-head>*{pointer-events:auto}
.fm-tpl header.topbar.fm-head .fh-brand,
.fm-tpl header.topbar.fm-head .fh-right{
  background:rgba(255,255,255,.82)!important;-webkit-backdrop-filter:blur(16px) saturate(160%);backdrop-filter:blur(16px) saturate(160%);
  border:1px solid rgba(255,255,255,.95)!important;border-radius:999px!important;
  box-shadow:0 12px 30px rgba(20,38,74,.12),0 2px 6px rgba(20,38,74,.05),inset 0 1px 0 #fff!important;
  transition:box-shadow .3s,transform .3s}
.fm-tpl header.topbar.fm-head .fh-brand{height:46px;padding:0 1.15rem 0 .35rem;gap:.6rem}
.fm-tpl header.topbar.fm-head .fh-mark{width:34px;height:34px;border-radius:50%}
.fm-tpl header.topbar.fm-head .fh-brand b{font-size:.98rem}
.fm-tpl header.topbar.fm-head .fh-right{margin-left:auto!important;height:46px;padding:0 .4rem 0 .5rem;gap:.15rem!important}
.fm-tpl header.topbar.fm-head .fh-right .icon-btn{width:38px;height:38px}
.fm-tpl header.topbar.fm-head #userChip{margin-left:.2rem}
@media(max-width:991px){
.fm-tpl header.topbar.fm-head{margin:10px 12px 0!important;height:52px!important}
.fm-tpl header.topbar.fm-head .fh-brand,
.fm-tpl header.topbar.fm-head .fh-right{height:42px}
}
@media(max-width:560px){
.fm-tpl header.topbar.fm-head .fh-brand{padding:0 .35rem}
}
.fm-tpl header.topbar.fm-head{
  position:sticky!important;top:0!important;z-index:40;height:68px!important;margin:0!important;padding:0 1.6rem!important;gap:1.1rem!important;
  background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;pointer-events:auto;
  transition:background .35s,box-shadow .35s,backdrop-filter .35s}
.fm-tpl header.topbar.fm-head .fh-brand,
.fm-tpl header.topbar.fm-head .fh-right{
  position:static!important;transform:none!important;height:auto!important;margin:0!important;padding:0!important;
  background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important}
.fm-tpl header.topbar.fm-head .fh-brand{display:flex;align-items:center;gap:.6rem}
.fm-tpl header.topbar.fm-head .fh-mark{width:30px;height:30px}
.fm-tpl header.topbar.fm-head .fh-brand b{font-size:.95rem;color:#0e1c3a!important}
.fm-tpl header.topbar.fm-head .fh-brand::after{content:"";width:1px;height:20px;margin-left:.6rem;background:rgba(20,38,74,.16)}
.fm-tpl header.topbar.fm-head .fh-right{margin-left:auto!important;display:flex;align-items:center;gap:.2rem!important}
.fm-tpl header.topbar.fm-head #userChip{margin-left:.5rem}
.fm-tpl header.topbar.fm-head #userChip>.avatar{box-shadow:0 0 0 2px #fff,0 4px 12px rgba(20,38,74,.18)!important}
.fm-tpl header.topbar.fm-head #userChip::after{border-color:#f1f4fa}
.fm-tpl header.topbar.fm-head .icon-btn .dot{border-color:#f1f4fa!important}
.fm-tpl header.topbar.fm-head button#btnCollapse.icon-btn:not(#x):not(#y):not(#z):not(#w){
  height:38px!important;padding:0 1rem 0 .85rem!important;background:rgba(18,32,63,.07)!important;color:#0e1c3a!important;
  box-shadow:inset 0 0 0 1px rgba(18,32,63,.12)!important;font-size:.8rem}
.fm-tpl header.topbar.fm-head button#btnCollapse.icon-btn:not(#x):not(#y):not(#z):not(#w):hover{background:#12203f!important;color:#fff!important;transform:none;box-shadow:0 8px 18px rgba(18,32,63,.25)!important}
.fm-tpl header.topbar.fm-head #btnCollapse .dk-lbl{color:inherit!important}
.fm-tpl header.topbar.fm-head #btnCollapse .dk-burger i{background:#0e1c3a!important;transition:background .2s,transform .35s cubic-bezier(.65,0,.25,1),opacity .2s,width .3s,top .3s}
.fm-tpl header.topbar.fm-head #btnCollapse:hover .dk-burger i{background:#e3cd94!important}
.fm-tpl .sd{top:76px!important}
@media(max-width:991px){
.fm-tpl header.topbar.fm-head{height:60px!important;padding:0 1rem!important}
}
@media(max-width:560px){
.fm-tpl header.topbar.fm-head .fh-brand>div,
.fm-tpl header.topbar.fm-head .fh-brand::after{display:none}
}
.fm-tpl header.topbar.fm-head{
  position:relative!important;top:auto!important;height:72px!important;margin:0!important;
  padding:.4rem 1.6rem 0 calc(1.6rem + 108px)!important;   
  background:transparent!important;box-shadow:none!important;border:0!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important}
.fm-tpl header.topbar.fm-head::after{display:none!important}
.fm-tpl header.topbar.fm-head .fh-right{margin-left:auto!important}
.fm-tpl header.topbar.fm-head button#btnCollapse.icon-btn:not(#x):not(#y):not(#z):not(#w){
  position:fixed!important;z-index:150;top:17px;left:1.6rem;margin:0;
  background:rgba(255,255,255,.78)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  box-shadow:inset 0 0 0 1px rgba(18,32,63,.1),0 6px 16px rgba(20,38,74,.1)!important}
.fm-tpl header.topbar.fm-head button#btnCollapse.icon-btn:not(#x):not(#y):not(#z):not(#w):hover{background:#12203f!important;color:#fff!important}
@media(max-width:991px){
.fm-tpl header.topbar.fm-head{height:64px!important;padding:.3rem 1rem 0 calc(1rem + 52px)!important}
.fm-tpl header.topbar.fm-head button#btnCollapse.icon-btn:not(#x):not(#y):not(#z):not(#w){top:13px;left:1rem}
}
@media(min-width:561px) and (max-width:991px){
.fm-tpl header.topbar.fm-head{padding-left:calc(1rem + 108px)!important}
}
.fm-tpl header.topbar.fm-head .fh-right{
  position:fixed!important;z-index:150;top:15px;right:1.6rem;left:auto;margin:0!important;height:42px!important;
  display:flex!important;align-items:center;gap:.15rem!important;padding:0 .35rem 0 .55rem!important;border-radius:999px!important;
  background:rgba(255,255,255,.78)!important;-webkit-backdrop-filter:blur(10px)!important;backdrop-filter:blur(10px)!important;
  box-shadow:inset 0 0 0 1px rgba(18,32,63,.1),0 6px 16px rgba(20,38,74,.1)!important}
@media(max-width:991px){
.fm-tpl header.topbar.fm-head .fh-right{top:11px;right:1rem}
}
.fm-tpl header.topbar.fm-head{
  position:sticky!important;top:0!important;z-index:60;height:72px!important;margin:0!important;padding:0 1.6rem!important;
  border:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
.fm-tpl header.topbar.fm-head{background:transparent!important}
.fm-tpl header.topbar.fm-head button#btnCollapse.icon-btn:not(#x):not(#y):not(#z):not(#w){
  position:relative!important;top:auto;left:auto;
  background:rgba(18,32,63,.07)!important;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:inset 0 0 0 1px rgba(18,32,63,.12)!important}
.fm-tpl header.topbar.fm-head button#btnCollapse.icon-btn:not(#x):not(#y):not(#z):not(#w):hover{background:#12203f!important;color:#fff!important}
.fm-tpl header.topbar.fm-head .fh-right{
  position:static!important;top:auto;right:auto;height:auto!important;margin-left:auto!important;padding:0!important;
  background:none!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border-radius:0!important}
@media(max-width:991px){
.fm-tpl header.topbar.fm-head{height:64px!important;padding:0 1rem!important}
.fm-tpl header.topbar.fm-head .fh-right{top:auto;right:auto}
}
.fm-tpl header.topbar.fm-head{background:transparent!important}
.fm-tpl header.topbar.fm-head::before,
.fm-tpl header.topbar.fm-head::after{display:none!important}
.fm-tpl header.topbar.fm-head{
  position:fixed!important;top:0!important;left:0!important;right:0!important;width:auto!important;z-index:160;
  height:72px!important;padding:0 1.6rem!important;
  background:linear-gradient(180deg,#f3f5f9 0,#f3f5f9 64%,rgba(243,245,249,.85) 80%,rgba(243,245,249,0) 100%)!important}
.fm-tpl header.topbar.fm-head button#btnCollapse.icon-btn:not(#x):not(#y):not(#z):not(#w){
  display:inline-flex!important;align-items:center;gap:.7rem;height:42px!important;padding:0 1.25rem 0 1.05rem!important;border-radius:999px!important;
  background:linear-gradient(145deg,#0f1d3b,#264776)!important;color:#fff!important;border:0!important;
  font:800 .84rem 'DM Sans',sans-serif;letter-spacing:.05em;
  box-shadow:0 10px 22px rgba(18,32,63,.34),inset 0 1px 0 rgba(255,255,255,.22),inset 0 0 0 1px rgba(255,255,255,.06)!important;
  transition:transform .25s cubic-bezier(.34,1.45,.5,1),box-shadow .25s,background .25s}
.fm-tpl header.topbar.fm-head button#btnCollapse.icon-btn:not(#x):not(#y):not(#z):not(#w):hover{
  background:linear-gradient(145deg,#f3e2ad,#d9b451)!important;color:#14213d!important;transform:translateY(-2px);
  box-shadow:0 14px 26px rgba(201,165,72,.42),inset 0 1px 0 rgba(255,255,255,.5)!important}
.fm-tpl header.topbar.fm-head #btnCollapse .dk-lbl{color:inherit!important}
.fm-tpl header.topbar.fm-head #btnCollapse .dk-burger i{background:#e3cd94!important}
.fm-tpl header.topbar.fm-head #btnCollapse:hover .dk-burger i{background:#14213d!important}
.fm-tpl header.topbar.fm-head #btnCollapse.open .dk-burger i{background:#e3cd94!important}
.fm-tpl .sd{top:80px!important}
@media(max-width:991px){
.fm-tpl header.topbar.fm-head{height:64px!important;padding:0 1rem!important}
.fm-tpl .sd{top:72px!important}
}
@media(max-width:560px){
.fm-tpl header.topbar.fm-head button#btnCollapse.icon-btn:not(#x):not(#y):not(#z):not(#w){padding:0!important;width:42px!important;justify-content:center}
}
.fm-tpl header.topbar.fm-head #btnCollapse .dk-lbl{display:none!important}
.fm-tpl header.topbar.fm-head button#btnCollapse.icon-btn:not(#x):not(#y):not(#z):not(#w){min-width:132px;justify-content:center;gap:0}
.fm-tpl header.topbar.fm-head #btnCollapse .dk-burger{width:24px;height:16px}
.fm-tpl header.topbar.fm-head #btnCollapse .dk-burger i{height:2.4px;border-radius:3px}
.fm-tpl header.topbar.fm-head #btnCollapse .dk-burger i:nth-child(2){top:6.8px;width:66%}
.fm-tpl header.topbar.fm-head #btnCollapse .dk-burger i:nth-child(3){top:13.6px}
.fm-tpl header.topbar.fm-head #btnCollapse.open .dk-burger i:nth-child(1),
.fm-tpl header.topbar.fm-head #btnCollapse.open .dk-burger i:nth-child(3){top:6.8px}
@media(max-width:560px){
.fm-tpl header.topbar.fm-head button#btnCollapse.icon-btn:not(#x):not(#y):not(#z):not(#w){min-width:0}
}
@keyframes hdrSheen{from{background-position:200% 0}to{background-position:-200% 0}}
@keyframes hdrDot{50%{transform:scale(1.18)}}
/* keep the header (and its menu/close button) above the dock scrim */
.fm-tpl header.topbar.fm-head { z-index: 210 !important; }

/* ---- click motion (ported from the template) -------------------------------------------- */
/* sliding highlight that follows the pointer */
.fm-tpl .sd-list { position: relative; }
.fm-tpl .sd-hl {
    position: absolute; left: 10px; right: 10px; top: 0; height: 52px; border-radius: 18px; pointer-events: none; opacity: 0;
    background: linear-gradient(100deg, rgba(227, 205, 148, .22), rgba(255, 255, 255, .06)); border: 1px solid rgba(227, 205, 148, .28);
    transition: transform .32s cubic-bezier(.34, 1.45, .5, 1), height .25s, opacity .2s;
}
.fm-tpl .sd-hl.on { opacity: 1; }
.fm-tpl .sd-item { position: relative; z-index: 1; overflow: hidden; }
.fm-tpl .sd-item:hover, .fm-tpl .sd-item:focus-visible { background: none !important; }
.fm-tpl .sd-item.cur::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: #e3cd94; box-shadow: 0 0 12px rgba(227, 205, 148, .8); }

/* ripple (menu button + items) */
.fx-rip { position: absolute; border-radius: 50%; pointer-events: none; transform: scale(0); background: rgba(227, 205, 148, .55); animation: fxRip .65s ease-out forwards; }
.fm-tpl .sd-item .fx-rip { background: rgba(255, 255, 255, .35); }
@keyframes fxRip { to { transform: scale(1); opacity: 0; } }

/* the page recedes while the menu is open */
.content { transition: transform .5s cubic-bezier(.16, 1, .3, 1), filter .4s, opacity .4s; transform-origin: 0 0; }
body.nav-open .content { transform: scale(.982) translateX(10px); filter: blur(2.5px) saturate(.85); opacity: .9; }

/* page entrance after choosing an item */
.fm-page.fm-enter { animation: secIn .55s cubic-bezier(.16, 1, .3, 1); }
@keyframes secIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    .fm-tpl .sd-hl, .content, .fm-page.fm-enter, .fx-rip { animation: none !important; transition: none !important; }
    body.nav-open .content { transform: none; filter: none; opacity: 1; }
}

/* Top-bar avatar: keep the initials centred inside the circle */
.fm-tpl header.topbar.fm-head #userChip>.avatar{display:flex;align-items:center;justify-content:center;line-height:1;font-size:.8rem;letter-spacing:.02em;text-align:center}
