/* ==========================================================================
 * Festival Studio - vendors
 *
 * Rules for the Vendors view (st-vendors-*), the stand drawer (st-vdrawer-*),
 * the QR dialogs (st-qrdlg-*) and the Import stands dialog (st-simport-*).
 * The drawer and the QR dialogs are opened
 * from other sections too (map, schedule, team), which is why their rules
 * live in a sheet that index.html always loads. The shared kit is in
 * /studio/studio.css; nothing here restyles it outside these three scopes.
 *
 * A stand's category colour comes from the data (schema.js
 * VENDOR_CATEGORIES) as the custom property --st-cat, so the five colours
 * are not repeated here.
 * ========================================================================== */

/* ---------- Vendors view: toolbar ---------- */
.st-vendors-toolbar { margin-bottom: 12px; }
.st-vendors-toolbar .st-toolbar { margin-bottom: 8px; min-height: 38px; }
.st-vendors-toolbar .st-toolbar:last-child { margin-bottom: 0; }
.st-vendors-toolbar__label { margin-left: 6px; font-size: 12.5px; color: var(--st-text-muted); white-space: nowrap; }
/* Lives in the table footer (fixed height), right after the row count. */
.st-vendors-selection { display: flex; align-items: center; gap: 8px; margin: 0 auto 0 2px; padding-left: 14px; border-left: 1px solid var(--st-border-strong); }
.st-vendors-selection__count { font-size: 13px; font-weight: 600; color: var(--st-text-dim); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Vendors view: table ---------- */
/* Fixed layout so a long stand name is cut with an ellipsis instead of
   pushing the other columns out; on a narrow window the table scrolls
   sideways inside its own area. */
.st-vendors-table .st-table__table { table-layout: fixed; min-width: 1120px; }
.st-vendors-table .st-table__table td { overflow: hidden; }

.st-vendors-booth { display: block; font-weight: 600; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.st-vendors-stand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.st-vendors-stand__name { min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-vendors-stand__name.is-unnamed { font-weight: 500; color: var(--st-text-muted); }

.st-vendors-highlight {
  flex: 0 0 auto; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; cursor: help;
  color: #c9c1ff; background: rgba(109, 92, 255, 0.18); border: 1px solid rgba(124, 92, 255, 0.4);
}

.st-vendors-thumb {
  --st-cat: #6b7280;
  position: relative; display: inline-grid; place-items: center; flex: 0 0 auto; overflow: hidden;
  border-radius: 22%; font-weight: 700; line-height: 1; user-select: none;
  color: var(--st-cat); background: rgba(255, 255, 255, 0.06);
  color: color-mix(in srgb, var(--st-cat) 62%, #fff);
  background: color-mix(in srgb, var(--st-cat) 20%, transparent);
}
.st-vendors-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--st-bg-elev); }

.st-vendors-cat {
  --st-cat: #6b7280;
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; max-width: 100%;
  font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap;
  color: var(--st-text-dim); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--st-border);
  color: color-mix(in srgb, var(--st-cat) 58%, #fff);
  background: color-mix(in srgb, var(--st-cat) 16%, transparent);
  border-color: color-mix(in srgb, var(--st-cat) 42%, transparent);
}

.st-vendors-hosts { display: flex; align-items: center; gap: 8px; min-width: 0; }
.st-vendors-more { flex: 0 0 auto; font-size: 12px; font-weight: 600; color: var(--st-text-muted); font-variant-numeric: tabular-nums; }

.st-vendors-placed { display: inline-flex; align-items: center; gap: 6px; color: var(--st-text-dim); white-space: nowrap; }
.st-vendors-placed .st-icon { color: var(--st-green); }
.st-vendors-unplaced { display: inline-flex; align-items: baseline; gap: 10px; white-space: nowrap; color: #fcd34d; }
.st-vendors-unplaced .st-link { font-size: 13px; }

.st-vendors-links { display: inline-flex; align-items: center; gap: 2px; margin-left: -6px; }
.st-vendors-links .st-btn { color: var(--st-text-dim); }
.st-vendors-badlink { display: inline-grid; place-items: center; width: 30px; height: 30px; color: var(--st-amber); cursor: help; }

/* ---------- Stand drawer: frame ---------- */
.st-vdrawer-dialog .st-dialog__body { padding-top: 0; }
.st-vdrawer { min-height: 100%; }
.st-vdrawer > .st-skeleton, .st-vdrawer > .st-empty { padding-top: 28px; }
/* The tab strip stays in view while a long tab scrolls under it. */
.st-vdrawer__tabs { position: sticky; top: 0; z-index: 2; margin: 0 -20px; padding: 6px 20px 0; background: var(--st-bg-card); }
.st-vdrawer__panel { display: flex; flex-direction: column; padding: 20px 0 8px; }
.st-vdrawer__section { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.st-vdrawer__section + .st-vdrawer__section, .st-vdrawer__section + .st-vdrawer__danger { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--st-border); }
.st-vdrawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 30px; }
.st-vdrawer__title { font-size: 15px; font-weight: 600; letter-spacing: -0.005em; line-height: 1.35; }
.st-vdrawer__subtitle { font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--st-text); }
.st-vdrawer__hint { font-size: 12.5px; line-height: 1.45; color: var(--st-text-muted); }
.st-vdrawer__head + .st-vdrawer__hint { margin-top: -8px; }
.st-vdrawer__note { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; line-height: 1.45; color: var(--st-text-muted); }
.st-vdrawer__note .st-icon { margin-top: 2px; }
.st-vdrawer__note strong { color: var(--st-text-dim); }
.st-vdrawer__count { font-size: 12.5px; font-weight: 600; color: var(--st-text-dim); font-variant-numeric: tabular-nums; white-space: nowrap; }
.st-vdrawer__empty { padding: 12px 14px; border: 1px dashed var(--st-border-strong); border-radius: var(--st-r-12); font-size: 13px; color: var(--st-text-muted); }

/* ---------- Stand drawer: numbers ---------- */
.st-vdrawer__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.st-vdrawer__stats .st-stat { padding: 12px 14px; background: var(--st-bg-elev); }
.st-vdrawer__stats .st-stat__value { font-size: 22px; }
.st-vdrawer__stats .st-stat__label { white-space: nowrap; }

/* ---------- Stand drawer: rows (people, activities) ---------- */
.st-vdrawer__group { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.st-vdrawer__group + .st-vdrawer__group, .st-vdrawer__legend + .st-vdrawer__group { margin-top: 8px; }
.st-vdrawer__grouphead { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.st-vdrawer__grouphead .st-vdrawer__hint { margin-top: 2px; }
.st-vdrawer__rows { display: flex; flex-direction: column; border: 1px solid var(--st-border); border-radius: var(--st-r-12); background: var(--st-bg-elev); }
.st-vdrawer__row { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 8px 8px 12px; min-width: 0; }
.st-vdrawer__row + .st-vdrawer__row { border-top: 1px solid var(--st-border); }
.st-vdrawer__row > .st-person { flex: 1 1 auto; }

.st-vdrawer__acticon {
  width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; border-radius: var(--st-r-10);
  color: #c4b5fd; background: rgba(139, 92, 246, 0.16);
}
.st-vdrawer__acttext { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.st-vdrawer__acttitle { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13.5px; font-weight: 600; }
.st-vdrawer__actsub { display: flex; align-items: center; gap: 4px; min-width: 0; font-size: 12.5px; color: var(--st-text-muted); }
/* "Not by your team": the Schedule's marker (st-schedule-act__outside), same
   icon and words. The dot is spaced like the ones typed into the line. */
.st-vdrawer__outside { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; color: var(--st-text-muted); white-space: nowrap; cursor: help; }
.st-vdrawer__actsub > .st-truncate + .st-vdrawer__outside::before { content: "·"; }
.st-vdrawer__actnums { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.st-vdrawer__actnums > span { display: inline-flex; align-items: center; gap: 5px; }
.st-vdrawer__actnums .st-icon { color: var(--st-text-muted); }
.st-vdrawer__legend { gap: 16px; }
.st-vdrawer__legend > span { display: inline-flex; align-items: center; gap: 6px; }
.st-vdrawer__legend .st-icon { margin-top: 0; }
.st-vdrawer__activity.is-removed .st-vdrawer__acticon, .st-vdrawer__activity.is-removed .st-vdrawer__acttext { opacity: 0.6; }

/* ---------- Stand drawer: map and QR lines ---------- */
.st-vdrawer__line { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; padding: 12px; border: 1px solid var(--st-border); border-radius: var(--st-r-12); background: var(--st-bg-elev); }
.st-vdrawer__lineicon { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; border-radius: var(--st-r-10); color: var(--st-text-dim); background: rgba(255, 255, 255, 0.05); }
.st-vdrawer__lineicon.is-ok { color: var(--st-green); background: rgba(52, 211, 153, 0.1); }
.st-vdrawer__lineicon.is-warn { color: var(--st-amber); background: rgba(251, 191, 36, 0.1); }
.st-vdrawer__linetext { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.st-vdrawer__linetitle { font-size: 13.5px; font-weight: 600; }
.st-vdrawer__linesub { font-size: 12.5px; line-height: 1.45; color: var(--st-text-muted); }
.st-vdrawer__lineactions { display: flex; align-items: center; gap: 6px; margin-left: auto; }

/* ---------- Stand drawer: details form ---------- */
.st-vdrawer__logo { display: flex; align-items: center; gap: 14px; margin: 2px 0 6px; }
.st-vdrawer__logopreview { flex: 0 0 auto; display: grid; }
.st-vdrawer__logotext { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.st-vdrawer__logotext .st-row { margin-top: 4px; }
.st-vdrawer-warn .st-field__hint { color: #fcd34d; }
.st-vdrawer__danger {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
}
.st-vdrawer__danger .st-btn { margin-top: 4px; }
/* A stand of a vendor registration is not deleted here: the reason reads as text, not as a muted hint. */
.st-vdrawer__danger .st-vdrawer__belongs { font-size: 13.5px; color: var(--st-text); }

/* The save bar: the note sits left, the two buttons right. */
.st-vdrawer-dialog .st-dialog__footer-end { flex: 1 1 auto; }
.st-vdrawer__unsaved { display: inline-flex; align-items: center; gap: 6px; margin-right: auto; font-size: 12.5px; font-weight: 500; color: #fcd34d; }

/* ---------- Stand drawer: photos ---------- */
.st-vdrawer__photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.st-vdrawer__photos.is-empty { grid-template-columns: minmax(0, 1fr); border: 1px dashed var(--st-border-strong); border-radius: var(--st-r-12); }
.st-vdrawer__photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--st-r-10); background: var(--st-bg-elev); border: 1px solid var(--st-border); }
.st-vdrawer__photolink { position: absolute; inset: 0; display: grid; place-items: center; color: var(--st-text-muted); }
.st-vdrawer__photolink:focus-visible { outline-offset: -3px; }
.st-vdrawer__photolink img { width: 100%; height: 100%; object-fit: cover; }
.st-vdrawer__photoremove {
  position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%;
  color: #fff; background: rgba(5, 6, 10, 0.72); border: 1px solid rgba(255, 255, 255, 0.22);
  transition: background var(--st-ease);
}
.st-vdrawer__photoremove:hover { background: rgba(251, 113, 133, 0.85); }
.st-vdrawer__photobusy { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(5, 6, 10, 0.6); }
.st-vdrawer__photo.is-uploading { display: grid; place-items: center; border-style: dashed; border-color: var(--st-border-strong); }

/* ---------- QR dialogs ---------- */
.st-qrdlg__intro { display: flex; flex-direction: column; gap: 4px; }
.st-qrdlg__name { font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.st-qrdlg__stage {
  display: grid; place-items: center; min-height: 340px; padding: 20px;
  border: 1px solid var(--st-border); border-radius: var(--st-r-12); background: var(--st-bg-elev);
}
/* The card is 864 px wide; show it whole, whatever the window height. */
.st-qrdlg__card { display: block; width: auto; height: auto; max-width: 100%; max-height: min(54vh, 460px); }
.st-qrdlg__skipped { max-height: 220px; overflow-y: auto; border: 1px solid var(--st-border); border-radius: var(--st-r-10); background: var(--st-bg-elev); }
.st-qrdlg__skipped li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 8px 12px; font-size: 13px; }
.st-qrdlg__skipped li + li { border-top: 1px solid var(--st-border); }
.st-qrdlg__skipped-name { min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-qrdlg__skipped-why { flex: 0 0 auto; color: var(--st-text-muted); }

/* ---------- Import stands dialog (ui/stand-import-dialog.js) ---------- */
/* Review needs the room: the dialog widens for that step only. */
.st-modal.st-simport.is-wide { --st-modal-w: 1320px; }

.st-simport-steps { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--st-text-muted); }
.st-simport-step { display: flex; align-items: center; gap: 8px; }
.st-simport-step + .st-simport-step::before { content: ""; width: 28px; height: 1px; margin-right: 2px; background: var(--st-border-strong); }
.st-simport-step__n {
  width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--st-border-strong);
  font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.st-simport-step.is-active { color: var(--st-text); font-weight: 600; }
.st-simport-step.is-active .st-simport-step__n { background: var(--st-violet); border-color: var(--st-violet); color: #fff; }
.st-simport-step.is-done .st-simport-step__n { background: rgba(52, 211, 153, 0.14); border-color: rgba(52, 211, 153, 0.4); color: #6ee7b7; }

.st-simport-source > * + * { margin-top: 14px; }
.st-simport-drop {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 20px; text-align: center;
  border: 1.5px dashed var(--st-border-strong); border-radius: var(--st-r-12); background: var(--st-bg-elev);
  transition: border-color var(--st-ease), background var(--st-ease);
}
.st-simport-drop.is-over { border-color: var(--st-violet-2); background: rgba(109, 92, 255, 0.1); }
.st-simport-drop__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 4px; border-radius: 50%; color: var(--st-lavender); background: rgba(109, 92, 255, 0.14); }
.st-simport-drop__title { font-size: 15px; font-weight: 600; }
.st-simport-drop__hint { margin-bottom: 8px; font-size: 13px; color: var(--st-text-muted); }
.st-simport-filelist { display: flex; flex-direction: column; gap: 6px; }
.st-simport-file {
  display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; font-size: 13.5px;
  border: 1px solid var(--st-border-strong); border-radius: var(--st-r-10); background: var(--st-bg-elev); color: var(--st-text-dim);
}
.st-simport-file__name { flex: 1 1 auto; min-width: 0; font-weight: 600; color: var(--st-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-simport-file__size { flex: 0 0 auto; font-size: 12.5px; color: var(--st-text-muted); font-variant-numeric: tabular-nums; }
.st-simport-or { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--st-text-muted); }
.st-simport-or::before, .st-simport-or::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--st-border); }
.st-simport-paste { min-height: 104px; font-size: 13px; line-height: 1.5; }
.st-simport-privacy { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; line-height: 1.45; color: var(--st-text-muted); }
.st-simport-privacy svg { flex: 0 0 auto; margin-top: 2px; }

.st-simport-run { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 48px 24px 40px; text-align: center; }
.st-simport-run__title { font-size: 15px; font-weight: 600; }
.st-simport-run .st-progress { width: 100%; max-width: 440px; }
.st-simport-run__note { max-width: 480px; font-size: 13px; color: var(--st-text-muted); }
.st-simport-run__note.is-nudged { color: #fcd34d; }

.st-simport-review > * + * { margin-top: 12px; }
.st-simport-summary > * + * { margin-top: 8px; }
.st-simport-summary__line { display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.st-simport-summary__line svg { flex: 0 0 auto; color: var(--st-lavender); }
.st-simport-summary__ai { font-size: 13.5px; color: var(--st-text-dim); }
/* Things to check: a quiet list on the panel surface. The kind icons carry
   the only amber; a ticked item fades back and its tick turns green. */
.st-simport-checks { border: 1px solid var(--st-border); border-radius: var(--st-r-10); background: var(--st-bg-elev); }
.st-simport-checks__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 12px; border-bottom: 1px solid var(--st-border);
}
.st-simport-checks__title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--st-text); }
.st-simport-checks__title svg { color: var(--st-text-muted); }
.st-simport-checks__count { font-size: 12.5px; color: var(--st-text-muted); font-variant-numeric: tabular-nums; }
.st-simport-checks__count.is-all { color: #6ee7b7; }
.st-simport-check {
  display: grid; grid-template-columns: 26px minmax(0, 1fr) auto auto; align-items: center; gap: 12px;
  padding: 7px 10px 7px 12px;
}
.st-simport-check + .st-simport-check { border-top: 1px solid var(--st-border); }
.st-simport-check__icon {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px;
  background: rgba(255, 255, 255, 0.04); color: #f5c955; transition: color var(--st-ease), opacity var(--st-ease);
}
.st-simport-check__text { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; row-gap: 1px; min-width: 0; font-size: 13px; line-height: 1.45; }
.st-simport-check__title { font-weight: 600; color: var(--st-text); }
.st-simport-check__detail { color: var(--st-text-muted); }
.st-simport-check__show {
  height: 26px; padding: 0 10px; border-radius: var(--st-r-8); white-space: nowrap;
  font-size: 12.5px; font-weight: 500; color: var(--st-lavender); font-variant-numeric: tabular-nums;
  transition: background var(--st-ease), color var(--st-ease);
}
.st-simport-check__show:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.st-simport-check__show.is-active { background: rgba(109, 92, 255, 0.2); color: #fff; }
.st-simport-check__tick {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--st-border-strong); color: transparent;
  transition: background var(--st-ease), border-color var(--st-ease), color var(--st-ease);
}
.st-simport-check__tick:hover { border-color: var(--st-text-muted); color: var(--st-text-muted); }
.st-simport-check__tick[aria-pressed="true"] { background: rgba(52, 211, 153, 0.16); border-color: rgba(52, 211, 153, 0.55); color: #6ee7b7; }
.st-simport-check.is-done .st-simport-check__icon { color: var(--st-text-muted); opacity: 0.6; }
.st-simport-check.is-done .st-simport-check__title { color: var(--st-text-dim); font-weight: 500; }
.st-simport-check.is-done .st-simport-check__detail { opacity: 0.7; }
.st-simport-checks__more {
  display: block; width: 100%; padding: 7px 12px 8px 50px; text-align: left; border-top: 1px solid var(--st-border);
  font-size: 12.5px; font-weight: 500; color: var(--st-lavender);
}
.st-simport-checks__more:hover { color: #fff; }
.st-simport-map { border: 1px solid var(--st-border); border-radius: var(--st-r-10); background: var(--st-bg-elev); font-size: 13px; }
.st-simport-map summary { padding: 9px 12px; cursor: pointer; color: var(--st-text-dim); font-weight: 600; }
.st-simport-map dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; margin: 0; padding: 2px 12px 12px; }
.st-simport-map dt { color: var(--st-text-muted); }
.st-simport-map dd { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.st-simport-map__why { font-size: 12.5px; color: var(--st-text-muted); }

.st-simport-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.st-simport-count { font-size: 13px; font-weight: 600; color: var(--st-text-dim); font-variant-numeric: tabular-nums; }
.st-simport-tablewrap {
  max-height: max(280px, calc(100dvh - 470px)); overflow: auto;
  border: 1px solid var(--st-border); border-radius: var(--st-r-10);
}
.st-simport-table { width: 100%; min-width: 1180px; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 13px; }
.st-simport-table th {
  position: sticky; top: 0; z-index: 1; padding: 8px 8px; text-align: left; font-size: 12px; font-weight: 600; color: var(--st-text-muted);
  background: var(--st-bg-head); border-bottom: 1px solid var(--st-border);
}
.st-simport-table td { padding: 6px 8px; vertical-align: top; border-bottom: 1px solid var(--st-border); }
.st-simport-table tbody tr:last-child td { border-bottom: 0; }
.st-simport-table .st-input { width: 100%; min-width: 0; }
.st-simport-table th:nth-child(1) { width: 40px; }
.st-simport-table th:nth-child(2) { width: 200px; }
.st-simport-table th:nth-child(3) { width: 72px; }
.st-simport-table th:nth-child(4) { width: 158px; }
.st-simport-table th:nth-child(5) { width: 180px; }
.st-simport-table th:nth-child(6) { width: 140px; }
.st-simport-table th:nth-child(8) { width: 200px; }
.st-simport-cell--check { text-align: center; }
.st-simport-cell--check .st-check { margin-top: 7px; }
.st-simport-desc { min-height: 32px; padding: 6px 10px; font-size: 12.5px; line-height: 1.4; resize: vertical; }
.st-simport-table tr.is-skipped td:not(.st-simport-cell--check):not(:last-child) { opacity: 0.45; }
.st-simport-notes { display: flex; flex-direction: column; gap: 6px; }
.st-simport-note { display: flex; align-items: flex-start; gap: 6px; font-size: 12.5px; line-height: 1.4; color: var(--st-text-dim); }
.st-simport-note svg { flex: 0 0 auto; margin-top: 2px; }
.st-simport-note.is-warn { color: #fcd34d; }
.st-simport-note.is-info svg { color: var(--st-lavender); }
.st-simport-note.is-quiet { font-size: 12px; color: var(--st-text-muted); }
.st-simport-hint { font-size: 12.5px; color: var(--st-text-muted); }
.st-simport-foot:empty { display: none; }
.st-simport-foot.is-error { font-size: 13px; font-weight: 600; color: var(--st-red-text); }

.st-simport-done { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 36px 24px 28px; text-align: center; }
.st-simport-done > .st-prose { max-width: 520px; }
.st-simport-done > .st-callout { width: 100%; max-width: 560px; text-align: left; }
.st-simport-done__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: #6ee7b7; background: rgba(52, 211, 153, 0.14); }
.st-simport-done__icon.is-bad { color: var(--st-red-text); background: rgba(251, 113, 133, 0.14); }
.st-simport-done__title { font-size: 17px; font-weight: 700; }

@media (max-width: 720px) {
  .st-vdrawer__stats { grid-template-columns: minmax(0, 1fr); }
  .st-vdrawer__photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-simport-steps .st-simport-step span:last-child { display: none; }
}
