/* bloomberg-dap.html — page styles (moved from an inline <style> block). Loads after styles.css. */

/* ── Bloomberg DAP page-specific overrides ── */

/* Palette chips for Bloomberg spectrum */
.dap-palette-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.dap-palette-row {
  display: flex;
  gap: 6px;
}

.dap-chip {
  flex: 1;
  height: 44px;
  border-radius: 3px;
}

/* Phase band visual inside bento */
.dap-phase-band {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.dap-phase-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 0.5px solid rgba(245,243,238,0.08);
}

.dap-phase-item:last-child {
  border-bottom: none;
}

.dap-phase-num {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #7c3aed;
  min-width: 20px;
}

.dap-phase-name {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--warm-white);
  flex: 1;
}

.dap-phase-active {
  width: 6px;
  height: 6px;
  background: #7c3aed;
  border-radius: 50%;
}

/* Token grid */
.dap-token-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.dap-token-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 0.5px solid rgba(245,243,238,0.06);
}

.dap-token-row:last-child {
  border-bottom: none;
}

.dap-token-key {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  color: var(--text-muted);
  font-style: italic;
}

.dap-token-val {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #a78bfa;
}

/* Component list tile */
.dap-component-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.dap-component-item {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  color: rgba(245,243,238,0.7);
  padding: 5px 0;
  border-bottom: 0.5px solid rgba(245,243,238,0.06);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dap-component-item::before {
  content: '';
  display: block;
  width: 3px;
  height: 3px;
  background: #7c3aed;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Color section labels within palette tile */
.dap-color-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.dap-color-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.dap-color-group-label {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.dap-color-swatches {
  display: flex;
  gap: 4px;
}

.dap-swatch {
  flex: 1;
  height: 28px;
  border-radius: 3px;
  position: relative;
}

/* Type scale ramp */
.dap-type-scale {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.dap-type-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 0.5px solid rgba(245,243,238,0.06);
  gap: 8px;
}

.dap-type-row:last-child {
  border-bottom: none;
}

.dap-type-name {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--warm-white);
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}

.dap-type-meta {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-align: right;
  flex-shrink: 0;
}

/* Token grid with category sections */
.dap-token-section-label {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7c3aed;
  padding: 8px 0 2px;
}

.dap-token-section-label:first-child {
  padding-top: 0;
}

/* Screenshot tiles */
.bento-tile--screen .bento-tile__screen-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Artifact list for handoff tile */
.dap-artifact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.dap-artifact {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.dap-artifact__icon {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pitch-black);
  background: #7c3aed;
  padding: 2px 5px;
  border-radius: 2px;
  min-width: 36px;
  text-align: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.dap-artifact__label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  color: rgba(245,243,238,0.75);
  line-height: 1.4;
}

/* Page-specific hero spacing */
.case-hero__eyebrow-row {
  margin-bottom: 22px;
}
