.product-radar {
  --radar-ink: #182820;
  --radar-muted: #5b685f;
  --radar-line: #dce2db;
  --radar-green: #174c37;
  --radar-soft: #eff4ef;
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: 1200px;
  color: var(--radar-ink);
}

.product-radar a { color: #205b40; text-underline-offset: .18em; overflow-wrap: anywhere; }
.product-radar a .icon { width: .85em; height: .85em; vertical-align: -.05em; }
.product-radar h1, .product-radar h2, .product-radar h3, .product-radar h4, .product-radar p { margin: 0; }
.product-radar h1:focus { outline: none; }
.product-radar h2 { font-size: clamp(1.32rem, 1.8vw, 1.65rem); }
.product-radar h3 { font-size: 1.15rem; }
.product-radar h4 { font-size: 1rem; }
.product-radar label { min-width: 0; display: grid; align-content: start; gap: 6px; font-size: .88rem; font-weight: 650; }
.product-radar input, .product-radar select, .product-radar textarea { min-width: 0; width: 100%; }
.product-radar textarea { resize: vertical; }
.product-radar figure { margin: 0; }
.product-radar .btn { white-space: normal; }

.radar-bar { display: flex; align-items: center; }
.radar-bar .btn { min-height: 36px; padding: 6px 12px; font-size: .83rem; }
.radar-feedback:empty { display: none; }
.radar-feedback, .radar-notice { padding: 12px 15px; border: 1px solid #d2e2d4; border-radius: 10px; background: var(--radar-soft); }
.radar-error { color: #7a241a; border-color: #e9c6bf; background: #fff4f1; }
.radar-muted { color: var(--radar-muted); font-size: .94rem; }
.radar-text { color: var(--radar-ink); white-space: pre-wrap; overflow-wrap: anywhere; font-size: .95rem; }
.radar-kicker { font-family: inherit; font-size: .72rem; font-weight: 800; letter-spacing: .12em; color: #3b644f; text-transform: uppercase; }
.radar-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(24px, 5vw, 48px);
  min-height: 218px;
  background-color: #102b22;
  background-image: radial-gradient(ellipse at 80% 0%, #315943, transparent 60%);
  border-radius: 18px;
  color: #fffdf5;
}

.radar-hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -70px;
  width: min(48vw, 490px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateY(-50%);
  background: repeating-radial-gradient(circle, transparent 0 38px, #b7d4b731 39px 40px);
  mask-image: linear-gradient(115deg, transparent, #000 65%);
  pointer-events: none;
}

.radar-hero h1, .radar-title h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(2.12rem, 4.6vw, 3.55rem);
  line-height: 1.03;
  overflow-wrap: anywhere;
}
.radar-hero-copy { display: grid; gap: 11px; }
.radar-hero .radar-kicker { color: #c4dabf; }
.radar-hero-copy > p:last-child { max-width: 48ch; color: #e6eee4; }
.radar-hero .btn { background: #f4e4b5; color: #193125; border-color: transparent; flex: none; }
.radar-hero .btn:hover { background: #fff2ca; }
.radar-panel { display: grid; gap: 14px; min-width: 0; padding: clamp(16px, 3vw, 25px); background: #fffefa; border: 1px solid var(--radar-line); border-radius: 14px; }
.radar-panel > div > h2 + p, .radar-panel > h2 + p { margin-top: 4px; }
.radar-section-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.radar-search-form, .radar-reference-form { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; gap: 12px; }
.radar-reference-form { grid-template-columns: repeat(2, minmax(0, 1fr)) auto; }
.radar-search-form button, .radar-reference-form button { min-height: 44px; }
.radar-reference-form input[type=file] { padding-inline: 8px; font-size: .82rem; }
.radar-filter { flex: 0 0 min(39%, 156px); }
.radar-dossier-row {
  appearance: none;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 12px;
  width: 100%;
  align-items: center;
  padding: 13px 10px;
  color: inherit;
  background: transparent;
  border: 1px solid transparent;
  border-top-color: var(--radar-line);
  border-radius: 0;
  text-align: left;
  cursor: pointer;
}
.radar-dossier-row:hover { background: #f2f6f1; }
.radar-dossier-row > .icon { color: var(--radar-green); }
.radar-file-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; background: var(--radar-soft); color: var(--radar-green); }
.radar-row-copy, .radar-row-status { display: grid; align-items: start; gap: 3px; }
.radar-row-copy > strong { font-size: 1.02rem; overflow-wrap: anywhere; }
.radar-row-copy > span, .radar-row-status > time, .radar-detail-meta { color: var(--radar-muted); font-size: .8rem; }
.radar-row-status { justify-items: end; }
.radar-pill { display: inline-flex; width: fit-content; border: 1px solid #d8dfd8; background: #f3f4f2; color: #39473e; border-radius: 50px; padding: 3px 8px; font-size: .74rem; font-weight: 750; line-height: 1.25; }
.radar-pill--evaluation { background: #f9f0d6; color: #695015; border-color: #efe0b5; }
.radar-pill--approved { background: #e6f2e7; color: #1e5c37; border-color: #c6dfcc; }
.radar-empty { padding: 14px 0; color: var(--radar-muted); }
.radar-candidates { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--radar-line); }
.radar-result { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #f7f8f3; padding: 14px; border-radius: 10px; }
.radar-result h4 { margin-top: 3px; }
.radar-result .radar-text { margin: 7px 0; }
.radar-title { padding: 6px 0 4px; }
.radar-title h1 { margin-top: 3px; font-size: clamp(2rem, 4.3vw, 3.1rem); }
.radar-title-actions, .radar-detail-meta, .radar-editor-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.radar-detail-meta { margin-top: 10px; }
.radar-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--radar-line); flex-wrap: wrap; }
.radar-tabs button { background: transparent; border: 0; border-bottom: 3px solid transparent; padding: 10px 13px; color: var(--radar-muted); font: inherit; font-weight: 650; cursor: pointer; }
.radar-tabs button[aria-current] { color: var(--radar-green); border-color: var(--radar-green); }
.radar-tabs button:hover { background: var(--radar-soft); }
.radar-definition { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 17px; margin: 0; }
.radar-definition > div { min-width: 0; padding: 10px 0; border-top: 1px solid var(--radar-line); }
.radar-definition dt { font-size: .78rem; font-weight: 800; letter-spacing: .025em; color: var(--radar-muted); }
.radar-definition dd { margin: 5px 0 0; }
.radar-source-links { display: flex; gap: 6px 18px; flex-wrap: wrap; margin: 0; padding-left: 1em; font-size: .85rem; }
.radar-edit-form { display: grid; gap: 14px; }
.radar-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.radar-edit-report details { border: 1px solid var(--radar-line); border-radius: 8px; padding: 12px; }
.radar-edit-report details > div { margin-top: 12px; }
.radar-edit-report summary { cursor: pointer; font-weight: 700; }
.radar-editor-actions { justify-content: flex-end; }
.radar-reference-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(120px, 100%), 1fr)); gap: 10px; }
.radar-reference-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #f1f3ef; border-radius: 7px; }
.radar-reference-grid figcaption, .radar-concept figcaption { font-size: .75rem; padding: 4px 0; color: var(--radar-muted); overflow-wrap: anywhere; }
.radar-concept-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 14px; }
.radar-concept { border: 1px solid var(--radar-line); border-radius: 12px; overflow: hidden; background: #fafbf6; }
.radar-concept img, .radar-pitch-concept img { display: block; width: 100%; aspect-ratio: 1.25; object-fit: contain; background: #e9eee6; }
.radar-concept figcaption { text-align: center; }
.radar-concept-copy { display: grid; gap: 9px; padding: 15px; }
.radar-concept-copy h3 { font-family: Georgia, 'Times New Roman', serif; font-size: 1.56rem; overflow-wrap: anywhere; }
.radar-concept-copy .radar-definition { grid-template-columns: 1fr; gap: 0; }
.radar-concept-copy .btn { justify-self: start; }
.radar-print-actions { align-items: center; }
.radar-presentation { overflow: hidden; border: 1px solid var(--radar-line); border-radius: 16px; background: #fffefa; }
.radar-presentation > header { background: #102b22; color: #fffefa; padding: clamp(20px, 4vw, 39px); }
.radar-presentation > header .radar-kicker { color: #cae0c7; }
.radar-presentation > header h2 { margin: 8px 0; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: clamp(2rem, 5vw, 3.5rem); overflow-wrap: anywhere; }
.radar-presentation > section { display: grid; gap: 10px; padding: 19px clamp(20px, 4vw, 39px); border-bottom: 1px solid var(--radar-line); }
.radar-presentation > section:last-child { border-bottom: 0; }
.radar-pitch-lead { background: #eaf1e9; }
.radar-pitch-concept { display: grid; gap: 5px; border: 1px solid var(--radar-line); border-radius: 8px; padding: 11px; min-width: 0; }
.radar-pitch-concept img { border-radius: 5px; }

@media (max-width: 950px) {
  .radar-search-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .radar-search-form > label:first-child { grid-column: 1 / -1; }
  .radar-search-form button { justify-self: start; grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .product-radar { gap: 13px; }
  .radar-hero, .radar-result { flex-direction: column; align-items: start; }
  .radar-section-head:has(.radar-title-actions), .radar-section-head:has(> button) { flex-direction: column; }
  .radar-reference-form, .radar-field-grid, .radar-definition, .radar-concept-grid { grid-template-columns: 1fr; }
  .radar-reference-form button { justify-self: start; }
  .radar-dossier-row { gap: 7px; grid-template-columns: auto minmax(0, 1fr) auto; padding-inline: 4px; }
  .radar-dossier-row > .icon { display: none; }
  .radar-file-icon { width: 30px; height: 30px; }
  .radar-tabs button { padding-inline: 8px; }
}
@media (max-width: 420px) {
  .radar-search-form { grid-template-columns: minmax(0, 1fr); }
}
@media print {
  body:has(.radar-presentation) .app-shell, body:has(.radar-presentation) .workspace { display: block; min-height: 0; }
  body:has(.radar-presentation) .sidebar, body:has(.radar-presentation) .topbar,
  body:has(.radar-presentation) .sidebar-overlay, body:has(.radar-presentation) #toast-region,
  body:has(.radar-presentation) .product-radar > :not(.radar-presentation) { display: none !important; }
  body:has(.radar-presentation) .content { display: block; padding: 0; max-width: none; }
  .radar-presentation { border: 0; border-radius: 0; overflow: visible; print-color-adjust: exact; }
  .radar-presentation > section { break-inside: avoid; }
  .radar-presentation .radar-concept-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .radar-presentation img { max-height: 180px; }
}
