/* Mobile administration: full-width workspace and labelled navigation. */
.mobile-menu-button,.mobile-drawer-close,.mobile-bottom-nav,.mobile-status-button,.mobile-tools-toggle,.mobile-cell-label {display:none;}
.mobile-cell-value {display:contents;}
.mobile-menu-backdrop[hidden] {display:none!important;}
@media(max-width:1023px){
 .venus-admin {height:100dvh;min-height:100dvh;overscroll-behavior:none;}
 .venus-admin .app-container {height:100dvh;}
 .venus-admin .app-sidebar {position:fixed;inset:0 auto 0 0;width:min(310px,87vw);height:100dvh;transform:translateX(-105%);transition:transform .2s ease;z-index:1100;border-right:1px solid #3c5a50;box-shadow:16px 0 60px #0007;}
 .venus-admin.mobile-nav-open .app-sidebar {transform:translateX(0);}
 .venus-admin .app-sidebar .sidebar-brand-text {display:block;}
 .venus-admin .app-sidebar .sidebar-header {height:78px;padding:16px 18px;flex-shrink:0;}
 .venus-admin .app-sidebar .nav-section-title {display:block;font-size:10px;padding:8px 12px;color:#9eb5ad;}
 .venus-admin .app-sidebar .nav-item {justify-content:flex-start;min-height:48px;padding:12px;font-size:13px;white-space:normal;line-height:1.5;}
 .venus-admin .app-sidebar .nav-item span {display:initial;}
 .venus-admin .app-sidebar .nav-item span.hidden {display:none;}
 .venus-admin .app-sidebar .nav-item span.ml-auto {font-size:9px;max-width:90px;overflow-wrap:anywhere;}
 .venus-admin .app-sidebar .sidebar-nav {padding:10px;gap:10px;overscroll-behavior:contain;}
 .venus-admin .app-sidebar .sidebar-footer {display:none;}
 .mobile-drawer-close {display:grid;place-items:center;margin-left:auto;background:none;border:1px solid #3a554a;color:#daeee3;font-size:26px;width:44px;height:44px;border-radius:9px;flex-shrink:0;}
 .mobile-menu-backdrop {display:block;position:fixed;inset:0;width:100%;height:100%;background:#030d0cb3;border:0;z-index:1090;backdrop-filter:blur(3px);}
 .venus-admin .app-main {width:100%;min-width:0;}
 .venus-admin .smart-heading kbd {display:none;}
 .venus-admin .app-header {padding:10px 12px;gap:8px;min-height:64px;align-items:center;flex-wrap:wrap;}
 .venus-admin .header-left {flex:1;min-width:0;max-width:100%;gap:10px;flex-shrink:1;overflow:visible;}
 .venus-admin .header-left > span:not(.page-title) {display:none;}
 .venus-admin .header-left > .page-title {display:block;}
 .venus-admin .page-title {font-size:14px;line-height:1.5;white-space:normal;overflow-wrap:anywhere;min-width:0;}
 .mobile-menu-button {display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border:1px solid #395148;border-radius:10px;background:#1c302c;color:#d8f2e3;font-size:23px;cursor:pointer;}
 .venus-admin .header-right {max-width:100%;width:auto;overflow:visible;flex-wrap:wrap;gap:6px;}
 .venus-admin .header-right > * {display:none!important;}
 .venus-admin .header-right > #btn-master-switch,.venus-admin .header-right > .mobile-status-button {display:inline-flex!important;min-height:44px;padding:8px 10px;font-size:11px;justify-content:center;}
 .venus-admin .header-right #btn-master-switch {max-width:105px;}
 .venus-admin .app-header.mobile-show-status .header-right {flex-basis:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:auto;max-height:42dvh;padding:7px 0;}
 .venus-admin .app-header.mobile-show-status .header-right > * {display:flex!important;min-height:44px;white-space:normal;overflow-wrap:anywhere;width:auto;max-width:100%;font-size:11px;}
 .venus-admin .app-content {width:100%;min-width:0;padding:16px 14px calc(92px + env(safe-area-inset-bottom));gap:16px;overflow-x:hidden;overscroll-behavior-y:contain;}
 .venus-admin.mobile-nav-open .app-content {overflow:hidden;}
 .mobile-bottom-nav {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;padding:7px 8px calc(7px + env(safe-area-inset-bottom));border-top:1px solid #39524a;background:#10221ff5;backdrop-filter:blur(14px);z-index:60;box-shadow:0 -8px 30px #0003;}
 .mobile-bottom-item {display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;min-height:52px;min-width:0;padding:6px 3px;color:#a7bfb3;background:none;border:0;border-radius:10px;font-size:10px;font-weight:600;cursor:pointer;}
 .mobile-bottom-item svg {width:21px;height:21px;}
 .mobile-bottom-item.is-active {background:#25483b;color:#b9f1d2;}
 .venus-admin.mobile-keyboard-open .mobile-bottom-nav {display:none;}
 .venus-admin .analytics-card {padding:18px;min-width:0;}
 .venus-admin .analytics-card-header {gap:12px;align-items:flex-start;}
 .venus-admin .card-heading {font-size:15px;line-height:1.6;}
 .venus-admin .card-subheading {font-size:12px;line-height:1.8;}
 .venus-admin .pro-input,.venus-admin input:not([type=checkbox]):not([type=radio]),.venus-admin textarea,.venus-admin select {font-size:16px!important;min-height:46px;max-width:100%;min-width:0;}
 .venus-admin .pro-btn,.venus-admin .desk-pager button,.venus-admin .pro-table button {min-height:44px;font-size:12px;white-space:normal;line-height:1.5;}
 .venus-admin label {line-height:1.7;}
 .venus-admin .tab-content {min-width:0;}
 .venus-admin .tab-content [class~="grid-cols-2"],.venus-admin .tab-content [class~="grid-cols-3"],.venus-admin .tab-content [class~="grid-cols-4"],.venus-admin .tab-content [class*="md:grid-cols-"],.venus-admin .tab-content [class*="lg:grid-cols-"] {grid-template-columns:minmax(0,1fr);}
 .venus-admin .analytics-row,.venus-admin .funnel-telemetry-row,.venus-admin .desk-detail-grid,.venus-admin .desk-form {grid-template-columns:minmax(0,1fr);}
 .venus-admin .funnel-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
 .venus-admin .kpi-row,.venus-admin .desk-metrics {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
 .venus-admin .kpi-card {padding:14px;min-height:120px;}
 .venus-admin .kpi-title {font-size:10px;white-space:normal;line-height:1.6;}
 .venus-admin .kpi-value {font-size:21px;overflow-wrap:anywhere;}
 .venus-admin .community-admin-toolbar {padding:0;background:transparent;border-color:#314d42;gap:0;}
 .venus-admin .community-admin-toolbar > :not(.mobile-tools-toggle) {display:none;}
 .venus-admin .community-admin-toolbar > .mobile-tools-toggle {display:flex;align-items:center;justify-content:space-between;width:100%;min-height:46px;padding:12px;color:#cae4d4;font-size:12px;border:0;background:#1a3028;border-radius:10px;text-align:left;}
 .mobile-tools-toggle::after {content:'＋';font-size:17px;margin-left:8px;}
 .venus-admin .community-admin-toolbar.mobile-tools-open {padding-bottom:12px;gap:8px;}
 .venus-admin .community-admin-toolbar.mobile-tools-open > .mobile-tools-toggle::after {content:'−';}
 .venus-admin .community-admin-toolbar.mobile-tools-open > button {display:flex;margin:0 12px;}
 .venus-admin .community-admin-toolbar.mobile-tools-open > .mobile-tools-toggle {margin:0 0 5px;}
 .venus-admin .community-admin-toolbar > strong {display:none;}
 .venus-admin .mobile-card-table {display:block;width:100%!important;min-width:0!important;border:0!important;}
 .venus-admin .mobile-card-table thead {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
 .venus-admin .mobile-card-table tbody {display:grid;gap:14px;width:100%;}
 .venus-admin .mobile-card-table tbody tr {display:block;width:100%;padding:6px 14px;background:#12251e;border:1px solid #365043;border-radius:12px;}
 .venus-admin .mobile-card-table tbody td {display:grid;grid-template-columns:minmax(80px,.4fr) minmax(0,1fr);gap:12px;align-items:start;width:100%!important;max-width:none!important;padding:11px 0!important;font-size:12px;border:0;border-bottom:1px solid #2d4438;white-space:normal;}
 .venus-admin .mobile-card-table tbody td:last-child {border-bottom:0;}
 .venus-admin .mobile-card-table .mobile-cell-label {display:block;color:#a7beb0;font-size:11px;line-height:1.7;font-weight:500;text-align:left;overflow-wrap:anywhere;}
 .venus-admin .mobile-card-table .mobile-cell-value {display:block;min-width:0;overflow-wrap:anywhere;line-height:1.8;text-align:left;}
 .venus-admin .mobile-card-table .mobile-cell-value button {margin:3px 4px 3px 0;min-width:44px;}
 .venus-admin .mobile-card-table .mobile-empty-row td {display:block;border:0;}
 .venus-admin .desk-table-scroll,.venus-admin .overflow-x-auto {max-width:100%;}
 .venus-admin .desk-filter {align-items:stretch;padding:14px 0;}
 .venus-admin .desk-filter label {flex:1 1 100%;}
 .venus-admin .desk-pager {padding:16px 0;justify-content:space-between;}
 .venus-admin .desk-detail {padding:14px;}
 .venus-admin .fixed.inset-0 > div {max-height:calc(100dvh - 28px);overflow-y:auto;}
 .venus-admin .community-dialog,.venus-admin .smart-search-dialog {max-height:calc(100dvh - 24px);padding:22px;}
 .venus-admin .floating-disconnect-bar {flex-wrap:wrap;gap:10px;}
 .venus-admin #toast-container {bottom:calc(82px + env(safe-area-inset-bottom));left:14px;right:14px;}
 .venus-admin .toast-item {min-width:0;width:100%;}
}
@media(max-width:380px){.venus-admin .header-right > #btn-master-switch {display:none!important;}.venus-admin .app-header.mobile-show-status .header-right > #btn-master-switch {display:flex!important;}.venus-admin .kpi-row {grid-template-columns:minmax(0,1fr);}.venus-admin .app-content {padding-left:12px;padding-right:12px;}}
@media(prefers-reduced-motion:reduce){.venus-admin .app-sidebar {transition:none;}}
