/* Export proposals page (export/proposals.html): three ways to show formats + colour space, then the
   RAW in → DNG out sheet. On top of export.css. */

/* Preview only: the option labels between the ideas. */
.opx-tag {
  display: flex; align-items: center; gap: 12px; justify-content: center;
  margin: clamp(96px, 10vw, 150px) auto clamp(28px, 3vw, 44px);
  font: 500 14px -apple-system, sans-serif; color: var(--muted);
}
.exx-open + .opx-tag { margin-top: 0; }
.opx-tag b { padding: 4px 11px; border-radius: 999px; background: #f1f4f2; color: #0b0c0c; font-size: 12px; }

/* ===================== Option 1 · colour space on the photo ===================== */
.op1-cs {
  position: absolute; left: 50%; bottom: 14px; z-index: 2; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 8px; width: min(440px, 92%);
}
.op1-cs__line { margin: 0; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--text); white-space: nowrap; }
.op1-cs__line.is-off { color: #ffe6dc; }
.op1-cs__seg.c-seg { width: 100%; padding: 4px; }
.op1-cs__seg .c-seg__thumb { top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / var(--n)); }
.op1-cs__seg button { min-height: 34px; font-size: 13px; padding: 0 4px; white-space: nowrap; }
.op1-cs__seg button[aria-checked="true"] { color: var(--text); }
.op1-cs__seg.is-off { opacity: .45; }
@media (max-width: 640px) { .op1-cs { bottom: 8px; } .op1-cs__line { display: none; } .op1-cs__seg button { font-size: 11px; min-height: 28px; } }

/* ===================== Option 2 · two lists + gamut ===================== */
.op2 {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px);
  max-width: 1120px; margin: 0 auto; font-family: var(--display);
}
.op2-h { margin: 0 0 18px; font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.op2-fmts, .op2-spaces { list-style: none; margin: 0; padding: 0; }
.op2-fmts li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: baseline; gap: 18px;
  padding: 14px 0; border-top: 1px solid #ffffff14;
}
.op2-fmts li:last-child { border-bottom: 1px solid #ffffff14; }
.op2-fmts b { font-size: clamp(30px, 3.4vw, 48px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.op2-fmts span { font-size: 16px; font-weight: 600; color: var(--text); }
.op2-fmts em { min-width: 92px; text-align: right; font: 500 13px var(--mono); font-style: normal; color: var(--muted); }
.op2-fmts li[data-f="dng"] b { color: #ffe6dc; text-shadow: 0 0 24px #e0644a88; }
.op2-fmts li[data-f="dng"] span::after { content: " ↓"; color: #ffe6dc; }

.op2-cs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.op2-gamut { width: 100%; height: auto; overflow: visible; }
.op2-locus { fill: url(#op2-spec); fill-opacity: .16; stroke: #ffffff40; stroke-width: 1; }
.op2-tri { fill: #ffffff08; stroke: #ffffff45; stroke-width: 1.2; stroke-linejoin: round; transition: fill .3s, stroke .3s, stroke-width .3s; }
.op2-tri.is-on { fill: #ffe6dc1f; stroke: #ffe6dc; stroke-width: 2.2; filter: drop-shadow(0 0 6px #e0644a); }
.op2-spaces li { padding: 12px 0 12px 14px; border-left: 2px solid #ffffff1a; cursor: pointer; outline: none; transition: border-color .3s; }
.op2-spaces li + li { margin-top: 4px; }
.op2-spaces b { display: block; font-size: clamp(20px, 1.9vw, 26px); font-weight: 700; letter-spacing: -0.02em; color: var(--muted); transition: color .3s; }
.op2-spaces span { display: block; margin-top: 3px; font-size: 14px; color: var(--muted); }
.op2-spaces li.is-on { border-left-color: #ffe6dc; }
.op2-spaces li.is-on b { color: var(--text); }
@media (max-width: 1060px) { .op2 { grid-template-columns: minmax(0, 1fr); max-width: 640px; } }
@media (max-width: 520px) { .op2-cs { grid-template-columns: minmax(0, 1fr); } .op2-gamut { max-width: 240px; justify-self: center; } .op2-fmts em { display: none; } }

/* ===================== Option 3 · one export panel over the photo ===================== */
.op3 { position: relative; max-width: 1120px; margin: 0 auto; }
.op3-photo { margin: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 50px 120px #00000080, 0 0 0 1px #ffffff1c; }
.op3-photo img { display: block; width: 100%; height: auto; }
.op3-panel {
  position: absolute; right: clamp(16px, 2.4vw, 32px); top: 50%; transform: translateY(-50%);
  width: min(400px, 44%); padding: 20px 20px 22px; border-radius: 22px; font-family: var(--display);
}
.op3 .c-glass { background: linear-gradient(180deg, #181b1ae6, #0f1110f0); border-color: #ffffff2e; }
.op3-k { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.op3-k ~ .op3-k { margin-top: 18px; }
.op3-seg.c-seg { width: 100%; padding: 3px; }
.op3-seg .c-seg__thumb { top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / var(--n)); }
.op3-seg button { min-height: 34px; padding: 0 2px; font-size: 12.5px; white-space: nowrap; }
.op3-seg button[aria-checked="true"] { color: var(--text); }
.op3-seg.is-off { opacity: .4; pointer-events: none; }
.op3-line { min-height: 2.7em; margin: 12px 0 0; font-size: 14px; line-height: 1.35; color: var(--muted); }
.op3-line.is-dng { color: #ffe6dc; }
.op3-file { display: flex; justify-content: space-between; gap: 12px; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid #ffffff1a; font-size: 14px; }
.op3-file b { font-weight: 600; }
.op3-file span { font: 500 13px var(--mono); color: var(--muted); }
@media (max-width: 860px) {
  .op3-panel { position: relative; right: auto; top: auto; transform: none; width: auto; margin: -40px 12px 0; }
}

/* Phones */
@media (max-width: 560px) {
  .op3-seg button { font-size: 10.5px; }
  .op3-panel { padding: 14px 14px 16px; }
  .op1-cs__seg button { font-size: 10px; }
}

.op2-cs { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
