.auth-card { background: #fff; border: 1px solid #e1e8df; border-radius: 6px; box-shadow: 0 20px 60px #1735260d; overflow: hidden; }
.auth-switch { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid #e1e8df; }
.auth-switch button { background: #fff; border: 0; border-bottom: 2px solid transparent; color: #6f8176; padding: 17px 12px 14px; font-weight: 650; }
.auth-switch button[aria-selected="true"] { color: #176e59; border-bottom-color: #176e59; }
.auth-switch button:focus-visible { outline: 2px solid #176e59; outline-offset: -4px; }
.auth-card .login-panel { border: 0; box-shadow: none; padding: 30px 35px 26px; }
.auth-card .login-panel > p:not(.feedback) { margin: 4px 0 24px; }
.auth-card .feedback { margin: 12px 0 0; min-height: 0; }
#panel-admin .form-grid { margin-top: 24px; max-width: 720px; }
#admin-users, #wallet-ledger { overflow-wrap: anywhere; }
@media (max-width: 760px) { .login-view { align-items: start; } .auth-card .login-panel { padding: 26px 24px 22px; } }

/* Product workspace: compact hierarchy, dense forms, and restrained surfaces. */
:root { color: #202c2a; background: #f4f6f5; }
body { min-height: 100vh; }
.topbar { height: 62px; padding: 0 max(24px, calc((100vw - 1240px) / 2)); border-bottom-color: #dce3df; }
.brand { font-size: 15px; gap: 10px; }
.brand small { font-size: 10px; letter-spacing: .06em; }
.mark { width: 32px; height: 32px; font-size: 17px; background: #176c58; }
main { max-width: 1240px; padding: 24px 24px 48px; }
.intro { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin: 0 0 22px; }
.workspace-title .eyebrow { margin: 0 0 6px; letter-spacing: .1em; }
.intro .workspace-title h1 { font-size: 27px; line-height: 1.25; margin: 0; letter-spacing: 0; }
.intro .workspace-title p:not(.eyebrow) { margin: 4px 0 0; line-height: 1.4; font-size: 12px; }
.quota { width: 350px; min-height: 88px; padding: 14px 18px; background: #fff; color: #203d34; border: 1px solid #dce5e0; border-radius: 5px; box-shadow: none; }
.quota-main { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.quota-main > div { display: flex; flex-direction: column; gap: 3px; }
.quota-main span { font-size: 11px; color: #60776b; }
.quota > .quota-main strong { font-size: 24px; line-height: 1.15; font-weight: 700; margin: 0; color: #155c48; }
.quota .text-button { color: #176e59; border: 1px solid #d9e6de; border-radius: 4px; padding: 2px 9px; font-size: 20px; line-height: 1.35; }
.quota-footer { border-top: 1px solid #e7ece8; margin-top: 10px; padding-top: 8px; gap: 24px; font-size: 11px; color: #63786e; opacity: 1; }
.quota-footer span { display: flex; gap: 6px; }
.quota-footer b { margin: 0; font-size: 11px; color: #263f34; }
.tabs { gap: 4px; margin: 0 0 16px; border-bottom: 1px solid #d9e2dd; }
.tab { font-size: 13px; padding: 11px 17px 12px; color: #5d7065; white-space: nowrap; }
.tab:hover { color: #155f49; background: #eaf0ec; }
.tab.active { color: #155f49; border-bottom-color: #176e59; }
.panel { padding: 25px 30px 28px; box-shadow: none; border-color: #dce4df; }
.section-heading { padding: 0 0 17px; margin: 0 0 20px; align-items: center; }
.section-heading .eyebrow { margin: 0 0 3px; font-size: 10px; letter-spacing: .08em; }
.section-heading h2 { font-size: 19px; margin: 0 0 4px; }
.section-heading p:last-child { font-size: 12px; line-height: 1.4; }
.step { padding: 6px 10px; font-size: 11px; }
.form-grid { gap: 14px 22px; }
.form-grid label { gap: 5px; font-size: 12px; }
.form-grid em { display: inline; margin-left: 4px; }
.form-grid small { font-size: 10px; line-height: 1.3; }
.form-grid input, .form-grid select { height: 38px; }
.form-grid .wide input { width: 100%; }
.form-footer { margin-top: 2px; padding-top: 16px; }
.form-footer strong { font-size: 20px; }
.primary { min-height: 40px; padding: 10px 17px; }
.result:not(:empty) { margin-top: 18px; }
footer { padding: 12px; }

@media (max-width: 760px) {
  .topbar { height: 58px; padding: 0 16px; }
  main { padding: 17px 14px 36px; }
  .intro { gap: 12px; align-items: stretch; flex-direction: column; margin-bottom: 14px; }
  .intro .workspace-title h1 { font-size: 22px; }
  .intro .workspace-title p:not(.eyebrow) { display: none; }
  .quota { width: 100%; min-height: 0; padding: 12px 15px; }
  .tabs { gap: 0; overflow-x: auto; scrollbar-width: thin; }
  .tab { padding: 11px 13px; flex: 0 0 auto; }
  .panel { padding: 18px 16px 22px; }
  .section-heading { padding-bottom: 14px; margin-bottom: 17px; }
  .section-heading h2 { font-size: 18px; }
  .section-heading p:last-child { line-height: 1.45; }
  .step { display: none; }
  .form-grid { grid-template-columns: 1fr; gap: 14px; }
  .form-footer { gap: 13px; }
  .form-footer .primary { width: 100%; }
  .login-view { gap: 18px; }
}
