/* lm-pc.css · 2026-11-11 · source : outils/plan-coupe/ · version du moteur 2026111102 */
.lm-pc { max-width: 1100px; container-type: inline-size; container-name: lmpc; font-family: "Nunito Sans", system-ui, sans-serif; color: #26292C; }
.lm-pc *, .lm-pc *::before, .lm-pc *::after { box-sizing: border-box; }
.lm-pc [hidden] { display: none !important; }
.lm-pc-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lm-pc-titre { margin: 24px 0 6px; font-family: Kreon, Georgia, serif; font-size: 24px; line-height: 1.25; color: #2F5B7C; font-weight: 600; }
.lm-pc-sous { margin: 0 0 10px; font-size: 15px; color: #5B5A57; }
.lm-pc-tel { display: none; margin: 0 0 12px; font-size: 14px; color: #5B5A57; }
@media (max-width: 640px) { .lm-pc-tel { display: block; } }
.lm-pc-aide { margin: 4px 0 0; font-size: 14px; color: #5B5A57; }
.lm-pc-aide:empty { display: none; }
.lm-pc-ligne-info { margin: 8px 0 0; font-size: 15px; color: #26292C; }
.lm-pc-note { background: #F2F1EE; border: 1px solid #E4E1DB; border-radius: 8px; padding: 10px 14px; margin: 20px 0 0; color: #26292C; font-size: 14px; line-height: 1.45; }
.lm-pc-note p { margin: 0; }
.lm-pc-note strong { color: #2F5B7C; font-weight: 700; }
.lm-pc-note-haut { margin: 0 0 16px; }
.lm-pc-champ { display: flex; flex-direction: column; min-width: 0; }
.lm-pc-champ label, .lm-pc-et { font-weight: 600; font-size: 14px; margin: 0 0 4px; }
.lm-pc-champ input[type="text"], .lm-pc-champ select { width: 100%; height: 44px; padding: 0 8px; font: 400 16px "Nunito Sans", system-ui, sans-serif; color: #26292C; background: #fff; border: 1px solid #d5d5d5; border-radius: 8px; }
.lm-pc-champ select { padding-right: 6px; }
.lm-pc-champ input[type="text"]:focus-visible, .lm-pc-champ select:focus-visible { outline: 2px solid #26292C; outline-offset: 1px; border-color: #4A7295; }
.lm-pc-champ input[aria-invalid="true"], .lm-pc-champ select[aria-invalid="true"] { border-color: #B42318; }
.lm-pc input::placeholder { color: #5B5A57; opacity: 1; }
.lm-pc-erreur { margin: 4px 0 0; padding: 6px 10px; border-left: 3px solid #B42318; background: #FBEFEE; border-radius: 0 6px 6px 0; font-size: 14px; font-weight: 600; line-height: 1.35; color: #8C1D13; }
.lm-pc-erreur:empty { display: none; }
.lm-pc .uk-button:focus-visible, .lm-pc-corbeille:focus-visible { outline: 2px solid #26292C; outline-offset: 2px; }
.lm-pc-corbeille { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid #E4E1DB; border-radius: 8px; background: #fff; color: #2F5B7C; cursor: pointer; }
.lm-pc-corbeille:hover { background: #4A7295; border-color: #4A7295; color: #fff; }
.lm-pc-corbeille svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lm-pc-fieldset { border: 0; margin: 0 0 12px; padding: 0; min-width: 0; }
.lm-pc-fieldset legend { font-weight: 700; font-size: 14px; padding: 0; margin-bottom: 6px; }
.lm-pc-rangee { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-end; margin: 0 0 4px; }
.lm-pc-g-nom { flex: 3 1 220px; }
.lm-pc-g-reg { flex: 1 1 150px; }
.lm-pc-fmt-ligne { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-end; padding: 0 0 10px; }
.lm-pc-fmt-t { font-weight: 700; font-size: 14px; padding-bottom: 12px; }
.lm-pc-g-fmt { flex: 0 1 190px; }
#lm-pc .lm-pc-pieces { width: 100%; min-width: 0; max-width: 100%; border-collapse: collapse; }
#lm-pc .lm-pc-pieces thead, #lm-pc .lm-pc-pieces thead tr, #lm-pc .lm-pc-pieces thead th { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); padding: 0; border: 0; }
#lm-pc .lm-pc-pieces tbody { display: block; }
#lm-pc .lm-pc-pieces tbody tr.lm-pc-rang { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: flex-end; padding: 12px 0; border-top: 1px solid #E4E1DB; }
#lm-pc .lm-pc-pieces tbody tr.lm-pc-rang:first-child { border-top: 0; }
#lm-pc .lm-pc-pieces tbody tr.lm-pc-fmt { display: block; border-top: 0; }
#lm-pc .lm-pc-pieces td { display: block; padding: 0; border: 0; background: transparent; box-shadow: none; min-width: 0; }
#lm-pc .lm-pc-pieces tr, #lm-pc .lm-pc-pieces tbody tr:nth-child(n) { background: transparent; }
#lm-pc .lm-pc-pieces .c-desc { flex: 3 1 180px; order: 1; }
#lm-pc .lm-pc-pieces .c-ret { flex: 0 0 44px; order: 20; margin-left: auto; }
#lm-pc .lm-pc-pieces .c-mat { flex: 3 1 200px; order: 3; }
#lm-pc .lm-pc-pieces .c-ep { flex: 1 1 96px; order: 4; }
#lm-pc .lm-pc-pieces .c-lon, #lm-pc .lm-pc-pieces .c-lar { flex: 1 1 84px; order: 5; }
#lm-pc .lm-pc-pieces .c-qte { flex: 0 1 70px; order: 6; }
#lm-pc .lm-pc-pieces .c-fil { flex: 1 1 96px; order: 7; }
#lm-pc .lm-pc-pieces .c-ch { flex: 0 1 84px; order: 8; }
#lm-pc .lm-pc-pieces .lm-pc-et { font-size: 13px; margin-bottom: 2px; }
#lm-pc .lm-pc-pieces .lm-pc-erreur { font-size: 13px; padding: 4px 8px; }
@container lmpc (min-width: 640px) {
  #lm-pc .lm-pc-pieces .c-desc { order: 1; }
  .lm-pc-champ input[type="text"], .lm-pc-champ select { height: 38px; font-size: 15px; }
  .lm-pc-corbeille { width: 38px; height: 38px; }
  #lm-pc .lm-pc-pieces .c-ret { flex: 0 0 38px; }
  #lm-pc .lm-pc-pieces .c-desc { flex: 3 1 110px; }
  #lm-pc .lm-pc-pieces .c-mat { flex: 3 1 150px; }
  #lm-pc .lm-pc-pieces .c-ep { flex: 1 1 76px; }
  #lm-pc .lm-pc-pieces .c-lon, #lm-pc .lm-pc-pieces .c-lar { flex: 1 1 68px; }
  #lm-pc .lm-pc-pieces .c-qte { flex: 0 1 52px; }
  #lm-pc .lm-pc-pieces .c-fil { flex: 1 1 76px; }
  #lm-pc .lm-pc-pieces .c-ch { flex: 0 1 60px; }
  .lm-pc-champ select { padding-left: 6px; padding-right: 2px; }
  #lm-pc .lm-pc-pieces .lm-pc-champ input[type="text"] { padding: 0 6px; }
}
@media (pointer: coarse) {
  .lm-pc-champ input[type="text"], .lm-pc-champ select { height: 44px; font-size: 16px; }
  .lm-pc-corbeille { width: 44px; height: 44px; }
  #lm-pc .lm-pc-pieces .c-ret { flex: 0 0 44px; }
}
@container lmpc (min-width: 1100px) {
  #lm-pc .lm-pc-pieces thead { position: static; width: auto; height: auto; overflow: visible; clip: auto; display: table-header-group; }
  #lm-pc .lm-pc-pieces thead tr { position: static; width: auto; height: auto; overflow: visible; clip: auto; display: table-row; }
  #lm-pc .lm-pc-pieces thead th { position: static; width: auto; height: auto; overflow: visible; clip: auto; padding: 0 8px 6px 0; border-bottom: 1.5px solid #26292C; text-align: left; font-size: 14px; font-weight: 700; }
  #lm-pc .lm-pc-pieces thead th:last-child { white-space: nowrap; padding-right: 0; }
  #lm-pc .lm-pc-pieces tbody { display: table-row-group; }
  #lm-pc .lm-pc-pieces tbody tr.lm-pc-rang, #lm-pc .lm-pc-pieces tbody tr.lm-pc-fmt { display: table-row; padding: 0; border-top: 0; }
  #lm-pc .lm-pc-pieces td { display: table-cell; padding: 8px 8px 8px 0; vertical-align: bottom; border-bottom: 1px solid #E4E1DB; }
  #lm-pc .lm-pc-pieces tr.lm-pc-fmt td { border-bottom: 1px solid #E4E1DB; }
  #lm-pc .lm-pc-pieces td > .lm-pc-champ > .lm-pc-et { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  #lm-pc .lm-pc-pieces .c-desc { width: 20%; min-width: 150px; }
  #lm-pc .lm-pc-pieces .c-mat { width: 25%; min-width: 220px; }
  #lm-pc .lm-pc-pieces .c-ep { width: 98px; }
  #lm-pc .lm-pc-pieces .c-lon, #lm-pc .lm-pc-pieces .c-lar { width: 86px; }
  #lm-pc .lm-pc-pieces .c-qte { width: 62px; }
  #lm-pc .lm-pc-pieces .c-fil { width: 96px; }
  #lm-pc .lm-pc-pieces .c-ch { width: 72px; }
  #lm-pc .lm-pc-pieces .c-ret { width: 66px; text-align: right; white-space: nowrap; }
}
.lm-pc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
@media (max-width: 420px) { .lm-pc-actions .uk-button { flex: 1 1 100%; } }
.lm-pc-exemple-note { margin: 12px 0 0; }
.lm-pc-etat { margin: 8px 0 0; min-height: 22px; font-size: 14px; color: #5B5A57; }
.lm-pc-perime { margin: 16px 0 0; padding: 10px 14px; border: 1px solid #E4E1DB; border-left: 4px solid #4A7295; border-radius: 8px; background: #F7F9FB; font-size: 15px; }
.lm-pc-limite { margin: 16px 0 0; padding: 14px 16px; background: #F2F1EE; border: 1px solid #E4E1DB; border-radius: 8px; font-size: 16px; }
.lm-pc-limite p { margin: 0; }
.lm-pc-limite p + p { margin-top: 6px; }
.lm-pc-limite strong { color: #2F5B7C; }
.lm-pc-restants { margin: 8px 0 0; font-size: 14px; color: #5B5A57; }
.lm-pc-objectifs { display: grid; grid-template-columns: 1fr; gap: 10px; }
@container lmpc (min-width: 520px) { .lm-pc-objectifs { grid-template-columns: 1fr 1fr; } }
.lm-pc-obj { position: relative; display: block; padding: 10px 14px 10px 14px; border: 1px solid #E4E1DB; border-radius: 8px; background: #fff; cursor: pointer; }
.lm-pc-obj input { position: absolute; opacity: 0; width: 100%; height: 100%; left: 0; top: 0; margin: 0; cursor: pointer; }
.lm-pc-obj:has(input:checked) { border: 2px solid #4A7295; padding: 9px 13px; background: #F7F9FB; }
.lm-pc-obj:has(input:focus-visible) { outline: 2px solid #26292C; outline-offset: 2px; }
.lm-pc-obj-t { display: block; font-weight: 700; }
.lm-pc-obj-t span { font-weight: 400; color: #5B5A57; font-size: 14px; }
.lm-pc-obj-r { display: block; margin-top: 2px; font-size: 15px; }
.lm-pc-cles { display: grid; grid-template-columns: 1fr auto; gap: 0; margin: 0 0 12px; font-size: 16px; }
.lm-pc-cles dt, .lm-pc-cles dd { margin: 0; padding: 6px 0; border-bottom: 1px solid #E4E1DB; }
.lm-pc-cles dt { color: #5B5A57; padding-right: 16px; }
.lm-pc-cles dd { font-weight: 700; text-align: right; white-space: nowrap; }
.lm-pc-mat-titre { margin: 24px 0 6px; font-size: 18px; font-weight: 700; }
.lm-pc-impossibles { margin: 12px 0; padding: 10px 14px; border: 1px solid #E4E1DB; border-left: 4px solid #B42318; border-radius: 8px; background: #fff; font-size: 15px; }
.lm-pc-impossibles ul { margin: 6px 0 0; padding-left: 20px; }
.lm-pc-feuille { margin: 18px 0 30px; padding: 12px 14px 14px; border: 1px solid #E4E1DB; border-radius: 8px; background: #fff; }
.lm-pc-feuille-tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 14px; margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px solid #E4E1DB; }
.lm-pc-feuille-t { font-weight: 700; font-size: 16px; margin: 0; }
.lm-pc-feuille-m { font-size: 14px; color: #5B5A57; }
.lm-pc-schema { max-width: 1000px; }
.lm-pc-schema svg { display: block; width: 100%; height: auto; font-family: "Nunito Sans", Arial, sans-serif; }
.lm-pc-schema-bas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin: 4px 0 8px; }
.lm-pc-schema-bas .uk-button { min-height: 44px; }
.lm-pc-legende { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 4px 0 0; padding: 0; list-style: none; font-size: 13px; color: #5B5A57; }
.lm-pc-legende li { display: inline-flex; align-items: center; gap: 6px; }
.lm-pc-legende svg { width: 26px; height: 14px; }
#lm-pc .lm-pc-liste { width: 100%; min-width: 0; max-width: 100%; border-collapse: collapse; margin: 8px 0 0; font-size: 15px; }
#lm-pc .lm-pc-liste th { border: 0; background: transparent; color: #26292C; text-align: left; padding: 5px 8px 5px 0; border-bottom: 1.5px solid #26292C; font-weight: 700; font-size: 14px; }
#lm-pc .lm-pc-liste td { border: 0; background: transparent; padding: 6px 8px 6px 0; border-bottom: 1px solid #E4E1DB; vertical-align: top; }
#lm-pc .lm-pc-liste .n, #lm-pc .lm-pc-liste th.n { text-align: center; }
#lm-pc .lm-pc-liste .c { width: 38px; }
#lm-pc .lm-pc-liste td strong { color: #2F5B7C; }
#lm-pc .lm-pc-liste small { display: block; color: #5B5A57; font-size: 13px; }
#lm-pc .lm-pc-liste input[type="checkbox"] { width: 22px; height: 22px; margin: 0; accent-color: #4A7295; }
#lm-pc .lm-pc-liste tr.fait td, #lm-pc .lm-pc-ordre-liste li.fait span.t { color: #8A8780; text-decoration: line-through; }
.lm-pc-ordre { margin: 12px 0 0; }
.lm-pc-ordre > summary { font-weight: 700; font-size: 16px; cursor: pointer; min-height: 32px; }
.lm-pc-ordre-liste { list-style: none; margin: 8px 0 0; padding: 0; font-size: 15px; }
.lm-pc-ordre-liste li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; border-bottom: 1px solid #E4E1DB; }
.lm-pc-ordre-liste input[type="checkbox"] { width: 22px; height: 22px; margin: 0; flex: none; accent-color: #4A7295; }
.lm-pc-garder { margin: 24px 0 0; }
.lm-pc-option { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; }
.lm-pc-option input { width: 22px; height: 22px; margin: 0; accent-color: #4A7295; }
.lm-pc-option label { cursor: pointer; }
.lm-pc-garder p { margin: 8px 0 0; font-size: 14px; color: #5B5A57; }
.lm-pc-fenetre { padding: 0; border: 1px solid #E4E1DB; border-radius: 8px; max-width: min(92vw, 560px); color: #26292C; font-family: "Nunito Sans", system-ui, sans-serif; }
.lm-pc-fenetre::backdrop { background: rgba(38, 41, 44, 0.45); }
.lm-pc-fenetre-corps { padding: 18px 20px 20px; }
.lm-pc-fenetre h2 { margin: 0 0 8px; font-family: Kreon, Georgia, serif; font-size: 22px; color: #2F5B7C; font-weight: 600; }
.lm-pc-fenetre p { margin: 0 0 14px; }
.lm-pc-fenetre-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.lm-pc-agrandi { max-width: 96vw; max-height: 94vh; width: 96vw; }
.lm-pc-agrandi .lm-pc-fenetre-corps { overflow: auto; max-height: 90vh; padding: 12px 14px 16px; }
.lm-pc-agrandi svg { display: block; width: 1500px; max-width: none; height: auto; font-family: "Nunito Sans", Arial, sans-serif; }
.lm-pc-plein { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; border: 0; border-radius: 0; padding: 0; background: #fff; color: #26292C; }
.lm-pc-plein::backdrop { background: #fff; }
.lm-pc-plein-tete { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 56px; padding: 0 20px; background: #fff; border-bottom: 1px solid #E4E1DB; }
.lm-pc-plein-tete img { height: 34px; width: auto; display: block; }
.lm-pc-plein-t { display: flex; align-items: center; gap: 16px; font-family: Kreon, Georgia, serif; font-size: 20px; color: #2F5B7C; font-weight: 600; margin: 0; }
.lm-pc-plein-corps { padding: 12px 20px 40px; overflow-wrap: anywhere; }
.lm-pc-plein .lm-pc { max-width: none; }
.lm-pc-plein-btn { display: none; }
@media (min-width: 960px) { .lm-pc-plein-btn { display: inline-block; } }
.lm-pc-plein .lm-pc-plein-btn { display: none; }
html.lm-pc-verrou { overflow: hidden; }
.lm-pc-haut { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 8px; }
#lm-pc-impression { display: none; }
@media print {
  @page { margin: 15mm; }
  html.lm-pc-impression body > *:not(#lm-pc-impression) { display: none !important; }
  html.lm-pc-impression dialog { display: none !important; }
  html.lm-pc-impression #lm-pc-impression { display: block !important; }
  html.lm-pc-impression body { background: #fff !important; margin: 0 !important; }
}
#lm-pc-impression { font-family: "Nunito Sans", Arial, sans-serif; color: #000; font-size: 10pt; line-height: 1.35; padding-bottom: 12mm; }
#lm-pc-impression * { box-sizing: border-box; color: #000; }
.lm-pc-i-tete { display: flex; align-items: center; justify-content: space-between; border-bottom: 1.5pt solid #000; padding-bottom: 3mm; margin-bottom: 4mm; }
.lm-pc-i-tete img { height: 14mm; width: auto; display: block; }
.lm-pc-i-slogan { font-size: 9pt; margin: 0; text-align: right; }
.lm-pc-i-titre { font-family: Kreon, Georgia, serif; font-size: 22pt; margin: 0 0 1mm; font-weight: 600; }
.lm-pc-i-meta { margin: 0 0 4mm; font-size: 10pt; }
.lm-pc-i-h { font-family: Kreon, Georgia, serif; font-size: 13pt; margin: 5mm 0 1.5mm; font-weight: 600; }
.lm-pc-i-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 0 8mm; }
.lm-pc-i-liste { list-style: none; margin: 0; padding: 0; }
.lm-pc-i-liste li { padding: 0.6mm 0; }
.lm-pc-i-table { width: 100%; border-collapse: collapse; font-size: 10pt; }
.lm-pc-i-table th { text-align: left; border-bottom: 1pt solid #000; padding: 1mm 2mm 1mm 0; font-weight: 700; }
.lm-pc-i-table td { padding: 1.2mm 2mm 1.2mm 0; border-bottom: 0.4pt solid #666; vertical-align: top; }
.lm-pc-i-table thead { display: table-header-group; }
.lm-pc-i-table tr { break-inside: avoid; page-break-inside: avoid; }
.lm-pc-i-table .n { text-align: center; }
.lm-pc-i-table small { display: block; font-size: 8.5pt; }
.lm-pc-case { display: inline-block; width: 4mm; height: 4mm; border: 0.8pt solid #000; vertical-align: middle; }
.lm-pc-i-note { margin-top: 5mm; border: 1pt solid #000; padding: 2.5mm 3mm; font-size: 9.5pt; break-inside: avoid; }
.lm-pc-i-feuille { break-before: page; page-break-before: always; }
.lm-pc-i-feuille h2 { font-family: Kreon, Georgia, serif; font-size: 16pt; margin: 0 0 1mm; font-weight: 600; }
.lm-pc-i-feuille .meta { font-size: 10pt; margin: 0 0 3mm; }
.lm-pc-i-feuille svg { display: block; width: 100%; height: auto; font-family: "Nunito Sans", Arial, sans-serif; }
.lm-pc-i-legende { display: flex; gap: 6mm; font-size: 8.5pt; margin: 1.5mm 0 0; }
.lm-pc-i-legende svg { width: 9mm; height: 4mm; display: inline-block; vertical-align: middle; }
.lm-pc-i-pied { position: fixed; left: 0; right: 0; bottom: 0; border-top: 0.6pt solid #000; padding-top: 1.5mm; font-size: 8pt; display: flex; justify-content: space-between; gap: 6mm; background: #fff; }
@media (scripting: enabled) {
  #lm-pc[data-lm-pc="1"] { min-height: 600px; }
}
@media (scripting: enabled) and (max-width: 640px) {
  #lm-pc[data-lm-pc="1"] { min-height: 800px; }
}
#lm-pc .lm-pc-liste tr, #lm-pc .lm-pc-liste tbody tr:nth-child(n) { background: transparent; }
