/* =========================================================
   BAAU HR Automation — Design System
   ========================================================= */

:root {
  --navy-900: #171b3d;
  --navy-800: #1f2559;
  --navy-700: #262d6e;
  --navy-600: #2f3888;
  --navy-500: #3a44a3;
  --red-600: #c81e2c;
  --red-500: #e02537;
  --red-100: #fce8ea;

  --bg: #f3f4f9;
  --surface: #ffffff;
  --surface-alt: #f8f9fc;
  --border: #e5e7f0;
  --border-strong: #d7dae8;

  --text-primary: #171a2b;
  --text-secondary: #676c85;
  --text-muted: #9599ab;
  --text-on-dark: #eef0fb;
  --text-on-dark-muted: #9aa0c8;

  --success: #17a367;
  --success-bg: #e7f8f1;
  --warning: #d98a0b;
  --warning-bg: #fdf2e0;
  --danger: #d6323f;
  --danger-bg: #fbe9ea;
  --info: #2f7fd6;
  --info-bg: #e8f2fc;

  --radius-sm: 14px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(23, 26, 43, 0.06);
  --shadow-md: 0 4px 16px rgba(23, 26, 43, 0.08);
  --shadow-lg: 0 12px 32px rgba(23, 26, 43, 0.14);

  --sidebar-w: 264px;
  --topbar-h: 68px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

/* Same thin scrollbar everywhere as .sidebar-nav (5px, rounded, no track) —
   applied at the root so every scrollable panel picks it up unless it opts
   out (.table-wrap intentionally hides its horizontal scrollbar instead). */
html { scrollbar-width: thin; scrollbar-color: #cfd2e2 transparent; }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cfd2e2; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #b7bbd4; }

/* =========================================================
   Auth / Login
   ========================================================= */

@keyframes blobFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.08); }
  66% { transform: translate(-20px, 20px) scale(0.96); }
}
@keyframes blobFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-35px, -25px) scale(1.12); }
}
@keyframes blobFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, 30px) scale(0.9); }
}
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(58,68,163,0.05), transparent 60%),
    var(--surface);
}

.auth-visual {
  position: relative;
  background: linear-gradient(135deg, #191d4a 0%, #262d6e 45%, #4a2258 78%, #7a2035 100%);
  background-size: 200% 200%;
  animation: shimmer 14s ease-in-out infinite alternate;
  color: var(--text-on-dark);
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.auth-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
}
.auth-blob-1 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #6a74e6, transparent 70%);
  top: -120px; right: -100px;
  animation: blobFloat1 16s ease-in-out infinite;
}
.auth-blob-2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, #e0356b, transparent 70%);
  bottom: -100px; left: -80px;
  animation: blobFloat2 18s ease-in-out infinite;
}
.auth-blob-3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, #35b3e0, transparent 70%);
  bottom: 20%; right: 10%;
  animation: blobFloat3 13s ease-in-out infinite;
}

.auth-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 100% 100% at 30% 20%, black 40%, transparent 85%);
  pointer-events: none;
}

.auth-brand { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; animation: fadeInUp .6s ease both; }
.auth-brand img { width: 52px; height: 52px; border-radius: 12px; background: #fff; padding: 4px; box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.auth-brand-name { font-size: 15px; font-weight: 700; letter-spacing: .02em; }
.auth-brand-sub { font-size: 12px; color: var(--text-on-dark-muted); margin-top: 2px; }

.auth-headline { position: relative; z-index: 2; max-width: 440px; animation: fadeInUp .7s ease .05s both; }
.auth-headline h1 { font-size: 36px; line-height: 1.22; margin: 0 0 14px; font-weight: 800; letter-spacing: -.01em; }
.auth-headline h1 .accent {
  background: linear-gradient(90deg, #ff8fb3, #ffd08a 60%, #ff8fb3);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5s linear infinite;
}
.auth-headline p { color: var(--text-on-dark-muted); font-size: 15px; margin: 0; }

.auth-stat-cards {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 14px;
  animation: fadeInUp .8s ease .12s both;
}
.auth-stat-card {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 16px;
  padding: 16px 18px;
  animation: cardFloat 5s ease-in-out infinite;
}
.auth-stat-card:nth-child(2) { animation-delay: .4s; }
.auth-stat-card:nth-child(3) { animation-delay: .8s; }
.auth-stat-card .auth-stat-icon {
  width: 30px; height: 30px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.14);
  margin-bottom: 10px;
}
.auth-stat-card .auth-stat-icon svg { width: 15px; height: 15px; }
.auth-stat-num { font-size: 21px; font-weight: 800; }
.auth-stat-label { font-size: 11.5px; color: var(--text-on-dark-muted); margin-top: 2px; }

.auth-visual-simple {
  position: relative;
  background: linear-gradient(135deg, #191d4a 0%, #262d6e 45%, #4a2258 78%, #7a2035 100%);
  background-size: 200% 200%;
  animation: shimmer 14s ease-in-out infinite alternate;
  color: var(--text-on-dark);
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}
.auth-visual-simple .arches {
  position: absolute;
  left: -60px;
  bottom: -60px;
  width: 420px;
  opacity: 0.12;
  pointer-events: none;
  z-index: 1;
}

.auth-logo-block { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; animation: fadeInUp .6s ease both; }
.auth-logo-block img { width: 52px; height: 52px; border-radius: 12px; background: #fff; padding: 4px; box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.auth-uni-name { font-size: 13px; font-weight: 700; line-height: 1.35; letter-spacing: .02em; }
.auth-uni-year { font-size: 11px; color: var(--text-on-dark-muted); margin-top: 2px; }

.auth-logotype { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; margin: 56px 0 22px; animation: fadeInUp .7s ease .05s both; }
.auth-logotype .baau { font-size: 40px; font-weight: 800; letter-spacing: -.01em; }
.auth-logotype .divider { width: 1px; height: 34px; background: rgba(255,255,255,0.25); }
.auth-logotype .hr-text { font-size: 15px; font-weight: 700; line-height: 1.35; }
.auth-logotype .hr-text span { display: block; font-size: 11px; font-weight: 500; color: var(--text-on-dark-muted); letter-spacing: .06em; margin-top: 1px; }

.auth-simple-headline { position: relative; z-index: 2; max-width: 420px; animation: fadeInUp .8s ease .1s both; }
.auth-simple-headline h1 { font-size: 27px; font-weight: 800; line-height: 1.4; margin: 0 0 12px; letter-spacing: -.01em; }
.auth-simple-headline p { font-size: 14px; color: var(--text-on-dark-muted); margin: 0; line-height: 1.65; }
.auth-simple-headline p {
  margin-bottom: 15px;
}

.security-pill {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  background: var(--success-bg);
  color: var(--success);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin: 10px auto 24px;
}
.security-pill svg { width: 13px; height: 13px; }

.sa-pill {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700;
  padding: 6px 14px; border-radius: 20px; cursor: default;
}
.sa-pill-green { background: var(--success-bg); color: var(--success); }
.sa-pill-red { background: var(--danger-bg); color: var(--danger); cursor: help; }
.sa-pill-yellow { background: var(--warning-bg); color: var(--warning); cursor: help; }
.sa-pill-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }

.sa-info-banner {
  display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; margin-bottom: 16px;
  background: #eef2ff; border-left: 4px solid var(--navy-500, #5b5fc7); border-radius: 10px;
}
.sa-info-banner p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--text-secondary); }
.sa-info-icon {
  display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; flex-shrink: 0;
  border-radius: 50%; background: #dde3fb; color: #5b5fc7;
}
.sa-info-icon svg { width: 15px; height: 15px; }

.sa-form-card {
  display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 18px;
  padding: 16px; background: var(--surface-alt); border: 1px solid var(--border); border-radius: 14px;
}
.sa-field label {
  display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700;
  color: var(--text-secondary); margin-bottom: 6px;
}
.sa-field label svg { width: 13px; height: 13px; color: var(--navy-500, #5b5fc7); flex-shrink: 0; }
.sa-pill-input {
  display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 20px;
}
.sa-pill-input:focus-within { border-color: var(--navy-500, #5b5fc7); }
.sa-pill-input-icon {
  display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; flex-shrink: 0;
  border-radius: 50%; background: #eef2ff; color: #5b5fc7;
}
.sa-pill-input-icon svg { width: 12px; height: 12px; }
.sa-pill-input input, .sa-pill-input select {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent;
  font-size: 13.5px !important; font-weight: 600; color: var(--text-primary); padding: 0; height: 100%;
  box-sizing: border-box; font-family: inherit;
}
.sa-pill-input select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b5fc7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right center; background-size: 12px;
  padding-right: 16px;
}
.sa-status-dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.sa-status-dot-approved { background: var(--success-bg) !important; color: var(--success) !important; }
.sa-status-dot-rejected { background: var(--danger-bg) !important; color: var(--danger) !important; }
.sa-status-dot-pending { background: var(--warning-bg) !important; color: var(--warning) !important; }
.sa-status-box-approved { background: var(--success-bg) !important; border-color: var(--success) !important; }
.sa-status-box-approved .sa-select-value { color: var(--success) !important; }
.sa-status-box-approved .sa-select-chevron { color: var(--success) !important; }
.sa-status-box-approved .sa-pill-input-icon { background: var(--success) !important; color: var(--success-bg) !important; }
.sa-status-box-rejected { background: var(--danger-bg) !important; border-color: var(--danger) !important; }
.sa-status-box-rejected .sa-select-value { color: var(--danger) !important; }
.sa-status-box-rejected .sa-select-chevron { color: var(--danger) !important; }
.sa-status-box-rejected .sa-pill-input-icon { background: var(--danger) !important; color: var(--danger-bg) !important; }
.sa-status-box-pending { background: var(--warning-bg) !important; border-color: var(--warning) !important; }
.sa-status-box-pending .sa-select-value { color: var(--warning) !important; }
.sa-status-box-pending .sa-select-chevron { color: var(--warning) !important; }
.sa-status-box-pending .sa-pill-input-icon { background: var(--warning) !important; color: var(--warning-bg) !important; }
.sa-select-trigger { cursor: pointer; user-select: none; }
.sa-select-value { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sa-select-chevron { width: 12px; height: 12px; flex-shrink: 0; color: var(--navy-500, #5b5fc7); }
.sa-status-list { width: 100%; }
.sa-status-option { display: flex; align-items: center; gap: 8px; }
.sa-status-option-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.sa-submit-btn {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 50%; border: none; background: var(--navy-500, #5b5fc7); color: #fff; cursor: pointer;
}
.sa-submit-btn svg { width: 16px; height: 16px; }
.sa-submit-btn:hover { background: var(--navy-600, #464ab0); }

.sa-table-wrap { border: 1px solid var(--border); border-radius: 14px; max-height: 46vh; overflow-x: auto; overflow-y: auto; }
table.data-table.sa-table { table-layout: auto; width: auto; min-width: 0; }
table.data-table.sa-table thead th { display: table-cell; padding: 10px 12px; font-size: 10.5px; white-space: nowrap; background: #42469d; color: #ffffff; }
table.data-table.sa-table tbody td { padding: 9px 12px; font-size: 12.5px; white-space: nowrap; }
table.data-table.sa-table td.sa-dept-cell { max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sa-table thead th svg { width: 13px; height: 13px; margin-right: 5px; vertical-align: -2px; color: #ffffff; }
.sa-table-name-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  border-radius: 50%; background: #eef2ff; color: #5b5fc7; margin-right: 10px; flex-shrink: 0;
}
.sa-table-name-icon svg { width: 15px; height: 15px; }
.sa-amount-pill {
  display: inline-block; min-width: 56px; text-align: center; padding: 6px 14px;
  border-radius: 20px; font-weight: 700; font-size: 13px;
}
.sa-amount-pill-payiz { background: var(--success-bg); color: var(--success); }
.sa-amount-pill-yaz { background: var(--success-bg); color: var(--success); }
.sa-action-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  border-radius: 8px; border: none; cursor: pointer; margin-right: 4px;
}
.sa-action-btn svg { width: 13px; height: 13px; }
.sa-action-edit { background: #eef2ff; color: #5b5fc7; }
.sa-action-edit:hover { background: #dde3fb; }
.sa-action-delete { background: var(--danger-bg); color: var(--danger); }
.sa-action-delete:hover { background: #f9d5d8; }
.sa-close-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 44px;
  border-radius: 12px; border: none; background: var(--navy-500, #5b5fc7); color: #fff;
  font-weight: 700; font-size: 14px; cursor: pointer;
}
.sa-close-btn svg { width: 16px; height: 16px; }
.sa-close-btn:hover { background: var(--navy-600, #464ab0); }

.sa-modal-box { max-height: 88vh; display: flex; flex-direction: column; }
.sa-modal-body { overflow-y: auto; flex: 1; min-height: 0; padding: 20px 24px; }
@media (max-width: 640px) {
  .sa-modal-box { max-height: 92vh; }
  .sa-form-card { padding: 12px; gap: 10px; }
  .sa-info-banner { padding: 12px 14px; }
}

.sa-search-list {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 20; margin-top: 4px;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 12px;
  box-shadow: 0 8px 20px rgba(20,22,60,.12); max-height: 220px; overflow-y: auto;
  text-align: left; font-size: 13px; line-height: 1.4;
}
.sa-search-list-item {
  padding: 9px 14px; font-size: 13px !important; font-weight: 500; text-align: left !important;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; line-height: 1.4;
  box-sizing: border-box;
}
.sa-search-list-item:hover, .sa-search-list-item.active { background: var(--surface-alt); }
.sa-search-list-empty { padding: 9px 14px; font-size: 12.5px !important; color: var(--text-muted); text-align: left !important; }

.account-type-label { font-size: 12.5px; font-weight: 600; color: var(--text-secondary); margin-bottom: 10px; }
.account-select { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.account-card {
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: all .15s ease;
}
.account-card:hover { border-color: var(--navy-500); }
.account-card { border-radius: 16px; }
.account-card.selected { border-color: #6a5ff0; background: linear-gradient(160deg, #f4f2ff, #eef1fd); box-shadow: 0 0 0 3px rgba(106,95,240,0.14); }
.account-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.account-card-icon {
  width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-alt); color: var(--text-secondary);
  transition: all .15s ease;
}
.account-card.selected .account-card-icon { background: #6a5ff0; color: #fff; }
.account-card-icon svg { width: 17px; height: 17px; }
.account-card-radio {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--border-strong);
  position: relative; flex-shrink: 0;
  transition: border-color .15s ease;
}
.account-card.selected .account-card-radio { border-color: #6a5ff0; }
.account-card.selected .account-card-radio::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #6a5ff0;
}
.account-card-title { font-size: 13.5px; font-weight: 700; margin-bottom: 2px; }
.account-card-sub { font-size: 11.5px; color: var(--text-muted); line-height: 1.4; }

.auth-form-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  overflow: hidden;
  background: linear-gradient(160deg, #f4f6ff 0%, #eef1fd 45%, #f7eefb 100%);
}
.auth-form-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(38,45,110,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 15%, black 30%, transparent 75%);
  pointer-events: none;
}

.auth-form-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}
.auth-form-blob-1 {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(122,108,246,0.85), transparent 65%);
  top: -120px; right: -100px;
  animation: blobFloat1 16s ease-in-out infinite;
}
.auth-form-blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(88,150,245,0.75), transparent 65%);
  bottom: -120px; left: -90px;
  animation: blobFloat2 18s ease-in-out infinite;
}
.auth-form-blob-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(210,120,230,0.6), transparent 65%);
  top: 42%; right: 2%;
  animation: blobFloat3 13s ease-in-out infinite;
}

.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 430px;
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 26px;
  box-shadow: 0 30px 60px rgba(58,68,163,0.14), 0 4px 14px rgba(23, 26, 43, 0.06);
  padding: 34px 36px;
  animation: fadeInUp .5s ease both;
}

.auth-header-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.auth-badge {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-700);
}
.auth-badge svg { width: 21px; height: 21px; color: #fff; }

.auth-form {
  width: 100%;
}

.auth-security-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 3px;
}
.auth-security-tag svg { width: 12px; height: 12px; color: var(--success); }

.auth-form h2 { font-size: 30px; margin: 0; font-weight: 800; letter-spacing: -.01em; color: var(--navy-800, #1a2036); text-align: center; }
.auth-form .auth-lead { color: var(--text-secondary); margin: 0 0 18px; font-size: 13.5px; }

/* Role switcher (Admin / İşçi) */
.role-switch {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 5px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 16px;
}
.role-switch-indicator {
  position: absolute;
  top: 5px;
  height: calc(100% - 10px);
  border-radius: 9px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: left .28s cubic-bezier(.4,0,.2,1), width .28s cubic-bezier(.4,0,.2,1);
  z-index: 0;
}
.role-btn {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 10px;
  border-radius: 9px;
  background: transparent;
  border: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: color .15s ease, transform .15s ease;
}
.role-btn svg { width: 16px; height: 16px; transition: transform .2s ease; }
.role-btn:hover { color: var(--text-primary); }
.role-btn.active {
  color: var(--navy-700);
}
.role-btn.active svg { transform: scale(1.1); }
.role-btn.active .role-btn-dot { background: var(--red-600); }

.role-panel { display: none; }
.role-panel.active { display: block; animation: fadeIn .16s ease; }

/* Auth-specific: flat, minimal — filled borderless inputs, solid flat buttons */
.auth-form .input {
  border: 1.5px solid transparent;
  background: rgba(110, 100, 220, 0.07);
  border-radius: 13px;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.auth-form .input-icon-wrap svg { transition: color .15s ease; color: #8b85d6; }
.auth-form .input:focus ~ svg,
.auth-form .input-icon-wrap:focus-within svg { color: #6a5ff0; }
.auth-form .input:focus {
  background: rgba(255,255,255,0.85);
  border-color: #6a5ff0;
  box-shadow: 0 0 0 3px rgba(106,95,240,0.15);
}
.auth-form .btn svg { transition: transform .15s ease; }
.auth-form .btn:hover svg { transform: translateX(3px); }

.role-note {
  display: flex;
  gap: 10px;
  background: var(--info-bg);
  border: 1px solid #cfe2f6;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 20px;
  font-size: 12.5px;
  color: #2a5c8f;
  line-height: 1.5;
}
.role-note svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; color: var(--info); }
.role-note.warn { background: var(--warning-bg); border-color: #f1dcae; color: #8a5e08; }
.role-note.warn svg { color: var(--warning); }
/* asp-validation-summary renders this class (instead of validation-summary-errors)
   when there is nothing to show — the element must stay fully invisible then,
   not just empty, or its role-note/warn background paints an empty bar. */
.validation-summary-valid { display: none; }
.validation-summary-errors { display: flex !important; }

.field { margin-bottom: 18px; }
.auth-form .field { margin-bottom: 13px; }
.auth-form .role-note { padding: 10px 12px; margin-bottom: 14px; font-size: 12px; }
.auth-form .input { padding: 10px 14px; }
.auth-form .btn-block { padding: 11px 18px; }
.auth-form label { margin-bottom: 5px; }
.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 7px;
  letter-spacing: .01em;
}

.input, select.input, textarea.input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 14px;
  color: var(--text-primary);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus, select.input:focus, textarea.input:focus {
  outline: none;
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(58, 68, 163, 0.14);
}
.input::placeholder { color: var(--text-muted); }
.input.input-error, select.input.input-error, textarea.input.input-error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.input-icon-wrap { position: relative; }
.input-icon-wrap .input { padding-left: 42px; }
.input-icon-wrap svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--text-muted);
  pointer-events: none;
}
.input-icon-wrap.has-toggle .input { padding-right: 42px; }
.password-toggle {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; color: var(--text-muted);
  transition: color .15s ease, background .15s ease;
}
.password-toggle:hover { color: var(--navy-600); background: var(--surface-alt); }
.password-toggle svg { position: static; width: 17px; height: 17px; transform: none; }
.password-toggle .eye-off { display: none; }
.password-toggle.showing .eye-on { display: none; }
.password-toggle.showing .eye-off { display: block; }

.field-row-between { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.checkbox-line { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-secondary); }
.checkbox-line input { width: 16px; height: 16px; accent-color: var(--navy-700); }
.link { color: var(--navy-700); font-weight: 600; font-size: 13px; }
.link:hover { text-decoration: underline; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy-700); color: #fff; box-shadow: 0 6px 16px rgba(38,45,110,0.28); }
.btn-primary:hover { background: var(--navy-800); }
.auth-form .btn-primary { background: linear-gradient(135deg, #4f46d6, #2b2f8f); box-shadow: 0 10px 24px rgba(79,70,214,0.32); border: none; }
.auth-form .btn-primary:hover { background: linear-gradient(135deg, #453cc9, #262a82); }
.auth-form .btn-block { border-radius: 13px; font-weight: 700; }
.btn-accent { background: #232656; color: #fff; }
.btn-accent:hover { background: #2f3372; }
.btn-outline { background: var(--surface); color: var(--text-primary); border: 1.5px solid var(--border-strong); }
.btn-outline:hover { background: var(--surface-alt); border-color: var(--navy-500); }
.btn-ghost {
    background: #2d2f73;
    color: #ffffff;
    border: 1px solid #31347b;
}
.btn-ghost:hover { background: var(--surface-alt); color: var(--text-primary); }
.btn-sm { padding: 8px 12px; font-size: 12.5px; }
.btn-icon { padding: 9px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

.auth-divider { display: flex; align-items: center; gap: 12px; margin: 24px 0; color: var(--text-muted); font-size: 12px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

.auth-footnote { margin-top: 16px; text-align: center; font-size: 12px; color: var(--text-secondary); }

.auth-contact-footer {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  animation: fadeInUp .8s ease .1s both;
}
.auth-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-on-dark-muted);
}
.auth-contact-item svg { width: 16px; height: 16px; flex: none; color: var(--text-on-dark); opacity: .85; }
@media (max-width: 640px) {
  .auth-contact-footer { gap: 10px 20px; padding-top: 24px; }
}

/* =========================================================
   App shell
   ========================================================= */

.app-shell { display: flex; min-height: 100vh; }

.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: linear-gradient(190deg, var(--navy-800), var(--navy-900) 70%);
  color: var(--text-on-dark);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  transition: width .18s ease;
}
.sidebar.collapsed { width: 76px; }
.sidebar.collapsed .sidebar-brand { justify-content: center; padding: 22px 10px 18px; }
.sidebar.collapsed .sidebar-brand-text,
.sidebar.collapsed .nav-group-title,
.sidebar.collapsed .nav-item .badge-count { display: none; }
.sidebar.collapsed .nav-item { font-size: 0; justify-content: center; gap: 0; }

.sidebar-collapse-toggle {
  position: absolute; top: 78px; right: -13px; z-index: 5;
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); color: var(--text-secondary);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.sidebar-collapse-toggle:hover { color: var(--text-primary); }
.sidebar-collapse-toggle svg { width: 14px; height: 14px; transition: transform .18s ease; }
.sidebar.collapsed .sidebar-collapse-toggle svg { transform: rotate(180deg); }
@media (max-width: 860px) { .sidebar-collapse-toggle { display: none; } }

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 22px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sidebar-brand img { width: 38px; height: 38px; border-radius: 9px; background: #fff; padding: 3px; flex-shrink: 0; }
.sidebar-brand-text { font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.sidebar-brand-text span { display: block; font-size: 10.5px; font-weight: 500; color: var(--text-on-dark-muted); margin-top: 2px; letter-spacing: .04em; }

.sidebar-nav { flex: 1; overflow-y: auto; padding: 10px 10px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; }
.sidebar-nav::-webkit-scrollbar { width: 5px; }
.sidebar-nav::-webkit-scrollbar-track { background: transparent; }
.sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 10px; }
.sidebar-nav::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.3); }
.nav-group { margin-bottom: 14px; }
.nav-group-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--text-on-dark-muted);
  opacity: .65;
  padding: 0 10px;
  margin: 0 0 6px;
}
.nav-group-collapsible > summary.nav-group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  border-radius: 6px;
  padding: 6px 10px;
  margin: 0 0 2px;
  transition: opacity .15s ease;
}
.nav-group-collapsible > summary.nav-group-title::-webkit-details-marker { display: none; }
.nav-group-collapsible > summary.nav-group-title:hover { opacity: 1; }
.nav-group-chevron { width: 13px; height: 13px; flex-shrink: 0; transition: transform .15s ease; }
.nav-group-collapsible[open] > summary .nav-group-chevron { transform: rotate(180deg); }
.nav-group-collapsible > .nav-item:first-of-type { margin-top: 2px; }
.sidebar.collapsed .nav-group-collapsible:not([open]) > .nav-item { display: flex; }

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-on-dark-muted);
  margin-bottom: 1px;
  transition: background .15s ease, color .15s ease;
  position: relative;
}
.nav-item svg { width: 16px; height: 16px; flex-shrink: 0; opacity: .85; }
.nav-item:hover { background: rgba(255,255,255,0.06); color: var(--text-on-dark); }
.nav-item.active { background: rgba(255,255,255,0.12); color: #fff; font-weight: 600; }
.nav-item.active svg { opacity: 1; }
.nav-item .badge-count {
  margin-left: auto;
  background: var(--red-600);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
}

.sidebar-footer {
  padding: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.mini-list { display:grid; gap:8px; font-size:13px; }
.mini-list-row { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:8px 10px; border-radius:8px; background:var(--surface-alt); }
.mini-note { display:flex; align-items:flex-start; gap:8px; margin-top:10px; padding:9px 12px; border-radius:10px; background:var(--info-bg); font-size:12px; line-height:1.5; color:#272968; }
.mini-note[hidden] { display:none; }
@keyframes spin { to { transform: rotate(360deg); } }
.spin { animation: spin 1s linear infinite; }
.progress-bar { height: 6px; border-radius: 4px; background: var(--surface-alt); overflow: hidden; }
.progress-bar-fill.indeterminate { height: 100%; width: 40%; border-radius: 4px; background: var(--navy-500); animation: progress-indeterminate 1.2s ease-in-out infinite; }
@keyframes progress-indeterminate { 0% { margin-left: -40%; } 100% { margin-left: 100%; } }
.mini-note svg { flex:0 0 14px; width:14px; height:14px; margin-top:2px; color:#272968 }
.workload-note-num { flex:0 0 18px; width:18px; height:18px; border-radius:50%; background:var(--navy-500); color:#fff; font-size:10.5px; font-weight:700; display:inline-flex; align-items:center; justify-content:center; margin-top:1px; }
.workload-directory { overflow:hidden; border-radius:18px; border:none; }
.workload-header-card { border:none; }
.workload-directory-head { padding:19px 22px 15px; border-bottom:1px solid var(--border); background:#fff; }
.workload-directory-head h2 { margin:0; font-size:18px; }
.workload-directory-head p { margin:4px 0 0; color:var(--text-muted); font-size:12.5px; }
.workload-directory .table-toolbar { padding:15px 22px; border-bottom:1px solid var(--border); background:#fbfcff; margin:0; }
/* The shared .data-table rule forces width:100%, which — combined with
   table-layout:auto's default browser behaviour — stretches every column
   proportionally to fill that width, padding out cells like "dosent" with
   empty space instead of letting each column size to its own content. */
.workload-directory .data-table { border-collapse:collapse; width:auto; min-width:0; }
.workload-directory .data-table thead th,
.workload-directory .data-table tbody td { border:1px solid var(--border); padding:6px 10px; font-size:12px; line-height:1.3; white-space:nowrap; text-align:center !important; vertical-align:middle; }
.workload-directory .data-table thead th { font-size:10px; }
/* Header labels can run much longer than the data underneath them (e.g. "T07"
   under "Kafedra (müəllimin dərs dediyi)") — wrapping the header text keeps
   the column itself sized to its actual data instead of the label. Centered
   (not bottom-aligned) so a short one-line label doesn't sit with a visible
   gap above it next to a taller, wrapped neighbour in the same header row. */
.workload-directory .data-table thead th { background:#d9e1fda6; color:#000000; font-weight:700; white-space:normal; word-break:normal; overflow-wrap:break-word; max-width:120px; vertical-align:middle; padding-top:10px; padding-bottom:10px; }
/* The table's own .table-wrap scrolls internally (explicit max-height+overflow,
   not the page), so sticky here is safe — unlike employee-directory's table,
   this one keeps table-layout:auto's default width, no !important conflict. */
.workload-directory .data-table thead th { position: sticky; top: 0; z-index: 3; }
/* th-lead-icon used to wrap onto its own line above the header text whenever
   the label was too long to fit beside it in one row (flex-wrap:wrap on the
   icon+text flex container) — standardized to always sit beside the text;
   the text itself still wraps within its own box regardless. */
.workload-directory .data-table thead th .th-sort,
.workload-directory .data-table thead th .th-sort-icon { flex-wrap:nowrap; justify-content:center; }
.workload-directory .data-table tbody tr:last-child td { border-bottom:1px solid var(--border); }
.workload-directory .data-table tbody tr:nth-child(even) td { background:#f7f9fd; }
.workload-directory .data-table tbody tr:hover td { background:#eaeefb; }
.semester-summary-payiz { background:#fbf3e6; }
.semester-summary-yaz { background:#e7f3ee; }
.semester-summary-pill { display:inline-block; min-width:44px; padding:4px 12px; border-radius:20px; font-weight:700; font-size:12px; text-align:center; }
.semester-summary-pill-payiz { background:#fbead0; color:#a3670f; }
.semester-summary-pill-yaz { background:#d9f0e3; color:#1f7a4d; }
.semester-summary-pill-yekun { background:#e6e3fb; color:#5943c7; font-weight:800; }
.semester-summary-pill-mismatch { background:color-mix(in srgb, var(--danger,#c0392b) 15%, white); color:var(--danger,#c0392b); cursor:help; }
.semester-summary-pill-override { background:#dcecfb; color:#1f5fa3; font-weight:800; }
.semester-summary-yekun-editable { cursor:pointer; }
.semester-summary-yekun-editable:hover .semester-summary-pill { outline:1.5px dashed #9aa3c7; outline-offset:2px; }
/* Only 5 columns here, unlike the 34-column workload table this shares
   .workload-directory with — that table needed width:auto so its columns
   didn't stretch to fill leftover space. Now that this table carries 25+
   detail columns, width:auto (each column sized to its own content) is
   correct here too — width:100% was only ever right while it had a
   handful of columns. */
.workload-directory .data-table.semester-summary-table { width:auto; min-width:0; }
/* Matches the full grid-line look of the main TeachingWorkloads table now,
   rather than the row-divider-only style this used while it had few columns. */
.workload-directory .data-table.semester-summary-table thead th,
.workload-directory .data-table.semester-summary-table tbody td { border:1px solid #c4c4caa8; white-space:nowrap; }
.workload-directory .data-table.semester-summary-table thead th { background:#F4F8FC; white-space:normal; word-break:normal; overflow-wrap:break-word; max-width:120px; vertical-align:middle; padding-top:10px; padding-bottom:10px; }
.workload-directory .data-table.semester-summary-table tbody tr:nth-child(even) td { background:#f5f7fd; }
.workload-directory .data-table.semester-summary-table tbody tr:hover td { background:#eaeefb; }
.semester-summary-hash { width:36px; color:var(--navy-500); font-weight:700; font-size:12px; }
/* "Ştat cədvəli statistikası" — only 10 columns, so (unlike the wide PMH
   tables above) it should fill the card's full width rather than shrink to
   its content; the shared table.data-table's own margin-top:11px is dropped
   too since this table already sits right under the toolbar/card padding. */
.workload-directory .data-table.stats-table { width:100%; min-width:0; margin-top:0; border-collapse:separate; border-spacing:0; }
.workload-directory .data-table.stats-table thead th,
.workload-directory .data-table.stats-table tbody td { border:none; border-bottom:1px solid var(--border); padding:12px 14px; font-size:12.5px; }
.workload-directory .data-table.stats-table thead th { background:var(--navy-600); color:#fff; font-weight:700; font-size:11.5px; letter-spacing:.2px; text-transform:uppercase; }
.workload-directory .data-table.stats-table thead tr:first-child th { border-bottom:1px solid rgba(255,255,255,.18); }
.workload-directory .data-table.stats-table thead th.stats-th-highlight { background:var(--navy-700,#1b2458); }
.workload-directory .data-table.stats-table tbody td.stats-td-highlight { background:#eef1fd; font-weight:700; color:var(--navy-700,#1b2458); }
.workload-directory .data-table.stats-table tbody tr:hover td { background:#f3f5fc; }
.workload-directory .data-table.stats-table tbody tr:hover td.stats-td-highlight { background:#e3e8fb; }
.workload-directory .data-table.stats-table tbody tr.stats-row-total td { background:var(--navy-50,#eef1fd); font-weight:800; border-top:2px solid var(--navy-500); border-bottom:none; }
.workload-directory .data-table.stats-table tbody tr.stats-row-total td.stats-td-highlight { background:#dfe5fa; }
.stats-pill { display:inline-block; min-width:38px; padding:4px 10px; border-radius:20px; font-weight:700; font-size:12px; background:#eef1fd; color:var(--navy-600); }
.stats-pill-kenar { background:#fbead0; color:#a3670f; }
.stats-pill-main { background:#2787b04f; color:#14506b; }
.stats-pill-ratio { background:#3400d34f; color:#23008e; }
/* Excel-ə bənzər sətir/sütun hərf-nömrə zolağı — % sütunlarının üstündəki
   title tooltip-ləri (məs. "=I3/B3*100") bu hərf/nömrələrə görə yazılıb. */
.workload-directory .data-table.stats-table thead tr.stats-col-letters th { background:#dfe3ee; color:var(--navy-700,#1b2458); font-size:10.5px; font-weight:700; text-transform:none; padding:4px 6px; }
.workload-directory .data-table.stats-table th.stats-row-num,
.workload-directory .data-table.stats-table td.stats-row-num { background:#dfe3ee; color:var(--navy-700,#1b2458); font-weight:700; font-size:11px; text-align:center; width:28px; padding:4px 6px; }
.workload-directory .data-table.stats-table tbody td.stats-row-num { background:#eef0f6; color:#5b6477; }
.stats-formula-th { margin-top:4px; font-size:9.5px; line-height:1.3; color:#c3c8e0; font-weight:500; text-transform:none; letter-spacing:0; font-family:'Courier New', monospace; }
.row-number-badge { display:inline-flex; align-items:center; justify-content:center; min-width:26px; height:22px; padding:0 6px; border-radius:7px; background:var(--info-bg); color:var(--navy-600); font-weight:700; font-size:12px; }
.dept-code-pill { display:inline-flex; align-items:center; justify-content:center; min-width:38px; padding:3px 10px; border-radius:20px; background:#d9e1fd; color:#2f3888; font-weight:700; font-size:12px; white-space:nowrap; }
.th-sort-icon { display:inline-flex; align-items:center; gap:7px; }
/* .data-table .th-sort svg (the generic sort-chevron rule) has higher
   specificity than a plain ".th-sort-icon svg" and was winning, greying
   out this leading icon along with the chevron it's meant for. */
.data-table .th-sort svg.th-lead-icon { width:15px; height:15px; color:var(--navy-500); opacity:1; }
.data-table .th-sort svg.th-lead-icon.payiz-icon { color:#5f4208; }
.data-table .th-sort svg.th-lead-icon.yaz-icon { color:#33a612; }
.th-sigma-icon { font-size:14px; font-weight:800; color:var(--navy-500); font-style:italic; line-height:1; }
.semester-summary-scroll thead th { position:sticky; top:0; z-index:5; }
.semester-summary-totals-row td { position:sticky; bottom:0; z-index:5; background:#eef1fb !important; font-weight:800; border-top:1.5px solid var(--border); border-bottom:none !important; }

.workload-icon-badge { width:48px; height:48px; border-radius:12px; background:#42469d; color:#fff; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.workload-icon-badge svg { width:24px; height:24px; }
.workload-icon-badge.sm { width:36px; height:36px; border-radius:10px; }
.workload-icon-badge.sm svg { width:18px; height:18px; }

.workload-header-card { padding:26px 28px 22px; }
.workload-header-top { display:flex; align-items:flex-start; gap:16px; }
.workload-header-titles { flex:1 1 auto; }
.workload-header-titles h2 { margin:0; font-size:21px; font-weight:800; color:var(--text-primary); letter-spacing:-.01em; }
.workload-header-titles p { margin:5px 0 0; color:var(--text-secondary); font-size:13.5px; }
.workload-status-badge { display:inline-flex; align-items:center; gap:6px; padding:7px 13px; border-radius:20px; background:var(--info-bg); color:var(--navy-600); font-size:12px; font-weight:700; flex-shrink:0; white-space:nowrap; }
.workload-status-badge svg { width:14px; height:14px; }

.workload-legend { display:grid; grid-template-columns:2fr 1.1fr 1fr; gap:0; margin-top:22px; padding:18px 0 0; border-top:1px solid var(--border); }
.workload-legend-col { padding:0 22px; }
.workload-legend-col + .workload-legend-col { border-left:1px solid var(--border); }
.workload-legend-title { display:flex; align-items:center; gap:8px; font-weight:700; font-size:13.5px; color:var(--text-primary); margin-bottom:12px; }
.workload-legend-title svg { width:17px; height:17px; color:var(--navy-500); flex-shrink:0; }
.workload-chip-row { display:flex; flex-wrap:wrap; gap:8px; }
.workload-chip { display:inline-flex; align-items:center; gap:6px; padding:6px 11px; border-radius:8px; background:var(--surface-alt); font-size:12px; color:var(--text-secondary); }
.workload-chip b { color:var(--navy-600); font-weight:700; }

.workload-header-actions { margin-top:22px; }
.workload-import-btn { display:inline-flex; align-items:center; gap:9px; background:var(--navy-500); color:#fff; border:none; border-radius:11px; padding:12px 20px; font-size:13.5px; font-weight:700; box-shadow:0 8px 18px color-mix(in srgb, var(--navy-500) 30%, transparent); }
.workload-import-btn:hover { background:var(--navy-600); }
.workload-import-btn svg { width:17px; height:17px; }

.workload-directory-head { display:flex; align-items:flex-start; gap:14px; }
.workload-directory-head .workload-icon-badge.sm { margin-top:2px; }
.workload-directory-head-text { flex:1 1 auto; }
.workload-search-field { position:relative; display:flex; align-items:center; border:1.5px solid #232656; border-radius:24px; padding-left:4px; }
.workload-search-field svg { position:absolute; left:11px; width:15px; height:15px; color:var(--text-muted); pointer-events:none; }
.workload-search-field .input { padding-left:32px; border:none; background:transparent; }
.workload-search-field .input:focus { box-shadow:none; }
#staff-search.input { min-height:32px; }

.data-table .th-sort { display:inline-flex; align-items:center; gap:5px; }
.data-table .th-sort svg { width:10px; height:12px; color:var(--text-muted); opacity:.6; flex-shrink:0; }

.workload-row-avatar { display:inline-flex; align-items:center; gap:8px; }
.workload-row-avatar .avatar-dot { width:22px; height:22px; border-radius:50%; background:var(--info-bg); color:var(--navy-600); display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; }
.workload-row-avatar .avatar-dot svg { width:12px; height:12px; }

.row-kebab-cell { text-align:center; }
.row-kebab-wrap { position:relative; display:inline-block; }
.row-kebab-btn { border:none; background:transparent; color:var(--text-muted); cursor:pointer; padding:4px 6px; display:inline-flex; border-radius:6px; }
.row-kebab-btn svg { width:15px; height:15px; }
.row-kebab-btn:hover { background:var(--surface-alt); color:var(--navy-600); }
.row-kebab-menu { display:none; position:absolute; right:0; top:100%; z-index:20; min-width:150px; background:#fff; border:1px solid var(--border); border-radius:10px; box-shadow:0 12px 28px rgba(20,25,60,.14); padding:6px; }
.row-kebab-menu.open { display:block; }
.row-kebab-menu button { width:100%; text-align:left; border:none; background:none; padding:9px 11px; border-radius:7px; font-size:12.5px; font-weight:600; color:var(--text-primary); cursor:pointer; }
.row-kebab-menu button:hover { background:var(--surface-alt); }
tr[data-row-editing] .row-kebab-btn { color:var(--navy-600); }
.workload-directory .data-table tbody tr.menu-open { position:relative; z-index:30; }
@media (max-width: 900px) { .workload-legend { grid-template-columns:1fr; gap:16px; } .workload-legend-col + .workload-legend-col { border-left:none; border-top:1px solid var(--border); padding-top:14px; } }
@media (max-width: 640px) {
  .workload-header-card .workload-header-top { flex-wrap:wrap; }
  .workload-header-card .workload-header-top .workload-import-btn,
  .workload-header-card .workload-header-top .workload-status-badge { flex:1 1 100%; justify-content:center; }
  .workload-directory-head { flex-wrap:wrap; }
  .workload-directory .table-toolbar,
  .workload-directory .table-toolbar > div[style*="display:flex"] { flex-wrap:wrap; }
  .workload-directory .table-toolbar .workload-import-btn { flex:1 1 auto; justify-content:center; }
  .workload-directory .workload-search-field { width:100%; }
  .workload-directory .workload-search-field .input { width:100%; min-width:0 !important; }
}
.mini-note code { background:var(--surface); border:1px solid var(--border); border-radius:5px; padding:1px 5px; font-size:11px; font-weight:700; color:var(--navy-600); font-family:inherit; }
.mini-note.warn { background: var(--warning-bg); color: #8a5e08; }
.mini-note.warn svg { color: var(--warning); }

.row-edit-cell { text-align:center; }
.row-edit-btn { border:none; background:transparent; color:var(--text-muted); cursor:pointer; padding:3px; display:inline-flex; border-radius:6px; }
.row-edit-btn svg { width:14px; height:14px; }
.row-edit-btn:hover { background:var(--surface-alt); color:var(--navy-600); }
tr[data-row-editing] .row-edit-btn { color:var(--accent,#1a6bd6); }
.workload-directory .data-table td[data-field] { cursor:default; }
.workload-directory .data-table td[data-field] input { width:100%; min-width:60px; box-sizing:border-box; font-size:12px; padding:3px 5px; border:1px solid var(--navy-500); border-radius:5px; font-family:inherit; }
.workload-directory .data-table td.cell-saving { opacity:.5; }
.workload-directory .data-table td.cell-saved { background:color-mix(in srgb, var(--success,#1f9254) 15%, transparent); transition:background 1.2s ease; }
.staff-history-box { max-height:80vh; display:flex; flex-direction:column; width:100%; max-width:480px; }
.staff-history-box .modal-body { overflow-y:auto; flex:1; min-height:0; }
@media (max-width:640px) {
  .staff-history-box { max-height:90vh; max-width:94vw; }
}
.staff-mainworkplace-warn { display:inline-flex; align-items:center; justify-content:center; width:21px; height:21px; padding:0; border-radius:7px; background:color-mix(in srgb, var(--danger,#c0392b) 12%, white); border:1px solid color-mix(in srgb, var(--danger,#c0392b) 35%, white); color:var(--danger,#c0392b); cursor:pointer; flex-shrink:0; font-family:inherit; }
.staff-mainworkplace-warn:hover { background:color-mix(in srgb, var(--danger,#c0392b) 22%, white); }
.staff-mainworkplace-warn svg { width:12px; height:12px; }
.staff-row-pending td { background:#242559c4 !important; color:#fff; border-color:rgba(255,255,255,.25) !important; }
.staff-pending-badge { display:inline-flex; align-items:center; gap:9px; margin-left:6px; padding:6px 14px 6px 11px; border-radius:999px; background:#fdf3e1; border:1.5px solid #f0d9a8; color:#c98a1f; font-size:12.5px; font-weight:800; white-space:nowrap; }
.staff-pending-badge::before { content:""; flex:0 0 auto; width:9px; height:9px; border-radius:50%; background:#c98a1f; box-shadow:0 0 0 3px #fdf3e1, 0 0 0 4.5px #efd29a; margin-right:2px; }
.staff-pending-badge-clear { display:flex; align-items:center; justify-content:center; width:14px; height:14px; padding:0; border:none; border-radius:50%; background:rgb(71 44 44 / 20%); color:#362b2b; font-size:11px; line-height:1; cursor:pointer; }
.staff-pending-badge-clear:hover { background:#fff; color:#830d16; }
.staff-cell-pending-change { color:#deb6b9 !important; font-weight:700; }
.chip-dropdown-item[disabled] { opacity:.4; cursor:not-allowed; }
.staff-status-neutral { display:inline-block; padding:2px 10px; border-radius:10px; background:var(--surface-alt,#f2f3f8); color:var(--text-muted,#8890a3); font-size:10.5px; font-weight:700; }
/* display:flex directly on a <td> breaks its table-cell height participation
   — the cell's own background only paints up to the flex content's short
   height, leaving the rest of the (taller) row's real height showing the
   table's own background underneath. The flex layout now lives on an inner
   span instead, so the <td> stays an ordinary table-cell that fills the
   row's full height (and with it, .staff-row-pending's background). */
.staff-active-semester-cell { vertical-align:middle; }
.staff-active-semester-inner { display:flex; gap:5px; justify-content:center; }
.staff-active-toggle { display:inline-block; padding:4px 11px; border-radius:999px; font-size:10.5px; font-weight:700; cursor:pointer; background:rgba(255,255,255,.16); color:#58577d; border:1px solid rgb(88 87 125); transition:background .12s ease, color .12s ease, border-color .12s ease; }
.staff-active-toggle:hover { border-color:#1c2260; color:#1c2260; }
.staff-active-toggle.active { background:#1c2260; color:#fff; border-color:#1c2260; box-shadow:0 2px 6px color-mix(in srgb, #1c2260 35%, transparent); }
.staff-row-pending .staff-active-toggle { background:rgba(255,255,255,.16); color:#fff; border-color:rgba(255,255,255,.35); }
.staff-row-pending .staff-active-toggle:hover { border-color:#fff; }
.staff-row-pending .staff-active-toggle.active { background:#fff; color:#1c2260; border-color:#fff; box-shadow:0 2px 6px rgba(0,0,0,.25); }
.staff-row-pending .staff-status-neutral { background:rgba(255,255,255,.16); color:#fff; }
/* PMH cədvəli təsdiqlənəndən sonra — bütün redaktə imkanlarını görsəl olaraq
   sərt-söndürür; əsl qadağa isə serverdə (TeachingWorkloadsController-in hər
   yazma endpoint-i) qoyulub, bu sadəcə həmin qərarı UI-da əks etdirir. */
.staff-table-locked .staff-editable,
.staff-table-locked .staff-rank-dropdown,
.staff-table-locked .staff-active-toggle,
.staff-table-locked .staff-stat-warn,
.staff-table-locked .staff-mainworkplace-warn,
.staff-table-locked .staff-pending-badge-clear,
.staff-table-locked .row-kebab-btn {
  pointer-events:none; opacity:.55; cursor:not-allowed;
}
.staff-editable { cursor:pointer; }
.staff-editable:hover { background:var(--surface-alt); }
.rate-cell { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.rate-cell [data-rate-value] { font-family:'Inter', sans-serif; font-weight:700; font-size:13.5px; letter-spacing:-.01em; font-variant-numeric:tabular-nums; color:#1c2260; }
.rate-edit-icon-wrap {
  width:22px; height:22px; border-radius:999px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  background:color-mix(in srgb, #1c2260 8%, transparent);
  transition:background .12s ease;
}
.rate-cell:hover .rate-edit-icon-wrap { background:color-mix(in srgb, #1c2260 16%, transparent); }
.rate-edit-icon { width:12px; height:12px; color:#1c2260; flex-shrink:0; }
.rate-cell-input {
  width:100%; padding:6px 10px; font-weight:700; font-size:13.5px;
  font-variant-numeric:tabular-nums; color:#1c2260; border-radius:8px;
}
.staff-stat-cell { display:inline-flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:5px; row-gap:4px; }
.staff-rank-dropdown { display:inline-flex; }
.staff-rank-chip {
  display:inline-flex; align-items:center; justify-content:space-between; gap:8px;
  max-width:160px; width:100%; font-size:12px; font-weight:650; color:var(--navy-700);
  padding:7px 10px 7px 12px; border:1.5px solid #d7dbf0; border-radius:10px;
  font-family:inherit; background:var(--surface); cursor:pointer;
  box-shadow:0 1px 3px rgba(30,40,90,.06); transition:border-color .15s ease, box-shadow .15s ease;
}
.staff-rank-chip span[data-chip-label] { flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; text-align:left; }
.staff-rank-chip-icon { display:flex; align-items:center; justify-content:center; width:20px; height:20px; border-radius:6px; background:color-mix(in srgb, var(--navy-500) 12%, white); color:var(--navy-600); flex-shrink:0; }
.staff-rank-chip-icon svg { width:12px; height:12px; }
.staff-rank-chevron { width:13px; height:13px; color:var(--navy-500); flex-shrink:0; transition:transform .15s ease; }
.staff-rank-chip:hover { border-color:var(--navy-500); }
.staff-rank-dropdown[data-chip-dropdown] { position:relative; }
.staff-rank-menu { left:0; right:auto; min-width:170px; }
.staff-rank-menu .chip-dropdown-item { display:flex; align-items:center; justify-content:space-between; gap:10px; font-size:12px; }
.staff-rank-check { width:14px; height:14px; color:var(--navy-500); opacity:0; flex-shrink:0; }
.staff-rank-menu .chip-dropdown-item.active .staff-rank-check { opacity:1; }
.staff-secondment-stat { margin-top:4px; font-size:11px; color:var(--navy-500); }
.staff-secondment-stat b { color:var(--text); }

.import-issues-table thead th {
  font-weight:700; font-size:11px; text-transform:uppercase; letter-spacing:.05em;
  display:table-cell; vertical-align:middle; text-align:center;
}
.import-issues-table thead th, .import-issues-table tbody td { padding:10px 14px; border:1px solid var(--border); text-align:center; }
.import-issues-table { border-collapse:collapse; }
.import-issues-table tbody tr:nth-child(even) { background:var(--surface-alt); }
.import-issues-th-icon { width:13px; height:13px; margin-right:6px; vertical-align:-2px; opacity:.85; }
.import-issues-table-danger thead th { background:#9c0410 !important; color:#fff !important; border-color:#9c0410 !important; }
.import-issues-table-danger tbody tr:hover { background:color-mix(in srgb, var(--danger-bg) 60%, white); }
.import-issues-table-warning thead th { background:var(--warning) !important; color:#fff !important; }
.import-issues-table-warning tbody tr:hover { background:color-mix(in srgb, var(--warning-bg) 60%, white); }
.import-issues-row-actions { display:flex; align-items:center; justify-content:center; gap:6px; }
.import-issues-edit-btn { display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; border-radius:7px; border:1.5px solid #9c0410; background:#fff; color:#9c0410; cursor:pointer; transition:background .15s ease, color .15s ease; }
.import-issues-edit-btn:hover { background:#9c0410; color:#fff; }
.import-issues-edit-btn svg { width:13px; height:13px; }

.modal-header.import-issues-header { background:#232656; }
.import-issues-header .modal-title { color:#fff; }
.import-issues-header .muted { color:rgba(255,255,255,.75); }

.import-issues-section-title { display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.import-issues-label-pill {
  padding:4px 12px; border-radius:20px; font-size:12.5px; font-weight:700;
  background:color-mix(in srgb, #232656 9%, white); color:#232656;
}
.import-issues-label-pill-danger { background:color-mix(in srgb, #9c0410 10%, white); color:#9c0410; }
.import-issues-count-pill {
  display:inline-flex; align-items:center; justify-content:center; min-width:26px; height:22px; padding:0 8px;
  border-radius:20px; font-size:12px; font-weight:800; background:var(--danger); color:#fff;
}

.staff-history-item { padding:12px 14px; border:1px solid var(--border); border-radius:12px; margin-bottom:8px; background:var(--surface); }
.staff-history-item-top { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:8px; }
.staff-history-field-badge { display:inline-block; padding:3px 10px; border-radius:8px; background:color-mix(in srgb, var(--navy-500) 12%, white); color:var(--navy-600); font-size:11px; font-weight:700; }
.staff-history-date { display:inline-block; padding:3px 10px; border-radius:8px; background:var(--surface-alt); font-size:10.5px; color:var(--text-muted); font-weight:700; white-space:nowrap; }
.staff-history-heading { display:flex; align-items:center; gap:10px; }
.staff-history-icon { display:flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:10px; background:color-mix(in srgb, var(--navy-500) 14%, white); color:var(--navy-600); flex-shrink:0; }
.staff-history-icon svg { width:18px; height:18px; }
.staff-history-change { display:flex; align-items:center; gap:8px; font-size:13px; flex-wrap:wrap; }
.staff-history-old { color:var(--text-muted); text-decoration:line-through; }
.staff-history-arrow { color:var(--navy-500); font-weight:700; }
.staff-history-new { color:var(--text-primary); font-weight:700; }
.staff-history-undo { margin-top:10px; padding:5px 12px; border-radius:8px; border:1.5px solid #d7dbf0; background:var(--surface); color:var(--navy-600); font-size:11.5px; font-weight:700; cursor:pointer; transition:background .15s ease, border-color .15s ease; }
.staff-history-undo:hover { background:var(--surface-alt); border-color:var(--navy-500); }
.staff-stat-warn { display:inline-flex; align-items:center; gap:3px; border:1px solid color-mix(in srgb, var(--danger,#c0392b) 40%, white); background:color-mix(in srgb, var(--danger,#c0392b) 10%, white); color:var(--danger,#c0392b); border-radius:8px; padding:2px 7px; font-size:11px; font-weight:700; cursor:pointer; }
.staff-stat-warn svg { width:12px; height:12px; }
.staff-stat-warn:hover { background:color-mix(in srgb, var(--danger,#c0392b) 18%, white); }

.user-menu {
  display: none;
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: calc(100% + 6px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 60;
}
.user-menu.open { display: block; animation: fadeIn .14s ease; }
.user-menu-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  font-size: 13px; font-weight: 600;
  color: var(--danger);
}
.user-menu-item svg { width: 16px; height: 16px; }
.user-menu-item:hover { background: var(--danger-bg); }

.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; color: #fff; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy-600), var(--red-600));
}
.avatar-sm { width: 30px; height: 30px; font-size: 11.5px; }
.avatar-lg { width: 84px; height: 84px; font-size: 28px; }
.employee-avatar-photo { position: relative; overflow: hidden; isolation: isolate; }
.employee-avatar-photo .avatar-fallback { position: relative; z-index: 0; display: grid; width: 100%; height: 100%; place-items: center; }
.employee-avatar-photo img { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 17, 38, 0.5);
  z-index: 45;
}
.sidebar-overlay.open { display: block; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-secondary);
  flex-shrink: 0;
  margin-right: 14px;
}
.menu-toggle svg { width: 19px; height: 19px; }
.menu-toggle:hover { background: var(--surface-alt); color: var(--text-primary); }

/* Main area */
.main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.topbar {
  height: var(--topbar-h);
  flex-shrink: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar-title h1 { font-size: 18px; font-weight: 700; margin: 0; color: #232656; }
.topbar-title .breadcrumb {
  display: inline-block; margin-top: 5px; padding: 3px 11px;
  font-size: 7px; font-weight: 700; letter-spacing: .01em;
  color: #232656; background: color-mix(in srgb, #232656 9%, white);
  border-radius: 20px;
}
.topbar-title .breadcrumb a:hover { color: var(--navy-700); }

.topbar-search {
  position: relative;
  width: 320px;
}
.topbar-search input {
  width: 100%;
  padding: 9px 42px 9px 38px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--surface-alt);
  font-size: 13px;
}
.topbar-search input:focus { outline: none; border-color: var(--navy-500); background: var(--surface); }
.topbar-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--text-muted); }

.topbar-actions { display: flex; align-items: center; gap: 14px; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border); background: var(--surface); color: var(--text-secondary);
  position: relative;
  padding: 0;
}
.icon-btn:hover { background: var(--surface-alt); color: var(--text-primary); }
.icon-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.icon-btn.btn-sm { padding: 0; font-size: 0; }
.icon-btn .dot { position: absolute; top: 7px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--red-600); border: 2px solid var(--surface); }

/* View/archive/publish-style icon buttons ("Bax", "Aktivləşdir", "Deaktiv et",
   "Sil"): a colored border signals the action, but the icon itself stays
   neutral gray — only the hover state tints icon+background to match. */
.icon-btn.btn-outline-brand,
.icon-btn.btn-outline-success,
.icon-btn.btn-outline-danger,
.icon-btn.btn-outline-warning,
.icon-btn.btn-sm.btn-outline-brand,
.icon-btn.btn-sm.btn-outline-success,
.icon-btn.btn-sm.btn-outline-danger,
.icon-btn.btn-sm.btn-outline-warning,
.vacancy-btn-archive,
.vacancy-btn-publish {
  width: 28px; height: 28px; border-radius: 8px;
  background: #fff; border: 1.5px solid #272656; color: #272656;
}
.icon-btn.btn-outline-brand svg,
.icon-btn.btn-outline-success svg,
.icon-btn.btn-outline-danger svg,
.icon-btn.btn-outline-warning svg,
.vacancy-btn-archive svg,
.vacancy-btn-publish svg { width: 14px; height: 14px; }
.icon-btn.btn-outline-brand:hover,
.icon-btn.btn-outline-success:hover,
.icon-btn.btn-outline-danger:hover,
.icon-btn.btn-outline-warning:hover,
.vacancy-btn-archive:hover,
.vacancy-btn-publish:hover { background: #272656; color: #fff; }
.btn-outline-brand { border-color: var(--brand, var(--navy-600)); color: var(--brand, var(--navy-600)); }
.btn-outline-brand:hover { background: color-mix(in srgb, var(--brand, var(--navy-600)) 10%, transparent); }
.btn-outline-success { border-color: #1f9d5a; color: #1f9d5a; }
.btn-outline-success:hover { background: #eafaf1; }
.btn-outline-danger { border-color: #b53133; color: #b53133; }
.btn-outline-danger:hover { background: #fdeeee; }
.btn-outline-warning { border-color: #c18a2b; color: #c18a2b; }
.btn-outline-warning:hover { background: #fbf3e3; }
.btn-dashed { background: var(--surface); border-style: solid; border-width: 1.5px; }
.btn-dashed:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
/* Toolbar buttons ("Excel", "+ Yeni X") always pair a color class with
   .btn-dashed — flatten that pairing to the same neutral border/text as plain
   .btn-outline (e.g. "Filtr"/"Sütunlar") so a whole toolbar row reads as one
   consistent button style instead of some rows being colored and others not. */
.btn-dashed.btn-outline-success,
.btn-dashed.btn-outline-danger,
.btn-dashed.btn-outline-warning,
.btn-dashed.btn-outline-brand {
  border-color: #dce0eb; color: var(--text-primary);
}
.btn-dashed.btn-outline-success:hover,
.btn-dashed.btn-outline-danger:hover,
.btn-dashed.btn-outline-warning:hover,
.btn-dashed.btn-outline-brand:hover {
  background: var(--surface-alt); border-color: var(--navy-500);
}

/* Generic hover tooltip — add data-tooltip="..." to any (position:relative or
   inline-block) element, most commonly icon-only buttons. */
[data-tooltip] { position: relative; }
[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: var(--navy-900, #1a2036); color: #fff;
  font-size: 11.5px; font-weight: 600; white-space: nowrap;
  padding: 5px 9px; border-radius: 7px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .12s ease, visibility .12s ease;
  z-index: 40;
}
[data-tooltip]::before {
  content: ""; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: var(--navy-900, #1a2036);
  margin-bottom: -1px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .12s ease, visibility .12s ease;
  z-index: 40;
}
[data-tooltip]:hover::after, [data-tooltip]:hover::before,
[data-tooltip]:focus-visible::after, [data-tooltip]:focus-visible::before {
  opacity: 1; visibility: visible;
}

.notif-wrap { position: relative; }
.notif-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 340px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 250;
}
.notif-menu.open { display: block; animation: fadeIn .14s ease; }
.notif-menu-header {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  font-size: 13.5px; font-weight: 700;
  background: #232656; color: #fff;
}
.notif-menu-header-icon {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff;
}
.notif-menu-header-icon svg { width: 14px; height: 14px; }
[data-notif-list] { max-height: 340px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
[data-notif-list]::-webkit-scrollbar { width: 5px; }
[data-notif-list]::-webkit-scrollbar-track { background: transparent; }
[data-notif-list]::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
[data-notif-list]::-webkit-scrollbar-thumb:hover { background: #c3c8d6; }
.notif-item {
  display: flex; gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.notif-item:last-of-type { border-bottom: none; }
.notif-item:hover { background: var(--surface-alt); }
.notif-item-icon {
  width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.notif-item-icon svg { width: 15px; height: 15px; }
.notif-item-icon.navy { background: #eaebf9; color: var(--navy-600); }
.notif-item-icon.warning { background: var(--warning-bg); color: var(--warning); }
.notif-item-icon.success { background: var(--success-bg); color: var(--success); }
.notif-item-title { font-size: 12.5px; font-weight: 700; color: var(--text-primary); }
.notif-item-sub { font-size: 11.5px; color: var(--text-muted); margin-top: 2px; }
.notif-item-time { font-size: 10.5px; font-weight: 600; color: var(--navy-500); margin-top: 3px; }
.notif-menu-footer {
  display: block;
  text-align: center;
  padding: 12px;
  font-size: 12.5px; font-weight: 700;
  color: var(--navy-700);
  background: var(--surface-alt);
}
.notif-menu-footer:hover { background: #eaebf9; }

.topbar-userchip { display: flex; align-items: center; gap: 8px; padding-left: 14px; border-left: 1px solid var(--border); position: relative; cursor: pointer; }
.topbar-userchip-chevron { width: 15px; height: 15px; color: var(--text-muted); flex-shrink: 0; }
.topbar-user-menu { position: absolute; top: calc(100% + 10px); right: 0; left: auto; bottom: auto; width: 250px; padding: 14px; }
.topbar-user-menu-info { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.topbar-user-menu-info .avatar { width: 52px; height: 52px; font-size: 19px; flex-shrink: 0; }
.topbar-user-menu-info .name { font-size: 15px; font-weight: 800; color: var(--text-primary); }
.topbar-user-menu-info .role { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin-top: 3px; }
.topbar-user-menu .user-menu-item { border-radius: 8px; }
.topbar-user-menu-actions { display: flex; gap: 8px; }
.user-menu-settings-btn {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--border); color: var(--text-secondary);
}
.user-menu-settings-btn:hover { border-color: var(--navy-500); color: var(--navy-600); }
.user-menu-settings-btn svg { width: 18px; height: 18px; }
.user-menu-logout-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; border-radius: 21px; background: var(--danger-bg); color: var(--danger); font-weight: 700; font-size: 13px;
}
.user-menu-logout-btn:hover { background: color-mix(in srgb, var(--danger-bg) 60%, white); }
.user-menu-logout-btn svg { width: 16px; height: 16px; }

.content { padding: 26px 28px 60px; flex: 1; }
.app-copyright { display: block; width: 100%; box-sizing: border-box; padding: 10px 28px 16px; text-align: center; font-size: 12px; color: var(--text-muted); background: var(--surface); margin-top: auto; }

/* Topbar: date select + search kbd hint */
.date-select {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 3px;
  padding: 0;
  border: none;
  background: none;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
}
.date-select:hover { color: var(--navy-700); }
.date-select svg:first-child { width: 14px; height: 14px; color: var(--text-muted); }
.date-select svg:last-child { color: var(--text-muted); }

.kbd-hint {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 5px;
  padding: 2px 6px;
}

/* Stat tile sparkline */
.stat-tile-bottom { display: flex; align-items: center; gap: 10px; }
.stat-spark { width: 74px; height: 22px; flex-shrink: 0; }
.stat-spark-note { font-size: 11.5px; color: var(--text-muted); }

.badge-count-lg {
  background: var(--red-600);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.card-header-icon {
  width: 32px; height: 32px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: var(--red-100); color: var(--red-600); flex-shrink: 0;
}
.card-header-icon svg { width: 16px; height: 16px; }

/* Stacked bar + line chart */
.chart-toolbar { display: flex; align-items: center; gap: 8px; }
.stack-chart-legend { display: flex; align-items: center; gap: 20px; margin-bottom: 14px; }
.legend-item { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-secondary); font-weight: 600; }
.legend-item i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.legend-item i.legend-line { width: 14px; height: 2px; border-radius: 2px; background: var(--red-600); }
.stack-chart { width: 100%; height: auto; display: block; }
.stack-chart-xlabels { display: flex; margin-top: 2px; }
.stack-chart-xlabels span {
  flex: 1; text-align: center; font-size: 12px; font-weight: 600; color: var(--text-secondary);
}
.chart-summary-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.chart-summary-value { font-size: 18px; font-weight: 800; color: var(--text-primary); }
.chart-summary-pct { font-size: 12px; font-weight: 600; color: var(--text-muted); }
.chart-summary-label { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* Donut chart */
.donut-wrap { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.donut-chart {
  position: relative;
  width: 148px; height: 148px; border-radius: 50%; flex-shrink: 0;
  background: conic-gradient(
    var(--navy-600) 0% calc(var(--p1) * 1%),
    var(--red-600) calc(var(--p1) * 1%) calc((var(--p1) + var(--p2)) * 1%),
    #e5e7f0 calc((var(--p1) + var(--p2)) * 1%) 100%
  );
}
.donut-center {
  position: absolute; inset: 20px;
  border-radius: 50%;
  background: var(--surface);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.donut-center-num { font-size: 22px; font-weight: 800; color: var(--text-primary); }
.donut-center-label { font-size: 11px; color: var(--text-muted); }
.donut-legend { display: flex; flex-direction: column; gap: 12px; flex: 1; min-width: 180px; }
.donut-legend-item { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-secondary); }
.donut-legend-item b { margin-left: auto; color: var(--text-primary); font-weight: 700; white-space: nowrap; }
.donut-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }

/* Department table row chevron */
.row-chevron {
  width: 28px; height: 28px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  border: none; background: var(--surface-alt); color: var(--text-muted);
}
.row-chevron svg { width: 15px; height: 15px; }
.row-chevron:hover { background: #eaebf9; color: var(--navy-700); }
.dept-table thead th:last-child { width: 44px; }

/* Birthday timeline */
.bday-timeline { position: relative; padding-left: 20px; }
.bday-timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.bday-timeline-item { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.bday-timeline-item::before {
  content: ""; position: absolute; left: -20px; top: 50%; transform: translateY(-50%);
  width: 10px; height: 10px; border-radius: 50%; background: var(--navy-600); border: 2px solid var(--surface);
  box-shadow: 0 0 0 2px var(--border);
}
.bday-timeline-info { flex: 1; min-width: 0; }
.bday-timeline-date { text-align: right; flex-shrink: 0; }
.bday-days-left { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* =========================================================
   Cards / stat tiles
   ========================================================= */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  /* Grid/flex items default to a min-width equal to their content's intrinsic
     width — a wide .data-table (min-width: 720px) inside a card would otherwise
     force the whole grid track wider than the viewport instead of scrolling
     locally inside its own .table-wrap, breaking the page on mobile. */
  min-width: 0;
}
.card-pad { padding: 22px; margin: 4px;}

/* Module hub — a landing grid of clickable tiles (e.g. Tədris yükü -> PMH/
   İnzibati, or PMH -> its 3 sub-modules) instead of dumping everything onto
   one page. */
.module-hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.module-hub-tile {
  display: flex; flex-direction: column; gap: 10px; text-align: left;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); padding: 22px; text-decoration: none; color: var(--text-primary);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.module-hub-tile:hover { transform: translateY(-2px); border-color: var(--brand, var(--navy-600)); box-shadow: var(--shadow-md, 0 8px 20px rgba(20,25,60,.1)); }
.module-hub-tile-icon {
  width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(115deg, rgb(58, 63, 179) 0%, rgb(87, 84, 227) 55%, rgb(143, 120, 240) 100%) !important; color: #fff; flex-shrink: 0;
}
.module-hub-tile-icon svg { width: 22px; height: 22px; }
.module-hub-tile h3 { font-size: 15.5px; margin: 0; font-weight: 700; }
.module-hub-tile p { font-size: 13px; color: var(--text-secondary); margin: 0; }
.module-hub-tile-arrow { margin-top: auto; color: var(--text-muted); align-self: flex-end; }
.module-hub-tile.disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }
.module-hub-tile.disabled .module-hub-tile-icon { background: var(--text-muted); }
.card-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--border); background: linear-gradient(115deg, rgb(58, 63, 179) 0%, rgb(87, 84, 227) 55%, rgb(143, 120, 240) 100%) !important; border-radius: 18px 18px 0 0; }
.card-header h3 { font-size: 15px; margin: 0; font-weight: 700; color: #fff; }
.card-header .muted { font-size: 12.5px; color: rgba(255,255,255,.7); margin-top: 2px; }

.overview-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; background: linear-gradient(115deg, rgb(58, 63, 179) 0%, rgb(87, 84, 227) 55%, rgb(143, 120, 240) 100%) !important; color: #fff; border-radius: 5px;
  position: sticky; top: var(--topbar-h); z-index: 15;
}
.overview-panel-head h3 { margin: 0; font-size: 15px; font-weight: 700; color: #fff; }
.overview-panel-head a { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 650; color: #fff; text-decoration: none; }
.overview-panel-head a:hover { color: rgba(255,255,255,.8); }
.overview-panel-head a svg { color: #fff; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 22px; }
.stat-tile {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* A card's own dropdown can overflow past its own edge into the next
   card. Without this, that next (later-in-DOM) card's static content
   still paints over the overflow — z-index on the dropdown alone isn't
   enough once its ancestor card is just a normal-flow sibling. */
.stat-tile.menu-open { z-index: 30; }
.stat-tile-top { display: flex; align-items: flex-start; justify-content: space-between; }
.stat-icon {
  width: 42px; height: 42px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
}
.stat-icon svg { width: 21px; height: 21px; }
.stat-icon.navy { background: #eaebf9; color: var(--navy-600); }
.stat-icon.red { background: var(--red-100); color: var(--red-600); }
.stat-icon.success { background: var(--success-bg); color: var(--success); }
.stat-icon.warning { background: var(--warning-bg); color: var(--warning); }
.stat-icon.info { background: var(--info-bg); color: var(--info); }

.report-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.report-tile {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.report-tile .stat-icon { margin-bottom: 10px; }
.report-tile-title { font-size: 14.5px; font-weight: 700; color: var(--text-primary); }
.report-tile-desc { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; margin-bottom: 16px; flex: 1; }
.report-tile .btn { width: 100%; justify-content: center; }
.report-tile-badge {
  position: absolute; top: 18px; right: 18px;
  background: var(--red-600); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
}
@media (max-width: 1200px) { .report-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .report-grid { grid-template-columns: repeat(2, 1fr); } }

.stat-trend { font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 3px; }
.stat-trend.up { color: var(--success); }
.stat-trend.down { color: var(--danger); }

.stat-value { font-size: 27px; font-weight: 800; letter-spacing: -.01em; }
.stat-label { font-size: 12.5px; color: var(--text-secondary); font-weight: 500; }

.grid-2 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat-grid-compact { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; height: 100%; }
.stat-grid-compact.cols-4 { grid-template-columns: repeat(4, 1fr); height: auto; }
.stat-grid-compact.cols-3 { grid-template-columns: repeat(3, 1fr); height: auto; }
.stat-grid-compact.cols-1 { display: flex; flex-direction: column; gap: 14px; height: auto; }
.stat-grid-compact.cols-1 .stat-tile { height: auto; }
@media (max-width: 1300px) { .stat-grid-compact.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .stat-grid-compact.cols-4 { grid-template-columns: 1fr; } }

.dash-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.dash-row2 .card .card-pad .chart-summary-row { margin-top: 18px; }
@media (max-width: 1100px) { .dash-row2 { grid-template-columns: 1fr; } }
.stat-grid-compact .stat-tile {
  height: 100%; min-height: 0; padding: 24px; border-radius: 20px; gap: 16px;
  background: var(--surface); border: none;
  box-shadow: 0 14px 34px rgba(53, 59, 143, .08);
  justify-content: space-between; position: relative; overflow: hidden;
  transition: box-shadow .15s ease, transform .15s ease;
}
.stat-grid-compact .stat-tile:hover { box-shadow: 0 18px 40px rgba(53, 59, 143, .13); transform: translateY(-1px); }
.stat-grid-compact .stat-icon { width: auto; height: auto; border-radius: 0; background: none !important; color: var(--navy-600) !important; }
.stat-grid-compact .stat-icon svg { width: 30px; height: 30px; }
.stat-grid-compact .stat-value { font-size: 32px; font-weight: 800; color: var(--text-primary); }
.stat-grid-compact .stat-label { color: var(--text-secondary); opacity: 1; }
.stat-grid-compact .stat-trend { padding: 4px 11px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.stat-grid-compact .stat-trend.up { background: var(--success-bg); color: var(--success); }
.stat-grid-compact .stat-trend.down { background: var(--red-100); color: var(--red-600); }
.stat-menu-wrap { position: relative; flex-shrink: 0; }
.stat-menu-btn {
  width: 30px; height: 30px; border-radius: 50%; border: none; background: #f1f2f7;
  display: flex; align-items: center; justify-content: center; color: var(--text-muted);
  flex-shrink: 0; cursor: pointer;
}
.stat-menu-btn:hover { background: #e7e9f3; color: var(--text-primary); }
.stat-menu-btn svg { width: 17px; height: 17px; }
.stat-menu-dropdown {
  position: absolute; top: 36px; left: 0; width: 210px; max-width: 70vw; z-index: 20;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 12px 14px; font-size: 12px; line-height: 1.5; color: var(--text-secondary);
  box-shadow: 0 12px 28px rgba(20, 25, 50, .14);
}
.stat-menu-dropdown[hidden] { display: none; }
.stat-tile-plain { justify-content: flex-start; gap: 12px; padding: 20px 22px; }

.dashboard-layout { display: grid; grid-template-columns: 1fr 360px; gap: 22px; align-items: start; }
.dashboard-main { min-width: 0; }
.dash-right-panel {
  background: linear-gradient(180deg, #eef0fb, #f7f8fd);
  border-radius: 22px; padding: 18px; position: sticky; top: 18px;
}
.dash-right-panel .card { box-shadow: none; border: none; }
@media (max-width: 1200px) { .dashboard-layout { grid-template-columns: 1fr; } .dash-right-panel { position: static; } }
.stat-label-top { font-size: 15px; font-weight: 700; color: var(--text-primary); }
.stat-value-pending { font-size: 20px !important; font-weight: 700; color: var(--text-muted); }
.stat-tile-plain .stat-tile-bottom { align-items: baseline; gap: 12px; }
.stat-tile-plain .stat-value { font-size: 34px; }

.dash-welcome { margin-bottom: 20px; }
.dash-welcome h2 { margin: 0 0 4px; font-size: 21px; font-weight: 700; }
.dash-welcome p { margin: 0; font-size: 13.5px; color: var(--text-secondary); }

.activity-timeline { display: flex; flex-direction: column; max-height: 420px; overflow-y: auto; scrollbar-width: thin; }
.activity-timeline::-webkit-scrollbar { width: 5px; }
.activity-timeline::-webkit-scrollbar-track { background: transparent; }
.activity-timeline::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
.activity-timeline::-webkit-scrollbar-thumb:hover { background: #c3c8d6; }
.activity-timeline-item { display: flex; align-items: flex-start; gap: 14px; padding: 13px 0; border-top: 1px solid var(--border); }
.activity-timeline-item:first-child { border-top: none; padding-top: 0; }
.activity-timeline-item > .avatar { flex-shrink: 0; }
.activity-date-box { flex: 0 0 64px; width: 64px; height: 52px; border: 1px solid var(--border); border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.activity-date-box .day { font-size: 12.5px; font-weight: 700; color: inherit; line-height: 1.3; }
.activity-date-box .month { font-size: 10.5px; color: inherit; opacity: .75; }
.activity-date-box.activity-accent-success { border-color: color-mix(in srgb, var(--success) 45%, white); color: var(--success); background: color-mix(in srgb, var(--success) 8%, transparent); }
.activity-date-box.activity-accent-warning { border-color: color-mix(in srgb, #af3234 45%, white); color: #af3234; background: color-mix(in srgb, #af3234 8%, transparent); }
.activity-date-box.activity-accent-navy { border-color: color-mix(in srgb, var(--navy-600) 45%, white); color: var(--navy-600); background: color-mix(in srgb, var(--navy-600) 8%, transparent); }
.activity-date-box.activity-accent-danger { border-color: color-mix(in srgb, var(--red-600) 45%, white); color: var(--red-600); background: color-mix(in srgb, var(--red-600) 8%, transparent); }
.activity-timeline-info { min-width: 0; flex: 1; }
.activity-title { font-size: 13.5px; font-weight: 600; color: var(--text-primary); line-height: 1.5; }
.activity-sub { font-size: 12px; color: var(--text-muted); margin-top: 3px; line-height: 1.4; }
.activity-timeline-time { margin-top: 5px; font-size: 11.5px; color: var(--text-muted); }
.chip-time { font-size: 11px; font-weight: 600; color: var(--text-secondary); background: var(--surface-alt, #f2f4f8); padding: 2px 8px; border-radius: 999px; }

/* Progress bars */
.bar-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.bar-row .bar-label { width: 130px; font-size: 12.5px; color: var(--text-secondary); flex-shrink: 0; }
.bar-track { flex: 1; height: 8px; border-radius: 20px; background: var(--surface-alt); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 20px; background: linear-gradient(90deg, var(--navy-600), var(--navy-500)); }
.bar-row .bar-value { width: 34px; text-align: right; font-size: 12.5px; font-weight: 700; color: var(--text-primary); }

/* Timeline / activity feed */
.feed-item { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.feed-item:last-child { border-bottom: none; }
.feed-dot {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.feed-dot svg { width: 16px; height: 16px; }
.feed-text { font-size: 13px; }
.feed-text b { font-weight: 700; }
.feed-time { font-size: 11.5px; color: var(--text-muted); margin-top: 3px; }

/* Birthday / mini list */
.mini-person { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.mini-person:last-child { border-bottom: none; }
.mini-person-name { font-size: 13px; font-weight: 600; }
.mini-person-sub { font-size: 12px; color: var(--text-muted); }
.mini-person-date { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--navy-700); background: #eaebf9; padding: 4px 9px; border-radius: 20px; }

/* =========================================================
   Badges / status pills
   ========================================================= */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-neutral { background: var(--surface-alt); color: var(--text-secondary); }
.badge.origin-badge::before { display: none; }
.badge.origin-badge svg { width: 11px; height: 11px; flex: none; }
.badge-navy { background: #eaebf9; color: var(--navy-700); }

.tag {
  display: inline-flex; align-items: center;
  padding: 3px 9px; border-radius: 7px;
  font-size: 11.5px; font-weight: 600;
  background: var(--surface-alt); color: var(--text-secondary); border: 1px solid var(--border);
}

.staff-unit-pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; padding: 3px 11px; border-radius: 20px;
  font-size: 12px; font-weight: 700;
  background: #eef0fb; color: var(--navy-700);
}

/* =========================================================
   Tables
   ========================================================= */

.table-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; gap: 14px; flex-wrap: wrap;
}
.table-toolbar-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.table-toolbar-left[hidden] { display: none; }
.table-toolbar[hidden] { display: none; }
.table-toolbar-right { display: flex; align-items: center; gap: 10px; }

.select-chip {
  padding: 9px 12px;
  border-radius: 9px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-size: 12.5px;
  color: var(--text-secondary);
  font-weight: 600;
}
button.select-chip { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
button.select-chip:hover { background: var(--surface-alt); }

.chip-dropdown { position: relative; display: inline-flex; }
.chip-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 180px;
  max-height: 320px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  z-index: 60;
}
.chip-dropdown-menu::-webkit-scrollbar { width: 5px; }
.chip-dropdown-menu::-webkit-scrollbar-track { background: transparent; }
.chip-dropdown-menu::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
.chip-dropdown-menu.open { display: block; animation: fadeIn .14s ease; }
.chip-dropdown-item {
  display: block;
  width: 100%;
  padding: 10px 14px;
  text-align: left;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  border: none;
  background: none;
  text-decoration: none;
  cursor: pointer;
}
.chip-dropdown-item:hover { background: var(--surface-alt); }
.chip-dropdown-item.active { color: var(--navy-600); background: var(--surface-alt); }

.select-chip { background: var(--surface); border-color: var(--navy-600); color: var(--navy-600); padding: 1px 14px; border-radius: 10px; }
button.select-chip:hover { background: color-mix(in srgb, var(--navy-600) 8%, transparent); }
.select-chip svg { color: var(--navy-600); }
.select-chip option { color: var(--text-primary); background: var(--surface); }

/* A select-chip/chip-toggle sitting on one of the dark navy headers (card-header,
   directory-summary, etc.) needs light text/border instead of its normal
   navy-on-white look, which turns invisible on a navy background. */
.card-header .select-chip, .card-header [data-chip-toggle],
.directory-summary .select-chip, .directory-summary [data-chip-toggle],
.candidate-directory-head .select-chip, .candidate-directory-head [data-chip-toggle],
.overview-panel-head .select-chip, .overview-panel-head [data-chip-toggle],
.modal-header .select-chip, .modal-header [data-chip-toggle],
.record-detail-modal-head .select-chip, .record-detail-modal-head [data-chip-toggle] {
  background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); color: #fff;
}
.card-header .select-chip svg, .card-header [data-chip-toggle] svg,
.directory-summary .select-chip svg, .directory-summary [data-chip-toggle] svg,
.candidate-directory-head .select-chip svg, .candidate-directory-head [data-chip-toggle] svg,
.overview-panel-head .select-chip svg, .overview-panel-head [data-chip-toggle] svg,
.modal-header .select-chip svg, .modal-header [data-chip-toggle] svg,
.record-detail-modal-head .select-chip svg, .record-detail-modal-head [data-chip-toggle] svg { color: #fff; }
.card-header button.select-chip:hover, .card-header [data-chip-toggle]:hover,
.directory-summary button.select-chip:hover, .directory-summary [data-chip-toggle]:hover,
.candidate-directory-head button.select-chip:hover, .candidate-directory-head [data-chip-toggle]:hover,
.overview-panel-head button.select-chip:hover, .overview-panel-head [data-chip-toggle]:hover,
.modal-header button.select-chip:hover, .modal-header [data-chip-toggle]:hover,
.record-detail-modal-head button.select-chip:hover, .record-detail-modal-head [data-chip-toggle]:hover {
  background: rgba(255,255,255,.18);
}
.chip-dropdown-menu { border-radius: 12px; min-width: 200px; padding: 6px; }
.chip-dropdown-item { border-radius: 8px; color: var(--navy-600); font-weight: 650; padding: 11px 14px; }
.chip-dropdown-item:hover { background: color-mix(in srgb, var(--navy-600) 8%, transparent); }
.chip-dropdown-item.active { background: color-mix(in srgb, var(--navy-600) 12%, transparent); color: var(--navy-600); }
.chip-dropdown-item:last-child { margin-top: 0; padding-top: 11px; border-top: 0; }

/* Auto-enhanced native <select class="input"> -> chip-style dropdown
   (see initModernSelects in app.js). The real <select> stays in the DOM
   (invisible, non-interactive) so asp-for binding/validation and any
   page script that reads/sets its .value or .disabled keep working
   unchanged; only the visual layer is replaced. */
.modern-select-shell { position: relative; display: block; width: 100%; }
.modern-select-shell .chip-dropdown { display: block; width: 100%; }
.modern-select-native {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; pointer-events: none; z-index: 0; margin: 0;
}
.modern-select-trigger {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; text-align: left; font-weight: 600; font-family: inherit;
  border-color: #40449a;
}
.modern-select-trigger-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.modern-select-chevron { width: 15px; height: 15px; color: var(--navy-600); flex-shrink: 0; transition: transform .15s ease; }
.modern-select-trigger.open .modern-select-chevron { transform: rotate(180deg); }
.modern-select-trigger.is-placeholder .modern-select-trigger-label { color: var(--text-muted); font-weight: 500; }
.modern-select-trigger.is-disabled { cursor: not-allowed; opacity: .65; background: var(--surface-alt); }
.modern-select-shell .chip-dropdown-menu { left: 0; right: 0; width: 100%; }
.dashboard-v2-page .card { border-color: color-mix(in srgb, #36398300 28%, var(--border)); }
.dashboard-v2-page .card-header,
.dashboard-v2-page .table-footer,
.dashboard-v2-page .activity-timeline-item,
.dashboard-v2-page .data-table th,
.dashboard-v2-page .data-table td {
  border-color: color-mix(in srgb, #36398300 10%, var(--border));
}
.filter-input { min-width: 220px; position: relative; }
.filter-input .input { width: 100%; }

/* Orders/Create — employee combobox (see wwwroot/assets/js/app.js,
   initEmployeeSearch). Same visual language as .chip-dropdown-menu above,
   but full-width under the input and scrollable — the result list can run
   to 20 rows deep. */
.employee-combo { position: relative; }
.employee-combo-selected-avatar { display:none; position:absolute; left:10px; top:50%; transform:translateY(-50%); width:34px; height:34px; place-items:center; border-radius:10px; color:#fff; background:linear-gradient(135deg,var(--navy-500),var(--red-500)); font-size:10.5px; font-weight:800; z-index:2; pointer-events:none; }
.employee-combo.has-selection .employee-combo-selected-avatar { display:grid; }
.employee-combo.has-selection .input-icon-wrap>svg { display:none; }
.employee-combo.has-selection .input { padding-left:54px; border-color:#cfd3e8; background:linear-gradient(90deg,#fbfbff,#fff); font-weight:650; }
.employee-combo-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 360px;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(28, 35, 66, .16);
  padding: 7px;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  z-index: 200;
}
.employee-combo-menu.open { display: block; animation: fadeIn .14s ease; }

/* The general form-card style clips decorative backgrounds. This one card
   contains an interactive dropdown, so it must let the scroll panel extend
   outside the card instead of cutting the employee list at the lower edge. */
.order-create-page .order-form-card-employee {
  overflow: visible;
  z-index: 20;
}
.employee-combo-item {
  display: grid;
  grid-template-columns: 38px minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  text-align: left;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}
.employee-combo-item:hover,
.employee-combo-item.active { color: var(--navy-600); background: #f1f2ff; }
.employee-combo-avatar { width:38px; height:38px; display:grid; place-items:center; border-radius:11px; color:#fff; font-size:11px; font-weight:800; letter-spacing:.04em; background:linear-gradient(135deg,var(--navy-500),var(--red-500)); }
.employee-combo-content { min-width:0; display:block; }
.employee-combo-content strong { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--text-primary); font-size:13px; }
.employee-combo-content small { display:block; margin-top:3px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--text-muted); font-size:11px; font-weight:500; }
.employee-combo-code { padding:4px 7px; border-radius:7px; background:var(--surface-alt); color:var(--text-secondary); font-size:10.5px; font-weight:700; }
.employee-combo-empty {
  padding: 10px 14px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.checkbox-inline { display:flex; align-items:center; gap:8px; font-weight:600; font-size:13px; }
.checkbox-inline input[type="checkbox"] { width:16px; height:16px; }

.bulk-employee-chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.bulk-employee-chip {
  display:flex; align-items:center; gap:8px; padding:6px 8px 6px 12px; border-radius:999px;
  background:var(--surface-alt); border:1px solid var(--border); font-size:12.5px; font-weight:600;
}
.bulk-employee-chip button {
  border:0; background:none; cursor:pointer; color:var(--text-muted); font-size:16px; line-height:1;
  width:18px; height:18px; display:grid; place-items:center; border-radius:50%;
}
.bulk-employee-chip button:hover { background:var(--danger); color:#fff; }

.bulk-employee-table { margin-top:16px; display:grid; gap:8px; }
.bulk-employee-row { display:grid; grid-template-columns:1.2fr 1.4fr 1fr 1.4fr; gap:8px; align-items:center; }
.bulk-employee-row-head { font-size:11px; font-weight:700; color:var(--text-muted); text-transform:uppercase; letter-spacing:.03em; }
.bulk-employee-row input.input { font-size:12.5px; padding:8px 10px; }
.bulk-employee-row-travel3 { grid-template-columns:2fr 1fr 1fr; }
.bulk-employee-row-hire5,
.bulk-employee-table[data-mode="hire"] .bulk-employee-row-head { grid-template-columns:1.35fr 1.35fr 1.05fr 1fr .55fr; }
.bulk-employee-table[data-mode="travel"] .bulk-employee-row-head { grid-template-columns:2fr 1fr 1fr; }
.bulk-employee-row-travel-roster { grid-template-columns:2fr 1fr 1fr 1.6fr 1.7fr; }
.bulk-roster-duration-range { display:flex; gap:4px; }
.bulk-roster-duration-range input.input { min-width:0; padding:8px 4px; font-size:11.5px; }
.bulk-employee-row-lafb-roster { grid-template-columns:1.4fr .8fr 1.4fr 1.8fr .55fr; }
.lafb-note-toolbar {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px;
  margin:10px 0 8px;
  padding:8px;
  border:1px solid var(--border);
  border-radius:12px;
  background:var(--surface-alt);
}
.lafb-note-toolbar-label {
  padding:0 6px;
  color:var(--text-muted);
  font-size:12px;
  font-weight:700;
  white-space:nowrap;
}
.lafb-format-btn {
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:34px;
  padding:6px 10px;
  border:1px solid var(--border);
  border-radius:8px;
  background:var(--surface);
  color:var(--text);
  font:inherit;
  font-size:12px;
  font-weight:650;
  cursor:pointer;
  transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease;
}
.lafb-format-btn:hover {
  border-color:var(--primary);
  box-shadow:0 2px 8px rgba(23,31,56,.10);
  transform:translateY(-1px);
}
.lafb-format-btn:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
.lafb-format-icon {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  font-size:15px;
  font-weight:800;
  line-height:1;
}
.lafb-format-bold { font-family:Georgia,serif; }
.lafb-format-red { color:#d91f26; border-bottom:3px solid #d91f26; }
.lafb-format-blue { color:#1558d6; border-bottom:3px solid #1558d6; }
.lafb-format-swatch {
  width:17px;
  height:17px;
  border:1px solid rgba(0,0,0,.16);
  border-radius:5px;
}
.lafb-format-yellow { background:#fff59d; }
.lafb-format-cyan { background:#80f0f0; }
.lafb-format-clear { margin-left:auto; color:var(--text-muted); }
.lafb-note-editable { min-height:150px; cursor:text; line-height:1.5; padding:12px 14px; }
.lafb-note-editable:empty::before { content:attr(data-placeholder); color:var(--text-muted); }
@media (max-width:900px) {
  .bulk-employee-row, .bulk-employee-row-travel3, .bulk-employee-row-hire5, .bulk-employee-row-travel-roster,
  .bulk-employee-row-lafb-roster,
  .bulk-employee-table[data-mode="travel"] .bulk-employee-row-head { grid-template-columns:1fr; }
  .bulk-employee-row-head { display:none; }
}

/* The wrap itself still scrolls (touch/trackpad drag on the table works either way) but
   its native scrollbar is hidden — .table-scroll-sync below is the one visible control,
   so a wide table doesn't show two horizontal scrollbars stacked on top of each other. */
.table-wrap { overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.table-wrap::-webkit-scrollbar { display: none; }
/* An always-reachable horizontal scrollbar mirroring .table-wrap's — a tall table's own
   scrollbar sits below every row, which is often off-screen. initTableTopScroll in app.js
   injects this bar right above the pagination footer and keeps both in sync. */
.table-scroll-sync { overflow-x: auto; overflow-y: hidden; height: 14px; }
.table-scroll-sync > div { height: 1px; }
table.data-table { width: 100%; border-collapse: collapse; min-width: 720px; margin-top: 11px; }
.data-table thead th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted);
  font-weight: 700;
  padding: 12px 22px;
  background: var(--surface-alt);
  white-space: nowrap;
}
.data-table thead th:first-child { border-top-left-radius: 0; }
.data-table tbody td {
  padding: 14px 22px;
  border: 1.5px solid #9aa0b83b;
  border-top: 0px solid #fff;
  border-left: 0px solid #fff;
  font-size: 13.5px;
  vertical-align: middle;
}
.data-table tbody tr { transition: background .12s ease; }
.data-table tbody tr:nth-child(even) { background: rgba(37,42,80,0.018); }
.data-table tbody tr:hover { background: var(--surface-alt); }
/* Person avatars cycle through a few brand-adjacent colors instead of one flat
   navy-red gradient everywhere — mirrors the reference registry design where
   each row's initials circle is a different, legible color. */
.data-table tbody tr:nth-of-type(5n+1) .cell-person .avatar { background: linear-gradient(135deg, #7c6ff0, #5b4fd1); }
.data-table tbody tr:nth-of-type(5n+2) .cell-person .avatar { background: linear-gradient(135deg, #4fa3e3, #2f74c9); }
.data-table tbody tr:nth-of-type(5n+3) .cell-person .avatar { background: linear-gradient(135deg, #8b5fc7, #6a3fa8); }
.data-table tbody tr:nth-of-type(5n+4) .cell-person .avatar { background: linear-gradient(135deg, #3ac0a0, #1f9579); }
.data-table tbody tr:nth-of-type(5n+5) .cell-person .avatar { background: linear-gradient(135deg, #f0a85f, #d9843a); }

.cell-person { display: flex; align-items: center; gap: 11px; }
.cell-person-name { font-weight: 700; font-size: 13.5px; }
.cell-person-sub { font-size: 12px; color: var(--text-muted); margin-top: 1px; }

.cell-actions { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }

.table-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px; border-top: 1px solid var(--border);
}
.table-footer .muted { font-size: 12.5px; color: var(--text-muted); }
.pagination { display: flex; align-items: center; gap: 6px; }
.page-btn {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border); background: var(--surface);
  font-size: 12.5px; font-weight: 700; color: var(--text-secondary);
  text-decoration: none; cursor: pointer;
}
.page-btn.active { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.page-btn:hover:not(.active) { background: var(--surface-alt); }
.page-btn.disabled { opacity: .4; pointer-events: none; }

/* =========================================================
   Profile / detail page
   ========================================================= */

.profile-hero {
  background: linear-gradient(120deg, var(--navy-800), var(--navy-700) 60%, var(--navy-600));
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.profile-hero::after {
  content: "";
  position: absolute; right: -80px; top: -80px; width: 260px; height: 260px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,0.12);
}
.profile-hero .avatar-lg { border: 3px solid rgba(255,255,255,0.25); }
.profile-hero-info { flex: 1; position: relative; z-index: 1; }
.profile-hero-info h2 { font-size: 22px; margin: 0 0 6px; font-weight: 800; }
.profile-hero-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--text-on-dark-muted); }
.profile-hero-meta span { display: flex; align-items: center; gap: 6px; }
.profile-hero-meta svg { width: 14px; height: 14px; }
.profile-hero-actions { display: flex; gap: 10px; position: relative; z-index: 1; }

/* Birthday greeting banner — shown on the employee's own portal
   when today matches their birth date. See initBirthdayBanner()
   in app.js; data-birthday on <body> drives the check. */
.birthday-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  color: #fff;
  background: linear-gradient(120deg, var(--red-600), var(--navy-700) 65%, var(--navy-800));
}
.birthday-banner::after {
  content: "";
  position: absolute; right: -60px; bottom: -70px; width: 220px; height: 220px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,0.14);
}
.birthday-banner-icon {
  width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,0.16);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  position: relative; z-index: 1;
}
.birthday-banner-body { flex: 1; position: relative; z-index: 1; }
.birthday-banner-title { font-size: 16px; font-weight: 800; margin-bottom: 3px; }
.birthday-banner-text { font-size: 13px; color: var(--text-on-dark-muted); line-height: 1.5; }
.birthday-banner-close {
  position: relative; z-index: 1;
  background: rgba(255,255,255,0.14); border: none; color: #fff;
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
}
.birthday-banner-close:hover { background: rgba(255,255,255,0.26); }
.birthday-banner-close svg { width: 15px; height: 15px; }

.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
  overflow-x: auto;
}
.tab-btn {
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 2.5px solid transparent;
  white-space: nowrap;
  background: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}
.tab-btn svg { width: 15px; height: 15px; }
.tab-btn:hover { color: var(--text-primary); }
.tab-btn.active { color: var(--navy-700); border-bottom-color: var(--red-600); }

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn .18s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px);} to { opacity: 1; transform: translateY(0);} }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 24px; }
.info-item .info-label { font-size: 11.5px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.info-item .info-value { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.info-item .info-value.muted-value { color: var(--text-muted); font-weight: 500; font-style: italic; }

.subsection-title { font-size: 13.5px; font-weight: 700; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.subsection-title svg { width: 16px; height: 16px; color: var(--navy-600); }

.form-section-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.form-section-head-icon {
  width: 54px; height: 54px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #eef2fd; color: var(--navy-600);
}
.form-section-head-icon svg { width: 24px; height: 24px; }
.form-section-head h3 { margin: 0; font-size: 18px; font-weight: 800; color: #1b2340; }
.form-section-head p { margin: 3px 0 0; font-size: 13px; color: var(--text-muted); }

/* Small icon badge inside a field's input/select (Employees/Edit "field-icon" fields) */
.field-icon { position: relative; }
.field-icon .field-icon-badge {
  position: absolute; left: 9px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 8px; z-index: 2; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  background: #eef2fd; color: var(--navy-600);
}
.field-icon .field-icon-badge svg { width: 15px; height: 15px; }
.field-icon .input,
.field-icon .modern-select-trigger,
.field-icon input:not([type="checkbox"]):not([type="radio"]),
.field-icon select,
.field-icon textarea { padding-left: 50px; width: 100%; box-sizing: border-box; }
.employee-edit-grid .field label { font-size: 13px; font-weight: 700; color: #1b2340; margin-bottom: 9px; }
.employee-edit-grid .input, .employee-edit-grid select.input, .employee-edit-grid .modern-select-trigger { border-color: #585b9d12; }
.employee-edit-grid .input:hover, .employee-edit-grid select.input:hover, .employee-edit-grid .modern-select-trigger:hover { border-color: #585b9d; }

.timeline-v { position: relative; padding-left: 26px; }
.timeline-v::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline-v-item { position: relative; padding-bottom: 24px; }
.timeline-v-item:last-child { padding-bottom: 0; }
.timeline-v-item::before {
  content: ""; position: absolute; left: -26px; top: 3px; width: 13px; height: 13px;
  border-radius: 50%; background: var(--navy-600); border: 3px solid #eaebf9;
}
.timeline-v-item.current::before { background: var(--red-600); border-color: var(--red-100); }
.timeline-v-date { font-size: 11.5px; color: var(--text-muted); font-weight: 700; margin-bottom: 3px; }
.timeline-v-title { font-size: 13.5px; font-weight: 700; }
.timeline-v-sub { font-size: 12.5px; color: var(--text-secondary); margin-top: 2px; }

.leave-balance-card { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px; }
.leave-balance-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.leave-balance-top .name { font-size: 13px; font-weight: 700; }
.leave-balance-top .num { font-size: 20px; font-weight: 800; color: var(--navy-700); }

/* Empty state */
.empty-state { text-align: center; padding: 50px 20px; color: var(--text-muted); }
.empty-state svg { width: 46px; height: 46px; margin-bottom: 12px; opacity: .5; }
.empty-state p { font-size: 13.5px; margin: 0; }

/* =========================================================
   Wizard / create-form pages
   ========================================================= */

.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}
.page-head h2 { font-size: 20px; margin: 0 0 4px; font-weight: 800; }
.page-head .muted { font-size: 13px; color: var(--text-muted); }
.page-head-actions { display: flex; gap: 10px; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.form-grid > .field, .form-grid > label { min-width: 0; }
.form-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.form-span-2 { grid-column: span 2; }
.form-span-full { grid-column: 1 / -1; }

.field .req { color: var(--red-600); }
.field-hint { font-size: 11.5px; color: var(--text-muted); margin-top: 5px; }

.radio-card-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.radio-card-group-2 { grid-template-columns: 1fr 1fr; }
.info-grid-2 { grid-template-columns: 1fr 1fr; }
.radio-card {
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all .12s ease;
}
.radio-card input { accent-color: var(--navy-700); }
.radio-card:hover { border-color: var(--navy-500); }
.radio-card.selected { border-color: var(--navy-600); background: #f2f3fb; color: var(--navy-700); }

.dropzone {
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: 26px;
  text-align: center;
  color: var(--text-muted);
  font-size: 12.5px;
  background: var(--surface-alt);
  cursor: pointer;
  transition: all .12s ease;
}
.dropzone:hover { border-color: var(--navy-500); background: #f2f3fb; }
.dropzone svg { width: 26px; height: 26px; margin-bottom: 8px; color: var(--text-muted); }
.dropzone b { color: var(--navy-700); }
.dropzone.drag-over { border-color: var(--navy-500); background: #eef0fb; }
.dropzone-real { display: flex; border: 1.5px dashed var(--border-strong); border-radius: var(--radius-md); color: var(--text-muted); font-size: 12.5px; background: var(--surface-alt); cursor: pointer; transition: all .12s ease; }
.dropzone-real:hover { border-color: var(--navy-500); background: #f2f3fb; }
.dropzone-real.has-file { border-style: solid; border-color: var(--success); background: var(--success-bg); color: var(--success); }
.dropzone.has-file { border-style: solid; border-color: var(--success); background: var(--success-bg); color: var(--success); }

.rte-layout { align-items: start; }
.rte-toolbar { display: flex; gap: 6px; margin-bottom: 8px; }
.rte-toolbar button { min-width: 34px; padding: 6px 10px; }
.rte-editor {
  min-height: 260px;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-primary);
}
.rte-editor:focus { outline: none; border-color: var(--navy-500); }
.rte-editor:empty::before { content: attr(placeholder); color: var(--text-muted); }
.a4-preview {
  aspect-ratio: 210 / 297;
  overflow-y: auto;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-primary);
}
@media (max-width: 860px) {
  .rte-layout { grid-template-columns: 1fr; }
}
.dropzone.has-file svg { color: var(--success); }
.dropzone.has-file b { color: var(--success); }
.dropzone.dropzone-error { border-color: var(--danger); background: var(--danger-bg); color: var(--danger); }

.import-modal-box {
  max-width: 560px; width: calc(100% - 8px);
  max-height: 90vh; display: flex; flex-direction: column;
}
.import-modal-box .modal-body { overflow-y: auto; flex: 1; min-height: 0; }
.modal-header.import-modal-header { align-items: flex-start; flex-shrink: 0; background: #232656; }
.import-modal-header .modal-title,
.import-modal-header .muted { color: #fff; }
.import-modal-heading { display: flex; align-items: center; gap: 14px; }
.import-modal-box .modal-body { padding-top: 16px; }
.import-modal-field label { display: block; font-size: 12.5px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.import-modal-input-wrap { position: relative; }
.import-modal-input-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--text-muted); pointer-events: none; }
.import-modal-input-wrap .input { padding-left: 42px; border-radius: 12px; }

.import-modal-info { margin: 0 0 18px; align-items: center; }
.import-modal-info-icon {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 24px; height: 24px; border-radius: 50%; background: var(--navy-800); color: #fff;
}
.import-modal-info-icon svg { width: 15px; height: 15px; color: #fff; }

.import-modal-dropzone { border-radius: 14px; padding: 34px 20px; }
.import-modal-dropzone svg { width: 34px; height: 34px; color: var(--navy-500); margin: 0 auto 12px; display: block; }
.import-modal-dropzone-title { font-weight: 800; color: var(--navy-800); font-size: 14px; }
.import-modal-dropzone-sub { color: var(--text-muted); font-size: 11.5px; font-weight: 500; margin-top: 5px; }
.import-modal-choose-btn { margin: 14px auto 0; border-radius: 20px; pointer-events: none; }

.import-modal-file-card {
  display: flex; align-items: center; gap: 10px; margin-top: 10px;
  padding: 7px 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface);
}
.import-modal-file-icon {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 7px; background: var(--success); color: #fff;
}
.import-modal-file-icon svg { width: 15px; height: 15px; }
.import-modal-file-info { flex: 1; min-width: 0; font-size: 12.5px; font-weight: 600; }
.import-modal-file-info div[data-file-name] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.import-modal-file-remove {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); background: transparent; border: none; cursor: pointer;
}
.import-modal-file-remove:hover { background: var(--danger-bg); color: var(--danger); }
.import-modal-file-remove svg { width: 14px; height: 14px; }

.import-modal-tip { margin-top: 16px; align-items: center; }
.import-modal-tip b { color: var(--text-primary); }
.import-modal-tip-icon {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%; background: var(--navy-800); color: #fff;
}
.import-modal-tip-icon svg { width: 15px; height: 15px; color: #fff; }
@media (max-width: 480px) {
  .import-modal-heading { gap: 10px; }
  .import-modal-icon { width: 40px; height: 40px; }
  .import-modal-icon svg { width: 20px; height: 20px; }
  .import-modal-dropzone { padding: 22px 14px; }
  .import-modal-box .modal-actions { flex-wrap: wrap; }
  .import-modal-box .modal-actions .btn { flex-basis: 100%; }
}

.repeat-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 14px;
  position: relative;
}
.repeat-card-remove {
  position: absolute;
  top: 12px;
  right: 12px;
}
.add-row-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy-700);
  padding: 9px 4px;
  border: none;
  background: none;
  cursor: pointer;
}
.add-row-btn svg { width: 15px; height: 15px; }
.add-row-btn:hover { text-decoration: underline; }

.form-footer-bar {
  position: sticky;
  bottom: 0;
  z-index: 10;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 26px -22px -22px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}
/* A form built from several separate .card-pad sections (not one big wrapping
   card) has no single padded ancestor for the bar's -22px margins to cancel
   against — standalone gives it its own full-width card shell instead. */
.form-footer-bar.standalone {
  margin: 20px 0 0;
  border: 1px solid var(--border);
  border-top: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 -4px 14px rgba(15,23,42,.05);
}

/* Wizard step indicator */
.wizard-steps { display: flex; align-items: center; margin-bottom: 24px; }
.wizard-step { display: flex; align-items: center; gap: 10px; flex: 1; }
.wizard-step-circle {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 800;
  background: var(--surface-alt); border: 1.5px solid var(--border-strong); color: var(--text-muted);
  flex-shrink: 0;
}
.wizard-step.done .wizard-step-circle { background: var(--success); border-color: var(--success); color: #fff; }
.wizard-step.active .wizard-step-circle { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.wizard-step-label { font-size: 12.5px; font-weight: 700; color: var(--text-muted); white-space: nowrap; }
.wizard-step.active .wizard-step-label, .wizard-step.done .wizard-step-label { color: var(--text-primary); }
.wizard-step-line { flex: 1; height: 2px; background: var(--border-strong); margin: 0 8px; }
.wizard-step.done + .wizard-step-line-done { background: var(--success); }

/* =========================================================
   Modal
   ========================================================= */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23, 26, 43, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
  backdrop-filter: blur(2px);
}
.modal-overlay.open { display: flex; }

.modal-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: modalIn .16s ease;
}
.modal-box.modal-wide { max-width: 640px; }
.modal-box.modal-report {
  max-width: 1100px;
  width: 94vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}
.modal-box.modal-report .modal-body { overflow-y: auto; flex: 1; min-height: 0; }
@keyframes modalIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

.order-view-v2 {
  position: relative;
  width: 100%;
  max-width: 960px;
  height: 88vh;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
}
.order-view-v2 > .modal-close { position: absolute; top: 20px; right: 20px; z-index: 2; background: var(--surface); border: 1px solid var(--border); }
.order-view-v2-scroll { flex: 1; min-height: 0; overflow-y: auto; }
.order-view-v2-head { display: flex; align-items: flex-start; gap: 16px; padding: 28px 60px 20px 28px; }
.order-view-v2-icon { width: 54px; height: 54px; border-radius: 15px; background: #e7ecfb; color: #2f5fdb; display: grid; place-items: center; flex-shrink: 0; }
.order-view-v2-icon svg { width: 26px; height: 26px; }
.order-view-v2-head-text { flex: 1; min-width: 0; }
.order-view-v2-head-text .eyebrow { display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8b93a8; margin-bottom: 4px; }
.order-view-v2-head-text h3 { margin: 0; font-size: 22px; font-weight: 800; color: #1c2340; overflow-wrap: anywhere; }
.order-view-v2-head-text .sub { margin-top: 5px; color: #5b6373; font-size: 14px; }
.order-view-v2-status { flex-shrink: 0; padding: 7px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; background: #fdf1de; color: #c18a2b; }
.order-view-v2-status::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 7px; }
.order-view-v2-status.success { background: #e3f7ea; color: #1f9d5a; }
.order-view-v2-status.info { background: #e8eefd; color: #2f5fdb; }
.order-view-v2-status.danger { background: #fdeaea; color: #b53133; }
.order-view-v2-status.neutral { background: #eef0f4; color: #6b7280; }

.order-view-v2-body { padding: 0 28px 28px; }
.order-view-v2-card { border: 1px solid #edf0f5; border-radius: 14px; overflow: hidden; margin-bottom: 24px; }
.order-view-v2-card-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: #f3f6ff; }
.order-view-v2-card-head .icon { width: 26px; height: 26px; border-radius: 8px; background: #e2e8fb; color: #2f5fdb; display: grid; place-items: center; }
.order-view-v2-card-head .icon svg { width: 15px; height: 15px; }
.order-view-v2-card-head h4 { margin: 0; font-size: 14.5px; font-weight: 750; color: #1c2340; }
.order-view-v2-rows { display: grid; grid-template-columns: 1fr 1fr; }
.order-view-v2-row { padding: 16px 18px; border-top: 1px solid #edf0f5; overflow-wrap: anywhere; }
.order-view-v2-row:nth-child(-n+2) { border-top: none; }
.order-view-v2-row.with-icon { display: flex; align-items: center; gap: 12px; }
.order-view-v2-row-icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; }
.order-view-v2-row-icon svg { width: 19px; height: 19px; }
.order-view-v2-row-icon.green { background: #e3f7ea; color: #1f9d5a; }
.order-view-v2-row-icon.orange { background: #fdf1de; color: #c18a2b; }
.order-view-v2-row-label { display: block; font-size: 10.5px; font-weight: 750; letter-spacing: .03em; text-transform: uppercase; color: #8b93a8; margin-bottom: 4px; }
.order-view-v2-row-value { font-size: 14px; font-weight: 700; color: #1c2340; overflow-wrap: anywhere; }

.order-view-v2-section-title { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.order-view-v2-section-title .icon { width: 26px; height: 26px; border-radius: 50%; background: #2f5fdb; color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.order-view-v2-section-title .icon svg { width: 15px; height: 15px; }
.order-view-v2-section-title h4 { margin: 0; font-size: 15px; font-weight: 750; color: #1c2340; }

.order-view-v2-extra-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.order-view-v2-extra-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid #edf0f5; border-radius: 12px; background: #fff; overflow-wrap: anywhere; }
.order-view-v2-extra-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #f0eefe; color: #7451a3; flex-shrink: 0; }
.order-view-v2-extra-icon svg { width: 18px; height: 18px; }

.order-history-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.order-history-item:last-child { border-bottom: none; }
.order-history-dot { width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: var(--navy-600); flex-shrink: 0; }
.order-history-body { font-size: 12.5px; }
.order-history-diff { margin-top: 4px; color: var(--text-muted); }
.order-history-old { text-decoration: line-through; }
.order-history-new { color: var(--text); font-weight: 600; }

.order-view-v2-footer { flex-shrink: 0; padding: 18px 28px; border-top: 1px solid var(--border); background: #fff; border-radius: 0 0 22px 22px; }
.order-view-v2-footer .btn { width: 100%; background: var(--navy-700); color: #fff; border: none; }
.order-view-v2-footer .btn:hover { background: var(--navy-800); }

@media (max-width: 640px) {
  .order-view-v2-rows, .order-view-v2-extra-grid { grid-template-columns: 1fr; }
  .order-view-v2-row:nth-child(-n+2) { border-top: 1px solid #edf0f5; }
  .order-view-v2-row:first-child { border-top: none; }
}

.modal-body { padding: 26px; text-align: center; }
.modal-body.text-left { text-align: left; }
.modal-icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.modal-icon svg { width: 26px; height: 26px; }
.modal-icon.danger { background: var(--danger-bg); color: var(--danger); }
.modal-icon.warning { background: var(--warning-bg); color: var(--warning); }
.modal-icon.success { background: var(--success-bg); color: var(--success); }

.modal-title { font-size: 17px; font-weight: 800; margin: 0 0 8px; }
.modal-text { font-size: 13.5px; color: var(--text-secondary); line-height: 1.55; margin: 0; }
.modal-text b { color: var(--text-primary); }

.modal-actions { display: flex; gap: 10px; margin-top: 22px; }
.modal-actions .btn { flex: 1; }

.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 19px 22px; border-bottom: 1px solid var(--border);
  background: #242559;
}
.modal-header h3, .modal-header .modal-title { font-size: 16px; margin: 0; font-weight: 800; color: #fff; }
.modal-header .muted { color: rgba(255,255,255,.7); }
.modal-close {
  width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); background: var(--surface); border: 1px solid var(--border); flex-shrink: 0;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.modal-close:hover { background: var(--danger-bg); color: var(--danger); border-color: color-mix(in srgb, var(--danger) 30%, white); }
.modal-close svg { width: 15px; height: 15px; }

/* Toast (lightweight confirmation) */
.toast {
  position: fixed;
  bottom: 26px;
  right: 26px;
  background: var(--navy-900);
  color: #fff;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all .2s ease;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast svg { width: 17px; height: 17px; color: var(--success); flex-shrink: 0; }

/* Page-transition loading bar */
.page-loader {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--red-600), var(--navy-600));
  box-shadow: 0 0 8px rgba(200,30,44,0.5);
  z-index: 300;
  transition: width .4s ease, opacity .25s ease .15s;
  pointer-events: none;
}
.page-loader.done { opacity: 0; }

/* Scroll-to-top button */
.scroll-top-btn {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-700);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, background .15s ease;
  z-index: 150;
}
.scroll-top-btn svg { width: 20px; height: 20px; }
.scroll-top-btn:hover { background: var(--navy-800); }
.scroll-top-btn.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* Utility */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.mt-0 { margin-top: 0; }
.mb-18 { margin-bottom: 18px; }
.text-muted { color: var(--text-muted); }

@media (max-width: 1180px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   Mobile: off-canvas sidebar + single-column content
   ========================================================= */

/* Education registry and the detailed education-record workflow. */
.education-page, .education-create-page { max-width:1480px; }.education-note { border-radius:15px; border-color:#cadcf6; background:linear-gradient(100deg,#edf5ff,#f9fbff); box-shadow:none; }
.education-stat-grid .education-stat-tile { position:relative; min-height:145px; padding:21px 23px; overflow:hidden; border:1px solid #e4e7f0; border-radius:18px; box-shadow:0 7px 20px rgba(24,32,73,.055); }.education-stat-grid .education-stat-tile::after { content:""; position:absolute; width:94px; height:94px; right:-35px; bottom:-45px; border-radius:50%; background:rgba(49,57,143,.055); }.education-stat-grid .education-stat-tile .stat-tile-top { margin-bottom:17px; }.education-stat-grid .education-stat-tile .stat-icon { width:51px; height:51px; border-radius:15px; }.education-stat-grid .education-stat-tile .stat-value { font-size:30px; line-height:1; letter-spacing:-.04em; }.education-stat-grid .education-stat-tile .stat-label { margin-top:8px; font-size:13.5px; font-weight:650; }.education-stat-total { border-top:3px solid #353b8f !important; color:#353b8f; }.education-stat-bachelor { border-top:3px solid #4d7fc5 !important; color:#4d7fc5; }.education-stat-master { border-top:3px solid #1f8a6b !important; color:#1f8a6b; }.education-stat-doctoral { border-top:3px solid #8a5fa6 !important; color:#8a5fa6; }
.education-stat-grid .education-stat-tile.education-stat-total::after { background: color-mix(in srgb, #353b8f 12%, transparent); }
.education-stat-grid .education-stat-tile.education-stat-bachelor::after { background: color-mix(in srgb, #4d7fc5 12%, transparent); }
.education-stat-grid .education-stat-tile.education-stat-master::after { background: color-mix(in srgb, #1f8a6b 12%, transparent); }
.education-stat-grid .education-stat-tile.education-stat-doctoral::after { background: color-mix(in srgb, #8a5fa6 12%, transparent); }
.education-stat-total .stat-icon { background: color-mix(in srgb, #353b8f 18%, white); color: #353b8f; }
.education-stat-bachelor .stat-icon { background: color-mix(in srgb, #4d7fc5 18%, white); color: #4d7fc5; }
.education-stat-master .stat-icon { background: color-mix(in srgb, #1f8a6b 18%, white); color: #1f8a6b; }
.education-stat-doctoral .stat-icon { background: color-mix(in srgb, #8a5fa6 18%, white); color: #8a5fa6; }
.education-directory { overflow:hidden; border-radius:0; }.education-directory-head { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:19px 22px 15px; border-bottom:1px solid var(--border); background:#fff; }.education-directory-head h2 { margin:0; font-size:18px; letter-spacing:-.02em; }.education-directory-head p { margin:4px 0 0; color:var(--text-muted); font-size:12.5px; }.education-directory .table-toolbar { padding:15px 22px; border-bottom:1px solid var(--border); background:#fbfcff; }.education-directory .filter-input { min-width:250px; }.education-directory .select-chip { min-width:170px; }.education-directory .data-table thead th { padding:13px 22px; }.education-directory .data-table tbody td { height:74px; padding:14px 22px; }.education-directory .data-table tbody tr:hover td { background:#f4f6ff; }.education-directory .table-footer { padding:15px 22px; }
.education-view-box { overflow:hidden; border-radius:19px; }.education-view-box .modal-header { align-items:center; padding:19px 22px; background:linear-gradient(110deg,#f8f9ff,#fff); }.education-view-heading { display:flex; align-items:center; gap:11px; }.education-view-icon { display:grid; width:42px; height:42px; place-items:center; border-radius:13px; color:#4a65a6; background:#edf4ff; }.education-view-icon svg { width:21px; height:21px; }.education-view-heading > div > span { display:block; margin-bottom:3px; color:#4a65a6; font-size:10.5px; font-weight:800; letter-spacing:.075em; text-transform:uppercase; }.education-view-heading h3 { margin:0; font-size:18px; }.education-view-box .modal-body { padding:21px 22px 22px; }.education-view-box .info-grid { overflow:hidden; border:1px solid #edf0f5; border-radius:12px; }.education-view-box .info-item { min-height:72px; padding:13px 14px; border-right:1px solid #edf0f5; border-bottom:1px solid #edf0f5; }.education-view-box .info-label { color:#8b93a8; font-size:10.5px; font-weight:750; letter-spacing:.025em; text-transform:uppercase; }.education-view-box .info-value { margin-top:6px; color:#28304c; font-size:13px; font-weight:650; }
.education-create-head { margin-bottom:20px; }.education-create-banner { display:flex; align-items:center; gap:12px; padding:14px 17px; margin:0 0 22px; border:1px solid #d7e1f6; border-radius:15px; color:#38527d; background:linear-gradient(100deg,#eff6ff,#fafcff); }.education-create-banner-icon { display:grid; flex:0 0 auto; width:39px; height:39px; place-items:center; border-radius:12px; color:#4b5aa8; background:#fff; box-shadow:0 4px 10px rgba(45,79,140,.10); }.education-create-banner-icon svg { width:20px; height:20px; }.education-create-banner b { display:block; color:#35468b; font-size:13px; }.education-create-banner span:not(.education-create-banner-icon):not(.education-create-banner-step) { display:block; margin-top:3px; color:#71809b; font-size:11.5px; }.education-create-banner-step { margin-left:auto; padding:5px 9px; border-radius:20px; color:var(--navy-700); background:#e4e8fb; font-size:11.5px; font-weight:800; }.education-create-page { display:grid; gap:22px; }.education-create-page .education-form-card { position:relative; overflow:hidden; padding:25px !important; border:1px solid #e3e7f0; border-radius:17px; box-shadow:0 10px 26px rgba(25,34,79,.065); }.education-create-page .education-form-card::before { content:""; position:absolute; top:0; left:0; right:0; height:3px; }.education-form-card-core::before { background:#3d489c; }.education-form-card-admission::before { background:#5578bd; }.education-form-card-graduation::before { background:#56a772; }.education-form-card-document::before { background:#c79537; }.education-form-card-nostrification::before { background:#8a5fa6; }.education-create-page .subsection-title { min-height:29px; margin-bottom:19px; padding-bottom:13px; border-bottom:1px solid #edf0f5; font-size:15px; }.education-create-page .subsection-title svg { padding:6px; width:31px; height:31px; border-radius:9px; color:var(--navy-700); background:#eef0fb; }.education-create-page .input { min-height:44px; border-radius:11px; background:#fcfcfe; }.education-create-page .input:focus { background:#fff; box-shadow:0 0 0 3px rgba(49,57,143,.10); }.education-create-page .dropzone { border-radius:12px; background:#fcfcfe; }.education-create-split { gap:22px; }

/* Scientific records. */
.science-page,.science-create-page { max-width:1480px; }.science-note { border-radius:15px; border-color:#d9d0ef; background:linear-gradient(100deg,#f4f0ff,#fbfaff); box-shadow:none; }.science-stat-grid .science-stat-tile { position:relative; min-height:145px; padding:21px 23px; overflow:hidden; border:1px solid #e4e7f0; border-radius:18px; box-shadow:0 7px 20px rgba(24,32,73,.055); }.science-stat-grid .science-stat-tile::after { content:""; position:absolute; width:94px; height:94px; right:-35px; bottom:-45px; border-radius:50%; background:rgba(116,81,163,.06); }.science-stat-grid .science-stat-tile .stat-tile-top { margin-bottom:17px; }.science-stat-grid .science-stat-tile .stat-icon { width:51px; height:51px; border-radius:15px; }.science-stat-grid .science-stat-tile .stat-value { font-size:30px; line-height:1; letter-spacing:-.04em; }.science-stat-grid .science-stat-tile .stat-label { margin-top:8px; font-size:13.5px; font-weight:650; }.science-stat-total{border-top:3px solid #353b8f!important;color:#353b8f}.science-stat-phd{border-top:3px solid #4d7fc5!important;color:#4d7fc5}.science-stat-doctor{border-top:3px solid #1f8a6b!important;color:#1f8a6b}.science-stat-title{border-top:3px solid #8a5fa6!important;color:#8a5fa6}
.science-stat-grid .science-stat-tile.science-stat-total::after{background:color-mix(in srgb,#353b8f 12%,transparent)}
.science-stat-grid .science-stat-tile.science-stat-phd::after{background:color-mix(in srgb,#4d7fc5 12%,transparent)}
.science-stat-grid .science-stat-tile.science-stat-doctor::after{background:color-mix(in srgb,#1f8a6b 12%,transparent)}
.science-stat-grid .science-stat-tile.science-stat-title::after{background:color-mix(in srgb,#8a5fa6 12%,transparent)}
.science-stat-total .stat-icon{background:color-mix(in srgb,#353b8f 18%,white);color:#353b8f}
.science-stat-phd .stat-icon{background:color-mix(in srgb,#4d7fc5 18%,white);color:#4d7fc5}
.science-stat-doctor .stat-icon{background:color-mix(in srgb,#1f8a6b 18%,white);color:#1f8a6b}
.science-stat-title .stat-icon{background:color-mix(in srgb,#8a5fa6 18%,white);color:#8a5fa6}
.science-directory{overflow:hidden;border-radius:0}.science-directory-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:19px 22px 15px;border-bottom:1px solid var(--border);background:#fff}.science-directory-head h2{margin:0;font-size:18px;letter-spacing:-.02em}.science-directory-head p{margin:4px 0 0;color:var(--text-muted);font-size:12.5px}.science-directory .table-toolbar{padding:15px 22px;border-bottom:1px solid var(--border);background:#fbfcff}.science-directory .filter-input{min-width:250px}.science-directory .select-chip{min-width:160px}.science-directory .data-table thead th{padding:13px 22px}.science-directory .data-table tbody td{height:74px;padding:14px 22px}.science-directory .data-table tbody tr:hover td{background:#f4f6ff}.science-directory .table-footer{padding:15px 22px}
.science-view-box{overflow:hidden;border-radius:19px}.science-view-box .modal-header{align-items:center;padding:19px 22px;background:linear-gradient(110deg,#faf8ff,#fff)}.science-view-heading{display:flex;align-items:center;gap:11px}.science-view-icon{display:grid;width:42px;height:42px;place-items:center;border-radius:13px;color:#7451a3;background:#f0eafa}.science-view-icon svg{width:21px;height:21px}.science-view-heading>div>span{display:block;margin-bottom:3px;color:#7451a3;font-size:10.5px;font-weight:800;letter-spacing:.075em;text-transform:uppercase}.science-view-heading h3{margin:0;font-size:18px}.science-view-box .modal-body{padding:21px 22px 22px}.science-view-box .info-grid{overflow:hidden;border:1px solid #edf0f5;border-radius:12px}.science-view-box .info-item{min-height:72px;padding:13px 14px;border-right:1px solid #edf0f5;border-bottom:1px solid #edf0f5}.science-view-box .info-label{color:#8b93a8;font-size:10.5px;font-weight:750;letter-spacing:.025em;text-transform:uppercase}.science-view-box .info-value{margin-top:6px;color:#28304c;font-size:13px;font-weight:650}
.science-create-page{display:grid;gap:22px}.science-create-head{margin-bottom:-2px}.science-create-banner{display:flex;align-items:center;gap:12px;padding:14px 17px;border:1px solid #ded3f0;border-radius:15px;background:linear-gradient(100deg,#f4f0ff,#fcfbff)}.science-create-banner-icon{display:grid;width:39px;height:39px;place-items:center;border-radius:12px;color:#fff;background:#7451a3;font-size:12px;font-weight:800}.science-create-banner b{display:block;color:#604183;font-size:13px}.science-create-banner span:not(.science-create-banner-icon){display:block;margin-top:3px;color:#7c7790;font-size:11.5px}.science-create-page .science-form-card{position:relative;overflow:hidden;padding:25px!important;border:1px solid #e3e7f0;border-radius:17px;box-shadow:0 10px 26px rgba(25,34,79,.065)}.science-create-page .science-form-card::before{content:"";position:absolute;top:0;left:0;right:0;height:3px}.science-form-card-core::before{background:#7451a3}.science-form-card-degree::before{background:#5578bd}.science-form-card-title::before{background:#56a772}.science-form-card-nostrification::before{background:#c79537}.science-create-page .subsection-title{min-height:29px;margin-bottom:19px;padding-bottom:13px;border-bottom:1px solid #edf0f5;font-size:15px}.science-create-page .subsection-title svg{padding:6px;width:31px;height:31px;border-radius:9px;color:#7451a3;background:#f0eafa}.science-create-page .input{min-height:44px;border-radius:11px;background:#fcfcfe}.science-create-page .input:focus{background:#fff;box-shadow:0 0 0 3px rgba(116,81,163,.11)}.science-create-page .dropzone{border-radius:12px;background:#fcfcfe}

/* Military register and card workflow. */
.military-page,.military-create-page{max-width:1480px}.military-note{border-radius:15px;border-color:#cdddec;background:linear-gradient(100deg,#eef6fb,#faffff);box-shadow:none}.military-stat-grid .military-stat-tile{position:relative;min-height:145px;padding:21px 23px;overflow:hidden;border:1px solid #e4e7f0;border-radius:18px;box-shadow:0 7px 20px rgba(24,32,73,.055)}.military-stat-grid .military-stat-tile::after{content:"";position:absolute;width:94px;height:94px;right:-35px;bottom:-45px;border-radius:50%;background:rgba(49,95,122,.06)}.military-stat-grid .stat-tile-top{margin-bottom:17px}.military-stat-grid .stat-icon{width:51px;height:51px;border-radius:15px}.military-stat-grid .stat-value{font-size:30px;line-height:1;letter-spacing:-.04em}.military-stat-grid .stat-label{margin-top:8px;font-size:13.5px;font-weight:650}.military-stat-total{border-top:3px solid #353b8f!important;color:#353b8f}.military-stat-one{border-top:3px solid #4d7fc5!important;color:#4d7fc5}.military-stat-two{border-top:3px solid #1f8a6b!important;color:#1f8a6b}.military-stat-missing{border-top:3px solid #8a3b5c!important;color:#8a3b5c}
.military-stat-grid .military-stat-tile.military-stat-total::after{background:color-mix(in srgb,#353b8f 12%,transparent)}
.military-stat-grid .military-stat-tile.military-stat-one::after{background:color-mix(in srgb,#4d7fc5 12%,transparent)}
.military-stat-grid .military-stat-tile.military-stat-two::after{background:color-mix(in srgb,#1f8a6b 12%,transparent)}
.military-stat-grid .military-stat-tile.military-stat-missing::after{background:color-mix(in srgb,#8a3b5c 12%,transparent)}
.military-stat-total .stat-icon{background:color-mix(in srgb,#353b8f 18%,white);color:#353b8f}
.military-stat-one .stat-icon{background:color-mix(in srgb,#4d7fc5 18%,white);color:#4d7fc5}
.military-stat-two .stat-icon{background:color-mix(in srgb,#1f8a6b 18%,white);color:#1f8a6b}
.military-stat-missing .stat-icon{background:color-mix(in srgb,#8a3b5c 18%,white);color:#8a3b5c}
.military-directory{overflow:hidden;border-radius:0}.military-directory-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:19px 22px 15px;border-bottom:1px solid var(--border);background:#fff}.military-directory-head h2{margin:0;font-size:18px;letter-spacing:-.02em}.military-directory-head p{margin:4px 0 0;color:var(--text-muted);font-size:12.5px}.military-directory .table-toolbar{padding:15px 22px;border-bottom:1px solid var(--border);background:#fbfcff}.military-directory .filter-input{min-width:250px}.military-directory .select-chip{min-width:170px}.military-directory .data-table thead th{padding:13px 22px}.military-directory .data-table tbody td{height:74px;padding:14px 22px}.military-directory .data-table tbody tr:hover td{background:#f4f6ff}.military-directory .table-footer{padding:15px 22px}.military-view-box{overflow:hidden;border-radius:19px}.military-view-box .modal-header{align-items:center;padding:19px 22px;background:linear-gradient(110deg,#f5fbff,#fff)}.military-view-heading{display:flex;align-items:center;gap:11px}.military-view-icon{display:grid;width:42px;height:42px;place-items:center;border-radius:13px;color:#315f7a;background:#e9f4fa}.military-view-icon svg{width:21px;height:21px}.military-view-heading>div>span{display:block;margin-bottom:3px;color:#315f7a;font-size:10.5px;font-weight:800;letter-spacing:.075em;text-transform:uppercase}.military-view-heading h3{margin:0;font-size:18px}.military-view-box .modal-body{padding:21px 22px 22px}.military-view-box .info-grid{overflow:hidden;border:1px solid #edf0f5;border-radius:12px}.military-view-box .info-item{min-height:72px;padding:13px 14px;border-right:1px solid #edf0f5;border-bottom:1px solid #edf0f5}.military-view-box .info-label{color:#8b93a8;font-size:10.5px;font-weight:750;letter-spacing:.025em;text-transform:uppercase}.military-view-box .info-value{margin-top:6px;color:#28304c;font-size:13px;font-weight:650}.military-create-page{display:grid;gap:22px}.military-create-banner{display:flex;align-items:center;gap:12px;padding:14px 17px;border:1px solid #cdddec;border-radius:15px;background:linear-gradient(100deg,#eef6fb,#faffff)}.military-create-banner>span{display:grid;width:39px;height:39px;place-items:center;border-radius:12px;color:#fff;background:#315f7a;font-size:12px;font-weight:800}.military-create-banner b{display:block;color:#315f7a;font-size:13px}.military-create-banner small{display:block;margin-top:3px;color:#71809b;font-size:11.5px}.military-create-page .military-form-card{position:relative;overflow:hidden;padding:25px!important;border:1px solid #e3e7f0;border-radius:17px;box-shadow:0 10px 26px rgba(25,34,79,.065)}.military-create-page .military-form-card::before{content:"";position:absolute;top:0;left:0;right:0;height:3px}.military-form-card-core::before{background:#315f7a}.military-form-card-status::before{background:#5578bd}.military-form-card-authority::before{background:#56a772}.military-create-page .subsection-title{min-height:29px;margin-bottom:19px;padding-bottom:13px;border-bottom:1px solid #edf0f5;font-size:15px}.military-create-page .subsection-title svg{padding:6px;width:31px;height:31px;border-radius:9px;color:#315f7a;background:#e9f4fa}.military-create-page .input{min-height:44px;border-radius:11px;background:#fcfcfe}.military-create-page .input:focus{background:#fff;box-shadow:0 0 0 3px rgba(49,95,122,.11)}.military-create-page .dropzone{border-radius:12px;background:#fcfcfe}

/* Accounts and invitation workflow. */
.accounts-page,.account-create-page{max-width:1480px}.accounts-stat-grid .stat-tile{position:relative;min-height:145px;padding:21px 23px;overflow:hidden;border:1px solid #e4e7f0;border-radius:18px;box-shadow:0 7px 20px rgba(24,32,73,.055)}.accounts-stat-grid .stat-tile::after{content:"";position:absolute;width:94px;height:94px;right:-35px;bottom:-45px;border-radius:50%;background:rgba(49,57,143,.055)}.accounts-stat-grid .stat-tile-top{margin-bottom:17px}.accounts-stat-grid .stat-icon{width:51px;height:51px;border-radius:15px}.accounts-stat-grid .stat-value{font-size:30px;line-height:1;letter-spacing:-.04em}.accounts-stat-grid .stat-label{margin-top:8px;font-size:13.5px;font-weight:650}.accounts-note{border-radius:15px;border-color:#cadcf6;background:linear-gradient(100deg,#edf5ff,#f9fbff);box-shadow:none}.accounts-directory{overflow:hidden;border-radius:18px}.accounts-directory-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:19px 22px 15px;border-bottom:1px solid var(--border);background:#fff}.accounts-directory-head h2{margin:0;font-size:18px}.accounts-directory-head p{margin:4px 0 0;color:var(--text-muted);font-size:12.5px}.accounts-directory .table-toolbar{padding:15px 22px;border-bottom:1px solid var(--border);background:#fbfcff}.accounts-directory .filter-input{min-width:250px}.accounts-directory .select-chip{min-width:150px}.accounts-directory .data-table thead th{padding:13px 22px}.accounts-directory .data-table tbody td{height:74px;padding:14px 22px}.accounts-directory .data-table tbody tr:hover td{background:#f4f6ff}.accounts-directory .table-footer{padding:15px 22px}.account-create-page{display:grid;gap:22px}.account-create-banner{display:flex;align-items:center;gap:12px;padding:14px 17px;border:1px solid #d7e1f6;border-radius:15px;background:linear-gradient(100deg,#eff6ff,#fafcff)}.account-create-banner>span{display:grid;width:39px;height:39px;place-items:center;border-radius:12px;color:#fff;background:#353b8f;font-size:12px;font-weight:800}.account-create-banner b{display:block;color:#35468b;font-size:13px}.account-create-banner small{display:block;margin-top:3px;color:#71809b;font-size:11.5px}.account-create-layout{align-items:start;gap:20px}.account-create-layout>div{display:grid;gap:22px}.account-create-layout .mb-18{margin-bottom:0!important}.account-create-page .account-form-card{position:relative;overflow:hidden;padding:25px!important;border:1px solid #e3e7f0;border-radius:17px;box-shadow:0 10px 26px rgba(25,34,79,.065)}.account-create-page .account-form-card::before{content:"";position:absolute;top:0;left:0;right:0;height:3px}.account-form-card-employee::before{background:#353b8f}.account-form-card-identity::before{background:#5578bd}.account-form-card-role::before{background:#7451a3}.account-form-card-scope::before{background:#56a772}.account-form-card-login::before{background:#c79537}.account-create-page .subsection-title{min-height:29px;margin-bottom:19px;padding-bottom:13px;border-bottom:1px solid #edf0f5;font-size:15px}.account-create-page .subsection-title svg{padding:6px;width:31px;height:31px;border-radius:9px;color:#353b8f;background:#eef0fb}.account-create-page .input{min-height:44px;border-radius:11px;background:#fcfcfe}.account-create-page .input:focus{background:#fff;box-shadow:0 0 0 3px rgba(49,57,143,.1)}.account-create-page .form-footer-bar{position:sticky;z-index:4;bottom:14px;border:1px solid #e0e4ef;border-radius:15px;box-shadow:0 12px 24px rgba(27,34,74,.12)}

/* Change-request review workspace. */
.requests-page{max-width:1480px}.requests-stat-grid .stat-tile{position:relative;min-height:145px;padding:21px 23px;overflow:hidden;border:1px solid #e4e7f0;border-radius:18px;box-shadow:0 7px 20px rgba(24,32,73,.055)}.requests-stat-grid .stat-tile::after{content:"";position:absolute;width:94px;height:94px;right:-35px;bottom:-45px;border-radius:50%;background:rgba(49,57,143,.055)}.requests-stat-grid .stat-tile-top{margin-bottom:17px}.requests-stat-grid .stat-icon{width:51px;height:51px;border-radius:15px}.requests-stat-grid .stat-value{font-size:30px;line-height:1;letter-spacing:-.04em}.requests-stat-grid .stat-label{margin-top:8px;font-size:13.5px;font-weight:650}.requests-directory{overflow:hidden;border-radius:18px}.requests-directory-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:19px 22px 15px;border-bottom:1px solid var(--border);background:#fff}.requests-directory-head h2{margin:0;font-size:18px}.requests-directory-head p{margin:4px 0 0;color:var(--text-muted);font-size:12.5px}.requests-directory .table-toolbar{padding:15px 22px;border-bottom:1px solid var(--border);background:#fbfcff}.requests-directory .filter-input{min-width:250px}.requests-directory .data-table thead th{padding:13px 22px}.requests-directory .data-table tbody td{height:74px;padding:14px 22px}.requests-directory .data-table tbody tr:hover td{background:#f4f6ff}.request-review-box{overflow:hidden;border-radius:19px}.request-review-box .modal-header{align-items:center;padding:19px 22px;background:linear-gradient(110deg,#f8f9ff,#fff)}.request-review-heading{display:flex;align-items:center;gap:11px}.request-review-heading>span{display:grid;width:39px;height:39px;place-items:center;border-radius:12px;color:#fff;background:#353b8f;font-size:12px;font-weight:800}.request-review-heading small{display:block;margin-bottom:3px;color:#5966ad;font-size:10.5px;font-weight:800;letter-spacing:.075em;text-transform:uppercase}.request-review-heading h3{margin:0;font-size:18px}.request-review-box .modal-body{padding:21px 22px 22px}.request-review-box .table-wrap{border:1px solid #edf0f5;border-radius:12px}.request-review-box .data-table td{padding:13px 14px}.request-review-box textarea{border-radius:11px}

/* Employee request history */
.my-requests-page { max-width: 1540px; }
.my-requests-head { margin-bottom: 20px; padding: 24px 27px; border: 1px solid #dfe4ef; border-radius: 20px; background: linear-gradient(112deg, #fff, #f5f7ff); box-shadow: 0 10px 28px rgba(31, 44, 84, .06); }
.my-requests-head .page-eyebrow { display: block; margin-bottom: 5px; }
.my-requests-head h2 { margin: 0 0 5px; color: #17203a; font-size: 24px; letter-spacing: -.35px; }
.my-requests-head .btn { min-height: 44px; border-radius: 11px; box-shadow: 0 8px 18px rgba(181, 48, 51, .2); }
.my-request-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.my-request-stat { position: relative; overflow: hidden; min-height: 106px; padding: 20px 21px; border: 1px solid #e2e6ef; border-radius: 16px; background: #fff; box-shadow: 0 8px 22px rgba(31, 44, 84, .05); }
.my-request-stat::after { content: ""; position: absolute; right: -25px; bottom: -32px; width: 82px; height: 82px; border-radius: 50%; background: currentColor; opacity: .055; }
.my-request-stat span { display: block; color: #202a48; font-size: 28px; font-weight: 900; line-height: 1; }
.my-request-stat small { display: block; margin-top: 11px; color: #707b92; font-size: 12.5px; font-weight: 700; }
.my-request-stat.stat-all { color: #44549c; border-top: 3px solid #44549c; }
.my-request-stat.stat-pending { color: #c38a27; border-top: 3px solid #c38a27; }
.my-request-stat.stat-approved { color: #4e9a6b; border-top: 3px solid #4e9a6b; }
.my-request-stat.stat-draft { color: #8a91a3; border-top: 3px solid #8a91a3; }
.my-requests-directory { overflow: hidden; border: 1px solid #e1e6ef; border-radius: 19px; box-shadow: 0 11px 29px rgba(31, 44, 84, .055); }
.my-requests-directory-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 23px; border-bottom: 1px solid #e8ecf3; background: linear-gradient(90deg, #fff, #f8f9fd); }
.my-requests-directory-head h3 { margin: 0; color: #1c2642; font-size: 18px; }
.my-requests-directory-head p { margin: 4px 0 0; color: #838ca0; font-size: 12.5px; }
.my-requests-directory .data-table thead th { padding: 13px 22px; font-size: 12px; letter-spacing: .32px; }
.my-requests-directory .data-table tbody td { height: 76px; padding: 14px 22px; }
.my-requests-directory .data-table tbody tr:hover td { background: #f8faff; }
.request-view-button { width: 36px !important; height: 36px !important; border-radius: 10px; color: #46549a; background: #f7f8fd; }
.request-view-button:hover { border-color: #b9c3e2; background: #eef1fb; }
.request-detail-modal { overflow: hidden; border: 1px solid #dfe4ee; border-radius: 21px; box-shadow: 0 25px 66px rgba(22, 34, 72, .2); }
.request-detail-modal .modal-header { padding: 21px 24px; border-bottom: 1px solid #e7ebf3; background: linear-gradient(105deg, #f9faff, #eef2ff); }
.request-detail-modal .modal-header h3 { color: #1a2445; font-size: 18px; }
.request-detail-modal .modal-body { padding: 24px; }
.request-detail-modal .table-wrap { overflow: hidden; border: 1px solid #e3e7f0; border-radius: 13px; }
.request-detail-modal .data-table { table-layout: fixed; }
.request-detail-modal .data-table th,
.request-detail-modal .data-table td { white-space: normal; overflow-wrap: anywhere; line-height: 1.45; }
.request-detail-modal .modal-actions { gap: 12px; }
.request-detail-modal .modal-actions .btn { min-height: 42px; border-radius: 10px; }
@media (max-width: 860px) {
  .my-requests-head { align-items: flex-start; padding: 21px; }
  .my-requests-head .page-head-actions, .my-requests-head .btn { width: 100%; }
  .my-requests-head .btn { justify-content: center; }
  .my-request-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Employee self-service profile */
.employee-self-profile { max-width: 1540px; }
.self-profile-hero { position: relative; overflow: hidden; min-height: 162px; padding: 30px 32px; border: 1px solid #dfe4ef; border-radius: 23px; background: linear-gradient(112deg, #fff 0%, #f7f8ff 58%, #eef2ff 100%); box-shadow: 0 14px 36px rgba(30, 43, 84, .075); }
.self-profile-hero::after { content: ""; position: absolute; right: -55px; top: -80px; width: 230px; height: 230px; border-radius: 50%; background: radial-gradient(circle, rgba(66, 78, 158, .12), rgba(66, 78, 158, 0) 68%); pointer-events: none; }
.self-profile-status-line { position: absolute; inset: 0 auto 0 0; width: 5px; background: linear-gradient(#363f91, #b8323a); }
.self-profile-avatar { flex: 0 0 auto; width: 86px; height: 86px; border: 5px solid #fff; color: #fff; background: linear-gradient(145deg, #343c8d, #b3313c); font-size: 25px; box-shadow: 0 11px 25px rgba(46, 54, 128, .23); }
.self-profile-hero .profile-hero-info { position: relative; z-index: 1; }
.self-profile-hero .profile-hero-info h2 { margin-bottom: 12px; color: #161f39; font-size: 28px; letter-spacing: -.45px; }
.self-profile-hero .profile-hero-meta { display: flex; flex-wrap: wrap; gap: 9px; }
.self-profile-hero .profile-hero-meta > span:not(.badge) { display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid #e2e6f0; border-radius: 10px; color: #536079; background: rgba(255,255,255,.76); }
.self-profile-hero .profile-hero-meta svg { color: #46549e; }
.self-profile-actions { position: relative; z-index: 1; }
.self-profile-actions .btn { min-height: 45px; max-width: 290px; border-radius: 12px; line-height: 1.35; box-shadow: 0 9px 20px rgba(181, 48, 51, .2); }
.self-profile-note { margin-top: 20px; padding: 16px 18px; border: 1px solid #dbe5f7; border-left: 4px solid #4b66b4; border-radius: 15px; background: linear-gradient(90deg, #f1f6ff, #fafcff); box-shadow: 0 7px 20px rgba(31, 47, 92, .045); }
.self-profile-workspace { margin-top: 20px; }
.self-profile-tabs { position: sticky; top: 12px; z-index: 5; display: flex; gap: 7px; overflow-x: auto; padding: 8px; border: 1px solid #e0e5ef; border-radius: 16px; background: rgba(255,255,255,.95); box-shadow: 0 9px 24px rgba(31, 44, 84, .065); backdrop-filter: blur(10px); }
.self-profile-tabs .tab-btn { flex: 1 0 auto; justify-content: center; min-height: 43px; border-radius: 10px; font-weight: 750; }
.self-profile-workspace .tab-panel { padding-top: 20px; }
.self-profile-workspace .tab-panel .card { overflow: hidden; border: 1px solid #e2e7f0; border-radius: 18px; box-shadow: 0 10px 27px rgba(31, 44, 84, .05); }
.self-profile-workspace .tab-panel .card-pad { padding: 24px; }
.self-profile-workspace .subsection-title { margin-bottom: 18px; color: #263354; font-size: 13px; font-weight: 850; letter-spacing: .42px; text-transform: uppercase; }
.self-profile-workspace .info-grid { gap: 12px; }
.self-profile-workspace .info-item { padding: 14px 15px; border: 1px solid #e8ebf2; border-radius: 12px; background: #fafbfe; }
.self-profile-workspace .info-label { margin-bottom: 5px; color: #8a94a8; font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .35px; }
.self-profile-workspace .info-value { color: #202a45; font-weight: 650; }
.self-profile-workspace .role-note { border-radius: 14px; }
.self-profile-workspace .timeline-v { padding: 4px 0 2px; }
.self-profile-workspace .timeline-v-item { padding-left: 0; }
.self-profile-workspace [data-tab-panel="education"] .timeline-v { display: grid; gap: 10px; padding-left: 0; }
.self-profile-workspace [data-tab-panel="education"] .timeline-v::before { display: none; }
.self-profile-workspace [data-tab-panel="education"] .timeline-v-item,
.self-profile-workspace [data-tab-panel="education"] .timeline-v-item.current { padding: 14px 16px 14px 18px; border: 1px solid #e4e8f1; border-left: 3px solid #6672ad; border-radius: 12px; background: #fafbfe; }
.self-profile-workspace [data-tab-panel="education"] .timeline-v-item::before { display: none; }
.self-profile-workspace [data-tab-panel="education"] .timeline-v-date { color: #687493; }
.self-profile-workspace [data-tab-panel="education"] .subsection-title svg { flex: 0 0 32px; box-sizing: border-box; width: 32px; height: 32px; padding: 7px; border-radius: 10px; color: #4f5da5; background: #eef0fa; }
.self-profile-workspace .leave-balance-card { min-height: 150px; padding: 21px; border: 1px solid #e1e6ef; border-radius: 17px; background: linear-gradient(145deg, #fff, #fafbfe); box-shadow: 0 9px 23px rgba(31, 44, 84, .05); }
.self-profile-workspace .leave-balance-card .num { color: #313d86; font-size: 27px; }
.self-profile-workspace .card-header { padding: 19px 22px; border-bottom: 1px solid #e9edf4; }
.self-profile-workspace .table-wrap { overflow: hidden; }
.self-profile-workspace .data-table thead th { font-size: 12px; letter-spacing: .3px; }
.self-profile-workspace .data-table tbody tr:hover { background: #f8faff; }
.self-profile-workspace .empty-state { border: 1px dashed #d8deeb; border-radius: 14px; background: #fafbfe; }
.self-profile-hero-concept { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(315px, .65fr); align-items: center; gap: 34px; min-height: 230px; padding: 29px 34px; border: 1px solid #dfe4ef; border-left: 5px solid #a92335; border-radius: 22px; background: linear-gradient(110deg, #fff 0%, #fff 72%, #f7f8ff 100%); box-shadow: 0 14px 36px rgba(30, 43, 84, .075); }
.self-profile-hero-concept::after { right: -85px; top: -110px; width: 285px; height: 285px; opacity: .7; }
.self-profile-concept-main { position: relative; z-index: 1; display: flex; align-items: center; gap: 28px; min-width: 0; }
.self-profile-concept-avatar { width: 150px; height: 150px; flex: 0 0 150px; border: 7px solid #f0f1fa; font-size: 34px; box-shadow: 0 12px 27px rgba(46, 54, 128, .19); }
.self-profile-concept-info { min-width: 0; }
.self-profile-concept-info h2 { margin: 0 0 10px !important; font-size: 29px !important; }
.self-profile-code { display: inline-flex; margin-bottom: 14px; padding: 6px 11px; border-radius: 8px; color: #3452bd; background: #eef2ff; font-size: 12.5px; font-weight: 850; letter-spacing: .2px; }
.self-profile-concept-meta { display: flex; align-items: center; gap: 18px !important; margin-bottom: 14px; }
.self-profile-hero .self-profile-concept-meta > span:not(.badge) { padding: 0; border: 0; color: #5c6780; background: transparent; }
.self-profile-concept-meta > span + span { position: relative; }
.self-profile-concept-meta > span + span::before { content: ""; position: absolute; left: -10px; top: 2px; bottom: 2px; width: 1px; background: #dfe3ec; }
.self-profile-concept-status { display: inline-flex; padding: 7px 12px; }
.self-profile-concept-contact { position: relative; z-index: 1; display: grid; gap: 11px; padding-left: 30px; border-left: 1px solid #e4e8f1; }
.self-profile-contact-row { display: flex; align-items: center; gap: 11px; min-width: 0; color: #26304c; font-size: 13.5px; font-weight: 650; }
.self-profile-contact-row > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.self-profile-contact-icon { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 11px; color: #3f54a7; background: #f0f2fc; }
.self-profile-contact-icon svg { width: 18px; height: 18px; }
.self-profile-concept-action { width: 100%; margin-top: 6px; }
.self-profile-concept-action .btn { width: 100%; max-width: none; min-height: 47px; justify-content: center; border-radius: 11px; }
@media (max-width: 860px) {
  .self-profile-hero { align-items: flex-start; padding: 24px 20px; }
  .self-profile-actions { width: 100%; }
  .self-profile-actions .btn { width: 100%; max-width: none; justify-content: center; }
  .self-profile-tabs .tab-btn { flex: 0 0 auto; }
  .self-profile-workspace .tab-panel .card-pad { padding: 19px; }
  .self-profile-hero-concept { grid-template-columns: 1fr; gap: 24px; }
  .self-profile-concept-main { align-items: flex-start; }
  .self-profile-concept-avatar { width: 104px; height: 104px; flex-basis: 104px; font-size: 26px; }
  .self-profile-concept-contact { padding: 20px 0 0; border-top: 1px solid #e4e8f1; border-left: 0; }
}

/* Analytical report pages */
.analytics-report-page { max-width: 1540px; }
.analytics-report-hero { display: flex; align-items: center; gap: 18px; padding: 25px 28px; border: 1px solid #e1e6f0; border-radius: 20px; background: linear-gradient(112deg, #fff 0%, #f6f8ff 65%, #edf2ff 100%); box-shadow: 0 11px 30px rgba(30, 43, 84, .06); }
.analytics-report-code { display: grid; place-items: center; flex: 0 0 60px; height: 60px; border-radius: 17px; color: #fff; background: linear-gradient(135deg, #2d397e, #5668bd); font-size: 17px; font-weight: 900; letter-spacing: .5px; box-shadow: 0 10px 22px rgba(43, 58, 132, .22); }
.analytics-report-hero-workforce .analytics-report-code { background: linear-gradient(135deg, #2f6c63, #54a37e); }
.analytics-report-hero-degree .analytics-report-code { background: linear-gradient(135deg, #6a386b, #b23a4c); }
.analytics-report-hero h2 { margin: 1px 0 5px; color: #17203a; font-size: 24px; letter-spacing: -.35px; }
.analytics-report-hero p { margin: 0; color: #778198; }
.analytics-report-badge { margin-left: auto; padding: 8px 12px; border: 1px solid #dfe4ef; border-radius: 999px; color: #4d5875; background: rgba(255,255,255,.82); font-size: 12px; font-weight: 800; white-space: nowrap; }
.analytics-report-card { margin-top: 20px; overflow: hidden; border: 1px solid #e1e6f0; border-radius: 20px; box-shadow: 0 12px 30px rgba(31, 44, 84, .055); }
.analytics-report-body { padding: 25px 27px; }
.analytics-report-body > .subsection-title { margin-bottom: 16px; color: #263356; font-size: 13px; letter-spacing: .5px; }
.analytics-filter-grid { padding: 20px; border: 1px solid #e5e9f2; border-radius: 15px; background: #fbfcfe; }
.analytics-filter-grid .field { margin-bottom: 0; }
.analytics-filter-grid .input { min-height: 44px; border-radius: 10px; background-color: #fff; }
.analytics-run-button { min-height: 44px; margin-top: 15px; padding-inline: 20px; border-radius: 11px; box-shadow: 0 8px 18px rgba(181, 48, 51, .2); }
.analytics-report-result { margin-top: 25px; padding-top: 22px; border-top: 1px solid #e6eaf2; }
.analytics-report-result .table-toolbar { margin-bottom: 12px; padding: 0 !important; }
.analytics-report-result .filter-input .input { min-width: 250px; border-radius: 10px; }
.analytics-report-result .table-toolbar-right .btn { border-radius: 9px; }
.analytics-report-result .table-wrap { overflow: hidden; border: 1px solid #e3e7f0; border-radius: 14px; }
.analytics-report-result .data-table thead th { font-size: 12px; letter-spacing: .35px; }
.analytics-report-result .data-table tbody tr:hover { background: #f8faff; }
.analytics-report-result .table-footer { padding: 15px 2px 0; }

/* Birthday report */
.birthday-report-page { max-width: 1540px; }
.report-back-link { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 17px; padding: 8px 11px; border-radius: 9px; font-weight: 700; }
.report-back-link:hover { background: #eef2fb; }
.birthday-report-hero { display: flex; align-items: center; gap: 18px; padding: 25px 28px; border: 1px solid #e2e6f0; border-radius: 20px; background: linear-gradient(115deg, #fff 0%, #f8f6ff 62%, #f1f4ff 100%); box-shadow: 0 11px 30px rgba(30, 43, 84, .06); }
.birthday-report-hero-icon { display: grid; place-items: center; flex: 0 0 58px; height: 58px; border-radius: 17px; color: #fff; background: linear-gradient(135deg, #633769, #b53138); box-shadow: 0 10px 22px rgba(126, 44, 68, .2); }
.birthday-report-hero-icon svg { width: 27px; height: 27px; }
.birthday-report-hero h2 { margin: 1px 0 5px; color: #161f39; font-size: 24px; letter-spacing: -.35px; }
.birthday-report-hero p { margin: 0; color: #778198; }
.birthday-report-hero-badge { margin-left: auto; padding: 8px 12px; border: 1px solid #dddff0; border-radius: 999px; color: #4c4c83; background: rgba(255,255,255,.78); font-size: 12px; font-weight: 800; }
.birthday-report-card { margin-top: 20px; overflow: hidden; border: 1px solid #e1e6f0; border-radius: 20px; box-shadow: 0 12px 30px rgba(31, 44, 84, .055); }
.birthday-report-card-body { padding: 25px 27px; }
.birthday-report-card .subsection-title { margin-bottom: 16px; color: #263356; font-size: 13px; letter-spacing: .5px; }
.birthday-mode-picker { margin-bottom: 18px; padding: 6px; border: 1px solid #e3e7f1; border-radius: 13px; background: #f7f8fc; }
.birthday-mode-picker .radio-card { min-height: 46px; border: 0; border-radius: 9px; background: transparent; box-shadow: none; }
.birthday-mode-picker .radio-card.selected { background: #fff; box-shadow: 0 5px 14px rgba(31, 44, 84, .09); }
.birthday-filter-grid { padding: 20px; border: 1px solid #e5e9f2; border-radius: 15px; background: #fbfcfe; }
.birthday-filter-grid .field { margin-bottom: 0; }
.birthday-filter-grid .input { min-height: 44px; border-radius: 10px; background-color: #fff; }
.birthday-run-button { min-height: 44px; margin-top: 15px; padding-inline: 20px; border-radius: 11px; box-shadow: 0 8px 18px rgba(181, 48, 51, .2); }
.birthday-report-result { margin-top: 25px; padding-top: 22px; border-top: 1px solid #e6eaf2; }
.birthday-report-result .table-toolbar { margin-bottom: 12px; padding: 0 !important; }
.birthday-report-result .filter-input .input { min-width: 250px; border-radius: 10px; }
.birthday-report-result .table-toolbar-right .btn { border-radius: 9px; }
.birthday-report-result .table-wrap { overflow: hidden; border: 1px solid #e3e7f0; border-radius: 14px; }
.birthday-report-result .data-table thead th { font-size: 12px; letter-spacing: .35px; }
.birthday-report-result .data-table tbody tr:hover { background: #f8faff; }
.birthday-report-result .table-footer { padding: 15px 2px 0; }

/* Settings workspace */
.settings-page { max-width: 1540px; }
.settings-note { border-radius: 16px; border-left: 4px solid #3557b7; box-shadow: 0 8px 24px rgba(31, 47, 92, .05); }
.settings-banner { display: flex; align-items: center; gap: 18px; padding: 24px 28px; border: 1px solid #e1e6f2; border-radius: 20px; background: linear-gradient(115deg, #fff 0%, #f5f7ff 64%, #edf2ff 100%); box-shadow: 0 10px 28px rgba(31, 47, 92, .06); }
.settings-banner-icon { display: grid; place-items: center; flex: 0 0 52px; height: 52px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, #26377f, #4e57a5); font-size: 25px; box-shadow: 0 8px 18px rgba(45, 54, 130, .2); }
.settings-banner .page-eyebrow { display: block; margin-bottom: 4px; }
.settings-banner h2 { margin: 0; color: #18213b; font-size: 22px; letter-spacing: -.3px; }
.settings-banner p { margin: 5px 0 0; color: #77829a; }
.settings-workspace { margin-top: 20px; }
.settings-tabs { position: sticky; top: 12px; z-index: 5; display: flex; gap: 7px; overflow-x: auto; padding: 8px; border: 1px solid #e1e6f1; border-radius: 16px; background: rgba(255,255,255,.94); box-shadow: 0 8px 22px rgba(31, 47, 92, .06); backdrop-filter: blur(10px); }
.settings-tabs .tab { flex: 0 0 auto; border-radius: 10px; font-weight: 700; }
.settings-workspace .tab-panel { padding-top: 20px; }
.settings-workspace .tab-panel > .card { overflow: hidden; border: 1px solid #e2e7f1; border-radius: 19px; box-shadow: 0 10px 28px rgba(32, 44, 82, .055); }
.settings-workspace .tab-panel > .card + .card { margin-top: 18px; }
.settings-workspace .card-header { padding: 20px 24px; border-bottom: 1px solid #e9edf5; }
.settings-workspace .card-body { padding: 22px 24px; }
.settings-workspace .subsection-title { margin: 4px 0 14px; color: #29345a; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .45px; }
.settings-workspace .data-table thead th { font-size: 12px; letter-spacing: .35px; }
.settings-workspace .data-table tbody tr { transition: background .18s ease; }
.settings-workspace .data-table tbody tr:hover { background: #f8faff; }
.settings-workspace .input, .settings-workspace .select { border-radius: 10px; }
.settings-workspace .role-note { margin-bottom: 18px; border-radius: 13px; }
.settings-context-note { border: 1px solid #dbe5fb; background: linear-gradient(95deg, #f2f7ff, #fbfcff); box-shadow: none; }
.settings-workspace .card-header .btn-accent { min-height: 38px; padding-inline: 15px; border-radius: 10px; box-shadow: 0 7px 15px rgba(35,38,86,.22); }
.settings-workspace .card-pad { padding: 24px; }
.settings-taxonomy-form { border-top: 3px solid #3f56a7 !important; }
.settings-taxonomy-form .form-grid { padding: 18px; border: 1px solid #e5e9f3; border-radius: 14px; background: #fafbfe; }
.settings-taxonomy-tree { border-top: 3px solid #c18a2b !important; }
.settings-taxonomy-tree .timeline-v { margin: 4px 0 0; padding: 8px 10px; border-radius: 13px; background: #fafbfe; }
.settings-permissions-card { border-top: 3px solid #54a676 !important; }
.settings-permissions-card .radio-card-group { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.settings-permissions-card .radio-card { min-height: 50px; padding: 13px 14px; border-radius: 11px; background: #fbfcff; transition: transform .16s ease, border-color .16s ease, background .16s ease; }
.settings-permissions-card .radio-card:hover { transform: translateY(-1px); border-color: #b8c5e7; }
.settings-modal-box { overflow: hidden; border: 1px solid #dfe5f1; border-radius: 22px; box-shadow: 0 24px 64px rgba(22, 34, 72, .2); }
.settings-modal-box .modal-header { padding: 21px 24px; border-bottom: 1px solid #e8ecf4; background: linear-gradient(105deg, #f9faff, #eef2ff); }
.settings-modal-box .modal-header h3 { color: #19234a; font-size: 19px; }
.settings-modal-box .modal-body { padding: 24px; }
.settings-modal-box .field { margin-bottom: 18px; }
.settings-modal-box .field label { color: #4e5b78; font-weight: 700; }
.settings-modal-box .modal-actions { gap: 12px; padding-top: 4px; }
.settings-modal-box .modal-actions .btn { min-height: 42px; border-radius: 11px; font-weight: 800; }

@media (max-width: 860px) {
  .menu-toggle { display: flex; }

  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 50;
    width: min(var(--sidebar-w), 82vw);
    transform: translateX(-100%);
    transition: transform 0.22s ease;
    box-shadow: var(--shadow-lg);
  }
  .sidebar.open { transform: translateX(0); }

  .content { padding: 18px 16px 48px; }

  /* The topbar used to have a fixed height — fine for a one-line title, but pages
     like Dashboard add a TopbarTitleExtra button (date text) that has nowhere to go
     on a narrow screen and used to overflow the fixed box, overlapping the content
     below it. Letting it grow, and truncating the date text, keeps it on one row. */
  .topbar { height: auto; min-height: var(--topbar-h); padding: 10px 16px; gap: 10px; flex-wrap: wrap; }
  .topbar-title { min-width: 0; flex: 1 1 auto; }
  .topbar-title h1 { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .date-select { max-width: 100%; }
  .date-select-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .topbar-search { display: none; }
  .topbar-userchip { padding-left: 10px; }
  .topbar-actions { gap: 8px; }
  .topbar-btn-label { display: none; }
  .topbar-actions .btn { padding: 0; width: 42px; height: 42px; justify-content: center; }

  /* .notif-menu's fixed 340px width, anchored via `right:0` to .notif-wrap,
     pushes its left edge past the viewport's left side on narrow screens
     since .notif-wrap sits well right-of-center in the topbar — pin it to
     the viewport instead of the trigger so it can't run off-screen. */
  .notif-menu {
    position: fixed;
    top: calc(var(--topbar-h) + 8px);
    left: 16px;
    right: 16px;
    width: auto;
  }

  .stat-grid { grid-template-columns: 1fr; }
  .form-grid, .form-grid.cols-3 { grid-template-columns: 1fr; }
  .info-grid, .info-grid-2 { grid-template-columns: 1fr; }
  .account-select { grid-template-columns: 1fr; }
  .radio-card-group, .radio-card-group-2 { grid-template-columns: 1fr; }

  .table-toolbar { flex-direction: column; align-items: stretch; }
  .table-toolbar-left, .table-toolbar-right { justify-content: space-between; }

  .form-footer-bar {
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
    padding: 14px 16px;
  }
  .form-footer-bar > .muted { flex-basis: 100%; }
  .form-footer-bar > div:not(.muted) { flex-basis: 100%; flex-wrap: wrap; gap: 8px; }
  .form-footer-bar > div:not(.muted) .btn { flex: 1 1 auto; justify-content: center; }

  .profile-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 18px;
  }
  .profile-hero-actions { width: 100%; }
  .profile-hero-actions .btn { flex: 1; justify-content: center; }

  .page-head { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 640px) {
  .report-grid { grid-template-columns: 1fr; }
  .card-pad { padding: 16px; margin: 0; }
}

@media (max-width: 860px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
}

/* =========================================================
   2026 application refresh
   Shared visual layer only: content, fields and page data stay unchanged.
   ========================================================= */

:root {
  --bg: #f6f7fb;
  --surface-alt: #fafbfe;
  --border: #e8eaf2;
  --border-strong: #d9ddea;
  --text-primary: #151936;
  --text-secondary: #626982;
  --text-muted: #9299ae;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(24, 30, 61, .035), 0 5px 16px rgba(24, 30, 61, .035);
  --shadow-md: 0 12px 30px rgba(24, 30, 61, .07);
  --shadow-lg: 0 20px 42px rgba(24, 30, 61, .13);
  --sidebar-w: 238px;
  --topbar-h: 76px;
}

body { font-size: 14px; letter-spacing: -.006em; }

.sidebar {
  background: #20245d;
  border-right: 1px solid rgba(255,255,255,.06);
}
.sidebar-brand { min-height: 64px; padding: 15px 18px; }
.sidebar-brand img { width: 32px; height: 32px; border-radius: 9px; }
.sidebar-nav { padding: 10px 10px; }
.nav-group { margin-bottom: 12px; }
.nav-group-title { padding: 0 10px; margin-bottom: 5px; font-size: 9.5px; }
.nav-item { min-height: 34px; padding: 7px 10px; border-radius: 8px; margin-bottom: 1px; gap: 11px; font-size: 13px; }
.nav-item.active { background: rgba(255,255,255,.12); box-shadow: none; }
.sidebar-footer { padding: 10px; }

.topbar {
  padding: 0 32px;
  border-bottom-color: #eceef5;
  box-shadow: 0 1px 0 rgba(24,30,61,.02);
}
.topbar-title h1 { font-size: 20px; letter-spacing: -.02em; }
.topbar-title .breadcrumb { margin-top: 3px; font-size: 7px; }
.topbar-search { width: min(390px, 32vw); }
.topbar-search input {
  min-height: 42px;
  border-radius: 12px;
  background: #f8f9fc;
  border-color: #e4e7f0;
}
.topbar-search input:focus { box-shadow: 0 0 0 3px rgba(47,56,136,.10); }
.icon-btn { width: 42px; height: 42px; border-radius: 12px; border-color: #e4e7f0; }

.content { padding: 30px 25px 72px; }
.card, .stat-tile, .report-tile {
  border-color: #e7e9f1;
  box-shadow: var(--shadow-sm);
}
.card { border-radius: 18px; }
.card-pad { padding: 26px; margin: 0; }
.card-header { padding: 19px 24px; }
.card-header h3 { font-size: 16px; }

.page-head { margin-bottom: 24px; }
.page-head h2 { font-size: 25px; letter-spacing: -.025em; }
.page-head .muted { font-size: 14px; }
.page-head-actions { gap: 12px; }
.role-note {
  border-radius: 14px;
  padding: 15px 17px;
  font-size: 13px;
  line-height: 1.6;
  background: #eef5ff;
  border-color: #d6e6fb;
}

.field { margin-bottom: 20px; }
.field label { font-size: 10px; margin-bottom: 8px; color: #59617b; }
.input, select.input, textarea.input {
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 12px;
    border-color: #363983;
    background: #fff;
    font-size: 14px;
}
textarea.input { min-height: 104px; }
.input:hover, select.input:hover, textarea.input:hover { border-color: #c8cede; }
.input:focus, select.input:focus, textarea.input:focus {
  border-color: var(--navy-600);
  box-shadow: 0 0 0 4px rgba(47,56,136,.11);
}
select.input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23363983' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 15px;
}
select.input:disabled { cursor: not-allowed; opacity: .65; background-position: right 13px center; }
.field-hint { font-size: 12px; margin-top: 6px; }
.form-grid { gap: 20px 24px; }

.btn {
  min-height: 42px;
  border-radius: 999px;
  padding: 10px 19px;
  font-size: 13.5px;
  font-weight: 700;
}
.btn-primary { box-shadow: 0 6px 14px rgba(38,45,110,.18); }
.btn-accent { box-shadow: 0 6px 14px rgba(35,38,86,.22); }
.btn-outline { border-color: #dce0eb; background: var(--surface); }
.btn-icon { min-width: 38px; min-height: 38px; padding: 8px; }

.stat-grid { gap: 16px; margin-bottom: 26px; }
.stat-tile { min-height: 142px; padding: 19px 20px; border-radius: 16px; gap: 12px; }
.stat-icon { width: 44px; height: 44px; border-radius: 13px; }
.stat-value { font-size: 30px; letter-spacing: -.03em; }
.stat-label { font-size: 12.5px; }
.stat-spark { opacity: .92; }

.table-toolbar { padding: 18px 22px; background: #fff; border-radius: 18px 18px 0 0; }
.filter-input .input { min-height: 42px; }
.select-chip { min-height: 42px; border-radius: 11px; }
.data-table thead th { padding: 13px 22px; background: var(--surface-alt); color: #40449a; }
.data-table thead th .input {
  min-height: 33px;
  border: 1.5px solid #27265659 !important;
  background: #fff;
}
.data-table thead th .input:focus { border-color: var(--navy-500) !important; }
.data-table thead th .input::placeholder { color: var(--text-muted); }
.data-table tbody td { padding: 15px 22px; }
.data-table tbody tr:nth-child(even) { background: #fcfcfe; }
.data-table tbody tr:hover { background: #f5f7ff; }
#tariff-filter-bar .input, #tariff-filter-bar .modern-select-trigger,
#hourly-filter-bar .input, #hourly-filter-bar .modern-select-trigger { border-color: var(--border-strong); min-height:39px; border-radius:10px; padding:8px 14px; }
.cell-actions .icon-btn { width: 34px; height: 34px; border-radius: 10px; }
.table-footer { padding: 15px 22px; background: #fff; border-radius: 0 0 18px 18px; }
.page-btn { border-radius: 9px; }

.tabs { gap: 7px; padding: 5px; background: #f4f6fb; border: 1px solid #e5e8f1; border-radius: 13px; margin-bottom: 24px; }
.tab-btn { flex: 1; justify-content: center; padding: 10px 14px; border: 0; border-radius: 9px; }
.tab-btn.active { color: var(--navy-700); background: #fff; box-shadow: var(--shadow-sm); }

.profile-hero { border-radius: 20px; box-shadow: var(--shadow-md); }
.radio-card { border-radius: 12px; }
.radio-card.selected { border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(47,56,136,.09); }
.dropzone { border-radius: 12px; background: #fbfcff; }

@media (max-width: 860px) {
  .content { padding: 20px 16px 52px; }
  .topbar { padding: 10px 16px; }
  .topbar-search { display: none; }
  .card-pad { padding: 20px; }
  .page-head h2 { font-size: 22px; }
}

.employees-layout {
  display: grid; grid-template-columns: 1fr 0px; gap: 0; align-items: start;
  transition: grid-template-columns .25s ease, gap .25s ease;
  /* clip (not hidden/auto) avoids horizontal scrollbar flash during the column
     transition WITHOUT establishing a scroll container — overflow-x:hidden
     here forced overflow-y to an implicit "auto" too (the CSS overflow-module
     rule for a non-visible/visible axis pair), which broke the preview panel's
     position:sticky: it stuck to employees-layout's own (never-scrolling) box
     instead of tracking the page's real scroll. */
  overflow-x: clip; min-width: 0;
}
.employees-layout > .employee-directory, .employees-layout > .candidate-directory { min-width: 0; }
.employees-layout.preview-open { grid-template-columns: 1fr 320px; gap: 18px; }
@media (max-width: 1200px) { .employees-layout, .employees-layout.preview-open { grid-template-columns: 1fr; } }

.employee-preview-panel {
  background: var(--surface); border: 1px solid #2726565e; border-radius: 18px;
  padding: 20px; position: sticky; top: 18px; overflow: hidden; min-width: 0; box-sizing: border-box;
  opacity: 0; transform: translateX(16px); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.employees-layout.preview-open .employee-preview-panel { opacity: 1; transform: translateX(0); pointer-events: auto; }
.employee-preview-close {
  position: absolute; top: 14px; right: 14px; z-index: 1;
  display: flex; align-items: center; justify-content: center; width: 26px; height: 26px;
  border-radius: 50%; border: none; background: rgba(255,255,255,.25); color: #fff; cursor: pointer;
}
.employee-preview-close:hover { background: rgba(255,255,255,.4); }
.employee-preview-close svg { width: 14px; height: 14px; }
.employee-preview-panel [hidden] { display: none !important; }
.employee-preview-banner { height: 64px; margin: -20px -20px 0; background: linear-gradient(120deg, var(--navy-600), var(--red-600)); }
.employee-preview-avatar { display: flex; justify-content: center; margin-top: -34px; }
.employee-preview-avatar .avatar { border: 4px solid var(--surface); }
.employee-preview-name { margin-top: 12px; text-align: center; font-size: 17px; font-weight: 800; color: var(--text-primary); }
.employee-preview-role { text-align: center; font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
.employee-preview-list { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--border); }
.employee-preview-list > div { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; }
.employee-preview-list dt { font-size: 12px; color: var(--text-muted); }
.employee-preview-list dd { margin: 0; font-size: 12.5px; font-weight: 700; color: var(--text-primary); }
.employee-preview-link { width: 100%; justify-content: center; margin-top: 14px; }
.employee-directory tbody tr { cursor: pointer; }
.employee-directory tbody tr.is-selected td { background: #f4f6ff; }

/* Employee registry: dense operational workspace. */
.employee-directory {
  overflow: visible;
  border-radius: 0;
}
.card:has(.employee-popover:not([hidden])) {
  overflow: visible;
}
.directory-summary {
  position: sticky;
  top: 0;
  z-index: 20;
}
.employee-directory .directory-summary {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 22px 15px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(115deg, rgb(58, 63, 179) 0%, rgb(87, 84, 227) 55%, rgb(143, 120, 240) 100%) !important;
  color: #fff;
  border-radius: 3px;
}
.employee-directory .data-table { width: auto !important; min-width: 0 !important; table-layout: auto !important; }
.employee-directory .directory-summary-actions .btn { padding: 6px 12px; min-height: 24px; }
.directory-title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.directory-summary h2 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.directory-summary p { margin: 3px 0 0; color: rgba(255,255,255,.7); font-size: 12.5px; }
.directory-count {
  display: inline-flex; align-items: center; min-height: 25px;
  padding: 3px 9px; border-radius: 20px;
  background: #eef0fb; color: var(--navy-700); font-size: 11.5px; font-weight: 700;
}
.employee-directory .table-toolbar {
  padding: 15px 22px;
  border-bottom: 1px solid var(--border);
  background: #fbfcff;
}
.employee-directory .table-toolbar-left { gap: 9px; }
.employee-directory .filter-input { min-width: 250px; }
.employee-directory .select-chip { min-width: 162px; }
.employee-directory .employee-more-filter {
    min-height: 42px;
    border: 1px solid #363983;
    background: #fff;
}
.employee-directory .data-table tbody tr:hover td { background: #f4f6ff; }
.employee-directory .data-table tbody td { height: 74px; }
.employee-directory .table-footer { background: #fff; }
.employee-directory .directory-columns { min-height: 38px; }


.employee-popover {
  position: absolute;
  z-index: 100;
  top: 67px;
  right: 22px;
  width: 230px;
  padding: 10px;
  border: 1px solid #dfe3ee;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 16px 32px rgba(25, 33, 76, .16);
}
.employee-popover[hidden], .employee-advanced-filters[hidden] { display: none; }
.employee-popover-title { padding: 5px 6px 8px; color: var(--text-muted); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .055em; }
.employee-popover label { display: flex; align-items: center; gap: 9px; padding: 8px 6px; border-radius: 8px; color: var(--text); font-size: 13px; cursor: pointer; }
.employee-popover label:hover { background: #f4f6fc; }
.employee-popover input { width: 15px; height: 15px; accent-color: var(--navy-700); }
.employee-advanced-filters { display: flex; align-items: end; gap: 14px; padding: 16px 22px; border-bottom: 1px solid var(--border); background: #f7f9fd; }
.employee-filter-field { display: grid; gap: 6px; }
.employee-filter-field label { color: var(--text-muted); font-size: 11.5px; font-weight: 700; }
.employee-filter-field .select-chip { min-width: 190px; }
.employee-date-range { display: flex; align-items: center; gap: 7px; color: var(--text-muted); }
.employee-date-range .input { width: 145px; min-height: 40px; padding: 7px 9px; font-size: 12px; }
.employee-clear-filters { min-height: 40px; }
.employee-more-filter.is-active { color: var(--navy-700); border-color: var(--navy-600); background: #eef0fb; }

/* New employee: one focused identity form, with the workflow visible beside it. */
.employee-create-page { max-width: 1480px; }
.employee-create-head { margin-bottom: 20px; }
.page-eyebrow { display: block; margin-bottom: 7px; color: var(--navy-700); font-size: 10.5px; font-weight: 800; letter-spacing: .09em; }
.employee-create-note { padding: 17px 19px; border: 1px solid #cadcf6; border-radius: 15px; background: linear-gradient(100deg, #edf5ff, #f8fbff); box-shadow: none; }
.employee-create-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start; gap: 20px; }
.create-identity-card { min-height: 420px; padding: 0 !important; overflow: hidden; border-radius: 19px; }
.create-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 22px 25px 19px; border-bottom: 1px solid var(--border); background: linear-gradient(105deg, #fff, #fafbff); }
.create-card-title { display: flex; align-items: center; gap: 13px; }
.create-step-number { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; color: #fff; background: var(--navy-700); font-size: 12px; font-weight: 800; box-shadow: 0 5px 13px rgba(45, 53, 133, .22); }
.create-card-title .subsection-title { margin: 0; font-size: 16px; }
.create-card-title .subsection-title svg { width: 19px; height: 19px; }
.create-card-title p { margin: 4px 0 0; color: var(--text-muted); font-size: 12px; }
.create-required-note { flex: 0 0 auto; margin-top: 8px; padding: 6px 14px; border-radius: 999px; background: var(--surface-alt); color: var(--text-muted); font-size: 11.5px; }
.create-required-note span { color: var(--danger); font-size: 15px; font-weight: 800; }
.create-form-grid { padding: 24px 25px 15px; }
.create-form-grid .field { gap: 7px; }
.create-form-grid .field label { color: #4e5771; font-size: 12px; font-weight: 750; }
.create-form-grid .input { min-height: 45px; border-radius: 11px; background: #fcfcfe; border-color: #585b9d12; }
.create-form-grid .input:hover { border-color: #585b9d; }
.create-form-grid .input:focus { background: #fff; box-shadow: 0 0 0 3px rgba(49, 57, 143, .10); }
.create-form-grid .dropzone { min-height: 45px; border-radius: 11px; background: #fcfcfe; transition: border-color .2s, background .2s; }
.create-form-grid .dropzone:hover { border-color: var(--navy-600); background: #f4f6ff; }
.create-form-hint { margin: 0 25px 24px; padding: 11px 13px; border-left: 3px solid #8490dc; border-radius: 0 9px 9px 0; background: #f6f7fd; color: #69728a; font-size: 12px; line-height: 1.55; }
.create-process-card { padding: 21px; border-radius: 19px; box-shadow: 0 8px 24px rgba(21, 29, 68, .06); }
.create-process-header { display: flex; gap: 11px; padding-bottom: 17px; border-bottom: 1px solid var(--border); }
.create-process-icon { display: grid; flex: 0 0 auto; width: 37px; height: 37px; place-items: center; border-radius: 12px; color: #4f5bb1; background: #eef0fb; }
.create-process-icon svg { width: 20px; height: 20px; }
.create-process-header h3 { margin: 1px 0 3px; font-size: 15px; }
.create-process-header p { margin: 0; color: var(--text-muted); font-size: 11.5px; line-height: 1.4; }
.create-process-list { margin: 18px 0; padding: 0; list-style: none; }
.create-process-list li { position: relative; display: flex; gap: 11px; min-height: 64px; }
.create-process-list li:not(:last-child)::before { content: ""; position: absolute; top: 29px; left: 13px; height: 36px; border-left: 1px dashed #cfd5e7; }
.create-process-list li > span { display: grid; flex: 0 0 auto; width: 27px; height: 27px; place-items: center; border: 1px solid #d9deeb; border-radius: 50%; color: #8790a7; background: #fff; font-size: 11px; font-weight: 800; }
.create-process-list li.is-current > span { border-color: var(--navy-700); color: #fff; background: var(--navy-700); box-shadow: 0 4px 10px rgba(48, 55, 138, .2); }
.create-process-list b { display: block; margin: 3px 0 3px; color: var(--text); font-size: 12.5px; }
.create-process-list small { display: block; max-width: 210px; color: var(--text-muted); font-size: 11px; line-height: 1.35; }
.create-process-footnote { padding: 10px 11px; border-radius: 9px; color: #65708b; background: #f7f8fc; font-size: 11.5px; line-height: 1.4; }

/* Employee profile: a persistent identity header with a cleaner information workspace. */
.employee-detail-page { max-width: 1540px; }
.employee-profile-hero {
  position: relative;
  min-height: 176px;
  padding: 27px 29px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 21px;
  background: linear-gradient(112deg, #252967 0%, #343b8c 58%, #5853a2 100%);
  box-shadow: 0 16px 35px rgba(32, 39, 107, .18);
}
.employee-profile-hero::before,
.employee-profile-hero::after { content: ""; position: absolute; border: 1px solid rgba(255, 255, 255, .10); border-radius: 50%; pointer-events: none; }
.employee-profile-hero::before { width: 245px; height: 245px; right: -93px; top: -128px; }
.employee-profile-hero::after { width: 165px; height: 165px; right: 95px; bottom: -137px; }
.employee-profile-hero > * { position: relative; z-index: 1; }
.employee-profile-hero .avatar-lg { width: 84px; height: 84px; border: 4px solid rgba(255, 255, 255, .18); color: #fff; background: linear-gradient(145deg, #983e50, #542d74); font-size: 25px; box-shadow: 0 10px 22px rgba(0, 0, 0, .18); }
.employee-profile-hero .profile-hero-info h2 { margin-bottom: 11px; font-size: 25px; letter-spacing: -.035em; }
.employee-profile-hero .profile-hero-meta { gap: 8px 17px; }
.employee-profile-hero .profile-hero-meta > span:not(.badge) { color: rgba(255, 255, 255, .83); font-size: 12px; }
.employee-profile-hero .profile-hero-meta > span:not(.badge) svg { width: 15px; height: 15px; opacity: .82; }
.employee-profile-hero .profile-hero-meta .badge { margin-left: 2px; padding: 5px 10px; border: 1px solid rgba(95, 210, 145, .38); color: #d7f7e1; background: rgba(30, 121, 70, .27); }
.employee-profile-hero .profile-hero-actions { gap: 9px; }
.employee-profile-hero .profile-hero-actions .btn { min-height: 40px; border-radius: 11px; }
.employee-profile-hero .profile-hero-actions .btn-accent { box-shadow: 0 7px 16px rgba(35,38,86,.28); }

.employee-profile-tabs { margin-top: 20px; }
.employee-profile-tabs > .tabs { position: sticky; z-index: 5; top: 10px; display: flex; gap: 3px; margin: 0 0 18px; padding: 5px; overflow-x: auto; border: 1px solid #e2e5ef; border-radius: 14px; background: rgba(250, 251, 254, .94); box-shadow: 0 7px 18px rgba(28, 35, 78, .05); backdrop-filter: blur(10px); }
.employee-profile-tabs > .tabs .tab-btn { flex: 0 0 auto; padding: 10px 16px; font-size: 12.5px; border-radius: 10px; }
.employee-profile-tabs > .tabs .tab-btn.active { color: var(--navy-600); background: #e9f0ff; border-bottom-color: transparent; box-shadow: none; font-weight: 750; }
.employee-profile-tabs .tab-panel > .grid-2 { gap: 18px; }
.employee-profile-tabs .tab-panel .card.card-pad { border-radius: 17px; box-shadow: 0 7px 20px rgba(25, 34, 79, .055); }

.employee-profile-tabs .detail-section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.employee-profile-tabs .detail-section-head-left { display: flex; align-items: center; gap: 14px; }
.employee-profile-tabs .detail-section-head-icon {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #eef2fd; color: #49bfde91;
}
.employee-profile-tabs .detail-section-head-icon svg { width: 23px; height: 23px; }
.employee-profile-tabs .detail-section-head h3 { margin: 0; font-size: 14px; font-weight: 800; color: #1b2340; }
.employee-profile-tabs .detail-section-head p { margin: 3px 0 0; font-size: 12.5px; color: var(--text-muted); }

.employee-profile-tabs .subsection-title { display: flex; align-items: center; gap: 10px; padding-bottom: 13px; border-bottom: 1px solid #edf0f5; font-size: 15px; }
.employee-profile-tabs .subsection-title svg {
  width: 32px; height: 32px; padding: 7px; box-sizing: border-box;
  border-radius: 10px; background: #eef2fd; color: #49bfde91;
}
.employee-profile-tabs .info-grid { gap: 12px; }
.employee-profile-tabs .info-item {
  display: flex; align-items: center; gap: 12px;
  min-height: 74px; padding: 14px 16px;
  border: 1px solid #edf0fa; border-radius: 14px; background: #f7f9ff;
}
.employee-profile-tabs .info-item-icon {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #e7ecfb; color: #49bfde91;
}
.employee-profile-tabs .info-item-icon svg { width: 16px; height: 16px; }
.employee-profile-tabs .info-item.muted-item { background: #fafbfe; }
.employee-profile-tabs .info-label { color: #8b93a8; font-size: 10.5px; font-weight: 750; letter-spacing: .025em; text-transform: uppercase; }
.employee-profile-tabs .info-value { margin-top: 3px; color: #28304c; font-size: 13.5px; font-weight: 700; }
.employee-profile-tabs .timeline-v { margin-top: 18px; }
.employee-profile-tabs .leave-balance-card { border-radius: 13px; background: linear-gradient(120deg, #f5f6ff, #fbfcff); }

.employee-profile-tabs .detail-tile {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border: 1px solid #edf0fa; border-radius: 14px; background: #f7f9ff;
}
.employee-profile-tabs .detail-tile-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #e7ecfb; color: #49bfde91;
}
.employee-profile-tabs .detail-tile-icon svg { width: 19px; height: 19px; }
.employee-profile-tabs .detail-tile-body { flex: 1; min-width: 0; }
.employee-profile-tabs .detail-tile-title { font-size: 14px; font-weight: 750; color: #1b2340; }
.employee-profile-tabs .detail-tile-sub { margin-top: 3px; font-size: 12px; color: var(--text-muted); }
.employee-profile-tabs .detail-tile-tag { flex-shrink: 0; background: var(--surface); border: 1px solid var(--border); }

/* Candidate registry and its quick-view profile. */
.candidates-page { max-width: 1480px; }
.candidates-note { border-radius: 15px; border-color: #cadcf6; background: linear-gradient(100deg, #edf5ff, #f9fbff); box-shadow: none; }
.candidate-stat-grid .candidate-stat-tile { position: relative; min-height: 145px; padding: 21px 23px; overflow: hidden; border: 1px solid #e4e7f0; border-radius: 18px; box-shadow: 0 7px 20px rgba(24, 32, 73, .055); }
.candidate-stat-grid .candidate-stat-tile::after { content: ""; position: absolute; right: -35px; bottom: -45px; width: 94px; height: 94px; border-radius: 50%; background: rgba(49, 57, 143, .055); }
.candidate-stat-grid .candidate-stat-tile .stat-tile-top { margin-bottom: 17px; }
.candidate-stat-grid .candidate-stat-tile .stat-icon { width: 51px; height: 51px; border-radius: 15px; }
.candidate-stat-grid .candidate-stat-tile .stat-value { font-size: 30px; line-height: 1; letter-spacing: -.04em; }
.candidate-stat-grid .candidate-stat-tile .stat-label { margin-top: 8px; font-size: 13.5px; font-weight: 650; }
.candidate-stat-total { border-top: 3px solid #353b8f !important; color: #353b8f; }
.candidate-stat-interview { border-top: 3px solid #4d7fc5 !important; color: #4d7fc5; }
.candidate-stat-selected { border-top: 3px solid #1f8a6b !important; color: #1f8a6b; }
.candidate-stat-rejected { border-top: 3px solid #8a3b5c !important; color: #8a3b5c; }
.candidate-stat-grid .candidate-stat-tile.candidate-stat-total::after { background: color-mix(in srgb, #353b8f 12%, transparent); }
.candidate-stat-grid .candidate-stat-tile.candidate-stat-interview::after { background: color-mix(in srgb, #4d7fc5 12%, transparent); }
.candidate-stat-grid .candidate-stat-tile.candidate-stat-selected::after { background: color-mix(in srgb, #1f8a6b 12%, transparent); }
.candidate-stat-grid .candidate-stat-tile.candidate-stat-rejected::after { background: color-mix(in srgb, #8a3b5c 12%, transparent); }
.candidate-stat-total .stat-icon { background: color-mix(in srgb, #353b8f 18%, white); color: #353b8f; }
.candidate-stat-interview .stat-icon { background: color-mix(in srgb, #4d7fc5 18%, white); color: #4d7fc5; }
.candidate-stat-selected .stat-icon { background: color-mix(in srgb, #1f8a6b 18%, white); color: #1f8a6b; }
.candidate-stat-rejected .stat-icon { background: color-mix(in srgb, #8a3b5c 18%, white); color: #8a3b5c; }
.candidate-directory { overflow: hidden; border-radius: 0; }
/* Only 4 columns here (unlike Employees' wide registry) — shrink-to-content
   left most of the card empty, so this one fills the full card width instead. */
.candidate-directory .data-table { width: 100% !important; min-width: 0 !important; table-layout: auto !important; }
.candidate-directory-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 22px 15px; border-bottom: 1px solid var(--border); background: linear-gradient(115deg, rgb(58, 63, 179) 0%, rgb(87, 84, 227) 55%, rgb(143, 120, 240) 100%) !important; color: #fff; }
.candidate-directory-head h2 { margin: 0; font-size: 18px; letter-spacing: -.02em; color: #fff; }
.candidate-directory-head p, .candidate-directory-head .muted { margin: 4px 0 0; color: rgba(255,255,255,.7); font-size: 12.5px; }
.candidate-directory-head .directory-count { background: rgba(255,255,255,.14); color: #fff; }
.candidate-directory-head .btn { padding: 6px 12px; min-height: 24px; }
.candidate-directory .table-toolbar { padding: 15px 22px; border-bottom: 1px solid var(--border); background: #fbfcff; }
.candidate-directory .filter-input { min-width: 250px; }
.candidate-directory .select-chip { min-width: 190px; }
.candidate-directory .data-table thead th { padding: 13px 22px; }
.candidate-directory .data-table tbody td { height: 74px; padding: 14px 22px; }
.candidate-directory .data-table tbody tr:hover td { background: #f4f6ff; }
.candidate-directory .table-footer { padding: 15px 22px; }
.candidate-view-box { overflow: hidden; border-radius: 19px; }
.candidate-view-box .modal-header { align-items: center; padding: 19px 22px; background: linear-gradient(110deg, #f8f9ff, #fff); }
.candidate-view-heading { display: flex; align-items: center; gap: 11px; }
.candidate-view-heading > div > span { display: block; margin-bottom: 3px; color: var(--navy-700); font-size: 10.5px; font-weight: 800; letter-spacing: .075em; text-transform: uppercase; }
.candidate-view-heading h3 { margin: 0; font-size: 18px; }
.candidate-view-avatar { width: 43px; height: 43px; color: #fff; background: linear-gradient(145deg, #903b53, #4a337a); font-size: 14px; box-shadow: 0 5px 12px rgba(62, 43, 104, .2); }
.candidate-view-box .modal-body { padding: 21px 22px 22px; }
.candidate-view-status { display: flex; min-height: 43px; align-items: center; padding: 0 13px; margin-bottom: 17px; border: 1px solid #e7eaf2; border-radius: 11px; background: #fafbfe; }
.candidate-view-box .info-grid { overflow: hidden; border: 1px solid #edf0f5; border-radius: 12px; }
.candidate-view-box .info-item { min-height: 71px; padding: 13px 14px; border-right: 1px solid #edf0f5; border-bottom: 1px solid #edf0f5; }
.candidate-view-box .info-label { color: #8b93a8; font-size: 10.5px; font-weight: 750; letter-spacing: .025em; text-transform: uppercase; }
.candidate-view-box .info-value { margin-top: 6px; color: #28304c; font-size: 13px; font-weight: 650; }

/* Leave registry, leave form and quick-view record. */
.leaves-page, .leave-create-page { max-width: 1480px; }
.leaves-page-head, .leave-create-head { margin-bottom: 20px; }
.leave-stat-grid .leave-stat-tile { position: relative; min-height: 145px; padding: 21px 23px; overflow: hidden; border: 1px solid #e4e7f0; border-radius: 18px; box-shadow: 0 7px 20px rgba(24, 32, 73, .055); }
.leave-stat-grid .leave-stat-tile::after { content: ""; position: absolute; right: -35px; bottom: -45px; width: 94px; height: 94px; border-radius: 50%; background: rgba(49, 57, 143, .055); }
.leave-stat-grid .leave-stat-tile .stat-tile-top { margin-bottom: 17px; }
.leave-stat-grid .leave-stat-tile .stat-icon { width: 51px; height: 51px; border-radius: 15px; }
.leave-stat-grid .leave-stat-tile .stat-value { font-size: 30px; line-height: 1; letter-spacing: -.04em; }
.leave-stat-grid .leave-stat-tile .stat-label { margin-top: 8px; font-size: 13.5px; font-weight: 650; }
.leave-stat-current { border-top: 3px solid #c18a2b !important; color: #c18a2b; }
.leave-stat-month { border-top: 3px solid #353b8f !important; color: #353b8f; }
.leave-stat-pending { border-top: 3px solid #8a3b5c !important; color: #8a3b5c; }
.leave-stat-days { border-top: 3px solid #1f8a6b !important; color: #1f8a6b; }
.leave-stat-grid .leave-stat-tile.leave-stat-current::after { background: color-mix(in srgb, #c18a2b 12%, transparent); }
.leave-stat-grid .leave-stat-tile.leave-stat-month::after { background: color-mix(in srgb, #353b8f 12%, transparent); }
.leave-stat-grid .leave-stat-tile.leave-stat-pending::after { background: color-mix(in srgb, #8a3b5c 12%, transparent); }
.leave-stat-grid .leave-stat-tile.leave-stat-days::after { background: color-mix(in srgb, #1f8a6b 12%, transparent); }
.leave-stat-current .stat-icon { background: color-mix(in srgb, #c18a2b 18%, white); color: #c18a2b; }
.leave-stat-month .stat-icon { background: color-mix(in srgb, #353b8f 18%, white); color: #353b8f; }
.leave-stat-pending .stat-icon { background: color-mix(in srgb, #8a3b5c 18%, white); color: #8a3b5c; }
.leave-stat-days .stat-icon { background: color-mix(in srgb, #1f8a6b 18%, white); color: #1f8a6b; }
.leave-directory { overflow: hidden; border-radius: 18px; }
.leave-directory-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 22px 15px; border-bottom: 1px solid var(--border); background: #fff; }
.leave-directory-head h2 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.leave-directory-head p { margin: 4px 0 0; color: var(--text-muted); font-size: 12.5px; }
.leave-directory .table-toolbar { padding: 15px 22px; border-bottom: 1px solid var(--border); background: #fbfcff; }
.leave-directory .filter-input { min-width: 250px; }
.leave-directory .select-chip { min-width: 160px; }
.leave-directory .data-table thead th { padding: 13px 22px; }
.leave-directory .data-table tbody td { height: 74px; padding: 14px 22px; }
.leave-directory .data-table tbody tr:hover td { background: #f4f6ff; }
.leave-directory .table-footer { padding: 15px 22px; }
.leave-view-box { overflow: hidden; border-radius: 19px; }
.leave-view-box .modal-header { align-items: center; padding: 19px 22px; background: linear-gradient(110deg, #fffaf0, #fff); }
.leave-view-heading { display: flex; align-items: center; gap: 11px; }
.leave-view-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: #bd7d1d; background: #fff2d7; }
.leave-view-icon svg { width: 21px; height: 21px; }
.leave-view-heading > div > span { display: block; margin-bottom: 3px; color: #aa7426; font-size: 10.5px; font-weight: 800; letter-spacing: .075em; text-transform: uppercase; }
.leave-view-heading h3 { margin: 0; font-size: 18px; }
.leave-view-box .modal-body { padding: 21px 22px 22px; }
.leave-view-box .info-grid { overflow: hidden; border: 1px solid #edf0f5; border-radius: 12px; }
.leave-view-box .info-item { min-height: 72px; padding: 13px 14px; border-right: 1px solid #edf0f5; border-bottom: 1px solid #edf0f5; }
.leave-view-box .info-label { color: #8b93a8; font-size: 10.5px; font-weight: 750; letter-spacing: .025em; text-transform: uppercase; }
.leave-view-box .info-value { margin-top: 6px; color: #28304c; font-size: 13px; font-weight: 650; }
.leave-create-layout { align-items: start; gap: 20px; }
.leave-create-page .card.card-pad { border-radius: 17px; box-shadow: 0 7px 20px rgba(25, 34, 79, .055); }
.leave-create-page .subsection-title { padding-bottom: 13px; border-bottom: 1px solid #edf0f5; font-size: 15px; }
.leave-create-page .input { min-height: 44px; border-radius: 11px; background: #fcfcfe; }
.leave-create-page .input:focus { background: #fff; box-shadow: 0 0 0 3px rgba(49, 57, 143, .10); }
.leave-create-page .dropzone { border-radius: 12px; background: #fcfcfe; }
.leave-create-page .dropzone:hover { border-color: var(--navy-600); background: #f4f6ff; }
.leave-create-page .timeline-v { margin-top: 18px; }
.leave-create-page .form-footer-bar { position: sticky; z-index: 4; bottom: 14px; margin-top: 20px; border: 1px solid #e0e4ef; border-radius: 15px; box-shadow: 0 12px 24px rgba(27, 34, 74, .12); }

/* Deliberate breaks between the leave form stages. */
.leave-create-banner { display: flex; align-items: center; gap: 12px; padding: 14px 17px; margin: 0 0 22px; border: 1px solid #d7e1f6; border-radius: 15px; color: #38527d; background: linear-gradient(100deg, #eff6ff, #fafcff); }
.leave-create-banner-icon { display: grid; flex: 0 0 auto; width: 39px; height: 39px; place-items: center; border-radius: 12px; color: #456db0; background: #fff; box-shadow: 0 4px 10px rgba(45, 79, 140, .10); }
.leave-create-banner-icon svg { width: 20px; height: 20px; }
.leave-create-banner b { display: block; color: #314a76; font-size: 13px; }
.leave-create-banner span:not(.leave-create-banner-icon):not(.leave-create-banner-step) { display: block; margin-top: 3px; color: #71809b; font-size: 11.5px; }
.leave-create-banner-step { margin-left: auto; padding: 5px 9px; border-radius: 20px; color: var(--navy-700); background: #e4e8fb; font-size: 11.5px; font-weight: 800; }
.leave-create-layout > div { display: grid; gap: 22px; }
.leave-create-layout .mb-18 { margin-bottom: 0 !important; }
.leave-create-page .leave-form-card, .leave-create-page .leave-process-card { position: relative; overflow: hidden; border: 1px solid #e3e7f0; box-shadow: 0 10px 26px rgba(25, 34, 79, .065); }
.leave-create-page .leave-form-card::before, .leave-create-page .leave-process-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.leave-create-page .leave-form-card-employee::before { background: #3d489c; }
.leave-create-page .leave-form-card-dates::before { background: #cc9434; }
.leave-create-page .leave-form-card-document::before { background: #5eab78; }
.leave-create-page .leave-process-card::before { background: #5878bd; }
.leave-create-page .leave-form-card { padding: 25px !important; }
.leave-create-page .leave-form-card .subsection-title, .leave-create-page .leave-process-card .subsection-title { display: flex; align-items: center; min-height: 29px; margin-bottom: 19px; }
.leave-create-page .leave-form-card .subsection-title svg { padding: 6px; width: 31px; height: 31px; border-radius: 9px; color: var(--navy-700); background: #eef0fb; }
.leave-create-page .leave-form-card-dates .subsection-title svg { color: #b87d1c; background: #fff2db; }
.leave-create-page .leave-form-card-document .subsection-title svg { color: #41875a; background: #eaf7ef; }
.leave-create-page .leave-process-card { padding: 25px !important; background: linear-gradient(155deg, #fff, #f9faff); }
.leave-create-page .leave-warning-note { margin: 0; border-radius: 15px; box-shadow: 0 7px 18px rgba(80, 61, 24, .06); }

/* Order registry, order workflow and order quick-view. */
.orders-page, .order-create-page { max-width: 1480px; }
.orders-page-head, .order-create-head { margin-bottom: 20px; }
.order-stat-grid .order-stat-tile { position: relative; min-height: 145px; padding: 21px 23px; overflow: hidden; border: 1px solid #e4e7f0; border-radius: 18px; box-shadow: 0 7px 20px rgba(24,32,73,.055); }
.order-stat-grid .order-stat-tile::after { content:""; position:absolute; width:94px; height:94px; right:-35px; bottom:-45px; border-radius:50%; background:rgba(49,57,143,.055); }
.order-stat-grid .order-stat-tile .stat-tile-top { margin-bottom:17px; }
.order-stat-grid .order-stat-tile .stat-icon { width:51px; height:51px; border-radius:15px; }
.order-stat-grid .order-stat-tile .stat-value { font-size:30px; line-height:1; letter-spacing:-.04em; }
.order-stat-grid .order-stat-tile .stat-label { margin-top:8px; font-size:13.5px; font-weight:650; }
.order-stat-signed { border-top:3px solid #1f8a6b !important; color:#1f8a6b; }.order-stat-pending { border-top:3px solid #c18a2b !important; color:#c18a2b; }.order-stat-leave { border-top:3px solid #4d7fc5 !important; color:#4d7fc5; }.order-stat-total { border-top:3px solid #353b8f !important; color:#353b8f; }
.order-stat-grid .order-stat-tile.order-stat-signed::after { background: color-mix(in srgb, #1f8a6b 12%, transparent); }
.order-stat-grid .order-stat-tile.order-stat-pending::after { background: color-mix(in srgb, #c18a2b 12%, transparent); }
.order-stat-grid .order-stat-tile.order-stat-leave::after { background: color-mix(in srgb, #4d7fc5 12%, transparent); }
.order-stat-grid .order-stat-tile.order-stat-total::after { background: color-mix(in srgb, #353b8f 12%, transparent); }
.order-stat-signed .stat-icon { background: color-mix(in srgb, #1f8a6b 18%, white); color: #1f8a6b; }
.order-stat-pending .stat-icon { background: color-mix(in srgb, #c18a2b 18%, white); color: #c18a2b; }
.order-stat-leave .stat-icon { background: color-mix(in srgb, #4d7fc5 18%, white); color: #4d7fc5; }
.order-stat-total .stat-icon { background: color-mix(in srgb, #353b8f 18%, white); color: #353b8f; }
.order-directory { overflow:hidden; border-radius:0; }
.order-directory-head { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:19px 22px 15px; border-bottom:1px solid var(--border); background:#fff; }
.order-directory-head h2 { margin:0; font-size:18px; letter-spacing:-.02em; }.order-directory-head p { margin:4px 0 0; color:var(--text-muted); font-size:12.5px; }
.order-directory .table-toolbar { padding:15px 22px; border-bottom:1px solid var(--border); background:#fbfcff; }.order-directory .filter-input { min-width:250px; }.order-directory .select-chip { min-width:160px; }
.order-directory .data-table thead th { padding:13px 22px; }.order-directory .data-table tbody td { height:74px; padding:14px 22px; }.order-directory .data-table tbody tr:hover td { background:#f4f6ff; }.order-directory .table-footer { padding:15px 22px; }
.order-view-box { overflow:hidden; border-radius:19px; max-height:88vh; display:flex; flex-direction:column; }.order-view-box .modal-header { align-items:center; padding:19px 22px; background:linear-gradient(110deg,#f8f9ff,#fff); flex:0 0 auto; }.order-view-heading { display:flex; align-items:center; gap:11px; min-width:0; }.order-view-heading h3 { overflow-wrap:anywhere; }.order-view-icon { display:grid; width:42px; height:42px; place-items:center; border-radius:13px; color:var(--navy-700); background:#eef0fb; flex:0 0 auto; }.order-view-icon svg { width:21px; height:21px; }.order-view-heading > div > span { display:block; margin-bottom:3px; color:var(--navy-700); font-size:10.5px; font-weight:800; letter-spacing:.075em; text-transform:uppercase; }.order-view-heading h3 { margin:0; font-size:18px; }.order-view-box .modal-body { padding:21px 22px 22px; overflow-y:auto; flex:1; min-height:0; }.order-view-box .info-grid { overflow:hidden; border:1px solid #edf0f5; border-radius:12px; }.order-view-box .info-item { min-height:72px; padding:13px 14px; border-right:1px solid #edf0f5; border-bottom:1px solid #edf0f5; overflow-wrap:anywhere; }.order-view-box .info-label { color:#8b93a8; font-size:10.5px; font-weight:750; letter-spacing:.025em; text-transform:uppercase; }.order-view-box .info-value { margin-top:6px; color:#28304c; font-size:13px; font-weight:650; overflow-wrap:anywhere; }
@media (max-width: 640px) {
  .order-view-box { max-height:94vh; }
  .order-view-box .info-grid-2 { grid-template-columns:1fr !important; }
  .order-view-box .info-item { border-right:none; }
}
.order-create-banner { display:flex; align-items:center; gap:12px; padding:14px 17px; margin:0 0 22px; border:1px solid #d7e1f6; border-radius:15px; color:#38527d; background:linear-gradient(100deg,#eff6ff,#fafcff); }.order-create-banner-icon { display:grid; flex:0 0 auto; width:39px; height:39px; place-items:center; border-radius:12px; color:#4b5aa8; background:#fff; box-shadow:0 4px 10px rgba(45,79,140,.10); }.order-create-banner-icon svg { width:20px; height:20px; }.order-create-banner b { display:block; color:#35468b; font-size:13px; }.order-create-banner span:not(.order-create-banner-icon):not(.order-create-banner-step) { display:block; margin-top:3px; color:#71809b; font-size:11.5px; }.order-create-banner-step { margin-left:auto; padding:5px 9px; border-radius:20px; color:var(--navy-700); background:#e4e8fb; font-size:11.5px; font-weight:800; }
.order-create-layout { align-items:start; gap:20px; }.order-create-layout > div { display:grid; gap:22px; }.order-create-layout .mb-18 { margin-bottom:0 !important; }.order-create-page .order-form-card, .order-create-page .order-process-card { position:relative; overflow:hidden; border:1px solid #e3e7f0; border-radius:17px; box-shadow:0 10px 26px rgba(25,34,79,.065); }.order-create-page .order-form-card::before, .order-create-page .order-process-card::before { content:""; position:absolute; top:0; left:0; right:0; height:3px; }.order-form-card-taxonomy::before { background:#3d489c; }.order-form-card-employee::before { background:#5eab78; }.order-form-card-hiring::before { background:#c79537; }.order-form-card-details::before { background:#5778bd; }.order-process-card::before { background:#7657ad; }.order-create-page .order-form-card { padding:25px !important; }.order-create-page .order-form-card .subsection-title, .order-create-page .order-process-card .subsection-title { min-height:29px; margin-bottom:19px; padding-bottom:13px; border-bottom:1px solid #edf0f5; font-size:15px; }.order-create-page .order-form-card .subsection-title svg { padding:6px; width:31px; height:31px; border-radius:9px; color:var(--navy-700); background:#eef0fb; }.order-create-page .order-form-card-employee .subsection-title svg { color:#41875a; background:#eaf7ef; }.order-create-page .order-form-card-hiring .subsection-title svg { color:#b87d1c; background:#fff2db; }.order-create-page .order-form-card-details .subsection-title svg { color:#456db0; background:#edf4ff; }.order-create-page .input { min-height:44px; border-radius:11px; background:#fcfcfe; }.order-create-page .input:focus { background:#fff; box-shadow:0 0 0 3px rgba(49,57,143,.10); }.order-create-page .dropzone { border-radius:12px; background:#fcfcfe; }.order-create-page .order-process-card { padding:25px !important; background:linear-gradient(155deg,#fff,#f9faff); }.order-create-page .order-warning-note { margin:0; border-radius:15px; box-shadow:0 7px 18px rgba(80,61,24,.06); }.order-create-page .form-footer-bar { position:sticky; z-index:4; bottom:14px; margin-top:20px; border:1px solid #e0e4ef; border-radius:15px; box-shadow:0 12px 24px rgba(27,34,74,.12); }

@media (max-width: 860px) {
  .employee-directory .directory-summary { align-items: flex-start; flex-direction: column; }
  .employee-directory .directory-columns { width: 100%; }
  .employee-directory .filter-input, .employee-directory .select-chip { width: 100%; min-width: 0; }
  .employee-directory .employee-more-filter { width: 100%; }
  .employee-advanced-filters { align-items: stretch; flex-direction: column; }
  .employee-filter-field .select-chip, .employee-date-range .input { width: 100%; }
  .employee-date-range { display: grid; grid-template-columns: 1fr auto 1fr; }
  .employee-popover { right: 16px; left: 16px; width: auto; }
  .employee-create-layout { grid-template-columns: 1fr; }
  .create-process-card { order: -1; }
  .create-card-header { align-items: flex-start; flex-direction: column; }
  .create-required-note { margin-top: 0; }
  .create-form-grid { padding: 20px 18px 12px; }
  .create-form-hint { margin: 0 18px 20px; }
  .employee-profile-hero { align-items: flex-start; min-height: auto; padding: 22px; }
  .employee-profile-hero .profile-hero-actions { width: 100%; margin-top: 18px; }
  .employee-profile-hero .profile-hero-actions .btn { flex: 1; justify-content: center; }
  .employee-profile-tabs > .tabs { top: 6px; }
  .candidate-directory-head { align-items: flex-start; flex-direction: column; }
  .candidate-directory .filter-input, .candidate-directory .select-chip { width: 100%; min-width: 0; }
  .leave-directory-head { align-items: flex-start; flex-direction: column; }
  .leave-directory .filter-input, .leave-directory .select-chip { width: 100%; min-width: 0; }
  .leave-create-page .form-footer-bar { position: static; }
  .leave-create-banner { align-items: flex-start; }
  .leave-create-banner-step { margin-left: 0; }
  .order-directory-head { align-items:flex-start; flex-direction:column; }.order-directory .filter-input, .order-directory .select-chip { width:100%; min-width:0; }.order-create-banner { align-items:flex-start; }.order-create-banner-step { margin-left:0; }.order-create-page .form-footer-bar { position:static; }
}

/* =========================================================
   Portal profile v4 (single-page hash-nav employee cabinet)
   ========================================================= */
body.employee-profile-v4-page {
  background: #f6f7fb;
  color: #18213d;
}
body.employee-profile-v4-page .app-shell { display: flex; align-items: flex-start; min-height: 100vh; }
body.employee-profile-v4-page .sidebar {
  width: 218px;
  border-right: 1px solid #e7e9f2;
  background: #fff;
  box-shadow: 4px 0 18px rgba(26, 36, 78, .025);
}
body.employee-profile-v4-page .sidebar-brand { min-height: 82px; padding: 20px 22px; border-bottom: 1px solid #eef0f5; }
body.employee-profile-v4-page .sidebar-brand img { width: 34px; height: 34px; }
body.employee-profile-v4-page .sidebar-brand-text { color: #1f2948; font-size: 14px; }
body.employee-profile-v4-page .sidebar-brand-text span { display: none; }
body.employee-profile-v4-page .profile-v4-nav { padding: 18px 12px; }
body.employee-profile-v4-page .profile-v4-nav .nav-group { gap: 7px; }
body.employee-profile-v4-page .profile-v4-nav .nav-item {
  min-height: 46px;
  padding: 0 13px;
  border-radius: 10px;
  color: #4f5973;
  font-size: 12.5px;
  font-weight: 650;
}
body.employee-profile-v4-page .profile-v4-nav .nav-item svg { width: 18px; height: 18px; }
body.employee-profile-v4-page .profile-v4-nav .nav-item:hover { color: #38409a; background: #f5f6fd; }
body.employee-profile-v4-page .profile-v4-nav .nav-item.active {
  color: #4443c6;
  background: #f0efff;
  box-shadow: inset 3px 0 #6560df;
}
body.employee-profile-v4-page .sidebar-footer { display: grid; gap: 4px; padding: 14px 12px 18px; border-top: 1px solid #edf0f5; }
body.employee-profile-v4-page .profile-v4-settings,
body.employee-profile-v4-page .profile-v4-logout {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border-radius: 9px;
  color: #59627a;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}
body.employee-profile-v4-page .profile-v4-settings:hover { background: #f5f6fb; }
body.employee-profile-v4-page .profile-v4-settings svg,
body.employee-profile-v4-page .profile-v4-logout svg { width: 17px; height: 17px; }
body.employee-profile-v4-page .profile-v4-logout { color: #bc3547; }
body.employee-profile-v4-page .profile-v4-logout:hover { background: #fff1f3; }

body.employee-profile-v4-page .main { flex: 1; min-width: 0; margin-left: 0; }
body.employee-profile-v4-page .topbar {
  min-height: 68px;
  padding: 10px 30px;
  border-bottom: 1px solid #e6e9f1;
  background: rgba(255,255,255,.95);
}
body.employee-profile-v4-page .topbar-title h1 { color: #17203d; font-size: 21px; letter-spacing: -.025em; }
body.employee-profile-v4-page .topbar-title .breadcrumb { margin-top: 5px; font-size: 11px; }
body.employee-profile-v4-page .profile-v4-top-actions { gap: 12px; }
body.employee-profile-v4-page .profile-v4-request-button { min-height: 40px; padding: 0 15px; border-radius: 10px; font-size: 11.5px; }
body.employee-profile-v4-page .profile-v4-request-button svg { color: #5856d8; }
body.employee-profile-v4-page .profile-v4-notification {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #e2e5ed;
  border-radius: 50%;
  color: #4d5672;
  background: #fff;
  cursor: pointer;
}
body.employee-profile-v4-page .profile-v4-notification svg { width: 18px; height: 18px; }
body.employee-profile-v4-page .profile-v4-notification > span {
  position: absolute;
  top: -4px;
  right: -3px;
  display: grid;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: #bd3447;
  font-size: 8px;
  font-weight: 850;
}
body.employee-profile-v4-page .profile-v4-top-avatar { width: 40px; height: 40px; border: 2px solid #fff; box-shadow: 0 3px 10px rgba(25,34,75,.12); }

.profile-dashboard-v4 {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 16px 30px 38px;
}
.profile-legacy-hidden { display: none !important; }
.profile-v4-panel { display: none; animation: profileV4In .22s ease; }
.profile-v4-panel.active { display: block; }
@keyframes profileV4In { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.profile-v4-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.profile-v4-stat {
  position: relative;
  display: flex;
  min-height: 142px;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 20px;
  overflow: hidden;
  border: 1px solid #e4e7ef;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(29, 38, 81, .045);
}
.profile-v4-stat::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -42px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: currentColor;
  opacity: .035;
}
.profile-v4-stat-icon {
  display: grid;
  width: 47px;
  height: 47px;
  flex: 0 0 47px;
  place-items: center;
  border-radius: 13px;
}
.profile-v4-stat-icon svg { width: 22px; height: 22px; }
.profile-v4-stat > div { min-width: 0; padding-top: 2px; }
.profile-v4-stat small { display: block; color: #838da3; font-size: 9.5px; font-weight: 800; letter-spacing: .055em; }
.profile-v4-stat strong { display: block; margin-top: 10px; color: #17203c; font-size: 18px; line-height: 1.1; }
.profile-v4-stat p { margin: 18px 0 0; color: #8a93a6; font-size: 10px; line-height: 1.35; }
.profile-v4-stat.stat-blue { color: #5550dc; }
.profile-v4-stat.stat-blue .profile-v4-stat-icon { color: #5550dc; background: #efefff; }
.profile-v4-stat.stat-red { color: #d04b59; }
.profile-v4-stat.stat-red .profile-v4-stat-icon { color: #d04b59; background: #fff0f2; }
.profile-v4-stat.stat-gold { color: #d69a28; }
.profile-v4-stat.stat-gold .profile-v4-stat-icon { color: #d69a28; background: #fff6df; }
.profile-v4-stat.stat-green { color: #55a46e; }
.profile-v4-stat.stat-gold strong { margin-top: 7px; }
.profile-v4-stat.stat-gold p { margin-top: 17px; }
.profile-v4-ring {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  place-content: center;
  border-radius: 50%;
  color: #42975f;
  background: radial-gradient(circle at center, #fff 58%, transparent 60%), conic-gradient(#5bb578 0 47%, #e9f0eb 47% 100%);
  text-align: center;
}
.profile-v4-ring b { font-size: 16px; line-height: 1; }
.profile-v4-ring em { margin-top: 2px; font-size: 8px; font-style: normal; font-weight: 750; }

.profile-v4-primary-grid,
.profile-v4-secondary-grid { display: grid; grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr); gap: 20px; }
.profile-v4-secondary-grid { margin-top: 20px; }
.profile-v4-card {
  border: 2px solid #e3e6ee;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 9px 26px rgba(29, 38, 81, .05);
}
.profile-v4-person-card { padding: 25px 27px 26px; }
.profile-v4-person-head { display: flex; align-items: center; gap: 20px; padding-bottom: 23px; border-bottom: 1px solid #edf0f4; }
.profile-v4-main-avatar { width: 104px; height: 104px; flex: 0 0 104px; border: 5px solid #f0f2f7; box-shadow: 0 8px 20px rgba(29,38,81,.13); }
.profile-v4-main-avatar::after {
  content: "";
  position: absolute;
  z-index: 3;
      right: 7px;
    bottom: 12px;
  width: 15px;
  height: 15px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #58ad72;
}
.profile-v4-person-title h2 { margin: 0 0 8px; color: #19223e; font-size: 23px; letter-spacing: -.025em; }
.profile-v4-code { display: inline-flex; padding: 5px 9px; border-radius: 6px; color: #5550d5; background: #efefff; font-size: 10px; font-weight: 800; }
.profile-v4-jobline { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 13px; color: #56617b; font-size: 11px; }
.profile-v4-section-title { margin: 22px 0 15px; color: #283250; font-size: 10.5px; font-weight: 850; letter-spacing: .055em; }
.profile-v4-personal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
.profile-v4-info { display: flex; min-height: 72px; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 11px; background: #fbfbfd; }
.profile-v4-info-icon,
.profile-v4-row-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 10px;
  color: #5d59d7;
  background: #f0efff;
  font-size: 15px;
  font-weight: 800;
}
.profile-v4-info small { display: block; margin-bottom: 5px; color: #8a93a7; font-size: 9.5px; }
.profile-v4-info strong { display: block; color: #303a54; font-size: 12px; line-height: 1.35; }

.profile-v4-activity-card { overflow: hidden; }
.profile-v4-card-head { display: flex; min-height: 62px; align-items: center; justify-content: space-between; gap: 15px; padding: 0 21px; border-bottom: 1px solid #e9ecf2; }
.profile-v4-card-head h3 { margin: 0; color: #293350; font-size: 10.5px; font-weight: 850; letter-spacing: .05em; }
.profile-v4-card-head > a { color: #5550d4; font-size: 10px; font-weight: 800; text-decoration: none; }
.profile-v4-activity-list { padding: 0 21px; }
.profile-v4-activity {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  min-height: 69px;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid #edf0f4;
  color: inherit;
  text-decoration: none;
}
.profile-v4-activity > i { width: 8px; height: 8px; border-radius: 50%; }
.profile-v4-activity > i.pending { background: #e4aa35; box-shadow: 0 0 0 6px #fff5dc; }
.profile-v4-activity > i.approved { background: #57a873; box-shadow: 0 0 0 6px #eaf7ee; }
.profile-v4-activity > i.completed { background: #635edc; box-shadow: 0 0 0 6px #efefff; }
.profile-v4-activity > i.rejected { background: #ca5360; box-shadow: 0 0 0 6px #fff0f2; }
.profile-v4-activity b { display: block; color: #2d3650; font-size: 12px; }
.profile-v4-activity small { display: block; margin-top: 5px; color: #939bad; font-size: 9px; }
.profile-v4-activity .badge { padding: 5px 8px; font-size: 9px; }
.profile-v4-more { display: flex; min-height: 45px; align-items: center; justify-content: center; gap: 12px; margin: 11px 20px 17px; border: 1px solid #e2e6ef; border-radius: 9px; color: #49536c; background: #fafbfc; font-size: 10px; font-weight: 750; text-decoration: none; }
.profile-v4-more:hover { border-color: #cbcfee; color: #4d49c4; background: #f6f6ff; }

.profile-v4-detail-card { overflow: hidden; }
.profile-v4-detail-list { padding: 0 18px 16px; }
.profile-v4-detail-list > div { display: grid; grid-template-columns: 42px minmax(0, 1fr); min-height: 72px; align-items: center; gap: 10px; border-bottom: 1px solid #edf0f4; }
.profile-v4-detail-list > div:last-child { border-bottom: 0; }
.profile-v4-detail-list p { margin: 0; }
.profile-v4-detail-list small { display: block; color: #8c95a7; font-size: 9.5px; }
.profile-v4-detail-list b { display: block; margin-top: 5px; color: #323c56; font-size: 12px; }
.profile-v4-detail-list a { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 8px; color: #59637c; text-decoration: none; }
.profile-v4-detail-list a:hover { color: #514dd1; background: #f0efff; }
.profile-v4-extra-list { margin: 0; padding: 0 18px 18px; }
.profile-v4-extra-list > div { display: grid; grid-template-columns: .8fr 1.2fr; min-height: 61px; align-items: center; border-bottom: 1px solid #edf0f4; }
.profile-v4-extra-list > div:last-child { border-bottom: 0; }
.profile-v4-extra-list dt { color: #8a93a6; font-size: 11px; }
.profile-v4-extra-list dd { margin: 0; color: #303a54; font-size: 10.5px; font-weight: 750; }

/* Shared action-button standard for the employee portal. */
body.employee-profile-v4-page .content .btn,
body.employee-profile-v4-page .profile-v4-top-actions .btn,
.profile-v4-action-btn {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}
body.employee-profile-v4-page .content .btn-sm,
.profile-v4-action-btn.btn-sm { min-height: 36px; padding: 0 13px; font-size: 10.5px; }
body.employee-profile-v4-page .content .btn svg,
body.employee-profile-v4-page .profile-v4-top-actions .btn svg,
.profile-v4-action-btn svg { width: 16px; height: 16px; flex: 0 0 16px; }
body.employee-profile-v4-page .content .btn:hover,
body.employee-profile-v4-page .profile-v4-top-actions .btn:hover,
.profile-v4-action-btn:hover { transform: translateY(-1px); }
body.employee-profile-v4-page .content .btn:focus-visible,
body.employee-profile-v4-page .profile-v4-top-actions .btn:focus-visible,
.profile-v4-action-btn:focus-visible { outline: 3px solid rgba(91, 86, 214, .18); outline-offset: 2px; }
.profile-v4-action-btn.btn-outline,
.profile-v4-action-btn.btn-outline:link,
.profile-v4-action-btn.btn-outline:visited,
.profile-v4-action-btn.btn-outline:hover,
.profile-v4-action-btn.btn-outline:focus,
.profile-v4-action-btn.btn-outline:active,
.profile-v4-card-head > .profile-v4-action-btn,
.profile-v4-card-head > .profile-v4-action-btn:link,
.profile-v4-card-head > .profile-v4-action-btn:visited,
.profile-v4-card-head > .profile-v4-action-btn:hover,
.profile-v4-card-head > .profile-v4-action-btn:focus,
.profile-v4-card-head > .profile-v4-action-btn:active {
  color: var(--text-primary);
  border-color: #dce0eb;
  background: var(--surface);
}
.profile-v4-action-btn.btn-outline:hover,
.profile-v4-card-head > .profile-v4-action-btn:hover { background: var(--surface-alt); border-color: var(--navy-500); box-shadow: none; }
.profile-v4-action-btn.btn-accent,
body.employee-profile-v4-page .content .btn-accent { color: #fff; border-color: #232656; background: #232656; box-shadow: 0 6px 14px rgba(35,38,86,.22); }
.profile-v4-action-btn.btn-accent:hover,
body.employee-profile-v4-page .content .btn-accent:hover { border-color: #2f3372; background: #2f3372; }

.profile-v4-page-heading {
  display: flex;
  min-height: 94px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 3px;
  margin-bottom: 16px;
}
.profile-v4-page-heading > div > span { display: block; margin-bottom: 7px; color: #605bd5; font-size: 9px; font-weight: 850; letter-spacing: .09em; }
.profile-v4-page-heading h2 { margin: 0; color: #18213e; font-size: 25px; letter-spacing: -.035em; }
.profile-v4-page-heading p { margin: 7px 0 0; color: #8790a3; font-size: 11.5px; }
.profile-v4-section-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.profile-v4-section-card { overflow: hidden; }
.profile-v4-full-card { width: 100%; }
.profile-v4-record-list { margin: 0; padding: 0 22px 18px; }
.profile-v4-record-list > div { display: grid; grid-template-columns: .85fr 1.15fr; min-height: 64px; align-items: center; border-bottom: 1px solid #edf0f4; }
.profile-v4-record-list > div:last-child { border-bottom: 0; }
.profile-v4-record-list dt { color: #8790a4; font-size: 12px; }
.profile-v4-record-list dd { margin: 0; color: #2e3853; font-size: 12.5px; font-weight: 750; }
.profile-v4-timeline { position: relative; display: grid; gap: 12px; padding: 20px 22px; }
.profile-v4-timeline > div { position: relative; display: grid; gap: 5px; padding: 16px 17px 16px 20px; border: 1px solid #e6e9f0; border-left: 3px solid #615dd5; border-radius: 11px; background: #fafbfe; }
.profile-v4-timeline time { color: #625ed1; font-size: 9.5px; font-weight: 800; }
.profile-v4-timeline b { color: #2d3752; font-size: 12.5px; }
.profile-v4-timeline span { color: #858ea2; font-size: 10.5px; }
.profile-v4-info-note { margin: 0 22px 22px; padding: 11px 13px; border-radius: 9px; color: #9c0808; background: #f5f7fb; font-size: 11px; line-height: 1.5; }
.profile-v4-empty { display: grid; min-height: 270px; place-items: center; place-content: center; padding: 28px; text-align: center; }
.profile-v4-empty > span { display: grid; width: 52px; height: 52px; place-items: center; margin-bottom: 12px; border-radius: 15px; color: #6560d6; background: #efefff; font-size: 23px; }
.profile-v4-empty b { color: #303a55; font-size: 13px; }
.profile-v4-empty p { max-width: 310px; margin: 8px 0 16px; color: #8992a5; font-size: 11.5px; line-height: 1.5; }
.profile-v4-leave-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.profile-v4-leave-summary { padding: 21px; border: 1px solid #e3e7ef; border-radius: 16px; background: #fff; box-shadow: 0 8px 23px rgba(29,38,81,.045); }
.profile-v4-leave-summary small { color: #858fa4; font-size: 9.5px; font-weight: 850; letter-spacing: .05em; }
.profile-v4-leave-summary strong { display: block; margin-top: 12px; color: #202a46; font-size: 22px; }
.profile-v4-leave-summary > span { display: block; margin-top: 7px; color: #949cad; font-size: 10px; }
.profile-v4-leave-summary > div { height: 6px; margin-top: 18px; overflow: hidden; border-radius: 6px; background: #edf0f4; }
.profile-v4-leave-summary > div i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #625ed8, #8682ee); }
.profile-v4-table-wrap { overflow-x: auto; }
.profile-v4-table-wrap table { width: 100%; min-width: 650px; border-collapse: collapse; }
.profile-v4-table-wrap th { padding: 13px 21px; color: #828ca0; background: #f7f8fb; font-size: 9.5px; text-align: left; letter-spacing: .04em; }
.profile-v4-table-wrap td { height: 62px; padding: 12px 21px; border-bottom: 1px solid #edf0f4; color: #414b64; font-size: 12px; }
.profile-v4-table-wrap tr:last-child td { border-bottom: 0; }
.profile-v4-count { color: #8a93a6; font-size: 10px; font-weight: 750; }
.profile-v4-request-table { width: 100%; }
.profile-v4-request-table .head,
.profile-v4-request-table > .row { display: grid; grid-template-columns: minmax(240px, 1.5fr) .6fr .55fr 34px; align-items: center; gap: 18px; padding: 0 22px; }
.profile-v4-request-table .head { min-height: 42px; color: #8a93a6; background: #f7f8fb; font-size: 9.5px; font-weight: 800; }
.profile-v4-request-table > .row { min-height: 72px; border-bottom: 1px solid #edf0f4; color: inherit; }
.profile-v4-request-table > .row:last-child { border-bottom: 0; }
.profile-v4-request-table > .row:hover { background: #fafbfe; }
.profile-v4-request-table b { display: block; color: #303a54; font-size: 14px; }
.profile-v4-request-table small { display: block; margin-top: 5px; color: #949cad; font-size: 9.5px; }
.profile-v4-request-table time { color: #626d84; font-size: 10.5px; }
.profile-v4-request-table em { justify-self: start; font-style: normal; }
.profile-v4-request-table .icon-btn.btn-sm { width: 30px; height: 30px; justify-self: center; }
.profile-v4-family-list { padding: 8px 22px 18px; }
.profile-v4-family-list > div { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; min-height: 78px; align-items: center; gap: 13px; border-bottom: 1px solid #edf0f4; }
.profile-v4-family-list > div:last-child { border-bottom: 0; }
.profile-v4-family-avatar { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; color: #5753cc; background: #efefff; font-size: 11px; font-weight: 850; }
.profile-v4-family-list p { margin: 0; }
.profile-v4-family-list b { display: block; color: #303a54; font-size: 11.5px; }
.profile-v4-family-list small { display: block; margin-top: 5px; color: #8c95a8; font-size: 12px; }
.profile-v4-family-list time { color: #68738a; font-size: 10.5px; }

@media (max-width: 1180px) {
  .profile-v4-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-v4-primary-grid, .profile-v4-secondary-grid { grid-template-columns: 1fr; }
  .profile-v4-section-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  body.employee-profile-v4-page .app-shell { display: block; }
  body.employee-profile-v4-page .main { margin-left: 0; }
  body.employee-profile-v4-page .sidebar { width: min(300px, 84vw); }
  body.employee-profile-v4-page .profile-v4-request-button { display: none; }
  .profile-dashboard-v4 { padding: 20px 16px 30px; }
}
@media (max-width: 620px) {
  .profile-v4-stats { grid-template-columns: 1fr; }
  .profile-v4-stat { min-height: 118px; }
  .profile-v4-person-card { padding: 20px 16px; }
  .profile-v4-person-head { align-items: flex-start; }
  .profile-v4-main-avatar { width: 78px; height: 78px; flex-basis: 78px; }
  .profile-v4-person-title h2 { font-size: 18px; }
  .profile-v4-personal-grid { grid-template-columns: 1fr; }
  .profile-v4-activity { grid-template-columns: 9px minmax(0, 1fr); padding: 10px 0; }
  .profile-v4-activity .badge { grid-column: 2; justify-self: start; }
  .profile-v4-page-heading { align-items: flex-start; flex-direction: column; min-height: auto; padding: 10px 0 2px; }
  .profile-v4-leave-grid { grid-template-columns: 1fr; }
  .profile-v4-request-table .head { display: none; }
  .profile-v4-request-table > a { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 13px 16px; }
  .profile-v4-request-table time { grid-column: 1; }
  .profile-v4-request-table em { grid-column: 2; grid-row: 1; }
  .profile-v4-request-table i { grid-column: 2; grid-row: 2; justify-self: end; }
}

/* Employee leave request and HR leave-management workspace */
.profile-v4-work-year { display:flex; align-items:center; gap:14px; margin:0 0 16px; padding:14px 18px; border:1px solid #e2e6ef; border-radius:13px; background:#fff; }
.profile-v4-work-year span { color:#7e879c; font-size:10px; font-weight:800; text-transform:uppercase; }
.profile-v4-work-year strong { color:#26304b; font-size:13px; }
.profile-v4-work-year small { margin-left:auto; color:#929aac; font-size:10px; }
.profile-v4-calculation-card { margin-bottom:16px; }
.profile-v4-calculation-line { display:flex; align-items:center; flex-wrap:wrap; gap:9px; padding:18px 21px 22px; color:#505a72; font-size:11px; }
.profile-v4-calculation-line span { padding:8px 10px; border-radius:9px; background:#f6f7fb; }
.profile-v4-calculation-line b { color:#8a92a5; }
.profile-v4-calculation-line strong { margin-left:auto; padding:9px 12px; border-radius:9px; color:#217748; background:#eaf8f0; }

.employee-leave-request-page { max-width:1280px; margin:0 auto; }
.employee-request-head { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:20px; }
.employee-request-head h2 { margin:4px 0 5px; color:#18213d; font-size:25px; }
.employee-request-head p { margin:0; color:#81899d; font-size:12px; }
.employee-leave-request-layout { display:grid; grid-template-columns:minmax(0,1fr) 310px; gap:20px; align-items:start; }
.employee-leave-request-form { overflow:hidden; padding:0; }
.employee-request-section-head { display:flex; min-height:84px; align-items:center; justify-content:space-between; padding:18px 22px; border-bottom:1px solid #e8eaf1; }
.employee-request-section-head > div { display:flex; align-items:center; gap:12px; }
.employee-request-section-head > div > span { display:grid; width:35px; height:35px; place-items:center; border-radius:10px; color:#514dca; background:#efefff; font-size:11px; font-weight:850; }
.employee-request-section-head h3 { margin:0 0 4px; color:#222c48; font-size:15px; }
.employee-request-section-head p { margin:0; color:#9299aa; font-size:10.5px; }
.employee-leave-request-form > .form-grid { padding:22px; }
.employee-request-upload { display:flex; min-height:66px; align-items:center; gap:12px; padding:12px 15px; border:1px dashed #cfd4e3; border-radius:12px; color:#535dcc; background:#fafaff; cursor:pointer; }
.employee-request-upload svg { width:22px; height:22px; }
.employee-request-upload b,.employee-request-upload small { display:block; }
.employee-request-upload small { margin-top:3px; color:#9299aa; font-size:10px; }
.employee-request-footer { display:flex; justify-content:flex-end; gap:10px; padding:16px 22px; border-top:1px solid #e8eaf1; background:#fafbfe; }
.employee-leave-balance-card { position:sticky; top:88px; padding:25px 22px; border:1px solid #e1e5ee; border-radius:17px; background:#fff; box-shadow:0 12px 30px rgba(29,39,82,.07); }
.employee-leave-balance-ring { display:grid; width:116px; height:116px; margin:0 auto 18px; place-content:center; text-align:center; border:10px solid #dff3e7; border-top-color:#4eaf78; border-radius:50%; }
.employee-leave-balance-ring strong { color:#237b4d; font-size:30px; line-height:1; }
.employee-leave-balance-ring span { margin-top:5px; color:#7d879b; font-size:10px; }
.employee-leave-balance-card h3,.employee-leave-balance-card > p { text-align:center; }
.employee-leave-balance-card h3 { margin:0; color:#222c48; font-size:16px; }
.employee-leave-balance-card > p { margin:5px 0 18px; color:#9098aa; font-size:10px; }
.employee-leave-balance-card dl { margin:0 0 17px; }
.employee-leave-balance-card dl div { display:flex; justify-content:space-between; padding:10px 2px; border-bottom:1px solid #edf0f4; }
.employee-leave-balance-card dt { color:#747e94; font-size:11px; }
.employee-leave-balance-card dd { margin:0; color:#28324c; font-size:11px; font-weight:800; }
.employee-leave-balance-card dl .pending { margin-top:8px; padding:12px 10px; border:0; border-radius:9px; background:#eff8f3; }
.employee-leave-balance-card dl .pending dd { color:#237b4d; }

.leave-management-page { max-width:1500px;  }
.leave-management-head { margin-bottom:18px; }
.leave-management-workspace { overflow:hidden; }
.leave-management-tabs { display:flex; gap:4px; padding:7px; border-bottom:1px solid #e5e8f0; background:#f7f8fc; }
.leave-management-tabs button { display:flex; min-height:42px; align-items:center; gap:8px; padding:0 16px; border:0; border-radius:9px; color:#6c758a; background:transparent; font:inherit; font-size:11.5px; font-weight:750; cursor:pointer; }
.leave-management-tabs button:hover { background:#fff; }
.leave-management-tabs button.active { color:#3f3db4; background:#fff; box-shadow:0 3px 10px rgba(38,45,100,.08); }
.leave-management-tabs button span { display:grid; min-width:20px; height:20px; place-items:center; border-radius:10px; color:#fff; background:#b83243; font-size:9px; }
.leave-management-panel { display:none; }
.leave-management-panel.active { display:block; }
.leave-panel-head { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:19px 22px; background:linear-gradient(115deg, rgb(58, 63, 179) 0%, rgb(87, 84, 227) 55%, rgb(143, 120, 240) 100%) !important; }
.leave-panel-head h3 { margin:0 0 4px; color:#fff; font-size:16px; font-weight:700; }
.leave-panel-head p { margin:0; color:rgba(255,255,255,.72); font-size:11.5px; }
.leave-panel-filters { display:flex; gap:8px; }
.leave-panel-filters .input { width:220px; min-height:38px; }
.leave-panel-filters .select-chip { min-height:38px; }
.leave-management-panel .data-table td { height:66px; }

/* PMH hub/rate pages — a hero card instead of the plain .page-head, same
   navy-gradient look as leave-panel-head/overview-panel-head so the module
   entry point reads as a proper landing screen, not a bare heading.
   Named distinctly from the pre-existing .workload-header-card (light,
   used by SemesterSummary/StaffSchedule) to avoid clashing with it. */
.pmh-hero-card {
  display: flex; align-items: center; gap: 18px; padding: 24px 26px;
  background: linear-gradient(115deg, rgb(58, 63, 179) 0%, rgb(87, 84, 227) 55%, rgb(143, 120, 240) 100%) !important;
  border-radius: var(--radius-md); color: #fff; margin-bottom: 20px;
}
.pmh-hero-card-icon {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.14);
}
.pmh-hero-card-icon svg { width: 26px; height: 26px; }
.pmh-hero-card h2 { margin: 0 0 6px; font-size: 19px; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.pmh-hero-card p { margin: 0; font-size: 13px; color: rgba(255,255,255,.75); max-width: 640px; }
.pmh-hero-card-back {
  margin-left: auto; display: inline-flex; align-items: center; gap: 4px;
  font-size: 12.5px; font-weight: 650; color: #fff; text-decoration: none;
  background: rgba(255,255,255,.1); padding: 8px 14px; border-radius: 999px; flex-shrink: 0;
}
.pmh-hero-card-back:hover { background: rgba(255,255,255,.2); }

/* Cross-module consistency pass: directory/panel headers on Orders, Education,
   Science, Military, Change requests and Teaching workloads match the same
   navy-gradient look already used by Candidates/Vacancies (candidate-directory-head). */
.order-directory-head, .education-directory-head, .science-directory-head,
.military-directory-head, .requests-directory-head, .workload-directory-head {
  background: linear-gradient(115deg, rgb(58, 63, 179) 0%, rgb(87, 84, 227) 55%, rgb(143, 120, 240) 100%) !important;
}
.order-directory-head h2, .education-directory-head h2, .science-directory-head h2,
.military-directory-head h2, .requests-directory-head h2, .workload-directory-head h2 { color:#fff !important; }
.order-directory-head p, .education-directory-head p, .science-directory-head p,
.military-directory-head p, .requests-directory-head p, .workload-directory-head p { color:rgba(255,255,255,.72) !important; }
.order-directory-head .select-chip, .order-directory-head [data-chip-toggle],
.education-directory-head .select-chip, .education-directory-head [data-chip-toggle],
.science-directory-head .select-chip, .science-directory-head [data-chip-toggle],
.military-directory-head .select-chip, .military-directory-head [data-chip-toggle],
.requests-directory-head .select-chip, .requests-directory-head [data-chip-toggle],
.workload-directory-head .select-chip, .workload-directory-head [data-chip-toggle] {
  background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); color: #fff;
}
.leave-request-table td:last-child,.leave-management-panel .data-table th:last-child { text-align:right; }
.cell-person small { display:block; margin-top:4px; color:#969daf; font-size:9.5px; }
.leave-balance-pill { display:inline-flex; padding:6px 9px; border-radius:9px; color:#217748; background:#eaf8f0; font-size:11px; font-weight:850; }
.leave-row-alert { background:#fffafa; }
.leave-policy-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding:20px 22px 24px; }
.leave-policy-grid article { display:grid; grid-template-columns:50px minmax(0,1fr) auto; align-items:center; gap:13px; padding:17px; border:1px solid #e3e6ef; border-radius:13px; background:#fff; }
.leave-policy-icon { display:grid; width:46px; height:46px; place-items:center; border-radius:12px; color:#514dca; background:#efefff; font-size:14px; font-weight:850; }
.leave-policy-grid h4 { margin:0 0 5px; color:#27314b; font-size:12px; }
.leave-policy-grid p { margin:0 0 5px; color:#747e94; font-size:10px; }
.leave-policy-grid small { color:#9aa1b1; font-size:9px; }
.leave-decision-person { display:flex; align-items:center; gap:12px; padding:14px; border-radius:12px; background:#f7f8fb; }
.leave-decision-person b,.leave-decision-person span { display:block; }
.leave-decision-person span { margin-top:4px; color:#81899c; font-size:10px; }
.leave-decision-summary { display:grid; grid-template-columns:repeat(4,1fr); gap:9px; margin:14px 0; }
.leave-decision-summary div { padding:13px; border:1px solid #e4e7ef; border-radius:11px; }
.leave-decision-summary small,.leave-decision-summary b { display:block; }
.leave-decision-summary small { margin-bottom:6px; color:#9098aa; font-size:9px; }
.leave-decision-summary b { color:#2a344e; font-size:12px; }
.leave-decision-summary .after { background:#eff8f3; }
.leave-decision-summary .after b { color:#237b4d; }
.leave-validation-list { display:grid; gap:7px; margin:14px 0; }
.leave-validation-list div { padding:10px 12px; border-radius:9px; font-size:10px; }
.leave-validation-list .ok { color:#217748; background:#eef9f3; }
.leave-validation-list .warn { color:#956412; background:#fff7e5; }
.leave-calculation-breakdown { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-bottom:15px; }
.leave-calculation-breakdown span,.leave-calculation-breakdown strong { padding:9px 11px; border-radius:9px; background:#f5f6fa; font-size:10.5px; }
.leave-calculation-breakdown strong { color:#237b4d; background:#eaf8f0; }
.btn-danger { color:#fff; border-color:#b83243; background:#b83243; }
@media (max-width:980px) { .employee-leave-request-layout { grid-template-columns:1fr; } .employee-leave-balance-card { position:static; } .leave-panel-head { align-items:flex-start; flex-direction:column; } .leave-panel-filters { width:100%; flex-wrap:wrap; } .leave-panel-filters .input { flex:1; } .leave-policy-grid { grid-template-columns:1fr; } }
@media (max-width:680px) { .employee-request-head { align-items:flex-start; flex-direction:column; } .profile-v4-work-year { align-items:flex-start; flex-direction:column; } .profile-v4-work-year small { margin-left:0; } .leave-management-tabs { overflow-x:auto; } .leave-management-tabs button { flex:0 0 auto; } .leave-decision-summary { grid-template-columns:repeat(2,1fr); } }

/* =========================================================
   Portal FAQ chatbot widget
   ========================================================= */

.hr-chatbot-launcher {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-700);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-lg);
  z-index: 160;
  transition: background .15s ease, transform .15s ease;
}
.hr-chatbot-launcher:hover { background: var(--navy-800); transform: translateY(-2px); }
.hr-chatbot-launcher svg { width: 24px; height: 24px; }

.hr-chatbot-panel {
  position: fixed;
  right: 26px;
  bottom: 92px;
  width: 340px;
  max-width: calc(100vw - 32px);
  height: 460px;
  max-height: calc(100vh - 140px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 160;
  opacity: 0;
  transform: translateY(12px) scale(.98);
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}
.hr-chatbot-panel.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

.hr-chatbot-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  background: var(--navy-800);
  color: #fff;
  flex-shrink: 0;
}
.hr-chatbot-panel-header b { font-size: 13.5px; }
.hr-chatbot-panel-header span { display: block; font-size: 11px; color: var(--text-on-dark-muted); margin-top: 1px; }
.hr-chatbot-panel-close {
  width: 26px; height: 26px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.12); border: none; color: #fff;
}
.hr-chatbot-panel-close:hover { background: rgba(255,255,255,0.22); }
.hr-chatbot-panel-close svg { width: 14px; height: 14px; }

.hr-chatbot-log {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--surface-alt);
}
.hr-chatbot-msg {
  max-width: 84%;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 12.5px;
  line-height: 1.5;
}
.hr-chatbot-msg-bot {
  align-self: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  border-bottom-left-radius: 3px;
}
.hr-chatbot-msg-user {
  align-self: flex-end;
  background: var(--navy-700);
  color: #fff;
  border-bottom-right-radius: 3px;
}

.hr-chatbot-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  flex-shrink: 0;
}
.hr-chatbot-form input {
  flex: 1;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1.5px solid var(--border-strong);
  font-size: 12.5px;
}
.hr-chatbot-form input:focus { outline: none; border-color: var(--navy-600); }
.hr-chatbot-form button {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-700); color: #fff; border: none; flex-shrink: 0;
}
.hr-chatbot-form button:hover { background: var(--navy-800); }
.hr-chatbot-form button svg { width: 16px; height: 16px; }

@media (max-width: 640px) {
  .hr-chatbot-panel { right: 16px; bottom: 84px; }
  .hr-chatbot-launcher { right: 16px; bottom: 16px; }
}

/* Cədvəl başlığındakı axtarış xanaları: yazılan mətn oxunaqlı olsun (inline 11.5px stil çox kiçik idi) */
.data-table thead th input.input,
.data-table thead th input[data-employee-search],
.data-table thead th input[data-col-search] {
  font-size: 13.5px !important;
  font-weight: 500 !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 6px 10px !important;
  color: #111827 !important;
  background: #fff !important;
  line-height: 1.3 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  width: 100% !important;
  min-width: 120px !important;
  box-sizing: border-box !important;
}
.data-table thead th input.input::placeholder { font-size: 12.5px; font-weight: 400; color: #9ca3af; }

.staff-count-pill { display:inline-block; min-width:32px; padding:4px 12px; border-radius:20px; font-weight:700; font-size:12px; text-align:center; background:var(--success-bg); color:var(--success); }
.staff-unit-pills { display:flex; gap:6px; align-items:center; }
.staff-unit-pills .staff-unit-pill { display:inline-flex; align-items:center; gap:6px; height:32px; padding:0 8px 0 12px; border-radius:20px; border:1.5px solid #363983; background:#fff; color:#363983; font-size:12px; font-weight:600; cursor:pointer; }
.staff-unit-pills .staff-unit-pill .staff-unit-count { min-width:22px; padding:2px 7px; border-radius:20px; background:#eceefb; color:#363983; font-size:11px; font-weight:700; text-align:center; }
.staff-unit-pills .staff-unit-pill.active { background:#363983; color:#fff; }
.staff-unit-pills .staff-unit-pill.active .staff-unit-count { background:#fff; color:#363983; }
.staff-unit-pills[hidden] { display:none; }
.toolbar-divider { width:100%; height:1px; margin:0; border:0; background:linear-gradient(90deg, transparent, #c9cdf0 15%, #c9cdf0 85%, transparent); }

.staff-count-pill, .staff-total-pill { display:inline-flex; align-items:center; gap:6px; height:32px; padding:0 14px; border-radius:20px; font-size:12px; font-weight:700; }
.staff-count-pill svg, .staff-total-pill svg, .staff-unit-pills .staff-unit-pill svg { width:14px; height:14px; flex-shrink:0; }
.staff-total-pill { background:#eceefb; color:#363983; }
.staff-unit-pills .staff-unit-pill { background:#f4f5fd; border-color:transparent; }
.staff-unit-pills .staff-unit-pill.active { border-color:#363983; }
.staff-active-filters { padding-top:4px; }
.staff-active-head { display:flex; justify-content:space-between; align-items:center; font-size:12.5px; font-weight:700; color:var(--navy-600, #363983); margin-bottom:8px; }
.staff-active-head button { border:0; background:none; color:var(--text-secondary); font-size:12px; cursor:pointer; }
.staff-active-head button:hover { color:var(--danger); }
.staff-active-chips { display:flex; gap:8px; flex-wrap:wrap; }
.staff-active-chip { display:inline-flex; align-items:center; gap:8px; height:30px; padding:0 8px 0 14px; border-radius:20px; background:#eceefb; color:#363983; font-size:12px; font-weight:600; }
.staff-active-chip button { border:0; background:none; color:inherit; font-size:16px; line-height:1; cursor:pointer; opacity:.7; }
.staff-active-chip button:hover { opacity:1; }

/* PMH toolbar — soft pill look */
.semester-summary-toolbar { align-items:stretch !important; justify-content:flex-start !important; }
.semester-summary-toolbar #staff-search { height:36px !important; border-radius:20px !important; border:1.5px solid transparent !important; background:#f4f5fb !important; box-shadow:none !important; width:240px !important; }
.semester-summary-toolbar #staff-search:focus { background:#fff !important; border-color:#363983 !important; }
.semester-summary-toolbar .staff-rank-chip { height:36px !important; border-radius:20px !important; background:#fff; border:1.5px solid #42469d73; color:#26286b; font-weight:600; }
.semester-summary-toolbar .staff-count-pill { background:#e6f6ec; color:#15803d; height:36px; }
.semester-summary-toolbar .staff-total-pill { background:#eceefb; color:#363983; height:36px; }
.staff-unit-pills .staff-unit-pill { height:36px; border:0; background:#eef0fd; color:#363983; }
.staff-unit-pills .staff-unit-pill:nth-child(1) { background:#fff4e0; color:#a15c07; }
.staff-unit-pills .staff-unit-pill:nth-child(1) .staff-unit-count { background:#ffe7bd; color:#a15c07; }
.staff-unit-pills .staff-unit-pill:nth-child(3) { background:#f6e9fb; color:#7b1fa2; }
.staff-unit-pills .staff-unit-pill:nth-child(3) .staff-unit-count { background:#ecd0f7; color:#7b1fa2; }
.staff-unit-pills .staff-unit-pill:nth-child(4) { background:#f0f1f5; color:#5b6075; }
.staff-unit-pills .staff-unit-pill:nth-child(4) .staff-unit-count { background:#e1e3ea; color:#5b6075; }
.staff-unit-pills .staff-unit-pill.active { box-shadow:0 0 0 2px #363983 inset; }
.semester-summary-toolbar .workload-import-btn { background:#2f3fa8 !important; color:#fff !important; border:1.5px solid #42469d73 !important; border-radius:22px !important; font-weight:600 !important; }
.semester-summary-toolbar .workload-import-btn:hover { background:#26338f !important; }
.semester-summary-toolbar .btn-accent { background:#2f3fa8 !important; color:#fff !important; border-radius:22px !important; }
.staff-active-head { width:100%; }
.staff-active-title { display:inline-flex; align-items:center; gap:8px; }
.staff-active-title svg, .staff-active-head button svg { width:15px; height:15px; }
.staff-active-head button { display:inline-flex; align-items:center; gap:6px; }
.staff-active-chip { height:36px; padding:0 10px 0 14px; }
.staff-active-chip svg { width:15px; height:15px; }
.staff-active-chip-contract { background:#eceefb; color:#363983; }
.staff-active-chip-unit { background:#f6e9fb; color:#7b1fa2; }
.staff-active-chip-term { background:#f0f1f5; color:#5b6075; }
[data-notif-dot][hidden], [data-nav-notif-count][hidden] { display:none !important; }

/* Tədris yükü qeydləri — toolbar (iki sətir) */
.wl-toolbar { display:flex !important; flex-direction:column; align-items:stretch !important; gap:12px !important; padding:16px 22px; }
.wl-row { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.wl-chip { height:40px !important; min-width:150px; border-radius:14px !important; background:#fff; border:1.5px solid #e3e6f5 !important; color:#26286b; font-weight:600; box-shadow:none; }
.wl-pill { display:inline-flex; align-items:center; gap:8px; height:40px; padding:0 18px; border-radius:14px; border:1.5px solid transparent; font-size:13px; font-weight:600; cursor:pointer; text-decoration:none; white-space:nowrap; }
.wl-pill-soft { background:#eceefb; color:#363983; }
.wl-pill-soft:hover { background:#e0e4f9; }
.wl-pill-danger { background:#fdecee; color:#c0283c; }
.wl-pill-danger:hover { background:#fadde1; }
.wl-pill-count { min-width:22px; padding:2px 7px; border-radius:12px; background:#c0283c; color:#fff; font-size:11px; font-weight:700; text-align:center; }
.wl-pill-primary { background:#2f3fa8; color:#fff; }
.wl-pill-primary:hover { background:#26338f; }
.wl-pill-outline { background:#fff; color:#363983; border-color:#e3e6f5; }
.wl-pill-outline:hover { background:#f4f5fd; }
.wl-divider { width:1px; height:28px; background:#d9dcec; margin:0 4px; }
.wl-search { flex:1 1 320px; max-width:none; border:1.5px solid #e3e6f5 !important; border-radius:14px !important; background:#fff; }
.wl-search .input { width:100%; height:38px; font-size:13px; }

/* PMH — wl-toolbar ilə uyğunlaşdırma */
.wl-toolbar .staff-count-pill, .wl-toolbar .staff-total-pill, .wl-toolbar .staff-unit-pill { height:40px; border-radius:14px; }
.wl-toolbar .staff-rank-chip { height:40px !important; border-radius:14px !important; min-width:210px; }
.wl-toolbar .wl-search #staff-search { width:100% !important; height:38px !important; background:transparent !important; border:none !important; font-size:13px; }
.wl-toolbar .wl-search { background:#fff; }
.wl-toolbar .wl-search:focus-within { border-color:#363983 !important; }

/* Semestr xülasəsi filtrləri */
.wl-toolbar .sum-dd-label { flex:1; text-align:left; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:240px; }

/* İşçilər cədvəli — yığcam sətirlər */
.employee-directory .data-table tbody tr { border-top: 1px solid #e8e9ee; }
.employee-directory .data-table tbody td { padding: 7px 12px; font-size: 11.5px; border: 0; height: auto; }
.employee-directory .data-table tbody td .cell-person-name { font-size: 11.5px; }
.employee-directory .data-table tbody td .cell-person-sub { font-size: 10.5px; margin-top: 0; }
.employee-directory .data-table tbody td .badge { font-size: 10.5px; padding: 2px 8px; }
.employee-directory .data-table tbody .cell-person { gap: 8px; }
.employee-directory .data-table tbody .cell-person .avatar { width: 28px; height: 28px; font-size: 10.5px; flex-shrink: 0; }
.employee-directory .data-table thead th { padding: 9px 12px; }
.employee-directory .data-table { border-collapse: collapse; }
.employee-directory .data-table tbody td { border: 1px solid #e8e9ee; }
.employee-directory .data-table thead th { border: 1px solid #e8e9ee; }

/* Bütün səhifələrdəki cədvəllər — işçilər cədvəli kimi yığcam şəbəkə (Tədris yükü modulu xaric) */
.main .data-table:not(.semester-summary-table):not(.import-issues-table) { border-collapse: collapse; }
.main .data-table:not(.semester-summary-table):not(.import-issues-table) tbody tr { border-top: 1px solid #e8e9ee; }
.main .data-table:not(.semester-summary-table):not(.import-issues-table) tbody td { padding: 7px 12px; font-size: 11.5px; border: 1px solid #e8e9ee; height: auto; }
.main .data-table:not(.semester-summary-table):not(.import-issues-table) thead th { padding: 9px 12px; border: 1px solid #e8e9ee; }
.main .data-table:not(.semester-summary-table):not(.import-issues-table) tbody td .cell-person-name { font-size: 11.5px; }
.main .data-table:not(.semester-summary-table):not(.import-issues-table) tbody td .cell-person-sub { font-size: 10.5px; margin-top: 0; }
.main .data-table:not(.semester-summary-table):not(.import-issues-table) tbody td .badge { font-size: 10.5px; padding: 2px 8px; }
.main .data-table:not(.semester-summary-table):not(.import-issues-table) tbody .cell-person { gap: 8px; }
.main .data-table:not(.semester-summary-table):not(.import-issues-table) tbody .cell-person .avatar { width: 28px; height: 28px; font-size: 10.5px; flex-shrink: 0; }

/* İşçilər cədvəli — "Vəzifə"dən sonrakı sütunlar dar */
.employee-directory .data-table th:nth-child(n+3), .employee-directory .data-table td:nth-child(n+3) { max-width: 96px; white-space: normal; word-break: break-word; line-height: 1.25; }
.employee-directory .data-table th:nth-child(n+3) .input { min-width: 0; }
.employee-directory .dept-code-pill { font-size: 7px; min-width: 0; padding: 2px 6px; }

/* Cədvəl üzrə vahid axtarış xanası (sütun filtrləri əvəzinə) */
.table-search-bar { padding: 12px 16px 4px; }
.table-search-bar .wl-search { max-width: 420px; flex: none; }
.table-search-bar .wl-search .input { width: 100%; height: 36px; font-size: 12.5px; }
tr.us-hidden { display: none !important; }

/* İşçilər — axtarış solda, İşləyənlər/Hamısı sağda; thead sözləri bölünmür */
.employee-directory .table-search-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.employee-directory .table-search-bar-tabs { display: flex; gap: 8px; align-items: center; }
.main .data-table:not(.semester-summary-table):not(.import-issues-table) thead th,
.employee-directory .data-table th:nth-child(n+3) {
  max-width: none; min-width: 92px; white-space: normal; word-break: normal; overflow-wrap: normal; hyphens: none; font-size: 10px; line-height: 1.3; vertical-align: middle;
}
.employee-directory .data-table th:nth-child(1) { min-width: 200px; }

/* İşçilər cədvəli — sözlər ortadan bölünmür, status nişanı qonşu xanaya sığışmır */
.employee-directory .data-table td:nth-child(n+3) { max-width: none; min-width: 84px; white-space: normal; word-break: normal; overflow-wrap: normal; hyphens: none; }
.employee-directory .data-table td .badge,
.employee-directory .data-table td .tag { white-space: normal; display: inline-block; max-width: 160px; line-height: 1.3; text-align: center; }

/* Cədvəl başlığı sabit qalır, cədvəl öz daxilində scroll olunur (Tədris yükü cədvəllərinin öz inline hündürlüyü var) */
.main .table-wrap { max-height: calc(100vh - 230px); overflow: auto; }
.main .table-wrap table.data-table thead th { position: sticky; top: 0; z-index: 4; background: #F4F8FC; box-shadow: 0 1px 0 #e8e9ee; }

/* PMH başlıq düymələri */
#staff-reopen-btn { background: #edeefa !important; color: #3a3a7e !important; }
.staff-back-btn { background: #ffffff !important; color: #3a3a7e !important; border: 1px solid #3a41a1 !important; }
.table-search-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.table-search-bar .pipeline-status-row { margin: 0; padding: 0; }

/* Hesab reyestri — cədvəl tam en */
.accounts-directory .data-table { width: 100% !important; min-width: 100% !important; }

/* Tədris yükü qeydləri — sağdakı düymələr */
.wl-row-right { margin-left: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wl-pill-issues { background: #eff0fa; color: #272a68; }
.wl-pill-issues:hover { background: #e3e5f7; }
.wl-pill-issues .wl-pill-count { background: #272a68; color: #fff; }

/* Semestr xülasəsi — kafedra izahı: kodlar yan-yana, arada | */
.workload-chip-row-pipes { display: flex; flex-wrap: wrap; gap: 0; align-items: center; }
.workload-chip-row-pipes .workload-chip { background: none; padding: 2px 0; border-radius: 0; gap: 4px; }
.workload-chip-row-pipes .workload-chip + .workload-chip::before { content: "|"; color: #b9bcd6; margin: 0 10px; font-weight: 400; }
/* Semestr xülasəsi — izah bloku tam en (tək sütun) */
.workload-legend-full { grid-template-columns: 1fr; }
.workload-legend-full .workload-legend-col { padding: 0 22px; width: 100%; }

/* Nəticə sayı nişanı */
.staff-count-pill,
.wl-toolbar .staff-count-pill,
.semester-summary-toolbar .staff-count-pill { background: #2d3074 !important; color: #ffffff !important; }
.workload-chip-break { flex-basis: 100%; height: 0; }
.pmh-staff-btn { background: var(--navy-500) !important; color: #fff !important; }

/* Semestr xülasəsi — filtrlər və rəqəmlər sol tərəfdə, bir az kiçik və sıx; Əlavə əmək haqqı sağda */
.sum-toolbar .wl-row { gap: 6px; }
.sum-toolbar .sum-add-btn { margin-left: auto; }
.sum-toolbar .staff-rank-chip { height: 32px !important; min-width: 186px !important; font-size: 11.5px; padding: 0 10px; border-radius: 11px !important; }
.sum-toolbar .sum-dd-label { max-width: 150px; }
.sum-toolbar .staff-count-pill, .sum-toolbar .staff-total-pill { height: 32px; padding: 0 10px; font-size: 11.5px; border-radius: 11px; gap: 4px; }
.sum-toolbar .staff-count-pill svg, .sum-toolbar .staff-total-pill svg { width: 12px; height: 12px; }

/* Axtarış xanaları — Semestr xülasəsi, Tədris yükü və PMH eyni balaca hündürlükdə */
.wl-search { min-height: 0; }
.wl-search .input,
#workload-search-input, #summary-search, #staff-search { height: 34px !important; min-height: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; font-size: 12.5px !important; }
/* PMH — versiya/təsdiq düymələri müqavilə şərti sətrində, sağda */
.wl-toolbar .wl-row-right .btn { padding: 8px 16px !important; }
.staff-back-btn.staff-stats-btn { background: #2f3fa8 !important; color: #fff !important; border-color: #2f3fa8 !important; }
/* PMH — Semestr xülasəsi ilə eyni yığcam ölçülər */
.sum-toolbar .staff-unit-pill { height: 32px; font-size: 11.5px; border-radius: 11px; }
.sum-toolbar .wl-search { margin-top: 0; }
/* PMH — təsdiq düymələri kiçik */
.wl-toolbar .wl-row-right .btn, #staff-reopen-btn, #staff-approve-btn { padding: 4px 12px !important; font-size: 11.5px !important; min-height: 0 !important; height: 32px; line-height: 1.2; border-radius: 11px !important; }
.wl-toolbar .wl-row-right .btn svg { width: 13px !important; height: 13px !important; }
/* PMH toolbar — filtrlər öz qrupunda sarılır, təsdiq düymələri sağda ayrıca sütunda qalır */
.wl-toolbar .wl-row:has(> .wl-filter-group) { flex-wrap: nowrap; align-items: flex-start; }
.wl-filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; flex: 1 1 auto; min-width: 0; }
.wl-toolbar .wl-row-right { flex: 0 0 auto; flex-wrap: nowrap; margin-left: 12px; }
/* PMH / Semestr — Cəmi sətrində rəqəmlər sınmır */
.semester-summary-totals-row td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.staff-secondment-stat { color: #f2f4ff !important; }
.staff-secondment-stat b { color: inherit; }
/* Cəmi sətri — xanalar gövdə xanaları ilə eyni: mərkəzdə, eyni kənar və boşluq */
.workload-directory .data-table.semester-summary-table tfoot td {
  text-align: center !important; padding: 8px 10px; font-size: 12px; font-weight: 800;
  border: 1px solid #c4c4caa8 !important; border-bottom: none !important; vertical-align: middle; white-space: nowrap;
}
.workload-directory .data-table.semester-summary-table tfoot td[colspan] { text-align: left !important; }

/* Emr yaratma kartlari: acilan select siyahisi kartdan kenara cixa bilsin (overflow:hidden kesirdi) */
.order-create-page .order-form-card, .order-create-page .order-process-card { overflow: visible; }
.order-create-page .order-form-card::before, .order-create-page .order-process-card::before { border-radius: 17px 17px 0 0; }
/* Acilan siyahi olan kart sonrakı kartlarin ustunde qalsin */
.order-create-page .order-form-card:has(.chip-dropdown-menu.open),
.order-create-page .order-form-card:has(.employee-combo-menu.open) { z-index: 30; }
.order-create-page .chip-dropdown-menu { max-height: 280px; overscroll-behavior: contain; }

/* PMH: "Təsdiqlənib" düyməsi üzərinə gələndə "Təsdiqi geri al" olur */
.staff-unapprove-btn .sub-undo { display: none; }
.staff-unapprove-btn:hover .sub-ok { display: none; }
.staff-unapprove-btn:hover .sub-undo { display: inline-block; }
.staff-unapprove-btn:hover { background: var(--danger-bg, #fdecec) !important; color: var(--danger, #c0392b) !important; }

/* Məzuniyyət uçotu: staj / uşaq / şərait seçimləri (yığcam) */
.leave-component-select {
  height: 26px; min-height: 0; padding: 0 22px 0 8px; font-size: 12px; font-weight: 600; line-height: 1;
  min-width: 84px; max-width: 150px; border: 1px solid var(--border); border-radius: 7px;
  background-color: var(--surface); color: var(--navy-600); cursor: pointer;
}
.leave-component-select:hover { border-color: #b9bfe0; }
.leave-component-select.is-manual { border-color: #2f3fa8; background-color: #f2f4ff; }

/* Məzuniyyət qaydası modalı: başlıq və düymələr həmişə görünür, orta hissə scroll olur */
.leave-rule-box { max-height: 90vh; display: flex; flex-direction: column; width: 100%; }
.leave-rule-box .modal-header { flex-shrink: 0; }
.leave-rule-box .modal-body { overflow-y: auto; flex: 1; min-height: 0; }
.leave-rule-box .modal-actions { position: sticky; bottom: 0; background: var(--surface, #fff); padding: 12px 0 4px; margin-top: 16px !important; border-top: 1px solid var(--border); }
@media (max-width: 700px) { .leave-rule-box { max-height: 94vh; max-width: 96vw; } }

/* Məzuniyyət qrafiki */
.sched-ic::before { content: attr(data-glyph); }
.leave-plan-chip { display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:4px 0; font-size:12px; }
.leave-plan-actions { display:inline-flex; gap:4px; }
.leave-plan-actions .icon-btn { width:26px; height:26px; font-size:13px; line-height:1; }

[data-leave-panel="schedule"] tbody tr { cursor: pointer; }
[data-leave-panel="schedule"] tbody tr.is-selected td { background: #eef0ff; box-shadow: inset 0 1px 0 #c9cdf5, inset 0 -1px 0 #c9cdf5; }
[data-leave-panel="schedule"] tbody tr.is-selected td:first-child { box-shadow: inset 3px 0 0 #3f3db4, inset 0 1px 0 #c9cdf5, inset 0 -1px 0 #c9cdf5; }

.th-sub { font-size: 10px; font-weight: 500; color: #8a93a8; line-height: 1.25; margin-top: 2px; text-transform: none; letter-spacing: 0; white-space: normal; max-width: 170px; margin-left: auto; }
td .th-sub { margin-top: 1px; max-width: none; }

.leave-plan-chip { min-height: 30px; white-space: nowrap; }

/* Məzuniyyət səhifəsi: başlıq alətləri Tədris yükü ilə eyni ölçüdə */
.leave-panel-head .page-head-actions { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.leave-panel-head .wl-pill { min-width:110px; justify-content:center; }
.leave-panel-head .wl-pill svg { width:15px; height:15px; }

.leave-plan-actions { flex-wrap: nowrap; }
.leave-plan-actions .icon-btn.sched-ic { width:28px !important; height:28px !important; min-width:0 !important; padding:0 !important; font-size:15px !important; line-height:1 !important; border-radius:9px !important; display:inline-flex; align-items:center; justify-content:center; }

/* Məzuniyyət başlığında il seçimi: hover-də fon şəffaflaşmasın (tünd başlıqda mətn itirdi) */
.leave-panel-head button.select-chip.wl-chip:hover,
.leave-panel-head button.select-chip.wl-chip:focus { background:#eef0ff !important; color:#26286b !important; }
.leave-panel-head button.select-chip.wl-chip:hover svg { color:#26286b; }
.leave-panel-head .wl-pill-outline:hover { background:#eef0ff; color:#26286b; }

/* Məzuniyyət: müasir xəbərdarlıq */
.leave-alert { display:flex; align-items:center; gap:14px; margin:14px 16px; padding:14px 16px; border-radius:14px; background:linear-gradient(90deg,#fff7e6,#fffdf7); border:1px solid #f3d9a4; box-shadow:0 4px 14px rgba(224,168,79,.14), inset 4px 0 0 #e8a33d; }
.leave-alert-icon { width:38px; height:38px; flex:0 0 38px; display:grid; place-items:center; border-radius:11px; background:#fdebc6; color:#b9770e; }
.leave-alert-icon svg { width:20px; height:20px; }
.leave-alert-body { display:flex; flex-direction:column; gap:2px; flex:1 1 auto; min-width:0; }
.leave-alert-body b { color:#7a4b06; font-size:13.5px; }
.leave-alert-body span { color:#8a6a2e; font-size:12px; }
@media (max-width: 700px) { .leave-alert { flex-wrap:wrap; } }
.leave-carry-input.is-manual { border-color:#3f3db4; background:#f6f6ff; }

.sched-hide { display: none !important; }

.leave-info { padding:10px 12px; border-radius:10px; background:#eef3ff; border:1px solid #d3defa; color:#2f3fa8; font-size:12.5px; font-weight:600; }
#leave-status-modal .leave-alert-body span { color:#6b4a10; font-size:12.5px; line-height:1.45; }

/* ===== Məzuniyyət qrafiki: yeni dizayn ===== */
[data-leave-panel="schedule"] .sched-head { background:#fff !important; color:#17214f; border-bottom:1px solid #eef0f7; padding:18px 22px; }
[data-leave-panel="schedule"] .sched-head h3 { color:#14214f !important; font-size:20px; margin:0; }
[data-leave-panel="schedule"] .sched-head p { color:#7b86a0 !important; margin:3px 0 0; font-size:13px; }
.sched-head-title { display:flex; align-items:center; gap:14px; }
.sched-head-icon { width:52px; height:52px; display:grid; place-items:center; border-radius:16px; background:#e8efff; color:#3f58c8; }
.sched-head-icon svg { width:26px; height:26px; }
.sched-wrap { padding:0 18px 18px; }
.sched-table { border-collapse:separate; border-spacing:0; width:100%; border:1px solid #e6e9f5; border-radius:18px; overflow:hidden; background:#fff; box-shadow:0 6px 24px rgba(40,52,120,.06); }
.sched-table thead th { background:#fafbff; color:#14214f; font-size:12.5px; font-weight:800; text-transform:none; letter-spacing:0; padding:16px 14px; border-bottom:1px solid #e6e9f5; vertical-align:middle; }
.sched-table thead th .th-sub { max-width:210px; margin-left:0; }
.sched-table th.num, .sched-table td.num { text-align:right; }
.sched-table th.num .th-sub { margin-left:auto; }
.sched-table tbody td { padding:18px 14px; border-bottom:1px solid #eef0f7; vertical-align:top; font-size:13px; color:#1e2a55; }
.sched-table tbody tr:last-child td { border-bottom:0; }
.sched-table tbody tr:hover td { background:#f7f9ff; }
.sched-table td + td, .sched-table th + th { border-left:1px solid #f0f2fa; }
.sched-big { font-size:17px; font-weight:800; color:#111a44; }
.sched-dept { display:flex; flex-direction:column; gap:3px; min-width:150px; }
.sched-dept b { font-weight:700; }
.sched-dept small { color:#8a93a8; font-size:11.5px; }
.sched-year-chip { display:inline-flex; align-items:center; gap:9px; padding:8px 12px; border-radius:12px; background:#f1f4ff; color:#1b2559; font-weight:700; white-space:nowrap; }
.sched-year-ic { width:28px; height:28px; display:grid; place-items:center; border-radius:9px; background:#e0e8ff; color:#3f58c8; }
.sched-year-ic svg { width:15px; height:15px; }
.th-ic { display:inline-flex; vertical-align:middle; margin-right:6px; color:#8a93a8; }
.th-ic svg { width:15px; height:15px; }
.pill { display:inline-flex; align-items:center; gap:7px; padding:6px 13px; border-radius:999px; font-size:12.5px; font-weight:800; white-space:nowrap; }
.pill i { width:7px; height:7px; border-radius:50%; background:currentColor; display:inline-block; }
.pill-green { background:#e5f6ec; color:#15844a; }
.pill-amber { background:#fff1d6; color:#c37a0a; }
.pill-blue { background:#e3eeff; color:#2a62d4; }
.pill-purple { background:#ece8ff; color:#5b3fd0; }
.pill-red { background:#fde6e9; color:#c0283c; }
.sched-dates { font-weight:600; }
.sched-table .leave-plan-chip { min-height:34px; display:flex; align-items:center; }
.sched-table .leave-plan-actions .icon-btn.sched-ic { width:34px !important; height:34px !important; border-radius:11px !important; border:1.5px solid #e3e6f5 !important; background:#fff !important; color:#3a4478; font-size:16px !important; box-shadow:0 1px 0 rgba(30,40,100,.04); }
.sched-table .leave-plan-actions .icon-btn.sched-ic:hover { background:#eef0ff !important; border-color:#c9cff5 !important; }
.sched-table tbody tr.is-selected td { background:#eef2ff; }
[data-leave-panel="schedule"] tbody tr.leave-row-alert td { background:inherit; }

.sched-table .leave-plan-chip { min-height:46px !important; padding:0 !important; }
.sched-table .leave-plan-chip + .leave-plan-chip { margin-top:6px; }

/* Qrafik cədvəli: başlıqlar və xanalar mərkəzdə */
.sched-table th, .sched-table td, .sched-table th.num, .sched-table td.num { text-align:center !important; }
.sched-table .th-sub, .sched-table th.num .th-sub { margin-left:auto !important; margin-right:auto !important; text-align:center; }
.sched-table .cell-person { justify-content:center; text-align:left; }
.sched-table .sched-dept { align-items:center; margin:0 auto; text-align:center; }
.sched-table .leave-plan-chip { justify-content:center; }
.sched-table .leave-plan-actions { justify-content:center; }
.sched-table td { vertical-align:middle !important; }

.sched-stack { display:inline-flex; flex-direction:column; gap:2px; line-height:1.25; text-align:center; }
.sched-year-chip { text-align:left; }
.sched-actions { display:inline-flex; align-items:center; gap:8px; justify-content:center; }
.sched-act-btn { width:38px; height:38px; display:inline-grid; place-items:center; border-radius:12px; border:1.5px solid #e3e6f5; background:#fff; color:#3a4478; cursor:pointer; box-shadow:0 1px 0 rgba(30,40,100,.04); }
.sched-act-btn:hover { background:#eef0ff; border-color:#c9cff5; }
.sched-act-btn svg { width:17px; height:17px; }
.sched-menu-wrap { position:relative; }
.sched-menu { position:fixed; z-index:1200; min-width:230px; max-height:70vh; overflow:auto; padding:8px; border-radius:14px; background:#fff; border:1px solid #e3e6f5; box-shadow:0 14px 40px rgba(30,40,100,.18); text-align:left; }
.sched-menu[hidden] { display:none; }
.sched-menu-item { display:flex; width:100%; align-items:center; gap:10px; padding:9px 12px; border:0; background:transparent; border-radius:10px; font:inherit; font-size:13px; font-weight:600; color:#1e2a55; cursor:pointer; text-align:left; }
.sched-menu-item:hover { background:#eef0ff; }
.sched-menu-item.danger { color:#c0283c; }
.sched-menu-item.danger:hover { background:#fdecee; }
.sched-menu-ic { width:22px; text-align:center; color:#5b6aa8; font-size:14px; }
.sched-menu-group { border-top:1px solid #eef0f7; margin-top:6px; padding-top:6px; }
.sched-menu-title { padding:4px 12px; font-size:11px; font-weight:800; color:#8a93a8; letter-spacing:.02em; }
.sched-detail-sum { display:flex; gap:12px; flex-wrap:wrap; }
.sched-detail-sum > div { flex:1 1 120px; padding:10px 14px; border-radius:12px; background:#f6f8ff; border:1px solid #e6e9f5; }
.sched-detail-sum small { display:block; color:#8a93a8; font-size:11px; }
.sched-detail-sum b { font-size:18px; color:#111a44; }

.sched-big { font-size:13px !important; }

.sched-table thead th .th-ic { display:inline-flex; vertical-align:middle; margin-right:7px; color:#7c88b6; }
.sched-table thead th .th-ic svg { width:16px; height:16px; }
.sched-table thead th .th-sub { display:block; }

[data-leave-panel="balances"] .sched-head { background:#fff !important; color:#17214f; border-bottom:1px solid #eef0f7; padding:18px 22px; }
[data-leave-panel="balances"] .sched-head h3 { color:#14214f !important; font-size:20px; margin:0; }
[data-leave-panel="balances"] .sched-head p { color:#7b86a0 !important; margin:3px 0 0; font-size:13px; }
[data-leave-panel="balances"] tbody tr { cursor:default; }
.sched-table td.num .badge { font-size:12.5px; }

/* Bütün məzuniyyət tabları: eyni başlıq dizaynı */
.leave-management-panel .sched-head { background:#fff !important; color:#17214f; border-bottom:1px solid #eef0f7; padding:18px 22px; }
.leave-management-panel .sched-head h3 { color:#14214f !important; font-size:20px; margin:0; }
.leave-management-panel .sched-head p { color:#7b86a0 !important; margin:3px 0 0; font-size:13px; max-width:760px; }
.leave-request-table.sched-table td .btn { margin:2px; }

/* ===== düzəlişlər: tünd başlıq, yuvarlaq cədvəl çərçivəsi, kiçik input ===== */
.leave-management-panel .leave-panel-head.sched-head { background:#242559 !important; color:#ffffff !important; border-bottom:0; }
.leave-management-panel .sched-head h3 { color:#ffffff !important; }
.leave-management-panel .sched-head p { color:#c9cdf2 !important; }
.leave-management-panel .sched-head .sched-head-icon { background:rgba(255,255,255,.14); color:#ffffff; }
[data-leave-panel="schedule"] .sched-head, [data-leave-panel="balances"] .sched-head { background:#242559 !important; color:#ffffff !important; }
[data-leave-panel="schedule"] .sched-head h3, [data-leave-panel="balances"] .sched-head h3 { color:#ffffff !important; }
[data-leave-panel="schedule"] .sched-head p, [data-leave-panel="balances"] .sched-head p { color:#c9cdf2 !important; }

.sched-wrap { margin:16px 18px 18px; padding:0 !important; border:1px solid #e6e9f5; border-radius:18px; overflow-x:auto; overflow-y:hidden; background:#fff; box-shadow:0 6px 24px rgba(40,52,120,.06); }
.sched-wrap .sched-table { border:0 !important; border-radius:0 !important; box-shadow:none !important; min-width:max-content; width:100%; }

.leave-carry-input { width:62px !important; height:30px !important; padding:0 8px !important; font-size:13px !important; border-radius:10px !important; border:1.5px solid #e3e6f5 !important; text-align:center !important; }
.leave-carry-input.is-manual { border-color:#3f3db4 !important; }
.sched-table td .pill { font-size:11.5px; padding:4px 10px; }
.sched-table td .sched-year-chip + div { margin-top:8px; }
.sched-table td > div > .pill { margin-top:2px; }

.leave-management-tabs .tab-ic { width:17px; height:17px; flex:0 0 17px; }

/* ===== sıxlaşdırılmış cədvəl + sağ kənar kəsilməsi düzəlişi ===== */
.sched-wrap { width:auto !important; max-width:none !important; box-sizing:border-box; margin:14px 16px 16px !important; }
.sched-table thead th { padding:11px 8px !important; font-size:12px !important; }
.sched-table thead th .th-ic { margin-right:5px; }
.sched-table thead th .th-ic svg { width:14px; height:14px; }
.sched-table thead th .th-sub { max-width:150px !important; font-size:9.5px !important; }
.sched-table tbody td { padding:9px 8px !important; font-size:12.5px !important; }
.sched-year-chip { padding:5px 9px !important; gap:7px !important; border-radius:10px !important; }
.sched-year-ic { width:23px !important; height:23px !important; border-radius:7px !important; }
.sched-year-ic svg { width:13px !important; height:13px !important; }
.sched-dept { min-width:110px !important; }
.sched-table .cell-person { gap:8px; }
.sched-table .cell-person small { display:block; }
.sched-act-btn { width:32px !important; height:32px !important; border-radius:10px !important; }
.sched-act-btn svg { width:15px !important; height:15px !important; }
.sched-actions { gap:6px !important; }
.sched-table .leave-plan-chip { min-height:38px !important; }
.sched-table td .pill { font-size:11px !important; padding:4px 9px !important; }
.leave-carry-input { width:54px !important; height:28px !important; }
.sched-big { font-size:13px !important; }

/* İşçi sütunu: sola düzülür */
.sched-table th:first-child, .sched-table td:first-child { text-align:left !important; }
.sched-table td:first-child .cell-person { justify-content:flex-start !important; }

.pg-hide { display:none !important; }
.leave-management-panel .table-footer { padding:10px 20px 14px; }
.pg-size { height:28px; border:1.5px solid #e3e6f5; border-radius:8px; background:#fff; font:inherit; font-size:12px; padding:0 6px; margin-left:4px; }
.leave-management-panel .page-btn { cursor:pointer; background:#fff; }
.leave-management-panel .page-btn.disabled { opacity:.45; pointer-events:none; }
.table-scroll-sync { margin:0 18px; }

/* ===== bütün səhifələrdə cədvəllər: yuvarlaq çərçivəli kart ===== */
.table-wrap:not(.sched-wrap) { border:1px solid #e6e9f5; border-radius:18px; background:#fff; margin:12px 16px 14px; box-shadow:0 6px 24px rgba(40,52,120,.05); }
.table-wrap:not(.sched-wrap) > table.data-table { margin-top:0; border-collapse:separate; border-spacing:0; }
.table-wrap:not(.sched-wrap) .data-table thead th { border-bottom:1px solid #e6e9f5; }
.table-wrap:not(.sched-wrap) .data-table tbody tr:last-child td { border-bottom:0; }
.table-wrap + .table-scroll-sync { margin-left:16px; margin-right:16px; }
.modal-body .table-wrap:not(.sched-wrap) { margin:8px 0; box-shadow:none; }

/* Cədvəl başlıqlarının ikonu (hər səhifədə) */
.data-table thead th .th-ic { display:inline-flex; vertical-align:middle; margin-right:6px; color:#7c88b6; }
.data-table thead th .th-ic svg { width:14px; height:14px; }

.leave-management-panel .page-btn.active { background:#242559 !important; border-color:#242559 !important; color:#fff !important; font-weight:800; }

/* Məzuniyyət cədvəllərinin başlıq rəngi */
.leave-management-panel .sched-table thead th { color:#40449a !important; }
.leave-management-panel .sched-table thead th .th-ic { color:#40449a; }

/* Məzuniyyət panel başlıqları: qradiyent fon */
.leave-management-panel .leave-panel-head.sched-head,
[data-leave-panel="schedule"] .sched-head, [data-leave-panel="balances"] .sched-head { background:linear-gradient(115deg, rgb(58, 63, 179) 0%, rgb(87, 84, 227) 55%, rgb(143, 120, 240) 100%) !important; }

/* Başlıq ikonları: hər yerdə mətnin üstündə, eyni düzülüşlə */
.data-table thead th .th-ic { display:flex !important; justify-content:center; margin:0 auto 4px !important; vertical-align:baseline; }
.data-table thead th:first-child .th-ic { justify-content:flex-start; margin-left:0 !important; }
.leave-management-panel .sched-table thead th:first-child .th-ic { justify-content:flex-start; }
.data-table thead th .th-ic svg { width:16px; height:16px; }

/* PMH (Tədris yükü) cədvəllərinin başlıq rəngi */
.workload-directory .data-table:not(.stats-table):not(.import-issues-table) thead th,
.data-table.semester-summary-table thead th { color:#40449a !important; }
.workload-directory .data-table:not(.stats-table) thead th .th-ic,
.data-table.semester-summary-table thead th .th-ic { color:#40449a; }

/* Təxmini qəbul tarixi: isti rəngli çip (söz yazılmır) */
.sched-year-chip.chip-warm { background:#fff1d6; color:#b9670a; }
.sched-year-chip.chip-warm .sched-year-ic { background:#fde0a2; color:#b9670a; }

/* Keçən ildən qalıq inputu: alçaq, enli */
.leave-carry-input { width:86px !important; height:24px !important; padding:0 6px !important; font-size:12.5px !important; line-height:24px !important; border-radius:8px !important; text-align:center !important; }

/* Uçot filtrləri */
.flt-hide { display:none !important; }
[data-leave-panel="balances"] .table-search-bar { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.bal-filters { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.bal-filters select, .bal-filters input[type=date] { height:40px; border:1.5px solid #e3e6f5; border-radius:14px; background:#fff; color:#26286b; font:inherit; font-size:13px; font-weight:600; padding:0 12px; }
.bal-filters .bal-date { display:inline-flex; align-items:center; gap:6px; height:40px; padding:0 8px 0 12px; border:1.5px solid #e3e6f5; border-radius:14px; background:#fff; font-size:12.5px; font-weight:700; color:#40449a; }
.bal-filters .bal-date input[type=date] { height:32px; border-radius:10px; padding:0 8px; }
.bal-filters .bal-date i { color:#8a93a8; font-style:normal; }
.bal-filters .bal-reset { height:40px; padding:0 14px; border:0; border-radius:14px; background:#fdecee; color:#c0283c; font:inherit; font-size:12.5px; font-weight:700; cursor:pointer; }
.bal-filters .bal-reset[hidden] { display:none; }

/* Cəmi xanaları: min. hündürlük 30px */
.sched-table td[data-lv="total"] { height:30px; min-height:30px; }
.sched-table td[data-lv="total"] b, .sched-table td.num > b.sched-big:only-child { display:inline-block; min-height:30px; line-height:30px; }

/* .input qaydalarının min-height-ı carry inputunu böyüdürdü */
input.input.leave-carry-input, .sched-table .leave-carry-input { height:24px !important; min-height:0 !important; box-sizing:border-box !important; width:86px !important; padding:0 6px !important; font-size:12.5px !important; line-height:22px !important; }
.sched-table td.num[data-lv="total"], .sched-table td[data-lv="total"] { min-height:30px; height:30px; }

/* Geri çağırma modalındakı inputlar */
#leave-recall-modal .input, #leave-recall-modal input[type="date"], #leave-recall-modal input[type="number"] { min-height:32px !important; padding:7px 14px !important; height:auto !important; }

[data-leave-panel="schedule"] .table-search-bar { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }

/* Geri çağırma modalı: ikonlu inputlarda ikon mətnin üstünə düşməsin (sol boşluq saxlanır) */
#leave-recall-modal .field-icon .input,
#leave-recall-modal .field-icon input:not([type="checkbox"]):not([type="radio"]) { padding:7px 14px 7px 50px !important; }

/* Uçot filtri: müasir dropdown */
.bal-chip { position:relative; }
.bal-chip .wl-chip { display:inline-flex; align-items:center; gap:8px; padding:0 14px; cursor:pointer; }
.bal-chip .chip-dropdown-menu { min-width:100%; top:calc(100% + 6px); left:0; z-index:60; }
.bal-chip .chip-dropdown-item.active { background:#eef0ff; color:#40449a; font-weight:800; }

/* Hesabat parametrləri: açılan siyahı kartın kənarında kəsilməsin */
.analytics-report-page .analytics-report-card, .analytics-report-page .analytics-report-body, .analytics-report-page .analytics-filter-grid { overflow:visible !important; }
.analytics-report-page .modern-select-menu, .analytics-report-page .modern-select-list, .analytics-report-page [class*="modern-select"][class*="menu"] { z-index:80; }
.analytics-report-page .analytics-filter-grid { margin-bottom:14px; }

/* Elmi dərəcə və Elmi ad hesabatı: Məzuniyyət uçotu ilə eyni dizayn */
.analytics-report-page .sched-head { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px 22px; background:linear-gradient(115deg, rgb(58, 63, 179) 0%, rgb(87, 84, 227) 55%, rgb(143, 120, 240) 100%) !important; color:#fff !important; }
.analytics-report-page .sched-head h3 { color:#fff !important; font-size:20px; margin:0; }
.analytics-report-page .sched-head p { color:#c9cdf2 !important; margin:3px 0 0; font-size:13px; }
.analytics-report-page .sched-head .sched-head-icon { background:rgba(255,255,255,.14); color:#fff; }
.analytics-report-page .sched-table thead th { color:#40449a !important; }
.analytics-report-page .sched-table thead th .th-ic { color:#40449a; }
.analytics-report-page .sched-table tfoot td { padding:12px 8px; background:#fafbff; border-top:1px solid #e6e9f5; color:#14214f; }
#sci-people-modal .sched-table thead th { color:#40449a !important; }

/* İşçilərin siyahısı modalı: responsiv, başlıq və aşağı hissə həmişə görünür */
.sci-modal-box { max-width:1100px; width:100%; max-height:90vh; display:flex; flex-direction:column; }
.sci-modal-box .modal-header { flex-shrink:0; }
.sci-modal-box .modal-body { overflow-y:auto; flex:1; min-height:0; }
@media (max-width: 700px) { .sci-modal-box { max-height:94vh; max-width:96vw; } }
#sci-people-modal .table-search-bar { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:10px; }
#sci-people-modal .sci-modal-tools .wl-pill { background:#eef0ff; color:#40449a; border-color:#dfe3f7; height:40px; }
#sci-people-modal .sci-modal-tools .wl-pill:hover { background:#e2e6ff; }
#sci-people-modal .sched-wrap { margin:0 !important; }

/* İşçilərin siyahısı modalı: enli */
#sci-people-modal .modal-box.sci-modal-box { width:min(1500px, 96vw) !important; max-width:min(1500px, 96vw) !important; }

/* Siyahı modalı: Excel / Çap düymələri */
#sci-people-modal .sci-modal-tools .wl-pill { background:var(--navy-700) !important; color:#fff !important; border-color:transparent !important; box-shadow:0 6px 14px rgba(38,45,110,.18); gap:8px; }
#sci-people-modal .sci-modal-tools .wl-pill:hover { background:var(--navy-600, #2f3a8f) !important; }
#sci-people-modal .sci-modal-tools .wl-pill svg { width:16px; height:16px; flex:0 0 16px; color:#fff; stroke:#fff; }

/* Hesabat parametrləri: 4 sütun (3 filtr + Hesabatı hazırla) */
.analytics-filter-grid-4 { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:16px; align-items:end; margin-bottom:14px; }
.analytics-filter-grid-4 .analytics-run-cell { display:flex; align-items:flex-end; }
.analytics-filter-grid-4 .analytics-run-button { width:100%; height:44px; margin:0; justify-content:center; }
@media (max-width: 900px) { .analytics-filter-grid-4 { grid-template-columns:repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .analytics-filter-grid-4 { grid-template-columns:1fr; } }

.analytics-report-back { display:inline-flex; align-items:center; gap:8px; text-decoration:none; cursor:pointer; }
.analytics-report-back:hover { filter:brightness(1.08); }

.analytics-report-hero .page-eyebrow { color:#ffffff; }
/* Siyahı modalı: cədvəl daxilində scroll (sabit başlıq) */
#sci-people-modal .table-wrap.sched-wrap { max-height:52vh; overflow:auto; }
#sci-people-modal .table-wrap.sched-wrap thead th { position:sticky; top:0; z-index:3; }
#sci-people-modal .table-footer { padding:10px 4px 0; }
#sci-people-modal .page-btn.active { background:#242559 !important; border-color:#242559 !important; color:#fff !important; font-weight:800; }
#sci-people-modal .page-btn { cursor:pointer; background:#fff; }
#sci-people-modal .page-btn.disabled { opacity:.45; pointer-events:none; }
#sci-people-modal tbody td:first-child, #sci-people-modal thead th:first-child { width:46px; text-align:center !important; }
#sci-people-modal .sched-table th:nth-child(2), #sci-people-modal .sched-table td:nth-child(2) { text-align:left !important; }
#sci-people-modal .sched-table td:nth-child(2) .cell-person { justify-content:flex-start !important; }

/* Hesabat alətlər sətri: İşçilərin siyahısı / Excel / Word / Çap — navy düymələr, ikonlu */
.analytics-report-page .table-toolbar .wl-pill { background:var(--navy-700) !important; color:#fff !important; border-color:transparent !important; box-shadow:0 6px 14px rgba(38,45,110,.18); gap:8px; height:40px; }
.analytics-report-page .table-toolbar .wl-pill:hover { background:var(--navy-600, #2f3a8f) !important; }
.analytics-report-page .table-toolbar .wl-pill svg { width:16px; height:16px; flex:0 0 16px; color:#fff; stroke:#fff; }

/* Hesabat səhifəsi üst başlığı (statistika paneli üslubu) */
.sd-head { display:flex; align-items:center; justify-content:space-between; gap:18px; flex-wrap:wrap; }
.sd-head-solo { margin-bottom:18px; padding:4px 2px; }
.sd-head-title { display:flex; align-items:center; gap:14px; min-width:280px; }
.sd-head-icon { width:56px; height:56px; display:grid; place-items:center; border-radius:16px; background:#e4ecff; color:#3b5bd6; flex:0 0 56px; }
.sd-head-icon svg { width:28px; height:28px; }
.sd-head h2 { margin:0; font-size:24px; font-weight:800; color:#14214f; letter-spacing:-.01em; }
.sd-head p { margin:4px 0 0; color:#5b6788; font-size:13px; max-width:620px; }
.sd-back { display:inline-flex; align-items:center; gap:8px; height:40px; padding:0 16px; border:1px solid #dfe3f7; border-radius:12px; background:#fff; color:#40449a; font-size:13px; font-weight:700; text-decoration:none; box-shadow:0 2px 8px rgba(40,52,120,.06); }
.sd-back:hover { background:#eef0ff; }
.sd-back svg { width:16px; height:16px; }

/* ===== Elmi dərəcə və Elmi ad — statistika paneli ===== */
.sd-page { display:flex; flex-direction:column; gap:18px; }
.sd-head { display:flex; align-items:center; justify-content:space-between; gap:18px; flex-wrap:wrap; }
.sd-head-title { display:flex; align-items:center; gap:14px; min-width:280px; }
.sd-head-icon { width:56px; height:56px; display:grid; place-items:center; border-radius:16px; background:#e4ecff; color:#3b5bd6; flex:0 0 56px; }
.sd-head-icon svg { width:28px; height:28px; }
.sd-head h2 { margin:0; font-size:24px; font-weight:800; color:#14214f; letter-spacing:-.01em; }
.sd-head p { margin:4px 0 0; color:#5b6788; font-size:13px; max-width:560px; }
.sd-filters { display:flex; align-items:flex-end; gap:10px; flex-wrap:wrap; }
.sd-search { position:relative; }
.sd-search svg { position:absolute; left:14px; top:50%; transform:translateY(-50%); width:17px; height:17px; color:#6b7592; }
.sd-search input { height:48px; width:240px; padding:0 14px 0 40px; border:1px solid #e3e7f4; border-radius:14px; background:#fff; font:inherit; font-size:13px; }
.sd-sel { display:flex; flex-direction:column; gap:2px; padding:6px 12px 4px; border:1px solid #e3e7f4; border-radius:12px; background:#fff; min-width:140px; }
.sd-sel small { font-size:10.5px; color:#6b7592; font-weight:700; }
.sd-sel select { border:0; background:transparent; font:inherit; font-size:13px; font-weight:600; color:#14214f; outline:none; padding:2px 0; max-width:190px; }
.sd-reset { display:inline-flex; align-items:center; gap:7px; height:44px; padding:0 12px; border:0; background:transparent; color:#3b5bd6; font:inherit; font-size:13px; font-weight:700; cursor:pointer; }
.sd-reset svg { width:16px; height:16px; }
.sd-stats { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:16px; }
.sd-stat { display:flex; align-items:center; gap:16px; padding:22px 24px; background:#fff; border:1px solid #e8ebf6; border-radius:18px; box-shadow:0 4px 18px rgba(40,52,120,.05); }
.sd-stat small { display:block; color:#4a5575; font-size:13px; font-weight:600; }
.sd-stat b { display:block; margin-top:6px; font-size:30px; font-weight:800; color:#111a44; letter-spacing:-.02em; }
.sd-stat-ic { width:56px; height:56px; display:grid; place-items:center; border-radius:50%; flex:0 0 56px; }
.sd-stat-ic svg { width:26px; height:26px; }
.ic-blue { background:#e3eeff; color:#3b6fe0; } .ic-violet { background:#efe8ff; color:#7d4fd6; } .ic-green { background:#dff5ea; color:#1f9d6a; }
.sd-charts { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:16px; }
.sd-card { background:#fff; border:1px solid #e8ebf6; border-radius:18px; padding:20px 22px; box-shadow:0 4px 18px rgba(40,52,120,.05); min-width:0; }
.sd-card h3 { margin:0 0 14px; font-size:15px; font-weight:800; color:#14214f; }
.sd-bars { display:flex; flex-direction:column; gap:22px; padding-top:8px; }
.sd-bar-row { display:grid; grid-template-columns:96px 1fr 38px; align-items:center; gap:10px; font-size:12.5px; color:#2b3563; }
.sd-bar-track { height:26px; background:#f3f5fb; border-radius:6px; overflow:hidden; }
.sd-bar-fill { height:100%; border-radius:0 6px 6px 0; min-width:3px; transition:width .35s ease; }
.sd-bar-row b { font-weight:800; color:#14214f; }
.sd-donut { display:flex; flex-direction:column; align-items:center; gap:10px; }
.sd-legend { display:flex; gap:20px; flex-wrap:wrap; justify-content:center; font-size:12.5px; color:#2b3563; }
.sd-legend i { display:inline-block; width:12px; height:12px; border-radius:50%; margin-right:6px; vertical-align:-1px; }
.sd-legend-c { margin-top:4px; }
.sd-table-card { padding:0; overflow:hidden; }
.sd-table-head { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:18px 22px 12px; flex-wrap:wrap; }
.sd-table-head h3 { margin:0; }
.sd-tools { display:flex; gap:10px; }
.sd-tool { display:inline-flex; align-items:center; gap:8px; height:40px; padding:0 16px; border:1px solid #dfe3f7; border-radius:12px; background:#fff; color:#14214f; font:inherit; font-size:13px; font-weight:700; cursor:pointer; box-shadow:0 2px 8px rgba(40,52,120,.06); }
.sd-tool:hover { background:#eef0ff; }
.sd-tool svg { width:16px; height:16px; }
.sd-table-wrap { padding:0 14px 6px; overflow-x:auto; }
.sd-scroll { max-height:520px; overflow:auto; }
.sd-table { width:100%; border-collapse:separate; border-spacing:0; font-size:13px; }
.sd-table thead th { position:sticky; top:0; z-index:2; background:#f5f7fd; color:#40449a; font-size:12.5px; font-weight:800; text-align:left; padding:12px 14px; white-space:nowrap; }
.sd-table thead th:first-child { border-radius:10px 0 0 10px; } .sd-table thead th:last-child { border-radius:0 10px 10px 0; }
.sd-table tbody td, .sd-table tfoot td { padding:11px 14px; border-bottom:1px solid #eef0f7; color:#1e2a55; vertical-align:middle; }
.sd-table tbody td small { display:block; color:#8a93a8; font-size:11px; }
.sd-table tfoot td { background:#fafbff; border-bottom:0; }
.sd-table tbody tr:hover td { background:#f7f9ff; }
.sd-foot { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 22px 16px; flex-wrap:wrap; }
.sd-count { color:#6b7592; font-size:12.5px; }
.sd-pager { display:flex; align-items:center; gap:12px; }
.sd-pager select { height:32px; border:1px solid #e3e7f4; border-radius:8px; background:#fff; font:inherit; font-size:12px; padding:0 8px; }
.sd-pages { display:flex; gap:6px; align-items:center; }
.sd-pg { min-width:32px; height:32px; border:1px solid #e3e7f4; border-radius:8px; background:#fff; color:#14214f; font:inherit; font-size:12.5px; cursor:pointer; }
.sd-pg.active { background:#242559; border-color:#242559; color:#fff; font-weight:800; }
.sd-pg.disabled { opacity:.4; pointer-events:none; }
.sd-pg-gap { color:#8a93a8; }
@media (max-width: 1200px) { .sd-charts, .sd-stats { grid-template-columns:repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sd-charts, .sd-stats { grid-template-columns:1fr; } .sd-search input { width:100%; } }

.sd-modal-tools { display:flex; justify-content:flex-end; margin-bottom:10px; }
#sd-people-modal .sd-table-wrap { padding:0; }
#sd-people-modal .sd-scroll { max-height:52vh; }
#sd-people-modal .sd-foot { padding:12px 2px 0; }

.sd-head h2 { display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.sd-head h2 .sd-back { font-size:13px; font-weight:700; letter-spacing:0; height:36px; }

/* Hesabatlara qayıt: başlıq sahəsinin sağ kənarında */
.sd-head-title { flex:1 1 420px; }
.sd-head-title > div { flex:1; min-width:0; }
.sd-head h2 { width:100%; }
.sd-head h2 .sd-back { margin-left:auto; float:right; }

.sd-stat em { display:inline-block; margin-left:8px; font-style:normal; font-weight:800; font-size:14px; color:#6b7592; }
a.sd-tool { text-decoration:none; }

/* Ştat cədvəli statistikası: sütun başlıqları oxunsun (ümumi 'thead th' fonu qaydasını üstələyir) */
.workload-directory table.data-table.stats-table thead th { background:var(--navy-600) !important; color:#fff !important; }
.workload-directory table.data-table.stats-table thead th.stats-th-highlight { background:var(--navy-700,#1b2458) !important; }
.workload-directory table.data-table.stats-table thead tr.stats-col-letters th,
.workload-directory table.data-table.stats-table thead th.stats-row-num { background:#dfe3ee !important; color:var(--navy-700,#1b2458) !important; }
.workload-directory table.data-table.stats-table thead th .th-ic { color:#fff; }
.workload-directory table.data-table.stats-table thead th .stats-formula-th { color:rgba(255,255,255,.72) !important; }

/* Statistika panelləri: müasir select (kiçik etiketli süzgəc kartında) */
.sd-sel .modern-select-shell { width:100%; }
.sd-sel .modern-select-trigger { border:0 !important; background:transparent !important; box-shadow:none !important; padding:2px 0 !important; min-height:0 !important; height:auto !important; font-size:13px; font-weight:600; color:#14214f; gap:10px; }
.sd-sel .modern-select-trigger-label { max-width:170px; }
.sd-sel .chip-dropdown-menu { min-width:230px; max-height:300px; overflow:auto; z-index:80; }
.sd-sel { position:relative; }
.sd-pager .modern-select-shell { width:78px; }
.sd-pager .modern-select-trigger { height:32px !important; min-height:0 !important; padding:0 10px !important; font-size:12px; border-radius:8px; }
.sd-pager .chip-dropdown-menu { min-width:78px; bottom:calc(100% + 4px); top:auto; z-index:80; }

/* Statistika səhifəsi: süzgəclər solda, Excel/Çap sağda; geri qayıt düyməsi başlığın sağında */
.sd-bar { display:flex; align-items:flex-end; justify-content:space-between; gap:14px; flex-wrap:wrap; }
.sd-bar .sd-tools { margin-left:auto; }
.sd-head .sd-tool[href*="StaffSchedule"] { flex:0 0 auto; }

/* Ştat statistikası cədvəli: sabit çoxsətirli başlıq düzgün üst-üstə düşsün */
.workload-directory table.data-table.stats-table thead th { position:sticky; }
.workload-directory table.data-table.stats-table thead th.stats-row-num { z-index:11; }

/* PMH (Tədris yükü) süzgəc selectləri */
.workload-directory .wl-chip, .wl-toolbar .wl-chip, .workload-directory .select-chip,
.workload-directory .wl-toolbar .modern-select-trigger, .wl-toolbar .modern-select-trigger {
  border:1.5px solid #dfe0e673 !important; box-shadow:0 6px 14px rgba(38, 45, 110, .18) !important;
}

/* PMH cədvəl daxilindəki və versiya selectləri */
.workload-directory select, .workload-directory .modern-select-trigger, #staff-version-select, #staff-contract-filter {
  border:1.5px solid #dfe0e673 !important; box-shadow:0 6px 14px rgba(38, 45, 110, .18) !important;
}

/* PMH (Tədris yükü) düymələri: select-lərlə eyni kölgə */
.workload-directory .btn, .workload-directory .workload-import-btn, .workload-directory .sd-tool,
.workload-directory .wl-pill, .workload-directory .page-btn, .workload-directory .staff-unit-pill,
.workload-directory .staff-count-pill, .workload-directory .staff-total-pill {
  box-shadow:0 6px 14px rgba(38, 45, 110, .18) !important;
}
.workload-directory .btn:disabled, .workload-directory .page-btn.disabled { box-shadow:none !important; }

/* Bütün "geri qayıt" düymələri: ağ pill + border + kölgə */
.sd-back, .report-back-link, .pmh-hero-card-back, .staff-back-btn,
a.btn[href*="Accounts"][class*="btn-outline"], .profile-v4-action-btn[href*="MyProfile"] {
  display:inline-flex !important; align-items:center; gap:8px; height:40px; padding:0 16px !important;
  border:1.5px solid #dfe3f7 !important; border-radius:14px !important; background:#fff !important;
  color:#40449a !important; font-size:13px; font-weight:700; text-decoration:none !important;
  box-shadow:0 6px 14px rgba(38, 45, 110, .18) !important;
}
.sd-back:hover, .report-back-link:hover, .pmh-hero-card-back:hover, .staff-back-btn:hover { background:#eef0ff !important; }
.sd-back svg, .report-back-link svg, .pmh-hero-card-back svg { width:16px; height:16px; }

/* Axtarış sahələri: kölgə */
.wl-search, .sd-filters .sd-search, .sd-search, .table-search-bar .wl-search {
  box-shadow:0 6px 14px rgba(38, 45, 110, .18) !important;
}

/* Tədris yükü başlıq kartındakı düymələr (Modullara qayıt, Excel yüklə) */
.workload-header-card .btn, .workload-header-card .workload-import-btn {
  box-shadow:0 6px 14px rgba(38, 45, 110, .18) !important;
}
.workload-header-card a.btn-outline {
  background:#fff !important; border:1.5px solid #dfe3f7 !important; border-radius:14px !important; color:#40449a !important; font-weight:700;
}

/* Geri qayıt düyməsi — vahid böyük pill dizayn */
.sd-back, .report-back-link, .pmh-hero-card-back, .staff-back-btn,
.workload-header-card a.sd-back, .sd-head h2 .sd-back,
a.btn[href*="Accounts"][class*="btn-outline"], .profile-v4-action-btn[href*="MyProfile"] {
  height:48px !important; padding:0 24px !important; gap:12px !important;
  border:1.5px solid #dfe3f7 !important; border-radius:18px !important; background:#fff !important;
  color:#40449a !important; font-size:16px !important; font-weight:700 !important; letter-spacing:0 !important;
  box-shadow:0 6px 18px rgba(38, 45, 110, .14) !important;
}
.sd-back svg, .report-back-link svg, .pmh-hero-card-back svg, .staff-back-btn svg { width:22px !important; height:22px !important; stroke-width:2 !important; }

/* Uyğunsuzluqlar / Payız-Yaz cəmi: ağ fon; Excel yüklə: tünd */
#btn-show-import-issues, .wl-pill.wl-pill-soft[href*="SemesterSummary"] {
  background:#ffffff !important; color:#3a41a1 !important;
}
.workload-header-card .workload-import-btn, .workload-import-btn[data-modal-open="modal-import-workload"] {
  background:#242559 !important; border:1.5px solid #dfe3f7 !important; border-radius:14px !important;
  color:#ffffff !important; font-weight:700;
}

/* Tədris yükü başlıq kartı: iki düymə eyni ölçüdə */
.workload-header-card .workload-header-top .sd-back, .workload-header-card .workload-header-top .workload-import-btn {
  height:42px !important; padding:0 20px !important; font-size:13.5px !important; border-radius:14px !important; gap:9px !important;
  display:inline-flex !important; align-items:center; box-sizing:border-box;
}
.workload-header-card .workload-header-top .sd-back svg, .workload-header-card .workload-header-top .workload-import-btn svg { width:17px !important; height:17px !important; }
.workload-header-card .workload-header-top { align-items:center; }
.workload-header-card .workload-header-top .sd-back { font-weight:700 !important; line-height:1; margin:0; }

/* hover-lər */
#btn-show-import-issues, .wl-pill.wl-pill-soft[href*="SemesterSummary"], .workload-header-card .btn { transition:background .15s, transform .15s, box-shadow .15s; }
#btn-show-import-issues:hover, .wl-pill.wl-pill-soft[href*="SemesterSummary"]:hover { background:#eef0ff !important; transform:translateY(-1px); box-shadow:0 8px 18px rgba(38,45,110,.26) !important; }
.workload-header-card .workload-import-btn:hover { background:#1a1b45 !important; transform:translateY(-1px); }
.workload-header-card .sd-back:hover { background:#eef0ff !important; transform:translateY(-1px); }

/* Tədris yükü cədvəlinin başlığı — "Elmi dərəcə və elmi ad üzrə" cədvəli ilə eyni */
.workload-directory #workload-table thead th,
.main .table-wrap #workload-table thead th {
  background:#f5f7fd !important; color:#40449a !important; font-size:12.5px; font-weight:800;
  text-align:left; padding:12px 14px; white-space:nowrap; border:none !important; text-transform:none; letter-spacing:0;
}
#workload-table thead th:first-child { border-radius:10px 0 0 10px; }
#workload-table thead th:last-child { border-radius:0 10px 10px 0; }
#workload-table thead th * { color:#40449a !important; }
#workload-table thead th svg { stroke:#40449a; }
#workload-table thead th { border:1px solid #c4c4ca29 !important; }

/* Cədvəl üfüqi scroll: nazik və rəngli */
.table-scroll-sync, .table-wrap { scrollbar-width:thin; scrollbar-color:#5b63c9 #e9ebf8; }
.table-scroll-sync::-webkit-scrollbar, .table-wrap::-webkit-scrollbar { height:7px; }
.table-scroll-sync::-webkit-scrollbar-track, .table-wrap::-webkit-scrollbar-track { background:#e9ebf8; border-radius:10px; }
.table-scroll-sync::-webkit-scrollbar-thumb, .table-wrap::-webkit-scrollbar-thumb { background:linear-gradient(90deg,#3a44a3,#5b63c9); border-radius:10px; }
.table-scroll-sync::-webkit-scrollbar-thumb:hover, .table-wrap::-webkit-scrollbar-thumb:hover { background:#242559; }
.table-scroll-sync > div { height:1px; }
.table-wrap { scrollbar-width:none !important; }
.table-wrap::-webkit-scrollbar { display:none !important; }
.table-scroll-sync::-webkit-scrollbar-button { display:none; width:0; height:0; }
.table-scroll-sync { height:10px; }

/* Scroll rəngi */
.table-scroll-sync { scrollbar-color:#1a25b76b #e9ebf8; }
.table-scroll-sync::-webkit-scrollbar-thumb { background:#1a25b76b; }
.table-scroll-sync::-webkit-scrollbar-thumb:hover { background:#1a25b7a6; }

/* Tədris yükü başlığı: yazı kəsilməsin, alt-alta düşsün */
#workload-table thead th { white-space:normal !important; overflow:visible !important; text-overflow:clip !important; min-width:120px; line-height:1.3; vertical-align:middle; }
#workload-table thead th .th-sort { white-space:normal !important; overflow:visible !important; text-overflow:clip !important; max-width:none !important; }

/* Semestr xülasəsi cədvəli — Tədris yükü ilə eyni başlıq */
.workload-directory table.semester-summary-table thead th,
.main .table-wrap table.semester-summary-table thead th {
  background:#f5f7fd !important; color:#40449a !important; font-size:12.5px; font-weight:800;
  text-align:left; padding:12px 14px; border:1px solid #c4c4ca29 !important; text-transform:none; letter-spacing:0;
  white-space:normal !important; overflow:visible !important; text-overflow:clip !important; min-width:120px; line-height:1.3; vertical-align:middle;
}
table.semester-summary-table thead th:first-child { border-radius:10px 0 0 10px; }
table.semester-summary-table thead th:last-child { border-radius:0 10px 10px 0; }
table.semester-summary-table thead th *, table.semester-summary-table thead th .th-ic svg { color:#40449a !important; }
table.semester-summary-table thead th .th-sort { white-space:normal !important; overflow:visible !important; max-width:none !important; }

/* Tədris yükü: # sütunu, sonda Əməliyyatlar */
#workload-table thead th.th-rownum, #workload-table thead th.th-actions { min-width:0; text-align:center; }
.row-num-cell { text-align:center; color:#6b7390; font-weight:700; }
.row-edit-btn { border:none; background:#eef0fd; color:#363983; width:32px; height:32px; border-radius:10px; display:inline-flex; align-items:center; justify-content:center; cursor:pointer; }
.row-edit-btn svg { width:15px; height:15px; }
.row-edit-btn:hover { background:#363983; color:#fff; }
tr[data-row-editing] .row-edit-btn { background:#363983; color:#fff; }
/* Statistika səhifəsinin başlığındakı geri düyməsi: kəsilməsin */
.sd-head .sd-back, .sd-head h2 .sd-back { height:40px !important; padding:0 18px !important; font-size:13.5px !important; border-radius:14px !important; gap:9px !important; float:none !important; }
.sd-head .sd-back svg { width:17px !important; height:17px !important; }

/* Tədris yükü / Semestr xülasəsi başlığı: kompakt, vahid — ikon yuxarıda, yazı bir sətirdə */
#workload-table thead th, table.semester-summary-table thead th {
  white-space:nowrap !important; min-width:0 !important; text-align:center !important; padding:10px 14px !important; line-height:1.2;
}
#workload-table thead th .th-sort, table.semester-summary-table thead th .th-sort { white-space:nowrap !important; justify-content:center; }
#workload-table thead th svg.th-lead-icon, table.semester-summary-table thead th svg.th-lead-icon,
#workload-table thead th .th-sigma-icon, table.semester-summary-table thead th .th-sigma-icon { display:none !important; }
#workload-table thead th .th-ic, table.semester-summary-table thead th .th-ic { display:flex !important; justify-content:center; margin:0 auto 4px !important; }
#workload-table thead th .th-ic svg, table.semester-summary-table thead th .th-ic svg { width:15px; height:15px; color:#40449a; }

/* Statistika süzgəcləri: nazik */
.sd-search { box-shadow:none !important; }
.sd-search input { height:38px !important; font-size:12.5px; border-radius:12px; box-shadow:0 6px 14px rgba(38,45,110,.18); }
.sd-search svg { width:15px; height:15px; }
.sd-sel { padding:4px 12px 3px !important; gap:0 !important; border-radius:12px; min-width:130px; }
.sd-sel small { font-size:10px; line-height:1.2; }
.sd-sel select, .sd-sel .modern-select-trigger { font-size:12.5px !important; padding:0 !important; }
.sd-sel { box-shadow:0 6px 14px rgba(38,45,110,.18); }
.sd-reset { font-size:12.5px; }

/* Semestr xülasəsi — Tədris yükü ilə eyni düymə/select dizaynı */
.workload-header-card .pmh-staff-btn {
  background:#242559 !important; color:#fff !important; border:1.5px solid #dfe3f7 !important; border-radius:14px !important;
  font-weight:700; height:42px; padding:0 20px !important; font-size:13.5px; display:inline-flex; align-items:center; gap:9px;
  box-shadow:0 6px 14px rgba(38,45,110,.18) !important;
}
.workload-header-card .pmh-staff-btn:hover { background:#1a1b45 !important; transform:translateY(-1px); }
.sum-toolbar .wl-pill, .sum-toolbar .sum-add-btn {
  background:#ffffff !important; color:#3a41a1 !important; border:1.5px solid #dfe3f7 !important; font-weight:700;
  box-shadow:0 6px 14px rgba(38,45,110,.18) !important; transition:background .15s, transform .15s;
}
.sum-toolbar .wl-pill:hover { background:#eef0ff !important; transform:translateY(-1px); }
.sum-toolbar .wl-pill svg { color:#3a41a1; }
.sum-toolbar .wl-search { box-shadow:0 6px 14px rgba(38,45,110,.18) !important; }

/* Kafedra filtr selectləri: Tədris yükü qeydlərindəki ilə eyni */
.wl-toolbar .staff-rank-chip.wl-chip { height:40px !important; border-radius:14px !important; border:1.5px solid #dfe0e673 !important; background:#fff !important; color:#26286b !important; font-weight:600; box-shadow:0 6px 14px rgba(38,45,110,.18) !important; }
.wl-toolbar .staff-rank-chip.wl-chip:hover { background:#eef0ff !important; }

/* E04 süzgəcləri: label yoxdur; Filtri sıfırla düymə */
.sd-sel { padding:0 !important; min-width:170px; border:0 !important; background:transparent !important; box-shadow:none !important; }
.sd-sel select, .sd-sel .modern-select-trigger {
  height:38px !important; padding:0 14px !important; border:1.5px solid #dfe0e673 !important; border-radius:12px !important;
  background:#fff !important; box-shadow:0 6px 14px rgba(38,45,110,.18) !important; font-size:12.5px !important; font-weight:600; color:#26286b;
}
.sd-reset { height:38px !important; padding:0 18px !important; border:1.5px solid #dfe3f7 !important; border-radius:12px !important; background:#fff !important; color:#3a41a1 !important; font-weight:700; box-shadow:0 6px 14px rgba(38,45,110,.18); cursor:pointer; }
.sd-reset:hover { background:#eef0ff !important; }
.sd-search input { border:1.5px solid #dfe0e673 !important; border-radius:12px !important; }

/* Tünd düymələrdə hover: yazı və ikon ağ qalsın */
.workload-header-card .pmh-staff-btn:hover, .workload-header-card .pmh-staff-btn:hover *,
.workload-header-card .pmh-staff-btn:focus, .workload-header-card .pmh-staff-btn:focus *,
.workload-header-card .workload-import-btn:hover, .workload-header-card .workload-import-btn:hover *,
.workload-header-card .workload-import-btn:focus, .workload-header-card .workload-import-btn:focus * { color:#fff !important; }
.workload-header-card .pmh-staff-btn:hover svg, .workload-header-card .workload-import-btn:hover svg { stroke:#fff; }

/* Ştat cədvəli statistikası / PMH Ştat cədvəli: eyni tünd düymə */
.workload-header-card .staff-stats-btn, .workload-header-card .pmh-staff-btn {
  background:#242559 !important; color:#fff !important; border:1.5px solid #dfe3f7 !important; border-radius:14px !important;
  height:42px !important; padding:0 20px !important; font-size:13.5px !important; font-weight:700 !important; gap:9px !important;
  display:inline-flex !important; align-items:center; box-shadow:0 6px 14px rgba(38,45,110,.18) !important;
}
.workload-header-card .staff-stats-btn svg, .workload-header-card .pmh-staff-btn svg { width:17px !important; height:17px !important; stroke-width:1.8 !important; }
.workload-header-card .staff-stats-btn:hover, .workload-header-card .staff-stats-btn:hover *, .workload-header-card .pmh-staff-btn:hover * { color:#fff !important; }
.workload-header-card .staff-stats-btn:hover, .workload-header-card .pmh-staff-btn:hover { background:#1a1b45 !important; }

/* Axtarış sarğısındakı kvadrat kölgə: yalnız input kölgə alsın */
.sd-filters .sd-search, .sd-bar .sd-search, .sd-search { box-shadow:none !important; background:transparent !important; border-radius:12px; }
.sd-search input { box-shadow:0 6px 14px rgba(38,45,110,.18) !important; }

/* PMH cədvəllərinin yekun (tfoot) sətirləri */
.workload-directory .data-table tfoot td, .workload-directory .data-table tfoot th,
.workload-directory .data-table.stats-table tr.stats-row-total td, .workload-directory .data-table.stats-table tr.stats-row-total th,
.semester-summary-totals-row td {
  background:#242559 !important; color:#fff !important;
}
.workload-directory .data-table tfoot td *, .workload-directory .data-table.stats-table tr.stats-row-total td * { color:#fff !important; }

/* Uzun başlıqlar: maksimum 2 sətir, qalanı tooltip (title) ilə */
#workload-table thead th, table.semester-summary-table thead th {
  white-space:normal !important; min-width:130px !important; max-width:190px; line-height:1.25 !important; word-break:normal; overflow-wrap:break-word;
}
#workload-table thead th .th-sort, table.semester-summary-table thead th .th-sort { white-space:normal !important; display:inline-flex; text-align:center; }
#workload-table thead th.th-rownum, #workload-table thead th.th-actions, table.semester-summary-table thead th.semester-summary-hash { min-width:0 !important; }

/* ===== İdxal uyğunsuzluqları modalı — yeni dizayn ===== */
#modal-import-issues .import-issues-box { max-width:760px !important; width:calc(100% - 24px); border-radius:30px; overflow:hidden; background:#fff; box-shadow:0 30px 80px rgba(30,36,110,.35); padding:0; }
#modal-import-issues .modal-header.import-issues-header {
  position:relative; display:flex; align-items:center; gap:18px; padding:30px 34px; border:0; min-height:120px;
  background:linear-gradient(110deg,#2c3590 0%,#4a52c4 55%,#7a7fe6 100%); overflow:hidden;
}
#modal-import-issues .modal-header.import-issues-header::after { content:""; position:absolute; right:-40px; top:-60px; width:340px; height:240px; background:rgba(255,255,255,.07); transform:rotate(-18deg); border-radius:40px; pointer-events:none; }
.ii-head-ic { flex:0 0 auto; width:56px; height:56px; display:inline-flex; align-items:center; justify-content:center; color:#fff; }
.ii-head-ic svg { width:50px; height:50px; }
.ii-head-text { flex:1 1 auto; min-width:0; position:relative; z-index:1; }
#modal-import-issues .import-issues-header .modal-title { color:#fff; font-size:23px; font-weight:800; margin:0; }
#modal-import-issues .import-issues-header .muted { color:rgba(255,255,255,.9); font-size:14px !important; margin-top:6px !important; }
.ii-art { position:absolute; right:78px; top:8px; z-index:1; opacity:.98; pointer-events:none; }
.ii-art svg { display:block; }
#modal-import-issues .import-issues-header .modal-close { position:absolute; right:22px; top:22px; z-index:2; width:38px; height:38px; border-radius:50%; background:#fff; color:#3a41a1; border:0; font-size:22px; line-height:1; display:inline-flex; align-items:center; justify-content:center; cursor:pointer; box-shadow:0 4px 12px rgba(20,25,90,.25); }
#modal-import-issues .modal-body { padding:26px 34px 30px; background:#fff; }

#modal-import-issues .import-issues-section-title { display:flex; align-items:center; gap:14px; padding:16px 20px; margin:0 0 20px; border-radius:18px; background:#eceefc; }
#modal-import-issues .import-issues-section-title::before { content:"i"; flex:0 0 auto; width:34px; height:34px; border-radius:50%; background:#3f5be6; color:#fff; font:700 17px/34px Georgia,serif; text-align:center; }
#modal-import-issues .import-issues-label-pill { background:transparent !important; color:#1b1f5c !important; font-size:18px; font-weight:800; padding:0 !important; }
#modal-import-issues .import-issues-count-pill { min-width:50px; height:34px; padding:0 14px; border-radius:17px; background:#ea3a5a; color:#fff; font-size:17px; font-weight:800; display:inline-flex; align-items:center; justify-content:center; }

#modal-import-issues .table-wrap { border:1px solid #eceefa !important; border-radius:22px !important; background:#fff; box-shadow:0 8px 24px rgba(40,46,120,.08); margin-bottom:20px !important; overflow:auto; }
#modal-import-issues .import-issues-table { width:100%; border-collapse:collapse; }
#modal-import-issues .import-issues-table thead th { background:#f7f8fe !important; color:#1b1f5c !important; border:0 !important; font-size:17px; font-weight:800; text-align:left; padding:20px 24px; text-transform:none; }
#modal-import-issues .import-issues-th-icon { width:22px; height:22px; margin-right:14px; vertical-align:-4px; opacity:1; }
#modal-import-issues .import-issues-table tbody td { border:0 !important; border-top:0 !important; padding:22px 24px; font-size:21px; color:#1b1f5c; text-align:center; background:#fff; }
#modal-import-issues .import-issues-table tbody tr:nth-child(even) td { background:#f9faff; }
#modal-import-issues .import-issues-table tbody tr:first-child td { background:#e8ecfd; box-shadow:inset 4px 0 0 #3f5be6; }
#modal-import-issues .import-issues-table tbody tr:hover td { background:#eef0ff; }

#modal-import-issues .modal-actions { display:flex; gap:20px; margin-top:24px; padding-top:22px; border-top:1px solid #eceefa; }
#modal-import-issues .modal-actions .btn { flex:1 1 0; height:58px; border-radius:29px; font-size:19px; font-weight:800; display:inline-flex; align-items:center; justify-content:center; gap:14px; cursor:pointer; }
#modal-import-issues .ii-print-btn { background:#fff !important; color:#4a46d8 !important; border:2px solid #d9dbf6 !important; box-shadow:none !important; }
#modal-import-issues .ii-print-btn svg { width:26px !important; height:26px !important; }
#modal-import-issues .ii-print-btn:hover { background:#f3f4ff !important; }
#modal-import-issues .ii-close-btn { background:linear-gradient(100deg,#5b57e8 0%,#3f3fc2 100%) !important; color:#fff !important; border:0 !important; box-shadow:0 12px 26px rgba(70,70,210,.35) !important; }
#modal-import-issues .ii-close-btn:hover { filter:brightness(1.07); }
@media (max-width:640px) { .ii-art { display:none; } #modal-import-issues .modal-body { padding:20px; } #modal-import-issues .modal-actions { flex-direction:column; } }

.workload-directory #workload-table thead th, .main .table-wrap #workload-table thead th { font-size:10.5px !important; }

.workload-directory .data-table.semester-summary-table thead th, .workload-directory .data-table.semester-summary-table tbody td { border:1px solid #c4c4ca36 !important; }
/* başlıq daha dar */
#workload-table thead th, table.semester-summary-table thead th { min-width:96px !important; max-width:150px; padding:8px 8px !important; }
#workload-table thead th.th-rownum, #workload-table thead th.th-actions, table.semester-summary-table thead th.semester-summary-hash { min-width:0 !important; padding:8px 6px !important; }

/* Müqavilə şərti select: Kafedra çipləri ilə eyni ölçü/görünüş */
.wl-filter-group .modern-select-shell { display:inline-flex; }
.wl-filter-group .modern-select-trigger {
  height:40px !important; min-height:40px !important; border:1.5px solid #dfe0e673 !important; border-radius:14px !important;
  background:#fff !important; color:#26286b !important; font-size:13px !important; font-weight:600 !important; padding:0 14px !important;
  box-shadow:0 6px 14px rgba(38,45,110,.18) !important; min-width:210px;
}

/* İdxal modalı: şriftlər kiçildi, daxili scroll yox */
#modal-import-issues .import-issues-box { max-height:92vh; display:flex; flex-direction:column; }
#modal-import-issues .modal-body { overflow-y:auto; padding:20px 28px 24px; }
#modal-import-issues .modal-header.import-issues-header { min-height:96px; padding:22px 28px; }
#modal-import-issues .import-issues-header .modal-title { font-size:19px; }
#modal-import-issues .import-issues-header .muted { font-size:12.5px !important; margin-top:4px !important; }
.ii-head-ic svg { width:38px; height:38px; } .ii-head-ic { width:44px; height:44px; }
.ii-art { transform:scale(.8); transform-origin:right top; top:4px; }
#modal-import-issues .import-issues-section-title { padding:12px 16px; margin-bottom:14px; }
#modal-import-issues .import-issues-section-title::before { width:28px; height:28px; font-size:14px; line-height:28px; }
#modal-import-issues .import-issues-label-pill { font-size:15px; }
#modal-import-issues .import-issues-count-pill { min-width:40px; height:28px; font-size:14px; }
#modal-import-issues .table-wrap { overflow-x:hidden !important; }
#modal-import-issues .table-scroll-sync { display:none !important; }
#modal-import-issues .import-issues-table thead th { font-size:14px; padding:14px 18px; }
#modal-import-issues .import-issues-th-icon { width:18px; height:18px; margin-right:10px; }
#modal-import-issues .import-issues-table tbody td { font-size:16px; padding:14px 18px; }
#modal-import-issues .modal-actions { margin-top:16px; padding-top:16px; gap:14px; }
#modal-import-issues .modal-actions .btn { height:48px; font-size:15px; border-radius:24px; gap:10px; }
#modal-import-issues .ii-print-btn svg, #modal-import-issues .ii-close-btn svg { width:20px !important; height:20px !important; }

/* Akademik qrup: uzun siyahı vergüldən sonra alt-alta düşsün */
#workload-table td[data-field="AcademicGroup"] { white-space:normal !important; min-width:150px; max-width:170px; line-height:1.55; word-break:normal; overflow-wrap:anywhere; font-size:11px; }

/* Əməkdaşlar modalı — idxal modalı dizaynı */
#sd-people-modal .import-issues-box { max-width:980px !important; width:calc(100% - 24px); border-radius:30px; overflow:hidden; background:#fff; box-shadow:0 30px 80px rgba(30,36,110,.35); padding:0; max-height:92vh; display:flex; flex-direction:column; }
#sd-people-modal .modal-header.import-issues-header { position:relative; display:flex; align-items:center; gap:18px; padding:22px 28px; border:0; min-height:96px; background:linear-gradient(110deg,#2c3590 0%,#4a52c4 55%,#7a7fe6 100%); overflow:hidden; }
#sd-people-modal .modal-header.import-issues-header::after { content:""; position:absolute; right:-40px; top:-60px; width:340px; height:240px; background:rgba(255,255,255,.07); transform:rotate(-18deg); border-radius:40px; pointer-events:none; }
#sd-people-modal .import-issues-header .modal-title { color:#fff; font-size:19px; font-weight:800; margin:0; }
#sd-people-modal .import-issues-header .muted { color:rgba(255,255,255,.9); font-size:12.5px; margin-top:4px; }
#sd-people-modal .import-issues-header .modal-close { position:absolute; right:22px; top:22px; z-index:2; width:38px; height:38px; border-radius:50%; background:#fff; color:#3a41a1; border:0; font-size:22px; line-height:1; display:inline-flex; align-items:center; justify-content:center; cursor:pointer; box-shadow:0 4px 12px rgba(20,25,90,.25); }
#sd-people-modal .modal-body { padding:20px 28px 24px; background:#fff; overflow-y:auto; }
#sd-people-modal .import-issues-section-title { display:flex; align-items:center; gap:14px; padding:12px 16px; margin:0 0 14px; border-radius:18px; background:#eceefc; }
#sd-people-modal .import-issues-section-title::before { content:"i"; flex:0 0 auto; width:28px; height:28px; border-radius:50%; background:#3f5be6; color:#fff; font:700 14px/28px Georgia,serif; text-align:center; }
#sd-people-modal .import-issues-label-pill { background:transparent !important; color:#1b1f5c !important; font-size:15px; font-weight:800; padding:0 !important; }
#sd-people-modal .import-issues-count-pill { min-width:40px; height:28px; padding:0 12px; border-radius:14px; background:#ea3a5a; color:#fff; font-size:14px; font-weight:800; display:inline-flex; align-items:center; justify-content:center; }
#sd-people-modal .sd-people-wrap { border:1px solid #eceefa; border-radius:22px; background:#fff; box-shadow:0 8px 24px rgba(40,46,120,.08); overflow:auto; max-height:46vh; margin-bottom:6px; }
#sd-people-modal .sd-table-modern { width:100%; border-collapse:collapse; }
#sd-people-modal .sd-table-modern thead th { position:sticky; top:0; z-index:2; background:#f7f8fe !important; color:#1b1f5c !important; border:0 !important; font-size:13px; font-weight:800; text-align:left; padding:14px 16px; white-space:nowrap; border-radius:0 !important; }
.ii-th-ic { display:inline-flex; vertical-align:middle; margin-right:8px; color:#3a41a1; }
.ii-th-ic svg { width:17px; height:17px; }
#sd-people-modal .sd-table-modern tbody td { border:0 !important; padding:13px 16px; font-size:13.5px; color:#1b1f5c; background:#fff; vertical-align:middle; }
#sd-people-modal .sd-table-modern tbody tr:nth-child(even) td { background:#f9faff; }
#sd-people-modal .sd-table-modern tbody tr:first-child td { background:#e8ecfd; }
#sd-people-modal .sd-table-modern tbody tr:first-child td:first-child { box-shadow:inset 4px 0 0 #3f5be6; }
#sd-people-modal .sd-table-modern tbody tr:hover td { background:#eef0ff; }
#sd-people-modal .modal-actions { display:flex; gap:14px; margin-top:16px; padding-top:16px; border-top:1px solid #eceefa; }
#sd-people-modal .modal-actions .btn { flex:1 1 0; height:48px; border-radius:24px; font-size:15px; font-weight:800; display:inline-flex; align-items:center; justify-content:center; gap:10px; cursor:pointer; }
#sd-people-modal .modal-actions .btn svg { width:20px; height:20px; }
#sd-people-modal .ii-print-btn { background:#fff !important; color:#4a46d8 !important; border:2px solid #d9dbf6 !important; box-shadow:none !important; }
#sd-people-modal .ii-print-btn:hover { background:#f3f4ff !important; }
#sd-people-modal .ii-close-btn { background:linear-gradient(100deg,#5b57e8 0%,#3f3fc2 100%) !important; color:#fff !important; border:0 !important; box-shadow:0 12px 26px rgba(70,70,210,.35) !important; }
@media (max-width:640px) { #sd-people-modal .ii-art { display:none; } #sd-people-modal .modal-actions { flex-direction:column; } }
#sd-people-modal .table-scroll-sync { display:none !important; }

/* Cədvəl kartının başlığı: gradient fon, ağ yazı */
.sd-table-head { background:linear-gradient(115deg, rgb(58, 63, 179) 0%, rgb(87, 84, 227) 55%, rgb(143, 120, 240) 100%) !important; color:#fff; }
.sd-table-head h3, .sd-table-head p, .sd-table-head small, .sd-table-head span { color:#fff !important; }
.sd-table-head .sd-tool { background:#fff; color:#3a41a1; }
.sd-table-head .sd-tool, .sd-table-head .sd-tool * { color:#3a41a1 !important; }
.sd-table tfoot td { background:#242559 !important; color:#fff !important; }
.sd-table tfoot td * { color:#fff !important; }
.sd-bday-badge { display:inline-block; margin-left:6px; padding:1px 8px; border-radius:10px; background:#e0607a; color:#fff; font-size:10px; font-weight:800; vertical-align:middle; }

/* ===== İşçiləri toplu düzəlt (müvəqqəti) ===== */
.be-count { display:inline-block; margin-left:8px; padding:2px 10px; border-radius:12px; background:rgba(255,255,255,.2); color:#fff; font-size:12px; font-weight:800; }
.be-legend { display:flex; gap:14px; font-size:12px; color:#fff; }
.be-legend span { display:inline-flex; align-items:center; gap:6px; color:#fff !important; }
.be-dot { width:10px; height:10px; border-radius:50%; display:inline-block; }
.be-dot-changed { background:#f6c453; } .be-dot-error { background:#ef5b5b; } .be-dot-left { background:#b9bdd0; }
.be-wrap { overflow-x:auto; }
.be-grid { min-width:1500px; }
.be-grid thead th { white-space:nowrap; }
.be-grid td { vertical-align:top; padding:8px 8px; }
.be-c-num { width:42px; text-align:center; }
.be-left td { background:#f1f2f8 !important; color:#7a8098; }
.bulk-sel, .bulk-in { width:100%; min-width:140px; height:34px; padding:0 10px; border:1.5px solid #e1e4f3; border-radius:10px; background:#fff; font:inherit; font-size:12.5px; color:#1b1f5c; outline:none; transition:border-color .15s, background .15s, box-shadow .15s; }
.bulk-sel:focus, .bulk-in:focus { border-color:#4a52c4; box-shadow:0 0 0 3px rgba(74,82,196,.15); }
.bulk-sel:disabled, .bulk-in:disabled { opacity:.6; cursor:wait; }
.be-wp { min-width:170px; }
.be-changed { background:#fff7df !important; border-color:#f0c23a !important; }
.be-ok { box-shadow:0 0 0 3px rgba(60,180,110,.28) !important; border-color:#34b36b !important; }
.be-err { box-shadow:0 0 0 3px rgba(239,91,91,.28) !important; border-color:#ef5b5b !important; background:#fff1f1 !important; }
.be-extras { min-width:360px; }
.be-extra { display:flex; gap:6px; align-items:center; margin-bottom:6px; }
.be-extra .bulk-sel { min-width:130px; }
.be-extra .be-unit { min-width:0; width:62px; }
.be-x { border:0; background:#fdeaea; color:#c0392b; width:28px; height:28px; border-radius:8px; font-size:17px; line-height:1; cursor:pointer; flex:0 0 auto; }
.be-x:hover { background:#c0392b; color:#fff; }
.be-add { border:1.5px dashed #c9cdf0; background:#fff; color:#3a41a1; border-radius:10px; padding:5px 12px; font-size:12px; font-weight:700; cursor:pointer; }
.be-add:hover { background:#eef0ff; }
.be-foot { padding:12px 18px 16px; }
.employee-bulk-btn { background:#242559 !important; color:#fff !important; border:1.5px solid #dfe3f7 !important; border-radius:12px !important; font-weight:700; display:inline-flex; align-items:center; gap:8px; box-shadow:0 6px 14px rgba(38,45,110,.18); }
.employee-bulk-btn:hover { color:#fff !important; }
.employee-bulk-btn svg { width:16px; height:16px; }
.employee-status-sel { min-width:240px; }

/* Topbar istifadəçi menyusu */
.user-menu-settings-btn { width:35px; height:33px; }
.user-menu-logout-btn { height:31px; }
.topbar-user-menu-info .avatar { width:41px; height:39px; font-size:14px; }
.topbar-user-menu-info .name { font-size:12px; }

/* İşçilər: tarix aralığı inputları — selectlərlə eyni border + kölgə */
.employee-date-range .input { height:40px; min-height:40px; border:1.5px solid #dfe0e673 !important; border-radius:12px !important; background:#fff !important; box-shadow:0 6px 14px rgba(38,45,110,.18) !important; color:#26286b; font-weight:600; }
.employee-date-range .input:focus { border-color:#4a52c4 !important; }

/* Məzuniyyət uçotu filtrləri: select/hesabat filtrləri ilə eyni border + kölgə */
.bal-filters select, .bal-filters input[type=date], .bal-filters .bal-date, .bal-filters .wl-chip {
  border:1.5px solid #dfe0e673 !important; box-shadow:0 6px 14px rgba(38,45,110,.18) !important; background:#fff !important;
}
.bal-filters .bal-date input[type=date] { border:0 !important; box-shadow:none !important; background:transparent !important; }
.bal-filters .bal-reset { background:#fff !important; color:#3a41a1 !important; border:1.5px solid #dfe3f7 !important; box-shadow:0 6px 14px rgba(38,45,110,.18); }
.bal-filters .bal-reset:hover { background:#eef0ff !important; }
[data-leave-panel] .chip-dropdown-menu[data-chip-menu], .leave-panel-head .chip-dropdown-menu { max-height:300px; overflow-y:auto; }

/* Əlavə iş yerləri modalı */
.be-ex-line { font-size:12px; color:#1b1f5c; margin-bottom:4px; padding:4px 8px; background:#f3f4fd; border-radius:8px; }
#be-extra-modal .be-modal-box { max-width:900px !important; width:calc(100% - 24px); border-radius:28px; overflow:hidden; background:#fff; box-shadow:0 30px 80px rgba(30,36,110,.35); padding:0; max-height:92vh; display:flex; flex-direction:column; }
#be-extra-modal .be-modal-header { position:relative; display:flex; align-items:center; gap:16px; padding:22px 28px; border:0; min-height:90px; background:linear-gradient(110deg,#2c3590 0%,#4a52c4 55%,#7a7fe6 100%); }
#be-extra-modal .be-modal-header .modal-title { color:#fff; font-size:19px; font-weight:800; margin:0; }
#be-extra-modal .be-modal-header .muted { color:rgba(255,255,255,.9); font-size:12.5px; margin-top:4px; }
#be-extra-modal .be-modal-header .modal-close { position:absolute; right:22px; top:22px; width:38px; height:38px; border-radius:50%; background:#fff; color:#3a41a1; border:0; font-size:22px; line-height:1; display:inline-flex; align-items:center; justify-content:center; cursor:pointer; box-shadow:0 4px 12px rgba(20,25,90,.25); }
#be-extra-modal .modal-body { padding:20px 28px 24px; overflow-y:auto; background:#fff; }
.bem-form { display:grid; grid-template-columns:1.4fr 1.4fr 90px 1fr auto; gap:10px; align-items:end; margin-bottom:14px; padding:14px; background:#eceefc; border-radius:18px; }
.bem-f { display:flex; flex-direction:column; gap:4px; font-size:11px; font-weight:700; color:#40449a; }
.bem-f .bulk-sel, .bem-f .bulk-in { min-width:0; box-shadow:0 6px 14px rgba(38,45,110,.12); }
.bem-add-btn { height:34px; padding:0 16px; border:0; border-radius:12px; background:#242559; color:#fff; font-weight:800; font-size:12.5px; display:inline-flex; align-items:center; gap:6px; cursor:pointer; }
.bem-add-btn svg { width:15px; height:15px; }
.bem-add-btn:hover { background:#1a1b45; }
.bem-table-wrap { border:1px solid #eceefa; border-radius:18px; background:#fff; box-shadow:0 8px 24px rgba(40,46,120,.08); overflow:auto; max-height:34vh; }
#be-extra-modal .sd-table-modern { width:100%; border-collapse:collapse; }
#be-extra-modal .sd-table-modern thead th { background:#f7f8fe !important; color:#1b1f5c !important; border:0 !important; font-size:12.5px; font-weight:800; padding:12px 14px; text-align:left; position:sticky; top:0; }
#be-extra-modal .sd-table-modern tbody td { border:0 !important; padding:11px 14px; font-size:13px; color:#1b1f5c; background:#fff; }
#be-extra-modal .sd-table-modern tbody tr:nth-child(even) td { background:#f9faff; }
.bem-removed td { opacity:.5; text-decoration:line-through; }
.bem-tag { padding:2px 10px; border-radius:10px; background:#eceefc; color:#3a41a1; font-size:11px; font-weight:800; }
.bem-tag-new { background:#e1f6ea; color:#15803d; } .bem-tag-del { background:#fdeaea; color:#c0392b; }
#be-extra-modal .modal-actions { display:flex; gap:14px; margin-top:16px; padding-top:16px; border-top:1px solid #eceefa; }
#be-extra-modal .modal-actions .btn { flex:1 1 0; height:46px; border-radius:23px; font-size:14.5px; font-weight:800; display:inline-flex; align-items:center; justify-content:center; gap:10px; cursor:pointer; }
#be-extra-modal .modal-actions .btn svg { width:19px; height:19px; }
#be-extra-modal .ii-print-btn { background:#fff !important; color:#4a46d8 !important; border:2px solid #d9dbf6 !important; box-shadow:none !important; }
#be-extra-modal .ii-close-btn { background:linear-gradient(100deg,#5b57e8 0%,#3f3fc2 100%) !important; color:#fff !important; border:0 !important; box-shadow:0 12px 26px rgba(70,70,210,.35) !important; }
@media (max-width:760px) { .bem-form { grid-template-columns:1fr 1fr; } }

/* Filtr panelləri: slide-down animasiya (İşçilər, Məzuniyyət uçotu, Məzuniyyət qrafiki) */
.flt-anim[hidden] { display:none !important; }
.flt-anim:not([hidden]) { animation:fltSlide .3s ease backwards; }
@keyframes fltSlide {
  from { opacity:0; transform:translateY(-12px); max-height:0; overflow:hidden; }
  to   { opacity:1; transform:none; max-height:240px; overflow:hidden; }
}
.bal-filters.flt-anim { flex:1 1 100%; width:100%; margin-top:2px; }
.flt-toggle { height:40px; border-radius:14px; display:inline-flex; align-items:center; gap:8px; background:#fff !important; color:#3a41a1 !important; font-weight:700; border:1.5px solid #dfe3f7 !important; box-shadow:0 6px 14px rgba(38,45,110,.18) !important; cursor:pointer; padding:0 16px; }
.flt-toggle.active, .flt-toggle:hover { background:#eef0ff !important; }

/* Excel / Çap / Filtr düymələri: 36px */
.wl-pill[data-export-excel], .wl-pill[data-print-table], .leave-panel-head .wl-pill, .flt-toggle { height:36px !important; }

/* Sütunlar menyusu (Məzuniyyət) */
.cols-wrap { position:relative; display:inline-block; }
.cols-toggle { height:36px !important; border-radius:14px; display:inline-flex; align-items:center; gap:8px; background:#fff !important; color:#3a41a1 !important; font-weight:700; border:1.5px solid #dfe3f7 !important; box-shadow:0 6px 14px rgba(38,45,110,.18) !important; cursor:pointer; padding:0 16px; }
.cols-toggle:hover { background:#eef0ff !important; }
.cols-menu { position:absolute; top:calc(100% + 6px); right:0; z-index:80; min-width:240px; max-height:340px; overflow:auto; background:#fff; border:1px solid #e3e6f5; border-radius:14px; box-shadow:0 14px 34px rgba(38,45,110,.22); padding:10px 12px; animation:fltSlide .22s ease backwards; }
.cols-menu[hidden] { display:none; }
.cols-title { font-size:11px; font-weight:800; color:#6b7390; text-transform:uppercase; letter-spacing:.4px; margin-bottom:6px; }
.cols-menu label { display:flex; align-items:center; gap:8px; padding:5px 2px; font-size:12.5px; color:#1b1f5c; cursor:pointer; }
.col-hide { display:none !important; }
#be-extra-modal .be-modal-header .modal-close { z-index:5; }

/* İşçi reyestri: düymələr Məzuniyyət səhifəsindəki kimi; Filtr + Sütunlar Excel-in yanında */
.employee-directory .directory-summary-actions .btn {
  height:36px !important; min-height:36px; padding:0 16px !important; border-radius:14px !important; background:#fff !important; color:#3a41a1 !important;
  border:1.5px solid #dfe3f7 !important; font-weight:700 !important; display:inline-flex; align-items:center; gap:8px;
  box-shadow:0 6px 14px rgba(38,45,110,.18) !important; transition:background .15s, transform .15s; font-size:13px;
}
.employee-directory .directory-summary-actions .btn:hover { background:#eef0ff !important; transform:translateY(-1px); }
.employee-directory .directory-summary-actions .btn svg { width:15px; height:15px; color:#3a41a1; }
.employee-directory .directory-summary-actions .employee-filter-toggle { order:1; }
.employee-directory .directory-summary-actions .directory-columns { order:2; }
.employee-directory .directory-summary-actions > a[href*="Export"] { order:3; }
.employee-directory .directory-summary-actions > a[href*="Create"] { order:4; }
.employee-directory .directory-summary-actions .employee-popover { order:9; }
.employee-popover, .employee-popover label { color:#1b1f5c; }
.employee-popover input { accent-color:#363983; }
.bem-main { display:inline-block; margin-top:8px; padding:4px 12px; border-radius:12px; background:rgba(255,255,255,.18); color:#fff; font-size:12.5px; font-weight:700; }

/* Toplu düzəlt: müasir seçim */
.bk-pick { width:100%; min-width:150px; height:34px; padding:0 10px 0 12px; display:flex; align-items:center; justify-content:space-between; gap:8px; border:1.5px solid #dfe0e673; border-radius:12px; background:#fff; color:#1b1f5c; font:inherit; font-size:12.5px; font-weight:600; cursor:pointer; box-shadow:0 4px 10px rgba(38,45,110,.12); transition:border-color .15s, box-shadow .15s, background .15s; text-align:left; }
.bk-pick:hover { border-color:#b9bdf0; background:#fafaff; }
.bk-pick:disabled { opacity:.55; cursor:not-allowed; }
.bk-pick.empty .bk-pick-t { color:#9aa3bd; font-weight:500; }
.bk-pick-t { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; flex:1; }
.bk-pick svg { width:15px; height:15px; flex:0 0 auto; color:#6b7390; }
.bk-pick.be-changed { background:#fff7df; border-color:#f0c23a; }
.bk-pick.be-ok { box-shadow:0 0 0 3px rgba(60,180,110,.28); border-color:#34b36b; }
.bk-pick.be-err { box-shadow:0 0 0 3px rgba(239,91,91,.28); border-color:#ef5b5b; background:#fff1f1; }
#bk-menu { position:fixed; z-index:99999; background:#fff; border:1px solid #e3e6f5; border-radius:14px; box-shadow:0 18px 44px rgba(38,45,110,.28); padding:8px; max-height:300px; display:flex; flex-direction:column; animation:fltSlide .18s ease backwards; }
#bk-menu[hidden] { display:none; }
#bk-menu .bk-search { height:34px; border:1.5px solid #e1e4f3; border-radius:10px; padding:0 12px; font:inherit; font-size:12.5px; outline:none; margin-bottom:6px; }
#bk-menu .bk-search:focus { border-color:#4a52c4; }
#bk-menu .bk-list { overflow:auto; flex:1; }
.bk-item { display:block; width:100%; text-align:left; border:0; background:none; padding:8px 10px; border-radius:9px; font:inherit; font-size:12.5px; color:#1b1f5c; cursor:pointer; }
.bk-item:hover { background:#eef0ff; }
.bk-item.active { background:#e8ecfd; color:#3a41a1; font-weight:800; }
.bk-item-empty { color:#9aa3bd; }
.bk-none { padding:10px; font-size:12px; color:#9aa3bd; text-align:center; }

/* Əlavə iş yerləri: dar sütun + modalda redaktə */
.be-extras { min-width:0 !important; width:150px; }
.be-extras .be-add { white-space:nowrap; padding:5px 10px; font-size:11.5px; }
.bem-acts { white-space:nowrap; text-align:right; }
.be-ed { border:0; background:#eceefc; color:#3a41a1; width:28px; height:28px; border-radius:8px; cursor:pointer; margin-right:6px; vertical-align:middle; }
.be-ed svg { width:14px; height:14px; }
.be-ed:hover { background:#3a41a1; color:#fff; }
.bem-editing td { background:#fff7df !important; }
.bem-tag-chg { background:#fff1c9; color:#9a6b00; }
.bem-add-btn.bem-updating { background:#3a41a1; }

/* Əmək kitabçası modalı */
#be-book-modal .be-modal-box { max-width:900px !important; width:calc(100% - 24px); border-radius:28px; overflow:hidden; background:#fff; box-shadow:0 30px 80px rgba(30,36,110,.35); padding:0; max-height:92vh; display:flex; flex-direction:column; }
#be-book-modal .be-modal-header { position:relative; display:flex; align-items:center; gap:16px; padding:22px 28px; border:0; min-height:90px; background:linear-gradient(110deg,#2c3590 0%,#4a52c4 55%,#7a7fe6 100%); }
#be-book-modal .be-modal-header .modal-title { color:#fff; font-size:19px; font-weight:800; margin:0; }
#be-book-modal .be-modal-header .muted { color:rgba(255,255,255,.9); font-size:12.5px; margin-top:4px; }
#be-book-modal .be-modal-header .modal-close { position:absolute; right:22px; top:22px; width:38px; height:38px; border-radius:50%; background:#fff; color:#3a41a1; border:0; font-size:22px; line-height:1; display:inline-flex; align-items:center; justify-content:center; cursor:pointer; box-shadow:0 4px 12px rgba(20,25,90,.25); }
#be-book-modal .modal-body { padding:20px 28px 24px; overflow-y:auto; background:#fff; }
#be-book-modal .sd-table-modern { width:100%; border-collapse:collapse; }
#be-book-modal .sd-table-modern thead th { background:#f7f8fe !important; color:#1b1f5c !important; border:0 !important; font-size:12.5px; font-weight:800; padding:12px 14px; text-align:left; position:sticky; top:0; }
#be-book-modal .sd-table-modern tbody td { border:0 !important; padding:11px 14px; font-size:13px; color:#1b1f5c; background:#fff; }
#be-book-modal .sd-table-modern tbody tr:nth-child(even) td { background:#f9faff; }
#be-book-modal .modal-actions { display:flex; gap:14px; margin-top:16px; padding-top:16px; border-top:1px solid #eceefa; }
#be-book-modal .modal-actions .btn { flex:1 1 0; height:46px; border-radius:23px; font-size:14.5px; font-weight:800; display:inline-flex; align-items:center; justify-content:center; gap:10px; cursor:pointer; }
#be-book-modal .modal-actions .btn svg { width:19px; height:19px; }
#be-book-modal .ii-print-btn { background:#fff !important; color:#4a46d8 !important; border:2px solid #d9dbf6 !important; box-shadow:none !important; }
#be-book-modal .ii-close-btn { background:linear-gradient(100deg,#5b57e8 0%,#3f3fc2 100%) !important; color:#fff !important; border:0 !important; box-shadow:0 12px 26px rgba(70,70,210,.35) !important; }
#be-book-modal .be-modal-header .modal-close { z-index:5; }
.bbk-form { grid-template-columns:1.5fr 1.2fr 1.1fr 1fr 1fr 1.2fr auto; }
@media (max-width:1000px) { .bbk-form { grid-template-columns:1fr 1fr; } }
#be-book-modal .be-modal-box { max-width:1100px !important; }
.be-book-btn { background:#eef0ff; }

/* ===== Vahid modal dizaynı (nm-*): Yeni işçi, Sil, Bax ===== */
.nm-box { max-width:760px !important; width:calc(100% - 24px); border-radius:28px; overflow:hidden; background:#fff; box-shadow:0 30px 80px rgba(30,36,110,.35); padding:0 !important; max-height:92vh; display:flex; flex-direction:column; }
.nm-box-sm { max-width:520px !important; }
.nm-box-xl { max-width:1280px !important; height:92vh; }
.nm-header { position:relative; display:flex; align-items:center; gap:16px; padding:22px 28px; min-height:90px; background:linear-gradient(110deg,#2c3590 0%,#4a52c4 55%,#7a7fe6 100%); overflow:hidden; flex:0 0 auto; }
.nm-header::after { content:""; position:absolute; right:-40px; top:-60px; width:320px; height:220px; background:rgba(255,255,255,.07); transform:rotate(-18deg); border-radius:40px; pointer-events:none; }
.nm-danger { background:linear-gradient(110deg,#8f1d2e 0%,#c23a4f 60%,#e0687a 100%); }
.nm-ic { flex:0 0 auto; width:44px; height:44px; display:inline-flex; align-items:center; justify-content:center; color:#fff; position:relative; z-index:1; }
.nm-ic svg { width:38px; height:38px; }
.nm-title { flex:1 1 auto; min-width:0; position:relative; z-index:1; }
.nm-title h3 { margin:0; color:#fff; font-size:19px; font-weight:800; }
.nm-title p { margin:4px 0 0; color:rgba(255,255,255,.9); font-size:12.5px; }
.nm-x { position:absolute; right:22px; top:22px; z-index:3; width:38px; height:38px; border-radius:50%; background:#fff; color:#3a41a1; border:0; font-size:22px; line-height:1; display:inline-flex; align-items:center; justify-content:center; cursor:pointer; box-shadow:0 4px 12px rgba(20,25,90,.25); }
.nm-open { position:relative; z-index:2; margin-right:52px; padding:7px 14px; border-radius:12px; background:rgba(255,255,255,.18); color:#fff; font-size:12.5px; font-weight:700; text-decoration:none; }
.nm-open:hover { background:rgba(255,255,255,.3); }
.nm-body { padding:22px 28px 26px; overflow-y:auto; background:#fff; }
.nm-note { padding:12px 16px; border-radius:16px; background:#eceefc; color:#2a2f6e; font-size:12.5px; line-height:1.5; margin-bottom:16px; }
.nm-warn { padding:14px 16px; border-radius:16px; background:#fdecee; color:#7a1f2c; font-size:13.5px; line-height:1.55; }
.nm-form { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.nm-f { display:flex; flex-direction:column; gap:5px; font-size:12px; font-weight:700; color:#40449a; }
.nm-f i { color:#d93a4f; font-style:normal; }
.nm-f-wide { grid-column:1 / -1; }
.nm-in { height:40px; padding:0 14px; border:1.5px solid #dfe0e673; border-radius:12px; background:#fff; font:inherit; font-size:13.5px; color:#1b1f5c; outline:none; box-shadow:0 6px 14px rgba(38,45,110,.12); transition:border-color .15s, box-shadow .15s; }
.nm-in:focus { border-color:#4a52c4; box-shadow:0 0 0 3px rgba(74,82,196,.15); }
.nm-in:disabled { background:#f3f4fa; color:#7a8098; }
.nm-in.nm-bad { border-color:#ef5b5b; background:#fff1f1; }
.nm-error { margin-top:12px; padding:10px 14px; border-radius:12px; background:#fdeaea; color:#b3261e; font-size:12.5px; font-weight:700; }
.nm-error[hidden] { display:none; }
.nm-hint { margin-top:12px; font-size:11.5px; color:#7a8098; }
.nm-actions { display:flex; gap:14px; margin-top:20px; padding-top:18px; border-top:1px solid #eceefa; }
.nm-btn { flex:1 1 0; height:48px; border-radius:24px; font-size:15px; font-weight:800; display:inline-flex; align-items:center; justify-content:center; gap:10px; cursor:pointer; border:0; }
.nm-btn svg { width:20px; height:20px; }
.nm-btn-ghost { background:#fff; color:#4a46d8; border:2px solid #d9dbf6; }
.nm-btn-ghost:hover { background:#f3f4ff; }
.nm-btn-primary { background:linear-gradient(100deg,#5b57e8 0%,#3f3fc2 100%); color:#fff; box-shadow:0 12px 26px rgba(70,70,210,.35); }
.nm-btn-danger { background:linear-gradient(100deg,#d8475c 0%,#a9283b 100%); color:#fff; box-shadow:0 12px 26px rgba(200,60,80,.35); }
.nm-btn:hover { filter:brightness(1.06); }
.nm-btn:disabled { opacity:.6; cursor:wait; }
.nm-view-body { flex:1 1 auto; min-height:0; background:#f6f7fc; }
.nm-view-body iframe { width:100%; height:100%; border:0; display:block; background:#f6f7fc; }
@media (max-width:640px) { .nm-form { grid-template-columns:1fr; } .nm-actions { flex-direction:column; } .nm-open { display:none; } }

/* iframe (embed=1) rejimi: yan menyu və üst zolaq gizlənir */
body.is-embed .sidebar, body.is-embed .topbar { display:none !important; }
body.is-embed .main { margin-left:0 !important; padding-top:0 !important; width:100%; }
body.is-embed .content { padding:18px 22px; }

/* Statistika/hesabat səhifələri: geri düyməsi sol tərəfdə, hamısı eyni ölçüdə */
.sd-head h2 { flex-wrap:nowrap; }
.sd-head h2 .sd-back { order:-1; margin-left:0 !important; margin-right:6px; float:none !important; flex:0 0 auto; white-space:nowrap; height:36px !important; padding:0 14px !important; font-size:13px !important; }
.sd-head h2 .sd-back svg { width:16px !important; height:16px !important; }
.sd-head h2 > span { min-width:0; }
.employee-bulk-btn { background:#3f4399 !important; }
.employee-bulk-btn:hover { color:#fff !important; }

.be-ed-cancel { background:#fff1c9 !important; color:#9a6b00 !important; }
.be-ed-cancel:hover { background:#9a6b00 !important; color:#fff !important; }
.bem-form { grid-template-columns:1.5fr 1.5fr 110px auto; }

/* Bölmələr modalı (Namizədlər) — 6 kart */
.sec-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:14px; }
.sec-card { display:flex; flex-direction:column; gap:12px; padding:18px; border:1.5px solid #e3e6f5; border-radius:20px; background:#fff; text-decoration:none; color:#1b1f5c; box-shadow:0 6px 14px rgba(38,45,110,.10); transition:transform .15s, box-shadow .15s, border-color .15s, background .15s; }
.sec-card:hover { transform:translateY(-3px); box-shadow:0 14px 28px rgba(38,45,110,.2); border-color:#b9bdf0; background:#fafaff; }
.sec-card.active { border-color:#4a52c4; background:#eef0ff; }
.sec-card .recruitment-tab-icon { width:46px; height:46px; border-radius:14px; display:inline-flex; align-items:center; justify-content:center; }
.sec-card .recruitment-tab-icon svg { width:24px; height:24px; }
.sec-card-t b { display:block; font-size:15px; font-weight:800; }
.sec-card-t small { display:block; margin-top:4px; font-size:12px; color:#7a8098; line-height:1.4; }
@media (max-width:760px) { .sec-grid { grid-template-columns:1fr 1fr; } }
@media (max-width:480px) { .sec-grid { grid-template-columns:1fr; } }
.be-x { display:inline-flex; align-items:center; justify-content:center; vertical-align:middle; }
.be-x svg { width:14px; height:14px; }

/* İşçilər səhifəsinin düymələri: Namizəd reyestrində də */
.candidate-directory .directory-summary-actions .btn {
  height:36px !important; min-height:36px; padding:0 16px !important; border-radius:14px !important; background:#fff !important; color:#3a41a1 !important;
  border:1.5px solid #dfe3f7 !important; font-weight:700 !important; display:inline-flex; align-items:center; gap:8px;
  box-shadow:0 6px 14px rgba(38,45,110,.18) !important; transition:background .15s, transform .15s; font-size:13px;
}
.candidate-directory .directory-summary-actions .btn:hover, .candidate-directory .directory-summary-actions .btn.active { background:#eef0ff !important; }
.candidate-directory .directory-summary-actions .btn:hover { transform:translateY(-1px); }
.candidate-directory .directory-summary-actions .btn svg { width:15px; height:15px; color:#3a41a1; }
.candidate-directory .directory-summary-actions .employee-popover { order:9; }
.candidate-directory .table-search-bar { padding:12px 16px 4px; }
.candidate-directory .table-search-bar .wl-search { max-width:420px; flex:none; }
.candidate-directory .flt-anim { padding:10px 16px 0; }
.candidate-directory .employee-date-range .input { height:40px; min-height:40px; border:1.5px solid #dfe0e673 !important; border-radius:12px !important; background:#fff !important; box-shadow:0 6px 14px rgba(38,45,110,.18) !important; color:#26286b; font-weight:600; }
.candidate-directory .table-toolbar-left { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.candidate-directory .wl-chip { height:40px !important; border-radius:14px !important; border:1.5px solid #dfe0e673 !important; background:#fff; color:#26286b; font-weight:600; box-shadow:0 6px 14px rgba(38,45,110,.18) !important; }
.sd-head h2 .sd-back.sd-back-right { order:2; margin-left:auto !important; margin-right:0; }

/* ===== Vahid əməliyyat düymələri: Redaktə / Sil / Bax (bütün sistemdə) ===== */
.icon-btn[title^="Redakt"], .icon-btn[title="Bax"], .icon-btn[title^="Ətraflı"], .icon-btn.btn-outline-brand,
.row-edit-btn, .sa-action-edit, .be-ed, .import-issues-edit-btn {
  width:34px !important; height:34px !important; border-radius:12px !important; border:0 !important; background:#eceefc !important; color:#3a41a1 !important;
  display:inline-flex !important; align-items:center; justify-content:center; cursor:pointer; box-shadow:none !important; transition:background .15s, color .15s, transform .15s;
}
.icon-btn[title="Sil"], .icon-btn.btn-outline-danger, .sa-action-delete, .be-x {
  width:34px !important; height:34px !important; border-radius:12px !important; border:0 !important; background:#fbe9e6 !important; color:#b3261e !important;
  display:inline-flex !important; align-items:center; justify-content:center; cursor:pointer; box-shadow:none !important; transition:background .15s, color .15s, transform .15s;
}
.icon-btn[title^="Redakt"] svg, .icon-btn[title="Bax"] svg, .icon-btn[title^="Ətraflı"] svg, .icon-btn.btn-outline-brand svg, .row-edit-btn svg, .sa-action-edit svg, .be-ed svg,
.icon-btn[title="Sil"] svg, .icon-btn.btn-outline-danger svg, .sa-action-delete svg, .be-x svg { width:16px !important; height:16px !important; }
.icon-btn[title^="Redakt"]:hover, .icon-btn[title="Bax"]:hover, .icon-btn[title^="Ətraflı"]:hover, .icon-btn.btn-outline-brand:hover,
.row-edit-btn:hover, .sa-action-edit:hover, .be-ed:hover, .import-issues-edit-btn:hover { background:#3a41a1 !important; color:#fff !important; transform:translateY(-1px); }
.icon-btn[title="Sil"]:hover, .icon-btn.btn-outline-danger:hover, .sa-action-delete:hover, .be-x:hover { background:#a63a2e !important; color:#fff !important; transform:translateY(-1px); }
.be-ed-cancel { background:#fff1c9 !important; color:#9a6b00 !important; }
.be-ed-cancel:hover { background:#9a6b00 !important; color:#fff !important; }
.cell-actions { display:flex; gap:8px; align-items:center; }
.candidate-directory .table-toolbar, .candidate-directory .candidate-directory-head, .candidate-directory .flt-anim { border-bottom:0 !important; }

/* Profil iframe (Bax modalı): geri düyməsi lazım deyil */
body.is-embed .detail-back-btn { display:none !important; }
/* Namizədlər: Bölmələr düyməsi axtarışın sağında */
.candidate-directory .table-search-bar { display:flex; align-items:center; gap:12px; }
.cand-sections-btn { height:40px !important; padding:0 16px !important; border-radius:14px !important; background:#fff !important; color:#3a41a1 !important; border:1.5px solid #dfe3f7 !important; font-weight:700 !important; display:inline-flex; align-items:center; gap:8px; box-shadow:0 6px 14px rgba(38,45,110,.18) !important; cursor:pointer; }
.cand-sections-btn:hover { background:#eef0ff !important; }
.cand-sections-btn svg { width:16px; height:16px; }

/* Cədvəllərdəki bütün əməliyyat ikonları eyni üslubda */
.data-table td .icon-btn, .sched-act-btn, .sched-act-btn[title^="Ətraflı"] {
  width:34px !important; height:34px !important; border-radius:12px !important; border:0 !important; box-shadow:none !important;
  display:inline-flex !important; align-items:center; justify-content:center; cursor:pointer; transition:background .15s, color .15s, transform .15s;
}
.data-table td .icon-btn svg, .sched-act-btn svg { width:16px !important; height:16px !important; }
.data-table td .icon-btn:not(.btn-outline-danger):not(.btn-outline-success):not(.btn-outline-warning):not([title="Sil"]), .sched-act-btn { background:#eceefc !important; color:#3a41a1 !important; }
.data-table td .icon-btn:not(.btn-outline-danger):not(.btn-outline-success):not(.btn-outline-warning):not([title="Sil"]):hover, .sched-act-btn:hover { background:#3a41a1 !important; color:#fff !important; transform:translateY(-1px); }
.data-table td .icon-btn.btn-outline-success { background:#e1f6ea !important; color:#15803d !important; }
.data-table td .icon-btn.btn-outline-success:hover { background:#15803d !important; color:#fff !important; }
.data-table td .icon-btn.btn-outline-warning { background:#fff1c9 !important; color:#9a6b00 !important; }
.data-table td .icon-btn.btn-outline-warning:hover { background:#9a6b00 !important; color:#fff !important; }
.data-table td .icon-btn.btn-outline-danger, .data-table td .icon-btn[title="Sil"] { background:#fbe9e6 !important; color:#b3261e !important; }
.data-table td .icon-btn.btn-outline-danger:hover, .data-table td .icon-btn[title="Sil"]:hover { background:#a63a2e !important; color:#fff !important; }

/* Cədvəl başlığı ikonları: yazı ilə eyni hizada (sol/orta/sağ yazıya uyğun) */
.data-table thead th .th-ic, .sched-table thead th .th-ic, .table-wrap table thead th .th-ic {
  display:block !important; margin:0 0 4px 0 !important; text-align:inherit !important; line-height:0; width:auto;
}
.data-table thead th .th-ic svg, .sched-table thead th .th-ic svg, .table-wrap table thead th .th-ic svg { display:inline-block; vertical-align:top; }

/* Yeni namizəd modalı — vahid (nm-*) dizayn */
.nm-box-lg { max-width:980px !important; }
.nm-body-flex { display:flex; flex-direction:column; min-height:0; overflow:hidden; padding-bottom:22px; }
.nm-cand-form { display:flex; flex-direction:column; min-height:0; flex:1; }
.nm-cand-form .vacancy-modal-scroll { overflow-y:auto; flex:1; min-height:0; padding-right:4px; max-height:calc(92vh - 260px); }
#modal-add-candidate .pv-section { margin-bottom:18px; }
#modal-add-candidate .pv-section h3 { font-size:13px; font-weight:800; color:#3a41a1; margin:0 0 10px; padding:8px 14px; background:#eceefc; border-radius:12px; text-transform:none; }
#modal-add-candidate .pv-field label, #modal-add-candidate .pv-field > div > label { font-size:12px; font-weight:700; color:#40449a; }
#modal-add-candidate .pv-field input:not([type=file]), #modal-add-candidate .pv-field select {
  height:40px; padding:0 14px; border:1.5px solid #dfe0e673; border-radius:12px; background:#fff; font:inherit; font-size:13.5px; color:#1b1f5c; outline:none;
  box-shadow:0 6px 14px rgba(38,45,110,.12); transition:border-color .15s, box-shadow .15s; width:100%;
}
#modal-add-candidate .pv-field input:focus, #modal-add-candidate .pv-field select:focus { border-color:#4a52c4; box-shadow:0 0 0 3px rgba(74,82,196,.15); }
#modal-add-candidate .pv-dropzone { border:2px dashed #c9cdf0; border-radius:18px; background:#f7f8fe; }
#modal-add-candidate .pv-dropzone:hover { background:#eef0ff; border-color:#4a52c4; }
#modal-add-candidate .pv-dropzone-choose { border-radius:12px; background:#fff; color:#3a41a1; border:1.5px solid #dfe3f7; font-weight:700; box-shadow:0 4px 10px rgba(38,45,110,.12); }

/* Namizəd reyestri: filtr panelinin alt xətti geri + boşluq; Bölmələr sağda */
.candidate-directory .table-toolbar.flt-anim { border-bottom:1px solid #e6e9f5 !important; padding:14px 22px 18px !important; margin-bottom:6px; }
.candidate-directory .table-search-bar { padding:14px 22px 6px !important; }
.cand-sections-btn { margin-left:auto !important; }

/* Vakansiyalar / Seçim prosesi / Müsahibələr / Şablonlar: başlıq düymələri İşçilər-dəki kimi */
.head-toolbar-inline { display:flex; align-items:center; gap:10px; position:relative; flex-wrap:wrap; }
.head-toolbar-inline .btn, .candidate-directory-head .head-toolbar-inline .btn {
  height:36px !important; min-height:36px; padding:0 16px !important; border-radius:14px !important; background:#fff !important; color:#3a41a1 !important;
  border:1.5px solid #dfe3f7 !important; font-weight:700 !important; display:inline-flex; align-items:center; gap:8px;
  box-shadow:0 6px 14px rgba(38,45,110,.18) !important; transition:background .15s, transform .15s; font-size:13px;
}
.head-toolbar-inline .btn:hover { background:#eef0ff !important; transform:translateY(-1px); }
.head-toolbar-inline .btn svg { width:15px !important; height:15px !important; color:#3a41a1; margin:0 !important; vertical-align:middle !important; }
.head-toolbar-inline .employee-popover { right:0 !important; }
.table-search-bar .cand-sections-btn, .templates-list-card .table-toolbar .cand-sections-btn { margin-left:auto !important; }

.bem-form { grid-template-columns:1.2fr 1.4fr 1.4fr 110px auto; }

/* Tənzimləmələr: ağ pill düymə, say sütunu, modal forması */
.btn-white-pill { height:36px; padding:0 16px !important; border-radius:14px !important; background:#fff !important; color:#3a41a1 !important; border:1.5px solid #dfe3f7 !important; font-weight:700 !important; display:inline-flex; align-items:center; gap:8px; box-shadow:0 6px 14px rgba(38,45,110,.18) !important; transition:background .15s, transform .15s; }
.btn-white-pill:hover { background:#eef0ff !important; transform:translateY(-1px); }
.btn-white-pill svg { width:15px; height:15px; color:#3a41a1; }
.count-pill { display:inline-flex; align-items:center; justify-content:center; min-width:30px; height:24px; padding:0 10px; border-radius:12px; background:#eceefc; color:#3a41a1; font-size:12px; font-weight:800; }
.nm-check { display:flex; align-items:center; gap:10px; font-size:13px; font-weight:700; color:#40449a; cursor:pointer; }
.nm-check input { width:18px; height:18px; accent-color:#3a41a1; }
select.nm-in { appearance:auto; cursor:pointer; }

.bem-form { grid-template-columns:1.1fr 1.3fr 1.3fr 100px 1fr 1fr auto; }
@media (max-width:1100px) { .bem-form { grid-template-columns:1fr 1fr 1fr; } }

.bem-form { grid-template-columns:repeat(4, minmax(0, 1fr)) !important; }
.bem-form .bem-add-btn { grid-column:4; justify-self:end; }
.bem-form .bk-pick { min-width:0; }
.bem-f .bulk-sel option:disabled { color:#b6bbd3; }
@media (max-width:900px) { .bem-form { grid-template-columns:1fr 1fr !important; } .bem-form .bem-add-btn { grid-column:2; } }

/* Tənzimləmələr: Xitam və Rektorun məzuniyyəti — etiketlər daha böyük və inputa yaxın */
.settings-page [data-tab-panel="termination"] .field, .settings-page [data-tab-panel="rector-leave"] .field { display:flex; flex-direction:column; gap:6px; margin-bottom:14px; }
.settings-page [data-tab-panel="termination"] .field label, .settings-page [data-tab-panel="rector-leave"] .field label {
  font-size:13px !important; font-weight:700 !important; color:#40449a; margin:0 !important; line-height:1.25; letter-spacing:0; text-transform:none;
}
.settings-page [data-tab-panel="termination"] .field-hint { margin-top:2px; }
.settings-page [data-tab-panel="termination"] .input, .settings-page [data-tab-panel="rector-leave"] .input { min-height:40px; border-radius:12px; }

/* ===== Tənzimləmələr → Xitam / Rektorun məzuniyyəti: yeni dizayn ===== */
.settings-page [data-tab-panel="termination"] .card-pad, .settings-page [data-tab-panel="rector-leave"] .card-pad { padding:0 !important; overflow:hidden; border-radius:24px; }
.settings-page [data-tab-panel="termination"] .card-pad > .card-header, .settings-page [data-tab-panel="rector-leave"] .card-pad > .card-header {
  margin:0 0 20px !important; padding:20px 26px !important; border-radius:0 !important;
}
.settings-page [data-tab-panel="termination"] .card-pad > form, .settings-page [data-tab-panel="rector-leave"] .card-pad > form,
.settings-page [data-tab-panel="rector-leave"] .card-pad > p, .settings-page [data-tab-panel="rector-leave"] .card-pad > table { margin:0 26px 26px; }
.settings-page [data-tab-panel="termination"] .form-grid, .settings-page [data-tab-panel="rector-leave"] .form-grid { gap:16px; margin-bottom:6px; }
/* inputdakı qələm ikonları bu formalarda lazım deyil */
.settings-page [data-tab-panel="termination"] .field-icon-badge, .settings-page [data-tab-panel="rector-leave"] .field-icon-badge { display:none !important; }
.settings-page [data-tab-panel="termination"] .field-icon .input, .settings-page [data-tab-panel="termination"] .field-icon input, .settings-page [data-tab-panel="termination"] .field-icon select, .settings-page [data-tab-panel="termination"] .field-icon textarea,
.settings-page [data-tab-panel="rector-leave"] .field-icon .input, .settings-page [data-tab-panel="rector-leave"] .field-icon input, .settings-page [data-tab-panel="rector-leave"] .field-icon select { padding-left:16px !important; }
.settings-page [data-tab-panel="termination"] .input, .settings-page [data-tab-panel="rector-leave"] .input {
  border:1.5px solid #dfe0e673 !important; border-radius:14px !important; background:#fff; box-shadow:0 6px 14px rgba(38,45,110,.12); font-size:13.5px; color:#1b1f5c; padding:10px 16px;
}
.settings-page [data-tab-panel="termination"] .input:focus, .settings-page [data-tab-panel="rector-leave"] .input:focus { border-color:#4a52c4 !important; box-shadow:0 0 0 3px rgba(74,82,196,.15); }
.settings-page [data-tab-panel="termination"] textarea.input { min-height:96px; resize:vertical; }
.settings-page [data-tab-panel="termination"] .field label, .settings-page [data-tab-panel="rector-leave"] .field label { font-size:13px !important; }
.settings-page [data-tab-panel="termination"] .req, .settings-page [data-tab-panel="rector-leave"] .req { color:#d93a4f; }
.settings-page [data-tab-panel="termination"] .card-pad form > .btn, .settings-page [data-tab-panel="termination"] .card-pad form button[type="submit"],
.settings-page [data-tab-panel="rector-leave"] .card-pad form button[type="submit"] {
  height:46px; padding:0 26px; border:0 !important; border-radius:23px !important; background:linear-gradient(100deg,#5b57e8 0%,#3f3fc2 100%) !important; color:#fff !important;
  font-weight:800; font-size:14px; box-shadow:0 12px 26px rgba(70,70,210,.35); cursor:pointer; margin-top:6px;
}
.settings-page [data-tab-panel="termination"] .card-pad form button[type="submit"]:hover, .settings-page [data-tab-panel="rector-leave"] .card-pad form button[type="submit"]:hover { filter:brightness(1.07); }
.settings-page [data-tab-panel="termination"] .card > .table-wrap, .settings-page [data-tab-panel="termination"] .card > .card-header { margin:0; }

/* Rektorun məzuniyyəti: "Mövcud dövrlər" cədvəli və boş vəziyyət — Xitam kataloqu ilə eyni üslub */
.settings-page [data-tab-panel="rector-leave"] .data-table { width:100%; border-collapse:separate; border-spacing:0; }
.settings-page [data-tab-panel="rector-leave"] .data-table thead th { background:#f5f7fd !important; color:#40449a !important; font-size:12.5px; font-weight:800; padding:12px 14px; border:0 !important; text-align:left; text-transform:none; }
.settings-page [data-tab-panel="rector-leave"] .data-table thead th:first-child { border-radius:12px 0 0 12px; }
.settings-page [data-tab-panel="rector-leave"] .data-table thead th:last-child { border-radius:0 12px 12px 0; }
.settings-page [data-tab-panel="rector-leave"] .data-table tbody td { padding:12px 14px; border:0; border-bottom:1px solid #eef0f7; color:#1b1f5c; font-size:13px; }
.settings-page [data-tab-panel="rector-leave"] .data-table tbody tr:hover td { background:#f7f9ff; }
.settings-page [data-tab-panel="rector-leave"] .card-pad > p.muted { padding:14px 16px; border-radius:14px; background:#f5f7fd; color:#6b7390; }
.settings-page [data-tab-panel="rector-leave"] .grid-2 { gap:20px; align-items:start; }
.settings-page [data-tab-panel="rector-leave"] .modal-actions { justify-content:flex-start; margin-top:10px !important; }

/* Rektorun məzuniyyəti: "Mövcud dövrlər" formanın altında, tam eni */
.settings-page [data-tab-panel="rector-leave"] .grid-2 { grid-template-columns:1fr !important; }

/* ===== Əmr təsnifatı: eyni dizayn ===== */
.settings-page [data-tab-panel="orders-taxonomy"] .card-pad { padding:0 !important; overflow:hidden; border-radius:24px; }
.settings-page [data-tab-panel="orders-taxonomy"] .card-pad > .subsection-title {
  display:flex; align-items:center; gap:10px; margin:0 0 20px !important; padding:20px 26px; border-radius:0;
  background:linear-gradient(115deg, rgb(58, 63, 179) 0%, rgb(87, 84, 227) 55%, rgb(143, 120, 240) 100%) !important; color:#fff !important; font-size:16px; font-weight:800;
}
.settings-page [data-tab-panel="orders-taxonomy"] .card-pad > .subsection-title svg { width:20px; height:20px; color:#fff !important; stroke:#fff; }
.settings-page [data-tab-panel="orders-taxonomy"] .card-pad > .form-grid, .settings-page [data-tab-panel="orders-taxonomy"] .card-pad > button,
.settings-page [data-tab-panel="orders-taxonomy"] .card-pad > #taxonomy-tree { margin-left:26px; margin-right:26px; }
.settings-page [data-tab-panel="orders-taxonomy"] .card-pad > .form-grid { gap:16px; }
.settings-page [data-tab-panel="orders-taxonomy"] .card-pad > #taxonomy-tree, .settings-page [data-tab-panel="orders-taxonomy"] .card-pad > button { margin-bottom:26px; }
.settings-page [data-tab-panel="orders-taxonomy"] .field { display:flex; flex-direction:column; gap:6px; margin-bottom:0; }
.settings-page [data-tab-panel="orders-taxonomy"] .field label { font-size:13px !important; font-weight:700 !important; color:#40449a; margin:0 !important; }
.settings-page [data-tab-panel="orders-taxonomy"] .input, .settings-page [data-tab-panel="orders-taxonomy"] .modern-select-trigger {
  border:1.5px solid #dfe0e673 !important; border-radius:14px !important; background:#fff !important; box-shadow:0 6px 14px rgba(38,45,110,.12) !important; font-size:13.5px; color:#1b1f5c; min-height:40px;
}
.settings-page [data-tab-panel="orders-taxonomy"] .field-icon-badge { display:none !important; }
.settings-page [data-tab-panel="orders-taxonomy"] .field-icon input, .settings-page [data-tab-panel="orders-taxonomy"] .field-icon select, .settings-page [data-tab-panel="orders-taxonomy"] .field-icon .modern-select-trigger { padding-left:16px !important; }
.settings-page [data-tab-panel="orders-taxonomy"] .card-pad > button.btn {
  height:46px; padding:0 26px !important; border:0 !important; border-radius:23px !important; background:linear-gradient(100deg,#5b57e8 0%,#3f3fc2 100%) !important; color:#fff !important;
  font-weight:800; font-size:14px; display:inline-flex; align-items:center; gap:8px; box-shadow:0 12px 26px rgba(70,70,210,.35); cursor:pointer;
}
.settings-page [data-tab-panel="orders-taxonomy"] .card-pad > button.btn svg { color:#fff; width:16px; height:16px; }


/* ===== Namizəd modalları (Yeni vakansiya / müraciət / şablon): nm-* daxili sahələr ===== */
.nm-box .form-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.nm-box .field { display:flex; flex-direction:column; gap:5px; }
.nm-box .field > label, .nm-box .vacancy-subgroup-item > label { font-size:12px; font-weight:700; color:#40449a; }
.nm-box .req { color:#d93a4f; }
.nm-box input.input, .nm-box select.input, .nm-box select.select-chip, .nm-box .select-chip {
  height:40px; padding:0 14px; border:1.5px solid #dfe0e673 !important; border-radius:12px !important; background:#fff; font:inherit; font-size:13.5px; color:#1b1f5c; outline:none;
  box-shadow:0 6px 14px rgba(38,45,110,.12) !important; transition:border-color .15s, box-shadow .15s; width:100%;
}
.nm-box textarea.input { padding:10px 14px; border:1.5px solid #dfe0e673 !important; border-radius:12px !important; box-shadow:0 6px 14px rgba(38,45,110,.12) !important; font:inherit; font-size:13.5px; color:#1b1f5c; }
.nm-box input.input:focus, .nm-box select.input:focus, .nm-box .select-chip:focus, .nm-box textarea.input:focus { border-color:#4a52c4 !important; box-shadow:0 0 0 3px rgba(74,82,196,.15) !important; }
.nm-box .vacancy-modal-scroll { overflow-y:auto; max-height:calc(92vh - 270px); padding:2px 4px 2px 2px; }
.nm-box .vacancy-modal-section-title { font-size:13px; font-weight:800; color:#3a41a1; margin:0 0 10px; padding:8px 14px; background:#eceefc; border-radius:12px; display:flex; align-items:center; gap:8px; }
.nm-box .vacancy-editor { border:1.5px solid #dfe0e673; border-radius:14px; box-shadow:0 6px 14px rgba(38,45,110,.12); overflow:hidden; background:#fff; }
.nm-box .vacancy-editor-toolbar button { border-radius:8px; }
.nm-box .template-modal-fields { display:flex; flex-direction:column; gap:14px; }

/* ===== Namizədlər: bütün səhifələrdə axtarış və select sahələri — eyni border və kölgə ===== */
.candidate-directory .wl-search, .candidate-directory .wl-search .input, .candidate-directory .table-search-bar .input,
.candidate-directory .table-toolbar .input, .candidate-directory .table-toolbar select, .candidate-directory .select-chip,
.templates-list-card .table-toolbar .input, .templates-list-card .select-chip, .templates-list-card [data-table-search] {
  border:1.5px solid #dfe0e673 !important; border-radius:14px !important; box-shadow:0 6px 14px rgba(38,45,110,.18) !important; background:#fff;
}
.candidate-directory .table-search-bar .wl-search .input, .candidate-directory .table-toolbar .input, .templates-list-card [data-table-search], .candidate-directory .select-chip { height:40px; }
.candidate-directory .wl-search .input { border:0 !important; box-shadow:none !important; }

/* Bitmə tarixi yanında "davam edir" */
.bem-ongoing { display:inline-flex; align-items:center; gap:5px; margin-left:8px; font-size:11.5px; font-weight:700; color:#3a41a1; cursor:pointer; text-transform:none; }
.bem-ongoing input { width:14px; height:14px; accent-color:#4a52c4; margin:0; cursor:pointer; }
.bulk-in:disabled { background:#f3f4fa; color:#9aa0b8; box-shadow:none; }

/* Hesablar: "Yeni hesab" düyməsi — digər ağ pill düymələr kimi kiçik */
.directory-summary-actions .btn-white-pill { height:36px !important; padding:0 16px !important; font-size:13px !important; box-shadow:0 6px 14px rgba(38,45,110,.18) !important; }
.directory-summary-actions .btn-white-pill svg { width:15px !important; height:15px !important; }

/* Əmək kitabçası modalı: kitabça / müqavilə nişanları */
.bem-tabs { display:flex; gap:8px; margin-bottom:14px; }
.bem-tab { height:36px; padding:0 18px; border-radius:14px; border:1.5px solid #dfe3f7; background:#fff; color:#3a41a1; font-weight:700; font-size:13px; cursor:pointer; box-shadow:0 6px 14px rgba(38,45,110,.14); transition:background .15s, color .15s; }
.bem-tab:hover { background:#eef0ff; }
.bem-tab.active { background:#3a41a1; color:#fff; border-color:#3a41a1; }

/* Yeni hesab modalı */
.na-emp-wrap { position:relative; }
.na-results { position:absolute; left:0; right:0; top:calc(100% - 22px); z-index:30; max-height:260px; overflow-y:auto; background:#fff; border:1.5px solid #dfe0e673; border-radius:14px; box-shadow:0 14px 30px rgba(38,45,110,.22); padding:6px; }
.na-results[hidden] { display:none; }
.na-res { display:flex; flex-direction:column; align-items:flex-start; width:100%; text-align:left; border:0; background:transparent; padding:8px 12px; border-radius:10px; cursor:pointer; font:inherit; color:#1b1f5c; }
.na-res:hover { background:#eef0ff; }
.na-res small { color:#7a8098; font-size:11.5px; }
.na-none { padding:12px; color:#7a8098; font-size:12.5px; }
.na-roles { display:flex; flex-wrap:wrap; gap:8px; }
.na-role { display:inline-flex; align-items:center; gap:8px; padding:8px 14px; border:1.5px solid #dfe0e673; border-radius:12px; background:#fff; box-shadow:0 6px 14px rgba(38,45,110,.12); cursor:pointer; font-size:12.5px; color:#1b1f5c; }
.na-role small { color:#7a8098; }
.na-role input { accent-color:#4a52c4; }

/* Yeni hesab modalı: kiçik ekranda başlıq və düymələr görünsün, məzmun sürüşsün */
#modal-new-account .nm-box { max-height:calc(100vh - 24px); }
#modal-new-account .nm-body { overflow-y:auto; min-height:0; }
@media (max-width:600px) { #modal-new-account .nm-header { padding:16px 18px; min-height:72px; } #modal-new-account .nm-body { padding:16px 18px 20px; } #modal-new-account .nm-actions { flex-direction:column-reverse; } }

/* Reyestr: çox sətirli xülasə — ilk qeyd + "+N" */
.reg-multi { min-width:230px; max-width:320px; font-size:12.5px; }
.reg-line { display:inline-block; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; vertical-align:bottom; }
.reg-multi details > div.reg-line { display:block; margin-top:4px; white-space:normal; }
.reg-more > summary { list-style:none; cursor:pointer; display:flex; align-items:center; gap:6px; }
.reg-more > summary::-webkit-details-marker { display:none; }
.reg-count { flex:0 0 auto; padding:1px 8px; border-radius:10px; background:#eceefc; color:#3a41a1; font-size:11.5px; }
.reg-more[open] > summary .reg-line { white-space:normal; }

/* Toplu redaktə: əlavə iş statusu sütunu */
.be-xs-row { display:flex; align-items:center; gap:6px; margin-bottom:4px; }
.be-xs-name { flex:0 1 110px; max-width:110px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:11.5px; color:#6a6f98; }
.be-xs-sel { height:30px; min-width:110px; font-size:12px; }

/* Tənzimləmələr: oxşar (təkrar ola bilən) struktur/vəzifə qeydləri */
.lk-similar { margin-top:3px; font-size:11.5px; color:#8a6d1a; }
.lk-similar-unused { color:#b3261e; font-weight:700; }

/* Reyestr: dar xülasə sütunları + mini detal modalı */
.reg-multi { min-width:0 !important; width:150px; max-width:150px; }
.reg-open { display:flex; align-items:center; gap:6px; width:100%; max-width:150px; padding:5px 8px; border:1.5px solid #dfe0e673; border-radius:10px; background:#fff; cursor:pointer; font:inherit; font-size:12px; color:#26286b; box-shadow:0 4px 10px rgba(38,45,110,.10); text-align:left; }
.reg-open:hover { background:#eef0ff; }
.reg-open .reg-line { flex:1 1 auto; min-width:0; max-width:none; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.reg-detail-list { display:flex; flex-direction:column; gap:8px; max-height:60vh; overflow-y:auto; }
.reg-detail-item { padding:10px 14px; border-radius:12px; background:#f3f4ff; color:#1b1f5c; font-size:13px; line-height:1.45; }

/* Tənzimləmələr: struktur / vəzifə cədvəli — nömrə, ikonlu ad, pill-lər, yumru əməliyyat düymələri */
[data-tab-panel="departments"] .data-table thead th, [data-tab-panel="positions"] .data-table thead th { font-size:11.5px; letter-spacing:.04em; text-transform:uppercase; color:#6a6f98; font-weight:700; }
.lk-th-num, .lk-num-cell { width:56px; }
.lk-num { display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:11px; background:#eef0ff; color:#3a41a1; font-weight:700; font-size:13px; }
.lk-name { display:flex; align-items:center; gap:12px; }
.lk-name b { display:block; font-size:14.5px; color:#1b1f5c; }
.lk-name small { display:block; margin-top:2px; font-size:12px; color:#7a8098; font-weight:400; }
.lk-ic { flex:0 0 auto; width:44px; height:44px; border-radius:14px; display:inline-flex; align-items:center; justify-content:center; }
.lk-ic svg { width:22px; height:22px; }
.lk-ic-0 { background:#e8ebff; color:#3a41a1; } .lk-ic-1 { background:#e3f6ea; color:#15803d; } .lk-ic-2 { background:#f1e6ff; color:#7a3fc2; } .lk-ic-3 { background:#e1f1fb; color:#1d6fa5; }
[data-tab-panel="departments"] .count-pill, [data-tab-panel="positions"] .count-pill { display:inline-flex; align-items:center; justify-content:center; min-width:38px; height:32px; padding:0 12px; border-radius:16px; background:#eceefc; color:#3a41a1; font-weight:700; font-size:13px; }
[data-tab-panel="departments"] tbody tr, [data-tab-panel="positions"] tbody tr { height:74px; }
.lk-foot { padding:12px 18px; font-size:12.5px; color:#7a8098; border-top:1px solid #eceefa; }

/* Tənzimləmələr: əməliyyat xanası tam sətir hündürlüyündə qalsın (ikinci xətt yaranmasın) */
[data-tab-panel="departments"] td.cell-actions, [data-tab-panel="positions"] td.cell-actions { display:table-cell !important; text-align:right; white-space:nowrap; vertical-align:middle; }
[data-tab-panel="departments"] td.cell-actions .icon-btn, [data-tab-panel="positions"] td.cell-actions .icon-btn { margin-left:8px; vertical-align:middle; }

/* Tənzimləmələr: sətir hündürlüyü kiçildi */
[data-tab-panel="departments"] tbody tr, [data-tab-panel="positions"] tbody tr { height:56px !important; }
[data-tab-panel="departments"] .data-table td, [data-tab-panel="positions"] .data-table td { padding-top:8px; padding-bottom:8px; }
.lk-ic { width:36px; height:36px; border-radius:11px; }
.lk-ic svg { width:18px; height:18px; }
.lk-num { width:30px; height:30px; border-radius:9px; font-size:12px; }
.lk-name b { font-size:14px; }
.lk-name small { font-size:11.5px; margin-top:0; }

/* Xitam kataloqu: struktur/vəzifə cədvəli ilə eyni üslub */
[data-tab-panel="termination"] .data-table thead th { font-size:11.5px; letter-spacing:.04em; text-transform:uppercase; color:#6a6f98; font-weight:700; }
[data-tab-panel="termination"] tbody tr { height:56px; }
[data-tab-panel="termination"] .data-table td { padding-top:8px; padding-bottom:8px; }
[data-tab-panel="termination"] td:last-child { text-align:right; white-space:nowrap; }
.lk-detail-row { background:#fafaff; }
.lk-detail-name { color:#40449a; font-size:13px; }

/* Məzuniyyət qaydaları / Rollar / Rektorun məzuniyyəti: struktur cədvəli ilə eyni üslub */
[data-tab-panel="leave-policy"] .data-table thead th, [data-tab-panel="roles"] .data-table thead th, [data-tab-panel="rector-leave"] .data-table thead th { font-size:11.5px; letter-spacing:.04em; text-transform:uppercase; color:#6a6f98; font-weight:700; }
[data-tab-panel="leave-policy"] tbody tr, [data-tab-panel="roles"] tbody tr, [data-tab-panel="rector-leave"] tbody tr { height:56px; }
[data-tab-panel="leave-policy"] .data-table td, [data-tab-panel="roles"] .data-table td, [data-tab-panel="rector-leave"] .data-table td { padding-top:8px; padding-bottom:8px; vertical-align:middle; }
[data-tab-panel="roles"] td.cell-actions { display:table-cell !important; text-align:right; white-space:nowrap; vertical-align:middle; }
[data-tab-panel="roles"] td.cell-actions .icon-btn, [data-tab-panel="roles"] td.cell-actions form { margin-left:6px; }
[data-tab-panel="leave-policy"] td:last-child, [data-tab-panel="rector-leave"] td:last-child { text-align:right; white-space:nowrap; }
[data-tab-panel="leave-policy"] td:last-child .icon-btn { margin-left:6px; width:34px !important; height:34px !important; }

/* İşçi reyestri: Kod sütunu birinci + Tənzimləmələrdəki kimi sətir hündürlüyü */
.reg-th-code, .reg-code-cell { width:96px; white-space:nowrap; }
.reg-code { display:inline-flex; align-items:center; justify-content:center; height:30px; padding:0 12px; border-radius:10px; background:#eef0ff; color:#3a41a1; font-weight:700; font-size:12.5px; }
.employee-directory .data-table thead th { font-size:11.5px; letter-spacing:.04em; text-transform:uppercase; color:#6a6f98; font-weight:700; }
.employee-directory .data-table tbody tr { height:56px; }
.employee-directory .data-table tbody td { padding-top:8px; padding-bottom:8px; vertical-align:middle; }

/* Bütün cədvəl başlıqları: mətn və ikonlar #40449a (tünd fonlu cədvəllər istisna) */
table:not(.sa-table):not(.stats-table):not(.import-issues-table-danger):not(.import-issues-table-warning) thead th,
table:not(.sa-table):not(.stats-table):not(.import-issues-table-danger):not(.import-issues-table-warning) thead th *,
table:not(.sa-table):not(.stats-table):not(.import-issues-table-danger):not(.import-issues-table-warning) thead th .th-ic { color:#40449a !important; }
table:not(.sa-table):not(.stats-table):not(.import-issues-table-danger):not(.import-issues-table-warning) thead th svg { stroke:#40449a !important; }
thead th .th-ic svg { width:16px; height:16px; stroke-width:1.9; }

/* Rollar: izah başlığın altında, düymə kiçik (İşçilərdəki kimi), registrdə pill-lərin sətir hündürlüyü */
.role-sub { font-size:12.5px; line-height:1.5; max-width:760px; margin-top:4px; }
.role-sub a { color:#3a41a1; font-weight:700; }
.card-header .btn-white-pill { height:36px !important; padding:0 16px !important; font-size:13px !important; }
.card-header .btn-white-pill svg { width:15px !important; height:15px !important; }
.employee-directory .data-table td .badge, .employee-directory .data-table td .tag { line-height:2.3; }

/* Cədvəl xanalarındakı badge-lərin şrifti */
.main .data-table:not(.semester-summary-table):not(.import-issues-table) tbody td .badge { font-size:7.5px; }

/* Rektorun məzuniyyəti cədvəli: kartdan kənara çıxmasın, əməliyyat düyməsi kiçik */
[data-tab-panel="rector-leave"] .table-wrap { overflow-x:auto; }
[data-tab-panel="rector-leave"] .data-table { width:100%; }
[data-tab-panel="rector-leave"] td:last-child .icon-btn { width:34px !important; height:34px !important; min-width:34px; border-radius:12px !important; background:#fff1c9 !important; color:#9a6b00 !important; border:0 !important; padding:0 !important; }
[data-tab-panel="rector-leave"] td:last-child .icon-btn:hover { background:#9a6b00 !important; color:#fff !important; }
[data-tab-panel="rector-leave"] td:last-child .icon-btn svg { width:16px !important; height:16px !important; }
/* İşçilər reyestri: tag şrifti */
.employee-directory .data-table td .tag { font-size:7px; }

/* Reyestr: tag/badge/kod oxunaqlı ölçüdə */
.employee-directory .data-table td .tag { font-size:11px; line-height:1.9; white-space:normal; }
.employee-directory .data-table td .tag.reg-code { font-size:12.5px; line-height:1; white-space:nowrap; }
.main .data-table:not(.semester-summary-table):not(.import-issues-table) tbody td .badge { font-size:11px; }

/* Reyestr: yalnız kod pill-ində line-height:3; digər tag/badge-lər bir sətirdə, normal hündürlükdə */
.employee-directory .data-table td .tag, .employee-directory .data-table td .badge { line-height:1.5 !important; white-space:nowrap !important; padding-top:4px; padding-bottom:4px; }
.employee-directory .data-table td .tag.reg-code { line-height:3 !important; height:auto; padding-top:0; padding-bottom:0; }

/* Reyestr: kod şrifti */
.employee-directory .data-table td .tag.reg-code, .reg-code { font-size:9.5px !important; }

/* Toplu redaktə modalları: bem-tag şrifti */
.bem-tag { font-size:8px !important; }


/* Tənzimləmələr: Yeni bölmə / vəzifə / qayda / rol düymələri — İşçilərdəki "Yeni işçi" ilə eyni ölçü */
.settings-page .card-header > .btn, [data-modal-open="modal-new-department"], [data-modal-open="modal-new-position"], [data-modal-open="modal-new-leave-rule"], [data-modal-open="modal-new-role"] {
  height:36px !important; min-height:36px !important; padding:0 16px !important; border-radius:14px !important; background:#fff !important; color:#3a41a1 !important;
  border:1.5px solid #dfe3f7 !important; font-weight:700 !important; font-size:13px !important; display:inline-flex !important; align-items:center; gap:8px; line-height:1;
  box-shadow:0 6px 14px rgba(38,45,110,.18) !important;
}
.settings-page .card-header > .btn svg, [data-modal-open="modal-new-department"] svg, [data-modal-open="modal-new-position"] svg, [data-modal-open="modal-new-leave-rule"] svg, [data-modal-open="modal-new-role"] svg { width:15px !important; height:15px !important; color:#3a41a1; margin:0 !important; }
.settings-page .card-header > .btn:hover, [data-modal-open="modal-new-department"]:hover, [data-modal-open="modal-new-position"]:hover, [data-modal-open="modal-new-leave-rule"]:hover, [data-modal-open="modal-new-role"]:hover { background:#eef0ff !important; transform:translateY(-1px); }


/* İşçiləri toplu düzəlt başlığı: grid — üstdə başlıq (sol) + "İşçilərə qayıt" (sağ), altda filtrlər */
.sd-head.be-head { display:grid !important; grid-template-columns:minmax(0,1fr) auto; align-items:center; column-gap:18px; row-gap:14px; height:auto; min-height:0; }
.sd-head.be-head .sd-head-title { grid-column:1; grid-row:1; min-width:0; }
.sd-head.be-head .be-back { grid-column:2; grid-row:1; justify-self:end; }
.sd-head.be-head .sd-filters { grid-column:1 / -1; grid-row:2; justify-content:flex-start; }

/* Əmək kitabçası / əlavə iş yerləri modalı: nişanlar bir sətirdə, düzgün fon */
.bem-tag { display:inline-flex !important; align-items:center; white-space:nowrap !important; line-height:1.4 !important; padding:3px 10px; border-radius:10px; }

/* "davam edir": inputun sağında eyni sırada, qırmızı */
.bem-end-row { display:flex; align-items:center; gap:10px; }
.bem-end-row .bulk-in { flex:1 1 auto; min-width:0; }
.bem-end-row .bem-ongoing { margin:0; flex:0 0 auto; color:#c0392b !important; font-weight:700; white-space:nowrap; }
.bem-end-row .bem-ongoing input { accent-color:#c0392b; }

/* Kopyala düyməsi (be-ed deyil — ikon dəyişdirici toxunmasın) */
.be-cp { width:34px; height:34px; border-radius:12px; border:0; background:#e3f6ea; color:#15803d; display:inline-flex; align-items:center; justify-content:center; cursor:pointer; transition:background .15s, color .15s, transform .15s; }
.be-cp svg { width:16px; height:16px; }
.be-cp:hover { background:#15803d; color:#fff; transform:translateY(-1px); }

/* Əmək kitabçası forması: hər sətirdə 3 sahə — (Təşkilat, Struktur, Vəzifə) / (Ştat vahidi, Başlama, Bitmə + davam edir) / (Müqavilə şərti, Çıxma səbəbi, Qeydin əsası) */
.bbk-form { display:grid !important; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:12px 14px; align-items:end; }
.bbk-form .bem-f { min-width:0; }
.bbk-form .bem-add-btn { grid-column:1 / -1; justify-self:end; }

/* Əmək kitabçası / əlavə iş yerləri: əməliyyat düymələri eyni xətdə */
.bem-acts .be-ed, .bem-acts .be-x, .bem-acts .be-cp { display:inline-flex !important; align-items:center; justify-content:center; vertical-align:middle !important; margin:0 0 0 6px !important; position:static !important; top:auto !important; transform:none; }
.bem-acts .be-cp:hover { transform:none; }

/* Əmək kitabçası forması: yalnız 3 sütun (əvvəlki .bem-form 4 sütun !important qaydasını üstələyir) */
.bem-form.bbk-form { grid-template-columns:repeat(3, minmax(0, 1fr)) !important; }
.bem-form.bbk-form .bem-add-btn { grid-column:1 / -1 !important; justify-self:end; }
@media (max-width:760px) { .bem-form.bbk-form { grid-template-columns:1fr !important; } }

/* Əmək kitabçası: Ləğv et (sol) + Əlavə et (sağ); aşağıdakı cədvəl xətli */
.bbk-btns { grid-column:1 / -1; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.bem-cancel-btn { height:40px; padding:0 20px; border-radius:14px; background:#fff; color:#3a41a1; border:1.5px solid #dfe3f7; font-weight:700; font-size:13px; cursor:pointer; box-shadow:0 6px 14px rgba(38,45,110,.14); }
.bem-cancel-btn:hover { background:#eef0ff; }
.bem-ongoing input:disabled { opacity:.4; cursor:not-allowed; }
.bem-ongoing:has(input:disabled) { opacity:.5; cursor:not-allowed; }
#bbk-table { border-collapse:collapse; width:100%; }
#bbk-table th, #bbk-table td { border:1px solid #d9dcee; }

/* Əlavə iş yerləri modalı: əmək kitabçası ilə eyni — 3 sütun, Ləğv et/Əlavə et, xətli cədvəl */
.bem-form.bbk-form { grid-template-columns:repeat(3, minmax(0, 1fr)) !important; }
#bem-table { border-collapse:collapse; width:100%; }
#bem-table th, #bem-table td { border:1px solid #d9dcee; }

/* Ləğv et = Əlavə et ilə eyni ölçü, ikonlu */
.bem-cancel-btn { height:34px !important; padding:0 16px !important; border-radius:12px !important; font-weight:800 !important; font-size:12.5px !important; display:inline-flex !important; align-items:center; gap:6px; box-shadow:none !important; border:1.5px solid #dfe3f7 !important; background:#fff !important; color:#3a41a1 !important; }
.bem-cancel-btn svg { width:15px; height:15px; }
.bem-cancel-btn:hover { background:#eef0ff !important; }
/* Modal cədvəlləri: xətlər (əvvəlki border:0 !important qaydalarını üstələyir) */
#be-book-modal #bbk-table, #be-extra-modal #bem-table { border-collapse:collapse !important; }
#be-book-modal #bbk-table th, #be-book-modal #bbk-table td, #be-extra-modal #bem-table th, #be-extra-modal #bem-table td { border:1px solid #d3d7ec !important; }
/* Əsas toplu düzəlt cədvəli də xətli */
#be-table th, #be-table td { border:1px solid #e1e4f3; }
#be-table { border-collapse:collapse; }

/* Əmr təsnifatı: başlığın altındakı izah — digər tablardakı kimi solğun, kənarlardan boşluqla */
[data-tab-panel="orders-taxonomy"] .role-sub { padding:14px 22px 6px !important; margin:0 !important; color:#6a6f98 !important; font-size:12.5px !important; line-height:1.5; max-width:none; }
[data-tab-panel="orders-taxonomy"] .role-sub b { color:#3a41a1; }
[data-tab-panel="orders-taxonomy"] .role-sub a { color:#3a41a1; font-weight:700; }

/* Başlıq zolağında ikinci sətir: izah mətni */
.subsection-title .st-text { display:flex; flex-direction:column; gap:2px; min-width:0; }
.subsection-title .st-sub { display:block; font-size:12px; font-weight:400; text-transform:none; letter-spacing:0; color:rgba(255,255,255,.88) !important; line-height:1.4; }
.subsection-title .st-sub b { color:#fff; font-weight:700; }
.subsection-title .st-sub a { color:#fff !important; font-weight:700; text-decoration:underline; }

/* Müraciətlər / Seçim prosesi: axtarış və select-lər digər namizəd səhifələri kimi (border + kölgə) */
.application-directory .wl-search, .application-directory .table-search-bar .input, .application-directory .table-toolbar .input, .application-directory .table-toolbar select, .application-directory .select-chip {
  border:1.5px solid #dfe0e673 !important; border-radius:14px !important; box-shadow:0 6px 14px rgba(38,45,110,.18) !important; background:#fff;
}
.application-directory .table-search-bar .wl-search .input, .application-directory .table-toolbar .input, .application-directory .select-chip { height:40px; }
.application-directory .wl-search .input { border:0 !important; box-shadow:none !important; }
.application-directory .table-search-bar { padding:14px 22px 6px; display:flex; align-items:center; gap:12px; flex-wrap:wrap; }

/* Namizəd reyestri: telefon / e-poçt sütunları, kompakt ölçülər */
.candidate-directory .data-table td.cand-contact { font-size:12.5px; white-space:nowrap; color:#3b3f6b; }
.candidate-directory .data-table td.cand-mail { max-width:200px; overflow:hidden; text-overflow:ellipsis; }
.candidate-directory .data-table th, .candidate-directory .data-table td { padding-top:8px; padding-bottom:8px; }
.candidate-directory .cell-person-name { font-size:13px; }
.candidate-directory .avatar-sm { width:30px; height:30px; font-size:11px; }

/* Bax modalı (iframe, ?embed=1): detal kartı bütün çərçivəni tutur, öz başlığı/bağla düyməsi gizlənir */
body.is-embed .record-detail-modal.open { position:fixed !important; inset:0 !important; top:0 !important; left:0 !important; transform:none !important; width:100vw !important; max-width:none !important; height:100vh !important; max-height:none !important; margin:0 !important; border:0 !important; border-radius:0 !important; box-shadow:none !important; overflow:auto !important; z-index:5000 !important; background:#fff; }
body.is-embed .record-detail-modal-close { display:none !important; }
body.is-embed .record-detail-modal-head > div:first-child:has(h2) { display:none; }
body.is-embed .record-detail-modal-head:not(:has(> :not(:has(h2)):not(.record-detail-modal-close))) { display:none; }

/* Namizəd detalı (Bax modalı, iframe): profil kartı + iki sütunlu kartlar */
.candidate-profile-sub { color:#6a6f98; font-size:14px; margin:-2px 0 10px; }
body.is-embed .record-detail-modal.open { background:#f6f7fc !important; padding:18px !important; }
body.is-embed .candidate-profile-banner { margin:0 !important; padding:26px 30px !important; background:#fff; border:0 !important; border-radius:18px; box-shadow:0 4px 18px rgba(38,45,110,.08); }
body.is-embed .candidate-profile-avatar { width:92px; height:92px; flex:0 0 92px; border-radius:22px; font-size:34px; background:#e8ebfa; color:#2f3589; }
body.is-embed .candidate-profile-identity { gap:22px; }
body.is-embed .candidate-profile-identity h2 { font-size:26px; font-weight:800; color:#1c2260; margin:0 0 4px; }
body.is-embed .candidate-profile-actions .btn { background:#262a63; color:#fff; border-color:#262a63; border-radius:999px; padding:12px 22px; font-weight:700; }
body.is-embed .candidate-card-sections { grid-template-columns:1.25fr 1fr; gap:18px; margin-top:18px; align-items:start; }
body.is-embed .candidate-card-section { background:#fff !important; border:0 !important; border-radius:18px; padding:22px 24px; box-shadow:0 4px 18px rgba(38,45,110,.08); }
body.is-embed .candidate-card-section:hover { box-shadow:0 4px 18px rgba(38,45,110,.08); }
body.is-embed .candidate-card-section.span-2 { grid-column:auto; }
body.is-embed .candidate-card-sections > .candidate-card-section:first-child { grid-row:span 3; }
body.is-embed .candidate-card-section h4 { font-size:17px; color:#1c2260; margin-bottom:18px; }
body.is-embed .candidate-card-section .section-icon { width:38px; height:38px; border-radius:12px; background:#eef0fb; }
body.is-embed .profile-fact-grid { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:0; }
body.is-embed .profile-fact { flex:none; min-width:0; padding:16px 14px; border-bottom:1px solid #eceefa; }
body.is-embed .profile-fact:nth-child(odd) { border-right:1px solid #eceefa; }
body.is-embed .profile-fact.span-full { grid-column:1/-1; border-right:0; }
body.is-embed .profile-fact-icon { width:44px; height:44px; flex:0 0 44px; border-radius:13px; background:#eef0fb; }
body.is-embed .profile-fact-icon svg { width:19px; height:19px; }
body.is-embed .profile-fact-value { font-size:15px; font-weight:700; color:#1c2260; }
@media (max-width:900px) { body.is-embed .candidate-card-sections { grid-template-columns:1fr; } body.is-embed .candidate-card-sections > .candidate-card-section:first-child { grid-row:auto; } }

/* Əmək kitabçası: staj sütunu və cəm sətri; Excel düyməsi */
#bbk-table td.bbk-staj { white-space:nowrap; font-weight:700; color:#2f3589; }
#bbk-table tfoot td { background:#eef0fb !important; font-weight:800; color:#1c2260; border:1px solid #d9dcee !important; padding:10px 12px; }
#bbk-table tfoot td:first-child { text-align:right; }
.sd-reset.be-xl { text-decoration:none; display:inline-flex; align-items:center; gap:6px; color:#1b7a4b; }

/* Toplu redaktə: dəyişdirilmiş xanalar jurnaldan bərpa olunur; Əmr statusu */
.be-grid td.be-changed-cell { background:#fff7df !important; box-shadow:inset 0 0 0 1.5px #f0c23a; }
.be-ord-wait { display:inline-flex; align-items:center; padding:3px 10px; border-radius:999px; background:#fff3cd; color:#8a5a00; font-size:11px; font-weight:700; white-space:nowrap; }

.bbk-staj-bad { color:#c0392b; }

#bbk-table tfoot td, #bbk-table tfoot td.bbk-staj, #bbk-table tfoot td small { color:#4446a5 !important; }

/* Sıralana bilən başlıqlar (PMH ştat cədvəli) */
.data-table th.th-sortable:hover { background:rgba(64,68,154,.08); }
.data-table th.th-sortable .th-sort > svg:not(.th-lead-icon) { opacity:.75; }
.data-table th.th-sorted .th-sort > svg:not(.th-lead-icon) { opacity:1; width:12px; height:13px; color:#40449a; }

/* Ümumi sıralama oxları */
.data-table th.th-sortable, .sd-table th.th-sortable { cursor:pointer; user-select:none; }
.data-table th.th-sortable:hover, .sd-table th.th-sortable:hover { background:rgba(64,68,154,.08); }
th.th-sortable .th-sort-arrow { width:10px; height:12px; margin-left:5px; vertical-align:-2px; opacity:.55; flex-shrink:0; }
th.th-sorted .th-sort-arrow, th.th-sorted .th-sort > svg:not(.th-lead-icon) { opacity:1; width:12px; height:13px; color:#40449a; }

/* Vakansiyalar: Arxivlə = bordo, Dərc et = yaşıl; ştat pill; tarix pill */
.icon-btn.vacancy-btn-archive { background:#fbeaee !important; border:1.5px solid #8b1e3f !important; color:#8b1e3f !important; }
.icon-btn.vacancy-btn-archive:hover { background:#8b1e3f !important; color:#fff !important; }
.icon-btn.vacancy-btn-publish { background:#e6f6ec !important; border:1.5px solid #1f9d55 !important; color:#1f9d55 !important; }
.icon-btn.vacancy-btn-publish:hover { background:#1f9d55 !important; color:#fff !important; }
.vac-unit-pill { display:inline-flex; align-items:center; padding:5px 14px; border-radius:999px; background:#eef0fb; color:#40449a; font-size:12.5px; font-weight:800; }

/* Yeni vakansiya / müraciət / şablon modalları: custom select (modern-select) də border + kölgə ilə */
.nm-box .modern-select-trigger {
  height:40px; padding:0 14px; border:1.5px solid #dfe0e673 !important; border-radius:12px !important; background:#fff; font:inherit; font-size:13.5px; font-weight:600; color:#1b1f5c;
  box-shadow:0 6px 14px rgba(38,45,110,.12) !important; transition:border-color .15s, box-shadow .15s;
}
.nm-box .modern-select-trigger:hover, .nm-box .modern-select-trigger.open { border-color:#4a52c4 !important; }
.nm-box .modern-select-trigger.is-placeholder .modern-select-trigger-label { color:#8a90ad; font-weight:500; }
.nm-box .vacancy-modal-scroll, .nm-cand-form .vacancy-modal-scroll { padding:4px 6px 14px 4px; }
.nm-box .vacancy-subgroup { overflow:visible; }

/* nm modallarında ikon badge-i ilə mətn üst-üstə düşməsin */
.nm-box .field-icon input.input, .nm-box .field-icon select.input, .nm-box .field-icon .modern-select-trigger, .nm-box .field-icon textarea.input { padding-left:52px !important; }

/* Vakansiyalar: Arxivlə = bordo, Dərc et = yaşıl (data-table td .icon-btn qaydasını üstələyir) */
.data-table td button.icon-btn.vacancy-btn-archive[title][aria-label][type] { background:#fbeaee !important; border:1.5px solid #8b1e3f !important; color:#8b1e3f !important; }
.data-table td button.icon-btn.vacancy-btn-archive[title][aria-label][type]:hover { background:#8b1e3f !important; color:#fff !important; }
.data-table td button.icon-btn.vacancy-btn-publish[title][aria-label][type] { background:#e6f6ec !important; border:1.5px solid #1f9d55 !important; color:#1f9d55 !important; }
.data-table td button.icon-btn.vacancy-btn-publish[title][aria-label][type]:hover { background:#1f9d55 !important; color:#fff !important; }

/* Namizəd Bax modalı: daha kiçik ölçülər; Şəxsi məlumatlar İş təcrübəsi ilə eyni xəttdə bitir; Müraciətlər tam eni */
body.is-embed .record-detail-modal.open { padding:12px !important; }
body.is-embed .candidate-profile-banner { padding:16px 22px !important; border-radius:14px; }
body.is-embed .candidate-profile-avatar { width:60px; height:60px; flex:0 0 60px; border-radius:16px; font-size:22px; }
body.is-embed .candidate-profile-identity { gap:16px; }
body.is-embed .candidate-profile-identity h2 { font-size:19px; }
body.is-embed .candidate-profile-sub { font-size:12.5px; margin-bottom:6px; }
body.is-embed .candidate-profile-actions .btn { padding:8px 16px; font-size:12.5px; }
body.is-embed .candidate-card-sections { gap:12px; margin-top:12px; align-items:stretch; }
body.is-embed .candidate-card-section { padding:14px 16px; border-radius:14px; }
body.is-embed .candidate-card-section.candidate-card-section-tint-success { grid-column:1 / -1; }
body.is-embed .candidate-card-section h4 { font-size:14px; margin-bottom:10px; }
body.is-embed .candidate-card-section .section-icon { width:30px; height:30px; border-radius:9px; }
body.is-embed .profile-fact { padding:10px 10px; }
body.is-embed .profile-fact-icon { width:34px; height:34px; flex:0 0 34px; border-radius:10px; }
body.is-embed .profile-fact-icon svg { width:16px; height:16px; }
body.is-embed .profile-fact-label { font-size:10.5px; }
body.is-embed .profile-fact-value { font-size:13px; }
body.is-embed .record-detail-modal .table-wrap { font-size:12.5px; }

/* Dərc et düyməsi: yaşıl kənar + açıq yaşıl fon (Arxivlə bordo fonla qalır) */
.data-table td button.icon-btn.vacancy-btn-publish[title][aria-label][type] { border:1.5px solid #f7f7f7 !important; background:#569a5d3b !important; color:#1f9d55 !important; }
.data-table td button.icon-btn.vacancy-btn-publish[title][aria-label][type]:hover { background:#1f9d55 !important; color:#fff !important; }

/* Sıralama oxu həmişə kiçik (ölçüsüz SVG nəhəng görünməsin) */
th .th-sort-arrow { width:10px; height:12px; flex-shrink:0; }

/* Çoxsəviyyəli sıralama: səviyyə nömrəsi (1 = əsas, 2, 3) */
th.th-sortable[data-sort-level]::after { content:attr(data-sort-level); display:inline-flex; align-items:center; justify-content:center; width:15px; height:15px; margin-left:4px; border-radius:50%; background:#40449a; color:#fff; font-size:9.5px; font-weight:800; vertical-align:middle; }

/* Əmr reyestri: Əmr № 10.5px */
.employee-directory .data-table td .tag.order-no-tag, .data-table td .tag.order-no-tag, .tag.order-no-tag { font-size:10.5px !important; }

/* Əmr reyestri: düymələr İşçi reyestri ilə eyni ölçü və görünüş */
.order-directory-head .order-head-actions .btn {
  height:36px !important; min-height:36px; padding:0 16px !important; border-radius:14px !important; background:#fff !important; color:#3a41a1 !important;
  border:1.5px solid #dfe3f7 !important; font-weight:700 !important; display:inline-flex; align-items:center; gap:8px;
  box-shadow:0 6px 14px rgba(38,45,110,.18) !important; transition:background .15s, transform .15s; font-size:13px;
}
.order-directory-head .order-head-actions .btn:hover { background:#eef0ff !important; transform:translateY(-1px); }
.order-directory-head .order-head-actions .btn svg { width:15px; height:15px; color:#3a41a1; }

/* Əmr №: bir sətirdə, 10.5px, yığcam */
.tag.order-no-tag, .data-table td .tag.order-no-tag { font-size:10.5px !important; white-space:nowrap !important; padding:3px 9px !important; line-height:1.4 !important; font-weight:700; }
.data-table td:has(> .order-no-tag) { white-space:nowrap; }

/* Yeni əmr (Create / CreateDetails): input və select-lər border + kölgə ilə (modal və cədvəl sahələrindəki kimi) */
.order-create-page .input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.order-create-page select.input,
.order-create-page textarea.input,
.order-create-page .modern-select-trigger {
  border:1.5px solid #dfe0e673 !important; border-radius:12px !important; background-color:#fff;
  box-shadow:0 6px 14px rgba(38,45,110,.12) !important; transition:border-color .15s, box-shadow .15s;
}
.order-create-page .input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
.order-create-page textarea.input:focus,
.order-create-page .modern-select-trigger:focus, .order-create-page .modern-select-trigger.open { border-color:#4a52c4 !important; box-shadow:0 0 0 3px rgba(74,82,196,.15) !important; }
.order-create-page .input[readonly], .order-create-page .input:disabled { background-color:#f3f4fa; }

/* Yeni əmr banneri: ağ kart, böyük ikon, qırmızı bildiriş pill-i, addım çipi (1/2) */
.order-create-banner { gap:22px; padding:22px 26px; margin:0 0 22px; border:1px solid #e6e9f7; border-radius:22px; background:#fff; box-shadow:0 10px 30px rgba(38,45,110,.08); color:#6a6f98; }
.order-create-banner-icon { width:68px; height:68px; flex:0 0 68px; border-radius:18px; background:#e8ebfa; color:#3a41a1; display:grid; place-items:center; }
.order-create-banner-icon svg { width:32px; height:32px; }
.order-create-banner b, .order-create-banner-text > b { display:block; font-size:21px; font-weight:800; color:#1c2260; letter-spacing:-.01em; }
.order-create-banner-text { flex:1; min-width:0; display:flex; flex-direction:column; gap:4px; }
.order-create-banner-text > span { display:block; font-size:14px; color:#7a7fa6; }
.order-create-banner-note { display:flex; align-items:center; gap:10px; margin-top:8px; padding:10px 16px; border-radius:999px; background:#fdecec; color:#e03131; font-size:13.5px; font-weight:600; width:100%; }
.order-create-banner-note svg { width:22px; height:22px; flex:0 0 22px; color:#e8412f; }
.order-create-banner-step { margin-left:auto; padding:10px 22px; border-radius:999px; background:#e8ebfa; color:#3a41a1; font-size:20px; font-weight:700; }
.order-create-banner-chev { width:24px; height:24px; color:#3a41a1; flex:0 0 24px; }
@media (max-width:700px) { .order-create-banner { flex-wrap:wrap; } .order-create-banner-text { flex-basis:100%; } }

/* Yeni əmr: alt düymə paneli kartların (z-index:20) arxasında qalmasın; yuxarı qalxma düyməsi "Növbəti"-ni örtməsin */
.order-create-page .form-footer-bar { position:sticky; bottom:14px; z-index:60; }
body:has(.order-create-page) .scroll-top-btn { bottom:96px; }

/* ===== Yeni əmr: hero kartı + stepper, kart başlıqları, canlı "Əmr üzrə məlumat" paneli, alt düymələr ===== */
.oc-back { display:inline-flex; align-items:center; gap:8px; margin:0 0 14px; color:#6a6f98; font-size:13px; font-weight:600; text-decoration:none; }
.oc-back svg { width:15px; height:15px; }
.oc-back:hover { color:#3a41a1; }
.order-create-page .oc-hero { padding:22px 26px; border:1px solid #e6e9f7; border-radius:22px; background:#fff; box-shadow:0 10px 30px rgba(38,45,110,.08); }
.oc-hero-top { display:flex; align-items:center; gap:16px; }
.oc-hero-icon { width:52px; height:52px; flex:0 0 52px; border-radius:15px; background:#e8ebfa; color:#3a41a1; display:grid; place-items:center; }
.oc-hero-icon svg { width:26px; height:26px; }
.oc-hero-text h2 { margin:0; font-size:22px; font-weight:800; color:#1c2260; }
.oc-hero-text p { margin:2px 0 0; font-size:13.5px; color:#7a7fa6; }
.oc-hero-chip { margin-left:auto; padding:8px 18px; border-radius:999px; background:#e8ebfa; color:#3a41a1; font-size:13px; font-weight:700; white-space:nowrap; }
.oc-steps { display:flex; align-items:center; gap:14px; margin-top:20px; }
.oc-step { display:flex; align-items:center; gap:10px; }
.oc-step-no { width:34px; height:34px; border-radius:50%; display:grid; place-items:center; background:#fff; border:1.5px solid #dfe3f7; color:#6a6f98; font-weight:700; font-size:14px; }
.oc-step.current .oc-step-no { background:#3a41a1; border-color:#3a41a1; color:#fff; }
.oc-step-label { font-size:13.5px; color:#6a6f98; font-weight:600; }
.oc-step.current .oc-step-label { color:#3a41a1; text-decoration:underline; text-underline-offset:4px; }
.oc-step-line { flex:1; height:1.5px; background:#e3e6f5; min-width:30px; }
.oc-locked { display:flex; align-items:center; gap:10px; min-height:40px; padding:0 14px; border-radius:12px; background:#f3f4fa; color:#7a7fa6; font-size:13.5px; border:1.5px solid #dfe0e673; box-shadow:0 6px 14px rgba(38,45,110,.08); }
.oc-locked svg { width:16px; height:16px; flex:0 0 16px; }

/* kart başlıqları: ikon kvadratı + qalın başlıq */
.order-create-page .order-form-card { border:1px solid #e6e9f7 !important; border-radius:20px !important; background:#fff; box-shadow:0 8px 26px rgba(38,45,110,.06); padding:22px 24px; }
.order-create-page .order-form-card .subsection-title { display:flex; align-items:center; gap:12px; margin-bottom:16px; font-size:16px; font-weight:800; color:#1c2260; }
.order-create-page .order-form-card .subsection-title > svg { width:38px; height:38px; padding:9px; border-radius:12px; background:#eef0fb; color:#3a41a1; flex:0 0 38px; box-sizing:border-box; }

/* sağ panel */
.oc-summary { padding:22px 24px; border:1px solid #e6e9f7; border-radius:20px; background:#fff; box-shadow:0 8px 26px rgba(38,45,110,.06); position:sticky; top:12px; }
.oc-summary-head { display:flex; align-items:center; gap:10px; padding-bottom:14px; border-bottom:1px solid #eceefa; }
.oc-summary-head svg { width:18px; height:18px; color:#3a41a1; }
.oc-summary-head h3 { margin:0; font-size:16px; font-weight:800; color:#1c2260; }
.oc-sum-group { padding:16px 0; border-bottom:1px solid #eceefa; }
.oc-sum-title { display:flex; align-items:center; gap:12px; font-weight:800; color:#1c2260; font-size:14px; margin-bottom:10px; }
.oc-sum-ic { width:36px; height:36px; border-radius:11px; background:#eef0fb; color:#3a41a1; display:grid; place-items:center; }
.oc-sum-ic svg { width:18px; height:18px; }
.oc-summary dl { margin:0; padding-left:48px; display:grid; gap:7px; }
.oc-summary dl > div { display:flex; justify-content:space-between; gap:14px; font-size:12.5px; }
.oc-summary dt { color:#7a7fa6; }
.oc-summary dd { margin:0; color:#1c2260; font-weight:600; text-align:right; max-width:60%; word-break:break-word; }
.oc-sum-note { display:flex; gap:10px; margin-top:16px; padding:12px 14px; border-radius:12px; background:#fff6e5; border:1px solid #f4dfb0; color:#8a5a00; font-size:12.5px; }
.oc-sum-note svg { width:18px; height:18px; flex:0 0 18px; }

/* alt düymələr */
.order-create-page .form-footer-bar { border:1px solid #e6e9f7; border-radius:18px; background:#fff; box-shadow:0 10px 24px rgba(38,45,110,.1); }
.oc-cancel-btn { height:42px; padding:0 22px; border-radius:12px !important; border:1.5px solid #dfe3f7 !important; color:#3a41a1 !important; background:#fff !important; font-weight:700; }
.oc-next-btn { height:42px; padding:0 24px; border-radius:12px !important; background:#3a41a1 !important; color:#fff !important; border:0 !important; font-weight:700; display:inline-flex; align-items:center; gap:10px; box-shadow:0 8px 18px rgba(58,65,161,.35); }
.oc-next-btn:hover { background:#2f3589 !important; }
.oc-next-btn svg { width:16px; height:16px; }
@media (max-width:860px) { .oc-summary { position:static; } .oc-steps { flex-wrap:wrap; } }

/* mərhələ panelləri */
.oc-panel { display:grid; gap:22px; }
.oc-panel[hidden] { display:none !important; }
button.oc-step { background:none; border:0; padding:0; cursor:pointer; font:inherit; }
.oc-step-next { opacity:.7; }
.oc-cancel-btn[hidden], .btn[hidden] { display:none !important; }

/* məcburi sahə xətası */
.order-create-page .oc-missing { border-color:#e03131 !important; box-shadow:0 0 0 3px rgba(224,49,49,.15) !important; }
.oc-error { margin:0 0 12px; padding:12px 16px; border-radius:14px; background:#fdecec; color:#c92a2a; font-size:13px; font-weight:600; border:1px solid #f5c2c2; }
.oc-error[hidden] { display:none; }

.oc-error { margin:8px 3px 13px !important; }

/* Yeni əmr alt düymələri: İşçilərdəki "Yadda saxla / Bağla" (nm-btn) dizaynı */
.order-create-page .form-footer-bar .nm-btn { flex:0 0 auto; min-width:170px; padding:0 30px; text-decoration:none; }
.order-create-page .form-footer-bar .nm-btn[hidden] { display:none !important; }

/* Yeni əmr: tooltip, pill, kiçik alt düymələr */
.oc-tip { position:relative; display:inline-flex; vertical-align:-3px; margin-left:4px; color:#8a90ad; cursor:help; }
.oc-tip svg { width:15px; height:15px; }
.oc-tip:hover, .oc-tip:focus { color:#3a41a1; outline:none; }
.oc-tip::after { content:attr(data-tip); position:absolute; left:50%; bottom:calc(100% + 8px); transform:translateX(-50%); width:max-content; max-width:260px; padding:8px 11px; border-radius:10px; background:#1c2260; color:#fff; font-size:12px; font-weight:500; line-height:1.4; white-space:normal; text-align:left; box-shadow:0 8px 20px rgba(28,34,96,.3); opacity:0; pointer-events:none; transition:opacity .15s; z-index:80; }
.oc-tip:hover::after, .oc-tip:focus::after { opacity:1; }
.oc-draft-pill { display:inline-flex; align-items:center; gap:8px; padding:7px 14px; border-radius:999px; background:#eef0fb; color:#3a41a1; font-size:12.5px; font-weight:700; }
.oc-draft-pill svg { width:16px; height:16px; }
.order-create-page .form-footer-bar .nm-btn { height:40px; min-width:130px; padding:0 22px; font-size:13.5px; border-radius:20px; gap:8px; }
.order-create-page .form-footer-bar .nm-btn svg { width:16px; height:16px; }

/* Yeni əmr: 3 sütunlu sahələr kartdan kənara çıxmasın, etiket sətirləri eyni hündürlükdə olsun */
.order-create-page .form-grid.cols-3 { grid-template-columns:repeat(3, minmax(0,1fr)); }
.order-create-page .form-grid.cols-3 > .field { min-width:0; }
.order-create-page .form-grid.cols-3 .modern-select-shell, .order-create-page .form-grid.cols-3 .field-icon { min-width:0; width:100%; }
.order-create-page .form-grid.cols-3 .modern-select-trigger { min-width:0; }
.order-create-page .form-grid.cols-3 .modern-select-trigger-label { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.order-create-page .form-grid.cols-3 .field > label { display:flex; align-items:center; gap:4px; min-height:20px; margin-bottom:6px; }
.order-create-page .form-grid.cols-3 .oc-tip { margin-left:2px; vertical-align:0; }

/* ===== Vahid tooltip bubble ===== */
.ui-tip { position:fixed; z-index:200000; max-width:280px; padding:8px 12px; border-radius:11px; background:#1c2260; color:#fff; font-size:12px; font-weight:500; line-height:1.45; text-align:left; box-shadow:0 10px 26px rgba(28,34,96,.32); pointer-events:none; opacity:0; transition:opacity .12s; white-space:normal; word-break:break-word; }
.ui-tip.show { opacity:1; }
.ui-tip::after { content:""; position:absolute; left:var(--arrow-x, 50%); bottom:-5px; width:10px; height:10px; background:#1c2260; transform:translateX(-50%) rotate(45deg); border-radius:2px; }
.ui-tip.below::after { bottom:auto; top:-5px; }
.oc-tip::after { display:none !important; }
.oc-tip { color:#6a6f98; }
.oc-tip svg { width:16px; height:16px; }

/* ===== Müasir tarix seçici ===== */
.fp-wrap { position:relative; display:block; width:100%; }
.fp-wrap .fp-alt { padding-right:40px !important; width:100%; cursor:pointer; }
.fp-wrap .fp-ic { position:absolute; right:12px; top:50%; transform:translateY(-50%); color:#6a6f98; display:grid; place-items:center; cursor:pointer; }
.fp-wrap .fp-ic svg { width:16px; height:16px; }
.flatpickr-calendar { border-radius:18px !important; border:1px solid #e6e9f7 !important; box-shadow:0 22px 50px rgba(38,45,110,.25) !important; font-family:inherit !important; padding:6px 6px 10px; z-index:100000 !important; }
.flatpickr-calendar::before, .flatpickr-calendar::after { display:none !important; }
.flatpickr-months .flatpickr-month, .flatpickr-current-month .flatpickr-monthDropdown-months, .flatpickr-current-month input.cur-year { color:#1c2260 !important; fill:#1c2260; font-weight:800; }
.flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month { color:#3a41a1 !important; fill:#3a41a1 !important; }
.flatpickr-months .flatpickr-prev-month:hover svg, .flatpickr-months .flatpickr-next-month:hover svg { fill:#1c2260 !important; }
span.flatpickr-weekday { color:#8a90ad !important; font-weight:700 !important; }
.flatpickr-day { border-radius:12px !important; color:#1c2260; font-weight:600; }
.flatpickr-day:hover { background:#eef0fb !important; border-color:#eef0fb !important; }
.flatpickr-day.today { border-color:#3a41a1 !important; }
.flatpickr-day.selected, .flatpickr-day.selected:hover { background:#3a41a1 !important; border-color:#3a41a1 !important; color:#fff !important; box-shadow:0 6px 14px rgba(58,65,161,.35); }
.flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay { color:#b5b9d0 !important; }
.flatpickr-day.flatpickr-disabled { color:#d3d6e6 !important; }

/* Yeni əmr: seçim siyahısı alt panelin arxasında qalmasın */
.order-create-page .form-footer-bar { z-index:25; }
.order-create-page .chip-dropdown-menu { z-index:100; }

/* Tarix seçici: flex/grid kontekstlərdə də tam en (mətn kəsilməsin) */
.fp-wrap, .field-icon:has(.fp-wrap), .fp-wrap .field-icon { width:100% !important; max-width:100%; align-self:stretch; box-sizing:border-box; }
.fp-wrap .fp-alt, .fp-wrap .field-icon input.fp-alt { width:100% !important; box-sizing:border-box; min-width:0; text-overflow:clip; }
.field-icon .fp-wrap .fp-ic, .fp-wrap .field-icon ~ .fp-ic { display:none; }
.field-icon .fp-wrap .fp-alt, .fp-wrap .field-icon .fp-alt { padding-left:50px !important; padding-right:14px !important; }

/* Əmr şablonu (CreateDetails): məlumat pill-i */
.oc-info-pill { display:flex; align-items:center; gap:10px; margin:0 0 12px; padding:9px 16px; border-radius:999px; background:#eef0fb; color:#3a41a1; font-size:12.5px; font-weight:600; line-height:1.4; }
.oc-info-pill svg { width:18px; height:18px; flex:0 0 18px; }
.order-create-page .form-footer-bar .nm-btn { text-decoration:none; }

/* Əmək kitabçası modalı (İşçi reyestri): əmr statusları */
.bv-section { margin:4px 0 8px; font-size:13px; font-weight:800; color:#1c2260; }
.bv-section:not(:first-child) { margin-top:20px; }
.bv-table { width:100%; }
.bv-wait { display:inline-flex; align-items:center; padding:3px 11px; border-radius:999px; background:#fff3cd; color:#8a5a00; font-size:11px; font-weight:700; white-space:nowrap; text-decoration:none; }
a.bv-wait:hover { background:#ffe49a; }
.bv-done { display:inline-flex; align-items:center; padding:3px 11px; border-radius:999px; background:#e6f6ec; color:#1b7a4b; font-size:11px; font-weight:700; white-space:nowrap; text-decoration:none; }
a.bv-done:hover { background:#c9ecd8; }
.bv-ongoing { display:inline-flex; padding:3px 10px; border-radius:999px; background:#eef0fb; color:#3a41a1; font-size:11px; font-weight:700; }

/* Əmr şablonu səhifəsi: hero + stepper (3-cü addım aktiv) */
.oc-hero-details { margin-bottom:18px; }
.oc-step.done .oc-step-no { background:#e6f6ec; border-color:#bfe6cf; color:#1b7a4b; }
.oc-step.done .oc-step-no svg { width:16px; height:16px; }
.oc-step.done .oc-step-label { color:#1b7a4b; }
.oc-step-line.done { background:#bfe6cf; }

/* Tarix seçici alt-input: type=date qaydalarının eynisi (Məzuniyyətlər filtrləri və modal) */
.bal-filters .bal-date .fp-wrap { width:128px !important; }
.bal-filters .bal-date input.fp-alt { height:32px !important; width:100% !important; border:0 !important; box-shadow:none !important; background:transparent !important; padding:0 30px 0 8px !important; font:inherit; font-size:12.5px; font-weight:600; color:#26286b; outline:none; }
.bal-filters .bal-date .fp-ic { right:6px; }
.bal-filters .bal-date { white-space:nowrap; }
.bal-filters .bal-date > span { white-space:nowrap; }
#leave-recall-modal input.fp-alt { min-height:32px !important; padding:7px 40px 7px 14px !important; height:auto !important; }

/* ===== Əmr şablonu səhifəsi (CreateDetails): şəkildəki dizayn ===== */
.order-create-page .order-template-layout { grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); gap:20px; }
.order-create-page .order-template-fields { border:1px solid #e6e9f7 !important; border-radius:22px !important; background:#fff; box-shadow:0 10px 30px rgba(38,45,110,.07); padding:22px 24px; }
.order-create-page .order-template-fields > .subsection-title:first-child,
.order-create-page .order-template-fields .subsection-title { display:flex; align-items:center; gap:12px; font-size:16px; font-weight:800; color:#1c2260; }
.order-create-page .order-template-fields > .subsection-title:first-child::before { content:""; width:38px; height:38px; flex:0 0 38px; border-radius:12px; background:#eef0fb; -webkit-mask:none; }
.order-create-page .order-template-fields .subsection-title::before { content:""; display:inline-block; width:38px; height:38px; flex:0 0 38px; border-radius:12px; background-color:#eef0fb; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:center; background-size:20px; }
.order-create-page .order-template-fields .subsection-title[style*="margin-top"]::before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M9 13h6M9 17h6'/%3E%3C/svg%3E"); }

/* məlumat kartları (işçi / struktur / vəzifə / tarix) */
.order-create-page .order-template-summary { gap:12px; }
.order-create-page .order-template-summary > div { position:relative; background:#f8f9fe; border:1px solid #e6e9f7; border-radius:16px; padding:14px 16px 14px 46px; box-shadow:0 4px 12px rgba(38,45,110,.05); }
.order-create-page .order-template-summary > div::before { content:""; position:absolute; left:14px; top:15px; width:18px; height:18px; background:#6a6f98; -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E") center/contain no-repeat; }
.order-create-page .order-template-summary > div:nth-child(2)::before { -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V7l8-4 8 4v14M9 9h1M9 13h1M14 9h1M14 13h1'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V7l8-4 8 4v14M9 9h1M9 13h1M14 9h1M14 13h1'/%3E%3C/svg%3E"); }
.order-create-page .order-template-summary > div:nth-child(3)::before { -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16'/%3E%3C/svg%3E"); }
.order-create-page .order-template-summary > div:nth-child(4)::before { -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E"); }
.order-create-page .order-template-summary span { font-size:11.5px; color:#8a90ad; }
.order-create-page .order-template-summary b { font-size:14px; color:#1c2260; }
.order-create-page .order-template-summary small { font-size:11.5px; color:#8a90ad; }

/* Sənəd mətni (redaktə olunan sənəd) */
.order-create-page .order-template-fields .field-hint { color:#7a7fa6; font-size:12.5px; }

/* Rektor imzası */
.order-create-page .order-template-advanced { border-top:1px solid #eceefa; margin-top:20px; padding-top:16px; }
.order-create-page .order-template-advanced summary { font-weight:800; color:#1c2260; font-size:14px; }

/* sağ: Sənəd önizləməsi */
.order-create-page .order-template-preview-wrap { background:#fff; border:1px solid #e6e9f7; border-radius:22px; box-shadow:0 10px 30px rgba(38,45,110,.07); padding:18px 22px 22px; }
.order-create-page .order-template-preview-head { margin:0 0 14px; padding:0; }
.order-create-page .order-template-preview-head b { display:inline-flex; align-items:center; gap:10px; font-size:15px; font-weight:800; color:#1c2260; }
.order-create-page .order-template-preview-head b::before { content:""; width:20px; height:20px; background:#3a41a1; -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat; }
.order-create-page .order-template-preview-head > span { display:inline-flex; align-items:center; gap:8px; margin-left:auto; margin-right:14px; color:#4b5078; font-size:12.5px; }
.order-create-page .order-template-preview-head > span::before { content:""; width:9px; height:9px; border-radius:50%; background:#22b573; box-shadow:0 0 0 3px rgba(34,181,115,.18); }
.order-create-page .order-template-preview-head .btn { display:inline-flex; align-items:center; gap:8px; height:36px; padding:0 16px; border-radius:999px; border:1.5px solid #dfe3f7; background:#fff; color:#1c2260; font-weight:700; font-size:12.5px; }
.order-create-page .order-template-preview-head .btn::before { content:""; width:15px; height:15px; background:#3a41a1; -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 6 2 18 2 18 9'/%3E%3Cpath d='M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2'/%3E%3Crect x='6' y='14' width='12' height='8'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 6 2 18 2 18 9'/%3E%3Cpath d='M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2'/%3E%3Crect x='6' y='14' width='12' height='8'/%3E%3C/svg%3E") center/contain no-repeat; }
.order-create-page .order-doc-preview { border:1px solid #e6e9f7; border-radius:14px; box-shadow:0 8px 24px rgba(38,45,110,.08); }
@media (max-width:1100px) { .order-create-page .order-template-layout { grid-template-columns:1fr; } }

/* Hero: "Geri / Əmrlər siyahısı" düyməsi çipin sağında */
.oc-back-btn { display:inline-flex; align-items:center; gap:8px; height:36px; padding:0 16px; border-radius:999px; border:1.5px solid #dfe3f7; background:#fff; color:#3a41a1; font-size:12.5px; font-weight:700; text-decoration:none; white-space:nowrap; box-shadow:0 4px 12px rgba(38,45,110,.08); }
.oc-back-btn svg { width:15px; height:15px; }
.oc-back-btn:hover { background:#eef0ff; }
.oc-hero-chip { margin-left:auto; }

/* İşçini redaktə et: 4 sütun, eyni border + kölgə */
.form-grid.cols-4 { grid-template-columns:repeat(4, minmax(0,1fr)); }
.employee-edit-grid > .field { min-width:0; }
.employee-edit-grid .input:not([type="checkbox"]), .employee-edit-grid .modern-select-trigger, .employee-edit-grid select.input {
  border:1.5px solid #dfe0e673 !important; border-radius:12px !important; box-shadow:0 6px 14px rgba(38,45,110,.12) !important; background-color:#fff;
}
.employee-edit-grid .input:disabled { background-color:#f3f4fa; }
.employee-edit-grid .input:focus, .employee-edit-grid .modern-select-trigger.open { border-color:#4a52c4 !important; box-shadow:0 0 0 3px rgba(74,82,196,.15) !important; }
.employee-edit-grid .dropzone { border:1.5px solid #dfe0e673; border-radius:12px; box-shadow:0 6px 14px rgba(38,45,110,.12); background:#fff; min-height:40px; }
.employee-edit-grid .field > label { display:flex; align-items:center; gap:4px; min-height:20px; }
@media (max-width:1100px) { .form-grid.cols-4 { grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width:640px) { .form-grid.cols-4 { grid-template-columns:1fr; } }

/* İşçini redaktə et: alt düymələr (Ləğv et / Yadda saxla) — əmr mərhələlərindəki kimi */
.form-footer-bar .nm-btn { flex:0 0 auto; min-width:130px; height:40px; padding:0 22px; font-size:13.5px; border-radius:20px; gap:8px; text-decoration:none; }
.form-footer-bar .nm-btn svg { width:16px; height:16px; }
.form-footer-bar:has(.nm-btn) { justify-content:flex-end; gap:10px; border:1px solid #e6e9f7; border-radius:18px; background:#fff; box-shadow:0 10px 24px rgba(38,45,110,.1); }

/* Əmr sənədi çapı: ekran dizaynının (kart, kölgə, yuvarlaq künc, boşluq) çapa keçməməsi */
@media print {
  .order-create-page .order-template-preview-wrap { padding:0 !important; border:0 !important; border-radius:0 !important; box-shadow:none !important; background:transparent !important; }
  .order-create-page .order-doc-preview { border:0 !important; border-radius:0 !important; box-shadow:none !important; padding:0 !important; min-height:0 !important; background:#fff !important; }
  .order-create-page .order-template-fields, .order-create-page .oc-hero { box-shadow:none !important; }
}

/* Əmək kitabçası və Əlavə iş yerləri modalları: alt düymələr daha kiçik */
#be-extra-modal .modal-actions, #be-book-modal .modal-actions { justify-content:flex-end; gap:10px; margin-top:14px; padding-top:14px; }
#be-extra-modal .modal-actions .btn, #be-book-modal .modal-actions .btn { flex:0 0 auto !important; min-width:120px; height:38px !important; padding:0 22px; border-radius:19px !important; font-size:13px !important; gap:8px !important; }
#be-extra-modal .modal-actions .btn svg, #be-book-modal .modal-actions .btn svg { width:16px !important; height:16px !important; }

/* İşçi reyestri: uzun status adı (məs. "Uşağa qulluğa görə qismən ödənişli məzuniyyətdədir") pill-dən kənara çıxmasın */
.employee-directory .data-table td .badge { white-space:normal !important; display:inline-block; max-width:260px; line-height:1.4 !important; text-align:left; border-radius:14px; padding:4px 12px; word-break:normal; overflow-wrap:anywhere; }

.bv-pills { display:flex; flex-wrap:wrap; gap:6px; }
a.be-ord-wait { text-decoration:none; }
a.be-ord-wait:hover { background:#ffe49a; }

/* Toplu redaktə: doğum tarixi tam görünsün (dd.MM.yyyy) */
#be-table th:nth-child(4), #be-table td:nth-child(4) { min-width:150px; width:150px; }
#be-table td .fp-wrap { min-width:130px; width:100% !important; }
#be-table td input.fp-alt { padding:0 32px 0 10px !important; font-size:12.5px; min-width:0; text-overflow:clip; }
#be-table td .fp-ic { right:9px; }

/* Toplu redaktə → Əmək kitabçası: Əmr sütunu və Əmrlər bölməsi */
#bbk-table td.bbk-ordcell { white-space:nowrap; }
.bbk-orders .bv-pills { gap:10px; }
.bbk-ordrow { display:inline-flex; align-items:center; gap:8px; padding:4px 10px 4px 4px; border:1px solid #eceefa; border-radius:999px; background:#fafbff; }
.bbk-ordrow small { color:#6a6f98; font-size:11.5px; }

/* Əmrlər cədvəli: status pill-ləri */
.bv-st { display:inline-flex; align-items:center; padding:3px 11px; border-radius:999px; font-size:11px; font-weight:700; white-space:nowrap; }
.bv-st-wait { background:#fff3cd; color:#8a5a00; }
.bv-st-ok { background:#e6f6ec; color:#1b7a4b; }
.bv-st-gray { background:#eceef5; color:#6a6f88; }

/* Modal bölmə başlıqları (İş yerləri / Əmrlər / Məzuniyyətlər): normal başlıq dizaynı */
.bv-section { display:flex; align-items:center; gap:10px; margin:6px 0 12px !important; padding:0; font-size:15px; font-weight:800; color:#1c2260; letter-spacing:0; text-transform:none; }
.bv-section:not(:first-child) { margin-top:24px !important; }
.bv-section::before { content:""; flex:0 0 30px; width:30px; height:30px; border-radius:10px; background-color:#eef0fb; background-repeat:no-repeat; background-position:center; background-size:16px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a41a1' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M9 13h6M9 17h6'/%3E%3C/svg%3E"); }

/* Kitabça sətri ↔ əmr: əməliyyatlar */
.bv-actions { display:flex; flex-wrap:wrap; align-items:center; gap:6px; }
.bv-act { display:inline-flex; align-items:center; padding:3px 11px; border-radius:999px; background:#3a41a1; color:#fff !important; font-size:11px; font-weight:700; white-space:nowrap; text-decoration:none; }
.bv-act:hover { background:#2f3589; }
select.bv-pick { height:26px; max-width:150px; padding:0 8px; border:1.5px solid #dfe3f7; border-radius:999px; background:#fff; color:#3a41a1; font-size:11px; font-weight:700; cursor:pointer; }
.bv-unlink { width:20px; height:20px; border:0; border-radius:50%; background:#f1f2f8; color:#8a90ad; font-size:14px; line-height:1; cursor:pointer; }
.bv-unlink:hover { background:#fdeaea; color:#c0392b; }

/* Kitabça "Əmr" xanası: yığcam — bir sətirdə düymə + seçim */
.bv-actions { flex-wrap:nowrap; gap:6px; }
select.bv-pick { width:104px; max-width:104px; height:24px; text-overflow:ellipsis; }

/* Kitabça "Əmr" xanası — yeni yığcam görünüş: [status] [+ yarat] [🔗 seç] bir sətirdə */
.bv-actions { display:inline-flex; align-items:center; flex-wrap:nowrap; gap:6px; white-space:nowrap; }
.bv-iconbtn { position:relative; display:inline-grid; place-items:center; width:28px; height:28px; border-radius:10px; background:#eef0fb; color:#3a41a1 !important; border:0; cursor:pointer; text-decoration:none; flex:0 0 28px; }
.bv-iconbtn:hover { background:#3a41a1; color:#fff !important; }
.bv-iconbtn svg { width:15px; height:15px; pointer-events:none; }
.bv-iconbtn.bv-create { background:#3a41a1; color:#fff !important; }
.bv-iconbtn.bv-create:hover { background:#2f3589; }
.bv-pickwrap select.bv-pick { position:absolute; inset:0; width:100%; max-width:none; height:100%; opacity:0; cursor:pointer; border:0; padding:0; }

/* İşçi reyestri: status pill-i səliqəli — mətn genişliyinə görə uzanır, ən çox 260px; yalnız boşluqlardan sətirə keçir, sözü bölmür */
.employee-directory .data-table td .badge {
  display:inline-block; width:max-content; max-width:260px; white-space:normal !important; overflow-wrap:normal !important; word-break:normal !important;
  text-align:center; line-height:1.35 !important; padding:5px 14px !important; border-radius:999px !important; font-size:11.5px;
}
.employee-directory .data-table td:has(> .badge) { white-space:nowrap; min-width:150px; }

/* "davam edir" pill-i bir sətirdə */
.bv-ongoing, .bem-tag, .bem-tag-new { white-space:nowrap !important; display:inline-flex; align-items:center; padding:3px 12px; border-radius:999px; }
.bv-table td:nth-child(8), #bbk-table td:nth-child(8) { white-space:nowrap; min-width:112px; }

/* Ümumi şablon: administrator üçün "şablon kimi saxla" */
.oc-preset-check { display:flex; align-items:center; gap:10px; margin:12px 0 4px; padding:10px 14px; border-radius:12px; background:#eef0fb; color:#1c2260; font-size:13px; font-weight:700; cursor:pointer; }
.oc-preset-check input { width:16px; height:16px; accent-color:#3a41a1; }
.oc-preset-check small { color:#6a6f98; font-weight:600; }

/* Əmr seç: modern açılan siyahı */
.bv-menu { position:fixed; z-index:100001; max-height:280px; overflow-y:auto; padding:6px; background:#fff; border:1px solid #e6e9f7; border-radius:14px; box-shadow:0 18px 40px rgba(38,45,110,.22); }
.bv-menu[hidden] { display:none; }
.bv-menu-item { display:flex; flex-direction:column; align-items:flex-start; gap:2px; width:100%; padding:9px 12px; border:0; border-radius:10px; background:transparent; text-align:left; cursor:pointer; font:inherit; }
.bv-menu-item:hover { background:#eef0fb; }
.bv-menu-item b { font-size:13px; color:#1c2260; font-weight:800; }
.bv-menu-item span { font-size:11.5px; color:#6a6f98; }
.bv-menu-empty { padding:12px; color:#8a90ad; font-size:12.5px; text-align:center; }

th.th-ops { white-space:nowrap; }

/* =========================================================
   Login v2 — portal-style landing + sign-in card
   ========================================================= */
body.login-v2-page { min-height: 100vh; background: #f6f7fd; color: #1b2142; overflow-x: hidden; }
.login-v2 { position: relative; display: flex; flex-direction: column; min-height: 100vh; background:
  radial-gradient(900px 520px at 78% 6%, rgba(122,112,240,.16), transparent 62%),
  radial-gradient(700px 480px at 4% 96%, rgba(122,112,240,.09), transparent 60%), #f7f8fe; }
.login-v2-photo { position: absolute; left: 0; bottom: 56px; width: 56%; height: 46%; background: url("../images/uni_logo.jpeg") center 62% / cover no-repeat; opacity: .16; filter: grayscale(1) saturate(.4); -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 92%), linear-gradient(to right, #000 55%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(to top, #000 10%, transparent 92%), linear-gradient(to right, #000 55%, transparent); mask-composite: intersect; pointer-events: none; }

.login-v2-header { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 64px; background: rgba(255,255,255,.72); border-bottom: 1px solid #e9ebf6; backdrop-filter: blur(10px); }
.login-v2-brand { display: flex; align-items: center; gap: 12px; }
.login-v2-brand img { width: 52px; height: 52px; border-radius: 50%; }
.login-v2-brand b { display: block; font-size: 12.5px; font-weight: 800; line-height: 1.25; letter-spacing: .02em; color: #1d2352; }
.login-v2-nav { display: flex; gap: 38px; }
.login-v2-nav a { position: relative; padding: 14px 2px; font-size: 12.5px; font-weight: 650; color: #5b6385; }
.login-v2-nav a:hover { color: #3a3fc4; }
.login-v2-nav a.active { color: #3a3fc4; }
.login-v2-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -15px; height: 2px; border-radius: 2px; background: #4a4fe0; }
.login-v2-tools { display: flex; align-items: center; gap: 22px; }
.login-v2-lang { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: #4a5272; }
.login-v2-lang svg { width: 15px; height: 15px; }
.login-v2-signin { display: inline-flex; align-items: center; gap: 8px; padding: 9px 20px; border: 1px solid #dfe2f4; border-radius: 10px; background: #fff; font-size: 12px; font-weight: 700; color: #3a3fc4; }
.login-v2-signin svg { width: 15px; height: 15px; }

.login-v2-main { position: relative; z-index: 1; flex: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, 520px); align-items: center; gap: 56px; width: 100%; max-width: 1340px; margin: 0 auto; padding: 36px 64px 28px; }
.login-v2-hero { max-width: 560px; }
.login-v2-eyebrow { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 22px; font-size: 11.5px; font-weight: 800; letter-spacing: .26em; color: #4a4fe0; }
.login-v2-eyebrow::before { content: ""; width: 42px; height: 2px; background: #4a4fe0; border-radius: 2px; }
.login-v2-hero h1 { margin: 0 0 22px; font-size: 46px; line-height: 1.12; font-weight: 850; letter-spacing: -.025em; color: #151b44; }
.login-v2-hero p { margin: 0 0 34px; max-width: 470px; font-size: 14.5px; line-height: 1.65; color: #6a7192; }
.login-v2-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 520px; }
.login-v2-stat { padding: 16px 18px 15px; border: 1px solid #e6e9f6; border-radius: 16px; background: rgba(255,255,255,.82); box-shadow: 0 8px 22px rgba(51,58,130,.05); }
.login-v2-stat-icon { display: grid; width: 38px; height: 38px; margin-bottom: 14px; place-items: center; border-radius: 50%; color: #4a4fe0; background: #eceeff; }
.login-v2-stat-icon svg { width: 18px; height: 18px; }
.login-v2-stat strong { display: block; font-size: 22px; font-weight: 850; color: #151b44; }
.login-v2-stat span { display: block; margin-top: 2px; font-size: 11.5px; color: #7b82a2; }

.login-v2-card { position: relative; padding: 26px 34px 20px; border: 1px solid #e3e6f7; border-radius: 26px; background: linear-gradient(160deg, #fff 55%, #f2f2ff); box-shadow: 0 30px 70px rgba(58,63,196,.14), 0 4px 14px rgba(40,46,120,.05); }
.login-v2-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.login-v2-card-badge { display: inline-flex; align-items: center; gap: 9px; font-size: 11.5px; font-weight: 700; color: #4f5778; }
.login-v2-card-badge i { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 7px; color: #fff; background: linear-gradient(135deg, #5a5ff0, #8a7cf6); font-size: 9px; font-style: normal; font-weight: 850; }
.login-v2-secure { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border: 1px solid #cfeadb; border-radius: 999px; color: #2f8a56; background: #effaf3; font-size: 10.5px; font-weight: 750; }
.login-v2-secure svg { width: 12px; height: 12px; }
.login-v2-card h2 { margin: 0; font-size: 31px; line-height: 1.15; font-weight: 850; letter-spacing: -.02em; color: #151b44; }
.login-v2-card h2 em { display: block; font-style: normal; color: #5a54e8; }
.login-v2-card-sub { margin: 12px 0 22px; font-size: 12px; color: #7c83a3; }

.login-v2-tabs { display: flex; gap: 22px; margin-bottom: 20px; border-bottom: 1px solid #e8eaf6; }
.login-v2-tab { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 0 2px 12px; border: 0; background: none; font-size: 12.5px; font-weight: 700; color: #7b82a2; cursor: pointer; }
.login-v2-tab svg { width: 15px; height: 15px; }
.login-v2-tab.active { color: #3a3fc4; }
.login-v2-tab.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: #4a4fe0; }

.login-v2-field { position: relative; display: flex; align-items: center; gap: 12px; height: 56px; margin-bottom: 14px; padding: 0 16px; border: 1px solid #e1e4f3; border-radius: 14px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.login-v2-field:focus-within { border-color: #6a63f0; box-shadow: 0 0 0 3px rgba(106,99,240,.13); }
.login-v2-field > svg { width: 18px; height: 18px; flex: 0 0 18px; color: #7d84a6; }
.login-v2-field label { position: absolute; left: 46px; top: 9px; font-size: 10px; font-weight: 600; color: #8189a8; pointer-events: none; }
.login-v2-field input { flex: 1; min-width: 0; height: 100%; padding: 18px 0 0; border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 650; color: #1b2142; outline: none; }
.login-v2-field input::placeholder { color: #aab0c8; font-weight: 500; }
.login-v2-eye { display: grid; width: 28px; height: 28px; place-items: center; border: 0; background: none; color: #7d84a6; cursor: pointer; }
.login-v2-eye svg { width: 18px; height: 18px; }
.login-v2-eye .eye-off { display: none; }
.login-v2-eye.showing .eye-on { display: none; }
.login-v2-eye.showing .eye-off { display: block; }

.login-v2-row { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 18px; font-size: 11.5px; }
.login-v2-toggle { display: inline-flex; align-items: center; gap: 9px; color: #4f5778; cursor: pointer; }
.login-v2-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.login-v2-toggle i { position: relative; width: 32px; height: 18px; border-radius: 999px; background: #d6d9ec; transition: background .15s; }
.login-v2-toggle i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .15s; }
.login-v2-toggle input:checked + i { background: #4a4fe0; }
.login-v2-toggle input:checked + i::after { transform: translateX(14px); }
.login-v2-row a { font-weight: 750; color: #3a3fc4; }

.login-v2-submit { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 52px; border: 0; border-radius: 14px; background: linear-gradient(95deg, #3a35cf, #7d71f2); color: #fff; font-size: 14px; font-weight: 750; box-shadow: 0 14px 28px rgba(80,72,220,.3); cursor: pointer; transition: transform .15s, box-shadow .15s; }
.login-v2-submit:hover { transform: translateY(-1px); box-shadow: 0 18px 32px rgba(80,72,220,.36); }
.login-v2-submit i { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.22); }
.login-v2-submit i svg { width: 12px; height: 12px; }
.login-v2-error { margin-bottom: 14px; padding: 11px 14px; border-radius: 12px; background: #fdecee; color: #c2303f; font-size: 12.5px; font-weight: 650; }

.login-v2-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.login-v2-link { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border: 1px solid #e2e5f4; border-radius: 12px; background: #fff; font-size: 12px; font-weight: 700; color: #343b63; }
.login-v2-link i { display: grid; width: 26px; height: 26px; flex: 0 0 26px; place-items: center; border-radius: 8px; color: #5a54e8; background: #eef0ff; }
.login-v2-link i svg { width: 14px; height: 14px; }
.login-v2-link em { margin-left: auto; padding: 2px 8px; border-radius: 999px; color: #2f8a56; background: #e7f6ed; font-size: 10.5px; font-style: normal; font-weight: 800; }
.login-v2-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 14px; border-top: 1px solid #eaecf7; font-size: 10.5px; color: #8a91ad; }

.login-v2-footer { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 64px; border-top: 1px solid #e9ebf6; background: rgba(255,255,255,.8); font-size: 11px; color: #636b8c; }
.login-v2-footer div { display: flex; align-items: center; gap: 26px; }
.login-v2-footer span { display: inline-flex; align-items: center; gap: 8px; }
.login-v2-footer svg { width: 13px; height: 13px; color: #4a4fe0; }

@media (max-width: 1100px) {
  .login-v2-header, .login-v2-footer { padding-left: 28px; padding-right: 28px; }
  .login-v2-main { grid-template-columns: 1fr; gap: 36px; padding: 32px 28px; }
  .login-v2-hero { max-width: none; }
  .login-v2-hero h1 { font-size: 36px; }
  .login-v2-card { max-width: 520px; width: 100%; margin: 0 auto; }
  .login-v2-nav { display: none; }
}
@media (max-width: 620px) {
  .login-v2-stats { grid-template-columns: 1fr; }
  .login-v2-tools { gap: 12px; }
  .login-v2-lang { display: none; }
  .login-v2-card { padding: 22px 20px 18px; }
  .login-v2-links { grid-template-columns: 1fr; }
  .login-v2-footer { flex-direction: column; align-items: flex-start; gap: 8px; }
  .login-v2-footer div { flex-wrap: wrap; gap: 8px 18px; }
}

/* Login: ikon dairəsi mərkəzdə, autofill fonu şəffaf, başlıq iki sətir */
.login-v2-stat > .login-v2-stat-icon { display: grid; margin-top: 0; font-size: 0; }
.login-v2-stat > span:not(.login-v2-stat-icon) { display: block; margin-top: 2px; font-size: 11.5px; color: #7b82a2; }
.login-v2-hero h1 { max-width: 470px; }
.login-v2-field input:-webkit-autofill,
.login-v2-field input:-webkit-autofill:hover,
.login-v2-field input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 40px #fff inset !important; box-shadow: 0 0 0 40px #fff inset !important; -webkit-text-fill-color: #1b2142 !important; caret-color: #1b2142; transition: background-color 9999s ease-out 0s; }

/* Login: yığcam kart, yuxarıdan başlayan düzülüş, ekran hündürlüyünə uyğunlaşma */
.login-v2-main { grid-template-columns: minmax(0, 1fr) minmax(380px, 450px); align-items: start; gap: 48px; padding-top: clamp(18px, 5vh, 56px); padding-bottom: 20px; }
.login-v2-hero { align-self: start; padding-top: clamp(0px, 3vh, 36px); }
.login-v2-card { padding: 20px 28px 16px; border-radius: 22px; }
.login-v2-card-top { margin-bottom: 16px; }
.login-v2-card h2 { font-size: 26px; }
.login-v2-card-sub { margin: 8px 0 14px; }
.login-v2-tabs { margin-bottom: 14px; }
.login-v2-tab { padding-bottom: 9px; }
.login-v2-field { height: 50px; margin-bottom: 10px; }
.login-v2-field input { padding-top: 16px; }
.login-v2-row { margin: 2px 0 12px; }
.login-v2-submit { height: 46px; }
.login-v2-links { margin-top: 12px; }
.login-v2-link { padding: 9px 12px; }
.login-v2-card-foot { margin-top: 12px; padding-top: 10px; }
@media (max-height: 820px) {
  .login-v2-header { padding-top: 8px; padding-bottom: 8px; }
  .login-v2-brand img { width: 42px; height: 42px; }
  .login-v2-hero h1 { font-size: 38px; margin-bottom: 14px; }
  .login-v2-eyebrow { margin-bottom: 14px; }
  .login-v2-hero p { margin-bottom: 22px; font-size: 13.5px; }
  .login-v2-stat { padding: 12px 14px; }
  .login-v2-stat-icon { width: 32px; height: 32px; margin-bottom: 8px; }
  .login-v2-stat strong { font-size: 19px; }
  .login-v2-card { padding: 16px 24px 12px; }
  .login-v2-card-top { margin-bottom: 10px; }
  .login-v2-card h2 { font-size: 23px; }
  .login-v2-card-sub { margin: 6px 0 10px; }
  .login-v2-field { height: 46px; margin-bottom: 8px; }
  .login-v2-submit { height: 42px; }
  .login-v2-footer { padding-top: 8px; padding-bottom: 8px; }
}
@media (max-height: 640px) {
  .login-v2-hero h1 { font-size: 32px; }
  .login-v2-hero p { display: none; }
  .login-v2-card h2 { font-size: 20px; }
  .login-v2-card-sub { display: none; }
  .login-v2-field { height: 42px; }
  .login-v2-submit { height: 38px; }
}
@media (max-width: 1100px) { .login-v2-main { grid-template-columns: 1fr; } .login-v2-card { max-width: 450px; } }

/* Login: yumşaq animasiyalar — yanlara sürüşən işıq ləkələri, kartın yüngül yelləməsi, mərhələli giriş */
.login-v2::before, .login-v2::after { content: ""; position: absolute; z-index: 0; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.login-v2::before { top: 6%; left: -6%; width: 420px; height: 420px; background: rgba(122,112,240,.22); animation: lv2DriftA 14s ease-in-out infinite alternate; }
.login-v2::after { bottom: 8%; right: -4%; width: 380px; height: 380px; background: rgba(90,160,240,.16); animation: lv2DriftB 17s ease-in-out infinite alternate; }
@keyframes lv2DriftA { from { transform: translate(0, 0); } to { transform: translate(38vw, 6vh); } }
@keyframes lv2DriftB { from { transform: translate(0, 0); } to { transform: translate(-40vw, -8vh); } }
.login-v2-hero > * { animation: lv2SlideL .7s cubic-bezier(.2,.7,.2,1) both; }
.login-v2-hero > :nth-child(2) { animation-delay: .08s; }
.login-v2-hero > :nth-child(3) { animation-delay: .16s; }
.login-v2-hero > :nth-child(4) { animation-delay: .24s; }
.login-v2-stat { animation: lv2SlideL .7s cubic-bezier(.2,.7,.2,1) both; }
.login-v2-stat:nth-child(1) { animation-delay: .3s; }
.login-v2-stat:nth-child(2) { animation-delay: .4s; }
.login-v2-stat:nth-child(3) { animation-delay: .5s; }
.login-v2-card { animation: lv2SlideR .8s cubic-bezier(.2,.7,.2,1) both, lv2Sway 7s ease-in-out 1s infinite alternate; }
@keyframes lv2SlideL { from { opacity: 0; transform: translateX(-36px); } to { opacity: 1; transform: none; } }
@keyframes lv2SlideR { from { opacity: 0; transform: translateX(44px); } to { opacity: 1; transform: none; } }
@keyframes lv2Sway { from { transform: translateX(-6px); } to { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) {
  .login-v2::before, .login-v2::after, .login-v2-hero > *, .login-v2-stat, .login-v2-card { animation: none !important; }
}
@media (max-width: 1100px) { .login-v2-card { animation: lv2SlideR .8s cubic-bezier(.2,.7,.2,1) both; } }

.login-v2-quote { position: relative; display: block; margin: 22px 0 0; padding: 4px 0 4px 18px; border-left: 3px solid #4a4fe0; animation: lv2SlideL .7s cubic-bezier(.2,.7,.2,1) .6s both; }
.login-v2-quote span { display: block; font-size: 17px; font-weight: 700; font-style: italic; line-height: 1.4; color: #1d2352; }
.login-v2-quote cite { display: block; margin-top: 6px; font-size: 12px; font-style: normal; font-weight: 650; letter-spacing: .02em; color: #6a7192; }
@media (max-height: 820px) { .login-v2-quote { margin-top: 14px; } .login-v2-quote span { font-size: 15px; } }
@media (max-height: 640px) { .login-v2-quote { display: none; } }
.login-v2-card h2 { padding-bottom: 26px; }
.login-v2-card-sub { margin-top: 0; }
/* Login kartı: elementlər arası məsafə artırıldı */
.login-v2-tabs { margin-bottom: 22px; }
.login-v2-field { margin-bottom: 18px; }
.login-v2-row { margin: 6px 0 22px; }
.login-v2-links { margin-top: 20px; gap: 14px; }
.login-v2-card-foot { margin-top: 22px; padding-top: 14px; }
@media (max-height: 640px) {
  .login-v2-field { margin-bottom: 12px; }
  .login-v2-row { margin: 2px 0 14px; }
  .login-v2-links { margin-top: 12px; }
}

/* Köhnə login: sitat */
.auth-quote { margin: 26px 0 0; padding: 2px 0 2px 18px; border-left: 3px solid rgba(255,255,255,.55); }
.auth-quote span { display: block; font-size: 17px; font-weight: 700; font-style: italic; line-height: 1.4; color: #fff; }
.auth-quote cite { display: block; margin-top: 6px; font-size: 12px; font-style: normal; font-weight: 600; letter-spacing: .02em; color: rgba(255,255,255,.72); }
@media (max-height: 760px) { .auth-quote { margin-top: 16px; } .auth-quote span { font-size: 15px; } }
@media (max-height: 640px) { .auth-quote { display: none; } }

/* Sitat loqonun sağında */
.auth-logo-block .auth-quote { margin: 0 0 0 22px; padding: 2px 0 2px 18px; max-width: 300px; border-left: 2px solid rgba(255,255,255,.45); }
.auth-logo-block .auth-quote span { font-size: 14px; line-height: 1.35; }
.auth-logo-block .auth-quote cite { margin-top: 4px; font-size: 11.5px; }
@media (max-width: 1100px) { .auth-logo-block .auth-quote { display: none; } }

/* Köhnə login: üst panel, alt footer, yan-yana keçid düymələri */
.auth-frame { display: flex; flex-direction: column; min-height: 100vh; }
.auth-frame > .auth-page { flex: 1; min-height: 0; }
.auth-frame .login-v2-header.auth-top { padding: 8px 44px; }
.auth-frame .login-v2-footer.auth-bottom { padding: 10px 44px; }
.auth-frame .login-v2-footer div span + span { padding-left: 26px; border-left: 1px solid #dfe2f0; }
.auth-form .login-v2-links { margin-top: 14px; gap: 12px; }
.auth-form .login-v2-card-foot { margin-top: 18px; padding-top: 12px; }
@media (max-width: 900px) { .auth-frame .login-v2-nav { display: none; } .auth-frame .login-v2-header.auth-top { justify-content: flex-end; } .auth-frame .login-v2-footer div { flex-wrap: wrap; gap: 10px 18px; } .auth-frame .login-v2-footer div span + span { padding-left: 0; border-left: 0; } .auth-frame .login-v2-footer { flex-direction: column; align-items: flex-start; } }
.auth-frame .login-v2-nav a { padding: 8px 2px; }
.auth-frame .login-v2-nav a.active::after { bottom: -9px; }
.auth-frame .login-v2-header.auth-top { padding-top: 6px; padding-bottom: 6px; }
.auth-frame .auth-form-wrap { padding: 20px 40px; }
/* Login üst paneli: iki rəngli (sol tünd, sağ açıq) — aşağıdakı bölgü ilə bir bütöv */
.auth-frame .login-v2-header.auth-top { background: linear-gradient(90deg, #191d4a 0, #20276a 51.2%, #f4f6ff 51.2%, #f7f1fb 100%); border-bottom: 0; backdrop-filter: none; }
.auth-frame .login-v2-header.auth-top .login-v2-nav a { color: rgba(255,255,255,.72); }
.auth-frame .login-v2-header.auth-top .login-v2-nav a:hover { color: #fff; }
.auth-frame .login-v2-header.auth-top .login-v2-nav a.active { color: #fff; }
.auth-frame .login-v2-header.auth-top .login-v2-nav a.active::after { background: #fff; }
@media (max-width: 860px) {
  .auth-frame .login-v2-header.auth-top { background: #191d4a; }
  .auth-frame .login-v2-header.auth-top .login-v2-lang { color: #fff; }
  .auth-frame .login-v2-header.auth-top .login-v2-signin { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); color: #fff; }
}

/* Köhnə çərçivədə yeni giriş kartı və rəqəm kartları */
.auth-form-wrap .login-v2-card { width: 100%; max-width: 460px; z-index: 1; }
.auth-simple-headline + .login-v2-stats { margin-top: 22px; max-width: 520px; }
.auth-simple-headline p { max-width: 440px; }
.auth-visual-simple .login-v2-stat { background: #ffffff45; border-color: rgba(255,255,255,.28); }
.auth-visual-simple .login-v2-stat strong, .auth-visual-simple .login-v2-stat > span:not(.login-v2-stat-icon) { color: #fff; }

/* Şifrə unutma / Qeydiyyat: yeni kart elementləri */
.login-v2-links.one { grid-template-columns: 1fr; }
.login-v2-ok { margin: 0 0 16px; padding: 13px 15px; border-radius: 12px; background: #e9f7ee; color: #1f7a48; font-size: 12.5px; font-weight: 650; line-height: 1.5; }
.login-v2-hint { margin: 0 0 16px; font-size: 12.5px; line-height: 1.55; color: #5d6485; }
a.login-v2-submit { text-decoration: none; }
.login-v2-error ul { margin: 0; padding-left: 16px; }
.login-v2-link { transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease; }
.login-v2-link:hover { transform: translateY(-2px); border-color: #b9bff5; background: #f4f5ff; color: #2f35b8; box-shadow: 0 10px 22px rgba(74,79,224,.16); }
.login-v2-link:hover i { color: #fff; background: #4a4fe0; }
.login-v2-link:active { transform: translateY(0); box-shadow: none; }
.login-v2-link i { transition: background .15s ease, color .15s ease; }

.login-v2-hint-tight { margin: -8px 0 16px; font-size: 11.5px; }

/* ===== Dashboard v3 (yeni dizayn) ===== */
.dv3 { display: flex; flex-direction: column; gap: 20px; }
.dv3 h1, .dv3 h3, .dv3 p { margin: 0; }
.dv3-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.dv3-head h1 { font-size: 30px; font-weight: 850; letter-spacing: -.02em; color: #151b44; }
.dv3-head p { margin-top: 4px; font-size: 13.5px; color: #6a7192; }
.dv3-tag { display: flex; align-items: center; gap: 14px; font-size: 13px; color: #6a7192; white-space: nowrap; }
.dv3-tag i { width: 46px; height: 1.5px; background: #b9bff5; }
.dv3-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dv3-stat { position: relative; display: flex; align-items: center; gap: 16px; padding: 22px 20px; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(51,58,130,.07); transition: transform .15s, box-shadow .15s; }
.dv3-stat:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(51,58,130,.12); }
.dv3-stat-ico { display: grid; width: 56px; height: 56px; flex: 0 0 56px; place-items: center; border-radius: 50%; background: #eef0fb; color: #3a44a3; }
.dv3-stat-ico svg { width: 26px; height: 26px; }
.dv3-stat-body { min-width: 0; }
.dv3-stat-body strong { display: block; font-size: 30px; font-weight: 850; line-height: 1; color: #151b44; }
.dv3-stat-body strong.dv3-pending, .dv3 .dv3-pending { font-size: 20px; font-weight: 800; color: #151b44; }
.dv3-stat-body span { display: block; margin-top: 7px; font-size: 12.5px; color: #6a7192; }
.dv3-deco { position: absolute; right: 16px; top: 50%; width: 96px; height: 40px; margin-top: -20px; opacity: .8; pointer-events: none; }
.dv3-row { display: grid; gap: 16px; align-items: start; }
.dv3-row-main { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }
.dv3-row-a { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.dv3-row-b { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.dv3-card { overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(51,58,130,.07); }
.dv3-card-head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; }
.dv3-card-head h3 { flex: 1; min-width: 0; font-size: 17px; font-weight: 800; color: #151b44; }
.dv3-card-ico { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border-radius: 12px; background: #eef0fb; color: #3a44a3; }
.dv3-card-ico svg { width: 20px; height: 20px; }
.dv3-sub { margin-top: 2px; font-size: 12.5px; font-weight: 500; color: #6a7192; }
.dv3-card-head-light > div:nth-child(2) { flex: 1; min-width: 0; }
.dv3-band-head { padding: 16px 22px; background: linear-gradient(95deg, #3f4aa8, #2f3a96); }
.dv3-band-head h3 { color: #fff; }
.dv3-gift { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 10px; background: #fff; color: #d6455d; }
.dv3-gift svg { width: 18px; height: 18px; }
.dv3-badge { display: grid; min-width: 30px; height: 30px; place-items: center; padding: 0 8px; border-radius: 999px; background: #d6455d; color: #fff; font-size: 13px; font-weight: 800; }
.dv3-head-form .select-chip { height: 36px; padding: 0 14px; border: 1px solid #dfe3f3; border-radius: 10px; background: #fff; color: #2c3570; font-size: 12.5px; font-weight: 700; }
.dv3-band-head .dv3-head-form .select-chip { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.1); color: #fff; }
.dv3-card-body { padding: 4px 22px 18px; }
.dv3-link { color: #2f35b8; font-size: 13px; font-weight: 800; text-decoration: none; }
.dv3-link:hover { text-decoration: underline; }
.dv3-link-head { white-space: nowrap; }
.dv3-chart { width: 100%; height: auto; display: block; }
.dv3-ax { font-size: 12px; fill: #6a7192; }
.dv3-ax-x { font-size: 13px; }
.dv3-ax-title { font-size: 12px; fill: #6a7192; text-anchor: middle; }
.dv3-bar-n { font-size: 12.5px; font-weight: 700; }
.dv3-bar-n-light { fill: #fff; }
.dv3-bar-n-dark { fill: #2f3496; }
.dv3-bar-total { font-size: 13px; font-weight: 800; fill: #151b44; }
.dv3-legend { display: flex; justify-content: center; gap: 22px; margin-top: 4px; font-size: 12.5px; color: #4f5778; }
.dv3-legend span { display: inline-flex; align-items: center; gap: 8px; }
.dv3-legend i { width: 14px; height: 14px; border-radius: 50%; }
.dv3-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #eef0f8; }
.dv3-sum b { display: block; font-size: 20px; font-weight: 850; color: #151b44; }
.dv3-sum em { font-style: normal; font-size: 12px; font-weight: 600; color: #6a7192; }
.dv3-sum span { display: block; margin-top: 3px; font-size: 12px; color: #6a7192; }
.dv3-tl { position: relative; padding: 6px 0 0; }
.dv3-tl::before { content: ""; position: absolute; left: 7px; top: 22px; bottom: 22px; width: 1.5px; background: #dfe2f4; }
.dv3-tl-item { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 12px 0 12px 34px; border-bottom: 1px solid #f0f1f8; color: inherit; text-decoration: none; }
.dv3-tl-item:last-child { border-bottom: 0; }
.dv3-tl-item:hover .dv3-tl-text b { color: #2f35b8; }
.dv3-tl-dot { position: absolute; left: 0; top: 17px; width: 16px; height: 16px; border: 1.5px solid #4a4fe0; border-radius: 50%; background: #fff; }
.dv3-tl-item.first .dv3-tl-dot { background: #4a4fe0; box-shadow: 0 0 0 4px rgba(74,79,224,.16); }
.dv3-tl-text b { display: block; font-size: 14px; font-weight: 700; color: #151b44; line-height: 1.35; }
.dv3-tl-text em { display: block; margin-top: 3px; font-style: normal; font-size: 12.5px; color: #6a7192; }
.dv3-tl-date { font-size: 12px; color: #8189a8; white-space: nowrap; }
.dv3-band { display: grid; grid-template-columns: 1fr 1fr; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(51,58,130,.07); }
.dv3-band-item { display: flex; align-items: center; gap: 18px; padding: 22px 28px; }
.dv3-band-item + .dv3-band-item { border-left: 1px solid #eceef8; }
.dv3-band-ico { display: grid; width: 60px; height: 60px; flex: 0 0 60px; place-items: center; border-radius: 16px; background: #eef0fb; color: #3a44a3; }
.dv3-band-ico svg { width: 28px; height: 28px; }
.dv3-band-item span { display: block; font-size: 14px; color: #6a7192; }
.dv3-band-item strong { display: block; margin-top: 4px; font-size: 32px; font-weight: 850; color: #151b44; line-height: 1; }
.dv3-thead { display: grid; grid-template-columns: 1.25fr 1.4fr .9fr .9fr; margin-top: 14px; border: 1px solid #eceef8; border-radius: 12px; background: #f7f8fe; }
.dv3-thead span { display: flex; align-items: center; gap: 9px; padding: 13px 16px; font-size: 13.5px; font-weight: 650; color: #3b4270; }
.dv3-thead span + span { border-left: 1px solid #eceef8; }
.dv3-thead svg { width: 17px; height: 17px; color: #3a44a3; flex: 0 0 17px; }
.dv3-rows { margin-top: 4px; }
.dv3-trow { display: grid; grid-template-columns: 1.25fr 1.4fr .9fr .9fr; align-items: center; padding: 12px 16px; border-bottom: 1px solid #f0f1f8; color: #151b44; font-size: 13.5px; text-decoration: none; }
.dv3-trow:hover { background: #f7f8fe; }
.dv3-person { display: flex; align-items: center; gap: 10px; min-width: 0; }
.dv3-person i, .dv3-bday i { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; border-radius: 50%; background: #eceeff; color: #3a44a3; font-size: 11.5px; font-style: normal; font-weight: 800; }
.dv3-pill-wait { padding: 3px 10px; border-radius: 999px; background: #fff3d6; color: #8a5a00; font-size: 12px; font-style: normal; font-weight: 700; }
.dv3-empty { padding: 28px 12px; text-align: center; color: #6a7192; }
.dv3-empty b { display: block; margin-bottom: 6px; font-size: 16px; font-weight: 800; color: #151b44; }
.dv3-empty p { font-size: 13.5px; line-height: 1.55; }
.dv3-empty-ico { padding: 34px 12px 30px; }
.dv3-empty-tall { padding: 44px 16px 40px; }
.dv3-empty-badge { display: inline-grid; width: 72px; height: 72px; margin-bottom: 14px; place-items: center; border-radius: 22px; background: #eef0fb; color: #3a44a3; }
.dv3-empty-badge svg { width: 32px; height: 32px; }
.dv3-empty-badge.lg { width: 84px; height: 84px; border-radius: 26px; }
.dv3-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding-top: 16px; border-top: 1px solid #eef0f8; }
.dv3-foot-end { justify-content: flex-end; }
.dv3-muted { color: #8189a8; font-size: 13px; }
.dv3-list { padding-top: 6px; }
.dv3-lrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px; border-bottom: 1px solid #f0f1f8; font-size: 14px; color: #151b44; }
.dv3-lrow:last-child { border-bottom: 0; }
.dv3-lrow:hover { background: #f7f8fe; }
.dv3-bday { padding: 10px 12px; }
.dv3-bday-name { flex: 1; min-width: 0; }
.dv3-bday-name b { display: block; font-size: 14px; font-weight: 700; }
.dv3-bday-name em { display: block; margin-top: 1px; font-style: normal; font-size: 12.5px; color: #6a7192; }
@media (max-width: 1100px) { .dv3-row-main, .dv3-row-a, .dv3-row-b { grid-template-columns: 1fr; } .dv3-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .dv3-stats { grid-template-columns: 1fr; } .dv3-head { flex-direction: column; align-items: flex-start; } .dv3-sum { grid-template-columns: 1fr 1fr; } .dv3-band { grid-template-columns: 1fr; } .dv3-band-item + .dv3-band-item { border-left: 0; border-top: 1px solid #eceef8; } .dv3-thead, .dv3-trow { grid-template-columns: 1fr 1fr; } .dv3-deco { display: none; } }

/* ===== Ümumi görünüş (dashboard v3 ilə eyni): kartlar, başlıq zolağı, düymələr, linklər ===== */
.card, .stat-tile, .report-tile { border: 1px solid #edeff8; border-radius: 16px; box-shadow: 0 10px 30px rgba(51,58,130,.07); }
.card-header { padding: 16px 22px; background: linear-gradient(95deg, #3f4aa8, #2f3a96); border-bottom: 0; border-radius: 15px 15px 0 0; }
.card-header h3 { font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.table-footer .link, .card a.link { color: #2f35b8; font-weight: 800; }
.btn { border-radius: 12px; font-weight: 700; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease, color .15s ease; }
.btn-primary { background: linear-gradient(95deg, #3a35cf, #7d71f2); box-shadow: 0 8px 18px rgba(80,72,220,.26); }
.btn-primary:hover { background: linear-gradient(95deg, #342fc2, #7064ea); transform: translateY(-1px); box-shadow: 0 12px 24px rgba(80,72,220,.34); }
.btn-primary:active { transform: translateY(0); }
.btn-outline { border: 1px solid #e2e5f4; background: #fff; color: #343b63; }
.btn-outline:hover { transform: translateY(-1px); border-color: #b9bff5; background: #f4f5ff; color: #2f35b8; box-shadow: 0 8px 18px rgba(74,79,224,.14); }
.stat-tile:hover, .report-tile:hover { box-shadow: 0 16px 36px rgba(51,58,130,.12); }

/* Yuxarı panel: tarix düyməsi + istifadəçi bloku (ad və rol) */
.topbar-actions .date-select { margin: 0; padding: 9px 14px; gap: 10px; border: 1px solid #dfe3f3; border-radius: 12px; background: #fff; font-size: 13px; font-weight: 600; color: #2c3570; box-shadow: 0 2px 8px rgba(51,58,130,.05); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.topbar-actions .date-select:hover { border-color: #b9bff5; color: #2c3570; box-shadow: 0 6px 16px rgba(74,79,224,.12); }
.topbar-actions .date-select svg:first-child { width: 18px; height: 18px; color: #3a44a3; }
.topbar-userchip { gap: 12px; padding-left: 20px; margin-left: 4px; }
.topbar-userchip .avatar { width: 42px; height: 42px; flex: 0 0 42px; background: #7b70d6; color: #fff; font-size: 14px; font-weight: 800; }
.topbar-userchip-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.topbar-userchip-text b { font-size: 14px; font-weight: 800; color: #151b44; white-space: nowrap; }
.topbar-userchip-text span { font-size: 12px; color: #6a7192; white-space: nowrap; }
@media (max-width: 1100px) { .topbar-userchip-text { display: none; } }

/* ===== Reyestr səhifələri (İşçilər, Namizədlər, Hesablar, Əmrlər, Sorğular və s.) — dashboard v3 görünüşü ===== */
.employee-directory, .order-directory, .candidate-directory, .requests-directory, .accounts-directory,
.education-directory, .science-directory, .military-directory, .workload-directory, .my-requests-directory { border-radius: 16px; }
.employee-directory .directory-summary, .directory-summary, .order-directory-head, .candidate-directory-head, .requests-directory-head,
.education-directory-head, .science-directory-head, .military-directory-head, .workload-directory-head, .my-requests-directory-head {
  background: linear-gradient(95deg, #3f4aa8, #2f3a96) !important; border-bottom: 0 !important; border-radius: 15px 15px 0 0 !important; padding-top: 16px; padding-bottom: 16px; min-height: 0;
}
.directory-summary h2, .order-directory-head h2, .candidate-directory-head h2, .requests-directory-head h2, .my-requests-directory-head h3 { font-size: 17px; font-weight: 800; letter-spacing: -.01em; color: #fff !important; }
.directory-summary p, .order-directory-head p, .requests-directory-head p, .my-requests-directory-head p { color: rgba(255,255,255,.75) !important; }
.directory-summary .directory-count, .candidate-directory-head .directory-count, .order-directory-head .directory-count, .requests-directory-head .directory-count,
.education-directory-head .directory-count, .science-directory-head .directory-count, .military-directory-head .directory-count, .workload-directory-head .directory-count {
  min-width: 30px; justify-content: center; padding: 4px 11px; border-radius: 999px; background: #d6455d; color: #fff; font-size: 12px; font-weight: 800;
}
.directory-summary .btn-outline, .order-directory-head .btn-outline, .requests-directory-head .btn-outline, .candidate-directory-head .btn-outline,
.education-directory-head .btn-outline, .science-directory-head .btn-outline, .military-directory-head .btn-outline, .workload-directory-head .btn-outline {
  background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); color: #fff; box-shadow: none;
}
.directory-summary .btn-outline:hover, .order-directory-head .btn-outline:hover, .requests-directory-head .btn-outline:hover, .candidate-directory-head .btn-outline:hover,
.education-directory-head .btn-outline:hover, .science-directory-head .btn-outline:hover, .military-directory-head .btn-outline:hover, .workload-directory-head .btn-outline:hover {
  background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.6); color: #fff;
}
.employee-directory .data-table tbody td, .order-directory .data-table tbody td, .candidate-directory .data-table tbody td, .requests-directory .data-table tbody td,
.accounts-directory .data-table tbody td, .education-directory .data-table tbody td, .science-directory .data-table tbody td, .military-directory .data-table tbody td { border-color: #eceef8; }
.employee-directory .data-table tbody tr:hover td, .order-directory .data-table tbody tr:hover td, .candidate-directory .data-table tbody tr:hover td,
.requests-directory .data-table tbody tr:hover td, .accounts-directory .data-table tbody tr:hover td { background: #f7f8fe; }
.employee-directory .data-table thead th, .order-directory .data-table thead th, .candidate-directory .data-table thead th,
.requests-directory .data-table thead th, .accounts-directory .data-table thead th { background: #f7f8fe; color: #3b4270; border-bottom: 1px solid #eceef8; }

/* ===== Təlim ehtiyacı ===== */
.trq-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.trq-head-ico, .tn-hero-ico { display: grid; width: 60px; height: 60px; flex: 0 0 60px; place-items: center; border-radius: 18px; background: #eef0fb; color: #3a44a3; }
.trq-head-ico svg, .tn-hero-ico svg { width: 30px; height: 30px; }
.trq-head h2 { margin: 2px 0 4px; font-size: 24px; font-weight: 850; color: #151b44; }
.trq-head p { margin: 0; font-size: 13.5px; color: #6a7192; }
.trq-alert { margin: 0 0 14px; padding: 12px 16px; border-radius: 12px; font-size: 13.5px; font-weight: 650; }
.trq-ok { background: #e9f7ee; color: #1f7a48; }
.trq-err { background: #fdecee; color: #b3303f; }
.trq-card { padding: 22px 24px; margin-bottom: 18px; }
.trq-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.trq-card-head-2 { margin-top: 24px; }
.trq-card-head > span { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 12px; background: #eef0fb; color: #3a44a3; font-weight: 800; font-size: 13px; }
.trq-card-head > span svg { width: 20px; height: 20px; }
.trq-card-head h3 { margin: 0; font-size: 16px; font-weight: 800; color: #151b44; }
.trq-card-head p { margin: 2px 0 0; font-size: 12.5px; color: #6a7192; }
.trq-empty { padding: 26px 12px; text-align: center; color: #6a7192; }
.trq-empty b { display: block; color: #151b44; margin-bottom: 4px; }
.trq-lines { display: flex; flex-direction: column; gap: 14px; }
.trq-line { padding: 16px 18px; border: 1px solid #e6e9f6; border-radius: 14px; background: #fafbff; }
.trq-line-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 13.5px; color: #3a44a3; }
.trq-rm { border: 0; background: none; color: #b3303f; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.trq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.trq-span { grid-column: 1 / -1; }
.trq-grid .field label em, .trq-line .field label em { font-style: normal; font-weight: 500; color: #8189a8; }
.trq-skills { margin: 14px 0; padding: 14px 16px; border: 1px dashed #c9cff0; border-radius: 12px; background: #fff; }
.trq-skills-title { font-size: 13.5px; font-weight: 800; color: #151b44; }
.trq-skills p { margin: 3px 0 10px; font-size: 12.5px; color: #6a7192; }
.trq-check { display: flex; align-items: center; gap: 10px; padding: 7px 4px; font-size: 13.5px; color: #151b44; cursor: pointer; }
.trq-check input { width: 18px; height: 18px; accent-color: #4a4fe0; }
.trq-add { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 9px 16px; border: 1px dashed #b9bff5; border-radius: 12px; background: #fff; color: #2f35b8; font-size: 13px; font-weight: 700; cursor: pointer; }
.trq-add svg { width: 16px; height: 16px; }
.trq-add:hover { background: #f4f5ff; }
.trq-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; padding-top: 16px; border-top: 1px solid #eef0f8; }
.trq-hint { font-size: 12.5px; color: #6a7192; }
.trq-foot .btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; transform: none; }
.trq-list { display: flex; flex-direction: column; }
.trq-item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto auto; align-items: center; gap: 16px; padding: 14px 4px; border-bottom: 1px solid #f0f1f8; }
.trq-item:last-child { border-bottom: 0; }
.trq-item-main b { display: block; font-size: 14px; color: #151b44; }
.trq-item-main span { font-size: 12.5px; color: #6a7192; }
.trq-date { font-size: 12.5px; color: #6a7192; }
.trq-note { grid-column: 1 / -1; padding: 8px 12px; border-radius: 10px; background: #f4f5ff; color: #3b4270; font-size: 12.5px; }
.trq-cancel { border: 1px solid #f0c3c8; border-radius: 10px; background: #fff; color: #b3303f; font-size: 12px; font-weight: 700; padding: 6px 12px; cursor: pointer; }
.trq-prio, .tn-prio { padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.trq-prio-high, .tn-prio-high { background: #fde3e6; color: #b3303f; }
.trq-prio-medium, .tn-prio-medium { background: #fff1d6; color: #8a5a00; }
.trq-prio-low, .tn-prio-low { background: #e4f6ea; color: #1f7a48; }
.trq-status, .tn-status { padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 750; white-space: nowrap; }
.trq-status-new, .tn-status-new { background: #fff3d6; color: #8a5a00; }
.trq-status-planned, .tn-status-planned { background: #e6e8ff; color: #3a44a3; }
.trq-status-completed, .tn-status-completed { background: #e4f6ea; color: #1f7a48; }
.trq-status-cancelled, .tn-status-cancelled { background: #eceef5; color: #6a7192; }
.tn { display: flex; flex-direction: column; gap: 18px; }
.tn-hero { display: flex; align-items: center; gap: 18px; }
.tn-hero-text { flex: 1; min-width: 0; }
.tn-hero h1 { margin: 0; font-size: 26px; font-weight: 850; letter-spacing: -.02em; color: #151b44; }
.tn-hero p { margin: 4px 0 0; font-size: 13.5px; color: #6a7192; max-width: 640px; }
.tn-catalog-btn svg { width: 16px; height: 16px; }
.tn-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.3fr) auto; gap: 12px; padding: 14px; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(51,58,130,.07); }
.tn-filters .input { height: 42px; }
.tn-pct { margin-left: auto; align-self: flex-end; font-style: normal; font-size: 12.5px; font-weight: 700; color: #8189a8; }
.tn-ico-green { background: #e4f6ea; color: #1f9d5a; }
.tn-ico-violet { background: #ece8ff; color: #6a3fd6; }
.tn-ico-amber { background: #fff1d6; color: #c98712; }
.tn-main { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(300px, 1fr); gap: 16px; align-items: start; }
.tn-side { display: flex; flex-direction: column; gap: 16px; }
.tn-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 18px 6px; }
.tn-tab { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid #e6e9f6; border-radius: 12px; background: #fff; color: #4f5778; font-size: 13px; font-weight: 700; text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.tn-tab b { padding: 1px 8px; border-radius: 999px; background: #eef0fb; color: #3a44a3; font-size: 11.5px; }
.tn-tab:hover { border-color: #b9bff5; background: #f4f5ff; }
.tn-tab.on { background: #3f4aa8; border-color: #3f4aa8; color: #fff; }
.tn-tab.on b { background: rgba(255,255,255,.22); color: #fff; }
.tn-table-wrap { padding: 8px 12px 4px; overflow-x: auto; }
.tn-table { width: 100%; border-collapse: collapse; }
.tn-table th { padding: 11px 12px; text-align: left; font-size: 11.5px; font-weight: 800; color: #6a7192; background: #f7f8fe; white-space: nowrap; }
.tn-table th:first-child { border-radius: 10px 0 0 10px; } .tn-table th:last-child { border-radius: 0 10px 10px 0; }
.tn-table td { padding: 13px 12px; border-bottom: 1px solid #f0f1f8; font-size: 13px; color: #151b44; vertical-align: middle; }
.tn-table tbody tr:hover td { background: #f7f8fe; }
.tn-person { display: flex; align-items: center; gap: 10px; }
.tn-person i { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 50%; background: #eceeff; color: #3a44a3; font-size: 11.5px; font-style: normal; font-weight: 800; }
.tn-person b, .tn-two b { display: block; font-weight: 700; }
.tn-person em, .tn-two em, .tn-sub { display: block; font-style: normal; font-size: 12px; color: #8189a8; }
.tn-foot { padding: 12px 22px 16px; }
.tn-donut-wrap { position: relative; width: 170px; margin: 6px auto 12px; }
.tn-donut { width: 100%; height: auto; display: block; }
.tn-donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.tn-donut-center strong { font-size: 26px; font-weight: 850; color: #151b44; line-height: 1; }
.tn-donut-center span { font-size: 12px; color: #6a7192; }
.tn-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tn-legend li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #151b44; }
.tn-legend i { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 10px; }
.tn-legend span { flex: 1; }
.tn-legend b { font-weight: 700; color: #4f5778; }
.tn-top { list-style: none; margin: 0; padding: 4px 0 0; display: flex; flex-direction: column; gap: 8px; }
.tn-top li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: #f7f8fe; font-size: 13px; }
.tn-rank { display: grid; width: 22px; height: 22px; flex: 0 0 22px; place-items: center; border-radius: 50%; background: #e6e8ff; color: #3a44a3; font-size: 11.5px; font-weight: 800; }
.tn-top-name { flex: 1; min-width: 0; color: #151b44; }
.tn-top b { font-weight: 800; color: #151b44; }
.tn-top em { font-style: normal; font-size: 12px; color: #8189a8; min-width: 38px; text-align: right; }
.tn-plan { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.tn-plan b { display: block; font-size: 22px; font-weight: 850; color: #151b44; }
.tn-plan span { font-size: 11.5px; color: #6a7192; }
.tn-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; margin: 0 0 16px; }
.tn-dl dt { font-size: 11.5px; font-weight: 700; color: #8189a8; }
.tn-dl dd { margin: 2px 0 0; font-size: 13.5px; color: #151b44; }
.tn-dl-wide { grid-column: 1 / -1; }
.tn-decide { padding-top: 14px; border-top: 1px solid #eef0f8; }
.tn-decide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 14px; }
.tn-span { grid-column: 1 / -1; }
.tn-cat-box { max-width: 860px; }
.tn-cat-forms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.tn-cat-form { display: flex; flex-direction: column; gap: 8px; padding: 14px; border: 1px solid #e6e9f6; border-radius: 14px; background: #fafbff; }
.tn-cat-form b { font-size: 13.5px; color: #151b44; }
.tn-chk { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #4f5778; }
.tn-cat { margin-bottom: 12px; padding: 14px 16px; border: 1px solid #e6e9f6; border-radius: 14px; }
.tn-cat.off, .tn-item.off { opacity: .55; }
.tn-cat-head, .tn-item-head { display: flex; align-items: center; gap: 10px; }
.tn-cat-head b { font-size: 14.5px; color: #151b44; }
.tn-cat-head .tn-inline, .tn-item-head .tn-inline { margin-left: auto; }
.tn-tag { padding: 2px 9px; border-radius: 999px; background: #eef0fb; color: #3a44a3; font-size: 11.5px; font-weight: 700; }
.tn-item { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #f7f8fe; }
.tn-item-head span { flex: 1; font-size: 13.5px; font-weight: 650; color: #151b44; }
.tn-toggle { border: 1px solid #dfe3f3; border-radius: 8px; background: #fff; color: #3a44a3; font-size: 11.5px; font-weight: 700; padding: 4px 10px; cursor: pointer; }
.tn-prereqs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tn-inline { display: inline; margin: 0; }
.tn-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid #dfe3f3; border-radius: 999px; background: #fff; color: #3b4270; font-size: 12px; cursor: pointer; }
.tn-chip.off { opacity: .5; text-decoration: line-through; }
.tn-chip span { color: #b3303f; font-weight: 800; }
@media (max-width: 1200px) { .tn-main { grid-template-columns: 1fr; } .tn-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tn-cat-forms { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .trq-grid, .tn-dl, .tn-decide-grid { grid-template-columns: 1fr; } .trq-item { grid-template-columns: 1fr auto; } .tn-hero { flex-wrap: wrap; } }

/* ===== Stat kartları: bütün səhifələrdə dashboard (dv3-stat) görünüşü ===== */
.stat-grid .stat-tile, .stat-grid-compact .stat-tile, .accounts-stat-grid .stat-tile, .requests-stat-grid .stat-tile {
  flex-direction: row !important; align-items: center !important; justify-content: flex-start !important; gap: 16px !important;
  min-height: 0 !important; height: auto !important; padding: 22px 20px !important; border: 0 !important; border-radius: 16px !important;
  background: #fff; box-shadow: 0 10px 30px rgba(51,58,130,.07) !important; overflow: hidden; transform: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.stat-grid .stat-tile::after, .accounts-stat-grid .stat-tile::after, .requests-stat-grid .stat-tile::after { display: none !important; }
.stat-grid .stat-tile:hover, .stat-grid-compact .stat-tile:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(51,58,130,.12) !important; }
.stat-grid .stat-tile-top, .stat-grid-compact .stat-tile-top, .accounts-stat-grid .stat-tile-top, .requests-stat-grid .stat-tile-top { display: contents; margin: 0 !important; }
.stat-grid .stat-menu-wrap, .stat-grid-compact .stat-menu-wrap { display: none; }
.stat-grid .stat-icon, .stat-grid-compact .stat-icon, .accounts-stat-grid .stat-icon, .requests-stat-grid .stat-icon {
  display: grid !important; place-items: center; width: 56px !important; height: 56px !important; flex: 0 0 56px; border-radius: 50% !important;
  background: #eef0fb !important; color: #3a44a3 !important;
}
.stat-grid .stat-icon svg, .stat-grid-compact .stat-icon svg, .accounts-stat-grid .stat-icon svg, .requests-stat-grid .stat-icon svg { width: 26px !important; height: 26px !important; }
.stat-grid .stat-icon.red, .stat-grid-compact .stat-icon.red { background: #fde3e6 !important; color: #b3303f !important; }
.stat-grid .stat-icon.success, .stat-grid-compact .stat-icon.success { background: #e4f6ea !important; color: #1f7a48 !important; }
.stat-grid .stat-icon.warning, .stat-grid-compact .stat-icon.warning { background: #fff1d6 !important; color: #8a5a00 !important; }
.stat-grid .stat-value, .stat-grid-compact .stat-value, .accounts-stat-grid .stat-value, .requests-stat-grid .stat-value { font-size: 30px !important; font-weight: 850 !important; line-height: 1 !important; letter-spacing: -.02em; color: #151b44 !important; }
.stat-grid .stat-label, .stat-grid-compact .stat-label, .accounts-stat-grid .stat-label, .requests-stat-grid .stat-label { margin-top: 7px !important; font-size: 12.5px !important; font-weight: 500 !important; color: #6a7192 !important; }

/* ===== Bildirişlər pəncərəsi ===== */
.notif-menu { width: 400px; max-width: calc(100vw - 24px); border: 0; border-radius: 20px; box-shadow: 0 24px 60px rgba(40,46,110,.22); }
.notif-menu-header { gap: 14px; padding: 18px 22px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; background: #323467; }
.notif-menu-header-icon { width: 44px; height: 44px; background: rgba(255,255,255,.14); }
.notif-menu-header-icon svg { width: 22px; height: 22px; }
.notif-count { display: grid; min-width: 32px; height: 32px; place-items: center; padding: 0 9px; border-radius: 999px; background: #5a5ee0; color: #fff; font-size: 15px; font-weight: 800; }
.notif-count[hidden] { display: none; }
.notif-tabs { display: flex; align-items: center; gap: 4px; padding: 0 18px; border-bottom: 1px solid #eceef8; background: #fff; }
.notif-tab { position: relative; padding: 15px 12px 13px; border: 0; background: none; color: #6a7192; font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.notif-tab.on { color: #2f35b8; font-weight: 800; }
.notif-tab.on::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: #4a4fe0; }
.notif-readall { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 8px 4px; border: 0; background: none; color: #3a3fc4; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.notif-readall svg { width: 18px; height: 18px; }
.notif-readall:hover { text-decoration: underline; }
[data-notif-list] { max-height: 420px; background: #fff; }
.notif-item.notif-item-v2 { position: relative; align-items: center; gap: 16px; padding: 18px 22px; text-decoration: none; color: inherit; border-bottom: 1px solid #eceef8; }
.notif-item-v2:hover { background: #f7f8fe; }
.notif-av { display: grid; width: 52px; height: 52px; flex: 0 0 52px; place-items: center; border-radius: 50%; background: #ecebfb; color: #3a44a3; font-size: 16px; font-weight: 800; }
.notif-body { flex: 1; min-width: 0; }
.notif-item-v2 .notif-item-title { font-size: 15px; font-weight: 800; color: #151b44; }
.notif-item-v2:not(.unread) .notif-item-title { font-weight: 700; color: #3b4270; }
.notif-item-v2 .notif-item-sub { margin-top: 4px; font-size: 13.5px; line-height: 1.4; color: #7a7f9b; }
.notif-item-v2 .notif-item-time { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; font-weight: 600; color: #4a4fe0; }
.notif-item-v2 .notif-item-time svg { width: 15px; height: 15px; }
.notif-unread-dot { width: 12px; height: 12px; flex: 0 0 12px; border-radius: 50%; background: #5a5ee0; }
.notif-empty { padding: 36px 20px; text-align: center; color: #8189a8; font-size: 14px; }
.notif-menu-footer { padding: 16px; border-top: 1px solid #eceef8; background: #fff; font-size: 15px; font-weight: 800; color: #2f35b8; }
.notif-menu-footer:hover { background: #f4f5ff; }
.trq-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .trq-grid-3 { grid-template-columns: 1fr; } }

.tn-cat-help { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: #f4f5ff; color: #3b4270; font-size: 13px; line-height: 1.55; }
.tn-cat-help b { color: #2f35b8; }
.tn-topic { margin-top: 12px; padding: 10px 12px; border: 1px solid #e6e9f6; border-radius: 12px; }
.tn-topic-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.tn-topic-head b { font-size: 14px; color: #151b44; }
.tn-kind { font-style: normal; font-size: 11px; font-weight: 700; color: #8189a8; margin-left: 4px; }
.tn-prereq-label { font-size: 12px; font-weight: 700; color: #6a7192; }
.tn-none { font-style: normal; font-size: 12px; color: #a0a6bf; }
.tn-add { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.tn-add .input { flex: 1; min-width: 0; height: 36px; font-size: 13px; }
.tn-add-topic { margin-top: 14px; padding-top: 12px; border-top: 1px dashed #d6daf0; }
.tn-prereqs { align-items: center; }

.tn-filters { display: flex; flex-wrap: wrap; gap: 12px; }
.tn-filters .input { flex: 1 1 170px; min-width: 150px; }
.tn-filters input[type="search"] { flex: 2 1 240px; }

/* Bildirişlər: yığcam ölçü */
.notif-menu { width: 344px; border-radius: 16px; }
.notif-menu-header { gap: 10px; padding: 12px 16px; font-size: 15px; }
.notif-menu-header-icon { width: 32px; height: 32px; }
.notif-menu-header-icon svg { width: 17px; height: 17px; }
.notif-count { min-width: 24px; height: 24px; padding: 0 7px; font-size: 12.5px; }
.notif-tabs { padding: 0 12px; }
.notif-tab { padding: 11px 9px 9px; font-size: 13px; }
.notif-readall { gap: 6px; font-size: 12px; }
.notif-readall svg { width: 15px; height: 15px; }
[data-notif-list] { max-height: 300px; }
.notif-item.notif-item-v2 { gap: 12px; padding: 12px 16px; }
.notif-av { width: 38px; height: 38px; flex-basis: 38px; font-size: 13px; }
.notif-item-v2 .notif-item-title { font-size: 13.5px; }
.notif-item-v2 .notif-item-sub { margin-top: 2px; font-size: 12px; }
.notif-item-v2 .notif-item-time { margin-top: 5px; font-size: 11.5px; gap: 5px; }
.notif-item-v2 .notif-item-time svg { width: 13px; height: 13px; }
.notif-unread-dot { width: 9px; height: 9px; flex-basis: 9px; }
.notif-empty { padding: 24px 16px; font-size: 13px; }
.notif-menu-footer { padding: 11px; font-size: 13px; }

.report-tile-soon { opacity: .85; }
.report-tile-soon .btn { pointer-events: none; opacity: .6; }
.report-tile-badge.report-tile-badge-soon { background: #eef0fb; color: #3a44a3; }
/* Təlim filtrləri: modern-select sarğıları yan-yana düzülsün */
.tn-filters .modern-select-shell { flex: 1 1 170px; width: auto; min-width: 150px; }
.tn-filters .modern-select-shell .modern-select-trigger { height: 42px; }
.tn-filters > input[type="search"] { flex: 2 1 240px; min-width: 200px; }

/* Təlim səhifələri: select və axtarış sahələri digər səhifələrdəki kimi (yüngül çərçivə, kiçik kölgə, aşağı hündürlük) */
.tn-filters .modern-select-trigger, .tn-decide .modern-select-trigger, .trq-card .modern-select-trigger {
  height: 38px !important; min-height: 38px !important; padding: 0 12px !important;
  border: 1.5px solid var(--border) !important; border-radius: 10px !important; background: #fff;
  box-shadow: 0 1px 2px rgba(24,30,61,.04), 0 4px 12px rgba(24,30,61,.045);
  font-size: 12.5px !important; font-weight: 600 !important; color: var(--text-secondary);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.tn-filters .modern-select-trigger:hover, .tn-decide .modern-select-trigger:hover, .trq-card .modern-select-trigger:hover,
.tn-filters > input[type="search"]:hover { border-color: #c9cff0 !important; }
.tn-filters .modern-select-trigger.open, .tn-decide .modern-select-trigger.open, .trq-card .modern-select-trigger.open,
.tn-filters > input[type="search"]:focus { border-color: #6a63f0 !important; box-shadow: 0 0 0 3px rgba(106,99,240,.13); outline: 0; }
.tn-filters .modern-select-trigger .modern-select-trigger-label { color: var(--text-secondary); font-weight: 600; }
.tn-filters .modern-select-trigger.is-placeholder .modern-select-trigger-label { color: var(--text-muted); font-weight: 500; }
.tn-filters .modern-select-chevron { width: 13px; height: 13px; }
.tn-filters { padding: 12px; gap: 10px; }

/* Təlim kataloqu: seçimlərlə sadə idarəetmə */
.tc-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tc-new { display: flex; gap: 8px; align-items: center; margin-top: 12px; padding: 12px; border: 1px dashed #c9cff0; border-radius: 12px; background: #fafbff; }
.tc-new .input { flex: 1; min-width: 0; height: 38px; font-size: 13px; }
.tc-skills { margin-top: 14px; padding: 14px 16px; border: 1px solid #e6e9f6; border-radius: 14px; background: #fff; }
.tc-skills > label { display: block; font-size: 13px; font-weight: 800; color: #151b44; margin-bottom: 8px; }
.tc-skills > label em { font-style: normal; font-weight: 500; color: #8189a8; }
.tc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.tc-chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 6px 5px 12px; border-radius: 999px; background: #eef0fb; color: #2f35b8; font-size: 13px; font-weight: 650; }
.tc-chip button { display: grid; width: 20px; height: 20px; place-items: center; border: 0; border-radius: 50%; background: #fff; color: #b3303f; font-size: 14px; line-height: 1; cursor: pointer; }
.tc-chip button:hover { background: #fde3e6; }
.tc-none { font-size: 12.5px; color: #8189a8; }
.tc-skill-add { display: flex; gap: 8px; }
.tc-skill-add .input { flex: 1; min-width: 0; height: 38px; font-size: 13px; }
.tc-msg { margin-top: 12px; padding: 9px 12px; border-radius: 10px; font-size: 12.5px; font-weight: 650; }
.tc-msg.ok { background: #e9f7ee; color: #1f7a48; }
.tc-msg.bad { background: #fdecee; color: #b3303f; }
@media (max-width: 720px) { .tc-row { grid-template-columns: 1fr; } .tc-new { flex-wrap: wrap; } }

/* hidden atributu display:flex/grid tərəfindən ləğv olunmasın */
.tc-new[hidden], .tc-skills[hidden], .tc-msg[hidden], .tc-dirty[hidden], .tc-row .field[hidden] { display: none !important; }
.tc-chip.pending { background: #fff4d6; color: #8a5a00; }
.tc-save { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #eef0f8; }
.tc-dirty { font-size: 12.5px; font-weight: 650; color: #8a5a00; }
.tc-save .btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; transform: none; }

/* Stat kartlarında dekorativ qrafik (dashboard kimi); dar ekranda gizlənir */
.stat-grid .stat-tile .dv3-deco, .stat-grid-compact .stat-tile .dv3-deco { position: absolute; right: 16px; top: 50%; width: 84px; height: 36px; margin-top: -18px; opacity: .8; pointer-events: none; }
@media (max-width: 1500px) { .stat-grid .stat-tile .dv3-deco, .stat-grid-compact .stat-tile .dv3-deco { display: none; } }

/* Təlim: sağ panel kartları (yüngül, tünd zolaqsız) */
.tn-card { padding: 20px 22px; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(51,58,130,.07); }
.tn-card-title { margin: 0 0 16px; font-size: 15px; font-weight: 800; color: #151b44; }
.tn-empty { padding: 18px 4px; font-size: 13px; color: #8189a8; }
.tn-dist { display: flex; align-items: center; gap: 18px; }
.tn-dist .tn-donut-wrap { width: 128px; flex: 0 0 128px; margin: 0; }
.tn-dist .tn-donut-center strong { font-size: 22px; }
.tn-dist .tn-legend { flex: 1; min-width: 0; gap: 9px; }
.tn-dist .tn-legend li { font-size: 12.5px; gap: 8px; }
.tn-dist .tn-legend b { font-size: 12px; color: #6a7192; font-weight: 600; white-space: nowrap; }
.tn-top2 { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tn-top2 li { display: flex; align-items: center; gap: 10px; }
.tn-rank2 { display: grid; width: 26px; height: 26px; flex: 0 0 26px; place-items: center; border-radius: 50%; font-size: 12px; font-weight: 800; background: #e6e8ff; color: #3a44a3; }
.tn-rank2.r3 { background: #dff5ec; color: #0d9467; }
.tn-rank2.r4 { background: #fde3e6; color: #b3303f; }
.tn-rank2.r5 { background: #fff1d6; color: #c98712; }
.tn-top2-name { flex: 1; min-width: 0; padding: 8px 12px; border-radius: 9px; background: #f4f5fb; font-size: 13px; color: #151b44; }
.tn-top2 li > b { min-width: 24px; text-align: right; font-size: 13px; font-weight: 700; color: #151b44; }
.tn-plan-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.tn-plan-head .tn-card-title { margin: 0; white-space: nowrap; }
.tn-plan-ico { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; border-radius: 10px; background: #eef0fb; color: #3a44a3; }
.tn-plan-ico svg { width: 17px; height: 17px; }
.tn-plan-line { flex: 1; height: 6px; border-radius: 6px; background: #eef0f8; }
.tn-plan-head .dv3-link { font-size: 12.5px; white-space: nowrap; }
.tn-plan2 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tn-plan2 > div { padding: 12px 6px; border-radius: 12px; background: #f7f8fe; text-align: center; }
.tn-plan2 b { display: block; font-size: 22px; font-weight: 850; color: #151b44; line-height: 1.1; }
.tn-plan2 span { display: block; margin-top: 4px; font-size: 12px; color: #6a7192; }
.tn-tip { display: flex; gap: 14px; margin-top: 16px; padding: 16px; border-radius: 14px; background: #f1f2fd; }
.tn-tip-ico { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border-radius: 12px; background: #e6e8ff; color: #3a44a3; }
.tn-tip-ico svg { width: 21px; height: 21px; }
.tn-tip-body h4 { margin: 0 0 6px; font-size: 14px; font-weight: 800; color: #151b44; }
.tn-tip-body p { margin: 0 0 14px; font-size: 13px; line-height: 1.6; color: #5d6485; }
.tn-tip-body p b { color: #2f35b8; }
.tn-tip-body .btn { text-decoration: none; }

/* Təlim: üst hissə — bir konteynerdə ikonlu filtrlər + pastel stat kartları */
.tn-top { padding: 16px; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(51,58,130,.07); }
.tn-top .tn-filters { padding: 0; margin-bottom: 14px; background: none; box-shadow: none; border-radius: 0; gap: 12px; }
.tn-fsel { position: relative; flex: 1 1 170px; min-width: 150px; }
.tn-fsearch { flex: 2 1 240px; min-width: 200px; }
.tn-fico { position: absolute; left: 13px; top: 50%; z-index: 3; width: 17px; height: 17px; margin-top: -8.5px; color: #3a44a3; pointer-events: none; }
.tn-fico svg { width: 17px; height: 17px; display: block; }
.tn-fsel .modern-select-shell { width: 100%; flex: none; min-width: 0; }
.tn-fsel .modern-select-trigger { padding-left: 40px !important; }
.tn-fsearch input[type="search"] { width: 100%; padding-left: 40px !important; height: 38px !important; min-height: 38px !important; border: 1.5px solid var(--border) !important; border-radius: 10px !important; background: #fff; box-shadow: 0 1px 2px rgba(24,30,61,.04), 0 4px 12px rgba(24,30,61,.045); font-size: 12.5px !important; font-weight: 600 !important; }
.tn-fsearch input[type="search"]:focus { border-color: #6a63f0 !important; box-shadow: 0 0 0 3px rgba(106,99,240,.13); outline: 0; }
.tn-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tn-stat { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 18px 16px; border: 1px solid #e3e6f8; border-radius: 16px; background: #f6f7ff; overflow: hidden; }
.tn-stat-ico { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; border-radius: 50%; background: #e9ebfc; color: #3a44a3; }
.tn-stat-ico svg { width: 23px; height: 23px; }
.tn-stat-body span { display: block; font-size: 12.5px; font-weight: 650; color: #3b4270; }
.tn-stat-body strong { display: block; margin-top: 3px; font-size: 28px; font-weight: 850; line-height: 1.1; color: #151b44; }
.tn-stat-pct { position: absolute; right: 16px; bottom: 12px; font-style: normal; font-size: 12px; font-weight: 700; color: #6a7192; }
.tn-stat-2 { border-color: #cdeedd; background: linear-gradient(135deg, #f3fcf7, #e7f7ee); }
.tn-stat-2 .tn-stat-ico { background: #d7f1e3; color: #1f9d5a; }
.tn-stat-2::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: #48c78e; }
.tn-stat-3 { border-color: #e4defa; background: linear-gradient(135deg, #f8f5ff, #eee9fd); }
.tn-stat-3 .tn-stat-ico { background: #e4defa; color: #6a3fd6; }
.tn-stat-4 { border-color: #f6e6c2; background: linear-gradient(135deg, #fffaee, #fff1d6); }
.tn-stat-4 .tn-stat-ico { background: #fde9bd; color: #c98712; }
@media (max-width: 1100px) { .tn-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tn-stats { grid-template-columns: 1fr; } }

/* dv3-stats başqa səhifələrdə (dashboard xaricində) */
.dv3-stats { margin-bottom: 18px; }
.dv3 .dv3-stats { margin-bottom: 0; }
.dv3-stats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dv3-stat-body strong.dv3-pending { font-size: 20px; font-weight: 800; color: #151b44; }
@media (max-width: 1100px) { .dv3-stats-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .dv3-stats-3 { grid-template-columns: 1fr; } }

/* dv3-stat: qrafik mətnin üstünə düşməsin (kartın eninə görə kiçilir/gizlənir) */
.dv3-stat { container-type: inline-size; }
.dv3-stat-body { position: relative; z-index: 1; min-width: 0; }
@container (max-width: 440px) { .dv3-deco { width: 66px; height: 30px; margin-top: -15px; right: 12px; } }
@container (max-width: 370px) { .dv3-deco { display: none; } }

.overview-panel-head { background: linear-gradient(115deg, rgb(58, 63, 179) 0%, rgb(87, 84, 227) 55%, rgb(143, 120, 240) 100%) !important; }

/* dv3-stat: qrafik həmişə görünür, mətnlə yan-yana (üst-üstə düşmür); dar kartda kiçilir, yazı sətrə düşür */
.dv3-stat { container-type: normal; }
.dv3-stat .dv3-stat-body { flex: 1 1 auto; min-width: 0; }
.dv3-stat .dv3-deco { position: static !important; display: block !important; margin: 0 0 0 auto !important; flex: 0 1 84px; width: 84px; min-width: 40px; height: 36px; opacity: .85; pointer-events: none; }
.dv3-stat .dv3-stat-body span { overflow-wrap: anywhere; }

/* Təlim: iki sütunlu düzülüş — sol: başlıq/filtr/kartlar/cədvəl; sağ: yuxarıdan başlayan panel sütunu */
.tn { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
.tn-left { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.tn > .tn-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (max-width: 1280px) { .tn { grid-template-columns: 1fr; } }

/* Bütün cədvəl/kart başlıq zolaqları eyni gradient */
:is(.overview-panel-head, .directory-summary, .card-header, .order-directory-head, .candidate-directory-head, .requests-directory-head,
    .education-directory-head, .science-directory-head, .military-directory-head, .workload-directory-head, .my-requests-directory-head, .dv3-band-head):not(#tn-grad) {
  background: linear-gradient(115deg, rgb(58, 63, 179) 0%, rgb(87, 84, 227) 55%, rgb(143, 120, 240) 100%) !important;
}
.employee-bulk-btn:not(#tn-grad) { background: linear-gradient(115deg, rgb(58, 63, 179) 0%, rgb(87, 84, 227) 55%, rgb(143, 120, 240) 100%) !important; }
.employee-bulk-btn:not(#tn-grad):hover { background: linear-gradient(115deg, rgb(46, 51, 158) 0%, rgb(72, 69, 202) 55%, rgb(124, 101, 224) 100%) !important; }

/* Gizli native select disabled olanda görünməsin (select.input:disabled opacity qaydasını üstələyir) */
select.input.modern-select-native, select.input.modern-select-native:disabled { opacity: 0 !important; pointer-events: none; }

.nm-pill { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; padding: 10px 16px; border-radius: 999px; background: #eef0fb; color: #3a44a3; font-size: 12.5px; font-weight: 650; line-height: 1.45; }
.nm-pill svg { width: 18px; height: 18px; flex: 0 0 18px; }
@media (max-width: 560px) { .nm-pill { border-radius: 16px; } }

/* Sıralanan başlıqda hover: tünd başlıqlı cədvəllərdə fon açılmasın (ağ yazı itməsin) */
table.data-table.sa-table thead th.th-sortable:hover, .stats-table thead th.th-sortable:hover,
.import-issues-table-warning thead th.th-sortable:hover { background: #4e52ad !important; }
.import-issues-table-danger thead th.th-sortable:hover { background: #b0101e !important; }
.btn.workload-import-btn:not(#tn-grad), .workload-import-btn:not(#tn-grad) { background: linear-gradient(115deg, rgb(58, 63, 179) 0%, rgb(87, 84, 227) 55%, rgb(143, 120, 240) 100%) !important; }
.btn.workload-import-btn:not(#tn-grad):hover, .workload-import-btn:not(#tn-grad):hover { background: linear-gradient(115deg, rgb(46, 51, 158) 0%, rgb(72, 69, 202) 55%, rgb(124, 101, 224) 100%) !important; }

/* Təlim: filtr ayrıca ağ kart, stat kartları digər səhifələrdəki dv3-stat kimi */
.tn-top { padding: 0; background: none; box-shadow: none; border-radius: 0; display: flex; flex-direction: column; gap: 18px; }
.tn-top .tn-filters { padding: 14px; margin: 0; background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(51,58,130,.07); }
.tn-top .dv3-stats { margin-bottom: 0; }
.dv3-stat-body span .dv3-pct { margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #eef0fb; color: #3a44a3; font-size: 11.5px; font-weight: 750; font-style: normal; }

/* Düymədə loading indikatoru */
.btn-spin { display: inline-block; width: 14px; height: 14px; margin-right: 8px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; vertical-align: -2px; animation: btnSpin .7s linear infinite; }
.btn-outline .btn-spin { border-color: rgba(58,68,163,.3); border-top-color: #3a44a3; }
@keyframes btnSpin { to { transform: rotate(360deg); } }
.btn.is-loading { cursor: progress; opacity: .85 !important; }

/* dv3-stats: kartlar dar ekranda sıxışmasın — avtomatik sətirə düşür; mətn yalnız söz arasında bölünür */
.dv3-stats, .dv3-stats-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important; }
.dv3-stat .dv3-stat-body { flex: 1 0 100px; min-width: 100px; }
.dv3-stat .dv3-stat-body span { overflow-wrap: break-word; word-break: normal; }
.dv3-stat .dv3-deco { flex: 0 1 84px; min-width: 0; overflow: hidden; }

.tc-list { margin-top: 18px; padding-top: 14px; border-top: 1px solid #e6e8f3; max-height: 260px; overflow: auto; }
.tc-l-title { font-weight: 800; color: #2b3170; margin-bottom: 10px; }
.tc-l-struct { margin-bottom: 12px; }
.tc-l-struct h4 { margin: 0 0 6px; font-size: 13px; color: #3a44a3; }
.tc-l-topic { padding: 6px 10px; border-radius: 10px; background: #f5f6fd; margin-bottom: 6px; font-size: 13px; }
.tc-l-topic b { color: #2b3170; }
.tc-l-topic em, .tc-l-leaf em { font-style: normal; font-size: 11px; color: #6b72b8; margin-left: 4px; }
.tc-l-leaf { display: inline-block; margin: 4px 6px 0 0; padding: 2px 10px; border-radius: 999px; background: #fff; border: 1px solid #dfe2f5; }

.tc-l-leaf { display: block !important; margin: 6px 0 0 !important; padding: 6px 10px !important; border-radius: 10px !important; }
.tc-l-leaf b { font-size: 13px; color: #2b3170; }
.tc-l-skills { margin: 4px 0 0; padding-left: 18px; color: #4d5480; font-size: 12.5px; }
.tc-l-topic > .tc-l-skills { margin-top: 4px; }

/* Login: etiket ilə yazı arasında boşluq, yazı kiçik və nazik */
.login-v2-field { height: 54px; }
.login-v2-field label { top: 8px; font-size: 10px; }
.login-v2-field input { padding: 20px 0 0 !important; font-size: 12.5px; font-weight: 500; }
.login-v2-field input::placeholder { font-weight: 400; font-size: 12.5px; }
@media (max-width: 480px) { .login-v2-field { height: 52px; } }

/* ===== Mənim profilim: yeni baş hissə, tablar, kartlar ===== */
.mp-head { display: flex; align-items: center; gap: 26px; padding: 22px 28px; margin-bottom: 14px; background: #fff; border-radius: 18px; box-shadow: 0 10px 30px rgba(51,58,130,.07); }
.mp-avatar-wrap { position: relative; flex: 0 0 104px; width: 104px; height: 104px; }
.mp-photo-btn { position: absolute; z-index: 5; bottom: 0; right: 0; width: 28px; height: 28px; border-radius: 50%; background: #3f4aa8; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(29,38,81,.25); }
.mp-title { flex: 1; min-width: 0; }
.mp-title h2 { margin: 0 0 12px; font-size: 26px; font-weight: 800; color: #151b44; letter-spacing: -.02em; }
.mp-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.mp-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 10px; font-size: 13px; font-weight: 600; color: #4d5480; }
.mp-chip svg { width: 17px; height: 17px; color: #6b72b8; }
.mp-chip-code { background: #eef0fb; color: #3a44a3; font-weight: 750; }
.mp-chip-ok { background: #e6f6ec; color: #1c8a4b; font-weight: 750; }
.mp-chip-wait { background: #fff4dc; color: #a06a00; font-weight: 750; }
.mp-chip i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.mp-edit-btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: 12px; background: #eef0fb; color: #3a44a3; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.mp-edit-btn:hover { background: #e3e6f8; }
.mp-edit-btn svg { width: 18px; height: 18px; }
.mp-tabs { display: flex; gap: 6px; margin-bottom: 18px; padding: 0 10px; overflow-x: auto; background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(51,58,130,.05); }
.mp-tabs a { display: inline-flex; align-items: center; gap: 9px; padding: 17px 20px; font-size: 14px; font-weight: 600; color: #4d5480; text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.mp-tabs a svg { width: 19px; height: 19px; }
.mp-tabs a:hover { color: #3a44a3; }
.mp-tabs a.active { color: #3a44a3; font-weight: 750; border-bottom-color: #4a52b4; }
.mp-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: start; margin-bottom: 18px; }
.mp-col { display: grid; gap: 18px; }
.mp-card .dv3-card-head { margin: 10px 12px 0; padding: 12px 14px; border-radius: 12px; background: #f1f2fb; }
.mp-card .dv3-card-head h3 { font-size: 17px; }
.mp-card .dv3-card-ico { background: transparent; color: #3a44a3; }
.mp-link { color: #3a44a3; font-size: 13px; font-weight: 700; text-decoration: none; }
.mp-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 22px; padding: 14px 22px 20px; }
.mp-info-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mp-info { display: flex; align-items: center; gap: 14px; padding: 8px 0; min-width: 0; }
.mp-info-ico { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 12px; background: #f4f5fc; color: #5b63c4; }
.mp-info-ico svg { width: 21px; height: 21px; }
.mp-info small { display: block; margin-bottom: 4px; font-size: 13px; color: #8189a8; }
.mp-info strong { display: block; font-size: 15px; font-weight: 750; color: #151b44; overflow-wrap: break-word; }
.mp-activity .profile-v4-activity-list { padding: 8px 22px 14px; }
.mp-activity .profile-v4-activity b { font-size: 15px; }
.mp-activity .profile-v4-activity small { font-size: 12.5px; }
.mp-activity .profile-v4-activity .badge { font-size: 12px; padding: 7px 12px; }
.profile-v4-secondary-grid .dv3-card-head { margin: 10px 12px 0; padding: 12px 14px; border-radius: 12px; background: #f1f2fb; }
.profile-v4-secondary-grid .dv3-card-ico { background: transparent; }
.profile-v4-secondary-grid > article { background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(51,58,130,.07); overflow: hidden; }
@media (max-width: 1100px) { .mp-grid { grid-template-columns: 1fr; } .mp-info-grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .mp-head { flex-wrap: wrap; padding: 18px; } .mp-info-grid { grid-template-columns: 1fr; } .mp-edit-btn { width: 100%; justify-content: center; } }

/* Login: alt başlığın altında boşluq */
.login-v2-card-sub { margin-bottom: 22px !important; }
@media (max-width: 480px) { .login-v2-card-sub { margin-bottom: 16px !important; } }

/* Mənim profilim: yazılar və rəqəmlər daha kiçik */
.mp-head { padding: 18px 24px; gap: 22px; }
.mp-avatar-wrap { flex-basis: 88px; width: 88px; height: 88px; }
.mp-head .profile-v4-main-avatar { width: 88px; height: 88px; flex-basis: 88px; }
.mp-title h2 { font-size: 21px; margin-bottom: 9px; }
.mp-chip { padding: 5px 10px; font-size: 12px; }
.mp-chip svg { width: 15px; height: 15px; }
.mp-edit-btn { padding: 10px 18px; font-size: 12.5px; }
.mp-edit-btn svg { width: 16px; height: 16px; }
.mp-tabs a { padding: 14px 16px; font-size: 12.5px; }
.mp-tabs a svg { width: 17px; height: 17px; }
.mp-card .dv3-card-head h3 { font-size: 14.5px; }
.mp-card .dv3-card-ico svg { width: 18px; height: 18px; }
.mp-info-ico { width: 40px; height: 40px; flex-basis: 40px; }
.mp-info-ico svg { width: 18px; height: 18px; }
.mp-info small { font-size: 11.5px; }
.mp-info strong { font-size: 13px; font-weight: 700; }
.mp-link { font-size: 12px; }
.mp-activity .profile-v4-activity b { font-size: 13px; }
.mp-activity .profile-v4-activity small { font-size: 11px; }
.mp-activity .profile-v4-activity .badge { font-size: 11px; padding: 5px 10px; }
.profile-dashboard-v4 .dv3-stat-body strong { font-size: 20px; }
.profile-dashboard-v4 .dv3-stat-body span { font-size: 12px; }

/* İşləyir statusu: yanıb-sönən işıq */
.mp-chip-ok i, .mp-chip-wait i { position: relative; animation: mp-blink 1.6s ease-in-out infinite; }
.mp-chip-ok i::after, .mp-chip-wait i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: currentColor; animation: mp-ping 1.6s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes mp-blink { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.8); } }
@keyframes mp-ping { 0% { transform: scale(1); opacity: .6; } 75%, 100% { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .mp-chip-ok i, .mp-chip-wait i, .mp-chip-ok i::after, .mp-chip-wait i::after { animation: none; } }

/* dv3-card-head-light: hamısı gradient fon, ağ yazı və ikon */
.dv3-card-head.dv3-card-head-light:not(#tn-grad) { background: linear-gradient(115deg, rgb(58, 63, 179) 0%, rgb(87, 84, 227) 55%, rgb(143, 120, 240) 100%) !important; color: #fff; }
.dv3-card-head.dv3-card-head-light h3, .dv3-card-head.dv3-card-head-light p, .dv3-card-head.dv3-card-head-light small, .dv3-card-head.dv3-card-head-light a, .dv3-card-head.dv3-card-head-light .mp-link { color: #fff !important; }
.dv3-card-head.dv3-card-head-light .dv3-card-ico { background: rgba(255,255,255,.16) !important; color: #fff !important; }
.dv3-card-head.dv3-card-head-light .dv3-card-ico svg, .dv3-card-head.dv3-card-head-light svg { color: #fff; }

.profile-v4-secondary-grid { grid-template-columns: 1fr !important; }

/* Portal istifadəçi menyusu */
.pu-chip { padding: 8px 14px 8px 10px !important; margin-left: 4px; border: 1px solid #e3e6f5 !important; border-radius: 16px; background: #f3f4fc; }
.pu-menu { width: 280px !important; padding: 12px !important; border-radius: 22px !important; border: 1px solid #e3e6f5; background: #fff; box-shadow: 0 24px 50px rgba(51,58,130,.18); }
.pu-menu-top { padding: 8px 10px 14px; border-bottom: 1px solid #edeff8; margin-bottom: 8px; }
.pu-status { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; background: #e6f6ec; color: #1c8a4b; font-size: 12px; font-weight: 750; }
.pu-status i { width: 8px; height: 8px; border-radius: 50%; background: #2fa866; }
.pu-email { margin-top: 10px; font-size: 13px; color: #6a7192; overflow-wrap: anywhere; }
.pu-item { display: flex; align-items: center; gap: 14px; padding: 9px 10px; border-radius: 14px; font-size: 14px; font-weight: 600; color: #26305e; text-decoration: none; }
.pu-item span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #f1f2fb; color: #4a52b4; }
.pu-item span svg { width: 18px; height: 18px; }
.pu-item:hover { background: #f4f5fd; }
.pu-sep { height: 1px; margin: 6px 4px; background: #edeff8; }
.pu-logout { color: #bc3547; }
.pu-logout span { background: #fbe9ec; color: #bc3547; }
.pu-logout:hover { background: #fff3f5; }

.dv3-card-head.dv3-card-head-light, .mp-card .dv3-card-head.dv3-card-head-light, .profile-v4-secondary-grid .dv3-card-head.dv3-card-head-light { padding: 0 17px !important; }

/* Əmək fəaliyyətim */
.mp-actions { display: flex; justify-content: flex-end; gap: 10px; margin-bottom: 14px; }
.mp-act { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 12px; background: #fff; border: 1px solid #e3e6f5; color: #26305e; font-size: 12.5px; font-weight: 700; text-decoration: none; }
.mp-act svg { width: 16px; height: 16px; }
.mp-act:hover { background: #f4f5fd; }
.mp-act-primary { background: linear-gradient(115deg, rgb(58, 63, 179) 0%, rgb(87, 84, 227) 55%, rgb(143, 120, 240) 100%); border-color: transparent; color: #fff; }
.mp-act-primary:hover { background: linear-gradient(115deg, rgb(46, 51, 158) 0%, rgb(72, 69, 202) 55%, rgb(124, 101, 224) 100%); }
.mp-pill { margin-left: auto; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.18); color: #fff; font-size: 12px; font-weight: 700; }
.mp-tl-card { margin-bottom: 18px; }
.mp-tl { margin: 14px 22px 8px; padding: 14px 18px; border-radius: 14px; background: #f8f9fe; }
.mp-tl-row { display: grid; grid-template-columns: 130px minmax(0, 1fr); align-items: center; gap: 12px; padding: 7px 0; }
.mp-tl-name { font-size: 12px; font-weight: 700; color: #26305e; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-tl-track { position: relative; height: 12px; }
.mp-tl-bar { position: absolute; top: 0; height: 12px; border-radius: 999px; }
.mp-tl-axis .mp-tl-track { height: 16px; }
.mp-tl-axis em { position: absolute; top: 0; font-style: normal; font-size: 11px; color: #8189a8; transform: translateX(-50%); }
.mp-jobs { display: grid; gap: 10px; padding: 8px 22px 20px; }
.mp-job { display: grid; grid-template-columns: 44px minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr) auto auto; align-items: center; gap: 16px; padding: 12px 16px; border: 1px solid #edeff8; border-radius: 14px; background: #fff; }
.mp-job-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; font-weight: 800; font-size: 15px; }
.mp-job-main b, .mp-job-col b { display: block; font-size: 13px; font-weight: 750; color: #151b44; }
.mp-job-main small, .mp-job-col small { display: block; margin-top: 3px; font-size: 11.5px; color: #8189a8; }
.mp-job-col small { margin: 0 0 3px; }
.mp-job-dur { padding: 5px 11px; border-radius: 999px; background: #eef0fb; color: #3a44a3; font-size: 11.5px; font-weight: 750; white-space: nowrap; }
.mp-job-tag { padding: 5px 11px; border-radius: 999px; background: #e6f6ec; color: #1c8a4b; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
@media (max-width: 900px) { .mp-job { grid-template-columns: 44px minmax(0, 1fr); } .mp-tl-row { grid-template-columns: 90px minmax(0, 1fr); } }

.mp-head-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.mp-head-actions .mp-edit-btn { padding: 10px 16px; font-size: 12.5px; }
.mp-edit-btn-light { background: #fff; border: 1px solid #e3e6f5; color: #26305e; }
.mp-edit-btn-light:hover { background: #f4f5fd; }
.mp-edit-btn-grad { background: linear-gradient(115deg, rgb(58, 63, 179) 0%, rgb(87, 84, 227) 55%, rgb(143, 120, 240) 100%); color: #fff; }
.mp-edit-btn-grad:hover { background: linear-gradient(115deg, rgb(46, 51, 158) 0%, rgb(72, 69, 202) 55%, rgb(124, 101, 224) 100%); }
@media (max-width: 720px) { .mp-head-actions { width: 100%; } .mp-head-actions .mp-edit-btn { flex: 1; justify-content: center; } }

/* ===== Təlim sorğusu (işçi): yeni dizayn ===== */
.trq2-hero { display: flex; align-items: center; gap: 22px; margin-bottom: 18px; padding: 22px 28px; border-radius: 22px; background: linear-gradient(110deg, #f6f7fe 0%, #fff 55%, #eef0fc 100%); box-shadow: 0 10px 30px rgba(51,58,130,.07); }
.trq2-hero-ico { display: grid; place-items: center; width: 58px; height: 58px; flex: 0 0 58px; border-radius: 16px; background: linear-gradient(145deg, #4a52b4, #6b63e8); color: #fff; box-shadow: 0 10px 22px rgba(74,82,180,.3); }
.trq2-hero-ico svg { width: 28px; height: 28px; }
.trq2-hero-text { flex: 1; min-width: 0; }
.trq2-crumb { font-size: 11.5px; color: #6a7192; }
.trq2-crumb i { font-style: normal; margin: 0 4px; }
.trq2-crumb b { color: #4a52b4; font-weight: 700; }
.trq2-hero h2 { margin: 2px 0 4px; font-size: 24px; font-weight: 850; color: #151b44; }
.trq2-hero p { margin: 0; font-size: 13px; color: #6a7192; }
.trq2-stepper { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid #e3e6f5; border-radius: 16px; background: #fff; }
.trq2-stepper u { width: 26px; height: 1px; background: #d9ddf0; text-decoration: none; }
.trq2-step { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: #8189a8; white-space: nowrap; }
.trq2-step i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #eef0fb; color: #8189a8; font-style: normal; font-size: 12px; font-weight: 800; }
.trq2-step.active { color: #151b44; }
.trq2-step.active i { background: #4a52b4; color: #fff; box-shadow: 0 0 0 4px rgba(74,82,180,.15); }
.trq2-step.done i { background: #2fa866; color: #fff; }
.trq2-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; margin-bottom: 18px; }
.trq2-grid .trq-card { margin-bottom: 0; border-radius: 20px; }
.trq2-main .trq-card-head > span { background: #eef0fb; color: #3a44a3; border-radius: 12px; font-weight: 800; }
.trq-line { border-radius: 16px; padding: 0; overflow: hidden; background: #fff; }
.trq-line-head { padding: 14px 20px; margin: 0; background: #f8f9fe; border-bottom: 1px solid #edeff8; }
.trq-line-title { display: flex; align-items: center; gap: 10px; }
.trq-num { padding: 3px 9px; border-radius: 999px; background: #eef0fb; color: #3a44a3; font-size: 11.5px; font-weight: 800; }
.trq-line-title b { font-size: 14px; font-weight: 800; color: #151b44; }
.trq-rm { display: inline-flex; align-items: center; gap: 6px; }
.trq-rm svg { width: 14px; height: 14px; }
.trq-line > .trq-grid { padding: 16px 20px 6px; }
.trq-req { color: #d03a4d; font-style: normal; }
.trq-lower { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; padding: 8px 20px 18px; align-items: stretch; }
.trq-lower-left { display: flex; flex-direction: column; gap: 14px; }
.trq-lower > .trq-lower-left:only-child { grid-column: 1 / -1; }
.trq-notef { display: flex; flex-direction: column; }
.trq-notef textarea { flex: 1; min-height: 130px; resize: vertical; }
.trq-skills { margin: 0 !important; }
.trq-skills-empty { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px dashed #c9cff0; border-radius: 14px; background: repeating-linear-gradient(135deg, #fafbff, #fafbff 8px, #f4f5fd 8px, #f4f5fd 16px); }
.trq-skills-empty p { margin: 2px 0 0 !important; }
.trq-ph-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #fff; color: #5b63c4; box-shadow: 0 2px 8px rgba(51,58,130,.1); }
.trq-ph-ico svg { width: 18px; height: 18px; }
.trq-add { width: 100%; justify-content: center; padding: 14px; border: 1px dashed #c9cff0; border-radius: 16px; background: #fafbff; color: #3a44a3; font-weight: 700; font-size: 13.5px; }
.trq-add-plus { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: #4a52b4; color: #fff; font-weight: 800; }
.trq2-side { position: sticky; top: 90px; }
.trq2-side h3 { margin: 0; font-size: 17px; font-weight: 800; color: #151b44; }
.trq2-side-sub { margin: 4px 0 14px; font-size: 12px; color: #6a7192; }
.trq2-progress-bar { height: 6px; border-radius: 999px; background: #eceefa; overflow: hidden; }
.trq2-progress-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #4a52b4, #8a80f0); transition: width .3s; }
.trq2-progress-row { display: flex; justify-content: space-between; margin: 7px 0 14px; font-size: 11.5px; color: #8189a8; }
.trq2-progress-row b { color: #3a44a3; }
.trq2-checks { display: grid; gap: 10px; margin-bottom: 18px; }
.trq2-check { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border: 1px solid #edeff8; border-radius: 14px; font-size: 13px; font-weight: 600; color: #26305e; background: #fff; }
.trq2-check i { width: 20px; height: 20px; flex: 0 0 20px; border: 2px solid #d0d5ee; border-radius: 50%; }
.trq2-check span { flex: 1; }
.trq2-check em { font-style: normal; font-size: 11px; color: #8189a8; }
.trq2-check.active { border-color: #c9cff0; background: #f6f7fe; }
.trq2-check.active i { border-color: #4a52b4; box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px #4a52b4; }
.trq2-check.done i { border-color: #2fa866; background: #2fa866; box-shadow: none; }
.trq2-submit { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 48px; border: 0; border-radius: 14px; background: linear-gradient(359deg, #3f4aa8, #6b63e8); color: #fff; font-size: 14px; font-weight: 750; cursor: pointer; box-shadow: 0 12px 24px rgba(74,82,180,.28); }
.trq2-submit svg { width: 17px; height: 17px; }
.trq2-submit:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.trq2-hint { display: flex; gap: 10px; margin-top: 14px; padding: 12px 14px; border: 1px solid #f1dfae; border-radius: 12px; background: #fffaea; color: #7a5a10; font-size: 12px; line-height: 1.45; }
.trq2-hint svg { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 1px; }
.trq2-mine-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.trq2-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: #f3f4fb; }
.trq2-tabs button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 0; border-radius: 9px; background: none; font-size: 12.5px; font-weight: 650; color: #6a7192; cursor: pointer; }
.trq2-tabs button em { font-style: normal; padding: 1px 7px; border-radius: 999px; background: #e6e9f8; font-size: 11px; }
.trq2-tabs button.active { background: #fff; color: #151b44; box-shadow: 0 2px 8px rgba(51,58,130,.1); }
.trq2-empty { display: flex; flex-direction: column; align-items: center; padding: 34px 16px; border: 1px dashed #dfe3f6; border-radius: 16px; text-align: center; background: #fbfbff; }
.trq2-empty svg { width: 120px; height: 90px; margin-bottom: 10px; }
.trq2-empty b { font-size: 15px; color: #151b44; }
.trq2-empty p { margin: 6px 0 0; font-size: 12.5px; color: #6a7192; max-width: 420px; }
@media (max-width: 1100px) { .trq2-grid { grid-template-columns: 1fr; } .trq2-side { position: static; } .trq2-stepper { display: none; } }
@media (max-width: 720px) { .trq-lower { grid-template-columns: 1fr; } .trq2-hero { padding: 18px; } }

/* Əmək fəaliyyəti: birinci kart (Cari vəzifə) */
.dv3-stat.dv3-stat-hero { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; padding: 16px 20px; color: #fff; background: linear-gradient(120deg, #4a43d4, #7165e6) !important; overflow: hidden; position: relative; }
.dv3-stat.dv3-stat-hero::after { content: ""; position: absolute; right: -50px; top: -40px; width: 170px; height: 170px; border-radius: 50%; background: rgba(255,255,255,.08); }
.dsh-label { font-size: 10.5px; font-weight: 750; letter-spacing: .14em; color: rgba(255,255,255,.75); }
.dv3-stat.dv3-stat-hero > strong { font-size: 21px; font-weight: 800; color: #fff; line-height: 1.2; position: relative; z-index: 1; }
.dsh-chips { display: flex; flex-wrap: wrap; gap: 6px; position: relative; z-index: 1; }
.dsh-chips span { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font-size: 11px; font-weight: 600; }
.dsh-chips svg { width: 12px; height: 12px; }
.dsh-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: #fff; color: #1c8a4b; font-style: normal; font-size: 11.5px; font-weight: 750; position: relative; z-index: 1; }
.dsh-status i { width: 8px; height: 8px; border-radius: 50%; background: #2fa866; }

.mp-tl-bar { height: 5px; top: 3.5px; }

/* Əmək tarixçəsi sətirləri: mətn üst-üstə düşməsin, dar yerdə sətirə keçsin */
.mp-job { display: flex !important; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.mp-job-ico { flex: 0 0 40px; }
.mp-job-main { flex: 1 1 180px; min-width: 0; }
.mp-job-col { flex: 1 1 140px; min-width: 0; }
.mp-job-col:nth-of-type(3) { flex-basis: 200px; }
.mp-job-col b { overflow-wrap: anywhere; }
.mp-job-col:nth-of-type(3) b { white-space: nowrap; }
.mp-job-dur, .mp-job-tag { flex: 0 0 auto; }

/* Əmək fəaliyyəti: cari məlumatlar kartı səliqəli */
[data-profile-panel="employment"] .profile-v4-section-grid { grid-template-columns: 1fr; gap: 18px; }
[data-profile-panel="employment"] .profile-v4-section-card { background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(51,58,130,.07); padding-bottom: 16px; }
[data-profile-panel="employment"] .profile-v4-section-card h4 { margin: 20px 22px 8px !important; padding-left: 10px; border-left: 3px solid #4a52b4; font-size: 13px !important; font-weight: 800; color: #26305e !important; letter-spacing: .01em; }
[data-profile-panel="employment"] .profile-v4-section-card > p, [data-profile-panel="employment"] .profile-v4-section-card > .muted { margin: 0 22px 8px; padding: 10px 14px; border-radius: 10px; background: #f8f9fe; font-size: 12.5px !important; color: #6a7192; }
[data-profile-panel="employment"] .profile-v4-record-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0 22px 10px; padding: 4px 18px; border-radius: 12px; background: #f8f9fe; }
[data-profile-panel="employment"] .profile-v4-record-list > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 0; padding: 10px 0; border-bottom: 1px solid #e9ecf8; }
[data-profile-panel="employment"] .profile-v4-record-list > div:nth-last-child(-n+2) { border-bottom: 0; }
[data-profile-panel="employment"] .profile-v4-record-list dt { font-size: 12px; color: #8189a8; flex: 0 0 auto; }
[data-profile-panel="employment"] .profile-v4-record-list dd { margin: 0; font-size: 13px; font-weight: 700; color: #151b44; text-align: right; overflow-wrap: anywhere; }
[data-profile-panel="employment"] .profile-v4-section-card > p[style], [data-profile-panel="employment"] .profile-v4-section-card > p { line-height: 1.5; }
@media (max-width: 720px) { [data-profile-panel="employment"] .profile-v4-record-list { grid-template-columns: 1fr; } [data-profile-panel="employment"] .profile-v4-record-list > div:nth-last-child(-n+2) { border-bottom: 1px solid #e9ecf8; } [data-profile-panel="employment"] .profile-v4-record-list > div:last-child { border-bottom: 0; } }

/* Portal istifadəçi menyusu: daha kiçik elementlər */
.pu-menu { width: 240px !important; padding: 10px !important; }
.pu-item { gap: 11px; padding: 6px 8px; border-radius: 12px; font-size: 12.5px; }
.pu-item span { width: 30px; height: 30px; border-radius: 9px; }
.pu-item span svg { width: 15px; height: 15px; }
.pu-status { padding: 4px 10px; font-size: 11px; }
.pu-email { font-size: 12px; margin-top: 8px; }
.pu-menu-top { padding: 6px 8px 10px; }

.profile-v4-record-list, [data-profile-panel="employment"] .profile-v4-record-list { margin-top: 22px; }

/* Əmək fəaliyyəti: iki kart yenə yan-yana */
[data-profile-panel="employment"] .profile-v4-section-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
[data-profile-panel="employment"] .profile-v4-record-list { grid-template-columns: 1fr; }
[data-profile-panel="employment"] .profile-v4-record-list > div:nth-last-child(-n+2) { border-bottom: 1px solid #e9ecf8; }
[data-profile-panel="employment"] .profile-v4-record-list > div:last-child { border-bottom: 0; }
@media (max-width: 1100px) { [data-profile-panel="employment"] .profile-v4-section-grid { grid-template-columns: 1fr; } }

/* Təlim sorğusu: ikon qutusu mətnin üstünə düşməsin */
.trq-card .field-icon .input, .trq-card .field-icon .modern-select-trigger, .trq-card .field-icon input:not([type="checkbox"]), .trq-card .field-icon select, .trq-card .field-icon textarea { padding-left: 54px !important; }
.trq-card .field-icon .modern-select-trigger-label { padding-left: 0; }

/* ===== Təhsil tabı ===== */
.ed-banner { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; padding: 16px 22px; border-radius: 18px; background: linear-gradient(110deg, #fff 55%, #f1f2fd 100%); box-shadow: 0 10px 30px rgba(51,58,130,.07); flex-wrap: wrap; }
.ed-banner-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: #eef0fb; color: #4a52b4; }
.ed-banner-ico svg { width: 22px; height: 22px; }
.ed-banner-text { flex: 1; min-width: 220px; }
.ed-banner-text b { display: block; font-size: 15px; color: #151b44; }
.ed-banner-text p { margin: 3px 0 0; font-size: 12.5px; color: #6a7192; }
.ed-steps { display: flex; align-items: center; gap: 10px; }
.ed-steps u { text-decoration: none; color: #b5bbd8; }
.ed-steps span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid #e3e6f5; border-radius: 12px; background: #fff; font-size: 12.5px; font-weight: 650; color: #26305e; white-space: nowrap; }
.ed-steps i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #4a52b4; color: #fff; font-style: normal; font-size: 11.5px; font-weight: 800; }
.ed-steps span:nth-of-type(2) i { background: #7d71f2; }
.ed-steps .ed-step-ok i { background: #2fa866; }
.ed-steps i svg { width: 12px; height: 12px; }
.ed-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px; align-items: start; margin-bottom: 18px; }
.ed-card { padding: 24px; border-radius: 22px; background: #fff; box-shadow: 0 10px 30px rgba(51,58,130,.07); }
.ed-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.ed-head > div { flex: 1; min-width: 0; }
.ed-head h3 { margin: 0; font-size: 17px; font-weight: 800; color: #151b44; }
.ed-head p { margin: 2px 0 0; font-size: 12.5px; color: #6a7192; }
.ed-head-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: #eef0fb; color: #4a52b4; }
.ed-head-ico svg { width: 21px; height: 21px; }
.ed-count { padding: 5px 12px; border-radius: 999px; background: #f3f4fb; color: #8189a8; font-style: normal; font-size: 12px; font-weight: 700; }
.ed-timeline { position: relative; display: grid; gap: 14px; padding-left: 34px; }
.ed-timeline::before { content: ""; position: absolute; left: 11px; top: 24px; bottom: 24px; border-left: 2px dashed #d5d9ef; }
.ed-step { position: relative; }
.ed-dot { position: absolute; left: -34px; top: 28px; width: 22px; height: 22px; border: 2px solid #d0d5ee; border-radius: 50%; background: #fff; }
.ed-step.first .ed-dot, .ed-step.has .ed-dot { border-color: #4a52b4; background: #4a52b4; box-shadow: 0 0 0 4px #e6e8fb; }
.ed-box { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border: 1px dashed #d9ddf0; border-radius: 16px; background: #fff; }
.ed-step.first .ed-box, .ed-step.has .ed-box { border: 1px solid #c9cff0; box-shadow: 0 4px 14px rgba(74,82,180,.08); }
.ed-box-ico { display: grid; place-items: center; width: 50px; height: 50px; flex: 0 0 50px; border-radius: 14px; background: #f1f2fa; color: #8189a8; }
.ed-step.first .ed-box-ico, .ed-step.has .ed-box-ico { background: linear-gradient(145deg, #4a52b4, #6b63e8); color: #fff; }
.ed-box-ico svg { width: 22px; height: 22px; }
.ed-box-main { flex: 1; min-width: 0; }
.ed-box-main > b { display: block; font-size: 14.5px; font-weight: 800; color: #151b44; }
.ed-skel { display: flex; gap: 10px; margin-top: 10px; }
.ed-skel i { display: block; height: 7px; border-radius: 999px; background: #e6e9f7; }
.ed-skel i:first-child { width: 140px; } .ed-skel i:last-child { width: 80px; }
.ed-rec { margin-top: 6px; } .ed-rec span { display: block; font-size: 13px; font-weight: 650; color: #26305e; } .ed-rec small { font-size: 12px; color: #8189a8; }
.ed-add { flex: 0 0 auto; padding: 8px 16px; border-radius: 10px; background: #eef0fb; color: #3a44a3; font-size: 12.5px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ed-step.first .ed-add { background: #4a52b4; color: #fff; }
.ed-add:hover { filter: brightness(.96); }
.ed-note { display: flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 12.5px; color: #6a7192; }
.ed-note svg { width: 16px; height: 16px; }
.ed-empty { display: flex; flex-direction: column; align-items: center; padding: 28px 16px; margin-bottom: 20px; border: 1px solid #edeff8; border-radius: 16px; text-align: center; background: #fbfbff; }
.ed-empty-ico { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 12px; border-radius: 50%; background: #fff; color: #4a52b4; box-shadow: 0 6px 18px rgba(74,82,180,.15); }
.ed-empty-ico svg { width: 28px; height: 28px; }
.ed-empty b { font-size: 15px; color: #151b44; }
.ed-empty p { margin: 6px 0 0; font-size: 12.5px; color: #6a7192; max-width: 300px; }
.ed-sci { display: grid; gap: 10px; margin-bottom: 18px; }
.ed-sci-row { display: grid; gap: 3px; padding: 12px 14px; border: 1px solid #edeff8; border-radius: 14px; }
.ed-sci-row b { font-size: 13.5px; color: #151b44; } .ed-sci-row small { font-size: 12px; color: #8189a8; }
.ed-tag { justify-self: start; padding: 2px 10px; border-radius: 999px; background: #eef0fb; color: #3a44a3; font-size: 11px; font-weight: 750; }
.ed-tag-2 { background: #e6f6ec; color: #1c8a4b; }
.ed-chips-title { margin: 14px 0 8px; font-size: 11px; font-weight: 800; letter-spacing: .12em; color: #8189a8; }
.ed-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ed-chips a { padding: 9px 16px; border: 1px solid #e3e6f5; border-radius: 999px; background: #fff; color: #26305e; font-size: 13px; font-weight: 650; text-decoration: none; }
.ed-chips a:hover { background: #f4f5fd; border-color: #c9cff0; }
.ed-big-btn { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 20px; height: 48px; border-radius: 14px; background: linear-gradient(95deg, #5b4fd8, #8a80f0); color: #fff; font-size: 14px; font-weight: 750; text-decoration: none; box-shadow: 0 12px 24px rgba(91,79,216,.25); }
.ed-big-btn svg { width: 17px; height: 17px; }
@media (max-width: 1100px) { .ed-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .ed-box { flex-wrap: wrap; } .ed-steps { flex-wrap: wrap; } }

/* ===== Ailəm tabı ===== */
.fm-card { padding: 24px; border-radius: 22px; background: #fff; box-shadow: 0 10px 30px rgba(51,58,130,.07); }
.fm-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.fm-head > div { flex: 1; min-width: 0; }
.fm-head h3 { margin: 0; font-size: 17px; font-weight: 800; color: #151b44; }
.fm-head p { margin: 2px 0 0; font-size: 12.5px; color: #6a7192; }
.fm-head-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: #fdeaf0; color: #d6456f; }
.fm-head-ico svg { width: 21px; height: 21px; }
.fm-count { padding: 5px 12px; border-radius: 999px; background: #eef0fb; color: #3a44a3; font-style: normal; font-size: 12px; font-weight: 750; }
.fm-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 18px; align-items: start; }
.fm-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.fm-member { position: relative; overflow: hidden; border: 1px solid #edeff8; border-radius: 20px; background: #fff; }
.fm-banner { height: 92px; background: linear-gradient(110deg, #eef0fd, #fbe9f1); }
.fm-rel { position: absolute; top: 18px; right: 18px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff; color: #c03a63; font-size: 12px; font-weight: 750; box-shadow: 0 2px 8px rgba(51,58,130,.08); }
.fm-avatar { position: absolute; top: 48px; left: 20px; display: grid; place-items: center; width: 62px; height: 62px; border: 4px solid #fff; border-radius: 18px; background: linear-gradient(145deg, #4a52b4, #7d71f2); color: #fff; font-size: 22px; font-weight: 800; box-shadow: 0 8px 18px rgba(74,82,180,.28); }
.fm-body { padding: 36px 20px 14px; }
.fm-body h4 { margin: 0; font-size: 17px; font-weight: 800; color: #151b44; }
.fm-body p { margin: 3px 0 14px; font-size: 12.5px; color: #8189a8; }
.fm-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fm-fact { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #edeff8; border-radius: 14px; }
.fm-fact span { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; border-radius: 10px; background: #f1f2fb; color: #5b63c4; }
.fm-fact span svg { width: 16px; height: 16px; }
.fm-fact small { display: block; font-size: 11px; color: #8189a8; }
.fm-fact b { font-size: 13.5px; color: #151b44; }
.fm-foot { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-top: 1px solid #edeff8; }
.fm-foot small { font-size: 12px; color: #8189a8; }
.fm-foot a { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: #3a44a3; text-decoration: none; }
.fm-foot a svg { width: 14px; height: 14px; }
.fm-add { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 18px; border: 1px dashed #c9cff0; border-radius: 20px; background: #fafbff; text-align: center; min-height: 260px; }
.fm-add-ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 12px; border-radius: 16px; background: #fff; color: #4a52b4; box-shadow: 0 6px 18px rgba(74,82,180,.15); }
.fm-add-ico svg { width: 24px; height: 24px; }
.fm-add b { font-size: 15px; color: #151b44; }
.fm-add p { margin: 5px 0 14px; font-size: 12.5px; color: #6a7192; }
.fm-add-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.fm-add-chips a { padding: 8px 14px; border: 1px solid #e3e6f5; border-radius: 999px; background: #fff; color: #26305e; font-size: 12.5px; font-weight: 650; text-decoration: none; }
.fm-add-chips a:hover { background: #f4f5fd; border-color: #c9cff0; }
.fm-notes { display: grid; gap: 14px; }
.fm-note { display: flex; gap: 14px; padding: 16px 18px; border-radius: 18px; }
.fm-note > span { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgba(51,58,130,.08); }
.fm-note > span svg { width: 19px; height: 19px; }
.fm-note b { display: block; font-size: 14px; color: #151b44; }
.fm-note p { margin: 4px 0 0; font-size: 12.5px; line-height: 1.5; color: #6a7192; }
.fm-note-warm { background: #fffaea; border: 1px solid #f1e3b5; } .fm-note-warm > span { color: #b8860b; }
.fm-note-cool { background: #f3f4fd; border: 1px solid #e0e4f8; } .fm-note-cool > span { color: #4a52b4; }
@media (max-width: 1100px) { .fm-grid { grid-template-columns: 1fr; } }

/* ===== Yeni məzuniyyət sorğusu (portal) ===== */
.lr2 { max-width: 720px; margin: 8px auto 30px; border-radius: 24px; background: #fff; box-shadow: 0 24px 60px rgba(51,58,130,.16); overflow: hidden; }
.lr2-head { display: flex; align-items: center; gap: 14px; padding: 22px 26px; border-bottom: 1px solid #edeff8; }
.lr2-head > div { flex: 1; min-width: 0; }
.lr2-head h2 { margin: 0; font-size: 19px; font-weight: 800; color: #151b44; }
.lr2-head p { margin: 3px 0 0; font-size: 12.5px; color: #6a7192; }
.lr2-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(145deg, #4a52b4, #6b63e8); color: #fff; box-shadow: 0 8px 18px rgba(74,82,180,.3); }
.lr2-ico svg { width: 22px; height: 22px; }
.lr2-x { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: #f3f4fb; color: #6a7192; font-size: 20px; text-decoration: none; }
.lr2-x:hover { background: #e9ebf8; }
.lr2-body { display: grid; gap: 18px; padding: 22px 26px; }
.lr2-label { display: block; margin-bottom: 8px; font-size: 12.5px; font-weight: 700; color: #26305e; }
.lr2-label em { font-style: normal; font-weight: 500; color: #8189a8; }
.lr2-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.lr2-type { position: relative; cursor: pointer; }
.lr2-type input { position: absolute; opacity: 0; pointer-events: none; }
.lr2-type span { display: block; padding: 11px 14px; border: 1px solid #e3e6f5; border-radius: 14px; background: #fff; transition: .15s; }
.lr2-type b { display: block; font-size: 13.5px; color: #151b44; }
.lr2-type small { display: block; margin-top: 3px; font-size: 11px; color: #8189a8; }
.lr2-type input:checked + span { border-color: #4a52b4; background: #f4f5fe; box-shadow: 0 0 0 3px rgba(74,82,180,.12); }
.lr2-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lr2-input { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px; border: 1px solid #e3e6f5; border-radius: 14px; background: #fff; }
.lr2-input:focus-within { border-color: #4a52b4; box-shadow: 0 0 0 3px rgba(74,82,180,.14); }
.lr2-input > svg { width: 17px; height: 17px; flex: 0 0 17px; color: #8189a8; }
.lr2-input input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 600; color: #151b44; }
.lr2-input input::placeholder { font-weight: 400; color: #aab0c8; }
.lr2-input em { font-style: normal; font-size: 11.5px; color: #8189a8; white-space: nowrap; }
.lr2-text { width: 100%; padding: 12px 14px; border: 1px solid #e3e6f5; border-radius: 14px; font: inherit; font-size: 13.5px; resize: vertical; outline: 0; }
.lr2-text:focus { border-color: #4a52b4; box-shadow: 0 0 0 3px rgba(74,82,180,.14); }
.lr2-sum { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border: 1px solid #dde1f7; border-radius: 16px; background: #f4f5fe; }
.lr2-sum strong { font-size: 30px; font-weight: 800; color: #3a44a3; line-height: 1; }
.lr2-sum-text b { display: block; font-size: 13.5px; color: #151b44; }
.lr2-sum-text small { font-size: 12px; color: #6a7192; }
.lr2-sum-bar { margin-left: auto; width: 190px; }
.lr2-bar { display: flex; height: 7px; border-radius: 999px; overflow: hidden; background: #e3e6f5; }
.lr2-bar i { display: block; height: 100%; transition: width .25s; }
.lr2-bar i:first-child { background: #3f4aa8; }
.lr2-bar i:last-child { background: repeating-linear-gradient(135deg, #8a80f0, #8a80f0 4px, #c9c4fa 4px, #c9c4fa 8px); }
.lr2-bar-row { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11.5px; color: #6a7192; }
.lr2-bar-row b { color: #3a44a3; }
.lr2-sum.over { border-color: #f0c3c8; background: #fdf1f2; }
.lr2-sum.over strong, .lr2-sum.over .lr2-bar-row b { color: #b3303f; }
.lr2-foot { display: flex; align-items: center; gap: 12px; padding: 16px 26px; border-top: 1px solid #edeff8; background: #fafbff; }
.lr2-foot-note { display: flex; align-items: center; gap: 8px; flex: 1; font-size: 12px; color: #6a7192; }
.lr2-foot-note svg { width: 15px; height: 15px; flex: 0 0 15px; }
.lr2-cancel { padding: 11px 20px; border: 1px solid #e3e6f5; border-radius: 12px; background: #fff; color: #26305e; font-size: 13px; font-weight: 700; text-decoration: none; }
.lr2-cancel:hover { background: #f4f5fd; }
.lr2-send { display: inline-flex; align-items: center; gap: 9px; padding: 12px 22px; border: 0; border-radius: 12px; background: linear-gradient(359deg, #3f4aa8, #6b63e8); color: #fff; font-size: 13.5px; font-weight: 750; cursor: pointer; box-shadow: 0 10px 20px rgba(74,82,180,.28); }
.lr2-send svg { width: 16px; height: 16px; }
@media (max-width: 720px) { .lr2-types { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lr2-row { grid-template-columns: 1fr; } .lr2-sum { flex-wrap: wrap; } .lr2-sum-bar { width: 100%; margin-left: 0; } .lr2-foot { flex-wrap: wrap; } .lr2-foot-note { flex-basis: 100%; } }

.topbar-userchip.pu-chip { background: #f5f5f570 !important; }

/* ===== Sorğularım tabı ===== */
.rq-card { padding: 22px 24px; border-radius: 22px; background: #fff; box-shadow: 0 10px 30px rgba(51,58,130,.07); }
.rq-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.rq-search, .rq-type { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border: 1px solid #e3e6f5; border-radius: 14px; background: #fff; color: #8189a8; }
.rq-search { flex: 1 1 280px; max-width: 460px; }
.rq-search svg, .rq-type svg { width: 17px; height: 17px; flex: 0 0 17px; }
.rq-search input, .rq-type select { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: inherit; font-size: 13px; color: #26305e; }
.rq-search:focus-within, .rq-type:focus-within { border-color: #4a52b4; box-shadow: 0 0 0 3px rgba(74,82,180,.12); }
.rq-tabs { display: inline-flex; gap: 2px; margin-left: auto; padding: 4px; border-radius: 14px; background: #f3f4fb; }
.rq-tabs button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 0; border-radius: 10px; background: none; font-size: 12.5px; font-weight: 650; color: #6a7192; cursor: pointer; }
.rq-tabs button em { font-style: normal; padding: 1px 7px; border-radius: 999px; background: #e6e9f8; font-size: 11px; }
.rq-tabs button.active { background: #fff; color: #151b44; box-shadow: 0 2px 8px rgba(51,58,130,.1); }
.rq-tabs i { width: 7px; height: 7px; border-radius: 50%; }
.d-warn { background: #e4aa35; } .d-ok { background: #2fa866; } .d-bad { background: #d03a4d; }
.rq-group { margin-bottom: 16px; }
.rq-group-head { display: flex; align-items: center; gap: 10px; margin: 6px 0 12px; font-size: 11.5px; letter-spacing: .1em; color: #8189a8; }
.rq-group-head b { font-weight: 800; }
.rq-group-head span { padding: 3px 10px; border-radius: 999px; background: #f1f2fa; font-size: 11px; letter-spacing: 0; }
.rq-group-head i { flex: 1; height: 1px; background: #edeff8; }
.rq-row { display: grid; grid-template-columns: 48px minmax(0, 1.4fr) 150px 150px auto; align-items: center; gap: 16px; padding: 14px 20px; margin-bottom: 10px; border: 1px solid #edeff8; border-radius: 16px; background: #fff; cursor: pointer; transition: box-shadow .15s, border-color .15s; }
.rq-row:hover { border-color: #c9cff0; box-shadow: 0 6px 18px rgba(51,58,130,.08); }
.rq-row-bad { background: linear-gradient(90deg, #fff1f3, #fff 55%); border-color: #f6d0d5; }
.rq-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; }
.rq-ico svg { width: 20px; height: 20px; }
.ic-cap { background: #eef0fd; color: #4a52b4; } .ic-heart { background: #fdeaf0; color: #d6456f; } .ic-brief { background: #f0eefd; color: #6b4fd8; } .ic-user { background: #e6f6f3; color: #1f8f7e; }
.rq-main b { display: block; font-size: 14px; color: #151b44; }
.rq-main small { display: flex; align-items: center; gap: 8px; margin-top: 3px; font-size: 12px; color: #8189a8; }
.rq-tag { padding: 1px 9px; border-radius: 6px; font-size: 11px; font-weight: 700; text-decoration: none; }
.rq-date { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; color: #26305e; }
.rq-date svg { width: 15px; height: 15px; color: #8189a8; }
.rq-status { display: inline-flex; align-items: center; gap: 7px; justify-self: start; padding: 6px 13px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.rq-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.rq-st-ok { background: #e6f6ec; color: #1c8a4b; } .rq-st-pending { background: #fff3d6; color: #8a5a00; } .rq-st-rejected { background: #fde3e6; color: #b3303f; }
.rq-acts { display: inline-flex; align-items: center; gap: 8px; justify-self: end; }
.rq-retry { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 11px; background: #fde3e6; color: #b3303f; font-size: 12.5px; font-weight: 700; text-decoration: none; }
.rq-retry svg { width: 14px; height: 14px; }
.rq-eye { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #e3e6f5; border-radius: 12px; background: #fff; color: #4a52b4; cursor: pointer; }
.rq-eye svg { width: 17px; height: 17px; }
.rq-none { padding: 30px; text-align: center; color: #8189a8; }
.rq-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; font-size: 12.5px; color: #6a7192; }
.rq-more { padding: 10px 18px; border: 1px dashed #c9cff0; border-radius: 12px; background: #fff; color: #3a44a3; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.rqd-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(21,27,68,.38); backdrop-filter: blur(3px); }
.rqd-overlay[hidden] { display: none; }
.rqd-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 91; display: flex; flex-direction: column; width: min(460px, 100vw); background: #fff; box-shadow: -20px 0 50px rgba(21,27,68,.18); transform: translateX(105%); transition: transform .25s ease; }
.rqd-drawer.open { transform: none; }
.rqd-x { position: absolute; top: 18px; right: 18px; z-index: 2; width: 36px; height: 36px; border: 0; border-radius: 11px; background: #f3f4fb; color: #6a7192; font-size: 20px; cursor: pointer; }
#rqd-content { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.rqd-head { padding: 26px 28px 18px; border-bottom: 1px solid #edeff8; }
.rqd-head em { margin-left: 10px; font-style: normal; font-size: 12.5px; color: #8189a8; }
.rqd-head h3 { margin: 14px 0 4px; font-size: 21px; font-weight: 800; color: #151b44; }
.rqd-head p { margin: 0; font-size: 13px; color: #6a7192; }
.rqd-body { flex: 1; overflow-y: auto; padding: 22px 28px; }
.rqd-reject { display: flex; gap: 12px; padding: 16px; border: 1px solid #f6d0d5; border-radius: 16px; background: #fff3f4; color: #b3303f; }
.rqd-reject svg { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 2px; }
.rqd-reject b { display: block; font-size: 13.5px; } .rqd-reject p { margin: 6px 0; font-size: 13px; line-height: 1.5; color: #26305e; } .rqd-reject small { font-size: 12px; color: #8189a8; }
.rqd-note { padding: 14px 16px; border-radius: 14px; background: #f6f7fe; } .rqd-note b { font-size: 13px; color: #151b44; } .rqd-note p { margin: 6px 0 0; font-size: 13px; color: #26305e; }
.rqd-title { margin: 22px 0 10px; font-size: 11px; font-weight: 800; letter-spacing: .12em; color: #8189a8; }
.rqd-list { border: 1px solid #edeff8; border-radius: 14px; overflow: hidden; }
.rqd-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid #edeff8; font-size: 13px; }
.rqd-list > div:last-child { border-bottom: 0; }
.rqd-list span { color: #6a7192; } .rqd-list b { color: #151b44; text-align: right; overflow-wrap: anywhere; }
.rqd-steps { position: relative; display: grid; gap: 16px; padding-left: 28px; }
.rqd-steps::before { content: ""; position: absolute; left: 9px; top: 12px; bottom: 12px; width: 2px; background: #e3e6f5; }
.rqd-steps > div { position: relative; }
.rqd-steps i { position: absolute; left: -28px; top: 2px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #d0d5ee; background: #fff; }
.rqd-steps .done i { border-color: #2fa866; background: #2fa866; box-shadow: 0 0 0 4px #e6f6ec; }
.rqd-steps .bad i { border-color: #d03a4d; background: #d03a4d; box-shadow: 0 0 0 4px #fde3e6; }
.rqd-steps .wait i { border-color: #e4aa35; box-shadow: 0 0 0 4px #fff3d6; }
.rqd-steps b { display: block; font-size: 13.5px; color: #151b44; } .rqd-steps small { font-size: 12px; color: #8189a8; }
.rqd-foot { display: flex; gap: 12px; padding: 18px 28px; border-top: 1px solid #edeff8; }
.rqd-close { flex: 1; padding: 13px; border: 1px solid #e3e6f5; border-radius: 13px; background: #fff; color: #26305e; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.rqd-primary { flex: 1.5; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; border-radius: 13px; background: linear-gradient(359deg, #3f4aa8, #6b63e8); color: #fff; font-size: 13.5px; font-weight: 750; text-decoration: none; box-shadow: 0 10px 20px rgba(74,82,180,.28); }
.rqd-primary svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .rq-row { grid-template-columns: 44px minmax(0, 1fr) auto; } .rq-date, .rq-status { grid-column: 2; } .rq-acts { grid-column: 3; grid-row: 1 / span 3; } .rq-tabs { margin-left: 0; overflow-x: auto; } }

/* ===== Məzuniyyətlər tabı ===== */
.lv-top { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 18px; align-items: stretch; margin-bottom: 18px; }
.lv-balance { display: flex; align-items: center; gap: 22px; padding: 22px; border-radius: 22px; background: linear-gradient(120deg, #fff 55%, #f1f2fd); box-shadow: 0 10px 30px rgba(51,58,130,.07); }
.lv-ring { --u: 0; --p: 0; display: grid; place-items: center; width: 150px; height: 150px; flex: 0 0 150px; border-radius: 50%; background: conic-gradient(#3f4aa8 calc(var(--u) * 1%), #e0a53a 0 calc((var(--u) + var(--p)) * 1%), #e6e9f7 0); }
.lv-ring > div { display: grid; place-items: center; align-content: center; width: 112px; height: 112px; border-radius: 50%; background: #fff; }
.lv-ring strong { font-size: 34px; font-weight: 800; color: #151b44; line-height: 1; }
.lv-ring small { font-size: 12px; color: #8189a8; }
.lv-legend { flex: 1; min-width: 0; }
.lv-legend > small { font-size: 10.5px; font-weight: 750; letter-spacing: .12em; color: #8189a8; }
.lv-legend h3 { margin: 4px 0 12px; font-size: 17px; font-weight: 800; color: #151b44; }
.lv-legend p { display: flex; align-items: center; gap: 8px; margin: 6px 0; font-size: 13px; color: #26305e; }
.lv-legend p b { margin-left: auto; }
.lv-legend i { width: 10px; height: 10px; border-radius: 3px; }
.lv-legend .u { background: #3f4aa8; } .lv-legend .p { background: #e0a53a; } .lv-legend .l { background: #dfe2f5; }
.lv-stats { margin: 0 !important; }
.lv-stats .dv3-stat-body strong small { font-size: 14px; font-weight: 600; color: #6a7192; }
.lv-mid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; margin-bottom: 18px; }
.lv-cal, .lv-holidays { padding: 22px; border-radius: 22px; background: #fff; box-shadow: 0 10px 30px rgba(51,58,130,.07); }
.lv-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.lv-cal-head h3, .lv-holidays h3, .lv-list-head h3 { margin: 0; font-size: 17px; font-weight: 800; color: #151b44; }
.lv-cal-head p, .lv-holidays > p, .lv-list-head p { margin: 3px 0 0; font-size: 12.5px; color: #6a7192; }
.lv-cal-nav { display: flex; gap: 8px; }
.lv-cal-nav button { width: 34px; height: 34px; border: 1px solid #e3e6f5; border-radius: 10px; background: #fff; color: #4a52b4; font-size: 18px; cursor: pointer; }
.lv-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.lv-cal-grid .h { padding: 6px 0; text-align: center; font-size: 11.5px; font-weight: 700; color: #8189a8; }
.lv-cal-grid span { position: relative; display: block; min-height: 44px; padding: 6px 9px; border: 1px solid #edeff8; border-radius: 10px; background: #fafbff; font-size: 12.5px; font-weight: 650; color: #26305e; }
.lv-cal-grid span.out { color: #c3c8de; background: #fff; }
.lv-cal-grid span.rest { background: #f4f5fb; color: #9aa1bd; }
.lv-cal-grid span.hol { background: #fdeef1; border-color: #f6cbd3; color: #b3303f; }
.lv-cal-grid span.lw { background: #fff3d6; border-color: #f1dca0; color: #8a5a00; }
.lv-cal-grid span.la { background: #e6f6ec; border-color: #b9e3cc; color: #1c8a4b; }
.lv-cal-grid span i { position: absolute; left: 9px; bottom: 6px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.lv-cal-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; font-size: 12px; color: #6a7192; }
.lv-cal-legend i { display: inline-block; width: 11px; height: 11px; margin-right: 6px; border: 1.5px solid; border-radius: 3px; vertical-align: -1px; }
.lv-cal-legend .w { border-color: #e4aa35; background: #fff3d6; } .lv-cal-legend .a { border-color: #2fa866; background: #e6f6ec; } .lv-cal-legend .h { border-color: #d6556b; background: #fdeef1; } .lv-cal-legend .r { border-color: #d0d5ee; background: #f4f5fb; }
.lv-hol { display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: #f8f9fe; }
.lv-hol-date { display: grid; place-items: center; width: 50px; height: 50px; flex: 0 0 50px; border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgba(51,58,130,.08); }
.lv-hol-date b { font-size: 16px; color: #151b44; line-height: 1; } .lv-hol-date small { font-size: 10px; font-weight: 700; color: #8189a8; }
.lv-hol b { font-size: 13.5px; color: #151b44; } .lv-hol > div small { display: block; font-size: 12px; color: #8189a8; }
.lv-hol-note { display: block; margin-top: 14px; font-size: 11.5px; color: #8189a8; }
.lv-list-card { margin-bottom: 18px; }
.lv-list-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.lv-row { grid-template-columns: 48px minmax(0, 1.3fr) 190px 90px 150px auto; }
.lv-row .rq-date b { font-size: 13.5px; }
.rq-st-cancelled { background: #eceef5; color: #6a7192; }
.lvd-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lvd-grid > div { padding: 12px 14px; border: 1px solid #edeff8; border-radius: 13px; background: #fafbff; }
.lvd-grid small { display: block; font-size: 11.5px; color: #8189a8; } .lvd-grid b { font-size: 14px; color: #151b44; }
[data-lv][hidden] { display: none !important; }
@media (max-width: 1100px) { .lv-top, .lv-mid { grid-template-columns: 1fr; } .lv-row { grid-template-columns: 44px minmax(0, 1fr) auto; } .lv-row .rq-date, .lv-row .rq-status { grid-column: 2; } }

/* Məzuniyyət sorğusu modalı */
.lr2-modal { position: fixed; inset: 0; z-index: 95; display: flex; align-items: flex-start; justify-content: center; padding: 6vh 16px 24px; overflow-y: auto; background: rgba(21,27,68,.42); backdrop-filter: blur(4px); }
.lr2-modal[hidden] { display: none; }
.lr2-modal-box { width: 100%; max-width: 720px; }
.lr2-modal .lr2 { margin: 0 auto; }
.lr2-loading { padding: 40px; border-radius: 20px; background: #fff; text-align: center; color: #6a7192; }
body.lr2-open { overflow: hidden; }

.sys-mail { display: inline-flex; align-items: center; gap: 5px; margin-left: 10px; padding: 2px 9px; border-radius: 999px; background: #eef0fb; color: #3a44a3; font-size: 11px; font-weight: 700; vertical-align: middle; cursor: help; }
.sys-mail svg { width: 12px; height: 12px; }

/* Təlim: status və prioritet sözlərinə görə rəng */
.tn-table td .tn-prio, .data-table td .tn-prio, td > span.tn-prio { display: inline-block; padding: 3px 11px !important; border-radius: 999px !important; font-size: 12px; font-weight: 700; }
td > .tn-prio-high { background: #fde3e6 !important; color: #b3303f !important; }
td > .tn-prio-medium { background: #fff1d6 !important; color: #8a5a00 !important; }
td > .tn-prio-low { background: #e4f6ea !important; color: #1f7a48 !important; }
td > .tn-status { display: inline-block; padding: 4px 12px !important; border-radius: 999px !important; font-size: 12px; font-weight: 750; }
td > .tn-status-new { background: #fff3d6 !important; color: #8a5a00 !important; }
td > .tn-status-planned { background: #e6e8ff !important; color: #3a44a3 !important; }
td > .tn-status-completed { background: #e4f6ea !important; color: #1f7a48 !important; }
td > .tn-status-cancelled { background: #eceef5 !important; color: #6a7192 !important; }
.tn-decide [data-tone="HIGH"] .modern-select-trigger, .tn-decide .modern-select-shell[data-tone="HIGH"] .modern-select-trigger { background: #fde3e6 !important; color: #b3303f !important; border-color: #f3b9c0 !important; }
.tn-decide .modern-select-shell[data-tone="MEDIUM"] .modern-select-trigger { background: #fff1d6 !important; color: #8a5a00 !important; border-color: #f1dca0 !important; }
.tn-decide .modern-select-shell[data-tone="LOW"] .modern-select-trigger { background: #e4f6ea !important; color: #1f7a48 !important; border-color: #b9e3cc !important; }
.tn-decide .modern-select-shell[data-tone="NEW"] .modern-select-trigger { background: #fff3d6 !important; color: #8a5a00 !important; border-color: #f1dca0 !important; }
.tn-decide .modern-select-shell[data-tone="PLANNED"] .modern-select-trigger { background: #e6e8ff !important; color: #3a44a3 !important; border-color: #c9cff0 !important; }
.tn-decide .modern-select-shell[data-tone="COMPLETED"] .modern-select-trigger { background: #e4f6ea !important; color: #1f7a48 !important; border-color: #b9e3cc !important; }
.tn-decide .modern-select-shell[data-tone="CANCELLED"] .modern-select-trigger { background: #eceef5 !important; color: #6a7192 !important; }
.tn-decide .modern-select-shell[data-tone] .modern-select-trigger-label { color: inherit !important; font-weight: 700; }

/* ===== Təlim sorğusu detalı (admin) ===== */
.tnm-box { width: min(760px, 96vw); max-width: 760px; padding: 0; border-radius: 22px; overflow: hidden; background: #fff; }
.tnm-head { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 24px 28px 22px; color: #fff; background: linear-gradient(120deg, #4a43d4, #6b63e8); overflow: hidden; }
.tnm-head::after { content: ""; position: absolute; right: -60px; top: -70px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.08); pointer-events: none; }
.tnm-head-ico { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid rgba(255,255,255,.35); border-radius: 16px; background: rgba(255,255,255,.14); }
.tnm-head-ico svg { width: 26px; height: 26px; }
.tnm-head-text { flex: 1; min-width: 0; position: relative; z-index: 1; }
.tnm-head-text small { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: rgba(255,255,255,.75); }
.tnm-head-text h3 { margin: 3px 0 0; font-size: 21px; font-weight: 800; color: #fff; }
.tnm-x { position: relative; z-index: 2; width: 38px; height: 38px; border: 0; border-radius: 12px; background: rgba(255,255,255,.18); color: #fff; font-size: 22px; cursor: pointer; }
.tnm-chips { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; position: relative; z-index: 1; }
.tnm-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; background: rgba(255,255,255,.12); font-size: 12.5px; font-weight: 650; color: #fff; }
.tnm-chips span[hidden] { display: none; }
.tnm-chips svg { width: 14px; height: 14px; }
.tnm-body { max-height: 68vh; overflow-y: auto; padding: 8px 28px 24px; }
.tnm-sec { display: flex; align-items: center; gap: 12px; margin: 20px 0 12px; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; color: #8189a8; }
.tnm-sec::after { content: ""; flex: 1; height: 1px; background: #edeff8; }
.tnm-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tnm-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid #edeff8; border-radius: 16px; background: #fbfbff; min-width: 0; }
.tnm-card > span { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; background: #eef0fb; color: #4a52b4; }
.tnm-card > span svg { width: 19px; height: 19px; }
.tnm-card small { display: block; font-size: 12px; color: #8189a8; }
.tnm-card b { display: block; font-size: 14.5px; font-weight: 800; color: #151b44; overflow-wrap: anywhere; }
.tnm-skills { display: flex; flex-wrap: wrap; gap: 8px; }
.tnm-skill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid #b9e3cc; border-radius: 999px; background: #e9f7ee; color: #1c8a4b; font-size: 13px; font-weight: 650; }
.tnm-skill::before { content: "✓"; font-weight: 800; }
.tnm-none { font-size: 13px; color: #8189a8; }
.tnm-quote { display: flex; gap: 14px; padding: 16px 18px; border: 1px solid #e3e6f5; border-radius: 16px; background: #f4f5fe; }
.tnm-quote > i { font-style: normal; font-size: 30px; line-height: 1; color: #6b63e8; }
.tnm-quote p { margin: 0; font-size: 14px; color: #26305e; white-space: pre-wrap; overflow-wrap: anywhere; }
.tnm-quote small { display: block; margin-top: 6px; font-size: 12px; color: #8189a8; }
.tnm-steps { display: flex; align-items: flex-start; gap: 10px; }
.tnm-steps u { flex: 1; height: 2px; margin-top: 14px; background: #e3e6f5; }
.tnm-step { display: flex; align-items: flex-start; gap: 10px; }
.tnm-step > i { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; border: 2px solid #d0d5ee; border-radius: 50%; background: #fff; }
.tnm-step > i svg { width: 15px; height: 15px; }
.tnm-step b { display: block; font-size: 13.5px; color: #151b44; } .tnm-step small { font-size: 12px; color: #8189a8; }
.tnm-step.done > i { border-color: #2fa866; background: #2fa866; color: #fff; }
.tnm-step.done > i::before { content: "✓"; font-size: 14px; font-weight: 800; }
.tnm-step.active > i { border-color: #4a52b4; box-shadow: 0 0 0 4px #e6e8fb; }
.tnm-step.bad > i { border-color: #d03a4d; background: #d03a4d; }
.tnm-decide .tn-decide-grid { margin-top: 0; }
.tnm-foot { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #edeff8; }
.tnm-foot-note { display: flex; align-items: center; gap: 8px; flex: 1; font-size: 12px; color: #6a7192; }
.tnm-foot-note svg { width: 15px; height: 15px; flex: 0 0 15px; }
@media (max-width: 720px) { .tnm-cards { grid-template-columns: 1fr; } .tnm-steps { flex-direction: column; } .tnm-steps u { display: none; } }

.tn-detail-ico { display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid #e3e6f5; border-radius: 11px; background: #fff; color: #4a52b4; cursor: pointer; }
.tn-detail-ico svg { width: 17px; height: 17px; }
.tn-detail-ico:hover { background: #eef0fb; border-color: #c9cff0; }

/* Təlim cədvəli: prioritet və status — daha qabarıq rənglər, nöqtə ilə */
.tn-table td > .tn-prio, .tn-table td > .tn-status { display: inline-flex !important; align-items: center; gap: 7px; padding: 5px 13px !important; border: 1px solid transparent; border-radius: 999px !important; font-size: 12px; font-weight: 750; white-space: nowrap; }
.tn-table td > .tn-prio::before, .tn-table td > .tn-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tn-table td > .tn-prio-high { background: #ffe1e5 !important; color: #c62839 !important; border-color: #f8b9c1; }
.tn-table td > .tn-prio-medium { background: #ffefc7 !important; color: #a05f00 !important; border-color: #f4d98d; }
.tn-table td > .tn-prio-low { background: #d8f4e3 !important; color: #18803f !important; border-color: #a9dfc0; }
.tn-table td > .tn-status-new { background: #ffefc7 !important; color: #a05f00 !important; border-color: #f4d98d; }
.tn-table td > .tn-status-planned { background: #e0e3ff !important; color: #3340b5 !important; border-color: #b9c0f5; }
.tn-table td > .tn-status-completed { background: #d8f4e3 !important; color: #18803f !important; border-color: #a9dfc0; }
.tn-table td > .tn-status-cancelled { background: #e8eaf2 !important; color: #5d6585 !important; border-color: #d3d7e6; }

.dv3-sub { color: #e5e5e5 !important; }

/* Təlim detalı / HR qərarı: ikon yazının üstünə düşməsin, bütün sahələr eyni ölçüdə */
.tnm-decide .field-icon { position: relative; }
.tnm-decide .field-icon .modern-select-shell { display: block; width: 100%; }
.tnm-decide .field-icon .modern-select-trigger,
.tnm-decide .field-icon input.input,
.tnm-decide .field-icon select.input { width: 100%; height: 46px !important; min-height: 46px !important; box-sizing: border-box; padding: 0 14px 0 56px !important; border: 1px solid #e3e6f5; border-radius: 14px; font-size: 13.5px; line-height: 44px; }
.tnm-decide .field-icon .modern-select-trigger { display: flex; align-items: center; line-height: normal; }
.tnm-decide .field-icon .field-icon-badge { left: 8px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; z-index: 2; }
.tnm-decide .field-icon input[type="date"].input { padding-right: 12px !important; color: #26305e; box-shadow: none; }
.tnm-decide .field-icon input.input:focus, .tnm-decide .field-icon .modern-select-trigger.open { border-color: #4a52b4; box-shadow: 0 0 0 3px rgba(74,82,180,.14); outline: 0; }
.tnm-decide .field textarea.input { border: 1px solid #e3e6f5; border-radius: 14px; }

/* Login: hesab növü seçimi — kart görünüşlü tablar */
.login-v2-tabs { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px !important; padding: 5px; margin-bottom: 18px !important; border: 0 !important; border-radius: 18px; background: #f1f2fb; }
.login-v2-tab { display: flex !important; align-items: center; gap: 12px !important; padding: 10px 14px !important; border: 1px solid transparent !important; border-radius: 14px; background: transparent !important; color: #6a7192; text-align: left; transition: background .15s, box-shadow .15s; }
.login-v2-tab::after { display: none !important; }
.login-v2-tab .lv2-tab-ico { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; border-radius: 11px; background: #e6e8f7; color: #7b82a2; }
.login-v2-tab .lv2-tab-ico svg { width: 17px; height: 17px; }
.login-v2-tab .lv2-tab-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.login-v2-tab .lv2-tab-txt b { font-size: 13px; font-weight: 750; color: #26305e; white-space: nowrap; }
.login-v2-tab .lv2-tab-txt small { font-size: 11px; font-weight: 500; color: #8189a8; white-space: nowrap; }
.login-v2-tab:hover { background: rgba(255,255,255,.6) !important; }
.login-v2-tab.active { background: #fff !important; border-color: #e3e6f5 !important; box-shadow: 0 6px 16px rgba(51,58,130,.12); }
.login-v2-tab.active .lv2-tab-ico { background: linear-gradient(145deg, #4a43d4, #6b63e8); color: #fff; }
@media (max-width: 480px) { .login-v2-tab { padding: 8px 10px !important; gap: 8px !important; } .login-v2-tab .lv2-tab-ico { width: 30px; height: 30px; flex-basis: 30px; } .login-v2-tab .lv2-tab-txt b { font-size: 12px; } .login-v2-tab .lv2-tab-txt small { display: none; } }

/* ===== Məlumatlarımı yenilə ===== */
.pe-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.pe-head h2 { margin: 4px 0 6px; font-size: 30px; font-weight: 850; letter-spacing: -.02em; color: #151b44; }
.pe-head p { margin: 0; font-size: 13.5px; color: #6a7192; }
.pe-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #eef0fb; color: #3a44a3; font-size: 12.5px; font-weight: 700; }
.pe-pill svg { width: 16px; height: 16px; }
.pe-layout { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 24px; align-items: start; padding-bottom: 90px; }
.pe-layout > .tabs.pe-nav { display: flex; flex-direction: column; gap: 6px; padding: 14px; border: 0; border-radius: 22px; background: #fff; box-shadow: 0 10px 30px rgba(51,58,130,.07); position: sticky; top: 90px; }
.pe-nav .tab-btn { display: flex; align-items: center; gap: 14px; width: 100%; padding: 10px 12px; border: 0 !important; border-radius: 14px; background: transparent; color: #26305e; font-size: 14px; font-weight: 700; text-align: left; cursor: pointer; flex: none; min-height: 0; }
.pe-nav .tab-btn:hover { background: #f4f5fd; }
.pe-nav .tab-btn.active { background: linear-gradient(90deg, #eef0fb, #f6f7fe); color: #151b44; }
.pe-nav-ico { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px; background: #f1f2fa; color: #6a7192; }
.pe-nav .tab-btn.active .pe-nav-ico { background: linear-gradient(145deg, #4a43d4, #6b63e8); color: #fff; box-shadow: 0 8px 16px rgba(74,67,212,.3); }
.pe-nav-ico svg { width: 19px; height: 19px; }
.pe-nav-label { flex: 1; min-width: 0; }
.pe-badge { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: #e9a62b; color: #fff; font-style: normal; font-size: 12px; font-weight: 800; }
.pe-badge[hidden] { display: none; }
.pe-nav-sep { height: 1px; margin: 8px 6px; background: #edeff8; }
.pe-nav-lock { display: flex; align-items: center; gap: 14px; padding: 10px 12px; color: #aab0c8; font-size: 14px; font-weight: 650; }
.pe-nav-lock .pe-nav-ico { background: #f4f5fa; color: #b7bcd3; }
.pe-nav-lock em { padding: 3px 9px; border-radius: 8px; background: #f1f2f8; font-style: normal; font-size: 11px; font-weight: 750; color: #9aa1bd; }
.pe-main .tab-panel .card { padding: 26px 28px; border: 0; border-radius: 24px; box-shadow: 0 10px 30px rgba(51,58,130,.07); margin-bottom: 18px; }
.pe-sec-title { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; font-size: 20px; font-weight: 800; color: #151b44; }
.pe-sec-title svg { width: 44px; height: 44px; padding: 11px; border-radius: 13px; background: #eef0fb; color: #4a52b4; box-sizing: border-box; }
.pe-lockbar { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding: 14px 16px; border: 1px solid #edeff8; border-radius: 16px; background: #fafbff; font-size: 13px; color: #6a7192; }
.pe-lockbar > span { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border: 1px solid #e3e6f5; border-radius: 10px; background: #fff; color: #8189a8; }
.pe-lockbar > span svg { width: 16px; height: 16px; }
.pe-lockbar a { margin-left: auto; white-space: nowrap; font-weight: 700; color: #3a44a3; text-decoration: none; }
.pe-main .field label { font-size: 13px; font-weight: 700; color: #26305e; }
.pe-main .field .input, .pe-main .field .modern-select-trigger { border-radius: 14px; }
.pe-locked input[disabled] { background: #f4f5fa !important; border-color: #e9ebf5; }
.pe-tag { margin-left: 8px; padding: 2px 9px; border-radius: 7px; background: #fff0c8; color: #946100; font-size: 11px; font-weight: 750; }
.pe-changed .input, .pe-changed .modern-select-trigger { background: #fffaea !important; border-color: #f1c15a !important; box-shadow: 0 0 0 3px rgba(241,193,90,.22); }
.pe-prev { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; font-size: 12px; color: #8189a8; }
.pe-prev s { color: #a6acc6; }
.pe-undo { border: 0; background: none; color: #3a44a3; font-size: 12px; font-weight: 700; cursor: pointer; }
.pe-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 32px 14px 296px; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-top: 1px solid #edeff8; box-shadow: 0 -10px 30px rgba(51,58,130,.06); }
body.sidebar-collapsed .pe-bar { padding-left: 110px; }
.pe-bar-info { display: flex; align-items: center; gap: 14px; min-width: 0; }
.pe-bar-count { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: #eef0fb; color: #6a7192; font-size: 18px; font-weight: 800; }
.pe-bar.has-changes .pe-bar-count { background: #fff0c8; color: #946100; }
.pe-bar-info b { display: block; font-size: 15px; color: #151b44; }
.pe-bar-info small { display: block; max-width: 460px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; color: #8189a8; }
.pe-bar-actions { display: flex; align-items: center; gap: 12px; }
.pe-bar-cancel { padding: 12px 22px; border: 1px solid #e3e6f5; border-radius: 13px; background: #fff; color: #26305e; font-size: 13.5px; font-weight: 700; text-decoration: none; }
.pe-bar-send { display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; border: 0; border-radius: 13px; background: linear-gradient(359deg, #3f4aa8, #6b63e8); color: #fff; font-size: 14px; font-weight: 750; cursor: pointer; box-shadow: 0 10px 22px rgba(74,82,180,.3); }
.pe-bar-send svg { width: 16px; height: 16px; }
@media (max-width: 1100px) { .pe-layout { grid-template-columns: 1fr; } .pe-layout > .tabs.pe-nav { position: static; flex-direction: row; flex-wrap: wrap; } .pe-nav .tab-btn { width: auto; } .pe-nav-sep, .pe-nav-lock { display: none; } .pe-bar { padding-left: 20px; } }

/* alt panel: səhifənin içində yapışqan (sidebar enindən asılı deyil) */
.pe-bar { position: sticky !important; left: auto; right: auto; bottom: 16px; padding: 14px 20px !important; margin-top: 8px; border: 1px solid #e3e6f5; border-radius: 20px; background: rgba(255,255,255,.97); box-shadow: 0 16px 40px rgba(51,58,130,.16); }
body.sidebar-collapsed .pe-bar { padding-left: 20px !important; }
.pe-layout { padding-bottom: 6px !important; }

/* ===== Məlumatlarımı yenilə: Əlaqə ===== */
.pe-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.pe-card-head > div { flex: 1; min-width: 0; }
.pe-card-head h3 { margin: 0; font-size: 19px; font-weight: 800; color: #151b44; }
.pe-card-head p { margin: 2px 0 0; font-size: 12.5px; color: #8189a8; }
.pe-card-ico { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 13px; background: #eef0fb; color: #4a52b4; }
.pe-card-ico svg { width: 20px; height: 20px; }
.pe-count-pill { padding: 5px 13px; border-radius: 999px; background: #eef0fb; color: #3a44a3; font-style: normal; font-size: 12px; font-weight: 750; }
.pe-contacts [data-queue-table-wrap] { margin-top: 0 !important; margin-bottom: 14px; }
.pe-contacts .table-wrap { border: 0; background: none; box-shadow: none; padding: 0; overflow: visible; }
.pe-contacts .data-table, .pe-contacts .data-table tbody { display: block; width: 100%; border: 0; }
.pe-contacts .data-table thead { display: none; }
.pe-contacts .data-table tbody tr { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; grid-template-areas: "ico lab act" "ico val act"; column-gap: 14px; align-items: center; padding: 12px 16px; margin-bottom: 10px; border: 1px solid #edeff8; border-radius: 16px; background: #fff; }
.pe-contacts .data-table tbody tr.pe-row-new { border-color: #b9e3cc; background: #f1fbf5; }
.pe-contacts .data-table tbody td { display: block; padding: 0; border: 0; background: none; }
.pe-contacts .data-table tbody td:nth-of-type(1) { grid-area: lab; font-size: 12px; color: #8189a8; }
.pe-contacts .data-table tbody td:nth-of-type(2) { grid-area: val; font-size: 14.5px; font-weight: 750; color: #151b44; overflow-wrap: anywhere; }
.pe-contacts .data-table tbody td.cell-actions { grid-area: act; grid-row: 1 / span 2; display: flex; gap: 8px; }
.pe-contacts .pe-ico { grid-area: ico; grid-row: 1 / span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: #eef0fb; color: #4a52b4; }
.pe-contacts .pe-ico svg { width: 19px; height: 19px; }
.pe-row-new .pe-ico { background: #dff3e8; color: #1c8a4b; }
.pe-new-tag { margin-left: 8px; padding: 1px 8px; border-radius: 6px; background: #d6f0e1; color: #1c8a4b; font-size: 10.5px; font-weight: 750; }
.pe-contacts .cell-actions .icon-btn { width: 38px !important; height: 38px !important; border: 1px solid #e3e6f5; border-radius: 11px; background: #fff; color: #4a52b4; }
.pe-contacts .cell-actions .icon-btn:last-child { color: #c62839; }
.pe-fields-hidden { display: none !important; }
.pe-add-box { padding: 16px 18px; border: 1px dashed #c9cff0; border-radius: 18px; background: #fafbff; }
.pe-add-title { margin-bottom: 12px; font-size: 13.5px; font-weight: 800; color: #26305e; }
.pe-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pe-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border: 1px solid #e3e6f5; border-radius: 12px; background: #fff; color: #26305e; font-size: 13px; font-weight: 650; cursor: pointer; }
.pe-chip svg { width: 15px; height: 15px; }
.pe-chip.on { border-color: #4a52b4; background: #eef0fb; color: #3a44a3; box-shadow: 0 0 0 3px rgba(74,82,180,.1); }
.pe-add-row { display: flex; align-items: center; gap: 12px; }
.pe-add-row input.input { flex: 1; min-width: 0; height: 48px; border-radius: 14px; }
.pe-add-row .add-row-btn { flex: 0 0 auto; height: 48px; padding: 0 22px; border: 0; border-radius: 13px; background: linear-gradient(359deg, #3f4aa8, #6b63e8); color: #fff; font-weight: 750; box-shadow: 0 10px 20px rgba(74,82,180,.28); }
.pe-add-row .add-row-btn svg { display: none; }
.pe-add-row [data-queue-cancel] { background: #fff !important; color: #6a7192 !important; border: 1px solid #e3e6f5 !important; box-shadow: none !important; }
@media (max-width: 720px) { .pe-add-row { flex-wrap: wrap; } .pe-add-row .add-row-btn { width: 100%; } }

/* ===== Məlumatlarımı yenilə: ortaq input/select/textarea üslubu (digər səhifələrlə eyni) ===== */
.pe-main .input, .pe-main input.input, .pe-main select.input, .pe-main textarea.input, .pe-main .modern-select-trigger { border: 1px solid #e1e4f3; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(51,58,130,.06); font-size: 13.5px; color: #1b2142; transition: border-color .15s, box-shadow .15s; }
.pe-main input.input, .pe-main select.input, .pe-main .modern-select-trigger { height: 44px; min-height: 44px; }
.pe-main textarea.input { padding: 11px 14px; min-height: 76px; }
.pe-main .input:focus, .pe-main .modern-select-trigger:focus, .pe-main .modern-select-trigger.open { border-color: #4a52b4; box-shadow: 0 0 0 3px rgba(74,82,180,.14); outline: 0; }
.pe-main .input::placeholder { color: #aab0c8; }
.pe-main .input[disabled], .pe-main .input:disabled { background: #f4f5fa; box-shadow: none; }
/* Cədvəl (queue) */
.pe-queue .table-wrap { border: 1px solid #edeff8; border-radius: 16px; background: #fff; overflow: hidden; padding: 0; margin-top: 0 !important; margin-bottom: 14px; box-shadow: none; }
.pe-queue .data-table { width: 100%; border-collapse: collapse; }
.pe-queue .data-table thead th { padding: 12px 16px; background: #f8f9fe; border: 0; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8189a8; text-align: left; }
.pe-queue .data-table tbody td { padding: 14px 16px; border: 0; border-top: 1px solid #f0f1f8; font-size: 13px; color: #26305e; vertical-align: middle; }
.pe-queue .data-table tbody tr:first-child td { border-top: 0; }
.pe-queue .data-table tbody td:first-child { font-weight: 800; color: #151b44; }
.pe-queue .data-table tbody tr.pe-row-new td { background: #f6fcf8; }
.pe-queue .cell-actions { display: flex; gap: 8px; justify-content: flex-end; }
.pe-queue .cell-actions .icon-btn { width: 36px !important; height: 36px !important; border: 1px solid #e3e6f5; border-radius: 10px; background: #fff; color: #4a52b4; }
.pe-queue .cell-actions .icon-btn:last-child { color: #c62839; border-color: #f3c9cf; }
.pe-queue .cell-actions .icon-btn svg { width: 16px; height: 16px; }
/* Açılan forma */
.pe-add-bar { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 14px; border: 1px dashed #c9cff0; border-radius: 16px; background: #fafbff; color: #3a44a3; font-size: 13.5px; font-weight: 750; cursor: pointer; }
.pe-add-bar:hover { background: #f4f5ff; }
.pe-add-bar[hidden], .pe-form[hidden] { display: none !important; }
.pe-plus { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: #4a52b4; color: #fff; font-size: 13px; font-weight: 800; }
.pe-plus svg { width: 12px; height: 12px; }
.pe-form { padding: 18px 20px; border: 1px dashed #c9cff0; border-radius: 18px; background: #fafbff; }
.pe-form.pe-form-edit, .pe-add-box.pe-add-edit { border: 1px solid #f1c15a; background: #fffaea; }
.pe-form.pe-form-edit .pe-plus, .pe-add-box.pe-add-edit .pe-add-title { color: #946100; }
.pe-form.pe-form-edit .pe-plus { background: #e9a62b; }
.pe-form-title { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 14px; font-weight: 800; color: #151b44; }
.pe-form .form-grid { gap: 14px 16px; }
.pe-form .field label { font-size: 12.5px; font-weight: 700; color: #26305e; }
.pe-form-btns { display: flex; justify-content: flex-end; gap: 12px; margin-top: 16px; }
.pe-btn-ghost { padding: 12px 22px; border: 1px solid #e3e6f5; border-radius: 12px; background: #fff; color: #26305e; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.pe-form-btns .add-row-btn { height: auto; padding: 12px 22px; border: 0; border-radius: 12px; background: linear-gradient(359deg, #3f4aa8, #6b63e8); color: #fff; font-weight: 750; box-shadow: 0 10px 20px rgba(74,82,180,.28); }
.pe-form .dropzone-real, .pe-main .dropzone-real { display: flex !important; align-items: center; gap: 10px !important; min-height: 44px; padding: 0 14px !important; border: 1px dashed #c9cff0 !important; border-radius: 12px !important; background: #fff !important; box-shadow: none; font-size: 13px; color: #3a44a3; }
.pe-switch { display: flex; align-items: center; gap: 12px; cursor: pointer; margin-bottom: 8px; }
.pe-switch input { position: absolute; opacity: 0; pointer-events: none; }
.pe-switch i { position: relative; width: 38px; height: 22px; border-radius: 999px; background: #d6dbee; transition: background .15s; flex: 0 0 38px; }
.pe-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: left .15s; }
.pe-switch input:checked + i { background: #4a52b4; } .pe-switch input:checked + i::after { left: 19px; }
.pe-switch b { display: block; font-size: 13px; color: #151b44; } .pe-switch small { font-size: 11.5px; color: #8189a8; }
.pe-fields-hidden { display: none !important; }

.pe-head-pills { justify-content: flex-start; gap: 10px; margin-bottom: 18px; }

/* "Xaricdə alınıb" açarı */
.pe-switch-wrap { grid-column: 1 / -1; display: grid; gap: 10px; }
.pe-switch-wrap .field { margin: 0; }
.pe-switch { position: relative; display: flex !important; align-items: center; gap: 12px; margin: 0; font-size: 13px; font-weight: 400; text-transform: none; letter-spacing: 0; cursor: pointer; }
.pe-switch input[type="checkbox"] { all: unset; position: absolute; width: 0; height: 0; opacity: 0; }
.pe-switch i { position: relative; display: block; width: 38px; height: 22px; flex: 0 0 38px; border-radius: 999px; background: #d6dbee; transition: background .15s; }
.pe-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: left .15s; }
.pe-switch input:checked + i { background: #4a52b4; }
.pe-switch input:checked + i::after { left: 19px; }
.pe-switch span { display: block; }
.pe-switch b { display: block; font-size: 13px !important; font-weight: 700 !important; color: #151b44; }
.pe-switch small { display: block; margin-top: 2px; font-size: 11.5px !important; font-weight: 500 !important; color: #8189a8; }

.pe-sec-label { display: flex; align-items: center; gap: 12px; margin: 4px 0 -2px; font-size: 11px; font-weight: 800; letter-spacing: .12em; color: #9aa1bd; }
.pe-sec-label::after { content: ""; flex: 1; height: 1px; background: #edeff8; }
.pe-queue .cell-sub { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 500; color: #8189a8; }
.pe-queue .data-table tbody td:first-child .pe-new-tag { margin-left: 8px; }
.pe-switch-wrap { grid-column: auto; }
.pe-switch-wrap.form-span-2 { grid-column: span 2; }

.pe-contact-fields { flex: 1; min-width: 0; }
.pe-contact-fields .form-grid { display: block; margin: 0; }
.pe-contact-fields .field { margin: 0; }
.pe-contact-fields .field > label { display: none; }
.pe-add-box .field-icon-badge { display: none !important; }
.pe-add-box .field-icon .input { padding-left: 14px !important; }

/* Cədvəl hüceyrələri: avatar, qohumluq nişanı, vurğulanan sətir */
.pe-req { font-style: normal; color: #d03a4d; }
.pe-tone-pink { background: #fdeaf0 !important; color: #d6456f !important; }
.pe-queue .cell-avatar { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: 14px; border-radius: 13px; background: linear-gradient(145deg, #4a43d4, #7d71f2); color: #fff; font-size: 14px; font-weight: 800; vertical-align: middle; }
.pe-queue .data-table tbody tr:nth-child(even) .cell-avatar { background: linear-gradient(145deg, #3f9f8e, #6cc7b4); }
.pe-queue .cell-name { font-weight: 800; color: #151b44; vertical-align: middle; }
.pe-queue .cell-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 999px; background: #e3f4f1; color: #1f7f72; font-size: 12.5px; font-weight: 700; }
.pe-queue .cell-pill-pink { background: #fdeaf0; color: #b8325b; }
.pe-queue .cell-pill svg { width: 13px; height: 13px; }
.pe-queue .data-table tbody td:first-child:has(.cell-avatar) .pe-new-tag { margin-left: 10px; }
.pe-queue .data-table tbody tr.pe-row-edit td { background: #fff7e0 !important; }
.pe-queue .data-table tbody tr.pe-row-edit td:first-child { box-shadow: inset 3px 0 0 #e9a62b; }
.pe-queue .data-table tbody tr.pe-row-edit .cell-actions .icon-btn:first-child { border-color: #f1c15a; background: #fff3cf; color: #946100; }
.pe-chips-field { margin: 4px 0 0; }
.pe-chips-field .pe-chip { padding: 12px 22px; border-radius: 14px; }
.pe-age { position: absolute; right: 14px; bottom: 11px; padding: 3px 10px; border-radius: 999px; background: #eef0fb; color: #6a7192; font-size: 12px; font-weight: 700; pointer-events: none; }
.pe-age[hidden] { display: none; }

/* dv3-card-head-light: ikon, başlıq və alt yazı bir az kiçik */
.dv3-card-head.dv3-card-head-light .dv3-card-ico { width: 34px !important; height: 34px !important; flex-basis: 34px !important; border-radius: 10px; }
.dv3-card-head.dv3-card-head-light .dv3-card-ico svg { width: 17px !important; height: 17px !important; }
.dv3-card-head.dv3-card-head-light h3 { font-size: 14.5px !important; }
.dv3-card-head.dv3-card-head-light .dv3-sub, .dv3-card-head.dv3-card-head-light p, .dv3-card-head.dv3-card-head-light small { font-size: 11px !important; }
.mp-card .dv3-card-head.dv3-card-head-light h3 { font-size: 14.5px !important; }

/* Təhsil: sənəd skanı və forma başlığı */
.pe-form-hint { margin-left: 4px; font-size: 12px; font-weight: 500; color: #8189a8; }
.pe-form .pe-dz, .pe-main .pe-dz { gap: 12px !important; min-height: 52px; padding: 0 14px !important; }
.pe-dz .pe-dz-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #eef0fb; color: #4a52b4; flex: 0 0 34px; }
.pe-dz .pe-dz-ico svg { width: 17px; height: 17px; }
.pe-dz span { font-weight: 700; color: #3a44a3; }
.pe-dz small { font-size: 11.5px; color: #8189a8; }
.pe-dz.has-file span { color: #1f7f72; }
.pe-dz.has-file small { display: none; }

/* Şəxsi məlumat: Cinsi seqmenti və Qan qrupu çipləri */
.pe-seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 14px; background: #f1f2fa; }
.pe-seg button { padding: 11px 0; border: 0; border-radius: 11px; background: transparent; font-size: 13px; font-weight: 700; color: #6a7192; cursor: pointer; }
.pe-seg button.on { background: #fff; color: #3a44a3; box-shadow: 0 2px 8px rgba(51,58,130,.14); }
.pe-chips-blood { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 0; }
.pe-chips-blood .pe-chip { justify-content: center; padding: 12px 6px; border-radius: 14px; }
@media (max-width: 900px) { .pe-chips-blood { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Şəxsi məlumat: gizlədilən köhnə nəzarətlər, kilidli sahələr */
.pe-gender > *:not(label):not(.pe-seg):not(.pe-prev), .pe-blood > *:not(label):not(.pe-chips-blood):not(.pe-prev) { display: none !important; }
.pe-locked .field-icon { position: relative; }
.pe-locked .field-icon-badge { display: none !important; }
.pe-locked .field-icon > input { padding-left: 16px !important; padding-right: 44px; }
.pe-lock-ico { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); display: inline-flex; color: #9aa1bd; pointer-events: none; }
.pe-lock-ico svg { width: 15px; height: 15px; }

/* Alt panel düymələri: hover */
.pe-bar-cancel, .pe-bar-send { transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s; }
.pe-bar-cancel:hover { background: #f4f5ff; border-color: #c9cff0; color: #3a44a3; }
.pe-bar-send:hover { filter: brightness(1.08); box-shadow: 0 12px 24px rgba(74,82,180,.38); transform: translateY(-1px); }
.pe-bar-send:active, .pe-bar-cancel:active { transform: translateY(0); }

/* Qan qrupu çipləri və Cinsi seqmenti: hover */
.pe-chip, .pe-seg button { transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s; }
.pe-chip:hover { border-color: #aab2ec; background: #f4f5ff; color: #3a44a3; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(74,82,180,.14); }
.pe-chip.on:hover { background: #e6e9fb; }
.pe-seg button:not(.on):hover { background: rgba(255,255,255,.75); color: #3a44a3; }

/* Bildiriş düyməsi və kilid zolağı rəngləri */
.notif-wrap > .icon-btn { background: #635ece; color: #ffffff; border-color: #635ece; }
.notif-wrap > .icon-btn:hover { background: #544fc0; color: #fff; }
.pe-lockbar { background: #6962d759; color: #222; border-color: transparent; }
.pe-lockbar > span { background: #fff; }

/* Əlaqə: "+994" prefiksi, "+ Əlavə et" düyməsi */
.pe-contact-fields { position: relative; }
.pe-prefix { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 14px; font-weight: 800; color: #151b44; pointer-events: none; z-index: 2; }
.pe-contact-fields.pe-has-prefix input.input { padding-left: 64px !important; }
.pe-add-row .add-row-btn svg[data-repeat-add-icon] { display: inline-block !important; width: 14px; height: 14px; margin-right: 6px; }
.pe-add-row .add-row-btn { display: inline-flex; align-items: center; }
.pe-add-box .pe-chip { padding: 9px 16px; }

/* Bölmə başlıqları ("ƏSAS MƏLUMAT", "SƏNƏD", "DİGƏR MƏLUMATLAR") tam sətir tutsun, inputlar altda başlasın */
.pe-main .form-grid > .pe-sec-label, .pe-form .form-grid > .pe-sec-label { grid-column: 1 / -1; }
.pe-main .form-grid > .form-span-3, .pe-form .form-grid > .form-span-3 { grid-column: 1 / -1; }

/* Təhsil formu: bir sətirdə 4 sahə */
.pe-edu .pe-form .form-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pe-edu .pe-form .form-grid > .form-span-2 { grid-column: span 2; }
.pe-edu .pe-form .form-grid > .pe-switch-wrap { grid-column: span 2; }
@media (max-width: 1100px) { .pe-edu .pe-form .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pe-edu .pe-form .form-grid { grid-template-columns: 1fr; } .pe-edu .pe-form .form-grid > .form-span-2, .pe-edu .pe-form .form-grid > .pe-switch-wrap { grid-column: auto; } }

/* Təhsil / Sənəd sətirləri: növ + seriya; tarix + skan; "Xaricdə alınıb" açarı və inputu yanaşı */
.pe-edu .pe-form .form-grid > .pe-switch-wrap { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: center; }
.pe-edu .pe-switch-wrap .field { margin: 0; }
@media (max-width: 1100px) { .pe-edu .pe-form .form-grid > .pe-switch-wrap { grid-template-columns: 1fr; } }

/* Elmi dərəcə formu: 6 sütunlu düzüm (başlıqlar tam sətir, cüt sahələr bir sətirdə) */
.pe-sci .pe-form .form-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.pe-sci .pe-form .form-grid > .field { grid-column: span 2; }
.pe-sci .pe-form .form-grid > .pe-half { grid-column: span 3; }
.pe-sci .pe-form .form-grid > .pe-sec-label { grid-column: 1 / -1; }
.pe-sci .pe-form .form-grid > .pe-switch-wrap { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: center; }
.pe-sci .pe-switch-wrap .field { grid-column: auto; margin: 0; }
@media (max-width: 1100px) { .pe-sci .pe-form .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pe-sci .pe-form .form-grid > .field, .pe-sci .pe-form .form-grid > .pe-half { grid-column: span 1; } .pe-sci .pe-form .form-grid > .pe-switch-wrap { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .pe-sci .pe-form .form-grid { grid-template-columns: 1fr; } .pe-sci .pe-form .form-grid > .field, .pe-sci .pe-form .form-grid > .pe-half { grid-column: auto; } }

/* Ünvan sahəsində ikon (textarea) */
.pe-ta-icon { position: relative; }
.pe-ta-icon .field-icon-badge { top: 14px !important; transform: none !important; }
.pe-ta-icon textarea.input { padding-left: 52px !important; }

/* "Xaricdə alınıb" açarı və inputu həmişə yanaşı (yalnız çox dar ekranda alt-alta) */
.pe-edu .pe-form .form-grid > .pe-switch-wrap, .pe-sci .pe-form .form-grid > .pe-switch-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
@media (max-width: 600px) { .pe-edu .pe-form .form-grid > .pe-switch-wrap, .pe-sci .pe-form .form-grid > .pe-switch-wrap { grid-template-columns: 1fr !important; } }
/* sütun sayı: 1100px əvəzinə 900px-dən aşağı azalsın */
@media (min-width: 901px) and (max-width: 1100px) {
  .pe-edu .pe-form .form-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pe-sci .pe-form .form-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .pe-sci .pe-form .form-grid > .field { grid-column: span 2; }
  .pe-sci .pe-form .form-grid > .pe-half { grid-column: span 3; }
}

/* Qohumluq: yalnız çiplər (select gizli) */
.pe-chip-field > *:not(label):not(.pe-chips):not(.pe-prev) { display: none !important; }

/* Hərbi tab: qadınlar üçün "Bu bölmə sizə aid deyil" kartı */
.mil-na { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 56px 24px 52px !important; }
.mil-na[style*="display: none"] { display: none !important; }
.mil-na-ico { display: grid; place-items: center; width: 104px; height: 104px; margin-bottom: 30px; border: 1px solid #e6e8f4; border-radius: 28px; background: linear-gradient(160deg, #fff, #f1f2fa); box-shadow: 0 10px 24px rgba(51,58,130,.08); color: #a3a9c6; }
.mil-na-ico svg { width: 38px; height: 38px; }
.mil-na h3 { margin: 0 0 12px; font-size: 26px; font-weight: 800; color: #151b44; }
.mil-na p { margin: 0 0 26px; max-width: 560px; font-size: 15px; line-height: 1.7; color: #7a82a3; }
.mil-na-note { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 14px 22px; margin-bottom: 30px; border: 1px solid #e0e3f7; border-radius: 14px; background: #f4f5ff; font-size: 14px; color: #3c4373; }
.mil-na-note svg { width: 17px; height: 17px; flex: 0 0 17px; color: #4a52b4; }
.mil-na-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.mil-na-ghost, .mil-na-primary { display: inline-flex; align-items: center; justify-content: center; padding: 15px 28px; border-radius: 14px; font-size: 15px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, border-color .15s; }
.mil-na-ghost { border: 1px solid #e3e6f5; background: #fff; color: #151b44; }
.mil-na-ghost:hover { background: #f4f5ff; border-color: #c9cff0; transform: translateY(-1px); }
.mil-na-primary { border: 0; background: linear-gradient(135deg, #3f4aa8, #7b6cf0); color: #fff; box-shadow: 0 12px 24px rgba(74,82,180,.3); }
.mil-na-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(74,82,180,.4); filter: brightness(1.06); }

/* Hərbi uçot (kişi işçilər) */
.mil { display: grid; gap: 18px; }
.mil[style*="display: none"] { display: none !important; }
.mil-head { display: flex; align-items: center; gap: 14px; padding: 4px 4px 2px; }
.mil-ico, .mil-sec-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #eaf3ec; color: #2f6b4a; flex: 0 0 44px; }
.mil-ico svg, .mil-sec-ico svg { width: 20px; height: 20px; }
.mil-head h3 { margin: 0; font-size: 19px; font-weight: 800; color: #151b44; }
.mil-head p { margin: 2px 0 0; font-size: 12.5px; color: #8189a8; }
.mil-pill { margin-left: auto; padding: 5px 14px; border-radius: 999px; background: #eaf3ec; color: #2f6b4a; font-size: 12px; font-style: normal; font-weight: 700; }
.mil-sec { padding: 20px 22px 22px; border: 1px solid #e8ebf5; border-radius: 20px; background: #fff; box-shadow: 0 4px 14px rgba(51,58,130,.05); }
.mil-sec-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.mil-sec-head h4 { margin: 0; font-size: 16px; font-weight: 800; color: #151b44; }
.mil-sec-head p { margin: 2px 0 0; font-size: 12px; color: #8189a8; }
.mil-sec-head b { margin-left: auto; font-size: 12px; font-weight: 800; letter-spacing: .1em; color: #b3b8cf; }
.mil-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mil-grid-status { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.mil-grid-status .mil-span-all { grid-column: 1 / -1; }
.mil-grid-reg { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.mil-f > label { display: block; margin-bottom: 7px; font-size: 12.5px; font-weight: 700; color: #26305e; }
.mil-f > label em { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #eef0fb; color: #8189a8; font-size: 10.5px; font-style: normal; font-weight: 700; }
.mil-in { position: relative; display: flex; align-items: center; }
.mil-in > svg { position: absolute; left: 14px; width: 16px; height: 16px; color: #8189a8; pointer-events: none; }
.mil-in input, .mil-in select, .mil-note textarea { width: 100%; height: 46px; padding: 0 16px 0 40px; border: 1px solid #e1e4f3; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(51,58,130,.05); font: inherit; font-size: 13.5px; color: #1b2142; outline: 0; transition: border-color .15s, box-shadow .15s; }
.mil-in input::placeholder, .mil-note textarea::placeholder { color: #aab0c8; }
.mil-in input:focus, .mil-in select:focus, .mil-note textarea:focus { border-color: #3f8a63; box-shadow: 0 0 0 3px rgba(63,138,99,.14); }
.mil-sel select { padding-left: 16px; appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238189a8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; font-weight: 600; }
.mil-auto { display: flex; align-items: center; gap: 10px; align-self: end; min-height: 46px; padding: 0 16px; border: 1px dashed #bcd9c7; border-radius: 12px; background: #f3faf5; font-size: 12px; color: #4b6d5a; }
.mil-auto svg { width: 15px; height: 15px; flex: 0 0 15px; }
.mil-chips { display: grid; gap: 10px; }
.mil-chips.mil-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mil-chip { height: 48px; border: 1px solid #e1e4f3; border-radius: 12px; background: #fff; font: inherit; font-size: 13.5px; font-weight: 700; color: #26305e; cursor: pointer; transition: all .15s; }
.mil-chip:hover { border-color: #9fcbb0; background: #f6fbf8; transform: translateY(-1px); }
.mil-chip.on { border: 1.5px solid #2f6b4a; background: #eef7f1; color: #1f5238; box-shadow: 0 0 0 3px rgba(63,138,99,.12); }
.mil-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mil-cat { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid #e1e4f3; border-radius: 14px; background: #fff; font: inherit; text-align: left; cursor: pointer; transition: all .15s; }
.mil-cat:hover { border-color: #9fcbb0; background: #f6fbf8; }
.mil-cat i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #eef0fb; color: #3a44a3; font-family: Georgia, serif; font-size: 17px; font-style: normal; font-weight: 800; flex: 0 0 40px; }
.mil-cat span { flex: 1; min-width: 0; }
.mil-cat b { display: block; font-size: 14px; color: #151b44; }
.mil-cat small { display: block; margin-top: 2px; font-size: 12px; color: #8189a8; }
.mil-cat u { width: 20px; height: 20px; border: 2px solid #cdd2e6; border-radius: 50%; flex: 0 0 20px; }
.mil-cat.on { border: 1.5px solid #2f6b4a; background: #eef7f1; box-shadow: 0 0 0 3px rgba(63,138,99,.12); }
.mil-cat.on i { background: #3c6b4f; color: #fff; }
.mil-cat.on u { border-color: #2f6b4a; background: radial-gradient(circle, #2f6b4a 0 4px, #fff 5px); }
.mil-sublabel { display: flex; align-items: center; gap: 12px; margin: 22px 0 14px; font-size: 11px; font-weight: 800; letter-spacing: .12em; color: #9aa1bd; }
.mil-sublabel::after { content: ""; flex: 1; height: 1px; background: #edeff8; }
.mil-note { margin-top: 16px; }
.mil-note textarea { height: auto; min-height: 92px; padding: 12px 16px; resize: vertical; }
@media (max-width: 900px) { .mil-grid, .mil-grid-status, .mil-grid-reg { grid-template-columns: 1fr; } .mil-chips.mil-cols-3, .mil-cats { grid-template-columns: 1fr; } }

/* BAAU-ya qədərki iş yerləri */
.pe-info-note { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 18px; padding: 14px 18px; border: 1px solid #e0e3f7; border-radius: 14px; background: #f4f5ff; font-size: 13px; line-height: 1.55; color: #3c4373; }
.pe-info-note svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 1px; color: #4a52b4; }
.pe-info-note b { color: #3a44a3; font-weight: 800; }
.pe-prev-card .pe-end { position: relative; }
.pe-prev-card .pe-dur { position: absolute; right: 14px; bottom: 11px; padding: 3px 10px; border-radius: 999px; background: #eef0fb; color: #6a7192; font-size: 11.5px; font-style: normal; font-weight: 700; pointer-events: none; }
.pe-prev-card .pe-dur[hidden] { display: none; }
.pe-prev-card .pe-opt { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #eef0fb; color: #8189a8; font-size: 10.5px; font-style: normal; font-weight: 700; }
.pe-prev-card [data-queue-table-wrap] { display: block !important; }
.pe-prev-card .table-wrap { border: 1px solid #edeff8; border-radius: 16px; overflow: hidden; background: #fff; margin-bottom: 14px; }
.pe-prev-card .data-table thead th { padding: 12px 18px; font-size: 10.5px; letter-spacing: .1em; color: #9aa1bd; background: #fafbff; }
.pe-prev-card .data-table tbody td { padding: 14px 18px; vertical-align: middle; border-top: 1px solid #f0f2fa; }
.pe-prev-card td.cell-has-av { display: flex; align-items: center; gap: 12px; }
.pe-prev-card .cell-box { display: flex; flex-direction: column; min-width: 0; }
.pe-prev-card .cell-name { display: block; font-weight: 800; color: #151b44; }
.pe-prev-card .cell-sub { display: block; margin-top: 2px; font-size: 11.5px; color: #8189a8; }
.pe-prev-card .cell-period { display: block; font-size: 13px; font-weight: 800; color: #151b44; }
.pe-prev-card .cell-avatar { display: inline-grid; place-items: center; width: 38px; height: 38px; margin: 0; border-radius: 11px; flex: 0 0 38px; color: #fff; font-size: 14px; font-weight: 800; background: linear-gradient(145deg, #4a43d4, #6c63f0); }
.pe-prev-card tbody tr:nth-child(4n+3) .cell-avatar { background: linear-gradient(145deg, #7d5bf0, #a483f7); }
.pe-prev-card tbody tr:nth-child(4n+4) .cell-avatar { background: linear-gradient(145deg, #2f9e8c, #62c4b1); }
.pe-prev-card tbody tr:nth-child(4n+5) .cell-avatar { background: linear-gradient(145deg, #e08a3c, #f0b062); }
.pe-prev-card .cell-avatar-dark { background: #1b2142 !important; }
.pe-prev-card .cell-pill { background: #e3f4ea; color: #1f7a4d; font-size: 12px; }
.pe-prev-card .cell-pill::before { content: "\2197"; margin-right: 5px; font-weight: 800; }
.pe-prev-card tr.pe-cur td { background: #fafbff; }
.pe-cur-tag { margin-left: 6px; padding: 2px 8px; border-radius: 6px; background: #dcf4e5; color: #1f7a4d; font-size: 10.5px; font-style: normal; font-weight: 700; vertical-align: 1px; }
.pe-locked-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid #e3e6f5; border-radius: 10px; background: #f4f5fa; color: #8189a8; font-size: 12.5px; font-weight: 700; }
.pe-locked-btn svg { width: 13px; height: 13px; }
.pe-prev-card .pe-form-btns .add-row-btn::before { content: "+ "; margin-right: 4px; }
.pe-prev-card .pe-form.pe-form-edit .pe-form-btns .add-row-btn::before { content: "\2713 "; }
.pe-prev-card .pe-form .form-grid > .form-span-2 { grid-column: span 2; }
.pe-prev-card .data-table thead .th-ic { display: none !important; }
.pe-prev-card .data-table thead th:last-child { font-size: 0; }

.pe-pill-prev[hidden] { display: none; }
.pe-pill-prev b { font-weight: 800; color: #3a44a3; }

/* "Əlavə et" düyməsi başlıqda, say nişanının yanında */
.pe-card-head .pe-add-bar { width: auto; flex: 0 0 auto; margin-left: auto; padding: 9px 16px; gap: 8px; border: 1px solid #c9cff0; border-radius: 12px; background: #f4f5ff; font-size: 13px; white-space: nowrap; transition: background .15s, border-color .15s, transform .15s; }
.pe-card-head .pe-add-bar:hover { background: #e9ebff; border-color: #aab2ec; transform: translateY(-1px); }
.pe-card-head .pe-add-bar .pe-plus { width: 20px; height: 20px; }
.pe-card-head .pe-add-bar + .pe-count-pill { margin-left: 0; }
@media (max-width: 640px) { .pe-card-head { flex-wrap: wrap; } .pe-card-head .pe-add-bar { margin-left: 0; } }

.pe-queue > .pe-form { margin-bottom: 18px; }

/* ===== Bildiriş menyusu üstdə (z-index) ===== */
.topbar { z-index: 300; }
.notif-menu { z-index: 1000; }

/* ===== Dashboard "Son fəaliyyət" başlığı ===== */
.dv3-head-tight { padding: 8px 17px !important; }

/* ===== Düymə ilə açılan kartlar: yumşaq slide-down ===== */
@keyframes peSlideDown { from { opacity: 0; transform: translateY(-14px); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: translateY(0); clip-path: inset(0 0 0 0); } }
.pe-form:not([hidden]), .pe-add-box { animation: peSlideDown .38s cubic-bezier(.22,.8,.3,1); }
@media (prefers-reduced-motion: reduce) { .pe-form:not([hidden]), .pe-add-box { animation: none; } }

/* ===== HR köməkçisi (chatbot) yeni dizayn ===== */
.hr-chatbot-launcher { width: auto; height: 56px; padding: 0 20px 0 8px; gap: 10px; border-radius: 999px; background: linear-gradient(135deg, #4a43d4, #7d71f2); box-shadow: 0 14px 30px rgba(74,67,212,.38); }
.hr-chatbot-launcher:hover { background: linear-gradient(135deg, #3f39c4, #6e62ee); transform: translateY(-3px); box-shadow: 0 18px 36px rgba(74,67,212,.46); }
.hr-chatbot-launcher-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.2); }
.hr-chatbot-launcher-ico svg { width: 24px; height: 24px; }
.hr-chatbot-launcher-label { font-size: 14px; font-weight: 700; letter-spacing: .01em; }
.hr-chatbot-launcher::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(125,113,242,.5); animation: hrBotPulse 2.6s infinite; pointer-events: none; }
.hr-chatbot-launcher.is-open::after { animation: none; }
@keyframes hrBotPulse { 0% { box-shadow: 0 0 0 0 rgba(125,113,242,.45); } 70%, 100% { box-shadow: 0 0 0 16px rgba(125,113,242,0); } }
@media (max-width: 640px) { .hr-chatbot-launcher-label { display: none; } .hr-chatbot-launcher { padding: 0 7px; } }

.hr-chatbot-panel { width: 380px; height: 540px; border: 0; border-radius: 22px; box-shadow: 0 24px 60px rgba(34,38,86,.28); background: #f6f7fc; }
.hr-chatbot-panel-header { gap: 12px; padding: 16px 18px; background: linear-gradient(135deg, #3b3a9c, #6a5fe0); color: #fff; }
.hr-chatbot-panel-header > div { flex: 1; min-width: 0; }
.hr-chatbot-panel-header b { display: block; font-size: 15px; }
.hr-chatbot-panel-header span { color: rgba(255,255,255,.8); }
.hr-chatbot-online { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.25); vertical-align: 1px; }
.hr-chatbot-avatar { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; background: #e9e7ff; color: #4a43d4; overflow: hidden; position: relative; }
.hr-chatbot-avatar svg { width: 19px; height: 19px; }
.hr-chatbot-avatar-lg { width: 44px; height: 44px; flex: 0 0 44px; background: rgba(255,255,255,.2); color: #fff; }
.hr-chatbot-avatar-lg svg { width: 25px; height: 25px; }
.hr-chatbot-avatar-user { background: linear-gradient(145deg, #4a43d4, #7d71f2); color: #fff; font-size: 12px; font-weight: 800; }
.hr-chatbot-avatar-user img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hr-chatbot-log { padding: 18px 14px; gap: 14px; background: #f6f7fc; }
.hr-chatbot-row { display: flex; align-items: flex-end; gap: 9px; animation: hrMsgIn .28s ease; }
.hr-chatbot-row-user { justify-content: flex-end; }
@keyframes hrMsgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hr-chatbot-msg { max-width: 78%; padding: 11px 14px; border-radius: 16px; font-size: 13.2px; line-height: 1.55; align-self: auto; }
.hr-chatbot-msg-bot { background: #fff; color: #26305e; border: 1px solid #e8ebf5; border-bottom-left-radius: 5px; box-shadow: 0 2px 8px rgba(51,58,130,.06); }
.hr-chatbot-msg-user { background: linear-gradient(135deg, #4a43d4, #6c63f0); color: #fff; border-bottom-right-radius: 5px; }
.hr-chatbot-typing .hr-chatbot-msg { display: flex; gap: 4px; padding: 14px 16px; }
.hr-chatbot-typing i { width: 7px; height: 7px; border-radius: 50%; background: #aab0c8; animation: hrDot 1s infinite; }
.hr-chatbot-typing i:nth-child(2) { animation-delay: .15s; } .hr-chatbot-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes hrDot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.hr-chatbot-suggest { display: grid; gap: 8px; margin: 0 0 0 43px; }
.hr-chatbot-suggest button { padding: 9px 14px; border: 1px solid #d9dcf3; border-radius: 12px; background: #fff; color: #3a44a3; font: inherit; font-size: 12.5px; font-weight: 600; text-align: left; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.hr-chatbot-suggest button:hover { background: #eef0fb; border-color: #aab2ec; transform: translateX(3px); }
.hr-chatbot-form { padding: 12px 14px; border-top: 1px solid #e8ebf5; background: #fff; gap: 10px; }
.hr-chatbot-form input { height: 44px; border-radius: 14px; border: 1px solid #e1e4f3; background: #f6f7fc; padding: 0 16px; }
.hr-chatbot-form input:focus { border-color: #6a5fe0; background: #fff; box-shadow: 0 0 0 3px rgba(106,95,224,.14); }
.hr-chatbot-form button { width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, #4a43d4, #7d71f2); }
.hr-chatbot-form button:hover { background: linear-gradient(135deg, #3f39c4, #6e62ee); }

/* Forma düymələri: Ləğv et / Əlavə et hover */
.pe-btn-ghost, .pe-form-btns .add-row-btn, .pe-add-row .add-row-btn, .pe-add-row [data-queue-cancel] { transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s, filter .15s; cursor: pointer; }
.pe-btn-ghost:hover, .pe-add-row [data-queue-cancel]:hover { background: #f4f5ff !important; border-color: #c9cff0 !important; color: #3a44a3 !important; transform: translateY(-1px); }
.pe-form-btns .add-row-btn:hover, .pe-add-row .add-row-btn:not([data-queue-cancel]):hover { filter: brightness(1.08); box-shadow: 0 14px 26px rgba(74,82,180,.4); transform: translateY(-1px); }
.pe-form-btns .add-row-btn:active, .pe-add-row .add-row-btn:active, .pe-btn-ghost:active { transform: translateY(0); }
.hr-chatbot-panel-header .hr-chatbot-avatar { display: grid; margin-top: 0; color: #fff; }

/* Süzgəc: gizlədilən sətir/qrup həqiqətən gizlənsin (display qaydası hidden-i ləğv etməsin) */
[data-rq][hidden], [data-lv][hidden], [data-group][hidden], .rq-group[hidden], .rq-row[hidden], .rq-none[hidden], .rq-more[hidden] { display: none !important; }

/* Məzuniyyət modalı: ekrana sığır, başlıq və alt panel həmişə görünür, orta hissə sürüşür */
.lr2-modal { align-items: center; padding: 16px; overflow: hidden; }
.lr2-modal-box { max-height: calc(100dvh - 32px); display: flex; }
.lr2-modal .lr2 { display: flex; flex-direction: column; width: 100%; max-height: calc(100dvh - 32px); margin: 0 auto; }
.lr2-modal .lr2-head, .lr2-modal .lr2-foot { flex: 0 0 auto; }
.lr2-modal .lr2-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
@media (max-height: 820px) {
  .lr2-modal .lr2-head { padding: 14px 22px; }
  .lr2-modal .lr2-ico { width: 40px; height: 40px; }
  .lr2-modal .lr2-body { gap: 13px; padding: 16px 22px; }
  .lr2-modal .lr2-input { height: 42px; }
  .lr2-modal .lr2-type span { padding: 8px 12px; }
  .lr2-modal .lr2-sum { padding: 10px 16px; }
  .lr2-modal .lr2-sum strong { font-size: 26px; }
  .lr2-modal .lr2-foot { padding: 12px 22px; }
  .lr2-modal .lr2-text { padding: 9px 12px; }
}
@media (max-width: 560px) { .lr2-modal { padding: 8px; } .lr2-modal-box, .lr2-modal .lr2 { max-height: calc(100dvh - 16px); } .lr2-modal .lr2-head, .lr2-modal .lr2-body, .lr2-modal .lr2-foot { padding-left: 16px; padding-right: 16px; } }

/* Topbar: bannerlərin üstündə (bildiriş menyusu görünsün), amma modal/çəkmə panellərinin altında */
.topbar { z-index: 85; }

/* HR ilə əlaqə / Mühasibatlıq düymələri */
.hr-chatbot-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 0 43px; }
.hr-chatbot-actions button { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border: 1px solid #d9dcf3; border-radius: 12px; background: #fff; color: #3a44a3; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; }
.hr-chatbot-actions button svg { width: 15px; height: 15px; }
.hr-chatbot-actions button:hover:not(:disabled) { background: #eef0fb; border-color: #aab2ec; transform: translateY(-1px); }
.hr-chatbot-actions .is-primary { border: 0; background: linear-gradient(135deg, #4a43d4, #7d71f2); color: #fff; box-shadow: 0 8px 18px rgba(74,67,212,.28); }
.hr-chatbot-actions .is-primary:hover:not(:disabled) { background: linear-gradient(135deg, #3f39c4, #6e62ee); box-shadow: 0 10px 22px rgba(74,67,212,.38); }
.hr-chatbot-actions .is-soon { background: #f4f5fa; color: #8189a8; cursor: not-allowed; }
.hr-chatbot-actions .is-soon em { margin-left: 2px; padding: 1px 7px; border-radius: 999px; background: #e6e8f4; font-size: 10px; font-style: normal; font-weight: 700; }
.hr-chatbot-mode { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 16px; background: #eef0fb; border-top: 1px solid #dde1f7; font-size: 12px; font-weight: 700; color: #3a44a3; }
.hr-chatbot-mode[hidden] { display: none; }
.hr-chatbot-mode button { border: 0; background: none; color: #6a7192; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.hr-chatbot-mode button:hover { color: #b3303f; }
.hr-chatbot-panel.is-hr-mode .hr-chatbot-form input { border-color: #6a5fe0; background: #fff; }

/* Təqvim: HR qeyri-iş günləri və bu ayın siyahısı */
.lv-cal-grid span.nw { background: #efe9ff; border-color: #d3c6fb; color: #5a3fc0; }
.lv-cal-legend .n { border-color: #8a6ef0; background: #efe9ff; }
.lv-hol-hol .lv-hol-date { background: #fdeef1; color: #b3303f; }
.lv-hol-nw .lv-hol-date { background: #efe9ff; color: #5a3fc0; }
.lv-hol-empty { padding: 14px 0; font-size: 12.5px; color: #8189a8; }
.rq-st-info { background: #e6f1fe; color: #1f5fa8; }
.rq-st-info i { background: #3b8ee0; }
/* Admin: təqvim qeydləri */
.cal-ev-list { margin-top: 18px; padding-top: 14px; border-top: 1px solid #edeff8; }
.cal-ev-list h4 { margin: 0 0 10px; font-size: 13px; color: #151b44; }
.cal-ev-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid #f3f4fa; }
.cal-ev-row > div { flex: 1; min-width: 0; }
.cal-ev-row b { display: block; font-size: 12.5px; color: #151b44; }
.cal-ev-row small { display: block; font-size: 12px; color: #6a7192; overflow-wrap: anywhere; }
.cal-ev-kind { flex: 0 0 auto; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.cal-ev-kind.nw { background: #efe9ff; color: #5a3fc0; }
.cal-ev-kind.inf { background: #e6f1fe; color: #1f5fa8; }

/* Əlaqə məlumatları (Mənim profilim) */
.mc { display: grid; gap: 14px; padding: 6px 4px 4px; }
.mc-sec { display: flex; align-items: center; gap: 12px; margin-top: 6px; font-size: 11px; font-weight: 800; letter-spacing: .14em; color: #8d94b3; }
.mc-sec::after { content: ""; flex: 1; height: 1px; background: #edeff8; }
.mc-corp { display: flex; align-items: center; gap: 18px; padding: 20px 28px; border: 1px solid #dcdffa; border-radius: 22px; background: linear-gradient(110deg, #f4f5ff, #eceaff 60%, #f7f4ff); }
.mc-corp-ico { display: grid; place-items: center; width: 62px; height: 62px; flex: 0 0 62px; border-radius: 19px; background: linear-gradient(145deg, #4a43d4, #7d71f2); color: #fff; box-shadow: 0 12px 24px rgba(74,67,212,.32); }
.mc-corp-ico svg { width: 28px; height: 28px; }
.mc-corp > div { flex: 1; min-width: 0; }
.mc-corp small, .mc-card small, .mc-addr small { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: #6a7192; }
.mc-corp strong { display: block; margin-top: 2px; font-size: 24px; font-weight: 800; color: #151b44; overflow-wrap: anywhere; }
.mc-sys { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border: 1px solid #d8dbf7; border-radius: 999px; background: #fff; color: #3a44a3; font-size: 11.5px; font-style: normal; font-weight: 700; }
.mc-sys svg { width: 11px; height: 11px; }
.mc-copy-lg { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border: 1px solid #e3e6f5; border-radius: 14px; background: #fff; color: #26305e; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; }
.mc-copy-lg svg { width: 16px; height: 16px; }
.mc-copy-lg:hover, .mc-copy:hover { background: #f4f5ff; transform: translateY(-1px); box-shadow: 0 6px 14px rgba(51,58,130,.1); }
.mc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mc-card { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border: 1px solid #edeff8; border-radius: 20px; background: #fff; }
.mc-card > div { flex: 1; min-width: 0; }
.mc-card strong { display: block; margin-top: 2px; font-size: 19px; font-weight: 800; color: #151b44; overflow-wrap: anywhere; }
.mc-ico { display: grid; place-items: center; width: 52px; height: 52px; flex: 0 0 52px; border-radius: 16px; }
.mc-ico svg { width: 22px; height: 22px; }
.mc-ico.phone { background: #e6f6ec; color: #1c8a4b; }
.mc-ico.mail { background: #eeeaff; color: #5a4cd0; }
.mc-ico.addr { background: #fbefdd; color: #c47a22; }
.mc-copy { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid #e3e6f5; border-radius: 12px; background: #fff; color: #4a52b4; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; }
.mc-copy svg { width: 17px; height: 17px; }
.mc-copy.done, .mc-copy-lg.done { background: #e6f6ec; border-color: #b9e3cc; color: #1c8a4b; }
.mc-addr { display: flex; align-items: stretch; gap: 18px; padding: 0 0 0 24px; border: 1px solid #edeff8; border-radius: 22px; background: #fff; overflow: hidden; }
.mc-addr > .mc-ico { align-self: flex-start; margin-top: 24px; }
.mc-addr-body { flex: 1; min-width: 0; padding: 22px 0; }
.mc-addr-body strong { display: block; margin: 4px 0 14px; font-size: 21px; line-height: 1.4; font-weight: 800; color: #151b44; }
.mc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mc-chips span { padding: 7px 16px; border: 1px solid #e3e6f5; border-radius: 999px; background: #f6f7fc; font-size: 13px; font-weight: 700; color: #26305e; }
.mc-map { position: relative; flex: 0 0 340px; min-height: 150px; }
.mc-map svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; }
.mc-map-pin { position: absolute; left: 56%; top: 38%; display: grid; place-items: center; width: 44px; height: 44px; margin: -22px 0 0 -22px; color: #c47a22; }
.mc-map-pin svg { width: 40px; height: 40px; fill: #d98a2e; stroke: #fff; stroke-width: 1.5; filter: drop-shadow(0 6px 8px rgba(0,0,0,.25)); }
.mc-map-link { position: absolute; right: 14px; bottom: 14px; padding: 9px 16px; border-radius: 12px; background: #fff; box-shadow: 0 6px 16px rgba(51,58,130,.16); font-size: 13px; font-weight: 700; color: #3a44a3; text-decoration: none; }
.mc-map-link:hover { background: #f4f5ff; }
.mc-note { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-size: 13px; color: #6a7192; }
.mc-note svg { width: 17px; height: 17px; flex: 0 0 17px; color: #4a52b4; }
@media (max-width: 900px) { .mc-grid { grid-template-columns: 1fr; } .mc-corp { flex-wrap: wrap; } .mc-addr { flex-direction: column; padding: 18px; } .mc-addr > .mc-ico { margin-top: 0; } .mc-map { flex-basis: 150px; width: 100%; border-radius: 14px; overflow: hidden; } }

/* Profil şəkli: baxış (lightbox) */
.mp-photo-viewable { cursor: zoom-in; }
.mp-lightbox { position: fixed; inset: 0; z-index: 5000; display: grid; place-items: center; padding: 24px; background: rgba(15,19,52,.72); backdrop-filter: blur(6px); animation: fadeIn .18s ease; }
.mp-lightbox[hidden] { display: none; }
.mp-lightbox-box { max-width: min(560px, 100%); border-radius: 22px; background: #fff; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.mp-lightbox-box img { display: block; width: 100%; max-height: 70vh; object-fit: contain; background: #151b44; }
.mp-lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; }
.mp-lightbox-bar b { font-size: 14px; color: #151b44; }
.mp-lightbox-bar span { display: flex; gap: 8px; }
.mp-lightbox-btn { display: inline-flex; align-items: center; padding: 9px 16px; border: 0; border-radius: 11px; background: linear-gradient(135deg, #4a43d4, #7d71f2); color: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.mp-lightbox-btn.ghost { background: #f3f4fb; color: #26305e; }
.mp-lightbox-btn:hover { filter: brightness(1.08); }

/* Əlaqə məlumatları: daha yığcam */
.mc { gap: 10px; padding: 2px 2px 0; }
.mc-sec { margin-top: 2px; font-size: 10px; }
.mc-corp { gap: 12px; padding: 12px 16px; border-radius: 16px; }
.mc-corp-ico { width: 42px; height: 42px; flex-basis: 42px; border-radius: 13px; box-shadow: 0 8px 16px rgba(74,67,212,.26); }
.mc-corp-ico svg { width: 20px; height: 20px; }
.mc-corp small, .mc-card small, .mc-addr small { gap: 6px; font-size: 11.5px; }
.mc-corp strong { margin-top: 1px; font-size: 16px; }
.mc-sys { padding: 2px 8px; font-size: 10.5px; }
.mc-copy-lg { padding: 8px 13px; border-radius: 11px; font-size: 12.5px; }
.mc-copy-lg svg { width: 14px; height: 14px; }
.mc-grid { gap: 10px; }
.mc-card { gap: 12px; padding: 11px 14px; border-radius: 14px; }
.mc-card strong { margin-top: 1px; font-size: 14.5px; }
.mc-ico { width: 38px; height: 38px; flex-basis: 38px; border-radius: 12px; }
.mc-ico svg { width: 17px; height: 17px; }
.mc-copy { width: 34px; height: 34px; flex-basis: 34px; border-radius: 10px; }
.mc-copy svg { width: 15px; height: 15px; }
.mc-addr { gap: 12px; padding: 0 0 0 14px; border-radius: 16px; }
.mc-addr > .mc-ico { margin-top: 14px; }
.mc-addr-body { padding: 12px 0; }
.mc-addr-body strong { margin: 2px 0 8px; font-size: 14.5px; line-height: 1.35; }
.mc-chips { gap: 6px; }
.mc-chips span { padding: 4px 11px; font-size: 11.5px; }
.mc-map { flex-basis: 230px; min-height: 96px; }
.mc-map-pin { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
.mc-map-pin svg { width: 28px; height: 28px; }
.mc-map-link { right: 10px; bottom: 10px; padding: 6px 11px; border-radius: 9px; font-size: 11.5px; }
.mc-note { margin-top: 0; font-size: 12px; }
.mc-note svg { width: 15px; height: 15px; flex-basis: 15px; }

/* Admin modallar (təqvim sorğusu, cavab): ekrana sığır, orta hissə sürüşür */
#calendar-event-modal .modal-box, #reply-modal .modal-box { display: flex; flex-direction: column; max-height: calc(100dvh - 32px); }
#calendar-event-modal .modal-header, #reply-modal .modal-header { flex: 0 0 auto; }
#calendar-event-modal .modal-body, #reply-modal .modal-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
#calendar-event-modal .modal-actions, #reply-modal .modal-actions { position: sticky; bottom: 0; padding-top: 12px; background: #fff; }
@media (max-width: 640px) { #calendar-event-modal .form-grid.cols-2 { grid-template-columns: 1fr; } #calendar-event-modal .form-span-2 { grid-column: auto; } }

/* Chatbot "yuxarı qalx" düyməsinin üstündə dayanır */
.hr-chatbot-launcher { bottom: 84px; }
.hr-chatbot-panel { bottom: 152px; max-height: calc(100dvh - 180px); }
@media (max-width: 640px) { .hr-chatbot-launcher { right: 16px; bottom: 76px; } .hr-chatbot-panel { right: 16px; bottom: 144px; } .scroll-top-btn { right: 16px; bottom: 16px; } }

/* Əlaqə məlumatları kartı: tam enli, daxili boşluq, daşma yoxdur */
.profile-v4-secondary-grid { grid-template-columns: minmax(0, 1fr); }
.profile-v4-detail-card { min-width: 0; overflow: hidden; }
.profile-v4-detail-card .mc { padding: 16px 18px 18px; max-width: 100%; }
.mc > *, .mc-grid > * { min-width: 0; max-width: 100%; }
.mc-addr-body { overflow-wrap: anywhere; }
.mc-corp, .mc-card, .mc-addr { box-sizing: border-box; }
@media (max-width: 760px) { .mc-map { display: none; } }

/* İşçi tam profili: Şəxsi məlumat tabı */
.pf { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.pf-left, .pf-right { display: grid; gap: 22px; min-width: 0; }
.pf-card { padding: 22px 24px; border-radius: 24px; background: #fff; box-shadow: 0 10px 30px rgba(51,58,130,.07); min-width: 0; }
.pf-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.pf-head > div { flex: 1; min-width: 0; }
.pf-head h3 { margin: 0; font-size: 18px; font-weight: 800; color: #151b44; }
.pf-head p { margin: 2px 0 0; font-size: 12.5px; color: #6a7192; }
.pf-head-ico { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 14px; background: #eef0fb; color: #4a52b4; }
.pf-head-ico.green { background: #e6f6ec; color: #1c8a4b; }
.pf-head-ico.dark { background: linear-gradient(145deg, #4a43d4, #7d71f2); color: #fff; box-shadow: 0 8px 18px rgba(74,67,212,.28); }
.pf-head-ico svg { width: 20px; height: 20px; }
.pf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #edeff8; border-radius: 18px; overflow: hidden; }
.pf-cell { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-right: 1px solid #edeff8; border-bottom: 1px solid #edeff8; min-width: 0; }
.pf-cell:nth-child(3n) { border-right: 0; }
.pf-cell:nth-last-child(-n+3) { border-bottom: 0; }
.pf-cell > div { min-width: 0; }
.pf-cell small { display: block; font-size: 12px; color: #8189a8; }
.pf-cell b { display: block; margin-top: 2px; font-size: 15.5px; font-weight: 800; color: #151b44; overflow-wrap: anywhere; }
.pf-cell .pf-sub { display: block; margin-top: 2px; font-size: 12px; color: #8189a8; }
.pf-ico { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; background: #f1f2fa; color: #7b83a8; }
.pf-ico svg { width: 18px; height: 18px; }
.pf-ico.red { background: #fdeaec; color: #d6455d; }
.pf-age { margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: #eef0fb; color: #6a7192; font-size: 12px; font-style: normal; font-weight: 700; vertical-align: 1px; }
.pf-blood { display: inline-block !important; padding: 3px 12px; border-radius: 10px; background: #fdeaec; color: #c62839; font-size: 14px !important; }
.pf-idcard { background: linear-gradient(135deg, #f4f5ff, #efecff); border: 1px solid #e3e1fb; }
.pf-valid { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: #fff; font-size: 12.5px; font-weight: 700; }
.pf-valid svg { width: 14px; height: 14px; }
.pf-valid.ok { color: #1c8a4b; } .pf-valid.bad { color: #b3303f; }
.pf-id3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pf-id3 > div { padding: 14px 18px; border: 1px solid #e8ebf5; border-radius: 14px; background: #fff; min-width: 0; }
.pf-id3 small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; color: #8d94b3; }
.pf-id3 b { display: block; margin-top: 4px; font-size: 17px; font-weight: 800; color: #151b44; overflow-wrap: anywhere; }
.pf-id3 b.mono { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .04em; }
.pf-id3 b.blue { color: #4a43d4; }
.pf-valid-box { margin-top: 12px; padding: 14px 18px; border: 1px solid #e8ebf5; border-radius: 14px; background: #fff; }
.pf-valid-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: #26305e; }
.pf-valid-row.muted { margin-top: 8px; font-size: 12px; color: #8189a8; }
.pf-valid-row b.ok { color: #1c8a4b; }
.pf-bar { height: 7px; margin-top: 10px; border-radius: 999px; background: #e9ebf6; overflow: hidden; }
.pf-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #35b26f, #6bcf94); }
.pf-empty { padding: 14px 4px; font-size: 13px; color: #8189a8; }
.pf-contacts { display: grid; gap: 10px; }
.pf-contact { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #edeff8; border-radius: 16px; background: #fff; }
.pf-contact.corp { background: #f4f5ff; border-color: #dcdffa; }
.pf-contact > div { flex: 1; min-width: 0; }
.pf-contact small, .pf-addr small { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: #8189a8; }
.pf-contact b, .pf-addr b { display: block; margin-top: 1px; font-size: 14.5px; font-weight: 800; color: #151b44; overflow-wrap: anywhere; }
.pf-cico { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 12px; }
.pf-cico svg { width: 17px; height: 17px; }
.pf-cico.corp { background: linear-gradient(145deg, #4a43d4, #7d71f2); color: #fff; }
.pf-cico.mail { background: #eeeaff; color: #5a4cd0; }
.pf-cico.phone { background: #e6f6ec; color: #1c8a4b; }
.pf-cico.addr { background: #fbefdd; color: #c47a22; }
.pf-sys { padding: 1px 8px; border: 1px solid #d8dbf7; border-radius: 999px; background: #fff; color: #3a44a3; font-size: 10.5px; font-style: normal; font-weight: 700; }
.pf-copy { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border: 1px solid #e3e6f5; border-radius: 10px; background: #fff; color: #4a52b4; cursor: pointer; transition: background .15s, transform .15s; }
.pf-copy svg { width: 15px; height: 15px; }
.pf-copy:hover { background: #f4f5ff; transform: translateY(-1px); }
.pf-copy.done { background: #e6f6ec; border-color: #b9e3cc; color: #1c8a4b; }
.pf-map { position: relative; height: 120px; margin-top: 14px; border-radius: 16px 16px 0 0; overflow: hidden; }
.pf-map svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; }
.pf-map-pin { position: absolute; left: 46%; top: 42%; width: 30px; height: 30px; margin: -15px 0 0 -15px; color: #d98a2e; }
.pf-map-pin svg { width: 28px; height: 28px; fill: #d98a2e; stroke: #fff; stroke-width: 1.5; filter: drop-shadow(0 5px 6px rgba(0,0,0,.25)); }
.pf-map-link { position: absolute; right: 10px; bottom: 10px; padding: 6px 12px; border-radius: 9px; background: #fff; box-shadow: 0 6px 14px rgba(51,58,130,.16); font-size: 11.5px; font-weight: 700; color: #3a44a3; text-decoration: none; }
.pf-addr { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid #edeff8; border-top: 0; border-radius: 0 0 16px 16px; background: #fff; }
.pf-addr > div { min-width: 0; }
.pf-note { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 12px; color: #8189a8; }
.pf-note svg { width: 14px; height: 14px; flex: 0 0 14px; }
@media (max-width: 1100px) { .pf { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .pf-grid, .pf-id3 { grid-template-columns: 1fr; } .pf-cell { border-right: 0 !important; border-bottom: 1px solid #edeff8 !important; } .pf-cell:last-child { border-bottom: 0 !important; } }

/* ===== Giriş səhifəsi: responsiv (planşet və telefon) ===== */
@media (max-width: 900px) {
  .auth-page { grid-template-columns: minmax(0, 1fr) !important; }
  .auth-form-wrap { order: -1; padding: 20px 16px !important; }
  .auth-form-wrap .login-v2-card, .auth-form-wrap > * { max-width: 520px; margin-left: auto; margin-right: auto; width: 100%; }
  .auth-visual-simple { padding: 32px 22px !important; min-height: 0 !important; }
  .auth-visual-simple .arches, .auth-visual-simple .auth-quote, .auth-visual-simple .login-v2-stats { display: none !important; }
  .auth-logo-block { margin-bottom: 18px !important; }
  .auth-logotype { margin-bottom: 14px; }
  .auth-logotype .baau { font-size: 38px !important; }
  .auth-simple-headline h1 { font-size: 24px !important; line-height: 1.25; }
  .auth-simple-headline p { font-size: 13.5px !important; }
}
@media (max-width: 480px) {
  .auth-form-wrap { padding: 14px 10px !important; }
  .login-v2-card { padding: 20px 16px !important; border-radius: 22px !important; }
  .login-v2-tabs { display: grid !important; grid-template-columns: 1fr 1fr; gap: 6px; }
  .login-v2-tab { min-width: 0; justify-content: center; }
  .login-v2-tab .lv2-tab-txt b { white-space: nowrap; font-size: 12.5px !important; }
  .login-v2-card h2, .login-v2-card h1 { font-size: 26px !important; line-height: 1.15; }
  .auth-visual-simple { padding: 24px 16px !important; }
  .auth-simple-headline h1 { font-size: 21px !important; }
  .auth-logo-block img { width: 46px !important; height: 46px !important; }
}

/* Kodla qeydiyyat təsdiqi */
.reg-approve { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 14px 0; padding: 14px 18px; border: 1px solid #e0e3f7; border-radius: 14px; background: #f4f5ff; font-size: 13px; color: #26305e; }
.reg-approve.ok { display: block; border-color: #b9e3cc; background: #f1fbf5; }
.reg-link { display: flex; gap: 10px; margin-top: 10px; }
.reg-link input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid #dfe3f3; border-radius: 10px; background: #fff; font: inherit; font-size: 12.5px; }

.reg-phones { margin-top: 10px; font-size: 12.5px; color: #26305e; }
.reg-phones.muted { color: #8189a8; }
.reg-phone { display: inline-flex; align-items: center; gap: 8px; margin: 4px 10px 0 0; padding: 4px 10px; border: 1px solid #dde1f7; border-radius: 999px; background: #fff; font-weight: 700; }
.reg-phone a { color: #1c8a4b; text-decoration: none; font-weight: 700; }

/* Qeydiyyat: doğum tarixi sahəsi digər sahələrlə eyni görünüş */
.login-v2-field-date input[type="date"] { color: #1b2142; }
.login-v2-field-date input[type="date"]:invalid { color: #aab0c8; font-weight: 500; }
.login-v2-field-date input[type="date"]::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.login-v2-hint { margin: 2px 2px 16px; font-size: 12.5px; line-height: 1.55; color: #6a7192; }

/* Qeydiyyat: doğum tarixi — gün / ay / il ayrı seçilir (siyahıdan və ya klaviaturada yazmaqla) */
.dob { margin-bottom: 14px; }
.dob-label { display: block; margin: 0 4px 6px; font-size: 11px; font-weight: 700; color: #8189a8; }
.dob-row { display: grid; grid-template-columns: 0.8fr 1.4fr 1fr; gap: 10px; }
.dob-sel { width: 100%; height: 50px; padding: 0 12px; border: 1px solid #e1e4f3; border-radius: 14px; background: #fff; font: inherit; font-size: 14px; font-weight: 650; color: #1b2142; outline: none; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.dob-sel:focus { border-color: #6a63f0; box-shadow: 0 0 0 3px rgba(106,99,240,.13); }
.dob-sel.dob-bad { border-color: #e4a0a8; }
@media (max-width: 480px) { .dob-sel { height: 46px; font-size: 13.5px; padding: 0 8px; } }

/* Hesablar: Bax paneli — işçi şəkli (kiçik, klikləyəndə böyüyür) */
[data-account-preview-avatar] { position: relative; overflow: hidden; }
[data-account-preview-avatar] img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
[data-account-preview-avatar].has-photo:hover { box-shadow: 0 0 0 3px rgba(106,99,240,.35); }
.acc-photo-hint { margin: 6px 0 0; text-align: center; font-size: 11px; color: #8189a8; }
.acc-photo-hint[hidden] { display: none; }

/* İşçi şəkli: reyestr "Bax" paneli və tam profil */
[data-preview-avatar] { position: relative; overflow: hidden; }
[data-preview-avatar] img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
[data-preview-avatar].has-photo:hover { box-shadow: 0 0 0 3px rgba(106,99,240,.35); }
.dt-avatar { position: relative; overflow: hidden; }
.dt-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.dt-photo { cursor: zoom-in; }

/* Siyahılarda kiçik avatar: şəkli olanlarda şəkil görünür */
.avatar-sm { position: relative; overflow: hidden; }
.avatar-sm img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* Məlumat alerti (şəxsi profil) */
.sys-alert { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 20px; background: rgba(15,19,52,.55); backdrop-filter: blur(5px); animation: sysFade .25s ease; }
.sys-alert[hidden] { display: none; }
.sys-alert.closing { opacity: 0; transition: opacity .2s; }
@keyframes sysFade { from { opacity: 0; } to { opacity: 1; } }
.sys-alert-box { position: relative; width: min(480px, 100%); padding: 34px 30px 26px; border-radius: 26px; background: #fff; text-align: center; box-shadow: 0 30px 70px rgba(15,19,52,.35); overflow: hidden; animation: sysPop .4s cubic-bezier(.2,1.1,.3,1); }
.sys-alert-box::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, #3b46b5, #7b4fd6); }
@keyframes sysPop { from { opacity: 0; transform: translateY(18px) scale(.94); } to { opacity: 1; transform: none; } }
.sys-alert-ico { position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin: 38px auto 16px; border-radius: 22px; background: linear-gradient(135deg, #3b46b5, #7b4fd6); color: #fff; box-shadow: 0 12px 26px rgba(91,63,196,.38); }
.sys-alert-ico svg { width: 32px; height: 32px; }
.sys-alert-ico::after { content: ""; position: absolute; inset: -6px; border-radius: 26px; border: 2px solid rgba(91,63,196,.35); animation: sysPulse 2.4s ease-out infinite; }
@keyframes sysPulse { 0% { transform: scale(.92); opacity: .9; } 100% { transform: scale(1.22); opacity: 0; } }
.sys-alert-box h3 { margin: 0 0 10px; font-size: 20px; font-weight: 800; color: #151b44; }
.sys-alert-box p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.7; color: #3d4570; }
.sys-alert-tag { display: inline-block; padding: 1px 10px; border-radius: 999px; background: #eceeff; font-weight: 700; color: #3b46b5; white-space: nowrap; }
.sys-alert-form { position: absolute; top: 14px; right: 14px; z-index: 1; padding: 4px 11px; border-radius: 999px; background: #eceeff; color: #3b46b5; font-size: 11px; font-weight: 800; letter-spacing: .02em; max-width: calc(100% - 28px); }
.sys-alert-box small { display: block; margin-bottom: 20px; font-size: 12.5px; color: #8089ad; }
.sys-alert-ok { width: 100%; padding: 13px 20px; border: 0; border-radius: 14px; background: linear-gradient(120deg, #3b46b5, #7b4fd6); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; box-shadow: 0 10px 22px rgba(91,63,196,.32); transition: transform .15s, box-shadow .2s; }
.sys-alert-ok:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(91,63,196,.42); }


/* Yeni təqvim sorğusu modalı */
.cq-box { width: min(700px, 100%); max-width: 700px; padding: 0; border-radius: 28px; overflow: hidden; background: #fff; }
.cq-form { display: flex; flex-direction: column; max-height: 92vh; text-align: left; }
.cq-head { position: relative; display: flex; align-items: center; gap: 14px; padding: 22px 26px 18px; border-bottom: 1px solid #eceef7; background: radial-gradient(120% 160% at 100% 0, #ece8ff 0%, #fff 55%); }
.cq-head-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, #3b46b5, #7b4fd6); color: #fff; box-shadow: 0 8px 18px rgba(91,63,196,.32); }
.cq-head-ico svg { width: 22px; height: 22px; }
.cq-head h3 { margin: 0; font-size: 19px; font-weight: 800; color: #151b44; }
.cq-head p { margin: 2px 0 0; font-size: 13px; color: #6a7192; }
.cq-close { margin-left: auto; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 11px; background: #f3f4fb; color: #6a7192; cursor: pointer; }
.cq-close svg { width: 17px; height: 17px; }
.cq-close:hover { background: #e7e9f7; color: #151b44; }
.cq-body { flex: 1; padding: 6px 26px 18px; overflow-y: auto; }
.cq-sec { padding-top: 18px; }
.cq-sec h4 { display: flex; align-items: center; gap: 9px; margin: 0 0 10px; font-size: 14px; font-weight: 700; color: #151b44; }
.cq-sec h4 i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: #eceeff; color: #3b46b5; font-style: normal; font-size: 12px; }
.cq-sec h4 b { color: #e0405a; }
.cq-kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cq-kind { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; border: 1.5px solid #e3e6f4; border-radius: 16px; background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.cq-kind:hover { border-color: #b9bff0; }
.cq-kind input { position: absolute; opacity: 0; pointer-events: none; }
.cq-kind-ico { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 13px; }
.cq-kind-ico svg { width: 22px; height: 22px; }
.cq-kind-ico.nw { background: #ffeaf0; color: #e0405a; }
.cq-kind-ico.inf { background: #eceeff; color: #3b46b5; }
.cq-kind-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cq-kind-t b { font-size: 14.5px; color: #151b44; }
.cq-kind-t small { font-size: 12.5px; color: #6a7192; }
.cq-kind-t em { align-self: flex-start; margin-top: 4px; padding: 2px 9px; border-radius: 999px; background: #eceeff; font-style: normal; font-size: 11.5px; color: #3b46b5; }
.cq-radio { margin-left: auto; width: 20px; height: 20px; flex: 0 0 20px; border: 2px solid #cfd3ea; border-radius: 50%; transition: all .2s; }
.cq-kind:has(input:checked) { border-color: #4a52d6; background: #f6f6ff; box-shadow: 0 0 0 4px rgba(74,82,214,.12); }
.cq-kind:has(input:checked) .cq-radio { border: 6px solid #4a52d6; }
.cq-seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: #f0f1fa; }
.cq-seg button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border: 0; border-radius: 11px; background: transparent; font-size: 13.5px; font-weight: 600; color: #6a7192; cursor: pointer; transition: all .2s; }
.cq-seg button svg { width: 16px; height: 16px; }
.cq-seg button.on { background: #fff; color: #151b44; box-shadow: 0 3px 10px rgba(21,27,68,.12); }
.cq-pick { position: relative; margin-top: 12px; }
.cq-pick[hidden], .cq-results[hidden] { display: none; }
.cq-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 52px; padding: 8px 12px; border: 1.5px solid #4a52d6; border-radius: 14px; background: #fff; box-shadow: 0 0 0 4px rgba(74,82,214,.1); cursor: text; }
.cq-chips input { flex: 1; min-width: 120px; border: 0; outline: 0; background: transparent; font-size: 14px; }
.cq-chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 8px 5px 5px; border-radius: 11px; background: #f1f2fb; }
.cq-chip i, .cq-results i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, #3b46b5, #7b4fd6); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; }
.cq-chip b { font-size: 13.5px; color: #151b44; }
.cq-chip small { font-size: 11.5px; color: #8a91b3; }
.cq-chip button { border: 0; background: transparent; color: #6a7192; font-size: 17px; line-height: 1; cursor: pointer; }
.cq-chip button:hover { color: #e0405a; }
.cq-results { position: absolute; z-index: 30; left: 0; right: 0; top: 100%; margin-top: 6px; max-height: 240px; overflow: auto; padding: 6px; border: 1px solid #e3e6f4; border-radius: 14px; background: #fff; box-shadow: 0 16px 34px rgba(21,27,68,.18); }
.cq-results button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 10px; background: transparent; text-align: left; cursor: pointer; }
.cq-results button:hover { background: #f1f2fb; }
.cq-results i { background: #e3f4ee; color: #1f8a6a; }
.cq-results span { font-size: 14px; color: #3d4570; }
.cq-results span b { color: #151b44; }
.cq-results small { margin-left: auto; font-size: 12px; color: #9aa1c0; }
.cq-results em { display: block; padding: 10px; font-style: normal; color: #6a7192; }
.cq-dates { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: stretch; }
.cq-date { position: relative; display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 52px; border: 1.5px solid #e3e6f4; border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .2s; }
.cq-date:hover { border-color: #b9bff0; }
.cq-date svg { width: 18px; height: 18px; color: #8a91b3; }
.cq-date-t { font-size: 15px; font-weight: 600; color: #151b44; }
.cq-date em { margin-left: auto; font-style: normal; font-size: 12.5px; color: #8a91b3; }
.cq-date input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.cq-days { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 96px; padding: 0 18px; border-radius: 14px; background: linear-gradient(135deg, #3b46b5, #6a4fd6); color: #fff; font-size: 14px; }
.cq-days b { font-size: 21px; }
.cq-days.bad { background: #e0405a; }
.cq-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.cq-quick button { padding: 5px 13px; border: 0; border-radius: 999px; background: #eceeff; color: #3b46b5; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: background .2s; }
.cq-quick button:hover { background: #dcdfff; }
.cq-note { position: relative; }
.cq-note textarea { width: 100%; min-height: 92px; padding: 14px 16px 30px; border: 1.5px solid #e3e6f4; border-radius: 14px; font: inherit; font-size: 14px; resize: none; outline: 0; transition: border-color .2s, box-shadow .2s; }
.cq-note textarea:focus { border-color: #4a52d6; box-shadow: 0 0 0 4px rgba(74,82,214,.1); }
.cq-note span { position: absolute; right: 14px; bottom: 9px; font-size: 12px; color: #9aa1c0; }
.cq-prev { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 14px; border: 1.5px dashed #cdbff5; border-radius: 18px; background: #faf8ff; }
.cq-prev-l { flex: 0 0 auto; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; color: #a79bd0; }
.cq-prev-card { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: 0 4px 14px rgba(21,27,68,.06); }
.cq-prev-date { display: grid; place-items: center; width: 52px; height: 52px; flex: 0 0 52px; border-radius: 13px; background: #eceeff; }
.cq-prev-date b { font-size: 21px; line-height: 1; color: #3b46b5; }
.cq-prev-date small { font-size: 10.5px; font-weight: 700; color: #3b46b5; }
.cq-prev-card > div:last-child { min-width: 0; }
.cq-prev-card > div:last-child b { display: block; font-size: 14.5px; color: #151b44; overflow-wrap: anywhere; }
.cq-prev-card > div:last-child small { font-size: 12.5px; color: #6a7192; }
.cq-foot { display: flex; align-items: center; gap: 12px; padding: 16px 26px; border-top: 1px solid #eceef7; background: #fff; }
.cq-sum { display: flex; flex-wrap: wrap; gap: 8px; margin-right: auto; }
.cq-sum span { padding: 4px 11px; border: 1px solid #e3e6f4; border-radius: 9px; background: #fafbff; font-size: 12.5px; font-weight: 600; color: #3d4570; }
.cq-cancel { padding: 12px 22px; border: 1.5px solid #e3e6f4; border-radius: 13px; background: #fff; font-size: 14px; font-weight: 600; color: #151b44; cursor: pointer; }
.cq-cancel:hover { background: #f6f7fd; }
.cq-send { display: inline-flex; align-items: center; gap: 9px; padding: 12px 24px; border: 0; border-radius: 13px; background: linear-gradient(120deg, #3b46b5, #7b4fd6); color: #fff; font-size: 14.5px; font-weight: 700; cursor: pointer; box-shadow: 0 10px 22px rgba(91,63,196,.32); transition: transform .15s, opacity .2s; }
.cq-send svg { width: 17px; height: 17px; }
.cq-send:hover:not(:disabled) { transform: translateY(-2px); }
.cq-send:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
@media (max-width: 640px) {
  .cq-kinds { grid-template-columns: 1fr; }
  .cq-dates { grid-template-columns: 1fr 1fr; }
  .cq-days { grid-column: 1 / -1; min-height: 46px; }
  .cq-foot { flex-wrap: wrap; }
  .cq-sum { width: 100%; }
  .cq-cancel, .cq-send { flex: 1; justify-content: center; }
  .cq-prev { flex-direction: column; align-items: stretch; }
}

.btn.btn-accent.cq-open { background: #ffffff; color: #6668af; border: 1px solid #d9dcf3; box-shadow: 0 2px 8px rgba(102,104,175,.12); }
.btn.btn-accent.cq-open:hover { background: #f4f5ff; color: #4a4d9c; border-color: #c4c8ee; }

.btn.btn-accent.cq-open { height: 32px; min-height: 0; padding: 0 12px; margin: 0; font-size: 13px; line-height: 1; }
.btn.btn-accent.cq-open svg { width: 15px; height: 15px; }

/* Dəyişiklik sorğuları: addımlar + uğur bildirişi */
.cr-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.cr-steps > svg { width: 16px; height: 16px; color: #b3b8d6; }
.cr-step { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 7px; border: 1px solid #e6e9f6; border-radius: 12px; background: #fff; font-size: 13.5px; font-weight: 600; color: #26305e; }
.cr-step i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; color: #fff; font-style: normal; font-size: 12px; font-weight: 700; }
.cr-step i.s1 { background: #4a52d6; } .cr-step i.s2 { background: #e8a13a; } .cr-step i.s3 { background: #3cab74; }
.cr-step-audit { margin-left: 6px; padding-left: 14px; color: #4a5278; }
.cr-step-audit svg { width: 16px; height: 16px; color: #6a7192; }
.cr-toast { position: relative; display: flex; align-items: center; gap: 16px; margin: 0 0 18px; padding: 14px 18px 16px 16px; border: 1px solid #cfeedd; border-left: 4px solid #3cab74; border-radius: 18px; background: linear-gradient(90deg, #eefbf3, #f8fffb); overflow: hidden; animation: peSlideDown .4s cubic-bezier(.22,.8,.3,1); transition: opacity .3s, transform .3s; }
.cr-toast.out { opacity: 0; transform: translateY(-8px); }
.cr-toast-ico { display: grid; place-items: center; width: 50px; height: 50px; flex: 0 0 50px; border-radius: 14px; background: linear-gradient(135deg, #3cab74, #5ac28d); color: #fff; box-shadow: 0 8px 18px rgba(60,171,116,.35); }
.cr-toast-ico svg { width: 24px; height: 24px; }
.cr-toast-t b { display: block; font-size: 16px; color: #151b44; }
.cr-toast-t small { font-size: 13px; color: #5f6a8e; }
.cr-toast-link { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; padding: 9px 16px; border: 1px solid #cfeedd; border-radius: 11px; background: #fff; font-size: 13.5px; font-weight: 600; color: #2a8a5a; text-decoration: none; }
.cr-toast-link svg { width: 15px; height: 15px; }
.cr-toast-link:hover { background: #f1fcf6; }
.cr-toast-x { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 10px; background: transparent; color: #6a7192; cursor: pointer; }
.cr-toast-x svg { width: 16px; height: 16px; }
.cr-toast-x:hover { background: rgba(60,171,116,.12); }
.cr-toast-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: #5ac28d; transform-origin: left; animation: crBar 7s linear forwards; }
@keyframes crBar { to { transform: scaleX(0); } }
@media (max-width: 700px) { .cr-toast { flex-wrap: wrap; } .cr-toast-link { margin-left: 0; } }

/* Şəkil böyütmə alt paneli */
.mp-lightbox-bar { padding: 14px 18px; }
.mp-lb-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mp-lb-av { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 14px; background: linear-gradient(135deg, #3b46b5, #7b4fd6); color: #fff; font-style: normal; font-size: 15px; font-weight: 700; }
.mp-lb-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mp-lb-txt b { font-size: 15px; font-weight: 800; color: #151b44; }
.mp-lb-txt small { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #6a7192; }
.mp-lb-txt small svg { width: 14px; height: 14px; }
.mp-lightbox-bar > span { align-items: center; }
.mp-lb-icon, .mp-lb-go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border: 1px solid #e3e6f4; border-radius: 12px; background: #fff; color: #151b44; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .2s; }
.mp-lb-icon { width: 44px; } .mp-lb-go { padding: 0 16px; }
.mp-lb-icon svg, .mp-lb-go svg { width: 18px; height: 18px; }
.mp-lb-icon:hover, .mp-lb-go:hover { background: #f4f5ff; }
.mp-lb-go[hidden] { display: none; }
.mp-lb-close { height: 44px; padding: 0 22px; border: 0; border-radius: 12px; background: #1c2252; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.mp-lb-close:hover { background: #262e6a; }
@media (max-width: 560px) { .mp-lightbox-bar { flex-wrap: wrap; } .mp-lightbox-bar > span { width: 100%; justify-content: flex-end; } }

/* Dəyişiklik sorğuları: düymələr "Yeni hesab" ölçüsündə */
.requests-directory .table-toolbar .btn.btn-white-pill {
  height: 36px !important; min-height: 36px; padding: 0 16px !important; border-radius: 14px !important; background: #fff !important; color: #3a41a1 !important;
  border: 1.5px solid #dfe3f7 !important; font-weight: 700 !important; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 6px 14px rgba(38,45,110,.18) !important; transition: background .15s, transform .15s; font-size: 13px;
}
.requests-directory .table-toolbar .btn.btn-white-pill:hover { background: #eef0ff !important; transform: translateY(-1px); }
.requests-directory .table-toolbar .btn.btn-white-pill svg { width: 15px; height: 15px; color: #3a41a1; }
.dv3-card-head.dv3-card-head-light.dv3-head-tight { padding: 8px 17px !important; }

/* Şəkil seçmə inputu: display:none əvəzinə vizual gizli (bəzi Xiaomi/MIUI brauzerlərində display:none input label ilə açılmır) */
.mp-file-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; opacity: 0; clip: rect(0 0 0 0); border: 0; }
.mp-photo-btn, .mp-lightbox-btn { cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* Şəkil kəsmə (3x4) */
.pc-overlay { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; padding: 16px; background: rgba(15,19,52,.65); backdrop-filter: blur(5px); }
.pc-overlay[hidden] { display: none; }
.pc-box { width: min(380px, 100%); padding: 22px 22px 18px; border-radius: 22px; background: #fff; text-align: center; box-shadow: 0 30px 70px rgba(15,19,52,.4); animation: sysPop .3s cubic-bezier(.2,1.1,.3,1); }
.pc-box h3 { margin: 0 0 4px; font-size: 18px; color: #151b44; }
.pc-box p { margin: 0 0 14px; font-size: 13px; color: #6a7192; }
.pc-frame { position: relative; width: 270px; height: 360px; margin: 0 auto 14px; overflow: hidden; border-radius: 12px; background: #151b44; cursor: grab; touch-action: none; user-select: none; }
.pc-frame:active { cursor: grabbing; }
.pc-frame img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; pointer-events: none; }
.pc-grid { position: absolute; inset: 0; pointer-events: none; border: 2px solid rgba(255,255,255,.85); border-radius: 12px; background: linear-gradient(rgba(255,255,255,.28) 1px, transparent 1px) 0 33.3%/100% 33.3%, linear-gradient(90deg, rgba(255,255,255,.28) 1px, transparent 1px) 33.3% 0/33.3% 100%; }
.pc-zoom { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 0 6px; color: #6a7192; font-weight: 700; }
.pc-zoom input { flex: 1; accent-color: #4a52d6; }
.pc-actions { display: flex; gap: 10px; }
.pc-cancel, .pc-ok { flex: 1; height: 44px; border-radius: 12px; font-size: 14px; font-weight: 700; cursor: pointer; }
.pc-cancel { border: 1.5px solid #e3e6f4; background: #fff; color: #151b44; }
.pc-ok { border: 0; background: linear-gradient(120deg, #3b46b5, #7b4fd6); color: #fff; box-shadow: 0 8px 18px rgba(91,63,196,.3); }

/* Hesabı düzəlt */
.ae-crumb { display: flex; gap: 8px; margin: 0 0 12px; font-size: 13px; color: #6a7192; }
.ae-crumb a { color: #6a7192; text-decoration: none; } .ae-crumb b { color: #151b44; }
.ae-head { display: flex; align-items: center; gap: 16px; margin: 0 0 22px; }
.ae-back { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #e3e6f4; border-radius: 14px; background: #fff; color: #151b44; }
.ae-back svg { width: 18px; height: 18px; }
.ae-avatar { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 18px; background: linear-gradient(135deg, #2fb59a, #7ad6bf); color: #fff; font-size: 22px; font-weight: 800; box-shadow: 0 10px 22px rgba(47,181,154,.3); }
.ae-head-t h1 { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0 0 8px; font-size: 26px; font-weight: 800; color: #151b44; }
.ae-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.ae-pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ae-pill.ok { background: #e6f6ec; color: #1c8a4b; } .ae-pill.warn { background: #fff3d6; color: #8a5a00; } .ae-pill.bad { background: #fde3e6; color: #b3303f; }
.ae-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ae-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid #e3e6f4; border-radius: 10px; background: #fff; font-size: 13px; color: #3d4570; }
.ae-chip svg { width: 14px; height: 14px; } .ae-chip b { color: #4a52d6; }
.ae-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: start; padding-bottom: 90px; }
.ae-main, .ae-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.ae-side { position: sticky; top: 16px; }
.ae-card { padding: 22px 24px; border: 1px solid #e9ecf7; border-radius: 22px; background: #fff; box-shadow: 0 6px 18px rgba(38,45,110,.05); }
.ae-card-h { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.ae-card-h h3 { margin: 0; font-size: 17px; font-weight: 800; color: #151b44; } .ae-card-h p { margin: 2px 0 0; font-size: 12.5px; color: #8089ad; }
.ae-ico { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 13px; background: #eceeff; color: #4a52d6; }
.ae-ico.green { background: #e3f4ee; color: #1f8a6a; } .ae-ico.red { background: #fde8ec; color: #d23b52; }
.ae-ico svg { width: 20px; height: 20px; }
.ae-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ae-f { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 600; color: #151b44; }
.ae-in { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 14px; border: 1.5px solid #e3e6f4; border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.ae-in:focus-within { border-color: #4a52d6; box-shadow: 0 0 0 4px rgba(74,82,214,.1); }
.ae-in.warn { border-color: #f1d28a; background: #fffbf0; }
.ae-in i { font-style: normal; color: #8a91b3; } .ae-in svg { width: 17px; height: 17px; color: #8a91b3; }
.ae-in input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 14.5px; font-weight: 500; color: #151b44; }
.ae-f small { font-size: 12px; font-weight: 500; color: #9aa1c0; } .ae-f small.warn { color: #a16a00; }
.ae-scopes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ae-scope { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1.5px solid #e3e6f4; border-radius: 16px; background: #fff; cursor: pointer; transition: all .2s; }
.ae-scope input { position: absolute; opacity: 0; pointer-events: none; }
.ae-scope:hover { border-color: #b9bff0; }
.ae-scope-ico { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 8px; border-radius: 12px; background: #f1f2fb; color: #6a7192; }
.ae-scope-ico.sm { width: 34px; height: 34px; margin: 0; } .ae-scope-ico svg { width: 19px; height: 19px; }
.ae-scope b { font-size: 14.5px; color: #151b44; } .ae-scope b em { margin-left: 6px; padding: 1px 7px; border-radius: 6px; background: #eef0f7; font-style: normal; font-size: 10px; font-weight: 700; color: #6a7192; }
.ae-scope small { font-size: 12.5px; color: #6a7192; }
.ae-radio { position: absolute; top: 14px; right: 14px; width: 20px; height: 20px; border: 2px solid #cfd3ea; border-radius: 50%; }
.ae-scope:has(input:checked) { border-color: #4a52d6; background: #f6f6ff; box-shadow: 0 0 0 4px rgba(74,82,214,.1); }
.ae-scope:has(input:checked) .ae-radio { border: 6px solid #4a52d6; }
.ae-scope:has(input:checked) .ae-scope-ico { background: #4a52d6; color: #fff; }
.ae-dept { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 12px 16px; border: 1.5px dashed #dfe3f3; border-radius: 14px; background: #fafbff; opacity: .75; }
.ae-dept.on { opacity: 1; border-style: solid; border-color: #4a52d6; background: #fff; }
.ae-dept > div { flex: 1; min-width: 0; } .ae-dept b { display: block; font-size: 13px; color: #151b44; }
.ae-dept select { width: 100%; padding: 2px 0; border: 0; outline: 0; background: transparent; font-size: 13.5px; color: #6a7192; }
.ae-lock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #8a91b3; } .ae-lock[hidden] { display: none; } .ae-lock svg { width: 14px; height: 14px; }
.ae-count { margin-left: auto; padding: 4px 12px; border-radius: 999px; background: #eceeff; font-size: 12px; font-weight: 700; color: #4a52d6; }
.ae-roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ae-role { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid #e9ecf7; border-radius: 16px; background: #fff; cursor: pointer; transition: all .2s; }
.ae-role input { position: absolute; opacity: 0; pointer-events: none; }
.ae-role > div { flex: 1; min-width: 0; } .ae-role b { font-size: 14px; color: #151b44; } .ae-role small { display: block; margin-top: 2px; font-size: 12.5px; color: #8089ad; }
.ae-role-ico { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; } .ae-role-ico svg { width: 19px; height: 19px; }
.ae-role-ico.t1 { background: #eceeff; color: #4a52d6; } .ae-role-ico.t2 { background: #ffe9ee; color: #d23b72; } .ae-role-ico.t3 { background: #e3f4ee; color: #1f8a6a; } .ae-role-ico.t4 { background: #fff1dc; color: #c4801a; } .ae-role-ico.t5 { background: #ffe9ec; color: #d23b52; }
.ae-full { margin-left: 6px; padding: 1px 8px; border-radius: 6px; background: #fde8ec; font-style: normal; font-size: 10.5px; font-weight: 700; color: #d23b52; }
.ae-toggle { position: relative; width: 42px; height: 24px; flex: 0 0 42px; border-radius: 999px; background: #d8dcee; transition: background .2s; }
.ae-toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.2); transition: transform .2s; }
.ae-role:has(input:checked) { border-color: #c4c9f2; background: #f7f7ff; }
.ae-role:has(input:checked) .ae-toggle { background: #4a52d6; } .ae-role:has(input:checked) .ae-toggle::after { transform: translateX(18px); }
.ae-sum-box { padding: 6px 16px; border-radius: 14px; background: #f3f2ff; }
.ae-sum-box > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; font-size: 13.5px; color: #6a7192; }
.ae-sum-box > div + div { border-top: 1px solid #e3e1fa; } .ae-sum-box b { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; color: #151b44; }
.ae-tag { padding: 2px 9px; border: 1px solid #dfe3f3; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 700; color: #3d4570; }
.ae-perms { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ae-perms li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.45; }
.ae-perms li svg { width: 15px; height: 15px; margin-top: 2px; flex: 0 0 15px; }
.ae-perms li.ok { color: #26305e; } .ae-perms li.ok svg { color: #2f9e62; } .ae-perms li.no { color: #9aa1c0; } .ae-perms li.no svg { color: #c4c9dd; }
.ae-danger { border-color: #f3dcd9; background: #fffaf9; }
.ae-danger .ae-card-h h3 { color: #b3303f; }
.ae-dz { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; }
.ae-dz + .ae-dz { border-top: 1px solid #f1e3e0; } .ae-dz b { display: block; font-size: 13.5px; color: #151b44; } .ae-dz small { font-size: 12px; color: #8089ad; }
.ae-dz-btn { flex: 0 0 auto; padding: 8px 16px; border: 1.5px solid #e3e6f4; border-radius: 10px; background: #fff; font-size: 13px; font-weight: 700; color: #151b44; cursor: pointer; }
.ae-dz-btn.bad { border-color: #f0b8bf; color: #c0314a; } .ae-dz-btn:hover { background: #f6f7fd; }
.ae-errors { color: #c0314a; font-size: 13px; }
.ae-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 14px 28px; border-top: 1px solid #e9ecf7; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); }
.ae-dirty { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; font-size: 13.5px; color: #151b44; } .ae-dirty[hidden] { display: none; }
.ae-dirty i { width: 9px; height: 9px; border-radius: 50%; background: #f0a93a; } .ae-dirty em { font-style: normal; color: #8089ad; }
.ae-cancel { display: inline-flex; align-items: center; height: 46px; padding: 0 22px; border: 1.5px solid #e3e6f4; border-radius: 13px; background: #fff; font-size: 14px; font-weight: 700; color: #151b44; text-decoration: none; }
.ae-save { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 26px; border: 0; border-radius: 13px; background: linear-gradient(120deg, #3b46b5, #7b4fd6); color: #fff; font-size: 14.5px; font-weight: 700; cursor: pointer; box-shadow: 0 10px 22px rgba(91,63,196,.3); }
.ae-save svg { width: 16px; height: 16px; }
@media (max-width: 1100px) { .ae-layout { grid-template-columns: 1fr; } .ae-side { position: static; } .ae-fields, .ae-scopes, .ae-roles { grid-template-columns: 1fr; } }

.auth-privacy-link { margin-left: 10px; padding-left: 10px; border-left: 1px solid currentColor; color: inherit; font-weight: 600; text-decoration: none; opacity: .9; }
.auth-privacy-link:hover { text-decoration: underline; opacity: 1; }

/* Əmək fəaliyyəti (işçi tam profili) */
.em-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.em-main, .em-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.em-card { padding: 20px 22px; border: 1px solid #e9ecf7; border-radius: 22px; background: #fff; box-shadow: 0 6px 18px rgba(38,45,110,.05); }
.em-card-h { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.em-card-h h3 { margin: 0; font-size: 16px; font-weight: 800; color: #151b44; } .em-card-h p { margin: 1px 0 0; font-size: 12px; color: #8089ad; }
.em-card-h > .em-pill, .em-card-h > .em-count { margin-left: auto; }
.em-ico { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; background: #eceeff; color: #4a52d6; }
.em-ico.amber { background: #fff1dc; color: #c4801a; } .em-ico.teal { background: #e3f4ee; color: #1f8a6a; }
.em-ico svg { width: 19px; height: 19px; } .em-ico.sm { width: 34px; height: 34px; flex-basis: 34px; border-radius: 10px; } .em-ico.big { width: 52px; height: 52px; flex-basis: 52px; border-radius: 15px; background: #f0f1fa; color: #8a91b3; }
.em-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.em-pill.ok { background: #e6f6ec; color: #1c8a4b; } .em-pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.em-count { padding: 3px 12px; border-radius: 999px; background: #eceeff; font-size: 12px; font-weight: 700; color: #4a52d6; }
.em-main-job { padding: 14px; border: 1px solid #dfe3f7; border-radius: 18px; background: linear-gradient(180deg, #f7f7ff, #f1f2ff); }
.em-job-top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.em-letter { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 13px; color: #fff; font-size: 17px; font-weight: 800; }
.em-job-t { flex: 1; min-width: 0; } .em-job-t small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .1em; color: #8a91b3; } .em-job-t b { display: block; font-size: 18px; color: #151b44; } .em-job-t span { font-size: 13px; color: #6a7192; }
.em-tag { padding: 4px 12px; border: 1px solid #c9ceef; border-radius: 9px; background: #fff; font-size: 12px; font-weight: 700; color: #3d44a8; } .em-tag.alt { background: #fff7e8; border-color: #f1d9a8; color: #a16a00; }
.em-mini-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.em-mini-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.em-mini { padding: 10px 12px; border: 1px solid #e9ecf7; border-radius: 12px; background: #fff; min-width: 0; }
.em-mini small { display: block; font-size: 11px; color: #9aa1c0; } .em-mini b { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 700; color: #151b44; overflow-wrap: anywhere; }
.em-arrow { color: #4a52d6; font-weight: 700; margin: 0 2px; }
.em-green { color: #1c8a4b !important; } .em-dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #2f9e62; }
.em-sub { display: flex; align-items: center; gap: 8px; margin: 18px 0 10px; font-size: 11px; font-weight: 700; letter-spacing: .1em; color: #8a91b3; }
.em-sub::after { content: ""; flex: 1; height: 1px; background: #e9ecf7; } .em-sub em { order: 2; padding: 0 7px; border-radius: 999px; background: #eef0f7; font-style: normal; color: #6a7192; } .em-sub span { order: 1; } .em-sub::after { order: 3; }
.em-add-empty, .em-add-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px dashed #dfe3f3; border-radius: 14px; background: #fafbff; }
.em-add-row { border-style: solid; border-color: #e9ecf7; background: #fff; margin-bottom: 8px; }
.em-add-empty > div, .em-add-row > div { flex: 1; min-width: 0; } .em-add-empty b, .em-add-row b { display: block; font-size: 13.5px; color: #151b44; } .em-add-empty small, .em-add-row small { font-size: 12px; color: #8089ad; }
.em-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1.5px solid #dfe3f7; border-radius: 11px; background: #fff; font-size: 12.5px; font-weight: 700; color: #3d44a8; text-decoration: none; cursor: pointer; white-space: nowrap; }
.em-btn:hover { background: #f4f5ff; }
.em-empty-sm { padding: 12px 14px; border-radius: 12px; background: #fafbff; font-size: 13px; color: #8089ad; }
.em-contract { display: flex; gap: 16px; align-items: flex-start; }
.em-contract + .em-contract { margin-top: 16px; padding-top: 16px; border-top: 1px solid #f0f1f8; }
.em-doc { position: relative; width: 84px; height: 100px; flex: 0 0 84px; border-radius: 10px; background: linear-gradient(160deg, #fff6e2, #f9e7bd); box-shadow: 0 8px 16px rgba(196,128,26,.18); padding: 16px 12px; display: flex; flex-direction: column; gap: 8px; }
.em-doc::before { content: ""; position: absolute; top: 0; right: 0; width: 22px; height: 22px; background: #fff; border-radius: 0 10px 0 10px; opacity: .8; }
.em-doc i { display: block; height: 6px; border-radius: 3px; background: rgba(196,128,26,.28); } .em-doc i:nth-child(2) { width: 80%; } .em-doc i:nth-child(3) { width: 60%; }
.em-contract-b { flex: 1; min-width: 0; } .em-contract-b > b { display: block; font-size: 16px; color: #151b44; } .em-contract-b > span { display: block; margin-bottom: 10px; font-size: 13px; color: #6a7192; }
.em-basis { display: block; margin-top: 8px; color: #8089ad; }
.em-timeline { position: relative; display: flex; flex-direction: column; gap: 12px; }
.em-timeline::before { content: ""; position: absolute; left: 20px; top: 20px; bottom: 20px; width: 2px; background: #e6e8f6; }
.em-tl { position: relative; display: flex; gap: 14px; align-items: flex-start; }
.em-tl .em-letter { width: 42px; height: 42px; flex-basis: 42px; z-index: 1; box-shadow: 0 0 0 4px #fff; }
.em-tl-card { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid #e9ecf7; border-radius: 14px; background: #fff; }
.em-tl-top { display: flex; align-items: center; gap: 10px; } .em-tl-top b { flex: 1; font-size: 14.5px; color: #151b44; }
.em-dur { padding: 2px 10px; border-radius: 999px; background: #eceeff; font-size: 11.5px; font-weight: 700; color: #4a52d6; white-space: nowrap; }
.em-tl-sub { display: block; margin: 2px 0 8px; font-size: 12.5px; color: #6a7192; }
.em-tl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; color: #3d4570; }
.em-chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 8px; background: #eef0f7; font-size: 11.5px; font-weight: 600; color: #6a7192; }
.em-chip.grow { background: #e6f6ec; color: #1c8a4b; } .em-chip svg { width: 12px; height: 12px; }
.em-stazh { margin-bottom: 14px; padding: 16px 18px; border-radius: 16px; color: #fff; background: linear-gradient(120deg, #3b46b5, #6a4fd6); box-shadow: 0 10px 22px rgba(91,63,196,.25); }
.em-stazh small { display: block; font-size: 12px; opacity: .85; } .em-stazh b { display: block; margin-top: 2px; font-size: 26px; font-weight: 800; }
.em-stazh-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; padding: 11px 14px; border: 1px solid #e9ecf7; border-radius: 12px; font-size: 13px; color: #3d4570; }
.em-stazh-row span { display: inline-flex; align-items: center; gap: 9px; } .em-stazh-row i { width: 8px; height: 8px; border-radius: 50%; } .em-stazh-row b { color: #151b44; }
.em-course-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px 16px; border: 1.5px dashed #dfe3f3; border-radius: 16px; background: #fafbff; text-align: center; }
.em-course-empty b { margin-top: 6px; font-size: 14px; color: #151b44; } .em-course-empty small { margin-bottom: 8px; font-size: 12.5px; color: #8089ad; }
.em-courses { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.em-course { display: inline-flex; align-items: center; gap: 8px; padding: 5px 6px 5px 12px; border-radius: 10px; background: #f1f2fb; font-size: 12.5px; font-weight: 600; color: #26305e; }
.em-course b { font-size: 10px; opacity: .7; } .em-course button { border: 0; background: none; cursor: pointer; font-size: 16px; line-height: 1; color: inherit; opacity: .7; }
.em-course-add { gap: 8px; margin-top: 10px; flex-wrap: wrap; } .em-course-add .input { height: 36px; font-size: 12.5px; min-width: 0; } .em-course-add .input:first-child { flex: 0 0 140px; } .em-course-add .input:nth-child(2) { flex: 1 1 140px; }
.em-info { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: #f4f5fb; font-size: 12px; color: #6a7192; }
.em-info svg { width: 15px; height: 15px; flex: 0 0 15px; margin-top: 1px; }
@media (max-width: 1100px) { .em-layout { grid-template-columns: 1fr; } .em-mini-grid, .em-mini-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .em-contract { flex-direction: column; } .em-add-empty { flex-wrap: wrap; } }

/* Ailə tabı (işçi tam profili) */
.fa-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.fa-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.fa-card { padding: 20px 22px; border: 1px solid #e9ecf7; border-radius: 22px; background: #fff; box-shadow: 0 6px 18px rgba(38,45,110,.05); }
.fa-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.fa-head h3 { margin: 0; font-size: 17px; font-weight: 800; color: #151b44; } .fa-head p { margin: 1px 0 0; font-size: 12.5px; color: #8089ad; }
.fa-ico { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 13px; background: #ffe9f0; color: #c6457a; } .fa-ico.blue { background: #eceeff; color: #4a52d6; } .fa-ico.amber { background: #fff1dc; color: #c4801a; }
.fa-ico svg { width: 20px; height: 20px; }
.fa-count { margin-left: auto; padding: 4px 14px; border-radius: 999px; background: #eceeff; font-size: 12.5px; font-weight: 700; color: #4a52d6; }
.fa-group { display: flex; align-items: center; gap: 8px; margin: 16px 0 10px; font-size: 11px; font-weight: 700; letter-spacing: .12em; color: #8a91b3; }
.fa-group em { padding: 0 8px; border-radius: 999px; background: #eef0f7; font-style: normal; color: #6a7192; }
.fa-group::after { content: ""; flex: 1; height: 1px; background: #e9ecf7; }
.fa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fa-member { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "av name date"; align-items: center; gap: 14px; padding: 16px 16px; border: 1px solid #e9ecf7; border-radius: 16px; background: #fff; transition: box-shadow .2s, transform .2s; }
.fa-member:hover { box-shadow: 0 10px 22px rgba(38,45,110,.08); transform: translateY(-1px); }
.fa-av { grid-area: av; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 17px; color: #fff; font-size: 19px; font-weight: 800; }
.fa-name { grid-area: name; min-width: 0; } .fa-name b { display: block; margin-bottom: 6px; font-size: 15.5px; color: #151b44; overflow-wrap: anywhere; }
.fa-rel { display: inline-block; padding: 3px 12px; border-radius: 8px; font-size: 12px; font-weight: 700; }
.fa-date { grid-area: date; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 14px; font-weight: 600; color: #26305e; white-space: nowrap; }
.fa-date span { display: inline-flex; align-items: center; gap: 6px; } .fa-date svg { width: 14px; height: 14px; color: #9aa1c0; }
.fa-date em { padding: 2px 10px; border-radius: 8px; background: #eef0f7; font-style: normal; font-size: 12.5px; font-weight: 600; color: #6a7192; }
.fa-nodate { color: #9aa1c0 !important; font-weight: 500 !important; font-size: 12.5px; }
.fa-bday { position: absolute; top: -11px; right: 16px; padding: 2px 10px; border: 1px solid #f1d28a; border-radius: 999px; background: #fff7e0; font-size: 11.5px; font-weight: 700; color: #a16a00; }
.fa-bar { display: flex; gap: 6px; margin-bottom: 14px; } .fa-bar i { height: 9px; border-radius: 999px; }
.fa-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; padding: 11px 14px; border: 1px solid #e9ecf7; border-radius: 12px; font-size: 13.5px; color: #3d4570; }
.fa-row span { display: inline-flex; align-items: center; gap: 10px; } .fa-row i { width: 11px; height: 11px; border-radius: 4px; } .fa-row b { color: #151b44; } .fa-row.zero { color: #9aa1c0; } .fa-row.zero b { color: #9aa1c0; font-weight: 500; }
.fa-up { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; padding: 14px; border: 1px solid #f1e3b8; border-radius: 16px; background: linear-gradient(180deg, #fffaee, #fff6e0); }
.fa-tile { display: grid; place-items: center; width: 54px; height: 62px; flex: 0 0 54px; border: 1px solid #f1e3b8; border-radius: 12px; background: #fff; line-height: 1.1; }
.fa-tile b { font-size: 21px; color: #151b44; } .fa-tile small { font-size: 11px; font-weight: 800; color: #5a4a8a; }
.fa-up-t { flex: 1; min-width: 0; } .fa-up-t b { display: block; font-size: 14.5px; color: #151b44; overflow-wrap: anywhere; } .fa-up-t span { display: block; margin-top: 3px; font-size: 12.5px; color: #8a6a28; }
.fa-days { padding: 4px 12px; border-radius: 999px; background: #fdeab8; font-size: 12.5px; font-weight: 800; color: #8a5a00; white-space: nowrap; }
.fa-empty, .fa-empty-sm { padding: 16px; border-radius: 14px; background: #fafbff; color: #8089ad; font-size: 13.5px; }
@media (max-width: 1100px) { .fa-layout { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .fa-grid { grid-template-columns: 1fr; } .fa-member { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "av name" "date date"; } .fa-date { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; } }
/* Ailə kartı: ad/nişan ilə tarix üst-üstə düşməsin — yer çatmayanda tarix aşağı düşür */
.fa-member { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.fa-member .fa-av { flex: 0 0 58px; }
.fa-member .fa-name { flex: 1 1 150px; min-width: 0; }
.fa-member .fa-date { flex: 0 0 auto; margin-left: auto; align-items: flex-end; }
.fa-member .fa-rel { max-width: 100%; white-space: normal; }
.fa-member .fa-bday { z-index: 1; }
@media (max-width: 700px) { .fa-member .fa-date { flex-direction: row; width: 100%; justify-content: space-between; } }

/* Təhsil tabı (işçi tam profili) */
.te-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
.te-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.te-card { padding: 22px 24px; border: 1px solid #e9ecf7; border-radius: 22px; background: #fff; box-shadow: 0 6px 18px rgba(38,45,110,.05); }
.te-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.te-head h3 { margin: 0; font-size: 17px; font-weight: 800; color: #151b44; } .te-head p { margin: 1px 0 0; font-size: 12.5px; color: #8089ad; }
.te-ico { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 13px; background: #eceeff; color: #4a52d6; } .te-ico.green { background: #e2f6f0; color: #1f9e85; } .te-ico svg { width: 20px; height: 20px; }
.te-count { margin-left: auto; padding: 4px 14px; border-radius: 999px; background: #eceeff; font-size: 12.5px; font-weight: 700; color: #4a52d6; }
.te-steps { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 14px 18px; border: 1px solid #e9ecf7; border-radius: 16px; background: #fafbff; }
.te-step { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; color: #9aa1c0; white-space: nowrap; }
.te-step i { display: grid; place-items: center; width: 26px; height: 26px; border: 2px solid #d5d9ec; border-radius: 50%; background: #fff; color: #fff; } .te-step i svg { width: 13px; height: 13px; }
.te-step.done { color: #151b44; font-weight: 700; } .te-step.done i { border-color: #4a52d6; background: #4a52d6; }
.te-line { flex: 1; min-width: 20px; height: 2px; border-radius: 2px; background: #e2e5f3; } .te-line.done { background: linear-gradient(90deg, #4a52d6, #8b93f0); }
.te-item { margin-bottom: 14px; overflow: hidden; border: 1px solid #e3e6f6; border-radius: 18px; background: linear-gradient(135deg, #f7f7ff, #fff); }
.te-top { display: flex; align-items: center; gap: 18px; padding: 20px 22px; }
.te-logo { display: grid; place-items: center; width: 80px; height: 80px; flex: 0 0 80px; border-radius: 22px; background: #1c2252; color: #fff; font-size: 22px; font-weight: 800; box-shadow: 0 10px 20px rgba(28,34,82,.25); }
.te-main { flex: 1; min-width: 0; } .te-main h4 { margin: 8px 0 3px; font-size: 21px; font-weight: 800; color: #151b44; overflow-wrap: anywhere; } .te-main p { margin: 0; font-size: 14.5px; color: #6a7192; }
.te-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.te-tag { padding: 3px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; } .te-tag.solid { background: #4a52d6; color: #fff; } .te-tag.soft { background: #eceeff; color: #4a52d6; } .te-tag.line { border: 1px solid #dfe3f3; background: #fff; color: #3d4570; }
.te-year { padding: 10px 22px; border: 1px solid #e9ecf7; border-radius: 16px; background: #fff; text-align: center; } .te-year small { display: block; font-size: 12px; color: #8089ad; } .te-year b { font-size: 28px; font-weight: 800; color: #151b44; }
.te-doc { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 16px 22px; border-top: 1px dashed #dfe3f3; background: #fff; }
.te-doc-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fdf1dc; color: #c4801a; } .te-doc-ico svg { width: 22px; height: 22px; }
.te-f small { display: block; font-size: 12px; color: #8089ad; } .te-f b { font-size: 15.5px; font-weight: 700; color: #151b44; } .te-f b.mono { letter-spacing: .04em; }
.te-btn { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 11px 20px; border-radius: 12px; background: #1c2252; color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; } .te-btn:hover { background: #2a3270; color: #fff; } .te-btn svg { width: 16px; height: 16px; }
.te-empty { padding: 16px; border-radius: 14px; background: #fafbff; color: #8089ad; font-size: 13.5px; }
.te-hero { margin-bottom: 12px; padding: 18px 22px; border-radius: 18px; background: linear-gradient(135deg, #3f9a8d, #78d0bd); color: #fff; }
.te-hero small { display: block; font-size: 13px; opacity: .85; } .te-hero b { display: block; margin: 4px 0; font-size: 32px; font-weight: 800; } .te-hero span { font-size: 14px; opacity: .9; }
.te-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; padding: 13px 16px; border: 1px solid #e9ecf7; border-radius: 12px; font-size: 14px; color: #6a7192; }
.te-row b { font-weight: 700; color: #151b44; } .te-row b.ok { color: #1f8a5b; } .te-row b.no { color: #c0504d; } .te-row em { margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: #eef0f7; font-style: normal; font-size: 12px; font-weight: 600; color: #6a7192; }
.te-sci { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; padding: 14px; border: 1px dashed #dfe3f3; border-radius: 14px; }
.te-sci-ico { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; background: #eceeff; color: #4a52d6; } .te-sci-ico svg { width: 18px; height: 18px; }
.te-sci.none .te-sci-ico { background: #f1f2f8; color: #a3a9c6; }
.te-sci > div { flex: 1; min-width: 0; } .te-sci b { display: block; font-size: 14px; color: #151b44; } .te-sci small { font-size: 12.5px; color: #8089ad; overflow-wrap: anywhere; }
.te-sci-link { font-size: 13px; font-weight: 700; color: #4a52d6; text-decoration: none; } .te-dash { color: #c3c8de; }
@media (max-width: 1100px) { .te-layout { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .te-top { flex-wrap: wrap; } .te-steps { overflow-x: auto; } .te-btn { margin-left: 0; } }

/* Sənədlər tabı + sənəd baxışı (işçi tam profili) */
.dk-card { padding: 22px 24px; border: 1px solid #e9ecf7; border-radius: 22px; background: #fff; box-shadow: 0 6px 18px rgba(38,45,110,.05); }
.dk-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.dk-head h3 { margin: 0; font-size: 17px; font-weight: 800; color: #151b44; } .dk-head p { margin: 1px 0 0; font-size: 12.5px; color: #8089ad; }
.dk-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: #eceeff; color: #4a52d6; } .dk-ico svg { width: 20px; height: 20px; }
.dk-search { display: flex; align-items: center; gap: 8px; margin-left: auto; min-width: 260px; padding: 0 14px; border: 1px solid #e3e6f6; border-radius: 12px; background: #fff; color: #9aa1c0; }
.dk-search svg { width: 16px; height: 16px; } .dk-search input { flex: 1; height: 40px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; color: #151b44; }
.dk-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.dk-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid #e3e6f6; border-radius: 999px; background: #fff; font: inherit; font-size: 14px; font-weight: 700; color: #6a7192; cursor: pointer; }
.dk-chip i { padding: 1px 8px; border-radius: 999px; background: #eef0f7; font-style: normal; font-size: 12px; color: #6a7192; }
.dk-chip.active { border-color: #1c2252; background: #1c2252; color: #fff; } .dk-chip.active i { background: rgba(255,255,255,.2); color: #fff; }
.dk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.dk-doc { overflow: hidden; border: 1px solid #e3e6f6; border-radius: 18px; background: #fff; cursor: pointer; transition: box-shadow .2s, transform .2s; } .dk-doc:hover { box-shadow: 0 12px 26px rgba(38,45,110,.1); transform: translateY(-2px); }
.dk-thumb { position: relative; display: grid; place-items: center; height: 190px; background: #f0f1fb; }
.dk-badge { position: absolute; top: 12px; left: 12px; padding: 2px 10px; border-radius: 8px; background: #fff; font-size: 11px; font-weight: 800; color: #b03a3a; }
.dk-paper { display: grid; place-items: center; width: 62%; height: 78%; overflow: hidden; border: 3px solid #fff; border-radius: 6px; background: #fffdf6; box-shadow: 0 8px 20px rgba(38,45,110,.15); color: #c9b27a; } .dk-paper svg { width: 38px; height: 38px; } .dk-paper img { width: 100%; height: 100%; object-fit: cover; }
.dk-body { padding: 16px 18px 18px; }
.dk-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .dk-line b { font-size: 17px; font-weight: 800; color: #151b44; }
.dk-cat { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: #eceeff; font-size: 12.5px; font-weight: 700; color: #4a52d6; white-space: nowrap; } .dk-cat svg { width: 14px; height: 14px; }
.dk-body > small { display: block; margin: 4px 0 10px; font-size: 14px; color: #6a7192; overflow-wrap: anywhere; }
.dk-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; } .dk-meta span { padding: 4px 12px; border-radius: 999px; background: #f3f4fb; font-size: 12.5px; color: #8089ad; } .dk-meta b { color: #151b44; }
.dk-act { display: flex; gap: 10px; }
.dk-view { display: inline-flex; flex: 1; align-items: center; justify-content: center; gap: 8px; height: 46px; border: 0; border-radius: 12px; background: #1c2252; color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; } .dk-view:hover { background: #2a3270; } .dk-view svg { width: 17px; height: 17px; }
.dk-dl { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #e3e6f6; border-radius: 12px; color: #1c2252; } .dk-dl svg { width: 18px; height: 18px; }
.dk-up { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 300px; border: 1.5px dashed #d5d9ec; border-radius: 18px; background: #fafbff; text-align: center; }
.dk-up span { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 8px; border: 1px solid #e3e6f6; border-radius: 18px; background: #fff; color: #4a52d6; } .dk-up svg { width: 24px; height: 24px; } .dk-up b { font-size: 16px; color: #4a52d6; } .dk-up small { font-size: 13px; color: #8089ad; }
.dkm { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 24px; background: rgba(28,34,82,.45); backdrop-filter: blur(4px); } .dkm[hidden] { display: none; }
.dkm-box { display: flex; flex-direction: column; width: min(1100px, 100%); height: min(640px, 92vh); overflow: hidden; border-radius: 26px; background: #fff; box-shadow: 0 30px 70px rgba(18,22,60,.35); }
.dkm-top { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid #eef0f8; }
.dkm-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: #eceeff; color: #4a52d6; } .dkm-ico svg { width: 20px; height: 20px; }
.dkm-t { flex: 1; min-width: 0; } .dkm-t b { display: block; font-size: 18px; font-weight: 800; color: #151b44; } .dkm-t small { font-size: 13px; color: #8089ad; }
.dkm-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 1px solid #e3e6f6; border-radius: 12px; background: #fff; font: inherit; font-size: 14px; font-weight: 700; color: #151b44; text-decoration: none; cursor: pointer; } .dkm-btn:hover { background: #f5f6fc; color: #151b44; } .dkm-btn svg { width: 16px; height: 16px; } .dkm-btn.sq { width: 42px; padding: 0; justify-content: center; background: #f1f2f8; border-color: #f1f2f8; }
.dkm-main { display: flex; flex: 1; min-height: 0; }
.dkm-view { position: relative; flex: 1; min-width: 0; background: #eef0f8; }
.dkm-stage { height: 100%; overflow: auto; display: flex; padding: 24px; } .dkm-img { width: 100%; max-width: none; height: auto; margin: auto; border-radius: 6px; box-shadow: 0 10px 28px rgba(38,45,110,.18); }
.dkm-frame { width: 100%; height: 100%; border: 0; border-radius: 8px; background: #fff; } .dkm-load { margin: auto; color: #8089ad; font-size: 14px; }
.dkm-zoom { position: absolute; left: 50%; bottom: 16px; display: flex; align-items: center; gap: 14px; padding: 6px 14px; border-radius: 999px; background: #fff; box-shadow: 0 6px 18px rgba(38,45,110,.18); transform: translateX(-50%); font-size: 14px; font-weight: 700; color: #151b44; }
.dkm-zoom button { width: 24px; height: 24px; border: 0; background: none; font-size: 18px; font-weight: 700; color: #4a52d6; cursor: pointer; }
.dkm-info { width: 320px; flex: 0 0 320px; padding: 22px; overflow-y: auto; background: #fff; }
.dkm-info h6 { margin: 0 0 12px; font-size: 11px; font-weight: 700; letter-spacing: .12em; color: #8a91b3; }
.dkm-r { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid #eef0f8; font-size: 14px; } .dkm-r span { color: #8089ad; } .dkm-r b { text-align: right; color: #151b44; overflow-wrap: anywhere; }
.dkm-r em { padding: 3px 12px; border-radius: 999px; background: #eceeff; font-style: normal; font-size: 12.5px; color: #4a52d6; }
.dkm-goto { display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 18px; padding: 13px 16px; border: 0; border-radius: 12px; background: #eceeff; font: inherit; font-size: 14px; font-weight: 700; color: #4a52d6; text-align: left; cursor: pointer; } .dkm-goto svg { width: 16px; height: 16px; }
@media (max-width: 800px) { .dkm-box { height: 94vh; } .dkm-main { flex-direction: column; } .dkm-info { width: auto; flex: 0 0 auto; max-height: 38%; } .dkm-btn:not(.sq) { font-size: 0; gap: 0; padding: 0; width: 42px; justify-content: center; } .dk-search { min-width: 0; width: 100%; margin-left: 0; } }

/* Əlavə iş yerləri modalı (işçi reyestri) */
.rd-box { width: min(940px, 94vw); max-width: none !important; padding: 0 !important; overflow: hidden; border-radius: 26px; }
.rd-head { display: flex; align-items: center; gap: 16px; padding: 26px 32px 22px; border-bottom: 1px solid #eef0f8; }
.rd-av { display: grid; place-items: center; width: 54px; height: 54px; flex: 0 0 54px; border-radius: 17px; background: linear-gradient(135deg, #4a52d6, #7b6be8); color: #fff; font-size: 18px; font-weight: 800; box-shadow: 0 10px 20px rgba(74,82,214,.3); }
.rd-title { flex: 1; min-width: 0; } .rd-title small { display: flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8a91b3; }
.rd-title small i { padding: 2px 10px; border-radius: 999px; background: #eceeff; font-style: normal; font-size: 13px; letter-spacing: 0; color: #4a52d6; } .rd-title b { display: block; margin-top: 2px; font-size: 20px; font-weight: 800; color: #151b44; overflow-wrap: anywhere; }
.rd-x { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 14px; background: #f1f2f8; color: #3d4570; cursor: pointer; } .rd-x svg { width: 18px; height: 18px; }
.rd-body { padding: 24px 32px 20px; max-height: 60vh; overflow-y: auto; }
.rd-list { display: flex; flex-direction: column; gap: 14px; }
.rd-item { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border: 1px solid #e9ecf7; border-radius: 18px; background: #fff; }
.rd-n { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; background: #f1f2f8; font-size: 14px; font-weight: 700; color: #6a7192; }
.rd-ico { display: grid; place-items: center; width: 58px; height: 58px; flex: 0 0 58px; border-radius: 17px; background: #eeedff; color: #6a5be0; } .rd-ico.green { background: #e2f6f0; color: #1f9e85; } .rd-ico svg { width: 24px; height: 24px; }
.rd-main { flex: 1; min-width: 0; } .rd-main b { display: block; font-size: 16px; font-weight: 800; color: #151b44; } .rd-main p { margin: 2px 0 8px; font-size: 13px; color: #6a7192; overflow-wrap: anywhere; }
.rd-tags { display: flex; flex-wrap: wrap; gap: 8px; } .rd-tag { padding: 5px 14px; border: 1px solid #e3e6f6; border-radius: 10px; background: #f7f8fd; font-size: 12.5px; color: #6a7192; } .rd-tag b { color: #151b44; } .rd-tag.left { border-color: #f3c9c9; background: #fdeeee; color: #b03a3a; font-weight: 700; }
.rd-unit { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 110px; } .rd-unit small { font-size: 13px; color: #8089ad; }
.rd-ring { --p: 50; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: conic-gradient(#7b6be8 calc(var(--p) * 1%), #ebecf7 0); position: relative; }
.rd-ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #fff; } .rd-ring b { position: relative; font-size: 19px; font-weight: 800; color: #151b44; }
.rd-chip { padding: 8px 14px; border-radius: 12px; background: #fdf0d8; font-size: 14px; font-weight: 800; color: #8a5a00; white-space: nowrap; } .rd-dash { color: #c3c8de; }
.rd-note { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 14px 18px; border: 1px solid #e3e6f6; border-radius: 14px; background: #f6f6ff; font-size: 14.5px; color: #3d4570; } .rd-note svg { width: 18px; height: 18px; flex: 0 0 18px; color: #6a72e0; } .rd-note b { color: #4a52d6; }
.rd-foot { display: flex; align-items: center; gap: 12px; padding: 20px 32px; border-top: 1px solid #eef0f8; }
.rd-btn { display: inline-flex; align-items: center; gap: 9px; height: 52px; padding: 0 22px; border: 1px solid #e3e6f6; border-radius: 14px; background: #fff; font: inherit; font-size: 16px; font-weight: 700; color: #151b44; text-decoration: none; cursor: pointer; } .rd-btn:hover { background: #f5f6fc; color: #151b44; } .rd-btn svg { width: 18px; height: 18px; }
.rd-btn.dark { margin-left: auto; border-color: #1c2252; background: #1c2252; color: #fff; } .rd-btn.dark:hover { background: #2a3270; color: #fff; }
@media (max-width: 700px) { .rd-main b { font-size: 15px; } .rd-head, .rd-body, .rd-foot { padding-left: 18px; padding-right: 18px; } .rd-item { flex-wrap: wrap; } .rd-n { display: none; } .rd-foot { flex-wrap: wrap; } .rd-btn { height: 46px; font-size: 14.5px; } .rd-title b { font-size: 18px; } }

/* Əmək kitabçası modalı (işçi reyestri) */
.bk-box { width: min(1000px, 94vw); }
.bk-body { max-height: 66vh; }
.bk-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.bk-stat { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid #e9ecf7; border-radius: 16px; background: #fff; } .bk-stat.warn { border-color: #f3dfae; background: #fffaf0; }
.bk-stat small { display: block; font-size: 12px; color: #8089ad; } .bk-stat b { font-size: 22px; font-weight: 800; color: #151b44; line-height: 1.1; }
.bk-stat em { display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 999px; background: #fdeab8; font-style: normal; font-size: 11.5px; font-weight: 700; color: #8a5a00; vertical-align: middle; } .bk-stat em.g { background: #dff5e8; color: #1f8a5b; }
.bk-sico { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; background: #eceeff; color: #4a52d6; } .bk-sico.amber { background: #fdf0d8; color: #c4801a; } .bk-sico.teal { background: #e2f6f0; color: #1f9e85; } .bk-sico svg { width: 18px; height: 18px; }
.bk-sec { display: flex; align-items: center; gap: 10px; margin: 6px 0 12px; } .bk-sec b { font-size: 16px; font-weight: 800; color: #151b44; } .bk-sec i { padding: 1px 9px; border-radius: 999px; background: #eef0f7; font-style: normal; font-size: 12px; font-weight: 700; color: #6a7192; }
.bk-sec .bk-sico { width: 34px; height: 34px; flex-basis: 34px; border-radius: 10px; } .bk-link { margin-left: auto; font-size: 13px; font-weight: 700; color: #4a52d6; text-decoration: none; }
.bk-job { margin-bottom: 20px; overflow: hidden; border: 1px solid #e3e6f6; border-radius: 18px; background: #fff; }
.bk-jtop { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: linear-gradient(135deg, #f7f7ff, #fff); }
.bk-logo { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 48px; border-radius: 14px; background: #1c2252; color: #fff; font-size: 18px; font-weight: 800; }
.bk-jt { flex: 1; min-width: 0; } .bk-jt b { display: block; font-size: 16px; font-weight: 800; color: #151b44; overflow-wrap: anywhere; } .bk-jt p { margin: 2px 0 0; font-size: 13px; color: #6a7192; }
.bk-live { display: inline-flex; align-items: center; gap: 7px; padding: 5px 13px; border-radius: 999px; background: #e3f6ea; font-size: 12.5px; font-weight: 700; color: #1f8a5b; white-space: nowrap; } .bk-live i { width: 8px; height: 8px; border-radius: 50%; background: #2dbd6e; }
.bk-done { padding: 5px 13px; border-radius: 999px; background: #eef0f7; font-size: 12.5px; font-weight: 700; color: #6a7192; }
.bk-cells { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #eef0f8; } .bk-c { padding: 12px 18px; border-right: 1px solid #eef0f8; } .bk-c:last-child { border-right: 0; }
.bk-c small { display: block; font-size: 12px; color: #8089ad; } .bk-c b { font-size: 15px; font-weight: 700; color: #151b44; } .bk-c b.bk-empty { font-weight: 500; color: #b3b8d0; }
.bk-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 18px; border-top: 1px solid #eef0f8; font-size: 13.5px; color: #3d4570; }
.bk-foot > span { display: inline-flex; align-items: center; gap: 8px; } .bk-foot svg { width: 16px; height: 16px; flex: 0 0 16px; } .bk-foot em { font-style: normal; color: #6a7192; }
.bk-foot.ok { background: #f3fbf6; color: #1f8a5b; } .bk-foot.ok b { color: #151b44; } .bk-foot.warn { background: #fffaf0; color: #8a5a00; } .bk-foot.warn b { color: #8a5a00; }
.bk-fr { display: inline-flex; align-items: center; gap: 10px; } .bk-fr a { font-weight: 700; color: #1f8a5b; text-decoration: none; }
.bk-un { width: 22px; height: 22px; border: 0; border-radius: 6px; background: transparent; font-size: 16px; color: #9aa1c0; cursor: pointer; } .bk-un:hover { background: #fdeeee; color: #b03a3a; }
.bk-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: 1px solid #e3e6f6; border-radius: 10px; background: #fff; font: inherit; font-size: 13px; font-weight: 700; color: #4a52d6; text-decoration: none; cursor: pointer; } .bk-btn svg { width: 14px; height: 14px; }
.bk-fr a.bk-btn.amber, .bk-btn.amber { border-color: #f0a93a; background: #f0a93a; color: #fff; } .bk-btn.line { white-space: nowrap; }
.bk-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.bk-ord, .bk-lv { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; padding: 12px 14px; border: 1px solid #e9ecf7; border-radius: 14px; background: #fff; }
.bk-no { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px; background: #fdf0d8; font-size: 12px; font-weight: 800; color: #c4801a; }
.bk-ot { flex: 1; min-width: 0; } .bk-ot b, .bk-lt b { display: block; font-size: 14.5px; font-weight: 700; color: #151b44; } .bk-ot small, .bk-lt small { font-size: 12.5px; color: #8089ad; }
.bk-pills { display: inline-flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.bk-pill, .bk-ord .bv-st { padding: 3px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; } .bk-pill.teal { background: #e2f6f0; color: #1f8a5b; } .bk-pill.gray { background: #eef0f7; color: #6a7192; } .bk-pill.amber { background: #fdf0d8; color: #8a5a00; } .bk-pill.green { background: #e3f6ea; color: #1f8a5b; }
.bk-eye { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border: 1px solid #e3e6f6; border-radius: 10px; color: #4a52d6; } .bk-eye svg { width: 16px; height: 16px; }
.bk-tile { display: grid; place-items: center; width: 44px; height: 48px; flex: 0 0 44px; border-radius: 12px; background: #fdf0d8; line-height: 1.1; } .bk-tile b { font-size: 17px; color: #151b44; } .bk-tile small { font-size: 10.5px; font-weight: 700; color: #8a5a00; }
.bk-lt { flex: 1; min-width: 0; } .bk-ld { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; } .bk-ld b { font-size: 13.5px; color: #3d4570; }
.bk-none { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid #e9ecf7; border-radius: 14px; background: #fafbff; } .bk-none > svg { width: 38px; height: 38px; padding: 9px; flex: 0 0 38px; border-radius: 11px; background: #f1f2f8; color: #a3a9c6; }
.bk-none > div { flex: 1; min-width: 0; } .bk-none b { display: block; font-size: 14.5px; color: #3d4570; } .bk-none small { font-size: 12.5px; color: #8089ad; }
@media (max-width: 800px) { .bk-stats, .bk-two { grid-template-columns: 1fr; } .bk-cells { grid-template-columns: repeat(2, 1fr); } .bk-c:nth-child(2) { border-right: 0; } }

.rd-main p { margin: 2px 0 0; }
.rd-ctr { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 0 18px; margin-right: 4px; border-right: 1px solid #eef0f8; }
.rd-ctr small { font-size: 12.5px; color: #8089ad; } .rd-ctr b { padding: 6px 12px; border: 1px solid #e3e6f6; border-radius: 10px; background: #f7f8fd; font-size: 13px; font-weight: 700; color: #151b44; white-space: nowrap; }
.rd-tags { margin-top: 8px; }
@media (max-width: 700px) { .rd-ctr { padding: 0; border-right: 0; } }

/* Əlavə əmək haqqı modalı (Semestr xülasəsi) */
.sx-box { width: min(1080px, 95vw); }
.sx-hico { display: grid; place-items: center; width: 52px; height: 52px; flex: 0 0 52px; border-radius: 16px; background: linear-gradient(135deg, #2fa882, #62c29f); color: #fff; box-shadow: 0 8px 18px rgba(47,168,130,.3); } .sx-hico svg { width: 22px; height: 22px; }
.sx-year { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border: 1px solid #e3e6f6; border-radius: 14px; background: #fff; color: #6a7192; font-size: 13px; } .sx-year svg { width: 16px; height: 16px; }
.sx-year input { width: 92px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; font-weight: 800; color: #151b44; }
.sx-body { max-height: 66vh; }
.sx-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.sx-ic { display: flex; gap: 12px; padding: 14px 16px; border: 1px solid #e9ecf7; border-radius: 16px; background: #fafbff; } .sx-ic.blue { background: #f3f4ff; border-color: #dfe3fb; } .sx-ic.green { background: #f1faf5; border-color: #cfeadb; }
.sx-ic i { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 9px; background: #fff; font-style: normal; font-size: 13px; font-weight: 800; color: #4a52d6; box-shadow: 0 2px 6px rgba(38,45,110,.08); } .sx-ic.green i { color: #1f8a5b; } .sx-ic i svg { width: 14px; height: 14px; }
.sx-ic b { display: block; font-size: 13.5px; color: #151b44; } .sx-ic p { margin: 3px 0 0; font-size: 12.5px; line-height: 1.4; color: #6a7192; }
.sx-form { margin-bottom: 20px; padding: 16px 18px 18px; border: 1.5px dashed #d5d9ec; border-radius: 18px; background: #fbfbff; }
.sx-form-h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; } .sx-form-h span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #4a52d6; color: #fff; } .sx-form-h svg { width: 14px; height: 14px; } .sx-form-h b { font-size: 15px; color: #151b44; }
.sx-fields { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.sx-f { position: relative; flex: 0 0 140px; } .sx-f-emp { flex: 1 1 280px; } .sx-f label { display: block; margin-bottom: 6px; font-size: 12.5px; font-weight: 600; color: #6a7192; }
.sx-in { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 14px; border: 1px solid #e3e6f6; border-radius: 12px; background: #fff; } .sx-in:focus-within { border-color: #4a52d6; box-shadow: 0 0 0 3px rgba(74,82,214,.12); }
.sx-in input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; color: #151b44; } .sx-in em { font-style: normal; font-size: 12px; font-weight: 700; color: #8a91b3; white-space: nowrap; }
.sx-pav { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 9px; color: #fff; font-size: 11px; font-weight: 800; } .sx-pav[hidden] { display: none; }
.sx-add { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border: 0; border-radius: 12px; background: #1c2252; color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; } .sx-add svg { width: 15px; height: 15px; } .sx-add:hover { background: #2a3270; }
.sx-cancel { height: 48px; padding: 0 16px; border: 1px solid #e3e6f6; border-radius: 12px; background: #fff; font: inherit; font-size: 14px; font-weight: 700; color: #6a7192; cursor: pointer; } .sx-cancel[hidden] { display: none; }
.sx-listbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; } .sx-listbar > b { font-size: 16px; color: #151b44; }
.sx-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: #f1f2f8; } .sx-tabs button { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border: 0; border-radius: 9px; background: transparent; font: inherit; font-size: 13px; font-weight: 600; color: #6a7192; cursor: pointer; }
.sx-tabs button i { padding: 0 7px; border-radius: 999px; background: #e3e6f3; font-style: normal; font-size: 11.5px; } .sx-tabs button.active { background: #fff; color: #151b44; font-weight: 800; box-shadow: 0 2px 8px rgba(38,45,110,.1); }
.sx-search { display: flex; align-items: center; gap: 8px; width: 240px; margin-left: auto; padding: 0 14px; border: 1px solid #e3e6f6; border-radius: 12px; background: #fff; color: #9aa1c0; } .sx-search svg { width: 15px; height: 15px; } .sx-search input { flex: 1; height: 42px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; color: #151b44; }
.sx-table-wrap { overflow-x: auto; border: 1px solid #e9ecf7; border-radius: 16px; }
.sx-table { width: 100%; border-collapse: collapse; }
.sx-table th { padding: 13px 14px; background: #fafbff !important; text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .1em; color: #8a91b3 !important; border-bottom: 1px solid #eef0f8; }
.sx-table td { padding: 14px; border-bottom: 1px solid #eef0f8; vertical-align: middle; font-size: 14px; color: #3d4570; } .sx-table tr:last-child td { border-bottom: 0; }
.sx-c { width: 44px; text-align: center; } .sx-c input { width: 17px; height: 17px; accent-color: #4a52d6; }
.sx-who { display: flex; align-items: center; gap: 12px; } .sx-who b { display: block; font-size: 14.5px; color: #151b44; } .sx-who small, .sx-n small, .sx-st small { display: block; font-size: 12px; color: #9aa1c0; font-weight: 500; }
.sx-who .sx-pav { width: 38px; height: 38px; flex-basis: 38px; font-size: 13px; border-radius: 11px; }
.sx-n { font-weight: 800; color: #151b44; font-size: 15px; } .sx-n.tot { font-size: 16px; }
.sx-dim td { opacity: .72; }
.sx-pill { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; } .sx-pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sx-pill.amber { background: #fdf0d8; color: #9a6a00; } .sx-pill.green { background: #e3f6ea; color: #1f8a5b; } .sx-pill.gray { background: #eef0f7; color: #6a7192; } .sx-pill.red { background: #fdeeee; color: #b03a3a; }
.sx-act { white-space: nowrap; text-align: right; }
.sx-ab { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-left: 6px; border: 1px solid #e3e6f6; border-radius: 10px; background: #fff; color: #6a7192; cursor: pointer; } .sx-ab svg { width: 15px; height: 15px; }
.sx-ab.ok { border-color: #bfe5cf; background: #f1faf5; color: #1f8a5b; } .sx-ab.del:hover { border-color: #f3c9c9; background: #fdeeee; color: #b03a3a; }
.sx-renew { padding: 7px 16px; border: 1px solid #e3e6f6; border-radius: 10px; background: #fff; font: inherit; font-size: 13px; font-weight: 700; color: #4a52d6; cursor: pointer; }
.sx-empty { padding: 28px !important; text-align: center; color: #9aa1c0 !important; }
.sx-sum { font-size: 14px; color: #6a7192; } .sx-sum b { color: #151b44; } .sx-sum em { font-style: normal; margin: 0 4px; }
.rd-btn.green { border-color: #3f9a6b; background: linear-gradient(135deg, #3f9a6b, #5bb386); color: #fff; } .rd-btn.green:hover { color: #fff; filter: brightness(1.05); } .rd-btn.green:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 900px) { .sx-info { grid-template-columns: 1fr; } .sx-search { width: 100%; margin-left: 0; } .sx-year span { display: none; } }

/* Əmək kitabçası modalı (toplu redaktə) */
.bk2-box { width: min(1060px, 95vw); }
.bk2-code { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: #eceeff; font-style: normal; font-size: 13px; font-weight: 700; color: #6a7192; vertical-align: middle; } .bk2-code:empty { display: none; }
.bk2-total { padding: 10px 22px; border-radius: 16px; background: linear-gradient(135deg, #3d45c9, #6a5be0); color: #fff; box-shadow: 0 10px 20px rgba(74,82,214,.28); } .bk2-total span { display: flex; align-items: center; gap: 7px; font-size: 12.5px; opacity: .9; } .bk2-total svg { width: 14px; height: 14px; } .bk2-total b { font-size: 20px; font-weight: 800; white-space: nowrap; }
.bk2-body { max-height: 68vh; }
.bk2-sync { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 11px 16px; border: 1px solid #dfe3fb; border-radius: 12px; background: #f3f4ff; font-size: 13.5px; color: #3d4570; } .bk2-sync svg { width: 16px; height: 16px; flex: 0 0 16px; color: #4a52d6; } .bk2-sync b { color: #4a52d6; }
.bk2-form { margin-bottom: 22px; padding: 16px 18px; border: 1.5px dashed #d5d9ec; border-radius: 18px; background: #fbfbff; }
.bk2-form-h { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; } .bk2-form-h span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #4a52d6; color: #fff; } .bk2-form-h svg { width: 14px; height: 14px; } .bk2-form-h b { font-size: 15px; color: #151b44; } .bk2-form-h small { font-size: 12.5px; color: #8089ad; }
.bk2-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 14px; }
.bk2-f { display: block; min-width: 0; } .bk2-f.span2 { grid-column: span 2; } .bk2-f > span { display: block; margin-bottom: 6px; font-size: 12.5px; font-weight: 600; color: #6a7192; } .bk2-f > span i { font-style: normal; color: #d23b4a; } .bk2-f .bbk-hint { font-style: normal; font-weight: 500; color: #9aa1c0; }
.bk2-in { width: 100%; height: 46px; padding: 0 14px; border: 1px solid #e3e6f6; border-radius: 12px; background: #fff; font: inherit; font-size: 14.5px; color: #151b44; outline: 0; } .bk2-in:focus { border-color: #4a52d6; box-shadow: 0 0 0 3px rgba(74,82,214,.12); } .bk2-in:disabled { background: #f5f6fb; color: #a3a9c6; }
.bk2-sw-wrap { display: flex; align-items: flex-end; padding-bottom: 12px; }
.bk2-sw { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; } .bk2-sw input { position: absolute; opacity: 0; pointer-events: none; }
.bk2-sw i { position: relative; width: 38px; height: 22px; border-radius: 999px; background: #d9dcee; transition: background .2s; } .bk2-sw i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.bk2-sw input:checked + i { background: #4a52d6; } .bk2-sw input:checked + i::after { transform: translateX(16px); } .bk2-sw input:disabled + i { opacity: .5; } .bk2-sw b { font-size: 14px; font-weight: 700; color: #151b44; }
.bk2-fbtns { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }
.bk2-btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border: 1px solid #e3e6f6; border-radius: 12px; background: #fff; font: inherit; font-size: 14.5px; font-weight: 700; color: #151b44; cursor: pointer; } .bk2-btn svg { width: 14px; height: 14px; } .bk2-btn.dark { border-color: #1c2252; background: #1c2252; color: #fff; } .bk2-btn.dark:hover { background: #2a3270; }
.bk2-sec { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; } .bk2-sec b { font-size: 16px; font-weight: 800; color: #151b44; } .bk2-sec i { padding: 1px 9px; border-radius: 999px; background: #eef0f7; font-style: normal; font-size: 12px; font-weight: 700; color: #6a7192; }
.bk2-list { display: flex; flex-direction: column; }
.bk2-item { position: relative; display: flex; align-items: flex-start; gap: 14px; padding-bottom: 12px; }
.bk2-item::before { content: ""; position: absolute; left: 19px; top: 44px; bottom: -4px; width: 2px; background: #e2e5f3; } .bk2-list > .bk2-item:last-child::before { display: none; }
.bk2-logo { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .02em; } .bk2-logo.baau { background: #1c2252; font-size: 15px; } .bk2-logo.ext { background: linear-gradient(135deg, #3f9a8d, #78d0bd); }
.bk2-card { flex: 1; min-width: 0; overflow: hidden; border: 1px solid #e3e6f6; border-radius: 16px; background: #fff; } .bk2-item.editing .bk2-card { border-color: #4a52d6; box-shadow: 0 0 0 3px rgba(74,82,214,.12); } .bk2-item.removed .bk2-card { opacity: .55; background: #fdf6f6; }
.bk2-top { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.bk2-t { flex: 1; min-width: 0; } .bk2-t b { display: block; font-size: 16px; font-weight: 800; color: #151b44; overflow-wrap: anywhere; } .bk2-t span { font-size: 13px; color: #6a7192; overflow-wrap: anywhere; }
.bk2-pill { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; border-radius: 999px; background: #eef0f7; font-size: 12.5px; font-weight: 700; color: #6a7192; white-space: nowrap; } .bk2-pill.live { background: #e3f6ea; color: #1f8a5b; } .bk2-pill i { width: 7px; height: 7px; border-radius: 50%; background: #2dbd6e; }
.bk2-tag { padding: 3px 10px; border-radius: 8px; font-size: 11.5px; font-weight: 700; } .bk2-tag.new { background: #e3f6ea; color: #1f8a5b; } .bk2-tag.chg { background: #fdf0d8; color: #8a5a00; } .bk2-tag.del { background: #fdeeee; color: #b03a3a; }
.bk2-staj { text-align: right; white-space: nowrap; } .bk2-staj b { display: block; font-size: 15px; font-weight: 800; color: #4a52d6; } .bk2-staj small { font-size: 12px; color: #8089ad; }
.bk2-acts { display: inline-flex; align-items: center; gap: 8px; }
.bk2-ib { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid #e3e6f6; border-radius: 10px; background: #fff; color: #6a7192; cursor: pointer; text-decoration: none; } .bk2-ib svg { width: 16px; height: 16px; } .bk2-ib:hover { background: #f5f6fc; color: #151b44; }
.bk2-ib.amber { border-color: #f1d9a3; background: #fff8e8; color: #c4801a; } .bk2-ib.del { border-color: #f3c9c9; color: #b03a3a; } .bk2-ib.del:hover { background: #fdeeee; }
.bk2-sep { width: 1px; height: 24px; background: #e3e6f6; }
.bk2-cells { display: grid; grid-template-columns: 1.2fr 1fr .6fr 1.2fr 1.4fr; border-top: 1px solid #eef0f8; } .bk2-c { padding: 11px 16px; border-right: 1px solid #eef0f8; min-width: 0; } .bk2-c:last-child { border-right: 0; }
.bk2-c small { display: block; font-size: 11.5px; color: #8089ad; } .bk2-c b { font-size: 14px; font-weight: 700; color: #151b44; overflow-wrap: anywhere; } .bk2-c b.bk2-empty { font-weight: 500; color: #b3b8d0; }
.bk2-gap { display: flex; margin: -2px 0 12px 54px; } .bk2-gap span { display: inline-flex; align-items: center; gap: 7px; padding: 5px 14px; border: 1px solid #f1d9a3; border-radius: 10px; background: #fff8e8; font-size: 12.5px; font-weight: 600; color: #8a5a00; } .bk2-gap svg { width: 14px; height: 14px; }
.bk2-note { display: flex; align-items: center; gap: 10px; margin: 6px 0 0 54px; padding: 12px 16px; border: 1px solid #e3e6f6; border-radius: 12px; background: #f6f6ff; font-size: 13.5px; color: #3d4570; } .bk2-note svg { width: 16px; height: 16px; flex: 0 0 16px; color: #6a72e0; } .bk2-note b { color: #151b44; } .bk2-note em { font-style: normal; color: #8089ad; } .bk2-note[hidden] { display: none; }
.bk2-none { padding: 22px; border: 1px solid #e9ecf7; border-radius: 14px; background: #fafbff; text-align: center; color: #8089ad; font-size: 14px; }
@media (max-width: 800px) { .bk2-grid { grid-template-columns: 1fr 1fr; } .bk2-f.span2 { grid-column: span 2; } .bk2-cells { grid-template-columns: 1fr 1fr; } .bk2-top { flex-wrap: wrap; } .bk2-total b { font-size: 16px; } }
.bk2-f > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk2-f .bbk-hint { font-size: 11.5px; }

.bk2-cells { grid-template-columns: 1.2fr 1fr .5fr 1.1fr 1.3fr 1.1fr; }
.bk2-c.bk2-sj b { color: #4a52d6; font-weight: 800; white-space: nowrap; }
@media (max-width: 800px) { .bk2-cells { grid-template-columns: 1fr 1fr; } }

/* İşçiləri toplu düzəlt — yuxarı hissə */
.be2-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.be2-title { display: flex; align-items: flex-start; gap: 16px; }
.be2-ico { display: grid; place-items: center; width: 56px; height: 56px; flex: 0 0 56px; border-radius: 18px; background: #eeedff; color: #4a52d6; } .be2-ico svg { width: 24px; height: 24px; }
.be2-title h2 { margin: 0; font-size: 26px; font-weight: 800; color: #151b44; } .be2-title p { margin: 2px 0 8px; font-size: 14px; color: #6a7192; }
.be2-auto { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border: 1px solid #cfeadb; border-radius: 999px; background: #f1faf5; font-size: 13px; color: #1f8a5b; } .be2-auto i { width: 8px; height: 8px; border-radius: 50%; background: #2dbd6e; } .be2-auto b { font-weight: 700; } .be2-auto em { font-style: normal; color: #5d7f6c; } .be2-auto em:empty { display: none; }
.be2-hbtns { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.be2-btn { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 20px; border: 1px solid #e3e6f6; border-radius: 14px; background: #fff; font: inherit; font-size: 15px; font-weight: 700; color: #151b44; text-decoration: none; cursor: pointer; } .be2-btn:hover { background: #f5f6fc; color: #151b44; } .be2-btn svg { width: 17px; height: 17px; } .be2-btn:disabled { opacity: .5; cursor: not-allowed; } .be2-btn.sq { width: 46px; padding: 0; justify-content: center; }
.be2-btn kbd, .be2-search kbd { padding: 1px 7px; border-radius: 6px; background: #eef0f7; font: inherit; font-size: 11.5px; font-weight: 600; color: #6a7192; }
.be2-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 14px; }
.be2-stat { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid #e9ecf7; border-radius: 18px; background: #fff; } .be2-stat.on { border-color: #f1b6b6; background: #fff7f7; box-shadow: 0 0 0 2px rgba(210,59,74,.08); }
.be2-stat > div { flex: 1; min-width: 0; } .be2-stat small { display: block; font-size: 13px; color: #8089ad; } .be2-stat b { font-size: 28px; font-weight: 800; color: #151b44; line-height: 1.1; } .be2-stat.on b { color: #b03a3a; }
.be2-stat > button { border: 0; background: transparent; font: inherit; font-size: 13.5px; font-weight: 700; color: #4a52d6; cursor: pointer; white-space: nowrap; } .be2-stat > button.red { color: #b03a3a; } .be2-stat > button.active { text-decoration: underline; }
.be2-si { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 14px; background: #eceeff; color: #4a52d6; } .be2-si.amber { background: #fdf0d8; color: #c4801a; } .be2-si.red { background: #fdeeee; color: #b03a3a; } .be2-si.blue { background: #eceeff; color: #4a52d6; } .be2-si.gray { background: #f1f2f8; color: #8a91b3; } .be2-si svg { width: 20px; height: 20px; }
.be2-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; padding: 12px 14px; border: 1px solid #e9ecf7; border-radius: 18px; background: #fff; }
.be2-search { display: flex; align-items: center; gap: 10px; width: 340px; height: 46px; padding: 0 14px; border: 1px solid #e3e6f6; border-radius: 12px; background: #fff; color: #9aa1c0; } .be2-search svg { width: 17px; height: 17px; } .be2-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; color: #151b44; }
.be2-sel { position: relative; } .be2-sel select { appearance: none; height: 46px; min-width: 170px; padding: 0 38px 0 16px; border: 1px solid #e3e6f6; border-radius: 12px; background: #fff; font: inherit; font-size: 15px; font-weight: 600; color: #151b44; } .be2-sel svg { position: absolute; right: 12px; top: 50%; width: 15px; height: 15px; margin-top: -7px; color: #8a91b3; pointer-events: none; }
.be2-vsep { width: 1px; height: 30px; background: #e3e6f6; }
.be2-chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid #e3e6f6; border-radius: 999px; background: #fff; font: inherit; font-size: 14px; font-weight: 700; color: #3d4570; cursor: pointer; } .be2-chip i { width: 8px; height: 8px; border-radius: 50%; background: #9aa1c0; } .be2-chip em { padding: 0 8px; border-radius: 999px; background: #eef0f7; font-style: normal; font-size: 12px; }
.be2-chip.amber i { background: #e0a03a; } .be2-chip.red i { background: #d23b4a; } .be2-chip.gray i { background: #8a91b3; }
.be2-chip.active.amber { border-color: #f0d48e; background: #fff7e4; } .be2-chip.active.red { border-color: #f1b6b6; background: #fff1f1; } .be2-chip.active.gray { border-color: #cfd3e8; background: #f1f2f8; }
.be2-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.be2-colwrap { position: relative; } .be2-colmenu { position: absolute; right: 0; top: 52px; z-index: 50; width: 270px; max-height: 360px; overflow-y: auto; padding: 8px; border: 1px solid #e3e6f6; border-radius: 14px; background: #fff; box-shadow: 0 16px 36px rgba(38,45,110,.18); } .be2-colmenu[hidden] { display: none; }
.be2-colitem { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 13.5px; color: #3d4570; cursor: pointer; } .be2-colitem:hover { background: #f5f6fc; } .be2-colitem input { accent-color: #4a52d6; }
.be2-colreset { width: 100%; margin-top: 6px; padding: 9px; border: 0; border-radius: 8px; background: #f1f2f8; font: inherit; font-size: 13px; font-weight: 700; color: #4a52d6; cursor: pointer; }
.be2-sel-bar { position: sticky; top: 8px; z-index: 30; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; padding: 12px 16px; border-radius: 16px; background: #1c2252; color: #fff; box-shadow: 0 12px 26px rgba(28,34,82,.3); } .be2-sel-bar[hidden] { display: none; }
.be2-selall { position: relative; display: inline-grid; place-items: center; width: 28px; height: 28px; cursor: pointer; } .be2-selall input { position: absolute; opacity: 0; } .be2-selall i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #fff; color: #1c2252; } .be2-selall i svg { width: 16px; height: 16px; }
.be2-sel-bar b { font-size: 16px; margin-right: 6px; }
.be2-sbtn { height: 40px; padding: 0 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 12px; background: rgba(255,255,255,.08); font: inherit; font-size: 14.5px; font-weight: 700; color: #fff; cursor: pointer; } .be2-sbtn:hover { background: rgba(255,255,255,.16); }
.be2-sclear { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; border: 0; background: transparent; font: inherit; font-size: 14px; color: #c9cdee; cursor: pointer; } .be2-sclear svg { width: 14px; height: 14px; }
.be2-unitmenu { position: fixed; z-index: 3000; min-width: 140px; padding: 6px; border: 1px solid #e3e6f6; border-radius: 12px; background: #fff; box-shadow: 0 16px 36px rgba(38,45,110,.22); } .be2-unitmenu[hidden] { display: none; }
.be2-chk { width: 40px; text-align: center; } .be2-chk input { width: 17px; height: 17px; accent-color: #4a52d6; } tr.be-sel td { background: #f5f6ff; }
.be2-jbox { width: min(820px, 94vw); } .be2-jlist { display: flex; flex-direction: column; gap: 10px; }
.be2-jrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border: 1px solid #e9ecf7; border-radius: 14px; }
.be2-jt b { display: block; font-size: 14.5px; color: #151b44; } .be2-jt small { font-size: 12.5px; color: #8089ad; }
.be2-jf { text-align: right; min-width: 0; } .be2-jf span { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8a91b3; } .be2-jf div { font-size: 14px; color: #3d4570; overflow-wrap: anywhere; } .be2-jf i { font-style: normal; color: #4a52d6; margin: 0 4px; } .be2-jempty { color: #b3b8d0; font-style: italic; }
.be2-jnone { padding: 24px; text-align: center; color: #8089ad; } .be2-jinfo { font-size: 13px; color: #8089ad; }
@media (max-width: 1100px) { .be2-stats { grid-template-columns: repeat(2, 1fr); } .be2-search { width: 100%; } .be2-right { margin-left: 0; } }

.be2-tips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.be2-tip { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border: 1px solid #e9ecf7; border-radius: 16px; background: #fff; }
.be2-tip > span { display: grid; place-items: center; width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%; background: #c6457a; font-size: 12.5px; font-weight: 800; color: #fff; } .be2-tip > span.gray { background: #9aa1c0; }
.be2-tip b { display: block; font-size: 15px; color: #151b44; } .be2-tip p { margin: 3px 0 0; font-size: 13.5px; line-height: 1.45; color: #6a7192; }
@media (max-width: 1100px) { .be2-tips { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 600px) { .be2-tips { grid-template-columns: 1fr; } }

/* Toplu düzəliş — cədvəl hissəsi */
.be2-th { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px !important; }
.be2-leg { display: flex; gap: 10px; flex-wrap: wrap; }
.be2-grid { min-width: 1180px !important; width: 100%; border-collapse: separate; border-spacing: 0; }
.be2-grid thead th { padding: 14px 10px; background: #fafbff !important; text-align: left; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8a91b3 !important; border-bottom: 1px solid #eef0f8; vertical-align: middle; }
.be2-grid thead th small { display: block; margin-top: 1px; font-size: 10px; font-weight: 600; letter-spacing: .08em; color: #a8aec9; }
.be2-grid td { padding: 10px 10px; vertical-align: middle !important; border-bottom: 1px solid #f0f1f8; position: relative; background: #fff; }
.be2-grid tbody tr:last-child td { border-bottom: 0; }
.be2-grid td:first-child, .be2-grid th:first-child { padding-left: 18px; }
.be2-chk { width: 46px; }
.be2-who { display: flex; align-items: center; gap: 12px; min-width: 210px; } .be2-who b { display: block; font-size: 15px; font-weight: 800; color: #151b44; } .be2-who small { font-size: 12.5px; color: #8a91b3; }
.be2-av { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 13px; color: #fff; font-size: 14px; font-weight: 800; }
/* xanalar mətn kimi: çərçivə yalnız hover/fokus/redaktədə */
.be2-grid .bulk-in, .be2-grid .bulk-sel, .be2-grid .bk-pick { width: 100%; height: 44px; padding: 0 12px; border: 1px solid transparent !important; border-radius: 12px; background: transparent !important; font: inherit; font-size: 14.5px; color: #151b44; box-shadow: none; }
.be2-grid .bulk-in:hover, .be2-grid .bulk-sel:hover, .be2-grid .bk-pick:hover { border-color: #e3e6f6 !important; background: #fff !important; }
.be2-grid .bulk-in:focus, .be2-grid .bulk-sel:focus, .be2-grid .bk-pick:focus { border-color: #4a52d6 !important; background: #fff !important; box-shadow: 0 0 0 3px rgba(74,82,214,.12); outline: 0; }
.be2-grid .bk-pick.empty, .be2-grid .bulk-sel option[value=""] { color: #a3a9c6; }
.be2-grid .bulk-in.be-changed, .be2-grid .bk-pick.be-changed, .be2-grid .bulk-sel.be-changed { border-color: #f0c23a !important; background: #fff7df !important; }
.be2-grid .bulk-in.be-err, .be2-grid .bulk-sel.be-err, .be2-grid .bk-pick.be-err { border-color: #d23b4a !important; background: #fff !important; box-shadow: 0 0 0 3px rgba(210,59,74,.1); }
.be2-grid .bulk-in[type="date"] { min-width: 150px; }
.be2-errtip { position: absolute; left: 10px; top: calc(100% - 6px); z-index: 6; padding: 7px 14px; border-radius: 10px; background: #c8323f; font-size: 13px; font-weight: 700; color: #fff; white-space: nowrap; box-shadow: 0 8px 18px rgba(200,50,63,.3); }
/* sətir sol zolağı */
.be2-grid tr.be2-rchg td:first-child { box-shadow: inset 4px 0 0 #f0c23a; background: #fffcf2; } .be2-grid tr.be2-rchg td { background: #fffcf2; }
.be2-grid tr.be2-rerr td:first-child { box-shadow: inset 4px 0 0 #d23b4a; background: #fff6f6; } .be2-grid tr.be2-rerr td { background: #fff6f6; }
.be2-grid tr.be-left td { background: #f7f8fc !important; opacity: .85; } .be2-grid tr.be-left td:first-child { box-shadow: inset 4px 0 0 #c9cde0; } .be2-grid tr.be-left .be2-who b { color: #7a8098; }
.be2-grid tr.be-sel td { background: #f5f6ff !important; }
/* status pill */
.be2-spill { display: inline-block; position: relative; padding-left: 0; }
.be2-spill select { appearance: none; height: 32px !important; padding: 0 14px 0 30px !important; border-radius: 999px !important; border: 0 !important; background: #f1f2f8 !important; font-size: 13px !important; font-weight: 700; color: #6a7192; cursor: pointer; }
.be2-spill::before { content: ""; position: absolute; left: 13px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #9aa1c0; z-index: 1; pointer-events: none; }
.be2-spill.ok select { background: #e3f6ea !important; color: #1f8a5b; } .be2-spill.ok::before { background: #2dbd6e; }
.be2-spill.left select { background: #eef0f7 !important; color: #6a7192; }
a.be-ord-wait { padding: 5px 14px; font-size: 13px; background: #fdf0d8; color: #8a5a00; }
/* kompakt düymələr */
.be2-ak { white-space: nowrap; } .be2-ak .be-extras { display: inline-block; margin-right: 6px; }
.be2-cb { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 40px; height: 38px; padding: 0 11px; border: 1px solid #dfe3fb; border-radius: 10px; background: #eef0ff; font: inherit; font-size: 14px; font-weight: 800; color: #4a52d6; cursor: pointer; } .be2-cb svg { width: 16px; height: 16px; }
.be2-cb.empty { border: 1.5px dashed #c9cdf0; background: #fff; } .be2-cb:hover { background: #e3e6ff; } .be2-cb.chg { border-color: #f0c23a; background: #fff3cd; color: #8a5a00; }
.be2-tips4 { margin-top: 18px; } .be2-tip > span.ic { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; background: #eceeff; color: #4a52d6; font-size: 0; } .be2-tip > span.ic.amber { background: #fdf0d8; color: #8a5a00; } .be2-tip > span.ic svg { width: 17px; height: 17px; }
.be2-hbtns a.be2-btn, #be-cols, #be-xl, #be-reset { background: #635ece !important; border-color: #635ece !important; color: #fff !important; }
.be2-hbtns a.be2-btn:hover, #be-cols:hover, #be-xl:hover, #be-reset:hover { background: #544fc4 !important; color: #fff !important; }
.be2-hbtns a.be2-btn svg, #be-cols svg, #be-xl svg, #be-reset svg { color: #fff; stroke: #fff; }

/* Dəyişiklik jurnalı */
.bj-box { width: min(1000px, 95vw); }
.bj-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 28px; border-bottom: 1px solid #eef0f8; background: #fafbff; }
.bj-search { display: flex; align-items: center; gap: 8px; width: 280px; height: 44px; padding: 0 14px; border: 1px solid #e3e6f6; border-radius: 12px; background: #fff; color: #9aa1c0; } .bj-search svg { width: 15px; height: 15px; } .bj-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; color: #151b44; }
.bj-sel { position: relative; } .bj-sel select { appearance: none; height: 44px; padding: 0 36px 0 16px; border: 1px solid #e3e6f6; border-radius: 12px; background: #fff; font: inherit; font-size: 14px; font-weight: 700; color: #151b44; } .bj-sel svg { position: absolute; right: 12px; top: 50%; width: 14px; height: 14px; margin-top: -7px; color: #8a91b3; pointer-events: none; }
.bj-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; } .bj-chips button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid #e3e6f6; border-radius: 999px; background: #fff; font: inherit; font-size: 13.5px; font-weight: 700; color: #3d4570; cursor: pointer; } .bj-chips i { padding: 0 8px; border-radius: 999px; background: #eef0f7; font-style: normal; font-size: 12px; color: #6a7192; }
.bj-chips button.active { border-color: #1c2252; background: #1c2252; color: #fff; } .bj-chips button.active i { background: rgba(255,255,255,.2); color: #fff; }
.bj-body { max-height: 56vh; padding-top: 18px; }
.bj-day { display: flex; align-items: center; gap: 14px; margin: 6px 0 14px; } .bj-day span { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: #8a91b3; white-space: nowrap; } .bj-day::after { content: ""; flex: 1; height: 1px; background: #e9ecf7; }
.bj-item { position: relative; display: flex; align-items: flex-start; gap: 12px; padding-bottom: 14px; }
.bj-item::before { content: ""; position: absolute; left: 64px; top: 24px; bottom: -6px; width: 2px; background: #e6e9f5; } .bj-item:last-child::before { display: none; }
.bj-time { width: 44px; padding-top: 2px; font-size: 13.5px; font-weight: 600; color: #8a91b3; text-align: left; flex: 0 0 44px; }
.bj-dot { position: relative; z-index: 1; width: 22px; height: 22px; flex: 0 0 22px; margin-top: 0; border-radius: 50%; border: 3px solid; background: #fff; }
.bj-dot.green { border-color: #5bb98a; } .bj-dot.red { border-color: #d2515c; } .bj-dot.amber { border-color: #e6a640; }
.bj-dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: currentColor; } .bj-dot.green::after { background: #5bb98a; } .bj-dot.red::after { background: #d2515c; } .bj-dot.amber::after { background: #e6a640; }
.bj-card { flex: 1; min-width: 0; overflow: hidden; border: 1px solid #e3e6f6; border-radius: 16px; background: #fff; }
.bj-top { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.bj-av { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; color: #fff; font-size: 13px; font-weight: 800; }
.bj-n { flex: 1; min-width: 0; } .bj-n b { display: block; font-size: 15.5px; font-weight: 800; color: #151b44; overflow-wrap: anywhere; } .bj-n small { font-size: 12.5px; color: #8a91b3; }
.bj-cat { padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; background: #eceeff; color: #4a52d6; } .bj-cat.status { background: #fdeeee; color: #b03a3a; } .bj-cat.pos { background: #e2f6f0; color: #1f8a5b; } .bj-cat.other { background: #eef0f7; color: #6a7192; }
.bj-user { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #8089ad; white-space: nowrap; } .bj-user i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: #1c2252; font-style: normal; font-size: 10px; font-weight: 800; color: #fff; }
.bj-undo { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; border: 1px solid #e3e6f6; border-radius: 12px; background: #fff; color: #6a7192; cursor: pointer; } .bj-undo svg { width: 16px; height: 16px; } .bj-undo:hover { background: #f5f6fc; color: #151b44; } .bj-undo.ph { border: 0; background: transparent; cursor: default; pointer-events: none; }
.bj-body { }
.bj-card .bj-body { max-height: none; padding: 12px 16px 14px; border-top: 1px solid #eef0f8; background: #fff; } .bj-card .bj-body.add { background: #f3fbf6; } .bj-card .bj-body.del { background: #fdf4f4; }
.bj-r { display: flex; align-items: center; gap: 16px; padding: 4px 0; font-size: 13.5px; } .bj-r > span { width: 120px; flex: 0 0 120px; color: #8089ad; } .bj-r > div { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bj-r i { font-style: normal; color: #a3a9c6; }
.bj-v { padding: 3px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 600; } .bj-v.old { background: #fdeeee; color: #b03a3a; text-decoration: line-through; } .bj-v.new { background: #e3f6ea; color: #1f6f46; } .bj-v.empty { background: #f1f2f8; color: #a3a9c6; font-style: italic; text-decoration: none; }
.bj-plain { font-size: 13.5px; color: #3d4570; }
.bj-tag { font-size: 13px; font-weight: 700; } .bj-tag.add { color: #1f8a5b; } .bj-tag.del { color: #b03a3a; }
.bj-grid { display: flex; flex-wrap: wrap; gap: 8px 36px; margin-top: 8px; } .bj-grid small { display: block; font-size: 11.5px; color: #8089ad; } .bj-grid b { font-size: 14px; color: #151b44; }
@media (max-width: 800px) { .bj-chips { margin-left: 0; } .bj-search { width: 100%; } .bj-top { flex-wrap: wrap; } .bj-r { flex-wrap: wrap; } }

/* Mesaj modalı */
.hs-box { width: min(660px, 94vw); }
.hs-body { padding-top: 18px; max-height: 70vh; }
.hs-lbl { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: #6a7192; } .hs-lbl i { font-style: normal; color: #d23b4a; }
.hs-to { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; padding: 14px 18px; border: 1px solid #e9ecf7; border-radius: 16px; background: #fafbff; } .hs-to b { display: block; font-size: 16px; font-weight: 800; color: #151b44; } .hs-to small { font-size: 13px; color: #8089ad; }
.hs-av { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 13px; background: linear-gradient(135deg, #e8a04a, #e0904a); color: #fff; font-size: 15px; font-weight: 800; }
.hs-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; } .hs-chips button { height: 38px; padding: 0 16px; border: 1px solid #e3e6f6; border-radius: 999px; background: #fff; font: inherit; font-size: 13.5px; font-weight: 700; color: #3d4570; cursor: pointer; } .hs-chips button:hover { background: #f5f6fc; } .hs-chips .hs-c span { margin-left: 6px; color: #9aa1c0; }
.hs-ta { position: relative; margin-bottom: 12px; } .hs-ta textarea { width: 100%; min-height: 150px; padding: 14px 16px 30px; border: 1.5px solid #4a52d6; border-radius: 14px; background: #fff; font: inherit; font-size: 15px; color: #151b44; outline: 0; resize: vertical; box-shadow: 0 0 0 3px rgba(74,82,214,.1); } .hs-ta span { position: absolute; right: 16px; bottom: 10px; font-size: 12.5px; color: #8a91b3; }
.hs-file { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; margin-bottom: 16px; border: 1px solid #e3e6f6; border-radius: 12px; background: #fff; font: inherit; font-size: 13.5px; font-weight: 700; color: #3d4570; } .hs-file svg { width: 16px; height: 16px; } .hs-file:disabled { opacity: .55; cursor: not-allowed; }
.hs-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hs-opt { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid #e3e6f6; border-radius: 16px; background: #fff; } .hs-opt.on { border-color: #cdd2f8; background: #f3f4ff; } .hs-opt.off { opacity: .6; }
.hs-opt input { position: absolute; opacity: 0; } .hs-opt i { display: grid; place-items: center; width: 22px; height: 22px; flex: 0 0 22px; border: 2px solid #c9cde6; border-radius: 7px; background: #fff; } .hs-opt.on i { border-color: #4a52d6; background: #4a52d6; } .hs-opt.on i::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px,-1px); }
.hs-opt b { display: block; font-size: 14.5px; color: #151b44; } .hs-opt small { font-size: 12.5px; color: #8a91b3; }
.hs-status { margin: 12px 0 0; font-size: 13px; color: #6a7192; } .hs-status:empty { display: none; }
@media (max-width: 600px) { .hs-opts { grid-template-columns: 1fr; } }
/* Əlavə iş yerləri modalı */
.bx-box { width: min(1020px, 95vw); }
.bx-body { max-height: 68vh; }
.bx-main { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; padding: 18px 20px; border: 1px solid #dfe3fb; border-radius: 18px; background: #f6f6ff; }
.bx-mt { flex: 1; min-width: 0; } .bx-mt small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; color: #6a72e0; } .bx-mt b { display: block; font-size: 19px; font-weight: 800; color: #151b44; } .bx-mt p { margin: 2px 0 0; font-size: 14px; color: #6a7192; }
.bx-mtags { display: flex; gap: 8px; flex-wrap: wrap; } .bx-chip { padding: 5px 14px; border-radius: 999px; background: #eef0f7; font-size: 13px; font-weight: 700; color: #6a7192; } .bx-chip.blue { background: #eceeff; color: #4a52d6; }
.bx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bx-pick { display: flex !important; align-items: center; justify-content: space-between; width: 100%; height: 46px; padding: 0 14px !important; border: 1px solid #e3e6f6 !important; border-radius: 12px !important; background: #fff !important; font: inherit; font-size: 14.5px; color: #151b44; cursor: pointer; } .bx-pick.empty { color: #a3a9c6; } .bx-pick svg { width: 15px; height: 15px; color: #8a91b3; }
.bx-seg { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: #f1f2f8; } .bx-seg button { display: inline-flex; flex: 1; align-items: center; justify-content: center; gap: 8px; height: 38px; border: 0; border-radius: 9px; background: transparent; font: inherit; font-size: 14px; font-weight: 700; color: #6a7192; cursor: pointer; } .bx-seg button.active { background: #fff; color: #151b44; box-shadow: 0 2px 8px rgba(38,45,110,.12); }
.bx-seg i { width: 8px; height: 8px; border-radius: 50%; background: #9aa1c0; } .bx-seg i.amber { background: #e6a640; } .bx-seg i.green { background: #2dbd6e; }
.bx-load { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding: 12px 16px; border: 1px solid #e3e6f6; border-radius: 12px; background: #f6f6ff; font-size: 14px; color: #3d4570; } .bx-load svg { width: 17px; height: 17px; color: #6a72e0; }
.bx-load b { color: #4a52d6; margin: 0 2px; } .bx-load b.tot.over { color: #d23b4a; } .bx-bar { width: 200px; height: 7px; border-radius: 999px; background: #e3e6f3; overflow: hidden; } .bx-bar i { display: block; height: 100%; border-radius: 999px; background: #4a52d6; } .bx-bar i.over { background: #d23b4a; } .bx-load em { font-style: normal; color: #8a91b3; }
.bx-list { display: flex; flex-direction: column; gap: 12px; }
.bx-item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid #e3e6f6; border-radius: 16px; background: #fff; } .bx-item.editing { border-color: #4a52d6; box-shadow: 0 0 0 3px rgba(74,82,214,.12); }
.bx-ico { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 14px; background: #eeedff; color: #6a5be0; } .bx-ico svg { width: 20px; height: 20px; }
.bx-t { flex: 1; min-width: 0; } .bx-t b { display: block; font-size: 16px; font-weight: 800; color: #151b44; } .bx-t p { margin: 2px 0 8px; font-size: 13.5px; color: #6a7192; overflow-wrap: anywhere; }
.bx-tags { display: flex; gap: 8px; flex-wrap: wrap; } .bx-tag { padding: 4px 12px; border: 1px solid #e3e6f6; border-radius: 10px; background: #f7f8fd; font-size: 12.5px; color: #6a7192; } .bx-tag b { color: #151b44; } .bx-tag.amber { border-color: #f1d9a3; background: #fff8e8; color: #8a5a00; } .bx-tag.green { border-color: #cfeadb; background: #f1faf5; color: #1f8a5b; } .bx-tag.red { border-color: #f3c9c9; background: #fdeeee; color: #b03a3a; }
.bx-u { text-align: center; padding: 0 12px; } .bx-u small { display: block; font-size: 12px; color: #8089ad; } .bx-u b { font-size: 18px; font-weight: 800; color: #151b44; }
.bx-none { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 36px 20px; border: 1.5px dashed #dfe3f3; border-radius: 18px; background: #fbfbff; text-align: center; } .bx-none span { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 8px; border-radius: 16px; background: #f1f2f8; color: #a3a9c6; } .bx-none svg { width: 24px; height: 24px; } .bx-none b { font-size: 16px; color: #151b44; } .bx-none p { margin: 0; font-size: 13.5px; color: #8089ad; }
@media (max-width: 800px) { .bx-grid { grid-template-columns: 1fr; } .bx-main { flex-wrap: wrap; } .bx-item { flex-wrap: wrap; } }

.ms-menu { position: fixed; z-index: 3200; max-height: 260px; overflow-y: auto; padding: 6px; border: 1px solid #e3e6f6; border-radius: 14px; background: #fff; box-shadow: 0 18px 40px rgba(38,45,110,.22); } .ms-menu[hidden] { display: none; }
.ms-item { display: block; width: 100%; padding: 10px 14px; border: 0; border-radius: 9px; background: transparent; text-align: left; font: inherit; font-size: 14.5px; color: #151b44; cursor: pointer; } .ms-item:hover { background: #f1f2ff; } .ms-item.active { background: #eceeff; font-weight: 700; color: #4a52d6; } .ms-item.dis { color: #b3b8d0; cursor: not-allowed; } .ms-item.dis:hover { background: transparent; }

.be2-av, .rd-av, .bj-av { overflow: hidden; } .be2-av img, .rd-av img, .bj-av img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* İşçilər reyestri — toplu düzəlt üslubu */
.be2-cntpill { margin-left: 10px; padding: 3px 12px; border-radius: 999px; background: #eceeff; font-size: 13px; font-weight: 700; color: #4a52d6; vertical-align: middle; }
.be2-stats4 { grid-template-columns: repeat(4, 1fr); }
.be2-btn-dark { background: #1c2252 !important; border-color: #1c2252 !important; color: #fff !important; } .be2-btn-dark:hover { background: #2a3270 !important; }
.employee-directory .be2-bar-in { margin: 0 0 14px; border-radius: 16px; }
.be2-dates { display: inline-flex; align-items: center; gap: 8px; color: #8a91b3; } .be2-dates .input { height: 46px; border-radius: 12px; }
.employee-directory .be2-sel select { padding-right: 38px; }
.be2-tbl { border-collapse: separate; border-spacing: 0; }
.be2-tbl thead th { padding: 14px 12px; background: #fafbff !important; text-align: left; font-size: 11.5px !important; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8a91b3 !important; border-bottom: 1px solid #eef0f8; white-space: nowrap; }
.be2-tbl td { padding: 12px 12px; vertical-align: middle; border-bottom: 1px solid #f0f1f8; font-size: 14px; color: #3d4570; }
.be2-tbl tbody tr:hover td { background: #f8f8ff; }
.be2-tbl .cell-person { display: flex; align-items: center; gap: 12px; } .be2-tbl .cell-person-name { font-size: 15px; font-weight: 800; color: #151b44; }
.be2-avt { position: relative; display: grid !important; place-items: center; width: 42px !important; height: 42px !important; flex: 0 0 42px; border-radius: 13px !important; color: #fff !important; font-size: 14px !important; font-weight: 800; overflow: hidden; } .be2-avt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.be2-tbl .tag.reg-code { padding: 3px 10px; border-radius: 8px; background: #eef0f7; font-size: 12.5px; font-weight: 700; color: #6a7192; }
@media (max-width: 1100px) { .be2-stats4 { grid-template-columns: repeat(2, 1fr); } }
.be2-hbtns .directory-columns { background: #635ece !important; border-color: #635ece !important; color: #fff !important; } .be2-hbtns .directory-columns:hover { background: #544fc4 !important; } .be2-hbtns .directory-columns svg { stroke: #fff; }

/* İşçilər reyestri cədvəli: td/tr — toplu düzəlt ilə eyni */
.be2-tbl { min-width: 1100px; width: 100%; }
.be2-tbl th:first-child, .be2-tbl td:first-child { display: none; }
.be2-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.be2-tbl .cell-person-sub { display: block; font-size: 12.5px; color: #8a91b3; margin-top: 1px; }
.be2-tbl td { padding: 10px 10px !important; vertical-align: middle !important; border-bottom: 1px solid #f0f1f8 !important; background: #fff; position: relative; }
.be2-tbl thead th { padding: 14px 10px !important; }
.be2-tbl tbody tr:last-child td { border-bottom: 0 !important; }
.be2-tbl tbody tr td:nth-child(2) { padding-left: 18px !important; } .be2-tbl thead th:nth-child(2) { padding-left: 18px !important; }
.be2-tbl tbody tr:hover td { background: #f8f8ff; }
.be2-tbl tbody tr.is-selected td { background: #f4f6ff !important; } .be2-tbl tbody tr.is-selected td:nth-child(2) { box-shadow: inset 4px 0 0 #4a52d6; }
.be2-tbl .badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; } .be2-tbl .badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.be2-tbl .badge-success { background: #e3f6ea; color: #1f8a5b; } .be2-tbl .badge-danger { background: #fdeeee; color: #b03a3a; } .be2-tbl .badge-warning { background: #fdf0d8; color: #8a5a00; } .be2-tbl .badge-neutral { background: #eef0f7; color: #6a7192; }
.be2-tbl .tag:not(.reg-code) { padding: 3px 10px; border-radius: 8px; background: #f1f2f8; font-size: 12.5px; font-weight: 600; color: #3d4570; }
.be2-tbl .cell-actions .icon-btn { width: 36px; height: 36px; border-radius: 10px; }

/* Yan panel: işçi önizləməsi */
.employees-layout.preview-open { grid-template-columns: 1fr 340px; }
.ep-panel { padding: 0 !important; border: 1px solid #e3e6f6 !important; border-radius: 24px !important; box-shadow: 0 16px 36px rgba(38,45,110,.14); }
.ep-panel .profile-v4-empty { padding: 28px 20px; }
.ep-x { top: 14px !important; right: 14px !important; width: 40px !important; height: 40px !important; border-radius: 12px !important; background: rgba(255,255,255,.18) !important; border: 1px solid rgba(255,255,255,.25) !important; z-index: 3 !important; } .ep-x svg { width: 16px !important; height: 16px !important; }
.ep-hero { position: relative; height: 118px; background: radial-gradient(circle at 88% 10%, #8a6be8 0, transparent 45%), linear-gradient(120deg, #2e2f8f, #4a45c4 55%, #6b52d8); } .ep-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1.4px); background-size: 14px 14px; opacity: .6; }
.ep-eye { position: absolute; top: 14px; right: 62px; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; background: rgba(255,255,255,.18); color: #fff; z-index: 2; } .ep-eye svg { width: 17px; height: 17px; }
.ep-avwrap { display: flex; justify-content: center; margin-top: -66px; position: relative; z-index: 2; }
.ep-av { position: relative; padding: 6px; border-radius: 30px; background: #fff; box-shadow: 0 10px 24px rgba(38,45,110,.2); }
.ep-av .avatar { width: 124px !important; height: 124px !important; border-radius: 24px !important; font-size: 34px !important; border: 0 !important; overflow: hidden; position: relative; }
.ep-av .avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ep-dot { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border: 3px solid #fff; border-radius: 50%; background: #c3c8de; } .ep-dot.on { background: #2dbd6e; }
.ep-zoom { position: absolute; right: 2px; bottom: 2px; display: grid; place-items: center; width: 34px; height: 34px; border: 3px solid #fff; border-radius: 11px; background: #1c2252; color: #fff; cursor: pointer; } .ep-zoom svg { width: 15px; height: 15px; }
.ep-name { margin: 14px 18px 0 !important; font-size: 20px !important; font-weight: 800 !important; color: #151b44 !important; }
.ep-tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 10px 16px 0; }
.ep-role { padding: 5px 16px; border-radius: 999px; background: #eceeff; font-size: 13.5px; font-weight: 700; color: #4a52d6; } .ep-role:empty { display: none; }
.ep-tags .badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700; } .ep-tags .badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.ep-tags .badge-success { background: #e3f6ea; color: #1f8a5b; } .ep-tags .badge-danger { background: #fdeeee; color: #b03a3a; } .ep-tags .badge-warning { background: #fdf0d8; color: #8a5a00; } .ep-tags .badge-neutral { background: #eef0f7; color: #6a7192; }
.ep-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 16px 0; }
.ep-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px; border: 1px solid #e9ecf7; border-radius: 16px; background: #fff; font: inherit; font-size: 13.5px; font-weight: 700; color: #3d4570; text-align: center; text-decoration: none; cursor: pointer; } .ep-tile:hover { background: #f8f8ff; color: #3d4570; }
.ep-ti { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; } .ep-ti svg { width: 18px; height: 18px; } .ep-ti.blue { background: #eceeff; color: #4a52d6; } .ep-ti.amber { background: #fdf0d8; color: #c4801a; }
.ep-list { margin: 16px 16px 0; border: 1px solid #e9ecf7; border-radius: 16px; overflow: hidden; }
.ep-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid #eef0f8; } .ep-row:last-child { border-bottom: 0; } .ep-row.warn { background: #fffaf0; }
.ep-ri { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; background: #f1f2f8; color: #6a72e0; } .ep-ri svg { width: 17px; height: 17px; } .ep-row.warn .ep-ri { background: #fdf0d8; color: #c4801a; } .ep-row.warn b { color: #8a5a00; }
.ep-row > div { flex: 1; min-width: 0; } .ep-row small { display: block; font-size: 12px; color: #8089ad; } .ep-row b { font-size: 15px; font-weight: 800; color: #151b44; overflow-wrap: anywhere; }
.ep-pill { padding: 4px 12px; border-radius: 9px; background: #eceeff; font-style: normal; font-size: 12.5px; font-weight: 800; color: #4a52d6; } .ep-dur { display: inline-block; margin-left: 6px; padding: 2px 10px; border-radius: 999px; background: #eef0f7; font-style: normal; font-size: 12px; font-weight: 600; color: #6a7192; }
.ep-deact { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 16px; padding: 14px; border: 1px solid #f0c7cf; border-radius: 16px; background: #fff; font-size: 15px; font-weight: 800; color: #b03a4a; text-decoration: none; } .ep-deact:hover { background: #fff5f6; color: #b03a4a; } .ep-deact svg { width: 17px; height: 17px; }
.ep-panel [hidden] { display: none !important; }

.ep-tiles { grid-template-columns: repeat(2, 1fr) !important; }
.ep-tile.reg-open { display: flex !important; flex-direction: column; align-items: center; width: auto !important; max-width: none !important; padding: 14px 6px !important; gap: 8px; border: 1px solid #e9ecf7 !important; border-radius: 16px !important; box-shadow: none !important; font-size: 13.5px !important; font-weight: 700; color: #3d4570 !important; background: #fff; }
.ep-tile.reg-open:hover { background: #f8f8ff; }

/* PMH: Əvəzetmələr pəncərəsi */
.rp-box { width: min(900px, 95vw); }
.rp-body { max-height: 68vh; }
.rp-help { margin: 0 0 16px; padding: 12px 16px; border: 1px solid #dfe3fb; border-radius: 12px; background: #f3f4ff; font-size: 13.5px; color: #3d4570; }
.rp-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 8px; padding: 16px 18px; border: 1.5px dashed #d5d9ec; border-radius: 16px; background: #fbfbff; }
.rp-f label { display: block; margin-bottom: 6px; font-size: 12.5px; font-weight: 600; color: #6a7192; }
.rp-in, .rp-pick input { width: 100%; height: 46px; padding: 0 14px; border: 1px solid #e3e6f6; border-radius: 12px; background: #fff; font: inherit; font-size: 14.5px; color: #151b44; outline: 0; } .rp-in:focus, .rp-pick input:focus { border-color: #4a52d6; box-shadow: 0 0 0 3px rgba(74,82,214,.12); }
.rp-pick { position: relative; } .rp-list { position: absolute; left: 0; right: 0; top: 50px; z-index: 20; max-height: 260px; overflow-y: auto; padding: 6px; border: 1px solid #e3e6f6; border-radius: 12px; background: #fff; box-shadow: 0 16px 36px rgba(38,45,110,.2); } .rp-list[hidden] { display: none; }
.rp-list button { display: block; width: 100%; padding: 9px 12px; border: 0; border-radius: 9px; background: transparent; text-align: left; font: inherit; cursor: pointer; } .rp-list button:hover { background: #f1f2ff; } .rp-list b { display: block; font-size: 14px; color: #151b44; } .rp-list small { font-size: 12px; color: #8089ad; }
.rp-wide { grid-column: 1 / 2; } .rp-add { align-self: end; height: 46px; padding: 0 24px; border: 0; border-radius: 12px; background: #1c2252; font: inherit; font-size: 14.5px; font-weight: 700; color: #fff; cursor: pointer; } .rp-add:hover { background: #2a3270; }
.rp-err { margin: 8px 2px 0; font-size: 13px; font-weight: 600; color: #b03a3a; }
.rp-listhead { display: flex; align-items: center; gap: 10px; margin: 18px 0 10px; font-size: 15px; font-weight: 800; color: #151b44; } .rp-listhead i { padding: 1px 9px; border-radius: 999px; background: #eef0f7; font-style: normal; font-size: 12px; color: #6a7192; }
.rp-rows { display: flex; flex-direction: column; gap: 10px; }
.rp-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid #e3e6f6; border-radius: 14px; background: #fff; }
.rp-p { flex: 1; min-width: 0; } .rp-p small, .rp-d small { display: block; font-size: 11.5px; color: #8089ad; } .rp-p b { display: block; font-size: 14.5px; color: #151b44; } .rp-p em, .rp-d em { display: block; font-style: normal; font-size: 12.5px; color: #8a91b3; }
.rp-arrow { color: #4a52d6; font-weight: 800; } .rp-d { text-align: right; max-width: 200px; } .rp-d b { font-size: 14.5px; color: #151b44; }
.rp-del { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #f3c9c9; border-radius: 10px; background: #fff; color: #b03a3a; cursor: pointer; } .rp-del svg { width: 16px; height: 16px; } .rp-del:hover { background: #fdeeee; }
.rp-none { padding: 18px; text-align: center; color: #8089ad; font-size: 14px; }
@media (max-width: 700px) { .rp-form { grid-template-columns: 1fr; } .rp-wide { grid-column: auto; } .rp-row { flex-wrap: wrap; } }

/* Toplu düzəlt: axtarış və select — digər səhifələrlə eyni (border, kölgə, hündürlük) */
.be2-search { height: 38px; padding: 0 12px; border: 1.5px solid #dfe0e673 !important; border-radius: 12px !important; background: #fff; box-shadow: 0 6px 14px rgba(38,45,110,.18); }
.be2-search input { height: 36px; font-size: 12.5px; }
.be2-sel select { height: 38px !important; padding: 0 34px 0 14px !important; border: 1.5px solid #dfe0e673 !important; border-radius: 12px !important; background: #fff !important; box-shadow: 0 6px 14px rgba(38,45,110,.18) !important; font-size: 12.5px !important; font-weight: 600; color: #26286b; }
.be2-sel svg { width: 14px; height: 14px; margin-top: -7px; }
.be2-hbtns .staff-stats-btn:disabled { opacity: .55; cursor: not-allowed; }
.be2-hbtns kbd { padding: 1px 7px; border-radius: 6px; background: rgba(255,255,255,.2); font: inherit; font-size: 11.5px; color: #fff; }

.be2-bar .sd-sel { min-width: 200px; } .be2-bar .sd-sel .modern-select-shell { width: 100%; }
/* API açarları səhifəsi */
.ak-new { margin-bottom: 18px; padding: 18px 22px; border: 1.5px solid #bfe5cf; border-radius: 16px; background: #f1faf5; } .ak-new b { font-size: 16px; color: #1f6f46; } .ak-new p { margin: 6px 0 12px; font-size: 13.5px; color: #3d4570; }
.ak-key { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px dashed #8bcfa9; border-radius: 12px; background: #fff; } .ak-key code { flex: 1; font-size: 15px; font-weight: 700; color: #151b44; word-break: break-all; }
.ak-copy { padding: 9px 18px; border: 0; border-radius: 10px; background: #1c2252; font: inherit; font-size: 13.5px; font-weight: 700; color: #fff; cursor: pointer; }
.ak-err { margin-bottom: 14px; padding: 12px 16px; border: 1px solid #f3c9c9; border-radius: 12px; background: #fdeeee; font-size: 13.5px; font-weight: 600; color: #b03a3a; }
.ak-form { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; padding: 16px 18px; border: 1.5px dashed #d5d9ec; border-radius: 16px; background: #fbfbff; }
.ak-form-row { display: flex; gap: 14px; flex-wrap: wrap; }
.ak-f { flex: 1 1 280px; } .ak-f.ak-s { flex: 0 0 190px; } .ak-f > label:first-child { display: block; margin-bottom: 6px; font-size: 12.5px; font-weight: 600; color: #6a7192; }
.ak-f input[type=text], .ak-f input[type=date] { width: 100%; height: 44px; padding: 0 14px; border: 1px solid #e3e6f6; border-radius: 12px; background: #fff; font: inherit; font-size: 14.5px; color: #151b44; outline: 0; }
.ak-f.ak-perms { flex: 0 0 auto; }
.ak-perms small { display: block; margin-top: 8px; color: #8a91b3; }
.ak-perms-list { display: flex; gap: 10px 18px; flex-wrap: wrap; margin-top: 2px; }
.ak-chk { display: flex !important; align-items: center; gap: 7px; height: 32px; font-size: 13.5px; font-weight: 600; color: #151b44; } .ak-chk input { accent-color: #4a52d6; width: 16px; height: 16px; }
.ak-add { align-self: flex-start; height: 44px; padding: 0 26px; border: 0; border-radius: 12px; background: #1c2252; font: inherit; font-size: 14.5px; font-weight: 700; color: #fff; cursor: pointer; }
.ak-card { overflow-x: auto; border: 1px solid #e9ecf7; border-radius: 16px; background: #fff; }
.ak-table { width: 100%; border-collapse: collapse; } .ak-table th { padding: 13px 14px; background: #fafbff; text-align: left; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8a91b3; border-bottom: 1px solid #eef0f8; }
.ak-table td { padding: 13px 14px; border-bottom: 1px solid #f0f1f8; font-size: 14px; color: #3d4570; vertical-align: middle; } .ak-table tr:last-child td { border-bottom: 0; } .ak-table td b { display: block; color: #151b44; } .ak-table small { display: block; font-size: 12px; color: #8a91b3; } .ak-table code { font-size: 13px; color: #151b44; }
.ak-dim td { opacity: .6; } .ak-none { padding: 24px !important; text-align: center; color: #8a91b3 !important; }
.ak-pill { padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; } .ak-pill.green { background: #e3f6ea; color: #1f8a5b; } .ak-pill.red { background: #fdeeee; color: #b03a3a; } .ak-pill.gray { background: #eef0f7; color: #6a7192; }
.ak-revoke { padding: 8px 16px; border: 1px solid #f3c9c9; border-radius: 10px; background: #fff; font: inherit; font-size: 13px; font-weight: 700; color: #b03a3a; cursor: pointer; } .ak-revoke:hover { background: #fdeeee; }
.ak-howto2 { margin-top: 22px; }
.ak-howto2-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 20px; margin-bottom: 16px; }
.ak-howto2-head b { font-size: 16px; font-weight: 800; color: var(--text-primary); }
.ak-howto2-auth { font-size: 13px; color: var(--text-secondary); }
.ak-howto2-auth code { padding: 3px 9px; border-radius: 7px; background: var(--navy-800); color: #fff; font-size: 12px; font-weight: 600; }
.ak-howto2-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.ak-howto2-card { padding: 18px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px; transition: box-shadow .15s ease, transform .15s ease; }
.ak-howto2-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.ak-howto2-icon { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex: none; }
.ak-howto2-icon svg { width: 19px; height: 19px; }
.ak-howto2-icon-blue { background: var(--info-bg); color: var(--info); }
.ak-howto2-icon-green { background: var(--success-bg); color: var(--success); }
.ak-howto2-icon-orange { background: var(--warning-bg); color: var(--warning); }
.ak-howto2-icon-navy { background: #e8e9fb; color: var(--navy-600); }
.ak-howto2-icon-red { background: var(--danger-bg); color: var(--danger); }
.ak-howto2-title { font-size: 14.5px; font-weight: 700; color: var(--text-primary); }
.ak-howto2-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ak-howto2-chips code { padding: 4px 9px; border-radius: 7px; background: var(--surface-alt); border: 1px solid var(--border); font-size: 11.5px; color: var(--text-primary); }
.ak-howto2-note { font-size: 12.5px; color: var(--text-secondary); line-height: 1.5; }
.ak-howto2-note code { padding: 1px 5px; border-radius: 5px; background: var(--surface-alt); font-size: 11.5px; }
.ak-howto2-foot { margin-top: 16px; font-size: 12.5px; color: var(--text-muted); }



.ak-bulk { display: flex; justify-content: flex-end; margin: 0 0 10px; }

/* Kart sifarişləri: status seçimi */
.co-status { appearance: none; -webkit-appearance: none; border: 0; border-radius: 999px; padding: 5px 26px 5px 12px; font: inherit; font-size: 12px; font-weight: 750; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23666' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; }
span.co-status { display: inline-block; padding-right: 12px; background-image: none; cursor: default; }
.co-status-pending { background-color: #fff3d6; color: #8a5a00; }
.co-status-sent { background-color: #e6e8ff; color: #3a44a3; }
.co-status-received { background-color: #e4f6ea; color: #1f7a48; }
.co-combo { position: relative; }
.co-list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 30; max-height: 240px; overflow: auto; background: #fff; border: 1px solid #d9def0; border-radius: 12px; box-shadow: 0 12px 28px rgba(40,50,120,.16); padding: 4px; }
.co-opt { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 8px; cursor: pointer; font-size: 13.5px; }
.co-opt[hidden], .co-none[hidden], .co-list[hidden] { display: none !important; }
.co-opt:hover { background: #eef0ff; }
.co-opt em { font-style: normal; color: #7a809c; font-size: 12px; }
.co-none { padding: 12px; color: #7a809c; font-size: 13px; }

.employee-directory .data-table.co-tbl { width: 100% !important; table-layout: auto !important; }

.ed-doc { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 650; color: #4f5fd6; text-decoration: none; } .ed-doc:hover { text-decoration: underline; }

/* Sexsi profil: telefon (mp-* komponentleri) */
@media (max-width: 1100px) {
  .mp-grid { grid-template-columns: minmax(0, 1fr); }
  .mp-info-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .mp-head { flex-wrap: wrap; gap: 14px; padding: 16px; align-items: flex-start; }
  .mp-title { flex: 1 1 100%; }
  .mp-head-actions, .mp-actions { flex: 1 1 100%; justify-content: stretch; }
  .mp-head-actions > *, .mp-actions > * { flex: 1 1 140px; justify-content: center; }
  .mp-tabs { margin-left: -4px; margin-right: -4px; padding: 0 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .mp-tabs::-webkit-scrollbar { display: none; }
  .mp-tabs a { padding: 13px 14px; }
  .mp-info-grid, .mp-info-grid-3 { grid-template-columns: minmax(0, 1fr); padding: 10px 16px 16px; }
  .mp-info strong { overflow-wrap: anywhere; }
  .mp-tl { margin: 10px 12px 6px; padding: 12px; overflow-x: auto; }
  .mp-tl-row { grid-template-columns: 96px minmax(0, 1fr); }
  .mp-jobs { padding: 8px 12px 16px; }
  .mp-job-col:nth-of-type(3) b { white-space: normal; }
  .mp-card .dv3-card-head { margin: 8px 8px 0; }
  .dv3-stats, .dv3-stats-3 { grid-template-columns: minmax(0, 1fr) !important; }
  .fm-grid, .lv-top, .lv-mid { grid-template-columns: minmax(0, 1fr); }
  .rq-row { grid-template-columns: 44px minmax(0, 1fr); padding: 12px 14px; }
  .rq-row .rq-date, .rq-row .rq-status, .rq-row .rq-acts { grid-column: 2; }
  .lv-cal-grid { gap: 3px; }
  .lv-cal-grid span { min-height: 36px; padding: 4px 5px; font-size: 11.5px; }
  .ed-grid { gap: 14px; }
  .ed-timeline { padding-left: 26px; }
  .ed-box { padding: 12px; gap: 12px; }
  .ed-box-ico { width: 40px; height: 40px; flex-basis: 40px; }
  .ed-steps { flex-direction: column; align-items: stretch; }
  .ed-steps u { display: none; }
  .profile-dashboard-v4 { overflow-x: hidden; }
}

/* Deyisiklik sorgusu: telefon */
@media (max-width: 720px) {
  .pe-layout, .pe-main, .pe-main .tab-panel, .pe-main .tab-panel .card { min-width: 0; max-width: 100%; }
  .pe-main .tab-panel .card { padding: 18px 14px; border-radius: 18px; }
  .pe-head h2 { font-size: 22px; }
  .pe-queue .table-wrap { overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
  .pe-queue .data-table { min-width: 560px; }
  .pe-queue .data-table thead th, .pe-queue .data-table tbody td { padding: 10px 12px; }
  .pe-bar { flex-wrap: wrap; gap: 10px; padding: 12px 14px !important; }
  .pe-bar-info { flex: 1 1 100%; }
  .pe-bar-info small { max-width: none; white-space: normal; }
  .pe-bar-actions { flex: 1 1 100%; }
  .pe-bar-actions > * { flex: 1 1 0; justify-content: center; text-align: center; white-space: nowrap; }
  .pe-bar-cancel, .pe-bar-send { padding: 12px 14px; }
  .pe-layout > .tabs.pe-nav { overflow-x: auto; flex-wrap: nowrap; }
}

.ed-doc { display: inline-grid !important; place-items: center; width: 30px; height: 30px; margin-top: 6px; border-radius: 9px; background: #eef0fb; color: #4a52b4 !important; text-decoration: none !important; vertical-align: middle; }
.ed-doc:hover { background: #4a52b4; color: #fff !important; } .ed-doc svg { width: 16px; height: 16px; }
.dk-view { text-decoration: none; } .dk-doc { cursor: default; }
.dk-area { margin: 4px 0 2px; font-size: 12px; color: #6a7192; } .dk-area b { color: #3a44a3; font-weight: 750; }

@media (max-width: 720px) {
  .pe-card-head { flex-wrap: wrap; align-items: flex-start; gap: 10px 12px; }
  .pe-card-head > div { flex: 1 1 calc(100% - 64px); min-width: 0; }
  .pe-card-head h3 { font-size: 17px; }
  .pe-card-head .pe-add-bar { flex: 1 1 100%; width: 100%; margin-left: 0; justify-content: center; }
  .pe-card-head .pe-count-pill { margin-left: 0; }
}

.pe-lk { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 60; max-height: 280px; overflow-y: auto; border: 1px solid #e1e4f3; border-radius: 12px; background: #fff; box-shadow: 0 14px 30px rgba(51,58,130,.16); }
.pe-lk[hidden] { display: none; }
.pe-lk > button { display: block; width: 100%; padding: 9px 14px; border: 0; background: transparent; text-align: left; font: inherit; cursor: pointer; }
.pe-lk > button:hover { background: #f4f5ff; } .pe-lk > button b { display: block; font-size: 13px; font-weight: 650; color: #26305e; } .pe-lk > button small { display: block; font-size: 11.5px; color: #8189a8; }
.pe-lk-miss { padding: 10px 14px; border-top: 1px solid #edeff8; font-size: 12.5px; color: #6a7192; } .pe-lk-miss button { display: block; margin-top: 6px; padding: 7px 12px; border: 1px dashed #c9cff0; border-radius: 10px; background: #fafbff; color: #3a44a3; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }

.pe-check { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; color: #26305e; cursor: pointer; } .pe-check input { width: 18px; height: 18px; accent-color: #4a52b4; }
.pe-sub { padding: 14px 16px; border: 1px dashed #c9cff0; border-radius: 14px; background: #fafbff; } .pe-sub[hidden] { display: none; }
.pe-hint-box { align-self: end; padding: 10px 12px; border-radius: 10px; background: #eef0fb; color: #4d5480; font-size: 12.5px; }

.cr-filter { display: inline-flex; gap: 4px; padding: 3px; border-radius: 12px; background: #f1f2fa; } .cr-filter button { padding: 7px 12px; border: 0; border-radius: 9px; background: transparent; font: inherit; font-size: 12.5px; font-weight: 700; color: #4d5480; cursor: pointer; white-space: nowrap; } .cr-filter button.on { background: #fff; color: #3a44a3; box-shadow: 0 2px 8px rgba(51,58,130,.12); } .cr-filter i { margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: #fff0c8; color: #946100; font-style: normal; font-size: 11px; }
@media (max-width: 720px) { .cr-filter { flex-wrap: wrap; } }
.cr-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin: 8px 0 0; } .cr-fields dt { font-size: 11.5px; color: #8189a8; } .cr-fields dd { margin: 2px 0 0; font-size: 13px; font-weight: 650; color: #151b44; overflow-wrap: anywhere; }
@media (max-width: 560px) { .cr-fields { grid-template-columns: 1fr; } }
.cr-doc { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border: 1px solid #c9cff0; border-radius: 12px; background: #f4f5ff; color: #3a44a3; text-decoration: none; } .cr-doc svg { width: 22px; height: 22px; flex: 0 0 22px; } .cr-doc b { display: block; font-size: 13.5px; } .cr-doc small { display: block; font-size: 12px; color: #6a7192; overflow-wrap: anywhere; } .cr-doc:hover { background: #e9ebff; }
.requests-directory tr[data-cr-status][hidden] { display: none !important; }

tr.cr-row-sel > td { background: #eef0ff !important; box-shadow: inset 0 0 0 0 transparent; } tr.cr-row-sel > td:first-child { box-shadow: inset 3px 0 0 #4a52b4; }
.cr-mini-toast { position: fixed; right: 20px; bottom: 24px; z-index: 6000; padding: 12px 18px; border-radius: 12px; background: #1c2252; color: #fff; font-size: 13.5px; font-weight: 650; box-shadow: 0 14px 30px rgba(20,25,70,.3); transition: opacity .3s, transform .3s; } .cr-mini-toast.bad { background: #b3303f; } .cr-mini-toast.out { opacity: 0; transform: translateY(8px); }

.ac-more { margin-top: 8px; } .ac-more summary { cursor: pointer; font-size: 12px; font-weight: 700; color: #3a44a3; list-style: none; } .ac-more summary::-webkit-details-marker { display: none; } .ac-more summary::before { content: "▸ "; } .ac-more[open] summary::before { content: "▾ "; }
.ac-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin: 10px 0 2px; padding: 12px 14px; border-radius: 12px; background: #f8f9fe; } .ac-dl dt { font-size: 11.5px; color: #8189a8; } .ac-dl dd { margin: 2px 0 0; font-size: 13px; font-weight: 650; color: #151b44; overflow-wrap: anywhere; }
@media (max-width: 560px) { .ac-dl { grid-template-columns: 1fr; } }

.cr-head-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; width: 100%; margin-top: 12px; } .cr-head-btns { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
@media (max-width: 720px) { .cr-head-btns { margin-left: 0; width: 100%; } }

.ed-add { display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; border-radius: 50%; } .ed-add svg { width: 16px; height: 16px; }
.ed-box { flex-wrap: nowrap; } .ed-box-main { flex: 1 1 auto; min-width: 0; }
.ed-rec { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; } .ed-rec > span, .ed-rec > small { flex: 1 1 100%; }
.ed-rec > .ed-doc { order: 3; margin-top: 4px; }

.ed-rec { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; }
.ed-rec > span, .ed-rec > small { grid-column: 1; flex: none; }
.ed-rec > .ed-doc { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; order: 0; }

.rq-wd-form { display: inline; margin: 0; } .rq-withdraw { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 0; border-radius: 11px; background: #fdecd8; color: #a5560f; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; } .rq-withdraw svg { width: 14px; height: 14px; } .rq-withdraw:hover { filter: brightness(.96); }
.rq-st-withdrawn { background: #eef0f5; color: #6a7192; }
/* Mobil: acilan menyu yuxaridaki panelin (topbar) ustunde olsun, brend ve ilk bendler orada gizlenmesin */
@media (max-width: 860px) {
  .sidebar { z-index: 400; }
  .sidebar-overlay { z-index: 390; }
  .sidebar-nav { overscroll-behavior: contain; }
}

/* Təhsil modalı: açar (toggle) üslubu, "xaricdə alınıb" kartı */
.pe-edu .pe-form .pe-check { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-size: 13.5px; font-weight: 700; color: #26305e; }
.pe-edu .pe-form .pe-check input[type="checkbox"] { appearance: none; -webkit-appearance: none; position: relative; flex: 0 0 auto; width: 40px; height: 22px; margin: 0; border-radius: 999px; background: #dfe3f1; transition: background .18s; cursor: pointer; }
.pe-edu .pe-form .pe-check input[type="checkbox"]::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(20,25,70,.25); transition: transform .18s; }
.pe-edu .pe-form .pe-check input[type="checkbox"]:checked { background: #4a52b4; }
.pe-edu .pe-form .pe-check input[type="checkbox"]:checked::after { transform: translateX(18px); }
.pe-check-card span { display: grid; gap: 2px; } .pe-check-card b { font-size: 14px; color: #151b44; } .pe-check-card small { font-size: 12.5px; font-weight: 500; color: #8189a8; }
.pe-abroad { border: 1px solid #d5d9f0; border-radius: 16px; background: #fafbff; overflow: hidden; }
.pe-abroad > .pe-check-card { display: flex; width: 100%; padding: 16px 18px; box-sizing: border-box; }
.pe-abroad-body { padding: 16px 18px 18px; border-top: 1px dashed #d5d9f0; display: grid; gap: 16px; } .pe-abroad-body[hidden] { display: none; }
.pe-ab-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 22px; align-items: center; }
.pe-abroad .pe-sub { padding: 4px 0 4px 16px; border: 0; border-left: 3px solid #c9cff0; border-radius: 0; background: transparent; }
.pe-nos-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px 22px; } .pe-nos-wide { grid-column: 1 / 3; }
.pe-edu .pe-form .form-grid > .form-span-3x { grid-column: span 3; }
.pe-auto { background: #f4f5fb !important; border-style: dashed !important; color: #8189a8 !important; pointer-events: none; } .pe-fh { display: block; margin-top: 6px; font-size: 12px; color: #9aa1bd; }
@media (max-width: 900px) { .pe-ab-row, .pe-nos-grid { grid-template-columns: 1fr; } .pe-nos-wide { grid-column: auto; } .pe-edu .pe-form .form-grid > .form-span-3x { grid-column: 1 / -1; } }

.pe-sci .pe-form .pe-check { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-size: 13.5px; font-weight: 700; color: #26305e; }
.pe-sci .pe-form .pe-check input[type="checkbox"] { appearance: none; -webkit-appearance: none; position: relative; flex: 0 0 auto; width: 40px; height: 22px; margin: 0; border-radius: 999px; background: #dfe3f1; transition: background .18s; cursor: pointer; }
.pe-sci .pe-form .pe-check input[type="checkbox"]::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(20,25,70,.25); transition: transform .18s; }
.pe-sci .pe-form .pe-check input[type="checkbox"]:checked { background: #4a52b4; }
.pe-sci .pe-form .pe-check input[type="checkbox"]:checked::after { transform: translateX(18px); }
.pe-sci .pe-form .form-grid > .pe-abroad { grid-column: 1 / -1; }

.pe-check-card b { font-weight: 700; }
.pe-abroad > .pe-check-card { align-items: center; }

[data-show-lt][hidden], .field[hidden] { display: none !important; }

.cr-search { height: 38px; min-width: 210px; padding: 0 14px 0 38px; border: 1px solid #e0e4f2; border-radius: 12px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238189a8' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 12px center / 17px; font: inherit; font-size: 13px; color: #26305e; }
.cr-search:focus { outline: none; border-color: #4a52b4; box-shadow: 0 0 0 3px rgba(74,82,180,.12); }
@media (max-width: 720px) { .cr-search { width: 100%; min-width: 0; } }

.requests-directory-head h2 .directory-count { margin-left: 10px; padding: 3px 10px; border-radius: 999px; background: #eef0fb; color: #4a52b4; font-size: 12px; font-weight: 700; vertical-align: middle; }
.cr-head-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; width: 100%; }
.cr-head-right { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; flex-wrap: nowrap; }
.cr-head-right .cr-search { height: 34px; min-width: 190px; font-size: 12.5px; }
.cr-head-right .cr-head-btns { display: inline-flex; gap: 6px; margin: 0; }
.cr-head-right .cr-head-btns .btn { padding: 0 11px; height: 34px; font-size: 12px; gap: 5px; white-space: nowrap; }
.cr-head-right .cr-head-btns .btn svg { width: 14px; height: 14px; }
@media (max-width: 900px) { .cr-head-right { flex-wrap: wrap; margin-left: 0; width: 100%; } .cr-head-right .cr-search { flex: 1 1 100%; } }

/* Elmi dərəcə: 12 sütunlu düzüm - adi sahələr 3-lü (4 sütun), sənəd sətri 4-lü (3 sütun) */
@media (min-width: 901px) {
  .pe-sci .pe-form .form-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .pe-sci .pe-form .form-grid > .field { grid-column: span 4; }
  .pe-sci .pe-form .form-grid > .field.pe-q3 { grid-column: span 3; }
  .pe-sci .pe-form .form-grid > .pe-half { grid-column: span 6; }
  .pe-sci .pe-form .form-grid > .pe-sec-label, .pe-sci .pe-form .form-grid > .pe-abroad { grid-column: 1 / -1; }
}

/* Profil cədvəlləri: nişanlı sətirlər (müəssisə qısaltması, sənəd nişanı, qalın il, dəyirmi əməliyyat düymələri) */
.pe-queue .cell-avatar.cell-avatar-acr { width: 48px; height: 48px; font-size: 13px; letter-spacing: .02em; background: linear-gradient(145deg, #1d2358, #2e3680); }
.pe-queue .data-table tbody tr:nth-child(even) .cell-avatar.cell-avatar-acr { background: linear-gradient(145deg, #1d2358, #2e3680); }
.pe-queue .cell-has-av { display: table-cell; white-space: nowrap; }
.pe-queue .cell-has-av .cell-avatar, .pe-queue .cell-has-av .cell-docbadge { vertical-align: middle; }
.pe-queue .cell-has-av .cell-box { display: inline-block; vertical-align: middle; white-space: normal; max-width: calc(100% - 66px); }
.pe-queue .cell-name { display: block; font-weight: 800; color: #151b44; font-size: 14px; }
.pe-queue .cell-strong { font-size: 15px; font-weight: 800; color: #151b44; }
.pe-queue .cell-pill { background: #f0f1f8; color: #4b5379; }
.pe-queue .cell-docbadge { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-right: 12px; border-radius: 13px; background: #fdeeee; color: #b8323f; font-size: 11px; font-weight: 800; letter-spacing: .03em; }
.pe-queue .data-table thead th:last-child { text-align: right; }
.pe-queue .cell-actions .icon-btn { border-radius: 50% !important; width: 40px !important; height: 40px !important; display: inline-grid; place-items: center; text-decoration: none; }
.pe-queue .cell-actions .icon-btn:last-child { color: #c62839; border-color: #f3c9cf; background: #fff7f8; }
@media (min-width: 901px) { .pe-sci .pe-form .form-grid > .field.pe-q6 { grid-column: span 6; } }
/* Nostrifikasiya: qurum+tarix, sənəd nömrəsi+ixtisas - 2-2 yanaşı */
.pe-nos-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pe-nos-grid .pe-nos-wide { grid-column: auto; }
@media (max-width: 900px) { .pe-nos-grid { grid-template-columns: 1fr; } }

/* Fayl yükləmə: qırıq xəttli həb + sağda göstəriş */
.pe-dzwrap { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pe-form .pe-dzwrap .dropzone-real.pe-dz, .pe-main .pe-dzwrap .dropzone-real.pe-dz { display: inline-flex !important; width: auto; min-height: 48px; gap: 10px !important; padding: 0 22px !important; border: 1.5px dashed #b9bfee !important; border-radius: 999px !important; background: #fbfbff !important; color: #4a52b4; cursor: pointer; }
.pe-form .pe-dzwrap .dropzone-real.pe-dz:hover { background: #f1f2ff !important; border-color: #8a93e0 !important; }
.pe-dzwrap .dropzone-real svg { width: 22px; height: 22px; flex: 0 0 22px; margin: 0; color: #4a52b4; }
.pe-dzwrap .dropzone-real span { font-size: 15px; font-weight: 800; color: #4a52b4; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pe-dzwrap > small { font-size: 13px; color: #9aa1c0; }
.pe-dzwrap .dropzone-real.has-file { border-style: solid !important; border-color: #8fd2c4 !important; background: #effaf7 !important; }
.pe-dzwrap .dropzone-real.has-file span, .pe-dzwrap .dropzone-real.has-file svg { color: #1f7f72; }
/* fayl həbi sahədən kənara çıxmasın */
.pe-dzwrap { min-width: 0; max-width: 100%; }
.pe-form .pe-dzwrap .dropzone-real.pe-dz, .pe-main .pe-dzwrap .dropzone-real.pe-dz { max-width: 100%; min-width: 0; box-sizing: border-box; padding: 0 18px !important; }
.pe-dzwrap .dropzone-real span { flex: 1 1 auto; min-width: 0; max-width: none; font-size: 14px; }
.pe-dzwrap .dropzone-real.has-file { display: flex !important; width: 100%; }
/* Qohumluq çipləri: bacı/qardaş/valideyn bir sətirdə, həyat yoldaşı/uşaq/digər növbəti sətirdə */
.pe-chips-field .pe-chip-break { flex-basis: 100%; height: 0; }

/* Yüklənən fayl sətri */
.pe-filebox { display: flex; align-items: center; gap: 14px; width: 100%; padding: 10px 14px; border: 1px solid #e3e6f5; border-radius: 14px; background: #fff; box-sizing: border-box; }
.pe-filebox[hidden] { display: none; }
.pe-filebox.pe-fb-done { border-color: #bfe6dc; background: #f3fbf8; }
.pe-fb-badge { display: grid; place-items: center; width: 44px; height: 52px; flex: 0 0 44px; border-radius: 8px; background: #f3f4fa; border-bottom: 14px solid #c8465a; color: #5a6284; font-size: 9.5px; font-weight: 800; letter-spacing: .04em; box-sizing: border-box; padding-top: 14px; }
.pe-fb-main { flex: 1 1 auto; min-width: 0; }
.pe-fb-main b { display: block; font-size: 14px; color: #151b44; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pe-fb-main small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #8189a8; margin-top: 2px; }
.pe-fb-ok { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #2fa57f; color: #fff; } .pe-fb-ok svg { width: 11px; height: 11px; }
.pe-fb-bar { display: block; height: 6px; margin-top: 8px; border-radius: 99px; background: #eceef8; overflow: hidden; }
.pe-fb-bar u { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #4a52b4, #7d71f2); transition: width .07s linear; }
.pe-fb-pct { font-size: 14px; font-weight: 800; color: #4a52b4; }
.pe-fb-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border: 1px solid #e3e6f5; border-radius: 11px; background: #fff; color: #4a52b4; cursor: pointer; padding: 0; text-decoration: none; }
.pe-fb-btn:hover { background: #f1f2ff; } .pe-fb-btn svg { width: 17px; height: 17px; }

/* ===== Admin cədvəlləri: vahid müasir görünüş (PMH çap cədvəlləri və cədvəl-qrafiklər istisna) ===== */
.data-table:not(.sched-table):not(.stats-table):not(.semester-summary-table):not(.import-issues-table):not(.print-table):not(.pe-contacts .data-table):not(.pe-queue .data-table) { border-collapse: collapse; width: 100%; }
.data-table:not(.sched-table):not(.stats-table):not(.semester-summary-table):not(.import-issues-table):not(.print-table):not(.pe-contacts .data-table):not(.pe-queue .data-table) thead th { padding: 14px 18px; background: #f8f9fe; border: 0; border-bottom: 1px solid #edeff8; font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: #8189a8; text-align: left; white-space: nowrap; }
.data-table:not(.sched-table):not(.stats-table):not(.semester-summary-table):not(.import-issues-table):not(.print-table):not(.pe-contacts .data-table):not(.pe-queue .data-table) tbody td { padding: 16px 18px; border: 0; border-top: 1px solid #f0f1f8; font-size: 13.5px; color: #26305e; vertical-align: middle; }
.data-table:not(.sched-table):not(.stats-table):not(.semester-summary-table):not(.import-issues-table):not(.print-table):not(.pe-contacts .data-table):not(.pe-queue .data-table) tbody tr:first-child td { border-top: 0; }
.data-table:not(.sched-table):not(.stats-table):not(.semester-summary-table):not(.import-issues-table):not(.print-table):not(.pe-contacts .data-table):not(.pe-queue .data-table) tbody tr:nth-child(even) { background: transparent; }
.data-table:not(.sched-table):not(.stats-table):not(.semester-summary-table):not(.import-issues-table):not(.print-table):not(.pe-contacts .data-table):not(.pe-queue .data-table) tbody tr:hover { background: #fafbff; }
.data-table:not(.sched-table):not(.stats-table):not(.semester-summary-table):not(.import-issues-table):not(.print-table):not(.pe-contacts .data-table):not(.pe-queue .data-table) .cell-person .avatar { width: 44px; height: 44px; border-radius: 13px; font-size: 14px; font-weight: 800; }
.data-table:not(.sched-table):not(.stats-table):not(.semester-summary-table):not(.import-issues-table):not(.print-table):not(.pe-contacts .data-table):not(.pe-queue .data-table) .badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.data-table:not(.sched-table):not(.stats-table):not(.semester-summary-table):not(.import-issues-table):not(.print-table):not(.pe-contacts .data-table):not(.pe-queue .data-table) .badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: 0 0 6px; }
.data-table:not(.sched-table):not(.stats-table):not(.semester-summary-table):not(.import-issues-table):not(.print-table):not(.pe-contacts .data-table):not(.pe-queue .data-table) input[type="checkbox"] { width: 20px; height: 20px; border-radius: 6px; accent-color: #4a52b4; }
/* fayl seçiləndə: həb gizlənir, sətir bütün eni (12 sütun) tutur */
.pe-dzwrap.pe-has-box > .dropzone-real, .pe-dzwrap.pe-has-box > small { display: none !important; }
.pe-form .form-grid > .field.pe-fb-full { grid-column: 1 / -1 !important; }
.pe-fb-main small { white-space: nowrap; }
/* Cədvəl başlıqlarında ikonlar gizlədilir (sıralama oxları və aparıcı ikonlar) */
.data-table:not(.print-table):not(.pe-contacts .data-table):not(.pe-queue .data-table) thead th svg, .data-table:not(.print-table):not(.pe-contacts .data-table):not(.pe-queue .data-table) thead th .th-lead-icon, .table-wrap thead th > svg { display: none !important; }

/* Mobil: profil dəyişikliyi formalarında inputlar alt-alta */
@media (max-width: 700px) {
  .pe-main .form-grid, .pe-main .form-grid.cols-2, .pe-main .form-grid.cols-3, .pe-main .form-grid.pe-grid4, .pe-form .form-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .pe-main .form-grid > *, .pe-form .form-grid > * { grid-column: 1 / -1 !important; }
  .pe-main .pe-ab-row, .pe-main .pe-nos-grid { grid-template-columns: 1fr !important; }
  .pe-main .pe-chips-field { flex-wrap: wrap; }
}

/* Əlaqə siyahısı: ümumi cədvəlin min-width və kənar boşluqları təsir etməsin (mobil) */
.pe-contacts .table-wrap:not(.sched-wrap) { margin: 0 0 14px !important; }
.pe-contacts .data-table, .pe-contacts table.data-table { min-width: 0 !important; width: 100% !important; }
@media (max-width: 700px) { .pe-contacts .data-table tbody td:nth-of-type(2) { font-size: 13px; overflow-wrap: anywhere; word-break: break-word; } .pe-contacts .data-table tbody tr { padding: 12px; column-gap: 10px; grid-template-columns: 40px minmax(0, 1fr) auto; } .pe-contacts .pe-ico { width: 38px; height: 38px; } }
/* Mobil: qohumluq çipləri 3-lü bərabər sütun (2 sətir) */
@media (max-width: 700px) {
  .pe-chips-field { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .pe-chips-field .pe-chip-break { display: none; }
  .pe-chips-field .pe-chip { justify-content: center; padding: 11px 4px; font-size: 13px; text-align: center; white-space: normal; line-height: 1.15; }
}

/* Kart sifarişləri: müasir status menyusu və bildiriş */
.co-dd { position: relative; display: inline-block; }
.co-dd .co-btn { appearance: none; border: 0; border-radius: 999px; padding: 6px 30px 6px 14px; font: inherit; font-size: 12.5px; font-weight: 750; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 9px center; background-size: 13px; }
.co-menu { position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; min-width: 170px; padding: 6px; border: 1px solid #e3e6f5; border-radius: 14px; background: #fff; box-shadow: 0 14px 34px rgba(30, 36, 90, .16); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .14s, transform .14s, visibility .14s; }
.co-dd.open .co-menu { opacity: 1; visibility: visible; transform: none; }
.co-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 10px; background: none; font: inherit; font-size: 13px; font-weight: 650; color: #26305e; cursor: pointer; text-align: left; }
.co-menu button:hover { background: #f3f4fc; }
.co-menu button svg { width: 15px; height: 15px; margin-left: auto; color: #4a52b4; opacity: 0; }
.co-menu button.on svg { opacity: 1; } .co-menu button.on { background: #f6f7ff; }
.co-dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 9px; }
.co-dot-pending { background: #e0a21b; } .co-dot-sent { background: #4a52b4; } .co-dot-received { background: #2fa57f; }
.co-toast { position: fixed; z-index: 3000; right: 22px; bottom: 22px; max-width: 340px; padding: 13px 18px; border-radius: 14px; background: #1d2358; color: #fff; font-size: 13.5px; font-weight: 650; box-shadow: 0 14px 34px rgba(20, 24, 70, .3); opacity: 0; transform: translateY(10px); transition: opacity .22s, transform .22s; }
.co-toast.on { opacity: 1; transform: none; } .co-toast-bad { background: #b8323f; }
/* Kart sifarişləri: şəxsiyyət vəsiqəsi sütunu mərkəzdə */
.co-tbl thead th:nth-child(2), .co-tbl tbody td:nth-child(2) { text-align: center; }

/* Sorgu reyestri: sehifelemde */
.cr-pager{display:flex;gap:6px;justify-content:center;align-items:center;padding:14px 16px;flex-wrap:wrap}
.cr-pager button{min-width:34px;height:34px;padding:0 10px;border:1px solid var(--border,#e3e6ee);background:#fff;border-radius:10px;font-weight:600;cursor:pointer;color:#3a41a1}
.cr-pager button.on{background:#3a41a1;color:#fff;border-color:#3a41a1}
.cr-pager button:disabled{opacity:.4;cursor:default}
.cr-pager span{color:#8a90a6}

/* Sorgu detallari: uzun mezmun ekrandan cixmasin, modal daxilinde sürüşsün */
.request-detail-modal { display: flex; flex-direction: column; max-height: calc(100vh - 40px); }
.request-detail-modal .modal-header { flex-shrink: 0; }
.request-detail-modal .modal-body { overflow-y: auto; flex: 1; min-height: 0; }
@media (max-width: 700px) { .request-detail-modal { max-height: calc(100vh - 24px); } }

/* Profil: tesdiqlenmemis melumatlar */
.mp-pending{margin:16px 0;padding:18px 20px;border:1px solid #f1d9a8;background:#fffaf0;border-radius:16px}
.mp-pending h3{margin:0 0 4px;font-size:16px;color:#7a4f00;display:flex;align-items:center;gap:8px}
.mp-pending-n{background:#f0a31a;color:#fff;border-radius:999px;font-size:12px;padding:1px 9px}
.mp-pending-sub{margin:0 0 12px;font-size:12.5px;color:#8a6a2a}
.mp-pending-item{background:#fff;border:1px solid #f1e2bd;border-radius:12px;padding:12px 14px;margin-top:10px}
.mp-pending-head{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center}
.mp-pending-head small{color:#8a90a6;margin-left:auto}
.mp-pending-badge{display:inline-flex;align-items:center;gap:6px;background:#fff1d6;color:#9a5f00;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:600}
.mp-pending-badge i{width:7px;height:7px;border-radius:50%;background:#f0a31a}
.mp-pending-item dl{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px 16px;margin:10px 0 0}
.mp-pending-item dl div{min-width:0}.mp-pending-item dt{font-size:11.5px;color:#8a90a6}.mp-pending-item dd{margin:0;font-size:13px;font-weight:600;overflow-wrap:anywhere}
.mp-pending-doc{display:inline-block;margin-top:10px;margin-right:14px;font-size:13px;font-weight:600;color:#3a41a1}

/* Cedvel: tesdiq statusu */
.pe-status{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:600;white-space:nowrap}
.pe-status i{width:7px;height:7px;border-radius:50%;background:currentColor}
.pe-status-ok{background:#e6f7ee;color:#157a45}
.pe-status-wait{background:#fff1d6;color:#9a5f00}
.pe-status-new{background:#eceefb;color:#3a41a1}
tr.pe-row-pending{background:#fffaf0}

/* Butun cedvel basliqlarinda ikonlar gizledilir (isci/leave/is yuku/tabel cedvelleri daxil) */
table:not(.print-table) thead th svg,
table:not(.print-table) thead th .th-ic,
table:not(.print-table) thead th .th-lead-icon,
table:not(.print-table) thead th .th-sort-icon,
table:not(.print-table) thead th i.ic { display: none !important; }

.rq-restore{color:#157a45 !important;border-color:#b9e3cc !important;background:#f0faf4 !important;display:inline-flex;align-items:center;gap:6px}
.rq-restore svg{width:14px;height:14px}

/* ===== Mobil uyğunlaşdırma (telefon) ===== */
@media (max-width: 720px) {
  html, body { overflow-x: hidden; }
  .main, .content { min-width: 0; max-width: 100vw; }
  .content { padding: 14px 12px 48px; }

  /* Reyestr (işçilər, hesablar): başlıq və alətlər sətirə sığsın */
  .directory-summary, .employee-directory .directory-summary { position: static; flex-wrap: wrap; gap: 12px; padding: 16px; min-height: 0; }
  .directory-summary-actions { flex-wrap: wrap; width: 100%; gap: 8px !important; }
  .employee-directory .table-toolbar, .table-toolbar { padding: 12px; flex-wrap: wrap; gap: 8px; }
  .table-toolbar-left, .table-toolbar-right, .table-toolbar > div { flex-wrap: wrap; width: 100%; min-width: 0; gap: 8px; }
  .employee-directory .filter-input, .filter-input { min-width: 0 !important; width: 100%; }
  .employee-directory .select-chip, .select-chip { min-width: 0; }
  .employee-directory .table-wrap, .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Sağ önizləmə paneli: aşağıdan açılan vərəq */
  .employee-preview-panel { position: fixed; left: 8px; right: 8px; bottom: 8px; top: auto; max-height: 82vh; overflow-y: auto; z-index: 1500; transform: translateY(24px); box-shadow: 0 -10px 40px rgba(30,36,110,.28); }
  .employees-layout.preview-open .employee-preview-panel { transform: translateY(0); }

  /* Modal pəncərələr ekrana sığsın */
  .nm-box, .nm-box-lg, .nm-box-xl { width: calc(100% - 16px) !important; max-width: none !important; border-radius: 20px !important; max-height: 94vh; }
  .nm-header { flex-wrap: wrap; gap: 8px; padding: 14px 16px; }
  .nm-view-body, .nm-view-body iframe { width: 100%; max-width: 100%; }
  .record-detail-modal.open { width: calc(100vw - 16px) !important; max-width: none !important; left: 8px !important; right: 8px !important; transform: none !important; overflow-x: hidden !important; padding: 14px !important; }
  .record-detail-modal * { min-width: 0; }
  .candidate-profile-banner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .candidate-profile-banner > div { max-width: 100%; flex-wrap: wrap; }
  .candidate-card-sections, .profile-fact-grid { grid-template-columns: 1fr !important; }
  .candidate-card-section.span-2 { grid-column: auto !important; }

  /* İşçi profili (iframe daxilində də) */
  .profile-hero { flex-direction: column; align-items: flex-start; padding: 20px 16px; gap: 14px; }
  .profile-hero-info, .profile-hero-actions { width: 100%; min-width: 0; }
  .profile-hero-actions { display: flex; flex-wrap: wrap; gap: 8px; }
  .profile-hero-meta { gap: 8px 14px; }
  .tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .tab-btn { flex: 0 0 auto; white-space: nowrap; }
  .em-layout, .fa-layout, .te-layout, .em-main, .em-side, .te-main, .te-side, .fa-side { grid-template-columns: minmax(0, 1fr) !important; min-width: 0; }
  .em-mini-grid, .em-mini-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .dk-grid { grid-template-columns: 1fr !important; }
  .card-pad, .em-card, .fa-card, .te-card { min-width: 0; max-width: 100%; }
  body.is-embed .content { padding: 12px 10px 40px; }
}

/* ---- Sorğular: poçt qutusu üslubu ---- */
.rq-split { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 0; padding: 0; overflow: hidden; align-items: stretch; }
.rq-split.rq-card { padding: 0; }
.rq-split .rq-left { padding: 20px 18px; border-right: 1px solid #edeff8; max-height: 720px; overflow-y: auto; }
.rq-split .rq-tools { flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 14px; }
.rq-split .rq-search { max-width: none; flex: none; }
.rq-split .rq-tabs { margin-left: 0; display: flex; flex-wrap: wrap; background: none; padding: 0; gap: 6px; }
.rq-split .rq-tabs button { padding: 6px 12px; border: 1px solid #e3e6f5; background: #fff; }
.rq-split .rq-tabs button.active { background: #151b44; color: #fff; border-color: #151b44; box-shadow: none; }
.rq-split .rq-tabs button.active em { background: rgba(255,255,255,.2); }
.rq-split .rq-row { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px 14px; margin-bottom: 6px; border-color: transparent; border-radius: 14px; }
.rq-split .rq-row:hover { background: #f6f7fe; box-shadow: none; border-color: transparent; }
.rq-split .rq-row.rq-sel { background: #eceefc; border-color: transparent; box-shadow: inset 3px 0 0 #4a52b4; }
.rq-split .rq-row-bad { background: #fff; }
.rq-split .rq-row-bad.rq-sel { background: #eceefc; }
.rq-split .rq-ico { grid-row: 1 / span 2; grid-column: 1; align-self: start; }
.rq-split .rq-main { grid-column: 2; grid-row: 1; }
.rq-split .rq-main small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.rq-split .rq-main small + small { display: none; }
.rq-split .rq-date { grid-column: 3; grid-row: 1; font-size: 11.5px; font-weight: 600; color: #8189a8; }
.rq-split .rq-date svg { display: none; }
.rq-split .rq-status { grid-column: 2; grid-row: 2; padding: 3px 10px; font-size: 11px; }
.rq-split .rq-acts { display: none; }
.rq-split .rq-group-head span { display: none; }
.rq-pane { min-width: 0; max-height: 720px; overflow-y: auto; }
.rq-pane .rq-pane-in { display: flex; flex-direction: column; min-height: 100%; }
.rq-pane .rqd-head { padding: 26px 30px 18px; }
.rq-pane .rqd-body { padding: 22px 30px; overflow: visible; }
.rq-pane .rqd-foot { padding: 18px 30px; justify-content: flex-end; border-top: 1px solid #edeff8; margin-top: auto; }
.rq-pane .rqd-close { display: none; }
.rq-pane .rqd-primary { flex: none; padding: 12px 20px; }
.rq-pane .rq-withdraw, .rq-pane .rq-retry { padding: 11px 18px; }
.rq-pane-empty { display: grid; place-items: center; height: 100%; min-height: 240px; color: #8189a8; font-size: 14px; }
@media (max-width: 1000px) { .rq-split { grid-template-columns: 1fr; } .rq-split .rq-left { border-right: 0; border-bottom: 1px solid #edeff8; max-height: 420px; } .rq-pane { max-height: none; } }

/* Admin sorğular: poçt qutusu */
.cr-split { margin: 0 -2px; border-top: 1px solid #edeff8; }
.cr-split .rq-left, .cr-split .rq-pane { max-height: 680px; }
.cr-item { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 12px 14px; margin-bottom: 4px; border-radius: 14px; cursor: pointer; }
.cr-item[hidden] { display: none; }
.cr-item:hover { background: #f6f7fe; }
.cr-item.rq-sel { background: #eceefc; box-shadow: inset 3px 0 0 #4a52b4; }
.cr-item-av { grid-row: 1 / span 2; }
.cr-item-main b { display: block; font-size: 13.5px; color: #151b44; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-item-main small { display: block; font-size: 12px; color: #8189a8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-item-date { font-size: 11.5px; color: #8189a8; }
.cr-item-st { grid-column: 2 / span 2; margin-top: 2px; }
.cr-pane .rqd-body, .cr-split .rqd-body { padding: 24px 28px; }

/* Əlaqə sətri: status etiketi öz xanasında */
.pe-contacts .data-table tbody td:nth-of-type(3):not(.cell-actions) { grid-area: lab; justify-self: end; align-self: center; }
.pe-contacts .data-table tbody td:nth-of-type(n+4):not(.cell-actions) { display: none; }

/* ---- İcazə modalı: yeni dizayn (işçi + admin) ---- */
body .pm-box { padding: 0; overflow-x: hidden; border-radius: 26px; background: #f4f5fc; }
body .pm-head { margin: 0; padding: 24px 32px; background: linear-gradient(110deg, #3b3fd0, #5a55e0 60%, #8d83f0); color: #fff; }
body .pm-head h3 { color: #fff; font-size: 22px; }
body .pm-head p { color: #dedfff; }
body .pm-head .ic { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.28); }
body .pm-x { background: rgba(255,255,255,.2); color: #fff; z-index: 2; }
body .pm-x:hover { background: rgba(255,255,255,.32); }
body .pm-box form { padding: 22px 32px 26px; }
body .pm-seg { background: #e4e6f6; }
body .pm-seg button.on { background: linear-gradient(100deg, #3f3fc2, #5b55e0); color: #fff; box-shadow: 0 8px 18px rgba(63,63,194,.3); }
body .pm-sum { background: #ecebff; border: 1px solid #e0defa; }
body .pm-bar { flex: 0 0 100%; display: flex; height: 7px; border-radius: 99px; background: #d9dcf7; overflow: hidden; }
body .pm-bar i { display: block; height: 100%; }
body .pm-bar i.g { background: #4caf6e; } .pm-bar i.b { background: #4a45da; } .pm-bar i.r { background: #d03a4d; }
body .pm-sum b { color: #3a41d0; }
body .pm-chips [data-reason]:nth-child(1) { background: #fdeaec; color: #b3303f; border-color: #fdeaec; }
body .pm-chips [data-reason]:nth-child(2) { background: #fff1d6; color: #8a5a00; border-color: #fff1d6; }
body .pm-chips [data-reason]:nth-child(3) { background: #e3f5ea; color: #1c7a45; border-color: #e3f5ea; }
body .pm-foot { display: flex; justify-content: flex-end; gap: 12px; margin-top: 18px; }
body .pm-cancel { height: 50px; padding: 0 26px; border: 0; border-radius: 14px; background: #e4e6f6; color: #3a41a1; font: inherit; font-weight: 800; cursor: pointer; }
body .pm-foot .pm-go { width: auto; margin: 0; height: 50px; padding: 0 28px; border-radius: 14px; font-size: 15px; box-shadow: 0 12px 24px rgba(70,70,210,.28); }

/* Admin: İcazə jurnalı modalı */
#perm-modal .nm-box { max-width: 820px; border-radius: 26px; background: #f4f5fc; overflow: hidden; padding: 0; }
#perm-modal .nm-header { background: linear-gradient(110deg, #3b3fd0, #5a55e0 60%, #8d83f0); color: #fff; padding: 24px 32px; border: 0; }
#perm-modal .nm-title h3 { color: #fff; } #perm-modal .nm-title p { color: #dedfff; }
#perm-modal .nm-ic { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.28); }
#perm-modal .nm-x { background: rgba(255,255,255,.2); color: #fff; border-radius: 50%; }
#perm-modal .nm-body { padding: 22px 32px 26px; background: #f4f5fc; }
#perm-modal .nm-in { height: 50px; border: 1.5px solid #dfe3f0; border-radius: 14px; background: #fff; font-size: 15px; font-weight: 600; box-shadow: none; }
#perm-modal textarea.nm-in { height: auto; min-height: 100px; }
#perm-modal .nm-f > span { font-size: 13px; font-weight: 700; color: #2f3560; }
#perm-modal .pa-hide { display: none !important; }
#perm-modal .pm-seg { grid-column: 1 / -1; margin-bottom: 4px; }
#perm-modal .pm-chips, #perm-modal .pm-sum { grid-column: 1 / -1; margin-top: 7px; }

#perm-modal .nm-actions { margin-top: 18px; }
#perm-modal .nm-btn-ghost { background: #e4e6f6; color: #3a41a1; border: 0; }
#perm-modal .nm-btn-primary { background: linear-gradient(100deg, #3f3fc2, #7a7fe6); box-shadow: 0 12px 24px rgba(70,70,210,.28); }

/* İcazə modalı əsas stilləri (işçi + admin üçün ümumi) */
.pm-ov { position:fixed; inset:0; z-index:1200; display:none; align-items:center; justify-content:center; padding:16px; background:rgba(20,24,64,.45); backdrop-filter:blur(2px); overflow-y:auto; }
.pm-ov.open { display:flex; }
.pm-box { width:100%; max-width:860px; max-height:calc(100vh - 32px); overflow-y:auto; border-radius:24px; background:#fff; padding:30px 34px; box-shadow:0 30px 80px rgba(30,36,110,.35); position:relative; }
.pm-x { position:absolute; right:16px; top:16px; width:34px; height:34px; border-radius:50%; border:0; background:#f1f2fb; color:#3a41a1; font-size:20px; cursor:pointer; }
.pm-head { display:flex; align-items:center; gap:14px; margin-bottom:18px; padding-right:40px; }
.pm-head .ic { width:52px; height:52px; border-radius:16px; display:grid; place-items:center; background:#eceefc; color:#3f58c8; flex:0 0 auto; }
.pm-head .ic svg { width:24px; height:24px; }
.pm-head h3 { margin:0; font-size:21px; color:#14214f; }
.pm-head p { margin:3px 0 0; font-size:13px; color:#7b86a0; }
.pm-seg { display:grid; grid-template-columns:1fr 1fr; gap:4px; padding:5px; border-radius:16px; background:#eef0f8; margin-bottom:18px; }
.pm-seg button { display:flex; align-items:center; justify-content:center; gap:8px; padding:11px; border:0; border-radius:12px; background:transparent; font:inherit; font-weight:700; color:#5b6384; cursor:pointer; }
.pm-seg button.on { background:#fff; color:#3a41a1; box-shadow:0 4px 12px rgba(51,58,130,.12); }
.pm-seg svg { width:17px; height:17px; }
.pm-lbl { display:block; margin:14px 0 7px; font-size:13px; font-weight:700; color:#2f3560; }
.pm-in { display:flex; align-items:center; gap:10px; padding:0 14px; height:50px; border:1.5px solid #dfe3f0; border-radius:14px; background:#fff; }
.pm-in:focus-within { border-color:#4a52c4; box-shadow:0 0 0 3px rgba(74,82,196,.14); }
.pm-in svg { width:18px; height:18px; color:#7b86a0; flex:0 0 auto; }
.pm-in input, .pm-in input[type=date], .pm-in input[type=time] { flex:1; min-width:0; width:auto; height:100%; min-height:0; margin:0; padding:0; border:0 !important; border-radius:0; box-shadow:none !important; outline:0; background:transparent !important; font:inherit; font-size:15px; font-weight:600; line-height:normal; color:#1b1f5c; -webkit-appearance:none; appearance:none; }
.pm-in input::-webkit-calendar-picker-indicator { display:none; }
.pm-in > svg { cursor:pointer; }
.pm-today { flex:0 0 auto; white-space:nowrap; padding:5px 12px; border-radius:8px; border:0; background:#e8ecff; color:#3a41a1; font-size:12px; font-weight:700; cursor:pointer; }
.pm-range { display:grid; grid-template-columns:1fr auto 1fr; gap:8px; align-items:center; }
.pm-range > svg { width:16px; height:16px; color:#a0a7c2; }
.pm-chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.pm-chip { padding:8px 14px; border-radius:11px; border:1.5px solid #dfe3f0; background:#fff; font:inherit; font-size:13px; font-weight:600; color:#3a3f66; cursor:pointer; }
.pm-chip.on, .pm-chip:hover { border-color:#4a52c4; background:#eef0ff; color:#3a41a1; }
.pm-sum { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:8px; margin-top:16px; padding:14px 16px; border-radius:14px; background:#f3f5fb; font-size:14px; color:#2f3560; }
.pm-sum b { color:#14214f; }
.pm-sum .q { padding:4px 10px; border-radius:8px; background:#e6f6ec; color:#1f8a5b; font-size:12.5px; font-weight:700; }
.pm-sum .q.over { background:#fdeaea; color:#b3261e; }
.pm-ta { width:100%; min-height:100px; padding:12px 14px; border:1.5px solid #dfe3f0; border-radius:14px; font:inherit; font-size:14px; resize:vertical; outline:0; }
.pm-ta:focus { border-color:#4a52c4; box-shadow:0 0 0 3px rgba(74,82,196,.14); }
.pm-cnt { text-align:right; font-size:12px; color:#9aa1bd; margin-top:4px; }
.pm-go { width:100%; margin-top:16px; height:54px; border:0; border-radius:16px; background:linear-gradient(100deg,#3f3fc2,#7a7fe6); color:#fff; font:inherit; font-size:16px; font-weight:800; cursor:pointer; box-shadow:0 14px 28px rgba(70,70,210,.3); }
.pm-err { margin-top:10px; color:#b3261e; font-size:13px; font-weight:600; }
.pm-stats { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:14px; margin-bottom:16px; }
.pm-stat { padding:16px 18px; border-radius:18px; background:#fff; box-shadow:0 8px 22px rgba(51,58,130,.07); }
.pm-stat small { display:block; font-size:12.5px; font-weight:700; color:#7b86a0; }
.pm-stat b { font-size:26px; color:#14214f; } .pm-stat b span { font-size:13px; font-weight:600; color:#8f96b3; }
.pm-stat.w b { color:#b07a12; } .pm-stat.g b { color:#2f7d4a; }
.pm-card { padding:20px 22px; border-radius:22px; background:#fff; box-shadow:0 10px 30px rgba(51,58,130,.08); margin-bottom:18px; }
.pm-card-head { display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:space-between; margin-bottom:14px; }
.pm-card-head h3 { margin:0; font-size:20px; color:#14214f; }
.pm-item { position:relative; display:flex; gap:16px; padding:16px 18px 16px 22px; margin-top:12px; border:1px solid #e6e9f6; border-radius:18px; overflow:hidden; }
.pm-item::before { content:""; position:absolute; left:0; top:0; bottom:0; width:5px; background:#e0a526; }
.pm-item.ok::before { background:#3aa56a; } .pm-item.bad::before { background:#c0392b; }
.pm-date { flex:0 0 62px; height:62px; border-radius:16px; background:#f3f5fb; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.pm-date b { font-size:22px; color:#14214f; line-height:1; } .pm-date span { font-size:11px; font-weight:700; color:#7b86a0; margin-top:3px; }
.pm-main { flex:1; min-width:0; }
.pm-line { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.pm-line b { font-size:17px; color:#14214f; }
.pm-tag { padding:3px 10px; border-radius:9px; background:#eef0f8; color:#3a3f66; font-size:12px; font-weight:700; }
.pm-reason { margin-top:4px; color:#5b6384; font-size:14px; }
.pm-meta { margin-top:6px; font-size:12.5px; color:#9aa1bd; }
.pm-rej { margin-top:8px; padding:9px 12px; border-radius:11px; background:#fbeeee; color:#8c2a2a; font-size:13.5px; }
.pm-st { align-self:flex-start; padding:6px 14px; border-radius:999px; font-size:13px; font-weight:800; white-space:nowrap; background:#fdf3dc; color:#a8730e; }
.pm-st.ok { background:#e3f5ea; color:#2f7d4a; } .pm-st.bad { background:#fbe6e6; color:#a8312b; }
.pm-st::before { content:"●"; margin-right:7px; font-size:10px; }
.pm-acts { display:flex; gap:8px; margin-top:10px; }
.pm-acts button { padding:7px 14px; border:0; border-radius:10px; font:inherit; font-size:13px; font-weight:700; cursor:pointer; background:#eceefc; color:#3a41a1; }
.pm-acts form { margin:0; } .pm-acts .no { background:#fbe6e6; color:#a8312b; }
.pm-empty { padding:26px; text-align:center; color:#8f96b3; }
@media (max-width:640px) { .pm-stats { grid-template-columns:1fr; } .pm-item { flex-wrap:wrap; } }


/* Seçim sahələri (select) digər inputlarla eyni görünüş */
body .pm-in { box-shadow: 0 2px 6px rgba(51,58,130,.06); }
body .pm-in select { appearance: none; -webkit-appearance: none; flex: 1; min-width: 0; height: 100%; margin: 0; padding: 0 26px 0 0; border: 0 !important; outline: 0; box-shadow: none !important; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237b86a0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right center; font: inherit; font-size: 15px; font-weight: 600; color: #1b1f5c; cursor: pointer; }
body .pm-in select:invalid { color: #9aa1bd; font-weight: 500; }

/* Müasir açılan siyahı */
.pm-in.mdd { position: relative; }
.pm-in.mdd > select { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; opacity: 0; pointer-events: none; }
.pm-in .mdd-btn { flex: 1; min-width: 0; height: 100%; padding: 0 28px 0 0; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237b86a0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right center; text-align: left; font: inherit; font-size: 15px; font-weight: 600; color: #1b1f5c; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; outline: 0; }
.pm-in .mdd-btn.ph { color: #9aa1bd; font-weight: 500; }
.pm-in.mdd-open { border-color: #4a52c4; box-shadow: 0 0 0 3px rgba(74,82,196,.14); }
.mdd-pop { position: absolute; z-index: 30; left: -1.5px; right: -1.5px; top: calc(100% + 8px); max-height: 260px; overflow-y: auto; padding: 6px; border: 1px solid #e3e6f5; border-radius: 16px; background: #fff; box-shadow: 0 18px 40px rgba(40,46,120,.22); }
.mdd-pop[hidden] { display: none; }
.mdd-item { padding: 10px 14px; border-radius: 11px; font-size: 14px; font-weight: 600; color: #26305e; cursor: pointer; line-height: 1.35; }
.mdd-item:hover { background: #f1f2fd; }
.mdd-item.on { background: #eceefc; color: #3a41a1; }
.mdd-item.mdd-ph { color: #9aa1bd; font-weight: 500; }

/* İcazə düyməsi */
body a.mp-edit-btn[data-pm-open] { border: 1px solid #5457a724 !important; background: #eff0fa !important; }

#perm-modal .pm-foot .pm-cancel, #perm-modal .pm-foot .pm-go { height: 39px; padding-top: 0; padding-bottom: 0; font-size: 14px; border-radius: 12px; }

/* Cədvəl xanaları */
input.sel-chk, input.sel-all { width: 16px; height: 16px; margin: 0 8px 0 0; vertical-align: middle; accent-color: #4a52b4; cursor: pointer; }

/* ===== Yeni vakansiya modalı (vx-*) ===== */
.vx-box{max-width:1180px;width:calc(100vw - 48px);padding:0;border-radius:26px;overflow:hidden;display:flex;flex-direction:column;max-height:calc(100vh - 40px);background:#fff}
.vx-head{display:flex;align-items:center;gap:14px;padding:22px 28px;border-bottom:1px solid #eceef6}
.vx-ic{width:54px;height:54px;border-radius:16px;background:linear-gradient(135deg,#4f46e5,#7c6cf0);color:#fff;display:grid;place-items:center;flex:none}
.vx-ic svg{width:26px;height:26px}
.vx-ttl small{display:block;font-size:11px;letter-spacing:.18em;color:#8b8fb0;font-weight:700}
.vx-ttl h3{margin:2px 0 0;font-size:22px;color:#1a1c3d}
.vx-x{margin-left:auto;width:42px;height:42px;border:0;border-radius:12px;background:#f1f2f8;font-size:22px;color:#4a4d6e;cursor:pointer}
.vx-form{display:flex;flex-direction:column;min-height:0;flex:1}
.vx-main{display:grid;grid-template-columns:minmax(0,1fr) 380px;min-height:0;flex:1;overflow:hidden}
.vx-left{padding:22px 28px;overflow:auto}
.vx-right{background:#f7f8fc;border-left:1px solid #eceef6;padding:22px 24px;overflow:auto}
.vx-sec{display:flex;align-items:center;gap:10px;margin:18px 0 12px}
.vx-sec:first-child{margin-top:0}
.vx-sec b{font-size:17px;color:#1a1c3d}.vx-sec i{font-style:normal;color:#8b8fb0;font-size:13px}
.vx-n{width:26px;height:26px;border-radius:50%;background:#1f2147;color:#fff;font-size:13px;font-weight:700;display:grid;place-items:center}
.vx-left .field{margin-bottom:12px}
.vx-left .field>label{font-size:13px;font-weight:600;color:#3b3e63;margin-bottom:6px;display:block}
.vx-left .input{height:48px;border:1px solid #dfe2f0;border-radius:14px;padding-top:0;padding-bottom:0;padding-left:14px;font-size:15px;font-weight:600;background:#fff;width:100%}
.vx-left .input:focus{border-color:#6c63e8;box-shadow:0 0 0 3px #6c63e826;outline:0}
.vx-grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.vx-row2{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:14px}
@media(max-width:980px){.vx-main{grid-template-columns:1fr}.vx-right{display:none}.vx-grid4,.vx-row2{grid-template-columns:1fr 1fr}}
.vx-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.vx-chip{display:inline-flex;align-items:center;gap:4px;border:0;background:#eceefb;color:#4338ca;border-radius:999px;padding:5px 12px;font-size:12.5px;font-weight:700;cursor:pointer}
.vx-chip.ok{background:#e4f6ea;color:#1b8a4b;cursor:default}
.vx-chip.on{background:#4f46e5;color:#fff}
.vx-pmh{display:flex;align-items:center;gap:14px;padding:14px 16px;border:1px solid #dfe2f0;background:#f4f5fd;border-radius:16px;margin-bottom:14px;cursor:pointer;position:relative}
.vx-pmh input{position:absolute;opacity:0;pointer-events:none}
.vx-sw{width:46px;height:26px;border-radius:999px;background:#cfd2e6;position:relative;flex:none;transition:.2s}
.vx-sw::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;transition:.2s;box-shadow:0 1px 3px #0003}
.vx-pmh input:checked+.vx-sw{background:#4f46e5}.vx-pmh input:checked+.vx-sw::after{left:23px}
.vx-pmh-t{flex:1}.vx-pmh-t b{display:block;font-size:15px;color:#1a1c3d}.vx-pmh-t small{color:#6b6f93;font-size:13px}
.vx-tag{border:1px solid #dfe2f0;background:#fff;border-radius:999px;padding:5px 12px;font-size:12px;font-weight:800;color:#3b3e63}
.vx-left .vacancy-editor{border:1px solid #dfe2f0;border-radius:16px;overflow:hidden;background:#fff}
.vx-left .vacancy-editor-toolbar{background:#f7f8fc;border-bottom:1px solid #eceef6}
.vx-left .vacancy-editor-area{min-height:130px;padding:14px 16px}
.vx-cnt{text-align:right;color:#9a9dbb;font-size:12.5px;padding:0 14px 10px}
.vx-tpl{display:flex;align-items:center;gap:8px;margin-top:10px;color:#8b8fb0;font-size:13px}
.vx-tpl .vx-chip{background:#fff;border:1px solid #dfe2f0;color:#1a1c3d}
.vx-pvh{font-size:11.5px;letter-spacing:.14em;font-weight:800;color:#8b8fb0;margin-bottom:14px;display:flex;align-items:center;gap:8px}
.vx-pvh i{width:8px;height:8px;border-radius:50%;background:#2fb36b}
.vx-pv{background:#fff;border:1px solid #eceef6;border-radius:20px;padding:20px;box-shadow:0 8px 24px #4f46e514}
.vx-pv-b{display:flex;gap:8px}
.vx-pv h4{margin:12px 0 6px;font-size:21px;line-height:1.2;color:#1a1c3d}
.vx-pv p{margin:0 0 12px;color:#6b6f93;font-size:14px}
.vx-pv-l{list-style:none;margin:0 0 14px;padding:0;display:grid;gap:8px;font-size:14px;color:#3b3e63;font-weight:600}
.vx-pv-l li[hidden]{display:none}
.vx-pv-sk{display:grid;gap:8px;margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid #eceef6}
.vx-pv-sk i{height:8px;border-radius:4px;background:#eceef6}.vx-pv-sk i:nth-child(2){width:80%}.vx-pv-sk i:nth-child(3){width:50%}
.vx-pv-f{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:#6b6f93}
.vx-pv-f b{color:#c0392b}
.vx-pv-btn{background:#1f2147;color:#fff;border-radius:12px;padding:10px 16px;font-weight:700;font-size:14px}
.vx-ck{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:12px;font-size:14.5px;color:#3b3e63;font-weight:600}
.vx-ck li{display:flex;align-items:center;gap:10px;opacity:.55}
.vx-ck li i{width:22px;height:22px;border-radius:50%;border:2px solid #d4d7e8;flex:none;position:relative}
.vx-ck li.on{opacity:1}.vx-ck li.on i{background:#2fb36b;border-color:#2fb36b}
.vx-ck li.on i::after{content:"";position:absolute;left:6px;top:2px;width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.vx-foot{display:flex;align-items:center;gap:12px;padding:16px 28px;border-top:1px solid #eceef6;background:#fff}
.vx-hint{margin-right:auto;color:#8b8fb0;font-size:13.5px}
.vx-cancel{border:0;background:transparent;color:#6b6f93;font-weight:700;font-size:15px;padding:0 14px;cursor:pointer}
.vx-go{height:46px;padding:0 24px;border:0;border-radius:14px;background:linear-gradient(135deg,#4f46e5,#7c6cf0);color:#fff;font-weight:700;font-size:15px;cursor:pointer}
.vx-go:disabled{opacity:.5;cursor:not-allowed}
.vx-left .co-combo{position:relative}

.vx-left select.input,.vx-left .co-combo input.input{padding-right:40px!important;text-overflow:ellipsis}
.vx-left .co-combo input.input{appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23363983' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 13px center/15px}
.vx-left .vx-grid4 .input{font-size:14px}

/* Vakansiya yarat düymələri: mətn və "+" ağ */
[data-modal-open="modal-add-vacancy"], [data-modal-open="modal-add-vacancy"] * { color:#fff !important; }
[data-modal-open="modal-add-vacancy"] svg { stroke:#fff !important; }

/* Namizəd reyestri: e-poçt tam görünsün, status pill-də tək nöqtə */
.candidate-directory .data-table td.cand-mail { max-width:none; overflow:visible; text-overflow:clip; white-space:nowrap; }
.candidate-directory .ov-pill.badge { display:inline-flex; align-items:center; gap:7px; }

/* Müraciət məlumatları: başlıq mətni ağ */
body .pm-head .pm-head-t h2 { color:#fff; }
body .pm-head .pm-head-t small { color:#dedfff; }
body .pm-head .pm-pills span { background:rgba(255,255,255,.18); color:#fff; }
body .pm-head .pm-close { background:rgba(255,255,255,.18); color:#fff; }

/* ===== E-poçt şablonu modalı (tx-*) ===== */
.tx-box{max-width:1180px;width:calc(100vw - 48px);padding:0;border-radius:26px;overflow:hidden;display:flex;flex-direction:column;max-height:calc(100vh - 40px);background:#fff}
.tx-head{display:flex;align-items:center;gap:14px;padding:22px 28px;background:linear-gradient(110deg,#3b3fd0,#5a55e0 60%,#8d83f0);color:#fff}
.tx-hic{width:50px;height:50px;border-radius:15px;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.28);display:grid;place-items:center;flex:none}
.tx-hic svg{width:24px;height:24px}
.tx-ttl h3{margin:0;font-size:21px;color:#fff}.tx-ttl p{margin:3px 0 0;font-size:13px;color:#dedfff}
.tx-x{margin-left:auto;width:42px;height:42px;border:0;border-radius:12px;background:rgba(255,255,255,.18);color:#fff;font-size:22px;cursor:pointer;display:grid;place-items:center;text-decoration:none}
.tx-form{display:flex;flex-direction:column;min-height:0;flex:1}
.tx-main{display:grid;grid-template-columns:minmax(0,1fr) 400px;min-height:0;flex:1;overflow:hidden}
.tx-left{padding:22px 28px;overflow:auto}
.tx-right{background:#f7f8fc;border-left:1px solid #eceef6;padding:22px 24px;overflow:auto}
@media(max-width:980px){.tx-main{grid-template-columns:1fr}.tx-right{display:none}}
.tx-lbl{display:block;font-size:13px;font-weight:700;color:#3b3e63;margin:0 0 8px}
.tx-lbl small{font-weight:500;color:#8b8fb0}.tx-lbl i{color:#c0392b;font-style:normal}
.tx-code{display:flex;align-items:center;gap:12px;padding:12px 16px;border:1px solid #dfe2f0;background:#f4f5fd;border-radius:16px;margin-bottom:16px}
.tx-lock{width:34px;height:34px;border-radius:10px;background:#fff;display:grid;place-items:center;color:#4a52c4}.tx-lock svg{width:18px;height:18px}
.tx-code-l{color:#3b3e63;font-weight:600;font-size:14px}
.tx-active{margin-left:auto;color:#1b8a4b;font-weight:700;font-size:12.5px}.tx-active::before{content:"● ";font-size:10px}
.tx-active.off{color:#8b8fb0}
.tx-row2{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:16px}
.tx-in{display:flex;align-items:center;gap:10px;height:52px;padding:0 14px;border:1.5px solid #dfe2f0;border-radius:14px;background:#fff;transition:.15s}
.tx-in:focus-within{border-color:#6c63e8;box-shadow:0 0 0 3px #6c63e826}
.tx-ic{width:32px;height:32px;border-radius:10px;background:#eceefc;color:#4a52c4;display:grid;place-items:center;flex:none}.tx-ic svg{width:17px;height:17px}
.tx-in input,.tx-sel{flex:1;min-width:0;border:0;outline:0;background:transparent;font:inherit;font-size:15px;font-weight:600;color:#1a1c3d;height:100%}
.tx-in-sel{margin-bottom:16px}
.tx-field{margin-bottom:16px}
.tx-editor{border:1.5px solid #dfe2f0;border-radius:16px;overflow:hidden;background:#fff}
.tx-editor:focus-within{border-color:#6c63e8;box-shadow:0 0 0 3px #6c63e826}
.tx-editor .vacancy-editor-toolbar{background:#f4f5fd;border-bottom:1px solid #eceef6}
.tx-editor .vacancy-editor-area{min-height:190px;padding:14px 16px;line-height:1.7}
.tx-ed-foot{display:flex;justify-content:space-between;padding:10px 16px;border-top:1px solid #eceef6;color:#8b8fb0;font-size:12.5px}
.tx-vars{border:1.5px dashed #d4d7e8;border-radius:18px;padding:16px}
.tx-vars-h{margin-bottom:12px;font-size:13px;color:#8b8fb0}.tx-vars-h b{color:#1a1c3d;font-size:14px}
.tx-vars-g{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
@media(max-width:1100px){.tx-vars-g{grid-template-columns:repeat(2,minmax(0,1fr))}}
.tx-var{display:flex;align-items:center;gap:10px;padding:10px 12px;border:0;border-radius:12px;text-align:left;cursor:pointer;font:inherit}
.tx-var-ic{width:32px;height:32px;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:15px;flex:none}
.tx-var b{display:block;font-size:13.5px}.tx-var code{display:block;font-size:11px;background:transparent;padding:0;opacity:.8}
.tx-blue{background:#e7e9fb;color:#2f3699}.tx-amber{background:#fbeccd;color:#8a5a0b}.tx-rose{background:#fbe0e4;color:#9b2c3e}
.tx-green{background:#dff3e6;color:#1b6a3c}.tx-violet{background:#ece4fb;color:#5b3aa8}
.tx-var:hover{filter:brightness(.97)}
.tx-pv{background:#fff;border:1px solid #eceef6;border-radius:20px;overflow:hidden;box-shadow:0 8px 24px #4f46e514}
.tx-pv-h{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;background:#1f2147;color:#fff;font-size:12px;letter-spacing:.14em;font-weight:800}
.tx-pv-h i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#2fb36b;margin-right:8px}
.tx-pv-h em{font-style:normal;font-size:12px;letter-spacing:0;font-weight:600;background:rgba(255,255,255,.14);padding:5px 12px;border-radius:999px}
.tx-pv-b{padding:18px}
.tx-pv-m{font-size:13px;color:#6b6f93;margin-bottom:6px}.tx-pv-m b{color:#1a1c3d;margin-left:6px}
.tx-pv-b h4{margin:16px 0 12px;font-size:19px;color:#1a1c3d}
.tx-pv-body{font-size:14px;line-height:1.7;color:#3b3e63;padding-bottom:14px;border-bottom:1px solid #eceef6}
.tx-pv-body mark{background:#e7e9fb;color:#2f3699;font-weight:700;border-radius:6px;padding:1px 6px}
.tx-pv-sig{display:flex;align-items:center;gap:12px;margin-top:14px}
.tx-pv-av{width:40px;height:40px;border-radius:12px;background:#4f46e5;color:#fff;font-weight:800;font-size:13px;display:grid;place-items:center}
.tx-pv-sig b{display:block;font-size:14px;color:#1a1c3d}.tx-pv-sig small{color:#8b8fb0}
.tx-foot{display:flex;align-items:center;gap:12px;padding:16px 28px;border-top:1px solid #eceef6;background:#fff}
.tx-hint{margin-right:auto;color:#8b8fb0;font-size:13px}
.tx-cancel{height:46px;padding:0 22px;border:0;border-radius:14px;background:#eceef6;color:#4a4d6e;font-weight:700;font-size:15px;cursor:pointer;display:inline-flex;align-items:center;text-decoration:none}
.tx-go{height:46px;padding:0 26px;border:0;border-radius:14px;background:linear-gradient(135deg,#3b3fd0,#6c63e8);color:#fff;font-weight:700;font-size:15px;cursor:pointer}

/* Məktub şablonları: axtarış və filtr eyni hündürlükdə */
.tpl-toolbar .input, .tpl-toolbar .select-chip { height:40px; box-sizing:border-box; padding-top:0; padding-bottom:0; display:inline-flex; align-items:center; }
.tpl-toolbar .input { display:block; }

.tx-code-l{font-family:ui-monospace,Consolas,monospace;font-size:12px;color:#8b8fb0;font-weight:500}

/* Seçim xanası flex sətrin içində: ad ilə eyni xəttdə */
td > div > input.sel-chk, th > div > input.sel-all { flex:0 0 auto; margin:0 12px 0 0; align-self:center; }

/* Vakansiya modalı: avtomatik ikon (field-icon) mətnin üstünə düşməsin */
.vx-left .field-icon .input, .vx-left .field-icon select.input, .vx-left .field-icon .co-combo input.input { padding-left:56px !important; }
.vx-left .field-icon { position:relative; }

/* Admin baxış rejimi */
.imp-banner{position:sticky;top:0;z-index:9999;display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;padding:10px 16px;background:#f6c343;color:#3d2e00;font-size:14px;font-weight:600;box-shadow:0 2px 8px #0002}
.imp-banner button{border:0;border-radius:10px;padding:7px 16px;background:#3d2e00;color:#fff;font-weight:700;cursor:pointer}

/* ===== Əmr detalı (ov2) ===== */
.ov2-box{max-width:860px;width:calc(100vw - 48px);padding:0;border-radius:22px;overflow:hidden;display:flex;flex-direction:column;max-height:calc(100vh - 40px);background:#f6f7fd}
.ov2-head{background:linear-gradient(110deg,#3b3fd0,#5a55e0 60%,#8d83f0);color:#fff}
.ov2-top{display:flex;align-items:center;gap:12px;padding:16px 20px}
.ov2-hic{width:44px;height:44px;border-radius:13px;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.3);display:grid;place-items:center;flex:none}.ov2-hic svg{width:21px;height:21px}
.ov2-ht{flex:1;min-width:0}.ov2-eyebrow{font-size:10.5px;letter-spacing:.16em;font-weight:800;color:#dcdcff}
.ov2-ht h3{margin:1px 0 0;font-size:21px;letter-spacing:.02em;color:#fff;font-family:ui-monospace,Consolas,monospace}
.ov2-sub{color:#e3e4ff;font-size:13px;margin-top:1px}
.ov2-status{padding:6px 13px;border-radius:999px;font-weight:700;font-size:12.5px;background:#fbeccd;color:#8a5a0b;white-space:nowrap}
.ov2-status.success{background:#dff3e6;color:#1b6a3c}.ov2-status.info{background:#e1e6fb;color:#2f3699}.ov2-status.danger{background:#fbe0e4;color:#9b2c3e}.ov2-status.neutral{background:#eceef6;color:#4a4d6e}
.ov2-x{width:34px;height:34px;border:0;border-radius:10px;background:rgba(255,255,255,.18);color:#fff;font-size:20px;cursor:pointer;line-height:1;flex:none}
.ov2-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:11px 20px;background:rgba(20,20,90,.28)}
.ov2-step{display:flex;align-items:center;gap:9px;min-width:0}.ov2-step b{display:block;font-size:12.5px;color:#e6e6ff;font-weight:700}.ov2-step small{display:block;font-size:11px;color:#c6c7ee}
.ov2-sn{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:12px;background:rgba(255,255,255,.18);color:#fff;flex:none}
.ov2-step.done .ov2-sn{background:#33b36b}.ov2-step.cur .ov2-sn{background:#fff;color:#3b3fd0;box-shadow:0 0 0 3px rgba(255,255,255,.3)}.ov2-step.cur b{color:#fff}
@media(max-width:700px){.ov2-steps{grid-template-columns:1fr 1fr}}
.ov2-body{padding:16px 20px;overflow:auto;flex:1;min-height:0}
.ov2-emp{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid #eceef6;border-radius:16px;padding:12px 16px;margin-bottom:16px}
.ov2-av{width:46px;height:46px;border-radius:13px;background:linear-gradient(135deg,#f3c27a,#e09a4a);color:#fff;font-weight:800;font-size:16px;display:grid;place-items:center;flex:none}
.ov2-emp-t{flex:1;min-width:0}.ov2-emp-t b{display:block;font-size:16px;color:#1a1c3d}
.ov2-emp-m{display:flex;align-items:center;gap:8px;color:#6b6f93;font-size:12.5px;margin-top:2px;flex-wrap:wrap}
.ov2-code{background:#e7e9fb;color:#2f3699;font-weight:800;border-radius:7px;padding:1px 8px;font-size:12px}
.ov2-ack{border-radius:11px;padding:7px 12px;background:#fbeccd;color:#8a5a0b;border:1px solid #f1d9a0}.ov2-ack small{display:block;font-size:9.5px;letter-spacing:.1em;font-weight:800}.ov2-ack b{font-size:13px}
.ov2-ack.ok{background:#dff3e6;color:#1b6a3c;border-color:#bfe4cd}
.ov2-sec{display:flex;align-items:center;gap:8px;margin:0 0 9px}.ov2-sec h4{margin:0;font-size:11.5px;letter-spacing:.14em;color:#6b6f93}
.ov2-sic{width:26px;height:26px;border-radius:8px;background:#eceefc;color:#4a52c4;display:grid;place-items:center}.ov2-sic svg{width:14px;height:14px}
.ov2-change{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:center;margin-bottom:16px}
.ov2-cbox{background:#fff;border:1px solid #eceef6;border-radius:15px;padding:12px 15px}.ov2-cbox.new{background:#efeafe;border-color:#d9d2f7}
.ov2-chd{font-size:10.5px;letter-spacing:.14em;font-weight:800;color:#6b6f93;margin-bottom:6px}.ov2-cbox.new .ov2-chd{color:#4a3fc0}
.ov2-crow{padding:5px 0}.ov2-crow+.ov2-crow{border-top:1px dashed #e0e3f0}
.ov2-crow small{display:block;color:#8b8fb0;font-size:11.5px}.ov2-crow div{font-weight:700;font-size:14px;color:#1a1c3d;line-height:1.35}
.ov2-tag{font-style:normal;font-size:10.5px;font-weight:700;border-radius:6px;padding:1px 7px;vertical-align:middle;margin-left:4px}
.ov2-tag.same{background:#fff;color:#6b6f93}.ov2-tag.new{background:#4a3fc0;color:#fff}
.ov2-arrow{width:34px;height:34px;border-radius:50%;background:#4a3fc0;color:#fff;display:grid;place-items:center;font-size:17px}
@media(max-width:700px){.ov2-change{grid-template-columns:1fr}.ov2-arrow{margin:0 auto;transform:rotate(90deg)}}
.ov2-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px;margin-bottom:12px}
.ov2-card{display:flex;align-items:center;gap:11px;background:#fff;border:1px solid #eceef6;border-radius:14px;padding:11px 13px}
.ov2-cic{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;flex:none}.ov2-cic svg{width:18px;height:18px}
.ov2-cic.t-g{background:#e6f4ec;color:#1b8a4b}.ov2-cic.t-o{background:#fbeccd;color:#b9791a}.ov2-cic.t-v{background:#ece4fb;color:#5b3aa8}
.ov2-card small{display:block;color:#8b8fb0;font-size:11.5px}.ov2-cv{font-weight:700;font-size:14px;color:#1a1c3d;word-break:break-word;line-height:1.3}
.ov2-tech{margin-top:4px;border:1.5px dashed #d4d7e8;border-radius:13px;background:#fff}
.ov2-tech-h{display:flex;align-items:center;gap:8px;width:100%;padding:10px 14px;border:0;background:transparent;cursor:pointer;font:inherit;font-size:13px;color:#3b3e63;text-align:left}
.ov2-tech-h span{color:#8b8fb0;font-family:monospace}.ov2-tech-h em{font-style:normal;color:#8b8fb0;font-size:12px;flex:1}.ov2-tech-h i{font-style:normal;font-size:16px;transition:.2s}
.ov2-tech.open .ov2-tech-h i{transform:rotate(180deg)}
.ov2-tech-b{padding:2px 14px 12px;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:8px 20px}
.ov2-trow small{display:block;color:#8b8fb0;font-size:11px}.ov2-trow div{font-size:13px;color:#1a1c3d;word-break:break-word}
.ov2-foot{display:flex;align-items:center;gap:10px;padding:12px 20px;background:#fff;border-top:1px solid #eceef6}
.ov2-fd{margin-right:auto;color:#8b8fb0;font-size:12.5px}.ov2-fd b{color:#1a1c3d}
.ov2-btn{height:38px;padding:0 17px;border-radius:11px;font-weight:700;font-size:13.5px;cursor:pointer;display:inline-flex;align-items:center;gap:7px;text-decoration:none;border:1.5px solid transparent}
.ov2-btn svg{width:16px;height:16px}
.ov2-ghost{background:#eceef6;color:#4a4d6e}.ov2-out{background:#fff;color:#3b3fd0;border-color:#dfe2f0}
.ov2-main{background:linear-gradient(135deg,#3b3fd0,#6c63e8);color:#fff;box-shadow:0 6px 16px #4f46e540}

/* ===== Şablon sahələri (ov3) ===== */
.ov3{margin-top:6px;border:1px solid #dcdff3;border-radius:16px;background:#fff;overflow:hidden}
.ov3-h{display:flex;align-items:center;gap:10px;padding:10px 14px;background:linear-gradient(110deg,#f3f1ff,#ece9fc)}
.ov3-hic{width:34px;height:34px;border-radius:10px;background:#4a3fc0;color:#fff;display:grid;place-items:center;font:700 13px monospace;flex:none}
.ov3-ht{flex:1;min-width:0}.ov3-ht b{display:block;font-size:14px;color:#1a1c3d}.ov3-ht small{color:#8b8fb0;font-size:11.5px}
.ov3-q{display:flex;align-items:center;gap:6px;height:34px;padding:0 10px;border:1px solid #dcdff3;border-radius:10px;background:#fff;margin:0}
.ov3-q svg{width:15px;height:15px;color:#8b8fb0}.ov3-q input{border:0;outline:0;font:inherit;font-size:12.5px;width:130px;background:transparent}
.ov3-tg{width:34px;height:34px;border:1px solid #dcdff3;border-radius:10px;background:#fff;color:#4a3fc0;font-size:16px;cursor:pointer;transition:.2s}
.ov3.closed .ov3-tg{transform:rotate(180deg)}.ov3.closed .ov3-b{display:none}
.ov3-b{padding:12px 14px 14px}
.ov3-sec{margin-bottom:14px}.ov3-sh{display:flex;align-items:center;gap:7px;margin-bottom:7px;font-size:11px;letter-spacing:.12em}
.ov3-sh b{font-weight:800}.ov3-sh em{font-style:normal;color:#9a9dbb;letter-spacing:0;font-size:11px}
.ov3-si{width:22px;height:22px;border-radius:7px;display:grid;place-items:center;font-size:12px}
.g{color:#2f8a52}.b{color:#4a52c4}.o{color:#9a6a12}.v{color:#6b3fc0}
.ov3-si.g{background:#e3f4ea}.ov3-si.b{background:#e9ebfb}.ov3-si.o{background:#fbeccd}.ov3-si.v{background:#ece4fb}
.ov3-grid{display:grid;gap:8px}.ov3-grid.c3{grid-template-columns:repeat(3,1fr)}.ov3-grid.c2{grid-template-columns:repeat(2,1fr)}
@media(max-width:700px){.ov3-grid.c3,.ov3-grid.c2{grid-template-columns:1fr}}
.ov3-card{background:#f6f7fd;border:1px solid #eceef6;border-radius:11px;padding:8px 11px}
.ov3-card small,.ov3-sg small{display:block;color:#8b8fb0;font-size:11px}.ov3-card b{display:block;font-size:13px;color:#1a1c3d;word-break:break-word}
.ov3-clauses{background:#fffcf2;border:1px solid #f1e6bd;border-radius:13px;padding:4px 12px}
.ov3-cl{display:flex;align-items:flex-start;gap:10px;padding:10px 0}.ov3-cl+.ov3-cl{border-top:1px dashed #eadfb6}
.ov3-n{width:26px;height:26px;border-radius:8px;background:#fbeccd;color:#8a5a0b;display:grid;place-items:center;font-weight:800;font-size:12px;flex:none}
.ov3-ct{flex:1;min-width:0}.ov3-ct small{display:block;font-size:10.5px;letter-spacing:.08em;color:#b09a5c;font-weight:700}
.ov3-ct p{margin:2px 0 0;font-family:"Times New Roman",serif;font-size:14px;color:#222;line-height:1.5}.ov3-ct mark{background:#fbeccd;color:inherit;border-radius:3px}
.ov3-cp{border:1px solid #e6e1c8;background:#fff;color:#8b8fb0;border-radius:8px;font:inherit;font-size:11px;padding:3px 10px;cursor:pointer;flex:none}
.ov3-sg{display:flex;align-items:center;gap:10px;background:#f6f7fd;border:1px solid #eceef6;border-radius:12px;padding:8px 11px}
.ov3-sg.more{display:none}.ov3-grid.open .ov3-sg.more,.ov3-b.searching .ov3-sg.more{display:flex}
.ov3-av{width:34px;height:34px;border-radius:10px;background:#ece9fc;color:#6b3fc0;font-weight:800;font-size:12px;display:grid;place-items:center;flex:none}.ov3-av.main{background:#4a3fc0;color:#fff}
.ov3-sg b{display:block;font-size:13px;color:#1a1c3d}
.ov3-more{display:block;margin:8px auto 0;border:0;background:transparent;color:#4a3fc0;font:inherit;font-weight:700;font-size:12.5px;cursor:pointer}

/* Sorğu detalı: qərar düymələri status zolağında */
.rqd-pills{display:flex;gap:6px;margin-left:auto;margin-right:8px}
.rqd-pill{height:26px;padding:0 13px;border-radius:999px;border:1.5px solid transparent;font:inherit;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap}
.rqd-pill.ok{background:#e3f5ea;color:#1f7a45;border-color:#bfe4cd}.rqd-pill.ok:hover{background:#d3eede}
.rqd-pill.bad{background:#fff;color:#b3261e;border-color:#f2c6ca}.rqd-pill.bad:hover{background:#fdeaea}
.rqd-pill.neutral{background:#eceefc;color:#3b3fd0;border-color:#d9dcf6}

/* Seçim paneli: animasiyalı göstər/gizlət (hidden atributu ilə) */
.be2-sel-bar { display: flex !important; overflow: hidden; max-height: 120px; opacity: 1; transform: translateY(0);
  transition: max-height .28s ease, opacity .22s ease, transform .28s cubic-bezier(.2,.8,.2,1), margin .28s ease, padding .28s ease; }
.be2-sel-bar[hidden] { max-height: 0; opacity: 0; transform: translateY(-10px); margin-top: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; pointer-events: none; box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .be2-sel-bar { transition: none; } }

/* Vakansiya əlavə et düyməsi: ağ fon, tünd mətn və ikon */

/* ===== API açarları səhifəsi (ak2) ===== */
.ak2 { display: flex; flex-direction: column; gap: 16px; }
.ak2 code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.ak2-hero { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 20px 24px; border-radius: 18px; color: #fff; background: linear-gradient(120deg, #3a3fb3 0%, #5b57e0 55%, #7a63ee 100%); box-shadow: 0 10px 26px rgba(70, 70, 190, .28); }
.ak2-hero-l { display: flex; align-items: center; gap: 14px; }
.ak2-hero-ico { width: 46px; height: 46px; border-radius: 13px; background: rgba(255, 255, 255, .18); display: grid; place-items: center; }
.ak2-hero-ico svg { width: 24px; height: 24px; }
.ak2-hero h2 { margin: 0; font-size: 22px; color: #fff; }
.ak2-hero p { margin: 3px 0 0; font-size: 13px; color: rgba(255, 255, 255, .82); }
.ak2-hero p code { background: rgba(255, 255, 255, .18); padding: 1px 6px; border-radius: 6px; }
.ak2-stats { display: flex; gap: 10px; flex-wrap: wrap; }
.ak2-stat { min-width: 118px; padding: 9px 14px; border-radius: 12px; background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .22); }
.ak2-stat small { display: block; font-size: 11px; color: rgba(255, 255, 255, .8); }
.ak2-stat b { font-size: 18px; }

.ak2-card { background: #fff; border: 1px solid #e6e8f5; border-radius: 16px; padding: 18px 20px; box-shadow: 0 4px 14px rgba(40, 45, 120, .05); }
.ak2-card-h { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: #1c2252; }
.ak2-card-h b { font-size: 16px; }
.ak2-plus { width: 26px; height: 26px; border-radius: 8px; background: #eceefe; color: #4b4fd0; display: grid; place-items: center; font-weight: 700; }
.ak2-keyico { width: 28px; height: 28px; border-radius: 9px; background: #e5f6ec; color: #1f9d5b; display: grid; place-items: center; }
.ak2-keyico.book { background: #e9ecfd; color: #4b4fd0; }
.ak2-keyico svg { width: 16px; height: 16px; }
.ak2-count { margin-left: 4px; font-size: 12px; background: #eef0fb; color: #5b6090; padding: 2px 9px; border-radius: 999px; }
.ak2-bulk { margin-left: auto; }

.ak2-row { display: flex; gap: 18px; flex-wrap: wrap; align-items: flex-end; }
.ak2-f label { display: block; font-size: 12px; font-weight: 600; color: #4b5180; margin-bottom: 6px; }
.ak2-grow { flex: 1 1 320px; }
.ak2-f input[type=text], .ak2-f input[type=date] { width: 100%; box-sizing: border-box; height: 42px; border: 1px solid #dfe3f4; border-radius: 11px; padding: 0 12px; font: inherit; background: #fff; color: #1c2252; }
.ak2-f input:focus { outline: none; border-color: #6b6fe6; box-shadow: 0 0 0 3px rgba(107, 111, 230, .15); }
.ak2-exp { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ak2-exp input[type=date] { width: 150px; }
.ak2-chip { height: 42px; padding: 0 20px; border-radius: 11px; border: 1px solid #dfe3f4; background: #fff; color: #3f4580; font: inherit; font-weight: 600; cursor: pointer; transition: all .15s; }
.ak2-chip:hover { border-color: #b7bcf0; }
.ak2-chip.on { background: #3f43c9; border-color: #3f43c9; color: #fff; }

.ak2-perm-title { margin: 18px 0 8px; font-size: 12px; font-weight: 700; color: #4b5180; }
.ak2-perm-title span { font-weight: 500; color: #8a91b3; }
.ak2-perms { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.ak2-perm { position: relative; display: flex; align-items: center; gap: 11px; padding: 12px 14px; border: 1.5px solid #e3e6f5; border-radius: 13px; cursor: pointer; background: #fff; transition: all .15s; }
.ak2-perm:hover { border-color: #c4c8f0; }
.ak2-perm input { position: absolute; top: 12px; right: 12px; width: 17px; height: 17px; accent-color: #4046d6; margin: 0; }
.ak2-perm.on { border-color: #4a4fdc; background: #f5f6ff; }
.ak2-perm-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: 0 0 auto; }
.ak2-perm-ico svg { width: 19px; height: 19px; }
.ak2-perm[data-c=blue] .ak2-perm-ico { background: #e8eafe; color: #4b4fd0; }
.ak2-perm[data-c=red] .ak2-perm-ico { background: #fde9ea; color: #d6455a; }
.ak2-perm[data-c=orange] .ak2-perm-ico { background: #fff0dc; color: #e08a1e; }
.ak2-perm[data-c=green] .ak2-perm-ico { background: #e1f6ea; color: #1f9d5b; }
.ak2-perm-t { display: flex; flex-direction: column; padding-right: 22px; }
.ak2-perm-t b { font-size: 14px; color: #1c2252; }
.ak2-perm-t b em { font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: .4px; color: #d6455a; background: #fde9ea; padding: 1px 6px; border-radius: 6px; margin-left: 4px; vertical-align: middle; }
.ak2-perm-t small { color: #8a91b3; font-size: 11.5px; }

.ak2-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 18px; padding-top: 14px; border-top: 1px dashed #e3e6f5; }
.ak2-warn { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; background: #fff7e5; border: 1px solid #f3dca6; color: #8a6414; font-size: 12.5px; }
.ak2-warn svg { width: 16px; height: 16px; flex: 0 0 auto; }
.ak2-submit { height: 44px; padding: 0 24px; border: 0; border-radius: 12px; background: linear-gradient(120deg, #3d41c4, #5a56e6); color: #fff; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 8px 18px rgba(70, 72, 200, .3); }
.ak2-submit:hover { filter: brightness(1.06); }

.ak2-new { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 18px; border-radius: 14px; background: #1b1f4a; color: #fff; }
.ak2-new-ok { width: 34px; height: 34px; border-radius: 50%; background: #3fb57a; display: grid; place-items: center; flex: 0 0 auto; }
.ak2-new-ok svg { width: 18px; height: 18px; }
.ak2-new-t { display: flex; flex-direction: column; flex: 1 1 260px; }
.ak2-new-t small { color: rgba(255, 255, 255, .65); font-size: 12px; }
.ak2-new-key { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); border-radius: 11px; padding: 6px 6px 6px 14px; }
.ak2-new-key code { font-size: 13px; color: #dfe2ff; }
.ak2-copy { border: 0; border-radius: 8px; height: 32px; padding: 0 14px; background: #fff; color: #1b1f4a; font: inherit; font-weight: 700; cursor: pointer; }

.ak2-tablecard { padding-bottom: 8px; }
.ak2-tw { overflow-x: auto; }
.ak2-table { width: 100%; border-collapse: collapse; min-width: 880px; }
.ak2-table th { text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: #8a91b3; padding: 8px 10px; border-bottom: 1px solid #eceef8; }
.ak2-table td { padding: 14px 10px; border-bottom: 1px solid #f0f1fa; vertical-align: middle; font-size: 13px; color: #1c2252; }
.ak2-table tr:last-child td { border-bottom: 0; }
.ak2-table td b { display: block; font-weight: 700; }
.ak2-table td small { display: block; color: #8a91b3; font-size: 11.5px; margin-top: 2px; }
.ak2-r { text-align: right !important; }
.ak2-dim { opacity: .55; }
.ak2-none { text-align: center; color: #8a91b3; padding: 22px !important; }
.ak2-mute { color: #9aa0c0; font-size: 12.5px; }
.ak2-prefix { background: #f1f2fb; border: 1px solid #e3e6f5; border-radius: 8px; padding: 4px 9px; font-size: 12px; color: #4b5180; }
.ak2-pill { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700; margin: 1px 4px 1px 0; }
.ak2-pill.blue { background: #e8eafe; color: #4046d6; }
.ak2-pill.red { background: #fde9ea; color: #d6455a; }
.ak2-pill.orange { background: #fff0dc; color: #c9780f; }
.ak2-pill.green { background: #e1f6ea; color: #1b8a52; }
.ak2-pill.navy { background: #e3e6f7; color: #272b6b; }
.ak2-bar { width: 120px; height: 5px; border-radius: 999px; background: #eceef8; margin-top: 6px; overflow: hidden; }
.ak2-bar i { display: block; height: 100%; border-radius: 999px; }
.ak2-bar i.g { background: #3fb57a; } .ak2-bar i.o { background: #f0a23a; } .ak2-bar i.r { background: #e0525f; }
.ak2-st { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 4px 11px; border-radius: 999px; }
.ak2-st i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ak2-st.green { background: #e1f6ea; color: #1b8a52; } .ak2-st.blue { background: #e8eafe; color: #4046d6; }
.ak2-st.red { background: #fde9ea; color: #d6455a; } .ak2-st.gray { background: #eef0f6; color: #6b7094; }
.ak2-acts { display: inline-flex; align-items: center; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.ak2-acts form { margin: 0; }
.ak2-btn { height: 34px; padding: 0 14px; border-radius: 10px; border: 1px solid #dfe3f4; background: #fff; color: #3f4580; font: inherit; font-weight: 600; font-size: 12.5px; cursor: pointer; }
.ak2-btn:hover { background: #f5f6ff; }
.ak2-btn.danger { border-color: #f0c4c9; color: #d6455a; }
.ak2-btn.danger:hover { background: #fff2f3; }
.ak2-seg { display: inline-flex; border: 1px solid #dfe3f4; border-radius: 10px; overflow: hidden; }
.ak2-seg button { height: 32px; padding: 0 11px; border: 0; background: #fff; color: #5b6090; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.ak2-seg button.on { background: #eceefb; color: #272b6b; }
.ak2-seg button.on.real { background: #d6455a; color: #fff; }

.ak2-use { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 18px; }
@media (max-width: 900px) { .ak2-use { grid-template-columns: 1fr; } }
.ak2-code { background: #171b43; border-radius: 13px; padding: 14px 16px; color: #dfe2ff; }
.ak2-code small { color: #8f95c9; font-size: 10.5px; letter-spacing: .5px; font-weight: 700; }
.ak2-code pre { margin: 10px 0 0; font-size: 12.5px; line-height: 1.6; white-space: pre-wrap; color: #dfe2ff; }
.ak2-code .c1 { color: #7fe3a4; } .ak2-code .c2 { color: #8f95c9; }
.ak2-lock { display: flex; gap: 8px; margin-top: 12px; padding: 11px 13px; background: #eef0fd; border-radius: 11px; color: #4b5180; font-size: 12.5px; }
.ak2-lock svg { width: 18px; height: 18px; flex: 0 0 auto; color: #4b4fd0; }
.ak2-use-r { border: 1px solid #eceef8; border-radius: 13px; overflow: hidden; }
.ak2-grp { padding: 9px 14px; background: #f6f7fd; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; border-top: 1px solid #eceef8; }
.ak2-grp:first-child { border-top: 0; }
.ak2-grp small { font-size: 10.5px; letter-spacing: .4px; font-weight: 700; color: #8a91b3; }
.ak2-ep { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 14px; border-top: 1px solid #f0f1fa; font-size: 13px; }
.ak2-ep span { font-size: 11px; font-weight: 800; color: #1b8a52; background: #e1f6ea; padding: 2px 8px; border-radius: 6px; }
.ak2-ep code { color: #1c2252; }
.ak2-ep code em { font-style: normal; color: #6a5ae0; }
.ak2-ep small { flex-basis: 100%; margin-left: 52px; color: #8a91b3; font-size: 11.5px; }

/* ===== Tənzimləmələr (st2) ===== */
.st2-hero { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; padding: 26px 32px; border-radius: 24px; color: #fff; background: linear-gradient(115deg, #3a3fb3 0%, #5754e3 55%, #8f78f0 100%); box-shadow: 0 14px 34px rgba(70, 72, 200, .26); margin-bottom: 20px; }
.st2-hero-l { display: flex; align-items: center; gap: 20px; flex: 1 1 520px; min-width: 0; }
.st2-hero-ico { width: 76px; height: 76px; flex: 0 0 76px; border-radius: 22px; background: rgba(255, 255, 255, .17); border: 1px solid rgba(255, 255, 255, .28); display: grid; place-items: center; }
.st2-hero-ico svg { width: 36px; height: 36px; }
.st2-eyebrow { display: block; font-size: 12px; font-weight: 800; letter-spacing: 2.2px; color: rgba(255, 255, 255, .82); margin-bottom: 5px; }
.st2-hero h2 { margin: 0; font-size: 30px; font-weight: 850; letter-spacing: -.5px; color: #fff; }
.st2-hero p { margin: 6px 0 0; max-width: 760px; font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, .88); }
.st2-hero-links { display: flex; gap: 14px; flex-wrap: wrap; }
.st2-link { display: flex; align-items: center; gap: 13px; min-width: 250px; padding: 14px 18px; border-radius: 18px; background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .22); color: #fff; text-decoration: none; transition: background .15s; }
.st2-link:hover { background: rgba(255, 255, 255, .22); }
.st2-link-ico { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; background: #fff; color: #4046d6; display: grid; place-items: center; font-weight: 900; font-size: 17px; }
.st2-link-ico svg { width: 22px; height: 22px; }
.st2-link-ico.in { background: #0a66c2; color: #fff; }
.st2-link-t { display: flex; flex-direction: column; flex: 1; line-height: 1.25; }
.st2-link-t b { font-size: 16px; }
.st2-link-t small { font-size: 12.5px; color: rgba(255, 255, 255, .78); }
.st2-arrow { font-size: 20px; opacity: .85; }

.settings-workspace.st2-ws { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 0; }
.settings-workspace.st2-ws > .tab-panel { grid-column: 2; padding-top: 0; min-width: 0; }
.settings-workspace.st2-ws > .st2-side { grid-column: 1; grid-row: 1 / span 20; position: sticky; top: 12px; display: flex; flex-direction: column; gap: 4px; overflow: visible; padding: 18px 14px; border: 1px solid #e6e8f5; border-radius: 24px; background: #fff; box-shadow: 0 8px 26px rgba(40, 45, 120, .06); margin-bottom: 0; }
.st2-side-h { padding: 4px 12px 8px; font-size: 12px; font-weight: 800; letter-spacing: 2px; color: #7d84a6; }
.st2-side-h2 { margin-top: 12px; }
.st2-side .st2-nav { display: flex; align-items: center; gap: 13px; width: 100%; padding: 11px 12px; border: 0; border-radius: 15px; background: transparent; text-align: left; cursor: pointer; font: inherit; color: #1c2252; box-shadow: none; flex: 0 0 auto; justify-content: flex-start; position: relative; }
.st2-side .st2-nav:hover { background: #f4f5fd; }
.st2-side .st2-nav.active { background: #eceefd; box-shadow: inset 3px 0 0 #4a4fdc; }
.st2-nav-ico { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 13px; display: grid; place-items: center; }
.st2-nav-ico svg { width: 21px; height: 21px; }
.st2-nav-ico.g { background: #e1f5ea; color: #1f9d5b; } .st2-nav-ico.b { background: #e8eafe; color: #4a4fdc; }
.st2-nav-ico.r { background: #fde8ea; color: #d6455a; } .st2-nav-ico.p { background: #efe8fe; color: #7a4fe0; }
.st2-nav-ico.o { background: #fff0dc; color: #d4881a; }
.st2-nav-t { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.25; }
.st2-nav-t b { font-size: 16px; font-weight: 750; }
.st2-nav-t small { font-size: 12.5px; color: #8a91b3; font-weight: 500; }
.st2-cnt { min-width: 34px; height: 26px; padding: 0 9px; border-radius: 999px; background: #eef0f8; color: #5b6090; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.st2-nav.active .st2-cnt { background: #4a4fdc; color: #fff; }
.st2-side-note { display: flex; gap: 10px; margin: 14px 4px 2px; padding: 14px; border-radius: 14px; background: #f3f4fb; color: #6a7192; font-size: 13px; line-height: 1.45; }
.st2-side-note svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 1px; }
@media (max-width: 1000px) {
  .settings-workspace.st2-ws { grid-template-columns: 1fr; }
  .settings-workspace.st2-ws > .st2-side, .settings-workspace.st2-ws > .tab-panel { grid-column: 1; grid-row: auto; position: static; }
}

.st2-card { background: #fff; border: 1px solid #e6e8f5; border-radius: 24px; box-shadow: 0 8px 26px rgba(40, 45, 120, .06); overflow: hidden; }
.st2-ph { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 22px 26px; border-bottom: 1px solid #eceef8; }
.st2-ph-ico { width: 54px; height: 54px; flex: 0 0 54px; border-radius: 16px; background: #e1f5ea; color: #1f9d5b; display: grid; place-items: center; }
.st2-ph-ico svg { width: 26px; height: 26px; }
.st2-ph-t { flex: 1 1 200px; min-width: 0; }
.st2-ph-t h3 { margin: 0; font-size: 24px; font-weight: 850; color: #151b44; letter-spacing: -.3px; }
.st2-ph-t small { color: #7d84a6; font-size: 14px; }
.st2-search { display: flex; align-items: center; gap: 9px; flex: 0 1 330px; height: 52px; padding: 0 16px; border: 1px solid #e3e6f5; border-radius: 15px; background: #fff; color: #98a0c0; }
.st2-search svg { width: 18px; height: 18px; flex: 0 0 auto; }
.st2-search input { flex: 1; border: 0; outline: 0; background: transparent; font: inherit; color: #1c2252; min-width: 0; }
.st2-search:focus-within { border-color: #6b6fe6; box-shadow: 0 0 0 3px rgba(107, 111, 230, .14); }
.st2-seg { display: inline-flex; padding: 4px; border-radius: 14px; background: #f1f2fa; }
.st2-seg button { height: 44px; padding: 0 16px; border: 0; border-radius: 11px; background: transparent; color: #5b6090; font: inherit; font-weight: 700; cursor: pointer; }
.st2-seg button.on { background: #fff; color: #151b44; box-shadow: 0 3px 10px rgba(40, 45, 120, .12); }
.st2-new { display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 24px; border: 0; border-radius: 15px; background: linear-gradient(120deg, #3a3fc8, #5a56e8); color: #fff; font: inherit; font-weight: 800; font-size: 16px; cursor: pointer; box-shadow: 0 10px 22px rgba(70, 72, 200, .32); }
.st2-new svg { width: 18px; height: 18px; }
.st2-new:hover { filter: brightness(1.07); }

.st2-chips { display: flex; gap: 10px; flex-wrap: wrap; padding: 16px 26px; border-bottom: 1px solid #eceef8; }
.st2-chip { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border: 1px solid #e3e6f5; border-radius: 13px; background: #fff; color: #3f4580; font: inherit; font-weight: 700; cursor: pointer; }
.st2-chip:hover { border-color: #b7bcf0; }
.st2-chip.on { background: #12163a; border-color: #12163a; color: #fff; }
.st2-chip b { font-weight: 800; }
.st2-chip .d { width: 9px; height: 9px; border-radius: 50%; }
.st2-chip .d.fak { background: #4a4fdc; } .st2-chip .d.kaf { background: #8b5cf0; } .st2-chip .d.sob { background: #2fa36b; }
.st2-chip.warn { margin-left: auto; background: #fff7e5; border-color: #f0d9a0; color: #8a6414; }
.st2-chip.warn.on { background: #8a6414; border-color: #8a6414; color: #fff; }

.st2-tw { overflow-x: auto; }
.st2-table { width: 100%; border-collapse: collapse; min-width: 860px; }
.st2-table th { text-align: left; padding: 16px 12px; font-size: 12.5px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: #8a91b3; border-bottom: 1px solid #eceef8; }
.st2-table th:first-child, .st2-table td:first-child { padding-left: 26px; }
.st2-table th.r, .st2-table td.r { text-align: right; padding-right: 26px; }
.st2-table td { padding: 12px; border-bottom: 1px solid #f0f1fa; vertical-align: middle; }
.st2-table tr:last-child td { border-bottom: 0; }
.dp-row:hover td { background: #fafaff; }
.dp-row.dp-nocode td { background: #fffaf0; }
.dp-row.dp-off td { opacity: .62; }
.st2-empty { text-align: center; color: #8a91b3; padding: 24px !important; }
.dp-name { display: flex; align-items: center; gap: 12px; }
.dp-caret { width: 22px; height: 22px; flex: 0 0 22px; border: 0; background: transparent; color: #4a4fdc; font-size: 15px; cursor: pointer; padding: 0; }
.dp-caret-sp { width: 22px; flex: 0 0 22px; }
.dp-ico { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 14px; display: grid; place-items: center; }
.dp-ico svg { width: 22px; height: 22px; }
.dp-ico.fak { background: #e9ebfe; color: #4a4fdc; } .dp-ico.kaf { background: #efe8fe; color: #7a4fe0; }
.dp-ico.sob { background: #e1f5ea; color: #1f9d5b; } .dp-ico.top { background: #eef0f8; color: #6a7192; }
.dp-txt { display: flex; flex-direction: column; min-width: 0; }
.dp-n { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.dp-n b { font-size: 17px; font-weight: 750; color: #151b44; }
.dp-ty { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .5px; padding: 3px 9px; border-radius: 8px; }
.dp-ty.fak { background: #e9ebfe; color: #4a4fdc; } .dp-ty.kaf { background: #efe8fe; color: #7a4fe0; }
.dp-ty.sob { background: #e1f5ea; color: #1b8a52; } .dp-ty.top { background: #e9ebf5; color: #5b6090; }
.dp-sub { color: #8a91b3; font-size: 13.5px; margin-top: 1px; }
.dp-code { display: inline-block; padding: 6px 12px; border-radius: 9px; background: #f1f2fa; border: 1px solid #e6e8f5; color: #4b5180; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
.dp-code.none { background: #fdeed0; border-color: #f2d795; color: #9a6a0a; font-family: inherit; font-weight: 700; }
.dp-use { display: flex; align-items: center; gap: 12px; min-width: 190px; }
.dp-use b { min-width: 32px; font-size: 18px; font-weight: 800; color: #151b44; text-align: right; }
.dp-use b.z { color: #b5bad2; font-weight: 600; }
.dp-bar { flex: 1; height: 6px; border-radius: 999px; background: #eceef8; overflow: hidden; }
.dp-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #4a4fdc, #7a6cf0); }
.dp-st { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.dp-st i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.dp-st.on { background: #e1f5ea; color: #1b8a52; } .dp-st.off { background: #eef0f6; color: #6b7094; }
.dp-acts { display: inline-flex; gap: 8px; justify-content: flex-end; }
.dp-ib { width: 44px; height: 44px; border: 0; border-radius: 13px; display: grid; place-items: center; cursor: pointer; font-size: 20px; font-weight: 700; line-height: 1; }
.dp-ib svg { width: 18px; height: 18px; }
.dp-ib.add { background: #e1f5ea; color: #1f9d5b; } .dp-ib.ed { background: #e9ebfe; color: #4a4fdc; } .dp-ib.del { background: #fde8ea; color: #d6455a; }
.dp-ib:hover { filter: brightness(.95); transform: translateY(-1px); }
.st2-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 26px; border-top: 1px solid #eceef8; color: #7d84a6; font-size: 14px; }
.st2-link-btn { border: 0; background: transparent; color: #3f43c9; font: inherit; font-weight: 800; cursor: pointer; }

/* API açarları: bitmə tarixi — 3 düymə + tarix yan-yana */
.ak2-exp { flex-wrap: nowrap; }
.ak2-exp .fp-wrap { width: 190px !important; flex: 0 0 190px; }
.ak2-exp .fp-wrap .fp-alt, .ak2-exp input.fp-alt { width: 100% !important; height: 42px; box-sizing: border-box; border: 1px solid #dfe3f4; border-radius: 11px; padding: 0 40px 0 12px !important; font: inherit; background: #fff; color: #1c2252; }
.ak2-exp .fp-wrap .fp-alt:focus { outline: none; border-color: #6b6fe6; box-shadow: 0 0 0 3px rgba(107, 111, 230, .15); }
@media (max-width: 640px) { .ak2-exp { flex-wrap: wrap; } .ak2-exp .fp-wrap { flex: 1 1 100%; width: 100% !important; } }

/* Tənzimləmələr: yığcam cədvəl */
.dp-pc { display: none; }
#dp-root.is-list .dp-pc { display: table-cell; color: #6a7192; font-size: 13.5px; }
.settings-workspace.st2-ws { grid-template-columns: 300px minmax(0, 1fr); gap: 20px; }
.st2-side .st2-nav { padding: 9px 10px; gap: 11px; }
.st2-nav-ico { width: 38px; height: 38px; flex-basis: 38px; border-radius: 11px; }
.st2-nav-ico svg { width: 18px; height: 18px; }
.st2-nav-t b { font-size: 14.5px; }
.st2-nav-t small { font-size: 12px; }
.st2-ph { padding: 16px 20px; gap: 12px; }
.st2-ph-ico { width: 44px; height: 44px; flex-basis: 44px; border-radius: 13px; }
.st2-ph-ico svg { width: 22px; height: 22px; }
.st2-ph-t h3 { font-size: 20px; }
.st2-ph-t small { font-size: 13px; }
.st2-search { height: 44px; flex-basis: 240px; }
.st2-seg button { height: 36px; padding: 0 13px; font-size: 14px; }
.st2-new { height: 44px; padding: 0 18px; font-size: 14.5px; }
.st2-chips { padding: 12px 20px; gap: 8px; }
.st2-chip { height: 36px; padding: 0 14px; font-size: 13.5px; }
.st2-table { min-width: 0; table-layout: auto; }
.st2-table th { padding: 11px 8px; font-size: 11.5px; letter-spacing: 1.2px; }
.st2-table td { padding: 8px; }
.st2-table th:first-child, .st2-table td:first-child { padding-left: 18px; }
.st2-table th.r, .st2-table td.r { padding-right: 18px; }
.dp-name { gap: 9px; }
.dp-ico { width: 36px; height: 36px; flex-basis: 36px; border-radius: 10px; }
.dp-ico svg { width: 17px; height: 17px; }
.dp-n b { font-size: 14.5px; }
.dp-ty { font-size: 10px; padding: 2px 7px; }
.dp-sub { font-size: 12px; }
.dp-code { padding: 4px 9px; font-size: 12px; }
.dp-use { min-width: 110px; gap: 9px; }
.dp-use b { min-width: 24px; font-size: 15px; }
.dp-st { padding: 4px 11px; font-size: 12.5px; }
.dp-acts { gap: 6px; flex-wrap: nowrap; }
.dp-ib { width: 34px; height: 34px; border-radius: 10px; font-size: 18px; }
.dp-ib svg { width: 15px; height: 15px; }
.st2-foot { padding: 12px 20px; font-size: 13px; }

/* Struktur bölmələr: sil düyməsi redaktə düyməsi kimi, ağ fon */
.dp-ib.del { background: #fff; color: #4a4fdc; border: 1px solid #e3e6f5; }
.dp-ib.del:hover { background: #f5f6ff; filter: none; }

/* Struktur bölmələr: +, redaktə, sil — hamısı eyni (köhnə modal-open qaydasını ləğv edir) */
.dp-acts .dp-ib, .dp-acts .dp-ib[data-modal-open] {
  display: grid !important; place-items: center; width: 34px !important; height: 34px !important; min-width: 34px !important; min-height: 34px !important;
  padding: 0 !important; margin: 0; border: 1px solid #e3e6f5 !important; border-radius: 10px !important; background: #fff !important;
  color: #4a4fdc !important; box-shadow: none !important; font-size: 18px !important; font-weight: 700 !important; line-height: 1 !important; transform: none;
}
.dp-acts .dp-ib:hover, .dp-acts .dp-ib[data-modal-open]:hover { background: #f1f2ff !important; border-color: #c9ceef !important; transform: none; filter: none; }
.dp-acts .dp-ib svg, .dp-acts .dp-ib[data-modal-open] svg { width: 15px !important; height: 15px !important; margin: 0 !important; color: #4a4fdc !important; stroke: currentColor !important; fill: none; }

/* ===== Tənzimləmələr: digər bölmələr eyni üslubda ===== */
.st2-ph-ico.b { background: #e8eafe; color: #4a4fdc; } .st2-ph-ico.o { background: #fff0dc; color: #d4881a; }
.st2-ph-ico.r { background: #fde8ea; color: #d6455a; } .st2-ph-ico.p { background: #efe8fe; color: #7a4fe0; }
.st2-ws .tab-panel:not([data-tab-panel="departments"]):not([data-tab-panel="positions"]) > .card,
.st2-ws .tab-panel:not([data-tab-panel="departments"]):not([data-tab-panel="positions"]) .grid-2 > .card { border: 1px solid #e6e8f5; border-radius: 24px; background: #fff; box-shadow: 0 8px 26px rgba(40, 45, 120, .06); overflow: hidden; }
.st2-ws .tab-panel .card-header { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 20px; border-bottom: 1px solid #eceef8; }
.st2-ws .tab-panel .card-header .st2-ph-ico { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 13px; display: grid; place-items: center; }
.st2-ws .tab-panel .card-header .st2-ph-ico svg { width: 22px; height: 22px; }
.st2-ws .tab-panel .card-header > div { flex: 1 1 200px; min-width: 0; }
.st2-ws .tab-panel .card-header h3 { margin: 0; font-size: 20px; font-weight: 850; color: #151b44; letter-spacing: -.3px; }
.st2-ws .tab-panel .card-header .muted { font-size: 13px; color: #7d84a6; }
.st2-ws .tab-panel .card-header > .btn,
.st2-ws .tab-panel .card-header > [data-modal-open^="modal-new-"] { margin-left: auto; display: inline-flex !important; align-items: center; gap: 8px; height: 44px !important; min-height: 44px !important; padding: 0 18px !important; border: 0 !important; border-radius: 15px !important; background: linear-gradient(120deg, #3a3fc8, #5a56e8) !important; color: #fff !important; font-weight: 800 !important; font-size: 14.5px !important; box-shadow: 0 10px 22px rgba(70, 72, 200, .3) !important; }
.st2-ws .tab-panel .card-header > .btn svg, .st2-ws .tab-panel .card-header > [data-modal-open^="modal-new-"] svg { width: 17px !important; height: 17px !important; color: #fff !important; stroke: #fff !important; }
.st2-ws .tab-panel .card-header > .btn:hover, .st2-ws .tab-panel .card-header > [data-modal-open^="modal-new-"]:hover { background: linear-gradient(120deg, #3a3fc8, #5a56e8) !important; filter: brightness(1.07); }
.st2-ws .tab-panel .card-pad .card-header { margin: -4px -4px 14px; }
.st2-ws .tab-panel .table-wrap { overflow-x: auto; }
.st2-ws .tab-panel .data-table { width: 100%; border-collapse: collapse; }
.st2-ws .tab-panel .data-table thead th { padding: 11px 10px; font-size: 11.5px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: #8a91b3; background: transparent; border-bottom: 1px solid #eceef8; }
.st2-ws .tab-panel .data-table tbody td { padding: 10px; border-bottom: 1px solid #f0f1fa; vertical-align: middle; font-size: 13.5px; }
.st2-ws .tab-panel .data-table tbody tr:hover td { background: #fafaff; }
.st2-ws .tab-panel .data-table tbody tr:last-child td { border-bottom: 0; }
.st2-ws .tab-panel .data-table th:first-child, .st2-ws .tab-panel .data-table td:first-child { padding-left: 20px; }
.st2-ws .tab-panel .data-table th:last-child, .st2-ws .tab-panel .data-table td:last-child { padding-right: 20px; }
.st2-ws .tab-panel .lk-num { display: inline-grid; place-items: center; min-width: 28px; height: 28px; border-radius: 9px; background: #f1f2fa; color: #6a7192; font-size: 12.5px; font-weight: 700; }
.st2-ws .tab-panel .lk-ic { width: 36px; height: 36px; border-radius: 10px; }
.st2-ws .tab-panel .tag { display: inline-block; padding: 4px 10px; border-radius: 9px; background: #f1f2fa; border: 1px solid #e6e8f5; color: #4b5180; font-size: 12px; font-weight: 600; }
.st2-ws .tab-panel .badge { padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.st2-ws .tab-panel .badge-success { background: #e1f5ea; color: #1b8a52; }
.st2-ws .tab-panel .badge-neutral { background: #eef0f6; color: #6b7094; }
.st2-ws .tab-panel .count-pill { display: inline-grid; place-items: center; min-width: 30px; height: 26px; padding: 0 9px; border-radius: 999px; background: #e8eafe; color: #4a4fdc; font-weight: 800; font-size: 13px; }
.st2-ws .tab-panel .cell-actions { display: table-cell; white-space: nowrap; text-align: right; }
.st2-ws .tab-panel .cell-actions .icon-btn, .st2-ws .tab-panel .cell-actions .icon-btn[data-modal-open] { display: inline-grid !important; place-items: center; width: 34px !important; height: 34px !important; min-height: 34px !important; padding: 0 !important; margin-left: 6px; border: 1px solid #e3e6f5 !important; border-radius: 10px !important; background: #fff !important; color: #4a4fdc !important; box-shadow: none !important; vertical-align: middle; }
.st2-ws .tab-panel .cell-actions .icon-btn:hover { background: #f1f2ff !important; transform: none; }
.st2-ws .tab-panel .cell-actions .icon-btn svg { width: 15px !important; height: 15px !important; margin: 0 !important; color: #4a4fdc !important; stroke: currentColor !important; }
.st2-ws .tab-panel .lk-foot { padding: 12px 20px; border-top: 1px solid #eceef8; color: #7d84a6; font-size: 13px; }
.st2-ws .tab-panel .role-note { border-radius: 14px; }

.st2-ws .tab-panel .card-header { background: transparent !important; border-radius: 0 !important; }
.st2-ws .tab-panel .card-header h3 { color: #151b44 !important; }
.st2-ws .tab-panel .card-header .muted, .st2-ws .tab-panel .card-header .role-sub { color: #6a7192 !important; }
.st2-ws .tab-panel .card-header .role-sub b { color: #3a41a1 !important; }

/* ===== Yeni struktur bölmə modalı ===== */
#modal-new-department .dm2-box { width: min(640px, 94vw); max-width: 640px; padding: 0; border-radius: 24px; overflow: hidden; background: #fff; border: 0; box-shadow: 0 30px 80px rgba(30, 35, 100, .35); max-height: 94vh; overflow-y: auto; }
.dm2-head { display: flex; align-items: center; gap: 14px; padding: 20px 24px; background: linear-gradient(110deg, #343aa8, #5a56e8); color: #fff; }
.dm2-head-ico { width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.18); display: grid; place-items: center; flex: 0 0 46px; }
.dm2-head-ico svg { width: 24px; height: 24px; }
.dm2-head-t { flex: 1; min-width: 0; }
.dm2-head-t h3 { margin: 0; color: #fff !important; font-size: 21px; font-weight: 850; }
.dm2-head-t p { margin: 2px 0 0; color: rgba(255,255,255,.8); font-size: 13px; }
.dm2-x { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.dm2-body { padding: 22px 24px 24px; }
.dm2-lbl { font-size: 11.5px; font-weight: 800; letter-spacing: 1.1px; text-transform: uppercase; color: #6a7192; margin: 14px 0 7px; }
.dm2-lbl:first-child { margin-top: 0; }
.dm2-lbl i { color: #e0475b; font-style: normal; }
.dm2-lbl em { font-style: normal; text-transform: none; letter-spacing: 0; color: #a0a5c2; font-weight: 600; margin-left: 4px; }
.dm2-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dm2-type { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1.5px solid #e3e6f5; border-radius: 16px; background: #fff; cursor: pointer; text-align: left; font-family: inherit; }
.dm2-type b { display: block; font-size: 14px; color: #151b44; }
.dm2-type small { color: #8a91b3; font-size: 11.5px; }
.dm2-type-ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-size: 18px; background: #f1f2fa; flex: 0 0 36px; }
.dm2-type.on { border-color: #4a4fdc; background: #f3f3ff; box-shadow: 0 0 0 3px rgba(74, 79, 220, .12); }
.dm2-in { display: flex; align-items: center; gap: 9px; height: 46px; padding: 0 14px; border: 1.5px solid #e3e6f5; border-radius: 14px; background: #fff; margin: 0; }
.dm2-in:focus-within { border-color: #4a4fdc; box-shadow: 0 0 0 3px rgba(74, 79, 220, .12); }
.dm2-in svg { width: 18px; height: 18px; color: #4a4fdc; flex: 0 0 18px; }
.dm2-in input, .dm2-in select { flex: 1; min-width: 0; border: 0 !important; outline: 0; background: transparent !important; box-shadow: none !important; height: 100%; padding: 0 !important; font-size: 14.5px; font-family: inherit; color: #151b44; }
.dm2-in-big { height: 52px; }
.dm2-in-big input { font-size: 16px; font-weight: 600; }
.dm2-hash { color: #4a4fdc; font-weight: 800; }
.dm2-sug { font-size: 11px; padding: 3px 8px; border-radius: 8px; background: #e8eafe; color: #4a4fdc; }
.dm2-hint { display: block; margin-top: 5px; color: #8a91b3; font-size: 12px; }
.dm2-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dm2-prev { margin-top: 16px; padding: 12px 14px; border: 1px dashed #d4d8ee; border-radius: 16px; background: #fafaff; }
.dm2-prev-h { font-size: 11px; font-weight: 800; letter-spacing: 1.2px; color: #8a91b3; margin-bottom: 8px; }
.dm2-pl { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 10px; font-size: 13.5px; color: #151b44; font-weight: 600; }
.dm2-pl.ind { margin-left: 26px; }
.dm2-pl.mute { color: #7d84a6; font-weight: 500; }
.dm2-pl code { background: #eef0fa; color: #5a6190; border-radius: 6px; padding: 1px 7px; font-size: 11.5px; }
.dm2-pl em { margin-left: auto; font-style: normal; font-size: 10.5px; font-weight: 800; padding: 2px 8px; border-radius: 8px; background: #4a4fdc; color: #fff; }
.dm2-pl.new { border: 1.5px dashed #4a4fdc; background: #f3f3ff; }
.dm2-switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 12px 16px; border: 1px solid #e3e6f5; border-radius: 16px; cursor: pointer; }
.dm2-sw-t b { display: block; font-size: 14.5px; color: #151b44; }
.dm2-sw-t small { color: #8a91b3; font-size: 12px; }
.dm2-switch input { position: absolute; opacity: 0; pointer-events: none; }
.dm2-switch i { width: 44px; height: 25px; border-radius: 999px; background: #d3d6e8; position: relative; transition: .2s; flex: 0 0 44px; }
.dm2-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 19px; height: 19px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.dm2-switch input:checked + i { background: #2fb36d; }
.dm2-switch input:checked + i::after { left: 22px; }
.dm2-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.dm2-btn { height: 46px; padding: 0 22px; border-radius: 14px; font-weight: 800; font-size: 14.5px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-family: inherit; }
.dm2-btn.ghost { background: #fff; border: 1.5px solid #e3e6f5; color: #4b5180; }
.dm2-btn.primary { border: 0; background: linear-gradient(120deg, #3a3fc8, #5a56e8); color: #fff; box-shadow: 0 10px 22px rgba(70, 72, 200, .3); }
.dm2-btn svg { width: 17px; height: 17px; }
@media (max-width: 600px) { .dm2-types, .dm2-two { grid-template-columns: 1fr; } }

.st2-ws .tab-panel .card-header:not(#tn-grad):not(#tn-grad2) { background: transparent !important; }

.ak2-btns { display: flex; align-items: center; gap: 10px; }
.ak2-back { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 12px; border: 1.5px solid #e3e6f5; background: #fff; color: #4b5180; font-weight: 700; text-decoration: none; }
.ak2-back:hover { background: #f1f2ff; }

/* ===== LinkedIn səhifəsi ===== */
.li2 { max-width: 1180px; }
.li2-hero { display: flex; align-items: center; gap: 16px; padding: 22px 26px; border-radius: 22px; background: linear-gradient(110deg, #2e35b8, #5a56e8); color: #fff; margin-bottom: 16px; box-shadow: 0 14px 34px rgba(60, 64, 190, .25); }
.li2-hero-ico { width: 52px; height: 52px; border-radius: 15px; background: #fff; color: #0a66c2; display: grid; place-items: center; flex: 0 0 52px; }
.li2-hero-ico svg { width: 28px; height: 28px; }
.li2-hero-t small { font-size: 11px; letter-spacing: 2px; font-weight: 800; opacity: .75; }
.li2-hero-t h2 { margin: 2px 0; color: #fff; font-size: 26px; font-weight: 850; }
.li2-hero-t p { margin: 0; font-size: 13.5px; opacity: .85; }
.li2-msg { padding: 12px 16px; border-radius: 14px; background: #e6f6ee; color: #1b7a4a; font-weight: 600; margin-bottom: 14px; }
.li2-msg.err { background: #fde8ea; color: #b8344b; }
.li2-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.li2-col { display: grid; gap: 16px; }
.li2-card { background: #fff; border: 1px solid #e6e8f5; border-radius: 22px; padding: 20px 22px; box-shadow: 0 8px 26px rgba(40, 45, 120, .06); }
.li2-h { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 16px; font-weight: 850; color: #151b44; }
.li2-hi { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #e8eafe; font-size: 14px; }
.li2-hi.p { background: #efe8fe; } .li2-hi.b { background: #e4f1fe; }
.li2-org { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.li2-org b { display: block; font-size: 16px; color: #151b44; }
.li2-org small { color: #7d84a6; font-size: 12.5px; }
.li2-org code { background: #eef0fa; border-radius: 6px; padding: 1px 7px; font-size: 11.5px; margin-left: 4px; }
.li2-av { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, #3a3fc8, #7a62ea); color: #fff; display: grid; place-items: center; font-weight: 850; flex: 0 0 52px; }
.li2-av.sm { width: 38px; height: 38px; flex-basis: 38px; font-size: 13px; border-radius: 11px; }
.li2-pill { margin-left: auto; padding: 6px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 800; }
.li2-pill.ok { background: #e1f5ea; color: #1b8a52; } .li2-pill.off { background: #eef0f6; color: #6b7094; }
.li2-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.li2-box { padding: 14px 16px; border-radius: 16px; background: #f7f8fd; border: 1px solid #e6e8f5; }
.li2-box.warn { background: #fff8e9; border-color: #f3deaa; }
.li2-box small { display: block; font-size: 11px; font-weight: 800; letter-spacing: 1px; color: #7d84a6; }
.li2-box.warn small { color: #b9791a; }
.li2-box b { display: block; margin: 4px 0 2px; font-size: 16px; color: #151b44; }
.li2-box span { font-size: 12.5px; color: #7d84a6; }
.li2-bar { display: block; height: 6px; border-radius: 99px; background: #f0e3bd; margin-top: 10px; overflow: hidden; }
.li2-bar u { display: block; height: 100%; background: #e0a23a; border-radius: 99px; }
.li2-acts { display: flex; gap: 10px; margin-top: 16px; }
.li2-btn { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 12px; font-weight: 800; font-size: 13.5px; cursor: pointer; text-decoration: none; font-family: inherit; border: 1.5px solid transparent; }
.li2-btn.pri { background: #0a66c2; color: #fff; }
.li2-btn.soft { background: #eef0ff; border-color: #c9ccf5; color: #3a3fc8; }
.li2-btn.danger { background: #fff; border-color: #f0c4cc; color: #c0314a; }
.li2-p { color: #4b5180; margin: 0 0 14px; }
.li2-warn { padding: 14px 16px; border-radius: 14px; background: #fff8e9; border: 1px solid #f3deaa; color: #7a5a14; }
.li2-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 8px; align-items: center; margin-bottom: 14px; }
.li2-flow > div { text-align: center; padding: 14px 8px; border-radius: 16px; background: #f7f8fd; border: 1px solid #eceef8; }
.li2-flow > div span { display: grid; place-items: center; width: 38px; height: 38px; margin: 0 auto 6px; border-radius: 11px; background: #e8eafe; }
.li2-flow b { display: block; font-size: 13.5px; color: #151b44; }
.li2-flow small { color: #8a91b3; font-size: 11.5px; }
.li2-flow > i { color: #a0a5c2; font-style: normal; }
.li2-list { padding: 14px 16px; border-radius: 16px; }
.li2-list.ok { background: #eaf7ef; } .li2-list.no { background: #fbeaec; }
.li2-list h4 { margin: 0 0 8px; font-size: 11.5px; letter-spacing: 1px; font-weight: 850; }
.li2-list.ok h4 { color: #1b8a52; } .li2-list.no h4 { color: #c0314a; }
.li2-list ul { margin: 0; padding-left: 18px; font-size: 13.5px; color: #2a2f58; line-height: 1.8; }
.li2-foot { margin: 12px 0 0; font-size: 12.5px; color: #7d84a6; }
.li2-foot a { color: #3a3fc8; font-weight: 800; text-decoration: none; }
.li2-post { border: 1px solid #e6e8f5; border-radius: 16px; padding: 14px; }
.li2-ph { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.li2-ph b { display: block; font-size: 13.5px; } .li2-ph small { color: #8a91b3; font-size: 11.5px; }
.li2-post p { font-size: 13.5px; line-height: 1.6; color: #2a2f58; margin: 0 0 12px; }
.li2-post p em { color: #3a3fc8; font-style: normal; font-weight: 700; }
.li2-cardp { border: 1px solid #e6e8f5; border-radius: 12px; overflow: hidden; }
.li2-cardp-i { padding: 26px 18px; background: linear-gradient(120deg, #3a3fc8, #7a62ea); color: #fff; }
.li2-cardp-i small { display: block; font-size: 10.5px; letter-spacing: 2px; opacity: .8; margin-bottom: 6px; }
.li2-cardp-i b { font-size: 18px; font-weight: 850; }
.li2-cardp-f { padding: 10px 14px; background: #f7f8fd; }
.li2-cardp-f b { display: block; font-size: 12.5px; } .li2-cardp-f small { color: #8a91b3; font-size: 11.5px; }
.li2-cap { text-align: center; font-size: 12px; color: #8a91b3; margin: 10px 0 0; }
@media (max-width: 900px) { .li2-grid { grid-template-columns: 1fr; } .li2-two { grid-template-columns: 1fr; } .li2-flow { grid-template-columns: 1fr; } .li2-flow > i { display: none; } }

/* ===== Sidebar rəngi + düymələrdə şüşə (shine) hover ===== */
body:not(.employee-profile-v4-page) .sidebar { background: linear-gradient(115deg, rgb(102 96 199) 0%, rgb(33 28 122) 55%, rgb(59 45 121) 100%) !important; border-right: 0; }
:is(.btn, .btn-primary, .btn-accent, .btn-outline, .btn-ghost, .btn-sm, button.li2-btn, a.li2-btn, .li2-btn, .ak2-submit, .ak2-back, .dm2-btn, .st2-new, .employee-bulk-btn, .dp-ib, .st2-chip, button[type="submit"]):not(#tn-grad) { position: relative; overflow: hidden; isolation: isolate; transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; }
:is(.btn, .btn-primary, .btn-accent, .btn-outline, .btn-ghost, .btn-sm, .li2-btn, .ak2-submit, .ak2-back, .dm2-btn, .st2-new, .employee-bulk-btn, .dp-ib, .st2-chip, button[type="submit"]):not(#tn-grad)::after { content: ""; position: absolute; top: 0; left: -80%; width: 55%; height: 100%; background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,.55) 50%, transparent 100%); transform: skewX(-20deg); pointer-events: none; z-index: 1; }
:is(.btn, .btn-primary, .btn-accent, .btn-outline, .btn-ghost, .btn-sm, .li2-btn, .ak2-submit, .ak2-back, .dm2-btn, .st2-new, .employee-bulk-btn, .dp-ib, .st2-chip, button[type="submit"]):not(#tn-grad):hover::after { left: 130%; transition: left .6s ease; }
:is(.btn, .btn-primary, .btn-accent, .li2-btn, .ak2-submit, .dm2-btn, .st2-new, .employee-bulk-btn):not(#tn-grad):hover { transform: translateY(-1px); }

#modal-new-department .dm2-in-big { height: 40px; }
#modal-new-department .dm2-in-big input { font-size: 14.5px; font-weight: 500; }
#modal-new-department .dm2-in { height: 40px; }

#modal-new-department .dm2-two { margin-top: 18px; }

/* modern üst bölmə seçimi */
#modal-new-department .dm2-sel { position: relative; overflow: visible; }
.dm2-ddb { flex: 1; min-width: 0; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 0; background: transparent; cursor: pointer; font: inherit; font-size: 14px; color: #151b44; text-align: left; padding: 0; }
.dm2-ddb .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.dm2-ddb .ph { color: #8a91b3; font-weight: 500; }
.dm2-ddb svg { width: 16px; height: 16px; color: #6a7192; flex: 0 0 16px; }
.dm2-ddb.dis { opacity: .55; cursor: not-allowed; }
.dm2-ddl { position: absolute; left: -2px; right: -2px; top: calc(100% + 6px); z-index: 50; max-height: 240px; overflow-y: auto; background: #fff; border: 1px solid #e3e6f5; border-radius: 14px; padding: 6px; box-shadow: 0 18px 40px rgba(40, 45, 120, .22); }
.dm2-ddl[hidden] { display: none; }
.dm2-opt { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; cursor: pointer; font-size: 13.5px; color: #2a2f58; }
.dm2-opt:hover { background: #f1f2ff; }
.dm2-opt.on { background: #eef0ff; color: #3a3fc8; font-weight: 700; }
.dm2-opt .ic { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: #f1f2fa; font-size: 14px; flex: 0 0 28px; }
.dm2-opt .n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dm2-opt b { color: #3a3fc8; }

/* ===== Yeni məzuniyyət qaydası modalı ===== */
#modal-new-leave-rule .lr2-box { width: min(760px, 95vw); max-width: 760px; padding: 0; border-radius: 26px; overflow: hidden; background: #f4f5fc; border: 0; box-shadow: 0 30px 80px rgba(30, 35, 100, .35); max-height: 94vh; display: flex; flex-direction: column; }
.lr2-head { display: flex; align-items: center; gap: 14px; padding: 18px 24px; background: linear-gradient(115deg, rgb(58, 63, 179) 0%, rgb(87, 84, 227) 55%, rgb(143, 120, 240) 100%); color: #fff; flex: 0 0 auto; }
.lr2-head-ico { width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; flex: 0 0 46px; }
.lr2-head-ico svg { width: 24px; height: 24px; }
.lr2-head-t { flex: 1; min-width: 0; }
.lr2-head-t h3 { margin: 0; color: #fff !important; font-size: 21px; font-weight: 850; }
.lr2-head-t p { margin: 2px 0 0; color: rgba(255,255,255,.82); font-size: 13px; }
.lr2-x { width: 36px; height: 36px; border-radius: 12px; border: 0; background: rgba(255,255,255,.2); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.lr2-form { display: flex; flex-direction: column; min-height: 0; flex: 1; margin: 0; }
.lr2-scroll { padding: 16px 20px; overflow-y: auto; display: grid; gap: 14px; flex: 1; }
.lr2-sec { background: #fff; border: 1px solid #e6e8f5; border-radius: 20px; padding: 16px 18px; }
.lr2-sec h4 { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; font-size: 12.5px; letter-spacing: 1.2px; font-weight: 850; color: #4b5180; }
.lr2-sec h4 b { width: 22px; height: 22px; border-radius: 7px; background: #4a4fdc; color: #fff; display: grid; place-items: center; font-size: 12px; }
.lr2-l { display: block; margin: 12px 0 6px; font-size: 13px; font-weight: 700; color: #2a2f58; }
.lr2-sec h4 + .lr2-l { margin-top: 0; }
.lr2-l i { color: #e0475b; font-style: normal; }
.lr2-hide { display: none !important; }
.lr2-in { width: 100%; height: 44px; padding: 0 14px; border: 1.5px solid #e3e6f5; border-radius: 13px; background: #fff; font: inherit; font-size: 14.5px; color: #151b44; box-sizing: border-box; }
.lr2-in:focus-within, .lr2-in:focus { outline: 0; border-color: #4a4fdc; box-shadow: 0 0 0 3px rgba(74, 79, 220, .12); }
.lr2-in.sm { height: 38px; margin: 8px 0; }
.lr2-chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 9px; }
.lr2-chip { height: 42px; border: 1.5px solid #e3e6f5; border-radius: 13px; background: #fff; font: inherit; font-weight: 700; font-size: 13.5px; color: #2a2f58; cursor: pointer; }
.lr2-chip.on { background: #4a4fdc; border-color: #4a4fdc; color: #fff; box-shadow: 0 8px 18px rgba(74, 79, 220, .3); }
.lr2-scopes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lr2-scope { position: relative; text-align: left; padding: 12px 14px; border: 1.5px solid #e3e6f5; border-radius: 15px; background: #fff; cursor: pointer; font: inherit; display: grid; gap: 2px; }
.lr2-scope .n { font-weight: 800; color: #151b44; font-size: 14px; }
.lr2-scope small { color: #8a91b3; font-size: 12px; }
.lr2-scope em { position: absolute; top: 10px; right: 10px; font-style: normal; font-size: 9.5px; font-weight: 850; letter-spacing: .5px; padding: 2px 7px; border-radius: 6px; }
.lr2-scope em.g { background: #eef0f6; color: #6b7094; } .lr2-scope em.p { background: #e8eafe; color: #4a4fdc; } .lr2-scope em.e { background: #fde8ea; color: #c0314a; }
.lr2-scope.on { border-color: #4a4fdc; background: #f3f3ff; box-shadow: 0 0 0 3px rgba(74, 79, 220, .12); }
.lr2-pos, .lr2-emp { margin-top: 12px; }
.lr2-pos { padding: 12px; border: 1.5px dashed #cfd3ef; border-radius: 15px; background: #fafaff; }
.lr2-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.lr2-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 11px; border-radius: 9px; background: #ece9fe; color: #5b3fd0; font-weight: 700; font-size: 12.5px; }
.lr2-tag button { border: 0; background: transparent; color: #5b3fd0; cursor: pointer; font-size: 15px; line-height: 1; }
.lr2-none { color: #8a91b3; font-size: 12.5px; }
.lr2-poslist { max-height: 150px; overflow: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 2px 12px; }
.lr2-chk { display: flex; align-items: center; gap: 8px; padding: 5px 4px; font-size: 13px; color: #2a2f58; cursor: pointer; }
.lr2-prio-note { margin-top: 12px; font-size: 12.5px; color: #7d84a6; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.lr2-prio-note .t { padding: 3px 10px; border-radius: 8px; font-weight: 700; font-size: 12px; }
.lr2-prio-note .e { background: #fde8ea; color: #c0314a; } .lr2-prio-note .p { background: #ece9fe; color: #5b3fd0; } .lr2-prio-note .g { background: #eef0f6; color: #6b7094; }
.lr2-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 12px; }
.lr2-lr { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; }
.lr2-two .lr2-lr { margin-top: 0; }
.lr2-lr .lr2-l { margin: 0 0 6px; } .lr2-lr small { font-size: 11.5px; color: #8a91b3; }
.lr2-step { display: flex; height: 46px; border: 1.5px solid #e3e6f5; border-radius: 13px; overflow: hidden; background: #fff; }
.lr2-step button { width: 46px; border: 0; background: #eef0fb; color: #4a4fdc; font-size: 20px; font-weight: 800; cursor: pointer; }
.lr2-step > div { flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px; }
.lr2-step input { width: 64px; border: 0 !important; background: transparent !important; box-shadow: none !important; text-align: center; font-size: 19px; font-weight: 850; color: #151b44; padding: 0 !important; -moz-appearance: textfield; }
.lr2-step input::-webkit-outer-spin-button, .lr2-step input::-webkit-inner-spin-button { -webkit-appearance: none; }
.lr2-step span { color: #8a91b3; font-size: 13px; }
.lr2-presets, .lr2-prios { display: flex; gap: 7px; margin-top: 9px; }
.lr2-presets button { padding: 3px 11px; border: 0; border-radius: 8px; background: #eef0ff; color: #4a4fdc; font-weight: 700; font-size: 12.5px; cursor: pointer; }
.lr2-presets button.on { background: #4a4fdc; color: #fff; }
.lr2-prios { margin-top: 0; }
.lr2-prios button { flex: 1; height: 44px; border: 1.5px solid #e3e6f5; border-radius: 12px; background: #fff; font-weight: 800; font-size: 16px; color: #2a2f58; cursor: pointer; }
.lr2-prios button.on { background: #151b44; border-color: #151b44; color: #fff; }
.lr2-mo { display: flex; align-items: center; gap: 8px; height: 46px; }
.lr2-mo input { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; outline: 0; font-size: 15px; font-weight: 700; padding: 0 !important; }
.lr2-mo span { color: #8a91b3; } .lr2-mo em { font-style: normal; font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 8px; background: #e1f5ea; color: #1b8a52; }
.lr2-hint { display: block; margin-top: 6px; color: #8a91b3; font-size: 12px; }
.lr2-extra { display: grid; gap: 10px; margin-top: 16px; }
.lr2-switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border: 1px solid #e3e6f5; border-radius: 14px; cursor: pointer; }
.lr2-switch b { display: block; font-size: 14px; color: #151b44; } .lr2-switch small { color: #8a91b3; font-size: 12px; }
.lr2-switch input[type=checkbox] { position: absolute; opacity: 0; pointer-events: none; }
.lr2-switch i { width: 44px; height: 25px; border-radius: 999px; background: #d3d6e8; position: relative; transition: .2s; flex: 0 0 44px; }
.lr2-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 19px; height: 19px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.lr2-switch input:checked ~ i { background: #2fb36d; } .lr2-switch input:checked ~ i::after { left: 22px; }
.lr2-sum { display: flex; gap: 12px; padding: 14px 16px; border-radius: 18px; background: #ece9fe; border: 1px solid #d9d3fa; }
.lr2-sum > span { width: 40px; height: 40px; border-radius: 12px; background: #fff; display: grid; place-items: center; font-size: 20px; flex: 0 0 40px; }
.lr2-sum small { font-size: 11px; letter-spacing: 1.2px; font-weight: 850; color: #6a52d8; }
.lr2-sum p { margin: 3px 0 0; font-size: 14px; line-height: 1.55; color: #2a2f58; }
.lr2-sum p b { color: #3a3fc8; }
.lr2-foot { display: flex; gap: 12px; padding: 14px 20px; background: #fff; border-top: 1px solid #e6e8f5; flex: 0 0 auto; }
.lr2-btn { height: 48px; border-radius: 14px; font-weight: 800; font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit; border: 0; }
.lr2-btn.ghost { flex: 0 0 30%; background: #e6e8fa; color: #3a3f78; }
.lr2-btn.primary { flex: 1; background: linear-gradient(115deg, rgb(58, 63, 179), rgb(87, 84, 227) 55%, rgb(143, 120, 240)); color: #fff; box-shadow: 0 10px 22px rgba(70, 72, 200, .3); }
.lr2-btn svg { width: 18px; height: 18px; }
@media (max-width: 640px) { .lr2-scopes, .lr2-two { grid-template-columns: 1fr; } }

/* ===== Yeni vəzifə modalı ===== */
#modal-new-position .pm2-box { width: min(680px, 94vw); max-width: 680px; }
.pm2-sim { margin-top: 10px; padding: 9px 13px; border-radius: 11px; background: #fff3dc; color: #8a5a10; font-size: 12.5px; }
.pm2-lr { display: flex; justify-content: space-between; align-items: baseline; }
.pm2-lr small { color: #8a91b3; font-size: 11.5px; }
.pm2-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pm2-card { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px; border: 1.5px solid #e3e6f5; border-radius: 16px; background: #fff; cursor: pointer; text-align: left; font-family: inherit; }
.pm2-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 18px; flex: 0 0 38px; background: #f1f2fa; }
.pm2-ic.b { background: #e4ecfe; } .pm2-ic.p { background: #efe8fe; } .pm2-ic.g { background: #e1f5ea; } .pm2-ic.o { background: #fff0dc; } .pm2-ic.r { background: #fde8ea; } .pm2-ic.s { background: #f1f2fa; }
.pm2-tx b { display: block; font-size: 13.5px; color: #151b44; }
.pm2-tx small { display: block; color: #8a91b3; font-size: 11.5px; line-height: 1.3; }
.pm2-ck { display: none; position: absolute; top: 10px; right: 10px; width: 20px; height: 20px; border-radius: 50%; background: #4a4fdc; color: #fff; font-size: 11px; font-style: normal; place-items: center; }
.pm2-card.on { border-color: #4a4fdc; background: #f3f3ff; box-shadow: 0 0 0 3px rgba(74, 79, 220, .12); }
.pm2-card.on .pm2-ck { display: grid; }
.pm2-pv { display: flex; align-items: center; gap: 12px; }
.pm2-pvi { width: 38px; height: 38px; border-radius: 11px; background: #fff; display: grid; place-items: center; font-size: 18px; }
.pm2-pv b { font-size: 15px; color: #151b44; }
.pm2-pv em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 9px; background: #4a4fdc; color: #fff; }
@media (max-width: 600px) { .pm2-cards { grid-template-columns: 1fr; } }

/* Sidebar: aşağı açıq, yuxarı tünd + hərəkətli gradient */
body:not(.employee-profile-v4-page) .sidebar { background: linear-gradient(0deg, rgb(120 108 220) 0%, rgb(102 96 199) 18%, rgb(59 45 121) 48%, rgb(33 28 122) 72%, rgb(24 20 96) 100%) 0 0 / 100% 240% !important; animation: sbFlow 16s ease-in-out infinite alternate; }
@keyframes sbFlow { 0% { background-position: 0 100%; } 100% { background-position: 0 0; } }

#modal-new-position .dm2-in-big, #modal-new-position .dm2-in { height: 40px; }
#modal-new-position .dm2-in-big input { font-size: 14.5px; font-weight: 500; }

#modal-new-position .dm2-btn, #modal-new-department .dm2-btn { height: 40px; font-size: 14px; padding: 0 18px; border-radius: 12px; }

#dp-root.is-list th.dp-pc { font-size: 11.5px; color: #8a91b3; white-space: nowrap; }
.st2-table th { white-space: nowrap; }

/* Sidebar: hero bannerdakı rənglər (yuxarı tünd göy → aşağı açıq bənövşəyi), hərəkətli */
body:not(.employee-profile-v4-page) .sidebar { background: linear-gradient(0deg, rgb(143 120 240) 0%, rgb(110 98 228) 28%, rgb(80 80 205) 60%, rgb(58 63 179) 100%) 0 0 / 100% 220% !important; }

#modal-new-position .pm2-lr { margin-top: 18px; }

.lr2-chip { font-size: 10.5px; }

#modal-new-leave-rule .fp-alt, #modal-new-leave-rule input.input { width: 100%; height: 44px; padding: 0 14px; border: 1.5px solid #e3e6f5 !important; border-radius: 13px !important; background: #fff !important; box-shadow: none !important; font: inherit; font-size: 14.5px; color: #151b44; box-sizing: border-box; }
#modal-new-leave-rule .fp-alt:focus, #modal-new-leave-rule input.input:focus { outline: 0; border-color: #4a4fdc !important; box-shadow: 0 0 0 3px rgba(74, 79, 220, .12) !important; }

/* Modallar: fade-in */
@keyframes mdFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mdRise { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-overlay.open { animation: mdFade .22s ease both; }
.modal-overlay.open > * { animation: mdRise .28s cubic-bezier(.2, .8, .3, 1) both; }
@media (prefers-reduced-motion: reduce) { .modal-overlay.open, .modal-overlay.open > * { animation: none; } }

/* Sidebar: bir az tündləşdirildi */
body:not(.employee-profile-v4-page) .sidebar { background: linear-gradient(0deg, rgb(92 82 190) 0%, rgb(68 66 175) 30%, rgb(48 50 150) 62%, rgb(36 38 128) 100%) 0 0 / 100% 220% !important; }

/* Sidebar: login kimi yalnız arxa fonda sürüşən işıq ləkələri (gradient sabit) */
body:not(.employee-profile-v4-page) .sidebar { animation: none !important; background-size: 100% 100% !important; background-position: 0 0 !important; isolation: isolate; }
body:not(.employee-profile-v4-page) .sidebar::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background: radial-gradient(circle closest-side, rgba(150, 135, 245, .38), transparent) 0 8% / 300px 300px no-repeat, radial-gradient(circle closest-side, rgba(100, 170, 245, .26), transparent) 100% 92% / 280px 280px no-repeat;
  animation: sbBlobs 15s ease-in-out infinite alternate; }
@keyframes sbBlobs { from { background-position: -30% 8%, 130% 92%; } to { background-position: 110% 55%, -40% 30%; } }

/* Sidebar: daha tünd */
body:not(.employee-profile-v4-page) .sidebar { background: linear-gradient(0deg, rgb(62 54 150) 0%, rgb(44 40 130) 35%, rgb(32 29 112) 70%, rgb(24 21 96) 100%) !important; }
body:not(.employee-profile-v4-page) .sidebar::before { opacity: .6; }

/* Sidebar: işıq yalnız aşağıda, yan-yana sürüşür */
body:not(.employee-profile-v4-page) .sidebar::before {
  background: radial-gradient(circle closest-side, rgba(140, 120, 240, .42), transparent) 0 100% / 320px 320px no-repeat, radial-gradient(circle closest-side, rgba(90, 150, 240, .28), transparent) 100% 100% / 280px 280px no-repeat;
  animation: sbBlobsBottom 12s ease-in-out infinite alternate; opacity: 1; }
@keyframes sbBlobsBottom { from { background-position: -20% 108%, 120% 112%; } to { background-position: 90% 112%, 10% 108%; } }

/* Sidebar: görünən hərəkətli gradient (tünd, aşağıda işıq) */
body:not(.employee-profile-v4-page) .sidebar { background: linear-gradient(0deg, rgb(86 74 190) 0%, rgb(58 50 150) 22%, rgb(34 30 115) 50%, rgb(24 21 96) 75%, rgb(40 34 120) 100%) 0 0 / 100% 260% !important; animation: sbFlow2 9s ease-in-out infinite alternate !important; }
@keyframes sbFlow2 { from { background-position: 0 100%; } to { background-position: 0 0; } }

/* Sidebar: arxa fonda aydın görünən sürüşən ləkələr */
body:not(.employee-profile-v4-page) .sidebar::before {
  background: radial-gradient(circle closest-side, rgba(150, 130, 250, .55), transparent) 0 0 / 340px 340px no-repeat, radial-gradient(circle closest-side, rgba(80, 150, 245, .42), transparent) 0 0 / 300px 300px no-repeat, radial-gradient(circle closest-side, rgba(190, 120, 240, .35), transparent) 0 0 / 260px 260px no-repeat;
  animation: sbBlobs3 11s ease-in-out infinite alternate; opacity: 1; }
@keyframes sbBlobs3 { 0% { background-position: -40% 100%, 140% 60%, 50% -10%; } 100% { background-position: 120% 20%, -30% 90%, 40% 110%; } }

.employee-bulk-btn:hover *, .employee-bulk-btn *, .employee-bulk-btn:not(#tn-grad):hover svg { background: transparent !important; }

/* İdarə paneli: çox zərif arxa fon */
.content.dashboard-v2-page { background: radial-gradient(900px 420px at 92% -8%, rgba(120, 108, 235, .09), transparent 70%), radial-gradient(800px 460px at -6% 105%, rgba(90, 150, 240, .08), transparent 70%), linear-gradient(180deg, #f6f7fd 0%, #f2f3fb 100%); }

/* İdarə paneli: arxada çox zərif xətlər (grid) */
.content.dashboard-v2-page { background:
  linear-gradient(rgba(90, 90, 190, .045) 1px, transparent 1px) 0 0 / 32px 32px,
  linear-gradient(90deg, rgba(90, 90, 190, .045) 1px, transparent 1px) 0 0 / 32px 32px,
  radial-gradient(900px 420px at 92% -8%, rgba(120, 108, 235, .09), transparent 70%),
  radial-gradient(800px 460px at -6% 105%, rgba(90, 150, 240, .08), transparent 70%),
  linear-gradient(180deg, #f6f7fd 0%, #f2f3fb 100%); }

/* Cədvəl başlığındakı "hamısını seç" checkbox-ları gizlədilir (yalnız tbody-də qalır) */
table thead input[type="checkbox"], table thead th > label:has(> input[type="checkbox"]) { display: none !important; }

/* Arxa fon xətləri bütün səhifələrdə */
body:not(.employee-profile-v4-page) .main .content, body:not(.employee-profile-v4-page) .content.dashboard-v2-page { background:
  linear-gradient(rgba(90, 90, 190, .045) 1px, transparent 1px) 0 0 / 32px 32px,
  linear-gradient(90deg, rgba(90, 90, 190, .045) 1px, transparent 1px) 0 0 / 32px 32px,
  radial-gradient(900px 420px at 92% -8%, rgba(120, 108, 235, .09), transparent 70%),
  radial-gradient(800px 460px at -6% 105%, rgba(90, 150, 240, .08), transparent 70%),
  linear-gradient(180deg, #f6f7fd 0%, #f2f3fb 100%); }

/* ===== Cədvəl əməliyyatları: göz + açılan menyu ===== */
.ao-host { display: inline-flex !important; align-items: center; justify-content: flex-end; gap: 8px; }
.ao-wrap { display: inline-flex; align-items: center; gap: 8px; position: relative; }
.ao-btn { width: 38px !important; height: 38px !important; min-height: 38px !important; display: inline-grid !important; place-items: center; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 12px !important; background: #ecebfb !important; color: #4a4fdc !important; cursor: pointer; box-shadow: none !important; }
.ao-btn:hover { background: #dfddf8 !important; }
.ao-btn svg { width: 17px !important; height: 17px !important; margin: 0 !important; stroke: currentColor !important; }
.ao-menu { position: fixed; z-index: 9999; min-width: 200px; padding: 6px; background: #fff; border: 1px solid #e3e6f5; border-radius: 14px; box-shadow: 0 18px 40px rgba(40, 45, 120, .22); }
.ao-menu[hidden] { display: none; }
.ao-menu form { margin: 0; display: block; }
.ao-menu .ao-item { display: flex !important; align-items: center; gap: 10px; width: 100% !important; height: auto !important; min-height: 36px !important; padding: 8px 10px !important; margin: 0 !important; border: 0 !important; border-radius: 10px !important; background: transparent !important; color: #2a2f58 !important; font: inherit; font-size: 13.5px; font-weight: 600; text-align: left; cursor: pointer; box-shadow: none !important; text-decoration: none; transform: none !important; }
.ao-menu .ao-item:hover { background: #f1f2ff !important; color: #3a3fc8 !important; }
.ao-menu .ao-item svg { width: 16px !important; height: 16px !important; margin: 0 !important; flex: 0 0 16px; }
.ao-menu .ao-item.ao-danger, .ao-menu .ao-item.ao-danger svg { color: #c0314a !important; }
.ao-menu .ao-item.ao-danger:hover { background: #fde8ea !important; color: #c0314a !important; }


/* düzəliş: menyu elementləri həmişə sütun, tam en, ikon görünən */
.ao-menu { display: flex; flex-direction: column; gap: 2px; width: max-content; max-width: 280px; }
.ao-menu form { width: 100%; }
body .ao-menu a.ao-item, body .ao-menu button.ao-item { display: flex !important; flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; width: 100% !important; min-width: 190px; max-width: none !important; height: auto !important; min-height: 36px !important; padding: 8px 12px !important; margin: 0 !important; border: 0 !important; border-radius: 10px !important; background: transparent !important; color: #2a2f58 !important; font-size: 13.5px !important; font-weight: 600 !important; white-space: nowrap; text-align: left; box-shadow: none !important; line-height: 1.2; }
body .ao-menu .ao-item:hover { background: #f1f2ff !important; color: #3a3fc8 !important; }
body .ao-menu .ao-item svg { display: block !important; width: 16px !important; height: 16px !important; flex: 0 0 16px; color: inherit !important; stroke: currentColor !important; fill: none !important; opacity: 1 !important; }
body .ao-menu .ao-item.ao-danger, body .ao-menu .ao-item.ao-danger svg { color: #c0314a !important; }
body .ao-menu .ao-item.ao-danger:hover { background: #fde8ea !important; }
.ao-btn[data-tooltip] { position: relative; }
.ao-menu .ao-lbl { white-space: nowrap; }

/* Əməliyyat menyusu: ikon kvadratı + başlıq + izah */
.ao-menu { min-width: 280px; padding: 8px; border-radius: 18px; }
body .ao-menu a.ao-item, body .ao-menu button.ao-item { gap: 14px; padding: 8px 10px !important; min-height: 56px !important; border-radius: 14px !important; min-width: 260px; }
body .ao-menu .ao-ic { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; display: grid; place-items: center; background: #eef0ff; color: #4a4fdc; }
body .ao-menu .ao-ic svg { width: 19px !important; height: 19px !important; }
body .ao-menu .ao-ic.purple { background: #efe8fe; color: #7a4fe0; } body .ao-menu .ao-ic.green { background: #e1f5ea; color: #1b8a52; }
body .ao-menu .ao-ic.amber { background: #fff0dc; color: #c27a14; } body .ao-menu .ao-ic.red { background: #fde8ea; color: #c0314a; }
body .ao-menu .ao-tx { display: flex; flex-direction: column; min-width: 0; text-align: left; }
body .ao-menu .ao-tx b { font-size: 14.5px; font-weight: 800; color: #151b44; line-height: 1.25; }
body .ao-menu .ao-tx small { font-size: 12.5px; font-weight: 500; color: #8a91b3; line-height: 1.3; margin-top: 2px; }
body .ao-menu .ao-item.ao-danger .ao-tx b { color: #a65a14; }
body .ao-menu .ao-item.ao-danger[data-x] .ao-tx b, body .ao-menu .ao-item .ao-ic.red ~ .ao-tx b { color: #c0314a; }
body .ao-menu .ao-ic svg { color: inherit !important; }
.ao-sep { height: 1px; background: #eceef8; margin: 6px 8px; }

body .ao-menu .ao-item.ao-danger .ao-ic.amber svg { color: #c27a14 !important; }
body .ao-menu .ao-item .ao-ic.purple svg { color: #7a4fe0 !important; }
body .ao-menu .ao-item .ao-ic.green svg { color: #1b8a52 !important; }
body .ao-menu .ao-item .ao-ic.blue svg { color: #4a4fdc !important; }

/* Əməliyyat menyusu: kiçildildi */
.ao-menu { min-width: 0; padding: 5px; border-radius: 14px; }
body .ao-menu a.ao-item, body .ao-menu button.ao-item { gap: 10px; padding: 5px 8px !important; min-height: 40px !important; min-width: 190px; border-radius: 10px !important; }
body .ao-menu .ao-ic { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 9px; }
body .ao-menu .ao-ic svg { width: 15px !important; height: 15px !important; }
body .ao-menu .ao-tx b { font-size: 13px; font-weight: 700; }
body .ao-menu .ao-tx small { font-size: 11px; margin-top: 1px; }
.ao-sep { margin: 4px 6px; }

/* hover-da mətn görünsün */
body .ao-menu a.ao-item:hover, body .ao-menu button.ao-item:hover, body .ao-menu .ao-item.btn-outline-brand:hover, body .ao-menu .ao-item.btn-outline-success:hover, body .ao-menu .ao-item.btn-outline-warning:hover, body .ao-menu .ao-item.btn-outline-danger:hover { background: #f1f2ff !important; color: #151b44 !important; border: 0 !important; transform: none !important; }
body .ao-menu .ao-item:hover .ao-tx b { color: #151b44 !important; }
body .ao-menu .ao-item:hover .ao-tx small { color: #8a91b3 !important; }
body .ao-menu .ao-item.ao-danger:hover .ao-tx b { color: #a65a14 !important; }
body .ao-menu .ao-item:hover .ao-ic { background: #e4e6ff; }
body .ao-menu .ao-item:hover * { background-color: transparent; }
body .ao-menu .ao-item:hover .ao-ic.purple { background: #e6dcfc; } body .ao-menu .ao-item:hover .ao-ic.green { background: #d3efdf; }
body .ao-menu .ao-item:hover .ao-ic.amber { background: #ffe6c2; } body .ao-menu .ao-item:hover .ao-ic.red { background: #fbd5da; }

/* ===== Yeni hesab: rol seçimi (qruplu kartlar) ===== */
.rp { display: grid; gap: 14px; }
.rp-sel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 16px; background: #eeedfc; }
.rp-cnt { font-size: 11.5px; font-weight: 850; letter-spacing: 1.2px; color: #5a5fd0; margin-right: 4px; }
.rp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 11px; background: #fff; border: 1px solid #dcdff5; font-size: 13px; font-weight: 700; color: #151b44; }
.rp-chip.lock { color: #4b5180; } .rp-chip.dan { color: #b4424f; border-color: #f0c4cc; }
.rp-chip button { border: 0; background: transparent; color: #9aa0c0; cursor: pointer; font-size: 15px; line-height: 1; padding: 0; }
.rp-clr { margin-left: auto; border: 0; background: transparent; color: #7d84a6; font-weight: 700; cursor: pointer; font-size: 13px; }
.rp-g { padding-top: 12px; border-top: 1px solid #eceef8; }
.rp-gh { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.rp-gh i { width: 11px; height: 11px; border-radius: 50%; }
.rp-gh b { font-size: 14.5px; font-weight: 850; color: #151b44; }
.rp-n { padding: 2px 9px; border-radius: 999px; background: #eef0ff; color: #6a6fd0; font-size: 12px; font-weight: 800; }
.rp-all { margin-left: auto; border: 0; background: transparent; color: #4a4fdc; font-weight: 800; font-size: 13px; cursor: pointer; }
.rp-all.dim { color: #9aa0c0; }
.rp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 9px; }
.rp-card { display: flex; align-items: center; gap: 9px; padding: 11px 12px; border: 1.5px solid #e6e8f5; border-radius: 14px; background: #fff; cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 700; color: #151b44; text-align: left; }
.rp-card:hover { border-color: #c9ccf5; background: #fafaff; }
.rp-ck { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #cfd3ef; display: grid; place-items: center; color: #fff; font-size: 12px; flex: 0 0 20px; }
.rp-card.on { border-color: #4a4fdc; background: #f1f1ff; }
.rp-card.on .rp-ck { background: #4a4fdc; border-color: #4a4fdc; }
.rp-ic { font-size: 16px; }
.rp-seg { display: flex; padding: 4px; border-radius: 14px; background: #eef0f7; gap: 4px; }
.rp-seg button { flex: 1; height: 38px; border: 0; border-radius: 11px; background: transparent; color: #7d84a6; font: inherit; font-weight: 700; font-size: 13.5px; cursor: pointer; }
.rp-seg button.on { background: #fff; color: #4a4fdc; box-shadow: 0 2px 8px rgba(40, 45, 120, .12); }

/* menyu: güclü specificity + boşluqlar */
body .ao-menu.ao-menu a.ao-item.ao-item.ao-item, body .ao-menu.ao-menu button.ao-item.ao-item.ao-item { background: transparent !important; border: 0 !important; box-shadow: none !important; color: #151b44 !important; margin: 0 !important; }
body .ao-menu.ao-menu a.ao-item.ao-item.ao-item:hover, body .ao-menu.ao-menu button.ao-item.ao-item.ao-item:hover { background: #f1f2ff !important; color: #151b44 !important; }
body .ao-menu.ao-menu .ao-item.ao-item.ao-item .ao-tx b { color: #151b44 !important; }
body .ao-menu.ao-menu .ao-item.ao-item.ao-item .ao-tx small { color: #8a91b3 !important; }
body .ao-menu.ao-menu .ao-item.ao-danger.ao-item.ao-item .ao-tx b { color: #c0314a !important; }
body .ao-menu.ao-menu .ao-item.ao-danger.ao-item.ao-item.ao-amberx .ao-tx b { color: #a65a14 !important; }
.ao-menu { gap: 0 !important; }
.ao-menu form, .ao-menu form[style] { margin: 0 !important; padding: 0 !important; display: block !important; width: 100% !important; }
.ao-sep { margin: 3px 6px !important; }
body .ao-menu.ao-menu .ao-item.ao-item.ao-item { min-height: 38px !important; padding: 4px 8px !important; }

/* Rol kartları: kiçildildi */
.rp-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.rp-card { padding: 6px 9px; gap: 7px; border-radius: 10px; font-size: 12px; font-weight: 600; }
.rp-ck { width: 15px; height: 15px; flex: 0 0 15px; border-radius: 4px; font-size: 10px; }
.rp-ic { font-size: 13px; }
.rp-chip { padding: 3px 8px; font-size: 12px; border-radius: 9px; }
.rp-sel { padding: 7px 10px; border-radius: 12px; gap: 6px; }
.rp-g { padding-top: 8px; }
.rp-gh { margin-bottom: 7px; } .rp-gh b { font-size: 13px; }
.rp-seg button { height: 32px; font-size: 12.5px; }

/* Cədvəl sətirlərindəki checkbox-lar: kiçik */
table tbody td input[type="checkbox"] { width: 16px !important; height: 16px !important; min-width: 16px; min-height: 16px; padding: 0 !important; margin: 0 !important; accent-color: #4a52d6; cursor: pointer; vertical-align: middle; border-radius: 4px; }

/* ===== Əməliyyat menyusu: ID-səviyyəli specificity (köhnə !important qaydalarını üstələyir) ===== */
.ao-menu .ao-item:not(#ao-x), .ao-menu a.ao-item:not(#ao-x), .ao-menu button.ao-item:not(#ao-x) { background: transparent !important; border: 0 !important; box-shadow: none !important; color: #151b44 !important; width: 100% !important; height: auto !important; min-height: 36px !important; padding: 4px 8px !important; margin: 0 !important; border-radius: 10px !important; display: flex !important; align-items: center; gap: 10px; transform: none !important; }
.ao-menu .ao-item:not(#ao-x):hover { background: #f1f2ff !important; color: #151b44 !important; }
.ao-menu .ao-item .ao-tx b:not(#ao-x) { color: #151b44 !important; font-size: 13px !important; }
.ao-menu .ao-item .ao-tx small:not(#ao-x) { color: #8a91b3 !important; font-size: 11px !important; }
.ao-menu .ao-item.ao-danger .ao-tx b:not(#ao-x) { color: #c0314a !important; }
.ao-menu .ao-ic:not(#ao-x) { width: 28px !important; height: 28px !important; flex: 0 0 28px; border-radius: 9px !important; background: #eef0ff !important; }
.ao-menu .ao-ic.purple:not(#ao-x) { background: #efe8fe !important; } .ao-menu .ao-ic.green:not(#ao-x) { background: #e1f5ea !important; }
.ao-menu .ao-ic.amber:not(#ao-x) { background: #fff0dc !important; } .ao-menu .ao-ic.red:not(#ao-x) { background: #fde8ea !important; }
.ao-menu .ao-ic svg:not(#ao-x) { width: 15px !important; height: 15px !important; }
.ao-menu:not(#ao-x) { padding: 5px !important; gap: 0 !important; }
.ao-btn:not(#ao-x) { background: #ecebfb !important; border: 0 !important; width: 38px !important; height: 38px !important; border-radius: 12px !important; }
.ao-btn:not(#ao-x):hover { background: #dfddf8 !important; color: #4a4fdc !important; transform: none !important; }

/* ===== Bütün cədvəl/bölmə başlıqları: Əmr reyestri banner üslubu ===== */
:is(.overview-panel-head, .directory-summary, .order-directory-head, .candidate-directory-head, .requests-directory-head, .education-directory-head, .science-directory-head, .military-directory-head, .workload-directory-head, .my-requests-directory-head, .leave-panel-head):not(#tn-a):not(#tn-b) { background: linear-gradient(115deg, rgb(58, 63, 179) 0%, rgb(87, 84, 227) 55%, rgb(143, 120, 240) 100%) !important; color: #fff !important; border-bottom: 0 !important; border-radius: 22px 22px 0 0 !important; }
:is(.overview-panel-head, .directory-summary, .order-directory-head, .candidate-directory-head, .requests-directory-head, .education-directory-head, .science-directory-head, .military-directory-head, .workload-directory-head, .my-requests-directory-head, .leave-panel-head):not(#tn-a):not(#tn-b) :is(h1, h2, h3, h4, b, strong):not(.count-pill):not(.badge) { color: #fff !important; }
:is(.overview-panel-head, .directory-summary, .order-directory-head, .candidate-directory-head, .requests-directory-head, .education-directory-head, .science-directory-head, .military-directory-head, .workload-directory-head, .my-requests-directory-head, .leave-panel-head):not(#tn-a):not(#tn-b) :is(p, .muted, small, .eyebrow, .sched-head-sub):not(.badge) { color: rgba(255, 255, 255, .85) !important; }
/* başlıqdakı düymələr: şüşə görünüş (mövcud düymələr qalır) */
:is(.overview-panel-head, .directory-summary, .order-directory-head, .candidate-directory-head, .requests-directory-head, .education-directory-head, .science-directory-head, .military-directory-head, .workload-directory-head, .my-requests-directory-head, .leave-panel-head):not(#tn-a):not(#tn-b) :is(.btn, .wl-pill, a.btn, button.btn):not(#tn-a):not(#tn-b) { background: rgba(255, 255, 255, .16) !important; border: 1px solid rgba(255, 255, 255, .32) !important; color: #fff !important; border-radius: 14px !important; box-shadow: none !important; }
:is(.overview-panel-head, .directory-summary, .order-directory-head, .candidate-directory-head, .requests-directory-head, .education-directory-head, .science-directory-head, .military-directory-head, .workload-directory-head, .my-requests-directory-head, .leave-panel-head):not(#tn-a):not(#tn-b) :is(.btn-primary, .btn-accent, .wl-pill-primary, .btn-brand):not(#tn-a):not(#tn-b) { background: #fff !important; color: #3a3fc8 !important; border-color: #fff !important; box-shadow: 0 8px 20px rgba(20, 20, 90, .28) !important; }
:is(.overview-panel-head, .directory-summary, .order-directory-head, .candidate-directory-head, .requests-directory-head, .education-directory-head, .science-directory-head, .military-directory-head, .workload-directory-head, .my-requests-directory-head, .leave-panel-head):not(#tn-a):not(#tn-b) :is(.btn, .wl-pill) svg { color: inherit !important; stroke: currentColor !important; }

/* ===== Tədris yükü Hub ===== */
.thb-hero { display: flex; align-items: center; gap: 16px; padding: 22px 28px; border-radius: 26px; background: linear-gradient(115deg, rgb(58, 63, 179) 0%, rgb(87, 84, 227) 55%, rgb(143, 120, 240) 100%); color: #fff; margin-bottom: 18px; box-shadow: 0 14px 34px rgba(60, 64, 190, .22); }
.thb-hero-ico { width: 56px; height: 56px; border-radius: 17px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.32); display: grid; place-items: center; flex: 0 0 56px; }
.thb-hero-ico svg { width: 28px; height: 28px; }
.thb-hero-t h2 { margin: 0; color: #fff; font-size: 26px; font-weight: 850; letter-spacing: -.4px; }
.thb-hero-t p { margin: 4px 0 0; color: rgba(255,255,255,.88); font-size: 14.5px; }
.thb-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.thb-card { background: #fff; border: 1px solid #e6e8f5; border-radius: 26px; padding: 22px 24px; box-shadow: 0 10px 30px rgba(40, 45, 120, .07); }
.thb-ch { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.thb-ci { width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(135deg, #3a3fc8, #6a60ea); color: #fff; display: grid; place-items: center; flex: 0 0 54px; box-shadow: 0 8px 18px rgba(70, 72, 200, .3); }
.thb-ci svg { width: 26px; height: 26px; }
.thb-ci.g { background: #eceef6; color: #8a91b3; box-shadow: none; }
.thb-ct { flex: 1; min-width: 200px; }
.thb-ct h3 { margin: 0; font-size: 22px; font-weight: 850; color: #151b44; letter-spacing: -.3px; }
.thb-ct h3 small { font-size: 14px; font-weight: 600; color: #7d84a6; margin-left: 6px; letter-spacing: 0; }
.thb-ct h3 em { font-style: normal; font-size: 11px; font-weight: 850; letter-spacing: 1px; padding: 3px 9px; border-radius: 8px; background: #fff0c8; color: #a8741a; margin-left: 8px; vertical-align: middle; }
.thb-ct p { margin: 3px 0 0; color: #7d84a6; font-size: 14px; }
.thb-go { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 15px; background: linear-gradient(115deg, rgb(58, 63, 179), rgb(87, 84, 227) 55%, rgb(143, 120, 240)); color: #fff !important; font-weight: 800; text-decoration: none; box-shadow: 0 10px 22px rgba(70, 72, 200, .3); margin-left: auto; }
.thb-go:hover { filter: brightness(1.06); }
.thb-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.thb-tile { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1.5px solid #e6e8f5; border-radius: 18px; background: #fff; text-decoration: none; color: inherit; transition: .18s; }
.thb-tile:hover { border-color: #c9ccf5; background: #fafaff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(40, 45, 120, .1); }
.thb-ti { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 20px; flex: 0 0 44px; background: #eef0ff; }
.thb-ti.p { background: #efe8fe; } .thb-ti.o { background: #fff0dc; }
.thb-tx { flex: 1; min-width: 0; }
.thb-tx b { display: block; font-size: 15px; color: #151b44; line-height: 1.25; }
.thb-tx small { color: #8a91b3; font-size: 12.5px; }
.thb-tile i { color: #a0a5c2; font-style: normal; }
.thb-soon { border-style: dashed; background: repeating-linear-gradient(135deg, #fafaff 0 14px, #f4f5fc 14px 28px); }
.thb-plan { background: #fff; border: 1px solid #e6e8f5; border-radius: 18px; padding: 16px 20px; }
.thb-plan small { font-size: 11.5px; font-weight: 850; letter-spacing: 1.6px; color: #7d84a6; }
.thb-plan ol { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; }
.thb-plan li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed #eceef8; font-size: 15px; color: #2a2f58; }
.thb-plan li:last-child { border-bottom: 0; }
.thb-plan li i { width: 24px; height: 24px; border-radius: 8px; background: #f1f2fa; color: #7d84a6; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 800; }
@media (max-width: 1000px) { .thb-grid { grid-template-columns: 1fr; } .thb-tiles { grid-template-columns: 1fr; } }

/* ===== PMH hub: addım kartları ===== */
.thb-crumb { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; color: #3a3fc8; font-weight: 800; text-decoration: none; font-size: 15px; }
.thb-crumb i { color: #8a91b3; font-style: normal; } .thb-crumb b { color: #151b44; }
.thb-hero-t h2 small { font-size: 15px; font-weight: 600; opacity: .85; margin-left: 8px; letter-spacing: 0; }
.thb-steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 12px; align-items: stretch; }
.thb-step { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px 24px 22px; background: #fff; border: 1px solid #e6e8f5; border-radius: 26px; box-shadow: 0 10px 30px rgba(40, 45, 120, .07); text-decoration: none; color: inherit; overflow: hidden; transition: .2s; min-height: 280px; }
.thb-step::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: #4a4fdc; }
.thb-step.s2::before { background: #7a4fe0; } .thb-step.s3::before { background: #34a96a; }
.thb-step:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(40, 45, 120, .14); }
.thb-sh { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.thb-sh small { font-size: 12px; font-weight: 850; letter-spacing: 1.6px; color: #8a91b3; }
.thb-si { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #eef0ff; color: #4a4fdc; }
.thb-si svg { width: 26px; height: 26px; }
.thb-si.p { background: #efe8fe; color: #7a4fe0; } .thb-si.g { background: #e1f5ea; color: #1b8a52; }
.thb-step h3 { margin: 0; font-size: 22px; font-weight: 850; color: #151b44; letter-spacing: -.3px; }
.thb-step p { margin: 0; color: #6a7192; font-size: 15px; line-height: 1.5; }
.thb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.thb-chips span { padding: 6px 12px; border-radius: 10px; background: #f1f2fa; color: #2a2f58; font-weight: 700; font-size: 13px; }
.thb-open { margin-top: auto; align-self: flex-end; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 14px; background: #eceafe; color: #5a3fd0; font-weight: 850; }
.thb-open.green { background: linear-gradient(120deg, #2f8f5a, #3fb374); color: #fff; box-shadow: 0 10px 22px rgba(47, 143, 90, .3); }
.thb-arr { align-self: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 1px solid #e3e6f5; display: grid; place-items: center; color: #8a91b3; box-shadow: 0 4px 12px rgba(40, 45, 120, .08); }
@media (max-width: 1000px) { .thb-steps { grid-template-columns: 1fr; } .thb-arr { display: none; } }

/* Tarif səhifələri: şüşə düymələr, modal, geri düyməsi */
.card-header .rt-glass:not(#tn-a):not(#tn-b) { background: rgba(255, 255, 255, .16) !important; border: 1px solid rgba(255, 255, 255, .38) !important; color: #fff !important; -webkit-backdrop-filter: blur(10px) saturate(140%); backdrop-filter: blur(10px) saturate(140%); box-shadow: 0 4px 14px rgba(20, 20, 90, .18) !important; border-radius: 12px !important; }
.card-header .rt-glass:not(#tn-a):not(#tn-b):hover { background: rgba(255, 255, 255, .26) !important; }
.card-header .rt-glass svg { color: #fff !important; stroke: #fff !important; }
.rt-box { width: min(420px, 94vw) !important; max-width: 420px !important; }
.rt-box .dm2-in { height: 44px; } .rt-unit { color: #8a91b3; font-weight: 700; font-size: 13px; }
.rt-box .dm2-in input { font-size: 18px; font-weight: 800; }
.rt-amt { font-size: 15px; color: #151b44; } .rt-u { color: #8a91b3; font-size: 12px; margin-left: 4px; }
tr.cell-saved td { background: #eaf7ef !important; transition: background .3s; }
td.r { text-align: right; }
.pmh-hero-card-back:not(#tn-a):not(#tn-b) { padding: 6px 12px !important; font-size: 12.5px !important; min-height: 0 !important; height: auto !important; gap: 6px !important; border-radius: 10px !important; }
.pmh-hero-card-back:not(#tn-a):not(#tn-b) svg { width: 13px !important; height: 13px !important; }

/* ===== Əvəzetmə modulu ===== */
#rp-modal .ev-box { width: min(860px, 95vw); max-width: 860px; padding: 0; border-radius: 24px; overflow: hidden; background: #f4f5fc; border: 0; max-height: 94vh; display: flex; flex-direction: column; box-shadow: 0 30px 80px rgba(30, 35, 100, .35); }
.ev-body { padding: 16px 20px; overflow-y: auto; display: grid; gap: 14px; flex: 1; }
.ev-card { background: #fff; border: 1px solid #e6e8f5; border-radius: 18px; padding: 16px 18px; box-shadow: 0 4px 14px rgba(40, 45, 120, .05); }
.ev-ch { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.ev-plus { width: 24px; height: 24px; border-radius: 8px; background: #eef0ff; color: #4a4fdc; display: grid; place-items: center; font-weight: 800; }
.ev-ch b { font-size: 15px; color: #151b44; }
.ev-steps { margin-left: auto; display: flex; gap: 6px; }
.ev-steps span { padding: 3px 9px; border-radius: 8px; background: #f1f2fa; color: #9aa0c0; font-size: 11.5px; font-weight: 700; }
.ev-steps span.cur { background: #e8eafe; color: #4a4fdc; } .ev-steps span.done { background: #e1f5ea; color: #1b8a52; }
.ev-pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: end; margin-bottom: 12px; }
.ev-pair.ev-dates { grid-template-columns: 1fr 1fr; align-items: start; }
.ev-f label { display: block; font-size: 12px; font-weight: 800; color: #4b5180; margin-bottom: 6px; } .ev-f label i { color: #e0475b; font-style: normal; }
.ev-arr { width: 32px; height: 32px; border-radius: 50%; background: #eceefa; color: #9aa0c0; display: grid; place-items: center; margin-bottom: 11px; }
.ev-arr.on { background: linear-gradient(135deg, #3a3fc8, #7a62ea); color: #fff; }
.ev-pick { position: relative; }
.ev-empty { display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 12px; border: 1.5px dashed #cfd3ef; border-radius: 14px; background: #fafaff; }
.ev-empty:focus-within { border-style: solid; border-color: #4a4fdc; background: #fff; box-shadow: 0 0 0 3px rgba(74, 79, 220, .12); }
.ev-empty input { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; outline: 0; font: inherit; font-size: 14px; padding: 0 !important; }
.ev-av { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-weight: 850; font-size: 13px; flex: 0 0 36px; background: #eef0ff; color: #4a4fdc; }
.ev-av.ph { background: #eceefa; font-size: 16px; } .ev-av.a { background: #fde9c8; color: #b9791a; } .ev-av.b { background: #d3f0df; color: #1b8a52; } .ev-av.s { width: 32px; height: 32px; flex-basis: 32px; background: #e4ecfe; font-size: 12px; }
.ev-sel { display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 12px; border: 1.5px solid; border-radius: 14px; }
.ev-pick.ca .ev-sel { border-color: #f0c987; background: #fff8ec; } .ev-pick.cb .ev-sel { border-color: #86d3a5; background: #f1fbf5; }
.ev-sel > div { flex: 1; min-width: 0; } .ev-sel b { display: block; font-size: 14px; color: #151b44; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-sel small { color: #7d84a6; font-size: 12px; } .ev-sel code { background: #fff; border: 1px solid #e6e8f5; border-radius: 6px; padding: 0 6px; margin-right: 6px; font-size: 11px; }
.ev-x { width: 24px; height: 24px; border-radius: 8px; border: 1px solid #e3e6f5; background: #fff; color: #7d84a6; cursor: pointer; }
.ev-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid #e3e6f5; border-radius: 14px; padding: 6px; box-shadow: 0 18px 40px rgba(40, 45, 120, .22); max-height: 280px; overflow-y: auto; }
.ev-list[hidden], .ev-empty[hidden], .ev-sel[hidden] { display: none; }
.ev-lt { padding: 6px 10px; font-size: 10.5px; font-weight: 800; letter-spacing: 1px; color: #9aa0c0; }
.ev-list button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 10px; background: transparent; text-align: left; cursor: pointer; font: inherit; }
.ev-list button:hover:not(:disabled) { background: #f1f2ff; }
.ev-list button b { display: block; font-size: 13.5px; color: #151b44; } .ev-list button small { color: #8a91b3; font-size: 11.5px; } .ev-list button > div { flex: 1; min-width: 0; }
.ev-list button.dis { opacity: .55; cursor: not-allowed; }
.ev-list em { font-style: normal; font-size: 10px; font-weight: 850; padding: 2px 8px; border-radius: 6px; } .ev-list em.same { background: #e1f5ea; color: #1b8a52; } .ev-list em.self { background: #fde8ea; color: #c0314a; }
.ev-drow { display: flex; align-items: center; gap: 8px; }
.ev-in, .ev-drow .fp-alt, .ev-drow input.input { height: 42px; padding: 0 12px; border: 1.5px solid #e3e6f5 !important; border-radius: 12px !important; background: #fff !important; font: inherit; font-size: 14px; box-shadow: none !important; box-sizing: border-box; min-width: 0; }
.ev-drow .fp-wrap { flex: 1; min-width: 0; } .ev-drow > input.ev-in { flex: 1; }
.ev-dash { color: #a0a5c2; } .ev-dur { padding: 4px 10px; border-radius: 9px; background: #e8eafe; color: #4a4fdc; font-size: 12px; white-space: nowrap; }
.ev-types { display: flex; flex-wrap: wrap; gap: 7px; }
.ev-types button { height: 38px; padding: 0 13px; border: 1.5px solid #e3e6f5; border-radius: 11px; background: #fff; font: inherit; font-size: 12.5px; font-weight: 700; color: #2a2f58; cursor: pointer; }
.ev-types button.on { background: #4a4fdc; border-color: #4a4fdc; color: #fff; box-shadow: 0 6px 14px rgba(74, 79, 220, .3); }
.ev-other { width: 100%; margin-top: 8px; }
.ev-err { margin: 0 0 8px; padding: 9px 12px; border-radius: 10px; background: #fde8ea; color: #b8344b; font-size: 13px; }
.ev-foot { display: flex; align-items: center; gap: 14px; padding-top: 12px; border-top: 1px dashed #e3e6f5; }
.ev-hint { flex: 1; font-size: 13px; color: #9aa0c0; } .ev-hint b { color: #151b44; }
.ev-add { height: 44px; padding: 0 22px; border: 0; border-radius: 13px; background: linear-gradient(115deg, rgb(58, 63, 179), rgb(87, 84, 227) 55%, rgb(143, 120, 240)); color: #fff; font: inherit; font-weight: 800; cursor: pointer; box-shadow: 0 10px 22px rgba(70, 72, 200, .3); }
.ev-add:disabled { background: #e4e6f7; color: #a0a5c8; box-shadow: none; cursor: not-allowed; }
.ev-ok { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid #bfe6cf; border-radius: 16px; background: #eaf8f0; }
.ev-ok[hidden] { display: none; }
.ev-okic { width: 34px; height: 34px; border-radius: 10px; background: #3fa66b; color: #fff; display: grid; place-items: center; font-weight: 800; }
.ev-ok b { display: block; color: #1b5f3a; } .ev-ok small { color: #4a8a68; } .ev-ok > div { flex: 1; }
.ev-ok button { border: 1px solid #bfe6cf; background: #fff; border-radius: 10px; padding: 7px 12px; font: inherit; font-weight: 700; color: #1b5f3a; cursor: pointer; }
.ev-lh { font-size: 13px; font-weight: 800; color: #4b5180; } .ev-lh i { font-style: normal; padding: 1px 8px; border-radius: 99px; background: #e8eafe; color: #4a4fdc; margin-left: 6px; }
.ev-rows { display: grid; gap: 10px; }
.ev-row { position: relative; display: grid; grid-template-columns: 1fr auto 1fr 1.1fr auto; gap: 12px; align-items: center; padding: 12px 14px; background: #fff; border: 1.5px solid #e6e8f5; border-radius: 16px; }
.ev-row.new { border-color: #5fc08a; box-shadow: 0 8px 22px rgba(63, 166, 107, .18); }
.ev-newtag { position: absolute; left: 14px; top: -9px; font-style: normal; font-size: 10px; font-weight: 850; padding: 2px 8px; border-radius: 6px; background: #3fa66b; color: #fff; }
.ev-p { display: flex; align-items: center; gap: 10px; min-width: 0; } .ev-p small { display: block; font-size: 10px; font-weight: 850; letter-spacing: .8px; } .ev-p.a small { color: #b9791a; } .ev-p.b small { color: #1b8a52; }
.ev-p b { font-size: 14px; color: #151b44; } .ev-ra { color: #a0a5c2; }
.ev-d { font-size: 12px; } .ev-dt { display: flex; justify-content: space-between; color: #7d84a6; margin-bottom: 4px; }
.ev-pb { display: block; height: 5px; border-radius: 99px; background: #eceefa; overflow: hidden; } .ev-pb u { display: block; height: 100%; background: #5a56e8; }
.ev-d small { display: block; margin-top: 4px; color: #3a3fc8; font-weight: 700; }
.ev-del { width: 28px; height: 28px; border: 1px solid #f0c4cc; border-radius: 9px; background: #fff; color: #c0314a; cursor: pointer; }
.ev-none { padding: 18px; text-align: center; color: #8a91b3; font-size: 13px; }
.ev-bar { display: flex; justify-content: flex-end; padding: 12px 20px; background: #fff; border-top: 1px solid #e6e8f5; }
@media (max-width: 720px) { .ev-pair, .ev-pair.ev-dates { grid-template-columns: 1fr; } .ev-arr { display: none; } .ev-row { grid-template-columns: 1fr; } }

/* Əlavə əmək haqqı modalı: kiçik düymələr */
.sx-box .sx-add { height: 38px; padding: 0 16px; border-radius: 10px; font-size: 13px; gap: 6px; }
.sx-box .sx-cancel { height: 38px; padding: 0 14px; border-radius: 10px; font-size: 13px; }
.sx-box .sx-in { height: 38px; border-radius: 10px; padding: 0 12px; } .sx-box .sx-in input { font-size: 13.5px; }
.sx-box .sx-f label { font-size: 12px; margin-bottom: 4px; }
.sx-box .rd-foot .rd-btn { height: 38px; padding: 0 16px; border-radius: 10px; font-size: 13px; gap: 6px; } .sx-box .rd-foot .rd-btn svg { width: 15px; height: 15px; }
.sx-box .sx-tabs button { padding: 5px 11px; font-size: 12px; }
.sx-box .sx-ab { width: 30px; height: 30px; border-radius: 9px; }
.sx-box .sx-renew { padding: 5px 12px; font-size: 12px; }

.ev-mini { position: absolute; inset: 0; z-index: 60; display: grid; place-items: center; background: rgba(20, 24, 70, .35); backdrop-filter: blur(2px); }
.ev-mini[hidden] { display: none; }
.ev-mini-box { width: min(340px, 90%); padding: 16px; border-radius: 16px; background: #fff; box-shadow: 0 20px 50px rgba(30, 35, 100, .35); display: grid; gap: 10px; }
.ev-mini-box b { font-size: 14px; color: #151b44; }
.ev-mini-box input { height: 38px; padding: 0 12px; border: 1.5px solid #e3e6f5; border-radius: 10px; font: inherit; font-size: 13.5px; }
.ev-mini-act { display: flex; justify-content: flex-end; gap: 8px; }
#rp-modal .ev-box { position: relative; }

/* Topbar user menu: yuxarıdan aşağı açılma animasiyası */
@keyframes userMenuDown { from { opacity: 0; transform: translateY(-12px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
.user-menu.topbar-user-menu.open { transform-origin: top right; animation: userMenuDown .26s cubic-bezier(.2, .9, .3, 1.1) both; }

/* Bildiriş zəngi: oxunmamış olanda bounce/silkələnmə */
@keyframes bellRing { 0%, 55%, 100% { transform: rotate(0); } 8% { transform: rotate(16deg) translateY(-2px); } 16% { transform: rotate(-14deg); } 24% { transform: rotate(10deg) translateY(-1px); } 32% { transform: rotate(-8deg); } 40% { transform: rotate(4deg); } 48% { transform: rotate(-2deg); } }
@keyframes dotPulse { 0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, .6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); } }
.notif-wrap:has([data-notif-dot]:not([hidden])) > .icon-btn svg { transform-origin: 50% 12%; animation: bellRing 3.2s ease-in-out infinite; }
.notif-wrap [data-notif-dot]:not([hidden]) { animation: dotPulse 1.6s ease-out infinite; }

/* Məzuniyyət növü mini modal: kiçik düymələr, yumşaq kənar */
#rp-modal .ev-mini-box input#ev-mini-in { height: 36px; padding: 0 12px; border: 1px solid #e3e6f5 !important; border-radius: 10px; outline: 0 !important; background: #fff; box-shadow: 0 2px 8px rgba(40, 45, 120, .1) !important; font-size: 13px; }
#rp-modal .ev-mini-box input#ev-mini-in:focus { border-color: #cfd3f5 !important; box-shadow: 0 0 0 3px rgba(74, 79, 220, .14), 0 2px 8px rgba(40, 45, 120, .1) !important; }
#rp-modal .ev-mini-act .dm2-btn { height: 32px; min-height: 0; padding: 0 14px; border-radius: 9px; font-size: 12.5px; gap: 5px; }

/* Bildiriş zəngi: yalnız oxunmamış olanda (JS .has-unread qoyur) */
.notif-wrap.has-unread > .icon-btn { position: relative; transform-origin: 50% 20%; animation: bellRing 2.6s ease-in-out infinite !important; }
.notif-wrap.has-unread > .icon-btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #635ece; pointer-events: none; z-index: -1; animation: mp-ping 2.2s cubic-bezier(0, 0, .2, 1) infinite; }

/* Seçilmiş sətir: bütün cədvəllərdə eyni görünüş */
table tbody tr.is-selected > td { background: #f2f4ff !important; transition: background .15s; }
table tbody tr.is-selected > td:first-child { box-shadow: inset 4px 0 0 #4a4fdc; }
table tbody tr.is-selected > td input[type="checkbox"] { accent-color: #4a4fdc; }

/* Bağlanma (fade-out) + menyular üçün açılma */
@keyframes mdFadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes mdSink { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(10px) scale(.97); } }
@keyframes popIn { from { opacity: 0; transform: translateY(-6px) scale(.97); } to { opacity: 1; transform: none; } }
.is-closing { pointer-events: none !important; animation: mdFadeOut .2s ease both !important; }
.modal-overlay.is-closing > *, .pm-ov.is-closing > * { animation: mdSink .2s ease both !important; }
.notif-menu.open, .row-kebab-menu.open, .chip-dropdown-menu.open, .employee-combo-menu.open { animation: popIn .18s ease both; }
.notif-menu.is-closing, .row-kebab-menu.is-closing, .chip-dropdown-menu.is-closing, .employee-combo-menu.is-closing, .user-menu.is-closing { animation: popOut .16s ease both !important; }
@keyframes popOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-6px) scale(.97); } }
@media (prefers-reduced-motion: reduce) { .is-closing { animation: none !important; } }

/* Ümumi seçim paneli (gsb) */
.be2-sel-bar.gsb { background: linear-gradient(115deg, #1c2252, #3a3fc8 70%, #6a5ff0); margin: 0 0 12px; position: sticky; top: 8px; }
.gsb .gsb-avs { display: inline-flex; } .gsb .gsb-avs i { width: 30px; height: 30px; margin-left: -8px; border: 2px solid #fff; border-radius: 50%; background: #e4e7ff; color: #3a3fc8; font-style: normal; font-size: 11px; font-weight: 800; display: grid; place-items: center; } .gsb .gsb-avs i:first-child { margin-left: 0; }
.gsb b { font-size: 15px; }

/* Sətir checkbox-ı */
.row-chk { width: 17px; height: 17px; flex: 0 0 17px; margin: 0 14px 0 0; accent-color: #4a4fdc; cursor: pointer; vertical-align: middle; }
.row-chk-wrap { display: inline-flex; align-items: center; white-space: nowrap; }

/* İşçi reyestri: seçim paneli (ixrac popover) */
.be2-sel-bar.reg-bar { background: linear-gradient(115deg, #1c2252, #3a3fc8 70%, #6a5ff0); border-radius: 18px; padding: 10px 14px; gap: 12px; overflow: visible !important; }
.reg-bar .reg-sep { width: 1px; height: 30px; background: rgba(255,255,255,.2); }
.reg-ex { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(255,255,255,.07); }
.reg-ex small { padding: 0 10px; font-size: 11px; font-weight: 800; letter-spacing: 1.4px; color: #c9cdee; }
.reg-exb { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.reg-exb:hover, .reg-exb.on { background: rgba(255,255,255,.16); }
.reg-exb i { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 800; color: #fff; background: #2f8f5a; } .reg-exb i.w { background: #3a6fd8; } .reg-exb i.p { background: #d9435a; }
.reg-bulk { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 12px; background: #fff; color: #3a3fc8 !important; font-weight: 800; font-size: 14px; text-decoration: none; }
.reg-pop { position: absolute; z-index: 80; top: calc(100% + 8px); left: 0; width: 330px; padding: 12px; border-radius: 16px; background: #fff; color: #151b44; box-shadow: 0 22px 50px rgba(30,35,100,.35); animation: popIn .18s ease both; }
.reg-pop[hidden] { display: none; }
.reg-pop-h { padding: 2px 6px 8px; font-size: 11px; font-weight: 800; letter-spacing: 1.2px; color: #8a91b3; }
.reg-opt { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; cursor: pointer; } .reg-opt.on { background: #eef0ff; }
.reg-opt input { display: none; } .reg-opt > i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #cfd3ef; flex: 0 0 18px; box-sizing: border-box; } .reg-opt.on > i { border: 5px solid #4a4fdc; }
.reg-opt div { flex: 1; } .reg-opt b { display: block; font-size: 13.5px; } .reg-opt small { color: #8a91b3; font-size: 12px; } .reg-opt em { font-style: normal; font-size: 11px; color: #8a91b3; }
.reg-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; padding: 8px 10px; margin: 4px 0; max-height: 170px; overflow-y: auto; font-size: 12.5px; } .reg-cols[hidden] { display: none; } .reg-cols label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.reg-go { width: 100%; height: 42px; margin-top: 8px; border: 0; border-radius: 12px; background: #3f7d57; color: #fff; font: inherit; font-weight: 800; font-size: 13.5px; cursor: pointer; } .reg-go:hover { background: #356b4a; }

/* Əmrlər: checkbox və əmr nömrəsi teqi eyni sətirdə, aralarında boşluq */
.data-table td:has(> .order-no-tag) > input.sel-chk { display: inline-block; margin: 0 26px 0 0; vertical-align: middle; }
.tag.order-no-tag, .data-table td .tag.order-no-tag { margin-left: 3px !important; }

/* Modallarda scroll: sidebar kimi nazik, yuvarlaq, trek yox */
.modal-overlay, .modal-overlay *, .pm-ov, .pm-ov * { scrollbar-width: thin; scrollbar-color: rgba(74, 79, 220, .28) transparent; }
.modal-overlay ::-webkit-scrollbar, .pm-ov ::-webkit-scrollbar, .modal-overlay::-webkit-scrollbar { width: 5px; height: 5px; background: transparent; }
.modal-overlay ::-webkit-scrollbar-track, .pm-ov ::-webkit-scrollbar-track { background: transparent; margin: 8px 0; }
.modal-overlay ::-webkit-scrollbar-thumb, .pm-ov ::-webkit-scrollbar-thumb { background: rgba(74, 79, 220, .28); border-radius: 10px; }
.modal-overlay ::-webkit-scrollbar-thumb:hover, .pm-ov ::-webkit-scrollbar-thumb:hover { background: rgba(74, 79, 220, .5); }
.modal-overlay ::-webkit-scrollbar-button, .pm-ov ::-webkit-scrollbar-button { display: none; width: 0; height: 0; }

/* Toplu redaktə: Sütunlar / Excel / Sıfırla düymələri kiçik */
#be-cols, #be-xl, #be-reset, .be2-btn.sq { height: 36px !important; padding: 0 14px !important; border-radius: 10px !important; font-size: 13px !important; gap: 7px !important; }
#be-reset, .be2-btn.sq { width: 36px; padding: 0 !important; justify-content: center; }
#be-cols svg, #be-xl svg, #be-reset svg { width: 15px !important; height: 15px !important; }

/* Başlıq şüşə düymələri: hover */
:is(.overview-panel-head, .directory-summary, .order-directory-head, .candidate-directory-head, .requests-directory-head, .education-directory-head, .science-directory-head, .military-directory-head, .workload-directory-head, .my-requests-directory-head, .leave-panel-head):not(#tn-a):not(#tn-b) :is(.btn, .wl-pill, a.btn, button.btn):not(#tn-a):not(#tn-b) { transition: background .18s, transform .18s, box-shadow .18s, border-color .18s; }
:is(.overview-panel-head, .directory-summary, .order-directory-head, .candidate-directory-head, .requests-directory-head, .education-directory-head, .science-directory-head, .military-directory-head, .workload-directory-head, .my-requests-directory-head, .leave-panel-head):not(#tn-a):not(#tn-b) :is(.btn, .wl-pill, a.btn, button.btn):not(#tn-a):not(#tn-b):hover { background: rgba(255, 255, 255, .3) !important; border-color: rgba(255, 255, 255, .55) !important; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(20, 20, 90, .25) !important; }
:is(.overview-panel-head, .directory-summary, .order-directory-head, .candidate-directory-head, .requests-directory-head, .education-directory-head, .science-directory-head, .military-directory-head, .workload-directory-head, .my-requests-directory-head, .leave-panel-head):not(#tn-a):not(#tn-b) :is(.btn-primary, .btn-accent, .wl-pill-primary, .btn-brand):not(#tn-a):not(#tn-b):hover { background: #eef0ff !important; color: #2f3499 !important; border-color: #eef0ff !important; transform: translateY(-1px); box-shadow: 0 12px 26px rgba(20, 20, 90, .34) !important; }

/* Yeni icazə qeydi modalı: kiçik inputlar və düymələr */
#perm-modal .pm-box { padding: 22px 26px; max-width: 700px !important; }
#perm-modal .pm-head { margin-bottom: 12px; } #perm-modal .pm-head .ic { width: 42px; height: 42px; border-radius: 13px; } #perm-modal .pm-head .ic svg { width: 20px; height: 20px; } #perm-modal .pm-head h3 { font-size: 18px; } #perm-modal .pm-head p { font-size: 12px; }
#perm-modal .pm-seg { padding: 4px; margin-bottom: 12px; border-radius: 13px; } #perm-modal .pm-seg button { padding: 7px; font-size: 13px; border-radius: 10px; } #perm-modal .pm-seg svg { width: 15px; height: 15px; }
#perm-modal .pm-lbl { margin: 10px 0 5px; font-size: 12px; }
#perm-modal .pm-in { height: 38px; padding: 0 12px; border-radius: 11px; gap: 8px; } #perm-modal .pm-in svg { width: 16px; height: 16px; } #perm-modal .pm-in input { font-size: 13.5px; }
#perm-modal .pm-in .fp-alt, #perm-modal input.input { height: 36px; font-size: 13.5px; }
#perm-modal .pm-chips { gap: 6px; margin-top: 8px; } #perm-modal .pm-chip { padding: 5px 11px; font-size: 12px; border-radius: 9px; }
#perm-modal .pm-sum { margin-top: 12px; padding: 10px 14px; font-size: 13px; border-radius: 12px; }
#perm-modal .pm-ta { min-height: 70px; padding: 9px 12px; font-size: 13.5px; border-radius: 11px; }
#perm-modal .pm-go { height: 42px; margin-top: 12px; border-radius: 12px; font-size: 14px; }
#perm-modal .pm-x { width: 30px; height: 30px; font-size: 18px; right: 14px; top: 14px; }

/* Ətraflı bax modalı (Namizədlər) */
.rxv-rows { display: grid; gap: 8px; margin-bottom: 12px; }
.rxv-rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 12px; border-radius: 11px; background: #f5f6fd; }
.rxv-rows small { color: #7d84a6; font-size: 12px; font-weight: 700; } .rxv-rows b { color: #151b44; font-size: 13.5px; text-align: right; }
.rxv-body { max-height: 240px; overflow-y: auto; margin-bottom: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid #e3e6f5; background: #fff; font-size: 13px; line-height: 1.55; white-space: pre-wrap; color: #2a2f58; }
.rxv-body[hidden] { display: none; }

/* Əməliyyat sütunu: yalnız dropdown olan cədvəllərdə mərkəzdə */
table.ao-center td:has(> .cell-actions.ao-host), table.ao-center td.ov-r:has(.ao-host), table.ao-center td.r:has(.ao-host) { text-align: center !important; }
table.ao-center td > .cell-actions.ao-host { display: flex !important; justify-content: center !important; }
table.ao-center th:last-child { text-align: center !important; }
table.ao-center td:has(> .cell-actions), table.ao-center td:has(> form .icon-btn):last-child { text-align: center !important; }
table.ao-center td > .cell-actions { display: flex !important; justify-content: center !important; }

/* Əməliyyat ikonları dropdown-a çevrilənə qədər gizli (yanıb-sönmə olmasın) */
html:not(.ao-done) table .cell-actions:not([data-ao]) { visibility: hidden; }

/* İcazə baxış modalı (pv2) */
#perm-view .pv2-box { width: min(760px, 95vw); max-width: 760px; padding: 0; border-radius: 24px; overflow: hidden; background: #f4f5fc; border: 0; box-shadow: 0 30px 80px rgba(30, 35, 100, .35); }
.pv2-head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; background: linear-gradient(115deg, #3a3fc8 0%, #5a56e8 55%, #8f78f0 100%); color: #fff; }
.pv2-ic { width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; flex: 0 0 46px; } .pv2-ic svg { width: 24px; height: 24px; }
.pv2-ht { flex: 1; min-width: 0; } .pv2-ht small { display: block; font-size: 11px; font-weight: 800; letter-spacing: 1.6px; opacity: .85; } .pv2-ht h3 { margin: 2px 0 0; font-size: 22px; font-weight: 850; color: #fff; }
.pv2-st { padding: 7px 14px; border-radius: 99px; font-size: 13px; font-weight: 800; background: #fdf1d6; color: #9a6a00; } .pv2-st.ok { background: #dff5e8; color: #1b7a47; } .pv2-st.bad { background: #fde3e6; color: #b8344b; }
.pv2-x { width: 36px; height: 36px; border: 0; border-radius: 11px; background: rgba(255,255,255,.2); color: #fff; font-size: 20px; cursor: pointer; }
.pv2-body { padding: 16px 20px 18px; display: grid; gap: 12px; }
.pv2-card { background: #fff; border: 1px solid #e6e8f5; border-radius: 16px; padding: 14px 16px; }
.pv2-emp { display: flex; align-items: center; gap: 12px; }
.pv2-av { width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, #f6d9a8, #eab76a); color: #7a4a0c; display: grid; place-items: center; font-weight: 850; font-size: 16px; flex: 0 0 46px; }
.pv2-en { flex: 1; min-width: 0; } .pv2-en b { display: block; font-size: 16px; color: #151b44; } .pv2-en div { color: #7d84a6; font-size: 12.5px; margin-top: 2px; } .pv2-en code { background: #f1f2fa; border: 1px solid #e6e8f5; border-radius: 6px; padding: 0 6px; margin-right: 6px; font-size: 11.5px; }
.pv2-quota { text-align: right; min-width: 150px; } .pv2-quota[hidden] { display: none; } .pv2-quota small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: 1.1px; color: #8a91b3; } .pv2-quota b { font-size: 18px; color: #151b44; } .pv2-quota span { display: block; color: #8a91b3; font-size: 12px; }
.pv2-bar { display: flex; height: 5px; border-radius: 99px; background: #eceefa; overflow: hidden; margin-top: 6px; } .pv2-bar u { display: block; height: 100%; background: #3fa66b; } .pv2-bar u.w { background: #e0a526; }
.pv2-two { display: grid; grid-template-columns: 150px 1fr; gap: 12px; } .pv2-two.b { grid-template-columns: 1fr 1fr; }
.pv2-date { border-radius: 16px; background: linear-gradient(135deg, #3a3fc8, #7a62ea); color: #fff; display: grid; place-items: center; text-align: center; padding: 12px; } .pv2-date small { font-size: 11px; font-weight: 800; letter-spacing: 1.2px; opacity: .85; } .pv2-date b { font-size: 44px; line-height: 1; font-weight: 850; } .pv2-date span { font-size: 13px; }
.pv2-tt { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .pv2-tt b { font-size: 24px; color: #151b44; font-weight: 850; } .pv2-tt em { font-style: normal; padding: 3px 10px; border-radius: 8px; background: #e8eafe; color: #3a3fc8; font-weight: 800; font-size: 13px; } .pv2-tt span { margin-left: auto; color: #8a91b3; font-size: 12.5px; }
.pv2-track { position: relative; height: 10px; border-radius: 99px; background: #eceefa; margin-top: 14px; } .pv2-track i { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: linear-gradient(90deg, #3a3fc8, #7a62ea); }
.pv2-ticks { display: flex; justify-content: space-between; margin-top: 6px; color: #9aa0c0; font-size: 12px; }
.pv2-cap { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 850; letter-spacing: 1.4px; color: #8a91b3; }
.pv2-chip { display: inline-block; padding: 8px 14px; border-radius: 12px; background: #efeafd; color: #5a3fd0; font-weight: 800; } .pv2-rr { margin: 8px 0 0; color: #b8344b; font-size: 13px; }
.pv2-step { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; } .pv2-step i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; color: #fff; background: #e0a526; flex: 0 0 28px; } .pv2-step.done i { background: #3fa66b; } .pv2-step.bad i { background: #d9435a; }
.pv2-step b { display: block; color: #151b44; font-size: 14px; } .pv2-step small { color: #7d84a6; font-size: 12.5px; } .pv2-step code { background: #f1f2fa; border: 1px solid #e6e8f5; border-radius: 6px; padding: 0 6px; font-size: 11.5px; }
.pv2-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .pv2-note { flex: 1; color: #8a91b3; font-size: 13px; }
.pv2-btn { height: 40px; padding: 0 20px; border-radius: 12px; border: 1px solid #e3e6f5; background: #eceefb; color: #3a3fc8; font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; } .pv2-btn[hidden] { display: none; }
.pv2-btn.rej { background: #fff; color: #b8344b; border-color: #f3c9d0; } .pv2-btn.ok { background: linear-gradient(120deg, #2f8f5a, #3fb374); color: #fff; border: 0; box-shadow: 0 8px 18px rgba(47,143,90,.3); }
@media (max-width: 700px) { .pv2-two, .pv2-two.b { grid-template-columns: 1fr; } }

/* "Hələ davam edir" xəbərdarlığı */
.wip-alert { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding: 14px 18px; border: 1px solid #f3d9a0; border-radius: 16px; background: linear-gradient(115deg, #fff8e6, #fdf0cf); color: #7a5200; box-shadow: 0 6px 16px rgba(180, 120, 0, .08); }
.wip-alert svg { width: 26px; height: 26px; flex: 0 0 26px; color: #d89a12; }
.wip-alert b { display: block; font-size: 15px; color: #6b4600; } .wip-alert span { font-size: 13px; color: #8a6310; }

/* Kart sifarişləri: checkbox ilə ad yaxın */
.co-tbl td.chk-col, .co-tbl th.chk-col { width: 28px; padding-right: 0 !important; }
.co-tbl td.chk-col + td, .co-tbl th.chk-col + th { padding-left: 6px !important; }

/* Əmrlərim: mərhələ izləmə */
.mo-trk { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin-bottom: 4px; }
.mo-trk .s { position: relative; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 99px; background: #f1f2fa; color: #9aa0c0; font-size: 11.5px; font-weight: 700; }
.mo-trk .s i { width: 7px; height: 7px; border-radius: 50%; background: #cfd3ef; }
.mo-trk .s.on { background: #e1f5ea; color: #1b7a47; } .mo-trk .s.on i { background: #3fa66b; }
.mo-trk .s.cur { background: #fdf1d6; color: #9a6a00; } .mo-trk .s.cur i { background: #e0a526; animation: mp-blink 1.4s ease-in-out infinite; }

/* Toplu redaktə: ştat seqmenti, əmr pilləri, alt panel */
.be-seg4 { display: inline-flex; gap: 2px; padding: 4px; border-radius: 13px; background: #eff1fa; }
.be-seg4 button { min-width: 38px; height: 34px; padding: 0 10px; border: 0; border-radius: 10px; background: transparent; color: #8a91b3; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .15s, color .15s; }
.be-seg4 button:hover { color: #3a3fc8; }
.be-seg4 button.on { background: #fff; color: #151b44; box-shadow: 0 2px 8px rgba(38, 45, 110, .14); }
.be-seg4.chg { background: #fbe9c4; } .be-seg4.off { opacity: .6; pointer-events: none; }
.be2-grid .be-ord-none { color: #b0b6d0; font-size: 13.5px; }
.be2-grid a.be-ord-wait { padding: 6px 14px; border-radius: 10px; background: #fdecc8; color: #8a5a00; font-weight: 800; font-size: 13px; }
.be-chbar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 90; display: flex; align-items: center; gap: 14px; width: min(1180px, calc(100vw - 48px)); padding: 12px 16px; border-radius: 20px; background: #151b44; color: #fff; box-shadow: 0 18px 44px rgba(20, 25, 80, .45); animation: popIn .22s ease both; }
.be-chbar[hidden] { display: none; }
.be-chbar .n { min-width: 34px; height: 34px; padding: 0 8px; display: grid; place-items: center; border-radius: 10px; background: #f0c23a; color: #151b44; font-weight: 850; }
.be-chbar b { font-size: 16px; white-space: nowrap; } .be-chbar .sm { flex: 1; min-width: 0; color: #aeb4dc; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.be-chbar .b1 { height: 40px; padding: 0 18px; border: 0; border-radius: 12px; background: #2a3270; color: #fff; font: inherit; font-weight: 800; cursor: pointer; } .be-chbar .b1:hover { background: #343d86; }
.be-chbar .b2 { display: inline-flex; align-items: center; height: 40px; padding: 0 20px; border-radius: 12px; background: linear-gradient(115deg, #3a3fc8, #7a62ea); color: #fff !important; font-weight: 800; text-decoration: none; } .be-chbar .b2[hidden] { display: none; }

/* Toplu redaktə: birləşmiş kitabça düyməsi */
.be2-ak { white-space: nowrap; }
.be2-split { display: inline-flex; vertical-align: middle; border: 1px solid #dfe3fb; border-radius: 12px; background: #eef0ff; overflow: hidden; }
.be2-split .be2-cb { border: 0; border-radius: 0; background: transparent; height: 36px; margin: 0; }
.be2-split .be2-cb.plus { border-left: 1px solid #dfe3fb; color: #3a3fc8; min-width: 40px; }
.be2-split .be2-cb:hover { background: #e3e6ff; }
.be2-split .be2-cb.chg { background: #fff3cd; color: #8a5a00; }
.be2-cap { margin-left: 10px; color: #7d84a6; font-size: 13.5px; vertical-align: middle; }

.cr-type { height: 34px; border: 1px solid #dfe2f3; border-radius: 10px; background: #fff; padding: 0 10px; font: inherit; font-size: 13px; font-weight: 600; color: #3b4170; margin-right: 8px; }

.requests-directory-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.requests-directory-head > .cr-head-right { margin-left: auto; }
.requests-directory-head > .cr-head-bar { order: 3; margin-top: 0; justify-content: flex-start; }
.requests-directory-head > .cr-head-bar { justify-content: flex-end; }

/* wl-pill: hover-da flash effekti (bütün düymələr), primary-də mətn ağ qalır */
.wl-pill { position:relative; overflow:hidden; isolation:isolate; transition:background .2s, box-shadow .2s, transform .15s; }
.wl-pill::after { content:""; position:absolute; top:0; bottom:0; left:-70%; width:50%; z-index:-1; background:linear-gradient(100deg,transparent,rgba(255,255,255,.75),transparent); transform:skewX(-20deg); pointer-events:none; }
.wl-pill:hover::after { animation:wl-flash .65s ease; }
.wl-pill:hover { transform:translateY(-1px); }
.wl-pill-primary::after { z-index:0; background:linear-gradient(100deg,transparent,rgba(255,255,255,.45),transparent); }
.wl-pill-primary:hover, .wl-pill-primary:hover * { color:#fff !important; }
@keyframes wl-flash { from { left:-70%; } to { left:130%; } }

/* başlıq panelində primary düymə hover: mətn ağ, flash */
:is(.overview-panel-head, .directory-summary, .order-directory-head, .candidate-directory-head, .requests-directory-head, .education-directory-head, .science-directory-head, .military-directory-head, .workload-directory-head, .my-requests-directory-head, .leave-panel-head):not(#tn-a):not(#tn-b) :is(.btn-primary, .btn-accent, .wl-pill-primary, .btn-brand):not(#tn-a):not(#tn-b):hover { background: rgba(255, 255, 255, .22) !important; color: #fff !important; border-color: rgba(255, 255, 255, .6) !important; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(20, 20, 90, .3) !important; }
:is(.overview-panel-head, .directory-summary, .order-directory-head, .candidate-directory-head, .requests-directory-head, .education-directory-head, .science-directory-head, .military-directory-head, .workload-directory-head, .my-requests-directory-head, .leave-panel-head):not(#tn-a):not(#tn-b) :is(.btn-primary, .btn-accent, .wl-pill-primary, .btn-brand):not(#tn-a):not(#tn-b):hover * { color: #fff !important; }

/* İcazə jurnalı: işçi avatarında şəkil */
.pj-av { position: relative; overflow: hidden; }
.pj-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* İcazə jurnalı modalları: bağla / ləğv düymələrində hover + flash */
#perm-modal :is(.pm-x, .pm-cancel), #perm-view :is(.pv2-x, .pv2-btn), #perm-reject :is(.nm-x, .nm-btn-ghost) { position: relative; overflow: hidden; isolation: isolate; transition: background .2s, color .2s, transform .15s, box-shadow .2s; cursor: pointer; }
#perm-modal .pm-x, #perm-view .pv2-x, #perm-reject .nm-x { position: absolute; }
#perm-modal :is(.pm-x, .pm-cancel)::after, #perm-view :is(.pv2-x, .pv2-btn)::after, #perm-reject :is(.nm-x, .nm-btn-ghost)::after { content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 50%; z-index: -1; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .8), transparent); transform: skewX(-20deg); pointer-events: none; }
#perm-modal :is(.pm-x, .pm-cancel):hover::after, #perm-view :is(.pv2-x, .pv2-btn):hover::after, #perm-reject :is(.nm-x, .nm-btn-ghost):hover::after { animation: wl-flash .65s ease; }
#perm-modal :is(.pm-x, .pm-cancel):hover, #perm-view :is(.pv2-x, .pv2-btn):hover, #perm-reject :is(.nm-x, .nm-btn-ghost):hover { background: #e3e6ff !important; color: #2f3499 !important; transform: translateY(-1px); box-shadow: 0 6px 14px rgba(40, 48, 120, .18); }
#perm-modal .pm-x:hover, #perm-view .pv2-x:hover, #perm-reject .nm-x:hover { background: #fde8ec !important; color: #c0283c !important; }

/* İcazə modalı: müasir select */
#perm-modal .pm-in .modern-select-shell { flex: 1; min-width: 0; height: 100%; position: relative; display: block; }
#perm-modal .pm-in .modern-select-trigger { width: 100%; height: 100% !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; font-size: 13.5px; }
#perm-modal .pm-in .chip-dropdown-menu { z-index: 2100; max-height: 260px; overflow: auto; min-width: 100%; }

/* Sorğu reyestri: seçim paneli */
#requests-directory .be2-sel-bar.gsb { margin-top: 8px; }
#requests-directory .cr-bulk-ok { margin-left: auto !important; height: 34px; padding: 0 16px; border: 0 !important; border-radius: 11px; background: #fff !important; color: #3a3fc8 !important; font-weight: 800; box-shadow: 0 6px 16px rgba(20, 20, 90, .25); cursor: pointer; }
#requests-directory .cr-bulk-ok:hover { background: #eef0ff !important; transform: translateY(-1px); }
#requests-directory .be2-sel-bar.gsb .be2-sclear { margin-left: 0; }

/* Sorğu reyestri: sol siyahı + sağ panel (profildəki Sorğu tarixçəsi kimi) */
#requests-directory.cr-split-on #cr-reg-wrap { display: none !important; }
#requests-directory.cr-cert .cr-split { display: none !important; }
.cr-item { position: relative; }
.cr-item .cr-item-chk { position: absolute; bottom: 12px; right: 12px; width: 16px; height: 16px; accent-color: #4a52d6; cursor: pointer; }
.cr-item.rq-sel .cr-item-chk, .cr-item:hover .cr-item-chk, .cr-item .cr-item-chk:checked { opacity: 1; }

/* pm-in daxilində modern-select: mətn şaquli ortada (chip-dropdown hündürlüyü 100%) */
.pm-in .modern-select-shell { display: flex; align-items: center; }
.pm-in .modern-select-shell .chip-dropdown { height: 100%; display: flex; align-items: center; }

/* İşçi reyestri: sütun axtarışı + sıralama */
.be2-tbl thead tr.emp-colsearch th { background:#eef0fb; padding:8px 10px; vertical-align:middle; }
.be2-tbl thead tr.emp-colsearch th input.input { width:100%; min-width:110px; height:36px; border-radius:12px; border:1.5px solid #dfe3f5; background:#fff !important; font-size:13px; font-weight:500; padding:0 10px; }
.be2-tbl thead tr.emp-colsearch th input.input:focus { border-color:#4a52c4; box-shadow:0 0 0 3px rgba(74,82,196,.14); outline:0; }
.be2-tbl thead th[data-emp-sort] { cursor:pointer; user-select:none; white-space:nowrap; }
.be2-tbl thead th[data-emp-sort]:hover { background:rgba(64,68,154,.08); }
.be2-tbl thead th[data-emp-sort]::after { content:"\21C5"; margin-left:7px; font-size:12px; opacity:.4; }
.be2-tbl thead th.sorted-asc::after { content:"\2191"; opacity:1; color:#40449a; }
.be2-tbl thead th.sorted-desc::after { content:"\2193"; opacity:1; color:#40449a; }
.emp-col-reset { border:1.5px solid #dfe3f5; background:#fff; color:#40449a; border-radius:12px; padding:7px 14px; font-weight:600; font-size:12.5px; cursor:pointer; }
.emp-col-reset:hover { background:#f1f2fd; }
.emp-pend { display:flex; align-items:center; gap:7px; font-size:12.5px; font-weight:600; color:#40449a; white-space:nowrap; cursor:pointer; margin-bottom:6px; }
.emp-pend input { width:16px; height:16px; min-width:0 !important; }
.be2-tbl thead tr.emp-colsearch th input[type=checkbox] { width:16px !important; height:16px !important; min-width:0 !important; padding:0 !important; }

/* Ümumi sütun axtarışı (colsearch.js) */
table thead tr.cs-row th { background:#eef0fb !important; padding:8px 10px !important; vertical-align:middle; font-weight:400; text-transform:none; height:auto; line-height:1; }
table thead tr.cs-row th input.cs-in { width:100% !important; min-width:110px !important; height:36px !important; min-height:36px !important; max-height:36px !important; line-height:normal !important; margin:0 !important; border-radius:12px !important; border:1.5px solid #dfe3f5 !important; background:#fff !important; font-size:13px !important; font-weight:500 !important; padding:0 10px !important; box-sizing:border-box !important; }
table thead tr.cs-row th input.cs-in:focus { border-color:#4a52c4; box-shadow:0 0 0 3px rgba(74,82,196,.14); outline:0; }
table tbody tr.cs-empty td.cs-empty-td { text-align:center; color:#8e95b5; padding:18px; font-size:13px; }
tr[hidden] { display:none !important; }
table thead th.cs-sortable { cursor:pointer; user-select:none; white-space:nowrap; }
table thead th.cs-sortable:hover { background:rgba(64,68,154,.08); }
table thead th.cs-sortable .cs-sort { margin-left:7px; font-size:12px; opacity:.4; }
table thead th.cs-sortable .cs-sort.on { opacity:1; color:#4a52c4; }
.data-table:has(.order-no-tag) th > input.sel-all, .data-table:has(.order-no-tag) th > div > input.sel-all { margin-right: 26px; }

/* Əlaqə siyahısı (_ContactList): vahid sətir görünüşü */
.cl { border: 1px solid #e6e8f4; border-radius: 16px; background: #fff; overflow: hidden; }
.cl-row { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-top: 1px solid #eceef7; }
.cl-row:first-child { border-top: 0; }
.cl-ico { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #eef0fb; color: #4a52b4; }
.cl-ico svg { width: 20px; height: 20px; }
.cl-ico.mail-corp { background: #e8f0ff; color: #3b6fe0; }
.cl-ico.phone { background: #e7f6ec; color: #2f8a52; }
.cl-ico.mail { background: #eff0fa; color: #4a52b4; }
.cl-ico.addr { background: #fbf0dd; color: #c07a14; }
.cl-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cl-body small { font-size: 13px; color: #8a90b0; font-weight: 500; }
.cl-body small em { font-style: normal; margin-left: 8px; font-size: 11px; color: #4a52b4; background: #eef0fb; padding: 1px 7px; border-radius: 999px; }
.cl-body b { font-size: 17px; font-weight: 700; color: #1c2150; overflow-wrap: anywhere; line-height: 1.3; }
.cl-act { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; border: 0; background: transparent; color: #8a90b0; display: grid; place-items: center; cursor: pointer; transition: background .15s, color .15s; }
.cl-act:hover { background: #eef0fb; color: #3b46b5; }
.cl-act svg { width: 18px; height: 18px; }
@media (max-width: 560px) { .cl-body b { font-size: 15px; } .cl-row { padding: 12px 14px; gap: 12px; } }

/* Bildiriş düymələri: kiçik + hover-də parıltı (flash) */
.sys-alert-btns { justify-content: center; }
.sys-alert-btns .sys-alert-ok { width: auto; min-width: 104px; padding: 8px 20px; border-radius: 11px; font-size: 13.5px; position: relative; overflow: hidden; box-shadow: 0 6px 14px rgba(91,63,196,.26); }
.sys-alert-btns .sys-alert-ok::after { content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.65), transparent); transform: skewX(-20deg); pointer-events: none; }
.sys-alert-btns .sys-alert-ok:hover::after { animation: sys-flash .65s ease; }
.sys-alert-btns a.sys-alert-ok:hover::after { background: linear-gradient(100deg, transparent, rgba(91,63,196,.22), transparent); }
.sys-alert-btns .sys-alert-ok:hover { transform: translateY(-1px); box-shadow: 0 9px 18px rgba(91,63,196,.34); }
@keyframes sys-flash { from { left: -75%; } to { left: 135%; } }
.cl-ro .cl-row { padding: 10px 14px; gap: 14px; }
.cl-ro .cl-ico { flex-basis: 38px; width: 38px; height: 38px; border-radius: 11px; }
.cl-ro .cl-body b { font-size: 15px; }
.cl-ro .cl-body small { font-size: 12px; }
#sys-notice .sys-alert-box { width: min(560px, 100%); }
/* Bildiriş pəncərəsi: ekrana sığsın, siyahı içəridə scroll olsun */
#sys-notice .sys-alert-box { width: min(500px, 100%); max-height: calc(100vh - 40px); display: flex; flex-direction: column; padding: 22px 22px 18px; }
#sys-notice .sys-alert-ico { width: 46px; height: 46px; border-radius: 15px; margin-bottom: 10px; flex: 0 0 auto; }
#sys-notice .sys-alert-ico svg { width: 22px; height: 22px; }
#sys-notice .sys-alert-ico::after { inset: -4px; border-radius: 19px; }
#sys-notice .sys-alert-box h3 { font-size: 17px; margin-bottom: 6px; flex: 0 0 auto; }
#sys-notice .sys-alert-box p { font-size: 13px; line-height: 1.5; margin-bottom: 10px; flex: 0 0 auto; }
#sys-notice .sys-alert-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; text-align: left; margin: 0 0 10px; }
#sys-notice .sys-alert-box small { margin-bottom: 12px; flex: 0 0 auto; }
#sys-notice .sys-alert-btns { flex: 0 0 auto; }
#sys-notice .cl-ro .cl-row { padding: 7px 12px; gap: 12px; }
#sys-notice .cl-ro .cl-ico { flex-basis: 32px; width: 32px; height: 32px; border-radius: 10px; }
#sys-notice .cl-ro .cl-ico svg { width: 17px; height: 17px; }
#sys-notice .cl-ro .cl-body b { font-size: 14px; }
#sys-notice .cl-ro .cl-body small { font-size: 11.5px; margin: 0; }

/* nm-form daxilində müasir select: digər nm-in sahələri ilə eyni hündürlük */
.nm-f .modern-select-shell { display:block; width:100%; }
.nm-f .modern-select-trigger.input { height:40px; min-height:40px; padding:0 14px; border:1.5px solid #dfe0e673; border-radius:12px; font-size:13.5px; font-weight:400; color:#1b1f5c; background:#fff; box-shadow:0 6px 14px rgba(38,45,110,.12); }
.nm-f .modern-select-trigger.input.open, .nm-f .modern-select-trigger.input:focus { border-color:#4a52c4; box-shadow:0 0 0 3px rgba(74,82,196,.15); }
.nm-f .modern-select-trigger.is-placeholder .modern-select-trigger-label { color:#8a90b0; }

/* ===== Bütün cədvəllərdə başlıq (thead) sabit, yalnız gövdə (tbody) sürüşür ===== */
.main .table-wrap, .modal-box .table-wrap { overflow: auto; }
.main .table-wrap { max-height: calc(100vh - 230px); }
.modal-box .table-wrap { max-height: 62vh; }
.main .table-wrap table.data-table thead th, .modal-box .table-wrap table.data-table thead th { position: sticky; top: 0; z-index: 4; background: #F4F8FC; box-shadow: 0 1px 0 #e8e9ee; }
.main .table-wrap table.data-table.sd-table-modern thead th, .modal-box .table-wrap table.data-table.sd-table-modern thead th { background: #f7f8fe; }
.main .table-wrap.tw-auto { margin: 0; }

/* ===== Sidebar v3: yeni qruplu menyu, daha aydın mətn, verilmiş qradiyent ===== */
body .sidebar, body:not(.employee-profile-v4-page) .sidebar { background: linear-gradient(180deg, #282278 0%, #181560 24%, #221E73 52%, #3A3296 80%, #564ABE 100%) !important; color: #eef0ff; }
.sidebar .sidebar-brand-text { color: #fff; }
.sidebar .sidebar-brand-text span { color: #b4b9e8; }
.sidebar .nav-group-title { color: #aeb3e6; font-weight: 800; letter-spacing: .1em; font-size: 11px; opacity: 1; }
.sidebar .nav-item, .sidebar .nsg-head { color: #eceefe; font-size: 14.5px; font-weight: 500; min-height: 44px; padding: 9px 12px; gap: 14px; border-radius: 14px; }
.sidebar .nav-item svg { width: 20px; height: 20px; opacity: 1; color: #d9dcf8; flex: 0 0 20px; }
.sidebar .nav-item:hover { background: rgba(255,255,255,.09); color: #fff; }
.sidebar .nav-item.active { background: rgba(255,255,255,.17); color: #fff; font-weight: 700; }
.sidebar .nav-item.active svg { color: #fff; }
.sidebar .nsg-head { width: 100%; border: 0; background: transparent; text-align: left; cursor: pointer; font-family: inherit; display: flex; align-items: center; }
.sidebar .nsg-t { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.sidebar .nsg-t b { font-size: 14.5px; font-weight: 600; color: #fff; }
.sidebar .nsg-t small { font-size: 12px; font-weight: 500; color: #b4b9e8; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar .nsg.open .nsg-t small { display: none; }
.sidebar .nsg-chev { width: 16px; height: 16px; flex: 0 0 16px; opacity: .85; transition: transform .2s; }
.sidebar .nsg.open .nsg-chev { transform: rotate(90deg); }
.sidebar .nsg.open > .nsg-head { background: rgba(255,255,255,.07); }
.sidebar .nsg-list { display: none; margin: 2px 0 8px 22px; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.18); }
.sidebar .nsg.open .nsg-list { display: block; }
.sidebar .nsg-fly-title { display: none; }
.sidebar .nsg-link { display: block; position: relative; padding: 9px 14px; margin: 2px 0; border-radius: 12px; color: #cdd1f4; font-size: 14px; font-weight: 500; text-decoration: none; transition: background .15s, color .15s; }
.sidebar .nsg-link:hover { background: rgba(255,255,255,.09); color: #fff; }
.sidebar .nsg-link.active { background: rgba(255,255,255,.17); color: #fff; font-weight: 700; }
.sidebar .nsg-link.active::before { content: ""; position: absolute; left: -13px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: #c4c7ff; }
/* yığılmış menyu: yalnız ikonlar, üzərinə gələndə açılan kart */
.sidebar.collapsed .nav-label, .sidebar.collapsed .nsg-t, .sidebar.collapsed .nsg-chev { display: none; }
.sidebar.collapsed .nav-item, .sidebar.collapsed .nsg-head { justify-content: center; padding: 0; width: 46px; height: 46px; min-height: 46px; margin: 4px auto; gap: 0; font-size: 0; }
.sidebar.collapsed .nav-group + .nav-group { border-top: 1px solid rgba(255,255,255,.16); margin-top: 10px; padding-top: 10px; }
.sidebar.collapsed .nsg.open > .nsg-head { background: transparent; }
.sidebar.collapsed .nsg.open .nsg-list { display: none; }
.sidebar.collapsed .nsg.fly > .nsg-head { background: rgba(255,255,255,.14); }
.sidebar.collapsed .nsg.fly .nsg-list { display: block; position: fixed; z-index: 300; min-width: 240px; margin: 0; padding: 10px; border: 0; border-radius: 18px; background: #fff; box-shadow: 0 18px 44px rgba(20,16,80,.38); }
.sidebar.collapsed .nsg.fly .nsg-list::before { content: ""; position: absolute; left: -16px; top: 0; bottom: 0; width: 16px; }
.sidebar.collapsed .nsg-fly-title { display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em; color: #8a90b0; text-transform: uppercase; padding: 4px 12px 8px; }
.sidebar.collapsed .nsg-link { color: #1b1f5c; font-weight: 600; }
.sidebar.collapsed .nsg-link:hover { background: #f2f3ff; color: #1b1f5c; }
.sidebar.collapsed .nsg-link.active { background: #eef0ff; color: #4a3fb5; }
.sidebar.collapsed .nsg-link.active::before { display: none; }

/* Sidebar animasiyası: qradiyent 9 san dövrlə yuxarı-aşağı, arxada 3 yumşaq işıq ləkəsi */
body .sidebar, body:not(.employee-profile-v4-page) .sidebar { background: linear-gradient(180deg, #282278 0%, #181560 24%, #221E73 52%, #3A3296 80%, #564ABE 100%) 0 0 / 100% 240% !important; animation: sb-grad 9s ease-in-out infinite alternate; }
@keyframes sb-grad { from { background-position: 0 0; } to { background-position: 0 100%; } }
.sidebar .sb-fx { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; z-index: 0; }
.sidebar > .sidebar-brand, .sidebar > .sidebar-nav, .sidebar > .sidebar-footer { position: relative; z-index: 1; }
.sb-blob { position: absolute; width: 220px; height: 220px; border-radius: 50%; filter: blur(46px); opacity: .5; will-change: transform; }
.sb-blob.b1 { background: #8b5cf6; left: -60px; top: 6%; animation: sb-b1 14s ease-in-out infinite alternate; }
.sb-blob.b2 { background: #38bdf8; right: -90px; top: 38%; opacity: .38; animation: sb-b2 17s ease-in-out infinite alternate; }
.sb-blob.b3 { background: #f472b6; left: -20px; bottom: 4%; opacity: .4; animation: sb-b3 12s ease-in-out infinite alternate; }
@keyframes sb-b1 { from { transform: translate(0,0) scale(1); } to { transform: translate(120px,260px) scale(1.25); } }
@keyframes sb-b2 { from { transform: translate(0,0) scale(1.1); } to { transform: translate(-150px,-240px) scale(.9); } }
@keyframes sb-b3 { from { transform: translate(0,0) scale(.95); } to { transform: translate(140px,-220px) scale(1.2); } }
@media (prefers-reduced-motion: reduce) { .sidebar, .sb-blob { animation: none !important; } }

/* Sidebar mətn ölçüləri: bir qədər kiçik */
.sidebar .nav-item, .sidebar .nsg-head { font-size: 13.5px; min-height: 40px; padding: 8px 11px; gap: 12px; }
.sidebar .nav-item svg { width: 18px; height: 18px; flex-basis: 18px; }
.sidebar .nsg-t b { font-size: 13.5px; }
.sidebar .nsg-t small { font-size: 11.5px; }
.sidebar .nsg-link { font-size: 13px; padding: 8px 12px; }
.sidebar .nav-group-title { font-size: 10.5px; }
.sidebar .nsg-chev { width: 15px; height: 15px; flex-basis: 15px; }
.sidebar.collapsed .nav-item, .sidebar.collapsed .nsg-head { width: 44px; height: 44px; min-height: 44px; }
.sidebar.collapsed .nsg-link { font-size: 13px; }

.cr-kind { display: flex; gap: 10px; flex-wrap: wrap; }
.cr-kind label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid #dcdaf5; border-radius: 12px; font-weight: 700; color: #3b46b5; cursor: pointer; background: #fff; }
.cr-kind label:has(input:checked) { background: #eceeff; border-color: #3b46b5; }

body.ro-mode [data-ro-off] { opacity: .4; pointer-events: none; filter: grayscale(1); cursor: not-allowed; }

@media print { .hr-chatbot-launcher, .hr-chatbot-panel { display: none !important; } }

/* Portal maaş: tədris ili (PMH) kartı */
.pmh-sal{background:var(--card,#fff);border:1px solid #e3e6ef;border-radius:14px;padding:16px 18px;margin:0 0 16px}
.pmh-sal-h{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:10px;gap:10px;flex-wrap:wrap}
.pmh-sal-h span{color:#7a8194;font-size:12.5px}
.pmh-sal table{width:100%;border-collapse:collapse;font-size:13.5px}
.pmh-sal th,.pmh-sal td{padding:8px 10px;text-align:left;border-bottom:1px solid #eef0f6}
.pmh-sal th{color:#7a8194;font-weight:600;font-size:12px}
.pmh-sal td:last-child,.pmh-sal th:last-child{text-align:right}
.pmh-sal tfoot td{font-weight:700;border-bottom:0}
@media print{.pmh-sal{display:none!important}}

/* Struktur → Ştat əlavə et modalı (digər modallarla eyni dizayn) */
#modal-new-staff .dm2-box { width: min(680px, 94vw); max-width: 680px; padding: 0; border-radius: 24px; overflow: hidden; background: #fff; border: 0; box-shadow: 0 30px 80px rgba(30, 35, 100, .35); max-height: 94vh; display: flex; flex-direction: column; }
#modal-new-staff .dm2-head { flex: 0 0 auto; }
#modal-new-staff .dm2-body { overflow-y: auto; flex: 1 1 auto; min-height: 0; }
#modal-new-staff .dm2-in { height: 40px; }
#modal-new-staff .dm2-sel { position: relative; }
.stf-dept { background: #f4f5fb; border: 1.5px solid #e3e6f5; border-radius: 14px; padding: 10px 14px; font-weight: 600; color: #151b44; }
.stf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; margin: 4px 0 8px; }
.stf-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.dp-ib.stf { color: #2f7d4f; }
@media (max-width: 560px) { .stf-grid { grid-template-columns: 1fr; } }

/* Struktur cədvəli: “Üst bölmə” sütunu ağac görünüşündə gizlidir — axtarış sətrindəki xanası da gizlənsin (yoxsa artıq boş sütun yaranır, sətir rəngi tam örtmür) */
#dp-root:not(.is-list) #dp-table tr.cs-row th:nth-child(2) { display: none; }

/* ===== İnzibati ştat cədvəli (Tədris yükü → İnzibati heyət) ===== */
.as{max-width:1500px}
.as-top{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:16px}
.as-back{font-size:13px;font-weight:700;color:#5254d1;text-decoration:none}
.as-t h2{margin:4px 0 2px;font-size:24px;color:#1b1f5c}.as-t h2 small{font-size:14px;font-weight:700;color:#8b8fb0;margin-left:8px}
.as-t p{margin:0;color:#6b6f93;font-size:13.5px}
.as-act{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.as-act input[type=search]{height:38px;min-width:280px;border:1px solid #dfe2f0;border-radius:12px;padding:0 14px;font-size:14px;background:#fff}
.as-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:16px}
.as-stats>div{background:#fff;border:1px solid #eceef6;border-radius:16px;padding:12px 16px;box-shadow:0 4px 14px rgba(38,45,110,.05)}
.as-stats small{display:block;color:#8b8fb0;font-size:12px;font-weight:700;margin-bottom:2px}.as-stats b{font-size:22px;color:#1b1f5c}.as-stats b i{font-size:12px;font-style:normal;color:#8b8fb0}
.as-stats .x{background:linear-gradient(135deg,#3b3fd0,#6c63e8)}.as-stats .x small,.as-stats .x b,.as-stats .x b i{color:#fff}
.as-wrap{background:#fff;border:1px solid #eceef6;border-radius:18px;overflow:auto;max-height:calc(100vh - 290px);box-shadow:0 6px 20px rgba(38,45,110,.06)}
.as-tbl{width:100%;border-collapse:separate;border-spacing:0;font-size:13.5px}
.as-tbl thead th{position:sticky;top:0;z-index:2;background:#f4f5fb;color:#4a4d6e;font-size:12px;font-weight:800;text-align:left;padding:11px 12px;border-bottom:1px solid #e3e6f3;white-space:nowrap}
.as-tbl .n{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.as-tbl td{padding:9px 12px;border-bottom:1px solid #f0f1f8;color:#262a5c;vertical-align:top}
.as-r.first td{border-top:2px solid #e3e6f3}
.as-d{font-weight:800;color:#1b1f5c;min-width:220px}
.as-code{display:inline-block;padding:2px 8px;border-radius:999px;background:#eef0ff;color:#3b3fd0;font-size:11.5px;font-weight:800}
.as-p{color:#4a4d6e;max-width:360px}
.as-vac{display:inline-block;padding:2px 10px;border-radius:999px;background:#fff1d6;color:#8a5a00;font-size:12px;font-weight:800}
.as-tot td{background:#f8f9fe;font-weight:800;color:#1b1f5c}.as-tot.grand td{background:#e6e8ff;font-size:14.5px}
.as-r:hover td{background:#fafbff}
@media(max-width:900px){.as-stats{grid-template-columns:repeat(2,1fr)}.as-act input[type=search]{min-width:0;width:100%}}
.thb-tiles.thb-tiles-1 { grid-template-columns: 1fr; }

/* ===== Vəzifə maaşları (inzibati) — redaktə olunan cədvəl ===== */
.ps-tbl{width:100%;border-collapse:separate;border-spacing:0;font-size:13px}
.ps-tbl th{font-size:11.5px;font-weight:800;color:#6b6f93;text-align:left;padding:8px 10px;background:#fafbff;border-bottom:1px solid #eceef6;white-space:nowrap}
.ps-tbl th.n,.ps-tbl td.n{text-align:right}
.ps-tbl td{padding:6px 10px;border-bottom:1px solid #f0f1f8;vertical-align:middle}
.ps-r{box-shadow:inset 3px 0 0 transparent}.ps-r.miss{box-shadow:inset 3px 0 0 #f0b44c}.ps-r.dirty{box-shadow:inset 3px 0 0 #5254d1;background:#f6f6ff}
.ps-who{display:flex;align-items:center;gap:10px}.ps-who b{display:block;color:#1b1f5c;font-size:13px;line-height:1.25}.ps-who small{color:#8b8fb0;font-size:11.5px}
.ps-av{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:11.5px;flex:none}
.ps-pos{display:block;color:#1b1f5c;font-size:13px;line-height:1.25}.ps-dep{display:block;color:#8b8fb0;font-size:11.5px}
.ps-unit{display:inline-block;min-width:26px;text-align:center;padding:2px 8px;border-radius:999px;background:#eef0f7;color:#1b1f5c;font-weight:800;font-size:12px}
.ps-in{display:inline-flex;align-items:stretch;width:118px;border:1px solid #dfe2f0;border-radius:9px;overflow:hidden;background:#fff}
.ps-in:focus-within{border-color:#5254d1;box-shadow:0 0 0 3px #6c63e826}
.ps-in input{flex:1;min-width:0;border:0;outline:0;padding:0 8px;height:32px;text-align:right;font-size:13px;font-weight:700;color:#1b1f5c;background:transparent}
.ps-in input::placeholder{color:#c3c7dd;font-weight:600}
.ps-in i{display:grid;place-items:center;padding:0 6px;background:#f4f5fb;border-left:1px solid #eceef6;font-style:normal;font-size:10px;font-weight:800;color:#8b8fb0}
.ps-tot{font-size:13px;color:#1b1f5c;white-space:nowrap}
.ps-st{display:inline-block;padding:2px 10px;border-radius:999px;font-size:11.5px;font-weight:800;white-space:nowrap}
.ps-st.ok{background:#dff3e6;color:#1b6a3c}.ps-st.fill{background:#e4f6ea;color:#1f7a48}.ps-st.chg{background:#e6e8ff;color:#3a44a3}.ps-st.no{background:#fff1d6;color:#8a5a00}.ps-st.bad{background:#fbe0e4;color:#9b2c3e}
.ps-save{min-width:74px;height:32px;border:1.5px solid #dfe2f0;border-radius:9px;background:#fff;color:#8b8fb0;font-weight:800;font-size:12.5px;cursor:default}
.ps-save.on{background:linear-gradient(135deg,#3b3fd0,#6c63e8);border-color:transparent;color:#fff;cursor:pointer;box-shadow:0 6px 14px rgba(82,84,209,.28)}
.ps-bar{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);z-index:50;display:flex;align-items:center;gap:10px;background:#1b1f4a;color:#fff;padding:9px 10px 9px 16px;border-radius:14px;box-shadow:0 12px 28px rgba(20,24,80,.35)}
.ps-bar span{font-size:13px}.ps-bar button{height:32px;padding:0 14px;border:0;border-radius:9px;background:#2c3060;color:#fff;font-weight:800;font-size:12.5px;cursor:pointer}
.ps-bar button.go{background:#fff;color:#3b3fd0}

/* ===== İnzibati ştat cədvəli: struktur kartları ===== */
.sc-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 14px}
.sc-bar input[type=search]{height:40px;min-width:300px;border:1px solid #dfe2f0;border-radius:12px;padding:0 14px;font-size:14px;background:#fff}
.sc-tabs{display:inline-flex;gap:4px;background:#eef0f7;border-radius:12px;padding:4px}
.sc-tabs button{border:0;background:transparent;padding:7px 14px;border-radius:9px;font-weight:800;font-size:13px;color:#6b6f93;cursor:pointer}
.sc-tabs button.on{background:#fff;color:#1b1f5c;box-shadow:0 2px 8px rgba(38,45,110,.12)}
.sc-tabs i{font-style:normal;background:#fff1d6;color:#8a5a00;border-radius:999px;padding:1px 8px;margin-left:4px;font-size:12px}
.sc-hint{margin-left:auto;color:#a0a5c2;font-size:13px}
.sc-g{background:#fff;border:1px solid #eceef6;border-radius:18px;margin-bottom:12px;box-shadow:0 4px 14px rgba(38,45,110,.05);overflow:hidden}
.sc-gh{display:flex;align-items:center;gap:12px;padding:14px 20px;cursor:pointer}
.sc-arr{font-size:11px;color:#6b6f93;transition:transform .15s}.sc-g.open .sc-arr{transform:rotate(90deg)}
.sc-code{padding:3px 10px;border-radius:9px;background:#eef0ff;color:#3b3fd0;font-weight:800;font-size:12.5px}
.sc-dn{font-size:17px;color:#1b1f5c}
.sc-meta{color:#8b8fb0;font-size:13.5px}.sc-vm{font-style:normal;color:#8a5a00;font-weight:800}
.sc-fund{margin-left:auto;text-align:right}.sc-fund small{display:block;color:#8b8fb0;font-size:12px}.sc-fund b{font-size:19px;color:#1b1f5c}.sc-fund i{font-style:normal;font-size:11px;font-weight:800;color:#8b8fb0}
.sc-gb{display:none;border-top:1px solid #eceef6}.sc-g.open .sc-gb{display:block}
.sc-tbl{width:100%;border-collapse:collapse}
.sc-tbl th{font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:#8b8fb0;font-weight:800;text-align:left;padding:10px 16px;background:#fff}
.sc-tbl th.n,.sc-tbl td.n{text-align:right}
.sc-tbl td{padding:12px 16px;border-top:1px solid #f0f1f8;font-size:14px;color:#262a5c;vertical-align:middle}
.sc-p{font-weight:700;color:#1b1f5c}
.sc-who{display:inline-flex;align-items:center;gap:10px}.sc-av{width:34px;height:34px;border-radius:50%;background:#eceeff;color:#3b3fd0;display:grid;place-items:center;font-weight:800;font-size:12px}
.sc-vk{display:inline-block;padding:3px 12px;border-radius:999px;background:#fff1d6;color:#8a5a00;font-weight:800;font-size:13px}
.sc-r.vac td{background:#fffaf0}
.sc-u{display:inline-block;min-width:28px;text-align:center;padding:3px 9px;border-radius:999px;background:#eef0f7;font-weight:800;font-size:13px}
.sc-ac{color:#8b8fb0}.sc-t{color:#1b1f5c}
.sc-ic{width:34px;height:34px;border:1px solid #e3e6f3;border-radius:10px;background:#fff;color:#a0a5c2;cursor:pointer;font-size:14px;margin-left:4px}
.sc-ic.ok{background:linear-gradient(135deg,#3b3fd0,#6c63e8);color:#fff;border-color:transparent}.sc-ic.no{color:#8b8fb0}
.sc-r.editing td{background:#f6f6ff}
.sc-in{display:inline-flex;align-items:stretch;width:150px;border:1.5px solid #5254d1;border-radius:11px;overflow:hidden;background:#fff;box-shadow:0 0 0 3px #6c63e826}
.sc-in input{flex:1;min-width:0;border:0;outline:0;padding:0 10px;height:38px;text-align:right;font-size:15px;font-weight:700;color:#1b1f5c}
.sc-in i{display:grid;place-items:center;padding:0 8px;background:#f4f5fb;border-left:1px solid #eceef6;font-style:normal;font-size:10.5px;font-weight:800;color:#8b8fb0}
.sc-total{display:flex;align-items:center;gap:14px;background:#262063;color:#fff;border-radius:18px;padding:18px 24px;margin-top:6px;font-size:17px}
.sc-total span:first-child{font-weight:800;font-size:19px}.sc-total span:nth-child(2){margin-left:auto;color:#c9ccf0;font-size:14px}
.sc-total b{font-size:24px}.sc-total i{font-style:normal;font-size:12px;color:#c9ccf0}
@media(max-width:800px){.sc-hint{display:none}.sc-bar input[type=search]{min-width:0;width:100%}}
.sc-tbl td.n,.sc-tbl th.n,.sc-fund b,.sc-total b{white-space:nowrap}
.ps-save{min-width:0;width:34px;padding:0;display:inline-grid;place-items:center}
.ps-save.busy{opacity:.6}
.as-hbtns{display:flex;gap:8px;align-items:center;margin-left:auto;flex-wrap:wrap}.as-hbtns .pmh-hero-card-back{margin:0}
.sc-ic{display:inline-grid;place-items:center;padding:0;line-height:1;vertical-align:middle}.sc-act{white-space:nowrap}
.sc-tbl{table-layout:fixed}
.sc-tbl th:nth-child(1){width:30%}.sc-tbl th:nth-child(2){width:27%}.sc-tbl th:nth-child(3){width:64px}.sc-tbl th:nth-child(4){width:130px}
.sc-tbl th:nth-child(5){width:100px}.sc-tbl th:nth-child(6){width:120px}.sc-tbl th:nth-child(7){width:120px}
.sc-tbl td{overflow-wrap:anywhere}.sc-tbl td.n{overflow-wrap:normal}
.sc-who{white-space:normal}
.sc-tbl thead th,.sc-tbl thead th.n{text-align:center;vertical-align:middle}
.sc-tbl td.sc-act{text-align:center}.sc-ic{margin:0 2px}
.sc-ic svg{display:block;margin:auto}
/* başlıq və xana eyni hizada: mətn sütunları solda, rəqəm sütunları mərkəzdə */
.sc-tbl thead th:nth-child(1),.sc-tbl thead th:nth-child(2){text-align:left}
.sc-tbl thead th:nth-child(n+3),.sc-tbl tbody td:nth-child(n+3){text-align:center}
.sc-tbl tbody td.n{text-align:center}
.sc-in{margin:0 auto}
/* Ştat cədvəli: yığcam */
.sc-g,.sc-total{max-width:1060px}
.sc-tbl th,.sc-tbl td{padding-left:10px;padding-right:10px}
.sc-tbl th:nth-child(3){width:56px}.sc-tbl th:nth-child(4){width:104px}.sc-tbl th:nth-child(5){width:84px}.sc-tbl th:nth-child(6){width:96px}.sc-tbl th:nth-child(7){width:96px}
/* Ştat cədvəli: 8 sütun + inputlar sığır */
.sc-g,.sc-total{max-width:1180px}
.sc-tbl th:nth-child(1){width:26%}.sc-tbl th:nth-child(2){width:22%}.sc-tbl th:nth-child(3){width:54px}.sc-tbl th:nth-child(4){width:100px}
.sc-tbl th:nth-child(5){width:100px}.sc-tbl th:nth-child(6){width:100px}.sc-tbl th:nth-child(7){width:100px}.sc-tbl th:nth-child(8){width:64px}
.sc-tbl th{font-size:10.5px;line-height:1.25}
.sc-in{width:100%;max-width:100%;box-sizing:border-box}
.sc-in input{width:100%;height:34px;padding:0 6px;font-size:14px;text-align:center}
.sc-gu{color:#262a5c}
/* Ştat cədvəli: başlıqlar üst-üstə düşməsin */
.sc-g,.sc-total{max-width:1280px}
.sc-tbl th{letter-spacing:0;text-transform:none;font-size:11.5px;line-height:1.3;white-space:normal;word-break:normal;overflow-wrap:normal;hyphens:none;padding-left:6px;padding-right:6px}
.sc-tbl th:nth-child(1){width:23%}.sc-tbl th:nth-child(2){width:19%}.sc-tbl th:nth-child(3){width:58px}
.sc-tbl th:nth-child(4){width:112px}.sc-tbl th:nth-child(5){width:124px}.sc-tbl th:nth-child(6){width:124px}.sc-tbl th:nth-child(7){width:104px}.sc-tbl th:nth-child(8){width:64px}
.sc-tbl td.n{padding-left:6px;padding-right:6px}
.sc-tbl th:nth-child(8){width:104px;padding-left:4px;padding-right:4px;font-size:11px}
.sc-tbl th:nth-child(1){width:21%}.sc-tbl th:nth-child(2){width:17%}
