/* ═══════════════════════════════════════════════════════════════
   REAL FLOORS PORTAL — Full Dark Theme
   Syne + DM Mono + Figtree · Lucide Icons
═══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@700;800;900&family=DM+Mono:wght@400;500&family=Figtree:wght@400;500;600;700&display=swap');

:root {
  --red:      #DC143C;
  --red-dim:  rgba(220,20,60,.10);
  --red-glow: rgba(220,20,60,.28);

  --bg:       #09090f;
  --sidebar:  #0d0d14;
  --s2:       #13131c;
  --s-line:   rgba(255,255,255,.06);
  --s-text:   #c4c4d8;
  --s-muted:  #4a4a68;

  --panel:    #111118;
  --panel2:   #181820;
  --panel3:   #1e1e28;
  --line:     #252532;
  --text:     #f0f0f6;
  --muted:    #7070a0;
  --muted2:   #505070;

  --good:     #22c55e;
  --bad:      #ef4444;
  --warn:     #f59e0b;

  --mono:     'DM Mono', monospace;
  --display:  'Outfit', sans-serif;
  --body:     'Figtree', sans-serif;
  --sw:       240px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--body);
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.5;
}

/* ═══ SHELL ═══════════════════════════════════════════════════ */
.shell { display: grid; grid-template-columns: var(--sw) 1fr; min-height: 100vh; }

/* ═══ SIDEBAR ════════════════════════════════════════════════ */
.sidebar {
  background: var(--sidebar);
  border-right: 1px solid var(--s-line);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  z-index: 100;
}

/* Brand */
.sidebar-brand {
  padding: 20px 16px 16px;
  border-bottom: 1px solid var(--s-line);
  flex-shrink: 0;
}

.brand-wordmark {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1;
  display: block;
}

.brand-real {
  color: #fff;
  text-shadow:
    0 1px 0 #bbb,
    0 2px 0 #999,
    0 3px 0 #888,
    0 4px 6px rgba(0,0,0,0.6),
    0 0 12px rgba(255,255,255,0.08);
}

.brand-floors {
  color: var(--red);
  text-shadow:
    0 1px 0 #a00,
    0 2px 0 #800,
    0 3px 0 #600,
    0 4px 6px rgba(0,0,0,0.7),
    0 0 14px rgba(220,20,60,0.3);
}

.brand-sub {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  color: #7878a0;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.brand-powered {
  font-family: var(--mono);
  font-size: 8.5px;
  color: #4a4a68;
  letter-spacing: 1.2px;
  margin-top: 10px;
  text-transform: uppercase;
}
.brand-powered span { color: #5a5a80; font-weight: 500; }

/* Nav */
.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 10px 8px 10px;
  scrollbar-width: none;
}
.sidebar-nav::-webkit-scrollbar { display: none; }

.nav-group-label {
  font-size: 9px;
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--s-muted);
  padding: 10px 10px 4px;
}

.nav-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--s-text);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all .13s;
  margin-bottom: 1px;
}

.nav-btn:hover { background: var(--s2); color: #fff; }
.nav-btn.active { background: var(--red-dim); color: #fff; border-left: 2px solid var(--red); padding-left: 8px; }
.nav-btn.open   { background: var(--s2); color: #fff; }

.nav-icon { width: 16px; height: 16px; flex-shrink: 0; stroke-width: 2; }
.caret    { width: 14px; height: 14px; margin-left: auto; flex-shrink: 0; opacity: .5; transition: transform .2s; }
.nav-btn.open .caret { transform: rotate(180deg); }

/* Dropdown */
.nav-group { margin-bottom: 1px; }

.dropdown-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  padding-left: 26px;
  border-left: 1px solid var(--s-line);
  margin-left: 17px;
}
.dropdown-menu.open { max-height: 500px; }

.nav-child {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  background: transparent;
  border: none;
  padding: 6px 8px;
  color: var(--s-muted);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  border-radius: 6px;
  transition: all .12s;
  margin-bottom: 1px;
}
.nav-child:hover { color: var(--s-text); background: rgba(255,255,255,.04); }
.nav-child.active-child { color: #fff; background: rgba(220,20,60,.08); border-left: 2px solid var(--red); padding-left: 6px; }

.sub-icon { width: 13px; height: 13px; flex-shrink: 0; stroke-width: 2; opacity: .7; }

/* Sidebar footer */
.sidebar-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-top: 1px solid var(--s-line);
  flex-shrink: 0;
}

.foot-left { display: flex; align-items: center; gap: 10px; }

.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--s-muted);
  flex-shrink: 0;
  transition: all .3s;
}
.status-dot.good { background: var(--good); box-shadow: 0 0 6px var(--good); }
.status-dot.bad  { background: var(--bad); }

.foot-label { font-size: 9px; font-family: var(--mono); color: var(--s-muted); text-transform: uppercase; letter-spacing: 1px; }
.foot-val   { font-size: 11px; color: var(--s-text); font-family: var(--mono); margin-top: 1px; }

.ping-btn {
  background: transparent;
  border: 1px solid var(--s-line);
  border-radius: 50%;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--s-muted);
  transition: all .15s;
  padding: 0;
}
.ping-btn:hover { border-color: var(--red); color: var(--red); }
.ping-icon { width: 14px; height: 14px; }

/* ═══ MAIN WRAP ══════════════════════════════════════════════ */
.main-wrap { display: flex; flex-direction: column; min-height: 100vh; min-width: 0; }

/* Topbar */
.topbar {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 28px 0;
  background: rgba(13,13,20,.95);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
}

.topbar-left { }
.page-eyebrow { font-family: var(--mono); font-size: 9px; color: var(--muted2); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1px; }
.page-title   { font-family: var(--display); font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -.3px; }

.topbar-right { display: flex; align-items: center; gap: 10px; }

.conn-pill {
  font-family: var(--mono);
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--panel2);
  transition: all .3s;
  white-space: nowrap;
}
.conn-pill.good { color: var(--good); border-color: rgba(34,197,94,.3); background: rgba(34,197,94,.06); }
.conn-pill.bad  { color: var(--bad);  border-color: rgba(239,68,68,.3);  background: rgba(239,68,68,.06); }

.topbar-ping {
  display: flex; align-items: center; gap: 5px;
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  cursor: pointer;
  transition: all .15s;
}
.topbar-ping:hover { border-color: var(--red); color: var(--red); }

/* ═══ MAIN ═══════════════════════════════════════════════════ */
.main { flex: 1; padding: 24px 28px; }

.page { display: none; animation: fadeIn .16s ease; }
.page.active { display: block; }

@keyframes fadeIn { from { opacity:0; transform:translateY(3px); } to { opacity:1; transform:none; } }

/* Subs */
.sub { display: none; }
.sub.active { display: block; animation: fadeIn .16s ease; }

/* Section head */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.section-head h2 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.3px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.title-icon { width: 20px; height: 20px; color: var(--red); stroke-width: 2; flex-shrink: 0; }

/* ═══ DASHBOARD ══════════════════════════════════════════════ */
.dash-hero {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: 14px;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}

.dash-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--red);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.dash-hero h2 {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -.5px;
}
.dash-hero p { color: var(--muted); font-size: 13px; max-width: 600px; line-height: 1.6; }

.dash-hero-stat { text-align: center; flex-shrink: 0; }
.stat-num   { font-family: var(--display); font-size: 54px; font-weight: 900; color: var(--red); line-height: 1; }
.stat-label { font-size: 11px; font-family: var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* Module grid */
.dash-modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.dash-mod {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all .15s;
}
.dash-mod:hover { border-color: var(--red); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,.3); }

.dash-mod-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dash-mod-icon svg, .dash-mod-icon i { width: 20px; height: 20px; }

.dash-mod-body { flex: 1; min-width: 0; }
.dash-mod-name { font-weight: 700; font-size: 13px; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-mod-desc { font-size: 11px; color: var(--muted); line-height: 1.4; }
.dash-arr { color: var(--muted2); font-size: 16px; flex-shrink: 0; transition: all .15s; }
.dash-mod:hover .dash-arr { color: var(--red); transform: translateX(3px); }

/* Stack */
.dash-stack {
  display: flex;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.stack-card { flex: 1; padding: 16px 20px; border-right: 1px solid var(--line); }
.stack-card:last-child { border-right: none; }
.stack-badge { font-family: var(--mono); font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 5px; }
.stack-val   { font-family: var(--display); font-size: 17px; font-weight: 700; }
.stack-note  { font-size: 11px; color: var(--muted); font-family: var(--mono); margin-top: 2px; }
.stack-arrow { padding: 0 6px; color: var(--muted2); flex-shrink: 0; display: flex; align-items: center; }

/* ═══ CARDS ══════════════════════════════════════════════════ */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 50px 20px;
  color: var(--muted2);
}
.empty-icon { width: 36px; height: 36px; margin: 0 auto 12px; opacity: .3; display: block; }
.empty-state p { font-size: 13px; font-family: var(--mono); }

/* ═══ BUTTONS ════════════════════════════════════════════════ */
.btn {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: filter .15s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn:hover { filter: brightness(1.12); }
.btn.sec {
  background: var(--panel2);
  color: var(--muted);
  border: 1px solid var(--line);
}
.btn.sec:hover { color: var(--text); filter: none; border-color: var(--muted); }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* ═══ FORMS ══════════════════════════════════════════════════ */
label {
  display: block;
  font-size: 10px;
  font-family: var(--mono);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 5px;
}

input, select, textarea {
  width: 100%;
  background: var(--panel2);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: var(--body);
  font-size: 13px;
  outline: none;
  transition: border-color .15s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(220,20,60,.1);
}
textarea { resize: vertical; font-family: var(--mono); font-size: 12px; }

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

/* Drop zone */
.drop-zone {
  border: 2px dashed var(--line);
  background: var(--panel2);
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all .15s;
  margin-bottom: 14px;
}
.drop-zone:hover, .drop-zone.dragover { border-color: var(--red); background: var(--red-dim); }
.drop-zone input { display: none; }
.drop-lucide { width: 28px; height: 28px; color: var(--muted2); margin: 0 auto 8px; display: block; }
.drop-zone strong { display: block; font-size: 14px; margin-bottom: 4px; }
.drop-zone span   { font-size: 12px; color: var(--muted); }

/* Stat strip */
.stat-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 14px; }
.stat-cell  { background: var(--panel2); border: 1px solid var(--line); border-radius: 8px; padding: 10px; }
.stat-label { font-size: 9px; font-family: var(--mono); color: var(--muted2); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 3px; }
.stat-val   { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Status bar */
.status-bar {
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 12px;
  font-family: var(--mono);
  color: var(--muted);
}

/* Table */
.table-wrap { border: 1px solid var(--line); border-radius: 10px; overflow: auto; max-height: 500px; margin-top: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
thead th {
  background: var(--panel2);
  color: var(--red);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 10px 12px;
  text-align: left;
  position: sticky; top: 0; z-index: 2;
  border-bottom: 1px solid var(--line);
}
tbody td { padding: 9px 12px; border-bottom: 1px solid var(--line); color: var(--text); }
tbody tr:hover td { background: var(--panel2); }

/* Pre / output */
pre#output {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  font-family: var(--mono);
  font-size: 12px;
  color: #5eff5e;
  white-space: pre-wrap;
  min-height: 90px;
}

/* ═══ RESPONSIVE ═════════════════════════════════════════════ */
@media (max-width: 960px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; }
  .dash-modules { grid-template-columns: 1fr; }
  .dash-hero { flex-direction: column; }
  .dash-stack { flex-direction: column; }
  .stack-card { border-right: none; border-bottom: 1px solid var(--line); }
  .main { padding: 16px; }
  .topbar { padding: 0 16px; }
  .field-row { flex-direction: column; }
  .stat-strip { grid-template-columns: repeat(2,1fr); }
}

/* ── ADD-ON QUEUE ──────────────────────────────────────────── */
.count-badge {
  font-family: var(--mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--panel2);
  border: 1px solid var(--line);
  color: var(--muted);
}

.card-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted2);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 12px;
}

.status-badge {
  font-family: var(--mono);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.status-badge.pending { background: rgba(245,158,11,.12); color: var(--warn); border: 1px solid rgba(245,158,11,.3); }
.status-badge.done    { background: rgba(34,197,94,.12);  color: var(--good); border: 1px solid rgba(34,197,94,.3); }

.empty-cell {
  text-align: center;
  padding: 30px;
  color: var(--muted2);
  font-family: var(--mono);
  font-size: 12px;
}

/* Transfer tool receiver picker */
#tran-receiver-menu label:hover {
  background: rgba(220,20,60,.1);
}

/* ── STAT CARD COLOR VARIANTS ─────────────────────────────── */
.stat-card-red    { border-top: 2px solid var(--red) !important; }
.stat-card-amber  { border-top: 2px solid #f59e0b !important; }
.stat-card-sky    { border-top: 2px solid #0ea5e9 !important; }
.stat-card-emerald{ border-top: 2px solid #10b981 !important; }
.stat-card-violet { border-top: 2px solid #7c3aed !important; }
.stat-card-pink   { border-top: 2px solid #e879f9 !important; }

.stat-card-red .stat-val    { color: var(--red); }
.stat-card-amber .stat-val  { color: #f59e0b; }
.stat-card-sky .stat-val    { color: #0ea5e9; }
.stat-card-emerald .stat-val{ color: #10b981; }
.stat-card-violet .stat-val { color: #7c3aed; }
.stat-card-pink .stat-val   { color: #e879f9; }

/* ── NAV GROUP LABEL COLOR POP ────────────────────────────── */
.nav-group-label {
  font-family: var(--mono) !important;
  font-size: 9px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  padding: 14px 16px 5px !important;
  color: #4a4a6a !important;
}

/* Section accent colors */
.nav-group-label[data-section="shared"]   { color: #5a7a9a !important; }
.nav-group-label[data-section="cs"]       { color: #9a6a4a !important; }
.nav-group-label[data-section="ops"]      { color: #6a7a4a !important; }
.nav-group-label[data-section="wh"]       { color: #4a6a7a !important; }
.nav-group-label[data-section="pt"]       { color: #7a4a9a !important; }
.nav-group-label[data-section="reports"]  { color: #4a8a6a !important; }
.nav-group-label[data-section="system"]   { color: #7a6a4a !important; }

/* ── COMING SOON STYLE ────────────────────────────────────── */
.empty-state p {
  color: var(--s-muted);
  font-size: 13px;
}
.empty-state p strong {
  color: var(--red);
}

/* ── TRAN TAB ACTIVE ──────────────────────────────────────── */
.active-tran {
  background: var(--red) !important;
  color: #fff !important;
  border-color: var(--red) !important;
}

/* ── CYCLE COUNT ──────────────────────────────────────────── */
#user-list .item-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}
#user-list .item-card h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}
#user-list .item-card .cc-sub {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}
#user-list .cc-field-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
  margin-top: 10px;
  display: block;
}
#user-list .counted-input,
#user-list .location-input,
#user-list .count-note {
  width: 100%;
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--text);
  font-size: 14px;
  font-family: var(--body);
  box-sizing: border-box;
  margin-top: 4px;
}
#user-list .count-note {
  min-height: 60px;
  resize: vertical;
  font-size: 13px;
}
#user-list .cc-toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
}
#user-list .cc-toggle-row input[type=checkbox] {
  width: 20px;
  height: 20px;
  accent-color: var(--red);
  flex-shrink: 0;
}
#user-list .cc-submit-btn {
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  font-family: var(--body);
}
#user-list .cc-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
#user-list .cc-done-card {
  background: rgba(34,197,94,0.06);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--good);
}

/* ── TAG CREATOR ─────────────────────────────────────────── */
.tag-card {
  background: #fff;
  border-radius: 6px;
  width: 440px;
  min-height: 540px;
  padding: 16px 20px 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  color: #111;
  position: relative;
  box-sizing: border-box;
}
.tag-barcode-area {
  text-align: center;
  margin-bottom: 4px;
}
.tag-barcode-area svg { max-width: 100%; }
.tag-ref-top {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 1px;
}
.tag-pc-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #111;
}
.tag-supplier {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tag-style {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 2px;
  word-break: break-word;
}
.tag-color {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 4px;
  word-break: break-word;
}
.tag-sidemark {
  font-size: 22px;
  font-weight: 700;
  color: #DC143C;
  margin-bottom: 4px;
}
.tag-po-line {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}
.tag-spacer { flex: 1; }
.tag-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 6px;
}
.tag-date-row {
  text-align: right;
  font-size: 13px;
  color: #555;
}
