:root {
  --primary-blue: #3b82f6;
  --accent-yellow: #00bbe3;
  --bg-dark: #0f172a;
  --bg-dark-soft: #1e293b;
  --glass: rgba(30, 41, 59, .45);
  --border-glass: rgba(255, 255, 255, .15);
  --sidebar-width: 220px;
  --bg: #f5f7f8;
  --surface: #ffffff;
  --surface-2: #eef3f4;
  --text: #172126;
  --muted: #617078;
  --line: #dce5e8;
  --green: #168765;
  --green-bg: #dff5ed;
  --amber: #f59e0b;
  --amber-bg: #fff0d2;
  --red: #bd3b35;
  --red-bg: #ffe2df;
  --blue: var(--primary-blue);
  --blue-bg: #e0eff8;
  --ink: #24343b;
  --shadow: 0 16px 40px rgba(31, 49, 56, .08);
}

.supplier-portal {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, .16), transparent 330px),
    radial-gradient(circle at top right, rgba(0, 187, 227, .16), transparent 280px),
    linear-gradient(180deg, #f1f5f9 0, #f5f7f8 260px, #f5f7f8 100%);
}

.supplier-portal-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  color: #ffffff;
  background:
    radial-gradient(circle at top left, rgba(30, 41, 59, .88), transparent 260px),
    linear-gradient(135deg, #0d1b2a, #1a3a5c);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 12px 30px rgba(15, 23, 42, .18);
}

.supplier-portal-brand {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
}

.supplier-portal-brand span {
  color: var(--accent-yellow);
}

.supplier-portal-chip,
.supplier-portal-account {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(0, 187, 227, .32);
  border-radius: 8px;
  color: #32d7f3;
  background: rgba(0, 187, 227, .13);
  font-size: 13px;
  font-weight: 700;
}

.supplier-portal-chip {
  min-height: 42px;
  padding: 0 13px;
}

.supplier-portal-main {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 40px;
}

.supplier-portal-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  min-height: 220px;
  padding: 28px;
  overflow: hidden;
  border-radius: 8px;
  color: #ffffff;
  background:
    radial-gradient(circle at top left, rgba(30, 41, 59, .88), transparent 260px),
    linear-gradient(135deg, #0d1b2a, #1a3a5c);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .2);
}

.supplier-portal-hero::after {
  content: "";
  position: absolute;
  right: -56px;
  top: -72px;
  width: 190px;
  height: 190px;
  border: 28px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
}

.supplier-portal-hero > * {
  position: relative;
  z-index: 1;
}

.supplier-portal-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: #32d7f3;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.supplier-portal-hero h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
}

.supplier-portal-hero p {
  max-width: 680px;
  margin: 10px 0 0;
  color: #cbd5e1;
}

.supplier-portal-account {
  flex-direction: column;
  align-items: flex-start;
  min-width: 260px;
  padding: 14px;
}

.supplier-portal-account span {
  color: #cbd5e1;
  font-size: 12px;
}

.supplier-portal-account strong {
  color: #ffffff;
}

.supplier-portal-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.supplier-portal-metrics article {
  padding: 18px;
  border: 1px solid #dce5e8;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.supplier-portal-metrics span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.supplier-portal-metrics strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
}

.supplier-portal-card {
  margin-top: 0;
}

@media (max-width: 760px) {
  .supplier-portal-topbar,
  .supplier-portal-hero {
    padding-right: 18px;
    padding-left: 18px;
  }

  .supplier-portal-topbar,
  .supplier-portal-hero,
  .supplier-portal-metrics {
    grid-template-columns: 1fr;
  }

  .supplier-portal-topbar {
    align-items: flex-start;
    gap: 12px;
    padding-top: 16px;
    padding-bottom: 16px;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
}

.app {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  min-height: 100vh;
  transition: grid-template-columns .22s ease;
}

.app.sidebar-collapsed {
  grid-template-columns: 78px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px 14px;
  color: #f7fbfc;
  background:
    radial-gradient(circle at top left, rgba(30, 41, 59, .9), transparent 260px),
    linear-gradient(160deg, #0d1b2a 0%, #13263a 52%, #0f172a 100%);
  border-right: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 18px 0 46px rgba(15, 23, 42, .18);
  overflow: hidden;
  transition: width .22s ease, transform .22s ease, padding .22s ease;
  z-index: 20;
}

.sidebar::after {
  content: "";
  position: absolute;
  right: -92px;
  top: -58px;
  width: 190px;
  height: 190px;
  border: 26px solid rgba(255, 255, 255, .07);
  border-radius: 50%;
  pointer-events: none;
}

.sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), transparent 34%);
  pointer-events: none;
}

.sidebar > * {
  position: relative;
  z-index: 1;
}

.sidebar-header {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  padding: 0 4px 22px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.brand {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
  max-width: calc(100% - 50px);
}

.brand-mark,
.athena-mark {
  display: grid;
  place-items: center;
  border-radius: 8px;
  overflow: hidden;
  background: transparent;
}

.brand-mark {
  width: 132px;
  height: 48px;
  flex: 0 0 132px;
}

.athena-mark {
  width: 46px;
  height: 46px;
}

.brand-mark img,
.athena-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.brand strong {
  display: block;
  overflow: hidden;
  color: #ffffff;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand span {
  display: none;
  margin-top: 3px;
  color: #aeb9c8;
  font-size: 12px;
  white-space: nowrap;
}

.sidebar-toggle,
.mobile-menu-trigger {
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}

.sidebar-toggle {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  margin-left: auto;
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  color: #e2e8f0;
  background: rgba(255, 255, 255, .07);
}

.sidebar-toggle:hover {
  background: rgba(59, 130, 246, .18);
}

.sidebar-toggle .bi {
  font-size: 22px;
  line-height: 1;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.side-nav {
  display: grid;
  gap: 6px;
  padding-top: 18px;
}

.side-nav a {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #cbd5e1;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s ease;
}

.side-nav a.active,
.side-nav a:hover {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(59, 130, 246, .2), rgba(255, 255, 255, .07));
  border-color: rgba(255, 255, 255, .16);
  box-shadow: inset 3px 0 0 var(--accent-yellow), 0 10px 26px rgba(15, 23, 42, .18);
  transform: translateX(2px);
}

.side-nav .bi {
  width: 20px;
  flex: 0 0 20px;
  font-size: 18px;
  line-height: 1;
  text-align: center;
}

.nav-label {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 22px;
  margin-left: auto;
  padding: 0 7px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, .14);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.sidebar-footer {
  position: absolute;
  right: 18px;
  bottom: 20px;
  left: 18px;
}

.sidebar-contact-card {
  position: relative;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 8px;
  color: #e5edf5;
  background: rgba(255, 255, 255, .045);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 12px 26px rgba(15, 23, 42, .16);
}

.sidebar-contact-card > span {
  display: block;
  margin-bottom: 9px;
  color: #dbe4ee;
  font-size: 11px;
  font-weight: 600;
}

.sidebar-contact-button {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 7px;
  color: #ffffff;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(12px);
  box-shadow: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.sidebar-contact-button:hover {
  border-color: rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .1);
  transform: translateY(-1px);
}

.sidebar-contact-button .bi {
  font-size: 14px;
  line-height: 1;
}

.sidebar-contact-tooltip {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  left: 0;
  z-index: 5;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 7px;
  color: #ffffff;
  background: rgba(13, 27, 42, .96);
  box-shadow: 0 14px 30px rgba(15, 23, 42, .24);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity .16s ease, transform .16s ease;
}

.sidebar-contact-tooltip::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: -6px;
  width: 10px;
  height: 10px;
  background: rgba(13, 27, 42, .96);
  border-right: 1px solid rgba(255, 255, 255, .14);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  transform: translateX(50%) rotate(45deg);
}

.sidebar-contact-card:hover .sidebar-contact-tooltip,
.sidebar-contact-button:focus + .sidebar-contact-tooltip,
.sidebar-contact-button:active + .sidebar-contact-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.brand-text,
.nav-label,
.nav-count,
.sidebar-footer {
  transition: opacity .16s ease, transform .16s ease;
}

.app.sidebar-collapsed .sidebar {
  padding-right: 12px;
  padding-left: 12px;
}

.app.sidebar-collapsed .sidebar-header {
  justify-content: center;
  padding-right: 0;
  padding-left: 0;
}

.app.sidebar-collapsed .brand {
  display: none;
}

.app.sidebar-collapsed .side-nav a {
  gap: 0;
  justify-content: center;
  padding-right: 0;
  padding-left: 0;
}

.app.sidebar-collapsed .nav-label,
.app.sidebar-collapsed .nav-count,
.app.sidebar-collapsed .sidebar-footer {
  pointer-events: none;
  opacity: 0;
  transform: translateX(-8px);
}

.app.sidebar-collapsed .nav-label,
.app.sidebar-collapsed .nav-count {
  width: 0;
}

.app.sidebar-collapsed .side-nav a {
  display: grid;
  grid-template-columns: 20px;
  place-items: center;
}

.app.sidebar-collapsed .side-nav .bi {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
}

.app.sidebar-collapsed .nav-label,
.app.sidebar-collapsed .nav-count {
  display: none;
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, .48);
  z-index: 15;
}

.mobile-menu-trigger {
  display: none;
  position: fixed;
  top: 18px;
  left: 18px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow);
  z-index: 12;
}

.mobile-menu-trigger .bi {
  font-size: 23px;
  line-height: 1;
}

main,
.content {
  min-width: 0;
  padding-top: 88px;
}

.page-main {
  padding: 88px 28px 28px;
}

.intro-content {
  padding-top: 62px;
}

.intro-content main.container-fluid {
  padding-top: 14px !important;
}

.app-topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: var(--sidebar-width);
  z-index: 10;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 12px 28px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(31, 49, 56, .06);
  transition: left .22s ease;
}

.app.sidebar-collapsed .app-topbar {
  left: 78px;
}

.app-topbar-title {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.app-topbar-title > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-topbar-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.company-switch-link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.company-switch-link:hover {
  color: var(--accent-blue);
  border-color: rgba(59, 130, 246, .24);
  background: #eef6ff;
}

.company-switch-link .bi {
  font-size: 15px;
  line-height: 1;
}

.notification-button {
  position: relative;
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
}

.notification-button .bi {
  font-size: 18px;
  line-height: 1;
}

.notification-button.is-empty {
  color: var(--muted);
  background: #f8fafc;
}

.notification-count {
  position: absolute;
  top: 5px;
  right: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  padding: 0;
  border: 1px solid var(--surface);
  border-radius: 999px;
  color: #ffffff;
  background: var(--red);
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.notification-button.is-empty .notification-count {
  color: #64748b;
  border-color: #64748b;
  background: #e2e8f0;
}

.notification-tooltip {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  z-index: 20;
  display: grid;
  gap: 7px;
  min-width: 184px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  color: #e5edf4;
  background:
    linear-gradient(135deg, rgba(59, 130, 246, .16), rgba(255, 255, 255, .06)),
    #172126;
  box-shadow: 0 14px 30px rgba(15, 23, 42, .18);
  font-size: 12px;
  line-height: 1.25;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .16s ease, transform .16s ease;
}

.notification-tooltip::before {
  content: "";
  position: absolute;
  top: -5px;
  right: 13px;
  width: 10px;
  height: 10px;
  background: #172126;
  border-left: 1px solid rgba(255, 255, 255, .14);
  border-top: 1px solid rgba(255, 255, 255, .14);
  transform: rotate(45deg);
}

.notification-tooltip strong {
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.notification-tooltip-separator {
  display: block;
  height: 1px;
  margin: 1px 0;
  background: rgba(255, 255, 255, .14);
}

.notification-tooltip span {
  display: flex;
  min-height: 28px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, .05);
}

.notification-tooltip .notification-tooltip-separator {
  display: block;
  min-height: 0;
  height: 1px;
  margin: 1px 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, .14);
}

.notification-tooltip em {
  font-style: normal;
  font-weight: 700;
}

.notification-tooltip b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, .14);
  font-weight: 800;
}

.notification-button:hover .notification-tooltip,
.notification-button:focus-visible .notification-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.user-chip {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  min-height: 40px;
  padding: 4px 10px 4px 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fbfcfd;
}

.user-avatar {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--primary-blue);
  font-size: 12px;
  font-weight: 800;
}

.user-name {
  max-width: 160px;
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-name small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.company-accounts-grid {
  display: grid;
  grid-template-columns: minmax(270px, .62fr) minmax(0, 1.58fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.company-accounts-page {
  padding-top: 4px;
}

.company-accounts-page .page-heading {
  margin-bottom: 14px;
}

.company-accounts-page .page-heading h1 {
  margin: 0 0 5px;
  font-size: clamp(24px, 2.5vw, 31px);
}

.company-accounts-page .page-heading p {
  margin: 0;
  font-size: 13px;
}

.company-account-create,
.company-account-list {
  padding: 22px;
}

.company-account-list {
  min-width: 0;
  align-self: start;
  overflow: hidden;
}

.company-account-create .section-head,
.company-account-list .section-head {
  margin-bottom: 18px;
}

.company-account-create .section-head {
  display: block;
  padding: 0;
}

.company-account-create .section-head h2,
.company-account-list .section-head h2 {
  margin: 0 0 4px;
}

.company-account-create .section-head p,
.company-account-list .section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.company-account-create select {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.account-role-help {
  padding: 12px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #eff6ff;
}

.account-role-help p {
  margin: 0;
  color: #475569;
  font-size: 12px;
  line-height: 1.5;
}

.account-role-help p + p {
  margin-top: 6px;
}

.company-account-create-button {
  width: 100%;
}

.company-account-list table {
  width: 100%;
  min-width: 680px;
  table-layout: fixed;
  border-collapse: collapse;
}

.company-account-list th,
.company-account-list td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 12px;
  overflow-wrap: anywhere;
  vertical-align: middle;
}

.company-account-list th:nth-child(1) { width: 30%; }
.company-account-list th:nth-child(2) { width: 21%; }
.company-account-list th:nth-child(3) { width: 92px; }
.company-account-list th:nth-child(4) { width: 19%; }
.company-account-list th:nth-child(5) { width: 88px; }

.company-account-list .table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.company-account-list .table-wrap::-webkit-scrollbar {
  height: 7px;
}

.company-account-list .table-wrap::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #cbd5e1;
}

.company-account-list th:last-child,
.company-account-list td:last-child {
  text-align: center;
}

.company-account-list th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .025em;
  text-transform: uppercase;
  background: #f8fafc;
}

.company-account-list tbody tr {
  transition: background .16s ease;
}

.company-account-list tbody tr:hover {
  background: #fbfdff;
}

.company-account-list tbody tr:last-child td {
  border-bottom: 0;
}

.company-account-list td:first-child strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
}

.account-role-form {
  display: flex;
  align-items: center;
  min-width: 0;
  margin: 0;
}

.account-role-switch {
  display: inline-flex;
  flex-wrap: nowrap;
  max-width: 100%;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #e2e8f0;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, .14);
}

.account-role-switch button {
  display: inline-grid;
  width: 28px;
  height: 26px;
  min-height: 26px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 6px;
  color: #475569;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  transition: color .16s ease, background .16s ease, box-shadow .16s ease;
}

.account-role-switch button:hover:not(:disabled) {
  color: #166534;
  background: #ffffff;
}

.account-role-switch button.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, #15803d, #22c55e);
  box-shadow: 0 2px 7px rgba(21, 128, 61, .28);
  cursor: default;
  opacity: 1;
}

.account-invitation-status {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid;
  border-radius: 8px;
  background: #ffffff;
  font-size: 15px;
}

.account-invitation-status.is-failed {
  color: #b91c1c;
  border-color: #fca5a5;
  background: #fef2f2;
}

.account-invitation-status.is-pending {
  color: #a16207;
  border-color: #facc15;
  background: #fefce8;
}

.account-invitation-status.is-active {
  color: #15803d;
  border-color: #86efac;
  background: #f0fdf4;
}

.account-status-cell {
  text-align: left !important;
}

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

.account-actions-cell form {
  margin: 0;
}

.account-expiry-badge {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 0 7px;
  border: 1px solid;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
}

.account-expiry-badge.is-pending {
  color: #a16207;
  border-color: #fde047;
  background: #fefce8;
}

.account-expiry-badge.is-active {
  color: #15803d;
  border-color: #86efac;
  background: #f0fdf4;
}

.account-expiry-badge.is-failed {
  color: #b91c1c;
  border-color: #fca5a5;
  background: #fef2f2;
}

.account-delete-action {
  width: 32px;
  height: 32px;
  color: #dc2626 !important;
  border-color: #fca5a5 !important;
  background: #fef2f2 !important;
}

.account-delete-action:hover {
  color: #ffffff !important;
  border-color: #dc2626 !important;
  background: #dc2626 !important;
}

@media (max-width: 980px) {
  .company-accounts-grid {
    grid-template-columns: 1fr;
  }
}

.topbar {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}

h1 {
  margin: 0;
  color: #111a1e;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
}

.lead {
  max-width: 780px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.page-title-compact {
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: 0;
}

.page-lead-compact {
  max-width: 640px;
  margin-top: 6px;
  font-size: 14px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.export-form {
  display: inline-flex;
  margin: 0;
}

.btn-athena,
.btn-athena-outline,
.btn-soft {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.btn-athena {
  border: 1px solid var(--primary-blue);
  color: #fff;
  background: var(--primary-blue);
}

.btn-athena:hover {
  color: #fff;
  background: #2563eb;
}

.btn-athena-outline,
.btn-soft {
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--surface);
}

.btn-athena-outline:hover,
.btn-soft:hover {
  color: var(--primary-blue);
  border-color: rgba(59, 130, 246, .45);
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px;
  gap: 12px;
  margin-bottom: 18px;
}

.suppliers-toolbar {
  grid-template-columns: minmax(260px, 1fr) 210px 180px;
}

.field {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.field .bi {
  width: 18px;
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  text-align: center;
}

.field input,
.field select {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.grid {
  display: grid;
  gap: 18px;
}

.kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.panels {
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, .72fr);
  align-items: start;
}

.lower {
  grid-template-columns: minmax(320px, .72fr) minmax(0, 1.28fr);
  align-items: start;
}

.card-clean {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.kpi {
  min-height: 136px;
  padding: 18px;
}

.kpi .label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}

.kpi .value {
  margin-top: 16px;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.kpi .note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.delta,
.badge-soft {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.delta,
.badge-low {
  color: var(--green);
  background: var(--green-bg);
}

.delta.warn,
.badge-medium {
  color: #9a640b;
  background: var(--amber-bg);
}

.delta.bad,
.badge-high,
.badge-critical {
  color: var(--red);
  background: var(--red-bg);
}

.badge-info-soft {
  color: var(--blue);
  background: var(--blue-bg);
}

.section-head {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 0;
}

h2 {
  margin: 0;
  color: #162126;
  font-size: 18px;
}

.section-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.table-wrap {
  overflow-x: auto;
  padding: 14px 18px 18px;
}

.suppliers-list-card {
  min-width: 0;
  overflow: hidden;
}

.suppliers-list-card .table-wrap {
  max-width: 100%;
}

table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.suppliers-table {
  min-width: 1120px;
}

.suppliers-table th {
  padding: 13px 12px;
  vertical-align: top;
}

.suppliers-table th {
  line-height: 1.25;
}

.suppliers-table td {
  padding: 13px 12px;
  vertical-align: top;
}

.suppliers-table tbody td:not(:nth-child(7)) {
  padding-top: 22px;
}

.suppliers-table tbody td:nth-child(7) {
  padding-top: 13px;
}

.supplier-service {
  display: block;
  max-width: 280px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.status-pill {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, .42);
  border-radius: 999px;
  background: transparent;
  line-height: 1;
}

.status-pill .bi {
  font-size: 13px;
}

.status-pill-yes {
  color: #16a34a;
  border-color: rgba(22, 163, 74, .42);
}

.status-pill-no {
  color: var(--red);
  border-color: rgba(189, 59, 53, .34);
}

.status-pill-neutral {
  color: #64748b;
  border-color: rgba(100, 116, 139, .34);
}

.status-pill-pending {
  color: #b48733;
  border-color: rgba(180, 135, 51, .36);
  background: transparent;
}

.status-cell {
  text-align: left;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  max-width: 168px;
}

.status-combo {
  display: inline-grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 10px;
  align-items: start;
  width: 100%;
  max-width: 168px;
}

.status-labels {
  display: grid;
  gap: 5px;
  justify-items: start;
  min-width: 0;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.status-badge .bi {
  font-size: 12px;
  line-height: 1;
}

.status-badge-yes {
  color: #1d4ed8;
  border-color: rgba(37, 99, 235, .22);
  background: #dbeafe;
}

.status-badge-neutral {
  color: #334155;
  border-color: rgba(100, 116, 139, .22);
  background: #e2e8f0;
}

.status-badge-pending {
  color: #b48733;
  border-color: rgba(180, 135, 51, .36);
  background: transparent;
}

.status-badge-complete {
  color: #4f9277;
  border-color: rgba(79, 146, 119, .34);
  background: transparent;
}

.stage-cell {
  display: grid;
  gap: 7px;
  min-width: 220px;
}

.supplier-criticality-stage {
  margin-top: 8px;
}

.assessment-criticality-status {
  width: 100%;
  min-width: 0;
  padding: 12px;
  border: 1px solid #dbe7ee;
  border-radius: 8px;
  background: #ffffff;
}

.assessment-criticality-status .stage-head {
  align-items: flex-start;
}

.assessment-criticality-status .stage-actions {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-left: auto;
}

.assessment-criticality-status .delete-form {
  margin: 0;
}

.supplier-criticality-actions {
  justify-content: flex-start;
  margin-top: 8px;
}

.stage-head {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.stage-status-group {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  min-width: 0;
}

.stage-actions {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  justify-content: flex-end;
}

.stage-actions form {
  margin: 0;
}

.stage-step {
  position: relative;
  display: inline-flex;
  gap: 4px;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 3px 6px;
  border: 1px solid rgba(148, 163, 184, .32);
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.stage-step .bi {
  font-size: 12px;
}

.stage-step.done {
  color: #4f9277;
  border-color: rgba(79, 146, 119, .34);
}

.stage-step.pending {
  color: #b48733;
  border-color: rgba(180, 135, 51, .36);
}

.stage-step.locked {
  color: #64748b;
  border-color: rgba(100, 116, 139, .28);
  background: #f1f5f9;
}

.stage-step-notify {
  position: absolute;
  top: 0;
  left: 100%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 14px;
  min-height: 14px;
  padding: 0 4px;
  border: 1px solid #dc3545;
  border-radius: 999px;
  color: #ffffff;
  background: #dc3545;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.stage-score-combo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 4px 3px 6px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.stage-score-combo[hidden],
.stage-action[hidden],
[data-criticality-delete-button][hidden] {
  display: none !important;
}

.stage-score-combo.risk.low {
  color: #166534;
  border: 1px solid rgba(22, 101, 52, .24);
  background: #dcfce7;
}

.stage-score-combo.risk.warning {
  color: #93600b;
  border: 1px solid rgba(245, 158, 11, .28);
  background: #fff0d2;
}

.stage-score-combo.risk.light {
  color: #24744d;
  border: 1px solid rgba(34, 197, 94, .24);
  background: #dcfce7;
}

.stage-score-combo.risk.high {
  color: #a3342f;
  border: 1px solid rgba(189, 59, 53, .22);
  background: #ffe2df;
}

.stage-score-combo-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 20px;
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .5);
  font-weight: 700;
}

.stage-action {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(59, 130, 246, .42);
  border-radius: 8px;
  color: var(--blue);
  background: var(--surface);
  text-decoration: none;
}

.stage-action:hover {
  color: #ffffff;
  border-color: var(--blue);
  background: var(--blue);
}

.stage-action.disabled {
  pointer-events: none;
  color: #94a3b8;
  border-color: #dbe4ea;
  background: #f8fafc;
}

.stage-action.edit {
  color: #9a640b;
  border-color: rgba(245, 158, 11, .48);
}

.stage-action.edit:hover {
  color: #ffffff;
  border-color: var(--amber);
  background: var(--amber);
}

.stage-action.danger {
  color: var(--red);
  border-color: rgba(189, 59, 53, .48);
}

.stage-action.danger:hover {
  color: #ffffff;
  border-color: var(--red);
  background: var(--red);
}

.stage-progress {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.stage-progress .bar {
  overflow: hidden;
  height: 5px;
  border-radius: 999px;
  background: #e8f3fb;
}

.stage-progress .bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1d4ed8 0%, #0284c7 48%, #38bdf8 100%);
  box-shadow: 0 0 10px rgba(2, 132, 199, .28);
}

.stage-progress .bar span.warn {
  background: linear-gradient(90deg, #d97706 0%, #f59e0b 100%);
}

.table-muted,
.table-empty {
  color: var(--muted);
}

.table-empty {
  padding: 24px 10px;
  text-align: center;
}

.table-actions {
  display: flex;
  gap: 7px;
  align-items: center;
}

.icon-action {
  position: relative;
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
}

.icon-action:hover {
  color: var(--primary-blue);
  border-color: rgba(59, 130, 246, .35);
  background: var(--blue-bg);
}

.icon-action-primary {
  color: var(--primary-blue);
}

.icon-action-document {
  border-color: var(--line);
  background: var(--surface);
}

.icon-action-document .bi {
  color: var(--amber);
  background: linear-gradient(135deg, var(--amber), #fbbf24);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.icon-action-document:hover {
  border-color: rgba(245, 158, 11, .4);
  background: #fff8e6;
}

.action-notify {
  position: absolute;
  top: -4px;
  right: -4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 10px;
  border: 2px solid var(--surface);
  border-radius: 999px;
  background: #ef4444;
  line-height: 1;
}

.icon-action-danger {
  color: var(--red);
}

.icon-action-danger:hover {
  color: var(--red);
  border-color: rgba(189, 59, 53, .35);
  background: var(--red-bg);
}

.athena-toast {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, .18);
}

.athena-toast .toast-header {
  color: #fff;
  background: linear-gradient(135deg, #12343b, #1f5f68 55%, #2c7a7b);
  border-bottom: 1px solid rgba(255, 255, 255, .25);
}

.athena-toast .toast-header small {
  color: rgba(255, 255, 255, .82);
}

.athena-toast .toast-header .btn-close {
  filter: invert(1);
  opacity: .85;
}

.toast-logo {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  object-fit: contain;
}

.athena-toast .toast-body {
  display: flex;
  gap: 8px;
  align-items: center;
  background: #fbfcfd;
  font-weight: 700;
}

.number-highlight {
  color: var(--primary-blue);
}

th,
td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  font-size: 13px;
}

th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

tbody tr:hover {
  background: #f7fafb;
}

.supplier {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 190px;
}

.avatar {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--primary-blue);
  font-weight: 800;
  font-size: 12px;
}

.supplier strong {
  display: block;
  font-size: 14px;
}

.supplier span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.score {
  display: grid;
  gap: 6px;
  min-width: 92px;
}

.bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-2);
}

.bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.bar span.warn {
  background: var(--amber);
}

.bar span.bad {
  background: var(--red);
}

.donut-wrap {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.donut {
  position: relative;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background: conic-gradient(var(--green) 0 48%, var(--amber) 48% 75%, var(--red) 75% 91%, var(--blue) 91% 100%);
}

.donut::after {
  position: absolute;
  inset: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--text);
  background: var(--surface);
  content: "124";
  font-size: 30px;
  font-weight: 800;
}

.legend {
  display: grid;
  gap: 10px;
}

.legend-row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}

.legend-row span:first-child {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.dot.amber { background: var(--amber); }
.dot.red { background: var(--red); }
.dot.blue { background: var(--blue); }

.list {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.task {
  display: grid;
  gap: 9px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.task-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.task strong {
  font-size: 14px;
}

.task p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.timeline {
  display: grid;
  gap: 2px;
  padding: 18px;
}

.event {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.event:last-child {
  border-bottom: 0;
}

.event time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.event strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.event span {
  color: var(--muted);
  font-size: 13px;
}

.empty {
  display: none;
  padding: 18px;
  color: var(--muted);
  font-size: 14px;
}

.intro-hero {
  padding: 32px 0 30px;
  color: var(--text);
  background: transparent;
  border-bottom: 1px solid var(--line);
}

.intro-title {
  margin: 0 0 10px;
  color: #111a1e;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.05;
}

.intro-copy {
  max-width: 860px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.text-athena-blue {
  color: #0f172a;
}

.guide-card {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.guide-card .card-header {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  color: #fff;
  background: radial-gradient(circle at top left, var(--bg-dark-soft), var(--bg-dark));
  border-bottom: 1px solid var(--border-glass);
  font-weight: 700;
}

.guide-card .card-header .bi {
  color: var(--accent-yellow);
  font-size: 19px;
}

.guide-card .card-body {
  display: flex;
  min-height: 260px;
  flex-direction: column;
}

.guide-card .btn-athena,
.guide-card .btn-athena-outline {
  align-self: flex-start;
}

.guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.guide-card .card-title {
  color: #111827;
  font-weight: 800;
}

.guide-card .card-text,
.guide-card li {
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

.guide-list {
  margin-bottom: 0;
  padding-left: 18px;
}

.guide-list li + li {
  margin-top: 6px;
}

.list-group-flush > .list-group-item {
  padding-right: 0;
  padding-left: 0;
  color: #64748b;
  background: transparent;
}

.athena-modal {
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(15, 23, 42, .28);
}

.athena-modal .modal-header {
  position: relative;
  align-items: flex-start;
  color: #fff;
  padding: 20px 24px;
  background:
    radial-gradient(circle at top left, rgba(30, 41, 59, .88), transparent 260px),
    linear-gradient(135deg, #0d1b2a, #1a3a5c);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  overflow: hidden;
}

.athena-modal .modal-header::after {
  content: "";
  position: absolute;
  right: -48px;
  top: -70px;
  width: 170px;
  height: 170px;
  border: 24px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
}

.athena-modal .modal-header > * {
  position: relative;
  z-index: 1;
}

.athena-modal .modal-title {
  font-weight: 700;
}

.athena-modal .modal-header p {
  margin: 4px 0 0;
  color: #cbd5e1;
  font-size: 13px;
}

.athena-modal .btn-close {
  filter: invert(1);
  opacity: .9;
}

.supplier-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.supplier-form-grid .form-group {
  display: grid;
  gap: 6px;
}

.supplier-form-grid label {
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}

.supplier-form-grid input,
.supplier-form-grid select,
.supplier-form-grid textarea {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 11px;
  outline: 0;
  background: #f8fafc;
}

.supplier-form-grid textarea {
  resize: vertical;
}

.supplier-form-grid input:focus,
.supplier-form-grid select:focus,
.supplier-form-grid textarea:focus {
  border-color: rgba(59, 130, 246, .55);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
}

.supplier-form-full {
  grid-column: 1 / -1;
}

.supplier-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}

.supplier-check input {
  width: auto;
  margin-top: 3px;
}

.supplier-check.is-disabled {
  color: #94a3b8;
  border-color: #e2e8f0;
  background: #f1f5f9;
  cursor: not-allowed;
  opacity: .7;
}

.supplier-check.is-disabled input {
  cursor: not-allowed;
}

.supplier-nis2-fields {
  padding: 14px;
  border: 1px solid rgba(59, 130, 246, .22);
  border-radius: 8px;
  background: #f7fafc;
}

.supplier-nis2-fields[hidden] {
  display: none;
}

.supplier-cpv-manual-action {
  margin-top: -4px;
}

.supplier-supplies-head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(59, 130, 246, .18);
}

.btn-supply-add {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--green);
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  font-weight: 700;
}

.btn-supply-add:hover {
  color: #fff;
  background: #116f53;
}

.supplier-supplies {
  display: grid;
  gap: 14px;
}

.supplier-supply-row {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.supplier-supply-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(130px, .55fr) minmax(190px, .8fr);
  gap: 12px;
  align-items: end;
}

.supplier-supply-grid .form-group,
.supplier-manual-cpv-fields .form-group {
  display: grid;
  gap: 6px;
}

.supplier-supply-grid label,
.supplier-manual-cpv-fields label {
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}

.supplier-supply-grid input,
.supplier-supply-grid select,
.supplier-manual-cpv-fields input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 11px;
  outline: 0;
  background: #f8fafc;
}

.supplier-supply-grid input:focus,
.supplier-supply-grid select:focus,
.supplier-manual-cpv-fields input:focus {
  border-color: rgba(59, 130, 246, .55);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
}

.supplier-manual-cpv-fields {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(130px, .38fr);
  gap: 12px;
  padding: 12px;
  border: 1px dashed rgba(59, 130, 246, .32);
  border-radius: 8px;
  background: #f8fbff;
}

.supplier-manual-cpv-fields[hidden] {
  display: none;
}

.supplier-supply-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
}

.supplier-supply-actions .icon-action {
  margin-left: auto;
}

.supplier-supply-list {
  display: grid;
  gap: 8px;
  min-width: 260px;
}

.supplier-supply-box {
  min-height: 58px;
  padding: 9px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.supplier-supply-box strong,
.supplier-supply-box span {
  display: block;
}

.supplier-supply-box strong {
  line-height: 1.25;
}

.supplier-supply-box span {
  margin-top: 2px;
}

.supplier-criterion-list {
  display: grid;
  gap: 8px;
}

.supplier-criterion-item {
  display: flex;
  min-height: 58px;
  align-items: flex-start;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
}

.document-repository-header {
  align-items: flex-end;
}

.document-repository-header p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.document-back-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 8px;
  color: var(--primary-blue);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.document-back-link:hover {
  color: #2563eb;
}

.document-repository-layout {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.document-upload-panel,
.document-list-panel {
  min-width: 0;
}

.document-upload-panel {
  padding: 20px;
}

.document-upload-panel .section-head {
  align-items: flex-start;
  margin-bottom: 16px;
  padding: 0;
}

.document-upload-panel .section-head > div {
  min-width: 0;
}

.document-upload-panel .section-head p {
  line-height: 1.4;
}

.document-list-panel-full {
  grid-column: 1 / -1;
}

.document-panel-icon {
  display: inline-grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 8px;
  color: var(--primary-blue);
  background: var(--blue-bg);
  font-size: 18px;
}

.document-upload-form {
  display: grid;
  gap: 10px;
}

.document-upload-form label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.document-upload-form input[type="file"] {
  width: 100%;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #f8fafc;
  font-size: 13px;
}

.document-upload-form input[type="file"]::file-selector-button {
  margin-right: 10px;
  padding: 7px 10px;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  background: var(--surface-2);
  cursor: pointer;
  font-weight: 700;
}

.document-upload-form p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.document-upload-form .btn-athena {
  width: 100%;
}

.document-upload-form .btn-athena:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.document-list-panel .section-head {
  padding-bottom: 14px;
}

.document-table-wrap {
  max-width: 100%;
}

.document-table {
  min-width: 760px;
}

.document-table th:last-child,
.document-table td:last-child {
  width: 96px;
  text-align: right;
}

.document-actions {
  justify-content: flex-end;
  flex-wrap: nowrap;
}

.document-name {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.document-name .bi {
  flex: 0 0 auto;
  color: var(--primary-blue);
  font-size: 21px;
}

.document-name strong {
  overflow-wrap: anywhere;
  font-size: 13px;
}

.document-extension {
  display: inline-flex;
  min-width: 42px;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: #f8fafc;
  font-size: 10px;
  font-weight: 800;
}

.document-empty-state {
  display: grid;
  justify-items: center;
  padding: 50px 20px;
  color: var(--muted);
  text-align: center;
}

.document-empty-state .bi {
  margin-bottom: 12px;
  color: #94a3b8;
  font-size: 38px;
}

.document-empty-state strong {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 15px;
}

.document-empty-state span {
  font-size: 13px;
}

.evaluations-dashboard {
  --cyber-red: #bd3b35;
  --cyber-yellow: #f59e0b;
  --cyber-green-light: #22c55e;
  --cyber-green-dark: #166534;
  --cyber-soft-red: #ffe2df;
  --cyber-soft-yellow: #fff0d2;
  --cyber-soft-green-light: #dcfce7;
  --cyber-soft-green-dark: #bbf7d0;
  --cyber-red-text: #a3342f;
  --cyber-yellow-text: #93600b;
  --cyber-green-light-text: #24744d;
  --cyber-green-dark-text: #166534;
}

.evaluations-dashboard .page-main {
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

.evaluations-dashboard .filters-card {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 280px;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid #dce5e8;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(31, 49, 56, .06);
}

.evaluations-dashboard .evaluation-tabs {
  gap: 8px;
  margin-top: 18px;
  border-bottom: 0;
}

.evaluations-dashboard .evaluation-tabs .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #dce5e8;
  border-radius: 8px;
  color: #52616b;
  background: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.evaluations-dashboard .evaluation-tabs .nav-link span {
  display: inline-flex;
  min-width: 24px;
  min-height: 22px;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  border-radius: 999px;
  color: #64748b;
  background: #f1f5f9;
  font-size: 11px;
}

.evaluations-dashboard .evaluation-tabs .nav-link.active {
  color: #ffffff;
  border-color: var(--primary-blue);
  background: var(--primary-blue);
}

.evaluations-dashboard .evaluation-tabs .nav-link.active span {
  color: #1d4ed8;
  background: #ffffff;
}

.evaluations-dashboard .evaluation-tab-content {
  min-width: 0;
}

.evaluations-dashboard .nis2-hero {
  margin-top: 18px;
}

.evaluations-dashboard .brand-hero {
  display: grid;
  gap: 0;
}

.evaluations-dashboard .brand-hero-title {
  margin: 0;
  color: #111a1e;
  font-size: 24px;
  font-weight: 650;
  line-height: 1.12;
}

.evaluations-dashboard .nis2-kpis {
  margin-top: 18px;
}

.evaluations-dashboard .nis2-kpis .kpi {
  position: relative;
  overflow: hidden;
  border-color: transparent;
  color: #ffffff;
  background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
}

.evaluations-dashboard .nis2-kpis .kpi:nth-child(2) {
  background: linear-gradient(135deg, #1ABC9C 0%, #16A085 100%);
}

.evaluations-dashboard .nis2-kpis .kpi:nth-child(3) {
  background: linear-gradient(135deg, #E67E22 0%, #D35400 100%);
}

.evaluations-dashboard .nis2-kpis .kpi:nth-child(4) {
  background: linear-gradient(135deg, #2980B9 0%, #3498DB 100%);
}

.evaluations-dashboard .nis2-kpis .kpi .label {
  color: rgba(255, 255, 255, .84);
  font-size: 12px;
  font-weight: 600;
}

.evaluations-dashboard .nis2-kpis .kpi .value {
  margin-top: 14px;
  color: #ffffff;
  font-size: 30px;
  font-weight: 650;
  letter-spacing: 0;
}

.evaluations-dashboard .nis2-kpis .kpi .note {
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  line-height: 1.4;
}

.evaluations-dashboard .nis2-kpis .kpi .delta {
  min-height: 22px;
  color: #ffffff;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .24);
  font-size: 11px;
  font-weight: 600;
}

.evaluations-dashboard .overview-panels {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.evaluations-dashboard .overview-panels > .card-clean {
  height: 100%;
}

.evaluations-dashboard .status-donuts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 18px;
}

.evaluations-dashboard .status-donut-card {
  display: grid;
  gap: 14px;
  justify-items: center;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(59, 130, 246, .12);
  border-radius: 8px;
  background: linear-gradient(180deg, #fbfcfd, #f7fbff);
}

.evaluations-dashboard .status-donut-title {
  margin: 0;
  color: var(--text);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .03em;
  text-align: center;
  text-transform: uppercase;
}

.evaluations-dashboard .status-donut-card .legend-row strong {
  font-weight: 600;
}

.evaluations-dashboard .status-donut-card .donut {
  width: 118px;
  height: 118px;
}

.evaluations-dashboard .status-donut-card .donut::after {
  content: none;
}

.evaluations-dashboard .cyber-donut-center {
  position: absolute;
  inset: 23px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  color: #172126;
  background: var(--surface);
  text-align: center;
}

.evaluations-dashboard .cyber-donut-center strong {
  display: block;
  font-size: 24px;
  font-weight: 650;
  line-height: 1;
}

.evaluations-dashboard .cyber-donut-center span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .04em;
}

.evaluations-dashboard .cyber-legend {
  width: 100%;
  padding: 10px;
  border: 1px solid #e3ebf1;
  border-radius: 8px;
  background: #ffffff;
}

.evaluations-dashboard .cyber-legend .legend-row {
  align-items: center;
  color: #475569;
}

.evaluations-dashboard .cyber-legend .legend-row strong {
  min-width: 22px;
  color: #172126;
  font-weight: 650;
  text-align: right;
}

.evaluations-dashboard .dot.cyber-low { background: var(--cyber-soft-red); border: 1px solid rgba(163, 52, 47, .35); }
.evaluations-dashboard .dot.cyber-warning { background: var(--cyber-soft-yellow); border: 1px solid rgba(147, 96, 11, .36); }
.evaluations-dashboard .dot.cyber-light { background: var(--cyber-soft-green-light); border: 1px solid rgba(36, 116, 77, .32); }
.evaluations-dashboard .dot.cyber-high { background: var(--cyber-green-dark); border: 1px solid rgba(22, 101, 52, .34); }
.evaluations-dashboard .dot.criticita-low,
.evaluations-dashboard .dot.final-high { background: var(--cyber-green-dark); border: 1px solid rgba(22, 101, 52, .34); }
.evaluations-dashboard .dot.criticita-light,
.evaluations-dashboard .dot.final-light { background: var(--cyber-green-light); border: 1px solid rgba(34, 197, 94, .34); }
.evaluations-dashboard .dot.criticita-warning,
.evaluations-dashboard .dot.final-warning { background: var(--cyber-yellow); border: 1px solid rgba(245, 158, 11, .36); }
.evaluations-dashboard .dot.criticita-high,
.evaluations-dashboard .dot.final-low { background: var(--cyber-red); border: 1px solid rgba(189, 59, 53, .35); }

.evaluations-dashboard .cyber-legend .dot.cyber-low { background: var(--cyber-red); }
.evaluations-dashboard .cyber-legend .dot.cyber-warning { background: var(--cyber-yellow); }
.evaluations-dashboard .cyber-legend .dot.cyber-light { background: var(--cyber-green-light); }

@media (max-width: 1080px) {
  .evaluations-dashboard .filters-card {
    grid-template-columns: 1fr;
  }

  .evaluations-dashboard .overview-panels {
    grid-template-columns: 1fr;
  }

  .evaluations-dashboard .status-donuts {
    grid-template-columns: 1fr;
  }
}

.evaluations-dashboard .filters-card .field {
  min-height: 46px;
  border-color: rgba(59, 130, 246, .18);
  background: #f8fbff;
}

.evaluations-dashboard .filters-card .field:focus-within {
  border-color: rgba(59, 130, 246, .45);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, .09);
}

.evaluations-dashboard .filters-card .field .bi {
  color: var(--primary-blue);
}

.evaluations-dashboard .filters-card input,
.evaluations-dashboard .filters-card select {
  font-size: 13px;
}

.evaluations-dashboard .questionari-panel {
  grid-template-columns: 1fr;
  min-width: 0;
}

.evaluations-dashboard .questionari-panel > .card-clean {
  min-width: 0;
  overflow: hidden;
}

.evaluations-dashboard .questionari-panel .section-head {
  flex-wrap: wrap;
  min-width: 0;
}

.evaluations-dashboard .questionari-panel .section-head > div {
  min-width: 0;
}

.evaluations-dashboard .table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.evaluations-dashboard .questionari-table {
  min-width: 980px;
  table-layout: fixed;
}

.evaluations-dashboard .questionari-table th:nth-child(1) { width: 100px; }
.evaluations-dashboard .questionari-table th:nth-child(2) { width: 270px; }
.evaluations-dashboard .questionari-table th:nth-child(3) { width: 215px; }
.evaluations-dashboard .questionari-table th:nth-child(4) { width: 215px; }
.evaluations-dashboard .questionari-table th:nth-child(5) { width: 180px; }

.evaluations-dashboard .questionari-table td {
  overflow-wrap: anywhere;
}

.evaluations-dashboard .questionari-table .avatar {
  border-radius: 50%;
  background: var(--avatar-color, var(--primary-blue));
}

.evaluations-dashboard .gdpr-evaluations-table {
  min-width: 900px;
}

.evaluations-dashboard .muted-line {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.evaluations-dashboard .code-cell strong {
  display: block;
  color: var(--text);
  font-size: 13px;
}

.evaluations-dashboard .stage-cell {
  display: grid;
  gap: 6px;
  min-width: 104px;
}

.evaluations-dashboard .stage-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
}

.evaluations-dashboard .stage-status-group {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  min-width: 0;
}

.evaluations-dashboard .stage-actions {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  justify-content: flex-end;
}

.evaluations-dashboard .inline-delete-form {
  display: none;
}

.evaluations-dashboard .table-actions {
  justify-content: flex-end;
}

.gdpr-code-cell strong,
.gdpr-code-cell small {
  display: block;
  white-space: nowrap;
}

.gdpr-code-cell small,
.gdpr-pending-value {
  margin-top: 4px;
  color: #7a8d98;
  font-size: 11px;
  font-weight: 600;
}

.gdpr-evaluations-table td.gdpr-centered-cell {
  vertical-align: middle;
}

.gdpr-evaluations-table tbody > tr > td {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
  vertical-align: middle !important;
}

.gdpr-evaluations-table td.gdpr-score-cell {
  vertical-align: middle;
}

.gdpr-evaluations-table td.gdpr-evaluator-result-cell {
  text-align: left !important;
  vertical-align: middle;
}

.gdpr-evaluator-result-cell > .status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0;
  margin-left: 0;
}

.gdpr-evaluator-result-cell .status-badge-negative {
  color: #b45d66;
  border-color: rgba(180, 93, 102, .36);
  background: transparent;
}

.gdpr-score-breakdown {
  display: grid;
  gap: 5px;
  min-width: 118px;
}

.gdpr-score-breakdown > div {
  display: grid;
  grid-template-columns: 60px auto;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.gdpr-score-breakdown span {
  color: #4f6875;
  font-size: 10px;
  font-weight: 600;
}

.gdpr-score-breakdown strong {
  color: #172126;
  font-size: 10px;
  font-weight: 600;
}

.gdpr-score-breakdown strong.gdpr-evaluator-score-value {
  color: #b48733;
}

.evaluations-dashboard .gdpr-evaluations-table .table-actions {
  align-items: center;
  justify-content: flex-start;
}

.gdpr-evaluations-table td.gdpr-actions-cell {
  vertical-align: middle;
}

.gdpr-table-progress {
  min-width: 150px;
}

.gdpr-table-progress > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
  color: #4f6875;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.gdpr-table-progress > div b {
  color: #1c6599;
}

.gdpr-table-progress-track {
  display: block;
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: #e7f0f7;
}

.gdpr-table-progress-track > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #255e91, #00bbe3);
}

.evaluations-dashboard .stage-step {
  position: relative;
  display: inline-flex;
  gap: 4px;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 3px 6px;
  border: 1px solid rgba(148, 163, 184, .32);
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.evaluations-dashboard .stage-step .bi {
  font-size: 12px;
}

.evaluations-dashboard .stage-step.done {
  color: #4f9277;
  border-color: rgba(79, 146, 119, .34);
}

.evaluations-dashboard .stage-step.pending {
  color: #b48733;
  border-color: rgba(180, 135, 51, .36);
}

.evaluations-dashboard .stage-step.locked {
  color: #81909a;
  border-color: rgba(129, 144, 154, .34);
}

.evaluations-dashboard .stage-score-combo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 4px 3px 6px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.evaluations-dashboard .stage-score-combo.low {
  color: #a3342f;
  background: #ffe2df;
  border: 1px solid rgba(189, 59, 53, .22);
}

.evaluations-dashboard .stage-score-combo.warning {
  color: #93600b;
  background: #fff0d2;
  border: 1px solid rgba(245, 158, 11, .28);
}

.evaluations-dashboard .stage-score-combo.light {
  color: #24744d;
  background: #dcfce7;
  border: 1px solid rgba(34, 197, 94, .24);
}

.evaluations-dashboard .stage-score-combo.high {
  color: #ffffff;
  background: var(--cyber-green-dark);
  border: 1px solid rgba(22, 101, 52, .24);
}

.evaluations-dashboard .stage-score-combo.risk.low {
  color: #166534;
  background: #dcfce7;
  border: 1px solid rgba(22, 101, 52, .24);
}

.evaluations-dashboard .stage-score-combo.risk.warning {
  color: #93600b;
  background: #fff0d2;
  border: 1px solid rgba(245, 158, 11, .28);
}

.evaluations-dashboard .stage-score-combo.risk.light {
  color: #24744d;
  background: #dcfce7;
  border: 1px solid rgba(34, 197, 94, .24);
}

.evaluations-dashboard .stage-score-combo.risk.high {
  color: #a3342f;
  background: #ffe2df;
  border: 1px solid rgba(189, 59, 53, .22);
}

.evaluations-dashboard .stage-score-combo.final {
  max-width: 230px;
  white-space: normal;
  line-height: 1.2;
}

.evaluations-dashboard .stage-score-combo-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 20px;
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .5);
  font-weight: 600;
}

.evaluations-dashboard .stage-action {
  position: relative;
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(59, 130, 246, .42);
  border-radius: 8px;
  color: var(--primary-blue);
  background: var(--surface);
  text-decoration: none;
}

.evaluations-dashboard .final-report-notification {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 10px;
  height: 10px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: var(--red);
}

.evaluations-dashboard .stage-action:hover {
  color: #ffffff;
  border-color: var(--primary-blue);
  background: var(--primary-blue);
}

.evaluations-dashboard .stage-action.edit {
  color: #9a640b;
  border-color: rgba(245, 158, 11, .48);
  background: var(--surface);
}

.evaluations-dashboard .stage-action.edit:hover {
  color: #ffffff;
  border-color: var(--amber);
  background: var(--amber);
}

.evaluations-dashboard .stage-action.success {
  color: #15803d;
  border-color: rgba(34, 197, 94, .52);
  background: var(--surface);
}

.evaluations-dashboard .stage-action.success:hover {
  color: #ffffff;
  border-color: #16a34a;
  background: #16a34a;
}

.evaluations-dashboard .stage-action.danger {
  color: var(--red);
  border-color: rgba(189, 59, 53, .48);
  background: var(--surface);
}

.evaluations-dashboard .stage-action.danger:hover {
  color: #ffffff;
  border-color: var(--red);
  background: var(--red);
}

.evaluations-dashboard .stage-action.disabled,
.evaluations-dashboard .stage-action:disabled {
  pointer-events: none;
  color: #94a3b8;
  border-color: #d8e1e8;
  background: var(--surface);
}

.evaluations-dashboard .stage-progress {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.evaluations-dashboard .stage-progress .bar {
  height: 5px;
  overflow: hidden;
  background: #e8f3fb;
  border-radius: 999px;
}

.evaluations-dashboard .stage-progress .bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #1d4ed8 0%, #0284c7 48%, #38bdf8 100%);
  box-shadow: 0 0 10px rgba(2, 132, 199, .28);
}

.evaluations-dashboard .stage-progress .bar span.warn {
  background: linear-gradient(90deg, #d97706 0%, #f59e0b 100%);
  box-shadow: 0 0 10px rgba(245, 158, 11, .28);
}

.evaluations-dashboard .stage-progress .bar span.bad {
  background: linear-gradient(90deg, #bd3b35 0%, #ef4444 100%);
  box-shadow: 0 0 10px rgba(189, 59, 53, .22);
}

.evaluations-dashboard .final-steps {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
}

.evaluations-dashboard .final-step-dot {
  position: relative;
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, .42);
  border-radius: 999px;
  color: #94a3b8;
  background: #ffffff;
  font-size: 12px;
}

.evaluations-dashboard .final-step-dot .bi {
  font-size: 12px;
}

.evaluations-dashboard .final-step-dot::after {
  content: "";
  position: absolute;
  right: -6px;
  width: 6px;
  height: 1px;
  background: rgba(148, 163, 184, .42);
}

.evaluations-dashboard .final-step-dot:last-child::after {
  display: none;
}

.evaluations-dashboard .final-step-dot.done {
  color: #4f9277;
  border-color: rgba(79, 146, 119, .34);
}

.evaluations-dashboard .final-step-dot.pending {
  color: #b48733;
  border-color: rgba(180, 135, 51, .36);
}

.evaluations-dashboard .final-step-dot.locked {
  color: #81909a;
  border-color: rgba(129, 144, 154, .34);
}

.evaluations-dashboard .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.assessment-split {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(360px, 1.15fr);
  gap: 16px;
  align-items: stretch;
}

.assessment-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.assessment-panel[hidden] {
  display: none !important;
}

.assessment-panel-internal {
  gap: 12px;
  background: #f8fafc;
}

.assessment-criticality-intro {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5edf2;
}

.assessment-criticality-icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(59, 130, 246, .18);
  border-radius: 8px;
  color: var(--primary-blue);
  background: #eff6ff;
}

.assessment-criticality-intro p {
  max-width: 430px;
  margin-top: 4px;
  font-size: 12px;
}

.assessment-panel-internal .assessment-panel-action {
  align-self: flex-end;
  margin-top: auto;
}

.assessment-panel-internal.is-locked {
  color: #64748b;
  background: #f8fafc;
}

.assessment-panel-internal.is-locked .assessment-criticality-icon {
  color: #64748b;
  border-color: rgba(100, 116, 139, .2);
  background: #f1f5f9;
}

.assessment-panel-internal .assessment-panel-action:disabled {
  cursor: not-allowed;
  color: #64748b;
  background: #e2e8f0;
  box-shadow: none;
  opacity: .8;
}

.assessment-panel-title {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.assessment-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.assessment-panel-copy {
  margin-bottom: 14px;
}

.assessment-panel-action {
  align-self: flex-end;
  margin-top: 18px;
}

.assessment-email {
  display: grid;
  gap: 6px;
  margin: 14px 0;
}

.assessment-email label {
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}

.assessment-email input {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 11px;
  outline: 0;
  background: #f8fafc;
}

.assessment-email input:focus {
  border-color: rgba(59, 130, 246, .55);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
}

.assessment-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.assessment-option + .assessment-option {
  margin-top: 12px;
}

.assessment-option[hidden] {
  display: none;
}

.assessment-option.is-locked {
  color: #64748b;
  border-color: #e2e8f0;
  background: #f8fafc;
  opacity: .78;
}

.assessment-option.is-locked input {
  cursor: not-allowed;
}

.assessment-option.is-locked strong,
.assessment-option.is-locked small {
  color: #64748b;
}

.assessment-invitation-status {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #64748b;
  background: #f8fafc;
}

.assessment-invitation-status > .bi {
  display: inline-grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border: 1px solid rgba(100, 116, 139, .22);
  border-radius: 8px;
  background: #ffffff;
}

.assessment-invitation-status strong,
.assessment-invitation-status span {
  display: block;
}

.assessment-invitation-status strong {
  color: #334155;
  font-size: 12px;
}

.assessment-invitation-status span {
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.45;
}

.assessment-invitation-status span[data-assessment-invitation-expiry] {
  margin-top: 7px;
  font-weight: 700;
}

.assessment-renew-form {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.assessment-renew-button {
  width: 100%;
  justify-content: center;
  gap: 7px;
}

.assessment-renew-form small {
  color: #64748b;
  font-size: 11px;
  line-height: 1.4;
}

.assessment-invitation-status.is-sent {
  color: #166534;
  border-color: rgba(22, 101, 52, .22);
  background: #dcfce7;
}

.assessment-invitation-status.is-sent > .bi {
  color: #166534;
  border-color: rgba(22, 101, 52, .24);
}

.assessment-invitation-status.is-sent strong {
  color: #166534;
}

.assessment-option input {
  margin-top: 4px;
}

.assessment-option strong,
.assessment-option small {
  display: block;
}

.assessment-option strong {
  font-size: 12px;
  line-height: 1.25;
}

.assessment-option small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.criticality-form {
  padding: 18px;
}

.criticality-questionnaire {
  display: grid;
  gap: 16px;
}

.criticality-compiler {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-self: start;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--ink);
  font-size: 13px;
}

.criticality-compiler span {
  color: var(--muted);
}

.criticality-area {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.criticality-area-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}

.criticality-area-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.3;
}

.criticality-area-head span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.criticality-questions {
  display: grid;
  gap: 0;
}

.criticality-question {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.criticality-question:last-child {
  border-bottom: 0;
}

.criticality-question legend {
  float: none;
  width: auto;
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.criticality-options {
  display: grid;
  gap: 8px;
}

.criticality-options label {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 9px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  color: #475569;
  font-size: 13px;
  line-height: 1.35;
}

.criticality-options input {
  margin-top: 2px;
}

.criticality-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #e2e8f0, #f8fafc);
}

.auth-backdrop {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, .16);
  backdrop-filter: blur(4px);
}

.auth-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: min(900px, 100%);
  overflow: hidden;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 25px 60px rgba(0, 0, 0, .25);
}

.auth-form-side,
.auth-info-side {
  min-width: 0;
  padding: 40px;
}

.auth-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.auth-form-container {
  width: 100%;
  max-width: 360px;
}

.auth-label {
  margin-bottom: 18px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.error-box,
.success-box {
  position: relative;
  margin-bottom: 12px;
  padding: 10px 36px 10px 12px;
  border-radius: 8px;
  font-size: 13px;
}

.error-box {
  border: 1px solid rgba(239, 68, 68, .35);
  color: #b91c1c;
  background: rgba(239, 68, 68, .12);
}

.success-box {
  border: 1px solid rgba(22, 135, 101, .32);
  color: var(--green);
  background: var(--green-bg);
}

.error-box button,
.success-box button {
  position: absolute;
  top: 6px;
  right: 8px;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form .form-group {
  display: grid;
  gap: 5px;
}

.auth-form label,
.privacy {
  color: #475569;
  font-size: 13px;
}

.auth-form input[type="email"],
.auth-form input[type="text"],
.auth-form input[type="password"] {
  width: 100%;
  padding: 11px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  outline: 0;
  background: #f8fafc;
}

.auth-form input:focus {
  border-color: var(--accent-yellow);
  box-shadow: 0 0 0 3px rgba(0, 187, 227, .25);
}

.password-wrapper {
  position: relative;
}

.password-wrapper input {
  padding-right: 86px !important;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  border: 0;
  color: #1a3a5c;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.privacy {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.4;
}

.privacy input {
  margin-top: 2px;
}

.privacy a,
.auth-switch a {
  color: #1a3a5c;
  font-weight: 700;
  text-decoration: none;
}

.btn-login {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-yellow), #32d7f3);
  cursor: pointer;
  font-weight: 800;
}

.auth-switch {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  text-align: center;
}

.auth-info-side {
  position: relative;
  overflow: hidden;
  color: #e2e8f0;
  background: linear-gradient(135deg, #0d1b2a, #1a3a5c);
}

.auth-info-side::before,
.auth-info-side::after {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  content: "";
}

.auth-info-side::before {
  top: -80px;
  right: 42px;
  width: 260px;
  height: 260px;
}

.auth-info-side::after {
  bottom: 58px;
  left: 42px;
  width: 180px;
  height: 180px;
}

.auth-info-content {
  position: relative;
  z-index: 1;
}

.auth-info-content h1 {
  margin: 0 0 15px;
  color: #fff;
  font-size: 23px;
  line-height: 1.2;
  text-transform: uppercase;
}

.auth-info-content h1 span,
.auth-info-content .highlight {
  color: #32d7f3;
}

.auth-info-content p {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.6;
}

.auth-features {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.auth-features div {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}

.auth-features i {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #32d7f3;
}

.auth-footer {
  position: absolute;
  right: 20px;
  bottom: 18px;
  z-index: 1;
  color: #94a3b8;
  font-size: 11px;
}

.auth-result {
  width: min(420px, 100%);
  padding: 28px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 25px 60px rgba(0, 0, 0, .22);
}

.auth-result-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  text-decoration: none;
}

.auth-help {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.password-setup-panel {
  width: min(820px, 100%);
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
}

.password-setup-panel .auth-form-side,
.password-setup-panel .auth-info-side {
  padding: 34px;
}

.password-setup-panel .auth-form-container {
  max-width: 390px;
}

.password-setup-heading {
  margin-bottom: 18px;
}

.password-setup-heading h1 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: clamp(20px, 2.3vw, 25px);
  line-height: 1.15;
}

.password-setup-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.password-setup-account {
  display: grid;
  gap: 3px;
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.password-setup-account span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.password-setup-account strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 13px;
}

.password-setup-account small {
  color: var(--muted);
  font-size: 12px;
}

.password-requirements {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border-left: 3px solid var(--accent-yellow);
  border-radius: 0 8px 8px 0;
  background: #fffbeb;
}

.password-requirements strong {
  color: #92400e;
  font-size: 11px;
}

.password-requirements span {
  color: #78716c;
  font-size: 11px;
  line-height: 1.45;
}

.password-setup-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: #32d7f3;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.password-setup-info .auth-info-content h1 {
  font-size: 25px;
}

.password-setup-info .auth-info-content p .password-invite-highlight {
  color: #32d7f3;
  font-weight: 600;
}

.otp-input {
  text-align: center;
  font-size: 22px !important;
  font-weight: 800;
  letter-spacing: 6px;
}

.mfa-setup-panel {
  width: min(1120px, calc(100% - 32px));
  box-sizing: border-box;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
}

.mfa-setup-panel .auth-form-side,
.mfa-setup-panel .auth-info-side {
  padding: 34px;
}

.mfa-setup-container {
  max-width: 680px;
}

.mfa-setup-heading {
  margin-bottom: 14px;
}

.mfa-setup-heading h1 {
  display: inline-block;
  margin: 0 0 6px;
  padding-bottom: 3px;
  color: #12344a;
  font-size: clamp(20px, 2.3vw, 26px);
  line-height: 1.25;
}

.mfa-setup-heading p,
.mfa-manual-key p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.mfa-setup-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: mfa-step;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.mfa-setup-steps li {
  position: relative;
  min-height: 34px;
  padding: 7px 0 0 45px;
  counter-increment: mfa-step;
}

.mfa-setup-steps li::before {
  content: counter(mfa-step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(18, 111, 197, .2);
  border-radius: 50%;
  color: #126fc5;
  background: #eef7ff;
  font-size: 12px;
  font-weight: 800;
}

.mfa-enrollment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 24px;
  align-items: center;
  margin: 18px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(145deg, #fff 0%, #f7fbff 100%);
}

.mfa-enrollment-layout h2 {
  grid-column: 1;
  margin: 0;
  padding-left: 0;
  color: #126fc5;
  background: linear-gradient(120deg, #1259ad 0%, #168bc8 52%, #24bfd6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

.mfa-qr-wrap {
  display: flex;
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-content: center;
  margin: 0;
}

.mfa-qr-wrap img {
  width: min(230px, 100%);
  height: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.mfa-manual-key {
  margin: 0 0 16px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.mfa-manual-key summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.mfa-manual-key p {
  margin-top: 8px;
}

.mfa-manual-key code {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  overflow-wrap: anywhere;
}

.mfa-download-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: #49d4ee;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.mfa-download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  color: #071721;
  background: linear-gradient(120deg, #fff 0%, #c9f6ff 100%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.mfa-download-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, .22);
}

.auth-info-content .mfa-download-note {
  margin-top: 16px;
  color: #a9bdc9;
  font-size: 11px;
  line-height: 1.55;
}

.auth-login-logo {
  display: block;
  width: min(330px, 100%);
  height: auto;
  margin: 0;
  object-fit: contain;
  object-position: center;
}

.auth-login-showcase {
  display: flex;
  min-height: 530px;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  background:
    radial-gradient(circle at 72% 22%, rgba(50, 215, 243, .22), transparent 31%),
    radial-gradient(circle at 14% 88%, rgba(31, 109, 169, .38), transparent 34%),
    linear-gradient(145deg, #081722 0%, #102d42 52%, #173d59 100%);
}

.auth-login-showcase::before {
  top: -105px;
  right: -80px;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(105, 226, 246, .16);
  background: transparent;
  box-shadow: 0 0 70px rgba(50, 215, 243, .08) inset;
}

.auth-login-showcase::after {
  bottom: -125px;
  left: -95px;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .025);
}

.auth-login-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 330px;
  height: 330px;
  transform: translate(-50%, -54%);
  border-radius: 50%;
  background: rgba(32, 191, 218, .09);
  filter: blur(46px);
  pointer-events: none;
}

.auth-login-brand {
  display: flex;
  width: 100%;
  max-width: 370px;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.auth-login-logo-frame {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .095), rgba(255, 255, 255, .025));
  box-shadow: 0 24px 55px rgba(1, 12, 20, .26);
  backdrop-filter: blur(8px);
}

.auth-login-logo-frame::after {
  position: absolute;
  right: 18px;
  bottom: -1px;
  left: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(50, 215, 243, .8), transparent);
  content: "";
}

.auth-login-line {
  width: 42px;
  height: 3px;
  margin: 27px 0 20px;
  border-radius: 99px;
  background: linear-gradient(90deg, #08a9d3, #54e3f6);
  box-shadow: 0 0 18px rgba(50, 215, 243, .35);
}

.auth-info-content .auth-login-tagline {
  margin: 0;
  color: #f4fbfd;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -.01em;
  line-height: 1.35;
}

.auth-login-access-note {
  margin-top: 18px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  color: #9fb8c7;
  background: rgba(3, 16, 25, .2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.auth-login-panel-dark {
  position: relative;
  display: block;
  width: min(560px, 100%);
  min-height: 640px;
  padding: 34px 54px 30px;
  overflow: hidden;
  color: #e2e8f0;
  background:
    radial-gradient(circle at 82% 8%, rgba(50, 215, 243, .24), transparent 29%),
    radial-gradient(circle at 5% 92%, rgba(31, 109, 169, .4), transparent 34%),
    linear-gradient(145deg, #081722 0%, #102d42 52%, #173d59 100%);
  box-shadow: 0 30px 80px rgba(4, 18, 29, .34);
}

.auth-login-panel-dark::before,
.auth-login-panel-dark::after {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  content: "";
}

.auth-login-panel-dark::before {
  top: -150px;
  right: -125px;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(105, 226, 246, .16);
  box-shadow: 0 0 80px rgba(50, 215, 243, .08) inset;
}

.auth-login-panel-dark::after {
  bottom: -145px;
  left: -120px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .025);
}

.auth-login-dark-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 576px;
  align-items: center;
  flex-direction: column;
}

.auth-login-panel-dark .auth-login-glow {
  top: 24%;
  width: 420px;
  height: 420px;
}

.auth-login-panel-dark .auth-login-logo-frame {
  width: 100%;
  margin-bottom: 24px;
  padding: 22px 26px;
}

.auth-login-panel-dark .auth-login-logo {
  width: 100%;
}

.auth-login-form-card {
  width: 100%;
  padding: 28px 34px 30px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .095), rgba(255, 255, 255, .035));
  box-shadow: 0 24px 55px rgba(1, 12, 20, .24);
  backdrop-filter: blur(12px);
}

.auth-login-form-card .auth-form-container {
  max-width: none;
}

.auth-login-form-card .auth-label {
  color: #d9f7fc;
}

.auth-login-form-card .auth-login-form-kicker {
  display: block;
  width: fit-content;
  margin: 0 auto 18px;
  text-align: center;
}

.auth-login-form-card .auth-form label,
.auth-login-form-card .auth-help,
.auth-login-form-card .auth-switch {
  color: #c4d5df;
}

.auth-login-form-card .auth-switch a {
  color: #ffffff;
}

.auth-login-form-card .auth-form input[type="email"],
.auth-login-form-card .auth-form input[type="text"],
.auth-login-form-card .auth-form input[type="password"] {
  border-color: rgba(255, 255, 255, .18);
  color: #172126;
  background: rgba(255, 255, 255, .94);
}

.auth-login-form-card .btn-login {
  border: 1px solid rgba(94, 210, 232, .28);
  background: linear-gradient(135deg, #1a4b70 0%, #116480 55%, #087f9b 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    0 12px 26px rgba(2, 24, 38, .3);
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.auth-login-form-card .btn-login:hover {
  border-color: rgba(117, 225, 243, .48);
  background: linear-gradient(135deg, #215b84 0%, #16728e 55%, #0c91ad 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    0 16px 32px rgba(2, 24, 38, .36);
  transform: translateY(-1px);
}

.auth-login-panel-dark .auth-footer {
  position: static;
  margin-top: auto;
  padding-top: 22px;
  color: #8fa9b9;
  text-align: center;
}

@media (max-width: 600px) {
  .auth-login-panel-dark {
    min-height: auto;
    padding: 24px 20px 22px;
  }

  .auth-login-dark-content {
    min-height: 0;
  }

  .auth-login-panel-dark .auth-login-logo-frame {
    margin-bottom: 18px;
    padding: 18px 20px;
  }

  .auth-login-form-card {
    padding: 24px 20px 26px;
  }
}

/* Stile Athena Aurora - schermate di autenticazione */
.auth-aurora-panel {
  position: relative;
  isolation: isolate;
  color: #e2e8f0;
  background:
    radial-gradient(circle at 82% 12%, rgba(50, 215, 243, .24), transparent 30%),
    radial-gradient(circle at 8% 90%, rgba(31, 109, 169, .42), transparent 35%),
    linear-gradient(145deg, #081722 0%, #102d42 52%, #173d59 100%);
  box-shadow: 0 30px 80px rgba(4, 18, 29, .34);
}

.auth-aurora-panel::before,
.auth-aurora-panel::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  content: "";
}

.auth-aurora-panel::before {
  top: -145px;
  right: -105px;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(105, 226, 246, .16);
  box-shadow: 0 0 80px rgba(50, 215, 243, .08) inset;
}

.auth-aurora-panel::after {
  bottom: -155px;
  left: -115px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .025);
}

.auth-aurora-panel .auth-form-side {
  margin: 26px 0 26px 26px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .035));
  box-shadow: 0 24px 55px rgba(1, 12, 20, .24);
  backdrop-filter: blur(12px);
}

.auth-aurora-panel .auth-info-side {
  padding-top: 26px;
  background: transparent;
}

.auth-aurora-panel .auth-info-side::before,
.auth-aurora-panel .auth-info-side::after {
  display: none;
}

.auth-aurora-brand-frame {
  width: 100%;
  margin-bottom: 28px;
}

.auth-aurora-brand-frame .auth-login-logo {
  width: 100%;
  margin: 0 auto;
}

.auth-aurora-panel .mfa-enrollment-layout {
  border-color: rgba(255, 255, 255, .13);
  background:
    radial-gradient(circle at 88% 12%, rgba(50, 215, 243, .13), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .025));
  box-shadow: 0 18px 42px rgba(1, 12, 20, .18);
}

.auth-aurora-panel .mfa-enrollment-layout h2 {
  color: #f2fbfd;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.auth-aurora-panel .mfa-setup-steps {
  color: #c4d5df;
}

.auth-aurora-panel .mfa-setup-steps li::before {
  border-color: rgba(106, 220, 239, .3);
  color: #dffaff;
  background: rgba(13, 79, 105, .48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
}

.auth-aurora-panel .mfa-qr-wrap img {
  padding: 8px;
  border-color: rgba(255, 255, 255, .36);
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(1, 12, 20, .24);
}

.auth-aurora-panel .mfa-manual-key summary,
.auth-aurora-panel .mfa-manual-key p {
  color: #d9e7ee;
}

.auth-aurora-panel .mfa-manual-key code {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(117, 225, 243, .2);
  border-radius: 7px;
  color: #ffffff;
  background: rgba(3, 16, 25, .3);
  text-shadow: 0 0 12px rgba(50, 215, 243, .2);
}

.mfa-store-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.mfa-store-button {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
  color: #102435;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 28px rgba(1, 12, 20, .2);
  text-decoration: none;
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}

.mfa-store-button:hover {
  color: #102435;
  background: #ffffff;
  box-shadow: 0 16px 32px rgba(1, 12, 20, .28);
  transform: translateY(-1px);
}

.mfa-store-button img,
.mfa-store-button svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.mfa-store-button svg {
  fill: #111827;
}

.mfa-browser-download {
  width: 100%;
  box-sizing: border-box;
  margin-top: 10px;
}

.mfa-store-button span,
.mfa-store-button small {
  display: block;
}

.mfa-store-button span {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
}

.mfa-store-button small {
  margin-bottom: 2px;
  color: #5c6f7b;
  font-size: 9px;
  font-weight: 600;
}

.auth-aurora-panel .auth-label,
.auth-aurora-panel .password-setup-heading h1,
.auth-aurora-panel .mfa-setup-heading h1,
.auth-aurora-panel .mfa-enrollment-layout h2 {
  color: #f2fbfd;
}

.auth-aurora-panel .auth-form label,
.auth-aurora-panel .auth-help,
.auth-aurora-panel .auth-switch,
.auth-aurora-panel .privacy,
.auth-aurora-panel .password-setup-heading p {
  color: #c4d5df;
}

.auth-aurora-panel .auth-switch a,
.auth-aurora-panel .privacy a {
  color: #ffffff;
}

.auth-aurora-panel .auth-form input[type="email"],
.auth-aurora-panel .auth-form input[type="text"],
.auth-aurora-panel .auth-form input[type="password"] {
  border-color: rgba(255, 255, 255, .18);
  color: #172126;
  background: rgba(255, 255, 255, .94);
}

.auth-aurora-panel .btn-login,
.auth-aurora-result .btn-login {
  border: 1px solid rgba(94, 210, 232, .28);
  background: linear-gradient(135deg, #1a4b70 0%, #116480 55%, #087f9b 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    0 12px 26px rgba(2, 24, 38, .3);
}

.auth-aurora-panel .btn-login:hover,
.auth-aurora-result .btn-login:hover {
  border-color: rgba(117, 225, 243, .48);
  background: linear-gradient(135deg, #215b84 0%, #16728e 55%, #0c91ad 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    0 16px 32px rgba(2, 24, 38, .36);
  transform: translateY(-1px);
}

.auth-aurora-panel .password-setup-account,
.auth-aurora-panel .password-requirements,
.auth-aurora-panel .mfa-manual-key {
  border-color: rgba(255, 255, 255, .13);
  color: #d9e7ee;
  background: rgba(4, 22, 34, .22);
}

.auth-aurora-panel .password-setup-account span,
.auth-aurora-panel .password-setup-account small,
.auth-aurora-panel .password-requirements span {
  color: #aac0cd;
}

.auth-aurora-result {
  position: relative;
  width: min(520px, 100%);
  padding: 38px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  color: #e2e8f0;
  background:
    radial-gradient(circle at 82% 10%, rgba(50, 215, 243, .24), transparent 34%),
    linear-gradient(145deg, #081722 0%, #102d42 58%, #173d59 100%);
  box-shadow: 0 30px 80px rgba(4, 18, 29, .34);
}

.auth-aurora-result .auth-aurora-brand-frame {
  margin-bottom: 24px;
}

@media (max-width: 760px) {
  .auth-aurora-panel .auth-form-side {
    margin: 16px 16px 0;
  }

  .auth-aurora-panel .auth-info-side {
    min-height: 260px;
    padding-top: 20px;
  }

  .mfa-store-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .mfa-setup-panel {
    grid-template-columns: 1fr;
  }

  .mfa-enrollment-layout {
    grid-template-columns: 1fr;
  }

  .mfa-enrollment-layout h2 {
    grid-column: 1;
  }

  .mfa-qr-wrap {
    grid-column: 1;
    grid-row: auto;
  }
}

.company-entry {
  min-height: 100vh;
  padding: 28px;
  background: var(--bg);
}

.company-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.company-header {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding: 22px;
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  background: radial-gradient(circle at top, var(--bg-dark-soft), var(--bg-dark));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .18);
}

.company-welcome {
  display: flex;
  gap: 16px;
  align-items: center;
  min-width: 0;
}

.company-welcome img {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  object-fit: contain;
}

.company-header h1 {
  margin: 4px 0 8px;
  color: #fff;
  font-size: 32px;
}

.company-header p {
  max-width: 620px;
  margin: 0;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.55;
}

.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 18px;
}

.company-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.company-card h2 {
  margin-bottom: 16px;
}

.company-card-list {
  position: relative;
  overflow: visible;
  border-color: var(--line);
  color: var(--ink);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.company-card-list::before {
  content: none;
}

.company-card-list::after {
  content: none;
}

.company-card-list > * {
  position: relative;
  z-index: 1;
}

.company-card-list h2 {
  color: var(--ink);
}

.company-card-list .company-search .bi {
  color: var(--muted);
}

.company-card-list .company-search input {
  color: var(--ink);
  border-color: var(--line);
  background: #f8fafc;
}

.company-card-list .company-search input::placeholder {
  color: var(--muted);
}

.company-card-list .company-search input:focus {
  border-color: rgba(96, 165, 250, .65);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .16);
}

.company-card-head {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.company-card-head h2 {
  margin-bottom: 0;
}

.company-search {
  position: relative;
  width: min(240px, 44%);
}

.company-search .bi {
  position: absolute;
  top: 50%;
  left: 11px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.company-search input {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px 8px 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  background: #f8fafc;
  font-size: 13px;
}

.company-search input:focus {
  border-color: rgba(59, 130, 246, .55);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
}

.company-empty-search {
  display: none;
  margin-top: 12px;
}

.company-list {
  display: grid;
  min-width: 0;
  gap: 12px;
}

.company-row {
  position: relative;
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 11px 12px;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fbfcfd;
  z-index: 1;
  transition: color .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease, opacity .16s ease, transform .16s ease;
}

.company-row.is-saving {
  opacity: .72;
}

.company-row.is-saved {
  border-color: rgba(134, 239, 172, .45);
  box-shadow: inset 3px 0 0 #22c55e;
}

.company-modules-wrap {
  min-width: 0;
}

.company-modules-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.company-modules-heading > span {
  color: #475569;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.company-modules-heading small {
  color: #94a3b8;
  font-size: 10px;
  font-weight: 700;
}

.company-modules-heading small.is-saving {
  color: #008fb3;
}

.company-modules-heading small.is-saved {
  color: #15803d;
}

.company-modules-heading small.is-error {
  color: var(--red);
}

.company-modules {
  display: flex;
  gap: 8px;
}

.company-create-modules label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.company-module-toggle {
  display: inline-flex;
  min-width: 94px;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  transition: border-color .18s ease, background .18s ease;
}

.company-module-toggle:has(input:checked) {
  color: #166534;
  border-color: rgba(34, 197, 94, .42);
  background: #f0fdf4;
}

.company-module-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.company-module-switch {
  position: relative;
  width: 30px;
  height: 18px;
  flex: 0 0 30px;
  border-radius: 999px;
  background: #cbd5e1;
  transition: background .18s ease;
}

.company-module-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .24);
  transition: transform .18s ease;
}

.company-module-toggle input:checked + .company-module-switch {
  background: linear-gradient(135deg, #16a34a, #22c55e);
}

.company-module-toggle input:checked + .company-module-switch::after {
  transform: translateX(12px);
}

.company-module-toggle:focus-within {
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .14);
}

.company-create-modules input {
  accent-color: var(--accent-yellow);
}

.company-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.company-create-modules {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.company-create-modules legend {
  width: auto;
  margin: 0 0 4px;
  padding: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.company-card-description {
  margin: -8px 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.company-modal-open {
  overflow: hidden;
}

.company-create-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.company-create-modal[hidden] {
  display: none;
}

.company-create-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(15, 23, 42, .7);
  backdrop-filter: blur(4px);
  cursor: default;
}

.company-create-dialog {
  position: relative;
  z-index: 1;
  width: min(650px, 100%);
  max-height: calc(100vh - 40px);
  padding: 24px;
  overflow-y: auto;
  border: 1px solid #dbe3e8;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, .3);
}

.company-create-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.company-create-dialog-head h3 {
  margin: 4px 0 6px;
  color: var(--ink);
  font-size: 23px;
}

.company-create-dialog-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.company-create-kicker {
  color: #008fb3;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.company-create-close {
  display: inline-grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #f8fafc;
  cursor: pointer;
}

.company-create-close:hover {
  color: var(--ink);
  border-color: #cbd5e1;
  background: #f1f5f9;
}

.company-create-options {
  display: grid;
  gap: 12px;
}

.company-create-option {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, .55);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .78), rgba(241, 245, 249, .5));
  backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    0 8px 24px rgba(15, 23, 42, .07);
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
}

.company-create-option:hover {
  border-color: rgba(148, 163, 184, .4);
  background: rgba(255, 255, 255, .7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    0 12px 30px rgba(15, 23, 42, .1);
  transform: translateY(-1px);
}

.company-create-option:has(input:checked) {
  border-color: rgba(34, 197, 94, .42);
  background:
    linear-gradient(135deg, rgba(240, 253, 244, .88), rgba(220, 252, 231, .58));
  box-shadow:
    inset 3px 0 0 #22c55e,
    0 12px 28px rgba(22, 163, 74, .1);
}

.company-create-option input {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 18px;
  height: 18px;
  margin: 0;
  appearance: none;
  border: 1.5px solid #94a3b8;
  border-radius: 5px;
  outline: 0;
  background: rgba(255, 255, 255, .85);
  cursor: pointer;
  transform: translateY(-50%);
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.company-create-option input:checked {
  border-color: #16a34a;
  background:
    linear-gradient(135deg, #16a34a, #22c55e);
}

.company-create-option input:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.company-create-option input:focus-visible {
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .15);
}

.company-create-option-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 9px;
  color: #166534;
  background: #dcfce7;
  font-size: 19px;
}

.company-create-option strong,
.company-create-option small {
  display: block;
  padding-right: 24px;
}

.company-create-option strong {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 14px;
}

.company-create-option small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.company-create-error {
  margin: 12px 0 0;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}

.company-create-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.company-create-dialog-actions .btn-login {
  width: auto;
  margin: 0;
  padding-right: 18px;
  padding-left: 18px;
}

.company-row:hover,
.company-row:focus-within,
.company-row:has(.company-notification:hover),
.company-row:has(.company-notification:focus-visible) {
  z-index: 30;
}

.company-row:hover,
.company-row:focus-within {
  color: #ffffff;
  border-color: rgba(255, 255, 255, .16);
  background:
    linear-gradient(135deg, #0d1b2a, #1a3a5c);
  box-shadow: inset 3px 0 0 var(--accent-yellow), 0 10px 26px rgba(15, 23, 42, .18);
  transform: translateX(2px);
}

.company-option {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
  min-height: 36px;
  padding: 4px 6px;
}

.company-option strong {
  min-width: 0;
  color: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.company-card-list .empty-message {
  color: var(--muted);
}

.company-notification {
  position: relative;
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  cursor: default;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.company-notification .bi {
  font-size: 15px;
  line-height: 1;
}

.company-notification.is-empty {
  color: var(--muted);
  background: #f8fafc;
}

.company-row:hover .company-module-toggle,
.company-row:focus-within .company-module-toggle {
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .07);
}

.company-row:hover .company-module-toggle:has(input:checked),
.company-row:focus-within .company-module-toggle:has(input:checked) {
  color: #ffffff;
  border-color: rgba(74, 222, 128, .48);
  background: rgba(34, 197, 94, .18);
}

.company-row:hover .company-notification,
.company-row:focus-within .company-notification {
  color: #dbeafe;
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .07);
}

.company-notification-count {
  position: absolute;
  top: 3px;
  right: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  padding: 0;
  border: 1px solid var(--surface);
  border-radius: 999px;
  color: #ffffff;
  background: var(--red);
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.company-notification.is-empty .company-notification-count {
  color: #64748b;
  border-color: #64748b;
  background: #e2e8f0;
}

.company-notification-tooltip {
  position: absolute;
  top: calc(100% + 9px);
  right: -43px;
  z-index: 20;
  display: grid;
  gap: 7px;
  min-width: 184px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  color: #e5edf4;
  background:
    linear-gradient(135deg, rgba(59, 130, 246, .16), rgba(255, 255, 255, .06)),
    #172126;
  box-shadow: 0 14px 30px rgba(15, 23, 42, .18);
  font-size: 12px;
  line-height: 1.25;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .16s ease, transform .16s ease;
}

.company-notification-tooltip::before {
  content: "";
  position: absolute;
  top: -5px;
  right: 56px;
  width: 10px;
  height: 10px;
  background: #172126;
  border-left: 1px solid rgba(255, 255, 255, .14);
  border-top: 1px solid rgba(255, 255, 255, .14);
  transform: rotate(45deg);
}

.company-notification-tooltip strong {
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.company-notification-tooltip span {
  display: flex;
  min-height: 28px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, .05);
}

.company-notification-tooltip .company-notification-separator {
  display: block;
  min-height: 0;
  height: 1px;
  margin: 1px 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, .14);
}

.company-notification-tooltip em {
  font-style: normal;
  font-weight: 700;
}

.company-notification-tooltip b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, .14);
  font-weight: 800;
}

.company-notification:hover .company-notification-tooltip,
.company-notification:focus-visible .company-notification-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.company-enter {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), #fbbf24);
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.company-enter .bi {
  display: block;
  width: 1em;
  height: 1em;
  line-height: 1;
  transform: translateX(-.5px);
}

.company-enter:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #e0a500, #f59e0b);
}

.company-select-page .company-enter {
  background: linear-gradient(135deg, var(--accent-yellow), #32d7f3);
  box-shadow: 0 8px 18px rgba(0, 187, 227, .24);
}

.company-select-page .company-enter:hover {
  background: linear-gradient(135deg, #008fb3, var(--accent-yellow));
  box-shadow: 0 10px 22px rgba(0, 187, 227, .28);
}

.company-delete {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--red-bg);
  border-radius: 8px;
  color: var(--red);
  background: #fff7f6;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

.company-delete:hover {
  border-color: rgba(189, 59, 53, .35);
  background: var(--red-bg);
}

.company-option strong,
.company-option small {
  display: block;
  overflow-wrap: anywhere;
}

.company-option small,
.empty-message {
  color: var(--muted);
  font-size: 13px;
}

.empty-message {
  margin: 0;
}

@media (max-width: 1080px) {
  .app,
  .app.sidebar-collapsed {
    grid-template-columns: 1fr;
  }

  .app.sidebar-collapsed .sidebar {
    padding: 22px 14px;
  }

  .app.sidebar-collapsed .sidebar-header {
    justify-content: space-between;
    padding: 0 4px 26px 8px;
  }

  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(82vw, var(--sidebar-width));
    height: 100vh;
    transform: translateX(-100%);
  }

  .app.sidebar-open .sidebar {
    transform: translateX(0);
  }

  .app.sidebar-open .mobile-overlay {
    display: block;
  }

  .app.sidebar-collapsed .brand {
    display: flex;
  }

  .app.sidebar-collapsed .side-nav a {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    padding-right: 12px;
    padding-left: 12px;
  }

  .app.sidebar-collapsed .nav-label,
  .app.sidebar-collapsed .sidebar-footer {
    display: block;
    pointer-events: auto;
    opacity: 1;
    transform: none;
  }

  .app.sidebar-collapsed .nav-count {
    display: inline-flex;
    pointer-events: auto;
    opacity: 1;
    transform: none;
  }

  .app.sidebar-collapsed .nav-label,
  .app.sidebar-collapsed .nav-count {
    width: auto;
  }

  .mobile-menu-trigger {
    display: inline-grid;
  }

  .page-main,
  .intro-hero,
  main.container-fluid {
    padding-left: 72px !important;
  }

  .app-topbar,
  .app.sidebar-collapsed .app-topbar {
    left: 0;
    padding-left: 72px;
  }

  .sidebar-footer {
    position: static;
    margin-top: 18px;
  }

  .kpis,
  .panels,
  .lower {
    grid-template-columns: 1fr 1fr;
  }

  .toolbar {
    grid-template-columns: 1fr;
  }

  .document-repository-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .auth-backdrop {
    align-items: flex-start;
    padding: 16px;
  }

  .auth-panel {
    grid-template-columns: 1fr;
  }

  .auth-form-side,
  .auth-info-side {
    padding: 26px 20px;
  }

  .auth-info-side {
    min-height: 320px;
  }

  .password-setup-panel .auth-form-side,
  .password-setup-panel .auth-info-side {
    padding: 26px 20px;
  }

  .password-setup-panel .auth-info-side {
    min-height: 280px;
  }

  .company-entry {
    padding: 16px;
  }

  .company-header {
    display: grid;
    padding: 18px;
  }

  .company-welcome {
    align-items: flex-start;
  }

  .company-welcome img {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  .company-header h1 {
    font-size: 26px;
  }

  .company-grid {
    grid-template-columns: 1fr;
  }

  .company-card-head {
    display: grid;
  }

  .supplier-form-grid {
    grid-template-columns: 1fr;
  }

  .supplier-supply-grid,
  .supplier-manual-cpv-fields {
    grid-template-columns: 1fr;
  }

  .supplier-supply-actions .icon-action {
    margin-left: 0;
  }

  .assessment-split {
    grid-template-columns: 1fr;
  }

  .company-search {
    width: 100%;
  }

  .document-repository-header {
    align-items: flex-start;
  }

  .company-notification,
  .company-enter,
  .company-delete {
    width: 34px;
    height: 34px;
  }

  .company-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .company-option {
    grid-column: auto;
  }

  .company-modules-wrap {
    min-width: 0;
  }

  .company-modules {
    flex-wrap: wrap;
  }

  .company-module-toggle {
    flex: 1 1 120px;
  }

  .company-actions {
    justify-content: flex-end;
  }

  .company-create-dialog {
    padding: 20px;
  }

  .company-create-option {
    grid-template-columns: 1fr;
  }

  .company-create-dialog-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .company-create-dialog-actions .btn-login,
  .company-create-dialog-actions .btn-athena-outline {
    width: 100%;
  }

  .page-main {
    padding: 74px 18px 18px;
  }

  .content {
    padding-top: 74px;
  }

  .app-topbar {
    min-height: 56px;
    padding: 8px 10px 8px 72px;
  }

  .app-topbar-title {
    display: none;
  }

  .user-name {
    max-width: 118px;
  }

  .topbar {
    display: grid;
  }

  .actions {
    justify-content: stretch;
  }

  .actions .btn-athena,
  .actions .btn-athena-outline,
  .actions .btn-soft {
    flex: 1 1 160px;
  }

  .kpis,
  .panels,
  .lower {
    grid-template-columns: 1fr;
  }

  .donut-wrap {
    grid-template-columns: 1fr;
  }

  .event {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* New Athena logo assets */
.brand-mark {
  width: 128px;
  height: 52px;
  flex-basis: 128px;
}

.company-welcome img {
  width: 150px;
  height: 48px;
  flex: 0 0 150px;
}

.company-welcome img.company-logo-symbol {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
}

.toast-logo {
  width: 34px;
  height: 18px;
  object-fit: contain;
}

@media (max-width: 575px) {
  .company-welcome img {
    width: 118px;
    height: 34px;
    flex-basis: 118px;
  }

  .company-welcome img.company-logo-symbol {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }
}

/* Stile Athena Aurora - selezione azienda */
.company-aurora-page .company-entry {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  color: #e2e8f0;
  background: linear-gradient(145deg, #d7dde4 0%, #c9d2dc 52%, #e4e8ed 100%);
}

.company-aurora-page .company-entry::before,
.company-aurora-page .company-entry::after {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  content: "";
}

.company-aurora-page .company-entry::before {
  top: -165px;
  right: -120px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(105, 226, 246, .16);
  box-shadow: 0 0 90px rgba(50, 215, 243, .08) inset;
}

.company-aurora-page .company-entry::after {
  bottom: -170px;
  left: -130px;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .025);
}

.company-aurora-page .company-entry::before,
.company-aurora-page .company-entry::after {
  display: none;
}

.company-aurora-page .company-shell {
  position: relative;
  z-index: 1;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, .3);
  border-radius: 20px;
  background:
    radial-gradient(circle at 84% 8%, rgba(50, 215, 243, .2), transparent 27%),
    radial-gradient(circle at 6% 88%, rgba(31, 109, 169, .36), transparent 32%),
    linear-gradient(145deg, #081722 0%, #102d42 52%, #173d59 100%);
  box-shadow: 0 30px 80px rgba(4, 18, 29, .3);
}

.company-aurora-page .company-shell::before,
.company-aurora-page .company-shell::after {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  content: "";
}

.company-aurora-page .company-shell::before {
  top: -165px;
  right: -120px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(105, 226, 246, .16);
  box-shadow: 0 0 90px rgba(50, 215, 243, .08) inset;
}

.company-aurora-page .company-shell::after {
  bottom: -170px;
  left: -130px;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .025);
}

.company-aurora-page .company-shell > * {
  position: relative;
  z-index: 1;
}

.company-aurora-page .company-header,
.company-aurora-page .company-card {
  border: 1px solid rgba(203, 213, 225, .24);
  border-radius: 18px;
  color: #e2e8f0;
  background: linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .035));
  box-shadow: 0 24px 55px rgba(1, 12, 20, .24);
  backdrop-filter: blur(12px);
}

.company-aurora-page .company-header {
  background:
    radial-gradient(circle at 86% 12%, rgba(50, 215, 243, .13), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, .105), rgba(255, 255, 255, .035));
}

.company-aurora-page .company-header h1,
.company-aurora-page .company-card h2 {
  color: #f4fbfd;
}

.company-aurora-page .company-welcome-title {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.company-aurora-page .company-welcome-title img.company-logo-aurora {
  width: 240px;
  height: 64px;
  flex: 0 0 240px;
  object-fit: contain;
  object-position: left center;
}

.company-aurora-page .company-header p,
.company-aurora-page .company-card-description,
.company-aurora-page .company-card .empty-message {
  color: #aec2ce;
}

.company-aurora-page .company-header .btn-athena-outline {
  border-color: rgba(255, 255, 255, .16);
  color: #ffffff;
  background: rgba(255, 255, 255, .06);
}

.company-aurora-page .company-header .btn-athena-outline:hover {
  border-color: rgba(117, 225, 243, .42);
  color: #ffffff;
  background: rgba(50, 215, 243, .1);
}

.company-aurora-page .company-card-list {
  border-color: rgba(255, 255, 255, .13);
  color: #e2e8f0;
  background: linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .035));
  box-shadow: 0 24px 55px rgba(1, 12, 20, .24);
}

.company-aurora-page .company-card-list h2 {
  color: #f4fbfd;
}

.company-aurora-page .company-list-title {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.company-aurora-page .company-total-badge {
  display: inline-flex;
  min-width: 28px;
  min-height: 25px;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  color: #9fb8c7;
  background: rgba(3, 16, 25, .2);
  box-shadow: none;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .07em;
  line-height: 1;
}

.company-aurora-page .company-search input,
.company-aurora-page .company-card > .auth-form input[type="text"] {
  border-color: rgba(255, 255, 255, .18);
  color: #172126;
  background: rgba(255, 255, 255, .94);
}

.company-aurora-page .company-search input::placeholder,
.company-aurora-page .company-card > .auth-form input[type="text"]::placeholder {
  color: #70818b;
}

.company-aurora-page .company-row {
  border-color: rgba(255, 255, 255, .11);
  color: #e7f1f5;
  background: rgba(4, 22, 34, .28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}

.company-aurora-page .company-row:hover,
.company-aurora-page .company-row:focus-within {
  border-color: rgba(117, 225, 243, .24);
  background: linear-gradient(135deg, rgba(17, 72, 103, .86), rgba(14, 52, 76, .9));
  box-shadow: inset 3px 0 0 #32d7f3, 0 12px 28px rgba(1, 12, 20, .24);
}

.company-aurora-page .company-module-toggle {
  border-color: rgba(255, 255, 255, .12);
  color: #dce9ef;
  background: rgba(255, 255, 255, .065);
}

.company-aurora-page .company-module-toggle:has(input:checked) {
  border-color: rgba(74, 222, 128, .38);
  color: #dcfce7;
  background: rgba(34, 197, 94, .14);
}

.company-aurora-page .company-card > .auth-form .btn-login {
  border: 1px solid rgba(94, 210, 232, .28);
  background: linear-gradient(135deg, #1a4b70 0%, #116480 55%, #087f9b 100%);
  box-shadow: 0 12px 26px rgba(2, 24, 38, .3);
}

.company-aurora-page .company-card > .auth-form .btn-login:hover {
  border-color: rgba(117, 225, 243, .48);
  background: linear-gradient(135deg, #215b84 0%, #16728e 55%, #0c91ad 100%);
  transform: translateY(-1px);
}

.company-aurora-page .company-enter {
  border: 1px solid rgba(94, 210, 232, .28);
  background: linear-gradient(135deg, #1a4b70 0%, #116480 55%, #087f9b 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    0 10px 22px rgba(2, 24, 38, .3);
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.company-aurora-page .company-enter:hover {
  border-color: rgba(117, 225, 243, .48);
  background: linear-gradient(135deg, #215b84 0%, #16728e 55%, #0c91ad 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    0 14px 28px rgba(2, 24, 38, .36);
  transform: translateY(-1px);
}

body.company-aurora-page.company-modal-open .company-shell {
  overflow: visible;
}

body.company-aurora-page.company-modal-open .company-card:has(.company-create-modal) {
  backdrop-filter: none;
}

@media (max-width: 760px) {
  .company-aurora-page .company-shell {
    padding: 16px;
    border-radius: 16px;
  }

  .company-aurora-page .company-header,
  .company-aurora-page .company-card {
    border-radius: 14px;
  }

  .company-aurora-page .company-welcome-title {
    gap: 10px;
  }

  .company-aurora-page .company-welcome-title img.company-logo-aurora {
    width: 180px;
    height: 50px;
    flex-basis: 180px;
  }
}

/* Variante reversibile: Sidebar Athena Aurora */
.sidebar {
  border-right-color: rgba(105, 226, 246, .14);
  background:
    radial-gradient(circle at 18% 4%, rgba(50, 215, 243, .13), transparent 25%),
    radial-gradient(circle at 105% 68%, rgba(31, 109, 169, .24), transparent 35%),
    linear-gradient(160deg, #0a1722 0%, #112a40 52%, #0c2030 100%);
  box-shadow: 20px 0 55px rgba(2, 15, 24, .24), inset -1px 0 0 rgba(255, 255, 255, .035);
}

.sidebar::before {
  inset: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .055), transparent 28%),
    radial-gradient(circle at 50% 34%, rgba(50, 215, 243, .04), transparent 34%);
}

.sidebar::after {
  top: -82px;
  right: -88px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(105, 226, 246, .16);
  background: rgba(50, 215, 243, .025);
  box-shadow: 0 0 55px rgba(50, 215, 243, .07) inset;
}

.sidebar-header {
  border-bottom-color: rgba(143, 222, 236, .11);
}

.sidebar-toggle {
  border-color: rgba(143, 222, 236, .17);
  background: linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  backdrop-filter: blur(10px);
}

.sidebar-toggle:hover {
  border-color: rgba(105, 226, 246, .3);
  background: rgba(50, 215, 243, .13);
  box-shadow: 0 8px 20px rgba(1, 12, 20, .2);
}

.side-nav a {
  border-color: transparent;
  color: #b9cbd5;
  background: transparent;
}

.side-nav a.active,
.side-nav a:hover {
  border-color: rgba(105, 226, 246, .15);
  color: #ffffff;
  background: linear-gradient(135deg, rgba(50, 215, 243, .15), rgba(255, 255, 255, .045));
  box-shadow: inset 3px 0 0 #32d7f3, inset 0 1px 0 rgba(255, 255, 255, .045), 0 10px 24px rgba(1, 12, 20, .2);
  backdrop-filter: blur(10px);
}

.side-nav a.active .bi,
.side-nav a:hover .bi {
  color: #70e5f6;
  filter: drop-shadow(0 0 7px rgba(50, 215, 243, .28));
}

.nav-count {
  border-color: rgba(105, 226, 246, .16);
  background: rgba(50, 215, 243, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.sidebar-contact-card {
  border-color: rgba(105, 226, 246, .12);
  background: linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045), 0 16px 32px rgba(1, 12, 20, .2);
  backdrop-filter: blur(12px);
}

.sidebar-contact-button {
  border-color: rgba(105, 226, 246, .12);
  background: rgba(4, 22, 34, .2);
}

.sidebar-contact-button:hover {
  border-color: rgba(105, 226, 246, .25);
  background: rgba(50, 215, 243, .1);
}
