:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  color: var(--ink);
  background: var(--workspace);
  font-synthesis: none;
  --workspace: #f4f6f9;
  --card: #ffffff;
  --line: #e2e8f0;
  --navy: #000000;
  --on-dark: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --brand: #1c75bc;
  --brand-dark: #284b8c;
  --accent: #f2b84b;
  --accent-soft: #fef3c7;
  --accent-text: #694800;
  --soft: #e2e8f0;
  --green: #166534;
  --green-soft: #dcfce7;
  --critical: #dc2626;
  --critical-soft: #fee2e2;
  --overlay: rgba(15, 23, 42, 0.6);
  --shadow-color: rgba(15, 23, 42, 0.16);
  --light-overlay: rgba(255, 255, 255, 0.1);
  --wave-line: rgba(28, 117, 188, 0.18);
  --focus-ring: rgba(40, 75, 140, 0.2);
  --shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
}
* {
  box-sizing: border-box;
}
html {
  min-height: 100%;
  scroll-behavior: smooth;
  overflow-y: scroll;
}
body {
  margin: 0;
  min-height: 100vh;
  overflow-y: auto;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
svg {
  display: block;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--brand-dark);
  outline-offset: 2px;
}
button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
::selection {
  background: var(--line);
}
.page-loading {
  height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  color: var(--muted);
}
.page-loading.compact { height: 45vh; }
.logo-muted { color: var(--on-dark); }
.sidebar .logo-muted { color: var(--on-dark); }
.visual-caption, .optional-caption, .review-label { font-size: 11px; color: var(--muted); }
.visual-caption { font-size: 10px; color: var(--on-dark); margin-top: 4px; }
.topbar-start { display: flex; align-items: center; gap: 12px; }
.card-head.compact { padding: 23px 24px 0; }
.profile-preferences { margin-top: 20px; }
.profile-transfer { margin-top: 23px; }
.info-message.upload-message { margin-bottom: 23px; }
.upload-image-field { margin-top: 12px; }
.file-input-compact { padding: 8px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.review-action-box h3 { margin-top: 0; font-size: 13px; }
.audit-filters .multi-search { margin-bottom: 8px; }
.pagination { display: flex; align-items: center; gap: 8px; }
.spinner {
  width: 28px;
  height: 28px;
  border: 3px solid var(--line);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.07fr 1fr;
  background: var(--card);
}
.login-aside {
    background-color: var(--navy);
    background-image:
        linear-gradient(to bottom, var(--navy) 15%, rgba(0, 0, 0, 0.72) 30%),
        url("ondas.png");
    background-position: center, center bottom;
    background-size: 100% 100%, cover;
    background-repeat: no-repeat;
    color: var(--card);
    padding: 52px clamp(35px, 7vw, 110px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.login-aside:before,
.login-aside:after {
  content: "";
  position: absolute;
  border: 1px solid var(--light-overlay);
  border-radius: 100%;
  width: 530px;
  height: 530px;
  right: -200px;
  bottom: -220px;
}
.login-aside:after {
  right: -120px;
  bottom: -135px;
  width: 370px;
  height: 370px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.75px;
}
.brand-logo.small {
  font-size: 17px;
}
.logo-glyph {
  height: 39px;
  width: 39px;
  border-radius: 12px;
  background: var(--line);
  color: var(--brand);
  display: grid;
  place-items: center;
}
.login-aside .logo-glyph {
  background: var(--light-overlay);
  color: var(--card);
}
.logo-glyph-image {
  width: 116px;
  height: auto;
  min-width: 0;
  flex: 0 1 116px;
  display: block;
  background: transparent;
}
.login-aside .logo-glyph-image {
  background: transparent;
}
.logo-glyph-image .logo-img {
  width: 100%;
  height: auto;
  display: block;
}
.logo-glyph-on-light {
  filter: brightness(0) saturate(100%) invert(14%) sepia(39%) saturate(1471%) hue-rotate(177deg) brightness(91%) contrast(97%);
}
.intro-copy {
  position: relative;
  z-index: 1;
  max-width: 510px;
}
.eyebrow {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 10px;
  color: var(--on-dark);
}
.intro-copy h1 {
  font-size: clamp(36px, 4vw, 61px);
  line-height: 1.12;
  letter-spacing: -2.4px;
  font-weight: 740;
  margin: 17px 0 22px;
}
.intro-copy p {
  color: var(--on-dark);
  font-size: 16px;
  line-height: 1.8;
}
.login-visual {
  margin-top: 45px;
  border: 1px solid var(--light-overlay);
  border-radius: 16px;
  padding: 18px;
  background: var(--light-overlay);
  box-shadow: 0 30px 65px var(--shadow-color);
  max-width: 420px;
  backdrop-filter: blur(10px);
}
.login-visual .visual-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.visual-head .circle-icon {
  background: var(--line);
  color: var(--brand);
}
.card-head a:hover,
.text-link:hover {
  color: var(--brand-dark);
}
.visual-head strong {
  font-size: 14px;
}
.login-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-top: 15px;
}
.login-metrics div {
  background: var(--light-overlay);
  border-radius: 10px;
  padding: 12px;
}
.login-metrics strong {
  font-size: 20px;
  display: block;
}
.login-metrics span {
  font-size: 10px;
  color: var(--on-dark);
}
.aside-bottom {
  color: var(--on-dark);
  font-size: 12px;
  position: relative;
  z-index: 1;
}
.login-form-side {
  display: grid;
  place-items: center;
  padding: 36px;
  background: var(--card);
}
.login-form {
  width: 100%;
  max-width: 400px;
}
.login-form .tag {
  display: inline-block;
  background: var(--line);
  color: var(--brand-dark);
  border-radius: 30px;
  font-size: 11px;
  font-weight: 750;
  padding: 8px 12px;
}
.login-form h2 {
  font-size: 31px;
  letter-spacing: -0.9px;
  margin: 22px 0 9px;
}
.login-form .sub {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 34px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field label {
  font-weight: 700;
  font-size: 12px;
  color: var(--ink);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.input,
.field input,
.field select,
.field textarea {
  width: 100%;
  height: 43px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
  padding: 0 13px;
  outline: none;
  transition: 0.18s;
}
.field textarea {
  padding-top: 11px;
  min-height: 96px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand-dark);
  box-shadow: 0 0 0 3px var(--focus-ring);
}
.field small {
  font-size: 11px;
  color: var(--muted);
}
.login-form .field {
  margin-top: 19px;
}
.btn {
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  min-height: 39px;
  padding: 0 15px;
  transition: 0.16s;
}
.btn svg {
  width: 16px;
  height: 16px;
}
.btn-primary {
  background: var(--brand);
  color: var(--card);
}
.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}
.btn-outline {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover {
  border-color: var(--brand-dark);
  background: var(--workspace);
}
.btn-subtle {
  background: var(--line);
  color: var(--brand-dark);
}
.btn-danger {
  background: var(--accent-soft);
  color: var(--accent-text);
  border-color: var(--accent);
}
.btn-full {
  width: 100%;
}
.login-form .btn-full {
  height: 46px;
  margin-top: 24px;
}
.demo-login {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 21px;
}
.demo-login .small-title {
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 10px;
}
.demo-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.demo-choices button {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-size: 11px;
  padding: 8px 11px;
  border-radius: 8px;
}
.demo-choices button:hover {
  border-color: var(--brand-dark);
  color: var(--brand-dark);
}
.login-foot {
  margin-top: 30px;
  color: var(--muted);
  font-size: 11px;
}
.app-shell {
  min-height: 100vh;
}
.sidebar {
  width: 245px;
  background: var(--navy);
  background-image: linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.72)), url("ondas.png");
  background-position: center, center bottom;
  background-size: 100% 100%, auto 420px;
  background-repeat: no-repeat;
  color: var(--on-dark);
  border-right: 1px solid var(--navy);
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 27px 17px 18px;
  z-index: 30;
}
.sidebar .brand-logo {
  margin: 0 13px 38px;
}
.nav-section-label {
  font-size: 10px;
  letter-spacing: 1.1px;
  font-weight: 800;
  color: var(--on-dark);
  padding: 0 13px;
  margin: 18px 0 12px;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--on-dark);
  border-radius: 9px;
  transition: 0.16s;
}
.nav a:hover {
  background: var(--brand-dark);
  color: var(--on-dark);
}
.nav a.active {
  color: var(--on-dark);
  background: var(--brand-dark);
}
.nav a svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.9;
}
.nav .nav-number {
  margin-left: auto;
  font-size: 10px;
  min-width: 19px;
  height: 19px;
  border-radius: 8px;
  background: var(--brand);
  display: grid;
  place-items: center;
}
.sidebar-end {
  margin-top: auto;
}
.support-hint {
  border-radius: 12px;
  background: var(--brand-dark);
  padding: 15px;
  margin: 0 6px 18px;
}
.support-hint b {
  font-size: 12px;
}
.support-hint p {
  font-size: 11px;
  color: var(--on-dark);
  line-height: 1.6;
  margin: 6px 0 0;
}
.sidebar-user {
  border-top: 1px solid var(--muted);
  padding: 18px 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  background: var(--line);
  color: var(--brand-dark);
  display: grid;
  place-items: center;
  border-radius: 11px;
  font-weight: 800;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  font-size: 12px;
}
.sidebar-user .identity {
  min-width: 0;
  flex: 1;
}
.sidebar-user b {
  font-size: 11px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-user .identity span {
  color: var(--on-dark);
  font-size: 10px;
}
.icon-button {
  background: transparent;
  border: 0;
  color: var(--muted);
  border-radius: 8px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}
.icon-button:hover {
  background: var(--workspace);
  color: var(--ink);
}
.sidebar .icon-button,
.topbar .icon-button {
  color: var(--on-dark);
}
.sidebar .icon-button:hover,
.topbar .icon-button:hover {
  background: var(--brand-dark);
}
.sidebar :focus-visible,
.topbar .mobile-menu:focus-visible,
.topbar .account-trigger:focus-visible {
  outline-color: var(--accent);
}
.icon-button svg {
  height: 18px;
  width: 18px;
}
.main-area {
  margin-left: 245px;
  min-width: 0;
  min-height: 100vh;
}
.topbar {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--navy);
  padding: 0 clamp(24px, 3.4vw, 54px);
  background: var(--navy);
  background-image: linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.72)), url("ondas.png");
  background-position: center, center bottom;
  background-size: 100% 100%, cover;
  background-repeat: no-repeat;
  color: var(--on-dark);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--on-dark);
  font-size: 12px;
}
.breadcrumbs b {
  color: var(--on-dark);
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.top-actions .top-date {
  font-size: 11px;
  color: var(--on-dark);
}
.top-avatar {
  height: 34px;
  width: 34px;
  border-radius: 50%;
  background: var(--line);
  color: var(--brand-dark);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}
.mobile-menu {
  display: none;
}
.content {
  padding: 35px clamp(24px, 3.4vw, 54px) 60px;
  max-width: 1640px;
  margin: 0 auto;
}
.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.page-head h1 {
  font-size: 26px;
  letter-spacing: -1px;
  margin: 6px 0 9px;
  font-weight: 770;
}
.page-head p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}
.overline {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--muted);
  text-transform: uppercase;
}
.page-actions {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}
.select-small {
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0 10px;
  background: var(--card);
  color: var(--ink);
  font-size: 12px;
  min-width: 160px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin-bottom: 20px;
}
.stat {
  padding: 23px 23px 19px;
  min-width: 0;
}
.stat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.stat-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.circle-icon {
  height: 39px;
  width: 39px;
  border-radius: 11px;
  background: var(--line);
  color: var(--brand-dark);
  display: grid;
  place-items: center;
}
.circle-icon svg {
  height: 19px;
  width: 19px;
}
.circle-icon.green {
  background: var(--green-soft);
  color: var(--green);
}
.circle-icon.amber {
  background: var(--accent-soft);
  color: var(--accent-text);
}
.circle-icon.red {
  background: var(--accent-soft);
  color: var(--accent-text);
}
.stat-value {
  font-weight: 800;
  color: var(--ink);
  font-size: 32px;
  letter-spacing: -1px;
  margin: 17px 0 5px;
}
.stat-foot {
  font-size: 11px;
  color: var(--muted);
}
.section-grid {
  display: grid;
  grid-template-columns: 1.32fr 0.92fr;
  gap: 19px;
  margin-bottom: 19px;
}
.section-grid.equal {
  grid-template-columns: 1fr 1fr;
}
.chart-card {
  padding: 23px 24px;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 22px;
}
.card-head h2 {
  font-size: 14px;
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.2px;
}
.card-head p {
  font-size: 11px;
  color: var(--muted);
  margin: 6px 0 0;
}
.card-head a,
.text-link {
  font-size: 11px;
  font-weight: 750;
  color: var(--brand-dark);
}
.bar-row {
  display: grid;
  grid-template-columns: minmax(120px, 1.3fr) minmax(100px, 3fr) 48px;
  align-items: center;
  gap: 16px;
  margin: 16px 0;
}
.bar-label {
  font-size: 12px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bar-track {
  height: 11px;
  background: var(--workspace);
  border-radius: 8px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
  transition: width 0.5s;
}
.bar-fill { display: block; width: 100%; border: 0; appearance: none; }
.bar-fill::-webkit-progress-bar { background: transparent; }
.bar-fill::-webkit-progress-value { background: linear-gradient(90deg, var(--brand), var(--brand-dark)); border-radius: 8px; }
.bar-fill::-moz-progress-bar { background: linear-gradient(90deg, var(--brand), var(--brand-dark)); border-radius: 8px; }
.bar-value {
  font-size: 12px;
  color: var(--ink);
  font-weight: 750;
  text-align: right;
}
.bar-row.small {
  grid-template-columns: minmax(100px, 1.3fr) minmax(80px, 2fr) 40px;
  gap: 13px;
  margin: 13px 0;
}
.bar-row.small .bar-track {
  height: 8px;
}
.donut-wrap {
  display: flex;
  align-items: center;
  gap: 31px;
  flex-wrap: wrap;
}
.donut {
  width: 171px;
  height: 171px;
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 171px;
}
.donut-chart { background: conic-gradient(var(--brand) 0 58%, var(--accent) 58% 78%, var(--brand-dark) 78% 90%, var(--line) 90%); }
.dot-approved { background: var(--brand); }
.dot-pending { background: var(--accent); }
.dot-rejected { background: var(--brand-dark); }
.dot-other { background: var(--line); }
.donut:before {
  content: "";
  position: absolute;
  inset: 25px;
  border-radius: 50%;
  background: var(--card);
}
.donut .inner {
  position: relative;
  text-align: center;
}
.donut strong {
  font-size: 31px;
  letter-spacing: -1px;
  display: block;
}
.donut span {
  font-size: 10px;
  color: var(--muted);
}
.donut-legend {
  display: grid;
  gap: 15px;
  flex: 1;
}
.legend-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--muted);
}
.dot {
  height: 9px;
  width: 9px;
  border-radius: 3px;
  display: inline-block;
}
.legend-line strong {
  margin-left: auto;
  color: var(--ink);
  font-size: 12px;
}
.table-card {
  padding: 0;
  overflow: hidden;
}
.table-card .card-head {
  padding: 23px 24px 0;
}
.table-scroll {
  overflow: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.data-table th {
  background: var(--workspace);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
  height: 45px;
  padding: 0 18px;
  white-space: nowrap;
}
.data-table td {
  font-size: 12px;
  color: var(--ink);
  padding: 14px 18px;
  border-top: 1px solid var(--workspace);
  vertical-align: middle;
}
.data-table tbody tr {
  transition: background 0.15s;
}
.data-table tbody tr:hover {
  background: var(--workspace);
}
.data-table td strong {
  color: var(--ink);
  font-size: 12px;
}
.table-caption {
  font-size: 11px;
  color: var(--muted);
}
.status {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  border-radius: 8px;
  padding: 6px 9px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.status.green {
  color: var(--green);
  background: var(--green-soft);
}
.status.amber {
  color: var(--accent-text);
  background: var(--accent-soft);
}
.status.red {
  color: var(--accent-text);
  background: var(--accent-soft);
}
.status.blue {
  color: var(--brand-dark);
  background: var(--line);
}
.status.gray {
  color: var(--muted);
  background: var(--workspace);
}
.table-person {
  display: flex;
  gap: 10px;
  align-items: center;
}
.table-person .avatar {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  font-size: 10px;
}
.table-person small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}
.card-footer {
  border-top: 1px solid var(--line);
  padding: 16px 24px;
  font-size: 11px;
  color: var(--muted);
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
  margin-bottom: 19px;
}
.search {
  position: relative;
  flex: 1;
  min-width: 200px;
}
.search svg {
  position: absolute;
  left: 13px;
  top: 12px;
  color: var(--muted);
  width: 16px;
  height: 16px;
}
.search input {
  height: 41px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  padding: 0 14px 0 39px;
  color: var(--ink);
  outline: none;
  font-size: 12px;
}
.search input:focus {
  border-color: var(--brand-dark);
}
.filter-select {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  height: 41px;
  padding: 0 12px;
  font-size: 12px;
  color: var(--ink);
  min-width: 154px;
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}
.cert-card {
  padding: 21px;
  display: flex;
  flex-direction: column;
  min-height: 206px;
}
.cert-card:hover {
  border-color: var(--brand-dark);
  box-shadow: 0 13px 30px var(--shadow-color);
  transform: translateY(-1px);
}
.cert-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}
.issuer-badge {
  height: 42px;
  width: 42px;
  border-radius: 12px;
  background: var(--line);
  color: var(--brand-dark);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 17px;
}
.cert-card h3 {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  letter-spacing: -0.2px;
}
.cert-card .subtitle {
  font-size: 11px;
  color: var(--muted);
  margin-top: 7px;
}
.cert-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
}
.pill {
  display: inline-flex;
  background: var(--workspace);
  color: var(--muted);
  border-radius: 7px;
  padding: 6px 8px;
  font-size: 10px;
  font-weight: 600;
}
.cert-card .link-icon {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 5px;
  display: flex;
}
.cert-card .link-icon svg {
  height: 17px;
  width: 17px;
}
.empty {
  padding: 56px 20px;
  text-align: center;
}
.empty-icon {
  margin: auto auto 14px;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--line);
  color: var(--brand-dark);
  display: grid;
  place-items: center;
}
.empty h3 {
  font-size: 16px;
  margin: 8px 0;
}
.empty p {
  font-size: 12px;
  color: var(--muted);
  max-width: 330px;
  margin: 8px auto 18px;
  line-height: 1.6;
}
.welcome {
  background: var(--brand-dark);
  color: var(--card);
  border-radius: 16px;
  padding: 30px 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}
.welcome:after {
  content: "";
  border: 1px solid var(--light-overlay);
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  right: -75px;
  top: -110px;
}
.welcome .eyebrow {
  color: var(--on-dark);
}
.welcome h2 {
  font-size: 23px;
  margin: 9px 0 7px;
}
.welcome p {
  color: var(--on-dark);
  font-size: 12px;
  max-width: 460px;
  line-height: 1.7;
}
.welcome .btn {
  background: var(--card);
  color: var(--brand-dark);
  z-index: 1;
}
.welcome .icon-watermark {
  opacity: 0.2;
  position: absolute;
  right: 18%;
  top: 25%;
}
.welcome .icon-watermark svg {
  height: 98px;
  width: 98px;
}
.employee-space-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.employee-space-head h1 {
  font-size: 28px;
  letter-spacing: -1.1px;
  margin: 8px 0;
}
.employee-space-head p,
.employee-panel-heading p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}
.employee-tabs {
  display: flex;
  align-items: end;
  gap: 2px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}
.employee-tabs button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  padding: 13px 20px;
  border-radius: 10px 10px 0 0;
}
.employee-tabs button:hover { background: var(--card); color: var(--ink); }
.employee-tabs button.selected { background: var(--card); color: var(--brand-dark); box-shadow: 0 -1px 0 var(--line), 1px 0 0 var(--line), -1px 0 0 var(--line); }
.employee-space-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  padding: 26px;
  min-height: 360px;
}
.employee-panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 22px;
}
.employee-panel-heading h2 { margin: 0 0 6px; font-size: 19px; }
.employee-space-panel .toolbar { margin-top: 0; }
.employee-space-panel .cert-card { border-color: var(--line); }
.employee-training-table { margin: 0; border: 1px solid var(--line); }
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 18px;
}
.profile-panel {
  padding: 26px;
}
.profile-panel h3 {
  margin: 0 0 8px;
  font-size: 15px;
}
.profile-panel > p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 24px;
}
.profile-info {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 23px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.profile-info .avatar {
  height: 55px;
  width: 55px;
  flex-basis: 55px;
  font-size: 17px;
}
.profile-info strong {
  font-size: 15px;
}
.profile-info p {
  font-size: 11px;
  color: var(--muted);
  margin: 5px 0 0;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}
.info-message {
  background: var(--workspace);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}
.info-message svg {
  vertical-align: middle;
  display: inline-block;
  width: 14px;
  margin-right: 5px;
}
.detail-list {
  display: grid;
  gap: 0;
}
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.detail-row > span:first-child {
  color: var(--muted);
}
.detail-row > span:last-child {
  color: var(--ink);
  font-weight: 650;
  text-align: right;
  word-break: break-word;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: 70;
  display: flex;
  justify-content: flex-end;
  animation: fadein 0.14s;
}
.drawer {
  height: 100%;
  width: min(570px, 100%);
  background: var(--card);
  overflow: auto;
  box-shadow: -20px 0 45px var(--shadow-color);
  animation: slidein 0.19s;
}
.drawer.wide {
  width: min(660px, 100%);
}
.drawer-header {
  padding: 25px 27px;
  position: sticky;
  top: 0;
  background: var(--card);
  z-index: 3;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-header h2 {
  font-size: 18px;
  margin: 0;
  letter-spacing: -0.35px;
}
.drawer-header p {
  font-size: 11px;
  color: var(--muted);
  margin: 7px 0 0;
}
.drawer-body {
  padding: 26px 27px 36px;
}
.drawer .field {
  margin-bottom: 17px;
}
.drawer-section {
  margin-bottom: 28px;
}
.drawer-section h3 {
  font-size: 13px;
  margin: 0 0 13px;
}
.drawer-section p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 22px 0;
}
.dropzone {
  background: var(--workspace);
  border: 1.6px dashed var(--line);
  border-radius: 12px;
  padding: 26px 17px;
  text-align: center;
  position: relative;
  transition: 0.14s;
}
.dropzone:hover {
  background: var(--workspace);
  border-color: var(--brand-dark);
}
.dropzone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.dropzone svg {
  margin: 0 auto 12px;
  height: 28px;
  width: 28px;
  color: var(--brand-dark);
}
.dropzone strong {
  display: block;
  font-size: 12px;
}
.dropzone span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}
.form-note {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 15px;
}
.review-action-box {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 17px;
  background: var(--workspace);
}
.review-action-box textarea {
  min-height: 80px;
}
.review-buttons {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.review-buttons .btn {
  flex: 1;
}
.drawer-alert {
  border: 1px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 10px;
  padding: 14px;
  line-height: 1.6;
  font-size: 11px;
  color: var(--accent-text);
  margin: 16px 0;
}
.drawer-alert svg {
  width: 17px;
  height: 17px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
}
.tabs {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.tabs button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  padding: 0 2px 14px;
  position: relative;
}
.tabs button.selected {
  color: var(--brand);
}
.tabs button.selected:after {
  content: "";
  height: 2px;
  background: var(--brand);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.tagline {
  font-size: 11px;
  color: var(--muted);
  margin-top: 14px;
}
.audit-list {
  padding: 5px 22px 15px;
}
.audit-item {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
}
.audit-item strong {
  display: block;
  font-size: 12px;
}
.audit-item p {
  font-size: 11px;
  color: var(--muted);
  margin: 5px 0 0;
}
.audit-item time {
  font-size: 10px;
  color: var(--muted);
}
.mobile-overlay {
  display: none;
}
@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slidein {
  from {
    transform: translateX(20px);
    opacity: 0.7;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
#toast-stack {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 9px;
  z-index: 100;
}
.toast {
  box-shadow: 0 12px 40px var(--shadow-color);
  background: var(--brand-dark);
  color: var(--card);
  padding: 13px 18px;
  border-radius: 9px;
  font-size: 12px;
  max-width: 400px;
  animation: fadein 0.2s;
}
.toast.error {
  background: var(--accent-soft);
  color: var(--accent-text);
  border: 1px solid var(--accent);
}
.tiny {
  font-size: 11px !important;
}
.mono {
  font-family: ui-monospace, Consolas, monospace;
}
.truncate {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.actions-inline {
  display: flex;
  gap: 7px;
  align-items: center;
}
.link-action {
  background: none;
  border: 0;
  color: var(--brand-dark);
  font-weight: 750;
  font-size: 11px;
  padding: 4px 0;
}
.link-action:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}
.request-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.request-card h3 {
  margin: 0 0 6px;
  font-size: 13px;
}
.request-card p {
  font-size: 11px;
  color: var(--muted);
  margin: 4px 0;
}
.request-card .actions-inline {
  flex-wrap: wrap;
}
.small-caption {
  font-size: 10px;
  color: var(--muted);
}
.training-evidence-state {
  display: block;
  margin-top: 4px;
  color: var(--primary);
  font-size: 10px;
  font-weight: 650;
}
.list-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  align-items: center;
}
.list-item strong {
  font-size: 12px;
}
.list-item p {
  font-size: 11px;
  color: var(--muted);
  margin: 5px 0 0;
}
.count-number {
  background: var(--workspace);
  font-size: 11px;
  font-weight: 800;
  color: var(--brand-dark);
  padding: 6px 9px;
  border-radius: 7px;
}
.body-lock {
  overflow: hidden;
}
@media (max-width: 1260px) {
  .cert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .section-grid {
    grid-template-columns: 1fr;
  }
  .stat {
    padding: 19px;
  }
  .bar-row {
    grid-template-columns: minmax(120px, 1fr) minmax(120px, 3fr) 40px;
  }
}
@media (max-width: 1050px) {
  .sidebar {
    width: 210px;
    padding: 20px 11px;
  }
  .main-area { margin-left: 210px; }
  .topbar {
    padding: 0 24px;
  }
  .content {
    padding: 30px 24px;
  }
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .login-aside {
    padding: 44px 35px;
  }
}
@media (max-width: 760px) {
  .login {
    grid-template-columns: 1fr;
  }
  .login-aside {
    padding: 25px 25px 28px;
    min-height: 0;
  }
  .intro-copy h1 {
    font-size: 31px;
    margin: 16px 0 10px;
    letter-spacing: -1px;
  }
  .intro-copy p {
    font-size: 12px;
  }
  .login-aside .intro-copy {
    padding-top: 40px;
  }
  .login-visual {
    display: none;
  }
  .login-form-side {
    padding: 28px 22px 48px;
    display: block;
  }
  .login-form {
    margin: auto;
  }
  .aside-bottom {
    display: none;
  }
  .sidebar {
    position: fixed;
    transform: translateX(-100%);
    transition: 0.2s;
    height: 100dvh;
    width: 252px;
    z-index: 50;
  }
  .main-area { margin-left: 0; }
  .sidebar.open {
    transform: translateX(0);
  }
  .mobile-overlay.open {
    display: block;
    position: fixed;
    inset: 0;
    background: var(--overlay);
    z-index: 40;
  }
  .mobile-menu {
    display: grid;
  }
  .topbar {
    height: 67px;
    padding: 0 16px;
  }
  .top-actions .top-date {
    display: none;
  }
  .content {
    padding: 25px 16px 50px;
  }
  .page-head h1 {
    font-size: 23px;
  }
  .page-head {
    flex-direction: column;
    gap: 14px;
  }
  .stat-grid {
    gap: 10px;
  }
  .stat {
    padding: 16px;
  }
  .stat-value {
    font-size: 27px;
  }
  .stat-label {
    font-size: 11px;
  }
  .circle-icon {
    height: 34px;
    width: 34px;
  }
  .chart-card {
    padding: 19px;
  }
  .section-grid {
    gap: 12px;
  }
  .cert-grid {
    grid-template-columns: 1fr;
  }
  .toolbar {
    gap: 9px;
  }
  .toolbar .search {
    min-width: 100%;
    flex-basis: 100%;
  }
  .toolbar .filter-select {
    flex: 1;
    min-width: 0;
  }
  .welcome {
    padding: 25px;
    align-items: flex-start;
    flex-direction: column;
  }
  .welcome .btn {
    align-self: flex-start;
  }
  .employee-space-head,
  .employee-panel-heading {
    flex-direction: column;
    gap: 14px;
  }
  .employee-tabs { overflow-x: auto; }
  .employee-tabs button { padding: 12px 14px; white-space: nowrap; }
  .employee-space-panel { padding: 18px; }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .donut-wrap {
    justify-content: center;
  }
  .data-table td,
  .data-table th {
    padding-left: 13px;
    padding-right: 13px;
  }
  .drawer-header {
    padding: 19px;
  }
  .drawer-body {
    padding: 19px;
  }
  .review-buttons {
    flex-direction: column;
  }
  .request-card {
    grid-template-columns: 1fr;
  }
  .topbar .breadcrumbs {
    font-size: 11px;
  }
}
.request-card p svg {
  display: inline-block;
  width: 13px;
  height: 13px;
  vertical-align: middle;
  margin: 0 5px;
}
.brand-home {
  cursor: pointer;
}
.brand-home:hover {
  color: var(--on-dark);
}
.account-menu {
  position: relative;
}
.account-trigger {
  border: 0;
  cursor: pointer;
}
.account-trigger:hover {
  background: var(--line);
}
.account-dropdown {
  position: absolute;
  right: 0;
  top: 43px;
  width: 170px;
  padding: 6px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 14px 34px var(--shadow-color);
  z-index: 40;
}
.account-dropdown button {
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: 7px;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
  text-align: left;
}
.account-dropdown button:hover {
  background: var(--workspace);
  color: var(--brand-dark);
}
.account-dropdown svg {
  width: 15px;
  height: 15px;
}
.profile-signout {
  margin-top: 18px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.profile-signout h3 {
  margin: 0 0 5px;
  font-size: 14px;
}
.profile-signout p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.confirmation-overlay {
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.confirmation-dialog {
  width: min(420px, 100%);
  background: var(--card);
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 20px 50px var(--shadow-color);
}
.confirmation-dialog h2 { margin: 0 0 9px; font-size: 17px; }
.confirmation-dialog p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.confirmation-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 24px; }
.audit-filters { padding: 18px 22px; margin-bottom: 18px; }
.audit-filters select { min-height: 96px; }
.sla-overview { display: grid; grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(160px, 1fr)); gap: 16px; margin-bottom: 18px; }
.sla-gauge-card { padding: 22px; }
.sla-gauge-card h2 { font-size: 15px; margin: 8px 0 4px; }
.sla-gauge-card p, .sla-kpi p { color: var(--muted); font-size: 12px; margin: 0; line-height: 1.5; }
.sla-gauge { display: flex; align-items: center; gap: 18px; }
.sla-gauge svg { width: 106px; height: 106px; transform: rotate(-90deg); }
.sla-gauge-track, .sla-gauge-value { fill: none; stroke-width: 4; }
.sla-gauge-track { stroke: var(--line); }
.sla-gauge-value { stroke: var(--brand); stroke-linecap: round; }
.sla-gauge > div { display: grid; gap: 3px; }
.sla-gauge strong { font-size: 30px; letter-spacing: -1px; }
.sla-gauge span { color: var(--muted); font-size: 12px; }
.sla-kpi { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.sla-kpi > span { color: var(--muted); font-size: 12px; font-weight: 700; }
.sla-kpi strong { font-size: 28px; letter-spacing: -1px; }
.sla-kpi strong small { color: var(--muted); font-size: 16px; font-weight: 650; }
.sla-matrix-card { margin-bottom: 18px; overflow: hidden; }
.sla-matrix-card .card-head { padding: 20px 22px; }
.sla-matrix-card .card-head p { margin: 6px 0 0; }
.sla-legend { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin: 0 5px 0 12px; }
.sla-legend.achieved, .sla-chip.achieved { background: #3878c4; color: #fff; }
.sla-legend.planned, .sla-chip.planned { background: #3d9f54; color: #fff; }
.sla-matrix th { white-space: nowrap; }
.sla-matrix td:first-child { min-width: 250px; }
.sla-chips { display: flex; flex-wrap: wrap; gap: 5px; min-width: 38px; }
.sla-chip { border: 0; border-radius: 999px; min-width: 25px; padding: 3px 8px; font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
span.sla-chip { cursor: default; display: inline-flex; justify-content: center; align-items: center; }
.sla-empty { color: var(--muted); font-size: 12px; }
@media (max-width: 980px) { .sla-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .sla-overview { grid-template-columns: 1fr; } }
