:root{
  --admin-surface: linear-gradient(180deg, rgba(17,24,39,.88), rgba(6,11,24,.96));
  --admin-surface-2: linear-gradient(180deg, rgba(20,29,52,.82), rgba(8,14,30,.98));
  --admin-border-strong: rgba(148,163,184,.20);
  --admin-soft: rgba(255,255,255,.06);
  --admin-soft-2: rgba(255,255,255,.10);
  --admin-shadow-2: 0 18px 44px rgba(0,0,0,.38);
}

html,body{overflow-x:hidden;}
body.admin-body{background:#050916;}
body.admin-body::before{
  background:
    radial-gradient(760px 340px at 12% 6%, rgba(110,168,255,.12), transparent 58%),
    radial-gradient(760px 420px at 88% 12%, rgba(180,120,255,.10), transparent 55%),
    radial-gradient(700px 420px at 50% 100%, rgba(63,94,251,.08), transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,.02), transparent 36%);
}

.admin-main,
.admin-container,
.admin-topbar,
.admin-shell,
.card,
.stat-box,
.table-wrapper,
.settings-button-grid,
.round-action-card,
.product-round-card,
.dashboard-hero,
.dashboard-hero-panel,
.admin-sidebar{min-width:0;}

.admin-container{
  width:min(100% - 32px, 1480px);
  padding:28px 0 56px;
}

.admin-topbar-modern{
  position:sticky;
  top:0;
  z-index:24;
  margin:16px 16px 0;
  padding:16px 18px;
  min-height:86px;
  border:1px solid var(--admin-border-strong);
  background:rgba(7,12,25,.82);
  backdrop-filter:blur(16px);
  box-shadow:var(--admin-shadow-2);
  border-radius:24px;
}

.admin-sidebar{
  background:linear-gradient(180deg, rgba(7,12,24,.98), rgba(5,8,18,.98));
  border-right:1px solid rgba(255,255,255,.08);
}

.admin-brand,
.admin-user-chip,
.nav-link,
.card,
.stat-box,
.round-action-card,
.product-round-card,
.settings-hub-card,
.login-panel-card,
.dashboard-hero-panel,
.table-wrapper{
  background:var(--admin-surface);
  border-color:var(--admin-border-strong) !important;
  box-shadow:var(--admin-shadow-2);
}

.nav-link{
  min-height:52px;
  gap:12px;
}

.nav-link-text,
.round-action-title,
.round-action-desc,
.table-title,
.table-sub,
.admin-topbar-title,
.admin-topbar-kicker,
.hero-panel-label,
.hero-panel-sub,
.stat-label,
.stat-meta,
.badge,
.btn,
label,
input,
select,
textarea,
button,
.pill,
.page-intro p,
.section-head p{
  word-break:break-word;
  overflow-wrap:anywhere;
}

.card,
.stat-box,
.round-action-card,
.product-round-card,
.table-wrapper,
.dashboard-hero-panel{
  border-radius:24px !important;
}

.card{padding:20px;}

.section-head h2,
.card h2,
.card h3,
.dashboard-hero h1{letter-spacing:.01em;}

.page-intro,
.dashboard-hero,
.dashboard-hero-refresh{
  gap:16px;
  align-items:stretch;
}

.dashboard-hero-panel{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:132px;
  padding:20px;
}

.settings-button-grid,
.product-menu-grid,
.product-menu-grid-refresh{
  gap:16px;
}

.round-action-card,
.product-round-card{
  min-height:unset;
  padding:18px;
  background:var(--admin-surface-2);
}

.round-action-icon,
.product-round-icon{
  width:54px;
  height:54px;
  min-width:54px;
  border-radius:18px;
  background:rgba(255,255,255,.08);
}

.stack-form{
  gap:14px !important;
}

label,
.form-label{
  font-size:.9rem;
  font-weight:600;
  color:rgba(255,255,255,.88);
  margin:0;
}

input[type=text],
input[type=password],
input[type=number],
textarea,
select{
  min-height:48px;
  border-radius:16px;
  border:1px solid rgba(148,163,184,.18);
  background:rgba(4,10,24,.72);
  box-shadow:none;
  font-size:16px;
}

textarea{min-height:120px;}

.form-actions,
.split-actions,
.table-actions{
  gap:10px;
}

.btn,
.btn-primary,
.btn-secondary,
.btn-danger{
  min-height:44px;
  border-radius:16px;
  font-weight:700;
}

.btn-primary{
  background:linear-gradient(135deg, #9bd0ff, #c6a6ff);
}

.table-wrapper{
  overflow:auto;
  padding:4px;
}

.table{
  min-width:0;
  width:100%;
  border-collapse:separate;
  border-spacing:0;
}

.table th{
  background:rgba(10,18,35,.86);
}

.table td,
.table th{
  padding:12px 12px;
}

.table-sub{color:rgba(255,255,255,.62);}

.table-actions{display:flex;flex-wrap:wrap;align-items:stretch;}
.table-actions form{display:block;}
.table-actions .btn,
.table-actions form .btn{width:auto;}

.admin-footer{
  padding:0 16px 24px;
}

.admin-footer-inner{
  width:min(100% - 32px, 1480px);
  margin:0 auto;
  color:rgba(255,255,255,.54);
}

@media (max-width: 1180px){
  .admin-container{width:min(100% - 24px, 1320px);}
}

@media (max-width: 980px){
  .admin-topbar-modern{margin:12px 12px 0; border-radius:22px;}
  .dashboard-hero,
  .dashboard-hero-refresh,
  .grid-2,
  .admin-easy-grid,
  .product-panels-grid,
  .settings-button-grid,
  .product-menu-grid,
  .product-menu-grid-refresh{grid-template-columns:1fr !important;}
}

@media (max-width: 900px){
  .admin-shell{display:block;}
  .admin-sidebar{
    position:fixed !important;
    inset:0 auto 0 0;
    width:min(310px, 86vw) !important;
    height:100dvh !important;
    z-index:1001 !important;
    transform:translateX(-104%);
    transition:transform .22s ease;
    border-right:1px solid rgba(255,255,255,.10);
    padding-bottom:24px;
  }
  body.sidebar-open .admin-sidebar{transform:translateX(0);}
  .admin-main{width:100%; padding-bottom:24px;}
  .admin-container{width:min(100% - 20px, 1200px); padding-top:18px;}
  .admin-topbar-modern{
    min-height:78px;
    padding:14px 14px;
  }
  .admin-topbar-title{font-size:1.1rem;}
  .dashboard-hero-panel{min-height:unset;}
  .card{padding:18px;}
  .settings-button-grid,
  .product-menu-grid,
  .product-menu-grid-refresh{gap:14px;}
  .round-action-card,
  .product-round-card{padding:16px; border-radius:20px !important;}
  .table-actions{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:100%;}
  .table-actions form,
  .table-actions .btn,
  .table-actions form .btn{width:100%;}
}

@media (max-width: 760px){
  .table-wrapper{
    overflow:visible;
    padding:0;
    border:none;
    background:transparent;
    box-shadow:none;
  }
  .table,
  .table thead,
  .table tbody,
  .table tr,
  .table th,
  .table td{display:block; width:100%;}
  .table thead{display:none;}
  .table tr{
    margin-bottom:12px;
    padding:14px;
    border-radius:20px;
    border:1px solid rgba(148,163,184,.18);
    background:var(--admin-surface);
    box-shadow:var(--admin-shadow-2);
  }
  .table td{
    position:relative;
    border:none;
    padding:10px 0 10px 42%;
    min-height:36px;
  }
  .table td::before{
    content:attr(data-label);
    position:absolute;
    left:0;
    top:10px;
    width:36%;
    color:rgba(255,255,255,.64);
    font-size:.78rem;
    font-weight:700;
    letter-spacing:.02em;
  }
  .table td[data-label=""]::before{display:none;}
  .table td:first-child{padding-top:0;}
  .table td:last-child{padding-bottom:0;}
  .table-actions{grid-template-columns:1fr; margin-top:6px;}
}

@media (max-width: 640px){
  .admin-container{width:min(100% - 16px, 1200px); padding-top:14px;}
  .admin-topbar-modern{margin:10px 8px 0; padding:12px 12px; border-radius:18px;}
  .admin-topbar-right{gap:6px; flex-wrap:wrap; justify-content:flex-end;}
  .pill{padding:6px 10px;}
  .card,
  .stat-box,
  .round-action-card,
  .product-round-card,
  .dashboard-hero-panel{border-radius:18px !important;}
  .card{padding:16px;}
  .dashboard-hero h1{font-size:1.45rem;}
  .table tr{padding:12px; border-radius:18px;}
  .table td{padding-left:0; padding-top:26px;}
  .table td::before{position:static; display:block; width:auto; margin-bottom:6px;}
  .btn,
  .btn-primary,
  .btn-secondary,
  .btn-danger{width:100%;}
  .form-actions,
  .split-actions{display:grid; grid-template-columns:1fr;}
}

/* v20260323 refined layout */
.admin-container{
  gap:18px;
}

.page-intro,
.section-head,
.card-head{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:flex-start;
  justify-content:space-between;
}

.page-intro p,
.section-head p,
.card-head p{
  max-width:78ch;
  line-height:1.65;
  color:rgba(255,255,255,.72);
}

.card,
.stat-box,
.round-action-card,
.product-round-card,
.table-wrapper,
.dashboard-hero-panel{
  backdrop-filter:blur(18px);
}

.round-action-card,
.product-round-card,
.nav-link,
.btn,
input,
select,
textarea{
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.round-action-card:hover,
.product-round-card:hover{
  transform:translateY(-2px);
}

.nav-link:hover,
.nav-link.is-active{
  box-shadow:0 18px 36px rgba(0,0,0,.28);
}

input:focus,
select:focus,
textarea:focus{
  outline:none;
  border-color:rgba(155,208,255,.52);
  box-shadow:0 0 0 4px rgba(155,208,255,.10);
}

.table td,
.table th{
  vertical-align:top;
}

.table td{
  line-height:1.55;
}

.table td .btn,
.table td form,
.table td form .btn{
  max-width:100%;
}

.form-actions,
.split-actions,
.table-actions{
  align-items:stretch;
}

@media (min-width: 761px){
  .table-actions{
    justify-content:flex-end;
  }
}

@media (max-width: 900px){
  .admin-sidebar{
    box-shadow:0 28px 48px rgba(0,0,0,.42);
  }
}

@media (max-width: 640px){
  .page-intro,
  .section-head,
  .card-head{
    gap:10px;
  }

  .page-intro h1,
  .section-head h2,
  .card h2,
  .card h3{
    line-height:1.3;
  }

  input[type=text],
  input[type=password],
  input[type=number],
  textarea,
  select{
    min-height:46px;
    font-size:16px;
  }
}


/* v20260323 clean layout pass */
.admin-topbar-modern{
  display:grid !important;
  grid-template-columns:auto minmax(0,1fr) auto !important;
  align-items:center !important;
  gap:14px !important;
}

.admin-topbar-title-wrap{
  min-width:0 !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  text-align:left !important;
  gap:4px !important;
}

.admin-topbar-title,
.admin-topbar-kicker{
  word-break:normal !important;
  overflow-wrap:normal !important;
}

.admin-topbar-title{
  white-space:normal !important;
  line-height:1.2 !important;
}

.admin-topbar-kicker{
  white-space:nowrap !important;
}

.admin-topbar-right{
  min-width:0 !important;
  display:flex !important;
  flex-wrap:wrap !important;
  justify-content:flex-end !important;
  gap:8px !important;
}

.nav-link-text,
.round-action-title,
.round-action-desc,
.table-title,
.table-sub,
.hero-panel-label,
.hero-panel-sub,
.stat-label,
.stat-meta,
.badge,
.btn,
label,
input,
select,
textarea,
button,
.pill,
.page-intro p,
.section-head p{
  word-break:break-word;
  overflow-wrap:anywhere;
}

.admin-sidebar,
.admin-topbar-modern,
.card,
.stat-box,
.round-action-card,
.product-round-card,
.table-wrapper,
.dashboard-hero-panel{
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

.product-menu-grid,
.settings-button-grid{
  margin-top:8px;
}

.table-title{
  font-weight:800;
  line-height:1.35;
}

.table-sub{
  margin-top:4px;
  line-height:1.45;
}

.table code{
  white-space:pre-wrap !important;
  word-break:break-all;
}

@media (max-width: 900px){
  .admin-topbar-modern{
    grid-template-columns:auto minmax(0,1fr) !important;
  }

  .admin-topbar-right{
    display:none !important;
  }

  .admin-container{
    padding-top:16px !important;
  }

  .card,
  .stat-box,
  .round-action-card,
  .product-round-card{
    box-shadow:none !important;
    transform:none !important;
  }
}

@media (max-width: 640px){
  .admin-topbar-modern{
    margin:8px 8px 0 !important;
    padding:12px 12px !important;
    min-height:72px !important;
    border-radius:18px !important;
  }

  .admin-topbar-title{
    font-size:1.05rem !important;
  }

  .admin-topbar-kicker{
    font-size:.66rem !important;
  }

  .page-intro,
  .dashboard-hero{
    gap:12px !important;
  }

  .table td{
    padding-top:24px !important;
    padding-left:0 !important;
  }

  .table td::before{
    position:static !important;
    display:block !important;
    width:auto !important;
    margin-bottom:6px !important;
  }

  .table-actions,
  .form-actions,
  .split-actions{
    display:grid !important;
    grid-template-columns:1fr !important;
  }
}

/* ===== Telegram Bot Admin UI ONLY - red/white backend refresh ===== */
:root{
  --bot-red:#a30000;
  --bot-red-2:#c40000;
  --bot-red-soft:#fff1f1;
  --bot-bg:#f4f5f7;
  --bot-card:#ffffff;
  --bot-text:#151515;
  --bot-muted:#6b7280;
  --bot-border:#e7e7eb;
  --bot-shadow:0 18px 45px rgba(17,24,39,.09);
}
html,body{background:var(--bot-bg) !important; color:var(--bot-text) !important;}
body.admin-body::before{display:none !important;}
a{color:inherit;}
.admin-shell{background:var(--bot-bg) !important;}
.admin-sidebar{
  background:linear-gradient(180deg,#ffffff,#fafafa) !important;
  border-right:1px solid var(--bot-border) !important;
  box-shadow:8px 0 28px rgba(0,0,0,.04) !important;
}
.admin-brand{
  background:linear-gradient(135deg,#fff,#fff7f7) !important;
  border:1px solid #f2d2d2 !important;
  box-shadow:0 10px 25px rgba(163,0,0,.08) !important;
}
.admin-brand-modern{display:flex;align-items:center;gap:12px;}
.admin-brand-mark{
  width:44px;height:44px;border-radius:16px;display:grid;place-items:center;
  background:var(--bot-red);color:#fff;box-shadow:0 10px 24px rgba(163,0,0,.24);
}
.admin-brand-title,.admin-user-name,.admin-topbar-title,.card h2,.card h3{color:var(--bot-text) !important;}
.admin-brand-sub,.admin-user-sub,.admin-topbar-kicker,.table-sub,.section-help,.muted{color:var(--bot-muted) !important;}
.nav-link{
  color:#303030 !important;
  background:transparent !important;
  border:1px solid transparent !important;
  border-radius:16px !important;
  font-weight:800;
}
.nav-link:hover{background:#fff4f4 !important;border-color:#f2d2d2 !important;transform:none !important;}
.nav-link.active{
  background:linear-gradient(135deg,var(--bot-red),#7f0000) !important;
  color:#fff !important;
  border-color:var(--bot-red) !important;
  box-shadow:0 14px 30px rgba(163,0,0,.18) !important;
}
.nav-link.danger{color:var(--bot-red) !important;}
.nav-link.danger:hover{background:#fff0f0 !important;}
.nav-sep,.admin-sidebar-footer{border-color:var(--bot-border) !important;background:var(--bot-border) !important;}
.admin-user-chip{background:#fff !important;border:1px solid var(--bot-border) !important;color:var(--bot-text) !important;}
.admin-user-dot{background:var(--bot-red) !important;box-shadow:0 0 0 4px rgba(163,0,0,.12) !important;}
.admin-topbar-modern,.admin-topbar{
  background:rgba(255,255,255,.96) !important;
  border:1px solid var(--bot-border) !important;
  box-shadow:0 10px 28px rgba(0,0,0,.06) !important;
  color:var(--bot-text) !important;
}
.nav-toggle{background:#fff !important;color:var(--bot-red) !important;border:1px solid #e8caca !important;}
.pill{background:#fff5f5 !important;color:var(--bot-red) !important;border:1px solid #f0c8c8 !important;}
.pill.subtle{background:#f8fafc !important;color:#4b5563 !important;border-color:var(--bot-border) !important;}
.admin-container{width:min(100% - 32px,1500px) !important;max-width:1500px !important;}
.card,.stat-box,.round-action-card,.product-round-card,.dashboard-hero-panel,.table-wrapper,.settings-hub-card,.shortcut-card,.hero-window{
  background:var(--bot-card) !important;
  border:1px solid var(--bot-border) !important;
  color:var(--bot-text) !important;
  box-shadow:var(--bot-shadow) !important;
}
.card::after{display:none !important;}
.card:hover,.round-action-card:hover,.product-round-card:hover{transform:none !important;box-shadow:var(--bot-shadow) !important;}
input[type=text],input[type=password],input[type=number],input[type=search],textarea,select{
  background:#fff !important;
  color:var(--bot-text) !important;
  border:1px solid #dedee5 !important;
  border-radius:14px !important;
}
input:focus,textarea:focus,select:focus{
  border-color:var(--bot-red) !important;
  box-shadow:0 0 0 4px rgba(163,0,0,.10) !important;
}
form label,.form-label{color:#111827 !important;font-weight:800;}
.btn,.btn-secondary{background:#fff !important;color:var(--bot-text) !important;border:1px solid var(--bot-border) !important;}
.btn:hover,.btn-secondary:hover{background:#fff6f6 !important;text-decoration:none !important;}
.btn-primary{
  background:linear-gradient(135deg,var(--bot-red-2),var(--bot-red)) !important;
  color:#fff !important;
  border:1px solid var(--bot-red) !important;
  box-shadow:0 12px 28px rgba(163,0,0,.24) !important;
}
.btn-danger{background:#b91c1c !important;color:#fff !important;border-color:#b91c1c !important;}
.badge-green{background:#ecfdf5 !important;color:#047857 !important;border:1px solid #a7f3d0 !important;}
.badge-muted{background:#f3f4f6 !important;color:#6b7280 !important;border:1px solid #e5e7eb !important;}
.alert-success{background:#ecfdf5 !important;color:#047857 !important;border-color:#a7f3d0 !important;}
.alert-error{background:#fef2f2 !important;color:#b91c1c !important;border-color:#fecaca !important;}
.table-wrapper{overflow:auto;border-radius:20px !important;}
.table th{background:var(--bot-red) !important;color:#fff !important;border-bottom:none !important;}
.table td{background:#fff !important;color:var(--bot-text) !important;border-bottom:1px solid #f0f0f2 !important;}
.table tr:hover td{background:#fff8f8 !important;}
.table-title{color:#111827 !important;font-weight:900 !important;}
.table-empty{color:var(--bot-muted) !important;text-align:center !important;padding:28px !important;}

.bot-admin-hero{
  display:grid;
  grid-template-columns:minmax(0,1.6fr) minmax(280px,.75fr);
  gap:18px;
  align-items:stretch;
  margin-bottom:18px;
}
.bot-admin-hero-main,.bot-admin-hero-card,.bot-panel,.bot-stat-card,.bot-tab,.bot-note-card{
  background:#fff;
  border:1px solid var(--bot-border);
  box-shadow:var(--bot-shadow);
  border-radius:24px;
}
.bot-admin-hero-main{
  padding:24px;
  background:linear-gradient(135deg,#fff 0%,#fff6f6 100%);
  position:relative;
  overflow:hidden;
}
.bot-admin-hero-main::after{
  content:"";position:absolute;right:-60px;top:-80px;width:210px;height:210px;border-radius:999px;background:rgba(163,0,0,.08);
}
.bot-kicker{
  display:inline-flex;align-items:center;gap:8px;
  padding:6px 12px;border-radius:999px;background:#fff0f0;color:var(--bot-red);
  font-size:.78rem;font-weight:900;letter-spacing:.03em;text-transform:uppercase;
}
.bot-admin-hero h1{margin:14px 0 8px !important;font-size:clamp(1.55rem,2.4vw,2.35rem) !important;color:#111827 !important;}
.bot-admin-hero p{margin:0;color:var(--bot-muted);line-height:1.65;max-width:70ch;}
.bot-admin-hero-card{padding:20px;display:flex;flex-direction:column;justify-content:center;}
.hero-panel-label{color:var(--bot-muted) !important;font-weight:800;}
.hero-panel-value{color:var(--bot-red) !important;font-size:2.45rem !important;font-weight:900 !important;line-height:1.05;}
.hero-panel-sub{color:var(--bot-muted) !important;line-height:1.45;}
.bot-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:0 0 18px !important;}
.bot-tab{display:flex;gap:12px;align-items:center;padding:16px;text-decoration:none !important;color:#111827 !important;transition:.15s ease;}
.bot-tab:hover{border-color:#efbcbc;transform:translateY(-1px);}
.bot-tab.active{background:linear-gradient(135deg,var(--bot-red),#830000);color:#fff !important;border-color:var(--bot-red);}
.bot-tab-icon{width:42px;height:42px;border-radius:14px;background:#fff0f0;display:grid;place-items:center;flex:0 0 auto;}
.bot-tab.active .bot-tab-icon{background:rgba(255,255,255,.18);}
.bot-tab-text{display:flex;flex-direction:column;gap:2px;min-width:0;}
.bot-tab-text small{color:var(--bot-muted);line-height:1.35;}
.bot-tab.active small{color:rgba(255,255,255,.78);}
.bot-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px;}
.bot-stat-card{padding:18px;display:flex;flex-direction:column;gap:5px;}
.bot-stat-card.primary{background:linear-gradient(135deg,var(--bot-red),#850000);color:#fff;border-color:var(--bot-red);}
.bot-stat-card span{color:var(--bot-muted);font-weight:800;font-size:.86rem;}
.bot-stat-card strong{font-size:1.55rem;color:#111827;line-height:1.15;}
.bot-stat-card small{color:var(--bot-muted);}
.bot-stat-card.primary span,.bot-stat-card.primary strong,.bot-stat-card.primary small{color:#fff;}
.bot-admin-grid{display:grid;grid-template-columns:minmax(320px,.75fr) minmax(0,1.35fr);gap:18px;align-items:start;}
.users-layout-ui{grid-template-columns:minmax(0,1.35fr) minmax(300px,.55fr);}
.bot-panel{padding:18px;}
.bot-panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px;}
.bot-panel-head h2{margin:8px 0 0 !important;color:#111827 !important;font-size:1.25rem !important;}
.bot-mini-badge{background:var(--bot-red);color:#fff;border-radius:999px;padding:7px 12px;font-size:.8rem;font-weight:900;}
.bot-form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.bot-form input,.bot-form select,.bot-form textarea{margin-bottom:8px;}
.bot-table-search{max-width:260px;min-height:42px;}
.bot-table-wrap{box-shadow:none !important;}
.bot-summary-list{display:grid;gap:10px;}
.bot-summary-list>div{padding:14px;border:1px solid #eee;border-radius:18px;background:#fafafa;display:flex;flex-direction:column;gap:6px;}
.bot-summary-list span{color:var(--bot-muted);font-weight:800;}
.bot-summary-list strong{font-size:1.05rem;color:#111827;}
.bot-note-card{margin-top:14px;padding:14px;background:#fff7f7;color:#111827;box-shadow:none;}
.bot-note-card p{margin:6px 0 0;color:var(--bot-muted);line-height:1.6;}

@media (max-width:1180px){
  .bot-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .bot-admin-grid,.users-layout-ui{grid-template-columns:1fr;}
}
@media (max-width:900px){
  .admin-sidebar{background:#fff !important;}
  .admin-overlay{background:rgba(17,24,39,.52) !important;}
  .bot-admin-hero{grid-template-columns:1fr;}
}
@media (max-width:760px){
  .bot-stat-grid{grid-template-columns:1fr 1fr;gap:10px;}
  .bot-admin-hero-main,.bot-admin-hero-card,.bot-panel,.bot-stat-card,.bot-tab{border-radius:18px;box-shadow:0 8px 20px rgba(0,0,0,.06);}
  .bot-panel-head{align-items:stretch;flex-direction:column;}
  .bot-table-search{max-width:none;width:100%;}
  .bot-form-row{grid-template-columns:1fr;}
  .table tr{background:#fff !important;border:1px solid var(--bot-border) !important;box-shadow:0 8px 20px rgba(0,0,0,.06) !important;}
  .table td{background:transparent !important;border-bottom:none !important;color:var(--bot-text) !important;}
  .table td::before{color:var(--bot-red) !important;font-weight:900 !important;}
}
@media (max-width:520px){
  .admin-container{width:min(100% - 16px,1500px) !important;}
  .bot-stat-grid{grid-template-columns:1fr;}
  .bot-admin-hero-main,.bot-admin-hero-card,.bot-panel{padding:16px;}
}
