/* One-step numeric row positioning and per-section Excel import */
.fb-go-control,.person-position{display:flex;direction:ltr;align-items:center;justify-content:center;gap:5px;margin:3px auto;white-space:nowrap}
.fb-go-control input,.person-position input{width:54px!important;min-width:54px;max-width:54px;height:31px;padding:4px;border:1px solid #abb7c9;border-radius:8px;background:transparent;color:inherit;text-align:center;font:inherit;font-size:13px}
.fb-go-control button,.person-position button,.fb-excel-button{border:1px solid #8aa8cb;border-radius:8px;background:#eef5ff;color:#1a4c83;padding:5px 9px;font:inherit;font-weight:bold;cursor:pointer}
.fb-position-th,.fb-position-cell{min-width:112px;text-align:center}
.person-position{direction:ltr;justify-content:flex-start}
.fb-excel-button{white-space:nowrap}
.fb-excel-dialog{background:#fff;color:#182538;border:1px solid #a3bdd5;border-radius:18px;padding:0;max-height:min(85vh,740px);max-width:min(92vw,540px);width:100%;box-shadow:0 18px 70px #0005;direction:rtl}
.fb-excel-dialog::backdrop{background:#0009}
.fb-import-wrap{display:flex;flex-direction:column;gap:14px;padding:24px}
.fb-import-wrap h3{margin:0;font-size:20px}
.fb-import-wrap p{margin:0;line-height:1.8}
.fb-import-wrap label{display:flex;flex-direction:column;gap:7px;font-weight:600}
.fb-import-wrap select,.fb-import-wrap input{border:1px solid #9eafc7;border-radius:9px;padding:10px;width:100%;font:inherit;background:#fff;color:#182538}
.fb-import-actions{display:flex;gap:8px;flex-wrap:wrap}
.fb-import-actions button{font:inherit;padding:9px 12px;border:1px solid #b4c8e1;border-radius:9px;background:#e7f0ff;cursor:pointer;color:#16375c}
.fb-import-actions button:disabled{opacity:.45;cursor:not-allowed}
.fb-excel-summary{line-height:1.8;background:#f1f5fa;border-radius:9px;padding:12px;white-space:pre-wrap;min-height:55px}
body.dark .fb-excel-dialog{background:#1a2535;color:#f0f5ff}
body.dark .fb-excel-button{background:#263c56;color:#f0f5ff}
@media(max-width:600px){.fb-go-control input{width:46px!important;min-width:46px}.fb-import-wrap{padding:15px}}
/* The entry screen stays visually closed until the remote authentication succeeds. */
body.fb-entry-locked #portalHome,body.fb-entry-locked #reportsPage,body.fb-entry-locked #personnelPage,
body.fb-entry-locked #portalBack,body.fb-entry-locked #quickNav,body.fb-entry-locked #adminModeBtn{visibility:hidden!important;pointer-events:none!important}
body.fb-entry-locked #adminLock{display:flex!important;visibility:visible!important;z-index:99999!important;opacity:1!important}
body.fb-entry-locked .app{visibility:hidden!important;pointer-events:none!important}
