#fhSystemGuide,#fhGuideCustom,#fhGuideDrawer{font-family:Arial,'Noto Sans Bengali',sans-serif;color:var(--fh-theme-copy,#172334);font-size:13px;line-height:1.65}
#sview-doubts{min-width:0}#fhSystemGuide [hidden],#fhGuideCustom[hidden],#fhGuideCustom [hidden],#fhGuideDrawer[hidden]{display:none!important}
.fhg-heading,#fhGuideCustom>header{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;background:var(--fh-theme-surface,#fff);padding:12px;border:1px solid var(--fh-theme-border-strong,#cbd5e1);border-radius:9px}
.fhg-heading h2{font-size:20px;font-weight:800;margin:0}.fhg-heading p{margin:2px 0;color:var(--fh-theme-muted,#64748b);font-size:12px}.fhg-tools,.fhg-quick{display:flex;gap:5px;flex-wrap:wrap}
#fhSystemGuide button,#fhGuideCustom>header button,#fhGuideDrawer button{font:inherit;line-height:1.5;cursor:pointer;border:1px solid var(--fh-theme-border-strong,#cbd5e1);border-radius:5px;padding:4px 8px;background:var(--fh-theme-surface,#fff);color:inherit}
#fhSystemGuide button:hover,#fhGuideDrawer button:hover{background:var(--fh-theme-surface-2,#f0fdfa)}#fhSystemGuide button[aria-pressed=true]{background:#ccfbf1;color:#115e59}
.fhg-searchbar{display:grid;grid-template-columns:minmax(240px,2.5fr) minmax(160px,1fr) minmax(145px,1fr) minmax(130px,.8fr) auto;gap:7px;align-items:end;margin:10px 0}
.fhg-searchbar label{font-size:12px;font-weight:700;min-width:0}.fhg-searchbar input,.fhg-searchbar select{width:100%;font:inherit;font-weight:400;min-height:35px;padding:6px 8px;background:var(--fh-theme-surface,#fff);color:inherit;border:1px solid var(--fh-theme-border-strong,#cbd5e1);border-radius:6px}
#fhSystemGuide :is(input,select,button,summary):focus-visible,#fhGuideDrawer :is(a,button):focus-visible{outline:2px solid #0d9488;outline-offset:2px}.fhg-quick{margin:6px 0}#fhGuideStatus{font-size:11px;color:var(--fh-theme-muted,#64748b);margin:5px 0}
#fhGuideResults{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;align-items:start}.fhg-card{min-width:0;border:1px solid var(--fh-theme-border-strong,#cbd5e1);border-radius:7px;background:var(--fh-theme-surface,#fff)}.fhg-card[open]{grid-column:1/-1}
.fhg-card>summary{display:flex;justify-content:space-between;align-items:center;gap:8px;cursor:pointer;padding:9px 11px;font-size:13px;font-weight:700;list-style:none}.fhg-card>summary:before{content:'▸';color:#0f766e}.fhg-card[open]>summary:before{content:'▾'}.fhg-card>summary>span:first-of-type{flex:1;min-width:0}.fhg-card summary small{display:block;font-size:10px;color:var(--fh-theme-muted,#64748b);font-weight:400}.fhg-tag{font-size:10px;font-weight:600;color:#0f766e;background:#f0fdfa;border-radius:4px;padding:2px 5px}
.fhg-article{padding:10px 14px;border-top:1px solid var(--fh-theme-border-strong,#cbd5e1)}.fhg-article>header{display:flex;justify-content:space-between;gap:8px}.fhg-article h3{font-weight:800;font-size:15px;margin:0}.fhg-article small{color:var(--fh-theme-muted,#64748b);font-size:11px}.fhg-article p{margin:8px 0}.fhg-article ol{list-style:decimal;padding-left:23px;margin:8px 0}.fhg-article li{margin:5px 0}.fhg-formula,.fhg-example{border-left:3px solid #0d9488;background:var(--fh-theme-surface-2,#f0fdfa);padding:7px 10px;margin:8px 0;border-radius:4px}.fhg-example{border-color:#ca8a04}.fhg-formula p,.fhg-example p{margin:3px 0;white-space:pre-line}.fhg-article footer{font-size:11px;display:flex;gap:5px;align-items:center;flex-wrap:wrap;margin:10px 0}.fhg-verification{display:block;margin-top:8px}.fhg-update{background:#fffbeb;color:#92400e;border:1px solid #fcd34d;padding:7px;border-radius:5px}.fhg-empty{grid-column:1/-1;border:1px dashed #94a3b8;border-radius:8px;padding:18px;background:var(--fh-theme-surface,#fff)}
#fhGuideCustom{margin-top:12px;border:1px solid var(--fh-theme-border-strong,#cbd5e1);border-radius:8px;background:var(--fh-theme-surface,#fff)}#fhGuideCustom>header{border:0;border-bottom:1px solid var(--fh-theme-border-strong,#cbd5e1);padding:9px}#fhGuideCustom h3{font-weight:800;margin:0}
html body #appShell button.fh-guide-context,button.fh-guide-context{display:inline-flex!important;align-items:center!important;vertical-align:middle!important;width:auto!important;min-width:0!important;min-height:18px!important;height:auto!important;padding:1px 4px!important;margin:0 0 0 6px!important;border:0!important;border-radius:3px!important;background:transparent!important;color:#0f766e!important;font-size:10px!important;line-height:16px!important;font-weight:600!important;white-space:nowrap!important;text-decoration:underline;cursor:pointer;box-shadow:none!important}
#fhGuideDrawer{position:fixed;z-index:190;right:12px;top:80px;max-height:calc(100dvh - 95px);width:min(520px,calc(100vw - 24px));overflow:auto;background:var(--fh-theme-surface,#fff);border:1px solid #94a3b8;border-radius:9px;box-shadow:0 8px 35px #0f172a40}.fhg-drawer-top{position:sticky;top:0;z-index:1;background:var(--fh-theme-surface,#fff);border-bottom:1px solid #cbd5e1;padding:8px 12px;display:flex;align-items:center;justify-content:space-between;gap:8px}.fhg-drawer-top>div{display:flex;align-items:center;gap:10px}.fhg-drawer-top a{color:#0f766e;text-decoration:underline;font-size:12px}.fhg-drawer-top button{font-size:20px!important;padding:0 8px!important}
#csInventoryList .cs-list-serial{display:inline-block;min-width:25px;color:var(--cs-muted,#64748b);font-size:11px;font-variant-numeric:tabular-nums}html body #appShell #sview-central .cs-toolbar .cs-sort{flex:0 0 210px;width:210px}
@media(max-width:1000px){.fhg-searchbar{grid-template-columns:minmax(180px,2fr) 1fr}.fhg-searchbar label:first-child{grid-column:1/-1}}
@media(max-width:650px){#fhGuideResults{grid-template-columns:1fr}.fhg-searchbar{grid-template-columns:1fr}.fhg-searchbar label:first-child{grid-column:auto}.fhg-heading h2{font-size:17px}.fhg-tag{display:none}#fhGuideDrawer{top:12px;max-height:calc(100dvh - 24px)}}
@media print{body.fh-guide-print #portalSidebar,body.fh-guide-print #stockNavAndTools,body.fh-guide-print #fhGuideDrawer,body.fh-guide-print .fhg-searchbar,body.fh-guide-print .fhg-tools,body.fh-guide-print .fhg-quick,body.fh-guide-print button,body.fh-guide-print .fh-guide-context{display:none!important}body.fh-guide-print #fhGuideResults{display:block}body.fh-guide-print #fhGuideResults details{display:block;break-inside:avoid;margin:8px 0}body.fh-guide-print #fhGuideResults details> *{display:block!important}body.fh-guide-print #sview-doubts{overflow:visible!important}body.fh-guide-print #fhGuideCustom details[hidden]{display:none!important}}
