/*
 * Override skin style
 * ----------
 */
  a {
    color: #7767da;
  }
  a:hover {
    color: #1F1172;
  }
  .skin-opencve .sidebar a {
    color: #bfc5c6;
  }
  .skin-opencve .main-header .navbar {
    background-color: #fff;
    border-bottom: 1px solid #dcdcdc;
  }
  .skin-opencve .main-header .navbar .sidebar-toggle:hover {
    background-color: #fff;
  }

  .skin-opencve .main-header .navbar .sidebar-toggle {
    color: #253841;
    display: none;
  }

  .skin-opencve .main-header .navbar .sidebar-toggle:hover,
  .skin-opencve .main-header .navbar .sidebar-toggle:focus {
    color: #090031;
    background-color: #f5f5f5;
  }

  .skin-opencve .main-header .navbar .navbar-title {
    font-size: 24px;
    float: left;
    margin: 12px;
  }

  @media (max-width: 767px) {
    .skin-opencve .main-header .navbar .sidebar-toggle {
      display: block;
    }
  }

  .skin-opencve .main-header .navbar .navbar-title i {
    font-size: 16px;
  }

  .skin-opencve .main-header .navbar .navbar-new-badge {
    display: inline-block;
    margin-left: 5px;
    padding: 1px 5px;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #7767da;
    background-color: rgba(119, 103, 218, 0.12);
    border-radius: 3px;
    vertical-align: middle;
  }

  .skin-opencve .main-header .navbar .nav > li > a:hover .navbar-new-badge,
  .skin-opencve .main-header .navbar .nav > li > a:focus .navbar-new-badge,
  .skin-opencve .main-header .navbar .nav > li > a:active .navbar-new-badge {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.18);
  }

  .skin-opencve .main-header .navbar .navbar-title a.navbar-title-cve-link {
    color: inherit;
    text-decoration: none;
  }

  .skin-opencve .main-header .navbar .navbar-title a.navbar-title-cve-link:hover,
  .skin-opencve .main-header .navbar .navbar-title a.navbar-title-cve-link:focus {
    color: #1F1172;
    text-decoration: none;
  }

  .skin-opencve .main-header .logo {
    background-color: #090031;
  }
  .skin-opencve .main-header .logo:hover {
    background-color: #090031;
  }
  .skin-opencve .main-header li.user-header {
    background-color: #090031;
  }
  .skin-opencve .box.box-primary,
  .skin-opencve .box.box-info {
    border: 1px solid #e5e5e9;
    border-radius: 3px;
    box-shadow: none;
  }
  .skin-opencve .box.box-primary > .box-header,
  .skin-opencve .box.box-info > .box-header {
    border-bottom: 1px solid #eef1f5;
  }
  .skin-opencve .box > .box-header .box-title {
    color: #444;
    font-size: 16px;
    font-weight: 400;
  }
  .skin-opencve .sidebar-menu>li>.treeview-menu {
    background: #2e235d;
}
  .box-subscriptions .label {
    line-height: 25px;
    font-size: 85%;
    font-weight: 600;
  }
  .bg-blue{
    background-color: #5648D8 !important;
  }
  .bg-primary {
    background-color: #5648D8;
  }
  .btn-primary {
    color: #fff;
    background-color: #5648D8;
    border: 1px solid #5648D8;
  }
  .btn-primary:hover,
  .btn-primary:focus,
  .btn-primary:active {
    background-color: #090031 !important;
  }

  .btn.btn-primary.btn-primary-outline,
  a.btn.btn-primary.btn-primary-outline,
  button.btn.btn-primary.btn-primary-outline,
  input.btn.btn-primary.btn-primary-outline {
    background-color: #fff;
    border-color: #c4b5fd;
    color: #5648d8;
    font-weight: 500;
  }

  .btn.btn-primary.btn-primary-outline:hover,
  .btn.btn-primary.btn-primary-outline:focus,
  .btn.btn-primary.btn-primary-outline:active,
  a.btn.btn-primary.btn-primary-outline:hover,
  a.btn.btn-primary.btn-primary-outline:focus,
  a.btn.btn-primary.btn-primary-outline:active,
  button.btn.btn-primary.btn-primary-outline:hover,
  button.btn.btn-primary.btn-primary-outline:focus,
  button.btn.btn-primary.btn-primary-outline:active,
  input.btn.btn-primary.btn-primary-outline:hover,
  input.btn.btn-primary.btn-primary-outline:focus,
  input.btn.btn-primary.btn-primary-outline:active {
    background-color: #f5f3ff !important;
    border-color: #5648d8 !important;
    color: #5648d8 !important;
  }

  .btn.btn-default.btn-default-outline,
  button.btn.btn-default.btn-default-outline {
    background-color: #fff;
    border-color: #e2e6ea;
    color: #5c6570;
    font-weight: 500;
  }

  .btn.btn-default.btn-default-outline:hover,
  .btn.btn-default.btn-default-outline:focus,
  .btn.btn-default.btn-default-outline:active,
  button.btn.btn-default.btn-default-outline:hover,
  button.btn.btn-default.btn-default-outline:focus,
  button.btn.btn-default.btn-default-outline:active {
    background-color: #f8f9fb !important;
    border-color: #cfd4da !important;
    color: #1f2d3d !important;
  }

  .btn-social>:first-child {
    line-height: inherit;
  }

  .btn-social {
    border: 1px solid rgba(0,0,0,0.2);
    color: #2e2e2e;
  }

  .social-auth-links p {
    margin: 20px 0px;
  }

  .social-auth-links form {
    margin-bottom: 10px;
  }

  .btn-social img {
    width: 18px;
  }

  .box-header button.subscribe {
    margin-left: 10px;
  }

  .badge-primary {
    background-color: #090031;
  }

  .report-changes-count .badge-purple-light {
    background-color: #ede9fc;
    color: #1F1172;
  }

  .report-changes-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    line-height: 1.4;
  }

  .report-changes-count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
  }

  .report-changes-cvss {
    margin-left: auto;
    text-align: right;
  }

  .report-changes-cvss .label {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    margin-right: 4px;
    padding: 3px 8px;
  }

  .report-changes-excerpt {
    display: block;
    margin-top: 4px;
    line-height: 1.4;
  }

  .last-reports-widget th,
  .last-reports-widget td {
    font-size: 13px;
  }

  .last-reports-widget th {
    font-size: 12px;
  }

  .last-reports-widget .report-changes-cvss {
    margin-left: 0;
  }

  .last-reports-widget .report-changes-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .bg-light-blue, .label-primary, .modal-primary .modal-body {
    background-color: #5842DF !important;
  }

  a.label-primary:hover, button.btn-primary:hover {
    background-color: #1F1172 !important;
  }

  .center {
    text-align: center;
  }
  .load-more {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .no-padding {
    padding: 0 !important;
  }
  .no-margin-bottom {
    margin-bottom: 0px !important;
  }
  .pointer {
    cursor: pointer;
  }
  .alert {
    border-radius: 0;
  }
  .terms {
    font-style: italic;
  }
  .text-dotted {
    text-decoration: none;
    border-bottom: dotted 1px;
  }

  .profile-picture {
    padding: 10px;
    text-align: center;
    margin-left: -1px;

  }
  .profile-picture .img-thumbnail {
    padding: 1px;
  }
  .profile-picture h3 {
    color: white;
  }

  .nav-tabs-primary > .nav-tabs > li.active {
    border-top-color: #090031;
  }
  .nav-tabs-primary > .nav-tabs > li.header {
    font-size: 16px;
  }
  .nav-tabs-profile > .nav-tabs > li.active {
    border-top: 0px;
    border-bottom: 2px solid #5648d8;
  }
  .nav-tabs-profile > .nav-tabs > li > a {
    color: #5c6570;
  }
  .nav-tabs-profile > .nav-tabs > li > a:hover,
  .nav-tabs-profile > .nav-tabs > li > a:focus {
    color: #4538c4;
  }
  .nav-tabs-profile > .nav-tabs > li.active > a,
  .nav-tabs-profile > .nav-tabs > li.active > a:hover,
  .nav-tabs-profile > .nav-tabs > li.active > a:focus {
    border-left: none;
    border-right: none;
    color: #5648d8;
  }
  .opencve-nav-tabs > li.active > a,
  .opencve-nav-tabs > li.active > a:focus,
  .opencve-nav-tabs > li.active > a:hover {
    cursor: pointer;
  }

  .nav-tabs-settings > .tab-content {
    min-height: 400px;
  }

  .nav-tabs-settings .tab-content h3 {
    border-bottom: 1px solid #d9d9d9;
    padding-bottom: 10px;
    margin-bottom: 15px;
  }

  .table td.no-bordered {
    border-top: 0;
  }

  .dropcap {
    color: #090031;
    display: block;
    float: left;
    font-size: 3.1em;
    font-weight: 400;
    line-height: 36px;
    margin-right: 6px;
    text-shadow: none;
}
.text-small-12 {
  font-size: 12px;
}

.text-small-14 {
  font-size: 14px;
}

.panel-group-cvss {
  margin-bottom: 10px;
}

.panel-group-cvss .panel-title {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-group-cvss .panel-title .panel-title-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.panel-group-cvss .panel-title .pull-right {
  flex-shrink: 0;
}

.label-cvss {
  text-align: right;
  margin-left: 10px;
}

.cvss-radar {
    height: 200px;
}

.table .td-ellipsis {
  max-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.has-search {
    position: relative;
}

.form-control-feedback {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}
.table .td-break {
  max-width: 0;
  word-wrap: break-word;
}

.table td.rowspaned {
  vertical-align : middle;
  text-align:center;
  background-color: #ddd;
  font-weight: bold;
}

.table-configuration td.and {
  padding-top: 0px;
  padding-bottom: 0px;
  border-top: 0px;
}

.table .td-grouper {
    background-color: #ddd;
}

.tabs-report {
  border-radius: 3px;
  border-top: 3px solid #090031!important;
}

.tabs-report h3 {
    margin-bottom: 20px;
}

.tabs-vertical-env {
  background-color: #eeeeee;
  margin-bottom: 30px;
}
.tabs-vertical-env .tab-content {
  background: #ffffff;
  display: table-cell;
  margin-bottom: 30px;
  padding: 30px;
  vertical-align: top;
}
.tabs-vertical-env .nav.tabs-vertical {
  display: table-cell;
  min-width: 120px;
  vertical-align: top;
  width: 150px;
}
.tabs-vertical-env .nav.tabs-vertical li.active > a {
  background-color: #ffffff;
  border: 0;
}
.tabs-vertical-env .nav.tabs-vertical li > a {
  color: #333333;
  text-align: center;
  white-space: nowrap;
}

.report-change-title {
    font-size: 16px;
    padding-bottom: 5px;
    border-bottom: 1px solid #e8e5e5;
}

.report-cve {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 3px;
    margin-bottom: 20px;
}

.table-events {
    table-layout: fixed;
    word-wrap: break-word;
}

.error-page {
  margin-top: 50px;
}

.error-page .headline {
  margin-top: -20px;
}

.g-recaptcha > div:first-of-type {
  margin: 0 auto;
}

h1 .label {
  margin-left: 5px;
}

.btn-json-diff {
  margin-left: 6px;
  color: #97a0b3;
  font-size: 15px;
}

.diff_header {background-color:#e0e0e0; width: 10px;}
td.diff_header {text-align:right}
.diff_next {display: none;}
.diff_add {background-color:#ccffd8}
.diff_chg {background-color:#fff1b3}
.diff_sub {background-color:#ffaaaa}
.table-diff {width: 100%; border-collapse: collapse;}
.table-diff > tbody > tr > td,
.table-diff > tbody > tr > th,
.table-diff > tfoot > tr > td,
.table-diff > tfoot > tr > th,
.table-diff > thead > tr > td,
.table-diff > thead > tr > th {
    border-top: 0px;
    padding: 3px;
}
.table-diff > tbody > tr {
    line-height: 14px;
    height: 14px;
}
td.break { word-wrap: break-word; max-width: 1px; }

/*
 * RainbowJSON style
 * ----------
 */

.rainbowJSON{
	font-size: 13px;
	line-height: 18px;
	font-family: 'Droid Sans Mono', 'DejaVu Sans', courier, monospace;
	margin-top: 10px;
}
.rainbowJSON > a{ color: #999; font-size: 12px; text-decoration: none; }
.rainbowJSON > a:hover{ color: #333; }

.formattedJSON{
	margin: 10px 0 0 0;
	padding: 10px;
	background: #F5FAFF;
	border-left: 3px solid #007AC6;
	color: #333;
	font-size: 13px;
	word-wrap: break-word;
}

pre.plainJSON{
	display: none;
	max-width: 100%;
	word-wrap: break-word;
	margin: 10px 0 0 0;
	font-family: 'Droid Sans Mono', 'DejaVu Sans', courier, monospace;
}

.formattedJSON div div{ margin: 0 20px; }
.formattedJSON span.rainbowArray{ display: block; }

.formattedJSON .rainbowType{ color: #777; }
.formattedJSON .rainbowValue{ color: #9CBF24; }
.formattedJSON .rainbowValue.string{ color: #FD7A1F; }
.formattedJSON .rainbowValue.boolean{ color: #54B21A; }
.formattedJSON .rainbowValue.number{ color: #C300EA; }
.formattedJSON .rainbowEmpty{ color: #ccc; }
.formattedJSON .rainbowEmpty:hover{ color: #777; }
.formattedJSON .rainbowToggle{ font-size: 15px; }

.formattedJSON a{ color: #999; text-decoration: none; }
.formattedJSON a:hover{ color: #444; }

/* CVSS severity labels — soft bordered pills (listings, reports, widgets, summary).
   !important beats AdminLTE .label-info/.label-warning/.label-danger background rules. */
.label.label-info {
  background-color: #eef6fc !important;
  border: 1px solid #c5e0f5 !important;
  color: #2a6a9a !important;
  font-weight: 500;
}

.label.label-warning {
  background-color: #fff8e6 !important;
  border: 1px solid #f0d490 !important;
  color: #9a7209 !important;
  font-weight: 500;
}

.label.label-danger {
  background-color: #fdecea !important;
  border: 1px solid #f0b8b0 !important;
  color: #b03a2e !important;
  font-weight: 500;
}

.label.label-critical {
  background-color: #f8e8e6 !important;
  border: 1px solid #e09890 !important;
  color: #87281a !important;
  font-weight: 500;
}

.label.label-info,
.label.label-warning,
.label.label-danger,
.label.label-critical {
  border-radius: 4px;
  display: inline-block;
  font-size: 12px;
  line-height: 1.3;
  padding: 3px 8px;
  vertical-align: middle;
  white-space: nowrap;
}

.bg-critical {
  background-color: #87281a;
  color: #fff;
}

.opencve-cve-detail-weakness-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.opencve-cve-detail-weakness-list > li + li {
  border-top: 1px solid #f0f0f0;
  margin-top: 12px;
  padding-top: 12px;
}

.opencve-cve-detail-weakness-list .cwe-name {
  margin: 4px 0 0;
}

#table-weaknesses .cwe-column {
  white-space: nowrap;
  width: 1%;
}

#table-weaknesses .actions-column {
  white-space: nowrap;
}

#table-weaknesses .actions-column .btn-group {
  display: inline-flex;
  flex-wrap: nowrap;
}

#table-weaknesses .actions-column .btn-group > .btn {
  float: none;
}

.tags-list a {
  line-height: 25px;
  font-weight: 600;
  font-size: 85%;
}

.label-tag {
  color: #fff;
  font-size: 85%;
  font-weight: 600;
  display: inline-block;
  margin: 1px;
}

.row-selected {
  background-color: #87cefa !important;
  font-weight: bold;
}

.preview-tag {
  margin-left: 20px;
}

.bg-opencve {
  background-color: #090031 !important;
}

.timeline,
.timeline > li,
.timeline-item {
  margin-right: 0px !important;
}

.timeline > li > .timeline-item > .time {
  font-size: 14px;
}

.timeline-inverse>li>.timeline-item {
    background-color: #f9f9f9;
}

.timeline-cve-summary {
  overflow:hidden;
  line-height: 2rem;
  max-height: 8rem;
  -webkit-box-orient: vertical;
  display: block;
  display: -webkit-box;
  overflow: hidden !important;
  text-overflow: ellipsis;
  -webkit-line-clamp: 4;
}

.box-group > .box-changes {
  border: 1px solid #d2d2d2 !important;
}

.box-group > .box {
  margin-bottom: 8px;
}

.box-title {
  display: block !important;
}

.box-meta {
  float: right;
  color: #757575;
  font-size: 15px;
}

.box-meta > i {
  margin-left: 20px;
}

.box-meta > i.fa {
  padding-right: 5px;
  font-size: 12px;
  background: transparent;
  color: #97a0b3;
}

.box.box-changes > .box-header .box-title {
  font-size: 14px;
  font-weight: 400;
}

.box-changes .box-title .box-meta {
  font-size: 14px;
}

.change-collapsed[aria-expanded=true] .fa-arrow-circle-o-down,
.change-collapsed[aria-expanded=true] .fa-plus {
  display: none;
}
.change-collapsed[aria-expanded=false] .fa-arrow-circle-o-up,
.change-collapsed[aria-expanded=false] .fa-minus {
  display: none;
}

.source-logo {
    float: left;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    margin-right: 10px;
}

.provider-icon {
    width: 40px;
    margin-right: 5px;
}

.icon i.fa {
    font-size: 60px;
}

.small-box .icon {
    top: -20px;
}

.project-header {
    padding: 1px;
    text-align: center;
    margin-left: -1px;
}

.project-header h3 {
    color: white;
    margin: 20px 0;
}

.project-header p {
    color: white;
    font-style: italic;
}

.project-assignment-item {
  margin-top: 5px;
  margin-bottom: 10px;
}

.project-assignment-item-header {
  margin-bottom: 8px;
}

.project-assignment-item-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.project-assignment-item hr {
  margin-top: 10px;
  margin-bottom: 0px;
}

.widget-user .widget-user-header {
    text-align: center;
}

.alert.alert-info {
    background-color: #E3F2FF !important;
    border-color: #478BCA;
    color: #00315F !important;
}

.alert.alert-info p,
.alert.alert-info a {
    color: #00315F;
}

.alert.alert-error {
    background-color: #FFEBED !important;
    border-color: #E13238;
    color: #4B1113 !important;
}

.alert.alert-error p,
.alert.alert-error a {
    color: #4B1113;
}

.alert.alert-success {
    background-color: #E6F7E5 !important;
    border-color: #009400;
    color: #003100 !important;
}

.alert.alert-success p,
.alert.alert-success a {
    color: #003100;
}

.alert.alert-warning {
    background-color: #FFF3E0 !important;
    border-color: #FF9800;
    color: #E65100 !important;
}

.alert.alert-warning p,
.alert.alert-warning a {
    color: #E65100;
}

/* Information callouts — soft bordered banners with icon */
.callout {
  align-items: center;
  border: 1px solid;
  border-left-width: 1px !important;
  border-radius: 6px;
  display: flex;
  gap: 12px;
  margin: 0 0 16px;
  padding: 14px 16px;
}

.callout::before {
  display: block;
  flex-shrink: 0;
  font-family: FontAwesome;
  font-size: 18px;
  font-weight: normal;
  line-height: 1;
  width: 18px;
  text-align: center;
}

.callout p {
  flex: 1 1 auto;
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.callout.callout-info {
  background-color: #f8f7ff !important;
  border-color: #c4b5fd !important;
  color: #5648d8 !important;
}

.callout.callout-info::before {
  color: #5648d8;
  content: "\f05a";
}

.callout.callout-info p,
.callout.callout-info a {
  color: #5648d8;
}

.callout.callout-info a {
  font-weight: 500;
  text-decoration: underline;
}

.callout.callout-info a:hover,
.callout.callout-info a:focus {
  color: #4538c4;
}

.callout.callout-warning {
  background-color: #fffbeb !important;
  border-color: #fcd34d !important;
  color: #b45309 !important;
}

.callout.callout-warning::before {
  color: #b45309;
  content: "\f071";
}

.callout.callout-warning p,
.callout.callout-warning a {
  color: #b45309;
}

.callout.callout-warning a {
  font-weight: 500;
  text-decoration: underline;
}

.callout.callout-warning a:hover,
.callout.callout-warning a:focus {
  color: #92400e;
}

.callout.callout-error {
  background-color: #fef2f2 !important;
  border-color: #fca5a5 !important;
  color: #b91c1c !important;
}

.callout.callout-error::before {
  color: #b91c1c;
  content: "\f057";
}

.callout.callout-error p,
.callout.callout-error a {
  color: #b91c1c;
}

.callout.callout-success {
  background-color: #f0fdf4 !important;
  border-color: #86efac !important;
  color: #15803d !important;
}

.callout.callout-success::before {
  color: #15803d;
  content: "\f058";
}

.callout.callout-success p,
.callout.callout-success a {
  color: #15803d;
}

.callout.callout-note {
  background-color: #f9fafb !important;
  border-color: #e5e5e9 !important;
  color: #444 !important;
  display: block;
}

.callout.callout-note::before {
  content: none;
  display: none;
}

.subscribed-projects .checkbox {
    margin-top: 0;
    margin-bottom: 0;
}

.users-list > li {
    width: unset;
    padding: 0;
    margin-right: 10px;
    margin-bottom: 10px;
}

.form-new-member .form-group,
.form-new-member input.form-control,
.form-new-member select.form-control {
  width: 100%
}

.form-new-member .select2-container {
  width: 100% !important;
}

.form-new-member .new-member-role-help {
  margin-top: 12px;
}

.form-new-member .new-member-role-help .help-block {
  margin-bottom: 0;
}

.page-header {
    margin-top: 25px;
    border-bottom: 1px solid #ddd;
}

.onboarding {
  background-size: 3em 3em;
  background-color: #010123;
  opacity: 1
 }

.onboarding-wrapper {
  max-width: 550px;
  margin: 0 auto;
  margin-top: 6%;
}

.onboarding-content {
  border: 0;
  border-radius: 4px;
  width: 100%;
  box-shadow: 0 0 0 1px #00000014;
  padding: 50px;
  padding-top: 20px;
  background-color: #fff;
}

.onboarding-logo {
  text-align: center;
  margin: 25px 0;
}

.onboarding-description {
  margin: 25px 0;
}

.onboarding-description h1 {
  font-weight: 600;
  color: #1a1071;
}

.pending-invitations-box {
  margin-bottom: 30px;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
}

/* Onboarding stepper */
.onboarding-stepper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin: 30px auto;
  padding: 0 10px;
  max-width: 520px;
  width: 100%;
}

.onboarding-stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}

.onboarding-stepper-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #ddd;
  background-color: #fff;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.onboarding-stepper-step-active .onboarding-stepper-circle {
  border-color: #5648D8;
  background-color: #5648D8;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(86, 72, 216, 0.25);
}

.onboarding-stepper-step-completed .onboarding-stepper-circle {
  border-color: #5648D8;
  background-color: #5648D8;
  color: #fff;
}

.onboarding-stepper-label {
  font-weight: 600;
  color: #253841;
  font-size: 13px;
  text-align: center;
}

.onboarding-stepper-step:not(.onboarding-stepper-step-active):not(.onboarding-stepper-step-completed) .onboarding-stepper-label {
  color: #999;
}

.onboarding-stepper-sublabel {
  font-size: 12px;
  color: #999;
  text-align: center;
  margin-top: 2px;
}

.onboarding-stepper-connector {
  flex: 0 0 32px;
  width: 32px;
  height: 2px;
  background-color: #ddd;
  margin-top: 17px;
  margin-left: 6px;
  margin-right: 6px;
  align-self: flex-start;
}

.onboarding-stepper-connector-active {
  background-color: #5648D8;
}

/* Step content: same width as stepper, centered; padding for Bootstrap row negative margins */
.onboarding-step-content {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

.onboarding-step-content .form-group {
  margin-bottom: 20px;
}

/* Step 2: search field same width as helper text, no overflow */
.onboarding-step-content .input-group {
  max-width: 100%;
}

.onboarding-step-content .input-group .form-control {
  min-width: 0;
}

.onboarding-step-content .help-block {
  max-width: 100%;
  margin-bottom: 12px;
}

.onboarding-required-star {
  color: #dd4b39;
}

.onboarding-search-results-wrapper {
  margin: 15px 0;
}

.onboarding-search-empty-message {
  margin-top: 8px;
  margin-bottom: 0;
}

.onboarding-search-results-block {
  margin-bottom: 20px;
}

.onboarding-search-results-block:last-child {
  margin-bottom: 0;
}

.onboarding-search-results-title {
  margin: 0 0 10px 0;
  font-size: 14px;
  font-weight: 600;
  color: #253841;
}

.onboarding-search-results-list {
  max-height: 140px;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background-color: #fafafa;
}

.onboarding-search-results-list p {
  margin: 0;
  font-size: 13px;
}

/* Legacy single block (kept for any inline fallback) */
.onboarding-search-results {
  max-height: 280px;
  overflow-y: auto;
  margin: 15px 0;
  padding: 10px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background-color: #fafafa;
}

.onboarding-search-results h5 {
  margin-top: 10px;
  margin-bottom: 8px;
  font-size: 13px;
}

.onboarding-search-results h5:first-child {
  margin-top: 0;
}

.onboarding-checkbox-item {
  display: block;
  margin: 6px 0;
}

.onboarding-selected-count-wrapper {
  margin: 10px 0;
  text-align: center;
}

.onboarding-selected-count {
  display: inline-block;
  font-weight: 600;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 4px;
  background-color: #e9ecef;
  color: #495057;
}

.onboarding-selected-tags {
  margin: 12px 0;
  min-height: 28px;
}

.onboarding-selected-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px 4px 10px;
  margin: 3px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: #685aeb;
  border-radius: 10px;
  background: #F4F3FF;
  border: 1px solid #5648D8;
  transition: background-color 0.1s ease;
}

.onboarding-selected-tag:hover {
  background-color: #e3e0ff;
  border-color: #3225ac;
}

.onboarding-selected-tag-label {
  white-space: nowrap;
}

.onboarding-selected-tag-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  margin: 0;
  margin-left: 2px;
  font-size: 16px;
  line-height: 1;
  color: #5648D8;
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.1s ease, color 0.1s ease;
}

.onboarding-selected-tag-remove:hover {
  background-color: rgba(86, 72, 216, 0.2);
  color: #3225ac;
}

.onboarding-notification-fields {
  margin-left: 0;
  margin-top: 15px;
}

.onboarding-notification-fields-disabled {
  opacity: 0.6;
  pointer-events: none;
}

.onboarding-notification-fields-disabled input,
.onboarding-notification-fields-disabled select {
  background-color: #f5f5f5;
  cursor: not-allowed;
}

.onboarding-cvss-condition {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 12px;
}

.onboarding-cvss-sentence {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  font-weight: 500;
  color: #333;
}

.onboarding-cvss-sentence .onboarding-cvss-inline {
  display: inline-block;
  width: auto;
  height: auto;
  padding: 4px 8px;
  font-size: 14px;
  vertical-align: middle;
}

.onboarding-cvss-sentence select.onboarding-cvss-inline {
  width: 90px;
}

.onboarding-cvss-sentence input.onboarding-cvss-inline {
  width: 70px;
}

.organizations-list .product-info,
.projects-list .product-info {
  margin-left: 10px;
}

/* Projects list — card grid + expandable list */
.opencve-project-list-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.opencve-project-view-toggle .opencve-project-view-btn {
  box-shadow: none;
  color: #5c6570;
  padding: 8px 12px;
}

.opencve-project-view-toggle .opencve-project-view-btn.active,
.opencve-project-view-toggle .opencve-project-view-btn.active:hover,
.opencve-project-view-toggle .opencve-project-view-btn.active:focus {
  background: #f5f3ff;
  border-color: #c4b5fd;
  color: #5648d8;
  outline: none;
  z-index: 2;
}

.opencve-project-list-toolbar .opencve-project-list-new-btn {
  margin-left: auto;
}

.opencve-project-list--list .opencve-project-grid-only {
  display: none !important;
}

.opencve-project-list--grid .opencve-project-list-only {
  display: none !important;
}

.opencve-project-list-new-btn {
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
}

.opencve-project-list-toolbar .opencve-project-list-new-btn .fa-plus {
  margin-right: 8px;
}

.opencve-project-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.opencve-project-list--grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.opencve-project-list--grid > .opencve-project-card.box {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-bottom: 0;
}

.opencve-project-list--grid .opencve-project-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  max-height: none;
  overflow: visible;
}

.opencve-project-list--grid .opencve-project-card-header {
  border-bottom: none;
  cursor: default;
  display: grid;
  gap: 6px 8px;
  grid-template-areas:
    "name menu"
    "stats stats";
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 16px 16px 10px;
  pointer-events: none;
}

.opencve-project-list--grid .opencve-project-card-header-main,
.opencve-project-list--grid .opencve-project-card-summary {
  display: contents;
}

.opencve-project-list--grid .opencve-project-card-name {
  font-size: 16px;
  grid-area: name;
  line-height: 1.25;
}

.opencve-project-list--grid .opencve-project-card-stats {
  grid-area: stats;
  margin: 0;
}

.opencve-project-list--grid .opencve-project-card-actions {
  grid-area: menu;
  pointer-events: auto;
}

.opencve-project-list--grid .opencve-project-card-body-inner {
  padding: 0 16px 8px;
}

.opencve-project-list--grid .opencve-project-card-row {
  border-top: none;
  flex-direction: column;
  gap: 8px;
  padding: 8px 0;
}

.opencve-project-list--grid .opencve-project-card-row-label {
  flex-basis: auto;
  font-size: 12px;
}

.opencve-project-list--grid .opencve-project-card-footer {
  align-items: center;
  border-top: 1px solid #eef1f5;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  justify-content: space-between;
  margin-top: auto;
  padding: 12px 16px 14px;
  pointer-events: auto;
}

.opencve-project-list--grid .opencve-project-card-footer-members {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.opencve-project-list--grid .opencve-project-card-footer-avatars {
  display: inline-flex;
  flex-shrink: 0;
}

.opencve-project-list--grid .opencve-project-card-footer-avatars .opencve-project-member-avatar {
  border: 2px solid #fff;
  margin-left: -6px;
}

.opencve-project-list--grid .opencve-project-card-footer-avatars .opencve-project-member-avatar:first-child {
  margin-left: 0;
}

.opencve-project-list--grid .opencve-project-card-footer-member-count {
  color: #5c6570;
  font-size: 13px;
}

.opencve-project-list--grid a.opencve-project-card-open {
  margin-left: auto;
  padding: 4px 0;
}

.opencve-project-list--grid a.opencve-project-card-open:hover,
.opencve-project-list--grid a.opencve-project-card-open:focus {
  background: transparent;
}

a.opencve-project-card-new {
  align-items: center;
  background: #fafbff;
  border: 2px dashed #d8dce6;
  border-radius: 6px;
  box-shadow: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  min-height: 280px;
  padding: 24px 20px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

a.opencve-project-card-new:hover,
a.opencve-project-card-new:focus {
  background: #f5f3ff;
  border-color: #c4b5fd;
  color: inherit;
  text-decoration: none;
}

.opencve-project-card-new-icon {
  align-items: center;
  background: #ede9fe;
  border-radius: 50%;
  color: #5648d8;
  display: inline-flex;
  font-size: 18px;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.opencve-project-card-new-title {
  color: #5648d8;
  font-size: 15px;
  font-weight: 600;
}

.opencve-project-card-new-desc {
  color: #5c6570;
  font-size: 13px;
  line-height: 1.4;
  max-width: 220px;
}

.opencve-project-card {
  margin-bottom: 0;
  overflow: visible;
  padding: 0;
  position: relative;
  z-index: 0;
}

.opencve-project-card.is-menu-open,
.opencve-project-card:has(.opencve-project-card-menu.open) {
  z-index: 20;
}

.opencve-project-card-header {
  align-items: center;
  box-sizing: border-box;
  cursor: pointer;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  max-width: 100%;
  min-height: 58px;
  padding: 12px 14px;
}

.opencve-project-card-header-main {
  align-items: center;
  display: flex;
  gap: 8px;
  min-width: 0;
}

.opencve-project-card.is-expanded > .opencve-project-card-header {
  border-bottom: 1px solid #eef1f5;
}

.opencve-project-card-chevron {
  color: #5c6570;
  flex-shrink: 0;
  font-size: 12px;
  line-height: 1;
  text-align: center;
  transition: transform 0.15s ease, color 0.15s ease;
  width: 12px;
}

.opencve-project-card-header:not(.collapsed) .opencve-project-card-chevron {
  color: #5648d8;
  transform: rotate(90deg);
}

.opencve-project-card-summary {
  flex: 1 1 auto;
  min-width: 0;
}

.opencve-project-card-name {
  color: #1f2d3d;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.opencve-project-card-stats {
  color: #5c6570;
  font-size: 12px;
  line-height: 1.15;
  margin: 5px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.opencve-project-card-actions {
  --opencve-project-action-size: 34px;
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-shrink: 0;
  flex-wrap: nowrap;
  gap: 8px;
  justify-self: end;
}

a.opencve-project-card-open {
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 4px;
  box-sizing: border-box;
  color: #5648d8;
  display: inline-flex;
  font-size: 13px;
  font-weight: 500;
  gap: 6px;
  line-height: 1.2;
  padding: 6px 10px;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

a.opencve-project-card-open .fa {
  font-size: 14px;
}

a.opencve-project-card-open:hover,
a.opencve-project-card-open:focus {
  background: #f4f6f8;
  color: #4538c4;
  text-decoration: none;
}

.opencve-project-card-menu .opencve-project-card-menu-btn.btn-default {
  background-color: transparent;
  background-image: none;
  border-color: transparent;
  box-shadow: none;
}

.opencve-project-card-menu-btn {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  box-sizing: border-box;
  box-shadow: none;
  color: #5c6570;
  display: inline-flex;
  font-size: 16px;
  height: var(--opencve-project-action-size);
  justify-content: center;
  line-height: 1;
  padding: 0;
  width: var(--opencve-project-action-size);
}

.opencve-project-card-menu-btn:hover,
.opencve-project-card-menu-btn:focus,
.opencve-project-card-menu .opencve-project-card-menu-btn.btn-default:hover,
.opencve-project-card-menu .opencve-project-card-menu-btn.btn-default:focus {
  background-color: #f4f6f8;
  background-image: none;
  border-color: transparent;
  box-shadow: none;
  color: #5c6570;
}

.opencve-project-card-menu.open > .opencve-project-card-menu-btn,
.opencve-project-card-menu.open > .opencve-project-card-menu-btn:hover,
.opencve-project-card-menu.open > .opencve-project-card-menu-btn:focus,
.opencve-project-card-menu > .opencve-project-card-menu-btn:active,
.opencve-project-card-menu > .opencve-project-card-menu-btn:focus {
  background-color: #f4f6f8 !important;
  background-image: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: #5c6570 !important;
  outline: none;
}

.opencve-project-card-menu .opencve-project-card-dropdown {
  border-radius: 8px;
  margin-top: 6px;
  min-width: 188px;
  padding: 6px 0;
  z-index: 1050;
}

.opencve-project-card-dropdown > li > a {
  align-items: center;
  color: #1f2d3d;
  display: flex;
  font-size: 13px;
  gap: 10px;
  padding: 9px 16px;
}

.opencve-project-card-dropdown > li > a:hover,
.opencve-project-card-dropdown > li > a:focus {
  background: #f5f3ff;
  color: #1f2d3d;
}

.opencve-project-card-dropdown > li > a .fa {
  color: #5c6570;
  font-size: 14px;
  text-align: center;
  width: 16px;
}

.opencve-project-card-dropdown > li.divider {
  margin: 4px 0;
}

.opencve-project-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
  .opencve-project-card-body {
    transition: none;
  }
}

.opencve-project-card-body-inner {
  padding: 2px 18px 14px 44px;
}

.opencve-project-card-row {
  align-items: flex-start;
  border-top: 1px solid #f3f4f6;
  display: flex;
  gap: 16px;
  padding: 14px 0;
}

.opencve-project-card-row:first-child {
  border-top: none;
}

.opencve-project-card-row-label {
  color: #5c6570;
  flex: 0 0 120px;
  font-size: 13px;
  line-height: 1.5;
}

.opencve-project-card-row-label strong {
  color: #1f2d3d;
  font-weight: 600;
}

.opencve-project-card-row-content {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

a.opencve-project-tag {
  background: #ede9fe;
  border-radius: 999px;
  color: #5648d8;
  display: inline-block;
  font-size: 12px;
  line-height: 1.3;
  padding: 5px 10px;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

a.opencve-project-tag:hover,
a.opencve-project-tag:focus {
  background: #ddd6fe;
  color: #4538c4;
  text-decoration: none;
}

a.opencve-project-more {
  align-self: center;
  color: #5648d8;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

a.opencve-project-more:hover,
a.opencve-project-more:focus {
  color: #4538c4;
  text-decoration: underline;
}

.opencve-project-member {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.opencve-project-member-avatar {
  align-items: center;
  background: #eef1f5;
  border-radius: 50%;
  color: #5c6570;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  height: 28px;
  justify-content: center;
  line-height: 1;
  width: 28px;
}

.opencve-project-member-name {
  color: #1f2d3d;
  font-size: 13px;
}

@media (max-width: 767px) {
  .opencve-project-list--grid {
    grid-template-columns: 1fr;
  }

  .opencve-project-card-body-inner {
    padding-left: 18px;
  }

  .opencve-project-list--list .opencve-project-card-row {
    flex-direction: column;
    gap: 8px;
  }

  .opencve-project-list--list .opencve-project-card-row-label {
    flex-basis: auto;
  }
}

/* Organizations list — flat expandable cards (aligned with projects list view) */
.opencve-org-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.opencve-org-card {
  margin-bottom: 0;
  overflow: visible;
  padding: 0;
  position: relative;
  z-index: 0;
}

.opencve-org-card.is-menu-open,
.opencve-org-card:has(.opencve-org-card-menu.open) {
  z-index: 20;
}

.opencve-org-card-header {
  align-items: center;
  box-sizing: border-box;
  cursor: pointer;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  max-width: 100%;
  min-height: 58px;
  padding: 12px 14px;
}

.opencve-org-card-header:not(.pointer) {
  cursor: default;
}

.opencve-org-card-header-main {
  align-items: center;
  display: flex;
  gap: 8px;
  min-width: 0;
}

.opencve-org-card.is-expanded > .opencve-org-card-header {
  border-bottom: 1px solid #eef1f5;
}

.opencve-org-card-chevron {
  color: #5c6570;
  flex-shrink: 0;
  font-size: 12px;
  line-height: 1;
  text-align: center;
  transition: transform 0.15s ease, color 0.15s ease;
  width: 12px;
}

.opencve-org-card-chevron-spacer {
  flex-shrink: 0;
  width: 12px;
}

.opencve-org-card-header:not(.collapsed) .opencve-org-card-chevron {
  color: #5648d8;
  transform: rotate(90deg);
}

.opencve-org-card-summary {
  flex: 1 1 auto;
  min-width: 0;
}

.opencve-org-card-title-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.opencve-org-card-name {
  color: #1f2d3d;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.opencve-org-current-badge {
  background: #f4f6f8;
  border: 1px solid #e2e6ea;
  color: #5c6570;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
}

.opencve-org-card-stats {
  color: #5c6570;
  font-size: 12px;
  line-height: 1.15;
  margin: 5px 0 0;
}

.opencve-org-card-actions {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  flex-wrap: nowrap;
  gap: 8px;
  justify-self: end;
}

a.opencve-org-card-manage {
  align-items: center;
  background: transparent;
  border-radius: 4px;
  color: #5648d8;
  display: inline-flex;
  font-size: 13px;
  font-weight: 500;
  gap: 6px;
  line-height: 1.2;
  padding: 6px 10px;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

a.opencve-org-card-manage:hover,
a.opencve-org-card-manage:focus {
  background: #f4f6f8;
  color: #4538c4;
  text-decoration: none;
}

.opencve-org-card-menu-btn {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  box-shadow: none;
  color: #5c6570;
  display: inline-flex;
  font-size: 16px;
  height: 34px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  width: 34px;
}

.opencve-org-card-menu-btn:hover,
.opencve-org-card-menu-btn:focus {
  background: #f4f6f8;
  border-color: transparent;
  box-shadow: none;
  color: #5c6570;
}

.opencve-org-card-dropdown {
  border-radius: 8px;
  margin-top: 6px;
  min-width: 188px;
  padding: 6px 0;
  z-index: 1050;
}

.opencve-org-card-dropdown > li > a {
  align-items: center;
  color: #1f2d3d;
  display: flex;
  font-size: 13px;
  gap: 10px;
  padding: 9px 16px;
}

.opencve-org-card-dropdown > li > a:hover,
.opencve-org-card-dropdown > li > a:focus {
  background: #f5f3ff;
  color: #1f2d3d;
}

.opencve-org-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease-in-out;
}

.opencve-org-card-body-inner {
  padding: 12px 18px 16px 44px;
}

.opencve-org-members-head {
  color: #8a939e;
  display: grid;
  font-size: 11px;
  font-weight: 600;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) 120px;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  padding: 0 0 6px;
  text-transform: uppercase;
}

.opencve-org-member-row {
  align-items: center;
  border-top: 1px solid #f3f4f6;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) 120px;
  padding: 10px 0;
}

.opencve-org-member-main {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.opencve-org-member-avatar {
  align-items: center;
  background: #eef1f5;
  border-radius: 50%;
  color: #5c6570;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  height: 28px;
  justify-content: center;
  line-height: 1;
  width: 28px;
}

.opencve-org-member-name {
  color: #1f2d3d;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.opencve-org-member-you {
  background: #f4f6f8;
  border: 1px solid #e2e6ea;
  color: #5c6570;
  font-size: 10px;
  font-weight: 500;
  padding: 2px 6px;
}

.opencve-org-role-pill {
  background: #f4f6f8;
  border: 1px solid #e2e6ea;
  border-radius: 999px;
  color: #5c6570;
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  padding: 4px 10px;
}

.opencve-org-create-footer {
  margin: 16px 2px 0;
}

.opencve-org-create-footer a {
  color: #5648d8;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.opencve-org-create-footer a:hover,
.opencve-org-create-footer a:focus {
  color: #4538c4;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .opencve-org-card-body-inner {
    padding-left: 18px;
  }

  .opencve-org-members-head {
    display: none;
  }

  .opencve-org-member-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.products-list .product-vendors {
    margin: 10px 0;
    background-color: #f9f9f9;
    padding: 8px;
    border: 1px solid #e8e8e8;
}

.products-list .product-vendors-title {
  font-size: 13px;
}

.view-item {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.view-item .view-title {
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-item .view-description {
    font-size: 0.9em;
    color: #777;
    margin-top: 4px;
    margin-bottom: 8px;
}

.view-item code {
  padding: 5px 8px;
  font-size: 90%;
  color: #f8f8f2;
  background-color: #404040;
  border-radius: 2px;
  display: inline-block;
  font-family: "Courier New", Courier, monospace;
}

.view-item-no-border {
  margin: 10px 0;
  background-color: #f9f9f9;
  padding: 8px;
  border: 1px solid #e8e8e8;
}

.widgets-list .item .product-img img {
  border: 1px solid #d7d7d7;
  width: 140px;
  height: 80px;
}

.widgets-list .item .product-info {
  margin-left: 155px;
}

.widgets-list .item .product-info .product-description {
  margin-top: 8px;
}

/* CVE list — card layout */
.opencve-cve-search-form-row {
  align-items: flex-start;
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
}

.opencve-cve-search-input {
  flex: 1 1 auto;
  min-width: 0;
}

.opencve-cve-search-input .form-group {
  margin-bottom: 0;
}

.opencve-cve-search-actions {
  align-items: center;
  align-self: flex-start;
  display: flex;
  flex: 0 0 auto;
  flex-shrink: 0;
  flex-wrap: nowrap;
  gap: 8px;
}

.opencve-cve-search-actions .btn {
  white-space: nowrap;
}

.opencve-cve-search-submit {
  font-weight: 600;
}

.opencve-cve-search-submit .fa {
  margin-right: 6px;
}

.opencve-cve-search-query-builder.btn-default-outline,
.opencve-cve-search-query-builder {
  font-weight: 500;
}

.opencve-cve-search-query-builder .fa {
  color: #8a939e;
  margin-right: 6px;
}

.opencve-cve-search-help {
  display: block;
  margin-top: 10px;
}

@media (max-width: 767px) {
  .opencve-cve-search-form-row {
    align-items: stretch;
    flex-direction: column;
  }

  .opencve-cve-search-actions {
    justify-content: flex-start;
    width: 100%;
  }
}

.opencve-cve-list-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.opencve-cve-list-results {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.opencve-cve-list-results-label {
  color: #1f2d3d;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.opencve-cve-list-results-count {
  background: #f7f9fb;
  border: 1px solid #e2e6ea;
  border-radius: 999px;
  color: #5c6570;
  display: inline-block;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  padding: 3px 12px;
}

.opencve-cve-list-export .fa {
  margin-right: 6px;
}

.opencve-cve-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.opencve-cve-card {
  margin-bottom: 0;
  padding: 18px 20px 14px;
}

.opencve-cve-card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.opencve-cve-card-main {
  min-width: 0;
}

a.opencve-cve-card-id {
  color: #5648d8;
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

a.opencve-cve-card-id:hover,
a.opencve-cve-card-id:focus {
  color: #4538c4;
  text-decoration: none;
}

.opencve-cve-card-title {
  color: #1f2d3d;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  margin: 8px 0 0;
}

.opencve-cve-card-description {
  -webkit-box-orient: vertical;
  color: #5c6570;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-height: 1.5;
  margin: 10px 0 0;
  overflow: hidden;
}

.opencve-cve-card-aside {
  border-top: 1px solid #e8ebf0;
  min-width: 0;
  padding-top: 16px;
}

.opencve-cve-card-badges {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.opencve-cve-card-badges .opencve-detail-badge {
  font-size: 12px;
  padding: 4px 10px;
}

.opencve-cve-card-aside-row {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 14px;
}

.opencve-cve-card-aside-label {
  color: #5c6570;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  min-width: 64px;
}

.opencve-cve-card-aside-tags {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.opencve-cve-card-aside-more {
  color: #5c6570;
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
}

.opencve-cve-card-footer {
  align-items: center;
  border-top: 1px solid #eef1f5;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
}

.opencve-cve-card-updated {
  color: #8a939e;
  font-size: 12px;
}

a.opencve-cve-card-view {
  align-items: center;
  color: #5648d8;
  display: inline-flex;
  font-size: 13px;
  font-weight: 500;
  gap: 6px;
  text-decoration: none;
}

a.opencve-cve-card-view:hover,
a.opencve-cve-card-view:focus {
  color: #4538c4;
  text-decoration: none;
}

.opencve-cve-list-pagination {
  margin-top: 18px;
}

.opencve-cve-list-layout {
  align-items: flex-start;
}

.opencve-cve-list-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
  max-width: 100%;
  min-width: 0;
}

@media (min-width: 992px) {
  .opencve-cve-list-sidebar {
    margin-bottom: 0;
    position: sticky;
    top: 12px;
  }
}

.opencve-cve-sidebar-card {
  margin-bottom: 0;
}

.opencve-cve-sidebar-saved-header {
  overflow: visible;
  padding-right: 46px;
  position: relative;
}

.opencve-cve-sidebar-views-menu {
  margin-left: 0;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.opencve-cve-sidebar-views-menu .opencve-project-card-menu-btn {
  height: 26px;
  width: 26px;
}

.opencve-cve-sidebar-view-tabs-wrap {
  padding: 10px 15px 0;
}

.opencve-cve-sidebar-view-tabs {
  border-bottom: 1px solid #e8ebf0;
  margin-bottom: 10px;
}

.opencve-cve-sidebar-view-tabs > li > a {
  border: none;
  border-radius: 0;
  color: #8a939e;
  font-size: 15px;
  font-weight: 600;
  margin-right: 0;
  padding: 10px 16px 12px;
}

.opencve-cve-sidebar-view-tabs > li > a:hover,
.opencve-cve-sidebar-view-tabs > li > a:focus {
  background: transparent;
  border: none;
  color: #5648d8;
}

.opencve-cve-sidebar-view-tabs > li.active > a,
.opencve-cve-sidebar-view-tabs > li.active > a:hover,
.opencve-cve-sidebar-view-tabs > li.active > a:focus {
  background: transparent;
  border: none;
  border-bottom: 2px solid #5648d8;
  color: #5648d8;
}

.opencve-cve-sidebar-quick-nav > li.opencve-cve-sidebar-quick-heading {
  background: #f4f4f5;
  border-top: 1px solid #e8ebf0;
  color: #5c6570;
  cursor: default;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.35;
  margin: 0;
  padding: 10px 15px 9px;
  pointer-events: none;
  text-transform: uppercase;
}

.opencve-cve-sidebar-quick-nav > li.opencve-cve-sidebar-quick-heading:first-child {
  border-top: none;
}

.opencve-cve-sidebar-empty {
  color: #8a939e;
  font-style: italic;
  padding: 10px 15px;
}

.opencve-cve-sidebar-extra.is-hidden {
  display: none;
}

.opencve-cve-sidebar-show-more.btn-link {
  color: #5648d8;
  display: block;
  padding: 10px 15px;
  text-align: center;
  text-decoration: none;
  width: 100%;
}

.opencve-cve-sidebar-show-more.btn-link:hover,
.opencve-cve-sidebar-show-more.btn-link:focus {
  color: #4538c4;
  text-decoration: underline;
}

.opencve-cve-list-main {
  min-width: 0;
}

.opencve-project-vuln-filter-form .form-group {
  margin-bottom: 14px;
  max-width: 100%;
  min-width: 0;
}

.opencve-project-vuln-filter-form select.form-control {
  max-width: 100%;
  width: 100%;
}

.opencve-project-vuln-filter-form .select2-container {
  box-sizing: border-box;
  max-width: 100% !important;
  width: 100% !important;
}

.opencve-project-vuln-filter-form .form-group:last-of-type {
  margin-bottom: 16px;
}

.opencve-project-vuln-filter-form label {
  color: #5c6570;
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}

.opencve-project-vuln-filter-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.opencve-project-vuln-filter-actions .btn {
  width: 100%;
}

.opencve-project-vuln-filter-error {
  font-size: 12px;
  margin-top: 6px;
}

.opencve-cve-card-tracker-fields {
  border-top: 1px solid #eef1f5;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
  padding-top: 14px;
  width: 100%;
}

.opencve-cve-card-tracker-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

@media (max-width: 767px) {
  .opencve-cve-card-tracker-fields {
    grid-template-columns: 1fr;
  }
}

.opencve-cve-search-card {
  margin-bottom: 16px;
}

@media (min-width: 992px) {
  .opencve-cve-card-body {
    flex-direction: row;
    gap: 0;
  }

  .opencve-cve-card-main {
    flex: 1 1 58%;
    min-width: 0;
    padding-right: 22px;
  }

  .opencve-cve-card-aside {
    border-left: 1px solid #e2e6ea;
    border-top: none;
    flex: 0 1 42%;
    max-width: 420px;
    min-width: 280px;
    padding-left: 22px;
    padding-top: 0;
  }
}

.query-example-tag {
  display: inline-block;
  padding: 5px 10px;
  margin: 3px;
  text-decoration: none;
  font-size: 90%;
  font-weight: 600;
  line-height: 1.5;
  font-size: 12px;
  color: #685aeb;
  padding: 1px 5px;
  border-radius: 10px;
  background: #F4F3FF;
  border: 1px solid #5648D8;
  transition: background-color 0.1s ease;
}

.query-example-tag:hover,
.query-example-tag:focus {
  background-color: #e3e0ff;
  border: 1px solid #3225ac;
  color: #5648D8;
  outline: none;
}

.pill-search-input {
  border-radius: 50em;
  height: 45px;
  padding: 10px 20px;
  font-size: 1.1em;
  background-color: #f1f3f5;
  color: #212529;
  border: 1px solid #ced4da;
  box-shadow: none;
  user-select: none;
  cursor: default;
}

.pill-search-input:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.pill-search-input.updated {
  background-color: #e2f0fb;
  transition: background-color 0.5s ease;
}

.query-label {
  font-size: 0.85em;
  color: #6c757d;
  margin-left: 12px;
  margin-bottom: 4px;
  display: block;
}

.query-preview {
  border-radius: 50em;
  padding: 10px 20px;
  font-size: 1.1em;
  background-color: #f1f3f5;
  color: #212529;
  border: 1px solid #ced4da;
  min-height: 45px;
  line-height: 25px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow-x: auto;
  cursor: default;
}

/* CVE Tracking */

/* CVE tracker assignee / status selects (project list + CVE detail Tracking) */
.opencve-tracker-select {
  align-items: center;
  background: #fff;
  border: 1px solid #d5d9e2;
  border-radius: 8px;
  box-sizing: border-box;
  color: #374151;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 500;
  gap: 8px;
  line-height: 1.35;
  max-width: 100%;
  min-height: 36px;
  padding: 6px 10px;
  transition: background-color 0.15s ease, border-color 0.15s ease;
  vertical-align: middle;
}

.opencve-tracker-select:hover {
  background: #faf9ff;
  border-color: #c4b5fd;
}

.opencve-tracker-select--readonly {
  cursor: default;
}

.opencve-tracker-select--readonly:hover {
  background: #fff;
  border-color: #d5d9e2;
}

.opencve-tracker-select-leading {
  align-items: center;
  display: inline-flex;
  flex-shrink: 0;
  justify-content: center;
}

.opencve-tracker-select-icon {
  color: #6b7280;
  font-size: 14px;
  line-height: 1;
  width: 20px;
  text-align: center;
}

.opencve-tracker-select-avatar {
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
  height: 20px;
  object-fit: cover;
  width: 20px;
}

.opencve-tracker-select-label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.opencve-tracker-select-chevron {
  color: #9ca3af;
  flex-shrink: 0;
  font-size: 10px;
  line-height: 1;
  margin-left: 2px;
}

.opencve-tracker-select:hover .opencve-tracker-select-chevron {
  color: #5648d8;
}

.opencve-tracker-status-dot {
  border-radius: 50%;
  flex-shrink: 0;
  height: 8px;
  width: 8px;
}

.opencve-tracker-status-dot--empty,
.opencve-tracker-status-dot--to_evaluate,
.opencve-tracker-status-dot--pending_review {
  background-color: #9ca3af;
}

.opencve-tracker-status-dot--analysis_in_progress {
  background-color: #2563eb;
}

.opencve-tracker-status-dot--remediation_in_progress {
  background-color: #ea580c;
}

.opencve-tracker-status-dot--evaluated,
.opencve-tracker-status-dot--resolved {
  background-color: #16a34a;
}

.opencve-tracker-status-dot--not_applicable,
.opencve-tracker-status-dot--risk_accepted {
  background-color: #d97706;
}

#cves-tracking-list td .opencve-tracker-select,
.opencve-cve-list .opencve-tracker-select {
  max-width: 100%;
  width: 100%;
}

#cve-tracking .opencve-tracker-select {
  width: 100%;
}

.tippy-box[data-theme~='light-border'] .tippy-content:has(.opencve-tracker-menu) {
  padding: 0;
}

.opencve-tracker-menu.floating-menu {
  background: #fff;
  border: none;
  border-radius: 10px;
  max-height: 280px;
  min-width: 240px;
  overflow-y: auto;
  padding: 4px;
}

.opencve-tracker-menu .opencve-tracker-menu-item {
  align-items: center;
  border: none;
  border-radius: 8px;
  color: #374151;
  display: flex;
  font-size: 13px;
  font-weight: 500;
  gap: 8px;
  justify-content: space-between;
  padding: 8px 10px;
  text-align: left;
  width: 100%;
}

.opencve-tracker-menu .opencve-tracker-menu-item-main {
  align-items: center;
  display: inline-flex;
  flex: 1 1 auto;
  gap: 8px;
  min-width: 0;
}

.opencve-tracker-menu .opencve-tracker-menu-item-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.opencve-tracker-menu .opencve-tracker-menu-item-check {
  color: #5648d8;
  flex-shrink: 0;
  font-size: 12px;
  opacity: 0;
  visibility: hidden;
  width: 14px;
}

.opencve-tracker-menu .opencve-tracker-menu-item.selected {
  background-color: #f5f3ff;
}

.opencve-tracker-menu .opencve-tracker-menu-item.selected .opencve-tracker-menu-item-check {
  opacity: 1;
  visibility: visible;
}

.opencve-tracker-menu .opencve-tracker-menu-item:hover {
  background-color: #faf9ff;
  color: #374151;
}

.opencve-tracker-menu .opencve-tracker-menu-item.selected:hover {
  background-color: #f5f3ff;
}

#cves-tracking-stats .badge {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
}

#cves-tracking-list .badge-warning, #cves-tracking-stats .badge-warning { background-color: #FFE58A; color: #856404; }
#cves-tracking-list .badge-info, #cves-tracking-stats .badge-info { background-color: #d8f1ff; color: #0c5460; }
#cves-tracking-list .badge-success, #cves-tracking-stats .badge-success { background-color: #dafbe1; color: #0f5132; }

#cves-tracking-list .badge-secondary, #cves-tracking-stats .badge-secondary { background-color: #e9ecef; color: #495057; }
#cves-tracking-list .badge-danger, #cves-tracking-stats .badge-danger { background-color: #ffe5e5; color: #842029; }

#cves-tracking-stats .clickable-row:hover {
  background-color: #f5f5f5;
}

/* CVE Project Comments */
.project-assignment-item {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  margin-bottom: 10px;
}

.project-assignment-item-header {
  font-weight: 600;
  margin-bottom: 6px;
}

.project-assignment-subscription-matches {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 10px;
}

.project-assignment-subscription-match-tags {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.project-assignment-matches-more {
  color: #5c6570;
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
}

.project-assignment-item-badges {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.project-assignment-badge {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.project-assignment-badge-inline {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.project-assignment-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #6c757d;
}

.project-comments {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.project-comments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.project-comments-summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.project-comments-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #6b7280;
}

.project-comments-count {
  font-size: 12px;
  color: #64748b;
}

.project-comments-toggle {
  padding: 0 2px;
  border: none;
  background: none;
  color: #6b7280;
}

.project-comments-toggle i {
  font-size: 11px;
}

.project-comments-body {
  margin-top: 8px;
}

.project-comments-body.is-collapsed {
  display: none;
}

.project-comment-form {
  margin-bottom: 8px;
}

.project-comment-input {
  position: relative;
}

.project-comment-textarea {
  resize: vertical;
  min-height: 48px;
  max-height: 180px;
  padding-right: 36px;
}

.project-comments-list {
  list-style: none;
  padding-left: 0;
  margin: 4px 0 0;
}

.project-comment-item {
  padding: 8px 0;
  border-bottom: 1px solid #e2e8f0;
}

.project-comment-item:last-child {
  border-bottom: none;
}

.project-comment-meta {
  font-size: 12px;
  margin-bottom: 2px;
  display: flex;
  align-items: baseline;
  font-weight: 500;
  color: #0f172a;
  justify-content: space-between;
}

.project-comment-meta-left {
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
}

.project-comment-meta .text-muted {
  font-weight: 400;
  color: #64748b;
}

.project-comment-edited {
  font-size: 11px;
  margin-left: 4px;
  color: #94a3b8;
}

.project-comment-actions {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.project-comment-actions {
  opacity: 0;
  transition: opacity 0.15s ease;
}

.project-comment-card:hover .project-comment-actions {
  opacity: 1;
}

.project-comment-action-btn {
  border: none;
  background: none;
  padding: 0;
  color: #9ca3af;
  cursor: pointer;
}

.project-comment-action-btn:hover,
.project-comment-action-btn:focus {
  color: #4b5563;
}

.project-comment-action-btn i {
  font-size: 12px;
}

.project-comment-body {
  font-size: 13px;
  line-height: 1.5;
  color: #111827;
}

.project-comment-empty {
  font-size: 12px;
  padding: 4px 0;
}

.project-comment-replies {
  list-style: none;
  padding-left: 20px;
  margin-top: 6px;
  border-left: 2px solid #e2e8f0;
}

.project-comment-reply {
  padding-left: 10px;
  margin-top: 4px;
}

.project-comment-reply-form {
  margin-top: 4px;
  margin-left: 20px;
  padding-left: 10px;
  border-left: 2px solid #e2e8f0;
}

.project-comment-reply-textarea {
  resize: vertical;
  min-height: 32px;
  max-height: 120px;
  padding-right: 36px;
}

.project-comment-send-btn {
  position: absolute;
  right: 6px;
  bottom: 6px;
  border-radius: 999px;
  padding: 7px 7px;
  line-height: 1;
  border: none;
  background: #e5e7eb;
  color: #4b5563;
}

.project-comment-send-btn i {
  font-size: 11px;
}

.project-comment-send-btn:hover,
.project-comment-send-btn:focus {
  background: #d1d5db;
  color: #111827;
}

.project-comment-reply-toggle {
  padding-left: 0;
  font-size: 12px;
  color: #64748b;
}

.project-comment-reply-toggle:hover,
.project-comment-reply-toggle:focus {
  color: #0f172a;
  text-decoration: underline;
}

/* Vendor/Product Quick Subscription Styles */
.subscribe-vendor,
.subscribe-product {
  transition: all 0.15s ease;
}

.subscribe-vendor:hover,
.subscribe-product:hover {
  color: #5648D8;
}

.subscribe-vendor:hover .fa-bell-o,
.subscribe-product:hover .fa-bell-o {
  opacity: 1;
  color: #5648D8;
}

/* Success flash animation for subscription buttons */
@keyframes subscribe-success-flash {
  0% {
    background-color: #dafbe1;
    border-color: #86efac;
  }
  50% {
    background-color: #bbf7d0;
    border-color: #4ade80;
  }
  100% {
    background-color: #f8f9fa;
    border-color: #dee2e6;
  }
}

.subscribe-vendor.subscribe-success,
.subscribe-product.subscribe-success {
  animation: subscribe-success-flash 0.6s ease-out;
}

.floating-menu {
  background: #fff;
  border: none;
  border-radius: 10px;
  padding: 2px;
  min-width: 180px;
  max-height: 220px;
  overflow-y: auto;
}

.floating-menu-title {
  padding: 8px 12px;
  font-weight: 600;
  font-size: 13px;
  color: #333;
  border-bottom: 1px solid #e3e2ef;
  margin-bottom: 2px;
}

.vendor-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
  min-height: 28px;
}

.vendor-name {
  flex: 0 1 auto;
  white-space: nowrap;
  margin-right: 12px;
}

.vendor-item .btn {
  flex: 0 0 auto;
  min-width: 120px;
  text-align: center;
  margin-left: auto;
}

.product-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
  min-height: 28px;
  border-radius: 4px;
  transition: background-color 0.15s ease;
}

.product-item:hover {
  background-color: #f5f3fb;
}

.product-name {
  flex: 0 1 auto;
  white-space: nowrap;
  margin-right: 12px;
}

.product-item .btn {
  flex: 0 0 auto;
  min-width: 120px;
  text-align: center;
  margin-left: auto;
}

/* Subscription sidebar layout */
#project-subscriptions-box .subscription-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px 10px;
}

#project-subscriptions-box .subscription-grid-readonly {
  grid-template-columns: minmax(0, 1fr);
}

#project-subscriptions-box .subscription-group-divider {
  grid-column: 1 / -1;
  border-bottom: 1px solid #e3e2ef;
  margin: 4px 0 8px 0;
}

#project-subscriptions-box .subscription-vendor-name {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

#project-subscriptions-box .subscription-vendor-name-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#project-subscriptions-box a.subscription-cve-filter-link {
  color: #5648d8;
  text-decoration: none;
}

#project-subscriptions-box a.subscription-cve-filter-link:hover,
#project-subscriptions-box a.subscription-cve-filter-link:focus {
  color: #4538c4;
  text-decoration: underline;
}

#project-subscriptions-box .subscription-product-name {
  padding-left: 18px;
  font-size: 13px;
  position: relative;
  display: flex;
  gap: 4px;
}

#project-subscriptions-box .subscription-product-name::before {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 1px;
  background-color: #ddd;
}

#project-subscriptions-box .subscription-product-name-first::before {
  top: -8px;
}

#project-subscriptions-box .subscription-product-name:not(.subscription-product-name-first)::before {
  top: -18px;
}

#project-subscriptions-box .subscription-product-name-text {
  line-height: 1.1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#project-subscriptions-box .subscription-product-name::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 10px;
  height: 1px;
  background-color: #ddd;
}

#project-subscriptions-box .subscription-grid .btn,
#project-subscriptions-box .subscription-grid .btn-xs,
#project-subscriptions-box .subscription-grid a.btn {
  justify-self: end;
  flex-shrink: 0;
  max-width: 100%;
}

#project-subscriptions-box:not(.subscriptions-compact-actions) .subscribe-btn-count {
  display: none;
}

#project-subscriptions-box.subscriptions-compact-actions .subscribe-btn-label {
  display: none;
}

#project-subscriptions-box.subscriptions-compact-actions .subscribe-vendor,
#project-subscriptions-box.subscriptions-compact-actions .subscribe-product,
#project-subscriptions-box.subscriptions-compact-actions .subscribe-vendor-link,
#project-subscriptions-box.subscriptions-compact-actions .subscribe-product-link {
  padding-left: 7px;
  padding-right: 7px;
}

.floating-menu-item {
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 13px;
  font-weight: 500;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  color: #333;
  display: flex;
  align-items: center;
  gap: 6px;
}

.floating-menu-item i {
  opacity: 0.6;
  font-size: 13px;
}

.floating-menu-item:hover {
  background-color: #f6f5ff;
  color: #5648D8;
}

.floating-menu-item.selected {
  background-color: #e0dbff;
}

/* Base badge */
.badge-modern {
  display: inline-block;
  padding: 2px 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  border-radius: 4px;
  border: 1px solid;
  white-space: nowrap;
  vertical-align: baseline;
}

/* ------- Assignee badges ------- */

.badge-modern-assignee {
  background-color: #efe6ff;
  border-color: #c4a6ea;
  color: #5b2c91;
}

.badge-modern-assignee-empty {
  background-color: #f4f4f4;
  border-color: #d2d2d2;
  color: #666;
}

/* ------- Status badges (base) ------- */

.badge-modern-status {
  background-color: #eee;
  border-color: #ccc;
  color: #555;
}

/* Empty status */
.badge-modern-status-empty {
  background-color: #f4f4f4;
  border-color: #d2d2d2;
  color: #666;
}

/* ------- Status-specific colors ------- */

.badge-modern-status.to_evaluate,
.badge-modern-status.pending_review {
  background-color: #f4f4f4;
  border-color: #d6d6d6;
  color: #666;
}

.badge-modern-status.analysis_in_progress,
.badge-modern-status.remediation_in_progress {
  background-color: #d9eaff;
  border-color: #97c0ef;
  color: #1f5fad;
}

.badge-modern-status.evaluated,
.badge-modern-status.resolved {
  background-color: #d6f7df;
  border-color: #82d8a7;
  color: #146635;
}

.badge-modern-status.not_applicable,
.badge-modern-status.risk_accepted {
  background-color: #fff4d8;
  border-color: #f5d796;
  color: #8b6514;
}

/* CVE description cell in dashboard widgets */
.cve-description-cell {
  border-top: none !important;
  padding-top: 4px;
  padding-bottom: 8px;
}

.cve-description-cell small {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  line-height: 1.4;
  word-wrap: break-word;
}

/* Divider with centered text */
.divider-with-text {
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.divider-with-text hr {
  margin: 0;
}

.divider-with-text span {
  position: relative;
  top: -10px;
  background-color: white;
  padding: 0 15px;
  color: #999;
}

/* Mitre affected products: "Show more" collapsed state */
.mitre-affected-wrapper.mitre-collapsed .mitre-affected-row.mitre-affected-row--overflow {
  display: none;
}

/*
  This removes the default 10px padding set by AdminLTE for .tab-content within .nav-tabs-custom,
  allowing elements inside to extend fully to the container edges for seamless layouts.
*/
#cve-affected.nav-tabs-custom .mitre-affected-show-more-wrap {
  width: calc(100% + 20px);
  margin-left: -10px;
  margin-right: -10px;
  margin-bottom: -10px;
  margin-top: 8px;
}

#cve-affected.nav-tabs-custom .mitre-affected-show-more-btn {
  border-radius: 0 0 3px 3px;
}

.mitre-affected-show-more-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
}

.mitre-affected-show-more-label {
  font-size: 11px;
  font-weight: 500;
}

.mitre-affected-wrapper.mitre-collapsed .mitre-affected-show-more-label--more {
  display: inline;
}

.mitre-affected-wrapper.mitre-collapsed .mitre-affected-show-more-label--less {
  display: none;
}

.mitre-affected-wrapper:not(.mitre-collapsed) .mitre-affected-show-more-label--more {
  display: none;
}

.mitre-affected-wrapper:not(.mitre-collapsed) .mitre-affected-show-more-label--less {
  display: inline;
}

/* Shared detail page layout (CVE, exploits, …) */
.opencve-detail-page {
  --cve-section-nav-sticky-offset: 52px;
  padding: 0;
}

.opencve-detail-container {
  box-sizing: border-box;
  margin: 0 auto;
  padding-left: 44px;
  padding-right: 44px;
  width: 100%;
}

.opencve-detail-top {
  background: #fff;
  margin: 0 -15px;
  padding: 20px 0 16px;
}

.cve-detail-section-nav-sticky {
  background: #fff;
  border-bottom: 1px solid #e5e5e9;
  margin: 0 -15px;
  z-index: 1030;
}

/* Fixed bar: full content-wrapper width, no bleed over sidebar (z-index matches content) */
.cve-detail-section-nav-sticky.is-fixed {
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
  margin: 0;
  z-index: 820;
}

.cve-detail-section-nav-sticky .cve-detail-section-nav {
  margin: 0;
}

.cve-detail-section-nav-sticky-placeholder {
  margin: 0;
}

.opencve-detail-main {
  background: #ecf0f5;
  margin: 0 -15px;
  padding: 20px 0 40px;
}

@media (max-width: 767px) {
  .opencve-detail-container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.opencve-detail-hero {
  margin-bottom: 0;
}

.opencve-detail-breadcrumb {
  color: #7f8c8d;
  font-size: 13px;
  margin-bottom: 12px;
}

.opencve-detail-breadcrumb a {
  color: #605ca8;
}

.opencve-detail-breadcrumb a:hover,
.opencve-detail-breadcrumb a:focus {
  color: #4538c4;
}

.opencve-detail-breadcrumb-sep {
  margin: 0 6px;
}

.opencve-detail-breadcrumb-current {
  color: #2c3e50;
}

.opencve-detail-hero-row {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}

.opencve-detail-hero-main {
  flex: 1 1 280px;
  min-width: 0;
}

.opencve-detail-title {
  color: #1f2d3d;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 8px;
}

.opencve-detail-subtitle {
  color: #5c6570;
  font-size: 15px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
}

.opencve-detail-badges {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  width: 100%;
}

.opencve-detail-badge {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 500;
  gap: 6px;
  line-height: 1.3;
  padding: 5px 12px;
  white-space: nowrap;
}

a.opencve-detail-badge {
  text-decoration: none;
}

a.opencve-detail-badge:hover,
a.opencve-detail-badge:focus {
  filter: brightness(0.97);
  text-decoration: none;
}

.opencve-detail-badge-icon {
  color: #7f8c8d;
  font-size: 12px;
}

.opencve-detail-badge-neutral {
  background: #f4f6f8;
  border-color: #e8ebf0;
  color: #5c6570;
}

.opencve-detail-badge-cvss-info,
.opencve-detail-badge-epss-info {
  background: #eef6fc;
  border-color: #c5e0f5;
  color: #2a6a9a;
}

.opencve-detail-badge-cvss-warning,
.opencve-detail-badge-epss-warning {
  background: #fff8e6;
  border-color: #f0d490;
  color: #9a7209;
}

.opencve-detail-badge-cvss-danger,
.opencve-detail-badge-epss-danger {
  background: #fdecea;
  border-color: #f0b8b0;
  color: #b03a2e;
}

.opencve-detail-badge-cvss-critical,
.opencve-detail-badge-epss-critical,
.opencve-detail-badge-kev-listed {
  background: #f8e8e6;
  border-color: #e09890;
  color: #87281a;
}

.opencve-detail-badge-epss-default {
  background: #f4f6f8;
  border-color: #e8ebf0;
  color: #5c6570;
}

.opencve-detail-view-external {
  border-color: #605ca8;
  color: #605ca8;
  font-weight: 600;
}

.opencve-detail-view-external:hover,
.opencve-detail-view-external:focus {
  background: #f5f3fc;
  border-color: #4538c4;
  color: #4538c4;
}

/* CVE detail: compact semantic chips (metrics, affected status) */
.opencve-chip {
  border: 1px solid transparent;
  border-radius: 4px;
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  padding: 3px 8px;
  vertical-align: middle;
  white-space: nowrap;
}

.opencve-chip-neutral {
  background: #f4f6f8;
  border-color: #e8ebf0;
  color: #5c6570;
}

.opencve-chip-muted {
  background: #f8f9fa;
  border-color: #e4e7eb;
  color: #8a939e;
}

.opencve-chip-success {
  background: #eef8f0;
  border-color: #b8dfc4;
  color: #1e6b34;
}

.opencve-chip-warning {
  background: #fff8e6;
  border-color: #f0d490;
  color: #9a7209;
}

.opencve-chip-danger {
  background: #fdecea;
  border-color: #f0b8b0;
  color: #b03a2e;
}

.opencve-chip-critical {
  background: #f8e8e6;
  border-color: #e09890;
  color: #87281a;
}

.panel-group-cvss .opencve-chip {
  margin-top: -2px;
}

/* CVE detail: segmented pill tabs (Affected products, Metrics) */
#cve-metrics.nav-tabs-custom.opencve-segment-tabs,
#cve-affected.nav-tabs-custom.opencve-segment-tabs,
#cve-tracking.nav-tabs-custom.opencve-segment-tabs {
  box-shadow: none;
}

#cve-metrics.opencve-segment-tabs > .box-header,
#cve-affected.opencve-segment-tabs > .box-header,
#cve-tracking.opencve-segment-tabs > .box-header {
  border-bottom: 1px solid #eef1f5;
}

/* Affected Products: full-width equal-column source selector (no Bootstrap .nav-tabs) */
#cve-affected .opencve-affected-source-toolbar {
  border-bottom: none;
  padding: 8px 10px 10px;
}

#cve-affected .opencve-affected-source-nav {
  background: #eef1f5;
  border: none;
  border-radius: 10px;
  box-sizing: border-box;
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 4px;
  width: 100%;
}

#cve-affected .opencve-affected-source-nav > li {
  display: flex;
  float: none;
  margin: 0;
  min-width: 0;
  padding: 0;
}

#cve-affected .opencve-affected-source-nav > li > a {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  box-sizing: border-box;
  color: #5c6570;
  display: flex;
  flex: 1 1 auto;
  font-size: 12px;
  font-weight: 500;
  justify-content: center;
  line-height: 1.25;
  margin: 0;
  min-height: 36px;
  padding: 4px 6px;
  text-align: center;
  text-decoration: none;
  width: 100%;
}

#cve-affected .opencve-affected-source-nav > li > a:hover,
#cve-affected .opencve-affected-source-nav > li > a:focus {
  background: rgba(255, 255, 255, 0.55);
  color: #3d4650;
  outline: none;
  text-decoration: none;
}

#cve-affected .opencve-affected-source-nav > li.active > a,
#cve-affected .opencve-affected-source-nav > li.active > a:hover,
#cve-affected .opencve-affected-source-nav > li.active > a:focus {
  background: #fff;
  border-color: #dfe3e8;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  color: #1f2d3d;
  font-weight: 600;
}

#cve-affected .opencve-affected-source-nav .opencve-segment-tab-inner {
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  justify-content: center;
  max-width: 100%;
}

#cve-affected .opencve-affected-source-nav .opencve-segment-tab-label {
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#cve-affected .opencve-affected-source-nav .opencve-segment-tab-icon {
  flex-shrink: 0;
  max-height: 18px;
}

#cve-affected .opencve-affected-source-nav > li.opencve-affected-source-tab--empty {
  min-width: 0;
}

#cve-affected .opencve-affected-source-tab--empty,
#cve-affected .opencve-affected-source-tab-disabled {
  cursor: not-allowed;
}

#cve-affected .opencve-affected-source-tab-disabled {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  box-sizing: border-box;
  color: #9ca3af;
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  margin: 0;
  min-height: 36px;
  padding: 4px 6px;
  width: 100%;
}

#cve-affected .opencve-affected-source-tab-inner--stacked {
  align-items: center;
}

#cve-affected .opencve-affected-source-tab-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: center;
  line-height: 1.1;
  min-width: 0;
  text-align: left;
}

#cve-affected .opencve-affected-source-tab--empty .opencve-segment-tab-label {
  color: #9ca3af;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.15;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#cve-affected .opencve-affected-source-tab-empty-hint {
  color: #b0b7c3;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.1;
}

#cve-affected .opencve-affected-source-tab-icon--muted {
  filter: grayscale(1);
  opacity: 0.45;
}

@media (max-width: 767px) {
  #cve-affected .opencve-affected-source-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #cve-affected .opencve-affected-source-nav .opencve-segment-tab-label {
    white-space: normal;
  }
}

/* CVE detail: Tracking — one tab per project */
#cve-tracking .opencve-cve-tracking-title-sep {
  border-left: 1px solid #d5dbe3;
  display: inline-block;
  height: 1.1em;
  margin: 0 12px;
  vertical-align: middle;
  width: 0;
}

#cve-tracking .opencve-cve-tracking-single-project {
  color: #8a939e;
  font-size: 15px;
  font-weight: 500;
  vertical-align: middle;
}

#cve-tracking.opencve-cve-tracking-box--single .opencve-cve-tracking-tab-content {
  border-top: none;
  padding-top: 14px;
}

#cve-tracking .opencve-cve-tracking-project-count {
  background: #f7f9fb;
  border: 1px solid #e2e6ea;
  border-radius: 999px;
  color: #5c6570;
  display: inline-block;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  margin-left: 8px;
  padding: 2px 10px;
  vertical-align: middle;
}

#cve-tracking .opencve-cve-tracking-toolbar {
  border-bottom: none;
  padding: 8px 10px 10px;
}

#cve-tracking .opencve-cve-tracking-nav {
  background: #eef1f5;
  border: none;
  border-radius: 10px;
  box-sizing: border-box;
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 4px;
  width: 100%;
}

#cve-tracking .opencve-cve-tracking-nav > li {
  display: flex;
  float: none;
  margin: 0;
  min-width: 0;
  padding: 0;
}

#cve-tracking .opencve-cve-tracking-nav > li > a {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  box-sizing: border-box;
  color: #5c6570;
  display: flex;
  flex: 1 1 auto;
  font-size: 12px;
  font-weight: 500;
  justify-content: center;
  line-height: 1.25;
  margin: 0;
  min-height: 36px;
  padding: 4px 8px;
  text-align: center;
  text-decoration: none;
  width: 100%;
}

#cve-tracking .opencve-cve-tracking-nav > li > a:hover,
#cve-tracking .opencve-cve-tracking-nav > li > a:focus {
  background: rgba(255, 255, 255, 0.55);
  color: #3d4650;
  outline: none;
  text-decoration: none;
}

#cve-tracking .opencve-cve-tracking-nav > li.active > a,
#cve-tracking .opencve-cve-tracking-nav > li.active > a:hover,
#cve-tracking .opencve-cve-tracking-nav > li.active > a:focus {
  background: #fff;
  border-color: #dfe3e8;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  color: #1f2d3d;
  font-weight: 600;
}

#cve-tracking .opencve-cve-tracking-nav .opencve-segment-tab-inner {
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  justify-content: center;
  max-width: 100%;
}

#cve-tracking .opencve-cve-tracking-nav .opencve-segment-tab-label {
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#cve-tracking .opencve-cve-tracking-tab-comment-count {
  align-items: center;
  color: #6c757d;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 500;
  gap: 3px;
}

#cve-tracking .opencve-cve-tracking-tab-comment-count .fa {
  font-size: 11px;
}

#cve-tracking .opencve-cve-tracking-tab-content {
  padding: 12px 14px 14px;
}

#cve-tracking .opencve-cve-tracking-matches-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: space-between;
  margin-bottom: 12px;
}

#cve-tracking .opencve-cve-tracking-matches-main {
  align-items: center;
  flex: 1 1 200px;
  margin-bottom: 0;
}

#cve-tracking .opencve-cve-tracking-matches-main .project-assignment-label {
  flex-shrink: 0;
  line-height: 1.5;
  margin: 0;
}

#cve-tracking .opencve-cve-tracking-open-project {
  color: #605ca8;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

#cve-tracking .opencve-cve-tracking-open-project:hover,
#cve-tracking .opencve-cve-tracking-open-project:focus {
  color: #4a4585;
  text-decoration: none;
}

#cve-tracking .opencve-cve-tracking-open-project .fa {
  margin-left: 2px;
}

#cve-tracking .opencve-cve-tracking-tracker-fields {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 12px;
}

#cve-tracking .opencve-cve-tracking-comments {
  margin-top: 0;
}

#cve-tracking .opencve-cve-tracking-comments-header {
  cursor: pointer;
}

#cve-tracking .opencve-cve-tracking-comments-header .project-comments-summary {
  align-items: center;
  display: flex;
  gap: 8px;
}

#cve-tracking .opencve-cve-tracking-comments-title {
  color: #6b7280;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#cve-tracking .opencve-cve-tracking-comments-badge {
  background: #eef1f5;
  border: 1px solid #dfe3e8;
  border-radius: 999px;
  color: #5c6570;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  min-width: 1.5em;
  padding: 1px 8px;
  text-align: center;
}

@media (max-width: 767px) {
  #cve-tracking .opencve-cve-tracking-tracker-fields {
    grid-template-columns: 1fr;
  }

  #cve-tracking .opencve-cve-tracking-nav .opencve-segment-tab-label {
    white-space: normal;
  }
}

.opencve-segment-tabs-toolbar {
  border-bottom: 1px solid #eef1f5;
  padding: 12px 15px 14px;
}

.opencve-segment-tabs-toolbar > .nav.nav-tabs {
  align-items: center;
  background: #eef1f5;
  border: none;
  border-radius: 10px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  max-width: 100%;
  padding: 6px 8px;
  width: fit-content;
}

/* Metrics: two-row selector (CVSS + KEV/EPSS/SSVC) */
#cve-metrics .opencve-metrics-toolbar {
  border-bottom: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 10px 10px;
}

#cve-metrics .opencve-metrics-nav {
  background: #eef1f5;
  border: none;
  border-radius: 10px;
  box-sizing: border-box;
  display: grid;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 4px;
  width: 100%;
}

#cve-metrics .opencve-metrics-nav--cvss {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#cve-metrics .opencve-metrics-nav--signals {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#cve-metrics .opencve-metrics-nav > li {
  display: flex;
  float: none;
  margin: 0;
  min-width: 0;
  padding: 0;
}

#cve-metrics .opencve-metrics-nav > li > a {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  box-sizing: border-box;
  color: #5c6570;
  display: flex;
  flex: 1 1 auto;
  font-size: 12px;
  font-weight: 500;
  justify-content: center;
  line-height: 1.25;
  margin: 0;
  min-height: 36px;
  min-width: 0;
  padding: 4px 6px;
  text-align: center;
  text-decoration: none;
  width: 100%;
}

#cve-metrics .opencve-metrics-nav > li > a:hover,
#cve-metrics .opencve-metrics-nav > li > a:focus {
  background: rgba(255, 255, 255, 0.55);
  color: #3d4650;
  outline: none;
  text-decoration: none;
}

#cve-metrics .opencve-metrics-nav > li.active > a,
#cve-metrics .opencve-metrics-nav > li.active > a:hover,
#cve-metrics .opencve-metrics-nav > li.active > a:focus {
  background: #fff;
  border-color: #dfe3e8;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  color: #1f2d3d;
  font-weight: 600;
}

#cve-metrics .opencve-metrics-nav .opencve-segment-tab-inner {
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
  max-width: 100%;
  min-width: 0;
}

#cve-metrics .opencve-metrics-nav .opencve-segment-tab-label {
  flex-shrink: 0;
}

#cve-metrics .opencve-metrics-nav .label-cvss {
  margin-left: 0;
  max-width: 100%;
}

#cve-metrics .opencve-metrics-nav .opencve-metrics-ssvc-chip {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#cve-metrics .opencve-metrics-tab--empty,
#cve-metrics .opencve-metrics-tab-disabled {
  cursor: not-allowed;
}

#cve-metrics .opencve-metrics-tab-disabled {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  box-sizing: border-box;
  color: #9ca3af;
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  margin: 0;
  min-height: 36px;
  min-width: 0;
  padding: 4px 6px;
  width: 100%;
}

#cve-metrics .opencve-metrics-tab-inner--stacked {
  align-items: center;
  flex-wrap: nowrap;
  justify-content: center;
}

#cve-metrics .opencve-metrics-tab-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: center;
  line-height: 1.1;
  min-width: 0;
  text-align: center;
}

#cve-metrics .opencve-metrics-tab--empty .opencve-segment-tab-label {
  color: #9ca3af;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.15;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#cve-metrics .opencve-metrics-tab-empty-hint {
  color: #b0b7c3;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.1;
}

@media (max-width: 991px) {
  #cve-metrics .opencve-metrics-nav--cvss {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  #cve-metrics .opencve-metrics-nav--signals {
    grid-template-columns: 1fr;
  }

  #cve-metrics .opencve-metrics-nav .opencve-segment-tab-inner {
    flex-direction: row;
    flex-wrap: nowrap;
  }

  #cve-metrics .opencve-metrics-nav .opencve-metrics-ssvc-chip {
    white-space: normal;
  }
}

@media (max-width: 480px) {
  #cve-metrics .opencve-metrics-nav--cvss {
    grid-template-columns: 1fr;
  }
}

.opencve-segment-tab-inner {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.opencve-segment-tab-label {
  white-space: nowrap;
}

.opencve-segment-tab-icon {
  display: block;
  flex-shrink: 0;
  height: auto;
  max-height: 22px;
  object-fit: contain;
  width: auto;
}

.opencve-segment-tab-icon--cve,
.opencve-segment-tab-icon--nvd {
  max-width: 28px;
}

.opencve-segment-tab-icon--redhat {
  max-width: 18px;
}

.opencve-segment-tab-icon--opencve {
  max-width: 20px;
}

#cve-affected.opencve-segment-tabs .tab-content,
#cve-metrics.opencve-segment-tabs .tab-content {
  min-height: 0;
}

/* CVE detail: sidebar tags */
.cve-tags-list {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cve-tags-add-btn--primary {
  font-weight: 500;
}

.cve-tags-empty-hint {
  margin: 10px 0 0;
}

.cve-tags-modal-help {
  margin-bottom: 0;
  margin-top: 10px;
}

/* CVE detail: Description box */
.cve-description-text {
  text-align: justify;
}

.cve-description-box-body {
  display: flex;
  flex-direction: column;
  padding: 10px;
  padding-bottom: 0;
}

#cve-description-wrapper {
  display: flex;
  flex-direction: column;
}

.cve-description-text-shell {
  padding-bottom: 10px;
}

.cve-description-wrapper.cve-description--collapsed .cve-description-text-shell {
  flex: 0 0 auto;
  align-self: flex-start;
  position: relative;
}

.cve-description-wrapper.cve-description--collapsed .cve-description-text {
  max-height: 7em;
  overflow: hidden;
}

.cve-description-fade-overlay {
  display: none;
}

.cve-description-wrapper.cve-description--collapsed .cve-description-fade-overlay {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1em;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff);
}

.cve-description-see-more-wrap {
  flex-shrink: 0;
  margin-top: auto;
  width: calc(100% + 20px);
  margin-left: -10px;
  margin-right: -10px;
  align-self: stretch;
}

.cve-description-see-more-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
}

.cve-description-see-more-label {
  font-size: 11px;
  font-weight: 500;
}

.cve-description-wrapper.cve-description--collapsed .cve-description-see-more-label--more {
  display: inline;
}

.cve-description-wrapper.cve-description--collapsed .cve-description-see-more-label--less {
  display: none;
}

.cve-description-wrapper:not(.cve-description--collapsed) .cve-description-see-more-label--more {
  display: none;
}

.cve-description-wrapper:not(.cve-description--collapsed) .cve-description-see-more-label--less {
  display: inline;
}

.cve-description-see-more-btn,
.mitre-affected-show-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 22px;
  margin: 0;
  padding: 3px 8px;
  border: 1px solid #ebeef2;
  border-radius: 0 0 2px 2px;
  background-color: #f3f6f9;
  color: #6c757d;
  cursor: pointer;
  line-height: 1.2;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.cve-description-see-more-btn:hover,
.cve-description-see-more-btn:focus,
.mitre-affected-show-more-btn:hover,
.mitre-affected-show-more-btn:focus {
  border: none;
  background-color: #dee2e6;
  color: #444a50;
  outline: none;
}

.cve-description-see-more-btn .fa,
.mitre-affected-show-more-btn .fa {
  font-size: 10px;
  line-height: 1;
  vertical-align: middle;
}

.cve-description-wrapper.cve-description--collapsed .cve-description-see-more-icon--down,
.mitre-affected-wrapper.mitre-collapsed .mitre-affected-show-more-icon--down {
  display: inline-flex;
}

.cve-description-wrapper.cve-description--collapsed .cve-description-see-more-icon--up,
.mitre-affected-wrapper.mitre-collapsed .mitre-affected-show-more-icon--up {
  display: none;
}

.cve-description-wrapper:not(.cve-description--collapsed) .cve-description-see-more-icon--down,
.mitre-affected-wrapper:not(.mitre-collapsed) .mitre-affected-show-more-icon--down {
  display: none;
}

.cve-description-wrapper:not(.cve-description--collapsed) .cve-description-see-more-icon--up,
.mitre-affected-wrapper:not(.mitre-collapsed) .mitre-affected-show-more-icon--up {
  display: inline-flex;
}

/* CVE detail: Summary box */
.cve-summary-layout {
  display: grid;
  grid-template-columns: max-content 1fr;
  align-items: baseline;
  gap: 8px 12px;
}

.cve-summary-layout .cve-summary-item {
  display: contents;
}

.cve-summary-label {
  font-size: 12px;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: baseline;
}

.cve-summary-value {
  color: #555;
  white-space: nowrap;
  vertical-align: baseline;
}

.cve-summary-value--truncate {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

a.cve-summary-cvss-link {
  text-decoration: none;
  color: inherit;
}

a.cve-summary-cvss-link:hover .label,
a.cve-summary-cvss-link:focus .label {
  filter: brightness(0.90);
}

/* CVE detail: in-page section anchors (offset for fixed/sticky header) */
#cve-overview,
#cve-affected,
#cve-remediation,
#cve-tracking,
#cve-advisories,
#cve-metrics,
#cve-references,
#cve-history {
  scroll-margin-top: var(--cve-section-nav-sticky-offset);
}

.opencve-cve-section-empty .opencve-cve-section-empty-header .box-title {
  display: inline-block !important;
  font-weight: 600;
  margin: 0;
  vertical-align: middle;
}

.opencve-cve-section-empty-message {
  color: #8a939e;
  display: inline-block;
  font-size: 13px;
  font-style: italic;
  line-height: 1.35;
  max-width: 62%;
  text-align: right;
  vertical-align: middle;
}

.opencve-cve-section-empty-header::after {
  clear: both;
  content: "";
  display: table;
}

.opencve-cve-section-empty-message a {
  color: #5648d8;
  font-style: normal;
  font-weight: 500;
  text-decoration: none;
}

.opencve-cve-section-empty-message a:hover,
.opencve-cve-section-empty-message a:focus {
  color: #4538c4;
  text-decoration: underline;
}

.cve-detail-section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  margin: 20px 0 0;
  padding: 0;
}

a.cve-detail-section-nav-item {
  border-bottom: 2px solid transparent;
  color: #5c6570;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: -1px;
  padding: 12px 4px 10px;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}

a.cve-detail-section-nav-item:hover,
a.cve-detail-section-nav-item:focus {
  color: #4538c4;
  text-decoration: none;
}

a.cve-detail-section-nav-item.is-active {
  border-bottom-color: #5648d8;
  color: #5648d8;
  font-weight: 600;
}

/* CVE detail: Sources accordion (sidebar) */
.cve-sources-box .cve-sources-list {
  padding: 0;
}

.cve-source-item {
  border-bottom: 1px solid #eef1f5;
}

.cve-source-item:last-child {
  border-bottom: none;
}

a.cve-source-toggle {
  align-items: center;
  color: inherit;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 12px 15px;
  text-decoration: none;
}

a.cve-source-toggle:hover,
a.cve-source-toggle:focus {
  background: #fafbfc;
  color: inherit;
  text-decoration: none;
}

.cve-source-toggle-inner {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  gap: 10px;
  min-width: 0;
}

.cve-source-icon-wrap {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  height: 28px;
  justify-content: center;
  width: 32px;
}

.cve-source-icon-wrap .cve-source-icon {
  display: block;
  height: auto;
  max-height: 28px;
  max-width: 32px;
  object-fit: contain;
  width: auto;
}

.cve-source-heading {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cve-source-name {
  color: #1f2d3d;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.cve-source-preview {
  color: #7f8c8d;
  font-size: 12px;
  line-height: 1.35;
}

.cve-source-chevron {
  color: #95a5a6;
  flex-shrink: 0;
  font-size: 12px;
  transition: transform 0.15s ease;
}

a.cve-source-toggle:not(.collapsed) .cve-source-chevron {
  transform: rotate(180deg);
}

.cve-source-details {
  border-top: 1px solid #eef1f5;
  padding: 12px 15px 14px;
}

.cve-source-meta {
  margin: 0 0 12px;
}

.cve-source-meta-row {
  display: flex;
  font-size: 13px;
  gap: 12px;
  justify-content: space-between;
  padding: 4px 0;
}

.cve-source-meta-row + .cve-source-meta-row {
  border-top: 1px solid #f4f6f8;
}

.cve-source-meta dt {
  color: #7f8c8d;
  flex: 0 0 auto;
  font-weight: 600;
  margin: 0;
  min-width: 72px;
}

.cve-source-meta dd {
  color: #2c3e50;
  flex: 1 1 auto;
  margin: 0;
  text-align: right;
  word-break: break-word;
}

.cve-source-links {
  font-size: 13px;
  margin: 0;
}

.cve-source-links a {
  color: #605ca8;
  font-weight: 500;
  text-decoration: none;
}

.cve-source-links a:hover,
.cve-source-links a:focus {
  color: #4538c4;
  text-decoration: none;
}

.cve-source-links-sep {
  color: #c0c4cc;
  margin: 0 6px;
}

.cve-source-empty {
  margin: 0;
}

/* CVE detail: History (compact summary rows) */
.cve-history-list {
  padding: 0;
}

.cve-history-item {
  border-bottom: 1px solid #eef1f5;
}

.cve-history-item:last-child {
  border-bottom: none;
}

.cve-history-item--older {
  display: none;
}

.cve-history-list.is-showing-all .cve-history-item--older {
  display: block;
}

a.cve-history-toggle {
  align-items: flex-start;
  color: inherit;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 14px 15px;
  text-decoration: none;
}

a.cve-history-toggle:hover,
a.cve-history-toggle:focus {
  background: #fafbfc;
  color: inherit;
  text-decoration: none;
}

.cve-history-toggle-main {
  align-items: flex-start;
  display: flex;
  flex: 1 1 auto;
  gap: 16px;
  min-width: 0;
}

.cve-history-date {
  color: #5c6570;
  flex: 0 0 148px;
  font-size: 13px;
  line-height: 1.4;
}

.cve-history-date-icon {
  color: #95a5a6;
  margin-right: 4px;
}

.cve-history-summary {
  flex: 1 1 auto;
  min-width: 0;
}

.cve-history-title {
  color: #1f2d3d;
  display: block;
  font-size: 14px;
  line-height: 1.35;
}

.cve-history-view {
  align-items: center;
  color: #605ca8;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 500;
  gap: 6px;
  line-height: 1.4;
  padding-top: 1px;
  white-space: nowrap;
}

a.cve-history-toggle:not(.collapsed) .cve-history-chevron {
  transform: rotate(180deg);
}

.cve-history-chevron {
  font-size: 11px;
  transition: transform 0.15s ease;
}

.cve-history-details {
  padding: 0 15px 14px;
}

.cve-history-details .table {
  margin-bottom: 0;
}

.cve-history-show-older-wrap {
  border-top: 1px solid #eef1f5;
  padding: 12px 15px 14px;
  text-align: center;
}

a.cve-history-show-older {
  color: #605ca8;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

a.cve-history-show-older:hover,
a.cve-history-show-older:focus {
  color: #4538c4;
  text-decoration: none;
}

.cve-history-show-older .fa {
  font-size: 11px;
  margin-left: 4px;
}

@media (max-width: 767px) {
  a.cve-history-toggle {
    flex-direction: column;
    gap: 10px;
  }

  .cve-history-toggle-main {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .cve-history-date {
    flex-basis: auto;
  }

  .cve-history-view {
    align-self: flex-start;
  }
}

/* CVE detail: Enrichment tab: constrain long version strings to avoid layout overflow */
#enrichment-affected-table .enrichment-version-cell {
  max-width: 400px;
  vertical-align: top;
}
#enrichment-affected-table .enrichment-version-content {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

/* Mitre table: constrain long constraints strings to avoid layout overflow */
#mitre-affected-table .mitre-constraints-cell {
  max-width: 400px;
  vertical-align: top;
}
#mitre-affected-table .mitre-constraints-content {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

/* Dashboard styles — tabs aligned with project / CVE section nav */
#dashboard-tabs-container.opencve-dashboard-tabs {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 18px;
  margin-left: 0;
}

#dashboard-tabs-container.opencve-dashboard-tabs .opencve-dashboard-tabs-bar {
  align-items: flex-end;
  border-bottom: 1px solid #d6d6d6;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  /* Inset bar to match GridStack default margin (10px) */
  margin-left: 10px;
  margin-right: 10px;
}

#dashboard-tabs-container.opencve-dashboard-tabs .opencve-dashboard-tabs-bar > .nav-tabs {
  align-items: flex-end;
  border-bottom: none;
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  margin-bottom: -1px;
  min-width: 0;
  width: auto;
}

#dashboard-tabs-container.opencve-dashboard-tabs .opencve-dashboard-tabs-actions {
  flex-shrink: 0;
  margin-bottom: 8px;
}

#dashboard-tabs-container.opencve-dashboard-tabs .opencve-dashboard-tabs-bar > .nav-tabs > li.dashboard-tab {
  border: none;
  flex: 0 0 auto;
  float: none;
  margin-bottom: -1px;
  margin-right: 18px;
  width: auto;
}

#dashboard-tabs-container.opencve-dashboard-tabs .opencve-dashboard-tabs-bar > .nav-tabs > li.dashboard-tab.active,
#dashboard-tabs-container.nav-tabs-profile.opencve-dashboard-tabs .nav-tabs > li.dashboard-tab.active {
  border-bottom: none !important;
  border-top: 0;
}

#dashboard-tabs-container.opencve-dashboard-tabs .dashboard-tab-inner {
  align-items: flex-end;
  background: transparent;
  border: none;
  display: inline-flex;
  gap: 4px;
}

#dashboard-tabs-container.opencve-dashboard-tabs .tab-switch {
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 0;
  color: #5c6570;
  display: inline-flex;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
  padding: 12px 2px 10px 4px;
  text-decoration: none;
  transition: color 0.15s ease;
}

#dashboard-tabs-container.opencve-dashboard-tabs .tab-chevron {
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 5px;
  box-shadow: none;
  color: #727c88;
  display: inline-flex;
  flex-shrink: 0;
  height: 28px;
  justify-content: center;
  line-height: 1;
  margin: 0 0 6px;
  padding: 0;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
  width: 28px;
}

#dashboard-tabs-container.opencve-dashboard-tabs .tab-chevron .opencve-dashboard-tab-chevron-icon {
  display: block;
  flex-shrink: 0;
  height: 8px;
  margin-top: 2px;
  width: 12px;
}

#dashboard-tabs-container.opencve-dashboard-tabs .tab-chevron.dropdown-toggle::after {
  content: none;
  display: none;
}

#dashboard-tabs-container.opencve-dashboard-tabs .tab-switch:hover,
#dashboard-tabs-container.opencve-dashboard-tabs .tab-switch:focus {
  background: transparent;
  color: #4538c4;
  text-decoration: none;
}

#dashboard-tabs-container.opencve-dashboard-tabs .tab-chevron:hover,
#dashboard-tabs-container.opencve-dashboard-tabs .tab-chevron:focus,
#dashboard-tabs-container.opencve-dashboard-tabs .tab-chevron.open,
#dashboard-tabs-container.nav-tabs-profile.opencve-dashboard-tabs .nav-tabs > li.dashboard-tab > .dashboard-tab-inner .tab-chevron:hover,
#dashboard-tabs-container.nav-tabs-profile.opencve-dashboard-tabs .nav-tabs > li.dashboard-tab > .dashboard-tab-inner .tab-chevron:focus,
#dashboard-tabs-container.nav-tabs-profile.opencve-dashboard-tabs .nav-tabs > li.dashboard-tab > .dashboard-tab-inner .tab-chevron.open {
  background-color: #e8ecf1 !important;
  color: #5c6570;
  outline: none;
  text-decoration: none;
}

#dashboard-tabs-container.opencve-dashboard-tabs .opencve-dashboard-tabs-bar > .nav-tabs > li.dashboard-tab.active .dashboard-tab-inner {
  border-bottom: 2px solid #5648d8;
  margin-bottom: 0;
}

#dashboard-tabs-container.opencve-dashboard-tabs .opencve-dashboard-tabs-bar > .nav-tabs > li.dashboard-tab.active .tab-switch {
  border-bottom: none;
  color: #5648d8;
  font-weight: 600;
  margin-bottom: 0;
  padding-bottom: 10px;
}

#dashboard-tabs-container.opencve-dashboard-tabs .opencve-dashboard-tabs-bar > .nav-tabs > li.dashboard-tab.active .tab-chevron {
  color: #727c88;
  font-weight: 500;
  margin-bottom: 6px;
}

#dashboard-tabs-container.opencve-dashboard-tabs .opencve-dashboard-tabs-bar > .nav-tabs > li.dashboard-tab.active .tab-chevron:hover,
#dashboard-tabs-container.opencve-dashboard-tabs .opencve-dashboard-tabs-bar > .nav-tabs > li.dashboard-tab.active .tab-chevron:focus,
#dashboard-tabs-container.opencve-dashboard-tabs .opencve-dashboard-tabs-bar > .nav-tabs > li.dashboard-tab.active .tab-chevron.open,
#dashboard-tabs-container.nav-tabs-profile.opencve-dashboard-tabs .nav-tabs > li.dashboard-tab.active > .dashboard-tab-inner .tab-chevron:hover,
#dashboard-tabs-container.nav-tabs-profile.opencve-dashboard-tabs .nav-tabs > li.dashboard-tab.active > .dashboard-tab-inner .tab-chevron:focus,
#dashboard-tabs-container.nav-tabs-profile.opencve-dashboard-tabs .nav-tabs > li.dashboard-tab.active > .dashboard-tab-inner .tab-chevron.open {
  background-color: #e8ecf1 !important;
  color: #5c6570 !important;
}

#dashboard-tabs-container.opencve-dashboard-tabs .opencve-dashboard-add-tab {
  font-weight: 500;
  white-space: nowrap;
}

#dashboard-tabs-container.opencve-dashboard-tabs .opencve-dashboard-add-tab .fa-plus {
  margin-right: 6px;
}

.dashboard-tab-inner .dashboard-tab-dropdown {
  align-items: center;
  display: inline-flex;
  flex-shrink: 0;
}
#dashboard-tabs-container .opencve-dashboard-tab-dropdown {
  margin-right: -2px;
  margin-top: 6px;
}
.dashboard-tab-default-icon {
  color: inherit;
  font-size: 9px;
  margin-left: 5px;
  opacity: 0.88;
  position: relative;
  top: -1px;
  vertical-align: baseline;
}
.btn-add-widget {
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 6px;
  padding: 5px 10px;
  margin-left: 12px;
  display: inline-flex;
  align-items: center;
}

.grid-stack-empty-add-widget {
  border-radius: 8px;
  gap: 8px;
  margin-left: 0;
  padding: 14px 24px;
}

/* Dashboard widgets — flex header (avoid AdminLTE .box-header > .box-tools absolute positioning) */
.grid-stack-item-content > .box-header.opencve-widget-header {
  align-items: center;
  display: flex !important;
  flex-wrap: nowrap;
  padding: 10px;
  position: relative;
}

.grid-stack-item-content > .opencve-widget-header .opencve-widget-header-actions {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 0;
}

.grid-stack-item-content > .opencve-widget-header .opencve-widget-header-actions-right {
  margin-left: auto;
}

.grid-stack-item-content > .opencve-widget-header .opencve-widget-header-title {
  align-self: center;
  color: #444;
  flex: 1 1 auto;
  font-size: 16px;
  font-weight: 400;
  margin: 0 0 0 7px;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.grid-stack-item-content > .opencve-widget-header .btn.btn-box-tool {
  align-items: center;
  display: inline-flex;
  float: none;
  justify-content: center;
  line-height: 1;
  margin: 0;
  padding: 5px;
}

.grid-stack-item-content > .opencve-widget-header .opencve-widget-drag-handle.btn-box-tool {
  color: #8a939e;
  cursor: grab;
}

.grid-stack-item-content > .opencve-widget-header .opencve-widget-drag-handle.btn-box-tool:hover,
.grid-stack-item-content > .opencve-widget-header .opencve-widget-drag-handle.btn-box-tool:focus {
  color: #5c6570;
}

.grid-stack-item-content > .opencve-widget-header .opencve-widget-drag-handle.btn-box-tool:active,
.grid-stack-item.ui-draggable-dragging .opencve-widget-header .opencve-widget-drag-handle.btn-box-tool {
  cursor: grabbing;
}

.grid-stack-item-content > .opencve-widget-header .opencve-widget-drag-grip {
  display: block;
  flex-shrink: 0;
  height: 12px;
  pointer-events: none;
  width: 8px;
}

#organization-ajax-messages:empty {
  display: none;
}

#table-members .member-role-select {
  max-width: 120px;
}

#table-project-members .project-role-select {
  width: 160px;
  max-width: 160px;
}

#table-project-members .select2-container {
  width: 160px !important;
}

/* Audit logs */
#table-audit-logs tr.auditlog-row {
  cursor: pointer;
}
tr.auditlog-detail-row > td {
  border-top: none;
}
#table-audit-logs.table-hover tbody tr.auditlog-detail-row:hover td,
#table-audit-logs.table-hover tbody tr.auditlog-detail-row:hover th {
  background-color: #fff !important;
}
#table-audit-logs tbody tr.auditlog-detail-row:hover {
  background-color: #fff !important;
}
.auditlog-detail-changes {
  background-color: #fff;
}
.auditlog-detail-changes .table {
  background-color: #fff;
}
.auditlog-detail-changes .auditlog-modal-changes-table tbody tr {
  background-color: #fff;
}
.auditlog-modal-changes-table {
  margin-bottom: 0;
  background-color: #fff;
}
.auditlog-modal-changes-table thead th {
  background-color: #fff;
  font-weight: 600;
  border-bottom: 1px solid #ddd;
}
.auditlog-modal-changes-table tbody td:first-child {
  font-weight: 500;
  color: #555;
  width: 25%;
  vertical-align: top;
}
.auditlog-modal-changes-table tbody td {
  padding: 8px 12px;
  word-break: break-word;
}
.auditlog-json {
  white-space: pre-wrap;
  word-break: normal;
  margin: 0;
  padding: 8px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 12px;
  max-height: 300px;
  overflow: auto;
}


.try-result-code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Automation form (create/edit/detail) */
.automation-section {
  margin-bottom: 30px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}
.automation-section .section-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
#conditions-section .section-header,
#when-section .section-header {
  margin-bottom: 15px;
}
/* THEN block: margin under its header (actions section follows #conditions-section) */
#conditions-section + .automation-section .section-header {
  margin-bottom: 15px;
}
.automation-section .section-label {
  display: inline-block;
  background: #8B5CF6;
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
}
.automation-section .section-sublabel {
  display: inline-block;
  background: #f4f4f4;
  color: #999;
  border: 1px solid #ddd;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.automation-section .section-description {
  color: #666;
  font-size: 14px;
}
.automation-section .condition-item,
.automation-section .action-item {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.automation-section .condition-item-fixed,
.automation-section .action-item-fixed {
  padding-top: 19px;
  padding-bottom: 19px;
}

.automation-section .condition-item-content,
.automation-section .action-item-content {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}
.automation-section .condition-item-label,
.automation-section .action-item-label {
  font-weight: 500;
  color: #333;
  flex: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}
.automation-section .condition-item-label .form-control,
.automation-section .action-item-label .form-control {
  vertical-align: middle;
  height: auto;
  padding: 4px 8px;
  font-size: 14px;
}
.automation-section .remove-btn {
  background: none;
  border: none;
  color: #dc3545;
  cursor: pointer;
  padding: 5px 10px;
  font-size: 16px;
}
.automation-section .remove-btn:hover {
  color: #c82333;
}
.add-dropdown {
  padding: 8px 12px;
  border: 1px solid #8B5CF6;
  border-radius: 6px;
  background: white;
  font-size: 14px;
  max-width: 300px;
}
#condition-groups-container .automation-section {
  margin-top: 20px;
}
.automation-section .btn-add-or-group {
  margin-top: 12px;
}
.automation-section .section-header-with-remove {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.automation-section .btn-remove-or-group {
  margin-left: auto;
  color: #dc3545;
  border-color: #dc3545;
}
.automation-section .btn-remove-or-group:hover {
  color: #fff;
  background-color: #dc3545;
  border-color: #dc3545;
}
.add-condition-dropdown,
#add-action-dropdown,
#add-trigger-dropdown {
  width: 100%;
  max-width: none;
}
.add-condition-dropdown + .select2-container,
#add-action-dropdown + .select2-container {
  width: 100% !important;
}
.add-dropdown:focus {
  outline: none;
  border-color: #7c3aed;
}
/* Trigger description with inline frequency select (same line as text) */
.automation-section .trigger-description-inline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 5px;
}
.automation-section .trigger-frequency-select {
  display: inline-block;
  width: 120px;
  margin: 0 5px;
  vertical-align: middle;
  height: auto;
  padding: 4px 8px;
  font-size: 14px;
}
.trigger-description-inline .select2-timezone,
.trigger-description-inline #id_schedule_timezone {
  display: inline-block;
  width: 220px;
  margin: 0 5px;
  vertical-align: middle;
  height: auto;
  padding: 4px 8px;
  font-size: 14px;
}
.trigger-description-inline .trigger-inline-time {
  display: inline-block;
  width: 95px;
  max-width: 95px;
  min-width: 0;
  height: 34px;
  margin: 0 5px;
  vertical-align: middle;
  padding: 6px 8px;
  font-size: 14px;
  line-height: 20px;
  box-sizing: border-box;
}
.trigger-description-inline .trigger-inline-time::-webkit-calendar-picker-indicator {
  margin: 0;
  padding: 0;
}
.trigger-description-inline .trigger-weekday-select {
  display: inline-block;
  width: 140px;
  margin: 0 5px;
  vertical-align: middle;
  height: 34px;
  padding: 6px 8px;
  font-size: 14px;
  line-height: 20px;
  box-sizing: border-box;
}
.trigger-weekday-inline {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 5px;
}
.trigger-description-inline .select2-container {
  display: inline-block;
  vertical-align: middle;
  margin: 0 5px;
}
.trigger-description-inline .select2-container .select2-selection--single {
  height: 34px;
  border-color: #d2d6de;
}
.trigger-description-inline .select2-container .select2-selection__rendered {
  padding-left: 8px;
  font-size: 14px;
}
.trigger-description-inline .select2-container .select2-selection__arrow {
  height: 32px;
}
.trigger-description-inline #id_schedule_timezone + .select2-container,
.trigger-description-inline #id_schedule_weekday + .select2-container {
  width: auto !important;
  min-width: 140px;
}
.trigger-description-inline #id_schedule_weekday + .select2-container {
  width: 140px !important;
}
.trigger-description-inline #id_schedule_timezone + .select2-container {
  min-width: 220px;
}
/* New automation modal: trigger type choice (alert / report) */
.automation-trigger-options {
  margin: 0 -5px;
}
.automation-trigger-options .trigger-option {
  display: block;
  padding: 24px 16px;
  margin-bottom: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background: #fafafa;
  color: #333;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.automation-trigger-options .trigger-option:hover {
  border-color: #8B5CF6;
  background: #f5f0ff;
  color: #333;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.15);
}
.trigger-option-icon {
  display: block;
  font-size: 48px;
  margin-bottom: 12px;
  color: #8B5CF6;
}
.trigger-option-alert .trigger-option-icon { color: #f59e0b; }
.trigger-option-report .trigger-option-icon { color: #3b82f6; }
.trigger-option-alert:hover .trigger-option-icon { color: #d97706; }
.trigger-option-report:hover .trigger-option-icon { color: #2563eb; }
.trigger-option-title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.trigger-option-desc {
  display: block;
  font-size: 13px;
  color: #666;
  line-height: 1.4;
  margin-bottom: 12px;
}
.trigger-option-select {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #8B5CF6;
}
.trigger-option:hover .trigger-option-select {
  text-decoration: underline;
}

/* New automation modal: template list (rectangles) */
.new-automation-step {
  min-height: 80px;
}
.automation-templates-step-title {
  font-size: 18px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 16px;
  color: #333;
}
.new-automation-back-link {
  color: #666;
  text-decoration: none;
}
.new-automation-back-link:hover {
  color: #333;
  text-decoration: underline;
}
.automation-template-list {
  margin-top: 8px;
}
.automation-template-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 14px;
  margin-bottom: 8px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #fafafa;
  color: #333;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.automation-template-option:hover {
  border-color: #8B5CF6;
  background: #f5f0ff;
  color: #333;
  text-decoration: none;
  box-shadow: 0 1px 6px rgba(139, 92, 246, 0.12);
}
.automation-template-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.automation-template-desc {
  display: block;
  font-size: 12px;
  color: #666;
  line-height: 1.35;
}

/* New automation modal: OR divider between templates and Custom */
.automation-template-or-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
}
.automation-template-or-divider-line {
  flex: 1;
  height: 1px;
  background: #ddd;
}
.automation-template-or-divider-text {
  font-size: 11px;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* New notification modal: type list */
.notification-type-list {
  margin-top: 4px;
}
.notification-type-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  margin-bottom: 8px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #fafafa;
  color: #333;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.notification-type-option:last-child {
  margin-bottom: 0;
}
.notification-type-option:hover {
  border-color: #8B5CF6;
  background: #f5f0ff;
  color: #333;
  text-decoration: none;
  box-shadow: 0 1px 6px rgba(139, 92, 246, 0.12);
}
.notification-type-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.notification-type-icon img {
  max-width: 32px;
  max-height: 32px;
}
.notification-type-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.notification-type-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}
.notification-type-desc {
  display: block;
  font-size: 12px;
  color: #666;
  line-height: 1.35;
}

/* Notification save form: read-only type field */
.notification-type-readonly {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  min-height: 34px;
  background-color: #eee;
  border: 1px solid #d2d6de;
  border-radius: 0;
  color: #555;
}
.notification-type-readonly img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.notification-type-readonly span {
  font-weight: 600;
}

.automation-type-icon {
  width: 20px;
  font-size: 18px;
  text-align: center;
  flex-shrink: 0;
}
.automation-type-icon--alert {
  color: #f59e0b;
}
.automation-type-icon--report {
  color: #3b82f6;
}

.automation-summary-body {
  padding: 12px 16px 14px;
}

.automation-summary-columns > [class*="col-"] + [class*="col-"] {
  border-left: 1px solid #f0f0f0;
}

@media (max-width: 767px) {
  .automation-summary-columns > [class*="col-"] + [class*="col-"] {
    border-left: none;
    border-top: 1px solid #f0f0f0;
    margin-top: 8px;
    padding-top: 8px;
  }
}

.automation-summary-type {
  display: flex;
  align-items: center;
  gap: 8px;
}

.automation-summary-dl {
  margin: 0;
}

.automation-summary-dl dt {
  width: 110px;
  padding-top: 1px;
  line-height: 1.45;
  color: #666;
}

.automation-summary-dl dd {
  margin-left: 125px;
  margin-bottom: 10px;
  padding-top: 1px;
  line-height: 1.45;
}

.automation-summary-dl dd:last-child {
  margin-bottom: 0;
}

.automation-flow-graph {
  overflow: hidden;
  padding: 8px 0 16px;
  min-height: 120px;
  width: 100%;
}

.automation-flow-graph__viewport {
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.automation-flow-graph__stage {
  position: relative;
  flex-shrink: 0;
}

.automation-flow-graph__edges {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

.automation-flow-graph__edge {
  fill: none;
  stroke: #6d28d9;
  stroke-width: 1.5;
}

.automation-flow-graph__nodes {
  position: relative;
  width: 100%;
  height: 100%;
}

.automation-flow-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background-color: #f5f3ff;
  border: 1px solid #7c3aed;
  border-radius: 10px;
  color: #5b21b6;
  box-sizing: border-box;
  box-shadow: 0 1px 2px rgba(91, 33, 182, 0.08);
}

.automation-flow-node--muted {
  border-color: #c4b5fd;
  color: #7c3aed;
  background-color: #faf5ff;
  opacity: 0.85;
}

.automation-flow-group-frame {
  position: absolute;
  border: 1px solid #7c3aed;
  border-radius: 12px;
  background-color: #faf5ff;
  box-sizing: border-box;
  pointer-events: none;
  z-index: 0;
}

.automation-flow-group-frame__header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 44px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  font-weight: 700;
  font-size: 14px;
  color: #5b21b6;
  border-bottom: 1px solid #ddd6fe;
  background-color: #ede9fe;
  border-radius: 10px 10px 0 0;
}

.automation-flow-graph__nodes .automation-flow-node {
  z-index: 1;
}

.automation-flow-node__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #7c3aed;
  border-radius: 8px;
  color: #f5f3ff;
  font-size: 14px;
}

.automation-flow-node__content {
  flex: 1;
  min-width: 0;
}

.automation-flow-node__title {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
}

.automation-flow-node__subtitle {
  font-size: 12px;
  color: #6d28d9;
  margin-top: 2px;
  line-height: 1.35;
}

.notification-filter-icon {
  width: 14px;
  height: 14px;
  margin-right: 6px;
  vertical-align: -2px;
}

/* Automation execution drawer: result cards with status bar on the left */
.drawer-result-card.panel {
  border-left-width: 4px;
  border-left-style: solid;
}
.drawer-result-card--success {
  border-left-color: #5cb85c;
}
.drawer-result-card--skipped {
  border-left-color: #777;
}
.drawer-result-card--failed {
  border-left-color: #d9534f;
}

/* ── Automation execution drawer ─────────────────────────────────────────── */
.automation-result-icon {
  margin-left: 6px;
}
td .automation-result-icon:first-of-type {
  margin-left: 0;
}
.automation-drawer-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.3); z-index: 1040;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.automation-drawer-overlay.open {
  opacity: 1; pointer-events: auto;
}
.automation-drawer {
  position: fixed; top: 0; right: 0; width: 860px; max-width: 92%; height: 100%;
  background: #fff; box-shadow: -2px 0 12px rgba(0,0,0,0.2); z-index: 1050;
  overflow: hidden; display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease-out;
}
.automation-drawer.open {
  transform: translateX(0);
}
.automation-drawer-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 15px; border-bottom: 1px solid #eee;
}
.automation-drawer-title {
  margin: 0; font-size: 22px; font-weight: 600; color: #090031;
}
.automation-drawer-body {
  flex: 1; overflow-y: auto; padding: 0; min-height: 0;
}
.drawer-with-nav {
  display: flex; height: 100%; min-height: 0;
}
.drawer-nav {
  flex-shrink: 0; width: 48px; background: #f4f4f4; border-right: 1px solid #ddd;
  display: flex; flex-direction: column; align-items: center; padding: 12px 0;
  overflow: visible;
}
.drawer-nav-item {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 40px;
  color: #777; text-decoration: none; position: relative; margin-bottom: 4px;
  transition: background 0.15s ease, color 0.15s ease;
}
.drawer-nav-item:hover { color: #333; background: #e8e8e8; }
.drawer-nav-item.active { color: #5648D8; background: #ede9fc; }
.drawer-nav-item.active::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #5648D8;
}
.drawer-nav-badge {
  position: absolute; top: 4px; right: 4px;
  min-width: 16px; height: 16px; padding: 0 4px;
  font-size: 10px; font-weight: 600; line-height: 16px; text-align: center;
  color: #fff; background: #d9534f; border-radius: 8px;
  box-sizing: border-box;
}
.drawer-nav-tooltip {
  position: absolute; left: 100%; top: 50%; transform: translateY(-50%);
  margin-left: 10px; padding: 6px 12px;
  background: #333; color: #fff; font-size: 12px; white-space: nowrap;
  border-radius: 6px; pointer-events: none;
  opacity: 0; visibility: hidden; transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 20; box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.drawer-nav-item:hover .drawer-nav-tooltip,
.drawer-nav-item:focus .drawer-nav-tooltip {
  opacity: 1; visibility: visible;
}
.drawer-content {
  flex: 1; overflow-y: auto; padding: 15px; min-height: 0;
}
.drawer-result-card-body {
  display: flex; align-items: center; justify-content: space-between; gap: 15px;
}
.drawer-result-card-text { flex: 1; min-width: 0; }
.drawer-result-card-action { flex-shrink: 0; }
.drawer-impact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin-top: 10px;
}
.drawer-impact-block {
  min-height: 140px; padding: 10px 12px;
  border: 1px solid #e0e0e0; border-radius: 6px; background: #fafafa;
}
.drawer-impact-block-title {
  font-size: 12px; font-weight: 600; margin: 0 0 8px 0; color: #555;
}
.drawer-impact-subtext-row { display: flex; justify-content: space-between; font-size: 11px; color: #666; margin: 4px 0 0 0; }
.drawer-impact-canvas { display: block; max-height: 72px; }
.drawer-impact-canvas-vendors { max-height: 80px; }
.drawer-impact-kev-block {
  margin-top: 4px; display: flex; align-items: center; gap: 14px;
}
.drawer-impact-kev-donut-wrap {
  flex-shrink: 0; position: relative; width: 90px; height: 90px;
}
.drawer-impact-kev-donut { display: block; width: 90px; height: 90px; }
.drawer-impact-kev-text { min-width: 0; }
.drawer-impact-kev-main { font-size: 15px; color: #333; margin: 0 0 6px 0; }
.drawer-impact-kev-sub { font-size: 12px; color: #666; margin: 0; }
.drawer-impact-nodata { font-size: 12px; color: #999; margin-top: 16px; font-style: italic; text-align: center; }
.drawer-section {
  padding-top: 24px; margin-top: 24px; border-top: 1px solid #e0e0e0;
}
.drawer-section:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.drawer-section h5 {
  font-size: 17px; font-weight: 600; margin: 0 0 10px 0; color: #253841;
  padding: 4px 8px; margin-left: -8px;
  border-radius: 3px;
}
.drawer-section.highlight-from-menu h5 {
  animation: drawer-title-highlight 1.5s ease;
}
@keyframes drawer-title-highlight {
  0%   { background-color: #ede9fc; box-shadow: inset 3px 0 0 #5648D8; }
  70%  { background-color: #ede9fc; box-shadow: inset 3px 0 0 #5648D8; }
  100% { background-color: transparent; box-shadow: inset 3px 0 0 transparent; }
}

/* Execution row – clickable */
.automation-execution-row { cursor: pointer; }

/* Overview form action bar */
.automation-form-actions { margin-top: 12px; }

/* Execution info dl */
.drawer-dl { margin-bottom: 0; }

/* CVE table – matched vendor/product labels */
.drawer-cves .label { margin-right: 3px; }
.drawer-cves .label:last-child { margin-right: 0; }

/* Result card spacing & panel padding */
.drawer-result-card { margin-bottom: 10px; }
.drawer-result-card-panel { padding: 12px; }

/* Result card header text */
.drawer-result-card-title   { margin: 0 0 4px 0; }
.drawer-result-card-summary { margin: 0; }

/* Inline detail – HTTP status line */
.drawer-detail-status { margin: 0 0 10px 0; }

/* Inline detail – compact error alert */
.drawer-detail-alert {
  padding: 6px 10px;
  margin-bottom: 10px;
  font-size: 12px;
}

/* Inline detail – tab nav flush */
.drawer-detail-tabs { margin-bottom: 0; }

/* Inline detail – URL line */
.drawer-detail-url { margin: 0 0 8px 0; font-size: 12px; }
.drawer-detail-url code { word-break: break-all; font-size: 11px; }

/* Inline detail – section labels (Headers, Body…) */
.drawer-detail-label {
  margin: 0 0 4px 0;
  font-size: 12px;
  font-weight: 600;
}
.drawer-detail-label--mt { margin-top: 8px; }

/* Inline detail – empty state */
.drawer-detail-empty { font-size: 12px; margin: 0; }

/* Inline detail – generic key/value table cells */
.drawer-detail-table-key { width: 30%; font-weight: 600; }
.drawer-detail-table-val { word-break: break-all; }

/* Details toggle chevron */
.drawer-result-detail-toggle .fa-chevron-up   { display: inline-block; }
.drawer-result-detail-toggle .fa-chevron-down  { display: none; }
.drawer-result-detail-toggle.collapsed .fa-chevron-up  { display: none; }
.drawer-result-detail-toggle.collapsed .fa-chevron-down { display: inline-block; }

/* Inline details panel */
.drawer-result-card-detail {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e8e8e8;
}
.drawer-result-tab-content {
  border: 1px solid #ddd;
  border-top: none;
  padding: 10px 12px;
  background: #fff;
}
.drawer-detail-code {
  background: #f5f5f5;
  border-radius: 3px;
  padding: 6px 8px;
  font-size: 11px;
  overflow: auto;
}
.drawer-detail-code--sm  { max-height: 120px; }
.drawer-detail-code--body { max-height: 160px; white-space: pre-wrap; word-break: break-all; margin: 0; }
.drawer-detail-kv {
  display: block;
  line-height: 1.7;
}
.drawer-detail-table {
  font-size: 12px;
  margin-bottom: 0;
}
.drawer-detail-table td {
  border-top: none;
  padding: 3px 6px;
}
.drawer-detail-table tr + tr td {
  border-top: 1px solid #f0f0f0;
}

/* Sidebar: organization switcher (custom dropdown) */
.skin-opencve .sidebar-form {
  border: none !important;
  background: transparent;
  border-radius: 0;
  margin: 10px;
  padding: 0;
  overflow: visible;
}

.skin-opencve .sidebar-org-picker {
  position: relative;
  width: 100%;
}

.skin-opencve .sidebar-org-picker__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  height: 35px;
  margin: 0;
  padding: 0 10px 0 8px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.06);
  color: #f0f4f8;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}

.skin-opencve .sidebar-org-picker__trigger:focus {
  outline: none;
  border-color: rgba(110, 231, 210, 0.35);
}

.skin-opencve .sidebar-org-picker.is-open .sidebar-org-picker__trigger {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.skin-opencve .sidebar-org-picker__label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.skin-opencve .sidebar-org-picker__chevron {
  flex-shrink: 0;
  font-size: 10px;
  color: #b8c0cc;
  transition: transform 0.15s ease;
}

.skin-opencve .sidebar-org-picker.is-open .sidebar-org-picker__chevron {
  transform: rotate(180deg);
}

.skin-opencve .sidebar-org-picker__menu {
  list-style: none;
  margin: 0;
  padding: 4px;
  position: absolute;
  z-index: 1100;
  left: 0;
  right: 0;
  top: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: none;
  border-radius: 0 0 8px 8px;
  background-color: #120e28;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.skin-opencve .sidebar-org-picker__item {
  margin: 0;
  padding: 0;
}

.skin-opencve .sidebar-org-picker__option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 8px 10px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #f0f4f8;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}

.skin-opencve .sidebar-org-picker__option:hover,
.skin-opencve .sidebar-org-picker__option:focus {
  outline: none;
  background-color: rgba(86, 72, 216, 0.45);
}

.skin-opencve .sidebar-org-picker__check {
  flex-shrink: 0;
  width: 14px;
  text-align: center;
  color: #6ee7d2;
  font-size: 11px;
  line-height: 1;
}

.skin-opencve .sidebar-org-picker__name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Project overview (formerly project dashboard) */
.opencve-project-overview-status-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: 20px;
}

@media (max-width: 1199px) {
  .opencve-project-overview-status-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .opencve-project-overview-status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

a.opencve-project-overview-status-card {
  background: #fff;
  border: 1px solid #e2e6ea;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 88px;
  padding: 14px 16px;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

a.opencve-project-overview-status-card:hover,
a.opencve-project-overview-status-card:focus {
  border-color: #c4b5fd;
  box-shadow: 0 2px 8px rgba(86, 72, 216, 0.08);
  color: inherit;
  text-decoration: none;
}

.opencve-project-overview-status-card-top {
  align-items: center;
  display: flex;
  gap: 8px;
  min-width: 0;
}

.opencve-project-overview-status-label {
  color: #5c6570;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.opencve-project-overview-status-count {
  color: #1f2d3d;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
}

.opencve-project-overview-box {
  margin-bottom: 16px;
}

.opencve-project-overview-box .box-header .box-tools .opencve-project-overview-box-link {
  display: inline-block;
  line-height: 1.42857143;
  padding: 0;
}

.opencve-project-overview-box-link {
  color: #605ca8;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.opencve-project-overview-box-link:hover,
.opencve-project-overview-box-link:focus {
  color: #4a4585;
  text-decoration: none;
}

.opencve-project-overview-box-body {
  padding-top: 12px;
}

.opencve-project-overview-cve-table {
  margin-bottom: 0;
}

.opencve-project-overview-cve-table > thead > tr > th {
  border-bottom: 1px solid #eef1f5;
  color: #6c757d;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.opencve-project-overview-cve-id a {
  color: #5648d8;
  font-weight: 600;
}

.opencve-project-overview-cve-summary {
  color: #5c6570;
  font-size: 13px;
  line-height: 1.45;
  max-width: 420px;
}

.opencve-project-overview-signal-badges {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  white-space: nowrap;
}

.opencve-project-overview-automation-list,
.opencve-project-overview-assignee-list,
.opencve-project-overview-member-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.opencve-project-overview-automation-item {
  align-items: center;
  border-top: 1px solid #eef1f5;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px 0;
}

.opencve-project-overview-automation-item:first-child {
  border-top: none;
  padding-top: 0;
}

.opencve-project-overview-automation-main {
  min-width: 0;
}

.opencve-project-overview-automation-name {
  color: #1f2d3d;
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
}

.opencve-project-overview-automation-meta {
  color: #9ca3af;
  font-size: 12px;
}

.opencve-project-overview-run-status {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 500;
  gap: 4px;
  padding: 4px 10px;
}

.opencve-project-overview-run-status--success {
  background: #ecfdf3;
  color: #166534;
}

.opencve-project-overview-run-status--failed {
  background: #fef2f2;
  color: #b91c1c;
}

.opencve-project-overview-run-status--skipped,
.opencve-project-overview-run-status--muted {
  background: #f3f4f6;
  color: #6b7280;
}

.opencve-project-overview-assignee-item {
  border-top: 1px solid #eef1f5;
  padding: 10px 0;
}

.opencve-project-overview-assignee-item:first-child {
  border-top: none;
  padding-top: 0;
}

a.opencve-project-overview-assignee-link {
  align-items: center;
  color: inherit;
  display: flex;
  gap: 10px;
  text-decoration: none;
}

a.opencve-project-overview-assignee-link:hover,
a.opencve-project-overview-assignee-link:focus {
  color: inherit;
  text-decoration: none;
}

.opencve-project-overview-assignee-body {
  flex: 1 1 auto;
  min-width: 0;
}

.opencve-project-overview-assignee-name {
  color: #1f2d3d;
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.opencve-project-overview-assignee-bar-track {
  background: #eef1f5;
  border-radius: 999px;
  display: block;
  height: 6px;
  overflow: hidden;
  width: 100%;
}

.opencve-project-overview-assignee-bar-fill {
  background: #5648d8;
  border-radius: 999px;
  display: block;
  height: 100%;
  min-width: 4px;
}

.opencve-project-overview-assignee-count {
  color: #1f2d3d;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  min-width: 1.5em;
  text-align: right;
}

.opencve-project-overview-reports-body {
  padding-top: 0;
}

.opencve-project-overview-reports-body .last-reports-widget {
  margin-bottom: 0;
}

.opencve-project-overview-subscription-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.opencve-project-overview-member-item {
  align-items: center;
  border-top: 1px solid #eef1f5;
  display: flex;
  gap: 10px;
  padding: 10px 0;
}

.opencve-project-overview-member-item:first-child {
  border-top: none;
  padding-top: 0;
}

.opencve-project-overview-member-name {
  color: #1f2d3d;
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.opencve-project-overview-member-email {
  color: #9ca3af;
  display: block;
  font-size: 12px;
}

.opencve-project-overview-empty {
  padding: 8px 4px 4px;
  text-align: center;
}

.opencve-project-overview-empty--featured {
  padding: 28px 16px 20px;
}

.opencve-project-overview-empty-icon {
  align-items: center;
  background: #f3f4f6;
  border-radius: 50%;
  color: #9ca3af;
  display: inline-flex;
  font-size: 22px;
  height: 52px;
  justify-content: center;
  margin-bottom: 14px;
  width: 52px;
}

.opencve-project-overview-empty--featured .opencve-project-overview-empty-icon {
  font-size: 26px;
  height: 64px;
  margin-bottom: 16px;
  width: 64px;
}

.opencve-project-overview-empty-title {
  color: #1f2d3d;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 6px;
}

.opencve-project-overview-empty--featured .opencve-project-overview-empty-title {
  font-size: 16px;
}

.opencve-project-overview-empty-text {
  color: #6b7280;
  font-size: 13px;
  line-height: 1.45;
  margin: 0 auto 14px;
  max-width: 360px;
}

.opencve-project-overview-empty--featured .opencve-project-overview-empty-text {
  max-width: 420px;
}

.opencve-project-overview-empty-cta {
  margin-top: 4px;
}

.opencve-project-overview-empty-link {
  color: #605ca8;
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  margin-top: 2px;
  text-decoration: none;
}

.opencve-project-overview-empty-link:hover,
.opencve-project-overview-empty-link:focus {
  color: #4a4585;
  text-decoration: none;
}