/* =====================================================================
   BMU HR Recruitment Portal - BMU theme
   orange #f47a1f / gold / cream, Plus Jakarta Sans, pill buttons,
   cards with a gradient top line. Works on top of Bootstrap 5.3.
   ===================================================================== */
:root{
  --bmu:#f47a1f; --bmu-d:#e0620f; --bmu-dd:#b94c08; --bmu-l:#ff9a3c;
  --gold:#e9a825; --gold-l:#f6c453;
  --cream:#fff8ef; --cream-2:#fdf0e1; --cream-3:#f8e4cc;
  --ink:#2f2118; --ink-2:#4a3628; --muted:#8c7a6c; --line:#f0e2d2; --line-2:#e8d5bf;
  --ok:#15803d; --ok-bg:#e8f7ee; --bad:#c2410c; --bad-2:#b91c1c; --bad-bg:#fdecec;
  --warn:#b45309; --warn-bg:#fff4dc; --info:#0369a1; --info-bg:#e6f3fb; --mute-bg:#f3eee8;
  --grad:linear-gradient(120deg,#e0620f 0%,#f47a1f 45%,#ffa24a 100%);
  --grad-line:linear-gradient(90deg,#f47a1f,#e9a825 60%,#f6c453);
  --shadow:0 1px 2px rgba(74,54,40,.05),0 8px 24px rgba(160,90,30,.08);
  --shadow-lg:0 20px 50px rgba(160,80,20,.18);
  --radius:16px; --sidebar:248px;
  --bs-body-font-family:'Plus Jakarta Sans','Segoe UI',system-ui,sans-serif;
  --bs-body-color:var(--ink); --bs-link-color:var(--bmu-d); --bs-link-hover-color:var(--bmu-dd);
  --bs-primary:#f47a1f; --bs-primary-rgb:244,122,31;
  --bs-border-color:var(--line-2);
}
*{box-sizing:border-box}
html,body{min-height:100%}
body{font-family:var(--bs-body-font-family);background:var(--cream);color:var(--ink);font-size:.925rem;-webkit-font-smoothing:antialiased}
a{color:var(--bmu-d);text-decoration:none}
a:hover{color:var(--bmu-dd)}
h1,h2,h3,h4,h5,h6{color:var(--ink);font-weight:800;letter-spacing:-.01em}
.text-muted,.muted{color:var(--muted)!important}
.small-caps{font-size:.7rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#b89a80}
::selection{background:#ffd9b3}
:focus-visible{outline:3px solid rgba(244,122,31,.45);outline-offset:2px}
[hidden]{display:none!important}

/* ---------------- buttons (pill) ---------------- */
.btn{border-radius:999px;font-weight:700;padding:.55rem 1.15rem;font-size:.86rem;display:inline-flex;align-items:center;justify-content:center;gap:.45rem;transition:transform .15s,box-shadow .2s,background .2s,border-color .2s}
.btn-sm{padding:.36rem .85rem;font-size:.78rem}
.btn-lg{padding:.8rem 1.6rem;font-size:1rem}
.btn:active{transform:translateY(1px)}
.btn-bmu{background:var(--grad);border:0;color:#fff;box-shadow:0 8px 18px rgba(244,122,31,.3)}
.btn-bmu:hover,.btn-bmu:focus{color:#fff;box-shadow:0 12px 26px rgba(244,122,31,.4);transform:translateY(-1px)}
.btn-bmu:disabled{opacity:.6;box-shadow:none;transform:none}
.btn-soft{background:#fff;border:1.5px solid var(--line-2);color:var(--ink-2)}
.btn-soft:hover{background:var(--cream-2);border-color:#e3c29f;color:var(--ink)}
.btn-ghost{background:transparent;border:0;color:var(--bmu-d)}
.btn-ghost:hover{background:var(--cream-2);color:var(--bmu-dd)}
.btn-ok{background:#16a34a;border:0;color:#fff}.btn-ok:hover{background:#15803d;color:#fff}
.btn-danger-soft{background:#fff;border:1.5px solid #f3c4c4;color:var(--bad-2)}
.btn-danger-soft:hover{background:var(--bad-bg);color:#991b1b}
.btn-warn-soft{background:#fff;border:1.5px solid #f1d49a;color:var(--warn)}
.btn-warn-soft:hover{background:var(--warn-bg);color:#92400e}
.btn-icon{width:36px;height:36px;padding:0;border-radius:50%}
.btn .spinner-border{width:1em;height:1em;border-width:.15em}

/* ---------------- cards ---------------- */
.card-bmu{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}
.card-bmu::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:var(--grad-line)}
.card-bmu.flat::before{display:none}
.card-bmu>.card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px 10px}
.card-bmu>.card-head h2,.card-bmu>.card-head h3{font-size:1rem;margin:0;display:flex;align-items:center;gap:10px}
.card-bmu>.card-head .sub{font-size:.8rem;color:var(--muted);font-weight:500}
.card-bmu>.card-body{padding:10px 20px 20px}
.ic{width:34px;height:34px;border-radius:10px;display:inline-grid;place-items:center;background:var(--cream-2);color:var(--bmu-d);font-size:1rem;flex:none}

/* ---------------- forms ---------------- */
.form-label{font-weight:700;color:var(--ink-2);font-size:.8rem;margin-bottom:.35rem}
.req::after{content:" *";color:var(--bmu)}
.form-control,.form-select{border-radius:12px;border:1.5px solid var(--line-2);background-color:#fffdfa;padding:.6rem .85rem;font-size:.9rem;color:var(--ink);transition:border-color .15s,box-shadow .15s,background .15s}
.form-control-sm,.form-select-sm{padding:.38rem .65rem;font-size:.82rem;border-radius:10px}
.form-control:focus,.form-select:focus{border-color:var(--bmu);background:#fff;box-shadow:0 0 0 4px rgba(244,122,31,.14)}
.form-control:disabled,.form-select:disabled,.form-control[readonly]{background:#f7f1ea;color:#7d6a5b}
.form-control.is-invalid,.form-select.is-invalid{border-color:#dc2626}
.form-check-input:checked{background-color:var(--bmu);border-color:var(--bmu)}
.form-check-input:focus{box-shadow:0 0 0 4px rgba(244,122,31,.14);border-color:var(--bmu)}
.form-hint{font-size:.74rem;color:var(--muted);margin-top:.3rem}
.input-icon{position:relative}
.input-icon>i{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#b89a80;pointer-events:none}
.input-icon>.form-control{padding-left:2.5rem}
input[type=file].form-control{padding:.45rem .6rem}
input[type=file]::file-selector-button{background:var(--cream-2);border:0;border-radius:8px;padding:.35rem .8rem;margin-right:10px;font-weight:700;color:var(--bmu-dd)}
.otp-box{letter-spacing:.6em;text-align:center;font-size:1.4rem;font-weight:800}

/* ---------------- pills / badges ---------------- */
.pill{display:inline-flex;align-items:center;gap:6px;padding:.28rem .7rem;border-radius:999px;font-size:.74rem;font-weight:700;white-space:nowrap;background:var(--mute-bg);color:#6b5a4c}
.pill::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.85}
.pill.no-dot::before{display:none}
.pill.p-primary{background:#fff0e3;color:var(--bmu-dd)}
.pill.p-info{background:var(--info-bg);color:var(--info)}
.pill.p-success{background:var(--ok-bg);color:var(--ok)}
.pill.p-warning{background:var(--warn-bg);color:var(--warn)}
.pill.p-danger{background:var(--bad-bg);color:var(--bad-2)}
.pill.p-dark{background:#ece7e2;color:#3b2f27}
.pill.p-secondary{background:var(--mute-bg);color:#6b5a4c}
.chip{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid var(--line-2);border-radius:999px;padding:.22rem .65rem;font-size:.75rem;font-weight:600;color:var(--ink-2);margin:0 6px 6px 0}
.chip button{border:0;background:none;color:var(--muted);padding:0;line-height:1;font-size:1rem}
.chip button:hover{color:var(--bad-2)}

/* ---------------- avatar ---------------- */
.avatar{width:36px;height:36px;border-radius:50%;display:inline-grid;place-items:center;font-size:.72rem;font-weight:800;color:#fff;flex:none;letter-spacing:.02em;box-shadow:0 0 0 3px #fff}
.avatar.lg{width:56px;height:56px;font-size:1.05rem}
.avatar.xl{width:84px;height:84px;font-size:1.6rem}
.avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.av-0{background:#f47a1f}.av-1{background:#8b5cf6}.av-2{background:#0ea5e9}.av-3{background:#16a34a}.av-4{background:#e11d48}
.av-5{background:#b45309}.av-6{background:#0d9488}.av-7{background:#6366f1}.av-8{background:#c026d3}.av-9{background:#a16207}
.who{display:flex;align-items:center;gap:12px;min-width:0}
.who .nm{font-weight:700;color:var(--ink);line-height:1.2}
.table-bmu .who{max-width:300px}
.who .sb{font-size:.74rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ---------------- tables ---------------- */
.table-bmu{width:100%;margin:0;border-collapse:separate;border-spacing:0}
.table-bmu thead th{background:#fdf6ee;color:#8a6f58;font-size:.7rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;padding:.8rem 1rem;border-bottom:1px solid var(--line);white-space:nowrap;position:sticky;top:0;z-index:1}
.table-bmu tbody td{padding:.8rem 1rem;border-bottom:1px solid #f6ece1;vertical-align:middle;font-size:.86rem}
.table-bmu tbody tr{transition:background .12s}
.table-bmu tbody tr:hover{background:#fffaf4}
.table-bmu tbody tr.clickable{cursor:pointer}
.table-bmu tbody tr:last-child td{border-bottom:0}
.table-wrap{overflow:auto;border-radius:0 0 var(--radius) var(--radius)}
.table-wrap.max{max-height:62vh}
.t-actions{display:flex;gap:6px;justify-content:flex-end;align-items:center;flex-wrap:nowrap}
.num{font-variant-numeric:tabular-nums}
.pager{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 18px;border-top:1px solid var(--line);font-size:.8rem;color:var(--muted)}

/* ---------------- empty / loading ---------------- */
.empty{text-align:center;padding:44px 20px;color:var(--muted)}
.empty .e-ic{width:64px;height:64px;border-radius:20px;background:var(--cream-2);color:var(--bmu);display:grid;place-items:center;font-size:1.7rem;margin:0 auto 14px}
.empty h4{font-size:1rem;margin-bottom:4px;color:var(--ink-2)}
.skeleton{background:linear-gradient(90deg,#f6ece1 25%,#fbf4ec 37%,#f6ece1 63%);background-size:400% 100%;animation:sk 1.3s ease infinite;border-radius:8px;height:14px}
@keyframes sk{0%{background-position:100% 50%}100%{background-position:0 50%}}
.loading-block{padding:40px;text-align:center;color:var(--muted)}
.spinner-bmu{width:28px;height:28px;border:3px solid var(--cream-3);border-top-color:var(--bmu);border-radius:50%;animation:spin .8s linear infinite;display:inline-block}
@keyframes spin{to{transform:rotate(360deg)}}

/* ---------------- alerts / toast ---------------- */
.note{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:12px;font-size:.84rem;border:1px solid transparent}
.note i{font-size:1.05rem;line-height:1.2}
.note.info{background:var(--info-bg);color:#0c4a6e;border-color:#cde6f5}
.note.ok{background:var(--ok-bg);color:#14532d;border-color:#c9ecd6}
.note.warn{background:var(--warn-bg);color:#78350f;border-color:#f6dfab}
.note.bad{background:var(--bad-bg);color:#7f1d1d;border-color:#f6caca}
.note.cream{background:var(--cream-2);color:var(--ink-2);border-color:var(--line)}
.toast-stack{position:fixed;right:18px;bottom:18px;z-index:2000;display:flex;flex-direction:column;gap:10px;max-width:min(420px,calc(100vw - 36px))}
.toast-bmu{display:flex;gap:10px;align-items:flex-start;background:#fff;border-radius:14px;padding:12px 14px;box-shadow:var(--shadow-lg);border-left:4px solid var(--bmu);font-size:.86rem;animation:tin .25s ease-out}
.toast-bmu.ok{border-left-color:#16a34a}.toast-bmu.bad{border-left-color:#dc2626}.toast-bmu.warn{border-left-color:#d97706}
.toast-bmu i{font-size:1.1rem}
.toast-bmu.ok i{color:#16a34a}.toast-bmu.bad i{color:#dc2626}.toast-bmu.warn i{color:#d97706}.toast-bmu.info i{color:var(--bmu)}
@keyframes tin{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* ---------------- modal ---------------- */
.modal-content{border:0;border-radius:20px;box-shadow:var(--shadow-lg)}
.modal-content::before{content:"";display:block;height:4px;background:var(--grad-line);border-radius:20px 20px 0 0}
.modal-header{border-bottom:1px solid var(--line);padding:16px 22px}
.modal-title{font-weight:800;font-size:1.05rem}
.modal-body{padding:20px 22px}
.modal-footer{border-top:1px solid var(--line);padding:12px 22px}
.modal-backdrop.show{opacity:.35}

/* ---------------- timeline ---------------- */
.tl{list-style:none;margin:0;padding:0}
.tl li{position:relative;padding:0 0 18px 26px;margin-left:8px;border-left:2px solid var(--line)}
.tl li:last-child{border-left-color:transparent;padding-bottom:0}
.tl li::before{content:"";position:absolute;left:-7px;top:3px;width:12px;height:12px;border-radius:50%;background:#fff;border:3px solid var(--bmu)}
.tl li.bad::before{border-color:#dc2626}
.tl li.ok::before{border-color:#16a34a}
.tl .t1{font-weight:700;font-size:.86rem}
.tl .t2{font-size:.76rem;color:var(--muted)}
.tl .t3{font-size:.8rem;color:var(--ink-2);margin-top:2px}

/* ---------------- stepper (candidate progress) ---------------- */
.stepper{display:flex;list-style:none;margin:18px 0 4px;padding:0;counter-reset:st}
.stepper li{flex:1;position:relative;text-align:center;font-size:.72rem;font-weight:700;color:#b39d8b;counter-increment:st}
.stepper li::before{content:counter(st);display:grid;place-items:center;width:30px;height:30px;margin:0 auto 6px;border-radius:50%;background:#fff;border:2px solid var(--line-2);color:#b39d8b;position:relative;z-index:1;font-size:.78rem}
.stepper li::after{content:"";position:absolute;top:15px;left:-50%;width:100%;height:3px;background:var(--line);z-index:0}
.stepper li:first-child::after{display:none}
.stepper li.done{color:var(--ink-2)}
.stepper li.done::before{content:"\2713";background:var(--bmu);border-color:var(--bmu);color:#fff}
.stepper li.done::after,.stepper li.now::after{background:var(--bmu)}
.stepper li.now{color:var(--bmu-dd)}
.stepper li.now::before{background:#fff;border-color:var(--bmu);color:var(--bmu-dd);box-shadow:0 0 0 5px rgba(244,122,31,.18)}
.stepper li.fail{color:var(--bad-2)}
.stepper li.fail::before{content:"\2715";background:#dc2626;border-color:#dc2626;color:#fff}
@media(max-width:480px){.stepper li{font-size:.62rem}.stepper li::before{width:24px;height:24px}.stepper li::after{top:12px}}

/* =====================================================================
   STAFF APP SHELL (sidebar + top bar) - app.html
   ===================================================================== */
.shell{display:flex;min-height:100vh}
.sidebar{width:var(--sidebar);background:#fff;border-right:1px solid var(--line);position:fixed;top:0;bottom:0;left:0;z-index:1040;display:flex;flex-direction:column;transition:transform .25s ease}
.sb-head{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid var(--line);min-height:64px}
.sb-head img{width:40px;height:40px}
.sb-head .t{font-weight:800;font-size:.9rem;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sb-head .s{font-size:.66rem;font-weight:800;letter-spacing:.06em;color:var(--bmu);text-transform:uppercase}
.sb-nav{flex:1;overflow-y:auto;padding:12px 12px 20px}
.sb-sec{font-size:.66rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:#b89a80;padding:16px 12px 6px}
.sb-link{display:flex;align-items:center;gap:12px;padding:.62rem .85rem;border-radius:12px;color:var(--ink-2);font-weight:600;font-size:.86rem;margin:2px 0;position:relative}
.sb-link i{font-size:1.05rem;color:#a98b73;width:20px;text-align:center}
.sb-link:hover{background:var(--cream);color:var(--ink)}
.sb-link.active{background:var(--grad);color:#fff;box-shadow:0 8px 18px rgba(244,122,31,.3)}
.sb-link.active i{color:#fff}
.sb-link .cnt{margin-left:auto;font-size:.68rem;font-weight:800;background:var(--cream-2);color:var(--bmu-dd);border-radius:999px;padding:.1rem .5rem}
.sb-link.active .cnt{background:rgba(255,255,255,.25);color:#fff}
.sb-foot{border-top:1px solid var(--line);padding:12px 16px;font-size:.72rem;color:var(--muted)}
.main{flex:1;margin-left:var(--sidebar);min-width:0;display:flex;flex-direction:column}
.topbar{position:sticky;top:0;z-index:1030;display:flex;align-items:center;gap:14px;padding:10px 24px;min-height:64px;background:rgba(255,248,239,.88);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.topbar .brand{display:flex;align-items:center;gap:10px;min-width:0}
.topbar .brand img{width:38px;height:38px}
.topbar .brand .t{font-weight:800;font-size:.92rem;line-height:1.1}
.topbar .brand .s{font-size:.72rem;color:var(--muted)}
.topbar .search{margin-left:auto;position:relative;width:min(340px,40vw)}
.topbar .search input{border-radius:999px;padding-left:2.4rem;background:#fff}
.topbar .search i{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#b89a80}
.user-chip{display:flex;align-items:center;gap:10px;border:1px solid var(--line);background:#fff;border-radius:999px;padding:4px 12px 4px 4px;font-size:.8rem;font-weight:700;color:var(--ink-2)}
.user-chip .avatar{width:30px;height:30px;box-shadow:none;font-size:.66rem}
.user-chip:hover,.user-chip[aria-expanded=true]{border-color:#e3c29f;background:var(--cream-2)}
.dropdown-menu{border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow-lg);padding:6px;font-size:.86rem}
.dropdown-item{border-radius:10px;padding:.5rem .8rem;display:flex;gap:10px;align-items:center}
.dropdown-item:active{background:var(--bmu)}
.content{padding:26px 28px 60px;max-width:1500px;width:100%}
.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:20px}
.page-head h1{font-size:1.45rem;margin:0}
.page-head p{margin:.2rem 0 0;color:var(--muted);font-size:.86rem}
.page-head .acts{display:flex;gap:8px;flex-wrap:wrap}
.burger{display:none}
.sb-backdrop{display:none}
@media(max-width:991.98px){
  .sidebar{transform:translateX(-100%)}
  body.sb-open .sidebar{transform:none;box-shadow:var(--shadow-lg)}
  body.sb-open .sb-backdrop{display:block;position:fixed;inset:0;background:rgba(40,25,10,.35);z-index:1035}
  .main{margin-left:0}
  .burger{display:inline-flex}
  .content{padding:18px 16px 60px}
  .topbar{padding:8px 16px}
  .topbar .brand .s{display:none}
}
@media(max-width:640px){.topbar .search{display:none}.user-chip .nm{display:none}.page-head h1{font-size:1.2rem}}

/* ---------------- stat tiles ---------------- */
.stats{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:14px}
.stat{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:16px 18px;box-shadow:var(--shadow);display:flex;gap:14px;align-items:center;color:inherit}
a.stat:hover{border-color:#efc79d;transform:translateY(-1px);box-shadow:0 12px 26px rgba(160,90,30,.12);color:inherit}
.stat .ic{width:44px;height:44px;border-radius:14px;font-size:1.25rem}
.stat .v{font-size:1.5rem;font-weight:800;line-height:1;font-variant-numeric:tabular-nums}
.stat .l{font-size:.76rem;color:var(--muted);font-weight:600;margin-top:4px}
.ic.o{background:#fff0e3;color:var(--bmu-d)}.ic.g{background:var(--ok-bg);color:var(--ok)}.ic.b{background:var(--info-bg);color:var(--info)}
.ic.r{background:var(--bad-bg);color:var(--bad-2)}.ic.y{background:var(--warn-bg);color:var(--warn)}.ic.p{background:#f1ebff;color:#6d28d9}

.stage-tiles{display:flex;flex-wrap:wrap;gap:10px}
.stage-tile{display:flex;align-items:center;gap:10px;background:#fff;border:1.5px solid var(--line);border-radius:14px;padding:10px 14px;min-width:150px;color:var(--ink-2);transition:all .15s}
.stage-tile b{font-size:1.25rem;font-weight:800;color:var(--ink);font-variant-numeric:tabular-nums}
.stage-tile small{font-size:.74rem;font-weight:700;line-height:1.15}
.stage-tile:hover{border-color:var(--bmu);background:#fffaf4;color:var(--ink)}
.stage-tile.t-danger b{color:var(--bad-2)}.stage-tile.t-warning b{color:var(--warn)}.stage-tile.t-success b{color:var(--ok)}
.stage-tile.zero{opacity:.6}

/* filter bar */
.filterbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.filterbar .form-control,.filterbar .form-select{width:auto;min-width:170px}
.filterbar .grow{flex:1 1 240px}
.filterbar .grow .form-control{width:100%;min-width:0}
.clamp2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.seg{display:inline-flex;background:#fff;border:1.5px solid var(--line-2);border-radius:999px;padding:3px}
.seg button{border:0;background:none;border-radius:999px;padding:.38rem .9rem;font-size:.8rem;font-weight:700;color:var(--ink-2)}
.seg button.on{background:var(--grad);color:#fff;box-shadow:0 4px 10px rgba(244,122,31,.3)}
.seg button .c{font-size:.7rem;opacity:.8;margin-left:4px}

/* key-value */
.kv{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:14px 22px}
.kv .k{font-size:.7rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#b89a80}
.kv .v{font-weight:600;font-size:.88rem;color:var(--ink);word-break:break-word}
.offer-dl{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;font-size:.85rem;margin:0}
.offer-dl dt{font-size:.7rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#b89a80;padding-top:3px}
.offer-dl dd{margin:0;font-weight:600;color:var(--ink);word-break:break-word}
.box{border:1px solid var(--line);border-radius:14px;padding:16px;background:#fffdfa}
.box.cream{background:var(--cream)}
.divider{height:1px;background:var(--line);margin:16px 0}

/* applicant drawer */
.offcanvas.drawer{width:min(980px,100vw);border-left:0;background:var(--cream)}
.offcanvas.drawer .offcanvas-header{background:#fff;border-bottom:1px solid var(--line);padding:16px 22px;position:relative}
.offcanvas.drawer .offcanvas-header::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:var(--grad-line)}
.offcanvas.drawer .offcanvas-body{padding:20px 22px}
.quick-links{display:flex;flex-wrap:wrap;gap:6px}

/* picker */
.picker{position:relative}
.picker-list{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:30;background:#fff;border:1px solid var(--line-2);border-radius:14px;box-shadow:var(--shadow-lg);max-height:300px;overflow:auto;padding:6px}
.picker-item{display:flex;align-items:center;gap:10px;width:100%;border:0;background:none;text-align:left;border-radius:10px;padding:8px 10px;font-size:.84rem}
.picker-item:hover,.picker-item.hl{background:var(--cream-2)}
.picker-item .grow{flex:1;min-width:0}
.picker-sel{display:flex;align-items:center;gap:12px;border:1.5px solid #f5c79b;background:#fff8f0;border-radius:14px;padding:10px 12px}
.picker-sel .grow{flex:1;min-width:0}

/* =====================================================================
   CAREERS (public + candidate) - careers.html / print / approve
   ===================================================================== */
.public{background:
  radial-gradient(900px 500px at 100% -10%,rgba(255,154,60,.28) 0%,transparent 60%),
  radial-gradient(700px 500px at -10% 110%,rgba(233,168,37,.18) 0%,transparent 60%),
  var(--cream);min-height:100vh;display:flex;flex-direction:column}
.pub-top{background:#fff;border-bottom:1px solid var(--line);position:relative}
.pub-top::after{content:"";position:absolute;left:0;right:0;bottom:-3px;height:3px;background:var(--grad-line)}
.pub-top .banner{display:block;width:100%;max-width:860px;height:auto;margin:0 auto;padding:10px 16px}
.pub-bar{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.9);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.pub-bar .in{max-width:1180px;margin:0 auto;padding:10px 20px;display:flex;align-items:center;gap:12px}
.pub-bar .who{margin-right:auto}
.pub-main{flex:1;width:100%;max-width:1180px;margin:0 auto;padding:36px 20px 50px}
.pub-foot{text-align:center;color:#a0866f;font-size:.76rem;padding:18px 16px 26px}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:44px;align-items:start}
@media(max-width:991.98px){.hero-grid{grid-template-columns:1fr;gap:26px}}
.hero .eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;font-weight:800;color:var(--bmu-dd);background:#fff;border:1px solid #f5d2b0;padding:6px 14px;border-radius:999px;margin-bottom:18px}
.hero .eyebrow i{width:8px;height:8px;border-radius:50%;background:var(--bmu);box-shadow:0 0 0 0 rgba(244,122,31,.6);animation:pulse 2s infinite}
@keyframes pulse{to{box-shadow:0 0 0 10px rgba(244,122,31,0)}}
.hero h1{font-size:clamp(1.9rem,3.8vw,3rem);line-height:1.08;margin:0 0 16px}
.hero h1 span{background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero p.lead{color:#6f5b4c;font-size:1.02rem;line-height:1.65;max-width:470px}
.perks{list-style:none;padding:0;margin:22px 0 0;display:grid;gap:12px}
.perks li{display:flex;gap:12px;align-items:center;font-weight:600;color:var(--ink-2)}
.perks li b{width:36px;height:36px;border-radius:12px;background:#fff;border:1px solid var(--line);display:grid;place-items:center;color:var(--bmu);flex:none;box-shadow:var(--shadow)}
.units{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.units span{background:#fff;border:1px solid var(--line);border-radius:999px;padding:6px 12px;font-size:.76rem;font-weight:700;color:var(--ink-2)}
.auth-card{max-width:460px;margin:0 auto}
.steps-mini{display:flex;gap:6px;margin-bottom:14px}
.steps-mini span{flex:1;height:4px;border-radius:4px;background:var(--line)}
.steps-mini span.on{background:var(--bmu)}
.done-ic{width:84px;height:84px;margin:6px auto 14px;border-radius:50%;display:grid;place-items:center;font-size:2.4rem;color:#fff;background:linear-gradient(135deg,#22c55e,#15803d);box-shadow:0 14px 34px rgba(34,197,94,.35);animation:pop .5s cubic-bezier(.2,1.4,.4,1) both}
@keyframes pop{from{transform:scale(.4);opacity:0}to{transform:none;opacity:1}}
.status-hero{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.status-hero .pos{font-size:1.25rem;font-weight:800;line-height:1.3;margin:4px 0 8px}
.meta{display:inline-flex;align-items:center;gap:6px;font-size:.76rem;font-weight:700;color:var(--ink-2);background:var(--cream);border:1px solid var(--line);border-radius:999px;padding:4px 10px;margin:0 6px 6px 0}
.int-card{border:1px solid #f4d9a9;background:linear-gradient(180deg,#fffaf0,#fff);border-radius:14px;padding:14px 16px;margin-top:12px}
.letter-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 0;border-bottom:1px dashed var(--line)}
.letter-row:last-child{border-bottom:0}
.mini-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px dashed var(--line);cursor:pointer}
.mini-row:last-child{border-bottom:0}
.mini-row .who{flex:1;min-width:0}
.mini-row:hover .nm{color:var(--bmu-d)}
.flex-none{flex:none}
.file-ic{width:42px;height:42px;border-radius:12px;background:#fdecec;color:#dc2626;display:grid;place-items:center;font-size:1.2rem;flex:none}

/* joining form */
.jf-nav{position:sticky;top:64px;display:flex;flex-direction:column;gap:2px}
.jf-nav a{display:flex;align-items:center;gap:8px;padding:.45rem .7rem;border-radius:10px;font-size:.8rem;font-weight:600;color:var(--ink-2)}
.jf-nav a:hover{background:#fff}
.jf-nav a .dot{width:8px;height:8px;border-radius:50%;background:var(--line-2)}
.jf-nav a.ok .dot{background:#16a34a}
.sec-table{width:100%;border-collapse:separate;border-spacing:0;font-size:.82rem}
.sec-table th{background:#fdf6ee;color:#8a6f58;font-size:.68rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding:.55rem .6rem;border-bottom:1px solid var(--line);white-space:nowrap}
.sec-table td{padding:.4rem .4rem;border-bottom:1px solid #f6ece1;vertical-align:middle}
.sec-table td.fix{font-weight:700;color:var(--ink-2);white-space:nowrap;padding-left:.6rem}
.sec-table .form-control{min-width:92px}
.sec-table .form-control[type=date]{min-width:132px}
.sec-table .form-select{min-width:150px}
.sec-table td[data-period]{min-width:110px}
.proof-cell{min-width:150px}
.upl{display:inline-flex;align-items:center;gap:6px;font-size:.76rem;font-weight:700;border-radius:999px;padding:.3rem .7rem;border:1.5px dashed #e8c29b;color:var(--bmu-dd);background:#fffaf4;cursor:pointer;white-space:nowrap}
.upl:hover{background:#fff1e2}
.upl.has{border-style:solid;border-color:#bfe5cc;background:var(--ok-bg);color:var(--ok)}
.upl{position:relative}
.upl input{position:absolute;opacity:0;width:1px;height:1px;overflow:hidden}
.upl:focus-within{outline:3px solid rgba(244,122,31,.45);outline-offset:2px}
.doc-tile{display:flex;align-items:center;gap:12px;border:1.5px dashed #e8c29b;border-radius:14px;padding:12px 14px;background:#fffdfa}
.doc-tile.has{border-style:solid;border-color:#bfe5cc;background:#f6fcf8}
.doc-tile .grow{flex:1;min-width:0}
.doc-tile img.thumb{width:48px;height:48px;object-fit:cover;border-radius:10px;border:1px solid var(--line)}
.sticky-actions{position:sticky;bottom:0;z-index:20;background:rgba(255,248,239,.94);backdrop-filter:blur(8px);border-top:1px solid var(--line);padding:12px 0;margin-top:20px}

/* print sheet */
.sheet{max-width:820px;margin:16px auto 30px;background:#fff;padding:36px 44px;box-shadow:var(--shadow-lg);border-radius:6px;font-family:'Times New Roman',Georgia,serif;color:#000}
.sheet .head{text-align:center;border-bottom:3px double #333;padding-bottom:10px;margin-bottom:14px}
.sheet .head h2{margin:2px 0;letter-spacing:1px;font-family:inherit;font-weight:700;color:#000;font-size:1.5rem}
.sheet .head p{margin:1px 0;font-size:13px}
.sheet .ftitle{text-align:center;font-weight:bold;font-size:16px;border:1px solid #333;padding:6px;margin:12px 0;letter-spacing:.5px}
.sheet .status{text-align:center;font-size:13px;margin-bottom:10px}
.sheet table.info{width:100%;border-collapse:collapse;margin-bottom:14px}
.sheet table.info td{padding:4px 6px;font-size:14px;vertical-align:top}
.sheet table.info td.lbl{width:34%;font-weight:bold}
.sheet table.rows{width:100%;border-collapse:collapse;margin-bottom:16px}
.sheet table.rows th,.sheet table.rows td{border:1px solid #333;padding:5px 7px;font-size:13px;text-align:left}
.sheet table.rows th{background:#f0f0f0}
.sheet h4.sec{border-bottom:1px solid #333;padding-bottom:4px;margin:18px 0 8px;font-size:15px;font-family:inherit;color:#000}
.sheet .photo{float:right;width:110px;height:130px;border:1px solid #333;text-align:center;font-size:11px;padding-top:2px;margin:0 0 10px 12px;overflow:hidden}
.sheet .photo img{max-width:106px;max-height:126px}
.sheet .decl{font-size:13px;margin-top:14px}
.sheet .signrow{display:flex;justify-content:space-between;align-items:flex-end;margin-top:44px;font-size:14px;break-inside:avoid;page-break-inside:avoid}
.print-bar{position:sticky;top:0;z-index:5;max-width:900px;margin:14px auto 0;padding:0 12px}
.print-bar .in{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:rgba(255,255,255,.88);backdrop-filter:blur(10px);border:1px solid var(--line);border-radius:999px;padding:8px 10px;box-shadow:var(--shadow)}
.print-bar .ttl{flex:1;font-weight:800;display:flex;align-items:center;gap:10px;padding-left:4px}
@media(max-width:860px){.sheet{margin:12px 10px 24px;padding:22px 16px;overflow-x:auto}.print-bar .in{border-radius:18px}}
@media print{
  @page{size:A4;margin:12mm}
  body,.public{background:#fff!important}
  .no-print,.print-bar,.pub-foot{display:none!important}
  .sheet{box-shadow:none;margin:0;padding:0;max-width:none;border-radius:0}
  .sheet table.rows th{background:#f0f0f0!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
@media(max-width:576px){.status-hero .pos{font-size:1.05rem}.stat{padding:12px}.stat .ic{width:38px;height:38px;font-size:1.05rem}.stat .v{font-size:1.25rem}}
.sheet table.info.beside{width:calc(100% - 130px)}
/* applicant drawer tabs */
.dtabs{display:flex;gap:4px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:10px}
.dtabs button{border:0;background:none;border-radius:999px;padding:.45rem .95rem;font-size:.82rem;font-weight:700;color:var(--ink-2);display:inline-flex;align-items:center;gap:6px}
.dtabs button:hover{background:var(--cream-2)}
.dtabs button.on{background:var(--grad);color:#fff;box-shadow:0 4px 10px rgba(244,122,31,.3)}
.dtabs .c{font-size:.68rem;background:var(--cream-2);color:var(--bmu-dd);border-radius:999px;padding:.05rem .45rem}
.dtabs button.on .c{background:rgba(255,255,255,.25);color:#fff}
.dtabs .c.dot{width:8px;height:8px;padding:0;background:#dc2626}

/* joining form: take the applicant to the field that needs attention */
.jf-attn{animation:jfAttn 1s ease-in-out 3;border-radius:12px}
@keyframes jfAttn{0%,100%{box-shadow:0 0 0 0 rgba(220,38,38,0)}50%{box-shadow:0 0 0 4px rgba(220,38,38,.35)}}
/* after-joining documents */
.ajd-list{display:flex;flex-direction:column;gap:8px}
.ajd-row{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:#fffdfa}
.ajd-row.ok{background:#f3fbf5;border-color:#cfeedd}
.ajd-ic{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#fff0e3;color:var(--bmu-dd);flex:none}
.ajd-row.ok .ajd-ic{background:#dcf5e5;color:var(--ok)}
.ajd-txt{flex:1;min-width:0}
.ajd-card{border:1px solid var(--line);border-radius:16px;padding:14px;margin-bottom:14px;background:#fff}
/* after-joining printable formats (ajprint.html) */
.aj-tip{max-width:820px;margin:10px auto 0;padding:0 14px;font-size:.8rem;color:var(--ink-2)}
.sheet.aj-doc{font-size:14.5px;line-height:1.55;position:relative;padding-bottom:56px}
.sheet.aj-doc p{margin:0 0 10px}
.sheet .just{text-align:justify}
.sheet .fl{border-bottom:1px dotted #333;padding:0 4px;font-weight:bold}
.sheet .fl.blank{display:inline-block;font-weight:normal}
.sheet .cbx{display:inline-block;width:12px;height:12px;border:1.2px solid #000;vertical-align:-1px;margin-right:2px}
.sheet .wline{border-bottom:1px solid #999;height:26px}
.sheet .aj-sub{text-align:center;font-size:12.5px;margin:-6px 0 12px;font-style:italic}
.sheet .aj-nodate{display:flex;justify-content:space-between;font-size:13.5px;margin-bottom:6px}
.sheet table.aj-det td{padding:2px 6px;font-size:14px}
.sheet table.aj-det td.lbl{width:30%}
.sheet table.aj-det2 td.lbl{width:16%;white-space:nowrap}
.sheet table.aj-det2 td{width:34%}
.sheet table.rows td.ctr,.sheet .ctr{text-align:center}
.sheet .nowrap{white-space:nowrap}
.sheet table.rows tr.tall td{height:34px}
.sheet table.aj-med td{height:30px;width:25%}
.sheet .aj-signs{display:grid;gap:24px;margin:38px 0 8px;text-align:center;font-size:13.5px;break-inside:avoid;page-break-inside:avoid}
.sheet .aj-signs.c1{grid-template-columns:1fr;justify-items:end}
.sheet .aj-signs.c1>div{min-width:240px}
.sheet .aj-signs.c2{grid-template-columns:1fr 1fr}
.sheet .aj-signs.c3{grid-template-columns:1fr 1fr 1fr}
.sheet .aj-signs .sl{border-top:1px solid #000;margin:0 10% 4px}
.sheet .aj-signs>div:empty{visibility:hidden}
.sheet .aj-from{display:flex;justify-content:space-between;align-items:flex-end;margin:22px 0 10px;break-inside:avoid;page-break-inside:avoid}
.sheet .aj-office{border:1px dashed #555;padding:8px 10px;margin-top:16px;font-size:13px;break-inside:avoid;page-break-inside:avoid}
.sheet .aj-office .aj-signs{margin:26px 0 0}
.sheet .aj-verify{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:14px;font-size:13.5px;line-height:1.9;break-inside:avoid;page-break-inside:avoid}
.sheet .aj-verify>div{border:1px solid #333;padding:8px 12px}
.sheet .aj-copy{font-size:13px;margin-top:10px}
.sheet .aj-copy ol,.sheet ol.aj-ol{margin:4px 0 10px;padding-left:22px}
.sheet ol.aj-ol li{margin-bottom:6px;text-align:justify}
.sheet .pb{break-after:page;page-break-after:always;border-top:1px dashed #bbb;margin:22px 0}
.sheet .aj-foot{position:absolute;left:44px;right:44px;bottom:18px;display:flex;justify-content:space-between;gap:10px;font-size:10.5px;color:#555;border-top:1px solid #ccc;padding-top:4px}
.ajd-tools{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.ajd-row .ajd-fmt{white-space:nowrap}
@media screen and (max-width:860px){.sheet .aj-signs.c3,.sheet .aj-verify{grid-template-columns:1fr}.sheet .aj-foot{left:16px;right:16px}}
.sheet table.rows.aj-idx th,.sheet table.rows.aj-idx td{font-size:12px;padding:4px 6px}
@media print{
  .sheet.aj-doc{break-after:page;page-break-after:always;padding-bottom:40px;min-height:270mm}
  .sheet.aj-doc{font-size:13.5px;line-height:1.45}
  .sheet.aj-doc{padding-bottom:26px!important}
  .sheet .aj-signs{margin-top:30px}
  .sheet h4.sec{margin:12px 0 6px}
  .sheet.aj-doc table.rows tr.tall td{height:28px}
  .sheet.aj-doc .head{padding-bottom:6px;margin-bottom:10px}
  .sheet.aj-doc:last-child{break-after:auto;page-break-after:auto}
  .sheet .aj-foot{left:0;right:0;bottom:0}
  .sheet .pb{border:0;margin:0}
  .aj-tip{display:none!important}
}
/* format editing (ajprint.html + Roles & documents) */
.aj-editbar{position:sticky;top:64px;z-index:4;max-width:900px;margin:10px auto 0;padding:8px 10px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}
.aj-editacts{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:8px}
.aj-editacts .small{flex:1;min-width:200px}
.rt-bar{display:flex;align-items:center;gap:2px;flex-wrap:wrap}
.rt-btn{border:0;background:none;width:32px;height:32px;border-radius:8px;color:var(--ink-2);display:inline-grid;place-items:center}
.rt-btn:hover{background:var(--cream-2);color:var(--bmu-dd)}
.rt-sep{width:1px;height:20px;background:var(--line);margin:0 4px}
.rt-sel{width:auto;max-width:210px;margin-left:6px}
.aj-body.aj-editing,.aj-tpl-edit{outline:2px dashed rgba(244,122,31,.55);outline-offset:6px;border-radius:2px;min-height:300px}
.aj-body:focus,.aj-tpl-edit:focus{outline-style:solid}
.aj-flags{display:flex;gap:6px;flex-wrap:wrap;margin:-18px 0 12px}
.aj-flag{font-family:'Plus Jakarta Sans',sans-serif;font-size:.72rem;font-weight:700;border-radius:999px;padding:.2rem .6rem;background:#eef2ff;color:#3730a3}
.aj-flag.copy{background:#fff4e5;color:#9a4b00}
.aj-flag.off{background:#f1f1f1;color:#555}
.aj-tpl-wrap{background:#f6f1ea;border-radius:16px;padding:14px;max-height:62vh;overflow:auto}
.aj-tpl-wrap .sheet{margin:0 auto}
.ajd-row.off{opacity:.62;background:#f7f7f7}
.ajd-row.off .ajd-ic{background:#ececec;color:#777}
.ajd-off{white-space:nowrap}
/* ---------------- Employee 360 ---------------- */
.t-success{color:var(--ok)!important}.t-primary{color:var(--bmu-dd)!important}.t-info{color:var(--info)!important}.t-warning{color:var(--warn)!important}.t-danger{color:var(--bad-2)!important}.t-secondary{color:var(--ink-2)!important}
td.clickable,.clickable{cursor:pointer}
.stat-row{display:flex;gap:10px;flex-wrap:wrap}
.stat-mini{background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px 14px;min-width:120px}
.stat-mini .v{font-size:1.35rem;font-weight:800;line-height:1.2}
.stat-mini .l{font-size:.75rem;color:var(--ink-2)}
.todo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px}
.todo{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);text-decoration:none}
.todo>i{font-size:1.3rem;color:var(--bmu-dd)}
.todo:hover{box-shadow:var(--shadow)}
.todo.warn{border-color:#f1d49a;background:var(--warn-bg)}.todo.warn>i{color:var(--warn)}
.todo.bad{border-color:#f3c4c4;background:var(--bad-bg)}.todo.bad>i{color:var(--bad-2)}
.todo.ok{border-color:#cfeedd;background:var(--ok-bg)}.todo.ok>i{color:var(--ok)}
.e360-head{display:flex;gap:16px;align-items:flex-start;flex-wrap:wrap;padding-bottom:14px;border-bottom:1px solid var(--line)}
.e360-photo{width:72px;height:88px;object-fit:cover;border-radius:12px;border:1px solid var(--line)}
.e360-chain{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:.82rem}
.e360-chain-i{background:var(--cream-2);border-radius:999px;padding:.15rem .6rem}
.e360-chain>.bi{color:var(--ink-2);font-size:.7rem}
.e360-score{display:flex;gap:20px;flex-wrap:wrap;margin:16px 0}
.e360-total{min-width:170px;text-align:center;border:1px solid var(--line);border-radius:16px;padding:14px;background:#fffdfa}
.e360-total .big{font-size:2.6rem;font-weight:800;line-height:1}
.e360-score>.grow{flex:1;min-width:280px}
.e360-parts{width:100%;border-collapse:collapse}
.e360-parts td{padding:5px 6px;border-bottom:1px dashed var(--line);font-size:.85rem;vertical-align:middle}
.e360-bw{display:flex;align-items:center;gap:8px}
.e360-bar{flex:1;height:8px;background:var(--cream-2);border-radius:999px;overflow:hidden;min-width:80px}
.e360-bar span{display:block;height:100%;border-radius:999px;background:var(--bmu)}
.e360-bar span.t-success{background:var(--ok)}.e360-bar span.t-primary{background:var(--bmu)}.e360-bar span.t-info{background:var(--info)}.e360-bar span.t-warning{background:#e59e2d}.e360-bar span.t-danger{background:var(--bad-2)}
.e360-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.e360-card{border:1px solid var(--line);border-radius:14px;padding:12px 14px;background:#fff}
.e360-h{font-weight:800;margin-bottom:6px;color:var(--ink)}
.e360-h .bi{color:var(--bmu-dd)}
.e360-kv{display:grid;grid-template-columns:1fr auto;gap:2px 10px;margin:0;font-size:.83rem}
.e360-kv dt{font-weight:500;color:var(--ink-2)}.e360-kv dd{margin:0;text-align:right}
/* timesheet */
.ts-days{display:flex;flex-direction:column;gap:10px}
.ts-day{border:1px solid var(--line);border-radius:14px;padding:10px 12px;background:#fffdfa}
.ts-day.present{background:#fff}
.ts-dh{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:6px}
.ts-cls{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:6px}
.ts-c{font-size:.75rem;background:var(--info-bg);color:var(--info);border-radius:999px;padding:.15rem .6rem}
.ts-lines{width:100%;border-collapse:separate;border-spacing:0 4px}
.ts-lines td{padding:0 4px 0 0}
/* rating */
.rate-list{display:flex;flex-direction:column;gap:10px}
.rate-row{border:1px solid var(--line);border-radius:12px;padding:10px 12px}
.rate-anchors{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;color:var(--ink-2);margin-top:4px}
.rate-seg{display:inline-flex;border:1.5px solid var(--line);border-radius:999px;overflow:hidden}
.rate-seg button{border:0;background:#fff;width:38px;height:32px;font-weight:700}
.rate-seg button+button{border-left:1px solid var(--line)}
.rate-seg button.on{background:var(--grad);color:#fff}
/* public feedback */
.fb-q{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 0;border-bottom:1px dashed var(--line);flex-wrap:wrap}
.fb-stars{display:inline-flex;gap:2px}
.fb-stars button{border:0;background:none;font-size:1.45rem;color:#d9d2c9;padding:0 2px;line-height:1}
.fb-stars button.on{color:#f59e0b}
table.naac th{white-space:normal;min-width:80px;font-size:.72rem}
@media(max-width:576px){.rate-anchors{grid-template-columns:1fr}.e360-total{width:100%}}

/* ---------- multi-select lists (Employee 360) ---------- */
.table-bmu th.sel, .table-bmu td.sel { width: 34px; padding-right: 0; }
.table-bmu tr.picked > td { background: rgba(122, 28, 40, .06); }
.bulk-bar { position: sticky; top: 0; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  padding: .55rem .9rem; background: #fff7e6; border-bottom: 1px solid #f0d9a8; }
.bulk-bar[hidden] { display: none; }
.bulk-bar .n { font-size: .85rem; margin-right: .25rem; }

/* joining form: payroll values locked for existing employees */
#jfBank .form-control[readonly] { background: #f1ede7; color: #4a4a4a; cursor: not-allowed; box-shadow: none; }
#jfBank .form-select:disabled { background-color: #f1ede7; color: #4a4a4a; }

/* ---------- student grievances (timeline) ---------- */
.grv-tl { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid #f0dcc4; }
.grv-tl li { position: relative; padding: 6px 0 12px 14px; }
.grv-tl li::before { content: ""; position: absolute; left: -21px; top: 10px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid #e8833a; }
.grv-tl li.s::before { border-color: #2f6fd6; }
.grv-tl li.n::before { border-color: #9a9a9a; border-style: dashed; }
.grv-tl .h { font-size: .85rem; }
.grv-tl .h .pill { margin-left: 2px; }
.grv-tl .m { margin-top: 4px; padding: 8px 10px; border-radius: 10px; background: #fff7ee; white-space: pre-wrap; font-size: .9rem; }
.grv-tl li.s .m { background: #eef4ff; }
.grv-tl li.n .m { background: #f3f3f3; font-style: italic; }
.grv-att { display: inline-block; border: 1px solid #f0dcc4; border-radius: 10px; padding: 4px; background: #fff; }
.grv-att img { display: block; max-width: 100%; max-height: 360px; border-radius: 8px; object-fit: contain; }
.grv-att.sm img { max-height: 140px; }
/* feedback cards: staff photo */
.fb-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: 0 0 64px; border: 2px solid #f0dcc4; background: #fff7ee; }
.fb-photo.none { display: flex; align-items: center; justify-content: center; color: #c9a77f; font-size: 1.8rem; }
/* role permissions */
.perm-table .sec-row td{background:var(--cream,#fff8f0);font-size:.72rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-2);padding:.45rem .9rem}
.perm-table .perm-cb{width:1.25rem;height:1.25rem;cursor:pointer}
.perm-table .lv{display:inline-block;min-width:1.35rem;margin:0 1px;padding:.05rem .3rem;border-radius:6px;font-size:.72rem;font-weight:800}
.perm-table .lv-V{background:var(--info-bg,#e7f1fb);color:var(--info,#2563eb)}.perm-table .lv-E{background:var(--ok-bg,#e6f6ec);color:var(--ok,#16a34a)}.perm-table .lv-D{background:var(--bad-bg,#fdecec);color:var(--bad-2,#dc2626)}
[data-roles] .list-group-item.active-role{background:var(--cream,#fff8f0);border-left:4px solid var(--bmu);font-weight:600}
