



:root {
  --ix-bg: #ffffff;
  --ix-fg: #1f2937;
  --ix-muted: #6b7280;
  --ix-line: #e5e7eb;
  --ix-soft: #f3f4f6;
  --ix-shadow: 0 6px 16px rgba(0,0,0,.06);
  --ix-focus: 0 0 0 3px rgba(59,130,246,.35);
}


.card {

  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 2px 0 rgba(0,0,0,0.02);
  overflow: clip;
}




@media (min-width: 1000px) { 
.card {
  padding: 1.5rem 2rem 0rem;
}
.card.no-fold.sid-card {
  padding: 1.5rem 2rem 1.5rem;
}

#sp-reagents .reagents-header {
  padding: .5rem .75rem 0rem;
}

#sp-reagents .introReagents {
padding: 0rem .75rem 2em
} 
}


:root {
  --fx-alias-fg: #6b6b6b;
}

[data-theme="dark"],
.theme-dark {
  --fx-alias-fg: #b5b5b5; 
}



div.card-head > div {
  font-weight: 500;
} 







 div.risk-legend.compact > button > span.risk-emoji {
  
  display: none;
}

div.risk-legend.compact > button > span.risk-dot {
  margin-top: 2px;
}


.risk-wrap { margin: 0; }
.risk-title { display: none; }
.risk-legend { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 6px; }
@media (max-width: 600px){
  .risk-legend { display: grid; grid-template-columns: 1fr; grid-row-gap: 6px; row-gap: 6px; }
}

@media (min-width: 980px) {

  .s-col--image { justify-self: end; }
}


.s-title { font-size: 20px; font-weight: 700; margin: 0; line-height: 1.35; }
.s-aliases-inline {
  
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.3;
  color: #6b6b6b;
  color: var(--fx-alias-fg, #6b6b6b);
  word-break: break-word;
}


.s-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 4px;
  align-items: flex-start;
}


.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 7px 12px;
  border-radius: 9px;
  font-size: 13px;
  line-height: 1;

  background: #f7fafc;
  color: #22304a;
  border: 1px solid #e6ebf3;

  white-space: nowrap;         
  overflow: hidden;            
  text-overflow: ellipsis;     

  cursor: default!important;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}


.chip.cat {
  background: #fdf3e4;
  color: #bd6d16;
  border: 1px solid #f3e0c7;
  box-shadow: 0 1px 2px rgba(208,135,42,0.08);
  border-radius: 7px;
  
}


.chip.ghost {
  background: linear-gradient(180deg, #d9923c, #c87918);
  color: #fff;
  border: none;
  box-shadow: 0 6px 14px rgba(208,135,42,.22);
}

.s-col--image { align-self: center; }
.struct-wrap { width: 260px; margin-left: auto; margin-right: auto; }
.struct-canvas { display:block; border-radius:8px; }
.struct-placeholder {
  display:grid; place-items:center; width:100%; min-height:180px;
  border-radius:8px; background:#fafafa; border:1px dashed #e5e7eb;
  color:#9ca3af; font-size:14px;
}


@media (max-width: 979px) {
  .struct-wrap { width: 100%; max-width: 260px; }
}


.s-summary, .productIntro { 
  color:#4b5563; line-height:1.55;
  font-size: 0.95em;
  margin-top: 15px;
  -webkit-user-select: text;
  user-select: text;
}

.s-source { 
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 18px 0 0;
  padding: 14px 0 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}

.s-source-label {
  font-weight: 600;
}

.s-source-links {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.s-source-separator {
  opacity: 0.55;
}

.s-source-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}

.s-source-link:hover,
.s-source-link:focus,
.s-source-link:active,
.s-source-link:visited {
  color: inherit;
  text-decoration: none;
}

.s-source-link-icon {
  font-size: 14px;
  opacity: 0.75;
}

.s-translation-vote-btn {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255,255,255,0.85);
  transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease, color .18s ease, opacity .18s ease;
}

.s-translation-vote-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.s-translation-vote-btn:disabled {
  pointer-events: none;
}

.s-translation-vote-btn--down {
  border-color: rgba(207, 61, 73, 0.18);
}

.s-translation-vote-btn--down.is-active {
  background: rgba(207, 61, 73, 0.16);
  border-color: rgba(207, 61, 73, 0.5);
  box-shadow: 0 0 0 1px rgba(207, 61, 73, 0.12), 0 8px 18px rgba(207, 61, 73, 0.14);
}

.s-translation-vote-btn--up {
  border-color: rgba(15, 43, 70, 0.18);
}

.s-translation-vote-btn--up.is-active {
  background: rgba(46, 125, 50, 0.12);
  border-color: rgba(46, 125, 50, 0.5);
  box-shadow: 0 0 0 1px rgba(46, 125, 50, 0.12), 0 8px 18px rgba(46, 125, 50, 0.12);
}

.s-missing-data-notice {
  max-width: 52ch;
  margin: 0px 0 40px;
  padding: 8px 4px 8px 18px;
  border-inline-start: 2px solid #dca92e;
  border-inline-start: 2px solid var(--accent, #dca92e);
  color: #52647a;
  color: var(--text-secondary, #52647a);
  font-size: 0.925rem;
  line-height: 1.65;
  letter-spacing: 0.005em;
}

.s-missing-data-notice__link {
  -webkit-appearance: none;
          appearance: none;
  border: 0;
  background: transparent;
  color: #111827;
  color: var(--fg, #111827);
  font: inherit;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
  border-radius: 3px;
}

.s-missing-data-notice__link:hover {
  text-decoration-thickness: 0.14em;
}

.s-missing-data-notice__link:focus-visible {
  outline: 3px solid rgba(220, 170, 46, 0.48);
  outline-offset: 3px;
}

.theme-dark .s-missing-data-notice,
[data-theme="dark"] .s-missing-data-notice {
  color: #b8c4d4;
  color: var(--text-secondary, #b8c4d4);
}

[dir="rtl"] .s-missing-data-notice {
  padding: 8px 18px 8px 4px;
}

.theme-dark .s-missing-data-notice__link,
[data-theme="dark"] .s-missing-data-notice__link {
  color: #f3f4f6;
  color: var(--fg, #f3f4f6);
}

.theme-dark .s-translation-vote-btn,
[data-theme="dark"] .s-translation-vote-btn {
  background: #18212b;
  border-color: #2d3744;
  box-shadow: none;
}

.theme-dark .s-translation-vote-btn--down,
[data-theme="dark"] .s-translation-vote-btn--down {
  border-color: rgba(207, 61, 73, 0.34);
}

.theme-dark .s-translation-vote-btn--down.is-active,
[data-theme="dark"] .s-translation-vote-btn--down.is-active {
  background: rgba(207, 61, 73, 0.24);
  border-color: rgba(255, 118, 129, 0.58);
  box-shadow: 0 0 0 1px rgba(255, 118, 129, 0.2), 0 10px 18px rgba(0, 0, 0, 0.22);
}

.theme-dark .s-translation-vote-btn--up,
[data-theme="dark"] .s-translation-vote-btn--up {
  border-color: rgba(46, 125, 50, 0.34);
}

.theme-dark .s-translation-vote-btn--up.is-active,
[data-theme="dark"] .s-translation-vote-btn--up.is-active {
  background: rgba(46, 125, 50, 0.22);
  border-color: rgba(111, 214, 116, 0.52);
  box-shadow: 0 0 0 1px rgba(111, 214, 116, 0.18), 0 10px 18px rgba(0, 0, 0, 0.22);
}


.bi-single .s-title,
.bi-single .s-aliases-inline,
.bi-single .s-summary,
.bi-single .qf-value,
.bi-single .s-source,
.bi-single .s-source-link,
.bi-single .s-source-link span,
.bi-single .saferuse-text,
.bi-single .saferuse-label {
  -webkit-user-select: text !important;
  user-select: text !important;
}



.s-quickfacts {
  margin: 12px 0px;
  border-radius: 12px;
  background: #fffaf0;
  border: 1px solid rgba(208,135,42,.15);
  padding: 8px 12px;
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  width: -webkit-fill-available;
}
.qf-row {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  align-items: start;
  padding: 6px 0;
  border-top: 1px dotted rgba(0,0,0,.06);
}
.qf-row:first-child { border-top: 0; }
.qf




.qf-label {
  font-weight: 700;
  color: #774d12;
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}


.qf-value {
  color: #333;
  color: var(--fg, #333);
  font-size: 0.95rem;
  line-height: 1.5;
  transition: color 0.25s ease;
}

.qf-reasons {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  grid-gap: 7px;
  gap: 7px;
}

.qf-reasons .qf-value::marker {
  color: #d0872a;
}

.qf-translation-tools {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  margin-bottom: 2px;
}

.qf-translation-cta,
.qf-translation-feedback {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #61708a;
  color: var(--text-secondary, #61708a);
  font-size: 0.8125rem;
  font-weight: 600;
}

.qf-translation-cta button {
  -webkit-appearance: none;
          appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
}

.qf-translation-cta button:disabled {
  cursor: default;
  opacity: 0.72;
}

.qf-translation-status {
  color: rgba(15, 43, 70, 0.72);
  font-size: 0.75rem;
  line-height: 1.35;
}

.qf-translation-feedback {
  gap: 10px;
  margin-top: 3px;
}

.qf-translation-feedback .s-translation-vote-btn {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.theme-dark .qf-translation-status,
[data-theme="dark"] .qf-translation-status {
  color: rgba(221, 230, 241, 0.74);
}

.theme-dark .s-source {
  border-top-color: rgba(255, 255, 255, 0.12);
}


[data-theme="dark"] .qf-value,
.theme-dark .qf-value {
  color: #e4e4e6;
  color: var(--fg, #e4e4e6); 
}


.s-autogrid {
  display: flex;
  flex-direction: column;
}
.s-col--image { align-self: center; }


@media (min-width: 980px) {
  .s-autogrid {
    display: grid;
    grid-template-columns: 1fr 320px;   
    grid-column-gap: 24px;
    column-gap: 24px;
    align-items: start;
    grid-auto-flow: row dense;          
  }
  
  .s-autogrid .s-col--image { grid-column: 2; justify-self: end; }
  
  .s-autogrid .s-col--text   { grid-column: 1; }
  .s-autogrid .s-summary     { grid-column: 1; }
  
  .s-col--image .struct-wrap { max-width: 320px; }
}


.mixing-section { margin-top: 12px; }




@media (min-width: 980px) {
  .s-autogrid{
    display: grid;
    grid-template-columns: 1fr 320px;          
    grid-template-areas:
      "text    image"
      "summary image"
      "facts   image";                          
    grid-column-gap: 24px;
    column-gap: 24px;
    align-items: start;
  }
  
  .s-col--image  { grid-area: image; justify-self: end; }
  
            
  .s-col--image .struct-wrap { max-width: 320px; }
}


@media (max-width: 979.98px){
  .s-autogrid{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "image"        
      "summary"
      "facts";
  }
  .s-col--text   { grid-area: text; }
  .s-col--image  { grid-area: image; justify-self: center; }
  .s-summary     { grid-area: summary; }
  .s-quickfacts  { grid-area: facts; }
}





.s-mix { margin-top: 12px; }
.s-mix-body { padding: 14px 16px; }
.s-mix-title {
  margin: 0 0 8px 0;
  font-weight: 700; font-size: 15px; color: #333;
}
.s-mix-bar { min-width: 0; }


.risk-bar {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  
  
  position: relative;
}


.risk-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
  pointer-events: none;
}


.mixing-legend, span.risk-text {
  margin-top: 12px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: #444;
}

span.risk-text {
  font-weight: 600;
}

.mixing-legend__item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 6px 0;
  border-top: 1px dashed rgba(0,0,0,.08);
  line-height: 1.45;
}
.mixing-legend__item:first-child {
  border-top: 0;
}

.mixing-legend__emoji {
  flex: 0 0 auto;
  width: 18px;
  text-align: center;
  font-size: 14px;
}

.mixing-legend__label {
  font-weight: 600;
}

.mixing-legend__dash {
  opacity: .6;
}

.theme-dark .mixing-legend {
  color: #bbb;
}
.theme-dark .mixing-legend__item {
  border-top-color: rgba(255,255,255,.1);
}




 


.risk-legend,
.mixing-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  padding: 0;
  list-style: none;
}


.risk-legend > span,
.mixing-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  line-height: 1.2;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}







.theme-dark .risk-legend > span,
.theme-dark .mixing-legend__item {
  background:#121212;
  border-color:#2a2a2a;
  box-shadow:none;
}
.theme-dark .risk-legend > span,
.theme-dark .mixing-legend__item,
.theme-dark .mixing-legend__label,
.theme-dark span.risk-text {
  color:#ddd;
}


@media (max-width: 480px){
  .risk-legend,
  .mixing-legend { gap: 8px; }
  .risk-legend > span,
  .mixing-legend__item { font-size: 12.5px; padding: 7px 10px; }
}








.pharma-muted {
  color: #4b5563;
  color: var(--text-muted, #4b5563);
  padding: 1rem 0;
}

.theme-dark .pharma-muted {
  color: #c7c7c7;
  color: var(--text-muted-dark, #c7c7c7);
}

.pharma-intro {
  margin-top: 6px;
  color: #4b5563;
  color: var(--text-muted, #4b5563);
    line-height:1.55;
  color:#4b5563;
  font-weight:400;
  font-size: 0.95em;
}

.theme-dark .pharma-intro {
  color: #c7c7c7;
  color: var(--text-muted-dark, #c7c7c7);
}

.pharma-disclaimer-note {
  margin: 6px 0 10px;
  padding: 0;
  border-radius: 0;
  font-size: .8rem;
  line-height: 1.35;
  opacity: .72;
  color: #4b5563;
  color: var(--text-muted, #4b5563);
  text-align: start;
  -webkit-user-select: text;
  user-select: text;
}

.theme-dark .pharma-disclaimer-note {
  color: #c7c7c7;
  color: var(--text-muted-dark, #c7c7c7);
  opacity: .7;
}

.disclaimer-note {
  margin: 6px 0 10px;
  font-size: .8rem;
  line-height: 1.35;
  opacity: .72;
  color: #4b5563;
  color: var(--text-muted, #4b5563);
  text-align: start;
  -webkit-user-select: text;
  user-select: text;
}

.theme-dark .disclaimer-note {
  color: #c7c7c7;
  color: var(--text-muted-dark, #c7c7c7);
  opacity: .7;
}

.pharma-tile {
  border-radius: 12px;
  border: 1px solid #e6ebf3;
  border: 1px solid var(--border, #e6ebf3);
  background: #f9fafc;
  background: var(--card-bg, #f9fafc);
  padding: 10px 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
  width: fit-content;
}

.theme-dark .pharma-tile {
  background: #161616;
  border-color: #2a2a2a;
  box-shadow: none;
}

.pharma-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
  color: #212325;
  color: var(--fg, #212325);
}


.theme-dark .pharma-title {
  color: #e5e7eb;
}

.pharma-desc {
  font-size: 14px;
  line-height: 1.45;
  color: #334;
  color: var(--fg, #334);
  opacity: 0.9;
  padding-top: 1rem;
}

.theme-dark .pharma-desc {
  color: #cfcfcf;
}

.pharma-risk {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.4;
  color: #b45309;
}

.interactions-distribution-label {
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 2rem 0 10px;
  color: #374151;
}

.theme-dark .pharma-risk {
  color: #f3c087;
}

.theme-dark .interactions-distribution-label {
  color: #c7c7c7;
}

.interactions-distribution-anim {
  animation: interactionsDistIn 220ms ease;
}

@keyframes interactionsDistIn {
  from {
    opacity: .45;
    transform: translateY(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}







.pharma-systems {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  margin: 18px 0;
}


@keyframes pharma-enter {
  0% {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}


.pharma-system-card {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 12px 14px;
  border-radius: 14px;

  background: linear-gradient(180deg, #ffffffdd, #fffffffa);
  border: 1px solid rgba(225, 230, 240, 0.75);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);

  
  opacity: 1;
  transform: translateY(0);
  filter: none;
  animation: none;
}

.pharma-system-card.pharma-anim {
  animation: pharma-enter 480ms cubic-bezier(.16,.84,.34,1) forwards;
  animation-delay: calc(0 * 90ms);
  animation-delay: calc(var(--i, 0) * 90ms);
}


.pharma-system-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}


.psc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}



.psc-left {
  display: flex;
  align-items: center;
  gap: 10px;

  flex: 1 1 auto;   
  min-width: 0;     
}

.psc-emoji {
  font-size: 22px;
  width: 32px;
  text-align: center;
  flex: 0 0 32px;   
}

.psc-name {
  display: flex;
  flex-direction: column;
  font-size: 15px;
  font-weight: 700;
  color: #1f2a37;
  line-height: 1.2;
  margin-right: 1em;
  min-width: 0;     
}

.psc-desc {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.65;
  margin-top: 2px;
  line-height: 1.25;
  max-width: 260px;

  
  text-wrap: balance;
  text-wrap: pretty;        
  -webkit-hyphens: auto;
          hyphens: auto;            
  overflow-wrap: break-word;
  line-height: 1.5;
}


.psc-details {
  margin-top: 10px;
  padding: 8px 0 2px;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 13px;
  opacity: 0.85;
}

.psc-detail-line {
  margin-bottom: 10px;
  line-height: 1.5em;
}

.psc-details {
  width: -webkit-fill-available;
}



.psc-right {
  display: flex;
  flex-wrap: nowrap;   
  gap: 8px;
  align-items: center;

  flex: 0 0 auto;      
  
  

}



.psc-dot--empty {
  border: 2px solid #cbd5e1;
  background: transparent;
}

.psc-dot--full {
  background: #1e293b;
  border: 2px solid #1e293b;
}


.psc-dot {
  width: 14px;
  height: 14px;
  min-width: 14px;
  min-height: 14px;

  flex: 0 0 14px;      
  border-radius: 50%;
  display: inline-block;

  transition: background-color 0.25s ease, border-color 0.25s ease;
}


.psc-dot[data-tooltip] {
  position: relative;
  cursor: default;
}

.psc-dot[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;

  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;

  background: rgba(0,0,0,0.82);
  color: white;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;

  box-shadow: 0 3px 12px rgba(0,0,0,0.25);
  transition: opacity 0.18s ease-out,
              transform 0.18s ease-out;
}

.psc-dot[data-tooltip]:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}



.pharma-empty-block {
  overflow: hidden;
  transition: max-height 0.35s ease;
  
}

.pharma-empty-block.closed {
  max-height: 0;
  opacity: 0;
}

.pharma-empty-block.open {
  max-height: 2000px; 
  opacity: 1;
}


.pharma-empty-block .pharma-system-card {
  margin-top: 6px;
}

.pharma-empty-block .pharma-system-card:first-child {
  margin-top: 0;
}



.pharma-toggle-btn {
  width: 100%;
  margin: 10px 0 4px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #f4f6fa;
  background: var(--gt-bg2, #f4f6fa);
  border: 1px solid rgba(0,0,0,0.08);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.pharma-toggle-btn:hover {
  background: #eceff4;
  background: var(--gt-bg3, #eceff4);
    cursor: pointer;

}

.theme-dark .pharma-toggle-btn {
  background: linear-gradient(180deg, #1a1a1acc, #1a1a1aee);
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.theme-dark .pharma-toggle-btn:hover {
    background: linear-gradient(180deg, #1a1a1ae5, #1a1a1a);

}


.pharma-system-card {
  display: flex;
  flex-direction: column;     
  gap: 6px;                   
  grid-column: 1 / -1;
  
}

.pharma-system-card--expanded {
display: flex;
flex-direction: row;
}



.psc-risk-block {
  margin: 6px 0 4px 0;
  padding-left: 4px;
  
  opacity: 0.9;
}

.psc-risk-line {
  font-size: 0.82rem;
  
  margin: 2px 0;
}

.psc-risk-subject {
  font-weight: 700;
  color: #b41010;
}

.psc-risk-phrase {
  font-weight: 400;
}


.pharma-risk-toggle {
  background: var(--gt-border);
  color: var(--text-color);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  opacity: 0.8;
  width: 100%;
}

.pharma-risk-toggle:hover {
  opacity: 1;
  cursor: pointer;
}

.psc-risk-expanded {
  margin-top: 0.75rem;
  padding-left: 8px;
  border-left: 2px solid var(--gt-border-strong);
}


.psc-risk-expanded {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-6px);
  transition:
    max-height 0.35s ease,
    opacity 0.25s ease,
    transform 0.35s ease;
}


.psc-risk-expanded.open {
  max-height: 800px; 
  opacity: 1;
  transform: translateY(0px);
}







.theme-dark .pharma-system-card {
  background: linear-gradient(180deg, #1a1a1acc, #1a1a1aee);
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.theme-dark .psc-name {
  color: #e5e7eb;
}

.theme-dark .psc-dot--empty {
  border-color: #475569;
}

.theme-dark .psc-dot--full {
  background: #e2e8f0;
  border-color: #e2e8f0;
}





.sid-intro, .introReagents {
  font-size: .95em;
  line-height: 1.55;
  font-weight: 400;
  color: #4b5563;
  color: var(--text-muted, #4b5563);
  -webkit-user-select: text !important;
  user-select: text !important;
}
.theme-dark .sid-intro, .theme-dark .introReagents{
  color: #c7c7c7;
  color: var(--text-muted-dark, #c7c7c7);
}

.sid-roa-title{
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin: 2rem 0 0 0;
}



.sid-compare-title{
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin: 1rem 0 .5rem;
}
.theme-dark .sid-compare-title, .theme-dark .sid-roa-title{
  color: rgb(229, 231, 235);
}

.recharts-tooltip-cursor {
  fill: rgba(0, 0, 0, 0.06);   
}

.theme-dark .recharts-tooltip-cursor {
  fill: rgba(255, 255, 255, 0.08);  
}
.sid-compare-desc{
  font-size: .95rem;
  line-height: 1.55;
  font-weight: 400;
  margin-bottom: 1rem;
  color: #4b5563;
  color: var(--text-muted, #4b5563);
  -webkit-user-select: text;
  user-select: text;
}
.theme-dark .sid-compare-desc{
  color: #c7c7c7;
  color: var(--text-muted-dark, #c7c7c7);
}
.sid-legend{
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.sid-legend-chip{
  background: #e5e7eb;
  padding: 6px 12px;
  border-radius: 14px;
  font-size: .78rem;
  font-weight: 600;
  color: #374151;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.theme-dark .sid-legend-chip {
  
  background: #75839b;
}

.sid-chip-wrap{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 22px 0;
}

.theme-dark .sid-chip-wrap {
  opacity: .75;
  filter: contrast(1.3);
}
.theme-dark .sid-legend-chip, .theme-dark .sid-chip-label, .theme-dark .sid-chip-val {
  color: rgba(0, 0, 0, 0.75);
}

.sid-chip{
  padding: 7px 14px;
  border-radius: 14px;
  font-size: .8rem;
  font-weight: 600;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.40),
    inset 0 -1px 2px rgba(0,0,0,0.18),
    0 2px 5px rgba(0,0,0,0.22);
}

.sid-chip-icon{ opacity: .9; }
.sid-chip-val{  opacity: 1;  }
.sid-chip-label{ opacity: .85; }


.sid-card { border-radius: 16px; overflow: hidden; }

.substancespage-root .sid-card--timeline {
  overflow: visible;
}

.substancespage-root .timeline-card-overlay-manager {
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.substancespage-root .timeline-card-overlay-manager .om-card {
  container-type: normal;
}
.sid-header{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 16px; border-bottom:1px solid rgba(0,0,0,.06);
}
.sid-h{ margin:0; font-size:18px; font-weight:800; letter-spacing:-.01em; }

.sid-body{ padding:14px 16px; }

.sid-iconbtn{
  border:0; background:#fff; width:36px; height:36px; border-radius:10px;
  display:grid; place-items:center; cursor:pointer;
  box-shadow:0 1px 2px rgba(0,0,0,.06), inset 0 0 0 1px #e9eef6;
}
.sid-iconbtn:hover{ box-shadow:0 2px 8px rgba(0,0,0,.08), inset 0 0 0 1px #e4e9f2; }


.sid-segment{ display:flex; gap:8px; }
.sid-segbtn{
  padding:8px 12px; border-radius:999px; border:1px solid #e5e7eb; background:#fff;
  font-weight:700; font-size:13px; cursor:pointer;
}
.sid-segbtn.is-active{ background:#fdf6ec; color:#d0872a; border-color:#f1e0c3; }


.sid-input{
  width:100%; padding:11px 12px; border-radius:12px; border:1px solid #e5e7eb;
  background:#f6f8fb; font-size:14px; margin:6px 0 10px;
}
.sid-linklike{ background:none; border:0; color:#2563eb; font-weight:700; cursor:pointer; }


.sid-int-list{ display:grid; grid-gap:10px; gap:10px; margin:10px 0; }
.sid-int-item{ background:#fff; border:1px solid #e9eef6; border-radius:12px; padding:10px 12px; }
.sid-int-detail{ color:#4b5563; font-size:13px; margin-top:6px; }


.sid-axisWrap{ padding:16px 0px; }
.sid-axisHead{ display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
.sid-axisH{ margin:0; font-size:16px; font-weight:800; }
.sid-axisVals, .sid-axisLabels{
  display:flex; justify-content:space-between; gap:8px; flex-wrap:nowrap;
}
.sid-axisVal, .sid-axisLabel{ flex:1 1; text-align:center; font-size:12.5px; color:#333; }
.sid-axisBar{
  height:14px; border-radius:3px; margin:6px 0 8px; width:100%;
  background-image: linear-gradient(90deg,#f5efe2 0%,#fde047 25%,#f59e0b 50%,#ef4444 75%,#ef4444 100%);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.05);
}





.sid-tooltip{
  position:fixed; inset:auto 16px 16px 16px; max-width:560px; margin:auto;
  background:#fff; border:1px solid #e6ebf3; border-radius:16px; padding:16px;
  box-shadow:0 12px 40px rgba(0,0,0,.18); z-index:1000;
}
.sid-tooltip-close{
  position:absolute; right:10px; top:10px; border:0; background:transparent; cursor:pointer;
  width:32px; height:32px; border-radius:8px; display:grid; place-items:center;
}
.sid-tooltip-line{ margin:8px 0; }
.sid-tooltip-list{ margin:6px 0 0 18px; }


.sid-calc-wrap{ margin-top:12px; }


.theme-dark .sid-card { background:#121212; border-color:#2a2a2a; }
.theme-dark .sid-header { border-bottom-color:#2a2a2a; }
.theme-dark .sid-iconbtn{ background:#161616; box-shadow:none; border:1px solid #2a2a2a; color:#ddd; }
.theme-dark .sid-segbtn{ background:#161616; border-color:#2a2a2a; color:#ddd; }
.theme-dark .sid-segbtn.is-active{ background:#1a1408; color:#f3c087; border-color:#3a2a10; }
.theme-dark .sid-input{ background:#161616; border-color:#2a2a2a; color:#ddd; }
.theme-dark .sid-axisVal, .theme-dark .sid-axisLabel{ color:#cfcfcf; }
.theme-dark .sid-int-item{ background:#161616; border-color:#2a2a2a; }
.theme-dark .sid-select{ background:#161616; color:#eee; border-color:#2a2a2a; }
.theme-dark .sid-tooltip{ background:#161616; border-color:#2a2a2a; color:#e6e6e6; }


@media (max-width: 640px){
  .sid-header{ padding:12px 14px; }
  .sid-body{ padding:12px 14px; }
  .sid-axisWrap{ padding:12px 0 4px; }
  
  .sid-axisBar{ height:12px; }
  .sid-select{ font-size:13px; }
}

.sid-roa-select{display:flex;align-items:center;margin-bottom:8px;flex-wrap:wrap;}
.sid-roa-label{font-weight:800;font-size:14px;color:#1e2a3f;}

#sp-dosage .sid-roa {
  margin: 1em 0 1.5em;
}

.select-modern{
  position:relative;
  display:inline-flex;
  align-items:center;
  padding:4px 10px;
  border-radius:14px;
  background:rgba(255,255,255,0.7);
  backdrop-filter:blur(8px) saturate(1.2);
  -webkit-backdrop-filter:blur(8px) saturate(1.2);
  border:1px solid rgba(230,234,240,.8);
  box-shadow:0 4px 12px rgba(0,0,0,.06);
  cursor:pointer;
}

.sid-select{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  border:0;
  background:transparent;
  font-weight:700;
  font-size:14px;
  padding:12px 34px 12px 12px;
  cursor:pointer;
  min-width:160px;
  width:100%;
  height:100%;
  position:relative;
  z-index:10;
}

.select-caret{
  position:absolute;
  right:12px;
  top:50%;
  transform:translateY(-50%);
  font-size:16px;
  color:#6b7280;
  pointer-events:none;
}


.roa-button{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  width:100%;
  padding:10px 14px;
  border-radius:12px;
  background:#fff;
  border:1px solid #e5e7eb;
  font-weight:700;
  font-size:14px;
  cursor:pointer;
  box-shadow:0 2px 6px rgba(0,0,0,.06);
}

.roa-caret{opacity:.6;margin-left:6px;font-size:13px;}

.roa-menu{
  position:absolute;
  z-index:50;
  margin-top:6px;
  width:88%;
  background:#fff;
  border-radius:12px;
  padding:6px 0;
  box-shadow:0 4px 14px rgba(0,0,0,.18);
}

.roa-item{
  padding:8px 12px;
  cursor:pointer;
  font-size:14px;
  white-space:nowrap;
}

@media (hover: hover) and (pointer: fine) {
  .roa-item:hover{background:#f3f4f6;}

  .roa-button:hover{
    background:#f9fafb;
    border-color:#d8dde3;
    box-shadow:0 3px 8px rgba(0,0,0,.08);
  }
  .roa-item:hover{
    background:#eef1f5;
    color:#111;
  }
}
.roa-button,
.roa-item{
  transition:background .15s ease, box-shadow .15s ease, border-color .15s ease, color .15s ease;
}


.roa-divider{
  height:1px;
  background:#eee;
  margin:4px 0;
}


.theme-dark .roa-button{
  background:#161616;
  border-color:#2a2a2a;
  color:#eee;
}

.theme-dark .roa-menu{
  background:#161616;
  border:1px solid #2a2a2a;
}

.theme-dark .roa-item:hover{background:#222;}

.theme-dark .select-modern{
  background:rgba(28,28,32,.55);
  border-color:rgba(255,255,255,.08);
  box-shadow:0 4px 14px rgba(0,0,0,.45);
}

.theme-dark .sid-select{color:#e7e7e7;}
.theme-dark .select-caret{color:#aaa;}


.dose-card { padding: 16px; }

.dose-title-row{
  display:flex; align-items:center; justify-content:space-between;
  margin: 4px 0 10px;
}
.dose-title{
  margin:0; font-size:18px; font-weight:800; letter-spacing:-.01em;
}
.dose-iconbtn{
  border:0; background:#fff; color:#243143; cursor:pointer;
  width:32px; height:32px; border-radius:10px;
  display:grid; place-items:center;
  box-shadow:0 1px 2px rgba(0,0,0,.06), inset 0 1px 0 rgba(255,255,255,.6);
  border:1px solid #e7ebf3;
}
.dose-iconbtn:active{ transform:scale(.98) }

.dose-strip{
  position:relative; height:12px; border-radius:999px;
  background: linear-gradient(90deg, #3ccf7a, #ffd14a 50%, #ff6a5b);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}
.dose-strip-labels{
  display:grid; grid-template-columns: repeat(3,1fr);
  grid-gap:8px;
  gap:8px; margin-top:8px; font-size:12px; color:#243143;
}
.dose-strip-captions{
  display:grid; grid-template-columns: repeat(3,1fr);
  grid-gap:8px;
  gap:8px; margin-top:4px; font-size:12px; color:#6b7280;
}
.dose-strip-labels span, .dose-strip-captions span{ text-align:center }

.dose-block{ margin-top:14px; }

.dose-badges{
  display:flex; flex-wrap:wrap; gap:8px; justify-content:center;
  margin: 8px 0 16px;
}
.dose-badge{
  padding:6px 10px; border-radius:999px; background:#f7f9fc;
  border:1px solid #e1e5eb; color:#243143; font-size:12px; font-weight:600;
}
.dose-badge strong{ margin-right:6px }

.dose-chart{
  width:100%; height:280px; margin-bottom:8px;
  border-radius:12px; background:#fff;
}

@media (max-width: 560px){
  .select-modern{ min-width: 0; width:100% }
  .dose-chart{ height:240px }
}






:root {
  --sidx-pad: 16px;
  --sidx-gap: 14px;
  --sidx-radius: 16px;
  --sidx-border: 1px;
  --sidx-glass-top: rgba(255,255,255,0.70);
  --sidx-glass-bot: rgba(255,255,255,0.92);
  --sidx-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.sidx-section{
  position: relative;
  border-radius: 16px;
  border-radius: var(--sidx-radius);
  padding: calc(16px + 2px);
  padding: calc(var(--sidx-pad) + 2px);
  
  background: linear-gradient(180deg, rgba(255,255,255,0.70), rgba(255,255,255,0.92));
  background: linear-gradient(180deg, var(--sidx-glass-top), var(--sidx-glass-bot));
  border: 1px solid rgba(226,232,240,.7);
  border: var(--sidx-border) solid rgba(226,232,240,.7);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  box-shadow: var(--sidx-shadow);
  overflow: hidden;
}
.sidx-glass{
  backdrop-filter: saturate(1.25) blur(8px);
  -webkit-backdrop-filter: saturate(1.25) blur(8px);
}

.sidx-stack{ display: grid; gap: 14px; grid-gap: 14px; grid-gap: var(--sidx-gap); gap: var(--sidx-gap); }

.sidx-body{ display:block; }
.sidx-chartWrap{
  display:block;
  width:100%;
  cursor:pointer;
  overflow:hidden;
  height:auto;

  
  padding: 0rem 0x 1rem;
  margin: 0;
  box-sizing: border-box;
}

.sidx-chartWrap--sep{
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
  border-bottom: 1px solid var(--card-border, #e5e7eb);
}
@media (max-width: 440px){
.recharts-responsive-container {
  zoom: 1.2;
}}

.theme-dark .sidx-chartWrap--sep{
  border-bottom-color: rgba(255,255,255,0.12);
  border-bottom-color: var(--card-border-dark, rgba(255,255,255,0.12));
}

.dosage-container {
  padding: 24px 0px 0px;
  
  
}


@media (max-width: 540px) {
  .dosage-container {
    padding: 16px 0px 0px;
    margin: 0px 0px 40px;
  }
}


.sidx-section + .sidx-section { margin-top: 14px; }


@media (max-width: 480px){
  :root{
    --sidx-pad: 12px;
    --sidx-gap: 12px;
    --sidx-radius: 14px;
  }
}
@media (min-width: 980px){
  :root{
    --sidx-pad: 18px;
    --sidx-gap: 16px;
    --sidx-radius: 18px;
  }
}

.select-modern .sid-select{
  background: transparent;
}


.sid-tooltip{
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.96));
  border: 1px solid rgba(226,232,240,.9);
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  border-radius: 14px;
}


.sidx-section { margin-top: 12px; }
.sidx-section:first-child { margin-top: 0; }


.theme-dark .sidx-section{
  background: linear-gradient(180deg, rgba(20,20,22,.55), rgba(20,20,22,.80));
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
}
.theme-dark .select-modern{
  background: rgba(28,28,30,.65);
  border-color: rgba(255,255,255,.08);
}
.theme-dark .sid-tooltip{
  background: linear-gradient(180deg, rgba(28,28,30,.78), rgba(28,28,30,.92));
  border-color: rgba(255,255,255,.08);
}


.interaction-search button,
.sp-linklike {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.interaction-search button:hover,
.sp-linklike:hover {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}


.theme-dark .card {
  background: #121212;
  border-color: #2a2a2a;
}

.theme-dark .s-summary, .theme-dark .productIntro {
  color: #c7c7c7;
}


.theme-dark .chip {
  background: #1e1e1e;
  border-color: #2b2b2b;
  color: #ddd;
}

.theme-dark .chip.cat {
  background: color-mix(in srgb, #d0872a 18%, #1a1a1a);
  border-color: rgba(208, 135, 42, 0.4);
  color: #f7d7a2;
}


.theme-dark .struct-placeholder {
  background: #0e0e0e;
  border-color: #2b2b2b;
  color: #7a7a7a;
}


.theme-dark .s-quickfacts {
  background: color-mix(in srgb, #d0872a 10%, #1a1408);
  border-color: rgba(208, 135, 42, 0.35);
  box-shadow: 0 0 12px rgba(208, 135, 42, 0.12);
}

.theme-dark .qf-label {
  color: #ffb74d; 
}

.theme-dark .qf-value {
  color: #e4e4e6;
}





.struct-wrap { width: 100%; max-width: 320px; margin-inline: auto; }


.struct-img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 220ms ease;
  margin: 50px 0px 40px;
}


.struct-img.is-loaded {
  opacity: 1;
  
}


.struct-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 180px;           
  border-radius: 8px;
  background: #fafafa;
  border: 1px dashed #e5e7eb;
  color: #9ca3af;
  font-size: 14px;
}

.saferuse-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  
  background: #fafafa;
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  cursor: pointer!important;
  font-weight: 800;
  color: var(--fg);
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.saferuse-toggle:hover,
.saferuse-toggle:focus {
  background: color-mix(in srgb, var(--card), var(--fg) 3%);
  border-color: var(--accent);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.theme-dark .saferuse-toggle {
  box-shadow: 0 1px 2px rgba(255, 255, 255, 0.06);
}

.theme-dark .saferuse-toggle,
.theme-dark .saferuse-toggle:focus {
  background: color-mix(in srgb, var(--card), var(--fg) 4%);
  box-shadow: 0 2px 4px rgba(255, 255, 255, 0.08);
}

.saferuse-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}



.bi-single .s-autogrid{
  display: flex !important;          
  flex-direction: column !important;
}


.bi-single .s-autogrid > *{
  grid-area: auto !important;
}


.bi-single .s-col--image{
  justify-self: center !important;
  align-self: center;
}


.bi-single .s-col--image .struct-wrap{
  max-width: 320px;
}



#sp-basic .risk-wrap {
width: 50%;

}








.sid-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px 0;
}
.sid-title--h3 {
  font-weight: 700;          
  font-size: 1.25rem;        
  line-height: 1.2;
  margin: 0;
}



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





.sidx-section.sidx-glass {
    margin-top: 12px;
    width: 94%;
}








.u-card{ border-radius:18px; overflow:hidden; }
.u-shell{ position:relative; }
.u-inner{ position:relative; z-index:1; }
.u-frame{ position:relative; border:0 solid #e9eef6; border-radius:16px; background:#fff; }

.u-topbar{
  display:flex; align-items:center; justify-content:space-between;
  gap:10px; padding:0px 0px 1em;
}
.u-title{ font-weight:900; color:#22304a; letter-spacing:-.01em; }
.u-controls{ display:flex; align-items:center; gap:8px; }
.u-legend-toggle{
  display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border-radius:999px;
  border:1px solid #e8edf6; background:#fff; font-weight:800; cursor:pointer;
  box-shadow:0 1px 2px rgba(0,0,0,.04);
}
.u-tip{ color:#5a6b86; font-size:13px; }
.u-legend{ display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.u-pill{
  display:inline-flex; align-items:center; gap:8px; padding:8px 10px; border-radius:999px;
  color:#fff; font-weight:800; font-size:12.5px; box-shadow:inset 0 1px 0 rgba(255,255,255,.5), 0 4px 14px rgba(0,0,0,.08);
}

.u-tip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  justify-content: center;
}

.u-tip-dot {
  font-weight: 600;
  color: #888;
}


.u-tip-line--tap {
  display: none;
}

@media (hover: none), (pointer: coarse) {
  .u-tip-line--hover {
    display: none;
  }
  .u-tip-line--tap {
    display: inline;
  }
}

@media (max-width: 480px) {
  .u-tip-dot {
    display: none;
  }
  .u-tip-line {
    flex-basis: 100%;
    text-align: center;
  }
}


.u-btn-text {
  margin-left: 6px;
}
@media (max-width: 580px) {
  .u-btn-text {
    display: none;
  }
}


.u-info-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  min-width: 40px;
  padding: 0;
}

.u-chart-slot svg{
  display:block;
  contain: layout paint style;   
}
.u-chart-slot{ 
  position: relative; 
  width: 100%; 
  height: 100%;      
  max-height: 100%;
}

.u-chart-slot{ position:relative; width:100%; aspect-ratio:1/1; }

.u-tt{
  position:absolute; background:#fff; border:1px solid #e8edf6; border-radius:14px;
  padding:10px 12px; box-shadow:0 4px 12px rgba(0,0,0,.16); pointer-events:none;
  font-size:13.5px; max-width:280px; z-index:2;  contain: layout paint;
  will-change: transform;
}
.u-tt h4{ margin:0 0 6px; font-size:14.5px; font-weight:900; color:#22304a; }
.u-tt ul{ margin:6px 0 0; padding-left:16px; color:#5a6b86; }


.u-modal-panel{
  position:relative; z-index:1;
  width:min(90vw, 1200px);
  height:min(90vh, 90vw);             
  display:flex; flex-direction:column; gap:12px;
  padding: clamp(10px,2vw,16px);
  border-radius:20px;
  background: rgba(255,255,255,.5);
  box-shadow:0 6px 20px rgba(0,0,0,.2);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow:hidden;
}
.u-modal-top{ display:flex; align-items:center; justify-content:space-between; gap:8px; }


.u-modal-panel .u-modal-body{
  display:flex;
  gap:12px;
}
.u-modal-panel .u-frame{ flex:1 1; }
.u-modal-panel .u-zoom-rail{ width:52px; }


.u-modal-panel .u-frame{
  display:flex; align-items:center; justify-content:center;
  width:100%; height:100%; border:none; background:transparent;
}

.u-modal .u-chart-slot{
  height:100%;
  width:100%;
  max-width:100%;
  max-height:100%;
  aspect-ratio:auto;   
}


.u-modal .u-frame, .u-modal .u-chart-slot, .u-modal svg {
   touch-action:pan-y; }


.u-modal-panel .u-zoom-rail{
  display:grid; place-items:center; height:100%;
  position:relative; z-index:2;
  background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,.15));
  border-left:1px solid rgba(0,0,0,.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius:12px;
}
.theme-dark .u-modal-panel .u-zoom-rail{
  background: linear-gradient(180deg, rgba(28,28,30,.35), rgba(28,28,30,.18));
  border-left:1px solid rgba(255,255,255,.08);
}



.u-modal-panel .u-zoom-under{ display: none; }


@media (max-width: 560px){
  .u-modal-panel .u-modal-body{
    grid-template-columns: 1fr;         
    grid-template-rows: 1fr auto;       
    grid-auto-flow: row;
    align-items: stretch;
  }
  .u-modal-panel .u-frame{ min-height: 0; }

  .u-modal-panel .u-zoom-rail{ display: none !important; }

  .u-modal-panel .u-zoom-under{
    display: block;
    grid-column: 1 / -1;                
    grid-row: 2;                        
    margin-top: 8px;
  }

  .u-modal .zoom-horizontal{
    width: 100%;
    accent-color: #d0872a;
    cursor: grab;
  }
}



.u-dot{ width:10px; height:10px; border-radius:50%; }

.u-cat{ font-weight:800; }

.u-classes-title{
  margin-top:6px;
  font-weight:700;
  color:#5a6b86;
}
.theme-dark .u-classes-title{ color:#9ca3af; }

.u-grid-ring{ stroke: rgba(0, 0, 0, 0.10); stroke: var(--fx-grid-stroke); stroke-width:1; fill:none; }
.u-grid-spoke{ stroke: rgba(0, 0, 0, 0.04); stroke: var(--fx-grid-fill); stroke-width:1; }

.u-tolerance-intro{
  margin-bottom:12px;
  font-size:0.95em;
  color:#4b5563;
}
.theme-dark .u-tolerance-intro{ color:#c7c7c7; }

.u-tolerance-desc {
  margin-top: 1em;
}

.u-tolerance-line{
  
  font-size:0.95em;
  line-height:1.35;
  color:#4b5563;
}
.theme-dark .u-tolerance-line{ color:#c7c7c7; }

.u-tolerance-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  grid-gap:8px;
  gap:8px;
  align-items:center;
  font-size:1rem;
  margin:1rem 0 2rem;
}


.tol-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;

  font-weight: 600;
 transform: translateY(0px);
  

  
  
}



.u-days-input{
  width:60px;
  padding:4px 6px;
  font-size:1rem;
  border-radius:6px;
  border:1px solid var(--border);
  background:var(--card);
  color:var(--fg);
}
.theme-dark .u-days-input{
  background:#161616;
  border-color:#2a2a2a;
}

.u-model-src {
  margin-bottom: 2em;
}
.u-model-src, .pharma-intoTip{
  font-size:.8rem;
  opacity:.7;
  -webkit-user-select: text;
  user-select: text;
  
  
}

.u-chart-box{
  width:100%;
  height:420px;
}


.u-chart-slot svg {
  will-change: transform;
  contain: layout paint style;
  cursor: crosshair;
}














.ix {
  --bg: #ffffff;
  --fg: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #f3f4f6;
  --shadow: 0 6px 16px rgba(0,0,0,.06);
  --radius: 14px;
  --radius-sm: 10px;
  --focus: 0 0 0 3px rgba(59,130,246,.35);

  display: grid;
  grid-gap: 10px;
  gap: 10px;
  color: var(--fg);
}


[data-theme="dark"] .ix,
.theme-dark .ix {
  --bg: #0b0f14;
  --fg: #e5e7eb;
  --muted: #9ca3af;
  --line: #1f2937;
  --soft: #111820;
  --shadow: 0 8px 20px rgba(0,0,0,.45);
  --focus: 0 0 0 3px rgba(147,197,253,.35);
}

.ix-show-all {
  cursor: pointer;
}

.interactions-search-block {
  margin: 1.5rem 0;
}

.ix__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ix-inputWrap {
  position: relative;
  flex: 1 1 260px;
  min-width: 220px;
}

.ix-inputIcon {
  position: absolute;
  left: 12px; top: 50%; transform: translateY(-50%);
  font-size: 14px; opacity: .7;
}

.ix-input {
  width: 100%;
  -webkit-appearance: none;
          appearance: none;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--fg);
  padding: 10px 36px 10px 32px;
  border-radius: var(--radius-sm);
  outline: none;
  transition: box-shadow .15s ease, border-color .15s ease, background .2s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.ix-input:focus { box-shadow: var(--focus); border-color: transparent; }
.ix-input::placeholder { color: var(--muted); }

.ix-clear {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 999px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--muted);
  cursor: pointer;
}
.ix-clear:hover { filter: brightness(1.05); }

.ix-showall {

  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--fg);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: var(--shadow);
  
  font-weight: 600;
  height: 2.7rem;
    transition: background-color 0.25s ease;

}
.ix-showall:hover { 
  background: #eceff4; 
  background: var(--gt-bg3, #eceff4);

cursor: pointer;}

.ix-showall:active { transform: translateY(1px) scale(.99); }
.ix-showall:focus-visible { outline: none; box-shadow: var(--focus); }


.ix-results {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
}

.ix-row {
  display: grid;
  grid-template-columns: 16px 1fr;
  align-items: center;
  grid-column-gap: 10px;
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--fg);
  border-radius: var(--radius);
  padding: 10px 12px;
  cursor: pointer;
  transition: transform .08s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
  box-shadow: var(--shadow);
}
.ix-row:hover { transform: translateY(-1px); }
.ix-row:focus-visible { outline: none; box-shadow: var(--focus); border-color: transparent; }

.ix-row__badge {
  width: 10px; height: 10px; border-radius: 50%;
  display: inline-block;
}

.ix-row__title {
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  user-select: text;
  -webkit-user-select: text;
  cursor: text;
}

.ix-row__desc {
  grid-column: 2 / -1;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
  margin-bottom: 0;
  line-height: 1.35;
  user-select: text;
  -webkit-user-select: text;
}


.ix-empty {
  
  border-radius: var(--radius);
  padding: 12px;
  color: var(--muted);
  
}


.ix-legend {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 2px;
}

.ix-legend__item {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--radius);
  padding: 10px 12px;
  box-shadow: var(--shadow);
}

.ix-legend__dot {
  width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 8px;
}

.ix-legend__label {
  font-weight: 800;
  font-size: 14px;
}

.ix-legend__generic {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.35;
}


@media (max-width: 420px) {
  .ix-input { padding: 9px 34px 9px 30px; }
  .ix-row { padding: 9px 10px; border-radius: 12px; }
  .ix-legend { grid-template-columns: 1fr; }
}



.ix-row {
  grid-template-columns: 12px 1fr auto;
  padding: 10px 12px;
}

.ix-row__title {
  -webkit-appearance: none;
          appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  padding: 0;
}

.ix-row__chev {
  -webkit-appearance: none;
          appearance: none;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--muted);
  border-radius: 8px;
  padding: 0 6px;
  height: 26px;
  line-height: 24px;
  cursor: pointer;
  transition: transform .15s ease;
}
.ix-row__chev.is-open { transform: rotate(180deg); }

.ix-row__detail {
  grid-column: 2 / -1;
  
  border-top: 1px dashed var(--line);
  padding-top: 6px;
}

.ix-row__meta {
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--muted);
}
.ix-src { text-transform: none; opacity: .9; }


.ix-row {
  grid-template-columns: 1fr auto;
  padding: 0; 
}

.ix-row__main {
  
  gap: 10px;
  align-items: center;
  width: 100%;
  border: 0;
  background: var(--bg);
  color: inherit;
  text-align: left;
  padding: 10px 12px;
  border-radius: var(--radius) 0 0 var(--radius);
  cursor: pointer;
}
.ix-row__main:focus-visible { outline: none; box-shadow: var(--focus); }

.ix-row__chev {
  height: 100%;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0 10px;
  border-left: 1px solid var(--line);
}


.ix, .ix__controls, .ix-results { max-width: 100%; }
.ix__controls { align-items: stretch; }
.ix-showall { white-space: nowrap; max-width: 100%; }

.card .ix, .card .ix * { box-sizing: border-box; }
.card .ix { width: 100%; }


.risk-title-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; margin-bottom: 6px;
}
.info-icon {
  -webkit-appearance: none;
          appearance: none; border: 1px solid var(--line); background: var(--soft);
  border-radius: 10px; padding: 4px 8px; cursor: pointer; color: var(--muted);
}
.info-icon:focus-visible { outline: none; box-shadow: var(--focus); }


.risk-legend.compact {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px;
}


@media (max-width: 600px) {
  .risk-legend.compact {
    display: grid;
    grid-template-columns: 1fr;
  }
}
.risk-pill.lite {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg); cursor: pointer;
  box-shadow: var(--shadow);
}
.risk-pill.lite.is-active { box-shadow: var(--focus); }
.risk-explain {
  margin-top: 10px; border: 1px solid var(--line); background: var(--bg);
  border-radius: 12px; padding: 10px 12px; box-shadow: var(--shadow);
}
.slide-in { animation: slideIn .18s ease; }
@keyframes slideIn { from { opacity:0; transform: translateY(4px) } to { opacity:1; transform: translateY(0) } }

.risk-title-row{
  display:flex; align-items:center; justify-content:space-between;
  gap:8px; margin-bottom:6px;
}
.info-icon{
  -webkit-appearance:none;
          appearance:none; border:1px solid var(--line); background:var(--soft);
  border-radius:10px; padding:4px 8px; cursor:pointer; color:var(--muted);
}



.risk-pill.lite {
  display:flex; align-items:center; justify-content:flex-start; gap:8px;
  padding:10px 12px; border-radius:999px;
  border:1px solid var(--line); background:var(--bg);
  cursor:pointer; box-shadow:var(--shadow); 
  
  text-align:left;           
}
.risk-pill.lite .risk-text{ font-weight:700; }


.risk-pill.lite{ justify-content: flex-start; padding: 8px 12px; }
.risk-dot{ width:10px; height:10px; border-radius:50%; flex:0 0 10px; }
.risk-emoji{ font-size:14px; line-height:1; }
.risk-name{ font-weight:700; }
.risk-text{ font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; opacity:.9; }



.ix, .ix * { box-sizing: border-box; }
.ix { width: 100%; }
.ix__controls {
  display: flex; gap: 8px; align-items: stretch;
  width: 100%;
}
.ix-input {
  flex: 1 1 auto;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: inherit;
  
  background-image: none;
}
.ix-showall {
  flex: 0 0 auto;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--soft);
  cursor: pointer;
  white-space: nowrap;
}


.ix-results { display: grid; grid-gap: 10px; gap: 10px; }
.ix-row {
  display: grid;
  grid-template-columns: 1fr auto;
  
  border-radius: 14px;
  background: var(--bg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.ix-row__main {
  
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.ix-row__badge { width: 10px; height: 10px; border-radius: 50%; }
.ix-row__chev {
  padding: 0 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
  align-self: stretch;
}
.ix-row.is-open .ix-row__main { border-bottom-left-radius: 0; }
.ix-row.is-open .ix-row__chev { border-bottom-right-radius: 0; }


.ix-row__detail {
  grid-column: 1 / -1;
  border-top: 1px dashed var(--line);
  padding: 12px 14px;
  background: var(--soft);
}
.ix-row__desc { margin-bottom: 6px; }
.ix-row__meta { font-size: 12px; color: var(--muted); }




.ix { width: 100%; }
.ix__controls{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:nowrap;        
  width:100%;
}
.ix-input{
  flex:1 1 auto;
  min-width:0;            
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--bg);
  height: 2.7rem;
}
.ix-showall{
  flex:0 0 auto;
  white-space:nowrap;      
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--soft);
  cursor:pointer;
}


.ix-results{ display:grid; grid-gap:10px; gap:10px; }
.ix-row{
  display:grid;
  grid-template-columns: 1fr auto;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--bg);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.ix-row__main{
  
  gap:10px;
  align-items:center;
  padding:10px 12px;
  border:0;
  border-right:1px solid var(--line);
  background:transparent;
  text-align:left;
  cursor:pointer;
}
.ix-row__badge{ width:10px; height:10px; border-radius:50%; }
.ix-row__chev{ padding:0 12px; border:0; background:transparent; cursor:pointer; align-self:stretch; }
.ix-row__detail{ grid-column:1 / -1; border-top:1px dashed var(--line); padding:12px 14px; background:var(--soft); }



.ix-row{
  display: grid;
  grid-template-columns: 1fr auto auto;    
  align-items: center;
}

.ix-row__main{
  min-width: 0;                             
  
}

.ix-row__pillwrap{
  grid-column: 2;                            
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.ix-row__chev{
  grid-column: 3;                            
  align-self: center;
  height: 26px;
  padding: 0 10px;
  border-left: 0;                            
}


.ix-row__detail{ grid-column: 1 / -1; }
.theme-dark .ix-row__detail {
  background: linear-gradient(180deg, #1a1a1acc, #1a1a1aee);
}
.theme-dark .ix-row.is-open {
  background: #121212;
}





.ix-results-anim .ix-row {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  animation: ix-row-enter 320ms cubic-bezier(.16,.84,.34,1) forwards;
  animation-delay: calc(0 * 60ms);
  animation-delay: calc(var(--i, 0) * 60ms);
  will-change: opacity, transform, filter;
}

@keyframes ix-row-enter {
  0% {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}












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

.saferuse-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  grid-gap: 12px;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  
  background: #fafafa;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.saferuse-item--source {
  grid-template-columns: 1fr;
}

.saferuse-source-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}

.saferuse-source-link:hover,
.saferuse-source-link:focus,
.saferuse-source-link:active,
.saferuse-source-link:visited {
  color: inherit;
  text-decoration: none;
}

.saferuse-source-icon {
  font-size: 14px;
  opacity: 0.75;
}

@keyframes saferuse-enter {
  0% {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.saferuse-list {
  opacity: 1;
  transform: translateY(0);
  animation: saferuse-enter 260ms cubic-bezier(.16,.84,.34,1) forwards;
  will-change: opacity, transform, filter;
}

@keyframes saferuse-item-enter {
  0% {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.saferuse-item {
  opacity: 0;
  transform: translateY(16px);
  animation: saferuse-item-enter 280ms cubic-bezier(.16,.84,.34,1) forwards;
  will-change: opacity, transform, filter;
}

@keyframes saferuse-exit {
  0% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: translateY(8px);
    filter: blur(4px);
  }
}

.saferuse-list--exit .saferuse-list {
  animation: saferuse-exit 220ms cubic-bezier(.33,.01,.68,1) forwards;
  pointer-events: none;
}

.saferuse-list--exit .saferuse-item {
  animation: saferuse-exit 180ms ease forwards;
  animation-delay: calc(var(--i) * 20ms);
}

.saferuse-item {
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease, background-color 140ms ease;
}

.saferuse-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-color: var(--accent);
  background: color-mix(in srgb, #fafafa, var(--accent) 4%);
    cursor: default;

}

.saferuse-item {
  animation-delay: calc(0 * 35ms);
  animation-delay: calc(var(--i, 0) * 35ms);
}

.saferuse-list--enter .saferuse-list {
  animation: saferuse-enter 260ms cubic-bezier(.16,.84,.34,1) forwards;
}
.saferuse-list--enter .saferuse-item {
  animation: saferuse-item-enter 300ms cubic-bezier(.16,.84,.34,1) forwards;
  animation-delay: calc(var(--i) * 45ms);
}



.saferuse-list--exit .saferuse-list {
  animation: saferuse-exit 200ms ease forwards;
}
.saferuse-list--exit .saferuse-item {
  animation: saferuse-exit 150ms ease forwards;
}





.saferuse-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  
  
  transition: background-color 0.25s ease, color 0.25s ease;
}

.saferuse-text {
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--fg);
  -webkit-hyphens: auto;
          hyphens: auto;
  overflow-wrap: break-word;
}

.theme-dark .saferuse-item {
  background: color-mix(in srgb, var(--card), var(--fg) 4%);
}

.theme-dark .saferuse-item:hover {
  background: color-mix(in srgb, #1a1a1a, var(--accent) 6%);
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
  cursor: default;
}

.theme-dark .saferuse-icon {
  background: var(--chip-bg);
  
}



.struct-img {
  filter: none;
  transition: filter 0.3s ease;
}


[data-theme="dark"] .struct-img,
.theme-dark .struct-img {
  filter: invert(1) hue-rotate(180deg) brightness(1.05) saturate(0.8) contrast(1.05)!important;
}


.struct-svg {
  color: #1f2937;
  color: var(--fg, #1f2937);
  opacity: 0;
  transition: opacity 220ms ease;
  margin: 16px auto;
  max-width: 260px;          
}
.struct-svg.is-loaded { opacity: 1; }
.struct-svg svg {
  display: block;
  width: 100%;
  height: auto;
  filter: none !important;   
}


.struct-skeleton {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  min-height: 180px;
  margin: 16px auto;
  border-radius: 12px;
  background: #edf0f3;
}

.struct-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  animation: struct-skeleton-shimmer 1.2s linear infinite;
}

.theme-dark .struct-skeleton,
[data-theme="dark"] .struct-skeleton {
  background: #24272b;
}

.theme-dark .struct-skeleton::after,
[data-theme="dark"] .struct-skeleton::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

@keyframes struct-skeleton-shimmer {
  to { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
  .struct-skeleton::after { animation: none; }
}





.effects-container {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

@media (max-width: 540px) {
  .effects-container {
    padding: 0;
  }
}
.fx-radar-label{
  font-size: 11px;
  font-weight: 600;
  fill: #774d12;
  fill: var(--fx-label, #774d12);
}
.theme-dark .fx-radar-label{
  fill: var(--accent-strong)
}

.fx-card-head{
  font-weight: 800;
}

.fx-tab-label{
  font-weight: 700;
}

.fx-empty{
  text-align: center;
  padding: 16px;
  color: #667;
}


.fx-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  min-width: 120px;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #e6ebf3;
  border: 1px solid var(--fx-cat-border, #e6ebf3);
  background-color: #ffffff;
  background-color: var(--fx-cat-bg, #ffffff);
  color: #22304a;
  color: var(--fx-cat-fg, #22304a);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  box-shadow: var(--fx-cat-shadow, 0 1px 2px rgba(0,0,0,.04));
  cursor: pointer !important;
  font-weight: 700;

  
  transition:
    background-color .18s ease,
    box-shadow .18s ease,
    color .18s ease,
    border-color .18s ease,
    transform .12s ease;
}


.fx-tab:not(.is-active):hover {
  background-color: color-mix(in srgb, #ffffff, #d0872a 12%);
  background-color: color-mix(in srgb, var(--fx-cat-bg, #fff), #d0872a 12%);
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}


.fx-tab.is-active {
  cursor: default !important;
  border-color: transparent;

  
  background-color: #c87918; 
  background-image: linear-gradient(180deg, #d9923c, #c87918);
  background-image: var(--fx-cat-active-bg, linear-gradient(180deg, #d9923c, #c87918));

  color: #fff;

  color: var(--fx-cat-active-fg, #fff);
  box-shadow: 0 10px 22px rgba(208, 135, 42, 0.25);
  box-shadow: var(--fx-cat-active-shadow, 0 10px 22px rgba(208,135,42,.25));

  transition:
    background-image .18s ease,
    background-color .18s ease,
    box-shadow .18s ease,
    color .18s ease;
}

.theme-dark .fx-tab.is-active, .theme-dark .fx-em-btn {
  opacity: .8;
}


.fx-tab.is-active:hover {
  background-image: linear-gradient(180deg, #c57c1a, #a86112);
  box-shadow: 0 10px 24px rgba(208,135,42,.32);
}

.fx-badge {
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  background: #f3f6fb;
  background: var(--fx-cat-badge-bg, #f3f6fb);
  color: #31415f;
  color: var(--fx-cat-badge-fg, #31415f);
  transition: background .18s ease, color .18s ease;
}

.fx-badge.is-active {
  background: rgba(255, 255, 255, 0.22);
  background: var(--fx-cat-active-badge-bg, rgba(255,255,255,.22));
  color: #fff;
  color: var(--fx-cat-active-badge-fg, #fff);
}


.fx-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
    cursor: default!important;

  border-radius: 999px;
  border: 1px solid #e6ebf3;
  border: 1px solid var(--fx-chip-border, #e6ebf3);
  background: #f7fafc;
  background: var(--fx-chip-bg, #f7fafc);
  color: #22304a;
  color: var(--fx-chip-fg, #22304a);
  font-size: 14.5px;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background .15s ease, box-shadow .15s ease;
}


.fx-chip:hover {
  background: color-mix(in srgb, #f7fafc, #cfcfcf 10%);
  background: color-mix(in srgb, var(--fx-chip-bg, #f7fafc), #cfcfcf 10%);
  box-shadow: 0 2px 4px rgba(0,0,0,.06);
}
.fx-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
}




.card .fx-radar-wrap{
  display:flex;
  justify-content:center;
  align-items:center;
  margin:-1rem 0 -2rem;
}


.card .fx-intro{
  margin:1rem 0 3rem;
  line-height:1.55;
  color:#4b5563;
  font-weight:400;
  font-size: 0.95em;
  -webkit-user-select: text !important;
  user-select: text !important;
}


.card .fx-tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap-reverse;
  justify-content:center;
  padding:0 0 1rem;
  border-bottom:1px solid #eef2f7;
  margin-bottom:1rem;
}


.card .fx-list.fx-anim{
  animation:glass-pop 220ms ease;
}
.card .fx-list.fx-no-anim{
  animation:none;
}


.card .fx-em-wrap{
  display:flex;
  justify-content:center;
  margin:2rem 0;
}


.card .fx-em-btn{
  width: 100%;
  max-width: 400px!important;
  justify-content: center;
  font-size: 21px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 16px;
  border-radius:12px;
  background:linear-gradient(180deg,#ffa332ff,#9e5f0dff);
  color:#fff;
  border:1px solid #e9a550;
  box-shadow:0 10px 24px rgba(208,135,42,.28);
  font-weight:900;
  cursor:pointer;
  white-space:nowrap;
  transition:transform 140ms ease, box-shadow .18s ease;
}

.card .fx-em-btn:active{
  transform:scale(.98);
}

.card .fx-em-btn:hover{
  box-shadow:0 14px 30px rgba(208,135,42,.35);
}

.theme-dark .card .fx-tabs {
  border-bottom: 1px solid #2b2b2b;
}


.theme-dark .card .fx-intro{
  color:#c7c7c7;
}


:root {
  --fx-chip-bg: #f7fafc;
  --fx-chip-fg: #22304a;
  --fx-chip-border: #e6ebf3;
  --fx-grid-stroke: rgba(0, 0, 0, 0.10);
  --fx-grid-fill: rgba(0, 0, 0, 0.04);
}


[data-theme="dark"],
.theme-dark {
  --fx-chip-bg: #1f1f1f;
  --fx-chip-fg: #e4e4e6;
  --fx-chip-border: #2a2a2a;
  --fx-grid-stroke: rgba(255, 255, 255, 0.12);
  --fx-grid-fill: rgba(255, 255, 255, 0.06);
}


:root {
  --fx-cat-bg: #ffffff;
  --fx-cat-fg: #22304a;
  --fx-cat-border: #e6ebf3;
  --fx-cat-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);

  --fx-cat-active-bg: linear-gradient(180deg, #d9923c, #c87918);
  --fx-cat-active-fg: #fff;
  --fx-cat-active-shadow: 0 10px 22px rgba(208, 135, 42, 0.25);

  --fx-cat-badge-bg: #f3f6fb;
  --fx-cat-badge-fg: #31415f;
  --fx-cat-active-badge-bg: rgba(255, 255, 255, 0.22);
  --fx-cat-active-badge-fg: #fff;
}

[data-theme="dark"],
.theme-dark {
  --fx-cat-bg: #1a1a1a;
  --fx-cat-fg: #e4e4e6;
  --fx-cat-border: #2c2c2c;
  --fx-cat-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);

  --fx-cat-active-bg: linear-gradient(180deg, #e39a32, #a96614);
  --fx-cat-active-fg: #fff;
  --fx-cat-active-shadow: 0 10px 22px rgba(208, 135, 42, 0.35);

  --fx-cat-badge-bg: #2b2b2b;
  --fx-cat-badge-fg: #ddd;
  --fx-cat-active-badge-bg: rgba(255, 255, 255, 0.18);
  --fx-cat-active-badge-fg: #fff;
}


[data-theme="dark"] .ix,
.theme-dark .ix {
  --bg: #0b0f14;
  --fg: #e5e7eb;
  --muted: #9ca3af;
  --line: #1f2937;
  --soft: #111820;
  --shadow: 0 8px 20px rgba(0,0,0,.45);
  --focus: 0 0 0 3px rgba(147,197,253,.35);
}




.theme-dark .u-frame {
  background: #121212;
  border-color: #2a2a2a;
}

.theme-dark .u-topbar {
  border-bottom: 1px solid #2a2a2a;
}

.theme-dark .u-title {
  color: #e6e6e6;
}

.theme-dark .u-legend-toggle {
  background: #161616;
  border-color: #2a2a2a;
  color: #ddd;
  box-shadow: none;
}

.theme-dark .u-tip {
  color: #9ca3af;
}

.theme-dark .u-tt {
  background: #161616;
  border-color: #2a2a2a;
  color: #e4e4e6;
  box-shadow: 0 8px 24px rgba(0,0,0,.6);
}
.theme-dark .u-tt h4 { color: #f3c087; }
.theme-dark .u-tt ul { color: #b0b0b0; }

.theme-dark .u-pill {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 4px 10px rgba(0,0,0,.4);
}

.theme-dark .u-modal-panel {
  background: rgba(20,20,22,.7);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 12px 40px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.08);
}

.theme-dark .u-modal-backdrop {
  background: rgba(0,0,0,.7);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
          backdrop-filter: blur(16px) saturate(1.1);
}






.reagents-card {
  
  padding: 14px 20px 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.96));
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  
  
}

.reagents-title {
  margin: 8px 0 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.01em;
}



.reagents-inner { margin-bottom: 8px; }

.reagents-divider {
  height: 1px;
  background: rgba(0,0,0,.06);
  margin: 14px 0;
}

.reagents-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  cursor: pointer;
}

.reagents-header h3 {
  margin: 8px 0px 10px 4px;
  font-size: 18px;
  font-weight: 800;
}

.reagents-guide { margin-top: 12px; }

.guide-grid {
  display: grid;
  grid-template-columns: 40px 1fr;
  grid-column-gap: 10px;
  column-gap: 10px;
  grid-row-gap: 8px;
  row-gap: 8px;
}

.guide-icon {
  font-size: 20px;
  width: 40px;
  text-align: center;
  color: #111;
}

.guide-text {
  font-size: 14px;
  color: #374151;
}

.guide-note {
  font-size: 12px;
  color: #6b7280;
  margin-top: 10px;
}

.guide-text a {
  text-decoration: underline;
  color: inherit;
  font-weight: 600;
}



.theme-dark .reagents-card {
  background: linear-gradient(180deg, rgba(20,20,22,.55), rgba(20,20,22,.80));
  border-color: rgba(255,255,255,.08);
  
  color: #e4e4e6;
}

.theme-dark .guide-icon { color: #ddd; }
.theme-dark .guide-text { color: #e6e6e6; }
.theme-dark .guide-note { color: #9ca3af; }
.theme-dark .guide-text a { color: #f3c087; }



.theme-dark .rx-colors,
.theme-dark .rx-left *,
.theme-dark .rx-colors .rx-swatch,
.theme-dark .rx-colors .rx-swatch-label {
  filter: none !important;
  mix-blend-mode: normal !important;
  background-blend-mode: normal !important;
  opacity: 1 !important;
  
}



.reagents-card{
  background: #fff;
  background: var(--card-bg, #fff);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
}



.reagents-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:8px;
}

.reagents-title{
  font-size:16px;
  font-weight:700;
  color:#111827;
}

.theme-dark .reagents-title{
  color:var(--fg);
}

.reagents-list{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.reagents-empty{
  font-size:14px;
  color:#6b7280;
  padding:10px 4px;
}

.theme-dark .reagents-empty{
  color:var(--sub);
}

.theme-dark .card.reagents-card.om-card {
  background: rgb(18, 18, 18);
  border-color: #2a2a2a;
}


.card.reagents-card.om-card .reagent-icon {
  cursor:pointer
}




@media (min-width:451px){
.card.reagents-card.om-card .rx-reag-name {
  width: 205px;
}}


.card.reagents-card.om-card .rx-row{
  display: flex;
}

@media (min-width:920px){
  .card.reagents-card.om-card .rx-row {
    margin-inline: 1em
  }
}

.card.reagents-card.om-card .rx-right{
  margin-right: auto;
  justify-content: start;
}
.card.reagents-card.om-card .rx-hint {
  text-align: start;

  
}



@keyframes pulse-risk {
  0%, 100% {
    r: 6;            
    stroke-width: 4;
  }
  50% {
    r: 36;           
    stroke-width: 9;
  }
}


.risk-halo {
  animation: pulse-risk 1.8s ease-in-out infinite;
  transform-origin: center;
  opacity: 1; 
  filter: drop-shadow(0 0 10px rgba(234,88,12,0.6));
}

.theme-dark .risk-halo {
  filter: drop-shadow(0 0 12px rgba(255,173,66,0.75));
}


.sp-grid {
  cursor: auto!important;
  padding-bottom: 20px;
}


.sp-grid--pager {
  display: flex;
  flex-direction: column;
  flex: 1 1;
  min-height: 0;
  min-width: 0;
  padding-bottom: 0;
  gap: 0;
}

.substancespage-content .sp-grid section .card {
  padding: 1rem!important;
}


.card.no-fold h3, .card-title h3 {
  
  margin: 0px 0 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  -webkit-user-select: text;
  user-select: text;
}





@media screen and (max-width: 570px) {
 
}
@media screen and (min-width: 1045px) {
 .data-pie-card {
    display: none;   }
}




.data-pie-header {
  text-align: center;
}

.data-pie-title {
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 0.51dvw;
}

.data-pie-score {
  font-size: 0.85rem;
  opacity: 0.8;
}



.data-pie-row {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 16px;
  gap: 16px;
  align-items: center;
}


.data-pie-svg {
  width: min(22vw, 190px);   
  height: min(22vw, 190px);
  display: block;
}


.data-pie-piewrap {
  display: block;
}



.pie-slice {
  stroke: rgb(0, 0, 0, 0.3);                  
  stroke-width: 1;
}



.theme-dark .pie-slice {
  stroke: #000;
}


.data-pie-legend {
  list-style: none;
  padding: 0;
  margin: 0;
display: flex;
flex-direction: column;
gap: 4px;
  gap: 2px 10px;
  font-size: 0.8rem;
}

@container pane (min-width: 920px) {
  
  .data-pie-legend {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.data-pie-legend li {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.55;
}

.data-pie-legend li.is-present {
  opacity: 1;
}

.data-pie-legend .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgb(0, 0, 0,0.5);
  background: #ffffff;   
}


.data-pie-legend li.is-present:nth-child(1) .dot { background: #e5e7eb; }
.data-pie-legend li.is-present:nth-child(2) .dot { background: #d1d5db; }
.data-pie-legend li.is-present:nth-child(3) .dot { background: #9ca3af; }
.data-pie-legend li.is-present:nth-child(4) .dot { background: #6b7280; }
.data-pie-legend li.is-present:nth-child(5) .dot { background: #374151; }
.data-pie-legend li.is-present:nth-child(6) .dot { background: #000000; }


.theme-dark .data-pie-legend .dot {
  background: #ffffff;
  border-color: #000;
}

.theme-dark .data-pie-legend li.is-present:nth-child(1) .dot { background: #f1f5f9; }
.theme-dark .data-pie-legend li.is-present:nth-child(2) .dot { background: #cbd5f5; }
.theme-dark .data-pie-legend li.is-present:nth-child(3) .dot { background: #94a3b8; }
.theme-dark .data-pie-legend li.is-present:nth-child(4) .dot { background: #64748b; }
.theme-dark .data-pie-legend li.is-present:nth-child(5) .dot { background: #334155; }
.theme-dark .data-pie-legend li.is-present:nth-child(6) .dot { background: #020617; }

.theme-dark .data-pie-legend .dot {
  background: #4b5563;
}
.theme-dark .data-pie-legend li.is-present .dot { 
  background: #e5e7eb;
}
.data-pie-layout svg {
  align-self: center;
}

.sp-anchor {
  height: 1px;
}

.sp-skeleton {
  height: 240px;      
  opacity: 0.15;
}

.sp-skeleton-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, #ffffff 97%, #f5efe1 3%),
      color-mix(in srgb, #ffffff 100%, transparent)
    );
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--card-bg, #ffffff) 97%, #f5efe1 3%),
      color-mix(in srgb, var(--card-bg, #ffffff) 100%, transparent)
    );
  border-color: color-mix(in srgb, #e5e7eb 88%, transparent);
  border-color: color-mix(in srgb, var(--border, #e5e7eb) 88%, transparent);
}

.theme-dark .sp-skeleton-card {
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, #10151b 96%, white 4%),
      color-mix(in srgb, #10151b 100%, transparent)
    );
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--card-bg, #10151b) 96%, white 4%),
      color-mix(in srgb, var(--card-bg, #10151b) 100%, transparent)
    );
}

.sp-skeleton-card .card-head,
.sp-skeleton-card .card-body,
.sp-skeleton-card .card-title {
  position: relative;
}

.sp-skeleton-card .card-title h3 {
  color: color-mix(in srgb, #0f172a 72%, transparent);
  color: color-mix(in srgb, var(--fg, #0f172a) 72%, transparent);
}

.sp-skeleton-card__body {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  padding-top: 4px;
}

.sp-skeleton-card__media,
.sp-skeleton-card__line {
  position: relative;
  overflow: hidden;
  background: color-mix(in srgb, #0f172a 10%, #ffffff);
  background: color-mix(in srgb, var(--fg, #0f172a) 10%, var(--card-bg, #ffffff));
}

.theme-dark .sp-skeleton-card__media,
.theme-dark .sp-skeleton-card__line {
  background: color-mix(in srgb, white 10%, #10151b);
  background: color-mix(in srgb, white 10%, var(--card-bg, #10151b));
}

.sp-skeleton-card__media::after,
.sp-skeleton-card__line::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, white 55%, transparent),
    transparent
  );
  animation: sp-skeleton-shimmer 1.2s linear infinite;
}

.theme-dark .sp-skeleton-card__media::after,
.theme-dark .sp-skeleton-card__line::after {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.16),
    transparent
  );
}

.sp-skeleton-card__media {
  min-height: 120px;
  border-radius: 18px;
}

.sp-skeleton-card--wide .sp-skeleton-card__media {
  min-height: 160px;
}

.sp-skeleton-card__lines {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.sp-skeleton-card__line {
  display: block;
  height: 12px;
  border-radius: 999px;
  width: 100%;
}

.sp-skeleton-card__line--strong {
  width: 82%;
  height: 14px;
}

.sp-skeleton-card__line--short {
  width: 58%;
}

@keyframes sp-skeleton-shimmer {
  100% {
    transform: translateX(100%);
  }
}

@media (min-width: 768px) {
  .sp-skeleton {
    height: 360px;
  }

  .sp-skeleton-card__body {
    gap: 16px;
  }

  .sp-skeleton-card__media {
    min-height: 150px;
  }

  .sp-skeleton-card--wide .sp-skeleton-card__media {
    min-height: 220px;
  }
}



.search-field-center-placeholder {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.search-field-center-placeholder > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}




.search-field--prominent {
  --search-field-surface: rgba(118, 118, 128, 0.12);
  --search-field-surface-focus: rgba(118, 118, 128, 0.18);
  --search-field-action-hover: rgba(60, 60, 67, 0.09);
  --search-field-action-active: rgba(60, 60, 67, 0.14);
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 56px;
  box-sizing: border-box;
  padding: 0 6px 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--search-field-surface);
  box-shadow: none;
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
  backdrop-filter: blur(16px) saturate(1.12);
  transition: background 160ms ease;
}

.search-field--prominent:focus-within {
  background: var(--search-field-surface-focus);
}

.search-field-leading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-inline-end: 10px;
  color: rgba(60, 60, 67, 0.66);
  color: var(--sub, rgba(60, 60, 67, 0.66));
  pointer-events: none;
}

.search-field-leading > :is(.mdi, .dp-icon) {
  display: block;
  width: 20px;
  height: 20px;
  font-size: 20px;
  line-height: 1;
}

.search-field-control-slot {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  align-self: stretch;
  min-width: 0;
}

.search-field--prominent .search-field-control {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 100%;
  box-sizing: border-box;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: #1c1c1e;
  color: var(--fg, #1c1c1e);
  font: 500 16px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  text-align: start;
  caret-color: #dcaa2e;
  caret-color: var(--accent-strong, var(--accent, #dcaa2e));
  -webkit-appearance: none;
  appearance: none;
}

.search-field--prominent .search-field-control::placeholder {
  color: transparent;
  opacity: 0;
}

.search-field-prominent-placeholder {
  position: absolute;
  inset-inline: 0;
  min-width: 0;
  overflow: hidden;
  color: rgba(60, 60, 67, 0.64);
  color: var(--sub, rgba(60, 60, 67, 0.64));
  font: 500 16px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  pointer-events: none;
  text-align: start;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-field-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 2px;
  margin-inline-start: 6px;
}

.search-field--prominent .search-field-actions > button,
.search-field--prominent .search-field-clear {
  all: unset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  height: 44px;
  box-sizing: border-box;
  border-radius: 999px;
  color: rgba(60, 60, 67, 0.72);
  color: var(--sub, rgba(60, 60, 67, 0.72));
  cursor: pointer;
  touch-action: manipulation;
  transition: color 150ms ease, background 150ms ease, transform 120ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .search-field--prominent .search-field-actions > button:hover,
  .search-field--prominent .search-field-clear:hover {
    background: var(--search-field-action-hover);
    color: #1c1c1e;
    color: var(--fg, #1c1c1e);
  }
}

.search-field--prominent .search-field-actions > button:active,
.search-field--prominent .search-field-clear:active {
  background: var(--search-field-action-active);
  transform: scale(0.94);
}

.search-field--prominent .search-field-actions > button:focus-visible,
.search-field--prominent .search-field-clear:focus-visible {
  outline: 2px solid #dcaa2e;
  outline: 2px solid var(--accent-strong, var(--accent, #dcaa2e));
  outline-offset: -2px;
}

.search-field--prominent .search-field-actions > button.is-active {
  background: rgba(220, 170, 46, 0.18);
  background: var(--accent-tint-active, rgba(220, 170, 46, 0.18));
  color: #1f2328;
  color: var(--fg, #1f2328);
}

.search-field--prominent .search-field-actions > .lab-search-reset {
  width: auto;
  min-width: 44px;
  flex-basis: auto;
  padding-inline: 12px;
  font: 600 14px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.theme-dark .search-field--prominent,
[data-theme="dark"] .search-field--prominent {
  --search-field-surface: rgba(118, 118, 128, 0.26);
  --search-field-surface-focus: rgba(118, 118, 128, 0.34);
  --search-field-action-hover: rgba(255, 255, 255, 0.1);
  --search-field-action-active: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.theme-dark .search-field-leading,
.theme-dark .search-field-prominent-placeholder,
.theme-dark .search-field--prominent .search-field-actions > button,
.theme-dark .search-field--prominent .search-field-clear,
[data-theme="dark"] .search-field-leading,
[data-theme="dark"] .search-field-prominent-placeholder,
[data-theme="dark"] .search-field--prominent .search-field-actions > button,
[data-theme="dark"] .search-field--prominent .search-field-clear {
  color: rgba(235, 235, 245, 0.72);
}

.theme-dark .search-field--prominent .search-field-control,
[data-theme="dark"] .search-field--prominent .search-field-control {
  
  background: transparent;
  color: #fff;
  color: var(--fg, #fff);
}

@media (prefers-reduced-motion: reduce) {
  .search-field--prominent,
  .search-field--prominent .search-field-actions > button,
  .search-field--prominent .search-field-clear {
    transition: none;
  }
}

.lab-search-row--native-toolbar .lab-search-bar:empty,
.lab-search-row--native-toolbar:has(> .lab-search-bar:only-child:empty) {
  display: none;
}
.lab-search-row--native-toolbar {
  justify-content: flex-end;
}

