/* Maxx Graphics Work-Ticket - Infraweb 2011 fidelity styles */
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  font-family: "Times New Roman", Times, serif;
  font-size: 12px;
  color: #003366;
  background: #ffffff;
  height: 100%;
}
a { color: #0033cc; text-decoration: underline; }
a:hover { color: #0066ff; }
table { border-collapse: collapse; }
input[type=text], input[type=password], select, textarea {
  font-family: "Times New Roman", Times, serif;
  font-size: 12px;
  border: 1px solid #7a9abb;
  padding: 1px 3px;
  background: #e8f0fe;
  color: #000;
}
input[type=text]:focus, input[type=password]:focus, select:focus, textarea:focus {
  background: #fff;
  outline: 1px solid #2b63a0;
}
textarea { width: 98%; height: 72px; background: #e8f0fe; }
button, input[type=submit], .btn {
  font-family: "Times New Roman", Times, serif;
  font-size: 12px;
  color: #003366;
  background: linear-gradient(to bottom, #f4f8fd 0%, #d7e6f6 45%, #b8cde5 100%);
  border: 1px solid #6a8aaa;
  padding: 2px 14px;
  cursor: pointer;
  border-radius: 0;
}
button:hover, input[type=submit]:hover { background: linear-gradient(to bottom, #ffffff 0%, #e4eef8 50%, #c5d8ec 100%); }
button:disabled { opacity: 0.45; cursor: default; color: #888; }

/* ===== Login — Flyerz simple / attractive ===== */
body.fz-login {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #f4f6fb;
  color: #0f172a;
}
.fz-accent {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ec4899, #8b5cf6, #06b6d4, #f59e0b);
  z-index: 10;
}
.fz-card {
  width: min(380px, calc(100% - 40px));
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e8ecf4;
  padding: 36px 32px 28px;
  box-shadow: 0 1px 2px rgba(15,23,42,0.04), 0 12px 32px rgba(15,23,42,0.07);
}
.fz-mark { text-align: center; margin-bottom: 28px; }
.fz-wordmark {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #0f172a;
  margin: 0;
}
.fz-wordmark span {
  background: linear-gradient(90deg, #ec4899, #8b5cf6, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fz-tag {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}
.fz-form { display: flex; flex-direction: column; gap: 6px; }
.fz-label {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  margin-top: 8px;
}
.fz-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  background: #f8fafc;
  transition: border-color .15s, box-shadow .15s, background .15s;
  outline: none;
  color: #0f172a;
}
.fz-input:focus {
  border-color: #a78bfa;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(139,92,246,0.15);
}
.fz-submit {
  margin-top: 18px;
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(90deg, #ec4899, #8b5cf6 50%, #06b6d4);
  letter-spacing: 0.01em;
}
.fz-submit:hover { filter: brightness(1.04); }
.fz-submit:active { transform: translateY(1px); }
.fz-foot {
  margin: 22px 0 0;
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.5;
}
.fz-foot strong { color: #64748b; font-weight: 600; }
.fz-err {
  background: #fef2f2;
  color: #be123c;
  border: 1px solid #fecdd3;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  margin-bottom: 8px;
}
body.login-page { background: #f4f6fb; }


/* ===== Flyerz Dashboard ===== */
body.fz-dash {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(109,40,217,0.08), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(6,182,212,0.07), transparent 50%),
    #f1f5f9;
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
}
body.fz-dash .fz-accent {
  height: 3px;
  background: linear-gradient(90deg, #6d28d9, #06b6d4, #84cc16, #f59e0b, #ef4444);
}
.fz-dash-top {
  max-width: 860px;
  margin: 0 auto;
  padding: 28px 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.fz-dash-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.fz-dash-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  background: linear-gradient(135deg, #6d28d9, #06b6d4);
  box-shadow: 0 8px 20px rgba(109,40,217,0.28);
  letter-spacing: -0.04em;
}
.fz-dash-brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1.15;
}
.fz-dash-brand-name span {
  background: linear-gradient(90deg, #6d28d9, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fz-dash-brand-tag {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}
.fz-dash-userbar {
  display: flex;
  align-items: center;
  gap: 14px;
}
.fz-dash-user {
  font-size: 13px;
  color: #64748b;
}
.fz-dash-user strong { color: #334155; font-weight: 600; }
.fz-dash-logout {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  transition: color .12s, border-color .12s, background .12s;
}
.fz-dash-logout:hover {
  color: #be123c;
  border-color: #fecdd3;
  background: #fff1f2;
}
.fz-dash-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 28px 28px 40px;
}
.fz-dash-hero {
  margin-bottom: 28px;
}
.fz-dash-title {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #0f172a;
}
.fz-dash-sub {
  margin: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.45;
}
.fz-dash-section {
  margin-bottom: 28px;
}
.fz-dash-section-title {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
}
.fz-dash-grid {
  display: grid;
  gap: 14px;
}
.fz-dash-grid-primary {
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .fz-dash-grid-primary {
    grid-template-columns: repeat(3, 1fr);
  }
}
.fz-action {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 18px 16px;
  box-shadow: 0 1px 2px rgba(15,23,42,0.04), 0 10px 28px rgba(15,23,42,0.04);
  transition: background .15s, box-shadow .15s, transform .15s, border-color .15s;
  min-height: 88px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}
.fz-action::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: #cbd5e1;
}
.fz-a1::before { background: linear-gradient(180deg, #ec4899, #6d28d9); }
.fz-a2::before { background: linear-gradient(180deg, #8b5cf6, #06b6d4); }
.fz-a3::before { background: linear-gradient(180deg, #06b6d4, #0ea5e9); }
.fz-action:hover {
  background: #fff;
  border-color: #c7d2fe;
  box-shadow: 0 4px 12px rgba(109,40,217,0.1), 0 16px 36px rgba(15,23,42,0.08);
  transform: translateY(-2px);
}
.fz-action-ico {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
  color: #4c1d95;
  background: #f5f3ff;
  border: 1px solid #ede9fe;
}
.fz-a2 .fz-action-ico {
  color: #5b21b6;
  background: #f3e8ff;
  border-color: #e9d5ff;
}
.fz-a3 .fz-action-ico {
  color: #0e7490;
  background: #ecfeff;
  border-color: #a5f3fc;
}
.fz-action-body {
  flex: 1 1 auto;
  min-width: 0;
}
.fz-action-label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.015em;
}
.fz-action-hint {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.35;
}
.fz-action-arrow {
  flex: 0 0 auto;
  color: #cbd5e1;
  font-size: 16px;
  transition: color .12s, transform .12s;
}
.fz-action:hover .fz-action-arrow {
  color: #6d28d9;
  transform: translateX(2px);
}
.fz-other {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15,23,42,0.04), 0 10px 28px rgba(15,23,42,0.04);
  box-sizing: border-box;
}
.fz-other summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.fz-other summary::-webkit-details-marker { display: none; }
.fz-other-summary-main { display: block; }
.fz-other-summary-label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.fz-other-summary-hint {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  color: #94a3b8;
  font-weight: 400;
}
.fz-other summary::after {
  content: "▾";
  color: #94a3b8;
  font-weight: 400;
  font-size: 14px;
}
.fz-other[open] summary::after { content: "▴"; }
.fz-other[open] summary {
  border-bottom: 1px solid #f1f5f9;
}
.fz-other-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 14px 16px 18px;
}
@media (min-width: 640px) {
  .fz-other-list {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
}
.fz-other-group-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
  margin: 0 0 6px 4px;
}
.fz-other-list a {
  display: block;
  text-decoration: none;
  color: #475569;
  font-size: 13.5px;
  font-weight: 500;
  padding: 9px 10px;
  border-radius: 10px;
}
.fz-other-list a:hover {
  background: #f8fafc;
  color: #0f172a;
}
.fz-dash-foot {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 28px 36px;
  font-size: 12px;
  color: #94a3b8;
  text-align: center;
}
@media (max-width: 560px) {
  .fz-dash-top, .fz-dash-main { padding-left: 18px; padding-right: 18px; }
  .fz-dash-user { display: none; }
  .fz-dash-title { font-size: 24px; }
}


.fz-dash-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 8px;
}
.fz-dash-section-head .fz-dash-section-title {
  margin: 0;
}
.fz-dash-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #334155;
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
  padding: 4px 10px;
  border-radius: 999px;
}
.fz-dash-section-note {
  margin: 0 0 12px;
  font-size: 13px;
  color: #64748b;
  line-height: 1.45;
  max-width: 640px;
}
.fz-dash-grid-maxx {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .fz-dash-grid-maxx {
    grid-template-columns: 1fr 1fr;
  }
}
.fz-amaxx::before { background: linear-gradient(180deg, #475569, #0f172a); }
.fz-amaxx2::before { background: linear-gradient(180deg, #334155, #1e293b); }
.fz-amaxx .fz-action-ico,
.fz-amaxx2 .fz-action-ico {
  color: #0f172a;
  background: #f1f5f9;
  border-color: #e2e8f0;
}
.fz-amaxx:hover,
.fz-amaxx2:hover {
  border-color: #94a3b8;
  box-shadow: 0 4px 12px rgba(15,23,42,0.1), 0 16px 36px rgba(15,23,42,0.08);
}
.fz-amaxx:hover .fz-action-arrow,
.fz-amaxx2:hover .fz-action-arrow {
  color: #0f172a;
}

/* ===== Shell ===== */
.shell { width: 100%; min-height: 100vh; background: #fff; }
.shell-top {
  background: linear-gradient(to bottom, #98b0dc 0%, #c5d4ec 35%, #e8f0f8 70%, #ffffff 100%);
  border-bottom: 1px solid #2b63a0;
  padding: 4px 10px 2px 6px;
  min-height: 88px;
  position: relative;
}
.shell-logo {
  float: left;
  margin: 0 12px 0 0;
}
.shell-logo img {
  display: block;
  height: 78px;
  width: auto;
  max-width: 265px;
  border: none;
}
.shell-meta {
  float: right;
  text-align: right;
  font-size: 11px;
  color: #003366;
  font-family: "Times New Roman", Times, serif;
  line-height: 1.35;
  padding-top: 10px;
  padding-right: 8px;
}
.shell-meta a { color: #0033cc; }
.shell-body {
  display: table;
  width: 100%;
  min-height: calc(100vh - 90px);
  border-top: none;
}
.shell-menu {
  display: table-cell;
  width: 158px;
  vertical-align: top;
  background: #e6edf9;
  border-right: 1px solid #003d71;
  padding: 6px 4px 10px 4px;
}
.shell-content {
  display: table-cell;
  vertical-align: top;
  padding: 0;
  background: #fff;
}
.hi-bar {
  padding: 3px 10px;
  font-size: 11px;
  color: #003366;
  border-bottom: 1px solid #c5d4ec;
  background: #f4f8fc;
  font-family: Arial, Helvetica, sans-serif;
}

/* Left nav */
.nav-section { margin: 0 2px 8px 2px; border: 1px solid #2b63a0; background: #fff; }
.nav-head {
  background: linear-gradient(to bottom, #6a9cc8 0%, #3a6a98 100%);
  color: #fff;
  font-weight: bold;
  font-size: 11px;
  padding: 3px 8px;
  letter-spacing: 0.4px;
  font-family: Arial, Helvetica, sans-serif;
  border-bottom: 1px solid #2a4a68;
}
.nav-links { background: #fff; padding: 2px 0 4px 0; }
.nav-links a {
  display: block;
  padding: 2px 8px 2px 10px;
  color: #0033cc;
  text-decoration: none;
  font-size: 11px;
  font-family: "Times New Roman", Times, serif;
  line-height: 1.35;
}
.nav-links a:hover { background: #d7e6f6; text-decoration: underline; }
.nav-links a.active { background: #c5d4ec; }

/* Page chrome */
.content-frame {
  margin: 6px 8px 12px 8px;
  border: 1px solid #2b63a0;
  background: #fff;
  min-height: 200px;
}
.page-title {
  background: linear-gradient(to bottom, #98b0dc 0%, #c5d4ec 40%, #e8f0fe 75%, #ffffff 100%);
  border-bottom: 1px solid #2b63a0;
  text-align: center;
  font-family: "Times New Roman", Times, serif;
  font-size: 18px;
  color: #003366;
  padding: 5px 8px;
  font-weight: normal;
}
.page-inner { padding: 8px 12px 16px 12px; }
.section-head {
  text-align: center;
  font-weight: bold;
  color: #003366;
  font-size: 13px;
  margin: 12px 0 6px 0;
  border-bottom: 1px solid #2b63a0;
  padding-bottom: 2px;
  font-family: "Times New Roman", Times, serif;
}
.form-box {
  border: 1px solid #91abd7;
  background: #fff;
  padding: 6px 8px 8px 8px;
  margin: 6px 0;
}
.form-box .box-title {
  text-align: center;
  font-weight: bold;
  font-family: "Times New Roman", Times, serif;
  font-size: 14px;
  color: #003366;
  margin-bottom: 4px;
}
.req { color: #003366; font-weight: bold; }
.label-cell {
  text-align: left;
  padding: 2px 6px 2px 2px;
  white-space: nowrap;
  color: #003366;
  vertical-align: middle;
  font-family: "Times New Roman", Times, serif;
  font-size: 12px;
}
.field-cell { padding: 1px 4px; vertical-align: middle; }
.readonly-val {
  font-weight: bold;
  color: #003399;
  padding: 2px 4px;
  font-style: normal;
}
.readonly-auto {
  font-style: italic;
  color: #003399;
  font-weight: normal;
}
.money-ro {
  background: #d1d9e6 !important;
  text-align: right;
  width: 78px;
  font-weight: bold;
}
.money-in { text-align: right; width: 78px; background: #e8f0fe; }
.form-table { width: 100%; }
.form-table td { vertical-align: middle; }
.footer-links {
  margin: 14px 4px 4px 4px;
  font-size: 12px;
  font-family: "Times New Roman", Times, serif;
}
.footer-links ul { margin: 0; padding-left: 18px; }
.footer-links li { margin: 2px 0; }

/* List / filter */
.status-line {
  margin: 4px 0 6px 2px;
  font-size: 12px;
  color: #003366;
  font-style: italic;
  font-family: "Times New Roman", Times, serif;
}
.status-line strong, .status-line b { font-style: italic; font-weight: bold; color: #0033cc; }
.filter-table { width: 100%; margin: 0 auto; }
.filter-table th {
  font-weight: bold;
  text-align: center;
  padding: 2px 4px;
  font-size: 11px;
  color: #003366;
  font-family: "Times New Roman", Times, serif;
}
.filter-table td { padding: 2px 4px; text-align: center; }
.filter-table input[type=text] {
  width: 100%;
  max-width: 150px;
  background: #fff;
}
.filter-table select { background: #fff; }
.filter-btn-row { text-align: center; margin-top: 6px; padding-top: 4px; }
.page-nav {
  text-align: center;
  margin: 10px 0;
  padding: 4px;
}
.page-nav .page-label {
  display: block;
  font-weight: bold;
  margin-bottom: 4px;
  font-size: 12px;
  color: #003366;
}
.data-table {
  width: 100%;
  border: none;
  margin-top: 4px;
}
.data-table th {
  text-align: left;
  padding: 3px 6px;
  border-bottom: 1px solid #003366;
  color: #003366;
  font-size: 12px;
  font-weight: bold;
  text-decoration: underline;
  background: transparent;
  font-family: "Times New Roman", Times, serif;
}
.data-table td {
  padding: 2px 6px;
  border-bottom: 1px solid #d0d8e0;
  vertical-align: middle;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  color: #003366;
}
.data-table tr.row-a { background: #ffffff; }
.data-table tr.row-b { background: #edf4fb; }
.data-table a.wt-link { font-weight: bold; color: #0033cc; text-decoration: underline; }
.icon-yes, .icon-no { display: inline-block; vertical-align: middle; }
.icon-yes img, .icon-no img, .actions img {
  width: 14px; height: 14px; vertical-align: middle; border: none;
}
.actions a { margin-right: 5px; font-size: 11px; white-space: nowrap; }
.actions .ico-link { text-decoration: none; }
.btn-row { text-align: center; margin: 14px 0 6px 0; }
.btn-row button { margin: 0 12px; min-width: 88px; }
.hint {
  margin-top: 10px;
  font-size: 11px;
  color: #666;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
}
.stub-note {
  margin: 20px 12px;
  padding: 12px;
  border: 1px solid #91abd7;
  background: #f4f8fc;
  color: #003366;
  font-family: Arial, Helvetica, sans-serif;
}
.err { color: #cc0000; text-align: center; margin: 6px; font-family: Arial, Helvetica, sans-serif; }
.criteria-table { width: 100%; border-collapse: collapse; }
.criteria-table th {
  border-right: 1px solid #ccc;
  padding: 4px 10px;
  font-weight: bold;
  text-align: left;
  font-size: 12px;
  color: #003366;
}
.criteria-table td {
  border-right: 1px solid #ccc;
  padding: 6px 10px;
  vertical-align: top;
}
.criteria-table th:last-child, .criteria-table td:last-child { border-right: none; }
.part-head {
  text-align: center;
  font-weight: bold;
  color: #003366;
  padding: 4px;
  background: transparent;
  border-bottom: 1px solid #2b63a0;
  font-size: 13px;
}
.part-sep td { border-top: 1px solid #ccc; padding-top: 4px; }

/* Flyerz chrome */
.flyerz-split { width: 100%; }
.flyerz-split td { vertical-align: top; }
.activity-box {
  border: 1px solid #91abd7;
  margin-left: 8px;
  width: 200px;
}
.activity-box .act-head {
  background: linear-gradient(to bottom, #6a9cc8 0%, #3a6a98 100%);
  color: #fff;
  text-align: center;
  padding: 3px;
  font-size: 11px;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
}
.activity-box table { width: 100%; }
.activity-box td {
  padding: 3px 6px;
  font-size: 11px;
  font-family: Arial, Helvetica, sans-serif;
  border-bottom: 1px solid #e0e8f0;
}
.flyerz-data tr.row-a { background: #ffffff; }
.flyerz-data tr.row-b { background: #ccffcc; }
.plain-bar {
  background: #5c7096;
  color: #000;
  padding: 6px 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}
.plain-bar input[type=text] { background: #fff; }
.info-banner {
  background: #d9edf7;
  color: #2e7d32;
  padding: 10px 12px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}
.plain-headers {
  font-family: "Times New Roman", Times, serif;
  font-weight: bold;
  font-size: 12px;
  color: #000;
  padding: 8px 4px;
}
.plain-headers span { display: inline-block; margin-right: 18px; }
.users-meta {
  font-size: 12px;
  color: #003366;
  margin: 4px 0 8px 0;
  line-height: 1.4;
  font-family: "Times New Roman", Times, serif;
}
.users-meta em { font-style: italic; color: #0033cc; }

/* ===== Flyerz Add Order ===== */
body.fz-order {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(236,72,153,0.10), transparent 55%),
    radial-gradient(900px 420px at 95% 0%, rgba(6,182,212,0.10), transparent 50%),
    radial-gradient(700px 400px at 50% 100%, rgba(139,92,246,0.08), transparent 55%),
    #f3f5fb;
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
}
body.fz-order input[type=text],
body.fz-order input[type=password],
body.fz-order input[type=email],
body.fz-order input[type=date],
body.fz-order input[type=number],
body.fz-order select,
body.fz-order textarea {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 13.5px;
  border: 1px solid #e2e8f0;
  padding: 7px 10px;
  background: #f8fafc;
  color: #0f172a;
  border-radius: 8px;
  width: 100%;
}
body.fz-order input[type=text]:focus,
body.fz-order input[type=email]:focus,
body.fz-order input[type=date]:focus,
body.fz-order input[type=number]:focus,
body.fz-order select:focus,
body.fz-order textarea:focus {
  border-color: #a78bfa;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(139,92,246,0.15);
}
body.fz-order textarea {
  height: auto;
  resize: vertical;
  min-height: 64px;
}
body.fz-order input[readonly],
body.fz-order .fz-money-ro {
  background: #f1f5f9 !important;
  color: #334155;
  cursor: default;
}
.fz-order-top {
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.fz-order-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
}
.fz-order-nav a {
  color: #64748b;
  text-decoration: none;
  font-weight: 600;
}
.fz-order-nav a:hover { color: #8b5cf6; }
.fz-order-sep { color: #cbd5e1; }
.fz-order-main {
  max-width: 920px;
  margin: 0 auto;
  padding: 12px 20px 48px;
}
.fz-order-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.fz-order-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.fz-order-meta .fz-field-inline {
  min-width: 140px;
}
.fz-order-meta .fz-field-inline label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 4px;
}
.fz-order-meta .fz-input {
  min-width: 150px;
}
.fz-order-form { display: flex; flex-direction: column; gap: 8px; }
body.fz-order .fz-card.fz-sec {
  width: auto;
  max-width: none;
  padding: 12px 14px 12px;
  border-radius: 12px;
  border: 1px solid #e8ecf4;
  box-shadow: 0 1px 2px rgba(15,23,42,0.04), 0 8px 24px rgba(15,23,42,0.05);
}
.fz-sec-h {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 8px;
  padding: 0 0 6px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0f172a;
}
.fz-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(90deg, #ec4899, #8b5cf6 55%, #06b6d4);
}
.fz-sec-hint {
  font-size: 12px;
  font-weight: 500;
  color: #94a3b8;
}
.fz-grid-2,
.fz-job-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
}
.fz-field { display: flex; flex-direction: column; gap: 3px; }
.fz-field label {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}
.fz-req {
  color: #a78bfa;
  font-weight: 700;
  margin-left: 1px;
}
.fz-span-2 { grid-column: 1 / -1; }
.fz-ta { min-height: 96px; }
.fz-ta-sm { min-height: 64px; }

/* 6A client quote instructions */
.fz-brief-a {
  border-left: 3px solid #3b82f6;
  background: #f8fafc;
  border-radius: 0 12px 12px 0;
  padding: 12px 14px 14px;
  margin-bottom: 14px;
}
.fz-brief-a .fz-input { background: #fff; }

/* 6B internal designer brief */
.fz-brief-b {
  border: 1.5px dashed #f59e0b;
  background: #fffbeb;
  border-radius: 12px;
  padding: 12px 14px 14px;
}
.fz-brief-b .fz-input {
  background: #fff;
  border-color: #fcd34d;
}
.fz-brief-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
}
.fz-brief-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
}
.fz-tag-client {
  background: #dbeafe;
  color: #1d4ed8;
}
.fz-brief-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f59e0b;
  color: #fff;
}

/* Pricing */
.fz-price-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 420px;
  margin-left: auto;
}
.fz-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.fz-price-row label,
.fz-price-row > span {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}
.fz-money {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 160px;
}
.fz-currency {
  font-size: 13px;
  font-weight: 700;
  color: #94a3b8;
}
.fz-money-in,
.fz-money-ro {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.fz-price-sub {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid #e8ecf4;
}
.fz-price-total {
  margin-top: 2px;
  padding: 10px 12px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(236,72,153,0.08), rgba(139,92,246,0.08), rgba(6,182,212,0.08));
}
.fz-price-total > span {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}
.fz-price-total .fz-money-ro {
  font-weight: 800;
  color: #0f172a;
  background: #fff !important;
}
.fz-price-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: #94a3b8;
  text-align: right;
}

/* Actions */
.fz-order-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  padding-top: 4px;
}
.fz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 700;
  font-family: Inter, system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
  border: none;
  letter-spacing: 0.01em;
}
.fz-btn-ghost {
  background: #fff;
  color: #64748b;
  border: 1px solid #e2e8f0;
}
.fz-btn-ghost:hover {
  background: #f8fafc;
  color: #0f172a;
}
.fz-btn-primary {
  color: #fff;
  background: linear-gradient(90deg, #ec4899, #8b5cf6 50%, #06b6d4);
  box-shadow: 0 4px 14px rgba(139,92,246,0.25);
}
.fz-btn-primary:hover { filter: brightness(1.04); }
.fz-btn-primary:active { transform: translateY(1px); }

@media (max-width: 720px) {
  .fz-grid-2,
  .fz-job-grid { grid-template-columns: 1fr; }
  .fz-span-2 { grid-column: 1; }
  .fz-order-head { flex-direction: column; }
  .fz-price-table { max-width: none; margin-left: 0; }
  .fz-order-actions { flex-direction: column-reverse; align-items: stretch; }
}


/* ===== Flyerz Add Order Simple ===== */
.fz-order-simple {
  width: calc(100% - 32px);
  max-width: 1600px;
  box-sizing: border-box;
  padding-bottom: 24px;
}

.fz-order .fz-order-top {
  width: calc(100% - 32px);
  max-width: 1600px;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 14px 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.fz-order .fz-order-brand {
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}
.fz-order .fz-order-brand span {
  background: linear-gradient(90deg, #ec4899, #8b5cf6, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fz-order .fz-order-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: #64748b;
}
.fz-order .fz-order-nav a {
  text-decoration: none;
  color: #475569;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.75);
  border: 1px solid #e8ecf4;
}
.fz-order .fz-order-nav a:hover { background: #fff; color: #0f172a; }
.fz-order .fz-order-nav strong { color: #0f172a; }

.fz-order-simple .fz-order-title {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #0f172a;
}
.fz-order-simple .fz-order-sub {
  margin: 4px 0 12px;
  font-size: 13px;
  color: #64748b;
}

.fz-order-simple .fz-order-meta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px 10px;
  margin-bottom: 8px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(8px);
  border: 1px solid #e8ecf4;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15,23,42,0.03), 0 10px 28px rgba(15,23,42,0.05);
}

.fz-order-simple .fz-card-sec {
  background: #ffffff;
  border: 1px solid #e8ecf4;
  border-radius: 12px;
  padding: 12px 14px 10px;
  margin-bottom: 8px;
  box-shadow: 0 1px 2px rgba(15,23,42,0.03), 0 8px 20px rgba(15,23,42,0.04);
}
.fz-order-simple .fz-card-sec h2 {
  margin: 0 0 8px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0f172a;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.fz-order-simple .fz-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 55%, #06b6d4 100%);
  box-shadow: 0 3px 8px rgba(139,92,246,0.24);
}
.fz-order-simple .fz-shared {
  margin-left: 2px;
  font-size: 9px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 999px;
}

.fz-order-simple .fz-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 10px;
}
.fz-order-simple .fz-span-2 { grid-column: 1 / -1; }

.fz-order-simple .fz-field label {
  display: block;
  font-size: 11px;
  font-weight: 650;
  color: #64748b;
  margin-bottom: 3px;
  letter-spacing: 0.01em;
}
.fz-order-simple .fz-field input,
.fz-order-simple .fz-field select,
.fz-order-simple .fz-field textarea,
.fz-order-simple .fz-note-client textarea,
.fz-order-simple .fz-note-internal textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 13.5px;
  font-family: inherit;
  background: #f8fafc;
  color: #0f172a;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.fz-order-simple .fz-field input:hover,
.fz-order-simple .fz-field select:hover,
.fz-order-simple .fz-field textarea:hover {
  border-color: #cbd5e1;
}
.fz-order-simple .fz-field input:focus,
.fz-order-simple .fz-field select:focus,
.fz-order-simple .fz-field textarea:focus,
.fz-order-simple textarea:focus {
  outline: none;
  border-color: #a78bfa;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(139,92,246,0.14);
}
.fz-order-simple .fz-readonly {
  padding: 7px 10px;
  border-radius: 8px;
  background: linear-gradient(135deg, #eef2ff, #f5f3ff);
  color: #5b21b6;
  font-weight: 700;
  font-size: 13.5px;
  border: 1px solid #e9e5ff;
}
.fz-order-simple .req { color: #e11d48; font-weight: 700; }

.fz-order-simple .fz-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.fz-order-simple .fz-seg-opt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 9px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all .15s;
}
.fz-order-simple .fz-seg-opt:hover { border-color: #c4b5fd; background: #faf5ff; }
.fz-order-simple .fz-seg-opt:has(input:checked) {
  border-color: #8b5cf6;
  background: linear-gradient(180deg, #faf5ff, #f5f3ff);
  color: #5b21b6;
  box-shadow: 0 0 0 3px rgba(139,92,246,0.12);
}
.fz-order-simple .fz-seg-opt input {
  width: auto;
  margin: 0;
  accent-color: #8b5cf6;
}

.fz-order-simple .fz-note-client,
.fz-order-simple .fz-note-internal {
  border-radius: 10px;
  padding: 8px 10px 8px;
  margin-bottom: 6px;
}
.fz-order-simple .fz-note-client {
  background: linear-gradient(180deg, #eff6ff, #f8fbff);
  border: 1px solid #bfdbfe;
  border-left: 4px solid #3b82f6;
}
.fz-order-simple .fz-note-internal {
  background: linear-gradient(180deg, #fffbeb, #fffdf5);
  border: 1.5px dashed #f59e0b;
}
.fz-order-simple .fz-note-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 999px;
  margin-bottom: 4px;
}
.fz-order-simple .fz-note-tag.client { background: #dbeafe; color: #1d4ed8; }
.fz-order-simple .fz-note-tag.internal { background: #fef3c7; color: #b45309; }
.fz-order-simple .fz-note-client label,
.fz-order-simple .fz-note-internal label {
  display: block;
  font-size: 11px;
  font-weight: 650;
  color: #64748b;
  margin-bottom: 3px;
}

.fz-order-simple .fz-linked-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin: 6px 0 8px;
  padding: 2px 0;
}
.fz-order-simple .fz-linked-title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}
.fz-order-simple .fz-linked-hint {
  margin: 2px 0 0;
  font-size: 12px;
  color: #64748b;
}
.fz-order-simple .fz-btn-link {
  border: none;
  cursor: pointer;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 750;
  font-size: 12.5px;
  color: #fff;
  background: linear-gradient(90deg, #ec4899, #8b5cf6 50%, #06b6d4);
  box-shadow: 0 6px 16px rgba(139,92,246,0.24);
  transition: transform .12s, filter .12s;
}
.fz-order-simple .fz-btn-link:hover { filter: brightness(1.05); transform: translateY(-1px); }

.fz-order-simple .fz-job-card {
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, #ec4899, #8b5cf6, #06b6d4) 1;
  border-image-slice: 1;
  border-top-width: 3px;
  border-radius: 16px;
  /* border-image fights radius — use pseudo via box shadow accent instead */
  border-top: none;
  position: relative;
  overflow: hidden;
}
.fz-order-simple .fz-job-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, #ec4899, #8b5cf6, #06b6d4);
}
.fz-order-simple .fz-job-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(250px, 1fr);
  gap: 12px;
  align-items: start;
}
.fz-order-simple .fz-job-specs {
  min-width: 0;
  padding: 12px;
  background: linear-gradient(180deg, #f8fafc, #fff);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.fz-order-simple .fz-job-notes {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fz-order-simple .fz-job-notes .fz-note-client,
.fz-order-simple .fz-job-notes .fz-note-internal {
  margin: 0;
}
.fz-order-simple .fz-job-notes .fz-note-tag {
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.25;
}
@media (max-width: 860px) {
  .fz-order-simple .fz-job-layout {
    grid-template-columns: 1fr;
  }
}
.fz-order-simple .fz-job-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.fz-order-simple .fz-job-bar h2 { margin: 0; }
.fz-order-simple .fz-job-label {
  margin-left: 6px;
  font-size: 11px;
  font-weight: 800;
  color: #7c3aed;
  background: #f5f3ff;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.fz-order-simple .fz-btn-remove {
  border: 1px solid #fecdd3;
  background: #fff;
  color: #be123c;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 650;
  cursor: pointer;
  transition: background .12s;
}
.fz-order-simple .fz-btn-remove:hover { background: #fff1f2; }

.fz-order-simple .fz-invoice-roll {
  background: linear-gradient(180deg, #ffffff, #fafbff);
  border: 1px solid #e0e7ff;
}
.fz-order-simple .fz-invoice-roll .fz-roll-hint {
  margin: -4px 0 8px;
  font-size: 12px;
  color: #64748b;
}
.fz-order-simple .fz-totals {
  margin-top: 2px;
  display: grid;
  gap: 4px;
}
.fz-order-simple .fz-totals > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #64748b;
  padding: 2px 2px;
}
.fz-order-simple .fz-totals > div strong { color: #0f172a; font-weight: 700; }
.fz-order-simple .fz-total-row {
  margin-top: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  background: linear-gradient(90deg, #0f172a 0%, #312e81 55%, #4c1d95 100%);
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(49,46,129,0.24);
}
.fz-order-simple .fz-total-row span,
.fz-order-simple .fz-total-row strong {
  color: #fff;
  font-size: 15px;
  font-weight: 750;
}

.fz-order-simple .fz-order-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 6px;
  margin-bottom: 32px;
  position: sticky;
  bottom: 10px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(10px);
  border: 1px solid #e8ecf4;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(15,23,42,0.10);
}
.fz-order-simple .fz-btn-ghost {
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 9px;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-weight: 650;
  font-size: 13px;
  background: #fff;
}
.fz-order-simple .fz-btn-ghost:hover { background: #f8fafc; }
.fz-order-simple .fz-btn-primary {
  border: none;
  padding: 9px 18px;
  border-radius: 9px;
  font-weight: 750;
  font-size: 13px;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(90deg, #ec4899, #8b5cf6 55%, #06b6d4);
  box-shadow: 0 6px 16px rgba(139,92,246,0.24);
}
.fz-order-simple .fz-btn-primary:hover { filter: brightness(1.05); }

@media (max-width: 560px) {
  .fz-order-simple .fz-order-meta,
  .fz-order-simple .fz-grid-2 { grid-template-columns: 1fr; }
  .fz-order-simple .fz-span-2 { grid-column: 1; }
  .fz-order-simple .fz-linked-head { flex-direction: column; align-items: stretch; }
  .fz-order-simple .fz-order-actions { flex-direction: column; }
}


/* ===== Flyerz View Orders ===== */
body.fz-orders .fz-order-top,
body.fz-orders .fz-orders-main {
  max-width: 980px;
}
body.fz-orders .fz-orders-main {
  margin: 0 auto;
  padding: 18px 24px 56px;
}
body.fz-orders .fz-order-title {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #0f172a;
}
body.fz-orders .fz-order-sub {
  margin: 6px 0 20px;
  font-size: 14px;
  color: #64748b;
}

.fz-orders-card {
  background: #ffffff;
  border: 1px solid #e8ecf4;
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 14px;
  box-shadow: 0 1px 2px rgba(15,23,42,0.03), 0 10px 28px rgba(15,23,42,0.05);
}

.fz-orders-search-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 14px;
}
.fz-orders-search {
  flex: 1;
  min-width: 0;
}
.fz-orders-go {
  flex-shrink: 0;
  padding: 0 18px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
}

.fz-orders-filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}
.fz-orders-filters .fz-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 6px;
}

.fz-orders-list-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.fz-orders-list-title {
  margin: 0;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: #0f172a;
}
.fz-orders-count {
  margin: 4px 0 0;
  font-size: 13px;
  color: #64748b;
}
.fz-orders-count strong { color: #0f172a; }
.fz-orders-list-head .fz-btn-primary {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
}

.fz-orders-table-wrap {
  overflow-x: auto;
  border: 1px solid #eef2f7;
  border-radius: 12px;
}
.fz-orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.fz-orders-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
  background: #f8fafc;
  padding: 11px 14px;
  border-bottom: 1px solid #eef2f7;
  white-space: nowrap;
}
.fz-orders-table td {
  padding: 13px 14px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  vertical-align: middle;
}
.fz-orders-table tr:last-child td { border-bottom: none; }
.fz-orders-table tr.fz-row-b td { background: #fcfdff; }
.fz-orders-table tr:hover td { background: #faf5ff; }
.fz-ref {
  font-weight: 700;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}
.fz-num-cell {
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.fz-open-cell { text-align: right; white-space: nowrap; }

.fz-btn-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  color: #5b21b6;
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
}
.fz-btn-open:hover {
  background: #ede9fe;
  color: #4c1d95;
}

.fz-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  background: #f1f5f9;
  color: #475569;
}
.fz-st-quote, .fz-st-enquiry { background: #eff6ff; color: #1d4ed8; }
.fz-st-order-sent { background: #faf5ff; color: #7c3aed; }
.fz-st-paid { background: #ecfdf5; color: #047857; }
.fz-st-signed-off { background: #fdf4ff; color: #a21caf; }
.fz-st-a1-factory, .fz-st-in-production { background: #fff7ed; color: #c2410c; }
.fz-st-a2-factory { background: #fffbeb; color: #b45309; }
.fz-st-xerox { background: #f0f9ff; color: #0369a1; }
.fz-st-mimaki { background: #fdf2f8; color: #be185d; }
.fz-st-despatched, .fz-st-dispatched { background: #ecfeff; color: #0e7490; }
.fz-st-collected { background: #f0fdf4; color: #15803d; }
.fz-st-left-with-courier { background: #eef2ff; color: #4338ca; }
.fz-st-delivered { background: #ecfdf5; color: #047857; }
.fz-st-cancelled { background: #f1f5f9; color: #b91c1c; }

.fz-orders-empty {
  text-align: center;
  padding: 36px 20px 28px;
}
.fz-empty-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: linear-gradient(135deg, rgba(236,72,153,0.12), rgba(139,92,246,0.14), rgba(6,182,212,0.12));
  border: 1px solid #e8ecf4;
}
.fz-orders-empty h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 750;
  color: #0f172a;
}
.fz-orders-empty p {
  margin: 0 auto 18px;
  max-width: 360px;
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
}
.fz-orders-empty .fz-btn-primary {
  display: inline-flex;
  text-decoration: none;
  padding: 11px 18px;
  border-radius: 11px;
  font-size: 14px;
}

.fz-orders-pager {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}
.fz-pager-label {
  font-size: 12px;
  font-weight: 650;
  color: #94a3b8;
  margin-right: 4px;
}
.fz-orders-pager button,
.fz-orders-pager select {
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: not-allowed;
  opacity: 0.65;
  width: auto;
}
.fz-orders-pager select {
  min-width: 52px;
  padding: 6px 8px;
}

.fz-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px) {
  .fz-orders-filter-grid { grid-template-columns: 1fr; }
  .fz-orders-search-row { flex-direction: column; }
  .fz-orders-list-head { flex-direction: column; align-items: stretch; }
  .fz-orders-pager { justify-content: center; }
}


/* ===== Flyerz Ops Dashboard ===== */
body.fz-ops {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: #0b1220;
  color: #e2e8f0;
  -webkit-font-smoothing: antialiased;
}
body.fz-ops a { color: #a5b4fc; text-decoration: none; }
body.fz-ops a:hover { color: #c7d2fe; }

.fz-ops-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 28px 12px;
  background: linear-gradient(180deg, #111827 0%, #0b1220 100%);
  border-bottom: 1px solid #1e293b;
  position: sticky;
  top: 0;
  z-index: 20;
}
.fz-ops-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.fz-ops-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f8fafc;
}
.fz-ops-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.18);
  border: 1px solid rgba(167, 139, 250, 0.35);
}
.fz-ops-sub {
  margin: 6px 0 0;
  font-size: 0.85rem;
  color: #94a3b8;
}
.fz-ops-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: #94a3b8;
}
.fz-ops-nav a { color: #cbd5e1; font-weight: 500; }
.fz-ops-nav a:hover { color: #fff; }
.fz-ops-nav-primary {
  padding: 8px 14px !important;
  border-radius: 10px;
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #fff !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}
.fz-ops-nav-primary:hover { filter: brightness(1.08); color: #fff !important; }
.fz-ops-nav-waybill {
  padding: 8px 14px !important;
  border-radius: 10px;
  background: #0f172a;
  border: 1px solid #7c3aed;
  color: #e9d5ff !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 10px rgba(124, 58, 237, 0.25);
}
.fz-ops-nav-waybill:hover {
  background: #1e1b4b;
  color: #fff !important;
  border-color: #a78bfa;
}
.fz-ops-hi strong { color: #f1f5f9; }

.fz-ops-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 22px 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fz-ops-sec-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 8px;
}
.fz-ops-sec-label span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 20px;
  padding: 0 6px;
  border-radius: 6px;
  background: #1e293b;
  color: #a5b4fc;
  font-variant-numeric: tabular-nums;
}

.fz-ops-panel {
  background: #111827;
  border: 1px solid #1e293b;
  border-radius: 16px;
  padding: 16px 18px 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.fz-ops-search-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.fz-ops-search {
  flex: 1 1 280px;
  min-width: 200px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #334155;
  background: #0b1220;
  color: #f1f5f9;
  font-size: 0.95rem;
  outline: none;
}
.fz-ops-search:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}
.fz-ops-search::placeholder { color: #64748b; }

.fz-ops-btn,
.fz-ops-btn-ghost {
  border: none;
  cursor: pointer;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.875rem;
  font-family: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.fz-ops-btn {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}
.fz-ops-btn:hover { filter: brightness(1.08); }
.fz-ops-btn-ghost {
  background: transparent;
  color: #94a3b8;
  border: 1px solid #334155;
}
.fz-ops-btn-ghost:hover { color: #e2e8f0; border-color: #64748b; }

.fz-ops-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fz-ops-tag {
  border: 1px solid #334155;
  background: #0f172a;
  color: #94a3b8;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s ease;
}
.fz-ops-tag.is-on {
  background: rgba(99, 102, 241, 0.18);
  border-color: rgba(129, 140, 248, 0.55);
  color: #c7d2fe;
}
.fz-ops-tag:hover { color: #e2e8f0; }

.fz-ops-legend {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 14px;
  padding: 14px 16px 16px;
}

.fz-ops-legend-details {
  border: none;
}
.fz-ops-legend-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
}
.fz-ops-legend-summary::-webkit-details-marker { display: none; }
.fz-ops-legend-summary .fz-ops-sec-label { margin: 0; }
.fz-ops-legend-hint {
  font-size: 0.72rem;
  font-weight: 700;
  color: #818cf8;
  white-space: nowrap;
}
.fz-ops-legend-hint::after {
  content: " ▾";
  font-size: 0.65rem;
}
.fz-ops-legend-details[open] .fz-ops-legend-hint::after {
  content: " ▴";
}
.fz-ops-legend-details[open] .fz-ops-legend-hint {
  color: #a5b4fc;
}
.fz-ops-legend-details[open] .fz-ops-legend-hint {
  /* flip label via attr not easy; keep Show guide / use content */
}
.fz-ops-legend-details:not([open]) {
  padding-bottom: 0;
}
.fz-ops-legend-details[open] .fz-ops-legend-clean {
  margin-top: 12px;
}

.fz-ops-legend-clean {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(160px, 0.85fr) minmax(280px, 1.6fr);
  gap: 16px 24px;
  margin-top: 4px;
}
.fz-leg-col-title {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 8px;
}
.fz-leg-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fz-leg-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 10px;
  align-items: center;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #94a3b8;
}
.fz-leg-list li > span:last-child {
  color: #cbd5e1;
}
.fz-leg-badges-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #1e293b;
}
.fz-leg-badges-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  margin-right: 4px;
}
@media (max-width: 960px) {
  .fz-ops-legend-clean {
    grid-template-columns: 1fr 1fr;
  }
  .fz-leg-col-wide { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .fz-ops-legend-clean {
    grid-template-columns: 1fr;
  }
}
/* keep legacy classes harmless if referenced elsewhere */
.fz-ops-legend-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  font-size: 0.8rem;
  color: #94a3b8;
}
.fz-leg-item { display: inline-flex; align-items: center; gap: 8px; }
.fz-leg-rules {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.fz-ops-live-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.fz-ops-live-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
/* Ops dashboard: salesperson / designer toolbar filters */
.fz-ops-filter {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  min-width: 140px;
}
.fz-ops-filter-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
  line-height: 1;
  padding-left: 2px;
}
.fz-ops-select {
  appearance: none;
  -webkit-appearance: none;
  border-radius: 10px;
  padding: 9px 28px 9px 12px;
  font-weight: 600;
  font-size: 0.875rem;
  font-family: inherit;
  background: #0f172a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2394a3b8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 10px center;
  color: #e2e8f0;
  border: 1px solid #334155;
  cursor: pointer;
  min-width: 148px;
  max-width: 200px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.fz-ops-select:hover,
.fz-ops-select:focus {
  border-color: #7c3aed;
  outline: none;
  color: #fff;
}

.fz-ops-btn-waybill {
  background: #0f172a !important;
  border: 1px solid #7c3aed !important;
  color: #e9d5ff !important;
  box-shadow: 0 2px 10px rgba(124, 58, 237, 0.25);
}
.fz-ops-btn-waybill:hover {
  background: #1e1b4b !important;
  color: #fff !important;
  border-color: #a78bfa !important;
}
.fz-ops-btn-manual-collect {
  background: #042f2e !important;
  border: 1px solid #14b8a6 !important;
  color: #99f6e4 !important;
  box-shadow: 0 2px 10px rgba(20, 184, 166, 0.25);
}
.fz-ops-btn-manual-collect:hover {
  background: #134e4a !important;
  color: #fff !important;
  border-color: #5eead4 !important;
}
.fz-ops-h2 {
  margin: 0 0 4px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #f8fafc;
}
.fz-ops-count { font-size: 0.85rem; color: #94a3b8; }
.fz-ops-count strong { color: #e2e8f0; }

.fz-ops-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid #1e293b;
}
.fz-ops-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 780px;
}
.fz-ops-table th {
  text-align: left;
  padding: 11px 14px;
  background: #0b1220;
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  border-bottom: 1px solid #1e293b;
  white-space: nowrap;
}
.fz-ops-table td {
  padding: 13px 14px;
  border-bottom: 1px solid #1a2332;
  vertical-align: middle;
  color: #cbd5e1;
}
.fz-ops-table tr:last-child td { border-bottom: none; }
.fz-ops-table tbody tr:hover td { background: rgba(99, 102, 241, 0.06); }

.fz-ops-ref a {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #818cf8;
}
.fz-ops-ref a:hover { color: #c7d2fe; text-decoration: underline; }
.fz-ops-ref {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.fz-ops-ref-link {
  font-weight: 800;
  color: #a5b4fc;
  text-decoration: none;
}
.fz-ops-proof {
  margin-top: 3px;
  color: #5eead4;
  font-size: 0.66rem;
  line-height: 1.3;
  white-space: nowrap;
}
.fz-ops-proof strong { color: #99f6e4; font-weight: 700; }
.fz-ops-company { font-weight: 600; color: #f1f5f9; }

.fz-ops-actions {
  white-space: nowrap;
  text-align: left;
  position: relative;
  overflow: visible;
  margin-top: 4px;
}
.fz-ops-dd { position: relative; display: inline-block; text-align: left; }
.fz-ops-dd-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #e2e8f0;
  background: #1e293b;
  border: 1px solid #334155;
  cursor: pointer;
  font-family: inherit;
}
.fz-ops-dd-toggle:hover {
  border-color: #818cf8;
  background: rgba(99, 102, 241, 0.15);
}
.fz-ops-dd-menu {
  position: absolute;
  left: 0;
  right: auto;
  top: calc(100% + 4px);
  min-width: 200px;
  z-index: 100;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0,0,0,.45);
  padding: 6px;
}
.fz-ops-dd-menu[hidden] { display: none !important; }
.fz-ops-dd-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #e2e8f0;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  box-sizing: border-box;
}
.fz-ops-dd-item:hover {
  background: rgba(99, 102, 241, 0.18);
  color: #fff;
}
.fz-ops-dd-item.fz-ops-dd-danger { color: #fda4af; }
.fz-ops-dd-item.fz-ops-dd-danger:hover {
  background: rgba(244, 63, 94, 0.18);
  color: #fecdd3;
}
.fz-ops-dd-sep {
  height: 1px;
  background: #334155;
  margin: 4px 6px;
}
.fz-ops-dd-note {
  padding: 8px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
}


.fz-ops-company-name { font-weight: 600; color: #f1f5f9; }
.fz-ops-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-top: 4px;
}
.fz-ops-copy-link {
  display: inline-flex;
  align-items: center;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #94a3b8;
  background: transparent;
  border: 1px solid #334155;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.5;
}
.fz-ops-copy-link:hover {
  color: #e2e8f0;
  border-color: #818cf8;
  background: rgba(99, 102, 241, 0.12);
}

.fz-ops-actions {
  white-space: nowrap;
  text-align: right;
}
.fz-ops-cancel-btn {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fca5a5;
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.35);
  cursor: pointer;
  line-height: 1.4;
}
.fz-ops-cancel-btn:hover:not(:disabled) {
  color: #fecaca;
  background: rgba(248, 113, 113, 0.18);
  border-color: rgba(248, 113, 113, 0.55);
}
.fz-ops-cancel-btn:disabled {
  opacity: 0.5;
  cursor: wait;
}
.fz-ops-cancelled-note {
  font-size: 0.7rem;
  font-weight: 600;
  color: #94a3b8;
}

.fz-ops-specs {
  max-width: 280px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fz-ops-people { color: #cbd5e1; white-space: nowrap; }

/* Status pills */
.fz-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border: 1px solid transparent;
}
/* Each Job status — distinct colour on dark ops dashboard */
.fz-pill-quote,
.fz-pill-enquiry {
  background: rgba(56, 189, 248, 0.22);
  color: #7dd3fc;
  border-color: rgba(56, 189, 248, 0.5);
}
.fz-pill-order-sent {
  background: rgba(99, 102, 241, 0.25);
  color: #a5b4fc;
  border-color: rgba(99, 102, 241, 0.55);
}
.fz-pill-paid {
  background: rgba(234, 179, 8, 0.25);
  color: #fde047;
  border-color: rgba(234, 179, 8, 0.55);
}
.fz-pill-pending {
  background: rgba(245, 158, 11, 0.28);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.6);
}
.fz-pill-signed-off {
  background: rgba(168, 85, 247, 0.28);
  color: #e9d5ff;
  border-color: rgba(168, 85, 247, 0.55);
}
.fz-pill-a1-factory,
.fz-pill-in-production {
  background: rgba(249, 115, 22, 0.28);
  color: #fdba74;
  border-color: rgba(249, 115, 22, 0.55);
}
.fz-pill-a2-factory {
  background: rgba(239, 68, 68, 0.25);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.5);
}
.fz-pill-xerox {
  background: rgba(6, 182, 212, 0.28);
  color: #67e8f9;
  border-color: rgba(6, 182, 212, 0.55);
}
.fz-pill-mimaki {
  background: rgba(236, 72, 153, 0.28);
  color: #f9a8d4;
  border-color: rgba(236, 72, 153, 0.55);
}
.fz-pill-despatched,
.fz-pill-dispatched,
.fz-pill-complete {
  background: rgba(34, 197, 94, 0.28);
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.55);
}
.fz-pill-collected {
  background: rgba(20, 184, 166, 0.28);
  color: #5eead4;
  border-color: rgba(20, 184, 166, 0.55);
}
.fz-pill-left-with-courier {
  background: rgba(99, 102, 241, 0.28);
  color: #a5b4fc;
  border-color: rgba(99, 102, 241, 0.55);
}
.fz-pill-delivered {
  background: rgba(16, 185, 129, 0.30);
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.58);
}
.fz-pill-cancelled {
  background: rgba(100, 116, 139, 0.35);
  color: #e2e8f0;
  border-color: rgba(248, 113, 113, 0.55);
}

/* Day counter */
.fz-day-counter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #0b1220;
  border: 1px solid #334155;
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.fz-dc-ico { opacity: 0.85; font-size: 0.85rem; }
.fz-day-counter.fz-dc-note {
  border-color: rgba(59, 130, 246, 0.45);
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.08);
}
.fz-day-counter.fz-dc-warn {
  border-color: rgba(245, 158, 11, 0.5);
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.1);
}
.fz-day-counter.fz-dc-hot {
  border-color: rgba(239, 68, 68, 0.5);
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.1);
}
.fz-day-counter.fz-dc-cancelled {
  border-color: rgba(148, 163, 184, 0.45);
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.08);
}

.fz-ops-empty {
  text-align: center;
  padding: 48px 20px;
  color: #94a3b8;
}
.fz-ops-empty-ico { font-size: 2rem; margin-bottom: 8px; opacity: 0.6; }
.fz-ops-empty h3 { color: #f1f5f9; margin: 0 0 8px; }
.fz-ops-empty p { margin: 0 0 16px; }

.fz-ops-side-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}
@media (max-width: 900px) {
  .fz-ops-side-grid { grid-template-columns: 1fr; }
  .fz-ops-top { flex-direction: column; }
  .fz-leg-rules { margin-left: 0; }
}

.fz-ops-log-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 320px;
  overflow-y: auto;
}
.fz-ops-log-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 10px;
  background: #0b1220;
  border: 1px solid #1e293b;
  font-size: 0.82rem;
  color: #cbd5e1;
}
.fz-log-msg strong { color: #e2e8f0; }
.fz-log-tag {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.fz-log-d3 { background: rgba(59,130,246,.2); color: #93c5fd; }
.fz-log-d21 { background: rgba(245,158,11,.2); color: #fcd34d; }
.fz-log-d30 { background: rgba(239,68,68,.2); color: #fca5a5; }
.fz-log-sys { background: rgba(100,116,139,.25); color: #cbd5e1; }

.fz-ops-churn-ok { border-color: #1e293b; }
.fz-ops-churn-alert {
  border-color: rgba(239, 68, 68, 0.45);
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.15), 0 10px 30px rgba(0,0,0,0.25);
}
.fz-churn-lead {
  margin: 0 0 8px;
  font-weight: 600;
  color: #f1f5f9;
  font-size: 0.9rem;
}
.fz-churn-rule, .fz-churn-demo {
  margin: 0 0 8px;
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.45;
}
.fz-churn-demo { color: #64748b; font-style: italic; }
.fz-churn-list {
  margin: 0;
  padding-left: 18px;
  color: #fca5a5;
  font-size: 0.85rem;
}
.fz-churn-list li { margin-bottom: 4px; }


/* Flyerz order form — Rand money wrap + locked order type */
.fz-order-simple .fz-rand {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0 8px;
  min-height: 34px;
}
.fz-order-simple .fz-rand > span {
  font-weight: 700;
  color: #64748b;
  font-size: 13px;
  flex-shrink: 0;
}
.fz-order-simple .fz-rand input.money {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 6px 0 !important;
  min-height: 0;
  width: 100%;
  text-align: right;
}
.fz-order-simple .fz-rand:focus-within {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}
.fz-order-simple .fz-rand input.money:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.fz-order-simple .fz-seg.fz-otype-locked {
  background: #f8fafc;
}
.fz-order-simple .fz-otype-hint {
  margin: 4px 0 0;
  font-size: 11.5px;
  color: #b45309;
  font-weight: 600;
}
.fz-order-simple .fz-prod-note {
  margin-top: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0c4a6e;
  font-size: 12px;
  line-height: 1.4;
}
.fz-order-simple .fz-prod-note > div + div {
  margin-top: 4px;
}

/* ---- Ops: Job status filter chips + stage timing ---- */
.fz-ops-status-label {
  margin: 14px 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}
.fz-ops-status-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fz-ops-status-chip {
  appearance: none;
  border: 1px solid #334155;
  background: #0f172a;
  color: #cbd5e1;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  font-family: inherit;
  line-height: 1.2;
}
.fz-ops-status-chip .fz-chip-n {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #1e293b;
  color: #94a3b8;
  font-size: 0.7rem;
  font-weight: 700;
}
.fz-ops-status-chip:hover {
  color: #f1f5f9;
  border-color: #64748b;
}
.fz-ops-status-chip.is-on {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  border-color: transparent;
  color: #fff;
}
.fz-ops-status-chip.is-on .fz-chip-n {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Status filter chips — tinted per Job status */
.fz-ops-status-chip.fz-chip-enquiry {
  border-color: rgba(56, 189, 248, 0.55); color: #7dd3fc; background: rgba(56, 189, 248, 0.12);
}
.fz-ops-status-chip.fz-chip-order-sent {
  border-color: rgba(99, 102, 241, 0.55); color: #a5b4fc; background: rgba(99, 102, 241, 0.12);
}
.fz-ops-status-chip.fz-chip-paid {
  border-color: rgba(234, 179, 8, 0.55); color: #fde047; background: rgba(234, 179, 8, 0.12);
}
.fz-ops-status-chip.fz-chip-pending {
  border-color: rgba(245, 158, 11, 0.6); color: #fbbf24; background: rgba(245, 158, 11, 0.14);
}
.fz-ops-status-chip.fz-chip-signed-off {
  border-color: rgba(168, 85, 247, 0.55); color: #e9d5ff; background: rgba(168, 85, 247, 0.12);
}
.fz-ops-status-chip.fz-chip-a1-factory {
  border-color: rgba(249, 115, 22, 0.55); color: #fdba74; background: rgba(249, 115, 22, 0.12);
}
.fz-ops-status-chip.fz-chip-a2-factory {
  border-color: rgba(239, 68, 68, 0.55); color: #fca5a5; background: rgba(239, 68, 68, 0.12);
}
.fz-ops-status-chip.fz-chip-xerox {
  border-color: rgba(6, 182, 212, 0.55); color: #67e8f9; background: rgba(6, 182, 212, 0.12);
}
.fz-ops-status-chip.fz-chip-mimaki {
  border-color: rgba(236, 72, 153, 0.55); color: #f9a8d4; background: rgba(236, 72, 153, 0.12);
}
.fz-ops-status-chip.fz-chip-despatched {
  border-color: rgba(34, 197, 94, 0.55); color: #86efac; background: rgba(34, 197, 94, 0.12);
}
.fz-ops-status-chip.fz-chip-collected {
  border-color: rgba(20, 184, 166, 0.55); color: #5eead4; background: rgba(20, 184, 166, 0.12);
}
.fz-ops-status-chip.fz-chip-left-with-courier {
  border-color: rgba(99, 102, 241, 0.55); color: #a5b4fc; background: rgba(99, 102, 241, 0.12);
}
.fz-ops-status-chip.fz-chip-delivered {
  border-color: rgba(16, 185, 129, 0.58); color: #6ee7b7; background: rgba(16, 185, 129, 0.14);
}
.fz-ops-status-chip.fz-chip-cancelled {
  border-color: rgba(248, 113, 113, 0.5); color: #e2e8f0; background: rgba(100, 116, 139, 0.25);
}
.fz-ops-status-chip.fz-chip-enquiry.is-on { background: #0ea5e9; border-color: #0ea5e9; color: #fff; }
.fz-ops-status-chip.fz-chip-order-sent.is-on { background: #6366f1; border-color: #6366f1; color: #fff; }
.fz-ops-status-chip.fz-chip-paid.is-on { background: #ca8a04; border-color: #ca8a04; color: #fff; }
.fz-ops-status-chip.fz-chip-pending.is-on { background: #d97706; border-color: #d97706; color: #fff; }
.fz-ops-status-chip.fz-chip-signed-off.is-on { background: #9333ea; border-color: #9333ea; color: #fff; }
.fz-ops-status-chip.fz-chip-a1-factory.is-on { background: #ea580c; border-color: #ea580c; color: #fff; }
.fz-ops-status-chip.fz-chip-a2-factory.is-on { background: #dc2626; border-color: #dc2626; color: #fff; }
.fz-ops-status-chip.fz-chip-xerox.is-on { background: #0891b2; border-color: #0891b2; color: #fff; }
.fz-ops-status-chip.fz-chip-mimaki.is-on { background: #db2777; border-color: #db2777; color: #fff; }
.fz-ops-status-chip.fz-chip-despatched.is-on { background: #16a34a; border-color: #16a34a; color: #fff; }
.fz-ops-status-chip.fz-chip-collected.is-on { background: #0d9488; border-color: #0d9488; color: #fff; }
.fz-ops-status-chip.fz-chip-left-with-courier.is-on { background: #4f46e5; border-color: #4f46e5; color: #fff; }
.fz-ops-status-chip.fz-chip-delivered.is-on { background: #059669; border-color: #059669; color: #fff; }
.fz-ops-status-chip.fz-chip-cancelled.is-on { background: #64748b; border-color: #64748b; color: #fff; }


.fz-ops-breakdown {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #1e293b;
}
.fz-ops-break-item {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 0.78rem;
  color: #94a3b8;
}
.fz-ops-break-item strong {
  color: #e2e8f0;
  font-variant-numeric: tabular-nums;
}
.fz-ops-break-label {
  max-width: 11rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fz-ops-timing {
  margin-top: 4px;
}
.fz-ops-timing-sub {
  margin: 4px 0 14px;
  color: #94a3b8;
  font-size: 0.85rem;
}
.fz-timing-wrap {
  margin-top: 4px;
}
.fz-timing-table td,
.fz-timing-table th {
  white-space: nowrap;
}
.fz-timing-fromto {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #e2e8f0;
}
.fz-timing-arrow {
  color: #818cf8;
  font-weight: 700;
}
.fz-timing-empty-row td {
  color: #64748b;
  font-weight: 400;
}
.fz-timing-empty {
  padding: 18px 8px 8px;
}
.fz-timing-empty p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Stage timing per-order lookup */
.fz-timing-lookup {
  margin: 0 0 14px;
}
.fz-timing-lookup-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 6px;
}
.fz-timing-lookup-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.fz-timing-ref {
  max-width: 220px;
  flex: 1 1 160px;
}
.fz-timing-order-result {
  margin: 4px 0 12px;
}
.fz-timing-order-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 4px;
  margin: 0 0 10px;
  color: #e2e8f0;
  font-size: 0.95rem;
}
.fz-timing-order-header strong {
  color: #a5b4fc;
  font-weight: 700;
}
.fz-timing-sep {
  color: #64748b;
  margin: 0 4px;
}
.fz-timing-order-msg {
  padding: 12px 4px;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.5;
}
.fz-timing-order-table td:nth-child(2) {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}


/* Ops dashboard: deadline + collection/delivery */
.fz-ops-deadline {
  min-width: 9.5rem;
  max-width: 14rem;
}
.fz-ops-deadline .fz-fulfill-tag {
  white-space: normal;
  line-height: 1.25;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.75rem;
}
.fz-deadline-date {
  font-weight: 600;
  color: #f1f5f9;
  font-size: 0.92rem;
  margin-bottom: 4px;
}
.fz-fulfill-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.fz-fulfill-collect {
  background: rgba(56, 189, 248, 0.18);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.35);
}
.fz-fulfill-deliver {
  background: rgba(167, 139, 250, 0.18);
  color: #c4b5fd;
  border: 1px solid rgba(167, 139, 250, 0.35);
}
.fz-fulfill-other {
  background: rgba(148, 163, 184, 0.15);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.3);
}
.fz-fulfill-none {
  background: transparent;
  color: #64748b;
  border: 1px dashed #475569;
}

/* Day-3 follow-up badges under day counter */
.fz-ops-daycell {
  white-space: nowrap;
}
.fz-fu-badge {
  display: block;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.4;
}
.fz-fu-sent {
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.4);
}
.fz-fu-sent21 {
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(96, 165, 250, 0.45);
}
.fz-fu-skipped {
  color: #cbd5e1;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.35);
}
.fz-ops-skip-fu-btn {
  color: #fcd34d !important;
}
.fz-ops-skip-fu-btn:hover:not(:disabled) {
  background: rgba(251, 191, 36, 0.12);
}
.fz-ops-send-fu-btn {
  color: #86efac !important;
}
.fz-ops-send-fu-btn:hover:not(:disabled) {
  background: rgba(74, 222, 128, 0.12);
}

/* ===== Maxx Production (modern) ===== */
body.fz-maxx {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(109,40,217,0.08), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(6,182,212,0.07), transparent 50%),
    #f1f5f9;
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
}
body.fz-maxx .fz-accent {
  height: 3px;
  background: linear-gradient(90deg, #6d28d9, #06b6d4, #84cc16, #f59e0b, #ef4444);
}
body.fz-maxx a { color: #6d28d9; text-decoration: none; }
body.fz-maxx a:hover { color: #5b21b6; text-decoration: underline; }

.fz-maxx-top {
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.fz-maxx-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.fz-maxx-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  background: linear-gradient(135deg, #6d28d9, #06b6d4);
  box-shadow: 0 8px 20px rgba(109,40,217,0.28);
  letter-spacing: -0.04em;
}
.fz-maxx-brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1.15;
}
.fz-maxx-brand-name span {
  font-weight: 600;
  color: #64748b;
  letter-spacing: -0.01em;
}
.fz-maxx-brand-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-top: 2px;
}
.fz-maxx-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #6d28d9;
  background: rgba(109,40,217,0.08);
  border: 1px solid rgba(109,40,217,0.18);
}
.fz-maxx-userbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #475569;
}
.fz-maxx-user strong { color: #0f172a; font-weight: 700; }
.fz-maxx-logout,
.fz-maxx-dashlink {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569 !important;
}
.fz-maxx-logout:hover,
.fz-maxx-dashlink:hover {
  border-color: #c4b5fd;
  color: #6d28d9 !important;
  background: #faf5ff;
}

.fz-maxx-nav {
  max-width: 1100px;
  margin: 14px auto 0;
  padding: 0 24px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.fz-maxx-nav-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #475569 !important;
  background: rgba(255,255,255,0.7);
  border: 1px solid #e2e8f0;
  text-decoration: none !important;
  transition: border-color .15s, background .15s, color .15s;
}
.fz-maxx-nav-pill:hover {
  border-color: #c4b5fd;
  color: #6d28d9 !important;
  background: #fff;
}
.fz-maxx-nav-pill.is-active {
  color: #fff !important;
  background: linear-gradient(90deg, #6d28d9, #06b6d4);
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(109,40,217,0.25);
}

.fz-maxx-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px 48px;
}

.fz-maxx-pagehead {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.fz-maxx-title {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}
.fz-maxx-count {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #0e7490;
  background: rgba(6,182,212,0.12);
  border: 1px solid rgba(6,182,212,0.25);
}

.fz-maxx-card {
  background: #fff;
  border: 1px solid #e8ecf4;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 1px 2px rgba(15,23,42,0.04), 0 8px 24px rgba(15,23,42,0.05);
  margin-bottom: 16px;
}
.fz-maxx-card-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 14px;
}

.fz-maxx-filters .fz-maxx-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px 14px;
}
.fz-maxx-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.fz-maxx-field > span,
.fz-maxx-field-label {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.02em;
}
.fz-maxx-field .req,
.fz-maxx-field em.req {
  color: #e11d48;
  font-style: normal;
  font-weight: 700;
}
.fz-maxx-span-2 { grid-column: span 2; }
@media (max-width: 640px) {
  .fz-maxx-span-2 { grid-column: span 1; }
}

body.fz-maxx .fz-maxx-input,
body.fz-maxx input.fz-maxx-input,
body.fz-maxx select.fz-maxx-input,
body.fz-maxx textarea.fz-maxx-input {
  width: 100%;
  box-sizing: border-box;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  padding: 8px 11px;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
body.fz-maxx .fz-maxx-input:focus,
body.fz-maxx input.fz-maxx-input:focus,
body.fz-maxx select.fz-maxx-input:focus,
body.fz-maxx textarea.fz-maxx-input:focus {
  border-color: #a78bfa;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(139,92,246,0.15);
}
body.fz-maxx .fz-maxx-textarea {
  min-height: 88px;
  resize: vertical;
}
body.fz-maxx .fz-maxx-money {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
body.fz-maxx .money-ro {
  background: #f1f5f9 !important;
  color: #334155;
}
.fz-maxx-readonly {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 9px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-weight: 600;
  font-size: 13px;
}

.fz-maxx-filter-actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
}
.fz-maxx-btn {
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  border-radius: 9px;
  padding: 9px 16px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: filter .15s, transform .1s, background .15s, border-color .15s;
}
.fz-maxx-btn:disabled { opacity: 0.45; cursor: default; }
.fz-maxx-btn-primary {
  color: #fff;
  background: linear-gradient(90deg, #6d28d9, #06b6d4);
  border: none;
  box-shadow: 0 6px 16px rgba(109,40,217,0.22);
}
.fz-maxx-btn-primary:hover:not(:disabled) { filter: brightness(1.05); }
.fz-maxx-btn-primary:active:not(:disabled) { transform: translateY(1px); }
.fz-maxx-btn-ghost {
  color: #475569;
  background: #fff;
  border-color: #e2e8f0;
}
.fz-maxx-btn-ghost:hover:not(:disabled) {
  border-color: #c4b5fd;
  color: #6d28d9;
  background: #faf5ff;
}

.fz-maxx-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.fz-maxx-toolbar-label {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.fz-maxx-pager {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.fz-maxx-page-select {
  width: auto !important;
  min-width: 64px;
}

.fz-maxx-table-wrap { padding: 0; overflow: hidden; }
.fz-maxx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.fz-maxx-table thead th {
  text-align: left;
  padding: 11px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  background: #f8fafc;
  border-bottom: 1px solid #e8ecf4;
}
.fz-maxx-table tbody td {
  padding: 11px 14px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  vertical-align: middle;
}
.fz-maxx-table tbody tr:hover td {
  background: #faf5ff;
}
.fz-maxx-table .wt-link {
  font-weight: 700;
  color: #6d28d9;
}
.fz-maxx-table .actions {
  white-space: nowrap;
  font-size: 12px;
}
.fz-maxx-table .actions a {
  margin-right: 8px;
  color: #64748b;
  font-weight: 600;
}
.fz-maxx-table .actions a:hover { color: #6d28d9; }
.fz-maxx-table .actions .ico-link {
  display: inline-flex;
  vertical-align: middle;
  margin-right: 6px;
}
.fz-maxx-table .actions img {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  opacity: 0.75;
}
.fz-maxx-table .actions .ico-link:hover img { opacity: 1; }
.fz-maxx-empty {
  text-align: center;
  padding: 28px 16px !important;
  color: #64748b;
}

.fz-maxx-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 8px;
  padding: 4px 2px;
  font-size: 13px;
  font-weight: 600;
}
.fz-maxx-footer-links a { color: #64748b; }
.fz-maxx-footer-links a:hover { color: #6d28d9; }

.fz-maxx-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
}
.fz-maxx-form-grid-tight {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 720px) {
  .fz-maxx-form-grid,
  .fz-maxx-form-grid-tight { grid-template-columns: 1fr; }
  .fz-maxx-span-2 { grid-column: span 1; }
}

.fz-maxx-parts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.fz-maxx-parts > .fz-maxx-card { margin-bottom: 0; }
@media (max-width: 860px) {
  .fz-maxx-parts { grid-template-columns: 1fr; }
}

.fz-maxx-money-grid { display: flex; flex-direction: column; gap: 14px; }
.fz-maxx-outwork-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr 120px;
  gap: 10px;
  align-items: end;
}
@media (max-width: 720px) {
  .fz-maxx-outwork-row { grid-template-columns: 1fr 1fr; }
  .fz-maxx-outwork-row .fz-maxx-field-label { grid-column: 1 / -1; }
}
.fz-maxx-checks-money {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 720px) {
  .fz-maxx-checks-money { grid-template-columns: 1fr; }
}
.fz-maxx-checks,
.fz-maxx-money-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fz-maxx-date-row {
  display: flex;
  gap: 8px;
}
.fz-maxx-date-row .fz-maxx-input { width: auto; flex: 1; }

.fz-maxx-btn-row {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
  margin-bottom: 24px;
}
.fz-maxx-err {
  background: #fef2f2;
  color: #be123c;
  border: 1px solid #fecdd3;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  margin-bottom: 14px;
}

/* Icons inside modern Maxx pages */
body.fz-maxx .icon-yes img,
body.fz-maxx .icon-no img {
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

/* ---- Flyerz new-order search gate ---- */
body.fz-search-gate .fz-search-gate-main {
  max-width: 1100px;
}
.fz-search-gate-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  margin-bottom: 22px;
}
.fz-search-gate-form { display: flex; flex-direction: column; gap: 16px; }
.fz-search-gate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}
@media (max-width: 720px) {
  .fz-search-gate-grid { grid-template-columns: 1fr; }
}
.fz-search-gate-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}
.fz-search-gate-field input {
  font: inherit;
  font-weight: 500;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  color: #0f172a;
}
.fz-search-gate-field input:focus {
  outline: none;
  border-color: #8b5cf6;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18);
}
.fz-search-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.fz-search-gate-actions .fz-btn-primary,
.fz-search-gate-empty .fz-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
}
.fz-search-gate-actions .fz-btn-primary:disabled { opacity: 0.65; cursor: wait; }
.fz-search-gate-actions .fz-btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.fz-search-gate-hint {
  margin: 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
}
.fz-search-gate-results {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 22px 22px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}
.fz-search-gate-results-head { margin-bottom: 12px; }
.fz-search-gate-results-sub {
  margin: 4px 0 0;
  font-size: 13px;
  color: #64748b;
}
.fz-search-gate-empty {
  margin-top: 8px;
  padding: 18px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  text-align: center;
}
.fz-search-gate-empty p {
  margin: 0 0 14px;
  color: #475569;
  font-size: 14px;
}
.fz-sg-table-wrap { overflow-x: auto; }
.fz-sg-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.fz-sg-table th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  padding: 8px 10px;
  border-bottom: 1px solid #e2e8f0;
}
.fz-sg-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
  color: #0f172a;
}
.fz-sg-table tr:hover td { background: #faf5ff; }
.fz-sg-meta {
  margin-top: 4px;
  font-size: 11px;
  color: #94a3b8;
}
.fz-sg-actions {
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: stretch;
}
.fz-sg-btn {
  display: inline-flex;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid #c4b5fd;
  background: #f5f3ff;
  color: #5b21b6;
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
}
.fz-sg-btn:hover { background: #ede9fe; }
.fz-sg-btn-job {
  border-color: #86efac;
  background: #ecfdf5;
  color: #065f46;
}
.fz-sg-btn-job:hover { background: #d1fae5; }


/* ---- Flyerz new-order search wizard ---- */
.fz-wiz-progress {
  margin: 0 0 18px;
}
.fz-wiz-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fz-wiz-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}
.fz-wiz-step .fz-wiz-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}
.fz-wiz-step.is-active {
  border-color: #a78bfa;
  background: #f5f3ff;
  color: #5b21b6;
}
.fz-wiz-step.is-active .fz-wiz-num {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #fff;
}
.fz-wiz-step.is-done {
  border-color: #86efac;
  background: #ecfdf5;
  color: #065f46;
}
.fz-wiz-step.is-done .fz-wiz-num {
  background: #10b981;
  color: #fff;
}
.fz-wiz-form .fz-search-gate-field {
  max-width: 520px;
}
.fz-wiz-force-note {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #9a3412;
  font-size: 13px;
  font-weight: 600;
}
.fz-wiz-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
.fz-wiz-empty-actions .fz-btn-primary,
.fz-search-gate-empty .fz-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
}
.fz-search-gate-actions #fzWizSkip {
  border-color: #c4b5fd;
  background: #f5f3ff;
  color: #5b21b6;
}


/* Rich delivery address cards (multi-contact + courier notes) */
.fz-order-form .fz-del-addr-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fz-order-form .fz-del-addr-card {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 12px;
  background: #f8fafc;
}
.fz-order-form .fz-del-addr-card.is-primary {
  background: #fff;
  border-color: #c4b5fd;
}
.fz-order-form .fz-del-addr-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.fz-order-form .fz-del-addr-head label {
  font-weight: 700;
  font-size: 12px;
  color: #5b21b6;
  margin: 0;
}
.fz-order-form .fz-del-addr-card > input[data-del-addr-input] {
  width: 100%;
  margin-bottom: 8px;
}
.fz-order-form .fz-del-contacts-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: .02em;
  margin-bottom: 4px;
}
.fz-order-form .fz-del-contact-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fz-order-form .fz-del-contact-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.fz-order-form .fz-del-contact-row input {
  flex: 1;
  min-width: 0;
}
.fz-order-form #fzCourierNotes {
  width: 100%;
  min-height: 72px;
  resize: vertical;
}

/* Multi-value email / cell / delivery repeaters on Flyerz add/update */
.fz-order-simple .fz-multi .fz-multi-list,
.fz-order-form .fz-multi .fz-multi-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fz-order-simple .fz-multi-row,
.fz-order-form .fz-multi-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.fz-order-simple .fz-multi-row input,
.fz-order-form .fz-multi-row input {
  flex: 1;
  min-width: 0;
}
.fz-order-simple .fz-multi-add,
.fz-order-form .fz-multi-add {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 7px;
  border: 1px dashed #c4b5fd;
  background: #f5f3ff;
  color: #5b21b6;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}
.fz-multi-add:hover {
  background: #ede9fe;
  border-color: #a78bfa;
}
.fz-order-simple .fz-multi-remove,
.fz-order-form .fz-multi-remove {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #64748b;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.fz-multi-remove:hover {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}


/* Full-width Add/Update details layout; quote/work-ticket layouts are untouched. */
.fz-order-form .fz-order-details-grid {
  display: block;
}

@media (min-width: 1100px) {
  .fz-order-form .fz-order-details-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
  }
  .fz-order-form .fz-order-details-grid > .fz-card-sec {
    min-width: 0;
    margin-bottom: 0;
  }
  .fz-order-form .fz-order-details-grid > .fz-card-sec .fz-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1500px) {
  .fz-order-form .fz-order-details-grid > .fz-card-sec:first-child .fz-grid-2 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1099px) {
  .fz-order-form .fz-order-details-grid > .fz-card-sec {
    margin-bottom: 8px;
  }
}

/* Add/Update order form collapsible optional sections */
.fz-order-simple .fz-collapsible-heading {
  margin-bottom: 8px;
}
.fz-order-simple .fz-section-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.fz-order-simple .fz-section-toggle:hover .fz-section-chevron,
.fz-order-simple .fz-section-toggle:focus-visible .fz-section-chevron {
  color: #7c3aed;
}
.fz-order-simple .fz-section-toggle:focus-visible {
  outline: 2px solid #a78bfa;
  outline-offset: 3px;
  border-radius: 6px;
}
.fz-order-simple .fz-section-chevron {
  margin-left: auto;
  color: #8b5cf6;
  font-size: 17px;
  line-height: 1;
  transition: transform .18s ease, color .18s ease;
}
.fz-order-simple .fz-section-toggle.is-open .fz-section-chevron {
  color: #6d28d9;
}
.fz-order-simple .fz-section-hint {
  color: #94a3b8;
  font-size: 10.5px;
  font-weight: 500;
  white-space: nowrap;
}
.fz-order-simple .fz-section-body {
  overflow: hidden;
}

/* Collection / Delivery choice for the Add/Update order form */
.fz-order-simple .fz-fulfilment-choice {
  margin-top: 2px;
  padding: 9px 10px 8px;
  border: 1px solid #c4b5fd;
  border-radius: 10px;
  background: linear-gradient(135deg, #faf5ff, #f0f9ff);
}
.fz-order-simple .fz-fulfilment-choice > label:first-child {
  color: #4c1d95;
  font-size: 12px;
  font-weight: 800;
}
.fz-order-simple .fz-choice-hint {
  margin-left: 5px;
  color: #7c3aed;
  font-size: 10px;
  font-weight: 600;
}
.fz-order-simple .fz-fulfilment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 5px;
}
.fz-order-simple .fz-fulfilment-opt {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  margin: 0 !important;
  padding: 7px 10px;
  border: 1.5px solid #ddd6fe;
  border-radius: 8px;
  background: rgba(255,255,255,.78);
  color: #475569 !important;
  cursor: pointer;
  font-size: 13px !important;
  font-weight: 750 !important;
  transition: border-color .15s, background .15s, box-shadow .15s, color .15s;
}
.fz-order-simple .fz-fulfilment-opt:hover,
.fz-order-simple .fz-fulfilment-opt:has(input:focus-visible) {
  border-color: #a78bfa;
  background: #fff;
}
.fz-order-simple .fz-fulfilment-opt:has(input:checked) {
  border-color: #7c3aed;
  background: linear-gradient(180deg, #f5f3ff, #ecfeff);
  color: #4c1d95 !important;
  box-shadow: 0 0 0 3px rgba(124,58,237,.11);
}
.fz-order-simple .fz-fulfilment-opt input {
  width: auto !important;
  margin: 0;
  accent-color: #7c3aed;
}
.fz-order-simple .fz-fulfilment-note {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 10.5px;
}
.fz-order-simple .fz-delivery-state {
  color: #64748b;
  font-size: 10.5px;
  font-weight: 600;
}
.fz-order-simple .fz-delivery-section .fz-section-body {
  transition: opacity .15s ease;
}
.fz-order-simple .fz-takeover-toggle {
  justify-content: flex-start;
  padding: 2px 0 6px;
  border-bottom: 1px solid #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 650;
}
.fz-order-simple .fz-takeover-toggle .fz-section-chevron {
  margin-left: 2px;
}
.fz-order-simple .fz-takeover-label {
  color: #64748b;
  font-weight: 500;
}
.fz-order-simple #fzTakeoverBody {
  padding-top: 6px;
}

/* Add/Update order form density — scoped; quote/WT untouched */
.fz-order-simple .fz-field { gap: 2px; }
.fz-order-simple textarea[name="invoice_other"] { min-height: 56px; }
.fz-order-simple .fz-job-card .fz-grid-2 + .fz-note-client,
.fz-order-simple .fz-note-client[style] { margin-top: 8px !important; }
.fz-order-simple .fz-grid-2[style*="margin-top"] { margin-top: 8px !important; }

/* ===== Flyerz Daily sales / quotes report ===== */
body.fz-sales-report .fz-sr-main {
  max-width: 920px;
}

.fz-sr-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  margin-bottom: 18px;
}

.fz-sr-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px 16px;
}

.fz-sr-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  min-width: 180px;
}

.fz-sr-field input[type="date"] {
  font: inherit;
  font-weight: 500;
  font-family: Inter, system-ui, sans-serif;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  color: #0f172a;
  min-height: 42px;
}

.fz-sr-field input[type="date"]:focus {
  outline: none;
  border-color: #8b5cf6;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18);
}

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

.fz-sr-filter-actions .fz-btn-primary {
  border: none;
  min-height: 42px;
}

.fz-sr-filter-actions .fz-btn-ghost {
  min-height: 42px;
  text-decoration: none;
}

.fz-sr-hint {
  margin: 14px 0 0;
  padding: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #94a3b8;
}

.fz-sr-hint em {
  font-style: normal;
  font-weight: 600;
  color: #64748b;
}

.fz-sr-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.fz-sr-stat {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fz-sr-stat-accent {
  border-color: #ddd6fe;
  background: linear-gradient(180deg, #faf5ff 0%, #fff 70%);
}

.fz-sr-stat-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.fz-sr-stat-value {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.fz-sr-stat-accent .fz-sr-stat-value {
  background: linear-gradient(90deg, #7c3aed, #4f46e5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fz-sr-results {
  padding: 0;
  overflow: hidden;
}

.fz-sr-results-head {
  padding: 16px 20px 4px;
}

.fz-sr-results-head .fz-dash-section-title {
  margin-bottom: 0;
}

.fz-sr-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

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

.fz-sr-table thead th {
  background: linear-gradient(135deg, #6d28d9, #4f46e5);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 16px;
  border: none;
}

.fz-sr-th-name { text-align: left; }
.fz-sr-th-num { text-align: right; }

.fz-sr-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  vertical-align: middle;
}

.fz-sr-name {
  font-weight: 600;
  color: #0f172a;
  text-align: left;
}

.fz-sr-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.fz-sr-money {
  font-weight: 600;
  color: #0f172a;
}

.fz-sr-table tbody tr.fz-sr-row:nth-child(even) td {
  background: #f8fafc;
}

.fz-sr-table tbody tr.fz-sr-row:hover td {
  background: rgba(139, 92, 246, 0.06);
}

.fz-sr-empty td {
  text-align: center;
  color: #94a3b8;
  padding: 28px 16px;
  font-size: 14px;
}

.fz-sr-total td {
  background: #f5f3ff !important;
  border-bottom: none;
  border-top: 2px solid #ddd6fe;
  font-weight: 800;
  color: #4c1d95;
  padding-top: 14px;
  padding-bottom: 14px;
}

.fz-sr-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 8px 0 12px;
  padding: 0;
}

.fz-sr-footer-links a {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  transition: color .12s, border-color .12s, background .12s;
}

.fz-sr-footer-links a:hover {
  color: #6d28d9;
  border-color: #ddd6fe;
  background: #faf5ff;
}

@media (max-width: 720px) {
  body.fz-sales-report .fz-dash-top,
  body.fz-sales-report .fz-sr-main {
    padding-left: 16px;
    padding-right: 16px;
  }
  .fz-sr-filter-row {
    flex-direction: column;
    align-items: stretch;
  }
  .fz-sr-field { min-width: 0; width: 100%; }
  .fz-sr-filter-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .fz-sr-filter-actions .fz-btn {
    width: 100%;
    justify-content: center;
  }
  .fz-sr-stats {
    grid-template-columns: 1fr;
  }
  .fz-sr-stat-value { font-size: 20px; }
}

/* Linked-order control under Internal-only notes */
.fz-order-simple .fz-job-linked-actions {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #cbd5e1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fz-order-simple .fz-job-linked-actions .fz-btn-link {
  align-self: flex-start;
}
.fz-order-simple .fz-job-linked-actions .fz-linked-hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  color: #64748b;
}


/* ===== PR / Artwork feedback SLA (ops list) ===== */
tr.fz-ops-row.fz-sla-amber {
  background: rgba(245, 158, 11, 0.12) !important;
  box-shadow: inset 4px 0 0 #f59e0b;
}
tr.fz-ops-row.fz-sla-red {
  background: rgba(255, 45, 45, 0.18) !important;
  box-shadow: inset 4px 0 0 #ff2d2d;
}
tr.fz-ops-row.fz-sla-amber td,
tr.fz-ops-row.fz-sla-red td {
  border-color: transparent;
}
.fz-pill-sla-amber {
  outline: 2px solid #f59e0b;
  outline-offset: 2px;
}
.fz-pill-sla-red {
  outline: 2px solid #ff2d2d;
  outline-offset: 2px;
}
.fz-ops-statuscell .fz-fb-badge {
  display: block;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.4;
  width: fit-content;
  max-width: 100%;
}
.fz-fb-sent_first_mail,
.fz-fb-sent_first_proof {
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.4);
}
.fz-fb-followed_up {
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(96, 165, 250, 0.45);
}
.fz-fb-awaiting_design_payment {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(251, 191, 36, 0.45);
}
.fz-leg-sla {
  /* unused — colour alerts live in .fz-ops-legend-clean */
  display: none;
}
.fz-sla-swatch {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
}
.fz-sla-amber-sw {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid #f59e0b;
}
.fz-sla-red-sw {
  background: rgba(255, 45, 45, 0.28);
  color: #ff6b6b;
  border: 1px solid #ff2d2d;
}
.fz-leg-sla .fz-fb-badge {
  display: inline-block;
  margin: 0;
}

/* Compact SLA reason under Progress status pill */
.fz-ops-statuscell .fz-sla-reason {
  display: block;
  margin-top: 3px;
  max-width: 11.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  white-space: normal;
  word-break: break-word;
}
.fz-prod-sub{font-size:11px;font-weight:700;color:#9a3412;margin-top:3px;line-height:1.25}
.fz-sla-reason-amber {
  color: #fbbf24;
}
.fz-sla-reason-red {
  color: #ff6b6b;
}

/* ===== Paid-row designer feedback notes (ops expand) ===== */
.fz-ops-statuscell .fz-ops-status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.fz-fb-notes-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 6px;
  background: rgba(30, 41, 59, 0.85);
  color: #cbd5e1;
  cursor: pointer;
  line-height: 1;
  flex-shrink: 0;
}
.fz-fb-notes-toggle:hover {
  color: #f1f5f9;
  border-color: #94a3b8;
  background: rgba(51, 65, 85, 0.95);
}
.fz-fb-notes-toggle .fz-fb-notes-caret {
  display: inline-block;
  font-size: 0.75rem;
  transition: transform 0.15s ease;
  transform-origin: 50% 45%;
}
.fz-fb-notes-toggle.is-open .fz-fb-notes-caret,
.fz-fb-notes-toggle[aria-expanded="true"] .fz-fb-notes-caret {
  transform: rotate(180deg);
}
tr.fz-fb-notes-row td {
  padding: 0 12px 12px 12px;
  background: rgba(15, 23, 42, 0.55);
  border-top: none;
  vertical-align: top;
}
.fz-fb-notes-panel {
  margin: 0 0 4px 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(71, 85, 105, 0.55);
  background: rgba(15, 23, 42, 0.92);
  color: #e2e8f0;
  max-width: 920px;
}
.fz-fb-notes-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 8px;
}
.fz-fb-notes-empty {
  margin: 0;
  font-size: 0.85rem;
  color: #94a3b8;
  font-style: italic;
}
.fz-fb-notes-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fz-fb-notes-item {
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid rgba(51, 65, 85, 0.7);
}
.fz-fb-notes-item-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 4px;
}
.fz-fb-notes-label {
  font-size: 0.85rem;
  color: #f8fafc;
}
.fz-fb-notes-at {
  font-size: 0.75rem;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
}
.fz-fb-notes-text {
  font-size: 0.85rem;
  color: #cbd5e1;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.4;
}
.fz-fb-notes-empty-note {
  color: #64748b;
}
.fz-fb-notes-by {
  margin-top: 4px;
  font-size: 0.72rem;
  color: #64748b;
}


/* Collapsible ops panels (log / churn / stage timing) */
.fz-ops-collapse {
  border: none;
}
.fz-ops-collapse-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
}
.fz-ops-collapse-summary::-webkit-details-marker { display: none; }
.fz-ops-collapse-summary .fz-ops-sec-label { margin: 0; }
.fz-ops-collapse-hint {
  font-size: 0.72rem;
  font-weight: 700;
  color: #818cf8;
  white-space: nowrap;
}
.fz-ops-collapse-hint::after {
  content: " ▾";
  font-size: 0.65rem;
}
.fz-ops-collapse[open] .fz-ops-collapse-hint::after {
  content: " ▴";
}
.fz-ops-collapse[open] .fz-ops-collapse-hint {
  color: #a5b4fc;
}
.fz-ops-collapse-body {
  margin-top: 12px;
}
.fz-ops-panel.fz-ops-log:not(:has(details[open])),
.fz-ops-panel.fz-ops-churn:not(:has(details[open])),
.fz-ops-panel.fz-ops-timing:not(:has(details[open])) {
  /* keep compact when closed — padding already on panel */
}

/* Ops Salesperson/Designer dropdown list: readable options (dark list, light text) */
.fz-ops-select { color-scheme: dark; }
.fz-ops-select option,
.fz-ops-select optgroup {
  background-color: #0f172a !important;
  color: #e2e8f0 !important;
  font-weight: 600;
}
.fz-ops-select option:checked,
.fz-ops-select option:hover {
  background-color: #7c3aed !important;
  color: #ffffff !important;
}


/* Live Jobs monitoring dashboard */
.fz-alive .fz-action-ico {
  background: linear-gradient(135deg, #f59e0b, #ef4444) !important;
  color: #fff !important;
}
.fz-alive:hover .fz-action-arrow { color: #fbbf24; }
.fz-live-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: stretch;
  margin: 0 0 16px;
}
.fz-live-count-card {
  flex: 0 0 auto;
  min-width: 220px;
  padding: 20px 24px;
  border-radius: 18px;
  background: linear-gradient(145deg, #1e1b4b, #0f172a 55%, #042f2e);
  border: 1px solid #4c1d95;
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
  text-align: center;
}
.fz-live-count-num {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  color: #f8fafc;
  letter-spacing: -0.03em;
}
.fz-live-count-label {
  margin-top: 6px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a78bfa;
}
.fz-live-count-sub {
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
}
.fz-live-count-break {
  margin-top: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #e2e8f0;
}
.fz-live-hero-side {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.fz-live-hint {
  margin: 0;
  font-size: 0.9rem;
  color: #94a3b8;
  max-width: 520px;
  line-height: 1.45;
}
.fz-live-updated {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #334155;
}
body.fz-live .fz-ops-status-chip { text-decoration: none; }


/* ---- Still not collected (14 days after despatch, clocks stopped) ---- */
.fz-st-still-not-collected { background: #f1f5f9; color: #64748b; }
.fz-pill-still-not-collected {
  background: rgba(100, 116, 139, 0.18);
  color: #94a3b8;
  border: 1px dashed rgba(148, 163, 184, 0.6);
}
.fz-ops-status-chip.fz-chip-still-not-collected {
  border-color: rgba(148, 163, 184, 0.5); color: #94a3b8; background: rgba(100, 116, 139, 0.12);
  border-style: dashed;
}
.fz-ops-status-chip.fz-chip-still-not-collected.is-on { background: #64748b; border-color: #64748b; color: #fff; }
.fz-ops-break-item.fz-break-still-not-collected { color: #94a3b8; font-style: italic; }
.fz-day-counter.fz-dc-snc {
  background: rgba(100, 116, 139, 0.12); color: #94a3b8;
  border: 1px dashed rgba(148, 163, 184, 0.45); font-style: italic;
}
tr.fz-ops-row[data-status="Still not collected"] { opacity: 0.6; filter: grayscale(1); }
tr.fz-ops-row[data-status="Still not collected"] > td { color: #94a3b8; }


/* UX_REVIEW (Ian 2026-10-03 23:20) - layout / consistency only */
/* page background stopped at the first screen (white band below on long pages) */
body.fz-dash, body.fz-order, body.fz-ops, body.fz-maxx { height: auto; }
/* buttons on the modern pages used the old Times font */
body.fz-dash button, body.fz-order button, body.fz-ops button, body.fz-maxx button,
body.fz-dash input[type=submit], body.fz-order input[type=submit], body.fz-ops input[type=submit], body.fz-maxx input[type=submit] { font-family: inherit; }
/* "Log out" wrapped onto two lines on a phone */
.fz-dash-logout, .fz-maxx-logout, .fz-maxx-dashlink { white-space: nowrap; }
/* Add/Update order: Invoice total amount was dark on dark purple */
.fz-order-simple .fz-totals > div.fz-total-row { padding: 10px 12px; }
.fz-order-simple .fz-totals > div.fz-total-row span,
.fz-order-simple .fz-totals > div.fz-total-row strong { color: #fff; font-size: 15px; }
/* Ops dashboard: hide the out-of-order section numbers (08, 02-03, 01, 10, 09, 11) and the duplicate count line */
.fz-ops-sec-label > span { display: none; }
#fzOpsBreakdown { display: none; }
/* Admin: settings cards side by side only on wide screens */
@media (min-width: 760px) { .fz-adm-grid-even { grid-template-columns: 1fr 1fr !important; } }
/* bigger tap targets on a phone */
@media (max-width: 640px) {
  .fz-ops-status-chip, .fz-ops-tag { min-height: 36px; padding-top: 6px; padding-bottom: 6px; }
  .fz-fb-notes-toggle { min-width: 36px; min-height: 36px; }
  .fz-order-simple .fz-btn-ghost, .fz-order-simple .fz-btn-primary { min-height: 40px; }
}
