.fpv-page {
  --fpv-green: #b8f36e;
  --fpv-forest: #215f41;
  --fpv-soft: #e8f2dc;
  --fpv-gap: 14px;
}
.fpv-page main { padding-bottom: 12px; }
.fpv-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(220px, 1fr);
  overflow: hidden;
  margin: 4px 0 12px;
  border-radius: 16px;
  background: var(--navy);
  color: #fff;
}
.fpv-intro { align-self: center; padding: clamp(20px, 4vw, 38px); }
.fpv-intro .topic-label {
  color: #d4e8c6;
  font-size: .8rem;
  font-weight: 650;
  margin-bottom: 9px;
}
.fpv-intro h1 em { color: var(--fpv-green); }
.fpv-intro > p:not(.topic-label) { max-width: 36rem; margin-top: 12px; color: #e6edf6; }
.fpv-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-top: 17px; }
.fpv-primary { --accent: var(--fpv-green); color: var(--navy); margin-top: 0; min-height: 44px; }
.fpv-secondary { display: inline-flex; align-items: center; min-height: 44px; color: #f0f6ff; font-size: .87rem; font-weight: 700; }
.fpv-hero figure { position: relative; min-height: 230px; background: #24384b; }
.fpv-hero figure > a { display: block; position: absolute; inset: 0; }
.fpv-hero figure > a:focus-visible { outline-offset: -5px; z-index: 1; }
.fpv-hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; }
.fpv-hero figcaption {
  position: absolute;
  inset: auto 8px 8px auto;
  max-width: calc(100% - 16px);
  border-radius: 6px;
  padding: 4px 8px;
  background: #101f32f0;
  color: white;
  font-size: .73rem;
}
.fpv-hero figcaption a { color: inherit; }
.fpv-jumps { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 18px; }
.fpv-jumps a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding-inline: .73rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  font-size: .86rem;
  font-weight: 680;
  text-decoration: none;
}
.fpv-jumps a:hover { text-decoration: underline; }
.fpv-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: var(--fpv-gap); }
.fpv-panel { min-width: 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.fpv-panel h2, .fpv-section > h2 { margin-bottom: 10px; }
.fpv-panel p, .fpv-panel li, .fpv-panel dd { color: var(--muted); }
.fpv-wide { grid-column: 1 / -1; }
.fpv-list { padding-left: 19px; margin: 0; }
.fpv-list li + li { margin-top: 8px; }
.fpv-list strong { color: var(--ink); }
.fpv-note { padding: 9px 11px; margin-top: 12px; background: var(--fpv-soft); border-radius: 7px; font-size: .87rem; }
.fpv-diagnostics, .fpv-systems { margin: 0; }
.fpv-diagnostics > div + div { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.fpv-page dt { color: var(--ink); font-weight: 750; }
.fpv-page dd { margin: 2px 0 0; }
.fpv-systems { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fpv-systems div { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; }
.fpv-links { display: flex; flex-wrap: wrap; gap: 0 12px; margin-top: 6px; }
.fpv-links a, .fpv-resources article > a { display: inline-flex; align-items: center; min-height: 39px; font-size: .87rem; font-weight: 670; }
.fpv-section { margin-top: 22px; }
.fpv-photos, .fpv-resources { display: grid; gap: var(--fpv-gap); }
.fpv-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fpv-photos figure { overflow: hidden; min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.fpv-photos figure > a { display: block; }
.fpv-photos figure > a:focus-visible { outline-offset: -4px; }
.fpv-photos img { width: 100%; height: clamp(165px, 23vw, 275px); object-fit: cover; object-position: 50% 45%; }
.fpv-photos figcaption { padding: 9px 12px; color: var(--muted); font-size: .86rem; }
.fpv-photos .credit { margin-top: 4px; font-size: .76rem; }
.fpv-resources { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fpv-resources article > p { margin: 5px 0 4px; }
.fpv-resources article > a { display: flex; }
.fpv-contact { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; padding: 15px 18px; margin-top: 22px; border-radius: 11px; background: var(--navy); color: #fff; }
.fpv-contact p { max-width: 46rem; margin-top: 6px; color: #e6edf6; }
.fpv-sources { margin-top: 10px; }
.fpv-sources summary { min-height: 44px; padding-block: 10px; cursor: pointer; font-weight: 680; }
.fpv-sources ul { columns: 2; margin: 0; padding-left: 20px; }
.fpv-sources li { break-inside: avoid; margin-bottom: 6px; }

@media (max-width: 700px) {
  .fpv-hero { grid-template-columns: 1fr; }
  .fpv-hero figure { min-height: clamp(180px, 36vw, 255px); }
  .fpv-layout, .fpv-resources { grid-template-columns: 1fr; }
  .fpv-links a, .fpv-resources article > a { min-height: 44px; }
}
@media (max-width: 485px) {
  .fpv-systems, .fpv-photos { grid-template-columns: 1fr; }
  .fpv-sources ul { columns: 1; }
  .fpv-panel { padding: 13px; }
  .fpv-jumps { gap: 4px; margin-bottom: 12px; }
  .fpv-jumps a { font-size: .81rem; padding-inline: .53rem; }
}

.fpv-bench { margin-top: 12px; }
.fpv-bench fieldset { margin: 0; min-inline-size: 0; padding: 0; border: 0; }
.fpv-bench legend { margin-bottom: 5px; padding: 0; font-weight: 750; }
.fpv-bench label {
  display: flex;
  align-items: start;
  gap: 10px;
  min-height: 44px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
}
.fpv-bench input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--fpv-forest);
}
.fpv-bench button {
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--fpv-soft);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.fpv-bench :is(input, button):focus-visible { outline: 3px solid var(--fpv-forest); outline-offset: 3px; }
#profils-fpv code { overflow-wrap: anywhere; }
