
:root{--rv-n:#334155;--rv-t:#0D9488;--rv-m:#475569;--rv-bg:#F8FAFC;--rv-ln:#E2E8F0}
html,body{margin:0;max-width:100%;overflow-x:hidden}
*{box-sizing:border-box}
body{font-family:Inter,Arial,sans-serif;background:var(--rv-bg);color:var(--rv-n)}
.app{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:100vh}
.side,.rv-profile-sidebar{background:var(--rv-n)!important;color:#fff;padding:18px 12px;min-width:0}
.rv-profile-head{padding:4px 5px 16px;margin-bottom:12px;border-bottom:1px solid rgba(255,255,255,.12)}
.rv-profile-head img{display:block;width:205px;max-width:100%;height:auto;border:0;background:transparent}
.rv-menu-label{font:800 10px/1.2 Inter,Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#94A3B8;margin:15px 8px 7px}
.nav{display:block!important;overflow:visible!important}
.nav a{display:block!important;color:#fff!important;text-decoration:none!important;padding:12px 13px!important;margin:4px 0!important;border-radius:12px!important;font:700 14px/1.3 Inter,Arial,sans-serif!important;white-space:normal!important}
.nav a::before,.nav a::after{content:none!important;display:none!important}
.nav a>span,.nav a>i,.nav a>b,.nav a>svg{display:none!important}
.nav a:hover,.nav a.on{background:rgba(13,148,136,.25)!important;box-shadow:inset 3px 0 0 #5EEAD4}
.rv-profile-user{margin-top:18px;padding:14px 8px;border-top:1px solid rgba(255,255,255,.12);font-size:12px;color:#CBD5E1}
.main{width:100%;max-width:1400px;padding:28px;min-width:0}
.card{background:#fff;border:1px solid var(--rv-ln);border-radius:18px;padding:18px;margin-bottom:15px}
.grid,.fields{min-width:0}
img,svg,video{max-width:100%;height:auto}
input,select,textarea,button{font:inherit;max-width:100%}
table{max-width:100%}
.rv-local-preview-note{display:none}
@media(max-width:900px){
 .app{display:block!important;min-height:100vh}
 .side,.rv-profile-sidebar{position:relative!important;inset:auto!important;width:100%!important;min-height:0!important;padding:12px 14px!important}
 .rv-profile-head{display:flex!important;align-items:center!important;min-height:62px!important;padding:4px 4px 10px!important;margin:0 0 8px!important}
 .rv-profile-head img{width:190px!important;max-width:65vw!important}
 .rv-menu-label{margin:8px 6px 6px!important}
 .nav{display:flex!important;gap:6px!important;overflow-x:auto!important;padding:2px 0 7px!important;scrollbar-width:none}
 .nav::-webkit-scrollbar{display:none}
 .nav a{flex:0 0 auto!important;min-height:42px!important;padding:11px 13px!important;margin:0!important;white-space:nowrap!important}
 .rv-profile-user{display:none!important}
 .main{padding:18px 14px!important;max-width:100%!important}
 .grid,.fields{grid-template-columns:1fr!important}
 .card{padding:16px!important}
 .table-wrap,.overflow-x-auto{overflow-x:auto!important;max-width:100%!important}
 table{min-width:680px}
 h1{font-size:clamp(30px,9vw,44px)!important}
}

/* V4.11.5: internal profiles use their own responsive sidebar/header.
   Prevent the legacy JS mobile header from creating a duplicated/giant logo. */
.rv-mobile-top,.rv-shell-toggle,.rv-drawer-backdrop{display:none!important}
body.rv-menu-open .rv-drawer-backdrop{display:none!important}
