/*
  TAC V1.0.7.2 — Evidence System / controlled premium hybrid
  Scope: Sections 07 and 08 on the six localized case pages only.
  Existing media files are not edited. This sheet intentionally loads after case.css.
*/

.evidence-system-v1072 {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 12%, color-mix(in srgb, var(--case-accent) 9%, transparent), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.012), transparent 28%),
    var(--case-bg, #07090a);
}

.evidence-system-v1072::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .26;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

.evidence-system-v1072 .case-wrap,
.product-behavior-v1072 .case-wrap {
  position: relative;
  z-index: 1;
}

.evidence-stack-v1072 {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.evidence-module-v1072 {
  --module-edge: color-mix(in srgb, var(--case-accent) 38%, #34404b);
  position: relative;
  min-width: 0;
  border: 1px solid var(--module-edge);
  border-radius: 24px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--case-accent) 6%, #0b1015), #080c11 58%, #090d12),
    #090d12;
  box-shadow:
    0 18px 55px rgba(0,0,0,.24),
    inset 0 1px rgba(255,255,255,.025);
  overflow: hidden;
}

.evidence-module-v1072::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 92px;
  height: 2px;
  background: linear-gradient(90deg, var(--case-accent), transparent);
}

.evidence-module-head-v1072 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 24px 26px 0;
}

.evidence-kicker-v1072,
.evidence-status-v1072,
.palette-role-v1072,
.behavior-index-v1072,
.launch-step-v1072 {
  font-family: var(--mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
  text-transform: uppercase;
  letter-spacing: .12em;
}

.evidence-kicker-v1072 {
  display: block;
  color: var(--case-accent);
  font-size: .66rem;
  font-weight: 850;
  margin-bottom: 8px;
}

.evidence-module-v1072 h3 {
  margin: 0;
  color: #f3f5f4;
  font-size: clamp(1.35rem, 2.25vw, 2rem);
  letter-spacing: -.018em;
}

.evidence-module-head-v1072 p {
  max-width: 70ch;
  margin: 10px 0 0;
  color: #aeb8bd;
  line-height: 1.7;
}

.evidence-status-v1072 {
  justify-self: end;
  border: 1px solid color-mix(in srgb, var(--status-color, var(--case-accent)) 48%, #4c5661);
  border-radius: 999px;
  padding: 8px 11px;
  color: color-mix(in srgb, var(--status-color, var(--case-accent)) 82%, #fff);
  background: color-mix(in srgb, var(--status-color, var(--case-accent)) 8%, #080b0f);
  font-size: .58rem;
  line-height: 1.2;
  font-weight: 850;
  white-space: nowrap;
}

.evidence-status-v1072[data-status="selected"],
.evidence-status-v1072[data-status="approval"] {
  --status-color: #d4af37;
}

.evidence-status-v1072[data-status="reference"] {
  --status-color: #9fa9af;
}

.palette-grid-v1072 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 10px;
  padding: 22px 26px 26px;
}

.palette-card-v1072 {
  position: relative;
  min-width: 0;
  min-height: 205px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,.095);
  border-radius: 18px;
  padding: 14px;
  background: rgba(5,8,11,.66);
}

.palette-chip-v1072 {
  display: block;
  height: 64px;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 12px;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.16);
  margin-bottom: 14px;
}

.palette-card-v1072 h4 {
  margin: 0;
  color: #eff2f1;
  font-size: .94rem;
}

.palette-card-v1072 code {
  color: #b8c2c6;
  font-size: .71rem;
  margin-top: 5px;
}

.palette-role-v1072 {
  margin-top: 10px;
  color: #8f9ba1;
  font-size: .56rem;
  line-height: 1.55;
}

.contrast-line-v1072 {
  margin-top: auto;
  padding-top: 12px;
  color: #cad1d3;
  font-size: .68rem;
  line-height: 1.45;
  border-top: 1px solid rgba(255,255,255,.07);
}

.contrast-line-v1072 strong {
  color: #95e2b8;
  font-weight: 850;
}

.logo-layout-v1072 {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, .75fr);
  gap: 18px;
  padding: 22px 26px 26px;
  align-items: stretch;
}

.logo-media-v1072,
.application-media-v1072 {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background: #05080b;
  overflow: hidden;
}

.logo-media-v1072 img,
.application-media-v1072 img {
  display: block;
  width: 100%;
  height: auto !important;
  max-height: none !important;
  object-fit: contain;
}

.logo-notes-v1072 {
  display: grid;
  align-content: start;
  gap: 10px;
}

.evidence-note-v1072 {
  border: 1px solid rgba(255,255,255,.085);
  border-radius: 15px;
  padding: 15px;
  background: rgba(2,5,8,.55);
}

.evidence-note-v1072 small {
  display: block;
  color: var(--case-accent);
  font-family: var(--mono, monospace);
  font-size: .58rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.evidence-note-v1072 p {
  margin: 0;
  color: #c2c9cc;
  font-size: .78rem;
  line-height: 1.62;
}

.application-body-v1072 {
  padding: 22px 26px 26px;
}

.application-caption-v1072 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 14px;
  color: #aeb8bd;
}

.application-caption-v1072 p {
  margin: 0;
  line-height: 1.65;
}

.evidence-link-v1072 {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--case-accent) 44%, #47515b);
  border-radius: 999px;
  padding: 10px 14px;
  color: #eef1f0;
  text-decoration: none;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .05em;
  white-space: nowrap;
  background: color-mix(in srgb, var(--case-accent) 5%, #070a0e);
}

.evidence-link-v1072:hover,
.evidence-link-v1072:focus-visible {
  border-color: var(--case-accent);
  background: color-mix(in srgb, var(--case-accent) 12%, #070a0e);
}

.launch-grid-v1072 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 22px 26px 26px;
}

.launch-card-v1072 {
  position: relative;
  min-width: 0;
  min-height: 190px;
  border: 1px solid rgba(255,255,255,.095);
  border-radius: 18px;
  padding: 18px;
  background:
    radial-gradient(circle at 90% 10%, color-mix(in srgb, var(--case-accent) 10%, transparent), transparent 42%),
    rgba(3,6,9,.58);
}

.launch-step-v1072 {
  color: var(--case-accent);
  font-size: .6rem;
  font-weight: 850;
}

.launch-card-v1072 h4 {
  margin: 18px 0 8px;
  color: #f3f5f4;
  font-size: 1.05rem;
}

.launch-card-v1072 p {
  margin: 0;
  color: #aeb7bb;
  line-height: 1.65;
  font-size: .79rem;
}

.product-behavior-v1072 {
  position: relative;
  background:
    linear-gradient(180deg, var(--case-bg, #07090a), color-mix(in srgb, var(--case-accent) 3%, #07090a));
}

.behavior-grid-v1072 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.behavior-card-v1072 {
  --state-color: var(--case-accent);
  position: relative;
  min-width: 0;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  border: 1px solid color-mix(in srgb, var(--state-color) 36%, #3b454f);
  border-radius: 20px;
  padding: 17px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--state-color) 7%, #0a0e13), #080c10 58%);
  overflow: hidden;
}

.behavior-card-v1072[data-state="warning"] { --state-color: #d99a3d; }
.behavior-card-v1072[data-state="approval"] { --state-color: #d4af37; }

.behavior-card-v1072::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--state-color), transparent 72%);
}

.behavior-index-v1072 {
  color: var(--state-color);
  font-size: .57rem;
  font-weight: 850;
}

.behavior-card-v1072 h3 {
  margin: 18px 0 6px;
  color: #f4f6f5;
  font-size: 1.1rem;
}

.behavior-question-v1072 {
  margin: 0 0 16px;
  color: #89959b;
  font-size: .69rem;
  line-height: 1.5;
  min-height: 3em;
}

.behavior-response-v1072 {
  margin: 0;
  color: #c7ced0;
  font-size: .77rem;
  line-height: 1.62;
}

.behavior-control-v1072 {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.075);
  color: #929da2;
  font-size: .67rem;
  line-height: 1.5;
}

.behavior-control-v1072 strong {
  color: color-mix(in srgb, var(--state-color) 78%, #fff);
}

.behavior-disclaimer-v1072 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  border-left: 2px solid #d4af37;
  padding: 10px 13px;
  color: #aeb8bd;
  background: rgba(212,175,55,.045);
  font-size: .72rem;
  line-height: 1.55;
}

/* Never allow legacy fixed HTML height attributes to distort evidence media. */
.evidence-system-v1072 img,
.product-behavior-v1072 img {
  height: auto !important;
}

@media (max-width: 1180px) {
  .behavior-grid-v1072 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .logo-layout-v1072 { grid-template-columns: 1fr; }
  .launch-grid-v1072 { grid-template-columns: 1fr; }
  .launch-card-v1072 { min-height: 0; }
  .application-caption-v1072 { grid-template-columns: 1fr; }
  .application-caption-v1072 .evidence-link-v1072 { justify-self: start; }
  .behavior-grid-v1072 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .evidence-module-head-v1072 {
    grid-template-columns: 1fr;
    padding: 20px 18px 0;
  }
  .evidence-status-v1072 { justify-self: start; white-space: normal; }
  .palette-grid-v1072,
  .logo-layout-v1072,
  .application-body-v1072,
  .launch-grid-v1072 { padding-left: 18px; padding-right: 18px; }
  .palette-grid-v1072,
  .behavior-grid-v1072 { grid-template-columns: 1fr; }
  .palette-card-v1072,
  .behavior-card-v1072 { min-height: 0; }
  .behavior-question-v1072 { min-height: 0; }
  .application-caption-v1072 .evidence-link-v1072 { width: 100%; white-space: normal; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .evidence-system-v1072 *,
  .product-behavior-v1072 * { transition: none !important; }
}
