/* =====================================================================
 *  EPM extensions on top of the EduDash theme
 * ===================================================================*/
:root {
  --epm-success: #16a34a; --epm-danger: #dc2626; --epm-warning: #f59e0b; --epm-info: #2563eb;
  --epm-toast-bg: #ffffff; --epm-toast-text: #1f2937; --epm-border: #e5e7eb; --epm-soft: #f5f7fa;
}
[data-theme=dark] { --epm-toast-bg: #273142; --epm-toast-text: #f1f5f9; --epm-border: #3a4659; --epm-soft: #1f2836; }

/* --------------------------------------------------------- logo / sidebar */
.sidebar-logo img { max-height: 40px; }
.sidebar-logo img.logo-icon { width: 40px; }
.sidebar-menu .sidebar-submenu li a .epm-sub-icon { font-size: 15px; margin-inline-end: 6px; opacity: .8; width: auto; }
.epm-menu-badge { margin-inline-start: auto; background: var(--epm-danger); color: #fff; border-radius: 20px; font-size: 11px; padding: 1px 7px; font-weight: 600; }
.sidebar.active .epm-sidebar-user .profile-dropdown__contents,
.sidebar.active .epm-sidebar-user .profile-dropdown__icon { display: none !important; }
.sidebar.active:hover .epm-sidebar-user .profile-dropdown__contents,
.sidebar.active:hover .epm-sidebar-user .profile-dropdown__icon { display: block !important; }
.sidebar.active .epm-sidebar-user .profile-dropdown__button { justify-content: center !important; padding: 6px !important; }
.sidebar.active:hover .epm-sidebar-user .profile-dropdown__button { justify-content: space-between !important; padding: 10px !important; }

/* --------------------------------------------------------- top bar */
.epm-top-search { position: relative; }
.epm-top-search input { width: 360px; max-width: 52vw; }
.epm-search-suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--white); border: 1px solid var(--epm-border); border-radius: 10px; z-index: 1050; display: none; max-height: 380px; overflow-y: auto; padding: 6px; }
.epm-search-suggest.show { display: block; }
.epm-suggest-item { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 8px; color: var(--text-primary-light); }
.epm-suggest-item:hover { background: var(--epm-soft); color: var(--primary-600); }
.epm-suggest-item i { font-size: 18px; color: var(--primary-600); }
.epm-suggest-item b { display: block; font-weight: 600; font-size: 14px; }
.epm-suggest-item small { color: #8a94a6; font-size: 12px; }
.epm-suggest-empty { padding: 10px; color: #8a94a6; font-size: 13px; text-align: center; }
.epm-notify-count { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 20px; height: 20px; padding: 0 5px; background: var(--epm-danger); color: #fff; border-radius: 10px; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid var(--white); }
.epm-top-avatar { position: relative; padding: 0; border: 2px solid var(--primary-600); border-radius: 50%; }
.epm-online-dot { position: absolute; bottom: 1px; inset-inline-end: 1px; width: 10px; height: 10px; border-radius: 50%; background: var(--epm-success); border: 2px solid var(--white); }
.epm-company-switch { min-width: 210px; border-radius: 20px; }
.epm-soft-info { background: #dbeafe; color: #2563eb; } .epm-soft-success { background: #dcfce7; color: #16a34a; }
.epm-soft-warning { background: #fef3c7; color: #d97706; } .epm-soft-danger { background: #fee2e2; color: #dc2626; }
[data-theme=dark] .epm-soft-info, [data-theme=dark] .epm-soft-success, [data-theme=dark] .epm-soft-warning, [data-theme=dark] .epm-soft-danger { background: rgba(255,255,255,.08); }

/* --------------------------------------------------------- badges */
.epm-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.epm-badge-success { background: #dcfce7; color: #15803d; }
.epm-badge-primary { background: color-mix(in srgb, var(--primary-600) 15%, transparent); color: var(--primary-600); }
.epm-badge-info { background: #dbeafe; color: #1d4ed8; }
.epm-badge-warning { background: #fef3c7; color: #b45309; }
.epm-badge-danger { background: #fee2e2; color: #b91c1c; }
.epm-badge-neutral { background: #e5e7eb; color: #4b5563; }
[data-theme=dark] .epm-badge-success { background: rgba(22,163,74,.2); color: #4ade80; }
[data-theme=dark] .epm-badge-info { background: rgba(37,99,235,.2); color: #93c5fd; }
[data-theme=dark] .epm-badge-warning { background: rgba(245,158,11,.2); color: #fcd34d; }
[data-theme=dark] .epm-badge-danger { background: rgba(220,38,38,.2); color: #fca5a5; }
[data-theme=dark] .epm-badge-neutral { background: rgba(255,255,255,.1); color: #cbd5e1; }

/* --------------------------------------------------------- toast / status bar */
.epm-toasts { position: fixed; z-index: 2000; display: flex; flex-direction: column; gap: 10px; pointer-events: none; width: min(560px, calc(100vw - 32px)); }
.epm-toasts-bottom-center { bottom: 24px; left: 50%; transform: translateX(-50%); }
.epm-toasts-bottom-right { bottom: 24px; right: 100px; }
.epm-toasts-bottom-left { bottom: 24px; left: 24px; }
.epm-toasts-top-center { top: 16px; left: 50%; transform: translateX(-50%); }
.epm-toasts-top-right { top: 16px; right: 24px; }
.epm-toasts-top-left { top: 16px; left: 24px; }   /* v3.105.280 messages can also show at the top; they slide down from above */
.epm-toasts-top-center .epm-toast, .epm-toasts-top-right .epm-toast, .epm-toasts-top-left .epm-toast { transform: translateY(-20px); }
.epm-toasts-top-center .epm-toast.show, .epm-toasts-top-right .epm-toast.show, .epm-toasts-top-left .epm-toast.show { transform: none; }
.epm-toast { pointer-events: auto; position: relative; overflow: hidden; display: flex; gap: 12px; align-items: flex-start; padding: 14px 44px 16px 16px; border-radius: 12px; background: var(--epm-toast-bg); color: var(--epm-toast-text); box-shadow: 0 10px 30px rgba(15,23,42,.18); border-inline-start: 5px solid var(--epm-info); transform: translateY(20px); opacity: 0; transition: all .28s ease; }
.epm-toast.show { transform: none; opacity: 1; }
.epm-toast-icon { font-size: 22px; line-height: 1; margin-top: 1px; }
.epm-toast-body { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.epm-toast-body strong { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.epm-toast-field { font-size: 12px; color: inherit; opacity: .8; text-decoration: underline; margin-top: 3px; }
.epm-toast-close { position: absolute; top: 10px; inset-inline-end: 10px; background: none; border: 0; color: inherit; opacity: .6; font-size: 18px; }
.epm-toast-progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: currentColor; opacity: .35; transform-origin: left; animation-name: epmToastProgress; animation-timing-function: linear; animation-fill-mode: forwards; }
.epm-toast.paused .epm-toast-progress { animation-play-state: paused; }
@keyframes epmToastProgress { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.epm-toast-error { border-color: var(--epm-danger); } .epm-toast-error .epm-toast-icon, .epm-toast-error strong { color: var(--epm-danger); }
.epm-toast-warning { border-color: var(--epm-warning); } .epm-toast-warning .epm-toast-icon, .epm-toast-warning strong { color: var(--epm-warning); }
.epm-toast-success { border-color: var(--epm-success); } .epm-toast-success .epm-toast-icon, .epm-toast-success strong { color: var(--epm-success); }
.epm-toast-info { border-color: var(--epm-info); } .epm-toast-info .epm-toast-icon, .epm-toast-info strong { color: var(--epm-info); }
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--epm-danger) !important; box-shadow: 0 0 0 3px rgba(220,38,38,.12) !important; }

/* --------------------------------------------------------- cards & tables */
.epm-card-title { font-size: 16px !important; font-weight: 600; margin: 0; display: flex; align-items: center; gap: 8px; }
.epm-stat-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #fff; flex-shrink: 0; }
.epm-table th { white-space: nowrap; font-weight: 600; font-size: 13px; }
.epm-table td { vertical-align: middle; font-size: 14px; }
.epm-table .table-actions { white-space: nowrap; }
.epm-action-btn { width: 32px; height: 32px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; border: 0; font-size: 16px; transition: .2s; }
.epm-action-view { background: #dbeafe; color: #2563eb; } .epm-action-edit { background: #dcfce7; color: #16a34a; }
.epm-action-delete { background: #fee2e2; color: #dc2626; } .epm-action-toggle { background: #fef3c7; color: #d97706; }
.epm-action-btn:hover { filter: brightness(.93); transform: translateY(-1px); }
[data-theme=dark] .epm-action-btn { background: rgba(255,255,255,.08); }
.epm-filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--epm-border); }
.epm-filter-bar .form-control, .epm-filter-bar .form-select { height: 40px; min-width: 160px; width: auto; }
.epm-empty { text-align: center; padding: 48px 16px; color: #8a94a6; }
.epm-empty i { font-size: 42px; display: block; margin-bottom: 8px; color: #c3cad6; }
.epm-progress { height: 8px; border-radius: 8px; background: var(--epm-soft); overflow: hidden; }
.epm-progress > span { display: block; height: 100%; border-radius: 8px; background: var(--primary-600); }
.epm-section-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; font-weight: 700; letter-spacing: .03em; margin: 0; }
.epm-kv { display: grid; grid-template-columns: 160px 1fr; gap: 8px 12px; font-size: 14px; }
.epm-kv dt { color: #8a94a6; font-weight: 500; } .epm-kv dd { margin: 0; font-weight: 500; }
.epm-avatar { letter-spacing: .02em; }
.epm-pagination .page-link { border-radius: 8px !important; margin: 0 2px; }
.epm-pagination .page-item.active .page-link { background: var(--primary-600); border-color: var(--primary-600); }

/* --------------------------------------------------------- EPM form */
.epm-form-table { min-width: 1500px; }
.epm-form-table th { background: var(--epm-soft); font-size: 12px; text-transform: uppercase; letter-spacing: .03em; vertical-align: middle; text-align: center; white-space: nowrap; }
.epm-form-table td { vertical-align: top; font-size: 13px; }
.epm-form-table textarea { min-height: 70px; font-size: 13px; resize: vertical; }
.epm-form-table .form-control, .epm-form-table .form-select { font-size: 13px; padding: 6px 8px; }
.epm-form-table .epm-persp-row td { font-weight: 700; letter-spacing: .04em; color: #fff; }
.epm-form-table .epm-score-cell { font-weight: 700; text-align: center; color: var(--primary-600); }
.epm-form-table tr.epm-kpi-inactive td { opacity: .45; }
.epm-weight-meter { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.epm-weight-ok { background: #dcfce7; color: #15803d; } .epm-weight-bad { background: #fee2e2; color: #b91c1c; }
[data-theme=dark] .epm-weight-ok { background: rgba(22,163,74,.18); color: #4ade80; } [data-theme=dark] .epm-weight-bad { background: rgba(220,38,38,.18); color: #fca5a5; }
.epm-score-box { border-radius: 14px; padding: 16px; background: var(--epm-soft); text-align: center; height: 100%; }
.epm-score-box .v { font-size: 26px; font-weight: 800; color: var(--primary-600); line-height: 1.1; }
.epm-score-box .l { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #8a94a6; font-weight: 600; }
.epm-stepper { display: flex; gap: 0; align-items: center; flex-wrap: wrap; }
.epm-step { display: flex; align-items: center; gap: 8px; color: #8a94a6; font-weight: 600; font-size: 13px; }
.epm-step .dot { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--epm-soft); border: 2px solid var(--epm-border); }
.epm-step.done { color: var(--primary-600); } .epm-step.done .dot { background: var(--primary-600); border-color: var(--primary-600); color: #fff; }
.epm-step.current .dot { border-color: var(--primary-600); color: var(--primary-600); }
.epm-step-line { width: 40px; height: 2px; background: var(--epm-border); margin: 0 8px; }
.epm-ack-card { border: 1px dashed var(--epm-border); border-radius: 12px; padding: 14px; height: 100%; }
.nav-pills.epm-tabs .nav-link { border-radius: 10px; color: var(--text-primary-light); font-weight: 600; padding: 10px 18px; }
.nav-pills.epm-tabs .nav-link.active { background: var(--primary-600); color: #fff; }

/* --------------------------------------------------------- org chart */
.epm-org { overflow: auto; padding: 24px 8px 40px; }
.epm-org ul { padding-top: 22px; position: relative; display: flex; justify-content: center; margin: 0; padding-left: 0; }
.epm-org li { list-style: none; text-align: center; position: relative; padding: 22px 6px 0; }
.epm-org li::before, .epm-org li::after { content: ''; position: absolute; top: 0; right: 50%; border-top: 2px solid #cbd5e1; width: 50%; height: 22px; }
.epm-org li::after { right: auto; left: 50%; border-left: 2px solid #cbd5e1; }
.epm-org li:only-child::after, .epm-org li:only-child::before { display: none; }
.epm-org li:only-child { padding-top: 0; }
.epm-org li:first-child::before, .epm-org li:last-child::after { border: 0 none; }
.epm-org li:last-child::before { border-right: 2px solid #cbd5e1; border-radius: 0 6px 0 0; }
.epm-org li:first-child::after { border-radius: 6px 0 0 0; }
.epm-org ul ul::before { content: ''; position: absolute; top: 0; left: 50%; border-left: 2px solid #cbd5e1; width: 0; height: 22px; }
.epm-org > ul { padding-top: 0; }
.epm-org-node { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 12px 12px; min-width: 170px; max-width: 200px; border-radius: 14px; background: var(--white); border: 1px solid var(--epm-border); box-shadow: 0 4px 14px rgba(15,23,42,.06); border-top: 4px solid var(--primary-600); position: relative; }
.epm-org-node:hover { box-shadow: 0 8px 22px rgba(15,23,42,.12); transform: translateY(-2px); transition: .2s; }
.epm-org-node .n { font-weight: 700; font-size: 13px; line-height: 1.25; color: var(--text-primary-light); }
.epm-org-node .p { font-size: 12px; color: #8a94a6; line-height: 1.25; }
.epm-org-node .d { font-size: 11px; padding: 2px 8px; border-radius: 10px; background: var(--epm-soft); color: var(--primary-600); font-weight: 600; }
.epm-org-node .cnt { position: absolute; bottom: -11px; left: 50%; transform: translateX(-50%); background: var(--primary-600); color: #fff; font-size: 11px; border-radius: 10px; padding: 1px 8px; font-weight: 700; cursor: pointer; z-index: 2; }
.epm-org li.collapsed > ul { display: none; }
.epm-org-node.inactive { opacity: .55; border-top-color: #9ca3af; }
/* v3.105.10 shared organisation chart (HR01 Structure, HR02): the canvas is as wide as the tree (scrolls both ways), level badge, big teams stacked, toolbar */
.epm-org #orgInner { width: max-content; min-width: 100%; }
.epm-org ul { justify-content: safe center; }
.oc-lv { position: absolute; top: -10px; left: 10px; font-size: 10px; font-weight: 700; line-height: 16px; padding: 0 6px; border-radius: 8px; background: #e2e8f0; color: #475569; }
.epm-org li[data-depth="0"] > .epm-org-node .oc-lv { background: var(--primary-600); color: #fff; }
.epm-org li[data-depth="1"] > .epm-org-node .oc-lv { background: #dbeafe; color: #1d4ed8; }
.epm-org .epm-org-node .cnt { cursor: pointer; }
.epm-org li.collapsed > .epm-org-node .cnt::before { content: '+'; margin-right: 2px; }
.epm-org ul.oc-stack { display: grid; grid-template-columns: repeat(var(--cols, 1), auto); column-gap: 14px; row-gap: 14px; justify-content: center; padding-top: 28px; }
.epm-org ul.oc-stack > li { padding: 0; }
.epm-org ul.oc-stack > li::before, .epm-org ul.oc-stack > li::after { display: none; }
.epm-org ul.oc-stack::after { content: ''; position: absolute; top: 22px; left: 8px; right: 8px; border-top: 2px solid #cbd5e1; }
.epm-org li.oc-pack > ul.oc-stack { padding-top: 6px; }
.epm-org li.oc-pack > ul.oc-stack::before, .epm-org li.oc-pack > ul.oc-stack::after { display: none; }
.epm-org ul.oc-stack .epm-org-node { min-width: 200px; max-width: 220px; padding: 10px 10px 8px; gap: 3px; }
.epm-org ul.oc-stack .epm-org-node > .epm-avatar, .epm-org ul.oc-stack .epm-org-node > img.rounded-circle { width: 32px !important; height: 32px !important; font-size: 12px !important; }
.oc-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--epm-border); }
.oc-bar .btn-group .btn { min-width: 34px; }
.oc-zoom { display: inline-flex; align-items: center; gap: 6px; }
.epm-org-node.is-hit { outline: 3px solid #2563eb; outline-offset: 2px; }
@media print { .oc-bar { display: none; } }
/* --------------------------------------------------------- login */
.epm-auth { min-height: 100vh; display: flex; background: var(--white); }
.epm-auth-visual { flex: 1 1 50%; position: relative; overflow: hidden; display: flex; align-items: flex-end; color: #fff; background: linear-gradient(135deg, var(--epm-brand, #25A194) 0%, #10363a 100%); }
.epm-auth-visual img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.epm-auth-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100%); }
.epm-auth-visual .caption { position: relative; z-index: 2; padding: 48px; max-width: 620px; }
.epm-auth-visual .caption h2 { color: #fff; font-size: 34px; font-weight: 800; line-height: 1.2; }
.epm-auth-visual .caption p { color: rgba(255,255,255,.85); font-size: 16px; }
.epm-auth-art { position: absolute; inset: 0; z-index: 1; opacity: .9; }
.epm-auth-form { flex: 1 1 50%; display: flex; align-items: center; justify-content: center; padding: 32px 24px; }
.epm-auth-form .inner { width: 100%; max-width: 460px; }
.epm-auth-company-logo { max-height: 56px; max-width: 220px; object-fit: contain; }
.epm-secure-note { font-size: 12px; color: #8a94a6; display: flex; align-items: center; gap: 6px; justify-content: center; }
@media (max-width: 991px) { .epm-auth-visual { display: none; } }

/* --------------------------------------------------------- misc */
.epm-perm-table th, .epm-perm-table td { text-align: center; vertical-align: middle; }
.epm-perm-table td:first-child, .epm-perm-table th:first-child { text-align: start; }
.epm-notice { border-inline-start: 4px solid var(--primary-600); }
.epm-notice.pinned { border-inline-start-color: var(--epm-warning); }
.epm-plan-card { border-radius: 16px; border: 1px solid var(--epm-border); padding: 24px; height: 100%; position: relative; background: var(--white); }
.epm-plan-card.popular { border: 2px solid var(--primary-600); box-shadow: 0 12px 30px rgba(37,161,148,.15); }
.epm-plan-card .ribbon { position: absolute; top: 16px; inset-inline-end: 16px; }
.epm-plan-price { font-size: 32px; font-weight: 800; color: var(--primary-600); }
.epm-search-group h6 { display: flex; align-items: center; gap: 8px; }
mark { background: #fff3a3; padding: 0 2px; border-radius: 3px; }
[data-theme=dark] mark { background: #6b5d00; color: #fff; }
.cursor-pointer { cursor: pointer; }
.min-w-0 { min-width: 0; }
@media print {
  .sidebar, .navbar-header, .d-footer, .theme-customization__button, .epm-no-print, .breadcrumb .d-flex.gap-2 { display: none !important; }
  .dashboard-main { margin: 0 !important; width: 100% !important; }
  .card { box-shadow: none !important; border: 1px solid #ddd !important; }
}

.epm-toast-code { font-style: normal; font-weight: 600; font-size: 11px; letter-spacing: .03em; margin-inline-start: 6px; padding: 1px 7px; border-radius: 10px; background: currentColor; }
.epm-toast-code { background: rgba(0,0,0,.06); color: inherit; }
[data-theme=dark] .epm-toast-code { background: rgba(255,255,255,.12); }
.epm-lang-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 20px; background: var(--epm-soft); font-size: 12px; font-weight: 600; }
.epm-tr-table textarea { font-size: 13px; min-height: 42px; }
.epm-tr-table textarea.changed { border-color: var(--epm-warning) !important; background: rgba(245,158,11,.06); }
.epm-tr-table td { vertical-align: top; }
.epm-tr-src { font-size: 13px; white-space: pre-wrap; }
.epm-ph { font-family: monospace; font-size: 11px; background: #e0f2fe; color: #0369a1; border-radius: 4px; padding: 0 4px; margin-inline-end: 2px; }

/* help icon + pop-up */
.epm-help-btn { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-inline-start: 6px; padding: 0; border: 0; border-radius: 50%;
  background: var(--primary-600); color: #fff; font-size: 11px; line-height: 1; vertical-align: middle; cursor: help; box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-600) 18%, transparent); transition: transform .15s; }
.epm-help-btn:hover, .epm-help-btn:focus { transform: scale(1.12); outline: none; }
.popover.epm-popover { --bs-popover-max-width: 290px; --bs-popover-border-color: color-mix(in srgb, var(--primary-600) 35%, transparent); --bs-popover-header-bg: var(--primary-600);
  --bs-popover-header-color: #fff; --bs-popover-body-padding-x: 14px; --bs-popover-body-padding-y: 12px; border-radius: 12px; box-shadow: 0 12px 32px rgba(15,23,42,.18); font-size: 13px; }
.popover.epm-popover .popover-header { border-radius: 11px 11px 0 0; font-size: 13px !important; line-height: 1.3 !important; font-weight: 600 !important; padding: 9px 14px; margin: 0; color: #fff !important; display: flex; align-items: center; }
.popover.epm-popover .popover-header::before { content: "\ee58"; font-family: remixicon; margin-inline-end: 6px; font-weight: 400; }
.popover.epm-popover .popover-body { color: var(--text-primary-light); line-height: 1.5; }
[data-theme=dark] .popover.epm-popover { --bs-popover-bg: #273142; }

/* --------------------------------------------------------- user & employee master data pop-up */
.em-link { color: inherit; text-decoration: none; border-bottom: 1px dashed color-mix(in srgb, var(--primary-600) 55%, transparent); transition: color .15s; }
.em-link:hover { color: var(--primary-600); border-bottom-style: solid; }
#epmMasterModal .modal-dialog { max-width: 1280px; width: calc(100% - 32px); }   /* v3.105.193 bigger: 1280 px wide, almost the full screen height (was 960 px / 88vh) */
/* v3.105.192 master data: one field per row, label on the left, box on the right (a phone keeps the label above) */
.em-panes .row > [class*="col-"] { flex: 0 0 100%; max-width: 100%; }
.em-panes .row > [class*="col-"]:has(> label.form-label) { display: grid; grid-template-columns: 210px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; align-items: center; }
.em-panes .row > [class*="col-"]:has(> label.form-label) > label.form-label { grid-column: 1; grid-row: 1; margin: 0; line-height: 1.3; }
.em-panes .row > [class*="col-"]:has(> label.form-label) > :not(label.form-label) { grid-column: 2; }
.em-panes .row.g-3 { --bs-gutter-y: .6rem; }
/* v3.105.194 each box as wide as its field length (--em-w from em_width(); the date picker adds its own visible input next to the hidden one) */
.em-panes .row > [style*="--em-w"] > .form-control, .em-panes .row > [style*="--em-w"] > .form-select { max-width: var(--em-w, 100%); }
/* v3.105.195 two short fields on one row ('same_row' in the field list, e.g. Old IC No. + Passport No.); back on two rows when the pane is too narrow */
.em-panes { container-type: inline-size; }
.em-pair { display: flex; flex-wrap: wrap; align-items: flex-start; column-gap: 28px; row-gap: .6rem; }
.em-pair > div { display: grid; column-gap: 16px; row-gap: 4px; align-items: center; flex: 0 0 auto; width: auto; max-width: 100%; padding: 0; }
.em-pair > div:first-child { grid-template-columns: 210px var(--em-w); }
.em-pair > div + div { grid-template-columns: auto var(--em-w); }
.em-pair > div > label.form-label { grid-column: 1; grid-row: 1; margin: 0; line-height: 1.3; }
.em-pair > div > :not(label.form-label) { grid-column: 2; }
@container (max-width: 950px) { .em-pair { display: block; } .em-pair > div, .em-pair > div + div { grid-template-columns: 210px minmax(0, 1fr); } .em-pair > div + div { margin-top: .6rem; } .em-pair > div > .form-control { max-width: var(--em-w); } }
@media (max-width: 575px) { .em-pair > div { display: block; } .em-pair > div > label.form-label { margin-bottom: 6px; } .em-pair > div > .form-control { max-width: none; } }
@media (max-width: 575px) { .em-panes .row > [style*="--em-w"] > .form-control, .em-panes .row > [style*="--em-w"] > .form-select { max-width: none; } .em-panes .row > [class*="col-"]:has(> label.form-label) { display: block; } .em-panes .row > [class*="col-"]:has(> label.form-label) > label.form-label { margin-bottom: 6px; } }
/* v3.10.0 one fixed size for every tab: top-aligned, fixed height; only the right pane scrolls (scrollbar space kept) */
@media (min-width: 992px) {
  #epmMasterModal .modal-dialog.modal-dialog-centered { align-items: flex-start; margin-top: 2vh; margin-bottom: 2vh; min-height: 0; }
  #epmMasterModal .modal-content { height: 96vh; max-height: none; }
  #epmMasterModal .modal-body { overflow: hidden; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
  #epmMasterModal #emForm { flex: 1 1 auto; min-height: 0; display: flex; }
  #epmMasterModal .em-layout { flex: 1 1 auto; height: 100%; min-height: 0; }
  #epmMasterModal .em-tabs { position: static; align-self: stretch; overflow-y: auto; }
  #epmMasterModal .em-panes { overflow-y: auto; scrollbar-gutter: stable; height: 100%; }
}
.em-lab { font-size: 11px; font-weight: 600; color: var(--text-secondary-light); margin-inline-start: 4px; }
/* v3.105.290 Master data Full screen (button in its header): the whole record fills the screen, the section menu and the fields scroll on their own */
.em-full{position:fixed!important;inset:0;z-index:1090;width:100vw!important;height:100vh!important;max-height:none!important;margin:0!important;border-radius:0!important;background:var(--white,#fff);display:flex;flex-direction:column}.em-full:fullscreen{background:var(--white,#fff)}[data-theme=dark] .em-full{background:var(--base,#1b2431)}html.em-full-lock,html.em-full-lock body{overflow:hidden}
.em-full .modal-body{overflow:hidden;display:flex;flex-direction:column;flex:1 1 auto;min-height:0}.em-full #emForm{flex:1 1 auto;min-height:0;display:flex}.em-full .em-layout{flex:1 1 auto;height:100%;min-height:0}.em-full .em-tabs{position:static;align-self:stretch;overflow-y:auto}.em-full .em-panes{overflow-y:auto;scrollbar-gutter:stable;height:100%}#epmMasterModal .modal-dialog:has(.em-full){transform:none!important}
.em-req { padding: 12px 14px; border-radius: 10px; background: #fff7ed; border: 1px dashed #fdba74; }
[data-theme=dark] .em-req { background: rgba(251,146,60,.08); }
.em-header .modal-title { line-height: 1.25; }
.em-complete { width: 150px; }
.em-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100%; }
.em-tabs { display: flex; flex-direction: column; flex-wrap: nowrap; padding: 16px 10px; background: var(--epm-soft, #f8fafc); border-inline-end: 1px solid var(--epm-border, #e5e7eb); gap: 2px; margin: 0; list-style: none; position: sticky; top: 0; align-self: start; }
.em-tab { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--text-primary-light);
  font-size: 13.5px; font-weight: 500; text-align: start; transition: background .15s, color .15s; }
.em-tab > i:first-child { font-size: 18px; color: var(--primary-600); flex-shrink: 0; }
.em-tab:hover { background: color-mix(in srgb, var(--primary-600) 9%, transparent); }
.em-tab.active { background: var(--primary-600); color: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--primary-600) 30%, transparent); }
.em-tab.active i { color: #fff !important; }
.em-tab.disabled, .em-tab:disabled { opacity: .5; cursor: not-allowed; }
.em-tab-no { opacity: .6; font-weight: 600; }
.em-panes { min-width: 0; }
.em-section-title { font-size: 13px !important; text-transform: uppercase; letter-spacing: .04em; color: var(--text-secondary-light); font-weight: 600 !important; margin: 8px 0 0; padding-bottom: 6px; border-bottom: 1px dashed var(--epm-border, #e5e7eb); }
.em-photo, .em-photo-empty { width: 84px; height: 84px; flex-shrink: 0; border: 3px solid var(--epm-border, #e5e7eb); }
.em-photo-empty { background: var(--epm-soft, #f1f5f9); font-size: 34px; color: var(--text-secondary-light); }
.em-grid { padding: 14px; border: 1px solid var(--epm-border, #e5e7eb); border-radius: 12px; }
.em-grid-table th { font-size: 12px; font-weight: 600; color: var(--text-secondary-light); white-space: nowrap; background: transparent !important; border-bottom-width: 1px; }
.em-grid-table td { padding: 4px !important; vertical-align: middle; min-width: 110px; }
.em-grid-table td:last-child { min-width: 40px; }
.em-grid-table .form-control-sm, .em-grid-table .form-select-sm { font-size: 13px; border-radius: 8px; }
.em-grid-table .is-warning { border-color: #f59e0b !important; background: rgba(245,158,11,.07); }
.em-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.em-info-grid > div { padding: 10px 14px; border-radius: 10px; background: var(--epm-soft, #f8fafc); display: flex; flex-direction: column; }
.em-info-grid span { font-size: 12px; color: var(--text-secondary-light); }
.em-disabled { opacity: .45; pointer-events: none; }
.em-page .modal-header, .em-page .modal-footer { display: flex; }
@media (max-width: 991px) {
  .em-layout { grid-template-columns: 1fr; }
  .em-tabs { position: static; flex-direction: row; overflow-x: auto; border-inline-end: 0; border-bottom: 1px solid var(--epm-border, #e5e7eb); padding: 8px; }
  .em-tabs li { flex-shrink: 0; }
  .em-tab { white-space: nowrap; padding: 8px 12px; }
  .em-panes { padding: 16px !important; }
}
/* role levels & status */
.em-level { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; align-items: center; justify-content: center; font-weight: 700; color: #fff;
  background: color-mix(in srgb, var(--primary-600) calc(100% - var(--lv, 0) * 9%), #94a3b8); }
.em-level-1 { --lv: 0; } .em-level-2 { --lv: 1; } .em-level-3 { --lv: 2; } .em-level-4 { --lv: 3; } .em-level-5 { --lv: 4; }
.em-level-6 { --lv: 5; } .em-level-7 { --lv: 6; } .em-level-8 { --lv: 7; } .em-level-9 { --lv: 8; }
.em-status-card { padding: 16px; border-radius: 12px; border: 1px solid var(--epm-border, #e5e7eb); border-inline-start-width: 4px; }
.em-status-success { border-inline-start-color: #16a34a; } .em-status-neutral { border-inline-start-color: #94a3b8; } .em-status-danger { border-inline-start-color: #dc2626; }
.em-panes .form-select:not(:disabled), .em-grid-table .form-select:not(:disabled) { color: var(--text-primary-light); }
.em-levels td { white-space: normal !important; }

/* --------------------------------------------------------- Altius chat */
:root { --altius-bg: #efeae2; --altius-in: #ffffff; --altius-out: #d9fdd3; --altius-panel: #ffffff; --altius-line: #e9edef; --altius-text: #111b21; --altius-muted: #667781; --altius-soft: #f0f2f5; }
[data-theme=dark] { --altius-bg: #0b141a; --altius-in: #202c33; --altius-out: #005c4b; --altius-panel: #111b21; --altius-line: #222d34; --altius-text: #e9edef; --altius-muted: #8696a0; --altius-soft: #202c33; }
.altius-toggle.active { background: var(--primary-600) !important; color: #fff; }
.altius-badge { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: #dc2626; color: #fff; font-size: 11px; font-weight: 700; line-height: 19px; text-align: center; box-shadow: 0 0 0 2px var(--white, #fff); }
.altius { position: fixed; top: 0; right: 0; bottom: 0; width: 410px; max-width: 100vw; z-index: 1045; display: flex; flex-direction: column; background: var(--altius-panel); color: var(--altius-text);
  box-shadow: -12px 0 40px rgba(15,23,42,.18); transform: translateX(105%); transition: transform .28s cubic-bezier(.2,.8,.2,1); visibility: hidden; }
.altius.open { transform: none; visibility: visible; }
.altius-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: linear-gradient(135deg, var(--primary-600), color-mix(in srgb, var(--primary-600) 65%, #0b3b37)); color: #fff; }
.altius-brand { display: flex; align-items: center; gap: 10px; }
.altius-brand b { display: block; font-size: 18px; letter-spacing: .02em; line-height: 1.1; }
.altius-brand small { font-size: 11px; opacity: .85; }
.altius-logo { width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,.18); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; }
.altius-head-actions { display: flex; gap: 2px; }
.altius-head .altius-icon { color: #fff; }
.altius-icon { width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--altius-muted); display: inline-flex; align-items: center; justify-content: center; font-size: 19px; flex-shrink: 0; }
.altius-icon:hover { background: rgba(127,127,127,.15); }
.altius-body { flex: 1; position: relative; overflow: hidden; }
.altius-view { position: absolute; inset: 0; display: none; flex-direction: column; background: var(--altius-panel); }
.altius-view.active { display: flex; }
.altius-me { display: flex; align-items: center; gap: 10px; padding: 10px 14px; cursor: pointer; border-bottom: 1px solid var(--altius-line); }
.altius-me b { display: block; font-size: 14px; } .altius-me small { color: var(--altius-muted); font-size: 12px; }
.altius-searchbar { margin: 10px 12px 6px; display: flex; align-items: center; gap: 8px; background: var(--altius-soft); border-radius: 10px; padding: 0 12px; color: var(--altius-muted); }
.altius-searchbar input { border: 0; background: transparent; outline: none; height: 36px; flex: 1; color: var(--altius-text); font-size: 14px; }
.altius-ltabs { display: flex; gap: 6px; padding: 4px 12px 8px; }
.altius-ltab { border: 0; border-radius: 16px; padding: 4px 12px; background: var(--altius-soft); color: var(--altius-muted); font-size: 13px; font-weight: 600; }
.altius-ltab.active { background: color-mix(in srgb, var(--primary-600) 18%, transparent); color: var(--primary-600); }
.altius-convs, .altius-group-list, .altius-info-list { flex: 1; overflow-y: auto; }
.altius-conv { width: 100%; display: flex; gap: 12px; align-items: center; padding: 9px 14px; border: 0; background: transparent; text-align: start; color: var(--altius-text); }
.altius-conv:hover, .altius-conv.current { background: var(--altius-soft); }
.altius-conv-av { position: relative; flex-shrink: 0; }
.altius-dot { position: absolute; right: 1px; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; background: #22c55e; border: 2px solid var(--altius-panel); }
.altius-conv-main { flex: 1; min-width: 0; border-bottom: 1px solid var(--altius-line); padding-bottom: 8px; }
.altius-conv-top, .altius-conv-sub { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.altius-conv-top b { font-size: 14.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.altius-conv-top small { color: var(--altius-muted); font-size: 11.5px; flex-shrink: 0; }
.altius-conv-sub span { color: var(--altius-muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.altius-conv.unread .altius-conv-top small { color: var(--primary-600); font-weight: 700; }
.altius-conv.unread .altius-conv-sub span { color: var(--altius-text); font-weight: 600; }
.altius-conv-meta { display: block; font-size: 11px; color: var(--altius-muted); }
.altius-unread { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--primary-600); color: #fff; font-size: 11.5px; font-weight: 700; font-style: normal; display: inline-flex; align-items: center; justify-content: center; }
.altius-sep { padding: 10px 16px 4px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--primary-600); }
.altius-empty { text-align: center; padding: 40px 24px; color: var(--altius-muted); }
.altius-empty i { font-size: 44px; color: color-mix(in srgb, var(--primary-600) 55%, transparent); }
.altius-av { border-radius: 50%; object-fit: cover; flex-shrink: 0; display: inline-block; }
.altius-av-txt { display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 600; }
.altius-av-group { display: inline-flex; align-items: center; justify-content: center; background: #cfd8dc; color: #fff; font-size: 20px; background: linear-gradient(135deg, #94a3b8, #64748b); }
.altius-chat-head { display: flex; align-items: center; gap: 6px; padding: 8px 8px; background: var(--altius-soft); border-bottom: 1px solid var(--altius-line); min-height: 56px; }
.altius-who { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; }
.altius-who b { display: block; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.altius-who small { display: block; font-size: 12px; color: var(--altius-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.altius-status.typing { color: var(--primary-600); font-style: italic; }
.altius-msgs { flex: 1; overflow-y: auto; padding: 12px 10px; background-color: var(--altius-bg);
  background-image: radial-gradient(color-mix(in srgb, var(--altius-muted) 14%, transparent) 1px, transparent 1px); background-size: 18px 18px; }
.altius-day { text-align: center; margin: 10px 0; } .altius-day span { background: var(--altius-panel); color: var(--altius-muted); font-size: 11.5px; padding: 4px 12px; border-radius: 8px; box-shadow: 0 1px 1px rgba(0,0,0,.06); }
.altius-sys { text-align: center; margin: 8px 0; } .altius-sys span { background: color-mix(in srgb, #fde68a 70%, transparent); color: #713f12; font-size: 12px; padding: 4px 12px; border-radius: 8px; }
.altius-msg { display: flex; gap: 6px; margin: 3px 0; position: relative; align-items: flex-end; }
.altius-msg.out { justify-content: flex-end; }
.altius-bubble { max-width: 78%; padding: 6px 9px 5px; border-radius: 10px; background: var(--altius-in); box-shadow: 0 1px 1px rgba(0,0,0,.08); position: relative; word-wrap: break-word; overflow-wrap: anywhere; }
.altius-msg.in .altius-bubble { border-top-left-radius: 2px; } .altius-msg.out .altius-bubble { background: var(--altius-out); border-top-right-radius: 2px; }
.altius-msg.sticker .altius-bubble { background: transparent; box-shadow: none; padding: 0; }
.altius-from { font-size: 12px; font-weight: 700; color: var(--primary-600); margin-bottom: 1px; }
.altius-from span { font-weight: 500; color: var(--altius-muted); }
.altius-msg.out .altius-from { color: #128c7e; } [data-theme=dark] .altius-msg.out .altius-from { color: #8be0cf; }
.altius-text { font-size: 14px; line-height: 1.4; color: var(--altius-text); }
.altius-text a { color: #027eb5; text-decoration: underline; }
.altius-msg.deleted .altius-text { color: var(--altius-muted); }
.altius-meta { display: flex; justify-content: flex-end; gap: 4px; align-items: center; font-size: 11px; color: var(--altius-muted); margin-top: 1px; }
.altius-tick { font-size: 15px; } .altius-tick.read { color: #53bdeb; }
.altius-sticker { width: 120px; height: 120px; display: block; }
.altius-img { max-width: 240px; max-height: 260px; border-radius: 8px; display: block; margin: 2px 0; }
.altius-quote { border-inline-start: 4px solid var(--primary-600); background: rgba(127,127,127,.12); border-radius: 6px; padding: 4px 8px; margin-bottom: 4px; cursor: pointer; font-size: 12.5px; }
.altius-quote b { display: block; color: var(--primary-600); font-size: 12px; } .altius-quote span { color: var(--altius-muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 230px; }
.altius-reacts { display: flex; flex-wrap: wrap; gap: 3px; margin: 3px 0 -14px; position: relative; z-index: 1; }
.altius-msg:has(.altius-reacts) { margin-bottom: 18px; }
.altius-react { border: 1px solid var(--altius-line); background: var(--altius-panel); border-radius: 12px; padding: 0 6px; font-size: 13px; line-height: 20px; color: var(--altius-text); }
.altius-react.mine { border-color: var(--primary-600); background: color-mix(in srgb, var(--primary-600) 12%, var(--altius-panel)); }
.altius-actions { display: none; align-self: center; gap: 1px; background: var(--altius-panel); border-radius: 14px; padding: 2px; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.altius-msg:hover .altius-actions { display: inline-flex; }
.altius-msg.out .altius-actions { order: -1; }
.altius-actions button { border: 0; background: transparent; width: 26px; height: 26px; border-radius: 50%; color: var(--altius-muted); font-size: 15px; display: inline-flex; align-items: center; justify-content: center; }
.altius-actions button:hover { background: var(--altius-soft); color: var(--primary-600); }
.altius-react-bar { position: absolute; z-index: 5; top: -40px; display: flex; gap: 2px; background: var(--altius-panel); border-radius: 22px; padding: 4px 6px; box-shadow: 0 4px 16px rgba(0,0,0,.18); }
.altius-msg.out .altius-react-bar { right: 0; } .altius-msg.in .altius-react-bar { left: 36px; }
.altius-react-bar button { border: 0; background: transparent; font-size: 21px; width: 34px; height: 34px; border-radius: 50%; transition: transform .12s; }
.altius-react-bar button:hover { transform: scale(1.25); background: var(--altius-soft); }
.altius-msg.flash .altius-bubble { animation: altiusFlash 1.2s; }
@keyframes altiusFlash { 0%, 60% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-600) 50%, transparent); } }
.altius-more { display: block; margin: 0 auto 8px; border: 0; background: var(--altius-panel); color: var(--primary-600); font-size: 12px; border-radius: 12px; padding: 4px 14px; }
.altius-hello { text-align: center; margin: 30px 20px; color: var(--altius-muted); font-size: 13px; background: color-mix(in srgb, #fde68a 55%, transparent); border-radius: 10px; padding: 12px; }
.altius-hello i { font-size: 26px; color: #b45309; }
.altius-loading { text-align: center; padding: 40px; color: var(--altius-muted); }
.altius-replybar { display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: var(--altius-soft); border-top: 1px solid var(--altius-line); }
.altius-replybar-text { flex: 1; min-width: 0; border-inline-start: 4px solid var(--primary-600); padding: 2px 8px; font-size: 12.5px; }
.altius-replybar-text b { display: block; color: var(--primary-600); } .altius-replybar-text span { display: block; color: var(--altius-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.altius-uploading { padding: 4px 12px; font-size: 12px; color: var(--altius-muted); background: var(--altius-soft); }
.altius-composer { display: flex; align-items: flex-end; gap: 4px; padding: 8px; background: var(--altius-soft); }
.altius-input { flex: 1; resize: none; border: 0; outline: none; border-radius: 20px; padding: 9px 14px; font-size: 14px; max-height: 130px; background: var(--altius-panel); color: var(--altius-text); line-height: 1.35; }
.altius-send { width: 42px; height: 42px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--primary-600) 45%, #94a3b8); color: #fff; font-size: 18px; flex-shrink: 0; transition: background .15s, transform .15s; }
.altius-send.ready { background: var(--primary-600); } .altius-send.ready:hover { transform: scale(1.06); }
.altius-picker { display: none; flex-direction: column; height: 280px; border-top: 1px solid var(--altius-line); background: var(--altius-panel); }
.altius-picker.show { display: flex; }
.altius-pk-tabs { display: flex; border-bottom: 1px solid var(--altius-line); }
.altius-pk-tab { flex: 1; border: 0; background: transparent; padding: 8px; font-size: 13px; font-weight: 600; color: var(--altius-muted); border-bottom: 3px solid transparent; }
.altius-pk-tab.active { color: var(--primary-600); border-bottom-color: var(--primary-600); }
.altius-pk-pane { flex: 1; overflow-y: auto; padding: 8px 10px; }
.altius-pk-cat { font-size: 11.5px; font-weight: 700; color: var(--altius-muted); text-transform: uppercase; margin: 6px 2px 4px; }
.altius-emoji-grid { display: grid; grid-template-columns: repeat(9, 1fr); }
.altius-emoji { border: 0; background: transparent; font-size: 22px; height: 38px; border-radius: 8px; }
.altius-emoji:hover { background: var(--altius-soft); }
.altius-sticker-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.altius-st { border: 0; background: transparent; border-radius: 10px; padding: 4px; transition: transform .12s; }
.altius-st:hover { background: var(--altius-soft); transform: scale(1.06); }
.altius-st img { width: 100%; aspect-ratio: 1; }
.altius-pick { display: flex; align-items: center; gap: 10px; padding: 8px 16px; cursor: pointer; border-bottom: 1px solid var(--altius-line); margin: 0; }
.altius-pick span { flex: 1; min-width: 0; } .altius-pick b { display: block; font-size: 14px; font-weight: 600; } .altius-pick small { color: var(--altius-muted); font-size: 12px; }
.altius-admin-tag { font-style: normal; font-size: 10.5px; color: var(--primary-600); border: 1px solid currentColor; border-radius: 6px; padding: 0 5px; margin-inline-start: 4px; }
.altius-group-foot { padding: 12px 16px; border-top: 1px solid var(--altius-line); }
.altius-avatar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 16px; overflow-y: auto; }
.altius-avpick { border: 3px solid transparent; background: transparent; border-radius: 50%; padding: 2px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.altius-avpick img { width: 100%; height: 100%; border-radius: 50%; } .altius-avpick.current { border-color: var(--primary-600); }
.altius-login-unread { margin: 10px 12px 0; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--primary-600) 10%, var(--altius-panel)); border: 1px solid color-mix(in srgb, var(--primary-600) 35%, transparent); font-size: 13px; max-height: 45%; overflow-y: auto; }
.altius-login-item { display: block; width: 100%; text-align: start; border: 0; background: var(--altius-panel); border-radius: 8px; padding: 6px 10px; margin-top: 6px; color: var(--altius-text); }
.altius-login-item small { color: var(--altius-muted); } .altius-login-item span { display: block; color: var(--altius-muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.altius .dropdown-menu { z-index: 1060; }

.altius-av-community { display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; background: linear-gradient(135deg, var(--primary-600), #0b3b37); }
.altius-pin { color: var(--primary-600); font-size: 13px; }
.altius-conv[data-conv]:first-child { background: color-mix(in srgb, var(--primary-600) 6%, transparent); }
.altius-from span { display: block; font-size: 11px; line-height: 1.2; }

/* Verge (software developer) logo */
.epm-vendor { display: flex; flex-direction: column; align-items: center; }
.verge-logo { height: 30px; width: auto; display: block; }
.epm-topbar-vendor { align-items: center; padding-inline-start: 14px; margin-inline-start: 2px; border-inline-start: 1px solid var(--epm-border, #e5e7eb); height: 40px; }
.epm-topbar-vendor .verge-logo { height: 34px; transition: transform .2s; }
.epm-topbar-vendor:hover .verge-logo { transform: scale(1.04); }
[data-theme=dark] .verge-logo { background: #fff; border-radius: 8px; padding: 3px 8px; box-sizing: content-box; }
/* session countdown in the top bar */
.epm-session-pill { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 1px solid var(--epm-border, #e5e7eb); border-radius: 20px; background: var(--white, #fff);
  color: var(--text-secondary-light); font-size: 13px; transition: background .2s, color .2s, border-color .2s; }
.epm-session-pill i { font-size: 18px; color: var(--primary-600); }
.epm-session-pill b { font-variant-numeric: tabular-nums; color: var(--text-primary-light); font-weight: 700; letter-spacing: .02em; min-width: 42px; text-align: start; }
.epm-session-pill:hover { border-color: var(--primary-600); }
.epm-session-pill.warn { background: #fff7ed; border-color: #fdba74; } .epm-session-pill.warn i, .epm-session-pill.warn b { color: #c2410c; }
.epm-session-pill.danger { background: #fef2f2; border-color: #fca5a5; animation: epmPulse 1s infinite; } .epm-session-pill.danger i, .epm-session-pill.danger b { color: #dc2626; }
[data-theme=dark] .epm-session-pill { background: var(--epm-soft, #1f2836); }
@keyframes epmPulse { 50% { box-shadow: 0 0 0 4px rgba(220,38,38,.18); } }

@media (min-width: 768px) { .epm-topbar-actions { flex-wrap: nowrap !important; } }
@media (max-width: 1599px) { .epm-topbar-company { display: none !important; } .epm-session-label { display: none; } }
@media (max-width: 991px) { .epm-session-pill { padding: 0 10px; } }
/* Altius panel opens below the top bar so the top-bar button stays clickable (second click closes) */
/* Altius uses the full screen height; on wide screens the page (top bar included) moves aside instead of being covered */
.altius { top: 0; height: 100vh; height: 100dvh; }
@media (min-width: 1400px) {
  body.altius-open .dashboard-main { margin-right: 410px; transition: margin .28s; }
  body.altius-open .navbar-header > .row { flex-wrap: nowrap; }
  body.altius-open .navbar-header .epm-topbar-actions { flex-wrap: nowrap; }
  body.altius-open .epm-topbar-company, body.altius-open .epm-session-label, body.altius-open .epm-topbar-vendor { display: none !important; }
  body.altius-open .epm-top-search { width: clamp(180px, 22vw, 340px); }
}

/* Verge logo - smaller */
.verge-logo { height: 24px; }
.epm-topbar-vendor { padding-inline-start: 12px; height: 34px; }
.epm-topbar-vendor .verge-logo { height: 26px; }

.epm-footer-vendor { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: 6px; padding-inline-start: 10px; border-inline-start: 1px solid var(--epm-border, #e5e7eb); }
.epm-footer-vendor .verge-logo { height: 18px; }

/* company logo: login page (bigger) and sidebar (follows the signed-in / selected company) */
.epm-auth-company-logo-wrap { display: inline-flex; align-items: center; padding: 10px 14px; border-radius: 14px; background: var(--white, #fff); box-shadow: 0 4px 18px rgba(15,23,42,.08); }
.epm-auth-company-logo { max-height: 96px; max-width: 300px; width: auto; height: auto; object-fit: contain; display: block; }
@media (max-width: 575px) { .epm-auth-company-logo { max-height: 72px; max-width: 200px; } }
.epm-auth-epm-logo { height: 56px; width: auto; }
.sidebar-logo .epm-company-logo { max-height: 44px; max-width: 190px; width: auto; object-fit: contain; }
.sidebar-logo .epm-company-logo-icon { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; }
[data-theme=dark] .sidebar-logo .epm-company-logo, [data-theme=dark] .epm-auth-company-logo-wrap { background: #fff; border-radius: 8px; padding: 2px 6px; }
.epm-company-switch { max-width: 220px; }
@media (max-width: 1599px) { .epm-company-switch { max-width: 170px; } }

/* =========================================================== login / register / password pages (lx) */
.lx-body { --lx-ink: #0F2E30; --lx-brand: var(--epm-brand, var(--primary-600, #25A194)); --lx-gold: #E9B949; --lx-surface: #F2F5F5; --lx-card: #FFFFFF;
  --lx-text: #13232A; --lx-muted: #5E6E74; --lx-line: #DCE4E4; background: var(--lx-surface); color: var(--lx-text); }
[data-theme=dark] .lx-body { --lx-surface: #0C1719; --lx-card: #122225; --lx-text: #E4EDED; --lx-muted: #93A6A9; --lx-line: #22383B; }
.lx { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
.lx-display, .lx-headline, .lx-heading h1, .lx-scorecard b, .lx-submit, .lx-mark-text { font-family: 'Sora', 'Inter', system-ui, sans-serif; }

/* brand panel */
.lx-panel { position: sticky; top: 0; height: 100vh; min-height: 640px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 44px 56px 48px; color: #fff;
  background-color: var(--lx-ink);
  background-image: radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--lx-brand) 55%, transparent) 0%, transparent 60%),
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: auto, 36px 36px, 36px 36px; }
.lx-panel.has-photo { background-image: none; }
.lx-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lx-panel.has-photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,30,32,.55) 0%, rgba(10,30,32,.25) 40%, rgba(10,30,32,.88) 100%); }
.lx-panel > * { position: relative; z-index: 1; }
.lx-panel-top { display: flex; align-items: center; gap: 12px; }
.lx-mark { width: 46px; height: 46px; border-radius: 13px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); display: inline-flex; align-items: center; justify-content: center; }
.lx-mark-text { font-weight: 700; font-size: 20px; line-height: 1.1; letter-spacing: .01em; }
.lx-mark-text small { display: block; font-family: 'Inter', sans-serif; font-weight: 400; font-size: 12.5px; opacity: .72; letter-spacing: 0; margin-top: 3px; }
/* v3.105.175 program / database version under the product name (login) */
.lx-ver { display: inline-flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 8px; padding: 3px 10px; border-radius: 999px; font-family: 'Inter', sans-serif; font-size: 11.5px; font-weight: 500; line-height: 1.5; letter-spacing: 0; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); opacity: .9; }
.lx-ver > span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.lx-ver > span + span { padding-left: 10px; border-left: 1px solid rgba(255,255,255,.25); }
.lx-ver i { font-size: 12px; opacity: .8; }
.lx-ver b { font-weight: 600; font-variant-numeric: tabular-nums; }
.lx-panel-main { max-width: 540px; }
.lx-headline { color: #fff; font-size: clamp(32px, 3.4vw, 50px); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 18px; text-wrap: balance; }
.lx-lede { color: rgba(255,255,255,.78); font-size: 16.5px; line-height: 1.6; margin: 0; max-width: 46ch; }

/* scorecard: the EPM rating scale with an overall rating marker */
.lx-scorecard { margin: 0; max-width: 560px; padding: 22px 24px 20px; border-radius: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(6px); }
.lx-scorecard figcaption { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.lx-scorecard figcaption span { font-size: 13.5px; color: rgba(255,255,255,.7); margin-right: auto; }
.lx-scorecard b { font-size: 38px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.lx-scorecard em { font-style: normal; font-size: 12.5px; font-weight: 600; color: #1d1a10; background: var(--lx-gold); border-radius: 20px; padding: 3px 10px; transform: translateY(-6px); }
.lx-scale { position: relative; display: flex; gap: 4px; padding-top: 14px; }
.lx-band { flex: 1 1 0; min-width: 0; }
.lx-band i { display: block; height: 10px; border-radius: 3px; background: rgba(255,255,255,.18); }
.lx-band-2 i { background: rgba(255,255,255,.3); } .lx-band-3 i { background: color-mix(in srgb, var(--lx-brand) 80%, #fff); } .lx-band-4 i { background: var(--lx-gold); }
.lx-band small { display: block; margin-top: 8px; font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-band span { display: block; font-size: 11.5px; color: rgba(255,255,255,.55); white-space: nowrap; }
.lx-marker { position: absolute; top: 0; left: var(--pos); width: 2px; height: 30px; background: #fff; transform: translateX(-1px); animation: lxMarker 1.1s cubic-bezier(.2,.8,.2,1) .25s both; }
.lx-marker::before { content: ''; position: absolute; top: -5px; left: -5px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.22); }
@keyframes lxMarker { from { left: 0; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .lx-marker { animation: none; } }
.lx-facts { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(255,255,255,.12); display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lx-facts li { font-size: 12.5px; line-height: 1.4; color: rgba(255,255,255,.78); display: flex; gap: 8px; align-items: flex-start; }
.lx-facts i { color: var(--lx-gold); font-size: 16px; line-height: 1.1; }

/* form side */
.lx-main { display: flex; flex-direction: column; align-items: center; padding: 28px 24px 24px; min-width: 0; }
.lx-topbar, .lx-card, .lx-footer { width: 100%; max-width: 448px; }
.lx-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: auto; padding-bottom: 28px; }
.lx-brand { min-width: 0; }
.lx-company-logo { display: block; max-height: 84px; max-width: 260px; width: auto; object-fit: contain; }
[data-theme=dark] .lx-company-logo { background: #fff; border-radius: 10px; padding: 6px 10px; }
.lx-epm-logo { height: 46px; width: auto; }
.lx-epm-logo.dark-logo { display: none; }
[data-theme=dark] .lx-epm-logo.light-logo { display: none; }
[data-theme=dark] .lx-epm-logo.dark-logo { display: inline-block; }
.lx-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.lx-lang { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 19px; border: 1px solid var(--lx-line); background: var(--lx-card); color: var(--lx-text); font-size: 13px; font-weight: 600; }
.lx-icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--lx-line); background: var(--lx-card); color: var(--lx-text); display: inline-flex; align-items: center; justify-content: center; font-size: 17px; }
.lx-lang:hover, .lx-icon-btn:hover { border-color: var(--lx-brand); }
.lx-card { background: var(--lx-card); border: 1px solid var(--lx-line); border-radius: 22px; padding: 38px 38px 30px; box-shadow: 0 1px 2px rgba(16,40,42,.04), 0 18px 48px -18px rgba(16,40,42,.18); }
.lx-heading { margin-bottom: 26px; }
.lx-heading h1 { font-size: 30px !important; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; color: var(--lx-text); margin: 0 0 6px; }
/* v3.105.191 sign-in: small round help button beside the heading */
.lx-heading--help { position: relative; padding-right: 40px; }
.lx-help-btn { position: absolute; top: 4px; right: 0; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; color: var(--lx-brand); border: 1px solid color-mix(in srgb, var(--lx-brand) 35%, transparent); background: color-mix(in srgb, var(--lx-brand) 8%, transparent); text-decoration: none; transition: background .15s, color .15s; }
.lx-help-btn:hover, .lx-help-btn:focus-visible { background: var(--lx-brand); color: #fff; }
.lx-heading-icon { display: inline-flex; width: 52px; height: 52px; border-radius: 14px; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px; color: var(--lx-brand); background: color-mix(in srgb, var(--lx-brand) 12%, transparent); }
.lx-heading p { color: var(--lx-muted); font-size: 14.5px; margin: 0; }
.lx-form { display: flex; flex-direction: column; gap: 18px; }
.lx-field label, .lx-field-lang label { display: block; font-size: 13.5px; font-weight: 600; color: var(--lx-text); margin-bottom: 7px; }
.lx-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.lx-label-row label { margin-bottom: 7px; }
.lx-input { position: relative; }
.lx-input > i { position: absolute; left: 15px; top: 25px; transform: translateY(-50%); color: var(--lx-muted); font-size: 18px; pointer-events: none; transition: color .15s; }
.lx-input .form-control, .lx-field-lang .form-select { height: 50px; border-radius: 12px; border: 1px solid var(--lx-line); background: var(--lx-card); color: var(--lx-text); padding-left: 46px; font-size: 15px; box-shadow: none; }
.lx-input .form-select { height: 50px; border-radius: 12px; border-color: var(--lx-line); background-color: var(--lx-card); color: var(--lx-text); padding-left: 46px; font-size: 15px; box-shadow: none; }
.lx-input .form-select:invalid { color: color-mix(in srgb, var(--lx-muted) 70%, transparent); }
.lx-input .form-select option { color: var(--lx-text); }
.lx-input .form-select:focus { border-color: var(--lx-brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--lx-brand) 16%, transparent); }
.lx-input .form-control::placeholder { color: color-mix(in srgb, var(--lx-muted) 70%, transparent); }
.lx-input .form-control:focus, .lx-field-lang .form-select:focus { border-color: var(--lx-brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--lx-brand) 16%, transparent); }
.lx-input:focus-within > i { color: var(--lx-brand); }
.lx-eye { position: absolute; right: 8px; top: 25px; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 9px; background: transparent; color: var(--lx-muted); font-size: 18px; }
.lx-eye:hover { background: color-mix(in srgb, var(--lx-muted) 12%, transparent); }
/* v3.105.189 sign-in: label left, box right on the same row (a narrow phone keeps them stacked) */
.lx-row { display: grid; grid-template-columns: 128px minmax(0, 1fr); column-gap: 14px; align-items: center; }
.lx-field.lx-row > label { margin: 0; }
.lx-row > :not(label) { grid-column: 2; }
.lx-row { grid-template-columns: 108px minmax(0, 1fr); column-gap: 10px; }
.lx-row .lx-input .form-control, .lx-row .lx-input .form-select { height: 42px; padding-left: 38px; font-size: 14.5px; text-overflow: ellipsis; white-space: nowrap; }
.lx-row .lx-input > i { left: 12px; top: 21px; font-size: 16px; }
.lx-row .lx-input .lx-eye { top: 21px; }
.lx-row .lx-input:has(.lx-eye) .form-control { padding-right: 44px; }
.lx-row .gui-choice label { min-width: 0; }
.lx-row .gui-choice span { padding: 7px 4px; font-size: 12.5px; }
.lx-row .lx-note { display: block; margin-top: 5px; font-size: 12px; color: var(--lx-muted); }
@media (max-width: 420px) { .lx-row { display: block; } .lx-field.lx-row > label { margin-bottom: 7px; } }
.lx-caps { display: none; margin-top: 6px; font-size: 12.5px; color: #b45309; }
.lx-field.caps .lx-caps { display: block; }
.lx-field-lang .position-relative > i { left: 1px; }
.lx-remember { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--lx-text); cursor: pointer; margin: 2px 0 0; }
.lx-remember .form-check-input { width: 18px; height: 18px; margin: 0; flex-shrink: 0; border-color: var(--lx-line); }
.lx-remember .form-check-input:checked { background-color: var(--lx-brand); border-color: var(--lx-brand); }
.lx-remember small { color: var(--lx-muted); font-size: 12.5px; }
.lx-link { color: var(--lx-brand); font-weight: 600; font-size: 13.5px; text-decoration: none; }
.lx-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.lx-submit { position: relative; margin-top: 6px; height: 52px; width: 100%; border: 0; border-radius: 12px; background: var(--lx-brand); color: #fff; font-size: 16px; font-weight: 600; letter-spacing: .01em;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: background .15s, box-shadow .15s; }
.lx-submit:hover { background: color-mix(in srgb, var(--lx-brand) 86%, #000); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--lx-brand) 70%, transparent); }
.lx-submit:focus-visible, .lx-lang:focus-visible, .lx-icon-btn:focus-visible, .lx-link:focus-visible { outline: 3px solid color-mix(in srgb, var(--lx-brand) 45%, transparent); outline-offset: 2px; }
.lx-submit .spinner-border { display: none; }
.lx-submit.busy .spinner-border { display: inline-block; }
.lx-alt { text-align: center; font-size: 14px; color: var(--lx-muted); margin: 22px 0 0; }
.lx-note { display: flex; gap: 6px; justify-content: center; align-items: center; margin: 14px 0 0; font-size: 12.5px; color: var(--lx-muted); }
.lx-footer { margin-top: auto; padding-top: 28px; text-align: center; }
.lx-secure { font-size: 12px; color: var(--lx-muted); display: flex; gap: 6px; justify-content: center; align-items: center; margin: 0 0 14px; }
.lx-vendor { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.lx-vendor .verge-logo { height: 22px; }
.lx-vendor p { font-size: 11.5px; color: var(--lx-muted); margin: 0; }
.lx-card .is-invalid { border-color: #dc2626 !important; }
@media (max-width: 1199px) { .lx-panel { padding: 36px 40px 40px; } .lx-facts { grid-template-columns: 1fr; gap: 8px; } }
@media (max-width: 991px) { .lx { grid-template-columns: 1fr; } .lx-panel { display: none; } }
@media (max-height: 760px) and (min-width: 992px) { .lx-panel { gap: 24px; padding-top: 32px; padding-bottom: 32px; } .lx-headline { font-size: clamp(30px, 2.8vw, 42px); } .lx-facts { display: none; } }
@media (max-width: 575px) { .lx-heading h1 { font-size: 26px !important; } .lx-card { padding: 28px 22px 24px; border-radius: 18px; } .lx-company-logo { max-height: 60px; max-width: 190px; } .lx-main { padding: 18px 14px; } }

/* Master Data Configuration: wrapping text cells and tab row */
.epm-table td.md-wrap { white-space: normal; min-width: 200px; }
.md-tabs { flex-wrap: wrap; }
.md-tabs .nav-link { padding: 8px 14px; font-size: 14px; }
.bordered-table.md-table { min-width: 100%; }

/* EPM form: tab panes inside the form element (Bootstrap only hides direct children of .tab-content) */
.tab-content form > .tab-pane { display: none; }
.tab-content form > .tab-pane.active { display: block; }
#epmTabs { scroll-margin-top: 150px; }

/* scrollable modals whose header/body/footer are wrapped in a <form>: keep header and footer visible, scroll the body */
.modal-dialog-scrollable .modal-content > form { display: flex; flex-direction: column; min-height: 0; max-height: 100%; overflow: hidden; }
.modal-dialog-scrollable .modal-content > form > .modal-body { overflow-y: auto; min-height: 0; flex: 1 1 auto; }
.modal-dialog-scrollable .modal-content > form > .modal-header, .modal-dialog-scrollable .modal-content > form > .modal-footer { flex-shrink: 0; }
.epm-lib-table thead th { position: sticky; top: 0; z-index: 2; background: var(--white, #fff); box-shadow: inset 0 -1px 0 var(--border-color, #e5e7eb); }
[data-theme=dark] .epm-lib-table thead th { background: var(--neutral-50, #1b2431); }
.epm-lib-table tbody tr { cursor: pointer; }
.epm-lib-table tbody tr.is-selected td { background: color-mix(in srgb, var(--primary-600) 8%, transparent); }

/* EPM structure rows (e.g. FINANCIAL / STRATEGIC): white bold text on the structure colour */
.epm-form-table .epm-persp-row td, .epm-form-table .epm-persp-row td * { color: #fff !important; }
.epm-form-table .epm-persp-row td { font-weight: 800; font-size: 14px; letter-spacing: .06em; padding: 12px 16px; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.epm-form-table .epm-persp-row td i { margin-right: 6px; }

/* EPM form: record information strip */
.epm-recinfo { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px 20px; background: color-mix(in srgb, var(--primary-600) 4%, transparent); }
.epm-recinfo-item { display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
.epm-recinfo-item > i { width: 32px; height: 32px; flex-shrink: 0; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--primary-600) 12%, transparent); color: var(--primary-600); font-size: 16px; }
.epm-recinfo-item span { display: block; font-size: 12px; color: var(--text-secondary-light); line-height: 1.3; }
.epm-recinfo-item b { display: block; font-size: 13.5px; font-weight: 600; color: var(--text-primary-light); line-height: 1.4; }
.epm-recinfo-item small { display: block; font-size: 12px; color: var(--text-secondary-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* EPM form: verify button and pop-up */
.epm-verify-dot { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; font-size: 11px; font-weight: 700; line-height: 20px; color: #fff; }
.epm-verify-dot.is-error { background: #dc2626; } .epm-verify-dot.is-warning { background: #d97706; }
.epm-verify-summary { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px; margin-bottom: 8px; }
.epm-verify-summary > i { font-size: 28px; }
.epm-verify-summary.is-ok { background: #dcfce7; color: #166534; } .epm-verify-summary.is-warning { background: #fef3c7; color: #92400e; } .epm-verify-summary.is-error { background: #fee2e2; color: #991b1b; }
[data-theme=dark] .epm-verify-summary.is-ok { background: rgba(22,163,74,.18); color: #86efac; } [data-theme=dark] .epm-verify-summary.is-warning { background: rgba(217,119,6,.18); color: #fcd34d; } [data-theme=dark] .epm-verify-summary.is-error { background: rgba(220,38,38,.18); color: #fca5a5; }
.epm-verify-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border-color, #e5e7eb); border-radius: 12px; overflow: hidden; }
.epm-verify-list li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; font-size: 14px; border-top: 1px solid var(--border-color, #e5e7eb); }
.epm-verify-list li:first-child { border-top: 0; }
.epm-verify-list li > i { font-size: 18px; line-height: 1.2; flex-shrink: 0; }
.epm-verify-list li > span { flex: 1; }
.epm-verify-list li > a { flex-shrink: 0; font-size: 13px; font-weight: 600; color: var(--primary-600); white-space: nowrap; }
.epm-verify-list .is-ok > i { color: #16a34a; } .epm-verify-list .is-info > i { color: #2563eb; } .epm-verify-list .is-warning > i { color: #d97706; } .epm-verify-list .is-error > i { color: #dc2626; }
.epm-verify-list .is-error { background: color-mix(in srgb, #dc2626 5%, transparent); }

/* EPM form: gained scores on the performance ratio */
.epm-gains { margin-top: 6px; display: grid; gap: 2px; }
.epm-gain { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--text-secondary-light); }
.epm-gain b { color: var(--text-primary-light); font-weight: 700; }
.epm-form-table tfoot .epm-gain-row td { background: color-mix(in srgb, var(--primary-600) 7%, transparent); color: var(--primary-600); }

/* EPM form: overall performance score reference (rating bands) */
.epm-band-ref { list-style: none; margin: 12px 0 0; padding: 10px 0 0; border-top: 1px dashed var(--border-color, #d1d5db); text-align: left; }
.epm-band-ref li { display: flex; align-items: center; gap: 8px; font-size: 12px; padding: 3px 8px; border-radius: 8px; color: var(--text-secondary-light); }
.epm-band-ref li span { flex: 1; }
.epm-band-ref li b { font-weight: 600; font-variant-numeric: tabular-nums; }
.epm-band-ref li.is-current { background: color-mix(in srgb, var(--primary-600) 10%, transparent); color: var(--text-primary-light); font-weight: 700; }
.epm-band-ref i { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.epm-dot-success { background: #16a34a; } .epm-dot-primary { background: #25A194; } .epm-dot-info { background: #2563eb; } .epm-dot-warning { background: #f59e0b; } .epm-dot-danger { background: #dc2626; } .epm-dot-neutral { background: #94a3b8; }

/* EPM form: history / audit trail */
.epm-hist-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border-color, #e5e7eb); }
.epm-hist-item:last-child { border-bottom: 0; }
.epm-hist-icon { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 17px; background: var(--neutral-100, #f1f5f9); color: var(--text-secondary-light); }
.epm-hist-success { background: #dcfce7; color: #16a34a; } .epm-hist-info { background: #dbeafe; color: #2563eb; } .epm-hist-danger { background: #fee2e2; color: #dc2626; }
.epm-hist-warning { background: #fef3c7; color: #d97706; } .epm-hist-primary { background: color-mix(in srgb, var(--primary-600) 14%, transparent); color: var(--primary-600); }
.epm-hist-changes { margin-top: 8px; }
.epm-hist-changes summary { font-size: 12.5px; font-weight: 600; color: var(--primary-600); cursor: pointer; }
.epm-hist-changes table { margin-top: 6px; font-size: 13px; border: 1px solid var(--border-color, #e5e7eb); border-radius: 8px; overflow: hidden; }
.epm-hist-changes th { font-size: 11.5px; font-weight: 600; background: var(--neutral-50, #f8fafc); }
.epm-hist-changes td { vertical-align: top; white-space: pre-wrap; word-break: break-word; }
.epm-hist-changes td:first-child { width: 34%; }
.epm-hist-old { color: #b91c1c; background: color-mix(in srgb, #dc2626 5%, transparent); text-decoration: line-through; text-decoration-color: rgba(185,28,28,.35); }
.epm-hist-new { color: #15803d; background: color-mix(in srgb, #16a34a 6%, transparent); }
[data-theme=dark] .epm-hist-old { color: #fca5a5; } [data-theme=dark] .epm-hist-new { color: #86efac; }

/* EPM form header: score box + rating reference box side by side */
.epm-score-pair { display: grid; grid-template-columns: minmax(170px, 0.8fr) minmax(220px, 1.2fr); gap: 12px; height: 100%; }
.epm-score-pair .epm-score-box { height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.epm-rank-box { align-items: stretch !important; text-align: left; }
.epm-rank-box .l { text-align: center; margin-bottom: 6px; }
.epm-rank-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.epm-rank-table th { font-size: 11px; font-weight: 600; text-transform: none; color: var(--text-secondary-light); padding: 4px 8px; border-bottom: 1px solid var(--border-color, #e5e7eb); }
.epm-rank-table th:last-child, .epm-rank-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.epm-rank-table td { padding: 5px 8px; color: var(--text-secondary-light); }
.epm-rank-table td i[class^="epm-dot"] { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.epm-rank-table tr.is-current td { background: color-mix(in srgb, var(--primary-600) 12%, transparent); color: var(--text-primary-light); font-weight: 700; }
.epm-rank-table tr.is-current td:first-child { border-radius: 8px 0 0 8px; } .epm-rank-table tr.is-current td:last-child { border-radius: 0 8px 8px 0; }
.epm-rank-here { color: var(--primary-600); }
@media (max-width: 575px) { .epm-score-pair { grid-template-columns: 1fr; } }

/* ======================================================================
   EPM form header: reference / confidentiality strip, job context,
   rating status, previous cycle, workflow / dates / completion band
   ====================================================================== */
.epm-head-card { overflow: hidden; }
.epm-head-strip { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 8px 24px; font-size: 12.5px;
  background: color-mix(in srgb, var(--primary-600) 7%, transparent); border-bottom: 1px solid var(--border-color, #e5e7eb); color: var(--text-secondary-light); }
.epm-ref { display: inline-flex; align-items: center; gap: 6px; }
.epm-ref b { color: var(--text-primary-light); font-weight: 700; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.epm-ref-copy { border: 0; background: transparent; color: var(--primary-600); padding: 0 2px; line-height: 1; }
.epm-conf { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #b45309; }
[data-theme=dark] .epm-conf { color: #fbbf24; }

.epm-job { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--text-primary-light); }
.epm-job li { display: inline-flex; align-items: center; gap: 4px; }
.epm-job li i { color: var(--primary-600); }
.epm-job li span { color: var(--text-secondary-light); }

.epm-rating-status { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.epm-rating-status.is-success { color: #15803d; background: #dcfce7; } .epm-rating-status.is-info { color: #1d4ed8; background: #dbeafe; } .epm-rating-status.is-warning { color: #b45309; background: #fef3c7; }
[data-theme=dark] .epm-rating-status { background: rgba(255,255,255,.08) !important; }
.epm-prev { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 12px; color: var(--text-secondary-light); }
.epm-prev:hover { color: var(--primary-600); }
.epm-prev b { color: var(--text-primary-light); }
.epm-prev em { font-style: normal; font-weight: 700; display: inline-flex; align-items: center; }
.epm-prev em.is-up { color: #16a34a; } .epm-prev em.is-down { color: #dc2626; } .epm-prev em.is-eq { color: var(--text-secondary-light); }

.epm-progress-band { display: grid; grid-template-columns: minmax(300px, 1.25fr) minmax(250px, 1fr) minmax(250px, 1fr); gap: 20px 28px; }
.epm-pb-title { font-size: 11px; font-weight: 700; letter-spacing: .05em; color: var(--text-secondary-light); margin-bottom: 10px; }
.epm-steps { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.epm-steps li { position: relative; text-align: center; font-size: 12px; color: var(--text-secondary-light); }
.epm-steps li::before { content: ''; position: absolute; top: 15px; left: -50%; width: 100%; height: 2px; background: var(--border-color, #e5e7eb); z-index: 0; }
.epm-steps li:first-child::before { display: none; }
.epm-steps li.is-done::before, .epm-steps li.is-current::before { background: var(--primary-600); }
.epm-step-dot { position: relative; z-index: 1; width: 32px; height: 32px; margin: 0 auto 4px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px;
  background: var(--white, #fff); border: 2px solid var(--border-color, #d1d5db); color: var(--text-secondary-light); }
[data-theme=dark] .epm-step-dot { background: var(--neutral-50, #1b2431); }
.epm-steps li.is-done .epm-step-dot { background: var(--primary-600); border-color: var(--primary-600); color: #fff; }
.epm-steps li.is-current .epm-step-dot { border-color: var(--primary-600); color: var(--primary-600); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary-600) 18%, transparent); }
.epm-steps li.is-returned .epm-step-dot { border-color: #dc2626; color: #dc2626; box-shadow: 0 0 0 4px rgba(220,38,38,.15); }
.epm-steps li b { display: block; font-weight: 600; color: var(--text-primary-light); }
.epm-steps li.is-current b { color: var(--primary-600); } .epm-steps li.is-returned b { color: #dc2626; }
.epm-steps li small { display: block; font-size: 11px; }
.epm-next { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; font-size: 13px; background: var(--neutral-50, #f8fafc); border-left: 3px solid var(--primary-600); }
.epm-next > i { font-size: 18px; line-height: 1.2; color: var(--primary-600); }
.epm-next span { display: block; font-size: 11px; color: var(--text-secondary-light); }
.epm-next span b { color: #b45309; }
.epm-next.is-success { border-left-color: #16a34a; } .epm-next.is-success > i { color: #16a34a; }
.epm-next.is-warning { border-left-color: #d97706; } .epm-next.is-warning > i { color: #d97706; }
.epm-next.is-info { border-left-color: #2563eb; } .epm-next.is-info > i { color: #2563eb; }
.epm-pb-dates ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.epm-pb-dates li { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.epm-pb-dates li > i { width: 28px; height: 28px; flex-shrink: 0; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--primary-600) 10%, transparent); color: var(--primary-600); }
.epm-pb-dates li > div { flex: 1; min-width: 0; }
.epm-pb-dates li span { display: block; font-size: 11px; color: var(--text-secondary-light); }
.epm-pb-dates li b { font-weight: 600; color: var(--text-primary-light); }
.epm-pb-dates li em { font-style: normal; white-space: nowrap; }
.epm-completion { display: block; width: 100%; text-align: left; border: 1px solid var(--border-color, #e5e7eb); background: transparent; border-radius: 12px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s; }
.epm-completion:hover { border-color: var(--primary-600); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-600) 12%, transparent); }
.epm-completion-top { display: flex; justify-content: space-between; align-items: baseline; }
.epm-completion-top b { font-size: 24px; font-weight: 700; color: var(--primary-600); line-height: 1; }
.epm-completion-top span { font-size: 12px; color: var(--text-secondary-light); }
.epm-bar { display: block; height: 8px; border-radius: 4px; background: var(--neutral-200, #e5e7eb); margin: 8px 0; overflow: hidden; }
.epm-bar i { display: block; height: 100%; border-radius: 4px; background: var(--primary-600); }
.epm-bar i.is-full { background: #16a34a; }
.epm-completion-items { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--text-secondary-light); }
.epm-completion-items b { color: var(--text-primary-light); }
.epm-kpi-chip { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; padding: 6px 10px; border-radius: 8px; }
.epm-kpi-chip.is-ok { background: #dcfce7; color: #166534; } .epm-kpi-chip.is-bad { background: #fee2e2; color: #991b1b; }
[data-theme=dark] .epm-kpi-chip.is-ok { background: rgba(22,163,74,.18); color: #86efac; } [data-theme=dark] .epm-kpi-chip.is-bad { background: rgba(220,38,38,.18); color: #fca5a5; }
@media (max-width: 1399px) { .epm-progress-band { grid-template-columns: 1fr 1fr; } .epm-pb-flow { grid-column: 1 / -1; } }
@media (max-width: 767px) { .epm-progress-band { grid-template-columns: 1fr; } .epm-head-strip { padding: 8px 16px; } }
@media print { .epm-ref-copy { display: none; } }
.epm-prev { flex-wrap: wrap; justify-content: center; text-align: center; }
.epm-prev span, .epm-prev em { white-space: nowrap; }
.epm-pb-dates li b { margin-right: 6px; }
.epm-pb-dates li em { display: inline-block; font-size: 11px; vertical-align: middle; }
.epm-job li { white-space: nowrap; }
.epm-req-box { padding: 12px 14px; border-radius: 10px; background: #fffbeb; border: 1px solid #fcd34d; }
.epm-req-box span { display: block; font-size: 12px; color: #92400e; margin-bottom: 4px; font-weight: 600; }
[data-theme=dark] .epm-req-box { background: rgba(245,158,11,.12); border-color: rgba(245,158,11,.4); }
[data-theme=dark] .epm-req-box span { color: #fcd34d; }
/* KPI rating drop-down (EPM Rating list): one line, wide enough for "3 — Meets Expectations" */
.epm-form-table select.kpi-rating, .epm-form-table select.comp-rating { min-width: 170px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; height: 40px; padding-top: 6px; padding-bottom: 6px; }
/* Master Data Configuration: long column headers may wrap (e.g. Probation: "Reminder before confirmation (days)") */
.epm-table.md-table th { white-space: normal; vertical-align: middle; }

/* ======================================================================
   Saving indicator: light pill at the top of the screen while a
   transaction updates the database, and a spinner on the pressed button
   ====================================================================== */
.epm-saving { position: fixed; top: 14px; left: 50%; z-index: 2000; display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--text-primary-light, #1f2937);
  background: rgba(255,255,255,.96); border: 1px solid color-mix(in srgb, var(--primary-600, #25A194) 22%, #e5e7eb);
  box-shadow: 0 6px 24px rgba(15,46,48,.12); backdrop-filter: blur(6px);
  opacity: 0; transform: translate(-50%, -12px); pointer-events: none; transition: opacity .18s ease, transform .18s ease; }
.epm-saving.is-on { opacity: 1; transform: translate(-50%, 0); }
[data-theme=dark] .epm-saving { background: rgba(27,36,49,.96); color: #e5e7eb; border-color: rgba(255,255,255,.12); box-shadow: 0 6px 24px rgba(0,0,0,.4); }
.epm-saving-ring { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid color-mix(in srgb, var(--primary-600, #25A194) 22%, transparent); border-top-color: var(--primary-600, #25A194);
  animation: epmSpin .7s linear infinite; }
.epm-saving.is-done .epm-saving-ring { animation: none; border-color: #16a34a; background: #16a34a; position: relative; }
.epm-saving.is-done .epm-saving-ring::after { content: ''; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.epm-saving.is-done { color: #15803d; }
[data-theme=dark] .epm-saving.is-done { color: #86efac; }
@keyframes epmSpin { to { transform: rotate(360deg); } }
/* pressed button: its icon becomes a light spinning ring */
.epm-btn-saving { pointer-events: none; opacity: .85; }
i.epm-btn-ring { display: inline-block; width: 1em; height: 1em; vertical-align: -0.125em; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent; opacity: .8; animation: epmSpin .7s linear infinite; }
i.epm-btn-ring-added { margin-right: 6px; }
@media (prefers-reduced-motion: reduce) { .epm-saving-ring, i.epm-btn-ring { animation-duration: 2s; } .epm-saving { transition: none; } }

/* ---- approval stages (EPM form header) */
.epm-stages { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 10px; font-size: 12px; }
.epm-stages-title { color: var(--text-secondary-light); margin-right: 4px; }
.epm-stages-title b { color: var(--text-primary-light); }
.epm-stage { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--neutral-200, #e2e8f0); color: var(--text-secondary-light); background: var(--white, #fff); }
.epm-stage small { font-size: 10.5px; opacity: .8; margin-left: 2px; }
.epm-stage.is-done { border-color: color-mix(in srgb, var(--success-600, #16a34a) 45%, transparent); color: var(--success-700, #15803d); background: color-mix(in srgb, var(--success-600, #16a34a) 9%, transparent); }
.epm-stage.is-current { border-color: var(--primary-600); color: var(--primary-600); font-weight: 600; background: color-mix(in srgb, var(--primary-600) 8%, transparent); }
[data-theme="dark"] .epm-stage { background: transparent; border-color: rgba(255,255,255,.18); }
[data-theme="dark"] .epm-stage.is-done { color: #4ade80; }
.epm-list-stages { font-size: 11px; color: var(--text-secondary-light); margin-top: 3px; white-space: nowrap; }
.epm-list-stages .ok { color: var(--success-600, #16a34a); }
.epm-action-btn.is-blocked { opacity: .45; cursor: not-allowed; }

/* ---- re-open: choose the review stage */
.epm-stage-pick { display: grid; gap: 8px; }
.epm-stage-opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--neutral-200, #e2e8f0); border-radius: 10px; cursor: pointer; }
.epm-stage-opt:has(input:checked) { border-color: var(--warning-600, #d97706); background: color-mix(in srgb, var(--warning-600, #d97706) 8%, transparent); }
.epm-stage-opt .form-check-input { margin-top: 3px; flex-shrink: 0; }
.epm-stage-opt span { display: flex; flex-direction: column; font-size: 13px; }
.epm-stage-opt small { color: var(--text-secondary-light); font-size: 11.5px; }
.epm-stage-opt em { color: var(--danger-600, #dc2626); font-size: 11.5px; font-style: normal; }
/* ---- approval rejected: required fields */
.epm-check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.epm-check-list a { display: block; padding: 6px 10px; border-radius: 8px; font-size: 13px; color: var(--text-primary-light); }
.epm-check-list a:hover { background: color-mix(in srgb, var(--danger-600, #dc2626) 8%, transparent); }

/* ---- Messages: display duration per type */
.epm-dur-dot { display: inline-flex; width: 20px; height: 20px; border-radius: 6px; align-items: center; justify-content: center; font-size: 13px; }
.epm-dur-success { color: #16a34a; background: #dcfce7; } .epm-dur-info { color: #2563eb; background: #dbeafe; }
.epm-dur-warning { color: #d97706; background: #fef3c7; } .epm-dur-error { color: #dc2626; background: #fee2e2; }

/* ---- consolidated approvals (approvals.php) */
.epm-appr-ic { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.epm-appr-ic.is-primary { background: color-mix(in srgb, var(--primary-600) 12%, transparent); color: var(--primary-600); }
.epm-appr-ic.is-success { background: #dcfce7; color: #16a34a; } .epm-appr-ic.is-warning { background: #fef3c7; color: #d97706; }
.epm-bulk-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 20px; border-bottom: 1px solid var(--neutral-200, #e2e8f0); background: color-mix(in srgb, var(--primary-600) 4%, transparent); position: sticky; top: 72px; z-index: 3; }
.epm-appr-table tbody tr { cursor: pointer; }
.epm-appr-table tbody tr.is-selected td { background: color-mix(in srgb, var(--primary-600) 7%, transparent) !important; }
.epm-appr-table tr.is-notready td:nth-child(2) .fw-semibold::after { content: ''; }
.epm-tab-count { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 999px; background: rgba(0,0,0,.08); font-size: 11px; margin-left: 4px; text-align: center; }
.nav-link.active .epm-tab-count { background: rgba(255,255,255,.25); }
.epm-req-details summary { list-style: none; cursor: pointer; } .epm-req-details summary::-webkit-details-marker { display: none; }
.epm-req-details ul, .epm-appr-req { margin: 6px 0 0; padding-left: 16px; font-size: 12px; color: var(--text-secondary-light); max-width: 380px; }
.epm-appr-res-list { list-style: none; margin: 0; padding: 8px 20px 12px; }
.epm-appr-res-list > li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px dashed var(--neutral-200, #e2e8f0); }
.epm-appr-res-list > li:last-child { border-bottom: 0; }
.epm-appr-res-list > li > i { font-size: 20px; line-height: 1.2; }
.epm-appr-res-list .is-ok > i { color: #16a34a; } .epm-appr-res-list .is-fail > i { color: #dc2626; }

/* ---- Email Settings (email-settings.php) */
.epm-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.epm-seg label { margin: 0; cursor: pointer; }
.epm-seg input { position: absolute; opacity: 0; pointer-events: none; }
.epm-seg span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--neutral-300, #cbd5e1); border-radius: 8px; font-size: 13.5px; transition: background .15s, border-color .15s; }
.epm-seg input:checked + span { border-color: var(--primary-600); background: color-mix(in srgb, var(--primary-600) 10%, transparent); color: var(--primary-600); font-weight: 600; }
.epm-seg input:focus-visible + span { outline: 2px solid var(--primary-600); outline-offset: 2px; }
.epm-mail-frame { width: 100%; height: 540px; border: 1px solid var(--neutral-200, #e2e8f0); border-radius: 10px; background: #f1f5f9; }
.epm-mail-subject { font-size: 13px; padding: 8px 12px; border: 1px solid var(--neutral-200, #e2e8f0); border-radius: 8px; margin-bottom: 8px; }
.epm-mail-pre { max-height: 260px; overflow: auto; font-size: 11.5px; background: #0f172a; color: #e2e8f0; padding: 10px 12px; border-radius: 8px; margin: 8px 0 0; white-space: pre-wrap; }
.epm-mail-dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; font-size: 13px; margin-bottom: 12px; }
.epm-mail-dl dt { color: var(--text-secondary-light); font-weight: 500; }
.epm-mail-dl dd { margin: 0; word-break: break-word; }
.epm-mail-test.is-ok { border-left: 4px solid #16a34a; } .epm-mail-test.is-fail { border-left: 4px solid #dc2626; }
.epm-mail-edit > td { background: color-mix(in srgb, var(--primary-600) 3%, transparent) !important; padding: 20px !important; }
.epm-tab-count.is-bad { background: #dc2626; color: #fff; }
details > summary { cursor: pointer; }
.epm-mail-ev { table-layout: fixed; width: 100%; min-width: 0 !important; }
.epm-mail-ev th, .epm-mail-ev td { white-space: normal !important; word-break: break-word; }
.epm-mail-ev th:nth-child(1) { width: 64px; } .epm-mail-ev th:nth-child(2) { width: 21%; } .epm-mail-ev th:nth-child(3) { width: 27%; }
.epm-mail-ev th:nth-child(4) { width: 13%; } .epm-mail-ev th:nth-child(6) { width: 64px; }

/* ---- Add Employee: create from registration request */
.emp-req-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 14px; border-radius: 10px; background: color-mix(in srgb, #16a34a 7%, transparent); border: 1px dashed color-mix(in srgb, #16a34a 45%, transparent); }
.emp-req-panel { margin-top: 8px; border: 1px solid var(--neutral-200, #e2e8f0); border-radius: 10px; overflow: auto; max-height: 240px; }
.emp-req-panel th { font-size: 12px; color: var(--text-secondary-light); font-weight: 600; background: var(--neutral-50, #f8fafc); position: sticky; top: 0; }
.emp-req-panel td { font-size: 13px; vertical-align: middle; }

/* ---- Employees list: compact columns (13 columns) */
.emp-list > :not(caption) > * > * { padding: 10px 10px !important; }
.emp-list th { white-space: normal !important; font-size: 12px; line-height: 1.25; vertical-align: middle; min-width: 64px; }
.emp-list td { font-size: 13px; line-height: 1.35; }
.emp-list td:nth-child(3) { min-width: 210px; }
.emp-list td:nth-child(4), .emp-list td:nth-child(5), .emp-list td:nth-child(6), .emp-list td:nth-child(7) { white-space: normal; max-width: 170px; min-width: 110px; }
.emp-list td:nth-child(3) .text-xs { word-break: break-all; }
.emp-list .epm-badge { white-space: nowrap; }
.emp-list .epm-action-btn { width: 30px; height: 30px; }
.emp-list { min-width: 0 !important; width: 100%; }
.emp-list thead th { font-size: 12.5px !important; }
.emp-list td:nth-child(3) { min-width: 180px; }
.emp-list td:nth-child(4), .emp-list td:nth-child(5), .emp-list td:nth-child(6), .emp-list td:nth-child(7) { min-width: 96px; }
.emp-list th:first-child, .emp-list td:first-child { position: sticky; left: 0; z-index: 2; background: var(--white, #fff); box-shadow: 1px 0 0 var(--neutral-200, #e2e8f0); }
.emp-list thead th:first-child { background: inherit; z-index: 3; }
[data-theme="dark"] .emp-list td:first-child { background: var(--base, #1b2431); }
.emp-list thead th { white-space: nowrap !important; line-height: 1.3; }   /* titles break only where <br> is set (two lines) */
.emp-list td:nth-child(1), .emp-list td:nth-child(2) { min-width: 0; }

/* ---- sidebar top-left: login profile (instead of the logo) */
.epm-side-top { padding-top: 14px !important; padding-bottom: 14px !important; }
.epm-side-profile__btn { padding: 6px 8px; border-radius: 12px; background: var(--neutral-50, #f8fafc); border: 1px solid transparent; transition: background .15s, border-color .15s; }
.epm-side-profile__btn:hover, .epm-side-profile.show .epm-side-profile__btn { background: color-mix(in srgb, var(--primary-600) 8%, transparent); border-color: color-mix(in srgb, var(--primary-600) 25%, transparent); }
.epm-side-profile__text { line-height: 1.25; }
.epm-side-profile .epm-online-dot { position: absolute; right: 0; bottom: 0; }
.epm-profile-menu { min-width: 260px; z-index: 1060; }
.epm-side-profile .epm-profile-menu { top: calc(100% + 6px) !important; left: 0; }
/* collapsed sidebar: photo only (expands again on hover like the menu) */
@media (min-width: 1200px) {
  .sidebar.active:not(:hover) .epm-side-profile__text, .sidebar.active:not(:hover) .epm-side-profile__chev { display: none !important; }
  .sidebar.active:not(:hover) .epm-side-profile__btn { justify-content: center; padding: 4px; background: transparent; }
  .sidebar.active:not(:hover) .epm-side-top { justify-content: center !important; }
  .sidebar.active:not(:hover) .epm-side-top .sidebar-toggle { display: none !important; }
}
/* ---- top bar: company logo before the search field */
.epm-top-logo { display: inline-flex; align-items: center; height: 44px; padding-inline-end: 14px; margin-inline-end: 2px; border-inline-end: 1px solid var(--neutral-200, #e2e8f0); }
.epm-top-logo__img { max-height: 40px; max-width: 170px; width: auto; object-fit: contain; }
[data-theme=dark] .epm-top-logo img:not(.dark-logo) { background: #fff; border-radius: 6px; padding: 2px 6px; }
.epm-top-logo .dark-logo { display: none; } [data-theme=dark] .epm-top-logo .dark-logo { display: inline; background: none; padding: 0; } [data-theme=dark] .epm-top-logo .light-logo { display: none; }
@media (max-width: 575px) { .epm-top-logo__img { max-width: 110px; max-height: 32px; } }
/* phones: keep the top bar on one row (logo, chat, language, notifications, profile) */
@media (max-width: 575px) {
  .navbar-header > .row { flex-wrap: nowrap; }
  .navbar-header .epm-topbar-actions { flex-wrap: nowrap; gap: 6px !important; }
  .navbar-header .epm-topbar-actions .epm-session-pill, .navbar-header .epm-topbar-actions .epm-theme-toggle { display: none !important; }
  .navbar-header .epm-topbar-actions .w-40-px, .navbar-header .epm-top-avatar { width: 34px !important; height: 34px !important; }
  .navbar-header .epm-top-avatar img, .navbar-header .epm-top-avatar .avatar-initials, .navbar-header .epm-top-avatar > span:first-child { width: 34px !important; height: 34px !important; }
  .epm-top-logo { padding-inline-end: 8px; border: 0; }
}
/* top bar: EPM Approvals icon (after notifications) */
.epm-top-approvals:hover, .epm-top-approvals.is-active { background: color-mix(in srgb, var(--primary-600) 14%, transparent) !important; }
.epm-top-approvals.is-active i { color: var(--primary-600) !important; }
.epm-appr-count { background: var(--epm-warning, #f59e0b) !important; }
@media (max-width: 575px) {
  .epm-top-logo__img { max-width: 84px !important; max-height: 28px !important; }
  .navbar-header .epm-topbar-actions { gap: 5px !important; }
  .navbar-header > .row > .col-auto:first-child .d-flex { gap: 8px !important; }
}
/* employee directory (users without HR access): own team highlighted */
.emp-dir tr.emp-mine td { background: color-mix(in srgb, var(--primary-600) 4%, transparent); }
/* company switcher (user with roles in several companies), next to the company logo */
.epm-co-switch { flex-shrink: 0; }
.epm-co-switch__btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px 0 12px; border: 1px solid var(--neutral-200, #e2e8f0); border-radius: 18px; background: var(--white, #fff); color: var(--text-primary-light, #1e293b); font-size: 13px; font-weight: 600; white-space: nowrap; transition: border-color .15s, background .15s; }
.epm-co-switch__btn:hover, .epm-co-switch__btn[aria-expanded=true] { border-color: var(--primary-600); background: color-mix(in srgb, var(--primary-600) 6%, transparent); }
.epm-co-switch__btn > .ri-building-4-line { color: var(--primary-600); font-size: 16px; }
.epm-co-switch__count { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--primary-600); color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.epm-co-switch__menu { min-width: 280px; max-width: 340px; }
.epm-co-switch__menu .dropdown-item.active-co { background: color-mix(in srgb, var(--primary-600) 8%, transparent); }
[data-theme=dark] .epm-co-switch__btn { background: var(--base, #1b2431); border-color: var(--neutral-600, #4b5563); color: #fff; }
.epm-co-switch ~ .epm-top-search input { width: clamp(160px, 22vw, 340px); }
/* top bar on one row at every width: the left part (logo, company switcher, search) shrinks, the search field takes the free space */
.navbar-header > .row { flex-wrap: nowrap; }
.navbar-header > .row > .col-auto:first-child { flex: 1 1 auto; min-width: 0; }
.navbar-header > .row > .col-auto:first-child > .d-flex { flex-wrap: nowrap !important; min-width: 0; }
.navbar-header > .row > .col-auto:last-child { flex-shrink: 0; }
.epm-top-logo { flex-shrink: 0; }
.navbar-header .epm-top-search { flex: 0 1 360px; min-width: 130px; }
.navbar-header .epm-top-search input, .epm-co-switch ~ .epm-top-search input { width: 100%; max-width: none; }
.navbar-header .epm-topbar-actions { flex-wrap: nowrap !important; }
@media (max-width: 1399px) { .navbar-header .epm-session-label { display: none; } }
@media (max-width: 767px) { .navbar-header .epm-top-search { display: none; } }
/* sign-in panel: compact overall-rating card at the top (rating left, scale right, facts below), the photo takes the rest */
.lx-scorecard--top { max-width: none; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 28px; align-items: center; padding: 16px 22px 14px; }
.lx-scorecard--top figcaption { flex-direction: column; align-items: flex-start; gap: 6px; margin: 0; padding-right: 26px; border-right: 1px solid rgba(255,255,255,.12); }
.lx-scorecard--top figcaption span { margin: 0; font-size: 12.5px; }
.lx-scorecard--top figcaption b { font-size: 34px; }
.lx-scorecard--top figcaption em { transform: none; }
.lx-scorecard--top .lx-scale { padding-top: 12px; }
.lx-scorecard--top .lx-facts { grid-column: 1 / -1; margin-top: 12px; padding-top: 10px; gap: 10px; font-size: 12.5px; }
@media (max-width: 1199px) { .lx-scorecard--top { grid-template-columns: 1fr; row-gap: 10px; } .lx-scorecard--top figcaption { flex-direction: row; align-items: baseline; border: 0; padding: 0; } .lx-scorecard--top figcaption span { margin-right: auto; } }
/* top bar: log out button (after EPM Approvals) */
.epm-top-logout i { color: var(--danger-600, #dc2626); }
.epm-top-logout:hover { background: color-mix(in srgb, var(--danger-600, #dc2626) 14%, transparent) !important; }
@media (max-width: 575px) { .navbar-header .epm-top-logout { display: none !important; } }
/* sign-in: the team photo covers the whole left panel; EPM name (white) and the rating card on top, welcome text at the bottom */
.lx-panel.has-photo .lx-photo { object-position: 18% 50%; }
.lx-panel.has-photo::before { background: linear-gradient(180deg, rgba(4,32,30,.78) 0%, rgba(4,32,30,.35) 30%, rgba(4,32,30,.08) 50%, rgba(4,32,30,.55) 74%, rgba(4,28,26,.92) 100%); }
.lx-panel-head { display: flex; flex-direction: column; gap: 20px; }
.lx-panel.has-photo .lx-mark-text, .lx-panel.has-photo .lx-mark-text small { color: #fff; }
.lx-panel.has-photo .lx-mark-text small { opacity: .85; }
.lx-panel.has-photo .lx-scorecard { background: rgba(6,40,38,.42); border-color: rgba(255,255,255,.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lx-panel.has-photo .lx-headline { font-size: clamp(28px, 2.6vw, 40px) !important; margin-bottom: 10px; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.lx-panel.has-photo .lx-lede { color: rgba(255,255,255,.88); }
/* right side: white background, language + dark mode at the top right, company logo in the card before "Sign in" */
.lx-main { background: #fff; }
[data-theme=dark] .lx-main { background: var(--lx-surface); }
.lx-main > .lx-topbar { max-width: none; align-self: stretch; justify-content: flex-end; padding-bottom: 12px; }
.lx-card .lx-brand { margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--lx-line); }
.lx-card .lx-company-logo { max-height: 64px; max-width: 240px; }
.lx-card .lx-epm-logo { height: 40px; }
.lx-panel > .lx-photo { position: absolute; inset: 0; z-index: 0; }
.lx-panel.has-photo::before { z-index: 1; }
.lx-panel.has-photo > *:not(.lx-photo) { z-index: 2; }
.lx-main > .lx-topbar { padding-bottom: 6px; }
.lx-card .lx-brand { margin-bottom: 18px; padding-bottom: 16px; }
.lx-card .lx-company-logo { max-height: 56px; }
@media (min-width: 576px) { .lx-main .lx-card { padding-top: 30px; } }
/* rating card on the right of the panel, so the presenter at the whiteboard (left) stays visible */
.lx-panel.has-photo .lx-scorecard--top { max-width: 470px; align-self: flex-end; grid-template-columns: 1fr; row-gap: 8px; }
.lx-panel.has-photo .lx-scorecard--top figcaption { flex-direction: row; align-items: baseline; border: 0; padding: 0; }
.lx-panel.has-photo .lx-scorecard--top figcaption span { margin-right: auto; }
.lx-panel.has-photo .lx-scorecard--top .lx-facts { grid-template-columns: 1fr; gap: 4px; }
.lx-panel.has-photo .lx-scorecard--top .lx-band span { overflow: hidden; text-overflow: ellipsis; font-size: 10.5px; }
.lx-panel.has-photo .lx-scorecard--top .lx-band small { font-size: 11.5px; }
/* sign-in card: company logo (left) and the language + dark / light mode buttons (right) in the top row of the card */
.lx-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--lx-line); }
.lx-card .lx-card-head .lx-brand { margin: 0; padding: 0; border: 0; min-width: 0; }
.lx-card-head .lx-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.lx-card-head .lx-lang { height: 34px; padding: 0 10px; }
.lx-card-head .lx-icon-btn { width: 34px; height: 34px; }
.lx-main > .lx-card { margin-top: auto; }
@media (max-width: 420px) { .lx-card .lx-company-logo { max-width: 150px; max-height: 44px; } .lx-card-head .lx-lang { font-size: 12px; } }
/* team photo with faces in the upper half: EPM name at the top, welcome text + overall rating card at the bottom (over the table) */
.lx-panel.has-photo .lx-photo { object-position: 30% 50%; }
.lx-panel-foot { display: flex; flex-direction: column; gap: 16px; }
.lx-panel-foot .lx-panel-main { max-width: none; }
.lx-panel.has-photo .lx-panel-foot .lx-scorecard--top { max-width: none; align-self: stretch; grid-template-columns: auto minmax(0, 1fr); column-gap: 24px; row-gap: 0; }
.lx-panel.has-photo .lx-panel-foot .lx-scorecard--top figcaption { flex-direction: column; align-items: flex-start; padding-right: 22px; border-right: 1px solid rgba(255,255,255,.14); }
.lx-panel.has-photo .lx-panel-foot .lx-scorecard--top .lx-facts { grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lx-panel.has-photo::before { background: linear-gradient(180deg, rgba(4,32,30,.7) 0%, rgba(4,32,30,.15) 18%, rgba(4,32,30,0) 38%, rgba(4,32,30,.55) 58%, rgba(4,28,26,.94) 82%); }
@media (max-width: 1199px) { .lx-panel.has-photo .lx-panel-foot .lx-scorecard--top { grid-template-columns: 1fr; } .lx-panel.has-photo .lx-panel-foot .lx-scorecard--top figcaption { flex-direction: row; align-items: baseline; border: 0; padding: 0; } .lx-panel.has-photo .lx-panel-foot .lx-scorecard--top .lx-facts { grid-template-columns: 1fr; gap: 4px; } }
@media (max-height: 760px) and (min-width: 992px) { .lx-panel.has-photo .lx-lede { display: none; } }
/* bigger company logo: buttons in a slim row at the top right of the card, the logo below them */
.lx-card-head { flex-direction: column-reverse; align-items: stretch; gap: 6px; }
.lx-card-head .lx-tools { justify-content: flex-end; }
.lx-card .lx-card-head .lx-company-logo { max-height: 96px; max-width: 320px; }
.lx-card .lx-card-head .lx-epm-logo { height: 64px; }
@media (max-width: 420px) { .lx-card .lx-card-head .lx-company-logo { max-height: 76px; max-width: 250px; } }
.lx-card .lx-card-head { margin-bottom: 14px; padding-bottom: 12px; gap: 2px; }
.lx-card-head + .lx-heading { margin-bottom: 18px; }
@media (min-width: 576px) { .lx-main .lx-card { padding-top: 22px; padding-bottom: 24px; } }
/* sidebar sub-menu: text only (icons only on the menu headers), aligned under the header label */
.sidebar-menu .sidebar-submenu li a { padding-inline-start: 28px !important; }
/* registration: request number shown after submitting */
.lx-reqno { text-align: center; padding: 18px 16px; border-radius: 16px; border: 1px dashed color-mix(in srgb, var(--lx-brand) 55%, transparent); background: color-mix(in srgb, var(--lx-brand) 7%, transparent); }
.lx-reqno span { display: block; font-size: 13px; color: var(--lx-muted); }
.lx-reqno b { display: block; margin: 4px 0 6px; font-family: 'Sora', 'Inter', sans-serif; font-size: 28px; letter-spacing: .02em; color: var(--lx-text); }
.lx-reqno small { display: block; font-size: 12.5px; color: var(--lx-muted); }
/* password rules box (My Profile, Users) */
.pw-rules-box { padding: 12px 16px; border-radius: 10px; background: var(--neutral-50, #f8fafc); border: 1px solid var(--neutral-200, #e2e8f0); }
.pw-rules-box ul { padding-left: 18px; }
[data-theme=dark] .pw-rules-box { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
/* Password Policy page */
.pw-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.pw-opt { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--neutral-200, #e2e8f0); border-radius: 10px; cursor: pointer; margin: 0; }
.pw-opt:has(input:checked) { border-color: var(--primary-600); background: color-mix(in srgb, var(--primary-600) 6%, transparent); }
.pw-opt .form-check-input { margin-top: 2px; flex-shrink: 0; }
.pw-opt b { display: block; font-size: 14px; }
.pw-opt small { display: block; font-size: 12px; color: var(--text-secondary-light, #64748b); line-height: 1.4; }
.pw-stat { display: flex; align-items: baseline; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--neutral-200, #e2e8f0); font-size: 14px; }
.pw-stat span { min-width: 42px; font-size: 22px; font-weight: 700; }
/* registration: wider card, two columns, everything on one screen (no page scroll) */
.lx-main > .lx-card.lx-card--wide { max-width: 600px; }
.lx-main:has(.lx-card--reg) > .lx-footer { max-width: 600px; }
.lx-card--reg { padding: 26px 32px 22px !important; }
.lx-heading--compact { margin-bottom: 16px !important; }
.lx-heading--compact h1 { font-size: 26px !important; margin-bottom: 4px; }
.lx-heading--compact p { font-size: 13.5px; }
.lx-reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.lx-reg-full { grid-column: 1 / -1; }
.lx-reg-label { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--lx-text); margin-bottom: 5px; }
.lx-reg-label .epm-help-btn { margin-left: 2px; }
.lx-reg .form-control, .lx-reg .form-select { height: 42px; font-size: 14px; }
.lx-reg-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--lx-muted); pointer-events: none; }
.lx-reg-hint { display: block; min-height: 0; font-size: 11.5px; margin-top: 3px; color: var(--lx-muted); }
.lx-reg-hint:empty { display: none; }
.lx-reg-hint.is-ok { color: var(--success-600, #16a34a); }
.lx-reg-hint.is-bad { color: var(--danger-600, #dc2626); }
.lx-pw-rules { list-style: none; margin: -2px 0 0; padding: 8px 12px; display: flex; flex-wrap: wrap; gap: 4px 14px; border-radius: 10px; background: color-mix(in srgb, var(--lx-brand) 6%, transparent); }
.lx-pw-rules li { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--lx-muted); }
.lx-pw-rules li i { font-size: 13px; }
.lx-pw-rules li.ok { color: var(--success-600, #16a34a); }
.lx-reg-agree { margin: 14px 0 12px; display: flex; gap: 8px; align-items: flex-start; padding-left: 0; }
.lx-reg-agree .form-check-input { float: none; margin: 2px 0 0; flex-shrink: 0; }
.lx-reg-agree .form-check-label { font-size: 13px; }
@media (max-width: 575px) { .lx-reg-grid { grid-template-columns: 1fr; } .lx-card--reg { padding: 22px 18px !important; } }
@media (min-width: 992px) and (min-height: 700px) { .lx-main:has(.lx-card--reg) { padding-top: 16px; padding-bottom: 12px; } .lx-main:has(.lx-card--reg) .lx-footer { margin-top: 12px; } }
@media (min-width: 992px) and (max-height: 820px) {
  .lx-main:has(.lx-card--reg) { padding-top: 10px; padding-bottom: 8px; }
  .lx-card--reg { padding: 20px 28px 16px !important; }
  .lx-card--reg .lx-heading--compact { margin-bottom: 10px !important; }
  .lx-card--reg .lx-heading--compact h1 { font-size: 22px !important; }
  .lx-card--reg .lx-reg-grid { gap: 8px 16px; }
  .lx-card--reg .form-control, .lx-card--reg .form-select { height: 38px; }
  .lx-card--reg .lx-reg-agree { margin: 10px 0 8px; }
  .lx-main:has(.lx-card--reg) .lx-footer { margin-top: 8px; }
  .lx-main:has(.lx-card--reg) .lx-secure { display: none; }
}
.pw-opts > .pw-opt:only-child { grid-column: 1 / -1; }

/* ===================================================================== v2.9 — EPMS / HRMS product groups, T-codes, favorites, subscription */
.sidebar { display: flex; flex-direction: column; }
.sidebar > div:first-of-type { flex: 0 0 auto; }
.sidebar .sidebar-menu-area { height: auto; flex: 1 1 auto; min-height: 0; }
/* company selection (main client / subsidiaries) */
.epm-side-co { padding: 10px 1rem 8px; border-inline-end: 1px solid var(--neutral-200); border-bottom: 1px solid var(--neutral-200); }
.epm-side-co__label { display: block; font-size: 12px; font-weight: 600; color: var(--text-secondary-light); margin-bottom: 4px; }
.epm-side-co__select { font-size: 13.5px; font-weight: 600; border-radius: 10px; padding-block: 8px; }
.epm-side-co__static { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; padding: 8px 10px; border: 1px solid var(--neutral-200); border-radius: 10px; min-width: 0; }
.epm-side-co__code { flex-shrink: 0; font-size: 10.5px; font-weight: 700; color: #fff; background: var(--primary-600); border-radius: 6px; padding: 3px 6px; }
.epm-side-co__note { display: block; margin-top: 4px; font-size: 11.5px; color: var(--text-secondary-light); line-height: 1.3; }
@media (min-width: 1200px) { .sidebar.active:not(:hover) .epm-side-co { display: none; } }
/* product group headers */
.sidebar-menu li.epm-prod { margin: 12px 0 2px; list-style: none; }
.sidebar-menu li.epm-prod:first-of-type { margin-top: 8px; }
.epm-prod__btn { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 1px solid color-mix(in srgb, var(--prod) 30%, transparent); border-radius: 12px;
  background: color-mix(in srgb, var(--prod) 10%, transparent); text-align: start; color: var(--text-primary-light); cursor: pointer; }
.epm-prod__btn:hover { background: color-mix(in srgb, var(--prod) 16%, transparent); }
.epm-prod__btn:focus-visible { outline: 2px solid var(--prod); outline-offset: 2px; }
.epm-prod__badge { width: 32px; height: 32px; flex-shrink: 0; border-radius: 9px; background: var(--prod); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.epm-prod__text { display: flex; flex-direction: column; min-width: 0; flex-grow: 1; line-height: 1.2; }
.epm-prod__text b { font-size: 13.5px; }
.epm-prod__text small { font-size: 11px; color: var(--text-secondary-light); }
.epm-prod__chev { transition: transform .15s; color: var(--text-secondary-light); }
.epm-prod.is-closed .epm-prod__chev { transform: rotate(-90deg); }
.sidebar-menu li[data-prod].is-prod-hidden { display: none !important; }
.sidebar-menu li.sidebar-menu-group-title[data-prod] { display: flex; align-items: center; gap: 6px; padding-top: 10px; }
.epm-sec-lock { margin-inline-start: auto; font-size: 11px; font-weight: 500; text-transform: none; letter-spacing: 0; display: inline-flex; align-items: center; gap: 3px; opacity: .85; }
@media (min-width: 1200px) {
  .sidebar.active:not(:hover) .epm-prod__text, .sidebar.active:not(:hover) .epm-prod__chev { display: none; }
  .sidebar.active:not(:hover) .epm-prod__btn { justify-content: center; padding: 6px; }
}
/* favorites hover menu */
.sidebar-menu li.epm-fav > a .epm-fav__chev { margin-inline-start: auto; font-size: 16px; opacity: .6; }
.epm-fav-pop { display: none; position: fixed; z-index: 1060; width: 270px; max-height: 70vh; overflow-y: auto; background: var(--white); border: 1px solid var(--neutral-200); border-radius: 12px; padding: 6px; }
.epm-fav.is-open .epm-fav-pop { display: block; }
.epm-fav-pop__head { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px 8px; font-size: 12px; font-weight: 600; color: var(--text-secondary-light); }
.epm-fav-pop__head a { color: var(--primary-600) !important; padding: 0 !important; display: inline !important; }
.sidebar-menu .epm-fav-pop a.epm-fav-pop__item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 13.5px; color: var(--text-primary-light); }
.sidebar-menu .epm-fav-pop a.epm-fav-pop__item:hover, .sidebar-menu .epm-fav-pop a.epm-fav-pop__item:focus { background: color-mix(in srgb, var(--primary-600) 10%, transparent); }
.sidebar-menu .epm-fav-pop a.epm-fav-pop__item span { display: inline !important; }
.epm-fav-pop__empty { padding: 4px 10px 10px; font-size: 12.5px; color: var(--text-secondary-light); }
/* favorites page */
.epm-fav-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--neutral-200); border-radius: 12px; }
.epm-fav-list { max-height: 560px; overflow-y: auto; }
.epm-fav-tx { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px solid var(--neutral-100, #eef0f6); }
.epm-action-btn.epm-fav-on { color: #b45309; background: #fdf0dc; }
/* T-code field and chip */
.epm-tcode { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 5px 0 10px; border: 1px solid var(--neutral-300, #d0d5dd); border-radius: 10px; background: var(--white); }
.epm-tcode:focus-within { border-color: var(--primary-600); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-600) 15%, transparent); }
.epm-tcode__icon { color: var(--text-secondary-light); }
.epm-tcode__input { width: 72px; border: 0; outline: 0; background: transparent; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; color: var(--text-primary-light); }
.epm-tcode__input::placeholder { font-weight: 500; letter-spacing: 0; text-transform: none; }
.epm-tcode__go { height: 28px; padding: 0 10px; border: 0; border-radius: 7px; background: var(--primary-600); color: #fff; font-size: 12px; font-weight: 600; }
@media (max-width: 991px) { .epm-tcode { display: none; } }
.epm-tc-chip { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--primary-600); background: color-mix(in srgb, var(--primary-600) 12%, transparent); border-radius: 6px; padding: 2px 7px; }
.epm-perm-table tr.epm-perm-group td { background: var(--neutral-50, #f8fafc); font-weight: 700; font-size: 12.5px; color: var(--text-secondary-light); }
/* products, licence */
.epm-prod-card { border: 1px solid color-mix(in srgb, var(--prod) 35%, transparent); background: color-mix(in srgb, var(--prod) 5%, transparent); border-radius: 12px; padding: 14px 16px; height: 100%; }
.epm-prod-card.is-off { opacity: .6; background: transparent; border-color: var(--neutral-200); }
.epm-licence-card { display: block; text-decoration: none; }
.epm-licence-card:hover { border-color: var(--primary-600); }
.epm-perm-table th:nth-child(2), .epm-perm-table td:nth-child(2) { text-align: start; }
.epm-perm-table td:first-child { white-space: nowrap; }
/* v2.9.1 — collapsible categories (My work, Company, Administration, Master Data, HRMS modules) */
.sidebar-menu li.epm-sec { padding: 0 !important; margin-top: 4px; }
.epm-sec__btn { display: flex; align-items: center; gap: 8px; width: 100%; padding: 7px 10px; border: 0; background: transparent; border-radius: 8px; text-align: start; font: inherit; color: inherit; cursor: pointer; }
.epm-sec__btn:hover { background: var(--neutral-100, #f1f2f7); }
.epm-sec__btn:focus-visible { outline: 2px solid var(--primary-600); outline-offset: 1px; }
.epm-sec__label { flex-grow: 1; min-width: 0; }
.epm-sec__chev { font-size: 16px; transition: transform .15s; opacity: .8; }
.epm-sec.is-closed .epm-sec__chev { transform: rotate(-90deg); }
.epm-sec .epm-sec-lock { margin-inline-start: 0; }
.epm-sec--module .epm-sec__btn { text-transform: none; letter-spacing: 0; font-size: 13.5px; font-weight: 600; color: var(--text-primary-light); padding: 8px 10px; }
.epm-sec__icon { font-size: 18px; color: var(--text-secondary-light); }
.epm-sec--module.has-active .epm-sec__icon, .epm-sec--module.has-active .epm-sec__label { color: var(--primary-600); }
.sidebar-menu li[data-sec].is-sec-hidden { display: none !important; }
.sidebar-menu li[data-sec-head] + li[data-sec]:not(.is-sec-hidden) { margin-top: 2px; }
@media (prefers-reduced-motion: reduce) { .epm-sec__chev, .epm-prod__chev { transition: none; } }
/* v2.9.1 — sign-in page: module showcase (rotating examples of EPMS and every HRMS module) */
.lx-show { margin: 0; padding: 14px 18px 12px; border-radius: 18px; background: rgba(6,40,38,.55); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; display: flex; flex-direction: column; gap: 10px; }
.lx-show__head { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: rgba(255,255,255,.78); }
.lx-show__live { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52,211,153,.2); flex-shrink: 0; }
.lx-show__kicker { flex-grow: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-show__kicker b { color: #fff; font-weight: 700; }
.lx-show__count { font-variant-numeric: tabular-nums; }
.lx-show__btn { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; padding: 0; }
.lx-show__btn:hover { background: rgba(255,255,255,.12); }
.lx-show__btn:focus-visible, .lx-tab:focus-visible, .lx-person:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lx-show__stage { position: relative; min-height: 178px; }
.lx-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateX(14px); transition: opacity .35s ease, transform .35s ease, visibility 0s .35s; display: flex; flex-direction: column; gap: 10px; }
.lx-slide.is-on { position: relative; opacity: 1; visibility: visible; transform: none; transition: opacity .35s ease, transform .35s ease; }
.lx-slide__h { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.35; display: flex; gap: 8px; align-items: flex-start; }
.lx-slide__h i { color: var(--lx-gold); font-size: 18px; line-height: 1.1; }
.lx-sw { display: flex; align-items: center; gap: 12px; }
.lx-sw__av { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13.5px; flex-shrink: 0; }
.lx-sw__t { display: flex; flex-direction: column; min-width: 0; flex-grow: 1; line-height: 1.3; }
.lx-sw__t b { font-size: 14.5px; } .lx-sw__t small { font-size: 12px; color: rgba(255,255,255,.72); }
.lx-sw__v { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; white-space: nowrap; }
.lx-sw__v small { font-size: 11.5px; color: rgba(255,255,255,.72); } .lx-sw__v b { font-family: 'Sora', sans-serif; font-size: 20px; display: inline-flex; align-items: center; gap: 8px; }
.lx-sw__v--sep { padding-inline-start: 12px; border-inline-start: 1px solid rgba(255,255,255,.18); }
.lx-chip { font-style: normal; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11.5px; font-weight: 700; border-radius: 20px; padding: 3px 9px; color: #fff; background: rgba(255,255,255,.25); }
.lx-chip--1 { background: #f87171; color: #450a0a; } .lx-chip--2 { background: #fbbf24; color: #451a03; } .lx-chip--3 { background: color-mix(in srgb, var(--lx-brand) 70%, #fff); color: #042f2e; } .lx-chip--4 { background: var(--lx-gold); color: #1d1a10; }
.lx-rate .lx-scale { padding-top: 26px; }
.lx-rate .lx-band { transition: opacity .3s; opacity: .5; } .lx-rate .lx-band.is-on { opacity: 1; }
.lx-rate .lx-band small { font-size: 11.5px; } .lx-rate .lx-band span { font-size: 10.5px; }
.lx-rate .lx-marker { top: 14px; height: 24px; animation: none; transition: left .7s cubic-bezier(.2,.8,.2,1); }
.lx-marker__tag { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11px; font-weight: 700; color: #0b2b28; background: #fff; border-radius: 6px; padding: 2px 7px; }
.lx-people { display: flex; flex-wrap: wrap; gap: 6px; }
.lx-person { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px 0 3px; border-radius: 20px; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; font-size: 12px; }
.lx-person span { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 9.5px; font-weight: 700; }
.lx-person.is-on { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.55); }
.lx-meter { height: 8px; border-radius: 8px; background: rgba(255,255,255,.18); overflow: hidden; }
.lx-meter span { display: block; height: 100%; border-radius: 8px; background: var(--lx-gold); }
.lx-lines, .lx-rows, .lx-bars, .lx-funnel { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; }
.lx-lines li { display: flex; gap: 8px; align-items: center; color: rgba(255,255,255,.88); }
.lx-lines i, .lx-rows em { font-style: normal; }
.is-ok i, em.is-ok, .lx-stats .is-ok b { color: #6ee7b7; } .is-warn i, em.is-warn, .lx-stats .is-warn b { color: #fcd34d; } .is-bad i, em.is-bad, .lx-stats .is-bad b { color: #fca5a5; } .is-info i, em.is-info, .lx-stats .is-info b { color: #bae6fd; }
.lx-rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto 110px; gap: 10px; align-items: center; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.lx-rows b { font-weight: 700; } .lx-rows em { font-size: 11.5px; font-weight: 600; text-align: end; }
.lx-rows__total { border-bottom: 0 !important; font-size: 13.5px; } .lx-rows__total b { color: var(--lx-gold); }
.lx-bars li { display: grid; grid-template-columns: 110px minmax(0, 1fr) 70px; gap: 10px; align-items: center; }
.lx-bars i { height: 10px; border-radius: 6px; background: rgba(255,255,255,.14); overflow: hidden; } .lx-bars i b { display: block; height: 100%; background: color-mix(in srgb, var(--lx-brand) 70%, #fff); border-radius: 6px; }
.lx-bars em { font-style: normal; text-align: end; font-weight: 600; }
.lx-funnel { flex-direction: row; gap: 8px; align-items: flex-end; }
.lx-funnel li { flex: 1; display: flex; flex-direction: column; gap: 4px; align-items: stretch; }
.lx-funnel b { display: flex; align-items: center; justify-content: center; height: 34px; width: var(--w); align-self: center; border-radius: 8px; background: color-mix(in srgb, var(--lx-brand) 70%, #fff); color: #042f2e; font-family: 'Sora', sans-serif; }
.lx-funnel li:last-child b { background: var(--lx-gold); color: #1d1a10; }
.lx-funnel span { text-align: center; font-size: 12px; color: rgba(255,255,255,.8); }
.lx-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lx-stats div { padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.08); display: flex; flex-direction: column; gap: 2px; }
.lx-stats b { font-family: 'Sora', sans-serif; font-size: 22px; } .lx-stats small { font-size: 11.5px; color: rgba(255,255,255,.78); line-height: 1.3; }
.lx-show__tabs { display: flex; gap: 4px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.12); overflow-x: auto; scrollbar-width: none; }
.lx-show__tabs::-webkit-scrollbar { display: none; }
.lx-tab { flex: 1 0 auto; min-width: 32px; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 4px 2px; border: 0; border-radius: 8px; background: transparent; color: rgba(255,255,255,.62); font-size: 10px; font-weight: 700; letter-spacing: .03em; }
.lx-tab i { font-size: 15px; } .lx-tab:hover { color: #fff; background: rgba(255,255,255,.08); }
.lx-tab.is-on { color: #0b2b28; background: #fff; }
.lx-show__note { font-size: 11px; color: rgba(255,255,255,.55); }
.lx-panel.has-photo .lx-panel-foot .lx-show { align-self: stretch; }
@media (prefers-reduced-motion: reduce) { .lx-slide, .lx-slide.is-on, .lx-rate .lx-marker, .lx-rate .lx-band { transition: none; } }
@media (max-height: 820px) and (min-width: 992px) { .lx-show__note { display: none; } .lx-show__stage { min-height: 160px; } }
.hrms-demo { padding: 28px; background: linear-gradient(135deg, #0b3b37, #0f2e30); display: flex; align-items: center; font-family: inherit; }
.hrms-demo .lx-show { width: 100%; background: rgba(255,255,255,.06); }
/* showcase: fixed stage height so the card does not jump between modules */
.lx-show__stage { height: 214px; min-height: 0; overflow: hidden; }
.lx-slide.is-on { position: absolute; }
.lx-rows li { padding: 4px 0; }
.lx-rate .lx-scale { padding-top: 34px; margin-top: 2px; }
.lx-rate .lx-marker { top: 24px; height: 22px; }
.lx-sw__v b { gap: 0; }
.lx-sw__v b .lx-chip { margin-inline-start: 8px; }
.lx-rate .lx-sw { gap: 14px; }
.lx-panel.has-photo::before { background: linear-gradient(180deg, rgba(10,30,32,.55) 0%, rgba(10,30,32,.3) 28%, rgba(10,30,32,.8) 48%, rgba(10,30,32,.93) 100%); }
@media (max-height: 820px) and (min-width: 992px) { .lx-show__stage { height: 206px; } .lx-show .lx-rows li { padding: 2px 0; } }
@media (max-width: 575px) { .lx-show__stage { height: 250px; } .lx-sw { flex-wrap: wrap; } .lx-rows li { grid-template-columns: minmax(0,1fr) auto; } .lx-rows em { display: none; } .lx-stats { grid-template-columns: 1fr 1fr 1fr; } .lx-stats b { font-size: 17px; } }
.lx-show .lx-rows li { line-height: 1.25; padding: 3px 0; min-height: 0; } .lx-show .lx-lines li, .lx-show .lx-bars li { line-height: 1.3; }
.lx-rate .lx-people { margin-top: 6px; }
.sidebar-menu li.epm-sec { margin: 2px 0 0 !important; } .sidebar-menu li.epm-sec + li[data-sec] { margin-top: 0; }
/* v2.9.2 — sidebar selection: the opened folder stays neutral, the selected transaction (e.g. EP06) is green */
.sidebar-menu li.dropdown.open > a, .sidebar-menu li.dropdown.dropdown-open > a { background-color: transparent; color: var(--text-primary-light); }
.sidebar-menu li.dropdown.open > a:hover, .sidebar-menu li.dropdown.dropdown-open > a:hover { background-color: var(--neutral-100, #f1f2f7); color: var(--text-primary-light); }
.sidebar-menu li.dropdown.open > a i, .sidebar-menu li.dropdown.dropdown-open > a i { color: var(--primary-600); }
.sidebar-menu .sidebar-submenu li.active-page > a, .sidebar-menu .sidebar-submenu li > a.active-page { background-color: var(--primary-600) !important; color: #fff !important; border-radius: 8px; }
.sidebar-menu .sidebar-submenu li.active-page > a .epm-menu-badge { background: #fff; color: var(--primary-600); }
.sidebar-menu li.dropdown .sidebar-submenu { transition: none; }

/* ---- v2.9.6 dashboard tabs (Tab 1 teal · Tab 2 purple · Tab 3 orange) */
.epm-dtabs { display: flex; flex-wrap: wrap; gap: 10px; border: 0; }
.epm-dtabs .nav-link { --tc: #0d9488; display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 12px; border: 1.5px solid color-mix(in srgb, var(--tc) 35%, transparent);
  background: color-mix(in srgb, var(--tc) 8%, var(--white, #fff)); color: var(--tc); font-weight: 600; transition: background .15s, color .15s, box-shadow .15s; }
.epm-dtabs .nav-link i { width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--tc) 16%, transparent); font-size: 17px; }
.epm-dtabs .nav-link.is-purple { --tc: #7c3aed; } .epm-dtabs .nav-link.is-orange { --tc: #ea580c; }
.epm-dtabs .nav-link:hover { background: color-mix(in srgb, var(--tc) 14%, var(--white, #fff)); }
.epm-dtabs .nav-link.active { background: var(--tc); color: #fff; border-color: var(--tc); box-shadow: 0 6px 16px color-mix(in srgb, var(--tc) 30%, transparent); }
.epm-dtabs .nav-link.active i { background: rgba(255,255,255,.2); }
.epm-dtabs .nav-link:focus-visible { outline: 2px solid var(--tc); outline-offset: 2px; }
.epm-dt-icon { width: 64px; height: 64px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 30px; color: #fff; flex-shrink: 0; }
.epm-dt-purple .epm-dt-icon { background: linear-gradient(135deg, #7c3aed, #a855f7); } .epm-dt-orange .epm-dt-icon { background: linear-gradient(135deg, #ea580c, #f59e0b); }
.epm-dt-bars { display: flex; align-items: flex-end; gap: 18px; height: 260px; padding-top: 10px; }
.epm-dt-bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; min-width: 0; text-align: center; }
.epm-dt-bar span { width: 100%; max-width: 64px; border-radius: 8px 8px 0 0; min-height: 4px; }
.epm-dt-bar small { font-size: 12px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; max-width: 100%; white-space: nowrap; }
.epm-dt-donut { width: 170px; height: 170px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.epm-dt-donut span { width: 104px; height: 104px; border-radius: 50%; background: var(--white, #fff); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.epm-dt-donut b { font-size: 26px; line-height: 1; } .epm-dt-donut small { color: var(--text-secondary-light); font-size: 12px; }
.epm-dt-dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; flex-shrink: 0; }
.epm-dt-lv { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; background: #fff1e6; color: #c2410c; }
.epm-dt-att { border: 1px solid var(--neutral-200, #e5e7eb); } .epm-dt-att:hover { background: var(--neutral-50, #f8fafc); }

/* ---- v2.9.6 SA09 EPM policy */
.wf-steps { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.wf-step { --wc: #64748b; flex: 1 1 170px; min-width: 160px; border: 1.5px solid color-mix(in srgb, var(--wc) 35%, transparent); border-radius: 12px; padding: 12px 14px; background: color-mix(in srgb, var(--wc) 6%, transparent); display: flex; flex-direction: column; gap: 3px; }
.wf-step b { font-size: 15px; } .wf-step small { color: var(--text-secondary-light); font-size: 12px; line-height: 1.35; }
.wf-step.is-l1 { --wc: #0d9488; } .wf-step.is-l2 { --wc: #7c3aed; } .wf-step.is-l3 { --wc: #ea580c; }
.wf-step.is-off { opacity: .45; border-style: dashed; }
.wf-step.is-next { box-shadow: 0 0 0 3px color-mix(in srgb, #f59e0b 45%, transparent); }
.wf-tag { font-size: 11px; font-weight: 700; color: var(--wc); }
.wf-arrow { align-self: center; color: var(--text-secondary-light); font-size: 18px; }
.wf-l3 { border: 1.5px solid #fed7aa; background: #fff7ed; border-radius: 12px; padding: 14px 16px; cursor: pointer; }
.wf-example { background: var(--neutral-50, #f8fafc); border-radius: 10px; padding: 10px 14px; font-size: 14px; }
.wf-note { background: #eff6ff; color: #1e3a8a; border-radius: 10px; padding: 10px 14px; font-size: 14px; }
.wf-lv { display: inline-block; padding: 2px 9px; border-radius: 6px; font-weight: 700; font-size: 12px; color: #fff; }
.wf-lv.is-l1 { background: #0d9488; } .wf-lv.is-l2 { background: #7c3aed; } .wf-lv.is-l3 { background: #ea580c; }
tr.wf-l3row.is-off { opacity: .45; }
.wf-box { border: 1px solid var(--neutral-200, #e5e7eb); border-radius: 10px; padding: 10px 14px; } .wf-box small { display: block; color: var(--text-secondary-light); font-size: 12px; }
[data-theme="dark"] .wf-l3 { background: rgba(234,88,12,.12); border-color: rgba(234,88,12,.4); }
[data-theme="dark"] .wf-note { background: rgba(37,99,235,.15); color: #bfdbfe; }
[data-theme="dark"] .epm-dt-lv { background: rgba(234,88,12,.2); color: #fdba74; }

/* ---- v2.9.7 sidebar: one text style for level 2 and below (font, size and colour of "Company & branding", normal weight);
        level 1 (HRMS, EPMS, ADMINISTRATION, PLATFORM) unchanged; bold only for the selected transaction */
.sidebar-menu { --epm-m-size: 13.5px; --epm-m-weight: 400; --epm-m-color: var(--text-primary-light); --epm-m-icon: 18px; --epm-m-icon-color: var(--text-secondary-light); }
.sidebar-menu .epm-sec .epm-sec__btn, .sidebar-menu .epm-sec--module .epm-sec__btn { text-transform: none; letter-spacing: 0; font-size: var(--epm-m-size); font-weight: var(--epm-m-weight); color: var(--epm-m-color); padding: 8px 10px; }
.sidebar-menu .epm-sec.has-active .epm-sec__label { color: var(--primary-600); }
.sidebar-menu > li:not(.epm-prod):not(.epm-sec) > a,
.sidebar-menu .sidebar-submenu li a { font-size: var(--epm-m-size) !important; font-weight: var(--epm-m-weight) !important; color: var(--epm-m-color); }
.sidebar-menu > li:not(.epm-prod):not(.epm-sec) > a > i:first-child { font-size: var(--epm-m-icon) !important; color: var(--epm-m-icon-color); }
.sidebar-menu > li.dropdown > a > i:first-child { color: var(--epm-m-icon-color) !important; }
.sidebar-menu > li.dropdown.open > a, .sidebar-menu > li.dropdown.open > a > i:first-child { color: var(--primary-600) !important; }
.sidebar-menu > li.active-page > a, .sidebar-menu .sidebar-submenu li.active-page a, .sidebar-menu a.active-page { font-weight: 600 !important; color: #fff !important; }
.sidebar-menu > li.active-page > a > i:first-child { color: #fff !important; }

/* ---- v2.9.7 employee / user names in screen text */
.epm-person { font-weight: 600; color: inherit; }

/* ---- v2.9.8 sidebar: session time remaining (above Company) */
.epm-side-session { padding: 10px 1rem 0; border-inline-end: 1px solid var(--neutral-200); }
.epm-side-session__box { display: flex; align-items: center; gap: 6px; width: 100%; font-size: 13px; font-weight: 500; color: var(--text-primary-light); padding: 8px 10px; border: 1px solid var(--neutral-200); border-radius: 10px; background: var(--white, #fff); cursor: pointer; transition: border-color .15s, background .15s; }
.epm-side-session__box i { font-size: 18px; color: var(--text-secondary-light); }
.epm-side-session__box b { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--primary-600); }
.epm-side-session__box:hover { border-color: var(--primary-600); }
.epm-side-session__box:focus-visible { outline: 2px solid var(--primary-600); outline-offset: 2px; }
.epm-side-session__box.warn { background: #fff7ed; border-color: #fdba74; } .epm-side-session__box.warn i, .epm-side-session__box.warn b { color: #c2410c; }
.epm-side-session__box.danger { background: #fef2f2; border-color: #fca5a5; animation: epmPulse 1s infinite; } .epm-side-session__box.danger i, .epm-side-session__box.danger b { color: #dc2626; }
[data-theme=dark] .epm-side-session__box { background: transparent; }
.epm-side-session + .epm-side-co { padding-top: 8px; }
@media (min-width: 1200px) { .sidebar.active:not(:hover) .epm-side-session { display: none; } }
@media (prefers-reduced-motion: reduce) { .epm-side-session__box.danger { animation: none; } }

/* ---- v2.9.8 dashboard: rows per page */
.epm-pager { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; padding: 12px 20px; border-top: 1px solid var(--neutral-200); font-size: 13.5px; color: var(--text-secondary-light); }
.epm-pager__size { display: flex; align-items: center; gap: 8px; margin: 0; }
.epm-pager__size select { width: auto; padding-block: 4px; border-radius: 8px; font-size: 13.5px; }
.epm-pager__range { font-variant-numeric: tabular-nums; }
.epm-pager__nav { display: flex; gap: 4px; margin-inline-start: auto; }
.epm-pager__btn { min-width: 32px; height: 32px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--neutral-200); background: var(--white, #fff); color: var(--text-primary-light); font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.epm-pager__btn:hover:not(:disabled) { border-color: var(--primary-600); color: var(--primary-600); }
.epm-pager__btn.is-on { background: var(--primary-600); border-color: var(--primary-600); color: #fff; }
.epm-pager__btn:disabled { opacity: .4; }
.epm-pager__gap { padding: 0 4px; align-self: center; }
.epm-pager.is-single .epm-pager__nav { display: none; }
[data-theme=dark] .epm-pager__btn { background: transparent; }

/* ---- v2.9.8 dashboard: reporting line summary (me → L1 → L2 …), hover a level to see who they are */
.epm-lvls { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.epm-lvl { --lc: var(--tc, #7c3aed); position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; border: 1.5px solid color-mix(in srgb, var(--lc) 28%, transparent); background: color-mix(in srgb, var(--lc) 6%, var(--white, #fff)); min-height: 54px; outline: 0; }
.epm-dt-orange .epm-lvl { --lc: #ea580c; } .epm-dt-purple .epm-lvl { --lc: #7c3aed; }
.epm-lvl.is-me { --lc: #0d9488; max-width: 220px; } .epm-lvl.is-me small { display: block; font-size: 11px; color: var(--text-secondary-light); }
.epm-lvl.is-total { --lc: #475569; }
.epm-lvl[tabindex] { cursor: default; }
.epm-lvl[tabindex]:hover, .epm-lvl[tabindex]:focus-visible { border-color: var(--lc); box-shadow: 0 4px 14px color-mix(in srgb, var(--lc) 18%, transparent); }
.epm-lvl__tag { font-size: 11px; font-weight: 700; color: #fff; background: var(--lc); border-radius: 6px; padding: 2px 7px; }
.epm-lvl__txt { display: flex; flex-direction: column; line-height: 1.15; }
.epm-lvl__txt b { font-size: 18px; color: var(--text-primary-light); } .epm-lvl__txt small { font-size: 12px; color: var(--text-secondary-light); white-space: nowrap; }
.epm-lvl__faces { display: flex; } .epm-lvl__faces > * { margin-inline-start: -8px; box-shadow: 0 0 0 2px var(--white, #fff); } .epm-lvl__faces > *:first-child { margin-inline-start: 0; }
.epm-lvl__more { width: 26px; height: 26px; border-radius: 50%; background: var(--neutral-200, #e5e7eb); font-size: 10.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; color: var(--text-primary-light); }
.epm-lvls__arrow { color: var(--text-secondary-light); font-size: 16px; }
.epm-lvl__pop { display: none; position: absolute; z-index: 30; top: calc(100% + 8px); inset-inline-start: 0; width: 330px; max-height: 320px; overflow: auto; background: var(--white, #fff); border-radius: 12px; box-shadow: 0 12px 32px rgba(15,23,42,.18), 0 0 0 1px var(--neutral-200, #e5e7eb); padding: 6px; }
.epm-lvl.is-total .epm-lvl__pop { inset-inline-start: auto; inset-inline-end: 0; }
.epm-lvl:hover .epm-lvl__pop, .epm-lvl:focus-within .epm-lvl__pop { display: block; }
.epm-lvl__pop::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.epm-lvl__pophead { font-size: 12px; font-weight: 700; color: var(--text-secondary-light); padding: 6px 8px 8px; border-bottom: 1px solid var(--neutral-200); margin-bottom: 4px; }
.epm-lvl__pop ul { list-style: none; margin: 0; padding: 0; }
.epm-lvl__pop li { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; font-size: 13px; }
.epm-lvl__pop li:hover { background: var(--neutral-50, #f8fafc); }
.epm-lvl__pop li small { color: var(--text-secondary-light); font-size: 11.5px; }
.epm-lvls-card { overflow: visible; }
[data-theme=dark] .epm-lvl__pop { background: var(--epm-soft, #1f2836); }
@media (max-width: 575px) { .epm-lvls__arrow { display: none; } .epm-lvl { flex: 1 1 100%; } .epm-lvl.is-total { margin-inline-start: 0 !important; } .epm-lvl__pop { width: calc(100vw - 64px); } }
.epm-lvl.is-total { min-height: 0; padding: 4px 12px; border-radius: 999px; }
.epm-lvl__txt.is-inline { flex-direction: row; align-items: baseline; gap: 6px; } .epm-lvl__txt.is-inline b { font-size: 15px; }

/* ---- v2.9.9 login / register showcase: module buttons removed, "Module : …" title; stage fits the tallest module (no jumps) */
.lx-show__stage { height: 190px; }
@media (max-height: 820px) and (min-width: 992px) { .lx-show__stage { height: 190px; } .lx-show__note { display: block; } }
.lx-show__note { padding-top: 8px; border-top: 1px solid rgba(255,255,255,.12); }

/* ---- v3.0 EPM statuses (colour per status from SA09), time-limit tags, Dispute indicator */
.epm-badge.epm-st { background: color-mix(in srgb, var(--st) 14%, transparent); color: color-mix(in srgb, var(--st) 82%, #111827); border: 1px solid color-mix(in srgb, var(--st) 30%, transparent); }
[data-theme=dark] .epm-badge.epm-st { color: color-mix(in srgb, var(--st) 60%, #fff); }
.epm-st-chip { background: color-mix(in srgb, var(--st) 10%, transparent); color: var(--text-primary-light); border: 1px solid color-mix(in srgb, var(--st) 30%, transparent); }
.epm-st-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--st); display: inline-block; margin-inline-end: 6px; }
.epm-st-chip.is-on { background: var(--st); color: #fff; border-color: var(--st); } .epm-st-chip.is-on::before { background: #fff; }
.epm-badge.epm-dispute { background: #fff1f2; color: #be123c; border: 1px solid #fda4af; }
[data-theme=dark] .epm-badge.epm-dispute { background: rgba(190,18,60,.18); color: #fda4af; }
.epm-sla { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--neutral-100, #f1f5f9); color: #475569; white-space: nowrap; }
.epm-sla.is-soon { background: #fff7ed; color: #c2410c; } .epm-sla.is-over { background: #fef2f2; color: #b91c1c; } .epm-sla.is-paused { background: #f5f3ff; color: #6d28d9; }
[data-theme=dark] .epm-sla { background: rgba(148,163,184,.15); color: #cbd5e1; }
.epm-dispute-box { border: 1px solid #fda4af; background: #fff1f2; border-radius: 10px; padding: 10px 14px; display: flex; flex-direction: column; gap: 3px; font-size: 13.5px; }
.epm-dispute-box small { color: var(--text-secondary-light); }
[data-theme=dark] .epm-dispute-box { background: rgba(190,18,60,.12); }

/* ---- v3.0 SA09 statuses / metrics tabs */
.sa9-cycles { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.sa9-cy { border: 1.5px solid var(--neutral-200, #e5e7eb); border-radius: 12px; padding: 10px 14px; min-width: 200px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--text-primary-light); }
.sa9-cy b { font-size: 14px; } .sa9-cy span { color: var(--text-secondary-light); }
.sa9-cy small { font-size: 11.5px; font-weight: 600; display: inline-flex; gap: 4px; align-items: center; }
.sa9-cy small.is-ok { color: #15803d; } .sa9-cy small.is-draft { color: #b45309; } .sa9-cy small.is-edit { color: var(--text-secondary-light); }
.sa9-cy:hover { border-color: var(--primary-600); } .sa9-cy.is-on { border-color: var(--primary-600); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-600) 18%, transparent); }
.sa9-num { width: 64px; display: inline-block; text-align: center; padding: 2px 6px; }
.sa9-acts { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; font-size: 12.5px; }
.sa9-acts > span { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } .sa9-acts i { color: var(--text-secondary-light); }
.sa9-roles { display: flex; flex-wrap: wrap; gap: 4px 12px; padding-inline-start: 20px; } .sa9-roles label { display: inline-flex; gap: 4px; align-items: center; margin: 0; font-size: 12px; }
.sa9-tt { border-radius: 12px; padding: 12px 16px; background: var(--neutral-50, #f8fafc); border: 1px solid var(--neutral-200, #e5e7eb); height: 100%; }
.sa9-tt b { display: block; font-size: 20px; font-variant-numeric: tabular-nums; } .sa9-tt small { font-size: 12px; color: var(--text-secondary-light); display: block; }
.sa9-tt.is-hl { background: #ecfdf5; border-color: #a7f3d0; }
[data-theme=dark] .sa9-tt { background: rgba(148,163,184,.08); } [data-theme=dark] .sa9-tt.is-hl { background: rgba(22,163,74,.12); }

/* ---- v3.0 SA10 business calendar */
.sa10-cal { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--neutral-200, #e5e7eb); font-size: 12.5px; color: var(--text-secondary-light); }
.sa10-cal b { color: var(--text-primary-light); font-size: 13.5px; }
.sa10-cal:hover { border-color: var(--primary-600); } .sa10-cal.is-on { border-color: var(--primary-600); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-600) 18%, transparent); }
.sa10-year { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.sa10-mname { font-weight: 600; font-size: 13.5px; margin-bottom: 6px; }
.sa10-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.sa10-h { color: var(--text-secondary-light); font-weight: 600; padding: 2px 0; } .sa10-h.is-we { color: #94a3b8; }
.sa10-d { padding: 4px 0; border-radius: 6px; background: var(--neutral-50, #f8fafc); }
.sa10-d.is-we { background: transparent; color: #94a3b8; }
.sa10-d.is-public { background: #fee2e2; color: #b91c1c; font-weight: 700; } .sa10-d.is-state { background: #fce7f3; color: #be185d; font-weight: 700; }
.sa10-d.is-replacement { background: #ffedd5; color: #c2410c; font-weight: 700; } .sa10-d.is-company { background: #e0e7ff; color: #3730a3; font-weight: 700; }
.sa10-d.is-today { outline: 2px solid var(--primary-600); }
.sa10-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-inline-end: 4px; vertical-align: -1px; }
.sa10-dot.is-we { background: #e2e8f0; } .sa10-dot.is-public { background: #fecaca; } .sa10-dot.is-state { background: #fbcfe8; } .sa10-dot.is-replacement { background: #fed7aa; } .sa10-dot.is-company { background: #c7d2fe; }
.epm-badge.sa10-type.is-public { background: #fee2e2; color: #b91c1c; } .epm-badge.sa10-type.is-state { background: #fce7f3; color: #be185d; }
.epm-badge.sa10-type.is-replacement { background: #ffedd5; color: #c2410c; } .epm-badge.sa10-type.is-company { background: #e0e7ff; color: #3730a3; }
[data-theme=dark] .sa10-d { background: rgba(148,163,184,.08); }
.sa9-met { border: 1px solid var(--neutral-200, #e5e7eb); border-radius: 12px; overflow: hidden; }
.sa9-mhead, .sa9-mmain { display: grid; grid-template-columns: minmax(180px, 1.2fr) minmax(220px, 1.6fr) minmax(130px, .9fr) 120px 60px; gap: 12px; align-items: center; padding: 10px 16px; }
.sa9-mhead { background: var(--neutral-50, #f8fafc); font-size: 12.5px; font-weight: 600; color: var(--text-secondary-light); }
.sa9-mrow { border-top: 1px solid var(--neutral-200, #e5e7eb); }
.sa9-mrow.is-off { opacity: .55; }
.sa9-mdesc { padding: 0 16px 12px; margin-inline-start: 0; }
.sa9-acts .sa9-roles { display: inline-flex; padding-inline-start: 4px; }
.sa9-sla { font-weight: 700; }
@media (max-width: 991px) { .sa9-mhead { display: none; } .sa9-mmain { grid-template-columns: 1fr 1fr; } }
.sa9-lbl { min-width: 150px; max-width: 220px; } .js-stcol { min-width: 120px; }

/* ---- v3.0.1 top bar: DB00-Dashboard and FV00-Favorites (moved from the sidebar) */
.epm-top-btn { background: var(--neutral-200); color: var(--text-primary-light); border: 0; transition: background .15s, color .15s; }
.epm-top-btn:hover { background: color-mix(in srgb, var(--primary-600) 18%, var(--neutral-200)); color: var(--primary-600); }
.epm-top-btn.is-on { background: var(--primary-600); color: #fff; }
.epm-top-btn:focus-visible { outline: 2px solid var(--primary-600); outline-offset: 2px; }
.epm-top-fav .ri-star-fill { color: #f59e0b; } .epm-top-btn.is-on .ri-star-fill { color: #fff; }
.epm-top-fav__n { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #f59e0b; color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.epm-top-fav__menu { width: 290px; max-height: 70vh; overflow-y: auto; border-radius: 12px; padding: 6px; border: 1px solid var(--neutral-200); }
.epm-top-fav__item { display: flex !important; align-items: center; gap: 10px; padding: 8px 10px !important; border-radius: 8px; font-size: 13.5px; color: var(--text-primary-light); }
.epm-top-fav__item i { font-size: 17px; color: var(--text-secondary-light); }
.epm-top-fav__item:hover, .epm-top-fav__item:focus { background: color-mix(in srgb, var(--primary-600) 10%, transparent); color: var(--primary-600); }
.epm-tcode__input::placeholder { color: transparent; }
@media (max-width: 575px) { a.epm-top-btn { display: none !important; } }   /* phones: the company logo opens the dashboard */

/* ---- v3.0.2 EPM status tooltip and compact progress (Current EPM Assignment) */
.epm-st[data-bs-toggle] { cursor: help; }
.epm-st[data-bs-toggle]:focus-visible { outline: 2px solid var(--st); outline-offset: 2px; }
.tooltip.epm-st-tip .tooltip-inner { max-width: 320px; text-align: start; padding: 10px 14px; font-size: 12.5px; line-height: 1.5; background: #111827; border-radius: 10px; }
.tooltip.epm-st-tip .tooltip-inner b { font-size: 13.5px; } .tooltip.epm-st-tip .k { color: #9ca3af; }
.tooltip.epm-st-tip hr { border: 0; border-top: 1px solid #374151; margin: 8px 0; opacity: 1; }
.tooltip.epm-st-tip .tooltip-arrow::before { border-bottom-color: #111827; border-top-color: #111827; }
.epm-stprog__top { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; font-size: 13.5px; margin-bottom: 8px; }
.epm-stprog__top b { font-size: 15px; } .epm-stprog__top span { color: var(--text-secondary-light); }
.epm-stprog__bar, .epm-stprog__lbl { display: grid; grid-template-columns: repeat(var(--n, 7), 1fr); grid-auto-flow: column; gap: 4px; }
.epm-stprog__bar i { height: 8px; border-radius: 4px; background: var(--neutral-200, #e5e7eb); }
.epm-stprog__bar i.is-done { background: color-mix(in srgb, var(--c) 65%, #fff); }
.epm-stprog__bar i.is-cur { background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 25%, transparent); }
.epm-stprog__lbl { margin-top: 6px; font-size: 11px; color: var(--text-secondary-light); } .epm-stprog__lbl span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.epm-stprog__lbl span.is-cur { color: var(--text-primary-light); font-weight: 600; }
@media (max-width: 575px) { .epm-stprog__lbl { display: none; } }
.tooltip.epm-st-tip { opacity: 1 !important; } .tooltip.epm-st-tip .tooltip-inner { box-shadow: 0 10px 30px rgba(0,0,0,.25); }
/* v3.0.3 team status strip (DB00 › My Team Performance / My Reporting Line) */
.epm-tstrip__bar{display:flex;gap:3px;height:10px;border-radius:6px;overflow:hidden;background:#eef2f6;margin-bottom:12px}
.epm-tstrip__bar i{display:block;background:var(--c);min-width:6px}
.epm-tstrip__chips{display:flex;flex-wrap:wrap;gap:6px}
.epm-tchip{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:500;color:#374151;padding:3px 10px 3px 4px;border-radius:999px;background:color-mix(in srgb,var(--c) 10%,#fff);border:1px solid color-mix(in srgb,var(--c) 30%,#fff);text-decoration:none}
.epm-tchip b{min-width:20px;height:20px;border-radius:999px;background:var(--c);color:#fff;font-size:11px;display:inline-flex;align-items:center;justify-content:center;padding:0 5px}
a.epm-tchip:hover{border-color:var(--c);color:#111827}
.epm-tchip.is-zero{opacity:.45}
html[data-theme=dark] .epm-tchip{color:#d1d5db;background:color-mix(in srgb,var(--c) 18%,#1f2937);border-color:color-mix(in srgb,var(--c) 35%,#1f2937)}
/* v3.0.3 SA09 approval panel and switched-off steps */
.sa9-appr{display:flex;align-items:center;gap:16px;flex-wrap:wrap;background:#f8fafc;border:1px solid var(--neutral-200,#e5e7eb);border-radius:12px;padding:12px 16px;margin-bottom:16px}
.sa9-appr.is-ok{background:#f0fdf4;border-color:#bbf7d0}
.sa9-appr>div b{display:block;font-size:14px;margin-bottom:6px}
.sa9-appr p{flex:1;min-width:240px;margin:0;font-size:13px;color:var(--text-secondary-light)}
.sa9-appr form{margin:0}
.sa9-seg{display:inline-flex;border:1px solid #d1d5db;border-radius:999px;overflow:hidden;background:#fff}
.sa9-seg span{padding:4px 14px;font-size:12.5px;font-weight:600;color:#6b7280}
.sa9-seg .is-no{background:#fef3c7;color:#92400e}.sa9-seg .is-yes{background:#dcfce7;color:#166534}
tr.sa9-off td{background:#fafafa}tr.sa9-off .js-stprev{opacity:.45}
html[data-theme=dark] .sa9-appr{background:#1f2937;border-color:#374151}html[data-theme=dark] .sa9-appr.is-ok{background:#052e1a;border-color:#14532d}
html[data-theme=dark] .sa9-seg{background:#111827;border-color:#374151}html[data-theme=dark] tr.sa9-off td{background:#111827}
/* v3.105.74 HC12 readiness strip of the cycle: EP04 · EP05 · EP07 · EP14 */
.sa9-ready{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px}
.sa9-rd{display:flex;gap:8px;align-items:flex-start;border:1px solid var(--neutral-200,#e5e7eb);border-radius:10px;padding:8px 10px;color:inherit;text-decoration:none}.sa9-rd:hover{border-color:#a5b4fc}
.sa9-rd i{font-size:18px;line-height:1.1}.sa9-rd b{display:block;font-size:12.5px}.sa9-rd small{display:block;font-size:11.5px;color:var(--text-secondary-light)}
.sa9-rd.is-ok i{color:#16a34a}.sa9-rd.is-warn i{color:#d97706}.sa9-rd.is-todo i{color:#dc2626}.sa9-rd.is-todo{border-color:#fecaca;background:#fef2f2}
@media (max-width:991.98px){.sa9-ready{grid-template-columns:repeat(2,minmax(0,1fr))}}
html[data-theme=dark] .sa9-rd{border-color:#374151}html[data-theme=dark] .sa9-rd.is-todo{background:#450a0a;border-color:#7f1d1d}
.sa9-lbl{max-width:190px}select.js-stcol{max-width:140px}
td .text-warning-main{max-width:190px;white-space:normal}
.sa9-amend{background:#fffbeb;border:1px solid #fde68a;border-radius:12px;padding:14px 16px}
html[data-theme=dark] .sa9-amend{background:#2a2208;border-color:#713f12}
/* v3.0.5 DB00 EPM cycle selection */
.epm-dcyc{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 14px;padding:8px 12px;border-radius:12px;background:var(--white,#fff);border:1px solid var(--neutral-200,#e5e7eb)}
.epm-dcyc label{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--text-primary-light);margin:0}
.epm-dcyc label i{color:var(--primary-600)}
.epm-dcyc select{width:auto;min-width:220px}
.epm-dcyc.is-past{background:#fffbeb;border-color:#fde68a}
.epm-dcyc__note{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:#92400e;font-weight:500}
.epm-dcyc__back{font-size:13px;font-weight:600;color:var(--primary-600);margin-left:auto}
html[data-theme=dark] .epm-dcyc{background:#1f2937;border-color:#374151}html[data-theme=dark] .epm-dcyc.is-past{background:#2a2208;border-color:#713f12}html[data-theme=dark] .epm-dcyc__note{color:#fcd34d}
@media (max-width:575.98px){.epm-dcyc select{min-width:0;flex:1}.epm-dcyc__back{margin-left:0}}
/* v3.0.6 DB00 Tab 4 — 3-Year Comparison */
.epm-dtabs .nav-link.is-blue{--tc:#2563eb}
.epm-trend-years{display:grid;grid-template-columns:repeat(var(--n,3),minmax(0,1fr));gap:16px}
.epm-trend-year{border:1px solid var(--neutral-200,#e5e7eb);border-radius:12px;padding:16px 18px;display:flex;flex-direction:column;gap:8px}
.epm-trend-year.is-cur{border-color:color-mix(in srgb,var(--primary-600) 45%,#fff);background:color-mix(in srgb,var(--primary-600) 5%,transparent)}
.epm-trend-score{font-size:34px;font-weight:700;line-height:1.1}
.epm-trend-dl{display:grid;grid-template-columns:auto 1fr;gap:2px 12px;margin:4px 0;font-size:13px}.epm-trend-dl dt{font-weight:400;color:var(--text-secondary-light)}.epm-trend-dl dd{margin:0;font-weight:600}
.epm-delta{display:inline-flex;align-items:center;gap:2px;font-size:12.5px;font-weight:700;border-radius:999px;padding:1px 8px}
.epm-delta.is-up{color:#15803d;background:#dcfce7}.epm-delta.is-down{color:#b91c1c;background:#fee2e2}.epm-delta.is-flat{color:#475569;background:#f1f5f9}
.epm-spark polyline{fill:none;stroke:var(--primary-600,#25A194);stroke-width:2}.epm-spark circle{fill:var(--primary-600,#25A194)}
.epm-seg{display:inline-flex;border:1px solid var(--neutral-200,#e5e7eb);border-radius:999px;overflow:hidden}
.epm-seg button{border:0;background:transparent;padding:5px 14px;font-size:13px;font-weight:600;color:var(--text-secondary-light)}
.epm-seg button b{font-weight:700;margin-left:4px}.epm-seg button.is-on{background:var(--primary-600);color:#fff}
.epm-trend-mv{display:flex;align-items:center;gap:10px;border-radius:12px;padding:12px 14px;background:#f8fafc}
.epm-trend-mv i{font-size:22px}.epm-trend-mv b{font-size:22px}.epm-trend-mv span{font-size:13px;color:var(--text-secondary-light)}
.epm-trend-mv.is-success i{color:#16a34a}.epm-trend-mv.is-danger i{color:#dc2626}.epm-trend-mv.is-neutral i{color:#64748b}.epm-trend-mv.is-info i{color:#2563eb}
.epm-trend-mixrow{display:grid;grid-template-columns:110px 1fr 120px;gap:12px;align-items:center;margin-bottom:8px}
.epm-trend-mixbar{display:flex;gap:2px;height:14px;border-radius:7px;overflow:hidden;background:#eef2f6}.epm-trend-mixbar i{display:block;min-width:6px}.epm-trend-mixbar em{font-size:11px;padding-left:8px;color:#94a3b8;line-height:14px}
.epm-trend-legend{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;color:var(--text-secondary-light);margin-top:6px}.epm-trend-legend i{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:5px}
html[data-theme=dark] .epm-trend-mv{background:#1f2937}html[data-theme=dark] .epm-trend-mixbar{background:#374151}
@media (max-width:767.98px){.epm-trend-years{grid-template-columns:1fr}.epm-trend-mixrow{grid-template-columns:80px 1fr}.epm-trend-mixrow>span:last-child{grid-column:2}}
.epm-trend-inc{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;font-weight:600;color:var(--text-secondary-light);text-decoration:none;white-space:nowrap}
.epm-trend-inc .sw{width:30px;height:17px;border-radius:999px;background:#cbd5e1;position:relative;flex:none}
.epm-trend-inc .sw:after{content:"";position:absolute;top:2px;left:2px;width:13px;height:13px;border-radius:50%;background:#fff;transition:left .15s}
.epm-trend-inc.is-on{color:var(--primary-600)}.epm-trend-inc.is-on .sw{background:var(--primary-600)}.epm-trend-inc.is-on .sw:after{left:15px}
p .epm-trend-inc{margin-left:8px}
.epm-trend-nc{color:var(--text-secondary-light)!important;font-style:italic}
/* v3.0.7 My team — year comparison: year tiles, movement board, colour-coded table */
.epm-ytiles{display:grid;grid-template-columns:repeat(var(--n,3),minmax(0,1fr));gap:14px}
.epm-ytile{border:1px solid var(--neutral-200,#e5e7eb);border-radius:12px;padding:12px 16px}
.epm-ytile.is-nc{border-style:dashed;background:#fafafa}
.epm-ytile__h{display:flex;justify-content:space-between;gap:8px;font-size:13px}.epm-ytile__h span{color:var(--text-secondary-light);font-size:12px}
.epm-ytile__v{font-size:30px;font-weight:700;line-height:1.15;margin:4px 0 2px}
.epm-ytile__s{font-size:12.5px;color:var(--text-secondary-light)}
.epm-ytile__mix{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.epm-ytile__mix span{font-size:12px;font-weight:600;border-radius:999px;padding:1px 9px}
.epm-mvboard{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.epm-mvcol{border-radius:12px;padding:12px 14px;background:#f8fafc}.epm-mvcol.is-up{background:#f0fdf4}.epm-mvcol.is-down{background:#fef2f2}
.epm-mvcol__h{display:flex;justify-content:space-between;align-items:center;font-size:13.5px;font-weight:600;margin-bottom:8px}
.epm-mvcol.is-up .epm-mvcol__h i{color:#16a34a}.epm-mvcol.is-down .epm-mvcol__h i{color:#dc2626}
.epm-mvp{display:flex;justify-content:space-between;align-items:center;gap:8px;background:#fff;border-radius:10px;padding:7px 10px;margin-bottom:6px;box-shadow:0 0 0 1px #eef2f6;font-size:13px}
.epm-mvp b{display:block;font-weight:600}.epm-mvp small{display:block;color:var(--text-secondary-light);font-size:11.5px}
.epm-mvcol details summary{cursor:pointer;margin:2px 0 6px}
.epm-tcell{display:inline-block;min-width:92px;border-radius:8px;padding:4px 8px;line-height:1.25}.epm-tcell b{display:block;font-size:14px}.epm-tcell small{font-size:11.5px;font-weight:500}
.epm-tcell-nc{opacity:.7}
.epm-tsort-btn{border:0;background:transparent;font:inherit;font-weight:600;color:inherit;padding:0;cursor:pointer}.epm-tsort-btn i{font-size:13px;color:var(--text-secondary-light)}
.epm-ttable tfoot td{background:#f8fafc}
html[data-theme=dark] .epm-ytile.is-nc,html[data-theme=dark] .epm-mvcol,html[data-theme=dark] .epm-ttable tfoot td{background:#1f2937}html[data-theme=dark] .epm-mvcol.is-up{background:#052e1a}html[data-theme=dark] .epm-mvcol.is-down{background:#2a0f0f}html[data-theme=dark] .epm-mvp{background:#111827;box-shadow:0 0 0 1px #374151}
@media (max-width:767.98px){.epm-ytiles,.epm-mvboard{grid-template-columns:1fr}}
/* v3.0.8 CRM transaction page */
.crm-plan{background:linear-gradient(135deg,#fff7ed,#fffbf5)}
.crm-plan__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.crm-plan__list li{display:flex;gap:10px;align-items:flex-start;background:#fff;border-radius:10px;padding:10px 12px;box-shadow:0 0 0 1px #fde7cf;font-size:14px}
.crm-plan__list i{color:#b45309;font-size:18px;line-height:1.2}
html[data-theme=dark] .crm-plan{background:#1f1a14}html[data-theme=dark] .crm-plan__list li{background:#111827;box-shadow:0 0 0 1px #3f2d18}
/* v3.1.0 EPM evidence */
.epm-ev-chip{display:inline-flex;align-items:center;gap:4px;margin-top:6px;border:1px solid transparent;border-radius:999px;padding:2px 10px;font-size:12px;font-weight:600;cursor:pointer;line-height:1.5}
.epm-ev-chip i{font-size:13px}
.epm-ev-chip.is-none{background:#f1f5f9;color:#475569;border-color:#e2e8f0}.epm-ev-chip.is-has{background:#e0e7ff;color:#3730a3}
.epm-ev-chip.is-need{background:#fee2e2;color:#b91c1c}.epm-ev-chip.is-ok{background:#dcfce7;color:#166534}
.epm-ev-chip:hover{filter:brightness(.96);border-color:currentColor}
.epm-ev-req{display:flex;align-items:center;gap:6px;margin-top:8px;font-size:12px;color:var(--text-secondary-light);cursor:pointer;white-space:nowrap}.epm-ev-req.is-ro{color:#3730a3;font-weight:600}
.epm-ev-file{display:flex;align-items:center;gap:12px;border:1px solid var(--neutral-200,#e5e7eb);border-radius:12px;padding:10px 12px;margin-bottom:8px}
.epm-ev-ic{width:38px;height:38px;border-radius:9px;color:#fff;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;flex:none}
.epm-ev-check{display:flex;align-items:center;gap:10px;border-radius:12px;padding:10px 14px;background:#f8fafc;margin-top:8px;font-size:13.5px}.epm-ev-check i{font-size:20px;color:#94a3b8}
.epm-ev-check.is-on{background:#f0fdf4}.epm-ev-check.is-on i{color:#16a34a}
.epm-ev-drop{display:flex;align-items:center;gap:14px;border:2px dashed #c7d2fe;background:#eef2ff;border-radius:12px;padding:14px 16px;cursor:pointer;position:relative;color:#3730a3;margin:0}
.epm-ev-drop i{font-size:28px}.epm-ev-drop span{display:flex;flex-direction:column}.epm-ev-drop small{color:#6366f1;font-size:12px}
.epm-ev-drop input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer}.epm-ev-drop.is-over{background:#e0e7ff;border-color:#6366f1}
.epm-ev-picked div{margin-top:6px}
.epm-type-pick{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--neutral-200,#e5e7eb);border-radius:10px;padding:6px 10px;font-size:13px;cursor:pointer}.epm-type-pick span{color:var(--text-secondary-light);font-size:12px}.epm-type-pick.is-on{border-color:var(--primary-600);background:color-mix(in srgb,var(--primary-600) 6%,transparent)}
html[data-theme=dark] .epm-ev-check{background:#1f2937}html[data-theme=dark] .epm-ev-check.is-on{background:#052e1a}html[data-theme=dark] .epm-ev-drop{background:#1e1b4b;border-color:#4338ca;color:#c7d2fe}
@media print{.epm-ev-chip,.epm-ev-req{display:none!important}}

/* v3.2.0 DM00 document library */
.dms-expiry{display:inline-flex;align-items:center;gap:6px;font-size:13px;padding:2px 10px;border-radius:999px;background:var(--neutral-100,#f1f3f5);color:var(--text-secondary-light,#596273)}
.dms-expiry.is-soon{background:#fff4e0;color:#9a5b00}
.dms-expiry.is-out{background:#fde8e8;color:#b42318;font-weight:600}
.dms-dl{display:grid;grid-template-columns:max-content 1fr;gap:8px 16px;margin:0;font-size:14px}
.dms-dl dt{font-weight:500;color:var(--text-secondary-light,#596273)}
.dms-dl dd{margin:0;min-width:0;overflow-wrap:anywhere}
.dms-tag{display:inline-block;font-size:12px;padding:1px 8px;margin:0 4px 4px 0;border-radius:6px;background:var(--primary-50,#eef4ff);color:var(--primary-600,#2f6fed)}
label.dms-req::after{content:" *";color:#dc2626}
html[data-theme=dark] .dms-expiry{background:rgba(255,255,255,.08);color:#cbd5e1}
html[data-theme=dark] .dms-expiry.is-soon{background:rgba(245,158,11,.18);color:#fbbf24}
html[data-theme=dark] .dms-expiry.is-out{background:rgba(239,68,68,.18);color:#fca5a5}
@media (max-width:575px){.dms-dl{grid-template-columns:1fr}.dms-dl dt{margin-top:4px}}

/* v3.3.0 DM01 letters · DM02 settings · PDF engine status */
.ltr-engine{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:10px;font-size:13.5px;border:1px solid transparent}
.ltr-engine i{font-size:18px}.ltr-engine a{margin-inline-start:auto;font-weight:500}
.ltr-engine.is-ok{background:#ecfdf5;border-color:#a7f3d0;color:#065f46}
.ltr-engine.is-warn{background:#fffbeb;border-color:#fde68a;color:#92400e}
.ltr-engine.is-bad{background:#fef2f2;border-color:#fecaca;color:#991b1b}
.ltr-emps{max-height:420px;overflow:auto;padding:6px 8px}
.ltr-emp{display:flex;gap:10px;align-items:flex-start;padding:8px 12px;border-radius:8px;cursor:pointer;font-size:14px}
.ltr-emp:hover{background:var(--neutral-50,#f8fafc)}.ltr-emp input{margin-top:3px}
.ltr-frame{display:block;width:100%;height:760px;border:0;background:#fff}
.ltr-preview-card .card-body{background:#e5e7eb;padding:16px!important}
.ltr-preview-card .ltr-frame{max-width:820px;margin:0 auto;box-shadow:0 1px 3px rgba(15,23,42,.18);padding:0}
.ltr-ed{border:1px solid var(--input-border,#d1d5db);border-radius:8px;overflow:hidden;background:#fff}
.ltr-ed.is-invalid{border-color:#dc2626}
.ltr-ed__bar{display:flex;flex-wrap:wrap;align-items:center;gap:2px;padding:6px;border-bottom:1px solid var(--input-border,#e5e7eb);background:var(--neutral-50,#f8fafc)}
.ltr-ed__btn{width:32px;height:32px;border:0;border-radius:6px;background:transparent;color:#374151;display:inline-flex;align-items:center;justify-content:center;font-size:16px}
.ltr-ed__btn:hover,.ltr-ed__btn.is-on{background:#e5e7eb}.ltr-ed__btn:focus-visible{outline:2px solid var(--primary-600,#0f766e);outline-offset:1px}
.ltr-ed__sep{width:1px;height:20px;background:#d1d5db;margin:0 4px}
.ltr-ed__area{min-height:320px;max-height:620px;overflow:auto;padding:16px 20px;font-family:"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.6;color:#1f2937;outline:none}
.ltr-ed__area table{border-collapse:collapse;width:100%}.ltr-ed__area td,.ltr-ed__area th{border:1px solid #d1d5db;padding:4px 8px;text-align:left}
.ltr-ed__src{border:0;border-radius:0;font-family:Consolas,monospace;font-size:13px}
.ltr-field{border:1px solid #c7d2fe;background:#eef2ff;color:#3730a3;border-radius:6px;padding:2px 8px;font-size:12.5px;line-height:1.6}
.ltr-field:hover{background:#e0e7ff}.ltr-field.is-custom{border-color:#fde68a;background:#fffbeb;color:#92400e}
html[data-theme=dark] .ltr-engine.is-ok{background:rgba(16,185,129,.12);color:#6ee7b7;border-color:transparent}
html[data-theme=dark] .ltr-engine.is-warn{background:rgba(245,158,11,.14);color:#fcd34d;border-color:transparent}
html[data-theme=dark] .ltr-engine.is-bad{background:rgba(239,68,68,.14);color:#fca5a5;border-color:transparent}
html[data-theme=dark] .ltr-ed,html[data-theme=dark] .ltr-ed__bar{background:#1f2937;border-color:#374151}
html[data-theme=dark] .ltr-ed__area{color:#e5e7eb}html[data-theme=dark] .ltr-ed__btn{color:#e5e7eb}
html[data-theme=dark] .ltr-ed__btn:hover{background:#374151}html[data-theme=dark] .ltr-preview-card .card-body{background:#111827}
@media (max-width:991px){.ltr-frame{height:560px}}

/* v3.4.0 CRM · Sales Force Automation (SF00–SF05, SA11) */
.crm-st{display:inline-flex;align-items:center;font-size:12px;font-weight:600;border-radius:999px;padding:2px 10px;color:var(--c);background:color-mix(in srgb,var(--c) 13%,#fff);white-space:nowrap}
.crm-sc{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:22px;border-radius:6px;font-size:12px;font-weight:700;padding:0 6px}
.crm-sc.is-hot{background:#fee2e2;color:#b91c1c}.crm-sc.is-warm{background:#ffedd5;color:#c2410c}.crm-sc.is-cold{background:#e0f2fe;color:#0369a1}
.crm-src{display:inline-block;font-size:12px;border:1px solid #e5e7eb;border-radius:6px;padding:1px 7px;color:#374151;white-space:nowrap}
.crm-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.crm-kpi{display:block;background:var(--white,#fff);border-radius:12px;padding:12px 16px;box-shadow:0 0 0 1px #e6ebea;color:inherit;text-decoration:none}
a.crm-kpi:hover{box-shadow:0 0 0 1px var(--primary-600,#0f766e)}
.crm-kpi small{display:block;font-size:12px;color:var(--text-secondary-light,#6b7280)}.crm-kpi b{display:block;font-size:24px;line-height:1.2;margin:2px 0}
@media (max-width:1199px){.crm-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:575px){.crm-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
.crm-bulk{display:flex;flex-wrap:wrap;align-items:center;gap:8px;background:#0f172a;color:#fff;border-radius:10px;padding:8px 12px;font-size:13px}
.crm-bulk .form-select,.crm-bulk .form-control{background-color:#fff}
.crm-table td{vertical-align:middle}
.crm-path{display:flex;gap:4px;flex-wrap:nowrap;overflow-x:auto}.crm-path__f{flex:1;display:flex;min-width:96px}
.crm-path__s{flex:1;min-width:96px;text-align:center;font-size:12.5px;font-weight:600;padding:9px 14px;background:#e5e7eb;color:#4b5563;border:0;clip-path:polygon(0 0,calc(100% - 10px) 0,100% 50%,calc(100% - 10px) 100%,0 100%,10px 50%)}
.crm-path__s:first-child,.crm-path__f:first-child .crm-path__s{clip-path:polygon(0 0,calc(100% - 10px) 0,100% 50%,calc(100% - 10px) 100%,0 100%)}
.crm-path-marks{margin-top:4px}.crm-path-mark{flex:1;min-width:96px;text-align:center}   /* v3.105.420 SF02 marker under the costing stage */
.crm-mark{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;font-weight:600;color:#b45309;background:#fffbeb;border:1px solid #fde68a;border-radius:999px;padding:2px 10px}
.crm-path__s.done{background:#99f6e4;color:#115e59}.crm-path__s.cur{background:var(--primary-600,#0f766e);color:#fff}
.crm-path__s.is-move{cursor:pointer;background:#f1f5f9;color:#334155}.crm-path__s.is-move:hover{background:#ccfbf1;color:#115e59}
.crm-path__s.is-dis{background:#cbd5e1;color:#334155}.crm-path__s.is-won.cur{background:#15803d}.crm-path__s.is-lost.cur{background:#64748b}
.crm-path__s.is-won.is-move:hover{background:#dcfce7;color:#166534}.crm-path__s.is-lost.is-move:hover{background:#e2e8f0}
.crm-dl{grid-template-columns:110px 1fr}
.crm-filt{display:flex;gap:2px;flex-wrap:wrap}.crm-filt button{border:0;background:transparent;font-size:12.5px;padding:3px 9px;border-radius:6px;color:#4b5563}.crm-filt button.is-on{background:#e5e7eb;color:#111827;font-weight:600}
.crm-composer{border:1px solid #e5e7eb;border-radius:12px;padding:12px;background:var(--neutral-50,#f8fafc)}
.crm-chip{position:relative;cursor:pointer;margin:0}.crm-chip input{position:absolute;opacity:0}.crm-chip span{display:inline-block;font-size:12.5px;font-weight:600;border:1px solid #d1d5db;border-radius:999px;padding:3px 12px;background:#fff}
.crm-chip input:checked+span{background:var(--primary-600,#0f766e);border-color:var(--primary-600,#0f766e);color:#fff}.crm-chip input:focus-visible+span{outline:2px solid #111827;outline-offset:1px}
.crm-next summary{cursor:pointer;color:var(--primary-600,#0f766e);font-weight:600}
.crm-tl{display:flex;flex-direction:column}.crm-tli{display:flex;gap:12px;padding:10px 0;border-top:1px solid #f1f5f9}.crm-tli:first-child{border-top:0}
.crm-tli__ic{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:14px;flex:none;background:#f1f5f9;color:#475569}
.crm-tli.is-call .crm-tli__ic{background:#dcfce7;color:#166534}.crm-tli.is-email .crm-tli__ic{background:#e0f2fe;color:#075985}.crm-tli.is-meeting .crm-tli__ic{background:#ede9fe;color:#5b21b6}
.crm-tli.is-note .crm-tli__ic,.crm-tli.is-task .crm-tli__ic{background:#fef3c7;color:#92400e}
.crm-fu{border:1px solid #e5e7eb;border-radius:10px;padding:9px 12px;margin-bottom:8px;font-size:13px}.crm-fu.is-od{border-color:#fecaca;background:#fef2f2}.crm-fu.is-today{border-color:#fde68a;background:#fffbeb}
.btn-xs{padding:2px 9px;font-size:12px;line-height:1.5}
/* v3.105.393 lead pop-up (SF01 new / edit): sections, the lead card, tag chips */
.crm-fsec{display:flex;align-items:center;gap:12px;padding-top:14px;margin-top:4px;position:relative}.crm-fsec::before{content:'';position:absolute;top:0;left:calc(var(--bs-gutter-x) * .5);right:calc(var(--bs-gutter-x) * .5);border-top:1px dashed #e2e8f0}.crm-fsec:first-child{padding-top:0;margin-top:0}.crm-fsec:first-child::before{display:none}
.crm-fsec__ic{width:34px;height:34px;border-radius:10px;background:#eff6ff;color:#2563eb;display:grid;place-items:center;font-size:17px;flex:none}
.crm-fsec b{display:block;font-size:14px;color:#0f172a}.crm-fsec small{display:block;font-size:12px;color:#64748b}
.crm-tagchips{display:flex;flex-wrap:wrap;gap:6px}.crm-tagchips:empty{display:none}.crm-chip{background:#eef2ff;color:#3730a3;border-radius:999px;padding:2px 10px;font-size:12px;font-weight:500}
.crm-lcard{display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:14px;background:linear-gradient(135deg,#eff6ff,#f8fafc);border:1px solid #dbeafe}
.crm-lcard__av{width:46px;height:46px;border-radius:50%;background:#2563eb;color:#fff;display:grid;place-items:center;font-weight:700;font-size:16px;flex:none}
.crm-lcard b{display:block;font-size:15px;color:#0f172a}.crm-lcard small{display:block;font-size:12px;color:#64748b}
.crm-dnc{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:12px;background:#fef2f2;border:1px solid #fecaca}
.crm-dnc--ok{background:#f0fdf4;border-color:#bbf7d0}
.crm-dup{border-radius:12px;padding:12px 14px;background:#fffbeb;border:1px solid #fde68a;color:#92400e;font-size:13px}.crm-dup a{color:#92400e;text-decoration:underline}
.crm-opts{display:flex;flex-direction:column;gap:6px}.crm-opt{display:flex;gap:10px;align-items:flex-start;border:1.5px solid #e5e7eb;border-radius:10px;padding:9px 12px;font-size:13.5px;cursor:pointer;margin:0}
.crm-opt:has(input:checked){border-color:var(--primary-600,#0f766e);background:#f0fdfa}.crm-opt input[type=radio]{margin-top:4px}.crm-opt>span{flex:1}
.crm-board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(250px,1fr);gap:12px;overflow-x:auto;padding-bottom:6px}
.crm-col{background:#eef2f1;border-radius:12px;display:flex;flex-direction:column;min-height:360px;border:2px solid transparent}.crm-col.is-over{border-color:var(--primary-600,#0f766e);background:#e6fffa}
.crm-col__h{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;font-size:12.5px;color:#475569;font-weight:600}
.crm-col__b{display:flex;flex-direction:column;gap:8px;padding:0 10px 10px;max-height:70vh;overflow:auto}
.crm-card{display:block;background:#fff;border-radius:10px;padding:10px 12px;box-shadow:0 1px 2px rgba(15,23,42,.08);color:inherit;text-decoration:none;font-size:13.5px}
.crm-card:hover{box-shadow:0 0 0 1px var(--primary-600,#0f766e)}.crm-card[draggable=true]{cursor:grab}.crm-card.is-drag{opacity:.5}
.crm-col__empty{font-size:12.5px;color:#94a3b8;text-align:center;padding:20px 0}
.crm-rule{display:grid;grid-template-columns:30px minmax(0,1fr) 210px 150px;gap:12px;align-items:center;border:1px solid #e6ebea;border-radius:10px;padding:10px 12px;background:#fff}
.crm-rule.is-off{opacity:.55}.crm-rule.is-fallback{background:#fffbeb;border-color:#fde68a}
.crm-rule__n{width:26px;height:26px;border-radius:50%;background:var(--primary-600,#0f766e);color:#fff;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center}
.crm-rule.is-fallback .crm-rule__n{background:#b45309}
.crm-cond{display:inline-block;background:#eef2ff;color:#3730a3;border-radius:6px;padding:1px 8px;font-size:12px;margin:2px 4px 0 0}.crm-cond.is-any{background:#f1f5f9;color:#334155}
@media (max-width:991px){.crm-rule{grid-template-columns:30px 1fr}.crm-rule>div:nth-child(3),.crm-rule>div:nth-child(4){grid-column:2}}
.crm-members{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:6px}
.crm-member{display:grid;grid-template-columns:20px 1fr 70px;gap:8px;align-items:center;border:1px solid #e5e7eb;border-radius:8px;padding:6px 10px;margin:0;font-size:13.5px}
.crm-srcs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.crm-srcc{display:flex;gap:12px;align-items:center;background:#fff;border-radius:12px;padding:12px 16px;box-shadow:0 0 0 1px #e6ebea;color:inherit;text-decoration:none}
.crm-srcc i{font-size:22px;color:var(--primary-600,#0f766e)}.crm-srcc small{display:block;font-size:12px;color:#6b7280}.crm-srcc.is-on{box-shadow:0 0 0 2px var(--primary-600,#0f766e)}
@media (max-width:991px){.crm-srcs{grid-template-columns:repeat(2,minmax(0,1fr))}}
.crm-steps{display:flex;gap:6px;font-size:12px}.crm-steps span{padding:3px 10px;border-radius:999px;background:#f1f5f9;color:#475569;font-weight:600}.crm-steps span.is-on{background:var(--primary-600,#0f766e);color:#fff}
.crm-fields td{vertical-align:middle}
.crm-pipe{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(140px,1fr);gap:10px;overflow-x:auto}
.crm-pipe__s{background:#fff;border-radius:12px;padding:10px 14px;box-shadow:0 0 0 1px #e6ebea}.crm-pipe__s small{display:block;font-size:12px;color:#6b7280}.crm-pipe__s b{font-size:20px;display:block}.crm-pipe__s span{font-size:12.5px;color:#374151}
.crm-pipe__s.is-won{background:#ecfdf5}.crm-pipe__s.is-w{background:#f0f9ff}
.crm-big small{display:block;font-size:12px;color:#6b7280}.crm-big b{font-size:18px}
.btn-warning-600{background:#b45309;border-color:#b45309;color:#fff}.btn-warning-600:hover{background:#92400e;border-color:#92400e;color:#fff}
html[data-theme=dark] .crm-kpi,html[data-theme=dark] .crm-card,html[data-theme=dark] .crm-rule,html[data-theme=dark] .crm-srcc,html[data-theme=dark] .crm-pipe__s{background:#1f2937;box-shadow:0 0 0 1px #374151}
html[data-theme=dark] .crm-col{background:#111827}html[data-theme=dark] .crm-composer{background:#111827;border-color:#374151}
html[data-theme=dark] .crm-chip span{background:#1f2937;border-color:#4b5563}html[data-theme=dark] .crm-path__s{background:#374151;color:#e5e7eb}
html[data-theme=dark] .crm-st{background:color-mix(in srgb,var(--c) 25%,#111827);color:#f3f4f6}

/* ---- v3.5.0 HR01 Maintain position: position seats in the structure tree (vacant = dashed orange) */
.org-seat { text-decoration: none; color: inherit; }
.org-seat__code { font-size: 10.5px; font-weight: 700; letter-spacing: .02em; color: #8a94a6; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.org-seat.is-vacant { border: 1.5px dashed #f59e0b; border-top: 4px dashed #f59e0b; background: #fffbeb; box-shadow: none; }
.org-seat.is-hit { outline: 3px solid #2563eb; outline-offset: 2px; }   /* v3.105.9 HR01 Structure: found by the name filter */
.org-seat.inactive { opacity: .55; border-top-color: #94a3b8; }
.org-vac { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 10px; color: #b45309; background: #fef3c7; border: 1px dashed #f59e0b; }
.org-holder { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--text-primary-light); }
.org-exp { font-size: 10.5px; font-weight: 600; color: #b91c1c; }
[data-theme="dark"] .org-seat.is-vacant { background: rgba(245,158,11,.08); }
[data-theme="dark"] .org-vac { background: rgba(245,158,11,.15); color: #fbbf24; }

/* ---- v3.6.0 HR01 approval: Not approved (purple dashed), Non-active (grey), legend */
.org-na, .org-ap, .org-off, .org-chg { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 10px; }
.org-na { color: #6b21a8; background: #f3e8ff; border: 1px dashed #c084fc; }
.org-chg { color: #6b21a8; background: #faf5ff; border: 1px solid #e9d5ff; font-weight: 600; }
.org-ap { color: #166534; background: #dcfce7; }
.org-off { color: #475569; background: #e2e8f0; }
.org-na-text { color: #7e22ce; }
.org-seat.is-na { border: 1.5px dashed #c084fc; border-top: 4px dashed #a855f7; background: #faf5ff; box-shadow: none; }
.org-seat.is-off { border-top-color: #94a3b8; background: #f1f5f9; box-shadow: none; opacity: 1; }
.org-seat.is-off .n, .org-seat.is-off .org-seat__code { color: #64748b; }
.org-apbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; border-radius: 12px; padding: 14px 18px; background: #faf5ff; border: 1px solid #e9d5ff; }
.org-diff th { font-size: 12px; background: transparent; } .org-diff td { font-size: 12.5px; background: transparent; }
.org-legend { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-secondary-light, #64748b); flex-wrap: wrap; }
.org-legend .sw { width: 16px; height: 10px; border-radius: 3px; display: inline-block; margin-left: 6px; }
.sw-fill { background: #fff; border: 1.5px solid var(--primary-600, #0f766e); } .sw-vac { background: #fffbeb; border: 1.5px dashed #f59e0b; }
.sw-na { background: #faf5ff; border: 1.5px dashed #a855f7; } .sw-off { background: #e2e8f0; border: 1px solid #94a3b8; }
[data-theme="dark"] .org-apbar, [data-theme="dark"] .org-seat.is-na { background: rgba(168,85,247,.08); }
[data-theme="dark"] .org-seat.is-off { background: rgba(148,163,184,.12); }
[data-theme="dark"] .org-na { background: rgba(168,85,247,.15); color: #d8b4fe; }
@media (min-width:1200px){.org-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}}
.org-apbar__main { flex: 1 1 420px; min-width: 0; } .org-apbar__act { flex: 0 0 340px; max-width: 100%; }

/* ---- v3.6.1 searchable select (select[data-search]) */
.epm-ss { position: relative; }
.epm-ss__native { position: absolute !important; opacity: 0; pointer-events: none; width: 100%; height: 100%; left: 0; top: 0; }
.epm-ss__in { padding-right: 34px; background: var(--white, #fff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2394a3b8'%3E%3Cpath d='M11 2a9 9 0 1 0 5.6 16.1l4.6 4.6 1.4-1.4-4.6-4.6A9 9 0 0 0 11 2zm0 2a7 7 0 1 1 0 14 7 7 0 0 1 0-14z'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; text-overflow: ellipsis; }
.epm-ss__list { display: none; position: absolute; z-index: 1080; left: 0; right: 0; top: calc(100% + 4px); max-height: 280px; overflow-y: auto; margin: 0; padding: 4px; list-style: none;
  background: var(--white, #fff); border: 1px solid var(--epm-border, #e5e7eb); border-radius: 10px; box-shadow: 0 12px 28px rgba(15,23,42,.14); }
.epm-ss__list.show { display: block; }
.epm-ss__list li { padding: 7px 10px; border-radius: 7px; font-size: 13.5px; cursor: pointer; line-height: 1.35; }
.epm-ss__list li.ph { color: #64748b; font-style: italic; }
.epm-ss__list li.hi { background: var(--epm-soft, #ecfdf5); }
.epm-ss__list li.sel { font-weight: 600; color: var(--primary-600, #0f766e); }
.epm-ss__list li.none { color: #94a3b8; cursor: default; }

/* ---- v3.7.0 SU00 company setup wizard */
.su-st { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; vertical-align: middle; }
.su-st--impl { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; } .su-st--prod { background: #dcfce7; color: #166534; }
.su-bar { height: 8px; background: var(--neutral-200, #e5e7eb); border-radius: 999px; overflow: hidden; } .su-bar i { display: block; height: 100%; background: var(--primary-600, #0f766e); border-radius: 999px; }
.su-wrap { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 991px) { .su-wrap { grid-template-columns: 1fr; } }
.su-side { padding: 18px 14px; position: sticky; top: 90px; } .su-side__top { padding: 0 6px 12px; border-bottom: 1px solid var(--epm-border, #e5e7eb); margin-bottom: 8px; }
.su-ph { font-size: 11.5px; font-weight: 700; color: var(--primary-600, #0f766e); margin: 12px 8px 4px; }
.su-stp { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; color: var(--text-primary-light, #111827); text-decoration: none; }
.su-stp:hover { background: var(--neutral-50, #f8fafc); }
.su-stp.is-cur { background: color-mix(in srgb, var(--primary-600, #0f766e) 10%, transparent); }
.su-ic { width: 24px; height: 24px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; border: 1.5px solid #cbd5e1; color: #64748b; background: var(--white, #fff); }
.su-stp.is-done .su-ic { background: var(--primary-600, #0f766e); border-color: var(--primary-600, #0f766e); color: #fff; }
.su-stp.is-skip .su-ic { border-style: dashed; } .su-stp.is-lock { opacity: .55; }
.su-stp.is-cur .su-ic { border-color: var(--primary-600, #0f766e); color: var(--primary-600, #0f766e); }
.su-stp.is-cur.is-done .su-ic { color: #fff; }
.su-stp__t { display: flex; flex-direction: column; font-size: 13px; font-weight: 600; line-height: 1.25; min-width: 0; } .su-stp__t small { font-size: 11px; font-weight: 500; color: #94a3b8; }
.su-stp.is-done .su-stp__t small { color: #15803d; } .su-stp:not(.is-done):not(.is-lock) .su-stp__t small { color: #b45309; }
.su-tc { margin-left: auto; font-size: 10.5px; color: #94a3b8; font-weight: 600; }
.su-main { padding: 24px 28px; min-height: 560px; display: flex; flex-direction: column; gap: 14px; }
.su-h { font-size: 22px; margin: 4px 0 0; } .su-why { font-size: 14px; color: var(--text-secondary-light, #4b5563); max-width: 72ch; margin: 0; }
.su-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--neutral-100, #f1f5f9); color: #475569; }
.su-chip--ok { background: #dcfce7; color: #166534; } .su-chip--no { background: #fff7ed; color: #c2410c; }
.su-box { border: 1px solid var(--epm-border, #e5e7eb); border-radius: 12px; padding: 14px 16px; }
.su-box__h { font-size: 13.5px; font-weight: 700; margin-bottom: 8px; }
.su-chk { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.su-chk li { display: flex; gap: 8px; align-items: flex-start; } .su-chk span { width: 18px; flex: none; text-align: center; }
.su-chk .ok { color: #15803d; } .su-chk .no { color: #dc2626; } .su-chk .nn { color: #94a3b8; }
.su-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--epm-border, #e5e7eb); }
.su-live { display: flex; gap: 12px; align-items: center; font-size: 15px; } .su-live > i { font-size: 30px; color: #16a34a; }
.su-ret { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: var(--primary-600, #0f766e); color: #fff; font-size: 13px; border-radius: 10px; padding: 8px 14px; margin-bottom: 16px; }
.su-ret > i { font-size: 18px; } .su-ret span { opacity: .9; }
.su-ret__btn { color: #fff; border: 1px solid rgba(255,255,255,.55); border-radius: 8px; padding: 3px 10px; font-size: 12.5px; font-weight: 600; text-decoration: none; }
.su-ret__btn:first-of-type { margin-left: auto; } .su-ret__btn:hover { background: rgba(255,255,255,.15); color: #fff; } .su-ret__x { color: #fff; font-size: 18px; line-height: 1; }
.su-banner { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 12px; background: color-mix(in srgb, var(--primary-600, #0f766e) 8%, var(--white, #fff)); border: 1px solid color-mix(in srgb, var(--primary-600, #0f766e) 25%, transparent); }
.su-banner > i { font-size: 26px; color: var(--primary-600, #0f766e); } .su-banner .su-bar { max-width: 360px; }
.su-main h2.su-h { font-size: 22px !important; line-height: 1.3; font-weight: 700; }
.su-main h6.su-box__h { font-size: 13.5px !important; font-weight: 700; }

/* ---- v3.8.0 client approval / status, licence colours, read-only banner, invoices */
.cl-st { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; vertical-align: middle; }
.cl-st--active { background: #dcfce7; color: #166534; } .cl-st--inactive { background: #e2e8f0; color: #475569; } .cl-st--blocked { background: #fee2e2; color: #b91c1c; }
.cl-st--na { background: #f3e8ff; color: #6b21a8; border: 1px dashed #c084fc; }
.lic-bar { display: inline-block; width: 80px; height: 8px; border-radius: 999px; background: #e5e7eb; overflow: hidden; vertical-align: middle; margin-right: 6px; }
.lic-bar i { display: block; height: 100%; border-radius: 999px; }
.lic-bar.lic-l0 i { background: #16a34a; } .lic-bar.lic-l80 i { background: #eab308; } .lic-bar.lic-l90 i { background: #f97316; } .lic-bar.lic-l95 i { background: #dc2626; } .lic-bar.lic-l100 i { background: #7f1d1d; }
.lic-tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 999px; }
.lic-tag.lic-l0 { background: #dcfce7; color: #166534; } .lic-tag.lic-l80 { background: #fef9c3; color: #854d0e; } .lic-tag.lic-l90 { background: #ffedd5; color: #c2410c; }
.lic-tag.lic-l95 { background: #fee2e2; color: #b91c1c; } .lic-tag.lic-l100 { background: #7f1d1d; color: #fff; }
.cl-ro { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; background: #fef2f2; border: 1px solid #fecaca; color: #7f1d1d; font-size: 13px; }
.cl-ro > i { font-size: 22px; } .cl-ro a { color: #991b1b; text-decoration: underline; }
tr.inv-over td { background: #fff7f7; }
[data-theme="dark"] .cl-ro { background: rgba(220,38,38,.12); border-color: rgba(220,38,38,.35); color: #fecaca; }

/* v3.9.0 SF06 sales cycles / SF02 deal checklist */
.sc-dot{display:inline-block;width:11px;height:11px;border-radius:50%;margin-right:3px;vertical-align:-1px;box-shadow:0 0 0 1px rgba(0,0,0,.08)}
.sc-own{display:inline-block;color:#fff;font-size:11px;font-weight:600;padding:1px 7px;border-radius:10px;margin:0 3px 2px 0;text-shadow:0 0 2px rgba(0,0,0,.25)}
.sc-tag{display:inline-block;font-size:11px;font-weight:600;padding:1px 6px;border-radius:4px;background:#f1f5f9;color:#475569;margin:0 3px 2px 0;white-space:nowrap}
.sc-tag.is-gate{background:#e0f2fe;color:#075985}.sc-tag.is-critical{background:#fee2e2;color:#991b1b}.sc-tag.is-high{background:#ffedd5;color:#9a3412}
.sc-tag.is-medium{background:#fef9c3;color:#854d0e}.sc-tag.is-low{background:#f1f5f9;color:#64748b}.sc-tag.is-apr{background:#ede9fe;color:#5b21b6}
.sc-light{display:inline-block;width:14px;height:14px;border-radius:50%;flex:0 0 14px;background:#cbd5e1;box-shadow:inset 0 0 0 2px rgba(255,255,255,.5)}
.sc-light.is-g{background:#16a34a}.sc-light.is-a{background:#f59e0b}.sc-light.is-r{background:#dc2626}.sc-light.is-n{background:#cbd5e1}.sc-light.is-x{background:repeating-linear-gradient(45deg,#cbd5e1 0 3px,#f1f5f9 3px 6px)}
.sc-legend{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;color:#64748b}.sc-legend span{display:inline-flex;align-items:center;gap:5px}.sc-legend .sc-light{width:11px;height:11px;flex-basis:11px}
.sc-path .crm-path__s{display:flex;flex-direction:column;align-items:center;gap:1px;line-height:1.2}
.sc-pct{font-size:10.5px;font-weight:500;opacity:.75}
.sc-cnt{display:inline-block;font-size:10.5px;font-weight:700;padding:0 6px;border-radius:8px;background:rgba(15,23,42,.08)}
.sc-cnt.is-g{background:#dcfce7;color:#166534}.sc-cnt.is-r{background:#fee2e2;color:#991b1b}
.crm-path__s.cur .sc-cnt{background:rgba(255,255,255,.25);color:#fff}
.sc-pending{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;background:#fffbeb;border:1px solid #fde68a;border-radius:10px;padding:12px 16px}
.sc-stage{border-bottom:1px solid #eef2f1}.sc-stage:last-child{border-bottom:0}
.sc-stage summary{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:12px 20px;cursor:pointer;list-style:none}
.sc-stage summary::-webkit-details-marker{display:none}
.sc-stage summary::before{content:"\25B8";color:#94a3b8;transition:transform .15s}.sc-stage[open] summary::before{transform:rotate(90deg)}
.sc-stage.is-cur summary{background:#f0fdfa}
.sc-stage__n{font-weight:700;min-width:120px}.sc-stage__n small{font-weight:500;color:#64748b}.sc-stage__g{margin-left:auto;font-size:12.5px;color:#64748b}
.sc-list{list-style:none;margin:0;padding:0 20px 12px}
.sc-item{display:flex;gap:12px;align-items:flex-start;padding:10px 0;border-top:1px dashed #e5e7eb}.sc-item:first-child{border-top:0}
.sc-item .sc-light{margin-top:3px}.sc-item.is-sub{padding-left:28px}.sc-item.is-sub .sc-item__n{font-weight:500}
.sc-item__b{flex:1;min-width:0}.sc-item__n{font-weight:600;font-size:14px}
.sc-item__m{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:center;font-size:12.5px;color:#64748b;margin-top:3px}
.sc-item__note{font-size:12.5px;background:#f8fafc;border-radius:6px;padding:6px 10px;margin-top:6px;color:#334155}
.sc-item__a{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.sc-mv-open{background:#fef2f2;border-radius:8px;padding:10px 14px;margin-top:10px}.sc-mv-open ul{padding-left:18px;font-size:13px}
.sc-pltabs{display:flex;gap:8px;flex-wrap:wrap}
.sc-pltabs a{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border-radius:20px;background:#fff;box-shadow:0 0 0 1px #e2e8f0;color:#334155;font-size:13px;font-weight:600}
.sc-pltabs a small{font-weight:500;color:#94a3b8}.sc-pltabs a.is-on{background:var(--primary-600,#0f766e);color:#fff;box-shadow:none}.sc-pltabs a.is-on small{color:rgba(255,255,255,.75)}
.sc-todo__l{list-style:none;margin:0;padding:8px 20px 12px}.sc-todo__l li{padding:5px 0;font-size:13.5px;border-top:1px dashed #e5e7eb}.sc-todo__l li:first-child{border-top:0}
.sc-vers{display:flex;gap:6px;flex-wrap:wrap}
.sc-vers a{padding:4px 12px;border-radius:14px;font-size:12.5px;font-weight:700;background:#f1f5f9;color:#334155}.sc-vers a small{font-weight:500;opacity:.8}
.sc-vers a.is-published{background:#dcfce7;color:#166534}.sc-vers a.is-draft{background:#fef9c3;color:#854d0e}.sc-vers a.is-on{box-shadow:0 0 0 2px var(--primary-600,#0f766e)}
.sc-verbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 18px;border-radius:12px;font-size:13.5px;background:#f0fdf4;border:1px solid #bbf7d0}
.sc-verbar.is-draft{background:#fefce8;border-color:#fde68a}.sc-verbar.is-archived{background:#f8fafc;border-color:#e2e8f0}
.sc-board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(230px,1fr);gap:12px;overflow-x:auto;padding-bottom:8px;align-items:start}
.sc-col{background:#f8fafc;border-radius:12px;padding:10px;box-shadow:0 0 0 1px #e6ebea}
.sc-col__h{position:relative;background:#fff;border-radius:8px;padding:10px 12px;border-top:4px solid #3f3f46;margin-bottom:8px}
.sc-col__a{position:absolute;top:6px;right:6px;display:flex;gap:2px;opacity:.6}.sc-col__h:hover .sc-col__a{opacity:1}
.sc-col__h{padding-right:40px}
.sc-pctb{font-size:12px;font-weight:700;color:#0f766e;background:#ccfbf1;border-radius:8px;padding:0 7px;height:fit-content}
.sc-col__l,.sc-col__sub{list-style:none;margin:0;padding:0}.sc-col__l>li{margin-bottom:8px}
.sc-col__sub{margin:4px 0 0 14px;border-left:2px solid #e2e8f0;padding-left:8px}.sc-col__sub li{margin-top:4px}.sc-col__sub.is-off{opacity:.5}
.sc-card{position:relative;background:#fff;border-radius:8px;padding:8px 10px;box-shadow:0 1px 0 #e2e8f0}
.sc-card.is-sub{background:#fcfcfd;padding:6px 10px}
.sc-card__n{font-size:13px;font-weight:600;padding-right:44px}.sc-card.is-sub .sc-card__n{font-weight:500;font-size:12.5px}
.sc-card__m{margin-top:4px;line-height:1.6}
.sc-card__a{position:absolute;top:4px;right:4px;display:flex;gap:2px;opacity:.55}.sc-card:hover .sc-card__a{opacity:1}
.sc-card__a .epm-action-btn,.sc-col__a .epm-action-btn{width:26px;height:26px;font-size:13px}
.sc-add{width:100%;border:1px dashed #cbd5e1;background:transparent;border-radius:8px;padding:6px;font-size:13px;color:#475569}.sc-add:hover{background:#fff;color:#0f766e;border-color:#0f766e}
.sc-col--add{border:2px dashed #cbd5e1;background:transparent;box-shadow:none;min-height:120px;color:#475569;font-weight:600}.sc-col--add:hover{border-color:#0f766e;color:#0f766e}
.sc-prev{background:#fff;border-radius:12px;padding:16px;box-shadow:0 0 0 1px #e6ebea;overflow-x:auto}
.sc-prev__t{font-weight:700;font-size:16px;margin-bottom:10px}.sc-prev__t small{color:#94a3b8;font-weight:500}
.sc-prev__g{display:grid;gap:6px;min-width:max-content}
.sc-prev__h{color:#fff;padding:10px 14px;display:flex;justify-content:space-between;font-size:14px;clip-path:polygon(0 0,calc(100% - 12px) 0,100% 50%,calc(100% - 12px) 100%,0 100%,12px 50%)}
.sc-prev__h:first-child{clip-path:polygon(0 0,calc(100% - 12px) 0,100% 50%,calc(100% - 12px) 100%,0 100%)}
.sc-prev__c{display:flex;flex-direction:column;gap:6px}
.sc-prev__i{background:#f8fafc;border-radius:6px;padding:7px 9px;font-size:12.5px;font-weight:600;color:#1e293b}.sc-prev__i>div+div{margin-top:3px}
.sc-prev__s{font-weight:500;color:#475569;font-size:12px;margin-top:2px}
.sc-prev__o{border-top:2px solid #e2e8f0;padding-top:6px;font-size:12px;color:#334155}.sc-prev__o div{margin-bottom:2px}
.sc-prev__k{display:flex;flex-wrap:wrap;gap:12px;margin-top:14px;font-size:12px;color:#475569}
@media (max-width:640px){.sc-item{flex-wrap:wrap}.sc-item__a{width:100%;justify-content:flex-start;padding-left:26px}.sc-stage__g{margin-left:0;width:100%}}

/* v3.11.0 service desk (CS00 / CS03 / CS05) */
.cs-b{display:inline-block;font-size:11.5px;font-weight:600;border-radius:999px;padding:2px 9px;white-space:nowrap}
.cs-p-urgent{background:#fee2e2;color:#991b1b}.cs-p-high{background:#ffedd5;color:#9a3412}.cs-p-medium{background:#fef9c3;color:#854d0e}.cs-p-low{background:#f1f5f9;color:#64748b}
.cs-s-new{background:#e0f2fe;color:#075985}.cs-s-open{background:#dcfce7;color:#166534}.cs-s-pending{background:#fef3c7;color:#92400e}.cs-s-resolved{background:#ede9fe;color:#5b21b6}.cs-s-closed{background:#f1f5f9;color:#475569}
.cs-sla{display:inline-block;font-size:11.5px;font-weight:700;border-radius:6px;padding:1px 7px;white-space:nowrap}
.cs-sla.is-ok,.cs-sla.is-done{background:#dcfce7;color:#166534}.cs-sla.is-warn{background:#fef3c7;color:#92400e}.cs-sla.is-bad{background:#fee2e2;color:#991b1b}.cs-sla.is-paused{background:#f1f5f9;color:#64748b}
.cs-tag{display:inline-block;font-size:11px;font-weight:600;border-radius:4px;padding:1px 6px;background:#f1f5f9;color:#475569;margin:1px 2px 1px 0}
.cs-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.cs-kpis>div{background:#fff;border-radius:12px;padding:12px 14px;box-shadow:0 0 0 1px #e6ebea}.cs-kpis small{display:block;font-size:12px;color:#6b7280}.cs-kpis b{display:block;font-size:20px}.cs-kpis span{display:block;font-size:11.5px;color:#6b7280}
.cs-kpis>div.is-bad b{color:#b91c1c}
.pm-row-wait>td{background:#fffbeb}   /* v3.105.397 PM02 a project waiting for approval */
/* v3.105.391 PA07 project P&L statement */
.pl-table .pl-sec td{background:#f8fafc;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#64748b}
.pl-table .pl-sub td{font-weight:600;border-top:1px solid #e2e8f0}.pl-table .pl-tot td{font-weight:700;background:#f0fdfa;border-top:2px solid #99f6e4}
.pl-floor{position:absolute;top:-3px;width:2px;height:16px;background:#334155;border-radius:1px}
.pmr-bad>td:first-child{box-shadow:inset 3px 0 0 #dc2626}   /* v3.105.197 PMR reports: a row that needs attention */
.pmr-total>td{background:var(--epm-soft,#f8fafc)}   /* v3.105.203 PMR reports: a total row */
.cs-tabs{display:flex;gap:6px;flex-wrap:wrap}.cs-tabs a{padding:6px 12px;border-radius:8px;font-size:13px;font-weight:600;color:#374151;box-shadow:0 0 0 1px #e5e7eb}
.cs-tabs a span{font-size:11px;background:#f1f5f9;border-radius:8px;padding:0 6px;margin-left:3px;color:#475569}.cs-tabs a.is-on{background:var(--primary-600,#0f766e);color:#fff;box-shadow:none}.cs-tabs a.is-on span{background:rgba(255,255,255,.25);color:#fff}
.cs-tabs a.is-bad:not(.is-on) span{background:#fee2e2;color:#991b1b}
.cs-tk{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px;align-items:start}
.cs-thread{overflow:hidden}.cs-thread__h{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:flex-start;padding:16px 20px;border-bottom:1px solid #eef2f1}
.cs-flow{display:flex;gap:2px;flex-wrap:wrap}.cs-flow span{font-size:11.5px;font-weight:600;padding:3px 10px;background:#f1f5f9;color:#94a3b8;border-radius:4px}.cs-flow span.is-done{color:#475569}
.cs-evs{display:flex;flex-direction:column;gap:10px;padding:16px 20px;max-height:62vh;overflow-y:auto}
.cs-ev{border-radius:10px;padding:10px 14px;font-size:13.5px;background:#f8fafc}.cs-ev small{display:block;font-size:11.5px;color:#6b7280;margin-bottom:3px}
.cs-ev.is-agent{background:#f0fdfa;border-left:3px solid var(--primary-600,#0f766e)}.cs-ev.is-note{background:#fffbeb;border-left:3px dashed #f59e0b}.cs-ev.is-csat{background:#f5f3ff}
.cs-ev.is-sys{background:transparent;padding:2px 14px;font-size:12px;color:#6b7280}.cs-ev.is-sys span{color:#94a3b8;margin-left:4px}
.cs-file{display:inline-flex;align-items:center;gap:3px;font-size:12px;background:#fff;border:1px solid #e5e7eb;border-radius:6px;padding:1px 8px;margin-right:4px}
.cs-reply{border-top:1px solid #eef2f1;padding:14px 20px}.cs-reply__k{display:flex;gap:16px;align-items:center;margin-bottom:8px;font-size:13px;font-weight:600}.cs-reply__k label{display:flex;gap:6px;align-items:center}
.cs-side{display:flex;flex-direction:column;gap:12px}
.cs-kv{display:flex;justify-content:space-between;gap:10px;font-size:13px;padding:4px 0}.cs-kv>span:first-child{color:#6b7280}
.cs-props label{display:block;font-size:12px;font-weight:600;color:#374151;margin:8px 0 3px}
.cs-stars{display:inline-flex;flex-direction:row-reverse;gap:2px}.cs-stars input{display:none}.cs-stars label{font-size:26px;color:#cbd5e1;cursor:pointer;line-height:1}
.cs-stars label:hover,.cs-stars label:hover~label,.cs-stars input:checked~label{color:#f59e0b}.cs-stars.is-ro{color:#f59e0b;font-size:20px;flex-direction:row}
.cs-bars{display:flex;align-items:flex-end;gap:6px;height:150px}.cs-bars>div{flex:1;display:flex;align-items:flex-end;gap:2px;height:100%;position:relative;padding-bottom:16px}
.cs-bars i{flex:1;background:#99f6e4;border-radius:3px 3px 0 0;min-height:2px}.cs-bars i.is-r{background:#0f766e}.cs-bars small{position:absolute;bottom:0;left:0;right:0;text-align:center;font-size:10.5px;color:#94a3b8}
.cs-dot{display:inline-block;width:10px;height:10px;border-radius:2px;background:#99f6e4}.cs-dot.is-r{background:#0f766e}
@media (max-width:1100px){.cs-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.cs-tk{grid-template-columns:1fr}}
@media (max-width:640px){.cs-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
.cs-props select[multiple]{height:auto !important;min-height:84px;max-height:120px;overflow-y:auto;padding:4px 8px;background-image:none}
.cs-reply__k .form-check-input{width:16px;height:16px;margin:0}
.cs-reply.is-note textarea{background:#fffbeb}

/* v3.12.0 US05 user access */
.ua-b{display:inline-block;font-size:11.5px;font-weight:600;border-radius:999px;padding:2px 9px;background:#f1f5f9;color:#334155;margin:1px 2px 1px 0;white-space:nowrap}
.ua-b.is-role{background:#e0e7ff;color:#3730a3}.ua-b.is-dir{background:#dcfce7;color:#166534}.ua-b.is-rev{background:#fee2e2;color:#991b1b}.ua-b.is-tmp{background:#fef3c7;color:#92400e}
.ua-rev td:nth-child(2),.ua-rev td:nth-child(3){color:#9ca3af;text-decoration:line-through}
.ua-shared{background:#fffbeb;border:1px solid #fde68a;border-radius:8px;padding:8px 12px;font-size:12.5px;color:#92400e}

/* ---------------------------------------------------------------- v3.13.0 LV leave management */
.lv-bal{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}
.lv-bal__card{background:#fff;border-radius:12px;padding:14px 16px;box-shadow:0 0 0 1px #e6ebea;border-top:3px solid var(--c,#0f766e);display:flex;flex-direction:column;gap:2px}
.lv-bal__card small{font-size:12px;color:#6b7280;font-weight:600}.lv-bal__card b{font-size:24px;line-height:1.2;color:var(--c,#0f766e);font-variant-numeric:tabular-nums}.lv-bal__card span{font-size:11.5px;color:#6b7280}
.lv-bar{height:6px;border-radius:3px;background:#e5e7eb;margin-top:8px;overflow:hidden}.lv-bar i{display:block;height:100%;background:var(--c,#0f766e)}
.lv-chip{display:inline-block;min-width:30px;text-align:center;font-size:11px;font-weight:700;border-radius:6px;padding:1px 6px;color:#fff;background:var(--c,#64748b)}
.lv-dot{display:inline-block;width:10px;height:10px;border-radius:3px;margin-inline-end:4px;vertical-align:-1px}.lv-dot.is-pend{background:repeating-linear-gradient(45deg,#94a3b8 0 3px,#e2e8f0 3px 6px)}
.sa10-d.lv-d{background:var(--c);color:#fff;font-weight:700}.sa10-d.lv-d.is-pend{background:repeating-linear-gradient(45deg,var(--c) 0 4px,color-mix(in srgb,var(--c) 35%,#fff) 4px 8px)}
.sa10-d.lv-d.is-half{background:linear-gradient(135deg,var(--c) 50%,color-mix(in srgb,var(--c) 25%,#fff) 50%);color:#111827}
.sa10-d.is-adhoc{background:#fef9c3;color:#a16207;font-weight:700}.sa10-dot.is-adhoc{background:#fde68a}.epm-badge.sa10-type.is-adhoc{background:#fef9c3;color:#a16207}
.lv-ph{display:flex;gap:12px;align-items:flex-start;border-radius:12px;padding:12px 16px;font-size:13px}.lv-ph i{font-size:20px}.lv-ph b{display:block}.lv-ph span{color:#4b5563}
.lv-ph.is-ok{background:#ecfdf5;border:1px solid #a7f3d0}.lv-ph.is-ok i{color:#047857}.lv-ph.is-bad{background:#fffbeb;border:1px solid #fde68a}.lv-ph.is-bad i{color:#b45309}
.lv-warn,.lv-err,.lv-ok{font-size:12.5px;border-radius:8px;padding:6px 10px;margin-top:6px}.lv-warn{background:#fffbeb;color:#92400e}.lv-err{background:#fef2f2;color:#991b1b}.lv-ok{background:#ecfdf5;color:#065f46}
.lv-prev-num b{font-size:28px;color:var(--primary-600);display:block}.lv-prev-num span{font-size:12.5px;color:#6b7280}
.lv-days{display:flex;flex-direction:column;gap:2px;margin-top:12px;max-height:340px;overflow:auto}.lv-days>div{display:grid;grid-template-columns:110px 50px 1fr;gap:8px;font-size:12.5px;padding:4px 8px;border-radius:6px;background:#f8fafc}
.lv-days>div em{font-style:normal;color:#0f766e;font-weight:600}.lv-days>div.is-rest,.lv-days>div.is-holiday{color:#94a3b8}.lv-days>div.is-rest em,.lv-days>div.is-holiday em{color:#94a3b8;font-weight:400}
.lv-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px;position:relative}
.lv-steps li{position:relative;padding-inline-start:26px;display:flex;flex-direction:column;font-size:13px}.lv-steps li::before{content:'';position:absolute;inset-inline-start:0;top:3px;width:14px;height:14px;border-radius:50%;border:2px solid #cbd5e1;background:#fff}
.lv-steps li.is-done::before{background:#0f766e;border-color:#0f766e}.lv-steps li.is-now::before{border-color:#d97706;background:#fef3c7}.lv-steps li span{color:#6b7280;font-size:12px}.lv-steps li em{font-size:12px;color:#374151}
.lv-team{border-collapse:separate;border-spacing:2px;font-size:11.5px;min-width:100%}.lv-team th{font-weight:600;text-align:center;color:#6b7280;padding:4px 2px;min-width:26px}.lv-team th small{display:block;font-weight:400;font-size:10px}
.lv-team th.is-we,.lv-team td.is-we{background:#f1f5f9}.lv-team th.is-today{color:var(--primary-600)}.lv-team td{height:30px;text-align:center;border-radius:5px;background:#fafafa}
.lv-team .lv-team__name{text-align:start;white-space:nowrap;padding:4px 10px;background:none;min-width:190px;position:sticky;inset-inline-start:0;background:#fff;z-index:1}.lv-team__name small{display:block;color:#94a3b8}
.lv-team td.is-hol{background:#fee2e2}.lv-team td.lv-cell{background:var(--c)}.lv-team td.lv-cell a{color:#fff;font-weight:700;font-size:10.5px}.lv-team td.lv-cell.is-pend{background:repeating-linear-gradient(45deg,var(--c) 0 4px,color-mix(in srgb,var(--c) 35%,#fff) 4px 8px)}
.lv-team td.lv-cell.is-half{background:linear-gradient(135deg,var(--c) 50%,color-mix(in srgb,var(--c) 25%,#fff) 50%)}.lv-team td.lv-cell.is-half a{color:#111827}
.lv-hbar{display:grid;grid-template-columns:34px 1fr 40px;gap:8px;align-items:center;font-size:12.5px;margin-bottom:8px}.lv-hbar i{height:10px;border-radius:5px;display:block;min-width:2px}.lv-hbar b{text-align:end}
[data-theme=dark] .lv-bal__card,[data-theme=dark] .lv-team .lv-team__name{background:var(--white,#1b2431)}[data-theme=dark] .lv-days>div,[data-theme=dark] .lv-team td{background:rgba(148,163,184,.08)}
@media (max-width:640px){.lv-days>div{grid-template-columns:96px 40px 1fr}}

/* ---------------------------------------------------------------- v3.14.0 TV travel management */
.tv-kv{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px}
.tv-kv>div{background:#fff;border-radius:12px;padding:10px 14px;box-shadow:0 0 0 1px #e6ebea;display:flex;flex-direction:column;gap:2px}
.tv-kv small{font-size:11.5px;color:#6b7280}.tv-kv b{font-size:15px}.tv-kv span{font-size:11.5px;color:#6b7280}
.card-body .tv-kv>div{background:#f8fafc;box-shadow:none}
.tv-flag{display:flex;gap:8px;align-items:flex-start;font-size:12.5px;padding:6px 10px;border-radius:8px;margin-top:6px;background:#fffbeb;color:#92400e}
.tv-flag.is-oop{background:#fef2f2;color:#991b1b}.tv-flag.is-info{background:#eff6ff;color:#1e3a8a}.tv-flag.is-warn{background:#fffbeb;color:#92400e}
.tv-rows td{padding:4px}.tv-rows .form-control-sm,.tv-rows .form-select-sm{min-width:90px}
.lv-steps li.is-bad::before{background:#dc2626;border-color:#dc2626}.lv-steps li.is-skip{opacity:.55}.lv-steps li.is-skip::before{border-style:dashed}
.lv-team td.tv-cell{background:repeating-linear-gradient(135deg,#c7d2fe 0 4px,#e0e7ff 4px 8px)}.lv-team td.tv-cell a{color:#3730a3;font-weight:700;font-size:10px}
[data-theme=dark] .tv-kv>div{background:var(--white,#1b2431)}
.epm-tc-check{table-layout:fixed;width:100%}.epm-tc-check th,.epm-tc-check td{white-space:normal!important;vertical-align:middle;word-break:break-word}.epm-tc-check th:nth-child(1){width:90px}.epm-tc-check th:nth-child(2){width:24%}.epm-tc-check th:nth-child(3){width:20%}.epm-tc-check th:nth-child(4){width:150px}.epm-tc-check th.is-sel,.epm-tc-check td.is-sel{background:color-mix(in srgb,var(--primary-600) 8%,transparent)}
.epm-tc-check th a{color:inherit;font-size:12px}

/* v3.15.0 TN training management */
.tn-meter{display:block;height:5px;border-radius:3px;background:var(--neutral-200,#e5e7eb);margin-top:6px;overflow:hidden}
.tn-meter>i{display:block;height:100%;background:#0f766e;border-radius:3px}
.cs-kpis>div.is-bad .tn-meter>i{background:#dc2626}
.tn-stars{display:inline-flex;flex-direction:row-reverse;gap:2px}
.tn-stars input{position:absolute;opacity:0;width:1px;height:1px}
.tn-stars label{font-size:22px;line-height:1;color:#cbd5e1;cursor:pointer;padding:0 1px}
.tn-stars label:hover,.tn-stars label:hover~label,.tn-stars input:checked~label{color:#f59e0b}
.tn-stars input:focus-visible+label{outline:2px solid #0f766e;outline-offset:2px;border-radius:3px}
.tn-month{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center;font-size:12px}
.tn-month b{font-size:10px;color:var(--text-secondary-light,#6b7280);font-weight:600;padding-bottom:4px}
.tn-month span{position:relative;padding:8px 0;border-radius:8px;color:var(--text-secondary-light,#6b7280)}
.tn-month span.has{background:#ccfbf1;color:#115e59;font-weight:700}
.tn-month span.is-today{outline:2px solid #0f766e}
.tn-month span i{position:absolute;top:1px;right:4px;font-size:9px;font-style:normal;color:#0f766e}
.tn-ses__date{flex:0 0 56px;height:60px;border-radius:12px;background:#f0fdfa;color:#115e59;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #99f6e4}
.tn-ses__date b{font-size:22px;line-height:1}.tn-ses__date small{font-size:11px;text-transform:uppercase}
.tn-matrix th{font-size:10px;font-weight:600;color:var(--text-secondary-light,#6b7280);text-align:center;white-space:nowrap}
.tn-matrix th:first-child{text-align:left}
.tn-matrix td{padding:6px 4px;vertical-align:middle}
.tn-cell{display:inline-block;min-width:38px;padding:3px 6px;border-radius:6px;font-weight:700;font-size:12px}
.tn-cell small{font-weight:400;opacity:.7}
.tn-cell.is-ok{background:#dcfce7;color:#166534}.tn-cell.is-gap{background:#fee2e2;color:#991b1b}.tn-cell.is-na{background:#f1f5f9;color:#64748b}
.tn-stack{display:flex;height:8px;border-radius:4px;overflow:hidden;background:#f1f5f9;margin:3px 0}
.tn-stack i{display:block;height:100%}.tn-stack i.is-ok{background:#16a34a}.tn-stack i.is-gap{background:#ef4444}.tn-stack i.is-na{background:#cbd5e1}
.tn-att td,.tn-att th{vertical-align:middle}
.lv-team td.tn-cell{background:repeating-linear-gradient(135deg,#99f6e4 0 4px,#ccfbf1 4px 8px)}.lv-team td.tn-cell a{color:#115e59;font-weight:700;font-size:10px}
[data-theme="dark"] .tn-month span.has{background:#134e4a;color:#ccfbf1}
[data-theme="dark"] .tn-ses__date{background:#134e4a;color:#ccfbf1;border-color:#115e59}
[data-theme="dark"] .tn-cell.is-ok{background:#14532d;color:#bbf7d0}[data-theme="dark"] .tn-cell.is-gap{background:#7f1d1d;color:#fecaca}[data-theme="dark"] .tn-cell.is-na{background:#334155;color:#cbd5e1}
.cs-kpis b .tn-of{display:inline;font-style:normal;font-size:13px;font-weight:400;color:#6b7280}
.cs-kpis.tn-k4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:640px){.cs-kpis.tn-k4{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v3.16.0 TS timesheet · TA clock */
.ts-grid th,.ts-grid td{vertical-align:middle;padding:6px 6px}
.ts-grid .ts-h{min-width:58px;text-align:center;padding:4px 4px}
.ts-grid .ts-d.is-rest,.ts-grid .ts-d.is-ph{background:#f8fafc}
.ts-grid th.ts-d.is-ph{color:#b45309}
.ts-grid th.ts-d.is-today{box-shadow:inset 0 -3px 0 #0f766e}
.ts-grid tr.ts-pre td{background:#f0fdfa}
.ts-grid tr.ts-pre td.ts-d.is-rest,.ts-grid tr.ts-pre td.ts-d.is-ph{background:#e6f7f4}
.ts-grid tfoot tr.ts-tot td{border-top:2px solid #e5e7eb}
.ts-grid .ts-tbox input{min-width:80px;font-size:12px;padding:3px 4px}
.ta-clock .ta-time{font-size:56px;font-weight:700;letter-spacing:-.02em;line-height:1}
.ta-btn{width:180px;height:180px;border-radius:50%;border:0;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:18px;font-weight:700;color:#fff;box-shadow:0 10px 30px rgba(15,118,110,.25);cursor:pointer}
.ta-btn i{font-size:44px}.ta-btn.is-in{background:#0f766e}.ta-btn.is-out{background:#b45309;box-shadow:0 10px 30px rgba(180,83,9,.25)}
.ta-btn:disabled{opacity:.6;cursor:wait}.ta-btn:focus-visible{outline:3px solid #99f6e4;outline-offset:4px}
[data-theme="dark"] .ts-grid .ts-d.is-rest,[data-theme="dark"] .ts-grid .ts-d.is-ph{background:rgba(255,255,255,.04)}
[data-theme="dark"] .ts-grid tr.ts-pre td{background:rgba(15,118,110,.12)}
/* v3.17.0 OB digital boarding */
.cs-kpis.tn-k6{grid-template-columns:repeat(6,minmax(0,1fr))}
@media (max-width:1100px){.cs-kpis.tn-k6{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:640px){.cs-kpis.tn-k6{grid-template-columns:repeat(2,minmax(0,1fr))}}
.ob-steps{display:flex;gap:0;overflow-x:auto}
.ob-step{flex:1;min-width:120px;position:relative;padding:0 8px;text-align:center}
.ob-step::before{content:"";position:absolute;top:15px;left:-50%;right:50%;height:2px;background:#e2e8f0}
.ob-step:first-child::before{display:none}
.ob-step.is-done::before{background:#0f766e}
.ob-dot{position:relative;z-index:1;width:32px;height:32px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#f1f5f9;color:#64748b;font-weight:700;font-size:13px;border:2px solid #e2e8f0}
.ob-step.is-done .ob-dot{background:#0f766e;border-color:#0f766e;color:#fff}
.ob-step b{display:block;font-size:13px;margin-top:6px}.ob-step small{display:block;font-size:11.5px;color:#64748b}
.ob-bar{height:8px;border-radius:4px;background:#e2e8f0;overflow:hidden;margin-bottom:2px}.ob-bar span{display:block;height:100%;background:#0f766e;border-radius:4px}
tr.ob-done td{opacity:.62}
.ob-dl{display:grid;grid-template-columns:minmax(120px,40%) 1fr;gap:4px 12px;font-size:13px;margin-bottom:8px}.ob-dl dt{font-weight:500;color:#64748b}.ob-dl dd{margin:0}
.ob-dl .ob-grp{grid-column:1/-1;font-weight:700;color:inherit;margin-top:8px;border-bottom:1px solid #e2e8f0;padding-bottom:2px}
.ob-timeline>div{border-left:2px solid #e2e8f0;padding:0 0 10px 12px;margin-left:4px;position:relative}.ob-timeline>div::before{content:"";position:absolute;left:-5px;top:4px;width:8px;height:8px;border-radius:50%;background:#0f766e}
.ob-timeline{max-height:420px;overflow-y:auto}
.ob-hero{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:24px 28px;background:linear-gradient(120deg,#0f766e,#115e59);color:#fff}
.ob-hero h4{color:#fff}.ob-count{text-align:center;background:rgba(255,255,255,.14);border-radius:12px;padding:10px 18px}.ob-count b{display:block;font-size:30px;line-height:1}.ob-count span{font-size:12px}
.ob-check{list-style:none}.ob-check li{display:flex;gap:8px;align-items:flex-start;font-size:13px;padding:5px 0}.ob-check li i{font-size:17px;color:#94a3b8}.ob-check li.is-done i{color:#0f766e}.ob-check li.is-done span{color:#64748b;text-decoration:line-through}
.ob-check small{display:block;font-size:11.5px;color:#94a3b8;text-decoration:none}
.ob-contacts>div{display:flex;flex-direction:column;padding:6px 0;border-bottom:1px dashed #e2e8f0;font-size:13px}.ob-contacts>div:last-child{border-bottom:0}.ob-contacts small{color:#64748b;font-size:11.5px}
.ob-scale{display:flex;flex-wrap:wrap;gap:6px}.ob-scale label{cursor:pointer}.ob-scale input{position:absolute;opacity:0}.ob-scale span{display:inline-flex;width:38px;height:38px;border-radius:8px;border:1px solid #cbd5e1;align-items:center;justify-content:center;font-weight:600}
.ob-scale input:checked+span{background:#0f766e;border-color:#0f766e;color:#fff}.ob-scale input:focus-visible+span{outline:2px solid #99f6e4}
.ob-public{background:#f8fafc;min-height:100vh}.ob-public-head{background:#fff;border-bottom:1px solid #e2e8f0;padding:12px 0}.ob-public-head .container{display:flex;justify-content:space-between;align-items:center}
.ob-public-head .container{gap:8px 16px;flex-wrap:wrap}.ob-public-head img{height:32px;width:auto;max-width:180px;object-fit:contain}.ob-public-head .container>span:last-child{text-align:end}@media (max-width:575px){.ob-public-head .container>span:first-child b{display:none}}
.ob-bars2 i.is-l{background:#f59e0b}.ob-key{display:inline-block;width:10px;height:10px;border-radius:2px;background:#0f766e}.ob-key.is-l{background:#f59e0b}
.ob-settle td{font-size:13px}.ob-settle input{max-width:140px;margin-left:auto}
[data-theme="dark"] .ob-public,[data-theme="dark"] .ob-public-head{background:#0f172a}[data-theme="dark"] .ob-step::before,[data-theme="dark"] .ob-bar{background:#334155}[data-theme="dark"] .ob-dot{background:#1e293b;border-color:#334155}
/* v3.18.0 PMO */
.pm-rag{display:inline-block;width:11px;height:11px;border-radius:50%;margin-right:4px;vertical-align:-1px}.pm-rag-G{background:#10b981}.pm-rag-A{background:#f59e0b}.pm-rag-R{background:#ef4444}
.pm-mini .pm-rag{width:7px;height:7px;margin-right:2px}
.pm-health{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:12.5px;align-items:center}.pm-health span{display:inline-flex;align-items:center;gap:2px;color:#475569}
.pm-gates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}@media (max-width:900px){.pm-gates{grid-template-columns:1fr}}
.pm-gate{border:1px solid #e2e8f0;border-radius:10px;padding:12px 14px;font-size:13px}.pm-gate.is-cur{border-color:#4f46e5;box-shadow:0 0 0 2px rgba(79,70,229,.12)}.pm-gate.is-done{background:#f0fdf4;border-color:#bbf7d0}
.pm-check{list-style:none;padding:0;margin:8px 0 4px}.pm-check li{font-size:12.5px;color:#64748b;display:flex;gap:6px}.pm-check li.is-ok{color:#0f766e}
.pm-score{display:inline-block;min-width:26px;text-align:center;border-radius:6px;padding:1px 6px;font-weight:700;font-size:12px}.pm-sr{background:#fee2e2;color:#991b1b}.pm-sa{background:#fef3c7;color:#92400e}.pm-sg{background:#dcfce7;color:#166534}
.pm-gantt{font-size:12.5px;overflow-x:auto}.pm-g-head,.pm-g-row{display:grid;grid-template-columns:300px minmax(600px,1fr);border-bottom:1px solid #eef2f6;min-height:30px}
.pm-g-head{background:#f8fafc;font-weight:600;color:#475569;position:sticky;top:0}.pm-g-name{padding:6px 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-right:1px solid #eef2f6}
.pm-g-track{position:relative}.pm-g-head .pm-g-track span{position:absolute;top:7px;font-size:11px;color:#94a3b8;padding-left:3px;border-left:1px solid #e2e8f0;height:18px}
.pm-g-row.is-sum{font-weight:600;background:#fafafa}
.pm-g-bar{position:absolute;top:9px;height:13px;border-radius:4px;background:#a5b4fc;overflow:hidden}.pm-g-bar b{display:block;height:100%;background:#4338ca}.pm-g-bar.is-sum{height:7px;top:12px;background:#64748b}.pm-g-bar.is-sum b{background:#0f172a}
.pm-g-bar.is-crit{background:#fca5a5}.pm-g-bar.is-crit b{background:#dc2626}.pm-g-bar.is-late{outline:2px solid #f59e0b}
.pm-g-base{position:absolute;top:23px;height:3px;background:#94a3b8;border-radius:2px;opacity:.7}
.pm-g-ms{position:absolute;top:9px;width:12px;height:12px;margin-left:-6px;transform:rotate(45deg);background:#b45309;border-radius:2px}.pm-g-ms.is-done{background:#0f766e}.pm-g-ms.is-late{background:#dc2626}
.pm-g-today{position:absolute;top:0;bottom:0;width:0;border-left:2px dashed #ef4444;opacity:.6}
.pm-key{display:inline-block;width:14px;height:8px;border-radius:2px;vertical-align:0}.pm-key-bar{background:#4338ca}.pm-key-crit{background:#dc2626}.pm-key-base{background:#94a3b8;height:3px}.pm-key-late{border:2px solid #f59e0b}
.pm-key-pv{background:#c7d2fe}.pm-key-ev{background:#0f766e}.pm-key-ac{background:#f59e0b}
.pm-board{display:grid;grid-template-columns:repeat(5,minmax(200px,1fr));gap:12px;overflow-x:auto;padding-bottom:6px}
.pm-col{background:#f1f5f9;border-radius:12px;padding:10px;min-height:200px}.pm-col.is-over{outline:2px dashed #4f46e5}.pm-col-h{display:flex;justify-content:space-between;font-size:13px;margin-bottom:8px}.pm-col-h span{color:#64748b}
.pm-card{background:#fff;border-radius:10px;padding:10px 12px;margin-bottom:8px;box-shadow:0 1px 2px rgba(15,23,42,.08);cursor:grab}.pm-card.is-late{border-left:3px solid #ef4444}.pm-card.is-drag{opacity:.5}
.pm-card-move{margin-top:6px}.pm-card-move select{font-size:12px;padding:2px 6px}
.pm-heat{display:grid;grid-template-columns:18px repeat(5,1fr);gap:3px}.pm-heat span{height:30px;border-radius:4px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:12px}
.pm-heat .pm-heat-l{background:none;color:#94a3b8;font-weight:500;height:auto}.pm-hr{background:#fecaca;color:#991b1b}.pm-ha{background:#fde68a;color:#92400e}.pm-hg{background:#bbf7d0;color:#166534}
.pm-heatmap td,.pm-heatmap th{font-size:12px;padding:6px 4px}.pm-heatmap td.is-free{background:#f0fdf4;color:#166534}.pm-heatmap td.is-part{background:#d1fae5}.pm-heatmap td.is-full{background:#fef3c7;color:#92400e;font-weight:600}.pm-heatmap td.is-over{background:#fee2e2;color:#991b1b;font-weight:700}.pm-heatmap td.is-off{color:#cbd5e1}
.pm-lv{font-size:11px;margin-left:2px;color:#b45309}.pm-legend{padding:1px 8px;border-radius:4px}.pm-legend.is-free{background:#f0fdf4}.pm-legend.is-part{background:#d1fae5}.pm-legend.is-full{background:#fef3c7}.pm-legend.is-over{background:#fee2e2}
.pm-scurve{width:100%;height:auto}.pm-scurve polyline{fill:none;stroke-width:2.2}.pm-scurve .pv{stroke:#a5b4fc;stroke-dasharray:5 3}.pm-scurve .ev{stroke:#0f766e}.pm-scurve .ac{stroke:#f59e0b}.pm-scurve .ax{stroke:#cbd5e1}.pm-scurve .bac{stroke:#94a3b8;stroke-dasharray:2 3}.pm-scurve .lb{font-size:10px;fill:#94a3b8}
.pm-ragbar{display:flex;height:10px;border-radius:5px;overflow:hidden}.pm-ragbar span{display:block}
.pm-bva{display:grid;grid-template-columns:90px 1fr 120px;gap:8px;align-items:center;margin-bottom:8px}.pm-bva>div{position:relative;height:14px}.pm-bva i{position:absolute;left:0;top:0;height:14px;border-radius:3px}.pm-bva i.b{background:#c7d2fe}.pm-bva i.a{background:#f59e0b;height:8px;top:3px}.pm-bva i.a.over{background:#dc2626}.pm-bva i.f{width:2px;background:#0f172a;height:18px;top:-2px}
[data-theme="dark"] .pm-col{background:#1e293b}[data-theme="dark"] .pm-card{background:#0f172a}[data-theme="dark"] .pm-g-head{background:#1e293b}[data-theme="dark"] .pm-g-row.is-sum{background:#111827}
/* v3.50.0 PMO: benefits chart dots, stakeholder grid, comments, forecast bars, roadmap */
.pm-scurve .dot{fill:#0f766e}
.pm-shgrid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.pm-shq{min-height:96px;border-radius:10px;padding:8px;display:flex;flex-wrap:wrap;gap:4px;align-content:flex-start;background:#f8fafc;border:1px solid #e2e8f0}.pm-shq>b{width:100%}
.pm-shq-danger{background:#fef2f2;border-color:#fecaca}.pm-shq-warning{background:#fffbeb;border-color:#fde68a}.pm-shq-info{background:#eff6ff;border-color:#bfdbfe}
.pm-comment{border-left:3px solid #c7d2fe;padding:6px 12px;margin-bottom:12px}.pm-comment .epm-action-btn{width:22px;height:22px;font-size:12px}.pm-mention{background:#e0e7ff;color:#3730a3;border-radius:4px;padding:0 3px;font-weight:500}
.pm-fcbar{position:relative;height:12px}.pm-fcbar i{position:absolute;left:0;top:0;height:12px;border-radius:3px}.pm-fcbar i.b{background:#c7d2fe}.pm-fcbar i.a{background:#f59e0b;height:6px;top:3px}.pm-fcbar i.f{background:repeating-linear-gradient(45deg,#f59e0b 0 3px,#fde68a 3px 6px);height:6px;top:3px}
.pm-rmsvg{max-height:260px}.pm-rmsvg rect.sp{fill:#a5b4fc}.pm-rmsvg rect.over{fill:#fca5a5}.pm-rmsvg .lim{stroke:#dc2626;stroke-width:1.5;stroke-dasharray:4 3}.pm-rmsvg polyline.pv{stroke:#0f172a;stroke-width:1.2}
.pm-rmhead{display:flex}.pm-rmhead span{flex:1;text-align:center;font-size:10px;font-weight:500;color:#94a3b8;border-left:1px solid #e2e8f0}.pm-rmtrack{position:relative;height:18px;background:#f8fafc;border-radius:4px}
.pm-rmbar{position:absolute;top:3px;height:12px;border-radius:6px;background:#c7d2fe;overflow:hidden}.pm-rmbar b{display:block;height:100%;background:#4338ca}.pm-rmbar-request{background:repeating-linear-gradient(45deg,#fde68a 0 4px,#fef3c7 4px 8px)}.pm-rmbar.is-red{box-shadow:inset 0 0 0 2px #dc2626}.pm-rmbar.is-amber{box-shadow:inset 0 0 0 2px #f59e0b}
.pm-rmgroup td{background:#f8fafc}.pm-rmout{opacity:.45}
[data-theme="dark"] .pm-shq{background:#1e293b;border-color:#334155}[data-theme="dark"] .pm-rmgroup td{background:#111827}[data-theme="dark"] .pm-mention{background:#312e81;color:#e0e7ff}[data-theme="dark"] .pm-rmtrack{background:none}
/* v3.19.0 MM procurement & inventory */
.mm-dl{display:grid;grid-template-columns:max-content 1fr;gap:4px 16px;margin:0;font-size:13.5px}.mm-dl dt{font-weight:500;color:#64748b}.mm-dl dd{margin:0}
.mm-steps{position:relative}.mm-step{display:flex;gap:10px;padding:6px 0;position:relative}.mm-step-dot{flex:0 0 12px;height:12px;border-radius:50%;margin-top:4px;background:#cbd5e1;box-shadow:0 0 0 3px #f1f5f9}
.mm-step-approved .mm-step-dot{background:#10b981}.mm-step-rejected .mm-step-dot{background:#ef4444}.mm-step-skipped .mm-step-dot{background:#e2e8f0}.mm-step.is-current .mm-step-dot{background:#f59e0b;box-shadow:0 0 0 4px #fef3c7}
.mm-step:not(:last-child)::after{content:"";position:absolute;left:5px;top:22px;bottom:-6px;width:2px;background:#e2e8f0}
.mm-events li{padding:6px 0;border-bottom:1px dashed #e2e8f0}.mm-events li:last-child{border-bottom:0}
.mm-compare td.mm-low{background:#ecfdf5;color:#065f46;font-weight:600}
.mm-bars{display:grid;grid-template-columns:repeat(12,1fr);gap:6px;height:170px;align-items:end}.mm-bars>div{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%}
.mm-bars i{display:block;width:100%;max-width:28px;background:#0f766e;border-radius:4px 4px 0 0;min-height:2px}.mm-bars span{font-size:11px;color:#64748b;margin-top:4px}
.mm-gr td{vertical-align:top}.mm-link{font-family:inherit;font-size:12px}
.mm-doc{background:#fff;max-width:900px;margin:0 auto 16px;padding:32px;border-radius:12px;box-shadow:0 1px 3px rgba(15,23,42,.08);color:#0f172a;font-size:13.5px}
.mm-doc-head{display:flex;justify-content:space-between;gap:24px;border-bottom:2px solid #0f766e;padding-bottom:16px;margin-bottom:16px}.mm-doc-title{font-size:22px;font-weight:700;letter-spacing:.04em;color:#0f766e}
.mm-doc-meta td{padding:1px 0 1px 12px;font-size:13px}.mm-doc-meta td:first-child{color:#64748b}
.mm-doc-parties{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:16px}
.mm-doc-lines{width:100%;border-collapse:collapse}.mm-doc-lines th{background:#f1f5f9;font-weight:600;font-size:12.5px;padding:6px 8px;text-align:left}.mm-doc-lines td{padding:6px 8px;border-bottom:1px solid #e2e8f0;vertical-align:top}.mm-doc-lines tfoot td{border:0;padding:3px 8px}
.mm-doc-lines .text-end{text-align:right}.mm-doc-note{margin-top:16px}.mm-doc-sign{display:grid;grid-template-columns:1fr 1fr;gap:48px;margin-top:40px}.mm-doc-sign>div{border-top:1px solid #94a3b8;padding-top:6px;font-size:12.5px;color:#475569}
@media (max-width:640px){.mm-doc{padding:16px}.mm-doc-head,.mm-doc-parties{display:block}.mm-doc-head .text-end{text-align:left!important;margin-top:12px}}
[data-theme="dark"] .mm-doc{background:#fff;color:#0f172a}[data-theme="dark"] .mm-compare td.mm-low{background:#064e3b;color:#a7f3d0}
/* v3.20.0 DB00 Home dashboard */
.epm-dtabs .nav-link.is-dark{--tc:#0f172a}.epm-dtabs .nav-link.is-green{--tc:#0f766e}
.hm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.hm-grid .hm-w2{grid-column:span 2;grid-row:span 2}
@media (max-width:1199px){.hm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:767px){.hm-grid{grid-template-columns:1fr}.hm-grid .hm-w2{grid-column:auto;grid-row:auto}}
.hm-tag{display:inline-block;min-width:34px;text-align:center;font-size:10.5px;font-weight:700;border-radius:5px;padding:2px 6px;color:#fff;background:#334155}
.hm-hr{background:#0f766e}.hm-ep{background:#7c3aed}.hm-cm{background:#b45309}.hm-pm{background:#4f46e5}.hm-mm{background:#0e7490}
.hm-count{display:inline-block;min-width:28px;text-align:center;font-weight:700;font-size:13px;border-radius:999px;padding:2px 9px;background:#e0f2fe;color:#075985}.hm-count.is-urgent{background:#fee2e2;color:#991b1b}
.hm-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}@media (max-width:1199px){.hm-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:575px){.hm-tiles{grid-template-columns:1fr}}
.hm-tile{display:block;background:var(--white,#fff);border-radius:12px;padding:14px 16px;box-shadow:0 0 0 1px rgba(15,23,42,.08);border-top:4px solid var(--c,#0f766e);transition:box-shadow .15s}
a.hm-tile:hover{box-shadow:0 0 0 1px var(--c),0 6px 16px rgba(15,23,42,.08)}a.hm-tile:focus-visible{outline:2px solid var(--c);outline-offset:2px}
.hm-tile .hm-go{color:var(--c)}.hm-big{font-size:22px;font-weight:700;margin:4px 0 2px;line-height:1.2}
.hm-spark{display:flex;gap:3px;align-items:flex-end;height:26px;margin-top:8px}.hm-spark i{flex:1;background:color-mix(in srgb,var(--c) 45%,transparent);border-radius:2px 2px 0 0}
.hm-week th.is-today,.hm-week td.is-today{background:color-mix(in srgb,var(--primary-600) 8%,transparent)}
.hm-st{display:inline-block;font-size:11px;font-weight:600;border-radius:6px;padding:1px 7px}.hm-st-in{background:#dcfce7;color:#166534}.hm-st-lv{background:#fef3c7;color:#92400e}.hm-st-tv{background:#e0f2fe;color:#075985}.hm-st-tn{background:#ede9fe;color:#5b21b6}
.hm-cust{display:flex;flex-direction:column;gap:4px;max-height:360px;overflow:auto}.hm-cust-row{display:flex;align-items:center;gap:12px;padding:4px 0;border-bottom:1px dashed #e2e8f0}
[data-theme="dark"] .hm-tile{background:#1e293b;box-shadow:0 0 0 1px #334155}[data-theme="dark"] .hm-count{background:#0c4a6e;color:#e0f2fe}
/* v3.21.0 SD sales & distribution */
.sd-sig{width:100%;height:auto;aspect-ratio:3/1;border:1.5px dashed #94a3b8;border-radius:10px;background:#fff;touch-action:none;cursor:crosshair}
.sd-doc-title{color:#be185d}.sd-flow{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:12.5px}.sd-flow span{padding:3px 10px;border-radius:999px;background:#f1f5f9;color:#64748b}.sd-flow span.is-done{background:#dcfce7;color:#166534}.sd-flow span.is-now{background:#fce7f3;color:#9d174d;font-weight:600}.sd-flow i{color:#cbd5e1}
/* v3.21.1 PL00 modules: compact product sections with module chips; companies: company groups as chips */
.pl-mods{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));gap:16px;align-items:start}
.pl-mod{border:1px solid color-mix(in srgb,var(--prod) 30%,transparent);border-left:4px solid var(--prod);border-radius:10px;padding:10px 12px;background:color-mix(in srgb,var(--prod) 4%,transparent)}
.pl-mod.is-off{border-color:var(--neutral-200);border-left-color:var(--neutral-300,#cbd5e1);background:transparent}
.pl-mod.is-off .pl-mod__chips{opacity:.55}
.pl-mod__head{display:flex;align-items:center;gap:8px;margin:0 0 8px;cursor:pointer}
.pl-mod__code{font-weight:700;color:var(--prod);font-size:14px}
.pl-mod__name{flex:1 1 auto;min-width:0;font-size:13px;color:var(--text-secondary-light,#64748b);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pl-mod__n{font-size:12px;color:var(--text-secondary-light,#64748b);white-space:nowrap}
.pl-mod__chips{display:flex;flex-wrap:wrap;gap:6px}
.pl-chip{display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border:1px solid var(--neutral-200);border-radius:999px;font-size:12px;cursor:pointer;max-width:100%;background:transparent}
.pl-chip input{accent-color:var(--prod);margin:0}
.pl-chip b{color:var(--prod)}
.pl-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pl-chip:has(input:checked){border-color:var(--prod);background:color-mix(in srgb,var(--prod) 10%,transparent)}
.pl-chip:focus-within{outline:2px solid var(--prod);outline-offset:1px}
.co-groups{display:flex;flex-wrap:wrap;gap:8px;max-height:170px;overflow:auto;padding:8px;border:1px solid var(--neutral-200);border-radius:8px}
.co-group{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border:1px solid var(--neutral-200);border-radius:999px;font-size:13px;max-width:100%;cursor:pointer;margin:0}
.co-group span{overflow-wrap:anywhere}
.co-group input{margin:0}
/* v3.22.0 TM talent management: 9-box grid, skills matrix, chips, match ring */
.tm-grid{display:flex;flex-direction:column;gap:8px;position:relative;padding-left:22px;padding-bottom:20px}
.tm-row{display:grid;grid-template-columns:72px repeat(3,minmax(0,1fr));gap:8px}
.tm-lbl{font-size:12px;color:var(--text-secondary-light);align-self:center}
.tm-cell{--t:#64748b;border:1px solid color-mix(in srgb,var(--t) 35%,transparent);background:color-mix(in srgb,var(--t) 8%,transparent);border-radius:10px;padding:10px;min-height:96px;min-width:0}
.tm-c-success{--t:#16a34a}.tm-c-info{--t:#2563eb}.tm-c-warning{--t:#d97706}.tm-c-danger{--t:#dc2626}.tm-c-neutral{--t:#64748b}
.tm-n{font-weight:700;font-size:16px;color:var(--t);text-decoration:none}
.tm-axis-y{position:absolute;left:0;top:50%;transform:translate(-40%,-50%) rotate(-90deg);font-size:12px;color:var(--text-secondary-light);white-space:nowrap}
.tm-axis-x{text-align:center;font-size:12px;color:var(--text-secondary-light);padding-left:72px}
.tm-grid-sm .tm-cell{min-height:64px;display:flex;flex-direction:column;align-items:flex-start;gap:2px}
.tm-big{font-size:22px;line-height:1;color:var(--t)}
.tm-chip{display:inline-block;max-width:100%;padding:2px 8px;border-radius:999px;font-size:12px;background:color-mix(in srgb,var(--primary-600) 10%,transparent);color:var(--text-primary-light);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}
.tm-chip-now{background:color-mix(in srgb,#16a34a 16%,transparent)}.tm-chip-1_2y{background:color-mix(in srgb,#2563eb 14%,transparent)}.tm-chip-3y{background:color-mix(in srgb,#d97706 16%,transparent)}
.tm-note td{border-top:0!important}
.tm-lv{display:inline-flex;align-items:baseline;justify-content:center;min-width:34px;padding:2px 6px;border-radius:6px;font-weight:600;font-size:13px}
.tm-lv small{font-weight:400;font-size:10px;opacity:.75}
.tm-lv-ok{background:color-mix(in srgb,#16a34a 16%,transparent);color:#15803d}.tm-lv-warn{background:color-mix(in srgb,#d97706 18%,transparent);color:#b45309}
.tm-lv-bad{background:color-mix(in srgb,#dc2626 16%,transparent);color:#b91c1c}.tm-lv-miss{border:1px dashed #d97706;color:#b45309}.tm-lv-info{background:color-mix(in srgb,#2563eb 12%,transparent);color:#1d4ed8}.tm-lv-none{color:var(--text-secondary-light)}
[data-theme="dark"] .tm-lv-ok{color:#4ade80}[data-theme="dark"] .tm-lv-warn,[data-theme="dark"] .tm-lv-miss{color:#fbbf24}[data-theme="dark"] .tm-lv-bad{color:#f87171}[data-theme="dark"] .tm-lv-info{color:#60a5fa}
.tm-matrix-wrap{max-height:70vh}
.tm-matrix th,.tm-matrix td{white-space:nowrap}
.tm-matrix .tm-sticky{position:sticky;left:0;background:var(--white);z-index:1;min-width:200px}
[data-theme="dark"] .tm-matrix .tm-sticky{background:#1b2431}
.tm-vert{vertical-align:bottom;height:150px;min-width:40px;padding:4px!important}
.tm-vert span{display:inline-block;writing-mode:vertical-rl;transform:rotate(180deg);font-size:12px;font-weight:500}
.tm-match{--p:0;display:inline-grid;place-items:center;width:46px;height:46px;border-radius:50%;background:conic-gradient(var(--primary-600) calc(var(--p)*1%),color-mix(in srgb,var(--primary-600) 14%,transparent) 0);flex:0 0 auto}
.tm-match b{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--white);font-size:11px}
[data-theme="dark"] .tm-match b{background:#1b2431}
.tm-pool{transition:box-shadow .15s}.tm-pool:hover,.tm-pool:focus-visible{box-shadow:0 0 0 2px var(--primary-600)}
.tm-pool-n{font-size:22px;font-weight:700;color:var(--primary-600)}
@media (max-width:575px){.tm-row{grid-template-columns:54px repeat(3,minmax(0,1fr));gap:4px}.tm-cell{padding:6px;min-height:72px}.tm-cell .tm-chip{display:none}.tm-cell .text-xs{display:none}}
/* v3.21.2 PL01 / PL09 / PL03 / public pricing */
.pl1-table tbody.pl1-client{border-top:1px solid var(--neutral-200)}
.pl1-toggle{border:0;background:transparent;padding:0 4px 0 0;color:var(--text-secondary-light);font-size:18px;line-height:1;vertical-align:middle}.pl1-toggle i{display:inline-block;transition:transform .15s}.pl1-toggle.is-open i{transform:rotate(90deg)}
.pl1-toggle:focus-visible{outline:2px solid var(--primary-600);border-radius:4px}
.pl1-sub td{background:color-mix(in srgb,var(--primary-600) 3%,transparent);border-top:0}
.pl1-bar{height:8px;border-radius:99px;background:var(--neutral-200);overflow:hidden;max-width:180px;margin-bottom:2px}.pl1-bar i{display:block;height:8px;background:#0f766e}.pl1-bar i.w{background:#d97706}.pl1-bar i.r{background:#dc2626}
.pl1-chip{display:inline-flex;gap:4px;align-items:baseline;font-size:11.5px;font-weight:600;padding:1px 8px;margin:1px 3px 1px 0;border-radius:999px;border:1px solid color-mix(in srgb,var(--prod) 45%,transparent);color:var(--prod);background:color-mix(in srgb,var(--prod) 8%,transparent);white-space:nowrap}
.pl1-chip i{font-style:normal;font-weight:500;opacity:.8}
.epm-prod__count{margin-left:auto;margin-right:4px}
.pl9-steps{display:flex;gap:6px;flex-wrap:wrap}.pl9-steps span{flex:1 1 140px;text-align:center;padding:7px 4px;border-radius:8px;background:color-mix(in srgb,var(--primary-600) 8%,transparent);font-size:12.5px;color:var(--text-secondary-light)}
.pl9-plans{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,170px),1fr));gap:10px}
.pl9-plan{position:relative;display:block;margin:0;cursor:pointer}.pl9-plan input{position:absolute;opacity:0}
.pl9-plan>span{display:flex;flex-direction:column;gap:2px;height:100%;border:1px solid var(--neutral-200);border-radius:10px;padding:10px 12px}.pl9-plan small{font-size:11.5px;color:var(--text-secondary-light)}
.pl9-plan input:checked+span{border-color:var(--primary-600);box-shadow:0 0 0 2px color-mix(in srgb,var(--primary-600) 35%,transparent)}.pl9-plan input:focus-visible+span{outline:2px solid var(--primary-600);outline-offset:2px}
.pl9-mods{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:12px}
.pl9-prod{border-left:4px solid var(--prod);padding-left:10px}.pl9-prod>b{color:var(--prod);font-size:13px}
.pl9-mod{display:flex;align-items:center;gap:8px;font-size:12.5px;padding:4px 0;margin:0;cursor:pointer}.pl9-mod.is-none{opacity:.45;cursor:not-allowed}.pl9-mod.is-incl b::after{content:" ✓";color:var(--primary-600)}
.pl9-users{width:64px;flex:0 0 auto}
.pl9-price{position:sticky;top:90px}.pl9-tbl td{font-size:12.5px;padding:5px 4px}.pl9-sum td{font-weight:600;border-top:1px solid var(--neutral-200)}.pl9-grand td{font-weight:700;font-size:14px;border-top:2px solid var(--neutral-200)}
.pl3-matrix .pl3-mode{min-width:105px}.pl3-included{background-color:color-mix(in srgb,#16a34a 10%,transparent)}.pl3-none{color:var(--text-secondary-light)}
.pr-plans{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:16px}
.pr-plan{position:relative;background:var(--white);border:1px solid var(--neutral-200);border-radius:14px;padding:20px}.pr-plan.is-pop{border-color:var(--primary-600);box-shadow:0 0 0 2px color-mix(in srgb,var(--primary-600) 30%,transparent)}
.pr-pop{position:absolute;top:-10px;right:14px;background:var(--primary-600);color:#fff;font-size:11px;font-weight:600;border-radius:99px;padding:2px 10px}
.pr-price{font-size:26px;font-weight:700;color:var(--primary-600)}.pr-price small{font-size:12px;font-weight:500;color:var(--text-secondary-light)}
.pr-plan li{padding:3px 0}
@media (max-width:1199px){.pl9-price{position:static}}
#pl9 .form-check.d-flex .form-check-input { float: none; margin: 3px 0 0; flex-shrink: 0; }
/* v3.22.1 PM11 Project heat maps · risk matrix bands */
.pm-b1{background:#5cb85c;color:#fff}.pm-b2{background:#9ccc65;color:#1f2937}.pm-b3{background:#fdd835;color:#1f2937}.pm-b4{background:#fb8c3c;color:#1f2937}.pm-b5{background:#ef3b2c;color:#fff}
.pm-score.pm-b1,.pm-score.pm-b5{color:#fff}
.pm-band{display:inline-block;font-size:11px;font-weight:700;border-radius:6px;padding:1px 8px;vertical-align:middle}
.pm-swatch{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:5px;font-size:11px;font-weight:700}
.pm-mv{font-weight:800;font-size:11px}.pm-mv-up{color:#b91c1c}.pm-mv-dn{color:#047857}.pm-mv-eq{color:#6b7280}.pm-mv-nw{color:#2563eb}
.pm-hmini{display:grid;grid-template-columns:16px repeat(5,1fr);gap:3px}.pm-hmini span{height:28px;border-radius:4px;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:12px;opacity:.55}.pm-hmini span.has{opacity:1;box-shadow:inset 0 0 0 2px rgba(17,24,39,.35)}
.pm-hmini .pm-hmini-l{background:none;color:#94a3b8;font-weight:500;height:auto;opacity:1}
.pm-hist{margin-top:4px;font-size:11.5px}.pm-hist summary{cursor:pointer;color:var(--primary-600);font-size:11.5px}.pm-hist table{margin-top:4px;width:100%}.pm-hist td{padding:2px 6px 2px 0;vertical-align:top;color:#4b5563;border:0}
.pm11-map{display:grid;grid-template-columns:96px repeat(5,minmax(0,1fr));grid-auto-rows:minmax(96px,auto);gap:4px}
.pm11-map>div:last-child,.pm11-map .pm11-lx{min-height:0}
.pm11-ax{display:flex;flex-direction:column;justify-content:center;align-items:flex-end;padding-right:10px;background:var(--neutral-100,#f1f5f9);border-radius:6px;color:#374151;font-size:12px;text-align:right}.pm11-ax b{font-size:18px;font-weight:500}
.pm11-lx{display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--neutral-100,#f1f5f9);border-radius:6px;color:#374151;font-size:12px;padding:6px 2px}.pm11-lx b{font-size:18px;font-weight:500}
.pm11-cell{position:relative;border:0;border-radius:6px;padding:5px;display:flex;flex-direction:column;gap:3px;align-items:stretch;text-align:left;overflow:hidden;cursor:pointer;min-width:0}
.pm11-cell:focus-visible{outline:3px solid #111827;outline-offset:1px}.pm11-cell.sel{box-shadow:0 0 0 3px #111827}
.pm11-sc{position:absolute;right:6px;top:2px;font-size:20px;font-weight:800;opacity:.3;pointer-events:none}
.pm11-n{font-size:30px;font-weight:800;margin:auto}
.pm11-chip{display:block;background:rgba(255,255,255,.94);border-radius:5px;padding:2px 5px;font-size:11px;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:0 1px 2px rgba(0,0,0,.15);position:relative;z-index:1;max-width:100%}
.pm11-chip i{font-style:normal;font-weight:800;margin-right:3px}.pm11-chip small{color:#6b7280}
.pm11-chip.ghost,.pm11-more.ghost{background:transparent;border:1.5px dashed rgba(17,24,39,.55);box-shadow:none;color:rgba(17,24,39,.7)}
.pm11-more{font-size:11px;font-weight:700;color:#111827;opacity:.85;border-radius:5px;padding:0 4px}
.k-risk{color:#b91c1c}.k-issue{color:#1d4ed8}.k-dependency{color:#7c3aed}
.pm11-legend{display:inline-flex;gap:12px;flex-wrap:wrap}.pm11-legend i{font-style:normal;font-weight:800}
.pm11-bands{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;color:#374151}.pm11-bands i{display:inline-block;width:14px;height:14px;border-radius:3px;vertical-align:-2px;margin-right:5px}
.pm11-dd{position:relative}.pm11-dd>summary{list-style:none;cursor:pointer;border:1px solid #d1d5db;border-radius:8px;padding:5px 10px;font-size:12.5px;background:var(--white,#fff);white-space:nowrap;max-width:320px;overflow:hidden;text-overflow:ellipsis}
.pm11-dd>summary::-webkit-details-marker{display:none}.pm11-dd>summary::after{content:" ▾";color:#6b7280}
.pm11-dd>div{position:absolute;z-index:20;top:calc(100% + 4px);left:0;min-width:220px;max-height:300px;overflow:auto;background:var(--white,#fff);border:1px solid #e5e7eb;border-radius:10px;box-shadow:0 10px 24px rgba(16,24,40,.12);padding:8px}
.pm11-ck{display:flex;gap:6px;align-items:center;font-size:12.5px;padding:3px 2px;white-space:nowrap;cursor:pointer}
.pm11-quick{display:inline-block;border:1px solid #d1d5db;border-radius:999px;padding:5px 12px;font-size:12.5px;color:#374151;background:var(--white,#fff)}.pm11-quick.on{background:var(--primary-600);border-color:var(--primary-600);color:#fff}
.pm-cellgrid{display:grid;grid-template-columns:96px repeat(5,minmax(0,1fr));gap:4px}.pm-cg{border-radius:6px;padding:5px}.pm-cg select{width:auto;max-width:120px;font-size:11px;padding:1px 22px 1px 6px}.pm-cg textarea{font-size:11px;background:rgba(255,255,255,.9)}
.pm-cg-ax,.pm-cg-lx{font-size:11.5px;color:#374151;display:flex;align-items:center;justify-content:center;text-align:center;background:var(--neutral-100,#f1f5f9);border-radius:6px;padding:4px}
.pm-cfg td{padding:4px 6px}
[data-theme=dark] .pm11-ax,[data-theme=dark] .pm11-lx,[data-theme=dark] .pm-cg-ax,[data-theme=dark] .pm-cg-lx{background:rgba(255,255,255,.06);color:#e5e7eb}
@media (max-width: 767px){.pm11-map,.pm-cellgrid{grid-template-columns:56px repeat(5,minmax(0,1fr))}.pm11-chip{font-size:10px}.pm11-ax span{display:none}}
@media print{.pm11-noprint,#sidebar-menu,.sidebar,.navbar-header,.epm-footer,.footer{display:none!important}.pm11-cell,.pm-b1,.pm-b2,.pm-b3,.pm-b4,.pm-b5{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
.pm11-chip{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.25;word-break:break-word}
/* v3.52.0 PM11 labels switched on the stage (ref + title / ref / count) and the presentation mode */
.pm11-stage:not(.lbl-count) .pm11-n{display:none}.pm11-stage.lbl-count .pm11-chip,.pm11-stage.lbl-count .pm11-more{display:none}.pm11-stage.lbl-ref .pm11-chip .tt{display:none}
.pm11-stage.no-names .pm11-owner{display:none}
.pm11-phead,.pm11-stage:not(.is-present) .pm11-sum{display:none}
html.pm11-lock,html.pm11-lock body{overflow:hidden}
.pm11-stage.is-present{--pm11-fs:1.2;position:fixed;inset:0;z-index:1090;background:var(--neutral-50,#f8fafc);overflow:auto;padding:16px 20px;display:flex;flex-direction:column;gap:12px}
.pm11-stage.is-present:fullscreen{background:var(--neutral-50,#f8fafc)}
.pm11-stage.is-present .pm11-phead{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.pm11-ptitle{display:flex;align-items:center;gap:14px}.pm11-ptitle img{max-height:44px;max-width:160px;object-fit:contain}.pm11-ptitle h4{font-size:calc(22px * var(--pm11-fs))}
.pm11-ctl{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.pm11-ctl .btn{min-width:38px}
.pm11-stage.is-present .cs-kpis{margin-bottom:0!important}.pm11-stage.is-present .cs-kpis>div{padding:8px 14px}.pm11-stage.is-present .cs-kpis b{font-size:calc(20px * var(--pm11-fs))}
.pm11-stage.is-present>.row{flex:1 1 0;min-height:420px;margin:0;overflow:hidden;flex-wrap:nowrap}
.pm11-stage.is-present .pm11-main{flex:0 0 65%;max-width:65%}.pm11-stage.is-present .pm11-side{flex:0 0 35%;max-width:35%}
.pm11-stage.is-present .cs-kpis{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.pm11-stage.is-present .cs-kpis>div{padding:6px 12px}.pm11-stage.is-present .cs-kpis span{display:none}
.pm11-stage.is-present .pm11-main{display:flex}.pm11-stage.is-present .pm11-main>.card{flex:1;display:flex;flex-direction:column;padding:12px!important}
.pm11-stage.is-present .pm11-side{height:100%;overflow:auto;flex-wrap:nowrap}
.pm11-stage.is-present .pm11-main,.pm11-stage.is-present .pm11-side{height:100%;min-height:0}
.pm11-stage.is-present .pm11-map{flex:1 1 0;min-height:0;grid-template-columns:calc(110px * var(--pm11-fs)) repeat(5,minmax(0,1fr));grid-template-rows:repeat(5,minmax(0,1fr)) auto;grid-auto-rows:auto}
.pm11-stage.is-present .pm11-main .mt-12{margin-top:6px!important}
.pm11-stage.is-present .pm11-ax,.pm11-stage.is-present .pm11-lx{font-size:calc(12px * var(--pm11-fs))}.pm11-stage.is-present .pm11-ax b,.pm11-stage.is-present .pm11-lx b{font-size:calc(18px * var(--pm11-fs))}
.pm11-stage.is-present .pm11-chip,.pm11-stage.is-present .pm11-more{font-size:calc(11px * var(--pm11-fs))}.pm11-stage.is-present .pm11-sc{font-size:calc(18px * var(--pm11-fs))}.pm11-stage.is-present .pm11-n{font-size:calc(30px * var(--pm11-fs))}
.pm11-stage.is-present .pm11-side .text-sm,.pm11-stage.is-present .pm11-sline{font-size:calc(13px * var(--pm11-fs))}.pm11-stage.is-present .pm11-side .text-xs{font-size:calc(11px * var(--pm11-fs))}.pm11-stage.is-present .pm11-side h6{font-size:calc(15px * var(--pm11-fs))}
.pm11-stage.is-present .pm11-side .table-responsive{max-height:none!important}.pm11-stage.is-present .pm11-hide-p{display:none}
.pm11-stage.is-present .pm11-legend,.pm11-stage.is-present .pm11-bands{font-size:calc(11.5px * var(--pm11-fs))}
.pm11-stage.is-present .pm11-multi>[class*=col-]{flex:0 0 33.333%;max-width:33.333%}
.pm11-sline{padding:4px 0;border-bottom:1px dashed #e5e7eb;font-size:13px}.pm11-sline:last-of-type{border-bottom:0}
[data-theme=dark] .pm11-stage.is-present,[data-theme=dark] .pm11-stage.is-present:fullscreen{background:#0b1220}[data-theme=dark] .pm11-sline{border-color:#334155}
@media (max-width: 991px){.pm11-stage.is-present .pm11-main,.pm11-stage.is-present .pm11-side{flex:0 0 100%;max-width:100%}}
@media print{.pm11-phead{display:none!important}}
.pm11-sc{top:auto;bottom:2px;right:6px;font-size:18px}
.pm11-cell{padding-bottom:22px}
.pm-cg .d-flex{flex-direction:column;align-items:stretch!important;gap:3px}.pm-cg .d-flex b{font-size:13px;line-height:1}.pm-cg select{width:100%;max-width:none}
/* v3.22.2 SA12 tooltips */
.epm-popover .epm-tip-body{line-height:1.45}.epm-popover .epm-tip-ex{margin-top:5px;font-size:11.5px;color:var(--primary-600,#0f766e)}.epm-popover .epm-tip-live{margin-top:3px;font-size:11.5px;font-weight:600;color:#111827}
.epm-popover .epm-tip-no{margin-top:6px;font-size:10.5px;color:#94a3b8;text-align:right}[data-theme=dark] .epm-popover .epm-tip-live{color:#e5e7eb}
.epm-tip{margin:0 4px 0 3px;vertical-align:1px}th .epm-tip,small .epm-tip{transform:scale(.85)}
.pm-evline{display:flex;flex-wrap:wrap;gap:4px 14px}
.sa12-table td{vertical-align:top}
/* v3.23.0 ERM risk management */
.rm-heat{display:grid;grid-template-columns:92px repeat(5,minmax(0,1fr));grid-auto-rows:minmax(64px,auto);gap:4px}
.rm-heat-ax{display:flex;align-items:center;justify-content:flex-end;gap:6px;padding-right:8px;background:var(--neutral-100,#f1f5f9);border-radius:6px;color:#374151;font-size:11.5px;text-align:right}.rm-heat-ax b{font-size:16px;font-weight:500}
.rm-heat-lx{display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--neutral-100,#f1f5f9);border-radius:6px;color:#374151;font-size:11.5px;padding:4px 2px;min-height:0}.rm-heat-lx b{font-size:16px;font-weight:500}
.rm-heat-c{position:relative;border-radius:6px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-decoration:none;opacity:.55;padding:4px}.rm-heat-c.has{opacity:1;box-shadow:inset 0 0 0 2px rgba(17,24,39,.35)}
.rm-heat-c:hover,.rm-heat-c:focus-visible{opacity:1;outline:3px solid #111827;outline-offset:1px}.rm-heat-c b{font-size:22px;font-weight:800;line-height:1}.rm-heat-c small{font-size:10px;line-height:1.2;text-align:center;opacity:.9;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rm-heat-s{position:absolute;right:5px;bottom:2px;font-size:13px;font-weight:800;opacity:.35}
.rm-scores{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.rm-scores>div{display:flex;flex-direction:column;align-items:flex-start;gap:2px}.rm-scores small{font-size:11px;color:#6b7280}.rm-scores span:not(.pm-score){font-size:11.5px;color:#6b7280}.rm-scores .pm-score{font-size:16px;padding:3px 10px}.rm-scores>i{color:#94a3b8;font-size:18px}
.rm-rag{display:inline-block;width:10px;height:10px;border-radius:50%;vertical-align:0}.rm-rag-G{background:#10b981}.rm-rag-A{background:#f59e0b}.rm-rag-R{background:#ef4444}
.rm-spark{display:inline-flex;gap:3px}.rm-spark i{display:inline-block;width:12px;height:12px;border-radius:3px}
.rm-cat.is-bad{box-shadow:0 0 0 2px #fca5a5}
[data-theme=dark] .rm-heat-ax,[data-theme=dark] .rm-heat-lx{background:rgba(255,255,255,.06);color:#e5e7eb}
@media (max-width: 767px){.rm-heat{grid-template-columns:44px repeat(5,minmax(0,1fr))}.rm-heat-ax span{display:none}.rm-heat-c small{display:none}}
/* v3.24.0 ERM Audit Management */
.au-q{display:flex;gap:3px}.au-q span{font-size:11px;padding:2px 6px;border-radius:5px;background:var(--neutral-100,#f1f5f9);color:#64748b}.au-q span.on{background:#ede9fe;color:#5b21b6;font-weight:700}
.au-stages{display:flex;gap:6px;flex-wrap:wrap}.au-stages span{flex:1;min-width:110px;text-align:center;padding:8px 6px;border-radius:8px;background:var(--neutral-100,#e2e8f0);color:#475569;font-size:13px}.au-stages span.done{background:#ccfbf1;color:#115e59;font-weight:600}.au-stages span.on{background:#0f766e;color:#fff;font-weight:600}
.au-ccce{display:grid;grid-template-columns:1fr 1fr;gap:10px}.au-ccce div{background:var(--neutral-50,#f8fafc);border-radius:8px;padding:10px 12px;font-size:13px}.au-ccce b{display:block;font-size:12px;color:#5b21b6;margin-bottom:3px}
[data-theme=dark] .au-ccce div,[data-theme=dark] .au-q span,[data-theme=dark] .au-stages span{background:rgba(255,255,255,.06);color:#e5e7eb}[data-theme=dark] .au-ccce b{color:#c4b5fd}
@media (max-width:767px){.au-ccce{grid-template-columns:1fr}}
/* v3.25.0 CL expense claims — entitlement balances */
.cl-bal{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px}.cl-bal>div{background:var(--white,#fff);border-radius:12px;padding:12px 14px;box-shadow:0 0 0 1px var(--neutral-200,#e6ebea)}
.cl-bal small{display:block;font-size:11.5px;color:#6b7280}.cl-bal b{font-size:18px;display:block}.cl-bal span{font-size:11.5px;color:#6b7280}.cl-bal i{display:block;height:6px;border-radius:99px;background:var(--neutral-100,#eef2f6);margin-top:6px;overflow:hidden}
.cl-bal em{display:block;height:6px;background:#0f766e}.cl-bal em.is-warn{background:#d97706}.cl-bal em.is-full{background:#dc2626}
/* v3.105.226 CL00 Charge to: available budget of the project / cost centre */
.cl-avail:empty{display:none}.cl-avail{border:1px dashed var(--epm-border,#e5e7eb);border-radius:10px;padding:8px 12px;font-size:13px}.cl-avail__t{font-size:11.5px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px}
.cl-charged+.cl-charged{border-top:1px dashed var(--epm-border,#e5e7eb);padding-top:12px}.cl-avail__row{display:flex;gap:8px;align-items:baseline}.cl-avail__row span{flex:1;min-width:0}.cl-avail__row b{color:#0f766e}.cl-avail__row small{color:#6b7280}.cl-avail__row.is-low b{color:#b91c1c}
/* v3.105.232 TS00 planned hours (PM05) against booked */
.ts-plan{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--epm-border,#e5e7eb);border-radius:999px;padding:3px 6px 3px 12px;font-size:12.5px;background:var(--epm-soft,#f8fafc)}.ts-plan.is-done{border-color:#99d5c9;background:#ecfdf5}.ts-plan.is-over{border-color:#fca5a5;background:#fef2f2}.ts-plan.is-over .ts-plan__v{color:#b91c1c;font-weight:600}
.ts-plan__v{color:#6b7280}.ts-plan__add{border:0;background:var(--primary-600,#0f766e);color:#fff;border-radius:50%;width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;font-size:14px;padding:0}
/* v3.105.233 TS00 day view on phones: day tabs, one day column at a time */
.ts-days{display:flex;gap:4px;overflow-x:auto;padding:10px 12px;border-bottom:1px solid var(--epm-border,#e5e7eb)}.ts-day{flex:1 0 44px;border:1px solid var(--epm-border,#e5e7eb);border-radius:10px;background:#fff;padding:4px 2px;display:flex;flex-direction:column;align-items:center;line-height:1.15}
.ts-day small{font-size:10.5px;color:#6b7280}.ts-day b{font-size:15px}.ts-day i{font-style:normal;font-size:10.5px;color:#0f766e;min-height:12px}.ts-day.is-rest,.ts-day.is-ph{background:var(--epm-soft,#f8fafc)}.ts-day.is-ph b{color:#b91c1c}.ts-day.active{border-color:var(--primary-600,#0f766e);box-shadow:0 0 0 2px color-mix(in srgb,var(--primary-600,#0f766e) 20%,transparent)}
@media (max-width:767.98px){.ts-dayview .ts-d:not(.is-sel){display:none}.ts-dayview .ts-d.is-sel .ts-h{font-size:16px;height:40px}
  .ts-dayview,.ts-dayview tbody,.ts-dayview tfoot{display:block}.ts-dayview thead{display:none}
  .ts-dayview tr{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:10px 12px;border-bottom:1px solid var(--epm-border,#e5e7eb)}.ts-dayview tr>td{display:block;border:0!important;padding:0!important;min-width:0!important}
  .ts-dayview tr.ts-row>td:first-child,.ts-dayview tr.ts-pre>td:first-child,.ts-dayview tfoot tr>td:first-child{grid-column:1/-1}.ts-dayview tr>td.ts-d.is-sel{grid-column:1/2}.ts-dayview tr.ts-row>td:last-child{justify-self:end}}
/* v3.105.236 TS05 close checklist */
.ts-check{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}.ts-check li{display:flex;gap:8px;align-items:flex-start;padding:10px 12px;border-radius:10px;border:1px solid var(--epm-border,#e5e7eb)}
.ts-check i{font-size:20px;color:#9ca3af;line-height:1}.ts-check b{display:block;font-size:13px}.ts-check span{display:block;font-size:12px;color:#6b7280}.ts-check li.is-done i{color:#0f766e}.ts-check li.is-next{border-color:#f59e0b;background:#fffbeb}.ts-check li.is-next i{color:#d97706}
/* v3.105.242 CT12 / CT13 / CT18 / CT19 detail popup: labels beside the fields (a phone keeps them above) */
#shModal .os-ctx{font-size:13px;color:#6b7280;padding:8px 12px;border-radius:10px;background:var(--epm-soft,#f8fafc)}#shModal .os-ctx b{color:var(--text-primary-light,#111827)}
#shModal .os-f{display:grid;grid-template-columns:150px minmax(0,1fr);column-gap:16px;row-gap:4px;align-items:start}#shModal .os-f>label.form-label{margin:0;padding-top:10px}#shModal .os-f>:not(label){grid-column:2}
#shModal .os-sub{margin-top:-12px}#shModal .os-sub>small{grid-column:2}#shModal .os-pct{max-width:150px}#shModal .os-f small a{white-space:nowrap}
/* v3.105.246 CT02: component tick list of the owner form */
.ct2-comps{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:6px 16px;padding:10px 12px;border:1px solid var(--epm-border,#e5e7eb);border-radius:10px}
/* v3.105.248 CT11 service cell: name, label tag, region / specification / purpose with icons, specification in two lines (full on hover) */
.gcp-svc{min-width:240px;max-width:320px}.gcp-svc__name{font-weight:600;font-size:13.5px;line-height:1.3}.gcp-svc__tag{display:inline-flex;align-items:center;gap:4px;margin:3px 0 2px;padding:1px 8px;border-radius:999px;background:color-mix(in srgb,var(--primary-600,#0f766e) 10%,transparent);color:var(--primary-700,#0f5f59);font-size:11.5px;font-weight:500}
.gcp-svc__meta{display:flex;gap:5px;align-items:flex-start;font-size:11.5px;color:#6b7280;line-height:1.35;margin-top:2px}.gcp-svc__meta>i{flex:0 0 auto;margin-top:1px;color:#9ca3af}.gcp-svc__spec span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.gcp-ccy{width:84px}
/* v3.105.248 CT11 service popup: numbered sections, labels beside the fields (a phone keeps them above) */
#lineModal .svc-h{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#6b7280;border-bottom:1px solid var(--epm-border,#e5e7eb);padding-bottom:6px;margin-top:14px}#lineModal .svc-h:first-child{margin-top:0}
/* v3.105.263 TRP1 rate card head: label over value, wraps on a phone */
.trp-head{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:16px}.trp-head small{display:block;font-size:12px;color:#6b7280;margin-bottom:2px}.trp-head b{display:block;font-size:14px;font-weight:600}.trp-head span{display:block;font-size:12px;color:#6b7280}
/* v3.105.270 TRP2 spreadsheet grid: thin cell borders, row numbers, borderless inputs that light up on focus, sticky header */
.xl-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 16px;border-bottom:1px solid var(--epm-border,#e5e7eb)}.xl-wrap{overflow:auto;max-height:70vh}.xl-grid{width:100%;border-collapse:collapse;font-size:13px}.xl-grid th{position:sticky;top:0;z-index:1;background:#f1f5f9;font-weight:600;font-size:12px;color:#475569;padding:6px 8px;border:1px solid #e2e8f0;white-space:nowrap}.xl-grid td{border:1px solid #e2e8f0;padding:0 8px;height:34px;vertical-align:middle}.xl-grid .xl-n{width:36px;text-align:center;background:#f8fafc;color:#94a3b8;font-size:11px;padding:0}.xl-grid td:has(.xl-in){padding:0}.xl-in{width:100%;height:33px;border:0;background:transparent;padding:0 8px;font-size:13px;outline:none}.xl-in:focus{box-shadow:inset 0 0 0 2px #10b981;background:#fff}.xl-role{min-width:300px}.xl-grid td:nth-child(2){white-space:nowrap;min-width:220px}.xl-grid tr:hover td{background:#f8fafc}.xl-grid tr.is-new td{background:#f0fdf4}.xl-grid tr.is-bad td{background:#fef2f2}.xl-grid tr.is-del td{text-decoration:line-through;opacity:.5}.xl-del{cursor:pointer;color:#94a3b8;margin:0}.xl-del input{display:none}.xl-del:hover,.xl-del:has(input:checked){color:#dc2626}.xl-dirty{color:#b45309;font-weight:600}[data-theme=dark] .xl-grid th{background:#1e293b;color:#cbd5e1;border-color:#334155}[data-theme=dark] .xl-grid td{border-color:#334155}[data-theme=dark] .xl-grid .xl-n{background:#0f172a}[data-theme=dark] .xl-in:focus{background:#0f172a}
/* v3.105.268 TRP1 a rate that is not active or blocked */
.trp-lines tr.trp-off td{color:#9ca3af}.trp-lines tr.trp-off td b{color:#9ca3af}.trp-st{min-width:120px}.trp-st.is-blocked{border-color:#fca5a5;color:#b91c1c}.trp-st.is-inactive{color:#6b7280}
/* v3.105.264 TRP1 rate popup: the section and field layout of the CT11 service popup, a live cost build-up at the bottom */
#lineModal .trp-oh{display:grid;grid-template-columns:140px minmax(0,1fr);gap:8px}.trp-calc{display:flex;flex-wrap:wrap;gap:8px;border-top:1px solid var(--epm-border,#e5e7eb);padding-top:12px;margin-top:4px}.trp-calc>div{flex:1 1 120px;background:var(--neutral-50,#f8fafc);border-radius:8px;padding:8px 12px}.trp-calc span{display:block;font-size:11px;color:#6b7280}.trp-calc b{font-size:14px}.trp-calc .is-tot{background:#ecfdf5}.trp-calc .is-xc{background:#eef2ff}.trp-lines td{vertical-align:top}
#lineModal .svc-h span{display:inline-flex;width:20px;height:20px;border-radius:50%;align-items:center;justify-content:center;background:var(--primary-600,#0f766e);color:#fff;font-size:11px}
#lineModal .svc-f{display:grid;grid-template-columns:160px minmax(0,1fr);column-gap:16px;row-gap:4px;align-items:start}#lineModal .svc-f>label.form-label{margin:0;padding-top:10px}#lineModal .svc-f>:not(label){grid-column:2}
#lineModal .svc-pair{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center}#lineModal .svc-or{font-size:12px;color:#9ca3af}
#lineModal .svc-price{display:grid;grid-template-columns:minmax(0,1.4fr) auto 90px auto minmax(0,1fr);gap:8px;align-items:center}#lineModal .svc-sub{font-size:12px;color:#6b7280;white-space:nowrap;margin:0}
@media (max-width:575.98px){#lineModal .svc-f{display:block}#lineModal .svc-f>label.form-label{padding-top:0;margin-bottom:6px}#lineModal .svc-pair,#lineModal .svc-price{grid-template-columns:1fr}}
@media (max-width:575.98px){#shModal .os-f{display:block}#shModal .os-f>label.form-label{padding-top:0;margin-bottom:6px}}
[data-theme=dark] .cl-bal>div{background:rgba(255,255,255,.04)}
/* v3.26.0 supplier portal */
.vp-head .container>span:last-child{text-align:start}.vp-nav{display:flex;flex-wrap:wrap;gap:4px 6px;align-items:center}.vp-nav a{font-size:13.5px;padding:6px 10px;border-radius:8px;color:#334155;text-decoration:none;display:inline-flex;gap:4px;align-items:center}
.vp-nav a:hover{background:#f1f5f9}.vp-nav a.is-on{background:var(--primary-50,#eef4ff);color:var(--primary-600,#2563eb);font-weight:600}.vp-who{font-size:12px;color:#64748b;padding:0 6px}
.vp-auth{max-width:520px}.vp-otp{font-size:22px;letter-spacing:.4em;text-align:center;font-variant-numeric:tabular-nums}.vp-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.vp-tabs{display:flex;flex-wrap:wrap;gap:6px}.vp-tabs a{font-size:13.5px;padding:7px 14px;border-radius:999px;border:1px solid #cbd5e1;color:#334155;text-decoration:none;background:#fff}.vp-tabs a.is-on{background:var(--primary-600,#2563eb);border-color:var(--primary-600,#2563eb);color:#fff}
.vp-miss{padding-left:18px}.vp-miss li::marker{color:#d97706}.vp-q{border:1px solid #e2e8f0;border-radius:10px;padding:12px 14px}.vp-q[disabled]{opacity:.85}.vp-asn{border-left:3px solid #cbd5e1;padding-left:10px}.vp-asn-l{border:0;padding:0;margin:0}
[data-theme="dark"] .vp-nav a{color:#cbd5e1}[data-theme="dark"] .vp-nav a:hover{background:#1e293b}[data-theme="dark"] .vp-tabs a{background:#0f172a;color:#cbd5e1;border-color:#334155}[data-theme="dark"] .vp-q{border-color:#334155}
@media (max-width:575px){.vp-who{display:none}.vp-nav a{padding:6px 8px}}
.fi-jl td{min-width:110px}.fi-jl td:first-child{min-width:220px}
.vp-body .mm-doc-wrap{overflow-x:auto;max-width:100%}.vp-body .mm-doc-wrap>*{min-width:0}
/* v3.27.0 sourcing events, evaluation, budgets */
.fb-bar{height:7px;border-radius:99px;background:var(--neutral-100,#eef2f6);overflow:hidden;margin:4px 0}.fb-bar i{display:block;height:100%;background:#16a34a;border-radius:99px}.fb-bar.is-near i{background:#d97706}.fb-bar.is-over i{background:#dc2626}
/* v3.105.371 budget bar: used (dark), this document (light), warning levels (ticks), 100 % and the tolerance; yellow / orange / red as the levels are reached */
.fb-bar2{position:relative;height:10px;border-radius:5px;background:#e2e8f0;margin:6px 0 4px;overflow:visible}.fb-bar2>i{position:absolute;top:0;bottom:0;border-radius:5px}.fb-b-used{left:0;background:#0f766e}.fb-b-doc{background:#5eead4}
.fb-bar2.is-l1 .fb-b-used{background:#eab308}.fb-bar2.is-l1 .fb-b-doc{background:#fde68a}.fb-bar2.is-l2 .fb-b-used{background:#f97316}.fb-bar2.is-l2 .fb-b-doc{background:#fdba74}.fb-bar2.is-l3 .fb-b-used,.fb-bar2.is-tol .fb-b-used{background:#dc2626}.fb-bar2.is-l3 .fb-b-doc,.fb-bar2.is-tol .fb-b-doc{background:#fca5a5}
.fb-bar2.is-over .fb-b-used{background:#991b1b}.fb-bar2.is-over .fb-b-doc{background:repeating-linear-gradient(45deg,#dc2626 0 4px,#fca5a5 4px 8px)}
.fb-bar2>s{position:absolute;top:-3px;bottom:-3px;width:0;border-left:2px solid #94a3b8;text-decoration:none}.fb-bar2>s.fb-b-100{border-left-color:#0f172a}.fb-bar2>s.fb-b-tol{border-left:2px dashed #dc2626}
.fb-live .fb-panel{margin-bottom:0}.cx-ic{width:40px;height:40px;border-radius:12px;background:#fee2e2;color:#b91c1c;display:grid;place-items:center;font-size:22px;flex:none}
.cx-list{list-style:none;padding:0;display:grid;gap:8px}.cx-list li{display:flex;gap:10px;font-size:13px;background:#f8fafc;border-radius:10px;padding:10px 12px}.cx-list li>i{color:#64748b;font-size:17px;line-height:1.2}
.bc-sum>div{display:flex;flex-direction:column;gap:2px;background:#f8fafc;border-radius:8px;padding:8px 12px}.bc-sum small{font-size:11px;color:#64748b}.fb-live:empty{display:none}
.ss-qa{border-left:3px solid #cbd5e1;padding-left:10px}.ss-ans{max-height:84px;overflow:auto;background:var(--neutral-50,#f8fafc);border-radius:6px;padding:4px 6px;white-space:pre-wrap}.ss-score td{min-width:180px;vertical-align:top}.ss-score td:first-child{min-width:220px}
[data-theme="dark"] .fb-bar{background:#334155}[data-theme="dark"] .ss-ans{background:#1e293b}
@media print{.ss-print .sidebar,.ss-print .navbar-header,.ss-print form,.ss-print .btn{display:none!important}.ss-print .dashboard-main{margin:0!important}}
/* v3.28.0 Succession Planning (SP00 – SP07) */
.sp-slate{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:16px}
.sp-col{border-radius:12px;padding:12px;background:color-mix(in srgb,var(--primary-600) 4%,transparent);min-height:120px}
.sp-col-emergency{background:color-mix(in srgb,#dc2626 7%,transparent)}.sp-col-now{background:color-mix(in srgb,#16a34a 8%,transparent)}.sp-col-1_2y{background:color-mix(in srgb,#2563eb 7%,transparent)}.sp-col-3y{background:color-mix(in srgb,#d97706 8%,transparent)}
.sp-card{background:var(--white);border:1px solid var(--epm-border);border-radius:10px;padding:8px 10px;margin-bottom:8px}
.sp-flag-high{border-left:3px solid #dc2626;padding-left:10px}.sp-flag-medium{border-left:3px solid #d97706;padding-left:10px}
.sp-check{display:grid;grid-template-columns:1fr auto;gap:8px 16px;align-items:center}
.sp-check .btn-group .btn{font-size:12px;padding:4px 10px}
.sp-pipe td,.sp-pipe th{text-align:center}.sp-pipe td:first-child,.sp-pipe th:first-child{text-align:left}
.sp-proposal{padding:8px 12px;border-radius:8px;background:color-mix(in srgb,var(--primary-600) 7%,transparent)}
.tp-block{margin-bottom:16px}.tp-block h6{font-size:14px}
@media (max-width:991px){.sp-slate{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:575px){.sp-slate{grid-template-columns:1fr}.sp-check{grid-template-columns:1fr}}
/* v3.34.1 DB00: second row inside "My EPM Performance" (My Performance · My Team Performance · My Reporting Line · 3-Year Comparison) */
.epm-dsub { display: flex; flex-wrap: wrap; gap: 6px; border: 0; padding: 4px; background: color-mix(in srgb, #0d9488 7%, var(--white, #fff)); border-radius: 12px; width: fit-content; max-width: 100%; }
.epm-dsub .nav-link { display: flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 9px; border: 0; color: #334155; font-size: 14px; font-weight: 500; background: transparent; }
.epm-dsub .nav-link i { font-size: 16px; color: #0d9488; }
.epm-dsub .nav-link:hover { background: color-mix(in srgb, #0d9488 12%, var(--white, #fff)); }
.epm-dsub .nav-link.active { background: var(--white, #fff); color: #0f766e; font-weight: 600; box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }
.epm-dsub .nav-link:focus-visible { outline: 2px solid #0d9488; outline-offset: 2px; }
[data-theme="dark"] .epm-dsub { background: rgba(13, 148, 136, .12); } [data-theme="dark"] .epm-dsub .nav-link { color: #cbd5e1; } [data-theme="dark"] .epm-dsub .nav-link.active { background: #1e293b; color: #5eead4; }
/* v3.34.1 C53 sidebar level 1: one line — the product code only (no badge); "code — name" in a tooltip. The badge is shown only when the menu is collapsed to icons. */
.epm-prod__btn { padding: 9px 12px; min-height: 40px; }
.epm-prod__badge { display: none; }
.epm-prod__text b { font-size: 13.5px; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 1200px) { .sidebar.active:not(:hover) .epm-prod__badge { display: flex; } }
.epm-prod-tip .tooltip-inner { max-width: 320px; text-align: left; font-size: 12.5px; padding: 6px 10px; }
/* v3.35.0 sidebar level 1: an icon per product, in the product colour (hidden when the menu is collapsed to icons — the badge shows there) */
.epm-prod__icon { flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; color: var(--prod); background: color-mix(in srgb, var(--prod) 14%, transparent); }
@media (min-width: 1200px) { .sidebar.active:not(:hover) .epm-prod__icon { display: none; } }
/* v3.35.0 sidebar level 1: card tooltip — icon in the product colour, code and full name, the areas inside the product */
.tooltip.epm-prod-tip { --bs-tooltip-bg: var(--white, #fff); --bs-tooltip-opacity: 1; --bs-tooltip-max-width: 300px; filter: drop-shadow(0 8px 20px rgba(15, 23, 42, .16)) drop-shadow(0 0 1px rgba(15, 23, 42, .35)); }
.tooltip.epm-prod-tip .tooltip-inner { text-align: left; color: #1f2937; padding: 10px 12px; border-radius: 10px; border-left: 3px solid var(--prod, #0f766e); min-width: 220px; }
.tooltip.epm-prod-tip .pt-h { display: flex; align-items: center; gap: 10px; }
.tooltip.epm-prod-tip .pt-h i { width: 30px; height: 30px; flex-shrink: 0; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; color: #fff; background: var(--prod, #0f766e); }
.tooltip.epm-prod-tip .pt-h b { display: block; font-size: 13px; letter-spacing: .03em; color: #111827; }
.tooltip.epm-prod-tip .pt-h small { display: block; font-size: 12px; color: #4b5563; line-height: 1.3; }
.tooltip.epm-prod-tip .pt-s { margin-top: 8px; padding-top: 7px; border-top: 1px solid #eef2f6; font-size: 11.5px; color: #6b7280; line-height: 1.45; }
[data-theme="dark"] .tooltip.epm-prod-tip { --bs-tooltip-bg: #1e293b; } [data-theme="dark"] .tooltip.epm-prod-tip .tooltip-inner { color: #e2e8f0; } [data-theme="dark"] .tooltip.epm-prod-tip .pt-h b { color: #f8fafc; } [data-theme="dark"] .tooltip.epm-prod-tip .pt-h small { color: #cbd5e1; } [data-theme="dark"] .tooltip.epm-prod-tip .pt-s { border-color: #334155; color: #94a3b8; }
/* v3.36.0 C55 DB00 My Day and Company Overview: list on the left, the selected item on the right */
.hm2 { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 16px; align-items: start; --hc: #0f766e; }
.hm2-side { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 84px; }
.hm2-list { display: flex; flex-direction: column; gap: 4px; background: var(--white, #fff); border-radius: 14px; padding: 8px; box-shadow: 0 0 0 1px rgba(15, 23, 42, .08); max-height: calc(100vh - 140px); overflow: auto; }
.hm2 > .hm2-list { position: sticky; top: 84px; }
.hm2-item { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; background: transparent; border-radius: 10px; padding: 9px 10px; color: inherit; }
.hm2-item:hover { background: color-mix(in srgb, var(--c) 7%, transparent); }
.hm2-item:focus-visible { outline: 2px solid var(--c); outline-offset: 1px; }
.hm2-item.is-active { background: color-mix(in srgb, var(--c) 11%, var(--white, #fff)); box-shadow: inset 3px 0 0 var(--c), 0 0 0 1px color-mix(in srgb, var(--c) 35%, transparent); }
.hm2-ic { flex-shrink: 0; width: 32px; height: 32px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); }
.hm2-item.is-active .hm2-ic { color: #fff; background: var(--c); }
.hm2-tx { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.hm2-tx small { font-size: 11.5px; font-weight: 600; color: var(--text-secondary-light, #64748b); }
.hm2-tx b { font-size: 16px; }
.hm2-tx > span { font-size: 11px; color: var(--text-secondary-light, #64748b); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 210px; }
.hm2-dot { position: absolute; right: 10px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: #dc2626; }
.hm2-alerts { background: var(--white, #fff); border-radius: 14px; padding: 12px 14px; box-shadow: 0 0 0 1px rgba(15, 23, 42, .08); display: flex; flex-direction: column; gap: 6px; }
.hm2-alert { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; }
.hm2-detail { min-width: 0; }
.hm2-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(15, 23, 42, .08); }
.hm2-head .hm2-title { border-left: 4px solid var(--hc); padding-left: 10px; }
.hm2-filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hm2-filters .form-select { width: auto; min-width: 150px; }
.hm2-body.is-loading { opacity: .5; transition: opacity .15s; }
.hm2-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.hm2-kpi { border-radius: 12px; padding: 12px 14px; box-shadow: 0 0 0 1px rgba(15, 23, 42, .08); background: color-mix(in srgb, var(--hc) 4%, var(--white, #fff)); }
.hm2-kpi small { display: block; font-size: 11.5px; color: var(--text-secondary-light, #64748b); }
.hm2-kpi b { display: block; font-size: 21px; line-height: 1.25; margin: 2px 0; }
.hm2-kpi span { display: block; font-size: 11px; color: var(--text-secondary-light, #64748b); }
.hm2-kpi.is-good b { color: #15803d; } .hm2-kpi.is-warn b { color: #b45309; } .hm2-kpi.is-bad b { color: #dc2626; }
.hm2-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.hm2-cbox { border-radius: 12px; padding: 12px 14px 4px; box-shadow: 0 0 0 1px rgba(15, 23, 42, .08); min-width: 0; }
.hm2-cbox.is-wide { grid-column: span 2; }
.hm2-cbox h6, .hm2-list2 h6 { font-size: 13px; font-weight: 600; margin: 0 0 6px; }
.hm2-list2 { border-radius: 12px; padding: 12px 14px; box-shadow: 0 0 0 1px rgba(15, 23, 42, .08); }
.hm2-list2 h6 i { color: #dc2626; }
.hm2-pane .hm-card { display: block; }
.hm2-chart { background: var(--white, #fff); border-radius: 12px; box-shadow: 0 0 0 1px rgba(15, 23, 42, .08); padding: 8px 12px 0; }
@media (max-width: 1199px) { .hm2-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 991px) {
  .hm2 { grid-template-columns: 1fr; }
  .hm2-side, .hm2 > .hm2-list { position: static; }
  .hm2-list { flex-direction: row; overflow-x: auto; max-height: none; }
  .hm2-item { flex: 0 0 auto; width: auto; }
  .hm2-tx > span { display: none; }
  .hm2-charts { grid-template-columns: 1fr; } .hm2-cbox.is-wide { grid-column: auto; }
}
[data-theme="dark"] .hm2-list, [data-theme="dark"] .hm2-alerts, [data-theme="dark"] .hm2-chart { background: #1e293b; box-shadow: 0 0 0 1px #334155; }
[data-theme="dark"] .hm2-item.is-active { background: color-mix(in srgb, var(--c) 22%, #1e293b); }
[data-theme="dark"] .hm2-kpi { background: color-mix(in srgb, var(--hc) 10%, #1e293b); box-shadow: 0 0 0 1px #334155; }
[data-theme="dark"] .hm2-cbox, [data-theme="dark"] .hm2-list2 { box-shadow: 0 0 0 1px #334155; }
@media (prefers-reduced-motion: reduce) { .hm2-body.is-loading { transition: none; } }
/* v3.36.0 multi-select as a checkbox list (EPM.multi) — also a clean fallback for a native <select multiple> */
select.form-select[multiple] { background-image: none; padding: 6px 8px; height: auto; }
.epm-multi { border: 1px solid var(--input-form-light, #d1d5db); border-radius: 8px; background: var(--white, #fff); }
.epm-multi.is-invalid { border-color: #dc2626; }
.epm-multi__top { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-bottom: 1px solid rgba(15, 23, 42, .08); }
.epm-multi__q { flex: 1; min-width: 0; }
.epm-multi__cnt { font-size: 12px; color: var(--text-secondary-light, #64748b); margin-right: auto; white-space: nowrap; }
.epm-multi__q + .epm-multi__cnt { margin-right: 0; }
.epm-multi__clr { border: 0; background: none; color: var(--primary-600, #0f766e); font-size: 12px; font-weight: 600; padding: 0; }
.epm-multi__list { max-height: 196px; overflow: auto; padding: 4px; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 2px 8px; }
.epm-multi__opt { display: flex; align-items: center; gap: 8px; padding: 5px 6px; border-radius: 6px; font-size: 13.5px; cursor: pointer; margin: 0; line-height: 1.3; }
.epm-multi__opt:hover { background: rgba(15, 23, 42, .04); }
.epm-multi__opt .form-check-input { margin: 0; flex-shrink: 0; }
.epm-multi__opt:has(input:checked) { background: color-mix(in srgb, var(--primary-600, #0f766e) 8%, transparent); }
[data-theme="dark"] .epm-multi { background: #0f172a; border-color: #334155; } [data-theme="dark"] .epm-multi__top { border-color: #334155; }
.hm2 .hm2-cbox h6, .hm2 .hm2-list2 h6 { font-size: 13.5px !important; font-weight: 600 !important; line-height: 1.3; }
.hm2 .hm2-head .hm2-title { font-size: 18px !important; font-weight: 700; }

/* ---- v3.37.0 C57 sidebar level 3: the page items of an open section sit on a light black (neutral grey) band with a guide line;
        the selected page keeps the deployed colour (solid primary, white text) */
.sidebar-menu > li[data-sec] { margin: 2px 0 0 12px !important; }
.sidebar-menu > li[data-sec] > a { background-color: rgba(17,24,39,.045); border-left: 2px solid #d1d5db; border-radius: 0 8px 8px 0 !important; }
.sidebar-menu > li[data-sec] > a:hover { background-color: rgba(17,24,39,.09); }
.sidebar-menu > li[data-sec] .sidebar-submenu li > a { background-color: rgba(17,24,39,.03); border-radius: 8px; }
.sidebar-menu > li[data-sec] .sidebar-submenu li > a:hover { background-color: rgba(17,24,39,.08); }
.sidebar-menu > li[data-sec].active-page > a, .sidebar-menu > li[data-sec] > a.active-page { background-color: var(--primary-600) !important; border-left-color: var(--primary-600); color: #fff !important; }
.sidebar-menu > li[data-sec] > a:focus-visible { outline: 2px solid var(--primary-600); outline-offset: -2px; }
[data-theme="dark"] .sidebar-menu > li[data-sec] > a { background-color: rgba(255,255,255,.05); border-left-color: rgba(255,255,255,.14); }
[data-theme="dark"] .sidebar-menu > li[data-sec] > a:hover { background-color: rgba(255,255,255,.1); }
[data-theme="dark"] .sidebar-menu > li[data-sec] .sidebar-submenu li > a { background-color: rgba(255,255,255,.035); }

/* ---- v3.37.0 EPM Verify: levels (Error – can't proceed / Warning / Information / Notification), filter chips, field highlights */
.epm-verify-list .is-notice > i { color: #7c3aed; }
.epm-verify-list .is-warning { background: color-mix(in srgb, #d97706 5%, transparent); }
.epm-vlv { display: inline-block; padding: 1px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 700; margin-inline-end: 4px; vertical-align: 1px; white-space: nowrap; }
.epm-vlv.is-error { background: #dc2626; color: #fff; } .epm-vlv.is-warning { background: #fef3c7; color: #92400e; }
.epm-vlv.is-info { background: #dbeafe; color: #1e40af; } .epm-vlv.is-notice { background: #ede9fe; color: #5b21b6; }
h6 .epm-vlv { font-size: 11px; margin-inline-start: 4px; }
.epm-vhow { display: block; margin-top: 3px; color: var(--text-secondary-light); font-size: 12.5px; }
.epm-vchips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.epm-vchip { border: 1px solid var(--border-color, #e5e7eb); background: var(--white, #fff); border-radius: 999px; padding: 4px 12px; font-size: 13px; display: inline-flex; align-items: center; gap: 5px; color: var(--text-primary-light); }
.epm-vchip b { font-weight: 700; } .epm-vchip:disabled { opacity: .45; }
.epm-vchip.is-error i { color: #dc2626; } .epm-vchip.is-warning i { color: #d97706; } .epm-vchip.is-info i { color: #2563eb; } .epm-vchip.is-notice i { color: #7c3aed; }
.epm-vchip.active { background: var(--primary-600); border-color: var(--primary-600); color: #fff; } .epm-vchip.active i { color: #fff; }
.epm-vmark.is-error { outline: 2px solid #dc2626 !important; outline-offset: 1px; border-radius: 6px; background-color: #fef2f2; }
.epm-vmark.is-warning { outline: 2px solid #d97706 !important; outline-offset: 1px; border-radius: 6px; background-color: #fffbeb; }
.epm-vmark.is-info, .epm-vmark.is-notice { outline: 2px solid #6366f1 !important; outline-offset: 1px; border-radius: 6px; }
.epm-vnote { font-size: 12px; font-weight: 600; margin-top: 4px; padding: 3px 8px; border-radius: 6px; display: block; }
.epm-vnote.is-error { background: #fee2e2; color: #991b1b; } .epm-vnote.is-warning { background: #fef3c7; color: #92400e; } .epm-vnote.is-info, .epm-vnote.is-notice { background: #ede9fe; color: #5b21b6; }
.epm-vbar { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 10px; margin: -6px 0 14px; font-size: 14px; font-weight: 600; }
.epm-vbar span { flex: 1; } .epm-vbar i { font-size: 18px; }
.epm-vbar.is-error { background: #fee2e2; color: #991b1b; } .epm-vbar.is-warning { background: #fef3c7; color: #92400e; } .epm-vbar.is-info, .epm-vbar.is-notice { background: #ede9fe; color: #5b21b6; }
[data-theme="dark"] .epm-vmark.is-error { background-color: rgba(220,38,38,.12); } [data-theme="dark"] .epm-vmark.is-warning { background-color: rgba(217,119,6,.12); }
[data-theme="dark"] .epm-vnote.is-error, [data-theme="dark"] .epm-vbar.is-error { background: rgba(220,38,38,.2); color: #fca5a5; }
[data-theme="dark"] .epm-vnote.is-warning, [data-theme="dark"] .epm-vbar.is-warning { background: rgba(217,119,6,.2); color: #fcd34d; }
@media print { .epm-vbar, .epm-vnote { display: none !important; } }
/* ---- v3.37.0 US02 role turned on per company */
.epm-rc { border: 1px dashed var(--border-color, #d1d5db); border-radius: 10px; padding: 8px 12px; max-width: 640px; }
.epm-rc__co { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border: 1px solid var(--border-color, #e5e7eb); border-radius: 999px; font-size: 12.5px; cursor: pointer; }
/* ---- v3.37.0 US02 Roles & access: searchable role list (sticky, scrolls inside), matrix toolbar, sticky table header and save bar */
.epm-rl { position: sticky; top: 84px; max-height: calc(100vh - 104px); display: flex; flex-direction: column; overflow: hidden; }
.epm-rl__head { padding: 14px 14px 10px; border-bottom: 1px solid var(--border-color, #e5e7eb); }
.epm-rl__search { position: relative; } .epm-rl__search > i { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--text-secondary-light); font-size: 15px; pointer-events: none; }
.epm-rl__search .form-control { padding-left: 32px; border-radius: 8px; }
.epm-rl__chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.epm-rl__chip { border: 1px solid var(--border-color, #e5e7eb); background: transparent; border-radius: 999px; padding: 2px 10px; font-size: 12px; color: var(--text-primary-light); }
.epm-rl__chip b { font-weight: 700; } .epm-rl__chip.active { background: var(--primary-600); border-color: var(--primary-600); color: #fff; }
.epm-rl__list { overflow-y: auto; padding: 6px 8px 10px; flex: 1; min-height: 0; }
.epm-rl__lv { position: sticky; top: -6px; z-index: 1; background: var(--white, #fff); font-size: 11.5px; font-weight: 600; color: var(--text-secondary-light); padding: 8px 6px 4px; display: flex; align-items: center; gap: 6px; }
.epm-rl__lv .em-level { width: 20px; height: 20px; font-size: 11px; line-height: 20px; }
.epm-rl__item { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; color: var(--text-primary-light); font-size: 13.5px; }
.epm-rl__item:hover { background: rgba(17,24,39,.05); color: var(--text-primary-light); }
.epm-rl__item.is-sel { background: var(--primary-600); color: #fff; } .epm-rl__item.is-sel .epm-rl__meta { color: rgba(255,255,255,.8); }
.epm-rl__dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: #16a34a; }
.epm-rl__item.is-inactive .epm-rl__dot { background: #9ca3af; } .epm-rl__item.is-blocked .epm-rl__dot { background: #dc2626; } .epm-rl__item.is-on .epm-rl__dot { background: #0ea5e9; }
.epm-rl__item.is-inactive:not(.is-sel) .epm-rl__name { color: var(--text-secondary-light); }
.epm-rl__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.epm-rl__meta { font-size: 11.5px; color: var(--text-secondary-light); white-space: nowrap; }
.epm-rl__st { font-size: 10.5px !important; padding: 1px 6px !important; }
.epm-pm-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 24px; border-bottom: 1px solid var(--border-color, #e5e7eb); background: var(--neutral-50, #f8fafc); }
.epm-pm-scroll { max-height: calc(100vh - 330px); min-height: 320px; overflow: auto; }
.epm-pm-scroll thead th { position: sticky; top: 0; z-index: 2; background: var(--white, #fff); box-shadow: inset 0 -1px 0 var(--border-color, #e5e7eb); }
.epm-pm-foot { position: sticky; bottom: 0; z-index: 3; border-top: 1px solid var(--border-color, #e5e7eb); box-shadow: 0 -6px 14px rgba(15,23,42,.06); border-radius: 0 0 12px 12px; }
[data-theme="dark"] .epm-rl__lv, [data-theme="dark"] .epm-pm-scroll thead th { background: var(--base, #1b2431); }
[data-theme="dark"] .epm-pm-bar { background: rgba(255,255,255,.03); }
[data-theme="dark"] .epm-rl__item:hover { background: rgba(255,255,255,.06); }
@media (max-width: 991px) { .epm-rl { position: static; max-height: 420px; } .epm-pm-scroll { max-height: none; } }

/* ---- v3.39.0 text links in the page content (e.g. "CS-THPA-2026-00001" in a table) are blue and bold; buttons, tabs, menus, badges and pagination keep their own style */
.dashboard-main-body a:is(:not([class]), [class=""], .fw-semibold, .fw-bold, .fw-medium, .text-sm, .text-xs, .text-break, .text-nowrap, .d-block, .js-verify-go):not(.btn):not(.nav-link):not(.dropdown-item):not(.page-link):not(.epm-badge):not(.epm-action-btn) {
  color: #1d4ed8; font-weight: 600; text-decoration: none;
}
.dashboard-main-body a:is(:not([class]), [class=""], .fw-semibold, .fw-bold, .fw-medium, .text-sm, .text-xs, .text-break, .text-nowrap, .d-block):not(.btn):not(.nav-link):not(.dropdown-item):not(.page-link):not(.epm-badge):not(.epm-action-btn):hover { color: #1e40af; text-decoration: underline; }
.dashboard-main-body :is(.nav, .dropdown-menu, .pagination, .breadcrumb, .btn-group, .epm-rl__list, .epm-dtabs) a { font-weight: inherit; }
[data-theme="dark"] .dashboard-main-body a:is(:not([class]), [class=""], .fw-semibold, .fw-bold, .fw-medium, .text-sm, .text-xs, .text-break, .text-nowrap, .d-block):not(.btn):not(.nav-link):not(.dropdown-item):not(.page-link):not(.epm-badge):not(.epm-action-btn) { color: #93c5fd; }

/* ---- v3.39.0 sidebar company: a card (code, name, main / subsidiary · client) that opens the list of companies (grouped by client) */
.epm-side-co__card { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 1px solid var(--neutral-200, #e5e7eb); border-radius: 12px; background: var(--white, #fff); text-align: start; color: var(--text-primary-light); min-width: 0; }
button.epm-side-co__card:hover { border-color: var(--primary-600); background: color-mix(in srgb, var(--primary-600) 4%, var(--white, #fff)); }
button.epm-side-co__card:focus-visible { outline: 2px solid var(--primary-600); outline-offset: 2px; }
.epm-side-co__card[aria-expanded="true"] { border-color: var(--primary-600); border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.epm-side-co__card .epm-side-co__code, .epm-side-co__opt .epm-side-co__code { width: 38px; height: 30px; display: inline-flex; align-items: center; justify-content: center; padding: 0; font-size: 11px; border-radius: 8px; letter-spacing: .02em; }
.epm-side-co__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.epm-side-co__txt b { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.epm-side-co__txt small { font-size: 11px; color: var(--text-secondary-light); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; }
.epm-side-co__chev { color: var(--text-secondary-light); font-size: 16px; flex-shrink: 0; }
.epm-side-co__list { border: 1px solid var(--primary-600); border-top: 0; border-radius: 0 0 12px 12px; padding: 6px; max-height: 300px; overflow-y: auto; background: var(--white, #fff); }
.epm-side-co__find { margin-bottom: 6px; border-radius: 8px; }
.epm-side-co__grp { font-size: 10.5px; font-weight: 700; color: var(--text-secondary-light); padding: 6px 6px 2px; text-transform: none; }
.epm-side-co__opt { display: flex; align-items: center; gap: 8px; width: 100%; border: 0; background: transparent; padding: 6px; border-radius: 8px; text-align: start; color: var(--text-primary-light); }
.epm-side-co__opt:hover { background: rgba(17,24,39,.05); }
.epm-side-co__opt.is-on { background: color-mix(in srgb, var(--primary-600) 10%, transparent); }
.epm-side-co__opt .epm-side-co__code { width: 34px; height: 26px; font-size: 10.5px; }
.epm-side-co__opt > i { color: var(--primary-600); font-size: 16px; }
.epm-side-co .epm-side-co__note { display: none; }
[data-theme="dark"] .epm-side-co__card, [data-theme="dark"] .epm-side-co__list { background: var(--base, #1b2431); }
[data-theme="dark"] .epm-side-co__opt:hover { background: rgba(255,255,255,.06); }

/* v3.39.0 C63 DB00 My Day cockpit */
.md{display:flex;flex-direction:column;gap:14px}
.md-head{display:flex;align-items:center;gap:16px;flex-wrap:wrap;background:linear-gradient(120deg,#0f766e,#115e59);color:#fff;border-radius:16px;padding:18px 22px}
.md .md-head h3{margin:0;font-size:20px!important;line-height:1.3;font-weight:700;color:#fff}.md-head p{margin:2px 0 0;font-size:12.5px;opacity:.85;color:#fff}
.md-chips{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap}.md-chip{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);border-radius:12px;padding:7px 12px;font-size:11.5px;line-height:1.25;min-width:96px}.md-chip b{display:block;font-size:17px}
.md-qa{display:flex;gap:8px;flex-wrap:wrap}.md-qa a{display:inline-flex;gap:6px;align-items:center;background:var(--white,#fff);border:1px solid #cce6e2;border-radius:10px;padding:7px 12px;font-size:12.5px;font-weight:600;color:#0f766e!important}.md-qa a:hover{background:#f0fdfa}
.md-team{display:flex;gap:10px;align-items:center;flex-wrap:wrap;background:#f0fdfa;border:1px solid #ccfbf1;border-radius:14px;padding:10px 14px;font-size:12.5px;color:#134e4a!important;font-weight:500!important}
.md-team span{background:#fff;border-radius:10px;padding:5px 10px;box-shadow:0 0 0 1px #d1fae5}.md-team b{font-size:15px}.md-team em{margin-left:auto;font-style:normal;font-weight:600;color:#0f766e}
.md-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:16px;align-items:start}@media (max-width:1199px){.md-grid{grid-template-columns:1fr}}
.md-main,.md-side{display:flex;flex-direction:column;gap:14px}
.md-todo,.md-tile,.md-box{background:var(--white,#fff);border-radius:14px;box-shadow:0 0 0 1px #e6ebea}
.md .md-todo h4{margin:0;padding:12px 16px;border-bottom:1px solid #eef2f6;font-size:14px!important;line-height:1.4;font-weight:700;display:flex;align-items:center;gap:8px}.md-todo h4 small{margin-left:auto;font-weight:500;font-size:11.5px;color:#6b7280}
.md-cnt{font-size:11px;font-weight:700;border-radius:999px;padding:1px 8px;background:#e0f2fe;color:#075985}.md-cnt.is-red{background:#fee2e2;color:#991b1b}
.md-td{display:grid;grid-template-columns:46px minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:10px 16px;border-top:1px solid #f1f5f4;font-size:12.5px}.md-todo h4+.md-td{border-top:0}
.md-td .md-tt{font-weight:600;font-size:13px;color:inherit!important}.md-td small{display:block;color:#6b7280;font-size:11.5px}
.md-tg{display:inline-grid;place-items:center;height:22px;border-radius:6px;font-size:10px;font-weight:700;color:#fff;background:#64748b}.md-tg-lv{background:#0369a1}.md-tg-cl{background:#b45309}.md-tg-ep{background:#4f46e5}.md-tg-tn{background:#7c3aed}.md-tg-ts{background:#0f766e}.md-tg-tv{background:#0e7490}.md-tg-pm{background:#475569}.md-tg-hr{background:#be185d}
.md-due{font-size:11px;font-weight:700;border-radius:999px;padding:2px 9px;white-space:nowrap}.md-due-r{background:#fee2e2;color:#991b1b}.md-due-a{background:#fef3c7;color:#92400e}.md-due-g{background:#e0f2fe;color:#075985}
.md-go{font-size:11.5px;font-weight:700;color:#fff!important;background:#0f766e;border-radius:8px;padding:5px 10px;white-space:nowrap}.md-go.is-o{background:transparent;color:#0f766e!important;border:1px solid #99d5cc}
.md-empty{padding:22px;text-align:center;color:#6b7280;font-size:13px}.md-empty i{display:block;font-size:26px;color:#10b981}.md-more{margin:0;padding:8px 16px;font-size:11.5px;color:#6b7280}
.md-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}
.md-tile{padding:13px 15px;font-size:12px;display:flex;flex-direction:column;gap:6px;border-top:4px solid var(--c,#0f766e)}
.md-th{display:flex;align-items:center;gap:8px;font-weight:700;font-size:12.5px}.md-th>i{width:24px;height:24px;border-radius:7px;background:color-mix(in srgb,var(--c) 14%,#fff);color:var(--c);display:inline-grid;place-items:center}.md-th a{margin-left:auto;color:#6b7280!important}
.md-big{font-size:22px;font-weight:700;line-height:1.1}.md-big small{font-size:12px;color:#6b7280;font-weight:500}.md-note{color:#6b7280;font-size:11.5px}
.md-bar{height:7px;border-radius:99px;background:#eef2f6;overflow:hidden}.md-bar span{display:block;height:100%;background:var(--c)}
.md-mini{display:flex;gap:5px;align-items:flex-end;height:44px}.md-mini span{flex:1;background:var(--c);border-radius:4px 4px 0 0;opacity:.85}.md-mini span.x{background:#e5e7eb}
.md-lbl{display:flex;justify-content:space-between;color:#6b7280;font-size:10.5px}.md-lbl span{flex:1;text-align:center}.md-lbl .is-today{color:#0f766e;font-weight:700}
.md-ring{--p:0;width:58px;height:58px;border-radius:50%;background:conic-gradient(var(--c) 0 calc(var(--p)*1%),#e0e7ff calc(var(--p)*1%) 100%);display:grid;place-items:center;flex:none}.md-ring span{width:42px;height:42px;border-radius:50%;background:var(--white,#fff);display:grid;place-items:center;font-weight:700;font-size:13px}
.md-row{display:flex;gap:6px;align-items:center;justify-content:space-between;font-size:12px;padding:2px 0}
.md-box{padding:13px 15px;font-size:12px}.md .md-box h4{margin:0 0 8px;font-size:13.5px!important;line-height:1.4;font-weight:700;display:flex;justify-content:space-between}.md-box h4 a{font-size:11.5px}
.md-day{display:grid;grid-template-columns:48px 1fr;gap:8px;padding:6px 0;border-top:1px solid #f1f5f4}.md-box h4+.md-day{border-top:0}.md-day b{font-size:12px}.md-day.is-today b{color:#0f766e}
.md-ev{display:block;border-radius:7px;padding:3px 8px;margin-top:2px;font-size:11px;background:#f1f5f9;color:#475569}.md-ev-h{background:#fef3c7;color:#92400e}.md-ev-l{background:#e0f2fe;color:#075985}.md-ev-n{background:#ede9fe;color:#5b21b6}.md-ev-d{background:#fee2e2;color:#991b1b}.md-ev-t{background:#ccfbf1;color:#115e59}.md-ev-none{background:none;color:#cbd5e1;padding-left:0}
.md-notice{display:block;padding:8px 10px;border-radius:8px;background:#f8fafc;margin-bottom:6px;color:inherit!important;font-weight:400!important}.md-notice b{font-size:12.5px}.md-notice small{display:block;color:#6b7280}.md-notice i{color:#d97706}
[data-theme="dark"] .md-todo,[data-theme="dark"] .md-tile,[data-theme="dark"] .md-box{box-shadow:0 0 0 1px rgba(255,255,255,.08)}[data-theme="dark"] .md-team{background:rgba(15,118,110,.15);border-color:rgba(15,118,110,.4);color:#ccfbf1!important}[data-theme="dark"] .md-team span{background:transparent}
[data-theme="dark"] .md-notice{background:rgba(255,255,255,.04)}[data-theme="dark"] .md-qa a{background:transparent;border-color:rgba(153,213,204,.35);color:#5eead4!important}
@media (max-width:575px){.md-td{grid-template-columns:40px minmax(0,1fr);}.md-td .md-due,.md-td .md-go{grid-column:2;justify-self:start}.md-chips{margin-left:0}}

/* v3.40.0 C65 GENERAL → Tasks & Activities */
.gt-seg{display:inline-flex;background:#eef2f1;border-radius:10px;padding:3px;gap:2px;flex-wrap:wrap}.gt-seg a,.gt-seg button{border:0;background:transparent;border-radius:8px;padding:5px 11px;font-size:12.5px;font-weight:600;color:#475569!important;white-space:nowrap}
.gt-seg a.is-on,.gt-seg button.is-on{background:#fff;color:#0f766e!important;box-shadow:0 1px 2px rgba(16,24,40,.12)}[data-theme="dark"] .gt-seg{background:rgba(255,255,255,.06)}[data-theme="dark"] .gt-seg .is-on{background:rgba(255,255,255,.12);color:#5eead4!important}
.cs-kpis>a{background:#fff;border-radius:12px;padding:12px 14px;box-shadow:0 0 0 1px #e6ebea;color:inherit!important;font-weight:400!important}.cs-kpis>a:hover{box-shadow:0 0 0 1px #99d5cc}[data-theme="dark"] .cs-kpis>a{background:var(--white)}
.gt-quick{display:flex;gap:8px;align-items:center;background:#fff;border-radius:12px;padding:8px 12px;box-shadow:0 0 0 1px #e6ebea}.gt-quick>i{font-size:20px;color:#0f766e}.gt-quick .form-control,.gt-quick .form-select{border:0;box-shadow:none;background:transparent}[data-theme="dark"] .gt-quick{background:var(--white)}
.gt-src{display:inline-grid;place-items:center;min-width:24px;height:18px;padding:0 5px;border-radius:5px;font-size:10px;font-weight:700;color:#fff}
.gt-tag{display:inline-block;font-size:10.5px;border-radius:6px;padding:0 6px;background:#f1f5f9;color:#475569}
.gt-pr{width:8px;height:8px;border-radius:50%;display:inline-block;flex:none}.gt-pr-high{background:#dc2626}.gt-pr-medium{background:#f59e0b}.gt-pr-low{background:#94a3b8}
.gt-av{width:20px;height:20px;border-radius:50%;background:#ccfbf1;color:#115e59;font-size:9px;font-weight:700;display:inline-grid;place-items:center}
.gt-kb{display:grid;grid-template-columns:repeat(4,minmax(220px,1fr));gap:12px;overflow-x:auto;padding-bottom:4px}.gt-kb-people{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}
.gt-col{background:#eef2f1;border-radius:12px;padding:8px;display:flex;flex-direction:column;min-height:200px;transition:box-shadow .15s}.gt-col.is-over{box-shadow:inset 0 0 0 2px #0f766e}
.gt-col header{display:flex;justify-content:space-between;align-items:center;padding:4px 6px 8px;font-size:12.5px;font-weight:700}.gt-col header b{background:#fff;border-radius:999px;padding:0 8px;font-size:11px}
.gt-col-body{display:flex;flex-direction:column;gap:7px;flex:1}.gt-col-empty{font-size:12px;color:#94a3b8;text-align:center;margin:16px 0}
.gt-card{background:#fff;border-radius:10px;padding:9px 11px;box-shadow:0 0 0 1px #e5ebea;font-size:12px;display:flex;flex-direction:column;gap:5px}.gt-card[draggable]{cursor:grab}.gt-card.is-drag{opacity:.5}.gt-card.is-ext{background:#f8fafc}
.gt-card-t{font-weight:600;font-size:12.5px;color:inherit!important;line-height:1.35}.gt-card-m{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
[data-theme="dark"] .gt-col{background:rgba(255,255,255,.04)}[data-theme="dark"] .gt-card{background:var(--white);box-shadow:0 0 0 1px rgba(255,255,255,.08)}[data-theme="dark"] .gt-col header b{background:rgba(255,255,255,.1)}
.gt-desc{background:#f8fafc;border-radius:10px;padding:10px 12px;font-size:13px;margin-top:10px;white-space:normal}[data-theme="dark"] .gt-desc{background:rgba(255,255,255,.04)}
.gt-ck{display:flex;gap:8px;align-items:center;padding:4px 0;font-size:13px;border-bottom:1px dashed #eef2f6}.gt-ck.is-done>span{color:#94a3b8;text-decoration:line-through}
.gt-ck-box{width:18px;height:18px;border-radius:5px;border:1.5px solid #94a3b8;background:#fff;display:inline-grid;place-items:center;padding:0;color:#fff;flex:none}.gt-ck.is-done .gt-ck-box{background:#0f766e;border-color:#0f766e}
.gt-com{padding:8px 0;border-bottom:1px solid #f1f5f4;font-size:13px}.gt-com.is-ev{font-size:12px;color:#6b7280}.gt-com.is-ev b{font-weight:600}.gt-at{color:#1d4ed8;font-weight:600}
.gt-acts{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}.gt-act{display:flex;flex-direction:column;gap:6px;background:#fff;border-radius:14px;padding:14px 16px;box-shadow:0 0 0 1px #e6ebea;color:inherit!important;font-weight:400!important}.gt-act:hover{box-shadow:0 0 0 1px #99d5cc}.gt-act b{font-size:14px}
[data-theme="dark"] .gt-act{background:var(--white)}
.gt-pbar{height:7px;border-radius:99px;background:#eef2f6;overflow:hidden}.gt-pbar span{display:block;height:100%;background:#0f766e}.gt-pbar-lg{height:10px}
.gt-rag{width:12px;height:12px;border-radius:50%;display:inline-block;vertical-align:-1px}.gt-rag-r{background:#dc2626}.gt-rag-a{background:#f59e0b}.gt-rag-g{background:#16a34a}
.gt-gantt{position:relative;height:14px;background:#f1f5f9;border-radius:4px}.gt-gantt span{position:absolute;top:2px;bottom:2px;border-radius:3px;background:#0f766e}.gt-gantt span.gt-g-todo{background:#94a3b8}.gt-gantt span.gt-g-waiting{background:#f59e0b}.gt-gantt span.gt-g-done{background:#86efac}.gt-gantt span.gt-g-cancelled{background:#e5e7eb}.gt-gantt span.is-late{background:#dc2626}
.gt-gantt i{position:absolute;top:-2px;bottom:-2px;width:2px;background:#1d4ed8}
.gt-load{display:flex;height:8px;border-radius:99px;background:#eef2f6;overflow:hidden}.gt-load span{display:block;height:100%;background:#0f766e}.gt-load span.is-ext{background:#99d5cc}
.gt-cal-h,.gt-cal-g{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.gt-cal-h div{padding:8px;font-size:12px;font-weight:700;color:#475569;border-bottom:1px solid #eef2f6}
.gt-day{min-height:112px;border-right:1px solid #f1f5f4;border-bottom:1px solid #f1f5f4;padding:6px;display:flex;flex-direction:column;gap:2px;min-width:0}.gt-day:nth-child(7n){border-right:0}
.gt-day.is-out{background:#fafafa;opacity:.55}.gt-day.is-we{background:#fbfcfc}.gt-day.is-hol{background:#fffbeb}.gt-day.is-today{box-shadow:inset 0 0 0 2px #0f766e}
.gt-day-n{display:flex;justify-content:space-between;gap:4px;font-size:12px;font-weight:700}.gt-day-n small{font-weight:500;color:#92400e;font-size:10px;text-align:right}
.gt-ev{display:flex;gap:4px;align-items:center;font-size:11px;padding:2px 4px;border-radius:6px;background:#f1f5f9;color:#111827!important;font-weight:400!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gt-ev.gt-t-late{background:#fee2e2}.gt-ev.gt-t-done{opacity:.55}.gt-ev.gt-t-high{background:#ffedd5}
.gt-ev-k{display:inline-block;font-size:9px;font-weight:700;border-radius:4px;padding:0 4px;background:#0f766e;color:#fff;flex:none}.gt-k-mtg{background:#334155}.gt-k-act{background:#4f46e5}.gt-k-lv{background:#0369a1}.gt-k-tn{background:#7c3aed}.gt-k-tv{background:#0e7490}.gt-k-x{background:#64748b}
.gt-more summary{font-size:11px;color:#0f766e;cursor:pointer}.gt-ai{padding:7px 0;border-bottom:1px solid #f1f5f4}
[data-theme="dark"] .gt-day.is-out,[data-theme="dark"] .gt-day.is-we{background:rgba(255,255,255,.02)}[data-theme="dark"] .gt-day.is-hol{background:rgba(245,158,11,.08)}[data-theme="dark"] .gt-ev{background:rgba(255,255,255,.06);color:#e5e7eb!important}
@media (max-width:767px){.gt-kb{grid-template-columns:repeat(4,240px)}.gt-day{min-height:70px}.gt-ev{font-size:0;padding:2px}.gt-ev .gt-ev-k{font-size:9px}.gt-quick{flex-wrap:wrap}}

.md .md-todo h4 i{font-size:16px}.md-qa a.md-qa-a{text-decoration:none!important;font-weight:600!important}
.gt-ck small{color:#94a3b8;font-size:11px}

/* v3.40.0 C64 quotation sheet (SD12 preview, SD14, SD01 print, customer link) */
.cq-doc{position:relative;background:#fff;color:#111827;max-width:980px;margin:0 auto 16px;padding:28px 32px;border-radius:10px;box-shadow:0 1px 3px rgba(15,23,42,.1);font-size:12.5px;line-height:1.45;overflow:hidden}
.cq-wrap .cq-doc{max-width:none;margin:0;box-shadow:0 0 0 1px #e5e7eb}
.cq-wm{position:absolute;top:38%;left:-10%;right:-10%;text-align:center;transform:rotate(-18deg);font-size:54px;font-weight:800;color:rgba(220,38,38,.08);pointer-events:none;letter-spacing:4px}
.cq-head{display:grid;grid-template-columns:1fr 300px;gap:20px;align-items:start}.cq-co b{display:block;font-size:16px;margin:4px 0 2px}.cq-co div{font-size:11.5px;color:#374151}.cq-co img{display:block;margin-bottom:4px}
.cq-title{font-size:26px;font-weight:800;color:#0e7490;text-align:right;margin-bottom:6px}.cq-meta table{width:100%;font-size:12px}.cq-meta td{padding:2px 0}.cq-meta td:first-child{color:#6b7280;padding-right:10px}
.cq-parties{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:18px}.cq-parties small,.cq-desc small,.cq-pay small{display:block;font-size:10.5px;font-weight:700;color:#0e7490;text-transform:none;margin-bottom:2px}.cq-parties b{display:block}
.cq-desc{margin-top:14px;padding:10px 12px;background:#f8fafc;border-radius:8px}
.cq-lines{width:100%;border-collapse:collapse;margin-top:14px;font-size:12px}.cq-lines th{background:#0e7490;color:#fff;font-weight:600;padding:7px 8px;text-align:left;vertical-align:bottom;font-size:11.5px}.cq-lines th small{display:block;font-weight:400;opacity:.85;font-size:10px}
.cq-lines td{padding:7px 8px;border-bottom:1px solid #e5e7eb;vertical-align:top}.cq-lines .r{text-align:right;white-space:nowrap}.cq-lines ul{margin:3px 0 0;padding-left:16px;color:#4b5563;font-size:11.5px}.cq-lines tfoot td{background:#f0f9ff;font-weight:700;border-bottom:0}
.cq-u{color:#6b7280;font-size:10.5px}.cq-empty{text-align:center;color:#94a3b8;padding:20px!important}
.cq-pay{display:flex;gap:40px;margin-top:14px}.cq-notes,.cq-terms{margin-top:12px;font-size:11.5px}.cq-terms ol{margin:4px 0 0;padding-left:18px}.cq-terms li{margin-top:2px}.cq-foot{margin-top:14px;text-align:center;font-size:11px;color:#6b7280}
.cq-ed .cq-raw{margin-top:6px;display:flex;flex-direction:column;gap:3px}.cq-ed .cq-raw div{display:flex;gap:6px;align-items:center;font-size:11.5px;color:#475569}.cq-ed .cq-raw select{width:auto;max-width:200px;font-size:11px;padding:1px 24px 1px 6px;margin-left:auto}
.cq-src{display:inline-block;font-size:9.5px;font-weight:700;border-radius:4px;padding:0 5px;background:#e0f2fe;color:#075985;flex:none}
@media (max-width:767px){.cq-doc{padding:16px}.cq-head,.cq-parties{grid-template-columns:1fr}.cq-title{text-align:left}.cq-lines{display:block;overflow-x:auto}}
@media print{.cq-doc{box-shadow:none;padding:0}.cq-wm{color:rgba(220,38,38,.12)}}

/* ---- v3.41.0 C68 NB00 Notice Board */
.nb-pins { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; margin-bottom: 16px; }
.nb-pin { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 150px; padding: 18px 20px; border-radius: 14px; color: #fff !important; overflow: hidden; text-decoration: none;
  background: var(--img, none) center / cover, linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #0b1320)); }
.nb-pin::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.55)); }
.nb-pin > * { position: relative; }
.nb-pin b { font-size: 18px; line-height: 1.3; }
.nb-pin .nb-pin-sub { font-size: 13px; opacity: .9; }
.nb-pin-tag { align-self: flex-start; font-size: 11px; font-weight: 700; background: rgba(255,255,255,.92); color: #0f172a; border-radius: 999px; padding: 2px 9px; }
.nb-pin-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 12px; opacity: .92; margin-top: auto; }
.nb-grid { display: grid; grid-template-columns: 220px minmax(300px, 400px) minmax(0, 1fr); gap: 16px; align-items: start; }
.nb-filters, .nb-feed, .nb-read { background: var(--white); border-radius: 12px; box-shadow: 0 0 0 1px var(--neutral-200, #e5e7eb); }
.nb-filters { padding: 10px; position: sticky; top: 90px; }
.nb-search { position: relative; margin-bottom: 8px; }
.nb-search i { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: #94a3b8; }
.nb-search input { width: 100%; border: 1px solid var(--neutral-200, #e5e7eb); border-radius: 8px; padding: 7px 10px 7px 30px; font-size: 13px; background: transparent; color: inherit; }
.nb-f { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; font-size: 13px; color: var(--text-secondary-light, #4b5563) !important; font-weight: 500 !important; text-decoration: none; }
.nb-f:hover { background: var(--neutral-50, #f8fafc); }
.nb-f.on { background: color-mix(in srgb, var(--primary-600) 10%, transparent); color: var(--primary-600) !important; font-weight: 700 !important; }
.nb-f em { margin-left: auto; font-style: normal; font-size: 11px; color: #64748b; }
.nb-f s { width: 9px; height: 9px; border-radius: 3px; display: inline-block; text-decoration: none; }
.nb-f .nb-dot { font-size: 9px; color: var(--primary-600); }
.nb-sep { border-top: 1px solid var(--neutral-200, #e5e7eb); margin: 6px 0; }
.nb-feed { overflow: hidden; }
.nb-day { font-size: 11px; font-weight: 700; color: #64748b; padding: 8px 14px 4px; background: var(--neutral-50, #f8fafc); }
.nb-item { display: grid; grid-template-columns: 1fr 10px; gap: 10px; padding: 11px 14px 11px 16px; border-top: 1px solid var(--neutral-200, #eef2f6); position: relative; text-decoration: none; color: inherit !important; font-weight: 400 !important; }
.nb-item::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; border-radius: 0 3px 3px 0; background: var(--c); }
.nb-item:hover { background: var(--neutral-50, #f8fafc); }
.nb-item.on { background: color-mix(in srgb, var(--primary-600) 7%, transparent); }
.nb-item b { font-size: 13.5px; font-weight: 600; color: var(--text-primary-light, #111827); }
.nb-item.unread b { font-weight: 800; }
.nb-item p { margin: 2px 0 4px; font-size: 12.5px; color: var(--text-secondary-light, #4b5563); }
.nb-meta { font-size: 11.5px; color: #64748b; }
.nb-unread { width: 9px; height: 9px; border-radius: 50%; background: var(--primary-600); margin-top: 6px; }
.nb-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; border-radius: 999px; padding: 1px 8px; background: var(--neutral-100, #f1f5f9); color: #475569; }
.nb-chip-ack { background: #fee2e2; color: #991b1b; }
.nb-cat { font-size: 11px; font-weight: 700; border-radius: 999px; padding: 2px 9px; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); }
.nb-read { padding: 20px 24px; min-height: 420px; }
.nb .nb-read h2.nb-title { font-size: 22px !important; line-height: 1.3; margin: 4px 0 6px; }
.nb .nb-read h3 { font-size: 15px !important; margin: 0 0 10px; }
.nb-by { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #64748b; margin-bottom: 14px; }
.nb-cover { width: 100%; max-height: 300px; object-fit: cover; border-radius: 10px; margin-bottom: 14px; }
.nb-text { font-size: 14px; line-height: 1.65; max-width: 72ch; }
.nb-text p { margin: 0 0 10px; } .nb-text ul, .nb-text ol { margin: 0 0 10px; padding-left: 22px; }
.nb-event { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; border: 1px solid color-mix(in srgb, #7c3aed 30%, transparent); background: color-mix(in srgb, #7c3aed 6%, transparent); border-radius: 12px; padding: 12px 14px; margin: 12px 0; font-size: 13px; }
.nb-ev-date { width: 52px; text-align: center; background: #7c3aed; color: #fff; border-radius: 10px; padding: 4px 0; line-height: 1.1; }
.nb-ev-date b { display: block; font-size: 20px; } .nb-ev-date span { font-size: 11px; text-transform: uppercase; }
.nb-files { display: flex; flex-wrap: wrap; gap: 8px 16px; background: var(--neutral-50, #f8fafc); border-radius: 10px; padding: 10px 12px; margin: 12px 0; font-size: 13px; }
.nb-files small { color: #64748b; }
.nb-ack { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: #fef2f2; border: 1px solid #fecaca; border-radius: 12px; padding: 12px 14px; margin: 12px 0; font-size: 13px; }
.nb-ack.done { background: #f0fdf4; border-color: #bbf7d0; color: #166534; justify-content: flex-start; }
.nb-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 12px 0 4px; }
.nb-reach { border-top: 1px dashed var(--neutral-200, #e5e7eb); margin-top: 16px; padding-top: 14px; }
.nb-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.nb-kpis div { border-radius: 10px; padding: 10px 12px; box-shadow: 0 0 0 1px var(--neutral-200, #e5e7eb); }
.nb-kpis small { display: block; font-size: 11.5px; color: #64748b; } .nb-kpis b { font-size: 20px; } .nb-kpis span { display: block; font-size: 11px; color: #64748b; }
.nb-comments { border-top: 1px dashed var(--neutral-200, #e5e7eb); margin-top: 16px; padding-top: 14px; }
.nb-cm { display: flex; gap: 10px; padding: 8px 0; font-size: 13px; } .nb-cm small { color: #94a3b8; } .nb-cm.hidden-cm { opacity: .5; }
.nb-cm-form { display: flex; gap: 8px; align-items: flex-end; margin-top: 8px; }
.nb-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 48px 16px; color: #64748b; text-align: center; }
.nb-empty i { font-size: 34px; opacity: .5; }
.nb-back { display: none; font-size: 13px; margin-bottom: 8px; }
.nb-banner { display: flex; align-items: center; gap: 10px; background: #fef2f2; border: 1px solid #fecaca; color: #7f1d1d; border-radius: 12px; padding: 10px 14px; margin-bottom: 16px; font-size: 13px; }
.nb-banner > i { font-size: 18px; color: #dc2626; }
.md-notice.is-unread b::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--primary-600); margin-right: 6px; vertical-align: 2px; }
.nb-tools { display: flex; gap: 4px; align-items: center; border: 1px solid var(--neutral-200, #e5e7eb); border-bottom: 0; border-radius: 8px 8px 0 0; padding: 4px 6px; }
.nb-tools button { border: 0; background: transparent; border-radius: 6px; padding: 3px 8px; font-size: 13px; color: inherit; }
.nb-tools button:hover, .nb-tools button.on { background: var(--neutral-100, #f1f5f9); }
.nb-tools + textarea, .nb-tools ~ .nb-preview { border-top-left-radius: 0 !important; border-top-right-radius: 0 !important; }
.nb-preview { border: 1px solid var(--neutral-200, #e5e7eb); border-radius: 0 0 8px 8px; padding: 10px 12px; min-height: 200px; }
@media (max-width: 1399px) { .nb-grid { grid-template-columns: 200px minmax(260px, 340px) minmax(0, 1fr); } }
@media (max-width: 1099px) { .nb-grid { grid-template-columns: 1fr; } .nb-filters { position: static; display: flex; flex-wrap: wrap; gap: 4px; } .nb-filters .nb-search { flex-basis: 100%; } .nb-sep { display: none; }
  .nb-has-view .nb-feed, .nb-has-view .nb-filters, .nb-has-view .nb-pins { display: none; } .nb-has-view .nb-back { display: inline-flex; gap: 4px; } .nb:not(.nb-has-view) .nb-read { display: none; } }
@media print { .nb-filters, .nb-feed, .nb-pins, .nb-actions, .nb-reach, .nb-cm-form { display: none !important; } .nb-grid { display: block; } }

/* ---- v3.41.0 C67 EP01 KPI library: templates outside the employee's group */
.epm-lib-table tr.epm-lib-locked td { opacity: .6; }
.epm-lib-table tr.epm-lib-locked td:last-child { opacity: 1; }

/* ---- v3.41.0 C69 login pictures: cross-fade, caption; management grid */
.lx-panel > .lx-ph { opacity: 0; transition: opacity 1.5s ease; }
.lx-panel > .lx-ph.is-on { opacity: 1; }
.lx-cap { color: rgba(255,255,255,.85); font-size: 13px; margin: 6px 0 0; transition: opacity .6s ease; }
.lx-cap.is-out { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .lx-panel > .lx-ph, .lx-cap { transition: none; } }
.lp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.lp-item { border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--neutral-200, #e5e7eb); background: var(--white); }
.lp-item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }

/* ---- v3.42.0 C71 ATS */
.at-kb { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; align-items: start; }
.at-col { background: var(--neutral-50, #f1f5f4); border-radius: 12px; padding: 8px; min-height: 220px; }
.at-col.over { outline: 2px dashed var(--primary-600); }
.at .at-col h3, .at-col h3 { font-size: 13px !important; margin: 2px 4px 8px; display: flex; gap: 6px; }
.at-col h3 span { margin-left: auto; color: #64748b; font-weight: 500; }
.at-card { display: flex; flex-direction: column; gap: 3px; background: var(--white); border-radius: 10px; padding: 8px 10px; margin-bottom: 6px; box-shadow: 0 0 0 1px var(--neutral-200, #e5e7eb); color: inherit !important; font-weight: 400 !important; cursor: grab; }
.at-card b { font-size: 13px; color: var(--text-primary-light, #111827); } .at-card span { font-size: 12px; color: var(--text-secondary-light, #6b7280); }
.at-dl { display: grid; grid-template-columns: 130px 1fr; gap: 4px 10px; font-size: 13px; margin: 0; } .at-dl dt { color: #64748b; font-weight: 500; } .at-dl dd { margin: 0; }
.at-hist { list-style: none; padding: 0; margin: 0; } .at-hist li { padding: 6px 0; border-bottom: 1px solid var(--neutral-200, #eef2f6); }
.at-star { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; border: 1px solid var(--neutral-200, #e5e7eb); border-radius: 6px; padding: 2px 6px; cursor: pointer; }
.at-letter { border: 1px solid var(--neutral-200, #e5e7eb); border-radius: 10px; padding: 16px 20px; font-size: 14px; line-height: 1.6; max-width: 72ch; background: var(--white); }
.at-bar { height: 10px; background: var(--neutral-100, #f1f5f9); border-radius: 5px; overflow: hidden; } .at-bar i { display: block; height: 10px; background: var(--primary-600); }
.at-public .at-hero { padding: 24px 0 8px; } .at-public .at-hero h1 { font-size: 28px !important; margin: 0 0 6px; } .at-public .at-hero p { color: #475569; max-width: 70ch; }
.at-filter { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 16px; } .at-filter button { border: 1px solid var(--neutral-200, #d1d5db); background: var(--white); border-radius: 999px; padding: 4px 12px; font-size: 13px; }
.at-filter button.on { background: var(--primary-600); border-color: var(--primary-600); color: #fff; }
.at-jobs { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.at-job { display: flex; flex-direction: column; gap: 4px; background: var(--white); border-radius: 12px; padding: 16px 18px; box-shadow: 0 0 0 1px var(--neutral-200, #e5e7eb); color: inherit !important; font-weight: 400 !important; }
.at-job:hover { box-shadow: 0 0 0 2px var(--primary-600); } .at-job b { font-size: 16px; color: var(--text-primary-light, #111827); } .at-job span { font-size: 13px; color: #64748b; } .at-job small { color: #64748b; }
.at-steps { display: flex; gap: 0; list-style: none; padding: 0; margin: 12px 0 0; flex-wrap: wrap; }
.at-steps li { flex: 1; min-width: 90px; text-align: center; font-size: 12px; color: #94a3b8; border-top: 4px solid var(--neutral-200, #e5e7eb); padding-top: 6px; }
.at-steps li.done { color: #166534; border-color: #16a34a; } .at-steps li.on { color: var(--primary-600); border-color: var(--primary-600); font-weight: 700; }

/* v3.55.0 screen modes: Minimal (SAP-style folder tree) and Simple (plain text tree) menus, login choice, top-bar chip, light look */
.gt-wrap{list-style:none;padding:4px 8px 16px}.gt,.gt ul{list-style:none;margin:0;padding:0}.gt ul{padding-left:9px}.gt-wrap{padding:4px 4px 16px 2px}
.gt details>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:5px;padding:3px 4px;border-radius:6px;font-size:13.5px;color:var(--text-primary-light,#1f2937);white-space:nowrap;user-select:none}
.gt details>summary::-webkit-details-marker{display:none}.gt details>summary:hover,.gt .gt-item a:hover{background:var(--neutral-100,#f1f5f9)}
.gt .gt-item a{display:flex;align-items:flex-start;gap:5px;padding:3px 4px;border-radius:6px;font-size:12.5px;line-height:1.35;color:var(--text-secondary-light,#475569);white-space:normal}.gt .gt-item a>i{margin-top:2px}.gt .gt-code{flex:none}
#sidebar-menu .gt .gt-item.is-active>a,#sidebar-menu .gt .gt-item.is-active>a *{background:#ccfbf1;color:#0f5f58!important;font-weight:600}[data-theme=dark] #sidebar-menu .gt .gt-item.is-active>a,[data-theme=dark] #sidebar-menu .gt .gt-item.is-active>a *{background:#134e4a;color:#ccfbf1!important}#sidebar-menu .gt .gt-item.is-active>a *{background:none}.gt .gt-label{min-width:0}.gt details>summary span{overflow:hidden;text-overflow:ellipsis}.gt .gt-item .epm-menu-badge{margin-left:auto}
.gt--min details>summary::before{content:"\25B8";display:inline-block;width:20px;flex:none;text-align:center;color:#64748b;font-size:22px;line-height:1}.gt--min details[open]>summary::before{content:"\25BE"}
.gt--min .gt-fc,.gt--min .gt-fo{color:#d4a017;font-size:30px;line-height:1;flex:none}.gt--min details[open]>summary .gt-fc,.gt--min details:not([open])>summary .gt-fo{display:none}
.gt--min .gt-item i{color:#64748b;font-size:27px;line-height:1;flex:none}.gt--min .gt-item a{align-items:center}.gt--min .gt-item a>i{margin-top:0}.gt--min details>summary>i:not(.gt-fc):not(.gt-fo){font-size:27px;line-height:1}.gt--min .gt-code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;color:var(--text-primary-light,#1f2937)}
.gt--simple details>summary::before{content:"\229E";color:#475569;font-size:27px;line-height:1;flex:none}.gt--simple details[open]>summary::before{content:"\229F"}
.gt--simple .gt-item a::before{content:"";width:14px;height:14px;margin:2px 4px 0 3px;border:2px solid #64748b;border-radius:3px;flex:none}.gt--simple .gt-code{font-weight:600;color:var(--text-primary-light,#1f2937)}.gt--simple .gt-sep{display:inline-block;width:2px}
.gt .gt-empty a{font-size:12px;color:#94a3b8;padding:3px 6px;display:block}
.gui-choice{display:flex;gap:6px;flex-wrap:wrap}.gui-choice label{flex:1;min-width:90px;margin:0}.gui-choice input{position:absolute;opacity:0;pointer-events:none}
.gui-choice span{display:flex;align-items:center;justify-content:center;gap:5px;border:1px solid #d1d5db;border-radius:8px;padding:7px 8px;font-size:13px;cursor:pointer;white-space:nowrap}
.gui-choice input:checked+span{border-color:var(--primary-600);background:var(--primary-50,#e0f2f1);color:var(--primary-700,#0f766e);font-weight:600}.gui-choice input:focus-visible+span{outline:2px solid var(--primary-600);outline-offset:1px}
.epm-gui-chip{height:32px;border-radius:999px;padding:0 12px;background:#fef3c7;color:#92400e;font-size:12.5px;font-weight:600;border:0;white-space:nowrap;flex-shrink:0}
@media (max-width:1399px){.epm-gui-chip{width:32px;padding:0}.epm-gui-chip span{display:none}}
html.gui-minimal *,html.gui-simple *{animation:none!important;transition:none!important}
html.gui-minimal .card,html.gui-simple .card,html.gui-minimal .shadow-1,html.gui-simple .shadow-1{box-shadow:none!important}
html.gui-minimal .lx-panel.has-photo,html.gui-simple .lx-panel.has-photo{background:var(--primary-600,#25A194)}
.gui-chart-btn{margin:12px auto;display:block}
[data-theme=dark] .gt details>summary,[data-theme=dark] .gt--min .gt-code{color:#e5e7eb}[data-theme=dark] .gt details>summary:hover,[data-theme=dark] .gt .gt-item a:hover{background:rgba(255,255,255,.06)}
[data-theme=dark] .gt .gt-item a{color:#cbd5e1}[data-theme=dark] .epm-gui-chip{background:#78350f;color:#fde68a}[data-theme=dark] .gui-choice span{border-color:#475569}
/* v3.56.0 Minimal / Simple screens: the device's own font (no web font download), flat tiles, text logo, data-saver badge */
html.gui-minimal body,html.gui-simple body,html.gui-minimal .apexcharts-text,html.gui-simple .apexcharts-text{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif!important}
html.gui-minimal .epm-stat-icon,html.gui-simple .epm-stat-icon{display:none!important}
html.gui-simple .card-body{padding:14px 16px!important}html.gui-simple .epm-score-box{padding:8px!important}
.epm-top-logo__text{font-weight:700;font-size:15px;color:var(--text-primary-light,#1f2937);white-space:nowrap;max-width:220px;overflow:hidden;text-overflow:ellipsis;display:inline-block}
.gui-kb{font-weight:500;opacity:.8;margin-left:2px}
.gui-chart-tbl{font-size:12.5px;margin:0}.gui-chart-tbl th,.gui-chart-tbl td{padding:4px 8px!important;white-space:nowrap}.gui-chart-tbl td{text-align:right}
/* v3.56.1 Minimal / Simple tree: wider sidebar, each level indented, T-code items in the same font as the folders */
html.gui-minimal .sidebar:not(.active),html.gui-simple .sidebar:not(.active){width:18rem}
@media (min-width:1200px){html.gui-minimal .sidebar:not(.active),html.gui-simple .sidebar:not(.active){width:17.5rem}html.gui-minimal .dashboard-main:not(.active),html.gui-simple .dashboard-main:not(.active){margin-inline-start:17.5rem}}
@media (min-width:1400px){html.gui-minimal .sidebar:not(.active),html.gui-simple .sidebar:not(.active){width:18.75rem}html.gui-minimal .dashboard-main:not(.active),html.gui-simple .dashboard-main:not(.active){margin-inline-start:18.75rem}}
@media (min-width:1650px){html.gui-minimal .sidebar:not(.active),html.gui-simple .sidebar:not(.active){width:20.625rem}html.gui-minimal .dashboard-main:not(.active),html.gui-simple .dashboard-main:not(.active){margin-inline-start:20.625rem}}
.gt ul{padding-left:14px}
.gt .gt-item a,.gt--min .gt-code,.gt--simple .gt-code{font-family:inherit;font-size:13.5px;font-weight:400;color:var(--text-primary-light,#1f2937)}
.gt .gt-item a{align-items:center;line-height:1.3}
.gt--min .gt-item>a{padding-left:29px}
.gt--simple .gt-item>a{padding-left:var(--gt-simple-indent,26px)}
[data-theme=dark] .gt .gt-item a,[data-theme=dark] .gt--min .gt-code,[data-theme=dark] .gt--simple .gt-code{color:#e5e7eb}.gt .gt-txt{flex:1;min-width:0;overflow-wrap:break-word}.gt .gt-txt .gt-sep,.gt .gt-txt .gt-code,.gt .gt-txt .gt-label{display:inline;width:auto}
html.gui-minimal .sidebar-menu-area,html.gui-simple .sidebar-menu-area{padding-left:6px;padding-right:6px}
/* v3.56.2 EP03 EPM assignment: employees already assigned to the cycle are greyed out */
.epm-asg-done>td{background:#f3f4f6!important;color:#9ca3af!important}.epm-asg-done .fw-semibold,.epm-asg-done .text-secondary-light{color:#9ca3af!important}.epm-asg-done img,.epm-asg-done .epm-avatar{opacity:.55}
[data-theme=dark] .epm-asg-done>td{background:rgba(255,255,255,.03)!important;color:#6b7280!important}/* v3.56.2 EP02 My approvals: one tile per approval area */
.epm-appr-tile{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;border:1px solid #e5ebea;background:var(--white,#fff);color:inherit!important;height:100%;font-weight:400!important}
.epm-appr-tile:hover{border-color:#99d5cc;background:#f6fbfa}.epm-appr-tile b{display:block;font-size:13px;font-weight:600}.epm-appr-tile small{display:block;font-size:11.5px;color:#6b7280;line-height:1.3}
.epm-appr-tile .epm-appr-n{font-size:20px;font-weight:700;color:#b45309;flex:none;min-width:28px;text-align:right}.epm-appr-tile.is-zero{opacity:.65}.epm-appr-tile.is-zero .epm-appr-n{color:#9ca3af}
[data-theme=dark] .epm-appr-tile{border-color:rgba(255,255,255,.08)}[data-theme=dark] .epm-appr-tile:hover{background:rgba(255,255,255,.04)}
/* v3.56.5 DB00 My Day: light greeting band (like the My EPM Performance tab), redesigned To do now, Customise dialog */
.md-head{background:linear-gradient(120deg,#f0fdfa 0%,#e6f7f4 55%,#fff 100%);color:#134e4a;border:1.5px solid color-mix(in srgb,#0d9488 30%,transparent);box-shadow:none}
.md .md-head h3{color:#0f3d3a}.md-head p{color:#3f6f6a;opacity:1}
.md-chip{background:#fff;border:1px solid #cce9e4;color:#3f6f6a;box-shadow:0 1px 2px rgba(15,118,110,.06)}.md-chip b{color:#0f766e}
[data-theme=dark] .md-head{background:linear-gradient(120deg,rgba(13,148,136,.16),rgba(13,148,136,.05));border-color:rgba(94,234,212,.25);color:#ccfbf1}
[data-theme=dark] .md .md-head h3{color:#ecfdf5}[data-theme=dark] .md-head p{color:#99f6e4}[data-theme=dark] .md-chip{background:rgba(255,255,255,.04);border-color:rgba(94,234,212,.2);color:#99f6e4}[data-theme=dark] .md-chip b{color:#5eead4}

.md-todo2{overflow:hidden}
.md-todo2-h{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid #eef2f6}
.md-todo2-h h4{margin:0!important;padding:0!important;border:0!important;font-size:15px!important;font-weight:700}.md-todo2-h small{display:block;color:#6b7280;font-size:11.5px;margin-top:1px}
.md-todo2-h .md-cnt{margin-left:auto;font-size:13px;padding:3px 11px}
.md-todo2-ic{width:36px;height:36px;border-radius:10px;background:#ccfbf1;color:#0f766e;display:grid;place-items:center;font-size:18px;flex:none}
.md-todo2-g{padding:9px 16px 5px;font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#6b7280;display:flex;align-items:center;gap:6px}
.md-todo2-g::before{content:"";width:7px;height:7px;border-radius:50%;background:#94a3b8}.md-todo2-g-r::before{background:#dc2626}.md-todo2-g-r{color:#b91c1c}.md-todo2-g-a::before{background:#f59e0b}.md-todo2-g-g::before{background:#0ea5e9}
.md-td2{display:grid;grid-template-columns:38px minmax(0,1fr) auto auto;gap:12px;align-items:center;margin:0 10px 6px;padding:9px 12px 9px 10px;border-radius:12px;border:1px solid #eef2f6;border-left:4px solid #cbd5e1;color:inherit!important;font-weight:400!important;text-decoration:none!important;transition:background .12s,border-color .12s}
.md-td2.is-r{border-left-color:#ef4444}.md-td2.is-a{border-left-color:#f59e0b}.md-td2.is-g{border-left-color:#38bdf8}
.md-td2:hover{background:#f8fafc;border-color:#d7e3e1}.md-td2:hover .md-td2-go{background:#0f766e;color:#fff!important;border-color:#0f766e}
.md-td2-ic{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;font-size:18px;background:#f1f5f9;color:#475569}
.md-tg2-lv{background:#e0f2fe;color:#0369a1}.md-tg2-cl{background:#fef3c7;color:#b45309}.md-tg2-ep{background:#e0e7ff;color:#4338ca}.md-tg2-tn{background:#ede9fe;color:#6d28d9}.md-tg2-ts{background:#ccfbf1;color:#0f766e}.md-tg2-tv{background:#cffafe;color:#0e7490}.md-tg2-pm{background:#e2e8f0;color:#334155}.md-tg2-hr{background:#fce7f3;color:#be185d}.md-tg2-ad{background:#f1f5f9;color:#475569}
.md-td2-tx{min-width:0}.md-td2-tx b{display:block;font-size:13px;font-weight:600;line-height:1.35}.md-td2-tx small{display:block;color:#6b7280;font-size:11.5px;margin-top:1px}
.md-td2-go{font-size:11.5px;font-weight:600;color:#0f766e!important;border:1px solid #b9e2db;border-radius:8px;padding:5px 8px 5px 11px;white-space:nowrap;display:inline-flex;align-items:center;gap:2px}.md-td2-go.is-p{background:#0f766e;color:#fff!important;border-color:#0f766e}
.md-todo2 .md-td2:last-of-type{margin-bottom:12px}
[data-theme=dark] .md-todo2-h{border-color:rgba(255,255,255,.07)}[data-theme=dark] .md-todo2-ic{background:rgba(13,148,136,.2);color:#5eead4}
[data-theme=dark] .md-td2{border-color:rgba(255,255,255,.07)}[data-theme=dark] .md-td2:hover{background:rgba(255,255,255,.03)}[data-theme=dark] .md-td2-ic{filter:saturate(.8);opacity:.9}
[data-theme=dark] .md-td2-go{border-color:rgba(94,234,212,.3);color:#5eead4!important}
@media (max-width:575px){.md-td2{grid-template-columns:34px minmax(0,1fr);gap:10px}.md-td2 .md-due,.md-td2 .md-td2-go{grid-column:2;justify-self:start}.md-td2-ic{width:34px;height:34px}}

.hc-sec{border:1px solid #e6ebea;border-radius:14px;padding:14px 16px;background:var(--white,#fff)}
.hc-sec-h{display:flex;align-items:center;gap:12px;margin-bottom:12px}.hc-sec-h b{display:block;font-size:14px}.hc-sec-h small{display:block;font-size:12px;color:#6b7280}
.hc-sec-ic{width:34px;height:34px;border-radius:10px;background:#ccfbf1;color:#0f766e;display:grid;place-items:center;font-size:17px;flex:none}
.hc-start{max-width:360px}
.hc-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}
.hc-grp{background:#f8fafc;border-radius:12px;padding:10px}
.hc-grp-h{display:flex;align-items:center;gap:6px;padding:2px 4px 8px;font-size:13px}.hc-grp-h>i{color:#0f766e}.hc-grp-n{font-size:11px;color:#6b7280;margin-right:auto}
.hc-all{border:0;background:none;color:#0f766e;font-size:11.5px;font-weight:600;padding:2px 4px;border-radius:6px}.hc-all:hover{background:#e6f7f4}
.hc-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:5px}
.hc-row{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e6ebea;border-radius:10px;padding:7px 8px 7px 12px}
.hc-row label{flex:1;font-size:13px;cursor:pointer;margin:0}.hc-row.is-off label{color:#9ca3af}.hc-row .form-switch .form-check-input{width:2.2em;height:1.2em;cursor:pointer}
.hc-mv{display:flex;gap:2px}.hc-mv button{width:26px;height:26px;border:0;border-radius:7px;background:transparent;color:#6b7280;display:grid;place-items:center;font-size:17px}.hc-mv button:hover{background:#eef2f6;color:#0f766e}
.hc-row:first-child .hc-up,.hc-row:last-child .hc-dn{visibility:hidden}
.hc-roles summary{list-style:none;cursor:pointer;display:flex;align-items:center}.hc-roles summary::-webkit-details-marker{display:none}.hc-roles summary .hc-sec-h{margin-bottom:0;flex:1}
.hc-chev{font-size:20px;color:#6b7280;transition:transform .15s}.hc-roles[open] .hc-chev{transform:rotate(180deg)}.hc-roles[open] summary{margin-bottom:12px}
[data-theme=dark] .hc-sec{border-color:rgba(255,255,255,.08)}[data-theme=dark] .hc-grp{background:rgba(255,255,255,.03)}[data-theme=dark] .hc-row{background:var(--white);border-color:rgba(255,255,255,.08)}[data-theme=dark] .hc-sec-ic{background:rgba(13,148,136,.2);color:#5eead4}
.hc-grp-h{flex-wrap:wrap;row-gap:2px}.hc-grp-h b,.hc-grp-n,.hc-all{white-space:nowrap}
[data-theme=dark] .md-td2-tx b{color:#e5e7eb}[data-theme=dark] .md-td2-tx small{color:#94a3b8}[data-theme=dark] .md-td2-ic{background:rgba(255,255,255,.06)!important;filter:none;opacity:1}[data-theme=dark] .md-todo2-g{color:#94a3b8}[data-theme=dark] .md-todo2-g-r{color:#f87171}
@media (max-width:575px){.md-td2{grid-template-columns:34px auto 1fr;row-gap:6px}.md-td2-tx{grid-column:2/4}.md-td2 .md-due{grid-column:2;justify-self:start}.md-td2 .md-td2-go{grid-column:3;justify-self:start}.md-td2:not(:has(.md-due)) .md-td2-go{grid-column:2}}

/* v3.57.0 PR00 My dashboard widgets + DB00 widget tiles */
.wg-sel-box{position:sticky;top:90px;background:#f8fafc;border:1px solid #e6ebea;border-radius:14px;padding:14px}
.wg-count{font-size:12px;color:#6b7280}.wg-count b{color:#0f766e;font-size:14px}
.wg-sel{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;counter-reset:wg}
.wg-sel li{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e6ebea;border-radius:10px;padding:7px 6px 7px 10px;counter-increment:wg}
.wg-sel li::before{content:counter(wg);font-size:11px;font-weight:700;color:#9ca3af;width:14px;text-align:right;flex:none}
.wg-nm{flex:1;font-size:13px;font-weight:600;min-width:0;line-height:1.3}
.wg-mv{display:flex;gap:1px}.wg-mv button{width:26px;height:26px;border:0;border-radius:7px;background:transparent;color:#6b7280;display:grid;place-items:center;font-size:16px}.wg-mv button:hover{background:#eef2f6;color:#0f766e}.wg-mv .wg-rm:hover{background:#fee2e2;color:#b91c1c}
.wg-sel li:first-child .wg-up,.wg-sel li:last-child .wg-dn{visibility:hidden}
.wg-empty{text-align:center;color:#9ca3af;font-size:13px;padding:22px 8px}.wg-empty i{display:block;font-size:26px;margin-bottom:4px}
.wg-max{margin-top:8px;font-size:12px;color:#b45309;background:#fef3c7;border-radius:8px;padding:6px 10px}
.wg-ic{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;font-size:16px;flex:none;background:color-mix(in srgb,var(--c,#0f766e) 14%,#fff);color:var(--c,#0f766e)}
.wg-grp{margin-bottom:16px}.wg-grp-h{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--c);margin-bottom:8px;padding-bottom:6px;border-bottom:2px solid color-mix(in srgb,var(--c) 25%,transparent)}
.wg-cat{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:8px}
.wg-item{display:flex;align-items:flex-start;gap:10px;text-align:left;background:#fff;border:1.5px solid #e6ebea;border-radius:12px;padding:10px 12px;position:relative;transition:border-color .12s,background .12s}
.wg-item:hover{border-color:#99d5cc;background:#f8fdfc}.wg-item.is-on{border-color:#0f766e;background:#f0fdfa}
.wg-item.is-full{opacity:.55}
.wg-tx{flex:1;min-width:0}.wg-tx b{display:block;font-size:13px;line-height:1.3}.wg-tx small{display:block;font-size:11.5px;color:#6b7280;line-height:1.35;margin:2px 0 5px}
.wg-chk{width:22px;height:22px;border-radius:50%;border:1.5px solid #cbd5e1;display:grid;place-items:center;font-size:14px;color:transparent;flex:none}
.wg-item.is-on .wg-chk{background:#0f766e;border-color:#0f766e;color:#fff}
.wg-kinds{display:flex;gap:4px;flex-wrap:wrap;align-items:center}
.wg-kind{display:inline-block;font-size:10.5px;font-weight:600;border-radius:999px;padding:1px 8px;background:#f1f5f9;color:#475569}
.wg-kind.is-mine{background:#e0f2fe;color:#075985}.wg-kind.is-inbox{background:#fef3c7;color:#92400e}.wg-kind.is-co{background:#ede9fe;color:#5b21b6}.wg-kind.is-gen{background:#ccfbf1;color:#115e59}
.wg-alert{font-size:11.5px;color:#b45309;background:#fffbeb;border-radius:7px;padding:4px 8px}
.md-tile.wg-add{border:1.5px dashed #b9e2db;border-top-width:1.5px;background:transparent;box-shadow:none;align-items:center;justify-content:center;text-align:center;color:#0f766e!important;min-height:120px;font-weight:400!important}
.md-tile.wg-add>i{font-size:26px}.md-tile.wg-add b{font-size:13px}.md-tile.wg-add small{color:#6b7280;font-size:11.5px}.md-tile.wg-add:hover{background:#f0fdfa;border-color:#0f766e}
.hc-wlink{display:flex;align-items:center;gap:10px;margin-top:12px;padding:10px 12px;border-radius:10px;background:#f0fdfa;border:1px solid #ccfbf1;color:#134e4a!important;font-size:12.5px;font-weight:400!important}.hc-wlink>i:first-child{font-size:18px;color:#0f766e}
[data-theme=dark] .wg-sel-box{background:rgba(255,255,255,.03);border-color:rgba(255,255,255,.08)}[data-theme=dark] .wg-sel li,[data-theme=dark] .wg-item{background:var(--white);border-color:rgba(255,255,255,.1)}
[data-theme=dark] .wg-item.is-on{background:rgba(13,148,136,.14);border-color:#14b8a6}[data-theme=dark] .wg-ic{background:color-mix(in srgb,var(--c) 22%,transparent)}[data-theme=dark] .hc-wlink{background:rgba(13,148,136,.12);border-color:rgba(94,234,212,.2);color:#ccfbf1!important}
@media (max-width:991px){.wg-sel-box{position:static}}
/* v3.57.1 T-code field: no icon inside, the box shows only what the user types */
.epm-tcode{padding-left:12px}.epm-tcode__input::placeholder{color:transparent}

/* v3.57.2 PM03 Plan: presentation mode (uses the PM11 stage) and Print / PDF */
.pm03-stage:not(.is-present) .pm03-kpis{display:none}
.pm03-stage.no-names .pm03-who{display:none!important}
.pm03-stage.is-present .pm11-ptitle h4{font-size:calc(22px * var(--pm11-fs))}
.pm03-stage.is-present .pm03-kpis{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.pm03-stage.is-present .pm03-kpis>div{padding:6px 12px;min-width:0}.pm03-stage.is-present .pm03-kpis b{font-size:calc(19px * var(--pm11-fs))}.pm03-stage.is-present .pm03-kpis span{font-size:calc(11px * var(--pm11-fs))}
.pm03-stage.is-present>.card,.pm03-stage.is-present>.pm-board{flex:1 1 0;min-height:0;overflow:auto}
.pm03-stage.is-present .pm-gantt{font-size:calc(12.5px * var(--pm11-fs));overflow:visible}
.pm03-stage.is-present .pm-g-head,.pm03-stage.is-present .pm-g-row{grid-template-columns:calc(300px * var(--pm11-fs)) minmax(0,1fr);min-height:calc(30px * var(--pm11-fs))}
.pm03-stage.is-present .pm-g-head .pm-g-track span{font-size:calc(11px * var(--pm11-fs))}
.pm03-stage.is-present .pm-board{grid-template-columns:repeat(5,minmax(0,1fr));align-content:start}
.pm03-stage.is-present .pm-col-h{font-size:calc(13px * var(--pm11-fs))}.pm03-stage.is-present .pm-card .text-sm{font-size:calc(13px * var(--pm11-fs))!important}.pm03-stage.is-present .pm-card .text-xs{font-size:calc(11px * var(--pm11-fs))!important}
.pm03-stage.is-present .epm-table{font-size:calc(13px * var(--pm11-fs))}.pm03-stage.is-present .epm-table .text-sm,.pm03-stage.is-present .epm-table .text-xs{font-size:inherit!important}
.pm03-stage.is-present .pm-card-move,.pm03-stage.is-present .pm03-act{display:none!important}
.pm03-stage.is-present .row.g-3{margin:0}
@media print{
  .dashboard-main-body:has(#pm03stage)>:not(#pm03stage){display:none!important}
  .dashboard-main{margin:0!important}.dashboard-main-body{padding:0!important}
  .pm03-stage .pm11-phead{display:flex!important;justify-content:space-between;align-items:center;margin-bottom:8px}.pm03-stage .pm11-ctl{display:none!important}
  .pm03-stage .pm03-kpis{display:grid!important;grid-template-columns:repeat(5,1fr);gap:6px;margin-bottom:8px}.pm03-stage .pm03-kpis>div{padding:4px 8px}
  .pm03-stage .pm-gantt{overflow:visible;font-size:10px}.pm03-stage .pm-g-head,.pm03-stage .pm-g-row{grid-template-columns:200px 1fr;min-height:20px;break-inside:avoid}
  .pm03-stage .pm-g-head{position:static}
  .pm03-stage .pm-board{grid-template-columns:repeat(5,minmax(0,1fr));overflow:visible}.pm03-stage .pm-card{break-inside:avoid;box-shadow:0 0 0 1px #e2e8f0}
  .pm03-stage .pm-card-move,.pm03-stage .pm03-act{display:none!important}.pm03-stage .table-responsive{overflow:visible}
  .pm03-stage .card{box-shadow:none!important;border:1px solid #e2e8f0}
  .pm03-stage .pm-g-bar,.pm03-stage .pm-g-bar b,.pm03-stage .pm-g-ms,.pm03-stage .pm-g-base,.pm03-stage .pm-g-today,.pm03-stage .pm-key,.pm03-stage .ob-bar,.pm03-stage .ob-bar span,.pm03-stage .epm-badge,.pm03-stage .pm-col,.pm03-stage .cs-kpis>div{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}.pm03-stage.is-present .epm-table td,.pm03-stage.is-present .epm-table th,.pm03-stage.is-present .epm-table td a{font-size:calc(13px * var(--pm11-fs))!important}.pm03-stage.is-present .epm-table th{font-size:calc(12px * var(--pm11-fs))!important}
@media print{.pm03-stage .pm-g-head,.pm03-stage .pm-g-row{grid-template-columns:250px 1fr}.pm03-stage .pm-g-name{white-space:normal;overflow:visible;line-height:1.25}}

/* v3.58.0 client portal (client.php) and PM17 */
.cp-wrap{max-width:1100px}
.cp-login{max-width:440px;margin-top:6vh}.cp-login-ic{width:52px;height:52px;border-radius:14px;background:#ccfbf1;color:#0f766e;display:inline-grid;place-items:center;font-size:26px;flex:none}
.cp-code{font-size:24px;letter-spacing:.4em;text-align:center;font-weight:700}
.cp-proj{color:inherit!important;font-weight:400!important;transition:box-shadow .15s}.cp-proj:hover{box-shadow:0 0 0 2px #99d5cc}
/* v3.105.345 client portal dashboard (includes/cp-dash.php): header, KPI tiles, Gantt, charts, timeline, stakeholder grid, gate path */
.cp-wrap{max-width:1240px}
.cpd-hero{border:0;background:linear-gradient(135deg,#f0fdfa 0%,#ffffff 60%);box-shadow:0 1px 2px rgba(15,23,42,.06),0 0 0 1px #e2f2ef}
.cpd-title{font-size:24px;font-weight:700;color:#0f172a;letter-spacing:-.01em}
.cpd-chip{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;font-weight:700;color:#0f766e;background:#ccfbf1;border-radius:6px;padding:2px 8px}.cpd-chip-soft{background:#f1f5f9;color:#475569;font-weight:600}
.cpd-meta{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:13px;color:#64748b}.cpd-meta i{color:#0f766e}
.cpd-ring-bg{stroke:#e2e8f0}.cpd-ring-fg{stroke:#0f766e;transition:stroke-dasharray .6s}.cpd-ring-t{font-size:17px;font-weight:700;fill:#0f172a}
.cpd-rag{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;border-radius:20px;padding:5px 14px}.cpd-rag-success{background:#dcfce7;color:#15803d}.cpd-rag-warning{background:#fef3c7;color:#b45309}.cpd-rag-danger{background:#fee2e2;color:#b91c1c}
.cpd-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.cpd-kpi{display:flex;flex-direction:column;gap:2px;background:#fff;border-radius:12px;padding:14px 16px;box-shadow:0 0 0 1px #e5e7eb;color:inherit!important;font-weight:400!important;transition:box-shadow .15s,transform .15s}
.cpd-kpi:hover{box-shadow:0 0 0 2px #99d5cc;transform:translateY(-1px)}.cpd-kpi b{font-size:20px;font-weight:700;color:#0f172a;line-height:1.2}.cpd-kpi small{font-size:12px;color:#64748b}.cpd-kpi-l{font-size:12px;color:#64748b;font-weight:600}
.cpd-kpi-ic{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-size:18px;margin-bottom:6px}.cpd-kpi-ic.is-blue{background:#dbeafe;color:#1d4ed8}.cpd-kpi-ic.is-teal{background:#ccfbf1;color:#0f766e}.cpd-kpi-ic.is-amber{background:#fef3c7;color:#b45309}.cpd-kpi-ic.is-violet{background:#ede9fe;color:#6d28d9}.cpd-kpi-ic.is-rose{background:#ffe4e6;color:#be123c}
.cpd-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:160px;color:#94a3b8;font-size:13px;text-align:center}.cpd-empty>i{font-size:30px}
.cpd-gantt{--cpd-name:230px;font-size:12.5px;overflow-x:auto}.cpd-gantt>div{min-width:720px}
.cpd-g-head,.cpd-g-row,.cpd-g-foot{display:grid;grid-template-columns:var(--cpd-name) 1fr}
.cpd-g-head{border-bottom:1px solid #e2e8f0;height:26px;align-items:end;color:#64748b;font-size:11px;font-weight:600}.cpd-g-tl{position:relative;height:100%}
.cpd-g-m{position:absolute;bottom:4px;transform:translateX(2px);white-space:nowrap}.cpd-g-m::before{content:"";position:absolute;left:-2px;bottom:-4px;height:6px;border-left:1px solid #cbd5e1}
.cpd-g-row{height:30px;align-items:center;border-bottom:1px solid #f1f5f9}.cpd-g-row:hover{background:#f8fafc}.cpd-g-row.is-phase{background:#f8fafc;font-weight:700}
.cpd-g-row .cpd-g-tl{position:relative}
.cpd-g-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:8px;color:#1e293b}
.cpd-g-bar{position:absolute;top:8px;height:14px;border-radius:7px;background:#cdeee8;overflow:hidden;z-index:1}.cpd-g-bar i{display:block;height:100%;background:#0f766e;border-radius:7px 0 0 7px}
.cpd-g-row.is-phase .cpd-g-bar{top:10px;height:10px;background:#bfdbfe}.cpd-g-row.is-phase .cpd-g-bar i{background:#1d4ed8}
.cpd-g-bar.is-late{background:#fecaca}.cpd-g-bar.is-late i{background:#dc2626}.cpd-g-bar.is-done i{border-radius:7px}
.cpd-g-base{position:absolute;top:24px;height:3px;border-radius:2px;background:#94a3b8;opacity:.55}
.cpd-g-pct{position:absolute;top:8px;font-size:10.5px;color:#64748b;font-weight:600;z-index:1}
.cpd-g-ms{position:absolute;top:9px;width:13px;height:13px;background:#64748b;transform:translateX(-6px) rotate(45deg);border-radius:2px;z-index:2;box-shadow:0 0 0 2px #fff}.cpd-g-ms.is-done{background:#16a34a}.cpd-g-ms.is-late{background:#dc2626}
.cpd-g-flag{color:#64748b}.cpd-g-flag.is-done{color:#16a34a}.cpd-g-flag.is-late{color:#dc2626}
.cpd-g-today{position:absolute;top:0;bottom:0;border-left:2px dashed #ef4444;z-index:3}
.cpd-g-foot{height:20px}.cpd-g-todaylbl{position:absolute;top:2px;transform:translateX(-50%);font-size:10px;font-weight:700;color:#fff;background:#ef4444;border-radius:4px;padding:0 5px}
.cpd-legend{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:10px;font-size:11.5px;color:#64748b}.cpd-legend span{display:inline-flex;align-items:center;gap:5px}
.cpd-k{display:inline-block;width:12px;height:8px;border-radius:4px}.cpd-k-done{background:#0f766e}.cpd-k-left{background:#cdeee8}.cpd-k-base{height:3px;background:#94a3b8}.cpd-k-ms{width:9px;height:9px;transform:rotate(45deg);border-radius:2px;background:#16a34a}.cpd-k-late{background:#dc2626}.cpd-k-today{width:0;height:12px;border-left:2px dashed #ef4444;border-radius:0}
.cpd-dim{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:600;border-radius:20px;padding:2px 10px;background:#f1f5f9;color:#334155}.cpd-dim i{width:8px;height:8px;border-radius:50%;background:#94a3b8}
.cpd-dim-success i{background:#16a34a}.cpd-dim-warning i{background:#f59e0b}.cpd-dim-danger i{background:#dc2626}
.cpd-sr-h{color:#0f766e}
.cpd-tl{list-style:none;margin:0;padding:0 0 0 18px;border-left:2px solid #e2e8f0}.cpd-tl li{position:relative;padding:0 0 14px 10px}.cpd-tl li:last-child{padding-bottom:0}
.cpd-tl-dot{position:absolute;left:-26px;top:3px;width:14px;height:14px;border-radius:50%;background:#fff;border:3px solid #94a3b8}.cpd-tl li.is-success .cpd-tl-dot{border-color:#16a34a;background:#16a34a}.cpd-tl li.is-danger .cpd-tl-dot{border-color:#dc2626}
.cpd-chart{width:100%}
/* v3.105.349 CSR01 … CSR12 service desk reports (cs-rpt.php) */
.csr-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}
.csr-kpi{background:#fff;border-radius:12px;padding:14px 16px;box-shadow:0 0 0 1px #e5e7eb;border-left:4px solid #0f766e;display:flex;flex-direction:column;gap:2px}
.csr-kpi small{font-size:12px;color:#64748b;font-weight:600}.csr-kpi b{font-size:21px;font-weight:700;color:#0f172a;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.csr-kpi span{font-size:12px;color:#64748b}
.csr-kpi.is-bad{border-left-color:#dc2626}.csr-kpi.is-bad b{color:#b91c1c}
.csr-chart{width:100%;min-height:220px}.csr-quick .pm11-quick{font-size:12px}
[data-theme="dark"] .csr-kpi{background:#1e293b;box-shadow:0 0 0 1px #334155}[data-theme="dark"] .csr-kpi b{color:#e2e8f0}
.cpd-g-body{position:relative}.cpd-g-grid{position:absolute;top:0;bottom:0;left:var(--cpd-name);right:0;pointer-events:none}.cpd-g-grid i{position:absolute;top:0;bottom:0;border-left:1px solid #eef2f6}
.cpd-gates{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:0;counter-reset:g}
.cpd-gates li{position:relative;text-align:center;padding:0 8px}.cpd-gates li::before{content:"";position:absolute;top:18px;left:-50%;right:50%;height:4px;background:#e2e8f0;z-index:0}.cpd-gates li:first-child::before{display:none}
.cpd-gates li.is-approved::before,.cpd-gates li.is-approved+li::before{background:#0f766e}
.cpd-gate-dot{position:relative;z-index:1;display:inline-grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#fff;border:3px solid #cbd5e1;font-weight:700;color:#64748b;font-size:15px}
.is-approved .cpd-gate-dot{background:#0f766e;border-color:#0f766e;color:#fff}.is-submitted .cpd-gate-dot{border-color:#f59e0b;color:#b45309}.is-rejected .cpd-gate-dot{border-color:#dc2626;color:#b91c1c}
.is-current .cpd-gate-dot{box-shadow:0 0 0 5px #ccfbf1}.cpd-gate-t{font-size:13px;font-weight:700;margin-top:8px;color:#1e293b}.cpd-gate-s{margin-top:4px}.cpd-gate-c{font-size:11px;color:#64748b;margin-top:2px}
.cpd-sg{display:grid;grid-template-columns:22px 1fr;grid-template-rows:1fr 20px;gap:4px}
.cpd-sg-y{writing-mode:vertical-rl;transform:rotate(180deg);text-align:center;font-size:11px;font-weight:600;color:#64748b}.cpd-sg-x{grid-column:2;text-align:center;font-size:11px;font-weight:600;color:#64748b}
.cpd-sg-grid{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:6px;min-height:230px}
.cpd-sg-q{border-radius:10px;padding:10px;background:#f8fafc}.cpd-sg-q.is-mc{background:#fef2f2}.cpd-sg-q.is-ks{background:#fffbeb}.cpd-sg-q.is-ki{background:#eff6ff}.cpd-sg-q.is-mo{background:#f8fafc}
.cpd-sg-h{font-size:12px;font-weight:700;color:#334155;margin-bottom:6px}.cpd-sg-h span{float:right;font-size:11px;color:#64748b;background:#fff;border-radius:10px;padding:0 7px}
.cpd-sg-p{display:flex;flex-wrap:wrap;gap:4px}.cpd-sg-n{font-size:11.5px;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:2px 9px;border-left:4px solid #94a3b8}
.cpd-sg-n.is-success{border-left-color:#16a34a}.cpd-sg-n.is-danger{border-left-color:#dc2626}.cpd-sg-n.is-warning{border-left-color:#f59e0b}
@media (max-width:575px){.cpd-gates{grid-template-columns:1fr 1fr;row-gap:16px}.cpd-gates li::before{display:none}}
@media (max-width:991px){.cpd-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.cpd-title{font-size:20px}}
@media (max-width:575px){.cpd-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cpd-kpi{padding:12px}.cpd-kpi b{font-size:17px}.cpd-gantt{--cpd-name:150px}.cpd-hero-r{width:100%;justify-content:space-between}}
@media print{.cpd-noprint,.cp-tabs,.ob-public-head form,.cp-act{display:none!important}.cpd-kpi{box-shadow:0 0 0 1px #cbd5e1}.cpd-gantt>div{min-width:0}.card{break-inside:avoid}}
.cp-tabs{flex-wrap:wrap}
.cp-heat .pm-hmini{max-width:360px}
.cp-act{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;align-items:center}.cp-act .form-control{max-width:240px;min-width:160px}
.cp-wk summary{cursor:pointer;color:#0f766e;font-weight:600}.cp-wk-t td{font-size:12px;padding:3px 6px!important;border:0}
.cp-cr-fig{display:flex;gap:12px;flex-wrap:wrap}.cp-cr-fig>div{background:#f8fafc;border-radius:10px;padding:8px 14px;min-width:150px}.cp-cr-fig small{display:block;font-size:11px;color:#6b7280}.cp-cr-fig b{font-size:16px}
.cp-dots{font-size:11px;letter-spacing:1px;color:#0f766e;white-space:nowrap}
.cp-gates{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.cp-gate{border-top:4px solid #cbd5e1}.cp-gate.is-approved{border-top-color:#16a34a}.cp-gate.is-submitted{border-top-color:#f59e0b}.cp-gate.is-rejected{border-top-color:#dc2626}
[data-theme=dark] .cp-cr-fig>div{background:rgba(255,255,255,.04)}
/* v3.59.0 PM02 projects waiting for approval */
.pm-appr-wait>td{background:#fffbeb!important}[data-theme=dark] .pm-appr-wait>td{background:rgba(245,158,11,.08)!important}

/* v3.60.0 EP05 structure per EPM cycle */
.es-new{border:1.5px dashed #99d5cc;background:#f8fdfc}.es-new-ic{width:44px;height:44px;border-radius:12px;background:#ccfbf1;color:#0f766e;display:grid;place-items:center;font-size:22px;flex:none}.es-copy{background:#fff;border:1px solid #e6ebea;border-radius:12px;padding:12px 14px}
[data-theme=dark] .es-new{background:rgba(13,148,136,.06);border-color:rgba(94,234,212,.3)}[data-theme=dark] .es-copy{background:var(--white);border-color:rgba(255,255,255,.08)}

/* v3.60.1 Minimal tree: full module names wrap instead of being cut */
.gt--min .gt-prod>details>summary{white-space:normal;align-items:flex-start;line-height:1.3}.gt--min .gt-prod>details>summary span{overflow:visible;text-overflow:clip}.gt--min .gt-prod>details>summary::before,.gt--min .gt-prod>details>summary>i{margin-top:1px}

/* v3.75.0 customer support portal (client.php?s=support) */
.cp-sec{display:inline-flex;border:1px solid var(--neutral-200,#e2e8f0);border-radius:8px;overflow:hidden}.cp-sec a{padding:4px 12px;font-size:13px;color:inherit;display:inline-flex;gap:4px;align-items:center}.cp-sec a.is-on{background:#0f766e;color:#fff}
.csp-steps{list-style:none;display:grid;grid-template-columns:repeat(5,1fr);gap:4px;padding:0;margin:0;counter-reset:s}
.csp-steps li{position:relative;text-align:center;padding-top:4px;font-size:12px;color:#94a3b8}.csp-steps li::before{content:"";position:absolute;top:18px;left:-50%;width:100%;height:3px;background:#e2e8f0;z-index:0}.csp-steps li:first-child::before{display:none}
.csp-steps li span{position:relative;z-index:1;width:30px;height:30px;border-radius:50%;display:inline-grid;place-items:center;background:#f1f5f9;border:2px solid #e2e8f0;font-weight:600;color:#64748b}
.csp-steps li b{display:block;margin-top:4px;color:inherit;font-weight:600}.csp-steps li small{display:block;font-size:11px;color:#94a3b8}
.csp-steps li.is-done{color:#0f766e}.csp-steps li.is-done span{background:#0f766e;border-color:#0f766e;color:#fff}.csp-steps li.is-done::before,.csp-steps li.is-cur::before{background:#0f766e}
.csp-steps li.is-cur{color:#0f172a}.csp-steps li.is-cur span{border-color:#0f766e;color:#0f766e;background:#ccfbf1}.csp-steps li.is-cur.is-wait span{border-color:#d97706;color:#b45309;background:#fef3c7}
.csp-evs{max-height:none}.csp-kpi{display:flex;flex-direction:column;gap:2px;color:inherit;transition:box-shadow .15s}.csp-kpi:hover{box-shadow:0 4px 14px rgba(15,23,42,.08)}.csp-kpi i{font-size:22px;color:#0f766e}.csp-kpi small{color:#64748b}.csp-kpi b{font-size:24px}
.csp-prio{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px}.csp-prio__o{border:1px solid #e2e8f0;border-radius:10px;padding:8px 10px;display:flex;flex-wrap:wrap;gap:6px;align-items:center;cursor:pointer;font-size:13px}
.csp-prio__o small{flex-basis:100%;color:#64748b}.csp-prio__o:has(input:checked){border-color:#0f766e;background:#f0fdfa}
.csp-bar-warning span{background:#d97706}.csp-bar-success span{background:#16a34a}.csp-bar-info span{background:#0284c7}.csp-bar-neutral span{background:#94a3b8}.ob-bar.is-bad span{background:#dc2626}
@media (max-width:575px){.csp-steps li b{font-size:10px}.csp-steps li small{display:none}}
[data-theme="dark"] .csp-steps li span{background:#1e293b;border-color:#334155}[data-theme="dark"] .csp-steps li::before{background:#334155}[data-theme="dark"] .csp-steps li.is-cur{color:#e2e8f0}
[data-theme="dark"] .csp-prio__o{border-color:#334155}[data-theme="dark"] .csp-prio__o:has(input:checked){background:#134e4a}[data-theme="dark"] .cp-sec{border-color:#334155}

/* v3.79.1 KPI line cancelled by a deactivated KPI template (EP06): the whole line grey and read only, the reason in red bold */
.epm-form-table tr.epm-kpi-cancelled td{background:#f1f5f9!important;color:#94a3b8}
.epm-form-table tr.epm-kpi-cancelled td :is(input,textarea,select,.form-control,.form-select,.input-group-text){background:#e2e8f0!important;color:#94a3b8!important;border-color:#e2e8f0!important;text-decoration:line-through;text-decoration-color:#cbd5e1}
.epm-form-table tr.epm-kpi-cancelled td :is(.epm-badge,.epm-ev-chip,summary,a){opacity:.5}
.epm-kpi-cancel-tag{color:#dc2626;font-weight:700;font-size:12px;margin-top:6px;display:flex;gap:4px;align-items:center;line-height:1.3}
.epm-kpi-tplchg{color:#b45309;background:#fffbeb;border:1px solid #fde68a;border-radius:6px;font-size:12px;margin-top:6px;padding:3px 6px;display:flex;gap:4px;align-items:flex-start;line-height:1.3}   /* v3.105.101 */
[data-theme="dark"] .epm-kpi-tplchg{color:#fcd34d;background:#3a2a0b;border-color:#78350f}
[data-theme="dark"] .epm-form-table tr.epm-kpi-cancelled td{background:#1e293b!important;color:#64748b}[data-theme="dark"] .epm-form-table tr.epm-kpi-cancelled td :is(input,textarea,select,.form-control,.form-select,.input-group-text){background:#0f172a!important;color:#64748b!important;border-color:#334155!important}
[data-theme="dark"] .epm-kpi-cancel-tag{color:#f87171}
/* --------------------------------------------------------- v3.88.2 page inside the EPW1 EPM Wizard frame */
html.epm-embed .sidebar, html.epm-embed .navbar-header, html.epm-embed .d-footer, html.epm-embed .overlay, html.epm-embed .body-overlay,
html.epm-embed .theme-customization__button, html.epm-embed .theme-customization-sidebar, html.epm-embed #altius { display: none !important; }
html.epm-embed .dashboard-main, html.epm-embed .sidebar.epm-railside ~ .dashboard-main { margin: 0 !important; width: 100% !important; min-height: 0; }
html.epm-embed .dashboard-main-body { padding: 16px 18px !important; }
html.epm-embed body { background: var(--epm-soft); }
/* --------------------------------------------------------- v3.90.1 currency fields (assets/js/money-input.js, data-money) */
.epm-money { display: flex; align-items: stretch; border: 1px solid var(--epm-border); border-radius: 8px; background: var(--white); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.epm-money:focus-within { border-color: var(--primary-600); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-600) 15%, transparent); }
.epm-money.is-invalid, .epm-money:has(.is-invalid) { border-color: var(--epm-danger); }
.epm-money__cur { display: flex; align-items: center; padding: 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .3px; color: var(--text-secondary-light, #6b7280); background: var(--epm-soft); border-inline-end: 1px solid var(--epm-border); }
.epm-money .epm-money__in { border: 0 !important; box-shadow: none !important; border-radius: 0 !important; text-align: end; font-variant-numeric: tabular-nums; background: transparent; }
.epm-money__hint { font-size: 12px; color: #b45309; margin-top: 4px; }
[data-theme=dark] .epm-money__hint { color: var(--epm-warning); }
/* v3.93.0 money fields in table rows */
.epm-money--sm .epm-money__cur { padding: 0 8px; font-size: 12px; }
.epm-money--sm .epm-money__in { padding-top: .25rem; padding-bottom: .25rem; font-size: .875rem; }

/* v3.100.4 ui_tip(): (i) after a field label, the explanation as a tooltip */
.epm-field-tip { color: #94a3b8; font-size: 15px; vertical-align: -2px; cursor: help; margin-left: 2px; border-radius: 50%; outline-offset: 2px; }
.epm-field-tip:hover, .epm-field-tip:focus-visible { color: var(--primary-600, #4338ca); }
.tooltip.epm-field-tip-pop { opacity: 1 !important; --bs-tooltip-bg: #111827; }
.tooltip.epm-field-tip-pop .tooltip-inner { max-width: 360px; text-align: start; padding: 10px 14px; font-size: 12.5px; line-height: 1.55; background: #111827; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
/* v3.101.0 DMS Phase 1: states, review steps, comments, folders */
.dms-state { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; font-size: 13px; background: #f1f5f9; color: #334155; text-decoration: none; }
.dms-state > i { font-size: 16px; } .dms-state.is-lock { background: #fef3c7; color: #92400e; } .dms-state.is-review { background: #eef2ff; color: #3730a3; } .dms-state.is-ok { background: #dcfce7; color: #166534; }
.dms-mini { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; padding: 1px 7px; border-radius: 20px; background: #f1f5f9; color: #475569; margin-top: 2px; }
.dms-mini.is-review { background: #eef2ff; color: #3730a3; } .dms-mini.is-ok { background: #dcfce7; color: #166534; } .dms-mini.is-lock { background: #fef3c7; color: #92400e; }
.dms-rev-msg { background: #f8fafc; border-left: 3px solid var(--primary-600, #4338ca); padding: 8px 12px; border-radius: 6px; font-size: 13px; color: #334155; }
.dms-steps { list-style: none; padding: 0; margin: 0; position: relative; }
.dms-steps li { display: flex; gap: 12px; padding: 8px 0; position: relative; }
.dms-steps li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 36px; bottom: -6px; width: 2px; background: #e2e8f0; }
.dms-steps__n { flex: 0 0 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; background: #e2e8f0; color: #475569; z-index: 1; }
.dms-steps li.is-pending .dms-steps__n { background: #f59e0b; color: #fff; } .dms-steps li.is-approved .dms-steps__n { background: #16a34a; color: #fff; } .dms-steps li.is-rejected .dms-steps__n { background: #dc2626; color: #fff; }
.dms-comments { display: flex; flex-direction: column; gap: 8px; } .dms-comments > div { background: #f8fafc; border-radius: 8px; padding: 8px 12px; }
.dms-decide { background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 12px 14px; }
.dms-step-n { min-width: 34px; justify-content: center; font-weight: 700; color: var(--primary-600, #4338ca); }
.dms-folders .card-body { max-height: 70vh; overflow: auto; }
.dms-fol-row { display: flex; align-items: center; } .dms-fol-row .dms-fol { flex: 1 1 auto; min-width: 0; } .dms-fol-row.is-sub .dms-fol { padding-left: 28px; }
.dms-fol { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; color: #334155; text-decoration: none; font-size: 13.5px; }
.dms-fol span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .dms-fol b { font-size: 11px; font-weight: 600; color: #64748b; background: #f1f5f9; border-radius: 20px; padding: 0 7px; }
.dms-fol > i { color: #64748b; font-size: 16px; } .dms-fol:hover { background: #f8fafc; color: #0f172a; } .dms-fol.is-on { background: #eef2ff; color: #3730a3; font-weight: 600; } .dms-fol.is-on > i { color: #4338ca; }
.dms-fol-edit { border: 0; background: none; color: #94a3b8; padding: 4px 6px; border-radius: 6px; } .dms-fol-edit:hover { background: #f1f5f9; color: #334155; }
[data-theme="dark"] .dms-state, [data-theme="dark"] .dms-mini, [data-theme="dark"] .dms-rev-msg, [data-theme="dark"] .dms-comments > div, [data-theme="dark"] .dms-fol b { background: #1e293b; color: #cbd5e1; }
[data-theme="dark"] .dms-fol { color: #cbd5e1; } [data-theme="dark"] .dms-fol:hover { background: #1e293b; } [data-theme="dark"] .dms-fol.is-on { background: rgba(67,56,202,.25); color: #c7d2fe; }
[data-theme="dark"] .dms-decide { background: rgba(245,158,11,.1); border-color: rgba(245,158,11,.35); }
/* v3.102.0 DMS Phase 2: search snippet, legal hold */
.dms-snip { font-size: 12px; color: #475569; margin-top: 2px; max-width: 520px; white-space: normal; line-height: 1.4; }
.dms-snip > i { color: #6366f1; } .dms-snip mark { background: #fef08a; color: inherit; padding: 0 1px; border-radius: 2px; }
.dms-state.is-hold { background: #fee2e2; color: #991b1b; }
[data-theme="dark"] .dms-snip { color: #cbd5e1; } [data-theme="dark"] .dms-snip mark { background: rgba(250,204,21,.35); } [data-theme="dark"] .dms-state.is-hold { background: rgba(220,38,38,.2); color: #fecaca; }
/* v3.103.0 DMS Phase 3: discussion, @mentions, read and acknowledge */
.dms-thread { border: 1px solid #e5e7eb; border-radius: 12px; padding: 10px 12px; margin-bottom: 12px; } .dms-thread.is-resolved { background: #f8fafc; opacity: .8; }
.dms-c { display: flex; gap: 10px; padding: 6px 0; } .dms-c.is-reply { margin-left: 38px; border-top: 1px dashed #e5e7eb; padding-top: 8px; }
.dms-c__av { flex: 0 0 28px; height: 28px; border-radius: 50%; background: #e0e7ff; color: #3730a3; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.dms-c__body { font-size: 13.5px; line-height: 1.5; margin-top: 2px; overflow-wrap: anywhere; }
.dms-c__act { display: flex; gap: 10px; margin-top: 2px; } .dms-c__act button { border: 0; background: none; padding: 0; font-size: 12px; color: #64748b; } .dms-c__act button:hover { color: var(--primary-600, #4338ca); text-decoration: underline; }
.dms-mention { background: #e0e7ff; color: #3730a3; border-radius: 4px; padding: 0 3px; font-weight: 600; }
.dms-compose { margin-top: 4px; } .dms-compose.is-reply { margin: 6px 0 4px 38px; }
.dms-mention-list { position: absolute; z-index: 2000; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; box-shadow: 0 10px 30px rgba(15,23,42,.15); padding: 4px; display: flex; flex-direction: column; max-height: 260px; overflow: auto; }
.dms-mention-list button { border: 0; background: none; text-align: left; padding: 6px 10px; border-radius: 6px; font-size: 13px; white-space: nowrap; } .dms-mention-list button.is-on, .dms-mention-list button:hover { background: #eef2ff; color: #3730a3; }
.dms-ack { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; border-radius: 10px; padding: 10px 12px; font-size: 13px; } .dms-ack > div > i { font-size: 18px; }
.dms-ack__steps { margin: 8px 0 10px; padding-left: 22px; list-style: decimal; font-size: 12.5px; } .dms-ack__steps li.is-done { text-decoration: line-through; opacity: .7; }
[data-theme="dark"] .dms-thread { border-color: #334155; } [data-theme="dark"] .dms-thread.is-resolved { background: #0f172a; } [data-theme="dark"] .dms-mention-list { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .dms-mention { background: rgba(67,56,202,.3); color: #c7d2fe; } [data-theme="dark"] .dms-ack { background: rgba(16,185,129,.12); border-color: rgba(16,185,129,.35); color: #a7f3d0; }
/* v3.104.0 DC09 / DM05: file types, bars */
.dc-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px 12px; } .dc-types label { display: flex; align-items: center; gap: 6px; font-size: 13px; } .dc-types span { color: #64748b; font-size: 12px; }
.dc-bar { display: grid; grid-template-columns: minmax(110px, 38%) 1fr auto; align-items: center; gap: 10px; font-size: 12.5px; padding: 4px 0; } .dc-bar i { display: block; height: 8px; border-radius: 6px; background: var(--primary-600, #4338ca); opacity: .75; } .dc-bar b { font-weight: 600; white-space: nowrap; } .dc-bar small { color: #94a3b8; }
.epm-progress.is-warn span { background: #f59e0b; } .epm-progress.is-bad span { background: #dc2626; }
/* v3.104.1 EP15A: the supervisor's rating next to the employee's, the supervisor's question */
.epm-sup-rate{font-size:12px;border:1px solid #bbf7d0;background:#f0fdf4;border-radius:8px;padding:4px 8px;color:#166534}.epm-sup-rate.is-diff{border-color:#fde68a;background:#fffbeb;color:#92400e}
.epm-just{font-size:12px;border:1px dashed #f59e0b;border-radius:8px;padding:6px 8px;background:#fffbeb}
[data-theme="dark"] .epm-sup-rate{background:#052e16;color:#bbf7d0;border-color:#14532d}[data-theme="dark"] .epm-sup-rate.is-diff,[data-theme="dark"] .epm-just{background:#422006;color:#fde68a;border-color:#78350f}

/* v3.105.12 Sign in as: banner while the SuperAdmin works as another user, button on the HR02 cards */
.imp-bar { display: flex; align-items: center; gap: 10px; padding: 10px 16px; margin-bottom: 16px; border-radius: 10px; background: #b45309; color: #fff; font-weight: 600; position: sticky; top: 0; z-index: 1030; box-shadow: 0 6px 18px rgba(180,83,9,.25); }
.imp-bar i { font-size: 18px; }
.oc-as { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff7ed; color: #b45309; border: 1px solid #fed7aa; cursor: pointer; font-size: 14px; }
.oc-as:hover { background: #b45309; color: #fff; }
/* v3.105.65 Standard list layout (as HR00 Employees) — shared by list screens; see README "Standard list layout".
   Page: header with T-code, title, one counts line (pageSubtitle) and the actions (outline buttons, the primary "Add …" last);
   one card: filter_bar() + filter_select() → table.epm-table.lst-table → footer "Rows per page", "Showing a–b of n" and pagination_links().
   Grouped lists: a heading row .lst-group per group, then its rows .lst-item; .lst-empty is the start block of an empty list. */
.lst-table td{vertical-align:middle}
.lst-table .lst-group td{background:#f8fafc;border-top:2px solid #e2e8f0}
.lst-table .lst-group b{font-size:14px;color:#0f172a}
.lst-code{display:inline-block;min-width:28px;text-align:center;font-size:12px;font-weight:700;color:#3730a3;background:#e0e7ff;border-radius:6px;padding:2px 8px}
.lst-table .lst-item td:first-child{padding-left:28px}
/* v3.105.329 a heading row that opens and closes its rows (EP05A): .js-lst-g, open = .lst-open */
/* v3.105.338 the theme reset (style.css: input{appearance:none}) drew a plain checkbox / radio (without .form-check-input) at zero width, so it could not be
   seen or ticked (PM11 pickers, CRM, PMO matrix, …). Draw them as the browser does. Specificity of the reset (one element), so any page rule with a class wins. */
input:where([type="checkbox"],[type="radio"]):where(:not(.form-check-input,.btn-check)){appearance:auto;-webkit-appearance:auto;width:16px;height:16px;flex-shrink:0;margin:0;vertical-align:middle;cursor:pointer;accent-color:var(--primary-600,#487fff)}
/* v3.105.330 EP05A the flag of the KPI requirement (EP05B): grey not set, amber draft, green published */
.kq-flag{color:#94a3b8;background:#f1f5f9}.kq-flag:hover{color:#475569}.kq-flag-draft{color:#b45309;background:#fef3c7}.kq-flag-on{color:#15803d;background:#dcfce7}
.epm-kq-badge{display:inline-flex;align-items:center;gap:4px;margin-top:6px;font-size:11px;font-weight:600;border-radius:6px;padding:2px 8px;border:1px solid #fcd34d;background:#fffbeb;color:#b45309;cursor:pointer}.epm-kq-badge.is-ok{border-color:#86efac;background:#f0fdf4;color:#15803d}
.epm-kq-pan dt{font-size:12px;color:#64748b;font-weight:600;margin-top:10px}.epm-kq-pan dd{margin:2px 0 0}.epm-kq-pan table td,.epm-kq-pan table th{padding:4px 8px;font-size:13px}
.lst-table tr.js-lst-g{cursor:pointer}.lst-table tr.js-lst-g:hover td{background:#f1f5f9}.lst-chev{display:inline-block;color:#64748b;font-size:16px;vertical-align:middle;transition:transform .15s}.lst-open .lst-chev{transform:rotate(90deg)}[data-theme="dark"] .lst-table tr.js-lst-g:hover td{background:#273449}
.lst-empty{display:flex;flex-direction:column;align-items:center;gap:4px;padding:36px 16px;text-align:center}.lst-empty>i{font-size:34px;color:#94a3b8}.lst-empty b{font-size:15px}.lst-empty span{font-size:13px;color:#64748b;max-width:460px}
[data-theme="dark"] .lst-table .lst-group td{background:#1e293b;border-color:#334155}[data-theme="dark"] .lst-table .lst-group b{color:#e2e8f0}[data-theme="dark"] .lst-code{background:#312e81;color:#e0e7ff}

/* v3.105.87 T-code header: this screen's code as a green chip; the screen it was opened from as an outlined chip (click = back) */
.epm-tc-head .epm-tc-chip.is-current { background: #15803d; color: #fff; font-size: 12.5px; padding: 3px 10px; border-radius: 6px; letter-spacing: .04em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.epm-tc-head .epm-tc-chip.is-from { display: inline-flex; align-items: center; gap: 4px; background: transparent; color: #15803d; border: 1px solid #22c55e; font-size: 12px; padding: 2px 8px; border-radius: 6px; text-decoration: none; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.epm-tc-head .epm-tc-chip.is-from:hover { background: #f0fdf4; }
.epm-tc-head .epm-tc-arrow { color: var(--text-secondary-light, #6b7280); font-size: 16px; margin: 0 -4px; }
[data-theme="dark"] .epm-tc-head .epm-tc-chip.is-current { background: #16a34a; }
[data-theme="dark"] .epm-tc-head .epm-tc-chip.is-from { color: #4ade80; border-color: #4ade80; }
[data-theme="dark"] .epm-tc-head .epm-tc-chip.is-from:hover { background: rgba(74,222,128,.1); }
/* v3.105.110 EP01 Verify: frames General / Section A / Section B / Acknowledgement, review periods folded */
.epm-vframe{border:1px solid var(--border-color,#e5e7eb);border-radius:14px;padding:14px 16px;margin-top:16px;background:var(--white,#fff)}
.epm-vframe-h{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600;margin:0 0 4px}
.epm-vframe-h > i{color:var(--primary-600);font-size:18px}
.epm-vsub{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--text-secondary-light,#6b7280);margin:12px 0 6px}
.epm-vper{border:1px solid var(--border-color,#e5e7eb);border-radius:10px;margin-top:10px;overflow:hidden}
.epm-vper > summary{display:flex;align-items:center;gap:8px;padding:9px 12px;cursor:pointer;list-style:none;font-size:14px;background:var(--neutral-50,#f9fafb)}
.epm-vper > summary::-webkit-details-marker{display:none}
.epm-vper-chev{transition:transform .15s;font-size:18px}
.epm-vper[open] .epm-vper-chev{transform:rotate(90deg)}
.epm-vper > .epm-verify-list{border:0;border-top:1px solid var(--border-color,#e5e7eb);border-radius:0}
.epm-vstate{font-size:11px;font-weight:600;border-radius:999px;padding:1px 8px;background:#f3f4f6;color:#4b5563}
.epm-vstate.is-current{background:#dbeafe;color:#1d4ed8}.epm-vstate.is-ok{background:#dcfce7;color:#15803d}.epm-vstate.is-open{background:#ede9fe;color:#6d28d9}
.epm-vlv.is-ok{background:#dcfce7;color:#15803d}
[data-theme="dark"] .epm-vframe{background:transparent}
[data-theme="dark"] .epm-vper > summary{background:rgba(255,255,255,.04)}
[data-theme="dark"] .epm-vstate{background:#374151;color:#d1d5db}[data-theme="dark"] .epm-vstate.is-current{background:#1e3a8a;color:#bfdbfe}[data-theme="dark"] .epm-vstate.is-ok,[data-theme="dark"] .epm-vlv.is-ok{background:#14532d;color:#bbf7d0}[data-theme="dark"] .epm-vstate.is-open{background:#4c1d95;color:#ddd6fe}
/* v3.105.118 EP01 record frame: record line, one card per review stage, last updates */
.epm-recinfo2{background:color-mix(in srgb,var(--primary-600) 4%,transparent)}
.epm-recline{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px 20px}
.epm-recline > div{min-width:0}.epm-recline .epm-recline-wide{grid-column:span 2}
.epm-recline span{display:block;font-size:12px;color:var(--text-secondary-light)}.epm-recline span i{color:var(--primary-600)}
.epm-recline b{display:block;font-size:13.5px;font-weight:600;color:var(--text-primary-light);line-height:1.4}
.epm-recline small{display:block;font-size:12px;color:var(--text-secondary-light);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.epm-stagecards{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px;margin-top:14px}
.epm-stagecard{background:var(--white,#fff);border:1px solid var(--border-color,#e5e7eb);border-radius:12px;padding:12px 14px}
.epm-stagecard.is-current{border:2px solid var(--primary-600)}
.epm-stagecard-h{display:flex;align-items:center;gap:8px;font-size:14px;margin-bottom:6px}
.epm-stagecard.is-approved .epm-stagecard-h > i{color:#16a34a}.epm-stagecard.is-current .epm-stagecard-h > i{color:var(--primary-600)}.epm-stagecard.is-later .epm-stagecard-h > i{color:#9ca3af}
.epm-stagecard-b{margin-left:auto;font-size:11px;font-weight:600;border-radius:999px;padding:2px 9px;background:#f3f4f6;color:#4b5563}
.epm-stagecard-b.is-ok{background:#dcfce7;color:#15803d}.epm-stagecard-b.is-cur{background:#dbeafe;color:#1d4ed8}
.epm-stagecard ul{list-style:none;margin:0;padding:0}
.epm-stagecard li{display:flex;gap:10px;align-items:flex-start;padding:6px 0;border-top:1px solid var(--border-color,#e5e7eb);font-size:12.5px}
.epm-stagecard li > i{font-size:15px;width:18px;flex-shrink:0;margin-top:1px}
.epm-stagecard li .lbl{flex:1;color:var(--text-secondary-light)}.epm-stagecard li .lbl em{font-style:normal;font-size:11px;color:#b45309;margin-left:4px}
.epm-stagecard li .val{text-align:right;color:var(--text-primary-light);font-weight:600;min-width:0}
.epm-stagecard li .val small{display:block;font-weight:400;color:var(--text-secondary-light)}
.epm-stagecard li.is-done > i{color:#16a34a}.epm-stagecard li.is-return > i{color:#d97706}
.epm-stagecard li.is-now{background:color-mix(in srgb,var(--primary-600) 7%,transparent);margin:0 -8px;padding:6px 8px;border-radius:8px}.epm-stagecard li.is-now > i,.epm-stagecard li.is-now .lbl{color:var(--primary-600);font-weight:600}
.epm-stagecard li.is-later > i,.epm-stagecard li.is-later .val{color:#9ca3af;font-weight:400}
.epm-lastupd{display:flex;flex-wrap:wrap;gap:6px 18px;align-items:center;font-size:12px;color:var(--text-secondary-light);margin-top:12px}
.epm-lastupd b{font-weight:600;color:var(--text-primary-light)}
@media (max-width:575px){.epm-recline .epm-recline-wide{grid-column:auto}}
[data-theme="dark"] .epm-stagecard{background:transparent}
[data-theme="dark"] .epm-stagecard-b{background:#374151;color:#d1d5db}[data-theme="dark"] .epm-stagecard-b.is-ok{background:#14532d;color:#bbf7d0}[data-theme="dark"] .epm-stagecard-b.is-cur{background:#1e3a8a;color:#bfdbfe}
/* v3.105.133 Simple screen mode: drill-down menu (includes/gui.php, script in footer.php) — one level per screen */
.dd-wrap{padding:4px 6px 16px}
.gt.dd ul{display:none;padding-left:0}
.gt.dd.dd-path>li,.gt.dd ul.dd-path>li{display:none}
.gt.dd.dd-path>li.dd-path,.gt.dd ul.dd-path>li.dd-path,.gt.dd ul.dd-path,.gt.dd ul.dd-cur{display:block}
.gt.dd li.dd-path>.dd-go{display:none!important}
.dd .dd-go,.dd .dd-i>a{display:flex!important;align-items:center;gap:8px;padding:8px 8px!important;border-bottom:1px solid var(--neutral-100,#f1f5f9);border-radius:0!important;font-size:13.5px;color:var(--text-primary-light,#1f2937)!important;text-decoration:none}
.dd .dd-go:hover,.dd .dd-i>a:hover{background:var(--neutral-50,#f8fafc)!important}
.dd .dd-n{flex:1 1 auto;min-width:0;overflow-wrap:break-word;line-height:1.3}
.dd .dd-k{flex:none;font-size:11.5px;color:#64748b}
.dd .dd-go>i{flex:none;font-size:18px;color:#94a3b8}
.dd .dd-c{flex:none;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11.5px;color:var(--primary-600,#25A194)}
#sidebar-menu .dd .dd-i.is-active>a,#sidebar-menu .dd .dd-i.is-active>a *{background:#ccfbf1;color:#0f5f58!important;font-weight:600}
.dd .gt-empty,.dd .gt-empty a{display:block;padding:8px;font-size:12.5px;color:#94a3b8}
.dd-bar{display:flex;flex-direction:column;gap:2px;padding:4px 8px 8px;border-bottom:1px solid var(--neutral-200,#e2e8f0);margin-bottom:2px}
.dd-bar[hidden]{display:none}
.dd-back{display:inline-flex;align-items:center;gap:2px;font-size:12.5px;color:var(--primary-600,#25A194)!important;text-decoration:none;align-self:flex-start;padding:2px 4px 2px 0}
.dd-back i{font-size:18px}
.dd-t{font-size:14.5px;font-weight:600;color:var(--text-primary-light,#1f2937);padding-left:2px}
[data-theme=dark] .dd .dd-go,[data-theme=dark] .dd .dd-i>a,[data-theme=dark] .dd-t{color:#e5e7eb!important;border-color:rgba(255,255,255,.08)}
[data-theme=dark] .dd .dd-go:hover,[data-theme=dark] .dd .dd-i>a:hover{background:rgba(255,255,255,.06)!important}
[data-theme=dark] .dd-bar{border-color:rgba(255,255,255,.12)}
[data-theme=dark] #sidebar-menu .dd .dd-i.is-active>a,[data-theme=dark] #sidebar-menu .dd .dd-i.is-active>a *{background:#134e4a;color:#ccfbf1!important}

/* v3.105.134 RP00 / EPR001 performance ranking: filter bar */
.epm-rank-filter{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 24px;border-bottom:1px solid var(--border-color,#e5e7eb)}

/* v3.105.135 EPM reports EPR005 … EPR020 (epm-rpt.php): bar list, 9-box grid, total rows */
.epr-bars{display:flex;flex-direction:column;gap:8px}
.epr-bar{display:grid;grid-template-columns:minmax(8rem,14rem) 1fr 4.5rem;align-items:center;gap:12px;font-size:13px}
.epr-bar__l{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-secondary-light,#475569)}
.epr-bar__t{height:14px;border-radius:7px;background:var(--neutral-100,#f1f5f9);overflow:hidden}.epr-bar__t>span{display:block;height:100%;border-radius:7px;min-width:2px}
.epr-bar__v{text-align:right;font-weight:600;font-variant-numeric:tabular-nums}
.epr-9box{display:grid;grid-template-columns:1.5rem 1fr;grid-template-rows:auto auto;gap:6px 10px;max-width:720px}
.epr-9box__y{writing-mode:vertical-rl;transform:rotate(180deg);text-align:center;font-size:12px;color:#64748b}
.epr-9box__g{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.epr-9box__x{grid-column:2;text-align:center;font-size:12px;color:#64748b}
.epr-9box__c{border-radius:10px;padding:12px 10px;min-height:84px;display:flex;flex-direction:column;justify-content:space-between;background:#f1f5f9;color:#334155}
.epr-9box__c b{font-size:22px;line-height:1}.epr-9box__c span{font-size:12px}
.epr-9box__c--0{background:#fee2e2;color:#991b1b}.epr-9box__c--1{background:#ffedd5;color:#9a3412}.epr-9box__c--2{background:#f1f5f9;color:#334155}.epr-9box__c--3{background:#dcfce7;color:#166534}.epr-9box__c--4{background:#bbf7d0;color:#14532d}
.epr-total td{background:var(--neutral-50,#f8fafc)}
@media (max-width:575px){.epr-bar{grid-template-columns:7rem 1fr 3.5rem}}
[data-theme=dark] .epr-bar__t{background:rgba(255,255,255,.08)}[data-theme=dark] .epr-total td{background:rgba(255,255,255,.04)}
[data-theme=dark] .epr-9box__c{background:#1f2937;color:#e5e7eb}[data-theme=dark] .epr-9box__c--0{background:#450a0a;color:#fecaca}[data-theme=dark] .epr-9box__c--1{background:#431407;color:#fed7aa}[data-theme=dark] .epr-9box__c--3{background:#052e16;color:#bbf7d0}[data-theme=dark] .epr-9box__c--4{background:#14532d;color:#dcfce7}
.epm-stagecard.is-incomplete .epm-stagecard-h > i{color:#d97706}   /* v3.105.136 not completed when the cycle closed */

/* v3.105.178 Record workspace (includes/workspace.php, js/workspace.js): server-paged list left, the record in an embed frame right — the APCE layout */
.ws{border:1px solid var(--epm-border);overflow:hidden}
.ws-hd{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 18px;border-bottom:1px solid var(--epm-border)}
.ws-hd__t{display:flex;align-items:center;gap:12px;min-width:0}.ws-hd__t b{display:block;font-size:16px}.ws-hd__t small{font-size:12.5px;color:var(--text-secondary-light,#6b7280)}
.ws-hd__ic{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;font-size:20px;flex-shrink:0;background:color-mix(in srgb,var(--primary-600) 12%,transparent);color:var(--primary-600)}
.ws-find{margin-left:auto;position:relative;min-width:240px}.ws-find i{position:absolute;left:11px;top:50%;transform:translateY(-50%);color:var(--text-secondary-light,#6b7280)}
.ws-find input{width:100%;height:38px;border:1px solid var(--epm-border);border-radius:10px;padding:0 12px 0 34px;background:var(--white);color:inherit}
.ws-find input:focus{outline:none;border-color:var(--primary-600);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary-600) 15%,transparent)}
.ws-chips{display:flex;gap:6px;flex-wrap:wrap;padding:10px 18px;border-bottom:1px solid var(--epm-border);background:var(--epm-soft)}
.ws-chip{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 12px;border-radius:20px;border:1px solid var(--epm-border);background:var(--white);font-size:13px;font-weight:600;color:inherit}
.ws-chip i{width:8px;height:8px;border-radius:50%;background:var(--c,#64748b)}.ws-chip b{font-weight:700;color:var(--text-secondary-light,#6b7280)}
.ws-chip[aria-selected=true]{border-color:var(--primary-600);background:color-mix(in srgb,var(--primary-600) 10%,var(--white));color:var(--primary-600)}.ws-chip[aria-selected=true] b{color:inherit}
.ws-body{display:grid;grid-template-columns:minmax(300px,400px) minmax(0,1fr);min-height:620px}
.ws-col{border-right:1px solid var(--epm-border);display:flex;flex-direction:column;min-width:0;margin:0}
.ws-list{overflow:auto;flex:1;max-height:calc(100vh - 290px);min-height:200px}.ws-list[aria-busy=true]{opacity:.55;transition:opacity .15s}
.ws-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:2px 10px;padding:11px 16px;border-bottom:1px solid var(--epm-border);cursor:pointer;position:relative}
.ws-row.has-x{grid-template-columns:auto auto minmax(0,1fr) auto}.ws-row__x{grid-row:span 2;align-self:start;margin:1px 0 0;display:flex}.ws-row__x input{margin:0;cursor:pointer}
.ws-row:hover{background:var(--epm-soft)}.ws-row:focus-visible{outline:2px solid var(--primary-600);outline-offset:-2px}
.ws-row[aria-selected=true]{background:color-mix(in srgb,var(--primary-600) 8%,transparent)}.ws-row[aria-selected=true]::before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:3px;border-radius:0 3px 3px 0;background:var(--primary-600)}
.ws-row__c{grid-row:span 2;align-self:start;font-size:11px;font-weight:700;letter-spacing:.3px;padding:2px 7px;border-radius:6px;color:var(--c,#475569);background:color-mix(in srgb,var(--c,#475569) 13%,transparent);max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ws-row__t{font-size:13.5px;font-weight:600;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ws-row__m{font-size:12px;color:var(--text-secondary-light,#6b7280);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ws-row__a,.ws-row__s{font-size:11.5px;font-weight:600;text-align:right;white-space:nowrap}.ws-row__s{color:var(--text-secondary-light,#6b7280);font-variant-numeric:tabular-nums}
.ws-row.is-wait{box-shadow:inset 3px 0 0 var(--epm-warning)}
.ws-none{padding:28px 16px;text-align:center;color:var(--text-secondary-light,#6b7280);font-size:13px}
.ws-pg{display:flex;align-items:center;gap:6px;padding:8px 12px;border-top:1px solid var(--epm-border);font-size:12.5px;color:var(--text-secondary-light,#6b7280)}.ws-pg__i{margin-right:auto}
.ws-bulk{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:8px 12px;border-bottom:1px solid var(--epm-border);background:color-mix(in srgb,var(--primary-600) 8%,var(--white))}
.ws-bulk__n{font-size:13px;font-weight:600;margin-right:4px}.ws-bulk__clear{margin-left:auto;border:0;background:none;color:var(--text-secondary-light,#6b7280);font-size:18px;line-height:1}
.ws-ic{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;border:1px solid var(--epm-border);background:var(--white);color:inherit;text-decoration:none;padding:0}.ws-ic:hover:not(:disabled){color:var(--primary-600);background:var(--epm-soft)}.ws-ic:disabled{opacity:.45}
.ws-pane{min-width:0;display:flex;flex-direction:column;background:var(--epm-soft)}
.ws-pane__empty{margin:auto;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;padding:40px;font-size:13px;color:var(--text-secondary-light,#6b7280)}.ws-pane__empty i{font-size:40px;color:var(--primary-600);opacity:.6}
.ws-pane__in{display:flex;flex-direction:column;flex:1;min-height:0}
.ws-pane__bar{display:flex;align-items:center;gap:8px;padding:8px 12px;background:var(--white);border-bottom:1px solid var(--epm-border)}.ws-pane__t{font-size:13.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.ws-back{display:none}
.ws-fr{position:relative;flex:1;min-height:560px}.ws-fr iframe{position:absolute;inset:0;width:100%;height:100%;border:0;opacity:0;transition:opacity .2s}.ws-fr iframe.is-on{opacity:1}
.ws-fr__load{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:8px;font-size:13px;color:var(--text-secondary-light,#6b7280)}
.ws-spin{display:inline-block;width:18px;height:18px;border-radius:50%;border:2px solid var(--epm-border);border-top-color:var(--primary-600);animation:wsSpin .8s linear infinite}@keyframes wsSpin{to{transform:rotate(360deg)}}
@media (max-width:1199.98px){.ws-body{grid-template-columns:minmax(260px,340px) minmax(0,1fr)}}
@media (max-width:991.98px){.ws-body{grid-template-columns:1fr}.ws-col{border-right:0}.ws-pane{display:none}.ws.is-open .ws-col{display:none}.ws.is-open .ws-pane{display:flex}.ws-back{display:grid}.ws-find{min-width:0;flex:1 1 100%}.ws-list{max-height:none}.ws-fr{min-height:75vh}}
@media (prefers-reduced-motion:reduce){.ws-spin{animation:none}.ws-fr iframe{transition:none}}
@media (max-width:575.98px){.ws-row{grid-template-columns:minmax(0,1fr) auto}.ws-row.has-x{grid-template-columns:auto minmax(0,1fr) auto}.ws-row__c{grid-row:auto;grid-column:1/-1;justify-self:start;max-width:none}.ws-row.has-x .ws-row__c{grid-column:2/-1}.ws-row__x{grid-row:span 3}}
/* v3.105.179 a record in the workspace pane (ws_item) */
.ws-item{display:flex;flex-direction:column;gap:14px}
.ws-item__hd{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;background:var(--white);border:1px solid var(--epm-border);border-radius:12px;padding:14px 16px}
.ws-item__t{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}.ws-item__t h2{font-size:17px !important;font-weight:700;margin:0;line-height:1.3}.ws-item__t .ws-row__c{grid-row:auto;max-width:none}
.ws-item__act{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.ws-item__act form{display:inline-flex;margin:0}
.ws-facts{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px}.ws-fact{background:var(--white);border:1px solid var(--epm-border);border-radius:10px;padding:9px 12px;min-width:0}
.ws-fact small{display:block;font-size:11.5px;color:var(--text-secondary-light,#6b7280)}.ws-fact b{display:block;font-size:13.5px;font-weight:600;overflow-wrap:anywhere}
.ws-blk{background:var(--white);border:1px solid var(--epm-border);border-radius:10px;padding:12px 14px}.ws-blk h6{font-size:12px !important;font-weight:600;color:var(--text-secondary-light,#6b7280);margin:0 0 4px}.ws-blk p{font-size:13.5px;margin:0;white-space:pre-line}
/* v3.105.181 moving to another page: the menu and the top bar stay where they are (no redraw, no white flash); only the page body changes.
   Cross-document view transitions (Chromium 126+, Safari 18.2+); other browsers load the page as before. */
@view-transition { navigation: auto; }
.sidebar { view-transition-name: epm-sidebar; }
.navbar-header { view-transition-name: epm-topbar; }
::view-transition-group(epm-sidebar), ::view-transition-group(epm-topbar),
::view-transition-old(epm-sidebar), ::view-transition-new(epm-sidebar), ::view-transition-old(epm-topbar), ::view-transition-new(epm-topbar) { animation: none; }
::view-transition-old(epm-sidebar), ::view-transition-old(epm-topbar) { display: none; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .12s; }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }
html.epm-embed .sidebar, html.epm-embed .navbar-header { view-transition-name: none; }
/* v3.105.181 a closed menu section or group that holds the current transaction (the menu kept as it was on the page before) */
.epm-rsec.has-current > summary, .epm-rgrp.has-current > summary { color: var(--primary-600); font-weight: 600; box-shadow: inset 3px 0 0 var(--primary-600); }
.sidebar-menu li.dropdown.has-current > a { color: var(--primary-600); font-weight: 600; box-shadow: inset 3px 0 0 var(--primary-600); }
/* v3.105.182 workspace: dropdown filters beside the chips */
.ws-chips{align-items:center}.ws-chips__c{display:flex;gap:6px;flex-wrap:wrap;flex:1 1 auto;min-width:0}
.ws-flts{display:flex;gap:6px;flex-wrap:wrap;margin-left:auto}.ws-flts select{height:30px;border-radius:15px;font-size:12.5px;padding:0 28px 0 12px;width:auto;max-width:200px;border-color:var(--epm-border);background-color:var(--white)}
@media (max-width:991.98px){.ws-flts{margin-left:0;width:100%}.ws-flts select{flex:1 1 140px;max-width:none}}
/* v3.105.183 workspace side panel (ws_drawer) */
.ws-drawer{position:fixed;inset:0;z-index:1055}.ws-drawer[hidden]{display:none}
.ws-drawer__bg{position:absolute;inset:0;background:rgba(15,23,42,.25)}
.ws-drawer__p{position:absolute;top:0;right:0;bottom:0;width:min(640px,100vw);display:flex;flex-direction:column;background:var(--epm-soft);box-shadow:-12px 0 32px rgba(15,23,42,.18);animation:wsIn .18s ease-out}
.ws-drawer__p .ws-fr{min-height:0}
@keyframes wsIn{from{transform:translateX(24px);opacity:.6}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.ws-drawer__p{animation:none}}
html.ws-drawer-on{overflow:hidden}
.ws-flts input{height:30px;border-radius:15px;font-size:12.5px;padding:0 10px;width:auto;max-width:160px;border-color:var(--epm-border);background-color:var(--white)}
/* v3.105.230 PM02 redesign: project head, one-line project tabs, overview sections */
.pm2-title{font-size:1.1rem;font-weight:600;line-height:1.35;overflow-wrap:anywhere}.pm2-title .epm-tc-chip{vertical-align:2px}
.pm2-meta{font-size:12.5px;color:var(--text-secondary-light);margin-top:6px}
.pm2-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}
@media (min-width:1100px){.pm2-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media (max-width:420px){.pm2-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
.pm2-kpis>div{border:1px solid var(--epm-border,#e6ebea);border-radius:10px;padding:8px 10px;min-width:0}
.pm2-kpis small{display:flex;align-items:center;gap:5px;font-size:11.5px;color:var(--text-secondary-light)}.pm2-kpis b{display:block;font-size:16px;line-height:1.3;white-space:nowrap}.pm2-kpis b.text-md{font-size:14px}
.pm2-kpis span{display:block;font-size:11px;color:var(--text-secondary-light);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pm2-bar{display:block;height:4px;border-radius:4px;background:var(--neutral-200,#e5e7eb);margin-top:6px;overflow:hidden}.pm2-bar>i{display:block;height:100%;background:var(--primary-600)}
.pm2-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#16a34a;flex:none}.pm2-dot.is-a{background:#d97706}.pm2-dot.is-r{background:#dc2626}
.pm2-tabs{display:flex;gap:4px;overflow-x:auto;scrollbar-width:thin;border-bottom:1px solid var(--epm-border,#e6ebea);padding-bottom:6px}
.pm2-tab{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;padding:6px 12px;border-radius:8px;font-size:13.5px;font-weight:600;color:var(--text-primary-light);background:transparent;border:0}
.pm2-tab:hover{background:var(--epm-soft,#f1f5f4)}.pm2-tab.active{background:var(--primary-600);color:#fff}
.pm2-secs{display:flex;gap:6px;overflow-x:auto;scrollbar-width:thin;margin-bottom:12px;padding-bottom:2px}
.pm2-secs button{white-space:nowrap;border:1px solid var(--epm-border,#e6ebea);background:transparent;border-radius:999px;padding:4px 12px;font-size:12.5px;font-weight:600;color:var(--text-primary-light)}
.pm2-secs button span{font-weight:500;color:var(--text-secondary-light);margin-left:2px}.pm2-secs button.active{background:var(--primary-600);border-color:var(--primary-600);color:#fff}.pm2-secs button.active span{color:#fff;opacity:.85}
.pm2-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:0 16px;align-items:start}
/* v3.105.241 TR00 timesheet grid: the weekend columns only when shown; a WBS group continued on TR01 */
.tr-no-we .tr-we{display:none}
.epm-table tr.tr-cont td{border-top-color:transparent}
/* v3.105.247 PM02 redesign 2: header with the tabs underneath (underlined), stage bar, four figures, needs attention, two-column details */
.pm3-title{font-size:1.25rem;font-weight:600;line-height:1.35;margin:0;overflow-wrap:anywhere}.pm3-title .epm-tc-chip{vertical-align:3px}
.pm3-meta{font-size:13px;color:var(--text-secondary-light);margin-top:6px}
.pm3-chip{display:inline-block;font-size:12px;padding:2px 10px;border-radius:999px;background:var(--epm-soft,#f1f5f4);color:var(--text-secondary-light)}
.pm3-head .pm2-tabs{border-bottom:0;margin:14px 0 0;padding:0;gap:22px}
.pm3-head .pm2-tab{background:transparent!important;color:var(--text-secondary-light);border-radius:0;padding:10px 0;border-bottom:2px solid transparent;font-weight:500}
.pm3-head .pm2-tab:hover{color:var(--text-primary-light)}.pm3-head .pm2-tab.active{color:var(--text-primary-light);border-bottom-color:var(--primary-600);font-weight:600}
.pm3-stages{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 12px}
.pm3-stages>div{border-radius:10px;padding:10px 12px;background:var(--epm-soft,#f1f5f4);color:var(--text-secondary-light);font-size:13px}
.pm3-stages b{display:block;font-weight:600}.pm3-stages span{display:block;font-size:12px}
.pm3-stages .is-done{background:#e5f4e4;color:#166534}.pm3-stages .is-bad{background:#fee2e2;color:#b91c1c}   /* v3.105.402 PM01 a rejected request */
.pm3-stages .is-now{background:#e7f1fb;color:#1d4ed8;box-shadow:inset 0 0 0 1.5px #93c5fd}
.pm3-figs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 12px}
.pm3-figs>div{background:#fff;border-radius:12px;padding:12px 14px;box-shadow:0 0 0 1px var(--epm-border,#e6ebea)}
.pm3-figs small{display:block;font-size:12px;color:var(--text-secondary-light)}.pm3-figs b{display:block;font-size:22px;font-weight:600;line-height:1.3}.pm3-figs span{display:block;font-size:12px;color:var(--text-secondary-light)}
.pm3-figs .is-good{color:#15803d}.pm3-figs .is-warn{color:#b45309}.pm3-figs .is-bad{color:#b91c1c}.pm3-figs .is-muted{color:var(--text-secondary-light);font-size:16px}
.pm3-h{font-size:14px;font-weight:600;margin:0 0 8px}
.pm3-att{display:block;border-left:3px solid #f59e0b;padding:6px 12px;margin:0 0 6px;font-size:13.5px;color:var(--text-primary-light);background:#fffbeb;border-radius:0}
.pm3-att:hover{background:#fef3c7}
.pm3-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr));gap:0 16px;align-items:start}
.pm3-row{display:flex;justify-content:space-between;gap:16px;padding:8px 0;border-bottom:1px solid var(--epm-border,#eef1f0);font-size:13.5px}.pm3-row:last-child{border-bottom:0}
.pm3-row>span:first-child{color:var(--text-secondary-light);flex:0 0 40%}.pm3-row>span:last-child{text-align:right}
@media (max-width:640px){.pm3-stages,.pm3-figs{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* v3.105.251 PPM01 portfolio: CapEx / OpEx bar, programme rows */
.ppm-bar{display:flex;height:10px;border-radius:5px;overflow:hidden;background:var(--epm-soft,#f1f5f4);margin:6px 0 8px}.ppm-bar i{display:block;height:100%}
.ppm-bar .is-cap,.ppm-key.is-cap{background:#378ADD}.ppm-bar .is-op,.ppm-key.is-op{background:#1D9E75}.ppm-key{display:inline-block;width:9px;height:9px;border-radius:2px;margin-right:6px}
.epm-table tr.ppm-prog td{background:var(--epm-soft,#f6f8f7)}.epm-table td.ps-24{padding-left:24px!important}
.ppm-three{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:0 16px;align-items:start}.ppm-stages{display:flex;flex-wrap:wrap;gap:6px}
/* v3.105.255 PPM02 intake: status chips, bubble chart, ranking with the budget line, sign-off chain */
.ppm-chips{display:flex;flex-wrap:wrap;gap:6px}.ppm-chips a{font-size:13px;padding:4px 12px;border-radius:999px;border:1px solid var(--border-color,#e5e7eb);color:var(--text-secondary-light);text-decoration:none}.ppm-chips a.active{background:#7c3aed;border-color:#7c3aed;color:#fff}.ppm-chips a b{font-weight:600;margin-left:4px}
.ppm-bubble{width:100%;height:auto;display:block}.ppm-bubble text{font-size:11px;fill:var(--text-secondary-light,#6b7280)}.ppm-bubble .q{font-size:11px;font-weight:600;fill:var(--text-secondary-light,#9ca3af)}.ppm-bubble a circle{stroke:#fff;stroke-width:1.5;opacity:.85}.ppm-bubble a:hover circle{opacity:1}
.epm-table tr.ppm-cut td{border-top:2px dashed #dc2626!important;padding:4px 12px!important;font-size:12px;color:#dc2626;background:transparent}.epm-table tr.ppm-below td{opacity:.55}
.ppm-figs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.ppm-figs div{border:1px solid var(--border-color,#e5e7eb);border-radius:10px;padding:8px 10px;text-align:center}.ppm-figs small{display:block;font-size:11px;color:var(--text-secondary-light)}.ppm-figs b{font-size:20px}
.ppm-step{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid var(--border-color,#eef0f2)}.ppm-step:last-child{border-bottom:0}.ppm-step>i{width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex:none;font-style:normal;font-size:12px;font-weight:600;background:var(--epm-soft,#f1f5f4)}
.ppm-step.is-ok>i{background:#16a34a;color:#fff}.ppm-step.is-no>i{background:#dc2626;color:#fff}.ppm-step.is-now>i{background:#7c3aed;color:#fff}.ppm-sig{font-family:'Segoe Script','Brush Script MT',cursive;font-size:18px}
/* v3.105.256 PPM01 list: one frame per portfolio category (coloured edge) */
.ppm-frame{border-left:4px solid #7c3aed}.ppm-frame.is-customer{border-left-color:#16a34a}.ppm-frame.is-strategic{border-left-color:#7c3aed}.ppm-frame.is-capex{border-left-color:#378ADD}.ppm-frame.is-operational{border-left-color:#d97706}.ppm-frame.is-none{border-left-color:#9ca3af}
.ppm-frame .epm-card-title i{margin-right:4px}.ppm-frame thead th,.ppm-frame td.text-end{white-space:nowrap}.ppm-frame tfoot td{border-top:2px solid var(--border-color,#e5e7eb)}
/* v3.105.257 PPM01 frames fold open / closed */
.ppm-frame-toggle{display:flex;align-items:center;gap:8px;background:none;border:0;padding:0;color:inherit;text-align:left;cursor:pointer}.ppm-frame-toggle .epm-card-title{margin:0}
.ppm-chev{font-size:20px;line-height:1;transition:transform .15s}.ppm-frame.is-folded .ppm-chev{transform:rotate(-90deg)}.ppm-frame.is-folded .ppm-frame-body{display:none}.ppm-frame.is-folded>.card-header{border-bottom:0!important}
.ppm-frame .epm-pager{padding:8px 16px;border-top:1px solid var(--border-color,#eef0f2)}
/* v3.105.258 PPM01: summary strip; frame header with coloured icon, counts, health, KPI tiles and a meter (shown when folded too) */
.ppm-frame{--ppm-c:#7c3aed;border-left:0!important;overflow:hidden}.ppm-frame.is-customer{--ppm-c:#16a34a}.ppm-frame.is-strategic{--ppm-c:#7c3aed}.ppm-frame.is-capex{--ppm-c:#378ADD}.ppm-frame.is-operational{--ppm-c:#d97706}.ppm-frame.is-none{--ppm-c:#9ca3af}
.ppm-fh{border-top:4px solid var(--ppm-c)!important;border-bottom:1px solid var(--border-color,#eef0f2)!important}.ppm-frame.is-folded .ppm-fh{border-bottom:0!important}
.ppm-fh-ico{width:40px;height:40px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;font-size:20px;flex:none;color:var(--ppm-c);background:color-mix(in srgb,var(--ppm-c) 12%,transparent)}
.ppm-fh-title{display:block;font-size:17px;font-weight:600;color:var(--text-primary-light,#111827);line-height:1.2}.ppm-fh-sub{display:block;font-size:12px;color:var(--text-secondary-light);margin-top:2px}.ppm-frame-toggle{gap:12px}
.ppm-fh-health{display:flex;gap:14px;font-size:12px;color:var(--text-secondary-light);flex-wrap:wrap}.ppm-fh-health span{white-space:nowrap}
.ppm-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-top:14px}.ppm-kpi{background:var(--epm-soft,#f6f8f7);border-radius:10px;padding:10px 12px;min-width:0}
.ppm-kpi small,.ppm-sum small{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.03em;color:var(--text-secondary-light)}.ppm-kpi b{display:block;font-size:19px;font-weight:600;margin:2px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ppm-kpi span,.ppm-sum span{display:block;font-size:12px;color:var(--text-secondary-light)}
.ppm-kpi.is-good b{color:#16a34a}.ppm-kpi.is-accent b,.ppm-sum b.is-accent{color:var(--ppm-c,#7c3aed)}.ppm-kpi.is-bad b{color:#dc2626}
.ppm-meter{display:flex;height:8px;border-radius:4px;overflow:hidden;background:var(--epm-soft,#eef1f0);margin-top:12px}.ppm-meter i{display:block;height:100%}.ppm-meter .is-good,.ppm-meter-key .is-good{background:#16a34a}.ppm-meter .is-act,.ppm-meter-key .is-act{background:var(--ppm-c)}.ppm-meter .is-bud,.ppm-meter-key .is-bud{background:color-mix(in srgb,var(--ppm-c) 35%,transparent)}
.ppm-meter-key{display:flex;gap:16px;flex-wrap:wrap;font-size:11px;color:var(--text-secondary-light);margin-top:6px}.ppm-meter-key i{display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:5px}
.ppm-sum{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.ppm-sum>div{background:var(--white,#fff);border-radius:12px;padding:14px 16px;box-shadow:0 1px 2px rgba(16,24,40,.04)}.ppm-sum b{display:block;font-size:22px;font-weight:600;margin:2px 0;white-space:nowrap}
[data-theme=dark] .ppm-sum>div{background:var(--base,#1b2431)}
/* v3.105.259 PPM01 list, one screen: slim summary strip, one row per category, the projects of the selected one below */
.ppm-sum{gap:8px}.ppm-sum>div{padding:8px 12px}.ppm-sum b{font-size:17px;margin:0}.ppm-sum span{font-size:11px}
.ppm-cats{display:flex;flex-direction:column;gap:6px}
.ppm-cat{--ppm-c:#7c3aed;display:grid;grid-template-columns:minmax(190px,1.7fr) repeat(5,minmax(0,1fr)) minmax(0,.9fr);gap:10px;align-items:center;width:100%;text-align:left;background:var(--white,#fff);border:1px solid var(--border-color,#e5e7eb);border-left:4px solid var(--ppm-c);border-radius:10px;padding:8px 12px;cursor:pointer;color:inherit}
.ppm-cat:hover{border-color:var(--ppm-c)}.ppm-cat.is-on{border-color:var(--ppm-c);box-shadow:0 0 0 1px var(--ppm-c);background:color-mix(in srgb,var(--ppm-c) 5%,var(--white,#fff))}
.ppm-cat-name{display:flex;align-items:center;gap:10px;min-width:0}.ppm-cat .ppm-fh-ico{width:32px;height:32px;font-size:17px;border-radius:9px}.ppm-cat-t b{display:block;font-size:14px;font-weight:600;line-height:1.2}.ppm-cat-t small,.ppm-cat-k small{display:block;font-size:11px;color:var(--text-secondary-light)}
.ppm-cat-k{min-width:0}.ppm-cat-k b{display:block;font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ppm-cat-k.is-good b{color:#16a34a}.ppm-cat-k.is-bad b{color:#dc2626}.ppm-cat-k.is-accent b{color:var(--ppm-c)}
.ppm-frame.is-off{display:none!important}.ppm-frame{border-top:3px solid var(--ppm-c)}
@media (max-width:991px){.ppm-cat{grid-template-columns:repeat(3,minmax(0,1fr))}.ppm-cat-name{grid-column:1/-1}}
[data-theme=dark] .ppm-cat{background:var(--base,#1b2431)}

.ppm-filter .epm-filter-bar{margin:0}.ppm-sum.mb-16{margin-bottom:10px!important}
/* v3.105.260 PPM01 list: left menu to choose the portfolio, its figures and projects on the right */
.ppm-lm{display:grid;grid-template-columns:270px minmax(0,1fr);gap:16px;align-items:start}
.ppm-lm-menu{background:var(--white,#fff);border:1px solid var(--border-color,#e5e7eb);border-radius:12px;overflow:hidden;position:sticky;top:12px}[data-theme=dark] .ppm-lm-menu{background:var(--base,#1b2431)}
.ppm-lm-search{display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid var(--border-color,#eef0f2)}.ppm-lm-search input{border:0;background:transparent;outline:0;width:100%;font-size:13px;color:inherit}
.ppm-lm-list{max-height:calc(100vh - 260px);overflow:auto;padding:6px}
.ppm-lm-g{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--ppm-c);font-weight:600;padding:10px 8px 4px}
.ppm-lm-i{display:block;width:100%;text-align:left;background:transparent;border:0;border-left:3px solid transparent;border-radius:8px;padding:7px 10px;cursor:pointer;color:inherit}.ppm-lm-i:hover{background:var(--epm-soft,#f3f5f4)}
.ppm-lm-i.is-on{background:color-mix(in srgb,var(--ppm-c) 10%,transparent);border-left-color:var(--ppm-c)}.ppm-lm-n{display:block;font-size:13px;font-weight:600;line-height:1.25}.ppm-lm-s{display:block;font-size:11px;color:var(--text-secondary-light);margin-top:1px}
.ppm-lm-main{min-width:0;overflow:hidden}.ppm-lm-p{border-top:3px solid var(--ppm-c)}.ppm-lm-p.is-off{display:none}
.ppm-lm-h{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 18px 8px}.ppm-lm-t{font-size:17px;font-weight:600}.ppm-lm-m{font-size:12px;color:var(--text-secondary-light);margin-top:2px}
.ppm-pk{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px;padding:4px 18px 0}.ppm-pk>div{background:var(--epm-soft,#f6f8f7);border-radius:8px;padding:6px 10px;min-width:0}.ppm-pk small{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.03em;color:var(--text-secondary-light)}
.ppm-pk b{display:block;font-size:16px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ppm-pk .is-good b{color:#16a34a}.ppm-pk .is-bad b{color:#dc2626}.ppm-pk .is-accent b{color:var(--ppm-c)}
.ppm-lm-p .ppm-meter{margin:10px 18px 12px}.ppm-lm-p .epm-pager{padding:8px 16px;border-top:1px solid var(--border-color,#eef0f2)}
@media (max-width:991px){.ppm-lm{grid-template-columns:minmax(0,1fr)}.ppm-lm-menu{position:static}.ppm-lm-list{max-height:260px}}
.ppm-lm-p td.text-end,.ppm-lm-p th.text-end{white-space:nowrap}.ppm-lm-p td,.ppm-lm-p th{padding-left:8px;padding-right:8px}
/* v3.105.285 PPM01 workspace: the portfolio menu always on the left, the budget bar, overview grid, labelled attention items */
.ppm-ws{display:grid;grid-template-columns:260px minmax(0,1fr);gap:16px;align-items:start}.ppm-ws-main{min-width:0}a.ppm-lm-i{text-decoration:none;color:inherit}.ppm-ws-head{border-top:3px solid var(--ppm-c)}
/* v3.105.292 PMR reports: the selection panel (projects, or by portfolio, programme, type, method, sponsor, manager, client, stage, status, period) */
.pmr-sel__h{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;padding:12px 16px 4px;font-weight:600;font-size:14px}.pmr-sel__g{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px 12px;padding:8px 16px}.pmr-sel__g label{margin:0;min-width:0}.pmr-sel__g label>span:first-child{display:block;font-size:11px;font-weight:600;color:var(--text-secondary-light);margin-bottom:3px;text-transform:uppercase;letter-spacing:.03em}.pmr-sel__g .is-wide{grid-column:span 2}@media (max-width:575px){.pmr-sel__g .is-wide{grid-column:auto}}.pmr-sel__f{display:flex;justify-content:flex-end;gap:8px;padding:4px 16px 12px}
/* v3.105.319 SF06 Initiate Costing Sheet box on the stage form */
.sc-cost{border:1px dashed #93c5fd;background:#eff6ff;border-radius:8px;padding:10px 12px}[data-theme=dark] .sc-cost{background:#0b1a33;border-color:#1e3a8a}
/* v3.105.322 SF02 deal page: its costing sheet */
.dl-cost__g{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}.dl-cost__g small{display:block;font-size:11px;color:var(--text-secondary-light)}.dl-cost__g b{display:block;font-size:14px;font-weight:600}
/* v3.105.327 EPM form Present (as PM11): no menu, top bar or footer, the form full width, text size A− / A+, a small bar with Exit */
html.epm-present .sidebar,html.epm-present .navbar-header,html.epm-present .d-footer,html.epm-present .theme-customization__button,html.epm-present #altius,html.epm-present .epm-page-head .breadcrumb{display:none!important}
html.epm-present .dashboard-main,html.epm-present .sidebar.epm-railside~.dashboard-main{margin:0!important;width:100%!important}html.epm-present .dashboard-main-body{zoom:var(--epm-pz,1);padding-top:16px!important}html.epm-present .position-sticky{top:8px!important}
.epm-pbar{display:none}html.epm-present .epm-pbar{display:flex;gap:6px;position:fixed;right:16px;bottom:16px;z-index:1080;background:var(--white,#fff);border:1px solid var(--border-color,#e5e7eb);border-radius:10px;padding:6px;box-shadow:0 4px 16px rgba(0,0,0,.12)}html.epm-present .js-present:not(.epm-pbar .js-present){display:none!important}
html.epm-present:fullscreen,html.epm-present:fullscreen body{background:var(--neutral-50,#f8fafc)}@media print{.epm-pbar{display:none!important}}
.ppm-env{margin-top:14px}.ppm-env-t{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12.5px;margin-bottom:6px}
.ppm-env-bar{position:relative;display:flex;height:12px;border-radius:6px;background:var(--epm-soft,#eef1f0)}.ppm-env-bar i{display:block;height:100%}.ppm-env-bar i:first-child{border-radius:6px 0 0 6px}
.ppm-env-bar .is-ac,.ppm-meter-key .is-ac{background:#0f766e}.ppm-env-bar .is-cm,.ppm-meter-key .is-cm{background:#f59e0b}.ppm-env-bar .is-al,.ppm-meter-key .is-al{background:#99d6c9}.ppm-meter-key .is-env{background:#1f2937;width:2px!important}
.ppm-env-bar b{position:absolute;top:-4px;bottom:-4px;width:2px;background:#1f2937;margin-left:-1px}[data-theme=dark] .ppm-env-bar b,[data-theme=dark] .ppm-meter-key .is-env{background:#e5e7eb}
.ppm-ov{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(260px,1fr);gap:0 16px;align-items:start}.ppm-ov td.text-end,.ppm-ov th.text-end,.ppm-ws-main td.text-end{white-space:nowrap}.ppm-ov td:first-child{min-width:220px}
.ppm-att{display:flex;gap:8px;align-items:baseline;padding:6px 0;border-bottom:1px solid var(--border-color,#eef0f2);font-size:13px;color:var(--text-primary-light);text-decoration:none}.ppm-att:last-of-type{border-bottom:0}.ppm-att:hover{color:var(--primary-600)}
.ppm-att>span{flex:0 0 auto;font-size:11px;font-weight:600;border-radius:4px;padding:1px 6px}.ppm-att.is-bad>span{background:#fee2e2;color:#991b1b}.ppm-att.is-warn>span{background:#fef3c7;color:#92400e}
.ppm-mini{height:4px;border-radius:2px;background:var(--epm-soft,#eef1f0);margin-top:3px;overflow:hidden}.ppm-mini i{display:block;height:100%;background:#0f766e}.ppm-obj{padding:6px 0}
@media (max-width:1199px){.ppm-ov{grid-template-columns:minmax(0,1fr)}}@media (max-width:991px){.ppm-ws{grid-template-columns:minmax(0,1fr)}.ppm-ws .ppm-lm-menu{position:static}.ppm-ws .ppm-lm-list{max-height:220px}}

.pm3-grid.ppm-one{grid-template-columns:minmax(0,1fr)}
/* v3.105.308 PMR selection panel: type-ahead picker (chips, 20 matches at a time) */
.pmr-pick{position:relative}.pmr-pick__box{display:flex;flex-wrap:wrap;gap:4px;align-items:center;min-height:42px;padding:4px 8px;border:1px solid var(--border-color,#d0d5dd);border-radius:8px;background:var(--white,#fff);cursor:text}
.pmr-pick__in{flex:1 1 120px;min-width:90px;border:0;outline:0;background:transparent;font-size:14px;padding:4px 2px;color:inherit}.pmr-pick__box:focus-within{border-color:var(--primary-600,#0d9488);box-shadow:0 0 0 2px color-mix(in srgb,var(--primary-600,#0d9488) 18%,transparent)}
.pmr-chip{display:inline-flex;align-items:center;gap:4px;max-width:100%;padding:2px 4px 2px 8px;border-radius:6px;background:var(--epm-soft,#eef6f4);font-size:13px}.pmr-chip button{border:0;background:transparent;color:inherit;opacity:.6;font-size:16px;line-height:1;padding:0 4px;cursor:pointer}.pmr-chip button:hover{opacity:1}
.pmr-pick__list{position:absolute;z-index:30;left:0;right:0;top:calc(100% + 4px);max-height:280px;overflow:auto;border:1px solid var(--border-color,#d0d5dd);border-radius:8px;background:var(--white,#fff);box-shadow:0 8px 24px rgba(16,24,40,.12);padding:4px}
.pmr-pick__opt{display:block;width:100%;text-align:left;border:0;background:transparent;padding:6px 10px;border-radius:6px;font-size:13px;cursor:pointer;color:inherit}.pmr-pick__opt:hover{background:var(--epm-soft,#f3f5f4)}.pmr-pick__opt.is-on{font-weight:600;background:color-mix(in srgb,var(--primary-600,#0d9488) 10%,transparent)}
.pmr-pick__none,.pmr-pick__more{padding:6px 10px;font-size:12px;color:var(--text-secondary-light)}[data-theme=dark] .pmr-pick__box,[data-theme=dark] .pmr-pick__list{background:var(--base,#1b2431)}

/* v3.105.310 PMR compact filter bar */
.pmr-bar .epm-filter-bar{border-bottom:0}.pmr-bar .epm-filter-bar .form-select{min-width:140px}.pmr-more{border-top:1px solid var(--epm-border,#e6ebea)}.pmr-more>summary{cursor:pointer;list-style:none;padding:10px 20px;font-size:13px;font-weight:600;color:var(--text-secondary-light)}.pmr-more>summary::-webkit-details-marker{display:none}.pmr-more[open]>summary{border-bottom:1px solid var(--epm-border,#e6ebea)}.pmr-more .pmr-sel__g{padding:14px 20px 18px}

/* v3.105.311 PMR filter bar: the search field on its own full-width row, the choices below it (nothing overlaps) */
.pmr-bar .pmr-bar__q{display:block!important;flex:1 1 100%;min-width:0;position:relative}.pmr-bar .pmr-bar__q input{width:100%;min-width:0}
.pmr-bar .epm-filter-bar .epm-ss,.pmr-bar .epm-filter-bar>.form-select{flex:0 1 200px;min-width:150px;width:auto}.pmr-bar .epm-filter-bar .epm-ss .form-control{width:100%;min-width:0}

/* v3.105.312 PMR: the late switch in the grid, like the other fields */
.pmr-sel__g .pmr-late{display:block}.pmr-late__b{display:flex!important;align-items:center;gap:8px;min-height:42px;font-size:14px;color:var(--text-primary-light);text-transform:none!important;letter-spacing:0!important;font-weight:400!important}

/* v3.105.315 input kinds of the form visual: addon left / right (calendar, weekday, clock, unit, +60, @domain, https://), period with days counted */
.epm-ig{display:flex;align-items:stretch;border:1px solid var(--epm-border);border-radius:8px;background:var(--white,#fff);overflow:hidden;transition:border-color .15s,box-shadow .15s}
.epm-ig:focus-within{border-color:var(--primary-600);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary-600) 15%,transparent)}.epm-ig:has(.is-invalid){border-color:var(--epm-danger)}
.epm-ig__a{display:flex;align-items:center;gap:6px;padding:0 12px;font-size:13px;white-space:nowrap;color:var(--text-secondary-light,#6b7280);background:var(--epm-soft,#f8faf9);border-inline-end:1px solid var(--epm-border)}
.epm-ig__a.is-r{border-inline-end:0;border-inline-start:1px solid var(--epm-border)}.epm-ig__a i{font-size:16px}.epm-ig__wd:empty,.epm-ig__days:empty{display:none}
.epm-ig .form-control,.epm-ig .flatpickr-input{flex:1 1 0;min-width:0;border:0!important;box-shadow:none!important;border-radius:0!important;background:transparent!important}
.epm-ig.is-num .form-control{text-align:end;font-variant-numeric:tabular-nums}.epm-ig__sep{display:flex;align-items:center;padding:0 4px;font-size:12px;color:var(--text-secondary-light)}
.epm-ig--period .form-control,.epm-ig--period .flatpickr-input{padding-inline:8px}
[data-theme=dark] .epm-ig{background:var(--base,#1b2431)}

/* v3.105.316 phone: country code select in the addon; the work e-mail and the phone are as long as their content, also in the employee master */
.epm-ig__a--sel{padding:0}.epm-ig__sel{border:0;background:transparent;font-size:13px;color:var(--text-secondary-light,#6b7280);padding:0 8px 0 10px;height:100%;min-height:40px;cursor:pointer;outline:0;max-width:96px}
.epm-ig--email{max-width:46ch}.epm-ig--phone{max-width:40ch}
.em-panes .row > [style*="--em-w"] > .epm-ig{max-width:var(--em-w,100%)}.em-panes .row > [style*="--em-w"] > .epm-ig--email{max-width:min(var(--em-w,100%),46ch)}.em-panes .row > [style*="--em-w"] > .epm-ig--phone{max-width:min(var(--em-w,100%),40ch)}

/* v3.105.317 dates: wide enough for the whole date, just the calendar icon (the browser's own icon is hidden; the icon on the left opens the calendar) */
.epm-ig--date{min-width:176px}.epm-ig--date input[type=date]::-webkit-calendar-picker-indicator{display:none}.epm-ig--date .epm-ig__a{cursor:pointer}
.em-panes .row > [style*="--em-w"] > .epm-ig--date{max-width:200px}.em-panes .row > [style*="--em-w"] > .epm-ig--email{max-width:min(var(--em-w,100%),46ch)}

/* v3.105.342 the figures behind a target (EP05C): a round red button inside the target box, a quick view drawn on the page body (not clipped by the table), the full table in a pop-up */
.epm-tb{position:relative}.epm-tb-in{padding-right:38px!important}
.epm-tb-btn{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:22px;height:22px;border-radius:50%;border:0;background:#dc2626;color:#fff;padding:0;display:inline-flex;align-items:center;justify-content:center;font-size:14px;line-height:1;cursor:pointer;box-shadow:0 0 0 3px rgba(220,38,38,.18)}.epm-tb-btn:hover,.epm-tb-btn:focus-visible{background:#b91c1c;box-shadow:0 0 0 4px rgba(220,38,38,.28);outline:0}
.epm-tb-pop{position:fixed;z-index:2100;display:none;pointer-events:none;width:min(380px,calc(100vw - 16px));padding:10px 12px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#1f2937;box-shadow:0 12px 32px rgba(15,23,42,.22);font-size:12px;line-height:1.4}[data-theme=dark] .epm-tb-pop{background:#273142;color:#f1f5f9;border-color:#3a4659}
.epm-tb-pop b{display:block;margin-bottom:4px;font-size:13px}.epm-tb-t{width:100%;border-collapse:collapse}.epm-tb-t th,.epm-tb-t td{padding:3px 6px;text-align:right;border-top:1px solid rgba(100,116,139,.25);white-space:nowrap}.epm-tb-t th:first-child,.epm-tb-t td:first-child{text-align:left;white-space:normal}.epm-tb-t th{font-weight:400;color:#64748b}.epm-tb-t tfoot td{font-weight:700}.epm-tb-n{margin-top:6px;color:#64748b}

/* v3.105.358 the requisition (MM00): the header fields in columns, using the full width */
.mm-dl-wide{grid-template-columns:repeat(3,max-content minmax(0,1fr));gap:6px 16px}@media (max-width:1399px){.mm-dl-wide{grid-template-columns:repeat(2,max-content minmax(0,1fr))}}@media (max-width:767px){.mm-dl-wide{grid-template-columns:max-content minmax(0,1fr)}}

/* v3.105.360 the header info of the requisition: the label and the value on one baseline; the estimated total as one line */
.mm-dl-wide{align-items:baseline}.mm-total{display:inline-flex;align-items:baseline;gap:8px;white-space:nowrap}.mm-total b{font-size:20px;line-height:1.2;font-weight:700}.mm-total small{font-size:12px}

/* v3.105.384 PPM01 portfolios in the standard list layout: five figures, stacked health bar, envelope bar over 100 %, the portfolio switcher; the menu only on the list */
.ppm-ws.is-solo{grid-template-columns:minmax(0,1fr)}
.pm3-figs.is-5{grid-template-columns:repeat(5,minmax(0,1fr))}@media (max-width:991px){.pm3-figs.is-5{grid-template-columns:repeat(2,minmax(0,1fr))}}
.ppm-hbar{display:flex;height:8px;border-radius:4px;overflow:hidden;background:var(--epm-soft,#eef1f0)}.ppm-hbar i{display:block;height:100%}.ppm-hbar .is-r{background:#dc2626}.ppm-hbar .is-a{background:#d97706}.ppm-hbar .is-g{background:#16a34a}
.ppm-mini.is-over i{background:#dc2626}
.ppm-sw{width:auto;max-width:300px}
.ppm-ws-main .lst-table th,.ppm-ws-main .lst-table td{padding-left:8px;padding-right:8px;font-size:13px}.ppm-ws-main .lst-table td.text-end,.ppm-ws-main .lst-table th.text-end{white-space:nowrap}
.ppm-ws:not(.is-solo){grid-template-columns:230px minmax(0,1fr)}@media (max-width:1500px){.ppm-ws:not(.is-solo){grid-template-columns:minmax(0,1fr)}.ppm-ws:not(.is-solo) .ppm-lm-menu{position:static}.ppm-ws:not(.is-solo) .ppm-lm-list{max-height:220px}}

/* v3.105.397 date and e-mail fields wrapped by the script (EPM.igWrap): small fields and fields inside a row */
.epm-ig--sm .epm-ig__a{padding:0 9px}.epm-ig--sm .epm-ig__a i{font-size:14px}.epm-ig--sm .form-control,.epm-ig--sm .flatpickr-input{padding-block:.25rem;font-size:.875rem}
.epm-ig--auto{display:inline-flex;width:auto;vertical-align:middle}.epm-ig.epm-ig--auto.epm-ig--date{min-width:150px}

/* v3.105.424 CT10 CT00 rates: a tile per year */
.fx-tiles{display:flex;flex-wrap:wrap;align-items:stretch;gap:8px;margin-bottom:6px}.fx-tiles:last-child{margin-bottom:0}
.fx-tiles__ccy{display:flex;flex-direction:column;justify-content:center;min-width:74px;padding-right:4px}.fx-tiles__ccy b{font-size:14px;line-height:1.2}.fx-tiles__ccy small{font-size:11px;color:#6b7280}
.fx-tile{display:flex;flex-direction:column;min-width:84px;padding:5px 12px;border:1px solid #e3e8ef;border-radius:10px;background:#fff;color:inherit;text-decoration:none;transition:border-color .15s,background .15s}
.fx-tile small{font-size:11px;color:#6b7280}.fx-tile b{font-size:14px;font-variant-numeric:tabular-nums}
.fx-tile:hover{border-color:#93b4f5;color:inherit}.fx-tile.is-on{border-color:#2563eb;background:#eff4ff}.fx-tile.is-on small{color:#2563eb}
.fx-tile.is-none{border-style:dashed;border-color:#f3a5a5}.fx-tile.is-none b{color:#dc2626;font-size:12.5px}
[data-theme=dark] .fx-tile{background:transparent;border-color:#374151}[data-theme=dark] .fx-tile.is-on{background:rgba(37,99,235,.15);border-color:#3b82f6}

/* v3.105.431 a placeholder in a small field (grids of CT10 to CT21 and others) in the font of the field: the theme forces 1rem !important on every placeholder */
.form-control-sm::placeholder{font-size:inherit !important}
