*{box-sizing:border-box}html,body{margin:0;padding:0;background:#000;color:#fff;font-family:Inter,Arial,sans-serif;min-height:100%;}a{color:#fff;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}.container{width:min(1400px,94%);margin:0 auto}.muted{color:#aaa}.center{text-align:center}.danger{color:#ff5b5b}.success{color:#4dff78}.warning{color:#ffd24d}.blue{color:#62a8ff}.grid{display:grid;gap:18px}.cards4{grid-template-columns:repeat(4,minmax(0,1fr))}.cards3{grid-template-columns:repeat(3,minmax(0,1fr))}.cards2{grid-template-columns:repeat(2,minmax(0,1fr))}.panel{border:1px solid #fff;border-radius:18px;padding:20px;background:#050505}.no-border{border:0}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:1px solid #fff;background:#fff;color:#000;padding:11px 16px;border-radius:10px;font-weight:700}.btn.ghost{background:#000;color:#fff}.btn.danger{border-color:#ff5b5b;background:#ff5b5b;color:#000}.btn.small{padding:7px 10px;font-size:13px}.btn:disabled{opacity:.4;cursor:not-allowed}input,textarea,select{width:100%;background:#000;color:#fff;border:1px solid #555;border-radius:10px;padding:11px 12px;outline:none}input:focus,textarea:focus,select:focus{border-color:#fff}textarea{min-height:130px;resize:vertical}.field{margin-bottom:12px}.field label{display:block;margin-bottom:6px;font-size:13px;color:#ccc}.message{padding:10px 12px;border-radius:10px;border:1px solid #444;margin:10px 0}.auth-page{min-height:100vh;display:flex;align-items:center}.home-layout{display:grid;grid-template-columns:600px minmax(260px,1fr) minmax(260px,1fr);gap:20px;align-items:start}.hero-img{display:block;width:600px;height:700px;object-fit:fill;border-radius:18px}.news-scroll{max-height:700px;overflow:auto}.news-item{border-bottom:1px solid #333;padding:0 0 16px;margin-bottom:16px}.news-item:last-child{border-bottom:0}.top-space{padding:50px 0}.auth-tabs{display:flex;gap:8px;margin-bottom:15px}.tab{padding:8px 13px;border:1px solid #444;border-radius:9px;cursor:pointer}.tab.active{border-color:#fff}.hidden{display:none}.check-row{display:flex;align-items:center;gap:8px;font-size:13px}.check-row input{width:auto}.site-header{display:grid;grid-template-columns:500px 1fr auto;align-items:center;gap:25px;border-bottom:1px solid #222;padding:18px 0;position:sticky;top:0;background:#000;z-index:10}.logo{display:block;width:500px;height:240px;object-fit:fill;border-radius:16px}.menu{display:flex;gap:9px;flex-wrap:wrap;justify-content:center}.menu a{padding:9px 11px;border:1px solid transparent;border-radius:9px}.menu a:hover,.menu a.active{border-color:#fff}.account{display:flex;align-items:center;gap:8px;justify-content:flex-end;flex-wrap:wrap}.icon-btn{position:relative;width:42px;height:42px;border:1px solid #fff;border-radius:50%;display:grid;place-items:center;background:#000}.bell{font-size:18px}.bell.flash{animation:flash 1s infinite}.notify-dot{position:absolute;right:-2px;top:-2px;width:10px;height:10px;background:#ff3b3b;border-radius:50%}@keyframes flash{0%,100%{border-color:#fff;color:#fff}33%{border-color:#ff3b3b;color:#ff3b3b}66%{border-color:#45ff75;color:#45ff75}}.content{padding:28px 0 50px}.welcome{font-size:26px;margin-bottom:20px}.stat-card{min-height:220px;display:flex;flex-direction:column}.stat-card .title{font-size:14px;color:#aaa;margin-bottom:10px}.stat-card .value{font-size:24px;font-weight:700;margin-bottom:12px}.bonus-img{display:block;width:400px;height:400px;object-fit:fill;border-radius:12px;margin-bottom:12px}.section{scroll-margin-top:120px}.list-item{padding:15px 0;border-bottom:1px solid #222}.list-item:last-child{border-bottom:0}.ticket-card{display:grid;grid-template-columns:1fr auto;gap:12px;padding:14px;border:1px solid #333;border-radius:12px;margin-bottom:10px}.status{display:inline-block;padding:5px 9px;border-radius:999px;border:1px solid #777;color:#ddd;font-size:12px}.status-green{border-color:#44ee70;color:#44ee70}.status-yellow{border-color:#ffd24d;color:#ffd24d}.status-blue{border-color:#62a8ff;color:#62a8ff}.admin-nav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.admin-layout{display:grid;grid-template-columns:240px 1fr;gap:18px}.admin-side{position:sticky;top:95px;height:max-content}.admin-side a{display:block;padding:10px 12px;border-radius:8px;color:#ccc}.admin-side a:hover,.admin-side a.active{background:#111;color:#fff}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse}.data-table th,.data-table td{padding:9px;border-bottom:1px solid #292929;vertical-align:top;text-align:left}.data-table th{color:#aaa;font-weight:600}.inline{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.ticket-chat{max-height:500px;overflow:auto;padding-right:4px}.chat-msg{border:1px solid #333;border-radius:12px;padding:12px;margin:10px 0;max-width:90%}.chat-msg.admin{margin-left:auto;border-color:#62a8ff}.meta{font-size:11px;color:#777;margin-bottom:6px}.code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.error-page{min-height:100vh;display:grid;place-items:center}.error-box{text-align:center;width:min(900px,92%);padding:45px;border:1px solid #fff;border-radius:18px}.error-title{font-size:56px;margin:0 0 20px}.admin-form{margin-top:15px}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:14px}.three-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.hr{border-top:1px solid #222;margin:20px 0}.tiny{font-size:11px}@media(max-width:1250px){.home-layout{grid-template-columns:1fr 1fr}.hero-wrap{grid-row:1/3}.site-header{grid-template-columns:1fr}.account{justify-content:center}.menu{justify-content:flex-start}}@media(max-width:850px){.cards4,.cards3,.cards2,.two-cols,.three-cols{grid-template-columns:1fr}.home-layout{grid-template-columns:1fr}.admin-layout{grid-template-columns:1fr}.admin-side{position:static}.error-title{font-size:40px}}
/* Fixed account bar: never wraps or shifts when balance changes. */
.account-frame{display:flex;align-items:center;justify-content:flex-end;gap:10px;white-space:nowrap;background:#fff;color:#000;border:2px solid #e00000;border-radius:14px;padding:8px 12px;min-height:48px;width:max-content;max-width:100%;overflow-x:auto;overflow-y:hidden}
.account-frame a{color:#000}
.account-login,.account-balance{font-weight:700;flex:0 0 auto}
.account-sep{color:#000;font-weight:700;flex:0 0 auto}
.account-icon{position:relative;width:34px;height:34px;display:grid;place-items:center;border:1px solid #000;border-radius:8px;background:#fff;color:#000!important;flex:0 0 34px}
.account-icon.flash{animation:accountFlash 1s infinite}
.account-btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid #000;border-radius:8px;background:#fff;color:#000!important;padding:7px 10px;font-weight:700;flex:0 0 auto}
@keyframes accountFlash{0%,100%{border-color:#000;color:#000!important;box-shadow:none}33%{border-color:#f00;color:#f00!important;box-shadow:0 0 8px #f00}66%{border-color:#00b33c;color:#008a2f!important;box-shadow:0 0 8px #00b33c}}
.site-header{grid-template-columns:500px minmax(260px,1fr) max-content;align-items:center}
.site-header .menu{min-width:0}
@media(max-width:1250px){.site-header{grid-template-columns:1fr}.account-frame{justify-self:center;max-width:100%}}

/* Dashboard header: account controls above the navigation, black background. */
.site-header{display:grid;grid-template-columns:500px 1fr;align-items:start;gap:25px;border-bottom:1px solid #222;padding:18px 0;position:sticky;top:0;background:#000;z-index:10}
.logo-link{display:block}
.header-right{min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:14px}
.account-frame{display:flex;align-items:center;justify-content:flex-end;gap:10px;white-space:nowrap;background:#000;color:#fff;border:2px solid #e00000;border-radius:14px;padding:8px 12px;min-height:48px;width:100%;box-sizing:border-box;overflow-x:auto;overflow-y:hidden}
.account-frame a{color:#fff}
.account-balance-wrap{display:inline-flex;align-items:center;gap:7px;color:#fff!important;font-weight:700;flex:0 0 auto}
.balance-plus{display:inline-grid;place-items:center;width:24px;height:24px;border:1px solid #fff;border-radius:50%;font-size:18px;line-height:1;font-weight:800}
.balance-plus.small{width:20px;height:20px;font-size:15px}
.account-login,.account-balance{font-weight:700;flex:0 0 auto}
.account-sep{color:#fff;font-weight:700;flex:0 0 auto}
.account-icon{position:relative;width:34px;height:34px;display:grid;place-items:center;border:1px solid #fff;border-radius:8px;background:#000;color:#fff!important;flex:0 0 34px}
.account-btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid #fff;border-radius:8px;background:#000;color:#fff!important;padding:7px 10px;font-weight:700;flex:0 0 auto}
.menu{display:flex;gap:9px;flex-wrap:wrap;justify-content:center}
.subscription-actions{display:flex;flex-direction:column;gap:10px}
.pay-balance-btn{width:100%;box-sizing:border-box}
@media(max-width:1250px){.site-header{grid-template-columns:1fr}.logo-link{justify-self:center}.header-right{width:100%}.account-frame{justify-content:center}.menu{justify-content:center}}

/* Final dashboard header layout */
.site-header{display:flex;flex-direction:column;gap:8px;border-bottom:1px solid #222;padding:10px 0 14px;position:sticky;top:0;background:#000;z-index:10}
.account-row{width:100%;display:flex;justify-content:flex-end;align-items:center;min-height:48px}
.account-frame{display:flex;align-items:center;justify-content:flex-end;gap:10px;white-space:nowrap;background:#000;color:#fff;border:2px solid #e00000;border-radius:14px;padding:7px 12px;min-height:46px;width:max-content;max-width:100%;overflow-x:auto;overflow-y:hidden}
.header-main-row{display:flex;align-items:center;gap:10px;min-width:0}
.header-main-row .logo-link{flex:0 0 500px}
.header-main-row .logo{display:block;width:500px;height:240px;object-fit:fill;border-radius:16px}
.header-main-row .menu{flex:1 1 auto;min-width:0;display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-start;align-content:center}
.subscription-actions{display:flex!important;flex-direction:column!important;gap:14px!important;width:100%}
.subscription-actions form{width:100%;margin:0}
.subscription-actions .btn{width:100%;min-height:46px;white-space:normal;text-align:center}
.pay-balance-btn{width:100%!important;box-sizing:border-box}
.balance-bottom{margin-top:14px;font-size:18px;font-weight:800;line-height:1.3;color:#fff}
@media(max-width:850px){.account-row{justify-content:center}.header-main-row{flex-direction:column;align-items:center;gap:8px}.header-main-row .logo-link,.header-main-row .logo{width:min(500px,100%);height:auto;aspect-ratio:500/240}.header-main-row .menu{justify-content:center;width:100%}}

/* Definitive dashboard header: two stacked left panels + one tall right menu panel. */
.site-header{display:block;padding:12px 0 18px;background:#000;border-bottom:1px solid #222;position:sticky;top:0;z-index:10}
.dashboard-header-grid{display:grid;grid-template-columns:500px minmax(300px,1fr);grid-template-rows:240px 58px;gap:10px 22px;align-items:stretch;width:100%}
.dashboard-left-stack{display:contents}
.dashboard-logo-panel{grid-column:1;grid-row:1;width:500px;height:240px;display:flex;align-items:flex-start;justify-content:flex-start;margin:0}
.dashboard-logo-panel .logo-link{display:block;width:500px;height:240px;margin:0}
.dashboard-logo-panel .logo{display:block;width:500px;height:240px;max-width:none;object-fit:fill;border-radius:16px;margin:0}
.dashboard-account-panel{grid-column:1;grid-row:2;width:500px;height:58px;display:flex;align-items:flex-start;justify-content:flex-start;margin:0}
.dashboard-account-panel .account-frame{width:500px;height:48px;min-height:48px;max-width:none;justify-content:flex-start;box-sizing:border-box;overflow:hidden;margin:0}
.dashboard-menu-panel{grid-column:2;grid-row:1 / span 2;min-width:0;min-height:308px;height:308px;display:flex;align-items:flex-start;justify-content:flex-start;border:1px solid #fff;border-radius:16px;padding:16px 18px;background:#000;overflow:hidden}
.dashboard-menu-panel .menu{width:100%;height:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:8px;padding:0;margin:0;text-align:left;flex-wrap:nowrap}
.dashboard-menu-panel .menu a{display:flex;width:100%;max-width:100%;box-sizing:border-box;text-align:left;justify-content:flex-start;align-items:center;padding:10px 12px;border:1px solid transparent;border-radius:9px;margin:0}
.dashboard-menu-panel .menu a:hover,.dashboard-menu-panel .menu a.active{border-color:#fff}
@media(max-width:900px){
  .dashboard-header-grid{grid-template-columns:1fr;grid-template-rows:auto auto auto;gap:10px}
  .dashboard-logo-panel,.dashboard-account-panel,.dashboard-menu-panel{grid-column:1;}
  .dashboard-logo-panel{grid-row:1;width:100%;height:auto;justify-content:center}
  .dashboard-logo-panel .logo-link,.dashboard-logo-panel .logo{width:min(500px,100%);height:auto;aspect-ratio:500/240}
  .dashboard-account-panel{grid-row:2;width:100%;height:auto;justify-content:center}
  .dashboard-account-panel .account-frame{width:min(500px,100%);height:48px}
  .dashboard-menu-panel{grid-row:3;width:100%;height:auto;min-height:0;padding:12px}
  .dashboard-menu-panel .menu{height:auto}
}

/* Subscription controls: renew on the left, top-up on the right, same level. */
.subscription-actions{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  align-items:end !important;
  gap:14px !important;
  width:100% !important;
}
.subscription-actions form{
  width:100% !important;
  margin:0 !important;
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}
.subscription-actions > .btn,
.subscription-actions form .btn{
  width:100% !important;
  min-width:0;
  min-height:46px;
  box-sizing:border-box;
  margin:0 !important;
}
.subscription-actions .success{
  margin-bottom:10px !important;
}
@media (max-width:700px){
  .subscription-actions{
    grid-template-columns:1fr !important;
  }
}

/* Definitive subscription button layout: both buttons always on one level. */
.subscription-actions{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  gap:18px !important;
  align-items:stretch !important;
  width:100% !important;
}
.subscription-action-cell{
  min-width:0 !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-end !important;
}
.subscription-warning{
  min-height:38px !important;
  display:flex !important;
  align-items:flex-end !important;
  margin-bottom:10px !important;
  line-height:1.15 !important;
  font-size:14px !important;
}
.subscription-warning:empty{margin-bottom:10px !important}
.subscription-action-cell > .btn,
.subscription-action-cell form,
.subscription-action-cell form .btn{
  width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  min-height:46px !important;
  box-sizing:border-box !important;
}
.subscription-action-cell form{display:block !important}
@media(max-width:700px){
  .subscription-actions{grid-template-columns:1fr !important}
}


/* New simple dashboard header: menu | centered logo | account */
.simple-dashboard-header{
  display:grid !important;
  grid-template-columns:minmax(320px,1fr) 500px minmax(320px,1fr) !important;
  align-items:center !important;
  gap:28px !important;
  width:100% !important;
  min-height:240px !important;
  padding:0 0 18px !important;
  background:#000 !important;
  border-bottom:1px solid #222 !important;
  position:relative !important;
  top:auto !important;
}
.dashboard-three-column{display:contents !important}
.dashboard-menu-side{grid-column:1;display:flex;align-items:center;justify-content:flex-start;min-width:0}
.dashboard-menu-left{display:flex !important;flex-direction:row !important;align-items:center !important;justify-content:flex-start !important;gap:10px !important;flex-wrap:nowrap !important;width:max-content !important;max-width:100% !important}
.dashboard-menu-left a{display:flex !important;width:max-content !important;max-width:none !important;justify-content:center !important;align-items:center !important;text-align:center !important;white-space:nowrap !important;margin:0 !important;padding:9px 12px !important}
.dashboard-logo-center{grid-column:2;display:flex;align-items:center;justify-content:center;width:500px;height:240px}
.dashboard-logo-center .logo-link,.dashboard-logo-center .logo{width:500px;height:240px;display:block;object-fit:fill;border-radius:16px}
.dashboard-account-side{grid-column:3;display:flex;align-items:center;justify-content:flex-end;min-width:0}
.dashboard-account-frame{width:max-content !important;max-width:100% !important;justify-content:flex-end !important}
@media(max-width:1200px){
  .simple-dashboard-header{grid-template-columns:minmax(220px,1fr) 420px minmax(260px,1fr) !important;gap:18px !important}
  .dashboard-logo-center,.dashboard-logo-center .logo-link,.dashboard-logo-center .logo{width:420px;height:202px}
  .dashboard-account-frame{overflow-x:auto}
}
@media(max-width:900px){
  .simple-dashboard-header{grid-template-columns:1fr !important;min-height:0 !important;gap:12px !important;padding:12px 0 18px !important}
  .dashboard-menu-side,.dashboard-logo-center,.dashboard-account-side{grid-column:1 !important}
  .dashboard-menu-side{order:1;justify-content:flex-start}
  .dashboard-menu-left{flex-direction:row !important;flex-wrap:wrap !important;justify-content:flex-start !important;width:100% !important}
  .dashboard-logo-center{order:2;width:100%;height:auto}
  .dashboard-logo-center .logo-link,.dashboard-logo-center .logo{width:min(500px,100%);height:auto;aspect-ratio:500/240}
  .dashboard-account-side{order:3;justify-content:center}
  .dashboard-account-frame{width:max-content !important;max-width:100% !important}
}

/* Definitive requested dashboard GUI: logo/account on top, vertical menu below on the left, content on the right. */
.dashboard-final-header{display:block!important;background:#000!important;border:0!important;padding:18px 0 10px!important;position:relative!important;top:auto!important;z-index:1!important;}
.dashboard-topbar{display:grid;grid-template-columns:minmax(0,500px) minmax(0,1fr);align-items:start;gap:24px;width:100%;}
.dashboard-logo-top{width:500px;height:240px;display:flex;align-items:flex-start;justify-content:flex-start;}
.dashboard-logo-top .logo-link,.dashboard-logo-top .logo{display:block;width:500px;height:240px;object-fit:fill;border-radius:16px;}
.dashboard-account-top{display:flex;align-items:flex-start;justify-content:flex-end;min-width:0;padding-top:2px;}
.dashboard-account-top .account-frame{max-width:100%;}
.dashboard-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:start;width:100%;padding:10px 0 30px;}
.dashboard-sidebar{position:sticky;top:10px;align-self:start;}
.dashboard-vertical-menu{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:8px!important;width:100%!important;flex-wrap:nowrap!important;}
.dashboard-vertical-menu a{display:flex!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;box-sizing:border-box!important;text-align:left!important;white-space:normal!important;padding:11px 14px!important;margin:0!important;}
.dashboard-content{min-width:0;padding:0!important;margin:0!important;}
@media(max-width:1100px){
  .dashboard-topbar{grid-template-columns:1fr;gap:12px;}
  .dashboard-logo-top{width:100%;justify-content:center;height:auto;}
  .dashboard-logo-top .logo-link,.dashboard-logo-top .logo{width:min(500px,100%);height:auto;aspect-ratio:500/240;}
  .dashboard-account-top{justify-content:center;}
  .dashboard-layout{grid-template-columns:210px minmax(0,1fr);gap:16px;}
}
@media(max-width:760px){
  .dashboard-layout{grid-template-columns:1fr;gap:16px;}
  .dashboard-sidebar{position:static;}
  .dashboard-vertical-menu a{width:100%!important;}
  .dashboard-account-frame{overflow-x:auto;justify-content:flex-start!important;}
}

/* Cross-browser responsive dashboard layout — final override */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }

.dashboard-final-header {
  display: block !important;
  width: 100% !important;
  padding: 12px 0 16px !important;
  background: #000 !important;
  border: 0 !important;
  position: relative !important;
  top: auto !important;
}

.dashboard-topbar {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 24px !important;
  width: 100% !important;
  min-width: 0 !important;
}

.dashboard-logo-top {
  flex: 0 1 auto !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  display: block !important;
  text-align: left !important;
}

.dashboard-logo-top .logo-link {
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  vertical-align: top !important;
}

.dashboard-logo-top .logo {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 240px !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  margin: 0 !important;
}

.dashboard-account-top {
  flex: 0 1 auto !important;
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-left: auto !important;
  padding-top: 0 !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-end !important;
}

.dashboard-account-frame {
  width: auto !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  white-space: nowrap !important;
}

.dashboard-layout {
  display: grid !important;
  grid-template-columns: minmax(190px, 250px) minmax(0, 1fr) !important;
  gap: 24px !important;
  align-items: start !important;
  width: 100% !important;
  padding: 10px 0 30px !important;
}

.dashboard-sidebar {
  min-width: 0 !important;
  width: 100% !important;
  position: relative !important;
  top: auto !important;
}

.dashboard-vertical-menu {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 8px !important;
}

.dashboard-vertical-menu a {
  width: 100% !important;
  min-width: 0 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  text-align: left !important;
}

.dashboard-content {
  min-width: 0 !important;
  width: 100% !important;
  overflow-x: hidden !important;
}

/* Cards and controls stay inside their columns at every viewport width. */
.dashboard-content .cards4 {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}
.dashboard-content .panel {
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
}
.dashboard-content input,
.dashboard-content textarea,
.dashboard-content select,
.dashboard-content button,
.dashboard-content .btn {
  max-width: 100% !important;
}

@media (max-width: 1200px) {
  .dashboard-topbar { gap: 18px !important; }
  .dashboard-logo-top .logo { max-height: 210px !important; }
  .dashboard-layout { grid-template-columns: 220px minmax(0, 1fr) !important; gap: 18px !important; }
  .dashboard-content .cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 860px) {
  .dashboard-topbar {
    flex-wrap: wrap !important;
    align-items: center !important;
  }
  .dashboard-logo-top {
    flex: 1 1 100% !important;
    text-align: center !important;
  }
  .dashboard-logo-top .logo {
    max-width: min(100%, 500px) !important;
    max-height: 240px !important;
    margin: 0 auto !important;
  }
  .dashboard-account-top {
    flex: 1 1 100% !important;
    margin-left: 0 !important;
    justify-content: center !important;
  }
  .dashboard-layout {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .dashboard-content .cards4 { grid-template-columns: 1fr !important; }
}

@media (max-width: 560px) {
  .container { width: 100% !important; max-width: 100% !important; padding-left: 12px !important; padding-right: 12px !important; }
  .dashboard-account-frame {
    width: 100% !important;
    justify-content: flex-start !important;
  }
  .dashboard-vertical-menu a { padding: 10px 12px !important; }
}
