.maple-login-auth-wrap{width:100%;display:flex;justify-content:center;align-items:center;padding:20px 12px;box-sizing:border-box}
.maple-login-auth-card{width:min(100%,620px);background:linear-gradient(180deg,#ffffff 0%,#f7f8fc 100%);border:1px solid #e7ebf3;border-radius:28px;box-shadow:0 24px 48px rgba(71,84,125,.10);padding:28px 28px 24px;color:#334066;font-family:Inter,system-ui,-apple-system,sans-serif}
.maple-login-auth-card--dashboard{width:min(100%,1320px);padding:0;border-radius:34px;overflow:hidden}
.maple-login-badge{display:inline-flex;padding:7px 12px;border-radius:999px;background:#edf1ff;color:#7f8fc5;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.maple-login-title{margin:18px 0 8px;font-size:58px;line-height:.92;letter-spacing:-.065em;color:#273458}
.maple-login-sub{margin:0 0 24px;color:#7f8ba8;line-height:1.7;font-size:18px}
.maple-tabs{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}
.maple-tab{border:none;border-radius:16px;background:#eef2fb;color:#596685;padding:13px 16px;font-weight:800;cursor:pointer}
.maple-tab.is-active{background:#4c63db;color:#fff;box-shadow:0 16px 30px rgba(76,99,219,.22)}
.maple-google{display:flex;justify-content:center;align-items:center;gap:12px;border:1px solid #e1e7f2;background:#fff;color:#334066;border-radius:16px;padding:14px 18px;font-weight:800;cursor:pointer;width:100%;margin-bottom:18px}
.maple-google-icon{display:inline-flex;width:24px;height:24px;border-radius:999px;background:#eef2fb;align-items:center;justify-content:center;color:#4c63db;font-size:13px}
.maple-divider{position:relative;text-align:center;margin:18px 0 16px;color:#9aa7c1;font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.maple-divider:before{content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:#ebeff6}
.maple-divider span{position:relative;background:linear-gradient(180deg,#ffffff 0%,#f7f8fc 100%);padding:0 12px}
.maple-field{margin-bottom:14px}
.maple-field label{display:block;margin-bottom:7px;font-size:13px;font-weight:700;color:#47506a}
.maple-field input{width:100%;padding:14px 16px;border-radius:16px;border:1px solid #dbe2ef;background:#fff;color:#334066;font-size:15px;box-sizing:border-box}
.maple-field input:focus{outline:none;border-color:#aab7ee;box-shadow:0 0 0 4px rgba(76,99,219,.12)}
.maple-row{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:8px 0 18px}
.maple-link{border:none;background:none;color:#4c63db;cursor:pointer;font-weight:700;padding:0}
.maple-submit{width:100%;border:none;border-radius:16px;background:#4c63db;color:#fff;padding:14px 18px;font-weight:800;cursor:pointer;box-shadow:0 16px 30px rgba(76,99,219,.22)}
.maple-submit[disabled],.maple-google[disabled]{opacity:.65;cursor:not-allowed}
.maple-note,.maple-error,.maple-success{border-radius:16px;padding:13px 15px;margin-bottom:14px;line-height:1.55}
.maple-note{background:#eef2fb;color:#667594}
.maple-error{background:#fdecec;color:#a54040;border:1px solid #efcaca}
.maple-success{background:#eefaf1;color:#2f7a47;border:1px solid #cfe9d7}
.maple-login-loading{padding:18px;color:#667594}
.maple-dashboard-shell{display:grid;grid-template-columns:276px minmax(0,1fr);min-height:760px;background:#f6f8fc}
.maple-side{background:#1f2125;color:#d7e8ff;display:flex;flex-direction:column;padding:0 0 26px}
.maple-side-top{height:152px;background:#222}
.maple-side-pill{height:54px;background:linear-gradient(90deg,#14a5df 0%,#1b9ddd 100%);display:flex;align-items:center;gap:12px;padding:0 26px;font-size:18px;font-weight:800}
.maple-side-grid{font-size:22px;line-height:1}
.maple-side-nav,.maple-side-bottom{display:flex;flex-direction:column;gap:10px;padding:64px 28px 0}
.maple-side-bottom{margin-top:auto;padding-top:0}
.maple-side-link{border:none;background:none;color:#a7adb8;text-align:left;padding:10px 0;font-size:18px;cursor:pointer}
.maple-side-link.is-active,.maple-side-link:hover{color:#fff}
.maple-main{display:flex;flex-direction:column;min-width:0}
.maple-topbar{height:152px;background:linear-gradient(90deg,#18a9e6 0%,#4478cf 100%);display:flex;align-items:center;justify-content:space-between;padding:0 44px;color:#fff}
.maple-topmail{font-size:28px;font-weight:800;letter-spacing:-.02em;max-width:65%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.maple-topsearch{color:rgba(255,255,255,.55);font-size:20px}
.maple-content-grid{display:grid;grid-template-columns:minmax(0,1.1fr) 360px;gap:28px;padding:34px 44px 40px}
.maple-history-card{background:#fff;border:1px solid #e7ebf3;border-radius:28px;padding:26px;box-shadow:0 18px 42px rgba(71,84,125,.08)}
.maple-history-card h3{margin:8px 0 22px;font-size:24px;color:#2c3442}
.maple-table-wrap{border:1px solid #e7ebf3;border-radius:24px;padding:12px 16px;background:#fff}
.maple-payments-table{width:100%;border-collapse:separate;border-spacing:0}
.maple-payments-table thead th{background:linear-gradient(90deg,#14a5df 0%,#4378cf 100%);color:#fff;padding:16px 18px;font-size:16px;text-align:left}
.maple-payments-table thead th:first-child{border-top-left-radius:16px;border-bottom-left-radius:16px}
.maple-payments-table thead th:last-child{border-top-right-radius:16px;border-bottom-right-radius:16px}
.maple-payments-table tbody td{padding:18px;border-bottom:1px solid #edf1f7;color:#37445f;font-size:15px;font-weight:600}
.maple-payments-table tbody tr:last-child td{border-bottom:none}
.maple-payments-table .is-done{color:#3d73cc}
.maple-payments-table .is-pending{color:#999}
.maple-show-transactions{margin:22px auto 0;display:block;border:none;background:none;color:#4171c8;font-weight:800;font-size:15px;cursor:pointer}
.maple-status-side{display:flex;flex-direction:column;gap:16px;padding-top:74px}
.maple-status-head{background:#2a2a2d;color:#fff;padding:18px 26px;font-size:20px;font-weight:800;display:flex;justify-content:space-between;align-items:center}
.maple-status-head .is-green{color:#00d46c}
.maple-status-head .is-red{color:#ff8c7b}
.maple-mini-card{background:#fff;border:1px solid #e7ebf3;border-radius:24px;padding:20px}
.maple-mini-card small{display:block;font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:#8b96b2;margin-bottom:8px}
.maple-mini-card strong{display:block;font-size:24px;line-height:1.1;color:#273458;margin-bottom:6px;word-break:break-word}
.maple-mini-card span{display:block;color:#7f8ba8;line-height:1.7}
.maple-enter-btn{margin-top:8px;height:54px;border:none;border-radius:0;background:linear-gradient(90deg,#14a5df 0%,#1da7e2 55%,#22a5df 100%);color:#fff;font-size:18px;font-weight:800;cursor:pointer}
.maple-status-actions{display:flex;flex-direction:column;gap:10px}
.maple-flat-btn{border:none;background:#eef2fb;color:#596685;padding:13px 16px;border-radius:16px;font-weight:800;cursor:pointer}
@media(max-width:1100px){.maple-dashboard-shell{grid-template-columns:1fr}.maple-side{min-height:auto}.maple-side-top{display:none}.maple-content-grid{grid-template-columns:1fr}.maple-status-side{padding-top:0}}
@media(max-width:680px){.maple-login-auth-card{padding:22px 18px 18px}.maple-login-title{font-size:46px}.maple-login-sub{font-size:16px}.maple-login-auth-card--dashboard{border-radius:24px}.maple-topbar{padding:18px 20px;height:auto;align-items:flex-start;gap:10px;flex-direction:column}.maple-topmail{font-size:22px;max-width:100%}.maple-content-grid{padding:20px}.maple-side-pill{font-size:16px;padding:0 18px}.maple-side-nav,.maple-side-bottom{padding:24px 20px 0}.maple-payments-table thead th,.maple-payments-table tbody td{padding:12px 10px;font-size:13px}}


/* Full width dashboard patch */
.maple-login-auth-wrap{
  width:100vw!important;
  max-width:100vw!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  padding:0!important;
}
.maple-login-auth-card--dashboard{
  width:100vw!important;
  max-width:100vw!important;
  min-height:calc(100vh - 32px);
  border-radius:0!important;
  border-left:none!important;
  border-right:none!important;
}
.maple-dashboard-shell{
  width:100vw!important;
  min-height:calc(100vh - 32px);
  grid-template-columns:320px minmax(0,1fr)!important;
}
.maple-main{
  min-width:0;
}
.maple-topbar{
  padding:0 44px!important;
}
.maple-content-grid{
  width:100%;
  grid-template-columns:minmax(0,1.25fr) minmax(320px,.7fr)!important;
  gap:34px!important;
  padding:34px 42px 42px!important;
  box-sizing:border-box;
}
.maple-history-card,
.maple-status-side{
  min-width:0;
}
.maple-table-wrap{
  overflow-x:auto;
}
.maple-payments-table{
  min-width:640px;
}
@media (max-width: 1200px){
  .maple-dashboard-shell{grid-template-columns:280px minmax(0,1fr)!important;}
  .maple-content-grid{grid-template-columns:1fr!important;}
  .maple-status-side{padding-top:0!important;}
}
@media (max-width: 782px){
  .maple-login-auth-wrap{
    margin-left:calc(50% - 50vw)!important;
    margin-right:calc(50% - 50vw)!important;
  }
  .maple-login-auth-card--dashboard,
  .maple-dashboard-shell{
    width:100vw!important;
    min-height:auto!important;
  }
  .maple-dashboard-shell{grid-template-columns:1fr!important;}
  .maple-topbar{padding:20px!important;}
  .maple-content-grid{padding:20px!important;}
}

.maple-history-note{margin-top:14px;color:#7f8ba8;font-size:14px;line-height:1.7}.maple-empty-history{text-align:center;color:#8b96b2;padding:26px!important}.maple-pay-link{color:#4171c8;text-decoration:none;font-weight:700}
.maple-diagnostics{margin-top:14px;background:#0f1726;border-radius:18px;padding:14px;box-shadow:0 12px 28px rgba(15,23,38,.18)}
.maple-diagnostics-title{color:#cfe1ff;font-weight:800;font-size:13px;letter-spacing:.08em;text-transform:uppercase;margin-bottom:10px}
.maple-diagnostics-pre{margin:0;max-height:280px;overflow:auto;white-space:pre-wrap;word-break:break-word;color:#eff4ff;background:rgba(255,255,255,.04);border-radius:12px;padding:12px;font-size:12px;line-height:1.5}


/* Panel polish v2 */
.maple-login-auth-card--dashboard{background:linear-gradient(180deg,#f7f9fd 0%,#eef3fb 100%)!important;}
.maple-dashboard-shell{background:linear-gradient(180deg,#f4f7fc 0%,#edf2f9 100%)!important;grid-template-columns:260px minmax(0,1fr)!important;}
.maple-side{background:linear-gradient(180deg,#161a22 0%,#1d2330 100%)!important;box-shadow:inset -1px 0 0 rgba(255,255,255,.04);}
.maple-side-top{height:128px!important;background:linear-gradient(180deg,#1b1f28 0%,#171b23 100%)!important;}
.maple-side-pill{height:48px!important;margin:0 0 10px 0;font-size:15px!important;letter-spacing:.01em;background:linear-gradient(90deg,#16ace7 0%,#3790de 100%)!important;box-shadow:0 12px 26px rgba(24,169,230,.18);}
.maple-side-nav,.maple-side-bottom{padding:34px 22px 0!important;gap:6px!important;}
.maple-side-link{padding:12px 14px!important;border-radius:14px!important;font-size:16px!important;font-weight:700;transition:background .18s ease,color .18s ease,transform .18s ease;}
.maple-side-link.is-active,.maple-side-link:hover{background:rgba(255,255,255,.08)!important;color:#fff!important;transform:translateX(2px);}
.maple-topbar{height:112px!important;padding:0 36px!important;align-items:flex-end!important;background:linear-gradient(90deg,#1db0ea 0%,#4876d0 100%)!important;position:relative;overflow:hidden;}
.maple-topbar:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 85% 20%,rgba(255,255,255,.18),transparent 28%),radial-gradient(circle at 15% 120%,rgba(255,255,255,.10),transparent 26%);pointer-events:none;}
.maple-topbar-accent{width:74px;height:6px;border-radius:999px;background:rgba(255,255,255,.82);margin-bottom:22px;box-shadow:0 8px 20px rgba(255,255,255,.18);}
.maple-topmail,.maple-topsearch,.maple-history-note,.maple-show-transactions{display:none!important;}
.maple-content-grid{gap:26px!important;padding:28px 32px 34px!important;align-items:start!important;}
.maple-history-card{border:none!important;border-radius:30px!important;padding:28px!important;background:rgba(255,255,255,.78)!important;backdrop-filter:blur(6px);box-shadow:0 18px 50px rgba(44,62,99,.09)!important;}
.maple-history-card h3{font-size:18px!important;font-weight:800!important;margin:0 0 18px!important;color:#25324d!important;}
.maple-table-wrap{border:1px solid #e6edf7!important;border-radius:22px!important;padding:10px 12px!important;background:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.9);}
.maple-payments-table thead th{font-size:14px!important;padding:14px 16px!important;}
.maple-payments-table tbody td{font-size:14px!important;padding:16px!important;}
.maple-history-spacer{height:18px;}
.maple-status-side{gap:14px!important;padding-top:30px!important;}
.maple-status-head{border-radius:22px!important;padding:18px 22px!important;font-size:17px!important;box-shadow:0 14px 30px rgba(32,35,44,.16);}
.maple-mini-card{border:none!important;border-radius:24px!important;padding:18px 20px!important;background:rgba(255,255,255,.82)!important;backdrop-filter:blur(6px);box-shadow:0 12px 30px rgba(44,62,99,.08)!important;}
.maple-mini-card strong{font-size:18px!important;margin-bottom:4px!important;color:#24334f!important;}
.maple-mini-card span{font-size:13px!important;line-height:1.55!important;color:#7282a1!important;}
.maple-enter-btn{height:52px!important;border-radius:18px!important;margin-top:2px!important;box-shadow:0 16px 32px rgba(24,169,230,.24);}
.maple-flat-btn{border-radius:16px!important;background:rgba(236,242,251,.88)!important;color:#536481!important;padding:12px 16px!important;}
#maplePanelFeedback .maple-note,#maplePanelFeedback .maple-error,#maplePanelFeedback .maple-success{margin-top:4px!important;}
@media (max-width:1200px){.maple-dashboard-shell{grid-template-columns:1fr!important}.maple-side-top{display:none!important}.maple-status-side{padding-top:0!important}.maple-topbar{height:88px!important}.maple-content-grid{padding:22px 20px 28px!important}}
