.life-reference-dropzone {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: 1px dashed var(--ink);
  background: var(--paper);
  color: var(--ink);
  text-align: center;
  cursor: pointer;
  transition: .15s;
}

.life-case-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.life-case-buttons button {
  height: 58px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}

.life-case-buttons button:hover:not(:disabled) { transform: none; border-color: #98a5c1; }
.life-case-buttons button.active { border-color: #6179ad; background: #f2f5fb; box-shadow: 0 0 0 2px rgba(97,121,173,.13); }
.life-case-buttons strong { font-size: 12px; }
.life-case-buttons small { margin-top: 3px; color: var(--muted); font-size: 8px; }

.life-reference-dropzone input { display: none; }
.life-reference-dropzone strong { font-size: 14px; }
.life-reference-dropzone span { margin-top: 5px; color: var(--muted); font-size: 10px; }
.life-reference-dropzone small { margin-top: 8px; color: var(--muted); font-size: 8px; }

.life-reference-dropzone:hover,
.life-reference-dropzone.dragging {
  border-style: solid;
  background: rgba(215, 127, 165, .15);
  box-shadow: 5px 5px 0 var(--pink);
}

.life-reference-tools {
  display: block;
  margin-top: 10px;
}

.life-reference-tools .field { margin: 0; }
#lifeCountField[hidden] { display: none; }
.life-reference-tools .reference-picker-button { height: 48px; }
.life-action-row { grid-template-columns: 1fr; }
.life-product-context { grid-template-columns: minmax(420px, 1.55fr) minmax(310px, .85fr); align-items: start; }
.life-product-image { min-height: 620px; }
.life-product-insights { display: grid; gap: 14px; }
.life-product-insights .profile-card { min-height: 0; }
.life-product-insights .style-director-panel { min-height: 0; }

.reference-source-tabs { display: flex; gap: 0; padding: 16px 30px 0; }
.reference-source-tabs button { min-width: 130px; height: 42px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); }
.reference-source-tabs button + button { margin-left: -1px; }
.reference-source-tabs button.active { background: var(--pink); box-shadow: inset 0 -4px 0 var(--ink); }
.reference-toolbar .field[hidden] { display: none; }
.eagle-folder-list { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; }
.eagle-folder-list[hidden] { display: none; }
.eagle-folder-list button { height: 34px; padding: 0 11px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); font-size: 9px; }
.eagle-folder-list button.active { background: var(--pink); }
.eagle-refresh-button { flex: 0 0 auto; height: 34px; padding: 0 13px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font-size: 9px; }
.eagle-refresh-button[hidden] { display: none; }
.eagle-refresh-button:disabled { opacity: .55; cursor: wait; }
.pack-scene-direction { margin: 8px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.scene-suitability { display: block; margin-top: 6px; padding-left: 7px; border-left: 3px solid var(--warm-gray); color: var(--muted); font-size: 8px; line-height: 1.4; }
.scene-suitability.recommended { border-left-color: var(--pink); color: var(--ink); }
.scene-suitability.not_recommended { opacity: .58; }

.director-explainer {
  margin: 12px 0 0 !important;
  padding: 10px 0 12px;
  border-bottom: 1px solid var(--ink);
  color: var(--muted) !important;
  font-size: 9px !important;
  line-height: 1.55 !important;
}

@media (max-width: 520px) {
  .reference-source-tabs { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 900px) {
  .life-product-context { grid-template-columns: 1fr; }
  .life-product-image { min-height: 480px; }
}
