:root {
  color-scheme:light;
  --bg:#f7f9fc;
  --surface:#fff;
  --sidebar:#f9fbff;
  --input:#fbfcff;
  --text:#0a1220;
  --muted:#68758b;
  --line:#e8ecf3;
  --soft:#eef3fa;
  --blue:#356cff;
  --active:#e9f0ff;
  --brand-accent:#8183e9;
  --primary:#0e192b;
  --on-primary:#fff;
  --success:#16835d;
  --success-bg:#edf9f3;
  --danger:#bc354a;
  --danger-bg:#fff0f2;
  --shadow:0 12px 50px #304e8510;
}
:root[data-theme=dark] {
  color-scheme:dark;
  --bg:#080f1c;
  --surface:#0d1726;
  --sidebar:#091321;
  --input:#101d30;
  --text:#f2f5fc;
  --muted:#95a5bc;
  --line:#1c2b40;
  --soft:#152238;
  --blue:#80a5ff;
  --active:#182e50;
  --brand-accent:#a399ff;
  --primary:#f2f6ff;
  --on-primary:#0a1220;
  --success:#6ad7aa;
  --success-bg:#102d2a;
  --danger:#ff9bac;
  --danger-bg:#351b29;
  --shadow:0 12px 50px #0002;
}
* {
  box-sizing:border-box;
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:24px;
}
body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
button,input {
  font:inherit;
}
button,a,input,summary {
  -webkit-tap-highlight-color:transparent;
}
a {
  color:inherit;
  text-decoration:none;
}
button {
  cursor:pointer;
}
button:disabled {
  opacity:.55;
  cursor:not-allowed;
}
input {
  min-width:0;
  width:100%;
  border:1px solid var(--line);
  border-radius:6px;
  padding:11px 12px;
  color:var(--text);
  background:var(--input);
  outline-offset:2px;
}
input::placeholder {
  color:var(--muted);
  opacity:.85;
}
input[type=radio] {
  width:auto;
  accent-color:var(--blue);
}
:focus-visible {
  outline:2px solid var(--blue);
  outline-offset:3px;
}
[hidden] {
  display:none!important;
}
h1,h2,h3,p {
  margin:0;
}
h1 {
  font-size:30px;
  line-height:1.2;
  letter-spacing:-1px;
}
h2 {
  font-size:15px;
  font-weight:650;
}
h3 {
  font-size:14px;
  font-weight:600;
}
p {
  overflow-wrap:anywhere;
}
.icon {
  width:18px;
  height:18px;
  flex-shrink:0;
  vertical-align:middle;
}
.brand {
  display:inline-flex;
  flex-direction:column;
  gap:8px;
}
.brand svg {
  width:104px;
  height:28px;
}
.brand-caption {
  font-size:7px;
  letter-spacing:2.4px;
  color:var(--muted);
  white-space:nowrap;
}
.muted,.field-hint,.subtle-label {
  color:var(--muted);
}
.muted {
  font-size:13px;
}
.field-hint {
  font-size:11px;
  line-height:1.6;
}
.eyebrow {
  font-size:10px;
  letter-spacing:1.6px;
  color:var(--muted);
}
.tabular,.balance-value,.checkout-amount {
  font-variant-numeric:tabular-nums;
}
.optional {
  font-size:10px;
  color:var(--muted);
  font-weight:400;
  margin-left:6px;
}
.skip-link {
  position:fixed;
  top:-100px;
  left:16px;
  z-index:100;
  background:var(--surface);
  padding:12px;
}
.skip-link:focus {
  top:12px;
}
.icon-button {
  border:0;
  background:transparent;
  color:var(--muted);
  width:38px;
  height:38px;
  border-radius:8px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.icon-button:hover {
  color:var(--text);
  background:var(--soft);
}
.theme-sun {
  display:none;
}
[data-theme=dark] .theme-sun {
  display:block;
}
[data-theme=dark] .theme-moon {
  display:none;
}
.button {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  border:1px solid transparent;
  padding:10px 16px;
  min-height:42px;
  border-radius:6px;
  font-size:12px;
  font-weight:600;
  line-height:1.5;
  transition:background .15s,box-shadow .15s;
}
.button--primary {
  background:var(--primary);
  color:var(--on-primary);
  box-shadow:0 2px 4px #07132316;
}
.button--primary:hover {
  box-shadow:0 0 0 3px #6c8ce522;
}
.button--secondary {
  background:var(--soft);
  color:var(--text);
  border-color:var(--line);
}
.button--ghost {
  background:transparent;
  color:var(--muted);
}
.text-link {
  color:var(--blue);
  font-size:12px;
}
.text-link .icon {
  width:14px;
}
.notice,.error {
  padding:12px 14px;
  border-radius:7px;
  margin-bottom:18px;
  display:flex;
  align-items:center;
  gap:10px;
  font-size:13px;
}
.notice--error,.error {
  background:var(--danger-bg);
  color:var(--danger);
}
.notice--success {
  background:var(--success-bg);
  color:var(--success);
}
.panel {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:9px;
  box-shadow:0 2px 8px #3a568003;
}
.cabinet-shell {
  min-height:100vh;
  display:flex;
}
.sidebar {
  width:208px;
  position:fixed;
  inset:0 auto 0 0;
  border-right:1px solid var(--line);
  background:var(--sidebar);
  display:flex;
  flex-direction:column;
  padding:30px 16px 26px;
  overflow:hidden;
  z-index:30;
}
.sidebar-brand {
  margin:0 16px 32px;
  width:max-content;
}
.sidebar-nav {
  display:grid;
  gap:5px;
  z-index:1;
}
.nav-item {
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  font-size:12px;
  font-weight:500;
  border-radius:7px;
  color:var(--muted);
}
.nav-item:hover {
  background:var(--soft);
  color:var(--text);
}
.nav-item.is-active {
  background:var(--active);
  color:var(--blue);
  font-weight:600;
}
.sidebar-footer {
  margin-top:auto;
  padding:160px 14px 0;
  position:relative;
  z-index:1;
}
.sidebar-footer p {
  font-size:10px;
  line-height:1.7;
  color:var(--muted);
  margin-bottom:28px;
}
.workspace {
  margin-left:208px;
  min-width:0;
  flex:1;
}
.topbar {
  height:76px;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:0 32px;
  background:var(--surface);
}
.search-field {
  display:flex;
  align-items:center;
  gap:8px;
  background:var(--soft);
  color:var(--muted);
  border-radius:7px;
  padding:0 12px;
  width:290px;
}
.search-field input {
  background:transparent;
  border:0;
  font-size:12px;
  padding:9px 0;
}
.topbar-actions {
  display:flex;
  align-items:center;
  gap:16px;
  margin-left:auto;
}
.topbar-divider {
  width:1px;
  height:28px;
  background:var(--line);
}
.avatar {
  width:33px;
  height:33px;
  border-radius:50%;
  background:var(--soft);
  display:grid;
  place-items:center;
  font-size:13px;
  font-weight:600;
}
.profile-menu {
  position:relative;
}
.profile-menu summary {
  display:flex;
  align-items:center;
  gap:12px;
  cursor:pointer;
  list-style:none;
}
.profile-menu summary::-webkit-details-marker,.help-menu summary::-webkit-details-marker {
  display:none;
}
.profile-name {
  font-size:12px;
  max-width:200px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.profile-menu .icon {
  width:14px;
  color:var(--muted);
}
.profile-popover {
  position:absolute;
  right:0;
  top:48px;
  width:240px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:9px;
  padding:18px;
  box-shadow:var(--shadow);
  z-index:40;
  display:grid;
  gap:10px;
  overflow-wrap:anywhere;
}
.profile-popover .button {
  width:100%;
  justify-content:flex-start;
}
.menu-toggle {
  display:none;
}
.cabinet-main {
  max-width:1440px;
  margin:0 auto;
  padding:30px 32px;
}
.page-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:24px;
  gap:20px;
}
.page-heading p {
  color:var(--muted);
  margin-top:5px;
  font-size:13px;
}
.balance-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-bottom:18px;
}
.balance-card {
  padding:19px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.balance-card h2 {
  font-size:11px;
  font-weight:500;
  color:var(--muted);
  margin-bottom:8px;
}
.balance-value {
  font-size:clamp(17px,1.6vw,24px);
  font-weight:650;
  letter-spacing:-.6px;
  overflow-wrap:anywhere;
  line-height:1.3;
}
.balance-value span {
  font-size:.82em;
}
.balance-symbol {
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:6px;
  flex-shrink:0;
  background:var(--soft);
}
.balance-symbol--mint {
  color:#55b3b0;
}
.balance-symbol--violet {
  color:#a876fa;
}
.balance-symbol--blue {
  color:#7290ff;
}
.action-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-bottom:18px;
}
.action-card {
  padding:20px;
  display:flex;
  flex-direction:column;
  scroll-margin-top:20px;
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:18px;
}
.section-heading p {
  font-size:11px;
  color:var(--muted);
  margin-top:3px;
}
.subtle-label {
  font-size:10px;
}
.stack-form {
  display:flex;
  flex-direction:column;
  gap:8px;
  flex:1;
}
.stack-form label {
  font-size:12px;
  font-weight:500;
}
.stack-form label:not(:first-child) {
  margin-top:5px;
}
.stack-form .button--primary {
  margin-top:auto;
}
.stack-form>.field-hint {
  margin-top:-3px;
  margin-bottom:12px;
}
.input-action {
  display:flex;
  gap:8px;
}
.input-action .button {
  white-space:nowrap;
  padding:8px 10px;
  font-size:11px;
}
.created-link {
  background:var(--active);
  border-radius:6px;
  padding:14px;
  margin-bottom:16px;
}
.copy-field {
  display:flex;
  align-items:center;
  gap:8px;
}
.copy-field>span {
  flex:1;
  min-width:0;
  overflow-wrap:anywhere;
  font-size:12px;
}
.analytics-panel,.operations-panel {
  padding:20px;
  margin-bottom:18px;
}
.analytics-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.analytics-grid>div {
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:0 22px;
  border-left:1px solid var(--line);
}
.analytics-grid>div:first-child {
  padding-left:0;
  border:0;
}
.analytics-grid strong {
  font-size:19px;
  letter-spacing:-.4px;
  overflow-wrap:anywhere;
}
.analytics-grid .muted {
  font-size:11px;
}
.operations-table {
  width:100%;
  border-collapse:collapse;
  text-align:left;
  font-size:12px;
}
.operations-table th {
  background:var(--soft);
  color:var(--muted);
  font-size:10px;
  font-weight:500;
  padding:11px 12px;
  white-space:nowrap;
}
.operations-table td {
  padding:12px;
  border-bottom:1px solid var(--line);
}
.operations-table tr:last-child td {
  border-bottom:0;
}
.operations-table th:first-child {
  border-radius:5px 0 0 5px;
}
.operations-table th:last-child {
  border-radius:0 5px 5px 0;
}
.operation-amount {
  font-weight:500;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
.operation-amount small {
  display:block;
  color:var(--muted);
  font-size:10px;
}
.operation-detail {
  max-width:230px;
  overflow-wrap:anywhere;
}
.status-badge {
  display:inline-flex;
  align-items:center;
  gap:6px;
  white-space:nowrap;
  background:var(--soft);
  color:var(--muted);
  padding:4px 7px;
  border-radius:5px;
  font-size:10px;
}
.status-dot {
  width:6px;
  height:6px;
  background:currentColor;
  display:inline-block;
  border-radius:50%;
  flex-shrink:0;
}
.status-badge--paid,.status-badge--paid_late,.status-badge--completed,.status-badge--active {
  color:var(--success);
  background:var(--success-bg);
}
.status-badge--pending,.status-badge--processing {
  color:var(--blue);
  background:var(--active);
}
.status-badge--failed,.status-badge--needs_review {
  color:var(--danger);
  background:var(--danger-bg);
}
.empty-state,.empty-panel {
  text-align:center;
  color:var(--muted);
  padding:30px 15px;
  font-size:12px;
}
.empty-panel {
  margin:auto;
}
.empty-panel>.icon,.empty-state>.icon {
  width:30px;
  height:30px;
  margin-bottom:12px;
}
.empty-panel h3,.empty-state h3 {
  color:var(--text);
  margin-bottom:6px;
}
.workspace-footer {
  display:flex;
  justify-content:space-between;
  max-width:1440px;
  padding:0 32px 24px;
  margin:0 auto;
  color:var(--muted);
  font-size:10px;
}
.modal {
  width:calc(100% - 32px);
  max-width:480px;
  border:1px solid var(--line);
  border-radius:12px;
  padding:26px;
  background:var(--surface);
  color:var(--text);
  box-shadow:0 24px 100px #0004;
}
.modal::backdrop {
  background:#040d2366;
  backdrop-filter:blur(4px);
}
.modal-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:18px;
}
.modal-heading h2 {
  font-size:20px;
  margin-top:5px;
}
.modal-actions {
  display:flex;
  gap:10px;
  justify-content:flex-end;
  margin-top:24px;
}
.quote-list {
  margin:0 0 12px;
}
.quote-list>div {
  display:flex;
  justify-content:space-between;
  gap:14px;
  padding:11px 0;
  border-bottom:1px solid var(--line);
  font-size:12px;
}
.quote-list dt {
  color:var(--muted);
}
.quote-list dd {
  margin:0;
  font-weight:600;
  text-align:right;
  font-variant-numeric:tabular-nums;
}
.quote-total {
  font-size:14px!important;
}
.quote-total dt {
  color:var(--text);
}
.toast {
  position:fixed;
  bottom:24px;
  left:50%;
  transform:translateX(-50%);
  z-index:100;
  background:var(--primary);
  color:var(--on-primary);
  border:1px solid var(--line);
  padding:12px 20px;
  border-radius:8px;
  box-shadow:var(--shadow);
  max-width:calc(100% - 32px);
  font-size:12px;
}
.spinner {
  display:inline-block;
  width:24px;
  height:24px;
  border:2px solid var(--line);
  border-top-color:var(--blue);
  border-radius:50%;
  animation:spin .8s linear infinite;
}
@keyframes spin {
  to {
    transform:rotate(360deg);
  }
}
/* Refractions are decorative vectors of light; no payment information is embedded. */
.prism {
  position:absolute;
  pointer-events:none;
  overflow:hidden;
  isolation:isolate;
  background:radial-gradient(ellipse at 75% 60%,#b7caff3b,transparent 62%);
}
.prism:before,.prism:after {
  content:"";
  position:absolute;
  inset:0;
  background:conic-gradient(from 32deg at 26% 68%,transparent 0deg,#ccd9ff55 4deg,#fff 5deg,#c5c8ff88 6deg,transparent 9deg,transparent 51deg,#fff9 55deg,#c7e9ff99 58deg,transparent 63deg,transparent 170deg,#aabefc55 181deg,#fff 183deg,#e7c8ff88 185deg,transparent 190deg,transparent 233deg,#e4edff 249deg,#fff 251deg,transparent 256deg);
}
.prism:after {
  transform:scale(1.4) rotate(6deg);
  opacity:.55;
  filter:blur(2px);
}
.prism--sidebar {
  left:-85px;
  right:-90px;
  bottom:65px;
  height:500px;
  opacity:.85;
}
.prism--public {
  position:fixed;
  inset:0;
  z-index:0;
  opacity:.65;
  transform:scaleX(-1);
}
[data-theme=dark] .prism {
  opacity:.48;
  background:radial-gradient(ellipse at 25% 65%,#3456ad55,transparent 48%);
}
[data-theme=dark] .prism:before,[data-theme=dark] .prism:after {
  background:conic-gradient(from 32deg at 26% 68%,transparent 0deg,#3a69ff55 4deg,#a4baff 5deg,#b166ff99 6deg,transparent 9deg,transparent 51deg,#405fff88 55deg,#5bcbff66 58deg,transparent 63deg,transparent 170deg,#566dff55 181deg,#dce5ff 183deg,#a575ff99 185deg,transparent 190deg,transparent 233deg,#19376c 249deg,#8aadff 251deg,transparent 256deg);
}
.public-page {
  min-height:100svh;
  display:flex;
  flex-direction:column;
  background:var(--bg);
}
.public-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:30px 44px;
  position:relative;
  z-index:1;
}
.public-header-actions {
  display:flex;
  align-items:center;
  gap:18px;
}
.help-menu {
  position:relative;
  font-size:12px;
  color:var(--muted);
}
.help-menu summary {
  display:flex;
  align-items:center;
  gap:7px;
  cursor:pointer;
  list-style:none;
}
.help-menu .icon {
  width:14px;
}
.help-popover {
  position:absolute;
  top:36px;
  right:0;
  width:270px;
  border:1px solid var(--line);
  background:var(--surface);
  padding:18px;
  border-radius:8px;
  box-shadow:var(--shadow);
  z-index:5;
  color:var(--text);
}
.public-main {
  flex:1;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:34px 24px;
  position:relative;
  z-index:1;
}
.payment-card {
  width:100%;
  max-width:400px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:12px;
  padding:34px;
  box-shadow:var(--shadow);
}
.checkout {
  text-align:center;
}
.checkout h1 {
  font-size:19px;
  letter-spacing:-.3px;
  margin:10px 0 6px;
  overflow-wrap:anywhere;
}
.checkout-description {
  font-size:13px;
  color:var(--muted);
}
.checkout-amount {
  font-size:38px;
  letter-spacing:-1.2px;
  font-weight:650;
  margin:22px 0;
  line-height:1.2;
  overflow-wrap:anywhere;
}
.checkout-amount span {
  white-space:nowrap;
}
.qr {
  width:218px;
  height:218px;
  padding:5px;
  border:1px solid #e8ecf3;
  border-radius:12px;
  background:#fff;
  margin:0 auto;
}
.qr img {
  width:100%;
  height:100%;
  display:block;
}
.qr-caption {
  font-size:11px;
  color:var(--muted);
  margin:14px -6px 24px;
}
.checkout-button {
  width:100%;
  margin-bottom:8px;
  min-height:44px;
}
.checkout-status {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:11px;
  color:var(--muted);
  margin-top:24px;
}
.checkout-status .status-dot {
  color:var(--blue);
}
.checkout-timer {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  color:var(--muted);
  font-size:11px;
  margin-top:11px;
}
.checkout-timer .icon {
  width:15px;
  height:15px;
}
.checkout-timer b {
  font-weight:500;
  font-variant-numeric:tabular-nums;
}
.checkout-reference {
  font-size:10px;
  color:var(--muted);
  padding-top:22px;
  border-top:1px solid var(--line);
  margin-top:26px;
  overflow-wrap:anywhere;
}
.public-footer {
  display:flex;
  align-items:center;
  gap:34px;
  padding:28px 44px;
  position:relative;
  z-index:1;
  color:var(--muted);
  font-size:11px;
}
.public-footer>span {
  margin-left:auto;
}
.result-symbol {
  width:64px;
  height:64px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--soft);
  color:var(--muted);
  margin:34px auto 20px;
}
.result-symbol .icon {
  width:28px;
  height:28px;
}
.result-symbol--success {
  background:var(--success-bg);
  color:var(--success);
}
.result-title {
  font-size:19px;
  margin-bottom:10px;
}
.qr-loading {
  padding:35px 0;
  color:var(--muted);
  font-size:12px;
}
.qr-loading p {
  margin-top:12px;
}
.auth-heading {
  font-size:25px;
  margin:12px 0;
}
.payment-card>.muted {
  margin:10px 0 26px;
}
.payment-card .stack-form .button--primary {
  margin-top:14px;
}
.method {
  border:1px solid var(--line);
  border-radius:7px;
  padding:12px;
  display:flex;
  gap:10px;
  align-items:center;
  cursor:pointer;
}
.method:has(input:checked) {
  border-color:var(--blue);
  background:var(--active);
}
.integration-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-bottom:18px;
}
.integration-grid .panel {
  padding:22px;
  min-width:0;
}
.integration-grid h2 {
  margin-bottom:8px;
}
.integration-value {
  font:12px/1.6 ui-monospace,SFMono-Regular,monospace;
  overflow-wrap:anywhere;
  margin:18px 0;
  color:var(--text);
}
.secret-field {
  display:flex;
  align-items:center;
  gap:5px;
  margin-top:16px;
}
.secret-field input {
  font:12px ui-monospace,SFMono-Regular,monospace;
}
.key-row {
  display:flex;
  align-items:center;
  gap:18px;
  padding:16px 0;
  border-bottom:1px solid var(--line);
  font-size:12px;
}
.key-row>div:first-child {
  flex:1;
  min-width:0;
  overflow-wrap:anywhere;
}
.key-row small {
  display:block;
  color:var(--muted);
  margin-top:4px;
}
.key-row:last-child {
  border-bottom:0;
}
.key-value {
  background:var(--input);
  padding:12px;
  border:1px solid var(--line);
  border-radius:6px;
  font:12px ui-monospace,SFMono-Regular,monospace;
  overflow-wrap:anywhere;
  margin:8px 0 12px;
}
.topbar-caption {
  color:var(--muted);
  font-size:12px;
}
@media(min-width:1600px) {
  .cabinet-main {
    padding-top:42px;
  }
  .action-card {
    padding:26px;
  }
  .balance-card {
    padding:24px;
  }
  .topbar {
    padding:0 42px;
  }
}
@media(max-width:1100px) {
  .sidebar {
    width:180px;
    padding-inline:10px;
  }
  .workspace {
    margin-left:180px;
  }
  .topbar {
    padding:0 22px;
  }
  .cabinet-main {
    padding:25px 22px;
  }
  .balance-card {
    padding:16px;
  }
  .balance-symbol {
    display:none;
  }
  .analytics-grid strong {
    font-size:17px;
  }
  .profile-name {
    max-width:140px;
  }
  .operations-table td,.operations-table th {
    padding:10px 8px;
  }
  .input-action .button span {
    display:none;
  }
  .desktop-only {
    display:none;
  }
}
@media(max-width:800px) {
  .sidebar {
    visibility:hidden;
    transform:translateX(-100%);
    width:230px;
    transition:transform .2s;
  }
  .menu-open .sidebar {
    visibility:visible;
    transform:translateX(0);
  }
  .sidebar-scrim {
    position:fixed;
    inset:0;
    background:#040c2066;
    border:0;
    z-index:25;
  }
  .workspace {
    margin-left:0;
  }
  .menu-toggle {
    display:flex;
  }
  .topbar {
    height:66px;
    padding:0 16px;
    gap:10px;
  }
  .topbar-actions {
    gap:6px;
  }
  .topbar-divider,.profile-name {
    display:none;
  }
  .search-field {
    max-width:300px;
    flex:1;
    width:auto;
  }
  .search-field input {
    font-size:12px;
    width:100%;
  }
  .profile-menu summary {
    gap:5px;
  }
  .cabinet-main {
    padding:24px 18px;
  }
  .workspace-footer {
    padding:0 18px 24px;
  }
  .public-header {
    padding:22px 24px;
  }
  .public-footer {
    padding:24px;
  }
  .public-footer p {
    display:none;
  }
  .balance-value {
    font-size:19px;
  }
}
@media(max-width:560px) {
  input {
    font-size:16px;
  }
  h1 {
    font-size:27px;
  }
  .page-heading {
    margin-bottom:22px;
  }
  .balance-grid {
    grid-template-columns:1fr;
    gap:10px;
  }
  .balance-card {
    padding:16px 18px;
  }
  .balance-card>div {
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    gap:16px;
  }
  .balance-card h2 {
    margin:0;
    font-size:11px;
    max-width:110px;
  }
  .balance-value {
    font-size:20px;
    text-align:right;
  }
  .action-grid,.integration-grid {
    grid-template-columns:1fr;
    gap:14px;
  }
  .action-card,.analytics-panel,.operations-panel {
    padding:18px;
  }
  .input-action .button span {
    display:inline;
  }
  .input-action .button {
    padding:8px;
    font-size:10px;
  }
  .input-action .button .icon {
    width:15px;
  }
  .analytics-grid {
    grid-template-columns:1fr;
    gap:16px;
  }
  .analytics-grid>div {
    padding:0 0 16px;
    border:0;
    border-bottom:1px solid var(--line);
    display:grid;
    grid-template-columns:1fr auto;
    gap:3px;
  }
  .analytics-grid>div:first-child {
    border-bottom:1px solid var(--line);
  }
  .analytics-grid>div:last-child {
    border:0;
    padding-bottom:0;
  }
  .analytics-grid .field-hint {
    grid-column:1/-1;
  }
  .analytics-grid strong {
    font-size:17px;
  }
  .operations-table thead {
    display:none;
  }
  .operations-table,.operations-table tbody,.operations-table tr,.operations-table td {
    display:block;
  }
  .operations-table tr {
    border-bottom:1px solid var(--line);
    padding:12px 0;
  }
  .operations-table tr:last-child {
    border:0;
    padding-bottom:0;
  }
  .operations-table td {
    border:0;
    padding:4px 0;
    display:flex;
    justify-content:space-between;
    align-items:start;
    gap:15px;
    font-size:11px;
    text-align:right;
    max-width:none;
    white-space:normal;
  }
  .operations-table td:before {
    content:attr(data-label);
    font-size:10px;
    color:var(--muted);
    text-align:left;
    flex-shrink:0;
    font-weight:400;
  }
  .operation-amount {
    flex-wrap:wrap;
  }
  .operation-amount small {
    width:100%;
    margin-top:-4px;
  }
  .workspace-footer {
    font-size:9px;
    gap:15px;
  }
  .public-header .brand svg {
    width:90px;
  }
  .public-header-actions {
    gap:10px;
  }
  .public-main {
    padding:16px;
    align-items:flex-start;
  }
  .payment-card {
    padding:30px 24px;
    border-radius:10px;
    max-width:380px;
  }
  .checkout-amount {
    font-size:34px;
  }
  .public-footer {
    justify-content:center;
    margin-top:20px;
    padding-bottom:32px;
  }
  .public-footer>span {
    display:none;
  }
  .public-footer .brand svg {
    width:112px;
  }
  .public-header {
    padding:16px 22px;
  }
  .prism--public {
    transform:scaleX(-1);
    inset:40% -100% -10% 0;
  }
  .modal {
    padding:22px;
  }
  .modal-actions .button {
    flex:1;
    padding-inline:10px;
    font-size:11px;
  }
  .key-row {
    flex-wrap:wrap;
    gap:10px;
  }
  .key-row>div:first-child {
    flex-basis:65%;
  }
  .section-heading {
    align-items:flex-start;
  }
  .integration-grid .panel {
    padding:18px;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*:before,*:after {
    animation:none!important;
    transition:none!important;
  }
}
