.wyckoff-playbook-block {
  border: 1px solid rgba(12, 68, 59, 0.14);
  border-radius: 14px;
  background: #fff;
  padding: 16px;
}

.wyckoff-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.wyckoff-heading p {
  max-width: 520px;
  margin: 0;
  color: #526070;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.55;
}

.wyckoff-playbook-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.75fr) minmax(0, 1fr);
  gap: 12px;
}

.wyckoff-card {
  min-width: 0;
  border: 1px solid rgba(24, 31, 42, 0.1);
  border-radius: 12px;
  background: #fbfefd;
  padding: 14px;
}

.wyckoff-card-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.wyckoff-card-top span,
.wyckoff-analysis span {
  color: #607086;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.wyckoff-card-top strong {
  color: #17201a;
  font-size: 1rem;
  line-height: 1.25;
}

.wyckoff-card-top small {
  border-radius: 999px;
  background: #eef8f4;
  color: #0f4c42;
  padding: 5px 8px;
  font-size: 0.78rem;
  font-weight: 900;
}

.wyckoff-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 12px 0;
  border: 1px solid #dfe5dc;
  background: #dfe5dc;
}

.wyckoff-card dl div {
  display: grid;
  gap: 4px;
  background: #fff;
  padding: 8px;
}

.wyckoff-card dt,
.wyckoff-card dd {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 900;
}

.wyckoff-card dt {
  color: #607086;
}

.wyckoff-card dd {
  color: #17201a;
  overflow-wrap: anywhere;
}

.wyckoff-card p {
  margin: 8px 0 0;
  color: #526070;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.55;
}

.wyckoff-schematic {
  display: grid;
  align-content: center;
  min-height: 150px;
  background: #f6fbf9;
}

.wyckoff-schematic svg {
  width: 100%;
  height: auto;
}

.wyckoff-schematic text {
  fill: #526070;
  font-size: 10px;
  font-weight: 800;
}

.wy-range {
  stroke: #cbd5e1;
  stroke-width: 2;
  stroke-dasharray: 5 5;
}

.wy-line {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wy-bull { stroke: #0f7a55; }
.wy-bear { stroke: #b42318; }
.wy-watch { stroke: #64748b; }

.wyckoff-analysis button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-top: 10px;
  border: 1px solid rgba(15, 76, 66, 0.22);
  border-radius: 8px;
  background: #fff;
  color: #0f4c42;
  padding: 0 12px;
  font-size: 0.76rem;
  font-weight: 900;
  cursor: pointer;
}

.wyckoff-analysis button:hover {
  background: #eef8f4;
}

.wyckoff-accumulation { border-color: rgba(15, 122, 85, 0.28); }
.wyckoff-distribution { border-color: rgba(180, 35, 24, 0.24); }
.wyckoff-watch,
.wyckoff-neutral { border-color: rgba(100, 116, 139, 0.22); }

@media (max-width: 1120px) {
  .wyckoff-heading { display: block; }
  .wyckoff-heading p { margin-top: 8px; max-width: none; }
  .wyckoff-playbook-grid { grid-template-columns: 1fr; }
  .wyckoff-schematic { min-height: 120px; }
}

@media (max-width: 640px) {
  .wyckoff-playbook-block { padding: 12px; }
  .wyckoff-card { padding: 12px; }
  .wyckoff-card-top { grid-template-columns: 1fr; }
  .wyckoff-card dl { grid-template-columns: 1fr; }
  .wyckoff-card p { font-size: 0.8rem; }
}
