/* Field-of-view framing planner */
.fov-planner {
  margin: 2rem 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(126, 196, 255, 0.28);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
}
.fov-planner h2 { margin: 0.2rem 0 0.6rem; }
.fov-planner-heading > div > p:last-child { margin-bottom: 0; color: rgba(255,255,255,.76); }
.fov-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: end;
  margin: 1.4rem 0;
}
.fov-controls label {
  display: grid;
  gap: .45rem;
  min-width: min(100%, 15rem);
  font-weight: 700;
}
.fov-controls select,
.fov-controls input {
  width: 100%;
  min-height: 44px;
  padding: .7rem .8rem;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 11px;
  background: rgba(7,14,30,.82);
  color: var(--section-text);
  font: inherit;
}
.fov-custom-fields { display: flex; flex-wrap: wrap; gap: .8rem; }
.fov-custom-fields[hidden] { display: none; }
.fov-custom-fields label { min-width: 9rem; }
.fov-preview-wrap {
  display: grid;
  grid-template-columns: minmax(260px,1.1fr) minmax(220px,.9fr);
  gap: 1.4rem;
  align-items: center;
}
.fov-preview-stage {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(126,196,255,.25);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 28%, rgba(255,255,255,.85) 0 1px, transparent 1.5px),
    radial-gradient(circle at 71% 23%, rgba(255,255,255,.65) 0 1px, transparent 1.5px),
    radial-gradient(circle at 82% 69%, rgba(255,255,255,.8) 0 1px, transparent 1.5px),
    radial-gradient(circle at 37% 78%, rgba(255,255,255,.55) 0 1px, transparent 1.5px),
    linear-gradient(145deg, rgba(8,17,38,.98), rgba(16,30,59,.94));
}
.fov-frame,
.fov-target-shape {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  display: grid;
  place-items: center;
  text-align: center;
}
.fov-frame {
  z-index: 1;
  border: 2px solid rgba(118,185,255,.95);
  box-shadow: 0 0 0 1px rgba(0,0,0,.35), inset 0 0 34px rgba(73,139,255,.08);
}
.fov-frame span {
  position: absolute;
  top: .45rem;
  right: .55rem;
  padding: .18rem .45rem;
  border-radius: 999px;
  background: rgba(7,14,30,.72);
  color: rgba(218,235,255,.82);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.fov-target-shape {
  z-index: 2;
  min-width: 10px;
  min-height: 10px;
  border: 2px solid rgba(255,198,92,.95);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255,185,72,.22), rgba(255,150,70,.06) 55%, transparent 72%);
  box-shadow: 0 0 28px rgba(255,174,73,.18);
}
.fov-target-shape span {
  max-width: 12rem;
  padding: .24rem .45rem;
  border-radius: 8px;
  background: rgba(7,14,30,.8);
  color: #fff3d4;
  font-size: .76rem;
  line-height: 1.2;
}
.fov-assessment {
  display: grid;
  gap: .35rem;
  margin: 0 0 .9rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.055);
}
.fov-assessment strong { font-size: 1.12rem; }
.fov-assessment span { color: rgba(255,255,255,.76); line-height: 1.55; }
.fov-assessment.good { border-color: rgba(70,201,132,.5); background: rgba(70,201,132,.08); }
.fov-assessment.fair { border-color: rgba(255,190,77,.5); background: rgba(255,190,77,.08); }
.fov-assessment.poor { border-color: rgba(255,105,115,.5); background: rgba(255,105,115,.08); }
.fov-size-line { margin: 0 0 .6rem; font-weight: 700; line-height: 1.55; }
#fov-rotate[aria-pressed="true"] { outline: 2px solid var(--color-accent); outline-offset: 2px; }
@media (max-width: 780px) {
  .fov-preview-wrap { grid-template-columns: 1fr; }
  .fov-preview-stage { min-height: 280px; }
  .fov-controls { align-items: stretch; }
  .fov-controls > *, .fov-custom-fields { width: 100%; }
  .fov-custom-fields label { flex: 1 1 9rem; }
}