/* Catalogue tool (outils/catalogue-reliure): details list, cover template, spreads preview, imposition order, locked export */
.cdl { display: grid; grid-template-columns: minmax(130px, 38%) 1fr; gap: 6px 14px; margin: 14px 0 6px; font-size: 14.5px; }
.cdl dt { color: var(--muted, #7a756d); font-weight: 600; }
.cdl dd { margin: 0; color: #1d1f24; }
.csub { margin: 22px 0 8px; font-weight: 700; font-size: 15px; }
.ccov { background: #faf8f4; border-radius: 16px; padding: 10px; }
.ccov__svg { display: block; width: 100%; height: auto; max-height: 360px; }
.cspreads { display: flex; flex-wrap: wrap; gap: 10px; }
.cspr { display: flex; gap: 2px; padding: 4px; background: #efeae2; border-radius: 8px; }
.cpg { width: 42px; height: 58px; background: #fff; border-radius: 3px; box-shadow: inset 0 0 0 2px var(--c, #ccc); display: flex; flex-direction: column;
  align-items: center; justify-content: center; font-size: 10.5px; line-height: 1.2; text-align: center; }
.cpg b { font-weight: 700; color: #1d1f24; }
.cpg i { font-style: normal; color: var(--muted, #7a756d); font-size: 9.5px; }
.cpg--blank { background: repeating-linear-gradient(135deg, #fff 0 6px, #f3f0ea 6px 12px); }
.cpg--void { background: transparent; box-shadow: none; }
.corder { margin: 0; padding-inline-start: 0; list-style: none; display: grid; gap: 4px; font-size: 13.5px; }
.corder li { padding: 4px 10px; border-inline-start: 4px solid var(--c, #ccc); background: #faf8f4; border-radius: 6px; }
.clock { margin-top: 14px; padding: 16px; border-radius: 16px; background: #fff3f3; box-shadow: inset 0 0 0 1px rgba(227, 0, 0, .25); }
.clock p { margin: 0 0 10px; font-weight: 600; }
.clock__free { display: inline-block; margin-inline-start: 10px; font-weight: 700; color: #E30000; }
.ccustom[hidden] { display: none; }
@media (max-width: 640px) { .cdl { grid-template-columns: 1fr; } .cdl dd { margin-bottom: 6px; } .cpg { width: 36px; height: 50px; } }
/* Visionneuse (catalogue-viewer.js + flipbook.css) */
.vjump { margin: 14px 0 0; }
.vjump a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--red, #E30000); text-decoration: none; }
.vjump a:hover { text-decoration: underline; }
.vsec { padding-top: clamp(30px, 5vw, 60px); scroll-margin-top: 80px; }
.vsec h2 { font-size: clamp(24px, 3.2vw, 36px); font-weight: 800; margin: 0; }
.vsec__lead { color: var(--muted, #6E6862); font-size: 16.5px; max-width: 820px; margin: 10px 0 18px; }
.vtool { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: clamp(14px, 2vw, 22px); background: #fff; border-radius: 24px; box-shadow: 0 0 0 1px var(--line), 0 30px 70px -45px rgba(17, 17, 17, .35); }
.vdrop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 190px; padding: 22px; border-radius: 18px;
  border: 2px dashed rgba(17, 17, 17, .2); background: #FBFAF8; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.vdrop:hover, .vdrop.is-over { border-color: var(--red, #E30000); background: #fff6f6; }
.vdrop svg { color: var(--red, #E30000); }
.vdrop__t { font-size: 16px; }
.vdrop__t span { color: var(--muted, #6E6862); }
.vdrop small { color: var(--muted, #6E6862); font-size: 13px; }
.vdrop__in { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.vdrop:focus-within { outline: 2px solid var(--red, #E30000); outline-offset: 2px; }
.vdrop--small { flex-direction: row; flex-wrap: wrap; min-height: 0; padding: 10px 16px; gap: 10px; }
.vdrop--small svg { width: 22px; height: 22px; }
.vdrop--small small { display: none; }
.vbook, .vchecks { min-width: 0; }
.vchecks .btns { margin-top: 12px; }
.vchecks .smallcta { margin: 12px 0 0; font-size: 13.5px; }
.vown { margin: 14px 0 0; font-size: 14.5px; }
.vown a { color: var(--ink, #111); font-weight: 600; }
@media (max-width: 600px) { .vtool { padding: 10px; border-radius: 18px; } .vbook .kf { --kf-h: min(68vh, 560px); border-radius: 14px; } }
