/* Bundle ya Recruit Depot - imejengwa kiotomatiki na static_bundle.py; hariri faili za chanzo, si hii. */

/* ===== workspace-controls.css ===== */
/* Shared work areas: filters, group choices and actions. */
@media screen {
main :is(form.filters,form.toolbar,.office-filters,.list-standard-filters){background:#fff!important;border:1px solid #dce5ed!important;border-radius:18px!important;padding:20px!important;gap:14px!important;box-shadow:0 5px 20px #00214706!important;align-items:end!important;margin:20px 0!important}
main :is(form.filters,form.toolbar,.office-filters) label{color:#52677d;font-size:12px;font-weight:600;line-height:1.5}
main :is(form.filters,form.toolbar,.office-filters) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select:not(.ms-native),textarea){background:#f8fafc;border:1px solid #d6e1ec;border-radius:11px;min-height:44px;color:#173b60;box-sizing:border-box;max-width:100%}
main :is(form.filters,form.toolbar,.office-filters) .ms-btn{background:#f8fafc!important;color:#173b60!important;border:1px solid #d6e1ec!important;border-radius:11px!important;min-height:44px!important;box-shadow:none!important}
main :is(form.filters,form.toolbar,.office-filters) .ms:is(.has,.open) .ms-btn{background:#fff6dc!important;border-color:#d6b14d!important}
main :is(form.filters,form.toolbar,.office-filters) .ms{min-width:0}
main :is(form.filters,form.toolbar,.office-filters) :is(input,select,textarea,button):focus-visible{outline:3px solid #e8bd4e;outline-offset:3px}
main :is(.work-tools,.work-capture,.bulkbar,.queue-actions){background:#fff!important;border:1px solid #dce5ed!important;border-radius:18px!important;padding:20px!important;box-shadow:0 5px 20px #00214706!important;gap:12px!important}
main :is(.work-tools,.work-capture,.bulkbar){border-top:3px solid #e5ba47!important}
main :is(.work-tools,.work-capture,.bulkbar,.queue-actions) :is(button,a.button){min-height:42px!important;height:auto!important;line-height:1.5;border-radius:11px!important;white-space:normal}
main :is(.work-tools,.bulkbar,.queue-actions) button:disabled{opacity:.45;cursor:not-allowed;box-shadow:none!important}
main :is(.work-tools,.queue-actions) :is(small,p.muted){line-height:1.7;color:#62778b}
main .queue-stages a{border-radius:15px;box-shadow:0 4px 12px #00214705}
#office-queue .office-filters{grid-template-columns:repeat(4,minmax(0,1fr))}
#office-queue .office-filters>label{display:flex;flex-direction:column;gap:7px;min-width:0;margin:0}
#office-queue .office-filters>label .ms{width:100%;flex:none}
#office-queue .office-filters .queue-people{grid-column:span 2}
#office-queue .office-filters>button{align-self:end;justify-self:end;min-width:140px;grid-column:span 2}
#office-queue .queue-action-heading{flex-basis:100%;padding-bottom:14px;border-bottom:1px solid #e6edf3}
#office-queue .queue-action-heading h2{margin:5px 0;font-size:18px;color:#173b60}
#office-queue .queue-action-heading p{margin:0;color:#62778b;font-size:12px;line-height:1.7}
#office-queue .queue-actions>.actions:first-of-type{gap:8px;padding:0 0 12px;border-bottom:1px solid #e6edf3}
#queue-selection-count{margin-left:auto;padding:8px 12px;background:#edf4f8;border-radius:10px;color:#214563;font-size:12px}
#office-queue .queue-actions>label{margin:0;min-width:0}
#office-queue .queue-actions input:not([type=checkbox]){background:#f8fafc;border-radius:11px;border:1px solid #d6e1ec}
main .page-heading{gap:16px;align-items:center}
main .page-heading h1{letter-spacing:-.6px}
main .page-heading p{line-height:1.7;color:#62778b}
@media(max-width:1100px){#office-queue .office-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){main :is(form.filters,form.toolbar,.office-filters,.list-standard-filters,.work-tools,.work-capture,.bulkbar,.queue-actions){padding:15px!important;border-radius:14px!important;gap:12px!important}#office-queue .office-filters{grid-template-columns:minmax(0,1fr)}#office-queue .office-filters :is(.queue-people,button){grid-column:auto;width:100%}#queue-selection-count{margin-left:0;width:100%;box-sizing:border-box}#office-queue .queue-actions>.actions button{flex:1 1 100%}main .page-heading{align-items:flex-start}main .page-heading .actions{flex-wrap:wrap}}
}

/* Compact shared summaries and work panels without hiding workflow facts. */
@media screen{
main .queue-current{padding:10px 13px;gap:8px;margin-bottom:10px;border-radius:12px;align-items:center}
main .queue-current>div{min-width:200px}main .queue-current small{margin-top:3px;line-height:1.4;font-size:11px}
main .queue-current>details{flex-basis:auto;margin-left:4px;position:relative}
main .queue-current>details>summary{padding:7px 9px;border:1px solid #ceded6;border-radius:8px;white-space:nowrap}
main .queue-current>details[open]{flex-basis:100%;margin:0}
main .queue-current>details[open]>.actions{margin-top:8px}
main .queue-current>a.button{min-height:34px;padding:7px 11px;font-size:11px}
main .smart-status{padding:10px 13px;margin-bottom:12px;border-radius:12px}
main .smart-status summary{font-size:12px;gap:8px}main .smart-status summary>b{padding:5px 8px}
.smart-status-note{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0;font-size:11px;color:#607a8a;line-height:1.4}
.smart-status-note a{white-space:nowrap}
main .smart-status-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
main .smart-step{padding:7px 9px;gap:7px;min-height:0;border-radius:9px;align-items:center}
main .smart-step b{font-size:11px;line-height:1.35}main .smart-step small{margin-top:2px;font-size:10px}
main .smart-tick{width:20px;height:20px;border-radius:6px;font-size:12px}
main :is(form.filters,form.toolbar,.office-filters,.list-standard-filters){padding:14px 16px!important;gap:10px!important;margin:12px 0!important}
main :is(.work-tools,.work-capture,.bulkbar,.queue-actions){padding:14px 16px!important;gap:10px!important}
main .page-heading{margin-bottom:12px}main .page-heading p{margin:4px 0;line-height:1.5}
#office-queue .queue-action-heading{padding-bottom:9px}#office-queue .queue-action-heading h2{font-size:16px;margin:3px 0}
#office-queue .queue-actions>.actions:first-of-type{padding-bottom:8px}
#office-queue .queue-stages{margin:12px 0;gap:8px}#office-queue .queue-stages a{min-height:75px;padding:11px 13px;gap:5px}#office-queue .queue-stages b{font-size:24px}
main :is(.wp-hero,.wp-stat){padding:15px 17px}main .wp-page{gap:12px}main .wp-progress-line{margin-top:12px}
@media(max-width:1100px){main .smart-status-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){main .smart-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.smart-status-note{flex-wrap:wrap}main .queue-current>div{min-width:0;flex-basis:100%}main .queue-current>details{margin:0}main .smart-status summary>span{min-width:0}main :is(form.filters,form.toolbar,.office-filters,.list-standard-filters,.work-tools,.work-capture,.bulkbar,.queue-actions){padding:12px!important}main .smart-step{align-items:flex-start}}
@media(max-width:380px){main .smart-status-grid{grid-template-columns:1fr}}
}

@media screen{
#office-queue .office-filters .queue-single-search{grid-column:span 2;display:grid;gap:7px;min-width:0}
#office-queue .office-filters .queue-people{grid-column:1/-1;display:grid;gap:7px;min-width:0}
#office-queue .queue-search-line{display:flex;gap:8px;align-items:stretch;min-width:0}
#office-queue .queue-search-line :is(input,textarea){flex:1;width:100%;min-width:0;margin:0;height:auto!important}
#office-queue .queue-search-line button{flex:none;min-width:120px;margin:0;align-self:stretch}
#office-queue .queue-people small{color:#62778b;font-size:11px}
#office-queue .queue-filter-submit{grid-column:1/-1;display:flex;gap:14px;align-items:center;justify-content:flex-end;border-top:1px solid #e6edf3;padding-top:10px}
#office-queue .queue-filter-submit a{font-size:12px}
@media(max-width:650px){#office-queue .office-filters .queue-single-search{grid-column:1/-1}#office-queue .queue-search-line button{min-width:95px;width:auto;font-size:12px;padding:9px}#office-queue .queue-filter-submit button{width:auto}}
}

@media screen and (min-width:651px){
main :is(form.filters,form.toolbar,.office-filters,.work-tools,.bulkbar,.queue-actions) :is(button,a.button){font-size:12px!important;min-height:34px!important;padding:6px 11px!important;line-height:1.4!important;border-radius:8px!important}
main :is(form.filters,form.toolbar,.office-filters) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select:not(.ms-native),.ms-btn){min-height:36px!important;height:36px!important;font-size:12px!important;padding-top:7px!important;padding-bottom:7px!important}
#office-queue .office-filters{grid-template-columns:repeat(6,minmax(0,1fr));gap:9px 12px!important}
#office-queue .office-filters .queue-single-search{grid-column:span 4;grid-row:1}
#office-queue .office-filters .queue-people{grid-column:span 4}
#office-queue .queue-filter-submit{grid-column:span 2;border:0;padding-top:0;align-self:center;flex-wrap:wrap;gap:8px}
#office-queue .queue-search-line button{min-width:100px}
#office-queue .queue-actions .queue-action-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-bottom:7px}
#office-queue .queue-action-heading .eyebrow{font-size:10px}#office-queue .queue-action-heading h2{margin:0;font-size:14px}#office-queue .queue-action-heading p{margin-left:auto;font-size:11px}
#office-queue .queue-stages a{min-height:60px;padding:9px 12px}#office-queue .queue-stages b{font-size:22px}
}
#queue-select-action{width:auto;min-width:210px;max-width:100%;background:#f8fafc;border:1px solid #d6e1ec;border-radius:8px;color:#173b60}
@media(min-width:651px) and (max-width:1100px){#office-queue .office-filters{grid-template-columns:repeat(3,minmax(0,1fr))}#office-queue .office-filters .queue-single-search{grid-column:span 3;grid-row:auto}#office-queue .office-filters .queue-people{grid-column:span 2}#office-queue .queue-filter-submit{grid-column:span 1}}
@media(max-width:650px){#queue-select-action{width:100%;min-height:44px}}


/* ===== filter-row-shared.css ===== */
@media(min-width:1001px){
main form.list-standard-filters[data-manual-search="1"]:has(.work-entry-row){display:grid!important;grid-template-columns:repeat(var(--work-filter-columns,7),minmax(0,1fr))!important;gap:9px!important}
main form.list-standard-filters[data-manual-search="1"]>.ms,main form.list-standard-filters[data-manual-search="1"]>select{grid-column:span 1!important;grid-row:auto!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important}
main form.list-standard-filters .work-search,main form.list-standard-filters .work-service-summary{grid-column:1/-1!important}
main form.list-standard-filters>.ms>button{width:100%!important;min-width:0!important;min-height:40px;padding:8px 10px!important}
main form.list-standard-filters>.ms>button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
@media(min-width:651px) and (max-width:1000px){main form.list-standard-filters[data-manual-search="1"]:has(.work-entry-row){grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:650px){main form.list-standard-filters[data-manual-search="1"]:has(.work-entry-row){grid-template-columns:repeat(2,minmax(0,1fr))!important}main form.list-standard-filters>.ms,main form.list-standard-filters>select{min-width:0!important;width:100%!important}}


/* ===== queue-controls-shared.css ===== */
/* Shared controls for verification, scan, appointment, placement and ID stages. */
#office-queue form.office-filters .queue-single-search,#office-queue form.office-filters .queue-people{display:grid!important;grid-template-rows:30px 44px 18px!important;gap:8px!important;padding:12px!important;align-content:start!important}
#office-queue form.office-filters .queue-single-search>label,#office-queue form.office-filters .queue-people>label{margin:0!important;line-height:15px!important;align-self:center!important}
#office-queue form.office-filters .queue-search-line{display:flex!important;flex-direction:row!important;align-items:center!important;gap:10px!important;grid-row:2}
#office-queue form.office-filters .queue-search-line input,#office-queue form.office-filters .queue-search-line textarea,#office-queue form.office-filters .queue-search-line button{box-sizing:border-box!important;height:44px!important;min-height:44px!important;max-height:44px!important;margin:0!important;border-radius:10px!important}
#office-queue form.office-filters .queue-people small{margin:0!important;line-height:18px!important}
#office-queue form.office-filters .queue-filter-submit{display:grid!important;grid-template-rows:30px 44px 18px!important;gap:8px!important;padding:12px 0!important;align-self:stretch!important;align-content:start!important;justify-content:stretch!important;text-align:center!important}
#office-queue form.office-filters .queue-filter-submit button{grid-row:2;box-sizing:border-box;height:44px!important;min-height:44px!important;margin:0!important;padding:0 12px!important;border-radius:10px!important}
#office-queue form.office-filters .queue-filter-submit a{grid-row:2;display:inline-flex;align-items:center;justify-content:center;height:44px;line-height:18px;font-size:12px;padding:0 12px;border:1px solid #dce5ed;border-radius:10px;background:#f5f8fc;color:#214b70}
#office-queue .queue-actions.panel{display:flex;align-items:flex-end;gap:12px;padding:20px}
#office-queue .queue-actions>label{display:flex;flex-direction:column;gap:8px;flex:1 1 190px;min-width:0;margin:0;font-size:12px;color:#536a80}
#office-queue .queue-actions input:not([type=checkbox]),#office-queue .queue-actions textarea,#office-queue .queue-actions select,#office-queue .queue-actions button,#office-queue .queue-actions>a{box-sizing:border-box;height:44px;min-height:44px;margin:0;border-radius:10px}
#office-queue .queue-actions textarea{resize:vertical;padding:10px 12px}
#office-queue .queue-actions>label.check{flex:1 1 220px;display:flex;flex-direction:row;align-items:center;min-height:44px;padding:8px 10px;gap:10px;background:#f5f8fc;border:1px solid #dce5ed;border-radius:10px;line-height:1.4}
#office-queue .queue-actions .check input{flex:none;width:18px;height:18px;min-height:18px;margin:0}
#office-queue .queue-actions>a{display:inline-flex;align-items:center;justify-content:center;padding:0 12px;background:#f5f8fc;border:1px solid #dce5ed;color:#214b70;text-decoration:none;font-size:12px;font-weight:600}
#office-queue .queue-actions>.actions{align-items:center;gap:10px}
#office-queue .queue-actions>.queue-action-heading,#office-queue .queue-actions>p{flex-basis:100%}
@media(max-width:1050px){#office-queue form.office-filters .queue-filter-submit{display:flex!important;flex-direction:row!important;align-items:center!important;padding:0!important}#office-queue form.office-filters .queue-filter-submit button{width:auto}}
@media(max-width:650px){#office-queue .queue-actions.panel{padding:15px}#office-queue .queue-actions>label,#office-queue .queue-actions>button,#office-queue .queue-actions>a{flex-basis:100%;width:100%}#office-queue .queue-actions button,#office-queue .queue-actions>a{min-height:48px;height:48px}#office-queue form.office-filters .queue-people small{font-size:10px!important}#office-queue form.office-filters .queue-search-line{gap:7px!important}#office-queue form.office-filters .queue-search-line button{padding:0 10px!important}}


/* ===== auto-filter-controls.css ===== */
main form[method=get] .work-entry-row input[name=q],main form[method=get] .work-entry-row textarea[name=people],main form[method=get] .work-entry-row button[data-work-search]{box-sizing:border-box;height:44px!important;min-height:44px!important;max-height:44px!important;margin:0!important;border-radius:10px!important}
main form[method=get] .work-entry-row{align-items:center!important;gap:10px!important}
main form[method=get] .work-entry-row input[name=q],main form[method=get] .work-entry-row textarea[name=people]{padding:10px 12px!important}
main form[method=get]>.button,main form[method=get]>button,main form[method=get]>select{box-sizing:border-box;min-height:44px;margin:0;border-radius:10px}
main form[method=get] .work-search small{line-height:1.5}
@media(max-width:650px){main form[method=get] .work-entry-row{gap:7px!important}main form[method=get] .work-entry-row button[data-work-search]{min-height:48px!important;height:48px!important;max-height:48px!important}}


/* ===== mobile-concept.css ===== */
/* Approved mobile concept. Presentation only; native controls and handlers remain. */
.mobile-only,.mobile-group-dock,.mobile-filter-toggle,.mobile-many-toggle{display:none}
@media screen and (max-width:650px){
 :root{--mobile-ink:#082b42;--mobile-gold:#f3c659;--mobile-green:#13795f;--mobile-line:#dfe8ec;--mobile-canvas:#f2f6f7}
 body:not(.login-page){background:var(--mobile-canvas)!important;color:var(--mobile-ink);font-family:"Public Sans",Arial,sans-serif;font-size:15px}
 body:not(.login-page) main .content{padding:20px 18px calc(100px + env(safe-area-inset-bottom))!important}
 .mobile-only{display:block}.desktop-dashboard,.desktop-stage-chips{display:none!important}
 body:not(.login-page) .topbar{height:74px!important;min-height:74px;padding:10px 14px!important;border-bottom:1px solid #e7edf0;background:#fff!important;box-shadow:none}
 .topbar .brand .t1{font-family:Sora,Arial,sans-serif!important;font-size:12px!important;letter-spacing:.2px!important;line-height:1.3!important}
 .topbar .brand .t2{display:none!important}.topbar .logo{width:31px!important;height:42px!important}
 .topbar .mobile-menu{border-radius:13px!important;width:48px;min-height:48px!important;background:#edf3f6!important;color:var(--mobile-ink)!important}
 .topbar .userchip{min-height:48px;min-width:48px;padding:6px!important;gap:3px}.topbar .userchip .avatar{background:var(--mobile-ink)!important;color:var(--mobile-gold)!important}
 .topbar .userchip>span:has(.un){display:none!important}.topbar .topclock,.topbar #topclock{display:none!important}
 .mobile-app-nav{grid-template-columns:repeat(4,minmax(0,1fr))!important;box-shadow:none!important;padding:8px 8px calc(9px + env(safe-area-inset-bottom));border-top:1px solid #e3eaee!important}
 .mobile-app-nav a{min-height:52px!important;font-size:10px!important;gap:5px!important;color:#7e939f!important;border-radius:14px;background:transparent!important}
 .mobile-app-nav a[aria-current=page]{color:var(--mobile-ink)!important}.mobile-app-nav a svg{width:22px;height:22px;box-sizing:content-box;padding:4px 13px;border-radius:10px}
 .mobile-app-nav a[aria-current=page] svg{background:#fbeecd!important}
 main :is(.button,button:not(.ms-gh):not(.ms-acts button)){min-height:48px;border-radius:14px!important}
 main :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){font-size:16px!important;border-radius:13px!important;min-height:48px;border-color:var(--mobile-line)!important}
 main h1,main h2,main h3{font-family:Sora,Arial,sans-serif;letter-spacing:-.6px}
 main .panel{border:1px solid #e1e9ed!important;border-radius:18px!important;box-shadow:0 3px 8px #0b304205!important;background:white!important}
 main .page-heading h1{font-size:24px!important;line-height:1.35}main .page-heading p{font-size:12px!important;line-height:1.65}
 .mobile-welcome{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.mobile-welcome small{font-size:11px;color:#607583}
 .mobile-welcome h1{font-size:26px!important;letter-spacing:-1px;margin:4px 0!important;line-height:1.45}.mobile-welcome p{display:flex;align-items:center;gap:6px;font-size:11px;color:#607583;margin:0}
 .mobile-welcome p i{width:6px;height:6px;border-radius:50%;background:var(--mobile-green)}
 .mobile-avatar{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:var(--mobile-ink);color:var(--mobile-gold);font-weight:750;text-decoration:none}
 .mobile-passport{color:white;border-radius:23px;background:var(--mobile-ink);overflow:hidden;box-shadow:0 8px 22px #12334812}
 .mobile-passport-top{position:relative;padding:21px 20px 17px}.mobile-passport-top::after{content:'';position:absolute;right:-12px;top:35px;width:104px;height:104px;border:1px solid #ffffff12;border-radius:50%;box-shadow:0 0 0 15px #ffffff03,0 0 0 31px #ffffff03;pointer-events:none}
 .mobile-eyebrow{display:block;font-size:9px;font-weight:750;letter-spacing:1.4px;color:#f3cf77;position:relative;z-index:1}
 .mobile-passport h2{font-size:23px!important;letter-spacing:-.8px;color:white;margin:8px 0 6px;line-height:1.3;position:relative;z-index:1}
 .mobile-passport p{font-size:12px;color:#b7ced9;margin:0}.mobile-progress-label{display:flex;justify-content:space-between;font-size:10px;color:#c3d5df;margin:19px 0 8px}
 .mobile-progress{height:5px;background:#25465d;border-radius:10px;overflow:hidden}.mobile-progress i{display:block;height:100%;border-radius:10px;background:var(--mobile-gold)}
 .mobile-passport-action{position:relative;padding:15px 20px 18px;border-top:1px dashed #537084}.mobile-passport-action::before,.mobile-passport-action::after{content:'';position:absolute;width:14px;height:14px;border-radius:50%;background:var(--mobile-canvas);top:-7px}.mobile-passport-action::before{left:-7px}.mobile-passport-action::after{right:-7px}
 .mobile-passport-action .button{display:flex;align-items:center;justify-content:space-between;background:var(--mobile-gold)!important;color:var(--mobile-ink)!important;font-size:13px;box-shadow:none;border:0}
 .mobile-passport-action .button>span{display:flex;align-items:center;gap:9px}
 .mobile-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:23px 0}.mobile-totals>div{border-right:1px solid #d9e4e9}.mobile-totals>div:last-child{border:0}.mobile-totals b{display:block;font-family:Sora;font-size:22px;letter-spacing:-.7px;line-height:1.5}.mobile-totals small{display:block;font-size:10px;color:#607583}
 .mobile-section-head{display:flex;align-items:center;justify-content:space-between;margin:24px 0 13px}.mobile-section-head h2{font-size:16px!important;margin:0}.mobile-section-head a{display:flex;align-items:center;gap:5px;min-height:48px;text-decoration:none;color:var(--mobile-green);font-size:12px;font-weight:700}
 .mobile-task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .mobile-task{--tbg:#fff1cf;--tfg:#936b09;display:flex;align-items:center;gap:11px;min-height:87px;padding:13px 11px;border:1px solid #e2e9ed;border-radius:17px;background:#fff;text-decoration:none;box-shadow:0 2px 5px #0b304203}
 .mobile-task i{display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;border-radius:12px;background:var(--tbg);color:var(--tfg)}.mobile-task b{display:block;font:750 21px/1.2 Sora,Arial;letter-spacing:-.7px}.mobile-task small{display:block;margin-top:4px;font-size:10px;font-weight:600;color:#546d7d;line-height:1.5}
 .mobile-task[data-stage=scan]{--tbg:#e4f3ec;--tfg:#1f7c61}.mobile-task[data-stage=ajira]{--tbg:#e7effb;--tfg:#376eb6}.mobile-task[data-stage=placement]{--tbg:#eaf0f3;--tfg:#507486}.mobile-task[data-stage=letters]{--tbg:#f4e9df;--tfg:#916839}.mobile-task[data-stage=card]{--tbg:#e9edfb;--tfg:#696da4}
 .mobile-intake{margin-top:25px}.mobile-intake>label{font-size:11px;font-weight:700;color:#607583}.mobile-intake form{display:block!important;padding:0!important;margin:8px 0!important;background:transparent!important;border:0!important;box-shadow:none!important}.mobile-intake select{width:100%;background:white}
 .mobile-all-complete{display:flex;align-items:center;gap:12px;padding:15px;margin-top:17px;border-radius:15px;border:1px solid #d8e9df;background:#eaf4ee;color:#21694e;text-decoration:none}.mobile-all-complete span{flex:1}.mobile-all-complete b{font-size:12px;display:block}.mobile-all-complete small{font-size:10px;display:block;margin-top:3px}
 main .recruits-completion>.page-heading .actions{display:flex;gap:8px;flex-wrap:wrap}main .recruits-completion>.page-heading .actions a{font-size:11px;flex:1;padding:8px!important;min-height:48px}
 .mobile-stage-chips{display:flex!important;align-items:center;gap:7px;overflow:auto;scrollbar-width:none;padding:3px 0 12px;margin:13px 0 0;max-width:100%}.mobile-stage-chips a{min-height:48px;padding:12px 13px;display:flex;align-items:center;gap:6px;white-space:nowrap;border-radius:12px;background:#e8eef2;color:#567080;font-size:11px;font-weight:700;text-decoration:none}.mobile-stage-chips a.on{background:var(--mobile-ink);color:white}.mobile-stage-chips b{font-size:10px;opacity:.75}
 .recruits-completion .table-wrap{overflow:visible!important;border:0!important;box-shadow:none!important;background:transparent!important}.recruits-completion table{display:block;min-width:0!important;width:100%!important;background:transparent!important}.recruits-completion thead{display:none}.recruits-completion tbody{display:block}.recruits-completion tr[data-mobile-person]{position:relative;display:block;padding:15px 13px;background:#fff;border:1px solid #e1e9ed!important;border-radius:18px;margin-bottom:11px;box-shadow:0 3px 7px #0b304204}
 .recruits-completion tr[data-mobile-person] td{display:none;border:0!important;padding:0!important;background:transparent!important}.recruits-completion tr[data-mobile-person] td:first-child,.recruits-completion tr[data-mobile-person] td:nth-child(11){display:block;min-width:0!important}.recruits-completion .whocell{padding-right:44px;align-items:flex-start;gap:11px}.recruits-completion .whocell .av{width:45px;height:45px;border-radius:15px;border:0;background:#ddeee7;color:#195b48;flex-shrink:0;font-size:14px}.recruits-completion .whocell img{border-radius:15px}.recruits-completion .whocell .wn{font-size:14px!important;line-height:1.4;text-transform:none;word-break:normal;font-weight:750}.recruits-completion .whocell>div>small:not(.mobile-person-number){display:none}.mobile-person-number{font-size:10px!important;color:#7c929f!important;line-height:1.6;margin-top:5px}.mobile-person-stage{display:inline-block!important;margin-top:10px;font-size:10px;font-weight:700;color:#21694e;background:#e8f5ee;border-radius:8px;padding:5px 9px;line-height:1.3}.recruits-completion [data-mobile-stage=prf] .mobile-person-stage{background:#fff3d2;color:#825a04}.recruits-completion .completion-total{display:grid!important;grid-template-columns:1fr auto;align-items:center;gap:5px;margin-top:12px;min-height:28px;font-size:11px!important;text-decoration:none}.recruits-completion .completion-total>b{grid-column:2;grid-row:1;text-align:right}.recruits-completion .completion-total>small{grid-column:1;grid-row:1;color:#7b929f;font-size:10px}.recruits-completion .completion-track{grid-row:2;grid-column:1/-1;height:3px!important;max-width:none!important;width:100%;background:#dce8e5}.recruits-completion .completion-track i{background:var(--mobile-green)!important}
 .mobile-person-pick{position:absolute;right:8px;top:15px;width:48px;height:48px;display:grid;place-items:center;margin:0!important}.mobile-person-pick input{opacity:0;position:absolute;inset:0;width:48px!important;height:48px!important;margin:0;cursor:pointer}.mobile-person-pick>span{display:grid;place-items:center;width:21px;height:21px;border:1.5px solid #b5c7d0;border-radius:7px;color:transparent;pointer-events:none}.mobile-person-pick:has(input:checked)>span{border-color:var(--mobile-green);background:var(--mobile-green);color:white}.mobile-person-pick:has(input:disabled)>span{opacity:.4}.mobile-person-pick:focus-within{outline:3px solid #347dd3;border-radius:12px}.recruits-completion .lockpill{font-size:10px;padding:3px 6px;white-space:normal;max-width:100%}
 .mobile-filter-field,.mobile-many-field{display:none!important}.mobile-filters-open .mobile-filter-field,.mobile-many-open .mobile-many-field{display:block!important}.mobile-filter-toggle,.mobile-many-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:48px!important;flex-shrink:0;background:var(--mobile-ink)!important;color:#fff!important;padding:10px!important;border:0;border-radius:13px}.mobile-many-toggle{background:#edf3f6!important;color:var(--mobile-ink)!important;font-size:12px;margin-top:8px}
 main .filters .work-entry{display:block!important}.mobile-single-search{display:flex!important;align-items:center;gap:8px}.mobile-single-search>input{flex:1;min-width:0;width:100%}.mobile-single-search .mobile-filter-toggle{width:48px}.mobile-single-search .search-clear{flex-shrink:0}.recruits-completion .filters{padding:14px!important;border-radius:17px!important;gap:10px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.recruits-completion .filters>.work-entry,.recruits-completion .filters>.work-search,.recruits-completion .filters>.work-service-summary{grid-column:1/-1}.mobile-many-field textarea{width:100%;font-size:16px!important}.mobile-many-field .work-entry-row{display:grid!important;grid-template-columns:1fr!important}.work-filter-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .mobile-group-dock{display:flex;position:fixed;bottom:calc(75px + env(safe-area-inset-bottom));left:0;right:0;z-index:44;background:#fff;border-top:1px solid #dce6eb;padding:11px 15px;align-items:center;gap:12px;box-shadow:0 -4px 12px #0b304207}.mobile-group-dock b{font-size:12px;display:block}.mobile-group-dock small{font-size:10px;color:#718795;display:block}.mobile-group-dock button{min-height:48px;border-radius:13px;background:var(--mobile-ink);color:white;font-size:12px;padding:10px 14px;font-weight:700}.mobile-group-dock button:last-child{width:48px;padding:0;background:#edf3f6;color:var(--mobile-ink)}.mobile-group-dock[hidden]{display:none!important}body:has(.mobile-group-dock:not([hidden])) main .content{padding-bottom:calc(174px + env(safe-area-inset-bottom))!important}
 .recruit-drawer{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;padding:16px!important;border-radius:0!important;background:var(--mobile-canvas)!important}.recruit-drawer .drawer-close{position:sticky;top:0;right:0;margin-left:auto;display:block;width:48px;height:48px;border-radius:13px;z-index:5;background:#fff}
 .recruit-profile .ph{padding:21px!important;border-radius:20px!important;background:var(--mobile-ink)!important;box-shadow:none!important}.recruit-profile .ph-glow{display:none}.recruit-profile .ph-top{gap:12px!important;align-items:center}.recruit-profile .ph-av{width:52px!important;height:52px!important;border-radius:16px!important;border:0!important;background:#fff5d3!important;color:#856409!important}.recruit-profile .ph-id h3{font-size:19px!important;color:#fff!important}.recruit-profile .ph-rank{font-size:10px!important;color:#c1d2dc!important}.recruit-profile .ph-stats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px;margin-top:19px}.recruit-profile .phs{padding:10px!important;border-radius:12px!important;background:#244359!important;border:0!important;box-shadow:none!important}.recruit-profile .phs span{font-size:9px!important;color:#adcad7!important}.recruit-profile .phs b{font-size:12px!important;color:white!important}.recruit-profile .phs::before,.recruit-profile .phs::after{display:none}.recruit-profile .phm-bar{height:5px!important;background:#315066!important}.recruit-profile .phm-bar i{background:var(--mobile-gold)!important}.recruit-profile .phm-l span{font-size:10px!important}.recruit-profile .phm-l b{color:var(--mobile-gold)!important}.recruit-profile .phm-s{font-size:10px!important;color:#c1d2dc!important}
 .recruit-profile .pact{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px}.recruit-profile .pa{padding:12px!important;border-radius:15px!important;min-height:80px;gap:8px}.recruit-profile .pa-i{width:33px!important;height:33px!important;border-radius:11px!important}.recruit-profile .pa b{font-size:11px!important}.recruit-profile .pa small{font-size:9px!important}.recruit-profile .tabs{overflow:auto;white-space:nowrap;flex-wrap:nowrap!important;background:transparent!important;border:0}.recruit-profile .tab{flex-shrink:0;padding:10px 13px!important;min-height:48px;border-radius:12px!important;background:#e8eef2!important;color:#567080!important}.recruit-profile .tab.active{background:var(--mobile-ink)!important;color:white!important}
 .recruit-profile .pflow{display:flex!important;flex-direction:column;gap:0;padding:17px;background:white;border:1px solid #e1e9ed;border-radius:18px}.recruit-profile .pf-step{display:flex!important;padding:0 0 17px!important;background:transparent!important;border:0!important;box-shadow:none!important;gap:12px;position:relative}.recruit-profile .pf-step:last-child{padding-bottom:0!important}.recruit-profile .pf-step:not(:last-child)::after{content:'';position:absolute;left:14px;top:31px;width:1px;height:calc(100% - 31px);background:#e0e8ec}.recruit-profile .pf-n{width:29px!important;height:29px!important;border-radius:10px!important;background:#edf1f4!important;color:#849baa!important;font-size:11px!important}.recruit-profile .pf-done .pf-n{background:#e1f1e9!important;color:var(--mobile-green)!important}.recruit-profile .pf-ready .pf-n{background:var(--mobile-gold)!important;color:var(--mobile-ink)!important}.recruit-profile .pf-step b{font-size:12px!important}.recruit-profile .pf-step small{font-size:10px!important;color:#718795!important}
 .prf-capture-head{background:white!important;border:1px solid #dfe8ec!important;border-radius:17px!important;padding:16px!important;box-shadow:none!important}.prf-capture-head h1{font-size:18px!important;letter-spacing:-.6px}.prf-capture-head p{font-size:11px!important;color:#78909d!important}.prf-capture-head .eyebrow{font-size:9px!important;letter-spacing:1.2px!important;color:var(--mobile-green)!important}.prf-capture-head .actions a{font-size:11px!important}
 .prf-capture-form{background:transparent!important}.prf-capture-form>h2{font-size:18px!important;color:var(--mobile-ink)!important}.prf-phone-direct .prf-direct-camera{border:1.5px dashed #bdd2db!important;border-radius:21px!important;background:#eaf1f4!important;align-items:center!important;text-align:center;padding:24px 17px!important}.prf-direct-camera b{font-family:Sora!important;font-size:18px!important;color:var(--mobile-ink)!important}.prf-direct-camera p{font-size:12px!important;color:#69808e!important;line-height:1.7!important}.prf-direct-camera button{background:var(--mobile-ink)!important;color:white!important;width:100%;min-height:52px!important;border-radius:15px!important;font-size:14px!important}.prf-direct-camera small{font-size:10px!important;color:var(--mobile-green)!important}
 #prf-page-previews{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important}.prf-page-slot{min-width:0;border-radius:12px!important;border:1px solid #dbe6eb!important;background:white!important;padding:9px!important}.prf-page-slot.empty{background:#eaf0f3!important;border:1px dashed #c5d5df!important;min-height:127px!important}.prf-page-slot figcaption{font-size:10px!important;font-weight:700!important}.prf-page-slot img{border-radius:4px;object-fit:contain;max-height:133px!important}.prf-page-slot button{font-size:10px!important;padding:6px!important;min-height:48px!important}.prf-confirm{font-size:12px!important;line-height:1.6!important;gap:10px;padding:13px 0}.prf-confirm input{width:21px;height:21px;accent-color:var(--mobile-green)}#prf-save{background:var(--mobile-green)!important;font-size:14px!important;min-height:52px!important;border-radius:15px!important;box-shadow:none!important}#prf-pages-status{font-size:12px!important;color:var(--mobile-ink)!important;background:#edf4f0!important;border-radius:13px!important}#prf-size-note{font-size:11px!important;color:#397158!important;padding:10px;background:#e9f4ee;border-radius:12px}
 .prf-live-state{border-radius:13px!important;font-size:11px!important;line-height:1.6}.prf-live-state.owned{background:#e8f5ee!important;color:#21694e!important}.prf-live-state.occupied{background:#fff3d2!important;color:#825a04!important}
 .prf-save-receipt{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border:0!important;border-radius:0!important;background:var(--mobile-canvas)!important;padding:calc(40px + env(safe-area-inset-top)) 24px calc(30px + env(safe-area-inset-bottom))!important;display:flex;flex-direction:column;align-items:stretch;justify-content:center;text-align:center;box-sizing:border-box}
 .prf-save-receipt h2{font:750 26px/1.4 Sora,Arial!important;color:var(--mobile-ink);letter-spacing:-1px}.prf-save-receipt p{font-size:14px!important;color:#607583!important;line-height:1.8!important}.prf-receipt-tick{width:100px!important;height:100px!important;margin:0 auto 24px!important;border-radius:50%!important;background:#e0f3e8!important;color:var(--mobile-green)!important;display:grid;place-items:center;font-size:48px!important;box-shadow:0 0 0 12px #e0f3e83d}.prf-save-receipt .button{min-height:52px!important;border-radius:15px!important;background:var(--mobile-ink)!important;color:white!important;margin-top:20px;font-size:14px!important}.prf-save-receipt>a:not(.button){min-height:48px;display:flex;align-items:center;justify-content:center;margin-top:10px;color:var(--mobile-green);font-size:12px}
 .prf-sent-card{border-radius:20px!important;background:var(--mobile-canvas)!important;box-shadow:none!important;border:0!important;text-align:center}.prf-sent-check{background:#e0f3e8!important;color:var(--mobile-green)!important;border-radius:50%!important}
 .prf-page-editor{background:var(--mobile-canvas)!important}.prf-editor-head,.prf-editor-footer{background:var(--mobile-canvas)!important}.prf-editor-footer #prf-editor-apply{background:var(--mobile-green)!important}.prf-editor-section{border-color:var(--mobile-line)!important;border-radius:14px!important}
 body:has(dialog[open]) .mobile-group-dock{display:none!important}.account-dialog{border-radius:24px!important;max-width:calc(100vw - 24px)!important}.account-tools a{min-height:48px;display:flex;align-items:center}.lockbar{font-size:11px!important;border-radius:13px!important;padding:12px!important}.lockbar.mine{background:#e8f5ee!important;color:#21694e!important;border-color:#d8e9df!important}
 @media(max-width:350px){.mobile-task{padding:11px 8px;gap:7px}.mobile-task i{width:32px}.mobile-task small{font-size:9px}.mobile-totals b{font-size:20px}.mobile-passport h2{font-size:21px!important}}
}
@media(prefers-reduced-motion:reduce){.mobile-passport,.mobile-task,.mobile-home *{animation:none!important;transition:none!important}}
@media screen and (max-width:650px){
 main .pagetabs{display:none!important}
 main .mobile-stage-chips{flex-wrap:nowrap!important;white-space:nowrap;min-height:62px}
 .recruits-completion form.filters>.mobile-single-search{grid-column:1/-1;width:100%}
 .mobile-single-search input{min-width:0!important;width:100%!important}
 .recruits-completion td.recruit-quick-actions{display:flex!important;grid-column:1/-1;align-items:center;gap:12px;padding:10px 14px!important;border-top:1px solid #edf1f4!important}
 .recruit-quick-actions .button{flex:1;background:var(--mobile-ink)!important;color:white!important;font-size:12px!important}
 .recruit-quick-actions>a:not(.button){font-size:12px;padding:12px 0}
 .prf-capture-desktop .prf-existing-empty{display:none!important}
 .prf-capture-desktop .prf-draft:not(:has(button)){display:none!important}
 .prf-capture-desktop .prf-capture-head{padding:13px 16px!important;margin-bottom:12px!important}
 .prf-capture-desktop .prf-capture-head h1{font-size:18px!important}
 .prf-capture-desktop .prf-capture-head .actions{display:none!important}
 .prf-capture-desktop .prf-capture-form{display:flex!important;flex-direction:column!important;gap:10px!important;padding:15px!important}
 .prf-capture-desktop .prf-upload-options{order:-1!important;margin:0!important}
 .prf-capture-desktop .prf-direct-camera{padding:15px!important}
 .recruit-profile .ph-top{display:flex!important;flex-direction:row!important;align-items:flex-start!important}
 .recruit-profile .ph-av{flex:0 0 52px;margin:0!important}
 .recruit-profile .ph-id{flex:1;min-width:0;text-align:left!important}
 .recruit-profile .ph-id h3{font-size:17px!important;line-height:1.4!important;text-align:left!important;margin:0 0 5px!important}
 .recruit-profile .ph-badges{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:5px!important;margin-top:9px!important}
 .recruit-profile .ph-badges span{font-size:9px!important;padding:4px 7px!important;min-height:0!important}
 .recruit-profile .ph-stats{margin-top:14px!important;gap:7px!important}
 .recruit-profile .phs{padding:8px 10px!important;min-height:0!important}
}


/* ===== mobile-refinements.css ===== */
/* Shared mobile surfaces: landing, authentication and operational pages. */
@media screen and (max-width:650px){
 :root{--phone-ink:#082b42;--phone-gold:#f3c659;--phone-canvas:#f2f6f7;--phone-border:#dce6eb}
 html{scroll-padding-top:90px;overflow-x:clip}
 body{overflow-x:clip}
 a,button,input,select,textarea{-webkit-tap-highlight-color:transparent}
 :is(a,button,input,select,textarea):focus-visible{outline:3px solid #237ba8;outline-offset:3px}
 body.landing-page{background:var(--phone-canvas);color:var(--phone-ink);font-family:'Public Sans','Segoe UI',sans-serif}
 .landing-page::before,.landing-page .grid-bg{display:none}
 .landing-page .wrap{padding:0 20px}
 .landing-page .top{padding:16px 0;gap:10px;min-height:80px}
 .landing-page .brand{gap:9px;font-size:14px;letter-spacing:.7px;min-width:0}
 .landing-page .brand small{font-size:8px;letter-spacing:.8px;color:#657784}
 .landing-page .brand .chip{border:1px solid var(--phone-border);box-shadow:none;border-radius:12px}
 .landing-page .top nav{flex:none}
 .landing-page .top .btn{min-height:48px;padding:12px 16px;border-radius:14px;font-size:14px;box-shadow:none}
 .landing-page .hero{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:23px 0 28px}
 .landing-page .hero>.emblem{display:none}
 .landing-page .kicker{background:#e6f2ed;border:1px solid #cbe4d7;color:#11664e;font-size:10px;line-height:1.6;letter-spacing:.7px;padding:8px 12px;max-width:100%;animation:none}
 .landing-page .kicker i{flex-shrink:0;background:#13795f;box-shadow:none}
 .landing-page h1{font-family:Sora,'Segoe UI',sans-serif;font-size:30px;line-height:1.23;letter-spacing:-1px;margin:20px 0 15px;animation:none}
 .landing-page h1 span{background:none;color:#13795f}
 .landing-page .lede{color:#526c7b;font-size:15px;line-height:1.7;animation:none}
 .landing-page .cta{display:grid;grid-template-columns:1fr;gap:10px;margin-top:22px;animation:none}
 .landing-page .btn{min-height:52px;justify-content:center;font-size:15px;border-radius:16px;box-shadow:none;transition:none}
 .landing-page .btn.gold{background:var(--phone-gold);color:var(--phone-ink)}
 .landing-page .btn.ghost{background:#fff;border:1px solid var(--phone-border);color:var(--phone-ink)}
 .landing-page .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 32px}
 .landing-page .stat{background:#fff;border:1px solid var(--phone-border);border-radius:18px;padding:16px;opacity:1;animation:none;backdrop-filter:none}
 .landing-page .stat strong{font-size:28px;margin-top:8px}
 .landing-page .stat span{font-size:11px;letter-spacing:.2px;color:#607685;text-transform:none}
 .landing-page .stat .bar{background:#edf2f4;height:4px}
 .landing-page .stat .bar i{background:#13795f}
 .landing-page .section-t{text-align:left;margin:0 0 18px;scroll-margin-top:20px}
 .landing-page .section-t small{color:#866516;font-size:10px;letter-spacing:1.5px}
 .landing-page .section-t h2{font-size:23px;line-height:1.3;margin-top:8px}
 .landing-page .section-t p{color:#526c7b!important;font-size:14px}
 .landing-page .steps{grid-template-columns:1fr;gap:10px}
 .landing-page .step{background:#fff;border:1px solid var(--phone-border);border-radius:18px;padding:18px 18px 18px 78px;min-height:126px;transform:none}
 .landing-page .step .ic{position:absolute;left:16px;top:18px;width:46px;height:46px;border-radius:14px;background:#fff4d6;border-color:#f3dda2;margin:0;font-size:21px}
 .landing-page .step .no{font-size:18px;top:19px;right:17px;color:#8799a4}
 .landing-page .step h3{font-size:15px;padding-right:28px;margin-bottom:7px}
 .landing-page .step p{color:#526c7b;font-size:13px;line-height:1.65}
 .landing-page .feats{gap:10px;margin:28px 0}
 .landing-page .feat{background:#e8eff2;border:0;border-radius:16px;padding:16px}
 .landing-page .feat b{font-size:14px}.landing-page .feat span{color:#526c7b;font-size:13px}
 .landing-page .band{background:var(--phone-ink);color:white;padding:22px;border-radius:22px;margin:0 0 24px;box-shadow:none;gap:18px}
 .landing-page .band h3{font-size:21px;margin-bottom:8px}.landing-page .band p{font-size:13px;line-height:1.7;overflow-wrap:anywhere}
 .landing-page .band .btn{width:100%;background:var(--phone-gold);color:var(--phone-ink)}
 .landing-page footer{color:#526c7b;border-color:var(--phone-border);font-size:12px;line-height:1.7;gap:8px}
 .landing-page footer .office-label,.landing-page footer .office-label b{color:#526c7b}
 body.login-page{background:var(--phone-canvas)!important;color:var(--phone-ink);font-family:'Public Sans','Segoe UI',sans-serif}
 body.login-page::before,body.login-page::after{display:none!important}
 .login-page .auth-main{padding:0!important;margin:0!important;min-height:100dvh}
 .login-page .content{padding:24px 20px calc(24px + env(safe-area-inset-bottom))!important;max-width:460px;margin:auto}
 .login-page .login-wrap{display:flex!important;flex-direction:column;gap:20px;min-height:0!important;margin:0!important;max-width:100%;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
 .login-page .login-hero{padding:0!important;border-radius:0!important;background:none!important;color:var(--phone-ink)!important;min-height:0!important}
 .login-page .login-hero .chip{display:grid;place-items:center;width:62px;height:70px;background:#fff;border:1px solid var(--phone-border);border-radius:18px;box-shadow:none;margin-bottom:16px}
 .login-page .login-hero .chip img{max-width:48px;max-height:58px}
 .login-page .login-hero .k{color:#657784!important;font-size:10px;letter-spacing:1px;margin-bottom:10px}
 .login-page .login-hero h1{font-family:Sora,sans-serif;font-size:25px!important;line-height:1.3;letter-spacing:-.8px;color:var(--phone-ink)!important;margin:0 0 10px}
 .login-page .login-hero h1 span{color:#13795f!important;background:none!important;-webkit-text-fill-color:currentColor}
 .login-page .login-hero p{color:#526c7b!important;font-size:14px;line-height:1.65;margin:0}
 .login-page .login-steps{display:none!important}
 .login-page .login-card{padding:24px 20px!important;border:1px solid var(--phone-border)!important;border-radius:24px!important;background:#fff!important;box-shadow:0 10px 26px #082b4207!important;min-width:0}
 .login-page .login-card h2{font-size:22px;color:var(--phone-ink);margin:0 0 8px}
 .login-page .login-card>p{font-size:13px;line-height:1.7;color:#607685;overflow-wrap:anywhere;margin-bottom:20px}
 .login-page .login-card label{font-size:14px;font-weight:600;color:var(--phone-ink);margin-bottom:16px}
 .login-page .login-card input{font-size:16px!important;min-height:52px;border-radius:14px!important;background:#f6f9fa!important;border:1px solid var(--phone-border)!important;padding:14px!important;width:100%;min-width:0}
 .login-page .password-field{display:flex!important;position:relative;align-items:stretch}
 .login-page .password-field input{padding-right:84px!important}
 .login-page #login-password-toggle{position:absolute!important;transform:none!important;right:5px;top:4px;bottom:4px;width:76px;min-height:44px!important;margin:0!important;padding:8px!important;background:#e9f0f3!important;color:var(--phone-ink)!important;border:0!important;border-radius:10px!important;font-size:12px}
 .login-page .login-card form>button{width:100%;min-height:54px;margin-top:5px;background:var(--phone-ink)!important;color:white!important;border-radius:14px!important;font-size:15px;font-weight:700}
 .login-page .login-card>small{display:block;margin-top:20px;font-size:12px;line-height:1.8;color:#607685}
 .login-page .login-card>small a{display:block;min-height:44px;color:var(--phone-ink);font-weight:600}
 body:not(.login-page):not(.landing-page) main :is(.actions,.print-actions){gap:8px;flex-wrap:wrap}
 body:not(.login-page) main :is(.actions,.print-actions) :is(button,.button){display:inline-flex;align-items:center;justify-content:center;line-height:1.4;font-size:14px;padding:12px 16px;white-space:normal;max-width:100%}
 body:not(.login-page) main :is(label,.muted){line-height:1.6}
 .mobile-app-nav a{font-size:11px!important;font-weight:600}
 .mobile-app-nav{background:#fff!important}
 .adm-stats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 .adm-stats .as{min-width:0!important;padding:16px!important;border-radius:18px!important}
 .adm-stats .as b{font-size:17px!important;overflow:visible!important;text-overflow:clip!important;white-space:normal!important;overflow-wrap:anywhere}
 .adm-stats .as small{font-size:10px!important;letter-spacing:.4px!important;white-space:normal!important}
 .adm-stats .as{display:grid!important;grid-template-columns:32px minmax(0,1fr)!important;gap:8px!important;align-items:center}
 .adm-stats .as>span{grid-row:1!important;grid-column:1!important;width:32px!important;height:32px!important}
 .adm-stats .as>small{grid-column:2!important;grid-row:1!important;min-width:0}
 .adm-stats .as>b{grid-column:1/-1!important;grid-row:2!important;min-width:0}
 .recruits-completion .whocell>div{min-width:0;flex:1}
 .recruits-completion .whocell .wn{overflow-wrap:anywhere}
 .recruits-completion .page-heading>.actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
 .recruits-completion tr[data-mobile-person]{padding:18px 16px!important}
 .recruits-completion .completion-total{margin-top:16px!important;row-gap:9px!important}
 .recruits-completion .completion-track{height:4px!important;margin:0!important}
 .recruits-completion td.recruit-quick-actions{display:grid!important;grid-template-columns:minmax(0,1fr) 88px!important;gap:10px!important;margin-top:16px!important;padding:0!important;border:0!important;align-items:stretch!important}
 .recruits-completion .recruit-quick-actions>a{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px;min-width:0;min-height:50px!important;height:auto!important;margin:0!important;padding:12px 10px!important;border-radius:14px!important;font-size:13px!important;font-weight:650;line-height:1.4!important;text-align:center;white-space:normal!important;overflow-wrap:anywhere;text-decoration:none}
 .recruits-completion .recruit-quick-actions>a:not(.button){background:#edf3f6!important;border:1px solid #dce6eb!important;color:#23495e!important}
 .recruits-completion .recruit-quick-actions>a:only-child{grid-column:1/-1}
 .recruits-completion .whocell .lockpill:not([hidden]){display:flex!important;width:fit-content;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere;margin:8px 0 0!important;line-height:1.5;animation:none}
 body:not(.login-page) main .content{padding-bottom:calc(120px + env(safe-area-inset-bottom))!important}
 main :is(.actions,.print-actions){row-gap:10px!important;column-gap:10px!important}
 main :is(.actions,.print-actions)>:is(button,a.button){min-width:0;min-height:48px!important;flex:1 1 140px;gap:8px!important;margin:0!important}
 main :is(.work-tools,.work-capture,.bulkbar,.queue-actions) :is(button,a.button){min-height:48px!important;height:auto!important;padding:12px 14px!important;line-height:1.4!important;border-radius:14px!important}
 .mobile-group-dock{gap:10px!important;padding:12px 16px!important}
 .mobile-group-dock>div{min-width:0}.mobile-group-dock button{flex-shrink:0}
 /* Search input keeps the available width; filter trigger is always one touch target. */
 main .mobile-single-search .mobile-filter-toggle{flex:0 0 48px!important;width:48px!important;min-width:48px!important;max-width:48px!important;padding:0!important}
 main .mobile-single-search>input{flex:1 1 0!important;min-width:0!important;width:0!important;max-width:100%;padding:12px!important}
 #office-queue form.office-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;min-width:0}
 #office-queue form.office-filters>label{min-width:0;margin:0!important}
 #office-queue form.office-filters>.mobile-filter-field{display:none!important}
 #office-queue form.office-filters.mobile-filters-open>.mobile-filter-field{display:block!important}
 #office-queue form.office-filters .queue-single-search{grid-column:1/-1;display:block!important;padding:14px!important;min-width:0}
 #office-queue form.office-filters .queue-single-search>label{display:block;font-size:12px!important;line-height:1.5!important;margin-bottom:10px!important}
 #office-queue form.office-filters .queue-single-search .queue-search-line{display:grid!important;grid-template-columns:minmax(0,1fr) 48px!important;gap:8px!important}
 #office-queue form.office-filters .queue-single-search input{width:100%!important;min-width:0!important;height:48px!important;min-height:48px!important;max-height:none!important}
 #office-queue form.office-filters .queue-single-search .mobile-filter-toggle{height:48px!important;min-height:48px!important;max-height:48px!important}
 #office-queue #queue-search-status{grid-column:1/-1;min-width:0;overflow-wrap:anywhere;font-size:12px}
 #office-queue #queue-search-status:empty{display:none}
 #office-queue form.office-filters>.mobile-many-toggle{grid-column:1/-1;width:100%;margin:0}
 #office-queue form.office-filters .queue-people{grid-column:1/-1;display:none!important;min-width:0}
 #office-queue form.office-filters.mobile-many-open .queue-people{display:block!important;padding:14px!important}
 #office-queue form.office-filters .queue-people>label{display:block;line-height:1.5!important;font-size:12px!important;margin-bottom:10px!important}
 #office-queue form.office-filters .queue-people .queue-search-line{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
 #office-queue form.office-filters .queue-people textarea{width:100%!important;min-width:0!important;height:96px!important;min-height:96px!important;max-height:none!important;padding:12px!important}
 #office-queue form.office-filters .queue-people button{width:100%!important;min-height:48px!important;max-height:none!important;height:48px!important}
 #office-queue form.office-filters .queue-people small{display:block;margin-top:10px!important;line-height:1.6!important;font-size:12px!important}
 #office-queue form.office-filters .queue-filter-submit{grid-column:1/-1;justify-content:flex-end!important}
 .adm-two{grid-template-columns:1fr!important;min-width:0}
 .adm-form{min-width:0}.adm-form .form-grid{grid-template-columns:1fr!important}
 .mobile-ruler-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
 .mobile-filter-toggle:active,.mobile-app-nav a:active,main .button:active{transform:scale(.98)}
 @supports(backdrop-filter:blur(12px)){
  body:not(.login-page) .topbar,.mobile-app-nav{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
 }
}
@media screen and (max-width:360px){
 .landing-page .wrap{padding:0 16px}.landing-page h1{font-size:27px}
 .landing-page .brand small{font-size:7px;letter-spacing:.3px}
 .login-page .content{padding:20px 16px!important}.login-page .login-card{padding:20px 16px!important}
}
@media(prefers-reduced-motion:reduce){.landing-page *{animation:none!important;transition:none!important}.landing-page html{scroll-behavior:auto}.mobile-filter-toggle:active,.mobile-app-nav a:active,main .button:active{transform:none}}

/* Login remains readable even when an existing session displays the shared shell. */
@media screen and (max-width:650px){
 .login-wrap .login-hero h1,.login-wrap .login-hero p,.login-wrap .login-steps>div{color:#082b42!important;-webkit-text-fill-color:#082b42!important}
 .login-wrap .login-hero h1 span{color:#b27b10!important;-webkit-text-fill-color:#b27b10!important}
 .login-wrap .login-steps b{color:#93690e!important;-webkit-text-fill-color:#93690e!important}
}


/* ===== prf-workspace.css ===== */
/* Capture workspace: one person, six pages, one confirmed save. */
@media screen{
 .prf-workspace .prf-upload-options{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;align-items:start}
 .prf-workspace .prf-source-card{padding:20px!important;border:1px solid #dce6eb;border-radius:18px!important;background:#f5f8fb!important;display:grid!important;gap:10px!important;min-width:0}
 .prf-workspace .prf-source-card .prf-camera-heading{margin:0 0 6px}
 .prf-workspace .prf-source-card button,.prf-workspace .prf-source-card select{min-height:48px!important;width:100%;white-space:normal;border-radius:12px!important;font-size:13px!important}
 .prf-workspace .prf-scanner-control>*{grid-column:1!important;grid-row:auto!important}
 .prf-workspace .prf-phone-text{display:none}.prf-workspace .prf-desktop-text{display:inline}
 .prf-workspace .prf-scanner-control small{font-size:12px;color:#526c7b;line-height:1.6}
}
@media screen and (max-width:650px){
 .prf-workspace .prf-upload-options{grid-template-columns:1fr!important}
 .prf-workspace .prf-scanner-control{display:none!important}
 .prf-workspace .prf-phone-text{display:inline}.prf-workspace .prf-desktop-text{display:none}
 .prf-workspace .prf-source-card{padding:16px!important}
}
@media screen{
 .prf-workspace-page main>.content>.smart-status,.prf-workspace-page main>.content>.queue-current{display:none!important}
 .prf-workspace.prf-capture .prf-capture-head{background:#fff!important;color:#082b42!important;border:1px solid #dce6eb!important;border-radius:20px!important;padding:20px!important;box-shadow:none!important;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px!important}
 .prf-workspace .prf-capture-head h1{font-size:23px!important;color:#082b42!important;line-height:1.4;margin:6px 0!important;overflow-wrap:anywhere}
 .prf-workspace .prf-capture-head p{font-size:13px!important;color:#607685!important;margin:0}
 .prf-workspace .prf-capture-head .eyebrow{color:#866516;font-size:10px;letter-spacing:1.3px}
 .prf-workspace .prf-back{flex:none;min-height:48px!important}
 .prf-workspace .prf-batch{display:flex;justify-content:space-between;align-items:center;padding:12px 16px!important;background:#eaf3ef!important;border:1px solid #cfe4d8!important;margin:0 0 12px;border-radius:14px!important}
 .prf-batch small{display:block;color:#526c7b;margin-top:3px}.prf-batch a{padding:12px;font-weight:650}
 .prf-workspace #prf-live-status{margin:0 0 14px;padding:10px 14px;font-size:12px;border-radius:12px}
 .prf-workspace.prf-capture .prf-capture-grid{display:block!important}
 .prf-workspace.prf-capture .prf-capture-form{display:grid!important;grid-template-columns:minmax(0,1fr)!important;padding:24px!important;gap:20px!important;max-width:940px;margin:auto;box-shadow:none!important;border:1px solid #dce6eb;border-radius:22px!important}
 #prf-pages-form[hidden]{display:none!important}
 .prf-workspace .prf-capture-form>*,.prf-workspace .prf-capture-form .prf-upload-options{grid-column:1!important;grid-row:auto!important;order:0!important;min-width:0;margin-top:0!important}
 .prf-flow{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0;margin:0}
 .prf-flow li{display:flex;align-items:center;gap:9px;padding:11px 13px;border-radius:12px;background:#f1f5f7;color:#617b88;font-size:13px;font-weight:650}
 .prf-flow li>span{display:grid;place-items:center;width:26px;height:26px;flex:none;border-radius:50%;border:1px solid #cedce3;background:#fff;font-size:12px}
 .prf-flow li[aria-current=step]{background:#fff2ce;color:#715414}.prf-flow li[aria-current=step]>span{background:#f3c659;border-color:#f3c659;color:#082b42}
 .prf-flow li.done{background:#e8f4ed;color:#13795f}
 .prf-workspace .prf-direct-camera{display:grid!important;padding:20px!important;border:1px solid #cfddd7!important;border-radius:18px!important;background:#eef6f2!important;margin:0!important;text-align:left!important}
 .prf-camera-heading{display:flex;align-items:center;gap:13px;margin-bottom:16px}
 .prf-camera-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#d8eadd;color:#13795f;flex:none}
 .prf-workspace .prf-camera-heading h2{font-size:18px!important;margin:0 0 5px!important;color:#082b42!important}.prf-workspace .prf-camera-heading p{font-size:13px;line-height:1.6;margin:0!important;color:#526c7b}
 .prf-workspace :is(#prf-direct-camera,#prf-open-camera){display:flex!important;align-items:center;justify-content:center;gap:12px;width:100%;min-height:56px!important;padding:12px 16px!important;border-radius:16px!important;background:#082b42!important;color:#fff!important;font-size:15px!important;white-space:normal;line-height:1.5;box-shadow:0 4px 10px #082b421a!important}
 .prf-trigger-icon{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:10px;background:#ffffff17}.prf-trigger-arrow{margin-left:auto;font-size:22px}.prf-workspace [data-camera-label]{flex:1;text-align:left}
 .prf-alternative,.prf-scan-settings{border:1px solid #dce6eb;border-radius:14px;background:#fff;overflow:hidden}
 .prf-alternative{margin-top:12px}.prf-alternative summary,.prf-scan-settings summary{min-height:48px;padding:13px 16px;color:#526c7b;font-size:13px;font-weight:650;cursor:pointer}
 .prf-alternative-body{padding:0 16px 16px;display:grid;gap:12px}
 .prf-workspace.prf-capture .prf-alternative .prf-pick:not([hidden]){display:grid!important;margin:0!important;padding:12px!important;gap:10px;min-width:0}
 .prf-workspace .prf-form-meta{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px;padding:4px 16px 16px!important}
 .prf-workspace .date-step{display:flex;gap:6px}.prf-workspace .date-step input{min-width:0;flex:1}.prf-workspace .date-step button{min-width:42px;min-height:48px!important;padding:8px}
 .prf-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.prf-workspace .prf-section-heading h2{font-size:18px!important;margin:0!important}
 #prf-capture-count{font-size:13px;font-weight:750;background:#edf3f6;padding:5px 10px;border-radius:9px;color:#082b42}
 .prf-workspace #prf-pages-status{font-size:13px!important;color:#526c7b!important;background:none!important;border:0!important;margin:8px 0 14px!important;padding:0!important;line-height:1.5}
 .prf-workspace .prf-page-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;scroll-margin-top:90px}
 .prf-workspace .prf-page-slot.empty{min-height:105px!important;border:1px dashed #bdd2dc!important;border-radius:15px!important;padding:14px!important;background:#f6f9fa!important;gap:7px!important;justify-content:center}
 .prf-workspace .prf-page-slot figcaption{font-size:13px!important;font-weight:650;color:#23495e}
 .prf-slot-camera{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#13795f}.prf-workspace .prf-page-slot.empty small{display:none!important}
 .prf-workspace .prf-page-slot.filled{padding:12px!important;border:1px solid #c6ded1;border-radius:15px;background:#f4faf6!important;min-width:0}
 .prf-workspace .prf-page-slot.filled img{width:100%!important;height:170px!important;object-fit:contain!important;border-radius:8px}
 .prf-workspace .prf-slot-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px!important;margin-top:10px}
 .prf-workspace .prf-slot-actions button{width:100%;min-width:0;min-height:48px!important;font-size:12px!important;padding:8px!important;white-space:normal;border-radius:10px!important}
 .prf-workspace .prf-slot-actions button:last-child{grid-column:1/-1;background:#fff!important;color:#a52d39!important;border:1px solid #ebc8ce}
 .prf-workspace #prf-size-note{display:block;font-size:12px!important;margin-top:12px!important;line-height:1.6;color:#607685}
 .prf-save-area{padding-top:18px;border-top:1px solid #e4ecef;scroll-margin-top:90px}
 .prf-workspace .prf-confirm{display:flex!important;align-items:flex-start;gap:12px;padding:14px!important;border:1px solid #dce6eb!important;border-radius:14px!important;background:#f6f9fa!important;line-height:1.6;font-size:14px!important;margin:0!important}
 .prf-workspace .prf-confirm input{width:22px!important;height:22px!important;flex:none;margin:2px 0!important;accent-color:#13795f}
 #prf-save-guide{font-size:12px!important;line-height:1.6;color:#526c7b;margin:10px 0}
 .prf-workspace #prf-save{position:static!important;width:100%!important;min-height:54px!important;background:#13795f!important;color:#fff!important;border-radius:14px!important;font-size:15px!important;box-shadow:none!important}
 .prf-workspace #prf-save:disabled{background:#e0e8ec!important;color:#607685!important;opacity:1!important}
 .prf-workspace .prf-draft{font-size:12px!important;background:#fff8df!important;border:1px solid #eddda8!important;border-radius:14px!important;padding:12px 16px!important;margin:0 0 14px!important;line-height:1.6}
 .prf-workspace .prf-draft button{min-height:48px;margin:8px 8px 0 0;border-radius:12px}
 .prf-saved-workspace{padding:24px!important;border-radius:20px;border:1px solid #c6ded1!important;background:#f0f8f3!important;margin:18px 0}
 .prf-saved-tick{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#13795f;color:#fff;font-size:28px;margin-bottom:14px}
 .prf-saved-workspace h2{font-size:22px;margin-bottom:10px}.prf-saved-workspace .actions{display:flex;gap:10px;flex-wrap:wrap}
 .prf-workspace .prf-capture-side{margin-top:18px}.prf-archive summary{cursor:pointer;font-weight:650;padding:10px}
}
@media screen and (max-width:650px){
 .prf-workspace.prf-capture .prf-capture-head{padding:16px!important;display:block!important}.prf-workspace .prf-capture-head h1{font-size:18px!important}.prf-workspace .prf-back{display:inline-flex!important;margin-top:12px;min-height:44px!important;font-size:12px;padding:8px 12px}
 .prf-workspace.prf-capture .prf-capture-form{padding:16px!important;gap:16px!important;display:grid!important}
 .prf-workspace .prf-flow{gap:6px}.prf-flow li{font-size:12px;gap:5px;padding:9px 8px}.prf-flow li>span{width:22px;height:22px;font-size:11px}
 .prf-workspace .prf-direct-camera{padding:16px!important}.prf-workspace .prf-camera-heading h2{font-size:16px!important}.prf-camera-icon{width:42px;height:42px}
 .prf-workspace .prf-camera-heading p{font-size:12px}.prf-workspace .prf-form-meta{grid-template-columns:1fr!important}
 .prf-workspace .prf-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}.prf-workspace .prf-page-slot.empty{min-height:85px!important;padding:12px!important}
 .prf-workspace .prf-page-slot.filled img{height:130px!important}
 .prf-workspace .prf-slot-actions{grid-template-columns:1fr}.prf-workspace .prf-slot-actions button:last-child{grid-column:1}
 .prf-workspace .prf-scanner-control{grid-template-columns:1fr!important}.prf-workspace .prf-scanner-control>*{grid-column:1!important;grid-row:auto!important}
 .prf-workspace .prf-saved-workspace .actions{display:grid;grid-template-columns:1fr}.prf-saved-workspace .actions a{min-height:50px;justify-content:center}
}


/* ===== report-downloads.css ===== */
.document-hub{background:linear-gradient(115deg,#06294c,#12615e);border-radius:20px;padding:24px;color:#fff;display:flex;gap:24px;align-items:center;margin:20px 0}
.document-hub h2,.document-hub p{color:inherit;margin:0 0 8px}.document-hub .document-hub-icon{color:#f3c64e}.document-hub .button{margin-left:auto;flex-shrink:0;background:#f3c64e;color:#06294c}
.document-library .office-filters{grid-template-columns:1fr 1fr 2fr auto;align-items:end}.document-library td strong{display:block}.document-library .document-pdf{min-height:44px;gap:6px;white-space:nowrap}.mobile-download-note{display:none}
@media(max-width:900px){.desktop-download,[data-desktop-download]{display:none!important}.mobile-download-note{display:block;color:#526a83}}
@media print{.document-hub,.mobile-download-note{display:none}}
.zip-bar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:10px 0}.zip-count{font-weight:800;color:#002147;min-width:150px}.zip-bar .button:disabled{opacity:.45}


/* ===== queue-compact.css ===== */
#office-queue form.office-filters{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:12px!important;padding:16px!important}
#office-queue form.office-filters>label{grid-column:auto!important}
#office-queue form.office-filters .queue-single-search{grid-column:span 2!important;padding:12px!important}
#office-queue form.office-filters .queue-people{grid-column:span 3!important;padding:12px!important}
#office-queue form.office-filters .queue-filter-submit{grid-column:span 1!important;order:4;flex-direction:column!important;justify-content:center!important;gap:10px!important;padding:0!important;border:0!important}
#office-queue form.office-filters .queue-search-line{align-items:center!important}
#office-queue form.office-filters .queue-search-line input,#office-queue form.office-filters .queue-search-line textarea{height:44px!important;min-height:44px!important}
#queue-search-status{font-size:11px;color:#526a83}
@media(max-width:1050px){#office-queue form.office-filters{grid-template-columns:repeat(3,minmax(0,1fr))!important}#office-queue form.office-filters .queue-single-search{grid-column:span 1!important}#office-queue form.office-filters .queue-people{grid-column:span 2!important}#office-queue form.office-filters .queue-filter-submit{grid-column:1/-1!important;flex-direction:row!important}}
@media(max-width:650px){#office-queue form.office-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important}#office-queue form.office-filters .queue-single-search,#office-queue form.office-filters .queue-people{grid-column:1/-1!important}}

#office-queue .queue-sort-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:20px 0 12px;padding:14px 18px;background:#fff;border:1px solid #dce7ee;border-radius:16px;color:#123653}
#office-queue .queue-sort-bar label{font-weight:700;margin:0}
#office-queue .queue-sort-bar select{width:auto;min-width:240px;min-height:44px;margin:0;color:#123653}
#office-queue .queue-sort-bar span{font-size:12px;color:#526a83}
@media(max-width:650px){#office-queue .queue-sort-bar{gap:8px;padding:12px}#office-queue .queue-sort-bar select{width:100%;min-width:0}#office-queue .queue-sort-bar span{width:100%}}

.workflow-return{margin-top:10px;color:#123653}.workflow-return summary{cursor:pointer;font-weight:700;min-height:44px;display:flex;align-items:center;gap:8px;padding:8px 12px;background:#fff7e4;border:1px solid #eed99e;border-radius:10px}.workflow-return .actions{display:flex;flex-direction:column;gap:8px;padding:10px 0}.workflow-return a{white-space:normal!important;min-height:44px}

.workflow-return-select{width:auto!important;max-width:100%;min-width:156px;min-height:44px;height:44px;margin:0!important;padding:8px 32px 8px 12px!important;border:1px solid #eed99e!important;border-radius:10px!important;background-color:#fff7e4!important;color:#123653!important;font-size:13px!important;font-weight:700!important;cursor:pointer;flex:0 1 auto}
#office-queue tbody td:last-child>.actions{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px;margin:0!important}
#office-queue tbody td:last-child>.actions>.button{min-height:44px;display:inline-flex;align-items:center;margin:0!important}
@media(max-width:650px){#office-queue tbody td:last-child>.actions{display:grid;grid-template-columns:1fr 1fr}#office-queue tbody td:last-child>.actions>*{width:100%!important;min-width:0!important;white-space:normal!important}.queue-current .workflow-return-select{width:100%!important}}

@media(min-width:901px){#office-queue tbody td:last-child{width:330px;min-width:315px}#office-queue tbody td:last-child>.actions{flex-wrap:nowrap}#office-queue tbody td:last-child>.actions>.button{white-space:nowrap!important}.workflow-return-select{min-width:156px}}
@media(min-width:901px){#office-queue .workflow-return-select{width:156px!important;max-width:156px!important}#office-queue tbody td:last-child{width:310px;min-width:300px}#office-queue td:nth-last-child(2),#office-queue td:nth-last-child(2) li{white-space:normal!important;overflow-wrap:anywhere}#office-queue td:nth-child(2){white-space:normal!important}}

.person-labels{display:inline-flex;flex-wrap:wrap;gap:5px;align-items:center;max-width:100%;font-size:12px;line-height:1.4}.person-labels>span{display:inline-block;padding:4px 8px;border-radius:7px;font-weight:700;white-space:normal}.person-education{background:#edf3fc;color:#244b79}.person-origin{background:#edf7ef;color:#286044}.person-uraia.u-bad{background:#c62839;color:#fff}.person-uraia.u-warn{background:#f2c14e;color:#4a3200}.person-uraia.u-ok{background:#1f9d5b;color:#fff}.queue-person-labels{white-space:normal!important;min-width:90px}.mobile-person-labels{margin-top:8px}.mobile-person-labels .person-labels{font-size:11px}
@media(min-width:901px){#office-queue tbody td:last-child{width:130px;min-width:120px}#office-queue tbody td:last-child:has([data-workflow-return]){width:300px;min-width:290px}#office-queue td.queue-person-labels{max-width:135px}}


/* ===== mobile-office-queue.css ===== */
/* Touch layout for all workflow queues. Desktop table and action rules stay intact. */
@media(max-width:900px){
 #office-queue{min-width:0;max-width:100%}
 #office-queue .queue-stages{display:flex!important;overflow-x:auto;gap:8px;margin:14px 0;padding:2px 0 8px;scroll-snap-type:x proximity}
 #office-queue .queue-stages>a{flex:0 0 145px;min-width:0!important;min-height:76px!important;padding:12px!important;scroll-snap-align:start;gap:6px!important}
 #office-queue .queue-stages>a::before{display:none!important}
 #office-queue .queue-stages span{font-size:10px!important;line-height:1.4!important}
 #office-queue .queue-stages b{font-size:23px!important;line-height:1.1!important}
 #office-queue form.office-filters{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;padding:14px!important}
 #office-queue form.office-filters>label{min-width:0!important;margin:0!important;gap:6px!important;font-size:12px!important}
 #office-queue form.office-filters :is(input,select,textarea,.ms,.ms-button){min-width:0!important;max-width:100%!important;box-sizing:border-box}
 #office-queue form.office-filters .ms{width:100%!important}
 #office-queue form.office-filters .ms>button{width:100%!important;min-width:0!important;min-height:48px!important}
 #office-queue form.office-filters :is(.queue-single-search,.queue-people){grid-column:1/-1!important;display:flex!important;flex-direction:column!important;grid-template-rows:none!important;padding:12px!important;gap:10px!important}
 #office-queue form.office-filters :is(.queue-single-search,.queue-people)>label{font-size:12px!important;line-height:1.5!important;min-height:0!important}
 #office-queue form.office-filters .queue-search-line{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;width:100%;min-width:0!important}
 #office-queue form.office-filters .queue-search-line input{flex:none!important;width:100%!important;min-height:48px!important;height:48px!important;font-size:16px!important}
 #office-queue form.office-filters .queue-search-line textarea{flex:none!important;width:100%!important;min-height:88px!important;height:88px!important;max-height:none!important;font-size:16px!important;resize:vertical}
 #office-queue form.office-filters .queue-search-line button{width:100%!important;min-width:0!important;min-height:48px!important;max-height:none!important;height:auto!important;font-size:14px!important}
 #office-queue form.office-filters .queue-people small{line-height:1.5!important;font-size:12px!important}
 #office-queue form.office-filters .queue-filter-submit{grid-column:1/-1!important;display:flex!important;flex-direction:column!important;grid-template-rows:none!important;padding:0!important}
 #office-queue form.office-filters .queue-filter-submit>a{width:100%;min-height:48px!important;box-sizing:border-box}
 #office-queue .queue-actions.panel{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;padding:16px!important}
 #office-queue .queue-action-heading{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:8px!important}
 #office-queue .queue-action-heading h2{font-size:20px!important;line-height:1.3!important;margin:0!important}
 #office-queue .queue-action-heading p{font-size:14px!important;line-height:1.6!important;margin:0!important}
 #office-queue .queue-actions>label{width:100%!important;flex:none!important;min-width:0!important;font-size:14px!important}
 #office-queue .queue-actions :is(input:not([type=checkbox]),select,textarea){width:100%!important;min-width:0!important;max-width:100%!important;min-height:48px!important;font-size:16px!important;box-sizing:border-box}
 #office-queue .queue-actions>.actions{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;flex:none!important;width:100%!important}
 #office-queue .queue-actions :is(button,.button){display:flex!important;align-items:center!important;justify-content:center!important;gap:8px;min-height:48px!important;height:auto!important;width:100%!important;white-space:normal!important;line-height:1.4!important;padding:12px!important;font-size:15px!important}
 #office-queue .queue-actions>p{font-size:13px!important;line-height:1.6!important;margin:0!important}
 #office-queue #queue-selection-count{display:block;padding:10px 12px;background:#edf7ef;border-radius:10px;color:#245d46;line-height:1.5;font-size:13px}
 #office-queue .queue-sort-bar{display:grid;grid-template-columns:1fr;padding:14px;gap:8px}
 #office-queue .queue-sort-bar select{width:100%;min-width:0;min-height:48px;font-size:14px}
 #office-queue .table-wrap{overflow:visible!important;border:0!important;box-shadow:none!important;background:transparent!important}
 #office-queue .table-wrap table,#office-queue .table-wrap tbody{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;background:transparent!important}
 #office-queue .table-wrap thead{display:block!important;background:transparent!important}
 #office-queue .table-wrap thead tr{display:block!important;background:transparent!important}
 #office-queue .table-wrap th{display:none!important}
 #office-queue .table-wrap th:first-child:has(#queue-page-all){display:block!important;padding:0 0 12px!important;border:0!important;background:transparent!important}
 #office-queue .queue-select-all{display:flex;align-items:center;gap:10px;min-height:48px;padding:0 12px;font-size:13px;font-weight:700;color:#123653}
 #office-queue .queue-select-all input{width:24px!important;height:24px!important;min-width:24px!important;margin:0!important;accent-color:#19755c}
 #office-queue .table-wrap tr[data-queue-row]{position:relative;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px;width:100%!important;box-sizing:border-box;margin:0 0 14px!important;padding:16px!important;border:1px solid #dce7e9!important;border-radius:18px!important;background:white!important;box-shadow:0 3px 12px #16394a08}
 #office-queue .table-wrap tr[data-queue-row]:has([data-queue-pick]:checked){border-color:#19755c!important;background:#f3faf6!important}
 #office-queue .table-wrap tr[data-queue-row] td{display:block!important;width:auto!important;min-width:0!important;max-width:100%!important;padding:0!important;border:0!important;background:transparent!important;white-space:normal!important;overflow-wrap:anywhere}
 #office-queue .table-wrap tr[data-queue-row] .queue-pick-cell{position:absolute;right:10px;top:8px}
 #office-queue .queue-pick-touch{display:flex;align-items:center;justify-content:center;width:48px;height:48px;margin:0;cursor:pointer}
 #office-queue .queue-pick-touch input{width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;margin:0!important;accent-color:#19755c}
 #office-queue .queue-person-cell{padding-right:46px!important}
 #office-queue .queue-person-cell>a{display:block;font-size:16px!important;font-weight:800!important;line-height:1.45!important;color:#123653}
 #office-queue .queue-person-cell small{font-size:13px!important;margin-top:4px!important;line-height:1.5}
 #office-queue .queue-intake-cell{font-size:12px!important;color:#637c8c}
 #office-queue .queue-intake-cell::before{content:'Intake · ';font-weight:600}
 #office-queue .queue-status-cell .pill{font-size:12px!important;line-height:1.4!important;margin:0 4px 4px 0}
 #office-queue .queue-status-cell small{font-size:13px!important;line-height:1.5!important;margin-top:6px!important}
 #office-queue .queue-status-cell ul{margin:8px 0 0;padding-left:18px}
 #office-queue .queue-row-action>.actions{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;padding-top:10px;border-top:1px solid #edf2f5}
 #office-queue .queue-row-action :is(button,.button,select){display:flex!important;align-items:center!important;justify-content:center!important;gap:8px;box-sizing:border-box;width:100%!important;min-width:0!important;max-width:100%!important;min-height:48px!important;height:auto!important;margin:0!important;white-space:normal!important;font-size:14px!important;line-height:1.5!important;padding:12px!important}
 #office-queue .queue-row-action button[name=one]{background:#16785e!important;color:white!important;border-color:#16785e!important;font-weight:700}
 #office-queue .pagination{display:flex;flex-wrap:wrap;gap:10px;font-size:13px}
 #office-queue .pagination a{display:flex;align-items:center;min-height:48px;padding:0 12px;border:1px solid #dce7ee;border-radius:10px;background:white}
}
@media(max-width:900px){#office-queue .sticky-table-head{display:none!important}#office-queue form.office-filters .queue-single-search .queue-search-line{display:grid!important;grid-template-columns:minmax(0,1fr) 48px!important;align-items:start!important}#office-queue form.office-filters .queue-single-search .mobile-filter-toggle{width:48px!important;min-width:48px!important;min-height:48px!important;padding:10px!important}#office-queue #queue-search-status{grid-column:1/-1}#office-queue .table-wrap tr[data-queue-row] td.queue-person-cell{padding-right:46px!important}#office-queue .queue-person-cell>a{min-height:44px;display:flex;align-items:center}}
@media(max-width:900px){#office-queue .queue-row-action>.actions>*,#office-queue .queue-actions>.actions>*{flex:0 0 auto!important}#office-queue .queue-row-action>.actions>button{height:48px!important}#office-queue .queue-row-action select{padding-right:30px!important}}
@media(max-width:900px){#office-queue .queue-stages{flex-wrap:nowrap!important;align-items:stretch!important}#office-queue .queue-stages>a{display:grid!important;grid-template-columns:28px minmax(0,1fr)!important;grid-template-rows:auto auto!important;align-items:center!important;column-gap:8px!important;min-height:82px!important}#office-queue .queue-stages>a>.queue-stage-icon{width:26px!important;height:26px!important;grid-column:1;grid-row:1/3;border-radius:8px}#office-queue .queue-stages>a>span{grid-column:2;grid-row:1}#office-queue .queue-stages>a>b{grid-column:2;grid-row:2}#office-queue form.office-filters:not(.mobile-many-open) .queue-people{display:none!important}#office-queue form.office-filters>.mobile-many-toggle{grid-column:1/-1!important;min-height:48px!important;width:100%!important;flex:none!important;margin:0!important}}


/* ===== list-tools.css ===== */
/* Safu ya mwisho ya muonekano: orodha, vitufe na simu vinavyofanana kwenye kurasa zote. */

/* ---- Utafutaji wa papo hapo wa orodha (list-tools.js) ---- */
.qf{display:flex;align-items:center;gap:12px;margin:12px 0 0;flex-wrap:wrap}
.qf-field{position:relative;flex:1 1 260px;max-width:520px;display:block;margin:0}
.qf-field input{width:100%;min-height:44px;padding:0 40px 0 40px;border:1px solid #d4dfed;border-radius:12px;background:#f6f9fd;color:#173b60;font:inherit;font-size:14px}
.qf-field input:focus{outline:3px solid #c7962266;outline-offset:1px;background:#fff;border-color:#c79622}
.qf-ic{position:absolute;left:14px;top:50%;transform:translateY(-52%);font-size:20px;color:#60788f;pointer-events:none}
.qf-x{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:34px;height:34px;border:0;border-radius:9px;background:transparent;color:#4b637c;font-size:20px;cursor:pointer}
.qf-x:hover{background:#e7eff8}
.qf-count{font-size:12px;font-weight:650;color:#4b637c}
.qf-none td{padding:28px 16px!important;text-align:center;color:#4b637c;font-size:13px}
tr[hidden]{display:none!important}

/* ---- Vitufe vya orodha: urefu na mpangilio mmoja ---- */
.content .page-heading .actions,.content .toolbar .actions,.content .dl-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.content .page-heading .actions>:is(a,button),.content .toolbar :is(a.button,button.button),.content .actions>:is(a.button,button.button){min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:6px}
.content td .actions{display:flex;flex-wrap:wrap;gap:6px}
.content td .actions>:is(a,button){min-height:34px}

/* ---- Simu: kama app ya Android ---- */
@media screen and (max-width:650px){
 /* fomu zote: safu moja, sehemu kubwa za kugusa */
 .content :is(.form-grid,.inline-form-grid,.policy-form){grid-template-columns:1fr!important}
 .content .form-grid>*{min-width:0}
 .content :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]),select,textarea){min-height:48px;width:100%;box-sizing:border-box}
 .content :is(.form-grid,form.toolbar,form.filters)>div:has(>button):not(.ms){width:100%}
 .content .form-grid button,.content .form-grid .button{width:100%;min-height:48px}
 .content form.toolbar,.content form.filters{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
 .content form.toolbar>*,.content form.filters>*{min-width:0}
 .content .page-heading{display:block!important}
 .content .page-heading .actions{margin-top:12px}
 .content .page-heading .actions>*{flex:1 1 auto}
 .content .page-heading h1{font-size:24px;line-height:1.2}
 /* kadi za takwimu: zisikatwe, zipangwe mistari miwili */
 .mg-hero{grid-template-columns:1fr!important}
 .mg-hs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;overflow:visible!important}
 .mg-hs>div{min-width:0!important}
 .mg-ring{margin:0 auto}
 .mg-rule{overflow-wrap:anywhere}
 .mg-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .content :is(.kpis,.kpi-row,.stat-grid,.ph-stats){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 /* jedwali kuwa kadi (lebo kutoka list-tools.js) */
 .tbl-cards{overflow:visible!important;border:0!important;background:transparent!important;box-shadow:none!important}
 .tbl-cards table,.tbl-cards tbody{display:block!important;width:100%!important;min-width:0!important}
 .tbl-cards thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
 .tbl-cards tbody tr:not(.tbl-empty-row):not(.qf-none){display:block!important;margin:0 0 12px;padding:6px 14px;border:1px solid #dbe6ee;border-radius:16px;background:#fff;box-shadow:0 2px 8px #00214708}
 .tbl-cards tbody td{display:grid!important;grid-template-columns:minmax(88px,34%) 1fr;gap:10px;align-items:start;padding:10px 0!important;border:0!important;border-bottom:1px solid #edf2f7!important;font-size:14px!important;text-align:left!important;min-width:0}
 .tbl-cards tbody td:last-child{border-bottom:0!important}
 .tbl-cards tbody td[data-label]::before{content:attr(data-label);font-size:11px;font-weight:750;letter-spacing:.3px;color:#60788f;text-transform:none;padding-top:2px}
 .tbl-cards tbody td:not([data-label]){grid-template-columns:1fr}
 .tbl-cards tbody td:empty{display:none!important}
 .tbl-cards tbody td>:is(code,small,b,span){overflow-wrap:anywhere}
 .tbl-cards td .actions{display:flex;flex-wrap:wrap;gap:8px}
 .tbl-cards td .actions>*,.tbl-cards td form{flex:1 1 auto}
 .tbl-cards td :is(a.button,button){min-height:44px}
 .tbl-cards .tbl-empty-row td,.tbl-cards .qf-none td{display:block!important}
 /* jedwali refu (safu nyingi): kubaki kuteleza kwa kidole */
 .list-standard-table:not(.tbl-cards){-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
 .qf{margin-top:8px}.qf-field{flex:1 1 100%;max-width:none}
 .qf-count{width:100%}
 /* pagination inayofaa kidole */
 .pagination{flex-wrap:wrap;justify-content:center}.pagination a,.pagination span{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
 /* nafasi ya bottom-nav na safe-area */
 body:not(.login-page) .content{padding-bottom:calc(104px + env(safe-area-inset-bottom))!important}
}
@media (prefers-reduced-motion:reduce){.qf-field input{transition:none}}

/* Fomu ya kuongeza mtumiaji (desktop): safu 4, vitufe chini sawa na sehemu za kuingiza */
@media screen and (min-width:651px){.content form.form-grid[data-cols="user-add"]{grid-template-columns:1fr 1fr 180px auto;align-items:end}}

/* Kitufe kikuu cha hatua kwenye foleni (Scan PRF, Pangia kituo, n.k.): bluu iliyokolea, maandishi ya dhahabu */
#office-queue .queue-row-action a.button{background:#002147!important;color:#d4af37!important;border:1px solid #002147!important;font-weight:700}
#office-queue .queue-row-action a.button svg{color:#d4af37;stroke:currentColor}
#office-queue .queue-row-action a.button:hover,#office-queue .queue-row-action a.button:focus-visible{background:#0a3266!important;color:#e6c35c!important}
#office-queue .queue-row-action a.button:focus-visible{outline:3px solid #d4af3799;outline-offset:2px}

/* Nembo: isipotoshwe (skew) — chip ya mraba, picha ibaki na uwiano wake */
@media screen and (max-width:650px){
 .login-page .login-hero .chip{width:84px!important;height:84px!important;padding:8px!important;border-radius:20px!important;box-sizing:border-box}
 .login-page .login-hero .chip img{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;aspect-ratio:1/1}
}
.topbar img[src*="reference-logo"],.brand img[src*="reference-logo"]{object-fit:contain}

/* ---- Hisia ya app (pwa.js): upau wa kupakia, mtandao, vuta-kuonyesha-upya ---- */
.pwa-load{position:fixed;left:0;top:0;right:0;height:3px;z-index:2147483000;background:linear-gradient(90deg,transparent,#d4af37,#002147,transparent);background-size:50% 100%;background-repeat:no-repeat;opacity:0;pointer-events:none;transition:opacity .15s}
.pwa-load.on{opacity:1;animation:pwa-slide 1s linear infinite}
@keyframes pwa-slide{from{background-position:-50% 0}to{background-position:150% 0}}
.pwa-net{position:fixed;left:12px;right:12px;top:calc(8px + env(safe-area-inset-top));z-index:2147482000;padding:10px 14px;border-radius:12px;background:#7a1d1d;color:#fff;font-size:13px;line-height:1.4;box-shadow:0 4px 16px #0003}
.pwa-net[hidden]{display:none}
.pwa-ptr{position:fixed;left:50%;top:calc(env(safe-area-inset-top) + 56px);width:40px;height:40px;margin-left:0;transform:translate(-50%,-44px);z-index:2147481000;border-radius:50%;background:#002147;display:grid;place-items:center;box-shadow:0 4px 14px #0004;pointer-events:none}
.pwa-ptr span{width:18px;height:18px;border:2.5px solid #d4af37;border-right-color:transparent;border-radius:50%;transition:transform .15s}
.pwa-ptr.rdy span{transform:rotate(180deg)}
.pwa-ptr.spin span{animation:pwa-spin .7s linear infinite}
@keyframes pwa-spin{to{transform:rotate(360deg)}}
@media (display-mode:standalone){body{overscroll-behavior-y:none}}
@media (prefers-reduced-motion:reduce){.pwa-load.on,.pwa-ptr.spin span{animation:none}}

/* ===== Uhamisho wa kituo: makundi ya mkoa -> wilaya -> mpakani ===== */
.tr-help{margin:8px 0 10px;padding:8px 12px;border-left:3px solid #d4af37;background:#fffdf4;color:#334155;font-size:12.5px;line-height:1.45;border-radius:0 8px 8px 0}
.tr-list{display:block!important}
.tr-grp{margin:0 0 14px}.tr-grp[hidden]{display:none!important}
.tr-gh{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap;padding:8px 12px;margin-bottom:8px;background:#002147;color:#d4af37;border-radius:10px}
.tr-gh b{font-size:13.5px}.tr-gh small{color:#e6edf7;font-size:11.5px}
.tr-grp .tr-st{margin-bottom:8px!important}
@media screen and (min-width:900px){.tr-grp{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:8px}.tr-grp .tr-gh{grid-column:1/-1;margin-bottom:0}.tr-grp .tr-st{margin-bottom:0!important}}
.tr-st.full{opacity:.75}.tr-st input:disabled~.ts-n{opacity:.7}
.tr-st:has(input:disabled):not(.cur){cursor:not-allowed}
.tr-st.full .ts-c small::after{content:" · Msimamizi tu ndiye anaweza kuzidisha";color:#b91c1c}
.pagination:empty{display:none!important}

/* ===== Vitendo pembeni mwa kila safu (barua za ajira / vituo) — kama ukurasa wa Recruits ===== */
td.letter-actions{white-space:nowrap;text-align:right}
td.letter-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:32px;margin:2px 0 2px 6px;padding:0 12px;border-radius:9px;border:1px solid #cfd9e6;background:#f4f7fb;color:#1f3a5c;font-size:12.5px;font-weight:650;text-decoration:none}
td.letter-actions a:hover{border-color:#002147;background:#e8eef7}
td.letter-actions a.button{background:#002147;color:#d4af37;border-color:#002147;font-weight:700}
td.letter-actions a.button:hover{background:#0a3266;color:#e6c35c}
@media screen and (max-width:650px){td.letter-actions{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(78px,1fr));gap:8px;padding:10px 14px!important;white-space:normal;text-align:center}td.letter-actions::before{display:none!important}td.letter-actions a{margin:0;min-height:46px;border-radius:12px;font-size:13px}td.letter-actions a.button{grid-column:1/-1}}
.queue-dl{display:inline-flex;flex-wrap:wrap;gap:6px;margin-left:6px}.queue-dl a{display:inline-flex;align-items:center;min-height:32px;padding:0 10px;border-radius:9px;border:1px solid #cfd9e6;background:#f4f7fb;color:#1f3a5c;font-size:12px;font-weight:650;text-decoration:none}.queue-dl a:hover{border-color:#002147;background:#e8eef7}
@media screen and (max-width:650px){.queue-dl{display:grid;grid-template-columns:1fr 1fr;width:100%;margin:8px 0 0}.queue-dl a{min-height:44px;justify-content:center}}
/* ===== Kupangiwa kituo: wizard ===== */
#office-queue .pl-wiz{flex-basis:100%!important;display:flex;flex-direction:column;gap:14px}
#office-queue .pl-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#office-queue .pl-step{display:grid!important;grid-template-columns:34px 1fr;grid-template-rows:auto auto;column-gap:10px;row-gap:6px;align-items:center;background:linear-gradient(180deg,#f8fbff,#eef4fb);border:1px solid #d3e0ee;border-radius:14px;padding:12px 14px;transition:border-color .15s,box-shadow .15s}
#office-queue .pl-step:focus-within{border-color:#c9a227;box-shadow:0 0 0 3px #c9a22733}
#office-queue .pl-n{grid-row:1/3;width:34px;height:34px;border-radius:50%;background:#002147;color:#e9c46a;font-weight:800;display:grid;place-items:center;font-size:15px}
#office-queue .pl-step b{font-size:13px;color:#002147}#office-queue .pl-step b small{font-weight:500;color:#6b829a}
#office-queue .pl-step select{grid-column:2;width:100%;height:42px;border-radius:10px;border:1px solid #c5d4e4;background:#fff;font-weight:600}
#office-queue .pl-step select:disabled{background:#eef2f6;color:#8aa0b5}
#office-queue .pl-sum{margin:0;padding:11px 14px;border-radius:12px;background:#f3f6fa;border:1px dashed #c5d4e4;color:#56708a;font-size:13.5px}
#office-queue .pl-sum.on{background:#eaf7ef;border:1px solid #9fd5b4;color:#14532d;font-weight:700}
#office-queue .pl-why{display:flex;flex-direction:column;gap:8px}
#office-queue .pl-reason{display:flex;flex-direction:column;gap:6px}#office-queue .pl-reason b{font-size:13px;color:#002147}
#office-queue .pl-reason textarea{width:100%;min-height:64px;border-radius:12px;border:1px solid #c5d4e4;padding:10px 12px;resize:vertical;box-sizing:border-box}
#office-queue .pl-chips{display:flex;flex-wrap:wrap;gap:6px}
#office-queue .pl-chips button{background:#fff!important;color:#002147!important;border:1px solid #c5d4e4!important;border-radius:999px!important;padding:6px 12px!important;font-size:12.5px!important;box-shadow:none!important;min-height:0!important;height:auto!important}
#office-queue .pl-chips button:hover{border-color:#c9a227!important;background:#fff8e1!important}
#office-queue .pl-foot{display:flex;flex-wrap:wrap;align-items:center;gap:12px;justify-content:flex-end;border-top:1px solid #e3ebf3;padding-top:12px}
#office-queue .pl-foot .pl-tools{margin-right:auto;color:#2a5d8f;font-size:13px}
#office-queue .pl-foot .pl-over{background:#fff8e1;border:1px solid #ecd58a;border-radius:10px;padding:8px 12px;font-size:12.5px}
#office-queue .pl-go{display:inline-flex!important;align-items:center;gap:8px;height:46px!important;padding:0 26px!important;font-size:15px!important;background:linear-gradient(135deg,#002147,#0b3a6e)!important;color:#e9c46a!important;box-shadow:0 6px 14px #00214733!important}
#office-queue .pl-go:disabled{opacity:.5;box-shadow:none!important}
@media(max-width:800px){#office-queue .pl-steps{grid-template-columns:1fr}#office-queue .pl-foot{flex-direction:column;align-items:stretch}#office-queue .pl-foot .pl-tools{margin:0;text-align:center}#office-queue .pl-go{width:100%;justify-content:center}}
#office-queue .queue-actions .pl-chips button{width:auto!important;flex:0 0 auto!important;min-height:0!important;padding:6px 12px!important;font-size:12.5px!important}

/* ---- 08/11/2026: kitufe cha × cha utafutaji (qf) — kidogo, ndani ya kisanduku, kinaonekana tu kukiwa na maandishi.
   Kanuni ya jumla `button{display:inline-flex;background:navy}` ilikuwa inashinda `[hidden]` na kukifanya kionekane kama duara kubwa la navy nje ya kisanduku. ---- */
.qf-field .qf-x[hidden]{display:none!important}
.qf-field .qf-x{display:grid!important;place-items:center;width:28px!important;height:28px!important;min-height:0!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:#e6edf6!important;color:#0b3a73!important;font-size:18px!important;line-height:1!important;box-shadow:none!important;right:8px;top:50%;transform:translateY(-50%)!important;transition:background .15s,color .15s}
.qf-field .qf-x:hover,.qf-field .qf-x:focus-visible{background:#0b3a73!important;color:#fcd116!important;outline:0;transform:translateY(-50%)!important}
.qf-field{display:block!important}
.qf-field input{height:44px;padding-right:44px!important;border-radius:999px!important;background:#fff!important;border:1px solid #c9d6e4!important;box-shadow:inset 0 1px 2px #00214710;transition:border-color .15s,box-shadow .15s}
.qf-field input:hover{border-color:#0b3a73!important}
.qf-field input:focus{outline:0!important;border-color:#0b3a73!important;box-shadow:0 0 0 3px #fcd11655,inset 0 1px 2px #00214710}
.qf-field input::-webkit-search-cancel-button,.qf-field input::-webkit-search-decoration{-webkit-appearance:none;appearance:none;display:none}
.qf-ic{color:#b8902f;font-size:19px}.qf-field:focus-within .qf-ic{color:#0b3a73}
.qf-count{display:inline-flex;align-items:center;min-height:28px;padding:0 12px;border-radius:999px;background:#eef3f9;border:1px solid #d9e4f0;color:#0b2a4a;font-size:12px;font-weight:800}
.qf-count:empty{display:none}


/* ===== filters-pretty.css ===== */
/* ===== Vichujio / Tafuta: muonekano wa kuvutia (2026-10-19) ===== */
/* A) Foleni za /kazi (#queue-filters) */
#office-queue #queue-filters.office-filters{position:relative!important;display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:14px 14px!important;align-items:end!important;padding:20px 22px 16px!important;margin:0 0 14px!important;background:linear-gradient(180deg,#fff 0,#fbfdff 100%)!important;border:1px solid #dbe5ef!important;border-top:4px solid #2b6cb0!important;border-radius:18px!important;box-shadow:0 6px 24px -10px #0f2a4a40,0 1px 2px #0f2a4a10!important;overflow:visible!important}
#office-queue #queue-filters.office-filters::before{content:"🔎  Tafuta na chuja orodha"!important;grid-column:1/-1!important;display:block!important;margin:-4px 0 0!important;font-size:12px!important;font-weight:800!important;letter-spacing:.09em!important;text-transform:uppercase!important;color:#1b3a5c!important}
#office-queue #queue-filters.office-filters>label{grid-column:auto!important;display:flex!important;flex-direction:column!important;gap:6px!important;margin:0!important;min-width:0!important;font-size:11px!important;font-weight:800!important;letter-spacing:.06em!important;text-transform:uppercase!important;color:#5b7590!important}
#office-queue #queue-filters.office-filters>label select{height:42px!important;min-height:42px!important;padding:0 32px 0 12px!important;border:1px solid #d3deea!important;border-radius:11px!important;background-color:#f6f9fc!important;color:#14304d!important;font-size:13.5px!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important;transition:border-color .15s,box-shadow .15s,background-color .15s!important}
#office-queue #queue-filters.office-filters>label .ms-btn{min-height:42px!important;height:42px!important;border-radius:11px!important;background:#f6f9fc!important;border:1px solid #d3deea!important;font-size:13.5px!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important}
#office-queue #queue-filters.office-filters>label:hover select,#office-queue #queue-filters.office-filters>label:hover .ms-btn{border-color:#9db8d3!important;background:#fff!important}
#office-queue #queue-filters.office-filters select:focus,#office-queue #queue-filters.office-filters input:focus,#office-queue #queue-filters.office-filters textarea:focus{outline:0!important;border-color:#2b6cb0!important;background:#fff!important;box-shadow:0 0 0 3px #2b6cb029!important}
/* kadi mbili za utafutaji */
#office-queue #queue-filters.office-filters .queue-single-search,#office-queue #queue-filters.office-filters .queue-people{display:flex!important;flex-direction:column!important;grid-template-rows:none!important;gap:8px!important;align-self:stretch!important;min-width:0!important;margin:0!important;padding:14px 16px!important;border:1px solid #dbe5ef!important;border-radius:14px!important;position:relative!important;box-shadow:inset 0 1px 0 #fff!important}
#office-queue #queue-filters.office-filters .queue-single-search{grid-column:span 3!important;order:2;background:linear-gradient(135deg,#eef5fd 0,#f8fbff 70%)!important;border-left:5px solid #2b6cb0!important}
#office-queue #queue-filters.office-filters .queue-people{grid-column:span 3!important;order:3;background:linear-gradient(135deg,#fff7e0 0,#fffdf6 70%)!important;border-left:5px solid #f2c14e!important}
#office-queue #queue-filters.office-filters .queue-single-search>label,#office-queue #queue-filters.office-filters .queue-people>label{display:flex!important;align-items:center!important;gap:8px!important;margin:0!important;font-size:11.5px!important;font-weight:800!important;letter-spacing:.05em!important;text-transform:uppercase!important;color:#1b3a5c!important;line-height:1.3!important}
#office-queue #queue-filters.office-filters .queue-single-search>label::before{content:"👤"!important;font-size:15px!important}
#office-queue #queue-filters.office-filters .queue-people>label::before{content:"👥"!important;font-size:15px!important}
#office-queue #queue-filters.office-filters .queue-search-line{display:flex!important;flex-direction:row!important;align-items:stretch!important;gap:10px!important;margin:0!important;grid-row:auto!important}
#office-queue #queue-filters.office-filters .queue-search-line input,#office-queue #queue-filters.office-filters .queue-search-line textarea{flex:1 1 auto!important;min-width:0!important;box-sizing:border-box!important;height:46px!important;min-height:46px!important;padding:0 14px!important;border:1px solid #cfdbe8!important;border-radius:12px!important;background:#fff!important;color:#14304d!important;font-size:14px!important;box-shadow:inset 0 1px 2px #0f2a4a0d!important}
#office-queue #queue-filters.office-filters .queue-search-line textarea{padding:11px 14px!important;line-height:1.45!important;resize:vertical!important;height:46px!important;max-height:160px!important}
#office-queue #queue-filters.office-filters .queue-search-line input::placeholder,#office-queue #queue-filters.office-filters .queue-search-line textarea::placeholder{color:#8ea3b8!important;font-weight:400!important}
#office-queue #queue-filters.office-filters #queue-search-status{align-self:center!important;font-size:12px!important;font-weight:700!important;color:#1f7a4d!important;white-space:nowrap!important}
#office-queue #queue-filters.office-filters .queue-search-line button{flex:none!important;height:46px!important;min-height:46px!important;padding:0 22px!important;border:0!important;border-radius:12px!important;background:linear-gradient(180deg,#1d4f80,#123a63)!important;color:#fff!important;font-size:13.5px!important;font-weight:800!important;letter-spacing:.01em!important;white-space:nowrap!important;cursor:pointer!important;box-shadow:0 4px 12px -3px #123a6366!important;transition:transform .12s,box-shadow .12s,filter .12s!important}
#office-queue #queue-filters.office-filters .queue-search-line button:hover{filter:brightness(1.12)!important;transform:translateY(-1px)!important;box-shadow:0 7px 16px -4px #123a6380!important}
#office-queue #queue-filters.office-filters .queue-people small{display:block!important;margin:0!important;line-height:1.3!important;font-size:11.5px!important;color:#8a7440!important}
/* futa vichujio */
#office-queue #queue-filters.office-filters .queue-filter-submit{grid-column:1/-1!important;order:4;display:flex!important;justify-content:flex-end!important;align-items:center!important;margin:-4px 0 0!important;padding:0!important;border:0!important;gap:10px!important;min-height:0!important}
#office-queue #queue-filters.office-filters .queue-filter-submit a{display:inline-flex!important;align-items:center!important;gap:6px!important;height:34px!important;padding:0 14px!important;border:1px solid #d3deea!important;border-radius:999px!important;background:#fff!important;color:#56708a!important;font-size:12.5px!important;font-weight:700!important;text-decoration:none!important;transition:all .15s!important}
#office-queue #queue-filters.office-filters .queue-filter-submit a::before{content:"✕"!important;font-size:11px!important}
#office-queue #queue-filters.office-filters .queue-filter-submit a:hover{background:#fdecea!important;border-color:#e9a9a2!important;color:#b3261e!important;text-decoration:none!important}
/* skrini za kati / ndogo */
@media (max-width:1180px){#office-queue #queue-filters.office-filters{grid-template-columns:repeat(3,minmax(0,1fr))!important}#office-queue #queue-filters.office-filters .queue-single-search,#office-queue #queue-filters.office-filters .queue-people{grid-column:1/-1!important}}
@media (max-width:650px){#office-queue #queue-filters.office-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:16px 14px 14px!important}#office-queue #queue-filters.office-filters .queue-search-line{flex-direction:column!important}#office-queue #queue-filters.office-filters .queue-search-line input,#office-queue #queue-filters.office-filters .queue-search-line textarea{height:48px!important;font-size:16px!important}#office-queue #queue-filters.office-filters .queue-search-line textarea{height:88px!important}#office-queue #queue-filters.office-filters .queue-search-line button{width:100%!important;height:48px!important}#office-queue #queue-filters.office-filters .queue-filter-submit{justify-content:stretch!important}#office-queue #queue-filters.office-filters .queue-filter-submit a{flex:1!important;justify-content:center!important}}

/* B) Kurasa nyingine zenye vichujio/tafuta: mwonekano unaofanana */
main form:is(.toolbar,.filters,.sen-filters,.rv-filters,.history-filters,.pl2-filters,.policy-intake,.dashboard-intake,.office-filters):not(#queue-filters){border:1px solid #dbe5ef!important;border-top:4px solid #2b6cb0!important;border-radius:16px!important;background:linear-gradient(180deg,#fff,#fbfdff)!important;box-shadow:0 6px 22px -12px #0f2a4a40,0 1px 2px #0f2a4a10!important}
main form:is(.toolbar,.filters,.sen-filters,.rv-filters,.history-filters,.pl2-filters,.office-filters):not(#queue-filters):not(.dl-bar) label{font-size:11px!important;font-weight:800!important;letter-spacing:.05em!important;text-transform:uppercase!important;color:#5b7590!important}
main form:is(.toolbar,.filters,.sen-filters,.rv-filters,.history-filters,.pl2-filters,.office-filters):not(#queue-filters):not(.dl-bar) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){border:1px solid #d3deea!important;border-radius:11px!important;background-color:#f6f9fc!important;color:#14304d!important;font-weight:600;letter-spacing:0;text-transform:none;transition:border-color .15s,box-shadow .15s,background-color .15s}
main form:is(.toolbar,.filters,.sen-filters,.rv-filters,.history-filters,.pl2-filters,.office-filters):not(#queue-filters) :is(input,select,textarea):hover{border-color:#9db8d3!important}
main form:is(.toolbar,.filters,.sen-filters,.rv-filters,.history-filters,.pl2-filters,.office-filters):not(#queue-filters) :is(input,select,textarea):focus{outline:0!important;border-color:#2b6cb0!important;background-color:#fff!important;box-shadow:0 0 0 3px #2b6cb029!important}
main form:is(.toolbar,.filters,.sen-filters,.rv-filters,.history-filters,.pl2-filters,.office-filters):not(#queue-filters) .ms-btn{border:1px solid #d3deea!important;border-radius:11px!important;background:#f6f9fc!important}
main form:is(.toolbar,.filters,.sen-filters,.rv-filters,.history-filters,.pl2-filters,.office-filters):not(#queue-filters) button[type=submit]:not(.secondary):not(.ghost){border:0!important;border-radius:11px!important;background:linear-gradient(180deg,#1d4f80,#123a63)!important;color:#fff!important;font-weight:800!important;box-shadow:0 4px 12px -3px #123a6366!important}
main form:is(.toolbar,.filters,.sen-filters,.rv-filters,.history-filters,.pl2-filters,.office-filters):not(#queue-filters) button[type=submit]:hover{filter:brightness(1.12)}
/* marekebisho: lebo kushoto, futa kulia */
#office-queue #queue-filters.office-filters .queue-single-search>label,#office-queue #queue-filters.office-filters .queue-people>label{justify-content:flex-start!important;text-align:left!important;align-self:flex-start!important;width:100%!important}
#office-queue #queue-filters.office-filters .queue-filter-submit{justify-self:end!important;width:auto!important;grid-column:1/-1!important;justify-content:flex-end!important;display:flex!important}
#office-queue #queue-filters.office-filters .queue-filter-submit a{margin-left:auto!important}
#office-queue #queue-filters.office-filters .queue-single-search{justify-content:flex-start!important}


/* ===== queue-polish.css ===== */
/* /kazi: Tafuta na chuja orodha + Panga orodha (2026-10-23) */
#office-queue #queue-filters.office-filters{border:1px solid #cfe0f3!important;border-top:5px solid transparent!important;border-radius:20px!important;background:linear-gradient(#fff,#f3f8ff) padding-box,linear-gradient(90deg,#1d56a8,#1f9d8a,#d9921a,#d6455f) border-box!important;box-shadow:0 10px 28px #0b2f5e16!important;align-items:end!important}
#office-queue #queue-filters.office-filters::before{content:"Tafuta na chuja orodha"!important;padding:6px 0 6px 48px!important;min-height:34px!important;font-size:13px!important;font-weight:800!important;letter-spacing:.09em!important;text-transform:uppercase!important;color:#0b2f5e!important;background:linear-gradient(135deg,#1d56a8,#1f9d8a) left center/34px 34px no-repeat!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%231d56a8'/%3E%3Cstop offset='1' stop-color='%231f9d8a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='34' height='34' rx='11' fill='url(../%23g)'/%3E%3Cg fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='15' cy='15' r='6'/%3E%3Cpath d='M24 24l-4.5-4.5'/%3E%3C/g%3E%3C/svg%3E")!important}
#office-queue #queue-filters.office-filters>label{--lc:#2f6fd6;align-self:end!important;position:relative;color:#36546f!important}
#office-queue #queue-filters.office-filters>label::before{content:"";display:inline-block;width:8px;height:8px;margin-right:6px;border-radius:50%;background:var(--lc);vertical-align:1px}
#office-queue #queue-filters.office-filters>label:nth-of-type(6n+2){--lc:#1f9d55}
#office-queue #queue-filters.office-filters>label:nth-of-type(6n+3){--lc:#7a52c7}
#office-queue #queue-filters.office-filters>label:nth-of-type(6n+4){--lc:#d9921a}
#office-queue #queue-filters.office-filters>label:nth-of-type(6n+5){--lc:#d6455f}
#office-queue #queue-filters.office-filters>label:nth-of-type(6n){--lc:#1595b8}
#office-queue #queue-filters.office-filters>label select,#office-queue #queue-filters.office-filters>label .ms-btn{border:1.5px solid #cddff0!important;border-left:4px solid var(--lc)!important;background-color:#fff!important;box-shadow:0 2px 6px #0b2f5e0d!important}
#office-queue #queue-filters.office-filters>label:hover select,#office-queue #queue-filters.office-filters>label:hover .ms-btn{border-color:var(--lc)!important;background-color:#fbfdff!important}
#office-queue #queue-filters.office-filters .queue-single-search,#office-queue #queue-filters.office-filters .queue-people{border-radius:16px!important;box-shadow:0 4px 12px #0b2f5e10!important}
#office-queue #queue-filters.office-filters .queue-single-search{background:linear-gradient(135deg,#e6f0fd,#f8fbff 75%)!important}
#office-queue #queue-filters.office-filters .queue-people{background:linear-gradient(135deg,#fff3d1,#fffdf5 75%)!important}
#office-queue #queue-filters.office-filters .queue-search-line :is(input,textarea){border:1.5px solid #c4d7ea!important;border-radius:13px!important;background:#fff!important}
#office-queue #queue-filters.office-filters .queue-search-line button{background:linear-gradient(135deg,#0b2f5e,#1d56a8)!important;box-shadow:0 6px 14px #0b2f5e38!important}
#office-queue #queue-filters.office-filters .queue-filter-submit a{background:#fff!important;font-weight:700!important;box-shadow:0 2px 6px #0b2f5e0d!important}
/* Panga orodha */
#office-queue .queue-sort-bar,.queue-sort-bar{display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:wrap;padding:12px 18px!important;margin:0 0 14px!important;border:1px solid #d9d2f1!important;border-left:5px solid #7a52c7!important;border-radius:16px!important;background:linear-gradient(90deg,#f3effd,#fff 70%)!important;box-shadow:0 4px 12px #4b2fa414!important}
.queue-sort-bar>label{display:inline-flex;align-items:center;gap:9px;font-weight:800!important;color:#4a2fa0!important;font-size:13px!important}
.queue-sort-bar>label::before{content:"";width:28px;height:28px;border-radius:9px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M4 7h16M7 12h10M10 17h4'/%3E%3C/svg%3E") center/15px no-repeat,linear-gradient(135deg,#7a52c7,#2f6fd6)}
.queue-sort-bar select{border:1.5px solid #cdbff0!important;border-radius:11px!important;background-color:#fff!important;font-weight:650!important;color:#2d1f6b!important}
.queue-sort-bar>span{color:#6b5aa8!important;font-size:12.5px!important;font-weight:600}


/* ===== lists-pretty.css ===== */
/* ===== Orodha / jedwali / kadi za hatua: mwonekano wa kuvutia (2026-10-19) ===== */
:root{--lp-navy:#123a63;--lp-blue:#2b6cb0;--lp-line:#dbe5ef;--lp-soft:#f4f8fc;--lp-green:#1f7a4d;--lp-amber:#a8650a;--lp-red:#b3261e}
/* 1. Jedwali */
main .table-wrap{border:1px solid var(--lp-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:0 6px 22px -12px #0f2a4a40,0 1px 2px #0f2a4a10!important;overflow:auto}
main .table-wrap>table{border-collapse:separate!important;border-spacing:0!important;width:100%!important;background:#fff!important}
main .table-wrap thead th{position:sticky;top:0;z-index:3;background:linear-gradient(180deg,#f3f7fc,#e9f0f8)!important;color:#35506b!important;font-size:11px!important;font-weight:800!important;letter-spacing:.07em!important;text-transform:uppercase!important;text-align:left;padding:13px 14px!important;border-bottom:2px solid #c9d8e8!important;white-space:nowrap}
main .table-wrap tbody td{padding:13px 14px!important;border-bottom:1px solid #edf2f7!important;vertical-align:middle!important;color:#1d3550}
main .table-wrap tbody tr{transition:background-color .12s,box-shadow .12s}
main .table-wrap tbody tr:nth-child(even){background:#f9fbfe}
main .table-wrap tbody tr:hover{background:#eef5fd!important;box-shadow:inset 4px 0 0 var(--lp-blue)}
main .table-wrap tbody tr:last-child td{border-bottom:0!important}
main .table-wrap tbody td a:not(.button):not(.secondary){color:var(--lp-navy);font-weight:700;text-decoration:none}
main .table-wrap tbody td a:not(.button):not(.secondary):hover{color:var(--lp-blue);text-decoration:underline}
main .table-wrap td small{display:block;margin-top:2px;font-size:11.5px;color:#6b8199}
main .table-wrap td small b{color:#35506b}
main .table-wrap input[type=checkbox]{width:18px;height:18px;accent-color:var(--lp-blue);cursor:pointer}
main .table-wrap img{border-radius:50%!important;border:2px solid #fff!important;box-shadow:0 0 0 1px #c9d8e8,0 3px 8px -2px #0f2a4a40!important;object-fit:cover}
@media(min-width:901px){#office-queue .table-wrap{max-height:76vh}}
/* 2. Vidonge vya hali */
main .pill{display:inline-flex!important;align-items:center;gap:6px;padding:4px 11px!important;border-radius:999px!important;font-size:11.5px!important;font-weight:800!important;letter-spacing:.01em;line-height:1.35;border:1px solid transparent;white-space:nowrap}
main .pill::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor;flex:none}
main .pill.ok{background:#e6f5ec!important;color:var(--lp-green)!important;border-color:#b8e0c8!important}
main .pill.wait,main .pill.warn{background:#fff3d9!important;color:var(--lp-amber)!important;border-color:#f0d594!important}
main .pill.bad,main .pill.err{background:#fdecea!important;color:var(--lp-red)!important;border-color:#f1b9b4!important}
#office-queue .queue-status-cell ul{margin:6px 0 0!important;padding-left:18px!important;font-size:12px;color:#8a5a12}
/* 3. Vitufe vya vitendo kwenye jedwali */
main .table-wrap td .button,main .table-wrap td button.secondary{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 14px!important;border-radius:10px!important;font-size:12.5px!important;font-weight:800!important;border:1px solid #c9d8e8!important;background:#fff!important;color:var(--lp-navy)!important;text-decoration:none!important;box-shadow:0 1px 2px #0f2a4a14;transition:all .14s}
main .table-wrap td .button:hover,main .table-wrap td button.secondary:hover{background:var(--lp-navy)!important;color:#fff!important;border-color:var(--lp-navy)!important;transform:translateY(-1px);box-shadow:0 6px 14px -4px #123a6366}
main .table-wrap td button.secondary svg{flex:none}
#office-queue .queue-dl{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}
#office-queue .queue-dl a{padding:3px 9px;border-radius:8px;background:#eef5fd;border:1px solid #cfe0f3;color:var(--lp-navy);font-size:11px;font-weight:800;text-decoration:none}
#office-queue .queue-dl a:hover{background:var(--lp-blue);color:#fff}
/* 4. Kadi za hatua */
#office-queue .queue-stages>a{border-radius:16px!important;border:1px solid var(--lp-line)!important;background:linear-gradient(180deg,#fff,#f7fafd)!important;box-shadow:0 4px 14px -8px #0f2a4a40!important;transition:transform .16s,box-shadow .16s,border-color .16s!important}
#office-queue .queue-stages>a:hover{transform:translateY(-3px)!important;box-shadow:0 12px 24px -10px #0f2a4a66!important;border-color:#9db8d3!important}
#office-queue .queue-stages>a span{font-size:10.5px!important;font-weight:800!important;letter-spacing:.06em!important;text-transform:uppercase!important;color:#5b7590!important}
#office-queue .queue-stages>a b{font-size:28px!important;font-weight:900!important;color:var(--lp-navy)!important}
#office-queue .queue-stages>a.on{background:linear-gradient(180deg,#eaf6ef,#fff)!important;border-color:var(--lp-green)!important}
#office-queue .queue-stages>a .queue-stage-icon{display:inline-grid!important;place-items:center;width:38px;height:38px;border-radius:12px;background:#e8f0f9;color:var(--lp-blue)}
#office-queue .queue-stages>a.on .queue-stage-icon{background:var(--lp-green);color:#fff}
/* 5. Pagination */
main .pagination{display:flex!important;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin:14px 0 4px!important}
main .pagination span{margin-right:auto;padding:7px 14px;border-radius:999px;background:var(--lp-soft);border:1px solid var(--lp-line);font-size:12.5px;font-weight:700;color:#35506b}
main .pagination a{display:inline-flex;align-items:center;height:38px;padding:0 18px;border-radius:11px;background:linear-gradient(180deg,#1d4f80,#123a63);color:#fff!important;font-size:13px;font-weight:800;text-decoration:none!important;box-shadow:0 4px 12px -3px #123a6366;transition:transform .12s,filter .12s}
main .pagination a:hover{filter:brightness(1.14);transform:translateY(-1px)}
/* 6. Hali tupu */
main .table-wrap td.empty{padding:46px 20px!important;text-align:center!important;color:#5b7590!important;font-size:14px;font-weight:600;background:repeating-linear-gradient(45deg,#fbfdff,#fbfdff 12px,#f5f9fd 12px,#f5f9fd 24px)!important}
/* 7. Vitufe vikuu kwa ujumla */
main .page-heading h1{letter-spacing:-.01em}
main .eyebrow{font-weight:800!important;letter-spacing:.09em!important}
@media(max-width:900px){main .table-wrap{border-radius:12px!important}main .pagination a{flex:1;justify-content:center}}


/* ===== search-polish.css ===== */
/* Search + filters + stage chips polish (2026-10-23) */
main form:has(>.work-search){position:relative;padding:20px 22px 18px;border:1px solid #cfe0f3;border-top:5px solid transparent;border-radius:20px;background:linear-gradient(#fff,#f2f8ff) padding-box,linear-gradient(90deg,#1d56a8,#1f9d8a,#d9921a) border-box;box-shadow:0 8px 24px #0b2f5e14}
main form:has(>.work-search) .work-search>span{display:flex;align-items:center;gap:12px;font-size:14px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#0b2f5e}
main form:has(>.work-search) .work-search>span::before{content:"";flex:none;width:34px;height:34px;border-radius:11px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M20 20l-4.8-4.8'/%3E%3C/svg%3E") center/18px no-repeat,linear-gradient(135deg,#1d56a8,#1f9d8a);box-shadow:0 4px 10px #1d56a840}
main form:has(>.work-search) .work-search small{display:block;margin-top:10px;padding:9px 12px;border-left:4px solid #1d56a8;border-radius:0 10px 10px 0;background:#e9f2fd;color:#3d5a75;font-size:12px;font-weight:600;letter-spacing:0;text-transform:none;line-height:1.5}
main form:has(>.work-search) :is(input[type=search],input[name=q],textarea){border:1.5px solid #c4d7ea;border-radius:13px;background:#fff;box-shadow:inset 0 1px 2px #0b2f5e0a;transition:border-color .15s,box-shadow .15s}
main form:has(>.work-search) :is(input[type=search],input[name=q],textarea):focus{outline:0;border-color:#d9a21c;box-shadow:0 0 0 3px #efc34f55}
main form:has(>.work-search) [data-work-search]{border:0;border-radius:13px;color:#fff;font-weight:800;background:linear-gradient(135deg,#0b2f5e,#1d56a8);box-shadow:0 6px 14px #0b2f5e38;transition:transform .15s,box-shadow .15s}
main form:has(>.work-search) [data-work-search]:hover{transform:translateY(-1px);box-shadow:0 9px 18px #0b2f5e45}
main form:has(>.work-search) :is(.ms,select){border-radius:12px}
main form:has(>.work-search) :is(.ms>button,.ms-btn,select){border:1.5px solid #c9dbee;border-radius:12px;background-color:#fff;font-weight:650;color:#26485f;transition:border-color .15s,background .15s}
main form:has(>.work-search) :is(.ms>button,.ms-btn,select):hover{border-color:#1d56a8;background-color:#f1f7ff}
main form:has(>.work-search) #work-search-state:is(:empty,[hidden]){display:none!important}
main .work-service-summary{display:flex;flex-wrap:wrap;gap:8px}
main .work-service-summary>span{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;border-radius:999px;font-weight:800;font-size:13px;border:1px solid}
main .work-service-summary>span::before{content:"";width:9px;height:9px;border-radius:50%;background:currentColor}
main .work-service-summary .service-ready{background:#e5f6ec;border-color:#b8e0c6;color:#17803f}
main .work-service-summary .service-blocked{background:#fdebe4;border-color:#f3c7b6;color:#c2410c}
main .work-service-summary .service-total{background:#fdf3d9;border-color:#f0d58f;color:#9a6a05}
/* stage chips */
main .chips.desktop-stage-chips{gap:10px;margin:14px 0}
main .chips.desktop-stage-chips .chip{--h:#1d56a8;--t:#e8f0ff;display:inline-flex;align-items:center;gap:8px;padding:8px 8px 8px 14px;border:1.5px solid color-mix(in srgb,var(--h) 28%,#fff);border-radius:999px;background:linear-gradient(135deg,var(--t),#fff);color:#26485f;font-weight:750;box-shadow:0 2px 6px #0b2f5e0d;transition:transform .15s,box-shadow .15s}
main .chips.desktop-stage-chips .chip:hover{transform:translateY(-2px);box-shadow:0 7px 14px color-mix(in srgb,var(--h) 25%,transparent)}
main .chips.desktop-stage-chips .chip .ico,main .chips.desktop-stage-chips .chip svg{color:var(--h)}
main .chips.desktop-stage-chips .chip b{min-width:28px;padding:3px 9px;border-radius:999px;background:var(--h);color:#fff;font-size:12px;text-align:center}
main .chips.desktop-stage-chips .chip.on{background:linear-gradient(135deg,var(--h),color-mix(in srgb,var(--h) 70%,#000));border-color:var(--h);color:#fff}
main .chips.desktop-stage-chips .chip.on .ico,main .chips.desktop-stage-chips .chip.on svg{color:#fff}
main .chips.desktop-stage-chips .chip.on b{background:#fff;color:var(--h)}
main .chips.desktop-stage-chips .chip:nth-child(8n+1){--h:#2f6fd6;--t:#e8f0ff}
main .chips.desktop-stage-chips .chip:nth-child(8n+2){--h:#d9921a;--t:#fdf3e1}
main .chips.desktop-stage-chips .chip:nth-child(8n+3){--h:#7a52c7;--t:#f1ecfb}
main .chips.desktop-stage-chips .chip:nth-child(8n+4){--h:#d6455f;--t:#fdeaee}
main .chips.desktop-stage-chips .chip:nth-child(8n+5){--h:#1595b8;--t:#e6f6fb}
main .chips.desktop-stage-chips .chip:nth-child(8n+6){--h:#1f9d55;--t:#e6f6ee}
main .chips.desktop-stage-chips .chip:nth-child(8n+7){--h:#c2630f;--t:#fdeedd}
main .chips.desktop-stage-chips .chip:nth-child(8n){--h:#4f46e5;--t:#ececfd}


/* ===== finish-pretty.css ===== */
/* ===== Mguso wa mwisho: dashboard, login, fomu, vitufe, paneli (2026-10-19) ===== */
/* Dashboard */
.dash-stat-cards .kpi-a article{transition:transform .18s,box-shadow .18s,border-color .18s!important}
.dash-stat-cards .kpi-a:hover article{transform:translateY(-4px)!important;box-shadow:0 16px 30px -14px #0f2a4a66!important;border-color:var(--stat-ink,#9db8d3)!important}
.dash-stat-cards .kpi-a article::after{content:"";display:block;width:34px;height:4px;border-radius:4px;margin-top:auto;background:var(--stat-ink,#2b6cb0);opacity:.55;transition:width .2s}
.dash-stat-cards .kpi-a:hover article::after{width:64px;opacity:1}
.dash-hero{box-shadow:0 18px 40px -18px #06264bb3,0 2px 4px #06264b26!important}
.dash-hero .office-state span{border-radius:12px;transition:transform .15s,background .15s}
.dash-hero .office-state span:hover{transform:translateY(-2px);background:#ffffff1f}
.content:has(.dash-hero) .panel{transition:box-shadow .18s,transform .18s}
.content:has(.dash-hero) .panel:hover{box-shadow:0 14px 30px -16px #0f2a4a55!important}
/* Paneli na vichwa vya kurasa */
main .panel{border-radius:16px}
main .page-heading{position:relative}
main .page-heading>div>h1,main .page-heading>div>h2{color:#0f2f52}
/* Vitufe vikuu */
main button:not(.secondary):not(.ghost):not(.ms-btn):not([type=button]):not(.link),main a.button:not(.secondary){border-radius:11px;font-weight:800;transition:transform .12s,box-shadow .12s,filter .12s}
main button:not(.secondary):not(.ghost):not(.ms-btn):not([type=button]):not(.link):hover:not(:disabled),main a.button:not(.secondary):hover{transform:translateY(-1px);filter:brightness(1.1)}
main button:disabled{opacity:.55;cursor:not-allowed}
main .button.secondary,main button.secondary{border-radius:11px;font-weight:800;transition:all .14s}
/* Fomu (rekodi/hariri/akaunti/mipangilio) */
main .form-grid label{font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#5b7590}
main .form-grid :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){border:1px solid #d3deea;border-radius:11px;background-color:#f6f9fc;color:#14304d;font-weight:600;text-transform:none;letter-spacing:0;transition:border-color .15s,box-shadow .15s,background-color .15s}
main .form-grid :is(input,select,textarea):hover{border-color:#9db8d3}
main .form-grid :is(input,select,textarea):focus{outline:0;border-color:#2b6cb0;background-color:#fff;box-shadow:0 0 0 3px #2b6cb029}
/* Ukurasa wa kuingia */
.login-wrap .login-card{border-radius:22px!important;border:1px solid #dbe5ef!important;border-top:5px solid #f2c14e!important;box-shadow:0 30px 60px -26px #06264b80,0 2px 6px #06264b1a!important;background:linear-gradient(180deg,#fff,#fbfdff)!important}
.login-wrap .login-card h2{color:#0f2f52!important;letter-spacing:-.01em}
.login-wrap .login-card label{font-size:11.5px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#5b7590}
.login-wrap .login-card input{height:48px;border:1px solid #cfdbe8!important;border-radius:12px!important;background:#f6f9fc!important;font-size:15px!important;text-transform:none;letter-spacing:0;transition:border-color .15s,box-shadow .15s}
.login-wrap .login-card input:focus{outline:0!important;border-color:#2b6cb0!important;background:#fff!important;box-shadow:0 0 0 4px #2b6cb026!important}
.login-wrap .login-card form>button:last-of-type{height:50px;border:0!important;border-radius:12px!important;background:linear-gradient(180deg,#1d4f80,#0f3358)!important;color:#fff!important;font-size:15px;font-weight:800;box-shadow:0 8px 20px -6px #0f335899;transition:transform .12s,filter .12s}
.login-wrap .login-card form>button:last-of-type:hover{transform:translateY(-1px);filter:brightness(1.12)}
.login-wrap #login-password-toggle{border-radius:9px!important;font-weight:800}
.login-wrap .login-steps>div{border-radius:14px;transition:transform .16s,background .16s}
.login-wrap .login-steps>div:hover{transform:translateY(-3px)}
/* Kitabu cha kurasa: scrollbar nadhifu */
*{scrollbar-width:thin;scrollbar-color:#b4c6d9 transparent}
*::-webkit-scrollbar{width:10px;height:10px}*::-webkit-scrollbar-thumb{background:#b4c6d9;border-radius:10px;border:2px solid transparent;background-clip:content-box}*::-webkit-scrollbar-thumb:hover{background:#8fa8c2;background-clip:content-box}
/* Mwendo mdogo kuheshimu mipangilio ya mtumiaji */
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}


/* ===== motion-tune.css ===== */
/* Marekebisho madogo ya mwendo: mwingilio wa kurasa ni mfupi zaidi (ofisini kurasa hufunguliwa mara nyingi). Reduced-motion tayari inazimwa kwenye ui-2026.css. */
@media (prefers-reduced-motion:no-preference){
 .content>*{animation-duration:.22s}
 .content>*:nth-child(n+2){animation-delay:.03s}
 .content>*:nth-child(n+4){animation-delay:.06s}
 .kpis article,.gapcard,.funnel4 a{animation-duration:.28s}
}


/* ===== flag-theme.css ===== */
/* Rangi za Bendera ya Tanzania: kijani #1EB53A, njano #FCD116, nyeusi #000, buluu #00A3DD */
:root{--fg-green:#1EB53A;--fg-yellow:#FCD116;--fg-black:#111;--fg-blue:#00A3DD}
.pwa-load{height:4px!important;background:linear-gradient(90deg,transparent 0,var(--fg-green) 18%,var(--fg-yellow) 38%,var(--fg-black) 50%,var(--fg-yellow) 62%,var(--fg-blue) 82%,transparent 100%)!important;background-size:200% 100%}
.wp-progress-line,.rp-bar i,.ut-bar i,.gbar i,.rc-meter i,.rgm i,.cellbar i,.mobile-progress i,.landing-page .stat .bar i,.prf-transfer-track i,.prf-transfer-bar{background:linear-gradient(90deg,var(--fg-green) 0 55%,var(--fg-yellow) 55% 80%,var(--fg-blue) 80%)!important}
progress{accent-color:var(--fg-green)}
.fg-spin{display:inline-block;width:1em;height:1em;vertical-align:-.15em;margin-right:.45em;border-radius:50%;border:2.5px solid var(--fg-yellow);border-top-color:var(--fg-green);border-right-color:var(--fg-black);border-bottom-color:var(--fg-blue);animation:fg-rot .8s linear infinite}
@keyframes fg-rot{to{transform:rotate(360deg)}}
button.fg-busy,.btn.fg-busy{pointer-events:none;opacity:.85}
.fg-ov{position:fixed;inset:0;z-index:99999;background:rgba(17,17,17,.55);display:flex;align-items:center;justify-content:center;padding:16px}
.fg-card{background:#fff;color:#111;border-radius:14px;width:min(420px,100%);padding:22px 22px 18px;box-shadow:0 18px 50px rgba(0,0,0,.35);border-top:6px solid;border-image:linear-gradient(90deg,var(--fg-green) 0 33%,var(--fg-yellow) 33% 66%,var(--fg-blue) 66%) 1}
.fg-head{display:flex;align-items:center;gap:12px;font-weight:700;font-size:15px}
.fg-head .fg-spin{width:22px;height:22px;margin:0}
.fg-track{height:14px;background:#e8ecef;border-radius:99px;overflow:hidden;margin:16px 0 8px;position:relative}
.fg-fill{height:100%;width:0;border-radius:99px;background:linear-gradient(90deg,var(--fg-green) 0 60%,var(--fg-yellow) 60% 85%,var(--fg-blue) 85%);transition:width .2s ease}
.fg-track.ind .fg-fill{width:35%!important;animation:fg-slide 1.1s ease-in-out infinite alternate}
@keyframes fg-slide{from{margin-left:0}to{margin-left:65%}}
.fg-meta{display:flex;justify-content:space-between;font-size:13px;color:#444}
.fg-pct{font-weight:800;font-size:20px;color:#111}
.fg-note{font-size:12px;color:#666;margin-top:6px}
@media (prefers-reduced-motion:reduce){.fg-spin,.fg-track.ind .fg-fill,.pwa-load.on{animation-duration:3s!important}}


/* ===== design-system.css ===== */
/* Design system ya pamoja — vipimo, hali za vitufe, alerts, pills na contrast.
   HAIBADILI rangi zilizopo (navy / dhahabu / kijani / njano / nyekundu); inaunganisha tu mpangilio. */
:root{
  --sp-1:4px;--sp-2:8px;--sp-3:16px;--sp-4:24px;--sp-5:32px;--sp-6:48px;
  --rad-1:4px;--rad-2:8px;--rad-3:12px;--rad-4:16px;--rad-full:999px;
  --el-1:0 1px 2px rgba(0,33,71,.06);
  --el-2:0 4px 8px rgba(0,33,71,.08);
  --el-3:0 8px 20px rgba(0,33,71,.10);
  --el-4:0 16px 36px rgba(0,33,71,.14);
  --fs-h1:26px;--fs-h2:20px;--fs-h3:16px;--fs-body:14px;--fs-small:12px;
  --focus-ring:0 0 0 3px rgba(213,173,98,.55);
}
/* Focus moja kwa vitu vyote vinavyobofyeka (kibodi) */
a:focus-visible,button:focus-visible,.button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:none;box-shadow:var(--focus-ring)}
/* Hali za vitufe: hover / active / disabled */
button:not(:disabled):active,.button:not(.disabled):active{transform:translateY(1px);filter:brightness(.94);box-shadow:none}
button:disabled,.button.disabled,button[aria-disabled=true]{opacity:.55;cursor:not-allowed;filter:grayscale(.25)}
.secondary:not(:disabled):hover{background:#f3f6fb}
/* Pills: muundo mmoja, maana moja ya rangi (ok=kijani, wait=njano, bad=nyekundu, blue=taarifa) */
.pill{display:inline-flex;align-items:center;gap:6px;line-height:1.2;white-space:nowrap}
.pill.ok:before,.pill.wait:before,.pill.bad:before,.pill.blue:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.85;flex:none}
/* Alerts: mstari wa rangi upande wa kushoto kulingana na aina */
.alert{border-left:4px solid transparent}
.alert.success,.alert.ok{border-left-color:var(--ok,#16a34a)}
.alert.warning,.alert.warn{border-left-color:var(--warn,#d97706)}
.alert.error,.alert.danger{border-left-color:var(--bad,#dc2626)}
.alert.info{border-left-color:#2b6cb0}
/* Chips za filter: hali amilifu inaonekana wazi */
.chip[aria-pressed=true],.chip.on,.chip.active{box-shadow:var(--el-1);font-weight:700}
/* Alama ya kuchagua wote (Select All) kwenye orodha */
.sel-all{display:inline-flex;align-items:center;gap:var(--sp-2);font-size:var(--fs-small);font-weight:700;color:var(--navy,#002147);margin:0}
.sel-all input{margin:0}
@media (prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* ===== Kupangiwa kituo (kazi?task=placement): mpangilio mnene, nafasi tupu imepunguzwa ===== */
@media(min-width:801px){
body #office-queue .queue-actions{gap:8px!important;row-gap:8px!important;padding:12px 18px 14px!important}
body #office-queue .queue-action-heading{padding-bottom:6px!important;margin:0!important}
body #office-queue .queue-actions>.actions{margin:0!important;min-height:0!important}
body #office-queue .queue-actions .pl-wiz{gap:8px!important}
body #office-queue .pl-steps{gap:10px!important}
body #office-queue .pl-step{grid-template-columns:28px minmax(0,1fr)!important;column-gap:10px!important;row-gap:3px!important;padding:8px 12px!important;border-radius:12px!important;margin:0!important}
body #office-queue .pl-n{width:28px!important;height:28px!important;font-size:13px!important}
body #office-queue .pl-step b{font-size:12.5px!important;margin:0!important;line-height:1.2}
body #office-queue .pl-step select{height:36px!important;padding:0 10px!important;font-size:14px!important;margin:0!important}
body #office-queue .pl-sum{padding:7px 12px!important;font-size:13px!important;margin:0!important}
/* Sababu upande wa kushoto, chips upande wa kulia — hakuna urefu wa ziada */
body #office-queue .pl-why{display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:6px 14px!important;align-items:start}
body #office-queue .pl-reason{gap:4px!important;margin:0!important}
body #office-queue .pl-reason b{font-size:12.5px!important}
body #office-queue .pl-reason textarea{min-height:48px!important;height:48px;padding:7px 10px!important;font-size:13.5px}
body #office-queue .pl-chips{align-content:flex-start;gap:5px!important;padding-top:20px}
body #office-queue .pl-chips button{padding:4px 10px!important;font-size:12px!important}
body #office-queue .pl-foot{padding-top:8px!important;gap:10px!important}
body #office-queue .pl-foot .pl-over{padding:5px 10px!important;margin:0!important}
body #office-queue .pl-go{height:40px!important;padding:0 22px!important;font-size:14px!important}
}

/* ===== /downloads: mpangilio mnene (desktop + simu) ===== */
.dl .card{padding:10px 14px!important;margin:0 0 8px!important;border-radius:14px}
.dl .thead{margin:0 0 6px!important}
.dl .thead h2,.dl .kh h2{font-size:16px!important;margin:0!important}
.dl .trow1{margin:0 0 8px!important;gap:8px!important}
.dl .trow2{gap:8px 10px!important}
.dl label{margin-bottom:0!important}
.dl .sbox label,.dl .trow2 label{display:block;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--mut,#5b6670);margin:0 0 3px!important;line-height:1.2}
.dl input[type=search],.dl input[type=text],.dl input[type=date],.dl select{height:36px!important;min-height:0!important;padding:0 10px!important;font-size:13.5px!important;border-radius:10px!important;margin-top:0!important}
.dl .clr,.dl .qs button,.dl .kgt{height:32px!important;min-height:0!important;padding:0 12px!important;font-size:12.5px!important}
/* Hatua 2: makundi matatu kando kwa kando */
.dl .card:has(>.kg){display:flex;flex-wrap:wrap;gap:8px 10px;align-items:stretch}
.dl .card:has(>.kg)>.kh,.dl .card:has(>.kg)>.opts{flex:1 1 100%;margin:0!important}
.dl .card:has(>.kg)>.kg{flex:1 1 300px;margin:0!important;padding:8px 10px!important;min-width:0}
.dl .kgh{margin:0 0 5px!important}
.dl .kgh span{font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--mut,#5b6670)}
.dl .kgt{height:26px!important;padding:0 10px!important;font-size:11.5px!important}
.dl .kinds{gap:5px!important}
.dl .kp>span{padding-top:3px!important;padding-bottom:3px!important;font-size:12.5px!important;min-height:0!important}
.dl .opts{padding-top:8px!important;gap:8px 14px!important;margin:2px 0 0!important}
.dl .of{gap:3px!important}.dl .of small{font-weight:500;text-transform:none;letter-spacing:0;font-size:11px}
.dl .meta{margin:0 0 6px!important}
.dl .dlact{padding:7px 12px!important;margin:8px 0 0!important}
@media(max-width:700px){
.dl .hd h1{font-size:21px!important}
.dl input[type=search],.dl input[type=text],.dl input[type=date],.dl select{height:40px!important}
.dl .card:has(>.kg)>.kg{flex-basis:100%}
.dl .qs{width:100%;margin-left:0}.dl .qs button{flex:1 1 auto}
.dl .trow2{grid-template-columns:1fr 1fr!important}
}
@media(max-width:420px){.dl .trow2{grid-template-columns:1fr!important}}
.dl .sbox input[type=search]{padding-left:34px!important;padding-right:30px!important}

/* ===== Inputs zote kwenye kurasa za kazi: urefu usizidi 38px (40px simu) ===== */
body:not(.login-page):not(#_) main :is(select,input[type=text],input[type=search],input[type=password],input[type=email],input[type=tel],input[type=number],input[type=date],input[type=time],input[type=month],input:not([type])){min-height:0!important;max-height:38px!important;box-sizing:border-box}
body:not(.login-page) main .panel,body:not(.login-page) main .card{margin-bottom:12px}
@media(max-width:800px){body:not(.login-page):not(#_) main :is(select,input[type=text],input[type=search],input[type=password],input[type=email],input[type=tel],input[type=number],input[type=date],input[type=time],input[type=month],input:not([type])){min-height:0!important;max-height:42px!important}}
@media(min-width:801px){
body #office-queue #queue-filters.office-filters>label select,body #office-queue #queue-filters.office-filters>label .ms-btn{height:38px!important;min-height:38px!important}
body #office-queue form.office-filters .queue-search-line :is(input,textarea),body #office-queue form.office-filters .queue-search-line button,body #office-queue form.office-filters .queue-filter-submit button{min-height:38px!important}
body #office-queue form.office-filters .queue-search-line input{height:38px!important}
}

/* ===== Profile ya recruit ===== */
/* Vichupo: amilifu = navy + maandishi meupe + mstari wa dhahabu; visivyo amilifu = vyeupe na maandishi navy (vinaonekana kila muktadha) */
html .recruit-profile .tabs .tab:not(#_){background:#fff!important;color:#002147!important;border:1px solid #d6e0ec!important;border-bottom-color:#d6e0ec!important;box-shadow:none!important;opacity:1!important}
html .recruit-profile .tabs .tab.active:not(#_){background:linear-gradient(135deg,#0b2a55,#002147)!important;color:#fff!important;border-color:#002147!important;border-bottom:3px solid #F2C14E!important}
html .recruit-profile .tabs .tab:not(.active):hover:not(#_){background:#f3f6fb!important;border-color:#b9c8da!important}
html .recruit-profile .tabs .tab .tb-n:not(#_){background:#F2C14E;color:#0B2A55}
html .recruit-profile .tabs:not(#_){gap:8px;padding:8px 4px}
/* Hatua 6 za mtiririko: safu 3 sawa, bila kisanduku ndani ya kisanduku */
@media(min-width:901px){
html .recruit-profile .pflow:not(#_){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
html .recruit-profile .pf-step:not(#_){align-items:flex-start!important;padding:12px 14px!important;gap:12px!important;border-radius:14px!important;margin:0!important}
html .recruit-profile .pf-step:not(#_)::after{display:none!important}
html .recruit-profile .pf-step>div:not(#_){background:transparent!important;padding:0!important;border-radius:0!important}
html .recruit-profile .pf-step.pf-blocked:not(#_){background:#fff6f5!important;border:1px solid #f4cfcb!important}
html .recruit-profile .pf-step.pf-ready:not(#_){background:#fffbea!important;border:1px solid #f1dc8c!important}
html .recruit-profile .pf-step.pf-done:not(#_){background:#effaf3!important;border:1px solid #bfe3cc!important}
html .recruit-profile .pf-step b:not(#_){font-size:13.5px!important}
html .recruit-profile .pf-step small:not(#_){font-size:12px!important;line-height:1.35}
}
html .recruit-profile .tabs:not(#_){margin-bottom:10px}
html .recruit-profile .pflow:not(#_){margin-top:10px!important}

/* ===== /prf/nyaraka/<id>: jaza upana wote, hakuna nafasi tupu upande wa kulia ===== */
html .prf-capture-form:not(#_){max-width:none!important;width:100%!important;margin:0 0 12px!important}
html .prf-capture-grid:not(#_){display:block!important;max-width:none!important}
html .prf-upload-options:not(#_){max-width:none!important;width:100%!important}
@media(min-width:901px){html .prf-page-grid:not(#_){grid-template-columns:repeat(3,minmax(0,1fr))!important;max-height:none!important;gap:10px!important}}
@media(min-width:1500px){html .prf-page-grid:not(#_){grid-template-columns:repeat(6,minmax(0,1fr))!important}}

/* ===== POLISH 2026-10-24 — thamani kutoka design skills (better-ui, better-typography, better-layout) =====
   Ni nyongeza tu: haibadilishi rangi wala mpangilio wa moduli. Kurudisha: futa kuanzia alama hii hadi mwisho wa block. */
html{scroll-padding-top:84px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
/* Typography: namba zisiruke zikibadilika; vichwa vilingane; aya zisiache neno peke yake */
main :is(strong,b,.countup,.nums,.pct,td.num,.kpi b,.stat b,.dh-main strong,.dflow-sum b,.rp-num,.dstepdone .ds strong){font-variant-numeric:tabular-nums}
main :is(h1,h2,h3){text-wrap:balance;letter-spacing:-.01em}
main :is(p,li,td){text-wrap:pretty}
main :is(h1,h2,h3,h4){line-height:1.25}
main p,main li{line-height:1.55}
/* Surfaces: kivuli cha tabaka kwa kina; border inabaki kwa muundo */
main .panel,main details.panel{box-shadow:0 0 0 1px rgba(23,53,78,.05),0 1px 2px rgba(23,53,78,.05),0 8px 22px rgba(23,53,78,.05)}
/* Hali za kubonyeza: scale 0.96 / 150ms, bila kugusa vilivyozimwa */
@media (prefers-reduced-motion:no-preference){
  :where(button,.button,.btn):not(:disabled):not([aria-disabled=true]):not(.no-press){transition:transform .15s ease-out,box-shadow .15s ease-out,background-color .15s ease-out}
  :where(button,.button,.btn):not(:disabled):not([aria-disabled=true]):not(.no-press):active{transform:scale(.96)}
  main .dstepdone .ds,main .dstep>a{transition:transform .15s ease-out,box-shadow .15s ease-out}
  main .dstepdone .ds:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(0,33,71,.10)}
}
/* Mguso: maeneo ya kubonyeza yasipungue 44px kwenye simu/tablet */
@media (pointer:coarse){
  :where(button,.button,.btn,select,input:not([type=checkbox]):not([type=radio]),summary){min-height:44px}
  nav.sidebar a,.sidebar nav a,.mobile-app-nav a{min-height:44px}
}
/* Kadi za hatua zilizokamilika: nafasi na usomaji bora */
main .dstepdone{padding:4px 2px 8px;gap:12px}
main .dstepdone .ds{min-height:64px;border-radius:14px}
main .dstepdone .ds span{letter-spacing:.01em}
/* Jedwali: hover tulivu (bila animation) */
main table tbody tr:hover>td{background-color:rgba(39,101,84,.045)}
main table th{letter-spacing:.04em}
/* Alama ya kuchagua maandishi inayolingana na mfumo */
::selection{background:rgba(213,173,98,.35)}
/* ===== MWISHO WA POLISH ===== */


/* ===== mobile-android.css ===== */
/* Mobile: muonekano wa app ya Android (navy + njano + bluu). Simu tu (<=650px); desktop haiguswi. */
@media screen and (max-width:650px){
:root{--ma-navy:#0a1f5c;--ma-navy2:#14307f;--ma-yellow:#ffd400;--ma-blue:#1f5eff;--ma-green:#16a34a;--ma-bg:#eef2fb;--ma-card:#fff;--ma-line:#e1e7f5;--ma-mute:#6b7a99;--mobile-ink:var(--ma-navy);--mobile-canvas:var(--ma-bg);--mobile-gold:var(--ma-yellow);--mobile-green:var(--ma-green)}
body:not(.login-page){background:var(--ma-bg)!important;color:var(--ma-navy);font-family:Sora,"Public Sans",system-ui,Arial,sans-serif}
/* Top app bar: navy */
body:not(.login-page) .topbar{background:linear-gradient(135deg,var(--ma-navy),var(--ma-navy2))!important;border-bottom:0!important;border-radius:0 0 24px 24px;box-shadow:0 6px 18px rgba(10,31,92,.28)!important;height:68px!important;min-height:68px;position:sticky;top:0;z-index:50}
.topbar .brand .t1{color:#fff!important}
.topbar .mobile-menu{background:rgba(255,255,255,.14)!important;color:#fff!important;border-radius:14px!important}
.topbar .userchip{background:transparent!important;border:0!important}
.topbar .userchip .avatar{background:var(--ma-yellow)!important;color:var(--ma-navy)!important;font-weight:800}
.topbar .userchip>span:not(.avatar),.topclock{display:none!important}
/* Maudhui */
body:not(.login-page) main .content{padding:18px 16px calc(104px + env(safe-area-inset-bottom))!important}
main h1,main h2{font-family:Sora,Poppins,Arial,sans-serif;font-weight:800;letter-spacing:-.3px;color:var(--ma-navy)}
main h1{font-size:25px;line-height:1.2}
main h1 em,main h1 span.hl,main h1 b:last-child{color:var(--ma-blue)}
/* Kadi: nyeupe, mviringo mkubwa, kivuli laini */
.panel,.card,.cards>*,.mobile-task,.mobile-totals,details.panel,.stat,.kpi,.dstepdone .ds{background:var(--ma-card)!important;border:1px solid var(--ma-line)!important;border-radius:22px!important;box-shadow:0 6px 18px rgba(10,31,92,.07)!important}
.panel:first-of-type.hero,.mobile-passport{background:linear-gradient(135deg,var(--ma-navy),var(--ma-navy2))!important;color:#fff!important;border-radius:24px!important}
.mobile-passport h2,.mobile-passport *{color:#fff}
/* Vitufe */
button:not(.secondary):not(.danger):not(.mobile-menu):not(.userchip):not(.modal-close),.button:not(.secondary){background:var(--ma-blue)!important;color:#fff!important;border:0!important;border-radius:16px!important;min-height:50px;font-weight:700;box-shadow:0 6px 14px rgba(31,94,255,.28)}
button.primary-yellow,.button.yellow,.btn-yellow{background:var(--ma-yellow)!important;color:var(--ma-navy)!important;box-shadow:0 6px 14px rgba(255,212,0,.35)}
button.secondary,.button.secondary{border-radius:16px!important;min-height:48px;background:#fff!important;color:var(--ma-navy)!important;border:1.5px solid var(--ma-line)!important}
button.danger{border-radius:16px!important;min-height:48px}
/* Fomu */
input:not([type=checkbox]):not([type=radio]),select,textarea{border-radius:16px!important;border:1.5px solid var(--ma-line)!important;background:#fff!important;min-height:50px;font-size:15px}
input:focus,select:focus,textarea:focus{border-color:var(--ma-blue)!important;box-shadow:0 0 0 4px rgba(31,94,255,.14)!important;outline:0}
/* Chips / pills */
.pill,.badge{border-radius:999px!important;font-weight:700}
.mobile-stage-chips a{border-radius:999px!important;background:#fff!important;color:var(--ma-mute)!important;border:1px solid var(--ma-line)}
.mobile-stage-chips a.on{background:var(--ma-navy)!important;color:var(--ma-yellow)!important;border-color:var(--ma-navy)}
/* Stepper (hatua): duara za kijani zilizounganishwa */
.dstepdone{display:flex!important;overflow-x:auto;gap:10px;scrollbar-width:none;padding:2px 2px 8px}
.dstepdone .ds{flex:0 0 118px;text-align:center}
.dstepdone .ds .num,.dstepdone .ds i{background:var(--ma-green)!important;color:#fff!important;border-radius:50%}
.completion-track{background:#dbe4f7!important;border-radius:99px}.completion-track i{background:var(--ma-green)!important;border-radius:99px}
/* Jedwali kuwa kadi laini */
table{border-collapse:separate;border-spacing:0 8px}
tbody tr{background:#fff;border-radius:18px;box-shadow:0 4px 12px rgba(10,31,92,.06)}
/* Bottom nav: pill ya njano kwa kipengele hai */
.mobile-app-nav{background:#fff!important;border-top:0!important;border-radius:26px 26px 0 0;box-shadow:0 -8px 24px rgba(10,31,92,.14)!important;padding:10px 10px calc(10px + env(safe-area-inset-bottom))!important}
.mobile-app-nav a{color:var(--ma-mute)!important;font-size:11px!important;font-weight:700;gap:4px!important;position:relative;background:transparent!important}
.mobile-app-nav a svg{padding:5px 16px;box-sizing:content-box;border-radius:999px;width:22px;height:22px;transition:background .2s}
.mobile-app-nav a[aria-current=page]{color:var(--ma-navy)!important}
.mobile-app-nav a[aria-current=page] svg{background:var(--ma-yellow);color:var(--ma-navy)}
.mobile-group-dock{bottom:calc(84px + env(safe-area-inset-bottom))!important;border-radius:20px 20px 0 0}
/* Dialogs kama bottom sheets */
dialog.account-dialog{border-radius:28px 28px 0 0!important;margin:auto 0 0!important;max-width:100vw!important;width:100%!important}
}


/* ===== table-heading-theme.css ===== */
/* Vichwa vya majedwali: darkblue nzuri na maandishi ya gold (mfumo mzima). Hupakiwa mwisho. */
:root{--th-navy-a:#0f3366;--th-navy-b:#0a2147;--th-gold:#f2c14e}
main table thead th,
main .table-wrap thead th,
main .list-standard-table thead th,
.sticky-table-head table thead th,
body:has(.sen-table) .sticky-table-head table thead th,
#office-queue thead th,
#office-queue .table-wrap thead th,
.recruits-completion thead th,
.recruits-completion th,
.sen-table table thead th,
main .sen-table.table-wrap thead th,
.dmx .dm-table thead th,
.da-tbl thead th,
.mg-table thead th,
.ajs table thead th,
.elm-t th,
.prf-list-table th,
.prf-id-look .prf-list-table th,
.us-main table thead th{
  background:linear-gradient(180deg,var(--th-navy-a),var(--th-navy-b))!important;
  background-color:var(--th-navy-b)!important;
  color:var(--th-gold)!important;
  border-bottom:2px solid var(--th-gold)!important;
  text-shadow:none;
  font-weight:800;
  -webkit-print-color-adjust:exact;print-color-adjust:exact
}
main table thead th>a,main table thead th>label,main table thead th>button,main table thead th>span:not([class*=badge]):not([class*=pill]),
.sticky-table-head thead th>a,.recruits-completion th>a{color:inherit!important}
main table thead th svg,.sticky-table-head thead th svg{color:var(--th-gold)!important;stroke:currentColor}

/* Mistari myembamba wima kati ya safu (majedwali yote, desktop): nyeupe kwenye vichwa, grey kwenye list. */
@media (min-width:821px){
main table thead th,
main .table-wrap thead th,
main .list-standard-table thead th,
.sticky-table-head table thead th,
#office-queue thead th,
.recruits-completion thead th,
.recruits-completion th,
.sen-table table thead th,
.dmx .dm-table thead th,
.da-tbl thead th,
.mg-table thead th,
.ajs table thead th,
.elm-t th,
.prf-list-table th,
.us-main table thead th{
  border-right:.5px solid rgba(255,255,255,.2)!important
}
main table thead th:last-child,
.sticky-table-head table thead th:last-child,
.recruits-completion thead th:last-child,
.prf-list-table th:last-child{border-right:0!important}
main table tbody td,
main .table-wrap tbody td,
main .list-standard-table tbody td,
#office-queue tbody td,
.recruits-completion tbody td,
.sen-table table tbody td,
.dmx .dm-table tbody td,
.da-tbl tbody td,
.mg-table tbody td,
.ajs table tbody td,
.elm-t td,
.prf-list-table td,
.us-main table tbody td{
  border-right:.5px solid #dde1e6
}
main table tbody td:last-child,
#office-queue tbody td:last-child,
.recruits-completion tbody td:last-child,
.prf-list-table td:last-child{border-right:0}
}

/* Mistari ya mlalo ya grey nyepesi yenye mwonekano wa 3D (groove): grey chini + mwanga mweupe juu ya safu inayofuata. */
@media (min-width:821px){
main table tbody td,
main .table-wrap tbody td,
main .list-standard-table tbody td,
#office-queue tbody td,
.recruits-completion tbody td,
.sen-table table tbody td,
.dmx .dm-table tbody td,
.da-tbl tbody td,
.mg-table tbody td,
.ajs table tbody td,
.elm-t td,
.prf-list-table td,
.us-main table tbody td{
  border-bottom:2px solid #b4bcc7!important;
  box-shadow:inset 0 2px 0 #fff,inset 0 -1px 0 rgba(255,255,255,.85)
}
main table tbody tr:last-child td,
.recruits-completion tbody tr:last-child td{border-bottom:2px solid #b4bcc7!important}
}

/* Vichwa vya majedwali: pembe za mviringo kushoto na kulia (zinafuata round ya kadi) + mng'ao mwembamba juu. */
@media (min-width:821px){
main .table-wrap>table,.recruits-completion table,#office-queue table{border-collapse:separate!important;border-spacing:0!important}
main table thead tr>th:first-child,
.sticky-table-head table thead tr>th:first-child,
.recruits-completion thead tr>th:first-child,
.prf-list-table thead tr>th:first-child{border-top-left-radius:14px!important;border-bottom-left-radius:14px!important}
main table thead tr>th:last-child,
.sticky-table-head table thead tr>th:last-child,
.recruits-completion thead tr>th:last-child,
.prf-list-table thead tr>th:last-child{border-top-right-radius:14px!important;border-bottom-right-radius:14px!important}
main table thead th{box-shadow:inset 0 1px 0 rgba(255,255,255,.14),inset 0 -1px 0 rgba(0,0,0,.25)}
/* Ukurasa wa Kazi: safu ya kuchagua (tick) nusu ya ukubwa + kichwa chembamba zaidi */
#office-queue .table-wrap thead th{padding-top:10px!important;padding-bottom:10px!important}
#office-queue .table-wrap thead th:has(.queue-select-all),
#office-queue .table-wrap tbody td.queue-pick-cell{width:50px!important;min-width:0!important;max-width:50px;padding-left:0!important;padding-right:0!important;text-align:center!important}
#office-queue .queue-select-all{justify-content:center;min-height:0;padding:0}
#office-queue .table-wrap input[type=checkbox]{margin:0!important;cursor:pointer;border-radius:5px}
}

/* Pagination: maandishi yasifichwe na background. Vitufe vinavyofanya kazi = navy + maandishi meupe; vilivyozimwa = grey nyepesi + maandishi ya grey. */
html body main .pagination a:not(.dis),
html body #office-queue .pagination a:not(.dis){
  background:linear-gradient(180deg,#1d4f80,#123a63)!important;color:#fff!important;border:0!important;opacity:1!important;text-shadow:none}
html body main .pagination a.pg-edge.dis,
html body #office-queue .pagination a.pg-edge.dis,
html body .pagination a.pg-edge.dis{
  background:#eaeff5!important;background-image:none!important;color:#5d7186!important;border:1px solid #d3dce6!important;box-shadow:none!important;opacity:1!important;pointer-events:none;cursor:not-allowed}
html body main .pagination a.pg-edge.dis:hover{filter:none;transform:none}

/* Vichwa vya majedwali yote vifanane: ukubwa wa herufi, nafasi, herufi kubwa, urefu na mng'ao. */
main table thead th,
.sticky-table-head table thead th,
#office-queue .table-wrap thead th,
.recruits-completion thead th,
.prf-list-table th,
.sen-table table thead th,
.dmx .dm-table thead th,
.da-tbl thead th,
.mg-table thead th,
.ajs table thead th,
.elm-t th,
.us-main table thead th{
  font-size:12px!important;font-weight:800!important;letter-spacing:.7px!important;text-transform:uppercase!important;
  padding-top:11px!important;padding-bottom:11px!important;line-height:1.3!important;vertical-align:middle!important
}

/* Kona za kichwa: maandishi yasigusane na mviringo; jedwali lisizidi upana wa kadi. */
main table thead tr>th:first-child,.recruits-completion thead tr>th:first-child,.prf-list-table thead tr>th:first-child{padding-left:20px!important}
main table thead tr>th:last-child,.recruits-completion thead tr>th:last-child,.prf-list-table thead tr>th:last-child{padding-right:20px!important}
.recruits-completion .table-wrap{overflow-x:auto;overflow-y:hidden}
.recruits-completion table{min-width:0!important;width:100%!important;table-layout:auto}
#office-queue .table-wrap thead th:has(.queue-select-all){padding-left:0!important;padding-right:0!important}

/* === Header ya jedwali ijaze kadi nzima (kingo hadi kingo), ifuate pembe za kadi, na kivuli laini (25 Okt 2026) === */
@media (min-width:821px){
#office-queue .table-wrap,.recruits-completion .table-wrap{padding:0 0 12px!important;overflow-x:auto;overflow-y:hidden;border-radius:26px!important;background-clip:padding-box}
#office-queue .table-wrap>table,.recruits-completion .table-wrap>table{width:100%!important;margin:0!important}
#office-queue .table-wrap thead tr>th,.recruits-completion thead tr>th{border-radius:0!important;
  background:linear-gradient(180deg,#14407f 0%,#0d2c5c 55%,#081d42 100%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),inset 0 -1px 0 rgba(0,0,0,.35),0 8px 16px -6px rgba(6,24,58,.55)!important;
  position:relative}
#office-queue .table-wrap thead tr>th:first-child,.recruits-completion thead tr>th:first-child{border-top-left-radius:25px!important}
#office-queue .table-wrap thead tr>th:last-child,.recruits-completion thead tr>th:last-child{border-top-right-radius:25px!important;padding-right:24px!important}
#office-queue .table-wrap tbody td:first-child,.recruits-completion tbody td:first-child{padding-left:20px}
#office-queue .table-wrap tbody td:last-child,.recruits-completion tbody td:last-child{padding-right:20px}
#office-queue .table-wrap thead th:has(.queue-select-all){padding-left:0!important}
}


/* ===== compact-space.css ===== */
/* Nafasi tupu zimepunguzwa mfumo mzima + kipande cha "Tafuta na chuja orodha" / "Panga orodha" kimeboreshwa (2026-10-25). Hupakiwa mwisho. */
@media (min-width:821px){
/* ---------- /kazi: Tafuta na chuja orodha ---------- */
#office-queue #queue-filters.office-filters{padding:10px 16px 12px!important;gap:8px 12px!important;margin:0 0 10px!important;border-radius:16px!important;border-top-width:4px!important}
#office-queue #queue-filters.office-filters::before{min-height:28px!important;padding:3px 0 3px 38px!important;margin:0!important;font-size:12px!important;background-size:28px 28px!important;line-height:22px}
#office-queue #queue-filters.office-filters>label{gap:3px!important;font-size:10.5px!important}
#office-queue #queue-filters.office-filters>label::before{display:none!important}
#office-queue #queue-filters.office-filters>label select,
#office-queue #queue-filters.office-filters>label .ms-btn{height:36px!important;min-height:36px!important;border-radius:10px!important;font-size:13px!important}
body #office-queue #queue-filters.office-filters>label select,
body #office-queue #queue-filters.office-filters>label .ms-btn{height:36px!important;min-height:36px!important}
#office-queue #queue-filters.office-filters .queue-single-search,
#office-queue #queue-filters.office-filters .queue-people{padding:8px 12px 9px!important;gap:5px!important;border-radius:14px!important}
#office-queue #queue-filters.office-filters .queue-search-line :is(input,textarea),
body #office-queue form.office-filters .queue-search-line input{height:38px!important;min-height:38px!important}
#office-queue #queue-filters.office-filters .queue-search-line textarea{padding:8px 12px!important;line-height:1.35!important}
#office-queue #queue-filters.office-filters .queue-search-line button,
body #office-queue form.office-filters .queue-search-line button{height:38px!important;min-height:38px!important;padding:0 18px!important;border-radius:11px!important}
#office-queue #queue-filters.office-filters .queue-people small{font-size:11px!important;line-height:1.2!important}
/* "Futa vichujio" juu kulia, kwenye mstari wa kichwa (hakuna mstari wake wa ziada) */
#office-queue #queue-filters.office-filters .queue-filter-submit{position:absolute!important;top:9px;right:16px;margin:0!important;padding:0!important;grid-column:auto!important;z-index:2}
#office-queue #queue-filters.office-filters .queue-filter-submit a{height:28px!important;padding:0 12px!important;font-size:12px!important;border-radius:999px!important}
/* ---------- /kazi: Panga orodha ---------- */
#office-queue .queue-sort-bar,.queue-sort-bar{padding:7px 14px!important;margin:0 0 10px!important;gap:10px!important;border-radius:14px!important}
.queue-sort-bar>label::before{width:24px;height:24px;border-radius:8px;background-size:13px,auto}
#office-queue .queue-sort-bar select,.queue-sort-bar select{min-height:34px!important;height:34px;padding-top:0;padding-bottom:0;min-width:220px}
/* ---------- Mfumo mzima: nafasi ---------- */
main .page-heading{margin-bottom:10px!important}
main .filters{padding:12px 14px!important;gap:8px!important}
.recruits-completion .chips{margin:10px 0!important;gap:6px!important}
.recruits-completion .filters{padding:12px 14px!important}
main .pagination{margin:8px 0 2px!important}
main .table-wrap tbody td{padding-top:8px!important;padding-bottom:8px!important}
#office-queue .table-wrap tbody td{padding-top:8px!important;padding-bottom:8px!important}
#office-queue .queue-stages{margin:12px 0!important;gap:8px!important}
}


/* ===== navy-motion.css ===== */
/* NAVY MOTION (26 Okt 2026): animation ya gradient ya dark blue + urembo wa Profile, Edit profile na Data za Mfumo.
   Faili hili linapakiwa mwisho (base.html) hivyo linashinda CSS ya zamani bila kuigusa. Ili kuondoa: futa mstari wake kwenye base.html. */
:root{--nm-ease:cubic-bezier(.2,.8,.2,1)}

/* ---------- 1. Gradient hai: mwanga wa dhahabu na buluu unaoelea juu ya navy ---------- */
@keyframes nm-aurora{
 0%{background-position:0% 20%,100% 90%,0% 50%}
 50%{background-position:100% 70%,10% 20%,100% 50%}
 100%{background-position:35% 100%,80% 0%,0% 50%}
}
@keyframes nm-drift{0%{background-position:0% 50%}100%{background-position:100% 50%}}
@keyframes nm-shine{0%{background-position:0% 0}100%{background-position:300% 0}}
@keyframes nm-float{0%{transform:translate(0,0) scale(1)}100%{transform:translate(-34px,26px) scale(1.25)}}
@keyframes nm-ring{0%,100%{outline-color:rgba(242,193,78,.75);outline-offset:3px}50%{outline-color:rgba(242,193,78,0);outline-offset:11px}}
@keyframes nm-rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes nm-sweep{0%{transform:translateX(-120%)}60%,100%{transform:translateX(220%)}}

/* Vizuizi vikuu: Profile (.ph), Edit profile (.re-head), Data za mfumo (banner, kadi ya benki, hero), dashibodi */
html body :is(.recruit-profile .ph,.re-head,.dpx .dp-banner,.dpx .dp-bank,.dmx .dm-hero,.dpx .dp-hero,.dash-hero,.mg-hero){
 background-image:
  radial-gradient(closest-side,rgba(242,193,78,.36),rgba(242,193,78,0)),
  radial-gradient(closest-side,rgba(64,150,255,.42),rgba(64,150,255,0)),
  linear-gradient(120deg,#001a3a 0%,#002147 28%,#0b2a55 52%,#164682 78%,#0b2a55 100%)!important;
 background-size:55% 170%,62% 180%,230% 230%!important;
 background-repeat:no-repeat,no-repeat,no-repeat!important;
 background-color:#002147!important;
 animation:nm-aurora 16s ease-in-out infinite alternate;
}
/* Vizuizi vingine vya navy: rangi zao zinabaki, zinateleza polepole tu */
html body :is(.dflow-sum,#office-queue .page-heading,.ajs .page-heading,.sen-hero,.rh-smart,.dl-bar,.prf-capture-desktop .prf-capture-head,.me-head){
 background-size:230% 230%!important;
 animation:nm-drift 20s ease-in-out infinite alternate;
}
/* Mstari wa dhahabu chini ya hero ya profile unang'aa */
html body .recruit-profile .ph::after{
 background:linear-gradient(90deg,#F2C14E 0%,#fff1b0 18%,#F2C14E 36%,#d9a21f 60%,#F2C14E 100%)!important;
 background-size:300% 100%;animation:nm-shine 7s linear infinite;height:4px
}
html body .recruit-profile .ph-glow{animation:nm-float 11s ease-in-out infinite alternate;opacity:.9}
/* Picha ya duara: pete ya dhahabu inayopumua */
html body :is(.recruit-profile .ph-av,.re-head .kt-av,.dpx .dpc-ph){outline:3px solid rgba(242,193,78,.7);outline-offset:4px;animation:nm-ring 3.6s ease-in-out infinite}
/* Mwanga unaopita juu ya kadi ya benki */
html body .dpx .dp-bank::before{content:"";position:absolute;top:0;bottom:0;left:0;width:34%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.14),transparent);transform:translateX(-120%);animation:nm-sweep 7s ease-in-out infinite;pointer-events:none;z-index:0}
html body .dpx .dp-bank>*{position:relative;z-index:1}

/* ---------- 2. Edit profile: muonekano wa banner kama Data za mfumo ---------- */
html body .re-head{position:relative;overflow:hidden;padding:18px 24px!important;border-radius:22px!important;border-bottom:0!important;
 box-shadow:0 14px 34px rgba(0,33,71,.22)!important;margin-bottom:14px!important;gap:18px}
html body .re-head::after{content:"";position:absolute;inset:0;pointer-events:none;
 background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);
 background-size:34px 34px;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 60%);mask-image:linear-gradient(90deg,transparent 0,#000 60%)}
html body .re-head>*{position:relative;z-index:1}
html body .re-head .kt-av{width:84px!important;height:84px!important;border-radius:50%!important;border:3px solid #F2C14E!important;box-shadow:0 8px 22px rgba(0,0,0,.28)!important}
html body .re-head .kt-av.ini{font-size:28px;background:linear-gradient(135deg,#F7D57A,#F2C14E);color:#002147}
html body .re-head .eyebrow{font-size:12px;letter-spacing:.16em;color:#F2C14E}
html body .re-head h1{font-size:25px;letter-spacing:-.3px}
html body .re-head .re-chip{background:rgba(255,255,255,.09)!important;color:#d9e6f6!important;border:1px solid rgba(255,255,255,.24);padding:6px 13px;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);font-weight:600}
html body .re-head .re-chip b{color:#fff}
html body .re-head .re-chip .ico{color:#F2C14E}
html body .re-head .re-chip.u-bad{background:#c62839!important;border-color:#c62839;color:#fff!important}
html body .re-head .re-chip.u-warn{background:#F2C14E!important;border-color:#F2C14E;color:#4a3200!important}
html body .re-head .re-chip.u-warn b,html body .re-head .re-chip.u-warn .ico{color:#4a3200}
html body .re-head .actions .button{border-radius:999px!important;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.28)!important;color:#fff!important;font-weight:700;transition:background .15s,color .15s}
html body .re-head .actions .button:hover{background:#F2C14E!important;border-color:#F2C14E!important;color:#002147!important}

/* ---------- 3. Profile: vigae vya kioo, sehemu zinazoingia kwa upole ---------- */
html body .recruit-profile .ph{position:relative;overflow:hidden}
html body .recruit-profile .ph::before{content:"";position:absolute;inset:0;pointer-events:none;
 background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);
 background-size:34px 34px;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 62%);mask-image:linear-gradient(90deg,transparent 0,#000 62%)}
html body .recruit-profile .ph>*:not(.ph-glow):not(.ph-x){position:relative;z-index:1}
html body .recruit-profile .ph-badges span{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
html body .recruit-profile .pa{transition:transform .18s var(--nm-ease),box-shadow .18s,border-color .18s}
html body .recruit-profile .pa:hover{border-color:#F2C14E}
html body .recruit-profile .pa-i{transition:transform .25s var(--nm-ease)}
html body .recruit-profile .pa:hover .pa-i{transform:rotate(-8deg) scale(1.1)}
html body .recruit-profile .phm-bar i.tl{position:relative;overflow:hidden}
html body .recruit-profile .phm-bar i.tl::after{content:"";position:absolute;top:0;bottom:0;left:0;width:40%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.55),transparent);transform:translateX(-120%);animation:nm-sweep 3.6s ease-in-out infinite}

/* Kuingia kwa upole (fill-mode "backwards" ili hover/transform ya kawaida isizuiwe baada ya kuisha) */
html body :is(.recruit-profile :is(.pa,.pkpi,.pov-sec,.pov-media,.pov-place,.pflow,.pgaps),.recruit-editor fieldset,.re-layout aside>*,.dpx :is(.dpb-tile,.dp-card,.dpc-stats>div,.dp-tabs,.dp-panel,.dp-docs)){
 animation:nm-rise .55s var(--nm-ease) backwards}
html body .recruit-profile :is(.pa,.pkpi):nth-child(2),html body .recruit-editor fieldset:nth-child(2),html body .dpx .dpb-tile:nth-child(2){animation-delay:.06s}
html body .recruit-profile :is(.pa,.pkpi):nth-child(3),html body .recruit-editor fieldset:nth-child(3),html body .dpx .dpb-tile:nth-child(3){animation-delay:.12s}
html body .recruit-profile :is(.pa,.pkpi):nth-child(4),html body .recruit-editor fieldset:nth-child(4){animation-delay:.18s}
html body .recruit-profile :is(.pa,.pkpi):nth-child(5),html body .recruit-editor fieldset:nth-child(5){animation-delay:.24s}
html body .recruit-editor fieldset:nth-child(n+6){animation-delay:.3s}
html body .dpx .dp-card{animation-delay:.08s}

/* ---------- 4. Edit profile: fieldsets na sehemu za kujaza ---------- */
html body .recruit-editor fieldset{border-radius:20px;transition:box-shadow .2s,border-color .2s}
html body .recruit-editor fieldset:focus-within{box-shadow:0 10px 28px rgba(0,33,71,.1);border-color:#c9d6e6}
html body .recruit-editor .re-f input:focus,html body .recruit-editor .re-f select:focus{box-shadow:0 0 0 4px rgba(242,193,78,.22);border-color:#F2C14E}

/* ---------- 5. Heshima kwa watumiaji wasiotaka mwendo, na kuokoa betri kwenye simu ---------- */
@media (prefers-reduced-motion:reduce){
 html body :is(.recruit-profile .ph,.re-head,.dpx .dp-banner,.dpx .dp-bank,.dmx .dm-hero,.dpx .dp-hero,.dash-hero,.mg-hero,.dflow-sum,#office-queue .page-heading,.ajs .page-heading,.sen-hero,.rh-smart,.dl-bar,.prf-capture-desktop .prf-capture-head,.me-head,.recruit-profile .ph-glow,.recruit-profile .ph-av,.re-head .kt-av,.dpx .dpc-ph,.recruit-profile :is(.pa,.pkpi,.pov-sec,.pov-media,.pov-place,.pflow,.pgaps),.recruit-editor fieldset,.dpx :is(.dpb-tile,.dp-card,.dpc-stats>div,.dp-tabs,.dp-panel,.dp-docs)){animation:none!important}
 html body .recruit-profile .ph::after,html body .dpx .dp-bank::before,html body .recruit-profile .phm-bar i.tl::after{animation:none!important}
}
@media (max-width:700px){
 html body :is(.recruit-profile .ph,.re-head,.dpx .dp-banner,.dpx .dp-bank,.dmx .dm-hero,.dpx .dp-hero,.dash-hero,.mg-hero){animation-duration:26s}
 html body .re-head{padding:14px 16px!important;border-radius:18px!important}
 html body .re-head .kt-av{width:64px!important;height:64px!important}
}


/* ===== surface-fx.css ===== */
/* surface-fx.css · 2026-10-26 · kivuli, hover na active kwa kurasa zote; pengo la Data za Mfumo limepunguzwa */
/* 1) Data za Mfumo: paneli ifuate urefu wa maudhui (hakuna nafasi tupu chini) */
.dpx .dp-panels{height:auto!important;min-height:0!important;max-height:calc(100dvh - 250px);align-self:start}
.dpx .dp-panel{flex:1 1 auto;min-height:0}
.dpx .dp-panels:has(.dp-panel[hidden]){align-self:start}
.dpx .dp-shell{padding-bottom:0!important}
.dpx{gap:10px!important}
@media(max-width:1100px){.dpx .dp-panels{max-height:none}}
/* 2) Kadi na paneli: kivuli laini + kuinuka kidogo kwa hover */
html body :is(.panel,.dp-docs,.dp-card,.dp-panel,.dpc-stats>div,.dm-stat,.dd-item,.dp-field,.stat,.card,.kpi,.dash-card,.mg-card){
 transition:box-shadow .22s ease,transform .22s ease,border-color .2s ease,background-color .2s ease}
html body :is(.panel,.dp-docs,.dp-card,.dp-panel){box-shadow:0 1px 2px rgba(0,33,71,.05),0 8px 22px rgba(0,33,71,.07)}
@media (hover:hover){
 html body :is(.panel,.dp-docs,.dp-card):hover{box-shadow:0 2px 4px rgba(0,33,71,.06),0 16px 34px rgba(0,33,71,.13)}
 html body :is(.dpc-stats>div,.dd-item,.dp-field,.stat,.card,.kpi,.dash-card,.mg-card):hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,33,71,.12);border-color:#c9d6e6}
 html body :is(button,.button,.dp-btn,.pill,a.pa,.dm-open,.tab):not(:disabled):not([disabled]):hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(0,33,71,.16)}
 html body :is(tbody tr,.dm-row,.employee-copy-row):hover{background-color:rgba(242,193,78,.08)}
 html body .dpx .dp-tabs a:hover{transform:translateX(3px);box-shadow:0 6px 16px rgba(0,33,71,.1)}
}
/* 3) Active (kubonyeza): kushuka kidogo + kivuli kinapungua */
html body :is(button,.button,.dp-btn,.pill,a.pa,.dm-open,.tab,.dp-copy,.dd-item,.dp-tabs a):not(:disabled):not([disabled]):active{
 transform:translateY(1px) scale(.975);box-shadow:inset 0 2px 5px rgba(0,33,71,.18);transition-duration:.06s}
html body :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid rgba(242,193,78,.75);outline-offset:2px}
@media (prefers-reduced-motion:reduce){
 html body :is(.panel,.dp-docs,.dp-card,.dp-panel,.dpc-stats>div,.dd-item,.dp-field,button,.button,.dp-btn,.pill,a.pa,.tab,.dp-tabs a){transition:none!important;transform:none!important}
}
/* 4) "Fungua data" na vitufe vya aina hiyo: hover = bluu ya giza + maandishi na icon za dhahabu */
html body main .dmx .dm-open:is(:hover,:focus-visible,:active),html body .dm-open:is(:hover,:focus-visible,:active){
 background:#002147!important;border-color:#002147!important;color:#F2C14E!important}
html body main .dmx .dm-open:is(:hover,:focus-visible,:active) *,html body .dm-open:is(:hover,:focus-visible,:active) *{color:#F2C14E!important;stroke:#F2C14E}
