.ha-enquete {
  --ha-ink:#152f35; --ha-teal:#165a50; --ha-paper:#fffefa; --ha-rule:#ccd3c9; --ha-muted:#4e6863;
  max-width:72rem; margin:0 auto; padding:1rem 0 2rem; color:var(--ha-ink);
}
.ha-enquete h1, .ha-enquete h2 { text-align:center; text-wrap:balance; }
.ha-back { display:inline-flex; align-items:center; color:var(--ha-teal); font-weight:700; min-height:2.5rem; }
.ha-back:hover, .ha-sources a:hover { text-decoration:underline; text-underline-offset:.18em; }
.ha-mast { padding:clamp(1.45rem,3.6vw,3.1rem) 0; text-align:center; }
.ha-kicker {
  margin:0; font:700 .77rem/1.45 Arial,sans-serif; text-align:center;
  color:var(--ha-teal); letter-spacing:.12em; text-transform:uppercase;
}
.ha-mast h1 { max-width:24ch; margin:.45rem auto .65rem; font:700 clamp(2.25rem,5.1vw,4.45rem)/1.04 Georgia,serif; letter-spacing:-.055em; }
.ha-mast > p:last-child:not(.ha-kicker) { max-width:67ch; margin:.6rem auto 0; color:var(--ha-muted); line-height:1.55; }
.ha-claim {
  padding:clamp(1.5rem,3.4vw,2.5rem) clamp(1.2rem,4.5vw,3rem);
  background:#142e34; border-radius:.85rem; color:#fffbed; text-align:center;
}
.ha-claim .ha-kicker { color:#a9e3ca; }
.ha-claim blockquote { max-width:43ch; margin:.7rem auto .9rem; font:700 clamp(1.45rem,2.85vw,2.2rem)/1.21 Georgia,serif; letter-spacing:-.03em; text-wrap:balance; }
.ha-byline { margin:0; color:#d4e7db; font-size:.9rem; line-height:1.5; }
.ha-desk { display:grid; grid-template-columns:minmax(0,1.32fr) minmax(0,1fr); align-items:start; gap:clamp(1rem,3.4vw,2.35rem); margin-top:clamp(1.5rem,3.7vw,2.7rem); }
.ha-enquete h2 { margin:.3rem 0 .55rem; font:700 clamp(1.55rem,2.8vw,2.15rem)/1.12 Georgia,serif; letter-spacing:-.035em; }
.ha-files > header { margin-bottom:.9rem; text-align:center; }
.ha-files > header p { margin:0; color:var(--ha-muted); font-size:.9rem; }
.ha-pieces { display:grid; gap:.8rem; }
.ha-piece { overflow:hidden; border:1px solid var(--ha-rule); border-left:4px solid #75a298; border-radius:.55rem; background:var(--ha-paper); }
.ha-piece:nth-child(2) { border-left-color:#ce9c42; }
.ha-piece:nth-child(3) { border-left-color:#8d88af; }
.ha-piece[open] { border-color:#8ca79d; }
.ha-piece summary {
  display:flex; align-items:center; gap:.75rem; min-height:4.3rem; padding:.7rem .95rem;
  color:var(--ha-ink); cursor:pointer; list-style:none;
}
.ha-piece summary:hover { background:#f0f5ed; }
.ha-piece summary::-webkit-details-marker { display:none; }
.ha-letter {
  display:grid; place-items:center; flex:none; width:2.25rem; height:2.7rem;
  border:1px solid #cdd4c6; border-radius:.18rem; background:#e6ecde; color:#385448;
  font:700 1.45rem/1 Georgia,serif;
}
.ha-piece:nth-child(2) .ha-letter { background:#fbedd2; border-color:#dfd2b2; color:#705219; }
.ha-piece:nth-child(3) .ha-letter { background:#eeeaf2; border-color:#d8d1df; color:#514461; }
.ha-piece-meta { flex:1; min-width:0; }
.ha-piece-meta small, .ha-piece-meta strong { display:block; }
.ha-piece-meta small { color:var(--ha-muted); font-size:.81rem; margin-bottom:.2rem; }
.ha-piece-meta strong { line-height:1.35; }
.ha-piece-status { color:var(--ha-muted); font-size:.79rem; white-space:nowrap; }
.ha-fold { color:var(--ha-teal); font-size:1.25rem; }
.ha-piece[open] .ha-fold { transform:rotate(180deg); }
.ha-piece-content { padding:1rem 1.1rem 1.15rem; border-top:1px solid var(--ha-rule); color:#2e4645; line-height:1.65; white-space:pre-line; }
.ha-sources { margin-top:1.1rem; padding:0 .2rem; }
.ha-sources summary { min-height:2.3rem; padding:.45rem 0; color:var(--ha-teal); font-weight:700; cursor:pointer; }
.ha-sources ul { padding-left:1.3rem; margin:.2rem 0 0; }
.ha-sources li { line-height:1.5; margin:.4rem 0; }
.ha-sources a { color:var(--ha-teal); overflow-wrap:anywhere; text-decoration:underline; }
.ha-work {
  min-width:0; padding:clamp(1.1rem,2.7vw,2rem); background:var(--ha-paper);
  border:1px solid var(--ha-rule); border-top:.27rem solid var(--ha-teal); border-radius:.75rem;
}
.ha-guide, .ha-explanation { margin:.75rem 0; color:#38504b; line-height:1.6; }
.ha-radios { margin:1.15rem 0 .8rem; padding:0; border:0; }
.ha-radios legend { max-width:100%; margin:0 0 .55rem; padding:0; color:var(--ha-ink); font-weight:700; line-height:1.4; }
.ha-radios:disabled .ha-option { color:#626f6b; background:#f4f4ee; cursor:default; }
.ha-option {
  display:flex; align-items:baseline; gap:.65rem; min-height:2.7rem; margin:0 0 .45rem; padding:.63rem .75rem;
  border:1px solid var(--ha-rule); border-radius:.4rem; background:#fff; line-height:1.45; cursor:pointer;
}
.ha-radios:not(:disabled) .ha-option:hover, .ha-option:has(input:checked) { border-color:#427f70; background:#e7f3e9; }
.ha-option input { flex:none; width:1rem; height:1rem; accent-color:var(--ha-teal); }
.ha-enquete :is(summary,button,a):focus-visible, .ha-option:has(input:focus-visible) { outline:3px solid #266f63; outline-offset:3px; }
.ha-piece summary:focus-visible { outline-offset:-4px; }
.ha-feedback { margin:.7rem 0; padding:.65rem .8rem; border-left:3px solid #b07034; background:#fff2da; color:#543815; line-height:1.5; }
.ha-feedback[data-status="ok"], .ha-retain { border-left:3px solid #297b65; background:#e4f2e7; color:#184639; }
.ha-feedback:empty { display:none; }
.ha-retain { padding:1rem; margin:1.1rem 0; line-height:1.55; }
.ha-retain p { margin:.3rem 0 0; }
.ha-actions { display:flex; flex-wrap:wrap; gap:.55rem; margin-top:1rem; }
#ha-work-title:focus { outline:none; }
.ha-comparison { margin:clamp(1.5rem,3.7vw,2.7rem) 0 0; padding:clamp(1rem,2.4vw,1.7rem); border:1px solid var(--ha-rule); border-radius:.8rem; background:#f2f2e9; }
.ha-comparison > p { margin:.4rem auto .9rem; line-height:1.55; max-width:70ch; text-align:center; }
.ha-modes { display:flex; flex-wrap:wrap; justify-content:center; gap:.4rem; margin-bottom:1rem; }
.ha-modes button { padding:.48rem .75rem; border:1px solid #bdcbbf; border-radius:.43rem; background:#fffefa; color:var(--ha-ink); font:700 .87rem/1.35 Arial,sans-serif; cursor:pointer; }
.ha-modes button[aria-pressed="true"] { background:#245e53; border-color:#245e53; color:#fff; }
.ha-photogrid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr)); gap:1rem; }
.ha-photogrid.ha-single { max-width:50rem; margin:auto; }
.ha-photo { display:flex; flex-direction:column; margin:0; min-width:0; overflow:hidden; border:1px solid #c4cbc2; border-radius:.45rem; background:#fffefa; }
.ha-photo[hidden] { display:none; }
.ha-full { position:relative; display:flex; align-items:center; justify-content:center; background:#273533; }
.ha-full img { display:block; width:100%; height:clamp(15rem,26vw,24rem); object-fit:contain; }
.ha-photogrid.ha-single .ha-full img { height:clamp(16rem,35vw,32rem); }
.ha-full > span { position:absolute; right:.55rem; bottom:.55rem; padding:.36rem .6rem; border-radius:.28rem; color:#fff; background:#132a29ed; font-size:.82rem; font-weight:700; }
.ha-photo figcaption { padding:.7rem .85rem .8rem; line-height:1.45; }
.ha-photo figcaption :is(strong,small) { display:block; }
.ha-photo figcaption small { margin-top:.18rem; font-size:.81rem; color:#4c645e; }
@media(max-width:780px) {
  .ha-desk { grid-template-columns:1fr; }
  .ha-sources { margin-bottom:.55rem; }
  .ha-photogrid { grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr)); }
}
@media(max-width:520px) {
  .ha-enquete { padding-top:.25rem; }
  .ha-claim { padding-inline:1rem; }
  .ha-piece summary { gap:.5rem; padding:.65rem .7rem; }
  .ha-letter { width:1.75rem; height:2.25rem; font-size:1.2rem; }
  .ha-piece-status { font-size:.72rem; }
  .ha-fold { display:none; }
  .ha-modes button { flex:1 1 auto; }
  .ha-photogrid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.4rem; }
  .ha-photogrid.ha-single, .ha-photogrid:has(figure:only-child) { grid-template-columns:minmax(0,1fr); }
  .ha-full img { height:clamp(7.5rem,34vw,13.5rem); }
  .ha-photogrid.ha-single .ha-full img, .ha-photogrid:has(figure:only-child) .ha-full img { height:auto; max-height:26rem; }
  .ha-full > span { bottom:.25rem; right:.25rem; font-size:.68rem; padding:.22rem .35rem; }
  .ha-photo figcaption { padding:.45rem; font-size:.85rem; }
  .ha-photo figcaption small { font-size:.75rem; }
}
.ha-overlay[hidden], .ha-photogrid[hidden] { display:none; }
.ha-overlay { max-width:47rem; margin:0 auto; }
.ha-layers { position:relative; aspect-ratio:825 / 616; overflow:hidden; border-radius:.4rem; background:#19282b; }
.ha-layers img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
.ha-layer-top { clip-path:inset(0 calc(100% - var(--ha-split)) 0 0); }
.ha-layers > span { position:absolute; pointer-events:none; top:0; bottom:0; left:clamp(0px,var(--ha-split),calc(100% - 3px)); width:3px; background:#ffdc6a; box-shadow:0 0 0 1px #142e34; }
.ha-overlay > label { display:block; margin:.7rem 0 0; text-align:center; font-weight:bold; }
#ha-slider { display:block; width:100%; min-height:2.75rem; margin:0; cursor:ew-resize; accent-color:#176359; }
#ha-slider:focus-visible { outline:3px solid #266f63; outline-offset:3px; }
.ha-overlay-credits { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; }
.ha-overlay-credits p { margin:0; font-size:.86rem; line-height:1.45; }
.ha-overlay-credits small, .ha-plate figcaption small { display:block; color:#4c645e; }
.ha-film, .ha-record, .ha-plate { margin:.2rem 1rem 1.1rem; }
.ha-film p { line-height:1.55; }
.ha-film a { display:inline-block; margin-top:.45rem; padding:.5rem .8rem; border:1px solid #91ac9e; border-radius:.4rem; color:#164e43; font-weight:700; }
.ha-record { padding:1rem; background:#f8f2da; color:#3e382c; border:1px solid #dfd4af; border-left:3px solid #a1854c; border-radius:.33rem; }
.ha-record figcaption small, .ha-record figcaption strong { display:block; }
.ha-record figcaption small { color:#645a40; }
.ha-record figcaption strong { font:700 1.24rem Georgia,serif; margin:.2rem 0 .65rem; }
.ha-record p { margin:.35rem 0; line-height:1.45; }
.ha-doc-credit { padding-top:.45rem; border-top:1px solid #d1c7a4; font-size:.87rem; }
.ha-plate { overflow:hidden; border:1px solid #c3d0c4; border-radius:.4rem; background:#f4f7ee; }
.ha-plate .ha-full img { height:auto; max-height:28rem; object-fit:contain; }
.ha-plate figcaption { padding:.7rem; line-height:1.45; }
.ha-plate figcaption small { font-size:.83rem; }
@media(max-width:460px){.ha-overlay-credits{grid-template-columns:1fr;}}
