/* Laser SVG Checker & Fixer, Laser Test Card, Name Ornament: tool-specific CSS on top of the kit's app design
   system (_kit/src/styles/app.css, injected on /app/* by the kit). Layout, panels, fields, buttons, results,
   preview, Pro card and action bar come from the kit's .mk-* classes; this file only adds what is particular to
   these tools, on the kit's tokens. Preview drawings keep their meaning colours (cut red, score blue, engrave
   black, wood = material) on white paper. The free-files form (freebies.js) lives on a marketing page, outside app
   mode, and keeps its own block at the end on the theme's tokens. */

/* ---------- shared: preview drawing ---------- */
.lc { --lc-cut: #e0261b; --lc-score: #1f5fd6; --lc-eng: #2b2b2b; --lc-wood: #ecd3a8; --lc-mark: #c2187a; }
.lc .lc-paper { width: 100%; max-width: 880px; padding: var(--mk-s-3); }
.lc .lc-svg { display: block; width: 100%; height: auto; max-height: calc(100dvh - var(--mk-head-h) - 240px); min-height: 200px; }
.lc .lc-mat path { fill: var(--lc-wood); stroke: none; }
.lc .lc-eng path { fill: var(--lc-eng); opacity: 0.85; }
.lc .lc-cut path { fill: none; stroke: var(--lc-cut); stroke-width: 1.2px; }
.lc .lc-score path { fill: none; stroke: var(--lc-score); stroke-width: 1.2px; }
.lc .lc-unk path { fill: none; stroke: #7a7a7a; stroke-width: 1.5px; stroke-dasharray: 4 3; }
.lc .lc-mark .lc-mark-line { fill: none; stroke: var(--lc-mark); stroke-width: 3.5px; opacity: 0.85; }
.lc .lc-mark .lc-mark-area { fill: var(--lc-mark); fill-opacity: 0.4; stroke: var(--lc-mark); stroke-width: 2px; }
.lc .lc-mark .lc-mark-span { fill: none; stroke: var(--lc-mark); stroke-width: 3px; }
.lc .lc-mark-ok .lc-mark-area { fill: #17613f; fill-opacity: 0.3; stroke: #17613f; }
.lc .lc-pin circle { fill: var(--lc-mark); stroke: #fff; stroke-width: 0.6; }
.lc .lc-pin text { fill: #fff; font-weight: 700; font-family: var(--mk-font); }
.lc .lc-mark { transition: opacity var(--mk-fast) var(--mk-ease); }
.lc .lc-mark.lc-dim { opacity: 0.15; }
.lc .lc-spots .lc-spot { fill: none; stroke: var(--lc-mark); stroke-width: 3px; }
.lc .lc-nomarks .lc-marks, .lc .lc-nomarks .lc-spots, .lc .lc-nomarks .lc-tags { display: none; }
/* the exact problem spot: a thin strip or slit tinted solid, a gap's two ends, a crossing ringed; its contour only as context */
.lc .lc-mark .lc-mark-area.lc-mark-hot { fill-opacity: 0.75; stroke-width: 2.5px; }
.lc .lc-mark .lc-mark-line.lc-mark-ctx { stroke-width: 2px; opacity: 0.45; stroke-dasharray: 4 3; }
.lc .lc-mark .lc-mark-gap { fill: none; stroke: var(--lc-mark); stroke-width: 4px; stroke-linecap: round; }
.lc .lc-mark .lc-mark-end { fill: #fff; stroke: var(--lc-mark); stroke-width: 0.5; }
.lc .lc-mark .lc-mark-ring { fill: none; stroke: var(--lc-mark); stroke-width: 2.5px; }
/* "0.8 mm · needs 1.5 mm" beside the pin */
.lc .lc-tag rect { fill: #fff; stroke: var(--lc-mark); stroke-width: 0.35; fill-opacity: 0.95; }
.lc .lc-tag text { fill: var(--lc-mark); font-weight: 700; font-family: var(--mk-font); }
.lc .lc-tag { transition: opacity var(--mk-fast) var(--mk-ease); pointer-events: none; }
.lc .lc-tag.lc-dim { opacity: 0.15; }
/* legend swatches in the meaning colours */
.lc .lc-k-cut { color: var(--mk-text-2); } .lc .lc-k-cut .mk-swatch { color: var(--lc-cut); }
.lc .lc-k-score .mk-swatch { color: var(--lc-score); }
.lc .lc-k-eng .mk-swatch { color: var(--lc-eng); }
.lc .lc-k-mat .mk-swatch { color: #d6b47c; }
.lc .lc-k-mark .mk-swatch { color: var(--lc-mark); }
.lc .mk-preview__tools { flex-wrap: wrap; gap: var(--mk-s-2); }
.lc .mk-preview__tools .mk-switch { min-height: 36px; font-size: var(--mk-fs-sm); color: var(--mk-text-2); }
.lc .mk-preview__tools .mk-seg > button { min-height: 30px; font-size: var(--mk-fs-sm); }
.lc .mk-preview__stage > .mk-paper { justify-self: stretch; margin: 0 auto; }
.lc .lc-sub { margin: 0; font: 600 var(--mk-fs-md)/1.3 var(--mk-font) !important; }
.lc .lc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lc .mk-note[hidden], .lc [hidden] { display: none !important; }
.lc .lc-savebar { margin: 0; font-size: var(--mk-fs-sm); color: var(--mk-text-2); }
.lc .lc-link { font: inherit; background: none; border: 0; padding: 0; min-height: 32px; color: var(--mk-accent-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lc .lc-small { color: var(--mk-text-3); }
.lc fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.lc legend { padding: 0; margin-bottom: 6px; font: 500 var(--mk-fs-sm)/1.3 var(--mk-font); color: var(--mk-text); }

/* ---------- checker ---------- */
.lc-checker .lc-filecard .mk-btn { flex: none; }
.lc-checker .lc-drop.mk-drop--compact .mk-drop__icon { width: 32px; height: 32px; }
.lc-checker .lc-drop.mk-drop--compact .mk-drop__title { margin: 0; font-size: var(--mk-fs-md); }
.lc-checker .lc-status:empty { display: none; }
.lc-checker .lc-settings .mk-switch { font-size: var(--mk-fs-sm); }
.lc-checker .lc-results:empty { display: none; }
.lc-checker .lc-result { display: flex; flex-direction: column; gap: var(--mk-s-1); }
.lc-checker .lc-result .mk-summary { margin-bottom: var(--mk-s-0); }
.lc-checker .mk-diag__item .lc-detail { overflow-wrap: anywhere; }
.lc-checker .mk-diag__item .lc-why { font-size: var(--mk-fs-xs); color: var(--mk-text-3); }
.lc-checker .lc-issues li > .lc-service { margin: var(--mk-s-0) 0 0 var(--mk-s-3); font-size: var(--mk-fs-xs); color: var(--mk-text-3); }
.lc-checker .lc-service a { color: var(--mk-accent-ink); text-underline-offset: 3px; }
.lc-checker .lc-pinchip {
  display: inline-grid; place-items: center; flex: none; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px;
  background: var(--lc-mark); color: #fff; font: 700 var(--mk-fs-xs)/1 var(--mk-font);
}
.lc-checker .lc-all { margin-top: var(--mk-s-0); }
.lc-checker .lc-all .mk-diag__item { padding: var(--mk-s-1) var(--mk-s-2); }
.lc-checker .lc-report-fixed { align-self: flex-start; }
.lc-checker .lc-actions .mk-btn--lg { min-height: 44px; }
.lc-checker .lc-actions .lc-report { flex: 0 0 auto; }
@media (max-width: 1023px) {
  .lc-checker .lc-actions { gap: 6px var(--mk-s-1); }
  .lc-checker .lc-actions > .mk-btn { min-width: 0; padding: 0 var(--mk-s-2); }
  .lc-checker .lc-actions > .lc-primary { flex: 1 1 auto; }
  .lc-checker .lc-actions .mk-actions__more > .mk-btn { min-height: 32px; }
}
/* D-120 phase 2: sample cards, verdict -> drawing -> what we fix -> actions -> details, tour */
.lc-checker .lc-cards { display: flex; flex-direction: column; gap: var(--mk-s-1); }
.lc-checker .lc-cards__label { margin: 0; font-size: var(--mk-fs-sm); color: var(--mk-text-2); }
.lc-checker .lc-cards__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--mk-s-1); }
.lc-checker .lc-card {
  display: flex; align-items: center; gap: var(--mk-s-1); min-height: 64px; min-width: 0; padding: 6px var(--mk-s-1);
  border: 1px solid var(--mk-border); border-radius: var(--mk-r-lg); background: var(--mk-surface); color: var(--mk-text);
  font: inherit; text-align: left; cursor: pointer; transition: border-color var(--mk-fast) var(--mk-ease), background-color var(--mk-fast) var(--mk-ease);
}
.lc-checker .lc-card:hover { border-color: var(--mk-accent); background: var(--mk-accent-soft); }
.lc-checker .lc-card:focus-visible { outline: none; box-shadow: var(--mk-ring); }
.lc-checker .lc-card__img { flex: none; width: 48px; height: 48px; padding: 3px; border-radius: var(--mk-r-md); background: #fff; border: 1px solid var(--mk-border); object-fit: contain; }
.lc-checker .lc-card__text { display: flex; flex-direction: column; min-width: 0; }
.lc-checker .lc-card__text strong { font: 600 var(--mk-fs-sm)/1.25 var(--mk-font); }
.lc-checker .lc-card__text small { font-size: var(--mk-fs-xs); line-height: 1.3; color: var(--mk-text-3); }
.lc-checker .mk-drop--compact ~ .lc-cards .lc-card { min-height: 52px; }
.lc-checker .mk-drop--compact ~ .lc-cards .lc-card__img { width: 36px; height: 36px; }
.lc-checker .lc-verdicthost:empty, .lc-checker .lc-outcomehost:empty { display: none; }
.lc-checker .lc-verdicthost .mk-summary { margin: 0; }
.lc-checker .lc-heard { display: block; margin-top: 2px; font-size: var(--mk-fs-xs); color: var(--mk-text-3); font-style: italic; }
.lc-checker .lc-issues .mk-diag__item, .lc-checker .lc-oc__manual li { scroll-margin: 72px 0 112px; }
.lc-checker .lc-empty { gap: var(--mk-s-2); }
.lc-checker .lc-empty__art { position: relative; display: block; width: 150px; opacity: 0.55; }
.lc-checker .lc-empty__art img { display: block; width: 100%; height: auto; }
.lc-checker .lc-empty__pin { position: absolute; left: 47%; top: 76%; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--lc-mark); color: #fff; font: 700 12px/1 var(--mk-font); box-shadow: 0 0 0 3px rgb(194 24 122 / 25%); }
.lc-checker .lc-try { min-height: 44px; }
/* the outcome card: what we fix | what only you can change */
.lc-checker .lc-outcome { display: flex; flex-direction: column; gap: var(--mk-s-2); padding: var(--mk-s-3); }
.lc-checker .lc-oc { margin: 0; }
.lc-checker .lc-oc__title { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font: 600 var(--mk-fs-lg)/1.3 var(--mk-font) !important; color: var(--mk-text); }
.lc-checker .lc-oc--fix .lc-oc__ico { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--mk-accent-soft); color: var(--mk-accent-ink); }
.lc-checker .lc-oc--fix[data-done='true'] .lc-oc__ico { background: var(--mk-ok-bg); color: var(--mk-ok); }
.lc-checker .lc-oc__list { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: 4px; font-size: var(--mk-fs-sm); }
.lc-checker .lc-oc__fixes { list-style: none; padding-left: 0; }
.lc-checker .lc-oc__fixes li { position: relative; padding-left: 22px; }
.lc-checker .lc-oc__fixes li::before { content: ''; position: absolute; left: 4px; top: 0.45em; width: 10px; height: 5px; border: solid var(--mk-ok); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.lc-checker .lc-oc--fix[data-done='false'] .lc-oc__fixes li::before { border-color: var(--mk-accent); }
.lc-checker .lc-oc__sub { margin: 4px 0 0; color: var(--mk-text-3); }
.lc-checker .lc-oc--manual { padding-top: var(--mk-s-2); border-top: 1px solid var(--mk-border); }
.lc-checker .lc-outcome > .lc-oc--manual:first-child { padding-top: 0; border-top: 0; }
.lc-checker .lc-oc--manual .lc-oc__title { color: var(--mk-warn); }
.lc-checker .lc-oc__manual li { overflow-wrap: anywhere; }
.lc-checker .lc-oc__what { color: var(--mk-text-2); }
.lc-checker .lc-oc__how { display: block; margin-top: 2px; color: var(--mk-text-2); font-size: var(--mk-fs-xs); }
.lc-checker .lc-oc--clean, .lc-checker .lc-oc--ready { padding: var(--mk-s-2); border-radius: var(--mk-r-md); background: var(--mk-ok-bg); border: 1px solid var(--mk-ok-line); color: var(--mk-text); font-size: var(--mk-fs-sm); }
.lc-checker .lc-sizepick { padding: var(--mk-s-2); border-radius: var(--mk-r-md); background: var(--mk-surface-2); border: 1px solid var(--mk-border); }
.lc-checker .lc-sizepick legend { margin-bottom: 4px; font-weight: 600; white-space: normal; }
.lc-checker .lc-sizeopt > span { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.lc-checker .lc-sizeopt { min-height: 36px; font-size: var(--mk-fs-sm); }
.lc-checker .lc-quota { margin: 0; color: var(--mk-text-3); }
.lc-checker .lc-quota:empty { display: none; }
.lc-checker .lc-quota a { color: var(--mk-accent-ink); text-underline-offset: 3px; }
.lc-checker .lc-quota .lc-link { min-height: 0; font-size: inherit; }
.lc-checker .lc-protext { color: var(--mk-text-3); font-weight: 400; }
.lc-checker .lc-fix > summary { font-weight: 600; }
/* desktop: the button bar sits right after "what we fix", never floating over the problem list */
@media (min-width: 1024px) {
  .lc-checker .lc-actions { position: static; box-shadow: none; }
}
/* phone and tablet: file, verdict, drawing, what we fix, the list, options, Pro; the bar floats with room kept */
@media (max-width: 1023px) {
  .lc-checker .lc-ws { display: flex; flex-direction: column; }
  .lc-checker .lc-ws > .mk-ws__side, .lc-checker .lc-ws > .mk-ws__main { display: contents; }
  .lc-checker .lc-filepanel { order: 1; }
  .lc-checker .lc-verdicthost { order: 2; }
  .lc-checker .lc-preview { order: 3; }
  .lc-checker .lc-results { order: 4; }
  .lc-checker .lc-outcomehost { order: 5; }
  .lc-checker .lc-fixhost { order: 6; }
  .lc-checker .lc-settings { order: 7; }
  .lc-checker .lc-pro { order: 8; }
  .lc-checker .lc-actions { order: 9; }
  .lc-checker .lc-svg { max-height: 52vh; min-height: 160px; }
  .lc-checker .lc-actions .mk-actions__more { display: none; }
  /* a file is open: "Replace" on the file card is enough; the drop zone and the sample cards step aside so the
     verdict and the drawing come up into the first screen */
  .lc-checker .lc-drop.mk-drop--compact, .lc-checker .mk-drop--compact ~ .lc-cards { display: none; }
  /* a compact numbered list under the drawing: what it means and how to fix it open on tap */
  .lc-checker .lc-issues > li:not(.is-open) > .lc-extra { display: none; }
  .lc-checker .lc-issues > li > div.mk-diag__item { cursor: pointer; }
}
.lc-checker .lc-fixhost:empty { display: none; }
/* first-run tour */
.lc .lc-tour {
  position: fixed; z-index: 2147482500; box-sizing: border-box; padding: var(--mk-s-2) var(--mk-s-3);
  background: var(--mk-text); color: var(--mk-surface); border-radius: var(--mk-r-lg); box-shadow: var(--mk-shadow-2);
  font: 400 var(--mk-fs-md)/1.45 var(--mk-font);
}
.lc .lc-tour__text { margin: 0 0 var(--mk-s-1); }
.lc .lc-tour__row { display: flex; align-items: center; gap: var(--mk-s-1); }
.lc .lc-tour__count { margin-right: auto; font-size: var(--mk-fs-xs); opacity: 0.8; }
.lc .lc-tour .lc-tour__skip { color: var(--mk-surface); min-height: 36px; }
.lc .lc-tour .lc-tour__skip:hover { background: rgb(255 255 255 / 12%); }
.lc .lc-tour .lc-tour__next { min-height: 36px; }
.lc .lc-tour-target { outline: 3px solid var(--mk-accent) !important; outline-offset: 3px; border-radius: var(--mk-r-md); position: relative; z-index: 2; }
@media (prefers-color-scheme: dark) { .lc .lc-tour { background: var(--mk-surface-3); color: var(--mk-text); } .lc .lc-tour .lc-tour__skip { color: var(--mk-text); } }

/* fixer panel */
.lc-fix .lc-fixes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--mk-s-1); }
.lc-fix .lc-fix-item { display: flex; flex-direction: column; gap: 6px; padding: var(--mk-s-2); border: 1px solid var(--mk-border); border-radius: var(--mk-r-md); background: var(--mk-surface-2); min-width: 0; }
.lc-fix .lc-fix-item > .mk-check { min-height: 24px; padding: 0; }
.lc-fix .lc-count { font-size: var(--mk-fs-sm); color: var(--mk-text-2); overflow-wrap: anywhere; padding-left: 26px; }
.lc-fix .lc-count small { display: block; color: var(--mk-text-3); font-size: var(--mk-fs-xs); }
.lc-fix .lc-count-now, .lc-fix .lc-count-after { display: block; }
.lc-fix .lc-count-after { font-weight: 600; color: var(--mk-text); }
.lc-fix .lc-dpi, .lc-fix .lc-gap, .lc-fix .lc-colours { padding-left: 26px; }
.lc-fix .lc-dpi .mk-check, .lc-batch .lc-dpi .mk-check { font-size: var(--mk-fs-sm); }
.lc-fix .lc-size { font-weight: 600; font-variant-numeric: tabular-nums; }
.lc-fix .lc-gap .mk-unit { max-width: 10rem; }
.lc .lc-colours .mk-table td { vertical-align: middle; overflow-wrap: anywhere; }
.lc .lc-colours .mk-table td:first-child { width: 32px; }
.lc .lc-colours .mk-table td:last-child { width: 44%; }
.lc .lc-colours small { color: var(--mk-text-3); }
.lc .lc-colours .mk-select { min-height: 36px; font-size: var(--mk-fs-sm); }
.lc .lc-swatch { display: inline-block; width: 20px; height: 20px; border-radius: 50%; border: 4px solid var(--sw, #999); background: #fff; vertical-align: middle; }
.lc .lc-swatch-fill { background: var(--sw, #999); border-color: rgb(0 0 0 / 15%); border-width: 1px; border-radius: 4px; }
.lc-fix .lc-fix-warn:empty { display: none; }
.lc-fix .lc-fix-warn { display: flex; flex-direction: column; gap: var(--mk-s-1); }
.lc-fix .lc-warnlist, .lc-fix .lc-manual ul { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: 6px; font-size: var(--mk-fs-sm); }
.lc-fix .lc-warnlist li, .lc-fix .lc-manual li { overflow-wrap: anywhere; }
.lc-fix .lc-at { color: var(--mk-text-2); font-family: var(--mk-font-mono); font-size: var(--mk-fs-xs); }
.lc-fix .lc-manual { color: var(--mk-text); }
.lc-fix .lc-manual__title { display: block; margin-bottom: 4px; color: var(--mk-warn); }
.lc-fix .lc-manual .lc-why { margin: 6px 0 0; font-size: var(--mk-fs-xs); color: var(--mk-text-2); }
.lc-fix .lc-fixed { display: flex; flex-direction: column; gap: var(--mk-s-1); }
.lc-fix .lc-fixed:empty { display: none; }
.lc-fix .lc-fixed:not(:empty) { padding-top: var(--mk-s-3); border-top: 1px solid var(--mk-border); }
.lc-fix .lc-fixed .lc-dl { align-self: flex-start; }
.lc-fix .mk-loading { justify-content: flex-start; padding: var(--mk-s-1) 0; }
/* Pro card: unlocked, and the batch fixer inside it */
.lc .lc-pro--on { border-color: var(--mk-ok-line); }
.lc .lc-pro--on > summary { background: var(--mk-ok-bg); }
.lc .lc-pro--on .mk-pro__crown { color: var(--mk-ok); }
.lc .lc-pro .mk-pro__keyrow .mk-input { min-width: 0; }
.lc .lc-batch { display: flex; flex-direction: column; gap: var(--mk-s-2); min-width: 0; }
.lc .lc-batch-drop { min-height: 132px; }
.lc .lc-batch .lc-status:empty { display: none; }
.lc .lc-batch-body, .lc .lc-batch-settings, .lc .lc-batch-results { display: flex; flex-direction: column; gap: var(--mk-s-2); min-width: 0; }
.lc .lc-batch-body:empty, .lc .lc-batch-results:empty { display: none; }
.lc .lc-batch-out { display: flex; flex-wrap: wrap; gap: 0 var(--mk-s-3); }
.lc .lc-batch-out legend { flex-basis: 100%; }
.lc .lc-batch-list .mk-diag__item p { overflow-wrap: anywhere; }

/* ---------- test card ---------- */
.lc.tc .tc-group { display: flex; flex-direction: column; gap: 6px; }
.lc.tc .tc-paper { max-width: 720px; }
.lc.tc .tc-svg { min-height: 0; }
/* hairline outlines (0.01 mm, for the laser) drawn visibly on screen */
.lc.tc .tc-svg path[fill='none'] { vector-effect: non-scaling-stroke; stroke-width: 1.5px; }
.lc.tc .tc-legend td:nth-child(n + 3) { font-variant-numeric: tabular-nums; }
.lc.tc .tc-legend code { font-family: var(--mk-font-mono); font-size: var(--mk-fs-xs); color: var(--mk-text-2); }
.lc.tc .tc-swatch { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; border: 1px solid rgb(0 0 0 / 15%); }
.lc.tc .tc-swatch--multi { background: conic-gradient(#00e000 0 25%, #ff8000 0 50%, #00e0e0 0 75%, #ff00ff 0); }
.lc.tc .tc-gate { display: flex; flex-direction: column; gap: var(--mk-s-2); }
.lc.tc .tc-gate .lc-status:empty { display: none; }
.lc.tc .tc-table { overflow-x: auto; }

/* ---------- name ornament ---------- */
.lc.no .no-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--mk-s-1); }
.lc.no .no-choice {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; padding: var(--mk-s-1) 6px;
  text-align: center; border: 1px solid var(--mk-border-strong); border-radius: var(--mk-r-md); background: var(--mk-surface); cursor: pointer;
  transition: border-color var(--mk-fast) var(--mk-ease), background-color var(--mk-fast) var(--mk-ease);
}
.lc.no .no-choice:hover { border-color: var(--mk-accent); }
.lc.no .no-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lc.no .no-choice:has(input:checked) { border-color: var(--mk-accent); background: var(--mk-accent-soft); box-shadow: inset 0 0 0 1px var(--mk-accent); }
.lc.no .no-choice:has(input:focus-visible) { outline: 2px solid var(--mk-accent); outline-offset: 2px; }
.lc.no .no-choice strong { font: 600 var(--mk-fs-sm)/1.25 var(--mk-font); color: var(--mk-text); }
.lc.no .no-choice small { font-size: var(--mk-fs-xs); line-height: 1.3; color: var(--mk-text-3); }
.lc.no .no-thumb { display: block; width: 100%; aspect-ratio: 1 / 1; max-height: 96px; }
.lc.no .no-thumbsvg { display: block; width: 100%; height: 100%; }
.lc.no .no-thumbsvg .no-mat { fill: var(--lc-wood); }
.lc.no .no-thumbsvg .no-cut { fill: none; stroke: var(--lc-cut); stroke-width: 0.6px; }
.lc.no .no-fontsvg { display: block; width: 100%; height: 30px; margin: 2px 0 4px; }
.lc.no .no-fontsvg path { fill: var(--mk-text); }
.lc.no .no-name { font-size: var(--mk-fs-xl); min-height: 48px; }
.lc.no .no-msg { margin: 0; }
.lc.no .no-msg:empty { display: none; }
.lc.no .mk-preview > .no-msg { border-radius: 0; border-width: 0 0 1px; padding: var(--mk-s-1) var(--mk-s-3); }
.lc.no .mk-preview > .mk-small.no-msg { color: var(--mk-text-2); }
.lc.no .no-preview { max-width: 640px; transition: opacity var(--mk-med) var(--mk-ease); }
.lc.no .no-preview.no-stale { opacity: 0.35; }
.lc.no .no-svg { display: block; width: 100%; height: auto; max-height: calc(100dvh - var(--mk-head-h) - 260px); min-height: 220px; }
.lc.no .no-svg .no-mat { fill: var(--lc-wood); }
.lc.no .no-svg .no-cut { fill: none; stroke: var(--lc-cut); stroke-width: 1.2px; }
.lc.no .no-wm text { fill: #17212b; fill-opacity: 0.28; font-family: var(--mk-font); font-weight: 600; }
.lc.no .no-facts:empty { display: none; }
.lc.no .no-check { display: flex; flex-direction: column; gap: var(--mk-s-2); }
.lc.no .no-check .mk-loading { justify-content: flex-start; padding: 0; }
.lc.no .no-rules .mk-diag__item { padding: var(--mk-s-1) var(--mk-s-2); }
.lc.no .no-rules .mk-diag__item p { font-family: var(--mk-font-mono); font-size: var(--mk-fs-xs); overflow-wrap: anywhere; }
.lc.no .no-actions .mk-btn--lg { min-height: 44px; }
@media (max-width: 1023px) { .lc.no .no-actions { gap: 6px var(--mk-s-1); } .lc.no .no-actions > .mk-btn { padding: 0 var(--mk-s-2); min-width: 0; } }
@media (max-width: 599px) { .lc.no .no-hide-sm { display: none; } }

/* the site's chat launcher (coview, #cv-widget) fades out while it would cover the results (checker-ui.js guardChat) */
#cv-widget { transition: opacity 0.2s ease, visibility 0.2s; }
#cv-widget.lc-chat-off { opacity: 0; visibility: hidden; }
@media (prefers-reduced-motion: reduce) { #cv-widget { transition: none; } }

/* ---------- Free laser files (freebies.js): a marketing page, outside app mode, on the theme's tokens ---------- */
.lc.fb { --lc-ink: var(--ink, #1c2128); --lc-mute: var(--mute, #5b6472); --lc-cream: var(--cream, #f6f7f9); --lc-line: var(--line, #e6e8ec);
  --lc-accent: var(--accent, #3d7232); --lc-accent-ink: var(--accent-ink, #fff); --lc-good-soft: var(--accent-soft, #e2eed5);
  color: var(--lc-ink); font-size: 16px; line-height: 1.5; max-width: 40rem; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
.lc.fb *, .lc.fb *::before, .lc.fb *::after { box-sizing: border-box; }
.lc.fb .lc-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.lc.fb .lc-why { margin: 6px 0 0; font-size: 0.9rem; color: var(--lc-mute); }
.lc.fb .lc-status { margin: 0; min-height: 1.5em; font-size: 0.95rem; }
.lc.fb .lc-btn { font: inherit; font-weight: 600; min-height: 44px; padding: 10px 16px; border-radius: var(--radius-sm, 8px); border: 1px solid var(--lc-accent); background: transparent; color: var(--lc-accent); cursor: pointer; }
.lc.fb .lc-btn:hover { background: var(--lc-accent); color: var(--lc-accent-ink); }
.lc.fb .lc-btn:focus-visible { outline: 2px solid var(--lc-accent); outline-offset: 2px; }
.lc.fb .tc-primary { background: var(--lc-accent); color: var(--lc-accent-ink); margin-top: 4px; }
.lc.fb .tc-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.lc.fb .tc-gate { margin-top: 0; padding: 16px; border: 1px solid var(--lc-line); border-radius: var(--radius, 14px); background: var(--lc-cream); display: grid; gap: 8px; }
.lc.fb .tc-gate label { display: grid; gap: 4px; font-weight: 600; }
.lc.fb .tc-gate label small { font-weight: 400; color: var(--lc-mute); }
.lc.fb .tc-gate input[type=email], .lc.fb .tc-gate input[type=text] { font: inherit; padding: 10px 12px; border: 1px solid var(--lc-line); border-radius: var(--radius-sm, 8px); background: #fff; color: var(--lc-ink); }
.lc.fb .fb-title { margin: 0 0 4px; font-family: var(--font-display, inherit); font-size: 1.3rem; line-height: 1.3; color: var(--lc-ink); }
.lc.fb .fb-thanks { padding: 18px; border: 1px solid var(--lc-line); border-left: 6px solid var(--lc-accent); border-radius: var(--radius, 14px); background: var(--lc-good-soft); }
.lc.fb .fb-thanks h3 { margin: 0; font-family: var(--font-display, inherit); font-size: 1.3rem; }
.lc.fb .fb-thanks h4 { margin: 18px 0 6px; font-size: 1rem; }
.lc.fb .fb-thanks p { margin: 8px 0 0; }
.lc.fb .fb-again { margin-top: 12px; }
.lc.fb .fb-get .fb-thanks { margin-top: 14px; }
.lc.fb .fb-signup { margin-top: 28px; }
.lc.fb .fb-signup .lc-btn { justify-self: start; }
.lc.fb .fb-more { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.lc.fb .fb-q { font-weight: 600; }
.lc.fb .fb-direct { font-weight: 700; }
.lc.fb .fb-where { color: var(--lc-mute); font-size: 0.9rem; }
.lc.fb a { color: var(--lc-accent); text-underline-offset: 3px; }
.lc.fb .fb-promo { margin-top: 14px; padding: 14px 16px; border: 1px dashed var(--lc-accent); border-radius: var(--radius, 14px); background: var(--lc-cream); }
.lc.fb .fb-promo p { margin: 0; }
.lc.fb .fb-promo .fb-promo-links { margin-top: 6px; font-weight: 600; }
.lc.fb .fb-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; padding: 1px 6px; border-radius: var(--radius-sm, 8px); background: var(--lc-line); color: var(--lc-ink); }
/* D-186: the one optional email offer (Nativity kit), under the CYBER40 box; email only, no popup, no countdown */
.lc.fb .fb-lead { margin-top: 14px; padding: 16px; border: 1px solid var(--lc-line); border-left: 6px solid var(--lc-accent); border-radius: var(--radius, 14px); background: var(--lc-cream); display: grid; gap: 8px; }
.lc.fb .fb-lead p { margin: 0; }
.lc.fb .fb-lead-form { display: grid; gap: 6px; }
.lc.fb .fb-lead-label { font-weight: 600; }
.lc.fb .fb-lead-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.lc.fb .fb-lead-row input[type=email] { flex: 1 1 220px; min-width: 0; font: inherit; padding: 10px 12px; border: 1px solid var(--lc-line); border-radius: var(--radius-sm, 8px); background: #fff; color: var(--lc-ink); }
.lc.fb .fb-lead-row .lc-btn { margin-top: 0; }
.lc.fb .fb-fine { color: var(--lc-mute); font-size: 0.9rem; }
.lc.fb .fb-dismiss { justify-self: start; font: inherit; font-size: 0.9rem; background: none; border: 0; padding: 0; color: var(--lc-mute); text-decoration: underline; cursor: pointer; }
.lc.fb .fb-kit-link { font-weight: 700; }
.lc.fb .fb-lead .lc-status:empty { display: none; }
@media (max-width: 599px) { .lc-checker .lc-drop.mk-drop--compact .mk-drop__hint { display: none; } }

/* D-104: warnings marked in amber, plain-language findings, progress + cancel while a big file is checked */
.lc .lc-mark-warn { --lc-mark: #b45f06; }
.lc .lc-extra { padding: 0 var(--mk-s-3, 12px) var(--mk-s-2, 8px) calc(var(--mk-s-3, 12px) + 28px); }
.lc .lc-extra:empty { display: none; }
.lc .lc-hint strong { font-weight: 600; }
.lc .lc-tech { margin-top: 4px; font-size: 0.85em; color: var(--mk-ink-soft, #555); }
.lc .lc-tech summary { cursor: pointer; }
.lc .lc-tech code { display: block; white-space: pre-wrap; word-break: break-word; font-size: 0.95em; margin-top: 4px; }
.lc .lc-action { margin-top: 6px; }
.lc .lc-loading { flex-wrap: wrap; gap: 8px; }
.lc .lc-progress { width: min(260px, 70%); height: 8px; }
.lc .lc-limit-note { margin-top: 8px; }

/* the tour's quiet button on the dark bubble (the kit's quiet button colour would be green on near-black) */
.lc .lc-tour .mk-btn.lc-tour__skip { color: var(--mk-surface); background: transparent; border-color: transparent; }
@media (prefers-color-scheme: dark) { .lc .lc-tour .mk-btn.lc-tour__skip { color: var(--mk-text); } }
/* phone: while the button bar floats at the bottom, the chat launcher would sit on it; it steps aside (the chat stays
   one tap away on every other page and on desktop) */
@media (max-width: 1023px) { html.mk-has-actions #cv-widget { display: none; } }

.lc-checker .lc-quota-studio { display: block; margin-top: 4px; }

/* tool frame (redesign 2026-11, Agenfold efeb1f43) */
.lc-checker .lc-frame .mk-panel { border: 0; border-radius: 0; box-shadow: none; background: transparent; border-bottom: 1px solid var(--mf-line-2); }
.lc-checker .lc-frame .mk-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lc-checker .lc-frame .lc-settings { margin: 0; border: 0; border-radius: 0; background: transparent; }
.lc-checker .lc-frame .mk-preview { border: 0; box-shadow: none; background: transparent; }
.lc-checker .lc-frame .lc-right > * { margin: 12px 14px 0; }
.lc-checker .lc-frame .lc-right > .lc-out:empty { display: none; }
.lc-checker .lc-prevfoot { display: flex; align-items: center; gap: 8px; }
.lc-checker .lc-tips { margin: 6px 0 0; }
@media (min-width: 761px) {
  .lc-checker .lc-frame .lc-actions { position: static; box-shadow: none; border-radius: var(--mk-r-lg); }
  html.mk-has-actions .lc-checker .lc-frame { padding-bottom: 0; }
}
@media (max-width: 760px) {
  .lc-checker .lc-frame > .lc-actions { z-index: 16; }
  .lc-checker .lc-frame .lc-right > * { margin: 10px 12px 0; }
}
/* the tour: never on the main button (tour.js), and "Skip tour" readable on the dark bubble in both themes */
.lc .lc-tour .mk-btn.lc-tour__skip, .mk-app-mode .lc .lc-tour .mk-btn.lc-tour__skip {
  color: #fff !important; background: transparent; border: 1px solid rgb(255 255 255 / 55%); text-decoration: underline; text-underline-offset: 3px; font-weight: 600;
}
.lc .lc-tour .mk-btn.lc-tour__skip:hover { background: rgb(255 255 255 / 14%); }
@media (prefers-color-scheme: dark) {
  .lc .lc-tour .mk-btn.lc-tour__skip, .mk-app-mode .lc .lc-tour .mk-btn.lc-tour__skip { color: var(--mk-text) !important; border-color: var(--mk-border-strong); }
}

.lc-checker .lc-frame { grid-template-columns: 320px minmax(0, 1fr) 320px; }
.lc-checker .lc-frame .lc-cards__row { grid-template-columns: 1fr; }
.lc-checker .lc-frame .lc-card { min-height: 0; padding: 6px 8px; }
.lc-checker .lc-frame .lc-card__img { width: 40px; height: 40px; }
.lc-checker .lc-tips { display: flex; align-items: center; gap: 6px; font-size: var(--mk-fs-sm); color: var(--mk-text-3); }
@media (max-width: 760px) { .lc-checker .lc-frame { grid-template-columns: minmax(0, 1fr); } }
/* D-194: "Complete the set" cards after a free download (next-buy.js): picture left, text + Buy right; one column on phones */
.lc.fb .nb { margin-top: 14px; padding: 16px; border: 1px solid var(--lc-line); border-radius: var(--radius, 14px); background: #fff; }
.lc.fb .nb[hidden] { display: none; }
.lc.fb .nb-title { margin: 0; font-family: var(--font-display, inherit); font-size: 1.2rem; color: var(--lc-ink); }
.lc.fb .nb-lead { margin: 4px 0 0; color: var(--lc-mute); font-size: 0.95rem; }
.lc.fb .nb-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.lc.fb .nb-card { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: start; padding-top: 12px; border-top: 1px solid var(--lc-line); }
.lc.fb .nb-card:first-child { border-top: 0; padding-top: 0; }
.lc.fb .nb-pic img { display: block; width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius-sm, 8px); background: var(--lc-cream); }
.lc.fb .nb-body p { margin: 0; }
.lc.fb .nb-name { font-weight: 700; }
.lc.fb .nb-name a { color: var(--lc-ink); text-decoration: none; }
.lc.fb .nb-what { margin-top: 2px; font-size: 0.95rem; }
.lc.fb .nb-price { margin-top: 4px; }
.lc.fb .nb-deal { color: var(--lc-mute); font-size: 0.9rem; }
.lc.fb .nb-actions { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.lc.fb .nb-actions .lc-btn { margin-top: 0; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.lc.fb .nb-more { font-weight: 600; }
.lc.fb .nb-fine { margin: 12px 0 0; color: var(--lc-mute); font-size: 0.85rem; }
@media (min-width: 640px) { .lc.fb .nb-card { grid-template-columns: 120px 1fr; } .lc.fb .nb-pic img { width: 120px; height: 120px; } }
