/* 09-docs-profile.css — Documentation pages (editor + reader), profile pictures, profile links.
   Loaded after the files with a smaller number (later rules win). */

/* ===== Documentation (manage in Settings, read at /docs) ===== */
.doc-slug { font-family: var(--mono); font-size: .68rem; color: var(--subtle); }
.doc-cat { display: inline-block; padding: .1rem .55rem; border-radius: 999px; background: var(--violet-soft); color: var(--violet); font-size: .74rem; font-weight: 600; }
.md-bar { display: flex; gap: 2px; padding: 3px; margin-bottom: .5rem; background: var(--bg); border-radius: 10px; width: max-content; max-width: 100%; flex-wrap: wrap; }
.md-bar button { width: 32px; height: 30px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); display: grid; place-items: center; }
.md-bar button:hover { background: #fff; color: var(--blue); }
.md-area { font-family: var(--mono); font-size: .86rem; line-height: 1.6; min-height: 340px; }
.md-preview { min-height: 340px; padding: 1rem 1.1rem; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.md-help code { display: block; margin-bottom: .3rem; font-size: .78rem; color: var(--text); background: var(--bg); padding: .15rem .45rem; border-radius: 6px; }

.doc-body { font-size: .95rem; line-height: 1.7; color: #2b3445; }
.doc-body h1, .doc-body h2, .doc-body h3 { font-weight: 800; letter-spacing: -.01em; color: var(--text); margin: 1.5rem 0 .6rem; }
.doc-body h2 { font-size: 1.25rem; padding-bottom: .3rem; border-bottom: 1px solid var(--border); }
.doc-body h3 { font-size: 1.05rem; }
.doc-body > :first-child { margin-top: 0; }
.doc-body p { margin: 0 0 .9rem; }
.doc-body ul, .doc-body ol { padding-left: 1.4rem; margin-bottom: .9rem; }
.doc-body li { margin-bottom: .25rem; }
.doc-body code { background: #eef1f6; color: #b3245c; padding: .08rem .35rem; border-radius: 5px; font-size: .84em; }
.doc-body pre { background: #0f172a; color: #e5e9f0; padding: .9rem 1rem; border-radius: 8px; overflow-x: auto; margin-bottom: 1rem; }
.doc-body pre code { background: none; color: inherit; padding: 0; }
.doc-body blockquote { margin: 0 0 1rem; padding: .6rem 1rem; border-left: 3px solid var(--blue); background: var(--blue-soft); border-radius: 0 8px 8px 0; color: #1b3a63; }
.doc-body blockquote p:last-child { margin-bottom: 0; }
.doc-body table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; font-size: .9rem; }
.doc-body th, .doc-body td { border: 1px solid var(--border); padding: .4rem .6rem; }
.doc-body th { background: var(--bg); text-align: left; }
.doc-body a { color: var(--blue); }
.doc-body img { max-width: 100%; border-radius: 8px; }

.docs-hero { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.docs-search { width: 320px; max-width: 100%; }
.docs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.docs-card { padding: .4rem 0 .5rem; overflow: hidden; }
.docs-card-h { display: flex; align-items: center; gap: .5rem; padding: .7rem 1.1rem; font-weight: 800; border-bottom: 1px solid var(--border); }
.docs-card-h i { color: var(--violet); }
.docs-card-h em { margin-left: auto; font-style: normal; font-size: .72rem; font-weight: 700; color: var(--muted); background: var(--bg); border-radius: 999px; padding: .05rem .5rem; }
.docs-row { display: block; padding: .55rem 1.1rem; text-decoration: none; color: var(--text); border-bottom: 1px solid #f0f2f5; }
.docs-row:last-child { border-bottom: 0; }
.docs-row:hover { background: #f5f8ff; color: var(--text); }
.docs-row b { display: block; font-size: .92rem; }
.docs-row small { display: block; color: var(--muted); font-size: .78rem; margin-top: .05rem; }

.docs-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 1rem; align-items: start; }
.docs-side { position: sticky; top: 1rem; max-height: calc(100vh - 2rem); overflow-y: auto; }
.docs-nav { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: .5rem; }
.docs-nav a { display: block; padding: .38rem .65rem; border-radius: 8px; color: #3a3f47; text-decoration: none; font-size: .86rem; }
.docs-nav a:hover { background: #f3f5f8; }
.docs-nav a.on { background: var(--blue-soft); color: var(--blue); font-weight: 600; }
.docs-nav .docs-home { font-weight: 600; margin-bottom: .2rem; }
.docs-nav .docs-home i { margin-right: .35rem; }
.docs-cat { margin: .8rem .65rem .25rem; font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); }
.docs-article { padding: 1.5rem 1.8rem; min-width: 0; }
.docs-article h1 { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; }
.docs-lead { font-size: 1.02rem; color: var(--muted); margin: .2rem 0 .5rem; }
.docs-meta { font-size: .78rem; color: var(--subtle); margin-bottom: 1.2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.docs-pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.docs-pager a { display: block; padding: .6rem .9rem; border: 1px solid var(--border); border-radius: 10px; text-decoration: none; color: var(--text); min-width: 180px; }
.docs-pager a:hover { border-color: var(--blue); }
.docs-pager small { display: block; color: var(--subtle); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; }
.docs-pager .next { text-align: right; margin-left: auto; }
@media (max-width: 991.98px) { .docs-layout { grid-template-columns: minmax(0, 1fr); } .docs-side { position: static; max-height: none; } .docs-article { padding: 1.1rem; } }
@media print { .docs-side, .docs-pager, .docs-hero .btn { display: none !important; } .docs-layout { display: block; } }

/* Documentation pages follow the same compact header and cards as the list pages */
.content:has(.docs-page) .page-head { margin-bottom: .6rem !important; gap: .5rem !important; align-items: center !important; }
.content:has(.docs-page) .page-head .crumbs { display: none; }
.content:has(.docs-page) .page-head > div:first-child > .text-muted { display: none; }
.content:has(.docs-page) .page-head h1 { font-size: 1.35rem; }
.content:has(.docs-page) .page-head .dp-icon { width: 34px !important; height: 34px !important; font-size: 1rem !important; border-radius: 10px; }
.content:has(.docs-page) .page-head .btn-grad { padding: .35rem .9rem; font-size: .88rem; }
.content:has(.docs-page) .rep-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 520px; }
.docs-card, .docs-article { border-radius: 14px; }
.docs-nav { border-radius: 14px; }
.docs-card-h { padding: .6rem 1rem; font-size: .92rem; }
.docs-row { padding: .5rem 1rem; }
.docs-grid { gap: .75rem; }
.docs-layout { gap: .75rem; }
.docs-article { padding: 1.25rem 1.5rem; }
.docs-article h1 { font-size: 1.5rem; }

/* ===== Documentation article: three columns — tree | article | on this page ===== */
.docs-frappe { display: grid; grid-template-columns: 250px minmax(0, 1fr) 210px; gap: 2.2rem; align-items: start; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 0; overflow: hidden; }
.df-nav { position: sticky; top: 0; align-self: stretch; max-height: calc(100vh - 70px); overflow-y: auto; padding: 1rem .6rem 1.5rem; border-right: 1px solid var(--border); background: #fcfcfd; }
.df-home { display: flex; align-items: center; gap: .5rem; padding: .4rem .6rem; margin-bottom: .5rem; font-weight: 700; color: var(--text); text-decoration: none; border-radius: 8px; }
.df-home:hover { background: #f1f3f5; color: var(--text); }
.df-cat { display: flex; align-items: center; gap: .45rem; width: 100%; padding: .4rem .6rem; border: 0; background: none; border-radius: 8px; color: #2b3138; font-size: .9rem; font-weight: 500; text-align: left; }
.df-cat:hover { background: #f1f3f5; }
.df-cat .bi { font-size: .7rem; color: #8a8f98; transition: transform .15s; }
.df-group.open > .df-cat .bi { transform: rotate(90deg); }
.df-items { display: none; margin: .1rem 0 .4rem .85rem; padding-left: .5rem; border-left: 1px solid var(--border); }
.df-group.open > .df-items { display: block; }
.df-items a { display: block; padding: .36rem .65rem; border-radius: 8px; color: #3a3f47; text-decoration: none; font-size: .87rem; }
.df-items a:hover { background: #f1f3f5; }
.df-items a.on { background: #eef0f3; color: #000; font-weight: 600; }

.df-main { min-width: 0; max-width: 780px; width: 100%; margin: 0 auto; padding: 1.4rem 0 2.5rem; }
.df-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.df-crumb { color: #4b525c; font-size: .95rem; }
.df-tools { display: flex; gap: .15rem; }
.df-tools a, .df-tools button { width: 32px; height: 32px; display: grid; place-items: center; border: 0; background: none; border-radius: 8px; color: #6b727c; text-decoration: none; }
.df-tools a:hover, .df-tools button:hover { background: #f1f3f5; color: var(--text); }
.df-tools button.done { color: var(--green); }
.df-main h1 { font-size: 2rem; font-weight: 700; letter-spacing: -.02em; margin: 0 0 .3rem; }
.df-meta { font-size: .78rem; color: var(--subtle); padding-bottom: 1.1rem; margin-bottom: 1.3rem; border-bottom: 1px solid var(--border); }
.df-lead { font-size: 1.05rem; font-weight: 600; color: #1f2933; margin: 0 0 .8rem; }
.df-main .doc-body { font-size: 1rem; line-height: 1.75; color: #3b424b; }
.df-main .doc-body h2 { font-size: 1.45rem; border-bottom: 0; padding-bottom: 0; margin: 2rem 0 .7rem; scroll-margin-top: 80px; }
.df-main .doc-body h3 { scroll-margin-top: 80px; }
.df-main .doc-body ol { list-style: none; counter-reset: dfo; padding-left: 0; }
.df-main .doc-body ol > li { counter-increment: dfo; position: relative; padding-left: 2rem; margin-bottom: .35rem; }
.df-main .doc-body ol > li::before { content: counter(dfo) "."; position: absolute; left: .3rem; color: #9aa0a8; }
.df-main .doc-body blockquote { background: none; border-left: 2px solid #c9ced6; color: #2b3138; font-weight: 600; border-radius: 0; }
.df-main .docs-pager { margin-top: 2.5rem; }

.df-toc { position: sticky; top: 1rem; align-self: start; padding: 1.4rem 1rem 1rem 0; max-height: calc(100vh - 70px); overflow-y: auto; }
.df-toc-h { font-weight: 700; margin-bottom: .6rem; }
.df-toc nav { border-left: 1px solid var(--border); }
.df-toc a { display: block; margin-left: -1px; padding: .3rem .8rem; border-left: 2px solid transparent; color: #6b727c; text-decoration: none; font-size: .9rem; }
.df-toc a.sub { padding-left: 1.5rem; font-size: .85rem; }
.df-toc a:hover { color: var(--text); }
.df-toc a.on { color: #000; border-left-color: #000; }

@media (max-width: 1199.98px) { .docs-frappe { grid-template-columns: 240px minmax(0, 1fr); } .df-toc { display: none; } .df-main { padding-right: 1.5rem; } }
@media (max-width: 991.98px) { .docs-frappe { grid-template-columns: minmax(0, 1fr); gap: 0; } .df-nav { position: static; max-height: none; border-right: 0; border-bottom: 1px solid var(--border); } .df-main { padding: 1.2rem 1.1rem 2rem; } }
.md-note { align-self: center; margin-left: .5rem; font-size: .78rem; color: var(--muted); }
.md-note.err { color: var(--red); }
.doc-body img { display: block; max-width: 100%; height: auto; margin: 1rem 0 1.2rem; border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 6px 18px -12px rgba(15, 23, 42, .35); }

/* Profile pictures */
.av-img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.avatar, .av, .cust-av { overflow: hidden; }
.av-big { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; flex: none; background: var(--blue-soft); color: var(--blue); font-size: 2rem; font-weight: 800; border: 1px solid var(--border); }
.av-big img { width: 100%; height: 100%; object-fit: cover; }
.av-big img[hidden] { display: none; }

/* Profile entry points */
.sp-me { display: flex; align-items: center; gap: .6rem; min-width: 0; flex: 1; padding: .2rem .3rem; margin: -.2rem -.3rem; border-radius: 8px; color: inherit; text-decoration: none; }
.sp-me:hover { background: #f1f4f8; color: inherit; }
.dm-user { display: flex; align-items: center; gap: .6rem; padding: .5rem 1rem .25rem; min-width: 220px; }
.dm-user .avatar { width: 36px; height: 36px; flex: none; }

/* Active menu item: no marker dot, the tinted background is enough */
.sp-item.active::before { content: none !important; display: none !important; }
.sp-item { padding-left: .75rem; }

/* Top bar: "Test data" buttons (development only) */
.seed-btns { align-items: center; gap: 2px; padding: 3px; border: 1px dashed var(--border-strong); border-radius: 10px; background: #fff; }
.seed-label { font-size: .72rem; font-weight: 600; color: var(--muted); padding: 0 .45rem; display: inline-flex; align-items: center; gap: .3rem; }
.seed-btn { border: 0; border-radius: 7px; padding: .22rem .65rem; font-size: .76rem; font-weight: 600; background: var(--bg); color: var(--text); }
.seed-btn:hover { background: var(--blue-soft); color: var(--blue); }
.seed-btn.large:hover { background: var(--violet-soft); color: var(--violet); }
.seed-btn.remove { padding: .22rem .5rem; color: var(--muted); }
.seed-btn.remove:hover { background: var(--red-soft); color: var(--red); }
.seed-btns form.is-busy .seed-btn { opacity: .6; pointer-events: none; }
.seed-btn.xl:hover { background: var(--red-soft); color: var(--red); }
.seed-bar { width: 90px; height: 6px; border-radius: 3px; background: var(--bg); overflow: hidden; margin: 0 .3rem; }
.seed-bar i { display: block; height: 100%; background: var(--blue); transition: width .4s; }
.seed-pct { font-size: .72rem; font-weight: 600; color: var(--muted); padding-right: .45rem; white-space: nowrap; }

/* "Preparing your file…" loader for Excel / CSV exports (public/js/downloads.js) */
.dl-loader { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; background: rgba(15, 23, 42, .25); backdrop-filter: blur(2px); }
.dl-loader[hidden] { display: none; }
.dl-card { display: flex; align-items: center; gap: .9rem; max-width: 92vw; padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 20px 50px -20px rgba(15, 23, 42, .5); }
.dl-card b { display: block; font-size: .95rem; }
.dl-card small { display: block; color: var(--muted); font-size: .78rem; }
.dl-hide { margin-left: .5rem; border: 0; border-radius: 8px; padding: .3rem .7rem; background: var(--bg); color: var(--muted); font-size: .8rem; font-weight: 600; }
.dl-hide:hover { background: #e6e9ee; color: var(--text); }

/* Manpower requisition form: the positions table (roadmap 2.14a) — one-line headers, tidy rows, a warning row that stays readable */
.mrf-table > :not(caption) > * > * { padding: .45rem .5rem; }
.mrf-table thead th { font-size: .72rem; letter-spacing: .04em; white-space: nowrap; vertical-align: middle; }
.mrf-table tbody td { vertical-align: middle; }
.mrf-table tbody tr + tr td { border-top: 1px solid var(--line, rgba(0, 0, 0, .06)); }
.mrf-table tbody tr.table-warning > * { background: #fff6e0; box-shadow: none; }
.mrf-table .form-control-sm, .mrf-table .form-select-sm { min-height: 36px; }

/* Manpower requisition page: positions as cards with a capacity bar (roadmap 2.14a) */
.mrf-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .6rem; }
.mrf-stat { display: flex; flex-direction: column; padding: .65rem .85rem; border-radius: 14px; background: var(--bg, #f4f6f9); border: 1px solid rgba(15, 23, 42, .05); }
.mrf-stat .n { font-size: 1.55rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.mrf-stat .l { font-size: .72rem; color: var(--muted, #6b7280); text-transform: uppercase; letter-spacing: .04em; margin-top: .15rem; }
.mrf-stat.main { background: linear-gradient(135deg, #1877f2, #5aa9ff); border-color: transparent; color: #fff; }
.mrf-stat.main .l { color: rgba(255, 255, 255, .85); }
.mrf-pos { display: flex; gap: .9rem; align-items: stretch; padding: .9rem 1rem; margin-bottom: .6rem; border-radius: 16px; background: #fff; border: 1px solid rgba(15, 23, 42, .07); box-shadow: 0 1px 2px rgba(15, 23, 42, .04); transition: box-shadow .15s, transform .15s; }
.mrf-pos:hover { box-shadow: 0 8px 22px -12px rgba(15, 23, 42, .25); transform: translateY(-1px); }
.mrf-pos.is-over { border-color: #f3c76b; background: linear-gradient(180deg, #fffaf0, #fff); }
.mrf-av { flex: 0 0 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-weight: 700; font-size: 1.15rem; }
.mrf-body { flex: 1 1 auto; min-width: 0; }
.mrf-title { font-weight: 650; font-size: 1.02rem; }
.mrf-chip { display: inline-flex; align-items: center; gap: .3rem; padding: .12rem .55rem; border-radius: 999px; background: var(--bg, #f1f3f6); font-size: .74rem; color: var(--muted, #555); text-decoration: none; }
.mrf-chip.link { background: #e6f4e2; color: #2e8b1a; font-weight: 600; }
.mrf-bar { position: relative; display: flex; height: 10px; border-radius: 999px; background: #eceff4; overflow: visible; }
.mrf-bar .ex { background: #1877f2; border-radius: 999px 0 0 999px; }
.mrf-bar .rq { background: repeating-linear-gradient(45deg, #2fbf71, #2fbf71 6px, #55d68e 6px, #55d68e 12px); border-radius: 0 999px 999px 0; }
.mrf-bar .ex:last-of-type { border-radius: 999px; }
.mrf-pos.is-over .mrf-bar .rq { background: repeating-linear-gradient(45deg, #f59e0b, #f59e0b 6px, #fbbf24 6px, #fbbf24 12px); }
.mrf-bar .tick { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: #111827; border-radius: 2px; }
.mrf-legend { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin-top: .45rem; font-size: .76rem; color: var(--muted, #6b7280); }
.mrf-legend .d { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: .35rem; }
.mrf-legend .d.ex { background: #1877f2; } .mrf-legend .d.rq { background: #2fbf71; }
.mrf-side { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: .5rem; }
.mrf-req { font-size: 2rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; color: #111827; }
.mrf-req .x { font-size: 1rem; font-weight: 500; color: #9aa3b2; margin-right: .1rem; }
@media (max-width: 575px) { .mrf-pos { flex-wrap: wrap; } .mrf-side { flex-direction: row; width: 100%; align-items: center; justify-content: space-between; } }

/* Recruitment pages: cards in a column take their own height (the base .panel fills its column, which stretched the last card) */
.fit-cards > .panel, .fit-cards > .glass.panel { height: auto; }

/* Manpower requisition form (roadmap 2.14a): hero + step chips, section headers, option cards, segmented priority, live summary */
.mrf-hero { position: relative; overflow: hidden; padding: 1.1rem 1.4rem 1rem; border-radius: 22px; color: #fff; background: linear-gradient(120deg, #5b3df5 0%, #1877f2 55%, #20b8d6 100%); box-shadow: 0 14px 34px -18px rgba(24, 119, 242, .7); }
.mrf-hero-bg span { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.mrf-hero-bg span:nth-child(1) { width: 260px; height: 260px; right: -60px; top: -120px; }
.mrf-hero-bg span:nth-child(2) { width: 150px; height: 150px; right: 160px; bottom: -90px; background: rgba(255, 255, 255, .08); }
.mrf-hero > * { position: relative; }
.mrf-crumb a { color: rgba(255, 255, 255, .85); text-decoration: none; font-size: .82rem; }
.mrf-crumb a:hover { color: #fff; }
.mrf-hero-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; background: rgba(255, 255, 255, .2); backdrop-filter: blur(6px); }
.mrf-hero-title { font-size: 1.6rem; font-weight: 750; margin: 0; letter-spacing: -.01em; }
.mrf-hero-sub { color: rgba(255, 255, 255, .88); font-size: .9rem; }
.mrf-steps { display: flex; flex-wrap: wrap; gap: .4rem; }
.mrf-steps a { display: inline-flex; align-items: center; gap: .4rem; padding: .32rem .8rem; border-radius: 999px; font-size: .82rem; font-weight: 600; color: rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .14); text-decoration: none; transition: background .15s, color .15s; }
.mrf-steps a:hover { background: rgba(255, 255, 255, .26); }
.mrf-steps a.on { background: #fff; color: #1d4ed8; box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .35); }
.mrf-sec { scroll-margin-top: 90px; }
.mrf-sec-head { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.1rem; }
.mrf-sec-head .ic { flex: 0 0 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 1.2rem; color: var(--c); background: var(--b); }
.mrf-sec-head p { margin: .1rem 0 0; font-size: .8rem; color: var(--muted, #6b7280); }
.opt-input { position: absolute; opacity: 0; pointer-events: none; }
.opt-card { position: relative; display: flex; align-items: center; gap: .85rem; height: 100%; padding: .9rem 1rem; border-radius: 16px; border: 1.5px solid rgba(15, 23, 42, .1); background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s, transform .15s; }
.opt-card:hover { border-color: #9bbcf7; transform: translateY(-1px); }
.opt-card .ic { flex: 0 0 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 1.2rem; background: #eef2f7; color: #64748b; }
.opt-card b { display: block; font-size: .98rem; }
.opt-card small { display: block; color: var(--muted, #6b7280); font-size: .78rem; line-height: 1.3; }
.opt-card .tick { position: absolute; right: .8rem; top: .7rem; color: #1877f2; opacity: 0; transform: scale(.6); transition: .15s; }
.opt-input:checked + .opt-card { border-color: #1877f2; background: linear-gradient(180deg, #f2f8ff, #fff); box-shadow: 0 8px 22px -14px rgba(24, 119, 242, .8); }
.opt-input:checked + .opt-card .ic { background: #1877f2; color: #fff; }
.opt-input:checked + .opt-card .tick { opacity: 1; transform: none; }
.opt-input:focus-visible + .opt-card { outline: 3px solid rgba(24, 119, 242, .35); outline-offset: 2px; }
.seg-pill { display: flex; padding: 3px; border-radius: 999px; background: #eceff4; }
.seg-pill input { position: absolute; opacity: 0; pointer-events: none; }
.seg-pill label { flex: 1; text-align: center; margin: 0; padding: .42rem .6rem; border-radius: 999px; font-size: .86rem; font-weight: 600; color: #64748b; cursor: pointer; transition: .15s; white-space: nowrap; }
.seg-pill input:checked + label { background: #fff; color: #111827; box-shadow: 0 2px 8px -2px rgba(15, 23, 42, .25); }
.seg-pill input:checked + label.urgent { background: #ef4444; color: #fff; }
.seg-pill input:focus-visible + label { outline: 3px solid rgba(24, 119, 242, .35); }
.mrf-live { position: sticky; top: 86px; padding: 1.1rem; border-radius: 20px; }
.mrf-live-top { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border-radius: 16px; color: #fff; background: linear-gradient(135deg, #1877f2, #5aa9ff); }
.mrf-live-top .n { font-size: 2.6rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.mrf-live-top .l { font-size: .85rem; line-height: 1.25; font-weight: 600; }
.mrf-live-top small { display: block; font-weight: 400; opacity: .85; font-size: .74rem; }
.mrf-live-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; margin: .7rem 0; text-align: center; }
.mrf-live-grid div { padding: .45rem .2rem; border-radius: 12px; background: var(--bg, #f4f6f9); }
.mrf-live-grid b { display: block; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.mrf-live-grid span { font-size: .66rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted, #6b7280); }
.mrf-live-warn { padding: .5rem .7rem; margin-bottom: .7rem; border-radius: 12px; background: #fff6e0; color: #92600a; font-size: .78rem; border: 1px solid #f3d08a; }
.mrf-live-chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .9rem; }
.mrf-live-chips #livePri { background: #fee2e2; color: #b91c1c; font-weight: 600; }
.mrf-live-chips #livePolice { background: #e6f4e2; color: #2e8b1a; font-weight: 600; }
.mrf-live-meter { height: 6px; border-radius: 99px; background: #e5e9f0; overflow: hidden; margin-bottom: .7rem; }
.mrf-live-meter i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #2fbf71, #20b8d6); transition: width .3s; }
.mrf-live-list { list-style: none; margin: 0 0 1rem; padding: 0; font-size: .82rem; color: var(--muted, #6b7280); }
.mrf-live-list li { display: flex; align-items: center; gap: .5rem; padding: .22rem 0; transition: color .2s; }
.mrf-live-list li.ok { color: #1f2937; } .mrf-live-list li.ok i { color: #2fbf71; }
@media (max-width: 1199px) { .mrf-live { position: static; } }

/* Job opening page (roadmap 2.14): green hero with facts, countdown and actions; pipeline of stages; tick lists */
.mrf-hero.green { background: linear-gradient(120deg, #0f9d74 0%, #18a999 50%, #1c8fd1 100%); box-shadow: 0 14px 34px -18px rgba(15, 157, 116, .75); }
.hero-status { padding: .2rem .7rem; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; background: rgba(255, 255, 255, .22); }
.hero-status.open { background: #fff; color: #0f9d74; } .hero-status.cancelled { background: rgba(0, 0, 0, .25); }
.hero-facts { display: flex; flex-wrap: wrap; gap: .4rem; }
.hero-facts span { display: inline-flex; align-items: center; gap: .4rem; padding: .22rem .7rem; border-radius: 999px; font-size: .8rem; background: rgba(255, 255, 255, .17); }
.hero-count { flex: 0 0 auto; min-width: 150px; text-align: center; padding: .6rem .9rem; border-radius: 16px; background: rgba(255, 255, 255, .95); color: #0f172a; }
.hero-count small { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: #64748b; }
.hero-count b { display: block; font-size: 1.05rem; }
.hero-count span { display: inline-block; margin-top: .25rem; padding: .08rem .55rem; border-radius: 99px; font-size: .74rem; font-weight: 700; background: #dcfce7; color: #15803d; }
.hero-count.warn span { background: #fef3c7; color: #b45309; } .hero-count.danger span { background: #fee2e2; color: #b91c1c; } .hero-count.muted span { background: #e5e7eb; color: #4b5563; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.hero-actions form { margin: 0; }
.hero-btn { display: inline-flex; align-items: center; gap: .4rem; padding: .42rem .85rem; border: 0; border-radius: 999px; font-size: .84rem; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .18); text-decoration: none; transition: background .15s, transform .15s; }
.hero-btn:hover { background: rgba(255, 255, 255, .32); color: #fff; transform: translateY(-1px); }
.hero-btn.primary { background: #fff; color: #0f9d74; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4); } .hero-btn.primary:hover { background: #f0fdf9; color: #0b7c5b; }
.hero-btn.danger { background: rgba(190, 18, 60, .35); } .hero-btn.danger:hover { background: rgba(190, 18, 60, .6); }
.pipe { list-style: none; margin: 0; padding: .3rem 0 .6rem; display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x proximity; }
.pipe li { position: relative; flex: 1 0 118px; min-width: 118px; text-align: center; scroll-snap-align: start; }
.pipe li::before { content: ''; position: absolute; top: 19px; left: -50%; width: 100%; height: 3px; background: #e2e8f0; z-index: 0; }
.pipe li:first-child::before { display: none; }
.pipe li.has::before { background: linear-gradient(90deg, #cbd5e1, #34d399); }
.pipe .node { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: 0 .35rem; color: inherit; text-decoration: none; }
.pipe .dot { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .85rem; background: #fff; color: #64748b; border: 2px solid #e2e8f0; transition: .15s; }
.pipe a.node:hover .dot { border-color: #18a999; color: #0f9d74; transform: translateY(-2px); box-shadow: 0 8px 16px -8px rgba(15, 157, 116, .6); }
/* a filled circle keeps its white number on hover (the dark green made it vanish on the green) */
.pipe li.has a.node:hover .dot, .pipe li.done a.node:hover .dot, .pipe li.cur a.node:hover .dot, .pipe li.rej a.node:hover .dot { color: #fff; border-color: transparent; }
.pipe li.has .dot { background: linear-gradient(135deg, #0f9d74, #18a999); color: #fff; border-color: transparent; }
.pipe .name { font-size: .74rem; line-height: 1.2; font-weight: 600; max-width: 110px; }
.pipe .cnt { position: absolute; top: -6px; right: calc(50% - 30px); min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; display: grid; place-items: center; font-size: .7rem; font-weight: 700; color: #fff; background: #ef4444; border: 2px solid #fff; }
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.tick-list li { position: relative; padding: .45rem .75rem .45rem 2.1rem; border-radius: 12px; background: var(--bg, #f4f6f9); font-size: .9rem; }
.tick-list li::before { content: '\F26A'; font-family: 'bootstrap-icons'; position: absolute; left: .7rem; top: .42rem; color: var(--c, #1877f2); }
.link-box { display: flex; gap: .4rem; margin-bottom: .5rem; }
.link-box input { flex: 1; min-width: 0; padding: .35rem .6rem; border: 1px solid rgba(15, 23, 42, .12); border-radius: 10px; font-size: .78rem; background: #f8fafc; color: #475569; }
.pipe { -webkit-mask-image: linear-gradient(90deg, #000 94%, transparent); mask-image: linear-gradient(90deg, #000 94%, transparent); }
.stage-opt { display: flex; align-items: flex-start; gap: .55rem; padding: .5rem .7rem; margin: 0 0 .35rem; border-radius: 12px; background: var(--bg, #f4f6f9); border: 1px solid transparent; transition: .15s; }
.stage-opt:hover { border-color: #c4b5fd; }
.stage-opt .form-check-input { margin: .2rem 0 0; float: none; flex: 0 0 auto; }
.stage-opt:has(input:checked) { background: #f5f0ff; border-color: #d8c9ff; }
.stage-opt:not(:has(input:checked)) .form-check-label { opacity: .55; text-decoration: line-through; }
.save-bar { position: sticky; bottom: 12px; z-index: 5; display: flex; align-items: center; gap: .5rem; padding: .6rem .8rem; margin-top: .5rem; border-radius: 16px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border: 1px solid rgba(15, 23, 42, .08); box-shadow: 0 14px 30px -16px rgba(15, 23, 42, .35); }
/* Job opening page: the editor's lists shown as tick rows */
.rich-tick ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.rich-tick li { position: relative; padding: .45rem .75rem .45rem 2.1rem; border-radius: 12px; background: var(--bg, #f4f6f9); font-size: .9rem; }
.rich-tick li::before { content: '\F26A'; font-family: 'bootstrap-icons'; position: absolute; left: .7rem; top: .42rem; color: var(--c, #1877f2); }
.rich-tick ol { padding-left: 1.3rem; } .rich-tick p:last-child { margin-bottom: 0; }

/* Application details page (roadmap 2.14b): candidate hero, progress, timeline, result cards, stars */
.mrf-hero.cand { background: linear-gradient(120deg, #4338ca 0%, #2563eb 55%, #0ea5e9 100%); }
.cand-av { flex: 0 0 74px; height: 74px; border-radius: 24px; display: grid; place-items: center; font-size: 1.7rem; font-weight: 800; color: #fff; background: hsl(var(--h, 220) 70% 45%); border: 3px solid rgba(255, 255, 255, .55); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
.pipe li.done::before { background: #34d399; } .pipe li.cur::before { background: linear-gradient(90deg, #34d399, #3b82f6); } .pipe li.rej::before { background: linear-gradient(90deg, #34d399, #ef4444); }
.pipe li.done .dot { background: #34d399; color: #fff; border-color: transparent; }
.pipe li.cur .dot { background: #2563eb; color: #fff; border-color: #bfdbfe; box-shadow: 0 0 0 5px rgba(37, 99, 235, .18); }
.pipe li.rej .dot { background: #ef4444; color: #fff; border-color: #fecaca; box-shadow: 0 0 0 5px rgba(239, 68, 68, .18); }
.tl { list-style: none; margin: 0; padding: 0 0 0 .4rem; border-left: 2px solid #e2e8f0; }
.tl li { position: relative; padding: 0 0 1rem 1.2rem; }
.tl li:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: -.42rem; top: .3rem; width: 12px; height: 12px; border-radius: 50%; background: #2563eb; border: 3px solid #dbeafe; margin-left: -1px; }
.res-card { height: 100%; padding: .8rem .9rem; border-radius: 14px; border: 1px solid rgba(15, 23, 42, .08); background: #fff; }
.res-card.pass { border-left: 4px solid #2fbf71; } .res-card.fail { border-left: 4px solid #ef4444; }
.res-score { font-size: 1.6rem; font-weight: 750; line-height: 1.1; font-variant-numeric: tabular-nums; } .res-score small { font-size: .8rem; font-weight: 500; color: #94a3b8; }
.res-bar { height: 6px; border-radius: 99px; background: #e5e9f0; margin-top: .35rem; overflow: hidden; } .res-bar i { display: block; height: 100%; background: linear-gradient(90deg, #2563eb, #20b8d6); }
.res-card.pass .res-bar i { background: linear-gradient(90deg, #2fbf71, #55d68e); } .res-card.fail .res-bar i { background: #ef4444; }
.stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; align-items: center; }
.stars input { position: absolute; opacity: 0; pointer-events: none; }
.stars label { font-size: 1.5rem; line-height: 1; color: #d1d5db; cursor: pointer; padding: 0 .1rem; transition: color .12s; }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: #f59e0b; }
.stars input:focus-visible + label { outline: 2px solid #2563eb; border-radius: 4px; }

/* Test scoresheets (roadmap 2.14c): compact inputs and dropdowns in a wide table; the global form style made them 48px tall with no dropdown arrow */
.sheet-table .form-control-sm, .sheet-table .form-select-sm { min-height: 34px; padding: .25rem .55rem; font-size: .86rem; line-height: 1.4; border-radius: 8px; }
.sheet-table .form-select-sm { padding-right: 1.7rem; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23596270' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right .55rem center; background-size: 12px 10px; }
.sheet-table .status-pill { margin-top: 3px; }

/* Test settings card (roadmap 2.14c): a full-width row under the sheet, with a live BMI gauge */
.set-head { display: flex; align-items: center; gap: .85rem; flex-wrap: wrap; }
.set-ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: #fff; font-size: 1.3rem; background: linear-gradient(135deg, #6366f1, #8b5cf6); box-shadow: 0 6px 14px rgba(99, 102, 241, .3); flex: none; }
.set-tile { height: 100%; padding: 1rem 1.1rem; border-radius: 14px; border: 1px solid var(--line, rgba(0, 0, 0, .08)); background: rgba(255, 255, 255, .55); }
.set-title { font-weight: 700; font-size: .92rem; }
.set-num { width: 84px; }
.bmi-gauge { position: relative; display: flex; height: 16px; border-radius: 999px; background: #e9edf3; margin-top: .4rem; }
.bmi-gauge > i { display: block; height: 100%; transition: width .2s; }
.bmi-gauge > i:first-child { border-radius: 999px 0 0 999px; } .bmi-gauge > i:nth-child(3) { border-radius: 0 999px 999px 0; }
.z-low { background: #7dd3fc; } .z-ok { background: #34d399; } .z-high { background: #fbbf24; }
.bmi-dot { position: absolute; top: -4px; width: 10px; height: 24px; border-radius: 5px; background: #1b2540; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); }
.bmi-dot.static { position: static; display: inline-block; width: 8px; height: 14px; vertical-align: middle; border-width: 1px; }
.bmi-scale { display: flex; justify-content: space-between; margin-top: 8px; font-size: .72rem; color: var(--muted, #7a869a); }
.bmi-legend { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin-top: .6rem; color: var(--muted, #7a869a); }
.bmi-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; vertical-align: -1px; margin-right: 4px; }
.set-tile .form-switch .form-check-label { margin-left: .45rem; font-weight: 600; }
.set-tile .form-control-sm { min-height: 34px; padding: .25rem .55rem; font-size: .86rem; line-height: 1.4; border-radius: 8px; }
.bmi-gauge { touch-action: none; }
.bmi-handle { position: absolute; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; padding: 0; border: 0; background: transparent; cursor: ew-resize; touch-action: none; z-index: 2; }
.bmi-handle span { display: block; width: 20px; height: 20px; margin: 3px; border-radius: 50%; background: #fff; border: 3px solid #059669; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); transition: transform .12s; }
.bmi-handle:hover span, .bmi-handle:focus-visible span, .bmi-handle.drag span { transform: scale(1.18); }
.bmi-handle:focus-visible { outline: none; } .bmi-handle:focus-visible span { box-shadow: 0 0 0 4px rgba(5, 150, 105, .3); }
.bmi-gauge { margin-top: 2rem; }
.bmi-gauge .z-low, .bmi-gauge .z-high { opacity: .4; }
.bmi-gauge .z-ok { position: relative; z-index: 1; box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(16, 185, 129, .55), 0 4px 12px rgba(16, 185, 129, .45); }
.bmi-range { position: absolute; top: -30px; transform: translateX(-50%); padding: 2px 12px; border-radius: 999px; background: #059669; color: #fff; font: 700 .78rem/1.5 inherit; font-style: normal; white-space: nowrap; box-shadow: 0 2px 8px rgba(5, 150, 105, .4); pointer-events: none; z-index: 3; }
.bmi-range::after { content: ""; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; border: 5px solid transparent; border-bottom: 0; border-top-color: #059669; }

/* Written test settings: one card per part with a live pass-mark bar */
.parts-total { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.6rem; padding: .8rem 1rem; border-radius: 12px; background: linear-gradient(135deg, rgba(99, 102, 241, .1), rgba(13, 148, 136, .1)); }
.parts-total strong { display: block; font-size: 1.5rem; line-height: 1.1; }
.parts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .85rem; }
.part-card { --tone: #6366f1; position: relative; padding: .9rem 1rem 1rem; border-radius: 14px; background: #fff; border: 1px solid var(--line, rgba(0, 0, 0, .08)); border-top: 4px solid var(--tone); box-shadow: 0 6px 16px -10px rgba(15, 23, 42, .25); transition: .15s; }
.part-card:hover { transform: translateY(-2px); }
.part-card.ghost { border-style: dashed; border-top-style: dashed; background: rgba(255, 255, 255, .45); box-shadow: none; opacity: .85; }
.part-top { display: flex; align-items: center; gap: .55rem; }
.part-no { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .8rem; color: #fff; background: var(--tone); }
.part-name { flex: 1; min-width: 0; border: 0; border-bottom: 1px dashed transparent; background: transparent; font-weight: 700; padding: .1rem 0; }
.part-name:focus { outline: none; border-bottom-color: var(--tone); }
.part-bar { position: relative; height: 18px; margin-top: .7rem; border-radius: 999px; background: #eef1f6; overflow: hidden; }
.part-bar i { display: block; height: 100%; border-radius: 999px; background: var(--tone); opacity: .85; transition: width .2s; }
.part-bar b { position: absolute; inset: 0; display: grid; place-items: center; font-size: .68rem; font-weight: 700; color: #1b2540; }

/* Compact settings card (written / practical / driving): less height */
.set-card.compact { padding: .75rem 1rem; }
.set-ico.sm { width: 34px; height: 34px; border-radius: 10px; font-size: 1rem; box-shadow: none; }
.set-card.compact .parts-total { display: flex; gap: .4rem; padding: 0; background: none; }
.set-card.compact .parts-total span { padding: .2rem .65rem; border-radius: 999px; background: rgba(99, 102, 241, .1); font-size: .8rem; white-space: nowrap; }
.set-card.compact .parts-total strong { display: inline; font-size: .95rem; margin-left: .2rem; }
.set-card.compact .parts-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .55rem; }
.set-card.compact .part-card { padding: .5rem .65rem .55rem; border-top-width: 3px; border-radius: 11px; }
.set-card.compact .part-no { width: 22px; height: 22px; font-size: .7rem; }
.set-card.compact .part-name { font-size: .9rem; }
.part-nums { display: flex; gap: .5rem; margin-top: .35rem; }
.part-nums label { flex: 1; display: flex; align-items: center; gap: .3rem; font-size: .72rem; color: var(--muted, #7a869a); margin: 0; }
.part-nums .form-control-sm { min-height: 28px; padding: .1rem .35rem; font-size: .84rem; text-align: right; }
.set-card.compact .part-bar { height: 6px; margin-top: .45rem; }
.set-card.compact .set-tile { padding: .6rem .8rem; }

a.sn-btn:hover { border-color: #6366f1; transform: translateY(-1px); box-shadow: 0 8px 16px -10px rgba(99, 102, 241, .6); }


/* Interview board members and criteria (roadmap 2.14d) */
.bm-row { display: grid; grid-template-columns: 24px minmax(120px, 1fr) minmax(120px, 1.2fr) minmax(130px, 1.4fr); gap: .4rem; align-items: center; margin-bottom: .4rem; }
.bm-row.ghost { opacity: .65; }
.bm-no { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 700; color: #fff; background: #8b5cf6; }
.bm-row .form-control-sm, .bm-row .form-select-sm, .crit-row .form-control-sm { min-height: 30px; padding: .15rem .45rem; font-size: .84rem; border-radius: 8px; }
@media (max-width: 767px) { .bm-row { grid-template-columns: 24px 1fr; } .bm-row > :nth-child(n+3) { grid-column: 2; } }
.crit-row { display: grid; grid-template-columns: 1fr 72px; gap: .4rem; margin-bottom: .35rem; }
.crit-row input[type=number] { text-align: right; }
.crit-h { max-width: 120px; white-space: normal; }
.rank-chip { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 99px; font-weight: 700; font-size: .8rem; background: #eef1f6; color: #475569; }
.rank-chip.top { background: linear-gradient(135deg, #f59e0b, #f97316); color: #fff; }
.stat-chip { padding: .15rem .6rem; border-radius: 99px; background: rgba(99, 102, 241, .1); font-size: .76rem; white-space: nowrap; }
.stat-chip b { margin-left: .2rem; }
.crit-h { min-width: 104px; max-width: 124px; white-space: normal; line-height: 1.2; text-align: center; vertical-align: bottom; font-size: .68rem; }

/* Verification sheets: result dropdowns coloured by their value (roadmap 2.14e) */
.vr-sel.good { border-color: #10b981; background-color: #ecfdf5; color: #047857; font-weight: 600; }
.vr-sel.bad { border-color: #ef4444; background-color: #fef2f2; color: #b91c1c; font-weight: 600; }
.ref-card.ghost { border-style: dashed; opacity: .85; }
.ref-form summary { cursor: pointer; font-weight: 600; font-size: .85rem; color: #0f766e; }
.ref-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.ref-card .form-control-sm, .ref-card .form-select-sm { min-height: 30px; padding: .15rem .45rem; font-size: .84rem; border-radius: 8px; }

/* Joining documents checklist (roadmap 2.14f) */
.doc-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .15rem 1rem; margin-top: .6rem; }
.doc-check { display: flex; align-items: flex-start; gap: .5rem; padding: .25rem 0; font-size: .88rem; cursor: pointer; }
/* the table's own header style (nowrap, uppercase) has higher specificity: criteria headers must wrap */
.rep-table thead th.crit-h { white-space: normal; min-width: 110px; max-width: 130px; width: 120px; line-height: 1.25; letter-spacing: .02em; text-align: center; vertical-align: bottom; font-size: .66rem; padding: .55rem .5rem; }
.rep-table thead th.crit-h { white-space: normal !important; overflow-wrap: anywhere; word-break: normal; }
.sheet-table th.crit-h > * , .sheet-table th.crit-h { text-overflow: clip; }

/* Interview page, compact and creative (roadmap 2.14d): a board strip, collapsible editors, and assessment rows with decision pills */
.iv-strip { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; padding: .55rem .8rem; border-radius: 14px; }
.iv-facts { display: flex; flex-wrap: wrap; gap: .2rem 1rem; font-size: .84rem; font-weight: 600; } .iv-facts i { color: #8b5cf6; margin-right: .25rem; }
.iv-members { display: flex; flex-wrap: wrap; gap: .3rem; }
.iv-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .12rem .6rem .12rem .15rem; border-radius: 99px; background: rgba(139, 92, 246, .1); font-size: .76rem; font-weight: 600; }
.iv-chip b, .iv-av { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff; font-size: .62rem; }
.crit-2col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 1rem; }
.iv-grid { --n: 6; padding: .4rem; border-radius: 14px; overflow-x: auto; }
.iv-head, .iv-row { display: grid; grid-template-columns: minmax(160px, 1.2fr) repeat(var(--n), minmax(82px, 96px)) 54px 132px minmax(150px, 1.4fr); gap: .35rem; align-items: center; padding: .3rem .4rem; min-width: calc(520px + var(--n) * 96px); }
.iv-head { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted, #7a869a); border-bottom: 1px solid var(--line, rgba(0, 0, 0, .08)); }
.iv-mark { min-width: 0; text-align: center; white-space: normal; overflow-wrap: break-word; line-height: 1.15; font-size: .6rem; letter-spacing: 0; align-self: end; } .iv-mark small { display: block; font-weight: 600; opacity: .7; }
.iv-row { border-left: 4px solid transparent; border-radius: 10px; transition: background .15s; } .iv-row:hover { background: rgba(99, 102, 241, .05); }
.iv-row.d-recommended { border-left-color: #10b981; background: rgba(16, 185, 129, .06); } .iv-row.d-standby { border-left-color: #f59e0b; background: rgba(245, 158, 11, .07); } .iv-row.d-not_recommended { border-left-color: #ef4444; background: rgba(239, 68, 68, .06); }
.iv-cand { display: flex; align-items: center; gap: .5rem; min-width: 0; } .iv-cand > div { min-width: 0; line-height: 1.2; }
.iv-av { width: 30px; height: 30px; flex: none; font-size: .72rem; }
.iv-in.form-control-sm { min-height: 30px; padding: .1rem .3rem; text-align: center; font-size: .86rem; border-radius: 8px; }
.iv-total { text-align: center; font-weight: 800; font-size: .95rem; font-variant-numeric: tabular-nums; }
.iv-seg { display: flex; align-items: center; gap: .2rem; }
.iv-seg label { margin: 0; cursor: pointer; } .iv-seg label input { position: absolute; opacity: 0; pointer-events: none; }
.iv-seg label i { display: grid; place-items: center; width: 32px; height: 28px; border-radius: 8px; background: #eef1f6; color: #64748b; font-size: .95rem; transition: .12s; }
.iv-seg label:hover i { transform: translateY(-1px); }
.iv-seg .seg-recommended input:checked + i { background: #10b981; color: #fff; } .iv-seg .seg-standby input:checked + i { background: #f59e0b; color: #fff; } .iv-seg .seg-not_recommended input:checked + i { background: #ef4444; color: #fff; }
.iv-seg label input:focus-visible + i { box-shadow: 0 0 0 3px rgba(99, 102, 241, .35); }
.iv-clear { border: 0; background: transparent; color: #94a3b8; font-size: 1.1rem; line-height: 1; padding: 0 .2rem; cursor: pointer; } .iv-clear:hover { color: #ef4444; }

/* Interview average view: a mark's average with a thin bar of how much of its maximum it is */
.iv-avg-head, .iv-avg-row { grid-template-columns: minmax(160px, 1.2fr) repeat(var(--n), minmax(82px, 96px)) 64px minmax(150px, 1fr) 100px; min-width: calc(520px + var(--n) * 96px); }
.iv-avgcell { text-align: center; } .iv-avgcell b { display: block; font-variant-numeric: tabular-nums; font-size: .88rem; }
.iv-avgcell i { display: block; height: 4px; margin-top: 3px; border-radius: 99px; background: linear-gradient(90deg, #6366f1, #8b5cf6); }

/* Selection stages: drag to reorder (roadmap 2.14, job opening form) */
.stage-sort { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .35rem; counter-reset: none; }
.stage-row { display: flex; align-items: center; gap: .55rem; padding: .45rem .6rem; border: 1px solid var(--line, rgba(0, 0, 0, .09)); border-radius: 11px; background: #fff; transition: box-shadow .15s, opacity .15s, transform .15s; }
.stage-row:not(.pinned):hover { box-shadow: 0 6px 14px -8px rgba(99, 102, 241, .55); border-color: #c7c9f5; }
.stage-row.off { opacity: .55; background: #f7f8fa; }
.stage-row.pinned { background: linear-gradient(135deg, rgba(99, 102, 241, .1), rgba(139, 92, 246, .08)); border-color: #c7c9f5; }
.stage-row.dragging { opacity: .45; transform: scale(.985); box-shadow: 0 10px 22px -10px rgba(99, 102, 241, .7); }
.stage-row[draggable=true] { cursor: grab; } .stage-row[draggable=true]:active { cursor: grabbing; }
.stage-row .grip { color: #94a3b8; font-size: 1.05rem; width: 18px; text-align: center; } .stage-row.pinned .grip { color: #6366f1; }
.stage-row .no { min-width: 22px; font-weight: 800; font-size: .8rem; color: #6366f1; text-align: right; font-variant-numeric: tabular-nums; }
.stage-row .form-check { display: flex; align-items: center; gap: .5rem; padding-left: 0; } .stage-row .form-check-input { float: none; margin: 0; flex: none; }
.stage-row .mv { display: flex; gap: .15rem; flex: none; }
.stage-row .mv button { border: 0; background: #eef1f6; color: #64748b; width: 26px; height: 26px; border-radius: 8px; line-height: 1; cursor: pointer; } .stage-row .mv button:hover { background: #6366f1; color: #fff; }
.mrf-crumb.trail { font-size: .82rem; } .mrf-crumb.trail .here { color: #fff; font-weight: 600; font-size: .82rem; }

/* Staff accessories: a summary strip, four item cards with Need / Got toggles (roadmap 2.14f) */
.acc-strip { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; padding: .7rem 1rem; border-radius: 14px; }
.acc-av { width: 40px; height: 40px; font-size: .85rem; } .acc-who { min-width: 160px; line-height: 1.25; }
.acc-prog { flex: 1; min-width: 200px; max-width: 360px; } .acc-bar { height: 8px; border-radius: 99px; background: #e9edf3; margin-top: 4px; overflow: hidden; }
.acc-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #06b6d4, #10b981); transition: width .25s; }
.acc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: .8rem; }
.acc-card { padding: .75rem .85rem .5rem; border-radius: 14px; }
.acc-title { font-size: .84rem; font-weight: 800; letter-spacing: .02em; margin: 0 0 .4rem; color: #334155; } .acc-title i { color: #0891b2; margin-right: .3rem; }
.acc-item { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto auto; gap: .35rem .45rem; align-items: center; padding: .38rem .45rem; margin: 0 -.45rem; border-radius: 10px; transition: background .15s; }
.acc-item:hover { background: rgba(8, 145, 178, .06); }
.acc-item.need { background: rgba(8, 145, 178, .07); } .acc-item.got { background: rgba(16, 185, 129, .1); }
.acc-ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: #eef1f6; color: #64748b; font-size: .95rem; }
.acc-item.need .acc-ic { background: #cffafe; color: #0e7490; } .acc-item.got .acc-ic { background: #bbf7d0; color: #047857; }
.acc-name { font-weight: 600; font-size: .84rem; line-height: 1.15; }
.acc-chip { margin: 0; cursor: pointer; } .acc-chip input { position: absolute; opacity: 0; pointer-events: none; }
.acc-chip span { display: inline-flex; align-items: center; gap: .25rem; padding: .18rem .55rem; border-radius: 99px; font-size: .72rem; font-weight: 700; background: #eef1f6; color: #94a3b8; border: 1px solid transparent; transition: .12s; user-select: none; }
.acc-chip:hover span { border-color: #cbd5e1; color: #475569; }
.acc-chip.need input:checked + span { background: #0891b2; color: #fff; } .acc-chip.got input:checked + span { background: #10b981; color: #fff; }
.acc-chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(8, 145, 178, .35); } .acc-chip input:disabled + span { opacity: .6; cursor: default; }
.acc-note { grid-column: 2 / -1; display: none; border: 0; border-bottom: 1px dashed #cbd5e1; background: transparent; font-size: .78rem; padding: .1rem 0; color: #475569; }
.acc-item.need .acc-note, .acc-note:not(:placeholder-shown) { display: block; } .acc-note:focus { outline: none; border-bottom-color: #0891b2; }
.acc-sign summary { cursor: pointer; list-style: none; } .acc-sign summary::-webkit-details-marker { display: none; }
/* Mail history card (recruitment steps that send email) */
.mh-row { display: flex; gap: .6rem; padding: .5rem 0; border-top: 1px solid var(--line, rgba(0, 0, 0, .07)); } .mh-row:first-of-type { border-top: 0; }
.mh-ic { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #dcfce7; color: #15803d; font-size: .9rem; } .mh-row.bad .mh-ic { background: #fee2e2; color: #b91c1c; }
.mh-what { font-weight: 700; font-size: .84rem; } .mh-note { font-size: .8rem; color: #475569; word-break: break-word; } .mh-when { font-size: .72rem; color: #94a3b8; }
.acc-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .7rem; }
.acc-tile { --c: #0891b2; display: flex; align-items: center; gap: .7rem; padding: .65rem .9rem; border-radius: 14px; }
.acc-tile .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 1.15rem; color: #fff; background: var(--c); box-shadow: 0 6px 12px -6px var(--c); }
.acc-tile b { display: block; font-size: 1.35rem; line-height: 1.1; } .acc-tile small { color: #64748b; font-weight: 600; }
.acc-by { display: block; font-weight: 500; font-size: .68rem; color: #047857; line-height: 1.1; margin-top: 1px; }
/* Mail history rows open the email in a drawer */
button.mh-open { width: 100%; border: 0; background: transparent; align-items: flex-start; border-radius: 10px; padding-left: .3rem; padding-right: .3rem; cursor: pointer; transition: background .12s; }
button.mh-open:hover { background: rgba(99, 102, 241, .07); } button.mh-open .bi-chevron-right { align-self: center; }
.mh-files { display: flex; flex-wrap: wrap; gap: .25rem; margin: .15rem 0; } .mh-file { display: inline-flex; align-items: center; gap: .2rem; font-size: .7rem; padding: .08rem .5rem; border-radius: 99px; background: #eef2ff; color: #4338ca; } .mh-file small { opacity: .7; }
.mail-drawer { width: min(640px, 100vw); } .mail-meta { display: grid; grid-template-columns: 56px 1fr; gap: .15rem .6rem; margin: 0; } .mail-meta dt { color: #94a3b8; font-weight: 600; } .mail-meta dd { margin: 0; word-break: break-word; }
.mail-frame { width: 100%; height: calc(100vh - 290px); min-height: 320px; border: 1px solid var(--line, rgba(0, 0, 0, .1)); border-radius: 12px; background: #fff; }

/* Stage navigator: one compact card — Prev, a track of numbered dots (done ticked, current lit; the name shows on hover), Next, and a line saying where you are. */
.sf { background: #fff; border: 1px solid var(--line, rgba(0, 0, 0, .08)); border-radius: 14px; padding: .5rem .7rem .45rem; position: relative; }
.sf-bar { position: absolute; top: 0; left: 14px; height: 3px; max-width: calc(100% - 28px); background: linear-gradient(90deg, #34d399, #6366f1, #8b5cf6); border-radius: 0 3px 3px 0; transition: width .4s; }
.sf-row { display: flex; align-items: center; gap: .6rem; }
.sf-btn { flex: none; display: inline-flex; align-items: center; gap: .25rem; padding: .2rem .6rem; border-radius: 999px; border: 1px solid var(--line, rgba(0, 0, 0, .1)); background: #f8fafc; color: inherit; text-decoration: none; font-size: .78rem; font-weight: 700; transition: .15s; }
.sf-btn i { color: #6366f1; font-size: .9rem; }
a.sf-btn:hover { background: #6366f1; color: #fff; border-color: #6366f1; } a.sf-btn:hover i { color: #fff; }
.sf-btn.off { opacity: .4; }
.sf-grid { flex: 1; min-width: 0; margin: 0; padding: 0; list-style: none; display: flex; align-items: center; }
.sf-grid li { flex: 1 1 0; display: flex; align-items: center; position: relative; min-width: 0; }
.sf-grid li:last-child { flex: none; }
.sf-grid li::after { content: ""; flex: 1; height: 3px; margin: 0 3px; border-radius: 2px; background: #e5e9f0; }
.sf-grid li:last-child::after { display: none; }
.sf-grid li.past::after { background: #34d399; }
.sf-grid a, .sf-grid li > span { flex: none; position: relative; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #eef1f6; color: #64748b; font-size: .72rem; font-weight: 700; text-decoration: none; transition: .15s; }
.sf-grid a:hover { background: #6366f1; color: #fff; transform: scale(1.12); }
.sf-grid li.past a { background: #34d399; color: #fff; }
.sf-grid li.cur > span { width: 30px; height: 30px; background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff; box-shadow: 0 0 0 4px rgba(99, 102, 241, .18); }
.sf-grid [data-tip]:hover::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: #1e293b; color: #fff; padding: .25rem .6rem; border-radius: 8px; font-size: .75rem; font-weight: 600; white-space: nowrap; z-index: 20; pointer-events: none; }
.sf-cap { display: flex; justify-content: space-between; gap: .8rem; margin-top: .3rem; font-size: .76rem; color: var(--muted, #7a869a); line-height: 1.2; }
.sf-cap b { color: inherit; } .sf-cap .here { color: #4f46e5; font-weight: 700; }
@media (max-width: 575px) { .sf-btn span { display: none; } .sf-grid a, .sf-grid li > span { width: 20px; height: 20px; font-size: .62rem; } .sf-grid li.cur > span { width: 24px; height: 24px; } .sf-cap .nxt { display: none; } }

/* Settings cards: remove a part or criterion (trash icon on its card) and add a new one (button under the grid). */
.part-del { flex: none; margin-left: auto; border: 0; background: transparent; color: #94a3b8; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-size: .8rem; transition: .15s; }
.part-del:hover { background: #fee2e2; color: #dc2626; }
.part-add { margin-top: .7rem; border: 1px dashed #a5b4fc; background: #eef2ff; color: #4f46e5; border-radius: 999px; padding: .3rem .9rem; font-size: .8rem; font-weight: 700; transition: .15s; }
.part-add:hover:not(:disabled) { background: #6366f1; color: #fff; border-color: #6366f1; } .part-add:disabled { opacity: .45; cursor: not-allowed; }
.crit-row:has(.part-del) { grid-template-columns: 1fr 72px 24px; align-items: center; }

/* Interview sheet: the criteria columns share the width (so a criterion added later is in view, not off to the right behind a scroll bar). */
.iv-head, .iv-row { grid-template-columns: minmax(150px, 1.1fr) repeat(var(--n), minmax(52px, 1fr)) 54px 124px minmax(110px, 1.2fr); min-width: calc(440px + var(--n) * 56px); }
.iv-avg-head, .iv-avg-row { grid-template-columns: minmax(150px, 1.1fr) repeat(var(--n), minmax(52px, 1fr)) 64px minmax(110px, 1fr) 100px; min-width: calc(440px + var(--n) * 56px); }
.iv-row input[type=number] { min-width: 0; }
.bm-row { grid-template-columns: 24px minmax(120px, 1fr) minmax(120px, 1.2fr) minmax(130px, 1.4fr) 24px; }
.part-del:disabled { opacity: .3; cursor: not-allowed; } .part-del:disabled:hover { background: transparent; color: #94a3b8; }
@media (max-width: 767px) { .bm-row { grid-template-columns: 24px 1fr 24px; } .bm-row > :nth-child(n+3):not(.part-del) { grid-column: 2; } .bm-row > .part-del { grid-column: 3; grid-row: 1; } }

/* Interview page: a hero card for the board, person cards for the interviewers, a lit total per candidate and pill buttons. */
.iv-hero { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.2rem; padding: .75rem 1rem; border-radius: 18px; color: #fff; background: linear-gradient(120deg, #4f46e5 0%, #7c3aed 55%, #a855f7 100%); box-shadow: 0 16px 30px -20px rgba(91, 33, 182, .8); position: relative; overflow: hidden; }
.iv-hero::after { content: ""; position: absolute; right: -40px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255, 255, 255, .1); pointer-events: none; }
.iv-hero-main { display: flex; align-items: center; gap: .75rem; }
.iv-hero-ico { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 1.25rem; background: rgba(255, 255, 255, .2); }
.iv-hero-title { font-weight: 800; font-size: 1rem; line-height: 1.2; }
.iv-hero .iv-facts { gap: .1rem .9rem; font-size: .8rem; font-weight: 600; opacity: .92; } .iv-hero .iv-facts i { color: #e9d5ff; }
.iv-stack { display: flex; align-items: center; margin-left: auto; }
.iv-stack .iv-av { width: 32px; height: 32px; margin-left: -9px; border: 2px solid #7c3aed; background: rgba(255, 255, 255, .92); color: #5b21b6; font-size: .7rem; } .iv-stack .iv-av:first-child { margin-left: 0; }
.iv-stack-n { margin-left: .6rem; font-size: .76rem; font-weight: 700; opacity: .9; }
.iv-hero-actions { display: flex; gap: .45rem; position: relative; z-index: 1; }
.iv-btn { display: inline-flex; align-items: center; gap: .4rem; border: 0; border-radius: 999px; padding: .42rem 1rem; font-size: .82rem; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.iv-btn:hover { transform: translateY(-2px); }
.iv-btn.soft { background: rgba(255, 255, 255, .18); color: #fff; border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(4px); } .iv-btn.soft:hover { background: #fff; color: #5b21b6; }
.iv-pill { padding: 0 .45rem; border-radius: 999px; background: rgba(255, 255, 255, .25); font-size: .72rem; }
.iv-btn.primary { color: #fff; background: linear-gradient(135deg, #6366f1, #8b5cf6); box-shadow: 0 10px 20px -10px rgba(99, 102, 241, .9); padding: .55rem 1.25rem; } .iv-btn.primary:hover { box-shadow: 0 14px 24px -10px rgba(99, 102, 241, 1); }
.iv-btn.finish { color: #047857; background: #ecfdf5; border: 1.5px solid #34d399; } .iv-btn.finish:hover { background: #10b981; color: #fff; border-color: #10b981; box-shadow: 0 10px 20px -12px rgba(16, 185, 129, .9); }
.iv-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; padding: .6rem .8rem; border-radius: 16px; background: #fff; border: 1px solid var(--line, rgba(0, 0, 0, .08)); }
.iv-bar.finish { background: #f7fffb; border-color: rgba(52, 211, 153, .35); }
.iv-bar-note { flex: 1; min-width: 14rem; font-size: .78rem; color: var(--muted, #7a869a); } .iv-bar-note i { margin-right: .3rem; color: #8b5cf6; } .iv-bar.finish .iv-bar-note i { color: #10b981; }
.iv-people { display: flex; flex-wrap: wrap; gap: .5rem; }
.iv-person { display: flex; align-items: center; gap: .6rem; padding: .45rem .8rem .45rem .5rem; border-radius: 16px; background: #fff; border: 1px solid var(--line, rgba(0, 0, 0, .08)); color: inherit; text-decoration: none; min-width: 13rem; transition: .15s; }
.iv-person:hover { transform: translateY(-2px); border-color: #a5b4fc; box-shadow: 0 12px 22px -16px rgba(99, 102, 241, .8); color: inherit; }
.iv-person .iv-av { width: 36px; height: 36px; font-size: .78rem; }
.iv-person-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.2; } .iv-person-txt strong { font-size: .84rem; } .iv-person-txt small { font-size: .7rem; color: var(--muted, #7a869a); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 11rem; }
.iv-prog { display: block; height: 4px; margin-top: .3rem; border-radius: 99px; background: #e8ecf3; overflow: hidden; } .iv-prog i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #34d399, #10b981); }
.iv-person em { font-style: normal; font-size: .72rem; font-weight: 800; color: #6366f1; background: #eef2ff; border-radius: 999px; padding: .1rem .5rem; }
.iv-person.on { color: #fff; background: linear-gradient(135deg, #6366f1, #8b5cf6); border-color: transparent; box-shadow: 0 14px 24px -14px rgba(99, 102, 241, .9); }
.iv-person.on small { color: rgba(255, 255, 255, .8); } .iv-person.on .iv-av { background: #fff; color: #5b21b6; } .iv-person.on em { background: rgba(255, 255, 255, .25); color: #fff; } .iv-person.on .iv-prog { background: rgba(255, 255, 255, .3); }
.iv-person.avg { min-width: 0; }
.iv-grid { background: #fff; }
.iv-row { padding-top: .45rem; padding-bottom: .45rem; }
.iv-total { padding: .2rem 0; border-radius: 999px; background: #eef1f6; color: #64748b; transition: .2s; }
.iv-total[data-level=hi] { background: #d1fae5; color: #047857; } .iv-total[data-level=mid] { background: #fef3c7; color: #b45309; } .iv-total[data-level=lo] { background: #fee2e2; color: #b91c1c; }
.iv-seg label i { border-radius: 10px; width: 34px; height: 30px; }

/* Interview page, calmer: white cards with one accent colour instead of gradients; colour only where it means something (decisions, total level). */
.iv-hero { color: inherit; background: #fff; border: 1px solid var(--line, rgba(0, 0, 0, .08)); box-shadow: none; }
.iv-hero::after { display: none; }
.iv-hero-ico { background: #eef2ff; color: #6366f1; }
.iv-hero .iv-facts { opacity: 1; color: var(--muted, #64748b); } .iv-hero .iv-facts i { color: #6366f1; }
.iv-stack .iv-av { border-color: #fff; background: #eef2ff; color: #4f46e5; }
.iv-stack-n { color: var(--muted, #64748b); opacity: 1; }
.iv-btn.soft { background: #f8fafc; color: inherit; border: 1px solid var(--line, rgba(0, 0, 0, .12)); backdrop-filter: none; } .iv-btn.soft:hover { background: #eef2ff; color: #4f46e5; border-color: #c7d2fe; }
.iv-pill { background: #e2e8f0; color: #475569; }
.iv-btn.primary { background: #4f46e5; box-shadow: none; } .iv-btn.primary:hover { background: #4338ca; box-shadow: 0 8px 16px -10px rgba(79, 70, 229, .8); }
.iv-btn.finish { background: #fff; color: #334155; border: 1px solid var(--line, rgba(0, 0, 0, .18)); } .iv-btn.finish:hover { background: #334155; color: #fff; border-color: #334155; box-shadow: none; }
.iv-bar.finish { background: #fff; border-color: var(--line, rgba(0, 0, 0, .08)); } .iv-bar-note i, .iv-bar.finish .iv-bar-note i { color: #94a3b8; }
.iv-person.on { color: inherit; background: #eef2ff; border-color: #6366f1; box-shadow: none; }
.iv-person.on small { color: var(--muted, #64748b); } .iv-person.on .iv-av { background: #6366f1; color: #fff; } .iv-person.on em { background: #6366f1; color: #fff; } .iv-person.on .iv-prog { background: #dbe2f0; }
.iv-person .iv-av { background: #e2e8f0; color: #475569; }
.iv-prog i { background: #6366f1; }
.iv-av { background: #e2e8f0; color: #475569; }
.iv-total[data-level] { background: #f1f5f9; }
.iv-total[data-level=hi] { color: #047857; } .iv-total[data-level=mid] { color: #b45309; } .iv-total[data-level=lo] { color: #b91c1c; }
.iv-row.d-recommended, .iv-row.d-standby, .iv-row.d-not_recommended { background: transparent; }

/* Stage navigator, pipeline style (as on the opening's Selection pipeline): every stage is a numbered dot with its name under it, joined by a line; no scroll bar. */
.sf { padding: .6rem .8rem .55rem; }
.sf-row { align-items: flex-start; }
.sf-btn { margin-top: .25rem; }
.sf-pipe { flex: 1; min-width: 0; margin: 0; padding: 0; list-style: none; display: flex; }
.sf-pipe li { flex: 1 1 0; min-width: 0; position: relative; text-align: center; }
.sf-pipe li::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 3px; background: #e2e8f0; }
.sf-pipe li:first-child::before { display: none; }
.sf-pipe li.done::before { background: #34d399; } .sf-pipe li.cur::before { background: linear-gradient(90deg, #34d399, #6366f1); }
.sf-pipe .node { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: 0 .2rem; color: inherit; text-decoration: none; }
.sf-pipe .dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .8rem; background: #fff; color: #64748b; border: 2px solid #e2e8f0; transition: .15s; }
.sf-pipe li.done .dot { background: #34d399; color: #fff; border-color: transparent; }
.sf-pipe li.cur .dot { background: #4f46e5; color: #fff; border-color: #c7d2fe; box-shadow: 0 0 0 4px rgba(79, 70, 229, .15); }
.sf-pipe a.node:hover .dot { border-color: #6366f1; color: #4f46e5; transform: translateY(-2px); } .sf-pipe li.done a.node:hover .dot { color: #fff; border-color: #059669; }
.sf-pipe .name { font-size: .7rem; line-height: 1.2; font-weight: 600; color: #64748b; overflow-wrap: anywhere; }
.sf-pipe li.cur .name { color: #4f46e5; font-weight: 800; } .sf-pipe li.done .name { color: #047857; }
@media (max-width: 767px) { .sf-pipe { flex-wrap: wrap; row-gap: .5rem; } .sf-pipe li { flex: 0 0 25%; } .sf-pipe li::before { display: none; } .sf-btn span { display: none; } }

/* CV Bank: the stat tiles, skill tags and the CV file rows. */
.cvb-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .6rem; }
.cvb-stat { display: grid; grid-template-columns: auto 1fr; column-gap: .6rem; align-items: center; padding: .6rem .85rem; border-radius: 14px; background: #fff; border: 1px solid var(--line, rgba(0, 0, 0, .08)); color: inherit; text-decoration: none; transition: .15s; }
.cvb-stat:hover { border-color: #a5b4fc; transform: translateY(-2px); color: inherit; }
.cvb-stat i { grid-row: span 2; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #eef2ff; color: #4f46e5; font-size: 1.1rem; }
.cvb-stat b { font-size: 1.25rem; line-height: 1.1; } .cvb-stat span { font-size: .72rem; color: var(--muted, #64748b); font-weight: 600; }
.cvb-tag { display: inline-block; margin: 0 .2rem .2rem 0; padding: .05rem .5rem; border-radius: 999px; background: #f1f5f9; color: #475569; font-size: .72rem; font-weight: 600; }
.cvb-cvs { display: inline-flex; align-items: center; gap: .3rem; padding: .1rem .55rem; border-radius: 999px; background: #eef2ff; color: #4f46e5; font-weight: 700; font-size: .78rem; }
.cvb-file { display: flex; align-items: center; gap: .7rem; padding: .5rem .2rem; border-bottom: 1px solid var(--line, rgba(0, 0, 0, .06)); }
.cvb-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #f1f5f9; color: #64748b; font-size: 1.2rem; flex: none; }
.min-w-0 { min-width: 0; }

/* Recruitment dashboard: tiles, bars and columns in one accent colour. */
.rdb-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .6rem; }
.rdb-tile { display: flex; gap: .7rem; align-items: center; padding: .75rem .9rem; border-radius: 14px; background: #fff; border: 1px solid var(--line, rgba(0, 0, 0, .08)); }
.rdb-tile > i { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: #eef2ff; color: #4f46e5; font-size: 1.15rem; }
.rdb-tile b { display: block; font-size: 1.3rem; line-height: 1.1; } .rdb-tile span { display: block; font-size: .76rem; font-weight: 700; } .rdb-tile small { color: var(--muted, #64748b); font-size: .7rem; }
.rdb-bar { display: grid; grid-template-columns: 7.5rem 1fr 2.2rem 3rem; gap: .5rem; align-items: center; margin-bottom: .4rem; font-size: .82rem; }
.rdb-lbl { font-weight: 600; } .rdb-bar b { text-align: right; } .rdb-bar small { color: var(--muted, #64748b); }
.rdb-track { height: 14px; border-radius: 99px; background: #eef1f6; overflow: hidden; } .rdb-track i { display: block; height: 100%; border-radius: 99px; background: #6366f1; }
.rdb-cols { display: flex; align-items: flex-end; gap: .35rem; height: 170px; padding-top: 1rem; }
.rdb-cols > div { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 2px; }
.rdb-cols i { display: block; width: 100%; max-width: 28px; border-radius: 6px 6px 2px 2px; background: #6366f1; } .rdb-cols b { font-size: .68rem; } .rdb-cols span { font-size: .6rem; color: var(--muted, #64748b); white-space: nowrap; }
.rdb-stuck { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .5rem; }
.rdb-stuck a { display: grid; grid-template-columns: 1fr auto; gap: 0 .5rem; padding: .5rem .7rem; border-radius: 12px; background: #f8fafc; border: 1px solid var(--line, rgba(0, 0, 0, .08)); color: inherit; text-decoration: none; }
.rdb-stuck a:hover { border-color: #a5b4fc; } .rdb-stuck span { grid-column: 1; font-size: .74rem; color: var(--muted, #64748b); } .rdb-stuck em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-weight: 800; font-size: .76rem; color: #b45309; }

/* Compare candidates: one column per candidate; the best value of a numbered row gets a star. */
.cmp-table { width: 100%; table-layout: fixed; } .cmp-table th, .cmp-table td { padding: .55rem .8rem; vertical-align: top; font-size: .84rem; border-bottom: 1px solid var(--line, rgba(0, 0, 0, .06)); }
.cmp-lbl { width: 11rem; color: var(--muted, #64748b); font-weight: 700; font-size: .76rem; text-transform: uppercase; letter-spacing: .03em; text-align: left; }
.cmp-head { display: flex; align-items: center; gap: .5rem; color: inherit; text-decoration: none; font-weight: 800; } .cmp-head:hover { color: #4f46e5; }
.cmp-best { background: #f5f7ff; font-weight: 700; } .cmp-best i { color: #f59e0b; font-size: .72rem; margin-left: .2rem; }
@media print { .page-top, .sidebar, .topbar, .btn { display: none !important; } }
.cvb-dnh { border-left: 4px solid #ef4444; } .cvb-tag.tag { background: #eef2ff; color: #4f46e5; }

/* Pipeline board: a column per stage, cards for the candidates (no scroll bar: the columns wrap). */
.kb { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .7rem; align-items: start; }
.kb-col { background: #f1f4f9; border-radius: 14px; padding: .55rem; } .kb-col header { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; font-weight: 800; margin: .1rem .3rem .5rem; } .kb-col header b { background: #fff; border-radius: 999px; padding: 0 .5rem; font-size: .72rem; color: #4f46e5; }
.kb-cards { display: flex; flex-direction: column; gap: .4rem; }
.kb-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line, rgba(0, 0, 0, .08)); border-radius: 11px; padding: .45rem .6rem; color: inherit; text-decoration: none; line-height: 1.25; } .kb-card:hover { border-color: #a5b4fc; transform: translateY(-1px); }
.kb-card strong { font-size: .8rem; } .kb-card span { font-size: .72rem; color: var(--muted, #64748b); } .kb-card small { font-size: .68rem; color: #b45309; }
.kb-col.hired { background: #ecfdf5; } .kb-col.out { background: #f8fafc; } .kb-col.out .kb-card small { color: var(--muted, #64748b); } .kb-none { text-align: center; color: #94a3b8; font-size: .8rem; padding: .3rem; }

/* CV Bank candidate page: CVs as cards and a drop-in upload bar. */
.cvb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .65rem; }
.cvb-card { display: flex; flex-direction: column; gap: .6rem; padding: .75rem; border-radius: 14px; background: #fff; border: 1px solid var(--line, rgba(0, 0, 0, .08)); transition: .15s; } .cvb-card:hover { border-color: #a5b4fc; transform: translateY(-2px); box-shadow: 0 12px 22px -18px rgba(79, 70, 229, .7); }
.cvb-type { display: inline-flex; align-items: center; gap: .35rem; align-self: flex-start; padding: .2rem .6rem; border-radius: 999px; background: #f1f5f9; color: #475569; font-size: .95rem; } .cvb-type em { font-style: normal; font-size: .68rem; font-weight: 800; letter-spacing: .04em; }
.cvb-type.pdf { background: #fef2f2; color: #b91c1c; } .cvb-type.doc { background: #eff6ff; color: #1d4ed8; }
.cvb-card-body { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; } .cvb-card-body strong { font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cvb-card-body span { font-size: .76rem; color: var(--muted, #64748b); } .cvb-card-body small { font-size: .7rem; color: var(--muted, #94a3b8); }
.cvb-card-act { display: flex; gap: .4rem; margin-top: auto; }
.cvb-drop { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; padding: .8rem 1rem; border-radius: 14px; border: 1.5px dashed #c7d2fe; background: #f8faff; } .cvb-drop > i { font-size: 1.6rem; color: #6366f1; } .cvb-drop b { font-size: .84rem; }
.cvb-empty { display: flex; align-items: center; gap: .8rem; padding: 1rem; border-radius: 14px; background: #f8fafc; color: var(--muted, #64748b); } .cvb-empty > i { font-size: 1.8rem; } .cvb-empty b { display: block; color: inherit; } .cvb-empty span { font-size: .8rem; }

/* Recruitment dashboard shortcuts: light pills with a tinted icon, the colour comes only on hover. */
.rdb-links { display: flex; flex-wrap: wrap; gap: .4rem; }
.rdb-links a { display: inline-flex; align-items: center; gap: .5rem; padding: .22rem .85rem .22rem .25rem; border-radius: 999px; background: #fff; border: 1px solid var(--line, rgba(0, 0, 0, .1)); color: inherit; text-decoration: none; font-size: .8rem; font-weight: 600; transition: .15s; }
.rdb-links a i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #eef2ff; color: #4f46e5; font-size: .9rem; transition: .15s; }
.rdb-links a:hover { border-color: #6366f1; transform: translateY(-1px); box-shadow: 0 8px 16px -12px rgba(79, 70, 229, .8); color: inherit; }
.rdb-links a:hover i { background: #4f46e5; color: #fff; }
.cmp-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .5rem; padding: .7rem; }
.cmp-opt { display: flex; align-items: center; gap: .6rem; padding: .5rem .7rem; border-radius: 12px; border: 1px solid var(--line, rgba(0, 0, 0, .08)); background: #fff; cursor: pointer; margin: 0; transition: .15s; } .cmp-opt:hover { border-color: #a5b4fc; }
.cmp-opt:has(input:checked) { border-color: #6366f1; background: #eef2ff; } .cmp-opt input:disabled ~ * { opacity: .5; }
.cmp-opt-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; } .cmp-opt-txt strong { font-size: .84rem; } .cmp-opt-txt small { font-size: .72rem; color: var(--muted, #64748b); }

/* Compare page, v2: candidate cards, grouped rows and bars against the best value. */
.cmp-wrap { overflow-x: auto; }
.cmp-grid { display: grid; grid-template-columns: 11rem repeat(var(--n), minmax(190px, 1fr)); gap: 0 .6rem; min-width: calc(11rem + var(--n) * 190px); }
.cmp-corner { position: sticky; left: 0; }
.cmp-cand { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; padding: .8rem .9rem; border-radius: 16px; background: #fff; border: 1px solid var(--line, rgba(0, 0, 0, .08)); }
.cmp-cand .iv-av { width: 40px; height: 40px; font-size: .85rem; }
.cmp-name { font-weight: 800; font-size: .95rem; color: inherit; text-decoration: none; line-height: 1.2; } .cmp-name:hover { color: #4f46e5; }
.cmp-sub { font-size: .76rem; color: var(--muted, #64748b); } .cmp-status { font-size: .7rem; font-weight: 700; padding: .05rem .55rem; border-radius: 999px; background: #eef2ff; color: #4f46e5; }
.cmp-stars { color: #f59e0b; font-size: .8rem; letter-spacing: 1px; } .cmp-stars i { font-style: normal; color: #e2e8f0; }
.cmp-x { position: absolute; top: .5rem; right: .55rem; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #94a3b8; text-decoration: none; font-size: .7rem; } .cmp-x:hover { background: #fee2e2; color: #dc2626; }
.cmp-group { grid-column: 1 / -1; margin: 1rem 0 .3rem; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #64748b); display: flex; align-items: center; gap: .6rem; } .cmp-group::after { content: ""; flex: 1; height: 1px; background: var(--line, rgba(0, 0, 0, .1)); }
.cmp-label { padding: .55rem .2rem; font-size: .78rem; font-weight: 700; color: var(--muted, #64748b); border-bottom: 1px solid var(--line, rgba(0, 0, 0, .05)); }
.cmp-cell { padding: .5rem .8rem; font-size: .84rem; line-height: 1.35; border-bottom: 1px solid var(--line, rgba(0, 0, 0, .05)); min-width: 0; overflow-wrap: anywhere; }
.cmp-cell.best { background: #f5f7ff; border-radius: 10px; }
.cmp-best { display: inline-flex; align-items: center; gap: .2rem; margin-left: .4rem; padding: 0 .45rem; border-radius: 999px; background: #fef3c7; color: #b45309; font-style: normal; font-size: .66rem; font-weight: 800; } .cmp-best i { font-size: .6rem; }
.cmp-bar { display: block; height: 4px; margin-top: .3rem; border-radius: 99px; background: #e8ecf3; overflow: hidden; } .cmp-bar i { display: block; height: 100%; background: #6366f1; border-radius: 99px; }
@media print { .cmp-wrap { overflow: visible; } .cmp-x { display: none; } }

/* Pipeline board, v2: a summary ribbon, lanes with a numbered step, cards with an avatar and a wait chip that warms with age. */
.kb-top { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.1rem; padding: .7rem 1rem; border-radius: 16px; background: #fff; border: 1px solid var(--line, rgba(0, 0, 0, .08)); }
.kb-sum { display: flex; flex-direction: column; line-height: 1.15; } .kb-sum b { font-size: 1.15rem; } .kb-sum span { font-size: .7rem; color: var(--muted, #64748b); font-weight: 600; }
.kb-ribbon { flex: 1 1 220px; display: flex; gap: 3px; height: 12px; min-width: 160px; } .kb-ribbon i { display: block; border-radius: 99px; background: #6366f1; opacity: .85; min-width: 8px; } .kb-ribbon i.hired { background: #10b981; } .kb-ribbon i.out { background: #cbd5e1; } .kb-ribbon i.empty { background: #e8ecf3; }
.kb-tools { display: flex; align-items: center; gap: .7rem; margin-left: auto; } .kb-tools input[type=search] { width: 200px; } .kb-toggle { display: inline-flex; align-items: center; gap: .35rem; margin: 0; font-size: .78rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
.kb { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: .8rem; align-items: start; }
.kb-col { background: rgba(255, 255, 255, .55); border: 1px solid var(--line, rgba(0, 0, 0, .06)); border-radius: 16px; padding: .6rem; }
.kb-col header { display: flex; align-items: center; gap: .5rem; margin: .1rem .2rem .6rem; }
.kb-step { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #eef2ff; color: #4f46e5; font-size: .72rem; font-weight: 800; flex: none; }
.kb-title { flex: 1; min-width: 0; font-size: .8rem; font-weight: 800; line-height: 1.2; } .kb-col header b { min-width: 22px; text-align: center; background: #fff; border-radius: 999px; padding: 0 .4rem; font-size: .72rem; color: #4f46e5; border: 1px solid var(--line, rgba(0, 0, 0, .08)); }
.kb-col.hired { background: #f3fbf7; } .kb-col.hired .kb-step { background: #d1fae5; color: #047857; } .kb-col.out { background: #f8fafc; } .kb-col.out .kb-step { background: #e2e8f0; color: #64748b; }
.kb-cards { display: flex; flex-direction: column; gap: .45rem; }
.kb-card { display: grid; grid-template-columns: auto 1fr auto; gap: .55rem; align-items: center; background: #fff; border: 1px solid var(--line, rgba(0, 0, 0, .08)); border-left: 3px solid #c7d2fe; border-radius: 12px; padding: .5rem .6rem; color: inherit; text-decoration: none; transition: .15s; } .kb-card[hidden] { display: none; }
.kb-card:hover { transform: translateY(-2px); border-color: #a5b4fc; box-shadow: 0 12px 20px -16px rgba(79, 70, 229, .8); color: inherit; }
.kb-card.warm { border-left-color: #f59e0b; } .kb-card.hot { border-left-color: #ef4444; } .kb-col.hired .kb-card { border-left-color: #6ee7b7; } .kb-col.out .kb-card { border-left-color: #e2e8f0; }
.kb-card .iv-av { width: 30px; height: 30px; font-size: .68rem; } .kb-card-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; } .kb-card-txt strong { font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .kb-card-txt small { font-size: .7rem; color: var(--muted, #64748b); }
.kb-card-meta { display: flex; flex-direction: column; align-items: flex-end; gap: .15rem; } .kb-wait { font-style: normal; font-size: .68rem; font-weight: 800; padding: 0 .45rem; border-radius: 999px; background: #eef2ff; color: #4f46e5; } .kb-wait.warm { background: #fef3c7; color: #b45309; } .kb-wait.hot { background: #fee2e2; color: #b91c1c; }
.kb-stars { color: #f59e0b; font-size: .62rem; letter-spacing: 1px; }
.kb-none { text-align: center; color: #94a3b8; font-size: .76rem; padding: .6rem .3rem; border: 1px dashed #dbe2ee; border-radius: 12px; }
.kb { align-items: stretch; }

/* The opening's slim bar on pipeline pages: a white card with the post, its figures as links, the deadline and an Actions menu. */
.oh-bar { padding: .6rem 1rem .7rem; border-radius: 16px; background: #fff; border: 1px solid var(--line, rgba(0, 0, 0, .08)); border-left: 4px solid #10b981; }
.oh-bar .trail, .oh-bar nav[aria-label=breadcrumb] { margin-bottom: .2rem; }
.oh-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.2rem; }
.oh-ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: #ecfdf5; color: #059669; font-size: 1.05rem; flex: none; }
.oh-id { min-width: 0; line-height: 1.2; } .oh-id small { color: var(--muted, #64748b); font-size: .72rem; }
.oh-title { font-weight: 800; font-size: 1.02rem; color: inherit; text-decoration: none; } .oh-title:hover { color: #4f46e5; }
.oh-status { font-size: .66rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: .05rem .5rem; border-radius: 999px; background: #e2e8f0; color: #475569; } .oh-status.open { background: #d1fae5; color: #047857; }
.oh-nums { display: flex; gap: .3rem; } .oh-nums > * { display: flex; flex-direction: column; align-items: center; min-width: 58px; padding: .15rem .55rem; border-radius: 10px; color: inherit; text-decoration: none; line-height: 1.15; } .oh-nums a:hover { background: #f1f5f9; color: inherit; }
.oh-nums b { font-size: .98rem; } .oh-nums b small { font-size: .7rem; color: var(--muted, #64748b); font-weight: 600; } .oh-nums span { font-size: .64rem; color: var(--muted, #64748b); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.oh-count { display: inline-flex; align-items: center; gap: .3rem; font-size: .74rem; font-weight: 700; padding: .15rem .65rem; border-radius: 999px; background: #ecfdf5; color: #047857; } .oh-count.warn { background: #fef3c7; color: #b45309; } .oh-count.danger { background: #fee2e2; color: #b91c1c; } .oh-count.muted { background: #f1f5f9; color: #64748b; }
.oh-more { background: #f8fafc; color: inherit; border: 1px solid var(--line, rgba(0, 0, 0, .12)); padding: .3rem .85rem; } .oh-more:hover { background: #eef2ff; color: #4f46e5; }
.oh-bar .dropdown-menu form { margin: 0; } .oh-bar .dropdown-item { font-size: .84rem; }

/* Stage bar, smaller: slimmer card, 24px dots, one-line names (the full name is in the tooltip). */
.sf { padding: .4rem .65rem .35rem; border-radius: 12px; }
.sf-bar { height: 2px; }
.sf-btn { margin-top: 0; padding: .12rem .5rem; font-size: .72rem; }
.sf-pipe li::before { top: 11px; height: 2px; }
.sf-pipe .node { gap: .15rem; padding: 0 .1rem; }
.sf-pipe .dot { width: 24px; height: 24px; font-size: .68rem; border-width: 1.5px; }
.sf-pipe li.cur .dot { box-shadow: 0 0 0 3px rgba(79, 70, 229, .15); }
.sf-pipe .name { font-size: .62rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 767px) { .sf-pipe li { flex: 0 0 25%; } .sf-pipe .name { white-space: normal; } }
/* With 12 stages one line cuts names too short: allow two lines, then cut. */
.sf-pipe .name { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.12; }
@media (max-width: 767px) { .oh-nums { order: 5; width: 100%; justify-content: space-between; gap: 0; } .oh-nums > * { min-width: 0; flex: 1; padding: .15rem .2rem; } .oh-row { gap: .4rem .8rem; } }
@media (max-width: 767px) { .oh-nums span { font-size: .56rem; letter-spacing: 0; } }

/* "How this step works": a slim, friendly strip under the stage bar; it folds away and remembers that per stage. */
.sh { border-radius: 14px; background: #fff; border: 1px solid var(--line, rgba(0, 0, 0, .08)); }
.sh summary { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; padding: .5rem .8rem; cursor: pointer; } .sh summary::-webkit-details-marker { display: none; }
.sh-ic { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: #fffbeb; color: #d97706; flex: none; }
.sh-lead { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; flex: 1 1 220px; } .sh-lead b { font-size: .84rem; } .sh-lead em { font-style: normal; font-size: .76rem; color: var(--muted, #64748b); }
.sh-chip { font-size: .72rem; font-weight: 700; padding: .12rem .65rem; border-radius: 999px; background: #f1f5f9; color: #64748b; text-decoration: none; white-space: nowrap; } .sh-chip.on { background: #eef2ff; color: #4f46e5; } .sh-chip.next:hover { background: #4f46e5; color: #fff; }
.sh-chev { color: #94a3b8; transition: .2s; } .sh[open] .sh-chev { transform: rotate(180deg); }
.sh-steps { list-style: none; margin: 0; padding: .1rem .8rem .7rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .5rem; }
.sh-steps li { display: flex; gap: .55rem; align-items: flex-start; padding: .5rem .65rem; border-radius: 11px; background: #f8fafc; font-size: .78rem; line-height: 1.35; } .sh-steps b { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #e0e7ff; color: #4f46e5; font-size: .68rem; }
@media print { .sh { display: none; } }
/* Shortlist report: the first two columns (SL and name) stay in view while scrolling sideways; rows highlight on hover. */
.sl-table th:nth-child(-n+2), .sl-table td:nth-child(-n+2) { position: sticky; background: #fff; z-index: 1; }
.sl-table th:nth-child(1), .sl-table td:nth-child(1) { left: 0; } .sl-table th:nth-child(2), .sl-table td:nth-child(2) { left: 3rem; box-shadow: 6px 0 8px -8px rgba(15, 23, 42, .25); }
.sl-table tbody tr:hover td { background: #f5f7ff; } .sl-table tr[hidden] { display: none; }
.sl-table th:nth-child(1), .sl-table td:nth-child(1) { min-width: 3rem; width: 3rem; max-width: 3rem; } .sl-table th:nth-child(2), .sl-table td:nth-child(2) { min-width: 11rem; }

/* Print/PDF and Export: the app's standard pills (amber printer, green Excel, with labels) also on pages with a filter card, where the app would shrink them to bare icons. */
.content:has(.filter-card) .page-head .tb-group.dl-pills .tb-btn { width: auto; height: auto; padding: .38rem 1.05rem .38rem .4rem; justify-content: flex-start; gap: .6rem; border: 1px solid var(--border); border-radius: 999px; background: #fff; }
.content:has(.filter-card) .page-head .tb-group.dl-pills .tb-btn:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px -10px var(--c); }
.content:has(.filter-card) .page-head .tb-group.dl-pills .tb-btn .ti { width: 32px; height: 32px; font-size: 1rem; background: var(--cb); }
.content:has(.filter-card) .page-head .tb-group.dl-pills .tb-btn:hover .ti { background: var(--c); color: #fff; }
.content:has(.filter-card) .page-head .tb-group.dl-pills .tb-btn .lbl, .content:has(.filter-card) .page-head .tb-group.dl-pills .tb-btn .bi-chevron-down { display: inline; }
@media (max-width: 575px) { .tb-group.dl-pills .tb-btn { padding: .38rem 1.05rem .38rem .4rem; } .tb-group.dl-pills .tb-btn .lbl { display: inline; } }

.sh-stack { display: inline-flex; } .sh-stack .iv-av { width: 26px; height: 26px; margin-left: -7px; border: 2px solid #fff; font-size: .6rem; } .sh-stack .iv-av:first-child { margin-left: 0; }
.sh-chip.rej { background: #fef2f2; color: #b91c1c; }
/* One card for the stage bar and the "how this step works" strip (it used to be two stacked cards). */
.sf .sh { border: 0; border-radius: 0; border-top: 1px solid var(--line, rgba(0, 0, 0, .08)); margin: .4rem -.65rem -.35rem; background: transparent; }
.sf .sh summary { padding: .45rem .75rem; } .sf .sh-steps { padding: 0 .75rem .6rem; }
/* No white box around the pills: Print/PDF and Export sit straight on the page, as on the other pages. */
.content:has(.filter-card) .page-head .tb-group.dl-pills { flex-wrap: wrap; gap: .55rem; padding: 0; background: transparent; border: 0; border-radius: 0; }
.cmp-tray { display: flex; flex-wrap: wrap; gap: .4rem; min-height: 0; } .cmp-tray:empty { display: none; }
.cmp-chip { display: inline-flex; align-items: center; gap: .3rem; padding: .15rem .3rem .15rem .75rem; border-radius: 999px; background: #eef2ff; color: #4f46e5; font-size: .78rem; font-weight: 700; } .cmp-chip button { border: 0; background: transparent; color: inherit; width: 20px; height: 20px; border-radius: 50%; line-height: 1; } .cmp-chip button:hover { background: #4f46e5; color: #fff; }
.cmp-opt[hidden] { display: none; }

/* Pagination, every list: a light bar with the "Showing x to y of z" text and round page buttons; the current page is solid indigo. */
nav:has(> div > div > ul.pagination), nav:has(> div > ul.pagination) { padding: .55rem .8rem; border-radius: 16px; background: #fff; border: 1px solid var(--line, rgba(0, 0, 0, .08)); margin-top: .6rem; }
nav:has(ul.pagination) p.small { margin: 0; font-size: .8rem; color: var(--muted, #64748b); } nav:has(ul.pagination) p.small .fw-semibold { color: var(--text, #0f172a); }
ul.pagination { gap: .3rem; align-items: center; }
ul.pagination .page-link { min-width: 36px; height: 36px; display: grid; place-items: center; padding: 0 .6rem; border: 1px solid var(--line, rgba(0, 0, 0, .1)); border-radius: 999px !important; background: #fff; color: var(--text, #334155); font-size: .84rem; font-weight: 600; box-shadow: none; transition: .15s; }
ul.pagination .page-link:hover { background: #eef2ff; border-color: #c7d2fe; color: #4f46e5; transform: translateY(-1px); }
ul.pagination .page-item.active .page-link { background: #4f46e5; border-color: #4f46e5; color: #fff; box-shadow: 0 8px 16px -10px rgba(79, 70, 229, .9); }
ul.pagination .page-item.disabled .page-link { background: #f8fafc; color: #cbd5e1; border-color: transparent; transform: none; }
ul.pagination .page-item:first-child .page-link, ul.pagination .page-item:last-child .page-link { font-size: 1rem; }

/* Dashboard: the to-do list (needs attention) and the recent activity feed. */
.rdb-todo { display: flex; align-items: center; gap: .7rem; padding: .55rem .7rem; margin-bottom: .4rem; border-radius: 12px; background: #f8fafc; border: 1px solid var(--line, rgba(0, 0, 0, .06)); border-left: 4px solid #6366f1; color: inherit; text-decoration: none; transition: .15s; }
a.rdb-todo:hover { transform: translateX(2px); border-color: #a5b4fc; color: inherit; }
.rdb-todo.warn { border-left-color: #f59e0b; } .rdb-todo.danger { border-left-color: #ef4444; }
.rdb-todo > i:first-child { font-size: 1.1rem; color: #64748b; } .rdb-todo-txt { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.25; } .rdb-todo-txt b { font-size: .84rem; } .rdb-todo-txt small { font-size: .72rem; color: var(--muted, #64748b); }
.rdb-todo em { font-style: normal; font-weight: 800; font-size: .84rem; min-width: 28px; text-align: center; padding: .05rem .5rem; border-radius: 999px; background: #fff; border: 1px solid var(--line, rgba(0, 0, 0, .08)); } .rdb-todo .go { color: #94a3b8; font-size: .8rem; }
.rdb-clear { display: flex; align-items: center; gap: .7rem; padding: 1rem; border-radius: 12px; background: #f3fbf7; color: #047857; } .rdb-clear > i { font-size: 1.6rem; } .rdb-clear b { display: block; } .rdb-clear span { font-size: .8rem; color: var(--muted, #64748b); }
.rdb-feed { display: grid; grid-template-columns: auto 1fr auto; gap: .6rem; align-items: center; padding: .4rem .2rem; border-bottom: 1px solid var(--line, rgba(0, 0, 0, .05)); color: inherit; text-decoration: none; } .rdb-feed:hover { background: #f8fafc; color: inherit; }
.rdb-feed .iv-av { width: 30px; height: 30px; font-size: .68rem; } .rdb-feed span { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; } .rdb-feed strong { font-size: .8rem; } .rdb-feed small { font-size: .72rem; color: var(--muted, #64748b); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .rdb-feed em { font-style: normal; font-size: .7rem; color: #94a3b8; white-space: nowrap; }

/* Dashboard: no half-empty rows. Six figure tiles fill one row (3 x 2 on tablets, 2 x 3 on phones). */
.rdb-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1199px) { .rdb-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575px) { .rdb-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rdb-tile { padding: .6rem .7rem; } }
.rdb-tile { min-width: 0; } .rdb-tile > div { min-width: 0; }

/* Attention items and feed lines sit in a grid, so a short list takes one row instead of leaving a tall card half empty. */
.rdb-todos { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: .5rem; } .rdb-todos .rdb-todo { margin: 0; } .rdb-todos .rdb-clear { grid-column: 1 / -1; }
.rdb-feeds { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 1.2rem; }
.rdb-cols { height: 150px; } .rdb-bar { margin-bottom: .55rem; } .rdb-track { height: 16px; }

/* Loans: summary tiles, the paired month columns, the status split and the due lists. */
.ln-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
@media (max-width: 991px) { .ln-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ln-tile { display: flex; gap: .75rem; align-items: center; padding: .8rem 1rem; border-radius: 14px; background: #fff; border: 1px solid var(--line, rgba(0, 0, 0, .08)); min-width: 0; }
.ln-tile > i { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: #eef2ff; color: #4f46e5; font-size: 1.2rem; } .ln-tile > div { min-width: 0; }
.ln-tile b { display: block; font-size: 1.25rem; line-height: 1.1; font-variant-numeric: tabular-nums; } .ln-tile span { display: block; font-size: .76rem; font-weight: 700; } .ln-tile small { color: var(--muted, #64748b); font-size: .7rem; }
.ln-tile.bad { border-color: #fecaca; background: #fffafa; } .ln-tile.bad > i { background: #fee2e2; color: #dc2626; } .ln-tile.bad b { color: #b91c1c; }
.ln-legend { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .72rem; color: var(--muted, #64748b); font-weight: 600; } .ln-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .25rem; } .ln-legend .out, .ln-cols .out { background: #6366f1; } .ln-legend .in, .ln-cols .in { background: #34d399; }
.ln-cols { display: flex; align-items: flex-end; gap: .35rem; height: 170px; margin-top: .6rem; }
.ln-cols > div { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.ln-cols .pair { display: flex; align-items: flex-end; justify-content: center; gap: 2px; width: 100%; height: calc(100% - 18px); } .ln-cols .pair i { display: block; width: 45%; max-width: 14px; border-radius: 4px 4px 1px 1px; }
.ln-cols em { font-style: normal; font-size: .58rem; color: var(--muted, #64748b); white-space: nowrap; }
.ln-split { display: flex; gap: 3px; height: 12px; } .ln-split i { display: block; border-radius: 99px; min-width: 8px; }
.ln-count { margin-left: .4rem; padding: .05rem .6rem; border-radius: 999px; background: #eef2ff; color: #4f46e5; font-size: .72rem; font-weight: 800; } .ln-count.bad { background: #fee2e2; color: #b91c1c; }
.ln-due { display: grid; grid-template-columns: auto 1fr auto; gap: .6rem; align-items: center; padding: .45rem .3rem; border-bottom: 1px solid var(--line, rgba(0, 0, 0, .05)); color: inherit; text-decoration: none; } .ln-due:hover { background: #f8fafc; color: inherit; }
.ln-due .iv-av { width: 30px; height: 30px; font-size: .68rem; } .ln-due span { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; } .ln-due strong { font-size: .8rem; } .ln-due small { font-size: .7rem; color: var(--muted, #64748b); }
.ln-due em { font-style: normal; font-weight: 800; font-size: .84rem; text-align: right; display: flex; flex-direction: column; } .ln-due em small { font-weight: 600; } .ln-due.bad em { color: #b91c1c; }
.ln-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: .8rem; }
.ln-plan { display: flex; flex-direction: column; gap: .6rem; padding: .9rem 1rem; border-radius: 16px; background: #fff; border: 1px solid var(--line, rgba(0, 0, 0, .08)); } .ln-plan.off { opacity: .7; background: #f8fafc; }
.ln-plan-head { display: flex; align-items: center; gap: .6rem; } .ln-plan-head small { display: block; color: var(--muted, #64748b); font-size: .7rem; } .ln-plan-ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: #eef2ff; color: #4f46e5; }
.ln-plan-rate b { font-size: 1.6rem; line-height: 1; } .ln-plan-rate span { display: block; font-size: .72rem; color: var(--muted, #64748b); font-weight: 600; }
.ln-facts { margin: 0; display: grid; gap: .3rem; } .ln-facts > div { display: grid; grid-template-columns: 5rem 1fr; gap: .5rem; font-size: .8rem; } .ln-facts dt { color: var(--muted, #64748b); font-weight: 600; } .ln-facts dd { margin: 0; font-weight: 600; }
.ln-plan-foot { display: flex; align-items: center; gap: .4rem; margin-top: auto; padding-top: .4rem; border-top: 1px solid var(--line, rgba(0, 0, 0, .06)); } .ln-plan-foot form { margin: 0; }
.ln-checks { list-style: none; margin: 0 0 .6rem; padding: 0; display: grid; gap: .35rem; } .ln-checks li { display: flex; gap: .6rem; align-items: flex-start; padding: .45rem .6rem; border-radius: 10px; background: #f8fafc; } .ln-checks i { margin-top: .1rem; }
.ln-checks .ok i { color: #10b981; } .ln-checks .no { background: #fef2f2; } .ln-checks .no i { color: #ef4444; } .ln-checks span { display: flex; flex-direction: column; line-height: 1.3; } .ln-checks b { font-size: .8rem; } .ln-checks small { font-size: .72rem; color: var(--muted, #64748b); }
.ln-max { font-size: .82rem; padding: .5rem .7rem; border-radius: 10px; background: #eef2ff; color: #4338ca; } .ln-max b { font-size: 1rem; }
.ln-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: .5rem; margin-bottom: .6rem; } .ln-sum > div { padding: .45rem .7rem; border-radius: 10px; background: #f8fafc; } .ln-sum span { display: block; font-size: .68rem; color: var(--muted, #64748b); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; } .ln-sum b { font-size: 1rem; font-variant-numeric: tabular-nums; }
.ln-sched { max-height: 380px; overflow-y: auto; }
.ln-progress { position: relative; height: 24px; border-radius: 999px; background: #e8ecf3; overflow: hidden; } .ln-progress i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #34d399, #10b981); border-radius: 999px; } .ln-progress span { position: relative; display: block; text-align: center; font-size: .74rem; font-weight: 800; line-height: 24px; color: #065f46; }
.ln-pay { display: flex; align-items: center; gap: .7rem; padding: .5rem .2rem; border-bottom: 1px solid var(--line, rgba(0, 0, 0, .06)); } .ln-pay.off { opacity: .55; } .ln-pay form { margin: 0; }
.ln-pay-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #ecfdf5; color: #059669; flex: none; }
.ln-stmt { width: 100%; border-collapse: collapse; } .ln-stmt td { padding: .6rem .3rem; border-bottom: 1px solid var(--line, rgba(0, 0, 0, .06)); font-size: .86rem; } .ln-stmt td:last-child { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; } .ln-stmt small { display: block; color: var(--muted, #64748b); font-weight: 500; font-size: .72rem; }
.ln-stmt .total td { border-bottom: 0; font-size: 1.05rem; font-weight: 800; background: #eef2ff; color: #4338ca; border-radius: 10px; padding: .75rem .6rem; }
.ln-sched td, .ln-sched th { white-space: nowrap; }
.ln-total td { font-weight: 800; background: #eef2ff; color: #4338ca; border-top: 2px solid #c7d2fe; }

/* Loan calculator charts: a ring, stacked instalment columns, a falling balance line and a method comparison, in plain SVG / CSS. */
.ln-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.ln-chart { padding: .8rem 1rem; border-radius: 14px; background: #fff; border: 1px solid var(--line, rgba(0, 0, 0, .08)); min-width: 0; } .ln-chart h3 { font-size: .86rem; font-weight: 800; margin: 0 0 .5rem; }
.ln-wide { grid-column: span 1; } .ln-ring-card { grid-column: span 1; }
@media (max-width: 991px) { .ln-charts { grid-template-columns: 1fr; } }
.ln-ring-wrap { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; } .ln-ring-n { font-size: 15px; font-weight: 800; fill: #0f172a; } .ln-ring-l { font-size: 9px; fill: #64748b; }
.ln-key { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; flex: 1; min-width: 12rem; } .ln-key li { display: grid; grid-template-columns: 12px 1fr auto auto; gap: .5rem; align-items: center; font-size: .82rem; } .ln-key i { width: 12px; height: 12px; border-radius: 4px; } .ln-key em { font-style: normal; color: var(--muted, #64748b); font-size: .74rem; min-width: 2.8rem; text-align: right; }
.ln-stack { display: flex; align-items: flex-end; gap: 2px; height: 170px; margin-top: .4rem; }
.ln-stack > div { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 3px; }
.ln-stack .bar { display: flex; flex-direction: column; width: 100%; max-width: 26px; border-radius: 5px 5px 1px 1px; overflow: hidden; } .ln-stack .bar i { display: block; } .ln-stack .int { background: #f59e0b; } .ln-stack .prin { background: #6366f1; }
.ln-stack em { font-style: normal; font-size: .58rem; color: var(--muted, #64748b); height: 10px; line-height: 10px; white-space: nowrap; }
.ln-axis-note { font-size: .72rem; color: var(--muted, #64748b); margin-top: .5rem; }
.ln-line { width: 100%; height: 190px; display: block; } .ln-xlabels { display: flex; justify-content: space-between; font-size: .68rem; color: var(--muted, #64748b); margin-top: .2rem; }
.ln-chart .rdb-bar { grid-template-columns: 8.5rem 1fr 5.5rem 3.2rem; }

/* Loan reports hub: a tinted icon beside the name and what the report answers. */
.ln-report-card { transition: transform .12s, box-shadow .12s; } .ln-report-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(15, 23, 42, .08); }
.ln-report-ico { width: 38px; height: 38px; border-radius: 11px; background: rgba(99, 102, 241, .12); color: #4f46e5; display: grid; place-items: center; flex: none; font-size: 1.1rem; }

/* Loan report page: facts (as of, period, band totals) as small chips on the left, Print/Export on the right, the table below. */
.ln-rep-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; padding: .6rem .8rem; border-bottom: 1px solid var(--line, rgba(0, 0, 0, .08)); }
.ln-rep-meta { display: flex; flex-wrap: wrap; gap: .4rem; } .ln-rep-meta span { background: rgba(99, 102, 241, .08); border-radius: 999px; padding: .2rem .7rem; font-size: .76rem; } .ln-rep-meta em { font-style: normal; color: var(--muted, #64748b); margin-right: .2rem; }
.ln-rep-total td { background: rgba(99, 102, 241, .06); }

/* Disciplinary (roadmap 2.16): the pipeline board, case cards, record blocks, the stage settings list and the printable letter. */
.dc-board { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .7rem; align-items: start; }
.dc-col { background: rgba(255, 255, 255, .7); border: 1px solid var(--line, rgba(0, 0, 0, .08)); border-radius: 14px; padding: .55rem; min-width: 0; }
.dc-col header { display: flex; align-items: center; gap: .45rem; font-size: .8rem; margin-bottom: .45rem; } .dc-col header b { flex: 1; min-width: 0; font-weight: 800; }
.dc-col header .dot { width: 20px; height: 20px; border-radius: 50%; background: rgba(99, 102, 241, .14); color: #4f46e5; display: grid; place-items: center; font-size: .66rem; font-weight: 800; flex: none; }
.dc-col header em { font-style: normal; font-size: .72rem; background: #eef2ff; color: #4338ca; border-radius: 999px; padding: 0 .5rem; }
.dc-card { display: grid; gap: .1rem; background: #fff; border: 1px solid var(--line, rgba(0, 0, 0, .08)); border-radius: 10px; padding: .45rem .6rem; margin-bottom: .4rem; text-decoration: none; color: inherit; font-size: .78rem; } .dc-card:hover { box-shadow: 0 6px 16px rgba(15, 23, 42, .08); }
.dc-card.late { border-color: #fca5a5; background: #fff7f7; } .dc-card small { color: var(--muted, #64748b); } .dc-empty { text-align: center; color: #cbd5e1; font-size: .8rem; }
.dc-chip { display: inline-block; background: rgba(99, 102, 241, .08); border-radius: 999px; padding: .12rem .6rem; margin: 0 .25rem .2rem 0; font-size: .74rem; color: inherit; }
.dc-cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .6rem; } .dc-case { display: grid; gap: .15rem; padding: .6rem .8rem; border: 1px solid var(--line, rgba(0, 0, 0, .08)); border-radius: 12px; background: #fff; text-decoration: none; color: inherit; justify-items: start; } .dc-case:hover { box-shadow: 0 6px 16px rgba(15, 23, 42, .08); }
.dc-facts { display: grid; grid-template-columns: 7rem 1fr; gap: .2rem .8rem; font-size: .85rem; margin-bottom: .6rem; } .dc-facts dt { color: var(--muted, #64748b); font-weight: 600; } .dc-facts dd { margin: 0; }
.dc-rec { border: 1px solid var(--line, rgba(0, 0, 0, .08)); border-radius: 12px; padding: .6rem .8rem; margin-bottom: .6rem; background: #fff; display: grid; gap: .3rem; } .dc-rec.old { opacity: .65; }
.dc-sub { border-left: 3px solid #c7d2fe; padding-left: .6rem; font-size: .84rem; }
.dc-add { margin-top: .4rem; } .dc-add > summary { cursor: pointer; font-size: .82rem; font-weight: 700; color: #4f46e5; list-style: none; } .dc-add > summary::-webkit-details-marker { display: none; }
.dc-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .3rem; max-height: 14rem; overflow: auto; } .dc-pick label { display: flex; align-items: center; gap: .45rem; font-size: .82rem; padding: .25rem .5rem; border-radius: 8px; border: 1px solid transparent; cursor: pointer; } .dc-pick label:hover, .dc-pick label.on { background: rgba(99, 102, 241, .08); } .dc-pick small { color: var(--muted, #64748b); margin-left: auto; }
.dc-row { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .4rem; margin-bottom: .4rem; align-items: center; } .dc-row > button { flex: none; width: 2.2rem; grid-auto-columns: auto; }
.dc-stages { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; } .dc-stages li { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; padding: .45rem .7rem; border: 1px solid var(--line, rgba(0, 0, 0, .08)); border-radius: 12px; background: #fff; } .dc-stages li.drag { opacity: .4; } .dc-stages li:not(.fixed) { cursor: grab; }
.dc-stages .grip { color: #94a3b8; } .dc-stages .dc-lbl { width: 12rem; } .dc-stages .dc-what { flex: 1; min-width: 14rem; }
.dc-letter { max-width: 760px; margin: 0 auto; background: #fff; padding: 2.2rem 2.6rem; border: 1px solid #e2e8f0; border-radius: 6px; line-height: 1.55; } .dc-letter header { border-bottom: 2px solid #0f172a; padding-bottom: .6rem; margin-bottom: 1rem; } .dc-letter h1 { font-size: 1.3rem; } .dc-letter h2 { font-size: 1rem; margin-top: 1rem; } .dc-sign { display: flex; justify-content: space-between; margin-top: 3.5rem; font-size: .85rem; } .dc-sign span { border-top: 1px solid #0f172a; padding-top: .3rem; min-width: 14rem; text-align: center; }
@media print { .dc-letter { border: 0; padding: 0; } }
.dc-moves { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: .7rem; } .dc-move { display: grid; gap: .4rem; align-content: start; border: 1px solid var(--line, rgba(0, 0, 0, .08)); border-radius: 12px; padding: .6rem .7rem; background: rgba(248, 250, 252, .7); } .dc-move-t { font-size: .78rem; font-weight: 800; color: #475569; }
.dc-todo { list-style: none; margin: 0 0 .7rem; padding: .5rem .7rem; display: grid; gap: .3rem; background: rgba(99, 102, 241, .06); border-radius: 12px; font-size: .84rem; } .dc-todo li { display: flex; gap: .5rem; align-items: baseline; } .dc-todo i { color: #94a3b8; } .dc-todo li.done i { color: #16a34a; } .dc-todo li.done { color: #64748b; text-decoration: line-through; } .dc-todo a { color: inherit; text-decoration: underline dotted; }
.dc-here { outline: 2px solid rgba(99, 102, 241, .45); outline-offset: 2px; } .dc-here > .panel-title::after { content: "You are here"; margin-left: .6rem; font-size: .66rem; font-weight: 800; background: #4f46e5; color: #fff; border-radius: 999px; padding: .1rem .55rem; vertical-align: middle; }
.dc-now { display: flex; gap: .9rem; align-items: center; padding: .7rem 1rem; border-radius: 14px; background: linear-gradient(135deg, rgba(99, 102, 241, .12), rgba(59, 130, 246, .08)); border: 1px solid rgba(99, 102, 241, .25); }
.dc-now-step { display: grid; justify-items: center; line-height: 1.1; min-width: 3.4rem; padding: .3rem .5rem; border-radius: 12px; background: #4f46e5; color: #fff; } .dc-now-step b { font-size: 1.5rem; } .dc-now-step small { font-size: .62rem; opacity: .85; text-transform: uppercase; letter-spacing: .04em; }
.dc-now-text .t { font-weight: 800; font-size: 1.05rem; } .dc-now-text .d { font-size: .88rem; } .dc-now-text .n { font-size: .78rem; color: #64748b; margin-top: .15rem; }
.sf-pipe .node.viewing .name { text-decoration: underline; text-underline-offset: 3px; } .sf-pipe a.node { text-decoration: none; color: inherit; }
.dc-now { flex-wrap: wrap; } .dc-now-nav { margin-left: auto; display: flex; gap: .4rem; flex-wrap: wrap; } .dc-now.later { background: #f8fafc; border-color: #e2e8f0; } .dc-now.done { background: linear-gradient(135deg, rgba(22, 163, 74, .1), rgba(59, 130, 246, .05)); border-color: rgba(22, 163, 74, .25); } .dc-now.done .dc-now-step { background: #16a34a; } .dc-now.later .dc-now-step { background: #94a3b8; }
/* One card per step: the records and forms inside it lose their own card look, so there is a single place to fill in and a single Next button. */
.dc-stepcard .glass.panel { background: transparent; border: 0; box-shadow: none; padding: 0; margin: 0 0 .9rem !important; backdrop-filter: none; } .dc-stepcard .glass.panel > .panel-title { font-size: .92rem; }
.dc-main { padding: .7rem .8rem; border: 1px solid var(--line, rgba(0, 0, 0, .08)); border-radius: 12px; background: #fff; margin-bottom: .8rem; }
.dc-foot { border-top: 1px dashed var(--line, rgba(0, 0, 0, .15)); padding-top: .8rem; display: grid; gap: .6rem; } .dc-nextbar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; } .dc-nextbar input { flex: 1; min-width: 12rem; }
.dc-more > summary { font-weight: 600; color: #64748b; }
.dc-stepcard .dc-here { outline: 0; } .dc-stepcard .dc-here > .panel-title::after { content: none; }
.dc-tools { display: flex; flex-wrap: wrap; gap: .8rem; align-items: baseline; margin-top: .3rem; } .dc-tools .dc-edit { margin: 0; } .dc-del { border: 0; background: none; padding: 0; font-size: .82rem; font-weight: 700; color: #b91c1c; cursor: pointer; }
/* Configure Pipeline window: available stages (ticks) and the ordered, draggable list of the selected ones. */
.dc-pipe-box { border: 1px solid var(--line, rgba(0, 0, 0, .1)); border-radius: 14px; padding: .8rem; background: #f8fafc; height: 100%; display: grid; gap: .45rem; align-content: start; }
.dc-pipe-opt { display: flex; align-items: center; gap: .55rem; font-size: .9rem; cursor: pointer; } .dc-pipe-opt small { margin-left: auto; color: #94a3b8; font-size: .68rem; }
.dc-pipe-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; } .dc-pipe-list li { display: flex; align-items: center; gap: .6rem; padding: .4rem .6rem; border-radius: 12px; background: #e8efff; } .dc-pipe-list li[hidden] { display: none; } .dc-pipe-list li.drag { opacity: .4; } .dc-pipe-list li:not(.fixed) { cursor: grab; }
.dc-pipe-list .no { width: 1.4rem; font-weight: 700; color: #475569; } .dc-pipe-list .nm { flex: 1; font-weight: 600; font-size: .9rem; } .dc-pipe-list .hd, .dc-pipe-list .dn { width: 2rem; height: 2rem; display: grid; place-items: center; border: 1px solid #dbe3f3; border-radius: 9px; background: #fff; color: #64748b; padding: 0; }
.dc-pipeline { display: flex; flex-wrap: wrap; gap: .5rem; align-items: stretch; margin-bottom: 1rem; } .dc-pipeline .st { flex: 1; min-width: 8.5rem; border: 1px solid var(--line, rgba(0, 0, 0, .1)); border-radius: 14px; padding: .6rem .8rem; background: #fff; } .dc-pipeline .st b { display: block; font-size: .8rem; } .dc-pipeline .st .n { font-size: 1.4rem; font-weight: 800; color: #4f46e5; line-height: 1.1; } .dc-pipeline .st small { color: #64748b; }
.dc-person { border: 1px solid var(--line, rgba(0, 0, 0, .08)); border-radius: 12px; padding: .6rem .8rem; background: #fff; height: 100%; } .dc-who { display: grid; padding: .25rem 0; border-bottom: 1px dashed #e2e8f0; } .dc-who:last-child { border-bottom: 0; }
.dc-sibs { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; } .dc-sibs-mid { font-size: .82rem; font-weight: 700; color: #4f46e5; text-decoration: none; }
.dc-rowbtns { display: inline-flex; gap: .35rem; align-items: center; flex-wrap: wrap; } .dc-closebox { min-width: 17rem; }
.dc-detail > td { border-top: 0 !important; padding-top: 0 !important; background: rgba(248, 250, 252, .6); } .dc-det { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .3rem 1rem; padding: .2rem 0 .5rem; white-space: normal; } .dc-det div { display: grid; font-size: .78rem; } .dc-det b { color: #64748b; font-weight: 700; font-size: .68rem; text-transform: uppercase; letter-spacing: .03em; } .dc-det .wide { grid-column: 1 / -1; }
/* Complainee cards: avatar, name, a stage track, the facts that exist as chips, and the Move next / Close buttons. */
.dc-cx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: .9rem; }
.dc-cx { position: relative; display: grid; gap: .7rem; padding: .9rem 1rem; border-radius: 18px; background: linear-gradient(180deg, #fff, #f8faff); border: 1px solid var(--line, rgba(0, 0, 0, .08)); box-shadow: 0 6px 20px rgba(15, 23, 42, .05); overflow: visible; }
.dc-cx::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: linear-gradient(180deg, #6366f1, #3b82f6); } .dc-cx.late::before { background: #ef4444; } .dc-cx.closed::before { background: #94a3b8; } .dc-cx.closed { background: #f8fafc; }
.dc-cx header { display: flex; gap: .7rem; align-items: center; } .dc-cx .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .9rem; color: #fff; background: linear-gradient(135deg, #6366f1, #8b5cf6); flex: none; } .dc-cx.closed .av { background: #94a3b8; }
.dc-cx .who { flex: 1; min-width: 0; display: grid; } .dc-cx .nm { font-weight: 800; text-decoration: none; color: #0f172a; } .dc-cx .who small { color: #64748b; font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-cx .trk { position: relative; display: flex; justify-content: space-between; align-items: center; height: 14px; } .dc-cx .trk::before { content: ""; position: absolute; left: 5px; right: 5px; top: 6px; height: 3px; background: #e2e8f0; border-radius: 3px; } .dc-cx .trk i { position: absolute; left: 5px; top: 6px; height: 3px; background: linear-gradient(90deg, #6366f1, #3b82f6); border-radius: 3px; max-width: calc(100% - 10px); }
.dc-cx .trk b { position: relative; width: 12px; height: 12px; border-radius: 50%; background: #e2e8f0; border: 2px solid #fff; box-shadow: 0 0 0 1px #cbd5e1; } .dc-cx .trk b.done { background: #6366f1; box-shadow: 0 0 0 1px #6366f1; } .dc-cx .trk b.cur { background: #fff; box-shadow: 0 0 0 3px rgba(99, 102, 241, .35), 0 0 0 1px #6366f1; }
.dc-cx .chips { display: flex; flex-wrap: wrap; gap: .35rem; } .dc-cx .c { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; padding: .18rem .6rem; border-radius: 999px; background: #eef2ff; color: #3730a3; text-decoration: none; } .dc-cx .c.code { background: #f1f5f9; color: #475569; font-family: ui-monospace, monospace; } .dc-cx .c.bad { background: #fee2e2; color: #b91c1c; } .dc-cx .c.warn { background: #fef3c7; color: #92400e; }
.dc-cx footer { display: flex; gap: .4rem; border-top: 1px dashed #e2e8f0; padding-top: .7rem; }
.dc-soft { opacity: .7; }   /* not ready yet, but still clickable: pressing it says what is missing */
.dc-assess { display: grid; gap: .45rem; padding: .7rem .8rem; border-radius: 12px; background: #eef2ff; font-size: .85rem; }
.dc-pipeline a.st { text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s; } .dc-pipeline a.st:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15, 23, 42, .08); } .dc-pipeline a.st.on { border-color: #6366f1; background: linear-gradient(180deg, #fff, #eef2ff); box-shadow: 0 0 0 2px rgba(99, 102, 241, .25); }
.dc-notice { display: grid; gap: .5rem; padding: .7rem .8rem; border-radius: 12px; background: #eef2ff; font-size: .85rem; } .dc-notice .nrow { padding: .4rem .55rem; border-radius: 10px; background: #fff; display: grid; gap: .15rem; } .dc-send { display: grid; gap: .45rem; }
.dc-quick { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; } .dc-quick .dc-kind { width: auto; min-width: 9.5rem; } .dc-fl { padding: .45rem .6rem; border-radius: 10px; background: #fff; border-left: 3px solid #6366f1; display: grid; gap: .1rem; } .dc-log { display: grid; gap: .35rem; } .dc-log > b { font-size: .75rem; color: #64748b; text-transform: uppercase; letter-spacing: .03em; }
.dc-mailform { display: grid; gap: .7rem; } .dc-who-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .35rem; } .dc-who-pick label { display: flex; align-items: center; gap: .5rem; padding: .4rem .6rem; border-radius: 10px; border: 1px solid var(--line, rgba(0, 0, 0, .08)); background: #fff; cursor: pointer; } .dc-who-pick small { color: #64748b; margin-left: auto; font-size: .7rem; }
/* Show-Cause tab: Send mail (kind tiles, people pills, one send row) and the Mail log timeline. */
.dc-fl2 { display: flex; gap: .5rem; align-items: baseline; font-size: .8rem; color: #475569; background: #f1f5f9; border-radius: 10px; padding: .4rem .65rem; } .dc-fl2 i { color: #6366f1; } .dc-fl2 em { color: #64748b; }
.dc-mp-head { display: flex; gap: .75rem; align-items: center; margin-bottom: .9rem; } .dc-mp-head .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #6366f1, #3b82f6); font-size: 1.05rem; } .dc-mp-head .ico.alt { background: linear-gradient(135deg, #0ea5e9, #14b8a6); }
.dc-step-t { display: flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 800; margin: .3rem 0 .1rem; } .dc-step-t span { width: 20px; height: 20px; border-radius: 50%; background: #4f46e5; color: #fff; display: grid; place-items: center; font-size: .68rem; }
.dc-kinds { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .6rem; } .dc-kind-tile { position: relative; display: grid; gap: .15rem; justify-items: start; padding: .75rem .85rem; border-radius: 16px; border: 2px solid #e2e8f0; background: #fff; cursor: pointer; transition: .15s; } .dc-kind-tile input { position: absolute; opacity: 0; } .dc-kind-tile .ti { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 1.05rem; margin-bottom: .2rem; } .dc-kind-tile b { font-size: .92rem; } .dc-kind-tile small { color: #64748b; font-size: .72rem; line-height: 1.25; }
.dc-kind-tile.rose .ti { background: #ffe4e6; color: #be123c; } .dc-kind-tile.amber .ti { background: #fef3c7; color: #b45309; } .dc-kind-tile.sky .ti { background: #e0f2fe; color: #0369a1; } .dc-kind-tile:has(input:checked) { border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99, 102, 241, .18); transform: translateY(-1px); }
.dc-people { display: flex; flex-wrap: wrap; gap: .5rem; } .dc-person-pill { position: relative; display: flex; align-items: center; gap: .55rem; padding: .35rem .8rem .35rem .4rem; border-radius: 999px; border: 2px solid #e2e8f0; background: #fff; cursor: pointer; } .dc-person-pill input { position: absolute; opacity: 0; } .dc-person-pill .av { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff; display: grid; place-items: center; font-size: .75rem; font-weight: 800; } .dc-person-pill .tx { display: grid; line-height: 1.15; } .dc-person-pill b { font-size: .82rem; } .dc-person-pill small { font-size: .68rem; color: #64748b; } .dc-person-pill .ck { color: #cbd5e1; } .dc-person-pill:has(input:checked) { border-color: #6366f1; background: #eef2ff; } .dc-person-pill:has(input:checked) .ck { color: #4f46e5; }
.dc-send-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; padding: .7rem .9rem; border-radius: 14px; background: #f8fafc; } .dc-send-row .dc-reply { display: flex; align-items: center; gap: .5rem; } .dc-send-row .dc-reply label { white-space: nowrap; } .dc-send-row .form-check { margin: 0; } .dc-compose { resize: vertical; min-height: 7rem; }
.dc-logempty { display: grid; justify-items: center; gap: .2rem; padding: 1.2rem; color: #94a3b8; font-size: .85rem; } .dc-logempty i { font-size: 1.6rem; }
.dc-timeline { list-style: none; margin: 0; padding: 0 0 0 .3rem; display: grid; gap: .8rem; }
.dc-timeline li { display: flex; gap: .8rem; position: relative; } .dc-timeline li:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 36px; bottom: -.8rem; width: 2px; background: #e2e8f0; }   /* a line from each dot to the next, none after the last */ .dc-timeline .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; border: 3px solid #fff; box-shadow: 0 0 0 1px #e2e8f0; z-index: 1; } .dc-timeline li.rose .dot { background: #ffe4e6; color: #be123c; } .dc-timeline li.amber .dot { background: #fef3c7; color: #b45309; } .dc-timeline li.sky .dot { background: #e0f2fe; color: #0369a1; }
.dc-timeline .body { flex: 1; min-width: 0; background: #fff; border: 1px solid var(--line, rgba(0, 0, 0, .08)); border-radius: 14px; padding: .55rem .8rem; } .dc-timeline .top { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .86rem; } .dc-timeline .meta { font-size: .72rem; color: #64748b; } .dc-timeline .reply { margin-top: .3rem; padding: .3rem .55rem; border-radius: 9px; background: #ecfdf5; font-size: .78rem; } .dc-timeline .reply i { color: #16a34a; }
.dc-mailhead { display: grid; gap: .4rem; padding: .6rem .8rem; border-radius: 14px; background: #f8fafc; } .dc-mailhead .row-l { display: grid; grid-template-columns: 5.5rem 1fr; gap: .6rem; align-items: center; } .dc-mailhead label { font-size: .75rem; font-weight: 800; color: #64748b; text-transform: uppercase; letter-spacing: .03em; margin: 0; } .dc-mailhead .to-list { display: flex; flex-wrap: wrap; gap: .3rem; } .dc-mailhead .chip { background: #eef2ff; color: #3730a3; border-radius: 999px; padding: .15rem .65rem; font-size: .76rem; } .dc-mailhead .chip small { color: #64748b; }
/* Investigation tab: the mails sent, the board of each complainee, the conclusion. */
.dc-inv { display: grid; gap: .6rem; } .dc-mailsum { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; font-size: .78rem; } .dc-mailsum > b { color: #64748b; font-size: .72rem; text-transform: uppercase; letter-spacing: .03em; }
.dc-board-box { border: 1px solid #dbe3f3; border-radius: 14px; background: #f8faff; padding: .6rem .7rem; display: grid; gap: .5rem; } .dc-board-box .bh { display: flex; justify-content: space-between; align-items: center; }
.dc-mem { background: #fff; border: 1px solid var(--line, rgba(0, 0, 0, .08)); border-radius: 12px; padding: .45rem .6rem; display: grid; gap: .3rem; } .dc-mem .mh { display: flex; align-items: center; gap: .55rem; } .dc-mem .av.sm { width: 30px; height: 30px; font-size: .7rem; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; flex: none; background: linear-gradient(135deg, #6366f1, #8b5cf6); } .dc-mem .av.sm.external { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.dc-mem .tx { flex: 1; min-width: 0; display: grid; line-height: 1.2; } .dc-mem .tx b { font-size: .84rem; } .dc-mem .tx small { color: #64748b; font-size: .7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .dc-mem .tag { font-size: .62rem; font-weight: 800; padding: .05rem .45rem; border-radius: 999px; margin-left: .3rem; vertical-align: middle; } .dc-mem .tag.internal { background: #eef2ff; color: #3730a3; } .dc-mem .tag.external { background: #fef3c7; color: #92400e; }
.dc-mem .acts { display: flex; gap: .25rem; } .dc-mem .ib { border: 1px solid #e2e8f0; background: #fff; border-radius: 8px; width: 28px; height: 28px; color: #64748b; } .dc-mem .ib:hover { color: #4f46e5; border-color: #c7d2fe; } .dc-mem .ib.del:hover { color: #b91c1c; border-color: #fecaca; }
.dc-mem .rep { font-size: .76rem; background: #ecfdf5; border-radius: 8px; padding: .25rem .5rem; } .dc-mem .rep i { color: #16a34a; }
.dc-memform { display: grid; gap: .4rem; margin-top: .4rem; }
.dc-concl { display: grid; gap: .4rem; padding: .6rem .7rem; border-radius: 12px; background: #eef2ff; font-size: .85rem; } .dc-concl.done { grid-auto-flow: column; justify-content: start; gap: .6rem; align-items: start; background: #ecfdf5; } .dc-concl.done > i { color: #16a34a; font-size: 1.2rem; }
.dc-added { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: #92400e; background: #fffbeb; border-radius: 10px; padding: .35rem .6rem; }
.dc-cx { min-width: 0; } .dc-cx > * { min-width: 0; } .dc-cx-grid.wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); } .dc-cx-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); } .dc-cx-grid.wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); }
.dc-boards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: .7rem; }
.dc-invform { display: grid; gap: .6rem; }
/* Conclude the investigation: a card per complainee with the board's reports, the findings box and two recommendation tiles. */
.dc-concl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: .9rem; }
.dc-cc { position: relative; display: grid; gap: .65rem; align-content: start; padding: .9rem 1rem; border-radius: 18px; background: linear-gradient(180deg, #fff, #f8faff); border: 1px solid var(--line, rgba(0, 0, 0, .08)); box-shadow: 0 6px 20px rgba(15, 23, 42, .05); min-width: 0; } .dc-cc::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: linear-gradient(180deg, #6366f1, #3b82f6); } .dc-cc.done::before { background: #16a34a; } .dc-cc.done { background: linear-gradient(180deg, #fff, #f3fbf6); }
.dc-cc header { display: flex; gap: .7rem; align-items: center; } .dc-cc .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85rem; color: #fff; background: linear-gradient(135deg, #6366f1, #8b5cf6); flex: none; } .dc-cc.done .av { background: linear-gradient(135deg, #16a34a, #22c55e); } .dc-cc .who { flex: 1; min-width: 0; display: grid; line-height: 1.2; } .dc-cc .who small { color: #64748b; font-size: .72rem; }
.dc-cc .evid { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; font-size: .75rem; padding: .45rem .6rem; border-radius: 10px; background: #f1f5f9; } .dc-cc .evid > b { color: #64748b; font-size: .68rem; text-transform: uppercase; letter-spacing: .03em; width: 100%; } .dc-cc .evid .c { display: inline-flex; gap: .25rem; align-items: center; background: #ecfdf5; color: #166534; border-radius: 999px; padding: .12rem .6rem; }
.dc-cc .res { font-size: .84rem; padding: .55rem .7rem; border-radius: 12px; background: #fff; border: 1px solid #dcfce7; }
.dc-concl-form { display: grid; gap: .55rem; }
.dc-recs { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; } .dc-rec-tile { position: relative; display: grid; gap: .1rem; justify-items: start; padding: .7rem .8rem; border-radius: 14px; border: 2px solid #e2e8f0; background: #fff; cursor: pointer; transition: .15s; } .dc-rec-tile input { position: absolute; opacity: 0; } .dc-rec-tile .ti { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: 1.05rem; margin-bottom: .15rem; } .dc-rec-tile b { font-size: .88rem; } .dc-rec-tile small { color: #64748b; font-size: .7rem; line-height: 1.25; }
.dc-rec-tile.go .ti { background: #dcfce7; color: #15803d; } .dc-rec-tile.stop .ti { background: #e2e8f0; color: #475569; } .dc-rec-tile.go:has(input:checked) { border-color: #16a34a; box-shadow: 0 0 0 3px rgba(22, 163, 74, .15); } .dc-rec-tile.stop:has(input:checked) { border-color: #64748b; box-shadow: 0 0 0 3px rgba(100, 116, 139, .18); }
/* Findings log, employee by employee: who responded and who has not. */
.dc-ring-n { font-size: 1.5rem; font-weight: 800; color: #4f46e5; line-height: 1; } .dc-ring-n small { font-size: .85rem; color: #94a3b8; }
.dc-fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: .9rem; }
.dc-fcard { display: grid; gap: .55rem; align-content: start; padding: .8rem .9rem; border-radius: 16px; border: 1px solid var(--line, rgba(0, 0, 0, .08)); background: linear-gradient(180deg, #fff, #f8faff); min-width: 0; } .dc-fcard header { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.dc-fbar { height: 6px; border-radius: 6px; background: #e2e8f0; overflow: hidden; } .dc-fbar i { display: block; height: 100%; background: linear-gradient(90deg, #6366f1, #22c55e); border-radius: 6px; }
.dc-fmem { display: grid; gap: .3rem; padding: .45rem .6rem; border-radius: 12px; background: #fff; border: 1px solid #e2e8f0; border-left-width: 4px; } .dc-fmem.yes { border-left-color: #22c55e; } .dc-fmem.no { border-left-color: #f59e0b; background: #fffdf7; }
.dc-fmem .mh { display: flex; align-items: center; gap: .55rem; } .dc-fmem .av.sm { width: 28px; height: 28px; font-size: .68rem; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; flex: none; background: linear-gradient(135deg, #6366f1, #8b5cf6); } .dc-fmem .av.sm.external { background: linear-gradient(135deg, #f59e0b, #ef4444); } .dc-fmem .tx { flex: 1; min-width: 0; display: grid; line-height: 1.2; } .dc-fmem .tx b { font-size: .82rem; } .dc-fmem .tx small { color: #64748b; font-size: .68rem; } .dc-fmem .tag { font-size: .6rem; font-weight: 800; padding: .05rem .4rem; border-radius: 999px; margin-left: .3rem; } .dc-fmem .tag.internal { background: #eef2ff; color: #3730a3; } .dc-fmem .tag.external { background: #fef3c7; color: #92400e; }
.dc-fmem .st { font-size: .7rem; font-weight: 800; white-space: nowrap; } .dc-fmem .st.yes { color: #15803d; } .dc-fmem .st.no { color: #b45309; }
.dc-fmem .rep { font-size: .78rem; background: #ecfdf5; border-radius: 8px; padding: .3rem .5rem; }
.dc-concl-all { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 1rem; padding: .8rem 1rem; border-radius: 16px; background: linear-gradient(135deg, rgba(99, 102, 241, .1), rgba(34, 197, 94, .08)); } .dc-concl-all .btn small { margin-left: .5rem; opacity: .85; font-weight: 600; }
.dc-ic { display: grid; gap: .35rem; padding: .6rem .75rem; border-radius: 12px; background: #ecfdf5; border-left: 3px solid #16a34a; font-size: .82rem; } .dc-ic .ic-h { display: flex; align-items: center; gap: .4rem; color: #166534; } .dc-ic .ic-h span { margin-left: auto; color: #64748b; font-size: .72rem; } .dc-ic .ic-t { white-space: pre-line; color: #0f172a; } .dc-ic .ic-r { display: flex; flex-wrap: wrap; gap: .3rem; } .dc-ic .ic-r .c { background: #fff; color: #166534; }
.dc-fin { display: grid; grid-template-columns: repeat(2, 1fr); gap: .45rem; } .dc-fin-tile { position: relative; display: flex; align-items: center; gap: .5rem; padding: .5rem .65rem; border-radius: 12px; border: 2px solid #e2e8f0; background: #fff; cursor: pointer; font-size: .82rem; transition: .15s; } .dc-fin-tile input { position: absolute; opacity: 0; } .dc-fin-tile i { font-size: 1.05rem; }
.dc-fin-tile.rose i { color: #be123c; } .dc-fin-tile.amber i { color: #b45309; } .dc-fin-tile.green i { color: #15803d; } .dc-fin-tile.slate i { color: #475569; }
.dc-fin-tile.rose:has(input:checked) { border-color: #e11d48; background: #fff1f2; } .dc-fin-tile.amber:has(input:checked) { border-color: #d97706; background: #fffbeb; } .dc-fin-tile.green:has(input:checked) { border-color: #16a34a; background: #f0fdf4; } .dc-fin-tile.slate:has(input:checked) { border-color: #64748b; background: #f1f5f9; }
.dc-dec .dc-act { display: grid; gap: .3rem; }
