:root {
  --idrept-primary: #32546E;
  --idrept-secondary: #537085;
  --idrept-mid: #738A9C;
  --idrept-light-steel: #9AABB8;
  --idrept-blue-soft: #80A7B8;
  --idrept-mist: #9AB9C7;
  --idrept-border: #B8CED7;
  --idrept-bg-tint: #D1DFE6;
  --idrept-accent: #F3485B;
  --idrept-ink: #1F2A33;
  --idrept-muted: #5D6C78;
  --idrept-bg: #F6F8FA;
  --idrept-surface: #FFFFFF;
  --idrept-surface-alt: #F1F5F7;
  --idrept-radius-sm: 0.4rem;
  --idrept-radius: 0.7rem;
  --idrept-radius-lg: 1rem;
  --idrept-shadow-sm: 0 6px 20px rgba(50, 84, 110, 0.06);
  --idrept-shadow-md: 0 14px 34px rgba(50, 84, 110, 0.10);
  --idrept-focus: 0 0 0 0.22rem rgba(128, 167, 184, 0.24);
}

.idrept-shell {
  color: var(--idrept-ink);
  max-width: 100%;
}

.idrept-shell,
.idrept-shell * {
  box-sizing: border-box;
}

.idrept-shell a {
  color: var(--idrept-primary);
  text-decoration: none;
}

.idrept-shell a:hover {
  color: var(--idrept-secondary);
}

.idrept-shell p,
.idrept-shell li,
.idrept-shell td,
.idrept-shell th,
.idrept-shell label,
.idrept-shell .text-muted {
  line-height: 1.6;
}

.idrept-shell .text-muted {
  color: var(--idrept-muted) !important;
}

.idrept-shell h1,
.idrept-shell h2,
.idrept-shell h3,
.idrept-shell h4,
.idrept-shell h5,
.idrept-shell h6 {
  color: var(--idrept-primary);
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.idrept-shell .card {
  border: 1px solid var(--idrept-border) !important;
  border-radius: var(--idrept-radius);
  box-shadow: var(--idrept-shadow-sm);
  background: var(--idrept-surface);
}

.idrept-shell .card-body {
  padding: 1.35rem 1.35rem;
}

.idrept-page-header {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(241,245,247,0.92) 100%);
}

.idrept-page-header::after {
  content: "";
  position: absolute;
  top: -2.2rem;
  right: -2.2rem;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(154,185,199,0.22) 0%, rgba(154,185,199,0) 72%);
  pointer-events: none;
}

.idrept-title {
  margin: 0;
  font-size: clamp(1.95rem, 3vw, 2.45rem);
  font-weight: 700;
  color: var(--idrept-primary);
}

.idrept-subtitle {
  color: var(--idrept-ink);
  font-size: 1.03rem;
  line-height: 1.65;
  max-width: 52rem;
}

.idrept-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  border-top: 1px solid rgba(184, 206, 215, 0.7);
  padding-top: 1rem;
}

.idrept-nav .btn {
  min-width: 7.5rem;
  border-radius: 999px;
  border-color: rgba(184, 206, 215, 0.95);
  color: var(--idrept-primary);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.78);
  padding: 0.5rem 0.9rem;
}

.idrept-nav .btn:hover,
.idrept-nav .btn:focus {
  background: rgba(154, 185, 199, 0.16);
  border-color: var(--idrept-blue-soft);
  color: var(--idrept-primary);
  box-shadow: none;
}

.idrept-shell .btn-primary {
  background-color: var(--idrept-primary);
  border-color: var(--idrept-primary);
  border-radius: var(--idrept-radius-sm);
  font-weight: 600;
}

.idrept-shell .btn-primary:hover,
.idrept-shell .btn-primary:focus {
  background-color: var(--idrept-secondary);
  border-color: var(--idrept-secondary);
}

.idrept-shell .btn-outline-primary {
  color: var(--idrept-primary);
  border-color: var(--idrept-border);
  border-radius: var(--idrept-radius-sm);
  font-weight: 600;
}

.idrept-shell .btn-outline-primary:hover,
.idrept-shell .btn-outline-primary:focus {
  background: rgba(154, 185, 199, 0.14);
  border-color: var(--idrept-blue-soft);
  color: var(--idrept-primary);
}

.idrept-shell .btn-outline-secondary {
  border-radius: var(--idrept-radius-sm);
  font-weight: 600;
}

.idrept-shell .badge {
  font-weight: 600;
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
}

.idrept-shell .text-bg-primary {
  background-color: var(--idrept-primary) !important;
  color: #fff !important;
}

.idrept-shell .text-bg-secondary {
  background-color: var(--idrept-secondary) !important;
  color: #fff !important;
}

.idrept-shell .text-bg-light {
  background: rgba(154, 185, 199, 0.16) !important;
  color: var(--idrept-primary) !important;
  border: 1px solid rgba(184, 206, 215, 0.96);
}

.idrept-shell .form-label {
  color: var(--idrept-primary);
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.idrept-shell .form-control,
.idrept-shell .form-select,
.idrept-shell input,
.idrept-shell select,
.idrept-shell textarea {
  border-radius: var(--idrept-radius-sm);
  border: 1px solid var(--idrept-border);
  color: var(--idrept-ink);
  background: #fff;
  min-height: 2.85rem;
  padding: 0.72rem 0.85rem;
}

.idrept-shell .form-control:focus,
.idrept-shell .form-select:focus,
.idrept-shell input:focus,
.idrept-shell select:focus,
.idrept-shell textarea:focus,
.idrept-shell .btn:focus,
.idrept-shell a:focus {
  border-color: var(--idrept-blue-soft);
  box-shadow: var(--idrept-focus);
  outline: none;
}

.idrept-shell .table {
  margin-bottom: 0;
  color: var(--idrept-ink);
}

.idrept-shell .table thead th {
  border-bottom-color: rgba(184, 206, 215, 0.9);
  background: rgba(241, 245, 247, 0.9);
  color: var(--idrept-primary);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.idrept-shell .table td {
  border-color: rgba(184, 206, 215, 0.72);
  vertical-align: middle;
}

.idrept-shell .table-responsive {
  border: 1px solid rgba(184, 206, 215, 0.8);
  border-radius: var(--idrept-radius);
  background: #fff;
}

.idrept-shell .list-group-item {
  border-color: rgba(184, 206, 215, 0.7);
  padding: 1rem 0;
}

.idrept-shell .list-group-item:first-child {
  padding-top: 0;
}

.idrept-shell .list-group-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.idrept-shell .list-group-item-action:hover,
.idrept-shell .list-group-item-action:focus {
  background: rgba(154, 185, 199, 0.08);
}

.idrept-result-card {
  position: relative;
  border-left: 4px solid var(--idrept-primary) !important;
}

.idrept-result-card .card-body {
  padding: 1.2rem 1.25rem;
}

.idrept-result-card h5 {
  font-size: 1.08rem;
  margin-bottom: 0.25rem;
  color: var(--idrept-primary);
}

.idrept-highlight-snippet {
  background: linear-gradient(180deg, rgba(241, 245, 247, 0.9) 0%, rgba(255,255,255,1) 100%);
  border: 1px solid rgba(184, 206, 215, 0.72);
  border-radius: 0.65rem;
  padding: 0.7rem 0.85rem;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--idrept-ink);
}

.idrept-highlight-snippet mark {
  background: rgba(243, 72, 91, 0.14);
  color: var(--idrept-primary);
  padding: 0 0.15rem;
  border-radius: 0.18rem;
}

.idrept-metric-box {
  background: linear-gradient(180deg, rgba(241,245,247,0.72) 0%, rgba(255,255,255,1) 100%);
  border: 1px solid rgba(184, 206, 215, 0.8);
  border-radius: var(--idrept-radius);
  padding: 1rem;
  height: 100%;
}

.idrept-metric-box h4,
.idrept-metric-box .h6 {
  margin-bottom: 0.65rem;
}

.idrept-metric-box pre {
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
  font-size: 0.875rem;
  color: var(--idrept-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.idrept-shell .alert {
  border-radius: var(--idrept-radius);
  border: 1px solid rgba(184, 206, 215, 0.92);
  box-shadow: var(--idrept-shadow-sm);
}

.idrept-shell .alert-info {
  background: linear-gradient(180deg, rgba(241,245,247,0.82) 0%, rgba(255,255,255,1) 100%);
  color: var(--idrept-primary);
}

.idrept-shell .alert-warning {
  background: linear-gradient(180deg, rgba(250, 171, 180, 0.10) 0%, rgba(255,255,255,1) 100%);
  color: var(--idrept-ink);
  border-color: rgba(243, 72, 91, 0.18);
}

.idrept-shell .alert-warning strong {
  color: var(--idrept-primary);
}

.idrept-shell .small {
  line-height: 1.5;
}

.idrept-shell pre {
  white-space: pre-wrap;
  word-break: break-word;
}

.idrept-shell hr {
  border-color: rgba(184, 206, 215, 0.75);
}

.idrept-shell ol,
.idrept-shell ul {
  padding-left: 1.2rem;
}

.idrept-shell li + li {
  margin-top: 0.35rem;
}

.idrept-shell .card .h4,
.idrept-shell .card .h5,
.idrept-shell .card .h6 {
  margin-bottom: 0.8rem;
}

.idrept-shell .card p:last-child,
.idrept-shell .card ul:last-child,
.idrept-shell .card ol:last-child {
  margin-bottom: 0;
}

.idrept-shell .table a,
.idrept-shell .card a.btn,
.idrept-shell .card a {
  word-break: break-word;
}

.idrept-shell .shadow-sm {
  box-shadow: var(--idrept-shadow-sm) !important;
}

.idrept-shell .border-0 {
  border-width: 1px !important;
}

@media (max-width: 991.98px) {
  .idrept-page-header .card-body,
  .idrept-shell .card-body {
    padding: 1.15rem 1.15rem;
  }

  .idrept-nav .btn {
    min-width: 0;
  }
}

@media (max-width: 767.98px) {
  .idrept-shell {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }

  .idrept-page-header::after {
    width: 7rem;
    height: 7rem;
    top: -1.8rem;
    right: -1.8rem;
  }

  .idrept-title {
    font-size: 1.7rem;
  }

  .idrept-subtitle {
    font-size: 0.98rem;
  }

  .idrept-nav {
    gap: 0.5rem;
  }

  .idrept-nav .btn {
    width: auto;
    flex: 0 1 auto;
  }

  .idrept-shell .table-responsive {
    border-radius: 0.75rem;
  }

  .idrept-result-card .card-body {
    padding: 1rem;
  }

  .idrept-highlight-snippet {
    font-size: 0.92rem;
    padding: 0.65rem 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .idrept-shell *,
  .idrept-shell *::before,
  .idrept-shell *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.idrept-search-note {
  max-width: 19rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(184, 206, 215, 0.82);
  border-radius: var(--idrept-radius);
  background: linear-gradient(180deg, rgba(241,245,247,0.74) 0%, rgba(255,255,255,1) 100%);
}

.idrept-note-kicker {
  color: var(--idrept-primary);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.idrept-form-section-title {
  color: var(--idrept-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 0.1rem;
}

.idrept-result-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  color: var(--idrept-muted);
  font-size: 0.9rem;
}

.idrept-meta-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.75rem;
}

.idrept-meta-item {
  grid-column: span 4;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(184, 206, 215, 0.74);
  border-radius: 0.7rem;
  background: linear-gradient(180deg, rgba(241,245,247,0.56) 0%, rgba(255,255,255,1) 100%);
}

.idrept-meta-item-wide {
  grid-column: span 6;
}

.idrept-meta-label {
  color: var(--idrept-mid);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.idrept-meta-value {
  color: var(--idrept-ink);
  font-size: 0.95rem;
  line-height: 1.5;
  word-break: break-word;
}

.idrept-highlight-label {
  color: var(--idrept-mid);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.idrept-empty-state {
  padding: 0.4rem 0;
}

@media (max-width: 991.98px) {
  .idrept-meta-item,
  .idrept-meta-item-wide {
    grid-column: span 6;
  }
}

@media (max-width: 767.98px) {
  .idrept-search-note {
    max-width: 100%;
    width: 100%;
  }

  .idrept-meta-item,
  .idrept-meta-item-wide {
    grid-column: span 12;
  }

  .idrept-result-meta-row {
    flex-direction: column;
    gap: 0.25rem;
  }
}

.idrept-search-hero .card-body {
  padding: 1.5rem;
}

.idrept-prominent-label {
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.idrept-search-hero #id_q {
  min-height: 3.4rem;
  font-size: 1.04rem;
  font-weight: 500;
  border-width: 1px;
}

.idrept-search-hero .btn {
  min-height: 2.85rem;
}

.idrept-result-side-meta {
  min-width: 220px;
  color: var(--idrept-muted);
  font-size: 0.92rem;
  text-align: right;
  line-height: 1.6;
}

.idrept-result-side-meta strong {
  color: var(--idrept-primary);
}

@media (max-width: 991.98px) {
  .idrept-result-side-meta {
    min-width: 0;
    width: 100%;
    text-align: left;
  }
}


.idrept-interval-block {
  border: 1px solid rgba(184, 206, 215, 0.82);
  border-radius: var(--idrept-radius);
  background: linear-gradient(180deg, rgba(241,245,247,0.72) 0%, rgba(255,255,255,1) 100%);
  padding: 1rem 1rem 1.1rem;
}

.idrept-interval-block legend {
  float: none;
  width: auto;
  padding: 0;
  margin-bottom: 0.75rem;
  color: var(--idrept-primary);
  font-weight: 600;
}

.idrept-interval-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.idrept-interval-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.idrept-interval-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.idrept-interval-pill span {
  display: inline-flex;
  align-items: center;
  min-height: 2.45rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(184, 206, 215, 0.96);
  background: #fff;
  color: var(--idrept-primary);
  font-size: 0.92rem;
  font-weight: 600;
}

.idrept-interval-pill.is-active span,
.idrept-interval-pill input:checked + span {
  background: rgba(128, 167, 184, 0.16);
  border-color: var(--idrept-blue-soft);
  color: var(--idrept-primary);
}

.idrept-interval-pill input:focus + span {
  box-shadow: var(--idrept-focus);
}

.idrept-interval-summary {
  margin-top: 0.8rem;
  margin-bottom: 0.8rem;
}

.idrept-interval-custom.is-muted {
  opacity: 0.72;
}

.idrept-page-size-form .form-select {
  min-width: 100px;
}

.idrept-pagination {
  gap: 0.2rem;
  flex-wrap: wrap;
}

.idrept-pagination .page-link {
  border-radius: 0.55rem;
  border-color: rgba(184, 206, 215, 0.95);
  color: var(--idrept-primary);
  min-width: 2.35rem;
  text-align: center;
}

.idrept-pagination .page-item.active .page-link {
  background-color: var(--idrept-primary);
  border-color: var(--idrept-primary);
  color: #fff;
}

.idrept-pagination .page-item.disabled .page-link {
  color: var(--idrept-muted);
  background: rgba(241,245,247,0.9);
}

@media (max-width: 767.98px) {
  .idrept-interval-block {
    padding: 0.9rem;
  }

  .idrept-page-size-form {
    width: 100%;
  }

  .idrept-page-size-form > div {
    width: 100%;
  }

  .idrept-page-size-form .form-select {
    width: 100%;
    min-width: 0;
  }
}

.idrept-page-size-form .form-select {
  min-width: 100px;
}

.idrept-pagination {
  gap: 0.2rem;
  flex-wrap: wrap;
}

.idrept-pagination .page-link {
  border-radius: 0.55rem;
  border-color: rgba(184, 206, 215, 0.95);
  color: var(--idrept-primary);
  min-width: 2.35rem;
  text-align: center;
  background: #fff;
}

.idrept-pagination .page-link:hover {
  background: rgba(154, 185, 199, 0.14);
  color: var(--idrept-primary);
}

.idrept-pagination .page-item.active .page-link {
  background-color: var(--idrept-primary);
  border-color: var(--idrept-primary);
  color: #fff;
}

.idrept-pagination .page-item.disabled .page-link {
  color: var(--idrept-muted);
  background: rgba(241,245,247,0.9);
}

@media (max-width: 767.98px) {
  .idrept-page-size-form {
    width: 100%;
  }

  .idrept-page-size-form > div {
    width: 100%;
  }

  .idrept-page-size-form .form-select {
    width: 100%;
    min-width: 0;
  }
}


.idrept-highlight-details {
  margin-top: 0.2rem;
}

.idrept-highlight-details summary {
  list-style: none;
  cursor: pointer;
  color: var(--idrept-primary);
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.idrept-highlight-details summary::-webkit-details-marker {
  display: none;
}

.idrept-highlight-details summary::before {
  content: "▸";
  color: var(--idrept-mid);
  font-size: 0.9rem;
}

.idrept-highlight-details[open] summary::before {
  content: "▾";
}

.idrept-highlight-details summary:focus {
  outline: none;
  box-shadow: var(--idrept-focus);
  border-radius: 0.35rem;
}

.idrept-highlight-details .idrept-highlight-snippet:first-of-type {
  margin-top: 0.65rem;
}

.idrept-interval-custom {
  transition: opacity 120ms ease;
}

.idrept-interval-custom.is-muted {
  opacity: 0.58;
}

.idrept-interval-pill.is-active span {
  background: rgba(128, 167, 184, 0.16);
  border-color: var(--idrept-blue-soft);
  color: var(--idrept-primary);
}

.idrept-date-block {
  border: 1px solid rgba(184, 206, 215, 0.82);
  border-radius: var(--idrept-radius);
  background: linear-gradient(180deg, rgba(241,245,247,0.72) 0%, rgba(255,255,255,1) 100%);
  padding: 1rem 1rem 1.1rem;
}

.idrept-active-date-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(184, 206, 215, 0.92);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.88);
}

.idrept-active-date-chip-label {
  color: var(--idrept-mid);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.idrept-active-date-chip-value {
  color: var(--idrept-primary);
  font-size: 0.95rem;
  font-weight: 600;
}

.idrept-active-date-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(184, 206, 215, 0.92);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.88);
}

.idrept-active-date-chip-label {
  color: var(--idrept-mid);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.idrept-active-date-chip-value {
  color: var(--idrept-primary);
  font-size: 0.95rem;
  font-weight: 600;
}


.idrept-caution-inline {
  color: var(--idrept-primary);
  padding-left: 0.85rem;
  border-left: 3px solid rgba(243, 72, 91, 0.45);
}

.idrept-shell .btn-primary,
.idrept-shell .btn-primary:visited,
.idrept-shell .btn-primary:hover,
.idrept-shell .btn-primary:focus,
.idrept-shell a.btn-primary,
.idrept-shell a.btn-primary:visited,
.idrept-shell a.btn-primary:hover,
.idrept-shell a.btn-primary:focus {
  color: #fff !important;
}


/* idrept pagination separation */
.idrept-pagination-card {
  border: 1px solid #d9e1ea;
  border-radius: 12px;
  margin-bottom: 1.25rem;
}

.idrept-pagination-card-body {
  padding-bottom: 1rem;
  border-bottom: 1px solid #e4e9f0;
}

.idrept-pagination-card + .idrept-result-card {
  margin-top: 1rem !important;
}


/* idrept pagination alignment */
.idrept-pagination {
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.idrept-pagination .page-item {
  display: flex;
  align-items: center;
}

.idrept-pagination .page-link {
  min-height: 2rem;
  padding: 0.4rem 0.72rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
  border-radius: 0.55rem;
}

.idrept-pagination .page-item:first-child .page-link,
.idrept-pagination .page-item:last-child .page-link {
  min-width: 5.5rem;
  text-align: center;
}

.idrept-pagination .page-item.active .page-link {
  font-weight: 600;
}

.idrept-pagination .page-item.disabled .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.idrept-results-nav-label {
  color: var(--idrept-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0.75rem 0 0.5rem;
}

.idrept-pagination-card {
  border-color: rgba(184, 206, 215, 0.82) !important;
}

/* search results pagination/result separation */
.idrept-search-results-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.idrept-search-results-list .idrept-result-card {
  margin-bottom: 0 !important;
}
.idrept-pagination-card {
  margin-top: 0.25rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(180deg, rgba(241,245,247,0.88) 0%, rgba(255,255,255,1) 100%);
}
.idrept-pagination-card .card-body {
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
}
.idrept-results-nav-label + .idrept-pagination-card {
  margin-top: 0;
}

/* compact search result cards */
.idrept-search-results-list {
  gap: 0.75rem;
}

.idrept-result-card .card-body {
  padding: 0.95rem 1rem;
}

.idrept-result-card h5 {
  font-size: 1rem;
  line-height: 1.3;
  margin-bottom: 0.15rem;
}

.idrept-result-card .badge {
  padding: 0.32rem 0.56rem;
  font-size: 0.78rem;
}

.idrept-result-card .text-muted {
  line-height: 1.45;
}

.idrept-result-side-meta {
  min-width: 185px;
  font-size: 0.86rem;
  line-height: 1.45;
}

.idrept-meta-grid {
  gap: 0.55rem;
  margin-bottom: 0.8rem !important;
}

.idrept-meta-item,
.idrept-meta-item-wide {
  padding: 0.58rem 0.68rem;
  border-radius: 0.58rem;
}

.idrept-meta-label {
  font-size: 0.68rem;
  margin-bottom: 0.18rem;
}

.idrept-meta-value {
  font-size: 0.89rem;
  line-height: 1.4;
}

.idrept-highlight-label {
  font-size: 0.72rem;
  margin-bottom: 0.28rem;
}

.idrept-highlight-snippet {
  padding: 0.52rem 0.65rem;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.idrept-highlight-details .idrept-highlight-snippet:first-of-type {
  margin-top: 0.45rem;
}

.idrept-highlight-details summary {
  font-size: 0.86rem;
}

.idrept-result-card .btn.btn-sm {
  padding: 0.38rem 0.7rem;
}

@media (max-width: 991.98px) {
  .idrept-result-card .card-body {
    padding: 0.9rem 0.95rem;
  }

  .idrept-result-side-meta {
    min-width: 0;
    width: 100%;
    font-size: 0.85rem;
  }
}

@media (max-width: 767.98px) {
  .idrept-search-results-list {
    gap: 0.65rem;
  }

  .idrept-result-card .card-body {
    padding: 0.85rem 0.85rem;
  }

  .idrept-result-card h5 {
    font-size: 0.96rem;
  }

  .idrept-meta-grid {
    gap: 0.5rem;
  }

  .idrept-meta-item,
  .idrept-meta-item-wide {
    padding: 0.55rem 0.62rem;
  }

  .idrept-highlight-snippet {
    font-size: 0.88rem;
    padding: 0.48rem 0.58rem;
  }
}

/* idrept stats charts: begin */
.idrept-chart-panel {
  position: relative;
  margin-bottom: 1rem;
  padding: 0.85rem 0.85rem 0.35rem;
  border: 1px solid rgba(184, 206, 215, 0.82);
  border-radius: var(--idrept-radius);
  background: linear-gradient(180deg, rgba(241,245,247,0.72) 0%, rgba(255,255,255,1) 100%);
}

.idrept-chart-panel::before {
  content: "Grafic disponibil dacă JavaScript este activ";
  display: block;
  margin-bottom: 0.55rem;
  color: var(--idrept-muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.idrept-chart-panel.is-chart-ready::before {
  content: "";
  display: none;
}

.idrept-chart-title {
  color: var(--idrept-primary);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.idrept-chart-frame {
  width: 100%;
  min-height: 310px;
}

.idrept-chart-frame-sm {
  min-height: 280px;
}

.idrept-chart-frame-lg {
  min-height: 360px;
}

.idrept-chart-frame-xl {
  min-height: 560px;
}

.idrept-chart-fallback-note {
  color: var(--idrept-muted);
  font-size: 0.82rem;
  line-height: 1.5;
  margin-top: 0.55rem;
}

.idrept-methodology-note {
  border-left: 3px solid rgba(243, 72, 91, 0.42);
  padding-left: 0.95rem;
}

.idrept-methodology-note strong {
  color: var(--idrept-primary);
}

@media (max-width: 991.98px) {
  .idrept-chart-frame,
  .idrept-chart-frame-sm,
  .idrept-chart-frame-lg,
  .idrept-chart-frame-xl {
    min-height: 320px;
  }
}

@media (max-width: 767.98px) {
  .idrept-chart-panel {
    padding: 0.75rem 0.7rem 0.3rem;
  }

  .idrept-chart-frame,
  .idrept-chart-frame-sm,
  .idrept-chart-frame-lg,
  .idrept-chart-frame-xl {
    min-height: 280px;
  }

  .idrept-chart-title {
    font-size: 0.78rem;
  }
}
/* idrept stats charts: end */

/* idrept source coverage: begin */
.idrept-source-coverage-list {
  columns: 1;
  column-gap: 1.25rem;
}

.idrept-source-coverage-list li {
  break-inside: avoid;
  margin-bottom: 0.4rem;
}

@media (min-width: 992px) {
  .idrept-source-coverage-list {
    columns: 2;
  }
}
/* idrept source coverage: end */

/* idrept trust snapshot: begin */
.idrept-glossary {
  display: grid;
  gap: 0.7rem;
}

.idrept-glossary dt {
  color: var(--idrept-primary);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.14rem;
}

.idrept-glossary dd {
  margin: 0;
  color: var(--idrept-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.idrept-compact-list {
  padding-left: 1rem;
}

.idrept-compact-list li {
  color: var(--idrept-ink);
}

.idrept-principles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.idrept-principle-item {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.42rem 0.72rem;
  border: 1px solid rgba(184, 206, 215, 0.92);
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  color: var(--idrept-primary);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
}

@media (max-width: 767.98px) {
  .idrept-principle-item {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
/* idrept trust snapshot: end */

/* idrept judges page: begin */
.idrept-judges-search-card .card-body {
  padding: 1.25rem 1.3rem;
}

.idrept-judges-method-note {
  max-width: 24rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(184, 206, 215, 0.82);
  border-radius: var(--idrept-radius);
  background: linear-gradient(180deg, rgba(241,245,247,0.76) 0%, rgba(255,255,255,1) 100%);
}

.idrept-judges-results-card .card-body {
  padding: 1.15rem 1.2rem;
}

.idrept-judge-results-list {
  display: grid;
  gap: 0.75rem;
}

.idrept-judge-result-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(184, 206, 215, 0.82);
  border-left: 4px solid var(--idrept-primary);
  border-radius: var(--idrept-radius);
  background: #fff;
  color: var(--idrept-ink);
}

.idrept-judge-result-card-link {
  text-decoration: none;
  transition: background-color 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.idrept-judge-result-card-link:hover,
.idrept-judge-result-card-link:focus {
  background: linear-gradient(180deg, rgba(241,245,247,0.74) 0%, rgba(255,255,255,1) 100%);
  border-color: var(--idrept-blue-soft);
  color: var(--idrept-ink);
  box-shadow: var(--idrept-shadow-sm);
}

.idrept-judge-result-card-disabled {
  border-left-color: rgba(115, 138, 156, 0.7);
  background: rgba(241, 245, 247, 0.56);
}

.idrept-judge-result-main {
  min-width: 0;
  flex: 1 1 auto;
}

.idrept-judge-result-name {
  color: var(--idrept-primary);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.idrept-judge-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin-top: 0.35rem;
  color: var(--idrept-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.idrept-judge-result-meta-label {
  color: var(--idrept-mid);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  margin-right: 0.25rem;
}

.idrept-judge-result-warning {
  margin-top: 0.3rem;
  color: var(--idrept-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.idrept-judge-result-count {
  flex: 0 0 auto;
  min-width: 6.4rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(184, 206, 215, 0.92);
  border-radius: 0.75rem;
  background: rgba(154, 185, 199, 0.13);
  color: var(--idrept-primary);
  text-align: center;
}

.idrept-judge-result-count-value {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.1;
}

.idrept-judge-result-count-label {
  display: block;
  margin-top: 0.15rem;
  color: var(--idrept-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

@media (max-width: 991.98px) {
  .idrept-judges-method-note {
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .idrept-judges-search-card .card-body,
  .idrept-judges-results-card .card-body {
    padding: 1rem;
  }

  .idrept-judge-result-card {
    flex-direction: column;
    padding: 0.85rem;
  }

  .idrept-judge-result-count {
    width: 100%;
    min-width: 0;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    text-align: left;
  }

  .idrept-judge-result-count-label {
    margin-top: 0;
  }
}
/* idrept judges page: end */

/* idrept judge detail launch profile: begin */
.idrept-judge-profile-hero {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(241,245,247,0.96) 64%, rgba(209,223,230,0.55) 100%);
}

.idrept-judge-profile-main {
  max-width: 58rem;
}

.idrept-judge-profile-title {
  color: var(--idrept-primary);
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.idrept-judge-profile-lead {
  max-width: 48rem;
  color: var(--idrept-ink);
  font-size: 1.03rem;
  line-height: 1.62;
}

.idrept-judge-profile-notice {
  max-width: 56rem;
  padding: 0.92rem 1rem;
  border: 1px solid rgba(184, 206, 215, 0.88);
  border-left: 4px solid rgba(243, 72, 91, 0.42);
  border-radius: var(--idrept-radius);
  background: rgba(255, 255, 255, 0.78);
  color: var(--idrept-muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

.idrept-judge-profile-notice strong {
  color: var(--idrept-primary);
}

.idrept-judge-profile-actions {
  flex: 0 0 18rem;
  padding: 1rem;
  border: 1px solid rgba(184, 206, 215, 0.82);
  border-radius: var(--idrept-radius);
  background: rgba(255, 255, 255, 0.86);
  align-self: flex-start;
}

.idrept-judge-profile-actions .btn {
  width: 100%;
}

.idrept-judge-stat-card {
  height: 100%;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(184, 206, 215, 0.84);
  border-radius: var(--idrept-radius);
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(241,245,247,0.72) 100%);
  box-shadow: var(--idrept-shadow-sm);
}

.idrept-judge-stat-label {
  color: var(--idrept-mid);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.075em;
  line-height: 1.35;
  text-transform: uppercase;
}

.idrept-judge-stat-value {
  margin-top: 0.35rem;
  color: var(--idrept-primary);
  font-size: clamp(1.65rem, 2.8vw, 2.2rem);
  font-weight: 760;
  line-height: 1.05;
}

.idrept-judge-stat-note {
  margin-top: 0.4rem;
  color: var(--idrept-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.idrept-judge-panel .card-body {
  padding: 1.2rem 1.25rem;
}

.idrept-judge-source-list,
.idrept-judge-courts-list,
.idrept-judge-timeline-list {
  display: grid;
  gap: 0.65rem;
}

.idrept-judge-source-row,
.idrept-judge-court-row,
.idrept-judge-timeline-row {
  border: 1px solid rgba(184, 206, 215, 0.76);
  border-radius: 0.78rem;
  background: rgba(255,255,255,0.9);
}

.idrept-judge-source-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.82rem 0.9rem;
}

.idrept-judge-source-label,
.idrept-judge-court-name,
.idrept-judge-timeline-date {
  color: var(--idrept-primary);
  font-weight: 700;
  line-height: 1.35;
}

.idrept-judge-source-count {
  min-width: 4.2rem;
  padding: 0.42rem 0.6rem;
  border-radius: 999px;
  background: rgba(154, 185, 199, 0.16);
  color: var(--idrept-primary);
  font-weight: 760;
  text-align: center;
}

.idrept-judge-court-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.86rem 0.95rem;
}

.idrept-judge-court-main {
  min-width: 0;
}

.idrept-judge-court-name {
  overflow-wrap: anywhere;
}

.idrept-judge-court-years {
  margin-top: 0.22rem;
  color: var(--idrept-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.idrept-judge-court-count {
  flex: 0 0 auto;
  min-width: 6.3rem;
  padding: 0.48rem 0.62rem;
  border: 1px solid rgba(184, 206, 215, 0.88);
  border-radius: 0.72rem;
  background: rgba(241,245,247,0.9);
  text-align: center;
}

.idrept-judge-court-count span {
  display: block;
  color: var(--idrept-primary);
  font-size: 1rem;
  font-weight: 780;
  line-height: 1.1;
}

.idrept-judge-court-count small {
  display: block;
  margin-top: 0.12rem;
  color: var(--idrept-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.idrept-judge-timeline-row {
  display: grid;
  grid-template-columns: minmax(7rem, 12rem) 1fr minmax(3.5rem, auto);
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
}

.idrept-judge-timeline-date {
  font-size: 0.92rem;
}

.idrept-judge-timeline-bar {
  height: 0.44rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(184, 206, 215, 0.45);
}

.idrept-judge-timeline-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--idrept-primary), var(--idrept-blue-soft));
  opacity: 0.78;
}

.idrept-judge-timeline-count {
  color: var(--idrept-primary);
  font-weight: 760;
  text-align: right;
}

.idrept-judge-recent-table .table td,
.idrept-judge-recent-table .table th {
  white-space: normal;
}

@media (max-width: 991.98px) {
  .idrept-judge-profile-actions {
    flex: 1 1 auto;
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .idrept-judge-profile-title {
    font-size: 1.55rem;
  }

  .idrept-judge-profile-actions,
  .idrept-judge-profile-notice,
  .idrept-judge-stat-card,
  .idrept-judge-panel .card-body {
    padding: 0.9rem;
  }

  .idrept-judge-source-row,
  .idrept-judge-court-row {
    align-items: stretch;
    flex-direction: column;
  }

  .idrept-judge-source-count,
  .idrept-judge-court-count {
    width: 100%;
    min-width: 0;
    text-align: left;
  }

  .idrept-judge-court-count {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
  }

  .idrept-judge-court-count small {
    margin-top: 0;
  }

  .idrept-judge-timeline-row {
    grid-template-columns: 1fr auto;
  }

  .idrept-judge-timeline-bar {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .idrept-judge-timeline-count {
    text-align: right;
  }
}
/* idrept judge detail launch profile: end */




/* idrept judge detail charts enhancement: begin */
.idrept-judge-panel .idrept-chart-panel {
  margin-bottom: 1rem;
}

.idrept-judge-panel .idrept-chart-panel::before {
  content: "Grafic disponibil dacă JavaScript este activ";
}

.idrept-judge-panel .idrept-chart-frame-sm {
  min-height: 290px;
}

.idrept-judge-panel .idrept-chart-frame-lg {
  min-height: 380px;
}

.idrept-judge-panel .idrept-chart-fallback-note {
  margin-top: 0.65rem;
}

@media (max-width: 767.98px) {
  .idrept-judge-panel .idrept-chart-frame-sm,
  .idrept-judge-panel .idrept-chart-frame-lg {
    min-height: 280px;
  }
}
/* idrept judge detail charts enhancement: end */










/* idrept judge documents page: begin */
.idrept-judge-documents-hero .card-body,
.idrept-judge-documents-filters-card .card-body,
.idrept-judge-documents-table-card .card-body {
  padding: 1.2rem 1.25rem;
}

.idrept-judge-documents-filters-card {
  background: linear-gradient(180deg, rgba(241,245,247,0.72) 0%, rgba(255,255,255,1) 100%);
}

.idrept-judge-documents-table-wrap {
  display: block;
}

.idrept-judge-documents-mobile-list {
  display: none;
}

.idrept-judge-doc-card {
  border: 1px solid rgba(184, 206, 215, 0.82);
  border-radius: var(--idrept-radius);
  background: #fff;
  padding: 0.9rem;
  box-shadow: var(--idrept-shadow-sm);
}

.idrept-judge-doc-card + .idrept-judge-doc-card {
  margin-top: 0.75rem;
}

.idrept-judge-doc-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.idrept-judge-doc-card-dosar {
  color: var(--idrept-primary);
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.idrept-judge-doc-card-grid {
  display: grid;
  gap: 0.35rem;
  color: var(--idrept-ink);
  font-size: 0.92rem;
  line-height: 1.5;
}

.idrept-judge-documents-table td,
.idrept-judge-documents-table th {
  vertical-align: middle;
}

@media (max-width: 767.98px) {
  .idrept-judge-documents-hero .card-body,
  .idrept-judge-documents-filters-card .card-body,
  .idrept-judge-documents-table-card .card-body {
    padding: 0.95rem;
  }

  .idrept-judge-documents-table-wrap {
    display: none;
  }

  .idrept-judge-documents-mobile-list {
    display: block;
  }
}
/* idrept judge documents page: end */

/* idrept judge documents page polish: begin */
.idrept-judge-documents-hero {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(241,245,247,0.94) 100%);
}

.idrept-judge-documents-hero-main {
  max-width: 58rem;
}

.idrept-judge-documents-title {
  color: var(--idrept-primary);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 730;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.idrept-judge-documents-judge-name {
  color: var(--idrept-ink);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
}

.idrept-judge-documents-trust-box {
  flex: 0 0 21rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(184, 206, 215, 0.82);
  border-radius: var(--idrept-radius);
  background: rgba(255,255,255,0.86);
}

.idrept-judge-documents-active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.idrept-judge-documents-active-filters-label {
  color: var(--idrept-mid);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-right: 0.1rem;
}

.idrept-judge-documents-result-note {
  max-width: 24rem;
}

.idrept-judge-documents-cell-primary {
  color: var(--idrept-primary);
  font-weight: 650;
  overflow-wrap: anywhere;
}

.idrept-judge-documents-table td a,
.idrept-judge-doc-card a {
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .idrept-judge-documents-trust-box {
    flex: 1 1 auto;
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .idrept-judge-documents-title {
    font-size: 1.35rem;
  }

  .idrept-judge-documents-result-note {
    max-width: 100%;
  }
}
/* idrept judge documents page polish: end */

/* idrept judge documents simplified filters: begin */
.idrept-judge-documents-filters-card .btn[disabled],
.idrept-judge-documents-filters-card .btn[aria-disabled="true"] {
  opacity: 0.72;
  cursor: not-allowed;
  pointer-events: none;
}
/* idrept judge documents simplified filters: end */

/* idrept slow load notices: begin */
.idrept-slow-load-alert {
  background: linear-gradient(180deg, rgba(241,245,247,0.88) 0%, rgba(255,255,255,1) 100%);
}

.idrept-slow-load-alert strong {
  color: var(--idrept-primary);
}
/* idrept slow load notices: end */

/* idrept judges search page polish: begin */
.idrept-judges-search-intro {
  max-width: 52rem;
}

.idrept-judges-result-limit {
  white-space: nowrap;
}

.idrept-judge-result-title-wrap {
  min-width: 0;
  flex: 1 1 auto;
}

.idrept-judge-result-subline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.45rem;
}

.idrept-judge-result-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.8rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(184, 206, 215, 0.65);
}

.idrept-judge-result-affordance {
  color: var(--idrept-primary);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.idrept-judge-result-card-link:hover .idrept-judge-result-affordance,
.idrept-judge-result-card-link:focus .idrept-judge-result-affordance {
  color: var(--idrept-secondary);
  text-decoration: underline;
}

.idrept-judge-result-card-disabled .idrept-judge-result-subline .badge {
  background: rgba(241,245,247,0.9) !important;
}

@media (max-width: 767.98px) {
  .idrept-judge-result-footer {
    justify-content: flex-start;
  }
}
/* idrept judges search page polish: end */

/* idrept cases search page: begin */
.idrept-cases-hero {
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(241,245,247,0.94) 100%);
}

.idrept-cases-hero-main {
  max-width: 58rem;
}

.idrept-cases-method-note {
  flex: 0 0 20rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(184, 206, 215, 0.82);
  border-radius: var(--idrept-radius);
  background: rgba(255,255,255,0.88);
}

.idrept-cases-results-card .card-body {
  padding: 1.2rem 1.25rem;
}

.idrept-cases-results-list {
  display: grid;
  gap: 0.8rem;
}

.idrept-case-result-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(184, 206, 215, 0.82);
  border-left: 4px solid var(--idrept-primary);
  border-radius: var(--idrept-radius);
  background: #fff;
}

.idrept-case-result-main {
  min-width: 0;
  flex: 1 1 auto;
}

.idrept-case-result-number {
  color: var(--idrept-primary);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.idrept-case-result-number a {
  color: inherit;
  text-decoration: none;
}

.idrept-case-result-number a:hover,
.idrept-case-result-number a:focus {
  text-decoration: underline;
}

.idrept-case-result-title {
  margin-top: 0.3rem;
  color: var(--idrept-ink);
  font-size: 0.93rem;
  line-height: 1.5;
}

.idrept-case-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin-top: 0.55rem;
  color: var(--idrept-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.idrept-case-result-side {
  flex: 0 0 11rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.idrept-case-result-count {
  min-width: 7rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(184, 206, 215, 0.9);
  border-radius: 0.78rem;
  background: rgba(154, 185, 199, 0.14);
  color: var(--idrept-primary);
  text-align: center;
}

.idrept-case-result-count-value {
  display: block;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.1;
}

.idrept-case-result-count-label {
  display: block;
  margin-top: 0.14rem;
  color: var(--idrept-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 991.98px) {
  .idrept-cases-method-note {
    flex: 1 1 auto;
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .idrept-cases-results-card .card-body {
    padding: 1rem;
  }

  .idrept-case-result-row {
    flex-direction: column;
    padding: 0.9rem;
  }

  .idrept-case-result-side {
    width: 100%;
    flex: 1 1 auto;
    align-items: stretch;
  }

  .idrept-case-result-count {
    width: 100%;
    text-align: left;
  }
}
/* idrept cases search page: end */

/* idrept case trajectory page: begin */
.idrept-case-trajectory-hero {
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(241,245,247,0.94) 100%);
}

.idrept-case-trajectory-main {
  max-width: 58rem;
}

.idrept-case-trajectory-notice {
  max-width: 56rem;
  padding: 0.92rem 1rem;
  border: 1px solid rgba(184, 206, 215, 0.88);
  border-left: 4px solid rgba(243, 72, 91, 0.42);
  border-radius: var(--idrept-radius);
  background: rgba(255,255,255,0.82);
  color: var(--idrept-muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

.idrept-case-trajectory-notice strong {
  color: var(--idrept-primary);
}

.idrept-case-trajectory-side {
  flex: 0 0 18rem;
  padding: 1rem;
  border: 1px solid rgba(184, 206, 215, 0.82);
  border-radius: var(--idrept-radius);
  background: rgba(255,255,255,0.88);
  align-self: flex-start;
}

.idrept-case-timeline-card .card-body {
  padding: 1.2rem 1.25rem;
}

.idrept-case-timeline {
  position: relative;
  display: grid;
  gap: 1rem;
}

.idrept-case-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1.2rem 1fr;
  gap: 0.9rem;
  align-items: start;
}

.idrept-case-timeline-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0.54rem;
  top: 1.2rem;
  bottom: -1rem;
  width: 1px;
  background: rgba(184, 206, 215, 0.9);
}

.idrept-case-timeline-marker {
  width: 0.8rem;
  height: 0.8rem;
  margin-top: 0.3rem;
  border-radius: 50%;
  background: var(--idrept-primary);
  box-shadow: 0 0 0 4px rgba(154, 185, 199, 0.16);
}

.idrept-case-timeline-content {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(184, 206, 215, 0.82);
  border-radius: var(--idrept-radius);
  background: #fff;
}

.idrept-case-timeline-date {
  color: var(--idrept-primary);
  font-size: 0.86rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.35;
}

.idrept-case-timeline-title {
  margin-top: 0.18rem;
  color: var(--idrept-primary);
  font-size: 1rem;
  font-weight: 730;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.idrept-case-timeline-subtitle {
  margin-top: 0.25rem;
  color: var(--idrept-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.idrept-case-timeline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-top: 0.65rem;
  color: var(--idrept-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.idrept-case-timeline-note {
  margin-top: 0.7rem;
  color: var(--idrept-ink);
  font-size: 0.92rem;
  line-height: 1.55;
}

.idrept-case-timeline-metadata {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(184, 206, 215, 0.7);
}

.idrept-case-timeline-metadata-row {
  display: grid;
  grid-template-columns: minmax(8rem, 14rem) 1fr;
  gap: 0.8rem;
  align-items: start;
}

.idrept-case-timeline-metadata-label {
  color: var(--idrept-mid);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.idrept-case-timeline-metadata-value {
  color: var(--idrept-ink);
  font-size: 0.9rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

@media (max-width: 991.98px) {
  .idrept-case-trajectory-side {
    flex: 1 1 auto;
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .idrept-case-timeline-card .card-body,
  .idrept-case-trajectory-side {
    padding: 0.95rem;
  }

  .idrept-case-timeline-item {
    grid-template-columns: 1rem 1fr;
    gap: 0.75rem;
  }

  .idrept-case-timeline-content {
    padding: 0.85rem 0.9rem;
  }

  .idrept-case-timeline-metadata-row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}
/* idrept case trajectory page: end */

/* idrept case search source breakdown: begin */
.idrept-case-source-breakdown {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.idrept-case-source-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.58rem;
  border: 1px solid rgba(184, 206, 215, 0.9);
  border-radius: 999px;
  background: rgba(241,245,247,0.82);
  color: var(--idrept-primary);
  font-size: 0.82rem;
  line-height: 1.25;
}

.idrept-case-source-chip strong {
  color: var(--idrept-primary);
  font-weight: 800;
}
/* idrept case search source breakdown: end */

/* idrept launch frontend refinement: begin */
.idrept-shell {
  --idrept-readable-width: 68rem;
}

.idrept-page-header .card-body > .d-flex > div:first-child {
  max-width: 58rem;
}

.idrept-nav {
  align-items: center;
}

.idrept-nav .btn.is-active,
.idrept-nav .btn[aria-current="page"] {
  background: var(--idrept-primary);
  border-color: var(--idrept-primary);
  color: #fff !important;
  box-shadow: none;
}

.idrept-nav .btn.is-active:hover,
.idrept-nav .btn.is-active:focus,
.idrept-nav .btn[aria-current="page"]:hover,
.idrept-nav .btn[aria-current="page"]:focus {
  background: var(--idrept-secondary);
  border-color: var(--idrept-secondary);
  color: #fff !important;
}

.idrept-shell a:focus-visible,
.idrept-shell .btn:focus-visible,
.idrept-shell summary:focus-visible,
.idrept-shell input:focus-visible,
.idrept-shell select:focus-visible,
.idrept-shell textarea:focus-visible {
  outline: 2px solid rgba(128, 167, 184, 0.72);
  outline-offset: 2px;
  box-shadow: var(--idrept-focus);
}

.idrept-shell .card-body > p,
.idrept-shell .card-body > .text-muted,
.idrept-shell .idrept-methodology-note,
.idrept-shell .idrept-case-trajectory-notice,
.idrept-shell .idrept-judge-profile-notice {
  max-width: var(--idrept-readable-width);
}

.idrept-shell .alert strong,
.idrept-shell .card .fw-semibold,
.idrept-empty-state h5 {
  color: var(--idrept-primary);
}

.idrept-shell .table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.idrept-shell .table th,
.idrept-shell .table td {
  overflow-wrap: anywhere;
}

.idrept-shell .table thead th {
  white-space: nowrap;
}

.idrept-result-card,
.idrept-case-result-row,
.idrept-case-timeline-content,
.idrept-judge-doc-card,
.idrept-judge-result-card,
.idrept-judge-stat-card,
.idrept-metric-box {
  overflow-wrap: anywhere;
}

.idrept-result-card:focus-within,
.idrept-case-result-row:focus-within,
.idrept-judge-result-card-link:focus-visible {
  border-color: var(--idrept-blue-soft) !important;
  box-shadow: var(--idrept-shadow-md);
}

.idrept-result-card .btn,
.idrept-case-result-row .btn,
.idrept-judge-profile-actions .btn,
.idrept-judge-documents-filters-card .btn {
  white-space: normal;
}

.idrept-chart-panel {
  min-width: 0;
}

.idrept-chart-fallback-note {
  max-width: 48rem;
}

.idrept-shell .badge {
  max-width: 100%;
  white-space: normal;
  text-align: left;
}

@media (max-width: 767.98px) {
  .idrept-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .idrept-nav .btn {
    width: 100%;
    margin: 0 !important;
    justify-content: center;
    text-align: center;
  }

  .idrept-shell .btn {
    min-height: 2.55rem;
  }

  .idrept-shell .table thead th {
    white-space: normal;
  }

  .idrept-shell .table th,
  .idrept-shell .table td {
    min-width: 8rem;
  }

  .idrept-page-header .card-body > .d-flex {
    gap: 1rem !important;
  }

  .idrept-page-header .badge {
    font-size: 0.76rem;
  }

  .idrept-shell .card-body > p,
  .idrept-shell .card-body > .text-muted {
    max-width: 100%;
  }
}

@media (max-width: 420px) {
  .idrept-nav {
    grid-template-columns: 1fr;
  }
}
/* idrept launch frontend refinement: end */

/* idrept sponsor footer: begin */
.idrept-footer {
  color: var(--idrept-ink);
}

.idrept-footer .card {
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(241,245,247,0.88) 100%);
}

.idrept-footer-sponsor-logo {
  display: block;
  max-width: 22rem;
  width: 100%;
  height: auto;
}

.idrept-footer-heading {
  color: var(--idrept-primary);
  font-size: 0.86rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.idrept-footer-text {
  color: var(--idrept-muted);
  font-size: 0.9rem;
  line-height: 1.58;
}

@media (max-width: 991.98px) {
  .idrept-footer-sponsor-logo {
    max-width: 18rem;
  }
}

@media (max-width: 767.98px) {
  .idrept-footer {
    margin-top: 2rem !important;
  }

  .idrept-footer-sponsor-logo {
    max-width: 15rem;
  }

  .idrept-footer-text {
    font-size: 0.86rem;
  }
}
/* idrept sponsor footer: end */

/* idrept chart failure visibility: begin */
.idrept-chart-panel.is-chart-failed::before {
  content: attr(data-chart-error);
  display: block;
  margin-bottom: 0.55rem;
  color: var(--idrept-accent);
  font-size: 0.82rem;
  line-height: 1.4;
  font-weight: 600;
}
/* idrept chart failure visibility: end */

/* idrept production chart height hardening: begin */
.idrept-chart-panel {
  overflow: hidden;
}

.idrept-chart-frame {
  width: 100%;
  height: 310px;
  min-height: 310px;
  position: relative;
  display: block;
}

.idrept-chart-frame-sm {
  height: 280px;
  min-height: 280px;
}

.idrept-chart-frame-lg {
  height: 360px;
  min-height: 360px;
}

.idrept-chart-frame-xl {
  height: 560px;
  min-height: 560px;
}

.idrept-chart-frame > div,
.idrept-chart-frame canvas,
.idrept-chart-frame [class^="am5-"],
.idrept-chart-frame [class*=" am5-"] {
  max-width: 100%;
}

.idrept-chart-frame > div:first-child {
  width: 100% !important;
  height: 100% !important;
}

.idrept-chart-frame canvas.am5-layer-0,
.idrept-chart-frame canvas.am5-layer-30 {
  width: 100% !important;
  height: 100% !important;
}

.idrept-chart-frame .am5-focus-container,
.idrept-chart-frame .am5-html-container {
  width: 100% !important;
  height: 100% !important;
}

@media (max-width: 991.98px) {
  .idrept-chart-frame {
    height: 320px;
    min-height: 320px;
  }
  .idrept-chart-frame-sm {
    height: 320px;
    min-height: 320px;
  }
  .idrept-chart-frame-lg {
    height: 320px;
    min-height: 320px;
  }
  .idrept-chart-frame-xl {
    height: 420px;
    min-height: 420px;
  }
}

@media (max-width: 767.98px) {
  .idrept-chart-frame {
    height: 280px;
    min-height: 280px;
  }
  .idrept-chart-frame-sm,
  .idrept-chart-frame-lg {
    height: 280px;
    min-height: 280px;
  }
  .idrept-chart-frame-xl {
    height: 340px;
    min-height: 340px;
  }
}
/* idrept production chart height hardening: end */
