/* AS: compact professional worksheet, independent from the historical AR questionnaire. */
body.vm-as-page { margin: 0; padding: 0; background: #f4f3de; color: #332b20; font: 15px/1.5 Arial,sans-serif; }
body.vm-as-page * { box-sizing: border-box; }
.vm-as-top { width: min(1100px,calc(100% - 32px)); margin: 24px auto 16px; }
.vm-as-top a { color: #2f647c; }
.vm-as-top h1 { margin: 14px 0 8px; font: 700 clamp(24px,4vw,34px)/1.2 Montserrat,Arial,sans-serif; }
.vm-as-top p { margin: 0 0 12px; max-width: 850px; }
.vm-as-tools { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; }
.vm-as-tools :is(a,button) { min-height: 44px; padding: 11px 16px; border: 1px solid #2f647c; border-radius: 5px; background: #2f647c; color: #fffdf4; font: 700 13px/1.5 Arial,sans-serif; text-decoration: none; cursor: pointer; }
.vm-as-tools a { color: #2f647c; background: transparent; }
.vm-as-hint { font-size: 13px; color: #655b4e; }
.vm-as-viewport { width: min(1100px,calc(100% - 32px)); max-width: 100%; overflow-x: auto; margin: 0 auto 32px; padding-bottom: 10px; }
.vm-as-viewport:focus-visible { outline: 2px solid #2f647c; outline-offset: 4px; }
.vm-as-sheet { position: relative; min-width: 900px; width: 100%; padding: 22px; background: #fff; color: #111; border: 1px solid #9b9b9b; }
.vm-as-sheet :is(input,textarea) { display: block; width: 100%; min-width: 0; padding: 3px 5px; border: 0; border-radius: 0; background: transparent; color: #111; font: 12px/1.35 Arial,sans-serif; resize: vertical; }
.vm-as-sheet input { min-height: 25px; }
.vm-as-sheet textarea { min-height: 42px; }
.vm-as-sheet :is(input,textarea):focus-visible { outline: 2px solid #2f647c; outline-offset: -2px; background: #fffdf4; }
.vm-as-sheet-title { display: grid; grid-template-columns: 1fr 190px; border: 1px solid #333; }
.vm-as-sheet-title > div { min-width: 0; padding: 8px 10px; }
.vm-as-sheet-title > div:first-child { background: #ededed; border-right: 1px solid #333; }
.vm-as-sheet-title h2 { margin: 0; font: 700 21px/1.2 Arial,sans-serif; letter-spacing: .02em; }
.vm-as-sheet-title p { margin: 4px 0 0; font-size: 10px; }
.vm-as-identification { display: grid; grid-template-columns: 2.2fr 1fr 1fr; border-left: 1px solid #333; border-top: 0; }
.vm-as-box { min-width: 0; border-right: 1px solid #333; border-bottom: 1px solid #333; }
.vm-as-box > label { display: block; padding: 4px 6px 0; color: #333; font: 700 10px/1.3 Arial,sans-serif; }
.vm-as-description { border-left: 1px solid #333; }
.vm-as-description textarea { min-height: 48px; }
.vm-as-panels { display: grid; grid-template-columns: 58% 42%; border-left: 1px solid #333; }
.vm-as-panels > div { min-width: 0; }
.vm-as-grid { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 0; color: #111; font: 11px/1.3 Arial,sans-serif; }
.vm-as-grid :is(th,td) { min-width: 0; padding: 0; border-right: 1px solid #333; border-bottom: 1px solid #777; vertical-align: top; overflow-wrap: anywhere; }
.vm-as-grid thead th { height: 42px; padding: 7px 5px; text-align: center; background: #ededed; border-bottom: 1px solid #333; font: 700 10px/1.3 Arial,sans-serif; }
.vm-as-denrees td { height: 30px; }
.vm-as-denrees input { min-height: 29px; }
.vm-as-phases td { height: 60px; }
.vm-as-phases textarea { height: 59px; min-height: 59px; padding-top: 6px; }
.vm-as-phases input { min-height: 59px; }
.vm-as-bottom { display: grid; grid-template-columns: 1fr 1fr; border-left: 1px solid #333; }
.vm-as-bottom .vm-as-box > label { background: #ededed; padding-bottom: 4px; border-bottom: 1px solid #777; }
.vm-as-bottom textarea { min-height: 54px; }
.vm-as-foot { display: grid; grid-template-columns: 1fr 1fr 2.1fr; border-left: 1px solid #333; }
.vm-as-foot textarea { min-height: 46px; }
.vm-as-sheet-note { margin: 10px 0 0; font: 10px/1.4 Arial,sans-serif; }
.vm-as-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.vm-as-print { display: none; }
body.single-post .entry-content .vm-ar .vm-as-sheet-thumbnail { display: block; width: min(400px,100%); max-width: 100%; height: auto; margin: 18px auto; border: 1px solid #c3b9a8; background: #fff; }
body.single-post .entry-content .vm-ar .vm-as-sheet-thumbnail img { display: block; width: 100%; max-width: 100%; height: auto; }
body.single-post .entry-content .vm-ar .vm-as-quick-download { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 18px 0 26px; }
body.single-post .entry-content .vm-ar .vm-as-quick-download > a { font-size: 14px; }
body.single-post .entry-content .vm-ar #ar-exemple .vm-ar-table-wrap { overflow-x: auto; }
body.single-post .entry-content .vm-ar #ar-exemple .vm-as-costs-table { min-width: 650px; }
body.single-post .entry-content .vm-ar #ar-exemple .vm-as-costs-table th:first-child { width: 38%; }
body.single-post .entry-content .vm-ar #ar-exemple .vm-as-method-table { min-width: 0; table-layout: fixed; }
body.single-post .entry-content .vm-ar #ar-exemple .vm-as-method-table th:first-child { width: 10%; }
body.single-post .entry-content .vm-ar #ar-exemple .vm-as-method-table th:last-child { width: 16%; }
body.single-post .entry-content .vm-ar #ar-exemple .vm-ar-table-wrap:focus-visible { outline: 2px solid #2f647c; outline-offset: 3px; }
body.single-post .entry-content .vm-ar .vm-as-table-hint { margin: 8px 0; color: #655b4e; font-size: 14px; }
body.single-post .entry-content .vm-ar #ar-exemple .vm-ar-table :is(th,td):not(:first-child) { font-variant-numeric: tabular-nums; }
@media (max-width:767px) {
  .vm-as-top { margin-top: 18px; }
  .vm-as-top h1 { font-size: 26px; }
  .vm-as-tools :is(a,button) { flex: 1 1 170px; text-align: center; }
  .vm-as-sheet { padding: 16px; }
}
@media print {
  @page { size: A4; margin: 10mm; }
  body.vm-as-page { background: #fff; margin: 0; padding: 0; }
  .vm-as-top { display: none !important; }
  .vm-as-viewport { width: 100%; max-width: none; overflow: visible; margin: 0; padding: 0; }
  .vm-as-sheet { min-width: 0; width: 100%; padding: 0; border: 0; }
  .vm-as-sheet-title { grid-template-columns: 1fr 130px; }
  .vm-as-sheet-title h2 { font-size: 16pt; }
  .vm-as-sheet-title > div { padding: 5px 7px; }
  .vm-as-identification { grid-template-columns: 2.2fr 1fr 1fr; }
  .vm-as-sheet .vm-as-grid thead th { font-size: 7.5pt; padding: 5px 3px; }
  .vm-as-sheet .vm-as-box > label { font-size: 7pt; }
  .vm-as-sheet :is(input,textarea) { display: none !important; }
  .vm-as-print { display: block; min-height: 15px; padding: 3px 4px; white-space: pre-wrap; overflow-wrap: anywhere; font: 8pt/1.3 Arial,sans-serif; color: #111; }
  .vm-as-print.vm-as-long { min-height: 34px; }
  .vm-as-denrees td { height: 22px; }
  .vm-as-phases td { height: 44px; }
  .vm-as-phases .vm-as-print { min-height: 43px; }
  .vm-as-grid tr { break-inside: avoid; }
  .vm-as-sheet-note { font-size: 7pt; }
}
