:root {
  --red: #dc3545;
  --red-dark: #b92636;
  --red-soft: #fff0f1;
  --ink: #172131;
  --muted: #7a8492;
  --line: #e9edf2;
  --bg: #f5f7fa;
  --green: #16845a;
  --sidebar: #172130;
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}
a {
  color: var(--red);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
.button {
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 600;
  transition:
    background 0.15s,
    transform 0.15s;
  line-height: 1.4;
  text-decoration: none;
}
button:hover,
.button:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
  transform: none;
}
.primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 10px #dc35451c;
}
.primary:hover {
  background: var(--red-dark);
}
.secondary {
  background: #fff;
  border-color: #dfe4eb;
  color: var(--ink);
}
.secondary:hover {
  background: #f7f8fa;
}
.success-button {
  background: var(--green);
  color: #fff;
}
.success-button:hover {
  background: #116d48;
}
.danger-outline {
  color: #be2838;
  background: #fff7f7;
  border-color: #f4cbd1;
}
.danger-outline:hover {
  background: #ffe5e8;
}
.small-button {
  padding: 8px 15px;
}
.wide {
  width: 100%;
}
.actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.9px;
  margin-bottom: 10px;
}
h2 {
  font-size: 18px;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}
h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
p {
  color: #717c8b;
  margin-bottom: 16px;
}
small,
.small {
  font-size: 12px;
  color: var(--muted);
}
strong {
  font-weight: 650;
}
.muted {
  color: var(--muted);
}
.mono {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.15px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.7px;
  font-weight: 700;
  color: var(--muted);
}
.sidebar {
  width: 250px;
  position: fixed;
  inset: 0 auto 0 0;
  background: var(--sidebar);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 30px 18px;
  z-index: 5;
  overflow: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 17px;
  letter-spacing: 0.5px;
  font-weight: 700;
  text-decoration: none;
}
.brand:hover {
  text-decoration: none;
}
.brand b {
  font-weight: 400;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  color: #a3adbb;
  margin-top: 2px;
}
.brand-icon {
  width: 38px;
  height: 40px;
  border-radius: 10px;
  background: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 850;
  font-size: 27px;
  color: #fff;
  flex-shrink: 0;
}
.sidebar .brand {
  padding: 0 8px;
}
.workspace {
  padding: 18px 13px;
  border: 1px solid #ffffff12;
  border-radius: 10px;
  margin: 32px 0 25px;
  font-size: 12px;
  color: #e7ebf2;
}
.workspace small {
  display: block;
  padding-left: 17px;
  margin-top: 3px;
}
.pulse,
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 6px;
}
.workspace .pulse {
  background: #4bc99b;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sidebar nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  color: #aab5c4;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
}
.sidebar nav a span {
  width: 20px;
  font-size: 19px;
  line-height: 1;
}
.sidebar nav a:hover {
  background: #ffffff08;
  text-decoration: none;
  color: #fff;
}
.sidebar nav a.active {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 16px #00000015;
}
.nav-label {
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 1.5px;
  color: #768397;
  padding: 12px 13px 8px;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 32px 10px 0;
}
.sidebar-bottom .small {
  font-size: 10px;
}
.logout {
  padding: 12px 0;
  background: transparent;
  color: #aab5c4;
  font-weight: 400;
  font-size: 12px;
}
.main {
  margin-left: 250px;
  min-height: 100vh;
}
.topbar {
  height: 80px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  gap: 12px;
}
.account-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 12px;
}
.avatar {
  width: 32px;
  height: 32px;
  background: #fff0f1;
  color: var(--red);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.content {
  max-width: 1500px;
  padding: 32px 36px 0;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.page-heading .eyebrow {
  display: block;
  margin-bottom: 10px;
}
.page-heading p {
  margin-bottom: 0;
  font-size: 13px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}
.stat {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  position: relative;
}
.stat > span {
  display: block;
  font-size: 12px;
  color: #6f7b8a;
  font-weight: 500;
}
.stat strong {
  display: block;
  font-size: 34px;
  line-height: 1.6;
  letter-spacing: -1px;
}
.stat small {
  font-size: 10px;
}
.stat.accent {
  border-top: 3px solid var(--red);
  padding-top: 20px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 22px;
  box-shadow: 0 3px 7px #17213102;
  overflow: hidden;
}
.padded {
  padding: 26px;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 23px 24px;
}
.padded .panel-heading {
  padding: 0 0 15px;
}
.panel-heading h2,
.panel-heading h3 {
  margin: 0;
}
.panel-heading p {
  font-size: 11px;
  margin: 5px 0 0;
}
.panel-heading > a {
  font-size: 11px;
  font-weight: 600;
}
.dashboard-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}
.action-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 21px;
  color: var(--ink);
}
.action-card:hover {
  text-decoration: none;
  border-color: #f0b6be;
}
.action-card strong {
  font-size: 13px;
}
.action-card p {
  font-size: 11px;
  margin: 3px 0 0;
}
.action-card b {
  margin-left: auto;
  font-size: 23px;
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  width: 44px;
  height: 44px;
  color: var(--red);
  background: var(--red-soft);
  font-size: 23px;
  flex-shrink: 0;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  text-align: left;
}
th {
  font-size: 10px;
  letter-spacing: 0.3px;
  font-weight: 600;
  color: #88919e;
  background: #fafbfc;
  padding: 13px 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
td {
  padding: 17px 22px;
  border-bottom: 1px solid #f0f2f5;
  font-size: 12px;
}
tr:last-child td {
  border-bottom: 0;
}
td small {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  letter-spacing: 0;
}
tbody tr:hover {
  background: #fcfdff;
}
.track-link {
  color: var(--ink);
  font-weight: 650;
}
.track-link:hover {
  color: var(--red);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  line-height: 1.4;
  border-radius: 6px;
  padding: 6px 9px;
  font-weight: 550;
  white-space: nowrap;
  background: #f0f2f5;
  color: #768293;
}
.badge .dot {
  height: 5px;
  width: 5px;
  margin-right: 3px;
  background: currentColor;
}
.stage-0 {
  background: #f0f2f5;
  color: #7d8795;
}
.stage-10 {
  background: #fff0f1;
  color: #c73c4b;
}
.stage-20 {
  background: #edf4ff;
  color: #427cc7;
}
.stage-30 {
  background: #eaf8f0;
  color: #21865d;
}
.stage-40 {
  background: #f2edff;
  color: #8863c7;
}
.icon-link {
  font-size: 18px;
  color: #8993a1;
}
.text-success {
  color: var(--green);
}
.footer {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #a0a8b4;
  padding: 32px 0 24px;
}
.notice {
  padding: 14px 18px;
  background: #eef3fa;
  border: 1px solid #dce6f2;
  color: #526886;
  border-radius: 9px;
  margin-bottom: 20px;
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.notice.success {
  background: #ecf8f1;
  color: #26754f;
  border-color: #d3ecdd;
}
.notice.warning {
  background: #fff8ea;
  color: #94702f;
  border-color: #f2e4c4;
}
.notice a {
  font-weight: 650;
}
.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: #5e6a7b;
}
input,
textarea,
select {
  border: 1px solid #dfe5ec;
  border-radius: 8px;
  padding: 12px 14px;
  width: 100%;
  background: #fff;
  color: var(--ink);
  outline: none;
  font-size: 13px;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #e78a95;
  box-shadow: 0 0 0 3px #dc354510;
}
input::placeholder,
textarea::placeholder {
  color: #a3acb8;
}
textarea {
  resize: vertical;
  min-height: 90px;
}
label small {
  font-weight: 400;
}
label.checkbox {
  flex-direction: row;
  align-items: center;
}
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
}
.stack button {
  align-self: flex-start;
}
.stack button.wide {
  align-self: stretch;
}
.narrow {
  max-width: 680px;
}
.search-row {
  display: flex;
  gap: 10px;
  padding: 20px 24px;
}
.padded .search-row {
  padding: 0;
}
.search-row input {
  max-width: 430px;
}
.pagination {
  padding: 18px 24px;
  display: flex;
  gap: 25px;
  justify-content: center;
  font-size: 12px;
}
.back-link {
  display: block;
  font-size: 12px;
  margin-bottom: 22px;
}
.danger-zone {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 28px;
}
.danger-zone small {
  display: block;
  margin-top: 10px;
}
.event-list {
  list-style: none;
  padding: 10px 0 0;
  margin: 0;
}
.event-list li {
  display: flex;
  gap: 14px;
  border-left: 1px solid #edf0f5;
  padding: 0 0 25px 20px;
  margin-left: 5px;
  position: relative;
}
.event-dot {
  position: absolute;
  left: -5px;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px #fff;
}
.event-list strong {
  font-size: 12px;
}
.event-list small {
  display: block;
  font-size: 10px;
  margin: 5px 0;
}
.event-list code {
  display: block;
  font-size: 10px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #98a1ae;
}
.claim-card {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.claim-card > div {
  flex: 1;
}
.claim-card p {
  margin: 5px 0;
  font-size: 12px;
}
.claim-card small {
  font-size: 10px;
}
.ticket .pre-wrap {
  color: var(--ink);
}
.pre-wrap {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.request-list {
  margin-top: 20px;
}
.request-list > div {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
}
.request-list small {
  font-size: 10px;
}
.count-chip {
  background: #f3f5f8;
  border-radius: 7px;
  padding: 4px 10px;
  color: var(--muted);
}
.customer-ticket {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 18px;
}
.customer-ticket p {
  margin-top: 8px;
  color: var(--ink);
}
.session-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  border-top: 1px solid var(--line);
}
.session-row > div {
  flex: 1;
  min-width: 0;
}
.session-row strong {
  font-size: 12px;
}
.session-row small {
  font-size: 10px;
}
.session-agent {
  font-size: 11px;
  overflow-wrap: anywhere;
  margin: 3px 0;
}
.device-icon {
  font-size: 30px;
  background: #f6f8fa;
  padding: 8px 16px;
  border-radius: 10px;
}
.admin-row {
  display: flex;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.admin-row small {
  display: block;
  font-size: 10px;
}
.empty {
  padding: 55px 20px;
  text-align: center;
}
.empty > span {
  font-size: 35px;
  color: #d2d8e0;
}
.empty h3 {
  font-size: 14px;
  margin: 13px 0 7px;
}
.empty p {
  font-size: 12px;
  margin-bottom: 0;
}
.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;
}
.public-nav {
  height: 88px;
  max-width: 1260px;
  margin: auto;
  padding: 0 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.brand.light {
  color: var(--ink);
}
.public-nav nav {
  display: flex;
  gap: 25px;
  align-items: center;
  font-size: 12px;
}
.public-nav nav > a:not(.button) {
  color: var(--ink);
}
.public-main .content {
  max-width: 1260px;
  padding-top: 20px;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 45px 0 65px;
}
.pill {
  color: var(--red);
  background: var(--red-soft);
  padding: 7px 11px;
  border-radius: 6px;
  letter-spacing: 1.3px;
  font-size: 9px;
  font-weight: 700;
}
.hero h1 {
  font-size: 52px;
  line-height: 1.12;
  letter-spacing: -2px;
  margin: 25px 0;
}
.hero h1 span {
  color: var(--red);
}
.hero p {
  font-size: 14px;
  line-height: 1.9;
  max-width: 440px;
}
.hero .actions {
  margin-top: 30px;
}
.trust {
  display: flex;
  gap: 20px;
  font-size: 10px;
  color: #909aa7;
  margin-top: 26px;
}
.journey-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 20px 50px #17213108;
  transform: rotate(-1deg);
}
.journey-head {
  padding: 24px;
  display: flex;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 650;
}
.journey-head small {
  display: block;
  font-size: 9px;
}
.journey-head .badge {
  margin-left: auto;
  font-size: 8px;
}
.journey {
  padding: 25px 32px;
  list-style: none;
  margin: 0;
}
.journey li {
  display: flex;
  gap: 18px;
  padding-bottom: 23px;
  position: relative;
}
.journey li:last-child {
  padding: 0;
}
.journey li > span {
  position: relative;
  width: 31px;
  height: 31px;
  background: #fff1f2;
  color: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 650;
  flex-shrink: 0;
  z-index: 1;
}
.journey li:not(:last-child):after {
  content: "";
  position: absolute;
  left: 15px;
  top: 30px;
  height: calc(100% - 29px);
  width: 1px;
  background: #f3dce0;
}
.journey strong {
  font-size: 12px;
}
.journey p {
  margin: 5px 0 0;
  font-size: 10px;
}
.journey-note {
  padding: 16px;
  background: #fff9f9;
  border-top: 1px solid #f9ecee;
  font-size: 10px;
  color: #ad7078;
  text-align: center;
  border-radius: 0 0 18px 18px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-grid article {
  padding: 25px;
}
.feature-grid h3 {
  margin-top: 18px;
  font-size: 14px;
}
.feature-grid p {
  font-size: 12px;
  margin: 0;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
  max-width: 1020px;
  margin: 50px auto;
}
.auth-description h1 {
  font-size: 40px;
  margin: 20px 0;
}
.auth-description p {
  font-size: 14px;
  line-height: 1.9;
}
.route-mark {
  margin-top: 40px;
  font-weight: 700;
  font-size: 11px;
}
.route-mark span {
  color: var(--red);
  margin: 0 15px;
}
.auth-card {
  padding: 32px;
  max-width: 470px;
  width: 100%;
  margin: 30px auto;
}
.auth-layout .auth-card {
  margin: 0;
}
.auth-card h2 {
  font-size: 25px;
}
.auth-card > p {
  font-size: 12px;
}
.auth-foot {
  text-align: center;
  padding-top: 20px;
  font-size: 12px;
}
.auth-card .small {
  margin-top: 20px;
  margin-bottom: 0;
  font-size: 10px;
}
.center {
  text-align: center;
}
.center .feature-icon {
  margin-bottom: 20px;
}
.center h1 {
  font-size: 24px;
}
.search-result {
  padding-top: 25px;
}
.search-result h2 {
  font-size: 25px;
}
.search-result p {
  font-size: 12px;
  margin-top: 20px;
}
dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-size: 13px;
  margin-top: 25px;
}
dt {
  color: var(--muted);
}
dd {
  text-align: right;
  margin: 0;
}
.tabs {
  display: flex;
  gap: 5px;
  background: #e9edf3;
  padding: 4px;
  border-radius: 9px;
  width: max-content;
  margin-bottom: 20px;
}
.tabs a {
  padding: 8px 18px;
  border-radius: 6px;
  color: #748093;
  font-size: 12px;
}
.tabs a.selected {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 4px #17213110;
}
.tabs a:hover {
  text-decoration: none;
}
.scanner-panel {
  padding: 34px 45px;
  background: #fff;
  border: 1px solid #f0d6da;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 4px 20px #dc354506;
}
.scanner-symbol {
  font-size: 60px;
  line-height: 1.1;
  color: var(--red);
  margin-bottom: 12px;
}
.scanner-panel .eyebrow {
  color: var(--red);
  font-size: 9px;
}
.scanner-panel h2 {
  font-size: 25px;
  margin-top: 12px;
}
.scanner-panel p {
  font-size: 12px;
}
.scan-input-row {
  display: flex;
  gap: 10px;
  max-width: 700px;
  margin: 25px auto 18px;
}
.scan-input-row input {
  font-family: ui-monospace, monospace;
  font-size: 17px;
  padding: 17px 20px;
  background: #fcfcfd;
}
.scan-input-row button {
  white-space: nowrap;
}
.scanner-footer {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #8c97a5;
  max-width: 700px;
  margin: auto;
}
.scan-summary {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 24px 0;
  font-size: 12px;
  color: #748093;
}
.scan-summary b {
  font-size: 17px;
  margin-left: 6px;
  color: var(--ink);
}
.dot.green {
  background: var(--green);
}
.dot.amber {
  background: #d29a35;
}
.dot.red {
  background: var(--red);
}
.scan-log {
  max-height: 430px;
  overflow: auto;
  padding: 0 24px 16px;
}
.scan-log > p {
  font-size: 12px;
}
.scan-log-row {
  padding: 13px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
}
.scan-log-row > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.scan-log-row strong {
  font-family: ui-monospace, monospace;
  font-size: 13px;
}
.scan-log-row small {
  font-size: 10px;
}
.scan-log-row .error-text {
  color: var(--red);
}
.scan-log-row button {
  font-size: 10px;
  padding: 5px 9px;
}
#scan-alert:not(:empty) {
  margin: 0 24px 15px;
  padding: 12px;
  background: #fff3f3;
  border-radius: 8px;
  color: var(--red);
  font-size: 12px;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #a8c6ff;
  outline-offset: 3px;
}
@media (min-width: 1600px) {
  .content {
    padding-top: 40px;
  }
  .hero {
    padding-top: 80px;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 220px;
    padding: 26px 13px;
  }
  .main {
    margin-left: 220px;
  }
  .content {
    padding: 25px 24px 0;
  }
  .topbar {
    padding: 0 24px;
  }
  .stats-grid {
    gap: 12px;
  }
  .stat {
    padding: 16px;
  }
  .stat.accent {
    padding-top: 14px;
  }
  .dashboard-row {
    gap: 12px;
  }
  .action-card {
    padding: 16px;
    gap: 10px;
  }
  .action-card p {
    font-size: 10px;
  }
  .hero {
    gap: 35px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .auth-layout {
    gap: 40px;
  }
  .claim-card {
    flex-wrap: wrap;
  }
  .claim-card .actions {
    width: 100%;
  }
  .two-columns {
    gap: 16px;
  }
  .padded {
    padding: 21px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    position: relative;
    width: 100%;
    padding: 16px 18px;
  }
  .sidebar .brand {
    padding: 0;
    font-size: 15px;
  }
  .sidebar .brand small,
  .workspace,
  .nav-label,
  .sidebar-bottom > .small {
    display: none;
  }
  .sidebar nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 6px;
    margin-top: 15px;
  }
  .sidebar nav a {
    white-space: nowrap;
    font-size: 10px;
    padding: 9px 11px;
    gap: 7px;
  }
  .sidebar nav a span {
    font-size: 15px;
    width: 15px;
  }
  .sidebar-bottom {
    position: absolute;
    right: 18px;
    top: 16px;
    padding: 0;
  }
  .logout {
    font-size: 10px;
  }
  .main {
    margin-left: 0;
  }
  .topbar {
    height: 56px;
    padding: 0 18px;
  }
  .topbar .eyebrow {
    font-size: 8px;
    letter-spacing: 0.6px;
  }
  .account-chip {
    font-size: 10px;
  }
  .avatar {
    width: 28px;
    height: 28px;
  }
  .content {
    padding: 24px 18px 0;
  }
  .page-heading {
    gap: 14px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  h1 {
    font-size: 25px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .page-heading .button {
    font-size: 11px;
    padding: 10px 13px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .stat {
    padding: 15px;
  }
  .stat strong {
    font-size: 29px;
  }
  .stat > span {
    font-size: 10px;
  }
  .stat small {
    font-size: 9px;
  }
  .dashboard-row,
  .two-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .dashboard-row {
    gap: 10px;
  }
  .action-card {
    padding: 15px;
  }
  .panel-heading {
    padding: 19px 18px;
  }
  .panel-heading h2 {
    font-size: 15px;
  }
  .panel-heading p {
    font-size: 10px;
  }
  .panel-heading form button {
    font-size: 10px;
    padding: 8px 10px;
  }
  td,
  th {
    padding-left: 18px;
    padding-right: 18px;
  }
  .padded {
    padding: 22px;
  }
  .public-nav {
    height: 72px;
    padding: 0 18px;
  }
  .public-nav .brand {
    font-size: 13px;
  }
  .public-nav .brand-icon {
    width: 29px;
    height: 32px;
    font-size: 22px;
  }
  .public-nav nav {
    gap: 12px;
    font-size: 10px;
  }
  .public-nav .small-button {
    padding: 8px 10px;
  }
  .public-main .content {
    padding: 15px 18px 0;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 25px 0 35px;
  }
  .hero h1 {
    font-size: 43px;
    margin-top: 22px;
  }
  .hero p {
    font-size: 13px;
  }
  .hero .actions {
    margin-top: 22px;
  }
  .trust {
    font-size: 9px;
    gap: 16px;
  }
  .journey-card {
    transform: none;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .feature-grid article {
    padding: 22px;
  }
  .feature-grid .feature-icon {
    float: left;
    margin-right: 16px;
  }
  .feature-grid h3 {
    margin-top: 0;
  }
  .auth-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 25px auto;
  }
  .auth-description h1 {
    font-size: 29px;
    margin: 12px 0;
  }
  .auth-description p {
    font-size: 12px;
  }
  .route-mark {
    display: none;
  }
  .auth-card {
    padding: 25px;
    max-width: none;
  }
  .auth-layout .auth-card {
    margin: 0;
  }
  .auth-card h2 {
    font-size: 23px;
  }
  .footer {
    font-size: 8px;
    gap: 15px;
  }
  .scanner-panel {
    padding: 25px 18px;
  }
  .scanner-symbol {
    font-size: 50px;
  }
  .scanner-panel h2 {
    font-size: 22px;
  }
  .scan-input-row {
    flex-direction: column;
  }
  .scan-input-row input {
    font-size: 15px;
  }
  .scan-input-row button {
    padding: 13px;
  }
  .scanner-footer {
    flex-direction: column;
    gap: 6px;
  }
  .scan-summary {
    gap: 15px;
    font-size: 10px;
    flex-wrap: wrap;
    padding: 20px 0;
  }
  .scan-summary b {
    font-size: 14px;
  }
  .scan-log {
    padding: 0 18px 15px;
  }
  .scan-log-row {
    font-size: 10px;
  }
  .session-row {
    padding: 18px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .session-row .device-icon {
    display: none;
  }
  .session-row button {
    font-size: 10px;
    padding: 7px 10px;
  }
  .session-row small {
    font-size: 9px;
  }
  .claim-card {
    padding: 20px;
    gap: 15px;
  }
  .claim-card .badge {
    font-size: 9px;
  }
  .search-row {
    padding: 18px;
    gap: 8px;
  }
  .search-row button {
    padding: 10px;
    font-size: 11px;
  }
  .search-row input {
    min-width: 0;
  }
  .tabs a {
    font-size: 10px;
    padding: 8px 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
