/* DePay shared design tokens, components and responsive prototypes. */
:root {
  --blue:#075bff;
  --blue-dark:#0048df;
  --blue-soft:#e7f0ff;
  --ink:#0d192f;
  --muted:#566176;
  --line:#d9e0ec;
  --surface:#fff;
  --canvas:#f3f6fc;
  --navy:#0d1c32;
  --green:#079438;
  --amber:#bf7709;
  --red:#dc3647;
  --radius:11px;
  --shadow:0 5px 19px #18447a08;
  --sidebar:244px;
  font-family:Inter,"Segoe UI","Microsoft YaHei","PingFang SC",Arial,sans-serif;
  font-size:15px;
  color:var(--ink);
  background:var(--canvas);
  font-synthesis:none;
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
  line-height:1.5;
}
button,input,select,textarea {
  font:inherit;
}
button,a,input,select {
  -webkit-tap-highlight-color:transparent;
}
button {
  cursor:pointer;
}
button:disabled {
  cursor:not-allowed;
  opacity:.5;
}
a {
  color:inherit;
  text-decoration:none;
}
button {
  color:inherit;
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible {
  outline:3px solid #3685ff;
  outline-offset:3px;
}
h1,h2,h3,p,figure {
  margin:0;
}
h1,h2,h3 {
  letter-spacing:.005em;
  line-height:1.3;
}
h2 {
  font-size:22px;
  font-weight:750;
}
svg {
  display:block;
}
button {
  background:none;
  border:0;
}
strong {
  font-weight:700;
}
[hidden] {
  display:none!important;
}
.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;
}
.icon-library {
  position:absolute;
  width:0;
  height:0;
  overflow:hidden;
}
.icon {
  width:24px;
  height:24px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.65;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0;
}
.skip-link {
  position:fixed;
  left:14px;
  top:-80px;
  z-index:100;
  padding:12px 18px;
  background:#fff;
  border:2px solid var(--blue);
  border-radius:6px;
}
.skip-link:focus {
  top:12px;
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:43px;
  padding:9px 22px;
  white-space:nowrap;
  border:1px solid transparent;
  border-radius:7px;
  font-weight:600;
  transition:background .15s,box-shadow .15s;
}
.button.primary {
  color:#fff;
  background:var(--blue);
  border-color:var(--blue);
  box-shadow:inset 0 -2px 0 #003bd115;
}
.button.primary:hover {
  background:var(--blue-dark);
}
.button.ghost {
  background:#fff;
  border-color:#c9d2e1;
}
.button.ghost:hover {
  background:#f4f7fc;
}
.button.outline {
  border-color:var(--blue);
  color:var(--blue);
  background:#ffffff65;
}
.button.outline:hover {
  background:#e8f1ff;
}
.button.small {
  min-height:35px;
  padding:6px 17px;
  font-size:14px;
}
.button.large {
  min-height:57px;
  font-size:22px;
  padding:11px 32px;
}
.button.full {
  width:100%;
}
.text-button {
  display:inline-flex;
  align-items:center;
  gap:5px;
  color:var(--blue);
  font-size:13px;
  padding:5px 0;
}
.text-button .icon {
  width:17px;
  height:17px;
}
.icon-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:6px;
  font-size:28px;
}
.icon-button:hover {
  background:#eaf1ff;
}
.muted {
  color:var(--muted);
}
.brand {
  display:flex;
  align-items:center;
  gap:14px;
  flex-shrink:0;
}
.brand strong {
  display:block;
  font-size:26px;
  line-height:1.3;
  letter-spacing:-.5px;
  white-space:nowrap;
}
.brand small {
  display:block;
  font-size:15px;
  line-height:1.5;
  margin-top:4px;
  font-weight:400;
}
.brand-mark {
  width:48px;
  height:44px;
  position:relative;
  display:inline-block;
  flex-shrink:0;
}
.brand-mark i {
  position:absolute;
  width:23px;
  height:34px;
  background:linear-gradient(160deg,#168dff,#0862fa);
  transform:skew(-40deg);
  border-radius:3px;
  box-shadow:0 2px 4px #1777ff1c;
}
.brand-mark i:first-child {
  top:1px;
  left:9px;
}
.brand-mark i:last-child {
  top:13px;
  left:21px;
}
.preview-label {
  display:inline-flex;
  align-items:center;
  background:#d8e7ff;
  color:#034bda;
  padding:6px 17px;
  border-radius:10px;
  font-weight:700;
  font-size:17px;
  white-space:nowrap;
}
.card {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  min-width:0;
}
.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.segmented {
  display:inline-flex;
  border:1px solid #d3dbe9;
  border-radius:7px;
  background:#fff;
  overflow:hidden;
  flex-shrink:0;
}
.segmented button {
  min-width:82px;
  padding:7px 17px;
  border-right:1px solid #d3dbe9;
  font-size:16px;
  color:#29364e;
  line-height:1.5;
  white-space:nowrap;
}
.segmented button:last-child {
  border:0;
}
.segmented button.active {
  background:var(--blue);
  color:#fff;
  border-color:var(--blue);
  box-shadow:0 0 0 1px var(--blue);
}
.segmented button:hover:not(.active) {
  background:#f1f6ff;
}
.badge {
  display:inline-flex;
  align-items:center;
  gap:5px;
  border-radius:5px;
  font-size:14px;
  line-height:1.45;
  padding:2px 11px;
  font-weight:650;
  white-space:nowrap;
}
.badge.blue {
  background:#e2eeff;
  color:#0053e9;
}
.badge.green {
  background:#d8f9e2;
  color:#00872f;
}
.badge.amber {
  background:#fff0ce;
  color:#b16a00;
}
.badge.gray {
  background:#e9edf3;
  color:#636b7a;
}
.badge.red {
  background:#ffe5e9;
  color:#ce2e46;
}
.badge .icon {
  width:18px;
  height:18px;
}
.blue {
  color:var(--blue);
  background:#e9f1ff;
}
.green {
  color:#008d31;
  background:#e6f9ed;
}
.amber {
  color:#ed9200;
  background:#fff3dc;
}
.red {
  color:#e13b4d;
  background:#fff0f2;
}
.public-header {
  height:78px;
  background:#fff;
  border-bottom:1px solid #dce5f4;
}
.public-nav {
  max-width:1440px;
  height:100%;
  padding:0 38px;
  margin:auto;
  display:flex;
  align-items:center;
  gap:36px;
}
.nav-separator {
  height:29px;
  width:1px;
  background:var(--line);
  margin:0 5px;
}
.public-links {
  display:flex;
  align-items:stretch;
  align-self:stretch;
  gap:38px;
  font-size:19px;
  font-weight:600;
}
.public-links>a,.public-links>button {
  position:relative;
  display:flex;
  align-items:center;
  padding:0;
  color:#111d32;
  white-space:nowrap;
}
.public-links .active {
  color:var(--blue);
}
.public-links .active:after {
  position:absolute;
  bottom:5px;
  left:0;
  right:0;
  height:4px;
  border-radius:2px;
  content:"";
  background:var(--blue);
}
.public-actions {
  display:flex;
  gap:21px;
  margin-left:auto;
}
.public-actions .button {
  font-size:18px;
  min-height:46px;
  padding:8px 25px;
}
.public-menu-toggle {
  display:none;
}
.hero {
  background:linear-gradient(140deg,#f3f8ff 0%,#e6f1ff 46%,#dcecff 100%);
  position:relative;
  overflow:hidden;
}
.hero:before,.hero:after {
  content:"";
  position:absolute;
  pointer-events:none;
  background:#d4e7ff70;
  transform:rotate(-30deg);
  width:1600px;
  height:180px;
  left:-300px;
  top:150px;
}
.hero:after {
  left:350px;
  top:410px;
  background:#d1e6ff60;
  height:200px;
}
.hero-inner {
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:.405fr .595fr;
  align-items:center;
  gap:32px;
  max-width:1440px;
  margin:auto;
  padding:42px 38px 35px;
  min-height:490px;
}
.hero-copy h1 {
  font-size:64px;
  letter-spacing:-2px;
  line-height:1.3;
  margin-top:23px;
  font-weight:800;
}
.hero-subtitle {
  font-size:28px;
  color:#566174;
  margin-top:17px;
  white-space:nowrap;
}
.hero-buttons {
  display:flex;
  gap:21px;
  margin-top:27px;
}
.hero-note {
  font-size:18px;
  color:var(--muted);
  margin-top:15px;
}
.hero-overview {
  padding:20px 23px 10px;
  border-color:#c6d8f5;
  box-shadow:0 8px 19px #1e65af0d;
}
.hero-overview h2 {
  font-size:25px;
}
.hero-overview .segmented button {
  padding:5px 17px;
  min-width:80px;
  font-size:15px;
}
.hero-metrics {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  margin-top:19px;
}
.hero-metrics article {
  background:linear-gradient(125deg,#f3f7ff,#e8f2ff);
  border-radius:10px;
  padding:12px 18px;
}
.hero-metrics p {
  font-size:16px;
  white-space:nowrap;
}
.hero-metrics strong {
  font-size:29px;
  display:block;
  line-height:1.4;
  letter-spacing:-.4px;
  white-space:nowrap;
}
.hero-metrics small {
  font-size:16px;
  color:#00a73a;
  font-weight:600;
  display:block;
}
.chart-wrap {
  width:100%;
  overflow:hidden;
}
.trend-chart {
  width:100%;
  height:auto;
  min-height:165px;
}
.hero-overview .chart-wrap {
  margin-top:17px;
}
.chart-grid path {
  stroke:#dce3ed;
  stroke-width:1;
  fill:none;
}
.chart-labels {
  fill:#4f5b71;
  font-size:14px;
}
.chart-times {
  text-anchor:middle;
  font-size:13px;
}
.chart-line {
  fill:none;
  stroke:#0a65ff;
  stroke-width:3;
  stroke-linejoin:round;
  stroke-linecap:round;
}
.chart-area {
  fill:url(#chart-fill);
}
.chart-dots {
  fill:#fff;
  stroke:#0a65ff;
  stroke-width:1.8;
}
.product-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  max-width:1440px;
  margin:auto;
  padding:32px 34px 46px;
}
.product-card {
  text-align:left;
  padding:29px 27px;
  transition:border .15s,transform .15s;
}
.product-card:hover {
  border-color:#85adff;
  transform:translateY(-2px);
}
.product-card>div {
  display:flex;
  align-items:center;
  gap:23px;
  margin-bottom:17px;
}
.product-card .icon {
  width:48px;
  height:48px;
  color:var(--blue);
  stroke-width:1.7;
}
.product-card h2 {
  font-size:25px;
  white-space:nowrap;
}
.product-card p {
  font-size:18px;
  line-height:1.7;
  color:#354055;
}
.public-footer {
  background:#10223b;
  color:#fff;
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.public-footer nav {
  display:flex;
  align-items:center;
  gap:32px;
  font-size:18px;
}
.public-footer button {
  font-size:inherit;
}
.public-footer span {
  color:#c5d0df;
}
.workspace {
  background:radial-gradient(at 90% 5%,#eaf1fc55,transparent 60%),var(--canvas);
}
.sidebar {
  position:fixed;
  left:0;
  top:0;
  bottom:0;
  width:var(--sidebar);
  background:linear-gradient(115deg,#0c1a30,#102037);
  color:#f7f9ff;
  display:flex;
  flex-direction:column;
  z-index:30;
}
.sidebar>.brand {
  margin:22px 20px 28px;
  gap:10px;
  align-items:flex-start;
}
.sidebar .brand strong {
  font-size:20px;
  letter-spacing:-.4px;
}
.sidebar .brand small {
  font-size:15px;
  color:#d6dfef;
}
.sidebar .brand-mark {
  width:42px;
  height:40px;
  transform:scale(.83);
  transform-origin:left top;
  margin-right:-5px;
  margin-top:4px;
}
.sidebar nav {
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:0 10px;
}
.nav-item {
  min-height:48px;
  width:100%;
  display:flex;
  align-items:center;
  text-align:left;
  gap:20px;
  padding:10px 22px;
  border-radius:7px;
  font-size:18px;
  white-space:nowrap;
}
.nav-item .icon {
  width:24px;
  height:24px;
  stroke-width:1.7;
}
.nav-item:hover {
  background:#ffffff0e;
}
.nav-item.active {
  background:linear-gradient(100deg,#0758f0,#0766ff);
  box-shadow:inset 0 0 0 1px #4e8dff60;
}
.sidebar-foot {
  margin-top:auto;
  padding:25px 25px;
  color:#9cb0cf;
  font-size:12px;
}
.sidebar-foot small {
  display:block;
  margin:7px 0 0 13px;
  font-size:11px;
}
.live-dot {
  display:inline-block;
  width:6px;
  height:6px;
  border-radius:50%;
  background:#3586ff;
  margin-right:5px;
  vertical-align:2px;
}
.workspace-main {
  margin-left:var(--sidebar);
  min-width:0;
}
.workspace-header {
  height:58px;
  background:#fff;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 29px 0 36px;
  gap:15px;
}
.breadcrumb,.header-actions,.header-actions button {
  display:flex;
  align-items:center;
}
.breadcrumb {
  gap:15px;
  font-size:17px;
  white-space:nowrap;
}
.header-actions {
  gap:24px;
}
.header-actions button {
  gap:10px;
  font-size:16px;
}
.header-actions .icon {
  width:23px;
  height:23px;
}
.header-divider {
  height:26px;
  width:1px;
  background:var(--line);
}
.down-caret {
  font-size:18px;
  color:#607089;
}
.mobile-nav-toggle {
  display:none;
}
.dashboard-content {
  padding:21px 23px 10px;
  max-width:1800px;
  margin:auto;
}
.notice {
  background:linear-gradient(90deg,#ddeaff,#dce9ff);
  border-radius:8px;
  display:flex;
  align-items:center;
  padding:9px 21px;
  gap:17px;
  font-size:13px;
  line-height:1.6;
}
.notice>strong {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:17px;
  color:#034cdd;
  white-space:nowrap;
}
.notice>span {
  border-left:1px solid #a8bddd;
  padding-left:16px;
  color:#37445a;
}
.notice .icon {
  width:21px;
  height:21px;
}
.page-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:19px 1px 20px;
}
.page-heading h1 {
  font-size:35px;
  font-weight:780;
  letter-spacing:-.5px;
}
.page-heading p {
  font-size:17px;
  margin-top:1px;
  color:#4d586b;
}
.page-heading .segmented button {
  min-width:98px;
  padding:8px 17px;
}
.stat-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:13px;
}
.stat-card {
  display:flex;
  align-items:center;
  gap:17px;
  padding:18px 21px;
  min-height:106px;
}
.stat-icon {
  display:flex;
  align-items:center;
  justify-content:center;
  width:51px;
  height:51px;
  border-radius:9px;
  flex-shrink:0;
}
.stat-icon .icon {
  width:29px;
  height:29px;
}
.stat-card p {
  font-size:15px;
  margin-bottom:4px;
  white-space:nowrap;
}
.stat-card strong {
  display:block;
  font-size:29px;
  line-height:1.25;
  white-space:nowrap;
  letter-spacing:-.6px;
}
.dashboard-middle {
  display:grid;
  grid-template-columns:2.15fr 1fr;
  gap:16px;
  margin-top:19px;
}
.trend-card,.todo-card {
  padding:12px 19px 7px;
}
.trend-card h2,.todo-card h2 {
  font-size:21px;
}
.chart-caption {
  font-size:13px;
  color:#5b6373;
  margin:13px 0 -4px 11px;
}
.trend-card .trend-chart {
  min-height:165px;
  max-height:218px;
}
.todo-card {
  padding:12px 18px 18px;
}
.todo-card h2 {
  margin-bottom:13px;
}
.todo-card>button {
  width:100%;
  display:flex;
  align-items:center;
  gap:13px;
  padding:10px 4px;
  border-bottom:1px solid #e1e6ef;
  text-align:left;
  font-size:17px;
  white-space:nowrap;
}
.todo-card>button:hover {
  background:#f7faff;
}
.todo-card strong {
  color:var(--blue);
  font-size:23px;
  margin-left:auto;
}
.todo-card>button>.icon {
  width:17px;
  height:17px;
  color:#65738a;
  margin-left:3px;
}
.mini-icon {
  width:37px;
  height:37px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  flex-shrink:0;
}
.mini-icon .icon {
  width:24px;
  height:24px;
}
.orders-card {
  margin-top:18px;
  padding:11px 19px 8px;
  scroll-margin-top:16px;
}
.orders-card h2 {
  font-size:22px;
}
.orders-card .section-heading {
  margin-bottom:12px;
}
.table-scroll {
  overflow:auto;
  max-width:100%;
  scrollbar-width:thin;
  border-radius:7px;
}
table {
  width:100%;
  border-collapse:collapse;
  font-size:15px;
  white-space:nowrap;
  text-align:left;
}
th {
  background:#eef2f8;
  color:#172235;
  font-size:14px;
  font-weight:650;
  padding:7px 16px;
}
td {
  padding:9px 16px;
  border-bottom:1px solid #dfe5ef;
  line-height:1.4;
}
tbody tr:last-child td {
  border-bottom:0;
}
.numeric {
  text-align:right;
}
td.numeric {
  font-variant-numeric:tabular-nums;
}
.order-link {
  padding:0;
  text-align:left;
  font-size:inherit;
  color:#182439;
}
.order-link:hover {
  color:var(--blue);
  text-decoration:underline;
}
.table-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:8px 0 0;
  font-size:11px;
  color:#6b778b;
  gap:10px;
}
.pagination {
  display:flex;
  align-items:center;
  gap:10px;
}
.pagination button {
  border:1px solid #d7dfeb;
  min-width:26px;
  height:25px;
  background:#fff;
  border-radius:4px;
  font-size:20px;
  line-height:1;
}
.pagination button:hover:not(:disabled) {
  border-color:var(--blue);
  color:var(--blue);
}
.pagination button:disabled {
  opacity:.35;
}
.pagination span {
  min-width:30px;
  text-align:center;
}
.workspace-footnote {
  font-size:10px;
  color:#7a8597;
  text-align:center;
  margin:12px 0 0;
}
.table-filter {
  display:flex;
  align-items:flex-end;
  gap:10px;
  padding:11px 13px;
  margin-bottom:12px;
  border-radius:6px;
  background:#f4f7fc;
}
.table-filter label {
  font-size:12px;
  display:flex;
  flex-direction:column;
  gap:5px;
}
.table-filter input {
  min-width:200px;
}
.table-filter input,.table-filter select {
  height:35px;
  font-size:13px;
}
input,select {
  border:1px solid #cbd5e5;
  border-radius:5px;
  padding:8px 10px;
  min-width:0;
  background:#fff;
  color:var(--ink);
}
.empty-state {
  padding:28px 15px;
  text-align:center;
  color:var(--muted);
}
.empty-state>.icon {
  width:34px;
  height:34px;
  color:#9caec7;
  margin:0 auto 9px;
}
.empty-state strong {
  display:block;
  font-size:16px;
}
.empty-state p {
  font-size:13px;
  margin:5px 0 11px;
}
.empty-row td {
  text-align:center;
  padding:30px!important;
  color:var(--muted);
}
.merchant-page .dashboard-content {
  padding-top:21px;
}
.merchant-welcome {
  margin:0 2px 20px;
}
.merchant-welcome h1 {
  font-size:35px;
}
.merchant-welcome p {
  font-size:17px;
  margin-top:3px;
}
.merchant-welcome .preview-label {
  font-size:16px;
  padding:7px 20px;
}
.integration-notice {
  padding:6px 16px;
  margin-bottom:20px;
  gap:15px;
}
.integration-notice>strong {
  color:#13233a;
  font-size:16px;
  gap:7px;
}
.integration-notice>strong .icon,.integration-notice b {
  color:var(--blue);
}
.integration-notice>span {
  font-size:12px;
}
.integration-notice .button {
  margin-left:auto;
  min-height:34px;
  padding:5px 18px;
  flex-shrink:0;
}
.merchant-page .stat-card {
  min-height:100px;
  padding:17px 22px;
  gap:17px;
}
.merchant-page .stat-icon {
  width:55px;
  height:55px;
}
.merchant-page .stat-icon .icon {
  width:32px;
  height:32px;
}
.merchant-middle {
  grid-template-columns:2.2fr 1fr;
  margin-top:20px;
}
.quick-card {
  padding:10px 21px 16px;
}
.quick-card h2,.security-card h2 {
  font-size:22px;
  margin-bottom:18px;
}
.quick-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.quick-grid>button,.quick-grid>a {
  border:1px solid #cfd8e6;
  border-radius:10px;
  display:flex;
  align-items:center;
  flex-direction:column;
  text-align:center;
  padding:17px 6px 14px;
  min-height:144px;
  background:#fff;
  transition:border-color .15s;
}
.quick-grid>button:hover,.quick-grid>a:hover {
  border-color:#6b9eff;
  background:#f9fbff;
}
.quick-grid .icon {
  width:37px;
  height:37px;
  color:var(--blue);
  margin-bottom:12px;
  stroke-width:1.8;
}
.quick-grid strong {
  font-size:18px;
  white-space:nowrap;
}
.quick-grid span {
  font-size:12px;
  color:#536076;
  white-space:nowrap;
  margin-top:4px;
}
.security-card {
  padding:10px 17px 16px;
}
.security-card h2 {
  margin-bottom:8px;
}
.security-row {
  width:100%;
  display:flex;
  align-items:center;
  text-align:left;
  gap:14px;
  padding:9px 3px;
  border-bottom:1px solid #dfe5ef;
}
.security-row>span:first-child .icon {
  width:27px;
  height:27px;
}
.warning-icon {
  color:#ef9a00;
}
.success-icon {
  color:#008a34;
}
.security-row strong {
  display:block;
  font-size:15px;
  line-height:1.4;
}
.security-row small {
  display:block;
  font-size:12px;
  color:#59657b;
  white-space:nowrap;
}
.security-row>.icon {
  width:17px;
  height:17px;
  color:#53627b;
  margin-left:auto;
}
.security-card>.button {
  margin-top:10px;
}
.merchant-page .orders-card {
  margin-top:19px;
}
.settlement-badge {
  font-size:14px;
  padding:5px 10px;
}
.merchant-table-tools {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:-7px 0 6px;
  gap:10px;
}
.merchant-table-tools>span {
  font-size:10px;
  color:#78849a;
}
.merchant-table-tools .filter-toggle {
  font-size:11px;
}
.merchant-table-tools .icon {
  width:13px;
  height:13px;
}
.merchant-page th {
  font-size:15px;
}
.merchant-page td {
  padding:8px 14px;
}
.merchant-page .table-footer {
  padding-top:7px;
}
.cashier-page {
  background:radial-gradient(at 50% 20%,#fff 0%,#ecf3ff 60%,#e5effd 100%);
  min-height:100vh;
}
.cashier-header {
  background:#102441;
  color:#fff;
  border-bottom:1px solid #243b5b;
}
.cashier-header-inner {
  max-width:1080px;
  min-height:80px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:15px 25px;
  gap:15px;
}
.cashier-header .brand strong {
  font-size:29px;
}
.cashier-header .brand-mark {
  transform:scale(.9);
}
.cashier-header .preview-label {
  color:#fff;
  background:var(--blue);
  border-radius:6px;
  font-size:16px;
}
.cashier-main {
  max-width:1080px;
  margin:auto;
  padding:25px 56px 20px;
}
.cashier-card {
  padding:18px 34px 20px;
  text-align:center;
  box-shadow:0 3px 15px #38577906;
  border-color:#cbd6e6;
}
.cashier-summary h1 {
  font-size:31px;
  font-weight:750;
  margin-top:0;
}
.cashier-product {
  font-size:20px;
  margin-top:4px;
}
.cashier-amount {
  display:block;
  font-size:60px;
  line-height:1.35;
  color:var(--blue);
  letter-spacing:-1px;
  margin:10px 0 4px;
  font-weight:750;
}
.order-meta {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  font-size:17px;
  color:#4b5b72;
  flex-wrap:wrap;
}
.order-id {
  font-variant-numeric:tabular-nums;
}
.order-meta .badge {
  font-size:16px;
}
.meta-divider {
  color:#aab6c8;
}
.payment-deadline {
  font-size:21px;
  margin:13px 0 19px;
}
.payment-deadline strong {
  color:var(--blue);
}
.cashier-payment {
  border-top:1px solid var(--line);
  padding-top:21px;
}
.payment-methods {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:17px;
  max-width:568px;
  margin:auto;
}
.payment-method {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:24px;
  border:1px solid #c4d0e2;
  border-radius:8px;
  min-height:54px;
  font-size:22px;
  font-weight:700;
  background:#fff;
}
.payment-method.active {
  background:var(--blue);
  border-color:var(--blue);
  color:#fff;
}
.payment-choice {
  width:23px;
  height:23px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1.5px solid #8d9bb2;
  border-radius:50%;
  font-size:16px;
  color:var(--blue);
  font-weight:800;
}
.payment-method>span:last-child {
  padding-left:24px;
  border-left:1px solid #b5c1d6;
  line-height:1.2;
}
.payment-method.active .payment-choice {
  background:#fff;
  border-color:#fff;
}
.payment-method.active>span:last-child {
  border-color:#fff;
}
.demo-code {
  width:190px;
  height:190px;
  position:relative;
  border:1px solid #d3dce9;
  border-radius:7px;
  margin:20px auto 34px;
  padding:6px;
  background:#fff;
}
.demo-code svg {
  width:100%;
  height:100%;
  fill:#92a0af;
  opacity:.92;
}
.demo-code-label {
  position:absolute;
  top:76px;
  left:45px;
  right:45px;
  padding:2px 7px;
  color:#fff;
  background:var(--blue);
  border:3px solid #fff;
  border-radius:8px;
  font-size:23px;
  font-weight:700;
  white-space:nowrap;
}
.demo-code figcaption {
  position:absolute;
  top:196px;
  left:-20px;
  right:-20px;
  color:#617089;
  font-size:16px;
  white-space:nowrap;
}
.payment-method-help {
  font-size:11px;
  color:#7a879b;
  margin-top:0;
}
.query-payment {
  display:flex;
  width:270px;
  margin:16px auto 0;
  min-height:43px;
  font-size:17px;
}
.query-result {
  border:1px solid #cfe0fc;
  background:#eef5ff;
  color:#28528d;
  font-size:13px;
  padding:10px 14px;
  max-width:568px;
  margin:12px auto 0;
  border-radius:7px;
}
.cashier-links {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:26px;
  border-top:1px solid var(--line);
  padding-top:15px;
  margin-top:20px;
  color:var(--blue);
  font-size:17px;
}
.cashier-links>span {
  color:#b4c0d1;
}
.cashier-links button {
  font-size:inherit;
}
.cashier-footnote {
  text-align:center;
  color:#78869d;
  font-size:11px;
  margin-top:15px;
  line-height:1.8;
}
.cashier-footnote a {
  color:#5a77a2;
}
.components-main {
  max-width:1180px;
  margin:auto;
  padding:28px;
}
.components-main .page-heading {
  margin-top:0;
}
.components-main h1 {
  font-size:30px;
  margin:15px 0 6px;
}
.component-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}
.component-card {
  padding:23px;
}
.component-card h2 {
  margin-bottom:20px;
}
.component-row {
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-bottom:18px;
}
.component-row .button {
  padding-left:15px;
  padding-right:15px;
  font-size:13px;
}
.component-form {
  display:flex;
  flex-direction:column;
  gap:8px;
  max-width:330px;
}
.component-form label {
  font-size:13px;
  font-weight:600;
  margin-top:6px;
}
.component-form small {
  font-size:11px;
  color:var(--muted);
}
.component-form .button {
  align-self:flex-start;
  margin-top:9px;
}
.form-result {
  font-size:13px;
  color:#1c7541;
}
.notice.compact {
  font-size:13px;
  padding:12px;
  align-items:flex-start;
  margin:12px 0 16px;
}
.notice.compact .icon {
  flex-shrink:0;
}
.component-card>p {
  font-size:13px;
  margin:13px 0;
}
.loading-state {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:18px;
  font-size:13px;
  background:#f5f8fd;
  border-radius:7px;
}
.spinner {
  width:17px;
  height:17px;
  border:2px solid #c8dafa;
  border-top-color:var(--blue);
  border-radius:50%;
  display:inline-block;
  animation:spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform:rotate(360deg);
  }
}
.error-state {
  text-align:center;
  border:1px solid #f4d0d5;
  background:#fff9fa;
  border-radius:8px;
  padding:20px;
}
.error-state>.icon {
  color:#d5475b;
  margin:0 auto 10px;
}
.error-state>strong {
  display:block;
  font-size:17px;
}
.error-state p {
  font-size:12px;
  color:#6f6070;
  margin:6px 0 15px;
}
.maintenance-state {
  display:flex;
  align-items:center;
  gap:13px;
  background:#f5f7fb;
  padding:15px;
  border-radius:8px;
  margin-top:15px;
  color:#64718a;
}
.maintenance-state strong,.maintenance-state small {
  display:block;
}
.maintenance-state strong {
  font-size:14px;
}
.maintenance-state small {
  font-size:11px;
  margin-top:4px;
}
.prototype-links {
  display:flex;
  justify-content:center;
  gap:24px;
  padding:28px 0;
  color:var(--blue);
  font-size:14px;
}
dialog {
  position:fixed;
  width:min(510px,calc(100% - 32px));
  padding:0;
  border:1px solid #ced8e9;
  border-radius:12px;
  color:var(--ink);
  box-shadow:0 25px 100px #06193635;
  max-height:calc(100vh - 48px);
  overflow:auto;
}
dialog::backdrop {
  background:#07183066;
  backdrop-filter:blur(2px);
}
.dialog-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid #e4eaf3;
  padding:13px 18px;
  gap:12px;
}
.dialog-heading h2 {
  font-size:20px;
}
.dialog-heading .icon-button {
  font-size:27px;
  color:#718098;
  width:32px;
  height:32px;
}
.dialog-heading .icon-button:hover {
  color:var(--blue);
}
#dialog-content {
  padding:22px;
  line-height:1.9;
  font-size:15px;
  white-space:pre-line;
}
#dialog-content .button {
  margin-top:15px;
  display:flex;
}
.dialog-footer {
  border-top:1px solid #e4eaf3;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:13px 20px;
  background:#fafcff;
}
.dialog-footer>span {
  font-size:12px;
}
.toast {
  position:fixed;
  bottom:28px;
  left:50%;
  transform:translateX(-50%);
  z-index:120;
  background:#112a4c;
  color:#fff;
  padding:12px 20px;
  border-radius:8px;
  box-shadow:0 6px 30px #0002;
  max-width:calc(100% - 32px);
  font-size:13px;
}
.sidebar-backdrop {
  position:fixed;
  inset:0;
  z-index:25;
  background:#07172d66;
}
.public-header .public-nav>.button {
  margin-left:auto;
}
.product-card {
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}
.product-card>div {
  min-height:48px;
}
.nav-open {
  overflow:hidden;
}
@media(min-width:1600px) {
  :root {
    --sidebar:267px;
  }
  .dashboard-content {
    padding:24px 25px;
  }
  .workspace-header {
    height:60px;
  }
  .stat-card {
    min-height:115px;
  }
  .stat-card strong {
    font-size:32px;
  }
  .dashboard-middle {
    margin-top:21px;
  }
  .trend-card .trend-chart {
    max-height:240px;
  }
  .todo-card>button {
    padding:14px 4px;
  }
  .sidebar>.brand {
    margin-bottom:36px;
  }
  .nav-item {
    min-height:54px;
  }
  .sidebar nav {
    gap:8px;
  }
}
@media(max-width:1350px) {
  .public-nav {
    padding:0 26px;
    gap:23px;
  }
  .public-links {
    gap:26px;
    font-size:17px;
  }
  .public-actions {
    gap:12px;
  }
  .public-actions .button {
    padding:8px 20px;
    font-size:16px;
  }
  .brand strong {
    font-size:24px;
  }
  .hero-inner {
    padding:38px 30px 35px;
    gap:25px;
    grid-template-columns:.41fr .59fr;
    min-height:470px;
  }
  .hero-copy h1 {
    font-size:58px;
  }
  .hero-subtitle {
    font-size:25px;
  }
  .hero-buttons {
    gap:14px;
  }
  .hero-buttons .button {
    font-size:20px;
    padding:11px 25px;
  }
  .hero-overview {
    padding:17px 20px 7px;
  }
  .hero-overview h2 {
    font-size:23px;
  }
  .hero-metrics {
    gap:15px;
  }
  .hero-metrics article {
    padding:12px 14px;
  }
  .hero-metrics strong {
    font-size:26px;
  }
  .hero-metrics p {
    font-size:14px;
  }
  .hero-overview .segmented button {
    padding:5px 13px;
    min-width:65px;
    font-size:14px;
  }
  .product-grid {
    padding:29px 28px 40px;
    gap:16px;
  }
  .product-card {
    padding:24px 24px;
  }
  .product-card>div {
    gap:16px;
  }
  .product-card h2 {
    font-size:23px;
  }
  .product-card .icon {
    width:41px;
    height:41px;
  }
  .product-card p {
    font-size:16px;
  }
  .stat-card {
    padding:17px 16px;
    gap:12px;
  }
  .stat-card strong {
    font-size:27px;
  }
  .stat-icon {
    width:46px;
    height:46px;
  }
  .stat-card p {
    font-size:14px;
  }
  .dashboard-content {
    padding:20px 21px 10px;
  }
  .notice {
    font-size:12px;
    padding:9px 17px;
    gap:12px;
  }
  .notice>strong {
    font-size:16px;
  }
  .todo-card>button {
    font-size:15px;
    gap:10px;
  }
  .todo-card strong {
    font-size:22px;
  }
  .merchant-page .stat-card {
    padding:16px;
    gap:11px;
  }
  .merchant-page .stat-icon {
    width:49px;
    height:49px;
  }
  .quick-grid {
    gap:10px;
  }
  .quick-grid strong {
    font-size:17px;
  }
  .quick-grid span {
    font-size:11px;
  }
  .quick-card {
    padding:12px 17px 16px;
  }
  .security-card {
    padding:12px 16px 16px;
  }
  .security-row {
    gap:10px;
  }
  .security-row small {
    font-size:11px;
  }
  .integration-notice>strong {
    font-size:15px;
  }
  .integration-notice>span {
    font-size:11px;
  }
  .merchant-page td {
    font-size:14px;
  }
  .merchant-page th {
    font-size:14px;
  }
}
@media(max-width:1180px) {
  :root {
    --sidebar:220px;
  }
  .sidebar>.brand {
    margin:23px 16px 25px;
    gap:5px;
  }
  .sidebar .brand strong {
    font-size:18px;
  }
  .sidebar .brand small {
    font-size:14px;
  }
  .nav-item {
    font-size:16px;
    gap:18px;
    padding-left:20px;
  }
  .notice>span {
    font-size:11px;
  }
  .stat-card {
    padding:15px 12px;
    gap:9px;
  }
  .stat-icon {
    width:39px;
    height:43px;
  }
  .stat-card strong {
    font-size:24px;
  }
  .stat-card p {
    font-size:12px;
  }
  .dashboard-content {
    padding:19px 18px 10px;
  }
  .todo-card {
    padding-left:15px;
    padding-right:15px;
  }
  .todo-card>button {
    font-size:14px;
    gap:8px;
  }
  .mini-icon {
    width:31px;
    height:33px;
  }
  .dashboard-middle {
    grid-template-columns:2fr 1fr;
    gap:14px;
  }
  .merchant-page .stat-card {
    padding:16px 12px;
    gap:9px;
  }
  .merchant-page .stat-icon {
    width:42px;
    height:46px;
  }
  .merchant-middle {
    grid-template-columns:2.1fr 1fr;
  }
  .quick-card {
    padding:12px 14px 16px;
  }
  .quick-grid {
    gap:8px;
  }
  .quick-grid>button,.quick-grid>a {
    padding:15px 4px 13px;
  }
  .quick-grid strong {
    font-size:15px;
  }
  .quick-grid span {
    font-size:10px;
  }
  .security-card {
    padding-left:13px;
    padding-right:13px;
  }
  .security-row strong {
    font-size:13px;
  }
  .security-row small {
    font-size:10px;
  }
  .integration-notice {
    padding-left:12px;
    padding-right:12px;
    gap:10px;
  }
  .integration-notice>span {
    border-left:0;
    padding-left:0;
  }
  .integration-notice .button {
    font-size:12px;
    padding:6px 12px;
  }
  .public-links {
    gap:20px;
  }
  .public-actions .button {
    padding:8px 15px;
  }
  .nav-separator {
    display:none;
  }
  .public-nav {
    gap:24px;
  }
  .public-nav .brand strong {
    font-size:22px;
  }
  .hero-inner {
    grid-template-columns:.42fr .58fr;
    gap:21px;
    padding-left:26px;
    padding-right:26px;
  }
  .hero-copy h1 {
    font-size:49px;
  }
  .hero-subtitle {
    font-size:21px;
  }
  .hero-buttons .button {
    font-size:18px;
    padding:10px 20px;
  }
  .hero-metrics {
    gap:10px;
  }
  .hero-metrics article {
    padding:10px 11px;
  }
  .hero-metrics strong {
    font-size:23px;
  }
  .hero-metrics p {
    font-size:12px;
  }
  .hero-metrics small {
    font-size:13px;
  }
  .hero-overview h2 {
    font-size:21px;
  }
  .hero-overview .segmented button {
    font-size:12px;
    min-width:55px;
    padding:5px 10px;
  }
  .hero-overview {
    padding:16px 17px 8px;
  }
  .hero-note {
    font-size:16px;
  }
  .product-card {
    padding:22px 19px;
  }
  .product-card h2 {
    font-size:21px;
  }
  .product-card>div {
    gap:12px;
  }
  .product-card .icon {
    width:36px;
    height:36px;
  }
  .product-card p {
    font-size:15px;
  }
  .product-grid {
    padding-left:25px;
    padding-right:25px;
    gap:14px;
  }
}
@media(max-width:960px) {
  .public-nav {
    padding:0 22px;
    gap:18px;
  }
  .public-nav .brand strong {
    font-size:21px;
  }
  .public-nav .brand-mark {
    transform:scale(.85);
    width:42px;
    margin-right:-4px;
  }
  .public-links {
    font-size:15px;
    gap:17px;
  }
  .public-actions {
    gap:8px;
  }
  .public-actions .button {
    font-size:14px;
    padding:7px 12px;
  }
  .hero-inner {
    grid-template-columns:1fr 1.15fr;
    padding:30px 24px;
    gap:20px;
    min-height:415px;
  }
  .hero-copy .preview-label {
    font-size:13px;
    padding:6px 12px;
  }
  .hero-copy h1 {
    font-size:43px;
    letter-spacing:-1px;
    margin-top:18px;
  }
  .hero-subtitle {
    font-size:18px;
    margin-top:16px;
  }
  .hero-buttons {
    flex-wrap:wrap;
    gap:10px;
    margin-top:22px;
  }
  .hero-buttons .button {
    font-size:16px;
    min-height:43px;
    padding:8px 19px;
  }
  .hero-note {
    font-size:13px;
    margin-top:13px;
  }
  .hero-overview {
    padding:15px 15px 8px;
  }
  .hero-overview h2 {
    font-size:19px;
  }
  .hero-overview .segmented button {
    font-size:11px;
    min-width:45px;
    padding:4px 8px;
  }
  .hero-metrics {
    gap:8px;
    margin-top:14px;
  }
  .hero-metrics article {
    padding:10px 9px;
  }
  .hero-metrics strong {
    font-size:20px;
  }
  .hero-metrics p {
    font-size:10px;
  }
  .hero-metrics small {
    font-size:11px;
  }
  .hero-overview .chart-wrap {
    margin-top:13px;
  }
  .trend-chart {
    min-height:145px;
  }
  .product-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
    padding:25px 24px 32px;
  }
  .product-card {
    padding:23px 25px;
  }
  .product-card>div {
    gap:18px;
    margin-bottom:10px;
  }
  .product-card h2 {
    font-size:22px;
  }
  .product-card p {
    font-size:16px;
  }
  .public-footer {
    min-height:70px;
  }
  .public-footer nav {
    font-size:16px;
    gap:25px;
  }
  :root {
    --sidebar:210px;
  }
  .workspace-header {
    padding:0 20px;
  }
  .breadcrumb {
    font-size:15px;
    gap:12px;
  }
  .header-actions {
    gap:13px;
  }
  .header-actions button {
    font-size:13px;
    gap:7px;
  }
  .header-actions .icon {
    width:20px;
    height:20px;
  }
  .sidebar .brand strong {
    font-size:17px;
  }
  .sidebar .brand small {
    font-size:13px;
  }
  .sidebar>.brand {
    gap:3px;
    margin:21px 13px 25px;
  }
  .nav-item {
    font-size:15px;
    gap:16px;
    padding-left:16px;
    min-height:47px;
  }
  .nav-item .icon {
    width:22px;
    height:22px;
  }
  .notice {
    padding:10px 12px;
    align-items:flex-start;
    gap:8px;
    flex-wrap:wrap;
  }
  .notice>span {
    border-left:0;
    padding-left:0;
  }
  .notice>strong {
    font-size:14px;
  }
  .notice .icon {
    width:19px;
    height:19px;
  }
  .page-heading h1 {
    font-size:30px;
  }
  .page-heading p {
    font-size:14px;
  }
  .page-heading .segmented button {
    font-size:13px;
    min-width:65px;
    padding:7px 11px;
  }
  .stat-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }
  .stat-card,.merchant-page .stat-card {
    padding:17px 19px;
    min-height:94px;
    gap:17px;
  }
  .stat-icon,.merchant-page .stat-icon {
    width:47px;
    height:47px;
  }
  .stat-card p {
    font-size:13px;
  }
  .stat-card strong {
    font-size:27px;
  }
  .dashboard-middle {
    grid-template-columns:1fr;
  }
  .trend-card {
    padding-bottom:10px;
  }
  .trend-card .trend-chart {
    max-height:235px;
  }
  .todo-card {
    padding-bottom:15px;
  }
  .todo-card>button {
    font-size:16px;
    padding:10px 3px;
  }
  .todo-card strong {
    font-size:22px;
  }
  .todo-card h2 {
    margin-bottom:10px;
  }
  .todo-card>button:last-child {
    border-bottom:0;
  }
  .merchant-middle {
    grid-template-columns:1fr;
  }
  .quick-grid>button,.quick-grid>a {
    padding:17px 6px;
    min-height:140px;
  }
  .quick-grid strong {
    font-size:17px;
  }
  .quick-grid span {
    font-size:11px;
  }
  .quick-card,.security-card {
    padding:17px;
  }
  .security-card h2 {
    margin-bottom:8px;
  }
  .security-row strong {
    font-size:15px;
  }
  .security-row small {
    font-size:12px;
  }
  .security-row {
    padding:11px 4px;
    gap:15px;
  }
  .security-card>.button {
    max-width:280px;
  }
  .integration-notice>span {
    flex:1;
    min-width:150px;
    font-size:11px;
  }
  .merchant-welcome {
    align-items:flex-start;
    flex-wrap:wrap;
    gap:10px;
  }
  .merchant-welcome .preview-label {
    font-size:12px;
    padding:5px 12px;
  }
  .merchant-page .orders-card .section-heading {
    flex-wrap:wrap;
    gap:8px;
  }
  .merchant-table-tools>span {
    display:none;
  }
  .cashier-main {
    padding-left:30px;
    padding-right:30px;
  }
}
@media(max-width:900px) and (min-width:761px) {
  /* Give the homepage preview a full tablet-width, readable chart. */
  .homepage .hero-inner {
    grid-template-columns:1fr;
    gap:27px;
    padding:30px 24px;
  }
  .homepage .hero-overview {
    padding:20px 23px 10px;
  }
  .homepage .hero-overview h2 {
    font-size:24px;
  }
  .homepage .hero-overview .segmented button {
    font-size:14px;
    min-width:70px;
  }
  .homepage .hero-metrics article {
    padding:13px 18px;
  }
  .homepage .hero-metrics p {
    font-size:15px;
  }
  .homepage .hero-metrics strong {
    font-size:28px;
  }
  .homepage .hero-metrics small {
    font-size:14px;
  }
}
@media(max-width:760px) {
  :root {
    --sidebar:236px;
  }
  .public-header {
    height:68px;
  }
  .public-nav {
    padding:0 17px;
    gap:12px;
  }
  .public-nav .brand strong {
    font-size:21px;
  }
  .public-nav .brand {
    gap:10px;
  }
  .public-nav .brand-mark {
    width:38px;
    transform:scale(.78);
    margin-right:-5px;
  }
  .public-menu-toggle {
    display:inline-flex;
    margin-left:auto;
    width:34px;
    height:34px;
  }
  .public-actions {
    margin-left:0;
  }
  .public-actions>.ghost {
    display:none;
  }
  .public-actions .button {
    font-size:12px;
    padding:7px 12px;
    min-height:36px;
  }
  .public-links {
    display:none;
    position:absolute;
    z-index:50;
    top:67px;
    left:0;
    right:0;
    flex-direction:column;
    gap:0;
    background:#fff;
    box-shadow:0 10px 20px #0f2b4815;
    border-bottom:1px solid var(--line);
    font-size:16px;
    padding:9px 20px 13px;
  }
  .public-links.is-open {
    display:flex;
  }
  .public-links>a,.public-links>button {
    padding:12px 7px;
  }
  .public-links .active:after {
    display:none;
  }
  .hero-inner {
    grid-template-columns:1fr;
    gap:27px;
    padding:30px 22px;
  }
  .hero-copy h1 {
    font-size:48px;
    line-height:1.3;
  }
  .hero-subtitle {
    font-size:23px;
  }
  .hero-copy .preview-label {
    font-size:14px;
  }
  .hero-buttons {
    flex-wrap:nowrap;
    margin-top:23px;
    gap:13px;
  }
  .hero-buttons .button {
    font-size:18px;
    min-height:47px;
    padding:9px 24px;
  }
  .hero-note {
    font-size:14px;
  }
  .hero-overview {
    padding:19px 17px 11px;
  }
  .hero-overview h2 {
    font-size:22px;
  }
  .hero-overview .segmented button {
    font-size:13px;
    padding:5px 10px;
    min-width:58px;
  }
  .hero-metrics article {
    padding:12px 14px;
  }
  .hero-metrics strong {
    font-size:25px;
  }
  .hero-metrics p {
    font-size:13px;
  }
  .hero-metrics small {
    font-size:13px;
  }
  .hero-overview .chart-wrap {
    margin-top:14px;
  }
  .hero-overview .trend-chart {
    min-height:150px;
  }
  .product-grid {
    padding:22px;
    gap:14px;
  }
  .product-card {
    padding:22px 20px;
  }
  .product-card>div {
    gap:14px;
  }
  .product-card h2 {
    font-size:20px;
  }
  .product-card .icon {
    width:34px;
    height:34px;
  }
  .product-card p {
    font-size:15px;
  }
  .sidebar {
    transform:translateX(-100%);
    transition:transform .2s;
  }
  .sidebar.is-open {
    transform:translateX(0);
  }
  .sidebar>.brand {
    margin:24px 20px 30px;
    gap:9px;
  }
  .sidebar .brand strong {
    font-size:19px;
  }
  .sidebar .brand small {
    font-size:14px;
  }
  .nav-item {
    min-height:49px;
    font-size:17px;
    gap:20px;
    padding:10px 23px;
  }
  .workspace-main {
    margin-left:0;
  }
  .workspace-header {
    padding:0 16px;
    height:58px;
  }
  .mobile-nav-toggle {
    display:inline-flex;
    width:28px;
    height:32px;
    margin-right:0;
  }
  .mobile-nav-toggle .icon {
    width:21px;
    height:21px;
  }
  .breadcrumb {
    font-size:15px;
    gap:10px;
  }
  .header-actions {
    gap:10px;
  }
  .header-actions .header-divider,.header-actions button>span:not(.down-caret) {
    display:none;
  }
  .header-actions button {
    gap:5px;
  }
  .header-actions .down-caret {
    display:none;
  }
  .dashboard-content,.merchant-page .dashboard-content {
    padding:18px 17px 12px;
  }
  .notice {
    padding:11px 13px;
    gap:6px;
  }
  .notice>strong {
    font-size:15px;
  }
  .notice>span {
    font-size:11px;
  }
  .page-heading {
    margin:17px 0;
  }
  .page-heading h1 {
    font-size:29px;
  }
  .page-heading p {
    font-size:13px;
  }
  .page-heading .segmented button {
    font-size:12px;
    min-width:58px;
    padding:7px 9px;
  }
  .stat-card,.merchant-page .stat-card {
    padding:16px 18px;
    gap:14px;
    min-height:95px;
  }
  .stat-card strong {
    font-size:27px;
  }
  .stat-card p {
    font-size:13px;
  }
  .dashboard-middle {
    margin-top:16px;
    gap:15px;
  }
  .trend-card h2,.todo-card h2 {
    font-size:20px;
  }
  .orders-card {
    padding-left:14px;
    padding-right:14px;
    margin-top:16px;
  }
  .orders-card h2 {
    font-size:21px;
  }
  .table-footer {
    padding-top:10px;
  }
  .merchant-welcome {
    margin-top:0;
    gap:11px;
  }
  .merchant-welcome h1 {
    font-size:29px;
  }
  .merchant-welcome p {
    font-size:14px;
  }
  .integration-notice {
    gap:7px;
    margin-bottom:17px;
  }
  .integration-notice>strong {
    font-size:14px;
  }
  .integration-notice>span {
    min-width:100%;
    font-size:11px;
    order:3;
  }
  .integration-notice .button {
    font-size:11px;
    margin-left:auto;
    min-height:29px;
    padding:4px 10px;
  }
  .quick-grid {
    gap:10px;
  }
  .quick-grid>button,.quick-grid>a {
    padding:16px 5px;
    min-height:140px;
  }
  .quick-grid strong {
    font-size:16px;
  }
  .quick-grid span {
    font-size:11px;
  }
  .merchant-middle {
    margin-top:16px;
  }
  .settlement-badge {
    font-size:12px;
    padding:4px 7px;
  }
  .merchant-table-tools {
    margin-top:-3px;
  }
  .cashier-header {
    background:#fff;
    color:var(--ink);
    border-bottom-color:#dce4f0;
  }
  .cashier-header-inner {
    min-height:66px;
    padding:12px 20px;
    max-width:620px;
  }
  .cashier-header .brand {
    gap:8px;
  }
  .cashier-header .brand strong {
    font-size:21px;
  }
  .cashier-header .brand-mark {
    width:32px;
    transform:scale(.67);
    margin-right:-5px;
    height:35px;
  }
  .cashier-header .preview-label {
    font-size:11px;
    padding:4px 8px;
  }
  .cashier-main {
    max-width:620px;
    padding:20px 20px 15px;
  }
  .cashier-card {
    padding:22px 22px 18px;
  }
  .cashier-summary h1 {
    font-size:28px;
  }
  .cashier-product {
    font-size:18px;
    margin-top:5px;
  }
  .cashier-amount {
    font-size:54px;
    margin:11px 0 4px;
  }
  .order-meta {
    font-size:15px;
    gap:7px 13px;
  }
  .payment-deadline {
    font-size:19px;
    margin:15px 0 20px;
  }
  .cashier-payment {
    padding-top:20px;
  }
  .payment-methods {
    gap:12px;
  }
  .payment-method {
    font-size:19px;
    min-height:49px;
    gap:15px;
  }
  .payment-method>span:last-child {
    padding-left:17px;
  }
  .payment-choice {
    width:21px;
    height:21px;
  }
  .demo-code {
    margin-top:19px;
  }
  .query-payment {
    width:100%;
    max-width:360px;
    font-size:18px;
    min-height:47px;
    margin-top:16px;
  }
  .cashier-links {
    font-size:16px;
    margin-top:19px;
    padding-top:15px;
  }
  .components-main {
    padding:21px;
  }
  .component-grid {
    grid-template-columns:1fr;
  }
  .component-card {
    padding:21px;
  }
  .prototype-links {
    gap:18px;
    font-size:13px;
    flex-wrap:wrap;
  }
}
@media(max-width:480px) {
  .public-nav {
    padding:0 15px;
    gap:7px;
  }
  .public-nav .brand strong {
    font-size:18px;
  }
  .public-nav .brand {
    gap:7px;
  }
  .public-nav .brand-mark {
    width:31px;
    transform:scale(.68);
    margin-right:-7px;
  }
  .public-actions .button {
    font-size:11px;
    min-height:33px;
    padding:6px 9px;
  }
  .public-menu-toggle {
    width:27px;
  }
  .public-menu-toggle .icon {
    width:21px;
  }
  .hero-inner {
    padding:26px 18px;
    gap:24px;
  }
  .hero-copy h1 {
    font-size:43px;
    letter-spacing:-1px;
    margin-top:17px;
  }
  .hero-subtitle {
    font-size:19px;
    margin-top:14px;
    letter-spacing:-.5px;
  }
  .hero-copy .preview-label {
    font-size:13px;
    padding:5px 12px;
  }
  .hero-buttons {
    gap:12px;
    margin-top:22px;
  }
  .hero-buttons .button {
    font-size:17px;
    min-height:46px;
    padding:9px 21px;
  }
  .hero-note {
    font-size:12px;
    margin-top:12px;
  }
  .hero-overview {
    padding:16px 13px 7px;
  }
  .hero-overview h2 {
    font-size:20px;
  }
  .hero-overview .section-heading {
    gap:8px;
  }
  .hero-overview .segmented button {
    font-size:11px;
    min-width:44px;
    padding:4px 7px;
  }
  .hero-metrics {
    gap:7px;
    margin-top:15px;
  }
  .hero-metrics article {
    padding:10px 8px;
    border-radius:7px;
  }
  .hero-metrics strong {
    font-size:20px;
    letter-spacing:-.4px;
  }
  .hero-metrics p {
    font-size:10px;
  }
  .hero-metrics small {
    font-size:10px;
  }
  .hero-overview .trend-chart {
    min-height:115px;
  }
  .chart-labels {
    font-size:24px;
  }
  .chart-times {
    font-size:24px;
  }
  /* Keep three readable Y ticks and four X ticks within the mobile plot. */
  .chart-labels:not(.chart-times) {
    transform:translateX(40px);
  }
  .chart-labels:not(.chart-times) text:nth-child(2),
  .chart-labels:not(.chart-times) text:nth-child(4) {
    display:none;
  }
  .chart-grid,.chart-line,.chart-area,.chart-dots,.chart-times {
    transform:translateX(36px) scaleX(.95);
  }
  .chart-times text {
    display:none;
  }
  .chart-times text:nth-child(1),
  .chart-times text:nth-child(5),
  .chart-times text:nth-child(9),
  .chart-times text:nth-child(12) {
    display:block;
  }
  .chart-times text:last-child {
    text-anchor:end;
  }
  .hero-overview .chart-wrap {
    margin-top:13px;
  }
  .product-grid {
    grid-template-columns:1fr;
    padding:20px 18px 27px;
    gap:12px;
  }
  .product-card {
    padding:19px 22px;
  }
  .product-card>div {
    margin-bottom:9px;
    gap:17px;
  }
  .product-card h2 {
    font-size:22px;
  }
  .product-card .icon {
    width:34px;
    height:34px;
  }
  .product-card p {
    font-size:14px;
  }
  .public-footer {
    min-height:66px;
  }
  .public-footer nav {
    font-size:13px;
    gap:16px;
  }
  .workspace-header {
    padding:0 13px;
  }
  .breadcrumb {
    font-size:13px;
    gap:8px;
  }
  .header-actions .icon {
    width:21px;
    height:21px;
  }
  .header-actions strong {
    font-size:12px;
  }
  .dashboard-content,.merchant-page .dashboard-content {
    padding:14px 13px 11px;
  }
  .notice {
    padding:10px 12px;
  }
  .notice>strong {
    font-size:14px;
    gap:8px;
  }
  .notice>span {
    font-size:10px;
  }
  .page-heading {
    gap:8px;
    flex-wrap:wrap;
    margin:16px 1px;
  }
  .page-heading h1 {
    font-size:29px;
  }
  .page-heading .segmented {
    margin-top:1px;
  }
  .page-heading .segmented button {
    font-size:12px;
    min-width:57px;
    padding:6px 11px;
  }
  .page-heading p {
    font-size:13px;
  }
  .stat-grid {
    gap:10px;
  }
  .stat-card,.merchant-page .stat-card {
    padding:14px 12px;
    gap:10px;
    min-height:89px;
  }
  .stat-icon,.merchant-page .stat-icon {
    width:37px;
    height:42px;
    border-radius:8px;
  }
  .stat-icon .icon,.merchant-page .stat-icon .icon {
    width:26px;
    height:26px;
  }
  .stat-card p {
    font-size:10px;
    margin-bottom:5px;
  }
  .stat-card strong {
    font-size:21px;
    letter-spacing:-.5px;
  }
  .dashboard-middle {
    margin-top:14px;
    gap:14px;
  }
  .trend-card {
    padding:13px 12px 8px;
  }
  .chart-caption {
    font-size:11px;
    margin:10px 0 0;
  }
  .trend-card .trend-chart {
    min-height:130px;
  }
  .trend-card h2,.todo-card h2 {
    font-size:20px;
  }
  .todo-card {
    padding:13px 15px 12px;
  }
  .todo-card>button {
    font-size:15px;
    padding:10px 0;
    gap:12px;
  }
  .todo-card strong {
    font-size:22px;
  }
  .mini-icon {
    width:35px;
    height:35px;
  }
  .orders-card {
    margin-top:14px;
    padding:12px 12px 10px;
  }
  .orders-card h2 {
    font-size:20px;
  }
  .orders-card .section-heading {
    margin-bottom:11px;
  }
  .filter-toggle {
    font-size:11px;
  }
  .filter-toggle .icon {
    width:14px;
    height:14px;
  }
  .table-filter {
    padding:11px;
    flex-wrap:wrap;
    gap:9px;
  }
  .table-filter label:first-child {
    flex:1 1 100%;
  }
  .table-filter label:nth-child(2) {
    flex:1;
  }
  .table-filter input,.table-filter select {
    width:100%;
    min-width:0;
  }
  .table-filter .button {
    font-size:12px;
    padding-left:11px;
    padding-right:11px;
  }
  .table-footer {
    font-size:10px;
  }
  .merchant-welcome {
    margin:0 0 16px;
    gap:9px;
  }
  .merchant-welcome h1 {
    font-size:29px;
  }
  .merchant-welcome p {
    font-size:13px;
  }
  .merchant-welcome .preview-label {
    font-size:11px;
    padding:5px 10px;
  }
  .integration-notice {
    padding:9px 11px;
    gap:7px;
    margin-bottom:14px;
  }
  .integration-notice>strong {
    font-size:13px;
    gap:4px;
  }
  .integration-notice .icon {
    width:18px;
    height:18px;
  }
  .integration-notice .button {
    font-size:10px;
    padding:4px 8px;
    min-height:28px;
  }
  .integration-notice>span {
    font-size:10px;
  }
  .quick-card,.security-card {
    padding:14px;
  }
  .quick-card h2,.security-card h2 {
    font-size:20px;
    margin-bottom:14px;
  }
  .quick-grid {
    grid-template-columns:1fr 1fr;
    gap:10px;
  }
  .quick-grid>button,.quick-grid>a {
    min-height:128px;
    padding:15px 5px 12px;
  }
  .quick-grid strong {
    font-size:17px;
  }
  .quick-grid span {
    font-size:11px;
  }
  .quick-grid .icon {
    width:33px;
    height:33px;
    margin-bottom:10px;
  }
  .security-card h2 {
    margin-bottom:3px;
  }
  .security-row strong {
    font-size:14px;
  }
  .security-row small {
    font-size:11px;
  }
  .security-row {
    padding:11px 3px;
  }
  .security-card>.button {
    max-width:none;
  }
  .merchant-page .orders-card .section-heading {
    gap:8px;
    align-items:flex-start;
  }
  .settlement-badge {
    font-size:11px;
  }
  .settlement-badge .icon {
    width:15px;
    height:15px;
  }
  .merchant-table-tools {
    margin-top:0;
  }
  .cashier-header-inner {
    padding:12px 15px;
    gap:8px;
    min-height:64px;
  }
  .cashier-header .brand {
    gap:7px;
  }
  .cashier-header .brand strong {
    font-size:19px;
    letter-spacing:-.4px;
  }
  .cashier-header .brand-mark {
    width:28px;
    transform:scale(.58);
    margin-right:-6px;
  }
  .cashier-header .preview-label {
    font-size:10px;
    padding:4px 7px;
    border-radius:5px;
  }
  .cashier-main {
    padding:15px 13px 15px;
  }
  .cashier-card {
    padding:20px 17px 17px;
  }
  .cashier-summary h1 {
    font-size:27px;
    margin-top:0;
  }
  .cashier-product {
    font-size:17px;
    margin-top:5px;
  }
  .cashier-amount {
    font-size:53px;
    margin:12px 0 4px;
  }
  .order-meta {
    flex-direction:column;
    gap:7px;
    font-size:14px;
  }
  .order-meta .meta-divider {
    display:none;
  }
  .order-meta .badge {
    font-size:14px;
  }
  .payment-deadline {
    font-size:18px;
    margin:14px 0 19px;
  }
  .cashier-payment {
    padding-top:19px;
  }
  .payment-methods {
    gap:11px;
  }
  .payment-method {
    font-size:18px;
    gap:11px;
    min-height:49px;
  }
  .payment-method>span:last-child {
    padding-left:12px;
  }
  .payment-choice {
    width:20px;
    height:20px;
    font-size:14px;
  }
  .demo-code {
    width:180px;
    height:180px;
    margin:18px auto 34px;
  }
  .demo-code-label {
    left:41px;
    right:41px;
    top:70px;
    font-size:22px;
  }
  .demo-code figcaption {
    top:185px;
    font-size:15px;
  }
  .payment-method-help {
    font-size:9px;
  }
  .query-payment {
    min-height:48px;
    margin-top:16px;
  }
  .cashier-links {
    font-size:15px;
    padding-top:14px;
    margin-top:18px;
    gap:22px;
  }
  .cashier-footnote {
    font-size:10px;
    margin-top:12px;
  }
  .query-result {
    font-size:11px;
    padding:9px 10px;
  }
  .components-main {
    padding:18px 14px;
  }
  .components-main .page-heading h1 {
    font-size:27px;
  }
  .components-main .preview-label {
    font-size:13px;
  }
  .component-card {
    padding:18px;
  }
  .component-card h2 {
    font-size:21px;
  }
  .component-row .button {
    font-size:12px;
    padding:8px 13px;
  }
  .public-header .public-nav>.button {
    font-size:11px;
    padding:7px 10px;
  }
  .dialog-heading {
    padding:12px 15px;
  }
  .dialog-heading h2 {
    font-size:18px;
  }
  #dialog-content {
    padding:18px;
    font-size:14px;
  }
  .dialog-footer {
    padding:12px 16px;
  }
  .dialog-footer>span {
    font-size:10px;
  }
  .dialog-footer>.button {
    font-size:12px;
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
}
/* The prototype header uses the same complete mark geometry as the formal cashier. */
.cashier-header .brand {gap:14px;}
.cashier-header .brand-mark {width:48px;height:36px;flex-basis:48px;transform:none;margin-right:0;}
.cashier-header .brand-mark i {width:17px;height:25px;}
.cashier-header .brand-mark i:first-child {left:11px;top:0;}
.cashier-header .brand-mark i:last-child {left:20px;top:10px;}
@media(max-width:600px) {
  .cashier-header .brand {gap:9px;}
  .cashier-header .brand-mark {width:36px;height:28px;flex-basis:36px;}
  .cashier-header .brand-mark i {width:13px;height:19px;}
  .cashier-header .brand-mark i:first-child {left:8.5px;top:0;}
  .cashier-header .brand-mark i:last-child {left:15px;top:8px;}
}
