/* KG Channel Intelligence OS V11.2 R11.10.15
   Navigation wording and a durable, source-backed Thumbnail workspace. */

html[data-kg-theme] .sidebar nav a {
  white-space: normal;
  line-height: 1.3;
}

.tp115 {
  --tp-accent: #ff7a5f;
  --tp-accent-soft: color-mix(in srgb, var(--tp-accent) 18%, transparent);
  --tp-surface: color-mix(in srgb, var(--kgx-surface, #141516) 94%, transparent);
  --tp-surface-2: color-mix(in srgb, var(--kgx-surface-2, #1a1b1d) 96%, transparent);
  --tp-line: color-mix(in srgb, var(--kgx-line, #ffffff26) 82%, transparent);
  --tp-text: var(--kgx-text, #f5f5f2);
  --tp-muted: var(--kgx-muted, #aaa9a5);
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: clamp(22px, 3vw, 42px);
  color: var(--tp-text);
}

.tp115 button,
.tp115 input {
  font: inherit;
}

.tp115 button {
  min-height: 42px;
  padding: 10px 14px;
  color: var(--tp-text);
  font-weight: 750;
  border: 1px solid var(--tp-line);
  border-radius: 10px;
  background: var(--tp-surface-2);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.tp115 button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--tp-accent) 48%, var(--tp-line));
}

.tp115 button[data-primary="true"] {
  color: #150b08;
  border-color: transparent;
  background: linear-gradient(135deg, #ff9a80, var(--tp-accent));
  box-shadow: 0 11px 26px color-mix(in srgb, var(--tp-accent) 24%, transparent);
}

.tp115 button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.tp115Hero {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--tp-line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 14%, color-mix(in srgb, var(--tp-accent) 22%, transparent), transparent 32rem),
    linear-gradient(145deg, var(--tp-surface-2), var(--tp-surface));
  box-shadow: 0 24px 70px #00000020;
}

.tp115Hero::after {
  content: "THUMBNAIL";
  position: absolute;
  right: 28px;
  top: 14px;
  color: color-mix(in srgb, var(--tp-text) 5%, transparent);
  font-size: clamp(52px, 8vw, 124px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.07em;
  pointer-events: none;
}

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

.tp115Eyebrow {
  color: var(--tp-accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.tp115Hero h1 {
  margin: 9px 0 10px;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.tp115Hero p {
  max-width: 760px;
  margin: 0;
  color: var(--tp-muted);
  font-size: 15px;
  line-height: 1.7;
}

.tp115HeroActions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.tp115HeroActions button span,
.tp115Card footer button span {
  margin-left: 8px;
}

.tp115Stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.tp115Stat {
  display: grid;
  gap: 5px;
  min-height: 110px;
  align-content: center;
  padding: 20px;
  border: 1px solid var(--tp-line);
  border-radius: 16px;
  background: var(--tp-surface);
}

.tp115Stat b {
  font-size: 31px;
  letter-spacing: -0.04em;
}

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

.tp115Stat.is-attention b { color: #ffb39f; }
.tp115Stat.is-success b { color: #91d5ad; }

.tp115Toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 26px 0 16px;
}

.tp115Filters {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.tp115Filters button.active {
  color: #fff;
  border-color: color-mix(in srgb, var(--tp-accent) 55%, var(--tp-line));
  background: var(--tp-accent-soft);
}

.tp115Search {
  display: grid;
  gap: 6px;
  width: min(380px, 100%);
  color: var(--tp-muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tp115Search input {
  min-height: 44px;
  padding: 10px 13px;
  color: var(--tp-text);
  border: 1px solid var(--tp-line);
  border-radius: 10px;
  outline: none;
  background: var(--tp-surface);
}

.tp115Search input:focus {
  border-color: color-mix(in srgb, var(--tp-accent) 58%, var(--tp-line));
  box-shadow: 0 0 0 3px var(--tp-accent-soft);
}

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

.tp115Card {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--tp-line);
  border-radius: 18px;
  background: linear-gradient(145deg, var(--tp-surface-2), var(--tp-surface));
  box-shadow: 0 18px 42px #00000012;
}

.tp115Card > header,
.tp115Card > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tp115Card > header small {
  color: var(--tp-muted);
}

.tp115Status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 9px;
  color: #ffc4b4;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid color-mix(in srgb, var(--tp-accent) 42%, transparent);
  border-radius: 999px;
  background: var(--tp-accent-soft);
}

.tp115Status.is-assigned {
  color: #aee8c5;
  border-color: #64bd883d;
  background: #64bd8817;
}

.tp115Card h2 {
  margin: 0;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

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

.tp115Meta span {
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  color: var(--tp-muted);
  font-size: 11px;
  border: 1px solid var(--tp-line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--tp-surface-2) 70%, transparent);
}

.tp115Meta b {
  color: var(--tp-text);
  font-size: 13px;
}

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

.tp115Evidence p {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 12px;
  color: var(--tp-muted);
  font-size: 13px;
  line-height: 1.6;
  border-left: 2px solid color-mix(in srgb, var(--tp-accent) 55%, transparent);
}

.tp115Evidence b {
  color: var(--tp-text);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tp115Notice,
.tp115Error {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 10px;
}

.tp115Notice {
  color: #bcebcf;
  border: 1px solid #68bf8a3d;
  background: #68bf8a17;
}

.tp115Error {
  color: #ffc1b3;
  border: 1px solid #ff7a5f4d;
  background: #ff7a5f16;
}

.tp115Empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-height: 300px;
  align-content: center;
  padding: 28px;
  text-align: center;
  border: 1px dashed var(--tp-line);
  border-radius: 18px;
  background: var(--tp-surface);
}

.tp115Empty > span:not(.tp115Spinner) {
  color: var(--tp-accent);
  font-size: 38px;
}

.tp115Empty h2,
.tp115Empty p { margin: 0; }
.tp115Empty p { color: var(--tp-muted); }

.tp115Spinner {
  width: 28px;
  height: 28px;
  border: 3px solid var(--tp-line);
  border-top-color: var(--tp-accent);
  border-radius: 50%;
  animation: tp115Spin 700ms linear infinite;
}

@keyframes tp115Spin { to { transform: rotate(360deg); } }

html[data-kg-theme="light"] .tp115 {
  --tp-surface: #ffffff;
  --tp-surface-2: #f8f4ee;
  --tp-line: #312b241d;
  --tp-text: #1c1814;
  --tp-muted: #6d645b;
}

@media (max-width: 980px) {
  .tp115Hero { align-items: start; flex-direction: column; }
  .tp115HeroActions { width: 100%; }
  .tp115HeroActions button { flex: 1 1 0; }
  .tp115Grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .tp115 { padding: 16px; }
  .tp115Stats { grid-template-columns: 1fr; }
  .tp115Toolbar { align-items: stretch; flex-direction: column; }
  .tp115Search { width: 100%; }
  .tp115Card > footer { align-items: stretch; flex-direction: column; }
  .tp115Card > footer button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .tp115 *, .tp115 *::before, .tp115 *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
