:root {
  color-scheme: light;
  --ink: #142039;
  --muted: #657086;
  --paper: #f6f8fb;
  --panel: #ffffff;
  --line: #dce2ec;
  --blue: #0c3471;
  --blue-2: #1257a8;
  --red: #c82632;
  --green: #20784f;
  --shadow: 0 18px 45px rgba(13, 36, 76, 0.12);
}

* {
  box-sizing: border-box;
}

.hidden {
  display: none !important;
}

.view-hidden {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

.auth-locked .topbar,
.auth-locked .view-nav,
.auth-locked .app-shell {
  display: none;
}

.office-page:not(.auth-locked) .login-screen {
  display: none;
}

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 18px;
  background: linear-gradient(180deg, var(--blue) 0, var(--blue) 42%, var(--paper) 42%);
}

.login-card {
  display: grid;
  gap: 14px;
  width: min(420px, 100%);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.login-logo {
  display: block;
  width: min(260px, 100%);
  height: auto;
  margin: 0 auto 4px;
  border-radius: 8px;
}

.login-card h1 {
  margin: 0;
  font-size: 30px;
  letter-spacing: 0;
}

.login-message {
  min-height: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.login-message.error {
  color: var(--red);
}

.login-help {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
  padding: 10px;
  border-radius: 8px;
  background: #f6f8fb;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.login-help strong {
  grid-column: 1 / -1;
  color: var(--ink);
}

button,
input,
select,
textarea {
  font: inherit;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: var(--blue);
  color: white;
  border-bottom: 5px solid var(--red);
}

.staff-panel {
  display: grid;
  gap: 2px;
  min-width: 175px;
  margin-left: auto;
  color: white;
}

.staff-panel strong {
  font-size: 13px;
}

.staff-panel span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 700;
}

.staff-panel .ghost-button {
  justify-self: start;
  min-height: 28px;
  padding: 4px 9px;
  background: rgba(255, 255, 255, 0.16);
  color: white;
}

.brand-mark {
  display: grid;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  font-size: 22px;
  font-weight: 800;
}

.topbar h1 {
  margin: 2px 0 4px;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1;
  letter-spacing: 0;
}

.hours,
.eyebrow {
  margin: 0;
}

.eyebrow {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.topbar .eyebrow,
.topbar .hours {
  color: rgba(255, 255, 255, 0.86);
}

.icon-button,
.ghost-button,
.primary-button,
.service-card,
.qty-button {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.icon-button {
  margin-left: auto;
  padding: 10px 15px;
  background: white;
  color: var(--blue);
  font-weight: 800;
}

.header-link {
  text-decoration: none;
}

.topbar .header-link + .icon-button {
  margin-left: 0;
}

.staff-panel + .header-link {
  margin-left: 0;
}

.staff-panel ~ .icon-button {
  margin-left: 0;
}

.view-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 18px 0;
  background: var(--paper);
}

.view-tab {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--blue);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(13, 36, 76, 0.08);
}

.view-tab.active {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}

.app-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(330px, 0.8fr);
  gap: 18px;
  padding: 18px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.service-panel {
  min-height: 520px;
}

.work-panel,
.ready-panel,
.operations-panel,
.settings-panel,
.summary-panel {
  grid-column: 1 / -1;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-head.compact {
  align-items: center;
}

h2 {
  margin: 4px 0 0;
  font-size: 22px;
  letter-spacing: 0;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 11px;
  background: white;
  color: var(--ink);
}

input[readonly] {
  background: #eef2f8;
  color: var(--blue);
  font-weight: 900;
}

textarea {
  resize: vertical;
}

.search-box {
  width: min(320px, 100%);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.topup-box,
.lookup-box {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbff;
}

.topup-box h3,
.lookup-box h3 {
  margin: 4px 0 0;
  font-size: 18px;
}

.topup-form {
  display: grid;
  grid-template-columns: 1fr 130px 1fr 120px auto;
  gap: 10px;
  align-items: end;
}

.inline-action {
  width: auto;
  min-height: 39px;
  margin-top: 0;
  padding: 10px 14px;
}

.service-card {
  display: grid;
  gap: 8px;
  min-height: 148px;
  padding: 14px;
  text-align: left;
  background: #f9fbff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.service-card:hover {
  border-color: var(--blue-2);
  transform: translateY(-1px);
}

.service-card strong {
  font-size: 16px;
}

.service-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price-line input {
  max-width: 92px;
  padding: 8px;
}

.document-service-picker {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.document-service-picker select {
  padding: 8px;
  font-size: 13px;
}

.form-grid,
.task-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.wide {
  grid-column: 1 / -1;
}

.document-checklist {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 12px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbff;
}

.document-checklist legend {
  padding: 0 6px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.document-checklist label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.document-checklist input {
  width: auto;
}

.cart-list,
.task-list {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.empty {
  padding: 18px;
  color: var(--muted);
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.cart-item,
.task-item,
.sale-line {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fcfdff;
}

.item-top,
.task-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.task-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 132px;
}

.lookup-copy {
  width: fit-content;
  margin-top: 8px;
}

.id-lookup-box {
  margin-top: 14px;
}

.id-match-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.id-match-item {
  display: grid;
  gap: 7px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.item-name,
.task-name {
  font-weight: 800;
}

.tracking-number {
  display: inline-block;
  width: fit-content;
  margin-top: 5px;
  padding: 5px 8px;
  border-radius: 8px;
  background: #eaf4ee;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.ready-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #eaf4ee;
  color: var(--green);
}

.ready-toolbar span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.ready-toolbar span.sync-error {
  color: var(--red);
}

.ready-item {
  border-color: rgba(32, 120, 79, 0.35);
  background: #fbfffd;
}

.staff-log-box {
  display: grid;
  gap: 10px;
  margin: 12px 0 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbff;
}

.settings-jump-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.settings-jump-row .ghost-button {
  text-decoration: none;
}

.settings-jump-row .ghost-button.active {
  background: var(--blue);
  color: white;
}

.settings-card,
.staff-account-box {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbff;
  overflow: hidden;
}

.priority-card {
  border-color: rgba(12, 52, 113, 0.32);
  background: #f3f7ff;
}

.staff-account-list {
  display: grid;
  gap: 8px;
}

.staff-account-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.staff-account-row input,
.staff-account-row select {
  width: 100%;
  min-width: 0;
}

.service-price-list {
  display: grid;
  gap: 8px;
  max-height: 640px;
  overflow: auto;
  padding-right: 4px;
}

.service-price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.service-price-row span {
  display: grid;
  gap: 3px;
}

.service-price-row small {
  color: var(--muted);
  font-weight: 800;
}

.service-price-row input {
  width: 100%;
  min-width: 0;
}

.service-price-save {
  width: 100%;
  margin-top: 10px;
}

.staff-log-box h3 {
  margin: 4px 0 0;
  font-size: 18px;
}

.staff-log-list {
  display: grid;
  gap: 8px;
}

.staff-log-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: white;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.staff-log-item strong {
  color: var(--ink);
}

.history-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.report-center {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  overflow: hidden;
}

.report-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  max-width: 100%;
}

.report-controls select,
.report-controls input,
.report-controls button {
  width: 100%;
  min-width: 0;
}

.expense-panel {
  margin-top: 14px;
  overflow: hidden;
}

.drawer-panel {
  margin-top: 14px;
  overflow: hidden;
}

.expense-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  max-width: 100%;
}

.expense-form input,
.expense-form select,
.expense-form button {
  width: 100%;
  min-width: 0;
}

.expense-form #addExpense {
  grid-column: 1 / -1;
  justify-self: stretch;
}

.expense-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.expense-presets .qty-button {
  flex: 0 1 auto;
}

.drawer-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.drawer-form input,
.drawer-form button {
  width: 100%;
  min-width: 0;
}

.drawer-form #saveDrawer {
  grid-column: 1 / -1;
}

.mini-panel,
.report-box {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbff;
}

.mini-head {
  display: grid;
  gap: 8px;
}

.mini-head h3 {
  margin: 0;
  font-size: 18px;
}

.history-list {
  display: grid;
  gap: 8px;
  max-height: 360px;
  overflow: auto;
}

.history-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.voided-item {
  border-color: rgba(200, 38, 50, 0.35);
  background: #fff7f8;
  opacity: 0.82;
}

.voided-item strong {
  color: var(--red);
}

.history-item div,
.history-actions {
  display: grid;
  gap: 4px;
}

.history-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.history-actions {
  justify-items: end;
}

.report-box {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 700;
}

.audit-line {
  padding-top: 6px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.backup-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbff;
}

.backup-actions span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.file-button {
  display: inline-grid;
  place-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 8px;
  background: #edf2f9;
  color: var(--blue);
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
}

.file-button input {
  display: none;
}

.status-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.status-board div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.status-board span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.status-board strong {
  font-size: 22px;
}

.document-report {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.report-list {
  display: grid;
  gap: 8px;
}

.report-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbff;
}

.report-item div {
  display: grid;
  gap: 3px;
}

.report-item span {
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.report-item strong {
  color: var(--ink);
}

.report-item small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.item-sub,
.task-sub {
  color: var(--muted);
  font-size: 12px;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-button,
.ghost-button {
  min-height: 34px;
  padding: 7px 11px;
  background: #edf2f9;
  color: var(--blue);
  font-weight: 800;
}

.remove-button {
  background: #ffecef;
  color: var(--red);
}

.totals {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.tax-toggle {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--muted);
  font-weight: 900;
}

.tax-toggle input {
  width: 22px;
  height: 22px;
}

.tax-toggle strong {
  color: var(--blue);
}

#tax:disabled {
  background: #eef2f8;
  color: var(--muted);
}

.total-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}

.grand {
  color: var(--ink);
  font-size: 22px;
}

.primary-button {
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  background: var(--green);
  color: white;
  font-weight: 900;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric-row div {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbff;
}

.metric-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.metric-row strong {
  font-size: 22px;
}

.receipt-preview {
  margin-top: 14px;
}

.flyer-reference {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
}

.flyer-reference img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef2f8;
}

.flyer-reference figcaption {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.receipt {
  max-width: 340px;
  padding: 16px;
  background: white;
  color: #111;
  border: 1px solid var(--line);
  font-family: "Courier New", monospace;
  font-size: 13px;
}

.receipt-logo {
  display: block;
  width: min(230px, 100%);
  height: auto;
  margin: 0 auto 8px;
}

.receipt h3,
.receipt p {
  margin: 0 0 5px;
  text-align: center;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.receipt-detail {
  margin: -2px 0 5px;
  color: #444;
  font-size: 12px;
}

.report-print {
  max-width: 520px;
  line-height: 1.5;
}

.receipt-note,
.receipt-link {
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.signature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 18px 0 8px;
}

.signature-row span {
  display: block;
  padding-top: 20px;
  border-top: 1px solid #111;
  text-align: center;
  font-size: 11px;
}

.lookup-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.lookup-result {
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  line-height: 1.45;
  background: white;
}

.lookup-source {
  display: inline-block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.client-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(5, 16, 40, 0.92) 0, rgba(7, 28, 68, 0.88) 390px, rgba(246, 248, 251, 0.98) 390px),
    radial-gradient(circle at 18% 8%, rgba(198, 38, 50, 0.28), transparent 32%),
    radial-gradient(circle at 86% 4%, rgba(255, 255, 255, 0.18), transparent 26%),
    #071c44;
}

.client-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 24px 18px 54px;
  color: white;
  text-align: center;
}

.client-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 32%, rgba(255, 255, 255, 0.08) 44%, transparent 58%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.18) 100%);
}

.client-hero > * {
  position: relative;
  z-index: 1;
}

.client-logo {
  display: block;
  width: min(260px, 78vw);
  height: auto;
  margin-top: 8px;
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.client-hero .eyebrow {
  color: rgba(255, 255, 255, 0.86);
}

.client-hero h1 {
  margin: 0;
  font-size: clamp(32px, 6vw, 58px);
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.client-hero p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
  line-height: 1.45;
}

.client-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.client-back {
  justify-self: end;
  padding: 9px 12px;
  border-radius: 8px;
  background: white;
  color: var(--blue);
  font-weight: 900;
}

.client-shell {
  display: grid;
  gap: 16px;
  width: min(860px, calc(100% - 28px));
  margin: -34px auto 40px;
}

.client-check,
.client-info {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(12, 52, 113, 0.14);
  border-radius: 8px;
  background: white;
  box-shadow: 0 24px 60px rgba(7, 28, 68, 0.2);
}

.client-check {
  border-top: 5px solid var(--red);
}

.client-check h2 {
  color: var(--blue);
  font-size: clamp(26px, 4vw, 42px);
}

.client-check .eyebrow {
  color: var(--red);
}

.client-lookup {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.client-lookup input {
  min-height: 48px;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  border-color: rgba(12, 52, 113, 0.22);
  background: #ffffff;
  color: #071c44;
  box-shadow: inset 0 0 0 1px rgba(12, 52, 113, 0.04);
}

.client-result {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(12, 52, 113, 0.2);
  border-radius: 8px;
  background: linear-gradient(135deg, #071c44 0%, #0c3471 100%);
  color: white;
  line-height: 1.45;
}

.client-result strong {
  color: white;
  font-size: 22px;
}

.client-result > span,
.client-result p {
  color: rgba(255, 255, 255, 0.88);
}

.client-result.ready {
  border-color: rgba(56, 211, 128, 0.42);
  background: linear-gradient(135deg, #0d3b2a 0%, #20784f 100%);
}

.client-result.attention {
  border-color: rgba(255, 170, 170, 0.42);
  background: linear-gradient(135deg, #4c0c14 0%, #c82632 100%);
}

.status-pill {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--green);
  color: white;
  font-size: 13px;
  font-weight: 900;
}

.client-result dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.client-result dl div,
.client-info div {
  display: grid;
  gap: 3px;
}

.client-result dl div {
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.client-result dt,
.client-info strong {
  color: #5c6680;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.client-result dt {
  color: rgba(255, 255, 255, 0.68);
}

.client-result dd,
.client-info span {
  margin: 0;
  color: #111827;
  font-weight: 700;
}

.client-result dd {
  color: white;
}

.client-info {
  grid-template-columns: repeat(3, 1fr);
  background: #f9fbff;
}

.client-info .client-help-line {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.client-help-line span {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.client-help-line a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 11px;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  font-weight: 900;
  text-decoration: none;
}

.client-help-line a:first-child {
  background: var(--green);
}

.client-help-line a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.powered-by-fedtech {
  display: flex;
  justify-content: center;
  padding: 0 18px 18px;
  background: var(--paper);
}

.powered-by-fedtech img {
  display: block;
  width: min(150px, 38vw);
  height: auto;
  opacity: 0.78;
}

.auth-locked .powered-by-fedtech {
  display: none;
}

.public-page {
  background:
    linear-gradient(180deg, rgba(246, 248, 251, 0) 0, var(--paper) 520px),
    radial-gradient(circle at 18% 12%, rgba(198, 38, 50, 0.12), transparent 28%),
    radial-gradient(circle at 88% 2%, rgba(32, 120, 79, 0.12), transparent 30%),
    var(--paper);
}

.public-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 24px rgba(13, 36, 76, 0.08);
}

.public-brand {
  position: relative;
  display: grid;
  flex: 0 0 66px;
  width: 66px;
  height: 66px;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(12, 52, 113, 0.18);
  border-radius: 50%;
  background: white;
  box-shadow: 0 10px 26px rgba(13, 36, 76, 0.14);
  animation: logoFloat 5.8s ease-in-out infinite;
}

.public-brand::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.7) 48%, transparent 72%);
  opacity: 0;
  transform: translateX(-120%);
  animation: logoShine 6.5s ease-in-out infinite;
}

.public-brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.public-nav a,
.public-footer a {
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.public-nav a {
  padding: 9px 11px;
  border-radius: 8px;
}

.public-nav .public-share-button {
  background: var(--blue);
  color: white;
  box-shadow: 0 10px 22px rgba(12, 52, 113, 0.18);
}

.public-install-button {
  width: auto;
  min-height: 36px;
  padding: 9px 11px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: white;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(32, 120, 79, 0.2);
}

.public-install-button:hover,
.public-install-button:focus-visible {
  background: #17633f;
  transform: translateY(-2px);
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(12, 52, 113, 0.16);
  border-radius: 8px;
  background: #eef4ff;
}

.language-toggle button {
  width: auto;
  min-height: 30px;
  padding: 5px 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.language-toggle button.active {
  background: var(--red);
  color: white;
  box-shadow: 0 8px 18px rgba(198, 38, 50, 0.18);
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-2px) scale(1.03);
  }
}

@keyframes logoShine {
  0%,
  68% {
    opacity: 0;
    transform: translateX(-120%);
  }
  78% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

.public-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 22px;
  align-items: center;
  min-height: 520px;
  padding: 56px 22px 58px;
  background: #060e1d;
  color: white;
}

.public-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 14, 29, 0.96) 0%, rgba(8, 20, 40, 0.84) 42%, rgba(10, 22, 40, 0.22) 100%),
    linear-gradient(0deg, rgba(6, 14, 29, 0.62), rgba(6, 14, 29, 0.02) 44%, rgba(6, 14, 29, 0.24)),
    url("office-bg.jpg") center center / cover;
  filter: brightness(0.94) contrast(1.07) saturate(1.08);
  transform-origin: center;
  animation: cinematicPush 22s ease-in-out infinite alternate;
}

.public-hero::after,
.display-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 180px rgba(0, 0, 0, 0.46);
}

.public-hero > * {
  position: relative;
  z-index: 2;
}

.cinema-light-sweep {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    110deg,
    transparent 0%,
    transparent 34%,
    rgba(255, 255, 255, 0.05) 45%,
    rgba(180, 210, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.04) 55%,
    transparent 66%,
    transparent 100%
  );
  animation: cinematicLightSweep 12s ease-in-out infinite;
}

@keyframes cinematicPush {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.08) translate(-1.2%, -0.4%);
  }
}

@keyframes cinematicLightSweep {
  0% {
    opacity: 0;
    transform: translateX(-105%);
  }
  20%,
  78% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(105%);
  }
}

.public-hero-copy {
  width: min(760px, 100%);
}

.public-hero .eyebrow {
  color: rgba(255, 255, 255, 0.84);
}

.public-hero h1 {
  margin: 6px 0 12px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.96;
  letter-spacing: 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5), 0 0 40px rgba(30, 80, 160, 0.25);
}

.public-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.5;
}

.public-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.public-hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.live-service-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.live-service-light i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #9aa4b2;
  box-shadow: 0 0 0 4px rgba(154, 164, 178, 0.16);
}

.live-service-light.is-live {
  border-color: rgba(56, 211, 128, 0.46);
  background: rgba(32, 120, 79, 0.32);
}

.live-service-light.is-live i {
  background: #38d380;
  box-shadow: 0 0 0 4px rgba(56, 211, 128, 0.14), 0 0 18px rgba(56, 211, 128, 0.85);
  animation: livePulse 1.7s ease-in-out infinite;
}

.live-service-light.is-off {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(8, 20, 40, 0.42);
  color: rgba(255, 255, 255, 0.78);
}

.live-service-light.is-off i {
  background: #dc3545;
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.12);
}

@keyframes livePulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.28);
  }
}

.public-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.public-action {
  width: auto;
  min-width: 170px;
  margin-top: 0;
  text-align: center;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.public-action:hover,
.public-action:focus-visible,
.public-nav a:hover,
.public-nav a:focus-visible,
.contact-link-list a:hover,
.contact-link-list a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(4, 18, 45, 0.16);
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 16px;
  border: 0;
  border-radius: 8px;
  background: #20784f;
  color: white;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(32, 120, 79, 0.18);
}

.whatsapp-button:hover {
  background: #17633f;
}

.public-hero-card {
  animation: heroCardFloat 7s ease-in-out infinite;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  box-shadow: 0 22px 44px rgba(4, 18, 45, 0.24);
}

@keyframes heroCardFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.public-hero-card img {
  width: min(290px, 100%);
  height: auto;
}

.public-hero-card strong {
  font-size: 19px;
}

.public-hero-card span,
.public-hero-card small {
  color: var(--muted);
  font-weight: 800;
}

.public-track,
.public-section {
  display: grid;
  gap: 16px;
  width: min(1120px, calc(100% - 32px));
  margin: 18px auto;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.public-intro-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  width: min(1120px, calc(100% - 32px));
  margin: -38px auto 18px;
  position: relative;
  z-index: 2;
}

.public-intro-strip div:only-child {
  max-width: 420px;
  justify-self: center;
}

.public-intro-strip div {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.public-intro-strip strong {
  color: var(--blue);
  font-size: 18px;
}

.public-intro-strip span {
  color: var(--muted);
  font-weight: 800;
}

.public-trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: min(1120px, calc(100% - 32px));
  margin: 18px auto;
}

.public-trust-band div {
  position: relative;
  display: grid;
  gap: 8px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(12, 52, 113, 0.12);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #f8fbff);
  box-shadow: var(--shadow);
}

.public-trust-band div::after {
  content: "";
  position: absolute;
  inset: auto -30px -42px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(12, 52, 113, 0.08);
}

.public-trust-band span {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.public-trust-band strong {
  color: var(--blue);
  font-size: 22px;
}

.public-trust-band small {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.45;
}

.public-track {
  margin-top: -8px;
}

.public-track h2,
.public-section h2 {
  margin: 4px 0 0;
  font-size: clamp(24px, 4vw, 40px);
  letter-spacing: 0;
}

.public-section-head span {
  display: block;
  max-width: 680px;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.45;
}

.public-track p,
.public-contact p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.public-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.public-service-grid article {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbff;
}

.service-card {
  position: relative;
  overflow: hidden;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.public-service-grid .service-card:hover {
  border-color: rgba(12, 52, 113, 0.28);
  box-shadow: 0 18px 34px rgba(13, 36, 76, 0.13);
  transform: translateY(-3px);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto -18px -34px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  opacity: 0.16;
}

.service-card-blue::after {
  background: var(--blue);
}

.service-card-green::after {
  background: var(--green);
}

.public-service-grid .service-card-blue {
  background: linear-gradient(135deg, #ffffff 0%, #f5f9ff 100%);
}

.public-service-grid .service-card-green {
  background: linear-gradient(135deg, #ffffff 0%, #f3fbf7 100%);
}

.service-card-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  font-size: 15px;
  font-weight: 900;
}

.service-card-green .service-card-icon {
  background: var(--green);
}

.public-service-grid strong {
  color: var(--blue);
  font-size: 17px;
}

.public-service-grid span,
.public-steps span {
  color: var(--muted);
  line-height: 1.4;
}

.public-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: min(1120px, calc(100% - 32px));
  margin: 18px auto;
}

.public-stats div {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 8px;
  background: #071c44;
  color: white;
  box-shadow: var(--shadow);
}

.public-stats strong {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.public-stats span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.public-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.public-steps div {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 8px;
  background: #f9fbff;
  border: 1px solid var(--line);
}

.public-steps strong {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: white;
}

.public-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(300px, 1.25fr);
  gap: 18px;
  align-items: center;
  width: min(1120px, calc(100% - 32px));
  margin: 18px auto;
  padding: 22px;
  border-radius: 8px;
  background: #071c44;
  color: white;
  box-shadow: var(--shadow);
}

.public-showcase h2 {
  margin: 4px 0 10px;
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1;
  letter-spacing: 0;
}

.public-showcase p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.showcase-visuals {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(220px, 1fr);
  gap: 14px;
  align-items: stretch;
}

.showcase-visuals figure {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 12px;
  border-radius: 8px;
  background: white;
  color: var(--ink);
}

.showcase-visuals img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  background: white;
}

.showcase-visuals figcaption {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.showcase-mini-grid {
  display: grid;
  gap: 12px;
}

.showcase-mini-grid div {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 98px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
}

.showcase-mini-grid strong {
  font-size: 22px;
}

.showcase-mini-grid span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
  line-height: 1.4;
}

.public-banner-section {
  overflow: hidden;
}

.banner-slider {
  overflow: hidden;
  border-radius: 8px;
}

.banner-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: bannerScroll 34s linear infinite;
}

.banner-slider:hover .banner-track {
  animation-play-state: paused;
}

.service-banner {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(260px, 1fr);
  gap: 16px;
  align-items: center;
  width: min(780px, calc(100vw - 48px));
  min-height: 220px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.service-banner h3 {
  margin: 4px 0 8px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 0.96;
  letter-spacing: 0;
}

.service-banner span {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.42;
}

.service-banner img {
  display: block;
  width: 100%;
  max-height: 170px;
  object-fit: contain;
  border-radius: 8px;
}

.dhl-banner,
.dhl-photo-banner {
  border-color: rgba(215, 14, 21, 0.2);
  background: linear-gradient(135deg, #ffd200 0%, #ffe375 100%);
}

.dhl-banner h3,
.dhl-photo-banner h3 {
  color: #d70e15;
}

.dhl-banner span,
.dhl-photo-banner span {
  color: #5c2500;
}

.dhl-photo-banner img {
  max-height: 190px;
  object-fit: cover;
}

.western-banner,
.gk-banner {
  background: linear-gradient(135deg, #ffffff 0%, #f7f8fb 100%);
}

.western-banner h3,
.gk-banner h3 {
  color: #111827;
}

.gadget-banner {
  border-color: rgba(198, 38, 50, 0.24);
  background: linear-gradient(135deg, #ffffff 0%, #f8f8fb 48%, #14090c 100%);
}

.gadget-banner h3 {
  color: #c82632;
}

.gadget-banner span {
  color: #111827;
}

.gadget-banner img {
  max-height: 198px;
  object-fit: contain;
  background: white;
}

.gadget-tech-banner img {
  max-height: 205px;
}

.multi-services-banner {
  border-color: rgba(12, 52, 113, 0.18);
  background: linear-gradient(135deg, #ffffff 0%, #f7fbff 55%, #dfe9f8 100%);
}

.multi-services-banner h3 {
  color: var(--blue);
}

.multi-services-banner span {
  color: #26334b;
}

.multi-services-banner img {
  max-height: 210px;
  object-fit: contain;
  background: white;
}

@keyframes bannerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 14px));
  }
}

.public-contact {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.contact-link-list,
.public-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.contact-link-list a:not(.whatsapp-button) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
  background: #f9fbff;
}

.public-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px;
  color: white;
  background: var(--blue);
  font-weight: 900;
}

.public-footer a {
  color: white;
}

.public-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.public-footer-links a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.public-footer-fedtech {
  display: block;
  width: min(132px, 30vw);
  height: auto;
  flex: 0 0 auto;
  border-radius: 6px;
  opacity: 0.82;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 86px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 8px;
  background: #20784f;
  color: white;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 16px 38px rgba(32, 120, 79, 0.34);
  transition:
    transform 180ms ease,
    background-color 180ms ease;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  background: #17633f;
  transform: translateY(-2px);
}

.display-page {
  min-height: 100vh;
  overflow: hidden;
  background: #071c44;
  color: white;
}

.display-shell {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100vh;
  min-height: 660px;
  padding: clamp(12px, 1.1vw, 24px);
  background: #060e1d;
}

.display-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 14, 29, 0.96) 0%, rgba(8, 20, 40, 0.82) 46%, rgba(10, 22, 40, 0.22) 100%),
    linear-gradient(0deg, rgba(6, 14, 29, 0.64), rgba(6, 14, 29, 0.02) 42%, rgba(6, 14, 29, 0.24)),
    url("office-bg.jpg") center center / cover;
  filter: brightness(0.95) contrast(1.07) saturate(1.08);
  transform-origin: center;
  animation: cinematicPush 24s ease-in-out infinite alternate;
}

.display-brand-panel,
.display-slide-panel,
.display-footer {
  position: relative;
  z-index: 2;
}

.display-shell .cinema-light-sweep {
  z-index: 1;
}

.display-brand-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 16px;
  align-items: center;
  min-height: 0;
}

.display-brand-panel img {
  grid-row: span 3;
  width: clamp(82px, 7.2vw, 122px);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.display-brand-panel h1 {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 54px);
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.display-brand-panel p {
  margin: 0;
  max-width: 900px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(13px, 1.25vw, 20px);
  line-height: 1.18;
}

.display-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.display-contact-row span {
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  font-size: clamp(12px, 1.05vw, 18px);
  font-weight: 900;
}

.display-contact-row .live-service-light {
  min-height: 38px;
  font-size: clamp(13px, 1.2vw, 18px);
}

.client-live-service {
  margin: 2px 0 4px;
}

.display-slide-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(360px, 0.72fr);
  gap: clamp(16px, 1.5vw, 28px);
  align-items: stretch;
  min-height: 0;
  margin: clamp(10px, 1vh, 18px) 0;
}

.display-slide-image {
  min-height: 0;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.display-image-docs {
  background-image: linear-gradient(135deg, rgba(6, 14, 29, 0.16), rgba(198, 38, 50, 0.12)), url("office-bg.jpg");
  background-position: center;
}

.display-image-immigration {
  background-image: linear-gradient(135deg, rgba(7, 28, 68, 0.18), rgba(32, 120, 79, 0.16)), url("office-bg.jpg");
  background-position: center;
}

.display-image-haiti {
  background-image: linear-gradient(135deg, rgba(12, 52, 113, 0.24), rgba(198, 38, 50, 0.22)), url("office-bg.jpg");
  background-position: center;
}

.display-image-office {
  background-image: linear-gradient(135deg, rgba(32, 120, 79, 0.18), rgba(12, 52, 113, 0.18)), url("office-bg.jpg");
  background-position: center;
}

.display-image-multi-services {
  background-image: url("banner-multi-services.png");
  background-position: center;
  background-color: white;
  background-size: contain;
  background-repeat: no-repeat;
}

.display-image-dhl {
  background-image: linear-gradient(135deg, rgba(255, 210, 0, 0.18), rgba(215, 14, 21, 0.2)), url("banner-dhl-shipping.webp");
  background-position: center;
}

.display-image-western {
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 213, 0, 0.18)), url("banner-western-union.png");
  background-position: center;
  background-color: white;
  background-size: contain;
  background-repeat: no-repeat;
}

.display-image-gadget {
  background-image: url("banner-gadget-world.png");
  background-position: center;
  background-color: #050505;
  background-size: contain;
  background-repeat: no-repeat;
}

.display-image-gadget-tech {
  background-image: url("banner-gadget-tech.png");
  background-position: center;
  background-color: #050505;
  background-size: contain;
  background-repeat: no-repeat;
}

.display-slide-copy {
  display: grid;
  align-content: center;
  gap: clamp(12px, 1.3vw, 20px);
  min-width: 0;
  min-height: 0;
  padding: clamp(18px, 1.7vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.display-slide-copy h2 {
  margin: 0;
  font-size: clamp(34px, 3.85vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.display-slide-copy p {
  margin: 0;
  max-width: 880px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 1.55vw, 27px);
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.display-slide-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.display-slide-points span {
  padding: 10px 12px;
  border-radius: 8px;
  background: white;
  color: var(--blue);
  font-size: clamp(14px, 1.35vw, 22px);
  font-weight: 900;
}

.display-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 50px;
  padding: 9px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--blue);
  font-size: clamp(13px, 1.15vw, 20px);
  font-weight: 900;
  line-height: 1.15;
  overflow: hidden;
}

.display-footer strong,
.display-footer span {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 980px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .checkout-panel {
    order: -1;
  }
}

@media (max-width: 640px) {
  .public-header {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
  }

  .public-brand {
    flex-basis: 58px;
    width: 58px;
    height: 58px;
  }

  .public-nav {
    flex: 1 1 220px;
    justify-content: flex-start;
  }

  .public-hero,
  .public-intro-strip,
  .public-trust-band,
  .public-stats,
  .public-contact,
  .public-steps,
  .public-showcase,
  .showcase-visuals,
  .service-banner,
  .display-slide-panel {
    grid-template-columns: 1fr;
  }

  .public-hero {
    padding: 30px 16px 24px;
  }

  .public-track,
  .public-section {
    width: min(100% - 20px, 1120px);
    padding: 14px;
  }

  .public-showcase,
  .public-intro-strip,
  .public-trust-band,
  .public-stats {
    width: min(100% - 20px, 1120px);
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 82px;
    left: 12px;
  }

  .public-footer {
    display: grid;
  }

  .public-footer-links {
    justify-content: flex-start;
  }

  .public-footer-fedtech {
    width: min(120px, 46vw);
  }

  .display-shell {
    min-height: auto;
    padding: 14px;
    overflow: auto;
  }

  .display-brand-panel {
    grid-template-columns: 1fr;
  }

  .display-brand-panel img {
    grid-row: auto;
    width: min(260px, 86vw);
  }

  .display-slide-copy {
    padding: 18px;
  }

  .display-slide-image {
    min-height: 300px;
  }

  .display-footer {
    display: grid;
  }

  .topbar {
    align-items: start;
    flex-wrap: wrap;
    padding: 14px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .icon-button {
    align-self: center;
    padding: 9px 10px;
  }

  .app-shell {
    padding: 10px;
  }

  .section-head,
  .form-grid,
  .task-form,
  .metric-row,
  .history-layout,
  .status-board,
  .topup-form,
  .expense-form,
  .report-controls,
  .drawer-form,
  .document-checklist,
  .staff-account-row,
  .service-price-row,
  .lookup-form,
  .ready-toolbar,
  .client-lookup,
  .client-info {
    grid-template-columns: 1fr;
  }

  .ready-toolbar {
    display: grid;
  }

  .expense-form #addExpense {
    grid-column: 1;
  }

  .backup-actions {
    display: grid;
  }

  .section-head {
    display: grid;
    align-items: stretch;
  }
}

@media print {
  @page {
    margin: 6mm;
  }

  body > :not(.print-zone) {
    display: none !important;
  }

  .print-zone {
    display: block;
    background: white;
    color: #111;
  }

  .print-zone.receipt-80mm {
    width: 72mm;
    margin: 0;
  }

  .print-zone.receipt-80mm .receipt {
    width: 72mm;
    max-width: 72mm;
    padding: 2mm;
    border: 0;
    box-shadow: none;
    font-size: 11px;
  }

  .print-zone.receipt-80mm .receipt-logo {
    width: 58mm;
  }

  .print-zone.full-page .receipt {
    max-width: 190mm;
    margin: 0 auto;
    border: 0;
  }

  .print-zone.full-page .report-print {
    max-width: 190mm;
    font-family: Arial, sans-serif;
    font-size: 12px;
  }
}

.report-tax-summary { display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0; }
.report-tax-summary > div { flex: 1 1 180px; background: #eef4fc; border: 1px solid #cddbed; border-radius: 10px; padding: 14px; color: #12325c; }
.report-controls label { display: inline-flex; flex-direction: column; gap: 5px; }
.report-controls label[hidden] { display: none; }
