/* ==========================================================================
   Български колоездачен регистър — единствен стилов файл.
   Без външни библиотеки, без изтеглени шрифтове и без декоративни картинки:
   печатите, емблемите и рамките са направени само с CSS.
   ========================================================================== */

:root {
  --navy-900: #070d1c;
  --navy-800: #0b1226;
  --navy-700: #101a34;
  --navy-600: #16224180;
  --line:     #24345e;
  --line-soft:#1b2749;

  --gold:      #d4af37;
  --gold-soft: #e8c96a;
  --gold-dim:  #8d7526;

  --text:       #e8ecf6;
  --text-muted: #94a3c4;

  --green: #3fa96a;
  --red:   #c8442f;
  --amber: #d08a1e;

  --radius: 10px;
  --radius-sm: 6px;

  --font-ui: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

/* Атрибутът hidden трябва да е по-силен от display на класовете по-долу. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 500px at 50% -180px, #14224a 0%, transparent 70%),
    var(--navy-900);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
}

a { color: var(--gold-soft); }
a:hover { color: var(--gold); }

/* --- Горна лента ---------------------------------------------------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 16px;
  background: linear-gradient(180deg, #0d1830 0%, #0a1228 100%);
  border-bottom: 2px solid var(--gold-dim);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }

.brand-short {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .18em;
  color: var(--gold);
}

.brand-full {
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Емблема: двоен кръг със звезда вътре, изцяло с CSS */
.emblem {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  box-shadow: inset 0 0 0 3px var(--navy-900), inset 0 0 0 4px var(--gold-dim);
  background: radial-gradient(circle at 50% 35%, #1b2b56, #0a1128 100%);
  display: grid;
  place-items: center;
  flex: none;
}

.emblem-star, .seal-star {
  width: 15px;
  height: 15px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%,
                     50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.topnav { display: flex; gap: 6px; flex-wrap: wrap; }

.topnav a {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
  text-decoration: none;
  color: var(--text);
  background: #0d1730;
}

.topnav a:hover { border-color: var(--gold-dim); color: var(--gold-soft); }
.topnav .nav-exit { color: var(--text-muted); }

.userbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #0a112a;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.userbar .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

/* --- Оформление ------------------------------------------------------ */

.wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 22px 16px 40px;
  flex: 1;
}

.wrap-narrow { max-width: 560px; }

.footer {
  border-top: 1px solid var(--line-soft);
  padding: 16px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-sep { margin: 0 6px; opacity: .5; }

.page-head { margin-bottom: 18px; }

h1 {
  margin: 0 0 4px;
  font-size: 22px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
}

h2 { font-size: 17px; margin: 0 0 12px; }

.page-sub { margin: 0; color: var(--text-muted); font-size: 14px; }

.card {
  background: linear-gradient(180deg, #0e1730 0%, #0b1226 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.card-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold);
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 8px;
}

.card-empty { text-align: center; }

.card-inline {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.card-inline p { margin: 0; }

.cols { display: grid; gap: 16px; grid-template-columns: 1fr; }

@media (min-width: 860px) {
  .cols { grid-template-columns: 1.4fr 1fr; align-items: start; }
}

.muted { color: var(--text-muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.warn-strong { color: var(--gold-soft); font-weight: 600; }

/* --- Съобщения ------------------------------------------------------- */

.alert {
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 14px;
  border-left: 4px solid;
}

.alert-ok    { background: #0f2a1c; border-color: var(--green); }
.alert-error { background: #2a1210; border-color: var(--red); }
.alert-warn  { background: #2a2110; border-color: var(--amber); }

/* --- Начален блок с печат -------------------------------------------- */

.hero { text-align: center; margin-bottom: 20px; }

.seal {
  width: 130px;
  height: 130px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 3px double var(--gold);
  background: radial-gradient(circle at 50% 30%, #16264d, #0e1a37);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 6px #0b1226, 0 0 0 7px var(--gold-dim), 0 12px 26px rgba(0,0,0,.5);
}

.seal-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}

.seal-top, .seal-bottom {
  font-size: 9px;
  letter-spacing: .22em;
  color: var(--gold-soft);
  text-transform: uppercase;
}

.seal-mid {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--gold);
  line-height: 1;
}

.hero-title {
  font-size: 24px;
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text);
}

.hero-sub { margin: 0; color: var(--text-muted); font-size: 14px; }

/* --- Форми ------------------------------------------------------------ */

.form { display: flex; flex-direction: column; gap: 14px; }

.field { display: flex; flex-direction: column; gap: 5px; }

.field-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--gold-soft);
}

.field-hint { font-size: 12px; color: var(--text-muted); }

.field-pair { display: grid; gap: 14px; grid-template-columns: 1fr; }

@media (min-width: 560px) {
  .field-pair { grid-template-columns: 1fr 1fr; }
}

input[type="text"], input[type="password"], input[type="date"],
input[type="number"], input[type="file"], select, textarea {
  width: 100%;
  padding: 11px 12px;
  background: #070f24;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;   /* 16px спира авт. увеличение при фокус на iPhone */
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, .18);
}

textarea { resize: vertical; }

.input-plate {
  font-family: var(--font-mono);
  font-size: 26px;
  letter-spacing: .14em;
  text-align: center;
  text-transform: uppercase;
  color: var(--gold);
  padding: 14px 12px;
}

.input-num  { max-width: 90px; }
.input-mini { max-width: 130px; padding: 6px 8px; font-size: 13px; }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  cursor: pointer;
}

.checkbox input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--gold); }
.checkbox-inline { display: inline-flex; align-items: center; }

.fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin: 0;
}

.fieldset legend {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--gold-soft);
  padding: 0 6px;
}

.radio-row { display: grid; gap: 10px; grid-template-columns: 1fr; }

@media (min-width: 560px) {
  .radio-row { grid-template-columns: repeat(3, 1fr); }
}

.radio-card { position: relative; cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; }

.radio-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #09112a;
  text-align: center;
}

.radio-card input:checked + .radio-body {
  border-color: var(--gold);
  background: #14203f;
  box-shadow: 0 0 0 2px rgba(212,175,55,.25);
}

.radio-title { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }

.radio-plate {
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--gold);
  letter-spacing: .1em;
}

.filter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-form input[type="text"] { flex: 1 1 190px; width: auto; }
.filter-form select { flex: 0 1 170px; width: auto; }

.inline-form { display: inline-flex; gap: 4px; align-items: center; }

/* --- Бутони ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #12203f;
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .05s ease, border-color .15s ease, background .15s ease;
}

.btn:hover { border-color: var(--gold-dim); }
.btn:active { transform: translateY(1px); }

.btn-gold {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  border-color: var(--gold);
  color: #1a1405;
  text-transform: uppercase;
}

.btn-gold:hover { background: linear-gradient(180deg, #f0d47c, var(--gold-soft)); color: #1a1405; }

.btn-ghost { background: transparent; }

.btn-block { width: 100%; }
.btn-lg { padding: 16px 18px; font-size: 17px; }

.btn-mini {
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.btn-link {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 6px;
  font-size: 14px;
  text-decoration: underline;
}

.btn-link:hover { color: var(--gold-soft); }

.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* Икона на QR код — 4 квадратчета, само с CSS */
.btn-qr-icon {
  width: 16px;
  height: 16px;
  flex: none;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 6px 6px no-repeat,
    linear-gradient(currentColor, currentColor) 100% 0 / 6px 6px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 6px 6px no-repeat,
    linear-gradient(currentColor, currentColor) 100% 100% / 4px 4px no-repeat;
}

.or-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.or-line::before, .or-line::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-soft);
}

/* --- Регистрационен номер --------------------------------------------- */

.plate {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--gold);
  background: #070f24;
  border: 1px solid var(--gold-dim);
  border-radius: 4px;
  padding: 3px 9px;
  white-space: nowrap;
}

.plate-lg { font-size: 24px; padding: 6px 14px; letter-spacing: .16em; }

/* --- Печати ------------------------------------------------------------ */

.stamp {
  display: inline-grid;
  place-items: center;
  text-align: center;
  width: 86px;
  height: 86px;
  border: 3px double currentColor;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: rotate(-11deg);
  opacity: .92;
  flex: none;
}

.stamp-red   { color: var(--red); }
.stamp-green { color: var(--green); }
.stamp-lg    { width: 104px; height: 104px; font-size: 12px; }

/* --- Публичен запис ---------------------------------------------------- */

.record-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.record-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.photo-frame {
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius-sm);
  padding: 6px;
  background: #070f24;
  margin-bottom: 16px;
}

.photo-frame img { display: block; width: 100%; height: auto; border-radius: 3px; }

.photo-frame-empty {
  display: grid;
  place-items: center;
  min-height: 130px;
  color: var(--text-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .1em;
  border-style: dashed;
}

.photo-frame-sm { margin-top: 14px; }

.data-list { margin: 0 0 14px; display: flex; flex-direction: column; gap: 1px; }

.data-list > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line-soft);
}

.data-list dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
}

.data-list dd { margin: 0; font-weight: 600; text-align: right; }

/* --- Сканиране --------------------------------------------------------- */

.scan-area { margin-top: 14px; }

.scan-reader {
  width: 100%;
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #000;
  min-height: 220px;
}

.scan-reader video { width: 100% !important; height: auto !important; display: block; }

.scan-hint {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin: 10px 0;
}

.scan-hint-error { color: #f0a08f; }

/* --- Таблици и списъци -------------------------------------------------- */

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.table { width: 100%; border-collapse: collapse; font-size: 14px; }

.table th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--text-muted);
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.table td {
  padding: 10px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}

.table tr:hover td { background: #0d1730; }

.cell-actions { display: flex; gap: 5px; flex-wrap: wrap; align-items: center; }

.list-plain { list-style: none; margin: 0; padding: 0; }

.list-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line-soft);
}

.list-row:last-child { border-bottom: none; }

.tag {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid;
}

.tag-green { color: #7fd6a3; border-color: #2f6b48; background: #0f2a1c; }
.tag-red   { color: #f0a08f; border-color: #7a3226; background: #2a1210; }
.tag-grey  { color: var(--text-muted); border-color: var(--line); background: #0d1730; }

/* --- Табло -------------------------------------------------------------- */

.stat-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 16px;
}

@media (min-width: 720px) {
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat {
  background: linear-gradient(180deg, #0e1730, #0b1226);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
}

.stat-alert { border-color: #7a3226; }

.stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
}

.stat-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--text-muted);
}

.stat-sub { display: block; font-size: 11px; color: var(--text-muted); opacity: .75; }

/* --- Проверка (чеклист) -------------------------------------------------- */

.inspect-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 12px;
}

.progress {
  height: 8px;
  background: #0a112a;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold));
  transition: width .2s ease;
}

.progress-text {
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--text-muted);
  margin: 6px 0 14px;
}

.step-card { text-align: center; }

.step-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.step-value {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--gold);
  padding: 18px 10px;
  border: 1px dashed var(--gold-dim);
  border-radius: var(--radius-sm);
  background: #070f24;
  margin-bottom: 8px;
  word-break: break-word;
}

.step-value-empty { font-size: 17px; color: var(--text-muted); font-weight: 500; }

.step-hint { font-size: 13px; color: var(--text-muted); margin: 0 0 14px; }

.result-buttons {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  margin-top: 16px;
}

@media (min-width: 560px) {
  .result-buttons { grid-template-columns: repeat(3, 1fr); }
}

.btn-result {
  padding: 18px 12px;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-width: 2px;
}

.btn-match   { background: #10331f; border-color: var(--green); color: #a7e8c1; }
.btn-nomatch { background: #33130e; border-color: var(--red);   color: #f4b3a4; }
.btn-missing { background: #33260c; border-color: var(--amber); color: #f2cf94; }

.btn-match:hover   { background: #17492c; }
.btn-nomatch:hover { background: #4a1a13; }
.btn-missing:hover { background: #4a3711; }

.step-back { margin-top: 12px; }

/* --- Проверки и бюлетин --------------------------------------------------- */

.inspection-card { padding: 14px; }
.inspection-issue { border-color: #7a3226; }

.inspection-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 10px;
}

.chip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  font-size: 12px;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #0a112a;
}

.chip-ok   { border-color: #2f6b48; color: #9ad9b6; }
.chip-bad  { border-color: #7a3226; color: #f0a08f; }
.chip-warn { border-color: #7a6026; color: #e8c98f; }

.bulletin-head {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.bulletin-head h1 { margin-bottom: 6px; }

.bulletin-card { border-color: #4a2a22; }

.bulletin-row { display: flex; gap: 14px; flex-wrap: wrap; }

.bulletin-photo {
  width: 120px;
  flex: none;
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius-sm);
  padding: 4px;
  background: #070f24;
  height: fit-content;
}

.bulletin-photo img { display: block; width: 100%; height: auto; border-radius: 3px; }

.bulletin-body { flex: 1 1 260px; display: flex; flex-direction: column; gap: 8px; }

.bulletin-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.bulletin-meta { margin: 0; }

/* --- Вход и бележки -------------------------------------------------------- */

.card-auth { text-align: center; }
.card-auth .form { text-align: left; }

.auth-emblem {
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  box-shadow: inset 0 0 0 4px var(--navy-900), inset 0 0 0 5px var(--gold-dim);
  background: #12203f;
  display: grid;
  place-items: center;
}

.auth-emblem .emblem-star { width: 22px; height: 22px; }

.note-block {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.note-block p { margin: 0; }

.qr-box {
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 10px;
  margin-bottom: 10px;
}

.qr-box img { display: block; width: 100%; max-width: 180px; height: auto; }

.card-side .btn { margin-bottom: 8px; }

/* --- Табелка за печат ------------------------------------------------------- */

.label-sheet { display: flex; justify-content: center; }

.label {
  width: 260px;
  background: #fff;
  color: #0b1226;
  border: 3px solid #0b1226;
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}

.label-head { border-bottom: 2px solid #0b1226; padding-bottom: 6px; margin-bottom: 8px; }

.label-org {
  display: block;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .2em;
}

.label-org-full {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.label-plate {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .12em;
  border: 2px solid #0b1226;
  border-radius: 5px;
  padding: 5px 0;
  margin-bottom: 10px;
}

.label-qr img { display: block; width: 100%; max-width: 190px; margin: 0 auto; }

.label-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-top: 2px solid #0b1226;
  margin-top: 8px;
  padding-top: 6px;
}

.label-type { font-weight: 700; }

@media print {
  body { background: #fff; color: #000; }
  .topbar, .userbar, .footer, .no-print { display: none !important; }
  .wrap { padding: 0; max-width: none; }
  .label { border-color: #000; page-break-inside: avoid; }
  .label-head, .label-plate, .label-foot { border-color: #000; }
}
